html {
    overflow-x: hidden;
}

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

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

.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: 1170px;
        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;
    border-radius: 20px;
}

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

.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: 'Manrope', 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: 'Manrope', 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;
}

.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: 52px;
    width: 100%;
    color: #000000;
    font-size: 16px;
    box-sizing: border-box;
    font-weight: 400;
    font-family: 'Manrope', sans-serif;
    padding: 0px 15px;
    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 #ffffff;
    font-family: 'Manrope', sans-serif;
    outline: none;
}

form .form-group button {
    width: 100%;
    cursor: pointer;
    font-family: 'Manrope', 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;
    max-width: 100%;
    height: 52px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    outline: none;
    border: none;
    transition: all .3s;
    text-align: center;
}

.btn.glass {
    background: transparent;
    border: 1px solid #E60020;
    color: #e60020;
}

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



.anim {
    opacity: 0;
}

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

header {
    padding: 13px 0;
    background: #FFF;
    box-shadow: 0px 4px 41.1px 0px rgba(0, 0, 0, 0.07);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

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

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

.logo_wrap .logo1 {
    margin-top: 6px;
}

.logo_wrap .logo2 {
    padding-left: 15px;
    margin-left: 15px;
    border-left: 1px solid #3F4244;
    margin-top: 6px;
}

.top_addr {
    padding-left: 20px;
    background: url("../img/ico_loc.png") 0 50% no-repeat;
}

.top_phone {
    display: block;
    padding-left: 25px;
    background: url("../img/ico_phone.png") 0 50% no-repeat;
    font-weight: 700;
    text-decoration: none;
    color: #000000;
}

header .btn {
    width: 260px;
}

header .m_btn {
    display: none;
}


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

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

.banner {
    margin-top: 78px;
}

.title_container {
    position: absolute;
    z-index: 1;
    top: 30px;
    color: #101113;
}

.title_date {
    font-size: 28px;
    font-weight: 400;
}

.title1 {
    margin-top: 36px;
    position: relative;
    width: fit-content;
    padding: 24px 50px 5px 50px;
    border-radius: 5px;
    background: #FFFFFF;
    font-size: 34px;
    font-weight: 800;
}
.title1 span {
    position: absolute;
    display: flex;
    align-items: center;
    top: -24px;
    left: 0;
    padding: 0 20px;
    height: 44px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    background: #E60020;
    border-radius: 5px;
}

.title2 {
    margin-top: 24px;
    font-size: 33px;
    line-height: 130%;
    text-transform: uppercase;
    color: #ffffff;
}

.title2 .br_mob {
    display: none;
}

.title2 span {
    text-transform: uppercase;
    color: #E60020;
}

.title3 {
    margin-top: 16px;
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
}
.title3 span {
    padding: 8px 10px;
    border: 1px solid #FFFFFF;
    border-radius: 5px;
}
.title3 b {
    font-size: 32px;
    font-weight: 700;
}
.title3 p {
    margin: 0;
    margin-top: 14px;
    font-size: 24px;
    font-weight: 700;
}

.title_container .btn {
    width: 260px;
    margin-top: 20px;
}

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

.advantages {
    margin-top: 127px;
    background: url(../img/ags_bg.png) 0% 0% no-repeat;
    background-position: 50% 155px;
    padding-bottom: 43px;
}

.ags_title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 90px;
}

.ags_list {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
    column-gap: 20px;
    row-gap: 10px;
    flex-wrap: wrap;
}

.ags_list > div {
    position: relative;
    display: flex;
    align-items: center;
    width: 48%;
    height: 126px;
}

.ags_list > div .item_wrap {
    display: flex;
    align-items: center;
    justify-content: left;
    text-align: left;
    border-radius: 20px;
    background: #FFF;
    width: 100%;
    min-height: 76px;
    font-size: 18px;
    padding-left: 158px;
    box-shadow: 0px 4px 24px 0px rgba(37, 5, 5, 0.07);
}

.ags_list > div .item_wrap .br_mob {
    display: none;
}

