html {
    overflow-x: hidden;
}

body {
    font-family: 'Dopis', 'Grandis';
    font-size: 16px;
    color: #ffffff;
    position: relative;
    font-weight: 400;
    margin: 0 auto;
    padding: 0;
    overflow-x: hidden;
    max-width: 1920px;
    background: #0D1719;
}

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

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

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

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


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


.resp_table {
    width: 100%;
}

.resp_table tr td:before {
    display: none;
}

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

.title2 .sup_3 {
    display: inline-block;
    vertical-align: top;
    top: 3px;
    position: relative;
    font-size: 20px;
}

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

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

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

a:hover {
    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: 1140px;
    position: relative;
}

@media (min-width: 576px) {
    .container {
        width: 540px;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .container {
        width: 720px;
        max-width: 100%;
        height: 100%;
    }
}

@media (min-width: 992px) {
    .container {
        width: 960px;
        max-width: 100%;
    }
}

@media (min-width: 1400px) {
    .container {
        width: 1320px;
        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: 710px;
    height: 470px;
    max-width: 100%;
    padding: 110px 60px 110px 40px;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    /* border: 2px solid black; */
    background: url("../img/popup_bg.png") 50% no-repeat #0D1719;
    text-align: center;
    padding-bottom: 30px;
}

.popup_container .agree_field {
    color: #ffffff;
    font-size: 12px;
    display: block;
    text-align: left;
}

.popup_container .agree_field a {
    color: #ffffff;
}


.popup_container h2 {
    font-size: 32px;
    font-weight: 700;
    padding: 0px;
    margin: 0px;
    text-align: left;
    color: #ffffff;
    padding-bottom: 50px;
}

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

.popup_container .form-group input[type=text] {
    color: black;
    display: block;
    height: 56px;
    line-height: 56px;
    text-decoration: none;
    text-align: left;
    /* text-transform: uppercase; */
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    background: #f3f3f3;
    border: 1px solid #f3f3f3;
    padding: 10px;
}

.popup_container .form-group textarea {
    color: black;
    display: block;
    height: 100px;
    text-decoration: none;
    text-align: left;
    /* text-transform: uppercase; */
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    background: none;
    border: 1px solid #c0c6c9;
    padding: 10px;
    resize: none;
    font-family: 'Grandis';
    font-size: 16px;
}

.popup_container .form-group select {
    color: #1d1f20;
    height: 50px;
    border: 1px solid white;
    width: 100%;
    font-size: 16px;
    font-weight: 300;
    font-family: 'Grandis';
    padding-left: 10px;
    height: 38px;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #c0c6c9;
}

.popup_container .form-group select option {
}

.popup_container .form-group button {
    cursor: pointer;
    font-size: 16px;
    margin-top: 40px;
}

.popup_container .form-group button:before {
    display: none;
}

.popup_container .form-group button:after {
    display: none;
}


.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, .agree_field a {
    color: inherit;
}

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

.agree_field span {
    text-decoration: underline;
    cursor: pointer;
}

.popup_container .form-disclamer {
    color: #b8b8b8;
    font-size: 10px;
    padding-top: 10px;
    text-align: center;
}


form {width: 58%;margin-top: 20px;}

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: 40px;
    width: 100%;
    color: #B3B3B3;
    font-size: 16px;
    box-sizing: border-box;
    font-weight: 400;
    text-transform: uppercase;
    font-family: 'Grandis';
    padding: 0px;
    outline: none;
    background: transparent;
    border-radius: 0px;
    border: none;
    border-bottom: 1px solid #D9D9D9;
}

form .form-group input[type=tel]::placeholder,
form .form-group input[type=text]::placeholder {
    color: #B3B3B3;
}

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

form .form-group button {
    width: 100%;
    cursor: pointer;
    font-family: 'Grandis';
    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: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: 50px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    outline: none;
    border: 1px solid #ffffff;
    transition: all .3s;
    text-align: center;
}

.btn.grey {
    background: #00647B;
    border-color: #00647B;
}

.btn:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: #000000;
}

.anim {
    opacity: 0;
}

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

.mobile_phone {
    display: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #0D1719;
    padding-top: 30px;
    z-index: 1000;
}

.head_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid #6D6D6D;
}

.header_menu {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    padding-bottom: 15px;
}
.header_menu_item {
    color: inherit;
    text-decoration: none;
}

.logo_wrap {
    display: flex;
    align-items: center;
    margin-right: 100px;
}

