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

html {
    overflow-x: hidden;
}

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

.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: 1300px) {
    .container {
        width: 1430px;
        max-width: 100%;
    }
}

.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: 420px;
    max-width: 100%;
    padding: 5px 29px;
    overflow: hidden;
    position: relative;
    box-sizing: border-box; /* border: 2px solid black; */
    background: white;
    text-align: center;
    padding-bottom: 30px;
}

.popup_container .agree_field {
    color: black;
    font-size: 12px;
}

.popup_container .agree_field a {
    color: black;
}


.popup_container h2 {
    font-size: 20px;
    font-weight: 700;
    /* text-transform: uppercase; */
    padding: 0px;
    margin: 0px;
    padding-bottom: 29px;
    text-align: center;
    padding-top: 25px;
    color: black;
}

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

.popup_container .form-group {
    margin-bottom: 19px;
}

.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 select {
    height: 56px;
    width: 100%;
    color: #000000;
    font-size: 16px;
    box-sizing: border-box;
    font-weight: 400;
    font-family: 'Mulish', sans-serif;
    padding: 0px 20px;
    outline: none;
    background: transparent;
    border-radius: 38px;
    border: 1px solid #000;
}

form .form-group select {
    appearance: none;
    -moz-appearance: none; /* Firefox */
    -webkit-appearance: none; /* Safari and Chrome */
    background: url(../img/ico_select.png) 95% 50% no-repeat transparent;
    font-family: 'Mulish', sans-serif;
    outline: none;
}

