:root {
    --main-color: #fff;
    --second-color: #000;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'NunitoSans', sans-serif;
    font-size: 16px;
    color: #30363a;
    position: relative;
    font-weight: 400;
    margin: 0 auto;
    padding: 0;
    overflow-x: hidden;
    max-width: 1920px;
    background: url(../img/bg2.jpg) 50% 0 no-repeat #30363a;
}

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

.resp_table img {
    max-width: 100%;
    width: 100%;
    display: block;
    width: 220px;
}


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?ver=2) 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;
}


/* Проверка форм */
.has-danger {
    position: relative;
}

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

.error_message {
    position: absolute;
    bottom: 110%;
    /*left: 0;*/
    color: #fff;
    font-weight: bold;
    background-color: #ff0000;
    padding: 0.3em;
    display: none;
}

.has-danger .error_message {
    display: block;
}


@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: 1240px;
        max-width: 100%;
    }
    #instock .model_name {
       max-width: 200px;
    }
}


#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 {
    display: block;
    color: black;
    font-size: 10px;
    text-align: left;
}

.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 input[type=tel] {
    color: #30363a;
    border: 1px solid #30363a;
}

.popup_container .form-group input[type=tel]::placeholder {
    color: #30363a;
}

.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: 'NunitoSans';
    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: 'NunitoSans';
    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;
    text-decoration: underline;
    cursor: pointer;
}

.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: 49px;
    width: 100%;
    color: #ffffff;
    font-size: 15px;
    box-sizing: border-box;
    font-weight: 400;
    font-family: 'NunitoSans';
    padding: 0px 20px;
    outline: none;
    background: transparent;
    border-radius: 0px;
    border: 1px solid #ffffff;
}

form .form-group input[type=tel]::placeholder,
form .form-group input[type=text]::placeholder {
    color: #ffffff;
}

form .form-group select {
    appearance: none;
    -moz-appearance: none; /* Firefox */
    -webkit-appearance: none; /* Safari and Chrome */
    background: url(../img/ico_select.png?ver=2) 95% 50% no-repeat transparent;
    font-family: 'NunitoSans';
    outline: none;
}

form .form-group button {
    width: 100%;
    cursor: pointer;
    font-family: 'NunitoSans';
    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: url("../img/arrow_bl.png?ver=2") 95% 50% no-repeat var(--second-color);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 100%;
    width: 100%;
    height: 49px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    padding-left: 30px;
    outline: none;
    border: 1px solid var(--main-color);
    transition: all .3s;
    text-align: center;
}

.btn:hover {
    background: url("../img/arrow_bl.png?ver=2") 95% 50% no-repeat var(--main-color);
    color: var(--second-color);
    border-color: var(--second-color);
}

.btn.dark {
    background: url("../img/arrow_gr.png?ver=2") 95% 50% no-repeat #30363a;
    color: #ffffff;
    border: 1px solid var(--second-color);
}

.btn.dark:hover {
    color: var(--second-color);
    background: url("../img/arrow_bl.png?ver=2") 95% 50% no-repeat var(--main-color);
    border-color: var(--second-color);
}

.btn.white {
    background: url("../img/arrow_gr.png?ver=2") 95% 50% no-repeat #ffffff;
    color: #30363a;
}

.btn.white:hover {
    background: url("../img/arrow_bl.png?ver=2") 95% 50% no-repeat var(--second-color);
    color: #ffffff;
}

.btn.glass {
    background: url("../img/arrow_bl.png?ver=2") 95% 50% no-repeat transparent;
    border: 1px solid var(--second-color);
    color: #30363a;
}

.btn.glass:hover {
    color: var(--main-color);
    background-color: var(--second-color);
}

.btn.glass.white {
    background: url("../img/arrow_gr.png?ver=2") 95% 50% no-repeat transparent;
    color: #ffffff;
    border: 1px solid var(--main-color);
}

.btn.glass.white:hover {
    /*background: url("../img/arrow_gr.png?ver=2") 95% 50% no-repeat #d98e64;*/
    color: var(--second-color);
    background-color: var(--main-color);
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background: #181b1d;
    padding: 21px 0;
}

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

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

.logo1 {
    width: 150px;
    position: relative;
    padding-right: 21px;
    margin-right: 20px;
}

/*.logo1:after {
    content: '';
    position: absolute;
    top: -3px;
    right: 0;
    width: 1px;
    height: 37px;
    background: #d88e64;
}*/

.logo2 span {
    display: block;
    color: #ffffff;
    font-size: 11px;
}

.top_addr {
    color: #ffffff;
    font-size: 12px;
    font-weight: 300;
    padding-left: 18px;
    background: url("../img/ico_loc.png?ver=2") 0 50% no-repeat;
}

.top_phone {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    padding-left: 25px;
    background: url("../img/ico_phone.png?ver=2") 0 50% no-repeat;
}

header .btn.glass.white {
    width: 202px;
    height: 42px;
    justify-content: center;
    padding-left: 0;
    background: transparent;
    font-size: 11px;
}

header .btn.glass.white:hover {
    /*background: #d98e64;*/
}

header .m_btn {
    display: none;
}

.menu {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    z-index: 5;
    background: rgba(42, 51, 55, 0.87);
}

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

.menu_cars {
    display: flex;
    justify-content: space-between;
    width: 30%;
}