.ags_list > div .item_img {
    position: absolute;
    height: 126px;
    width: 230px;
    transition: all .3s;
    margin-bottom: 0;
    position: absolute;
}

.ags_list > div.ico1 .item_img {
    background: url("../img/ags_ico1.png") 0% 100% no-repeat;
    background-size: contain;
}

.ags_list > div.ico1:hover .item_img {
    background: url("../img/ags_ico1_hov.png") 0% 100% no-repeat;
    background-size: contain;
}

.ags_list > div.ico2 .item_img {
    background: url(../img/ags_ico2.png) 0% 100% no-repeat;
    background-size: contain;
    left: -20px;
}

.ags_list > div.ico2:hover .item_img {
    background: url("../img/ags_ico2_hov.png") 0% 100% no-repeat;
    background-size: contain;
}

.ags_list > div.ico3 .item_img {
    background: url("../img/ags_ico3.png?v=2") 0% 100% no-repeat;
    background-size: contain;
}

.ags_list > div.ico3:hover .item_img {
    background: url("../img/ags_ico3_hov.png?v=2") 0% 100% no-repeat;
    background-size: contain;
}

.ags_list > div.ico4 .item_img {
    background: url(../img/ags_ico4.png) no-repeat;
    background-size: contain;
    left: -12px;
}

.ags_list > div.ico4:hover .item_img {
    background: url("../img/ags_ico4_hov.png") 0% 100% no-repeat;
    background-size: contain;
}

.ags_list > div.ico5 .item_img {
    margin-bottom: -25px;
    background: url(../img/ags_ico5.png) no-repeat;
    background-size: contain;
    left: -5px;
    top: 0;
}

.ags_list > div.ico5:hover .item_img {
    margin-bottom: -25px;
    background: url("../img/ags_ico5_hov.png") 0% 100% no-repeat;
    background-size: contain;
}

.ags_list > div.ico6 .item_img {
    margin-bottom: -25px;
    background: url(../img/ags_ico6.png) no-repeat;
    background-size: contain;
    left: -20px;
    top: 0;
}

.ags_list > div.ico6:hover .item_img {
    margin-bottom: -25px;
    background: url("../img/ags_ico6_hov.png") 0% 100% no-repeat;
    background-size: contain;
}

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

.cars_items {
    margin-top: 127px;
}

.cars_items_title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
}

.cars_items .models-tabs {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}
.cars_items .models-tabs__item {
    width: 47%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border: 1px solid #000;
    cursor: pointer;
    transition: all .2s linear;
    text-transform: uppercase;
    text-align: center;
}

.cars_items .models-tabs__item.active,
.cars_items .models-tabs__item:hover {
    color: #fff;
    background: #FF0045;
    border-color: #FF0045;
}

.cars_items_list {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
    row-gap: 65px;
    margin-top: 70px;
}

.car_item {
    position: relative;
    padding: 46px 2.5vw 60px;
    width: 38%;
    border-radius: 30px;
    background: #FFF;
    box-shadow: 0px 0px 42px 0px rgba(37, 5, 5, 0.05);
    padding-bottom: 60px;
    overflow: hidden;
}

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

.car_title .car_name {
    font-size: 32px;
    text-transform: uppercase;
    line-height: 120%;
    margin-right: 20px;
}

.car_title .car_name span {
    color: #E60020;
    font-weight: 700;
}
.car_comment {
    position: relative;
    height: 29px;
    display: flex;
    align-items: center;
    padding: 6px 12px;
}
.car_comment:before {
    content: '';
    position: absolute;
    left: 0;
    width: 450px;
    height: 100%;
    background: #101113;
    border-radius: 3px;
}
.car_comment span {
    position: relative;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}
.compl_title {
    margin-top: 20px;
    font-size: 22px;
    font-weight: 400;
}

