html {
    overflow-x: hidden;
}

body {
    font-family: 'Roboto';
    font-size: 16px;
    color: black;
    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;
}


.resp_table {
    width: 100%;
}

.resp_table tr td:before {
    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: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%;
    }
}

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

@media (min-width: 1200px) {
    .container {
        width: 1300px;
        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;
}

.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: 'Roboto';
    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: 'Roboto';
    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;
    height: 38px;
    font-size: 16px;
    font-weight: 700;
    height: 60px;
}

.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 input {
    position: absolute;
    top: -1px;
    left: 0px;
    margin: -0px;
}

.agree_field span {
    padding-left: 25px;
    display: inline-block;
}

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


form {}

form .form-group {
    margin-bottom: 10px;
    position: relative;
}

form .form-group input[type=tel],
form .form-group input[type=text],
form .form-group select {
    height: 56px;
    width: 100%;
    color: #000000;
    font-size: 14px;
    box-sizing: border-box;
    font-weight: 600;
    font-family: 'Roboto';
    padding: 0px 15px;
    outline: none;
    background: transparent;
    border-radius: 0px;
    border: 1px solid #000000;
    ;
}

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

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

.btn.dark {
    background: #313131;
}

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

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

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

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

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

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

.logo1 {
    margin-right: 25px;
}

.top_addr {
    color: #313131;
    font-size: 14px;
    padding-left: 30px;
    background: url("../img/ico_loc.png") 0 50% no-repeat;
    font-weight: 600;
}

.top_phone {
    display: block;
    font-size: 18px;
    font-weight: 900;
    color: #000000;
    text-decoration: none;
    padding-left: 25px;
    background: url("../img/ico_phone.png") 0 50% no-repeat;
}

header .btn {
    width: 218px;
    height: 40px;
    font-size: 12px;
}

header .m_btn {
    display: none;
}

.menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 5;
    background: rgba(236, 236, 236, 0.58);
    backdrop-filter: blur(5px);
}

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

.menu_wrap a {
    text-decoration: none;
    text-transform: uppercase;
    color: #000000;
    display: block;
    position: relative;
    font-weight: 600;
    padding: 15px 0;
}

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

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

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

.bg_grey {
    background: #ececec;
    padding-bottom: 40px;
}

.banner {
    width: 100%;
    position: absolute;
    top: 81px;
    background: url(../img/bg1.jpg) 50% 0 no-repeat;
    height: 891px;
    border-radius: 0 0 69px 69px;
}

.title_container {
    padding-top: 200px;
}

.title1 {
    font-size: 47px;
    text-align: center;
    line-height: 120%;
    margin-bottom: 25px;
}

.title1 sup {
    position: relative;
    top: -11px;
    font-size: 20px;
}

.title2 {
    text-align: center;
    font-size: 30px;
}

.title2 b {
    color: #d1291a;
}

.red-text {
    color: #d1291a;
    font-weight: 600;
}

.timer_block {
    background: #242424;
    display: flex;
    justify-content: space-between;
    padding: 25px 50px;
    border-radius: 33px;
    margin-top: 495px;
}

.timer_wrap {
    margin-top: 5px;
}


div[id^=timer] {
    min-width: auto !important;
}

.timer_title {
    color: #ffffff;
    font-size: 19px;
    margin-bottom: 20px;
}

.timer_form {
    width: 59.7%;
}

.timer_form_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.timer_form_title span {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 20px;
}

#timer_form {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
}

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

#timer_form input[type=tel] {
    color: #ffffff;
    border: 1px solid #ffffff;
}

#timer_form .agree_field {
    box-sizing: border-box;
    display: block;
    width: 49%;
    margin-left: auto;
}

#timer_form .agree_field,
#timer_form .agree_field a {
    color: #ffffff;
}

.arrows {
    display: flex;
    transform: scale(-1);
}

.arrows .arrow {
    background: url("../img/arrow_a.png") 0 0 no-repeat;
    display: block;
    width: 34px;
    height: 44px;
    transition: all 0.4s;
    margin-left: 10px;
}

