* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'TT TANK', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    position: relative;
    font-weight: 500;
    margin: 0 auto;
    padding: 0;
    overflow-x: hidden;
    max-width: 1920px;
    background: #3B393A;
}

.fancybox-slide--html .fancybox-close-small { /* color: white !important; */
}

.fancybox-button svg {
    transform: scale(2);
}

.compensate-for-scrollbar {
    margin-right: auto !important;
    overflow: auto !important;
}

.fancybox-content {
    overflow: hidden;
    color: #000000;
}


input[type=file] {
    display: none;
}


sup {
    display: inline-block;
    vertical-align: top;
    top: -3px;
    position: relative;
    font-size: 80%;
}

img {
    border-style: none;
    vertical-align: middle;
    max-width: 100%;
}

select::-ms-expand {
    display: none;
}

select::-ms-expand {
    display: none;
}

a {
    color: inherit;
    text-decoration: none;
}

.fancybox-type-image .fancybox-close {
    right: 9px;
}

.fancybox-close {
    background: url(../img/bg_close.png) 50% 50% no-repeat !important;
    color: black;
    width: 22px !important;
    height: 22px !important;
    top: -25px !important;
    right: -25px !important;
}


.container {
    margin: 0px auto;
    padding: 0px 15px;
    max-width: 100%;
    position: relative;
}

@media (min-width: 1200px) {
    .container {
        width: 1260px;
        padding: 0 30px;
    }
}

.has-danger input,
.has-danger select,
.has-danger textarea {
    border-width: 2px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #eba5a3;
}


#form_popup, #form_popup2 {
    display: none;
}

.popup_container {
    width: 500px;
    max-width: 100%;
    padding: 30px;
    overflow: hidden;
    position: relative;
    background: #3B393A;
}


.popup_container h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
    padding: 0;
    color: #ffffff;
}

.popup_container .form_comment {
    text-align: center;
    font-size: 20px;
    color: #414141;
    padding-bottom: 15px;
}

.popup_container .form_comment a {
    display: block;
    color: #414141;
    text-decoration: none;
}

.popup_container .close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 34px;
    height: 34px;
    -moz-transform: rotate(45deg); /* Aey Firefox */
    -ms-transform: rotate(45deg); /* Aey IE */
    -webkit-transform: rotate(45deg); /* Aey Safari, Chrome, iOS */
    -o-transform: rotate(45deg); /* Aey Opera */
    transform: rotate(45deg);
    cursor: pointer;
}

.popup_container .close:before {
    content: '';
    position: absolute;
    left: 0px;
    top: 16px;
    width: 34px;
    height: 1px;
    display: block;
    background-color: #a8a8a8;
}

.popup_container .close:after {
    content: '';
    position: absolute;
    left: 16px;
    top: 0px;
    width: 1px;
    height: 34px;
    display: block;
    background-color: #a8a8a8;
}

.not_agree button {
    background-color: #cccccc !important;
    cursor: auto !important;
    color: white !important;
}

.agree_field {
    font-size: 10px;
    line-height: 100%;
    position: relative;
    display: block;
    padding-left: 20px;
    top: 0px;
}

.agree_field input {
    position: absolute;
    top: -1px;
    left: 0px;
    margin: -0px;
}

.agree_field span {
    padding-left: 25px;
    display: inline-block;
}

form {
}

form .form-group {
    margin-bottom: 10px;
    position: relative;
}

form .form-group input[type=tel],
form .form-group input[type=text],
form .form-group input[type=number],
form .form-group select {
    height: 47px;
    width: 100%;
    color: #FFFFFF;
    font-size: 16px;
    box-sizing: border-box;
    font-weight: 400;
    font-family: 'TT TANK', sans-serif;
    padding: 0px 20px;
    outline: none;
    background: transparent;
    border-radius: 16px;
    border: 1px solid #F5F5F5;
}

form .form-group select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: url(../img/ico_select.svg) 95% 50% no-repeat transparent;
    font-family: 'TT TANK', sans-serif;
    outline: none;
}

form .form-group button {
    width: 100%;
    cursor: pointer;
    font-family: 'TT TANK', sans-serif;
    outline: none;
}

form .form-group button:hover {
}


.form_title {
    color: black;
    font-size: 36px; /* text-transform: uppercase; */
    padding: 0px;
    margin: 0px;
    text-align: center;
    padding-bottom: 47px;
}

.form_title span {
    display: block;
    color: #ff0000;
    white-space: nowrap;
}

