html {
    overflow-x: hidden;
}

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

.fancybox-slide--html .fancybox-close-small { /* color: white !important; */
}

.fancybox-button svg {
    transform: scale(2);
}

.compensate-for-scrollbar {
    margin-right: auto !important;
    overflow: auto !important;
}

.fancybox-content {
    overflow: hidden;
}


input[type=file] {
    display: none;
}


.resp_table {
    width: 100%;
}

.resp_table tr td:before {
    display: none;
}

sup {
    display: inline-block;
    vertical-align: top;
    top: -3px;
    position: relative;
    font-size: 80%;
}

img {
    border-style: none;
    vertical-align: middle;
    max-width: 100%;
}

select::-ms-expand {
    display: none;
}

select::-ms-expand {
    display: none;
}

a:hover {
    text-decoration: none;
}

.fancybox-type-image .fancybox-close {
    right: 9px;
}

.fancybox-close {
    background: url(../img/bg_close.png) 50% 50% no-repeat !important;
    color: black;
    width: 22px !important;
    height: 22px !important;
    top: -25px !important;
    right: -25px !important;
}


.container {
    margin: 0px auto;
    padding: 0px 15px;
    max-width: 1140px;
    position: relative;
}

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

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

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

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

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


#form_popup, #form_popup2 {
    display: none;
}

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

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

.popup_container .agree_field a {
    color: black;
}


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

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

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

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

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

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

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

.popup_container .form-group input[type=text] {
    color: black;
    display: block;
    height: 56px;
    line-height: 56px;
    text-decoration: none;
    text-align: left;
    /* text-transform: uppercase; */
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    background: #f3f3f3;
    border: 1px solid #f3f3f3;
    padding: 10px;
}

.popup_container .form-group textarea {
    color: black;
    display: block;
    height: 100px;
    text-decoration: none;
    text-align: left;
    /* text-transform: uppercase; */
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    background: none;
    border: 1px solid #c0c6c9;
    padding: 10px;
    resize: none;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.popup_container .form-group select {
    color: #1d1f20;
    height: 50px;
    border: 1px solid white;
    width: 100%;
    font-size: 16px;
    font-weight: 300;
    font-family: Arial, sans-serif;
    padding-left: 10px;
    height: 38px;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #c0c6c9;
}

.popup_container .form-group select option {
}

.popup_container .form-group button {
    cursor: pointer;
    height: 38px;
    font-size: 16px;
    font-weight: 700;
    height: 60px;
}

.popup_container .form-group button:before {
    display: none;
}

.popup_container .form-group button:after {
    display: none;
}


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

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

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

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

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


form {
}

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

form .form-group input[type=tel],
form .form-group input[type=text],
form .form-group select {
    height: 60px;
    width: 100%;
    color: #000000;
    font-size: 20px;
    box-sizing: border-box;
    font-weight: 400;
    font-family: Arial, sans-serif;
    padding: 0px 20px;
    outline: none;
    background: transparent;
    border-radius: 0px;
    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 transparent;
    font-family: Arial, sans-serif;
    outline: none;
}

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

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

.btn.glass {
    color: #E60020;
    background: transparent;
}

.btn.glass:hover {
    background: #FDDBDB;
}

.anim {
    opacity: 0;
}

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

header .m_btn {
    display: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 15;
    padding: 15px 0 20px;
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(5px);
}

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

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

.logo_wrap .logo1 {
    margin-right: 30px;
    margin-top: -10px;
}

.top_addr {
    font-size: 20px;
}

.top_phone {
    color: #000000;
    text-decoration: none;
    font-size: 24px;
}

.menu {
    position: fixed;
    top: 95px;
    left: 0;
    right: 0;
    padding: 16px 0;
    border-top: 5px solid #E60020;
    background: rgba(255, 255, 255, 0.50);
    backdrop-filter: blur(2px);
    z-index: 15;
}

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

.menu a {
    color: #000000;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .3s;
}

.menu a:hover {
    color: #e60020;
}

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

.banner {
    margin-top: 95px;
}

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

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

.title1 {
    font-size: 36px;
    line-height: 140%;
}

.title2 {
    margin-top: 15px;
    font-size: 24px;
}

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


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

.car_item {
    margin-top: 135px;
    position: relative;
    background: url("../img/car_bg.jpg") 50% 0 no-repeat;
    padding: 30px;
}

.car_name {
    font-size: 48px;
    text-transform: uppercase;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: -70px;
}

.car_name b {
    color: #E60020;
}

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

.car_item:nth-child(even) .car_wrap {
    flex-direction: row-reverse;
}

.car_item:nth-child(even) .car_text_wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.car_offer {
    padding-left: 60px;
    display: flex;
    align-items: center;
    min-height: 60px;
    font-size: 34px;
    background: url("../img/ico_fire.png") 0 50% no-repeat;
    text-decoration: none;
    color: #000000;
    margin-bottom: 20px;
}

.car_btns {
    width: 423px;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.car_btns .btn {
    width: 100%;
    font-size: 20px;
}

.car_techs {
    margin-top: 55px;
    display: flex;
    column-gap: 30px;
}

.car_techs > div {
    color: #A1A1A1;
    font-size: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.car_techs > div span {
    display: block;
    font-size: 32px;
    margin-bottom: 5px;
    color: #000000;
}

.car_image_wrap {
    width: 53%;
}

.car_img {
    margin-top: -10px;
}

#shine_max .car_img {
    margin-top: 25px;
    margin-left: 40px;
}

#df6 .car_img {
    margin-top: 40px;
}

.car_colors {
    display: flex;
    align-items: center;
    column-gap: 20px;
    margin-top: 10px;
    margin-left: 40px;
}

.car_item:nth-child(even) .car_colors {
    justify-content: center;
}

#shine_max .car_colors {
    margin-top: 40px;
}

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

