* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Onest', sans-serif;
    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;
}


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: 1310px;
        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;
    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 {
    text-decoration: underline;
}

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: #000000;
    font-size: 16px;
    box-sizing: border-box;
    font-weight: 400;
    font-family: 'Onest', sans-serif;
    padding: 0px 20px;
    outline: none;
    background: transparent;
    border-radius: 5px;
    border: 1px solid #cccccc;
}

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: 'Onest', sans-serif;
    outline: none;
}

form .form-group button {
    width: 100%;
    cursor: pointer;
    font-family: 'Onest', 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;
    border-radius: 5px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: 50px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    outline: none;
    border: none;
    transition: all .3s;
    text-align: center;
}

.btn:hover {
    background: #666;
}

.btn.glass {
    border: 1px solid #000;
    background: transparent;
    color: #000000;
}

.btn.glass:hover {
    background: #000000;
    color: #ffffff;
}

.anim {
    opacity: 0;
    transition: all .7s .2s;
}

.anim.animated {
    opacity: 1;
}

/**********************
        HEADER
**********************/

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px 0;
    z-index: 16;
    transition: all .3s;
}

header.scroll {
    padding: 10px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo_wrap {
    display: flex;
    align-items: center;
}

.logo_wrap .logo2 {
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid #000000;
}

.logo_wrap .logo2 span {
    font-size: 11px;
    color: #666666;
    display: block;
    margin-top: 5px;
}

.top_addr_wrap {
    margin-right: -50px;
    position: relative;
}

.top_addr_wrap .active_addr {
    font-size: 18px;
    padding-right: 35px;
    background: url("../img/ico_select.png") 100% 50% no-repeat;
    cursor: pointer;
}

.top_addr_drop {
    display: none;
    position: absolute;
    top: 25px;
    left: -10px;
    width: 305px;
}

.top_addr_drop .addr_item {
    padding: 15px 15px 15px 45px;
    background: url("../img/ico_loc.png") 15px 50% no-repeat #ffffff;
    font-size: 14px;
    cursor: pointer;
}

.top_phone {
    padding-left: 35px;
    background: url("../img/ico_phone.png") 0 50% no-repeat;
}

header .btn {
    width: 200px;
    font-size: 14px;
}

.menu {
    background: #F6F3F5;
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    z-index: 15;
    padding: 20px 0;
    transition: all .3s;
}

.menu.scroll {
    top: 70px;
    padding: 10px 0;
}

.menu .container {
    display: flex;
    justify-content: space-between;
}

.menu .container > div {
    display: flex;
    gap: 0 40px;
}

.menu a {
    text-transform: uppercase;
    transition: all .3s;
}

.menu a:hover {
    color: #666666;
}

header .m_btn {
    display: none;
}


/**********************
        BANNER
**********************/

.banner {
    margin-top: 150px;
}

.banner picture img {
    max-width: none;
    height: 800px;
    transform: translateX(-50%);
    left: 50%;
    display: block;
    position: relative;
}

.title_container {
    position: absolute;
    top: 80px;
    left: 15px;
    z-index: 1;
    font-family: 'Knewstar';
}

.title_container .title1 {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 44px;
    line-height: 140%;
}

.title_container .title2 {
    background: linear-gradient(90deg, #FFF5F0 0%, #BED0E6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    font-size: 32px;
    margin-top: 20px;
}

.timer_block {
    background: #F6F3F5;
    display: flex;
    padding: 50px 0;
    position: relative;
}

.timer_block:after {
    content: '';
    display: block;
    width: 600px;
    height: 80px;
    position: absolute;
    top: -80px;
    right: -80px;
    background: #F6F3F5;
    transform: skewX(-27deg);
}

.timer_block .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timer_title {
    font-family: 'Knewstar';
    font-size: 24px;
    margin-bottom: 20px;
}

#timer_form {
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
    width: 615px;
    max-width: 100%;
}

#timer_form input[type=tel] {
    border-color: #000000;
}

#timer_form .form-group {
    width: 49%;
}

#timer_form .agree_field {
    width: 100%;
}

#timer_form .agree_field:last-child {
    margin-top: 10px;
}

/**********************
         CARS
**********************/

.cars_items {
    margin-top: 120px;
}

.cars_items_title {
    font-family: 'Knewstar';
    font-size: 48px;
}