.arrows.step1 .arrow {
    opacity: 0.2;
}

.arrows.step1 .arrow+div {
    opacity: 0.4;
}

.arrows.step1 .arrow+div+div {
    opacity: 0.6;
}

.arrows.step1 .arrow+div+div+div {
    opacity: 0.8;
}

.arrows.step1 .arrow+div+div+div+div {
    opacity: 1;
}

.arrows.step2 .arrow {
    opacity: 1;
}

.arrows.step2 .arrow+div {
    opacity: 0.2;
}

.arrows.step2 .arrow+div+div {
    opacity: 0.4;
}

.arrows.step2 .arrow+div+div+div {
    opacity: 0.6;
}

.arrows.step2 .arrow+div+div+div+div {
    opacity: 0.8;
}

.arrows.step3 .arrow {
    opacity: 0.8;
}

.arrows.step3 .arrow+div {
    opacity: 1;
}

.arrows.step3 .arrow+div+div {
    opacity: 0.2;
}

.arrows.step3 .arrow+div+div+div {
    opacity: 0.4;
}

.arrows.step3 .arrow+div+div+div+div {
    opacity: 0.6;
}

.arrows.step4 .arrow {
    opacity: 0.6;
}

.arrows.step4 .arrow+div {
    opacity: 0.8;
}

.arrows.step4 .arrow+div+div {
    opacity: 1;
}

.arrows.step4 .arrow+div+div+div {
    opacity: 0.2;
}

.arrows.step4 .arrow+div+div+div+div {
    opacity: 0.4;
}

.arrows.step5 .arrow {
    opacity: 0.4;
}

.arrows.step5 .arrow+div {
    opacity: 0.6;
}

.arrows.step5 .arrow+div+div {
    opacity: 0.8;
}

.arrows.step5 .arrow+div+div+div {
    opacity: 1;
}

.arrows.step5 .arrow+div+div+div+div {
    opacity: 0.2;
}


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

.cars_items {
    margin-top: 140px;
}

.cars_items_title {
    color: #313131;
    font-size: 60px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
}

.car_item {
    background: #ffffff;
    border-radius: 33px;
    padding: 65px 90px;
    margin-bottom: 90px;
    transition: all .3s;
}

.car_item:hover {
    box-shadow: 0px 11px 31.5px 3.5px rgba(0, 0, 0, 0.14);
}

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

.car_image {
    position: relative;
    left: -15px;
}

.help_on_road {
    display: flex;
    align-items: center;
    gap: 9px;
}

.help_on_road .img {
    width: 20px;
    height: 20px;
    background-image: url('../img/helpIcon.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#x35 .car_image {
    padding-top: 20px;
}

#bj40 .car_image {
    padding-top: 20px;
}

.car_bg_name {
    position: absolute;
    top: 0;
    left: 15px;
}

#x35 .car_bg_name {
    left: unset;
    right: 0;
}

#bj40 .car_bg_name {
    left: unset;
    right: 0;
}

.car_bg_name img.hov {
    display: none;
}

.car_item:hover .car_bg_name img {
    display: none;
}

.car_item:hover .car_bg_name img.hov {
    display: block;
}

.car_img {
    position: relative;
}

.car_colors {
    display: flex;
    justify-content: center;
    margin-top: -40px;
}

#x35 .car_colors {
    margin-top: -30px;
}

.car_colors>div {
    width: 17px;
    height: 17px;
    border: 1px solid transparent;
    border-radius: 50%;
    margin: 0 6px;
    position: relative;
    cursor: pointer;
}

.car_colors>div:before {
    content: '';
    border: 1px solid #313131;
    width: 27px;
    height: 27px;
    position: absolute;
    border-radius: 50%;
    top: -6px;
    left: -6px;
    display: none;
}

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

.car_text {
    width: 31.3%;
}

.car_title {
    font-size: 55px;
    white-space: nowrap;
    line-height: 90%;
    margin-bottom: 40px;
}

