:root{
    --black: #000;
    --white: #ffffff;
    --gray: #2e3236;
    --light_gray: #b3b3b3;
    --bg_close_btn: #d46060;
    --blue: #008bcc;

    --auto_color1: #6d767b;
    --auto_color2: #8baa95;
    --auto_color3: #000000;
    --auto_color4: #1c2c3b;
    --auto_color5: #1c2c3b;
    --auto_color6: #929fb5;
    --auto_color7: #ffffff;
}

@font-face{
    font-family: 'NotoSans';
    src: local('NotoSans'),
    url('../fonts/NotoSans-SemiBold.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face{
    font-family: 'NotoSans';
    src: local('NotoSans'),
    url('../fonts/NotoSans-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

*{
    box-sizing: border-box;
    font-family: 'NotoSans', sans-serif;
    margin: 0;
    border: 0;
    outline: none;
    font-weight: 400;
}

html{
    font-size: 17px;
}

body{
    position: relative;
    min-height: 100vh;
    background-color: var(--white);
    color: var(--black);
}

section{
    position: relative;
    width: 100%;
}

img{
    margin: 0;
    padding: 0;
    display: inline-block;
    vertical-align: inherit;
}

.button{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    text-transform: uppercase;
    line-height: 53px;
    white-space: nowrap;
    word-break: keep-all;
    padding: 0 1rem;
    min-width: 150px;
    text-align: center;
    cursor: pointer;
    transition: transform 50ms ease;
    background-color: var(--white);
    border: 1px solid var(--black);
    margin: 0.5rem 0;
    font-size: 23px;
}

.button:hover{
    filter: brightness(1.3);
}

.button:disabled{
    background-color: #eee;
    cursor: initial;
}

.button:hover:disabled{
    filter: brightness(1);
}

.btn_white_transp{
    color: var(--white);
    background-color: var(--gray) !important;
    border: 1px solid var(--white);
}

.t17{
    font-size: 17px !important;
}

h1{
    font-size: 3rem;
}

h2{
    font-size: 2rem;
}

a{
    color: var(--white);
    text-decoration: none;
    transition: color 0.1s ease;
    cursor: pointer;
}

a:active{
    color: var(--white);
}

a:visited{
    color: var(--link);
}

a:hover{
    color: var(--white);
    text-decoration: underline;
}

a.black{
    color: var(--black);
}

a.black:active{
    color: var(--black);
}

a.black:visited{
    color: var(--black);
}

a.black:hover{
    color: var(--black);
}

input[type="text"], input[type="tel"] {
    font-family: 'NotoSans', serif;
    font-size: 17px;
    display: block;
    padding: 15px 20px;
    width: 100%;
    height: 53px;
    background: #fff;
    border: solid 1px var(--gray);
    color: var(--black);
    box-sizing: border-box;
    outline: none;
    margin: 2rem 0;
}

.btn_white{
    background-color: var(--white);
    border: 1px solid var(--black);
}

.btn_black{
    background-color: var(--black);
    color: var(--white);
}

.btn_gray{
    background-color: var(--gray);
    color: var(--white);
}

.btn_wide{
    min-width: 220px;
    max-width: 360px;
    width: 100%;
}

.bg_black{
    background-color: var(--black);
    color: var(--white);
}

.bg_white{
    background-color: var(--white);
    color: var(--black);
}

.bg_gray{
    background-color: var(--gray);
    color: var(--white);
}

.bg_light_gray{
    background-color: var(--light_gray);
    color: var(--black);
}

.width100{
    width: 100%;
}

.width50{
    width: 50%;
}

.relative{
    position: relative;
}

.margin0auto{
    margin: 0 auto;
}

.center_text{
    text-align: center;
}

.padding_vert1rem{
    padding: 1rem 0;
}

.padding_vert2rem{
    padding: 2rem 0;
}

.padding_vert4rem{
    padding: 4rem 0;
}

/* flex */

.flex{
    display: flex;
}

.flex_row{
    flex-direction: row;
}

.flex_column{
    flex-direction: column;
}

.justify_content_center{
    justify-content: center;
}

.align_items_center{
    align-items: center;
}

/* flex end */

.app{
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.storage_container, .hidden_container{
    display: none;
    height: 0;
    overflow: hidden;
}

.section_inner{
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.header{
    position: fixed;
    display: flex;
    flex-direction: column;
    z-index: 15;
    width: 100%;
    /*height: 140px;*/
    top: 0;
}

.label {
    position: relative;
    display: block;
    margin: 0;
    padding: 0 0 0 30px;
    color: #fff;
}

.label::before {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 0 0 15px;
    padding: 0;
    height: 25px;
    border-width: 0 0 0 2px;
    border-style: solid;
    border-color: #fff;
    background: none;
    content: '';
}

.jcsb{
    justify-content: space-between;
}

.header_upper, .footer{
    display: flex;
    font-size: 17px;
    justify-content: space-between;
    padding: 0.8rem 0;
}

.footer{
    flex-direction: column;
    gap:10px;
}

.header_upper{
    padding: 0;
    align-items: center;
}

.tel_and_call_text{
    display: flex;
    align-items: center;
}

.phone{
    white-space: nowrap;
    word-break: keep-all;
}


.header_bottom, .header_bottom2{
    /*height: 100%;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

.burger_div{
    display: none;
    /*height: 25px;*/
    background-color: var(--light_gray);
    justify-content: center;
    align-items: center;
}

.burger_outer{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 72px;
    height: 72px;
    background-color: var(--light_gray);
    border-radius: 100%;
    cursor: pointer;
    z-index: 99;
}

.burger_inner{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border: 3px solid white;
    border-radius: 100%;
}

.burger{
    display: block;
    width: 52px;
    height: 52px;
    filter: invert(100%);
}

.header_sub_padding{
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.address_block{
    /*font-size: 15px;*/
    max-width: 180px;
    text-align: right;
}

.address_block_later{
    max-width: 180px;
    text-align: right;
}

.show_later{
    display: none;
}

.okamitagil{
    position: relative;
    padding: 0 0 0 35px;
    font-weight: 600;
}

.okamitagil::before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    margin: -20px 0 0 15px;
    padding: 0;
    border-width: 0 0 0 3px;
    border-style: solid;
    border-color: #7b7b7b;
    height: 38px;
    content: '';
}

.flex_logo{
    display: flex;
    align-items: center;
}

.logo{
    width: 185px;
}

.yandex_widget{
    padding: 0;
    margin: 0;
}

.header_bottom_link{
    text-transform: uppercase;
    color: var(--black);
}
.header_bottom_link:hover{
    color: var(--black);
}

/*.mt140px{*/
/*    margin-top: 140px;*/
/*}*/

.swiper-container {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

.swiper-slide {
    position: relative;
    text-align: center;
    font-size: 18px;
    background: #fff;
    width: 100vw;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    text-align: center;
    line-height: 14px;
    font-size: 7px;
    color: transparent;
    opacity: 1;
    background: rgba(255, 255, 255, 0.6);
}

.swiper-pagination-bullet-active {
    color: transparent;
    background: var(--white);
}

.bg_image{
    background-image: url(/img/auto0s5.jpg);
    background-size: cover;
    background-position: 50% 50%;
}

.color_white{
    color: var(--white);
}

.inline_form{
    max-width: 560px;
    background-color: var(--gray);
    color: var(--white);
    padding: 2rem 3rem;
    text-align: center;
    margin-top: 2rem;
}

.form_wrapper{
    padding: 0 3rem;
}

/* checkbox */
.checkbox_label{
    font-size: 17px;
}

.checkbox_label1{
    font-size: 1.25rem;
}

.custom-checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.custom-checkbox+label {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.custom-checkbox+label::before {
    content: '';
    display: inline-block;
    width: 17px;
    height: 17px;
    border: 1px solid var(--light_gray);
    margin-right: 0.5rem;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
    background-color: var(--white);
}

.custom-checkbox:not(:disabled):not(:checked)+label:hover::before {
    border-color: var(--light_gray);
}

.custom-checkbox:not(:disabled):active+label::before {
    background-color: var(--white);
    border-color: var(--light_gray);
}

.custom-checkbox:focus+label::before {
    /*box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);*/
}

.custom-checkbox:focus:not(:checked)+label::before {
    border-color: var(--light_gray);
}

.custom-checkbox:checked+label::before {
    border-color: var(--light_gray);
    background-color: var(--white);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23000' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
    background-size: 100%;
}

.custom-checkbox:disabled+label::before {
    background-color: var(--white);
}
/* checkbox end */

.divider{
    width: 100%;
    height: 3px;
    background-color: var(--light_gray);
    margin: 1rem 0;
}

.form_agree_div{
    text-align: left;
    margin-bottom: 2rem;
}

.model_ryad{
    font-size: 36px;
    text-align: left;
}

.model_descr{
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.bold{
    font-weight: 600;
}

.t26{
    font-size: 26px;
}

.t36{
    font-size: 36px;
}

.options{
    list-style: inside disc;
    margin-top: 7px;
}

.auto_pic_buttons{
    display: flex;
    flex-direction: row;
    margin-top: 2rem;
}

.auto_pic{
    margin-right: 5rem;
    max-width: 60%;
}

.pic100{
    max-width: 100%;
    display: block;
}

.auto_buttons_div{
    display: flex;
    flex-direction: column;
}

.div_with_auto_pic{
    flex: 1 1 auto;
    text-align: right;
}

.inline_form_wide{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.translated_down{
    transform: translateY(1.6rem);
}

.margin2vert{
    margin: 2rem 0;
}

.footer{
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    text-align: center;
    z-index: 1000;
}

.ymap{
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 550px;
    max-height: 550px;
    overflow: hidden;
}

.last_section{
    padding-bottom: 3rem;
}

.auto_and_characteristics{
    display: flex;
    flex-direction: row;
}

.model_auto{
    flex: 1 1 auto;
}

.model_chars{
    flex: 1 1 auto;
}

.model_chars_inner{
    position: relative;
    padding-bottom: 1rem;
}
.model_chars_inner::before{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    margin: 0;
    padding: 0;
    width: 56px;
    height: 100%;
    background-color: #888;
    border-radius: 0 0 26px 26px;
    content: '';
}

.chars_item{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 1rem;
    /*margin-top: 1.2rem;*/
}
.chars_item:first-child{
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

.model_char_img_div{
    padding: 0 10px;
    z-index: 1;
    margin-right: 1rem;
    /*filter: invert(0.9);*/
}

.model_char_img{
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 2px;
}

.model_char_item{
    font-size: 14px;
    font-weight: 400;
}

.model_char_text{
    font-size: 14px;
    font-weight: 400;
}

.nowrap{
    white-space: nowrap;
    word-break: keep-all;
}

.t34{
    font-size: 34px;
}

.margin_left{
    margin-left: 2rem;
}

.colors_and_buttons{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
}

.colors_div{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.color_circle{
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gray);
    margin: 0 0.5rem;
    cursor: pointer;
}

.ml_1rem{
    margin-left: 1rem;
}

.translated_up{
    transform: translateY(-4rem);
    font-size: 3rem;
    font-weight: 600;
    text-align: right;
    height: 0;
    overflow-y: visible;
}

.translated_up_exclusive{
    /*transform: translateY(-8rem);*/
    transform: translateY(-4rem);
    font-size: 3rem;
    font-weight: 600;
    text-align: right;
    height: 0;
    overflow-y: visible;
    margin-top: 5rem;
}

.details_div{
    margin-top: 3rem;
}

.equipment, .comfort_text{
    font-size: 28px;
}

.mb1rem{
    margin-bottom: 1rem;
}

.ta_left{
    text-align: left;
}

.slide_text_div{
    position: absolute;
    bottom: 5rem;
    left: 0;
    right: 0;
}

.max_width680{
    max-width: 680px;
}

.slide_text{
    font-size: 22px;
}

.color_white{
    color: var(--white);
}

.not_vis{
    height: 0;
    width: 0;
    overflow: hidden;
}

.adv_container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 0 2rem;
    margin-top: 2rem;
    grid-auto-flow: row;
    grid-template-areas:
    "adva1 adva2 adva3";
}

.adva1 { grid-area: adva1; }

.adva2 { grid-area: adva2; }

.adva3 { grid-area: adva3; }

.adva1, .adva2, .adva3{
    position: relative;
}

.img100percent{
    width: 100%;
}

.atitle{
    font-size: 21px;
    margin: 0.8rem 0;
}

.adv_text{
    font-size: 13px;
}

.mt2rem{
    margin-top: 2rem;
}

.some_buttons{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.place_holder{
    width: 2rem;
}

.video_div{
    width: 100%;
    /*width: 76%;*/
    margin: 0 auto;
}

.official_div{
    text-align: center;
    margin: 1rem auto 3rem auto;
    font-size: 21px;
}

.official {  display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 0 1rem;
    grid-auto-flow: row;
    max-width: 60%;
    margin: 0 auto;
    grid-template-areas:
    "offic1 offic2 offic3";
}

.offic1 { grid-area: offic1; }

.offic2 { grid-area: offic2; }

.offic3 { grid-area: offic3; }

.offic1, .offic2, .offic3{
    border: 1px solid var(--black);
    text-align: center;
    padding: 0.5rem;
}

.official_text{
    text-align: center;
    font-size: 16px;
}

.offimg{
    max-width: 100%;
    width: 170px;
}

.waiting_screen{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.4);
}

.spinner{
    width: 160px;
    height: 160px;
}

.modal_container{
    height: 0 !important;
    width: 0 !important;
    overflow: hidden;
}

.modal_wrapper{
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 200ms ease;
}

.modal_window{
    position: relative;
    background-color: var(--white);
    min-width: 320px;
    max-width: 370px;
    width: 100%;
    min-height: 200px;
    transform: scale(0.01);
    opacity: 0;
    transition: opacity 200ms ease, transform 200ms ease;
}

.modal_window_inner{
    padding: 1.5rem;
}

.modal_header{
    font-size: 20px;
}

.opacity1{
    opacity: 1;
}

.scale1{
    opacity: 1;
    transform: scale(1);
}

.close_btn{
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    width: 32px;
    height: 32px;
    background-color: var(--bg_close_btn);
    color: var(--white);
    cursor: pointer;
}

.close_btn:hover {
    opacity: 1;
}
.close_btn:before, .close_btn:after {
    position: absolute;
    left: 15px;
    top: 2px;
    content: ' ';
    height: 28px;
    width: 2px;
    background-color: #fff;
}
.close_btn:before {
    transform: rotate(45deg);
}
.close_btn:after {
    transform: rotate(-45deg);
}

.legal_info_header{
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
    font-weight: 600;
}

.legal_paragraph{
    width: 100%;
    margin-bottom: 0.8rem;
}

.legal{
    max-width: 950px;
    width: 100%;
}

.legal_content{
    max-height: 100vh;
    height: 100%;
    overflow-y: scroll;
    padding: 2rem;
}

.policy_block{
    width: 100%;
    margin-bottom: 3rem;
}

.close_rigth{
    right: 1.7rem !important;
}

.policy_li{
    margin-bottom: 0.5rem;
}

.map_address_div{
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    margin: -50px 0 0 45px;
    width: 220px;
    height: auto;
    background: rgba(255, 255, 255, .9);
    -webkit-box-shadow: 4px 4px 8px 0 rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 4px 8px 0 rgba(34, 60, 80, 0.2);
    box-shadow: 4px 4px 8px 0 rgba(34, 60, 80, 0.2);
    border: 1px solid rgba(1, 1, 1, 0.25);
}

.map_address_div_inner{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 15px;
}

.map_address_close_btn{
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: #c13030;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    font-size: 10px;
    cursor: pointer;
}

.map_address_logo_div{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0 6px;
}

.map_address_logo_img{
    width: 100%;
}

.map_address_logo1, .map_address_logo2{
    flex: 0 1 50%;
    width: 50%;
}

.map_address_logo2{
    padding-left: 0.5rem;
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
    border-left: 2px solid #999;
}

.map_address_addr{
    padding: 15px 0 0 0;
    line-height: 1;
    font-weight: 600;
}

.map_address_addr::before{
    display: inline-block;
    padding: 0 5px 0 0;
    width: 15px;
    height: 15px;
    background: url('/img/contacts_pict_addr.png') 0 0 no-repeat;
    background-size: contain;
    content: '';
}

.map_address_phone{
    padding: 15px 0 0 0;
    line-height: 1;
    font-size: 17px;
    font-weight: 600;
}

.map_address_phone::before{
    display: inline-block;
    padding: 0 3px 0 0;
    width: 15px;
    height: 15px;
    background: url('/img/contacts_pict_phone.png') 0 0 no-repeat;
    background-size: contain;
    content: '';
}

.mt4rem{
    margin-top: 4rem;
}

.model_menu{
    position: absolute;
    background-color: var(--white);
    padding-top: 1rem;
    padding-bottom: 1rem;
    right: 0;
    margin-top: -0.5rem;
    z-index: 30;
    width: 100%;
    min-width: 240px;
    text-align: right;
    border: 1px solid var(--light_gray);
}

.model_link{
    display: block;
    padding: 0.5rem 1.5rem;
    white-space: nowrap;
    color: #000;
}
.model_link:hover{
    background-color: var(--blue);
    color: var(--white) !important;
    text-decoration: none;
}

.model_lnk{
    position: relative;
    display: block;
    cursor: pointer;
}

.model_lnk:hover{
    text-decoration: underline;
}

.hidden{
    display: none;
}

/* timer */

.timer{
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.timer_part{
    position: relative;
    padding: 0.6rem 0.6rem;
    line-height: 1;
    /*min-width: 80px;*/
    width: 100%;
}

.timer_time{
    width: 100%;
    word-break: keep-all;
    text-align: center;
    font-weight: 600;
    font-size: 32px;
}

.timer_label{
    width: 100%;
    word-break: keep-all;
    text-align: center;
    /*padding-top: 0.6rem;*/
    font-weight: 400;
    font-size: 15px;
}

/* end of timer */

.banner_inner_div{
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

.banner_inner_title{
    position: absolute;
    top: 8%;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--white);
    font-size: 2.25rem;
}

.banner_inner_button{
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
    text-align: center;
}

.credit_disclaimer{
    font-size: 13px;
    margin-top: 1rem;
    padding-left: 2rem;
}
.credit_link{
    color: var(--black) !important;
}
.credit_link:hover{
    text-decoration: underline;
}

.special_button{
    border: 2px solid var(--white);
    outline: 0;
    color: var(--white);
    background-color: transparent;
    padding-left: 3rem;
    padding-right: 3rem;
    margin: 0 auto;
}

.action_div{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.5rem 0;
}

.timer_section{
    background-color: var(--light_gray);
    color: var(--black);
}

.action_string{
    font-size: 20px;
    padding-right: 2rem;
}

.main_model_div{
    border-top: 2px solid var(--light_gray);
    padding: 1rem 0 0 0;
    margin-top: 1rem;
}

.main_model_header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main_model_header_part{
    font-size: 36px;
    font-weight: 600;
}

.main_model_details{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.model_details_part1, .model_details_part2, .model_details_part3{
    flex: 0 1 auto;
    min-width: 350px;
    max-width: 33.33%;
    width: 100%;
}
.model_details_part1{
    text-align: center;
}
.model_details_part2{
    text-align: left;
}
.model_details_part3{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: end;
}

.main_model_image{
    width: 100%;
}

.blue_button{
    background-color: var(--blue);
    color: var(--white);
    outline: none;
    border: 1px solid var(--gray);
}

.model_button{
    margin: 0 0 1.2rem 0;
}

.custom_form_container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    flex-wrap: wrap;
}

.custom_form_input{
    margin: 0 !important;
}

.custom_form_part1, .custom_form_part2, .custom_form_part3{
    flex: 0 1 33.33%;
    min-width: 360px;
    max-width: 100%;
    width: 100%;
}
.custom_form_part3{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: end;
}

.zayavku_div{
    font-size: 22px;
}

.custom_agree_div{
    margin-top: 0.5rem;
}

.header_bottom_menu{
    flex: 0 1 auto;
    /*border-bottom: 1px solid var(--gray);*/
}

.w360btn{
    width: 360px;
}

.bottom_send_btn{
    width: 360px;
}

.custom_send_btn{
    margin: 0 !important;
}

.btn_block{
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    align-items: center;
}

.request_call_btn{
    margin: 0.3rem 1rem;
    line-height: 42px;
    font-size: 16px;
    font-style: italic;
    border: 1px solid var(--white);
    outline: none;
    padding: 0;
    min-width: 240px;
}

.address{
    text-align: left;
}

.white_border{
    border: 1px solid var(--white);
}

.adv_li{
    margin-top: 0.75rem;
}
.adv_li:first-child{
    margin-top: 0;
}

.two_pics_div, .three_pics_div{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    background-color: #2e3236;
}

@media screen and (max-width: 1230px){
    .header_upper{
        padding: 0 1rem;
    }
    .footer{
        padding: 0.8rem 1rem;
    }
    .header_bottom, .header_bottom2{
        /*padding: 0 1rem;*/
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .section_inner{
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .inline_form{
        padding: 2rem;
    }
    .banner_inner_button{
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

@media screen and (max-width: 1140px){
    .banner_inner_title{
        font-size: 1.7rem;
    }
    .banner_inner_button{
        top: 30%;
    }
    .special_button{
        font-size: 20px;
    }
}

@media screen and (max-width: 1120px) {
    .custom_form_container {
        flex-direction: column;
        max-width: 614px;
        width: 100%;
        margin: 0 auto;
    }
    .custom_form_part1{
        margin-bottom: 1rem;
    }
    .custom_form_part3{
        margin-top: 1rem;
        align-items: center;
    }
    .btn_wide{
        max-width: 330px;
    }
    .custom_form_part1, .custom_form_part2, .custom_form_part3{
        min-width: initial;
    }
}

@media screen and (max-width: 1100px){
    h1{
        font-size: 2rem;
    }
    h2{
        font-size: 1.4rem;
    }
    .model_ryad{
        font-size: 2rem;
    }
    .t36 {
        font-size: 2rem;
    }
    .t26 {
        font-size: 1.4rem;
    }
    .model_ryad {
        font-size: 2rem;
    }
    .translated_up {
        transform: translateY(-3rem);
        font-size: 2.5rem;
    }
    .equipment, .comfort_text {
        font-size: 1.4rem;
    }
    .slide_text {
        font-size: 1.2rem;
    }
    .form_wrapper {
        padding: 0 1rem;
    }
    .ml_1rem{
        margin-left: 1rem;
        max-width: 320px;
        width: 100%;
    }
    .colors_and_buttons {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .t_right{
        text-align: right;
    }
}

@media screen and (max-width: 1083px) {
    .model_details_part1, .model_details_part2{
        min-width: 50%;
    }
}

@media screen and (max-width: 1050px) {
    .hide_later{
        display: none;
    }
    .show_later{
        display: initial;
        margin: 0 0 0.5rem;
        padding: 0.4rem 1.5rem;
        line-height: 1;
        min-width: inherit;
    }
    .address_block{
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        max-width: initial;
    }
    .address_block_later {
        max-width: 180px;
        text-align: right;
        font-size: 12px;
        line-height: 1.2;
    }
    .phone {
        line-height: 1.6;
    }
}

@media screen and (max-width: 1030px){
    .w360btn{
        width: 240px;
    }
}

@media screen and (max-width: 990px){
    .translated_up {
        /*transform: translateY(-0.5rem);*/
    }
    .three_pics_div{
        flex-direction: column;
    }
}

@media screen and (max-width: 900px){
    .w360btn{
        line-height: 42px;
        font-size: 16px;
        outline: none;
        padding: 0 2rem;
    }
    .header_upper{
        flex-direction: column;
        padding-bottom: 0.2rem;
        padding-top: 0.2rem;
    }
    .tel_and_call_text{
        justify-content: space-between;
        margin-bottom: 0.3rem;
        width: 100%;
    }
    /*.request_call_btn{*/
    /*    margin: 0;*/
    /*}*/
    /*.address{*/
    /*    text-align: center;*/
    /*}*/
    .inline_form {
        margin: 2rem auto;
        padding: 2rem;
    }
    html{
        font-size: 15px;
    }
    .translated_up {
        transform: translateY(-1.8rem);
        font-size: 2.5rem;
    }
    .video_div {
        width: 80%;
    }
    .official{
        max-width: 80%;
    }
    .auto_pic {
        margin-right: 5rem;
        max-width: 80%;
    }
    .inline_form_wide {
        flex-direction: column;
    }
    .margin2vert{
        margin-top: 0;
    }
    .change_margin{
        margin: 1rem 0;
    }
    .translated_down {
        transform: translateY(1rem);
    }
    .to_change_width {
        max-width: 360px;
        margin: 0 auto;
        width: fit-content;
    }
    input[type="text"], input[type="tel"]{
        min-width: 330px;
    }
}

@media screen and (max-width: 890px) {
    /*.header_bottom{*/
    /*    flex-wrap: wrap;*/
    /*}*/
    /*.yandex_widget{*/
    /*    order: 3;*/
    /*    width: 100%;*/
    /*    flex: 1 0 100%;*/
    /*    display: flex;*/
    /*    justify-content: center;*/
    /*    align-items: center;*/
    /*}*/
    /*.header_sub_padding{*/
    /*    display: none;*/
    /*}*/
    .change_margin{
        margin: 1rem 0 !important;
    }
    .translated_up_exclusive{
        transform: translateY(-5rem);
    }
}

@media screen and (max-width: 860px){
    .translated_up {
        transform: translateY(0);
        margin: 1.4rem 0;
        text-align: center;
        height: auto;
    }
    .slide_text_div {
        bottom: 2rem;
    }
    .video_div {
        width: 100%;
    }
    .official {
        max-width: 100%;
    }
    .white_back{
        background-color: rgba(255,255,255,0.5);
        padding: 0.3rem 0.7rem;
    }
    .auto_and_characteristics {
        flex-direction: column;
    }
    .model_chars {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        order: 0;
    }
    .chars_item {
        max-width: 280px;
        width: 100%;
    }
    .model_auto{
        order: 1;
    }
    .btn_block{
        justify-content: center;
    }
    .banner_inner_button{
        bottom: 10%;
        top: initial;
    }
    .special_button {
        background-color: var(--blue);
    }
    .banner_inner_title{
        padding: 0 1rem;
    }
}

@media screen and (max-width: 830px){
    .mobile_menu_block{
        height: 25px;
        overflow: visible;
    }
    .burger_div{
        height: 25px;
        display: flex;
    }
    .header_bottom2{
        display: none;
        flex-direction: column;
        background-color: var(--light_gray);
        padding: 1.2rem 0 0;
    }
    .header_bottom_link{
        display: block;
        padding: 1.2rem 1rem;
        border-bottom: 1px solid var(--gray);
        width: 100%;
    }
    .header_bottom_link:last-child{
        border-bottom: none;
    }
    .yandex_widget{
        display: none;
    }
}

@media screen and (max-width: 810px) {
    .model_details_part3 {
        margin-top: 1rem;
    }
}

@media screen and (max-width: 777px){
    .translated_up {
        margin: 2rem 0;
    }
    .colors_and_buttons {
        flex-direction: column;
    }
    .t_right {
        text-align: center;
        margin-top: 2rem;
    }
    .some_buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .place_holder {
        width: 0;
        height: 1rem;
    }
    .model_ryad {
        text-align: center;
    }
    .adv_container {
        grid-template-columns: auto;
        grid-template-rows: auto auto auto;
        gap: 2rem 0;
        grid-auto-flow: column;
        grid-template-areas: "adva1" "adva2" "adva3";
        justify-items: center;
    }
    .adva1, .adva2, .adva3{
        margin: 0 auto;
    }
    .ml_1rem {
        margin-left: 0;
    }
}

@media screen and (max-width: 700px){
    .model_descr {
        flex-direction: column;
    }
    .to_center{
        width: 100%;
        text-align: center;
    }
    .options {
        margin: 1rem auto;
        padding: 0;
        width: 350px;
        text-align: left;
    }
    .auto_pic_buttons {
        flex-direction: column;
    }
    .btn_center{
        margin: 0.5rem auto;
    }
    .auto_pic {
        margin-right: 0;
    }
    .div_with_auto_pic {
        text-align: center;
    }
    /*.flex_logo{*/
    /*    order: 1;*/
    /*}*/
    /*.yandex_widget{*/
    /*    display: none;*/
    /*}*/
    .model_lnk{
        order: 3;
    }
    .w360btn{
        padding: 0 1rem;
        width: fit-content;
        min-width: 0;
    }
    /*.header_order1{*/
    /*    order: 2;*/
    /*}*/
    /*.header_order2{*/
    /*    order: 1;*/
    /*}*/
    /*.header_order3{*/
    /*    order: 3;*/
    /*}*/
    /*.flex_logo{*/
    /*    padding-top: 0.5rem;*/
    /*}*/
    /*.main_banner_div{*/
    /*    min-height: 270px;*/
    /*    background-position: 50% 50%;*/
    /*    background-image: url("/img/banner_2.jpg");*/
    /*    background-size: cover;*/
    /*}*/

    .main_model_details{
        flex-direction: column;
        align-items: center;
    }
    .model_details_part1, .model_details_part2, .model_details_part3{
        width: 100%;
        min-width: initial;
        max-width: initial;
    }
}

@media screen and (max-width: 640px){
    .header_upper {
        font-size: 1rem;
    }
    /*.header{*/
    /*    height: 166px;*/
    /*}*/
    /*.mt140px {*/
    /*    margin-top: 166px;*/
    /*}*/
    .map_address_div{
        margin: 50px 0 0 -110px;
    }
    .main_model_header_part{
        font-size: 2rem;
    }
}

@media screen and (max-width: 610px) {
    .flex_logo {
        flex-direction: column;
    }
    .okamitagil::before {
        display: none;
        border: 0;
    }
    .okamitagil {
        padding: 0;
    }
}

@media screen and (max-width: 555px){
    .white_back {
        font-size: 1rem;
    }
    .equipment, .comfort_text {
        font-size: 1rem;
    }
    .slide_text {
        font-size: 1rem;
    }
    .official {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 1rem 0;
        grid-auto-flow: column;
        max-width: 60%;
        margin: 0 auto;
        grid-template-areas: "offic1" "offic2" "offic3";
    }

    /*.mt140px {*/
    /*    margin-top: 150px;*/
    /*}*/
    .header{
        /*height: 150px;*/
    }
    .legal_content{
        padding: 1rem;
    }
    .legal_info_header{
        font-size: 1.7rem;
    }
    /*.request_call_btn{*/
    /*    background-color: transparent;*/
    /*    line-height: initial;*/
    /*    padding: 0.5rem 0;*/
    /*    border: 0;*/
    /*    text-decoration: underline;*/
    /*}*/
    .main_model_header_part {
        font-size: 1.4rem;
    }
    .two_pics_div{
        flex-direction: column;
    }
}

@media screen and (max-width: 500px) {
    .action_div{
        flex-direction: column;
    }
    .action_string{
        padding-right: 0;
    }
}

@media screen and (max-width: 466px){
    h1 {
        font-size: 1.65rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    .button {
        font-size: 17px !important;
    }
    .checkbox_label {
        font-size: 1rem;
    }
    .to_change_width {
        max-width: 310px;
    }
    input[type="text"], input[type="tel"] {
        margin: 1.2rem 0;
    }
    #colored_auto{
        margin-top: 1rem;
    }
    .banner_inner_title{
        font-size: 1.5rem;
    }
    .model_chars_inner {
        position: relative;
        width: 100%;
        margin-top: 1rem;
    }
    .chars_item{
        max-width: 100%;
        width: 100%;
    }
    .translated_up_exclusive{
        font-size: 2rem;
        transform: translateY(0);
        margin: 0;
        height: auto;
    }
}

@media screen and (max-width: 450px){
    .request_call_btn{
        padding: 0.4rem 1rem;
    }
    .logo{
        width: 140px;
    }
}

@media screen and (max-width: 400px){
    .slide_text {
        font-size: 0.8rem;
    }
    .mb1rem {
        margin-bottom: 0.5rem;
    }
    .t17 {
        font-size: 16px !important;
    }
    .inline_form {
        padding: 2rem 1rem;
    }
    .model_ryad {
        font-size: 1.5rem;
    }
    .t36 {
        font-size: 1.5rem;
    }
    .color_circle {
        width: 36px;
        height: 36px;
    }
    .translated_up {
        font-size: 2rem;
    }
    .official {
        max-width: 70%;
    }
    /*.logo{*/
    /*    width: 200px;*/
    /*}*/
    .ml_1rem, .special_button, .btn_wide{
        max-width: initial;
        width: 100%;
    }
    .mobile100{
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}
