@font-face {
    font-family: "Montserrat";
    src: url(../css/fonts/Montserrat.woff) format("truetype");
    font-style: normal;
    font-display: swap;
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: #000000;
    position: relative;
    font-weight: 700;
    margin: 0 auto;
    padding: 0;
    overflow-x: hidden;
    max-width: 1920px;
    background: #e4e4e4;
}

.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;
}

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, 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: white;
}

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

.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: inline-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: 52px;
    width: 100%;
    color: #000000;
    font-size: 16px;
    box-sizing: border-box;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    padding: 0px 20px;
    outline: none;
    background: transparent;
    border-radius: 4px;
    border: 1px solid #0b0d0c;
}

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: "Montserrat", sans-serif;
    outline: none;
}

form .form-group button {
    width: 100%;
    cursor: pointer;
    font-family: "Montserrat", 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: 4px;
    background: #a22c2f;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: 52px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    outline: none;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.btn:hover {
    background: #c40b10;
}

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

.btn.glass:hover {
    background: #a22c2f;
    color: #ffffff;
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 15;
    background: #e4e4e4;
    padding: 14px 0;
    transition: all 0.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;
}

.logo_wrap .logo2 {
    padding-left: 10px;
    margin-left: 10px;
    border-left: 1px solid #bebebe;
}

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

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

header .m_btn {
    display: none;
}

header .btn {
    width: 220px;
}

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

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

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

.menu a {
    font-size: 20px;
    color: #676767;
    transition: all 0.4s ease;
}

.menu a:hover {
    color: #323232;
    font-weight: 700;
}

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

.banner {
    margin-top: 144px;
    position: relative;
}

.banner .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.title_container {
    position: absolute;
    z-index: 1;
    top: 20px;
    width: fit-content;
    color: #ffffff;
}

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

.title_container .title2 {
    width: fit-content;
    display: inline-block;
    margin-top: 16px;
    padding: 0 36px;
    border-radius: 4px;
    background: #8f1a1d;
    font-weight: 700;
    font-size: 52px;
}

.title_container .title3 {
    margin-top: 20px;
    font-weight: 600;
    font-size: 25px;
}

.title_container .br_mob {
    display: none;
}

.banner__labels {
    position: absolute;
    bottom: 43px;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 70px;
}

.banner__label {
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 4px;
    background-color: #fff;
    padding-right: 21px;
    gap: 24px;
}

.banner__label::before {
    content: "";
    width: 60px;
    height: 60px;
    margin: -4px;
    position: relative;
    border-radius: 4px;
    background-color: #a22c2f;
    background-repeat: no-repeat;
    background-position: center;
}

.banner__label.ico1::before {
    background-image: url('../img/banner_ico2.svg');
}

.banner__label.ico2::before {
    background-image: url('../img/banner_ico1.svg');
}

.banner__label.ico3::before {
    background-image: url('../img/banner_ico3.svg');
}

.title_container .btn {
}

.timer_block {
    margin-top: 20px;
    border-radius: 12px;
    background: #f3f3f3;
    padding: 30px 95px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.timer_title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

#timer_form {
    width: 375px;
}

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

.blocks_title {
    font-size: 52px;
    font-weight: 700;
}

.cars_items {
    margin-top: 105px;
}

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

.cars_menu .swiper-slide {
    border-radius: 8px;
    background: #fff;
    height: 157px;
    transition: all 0.4s ease;
}

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

.cars_menu .swiper-slide a span {
    display: block;
    min-width: 172px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
    padding-top: 5px;
    text-transform: uppercase;
    border-top: 1px solid #bebebe;
}

.cars_menu .swiper-slide:hover {
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.16);
}

.cars_list {
    margin-top: 115px;
    display: flex;
    flex-direction: column;
    gap: 50px 0;
}

.car_item {
    position: relative;
    border-radius: 8px;
    background: #fff;
    padding: 20px;
}

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

.car_image_wrap {
    width: 49.3%;
}

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

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

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

.car_text {
    width: 36.2%;
}

.car_profit {
    position: absolute;
    right: 0;
    top: -22px;
    border-radius: 4px;
    background: url("../img/ico_profit.svg") 10px 50% no-repeat #171717;
    color: #ffffff;
    font-weight: 700;
    padding: 10px 10px 10px 44px;
}

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

.car_props > a {
    display: flex;
    border-radius: 4px;
    background: #f3f3f3;
    align-items: center;
    padding: 0 12px;
    transition: all 0.4s ease;
}

.car_props > a:hover {
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.16);
}

.car_props > a span {
    display: block;
    padding: 8px 0 8px 32px;
}