form .form-group button {
    width: 100%;
    cursor: pointer;
    font-family: 'Mulish', 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: 32px;
    background: linear-gradient(90deg, #1B365D 0%, #418FDE 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: 56px;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    outline: none;
    border: none;
    transition: all .4s ease-out;
    text-align: center;
    position: relative;
}

.btn.grey {
    background: linear-gradient(90deg, #585E6B 10.91%, #A9AEB9 100%);
}

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

.btn:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1B365D;
    opacity: 0;
    transition: all .4s ease-out;
    border-radius: 32px;
}

.btn:hover:before {
    opacity: 1;
}

.btn span {
    position: relative;
}

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

.blocks_title {
    font-size: 64px;
    font-weight: 500;
    text-transform: uppercase;
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0px 0px 20px 20px;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(5px);
    z-index: 15;
    max-width: 1920px;
    margin: 0 auto;
}

.head_wrap {
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.head_wrap .logo_wrap {
    display: flex;
    align-items: center;
}

.head_wrap .logo_wrap .logo2 {
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid #979A9C;
}

.top_phone {
    font-size: 20px;
    font-weight: 700;
}

.head_wrap .btn {
    width: 218px;
}

header .m_btn {
    display: none;
}

.menu {
    border-top: 1px solid rgba(0, 0, 0, 0.30);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu a {
    display: block;
    padding: 12px 0;
    position: relative;
    text-transform: uppercase;
}

.menu a:before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #1B365D;
    transition: all .4s ease-out;
}

.menu a:hover:before {
    width: 100%;
}

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

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

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

.title_container .br_mob {
    display: none;
}

.title_container .title_wrap {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(7px);
    padding: 15px 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bg_wrap {
    margin-top: -20px;
    border-radius: 20px 20px 0 0;
    background: #F5F4F3;
    padding-top: 40px;
}

.title_wrap .title_date {
    padding: 2px 0 2px 44px;
    background: url("../img/ico_date.svg") 0 50% no-repeat;
    font-size: 22px;
}

.title_wrap .title1 {
    font-size: 32px;
    text-align: center;
    font-weight: 400;
    margin-top: 10px;
}

.title_wrap .title2 {
    color: #fff;
    background: linear-gradient(90deg, #1B365D 0%, #418FDE 100%), url(../img/ico__banner1.svg) 18px 50%no-repeat;
    font-size: 16px;
    text-align: center;
    font-weight: 300;
    margin-top: 10px;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
    padding: 7px 13px 10px 56px;
    position: relative;
}

.title_wrap .title2:before {
    content: "";
    display: block;
    width: 29px;
    height: 29px;
    position: absolute;
    top: 4px;
    left: 18px;
    background: url(../img/ico__banner1.svg) 50% no-repeat;
}

.timer_block {
    position: relative;
    background: #F5F4F3;
}

.timer_wrap {
    border-radius: 16px;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
}

#timer_form {
    width: 706px;
    max-width: 100%;
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
}

#timer_form .form_comment {
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

#timer_form .form-group {
    width: 49%;
}

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

.cars_items {
    margin-top: 120px;
}

.cars_menu {
    margin-top: 30px;
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    height: 189px;
    gap: 10px;
}

.cars_menu a {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #FFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 24%;
    height: 150px;
    transition: all .4s ease-out;
}

.cars_menu a span {
    font-size: 26px;
    font-weight: 600;
    color: #ffffff;
    position: relative;
    padding-top: 15px;
    width: 88%;
    text-align: center;
    transition: all .4s ease-out;
}

.cars_menu a span:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 67px;
    width: 100%;
    border-radius: 0 0 145px 145px;
    background: linear-gradient(90deg, #1B365D 0%, #418FDE 100%);
}

.cars_menu a span:after {
    content: '';
    display: block;
    position: absolute;
    top: -200%;
    left: 0;
    transition: all .4s ease-out;
    height: 91px;
    width: 100%;
    border-radius: 0 0 185px 185px;
    background: #1B365D;
}

.cars_menu a span i {
    position: relative;
    font-style: normal;
    z-index: 1;
}

.cars_menu a img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    position: relative;
    transition: all .4s ease-out;
}

.cars_menu a:hover {
    width: 24.6%;
    height: 189px;
}

.cars_menu a:hover span {
    padding-top: 20px;
}

.cars_menu a:hover span:after {
    top: 0;
}

.cars_menu a:hover img {
    height: 126px;
}

.car_item {
    display: flex;
    justify-content: space-between;
    gap: 0 20px;
    position: relative;
    margin-top: 50px;
}

.car_image_wrap {
    width: 49.3%;
    border-radius: 16px;
    background: #FFF;
    position: relative;
}

.car_slider {
    border-radius: 16px 16px 0 0;
}

.car_slider .swiper-slide {
    text-align: center;
}

.car_slider .swiper-slide:first-child {
    padding-top: 10px;
}

.car_slider .swiper-pagination {
    top: 25px !important;
    right: 22px !important;
    bottom: unset !important;
    left: unset !important;
    width: 11px !important;
    display: flex;
    flex-direction: column;
    gap: 3px 0;
}

.car_slider .swiper-pagination-bullet {
    width: 12px;
    height: 33px;
    background: url("../img/bullet.svg") 50% 0 no-repeat;
    opacity: 1;
    transition: all .4s ease-out;
}

.car_slider .swiper-pagination-bullet:last-child {
    height: 11px;
}

.car_slider .swiper-pagination-bullet-active {
    background: url("../img/bullet_active.svg") 50% 0 no-repeat;
}

.car_title {
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #1B365D 0%, #418FDE 100%);
    border-radius: 16px 0 16px 16px;
    padding: 15px 25px 25px;
    z-index: 1;
    width: 100%;
    cursor: pointer;
}

.car_title:before {
    content: "";
    display: block;
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 101px;
    background: url("../img/car_pl.png") 100% 0 no-repeat;
}

.car_name {
    min-width: 213px;
    display: inline-block;
    position: relative;
    color: #ffffff;
    font-size: 30px;
    font-weight: 500;
    text-transform: uppercase;
    padding-bottom: 8px;
    border-bottom: 1px solid #A9AEB9;
}

.car_comment {
    position: relative;
    margin-top: 10px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.5;
    display: none;
}

.car_text {
    width: 49.3%;
    border-radius: 16px;
    background: url("../img/car_bg.jpg") 50% no-repeat #FFF;
    padding: 25px;
    position: unset;
    background-size: cover;
}

.car_date {
    position: absolute;
    top: -27px;
    /* right: 25px; */
    border-radius: 6px;
    background: url("../img/ico_profit.svg") 16px 50% no-repeat #1B365D;
    display: flex;
    align-items: center;
    min-height: 60px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 15px 0 65px;
}

.car_date.soon {
    background: url("../img/ico_soon.svg") 16px 50% no-repeat #1B365D;
}

.car_props {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    gap: 16px 0;
    padding: 45px 0;
}

.car_props > a {
    display: flex;
    align-items: center;
    min-height: 32px;
    padding-left: 44px;
    font-size: 24px;
    font-weight: 500;
    position: relative;
}

.car_props > a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, #1B365D 0%, #418FDE 100%) !important;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2px;
    padding-left: 2px;
}

.car_props > a.ico1:before {
    content: url("../img/car_ico1.svg");
}

