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

html {
    overflow-x: hidden;
}

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

.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: 1590px;
        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: 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: 140%;
    position: relative;
    display: inline-block;
    padding-left: 20px;
    top: 0px;
}

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

.agree_field a {
	text-decoration:underline;
}

.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: 50px;
    width: 100%;
    color: #000000;
    font-size: 16px;
    box-sizing: border-box;
    font-weight: 400;
    font-family: 'NotoSans', sans-serif;
    padding: 0px 20px;
    outline: none;
    background: transparent;
    border: none;
    border-radius: 0px;
    /*background: url("../img/form_field.svg") 50% no-repeat;*/
    background-size: 100%;
    z-index: 1;
    position: relative;
}

form .form_field {
    position: absolute;
    bottom: 0;
}

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

form .form-group button {
    width: 100%;
    cursor: pointer;
    font-family: 'NotoSans', 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;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: 50px;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    outline: none;
    border: none;
    transition: all .4s ease;
    text-align: center;
    overflow: hidden;
    position: relative;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn:before {
    content: '';
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    left: -110%;
    background: #5E5871;
    transform: skewX(-25deg);
    transition: all .6s ease;
}

.btn:after {
    content: '';
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    right: -110%;
    background: #5E5871;
    transform: skewX(-25deg);
    transition: all .6s ease;
}

.btn.white {
    background: #ffffff;
    color: #000000;
}

.btn.grey {
    background: #5E5871;
}

.btn.grey:before,
.btn.grey:after {
    background: #000000;
}

.btn:hover {
    color: #ffffff;
}

.btn:hover:before {
    left: -45%;
}

.btn:hover:after {
    right: -45%;
}


.blocks_title {
    background: url("../img/item.svg") 0 50% no-repeat;
    font-size: 32px;
    font-weight: 500;
    padding-left: 35px;
    position: relative;
    width: fit-content;
}

.blocks_title span {
    position: relative;
    z-index: 1;
}

.blocks_title:after {
    content: url("../img/titles_logo2.svg");
    display: block;
    position: absolute;
    top: -20px;
    right: -130px;
}

.blocks_title.wt {
    color: #ffffff;
    background: url("../img/item_wt.svg") 0 50% no-repeat;
}

.blocks_title.wt:after {
    content: url("../img/titles_logo.svg");
}

.anim {
    opacity: 0;
    transform: translateY(100px);
    transition: all .6s ease-out;
}

.anim.animated {
    opacity: 1;
    transform: translateX(0);
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 15;
    background: #000000;
    padding: 20px 0;
}

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

.top_addr {
    color: #ffffff;
    padding: 3px 0 3px 38px;
    background: url("../img/ico_loc.svg") 0 50% no-repeat;
}

.top_phone {
    color: #ffffff;
    padding: 3px 0 3px 38px;
    background: url("../img/ico_phone.svg") 0 50% no-repeat;
}

header .m_btn {
    display: none;
}

header .btn {
    width: 290px;
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    transition: all .5s ease-out;
}

.menu.show {
    top: 90px;
}

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

.menu .menu_wrap {
    position: relative;
    padding: 20px;
    display: flex;
    gap: 0 48px;
    clip-path: polygon(
            0 0,
            100% 0,
            100% calc(100% - 10px),
            calc(100% - 10px) 100%,
            10px 100%,
            0 calc(100% - 10px)
    );
    background: #00000080;
    backdrop-filter: blur(10px);
}

.menu .menu_wrap a {
    color: #ffffff;
    transition: all .4s ease;
    position: relative;
}

.menu .menu_wrap a:hover {
    color: #aaaaaa;
}

.menu .menu_wrap a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: #5E5871;
    transition: all .6s ease-out;
}

.menu .menu_wrap a.out:after {
    left: unset;
    right: 0;
}

.menu .menu_wrap a:hover:after {
    width: 100%;
}

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

