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

html {
    overflow-x: hidden;
}

body {
    font-family: "ToyotaType", sans-serif;
    font-size: 16px;
    color: #282830;
    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; */
}

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

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

.fancybox-content {
    overflow: hidden;
}

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

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

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

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

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

a {
    color: inherit;
    text-decoration: none;
}

.cookie_message {display:none;position: fixed;background: white;padding: 15px 0px;bottom: 0px;left: 0px;width: 100%;background: #F3F3F3;/* border-radius: 10px; */box-shadow: 0px -2px 2px #05141f;border-bottom-left-radius: 0px;border-bottom-right-radius: 0px;z-index: 99999;font-size: 12px;}
.cookie_message .container {
    display: flex;
    width: 1230px;
    gap: 20px;
    max-width: 100%;
    box-sizing: border-box;
}
.cookie_message ._text {}
.cookie_message .btn {height:42px;text-align:center;padding: 0px 15px;flex-shrink: 0;}

.cookie_message ._text a {text-decoration: underline;color: inherit;}


.cookie_message .mob {display:none;}

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

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

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

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

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

#form_popup,
#form_popup2 {
    display: none;
}

.popup_container {
    width: 500px;
    max-width: 100%;
    padding: 30px;
    overflow: hidden;
    position: relative;
    background: white;
}

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

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

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

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

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

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

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

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

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

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

form {
}

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

form .form-group input[type="tel"],
form .form-group input[type="text"],
form .form-group input[type="number"],
form .form-group select {
    height: 48px;
    width: 100%;
    color: #282830;
    font-size: 16px;
    box-sizing: border-box;
    font-weight: 400;
    font-family: "ToyotaType", sans-serif;
    padding: 0px 20px;
    outline: none;
    background: transparent;
    border-radius: 8px;
    border: 1px solid #D0D0D0;
}

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

form .form-group button {
    width: 100%;
    cursor: pointer;
    font-family: "ToyotaType", 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;
}

.cookie {
    position: fixed;
    z-index: 999999;
    bottom: 35px;
    width: 100%;
    left: 0;
}

.cookie .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie_text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    max-width: 1024px;
    background: #fff;
    font: inherit;
    padding: 15px 30px;
    box-sizing: border-box;
    box-shadow: 0 0 10px 5px rgba(0,0,0,.1);
    border-radius: 12px;
}

.cookie_text p {
    width: 75%;
}

.cookie .btn {
    padding: 0 10px;
    width: 20%;
}

.btn {
    box-sizing: border-box;
    background: #282830;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    outline: none;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    padding-bottom: 5px;
}

.btn.white {
    background: #ffffff;
    color: #282830;
}

.btn.glass {
    border: 1px solid #ffffff;
    background: transparent;
}

.btn:hover {
    background: #FF0022;
    border-color: #FF0022; !important;
    color: #ffffff;
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 15;
    background: #ffffff;
    padding: 15px 0;
}

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

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

.top_phone {
    display: block;
    padding-left: 25px;
    background: url("../img/ico_phone.svg") 0 50% no-repeat;
}

header .m_btn {
    display: none;
}

header .btn {
    width: 200px;
}

.menu {
    top: 78px;
    position: fixed;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 16px 0;
    z-index: 5;
}

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

.menu a {
    display: block;
    position: relative;
}

.menu a:after {
    content: "";
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF0022;
    transition: all .4s ease;
}

.menu a:hover:after {
    width: 100%;
}

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

.banner {
    margin-top: 133px;
}

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

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

.title_container .title1 {
    font-size: 42px;
    text-transform: uppercase;
    font-weight: 700;
}

.title_container .title2 {
    margin-top: 3px;
    font-size: 24px;
    font-weight: 700;
}

.title_container .btn {
    width: 230px;
    margin: 25px auto 0;
}

.garanty {
    background: white;
    width: fit-content;
    display: flex;
    color: inherit;
    text-decoration: none;
    align-items: center;
    padding: 8px;
    padding-left: 15px;
    border-radius: 100px;
    transition: 0.5s ease-in-out;
    margin-top: 275px;
    position: absolute;
    right: 0px;
}