.car_props > a.ico2:before {
    content: url("../img/car_ico2.svg");
}

.car_props > a.ico3:before {
    content: url("../img/car_ico3.svg");
}

.car_props > a.ico4:before {
    content: url("../img/car_ico4.svg");
}

.car_props > a.ico5:before {
    content: url("../img/car_ico5.svg");
}

.car_props > a b {
    font-size: 30px;
    color: #1B365D;
}

.car_props > a sup {
    top: -1px;
    font-size: 60%;
}

.car_techs {
    display: flex;
    flex-direction: column;
    gap: 16px 0;
    margin-bottom: 40px;
    width: 72%;
}

.car_techs > div {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-left: 20px;
    font-size: 20px;
}

.car_techs > div:before {
    content: '';
    display: block;
    position: absolute;
    top: calc(50% - 4px);
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(90deg, #1B365D 0%, #418FDE 100%);
}

.car_techs > div span {
    display: block;
    width: 60%;
    color: #a9aeb9;
}

.car_techs > div b {
    font-weight: 400;
    width: 39%;
}

.car_btns {
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
    gap: 10px 0;
}

.car_btns .btn {
    width: 49%;
}

.car_btns .btn:last-child {
    width: 100%;
}

.car_content_row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.car_props {
    flex: 1;
}

.car_gallery_slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

.car-vertical-swiper-wrapper {
    width: 100%;
    height: 300px;
    overflow: visible;
}

.car-vertical-swiper {
    width: 100%;
    height: 300px;
    overflow: visible;
}

.car-vertical-swiper .swiper-slide {
    border-radius: 10px;
    overflow: hidden;
    opacity: 0.5;
    transform: scale(0.82);
    transition: opacity 0.3s, transform 0.3s;
}

.car-vertical-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.car-vertical-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-swiper-btn-prev,
.car-swiper-btn-next {
    cursor: pointer;
    font-size: 18px;
    color: #999;
    line-height: 1;
    user-select: none;
    font-weight: 300;
    transition: color 0.2s;
}

.car-swiper-btn-prev:hover,
.car-swiper-btn-next:hover {
    color: #333;
}

.car-vertical-swiper .swiper-slide {
    border-radius: 10px;
    overflow: hidden;
    transition: opacity 0.3s, transform 0.3s;
}

.car-vertical-swiper .swiper-slide.swiper-slide-prev,
.car-vertical-swiper .swiper-slide.swiper-slide-next {
    opacity: 0.5;
    transform: scale(0.9);
}

.car-vertical-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.car-swiper-btn-prev-krx,
.car-swiper-btn-next-krx,
.car-swiper-btn-prev-hc,
.car-swiper-btn-next-hc {
    cursor: pointer;
}

.fullscreen-gallery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fullscreen-gallery.active {
    opacity: 1;
    visibility: visible;
}

.fullscreen-gallery__close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}

.fullscreen-gallery__close:hover {
    color: #c42c28;
}

.fullscreen-gallery__container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.fullscreen-swiper {
    width: 100%;
    height: 100%;
}

.fullscreen-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.fullscreen-swiper .swiper-button-prev,
.fullscreen-swiper .swiper-button-next {
    color: #fff;
}

.fullscreen-swiper .swiper-pagination-bullet {
    background: #fff;
}



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

#instock {
    margin-top: 120px;
    padding-bottom: 120px;
}

#filter_table {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
}

#filter_table .select_container {
    width: 32%;
}

#filter_table select {
    outline: none;
    cursor: pointer;
    font-family: 'Mulish';
    font-size: 16px;
    appearance: none;
    -moz-appearance: none;
    width: 100%;
    height: 52px;
    padding-left: 20px;
    border-radius: 60px;
    border: 1px solid #000000;
    background: url("../img/ico_select.png") 95% 50% no-repeat transparent;
}

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