.banner {
    margin-top: 90px;
}

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

.title_container {
    position: absolute;
    z-index: 1;
    top: 60px;
    width: 100%;
}

.title_container .title_date {
    font-size: 26px;
    background: rgba(255, 255, 255, 0.40);
    width: fit-content;
    color: #ffffff;
    padding: 10px 14px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.title_container .title1 {
    font-size: 32px;
    color: #ffffff;
    margin-top: 10px;
}

.title_container .title1 span {
    font-size: 46px;
    display: block;
    padding: 10px 0 10px 22px;
    background: url("../img/item.svg") 0 50% no-repeat;
    font-weight: 500;
}

.timer_block {
    clip-path: polygon(
            0 0,
            100% 0,
            100% calc(100% - 10px),
            calc(100% - 10px) 100%,
            10px 100%,
            0 calc(100% - 10px)
    );
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 70px;
    position: relative;
}

.timer_block:before {
    content: '';
    display: block;
    position: absolute;
    top: 21px;
    left: 0;
    width: 35%;
    height: 5px;
    background: #5A546A;
    border-radius: 5px;
}

.timer_block:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 21px;
    right: 0;
    width: 34%;
    height: 5px;
    background: #27252F;
    border-radius: 5px;
}

.timer_title {
    font-size: 28px;
    color: #ffffff;
}

.timer_block .timer {
    position: relative;
    z-index: 1;
}

.timer_block .btn {
    width: 290px;
}

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

.cars_items {
    margin-top: 80px;
    position: relative;
}

.cars_menu {
    display: flex;
    justify-content: flex-end;
    gap: 0 47px;
    margin-top: -50px;
}

.cars_menu a {
    display: block;
    position: relative;
    min-height: 70px;
}

.cars_menu a .menu_name {
    transform: translateY(-20px);
    opacity: 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    transition: all .4s ease;
}

.cars_menu a > span {
    display: block;
}

.cars_menu a .menu_img {
    transition: all .4s ease;
    opacity: .5;
}

.cars_menu a .menu_img_hov {
    position: absolute;
    top: 0;
    left: 0;
    transition: all .4s ease;
    opacity: 0;
}

.cars_menu a:hover .menu_name {
    transform: translateY(25px);
    opacity: 1;
}

.cars_menu a:hover .menu_img {
    opacity: 0;
}

.cars_menu a:hover .menu_img_hov {
    opacity: 1;
}

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

.car_item {
    background: url("../img/car_bg.svg") 0 0 no-repeat;
    padding: 12px 34px 18px;
    position: relative;
    background-size: 100%;
}

.car_logo {
    position: absolute;
    bottom: 50px;
    right: -2px;
}

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

.car_image {
    position: relative;
    width: 41%;
}

.car_colors {
    display: flex;
    align-items: flex-end;
    position: absolute;
    z-index: 1;
    bottom: -45px;
    left: 0;
    gap: 0 12px;
}

.car_colors > div {
    width: 18px;
    height: 18px;
    position: relative;
    border-radius: 50%;
    transition: all .4s ease;
    cursor: pointer;
}

.car_colors > div.active {
    width: 22px;
    height: 22px;
}

.car_colors > div.active:before {
    content: url("../img/pick.svg");
    position: absolute;
    top: -7px;
    left: -5px;
}

.car_img {
    position: relative;
    z-index: 1;
}

.car_image:before {
    content: url("../img/car_item_logo.svg");
    display: block;
    position: absolute;
    right: 0;
    top: 40px;
}

.car_text {
    width: 22%;
    margin-top: 18px;
}

.car_name {
    font-size: 32px;
    color: #5e5871;
    margin-left: -2px;
}

.car_name b {
    font-weight: 500;
    color: #000000;
}

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

.car_props a {
    display: block;
    padding-left: 30px;
    transition: all .4s ease;
}

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

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

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

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

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

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

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

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

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

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