.btn {
    box-sizing: border-box;
    border-radius: 16px;
    background: #FF7F24;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: 47px;
    font-size: 16px;
    font-weight: 500;
    color: #3B393A;
    text-decoration: none;
    outline: none;
    border: none;
    transition: all .3s ease;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.btn:hover {
    background: #DE5D00;
    color: #ffffff;
}

.btn.glass {
    border: 1px solid #FFFFFF;
    background: transparent;
    color: #FFFFFF;
}

.btn.glass:hover {
    background: #575757;
    border-color: #575757;
}


/**********************
        HEADER
**********************/

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 15;
    background: #3B393A;
    padding: 20px 0;
    transition: all .4s ease;
}

header.scroll {
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo_wrap {
    display: flex;
    align-items: center;
    gap: 0 20px;
}

.head_contacts {
    display: flex;
    flex-direction: column;
    gap: 8px 0;
}

header .m_btn {
    display: none;
}

header .btn {
    width: 280px;
}

.menu {
    position: fixed;
    background: #434343;
    top: 98px;
    left: 0;
    right: 0;
    padding: 20px 0;
    z-index: 15;
    transition: all .4s ease;
}

.menu.scroll {
    top: 72px;
    padding: 10px 0;
}

.menu .container {
    display: flex;
    justify-content: space-between;
}

.menu a {
    font-size: 18px;
    color: #FFFFFF;
    font-weight: 300;
    transition: all .4s ease;
}

.menu a:hover {
    font-weight: 500;
}

/**********************
        BANNER
**********************/

.banner {
    margin-top: 98px;
}

.banner picture img {
    max-width: none;
    height: 752px;
    transform: translateX(-50%);
    left: 50%;
    display: block;
    position: relative;
}

.title_container {
    position: absolute;
    z-index: 1;
    top: 86px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    left: 0;
    padding: 0 15px;
}

.title_container .title_wrap {
    text-align: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(16px);
    padding: 20px 24px;
    color: #434343;
    min-width: 860px;
    margin-bottom: 10px;
}

.title_container .title1 {
    font-size: 32px;
    font-weight: 500;
}

.title_container .title2 {
    font-size: 40px;
    color: #3b393a;
    font-weight: 700;
}

.banner_props {
    display: flex;
    gap: 10px;
}
.banner_props > a {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    background-color: #434343 !important;
    justify-content: center;
    padding: 13px 15px 12px 45px;
    transition: all .4s ease;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
}

.banner_props > a:hover {
    background-color: #3B393A !important;
}

.banner_props > a span {

}

.banner_props > a.ico1 {
    background: url("../img/leasing_ico1.svg") 15px 50% no-repeat;
}
.banner_props > a.ico2 {
    background: url("../img/leasing_ico2.svg") 15px 50% no-repeat;
}
.banner_props > a.ico3 {
    background: url("../img/leasing_ico3.svg") 15px 50% no-repeat;
}




.title_container .btn {

}

.timer_block {
    margin-top: -70px;
    border-radius: 24px;
    background: #434343;
    padding: 20px 80px;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
}

.timer_title {
    font-size: 20px;
    margin-bottom: 12px;
}

.timer_block div[id^=timer] {
    min-width: auto;
}

#timer_form {
    width: 440px;
}

/**********************
         CARS
**********************/

.blocks_title {
    font-size: 64px;
    font-weight: 500;
    text-align: center;
}

.cars_items {
    margin-top: 105px;
}

.cars_menu {
    margin-top: 30px;
    padding: 10px 170px !important;
}

.cars_menu .swiper-slide {
    height: 164px;
    transition: all .4s ease;
    border-radius: 16px;
    border: 1px solid #D4D4D4;
    overflow: hidden;
}

.cars_menu .swiper-slide a {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 12px;
    position: relative;
}

.cars_menu .swiper-slide a span {
    display: block;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 300;
    position: relative;
    transition: all .4s ease;
}

.cars_menu .swiper-slide a img {
    position: relative;
}

.cars_menu .swiper-slide a:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom right, #FCFCFC 0%, #999 50%) bottom right / 50% 50% no-repeat, linear-gradient(to bottom left, #FCFCFC 0%, #999 50%) bottom left / 50% 50% no-repeat, linear-gradient(to top left, #FCFCFC 0%, #999 50%) top left / 50% 50% no-repeat, linear-gradient(to top right, #FCFCFC 0%, #999 50%) top right / 50% 50% no-repeat;
    opacity: 0;
    transition: all .4s ease;
}

.cars_menu .swiper-slide a:hover:before {
    opacity: 1;
}

.cars_menu .swiper-slide a:hover span {
    color: #3B393A;
}

.car_item {
    position: relative;
    margin-top: 90px;
}

.car_item:before {
    content: '';
    display: block;
    height: 4px;
    border-radius: 8px;
    width: 950px;
    position: absolute;
    top: -30px;
    right: -29%;
    background: #434343;
}

.car_name {
    font-size: 64px;
    text-align: center;
}

.car_wrap {
    display: flex;
    justify-content: space-between;
}

.car_image_wrap {
    position: relative;
    width: 56%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0 40px;
}

