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

html {
    overflow-x: hidden;
}

body {
    font-family: 'NeoSansPro', sans-serif;
    font-size: 16px;
    color: #2D2926;
    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: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: 1430px;
        max-width: 100%;
    }
}

.has-danger input,
.has-danger select,
.has-danger textarea {
    border-width: 2px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #eba5a3;
}


#form_popup, #form_popup2 {
    display: none;
}

.popup_container {
    width: 420px;
    max-width: 100%;
    padding: 5px 29px;
    overflow: hidden;
    position: relative;
    box-sizing: border-box; /* border: 2px solid black; */
    background: white;
    text-align: center;
    padding-bottom: 30px;
}

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

.popup_container .agree_field a {
    color: black;
}


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

.popup_container .form_comment {
    text-align: center;
    font-size: 20px;
    color: #414141;
    padding-bottom: 15px;
}

.popup_container .form_comment a {
    display: block;
    color: #414141;
    text-decoration: none;
}

.popup_container .close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 34px;
    height: 34px;
    -moz-transform: rotate(45deg); /* Aey Firefox */
    -ms-transform: rotate(45deg); /* Aey IE */
    -webkit-transform: rotate(45deg); /* Aey Safari, Chrome, iOS */
    -o-transform: rotate(45deg); /* Aey Opera */
    transform: rotate(45deg);
    cursor: pointer;
}

.popup_container .close:before {
    content: '';
    position: absolute;
    left: 0px;
    top: 16px;
    width: 34px;
    height: 1px;
    display: block;
    background-color: #a8a8a8;
}

.popup_container .close:after {
    content: '';
    position: absolute;
    left: 16px;
    top: 0px;
    width: 1px;
    height: 34px;
    display: block;
    background-color: #a8a8a8;
}

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

.not_agree button {
    background-color: #cccccc !important;
    cursor: auto !important;
    color: white !important;
}

.agree_field {
    font-size: 10px;
    line-height: 100%;
    position: relative;
    display: inline-block;
    padding-left: 20px;
    top: 0px;
}

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

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

.agree_field a {
    color: inherit;
}

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: 43px;
    width: 100%;
    color: #000000;
    font-size: 16px;
    box-sizing: border-box;
    font-weight: 400;
    font-family: 'NeoSansPro', sans-serif;
    padding: 0px 20px;
    outline: none;
    background: transparent;
    border-radius: 0px;
    border: 1px solid #2D2926;
}

form .form-group input[type=tel]::placeholder,
form .form-group input[type=text]::placeholder {
    color: #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 #ffffff;
    font-family: 'NeoSansPro', sans-serif;
    outline: none;
}

form .form-group button {
    width: 100%;
    cursor: pointer;
    font-family: 'NeoSansPro', 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: #2D2926;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: 43px;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    outline: none;
    border: 1px solid #2d2926;
    transition: all .3s;
    text-align: center;
}

.btn.glass {
    background: transparent;
    color: #2d2926;
}

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

.btn.blue {
    background: #005eb8;
    border-color: #005eb8;
    color: #fff;
}
.btn.blue:hover {
    background: #2d2926;
    border-color: #2d2926;
}




/*clip-path: polygon(0 0,calc(100% - 15px) 0,100% 15px,100% 100%,15px 100%,0 calc(100% - 15px));*/


/*clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px), 0 0, 5px 5px, 5px calc(100% - 30px - 2.07px), calc(30px + 2.07px) calc(100% - 5px), calc(100% - 5px) calc(100% - 5px), calc(100% - 5px) calc(30px + 2.07px), calc(100% - 30px - 2.07px) 5px, 5px 5px);*/

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

header {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    transition: all .5s;
    z-index: 5;
}

header.show {
    top: 20px;
}

.header_wrap {
    background: rgba(255, 255, 255, 0.40);
    box-shadow: 0px 8px 24px -4px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(7px);
    padding: 0 20px;
}

.header_text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(45, 41, 38, 0.20);
    padding: 12px 0;
}

.header_text .logo_wrap {
    display: flex;
    align-items: center;
    height: 100%;
}

.header_text .logo_wrap .logo1 {
    position: relative;
    margin-right: 15px;
    padding-right: 16px;
}