.car_colors > span {
    font-size: 20px;
}

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

.car_colors > div.active:before {
    content: '';
    box-sizing: border-box;
    width: 45px;
    height: 45px;
    position: absolute;
    top: -4px;
    left: -4px;
    border: 1px solid #C7CCD0;
    border-radius: 50%;
}

.car_gallery_wrap {
    position: relative;
    margin-top: 60px;
    display: none;
}

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

.car_gallery_wrap .swiper-button-prev,
.car_gallery_wrap .swiper-button-next {
    width: 49px;
    height: 49px;
}

.car_gallery_wrap .swiper-button-prev {
    background: url("../img/prev.png") 50% no-repeat;
    left: -25px;
}

.car_gallery_wrap .swiper-button-next {
    background: url("../img/next.png") 50% no-repeat;
    right: -25px;
}

.car_gallery_wrap a {
    overflow: hidden;
    display: block;
}

.car_gallery_wrap a img {
    transition: all .3s;
}

.car_gallery_wrap a:hover img {
    transform: scale(1.05);
}

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

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

.credit_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.credit_title {
    font-size: 64px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.credit_comment {
    font-size: 36px;
}

.credit_wrap .btn {
    margin-top: 20px;
    width: 422px;
}

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

.tradein {
    padding: 65px 0;
    background: url("../img/tradein_bg.jpg") 50% 0 no-repeat;
}

.tradein > img {
    display: none;
}

.tradein_wrap {
    box-sizing: border-box;
    width: 555px;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(2px);
    padding: 30px;
}

.tradein_title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
}

.tradein_title b {
    color: #E60020;
}

#tradein_form {
    width: 422px;
    max-width: 100%;
    margin: 0 auto;
}

#tradein_form .btn {
    font-size: 20px;
}

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

.contacts {}

.contacts .container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

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

.cont_text {}

