:root{--main-yellow:#FFCF55}
p{margin:0 0 10px}
a{color:inherit;text-decoration:none;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}
ul{margin:0;padding:0;list-style:none}
section{padding:30px 0}
.container{width:95%;max-width:1270px;margin:0 auto;padding:10px}
.main-h2{font-weight:500;font-size:27px;text-transform:uppercase;margin:0 auto 35px}
h2.left-align{text-align:initial;width:100%}
h2.bottom-line{position:relative;z-index:2;width:-webkit-max-content;width:-moz-max-content;width:max-content;font-weight:500;font-size:27px;text-transform:uppercase;margin:0 auto 35px}
h2.bottom-line:after{content:'';display:block;width:100%;height:.7em;border-radius:3px;background:var(--main-yellow);margin-top:-.7em;margin-left:-10px}
body{font-family:'Roboto',sans-serif;font-size:17px;line-height:1.5;margin:0;color:#121212}
.categories{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
.letter{color:#F8814E;text-decoration:underline;font-weight:500;font-size:43px;width:90px;height:90px;border-radius:50%;-webkit-box-shadow:0 0 26px rgba(0,0,0,0.13);box-shadow:0 0 26px rgba(0,0,0,0.13);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0 30px 20px 0;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}
.letter.online{width: 180px;text-align: center;line-height: 1.1;text-transform: uppercase;font-size: 23px;border-radius: 60px;}
.letter:hover{-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}
.groups-block{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));text-align:center;grid-gap:12px}
.groups-block .group{border:15px solid var(--main-yellow);border-radius:6px;position:relative;padding-top:55px;margin-top:70px;padding-bottom:10px;color:initial}
.groups-block .group img{position:absolute;top:-90px;left:50%;-webkit-transform:translate(-50%);-ms-transform:translate(-50%);transform:translate(-50%)}
.group-title{font-size:19px;font-weight:700;text-transform:uppercase;margin:0 0 5px}
.groups-block .day{line-height:1.5}
.why .container{max-width:920px}
.why-blocks{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));text-align:center;grid-gap:30px 40px}
.why-block{-webkit-box-shadow:0 0 26px rgba(0,0,0,0.13);box-shadow:0 0 26px rgba(0,0,0,0.13);border-radius:6px;padding:30px}
.why-block p{margin:0}
.why-block .img-wrapper{height:100px;margin-bottom:10px}
.history{background:url(images/city.jpg) no-repeat center;background-size:cover;padding-top:50px}
.history .container{max-width:1080px}
.gallery{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));margin-top:50px;grid-gap:12px}
.gallery img{width:100%}
.img-gal{position:relative}
.see-gallery{position:absolute;top:10%;left:10%;right:10%;bottom:30%;background:url(images/see-gallery.png) no-repeat right top;color:initial}
.see-gallery:hover,.see-gallery:focus{color:initial;opacity:.7}
.see-txt{font-weight:700;font-size:20px;line-height:23px;text-transform:uppercase;position:absolute;bottom:0}
.questions{width:60%;margin-right:10%}
.more-questions em{font-weight:500}
.quest{background:url(images/conversation.png) no-repeat top left;padding-left:60px}
.quest ul{list-style:none;padding:0;margin:0 0 15px}
.quest-txt{margin:0 0 5px}
.learning-text{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}
.schedule{-webkit-box-shadow:0 0 26px rgba(0,0,0,0.13);box-shadow:0 0 26px rgba(0,0,0,0.13);border-collapse:collapse;border:none;font-size:19px}
.branches{margin-bottom:-50px;margin-right:-25px}
.branches .gradient-btn{padding: 12px 20px;}
.branches .schedule td{padding: 25px 20px;}
.blog .branches{margin-bottom: 0;}
.blog .branches h2.bottom-line{display: none;}
.branches .container{overflow-x:scroll}
.blog .branches .container{overflow-x:unset}
.schedule th{border:1px solid #F1A716;background:var(--main-yellow);font-weight:700;font-size:20px;text-transform:uppercase;padding:30px;text-align:center}
.schedule td{padding:30px;border:1px solid #E0E0E0}
.schedule .blue-line{background:url(images/spb_metro_logo.png) no-repeat left center}
.schedule .red-line{background:url(images/metro-logo-red.png) no-repeat left center}
.schedule .purple-line{background:url(images/metro-logo-purple.png) no-repeat left center}
.schedule .green-line{background:url(images/green-metro.png) no-repeat left center}
.schedule .orange-line{background:url(images/orange-line.png) no-repeat left center}
.schedule .metro{background-size:33px;padding-left:50px;text-transform:uppercase;font-weight:700;font-size:20px}
.schedule .address{font-size:19px;margin:0}
.schedule tr td{font-size:18px}
.schedule tr td p:first-of-type{font-size:20px;margin:0 0 5px}
.gradient-btn,#form12 .wdform_page .button-submit,#form13 .wdform_page .button-submit{background:-o-linear-gradient(296.43deg,#FFCF55,#F32D2C);background:linear-gradient(153.57deg,#FFCF55,#F32D2C);border-radius:6px;font-weight:700;font-size:17px;color:#fff;text-transform:uppercase;padding:12px 30px;display:block;text-align:center;max-width:250px;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;border:none;white-space:nowrap;cursor:pointer}
.gradient-btn:hover,.gradient-btn:focus,#form12 .wdform_page .button-submit:hover,#form12 .wdform_page .button-submit:focus,#form13 .wdform_page .button-submit:hover,#form13 .wdform_page .button-submit:focus{background:-o-linear-gradient(296.43deg,#F32D2C,#FFCF55);background:linear-gradient(153.57deg,#F32D2C,#FFCF55)}
.see-more{font-size:25px;color:inherit;text-align:center;display:block;margin-top:30px;text-decoration:underline;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}
.see-more:hover,.see-more:focus{opacity:.7}
.blog .see-more{display: none;}
.schedule .online-group{background:url(images/online_icon.png) no-repeat left center;padding-left:70px;display:block;font-size:23px;line-height:1.3}
footer{background:#F5F5F5;border-top:6px solid var(--main-yellow)}
footer > .container{padding:15px 0 30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}
footer .gradient-btn{font-size:14px;padding:9px 25px;margin-top:10px}
.copyright{border-top:1px solid #E0E0E0;padding:5px 0 8px}
.copyright .container {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-pack: justify;-ms-flex-pack: justify;justify-content: space-between;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-ms-flex-wrap: wrap;flex-wrap: wrap;}
.copyright p{font-size:11px;margin:0;text-align:center}
.title-branches a,.footer-menu ul a{font-weight:700;font-size:15px;text-transform:uppercase}
.footer-branch{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column;margin:0 0 10px}
.title-branches{margin:0 0 5px}
.footer-branch a{font-size:14px;background:url(images/location-pin.png) no-repeat left center;padding-left:17px}
.footer-grey-txt{font-size:14px;color:#A3A3A3}
.footer-address{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:40%;padding-top:15px}
.footer-menu{padding-top:15px}
.footer-info{font-size:12px;color:inherit;background:url(images/file.png) no-repeat left center;max-width:180px;display:block;line-height:1.2;padding-left:35px;margin-top:10px}
.footer-blind{font-size:12px;color:inherit;background:url(images/glasses.png) no-repeat left center;max-width:150px;display:block;line-height:1.2;padding-left:35px;margin-top:5px}
.footer-phone a,.schedule .phone{color:#303030;font-size:19px;background:url(images/phone-dark.png) no-repeat left center;padding-left:25px}
.footer-phone{margin:5px 0 0}
.footer-hours{color:#303030;font-size:15px;background:url(images/clock-dark.png) no-repeat left center;padding-left:25px}
.footer-social{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
.footer-social a{margin-right:13px}
.footer-menu li{line-height:1;margin-bottom:10px}
.autos{background:url(images/autopark-y.png) no-repeat left top,url(images/wheel-small.png) no-repeat 40% bottom,url(images/wheel-big.png) no-repeat right top}
.autos-wrapper{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));grid-gap:25px;margin-top:50px}
.auto-card{background:#fff;-webkit-box-shadow:0 0 26px rgba(0,0,0,0.13);box-shadow:0 0 26px rgba(0,0,0,0.13);border-radius:6px;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column}
.auto-card .txt{padding:25px 30px;-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column}
.auto-card .img{position:relative;border-radius:5px;overflow:hidden}
.auto-card .img > img{display:block;width:100%}
.auto-card .overlay{position:absolute;z-index:-1;opacity:0;top:0;left:0;right:0;background:rgba(0,0,0,0.5);bottom:0;-webkit-transition:.3s ease-in-out;-o-transition:.3s ease-in-out;transition:.3s ease-in-out}
.auto-card:hover .overlay{z-index:2;opacity:1}
.auto-card .overlay img{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}
.auto-title{font-size:21px;font-weight:500;margin:0}
.auto-driver{text-transform:uppercase;font-size:15px;-webkit-box-flex:1;-ms-flex:1;flex:1}
.auto-driver .grey-txt{color:#757575}
.auto-card .experience{background:url(images/medal.png) no-repeat left top;line-height:1.1;padding:12px 0 12px 60px;margin:0 0 10px;-webkit-box-flex:1;-ms-flex:1;flex:1}
.auto-card .gradient-btn{padding:9px 30px;margin:0 auto}
.reviews-wrapper{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));grid-gap:25px}
.review{border:1px solid #E0E0E0;border-radius:6px;padding:25px;line-height:1.4;position:relative}
.reviews .container{max-width:1100px}
.review-name{font-size:21px}
.review-date{color:#BDBDBD;margin:15px 0 0}
.review:before{content:url(images/start-quote.png);display:block;position:absolute;z-index:2;top:-15px;left:-10px}
.review:after{content:url(images/end-quote.png);display:block;position:absolute;z-index:2;bottom:-15px;right:-10px}
header{padding:10px 0}
header .container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}
header .navbar-collapse.collapse{display:none!important}
.navbar-collapse.collapse{display:block}
nav.top-menu{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 50px 0 70px}
nav.top-menu ul{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row;flex-flow:row}
nav.top-menu ul li a{font-weight:700;font-size:15px;color:#3d3d3d;text-transform:uppercase;border-bottom:2px solid transparent;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;padding:0!important}
nav.top-menu ul a:hover,nav.top-menu ul a:focus,nav.top-menu ul li.current a,header .navbar-collapse.in a:hover,header .navbar-collapse.in a:focus,header .navbar-collapse.in li.current a{border-bottom:2px solid var(--main-yellow);background:none}
.header-phone a{color:#303030;font-size:15px;background:url(images/phone-dark.png) no-repeat left center;padding-left:25px;text-decoration:underline}
.main .header-phone a{background:url(images/phone-light.png) no-repeat left center}
.header-phone{margin:0}
.header-hours{color:#303030;font-size:15px;background:url(images/clock-dark.png) no-repeat left center;padding-left:25px;margin:0}
.main .header-hours{background:url(images/clock-light.png) no-repeat left center}
.header-social{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
.header-social a{margin-right:10px}
header .gradient-btn{font-size:17px;padding:7px 25px}
.header-cont-wrap{text-align:right;margin:0 20px 0 15px}
.header-cont-info{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
.branch-mobile{display:none;font-weight:700;font-size:15px;color:#3d3d3d;text-transform:uppercase;border-bottom:2px solid transparent;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}
.branch-mobile:hover,.branch-mobile:focus{border-bottom:2px solid var(--main-yellow)}
.mobile-ham{display:none}
header.main{position:absolute;top:0;left:0;right:0;z-index:1000}
.main nav.top-menu ul a,.main .header-phone a,.main .header-hours,.main .branch-mobile{color:#fff!important}
header.main .container{position:relative}
.main .gradient-btn{position:absolute;top:100%;right:0;z-index:1100}
.main-banner{padding:0}
.carousel-control-next,.carousel-control-prev{width:5%}
.carousel-control-next-icon,.carousel-control-prev-icon{position:absolute;top:50%;transform:translateY(-50%)}
.slide-cover{width:100%;display:block}
.gradient-bg{background:-o-linear-gradient(296.43deg,#FFCF55,#F32D2C);background:linear-gradient(153.57deg,#FFCF55,#F32D2C);display:-ms-grid;display:grid;-ms-grid-columns:4fr 20px 6fr;grid-template-columns:4fr 6fr;grid-gap:20px;padding:20px 0;border-top-right-radius:6px}
.slide:not(.lgoty) .gradient-bg{border-bottom-right-radius:6px}
.gradient-bg img{-ms-grid-column-align:end;justify-self:end}
.gradient-bg .txt p:first-of-type{font-weight:700;font-size:29px;text-transform:uppercase;margin:0}
.gradient-bg .txt p:last-of-type{font-size:26px;margin:0}
.gradient-bg .txt p .bigger{text-decoration:underline;font-size:29px;font-weight:700;white-space:nowrap}
.lgoty .bottom-text{display:-ms-grid;display:grid;-ms-grid-columns:4fr 2.5fr 3.5fr;grid-template-columns:4fr 2.5fr 3.5fr;background:rgba(7,7,7,0.7);padding:15px 0 20px;border-bottom-right-radius:6px}
.lgoty .bottom-text ul li{list-style:initial!important}
.lgoty .bottom-text ul{padding:0 0 0 30px}
.lgoty .bottom-text ul:first-of-type{-ms-grid-column:2;grid-column:2}
.lgoty .bottom-text ul:last-of-type{-ms-grid-column:3;grid-column:3}
.slide-text{color:#fff;position:absolute;left:0;top:57%;width:50%;line-height:1.5}
.slide a{display:block}
.main-titles{position:absolute;width:100%;top:100px;color:#fff;line-height:1.2;z-index:2;}
.main-titles .container{padding: 0 0 10px;}
.main-titles .title1{font-weight:500;font-size:40px;margin:0;z-index:1000;width:80%;position: relative;}
.main-titles .title2{font-size:35px;margin:0;z-index:1000;width:80%;position: relative;}
.learning{background:url(images/flag.png) no-repeat 65%;background-size:330px;padding-bottom:60px}
.schedule-mobile{display:none}
#carousel-main{z-index:1;}
.branches hr {margin-bottom: 20px;padding-top: 10px;}
@media (max-width: 1680px) {
.lgoty .bottom-text{-ms-grid-columns:2fr 2.5fr 3.5fr;grid-template-columns:2fr 2.5fr 3.5fr}
.gradient-bg{-ms-grid-columns:2fr 20px 6fr;grid-template-columns:2fr 6fr;padding:15px 0}
.gradient-bg .txt p:first-of-type{font-size:24px}
.gradient-bg .txt p:last-of-type{font-size:21px}
.gradient-bg .txt p .bigger{font-size:24px}
.gradient-bg img{width:60px;-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center}
.lgoty .bottom-text ul{font-size:15px}
.main-titles{position:relative;background:-o-linear-gradient(270.02deg,#0A0A0C 87.19%,rgba(10,10,12,0) 99.91%);background:linear-gradient(179.98deg,#0A0A0C 87.19%,rgba(10,10,12,0) 99.91%);top:unset;margin-bottom:-20px;}
  
  header.main{position:static;background:#0A0A0C}
}
@media (max-width: 1280px) {
.header-social,.header-hours{display:none}
nav.top-menu{margin:0 40px 0 50px}
.gradient-bg .txt p:first-of-type{font-size:21px}
.gradient-bg .txt p:last-of-type{font-size:18px}
.gradient-bg .txt p .bigger{font-size:21px}
.gradient-bg img{width:50px}
.slide-text{width:480px}
.gradient-bg{-ms-grid-columns:1.5fr 20px 6fr;grid-template-columns:1.5fr 6fr}
.lgoty .bottom-text{-ms-grid-columns:1fr 3fr 3fr;grid-template-columns:1fr 3fr 3fr}
.main-titles .title2{display:none}
.main-titles .title1{font-weight:400;font-size:37px;width:80%}
  .main .gradient-btn{position:relative;}
}
@media (max-width: 1080px) {
.footer-address{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;width:-webkit-max-content;width:-moz-max-content;width:max-content}
.footer-grey-txt{display:none}
.footer-branch{margin:0 0 5px}
.gallery .img-gal:nth-of-type(4){display:none}
.branch-mobile{display:block}
.branch-mobile:hover,.branch-mobile:focus{border-bottom:2px solid var(--main-yellow)}
.mobile-ham{display:block;padding:0;border:0;background:transparent;cursor:pointer}
.mobile-ham img{-webkit-filter:invert(100%);filter:invert(100%);display:block}
.main .mobile-ham img{-webkit-filter:none;filter:none}
header .container{position:relative}
nav.top-menu{display:none}
header .navbar-collapse{position:absolute;right:10px;top:80px;z-index:2000;margin:0;background:#fff;-webkit-box-shadow:0 5px 10px lightgray;box-shadow:0 5px 10px lightgray;padding:10px 0;width:250px;display:none;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);opacity:0;-webkit-transform-origin:top right;-ms-transform-origin:top right;transform-origin:top right;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}
header .navbar-collapse.in,header .navbar-collapse.show{display:block!important;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);opacity:1}
header .navbar-collapse.in a,header .navbar-collapse.show a{color:#3d3d3d!important;font-weight:700;font-size:15px;color:#3d3d3d;text-transform:uppercase;border-bottom:2px solid transparent;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;padding:5px}
header .navbar-collapse.in ul,header .navbar-collapse.show ul{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column}
header .navbar-collapse.in ul li,header .navbar-collapse.show ul li{text-align:center;padding:0 20px}
header ul.side-menu li,header ul.side-menu li.current{border:none!important}
.blog aside{display:none}
.blog-content{width:100%;max-width:unset;-webkit-box-flex:unset;-ms-flex:unset;flex:unset}
.slide-text{width:100%;position:static}
.gradient-bg,.lgoty .bottom-text{border-radius:0!important}
.main-titles .title1{font-size:35px;width:75%}
.reviews-wrapper{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}
.reviews-wrapper .review:last-of-type{display:none}
}
@media (max-width: 960px) {
.gallery{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
.schedule{display:none}
.schedule-mobile{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));grid-gap:50px 20px;-webkit-box-shadow:none;box-shadow:none;font-size:18px}
.schedule-mobile .yellow{-webkit-writing-mode:vertical-rl;-ms-writing-mode:tb-rl;writing-mode:vertical-rl;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);background:var(--main-yellow);font-size:17px;font-weight:700;text-transform:uppercase;padding:25px 13px;width:65px;min-width:65px;text-align:center;white-space:nowrap;}
.schedule-mobile .branch-block{-webkit-box-shadow:0 0 26px rgba(0,0,0,0.13);box-shadow:0 0 26px rgba(0,0,0,0.13);border-radius:15px}
.branch-block .row-branch:first-of-type .yellow{border-bottom-right-radius:15px;border-top:1px solid #F1A716;min-height:155px}
.branch-block .row-branch:last-of-type .yellow{border-top-right-radius:15px}
.row-branch{display:-webkit-box;display:-ms-flexbox;display:flex}
.branch-group{padding:25px 0 25px 30px;position:relative;z-index:2;left:-12px;background:#fff;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}
.branch-block{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column}
.branch-block .row-branch:last-of-type{-webkit-box-flex:1;-ms-flex:1;flex:1}
.branch-block .row-branch:first-of-type .branch-group{border-top-left-radius:15px;overflow:hidden;}
.branch-block .row-branch:last-of-type .branch-group{border-bottom-left-radius:15px}
.branch-block .row-branch:last-of-type .branch-group div:last-of-type,.branch-block .row-branch:last-of-type .branch-group p:last-of-type{-webkit-box-flex:1;-ms-flex:1;flex:1}
.schedule-mobile .gradient-btn{padding:8px 28px;-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center}
.schedule-mobile .metro{font-size:18px}
.schedule-mobile .online-group{padding-left:55px;font-size:20px;background-size:45px}
.time p{margin:0}
.time p:last-of-type {margin-bottom: 10px;}
.branches{margin-right:0;margin-bottom: 0;}
.branches hr {margin-bottom: 10px;}
.branches .container {overflow-x: unset;}
.history{padding-top: 20px;}
  
}
@media (max-width: 860px) {
.questions{width:100%;margin-right:0;margin-bottom:30px}
.more-questions{padding-left:50px}
.quest{padding-left:50px;background-size:35px}
.letter{font-size:35px;margin:0 20px 20px 0;width:70px;height:70px;min-width:70px;}
.autos{background:url(images/autopark-y.png) no-repeat center top,url(images/wheel-big.png) no-repeat center bottom}
.categories{-ms-flex-wrap: wrap;flex-wrap: wrap;}
}
@media (max-width: 800px) {
header .gradient-btn{position:absolute;right:0;top:100%}
header{padding:10px 0 60px}
header.main{padding:10px 0}
header .navbar-collapse{top:60px}
.carousel-control-next-icon,.carousel-control-prev-icon{width:28px;height:28px}
.carousel-control-next,.carousel-control-prev{width:8%}
}
@media (max-width: 740px) {
.gallery .img-gal:nth-of-type(3){display:none}
.gallery{-ms-grid-columns:1fr 12px 1fr 12px 1fr;grid-template-columns:1fr 1fr 1fr}
.see-gallery{background-size:80px}
.see-txt{font-size:17px}
.main .gradient-btn{top:250%;right:50%;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%);font-size:15px;padding:5px 25px}
.main-titles .title1{font-size:32px;width:80%}
.reviews-wrapper{-ms-grid-columns:1fr;grid-template-columns:1fr}
.reviews-wrapper .review:nth-of-type(2){display:none}
}
@media (max-width: 640px) {
.why-block{padding:25px 20px}
.why-blocks{grid-gap:20px}
footer > .container{-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}
.footer-contacts{width:100%}
.copyright{padding:8px 0 13px}
.footer-contacts{display:-ms-grid;display:grid;-ms-grid-columns:-webkit-min-content 40px 1fr;-ms-grid-columns:min-content 40px 1fr;grid-template-columns:-webkit-min-content 1fr;grid-template-columns:min-content 1fr;grid-gap:0 40px}
footer .gradient-btn{grid-column:1/-1;width:-webkit-max-content;width:-moz-max-content;width:max-content}
.footer-address{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;width:50%}
.footer-menu{width:50%}
.title-branches{display:none}
.groups-block{-ms-grid-columns:1fr 12px 1fr;grid-template-columns:1fr 1fr}
.groups-block .group img{width:150px;top:-53px}
.groups-block .group{border-width:10px;margin-top:40px;padding:40px 10px 0}
.group-title{font-size:17px;margin:0 0 2px}
.see-more{font-size:21px}
  .main .gradient-btn{position:absolute;}
  
}
@media (max-width: 560px) {
.autos-wrapper{-ms-grid-columns:1fr 10px 1fr;grid-template-columns:1fr 1fr;grid-gap:10px}
.auto-title{font-size:16px}
.auto-driver{font-size:12px}
.auto-card .experience{font-size:13px;background-size:29px;padding:5px 0 5px 40px;margin:15px 0}
.auto-card .gradient-btn{padding:7px 10px;font-size:13px}
.auto-card .txt{padding:15px 20px}
.auto-card .overlay{display:none}
.main-titles .title1{font-size:29px;width:90%}
}
@media (max-width: 480px) {
.letter{font-size:27px;margin:0 0 20px;width:50px;height:50px;min-width:unset;}
.letter.online{font-size: 18px;width: 150px;}
.categories{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}
h2{margin-bottom:20px;font-size:23px}
section{padding:20px 0}
.why-block .img-wrapper{height:68px}
.img-wrapper img{max-width:65px}
.why-blocks{grid-gap:25px 10px;-ms-grid-columns:1fr 10px 1fr;grid-template-columns:1fr 1fr}
.why-block{padding:0;-webkit-box-shadow:none;box-shadow:none}
.why-block p{font-size:13px}
.group-title{font-size:14px}
.groups-block .day{font-size:13px}
.groups-block{grid-gap:7px}
.groups-block:nth-child(3) .group-title{font-size:13px}
.groups-block .group{padding:40px 5px 0}
.see-txt{font-size:15px;line-height:1.2}
.see-gallery{bottom:19%;background-size:60px;top:24%}
.gallery{margin-top:30px}
.see-more{font-size:19px}
.main-titles .title1{font-size:27px}
}
@media (max-width: 420px) {
body{font-size:16px}
h2{font-size:20px}
.logo-top{width:80px}
.logo-top img{width:100%}
.header-phone a{font-size: 21px;}
header .gradient-btn{font-size:15px;padding:6px 20px}
.header-cont-wrap{margin:0}
.main-titles .title1{font-size:23px;width:100%}
section {padding: 20px 0 0;}
}
@media (max-width: 380px) {
.footer-contacts{grid-gap:0 30px}
.title-branches a,.footer-menu ul a{font-size:12px}
.footer-phone a{font-size:16px;background-size:14px;padding-left:20px}
.footer-hours{padding-left:20px;font-size:14px;background-size:14px}
.footer-branch a{font-size:12px}
.footer-info{font-size:10px;padding-left:30px}
.footer-blind{font-size:10px;padding:5px 0 5px 30px}
footer .gradient-btn{margin-top:0}
.footer-menu li{margin-bottom:5px}
.groups-block .group{border-width:6px;padding:30px 5px 0}
.groups-block .group img{width:130px;top:-50px}
.logo-top{width:65px}
.header-phone a{font-size:18px}
.responsive-menu img {width: 25px;}
.branch-mobile{font-size:13px}
header .gradient-btn{font-size:13px;padding:5px 15px}
nav.top-menu ul a{font-size:14px}
nav.top-menu ul li{padding:3px}
nav.top-menu{width:200px}
h2.bottom-line,.main-h2{margin: 0 auto 25px;font-size: 23px;}
}
@media (max-width: 360px) {
.see-gallery{bottom:19%;background-size:50px}
.see-txt{font-size:13px}
.autos-wrapper{-ms-grid-columns:1fr;grid-template-columns:1fr}
.main-titles .title1{font-size:22px}
.schedule-mobile .metro {font-size: 17px;}
.schedule .metro {background-size: 20px;padding-left: 28px;}
.schedule .address {font-size: 18px;}
}
.contract{
	text-align: center;
	margin: 20px auto; 
}
.contract a{
	padding: 20px 70px;
	border: 1px solid #DEDEDE;
box-sizing: border-box;
border-radius: 40px;
font-weight: 500;
font-size: 19px;
line-height: 22px;
color: #000000;
}
.contract a svg{
	margin-right: 20px;
	position: relative;
    top: 8px;
}
.contract a:hover{
	background: linear-gradient(113.18deg, #FFCF55 -3.9%, rgba(255, 255, 255, 0) 106.68%), #F32D2C;
border: 1px solid #DEDEDE;
box-sizing: border-box;
box-shadow: 0px 0px 19px rgba(0, 0, 0, 0.1);
border-radius: 40px;
color:#fff;
}
.contract a:hover svg path{
	fill:#fff!important;

-webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
@media only screen and (max-width : 480px) {
.contract a{
	display: block;
	padding: 15px 20px 20px;
	}
}
.fade-map_title{
  height:40px;
  cursor:pointer;
}
.fade-map{
  max-height:40px;
  overflow:hidden;
  transition:.5s;
}
.fade-map.active{
  max-height:1000px;
  overflow:hidden;
  transition:.5s;
}
.new-price{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 30px;
	grid-row-gap: 30px;
}
.new-price_item{
	background: linear-gradient(137.29deg, #FFFCFA 19.3%, #FFEDDC 100%);
box-shadow: 20px 10px 60px 1px rgba(170, 136, 73, 0.31);
border-radius: 16px;
overflow: hidden;
}
.new-price_item__title{
	background: linear-gradient(108.94deg, #FEC152 10.08%, #F48331 86.63%);
border-radius: 16px 16px 0px 0px;
height: 90px;
line-height: 90px;
display: grid;
align-items: center;
text-align: center;
}
.new-price_item__title h3{
	font-weight: bold;
font-size: 24px;
line-height: 1;
text-transform: uppercase;
margin: 0;
color: #FFFFFF;
}
.new-price_item__list{
	padding:30px;
	font-style: normal;
font-weight: normal;
font-size: 14px;
line-height: 16px;

color: #000000;
}
.new-price_item__list___item{
	display: grid;
	grid-template-columns: 50px 1fr;
	align-items: center;
	grid-column-gap: 20px;
	margin: 10px 0;
}
.new-price_item__list___item img{
	max-width: 100%;
}
.new-price__price{
	padding:0 30px;
	display: flex;
	justify-content: space-between;
	font-size: 20px;
line-height: 23px;
color: #000000;
margin-bottom: 30px;
}
.new-price__price b{
	font-weight: bold;
font-size: 24px;
line-height: 28px;

color: #000000;

}
.new-price__link{
	padding:0 30px 30px;
}
.new-price__link a{
	display: block;
	background: linear-gradient(272.9deg, #F43D30 4.56%, #FEC753 100%);
border-radius: 6px;
padding: 15px;
box-sizing: border-box;
font-weight: 900;
font-size: 20px;
line-height: 23px;
text-transform: uppercase;
text-align: center;
color: #FFFFFF;

}
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr ;
 	grid-column-gap:30px;
  grid-row-gap:30px;
}
.category-pay{
  background: linear-gradient(108.94deg, #FEC152 10.08%, #F44131 86.63%);
border-radius: 28px;
  padding:20px;
  display:grid;
  align-items:center;
  justify-content:center;
  color:#fff;
  min-height: 300px;
}
.category-pay h3{
  font-weight: bold;
font-size: 28px;
line-height: 37px;
/* identical to box height */
text-align:center;
margin-bottom:0;
color: #FFFFFF;

}
.category-pay img{
  width:200px;
}
.oplat-form h2{
  font-weight: bold;
font-size: 38px;
line-height: 47px;
/* identical to box height */
text-align:center;
color: #000000;
}
.oplat-form__item{
  border-bottom:1px solid  #C4C4C4;
  padding:20px 0;
}
.oplat-form__item input[type="submit"]{
  border:none;
  background: linear-gradient(272.9deg, #F43D30 4.56%, #FEC753 100%);
border-radius: 6px;
  font-weight: 700;
font-size: 20px;
line-height: 23px;
text-transform: uppercase;
color: #FFFFFF;
  padding: 7px 25px;
  margin:auto;
  display:block;
  width:auto;
}
.oplat-form__item:last-child{
  border:none;
}
.oplat-form__item h3{
  font-weight: bold;
font-size: 24px;
line-height: 28px;
margin-bottom:15px;
color: #000000;
}
.oplat-form__item label{
  font-weight:300;
}
.oplat-form__item .grid-2{
  align-items:center;
}
.grid-2.grid-300{
	grid-template-columns: 300px 300px;
	justify-content: center;
}
.link-oplata{
	margin-left: 20px;
}
.oplat-form__item img{
	max-width: 100%;
}
@media only screen and (max-width : 768px) {
.new-price, .grid-2, .grid-2.grid-300{
	grid-template-columns: 1fr;
}
.new-price__price b {
    font-weight: bold;
    font-size: 22px;
    line-height: 28px;
    color: #000000;
}

	}
	@media only screen and (max-width : 480px) {
.link-oplata{
	margin-left: 0px;
	margin-top: 20px;
	padding: 5px 20px 15px;
}
	}
img[src="templates/autorally/images/logo-white.png"]{
	width:  100px !important;
	border-radius: 50%;
}
img[src="../templates/autorally/images/logo-black.png"]{
	width:  100px !important;
	border-radius: 50%;
}
img[src="templates/autorally/images/logo-btm.png"]{
	width:  100px !important;
	border-radius: 50%;
}
img[src="../templates/autorally/images/logo-btm.png"]{
	width:  100px !important;
	border-radius: 50%;
}
body{
	overflow-x: hidden !important;
	max-width: 100vw !important;
}
.online-callback{
	display: none !important;
}