.header_text .logo_wrap .logo1:before {
    content: '';
    width: 1px;
    background: #2D2926;
    height: 20px;
    position: absolute;
    top: 12px;
    right: 0;
}

.header_text .top_phone {
    color: #000000;
    font-weight: 700;
    text-decoration: none;
}

.header_text .btn {
    width: 202px;
}

.menu {
    display: flex;
    justify-content: space-between;
    transition: all .3s;
}

.menu > div {
    display: flex;
    justify-content: space-between;
    column-gap: 55px;
}

.menu a {
    display: block;
    padding: 10px 0 9px;
    border-bottom: 3px solid transparent;
    text-decoration: none;
    color: #000000;
    transition: all .3s;
}

.menu a:hover {
    border-color: #2D2926;
}

header .m_btn {
    display: none;
}

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

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

.title_container {
    position: absolute;
    z-index: 1;
    top: 200px;
    left: 15px;
    background: #FFFFFFB2;
    padding: 0px 30px 20px 30px;
    backdrop-filter: blur(5px);
}

.title_container .title_date {
    display: flex;
    align-items: center;
    width: 287px;
    height: 48px;
    background: url("../img/pl_date.svg") 0 50% no-repeat;
    font-size: 24px;
    padding-left: 67px;
    margin-bottom: 20px;
    color: #fff;
    margin-top: -24px;
    position: relative;
    line-height: 0;
}

.title_container .title_date:before {
    content: url(../img/pl_date_ico.svg);
    position: absolute;
    left: 25px;
    top: calc(50% - 12px);
}

.title_container .title1 {
    color: #2D2926;
    font-size: 38px;
    font-weight: 500;
    line-height: 1.3;
}

.title_container .title1 .br_mob {
    display: none;
}

.timer_block {
    margin-top: 0;
    background: #D5DFE4;
}

.timer_block .timer_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background: rgba(255, 255, 255, 0.45); */
    backdrop-filter: blur(7px);
    padding: 20px;
}

.timer_block .timer_text {
    width: 45%;
}

.timer_block .timer_title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

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

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

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

.cars_items {
    margin-top: 125px;
}

.car_item {
    position: relative;
    margin-bottom: 80px;
}

.car_name {
    font-size: 46px;
    text-transform: uppercase;
    font-weight: 700;
    position: absolute;
    top: -10px;
    left: 0;
}
.car_profit {
    position: absolute;
    left: 0;
    top: 86px;
    padding-left: 60px;
    padding-right: 11px;
    background: url(../img/car_profit_bg.png) no-repeat;
    text-decoration: none;
    background-size: 100% 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
}
.car_profit span {
    font-size: 20px;
    font-weight: 400;
    color: #2D2926;
}
.car_profit:before {
    content: '';
    position: absolute;
    left: 0;
    width: 48px;
    height: 48px;
    background: url("../img/car_profit_ico.svg") 50% 50% no-repeat;
    z-index: 2;
}
.car_profit:after {
    content: '';
    position: absolute;
    left: 0;
    width: 48px;
    height: 48px;
    background: url("../img/car_profit_after.png") no-repeat;
}
.car_wrap {
    width: 1045px;
    max-width: 100%;
    margin-left: auto;
    position: relative;
    background: url("../img/car_rect1.png") 0 0 no-repeat;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 336px;
}

.car_wrap:before {
    content: '';
    width: 1045px;
    height: 336px;
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: url("../img/car_rect2.png") 50% no-repeat;
    z-index: -1;
}

.car_image_wrap {
    padding-left: 10px;
    width: 54%;
}
#x70 .car_image_wrap {
    width: 48%;
}
.car_colors {
    display: flex;
    justify-content: center;
    column-gap: 15px;
    margin-top: 25px;
}