.car_props > a b {
    font-size: 18px;
    color: #ac0017;
    font-weight: 600;
}

.car_props > a.ico1 span {
    background: url("../img/prop_ico1.svg") 0 50% no-repeat;
}

.car_props > a.ico2 span {
    background: url("../img/prop_ico2.svg") 0 50% no-repeat;
}

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

.car_props > a.ico4 span {
    background: url("../img/prop_ico4.svg") 0 50% no-repeat;
}

.car_props > a.ico5 span {
    background: url("../img/prop_ico5.svg") 0 50% no-repeat;
}

.car_gallery.swiper {
    margin: 30px 0 0;
    width: 100px;
    height: 340px;
}

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

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

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

.car_btns {
    margin-top: 30px;
    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: 4px;
    background: #f3f3f3;
    transition: all 0.4s ease;
    font-weight: 600;
    cursor: pointer;
}

.filter_quick_menu > li span {
    padding: 16px 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter_quick_menu > li:hover {
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.16);
}

.filter_quick_menu > li.current {
    border: 1px solid #000000;
}

#filter_table {
    display: none;
}

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

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

.tb_complects > div {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(235, 235, 235, 0) 0%, #fff 100%);
}

.compl_image {
    width: 28%;
    position: relative;
    min-height: 130px;
    display: flex;
    align-items: flex-end;
}

.compl_wrap {
    width: 62%;
    padding: 20px 20px 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.compl_name {
    position: absolute;
    white-space: nowrap;
    top: 0;
    left: 90%;
}

.compl_name b {
    display: block;
}

.compl_techs {
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
    width: 42%;
    gap: 12px 0;
    font-weight: 700;
}

.compl_techs > div {
    width: 41%;
    padding: 3px 0;
}

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

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

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

.compl_techs > div.ico4 {
    background: url("../img/compl_ico4.svg") 100% 50% no-repeat;
}

.compl_techs > div.ico5 {
    background: url("../img/compl_ico5.svg") 100% 50% no-repeat;
}

.compl_techs > div.ico6 {
    background: url("../img/compl_ico6.svg") 100% 50% no-repeat;
}

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

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

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

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

.tradein_wrap {
    width: 49.2%;
    border-radius: 12px;
    background: #f3f3f3;
    padding: 20px;
}

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

#tradein_form {
    margin-top: 20px;
}

#tradein_form .btn {
    margin-top: 20px;
}

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

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

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

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

.credit_wrap {
    width: 49.2%;
    border-radius: 12px;
    background: #f3f3f3;
    padding: 20px;
}

.credit_comment {
    margin-top: 12px;
    font-size: 20px;
}

.credit_props {
    margin-top: 30px;
}

.credit_props > div {
    font-size: 18px;
    font-weight: 600;
    background: url("../img/ico_arrow.svg") 100% 50% no-repeat;
    padding: 3px 0;
}

.credit_props > div:not(:first-child) {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #d9d9d9;
}

.credit_wrap .btn {
    margin-top: 30px;
}

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

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

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

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

.ya_rate {
    position: absolute;
    top: 0;
    right: 0;
}

.reviews_slider_wrap {
    margin-top: 30px;
    padding: 0 60px;
}

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

.reviews_slider .review .rev_name {
    font-size: 26px;
    font-weight: 700;
    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: 0;
    background: url("../img/rev_arrow.svg") 50% no-repeat;
}

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

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

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

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

.contacts_wrap {
    border-radius: 12px;
    background: #f3f3f3;
    padding: 16px 20px;
    width: 39%;
}

.cont_dealer {
    margin-top: 30px;
    font-size: 26px;
    font-weight: 700;
}

.bot_phone {
    margin-top: 25px;
    display: block;
    padding-left: 30px;
    background: url("../img/ico_phone.svg") 0 50% no-repeat;
}

.bot_addr {
    margin-top: 12px;
    display: block;
    padding-left: 30px;
    background: url("../img/ico_loc.svg") 0 50% no-repeat;
}

.worktime {
    margin-top: 12px;
    display: block;
    padding-left: 30px;
    background: url("../img/ico_time.svg") 0 50% no-repeat;
}

#quest_form {
    margin-top: 30px;
}

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

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

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

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

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

.yurinfo {
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
}

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

.foot_links > a {
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
}

footer .disclamer {
    color: #ffffff;
    font-size: 14px;
    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: 500px;
    }

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

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

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

    .timer_block {
        padding: 20px;
    }

    /*******************************************************************/
    .car_wrap {
        align-items: center;
    }

    /*******************************************************************/
    .compl_name {
        left: 80%;
    }

    /*******************************************************************/
    .cont_dealer {
        font-size: 22px;
    }
}

