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

html {
    overflow-x: hidden;
}

body {
    font-family: 'SourceSansPro', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    position: relative;
    font-weight: 400;
    margin: 0 auto;
    padding: 0;
    overflow-x: hidden;
    max-width: 1920px;
    background: url("../img/bg.svg") 50% 1175px no-repeat #282D3C;
}

.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: 100%;
    position: relative;
}

@media (min-width: 1200px) {
    .container {
        width: 1340px;
        padding: 0 30px;
    }
}

.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: 500px;
    max-width: 100%;
    padding: 30px;
    overflow: hidden;
    position: relative;
    background: #1E232E;
}


.popup_container h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    padding: 0;
    color: #ffffff;
}

.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;
}

.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 input[type=number],
form .form-group select {
    height: 60px;
    width: 100%;
    color: #FFFFFF;
    font-size: 16px;
    box-sizing: border-box;
    font-weight: 400;
    font-family: 'SourceSansPro', sans-serif;
    padding: 0px 20px;
    outline: none;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.10);
}

form .form-group select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: url(../img/ico_select.png) 95% 50% no-repeat #ffffff;
    font-family: 'SourceSansPro', sans-serif;
    outline: none;
}

form .form-group button {
    width: 100%;
    cursor: pointer;
    font-family: 'SourceSansPro', 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: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: 60px;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    outline: none;
    transition: all .5s ease-in-out;
    text-align: center;
    overflow: hidden;
    position: relative;
    text-transform: uppercase;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.20);
}

.btn.black {
    border-color: #181C25;
    background: #181C25;
}

.btn.black:hover {
    background: #4B5061;
    border-color: #4B5061;
}

.btn:hover {
    border-color: #FFFFFF;
}


.anim {
    opacity: 0;
    transform: translateY(100px);
    transition: all .5s ease-in-out;
}

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

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

header {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    z-index: 999;
    background: #1E232E;
    padding: 15px 0;
    transition: all .5s ease-in-out;
}

header.show {
    top: 0;
}

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

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

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

.menu {
    position: fixed;
    top: -100%;
    top: -100%;
    left: 0;
    right: 0;
    background: #4B505F;
    padding: 15px 0;
    z-index: 999;
    transition: all .5s ease-in-out;
}

.menu.show {
    top: 90px;
}

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

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

.menu a {
    transition: all .5s ease-in-out;
}

.menu a:hover {
    color: #96cdf5;
}

header .m_btn {
    display: none;
}

header .btn {
    width: 230px;
}

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

.banner {
    margin-top: 140px;
}

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

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

.title_container .title1 {
    font-size: 44px;
    font-weight: 600;
}

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

.title_container .title2 {
    font-size: 44px;
    font-weight: 600;
}

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

.title_container .btn {
    width: 300px;
    margin: 20px auto 0;
}

.timer_block {
    border-radius: 10px;
    background: #1E232E;
    backdrop-filter: blur(5px);
    padding: 25px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0 50px;
    margin-top: -95px;
}

div[id^=timer] {
    white-space: nowrap;
}

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

#timer_form .form_comment {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

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

.blocks_title {
    font-size: 48px;
    font-weight: 600;
    text-align: center;
}

.cars_items {
    margin-top: 120px;
}

.cars_list {
    display: flex;
    flex-direction: column;
    gap: 120px 0;
    margin-top: 60px;
}

.car_item {
    display: flex;
    justify-content: space-between;
    gap: 0 20px;
}

.car_wrap {
    display: flex;
    flex-flow: wrap;
    width: 83%;
    border-radius: 10px;
    background: #2C303E;
    box-shadow: 0px -4px 23px 0px rgba(24, 28, 37, 0.20);
    overflow: hidden;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.car_text {
    width: 34%;
}

.car_name {
    position: relative;
    font-size: 48px;
    font-weight: 100;
    line-height: 100%;
    white-space: nowrap;
    z-index: 1;
}

.car_name b {
    font-weight: 600;
}

.car_profit {
    display: flex;
    align-items: center;
    height: 72px;
    margin-top: 40px;
    border-radius: 5px;
    background: linear-gradient(90deg, #4B505F 0%, rgba(75, 80, 95, 0.00) 85%);
    position: relative;
    padding-left: 60px;
    overflow: hidden;
}

.car_profit:before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    background: url("../img/ico_profit.svg") 50% no-repeat;
    position: absolute;
    left: 16px;
    top: calc(50% - 15px);
    z-index: 1;
}

.car_profit:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: -100%;
    top: 0;
    border-radius: 5px;
    background: linear-gradient(90deg, #96CDF5 0%, rgba(150, 205, 245, 0.00) 85%);
    transition: all .5s ease-in-out;
}

.car_profit:hover:after {
    left: 0;
}

.car_profit span {
    border-radius: 100px;
    background: #1E232E;
    font-size: 24px;
    font-weight: 600;
    padding: 10px 20px;
    position: relative;
    z-index: 1;
}

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

.car_props > a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding-left: 55px;
    font-size: 20px;
    position: relative;
    font-weight: 300;
}