.menu_blocks {
    display: flex;
    justify-content: space-between;
    width: 49%;
}

.menu a {
    box-sizing: border-box;
    display: block;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    padding: 12px 3px;
    transition: all .3s;
    border-bottom: 3px solid transparent;
}

.menu a:hover {
    border-color: var(--main-color);
}

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

.main-banner {
    height: 38vw;
    max-height: 800px;
    cursor: pointer;
}

.title_container {
    margin-top: 135px;
    text-align: center;
    color: #fff;
    padding: 15px;
    background: rgba(255, 255, 255, 0.6);
}

.title1 {
    font-family: 'TacticSans';
    text-transform: uppercase;
    font-size: 32px;
    color: #000;
    font-weight: 700;
    margin-bottom: 15px;
}

.title_comment {
    font-size: 40px;
    color: #000;
}

.title_comment span {
    display: inline-block;
    padding: 0 60px;
/*    background: rgba(255, 255, 255, 0.6);*/
}

.title_comment span b {
    font-size: 44px;
    font-weight: 900;
}

.timer_block {
    display: flex;
    justify-content: space-between;
    align-items: center;
/*    margin-top: 420px;*/
/*    margin-top: 480px;*/
    background-color: #30363a;
    padding-top: 15px;
    padding-left: 65px ;
    padding-right: 65px ;
}

.timer_block_wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    max-width: 1240px;
    margin: 0 auto;
}

.timer_form_wrap {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.timer {
    /*width: 50%;*/
}

.timer_title {
    font-family: 'TacticSans';
    text-transform: uppercase;
    color: #ffffff;
    font-size: 17px;
    line-height: 150%;
    margin-bottom: 15px;
    text-align: center;
}

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

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

#timer_form .agree_field,
#timer_form .agree_field a {
    color: #ffffff;
}

.banner_props {
    background: #30363a;
/*    margin-top: 55px;*/
/*    margin-top: 15px;*/
    padding: 40px 0;
    border-bottom: 1px solid #212121;
}

.banner_props_list {
    display: flex;
    justify-content: center;
}

.banner_props_list > div {
    width: 25%;
    position: relative;
}

.banner_props_list > div:before {
    content: '';
    width: 1px;
    height: 102px;
    background: var(--main-color);
    position: absolute;
    top: 15px;
    left: 0;
}

.banner_props_list > div:last-child:after {
    content: '';
    width: 1px;
    height: 102px;
    background: var(--main-color);
    position: absolute;
    top: 15px;
    right: 0;
}

.banner_props_list a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    padding-top: 80px;
    font-size: 18px;
    position: relative;
    transition: all .3s;
}

.banner_props_list a:hover {
    transform: scale(1.1);
}

.banner_props_list a b {
    font-weight: 900;
}

.banner_props_list a b span {
    font-size: 22px;
}

.banner_props_list a.ico1 {
    background: url("../img/prop_ico1.png?ver=2") 50% 0 no-repeat;
}

.banner_props_list a.ico2 {
    background: url("../img/prop_ico2.png?ver=2") 50% 0 no-repeat;
}

.banner_props_list a.ico3 {
    background: url("../img/prop_ico3.png?ver=2") 50% 0 no-repeat;
}

.banner_props_list a.ico4 {
    background: url("../img/prop_ico4.png?ver=2") 50% 0 no-repeat;
}

/**********************
        NEW_CAR
**********************/

.new_car_wrap {
    padding: 80px 0;
    background: #171b1e;
}

.new_car {
    background: url("../img/new_car_bg.jpg") 50% 0 no-repeat;
    padding: 60px 0 380px 100px;
}

.new_car > img {
    display: none;
}

.new_car_title {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 50px;
    color: #ffffff;
}

.new_car_comment {
    font-weight: 300;
    color: #ffffff;
    font-size: 16px;
}

.new_car .btn {
    margin-top: 20px;
    width: 278px;
    height: 49px;
}

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

.cars_items {
}

.car_item {
    padding: 85px 0;
    background: #f2f2f2;
}

.car_item:nth-child(odd) {
    background: #30363a;
}

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

.car_image {
    width: 61%;
}