.garanty:before {
    content: '';
    background: url(../img/ico_garanty.svg) 50% 50% no-repeat;
    width: 46px;
    height: 46px;
    display: inline-block;
    flex-shrink: 0;
    filter: invert(32%) sepia(46%) saturate(2056%) hue-rotate(190deg) brightness(102%) contrast(96%);
    transition: 0.5s ease-in-out;
    margin-right: 16px;
}

.garanty i {
    width: 52px;
    height: 52px;
    background: #1C69D4;
    border-radius: 100px;
    flex-shrink: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s ease-in-out;
    margin-left: 19px;
}

.garanty i:before {
    content: '';
    background: url(../img/arrow.svg?v=1) 50% 50% no-repeat;
    width: 24px;
    height: 24px;
    display: block;
    filter: invert(97%) sepia(74%) saturate(6134%) hue-rotate(181deg) brightness(123%) contrast(94%);
    transform: rotate(-45deg);
    transition: 0.5s ease-in-out;
}


.garanty:hover {
    background: #1C69D4;
    color: antiquewhite;
}

.garanty:hover:before {
    content: '';
    filter: invert(97%) sepia(74%) saturate(6134%) hue-rotate(181deg) brightness(123%) contrast(94%);
}

.garanty:hover i {
    background: white;
}

.garanty:hover i:before {
    content: '';
    transform: rotate(0deg);
    filter: invert(32%) sepia(46%) saturate(2056%) hue-rotate(190deg) brightness(102%) contrast(96%);
}

.offer_block {
    margin-top: 50px;
    padding: 15px 15px 15px 40px;
    display: flex;
    align-items: center;
    gap: 0 28px;
    color: #ffffff;
    border-radius: 12px;
    background: linear-gradient(90deg, #282830 47%, #EB0A1E 100%);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
}

.offer_title {
    font-size: 22px;
    margin-bottom: 5px;
}

.offer_title b {
    text-transform: uppercase;
    font-size: 24px;
}

.offer_text {
    width: 540px;
    max-width: 100%;
}

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

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

#offer_form input[type=tel] {
    color: #ffffff;
}

.offer_img {
    width: 50%;
}

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

.cars_items {
    margin-top: 70px;
}

.blocks_title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
}

.cars_menu {
    margin-top: 50px;
}

.cars_menu .swiper-wrapper {
    /*justify-content: center;*/
    /*gap: 0 50px;*/
}

.cars_menu .swiper-wrapper .swiper-slide {
    /*width: 200px !important;*/
}

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

.cars_menu a span {
    display: block;
    border-radius: 40px;
    background: #282830;
    font-size: 24px;
    width: 100%;
    color: #ffffff;
    text-align: center;
    transition: all .4s ease;
    padding-bottom: 4px;
}

.cars_menu a:hover span {
    background: #FF0022;
}

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

.car_item {
    background: url("../img/car_bg.jpg") 50% no-repeat;
    padding: 40px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    /*align-items: flex-end;*/
    gap: 0 35px;
}

.car_info {
    width: 400px;
    max-width: 100%;
}

.car_title {
    background: #F02;
    padding: 0 30px 10px;
    color: #ffffff;
    font-weight: 700;
    font-size: 32px;
    border-radius: 8px 8px 0 0;
}

.car_text {
    padding: 30px;
    background: #282830;
    border-radius: 0 0 8px 8px;
}

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

.car_props a {
    display: flex;
    align-items: center;
    min-height: 32px;
    padding-left: 47px;
    font-size: 18px;
    color: #ffffff;
    transition: all .4s ease;
}

.car_props a b {
    font-size: 20px;
    color: #F02;
}

.car_props a.ico1 {
    background: url("../img/car_ico1.svg") 0 50% no-repeat;
}

.car_props a.ico2 {
    background: url("../img/car_ico2.svg") 0 50% no-repeat;
}

.car_props a.ico1:hover {
    background: url("../img/car_ico1_hov.svg") 0 50% no-repeat;
}