.car_opts>div {
    display: flex;
    align-items: center;
    min-height: 45px;
    border-left: 1px solid #d1291a;
    padding-left: 17px;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

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

.car_props>a {
    box-sizing: border-box;
    width: 31.3%;
    display: flex;
    align-items: center;
    min-height: 45px;
    padding-left: 65px;
    position: relative;
    text-decoration: none;
    color: #000000;
    font-size: 18px;
    text-transform: uppercase;
}

.car_props>a:before {
    content: '';
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 11px;
    background: #313131;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .3s;
}

.car_props>a:hover:before {
    background: #d1291a !important;
}

.car_props>a.ico1:before {
    content: url("../img/car_ico1.png");
    padding-top: 6px;
    padding-left: 2px;
}

.car_props>a.ico2:before {
    background: #ececec;
    content: url("../img/car_ico2.png");
    padding-top: 5px;
}

.car_props>a.ico3:before {
    padding-top: 3px;
    content: url("../img/car_ico3.png");
}

.car_props>a.ico3:before {
    padding-top: 3px;
    content: url("../img/car_ico3.png");
}

.car_props>a.ico4:before {
    background: #ececec;
    padding-top: 3px;
    content: url("../img/car_ico4.png");
}

.car_props>a b {
    color:#d1291a;
}

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

.car_btns .btn {
    width: 31.3%;
}

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

#instock {
    position: relative;
    background: #ffffff;
    margin-bottom: 135px;
    padding-top: 120px;
}


#instock .instock_title {
    font-size: 60px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 35px;
    text-align: center;
    margin-bottom: 40px;
}

#instock .models_wrap {}

#instock .models {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 45px;
}

#instock .model_name {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 49%;
    color: #ffffff;
    background: #242424;
    height: 85px;
    border-radius: 33px;
    font-size: 30px;
    transition: all .3s;
    cursor: pointer;
}


#instock .model_name:hover,
#instock .model_name.active {
    background: #000000;
}

#instock .compl_items {
    overflow: hidden;
}

#instock .compl_items .item {
    /*display: none;*/
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 35px 50px;
    background: #ececec;
    border-radius: 33px;
}

#instock .compl_items .item.show {
    display: flex;
}

#instock .compl_items .compl_title {
    font-size: 30px;
    color: #313131;
    margin-bottom: 20px;
}

#instock .compl_items .compl_title b {
    color: #d1291a;
}



#instock .compl_items .compl_image {
    text-align: center;
}

#instock .compl_items .compl_image img {}

#instock .compl_items .compl_techs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

#instock .compl_items .compl_techs>div {
    padding: 10px 15px;
    background: #ffffff;
    margin-right: 7px;
    border-radius: 11px;
    font-size: 13px;
    flex-grow: 1;
}

#instock .compl_items .compl_techs>div:last-child {
    margin-right: 0;
}

#instock .compl_items .compl_techs>div b {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 900;
}

#instock .compl_items .compl_btns {
    margin-top: 20px;
}

#instock .compl_items .compl_btns .btn:nth-child(1) {
    margin-bottom: 10px;
}

.compl_items .swiper-button-prev {
    top: 64%;
    width: 44px;
    height: 44px;
    left: -60px;
    background: url("../img/compl_prev.png") 50% no-repeat;
    opacity: .25;
    z-index: 1;
    transition: all .3s;
}

.compl_items .swiper-button-next {
    top: 64%;
    width: 44px;
    height: 44px;
    right: -60px;
    background: url("../img/compl_next.png") 50% no-repeat;
    opacity: .25;
    z-index: 1;
    transition: all .3s;
}

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

.compl_items .swiper-button-disabled {
    opacity: .25 !important;
}

.compl_items .swiper-button-prev:hover,
.compl_items .swiper-button-next:hover {
    opacity: 1;
}

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

.credit {
    background: url("../img/credit_bg.jpg") 50% 0 no-repeat;
    border-radius: 33px;
    padding: 100px 0;
}

