@media only screen and (max-width:1229px) {
    .lang_ru h1, .lang_ru .column .block h4, .lang_ru .center_column .block h4, .lang_ru #layered_block_left h3, .lang_de h1, .lang_de .column .block h4, .lang_de .center_column .block h4, .lang_de #layered_block_left h3 {
        font-size: 17px
    }
}

@media only screen and (min-width:992px) and (max-width:1229px) {
    .products_block ul li > div {
        width: 98px
    }
}

@media only screen and (min-width:768px) {
    footer .block ul.toggle_content {
        display: block !important;
        height: 100% !important;
        opacity: 1 !important
    }

    .lang_ru .main_page_products .sale-box span.on_sale, .lang_ru .main_page_products .new-box span.new, .lang_ru #product_list .sale-box span.on_sale, .lang_ru #product_list .new-box span.new {
        font-style: normal;
        font-size: 13px;
        font-weight: 600
    }
}

@media only screen and (min-width:992px) {
    .main_page_products li.first_item_of_line {
        clear: left
    }
}

@media only screen and (min-width:1230px) {
    .container {
        padding-left: 0;
        padding-right: 0
    }
}

@media only screen and (max-width:991px) {
    #currencies_block_top p.inner-carrencies > span, #languages_block_top p > span {
        display: none
    }

    #languages_block_top p > strong {
        display: inline-block;
        font-weight: 400
    }

    #search_block_top {
        right: 0;
        width: 100%
    }

        #search_block_top input.search_query {
            width: 100%;
            float: none;
            padding-right: 100px
        }

        #search_block_top a {
            position: absolute;
            right: 0;
            top: 0;
            float: none
        }

    #header #cart_block {
        top: 164px
    }

    #your_account, #header_user {
        top: 66px
    }

    #footer section.block > div {
        padding-left: 10px
    }

    #htmlcontent_top {
        display: none
    }
}

@media only screen and (min-width:768px) and (max-width:991px) {
    li.htmlcontent-item img.item-img {
        height: 175.5px;
    } .nivo-main-image {
        /*height: 360px !important;*/
    }
    #header #header_logo {
        top: 8px
    }

    .blockcontactinfos li {
        font-size: 14px;
        line-height: 18px
    }

    footer .block a {
        font-size: 14px
    }

    footer .block .list-footer li {
        padding-bottom: 4px
    }

    .main_page_products li div.product_image img {
        width: 100%
    }

    .main_page_products li.first_item_of_tablet_line {
        clear: left
    }

    #product_comparison .product_image_div a img {
        width: 70px
    }

    #product_comparison .product_image_div span {
        width: 30px
    }

    #product_comparison th {
        white-space: normal;
        padding: 5px;
        text-align: center
    }

    .products_block ul li > div {
        width: auto
    }

    .products_block ul li a.products_block_img {
        width: auto;
        float: none;
        margin: 0 0 10px
    }

        .products_block ul li a.products_block_img img {
            width: 100%
        }

    .products_block ul li .reduction {
        margin-left: 0;
        margin-right: 0
    }

    table#cart_summary td.tdfirst {
        width: 83%
    }

    .multishipping-cart .cart_ref {
        padding: 5px !important
    }

    table.multishipping-cart td {
        padding: 5px !important
    }

    .addresses #id_address_delivery {
        width: 100%
    }

    #cart_summary.multishipping-cart #cart_quantity_button a {
        clear: both
    }

    table#cart_summary.multishipping-cart .cart_quantity .cart_quantity_input {
        clear: both;
        border-top: none;
        border-bottom: none;
        border-right: 1px solid #ccc;
        border-left: 1px solid #ccc;
        width: 45px
    }

    table#cart_summary.multishipping-cart #cart_quantity_button {
        float: none !important;
        margin: 0 auto;
        width: 45px
    }
}

