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

html {
    overflow-x: hidden;
}

body {
    font-family: 'OpenSans', sans-serif;
    font-size: 16px;
    color: black;
    position: relative;
    font-weight: 400;
    margin: 0 auto;
    padding: 0;
    overflow-x: hidden;
    max-width: 1920px;
    background: #F9F8F8;
}

.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: 1470px;
        max-width: 100%;
    }
}

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


#form_popup, #form_popup2 {
    display: none;
}

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

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

.popup_container .agree_field a {
    color: black;
}


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

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

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

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

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

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

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

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

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

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

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

form {
}

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

form .form-group input[type=tel],
form .form-group input[type=text],
form .form-group select {
    height: 56px;
    width: 100%;
    color: #000000;
    font-size: 16px;
    box-sizing: border-box;
    font-weight: 400;
    font-family: 'OpenSans', sans-serif;
    padding: 0px 20px;
    outline: none;
    background: white;
    border-radius: 1px;
    border: 1px solid #000;
}

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: 'OpenSans', sans-serif;
    outline: none;
}

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

.btn.grey {
    background: #535151;
}

.btn.black {
    background: #000000;
}

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

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

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

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

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

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

.logo_wrap .logo2 {
    padding-left: 16px;
    margin-left: 16px;
    border-left: 1px solid #ffffff;
    display: grid;
    font-size: 18px;
    color: #ffffff;
}
.logo_wrap .logo2 span {
    font-size: 10px;
}


.top_phone {
    font-weight: 700;
    color: #ffffff;
}

.top_addr {
    color: #ffffff;
}

header .btn {
    width: 210px;
    height: 48px;
}

header .m_btn {
    display: none;
}

.menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 16px 0;
    transition: all .3s;
}

.menu.dark {
    border-top: 1px solid #FFFFFF;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.menu .container {
    display: flex;
    justify-content: center;
    gap: 0 100px;
}

.menu a {
    font-weight: 600;
    transition: all .3s;
}

.menu.dark a {
    color: #ffffff;
}

.menu a:hover {
    color: #3999ff;
}

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

.banner {
    margin-top: 30px;
}

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

.title_container {
    position: absolute;
    top: 115px;
    left: 0;
    z-index: 1;
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

.title_container .title1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
}

.title_container .title1 b {
    display: block;
    font-size: 38px;
    text-transform: uppercase;
    /* margin: 15px 0; */
}

.title_container .title1 span {
    color: #002D96;
}

.timer_block {
    background: #ffffff;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -71px;
}

.timer_title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

.timer_title span {
    color: #002D96;
}

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

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

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

.cars_items {
    margin-top: 120px;
}

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

.cars_menu_title {
    font-size: 48px;
    text-transform: uppercase;
    font-weight: 700;
}

.cars_menu_slider {
    margin: 0 !important;
    width: 82%;
}

.cars_menu_slider .swiper-slide a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px 0;
}

.cars_menu_slider .menu_img {
    display: flex;
    min-height: 47px;
    align-items: center;
}

.cars_menu_slider .menu_text {
    width: 122px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A3B0B9;
    border-radius: 2px;
    border: 1px solid #A3B0B9;
    font-weight: 700;
    transition: all .3s;
}

.cars_menu_slider .swiper-slide a:hover .menu_text {
    background: #3999ff;
    border-color: #3999FF;
    color: #ffffff;
}

.car_item {
    margin-top: 80px;
    padding: 40px 90px 25px;
    background: #ffffff;
}

.car_item .car_wrap {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
    position: relative;
}

.car_item .car_wrap:after {
    content: '';
    width: 402px;
    height: 522px;
    position: absolute;
    top: 0;
    right: 0;
    background: url("../img/car_lines.png") 50% no-repeat;
}

.car_image_wrap {
    width: 51%;
    position: relative;
}

.car_image_wrap:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 703px;
    height: 456px;
    border-radius: 1px;
    background: #F5F5F5;
}

.car_spec_price {
    position: relative;
    margin-top: 8px;
    margin-left: 8px;
    text-align: center;
    width: 225px;
    font-weight: 700;
    background: #FFF;
    padding: 10px 0;
}

.car_spec_price b {
    color: #002d96;
}