.car_props a.ico2:hover {
    background: url("../img/car_ico2_hov.svg") 0 50% no-repeat;
}

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

.car_image_wrap {
    width: 61%;
    position: relative;
    padding-top: 50px;
}

.car_image_wrap .car_comment {
    border-radius: 25px;
    border: 1px solid #FFF;
    background: rgba(255, 255, 255, 0.40);
    padding: 4px 8px 4px 25px;
    font-size: 14px;
    width: fit-content;
    position: absolute;
    left: 0;
    top: 15px;
}

.car_image_wrap .car_comment:before {
    content: '';
    position: absolute;
    left: 8px;
    top: 10px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #FF0022;
}

.car_profit {
    font-size: 18px;
    color: #ffffff;
    border-radius: 38px 0 0 38px;
    background: #282830;
    position: absolute;
    right: -40px;
    top: 0;
    padding: 14px 15px 16px 60px;
    text-transform: uppercase;
    transition: all .4s ease;
}

.car_profit:before {
    content: '';
    position: absolute;
    top: 7px;
    left: 7px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #F02;
    background-image: url("../img/ico_profit.svg");
    background-position: center;
    background-repeat: no-repeat;
    transition: all .4s ease;
}

.car_profit:hover {
    background: #FF0022;
}

.car_profit:hover:before {
    background-color: #282830;
}

.car_image_wrap .car_img {
    text-align: center;
}

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

#instock {
    margin-top: 120px;
}

.filter_quick_menu {
    display: none;
}

#filter_table {
    display: flex;
    margin-top: 50px;
    justify-content: space-between;
    gap: 20px;
}

#filter_table .select_container {
    width: 100%;
}

#filter_table select {
    width: 100%;
    height: 48px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border-radius: 8px;
    border: 1px solid #D0D0D0;
    background: url("../img/ico_select.svg") 95% 50% no-repeat transparent;
    font-family: 'ToyotaType';
    font-size: 16px;
    padding-left: 20px;
    cursor: pointer;
    line-height: 150%;
}

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

.tb_complects {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.tb_complects > div {

}

.compl_wrap {
    margin-top: -95px;
    border-radius: 8px;
    background: #282830;
    padding: 90px 25px 25px;
    color: #ffffff;
}

.compl_name {
    display: flex;
    justify-content: center;
    gap: 0 12px;
    font-size: 20px;
    font-weight: 700;
}

.compl_name span {
    font-size: 16px;
    border-radius: 30px;
    background: #F02;
    padding: 0 10px 4px;
}

.compl_techs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 20px;
}

.compl_techs > div {
    border-radius: 8px;
    background: #3B3B43;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #d0d0d0;
    font-size: 14px;
    padding: 8px 0;
}

.compl_techs > div b {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

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

.tb_complects_showmore {
    display: block;
    margin-top: 30px;
    color: #282830;
    font-weight: 700;
    text-decoration: underline;
}

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

.bg_dark {
    margin-top: 120px;
    padding-top: 120px;
    background: #282830;
}

.tradein {
    border-radius: 12px;
    background: #FFF;
    padding: 40px;
    display: flex;
    justify-content: space-between;
}

.tradein_wrap {
    width: 390px;
    max-width: 100%;
    margin-top: -5px;
}

.tradein .blocks_title {
    text-align: left;
}

.tradein_comment {
    margin-top: 15px;
    font-size: 20px;
}

#tradein_form {
    margin-top: 24px;
}

.tradein_img {
    width: 62%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
}

.tradein_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.credit {
    margin-top: 120px;
    display: flex;
    gap: 0 30px;
    padding: 40px;
    background: #FFFFFF;
    border-radius: 12px;
}

.credit_img_wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 312px;
}

.credit_img_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.credit_props {
    display: flex;
    justify-content: center;
    gap: 0 12px;
    position: absolute;
    width: 100%;
    bottom: 20px;
}

.credit_props > div {
    border-radius: 8px;
    color: #ffffff;
    padding: 9px 20px 15px 60px;
}

.credit_props > div.ico1 {
    background: url("../img/credit_ico1.svg") 12px 50% no-repeat #282830;
}