.car_item {
    margin-top: 60px;
}

.car_name {
    font-size: 40px;
    text-transform: uppercase;
    font-family: 'Knewstar';
}

.car_text_wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px;
    background: url("../img/car_bg.jpg") 0 0 no-repeat;
    margin-top: 30px;
}

.car_text {
    width: 35.4%;
}

.car_profit {
    font-family: 'Knewstar';
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    border-radius: 100px;
    border: 1px solid #FFF5F0;
    background: url("../img/ico_profit.png") 4px 50% no-repeat #FFF;
    text-transform: uppercase;
    padding: 14px 20px 8px 54px;
}

.car_tabs {
    margin-top: 30px;
}

.car_tabs .tab_item .tab_item_name {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    align-items: center;
    font-family: 'Knewstar';
    font-size: 20px;
    text-transform: uppercase;
    border-bottom: 1px solid #E8E7E7;
    color: #AFAFAF;
    cursor: pointer;
}

.car_tabs .tab_item.active .tab_item_name {
    color: #000000;
}

.car_tabs .tab_item .tab_item_text {
    display: none;
    font-size: 14px;
    color: #666666;
    padding: 10px 0;
    border-bottom: 1px solid #E8E7E7;
    min-height: 115px;
}

.car_tabs .tab_item .tab_item_text.sm {
    font-size: 11px;
}

.car_tabs .tab_item.active .tab_item_text {
    display: block;
}

.car_image {
    width: 60%;
    display: flex;
    align-items: flex-end;
    margin-right: 25px;
    margin-top: -70px;
}

.car_colors {
    display: flex;
    flex-direction: column;
    gap: 10px 0;
    margin-left: 40px;
    margin-bottom: 20px;
}

.car_colors > div {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.car_info_wrap {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.car_gallery_wrap {
    width: 29.4%;
    position: relative;
}

.car_gallery_wrap .swiper-button-prev,
.car_gallery_wrap .swiper-button-next {
    width: 24px;
    height: 24px;
    top: 60% !important;
}

.car_gallery_wrap .swiper-button-prev:after,
.car_gallery_wrap .swiper-button-next:after {
    display: none;
}

.car_gallery_wrap .swiper-button-prev {
    background: url("../img/car_prev.png") 50% no-repeat;
    left: -30px;
}

.car_gallery_wrap .swiper-button-next {
    background: url("../img/car_next.png") 50% no-repeat;
    left: unset;
    right: -30px;
}

.car_gallery .swiper-slide {
    overflow: hidden;
}

.car_gallery .swiper-slide img {
    transition: all .3s;
}

.car_gallery .swiper-slide:hover img {
    transform: scale(1.1);
}

.car_techs {
    background: #F6F3F5;
    width: 66.5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 35px;
}

.car_techs > div {
    color: #666;
    padding-right: 26px;
    border-right: 1px solid #000000;
}

.car_techs > div:last-child {
    padding-right: 0;
    border: none;
}

.car_techs > div span {
    display: block;
    font-size: 20px;
    color: #000000;
    margin-bottom: 5px;
}

.car_techs > div span b {
    font-family: 'Knewstar';
    font-size: 30px;
}

.car_btns {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.car_btns .btn {
    width: 32.5%;
}

/**********************
     CARS_INSTOCK
**********************/

.cars_instock {
    margin-top: 120px;
}

.cars_instock_title {
    font-size: 48px;
    font-family: 'Knewstar';
}

.cars_instock_list {
    margin-top: 60px;
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
    gap: 60px 0;
}

.cars_instock_item {
    width: 49%;
    background: #F6F3F5;
}

.cars_instock_item .item_img {
    position: relative;
}

.cars_instock_item .item_img a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    position: absolute;
    top: 20px;
    left: 20px;
    border-radius: 100px;
    background: url("../img/ico_map.png") 25px 50% no-repeat #FFF;
    padding-left: 60px;
    text-transform: uppercase;
    padding-right: 25px;
    padding-top: 3px;
}

.cars_instock_item .item_wrap {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 580px;
}

.cars_instock_item .item_name {
    font-family: 'Knewstar';
    font-size: 24px;
    text-transform: uppercase;
    line-height: 140%;
}

.cars_instock_item .item_info {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px 0;
}

.cars_instock_item .item_phone {
    display: block;
    font-size: 20px;
    font-weight: 600;
    background: url("../img/item_ico1.png") 0 50% no-repeat;
    padding-left: 35px;
}

.cars_instock_item .item_info > div {
    padding-left: 35px;
    font-size: 20px;
}

.cars_instock_item .item_addr {
    background: url("../img/item_ico2.png") 0 50% no-repeat;
}

.cars_instock_item .item_metro {
    background: url("../img/item_ico3.png") 0 50% no-repeat;
}

.cars_instock_item .item_metro span {
    display: block;
    padding-left: 20px;
    position: relative;
}

.cars_instock_item .item_metro span:before {
    content: '';
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    left: 2px;
    top: calc(50% - 5px);
    border-radius: 50%;
}

.cars_instock_item .item_metro.bl span:before {
    background: #0151AF;
}

.cars_instock_item .item_metro.red span:before {
    background: #027900;
}

.cars_instock_item .item_time {
    background: url("../img/item_ico4.png") 0 50% no-repeat;
}

.cars_instock_item .item_stock {
    margin-top: 25px;
    padding: 15px 40px;
    border-top: 1px solid #E8E7E7;
    border-bottom: 1px solid #E8E7E7;
    font-size: 24px;
    font-weight: 600;
    margin-left: -40px;
    margin-right: -40px;
}

.cars_instock_item .item_stock span {
    font-size: 20px;
    display: block;
    margin-top: 15px;
    font-family: 'Knewstar';
    font-weight: 400;
    text-transform: uppercase;
}

.cars_instock_item .item_stock span b {
    display: inline-flex;
    font-weight: 400;
    padding: 8px 25px;
    border-radius: 100px;
    background: linear-gradient(90deg, #FFF5F0 0%, #D0D7EB 100%);
}

.cars_instock_item .btn {
    margin-top: 40px;
}

/**********************
       COMPLECTS
**********************/

#instock {
    margin-top: 120px;
    padding: 120px 0;
    background: #F6F3F5;
}

.instock_title {
    font-size: 48px;
    font-family: 'Knewstar';
}

#filter_table {
    margin-top: 60px;
    padding: 50px;
    background: #E8E7E7;
    display: flex;
    justify-content: space-between;
}

#filter_table .select_container {
    width: 32.5%;
}

