@media (max-width: 1196px) {
    .box-category-advanced ul li.right_element {
        float: left;
    }
}

@media (max-width: 1125px) {
    .phones{
        float: right;
    }
    .product-grid li{
        width: 31%;
    }
    .search{
        float: none;
        clear: both;
        margin-top: 0;
    }
    .search .style_input{
        float: none;
        position: relative;
    }
    .style_input .left_input{
        float: none;
        position: absolute;
        left: 0;
        top: 0;
    }
    .style_input input{
        width: 100%!important;
        box-sizing: border-box;
        padding: 17px;
    }
    .button-search{
        float: none;
        position: absolute;
        right: 0;
        top: 0;
    }
    .product-info .wrap_cart .cart .quant .style_input input{
        height: auto;
    }
}

@media (max-width: 991px) {
    .product-filter{
        float: none!important;
    }
    #column-left .box.filter{
        display: none;
    }
    #content{
        width: auto;
        padding: 0 5px;
    }
    .content_quick_view .left{
        max-width: 100%;
        margin: 0 auto;
        float: none;
    }
    .content_quick_view .left .image{
        margin-top: 0;
    }
    .content_quick_view .right{
        width: 100%;
    }
    #main_menu #left_menu li ul.sub_menu li{
        width: 100%;
        max-width: 48%;
    }
    #main_menu #left_menu li ul.sub_menu li + li{
        margin-left: 0;
    }
    #header_wrap{
        margin-bottom: 34px;
    }
    .wrap_content{
        position: relative;
        overflow: visible;
    }
    .box_module_category{
        position: absolute;
        top: -73px;
        left: -1px;
        z-index: 99;
        background: white;
    }
    .box_module_category .box-content{
        display: none;
    }
    .box_module_category:hover .box-content{
        cursor: pointer;
        display: block;
    }
    table.customer_info tr{
        width: 50%;
        display: inline-block;
        vertical-align: top;
    }
    table.customer_info td{
        width: 100%;
        display: block;
    }
    table.customer_info input{
        max-width: 95%;
    }

}

@media (max-width: 801px) {
    #content {
    }
}

@media (max-width: 768px) {
    #main_menu #left_menu li ul.sub_menu li{
        width: 100%;
        max-width: 100%;
    }
    .welcome .welcome-wrap{
        float: none!important;
        width: 100%!important;
    }
    .welcome .welcome-wrap__box{
        width: auto!important;
        float: none!important;
    }
    .description{
        display: none;
    }
    .product-info .description{
        display: block;
    }
    .block_cart_empty{
        background: url(../image/ico_cart_empty.jpg) no-repeat top center;
        padding: 80px 0 0 0px;
        width: auto;
        margin: 0px 0;
        background-size: 120px;
    }
    .block_cart_empty .cart_url a{
        font-size: 16px;
        margin-right: 5px;
    }
}

@media (max-width: 740px) {
    .phones {
        margin-left: 30px;
    }
    .box-category-advanced ul li{
        width: auto;
    }
}
@media (max-width: 760px) {
    .product-grid{
        overflow: inherit;
    }
    .product-grid .li_economia .image {
        margin: 0 auto;
    }
    .product-grid li{
        width: 46%;
    }
    .contacts-maps .contacts-maps__box{
        width: 100%;

    }
}
@media (max-width: 720px) {
    #column-left + #content {
        margin-left: 0;
        padding: 0 10px;
    }
    #content{
        width: auto;
        float: none;
        max-width: 100%;
    }
    .product-info .left {
        width: 100%;
    }
    .image-aditional__big {
        width: 100%;
        max-width: 450px;
        display: block;
        margin: 0 auto;
    }
    .image-additional {
        text-align: center;
    }
    .product-info .description {
        float: left;
    }
    .product-info .wrap_cart {
        display: table;
        margin: 0 auto;
        float: none;
    }
    .product-info .image img{
        max-width: 100%;
        display: block;
        margin: 0 auto;
    }
    .product-info .right{
        width: 100%;
    }
    
    #colorbox{
    box-sizing: border-box;
    width: 100%!important;
    height: 100%!important;
    }
    #cboxWrapper{
        box-sizing: border-box;
        width: 100%!important;
        height: 100%!important;
    }
    #cboxContent{
        box-sizing: border-box;
        width: 100%!important;
        height: 100%!important;
        min-height: 320px;
    }
    #cboxLoadedContent{
        width: 100%!important;
        height: 100%!important;
    }
    #cboxLoadedContent .cboxPhoto{
        width: 100%;
    }
}

@media (max-width: 700px) {
    .phones {
        margin-left: 0px;
    }
}