.logo1 {
    margin-right: 20px;
}

.logo2 {
    padding-left: 20px;
    background-image: url(../img/logo_stick.png);
    background-repeat: no-repeat;
    background-position: left center;
}

.top_addr {
    font-weight: 500;
}

.top_phone {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.head_wrap .btn {
    width: 203px;
}


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

.main {
    margin-top: 145px;
    height: max-content;
}

.banner_1 {
    background: url("../img/bg1.jpg") no-repeat bottom center/cover;
    /* margin-top: 130px; */
}

.banner_2 {
    background: url("../img/bg2.jpg") no-repeat center/cover;
    /* margin-top: 130px; */
}

.main__slider .slick-arrow {
    width: 50px !important;
    height: 50px !important;
    background: url("../img/gallery_arrow.svg") 50% no-repeat, #00647B !important;
    z-index: 100;
    padding: 10px;
    border-radius: 50%;
}

.main__slider .slick-prev {
    left: 20px !important;
    transform: rotate(180deg) translateY(50%);
}

.main__slider .slick-next {
    right: 20px !important;
}

.main__slider .slick-prev:before,
.main__slider .slick-next:before {
    display: none;
}

.main__slider .slick-slide {
    height: calc(100vw * 880/1920);
    max-height: calc(100vh - 145px - 75px);
}

.main__slider .slick-dots {
    display: none !important;
}

.main__slider.slick-dotted.slick-slider {
    margin-bottom: 0;
}

.title_container {
    padding-top: 175px;
    padding-left: 80px;
}

@media (max-width: 1600px) {
    .main__slider .slick-slide {
        max-height: calc(100vh - 145px - 55px);
    }
}

@media (max-width: 767px) {
    .main {
        margin-top: 20px;
    }

    .main__slider .slick-prev, .main__slider .slick-next {
        top: 32%;
    }

    .main {
        max-height: 600px;
    }

    .main__slider .slick-slide {
        min-height: 540px;
        max-height: 600px;
    }
}

@media (max-width: 470px) {
    .main__slider .slick-slide {
        background-size: 130%;
        background-position-x: 80%;

        max-height: 630px; 
        min-height: max-content;
        height: auto;
    }

    .main {
        max-height: 630px;
        height: max-content;
    }

    .main__slider {
        height: auto;
    }
}


/* TIMER */

.timer_block {
    margin-top: 60px;
}

.timer_block .timer_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border: 1px solid #6D6D6D
}

.timer_block .timer_title {
    font-size: 28px;
    font-weight: 700;
    color:  #fff;
}

#timer_form {
    margin-top: 15px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
#timer_form .form-group {
    position: relative;
    width: 49%;
}
#timer_form .form-group input[type=tel], #timer_form .form-group input[type=text], form .form-group select {
    height: 50px;
}
div[id^="timer"] {
    min-width: 514px !important;
}
.title_container.special {
    color: #000;
    padding-left: 0;
    padding-top: 40px;
}

.special .title_wrap {
    
}

.title1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
}

.special .title1 {
    text-align: left;
    margin-bottom: 7px;
}

.special .title2 {
    text-align: left;
    font-size: 86px;
}

.special .title2::after {
    opacity: 0;
}

.banner-links {
    margin-top: 25px;
    display: grid;
    row-gap: 10px;
}

.rhpmbus {
    background-color: white;
    padding: 8px 30px;
    transform: skewX(-20deg);
    color: #000;
    text-decoration: unset;
    transition: linear .3s;
    font-size: 33px;

}

.rhpmbus.black {
    color: #fff;
    background-color: black;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rhpmbus:hover {
    color: #fff;
    background-color: black;
}

.rhpmbus.black:hover {
    color: #000;
    background-color: #fff;
}

.rhombus_block {
    transform: skewX(20deg);
    text-wrap: nowrap;

}

.title2::after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    height: 1px;
    width: 72%;
    border-bottom: 1px solid #ffffff;
}

.title2_props {
    position: relative;
    font-size: 46px;
    font-weight: 900;
    padding-left: 0px;
    letter-spacing: -1px;
}
/*
.title2_props:before {
    content: "";
    position: absolute;
    left: 0;
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 10px;
    top: 39%;
}
*/
.title2_props span {
    color: #00647b;
}