.car_colors > div {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.car_colors > div.active:before {
    content: '';
    width: 24px;
    height: 24px;
    border: 1px solid #2D2926;
    position: absolute;
    border-radius: 50%;
    top: -5px;
    left: -5px;
}

.car_text {
    width: 44.8%;
}

.car_props {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.car_props > a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding-left: 60px;
    color: #000000;
    text-decoration: none;
    position: relative;
}

.car_props > a:before {
    content: '';
    width: 44px;
    height: 44px;
    position: absolute;
    left: 0;
    transition: all .3s;
}

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

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

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

.car_props > a:hover:before {
    transform: scale(1.1);
}

.car_btns {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 10px;
}

.car_btns .btn {
    width: 49%;
}

.car_btns .btn:nth-child(3) {
    width: 100%;
}

.car_gallery_wrap {
    margin-top: 75px;
    position: relative;
}

.car_gallery {
    width: 1045px;
    max-width: 100%;
    margin: 0 0 0 auto !important;
}

.car_gallery_wrap .gallery_name {
    font-size: 28px;
    margin-bottom: 20px;
}

.car_gallery_wrap .swiper-slide > span {
    display: block;
    background: url("../img/ico_right.png") 0 50% no-repeat;
    padding-left: 19px;
    margin-top: 10px;
    margin-left: 45px;
    font-weight: 600;
    opacity: .7;
    transition: all .3s;
    font-size: 15px;
}

.car_gallery_wrap .swiper-slide:hover > span {
    opacity: 1;
}

.car_gallery_wrap .gallery_nav {
    display: flex;
    column-gap: 20px;
    position: absolute;
    bottom: 25px;
    left: 15px;
}

.gallery_nav .swiper-button-prev,
.gallery_nav .swiper-button-next {
    width: 44px;
    height: 44px;
    position: relative;
    left: 0;
    transition: all .3s;
}

.gallery_nav .swiper-button-prev {
    background: url("../img/car_prev.png") 50% no-repeat;
}

.gallery_nav .swiper-button-next {
    background: url("../img/car_next.png") 50% no-repeat;
}

.gallery_nav .swiper-button-prev:hover {
    background: url("../img/car_prev_hov.png") 50% no-repeat;
}

.gallery_nav .swiper-button-next:hover {
    background: url("../img/car_next_hov.png") 50% no-repeat;
}

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

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

#instock {
    margin-top: 170px;
}

.instock_wrap {
    width: 1045px;
    max-width: 100%;
    margin-left: auto;
}

.instock_title {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 25px;
}

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

#filter_table .select_container {
    width: 32%;
    height: 50px;
}
#filter_table select {
    padding-left: 16px;
    font-size: 16px;
    font-weight: 400;
    height: 100%;
    width: 100%;
    border: 1px solid #BFCED6;
    background: url(../img/ico_select.svg) 98% 50% no-repeat;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.filter_quick_menu {
    width: 100%;
    /*display: flex;*/
    display: none;
    justify-content: space-between;
    list-style: none;
    margin-bottom: 50px;
}

.filter_quick_menu > li {
    width: 25%;
    text-align: center;
    cursor: pointer;
    color: #75787b;
    border-bottom: 3px solid transparent;
    transition: all .3s;
}

.filter_quick_menu > li span {
    display: block;
    padding: 13px 0;
    color: #2d2926;
}

.filter_quick_menu > li.current {
    border-color: #2D2926;
    font-weight: 700;
}

.tb_complects {
    width: 100%;
}

.tb_complects tr:first-child {
    display: none;
}

.tb_complects tr {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
}

.tb_complects tr:after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 540px;
    height: 222px;
    background: url("../img/compl_rect2.png") 50% no-repeat;
}

.tb_complects .compl_text {
    padding: 30px 60px;
    width: 55%;
    background: url("../img/compl_rect1.png") 0 0 no-repeat;
    position: relative;
    z-index: 1;
    min-height: 222px;
}

.tb_complects .compl_title {
    font-size: 28px;
    margin-bottom: 10px;
}

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

.tb_complects .compl_techs > div {
    width: 49%;
    color: #75787b;
}

.tb_complects .compl_techs > div b {
    display: block;
    color: #2d2926;
    margin-top: 5px;
}

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

.tb_complects .compl_btns .btn {
    width: 49%;
}
.tb_complects_showmore {
    margin-top: 25px;
    display: block;
    font-size: 16px;
    width: fit-content;
    font-weight: 700;
    text-decoration: none;
    padding-right: 29px;
    background: url(../img/showmore_ico.svg) 100% 50% no-repeat;
    color: #2D2926;
}

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

.credit {
    margin-top: 90px;
    padding: 80px 0;
    background: #D5DFE4;
}

.credit .container:after {
    content: url("../img/credit_rect.png");
    position: absolute;
    bottom: 0;
    left: 15px;
}