.cont_title {
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.bot_addr {
    font-size: 24px;
    margin-bottom: 35px;
}

.bot_addr b {
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.bot_phone {
    color: #000000;
    text-decoration: none;
    font-size: 24px;
}

.bot_phone b {
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.bot_logo_wrap {
    display: flex;
    align-items: center;
    margin-top: 65px;
}

.bot_logo_wrap .logo1 {
    margin-right: 30px;
    margin-top: -10px;
}

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

footer {
    padding: 40px 0;
}

.foot_wrap {
    border-top: 1px solid #E60020;
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.yurinfo {
    font-size: 20px;
    color: #c1c3c6;
}

.disclamer_text {
    color: #c1c3c6;
}

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

footer .disclamer {
    color: #000000;
    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;
    }

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

    .title1 {
        font-size: 26px;
    }

    .title2 {
        font-size: 22px;
    }

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

    .banner picture img {
        height: 610px;
        transform: translateX(-47%);
    }

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

    .car_wrap {
        align-items: center;
    }

    .car_techs > div {
        font-size: 10px;
    }

    .car_techs > div span {
        font-size: 20px;
    }

    .car_img {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .car_btns {
        width: 400px;
    }

    .car_colors {
        margin-left: 0;
        justify-content: center !important;
        column-gap: 10px;
    }

    .car_colors > span {
        font-size: 14px;
    }

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

    #map1 {
        width: 54%;
    }
}

/*IPAD PRO BEGIN*/

/*IPAD BEGIN*/
@media (min-width: 768px) and (max-width: 991px) {
    .anim {
        opacity: 1;
    }

    header .btn {
        display: none;
    }

    .menu {
        top: 86px;
    }

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

    .banner picture img {
        height: 470px;
    }

    .title1 {
        font-size: 20px;
    }

    .title2 {
        font-size: 18px;
        margin-top: 5px;
    }

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

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

    .car_wrap {
        flex-direction: column-reverse !important;
    }

    .car_image_wrap {
        width: 100%;
    }

    .car_text_wrap {
        width: 100%;
        margin-top: 20px;
        align-items: flex-start !important;
    }

    .car_text {
        width: 100%;
    }

    .car_btns {
        width: 100%;
    }

    .car_techs {
        width: 100%;
        margin-top: 30px;
        column-gap: unset;
        justify-content: space-between;
    }

    .car_techs > div span {
        font-size: 30px;
    }

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

    .credit {
        background-size: 150%;
        background-position: 50%;
        padding: 100px 0;
    }

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

    .tradein {
        background: none;
        padding: 0;
    }

    .tradein > img {
        display: block;
    }

    .tradein_wrap {
        width: 100%;
        background: none;
        padding: 30px 0;
    }

    #tradein_form {
        width: 100%;
    }

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

    .contacts .container {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .cont_text {
        position: relative;
        width: 100%;
    }

    .bot_logo_wrap {
        position: absolute;
        top: 0;
        right: 0;
        margin-top: 10px;
    }

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

/*IPAD END*/

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

    .anim {
        opacity: 1;
    }

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

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

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

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

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

    .popup_container {
        width: 100%;
    }


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

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

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

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

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

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

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

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

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

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

    .menu.active {
        right: 0;
    }

    .menu .container {
        flex-direction: column;
        align-items: center;
    }

    .menu a {
        padding: 10px 0;
    }

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

    header {
        padding: 15px 0 5px;
        backdrop-filter: blur(10px);
    }

    header .container {
        flex-flow: wrap;
    }

    .logo_wrap {
        width: 70%;
    }

    .top_addr {
        display: none;
    }

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

    header .btn {
        display: none;
    }

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

    .banner {
        margin-top: 82px;
        position: relative;
    }

    .banner picture img {
        position: absolute;
        height: 200px;
        top: 0;
        transform: translateX(-47%);
    }

    .title_container {
        position: relative;
        top: 10px;
    }

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

    .title_container .title1 span {
        font-size: 8vw;
        display: block;
        margin-bottom: 160px;
    }

    .title_container .title1 br {
        display: none;
    }

    .title2 {
        font-size: 6vw;
    }

    .title_container .btn {
        width: 100%;
    }

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

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

    .car_name {
        font-size: 28px;
        top: -40px;
    }

    .car_wrap {
        flex-direction: column-reverse !important;
    }

    .car_image_wrap {
        width: 100%;
    }

    .car_img {
        margin: 0 !important;
    }

    .car_colors {
        width: 100%;
        justify-content: center !important;
        margin-left: 0;
        margin-top: 10px !important;
        column-gap: 15px;
    }

    .car_colors > span {
        display: none;
    }

    .car_colors > div {
        width: 25px;
        height: 25px;
    }

    .car_colors > div.active:before {
        width: 33px;
        height: 33px;
    }

    .car_text_wrap {
        width: 100%;
        margin-top: 20px;
        align-items: flex-start !important;
    }

    .car_offer {
        font-size: 24px;
    }

    .car_text {
        width: 100%;
    }

    .car_btns {
        width: 100%;
        row-gap: 10px;
    }

    .car_btns .btn {
        font-size: 16px;
        height: 50px;
    }

    .car_techs {
        width: 100%;
        margin-top: 20px;
        column-gap: unset;
        justify-content: space-between;
        flex-flow: wrap;
        row-gap: 15px;
    }

    .car_techs > div {
        width: 50%;
        font-size: 12px;
    }

    .car_techs > div span {
        font-size: 30px;
    }

    .car_gallery_wrap {
        margin-top: 30px;
    }

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

    .credit {
        background-size: 150%;
        background-position: 50%;
        padding: 40px 0;
    }

    .credit_title {
        font-size: 40px;
    }

    .credit_comment {
        text-align: center;
        font-size: 24px;
    }

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

    .tradein {
        background: none;
        padding: 0;
    }

    .tradein > img {
        display: block;
    }

    .tradein_wrap {
        width: 100%;
        background: none;
        padding: 30px 0;
    }

    .tradein_title {
        font-size: 22px;
    }

    #tradein_form {
        width: 100%;
    }

    #tradein_form .btn {
        font-size: 16px;
    }

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

    .contacts .container {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .cont_text {
        position: relative;
        width: 100%;
    }

    .bot_logo_wrap {
        margin-top: 30px;
    }

    .bot_addr {
        font-size: 18px;
    }

    .bot_phone {
        font-size: 18px;
    }

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

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

    .disclamer_text br {
        display: none;
    }

}

/*MOBILE END*/

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

}

@media (max-width: 360px) {
    .car_techs > div span {
        font-size: 24px;
    }

}

@media (max-width: 320px) {

}