.tb_complects > div {
    border-radius: 16px;
    background: #FFF;
    margin-top: 50px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.compl_image {
    width: 32%;
}

.compl_text {
    width: 33%;
}

.compl_name {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-size: 28px;
    gap: 0 20px;
}

.compl_name span {
    display: block;
    text-transform: none;
    border-radius: 60px;
    color: #ffffff;
    padding: 0 10px;
    background: linear-gradient(90deg, #1B365D 0%, #418FDE 100%);
}

.compl_techs {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 0 20px;
}

.compl_techs > div {
    font-size: 20px;
    color: #a9aeb9;
    padding: 2px 0 2px 64px;
}

.compl_techs > div b {
    font-weight: 400;
    color: #000000;
}

.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_btns {
    width: 24%;
    display: flex;
    flex-direction: column;
    gap: 10px 0;
}

.tb_complects_showmore {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.tb_complects_showmore span {
    padding-right: 24px;
    background: url("../img/ico_select.png") 100% 50% no-repeat;
}

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

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

.credit_wrap {
    border-radius: 16px;
    background: url("../img/credit_bg.jpg") 50% no-repeat #F5F4F3;
    background-size: cover;
    padding: 18px 25px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.credit_comment {
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
    line-height: 1.5;
}

#credit_form {
    width: 52%;
    max-width: 100%;
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
}

#credit_form .form-group {
    width: 49%;
}

.credit_img1,
.credit_img2 {
    overflow: hidden;
    border-radius: 16px;
}

.credit_img1 img,
.credit_img2 img {
    transition: all .4s ease-out;
}

.credit_img1:hover img,
.credit_img2:hover img {
    transform: scale(1.05);
}

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

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

.tradein_wrap {
    border-radius: 16px;
    background: url("../img/tradein_bg.jpg") 50% no-repeat #F5F4F3;
    background-size: cover;
    padding: 18px 25px 25px;
    width: 44.5%;
}

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

#tradein_form {
    margin-top: 10px;
}

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

.tradein_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .4s ease-out;
}

.tradein_img:hover img {
    transform: scale(1.05);
}

/**********************
      TEST-DRIVE
**********************/

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

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

.test_drive_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .4s ease-out;
}

.test_drive_img:hover img {
    transform: scale(1.05);
}

.test_drive_wrap {
    border-radius: 16px;
    background: url("../img/test_drive_bg.jpg") 50% no-repeat #F5F4F3;
    background-size: cover;
    padding: 18px 23px 25px;
    width: 32.5%;
}

.test_drive_comment {
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
}

#test_drive_form {
    margin-top: 15px;
}

.test_drive_video {
    width: 33.5%;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.test_drive_video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 91% 50%;
}

.test_drive_video .play_btn {
    position: absolute;
    top: calc(50% - 22px);
    left: calc(50% - 22px);
}

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

.contacts {
    margin-top: 120px;
    display: flex;
    justify-content: space-between;
}

.contacts_wrap {
    background: url("../img/tradein_bg.jpg") 50% no-repeat;
    background-size: cover;
    padding: 23px 25px 25px;
    border-radius: 16px;
    width: 32.5%;
}

.cont_logo_wrap {
    display: flex;
    align-items: center;
}

.cont_logo_wrap .cont_logo2 {
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid #979A9C;
}

.contacts_info {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 16px 0;
}

.contacts_info > div {
    position: relative;
    padding-left: 18px;
    font-size: 20px;
}

.contacts_info > div:before {
    content: '';
    display: block;
    position: absolute;
    top: calc(50% - 3px);
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(90deg, #1B365D 0%, #418FDE 100%);
}

.contacts_info > div.bot_phone {
    font-size: 24px;
    font-weight: 700;
    color: #1b365d;
}

.contacts_wrap .quest {
    border-top: 1px solid #A9AEB9;
    margin-top: 25px;
    padding-top: 20px;
    font-size: 24px;
    font-weight: 700;
}

.contacts_wrap .btn {
    margin-top: 10px;
}

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

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


footer {
    padding: 30px 0;
}

.yurinfo {
    font-size: 12px;
}

.foot_wrap {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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


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

@media (max-width: 1600px) {

}

@media (max-width: 768px) {
    .fullscreen-gallery__container {
        padding: 40px 20px;
    }
    .fullscreen-gallery__close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}

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

    .top_addr {
        display: none;
    }

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

    .blocks_title {
        font-size: 52px;
    }

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

    .banner picture img {
        height: 500px;
    }

    .title_container {
        top: 130px;
    }

    .title_container .title_wrap {
        padding: 15px 30px;
    }

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

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

    #timer_form {
        width: 100%;
    }
    
    #timer_form .form_comment {
        width: 100%;
        text-align: center;
    }

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

    .car_item {
        align-items: flex-start;
    }

    .car_image_wrap {
        padding-bottom: 70px;
    }

    .car_comment {
        font-size: 14px;
    }

    .car_techs > div {
        font-size: 12px;
    }

    .car_date {
        top: 10px;
        right: 10px;
        transform: scale(0.8);
        transform-origin: 100% 0;
    }

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

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

    .compl_image {
        width: 45%;
    }

    .compl_text {
        width: 50%;
    }

    .compl_btns {
        margin-top: 20px;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    .compl_btns .btn {
        width: 32%;
    }

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

    #credit_form {
        width: 30%;
    }

    #credit_form .form-group {
        width: 100%;
    }

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

    .tradein_img img {
        object-position: 0 50%;
    }

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

    .test_drive {
        flex-direction: row-reverse;
    }

    .test_drive_img {
        display: none;
    }

    .test_drive_wrap {
        width: 40%;
    }

    .test_drive_video {
        width: 58%;
    }

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

    .contacts_wrap {
        width: 45%;
    }

    #map1 {
        width: 53%;
    }
}