.car_title {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.car_name {
    font-family: 'TacticSans';
    font-size: 50px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: -10px;
}

.car_item:nth-child(odd) .car_name {
    color: #ffffff;
}

.car_profit {
    font-family: 'TacticSans';
    box-sizing: border-box;
    display: flex;
    align-items: center;
    margin-left: 75px;
    width: 255px;
    height: 65px;
    padding-left: 70px;
    background: url("../img/car_profit_pl.png?ver=2") 0 0 no-repeat;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
}

.car_profit b {
    font-size: 19px;
    color: #d98e64;
}

.car_profit b i {
    font-family: 'NunitoSans';
    font-style: normal;
    font-size: 90%;
}

.car_item:nth-child(odd) .car_profit {
    background: url("../img/car_profit_pl_wt.png?ver=2") 0 0 no-repeat;
    color: #30363a;
}

.car_text {
    width: 32.4%;
}

.car_props a {
    display: flex;
    align-items: center;
    min-height: 35px;
    font-size: 20px;
    color: #30363a;
    text-decoration: none;
    margin-bottom: 18px;
    padding-left: 50px;
    background: url("../img/car_plus.png?ver=2") 0 50% no-repeat;
    transition: all .3s;
    line-height: 120%;
}

.car_props a b {
    font-weight: 800;
    white-space: nowrap;
}

.car_props a:hover {
    /*background: url("../img/car_plus_hov.png?ver=2") 0 50% no-repeat;*/
}

.car_item:nth-child(odd) .car_props a {
    color: #ffffff;
}

.car_btns {
    margin-top: 40px;
}

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

.car_btns .btn:first-child {
    margin-top: 0;
}

.car_btns .btn b {
    font-size: 20px;
}

.car_techs {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.car_techs > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.car_item:nth-child(odd) .car_techs > div {
    color: #ffffff;
}

.car_techs > div i {
    font-style: normal;
    font-size: 13px;
}

.car_techs > div b {
    display: block;
    font-size: 26px;
    font-weight: 400;
    /*line-height: 85%;*/
    padding-left: 30px;
}

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

.car_techs > div.ico1 b {
    background: url("../img/tech_ico1.png?ver=2") 0 30% no-repeat;
}

.car_techs > div.ico2 b {
    background: url("../img/tech_ico2.png?ver=2") 0 30% no-repeat;
}

.car_techs > div.ico3 b {
    background: url("../img/tech_ico3.png?ver=2") 0 30% no-repeat;
}

.car_techs > div.ico4 b {
    background: url("../img/tech_ico4.png?ver=2") 0 30% no-repeat;
}

.car_techs > div.ico5 b {
    background: url("../img/tech_ico5.png?ver=2") 0 30% no-repeat;
}

.car_techs > div.ico1.wt b {
    background: url("../img/tech_ico1.png?ver=2") 0 30% no-repeat;
}

.car_techs > div.ico2.wt b {
    background: url("../img/tech_ico2.png?ver=2") 0 30% no-repeat;
}

.car_techs > div.ico3.wt b {
    background: url("../img/tech_ico3.png?ver=2") 0 30% no-repeat;
}

.car_techs > div.ico4.wt b {
    background: url("../img/tech_ico4.png?ver=2") 0 30% no-repeat;
}

.car_techs > div.ico5.wt b {
    background: url("../img/tech_ico5.png?ver=2") 0 30% no-repeat;
}

.car_gallery {
    margin-top: 40px;
}

.car_gallery a {
    margin: 0 5px;
    outline: none;
    overflow: hidden;
}

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

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

.car_gallery .slick-prev {
    width: 46px;
    height: 24px;
    background: url("../img/prev_bl.png?ver=2") 50% no-repeat !important;
    z-index: 1;
    left: -65px;
}

.car_gallery .slick-next {
    width: 46px;
    height: 24px;
    background: url("../img/next_bl.png?ver=2") 50% no-repeat !important;
    z-index: 1;
    right: -65px;
}

.car_gallery .slick-prev:before,
.car_gallery .slick-next:before {
    display: none;
}

.car_item:nth-child(odd) .car_gallery .slick-prev {
    background: url("../img/prev_wt.png?ver=2") 50% no-repeat !important;
}

.car_item:nth-child(odd) .car_gallery .slick-next {
    background: url("../img/next_wt.png?ver=2") 50% no-repeat !important;
}

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

#instock {
    position: relative;
    background: #f2f2f2;
    padding: 100px 0 65px;
}

#instock .compl_title {
    font-family: 'TacticSans';
    font-size: 35px;
    text-transform: uppercase;
    margin-bottom: 35px;
    text-align: center;
}


#instock .models {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 30px;
}

#instock .model_name {
    display: flex;
    align-items: center;
    justify-content: center;
/*    width: 23.5%;*/
    width: 18.5%;
    height: 50px;
    text-align: center;
    font-size: 18px;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 400;
    transition: all .3s;
    color: #181b1d;
    border: 1px solid #181b1d;
}

#instock .model_name:hover,
#instock .model_name.active {
    background: var(--second-color);
    border-color: var(--second-color);
    color: #ffffff;
}

#instock .compl_items {
    min-height: 700px;
}

#instock .compl_items .item {
    box-sizing: border-box;
    display: none;
    justify-content: space-between;
    padding: 40px 40px 40px 30px;
    background: #ffffff;
    /*width: 32%;*/
    margin-bottom: 35px;
}

#instock .compl_items .item.show {
    display: flex;
}

#instock .compl_items .compl_image {
    position: relative;
}

#instock .compl_items .compl_image span {
    font-family: 'TacticSans';
    font-size: 67px;
    color: rgba(49, 46, 43, 0.1);
    position: absolute;
    top: -10px;
    right: -20px;
    white-space: nowrap;
}

#instock .compl_items .item[data-model="txl_2_0"] .compl_image span {
    font-size: 50px;
}

#instock .compl_items .compl_image img {
    position: relative;
}

#instock .compl_items .compl_name {
    font-size: 20px;
    width: 20%;
}

#instock .compl_items .compl_name b {
    display: block;
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#instock .compl_items .compl_engine {

}

#instock .compl_items .compl_engine .name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

#instock .compl_items .compl_engine .trans,
#instock .compl_items .compl_engine .engine {
    font-size: 16px;
    padding-left: 20px;
    background: url("../img/dot.png?ver=2") 0 7px no-repeat;
    filter: invert(15%); /*Чтобы белая точка на картинке видна была*/
}

