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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #241E20;
    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: 1140px;
    position: relative;
}

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

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

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

@media (min-width: 1200px) {
    .container {
        width: 1580px;
        padding: 0 30px;
        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: 50px;
    width: 100%;
    color: black;
    font-size: 16px;
    box-sizing: border-box;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
    padding: 0px 20px;
    outline: none;
    background: transparent;
    border-radius: 0px;
    border: 1px solid #E4E5E7;
}

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 #ffffff;
    font-family: 'Montserrat', sans-serif;
    outline: none;
}

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

form .form-group button:hover {
}


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

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

.btn {
    box-sizing: border-box;
    background-color: #D5001C;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: 50px;
    font-size: 16px;
    font-weight: 500;
    color: transparent;
    text-decoration: none;
    outline: none;
    border: none;
    overflow: hidden;
    transition: background-color 150ms, text-shadow 200ms;
    text-align: center;
    text-shadow: 0 0 0 #FFFFFF, 0 3rem 0 #FFFFFF;
}

.btn:hover {
    background-color: #9C0015;
    text-shadow: 0 -3rem 0 #FFFFFF, 0 0 0 #FFFFFF;
}

.btn.glass {
    border: 1px solid #241E20;
    background-color: transparent;
    text-shadow: 0 0 0 #241e20, 0 3rem 0 #FFFFFF;
}

.btn.glass:hover {
    background-color: #241e20;
    text-shadow: 0 -3rem 0 #241e20, 0 0 0 #FFFFFF;
}

.btn.white {
    background-color: #FFFFFF;
    text-shadow: 0 0 0 #241e20, 0 3rem 0 #FFFFFF;
}

.btn.white:hover {
    background-color: #241e20;
    text-shadow: 0 -3rem 0 #241e20, 0 0 0 #FFFFFF;
}

.block_title {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
}

.block_title span {
    display: inline-block;
    padding-left: 37px;
    background: url("../img/arrow.png") 0 50% no-repeat;
}

.anim {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.delay1 {
    transition-delay: .3s;
}

.delay2 {
    transition-delay: .6s;
}

.delay3 {
    transition-delay: .9s;
}


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

header {
    position: fixed;
    top: -150px;
    left: 0;
    right: 0;
    z-index: 5;
    background: #ffffff;
    transition: all .5s ease;
}

header.show {
    top: 0;
}

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

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

.logo_wrap .logo1 {
    margin-right: 25px;
    padding-right: 25px;
    border-right: 1px solid #E4E5E7;
}

.top_addr {
    padding-left: 33px;
    background: url("../img/ico_loc.png") 0 50% no-repeat;
    font-weight: 500;
}

.top_addr span {
    display: block;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 5px;
}


.top_phone {
    display: block;
    padding-left: 35px;
    background: url("../img/ico_phone.png") 0 50% no-repeat;
    font-weight: 500;
}

.top_phone span {
    display: block;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 5px;
}

.head_wrap .btn {
    width: 208px;
}

.menu {
    border-top: 1px solid #E4E5E7;
    display: flex;
    justify-content: space-between;
}

.menu > div {
    display: flex;
    gap: 0 100px;
}

.menu a {
    display: block;
    padding: 15px 0;
    font-weight: 500;
    position: relative;
    transition: all .3s;
}

.menu a:before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #D5001C;
    transition: all .3s;
}

.menu a:hover {
    color: #d5001c;
}

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

header .m_btn {
    display: none;
}


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

.banner {
    margin-top: 143px;
}

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

.title_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    width: 100%;
    padding: 50px 30px;
    left: 0;
    z-index: 1;
    /* background: url("../img/title_bg.png") 50% 0 no-repeat; */
}

.title_container .title1 {
    transform: skewX(-23.5deg);
    background: #D5001C;
    color: #ffffff;
    font-weight: 500;
    text-transform: uppercase;
    margin-right: -485px;
    margin-bottom: -10px;
    font-size: 20px;
    z-index: 4;
}