@media only screen and (max-width:767px) {
    li.htmlcontent-item img.item-img {
        height:auto;
    } #header_links {
        display: none
    }

    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%
    }

    #header #header_logo img {
        height: auto;
        width: 183px
    }

    #search_block_top #search_query_top {
        padding-right: 75px;
        float: none
    }

    #search_block_top a {
        position: absolute;
        top: 0;
        right: 0;
        float: none;
        margin: 0
    }

    #your_account {
        top: 60px;
        right: 0;
        /*background: url(../img/border-title.png) repeat-x 0 bottom #000*/
    }

        #your_account span {
            display: none
        }

    #header {
        padding: 0 10px
    }

        #header #header_logo {
            top: 70px
        }

            #header #header_logo img {
                width: 241px;
                height: auto
            }

        #header #header_user a {
            width: 210px
        }

        #header #header_user #shopping_cart .shopping_cart_title {
            display: inline-block;
            border: none;
            margin: 0;
            padding: 0
        }

    #htmlcontent_home li {
        width: 50%
    }

        #htmlcontent_home li img {
            width: 100%
        }

    footer .block h4 {
        background: 0 0
    }

    .bottom_footer .container {
        padding: 10px
    }

    .main_page_products li .price {
        position: relative
    }

    #languages_block_top, #currencies_block_top {
        top: 0;
        text-align: center;
        width: 25%
    }

        #languages_block_top p, #currencies_block_top p {
            line-height: 44px;
            height: 44px;
            background: url(../img/border-menu.png) no-repeat right 50%
        }

            #languages_block_top p .arrow_header_top, #currencies_block_top p .arrow_header_top {
                margin: 0 0 4px 5px
            }

    #countries_2 .countries_ul, #setCurrency .currencies_ul {
        left: -1px;
        top: 44px;
        width: 140px;
        text-align: left
    }

    #languages_block_top {
        right: 50%
    }

        #languages_block_top p span.lang {
            display: none
        }

    #currencies_block_top {
        right: 25%
    }

    .main-mobile-menu {
        display: block;
        margin: 0
    }

    #currencies_block_top p.active, #currencies_block_top p:hover, #languages_block_top p.active, #languages_block_top p:hover, .mobile-link-top h4.active i, .mobile-link-top h4:hover i {
        color: #fda203
    }

    .blockpermanentlinks-header {
        position: absolute;
        right: 75%;
        top: 0;
        width: 25%
    }

    .mobile-link-top {
        display: block
    }

        .mobile-link-top h4 {
            margin: 0;
            background: url(../img/border-menu.png) no-repeat right 50%;
            height: 44px
        }

            .mobile-link-top h4 i {
                line-height: 44px
            }

            .mobile-link-top h4 .arrow_header_top_menu.arrow_header_top {
                display: block;
                position: static;
                margin: 0 auto;
                font-size: 25px;
                text-align: center
            }

    body#index a.header_links_home, #sitemap a.header_links_sitemap, #contact a.header_links_contact, #cms a.header_links_delivery, #stores a.header_links_store {
        color: #fda203
    }

    #mobilelink {
        display: none;
        list-style: none;
        width: 140px;
        position: absolute;
        top: 44px;
        left: 0;
        z-index: 101
    }

        #mobilelink a {
            text-transform: capitalize
        }

    .alert_cart {
        background: #000;
        width: 310px;
        position: fixed;
        left: 50%;
        top: 0;
        margin-left: -155px;
        z-index: 9998
    }

        .alert_cart a {
            display: block;
            padding: 21px 40px 22px 50px;
            height: 85px;
            font-size: 12px;
            color: #fff;
            font-weight: 700;
            position: relative;
            z-index: 9997
        }

            .alert_cart a:hover {
                color: #a9a9a9
            }

        .alert_cart span {
            background: url(../img/delete_top.png) center 10px no-repeat;
            width: 35px;
            height: 35px;
            position: absolute;
            right: 5px;
            top: 23px;
            cursor: pointer;
            z-index: 9999
        }

            .alert_cart span:hover {
                background-position: center -50px
            }

    .blockuserinfo {
        position: absolute;
        top: 0;
        right: 0;
        text-align: center;
        width: 25%;
        height: 40px
    }

        .blockuserinfo a {
            display: block;
            line-height: 40px;
            background: 0 0;
            border: none
        }

            .blockuserinfo a:hover {
                background: 0 0;
                border: none
            }

            .blockuserinfo a span i {
                color: #777;
                line-height: 40px
            }

            .blockuserinfo a:hover span i {
                color: #fda203
            }

    .main_page_products li .product_image {
        float: left;
        text-align: left;
        margin-right: 20px;
        margin-bottom: 10px;
        width: 100%
    }

        .main_page_products li .product_image a {
            display: block
        }

    .main_page_products li .product_content {
        overflow: hidden
    }

    #footer .modules {
        padding: 0 15px 15px
    }

    #footer section.block {
        width: 100%;
        padding: 0;
        border: none
    }

    #footer .block h4 {
        padding: 11px 0 10px;
        margin: 0;
        position: relative
    }

        #footer .block h4:hover {
            cursor: pointer
        }

        #footer .block h4 i {
            display: inline-block;
            position: absolute;
            right: 0;
            top: 12px
        }

    #footer .modules .block ul {
        display: none;
        padding: 8px 0 0
    }

    #footer .block .list-footer li {
        padding: 0 0 6px
    }

        #footer .block .list-footer li:last-child {
            padding-bottom: 0
        }

        #footer .block .list-footer li a {
            padding-right: 10px
        }

    .border_sep {
        border-right: none;
        border-bottom: 1px solid #ccc;
        margin-bottom: 15px;
        padding-bottom: 15px
    }

    .mnf_sup_list li .right_side p {
        float: left;
        margin: 8px 15px 0 0
    }

    div#stores_block p.text input {
        width: 286px;
        height: 35px;
        line-height: 35px;
        padding: 1px 1px 1px 10px
    }

    .column .block h4 .column_icon_toggle {
        display: block;
        float: right;
        padding: 0;
        margin: 2px 0 0 0
    }

    .column .block h4 {
        margin-bottom: 15px
    }

        .column .block h4:hover {
            cursor: pointer
        }

    #right_column.column .toggle_content, #left_column.column .toggle_content {
        margin-bottom: 15px
    }

    .products_block ul li a.products_block_img {
        width: 60px
    }

    #itempage {
        float: none;
        margin: 20px 0 0
    }

    .row_category .category_image {
        width: 50%
    }

    #productsSortForm {
        margin-bottom: 10px
    }

    #product_comments_block_extra .comments_advices a.read_rew {
        margin-bottom: 10px;
        border: none;
        padding-right: 0;
        margin-right: 0
    }

    p.cart_navigation .exclusive, p.cart_navigation .exclusive_large {
        float: right;
        margin-bottom: 0;
        padding-left: 9px;
        padding-right: 9px
    }

    #order_steps {
        width: 280px;
        overflow: hidden;
        margin: 20px auto;
        list-style: none;
        height: 200px !important
    }

        #order_steps li.even:first-child {
            background: #9c9c9c
        }

        #order_steps li.even.step_current:first-child {
            background: #202020
        }

        #order_steps li.even {
            background: url(../img/marker-order2.png) center 0 no-repeat #9c9c9c
        }

        #order_steps li.odd {
            background: url(../img/marker-order2.png) center 0 no-repeat #777
        }

        #order_steps li {
            float: none;
            width: 280px;
            height: 40px;
            text-align: center
        }

            #order_steps li a, #order_steps li span {
                display: inline-block;
                padding: 6px 0 0 5px;
                font: 700 14px arial
            }

            #order_steps li span {
                color: #fff;
                font-weight: 700
            }

                #order_steps li span span {
                    float: none;
                    color: #fff;
                    font-weight: 700;
                    font-size: 14px;
                    line-height: 14px;
                    text-align: center
                }

            #order_steps li.even.step_current {
                background: #202020
            }

            #order_steps li.odd.step_current {
                background: #202020
            }

            #order_steps li a {
                font-weight: 700;
                color: #ccc;
                text-decoration: none;
                padding: 0
            }

                #order_steps li a:hover {
                    color: #fff
                }

    #availableCarriers_table th {
        font-size: 12px;
        word-wrap: break-word;
        white-space: normal
    }

    table#cart_summary td.cart_product {
        padding-right: 20px;
        width: 100px
    }

    #order-detail-content #cart_summary td.cart .div_cart_quantity_delete a {
        margin-left: 9px
    }

    #order-detail-content .title-th.cart_quantity_title {
        display: none
    }

    #compare_shipping_form #compare_shipping .SE_SubmitRefreshCard input {
        margin-right: 10px;
        margin-bottom: 10px
    }

    #order-detail-content table td strong {
        margin-right: 7px
    }

    #order-detail-content table#cart_summary td {
        display: table-cell;
        border-bottom: 0;
        font-size: 12px
    }

    #order-detail-content table#cart_summary input.cart_quantity_input {
        width: 35px
    }

    #order-detail-content table#cart_summary td.cart_product {
        padding-right: 10px
    }

    #order-detail-content #cart_summary.multishipping-cart td.cart_quantity {
        width: 100%
    }

    table#cart_summary.multishipping-cart .cart_quantity .cart_quantity_input {
        border: 1px solid #ccc;
        width: 45px
    }

    #order-detail-content table.multishipping-cart td strong {
        display: block;
        float: none;
        font-weight: 700;
        color: #333;
        margin-right: 7px;
        clear: both;
        color: #333;
        font-weight: 700;
        margin-right: 7px;
        padding-bottom: 7px;
        width: 100%
    }

    #order-detail-content table.multishipping-cart td {
        display: block !important;
        border-bottom: 0 !important
    }

    #order-detail-content table.multishipping-cart thead {
        display: none
    }

    .multishipping-cart .cart_quantity {
        width: auto;
        overflow: hidden
    }

    #order-detail-content table.multishipping-cart td select option {
        padding: 5px
    }

    .order_delivery {
        padding-top: 7px
    }

    #module-cheque-payment #columns p.cart_navigation a, #module-bankwire-payment #columns p.cart_navigation a {
        display: block;
        float: none;
        text-align: center
    }

    #module-cheque-payment #columns p.cart_navigation input, #module-bankwire-payment #columns p.cart_navigation input {
        float: none;
        width: 100%;
        text-align: center
    }

    #module-bankwire-payment #columns p.cart_navigation input {
        margin-bottom: 20px
    }

    #module-referralprogram-program #idTab3 table th {
        font-size: 11px
    }

    #module-referralprogram-program #idTab3 table th, #module-referralprogram-program #idTab3 table td {
        padding-left: 2px;
        word-wrap: break-word;
        padding-right: 2px
    }

    #module-referralprogram-program #idTab3, #module-referralprogram-program #idTab1, #module-referralprogram-program #idTab2 {
        overflow: auto
    }

    #footer section.block > div {
        border: none;
        padding-left: 0
    }
}