.car_props a.ico6 {
    background: url("../img/car_ico6.svg") 0 50% no-repeat;
}

.car_props a.ico6:hover {
    background: url("../img/car_ico6_hov.svg") 0 50% no-repeat;
}

.car_gallery_wrap {
    height: 300px;
    margin-top: 18px;
    position: relative;
}

.car_gallery {
    width: 293px;
    height: 300px;
    padding-left: 13px !important;
}

.car_gallery .swiper-wrapper {
    align-items: flex-end;
}

.car_gallery .swiper-slide {
    width: 235px;
    height: 100px !important;
    transition: all .4s ease;
    opacity: .4;
}

.car_gallery .swiper-slide-active {
    width: 100%;
    opacity: 1;
    height: 166px !important;
    margin-top: -33px;
    margin-bottom: -33px;
    z-index: 1;
}

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

.car_gallery_wrap .swiper-button-prev,
.car_gallery_wrap .swiper-button-next {
    width: 28px;
    height: 28px;
    background: url("../img/car_prev.svg") 50% no-repeat;
    opacity: 1;
    margin: 0;
    left: 21px;
    right: unset;
}

.car_gallery_wrap .swiper-button-prev {
    top: 0;
}

.car_gallery_wrap .swiper-button-next {
    top: unset;
    bottom: 0;
    background: url("../img/car_next.svg") 50% no-repeat;
}

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

.car_gallery .swiper-pagination {
    right: unset !important;
    top: 0 !important;
    left: 0 !important;
    height: 100%;
    transform: unset !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.car_gallery .swiper-pagination-bullet {
    width: 2px;
    height: 8px;
    border-radius: 3px;
    background: #aaaaaa;
    transition: all .4s ease;
    margin: 3px 0 !important;
}

.car_gallery .swiper-pagination-bullet-active {
    width: 3px;
    height: 20px;
    background: #5E5871;
}

.car_btns {
    display: flex;
    gap: 12px;
    width: 73.5%;
    margin-left: auto;
}

.car_btns .btn {
    width: 100%;
}

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

#instock {
    margin-top: 80px;
    background: linear-gradient(180deg, #000 0%, #101010 100%);
    padding: 40px 0;
    color: #ffffff;
}

#filter_table {
    display: none;
}

.filter_quick_menu {
    display: flex;
    justify-content: flex-end;
    gap: 0 18px;
    margin-top: -40px;
}

.filter_quick_menu li {
    display: block;
    width: fit-content;
    position: relative;
    cursor: pointer;
}

.filter_quick_menu li img {
    transition: all .4s ease;
}

.filter_quick_menu li img.hov {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.filter_quick_menu li span {
    display: block;
    width: 100%;
    height: 100%;
}

.filter_quick_menu li:hover img,
.filter_quick_menu li.current img {
    opacity: 0;
}

.filter_quick_menu li:hover img.hov,
.filter_quick_menu li.current img.hov {
    opacity: 1;
}

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

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

.tb_complects > div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.compl_image {
    position: relative;
    z-index: 1;
}

.compl_image:after {
    content: url("../img/compl_logo.svg");
    display: block;
    position: absolute;
    top: 0;
    right: -10px;
}

.compl_image img {
    position: relative;
    z-index: 1;
    transform: translateX(-200%);
    transition: transform .5s .5s linear;
}

.animated .compl_image img {
    transform: translateX(0);
}

.compl_wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 950px;
    margin-left: -285px;
    padding: 25px 25px 25px 370px;
    background: #202020;
    gap: 0 80px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    /*border: 0.5px solid #aaaaaa;*/
}

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

.compl_techs > div {
    color: #f2f2f2;
    padding: 2px 0 2px 41px;
    transition: all .4s ease;
    cursor: pointer;
}

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

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

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

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

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

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


.compl_text {
    width: 47%;
}

.compl_name {
    color: #5e5871;
    font-size: 32px;
    text-align: center;
}