#filter_table select {
    font-family: 'Onest';
    width: 100%;
    appearance: none;
    -moz-appearance: none;
    border-radius: 5px;
    border: 1px solid #CCC;
    background: url("../img/ico_select.png") 95% 50% no-repeat #FFF;
    height: 50px;
    padding-left: 20px;
}

.tb_complects > div:first-child {
    display: none;
}

.tb_complects > div {
    margin-top: 135px;
    background: url("../img/compl_bg.png") 50% 100% no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 0 35px 35px;
    justify-content: space-between;
}

.compl_image {
    width: 53%;
    margin-top: -75px;
    margin-left: -35px;
}

.compl_profit {
    font-family: 'Knewstar';
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    border-radius: 100px;
    border: 1px solid #FFF5F0;
    background: url("../img/ico_profit.png") 4px 50% no-repeat #FFF;
    text-transform: uppercase;
    padding: 14px 20px 8px 54px;
    margin-top: 15px;
    margin-left: 35px;
}

.compl_text {
    width: 47%;
}

.compl_name {
    font-family: 'Knewstar';
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 34px;
    text-transform: uppercase;
    margin-right: -35px;
}

.compl_name b {
    padding-top: 10px;
    font-weight: 500;
}

.compl_name span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 254px;
    height: 51px;
    padding-top: 5px;
    border-radius: 100px;
    background: linear-gradient(90deg, #FFF5F0 0%, #D0D7EB 100%);
}

.compl_techs {
    margin-top: 45px;
    display: flex;
    justify-content: space-between;
}

.compl_techs > div {
    color: #666666;
    padding-right: 36px;
    border-right: 1px solid #000000;
}

.compl_techs > div:last-child {
    border: none;
    padding-right: 0;
}

.compl_techs > div b {
    font-family: 'Knewstar';
    display: block;
    font-size: 24px;
    margin-bottom: 3px;
    color: #000000;
    padding-left: 33px;
    font-weight: 500;
}