.car_leasing {
    position: absolute;
    top: 20px;
    right: 26px;
    cursor: pointer;
}
.car_leasing span {
    position: relative;
    font-size: 18px;
    font-weight: 500;
    color: #FFFFFF;
    padding-left: 48px;
}
.car_leasing span font {
    color: #FF7F24;
}
.car_leasing span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    background-image: url(../img/leasing.svg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    transition: all .4s ease;
}
.car_leasing:hover span::before {
    background-image: url(../img/leasing_hov.svg);
}

.car_colors {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px 0;
    margin-top: 17px;
}

.car_colors > div {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
}

.car_colors > div.active {
    border: 1px solid #FFFFFF;
}

.car_text {
    width: 29%;
    margin-top: -5px;
}

.car_profit {
    display: flex;
    align-items: center;
    border-radius: 12px;
    background: url("../img/ico_profit.svg") 10px 50% no-repeat #FF7F24;
    padding: 8px 15px 8px 45px;
    color: #3b393a;
    font-size: 18px;
    margin-top: 5px;
    transition: all .4s ease;
}

.car_profit:hover {
    color: #FF7F24;
    background: url("../img/ico_profit_hov.svg") 10px 50% no-repeat transparent;
}

.car_props {
    display: flex;
    flex-direction: column;
    gap: 12px 0;
    margin-top: 12px;
}

.car_props > a {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    background-color: #434343 !important;
    justify-content: center;
    padding: 8px 15px 8px 45px;
    transition: all .4s ease;
    font-size: 20px;
    font-weight: 500;
    color: #d4d4d4;
}

.car_props > a:hover {
    background-color: transparent !important;
}

.car_props > a span {

}

.car_props > a.ico1 {
    background: url("../img/prop_ico1.svg") 15px 8px no-repeat;
}

.car_props > a.gifts span.gift {
    margin-left: -45px;
    display: block;
    padding-left: 45px;
    margin-top: 4px;
    font-size: 18px;
    font-weight: 300;
}

.car_props > a.gifts span.ico1 {
    background: url("../img/gift_ico1.svg") 15px 50% no-repeat;
    margin-top: 12px;
}

.car_props > a.gifts span.ico2 {
    background: url("../img/gift_ico2.svg") 15px 50% no-repeat;
}

.car_props > a.gifts span.ico3 {
    background: url("../img/gift_ico3.svg") 15px 50% no-repeat;
}


.car_props > a.ico2 {
    background: url("../img/prop_ico2.svg") 15px 8px no-repeat;
}

.car_props > a.ico3 {
    background: url("../img/prop_ico3.svg") 15px 50% no-repeat;
}

.car_gallery.swiper {
    margin: 0;
    width: 120px;
    height: 370px;
}

.car_gallery a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.car_gallery a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car_btns {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.car_btns .btn {
    width: 32.5%;
}

/**********************
       COMPLECTS
**********************/

#instock {
    margin-top: 115px;
}

.filter_quick_menu {
    display: flex;
    justify-content: space-between;
    gap: 0 20px;
    margin-top: 30px;
}

.filter_quick_menu > li {
    display: block;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #F5F5F5;
    background: transparent;
    transition: all .4s ease;
    cursor: pointer;
    font-size: 18px;
    overflow: hidden;
    position: relative;
}

.filter_quick_menu > li:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all .4s ease;
    opacity: 0;
    /*background: linear-gradient(to bottom right, #DEDEDE 0%, #AAA 50%) bottom right / 50% 50% no-repeat, linear-gradient(to bottom left, #DEDEDE 0%, #AAA 50%) bottom left / 50% 50% no-repeat, linear-gradient(to top left, #DEDEDE 0%, #AAA 50%) top left / 50% 50% no-repeat, linear-gradient(to top right, #DEDEDE 0%, #AAA 50%) top right / 50% 50% no-repeat;*/
    background: url("../img/tabs_hov.png") 50% no-repeat;
    background-size: cover;
}

.filter_quick_menu > li span {
    padding: 16px 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all .4s ease;
    z-index: 1;
}

.filter_quick_menu > li:hover,
.filter_quick_menu > li.current {
    color: #3b393a;

}

.filter_quick_menu > li:hover:before,
.filter_quick_menu > li.current:before {
    opacity: 1;
}

#filter_table {
    display: none;
}

.tb_complects {
    display: flex;
    flex-direction: column;
    gap: 12px 0;
    margin-top: 30px;
}

.tb_complects > div:first-child {
    display: none;
}

.tb_complects > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px;
    background: linear-gradient(90deg, #1F1F1F 0%, #434343 100%);
    padding: 12px 18px;
}