.car_image {
    min-height: 336px;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.car_image img {
    /*opacity: 0;*/
}

.car_colors {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 40px;
    margin-top: 30px;
}

.car_colors span {
    font-size: 14px;
    font-weight: 600;
    margin-right: 15px;
}

.car_colors > div {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
}

.car_colors > div.active {
    border: 1px solid #000000;
}

.car_text {
    width: 42%;
    margin-right: 50px;
    position: relative;
}


.car_name {
    font-size: 72px;
    font-weight: 600;
    margin-left: 45px;
    margin-top: -22px;
    position: relative;
    z-index: 1;
}

.car_name span {
    font-size: 32px;
    display: block;
    margin-bottom: -5px;
    padding-right: 40px;
    width: 140px;
    background: #FFFFFF;
}

.car_profit {
    margin-top: 20px;
    font-size: 20px;
    min-height: 37px;
    display: flex;
    align-items: center;
    background: url("../img/ico_profit.svg") 0 50% no-repeat;
    padding-left: 52px;
    margin-left: 45px;
}

.car_profit b {
    font-size: 28px;
    color: #002d96;
}

.car_profit.new {
    background: url("../img/ico_new.png") 0 50% no-repeat;
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 700;
}

.car_props {
    margin-top: 45px;
    display: grid;
    row-gap: 6px;
    /*justify-content: space-between;*/
    padding: 20px 15px;
    border: 0px solid #E1DCDC;
    background: #F5F5F5;
    box-shadow: 0px 1px 10px 0px #CDCFD3;
}

.car_props > div {
    position: relative;
    padding-left: 16px;
}

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

.car_gallery {
    margin-top: 80px;
}

.car_btns {
    width: 85.5%;
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
}

.car_btns .btn {
    width: 32%;
}

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

#instock {
    margin-top: 80px;
}

.instock_title {
    font-size: 48px;
    text-transform: uppercase;
    font-weight: 700;
}

#filter_table {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
}

#filter_table .select_container {
    width: 32%;
}

#filter_table select {
    width: 100%;
    font-family: 'OpenSans';
    appearance: none;
    -moz-appearance: none;
    height: 44px;
    border: 1px solid #DEE0E1;
    background: url("../img/ico_select.png") 95% 50% no-repeat #F5F5F5;
    padding-left: 30px;
    color: #353e49;
    font-weight: 600;
    outline: none;
}

.tb_complects {}

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

.tb_complects > div {
    border-top: 1px solid #DEE0E1;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.compl_image {
    width: 20%;
}

.compl_name {
    font-size: 28px;
    font-weight: 600;
    color: #002d96;
    width: 11%;
}

.compl_name span {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #000000;
}

.compl_techs {
    display: flex;
}

.compl_techs > div {


}

.compl_techs > div span {
    display: block;
    width: 100%;
    padding-top: 50px;
    text-align: center;
}

.compl_techs > div.ico1 {
    padding-right: 58px;
    margin-right: 57px;
    position: relative;
}

.compl_techs > div.ico1:after {
    content: '';
    display: block;
    width: 1px;
    height: 38px;
    background: #DEE0E1;
    position: absolute;
    right: 0;
    bottom: 16px;
}

.compl_techs > div.ico1 span {
    background: url("../img/ico_engine.svg") 50% 0 no-repeat;
}

.compl_techs > div.ico2 span{
    background: url("../img/ico_tire.svg") 50% 0 no-repeat;
}

.compl_btns {
    width: 26%;
    display: flex;
    flex-direction: column;
    gap: 10px 0;
}

.tb_complects_showmore {
    display: block;
    margin-top: 30px;
    text-decoration: underline;
    font-weight: 600;
    font-size: 18px;
}

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

.tradein {
    margin-top: 80px;
    background: #121111;
    color: #ffffff;
    padding: 80px 0;
}

.tradein_wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
}

.tradein_wrap:before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #FEFCFC;
    position: absolute;
    top: 32px;
    left: 0;
}

.tradein_imgs {
    display: flex;
    gap: 0 40px;
    width: 56%;
}

.tradein_imgs > div {
    overflow: hidden;
    border-radius: 2px;
}

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

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


.tradein_text {
    width: 453px;
    max-width: 100%;
    margin-right: 70px;
}

.tradein_title {
    display: inline-block;
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 50px;
    background: #121111;
    padding: 0 40px;
    margin-left: -40px;
    position: relative;
}