.credit>img {
    display: none;
}

.credit_wrap {
    box-sizing: border-box;
    padding: 75px 85px;
    width: 528px;
    max-width: 100%;
    border-radius: 33px;
    margin-left: auto;
    background: #ececec;
}

.credit_title {
    color: #313131;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 60px;
    line-height: 100%;
    margin-bottom: 15px;
}

.credit_comment {
    margin-bottom: 40px;
    color: #313131;
    font-size: 20px;
}

#credit_form .agree_field,
#credit_form .agree_field a {
    color: #000000;
}


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

.tradein {
    margin-top: 140px;
}

.tradein>img {
    display: none;
}

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

.tradein_wrap {
    box-sizing: border-box;
    width: 531px;
    max-width: 100%;
    padding: 70px 90px;
    background: #ececec;
    border-radius: 33px;
}

.tradein_title {
    font-size: 60px;
    color: #313131;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 25px;
}

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

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

.tradein_gallery {
    width: 57.7%;
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
}

.tradein_gallery>div {
    overflow: hidden;
    border-radius: 33px;
}

.tradein_gallery>div img {
    transition: all .3s;
}

.tradein_gallery>div:hover img {
    transform: scale(1.1);
}

.tradein_img1,
.tradein_img2 {
    width: 48.7%;
    height: 324px;
}

.tradein_img3 {
    margin-top: 25px;
}

/**********************
        QUEST
**********************/

.quest {
    box-sizing: border-box;
    margin-top: 30px;
    background: url("../img/quest_logo.png") 95% 50% no-repeat #242424;
    border-radius: 33px;
    display: flex;
    align-items: center;
    padding: 50px 90px;
}

.quest_title {
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 60px;
    line-height: 110%;
    margin-right: 120px;
}

.quest_text span {
    color: #ffffff;
    font-size: 20px;
}

.quest_text .btn {
    width: 350px;
    margin-top: 15px;
}

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

.contacts {
    margin-top: 140px;
    position: relative;
}

.cont_wrap {
    box-sizing: border-box;
    width: 527px;
    padding: 45px 80px 70px;
    background: #ececec;
    border-radius: 33px;
    position: absolute;
    top: 90px;
    right: 0;
    z-index: 1;
}

.cont_dealer {
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 45px;
}

.bot_phone {
    display: block;
    font-size: 18px;
    color: #000000;
    font-weight: 900;
    background: url("../img/ico_phone.png") 0 50% no-repeat;
    padding-left: 30px;
    margin-bottom: 25px;
    text-decoration: none;
}

.bot_addr {
    font-size: 18px;
    padding: 2px 0 2px 30px;
    background: url("../img/ico_loc.png") 0 50% no-repeat;
    margin-bottom: 25px;
}

.worktime {
    font-size: 18px;
    padding: 2px 0 2px 30px;
    background: url("../img/ico_clock.png") 0 50% no-repeat;
}

.cont_wrap .btn {
    margin-top: 50px;
    width: 350px;
}

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


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

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

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

footer .switch {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    font-weight: 300;
}

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

.legal-information {
    color: white;
    font-size: 14px;
}

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

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

/*IPAD PRO BEGIN*/
@media (min-width: 768px) and (max-width: 1199px) {
    .top_addr {
        display: none;
    }

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

    .title1 {
        font-size: 40px;
    }

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

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

    .timer_title {
        text-align: center;
    }

    .timer_form {
        width: 100%;
        margin-bottom: 20px;
    }

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

    .car_item {
        padding: 40px 30px;
    }

    .car_image {
        width: 60%;
    }

    .car_text {
        width: 38%;
    }

    .car_title {
        font-size: 50px;
    }

    .car_colors {
        margin-top: -20px;
    }

    .car_props {
        margin-top: 10px;
    }

    .car_props>a {
        font-size: 14px;
        padding-left: 53px;
    }

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

    .compl_items .swiper-button-prev {
        left: -10px;
    }

    .compl_items .swiper-button-next {
        right: -10px;
    }

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

    .tradein .container {
        flex-direction: column;
    }

    .tradein_wrap {
        width: 100%;
    }

    .tradein_gallery {
        width: 100%;
        margin-top: 25px;
    }

    .tradein_gallery>div img {
        width: 100%;
    }

    .tradein_img1,
    .tradein_img2 {
        height: auto;
    }

    .tradein_img3 {
        width: 100%;
    }
}