.title_container .title1 span {
    display: block;
    transform: skewX(23.5deg);
    padding: 6px 25px;
}

.title_container .title2 {
    position: relative;
    font-size: 74px;
    font-weight: 800;
    z-index: 3;
}

.title_container .title2::after {
    content: '';
    position: absolute;
    border: 5px solid #ffffff;
    width: 100%;
    height: 100%;
    top: -12px;
    left: -25px;
    padding: 20px 20px 0px 20px;
    z-index: -1;
    background: #ffffff;
}

.title_container .title2 span {
    font-weight: 500;
    font-size: 48px;
    display: block;
}

.title_container .title2 span:last-child {
    text-align: right;
}

.timer_block {
    margin-top: -17px;
    position: relative;
}

.timer_block .btn {
    width: 493px;
}

.timer_block .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
    height: 158px;
}

.timer_block:before {
    content: '';
    display: block;
    width: 38.5%;
    height: 124px;
    position: absolute;
    top: 17px;
    left: -6%;
    filter: drop-shadow(0px 5px 16.8px rgba(61, 69, 67, 0.38));
    transform: skewX(-23.5deg);
    background: #FFFFFF;
    z-index: 1;
}

.timer_block:after {
    content: '';
    display: block;
    width: 72%;
    height: 158px;
    position: absolute;
    top: 0;
    right: -3%;
    filter: drop-shadow(0px 5px 16.8px rgba(61, 69, 67, 0.38));
    transform: skewX(-23.5deg);
    background: #D5001C;
}

.timer_title {
    color: #d5001c;
    font-size: 36px;
    font-weight: 500;
}

.timer {
    margin-right: -50px;
    position: relative;
}

span[id^=timer-number] {
    font-weight: 700;
    font-family: 'Montserrat' !important;
}

span[id^=timer-text] {
    font-family: 'Montserrat' !important;
    font-weight: 500;
}

#timer_form {
    width: 493px;
}

#timer_form input[type=tel]::placeholder {
    color: #ffffff;
}

#timer_form .agree_field {
    color: #e4e5e7;
}

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

.cars_items {
    margin-top: 100px;
}

.car_item {
    margin-top: 100px;
}

.car_item#m3 {
    background: url("../img/m3_bg.png") 50% 0 no-repeat;
}

.car_item#m3e {
    background: url("../img/m3e_bg.png") 50% 0 no-repeat;
}

.car_item#m6 {
    background: url("../img/m6_bg.png") 50% 0 no-repeat;
}

.car_name {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    position: relative;
    top: 60px;
    z-index: 1;
}

.car_name .car_new {
    width: 260px;
    position: absolute;
    top: -37px;
    right: calc(50% - 315px);
    background: #D5001C;
    color: #ffffff;
    transform: skewX(-23.5deg);
    font-size: 16px;
    font-weight: 500;
}

.car_name .car_new span {
    text-align: center;
    display: block;
    transform: skewX(23.5deg);
    padding: 6px 0;
}

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

.car_text {
    margin-bottom: 100px;
    width: 25%;
}

.car_profit {
    display: inline-block;
    border-radius: 3px;
    border: 1px solid #D5001C;
    font-size: 24px;
    padding: 8px 15px;
    color: #d5001c;
}

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

.car_props > a {
    display: block;
    padding-left: 47px;
    font-weight: 500;
    font-size: 24px;
}

.car_props > a span {
    display: block;
    color: transparent;
    text-shadow: 0 0 0 #241E20, 0 4rem 0 #241E20;
    transition: text-shadow .3s ease-in-out;
    overflow: hidden;
}

.car_props > a:hover span {
    text-shadow: 0 -4rem 0 #241E20, 0 0 0 #241E20;
}

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

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

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

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

.car_image_wrap {
    width: 42%;
    padding-top: 100px;
    background: url("../img/car_bg.png") 70% 0 no-repeat;
}

.car_colors {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 30px;
    margin-top: -50px;
}

.car_colors > span {
    font-size: 20px;
    margin-right: -10px;
}

.car_colors > div {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    transition: all .3s;
    cursor: pointer;
}