.cred_wrap {
    width: 1045px;
    max-width: 100%;
    margin-left: auto;
}

.cred_title {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cred_props {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.cred_props > div {
    padding-left: 20px;
    background: url("../img/ico_right.png") 0 50% no-repeat;
    font-weight: 700;
}

#cred_form {
    width: 600px;
    max-width: 100%;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
}

#cred_form .form-group {
    width: 38%;
}

#cred_form .form-group.wide {
    width: 61%;
}

.credit_img {
    margin-top: 30px;
}

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

.tradein {
    margin-top: 90px;
}

.tradein .container:after {
    content: url("../img/tradein_img1.jpg");
    position: absolute;
    bottom: 0;
    left: 15px;
}

.tradein_wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 1045px;
    max-width: 100%;
    margin-left: auto;
}

.tradein_text {
    width: 36%;
}

.tradein_comment {
    font-size: 15px;
    line-height: 150%;
}

.tradein_comment a {
    color: #000000;
    text-decoration: none;
    font-weight: 700;
}

.tradein_title {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 15px;
}

#tradein_form {
    margin-top: 30px;
}


/**********************
      ADVANTAGES
**********************/

.advantages {
    margin-top: 100px;
}

.ags_list {
    display: flex;
    flex-flow: wrap;
}

.ags_title {
    font-size: 46px;
    font-weight: 700;
    width: 1045px;
    margin-left: auto;
    max-width: 100%;
    margin-bottom: 30px;
}

.ags_list .ags_img {
    width: 25%;
}

.ags_list .ags_item {
    width: 25%;
    border: 1px solid #BFCED6;
    border-right: none;
    padding: 20px;
    display: flex;
    align-items: flex-end;
    font-weight: 700;
    font-size: 20px;
    position: relative;
    text-decoration: none;
    color: #2d2926;
    height: 334px;
}

.ags_list .ags_item:before {
    content: '';
    display: block;
    width: 60px;
    height: 60px;
    position: absolute;
    left: 20px;
    top: 40px;
    transition: all .3s;
}

.ags_list .ags_item.ico1:before {
    background: url("../img/ags_ico1.png") 50% no-repeat;
}

.ags_list .ags_item.ico2:before {
    background: url("../img/ags_ico2.png") 50% no-repeat;
}

.ags_list .ags_item.ico3:before {
    background: url("../img/ags_ico3.png") 50% no-repeat;
}

.ags_list .ags_item.ico4:before {
    background: url("../img/ags_ico4.png") 50% no-repeat;
}

.ags_list .ags_item.ico5:before {
    background: url("../img/ags_ico5.png") 50% no-repeat;
}

.ags_list .ags_item:hover:before {
    transform: scale(1.1);
}

.ags_list .ags_item.ico1 {
    border-left: none;
}

.ags_list .ags_item.ico3 {
    border-right: 1px solid #BFCED6;
}

.ags_list .ags_item.ico5 {
    border-top: none;
}

.ags_vid {
    width: 50%;
    border: 1px solid #BFCED6;
    border-top: none;
    height: 334px;
    position: relative;
}

.ags_vid .play {
    position: absolute;
    top: calc(50% - 24px);
    left: calc(50% - 25px);
    z-index: 1;
}

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

.contacts {
    margin-top: 100px;
}

.cont_title {
    width: 1045px;
    margin-left: auto;
    max-width: 100%;
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.cont_text {
    width: 22%;
}

.cont_logo span {
    display: block;
    font-size: 14px;
}

.cont_list {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.cont_list > div {
    padding-left: 20px;
    background: url("../img/ico_right.png") 0 50% no-repeat;
}

.cont_list > div a {
    color: #2d2926;
    text-decoration: none;
    font-weight: 700;
}

.cont_quest {
    font-weight: 700;
    margin-bottom: 10px;
}

#map1 {
    width: 74.65%;
    background: url("../img/map.jpg") 50% no-repeat;
    position: relative;
}

#map1:before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    border-top: 100px solid #ffffff;
    border-left: 100px solid transparent;
    z-index: 1;
}

#map1:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    border-bottom: 100px solid #ffffff;
    border-right: 100px solid transparent;
    z-index: 1;
}

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