.car_props > a:before {
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background: #4B5160;
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 4px;
    transition: all .5s ease-in-out;
    box-sizing: border-box;
}

.car_props > a:hover:before {
    background: #96CDF5;
}

.car_props > a.ico1:before {
    content: url("../img/prop_ico1.svg");
}

.car_props > a.ico2:before {
    content: url("../img/prop_ico2.svg");
}

.car_props > a.ico3:before {
    content: url("../img/prop_ico3.svg");
}

.car_image {
    width: 66%;
    position: relative;
}

.car_image:before {
    content: url("../img/car_logo.svg");
    position: absolute;
    top: -40px;
    left: 95px;
}

.car_image .main_img {
    position: relative;
}

.car_colors {
    display: flex;
    justify-content: center;
    gap: 0 11px;
    margin-top: 15px;
}

.car_colors > div {
    width: 45px;
    height: 20px;
    transition: all .5s ease-in-out;
    border-radius: 5px;
    cursor: pointer;
}

.car_colors > div.active {
    width: 120px;
}

.car_btns {
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.car_btns .btn {
    width: 32.5%;
}

.car_gallery_wrap {
    width: 200px;
    position: relative;
    padding: 50px 0;
}

.car_gallery {
    width: 100%;
    height: 436px;
}

.car_gallery .swiper-slide {
    border-radius: 10px;
    overflow: hidden;
}

.car_gallery .swiper-slide img {
    transition: all .5s ease-in-out;
}

.car_gallery .swiper-slide:hover img {
    transform: scale(1.1);
}

.car_gallery .swiper-scrollbar {
    display: none;
}

.car_gallery_wrap .swiper-button-prev,
.car_gallery_wrap .swiper-button-next {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: url("../img/arrow.svg") 50% no-repeat;
    transition: all .5s ease-in-out;
    margin: 0 !important;
    left: calc(50% - 20px);
}

.car_gallery_wrap .swiper-button-prev:hover,
.car_gallery_wrap .swiper-button-next:hover {
    border-color: #FFFFFF;
}

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

.car_gallery_wrap .swiper-button-prev {
    top: 0;
}

.car_gallery_wrap .swiper-button-next {
    top: unset;
    bottom: 0;
    transform: rotate(180deg);
}

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

#instock {
    margin-top: 120px;
}

#filter_table {
    display: none;
}

.filter_quick_menu {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    gap: 0 20px;
}

.filter_quick_menu > li {
    display: block;
    width: 50%;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    height: 60px;
    transition: all .5s ease-in-out;
    cursor: pointer;
}

.filter_quick_menu > li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 18px;
    font-weight: 600;
}

.filter_quick_menu > li.current {
    background: #4B5061;
    border-color: #4B5061;
}

.filter_quick_menu > li:hover {
    background: rgba(75, 80, 97, 0.50);
}


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

.tb_complects > div {
    margin-top: 45px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 40px 40px;
    background: url("../img/compl_bg.svg") 50% 100% no-repeat;
}

.compl_text {
    width: 38%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.compl_name {
    display: flex;
    align-items: center;
    gap: 0 20px;
    height: 60px;
    border-radius: 5px;
    background: url("../img/compl_name.svg") 100% 50% no-repeat;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 40px;
    padding-right: 30px;
}

.compl_name b {
    font-weight: 600;
}

.compl_profit {
    margin-top: 30px;
    display: block;
    padding-left: 45px;
    background: url("../img/ico_profit.svg") 0 50% no-repeat;
}

.compl_profit span {
    display: block;
    border-radius: 100px;
    background: #1E232E;
    font-size: 24px;
    font-weight: 600;
    padding: 10px 20px;
    position: relative;
    z-index: 1;
    transition: all .5s ease-in-out;
}

.compl_profit:hover span {
    background: #96CDF5;
}

.compl_techs {
    margin-top: 30px;
    display: flex;
    gap: 0 37px;
}

.compl_techs > div {
    padding-right: 38px;
    position: relative;
    color: #C8CDD2;
}

.compl_techs > div:last-child {
    padding-right: 0;
}

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

.compl_techs > div b {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 10px;
}

.compl_techs > div.ico1 b {
    padding-left: 28px;
    background: url("../img/compl_ico1.svg") 0 50% no-repeat;
}

.compl_techs > div.ico2 b {
    padding-left: 40px;
    background: url("../img/compl_ico2.svg") 0 50% no-repeat;
}

.compl_techs > div.ico3 b {
    padding-left: 35px;
    background: url("../img/compl_ico3.svg") 0 50% no-repeat;
}

.compl_techs > div:after {
    content: '';
    display: block;
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.4), transparent);
    position: absolute;
    right: 0;
    top: calc(50% - 25px);
}