/*IPAD PRO BEGIN*/

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

    .head_wrap {
        padding: 5px 0;
    }

    .head_wrap .btn {
        display: none;
    }

    .menu a {
        font-size: 12px;
        padding: 8px 0;
    }

    .blocks_title {
        font-size: 46px;
    }

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

    .banner picture img {
        height: 380px;
    }

    .title_container {
        top: 85px;
    }

    .title_wrap .title_date {
        font-size: 18px;
    }

    .title_wrap .title1 {
        font-size: 22px;
    }

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

    .cars_menu {
        height: 120px;
    }

    .cars_menu a {
        height: 120px !important;
        width: 24% !important;
    }

    .cars_menu a span {
        font-size: 18px;
        padding-top: 15px !important;
    }

    .cars_menu a span:after {
        display: none;
    }

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

    .car_image_wrap {
        width: 100%;
    }

    .car_date {
        z-index: 1;
        right: unset;
        left: 15px;
        transform-origin: 0 50%;
    }

    .car_text {
        width: 100%;
    }

    .car_techs > div {
        font-size: 18px;
    }

    .car_slider .swiper-slide img {
        width: 100%;
    }

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

    #filter_table select {
        font-size: 14px;
    }

    .compl_btns {
        flex-direction: column;
    }

    .compl_btns .btn {
        width: 100%;
    }

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

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

    .credit_wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px 0;
    }

    .credit_text {
        width: 100%;
    }

    #credit_form {
        width: 100%;
    }

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

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

    .tradein_wrap {
        width: 100%;
    }

    .tradein_img {
        width: 100%;
        height: auto;
    }

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

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

    .test_drive_wrap {
        width: 100%;
    }

    .test_drive_video {
        width: 100%;
    }

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

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

    .contacts_wrap {
        width: 100%;
    }

    #map1 {
        width: 100%;
        height: 450px;
    }

}

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

    header .m_btn span {
        position: relative;
        display: block;
        width: 30px;
        height: 3px;
        background: #1B365D;
        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: block;
        position: fixed;
        top: 107px;
        background: white;
        width: 100%;
        height: auto;
        right: -100%;
        left: unset;
        transition: all .3s linear;
        z-index: 2;
        padding: 10px 0;
    }

    .menu.active {
        right: 0;
    }

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

    .menu a {
        text-align: center;
    }

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

    .head_wrap {
        padding: 5px 0;
        flex-flow: wrap;
    }

    .head_wrap .logo_wrap {
        width: 85%;
    }

    .top_addr {
        display: none;
    }

    .head_wrap .btn {
        display: none;
    }
    
    .top_phone {
        width: 100%;
        text-align: center;
        margin-top: 5px;
        font-size: 18px;
    }

    .menu a {
        font-size: 12px;
        padding: 8px 0;
    }

    .blocks_title {
        font-size: 8vw;
    }

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

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

    .title_container {
        top: 90px;
    }

    .title_container .br_mob {
        display: block;
    }

    .title_container .title_wrap {
        padding: 15px;
    }

    .title_wrap .title_date {
        font-size: 5.5vw;
        background-size: 26px !important;
        padding-left: 35px;
    }

    .title_wrap .title1 {
        font-size: 5vw;
        margin-top: 5px;
    }

.title_wrap .title2 {
    font-size: 4vw;
    padding: 1vw 3vw 1.5vw 14vw;
}