.car_colors > div.active {
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.25));
}

.car_btns {
    width: 32.44%;
    display: flex;
    flex-direction: column;
    gap: 15px 0;
    margin-bottom: 100px;
}

.car_techs {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid #E4E5E7;
}

.car_techs > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 18px;
}

.car_techs > div b {
    font-size: 36px;
    margin-bottom: 5px;
}

.car_techs > div i {
    font-style: normal;
}

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

#instock {
    margin-top: 110px;
}

#filter_table {
    display: none;
}

.filter_quick_menu {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    gap: 0 20px;
    border-bottom: 1px solid #E4E5E7;
}

.filter_quick_menu li {
    display: block;
    font-size: 36px;
    font-weight: 600;
    color: #e4e5e7;
    width: 100%;
    transition: all .3s;
    padding-bottom: 23px;
    position: relative;
    cursor: pointer;
}


.filter_quick_menu li:after {
    content: '';
    height: 3px;
    width: 0;
    background: #d5001c;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all .3s;
}

.filter_quick_menu li.current {
    color: #d5001c;
}

.filter_quick_menu li.current:after {
    width: 100%;
}

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

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

.tb_complects {
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
    margin-top: 55px;
    gap: 30px 0;
}

.tb_complects > div {
    width: 32.5%;
    background: #F7F7F8;
    padding: 30px;
}

.compl_name {
    font-size: 32px;
    font-weight: 500;
    position: relative;
    text-align: center;
}

.compl_name span {
    position: absolute;
    top: 0;
    right: 0;
}

.compl_name span {
    width: 186px;
    position: absolute;
    top: -45px;
    right: 0;
    background: #E4E5E7;
    color: #D5001C;
    transform: skewX(-23.5deg);
    font-size: 16px;
    font-weight: 500;
}

.compl_name span b {
    text-align: center;
    display: block;
    transform: skewX(23.5deg);
    padding: 6px 0;
    font-weight: 500;
}

.compl_image {
    margin-top: -10px;
    text-align: center;
}

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

.compl_techs div {
    display: flex;
    justify-content: space-between;
    padding-left: 19px;
    position: relative;
}

.compl_techs div:before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    top: calc(50% - 4px);
    left: 0;
    background: #D5001C;
    border-radius: 50%;
}

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

.tb_complects_showmore {
    display: block;
    font-size: 18px;
    margin-top: 50px;
}

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

.tradein {
    display: flex;
    justify-content: space-between;
    margin-top: 100px;
    position: relative;
    height: 543px;
}

.tradein > img {
    display: none;
}

.tradein:before {
    content: '';
    display: block;
    width: 765px;
    height: 100%;
    position: absolute;
    top: 0;
    left: calc(50% - 381px);
    background: #FFFFFF;
    transform: skewX(-23.5deg);
    z-index: 1;
}

.tradein_wrap {
    background: #F7F7F8;
    width: 725px;
    height: 543px;
    transform: skewX(-23.5deg);
    padding-top: 45px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: calc(50% - 362px);
    z-index: 2;
}

.tradein_wrap.animated {
    transform: skewX(-23.5deg) translateX(0);
}

.tradein_text {
    transform: skewX(23.5deg) translateX(200%);
    width: 494px;
    margin: 0 auto;
    max-width: 100%;
    transition: all .5s .6s ease-out;
}

.tradein_wrap.animated .tradein_text {
    transform: skewX(23.5deg) translateX(0);
}

.tradein_text .block_title {
    text-align: left;
}

.tradein_comment {
    margin-top: 45px;
    position: relative;
    font-weight: 500;
    color: #ffffff;
}

.tradein_comment span {
    position: relative;
}

.tradein_comment:before {
    content: '';
    display: block;
    width: 200%;
    height: 31px;
    background: #D5001C;
    position: absolute;
    top: -5px;
    left: -50%;
}

#tradein_form {
    margin-top: 25px;
}

