/* Общее */
@font-face { 
    font-family: "Games";
    src: url(fonts/games.ttf) format("truetype");
	  font-display: swap;
}
@font-face { 
    font-family: "Oswald-Regular";
    src: url(fonts/Oswald-Regular.ttf) format("truetype");
	  font-display: swap;
}
body {font-size: 18px;}
body.custom-font-enabled {font-family: "Oswald-Regular";}
img {box-shadow: none !important;}
#page .metaslider a:visited, #page .metaslider a {color: #75c1ff;}
#page a, button {outline: none !important;}
#page {box-shadow: 0 0 40px rgba(0,0,0,1); border-radius: 30px; padding-bottom: 25px; max-width: 1200px !important; overflow: hidden;}
article {margin-bottom: 0px !important;}
footer {width: auto !important; position: relative !important;}
.site-content article {border-bottom: 0px !important;}
#primary {margin-top: 0px;}
.entry-content h2 {font-size: 34px; line-height: 37px; font-family: "Games"; text-align: center;}
h1.entry-title {color: red; text-align: center; font-size: 55px !important; margin-top: 25px;}
.red {color: red;}
#main {margin-bottom: 10px;}
.elementor-page .entry-content h2 {
	margin: inherit;
}
#form-footer h4 {
	font-family: "Oswald", Sans-serif;
    font-size: 34px;
    font-weight: 600;
	text-align: center;
	    margin-bottom: 15px;
}

/* Форма */
.form-row {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-evenly;
}
.form-row > span, .form-row input, .form-row > span textarea {
	width: 100%;
}
.form-row span {
	padding: 10px;
}
.form-row input, .form-row textarea {
	font-size: 20px;
	color: black;
}
.form-row-submit {
		width: 100%;
	display: block;
}
.form-row-submit input {
	width: 100%;
		font-size: 20px;
color: black;
}

/* Шапка */
#masthead {padding-top: 0px; padding-bottom: 0px;}
.home .entry-header {display: none;}
.entry-content h1 {text-align: center !important; margin-top: 0px !important; margin-bottom: 0px !important;}
#header-m h1 {text-align: center !important; font-size: 38px !important; line-height: 43px;}
#header-m a {font-size: 16px !important;}
#header-m h2 a {text-decoration: none; border: 3px solid; padding-left: 5px; padding-right: 5px; display: inline-block; margin-top: 5px; margin-bottom: 5px;}

/* Навигация */
#site-navigation ul {text-align: center;}
#site-navigation ul.nav-menu {background-color: #500a9c; width: 100%; border-radius: 15px; display: -webkit-flex !important; display: flex !important; justify-content: space-around; align-items: center; flex-wrap: wrap;}
#site-navigation ul li {margin-right: 0px;}
#site-navigation ul li a {color: white; font-weight: bold; font-size: 18px; padding-left: 7px; padding-right: 7px;}
#site-navigation ul li a:hover {color: red;}
.menu-toggle, .menu-toggle:hover, .menu-toggle:focus, .menu-toggle.toggled-on {background: #500a9c; box-shadow: none; color: white; border-radius: 15px; width: 100%; font-size: 25px; text-transform: uppercase; font-weight: bold;}

/* Главная */
#vk_groups {width: 100% !important;}
iframe#vkwidget1 {width: 100% !important;}
ol.flex-control-nav {    margin-top: -22px !important;
    position: relative;
    display: block;}
.work-item {width: 20%; box-sizing: border-box; float: left;}
.work-item > p:first-child {min-height: 55px;}
.work-item p {text-align: center; margin-bottom: 0px; font-size: 15px; color: #500a9c; font-weight: bold;}
.work-item p a {color: blue; text-align: center; font-size: 18px; font-weight: normal;}
.dm-stacked .dm-stacked-right {right: 3px !important;}
.dm-stacked .dm-stacked-left {left: 0px !important;}

/* Скрипты */
.flex {display: -webkit-flex; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; margin-bottom: 30px;}
.flex img {margin-top: 5px; margin-bottom: 5px;}

/* Футер */
#colophon {display: none;}
#counter a {float: right;}
#second-footer {
	display: flex;
	align-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}
#partweb {
	width: 20%;
}
#partweb img {
	width: 100%;
}
#copy-footer {
	width: 60%;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	color: gray;
	font-size: 16px;
}
#counter {
	width: 20%;
}

/* Город */
.city-table {
	display: flex;
	flex-wrap: wrap-reverse;
	margin-top: 30px;
}
.city-item {
	width: 33.33%;
	padding: 5px;
	text-align: center;
}

.entry-content p:first-child {}
.entry-content p:first-child a img {margin-bottom: 0px !important;}
.caption {text-align: center; color: white; font-weight: bold;}

/* MEDIA */
@media screen and (max-width: 1200px) {
	.work-item {width: 25%;}
}
@media screen and (max-width: 950px) {
	.work-item {width: 33.33%;}
}
@media screen and (max-width: 700px) {
	.work-item {width: 50%;}
}
@media screen and (max-width: 500px) {
	.break {width: 100%; display: block;}
	h1.entry-title {font-size: 38px !important;}
	#header-m h1 {font-size: 23px !important; line-height: 25px;}
	.work-item {width: 100%;}
	.work-item p {font-size: 26px;}
	#partweb {text-align: center;}
	#partweb img {width: 100%;}
}
@media screen and (max-width: 600px) {
	#site-navigation ul.nav-menu, #site-navigation div.nav-menu > ul {display: none !important; border-top-left-radius: 0px; border-top-right-radius: 0px;}
	#site-navigation ul.toggled-on {display: inline-block !important;}
	#site-navigation ul.toggled-on li {margin-top: 0px;}
	#site-navigation ul.toggled-on li a {text-decoration: none; margin-top: 5px; margin-bottom: 5px; display: inline-block;}
}