.compl_image {
    width: 15%;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.compl_name {
    font-size: 24px;
    width: 11%;
}

.compl_techs {
    display: flex;
    justify-content: space-between;
    gap: 0 55px;
}

.compl_techs > div {
    padding-left: 32px;
}

.compl_techs > div.ico1 {
    background: url("../img/compl_ico1.svg") 0 50% no-repeat;
}

.compl_techs > div.ico2 {
    background: url("../img/compl_ico2.svg") 0 50% no-repeat;
}

.compl_techs > div.ico3 {
    background: url("../img/compl_ico3.svg") 0 50% no-repeat;
}

.compl_btns {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 8px 0;
}

.tb_complects_showmore {
    display: block;
    margin-top: 40px;
    font-size: 18px;
    text-decoration: underline;
}


/**********************
        leasing
**********************/

.leasing {
    margin-top: 115px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0 20px;
}

.leasing_wrap {
    width: 49.2%;
    border-radius: 12px;
}

.leasing_title {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 10px;
}
.leasing_advantages {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.leasing_item {
    position: relative;
    flex: 1;
    padding: 11px 9px;
    background: #434343;
    border-radius: 12px;
    font-weight: 300;
    text-align: center;
    flex-direction: column;
    display: flex;
    align-items: center;
}

.leasing_item::before {
    content: '';
    border-radius: 8px;
    width: 24px;
    height: 24px;
    background-image: url(../img/leasing_ico1.svg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    transition: all .4s ease;
}
.leasing_item.ico2::before {
        background-image: url(../img/leasing_ico2.svg);
}
.leasing_item.ico3::before {
        background-image: url(../img/leasing_ico3.svg);
}

#leasing_form {
    margin-top: 20px;
}

.leasing_img {
    width: 49.2%;
    border-radius: 16px;
    overflow: hidden;
}

.leasing_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/**********************
       CREDIT
**********************/

.credit {
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0 20px;
}

.credit_wrap {
    width: 49.2%;
    border-radius: 12px;
}

.credit_title {
    font-size: 44px;
    font-weight: 700;
}

.credit_comment {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 300;
}

#credit_form {
    margin-top: 20px;
}

.credit_img {
    width: 49.2%;
    border-radius: 16px;
    overflow: hidden;
}

.credit_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/**********************
        TRADEIN
**********************/

.tradein {
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0 20px;
}

.tradein_wrap {
    width: 49.2%;
    border-radius: 12px;
}

.tradein_title {
    font-size: 44px;
    font-weight: 700;
}

.tradein_comment {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 300;
}

#tradein_form {
    margin-top: 20px;
}

.tradein_img {
    width: 49.2%;
    border-radius: 16px;
    overflow: hidden;
}

.tradein_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/**********************
      TEST_DRIVE
**********************/

.test_drive {
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0 20px;
}

.test_drive_wrap {
    width: 49.2%;
    border-radius: 12px;
}

.test_drive_title {
    font-size: 44px;
    font-weight: 700;
}

.test_drive_comment {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 300;
}

#test_drive_form {
    margin-top: 20px;
}

.test_drive_img {
    width: 49.2%;
    border-radius: 16px;
    overflow: hidden;
}

.test_drive_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/**********************
        REVIEWS
**********************/

.reviews {
    margin-top: 110px;
    position: relative;
}

.reviews .blocks_title {
    text-align: left;
}

.ya_rate {

}

.RatingBadgeWidget {
    position: absolute;
    top: 15px;
    right: 0;
    display: block;
    width: 150px;
    height: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.reviews_slider_wrap {
    margin-top: 30px;
}

.reviews_slider .review {
    border-radius: 8px;
    background: #434343;
    padding: 24px;
    min-height: 345px;
}

.reviews_slider .review .rev_name {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 5px;
}

.reviews_slider .review .rev_text {
    margin-top: 15px;
    line-height: 130%;
}

.reviews_slider_wrap .swiper-scrollbar {
    display: none;
}

.reviews_slider_wrap .swiper-button-prev,
.reviews_slider_wrap .swiper-button-next {
    top: 60%;
    width: 40px;
    height: 40px;
    left: -60px;
    background: url("../img/rev_arrow.svg") 50% no-repeat;
}

.reviews_slider_wrap .swiper-button-next {
    transform: rotate(180deg);
    left: unset;
    right: -60px;
}

.reviews_slider_wrap .swiper-button-prev:after,
.reviews_slider_wrap .swiper-button-next:after {
    display: none;
}

/**********************
      CONTACTS
**********************/

.contacts {
    margin-top: 80px;
    display: flex;
    flex-flow: wrap;
    gap: 0 20px;
}

.contacts .blocks_title {
    width: 100%;
    text-align: left;
    margin-bottom: 35px;
}

#map1 {
    width: 50%;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    background: url("../img/map.jpg") 50% no-repeat;
}

.contacts_wrap {
    width: 36%;
}

.cont_logo_wrap {
    display: flex;
    align-items: center;
    gap: 0 15px;
}