#tradein_form select,
#tradein_form input[type=text],
#tradein_form input[type=tel] {
    background-color: transparent;
    color: #241e20;
    border-color: #241e20;
}

.tradein_img1 {
    overflow: hidden;
}

.tradein_img1 img {
    transition: all .5s .3s ease-out;
    transform: translateX(100%);
}

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

.tradein_img2 {
    overflow: hidden;
}

.tradein_img2 img {
    transition: all .5s .9s ease-out;
    transform: translateX(100%);
}

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


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

.credit {
    padding: 85px 0;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.credit > img {
    display: none;
}

.credit:after {
    content: '';
    display: block;
    width: 65%;
    height: 100%;
    background: #E4E5E7;
    position: absolute;
    top: 0;
    right: -7%;
    transform: skewX(-23.5deg);
}

.credit_wrap {
    background: #F7F7F8;
    width: 62%;
    height: 369px;
    transform: skewX(-23.5deg);
    padding-top: 40px;
    overflow: hidden;
    position: absolute;
    top: calc(50% - 184.5px);
    left: -6%;
    z-index: 2;
    padding-left: 19rem;
}

.credit_text {
    transform: skewX(23.5deg) translateX(300%);
    width: 494px;
    max-width: 100%;
    transition: all .7s .3s ease-out;
}

.animated .credit_text {
    transform: skewX(23.5deg) translateX(0);
}

.credit_text .block_title {
    text-align: left;
}

.credit_comment {
    margin-top: 45px;
    position: relative;
    font-weight: 500;
    color: #ffffff;
}

.credit_comment span {
    position: relative;
}

.credit_comment:before {
    content: '';
    display: block;
    width: 300%;
    height: 31px;
    background: #D5001C;
    position: absolute;
    top: -5px;
    left: -50%;
}

#credit_form {
    margin-top: 25px;
}

#credit_form input[type=tel] {
    background-color: transparent;
    color: #241e20;
    border-color: #241e20;
}

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

.credit_img img {
    transition: all .5s .7s ease-out;
    transform: translateX(100%);
}

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

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

.contacts {
    position: relative;
}

.contacts:before {
    content: '';
    display: block;
    width: 52%;
    height: 100%;
    transform: skewX(23.5deg);
    position: absolute;
    top: 0;
    left: -10.1%;
    z-index: 1;
    background: #F7F7F8;
}

.cont_wrap {
    position: absolute;
    z-index: 2;
    padding-top: 50px;
}

.cont_wrap .block_title {
    text-align: left;
}

.bot_addr {
    margin-top: 20px;
    padding-left: 43px;
    font-size: 20px;
    font-weight: 500;
    background: url("../img/ico_loc.png") 0 50% no-repeat;
}

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

.bot_phone {
    display: block;
    margin-top: 20px;
    padding-left: 43px;
    font-size: 20px;
    font-weight: 500;
    background: url("../img/ico_phone.png") 0 50% no-repeat;
}

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

.quest {
    margin-top: 60px;
    font-weight: 700;
    font-size: 24px;
}

#cont_form {
    margin-top: 20px;
    width: 494px;
    max-width: 100%;
}

#cont_form input[type=tel] {
    border-color: #241E20;
}

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

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


footer {
    padding: 25px 0;
    background: #241E20;
}

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

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

.cont_logo_wrap .cont_logo1 {
    padding-right: 25px;
    margin-right: 25px;
    border-right: 1px solid #E4E5E7;
}

.yurinfo {
    font-size: 12px;
    color: #e4e5e7;
}

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

.foot_links a {
    font-size: 12px;
    color: #e4e5e7;
}

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

footer .chart_switch {}
footer .chart {
    color: white;
    font-size: 12px;
    padding-top: 20px;
    text-align: left;
    display: none;
    text-align: center;
}


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


@media (max-width: 1600px) {
    #timer_form {
        width: 360px;
    }

    .timer_block .btn {
        width: 360px;
    }

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

    .car_text {
        margin-bottom: 30px;
    }

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

    .credit_wrap {
        padding-left: 10rem;
    }

    .credit:after {
        width: 70%;
        right: -8%;
    }
}