.title3 {
    font-size: 48px;
    font-weight: 300;
    line-height: 150%;
    font-weight: 400;
    line-height: normal;
}
.title3 span {
    font-size: 48px;
    font-weight: 300;
    line-height: 150%;
    text-transform: none;
    font-weight: 400;
    line-height: normal;
}
.banner_2 .title3 {
    color: #fff;
}
.title_container .btn {
    width: 395px;
    height: 50px;
}
.title_container .btn sup {
    font-size: 10px;
}
.run_row {
    display: flex;
    align-items: center;
    background: #ffffff;
    height: 73px;
    width: 3800px;
    position: relative;
    animation: text 60s linear infinite;
    animation-direction: reverse; 
    left: -1110px;
}

@keyframes text {
    0% {
        left: -1110px;
    }

    100% {
        left: 0;
    }
}

.run_row img {
    margin: 0 50px;
}


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

.car_item {
    background: url("../img/car_item_bg.png") 50% 100px no-repeat;
    padding: 70px 0 80px;
    position: relative;
}

.car_title {
    text-align: left;
    margin-bottom: 30px;
}

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

.car_comment {
    font-size: 22px;
    margin-top: 0;
}

.car_props {
    position: absolute;
    top: 10px;
    left: 58.6%;
}

.car_props > a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: #000;
    text-decoration: none;
    transform: skewX(-20deg);
    background: #fff;
    width: 120%;
}

.car_props > a b {
    font-size: 40px;
    color: #00647B;
}

.car_props > a span {
    display: block;
    transform: skewX(20deg);
    padding: 14px 0;
}

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

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

.car_image {
    width: 48%;
}

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

.car_item .car_techs {
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
    margin-top: 0;
}

.car_techs .techs_item {
    width: 40%;
    margin-bottom: 40px;
}

.car_techs .techs_item span {
    font-size: 14px;
    display: block;
    margin-bottom: -5px;
}

.car_techs .techs_item b {
    font-size: 72px;
}

.car_colors {
    display: flex;
}

.car_colors > div {
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    position: relative;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    background-size: 100%;
    background-repeat: no-repeat;
}

/* .car_colors > div:before {
    content: '';
    position: absolute;
    top: 6px;
    left: 4px;
    width: 13px;
    height: 11px;
    background: url("../img/check.png") 50% no-repeat;
    display: none;
}

.car_colors > div.active:before {
    display: block;
} */

.car_colors > div.active {
    border: 2px solid #fff;
}

.car_colors > span {
    font-size: 14px;
    display: block;
    margin-right: 30px;
}

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

#j8 .car_btns {
    justify-content: end;
    gap: 10px;
}

.car_btns .btn {
    width: 32.8%;
}

.car_btns .btn:last-child:hover {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

.car_btns .btn:last-child:hover i {
    background: url("../img/btn_arrow_wt.png") 50% no-repeat;
}


.car_gallery {
    margin-top: 40px;
    margin-left: -4px;
  }
  
  .car_gallery a {
    margin: 0 4px;
  }
  
  .car_gallery .slick-arrow {
    width: 24px !important;
    height: 28px !important;
    background: url("../img/gallery_arrow.svg") 50% no-repeat !important;
  }
  
  .car_gallery .slick-prev {
    left: -40px !important;
    transform: rotate(180deg);
  }
  
  .car_gallery .slick-next {
    right: -40px !important;
  }
  
  .car_gallery .slick-prev:before,
  .car_gallery .slick-next:before {
    display: none;
  }

/**********************
      CAR_TECHS
**********************/

.car_techs {
    margin-top: 100px;
}

.car_techs_title {
    font-size: 48px;
    padding-bottom: 15px;
    margin-bottom: 55px;
    font-weight: 500;
    border-bottom: 1px solid #6D6D6D;
}

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

.car_techs_text_wrap {
    width: 66%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-flow: wrap;
    row-gap: 20px;
}

.car_techs_img1 {
    width: 49%;
    border-radius: 3px;
    overflow: hidden;
}

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

.car_techs_text {
    width: 49%;
}

.car_techs_text ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.car_techs_text ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #6D6D6D;
}

.car_techs_text ul li:first-child {
    padding-top: 0;
}

.car_techs_text ul li span {
    color: #B3B3B3;
    font-weight: 300;
}

.car_techs_text ul li b {
    font-weight: 400;
}

.car_techs_btns {
    margin-top: 30px;
}

.car_techs_btns .btn {
    margin-top: 19px;
}

.car_techs_img2 {
    width: 100%;
    border-radius: 3px;
    overflow: hidden;
}


.car_techs_vid {
    width: 32.35%;
    border-radius: 3px;
    overflow: hidden;
}