.car_compls {
    padding-top: 15px;
    margin-top: 7px;
    background: linear-gradient(180deg, rgba(225, 228, 229, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
    border-radius: 15px;
}
.car_tabs {
    position: relative;
}
.car_tabs:before {
    content: '';
    position: absolute;
    left: 0;
    width: 50%;
    height: 100%;
    background: #4E4E4E;
    border-radius: 0 3px 3px 0;
}
.car_tabs_item {
    padding-right: 12px;
}
.car_tabs_item span {
    font-size: 14px;
    font-weight: 400;
    color: #C0C0C0;
    transition: all 0.2s linear;
    padding: 0 7px;
    min-height: 29px;
    display: flex;
    justify-content: right;
    align-items: center;
}
.car_tabs_item.slick-current span {
    font-size: 14px;
    color: #FFFFFF;
    justify-content: left;
}
.car_imgs {
    margin-top: 18px;
}
.car_imgs img {
    position: relative;
    width: 84%;
    left: 50%;
    transform: translateX(-50%);
}
.car_imgs .slick-arrow {
    position: absolute;
    top: 50%;
    margin-top: -40px;
    font-size: 0;
    width: 45px;
    height: 40px;
    border-radius: 3px;
    background: url(../img/btn_arrow.svg) 50% 50% no-repeat #E4E4E4;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.2s linear;
    z-index: 2;
}
.car_imgs .slick-arrow:hover {
    opacity: 1;
}
.car_imgs .slick-prev {
    left: 10px;
    transform: rotate(180deg);
}
.car_imgs .slick-next {
    right: 10px;
}
.car_types {
    padding-left: 60px;
    display: flex;
    column-gap: 10px;
    margin-top: 10px;
}

.car_types.hidden {
    visibility: hidden;
    display: none;
}

.car_types > div {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    width: 222px;
    height: 37px;
    border-radius: 8px;
    background: #FFF;
    cursor: pointer;
    box-shadow: 0px 0px 8.6px 0px rgba(64, 64, 64, 0.15);
}

.car_types > div.active {
    color: #ffffff;
    background: #3A3A3A;
}

.car_specs {
    margin-top: 25px;
    padding: 15px 60px;
    background: #F4F4F4;
    display: flex;
    flex-flow: wrap;
    column-gap: 70px;
    row-gap: 15px;
    display: none;
}

.car_specs > div {
    padding-left: 45px;
    color: #696969;
    font-size: 13px;
    transition: all .3s;
    cursor: pointer;
}

.car_specs > div b {
    display: block;
    font-size: 20px;
    color: #000000;
}

.car_specs > div.ico1 {
    background: url("../img/car_ico1.svg") 0 100% no-repeat;
}

.car_specs > div.ico1:hover {
    background: url("../img/car_ico1_hov.svg") 0 100% no-repeat;
}

.car_specs > div.ico2 {
    background: url("../img/car_ico2.svg") 0 100% no-repeat;
}

.car_specs > div.ico2:hover {
    background: url("../img/car_ico2_hov.svg") 0 100% no-repeat;
}

.car_specs > div.ico3 {
    background: url("../img/car_ico3.svg") 0 100% no-repeat;
}

.car_specs > div.ico3:hover {
    background: url("../img/car_ico3_hov.svg") 0 100% no-repeat;
}

.car_specs > div.ico4 {
    background: url("../img/car_ico4.svg") 0 100% no-repeat;
}

.car_specs > div.ico4:hover {
    background: url("../img/car_ico4_hov.svg") 0 100% no-repeat;
}

.car_price_wrap {
    margin-top: 21px;
}
.car_price_wrap > div {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 58px;
    font-size: 22px;
    font-weight: 400;
    min-height: 30px;
    margin-bottom: 5px;
}
.car_price_wrap .car_spec {
    font-weight: 700;
    text-transform: uppercase;
}
.car_price_wrap .car_price {
    margin-top: 24px;
}
.car_price_wrap > div:before {
    content: '';
    position: absolute;
    left: 0;
    width: 38px;
    height: 30px;
    border-radius: 5px;
}
.car_price_wrap .car_spec:before {
    background: url(../img/car_spec.svg) 50% 50% no-repeat #101113;
}
.car_price_wrap .car_price:before {
    background: url(../img/car_price.svg) 50% 50% no-repeat #101113;
}
.car_price_wrap .car_gifts:before {
    background: url(../img/car_gifts.svg) 50% 50% no-repeat #101113;
}

.car_btns {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}

/**********************
       CAR_TECHS
**********************/

.car_techs_popups {
    display: none;
}

.car_techs {
    padding: 30px 0;
    width: 80%;
}

.car_techs_title {
    font-size: 24px;
    margin-bottom: 50px;
    padding: 0 60px;
    font-weight: 700;
}

.car_techs_list > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 60px;
    text-align: left;
}

.car_techs_list > div:nth-child(even) {
    background: #FFF4F4;
}

.car_techs_list > div span {
    width: 50%;
    font-size: 16px;
}

.car_techs_list > div b {
    width: 50%;
}

.techs_close {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    color: #FEACAC;
    cursor: pointer;
}

.techs_close img {
    margin-left: 3px;
}

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

.credit {
    position: relative;
    margin-top: 100px;
    background: url("../img/credit_bg.jpg") 50% 0 no-repeat;
}

.credit .container {
    position: relative;
    height: 714px;
}

.cred_wrap {
    position: absolute;
    bottom: 37px;
    width: 92%;
    display: flex;
    align-items: center;
    padding: 25px 27px 25px 27px;
    background: #FFFFFFB2;
    border-radius: 20px;
    box-shadow: 0px 4px 24px 0px #25050512;
}

.cred_title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 11px;
}