.compl_image {
    width: 59%;
}

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

.compl_btns .btn {
    width: 49%;
}

.tb_complects_showmore {
    display: flex;
    justify-content: center;
    gap: 0 15px;
    margin-top: 60px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    align-items: center;
}

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

.credit_tradein {
    display: flex;
    gap: 0 20px;
    margin-top: 120px;
}

.credit {
    display: flex;
    flex-direction: column;
    gap: 20px 0;
    width: 50%;
}

.credit_img {
    width: 100%;
    border-radius: 11px;
    overflow: hidden;
}

.credit_wrap {
    background: url("../img/text_bg.svg") 50% 100% no-repeat;
    backdrop-filter: blur(50px);
    padding: 40px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.credit_comment {
    margin-top: 30px;
    text-align: right;
    font-size: 20px;
    font-weight: 300;
}

#credit_form {
    margin-top: 30px;
    width: 100%;
}


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

.tradein {
    display: flex;
    flex-direction: column;
    gap: 20px 0;
    width: 50%;
}

.tradein_img {
    width: 100%;
    border-radius: 11px;
    overflow: hidden;
}

.tradein_wrap {
    background: url("../img/text_bg.svg") 50% 100% no-repeat;
    padding: 40px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    backdrop-filter: blur(50px);
}

.tradein_comment {
    margin-top: 30px;
    font-size: 20px;
    font-weight: 300;
}

#tradein_form {
    margin-top: 30px;
    width: 100%;
}

/**********************
      TEST-DRIVE
**********************/

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

.test_drive_img {
    border-radius: 10px;
    overflow: hidden;
}

.test_drive_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0 20px;
    backdrop-filter: blur(50px);
}

.test_drive_text {
    width: 630px;
    background: url("../img/text_bg.svg") 50% 100% no-repeat;
    padding: 40px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.test_drive_comment {
    margin-top: 30px;
    font-size: 20px;
    font-weight: 300;
    text-align: center;
}

#test_drive_form {
    margin-top: 30px;
    width: 100%;
}

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

.contacts {
    margin-top: 120px;
}

.contacts_wrap {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    background: url("../img/contacts_bg.svg") 50% no-repeat;
    border-radius: 10px;
}

.contacts_wrap .btn {
    width: 230px;
}

#map1 {
    width: 100%;
    height: 450px;
    margin-top: 20px;
    background: url("../img/map.jpg") 50% 100% no-repeat;
    border-radius: 11px;
    overflow: hidden;

}

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

footer {
    margin-top: 120px;
    background: #181C25;
    padding: 40px 0;
}

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

.yurinfo {
    font-size: 16px;
    font-weight: 300;
    line-height: 150%;
    color: #C8CDD2;
}

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

.foot_links > a {
    font-size: 16px;
    font-weight: 300;
    color: #C8CDD2;
}

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: 650px;
    }

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

    #timer_form {
        width: 100%;
    }

    #timer_form .form_comment {
        width: 100%;
        text-align: center;
    }

    /*******************************************************************/
    .car_item {
        align-items: center;
    }

    .car_wrap {
        position: relative;
        flex-flow: wrap;
        padding: 120px 20px 20px;
    }

    .car_image {
        order: 1;
        width: 100%;
        text-align: center;
    }

    .car_text {
        order: 2;
        width: 100%;
    }

    .car_title {
        position: absolute;
        width: 100%;
        top: 20px;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
    }

    .car_profit {
        margin-top: 10px;
    }


    .car_props {
        flex-direction: row;
        justify-content: space-between;
        margin-top: 20px;
    }

    .car_props > a {
        font-size: 18px;
    }

    .car_btns {
        order: 3;
        margin-top: 20px;
    }

    /*******************************************************************/
    .tb_complects {
    }

    .tb_complects > div {
        padding: 0 20px 20px;
        background-size: 100%;
    }

    .compl_image {
        width: 55%;
    }

    .compl_profit {
    }

    .compl_techs {
        gap: 0 15px;
    }

    .compl_techs > div {
        padding-right: 15px;
        font-size: 20px;
    }

    /*******************************************************************/
    .credit_wrap {
        padding: 20px;
    }

    .credit_comment {
        font-size: 18px;
    }

    /*******************************************************************/
    .tradein_wrap {
        padding: 20px;
    }

    .tradein_comment {
        font-size: 18px;
    }

    /*******************************************************************/
    .test_drive_text {
        padding: 20px;
    }

    .test_drive_comment {
        font-size: 18px;
    }

    /*******************************************************************/
    .contacts_wrap .btn {
        display: none;
    }

}