footer {
    padding: 20px 0;
    margin-top: 20px;
    background: #2D2926;
}

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

.foot_wrap > a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.foot_block {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.foot_block a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

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


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

@media (max-width: 1600px) {

}

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

    .top_addr {
        display: none;
    }

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

    .banner picture img{
        height: 640px;
    }

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

    .timer_block .timer_text {
        width: 50%;
    }

    .timer_block .timer_title {
        font-size: 18px;
    }

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

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

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

    .car_name {
        position: relative;
        left: 0;
        top: 0;
        margin: 0 auto 15px;
        width: 1045px;
        max-width: 100%;
    }
    .car_profit {
        position: absolute;
        left: auto;
        right: 82px;
        top: 0;
        width: fit-content;
    }
    .car_colors > div.active:before {
        width: 23px;
        height: 23px;
        top: -4px;
        left: -4px;
    }

    .car_wrap {
        margin: 0 auto;
        margin-top: 16px;
    }

    .car_text {
        width: 40%;
    }

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

    .car_btns .btn {
        width: 100%;
    }

    .car_gallery {
        margin: 0 auto !important;
    }

    .car_gallery_wrap .swiper-slide > span {
        margin-left: 15px;
    }

    .car_gallery_wrap .gallery_nav {
        left: unset;
        bottom: unset;
        top: 20px;
        right: 0;
    }

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

    .instock_wrap {
        margin: 0 auto;
    }

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

    .credit .container:after {
        display: none;
    }

    .cred_wrap {
        margin: 0 auto;
    }

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

    .tradein .container:after {
        display: none;
    }

    .tradein_wrap {
        margin: 0 auto;
    }

    .tradein_text {
        width: 45%;
    }

    .tradein_img {
        width: 53%;
    }

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

    .ags_title {
        width: 1045px;
        margin: 0 auto 30px;
    }

    .ags_list .ags_img {
        display: none;
    }

    .ags_list .ags_item.ico1 {
        border-left: 1px solid #BFCED6;
    }

    .ags_list .ags_item.ico4 {
        border-right: 1px solid #BFCED6;
    }

    .ags_list .ags_item {
        font-size: 16px;
    }

    .ags_list .ags_item br {
        display: none;
    }

    .ags_vid {
        width: 75%;
    }

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

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

    #map1 {
        width: 63%;
    }

    .cont_text {
        width: 35%;
    }

    .cont_title {
        display: none;
    }
}

/*IPAD PRO BEGIN*/

@media (min-width: 1199px) and (max-width: 1300px) {

    .ags_list .ags_img {
        display: block;
    }

    .ags_vid {
        width: 50%;
        height: 300px;
    }

    .ags_list .ags_item {
        height: 300px;
    }
    .car_wrap {
        background-size: 100% 100%;
    }
}
@media (max-width: 1180px) {
    .car_profit {
        right: 0;
    }
}
/*IPAD BEGIN*/
@media (min-width: 768px) and (max-width: 991px) {
    #filter_table {
        flex-wrap: wrap;
        row-gap: 10px;
        margin-bottom: 10px;
    }
    #filter_table .select_container {
        width: 100%;
    }

    .header_text .logo_wrap {
        width: 40%;
    }

    .header_text .logo_wrap .logo1:before {
        top: 5px;
    }

    .menu > div {
        column-gap: 35px;
    }

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

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

    .banner picture img {
        height: 480px;
    }

    .title_container .title_date {
        /* margin-bottom: 160px; */
    }