@media only screen and (min-width:480px) and (max-width:767px) {
    #mobilelink {
        width: 178px
    }

    #countries_2 .countries_ul, #setCurrency .currencies_ul {
        width: 179px
    }

    .alert_cart {
        width: 420px;
        left: 50%;
        margin-left: -210px
    }

    .products_block ul li > div {
        width: 348px
    }

    p.cart_navigation .exclusive, p.cart_navigation .exclusive_large {
        float: right;
        margin-bottom: 0;
        margin-right: 0
    }

    table#cart_summary td.cart_product {
        width: 146px
    }

    table#cart_summary .min-with-td {
        display: inline-block;
        font-weight: 400;
        min-width: 100px
    }

    table#cart_summary td.tdfirst {
        width: 77%
    }
}

@media only screen and (max-width:545px) {
    #header_user #shopping_cart a {
        width: 50px;
        height: 50px;
        padding: 0;
        font-style: normal;
        text-align: center;
        background: url(../img/icon-cart.png) no-repeat 5px 5px #000
    }

        #header_user #shopping_cart a span, #header_user #shopping_cart a i {
            display: none !important
        }

    #your_account a {
        width: auto;
        padding: 17px 3px
    }
}

@media only screen and (max-width:480px) {

    #header #header_logo {
        top: 10px
    }

        #header #header_logo img {
            width: 170px;
            max-height: 100px;
        }

    .main_page_products li .product_image {
        float: left;
        margin-right: 20px;
        width: 100%
    }

        .main_page_products li .product_image a {
            display: block
        }

    .main_page_products li .product_content {
        overflow: visible
    }

    .main_page_products li .button {
        float: left
    }

    .main_page_products li .exclusive {
        float: left;
        clear: left
    }

    #history #block-history .footable-cell-detail .btn {
        margin-bottom: 10px
    }

    .btn {
        white-space: normal
    }

    #instant_search_results .title_shop_block {
        width: 100%;
        text-align: left;
        float: none;
        display: block;
        margin-top: 5px
    }

        #instant_search_results .title_shop_block a {
            font-size: 11px
        }

    #order-detail-content table#cart_summary td.cart_product a img {
        width: 120px
    }
}

@media only screen and (max-width:400px) {
    .nivo-main-image {
        height: auto !important;
    }
    #htmlcontent_home li {
        float: none;
        width: 100%
    }

        #htmlcontent_home li img {
            width: 100%
        }
}