.compl_name span {
    color: #ffffff;
}

.compl_btns {
    display: flex;
    flex-direction: column;
    gap: 10px 0;
    margin-top: 10px;
}

.tb_complects_showmore {
    display: block;
    margin-top: 30px;
    color: #ffffff;
    font-size: 20px;
    text-decoration: underline;
}

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

.tradein {
    position: relative;
    margin-top: 80px;
}

.tradein_img {
    position: absolute;
    top: 0;
    right: 0;
    width: 49%;
    height: 472px;
    overflow: hidden;
    clip-path: polygon(
            0 0,
            100% 0,
            100% 100%,
            20px 100%,
            0 calc(100% - 20px)
    );
    z-index: 1;
}

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

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

.tradein_wrap {
    width: 350px;
    margin-left: 125px;
    padding-top: 20px;
}

.tradein_comment {
    margin-top: 25px;
}

#tradein_form {
    margin-top: 25px;
}

#tradein_form .form-group {
    margin-bottom: 14px;
}

#tradein_form .agree_field {
    display: block;
}

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

.credit {
    position: relative;
    margin-top: 80px;
}

.credit_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 50.5%;
    height: 565px;
    clip-path: polygon(
            0 0,                  /* верхний левый */
            calc(100% - 20px) 0,  /* отступаем 20px слева направо */
            100% 20px,            /* диагональ вниз */
            100% 100%,            /* нижний правый */
            0 100%                /* нижний левый */
    );
    overflow: hidden;
    z-index: 1;
}

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

.credit_img:hover img {
    transform: scale(1.1);
}

.credit_wrap {
    width: 350px;
    margin-right: 125px;
    margin-left: auto;
    padding-top: 20px;
}

.credit_comment {
    margin-top: 25px;
}

#credit_form {
    margin-top: 25px;
}

#credit_form .form-group {
    margin-bottom: 15px;
}

#credit_form .range {
    position: relative;
}

#credit_form .range span {
    color: #838383;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

#credit_form .range.srok {
    margin: 40px 0;
}

#credit_form .irs--flat {
    height: auto;
    position: absolute;
    bottom: -13px;
    width: 100%;
}

#credit_form .irs-line {
    background: none !important;
}

#credit_form .irs-from {
    position: relative;
    color: #000000;
}

#credit_form .irs-single {
    display: none !important;
}

#credit_form .irs-min,
#credit_form .irs-max {
    display: block;
    color: #838383;
    font-size: 14px;
    padding: 0;
    background: none;
    visibility: visible !important;
    top: unset;
    bottom: -30px;
}

#credit_form .irs-bar {
    height: 2px;
    background: #5E5871;
}

#credit_form .irs-handle {
    background: url("../img/pin.svg") 0 50% no-repeat;
    width: 15px;
    height: 15px;
    background-size: 100%;
    /*border-radius: 50%;*/
    cursor: pointer;
    top: 18px;
}

#credit_form .irs-handle i {
    display: none;
}

#credit_form .agree_field {
    display: block;
    margin-top: -5px;
}

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

.test_drive {
    position: relative;
    margin-top: 80px;
    padding: 50px 0;
}

.test_drive .blocks_title {
    background: url(../img/item_long.svg) 0 50% no-repeat;
}

.test_drive .blocks_title:after {
    top: 0;
    right: -150px;
}

.test_drive_img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 521px;
}

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

.test_drive_wrap {
    width: 470px;
    padding: 25px;
    margin: 0 auto;
    background: #FFFFFF;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.test_drive_comment {
    margin-top: 25px;
}

#test_drive_form {
    margin-top: 25px;
}

#test_drive_form .form-group {
    margin-bottom: 14px;
}

#test_drive_form .agree_field {
    display: block;
}

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