#instock .compl_items .compl_engine .trans {
    margin-bottom: 25px;
}

#instock .compl_items .compl_engine .trans span,
#instock .compl_items .compl_engine .engine span {
    color: #999999;
}

#instock .compl_items .compl_engine .trans b,
#instock .compl_items .compl_engine .engine b {

}

#instock .compl_items .compl_btns {
    width: 300px;
}

#instock .compl_items .compl_btns .btn:nth-child(1) {
    margin-bottom: 10px;
}

#instock .compls_showmore {
    display: block;
    margin-top: 20px;
    font-size: 16px;
    color: #000000;
    font-weight: 900;
}

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

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

.cred_title {
    font-family: 'TacticSans';
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 48px;
    margin-bottom: 10px;
}

.cred_comment {
    color: #ffffff;
    text-align: center;
    font-size: 18px;
    margin-bottom: 70px;
}

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

.cred_props > div {
    box-sizing: border-box;
    background: #30363a;
    position: relative;
    width: 29.5%;
    min-height: 250px;
    color: #ffffff;
    padding: 35px;
    font-size: 18px;
    transition: all .3s;
    cursor: pointer;
}

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

.cred_props > div b {
    font-weight: 800;
    font-size: 30px;
    display: block;
    margin-bottom: 20px;
    padding-left: 55px;
    position: relative;
}

.cred_props > div span {
    position: relative;
}

.cred_props > div.ico1 b {
    background: url("../img/cred_ico1.png?ver=2") 0 50% no-repeat;
}

.cred_props > div.ico2 b {
    background: url("../img/cred_ico2.png?ver=2") 0 50% no-repeat;
}

.cred_props > div.ico3 b {
    background: url("../img/cred_ico3.png?ver=2") 0 50% no-repeat;
}

.cred_props > div:before {
    content: "1";
    color: rgba(34, 36, 37, 0.51);
    font-size: 347px;
    line-height: 66%;
    font-weight: 800;
    position: absolute;
    right: -50px;
    bottom: -10px;
    z-index: 0;
}

.cred_props > div.ico2:before {
    content: "2";
}

.cred_props > div.ico3:before {
    content: "3";
}

.cred_form {
    margin-top: 90px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cred_form_text {
    color: #ffffff;
    font-size: 18px;
    padding: 5px 0 5px 75px;
    background: url("../img/cred_form_ico.png?ver=2") 0 50% no-repeat;
}

.cred_form_text b {
    display: block;
    font-size: 20px;
    font-family: 'TacticSans';
    text-transform: uppercase;
    margin-bottom: 5px;
}

#cred_form {
    margin-top: 5px;
    width: 46%;
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
}

#cred_form .form-group {
    width: 48.5%;
}


#cred_form .agree_field,
#cred_form .agree_field a {
    color: #ffffff;
}

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

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

.tradein_wrap {
    box-sizing: border-box;
    background: #ffffff;
    padding: 40px 70px;
    width: 734px;
    max-width: 100%;
    margin: 0 auto;
}

.tradein_title {
    font-family: 'TacticSans';
    text-align: center;
    text-transform: uppercase;
    font-size: 48px;
    margin-bottom: 15px;
}

.tradein_comment {
    font-size: 18px;
    color: #444448;
    text-align: center;
}

#tradein_form {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
    margin-top: 50px;
}

#tradein_form .form-group {
    width: 49%;
    margin-bottom: 25px;
}

#tradein_form input[type=tel],
#tradein_form input[type=text],
#tradein_form select {
    border: 1px solid #30363a;
    color: #30363a;
    font-size: 14px;
}

#tradein_form input[type=tel]::placeholder,
#tradein_form input[type=text]::placeholder {
    color: #30363a;
}

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

#tradein_form .agree_field {
    display: block;
    margin-top: -15px;
    color: #30363a;
}

#tradein_form .agree_field a {
    color: #30363a;
}

/**********************
        LIZING
**********************/

.lizing {
    padding: 110px 0;
    background: url("../img/lizing_bg.jpg") 50% 0 no-repeat;
}

.lizing > img {
    display: none;
}

.lizing_wrap {
    width: 535px;
    max-width: 100%;
    margin-left: auto;
}

.lizing_title {
    font-family: 'TacticSans';
    color: #ffffff;
    text-transform: uppercase;
    font-size: 48px;
    margin-bottom: 40px;
}

.lizing_profit {
    font-size: 30px;
    color: #ffffff;
    padding: 6px 0 6px 80px;
    background: url("../img/lizing_ico.png?ver=2") 0 50% no-repeat;
}

.lizing_profit b span {
    font-size: 36px;
}

.lizing_props {
    margin-top: 45px;
}

.lizing_props > div {
    color: #ffffff;
    font-size: 18px;
    padding-left: 25px;
    margin-bottom: 20px;
    background: url("../img/arrow_gr.png?ver=2") 0 2px no-repeat;
}

.lizing_wrap .btn {
    width: 290px;
    margin-top: 50px;
}

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

.advantages {
    padding: 110px 0;
    background: url("../img/ags_bg.jpg") 50% 0 no-repeat;
}

.ags_title {
    font-family: 'TacticSans';
    color: #ffffff;
    text-transform: uppercase;
    font-size: 48px;
    margin-bottom: 20px;
    text-align: center;
}