.cont_logo_text {
    font-size: 26px;
}

.bot_addr {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 300;
    color: #f5f5f5;
}

.bot_phone {
    margin-top: 6px;
    display: block;
    font-size: 18px;
    font-weight: 300;
    color: #f5f5f5;
}

.worktime {
    margin-top: 6px;
    font-size: 18px;
    font-weight: 300;
    color: #f5f5f5;
}

#quest_form {
    margin-top: 70px;
}

#quest_form .form_comment {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 12px;
}

/**********************
        FOOTER
**********************/

footer {
    margin-top: 110px;
    padding: 20px 0;
    background: #434343;
}

.foot_wrap {
    display: flex;
    justify-content: space-between;
}

.yurinfo {
    font-size: 16px;
    color: #ffffff;
}

.foot_dealer {
    font-size: 24px;
    margin-top: 35px;
}

.foot_contacts {
    display: flex;
    flex-direction: column;
    gap: 12px 0;
    font-size: 16px;
    font-weight: 300;
    color: #f5f5f5;
}

.foot_contacts .worktime {
    margin-top: 0;
    font-size: 16px;
}

.foot_links {
    display: flex;
    flex-direction: column;
    gap: 15px 0;
}

.foot_links > a {
    color: #f5f5f5;
    font-size: 16px;
    font-weight: 500;
}

footer .disclamer {
    color: #FFFFFF;
    font-size: 12px;
    text-align: left;
    display: none;
    padding-top: 20px;
}


/*------------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 1600px) {

}

/*IPAD PRO BEGIN*/
@media (min-width: 768px) and (max-width: 1199px) {

    .menu {
        padding: 10px 0;
    }

    .menu a {
        font-size: 16px;
    }

    /*******************************************************************/

    .banner {
        margin-top: 120px;
    }

    .banner picture img {
        height: 520px;
    }

    .title_container {
        top: 10px;
    }

    .title_container .title_wrap {
        min-width: 700px;
        padding: 15px;
    }

    .title_container .title1 {
        font-size: 34px;
    }

    .title_container .title2 {
        font-size: 34px;
    }

    .timer_block {
        padding: 20px;
    }

    /*******************************************************************/

    .cars_menu {
        padding: 10px 100px !important;
    }

    .car_wrap {
        align-items: center;
    }

    .car_name {
        font-size: 50px;
    }

    .car_image_wrap {
        width: 50%;
    }
    .car_leasing {
        top: 0;
        right: 0;
    }

    .car_text {
        width: 30%;
    }

    /*******************************************************************/

    .credit_title {
        font-size: 36px;
    }

    /*******************************************************************/

    .tradein_title {
        font-size: 36px;
    }

    /*******************************************************************/

    .test_drive_title {
        font-size: 36px;
    }

    /*******************************************************************/

    .reviews_slider_wrap {
        padding: 0 50px;
    }

    .reviews_slider_wrap .swiper-button-prev {
        left: 0;
    }

    .reviews_slider_wrap .swiper-button-next {
        right: 0;
    }

    /*******************************************************************/

    .contacts_wrap {
        width: 45%;
    }

}

/*IPAD PRO BEGIN*/