@media (min-width: 768px) and (max-width: 1300px) {
    .timer_block {
        margin-top: 0;
        background: #D5001C;
        padding: 20px 0;
    }

    .timer_block .container {
        flex-direction: column;
        gap: 20px 0;
        height: auto;
    }

    .timer_title {
        color: #ffffff;
        text-align: center;
    }

    .timer {
        margin-right: 0;
    }

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

/*IPAD PRO BEGIN*/
@media (min-width: 768px) and (max-width: 1199px) {
    .container {
        width: 100%;
    }

    .top_addr {
        display: none;
    }

    .menu > div {
        gap: 0 30px;
    }

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

    .banner picture img {
        height: 650px;
    }

    #timer_form {
        display: none;
    }

    .timer {
        margin-right: 50px;
    }

.timer_block .btn {
    width: 200px;
}

    .timer_title {
        font-size: 28px;
    }

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

    .car_wrap {
        flex-flow: wrap;
    }

    .car_text {
        width: 40%;
        margin-bottom: 50px;
    }

    .car_image_wrap {
        width: 59%;
    }

    .car_btns {
        margin-top: 50px;
        width: 100%;
        flex-direction: row;
        gap: 0 20px;
        margin-bottom: 0;
    }

    .car_btns .btn {
        width: 100%;
    }

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

    .tb_complects > div {
        padding: 30px 15px 15px;
    }

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

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

    .tradein_text {
        width: 380px;
    }

    .tradein:before {
        width: 640px;
        left: calc(50% - 320px);
    }

    .tradein_wrap {
        width: 600px;
        left: calc(50% - 300px);
    }

    .tradein_comment {
        white-space: nowrap;
    }

    .tradein_comment:before {
        width: 250%;
    }

    .tradein_img1 {
        position: absolute;
        top: 0;
        left: 0;
    }

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

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

    .credit_wrap {
        left: -8%;
        padding-left: 7rem;
    }

    .credit_img {
        right: -190px;
    }

    #credit_form {
        width: 350px;
    }

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

    #cont_form {
        width: 350px;
    }

    .bot_addr {
        font-size: 16px;
    }

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

    .contacts:before {
        width: 54%;
    }

    .credit:after {
        width: 80%;
        right: -12%;
    }

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

    .cont_logo_wrap {
        width: 30%;
    }
}