.ags_comment {
    text-align: center;
    color: #ffffff;
    font-size: 18px;
}

.ags_props {
    margin-top: 70px;
}

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

.ags_props > div {
    box-sizing: border-box;
    width: 23.2%;
    padding-left: 30px;
    padding-top: 110px;
    min-height: 230px;
    border: 1px solid var(--main-color);
    color: #ffffff;
    font-size: 18px;
    transition: all .3s;
    cursor: pointer;
}

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

.ags_props > div.ico1 {
    background: url("../img/ags_ico1.png?ver=2") 30px 35px no-repeat;
}

.ags_props > div.ico2 {
    background: url("../img/ags_ico2.png?ver=2") 30px 35px no-repeat;
}

.ags_props > div.ico3 {
    background: url("../img/ags_ico3.png?ver=2") 30px 35px no-repeat;
}

.ags_props > div.ico4 {
    background: url("../img/ags_ico4.png?ver=2") 30px 35px no-repeat;
}

.ags_quest {
    margin-top: 50px;
    background: #ffffff;
    padding: 65px 35px 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.ags_quest_text {
    font-size: 18px;
    padding: 1px 0 1px 85px;
    background: url("../img/quest_ico.png?ver=2") 0 50% no-repeat;
}

.ags_quest_text b {
    font-family: 'TacticSans';
    font-size: 30px;
    display: block;
    text-transform: uppercase;
}

#ags_form {
    margin-top: 5px;
    width: 49%;
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
}

#ags_form .form-group {
    width: 48.5%;
}

#ags_form input[type=tel] {
    border: 1px solid #30363a;
    color: #30363a;
}

#ags_form input[type=tel]::placeholder {
    color: #30363a;
}

#ags_form .agree_field,
#ags_form .agree_field a {
    color: #30363a;
}

/**********************
      DC_GALLERY
**********************/

.dc_gallery {
    margin-bottom: 20px;
}

.dc_gallery a {
    outline: none;
    margin: 0 10px;
}

.dc_gallery .slick-prev {
    width: 46px;
    height: 24px;
    background: url("../img/prev_wt.png?ver=2") 50% no-repeat !important;
    z-index: 1;
    left: 30px;
}

.dc_gallery .slick-next {
    width: 46px;
    height: 24px;
    background: url("../img/next_wt.png?ver=2") 50% no-repeat !important;
    z-index: 1;
    right: 30px;
}

.dc_gallery .slick-prev:before,
.dc_gallery .slick-next:before {
    display: none;
}

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

.contacts {
    background: url("../img/cont_exeed.png?ver=2") 98% 50% no-repeat #181b1d;
    padding: 60px 0;
    position: relative;
}

.cont_wrap {
    width: 535px;
    max-width: 100%;
    margin-left: auto;
}

.cont_dealer {
    font-family: 'TacticSans';
    font-size: 30px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 55px;
}

.bot_phone {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 25px;
    font-weight: 700;
    padding-left: 40px;
    background: url("../img/ico_phone_bot.png?ver=2") 0 50% no-repeat;
    margin-bottom: 35px;
}

.bot_addr {
    font-size: 18px;
    color: #ffffff;
    padding-left: 40px;
    background: url("../img/ico_loc_bot.png?ver=2") 0 5px no-repeat;
    margin-bottom: 35px;
}

.worktime {
    font-size: 18px;
    color: #ffffff;
    padding-left: 40px;
    background: url("../img/ico_time.png?ver=2") 0 5px no-repeat;
}

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

#map1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: url("../img/map_black.jpg") 0 50% no-repeat;
    background-size: cover;
}

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


footer {
    padding: 25px 0;
    background: #2a3337;
}

.foot_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 17px;
    border-bottom: 1px solid #cbcbcb;
}

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

.foot_logo1 {
    max-width: 150px;
    margin-right: 30px;
}

.foot_menu {
    display: flex;
    width: 49%;
    justify-content: space-between;
}

.foot_anchor {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 13px;
    text-decoration: none;
    position: relative;
    transition: all .3s;
}
.foot_anchor:after {
    content: '';
    width: 0%;
    height: 1px;
    background-color: var(--main-color);
    position: absolute;
    bottom: 0%;
    left: 50%;
    transition: 0.3s;
}

.foot_anchor:hover:after {
    width: 100%;
    left: 0%;
}

.foot_links {
    margin-top: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.foot_links a,
.foot_links span {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
}

.foot_links a.switch,
.foot_links span {
    text-decoration: underline;
    cursor: pointer;
}

.footer_links {
    display: flex;
    flex-direction: column;
    align-items: end;
}

footer .disclamer {
    color: #ffffff;
    font-size: 14px;
    text-align: left;
    padding-top: 20px;
    display: none;
}

footer .disclamer a {
    color: #ffffff;
    text-decoration: underline;
}

.yurinfo {
    font-size: 12px;
    color: #ffffff;
    margin-top: 30px;
}



/* MODAL LEGAL */

#legal-modal {
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: hsla(0, 0%, 0%, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99995;
}

#legal-modal.legal-modal--shown {
    display: flex;
}

.legal-modal__container {
    width: 90%;
    height: 90%;
    max-width: 950px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /*background-color: #fff;*/
}