.title_wrap .title2:before {
    width: 5vw;
    background-size: 100%;
    top: 0;
    left: 5vw;
    height: 100%;
}


    .timer_wrap {
        flex-direction: column-reverse;
        gap: 20px 0;
        padding: 15px;
    }

    #timer_form {
        width: 100%;
    }

    #timer_form .form_comment {
        width: 100%;
        text-align: center;
        font-size: 4vw;
    }

    #timer_form .form-group {
        width: 100%;
    }


    .timer {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 70px;
    }

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

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

    .cars_items {
        margin-top: 60px;
    }


    .cars_menu {
        height: auto;
        flex-flow: wrap;
        gap: 10px 0;
        justify-content: space-between;
    }

    .cars_menu a {
        height: 120px !important;
        width: 49% !important;
    }

    .cars_menu a span {
        font-size: 18px;
        padding-top: 15px !important;
    }

    .cars_menu a span:after {
        display: none;
    }

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

    .car_image_wrap {
        display: flex;
        width: 100%;
        flex-direction: column-reverse;
        border-radius: 16px;
        background: none;
    }

    .car_title {
        position: relative;
        border-radius: 16px;
        padding: 10px 15px 15px;
    }

    .car_title:before {
        display: none;
    }

    .car_comment {
        display: none;
    }

    .car_name {
        width: fit-content;
        min-width: auto;
        font-size: 7vw;
    }

    .car_slider {
        width: 100%;
        border-radius: 16px;
        margin-top: 10px;
        padding-bottom: 0 !important;
    }

    .car_slider .swiper-slide:first-child {
        padding-top: 0 !important;
    }

    .car_slider .swiper-pagination {
        top: 15px !important;
    }

    .car_date {
        z-index: 1;
        right: 10px;
        top: 10px;
        transform: scale(0.75);
        transform-origin: 100% 0;
    }

    .car_text {
        width: 100%;
        padding: 15px;
        background: #FFFFFF;
    }

    .car_props {
        gap: 10px 0;
        padding: 10px 0;
        margin-bottom: 10px;
    }

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

    .car_btns .btn {
        width: 100%;
    }

    .car_techs {
        width: 100%;
    }

    .car_techs > div {
        font-size: 3.5vw;
    }

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

    #instock {
        margin-top: 60px;
        padding-bottom: 60px;
    }

    #filter_table {
        flex-direction: column;
        gap: 10px 0;
        margin-top: 30px;
    }

    #filter_table .select_container {
        width: 100%;
    }

    #filter_table select {
        font-size: 14px;
    }

    .tb_complects > div {
        flex-direction: column;
        padding: 15px;
    }

    .compl_image {
        width: 100%;
    }

    .compl_text {
        width: 100%;
        margin-top: 20px;

    }

    .compl_name {
        flex-flow: wrap;
        gap: 5px 10px;
    }

    .compl_btns {
        margin-top: 20px;
        width: 100%;
        flex-direction: column;
    }

    .compl_btns .btn {
        width: 100%;
    }

    .compl_techs {
        margin-top: 20px;
    }

    .compl_techs > div {
        font-size: 3.5vw;
    }

    .compl_techs > div b {
        display: block;
    }

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

    .credit {
        margin-top: 60px;
    }

    .credit_wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px 0;
        padding: 15px;
    }

    .credit_text {
        width: 100%;
    }

    .credit_comment {
        font-size: 4vw;
    }

    .credit_comment br {
        display: none;
    }

    #credit_form {
        width: 100%;
    }

    #credit_form .form-group {
        width: 100%;
    }

    .credit_img1, .credit_img2 {
        height: 120px;
    }

    .credit_img1 img, .credit_img2 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

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

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

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

    .tradein_comment {
        font-size: 4vw;
    }

    .tradein_img {
        width: 100%;
        height: auto;
    }

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

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

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

    .test_drive_comment {
        font-size: 4vw;
    }

    .test_drive_img {
        display: none;
    }

    .test_drive_video {
        width: 100%;
        height: auto;
    }

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

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

    .contacts_wrap {
        width: 100%;
    }

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

    .contacts_wrap .quest {
        font-size: 4vw;
    }

    #map1 {
        width: 100%;
        height: 350px;
    }

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

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

}

/*MOBILE END*/

/* Portrait phones and smaller */
@media (max-width: 480px) {
    .title_container {
        top: 20vw;
    }
    .title_container .title_wrap {
        padding: 2vw;
    }
    .title_wrap .title_date {
        font-size: 4.5vw;
        background-size: 6vw !important;
        padding-left: 8vw;
    }

}

@media (max-width: 360px) {

}

@media (max-width: 320px) {

}