.credit_props > div.ico2 {
    background: url("../img/credit_ico2.svg") 12px 50% no-repeat #282830;
}

.credit_wrap {
    width: 385px;
    max-width: 100%;
    margin-top: -5px;
}

.credit_wrap .blocks_title {
    text-align: left;
}

.credit_comment {
    font-size: 20px;
    margin-top: 15px;
}

#credit_form {
    margin-top: 24px;
}

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

.test_drive {
    margin-top: 120px;
    display: flex;
    gap: 0 30px;
    padding: 40px;
    background: #FFFFFF;
    border-radius: 12px;
}

.test_drive_img_wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 312px;
}

.test_drive_img_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.test_drive_props {
    display: flex;
    justify-content: center;
    gap: 0 12px;
    position: absolute;
    width: 100%;
    bottom: 20px;
}

.test_drive_props > div {
    border-radius: 8px;
    color: #ffffff;
    padding: 9px 20px 15px 60px;
}

.test_drive_props > div.ico1 {
    background: url("../img/test_drive_ico1.svg") 12px 50% no-repeat #282830;
}

.test_drive_props > div.ico2 {
    background: url("../img/test_drive_ico2.svg") 12px 50% no-repeat #282830;
}

.test_drive_wrap {
    width: 385px;
    max-width: 100%;
    margin-top: -5px;
}

.test_drive_wrap .blocks_title {
    text-align: left;
}

.test_drive_comment {
    font-size: 20px;
    margin-top: 15px;
}

#test_drive_form {
    margin-top: 24px;
}

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

.blocks_title.wt {
    color: #ffffff;
}

.contacts {
    margin-top: 100px;
    padding-bottom: 50px;
}

.contacts_wrap {
    display: flex;
    gap: 0 30px;
    margin-top: 50px;
}

.contacts_text {
    width: 385px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px 0;
}

.cont_logo {
    border-radius: 12px;
    background: #3B3B43;
    padding: 16px;
}

.white_block {
    border-radius: 12px;
    background: #FFF;
    padding: 16px;
}

.white_block span {
    font-size: 14px;
    display: block;
}

.bot_addr {
    padding-left: 64px;
    background: url("../img/ico_loc_bot.svg") 0 50% no-repeat;
}

.bot_phone {
    display: block;
    padding: 2px 0 3px 64px;
    background: url("../img/ico_phone_bot.svg") 0 50% no-repeat;
}

.worktime {
    padding: 2px 0 3px 64px;
    background: url("../img/ico_time.svg") 0 50% no-repeat;
}

.quest {
    margin-top: 12px;
    font-size: 18px;
}

.contacts_text .btn {
    margin-top: 12px;
}

#map1 {
    width: 65%;
    height: 468px;
    border-radius: 12px;
    overflow: hidden;
    /*background: url("../img/map.jpg") 50% no-repeat;*/
}

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

footer {
    background: #282830;
}

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

.yurinfo {
    font-size: 16px;
    color: #ffffff;
}

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

.foot_links > a {
    color: #ffffff;
    font-size: 16px;
}

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

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

@media (max-width: 1600px) {
}

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

    .top_addr {
        display: none;
    }

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

    .offer_block {
        padding: 15px;
    }

    .offer_title {
        font-size: 20px;
    }

    .offer_title b {
        font-size: 22px;
    }

    .offer_comment {
        font-size: 14px;
    }

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

    .car_item {
        padding: 20px;
    }

    .car_profit {
        right: -20px;
    }

    .car_image_wrap .car_comment {
        position: relative;
        margin-left: auto;
    }

    .car_image_wrap {
        width: 55%;
    }

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

    .tradein_img {
        width: 53%;
    }

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

    .credit_comment {
        font-size: 16px;
    }

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

    .test_drive_comment {
        font-size: 16px;
    }

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

    .bot_addr {
        font-size: 14px;
    }
}