.compl_techs > div.ico1 b {
    background: url("../img/compl_ico1.png") 0 50% no-repeat;
}

.compl_techs > div.ico2 b {
    background: url("../img/compl_ico2.png") 0 50% no-repeat;
}

.compl_techs > div.ico3 b {
    background: url("../img/compl_ico3.png") 0 50% no-repeat;
}

.compl_btns {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.compl_btns .btn {
    width: 49%;
}

/**********************
       CREDIT
**********************/

.credit {
    margin-top: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.credit_img {
    width: 49%;
    border-radius: 10px;
    overflow: hidden;
}

.credit_wrap {
    width: 48.5%;
    padding: 40px;
}

.credit_tabs {
    display: flex;
}

.credit_tabs > div:first-child {
    padding-right: 51px;
    margin-right: 50px;
}

.credit_tabs > div:first-child:after {
    content: '';
    width: 1px;
    height: 60px;
    background: #666666;
    position: absolute;
    right: 0;
    top: -5px;
}

.credit_title {
    font-family: 'Knewstar';
    font-size: 48px;
    position: relative;
    color: #AFAFAF;
    cursor: pointer;
    transition: all .3s;
}

.credit_title.active {
    color: #000000;
}

.credit_comment {
    margin-top: 30px;
    font-size: 20px;
    display: none;
    min-height: 50px;
}

.credit_comment.active {
    display: block;
}

#credit_form {
    margin-top: 30px;
}

#credit_form .btn span {
    display: none;
}

#credit_form .btn span.active {
    display: block;
}

/**********************
        TRADEIN
**********************/

.tradein {
    margin-top: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tradein_img {
    width: 49%;
    border-radius: 10px;
    overflow: hidden;
}

.tradein_wrap {
    width: 48.5%;
    padding: 40px;
}

.tradein_title {
    font-family: 'Knewstar';
    font-size: 48px;
}

.tradein_comment {
    margin-top: 30px;
    font-size: 20px;
}

#tradein_form {
    margin-top: 30px;
}


/**********************
       TEST-DRIVE
**********************/

.test_drive {
    margin-top: 120px;
    background: #F6F3F5;
    padding: 120px 0;
}

.test_drive .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.test_drive_imgs {
    width: 55.5%;
    display: flex;
    align-items: center;
    gap: 0 20px;
}

.test_drive_imgs > div {
    border-radius: 10px;
    overflow: hidden;
}

.test_drive_wrap {
    width: 42.3%;
    padding: 40px 0;
}

.test_drive_title {
    font-family: 'Knewstar';
    font-size: 48px;
}

.test_drive_comment {
    margin-top: 30px;
    font-size: 20px;
}

#test_drive_form {
    margin-top: 30px;
}


/**********************
      CONTACTS
**********************/

.contacts {
    position: relative;
}

.cont_wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: url("../img/cont_bg.png") 50% 0 no-repeat;
    padding: 50px 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
}

.cont_logo2 span {
    font-size: 11px;
    color: #666666;
    display: block;
    margin-top: 5px;
}

.bot_phone {
    display: block;
    padding-left: 34px;
    background: url("../img/ico_phone.png") 0 50% no-repeat;
}

.cont_wrap .popup {
    display: block;
    padding-right: 35px;
    background: url("../img/arrow.png") 100% 50% no-repeat;
}

#map1 {
    background: url("../img/map.jpg") 50% no-repeat;
    background-size: cover;
    height: 878px;
    width: 100%;
    /*filter: grayscale();*/
}

.ym_hint {
    display: block;
    background: #FFF;
    padding: 15px;
}

.hint_title {
    font-size: 14px;
    font-family: 'Knewstar';
    text-transform: uppercase;
    line-height: 150%;
}

.hint_content {
    font-size: 14px;
    margin-top: 10px;
}

.hint_phone {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
}

.hint_time {
    font-size: 14px;
    margin-top: 10px;
}

/**********************
        FOOTER
**********************/

footer {
    padding: 60px 0;
    background: #000;
}

.foot_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #E8E7E7;
}