.car_techs_vid video {
    width: 100%;
}

.car_techs_gallery {
    width: 100%;
    position: relative;
}

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

.car_techs_gallery .techs_gallery_nav {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    column-gap: 60px;
}

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

.car_techs_gallery .swiper-button-prev {
    width: 60px;
    height: 6px;
    background: url("../img/prev.png") 50% no-repeat;
    opacity: 1 !important;
    position: relative;
    top: 0;
}

.car_techs_gallery .swiper-button-next {
    width: 60px;
    height: 6px;
    background: url("../img/next.png") 50% no-repeat;
    opacity: 1 !important;
    position: relative;
    top: 0;
}

/**********************
       CAR_ENGINE
**********************/

.car_engine {
    margin-top: 190px;
}

.car_engine_title {
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 10px;
    border-bottom: 1px solid #6D6D6D;
    margin-bottom: 50px;
}

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

.car_engine_text {
    width: 66%;
}

.car_engine_text ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.car_engine_text ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    padding: 35px 0 10px;
    border-bottom: 1px solid #6D6D6D;
}

.car_engine_text ul li:first-child {
    padding-top: 0;
}

.car_engine_text ul li span {
    color: #B3B3B3;
    font-weight: 300;
    width: 49%;
}

.car_engine_text ul li b {
    font-weight: 400;
    width: 49%;
}

.car_engine_btns {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.car_engine_btns .btn {
    width: 49%;
}

.car_engine_vid {
    width: 32.35%;
    height: 626px;
    border-radius: 3px;
    overflow: hidden;
}

.car_engine_vid video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/**********************
     CAR_COMPLECT
**********************/

.car_complect {
    margin-top: 250px;
}

.car_complect_title {
    font-size: 48px;
    padding-bottom: 15px;
    margin-bottom: 55px;
    font-weight: 500;
    border-bottom: 1px solid #6D6D6D;
}

.car_complect_bg {
    border-radius: 3px;
    overflow: hidden;
}

.car_complect_text {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 40px;
}

.car_complect_list {
    width: 66.2%;
}

.car_complect_list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.car_complect_list ul li {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #6D6D6D;
}

.car_complect_list ul li:first-child {
    margin-bottom: 40px;
}

.car_complect_list ul li:nth-child(2) {
    margin-bottom: 20px;
}


.car_complect_list ul li span {
    width: 25%;
    display: flex;
    align-items: center;
    column-gap: 3px;
}

.car_complect_list ul li span:first-child {
    width: 50%;
}

.car_complect_list ul li span i {
    font-style: normal;
    font-size: 20px;
}

.car_complect_btns {
    width: 32.5%;
}

.car_complect_btns .btn:first-child {
    margin-bottom: 25px;
}


/**********************
        complects
**********************/

.complects {
    margin-bottom: 60px;
}

.complects__container {
}

.complects__title {
    font-size: 48px;
}

.complects__line {
    border-color: #6d6d6d;
    margin: 20px 0 40px 0;
}

.tabs {
    margin-top: 24px;
    display: flex;
    gap: 20px;
}

.tab {
    width: 33%;
    height: 50px;
    border: 1px solid white;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
    font-size: 24px;
    font-weight: 600;
    user-select: none;
}

.tab.current {
    background: white;
    color: #0D1719;
}

.complects__content {
    display: none;
}

.complects__content.current {
    display: flex;
    gap: 20px;
}

.complects__item {
    width: 24%;
}

.complects__info {
    border: 1px solid #6d6d6d;
    padding: 20px;
}

.complects__name {
    text-align: center;
    text-transform: uppercase;
    font-size: 36px;
}

.complects__img-block {
    margin-top: 10px;
}

.complects__img {
}

.complects__params {
    width: 180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.param-item {
}

.param-item b {
}

.complects__btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.complects__btn {
}

#instock-j8 .complects__content {
    justify-content: center;
    gap: 20px;
}

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


.tradein {
    color: #000;
    background: url(../img/tradein_bg.jpg) 50% 0 no-repeat;
    position: relative;
    overflow: hidden;
    width: 1920px;
    transform: translateX(-50%);
    left: 50%;
    padding-top: 80px;
    height: 690px;
    margin-top: 120px;
    box-sizing: border-box;
}
.tradein__topimg-block {
    position: absolute;
    top: 18.5%;
    left: 33.5%;
    z-index: 1;
}
.tradein__topimg {
}
.tradein__container {
}
.tradein__content {
    background: #ffffff60;
    backdrop-filter: blur(25px);
    padding: 40px 50px 40px 50px;
    max-width: 655px;
}
.tradein__title {
    font-size: 28px;
}
.tradein form {}
.tradein form .form-group {
    margin-top: 25px;
}
.tradein form .btn {
    width: 89%;
}
.tradein form .form-group input[type=tel],
.tradein form .form-group input[type=text] {
    color: inherit;
    border-color: #000;
}
.tradein form .form-group select {
    color: inherit;
    background-image: url(../img/ico_select2.svg);
    border-color: #000;
}

.tradein form .form-group input[type=tel]::placeholder,
.tradein form .form-group input[type=text]::placeholder {
    color: inherit;
}
.tradein form .agree_field,
.tradein form .agree_field a {
    color: inherit;
}


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

.credit {
    margin-top: 120px;
    margin-bottom: 170px;
}

.credit_title {
    font-size: 48px;
    padding-bottom: 15px;
    margin-bottom: 40px;
    font-weight: 500;
    border-bottom: 1px solid #6D6D6D;
}

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

.credit_text {
    width: 49.2%;
}

.credit_ags div {
    display: flex;
    align-items: center;
    font-weight: 500;
    margin-bottom: 25px;
}

.credit_ags div span {
    font-size: 32px;
    display: flex;
    column-gap: 3px;
    font-weight: 400;
    margin-right: 20px;
}

.credit_ags div span i {
    font-style: normal;
}

#credit_form input[type=tel] {
    height: 55px;
}