#tradein_form input[type=text],
#tradein_form input[type=tel],
#tradein_form select {
    background: transparent;
    border-color: #C3C3C3;
    color: #ffffff;
}
#tradein_form select option {
    color: #000000;
}

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

.credit {
    margin-top: 80px;
}

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

.credit_img {
    width: 42.5%;
    overflow: hidden;
}

.credit_img img {
    transition: all .3s;
}

.credit_img:hover img {
    transform: scale(1.1);
}

.credit_wrap {
    width: 55.5%;
    position: relative;
}

.credit_wrap:before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    position: absolute;
    background: #000000;
    top: 21px;
    left: 0;
}

.credit_title {
    display: inline-block;
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: -13px;
    background: #F9F8F8;
    padding-right: 40px;
    position: relative;
}

.credit_title span {
    font-size: 24px;
    display: block;
    text-transform: none;
    font-weight: 400;
    margin-top: 10px;
}

.credit_form_wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 120px;
    gap: 0 30px;
}

#credit_form {
    width: 403px;
    max-width: 100%;
}

#credit_form .agree_field {
    display: block;
}

.credit_form_title {
    font-weight: 700;
    margin-bottom: 15px;
}

.credit_form_img {
    overflow: hidden;
}

.credit_form_img img {
    transition: all .3s;
}

.credit_form_img:hover img {
    transform: scale(1.1);
}


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

.contacts {
    margin-top: 200px;
}

.cont_wrap {
    padding: 55px 120px 55px 100px;
    border-radius: 1px;
    opacity: 0.95;
    background: #141515;
    color: #ffffff;
    width: 654px;
    max-width: 100%;
    position: absolute;
    top: -15px;
    right: 0;
    z-index: 1;
}

.cont_wrap:before {
    content: '';
    display: block;
    width: 50%;
    height: 2px;
    position: absolute;
    background: #FFFFFF;
    top: 81px;
    right: 0;
}

.cont_title {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 40px;
    display: inline-block;
    background: #141515;
    padding-right: 40px;
    position: relative;
}

.cont_logo_wrap {
    margin-top: 30px;
    display: flex;
}

.cont_logo_wrap .cont_logo2 {
    padding-left: 16px;
    margin-left: 16px;
    border-left: 1px solid #FFFFFF;
    font-size: 18px;
    display: grid;
    white-space: nowrap;
}
.cont_logo_wrap .cont_logo2 span {
    font-size: 10px;
}

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

.bot_phone {
    display: block;
    font-size: 18px;
    font-weight: 700;
    padding-left: 21px;
    background: url("../img/ico_phone.svg") 0 50% no-repeat;
}

.bot_addr {
    font-weight: 600;
    padding-left: 21px;
    background: url("../img/ico_loc.svg") 0 50% no-repeat;
}

.worktime {
    width: 100%;
    font-size: 14px;
}

.worktime b {
    font-weight: 600;
}

.quest {
    font-size: 20px;
    margin-top: 25px;
}

.quest b {
    font-size: 22px;
}

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

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

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


footer {
    padding: 35px 0;
    background: #202020;
    color: #ffffff;
}

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

.yurinfo {
    font-size: 14px;
}

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