/*IPAD PRO BEGIN*/

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

    .banner picture img {
        height: 450px;
    }

    .title_container {
        top: 20px;
    }

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

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

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

    .offer_img {
        display: none;
    }

    .offer_text {
        width: 100%;
    }

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

    .cars_menu .swiper-wrapper {
        gap: 0 20px;
    }

    .car_item {
        background-size: cover;
        flex-direction: column-reverse;
        position: relative;
    }

    .car_image_wrap {
        width: 100%;
    }

    .car_info {
        width: 100%;
    }

    .car_title {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    .car_text {
        border-radius: 8px;
    }

    .car_image_wrap .car_comment {
        margin-left: 0;
    }

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

    #instock {
        margin-top: 60px;
    }

    .tb_complects {
        grid-template-columns: 1fr 1fr;
    }

    #filter_table select {
        font-size: 14px;
    }

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

    .bg_dark {
        margin-top: 60px;
        padding-top: 60px;
    }

    .tradein {
        flex-direction: column-reverse;
        gap: 30px 0;
    }

    .tradein_img {
        width: 100%;
    }

    .tradein_wrap {
        width: 100%;
    }

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

    .credit {
        flex-direction: column;
        gap: 30px 0;
        margin-top: 60px;
    }

    .credit_wrap {
        width: 100%;
    }

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

    .test_drive {
        flex-direction: column-reverse;
        gap: 30px 0;
        margin-top: 60px;
    }

    .test_drive_wrap {
        width: 100%;
    }

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

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

    #map1 {
        width: 100%;
    }

    .contacts_text {
        width: 100%;
    }

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

    .yurinfo {
        font-size: 12px;
    }

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