#credit_form .btn {
    margin-top: 40px;
}

.credit_bg {
    width: 49%;
    border-radius: 3px;
    overflow: hidden;
}

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

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

.contacts {
    margin-top: 50px;
    /*padding-bottom: 170px;*/
}

footer .foot_wrap .yurinfo {
    color: #ffffff;
    font-size: 14px;
}

.footer_links {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 15px;
}
.footer_link a {
    color: inherit;
}

.cont_title {
    font-size: 42px;
    margin-bottom: 35px;
}

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

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

.cont_text {
    width: 49%;
}

.cont_text .logo_wrap {
    margin-bottom: 50px;
}

.bot_addr {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 10px;
    border-bottom: 1px solid #6D6D6D;
    margin-bottom: 40px;
}

.bot_addr span {
    color: #6D6D6D;
    font-size: 14px;
    text-transform: uppercase;
}

.bot_phone {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 10px;
    border-bottom: 1px solid #6D6D6D;
    margin-bottom: 60px;
    color: #ffffff;
    text-decoration: none;
}

.bot_phone span {
    color: #6D6D6D;
    font-size: 14px;
    text-transform: uppercase;
}

.quest {
    font-size: 20px;
    margin-bottom: 50px;
}

.cont_text .btn {
    width: 426px;
}


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

footer {
    padding-top: 15px;
    padding-bottom: 25px;
}

footer .switch {
    display: block;
    margin-top: 15px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

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


.copyright {
    font-size: 12px;
    font-weight: 400;
}


/* MODAL LEGAL */


#legal-modal {
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: hsla(0, 0%, 0%, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99995;
}

#legal-modal.legal-modal--shown {
    display: flex;
}

.legal-modal__container {
    width: 90%;
    height: 90%;
    max-width: 950px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /*background-color: #fff;*/
}
  
.legal-modal__close {
    font-size: 1.3em;
    padding: 0.1em 0.2em;
    line-height: 1;
    background-color: red;
}