.title_container {
    top: 424px;
}

    .timer_block {
        margin-top: 182px;
    }

    .timer_block .timer_text {
        width: 100%;
    }

    .timer_block .timer_wrap {
        padding: 20px 0;
        flex-direction: column-reverse;
        row-gap: 20px;
        background: none;
        width: 100%;
    }

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

    .cars_items {
        margin-top: 50px;
    }

    .car_wrap {
        flex-direction: column;
        background-size: 100%;
        background-position: 50% 105px;
    }

    .car_image_wrap {
        width: 100%;
        text-align: center;
    }
    #x70 .car_image_wrap {
        width: 100%;
    }
    #x70 .car_colors {
        margin-top: 0;
    }
    .car_text {
        width: 100%;
        margin-top: 50px;
    }

    .car_wrap:before {
        display: none;
    }

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

    #instock {
        margin-top: 70px;
    }

    .filter_quick_menu > li {
        font-size: 14px;
    }

    .tb_complects tr {
        flex-direction: column-reverse;
    }

    .tb_complects tr:after {
        display: none;
    }
    
    .compl_image {
        text-align: center;
    }

    .tb_complects .compl_text {
        width: 100%;
        background-size: 100%;
        min-height: auto;
        background-position: 50%;
    }

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

    .tradein_wrap {
        flex-direction: column;
    }

    .tradein_text {
        width: 100%;
        margin-bottom: 50px;
    }

    .tradein_img {
        width: 100%;
    }

    .tradein_img img {
        width: 100%;
    }

    .ags_list {
        row-gap: 15px;
    }

    .ags_list .ags_item {
        width: 100%;
        border: 1px solid #BFCED6 !important;
        height: auto;
        padding-left: 90px;
        position: relative;
    }

    .ags_list .ags_item:before {
        background-size: 100% !important;
        width: 40px;
        height: 40px;
        top: calc(50% - 20px);
    }

    .ags_vid {
        width: 100%;
        border: none;
    }

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

    .cont_wrap {
        flex-direction: column;
    }

    .cont_text {
        width: 100%;
    }

    #map1 {
        height: 350px;
        width: 100%;
        margin-top: 20px;
        position: relative;
    }
}

/*IPAD END*/

/*MOBILE BEGIN*/
@media (max-width: 767px) {
    #filter_table {
        flex-wrap: wrap;
        row-gap: 10px;
        margin-bottom: 10px;
    }
    #filter_table .select_container {
        width: 100%;
    }
    #x70 .car_image_wrap {
        width: 100%;
    }
    #x70 .car_colors {
        margin-top: 0;
    }
    .car_profit {
        right: 0;
        position: relative;
        top: 0;
        width: fit-content;
    }

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

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

    header .m_btn span:nth-child(2) {
        opacity: 1;
    }

    header .m_btn.active span:nth-child(1) {
        transform-origin: top right;
        transform: rotate(-45deg);
        top: -1px;
    }

    header .m_btn.active span:nth-child(2) {
        opacity: 0;
    }

    header .m_btn.active span:nth-child(3) {
        transform-origin: bottom right;
        transform: rotate(45deg);
        bottom: -1px;
    }

    .menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        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: 0;
    }

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

    header {
        background: #ffffff;
    }

    header.show {
        top: 0;
    }

    .header_wrap {
        background: none;
        backdrop-filter: none;
        padding: 0;
        box-shadow: unset;
    }

    .header_text {
        flex-flow: wrap;
        padding: 8px 0;
    }

    .logo_wrap {
        width: 85%;
    }

    .header_text .logo_wrap .logo1:before {
        top: 6px;
    }

    .header_text .top_phone {
        width: 100%;
        text-align: center;
        margin-top: 5px;
    }

    .top_addr {
        display: none;
    }

    .header_text .btn {
        display: none;
    }

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

    .banner {
        margin-top: 0;
    }

    .banner picture img {
        height: auto;
        width: 100%;
    }
    .banner.slide2 picture img {
        margin-top: 150px;
    }

    .title_container {
        position: relative;
        padding: 0;
        padding-bottom: 15px;
        top: 0;
        left: 15px;
        margin-top: 24vw;
        width: calc(100% - 30px);
        /* margin-bottom: 30px; */
    }

    .title_container .title1 {
        color: #2d2926;
        font-size: 5vw;
        text-align: center;
    }

    .title_container .title1 .br_mob {
        display: block;
    }

    .title_container .title_date {
        position: relative;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        color: #ffffff;
        font-size: 4vw;
        height: auto;
        width: auto;
        background-size: cover;
        padding: 5px 4vw 2px 9vw;
        margin-bottom: 2vw;
        display: inline-block;
        line-height: 1.5;
        white-space: nowrap;
    }