@media (max-width: 670px) {
    #header #logo{
        float: none;
        margin: 0 auto;
    }
    .phones{
        margin-left: 0;
        margin-right: 0;
        margin: auto;
        float: none;
        margin-bottom: 10px;
    }
    .ui-dialog{
        width: 90%!important;
    }
    #colorbox, #cboxOverlay, #cboxWrapper {
        overflow: initial!important;
    }
}


@media (max-width: 600px) {
    #nav_top{
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    #nav_top #our_city {
    float: none;
    margin-right: 0;
    border-bottom: 1px dashed #7a77af;
    order: 1;
    }
    #nav_top ul {
    list-style: none;
    margin: 0;
    padding: 0;
    order: 3;
    border-bottom: 1px dashed #7a77af;
    }
    #nav_top ul li{
        float: none;
        display: inline-block;
    }
    #welcome {
    float: none;
    order: 2;
    border-bottom: 1px dashed #7a77af;
    text-align: center;
    width: auto;
    }
    #welcome a{
        float: none;
        display: inline-block;
    }
    .box-category-advanced ul li {
        margin-right: 0;
        margin: 0 10px;
        margin-bottom: 10px;
    }
    .box-category-advanced ul li:last-child {
        margin-right: 10px;
    }
    .footer-block{
        width: 100%;
    }
    table.customer_info tr{
        width: 100%;
    }
    table.customer_info input{
        max-width: 100%;
    }
    table.customer_info .entry_error_box{
        width: 100%;
    }
}
@media (max-width: 560px) {
    .ui-dialog-content .buttons{
        margin: 20px 0px 20px 0;
        text-align: center;
    }
    .ui-dialog-content .buttons+a{
        font-size: 16px;
        margin: 4px 13px 4px 0!important;
        float: none!important;
        text-align: center;
        display: block;
    }
    .ui-dialog-content .buttons .buttons_checkout{
        background: none;
        float: none;
        margin: 4px 0 3px;
    }
    .ui-dialog-content .buttons_checkout .total{
        padding: 0 0px 0 25px;
        color: #000000;
    }
    .ui-dialog-content .buttons_checkout .button{
        background: #FF4500;
    }
    .wrap-footer__bottom div{
        text-align: center;
        padding: 0 10px;
    }
}
@media (max-width: 520px) {
    .block_cart_info tbody,.block_cart_info tr{
        display: block!important;
    }
    .block_cart_info table td{
        padding: 0;
    }
    .block_cart_info .image{
        display: block;
    }
    .block_cart_info .image img{
        width: 100%;
        max-width: 150px;
        display: block;
        margin: 0 auto;
    }
    .block_cart_info .name{
        display: inline-block;
        width: 100%;
    }
    .block_cart_info .control{
        display: inline-block;
        padding-right: 0!important;
    }
    .content__checkout .block_cart_info tbody, .block_cart_info tr{
        display: inherit!important;
    }
    .product-grid li .image{
        max-width: 230px;
    }
    .head_category .href_cat{
        font-size: 14px;
        padding: 10px 15px 5px 5px;
    }
}

@media (max-width: 480px) {
    #nav_top ul li + li, #nav_top ul a + a{
        margin-left: 0;
    }
}

@media (max-width: 430px) {
    .product-grid li{
        width: 95%;
    }
    .product-grid .name{
        margin-bottom: 0;
    }
    .product-grid .right .price{
        margin-top: 0;
        margin-bottom: 10px;
    }
    .product-grid .right .price,.product-grid .cart{
        float: none;
    }
    .block_related .item_related .image{
        float: none;
    }
    .block_related .item_related .name{
        float: none;
        width: 100%;
    }
}


@media (max-width: 400px) {
    .product-info .wrap_cart .cart .quant .style_input .input_for_style{
        width: 40px!important;
        box-sizing: content-box;
    }
    .phones {
        padding-left: 80px;
        width: 163px;
        margin: 0 auto;
        height: 100px;
    }
    .phones .timework{
        float: none;
    }
    .phones .phone1,
    .phones .phone2 {
        width: 165px;
    }
    .block_cart_info .name{
        display: inline-block;
        width: 225px;
    }
    .wrap_cart .cart{
        background: #FF4500;
    }
    .product-info .wrap_cart .cart .price #price_product{
        font-size: 16px;
    }
    .product-info .wrap_cart .cart .buttons #button-cart{
        font-size: 14px;
        padding: 2px 0 0 14px;
        width: 98px;
    }
    .product-info .wrap_cart .cart .quant input{
        width: 20px;
    }
}