.legal-modal__frame {
    width: 100%;
    height: 100%;
}
/*------------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 1600px) {
    .title1, .title3, .title3 span, .title2_props {
        font-size: 35px;
    }

    .run_row {
        height: 55px;
    }

    .run_row img {
        height: 33%;
    }
}
@media (max-width: 1380px) {
    
    div[id^="timer"] {
        min-width: 526px !important;
        transform: scale(0.7) !important;
    }
    .timer_form {
        width: 50%;
    }
    .timer_block .timer_title {
        font-size: 20px;
    }
    #timer_form {
        width: 100%;
        display: block;
    }
    #timer_form .form-group {
        position: relative;
        width: 100%;
    }
    .timer {
        width: 50%; 
    }
}
@media (max-width: 1300px) {
    .title_container .btn {
        width: 260px;
    }
}

/*IPAD PRO BEGIN*/
@media (min-width: 768px) and (max-width: 1199px) {
    .logo_wrap {
        margin-right: 0;
    }

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

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

    .top_addr {
        display: none;
    }

    /***********************************************************************/
    .title_container {
        padding-left: 0;
        padding-bottom: 0;
    }

    /***********************************************************************/
    .car_props {
        left: unset;
        right: 0;
    }

.car_props > a {
    margin-left: -23%;
    font-size: 20px;
}

.car_props > a b {
    font-size: 1.5em;
}

    /***********************************************************************/
    .car_techs_text_wrap {
        align-items: normal;
    }

    .car_techs_vid video {
        height: 100%;
        object-fit: cover;
    }

    /***********************************************************************/
    .car_engine_wrap {
        align-items: normal;
    }

    .car_engine_text ul li {
        font-size: 14px;
    }

    .car_engine_vid {
        height: 100%;
    }

    /***********************************************************************/
    .complects__content {
        flex-wrap: wrap;
        gap: 40px;
    }

    .complects__item {
        width: 47%;
    }

    .complects__img-block {
        text-align: center;
    }


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


    .tradein {
    width: 100%;
    background-position-x: 20%;
}
    .tradein__topimg-block {
    display: none;
    width: 100%;
    top: 18.5%;
    left: 42.5%;
}
    .tradein__topimg {}
    .tradein__container {}
    .tradein__content {
    max-width: 410px;
}
    .tradein__title {}

.tradein__title b {
    display: block;
}
    .tradein form {
    width: 100%;
}
    .tradein form .form-group {}
    .tradein form .btn {}
    .tradein form .form-group input[type=tel],
    .tradein form .form-group input[type=text] {    }
    .tradein form .form-group select {}
    .tradein form .agree_field,
    .tradein form .agree_field a {}

    .special .title1 {
        font-size: 20px;
    }

    .special .title2 {
        font-size: 60px;
    }

    .rhombus_block {
        font-size: 30px;
    }

}

/*IPAD PRO BEGIN*/

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

    .anim {
        opacity: 1;
    }

    header .logo_wrap {
        width: 35%;
    }

    .timer_block .timer_btns {
        display: none;
    }

    .timer {
        width: auto;
    }


    /************************************************************/
    .car_image_wrap {
        flex-direction: column;
    }

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

    .car_text {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        width: 100%;
    }

    .car_colors {
        margin-bottom: 40px;
    }

    .car_techs {
        flex-flow: unset;
        width: 100%;
    }

    .car_techs .techs_item {
        width: auto;
    }

    .car_btns {
        margin-top: 0;
        flex-direction: column-reverse;
    }

    .car_btns .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    /************************************************************/
    .car_techs_img1 {
        display: none;
    }

    .car_techs_text {
        width: 100%;
    }

    /************************************************************/
    .car_engine {
        margin-top: 100px;
    }

    /************************************************************/
    .car_complect {
        margin-top: 100px;
    }

    /************************************************************/
    
    .tradein {}
    .tradein__topimg-block {}
    .tradein__topimg {}
    .tradein__container {}
    .tradein__content {}
    .tradein__title {}
    .tradein form {}
    .tradein form .form-group {}
    .tradein form .btn {}
    .tradein form .form-group input[type=tel],
    .tradein form .form-group input[type=text] {    }
    .tradein form .form-group select {}
    .tradein form .agree_field,
    .tradein form .agree_field a {}

    /************************************************************/
    .credit {
        margin-top: 100px;
        margin-bottom: 100px;
    }

    .credit_wrap {
        flex-direction: column-reverse;
    }

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

    .credit_bg {
        width: 100%;
    }

    .credit_bg img {
        width: 100%;
    }

    /************************************************************/
    .cont_wrap {
        flex-direction: column-reverse;
    }

    .cont_text {
        width: 100%;
    }

    #map1 {
        width: 100%;
        margin-top: 30px;
    }

    .special .title1 {
        font-size: 17px;
    }

    .special .title2 {
        font-size: 40px;
    }
    .title3 {
        font-size: 26px;
    }
    .title2_props {
        font-size: 26px;
    }
    .title3 span {
        font-size: 34px;
    }
    .rhombus_block {
        font-size: 22px;
    }
    .title2_props:before {
        width: 4px;
        height: 4px;
        top: 32%;
    }

    .title_container .btn {
        width: 220px;
        height: 44px;
    }
}

/*IPAD END*/

