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

article form *, article .content_list *, article .content_item *, .nyroModalCont{
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

body{
    font-family: 'MyriadProRegular', sans-serif;
    line-height: 1.34;
    color: #000;
    font-weight: 400;
    background: #f7ef8a url("../images/school_images/body.jpg") repeat top center;
}
#page > .container{
    margin-top: 15px;
}
#page > .container > .row{
    background: #ffffff;
    -webkit-box-shadow: 0 0 15px 1px rgba(0,0,0,1);
    -moz-box-shadow: 0 0 15px 1px rgba(0,0,0,1);
    box-shadow: 0 0 15px 1px rgba(0,0,0,1);
}

.school-button{
    line-height: 34px;
    color: #fff;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12px;
    font-weight: 400;
    background: #358adb;
    display: inline-block;
    padding: 0 25px;
    text-transform: uppercase;
    border-radius: 5px;
}
.school-button:hover,
.school-button:focus{
    background: #386cab;
    color: #ffffff;
    text-decoration: none;
}
/* demo ========== */
.demo{
    width: 250px;
    display: none;
    float: right;
}
.dl-menuwrapper li a{
    color: #fff;
}
.header_top_line .demo .dl-menuwrapper button,
.bottom_menu .demo .dl-menuwrapper button{
    float: right;
}
.header_top_line .dl-menuwrapper{
    z-index: 11;
}
.main_menu .dl-menuwrapper{
    z-index: 10;
}
.demo .dl-menuwrapper button, .dl-menuwrapper button:hover, .dl-menuwrapper button.dl-active, .dl-menuwrapper ul {
    background: #4493de;
}
.demo .dl-menuwrapper ul{
    border: 1px solid rgba(255, 255, 255, .2);
}
.dl-menuwrapper .dl-menu{
    top: 40px;
    display: none;
}
.dl-menuwrapper .dl-menu.show-dl{
    display: block ;
}
.dl-menuwrapper li .dl-submenu{
    margin: 0;
}
.main_menu .demo,
.bottom_menu .demo{
    display: none;
}
.bottom_menu .demo{
    margin-bottom: 10px;
}
.bottom_menu .demo .dl-menu{
    bottom: 0;
    top: auto;
}
.main_menu .dl-menuwrapper{
    margin-bottom: 0;
}
.main_menu .dl-menuwrapper button{
    float: right;
}
.showMe{
    display: block;
}
/* Action Menu ========================================= */
.action__menu .menu{
    list-style: none;
    margin: 0;
    padding: 0;
}
.action__menu .menu li{
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
}
.action__menu .menu li a{
    background-image: none !important;
    display: block;
    line-height: 24px;
    padding: 5px 20px;
    border: 1px solid #4493de;
    color: #4493de;

    -webkit-box-shadow: 0 0 0 4px rgba(213,244,255,.5);
    -moz-box-shadow: 0 0 0 4px rgba(213,244,255,.5);
    box-shadow: 0 0 0 4px rgba(213,244,255,.5);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}
.action__menu .menu li a:hover, .action__menu .menu li a:focus{
    background: #4493de ;
    text-decoration: none;
    color: #f5f5f5;
}
/* Main Navigation =========================================================== */

nav {
    height:36px;
   
    padding: 0 10px;
    margin-bottom: 15px;
    font-size:15px;
}

nav .menu,
nav .menu li,
nav .menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav .menu {
    position: relative;
    z-index: 6;
    float: left;
    height: 40px;
    line-height:35px;
    margin-left: 222px;
}

nav .menu .item{
    background-image:none !important;
}

nav .menu > li {
    float: left;
}

nav .menu > li:first-child {
    background:none;
}

nav .menu > li > a {
    display: block;
    padding: 0 15px;
    color:#FFF;
    text-decoration: none;
    text-transform: uppercase;
}

nav .menu > li > a:hover {
    background: #386cab !important;
}

