@media (max-width: 1199px) {
    #content {
        width: 100%;
        padding-left: 40px;
        padding-right: 40px;
    }
    #column-left {
        width: 320px;
        top: 55px;
        left: -320px;
        position: fixed;
        z-index: 1000;
        background-color: transparent;
        padding-left: 0;

        transition: left ease .5s;
    }

    #column-left > .list-group {
        max-height: calc(100vh - 55px);
    }
    #column-left.shown {
        left: 0;
    }


    header {
        padding-top: 65px;
    }

    .header_phone {
        font-size: 15px;
    }
    .lead_phone {
        font-size: 13px;
    }
    #search {
        margin-top: 15px;
    }

    .wish_list_card_row {
        margin-top: 12px;
    }

    .main_nav_wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
    }

    #column-left > .list-group {
        background-color: #fff;
    }

    #social_widgets {
        display: none;
    }

    #content_main {
        padding-top: 55px;
    }

    #top_menu li a {
        font-size: 14px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .top_bar {
        padding-left: 0;
    }
}

@media (max-width: 1000px) {
    .mobile_cart_model {
        display: inherit;
    }
    /* чтобы на карточке работали кнопка в корзину/избранное */
    #product {/*z-index: 11111111111111;*/}
}

@media (max-width: 991px) {
    .footer_row {
        padding-left: 0;
        padding-right: 0;
    }
    .footer_contacts {
        text-align: center;
    }
    .footer_pay {
        text-align: center;
    }
    .footer_promo_item {
        padding-left: 0;
        text-align: center;
    }
    .footer_promo_item img {
        position: relative;
        display: block;
        margin: auto;
        margin-bottom: 10px;
    }

    .common-home .row .news_item:nth-child(3) {
        display: none;
    }

    .count_price_block .price_block {
        padding-left: 0px;
        margin-top: 5px;
    }
    .prod00.prod_count_group {
    margin: 10px 56px;
    }
    .prod00.price_old,.count_price_block h2 {
    margin-top: 0px;
    }
    .buttons {
        margin-top: 15px;
    }
    
    .top_menu_wrapper {
        background-color: #c9b092;
        margin-left: 0;
        box-shadow: 3px 3px 10px #8c8c8c;
        min-height: auto;
        position: absolute;
        left: 0;
        top: 55px;
        display: none;
    }

    .top_menu_wrapper.shown {
        height: auto;
    }


    #top_menu li a {
        color: #1b2c33;
        height: auto;
    }
    #top_menu li{
        display:block;
        float:left;
        width:49%;
        text-align: center;
        height: auto;
    }
    #top_menu {
        margin:0;
        padding: 15px 0;
        list-style-type:none;
        height: auto;
    }
    #top_menu:after {
        content: '';
        display: block;
        clear: both;
    }

    #top_menu li a:hover, #top_menu li a:active, #top_menu li a:focus {
        color: #fff;
        border-bottom: 0;
    }

    .wish_list_card_row {
        margin-right: 0;
    }
    #logo img {
        max-width: 95px;
    }

    .cart_param_discount .cart_param_img {
        left: -42px;
    }


}

@media (max-width: 900px) {
.prod_main_img {
    width: 375px;
}
.prod00.prod_count_group {
    margin: 10px 40px;
}
}