/*MOBILE BEGIN*/
@media (max-width: 991px) {
    .timer {
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
    }
    .timer_form {
        width: 100%;
    }
    #timer_form {
        width: 100%;
        display: block;
        margin-top: 124px;
    }
    .timer_block .timer_wrapper {
        display: grid;
        justify-content: center;
        padding: 18px;
    }
    .timer_block .timer_title {
        text-align: center;
    }
    .title2 .sup_3 {
        top: 0px;
        font-size: 14px;
    }

    sup {
        font-size: 14px;
    }
}

@media (max-width: 767px) {

    .mobile_phone {
        position: fixed;
        bottom: 0px;
        left: 0px;
        right: 0;
        width: 100%;
        padding: 10px;
        display: block;
        background: #f3f3f3;
        z-index: 12;
        text-align: center;
        box-shadow: 0px 0px 5px hwb(0deg 0% 100% / 10%)
    }

    .mobile_phone a {
        display: block;
        color: inherit;
        text-decoration: none;
        font-weight: 700;
    }

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

    .timer_block .timer_title {
        text-align: center;
        font-size: 18px;
    }
    .timer {
        top: 44px;
    }
    #timer_form {
        margin-top: 90px;
    }
    .timer_block .timer_title br {
        display: none;
    }
    
    .timer_block .container {
        flex-direction: column;
    }

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

    .timer_block .timer_btns {
        width: 100%;
    }
    .title3 span {
        font-size: 28px;
    }
    .anim {
        opacity: 1;
    }

    .fancybox-button svg {
        right: 0;
    }

    .banner-links {
        display: grid;
    }

    .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%;
        padding: 110px 30px;
    }

    .popup_container h2 {
        font-size: 26px;
    }

    /*******************************************************************/
    header {
        padding-top: 10px;
    }

    .head_wrap {
        flex-direction: column;
        padding-bottom: 10px;
        align-items: flex-end;
    }

    .header_menu {
    display: none;
}
    .header_menu_item {}

    .logo_wrap {
        width: 100%;
        margin-right: 0;
    }

    .top_addr {
        display: none;
    }

    .top_phone {
    }

    header .btn {
        display: none;
    }

    /************************************************************/
    .banner {
        background-size: 100%;
        margin-top: 84px;
        background-position: 50% 0px;
        background-size: 425px;
    }

    .title_container {
        padding: 0 0 30px;
        text-align: center;
    }

    .title1 {
        /*padding-bottom: 210px;*/
    }

    .title2 {
        padding-right: 0;
        font-size: 24px;
    }

    .title2 br {
        display: none;
    }

    .title2::after {
        width: 100%;
    }

    .title3 {
        font-size: 4.2vw;
    }

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

    .special.title_container {
        color: white;
        padding-top: 0;
    }

    .special .title_wrap {
        background: unset;
        padding-top: 230px;
        padding-bottom: 0;
    }

    .special .title1 {
        font-size: 24px;
        text-align: center;
    }

    .special .title2 {
        font-size: 40px;
        margin-bottom: 10px;
        text-align: center;
        line-height: 40px;
    }
    .title2_props {
        font-size: 28px;
    }
    .special .title2 b {
        white-space: nowrap;
    }

    .rhombus_block {

        font-size: 22px;
    }

    .banner-links {
        margin-right: 0;
    }

    .run_row {
        height: 60px;
    }

    .run_row img {
        margin: 0 20px;
    }


    /**************************************************************************************/
    .car_item {
        padding: 30px 0;
    }

    .car_image_wrap {
        flex-direction: column;
    }

    .car_title {
        text-align: center;
        margin-bottom: 10px;
    }

    .car_props {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 20px;
    }

    .car_props > a {
        font-size: 16px;
        width: 100%;
    }