/*IPAD BEGIN*/
@media (min-width: 768px) and (max-width: 991px) {

    header {
        padding: 10px 0;
    }

    header .btn {
        display: none;
    }

    .logo_wrap .dealer_award {
        margin-left: 20px;
    }

    .menu {
        top: 78px;
    }

    .menu.scroll {
        top: 78px;
    }

    /*******************************************************************/

    .banner {
        margin-top: 115px;
    }

    .banner picture img {
        height: 350px;
    }

    .title_container .title_wrap {
        min-width: 600px;
    }

    .title_container .title1 {
        font-size: 26px;
    }

    .title_container .title2 {
        font-size: 26px;
    }

    .title_container .title3 {
        font-size: 24px;
    }

    .timer_block {
        flex-direction: column;
        align-items: center;
        gap: 30px 0;
        margin-top: -30px;
    }

    .timer_title {
        text-align: center;
    }

    #timer_form {
        width: 100%;
    }

    /*******************************************************************/

    .cars_items {
        margin-top: 60px;
    }

    .blocks_title {
        font-size: 44px;
    }

    .cars_menu {
        padding: 10px 0 !important;
    }

    .cars_menu .swiper-slide {
        height: 150px;
    }

    .cars_menu .swiper-slide a {
        padding: 0 10px;
        justify-content: center;
    }

    /*******************************************************************/

    .car_item:before {
        width: 150%;
    }

    .car_wrap {
        flex-direction: column;
        gap: 20px 0;
        padding-top: 80px;
    }

    .car_image_wrap {
        width: 100%;
        text-align: center;
    }

    .car_text {
        width: 100%;
    }

    .car_name {
        position: absolute;
        top: 20px;
        left: 20px;
    }

    .car_props {
        margin-top: 20px;
    }

    .car_gallery.swiper {
        width: 100%;
        margin-top: 0;
        height: auto;
    }

    .car_btns {
        flex-direction: column;
        gap: 10px 0;
    }

    .car_btns .btn {
        width: 100%;
    }

    /*******************************************************************/

    .filter_quick_menu {
        gap: 0 10px;
    }

    .filter_quick_menu > li {
        font-size: 14px;
    }

    .compl_name {
        font-size: 16px;
    }

    .compl_techs {
        gap: 0 10px;
    }

    .compl_techs > div {
        font-size: 14px;
    }

    /*******************************************************************/

    .leasing {
        flex-direction: column;
        gap: 20px 0;
    }

    .leasing_img {
        width: 100%;
    }

    .leasing_wrap {
        width: 100%;
    }

    /*******************************************************************/

    .tradein {
        flex-direction: column;
        gap: 20px 0;
    }

    .tradein_img {
        width: 100%;
    }

    .tradein_wrap {
        width: 100%;
    }

    /*******************************************************************/

    .credit {
        flex-direction: column-reverse;
        gap: 20px 0;
    }

    .credit_img {
        width: 100%;
    }

    .credit_wrap {
        width: 100%;
    }

    /*******************************************************************/

    .test_drive {
        flex-direction: column-reverse;
        gap: 20px 0;
    }

    .test_drive_img {
        width: 100%;
    }

    .test_drive_wrap {
        width: 100%;
    }

    /*******************************************************************/

    .reviews_slider_wrap {
        padding: 0;
    }

    .reviews_slider .review {
        min-height: 300px;
    }

    .reviews_slider .review .rev_text {
        font-size: 14px;
    }

    .reviews_slider_wrap .swiper-button-prev,
    .reviews_slider_wrap .swiper-button-next {
        display: none;
    }

    .reviews_slider_wrap .swiper-scrollbar {
        display: block;
        bottom: -20px !important;
    }

    .reviews_slider_wrap .swiper-scrollbar-drag {
        background: #FF7F24;
    }

    /*******************************************************************/

    .contacts {
        flex-direction: column;
        gap: 20px 0;
    }

    .contacts .blocks_title {
        order: 1;
        margin-bottom: 15px;
    }

    .contacts_wrap {
        width: 100%;
        order: 2;
    }

    #quest_form {
        margin-top: 40px;
    }

    #map1 {
        order: 3;
        width: 100%;
        height: 400px;
        background-size: cover;
        margin-top: 20px;
    }

    .foot_contacts > div,
    .foot_contacts > a {
        font-size: 12px;
    }

    .foot_dealer {
        font-size: 18px;
        margin-top: 30px;
    }

    .yurinfo {
        font-size: 12px;
    }

}

/*IPAD END*/

