/* НЕ ЗАБЫВАЕМ МЕНЯТЬ ПУТЬ К ШРИФТАМ!!!!!! */

/*!!!!!!!!!!!!!!!!ШРИФТЫ!!!!!!!!!!!!!!!!!!!*/

/* font-family: "OpenSansRegular"; */
@font-face {
    font-family: OpenSansRegular;
    src: url('/wp-content/themes/35school/fonts/OpenSansRegular/OpenSansRegular.eot');    
    src: url('/wp-content/themes/35school/fonts/OpenSansRegular/OpenSansRegular.eot?#iefix')format("embedded-opentype"),url('/wp-content/themes/35school/fonts/OpenSansRegular/OpenSansRegular.woff') format("woff"), url('/wp-content/themes/35school/fonts/OpenSansRegular/OpenSansRegular.ttf') format("truetype");   
    font-style: normal;    
    font-weight: normal;}

@font-face {
    font-family: OpenSansRegular !important;
 }

/* font-family: "OpenSansBold"; */

@font-face {
    font-family: OpenSansBold;
    src: url("/wp-content/themes/35school/fonts/OpenSansBold/OpenSansBold.eot");    
    src: url("/wp-content/themes/35school/fonts/OpenSansBold/OpenSansBold.eot?#iefix")format("embedded-opentype"), url("/wp-content/themes/35school/fonts/OpenSansBold/OpenSansBold.woff") format("woff"),    url("/wp-content/themes/35school/fonts/OpenSansBold/OpenSansBold.ttf") format("truetype");    
    font-style: normal;    
    font-weight: normal;}

@font-face {
    font-family: OpenSansBold !important;
 }

@font-face {
    font-family: PTSansRegular;
    src: url("/wp-content/themes/35school/fonts/PTSansRegular/PTSansRegular.eot");    
    src: url("/wp-content/themes/35school/fonts/PTSansRegular/PTSansRegular.eot?#iefix")format("embedded-opentype"),    url("/wp-content/themes/35school/fonts/PTSansRegular/PTSansRegular.woff") format("woff"),    url("/wp-content/themes/35school/fonts/PTSansRegular/PTSansRegular.ttf") format("truetype");    
    font-style: normal;    
    font-weight: normal;
}

@font-face {
    font-family: PTSansRegular !important; }

/* font-family: PTSansBold; */
@font-face {
    font-family: PTSansBold;
    src: url("/wp-content/themes/35school/fonts/PTSansBold/PTSansBold.eot");    
src: url("/wp-content/themes/35school/fonts/PTSansBold/PTSansBold.eot?#iefix")format("embedded-opentype"),    url("/wp-content/themes/35school/fonts/PTSansBold/PTSansBold.woff") format("woff"),    url("/wp-content/themes/35school/fonts/PTSansBold/PTSansBold.ttf") format("truetype");    
    font-style: normal;    
    font-weight: normal;}

@font-face {
    font-family: PTSansBold !important;
 }
 
body {
	width:100%;
	background:#fff;
	font: 14px PTSansRegular, sans-serif;
	margin:auto!important;
	line-height:18px;
	min-width:1170px;
} 


 .menuhead {
    background: repeat-x #765d55;
	display: flex;
	margin-bottom: 60px;
	}

	.tilder {
		gap: 10px;
		margin-right: 15px;
	}

	.tilder button{
		padding: 5px 10px;
		background-color: #f4ab2a;
		color: #fff;
		border-radius: 5px;
		border: none;
	}


	.tilder a {
		text-decoration: none;
		color: #fff;
		font-size: 12px;
	}



/* 1.1 ШАПКА */
.imgheads {
	    width: 110px;
}


 header {
width: 100%;
    min-width: 1170px;
    height: 150px;
    padding-top: 45px;
    background: url(images/header-bg.jpg) repeat-x #765d55;
    color: #fff;
	}
 header .title {
/* 	    width: 255px; */
/* 	 width: 62%; */
    padding: 0;
    float: left;
    height: 90px;
    margin: 0px;
    text-align: left;
    font: 20px Franklin Gothic, Georgia, sans-serif;
    text-transform: uppercase;
	}
 header .title .textwidget {margin-top:15px;}
footer .title {
	width: 270px;
	padding: 0;
	float: left;
	height: 60px;
	margin: 0px;
	text-align: left;
	font: 18px Franklin Gothic, Georgia, sans-serif;
	text-transform:uppercase;
	}
footer .title .textwidget {margin-top:35px;}
	