.cred_comment {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 400;
}
.cred_comment:last-child {
    margin-bottom: 0;
}
.cred_comment b {
    font-weight: 700;
}
.cred_comment span {
    color: #E60020;
    font-weight: 700;
}
.cred_comment span b {
    font-size: 26px;
}
#cred_form {
    width: 100%;
    margin-left: auto;
    max-width: 300px;
}

#cred_form .agree_field {
    display: block;
}

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

.contacts {
    margin-top: 146px;
    background: url("../img/cont_bg.jpg") 50% no-repeat;
    /*box-shadow: 0px 4px 54.8px 0px rgba(0, 0, 0, 0.07);*/
}

.contacts .container {
    display: flex;
    column-gap: 60px;
    align-items: center;
}

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

.cont_wrap {

}
.cont_wrap .yr_info {
    font-size: 16px;
    font-weight: 400;
    margin-top: 28px;
}
.cont_wrap .yr_info span {
    margin-left: 10px;
}
.cont_title {
    text-transform: uppercase;
    font-weight: 700;
    color: #000000;
    font-size: 36px;
    margin-bottom: 10px;
}

.bot_addr {
    padding-left: 37px;
    font-size: 24px;
    background: url("../img/ico_loc_bot.png") 0 50% no-repeat;
    margin-bottom: 14px;
    margin-top: 30px;
}

.bot_phone {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    padding-left: 37px;
    background: url("../img/ico_phone_bot.png") 0 50% no-repeat;
}

.cont_wrap .btn {
    margin-top: 60px;
    width: 280px;
}

.cont_logo_wrap {
    display: flex;
    align-items: center;
    margin-top: 60px;
}

.cont_logo_wrap .logo2 {
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid #000000;
    margin-top: 5px;
}

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


footer {
    padding: 40px 0;
}

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

.foot_wrap a {
    color: #000000;
    font-size: 16px;
    text-decoration: none;
    font-weight: 400;
}

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

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

    .title2 font {
        font-size: 26px;
    }

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

    .car_item {
        width: 41%;
    }

    .car_price {
        font-size: 26px;
    }

    .car_types > div {
        width: 180px;
        font-size: 16px;
    }

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

    .credit {
        background-position: 63% 0;
    }


}

/*IPAD PRO BEGIN*/