/*IPAD PRO BEGIN*/

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

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

    header {
        top: 0 !important;
    }

    .logo_wrap {
        width: 40%;
    }

    .logo_wrap .logo1 {
        margin-right: 15px;
        padding-right: 15px;
    }

    .head_wrap .btn {
        /*display: none;*/
        width: 200px;
    }

    .menu > div {
        gap: 0 15px;
    }

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

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

    .banner {
        margin-top: 120px;
    }

    .banner picture img {
        height: 500px;
    }

    .title_container {
        padding: 50px 15px;
        background-position: 50% 100%;
    }

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

    .timer_block {
        margin-top: 0;
        background: #D5001C;
        padding: 20px 0;
    }

    .timer_block:before {
        display: none;
    }

    .timer_block:after {
        display: none;
    }

    .timer_block .container {
        flex-direction: column;
        gap: 20px 0;
        height: auto;
    }

    .timer_title {
        color: #ffffff;
        text-align: center;
    }

    .timer_title br {
        display: none;
    }

    .timer {
        margin-right: 0;
    }

    #timer_form {
        display: block;
        width: 100%;
    }

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

    .car_name {
        top: 0;
    }


    .car_wrap {
        flex-direction: column;
    }

    .car_image_wrap {
        order: 1;
        width: 100%;
        padding-top: 0;
    }

    .car_image {
        text-align: center;
    }

    .car_text {
        order: 2;
        width: 100%;
        margin-top: 30px;
        margin-bottom: 0;
    }

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

    .car_techs {
        margin-top: 20px;
    }

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

    .filter_quick_menu li {
        font-size: 24px;
    }

    .tb_complects > div {
        width: 49%;
    }

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

    .tradein {
        background: #F7F7F8;
        height: auto;
        flex-direction: column;
    }

    .tradein > img {
        display: block;
    }

    .tradein:before {
        display: none;
    }

    .tradein_img1,
    .tradein_img2 {
        display: none;
    }

    .tradein_wrap {
        transform: unset !important;
        width: 100%;
        left: 0;
        padding: 20px 15px;
        height: auto;
        position: relative;
    }

    .tradein_text {
        transform: unset !important;
        width: 100%;
    }

    .tradein_text .block_title {
        text-align: center;
    }

    .tradein_comment {
        text-align: center;
    }

    #tradein_form {
        width: 100%;
    }

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

    .credit {
        flex-direction: column;
        padding-top: 0;
    }

    .credit > img {
        display: block;
    }

    .credit:after {
        display: none;
    }

    .credit_img {
        display: none;
    }

    .credit_wrap {
        transform: unset !important;
        height: auto;
        position: relative;
        top: 0;
        left: 0;
        padding: 20px 15px;
        width: 100%;
    }

    .credit_text {
        width: 100%;
        transform: unset !important;
    }

    .credit_text .block_title {
        text-align: center;
    }

    .credit_comment {
        text-align: center;
    }

    #credit_form {
        width: 100%;
    }

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

    .contacts {
        background: #F7F7F8;
    }

    .contacts:before {
        display: none;
    }

    .cont_wrap {
        position: relative;
        padding: 30px 0;
    }

    #cont_form {
        width: 100%;
    }

    .quest br {
        display: none;
    }

    #map1 {
        height: 400px;
        background-position: 75% 50%;
    }

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

    .foot_wrap {
        flex-flow: wrap;
        gap: 30px 0;
    }

    .cont_logo_wrap {
        width: 49%;
        order: 1;
    }

    .yurinfo {
        order: 3;
    }

    .foot_links {
        width: 35%;
        order: 2;
    }


}