.foot_links a {
    font-weight: 700;
}

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) {
    .top_addr {
        display: none;
    }

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

    .banner picture img {
        height: 630px;
    }

    .title_container {
        top: 120px;
    }

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

    .title_container .title1 b {
        font-size: inherit;
        margin: 0;
    }

    .timer_block {
        flex-flow: wrap;
        gap: 15px 0;
    }

    #timer_form {
        width: 100%;
    }

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

    .cars_items {
        margin-top: 60px;
    }

    .cars_menu {
        flex-direction: column;
        align-items: center;
        gap: 20px 0;
    }

    .cars_menu_slider {
        width: 100%;
    }

    .car_item {
        padding: 40px 25px 25px;
    }

    .car_image_wrap {
        width: 48%;
    }

    .car_image_wrap:before {
        width: 102%;
    }

    .car_name {
        margin-left: 0;
    }

    .car_profit {
        margin-left: 0;
        font-size: 20px;
    }

    .car_profit b {
        font-size: 24px;
    }

    .car_props {
        display: inline-flex;
        padding: 15px;
    }

    .car_props {
        flex-direction: column;
        gap: 5px 0;
    }

    .car_gallery {
        margin-top: 50px;
    }

    .car_btns {
        width: 80%;
    }

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

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

    .compl_techs > div.ico1 {
        padding-right: 0;
        margin-right: 0;
    }

    .compl_techs > div.ico1:after {
        display: none;
    }

    .compl_techs > div span {
        padding: 10px 0 10px 60px;
        background-position: 0 50% !important;
        text-align: left;
    }

    .compl_name {
        width: 15%;
    }

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

    .tradein_wrap {
        align-items: center;
    }

    .tradein_text {
        width: 310px;
    }

    .tradein_title {
        font-size: 40px;
    }

    .tradein_imgs {
        gap: 0 20px;
    }

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

    .credit_title {
        font-size: 34px;
    }

    .credit_title span {
        font-size: 20px;
    }

    .credit_form_wrap {
        margin-top: 25px;
    }

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

    .contacts {
        margin-top: 80px;
    }

    .cont_wrap {
        padding: 50px;
        width: 500px;
    }

    .quest {
        font-size: 18px;
    }

    .quest b {
        font-size: inherit;
    }
}

/*IPAD PRO BEGIN*/

/*IPAD BEGIN*/
@media (min-width: 768px) and (max-width: 991px) {
    .logo_wrap {
        width: 40%;
    }

    .menu {
        padding: 10px 0;
    }

    .menu .container {
        gap: 0 40px;
    }

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

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

    .banner {
        margin-top: 80px;
    }

    .banner picture img {
        height: 500px;
    }

    .title_container {
        top: 39px;
    }

    .title_container .title1 b {
        font-size: 24px;
    }

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

    .timer_block {
        gap: 30px 0;
        padding: 20px;
    }

    .timer_title {
        font-size: 18px;
    }

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

    .cars_menu {
        gap: 40px 0;
    }

    .cars_menu_slider .menu_text {
        width: auto;
        height: auto;
        padding: 5px 10px;
        font-size: 12px;
    }

    .car_item .car_wrap {
        flex-direction: column;
        gap: 40px 0;
        padding-top: 110px;
    }

    .car_item .car_wrap:after {
        display: none;
    }

    .car_image_wrap {
        width: 100%;
    }

    .car_text {
        width: 100%;
        position: unset;
    }

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

    .car_name span {
        margin-bottom: -15px;
    }

    .car_props {
        display: flex;
        flex-direction: row;
    }

    .car_btns {
        width: 100%;
        margin-top: 0;
    }

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

    .tb_complects > div {
        flex-flow: wrap;
    }

    .compl_image {
        width: 50%;
    }

    .compl_name {
        width: 50%;
    }

    .compl_techs {
        width: 50%;
    }

    .compl_btns {
        width: 50%;
    }

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

    .tradein_wrap {
        flex-direction: column-reverse;
        gap: 30px 0;
    }

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

    .tradein_imgs {
        width: 100%;
    }

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

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

    .credit_img {
        display: none;
    }

    .credit_title {
        margin-top: 0;
    }

    .credit_wrap {
        width: 100%;
    }

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

    .contacts {
        background: #141515;
    }

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

    .cont_wrap:before {
        width: 65%;
        top: 55px;
    }

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

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

    .yurinfo {
        width: 100%;
    }

}