@media (max-width: 767px) {

    /* фото и текст по центру у подкатегорий в 2 колонки */
    .cat_search_list {
    padding-left: 0;
    text-align: center;
}

 /* чтобы не съезжали подкатегориии в 2 колонках */
.name {
    height: 40px;
}

.cat_search_list .image {
    height: 100px;
}
    
    .top_bar .main_menu_bars {
    right: -4px;
}

    .mobile_cart_model {
        display: none;
    }
    .show_768_inline {
        display: inline;
    }
    .text-center-xs {
        text-align: center;
    }
    .product-layout {
        width: 50%;
    }

    .product-layout.news_item, .product-layout.blog_item {
        width: 100%;
    }
    #product {
        margin-top: 20px;
    }
    .scroll_to_review_form {
        margin-top: 10px;
        margin-bottom: 10px;
        width: 100%;
    }

    .review_btn .pull-right {
        float: none !important;
    }
    h1, h2, h3 {
        font-size: 20px;
    }
    h3 {
        margin-bottom: 10px;
    }

    .cart_param_discount .cart_param_img {
        position: relative;
        margin-bottom: 10px;
    }
    .cart_param_discount .cart_param_img {
        left: 0;
        top: auto;
    }
    .min_left > div {
        margin-left: 0;
    }

    .product_table, .order_list_tbl, .table_responsive {
        width: auto;
        display: block;
    }

    .product_table tr, .order_list_tbl tr, .table_responsive tr {
        display: block !important;
        margin-bottom: 15px;
        background-color: #f5f5f5;
        box-shadow: 3px 3px 10px #a3a3a3;
    }
    .product_table thead, .order_list_tbl thead, .table_responsive thead {
        display: none;
    }

    .product_table tbody, .order_list_tbl tbody, .table_responsive tbody {
        display: block;
        padding: 10px;

    }

    .product_table.simplecheckout-cart .quantity {
        display: block !important;
    }

    .product_table.simplecheckout-cart td.price {
        display: none !important;
    }
    .product_table.simplecheckout-cart td.total {
        display: block !important;
        text-align: center;
    }

    .product_table.simplecheckout-cart td.name div.image {
        display: none !important;
    }

    .product_table td, .order_list_tbl td, .table_responsive td {
        display: block !important;
        width: 100% !important;
        white-space: normal !important;
    }

    .product_table td.quantity button[data-onclick*="Quantity"] {
        display: block;
    }
    .simplecheckout-button-right, #simplecheckout_button_confirm {
        width: 100%;
    }

    #simplecheckout_customer .checkout-heading-button {
        float: none !important;
        text-align: center;
        display: block !important;
        padding-left: 0 !important;
    }

    .simple-content .checkout-heading {
        width: 100%;
        text-align: center;
    }

    .checkout-heading span {
        float: none !important;
    }

    .order_list_tbl_wrapper {
        border: none;
    }

    .responsive_mobile_show {
        display: inherit;
    }

    .table_responsive_center td {
        text-align: center !important;
    }

    .no_border_mobile {
        border: none;
    }

    .table_responsive_center .product_table .cart_prod_cnt {
        position: relative;
        display: block;
        margin: auto;
    }

}

@media (max-width: 639px) {
    .act_test img {
        height: auto;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    .act_test {
        text-align: center;
    }

    .buttons .pull-left, .buttons .pull-right {
        float: none !important;
        margin-right: 0;
    }

    .buttons .pull-left a, .buttons .pull-right a, .buttons .btn {
        width: 100%;
        margin-top: 15px;
    }
}

@media (max-width: 499px) {

.image .prod_dop_btn.compare {
    top: 2px;
    right: 5px;
}

.image .prod_dop_btn.wish {
    top: 30px;
    right: 5px;
}

i.fa.fa-heart-o {
    font-size: 24px;
}

i.fa.fa-list-ul {
    font-size: 24px;
}
    
    
.user2,.caret,.header_login .dropdown-menu {display:none; } 
#search {
    margin-top: 0px;
    position: absolute;
    top: -56px;
    left: 155px;
    width: 140px;
    z-index: 11111;
}

.header_login {
    margin-top: 4px;
    position: absolute;
    top: 10px;
    right: 80px;
    color: #f69805;
}

.header_login, .header_login a {
    color: #f69805;
    z-index: 111;
}

.header_login a.user1 {
    position: absolute;
    top: 30px;
    right: -10px;
    width: 40px;
}

i.fa.fa-user {
    font-size: 28px;
}

    .product-layout {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        float: none;
        margin-bottom: 30px;
        text-align: center;
        width: auto;
    }
    .product-thumb .image img {
        margin-left: auto;
        max-width: 288px;
        width: 100%;
    }
    .product-thumb .image img.hit {
        width: auto;
        max-width: 160px;
    }
    .prod_main_img {
    width: 100%;
    }
    .footer_promo_item {
        display: none;
    }
    .footer_contacts > div {
        width: 100%;
        margin-top: 30px;
    }
    .product-layout.news_item, .product-layout.blog_item {
        width: 100%;
        max-width: none;
        text-align: left;
    }
    .master_item {
        width: 100%;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .lk_el_item {
        width: 33.3332%; 
    }
    .no_visible_500 {
        visibility: hidden;
    }
    .display_500 {
        display: inherit !important;
    }
    .header_total_sum {
        display: none;
    }
    #cart {
        margin-top: 2px;
    }
    .full_500 {
        width: 100%;
    }
    #product {
        margin-bottom: 15px;
    }
    #simplepage_form .simpleregister-button-right {
        width: 100%;
    }
}

@media (max-width: 399px) {
    .news_item .product-thumb .col-xs-3 {
        display: none;
    }
    .news_item .product-thumb .col-xs-9 {
        width: 100%;
    }
    .product-layout.news_item {
        margin-bottom: 0;
    }
    .lk_el_item {
        width: 50%;
    }
    .brand_container > div {
        width: 50%;
    }
}