.reviews {
    background: linear-gradient(180deg, #000 0%, #101010 100%);
    padding: 75px 0 40px;
}

.reviews_slider_wrap {
    margin-top: 40px;
    position: relative;
}

.reviews_slider {
    padding-bottom: 40px !important;
}

.review {
    background: url("../img/review_bg.svg") 50% 0 no-repeat;
    min-height: 235px;
    padding: 20px 30px;
    color: #ffffff;
    background-size: 100%;
}

.rev_title {
    position: relative;
}

.rev_date {
    font-size: 12px;
    color: #aaaaaa;
}

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

.rev_text {
    margin-top: 15px;
    line-height: 160%;
}

.reviews_slider_wrap .swiper-button-prev,
.reviews_slider_wrap .swiper-button-next {
    top: 40% !important;
    display: block;
    margin: 0 !important;
    width: 28px;
    height: 28px;
    background: url("../img/rev_prev.svg") 50% no-repeat !important;
    left: -50px;
}

.reviews_slider_wrap .swiper-button-next {
    background: url("../img/rev_next.svg") 50% no-repeat !important;
    left: unset;
    right: -50px;
}

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

.reviews_slider .swiper-pagination {
    bottom: 0 !important;
}

.reviews_slider .swiper-pagination-bullet {
    width: 8px;
    height: 4px;
    border-radius: 2px;
    background: #aaaaaa;
    transition: all .4s ease;
    opacity: 1;
}

.reviews_slider .swiper-pagination-bullet-active {
    background: #5E5871;
    height: 6px;
    width: 26px;
}

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

.contacts {
    position: relative;
}

.contacts_wrap {
    position: absolute;
    top: 60px;
    left: 30px;
    width: 470px;
    padding: 30px;
    background: #FFFFFF;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    z-index: 1;
}

.bot_addr {
    margin-top: 30px;
    padding: 3px 0 3px 40px;
    background: url("../img/ico_loc_bot.svg") 0 50% no-repeat;
}

.bot_phone {
    display: block;
    margin-top: 15px;
    padding: 3px 0 3px 40px;
    background: url("../img/ico_phone_bot.svg") 0 50% no-repeat;
}

.worktime {
    margin-top: 15px;
    padding: 3px 0 3px 40px;
    background: url("../img/clock.svg") 0 50% no-repeat;
}

.contacts_wrap .btn {
    width: 100%;
    margin-top: 30px;
}

#map1 {
    width: 100%;
    height: 460px;
    filter: grayscale();
    background: url("../img/map.jpg") 50% no-repeat;
}

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

footer {
    background: #000000;
    padding: 25px 0;
}

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

.yurinfo {
    color: #ffffff;
}

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

.foot_links > a {
    color: #ffffff;
}

.sinoby {
    color: #ffffff;
}

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


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

@media (max-width: 1600px) {

    .timer_block:before {
        width: 34%;
    }

    .timer_block:before {
        width: 33%;
    }

    .car_item {
        padding-top: 5px;
    }

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

    .reviews_slider_wrap .swiper-button-prev,
    .reviews_slider_wrap .swiper-button-next {
        top: 35% !important;
        left: -15px;
    }

    .reviews_slider_wrap .swiper-button-next {
        left: unset;
        right: -15px;
    }

    .car_colors {
        left: -10px;
        gap: 0 7px;
    }
}

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

    .top_addr {
        display: none;
    }

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

    .banner picture img {
        height: 540px;
    }

    .title_container .title1 span {
        font-size: 36px;
    }

    .timer_block {
        padding: 10px 20px;
        gap: 0 30px;
    }

    .timer_title {
        font-size: 20px;
    }

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

    .timer_block .timer {
        width: 45%;
        display: flex;
        justify-content: center;
    }

    .timer_block .btn {
        width: 220px;
    }

    .timer_block:before {
        top: 30px;
    }

    .timer_block:after {
        bottom: 30px;
    }

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

    .cars_list {
        margin-top: 60px;
    }

    .cars_menu {
        margin-top: 50px;
        justify-content: center;
    }

    .car_item {
        background: #F2F2F2;
        clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    }

    .car_logo {
        right: 0;
    }

    .car_wrap {
        gap: 0 20px;
        align-items: center;
    }

    .car_image {
        width: 35%;
    }

    .car_image:before {
        top: 0;
        right: -30px;
    }

    .car_colors {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 10px;
    }

    .car_text {
        width: auto;
        margin-top: 0;
    }

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

    .car_btns {
        width: 100%;
        margin-top: 30px;
    }

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

    .filter_quick_menu {
        margin-top: 50px;
    }

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

    .tradein_wrap {
        margin-left: 0;
    }

    .tradein_img {
        width: 60%;
    }

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

    .credit_wrap {
        margin-right: 0;
    }

    .credit_img {
        width: 60%;
    }

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

    .review {
        min-height: 310px;
    }

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

}