/*MOBILE BEGIN*/
@media (max-width: 767px) {

    .fancybox-type-image {
        width: 100% !important;
        margin: 0px !important;
        left: 0px !important;
    }

    .fancybox-close {
        right: 9px !important;
        top: 9px !important;
    }

    .fancybox-inner {
        width: 100% !important;
        margin: 0px !important;
        padding: 0px !important;
    }

    .fancybox-wrap {
        margin: 0px !important;
        width: 100% !important;
        left: 0px !important;
        top: 20px !important;
    }

    .fancybox-type-image .fancybox-close {
        top: -8px !important;
    }

    .popup_container {
        width: 100%;
    }

    /*******************************************************************/

    header .m_btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: absolute;
        width: 30px;
        height: 21px;
        z-index: 1;
        top: 9px;
        right: 15px;
    }

    header .m_btn span {
        position: relative;
        display: block;
        width: 30px;
        height: 3px;
        background: #DE5D00;
        transition: all .3s linear;
    }

    header .m_btn span:nth-child(2) {
        opacity: 1;
    }

    header .m_btn.active span:nth-child(1) {
        transform-origin: top right;
        transform: rotate(-45deg);
        top: -1px;
    }

    header .m_btn.active span:nth-child(2) {
        opacity: 0;
    }

    header .m_btn.active span:nth-child(3) {
        transform-origin: bottom right;
        transform: rotate(45deg);
        bottom: -1px;
    }

    .menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 107px;
        /*background: white;*/
        width: 100%;
        height: auto;
        right: -100%;
        left: unset;
        transition: all .3s linear;
        z-index: 2;
        padding: 10px 0;
        row-gap: 10px;
    }

    .menu.active {
        right: 0;
    }

    .menu > div {
        flex-direction: column;
        align-items: center;
        row-gap: 10px;
    }

    .menu a {
        padding: 0;
    }

    .menu a:before {
        display: none;
    }

    /*******************************************************************/

    header {
        padding: 10px 0;
    }

    header .container {
        flex-flow: wrap;
    }

    .logo_wrap {
        width: 85%;
        gap: 0 10px;
    }

    .logo_wrap .logo1 {
        width: 10%;
    }

    .logo_wrap .logo2 {
        width: 60%;
    }

    .top_addr {
        display: none;
    }

    .head_contacts {
        margin-top: 5px;
        width: 100%;
        align-items: center;
    }

    header .btn {
        display: none;
    }

    /*******************************************************************/

    .banner {
        margin-top: 85px;
    }

    .banner picture img {
        height: auto;
        width: 100%;    
    }

    .title_container {
        top: 60px;
        text-align: center;
        left: 0;
        padding: 0 15px;
        width: 100%;
    }

    .title_container .title_wrap {
        min-width: 100%;
        padding: 15px;
    }

    .title_container .title1 {
        font-size: 6.5vw;
    }

    .title_container .title1 br {
        display: none;
    }

    .title_container .title2 {
        font-size: 7vw;
        margin-top: 10px;
        padding: 5px 10px;
    }

    .title_container .title3 {
        font-size: 6vw;
        margin-top: 15px;
    }

    .timer_block {
        flex-direction: column;
        align-items: center;
        gap: 30px 0;
        margin-top: 0;
        padding: 15px;
    }

    .timer_title {
        text-align: center;
        font-size: 5vw;
    }

    .timer {
        display: flex;
        align-items: center;
        height: 60px;
    }

    div[id^=timer] {
        transform: scale(0.55) !important;
    }

    #timer_form {
        width: 100%;
    }

    /*******************************************************************/

    .cars_items {
        margin-top: 60px;
    }

    .blocks_title {
        text-align: center;
        font-size: 8vw;
    }

    .cars_menu {
        padding: 0 0 20px 0 !important;
    }

    .cars_menu .swiper-slide {
        height: 130px;
        padding: 0 15px;
    }

    .cars_menu .swiper-slide a span {
        font-size: 4vw;
    }

    .cars_menu .swiper-scrollbar {
        bottom: 0!important;
    }

    .cars_menu .swiper-scrollbar-drag {
        background: #FF7F24;
    }

    /*******************************************************************/

    .cars_list {
        margin-top: 80px;
    }

    .car_profit {
        font-size: 5vw;
    }

    .car_item {
        padding: 10px 0;
    }

    .car_item:before {
        top: 0;
    }

    .car_wrap {
        flex-direction: column;
        align-items: normal;
        gap: 20px 0;
        padding-top: 150px;
    }

    .car_image_wrap {
        width: 100%;
        text-align: start;
        flex-direction: column;
        align-items: normal;
    }

    .car_leasing { 
        position: relative;
        top: 0;
        right: 0;
    }

    .car_image {
        margin: 0 auto;
    }

    .car_colors {
        flex-direction: row;
        gap: 0 5px;
    }

    .car_text {
        width: 100%;
    }

    .car_name {
        position: absolute;
        top: 30px;
        left: 0;
        width: 100%;
        font-size: 15vw;
        text-align: center;
    }

    .car_props {

    }

    .car_props > a {
        font-size: 4vw;
    }

    .car_props > a b {
        font-size: 5vw;
    }

    .car_gallery.swiper {
        width: 100%;
        margin-top: 0;
        height: auto;
        padding-bottom: 20px !important;
    }

    .car_gallery .swiper-scrollbar-drag {
        background: #FF7F24;
    }

    .car_btns {
        flex-direction: column;
        gap: 10px 0;
        margin-top: 20px;
    }

    .car_btns .btn {
        width: 100%;
    }

    /*******************************************************************/

    #instock {
        margin-top: 60px;
    }

    .filter_quick_menu {
        gap: 10px 0;
        flex-flow: wrap;
    }

    .filter_quick_menu > li {
        font-size: 14px;
        width: 49%;
        box-sizing: border-box;
    }

    .tb_complects > div {
        flex-flow: wrap;
        gap: 20px 0;
    }

    .compl_image {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px 0;
        width: 100%;
        margin-top: 10px;
        padding: 0 15px;
    }

    .compl_image img {
        width: 100%;
    }

    .compl_name {
        width: 100%;
        left: 0;
        position: relative;
        margin-top: -20px;
    }

    .compl_name b {
        display: inline-block;
    }

    .compl_wrap {
        width: 100%;
        flex-direction: column;
        gap: 15px 0;
        padding: 15px;
    }

    .compl_techs {
        width: 100%;
        gap: 0 10px;
    }

    .compl_btns {
        width: 100%;
    }


    /*******************************************************************/

    .leasing {
        flex-direction: column;
        gap: 20px 0;
        margin-top: 60px;
    }

    .leasing_img {
        width: 100%;
    }

    .leasing_wrap {
        width: 100%;
    }

    .leasing_title {
        text-align: center;
        font-size: 6vw;
    }

    .leasing_comment {
        text-align: center;
        font-size: 4vw;
    }

    .leasing_comment br {
        display: none;
    }


    /*******************************************************************/

    .tradein {
        flex-direction: column;
        gap: 20px 0;
        margin-top: 60px;
    }

    .tradein_img {
        width: 100%;
    }

    .tradein_wrap {
        width: 100%;
    }

    .tradein_title {
        text-align: center;
        font-size: 6vw;
    }

    .tradein_comment {
        text-align: center;
        font-size: 4vw;
    }

    .tradein_comment br {
        display: none;
    }

    /*******************************************************************/

    .credit {
        flex-direction: column-reverse;
        gap: 20px 0;
        margin-top: 60px;
    }

    .credit_img {
        width: 100%;
    }

    .credit_wrap {
        width: 100%;
    }

    .credit_title {
        text-align: center;
        font-size: 6vw;
    }

    .credit_comment {
        text-align: center;
        font-size: 4vw;
    }

    .credit_comment br {
        display: none;
    }

    .credit_props > div {
        font-size: 4vw;
    }

    /*******************************************************************/

    .test_drive {
        flex-direction: column-reverse;
        gap: 20px 0;
        margin-top: 60px;
    }

    .test_drive_img {
        width: 100%;
    }

    .test_drive_wrap {
        width: 100%;
    }

    .test_drive_title {
        text-align: center;
        font-size: 6vw;
    }

    .test_drive_comment {
        text-align: center;
        font-size: 4vw;
    }

    .test_drive_comment br {
        display: none;
    }

    .test_drive_props > div {
        font-size: 4vw;
    }

    /*******************************************************************/

    .reviews {
        margin-top: 60px;
    }

    .ya_rate {
        position: relative;
        width: 100%;
        text-align: center;
        margin-top: 0;
    }

    .reviews .blocks_title {
        text-align: center;
    }

    .reviews_slider_wrap {
        padding: 0;
    }

    .reviews_slider .review {
        min-height: 300px;
    }

    .reviews_slider .review .rev_text {
        font-size: 14px;
    }

    .reviews_slider_wrap .swiper-button-prev,
    .reviews_slider_wrap .swiper-button-next {
        display: none;
    }

    .reviews_slider_wrap .swiper-scrollbar {
        display: block;
        bottom: -20px !important;
    }

    .reviews_slider_wrap .swiper-scrollbar-drag {
        background: #DE5D00;
    }

    /*******************************************************************/

    .contacts {
        flex-direction: column;
        gap: 20px 0;
    }

    .contacts .blocks_title {
        margin-bottom: 10px;
        order: 1;
    }

    .contacts_wrap {
        width: 100%;
        padding: 0;
        order: 2;
    }

    .cont_logo_text {
        font-size: 5vw;
    }

    .cont_dealer br {
        display: none;
    }

    .contacts_wrap > div,
    .contacts_wrap > a {
        font-size: 4vw;
    }

    #quest_form {
        margin-top: 20px;
    }

    #quest_form .form_comment {
        font-size: 5vw;
        margin-bottom: 15px;
    }

    #map1 {
        width: 100%;
        height: 350px;
        background-size: cover;
        order: 3;
    }

    /*******************************************************************/

    footer {
        margin-top: 50px;
    }

    .foot_wrap {
        flex-direction: column;
        gap: 20px 0;
    }

    .foot_links {
        align-items: center;
    }

    .foot_dealer {
        margin-top: 10px;
        font-size: 5vw;
    }

    .foot_contacts > div,
    .foot_contacts > a {
        font-size: 4vw;
    }

}

/*MOBILE END*/

/* Portrait phones and smaller */
@media (max-width: 520px) {
    .title_container {
        top: 12px;
    }
    .banner_props {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 68vw;
    }
    .banner_props > a {
        padding: 38px 16px 10px;
        font-size: 16px;
        flex: 1; 
    }
    .banner_props > a.ico1 {
        background: url(../img/leasing_ico1.svg) 50% 18% no-repeat;
    }
    .banner_props > a.ico2 {
        order: 3;
        background: url(../img/leasing_ico2.svg) 50% 33% no-repeat;
        padding: 50px 16px 20px;
    }
    .banner_props > a.ico3 {
        background: url(../img/leasing_ico3.svg) 50% 18% no-repeat;
    }
    .timer_block { 
        margin-top: 60vw;
    }

}
@media (max-width: 390px) {
    .car_wrap {
        padding-top: 100px;  
    }
    .banner_props {
        margin-top: 60vw;
    }
}

@media (max-width: 360px) {
    div[id^=timer] {
        transform: scale(0.45) !important;
    }
}

@media (max-width: 320px) {

}