.foot_links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px 0;
}

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: 1199px) {
    header .btn {
        display: none;
    }

    .menu {
        top: 66px;
    }

    .menu.scroll {
        top: 64px;
    }

    /*******************************************************************/

    .banner {
        margin-top: 126px;
    }

    .banner picture img {
        height: 580px;
    }

    .title_container {
        top: 25px;
    }

    .timer_block:after {
        width: 430px;
    }

    .timer_block .container {
        flex-direction: column-reverse;
        gap: 30px 0;
    }

    .timer_text {
        width: 100%;
    }

    #timer_form {
        width: 100%;
    }


    /*******************************************************************/

    .car_text_wrap {
        padding: 15px;
    }

    .car_profit {
        width: 125%;
    }

    .car_colors {
        margin-left: 20px;
    }

    .car_colors > div {
        width: 30px;
        height: 30px;
    }

    .car_image {
        margin-top: 0;
        margin-right: 0;
    }

    .car_techs {
        padding: 15px;
    }

    .car_techs > div {
        font-size: 12px;
    }

    .car_techs > div span b {
        font-size: 20px;
    }

    .car_techs > div span {
        font-size: 16px;
    }

    .cars_instock_item .item_info > div {
        font-size: 18px;
    }

    /*******************************************************************/

    #instock {
        margin-top: 60px;
        padding: 60px 0;
    }

    .tb_complects > div {
        background-position: 77% 100%;
    }

    .compl_name {
        font-size: 24px;
    }

    .compl_name span {
        width: 170px;
    }

    .compl_techs > div {
        padding-right: 15px;
        font-size: 12px;
    }

    .compl_techs > div b {
        font-size: 18px;
    }

    /*******************************************************************/

    .credit_wrap {
        padding: 0;
    }

    .credit_comment br {
        display: none;
    }

    .credit_tabs > div:first-child {
        margin-right: 25px;
        padding-right: 25px;
    }

    #credit_form .agree_field {
        width: 100%;
    }

    /*******************************************************************/

    .tradein_wrap {
        padding: 0;
    }

    .tradein_comment br {
        display: none;
    }

    #tradein_form .agree_field {
        width: 100%;
    }

    /*******************************************************************/

    .test_drive {
        margin-top: 60px;
        padding: 60px 0;
    }

    .test_drive_comment br {
        display: none;
    }

    #test_drive_form .agree_field {
        width: 100%;
    }

    /*******************************************************************/

    .cont_wrap {
        padding: 30px 50px;
        background-size: 100%;
    }

    /*******************************************************************/
}

/*IPAD PRO BEGIN*/

/*IPAD BEGIN*/
@media (min-width: 768px) and (max-width: 991px) {

    .anim {
        opacity: 1;
    }

    .top_addr_wrap {
        display: none;
    }

    .menu .container > div {
        gap: 0 15px;
    }

    /*******************************************************************/

    .banner picture img {
        height: 440px;
    }

    .title_container .title1 {
        font-size: 30px;
    }

    .title_container .title2 {
        font-size: 24px;
        margin-top: 10px;
    }

    .timer_block:after {
        width: 300px;
        height: 40px;
        top: -40px;
    }

    /*******************************************************************/

    .car_text_wrap {
        flex-direction: column-reverse;
        background-position: 50% 85px;
        padding: 0;
        margin-top: 0;
    }

    .car_image {
        width: 100%;
        padding: 30px;
    }

    .car_colors {
        margin-left: 30px;
        margin-bottom: 0;
    }

    .car_profit {
        width: auto;
        margin-left: 30px;
    }

    .car_text {
        width: 100%;
    }

    .car_tabs .tab_item .tab_item_text {
        min-height: auto;
    }

    .car_info_wrap {
        flex-direction: column-reverse;
    }

    .car_techs {
        width: 100%;
    }

    .car_gallery_wrap {
        width: 100%;
        margin-top: 20px;
    }

    /*******************************************************************/

    .cars_instock_item {
        width: 100%;
    }

    .cars_instock_item .item_img img {
        width: 100%;
    }

    .cars_instock_item .item_wrap {
        height: auto;
    }

    /*******************************************************************/

    #filter_table {
        margin-top: 30px;
        padding: 15px;
    }

    .tb_complects > div {
        flex-direction: column;
        background-position: 100% 50px;
        padding: 0;
        margin-top: 60px;
    }

    .compl_image {
        margin-top: 0;
        margin-left: 0;
        width: 100%;
        padding: 0 30px;
    }

    .compl_text {
        width: 100%;
        margin-top: 30px;
    }

    .compl_name {
        margin-right: 0;
        justify-content: flex-start;
        gap: 0 30px;
    }

    .compl_name b {
        padding-top: 5px;
    }

    .compl_profit {
        margin-left: 0;
    }

    .compl_techs {
        margin-top: 20px;
    }

    .compl_techs > div {
        border: none;
    }

    .compl_btns {
        margin-top: 20px;
    }

    /*******************************************************************/

    .credit {
        flex-direction: column;
        margin-top: 60px;
        gap: 30px 0;
    }

    .credit_img {
        width: 100%;
    }

    .credit_img img {
        width: 100%;
    }

    .credit_wrap {
        width: 100%;
    }

    /*******************************************************************/

    .tradein {
        flex-direction: column-reverse;
        margin-top: 60px;
        gap: 30px 0;
    }

    .tradein_img {
        width: 100%;
    }

    .tradein_img img {
        width: 100%;
    }

    .tradein_wrap {
        width: 100%;
    }

    /*******************************************************************/

    .test_drive {
        margin-top: 60px;
    }

    .test_drive .container {
        flex-direction: column;
        gap: 30px 0;
    }

    .test_drive_imgs {
        width: 100%;
    }

    .test_drive_img img {
        width: 100%;
    }

    .test_drive_wrap {
        width: 100%;
    }


    /*******************************************************************/

    .contacts {
        background: #F6F3F5;
    }

    .cont_wrap {
        position: relative;
        /*flex-direction: column;*/
        padding: 20px 0;
        gap: 15px 0;
    }

    .cont_wrap .popup {
        display: none;
    }

    #map1 {
        height: 500px;
    }

    /*******************************************************************/

    footer {
        padding: 20px 0;
    }

    .yurinfo {
        font-size: 12px;
    }

    .foot_links {
        font-size: 12px;
    }

}