/*IPAD END*/

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

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


    .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: 35px;
        right: 15px;
    }

    header .m_btn span {
        position: relative;
        display: block;
        width: 30px;
        height: 3px;
        background: #D5001C;
        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 > div {
        flex-direction: column;
        align-items: center;
        row-gap: 10px;
    }

    .menu a {
        padding: 5px 0;
    }

    .menu a:before {
        display: none;
    }

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

    header {
        top: 0 !important;
    }

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

    .logo_wrap {
        width: 85%;
    }

    .logo_wrap .logo1 {
        margin-right: 10px;
        padding-right: 10px;
    }

    .top_addr {
        display: none;
    }

    .head_wrap .btn {
        display: none;
    }

    .top_phone {
        background-size: 20px;
        padding: 5px 0 5px 30px;
        margin: 0 auto;
    }

    .top_phone span {
        display: none;
    }

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

    .banner {
        margin-top: 100px;
    }

    .banner picture img {
        height: 250px;
    }

    .title_container {
        background: none;
        position: relative;
        color: #241e20;
        padding: 10px 0;
        left: 0;
        top: 0;
    }

    .title_container .title1 {
        background: #D5001C;
        color: #ffffff;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .title_container .title2 {
        color: #241e20;
        text-align: center;
        font-size: 9vw;
    }

    .title_container .title2 span {
        font-size: 7vw;
    }

    .title_container .title2 span:last-child {
        text-align: center;
    }

    .title_container .title2::after {
        display: none;
    }

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

    .timer_block {
        margin-top: 0;
        background: #D5001C;
        padding: 20px 0;
    }

.timer_block .btn {
    width: 100%;
}

    .timer_block:before {
        display: none;
    }

    .timer_block:after {
        display: none;
    }

    .timer_block .container {
        flex-direction: column;
        gap: 10px 0;
        height: auto;
    }

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

    .timer_title br {
        display: none;
    }

    .timer {
        margin-right: 0;
    }

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

    #timer_form {
        display: block;
        width: 100%;
    }

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

    .cars_items {
        margin-top: 50px;
    }

    .block_title {
        font-size: 7vw;
    }

    .car_item {
        margin-top: 70px;
        background-size: 230% !important;
    }

    .car_name {
        top: 0;
        font-size: 7vw;
    }

    .car_name .car_new {
        right: 0;
        width: 130px;
    }

    .car_wrap {
        flex-direction: column;
    }

    .car_image_wrap {
        order: 1;
        width: 100%;
        padding-top: 40px;
        background-size: 100%;
    }

    .car_colors {
        margin-top: -20px;
        gap: 0 15px;
    }

    .car_colors span {
        font-size: 4vw;
        margin-right: 0;
    }

    .car_image {
        text-align: center;
    }

    .car_text {
        order: 2;
        width: 100%;
        margin-top: 30px;
        margin-bottom: 0;
    }

    .car_profit {
        width: 100%;
        text-align: center;
        font-size: 6vw;
    }

    .car_props {
        gap: 10px 0;
    }

    .car_props > a {
        font-size: 5vw;
        padding: 5px 0 5px 45px;
    }

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

    .car_techs {
        margin-top: 20px;
        flex-flow: wrap;
        gap: 15px 0;
        padding-top: 20px;
    }

    .car_techs > div {
        width: 49%;
        font-size: 3vw;
    }

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

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

    .filter_quick_menu {
        flex-direction: column;
        border: none;
        margin-top: 20px;
    }

    .filter_quick_menu li {
        font-size: 24px;
        padding: 15px 0;
        text-align: center;
        border-bottom: 1px solid #E4E5E7;
    }

    .tb_complects > div {
        width: 100%;
        padding: 30px 15px;
    }

    .tb_complects_showmore {
        margin-top: 30px;
        font-size: 16px;
    }

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

    .tradein {
        background: #F7F7F8;
        height: auto;
        flex-direction: column;
    }

    .tradein > img {
        display: block;
    }


    .tradein:before {
        display: none;
    }

    .tradein_img1,
    .tradein_img2 {
        display: none;
    }

    .tradein_wrap {
        transform: unset !important;
        width: 100%;
        left: 0;
        padding: 20px 15px;
        height: auto;
        position: relative;
    }

    .tradein_text {
        transform: unset !important;
        width: 100%;
    }

    .tradein_text .block_title {
        text-align: center;
    }

    .tradein_comment {
        text-align: center;
        margin-top: 30px;
    }

    .tradein_comment:before {
        height: 48px;
    }

    #tradein_form {
        width: 100%;
    }

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

    .credit {
        flex-direction: column;
        padding: 0;
    }

    .credit > img {
        display: block;
    }

    .credit:after {
        display: none;
    }

    .credit_img {
        display: none;
    }

    .credit_wrap {
        transform: unset !important;
        height: auto;
        position: relative;
        top: 0;
        left: 0;
        padding: 20px 15px;
        width: 100%;
    }

    .credit_text {
        width: 100%;
        transform: unset !important;
    }

    .credit_text .block_title {
        text-align: center;
    }

    .credit_comment {
        text-align: center;
        margin-top: 30px;
    }

    .credit_comment:before {
        height: 48px;
    }

    #credit_form {
        width: 100%;
    }

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

    .contacts {
        background: #F7F7F8;
    }

    .contacts:before {
        display: none;
    }

    .cont_wrap {
        position: relative;
        padding: 30px 0;
    }

    .bot_addr {
        font-size: 4vw;
    }

    #cont_form {
        width: 100%;
    }

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

    #map1 {
        height: 350px;
        background-position: 67.5% 50%;
    }

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

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

    .cont_logo_wrap {
        width: 100%;
    }

    .yurinfo {
        font-size: 3vw;
    }

    .foot_links a {
        font-size: 3vw;
    }

}

/*MOBILE END*/

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

}

@media (max-width: 360px) {
    .banner picture img {
        height: 200px;
    }

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

    .timer_block .container {
        gap: 0;
    }

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

@media (max-width: 320px) {

}