.car_props > a span {
    padding-left: 55px;
}

    .car_props > a b {
        font-size: 1.5em;
    }

    .car_image {
        width: 100%;
    }

    .car_text {
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
    }

    .car_techs .techs_item {
        width: 47%;
    }

    .car_techs .techs_item span {
        font-size: 12px;
    }

    .car_techs .techs_item b {
        font-size: 60px;
    }

    .car_techs .techs_item {
        margin-bottom: 10px;
        text-align: center;
    }

    .car_colors {
        justify-content: center;
        margin-bottom: 30px;
    }

    .car_colors > span {
        display: none;
    }

    .car_btns {
        margin-top: 0;
        flex-direction: column;
    }

    .car_btns .btn {
        margin-bottom: 10px;
        width: 100%;
    }

    /************************************************************/
    .car_techs {
        margin-top: 40px;
    }

    .car_techs_title {
        text-align: center;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .car_techs_text_wrap {
        width: 100%;
        flex-direction: column-reverse;
    }

    .car_techs_img1 {
        display: none;
    }

    .car_techs_text {
        width: 100%;
    }

    .car_techs_vid {
        display: none;
    }

    .car_techs_gallery {
        margin-bottom: 20px;
    }

    .car_techs_gallery .techs_gallery_nav {
        position: relative;
        bottom: 0;
        margin-top: 15px;
    }

    .car_techs_gallery .swiper-button-prev,
    .car_techs_gallery .swiper-button-next {
        margin-top: 0;
    }


    /************************************************************/
    .car_engine {
        margin-top: 50px;
    }

    .car_engine_text {
        width: 100%;
    }

    .car_engine_text ul li {
        font-size: 14px;
    }

    .car_engine_vid {
        display: none;
    }

    .car_engine_btns {
        flex-direction: column;
        row-gap: 10px;
        margin-top: 20px;
    }

    .car_engine_btns .btn {
        width: 100%;
    }

    /************************************************************/
    .car_complect {
        margin-top: 50px;
    }

    .car_complect_title {
        text-align: center;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .car_complect_text {
        flex-direction: column;
    }

    .car_complect_list {
        width: 100%;
    }

    .car_complect_list ul li {
        font-size: 14px;
    }

    .car_complect_list ul li span:first-child {
        width: 40%;
    }

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

    .car_complect_btns .btn:first-child {
        margin-bottom: 10px;
    }


    /************************************************************/
    .complects {
        margin-top: 50px;
    }

    .complects__title {
        font-size: 22px;
    }

    .complects__content {
        flex-wrap: wrap;
        gap: 35px;
    }

    .complects__item {
        width: 100%;
    }

    .complects__btns {
        margin-top: 10px;
    }


    /************************************************************/
    
    .tradein {
    margin-top: 50px;
    padding-top: 298px;
    padding-bottom: 20px;
    width: 100%;
    left: 0;
    transform: unset;
    height: auto;
    background-size: 768px auto;
    background-position: 64% 0;
    background-color: #fff;
}
    .tradein__topimg-block {
    display: none;
}
    .tradein__topimg {}
    .tradein__container {}
    .tradein__content {
    padding: 0;
}
    .tradein__title {}

/* .tradein__title b {
    display: block;
} */
    .tradein form {
    width: 100%;
}
    .tradein form .form-group {}
    .tradein form .btn {
    width: 100%;
}
    .tradein form .form-group input[type=tel],
    .tradein form .form-group input[type=text] {    }
    .tradein form .form-group select {}
    .tradein form .agree_field,
    .tradein form .agree_field a {}

    /************************************************************/
    .credit {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .credit_wrap {
        flex-direction: column-reverse;
    }

    .credit_title {
        text-align: center;
        font-size: 24px;
        margin-bottom: 20px;
    }

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

    .credit_bg {
        width: 100%;
    }

    .credit_bg img {
        width: 100%;
    }

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

    /************************************************************/
    .contacts {
        padding-bottom: 50px;
    }

    .cont_title {
        font-size: 24px;
    }

    .cont_wrap {
        flex-direction: column-reverse;
    }

    .cont_text {
        width: 100%;
    }

    .bot_phone {
        margin-bottom: 30px;
    }

    .bot_addr {
        font-size: 16px;
    }

    .bot_phone {
        font-size: 16px;
    }

    .quest {
        text-align: center;
        margin-bottom: 20px;
    }

    #map1 {
        width: 100%;
        margin-top: 30px;
        height: 350px;
    }

    footer {
        padding-bottom: 75px;
    }
}

/*MOBILE END*/

/* Portrait phones and smaller */
@media (max-width: 470px) {
    .timer {
        top: 72px;
    }
    #timer_form {
        margin-top: 106px;
    }
    div[id^="timer"] {
        transform: scale(0.6) !important;
    }
    .title2_props {
        font-size: 20px;
    }
    .title3 span {
        font-size: 22px;
    }

    .special .title_wrap {
        padding-top: 230px;
    }
    .title3 {
        font-size: 5vw;
    }
}

@media (max-width: 360px) {
    .title1 {
        /*padding-bottom: 180px;*/
    }

    .car_techs_title {
        font-size: 22px;
    }

    .car_complect_title {
        font-size: 22px;
    }
}

.form-control {
    font-family: "Dopis" !important;
}