/*IPAD PRO BEGIN*/

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

    .logo_wrap {
        width: 40%;
    }

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

    /*******************************************************************/
    .banner picture img {
        height: 490px;
    }

    .title_container {
        top: 10px;
    }

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

    .title_container .title2 {
        font-size: 40px;
    }

    .title_container .btn {
        margin-top: 10px;
    }

    .timer_block {
        margin-top: -50px;
    }

    /*******************************************************************/
    .car_item {
        flex-direction: column;
    }

    .car_wrap {
        width: 100%;
    }

    .car_gallery_wrap {
        width: 100%;
        padding: 0 50px;
        margin-top: 20px;
    }

    .car_gallery_wrap .swiper-button-prev,
    .car_gallery_wrap .swiper-button-next {
        left: 0;
        top: calc(50% - 20px);
        transform: rotate(-90deg);
    }

    .car_gallery_wrap .swiper-button-next {
        left: unset;
        right: 0;
        transform: rotate(90deg);
    }

    .car_gallery {
        height: auto;
    }

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

    .car_btns .btn {
        width: 100%;
    }

    /*******************************************************************/
    .tb_complects > div {
        flex-direction: column;
    }

    .compl_text {
        width: 100%;
    }

    .compl_image {
        width: 100%;
        margin-top: 30px;
    }

    /*******************************************************************/
    .credit_tradein {
        flex-direction: column;
        gap: 20px 0;
    }

    .credit {
        width: 100%;
    }

    .credit_img img {
        width: 100%;
    }

    .credit_wrap {
        align-items: center;
        background-size: 100%;
    }

    .credit_comment {
        text-align: center;
    }

    /*******************************************************************/
    .tradein {
        width: 100%;
    }

    .tradein_img img {
        width: 100%;
    }

    .tradein_wrap {
        align-items: center;
        background-size: 100%;
    }

    .tradein_comment {
        text-align: center;
    }

    /*******************************************************************/
    .test_drive {
        margin-top: 20px;
    }

    .test_drive_wrap .test_drive_img {
        display: none;
    }

    .test_drive_text {
        width: 100%;
        background-size: 100%;
    }

    /*******************************************************************/
    .contacts_wrap {
        flex-flow: wrap;
        align-items: flex-start;
        gap: 30px 0;
        background-size: cover;
    }

    .cont_logo {
        width: 100%;
    }


}