/*IPAD PRO BEGIN*/

/*IPAD BEGIN*/
@media (min-width: 768px) and (max-width: 991px) {
    header .btn {
        display: none;
    }

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

    .menu {
        top: 74px;
    }

    .menu.scroll {
        top: 66px;
    }

    /*******************************************************************/
    .banner {
        margin-top: 115px;
    }

    .banner .title_container {
        text-align: center;
    }

    .banner picture img {
        height: 380px;
    }

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

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

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

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

    .timer_title {
        text-align: center;
    }

    #timer_form {
        width: 100%;
    }

    /*******************************************************************/
    .cars_menu .swiper-slide {
        height: 120px;
    }

    .cars_menu .swiper-slide a span {
        min-width: 100%;
        font-size: 14px;
    }

    /*******************************************************************/
    .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;
    }

    .tb_complects > div {
        flex-flow: wrap;
    }

    .compl_image {
        width: 45%;
        margin: 10px auto 0;
    }

    .compl_wrap {
        width: 100%;
        padding-top: 10px;
    }

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

    .tradein_img {
        width: 100%;
    }

    .tradein_wrap {
        width: 100%;
    }

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

    .credit_img {
        width: 100%;
    }

    .credit_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: #a22c2f;
    }

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

    .contacts_wrap {
        width: 100%;
    }

    #map1 {
        width: 100%;
        height: 400px;
        background-size: cover;
    }
}

/*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: 1px;
        right: 15px;
    }

    header .m_btn span {
        position: relative;
        display: block;
        width: 30px;
        height: 3px;
        background: #8f1a1d;
        transition: all 0.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 0.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%;
    }

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

    .top_addr {
        display: none;
    }

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

    header .btn {
        display: none;
    }

    /*******************************************************************/
    .banner {
        margin-top: 75px;
        padding-bottom: 180px;
    }

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

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

    .title_container .br_mob {
        display: block;
    }

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

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

    .title_container .title3 {
        font-size: 4.6vw;
        margin-top: 4px;
    }

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

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

    .banner__labels {
        bottom: 0;
        width: 100%;
        gap: 12px;
    }

    .banner__label {
        width: 90%;
        font-size: 3.2vw;
    }

    .banner__label::before {
        width: 50px;
        height: 50px;
        margin: -2px;
    }

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

    div[id^="timer"] {
        transform: scale(0.55) !important;
        white-space: nowrap;
    }

    #timer_form {
        width: 100%;
    }

    /*******************************************************************/
    .cars_items {
        margin-top: 60px;
    }

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

    .cars_menu {
        padding-bottom: 20px !important;
    }

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

    .cars_menu .swiper-slide a span {
        min-width: 100%;
        font-size: 4vw;
    }

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

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

    /*******************************************************************/
    .cars_list {
        margin-top: 80px;
    }

    .car_profit {
        font-size: 3.5vw;
    }

    .car_item {
        padding: 20px 15px;
    }

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

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

    .car_text {
        width: 100%;
    }

    .car_name {
        position: absolute;
        top: 30px;
        left: 15px;
    }

    .car_props {
        margin-top: 0;
    }

    .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: #a22c2f;
    }

    .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;
    }

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

    .compl_name {
        width: 100%;
        left: 0;
        position: relative;
    }

    .compl_name b {
        display: inline-block;
    }

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

    .compl_techs {
        width: 100%;
    }

    .compl_btns {
        width: 100%;
    }

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

    .tradein_img {
        width: 100%;
    }

    .tradein_wrap {
        width: 100%;
        padding: 15px;
    }

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

    .tradein_comment br {
        display: none;
    }

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

    .credit_img {
        width: 100%;
    }

    .credit_wrap {
        width: 100%;
        padding: 15px;
    }

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

    .credit_comment br {
        display: none;
    }

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

    /*******************************************************************/
    .reviews {
        margin-top: 60px;
    }

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

    .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: #a22c2f;
    }

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

    .contacts_wrap {
        width: 100%;
        padding: 15px;
    }

    .cont_dealer {
        margin-top: 15px;
        text-align: center;
        font-size: 5vw;
    }

    .cont_dealer br {
        display: none;
    }

    #quest_form {
        margin-top: 20px;
    }

    #quest_form .form_comment {
        font-size: 6vw;
        text-align: center;
        margin-bottom: 15px;
    }

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

    /*******************************************************************/
    footer {
        margin-top: 50px;
    }

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

    .foot_links {
        align-items: center;
    }
}

/*MOBILE END*/

/* Portrait phones and smaller */
@media (max-width: 390px) {
}

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

@media (max-width: 320px) {
}