/*IPAD END*/

/*MOBILE BEGIN*/
@media (max-width: 767px) {

    .fancybox-type-image {
        width: 100% !important;
        margin: 0px !important;
        left: 0px !important;
    }

    .fancybox-close {
        right: 9px !important;
        top: 9px !important;
    }

    .fancybox-inner {
        width: 100% !important;
        margin: 0px !important;
        padding: 0px !important;
    }

    .fancybox-wrap {
        margin: 0px !important;
        width: 100% !important;
        left: 0px !important;
        top: 20px !important;
    }

    .fancybox-type-image .fancybox-close {
        top: -8px !important;
    }

    .popup_container {
        width: 100%;
    }

    /*******************************************************************/
    header .m_btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: absolute;
        width: 30px;
        height: 21px;
        z-index: 1;
        top: 13px;
        right: 15px;
    }

    header .m_btn span {
        position: relative;
        display: block;
        width: 30px;
        height: 3px;
        background: #000000;
        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: 15px 0 !important;
        border-top: 1px solid #000000;
    }

    .menu.active {
        right: 0;
    }

    .menu .container,
    .menu .container > div {
        flex-direction: column;
        align-items: center;
        row-gap: 15px;
    }

    /*******************************************************************/

    .anim {
        opacity: 1;
    }

    header {
        padding: 10px 0;
    }

    header .container {
        flex-flow: wrap;
    }

    .logo_wrap {
        width: 85%;
    }

    .logo_wrap .logo2 span {
        font-size: 2.5vw;
        margin-top: 2px;
    }

    .top_phone {
        margin: 10px auto 0;
        padding: 2px 0 2px 35px;
    }

    .top_addr_wrap {
        display: none;
    }

    header .btn {
        display: none;
    }

    /*******************************************************************/

    .banner {
        margin-top: 0;
    }

    .banner picture img {
        height: auto;
        width: 100%;
    }

    .title_container {
        text-align: center;
        left: 0;
        padding: 0 15px;
        top: 100px;
        width: 100%;
    }

    .title_container .title1 {
        font-size: 6vw;
    }

    .title_container .title2 {
        font-size: 5vw;
        margin-top: 10px;
    }

    .timer_block:after {
        display: none;
    }

    .timer_block {
        padding: 20px 0;
    }

    .timer_block .container {
        flex-direction: column-reverse;
        width: 100%;
        gap: 10px 0;
    }

    .timer {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 80px;
    }

    div[id^=timer] {
        transform: scale(0.55) !important;
    }

    .timer_text {
        width: 100%;
    }

    .timer_title {
        text-align: center;
        font-size: 6vw;
    }

    #timer_form {
        width: 100%;
    }

    #timer_form .form-group {
        width: 100%;
    }

    /*******************************************************************/

    .cars_items {
        margin-top: 60px;
    }

    .cars_items_title {
        font-size: 8vw;
        text-align: center;
    }

    .car_item {
        margin-top: 40px;
    }

    .car_name {
        font-size: 7vw;
    }

    .car_text_wrap {
        flex-direction: column-reverse;
        background-position: 50% 90px;
        padding: 0;
        margin-top: 20px;
        background-size: 150%;
    }

    .car_image {
        width: 100%;
        padding: 0 15px;
        margin-top: 0;
        margin-right: 0;
        flex-direction: column;
    }

    .car_colors {
        width: 100%;
        margin-left: 0;
        margin-bottom: 0;
        margin-top: 15px;
        flex-direction: row;
        justify-content: center;
        gap: 0 15px;
    }

    .car_colors > div {
        width: 30px;
        height: 30px;
    }

    .car_profit {
        margin-left: 0;
        font-size: 4.5vw;
        width: 100%;
        margin-top: 20px;
    }

    .car_text {
        width: 100%;
    }

    .car_tabs {
        margin-top: 15px;
    }

    .car_tabs .tab_item .tab_item_text {
        min-height: auto;
    }

    .car_info_wrap {
        flex-direction: column-reverse;
    }

    .car_techs {
        width: 100%;
        flex-flow: wrap;
        padding: 20px 15px;
        gap: 20px 0;
    }

    .car_techs > div {
        width: 50%;
        border: none;
        padding-right: 0;
        text-align: left;
        font-size: 3vw;
    }

    .car_techs > div:nth-child(even) {
        width: 40%;
    }

    .car_techs > div span {
        font-size: 5vw;
        margin-bottom: 0;
    }

    .car_techs > div span b {
        font-size: 6vw;
    }

    .car_gallery_wrap {
        width: 100%;
        margin-top: 20px;
    }

    .car_gallery_wrap .swiper-button-prev {
        left: -20px;
    }

    .car_gallery_wrap .swiper-button-next {
        right: -20px;
    }

    .car_btns {
        flex-direction: column;
        gap: 10px 0;
    }

    .car_btns .btn {
        width: 100%;
    }

    /*******************************************************************/

    .cars_instock {
        margin-top: 60px;
    }

    .cars_instock_title {
        font-size: 8vw;
        text-align: center;
    }

    .cars_instock_list {
        gap: 30px 0;
        margin-top: 30px;
    }

    .cars_instock_item {
        width: 100%;
    }

    .cars_instock_item .item_img a {
        transform: scale(.7);
        transform-origin: 0 0;
        top: 10px;
        left: 10px;
    }

    .cars_instock_item .item_img img {
        width: 100%;
    }

    .cars_instock_item .item_wrap {
        height: auto;
        padding: 20px 15px;
    }

    .cars_instock_item .item_name {
        text-align: center;
        font-size: 5vw;
    }

    .cars_instock_item .item_info {
        gap: 10px 0;
    }

    .cars_instock_item .item_info > a,
    .cars_instock_item .item_info > div {
        font-size: 4.5vw;
        background-size: 20px !important;
    }

    .cars_instock_item .item_stock {
        margin-left: -15px;
        margin-right: -15px;
        padding: 10px 15px;
        font-size: 5vw;
    }

    .cars_instock_item .item_stock span {
        font-size: 5vw;
    }

    .cars_instock_item .btn {
        margin-top: 20px;
    }

    /*******************************************************************/

    #instock {
        margin-top: 60px;
        padding: 30px 0;
    }

    .instock_title {
        font-size: 8vw;
        text-align: center;
    }

    #filter_table {
        margin-top: 30px;
        padding: 15px;
        flex-direction: column;
        gap: 10px 0;
    }

    #filter_table .select_container {
        width: 100%;
    }

    .tb_complects > div {
        flex-direction: column;
        background-position: 100% 0;
        padding: 0;
        margin-top: 60px;
        background-size: 200%;
    }

    .compl_image {
        margin-top: -20px;
        margin-left: 0;
        width: 100%;
        padding: 0;
    }

    .compl_profit {
        font-size: 4.5vw;
        width: 100%;
    }

    .compl_text {
        width: 100%;
        margin-top: 20px;
    }

    .compl_name {
        margin-right: 0;
        gap: 10px 0;
        font-size: 5vw;
    }

    .compl_name b {
        padding-top: 5px;
    }

    .compl_name span {
        width: auto;
        height: auto;
        padding: 10px 15px 5px;
    }

    .compl_profit {
        margin-left: 0;
    }

    .compl_techs {
        margin-top: 20px;
    }

    .compl_techs > div {
        border: none;
        font-size: 3vw;
        padding-right: 0;
    }

    .compl_techs > div b {
        font-size: 4vw;
    }

    .compl_btns {
        margin-top: 20px;
        flex-direction: column;
        gap: 10px 0;
    }

    .compl_btns .btn {
        width: 100%;
    }

    /*******************************************************************/

    .credit {
        flex-direction: column;
        margin-top: 60px;
        gap: 30px 0;
    }

    .credit_img {
        width: 100%;
    }

    .credit_img img {
        width: 100%;
    }

    .credit_wrap {
        width: 100%;
        padding: 0;
        text-align: center;
    }

    .credit_tabs {
        justify-content: center;
    }

    .credit_tabs > div:first-child {
        padding-right: 15px;
        margin-right: 15px;
    }

    .credit_tabs > div:first-child:after {
        height: 35px;
        top: -2px;
    }

    .credit_title {
        font-size: 8vw;
    }

    .credit_comment {
        font-size: 4vw;
        margin-top: 15px;
        min-height: auto;
    }

    .credit_comment br {
        display: none;
    }
    
    #credit_form {
        text-align: left;
    }

    /*******************************************************************/

    .tradein {
        flex-direction: column-reverse;
        margin-top: 60px;
        gap: 30px 0;
    }

    .tradein_img {
        width: 100%;
    }

    .tradein_img img {
        width: 100%;
    }

    .tradein_wrap {
        width: 100%;
        padding: 0;
        text-align: center;
    }

    .tradein_title {
        font-size: 8vw;
    }

    .tradein_comment {
        font-size: 4vw;
        margin-top: 10px;
    }

    .tradein_comment br {
        display: none;
    }

    #tradein_form {
        text-align: left;
    }

    /*******************************************************************/

    .test_drive {
        margin-top: 60px;
        padding: 30px 0;
    }

    .test_drive .container {
        flex-direction: column;
        gap: 30px 0;
    }

    .test_drive_imgs {
        width: 100%;
        gap: 0 10px;
    }

    .test_drive_img img {
        width: 100%;
    }

    .test_drive_wrap {
        width: 100%;
        padding: 0;
        text-align: center;
    }

    .test_drive_title {
        font-size: 8vw;
    }

    .test_drive_comment {
        font-size: 4vw;
        margin-top: 10px;
    }

    .test_drive_comment br {
        display: none;
    }

    #test_drive_form {
        text-align: left;
    }


    /*******************************************************************/

    .contacts {
        background: #F6F3F5;
    }

    .cont_wrap {
        position: relative;
        flex-flow: wrap;
        justify-content: space-between;
        padding: 20px 0;
        gap: 15px 0;
    }

    .cont_logo1 {
        order: 1;
        width: 48%;
    }

    .cont_logo2 {
        order: 2;
        width: 48%;
    }

    .bot_phone {
        order: 3;
        margin: 0 auto;
    }

    .cont_wrap .popup {
        display: none;
    }

    #map1 {
        height: 350px;
        background: url("../img/map_mob.jpg") 50% no-repeat;
        background-size: 100%;
    }

    /*******************************************************************/

    footer {
        padding: 30px 0;
    }

    .foot_wrap {
        flex-direction: column;
        align-items: center;
        gap: 15px 0;
    }

    .yurinfo {
        font-size: 12px;
        text-align: center;
    }

    .foot_links {
        font-size: 12px;
        text-align: center;
        align-items: center;
    }

}

/*MOBILE END*/

/* Portrait phones and smaller */
@media (max-width: 390px) {

}

@media (max-width: 360px) {

}

@media (max-width: 320px) {

}