/*IPAD END*/

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

    body {
        background: #282D3C;
    }


    .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: 7px;
        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: flex;
        flex-direction: column;
        position: fixed;
        top: 107px;
        width: 100%;
        height: auto;
        right: -100%;
        left: unset;
        transition: all .3s linear;
        z-index: 2;
        padding: 20px 0;
        row-gap: 10px;
    }

    .menu.active {
        right: 0;
    }

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

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

    .menu a {
        padding: 0;
    }

    .menu a:before {
        display: none;
    }

    /*******************************************************************/
    header {
        padding: 10px 0;
    }

    .logo_wrap {
        width: 85%;
    }

    header .container {
        flex-flow: wrap;
    }

    header .btn {
        display: none;
    }

    .top_addr {
        display: none;
    }

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

    /*******************************************************************/
    .anim {
        opacity: 1;
        transform: unset;
    }

    /*******************************************************************/
    .banner {
        margin-top: 80px;
    }

    .banner picture img {
        height: auto;
        width: 100%;
    }

    .title_container {
        top: 50px;
    }

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

    .title_container .title1 span {
        font-size: 6vw;
    }

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

    .title_container .title3 {
        font-size: 6vw;
    }

    .title_container .btn {
        margin-top: 10px;
        display: none;
    }

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

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

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

    #timer_form {
        width: 100%;
    }

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

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

    .blocks_title {
        font-size: 8vw;
    }

    /*******************************************************************/
    .cars_items {
        margin-top: 60px;
    }

    .cars_list {
        gap: 60px 0;
    }

    .car_item {
        flex-direction: column;
    }

    .car_wrap {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .car_wrap {
        position: relative;
        flex-flow: wrap;
        padding: 150px 15px 15px;
    }

    .car_image {
        order: 1;
        width: 100%;
        text-align: center;
    }

    .car_image:before {
        transform: scale(0.7);
        transform-origin: 20% 0;
        left: 0;
    }

    .car_colors {
        z-index: 1;
        position: relative;
        gap: 0 5px;
    }

    .car_text {
        order: 2;
        width: 100%;
    }

    .car_title {
        position: absolute;
        width: 100%;
        top: 20px;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        padding: 0 15px;
    }

    .car_name {
        font-size: 10vw;
        white-space: inherit;
    }

    .car_profit {
        margin-top: 10px;
        height: 60px;
    }

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


    .car_props {
        flex-direction: column;
        justify-content: space-between;
        margin-top: 20px;
    }

    .car_props > a {
        font-size: 16px;
    }

    .car_btns {
        order: 3;
        margin-top: 20px;
    }

    .car_gallery_wrap {
        width: 100%;
        padding: 0;
        margin-top: 20px;
    }

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

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

    .car_gallery .swiper-scrollbar {
        display: block;
        bottom: 0;
    }

    .car_gallery .swiper-scrollbar-drag {
        background: #FFFFFF;
    }

    .car_gallery {
        height: auto;
    }

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

    .car_btns .btn {
        width: 100%;
    }

    /*******************************************************************/
    #instock {
        margin-top: 60px;
    }

    .filter_quick_menu {
        margin-top: 30px;
        gap: 0 10px;
    }

    .tb_complects > div {
        flex-direction: column;
        padding: 15px;
        border-radius: 10px;
        background: #2C303E;
        box-shadow: 0px -4px 23px 0px rgba(24, 28, 37, 0.20);
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .compl_text {
        width: 100%;
    }

    .compl_name {
        padding-right: 15px;
        width: fit-content;
        font-size: 7vw;
        gap: 0 10px;
        height: 50px;
        background-size: 100%;
    }

    .compl_profit span {
        font-size: 6vw;
    }

    .compl_techs {
        width: 100%;
        gap: 0 5px;
        justify-content: space-between;
    }

    .compl_techs > div {
        padding-right: 15px;
        font-size: 4vw;
        text-align: center;
    }

    .compl_techs > div b {
        font-size: 5vw;
    }

    .compl_image {
        width: 100%;
        margin-top: 30px;
    }

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

    .compl_btns .btn {
        width: 100%;
    }

    /*******************************************************************/
    .credit_tradein {
        flex-direction: column;
        gap: 20px 0;
    }

    .credit {
        width: 100%;
    }

    .credit_img img {
        width: 100%;
    }

    .credit_wrap {
        align-items: center;
        background-size: 100%;
        padding: 15px;
    }

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

    .credit_comment br {
        display: none;
    }

    /*******************************************************************/
    .tradein {
        width: 100%;
    }

    .tradein_img img {
        width: 100%;
    }

    .tradein_wrap {
        align-items: center;
        background-size: 100%;
        padding: 15px;
    }

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

    .tradein_comment br {
        display: none;
    }

    /*******************************************************************/
    .test_drive {
        margin-top: 20px;
    }

    .test_drive_wrap .test_drive_img {
        display: none;
    }

    .test_drive_text {
        width: 100%;
        background-size: 100%;
        padding: 15px;
    }

    .test_drive_comment {
        font-size: 5vw;
    }

    .test_drive_comment br {
        display: none;
    }

    /*******************************************************************/
    .contacts {
        margin-top: 60px;
    }

    .contacts_wrap {
        flex-flow: wrap;
        align-items: flex-start;
        gap: 30px 0;
        background-size: cover;
        margin-top: 30px;
        padding: 20px 15px;
    }

    .cont_logo {
        width: 100%;
    }

    .contacts_wrap .btn {
        width: 100%;
    }

    #map1 {
        height: 350px;
    }

    /*******************************************************************/
    footer {
        margin-top: 20px;
        padding: 20px 0;
    }

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

    .yurinfo {
        text-align: center;
    }

    .foot_links {
        align-items: center;
    }

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

}

/*MOBILE END*/

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

}

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

@media (max-width: 320px) {

}