@media (max-width: 1279px) {

    #wrapper, footer, footer div.container, #special-block-wrapper {
        width: 100% !important;
        min-width: 320px !important;
    }

    #basket-wrapper, #generic-content, #products-block-container, .topMenu, #categories-container, #item-block-wrapper, #newsblock-container, #list-container, tr.product {
        width: 100% !important;
    }

    #slider1_container {
        width: 100% !important;
        min-width: 300px !important;
    }

    #slider_1_slides {
        width: 80% !important;
        min-width: 260px !important;
    }

    #id_query {
        width: 95% !important;
    }

    #filter-form-block {
        width: 80% !important;
    }

    .product-availability {
        width: 30% !important;
        min-width: inherit !important;
    }

    .product-image {
        padding: 2px;
    }

    .desc {
        width: 70% !important;
        word-wrap: break-word;
    }

    .product-ecom {
        width: 100% !important;
    }

    .topMenu li {
        min-width: 50px;
    }
    #searchform {
        width: 90%;
    }
    #sort-block {
        padding: 8px 0px !important;
    }
    #sort-container {
    width: 90%;
    }
}

@media (max-width: 767px) {
    footer {

    }
    html, body {
        /*overflow-x: hidden;*/
    }
    .left_menu, .main_content {
        width: 100% !important;
        min-width: 320px !important;
    }
    .left_menu {
        float: none !important;
    }
    .main_content {
        margin-left: 0px;
    }

    .topMenu li a:link, .topMenu li a:visited {
        padding: 5px 5px;
        font-size: 16px;
        line-height: 17px;
    }
    
    #catalog_show {
        display: block;
    }
    #catalog_hide {
        display: none;
    }
    #catalog_elements {
        display: none;
    }
    #header-menu {
        /*height: 70px;*/
    }

    #top-contacts img {
        transform: scale(0.3);
        right: 200px;
        top: 0px;
        position: absolute;
    }

    #top-contacts .header-phone {
        font-size: 16px;
        padding-right: 0px;
    }

    #top-contacts {
        max-width: 320px;
        text-align: right;
        min-width: 250px !important;
    }

    #callback-show {
        /*background: white;*/
    }

    #callback-container {
        margin-right: 10px;
    }

    #callback-wrapper {
        top: 30px;
        position: relative;
    }

    #basket-inc-top {
        top: 55px;
        right: 10px;
        max-width: 200px;
    }

    #basket-inc-top-wrapper {
        margin-right: 10px;
        width: 200px;
    }

    #in-basket-top {
        margin-bottom: 5px;
        background: white;
    }

    #title {
        top: 25px;
        left: 5px;
        position: relative;
        width: 150px;
    }
    #title img {
        height: 100px;
    }
    
    .my_v_setjah {
        float: right;
        position: relative;
        right: -10px;
        top: -40px;
        width: 100px;
        
        padding: 0;
        z-index: 1000;
        font-size: 20px;
    }

    header {
        height: 170px !important;
    }

    .category-list-image img, .product-image img {
        transform: scale(0.5);
    }

    .category-list-image {
        width: 65px;
    }

    .product-availability {
        display: inline-block;
        width: 20% !important;
        max-width: 20% !important;
    }

    .product-image {
        display: inline-block;
    }

    .product-image img {
        max-width: 90px;
        max-height: 90px;
    }

    .product-availability div {
        width: 80px;
    }

    #newsblock {
        margin-right: 0px;
        width: 100%;
    }

    .slider2_container {
        width: 300px;
    }

    .desc {
        width: 100% !important;
        word-wrap: break-word;
    }

    .product-availability table td {
        word-wrap: break-word;
    }

    .ecom-price {
        font-size: 20px;
    }

    .basket-add {
        margin-right: 5px;
    }

    .button {
        height: 25px;
        width: 75px;
        font-size: 14px;
    }

    .cat-href {
        font-size: 14px;
        line-height: 14px;
    }

    .sub-href {
        font-size: 12px;
        line-height: 12px;
    }

    .block-item {
        float: left;
        padding: 0px;
        margin: 0px;
        margin-bottom: 10px;
        width: 100%;
    }

    #list-container table {
        border-spacing: 0px 25px;
    }

    .news-item {
        max-width: 250px !important;
    }



    .product-discount {
        display: none;
    }

    #item-image {
        max-width: 300px !important;
    }

    #item-params-block {
        margin-left: 10px;
        width: 300px;
        font-size: 16pt;
    }

    #brand-block {
        float: left;
        width: 250px;
        font-size: 12pt;
        margin-left: 20px;
    }

    #item-desc {
        overflow: hidden;
    }

    h1 {
        word-wrap: break-word;
    }

    #id_query {
        width: 90% !important;
    }
    #searchform .query_block {
        width: 60% !important;
    }
    #order-form table {
        width: 100%;
        font-size: 12pt;
        word-wrap: break-word;
    }
    #basket-submit {
        width: 100%;
    }
    #total-price {
        text-align: left;
    }
    #order-form input[type="text"], #order-form input[type="email"], #order-form textarea {
        width: 70%;
    }

    #oi-table {
        width: 100%;
    }
    div.oi-price span {
        font-size: 20pt;
    }
    .css-label {
        font-size: 12pt !important;
    }
    div#copyright div {
        padding: 5px;
    }

    #item-ecom {
        text-align: right;
        float: none;
        width: 100%;
    }
    #item-ecom-installation {
        text-align: right;
        float: none;
        width: 100%;
        font-size: 13px;
    }
    .basket-add-installation {
        width: 120px;
    }
    .installation-block {
        margin-top: 7px;
        height: 25px;
    }
    .header-search {
        position: relative;
        float: right;
        right: 20px;
        top: -10px;
    }
}

@media (min-width: 768px) and (max-width: 1279px) {

    .topMenu li a:link, .topMenu li a:visited {
        padding: 0.8em 0.3em;
    }
