@media (max-height:720px) {
    .panel, .panel_after{
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .popup_title{
        padding-bottom: 20px;
    }
    .popup_description{
        padding-bottom: 10px;
    }
    .form_popup input,.form_popup input[type*=tel],.new_label{
        margin-bottom: 15px;
    }
    .form_popup .btn{
        margin-top: 20px;
    }
    .popup_close{
        top: 25px;
        right: 25px;
    }
}
@media (max-height:570px) {
    .form_popup input{
        height: 45px;
    }
}
@media screen and (max-height:550px) and (max-width:850px){
    .panel{
        overflow-y: auto;
        height: 320px;
    }

}
@media (max-width:1260px) {
    .slider_car .owl-nav .owl-prev{
        left: 0;
    }
    .slider_car .owl-nav .owl-next{
        right: 0;
    }
    footer .wrapper{
        padding: 0 10px;
    }
}

@media (max-width:1200px) {
    .block_languages {
        margin-right: 25px;
    }
    .bottom_menu {
        margin-right: 25px;
    }
    .top_header{
        padding: 27px 5px 26px 5px;
        box-sizing: border-box;
    }
    .slider_car_item{
        max-width: 500px;
    }
    .slide{
       width: 100%;
    }
}
@media (max-width:1110px) {
    .block_languages{
        position: absolute;
        top: -30px;
        left: 0px;
    }
    .logo{
        margin-right: 15px;
    }
    header{
        padding: 0;
    }
    .product_cart{
        padding: 30px 18px 30px 18px;
    }
    .header_top{
        padding: 0 10px;
    }
    .block_languages{
        left: 10px;
    }
}
@media (max-width:1024px) {
    .color_name{
        display: none;
    }
    body{
        padding: 0;
    }
    .wrapper_pad{
        padding: 0 10px;
    }
    .content{
        padding: 0 10px;
    }
    .slider_car .owl-nav .owl-prev {
        left: 5px;
    }
    .slider_car .owl-nav .owl-next {
        right: 5px;
    }
    .top_header{
        padding-left: 10px;
    }
    .slider_car{
        width: 99%;
    }

}
@media (max-width:1020px) {
    .filter{
        display: flex;
        align-items: center;
        font-size: 14px;
        line-height: 30px;
    }
    sidebar{
        padding-top: 65px;
        box-sizing: border-box;
        right: -320px;
        position: fixed;
        top: 72px;
        margin: 0;
        bottom: 0;
        width: 320px;
        z-index: 100;
        -webkit-transition: 200ms linear;
        -moz-transition: 200ms linear;
        -ms-transition: 200ms linear;
        -o-transition: 200ms linear;
        transition: 200ms linear;
    }
    .filter img{
        margin-right: 10px;
    }
    sidebar.active{
        right: 0;
        overflow: auto;
        -webkit-transition: 200ms linear;
        -moz-transition: 200ms linear;
        -ms-transition: 200ms linear;
        -o-transition: 200ms linear;
        transition: 200ms linear;
    }
    sidebar::-webkit-scrollbar-thumb {
        background: #999999;
        border-radius: 5px;
    }
    sidebar::-webkit-scrollbar {
        width:4px;
    }
    .new_label{
        margin-bottom: 10px;
    }
    .sidebar_close{
        position: absolute;
        top: 37px;
        right: 20px;
        width: 20px;
        height: 20px;
        cursor: pointer;
        z-index: 7;
        display: block;
    }
    .sidebar_close:before, .sidebar_close:after{
        background-color: #999999;
        content: '';
        height: 18px;
        left: 9px;
        position: absolute;
        top: 1px;
        width: 2px;
        -webkit-transition: 400ms linear;
        -moz-transition: 400ms linear;
        -ms-transition: 400ms linear;
        -o-transition: 400ms linear;
        transition: 400ms linear;
    }
    .sidebar_close:before{
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    .sidebar_close:after {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    .part_right_fix .block_info{
        padding: 11px 20px;
    }
    .part_right_fix .car_title{
        padding: 0 20px;
    }
    .part_right_fix .block_color, .part_right_fix .block_price, .part_right_fix .block_address, .part_right_fix .car_year {
        padding: 0 20px;
    }
    .part_right_fix .block_color{
        padding-bottom: 14px;
    }
    .sidebar_item_fix .label_text, .sidebar_item_title{
        font-size: 16px;
    }
    .sidebar_option_new{
        max-height: 100%;
    }
}
@media (max-width:1000px) {
    .slider_car .car_item img{
        width: auto!important;
        margin: 0 auto;
    }
    .slider_car .car_item .car_label img{
        width: 90%!important;
    }
    .top_header{
        margin: 48px 0;
    }
    .content{
        margin-top: 100px;
    }
    .back_to{
        margin-top: 48px;
    }
}

@media (max-width:990px) {
    .height_block {
        height: 60px;
    }

    .burger {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
    }

    header {
        display: flex;
        flex-direction: column-reverse;
    }

    .header_top {
        display: none;
    }

    .block_languages {
        /*top: 76px;*/
        top: 50%;
        left: 0px;
        transform: translateY(-50%);
    }

    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin-bottom: 0;
        margin: 0;
    }

    .logo img {
        margin-bottom: 0;
    }

    .header_bottom {
        height: 60px;
        box-sizing: border-box;
        padding-left: 10px;
        padding-right: 10px;
        justify-content: flex-end;
    }
    sidebar{
        top: 60px;
        padding-top: 34px;
    }
    .bottom_menu {
        display: none;
    }
    .sidebar_close{
        top: 15px;
    }
    .top_menu, .footer_nav {
        display: none;
    }

    .search {
        position: initial;
        margin-right: 55px;
        /* right: 45px;
         transform: translateY(-50%);
         top: 50%;*/
    }

    .serch_forma.active {
        top: 100%;
        width: 100%;
        margin-top: 0;
    }

    .search.active .close_form {
        display: block;
        position: relative;
        left: auto;
        margin-left: 0;
    }

    .search.active .script_search {
        display: none;
    }
    header .burger{
        right: 10px;
        position: fixed;
        top: 31px;
    }
    header .block_languages{
        left: 10px;
    }
    .burger.active .line3{
        transform: rotate(45deg);
        bottom: 50%;
        left: 0;
        right: 0;
    }
    .burger.active .line2 {
        display: none;
    }
    .burger.active .line1 {
        transform: rotate(-45deg);
        top: 50%;
        left: 0;
    }

    .phone{
        margin-right: 0;
    }
    .part_right_fix .block_price span {
        font-size: 30px;
    }
    .part_right_fix .car_credit span {
        font-size: 21px;
    }
    .slider_car_item {
        max-width: 400px;
    }
    .menu_item:before{
        display: none;
    }
    .mob_menu.active .phone{
       /* margin-left: 15px;*/
    }
    footer form{
        margin-right: 15px;
    }
    .block_social{
        margin-top: 3px;
    }
    .slider_car button.owl-dot,.block_carusel button.owl-dot {
        margin-right: 5px;
    }
}
@media (max-width:950px) {
    .contact_form .form-group label {
        width: 200px;
    }
    .contact_form  .help-block{
        left: 200px;
    }
    .page_title{
        padding: 40px 15px 0;
    }
    .page_title h1{
        padding: 50px 0;
        font-size: 40px;
    }
    .page_text>div {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .page_text h3{
        font-size: 28px;
    }
    .news_item{
        width: 50%;
    }
}
@media (max-width:860px) {
    .flex_fix{
        flex-direction: column;
    }
    /*.slider_car_item {*/
    /*    max-width: 100%;*/
    /*}*/
    /*.slide{*/
    /*    max-width: 100%;*/
    /*}*/
    /*.slider_car_item {*/
    /*    max-width: 500px;*/
    /*}*/
    .info_block{
        margin-top: 10px;
        margin-left: 0;
    }
    .flex_fix > div{
        width: 100%;
    }
    .slider_car_item {
        max-width: none;
    }
    .info_block{
        max-width: none;
    }
    .part_right_fix .block_info li:first-child, .part_right_fix .block_info li:nth-child(2){
        width: auto;
        margin-right: 25px;
    }
    .owl-thumb-item{
    /*    width: 25%;*/
    }
}
@media (max-width:830px) {
    .block_info{
        display: flex;
        flex-wrap: wrap;
    }
    .block_price{
        padding-left: 0;
    }
}
@media (max-width:800px) {

}
@media (max-width:650px) {
    .contact_form .form-group{
        flex-wrap: wrap;
    }
    .contact_form .form-group label{
        width: 100%;
        margin-bottom: 5px;
    }
    .contact_form .help-block {
        left: 0;
    }
    .selected_info {
        font-size: 14px;
    }
    .asistant_item {
        width: 100%;
        margin-bottom: 20px;
    }
    .product_cart{
        flex-direction: column;
        align-items: center;
        padding: 18px;
    }
    .product_cart .part_left{
        width: 100%;
    }
    .product_cart .part_right{
        width: 100%;
        margin-top: 20px;
    }
    .pagination{
        left: 50%;
        transform: translateX(-50%);
        margin-top: 20px;
    }
    .panel , .panel_after{
        width: 92%;
        padding: 40px 25px;
    }
    .popup_close{
        top: 25px;
        right: 25px;
    }
    .logo_footer {
        margin-right: 40px;
    }
}
@media (max-width:600px) {
    .filter span{
        display: none;
    }
    .filter img{
        margin: 0;
    }
    footer{
       /* margin-top: 70px;*/
    }
    .flex_fix > div{
        width: 100%;
    }
    .slider_car_item {
        max-width: none;
    }
    .info_block{
        max-width: none;
    }

    .option_table tr td:first-child{
        width: 75%;
    }
    .option_table td{
        padding: 8px 16px 8px 16px;
    }
    .option_title{
        padding: 18px 10px;
    }
    .popup_title, .popup_description{
        padding-bottom: 15px;
    }
    .form_popup .label_text{
        font-size: 12px;
    }
    .page_title h1{
        font-size: 30px;
        padding: 30px 0;
    }
    .page_text h3 {
        font-size: 24px;
    }
    .page_text>div *{
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .news_item{
        width: 100%;
        padding: 0;
    }
    .center_content{
        width: 100%;
        padding: 0 15px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .new_name{
        font-size: 18px;
    }
    .block_item{
        flex-wrap: wrap;
    }
    .block_image{
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
        order: 0;
    }
    .block_text{
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
        order: 1;
    }
}
@media (max-width:550px) {
    footer .wrapper{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .footer_menu{
        justify-content: center;
        margin-bottom: 10px;
    }
    .logo_footer{
        margin-right: 0;
        margin-bottom: 15px;
    }
    .footer_block .flex{
        justify-content: center;
    }
    .licence_text{
        text-align: center;
        margin-top: 15px;
    }
    .footer_text{
        text-align: justify;
    }
}
@media (max-width:500px) {
    .selected_info{
        width: 100%;
        font-size: 12px;
        margin-bottom: 15px;
    }
    .content_top{
        flex-wrap: wrap;
    }
    .sort{
        padding: 0;
    }
    .slide {
        height: 249px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .owl-thumb-item{
        height: 80px;
    }
    .slider_car_item{
        margin-bottom: 50px;
    }
    .popup_description{
        font-size: 13px;
        text-align: center;
    }
    .form_popup .label_text{
        line-height: 1;
    }
    .form_popup .btn{
        margin-top: 20px;
    }
    .panel_after{
        height: 350px;
    }
    .panel_text{
        font-size: 22px;
        line-height: 1.5;
    }
    .form_popup input, .form_popup select{
        height: 40px;
        margin-bottom: 15px;
    }
    .footer_block .flex{
        flex-direction: column;
    }
    .footer_block .flex_new{
        flex-direction: column-reverse;
        align-items: center;
    }
    .block_social{
        margin-bottom: 5px;
    }
    .footer_block_title{
        margin-right: 0;
        margin-bottom: 5px;
    }
    .logo_footer{
        margin-bottom: 5px;
    }
    .slider_car_item .owl-nav{
        top: 107px;
    }
    .dopmiddle2{
        padding-right: 15px;
        padding-left: 15px;
    }
    .text_404 {
        font-size: 150px;
    }
}
@media (max-width:420px) {
    .top_header{
        font-size: 29px;
    }
    .product_cart{
        padding: 10px;
    }
    body{
        padding: 0;
    }
    header{
        padding: 0;
    }
    .header_bottom, .header_top{
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .burger{
        right: 10px;
    }
    .search{
        margin-right: 45px;
    }
    .block_languages{
        left: 10px;
    }
    .selected_filters, .product_carts, .options_block, .info_block{
        margin-right: 10px;
        margin-left: 10px;
    }
    .slider_car_item{
        width: 98%;
        margin: 0 auto;
    }
    .slider_car_item {
        margin-bottom: 0;
    }
    .back_to, .part_left_label{
        padding-left: 10px;
    }
    .option_header{
        padding-left: 0;
    }
    .info_block{
        width: 95%!important;
    }
    .part_right_fix .block_price span {
        font-size: 24px;
    }
    .part_right_fix .car_credit span {
        font-size: 18px;
    }
    .part_right_fix .car_title {
        font-size: 22px;
    }
    .option_table th,.option_table td{
        font-size: 14px;
    }
    .option_title{
        font-size: 16px;
    }
    .option_table tr td:first-child {
        width: 80%;
    }
    .other_dealer{
        padding-left: 0;
    }
    .content{
        padding: 0;
    }
    .product_cart .part_left_label{
        padding-left: 0;
    }
    .pagination li {
        margin-right: 5px;
        cursor: pointer;
    }
}
@media (max-width:400px) {
    .slider_car .car_item_img{
        height: auto;
        width: 100%;
    }
    .slider_car .owl-item  img {
        max-height: 200px;
    }
    .slider_car .car_item .car_label img {
        width: 90%!important;
    }
    .part_left .address{
        font-size: 12px;
    }
    .car_price span{
        font-size: 18px;
    }
    .part_left_label{
        line-height: 1;
    }
    .part_right_fix .block_price span {
        font-size: 19px;
    }
    .part_right_fix .car_credit span {
        font-size: 15px;
    }
    .part_right_fix .block_price{
        margin-top: 20px;
    }
    .part_right_fix .block_price{
        font-size: 12px;
    }
    .part_right_fix .block_info li:first-child, .part_right_fix .block_info li:nth-child(2){
        width: auto;
        margin-right: 25px;
    }
    .part_right_fix .car_title{
        padding: 0 10px;
    }
    .part_right_fix .block_color, .part_right_fix .block_price, .part_right_fix .block_address, .part_right_fix .car_year{
        padding: 0 10px;
    }
    .part_right_fix .block_color {
        padding-bottom: 14px;
    }
    .part_right_fix .block_info{
        padding: 10px;
    }
    .panel, .panel_after{
        padding: 20px 10px;
    }
    .popup_close {
        top: 10px;
        right: 10px;
    }
    .licence_text{
        font-size: 11px;
    }
    .other_dealer{
        font-size: 12px;
    }
    .owl-thumb-item {
        height: 55px;
    }
}
@media (max-width:340px) {
    .block_price{
        font-size: 13px;
    }
    .panel_after{
        height: 200px;
    }
    .panel_text{
        font-size: 18px;
    }
    .sidebar_item_fix .label_text, .sidebar_item_title{
        font-size: 15px;
    }
}
