@media screen and (max-width:1800px){.slider-label2 { position: absolute;top: 18%;right: 24%;text-align: center;width: 50%;}}
@media screen and (min-width:1500px) and (max-width:1650px){.filial-img-back{left:-20%;}
}
@media screen and (max-width:1650px){
#contact {margin-top: -15%;}

}
@media screen and (max-width:1499px){.filial-img-back{display:none;}
}
@media screen and (max-width:1440px) {.slider-label {position: absolute;top: 0%;right: 0;text-align: center;display: inline-block;padding: 0 20%;}
.slider-wrap {position: relative;width: 40%;text-align: center;float: right;right: -33%;top: 0px;}
    .page-template-faq .slider-wrap{width:60%}
    .slider-text {color: #fff;text-align: center;margin-top: 5%;}
.slider-text-one {font-size: 18px;text-align: center;}
.flleft input[type="submit"], .modal-left input[type="submit"], .slider-form input[type="submit"] {border: 1px solid #edc953;width: 100%;background: #edc953;font-size: 20px;color: #fff;box-shadow: none;border-radius: 12px;padding: 15px 10px;font-weight: bold;font-style: normal;left: 6px;position: relative;}
#contact {margin-top: -16.5%;}
}
@media screen and (max-width:1300px){#contact {margin-top: -18.3%;}}
@media screen and (min-width:768px) and (max-width:1023px){.the-best-content-text, .the-best-content-img{width:100%;position:static;}
#primary-menu li{font-size:20px !important;margin:20px -5px 15px !important;}
#primary-menu li a{font-size:16px !important;}
.single-news{height:450px;}
.news-date, .news-more{margin:5px 8px;}
.news h2{font-size:20px;}
.footer__menu li a{margin:10% 15%;}
.footer__menu{margin:0;padding:0;}
.social{display:none;}
.foothrefs a{margin:2% 1%;padding:5px 0px;width:140px;text-align:center;}
.main-slider-mob{z-index:-1;margin-top:-10vh;}
.slider-two-wrap{left:20%;right:20%;}
.documents-content-item{margin-top:5%;}
.slider-label{top:10%;text-align:center;right:0;left:0;}
.the-best-content-wrapper{width:100%;}
.main-top-slider-img{width:100%;}
.prichini-item-title, .prichini-item-hover-title{font-size:16px;}
.prichini-item-hover-text{font-size:14px}
.logo-phones{display:none;}
.header-logo{background:none;}
}
@media screen and (min-width:1024px) and (max-width:1249px){.slider-label{top:5%;}
.slider-text-one{font-size:20px;}
.slider-label h1{font-size:30px;}
.slider-text{margin-top:0;}
.slider-form input{margin:6px 0;}
.slider-form span.wpcf7-not-valid-tip{top:27px;font-size:12px;}
.slider-form div.wpcf7-validation-errors{display:none !important;}
}
@media screen and (min-width:1024px) and (max-width:1200px){.single-news{height:450px;}
.map-title{right:32%;}
.social-link{width:30px;}
.social li{padding:10px 5px;}
.social ul{margin:0;}
}

@media screen and (max-width:1200px){#contact {margin-top: -20%;}}
@media screen and (max-width:1153px) {
.slider-wrap {position: relative;width: 40%;text-align: center;float: right;right: -37%;top: -10px;}
    .page-template-faq .slider-wrap{top:0;width:100%}
.slider-text-one {font-size: 15px;}
}
@media screen and (max-width:1060px) {
.slider-wrap {position: relative;width: 40%;text-align: center;float: right;right: -20%;top: -105px;}
.slider-text-one {font-size: 16px;}
}
@media screen and (max-width:1037px) {.slider-wrap {right: -31%;top: -105px;}
.flleft input[type="submit"], .modal-left input[type="submit"], .slider-form input[type="submit"] {width: 83%;}
#contact {margin-top: -26%;}}
@media screen and (max-width:1023px) {
.slider-wrap {position: relative;width: 100%;text-align: center;float: none;right: 0;top: 0;}
}
@media only screen and (min-width:992px) and (max-width:1200px){.documents-wrapper h2, .main-slider-two-wrapper h2{margin-bottom:0%;font-size:28px;}
.slider-two-wrap{bottom:17%;}
.slider-two-excerpt{font-size:15px;}
.the-best-content-img{top:0;}
.documents-content-item{width:15%;margin-top:5%;font-size:15px;}
.news h2{font-size:20px;}
.footer__menu li a{margin:10% 20%;}
}
@media only screen and (max-width:900px){#contact {margin-top: -29.5%;}}
@media only screen and (min-width:768px) and (max-width:991px){.documents-content-item{font-size:12px;}
}
@media screen and (max-width:1250px){#primary-menu li{margin:20px 0px;}
#primary-menu li a{font-size:18px;margin:0 5px;padding:5px 12px;}
.block404 {width: 55%;}
}
@media screen and (min-width:1251px) and (max-width:1650px){.more{bottom:3%;}
.mask-label{font-size:16px;}
.mask-value{font-size:17px;}
.main-quest-title{max-width:65%;font-size:27px;}
.main-quest-img-wrapper .col-xs-4{padding-left:2px;padding-right:2px;}
.main-quest-description{font-size:17px;}
.language-panel{right:3%;}
.logo{left:3%;}
}
@media only screen and (max-width: 800px) {
#contact {margin-top: -29.5%;}}
@media screen and (max-width:767px){.pphone{bottom:25px;}
header{z-index:99;}
header{background: #1c7481;height: 100px;}
.nothing{background: url(../img/mauto728.jpg) center center no-repeat;}
.block404{position:absolute;left:0;right:0;text-align:center;bottom:0;width:100%;margin:auto;}
.head-logo2{padding:5px;}
.foothrefs{display:none;}
.prichini-wrapper-mob{display:block;}
.prichini-wrapper-desk{display:none;}
.social{top:0;right:0;}
.main-top-slider{margin-top:0px;}
.the-best-autoschool h2{font-size:28px;}
.the-best-content-wrapper{width:100%;margin-top:5%;}
.head-phone-a{display:inline-block;margin:0 10px;}
.header-logo{position:static;}
.navbar{margin:0;}
.main-top-slider-img{width:100%;}
.the-best-content-text, .the-best-content-img{width:100%;position:static;font-size:14px;}
.mob-menu-wrapper, .dop-menu-wrapper.navbar-collapse.collapse.in{display:block!important;}
div.wpcf7-validation-errors{display:none!important}
.navbar-default .navbar-collapse, .navbar-default .navbar-form{border-color:#e7e7e7;background:#463b3b;z-index:99999999;}
#primary-menu li{display:block;}
.remodal-close{left:90%;}
.single-news{height:auto;}
.menu-footer-container{display:none;}
.header-logo{width:100%;height:auto;background:#ffcc00;}
.head-logo-a{position:static;}
.head-logo-a img{max-width:60%;}
.logo-phones{display:none;}
#site-navigation{position:absolute;z-index:9999;left:0;right:0;}
.navbar-toggle{position:absolute;right:0;}
.flleft{width:100%;float:none;margin:5% 0;}
.slider-label{right:0;left:0;text-align:center;}
.documents-man{width:40%;opacity:0.2}
.documents-content-item{float:none;width:100%;text-align:left;margin:0;padding:13px 0;height:auto;border:none;}
.documents-wrapper h2, .prichini-wrapper h2{font-size:22px;}
.documents-content-item-img-cont{height:50px;width:80px;display:inline-block;margin:10px 10px -10px;}
.document-content-item-title{font-size:18px;display:inline-block;}
.slider-two-wrap{left:10%;right:10%;}
.main-slider-two-wrapper h2{font-size:30px;}
.modal-left, .modal-right{width:100%;float:none;}
.modal-center{display:none;}
.modal-left-title, .modal-right-title{font-size:22px;margin:0px 0 10px;}
.social{z-index:999;top: 6px;right: 77px;}
.header-news h1{font-size:22px;}
.foothrefs a{width:200px;}
.menu-primary-container .current-menu-item a:after, .menu-primary-container ul li a:hover::after, .menu-primary-container ul li a:focus::after{box-shadow:none;background:none;}
.menu-primary-container ul li a{color:#fff;}
.documents-content{position:relative;}
.documents-content-item-wrapper{position:relative;width:100%;left:0;float:none;top:-20%;}
.remodal{padding:10px 20px;}
.top-contact .contact-top .phone {width: 100%;display: inline-block;position: relative;text-align: center;padding: 15px 0;}
.top-contact .contact-top .phone img {top: 31px;left: -58px;}
.top-contact .contact-top .phone h4 {margin-top: 0;}
.top-contact .contact-top .fax {text-align: center;}
.top-contact .contact-top .fax img {display: inline-block;position: relative;top: 34px;left: -57px;}
.top-contact .contact-top .address {width: 100%;display: inline-block;position: relative;text-align: center;}
.top-contact .contact-top .address img {display: inline-block;position: relative;top: 34px;left: -158px;}
#contact {margin-top: -34%;}
}
@media screen and (min-width:650px) and (max-width:767px){
}
@media screen and (max-width:649px){
}
@media screen and (max-width:600px){.documents-content-item-wrapper{top:-60%;width:90%;left:10%;}
.documents-content{margin-top:35%!important;}
#dop-menu li, #mob-menu li{padding:16px 12px;}
.up{font-size:16px;}
.slider-label{top:0;padding: 0;}
.slider-wrap {padding: 0 20px;}
.slider-label h1{font-size:30px;}
.slider-text-one{font-size:22px;}
.main-slider-two-wrapper{padding:5% 0 10%;}
.prichini-mob-it-title{font-size:20px;padding:0 5%;}
.prichini-mob-it-text{font-size:16px;}
.the-best-content-text p{display: none;}
.the-best-content-text a {display:block;color:#000;font-size:24px;cursor:pointer;}
.documents-content-item-wrapper {top: -78px;width: 100%;left: 0;}
#contact {margin-top: -43%;}
.slider-label2 {top: 0%;right: 0;width: 100%;}
}
@media screen and (max-width:500px){.for-copyright .col-xs-6{width:100%;text-align:center;}
.foothref{margin:15px auto;font-size:10px;}
.foothrefs a{font-size:12px;margin:2% 0%;width:100%;padding:5px 0px;text-align:center;}
.menu-primary-container ul li a{color:#fff;}
#dop-menu li, #mob-menu li{padding:16px 8px;}
.up{font-size:12px;}
.down{font-size:14px;}
.the-best-autoschool h2{font-size:22px;}
.document-content-item-title{font-size:16px;}
.social li{padding:10px 2px;}
.slider-label2 h1 {font-size: 24px;}
.slider-form input {padding: 7px 0;}
}
@media screen and (max-width:450px){.remodal{padding:35px 10px;}
body {overflow-x: hidden;}
.rules-content{padding:20px 10px;}
.index-description{margin:30px 0 10px;}
.index-description h1{font-size:25px;}
.index-excerpt{font-size:20px;margin:0;padding:10px 30px;}
#dop-menu li, #mob-menu li{padding:16px 5px;}
#dop-menu li a, #mob-menu li a{font-size:14px;font-weight:normal;}
.head-logo-a img{max-width:50%;}
.slider-text{margin-top:5%;}
.slider-text-one{font-size:20px;}
.slider-label h1{font-size:26px;}
.head-phone-a{margin:0;}
.documents-content-item-img-cont{width:70px;margin:10px 5px -10px;}
.document-content-item-title{font-size:13px;}
.documents-man{width:65%;}
.documents-content{margin-top:10%!important;}
.documents-content-item-wrapper{top:-10%;}
#contact {margin-top: -56%;left: 12%;}
}
@media screen and (max-width:400px){#contact {margin-top: -65%;left: 0%;}}
@media screen and (min-width:380px) and (max-width:450px){
    .documents-content-item-wrapper{top:-10%;}
.documents-content{margin-top:10%!important;}
}
@media screen and (max-width:374px){#dop-menu li, #mob-menu li{padding:16px 2px 16px 6px;}
#dop-menu li a, #mob-menu li a{font-size:13px;}
.head-logo-a img{max-width:75%;}
.main-top-slider{margin-top:52px;}
.slider-label h1{font-size:22px;}
.slider-text-one{font-size:17px;}
.navbar-toggle{margin-right:5px;}
.slider-form input{margin:5px auto;padding:6px;}
.flleft input[type="submit"], .modal-left input[type="submit"], .slider-form input[type="submit"]{padding:6px;}
.slider-form span.wpcf7-not-valid-tip{font-size:11px;top:23px;}
.prichini-mob-it-title{font-size:17px;}
}
@media all and (min-width:320px) and (max-width:800px) and (orientation:landscape){.main-top-slider{margin-top:-50vh;z-index:1;}
header{z-index:9999;}
.slider-label{top:90vh;}
.slider-text{margin-top:15%;}
.slider-label h1{margin:20px;}
}
@media all and  (max-width:767px) and (orientation:landscape){.nothing{background: url(../img/mauto728.jpg) 0 40% no-repeat;background-size: cover;}.text404{margin:0% 0;padding:0 2%;font-size:12px;}.logo404 img{max-width:130px;}.href404 a{padding:5px 30px;font-size:14px;}.text404{margin:0;padding:0 2%;font-size:12px;}.block404{width:30%;}.href404,.logo404{margin:15px;}}

@media all and (max-width:320px) {
.top-contact .contact-top .address img {display: inline-block;position: relative;top: 42px;left: -82px;}
.etaps-item-title {right: 24%;}
}