/*IPAD PRO BEGIN*/

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

    .anim {
        opacity: 1 !important;
        transform: unset !important;
    }

    header .btn {
        display: none;
    }

    .menu.show {
        top: 77px;
    }

    .menu .menu_wrap {
        gap: 0 30px;
    }

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

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

    .banner {
        margin-top: 77px;
    }

    .banner picture img {
        height: 400px;
    }

    .title_container .title_date {
        font-size: 22px;
        display: none;
    }

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

    .title_container .title1 span {
        font-size: 28px;
    }

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

    .timer_block {
        flex-flow: wrap;
    }

    .timer_title {
        width: 100%;
    }

    .timer_title br {
        display: none;
    }

    .timer_block .timer {
        width: 60%;
    }

    .timer_block:before,
    .timer_block:after {
        display: none;
    }

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

    .cars_menu {
        gap: 0 30px;
    }

    .car_item {
        padding: 15px 20px;
    }

    .car_wrap {
        flex-flow: wrap;
        gap: 20px 0;
    }

    .car_image {
        width: 60%;
    }

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

    .car_gallery {
        width: 90%;
        height: auto;
        padding-bottom: 20px !important;
        padding-left: 0 !important;
    }

    .car_gallery .swiper-wrapper {
        height: 120px;
    }

    .car_gallery .swiper-slide {
        width: unset;
        height: 100px !important;
        margin: 0 !important;
    }

    .car_gallery .swiper-slide-active {
        height: 120px !important;
    }

    .car_gallery .swiper-pagination {
        top: unset !important;
        bottom: 0 !important;
        flex-direction: row;
        height: auto;
        gap: 0 5px;
    }

    .car_gallery .swiper-pagination-bullet {
        height: 4px;
        width: 10px;
    }

    .car_gallery .swiper-pagination-bullet-active {
        height: 6px;
        width: 26px;
    }

    .car_gallery_wrap .swiper-button-prev {
        top: 40%;
        left: 0;
        transform: rotate(-90deg) scale(-1, 1);
    }

    .car_gallery_wrap .swiper-button-next {
        top: 40%;
        left: unset;
        right: 0;
        transform: rotate(90deg) scale(1, -1);
    }

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

    .compl_wrap {
        width: 75%;
        margin-left: 0;
        flex-direction: column;
        align-items: flex-end;
        padding-left: 100px;
        position: relative;
        padding-top: 60px;
    }

    .compl_techs {
        width: 70%;
    }

    .compl_text {
        width: 70%;
    }

    .compl_name {
        position: absolute;
        top: 10px;
    }

    .compl_image {
        margin-right: -170px;
    }

    .compl_image:after {
        transform: scale(0.9);
        transform-origin: 100% 0;
    }

    .compl_btns {
        margin-top: 20px;
    }

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

    .tradein_img {
        width: 100%;
        position: relative;
        padding: 0 15px;
    }

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

    #tradein_form {
        padding-right: 3px;
    }

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

    .credit_img {
        width: 100%;
        position: relative;
        padding: 0 15px;
    }

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

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

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

    .test_drive_img {
        width: 100%;
        position: relative;
        height: auto;
    }

    .test_drive_wrap {
        width: 100%;
    }

    .test_drive .blocks_title br {
        display: none;
    }

    .test_drive .blocks_title {
        background: url(../img/item.svg) 0 50% no-repeat;
    }

    .test_drive .blocks_title:after {
        top: -20px;
        right: -130px;
    }

    #test_drive_form input[type=tel] {
        clip-path: polygon(
                10px 0,
                100% 0,
                100% calc(100% - 10px),
                calc(100% - 10px) 100%,
                0 100%,
                0 10px
        );
        background: #FFFFFF;
        outline: 1px solid #aaaaaa50;
        border: 0.5px solid #aaaaaa50;
    }

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

    .review {
        min-height: 240px;
    }

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

    .contacts_wrap {
        position: relative;
        top: 0;
        width: 100%;
        padding: 30px 0;
        left: 0;
    }

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

    .yurinfo, .foot_links > a, .sinoby {
        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%;
    }

    .blocks_title {
        font-size: 7vw;
        padding-left: 25px;
    }

    .blocks_title:after {
        transform: scale(0.6);
        transform-origin: 10% 30%;
    }

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

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

    header .m_btn span {
        position: relative;
        display: block;
        width: 30px;
        height: 3px;
        background: #FFFFFF;
        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: #000000;
        width: 100%;
        height: auto;
        right: -100%;
        left: unset;
        transition: all .3s linear;
        z-index: 2;
        padding: 20px 0;
        row-gap: 10px;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px));
    }

    .menu.show {
        top: unset;
    }

    .menu.active {
        right: 0;
    }

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

    .menu a {
        padding: 0;
    }

    .menu a:before {
        display: none;
    }

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

    .anim {
        opacity: 1 !important;
        transform: unset !important;
    }

    header {
        padding: 10px 0;
    }

    header .container {
        flex-flow: wrap;
    }

    header .btn {
        display: none;
    }

    .top_addr {
        display: none;
    }

    .top_phone {
        margin: 5px auto 0;
    }

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

    .banner {
        margin-top: 77px;
    }

    .banner picture img {
        height: auto;
        width: 100%;
        transform: none;
        left: 0;
    }

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

    .title_container .title_date {
        font-size: 4vw;
        margin: 0 auto;
    }

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

    .title_container .title1 span {
        font-size: 6vw;
        padding-left: 0;
        background: none;
    }

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

    .timer_block {
        flex-flow: wrap;
        padding: 10px 15px;
        margin-left: -15px;
        margin-right: -15px;
    }

    .timer_block:before,
    .timer_block:after {
        display: none;
    }

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

    .timer_title br {
        display: none;
    }

    .timer_block .timer {
        width: 100%;
        display: flex;
        justify-content: center;
    }

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

    .timer_block .btn {
        width: 100%;
    }

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

    .cars_menu {
        flex-flow: wrap;
        justify-content: space-between;
        gap: 20px 0;
        margin-top: 40px;
    }

    .cars_menu > a {
        width: 48%;
    }

    .cars_menu a .menu_img {
        opacity: 0 !important;
    }

    .cars_menu a .menu_img_hov {
        opacity: 1 !important;
    }

    .cars_menu a .menu_name {
        position: relative;
        opacity: 1;
        transform: unset;
    }

    .cars_list {
        margin-top: 50px;
    }

    .car_item {
        padding: 70px 15px 15px;
        background: #F2F2F2;
        clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    }

    .car_logo {
        display: none;
    }

    .car_wrap {
        flex-flow: wrap;
        gap: 20px 0;
    }

    .car_image {
        width: 100%;
    }

    .car_image:before {
        top: 10px;
        transform: scale(0.6);
        transform-origin: 100% 0;
    }

    .car_colors {
        position: relative;
        width: 100%;
        justify-content: center;
        bottom: 0;
        left: 0;
        margin-top: 10px;
    }

    .car_colors > span {
        display: none;
    }

    .car_text {
        width: 100%;
        margin-top: 10px;
    }

    .car_name {
        position: absolute;
        top: 15px;
        left: 15px;
        font-size: 8vw;
    }

    .car_props {
        margin-top: 0;
    }

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

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

    .car_gallery .swiper-wrapper {
        height: 120px;
        align-items: center;
    }

    .car_gallery .swiper-slide {
        width: unset;
        margin: 0 !important;
    }

    .car_gallery .swiper-slide-active {
        width: 150px !important;
        height: 120px !important;
        margin-left: -25px !important;
    }

    .car_gallery .swiper-pagination {
        top: unset !important;
        bottom: 0 !important;
        flex-direction: row;
        height: auto;
        gap: 0 5px;
    }

    .car_gallery .swiper-pagination-bullet {
        height: 4px;
        width: 10px;
    }

    .car_gallery .swiper-pagination-bullet-active {
        height: 6px;
        width: 26px;
    }

    .car_gallery_wrap .swiper-button-prev {
        top: 40%;
        left: 0;
        transform: rotate(-90deg) scale(-1, 1);
        display: none;
    }

    .car_gallery_wrap .swiper-button-next {
        top: 40%;
        left: unset;
        right: 0;
        transform: rotate(90deg) scale(1, -1);
        display: none;
    }

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

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

    .filter_quick_menu {
        margin-top: 30px;
        flex-flow: wrap;
        justify-content: space-between;
        gap: 15px 0;
    }

    .filter_quick_menu > li {
        width: 48%;
    }

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

    .compl_wrap {
        width: 100%;
        margin-left: 0;
        flex-direction: column;
        position: relative;
        padding: 70px 15px 15px;
        margin-top: 20px;
    }

    .compl_techs {
        width: 100%;
    }

    .compl_text {
        width: 100%;
    }

    .compl_name {
        position: absolute;
        top: 10px;
    }

    .compl_image img {
        transform: unset !important;
    }

    .compl_image:after {
        transform: scale(0.7);
        transform-origin: 100% 0;
    }

    .compl_btns {
        margin-top: 20px;
    }

    .tb_complects_showmore {
        font-size: 4vw;
    }

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

    .tradein {
        margin-top: 0;
    }

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

    .tradein_wrap {
        width: 100%;
        padding: 25px 0;
        margin-left: 0;
    }

    .tradein_comment {
        font-size: 4vw;
    }

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

    .credit {
        margin-top: 20px;
    }

    .credit_img {
        width: 100%;
        position: relative;
        height: auto;
    }

    .credit_wrap {
        width: 100%;
        padding: 25px 0;
    }

    .credit_comment {
        font-size: 4vw;
    }

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

    .test_drive {
        margin-top: 20px;
        padding: 0;
    }

    .test_drive_img {
        width: 100%;
        position: relative;
        height: auto;
    }

    .test_drive_wrap {
        width: 100%;
        padding: 25px 0;
    }

    .test_drive_comment {
        font-size: 4vw;
    }

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

    .reviews {
        padding-top: 50px;
    }

    .review {
        min-height: auto;
        background: #202020;
        clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
        padding: 15px;
    }

    .rev_rate {
        position: relative;
        margin-top: 5px;
    }

    .rev_text {
        font-size: 4vw;
    }

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

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

    .contacts_wrap {
        position: relative;
        top: 0;
        width: 100%;
        padding: 30px 0;
        left: 0;
    }

    #map1 {
        height: 350px;
    }

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

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

    .yurinfo, .foot_links > a, .sinoby {
        font-size: 3vw;
    }

}

/*MOBILE END*/

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

}

@media (max-width: 360px) {

}

@media (max-width: 320px) {

}