/*IPAD BEGIN*/
@media (max-width: 991px) {
    .car_img {
        max-height: inherit;
    }
    .cred_wrap {
        box-shadow: none;
    }
    .cred_comment {
        max-width: 438px;
    }
    .ags_list {
        justify-content: left;
    }
}
@media (min-width: 768px) and (max-width: 991px) {

    .anim {
        opacity: 1;
    }

    header .btn {
        display: none;
    }

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

    .banner picture img {
        height: 510px;
    }

    .title_container {
        top: 30px;
    }

    .title1 {
        margin-bottom: 5px;
    }

    .title2 {
        font-size: 20px;
    }

    .title2 font {
        font-size: inherit;
    }

    /****************************************************************************************/
    .ags_list > div {
        width: 100%;
    }
    .ags_list > div .item_wrap {
        font-size: 14px;
    }

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

    .cars_items {
        margin-top: 50px;
    }

    .cars_items_title {
        margin-bottom: 50px;
    }

    .cars_items_list {
        flex-flow: wrap;
        row-gap: 40px;
    }

    .car_item {
        width: 100%;
    }

    .car_img {
        text-align: center;
    }

    .car_specs {
        column-gap: 30px;
    }

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

    .car_techs {
        width: 95%;
    }

    .car_techs_list > div {
        padding: 5px 30px;
        font-size: 14px;
    }

    .car_techs_list > div span {
        font-size: inherit;
    }

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

    .credit {
        margin-top: 50px;
    }

    .cred_wrap {
        padding: 24px;
        flex-direction: column;
        align-items: center;
    }

    .cred_text {
        width: 100%;
    }

    .cred_title {
        text-align: left;
        margin-bottom: 20px;
    }

    .cred_comment {
        text-align: left;
    }

    #cred_form {
        margin-top: 20px;
        width: 100%;
        margin-left: 0;
        max-width: initial;
    }

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

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

    .cont_wrap {
        width: 100%;
        padding: 20px 0;
    }

    .cont_title {
        margin-bottom: 20px;
    }

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

    .cont_logo_wrap {
        margin-top: 20px;
    }

    #map1 {
        width: 100%;
    }

}

/*IPAD END*/

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

    .car_price_wrap > div {
        font-size: 17px;
        padding-left: 50px;
    }

    .title2 .br_mob {
        display: block;
    }

    .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 {
        padding: 0 0 10px;
    }

    header .container {
        flex-flow: wrap;
        justify-content: center;
    }

    .top_addr {
        display: none;
    }

    header .btn {
        display: none;
    }

    /****************************************************************************************/
    .banner {
        height: 116vw;
    }
    .banner picture img {
        width: 100%;
        height: auto;
        display: block;
        position: absolute;
        top: 65px;
    }

    .title_container {
        position: relative;
        top: 42vw;
        text-align: center;
        margin-top: 0;
        color: #000000;
    }

    .title1 {
        font-size: 4vw;
        margin: 4vw auto 0;
        display: flex;
        align-items: center;
        column-gap: 2vw;
        padding: 0;
    }

    .title1 span {
        position: relative;
        top: 0;
        left: initial;
    }

    .title2 {
        font-size: 4vw;
        line-height: normal;
        margin-bottom: 0;
        margin-top: 2vw;
        color: #000000;
    }
    .title2 b { 
        font-size: 4vw;
    }
    .title1 span {
        position: relative;
        top: 0;
        left: initial;
        font-size: 4vw;
        padding: 2vw;
        height: auto;
    }

    .title3 {
        margin-top: 3vw;
        font-size: 4vw;
        color: #000000;
    }
    .title3 b {
        font-size: 5vw;
    }
    .title3 span {
        border-color: #000000;
    }
    .title3 p {
        margin-top: 4vw;
        font-size: 4vw;
    }

    .title_container .btn {
        margin-top: 14px;
        width: 100%;
    }

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

    .advantages {
        margin-top: 40px;
        background: none;
    }

    .ags_title {
        font-size: 6vw;
        margin-bottom: 30px;
    }

    .advantages {
        background-position: 50% 90px;
        background-size: auto 100%;
    }
    .ags_list {
        row-gap: 18px;
    }
    .ags_list > div {
        width: 100%;
        height: 88px;
    }
    .ags_list > div .item_img {
        height: 88px;
        width: 110px;
        left: 0 !important;
    }
    .ags_list > div .item_wrap {
        padding-left: 106px;
        font-size: 18px;
    }

    .ags_list > div .item_wrap .br_mob {
        display: block;
    }

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

    .cars_items {
        margin-top: 50px;
    }

    .cars_items_title {
        font-size: 6vw;
    }

    .cars_items_list {
        flex-flow: wrap;
        row-gap: 40px;
    }