/*IPAD END*/

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

    .cookie_message {
        padding: 15px 0px;
        font-size: 12px;
    }
    .cookie_message .container {
        flex-direction: column;
    }
    .cookie_message ._text {}
    .cookie_message .btn {}

    .cookie_message .mob {display:block;}
    .cookie_message .desc {display:none;}

    .banner .title_container .garanty {
        /*width: calc(100% - 30px);*/
        box-sizing: border-box;
        justify-content: space-between;
        margin-top: 48vw;
        width: 100%;
    }

    .cookie_text {
        flex-direction: column;
        padding: 15px;
    }

    .cookie_text p {
        font-size: 3vw;
        width: 100%;
    }

    .cookie .btn {
        margin-top: 15px;
        w100%
    }

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

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

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

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

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

    .popup_container {
        width: 100%;
    }

    /*******************************************************************/
    header .m_btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: absolute;
        width: 30px;
        height: 21px;
        z-index: 1;
        top: 15px;
        right: 15px;
    }

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

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

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

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

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

    .menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 107px;
        background: white;
        width: 100%;
        height: auto;
        right: -100%;
        left: unset;
        transition: all 0.3s linear;
        z-index: 2;
        padding: 20px 0;
        row-gap: 10px;
    }

    .menu.active {
        right: 0;
    }

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

    .menu a {
        padding: 0;
    }

    .menu a:before {
        display: none;
    }

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

    header {
        padding: 10px 0;
    }

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

    .top_phone {
        margin-top: 5px;
    }

    .top_addr {
        display: none;
    }

    header .btn {
        display: none;
    }

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

    .banner {
        margin-top: 80px;
    }

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

    .title_container {
        top: 20px;
        padding: 0 15px;
    }

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

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

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

    .offer_block {
        margin-top: 17vw;
        padding: 15px;
        flex-direction: column-reverse;
        gap: 15px 0;
    }

    .offer_img {
        width: 100%;
    }

    .offer_text {
        width: 100%;
        text-align: center;
    }

    .offer_title {
        font-size: 4.5vw;
    }

    .offer_title b {
        font-size: 6vw;
    }

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

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

    .blocks_title {
        font-size: 8vw;
    }

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

    .cars_menu .swiper-wrapper {
        /*gap: 0 10px;*/
        /*width: 100%;*/
        justify-content: unset;
    }

    .cars_menu .swiper-wrapper .swiper-slide {
        /*width: 31% !important;*/
        /*width: auto !important;*/
    }

    .cars_menu .swiper-scrollbar {
        bottom: 0;
    }

    .cars_menu .swiper-scrollbar-drag {
        background: #F02;
    }

    .cars_menu a span {
        font-size: 4vw;
    }

    .car_item {
        background-size: cover;
        flex-direction: column-reverse;
        position: relative;
        padding: 0;
    }

    .car_image_wrap {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-top: 15px;
        padding-top: 40px;
    }

    .car_info {
        width: 100%;
    }

    .car_title {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        font-size: 7vw;
        padding-left: 15px;
        padding-right: 15px;
    }

    .car_text {
        border-radius: 0 0 8px 8px;
        padding: 15px;
    }

    .car_props a {
        font-size: 4vw;
    }

    .car_props a b {
        font-size: 5vw;
    }

    .car_image_wrap .car_comment {
        margin-left: 0;
        margin-top: 15px;
    }

    .car_btns {
        margin-top: 20px;
    }

    .car_profit {
        display: block;
        position: relative;
        right: 0;
        font-size: 4vw;
        margin-left: auto;
        width: fit-content;
        order: 1;
    }

    .car_profit:before {
        /*top: 1.5vw;*/
        left: 1.5vw;
        width: 11vw;
        height: 11vw;
        top: calc(50% - 5.5vw);
    }

    .car_image_wrap .car_comment {
        order: 2;
        position: relative;
        margin-left: 15px;
        top: 0;
    }

    .car_img {
        order: 3;
    }

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

    #instock {
        margin-top: 60px;
    }

    #filter_table {
        flex-direction: column;
        gap: 10px ;
    }

    .tb_complects {
        grid-template-columns: 1fr;
    }

    .compl_wrap {
        padding: 90px 15px 15px;
    }

    #filter_table select {
        font-size: 14px;
    }

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

    .bg_dark {
        margin-top: 60px;
        padding-top: 60px;
    }

    .tradein {
        flex-direction: column-reverse;
        gap: 20px 0;
        padding: 15px;
    }

    .tradein_img {
        width: 100%;
        height: auto;
    }

    .tradein_comment {
        font-size: 4vw;
    }

    .tradein_wrap {
        width: 100%;
    }

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

    .credit {
        flex-direction: column-reverse;
        gap: 20px 0;
        margin-top: 60px;
        padding: 15px;
    }

    .credit_comment {
        font-size: 4vw;
    }

    .credit_wrap {
        width: 100%;
    }

    .credit_img_wrap {
        height: auto;
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
    }

    .credit_props {
        position: relative;
        bottom: 0;
        flex-direction: column;
        gap: 10px;
    }

    .credit_props > div {
        font-size: 4.5vw;
    }

    .credit_img_wrap img {
        border-radius: 8px;
    }

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

    .test_drive {
        flex-direction: column;
        gap: 20px 0;
        margin-top: 60px;
        padding: 15px;
    }

    .test_drive_comment {
        font-size: 4vw;
    }

    .test_drive_wrap {
        width: 100%;
    }

    .test_drive_img_wrap {
        height: auto;
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
    }

    .test_drive_props {
        position: relative;
        bottom: 0;
        flex-direction: column;
        gap: 10px;
    }

    .test_drive_props > div {
        font-size: 4.5vw;
    }

    .test_drive_img_wrap img {
        border-radius: 8px;
    }

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

    .contacts {
        margin-top: 60px;
    }

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

    #map1 {
        width: 100%;
    }

    .contacts_text {
        width: 100%;
    }

    .white_block {
        padding: 10px;
    }

    .bot_addr {
        background-size: 35px !important;
        padding-left: 45px;
        font-size: 4vw;
    }

    .bot_phone {
        background-size: 35px !important;
        padding-left: 45px;
        font-size: 4vw;
    }

    .worktime {
        background-size: 35px !important;
        padding-left: 45px;
        font-size: 4vw;
    }

    .quest {
        font-size: 4vw;
        text-align: center;
    }

    #map1 {
        height: 350px;
    }

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

    .foot_wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px 0;
    }

    .yurinfo {
        font-size: 12px;
    }

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

/*MOBILE END*/

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

@media (max-width: 360px) {
}

@media (max-width: 320px) {
}