.title_container .title_date:before {
    transform: scale(.65);
    left: 2.7vw;
    top: 0.7vw;
}

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

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

    .timer_block .timer_wrap {
        padding: 0;
        background: none;
        flex-direction: column-reverse;
        row-gap: 20px;
        /* margin-top: 30px; */
    }

    .timer {
        display: flex;
        align-items: center;
        height: 50px;
    }

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

    .timer_block .timer_text {
        width: 100%;
    }

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

    .timer_block .timer_title {
        text-align: center;
        font-size: 5vw;
    }

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

    .cars_items {
        margin-top: 50px;
    }

    .car_name {
        position: relative;
    }

    .car_wrap {
        flex-direction: column;
        background-size: 100%;
        background-position: 50% 105px;
        padding: 0;
    }

    .car_image_wrap {
        width: 100%;
        text-align: center;
        padding: 20px;
    }

    .car_colors > div.active:before {
        width: 23px;
        height: 23px;
        top: -4px;
        left: -4px;
    }

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

    .car_wrap:before {
        display: none;
    }

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

    .car_btns .btn {
        width: 100%;
    }

    .car_gallery_wrap {
        margin-top: 40px;
    }

    .car_gallery_wrap .gallery_nav {
        top: 20px;
        right: 0;
        bottom: unset;
        left: unset;
    }

    .car_gallery_wrap .swiper-slide > span {
        margin-left: 0;
        font-size: 3.3vw;
    }

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

    #instock {
        margin-top: 70px;
    }

    .instock_title {
        font-size: 8vw;
        text-align: center;
    }

    .filter_quick_menu {
        flex-flow: wrap;
        margin-bottom: 20px;
    }

    .filter_quick_menu > li {
        font-size: 14px;
        width: 49%;
    }

    .tb_complects tr {
        flex-direction: column-reverse;
    }

    .tb_complects tr:after {
        display: none;
    }

    .compl_image {
        text-align: center;
        background: url(../img/compl_rect1.png) 0 100% no-repeat;
        background-size: 100%;
        padding-bottom: 10px;
    }

    .tb_complects .compl_text {
        width: 100%;
        min-height: auto;
        padding: 0;
        background: none;
        margin-top: 10px;
    }

    .tb_complects .compl_btns {
        flex-direction: column;
    }

    .tb_complects .compl_btns .btn {
        width: 100%;
    }

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

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

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

    .credit .container:after {
        display: none;
    }

    .cred_title {
        text-align: center;
        font-size: 8vw;
    }

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

    #cred_form .form-group {
        width: 100% !important;
    }

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

    .tradein {
        margin-top: 50px;
    }

    .tradein .container:after {
        display: none;
    }

    .tradein_title {
        text-align: center;
        font-size: 8vw;
    }

    .tradein_comment {
        text-align: center;
        font-size: 4vw;
    }

    .tradein_commen a {
        white-space: nowrap;
    }

    .tradein_comment br {
        display: none;
    }

    .tradein_wrap {
        flex-direction: column;
    }

    .tradein_text {
        width: 100%;
        margin-bottom: 30px;
    }

    .tradein_img {
        width: 100%;
    }

    .tradein_img img {
        width: 100%;
    }

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

    .advantages {
        margin-top: 50px;
    }

    .ags_title {
        text-align: center;
        font-size: 8vw;
    }

    .ags_list {
        row-gap: 15px;
    }

    .ags_list .ags_img {
        display: none;
    }

    .ags_list .ags_item {
        width: 100%;
        border: 1px solid #BFCED6 !important;
        height: auto;
        padding-left: 80px;
        position: relative;
        font-size: 4.5vw;
    }

    .ags_list .ags_item:before {
        background-size: 100% !important;
        width: 40px;
        height: 40px;
        top: calc(50% - 20px);
    }

    .ags_vid {
        width: 100%;
        border: none;
        height: auto;
    }

    .ags_vid video {
        width: 100%;
    }

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

    .contacts {
        margin-top: 40px;
    }

    .cont_wrap {
        flex-direction: column;
    }

    .cont_title {
        text-align: center;
        font-size: 8vw;
        display: none;
    }

    .cont_text {
        width: 100%;
    }

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

    #map1:before {
        border-top: 60px solid #ffffff;
        border-left: 60px solid transparent;
    }

    #map1:after {
        border-bottom: 60px solid #ffffff;
        border-right: 60px solid transparent;
    }

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

}

/*MOBILE END*/

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

}

@media (max-width: 360px) {

}

@media (max-width: 320px) {

}