.legal-modal__close {
    font-size: 1.3em;
    padding: 0.1em 0.2em;
    line-height: 1;
    background-color: var(--main-color);
}

.legal-modal__frame {
    width: 100%;
    height: 100%;
}




/*------------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 1920px) {
    body {
        background-size: 100%;
    }
    .timer_block {
/*        margin-top: 25vw;*/
    }
}

@media (max-width: 1640px) {
    .timer_block {
/*        margin-top: 22vw;*/
    }
}

@media (min-width:1200px) and (max-width: 1500px) {
    .title_container {
        margin-top: 130px;
    }
    .title1 {
        margin-bottom: 5px;
    }

}


@media (max-width: 1500px) {

    .title1 {
        font-size: 2vw;
    }
    .title_comment {
        font-size: 2.5vw;
    }
    .title_comment span b {
        font-size: 2.7vw;
    }
}

@media (max-width: 1350px) {
    .timer_block {
/*        margin-top: 17vw;*/
    }
}

@media (max-width: 1199px) {
    body {
        background-position: 50% 125px;
    }

    .main-banner {
        height: 48vw;   
    }

    .timer_block {
/*        margin-top: 27vw;*/
    }
}

/*IPAD PRO BEGIN*/
@media (min-width: 768px) and (max-width: 1199px) {
    .top_addr {
        display: none;
    }

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

    .banner_props {
/*        margin-top: 15px;*/
    }

    .car_name {
        font-size: 30px;
    }

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

    .cred_props > div {
        font-size: 14px;
    }

    .cred_form {
        align-items: center;
        margin-top: 65px;
    }

    #cred_form {
        width: 35%;
    }

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

    .lizing_wrap {
        width: 440px;
    }

    .lizing_profit {
        font-size: 24px;
    }

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

    .ags_quest {
        align-items: center;
        padding: 30px;
    }

    #ags_form {
        width: 35%;
    }

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

    .cont_wrap {
        width: 440px;
    }

    #map1 {
        background-position: 50%;
    }

    #instock .models {
        flex-flow: wrap;
    }

    #instock .model_name {
        width: 32%;
        margin: 3px;
        max-width: 100%;
    }
}

/*IPAD PRO BEGIN*/

/*IPAD BEGIN*/
@media (min-width: 768px) and (max-width: 991px) {
    header .btn.glass.white {
        display: none;
    }

    .menu_blocks {
        width: 65%;
    }

    .menu {
        top: 83px;
    }

    body {
        background-size: 100%;
        background-position: 50% 125px;
    }

    .main-banner {
        height: 44vw;
    }

    .title_container {
        margin-top: 150px;
    }

    .title1 {
/*        font-size: 28px;*/
        font-size: 3vw;
        margin-bottom: 15px;
    }

    .title_comment {
/*        font-size: 22px;*/
        font-size: 3vw;
    }

    .title_comment span b {
        font-size: 3vw;
    }

    .timer_form_wrap {
        width: inherit;
    }

    .timer_block {
        flex-direction: column-reverse;
/*        margin-top: 280px;*/
/*        margin-top: 37vw;*/
    }

    .timer_block_wrap {
        flex-direction: column-reverse;
    }

    .timer {
        width: unset;
        margin-bottom: 30px;
    }

    .timer_title {
        text-align: center;
        margin-bottom: 15px;
    }

    .timer_title br {
        display: none;
    }

    #timer_form {
        width: 100%;
        margin-top: 20px;
    }

    .new_car {
        padding-top: 30px;
        padding-left: 30px;
    }

    .car_wrap {
        flex-direction: column;
    }

    .car_image {
        width: 100%;
    }

    .car_title {
        justify-content: space-between;
    }

    .car_profit {
        margin-left: 0;
    }

    .car_name {
        font-size: 40px;
    }

    .car_text {
        width: 100%;
    }

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

    .car_techs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .car_techs > div {
        margin-bottom: 20px;
    }

    .car_gallery {
        margin-top: 0;
    }

    .car_gallery .slick-prev {
        left: -20px;
    }

    .car_gallery .slick-next {
        right: -20px;
    }

    #instock .compl_items .item {
        flex-flow: wrap;
    }

    #instock .compl_items .compl_btns {
        width: 100%;
        margin-top: 30px;
    }

    #instock .compl_items {
        min-height: auto;
    }

    .credit {
        padding: 50px 0;
        background-size: cover;
    }

    .cred_props > div {
        width: 31.5%;
        padding: 20px;
    }

    .cred_props > div span br {
        display: none;
    }

    .cred_form {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .tradein {
        background: #f2f2f2;
        padding: 0;
    }

    .tradein_wrap {
        background: none;
    }

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

    .lizing > img {
        display: block;
        width: 100%;
    }

    .lizing_wrap {
        width: 100%;
        padding: 30px 0;
    }

    .lizing_wrap .btn {
        width: 100%;
    }

    .ags_title {
        font-size: 40px;
    }

    .ags_props > div {
        font-size: 16px;
        padding-left: 15px;
        min-height: 200px;
    }

    .ags_quest {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .contacts {
        padding: 0;
        background-position: 98% 20px;
    }

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

    #map1 {
        position: relative;
        bottom: 0;
        width: 100%;
        height: 500px;
    }

    .foot_wrap {
        flex-direction: column;
    }

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

}