.outer {
	width:100%;
	min-width:100%;
	}

.lgwp {	
float: right;
    height: 40px;
    min-width: 110px;
    font-size: 16px;
	}

.lg {	
	float:right;
	height:40px;
	min-width:110px;
	line-height:40px;
	font-size:16px;
	}
.lg img, .lg .code {
	display:none;
	}
.list a:nth-child(1){
border-right:2px solid #fff;}
.cu {
	display:block; 
	border:1px solid #f4ab2a;
	border-top:1px solid #fff;
    height: 30px;
    line-height: 30px;	
	margin-top:5px;
	margin-right:20px;
	}
.cu, .lg span {
	padding:0px 15px 0px 15px;
	}
.cu, .wpglobus-selector-link{
	color:#fff;
	text-decoration:none;
	}

.cu:hover, .list .wpglobus-current-language {
	color:#f4ab2a;
	}



 
 /* 1.2 Меню */
 
 
.top-menu {
	float:right;
	list-style:none;
	padding:0px;
	margin:0px;
	}
.top-menu li {
	display:inline-block;	
	}
.top-menu li a {
	font-size:16px;
	display:block;
	padding:15px 10px;
	text-decoration:none;
	color:#fff;
	}
.top-menu li a:hover {
	color:#f4ab2a;
	
	}
 .top-menu li.current_page_item a{
	color:#f4ab2a;
	
	} 
.top-menu li ul {
	}
.top-menu li ul li{

	}
.top-menu li ul li:hover{}
.top-menu li ul li a{}
.top-menu li ul li a:hover {}
.top-menu li:hover ul{
	
	}
.mid-menu {
	width:811px;
	padding:0px 65px 2px;
	background:url(images/menu-bg.jpg) no-repeat center bottom;
	list-style:none;
	margin:auto;
   	margin-top: -40px;
    	height: 107px;	
	}
.mid-menu li {
	display:block;
	float:left;	
	}
.mid-menu li a {
	display:block;
	height:107px;
	width:160px;
	margin:1px;
	background:#fff;
	color:#320b8c;	
	text-transform:uppercase;
	text-decoration:none;
	text-align: center;
	font-weight:bold;
	font: 16px Franklin Gothic, Georgia, sans-serif;
	line-height: 160px;
	background-position:50% 25%; 
	background-repeat:no-repeat;
	}
.mid-menu a:hover {
	background-color:#afa59f;
	color:#fff;	
	
	}
 .mid-menu .current-menu-item a{
	background-color:#afa59f;
	color:#fff;
	} 
#menu-item-34 a{background-image:url(images/about.png);}
#menu-item-34 a:hover, #menu-item-34.current-menu-item a{background-image:url(images/about_a.png);}
#menu-item-35 a{background-image:url(images/news.png);}
#menu-item-35 a:hover, #menu-item-35.current-menu-item a{background-image:url(images/news_a.png);}
#menu-item-32 a{background-image:url(images/gallery.png);}
#menu-item-32 a:hover, #menu-item-32.current-menu-item a{background-image:url(images/gallery_a.png);}
#menu-item-105 a{background-image:url(images/blog.png);}
#menu-item-105 a:hover, #menu-item-105.current-menu-item a{background-image:url(images/blog_a.png);}
#menu-item-33 a{background-image:url(images/ball.png);}
#menu-item-33 a:hover, #menu-item-33.current-menu-item a{background-image:url(images/ball_a.png);}

 /* 1.3 Слайдер */
 .slider {
	width:100%;
	min-width:1170px;
	height:440px;
	border-bottom:2px solid #f4ab2a;
/* 	background:url(images/slide.jpg) center top no-repeat #afa59f; */
	}

.ads {
	position:relative;
	top:0px;
	left:0px;
	width:20%;
	}
.ads a{text-decoration:none;}
.last-ads {
	text-align:left;
	display:none;
	background:#fff;
	padding:10px 20px;
	color:#4e3229;}
.ads-all {display:none;text-align:center;background: #ffcc72;border-top:1px solid #afa59f;border-bottom:1px solid #afa59f;}
.ads-all a{padding:5px;display:block;}
.ads-all:hover {background: #ffac06;}
.sli-ads h3 {color:#fff; text-transform:uppercase;background:rgba(66, 34, 142, 0.74);max-width:200px;padding:10px 20px;margin:0px;font: 16px Franklin Gothic, Georgia, sans-serif;}
.sli-ads h3:hover {background:rgba(25, 12, 56, 0.74); cursor:pointer;}
.sli-ads:hover .last-ads,.sli-ads:hover .ads-all {
	display:block;
	}
.ads-date{color:#afa59f;}
.ads-title {color:#4e3229;}

.last-news {
	width:370px;
	float:left;
	height: 520px;
	margin-right:20px;
	color:#000;
	}

.last-news .textwidget {float:right;color:#320b8c;}


.news-date {color:grey;}
.news-title {color:#320b8c;text-transform:uppercase;font: 16px Franklin Gothic, Georgia, sans-serif;}
.last-news .news-date, .last-news .news-title, .last-news p, .last-news .textwidget {padding:10px 25px 0px;}
 .last-news p {text-align:justify;}
.last-news .textwidget:hover {color:#f4ab2a;}

.last-news img {
/* 	width:100%;
	height:auto; */
	width: 100%;
    height: 300px;
    object-fit: cover;
}

 /* 2 Контент */ 

.inner {
	width:1170px;
	margin:auto;
	}

.breadcrumbs a {color:#f4ab2a;}
.breadcrumbs {}
.wrapper {
	clear:both;
	width:100%;
	min-width:1170px;
	}
.wrapper .inner  {margin-top:20px;}
section {
	width:1170px;
	margin:auto;
	min-height: 300px;
	}
.main-heading h3 {
	font: 18px Franklin Gothic, Georgia, sans-serif;
	text-align:left;
	color:#320b8c;
	}
.main-pic {float: left;
    margin: 0px 20px 20px 0px;}
	/* 3 ПОДВАЛ */

footer {
	width:100%;	
	min-width:1170px;
	margin:auto;
	color:#fff;
	clear:both;
	margin-top:20px;
	}
footer a{
	color:#fff;
	text-decoration:none;
	}
footer .outer {
	margin: 0;
    padding: 0;
    height: 105px;
    background: -webkit-linear-gradient(#fff 0px,#fff 25px, #766158 25px, #766158 100%);
/*     position: fixed; */
    bottom: 0;
    color: #fff;
    width: 100%;
	}
footer .inner {
	margin:auto;
	padding:0;
	height:88px;    
	background:url(images/footer-bg.png) no-repeat center bottom ;

	}
footer p{    
	height: 60px;
    line-height: 60px;
    text-align: right;
    margin: 0;
    padding-top: 28px;
}

.persons {width:48%;height:200px;padding:5px;float:left;margin:5px;border:1px solid #ffac06;}
.persons.dir_blog {float:none;line-height:200px;}
.persons.dir_blog p{margin:0;}
.persons img {float:left; margin-right:5px;}
.persons h3 {color:#766158;}
.persons p:nth-of-type(1) {margin:0px;}
.page-list {list-style:none;margin:0;padding:0;}
.page-list .page_item {display:block;float:left;background:url(images/header-bg.jpg) center bottom no-repeat #ffac12;width:120px;text-align:center;margin:5px;}
.page-list .page_item a {display:block;padding:30px 10px;font-weight:bold;text-decoration:none;color:#765d55;}
.page-list .page_item a:hover {color:#fff;}
section table {margin:auto;}
section table tr:nth-of-type(odd)  {background:#e0cfc9;}
section table tr:nth-of-type(1),section table tr td:nth-of-type(1) {font-weight:bold;text-align:center; background:#765d55;color:#fff;}
.dir tr:nth-of-type(1) {font-weight:normal;text-align:left;background:#e0cfc9;color:#000;}
.dir tr td:nth-of-type(1) {font-weight:bold;text-align:center; background:#765d55;color:#fff;}

.best {margin-bottom:30px;border:1px solid #ffac12;width:23%;}
.best img {width:100%; height:auto;}
@media screen and (max-width:1280px) {

}
 
@media screen and (max-width:1024px) {

}

@media screen and (max-width:900px) {

}
 
 @media screen and (max-width:800px) {

}

@media screen and (max-width:720px) {

}
 
@media screen and (max-width:640px) {

}

.instogramm{
	font-size: 32px;
    text-align: justify;
    margin-left: 20px;
    color: antiquewhite;
}

  #mega-menu-wrap-max_mega_menu_1 {
    clear: right !important;
}

@media only screen and (min-width: 769px) {
#mega-menu-wrap-max_mega_menu_1 {
    background: rgb(255 255 255 / 0%) !important;
} 
}

.innermenu {
	width: 1170px;
    margin: auto;
}