.cars_items .models-tabs__item {
    width: 49%;
}

    .car_item {
        width: 100%;
        padding-bottom: 20px;
        margin-bottom: 30px;
    }

    .car_img {
        position: relative;
        text-align: center;
    }
    .car_title {
        margin-top: 10px;
        padding: 0 20px;
    }

    .car_title .car_name {
        font-size: 7vw;
    }

    .car_types {
        padding: 0 20px;
    }

    .car_types > div {
        text-align: center;
        font-size: 3.5vw;
    }

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

    .car_techs {
        
    }

    .car_techs_title {
        padding: 0 20px;
        font-size: 18px;
        text-align: left;
        margin-bottom: 20px;
    }

    .car_techs_list > div {
        padding: 5px 20px;
    }

    .car_techs_list > div span {
        font-size: 12px;
        width: 49%;
    }

    .car_techs_list > div b {
        font-size: 12px;
        width: 49%;
    }

    .techs_close {
        margin-top: 20px;
    }

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

    .credit {
        margin-top: 50px;
        background-size: 150% auto;
    }
    .credit .container {
        height: 116vw;
    }
    .cred_wrap {
        background: transparent;
        border-radius: 0;
        padding: 0;
        width: 94%;
        flex-direction: column;
        align-items: center;
    }
    .cred_text {
        width: 100%;
    }
    .cred_comment {
        text-align: left;
        font-size: 3.6vw;
    }
    .cred_comment span b {
        font-size: 4vw;
    }
    .cred_comment br {
        display: none;
    }

    .cred_title {
        text-align: left;
        margin-bottom: 20px;
        font-size: 25px;
    }

    #cred_form {
        width: 100%;
        margin-left: 0;
        max-width: initial;
        margin-top: 4vw;
    }

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

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

    .cont_wrap {
        width: 100%;
        padding: 20px 0;
    }

    .cont_title {
        margin-bottom: 20px;
    }

    .cont_wrap .btn {
        margin-top: 20px;
        width: 100%;
    }

    .cont_logo_wrap {
        margin-top: 20px;
    }

    #map1 {
        width: 100%;
        height: 350px;
    }

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

    footer {
        padding: 20px 0;
    }

    .foot_wrap {
        flex-direction: column;
        align-items: center;
        row-gap: 10px;
    }
    
    .copyright {
        text-align: center;
    }
    .contacts {
        margin-top: 50px;
        padding-bottom: 75px;
    }
    .cont_wrap .yr_info {
        position: absolute;
        bottom: -78px;
        text-align: center;
        width: 94%;
    }

}

/*MOBILE END*/

/* Portrait phones and smaller */
@media (max-width: 390px) {
    .cars_items_list {
        margin-top: 36px;
    }
    .title_date {
        font-size: 5vw;
    }
    .title2 {
        font-size: 5vw;
    }
    .title2 b {
        font-size: 5vw;
    }
    .title3 {
        margin-top: 4vw;
        font-size: 5vw;
    }
    .title3 span {
        margin-top: 4vw;
        margin-right: 2vw;
        font-size: 4vw;
        padding: 2vw;
        height: initial;
    }


    .cred_wrap {
        padding: 0;
        width: 92%;
    }
    .credit .container {
        height: 142vw;
    }
    .cred_comment {
        font-size: 5vw;
    }

    .car_img {
        position: relative;
        text-align: center;
        height: 90vw;
        min-height: initial;
    }

    .ags_list > div .item_wrap {
        font-size: 16px;
    }

}

@media (max-width: 360px) {

    .car_specs {
        column-gap: 0;
        justify-content: space-between;
    }

    .car_specs > div b {
        font-size: 16px;
    }

}

@media (max-width: 320px) {

}