/*IPAD END*/

@media (max-width: 991px) {
    #instock .compl_items .compl_name {
        width: unset;
    }
}

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

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

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

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

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

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

    .popup_container {
        width: 100%;
    }

    #instock {
        padding: 40px 0;
    }

    #instock .compl_title {
        text-align: center;
        font-size: 28px;
        margin-bottom: 20px;
    }

    #instock .models {
        display: flex;
        font-size: 20px;
        white-space: nowrap;
    }

    #instock .model_name img {
        display: none;
    }

    #instock .models {
        flex-flow: wrap;
        display: flex;
    }

    #instock .model_name {
        width: 49%;
        font-size: 14px;
        margin-bottom: 5px;
    }

    #instock .compl_items .item.show {
        display: flex;
        flex-wrap: wrap;
    }

    #instock .compl_items .compl_image {
        width: 100%;
        padding-top: 10px;
    }

    #instock .compl_items .compl_image img {
        margin: 0 auto;
        padding: 0;
    }

    #instock .compl_items .compl_name {
        margin-top: 10px;
    }

    #instock .compl_items .compl_name b {
        margin-bottom: 0;
    }

    #instock .compl_items .compl_engine {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding-top: 10px;
    }

    #instock .compl_items .compl_engine .trans {
        margin-bottom: 0;
    }

    #instock .compl_items .item {
        flex-flow: wrap;
        padding: 15px;
    }

    #instock .compl_items .compl_image span {
        right: 0;
    }

    #instock .compl_items .compl_btns {
        width: 100%;
        margin-top: 10px;
    }

    #instock .compl_items {
        min-height: auto;
    }

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

    header {
        padding: 10px 0;
    }

    header .container {
        flex-flow: wrap;
    }

    .top_addr {
        display: none;
    }

    header .btn.glass.white {
        display: none;
    }

    .logo_wrap {
        width: 85%;
    }

    .logo1 {
        max-width: 120px;
        padding-right: 11px;
        margin-right: 10px;
    }

    .logo2 span {
        font-size: 9px;
    }

    .logo1:after {
        height: 30px;
        top: -1px;
    }

    .top_phone {
        margin-top: 10px;
    }

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

    header .m_btn span {
        position: absolute;
        display: block;
        width: 30px;
        height: 3px;
        background: var(--main-color);
        transition: all .3s linear;
    }

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

    header .m_btn span:nth-child(2) {
        top: calc(50% - 1px);
        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;
        background: rgba(42, 51, 55, 0.95);
        width: 100%;
        height: auto;
        right: -100%;
        left: unset;
        transition: all .3s linear;
        z-index: 2;
        padding: 10px 0;
    }

    .menu.active {
        right: 0;
    }

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

    .menu_cars,
    .menu_blocks {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .menu a {
        padding: 10px 0;
    }

    body {
        background-size: 100%;
        background-position: 50% 89px;
    }

    .main-banner {
        height: 64vw;
    }

    .title_container {
        margin-top: 90px;
        background: transparent;
    }

    .title1 {
        font-size: 16px;
        margin-bottom: 42vw;
        background: rgba(250, 250, 250, 0.8);
        padding: 10px;
    }

    .title_comment {
        font-size: 24px;
        color: #ffffff;
    }

    .title_comment span {
        padding: 0;
        background: none;
        font-size: 26px;
    }

    .title_comment span b {
        font-size: inherit;
    }

    .timer_block {
        flex-direction: column-reverse;
/*        margin-top: 30px;*/
        margin-top: calc(200px - 25vw);
    }

    .timer_block_wrap {
        flex-direction: column-reverse;
        align-items: center;
    }

    .timer {
        width: unset;
        margin-bottom: 15px;
    }

    .timer_form_wrap {
        width: inherit;
        max-width: 540px;
    }

    .timer_title {
        text-align: center;
        margin-bottom: 5px;
        font-size: 14px;
    }

    .timer_title span {
        display: none;
    }

    .timer_title br {
        display: none;
    }

    #timer_form {
        width: 100%;
        margin-top: 20px;
    }

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

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

    .banner_props {
        margin-top: 30px;
        padding: 0;
    }

    .banner_props_list {
        flex-flow: wrap;
    }

    .banner_props_list > div {
        width: 49%;
        margin-bottom: 30px;
    }

    .banner_props_list > div:nth-child(2):after {
        content: '';
        width: 1px;
        height: 102px;
        background: var(--main-color);
        position: absolute;
        top: 15px;
        right: 0;
    }

    .banner_props_list a {
        font-size: 16px;
    }

    .banner_props_list a b span {
        font-size: 18px;
    }

    .new_car_wrap {
        padding: 40px 0;
    }

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

    .new_car > img {
        display: block;
        width: 1005px;
    }

    .new_car_text {
        padding: 20px 0;
    }

    .new_car .btn {
        width: 100%;
    }

    .car_item {
        padding: 40px 0;
    }

    .car_item {
        padding: 40px 0;
    }

    .car_wrap {
        flex-direction: column;
    }

    .car_image {
        width: 100%;
    }

    .car_title {
        justify-content: space-between;
        flex-direction: column;
    }

    .car_profit {
        margin-left: 0;
    }

    .car_name {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .car_text {
        width: 100%;
    }

    .car_props {
        margin-top: 10px;
    }

    .car_props a {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .car_props a br {
        display: none;
    }

    .car_props a b {
        white-space: normal;
    }

    .car_btns {
        margin-top: 20px;
    }

    .car_techs {
        margin-top: 20px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .car_techs > div {
        margin-bottom: 10px;
        align-items: flex-start;
    }

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

    .car_techs > div b {
        font-size: 22px;
        white-space: nowrap;
    }

    .car_techs > div span {
        font-size: 10px;
        margin-left: 5px;
    }

    .car_gallery {
        margin-top: 10px;
    }

    .car_gallery .slick-prev {
        left: -10px;
    }

    .car_gallery .slick-next {
        right: -10px;
    }

    .credit {
        padding: 50px 0;
        background-size: cover;
    }

    .cred_comment {
        margin-bottom: 30px;
    }

    .cred_props {
        flex-direction: column;
    }

    .cred_props > div {
        width: 100%;
        padding: 20px;
        margin-bottom: 20px;
    }

    .cred_form {
        margin-top: 30px;
        flex-direction: column;
        align-items: flex-start;
    }

    .cred_form_text {
        background: none;
        padding-left: 0;
        text-align: center;
        font-size: 16px;
    }

    .cred_form_text b {
        font-size: 18px;
    }

    #cred_form {
        margin-top: 10px;
        width: 100%;
    }

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

    .tradein {
        background: #f2f2f2;
        padding: 0;
    }

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

    .tradein_title {
        font-size: 40px;
        margin-bottom: 10px;
    }

    .tradein_comment br {
        display: none;
    }

    #tradein_form {
        margin-top: 20px;
    }

    #tradein_form .form-group {
        width: 100% !important;
        margin-bottom: 10px;
    }

    #tradein_form .agree_field {
        margin-top: 0;
    }

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

    .lizing > img {
        display: block;
        width: 100%;
    }

    .lizing_wrap {
        width: 100%;
        padding: 30px 0;
    }

    .lizing_title {
        font-size: 40px;
        text-align: center;
        margin-bottom: 10px;
    }

    .lizing_profit b span {
        white-space: nowrap;
        font-size: inherit;
    }

    .lizing_props {
        margin-top: 20px;
    }

    .lizing_props > div br {
        display: none;
    }

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

    .advantages {
        padding: 40px 0;
        background-size: cover;
    }

    .ags_title {
        font-size: 30px;
    }

    .ags_comment br {
        display: none;
    }

    .ags_props {
        margin-top: 20px;
        flex-flow: wrap;
    }

    .ags_props > div {
        width: 49%;
        font-size: 16px;
        padding-left: 15px;
        min-height: 200px;
        margin-bottom: 7px;
    }

    .ags_quest {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 15px;
    }

    .ags_quest_text {
        padding-left: 0;
        text-align: center;
        background: none;
        font-size: 16px;
    }

    .ags_quest_text b {
        font-size: 20px;
    }

    #ags_form {
        width: 100%;
        margin-top: 10px;
    }

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

    .dc_gallery .slick-prev {
        left: 5px;
    }

    .dc_gallery .slick-next {
        right: 5px;
    }

    .contacts {
        padding: 0;
        background-position: 98% 20px;
    }

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

    .cont_dealer {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .bot_phone {
        margin-bottom: 15px;
    }

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

    .worktime {
        font-size: 15px;
    }

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

    #map1 {
        position: relative;
        bottom: 0;
        width: 100%;
        height: 350px;
        background-position: 50%;
    }

    .foot_wrap {
        flex-direction: column;
    }

    .foot_links {
        flex-direction: column-reverse;
    }

    .foot_links a,
    .foot_links span {
        font-size: 12px;
    }

    .footer_links {
        align-items: center;
        text-align: center;
    }

    .foot_logo_wrap {
        width: 100%;
        justify-content: space-between;
    }

    .foot_logo1 {
        max-width: 120px;
        margin-right: 0;
    }

    .foot_menu {
        display: none;
    }

}