/*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: 1px;
        right: 15px;
    }

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

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

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

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

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

    .menu {
        display: block;
        position: fixed;
        top: 107px;
        background: white;
        width: 100%;
        height: auto;
        right: -100%;
        left: unset;
        transition: all .3s linear;
        z-index: 2;
        padding: 10px 0;
    }

    .menu.active {
        right: 0;
    }

    .menu .container {
        flex-direction: column;
        align-items: center;
        row-gap: 10px;
    }

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

    header .container {
        flex-flow: wrap;
    }

    .top_addr {
        display: none;
    }

    header .btn {
        display: none;
    }

    .logo_wrap {
        width: 85%;
    }

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

    .banner {
        margin-top: 125px;
    }

    .banner picture img {
        height: 230px;
    }

    .title_container {
        top: 0;
        position: relative;
        padding: 20px 0;
    }

    .title_container .title1 {
        font-size: 4.5vw;
    }

    .title_container .title1 b {
        font-size: 8vw;
        margin: 5px 0;
    }

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

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

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

    #timer_form {
        width: 100%;
    }

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

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

    .cars_items {
        margin-top: 60px;
    }

    .cars_menu {
        gap: 20px 0;
        flex-direction: column;
        align-items: center;
    }

    .cars_menu_title {
        font-size: 9vw;
    }

    .cars_menu_slider .menu_text {
        width: auto;
        height: auto;
        padding: 5px 10px;
        font-size: 12px;
    }

    .cars_menu_slider {
        width: 100%;
        padding-bottom: 20px !important;
    }

    .swiper-scrollbar-drag {
        background: #002D96 !important;
    }

    .car_item {
        margin-top: 40px;
        padding: 15px;
    }

    .car_item .car_wrap {
        flex-direction: column;
        gap: 20px 0;
        padding-top: 80px;
    }

    .car_item .car_wrap:after {
        display: none;
    }

    .car_image_wrap {
        width: 100%;
        padding-bottom: 10px;
    }

    .car_image_wrap:before {
        width: 100%;
        height: 100%;
    }

    .car_image {
        min-height: auto;
        margin-top: 20px;
    }

    .car_colors {
        justify-content: center;
        margin-left: 0;
        gap: 10px 0;
        flex-flow: wrap;
        margin-top: 0;
    }

    .car_colors span {
        width: 100%;
        text-align: center;
        margin-right: 0;
        display: none;
    }

    .car_colors > div {
        margin: 0 5px;
    }

    .car_text {
        width: 100%;
        position: unset;
    }

    .car_name {
        position: absolute;
        top: 15px;
        left: 0;
        margin-left: 0;
        font-size: 12vw;
    }

    .car_name span {
        font-size: 6vw;
        margin-bottom: -10px;
    }

    .car_profit {
        margin-left: 0;
        font-size: 4vw;
        margin-top: 0;
    }

    .car_profit b {
        font-size: 5vw;
    }

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

    .car_gallery {
        margin-top: 15px;
        padding-bottom: 20px !important;
    }

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

    .car_btns .btn {
        width: 100%;
    }

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

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

    #filter_table {
        flex-direction: column;
        gap: 5px 0;
        margin-top: 20px;
    }

    #filter_table .select_container {
        width: 100%;
    }

    .tb_complects > div {
        flex-flow: wrap;
        gap: 15px 0;
    }

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

    .compl_name {
        width: 100%;
    }

    .compl_name span {
        display: inline-block;
    }

    .compl_techs {
        width: 100%;
        justify-content: center;
    }

    .compl_btns {
        width: 100%;
    }

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

    .tradein {
        padding: 30px 0;
    }

    .tradein_wrap {
        flex-direction: column-reverse;
        gap: 30px 0;
    }

    .tradein_wrap:before {
        height: 2px;
        top: 22px;
    }

    .tradein_title {
        font-size: 8vw;
    }

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

    .tradein_imgs {
        width: 100%;
    }

    .tradein_imgs > div:last-child {
        display: none;
    }

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

    .credit {
        margin-top: 60px;
    }

    .credit .container {
        flex-direction: column-reverse;
        gap: 30px 0;
    }

    .credit_wrap:before {
        display: none;
    }

    .credit_img {
        width: 100%;
    }

    .credit_title {
        margin-top: 0;
        font-size: 7vw;
        padding-right: 0;
    }

    .credit_title span {
        font-size: 5vw;
        margin-top: 0;
    }

    .credit_wrap {
        width: 100%;
    }

    .credit_form_wrap {
        margin-top: 20px;
    }

    .credit_form_img {
        display: none;
    }

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

    .contacts {
        background: #141515;
        margin-top: 60px;
    }

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

    .cont_wrap:before {
        width: 65%;
        top: 50px;
        height: 2px;
    }

    .cont_title {
        font-size: 8vw;
    }

    .quest b {
        font-size: inherit;
    }

    .quest {
        font-size: 4vw;
    }

    #map1 {
        height: 350px;
    }

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

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

    .yurinfo {
        width: 100%;
        font-size: 3vw;
    }

}

/*MOBILE END*/

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

}

@media (max-width: 360px) {

}

@media (max-width: 320px) {

}