/*IPAD PRO BEGIN*/

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

    header .btn {
        display: none;
    }

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

    .banner {
        background-size: 150%
    }

    .title_container {
        padding-top: 150px;
    }

    .title1 {
        font-size: 30px;
    }

    .title2 {
        font-size: 24px;
    }

    .timer_block {
        margin-top: 275px;
    }

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

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

    .bg_grey {
        padding-bottom: 1px;
    }

    .cars_items {
        margin-top: 50px;
    }

    .cars_items_title {
        font-size: 40px;
    }

    .car_item {
        padding-top: 100px;
        position: relative;
    }

    .car_wrap {
        flex-direction: column;
    }

    .car_image {
        width: 100%;
    }

    .car_text {
        width: 100%;
    }

    .car_title {
        position: absolute;
        top: 30px;
        left: 30px;
    }

    .car_opts {
        display: flex;
        column-gap: 20px;
        margin-top: 20px;
    }

    .car_opts>div {
        font-size: 16px;
        flex-grow: 1;
    }

    .car_props>a {
        width: 32%;
    }

    .car_btns {
        flex-direction: column;
    }

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

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

    #instock {
        padding-top: 40px;
    }

    #instock .instock_title {
        font-size: 40px;
    }

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

    .credit {
        padding: 0;
        background: #ececec;
    }

    .credit>img {
        display: block;
        width: 100%;
    }

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

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

    .tradein {
        margin-top: 40px;
    }

    .tradein .container {
        flex-direction: column-reverse;
    }

    .tradein_wrap {
        margin-top: 30px;
    }

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

    .quest {
        flex-direction: column;
        padding: 30px;
    }

    .quest_title {
        margin-right: 0;
        margin-bottom: 20px;
        font-size: 50px;
    }

    .quest_title br {
        display: none;
    }

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

    .quest_text .btn {
        width: 100%;
    }

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

    .contacts {
        margin-top: 40px;
        background: #ececec;
    }

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

    .cont_wrap .btn {
        width: 100%;
    }

    #map1 {
        background-position: 29% 50%;
    }

}