@media (max-width: 468px) {
    .title_container {
        /* padding-top: 115px; */
        margin-top: 85px;
    }

    .title1 {
/*        margin-bottom: 185px;*/
        margin-bottom: calc(60vw - 100px);
    }

    .timer_block {
        padding-left: 30px;
        padding-right: 30px;
        margin-top: calc(180px - 9vw);
    }
}

/*MOBILE END*/

/* Portrait phones and smaller */
@media (max-width: 390px) {
    .title1 {
/*        margin-bottom: 155px;*/
    }
}

@media (max-width: 360px) {
    .agree_field {
        font-size: 8px;
    }

    .logo2 span {
        font-size: 7px;
    }

    .title1 {
        font-size: 12px;
/*        margin-bottom: 140px;*/
    }

    .title_comment {
        font-size: 18px;
    }

    .timer_title {
        font-size: 14px;
    }

    #instock .compl_title {
        font-size: 24px;
    }

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

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

    .ags_title {
        font-size: 24px;
    }

    .ags_comment {
        font-size: 16px;
    }

    .ags_comment br {
        display: none;
    }

    .ags_props > div {
        font-size: 14px;
    }

    .cont_dealer {
        font-size: 20px;
    }

    .worktime {
        font-size: 13px;
    }
}

@media (max-width: 320px) {

}