nav .menu > li.active > a { background: #386cab !important; }
nav .menu > li.active > a:hover {  }
nav .menu > li.active > ul a:hover { color:#fff; }

nav .menu ul li a,
nav .menu li.active ul li a {
    color: #fff;
    text-shadow: none;
    text-decoration: none;
    padding: 5px 10px;
}

nav .menu li ul li.active > a{ color:#fff; }
nav .menu li ul li.active > a:hover { color:#fff; }

nav .menu ul li:hover > a { background-color: #386cab; }

nav .menu li:hover {
    position: relative;
    z-index: 599;
    cursor: default;
}

nav .menu ul {
    visibility: hidden;
    position: absolute;
    top: 98%;
    left: 0;
    z-index: 598;
    width: 100%;
    box-shadow: 0 1px 1px #000;
}

nav .menu ul li {
    float: none;
    border-bottom: solid 1px #DAE9FA;
    background-color: #4493de;
    color: #000;
}

nav .menu ul li:last-child {
    border-bottom: none;
}

nav .menu ul li a {
    display: block;
    line-height:1;
    overflow: hidden;
    padding-top: 5px;
    padding-bottom: 5px;
}

nav .menu ul ul {
    top: 0;
    left: 99%;
}

nav .menu li:hover > ul {
    visibility: visible;
}

nav .menu ul { width:295px; margin-top: 1px; }


nav select { display: none; }

/* HEADER ================================================ */
/* top line ==================== */
.header_top_line > div{
    display: inline-block;
    vertical-align: middle;
}
.header_auth{
    margin-right: 10px;
}
.auth_menu > .menu{
    margin: 0;
    padding: 0;
    list-style-type: none;
    margin-top: 5px;
    float: left;
}
.auth_menu > .menu li:nth-child(2){
    display: none;
}
.auth_menu > .menu li{

    font-size: 15px;
   
background: #f0b36e;
text-transform: uppercase;
font-weight: bold;
color: #ffffff;
text-align: center;
width: 160px;
height: 40px;
display: block;
margin: 0 auto;
line-height: 40px;
border-radius: 4px;
}
.auth_menu > .menu li a{
    color: #fff;
    text-decoration: none;
    background: none !important;
    text-transform: uppercase;
}
.header_icons{
    margin-top: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}
.header_icons > div {
    display: inline-block;
    margin-left: 15px;
}
/* logo + search =============== */
.header_logo img{
    max-width: 100%;
}
.header_logo{
    margin-top: -35px;
}
.header_search{
   
    padding: 8px;
    float: right;
    margin-top: 3px;
}
.header_search .input{
    width: 186px;
    height: 25px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border: none;
}
.header_search .image{
    vertical-align: middle;
    margin-left: 19px;
}
/* slideshow =================== */
.album-photos-wrap{
    margin: 0 !important;
}
.slideshow .owl-nav > div{
    width: 49px;
    height: 49px;
    position: absolute;
    top: 50%;
    margin-top: -25px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    -webkit-background-size: contain;
    background-size: contain;
    opacity: 0;
    -webkit-transition: 0.15s linear;
    -moz-transition: 0.15s linear;
    -ms-transition: 0.15s linear;
    -o-transition: 0.15s linear;
    transition: 0.15s linear;

}
.slideshow:hover .owl-nav > div{
    opacity: 1;
}
.slideshow .owl-nav .owl-prev{
    background-image: url("../images/school_icons/arrow-left.png");
    left: 15px;
}
.slideshow .owl-nav .owl-next{
    background-image: url("../images/school_icons/arrow-right.png");
    right: 15px;
}
.slideshow .item > a{
    -webkit-background-size: cover;
    background-size: cover;
    display: block;
   
height: 420px;
background-position: center center;
border-radius: 8px;

}
/* BODY ================================================== */
/* board ======================= */

.body_board{
    padding: 13px;
    position: relative;
    margin-bottom: 45px;
}
.body_board > .widget_html_block{
    position: relative;
    z-index: 5;
}
.body_board_first{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #e6e6e6;
    background: #ffffff;
    z-index: 3;
}
.body_board_second{
    position: absolute;
    top: 3px;
    left: 3px;
    width: 100%;
    height: 100%;
    border: 1px solid #e6e6e6;
    background: #ffffff;
    z-index: 2;
}
.body_board_third{
    position: absolute;
    top: 6px;
    left: 6px;
    width: 100%;
    height: 100%;
    border: 1px solid #e6e6e6;
    background: #ffffff;
    z-index: 1;
}
.body_board .image{
    float: left;
    margin-right: 20px;
}
.body_board .image img{
    max-width: 100%;
}
.body_board .content{
    overflow: hidden;
}
.body_board .content .title{
    color: #000;
    font-size: 21px;
    margin-bottom: 20px;
    line-height: 1;
}
.body_board .content p{
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12px;
}
.body_board .content .school-button{
    float: right;
}
/* news ======================== */
.body_news .widget > .body{
  
    line-height: 20px;
}
.news_item{
    overflow: hidden;
    margin-bottom: 25px;
}
.news_info{
    overflow: hidden;
}
.news_item:last-child{
    margin-bottom: 0;
 
}
.news_image{
    width: 280px;
    float: left;
    margin-right: 20px;
    position: relative;
}
.news_image > a{
    width: 100%;
    height: 160px;
    display: block;
    background-position: center center;
    -webkit-background-size: cover;
    background-size: cover;
    border-radius: 5px;
}
.news_details{
    position: absolute;
    right: 0;
    top: 20px;
}
.news_details > span{
    display: block;
    height: 30px;
    line-height: 30px;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 10px;
    color: #ffffff;
    vertical-align: middle;
}
.news_details .hits{
    background: #33cc99;
    width: 71px;
    text-align: center;
}
.news_details .hits img{
    margin-right: 2px;
}
.news_details .comments{
    background: #f0b36e;
    padding-left: 13px;
}
.news_details .comments img{
    vertical-align: text-bottom;
    margin-right: 8px;
}
.news_details .comments a{
    vertical-align: middle;
    color: #ffffff;
}

.date {
    font-family: 'MyriadProRegular', sans-serif;
    color: #4395E1;
font-weight: normal;
font-size: 19px;
font-weight: bold;
font-family: pf_din_text_cond_prolight;
}
.news_title,
.news_title a{
    font-family: 'MyriadProRegular', sans-serif;
    font-size: 21px;
    color: #000000;
}
.news_title{
    margin-bottom: 30px;
}
.news_title a:hover{
    text-decoration: none;
    color: #358adb;
}
.news_teaser{
    font-size: 12px;
    color: #000000;
    font-family: Verdana, Geneva, sans-serif;
    margin-bottom: 45px;
}
.news_item .button_more{
    text-align: right;
}
.news_list{
    margin-bottom: 60px;
    padding: 15px;
}
.news_more{
    text-align: center;
    background: #000000;
    height: 1px;
}
.news_more a{
    display: inline-block;
    position: relative;
    top: -36px;
    font-size: 17px;
    text-transform: uppercase;
    font-family: 'MyriadProRegular', sans-serif;
    background: #ffffff;
    padding-left: 8px;
    padding-right: 8px;
    color: #000000;
}
.news_more a:hover{
    text-decoration: none;
    color: #358adb;
}
/* map ========================= */
.map{
    margin-top: 15px;
}
.map_text p{
    margin: 0;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12px;
}
.map_text p span{
    color: #6781b8;
    font-weight: 700;
}
/* ASIDE ================================================= */
/* aside menu ========= */
.aside_menu .widget > .body{

}
.aside_menu .menu{
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.aside_menu .menu ul {
    display: none;
}
.aside_menu .menu > li > a{
    background: url("../images/school_icons/aside-menu-icon.png") no-repeat left top;
    font-size: 14px;
    font-family: "MyriadProRegular", sans-serif;
    padding-left: 35px;
    color: #000000;
    display: inline-block;
    line-height: 26px;
    text-transform: uppercase;
}
.aside_menu .menu > li > a:hover,
.aside_menu .menu > li > a:focus{
    text-decoration: none;
    color: #358adb;
}

.aside_menu .menu > li > a:nth-child(1) {
    background: url("../images/school_icons/aside-menu-icon1.png") no-repeat left top;
}

.aside_menu .menu > li+li> a:nth-child(1) {
    background: url("../images/school_icons/aside-menu-icon2.png") no-repeat left top;
}

.aside_menu .menu > li+li+li+li > a:nth-child(3) {
    background: url("../images/school_icons/aside-menu-icon3.png") no-repeat left top;
}

.aside_menu .menu > li > a:nth-child(4) {
    background: url("../images/school_icons/aside-menu-icon4.png") no-repeat left top;
}

.aside_menu .menu > li > a:nth-child(5) {
    background: url("../images/school_icons/aside-menu-icon5.png") no-repeat left top;
}

.aside_menu .menu > li > a:nth-child(6) {
    background: url("../images/school_icons/aside-menu-icon6.png") no-repeat left top;
}

.aside_menu .menu > li > a:nth-child(7) {
    background: url("../images/school_icons/aside-menu-icon7.png") no-repeat left top;
}

.aside_menu .menu > li > a:nth-child(8) {
    background: url("../images/school_icons/aside-menu-icon8.png") no-repeat left top;
}

.aside_menu .menu > li > a:nth-child(9) {
    background: url("../images/school_icons/aside-menu-icon9.png") no-repeat left top;
}

.aside_menu .menu > li > a:nth-child(10) {
    background: url("../images/school_icons/aside-menu-icon10.png") no-repeat left top;
}

.aside_menu .menu > li > a:nth-child(11) {
    background: url("../images/school_icons/aside-menu-icon11.png") no-repeat left top;
}

.aside_menu .menu > li{
    padding: 18px 8px;
    border-bottom: 1px solid #d5d5d5;
    border-top: 1px solid #fff;
}
.aside_menu .menu > li:first-child{
    border-top: none;
}
.aside_menu .menu > li:last-child{
    border-bottom: none;
}
.aside_menu .menu > li ul{
    list-style-type: none;
}
.aside_menu .menu > li ul li a{
    color: #666666;
    background: none;
}
.aside_menu .menu > li ul li a:hover{
    color: #000000;
}
.aside_menu .menu > li ul li a:before{
    content: '-';
}
/* aside timer */
.aside_timer .flip-clock-wrapper ul{
    margin: 0;
    display: inline-block;
    float: none;
}
.aside_timer .flip-clock-wrapper ul:nth-child(2),
.aside_timer .flip-clock-wrapper ul:nth-child(5),
.aside_timer .flip-clock-wrapper ul:nth-child(8){
    margin-right: 4px;
}
.aside_timer .flip-clock-wrapper ul:nth-child(3),
.aside_timer .flip-clock-wrapper ul:nth-child(6){
    margin-right: 8px;
}
.aside_timer{
    border: 1px solid #ececec;
    padding-bottom: 25px;
}
.aside_timer p{
    text-align: center;
    font-family: "MyriadProRegular", sans-serif;
    font-size: 19px;
    color: #ff6600;
    font-weight: 700;
    line-height: 1.5;
}
/* FOOTER ================================================ */
.footer{
    position: relative;
}
.bottom_menu{
    border-bottom: 1px solid #000;
}
.bottom_menu .menu{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.bottom_menu .menu li{
    float: left;
    font-size: 15px;
    font-family: 'MyriadProRegular', sans-serif;
    height: 56px;
    line-height: 56px;
}
.bottom_menu .menu li a{
    color: #000000;
    margin-right: 25px;
    text-transform: uppercase;
}
.bottom_menu .menu li:last-child a{
    margin-right: 0;
}
.bottom_menu .menu li a:hover,
.bottom_menu .menu li a:focus{
    text-decoration: none;
    color: #358adb;
}
.bottom_menu .menu ul{
    display: none;
}
/* bottom text =========== */
.bottom_text{
    padding: 10px 5px;
}
.bottom_text p{
    margin: 0;
    color: #333333;
    line-height: 36px;
    font-size: 17px;
}
.counters{
    position: absolute;
    bottom: 20px;
    right: 0;
}
/* principal =========================== */
.principal{
    position: absolute;
    left: 100%;
    top: 275px;
}
.waiting_room{
    position: absolute;
    right: 100%;
    top: 550px;
}

.content_item .f_content {
    overflow: visible;
}

.header_reception a {
    text-transform: uppercase;
    font-weight: bold;
}

.classes-btn a{
    background: #3c6fa2;
    text-transform: uppercase;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    width: 190px;
    height: 40px;
    display: block;
    margin: 0 auto;
    line-height: 40px;
    border-radius: 3px;
}

.classes-btn a:hover,
.classes-btn a:focus {
    text-decoration: none;
    background: #2e8ff0;
}

.classes_menu .widget > .body {
    padding: 0;
}

.classes_menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: none;
    opacity: 0;
}

.classes_menu ul li {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 20px;
}

.classes_menu ul {
    margin-right: -20px;
}

.classes_menu ul li.last {
    margin-right: 0;
}

.classes_menu ul li a {
    display: block;
    height: 60px;
    background: #4697e5;
    color: #ffffff;
    text-align: center;
    padding: 10px 30px;
    font-size: 30px;
    position: relative;
    line-height: 1;
    font-weight: bold;
    border-radius: 6px;
}

.classes_menu ul li a::after {
    content:'класс';
    position: absolute;
    bottom: 10px;
    font-size: 14px;
    left: 50%;
    transform: translate(-50%,0);
}

.classes_menu ul li a:hover {
    text-decoration: none;
    background: #386cab;
}


.slideshow .item {
    position: relative;
}


.slideshow .item .info {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
}

.slideshow .item .title {
    background: rgba(38, 38, 39, 0.64);
}

.slideshow .item .title a {
    color: #ffffff;
    padding: 10px;
    display: block;
}

.slideshow .item .details {
    background: #fff;
    color: #000000;
    padding: 10px;
}

.slideshow .item .details span{
    display: inline-block;
    margin-right: 15px;
}

.slideshow .news_details img {
    width: auto;
    display: inline-block;
}

/* MEDIA ================================================= */
@media screen and (max-width: 1515px){
    .principal,
    .waiting_room{
        display: none;
    }
}

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

}

@media screen and (max-width: 1199px){
    nav{
        padding: 0;
        font-size: 14px;
    }
    .bottom_menu .menu li{
        font-size: 14px;
    }
}
@media screen and (max-width: 991px){
    .header_logo{
        margin-top: 0;
    }
    nav{
        display: none;
    }
    .main_menu .demo.showMe,
    .bottom_menu .demo.showMe{
        display: block;
    }
    .bottom_menu > ul{
        display: none;
    }
    .main_menu{
        margin-bottom: 15px;
        background: #4493de;
    }
    .sidebar{
        margin-top: 20px;
    }
    .body_board{
        margin-bottom: 25px;
    }
}
@media screen and (max-width: 767px){

    .header_search{
        margin-bottom: 20px;
    }
    .bottom_text p{
        font-size: 15px;
    }
    .footer{
        padding-bottom: 30px;
    }
}
@media screen and (max-width: 650px){
    .news_image{
        float: none;
        margin: 0 auto 20px;
        width: auto;
        text-align: center;
        max-width: 280px;
    }
}
@media screen and (max-width: 550px){
    .body_board .image{
        float: none;
        margin-right: 0;
        text-align: center;
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 480px){
    .header_top_line{
        float: none !important;
    }
    .header_top_line > div{
        display: block;
    }
    .header_auth{
        float: right;
        position: absolute;
        right: 0;
        top: 0;
    }
    .header_icons > div:first-child{
        margin-left: 0;
    }

}


.categories_small_k li {

background-image: none !important;
border: 1px solid #4493de;
color:#4493de;
-webkit-box-shadow: 0 0 0 4px rgba(213,244,255,.5);
-moz-box-shadow: 0 0 0 4px rgba(213,244,255,.5);
box-shadow: 0 0 0 4px
rgba(213,244,255,.5);
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
width: 111px;
margin-top: 4px;
}

.main_menu1{
position: absolute;
margin-top: -30px;
padding-left: 100px;
}