/*IPAD END*/

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

    .fancybox-type-image {
        width: 100% !important;
        margin: 0px !important;
        left: 0px !important;
    }

    .fancybox-close {
        right: 9px !important;
        top: 9px !important;
    }

    .fancybox-inner {
        width: 100% !important;
        margin: 0px !important;
        padding: 0px !important;
    }

    .fancybox-wrap {
        margin: 0px !important;
        width: 100% !important;
        left: 0px !important;
        top: 20px !important;
    }

    .fancybox-type-image .fancybox-close {
        top: -8px !important;
    }

    .popup_container {
        width: 100%;
    }

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

    header .m_btn {
        display: block;
        position: absolute;
        width: 30px;
        height: 21px;
        z-index: 1;
        top: 5px;
        right: 15px;
    }

    header .m_btn span {
        position: absolute;
        display: block;
        width: 30px;
        height: 3px;
        background: #d1291a;
        transition: all .3s linear;
    }

    header .m_btn span:nth-child(1) {
        top: 0;
    }

    header .m_btn span:nth-child(2) {
        top: calc(50% - 2px);
        opacity: 1;
    }

    header .m_btn span:nth-child(3) {
        bottom: 0;
    }

    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_wrap {
        flex-direction: column;
        align-items: center;
    }

    .menu_wrap a {
        padding: 10px 0;
    }


    .menu.active {
        right: 0;
    }

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

    header {
        padding: 10px 0;
    }

    header .container {
        flex-flow: wrap;
    }

    .top_addr {
        display: none;
    }

    header .btn {
        display: none;
    }

    .logo_wrap {
        width: 85%;
    }

    .top_phone {
        margin-top: 10px;
    }

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

    .banner {
        background-size: 500px auto;
        background-position: 50% 15%;
    }

    .title_container {
        padding-top: 95px;
    }

    .title1 {
        font-size: 20px;
        margin-bottom: 260px;
    }

    .title1 sup {
        top: -4px;
        font-size: 12px;
    }

    .title2 {
        font-size: 17px;
    }

    .timer_block {
        margin-top: 20px;
        flex-direction: column-reverse;
        padding: 20px 15px;
    }

    .spec_offer {
        display: none;
    }

    .arrows {
        display: none;
    }

    .timer_form {
        width: 100%;
        margin-bottom: 20px;
    }

    .timer_form_title {
        text-align: center;
    }

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

    #timer_form .agree_field {
        width: 100%;
    }

    .timer_title {
        margin-bottom: 0;
        text-align: center;
    }

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

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

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

    .bg_grey {
        padding-bottom: 1px;
    }

    .cars_items {
        margin-top: 50px;
    }

    .cars_items_title {
        font-size: 22px;
    }

    .car_item {
        position: relative;
        padding: 80px 15px 20px;
        margin-bottom: 40px;
    }

    .car_wrap {
        flex-direction: column;
    }

    .car_image {
        width: 100%;
        left: 0;
    }

    .car_colors {
        margin-top: 0 !important;
    }

    .car_text {
        width: 100%;
    }

    .car_title {
        position: absolute;
        top: 30px;
        left: 15px;
        font-size: 36px;
    }

    .car_opts {
        margin-top: 20px;
    }

    .car_opts>div {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .car_props {
        margin-top: 10px;
        flex-direction: column;
    }

    .car_props>a {
        width: 100%;
        margin-bottom: 10px;
    }

    .car_props>a.ico1:before {
        padding-left: 0;
    }

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

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

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

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

    #instock .instock_title {
        font-size: 30px;
    }

    #instock .model_name {
        height: 50px;
        font-size: 18px;
    }

    #instock .compl_items .compl_title {
        font-size: 26px;
    }

    #instock .compl_items .item {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .compl_items .swiper-button-prev {
        left: 0;
    }

    .compl_items .swiper-button-next {
        right: 0;
    }

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

    .credit {
        padding: 0;
        background: #ececec;
    }

    .credit>img {
        display: block;
        width: 100%;
    }

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

    .credit_title {
        font-size: 40px;
    }

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

    .tradein {
        margin-top: 40px;
    }

    .tradein .container {
        flex-direction: column-reverse;
    }

    .tradein_gallery {
        width: 100%;
    }

    .tradein_img1,
    .tradein_img2 {
        height: auto;
    }

    .tradein_img3 {
        margin-top: 15px;
    }

    .tradein_wrap {
        margin-top: 30px;
        padding: 30px 15px;
    }

    .tradein_title {
        font-size: 40px;
    }

    .tradein_comment br {
        display: none;
    }

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

    .quest {
        flex-direction: column;
        padding: 30px;
    }

    .quest_title {
        margin-right: 0;
        margin-bottom: 20px;
        font-size: 24px;
    }

    .quest_title br {
        display: none;
    }

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

    .quest_text span {
        font-size: 16px;
    }

    .quest_text .btn {
        width: 100%;
    }

    .cont_dealer {
        margin-bottom: 20px;
    }

    .cont_wrap .btn {
        margin-top: 20px;
    }

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

    .contacts {
        margin-top: 40px;
        background: #ececec;
    }

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

    .cont_wrap .btn {
        width: 100%;
    }

    #map1 {
        height: 350px;
        background-position: 34% 45%;
    }

}

/*MOBILE END*/

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

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

    .title2 {
        font-size: 20px;
    }

    .quest_title {
        font-size: 20px;
    }
}

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