@media all and (min-width: 240px) and (max-width: 768px) {

    .flyout-cart,
    .header-shopping-bag,
    .product-selectors .product-pager-and-size,
    .product-selectors .product-sorting-and-view-options .product-viewmode {
        display: none;
    }


    /* MOBILE BANNERS REORGANIZED FROM BOTH LEFT AND RIGHT SIDES */
    .mobile-banners {
        text-align: center;
        font-size: 0;
	display: none; 
    }
    .mobile-banners .slider-wrapper {
        display: inline-block;
        margin: 5px;
        vertical-align: middle;
    }
    .mobile-banners .slider-wrapper .nivo-main-image {
        width: auto !important;
    }

/* TOP NAVIGATION GLOBAL */

    .mobile-navigation-bar {
        background: #E3E3E3 url('../images/nav_bg_org.png') repeat-x;
        height: 47px;
        width: 100%;
        position: fixed;
        z-index: 1000001;
        top: 0;
        left: 0;
        border-bottom: 1px solid #D3D3D3;
    }

    .menu-title span,
    .top-bar-title strong,
    .header-links-title strong,
    .responsive-cart .cart-link {
        display: block;
        overflow: hidden;
        width: 53px;
        height: 46px;
        border-right: 1px solid #D3D3D3;
        text-indent: -9999px;
        cursor: pointer;
    }
    .top-bar-content,
    .header-links {
        position: absolute;
        top: 47px;
        display: none;
        padding: 10px;
        border: 1px solid #D3D3D3;
        border-radius: 0 5px 5px 5px;
        background: #E3E3E3 url('../images/search_bg_org.png') repeat-x;
        -webkit-background-size: 100% 100%;
        -moz-background-size: 100% 100%;
        background-size: 100% 100%;
        box-shadow: 1px 0 3px rgba(0, 0, 0, 0.1);
        text-align: center;
        max-width: 480px;
    }

/* HEADER MENU */

    /* off canvas */

    .master-wrapper-page {
        -webkit-transition: all .4s ease-in-out;
        -moz-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;
        -webkit-transform: translate3d(0,0,0);
        -moz-transform: translate3d(0,0,0);
        -ms-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }
        .master-wrapper-page.menuOpen {
            -webkit-transform: translate(267px);
            -ms-transform: translate(267px);
            transform: translate(267px);
        }
        .master-wrapper-page.filtersOpen {
            -webkit-transform: translate(-267px);
            -ms-transform: translate(-267px);
            transform: translate(-267px);
        }
    .menu-title,
    .top-bar,
    .header-links-wrapper,
    .responsive-cart {
        float: left;
        -webkit-transition: all .4s ease-in-out;
        -moz-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;
    }
        .moveLeft{
            -webkit-transform: translate3d(267px,0,0);
            -moz-transform: translate3d(267px,0,0);
            -ms-transform: translate3d(267px,0,0);
            transform: translate3d(267px,0,0);
        }
        .moveRight {
            -webkit-transform: translate3d(-267px,0,0);
            -moz-transform: translate3d(-267px,0,0);
            -ms-transform: translate3d(-267px,0,0);
            transform: translate3d(-267px,0,0);
        }

    .overlayOffCanvas {
        position: fixed;
        top: 0;
        right:0;
        left:0;
        bottom:0;
        z-index: 1000000;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        display: none;
    }
    /* end off canvas */

    .header-menu {
        position: fixed;
        z-index: 10000001;
        top: 0;
        background: #d3d3d3;
        width: 267px;  
        overflow-y: auto;
        -webkit-transition: all .4s ease-in-out;
        -moz-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;
        -webkit-transform: translate3d(-267px,0,0);
        -moz-transform: translate3d(-267px,0,0);
        -ms-transform: translate3d(-267px,0,0);
        transform: translate3d(-267px,0,0);
    }
        .header-menu.showMenu {
            -webkit-transform: translate3d(0,0,0);
            -moz-transform: translate3d(0,0,0);
            -ms-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0);
        }
    
    .mega-menu {
        display: none;
    }
    .menu-title {
    }
    .menu-title span {
        background: url(../images/responsive-menu-icon.png) no-repeat center;
    }
    .header-menu > ul {
        border: 1px solid #D3D3D3;
        border-top: 0;
        background: #d3d3d3;
    }
    .header-menu li {
        border-top: 1px solid #D3D3D3;
        position: relative;
    }
    .header-menu li:first-child {
        border-top: 0;
    }
    .header-menu li > a,
    .header-menu li > span {
        display: block;
        padding: 14px 20px;
        background: #E3E3E3 url('../images/nav_bg_org.png') repeat-x;
        color: #333;
        text-transform: capitalize;
        text-shadow: 1px 1px 0 #FFF;
        font-weight: bold;
        font-size: 17px;
        line-height: 18px;
        position: relative;
    }

    .header-menu .plus-button {
	    position: absolute;
	    top: 0;
	    right: 0;
	    border-left: 1px solid #d3d3d3;
	    width: 52px;
	    height: 46px;
	    background: url('../images/responsive-plus.png') no-repeat center;
	    cursor: pointer;
    }
        .header-menu .plus-button.close {
	        background: url('../images/responsive-minus.png') no-repeat center;
        }

    .header-menu .sublist,
    .dropdown {
        display: none;
    }
        .header-menu .sublist.active {
            display: block;
        }





/* TOP BAR */

    .top-bar {
    }
    .top-bar-title strong {
        background: url(../images/responsive-nav-bar.png) no-repeat center;
    }
    .top-bar-content {
        left: 0;
    }

    .currency-selector, .language-selector, .tax-display-type-selector {
        display: inline-block;
        margin: 0 5px 10px;
        vertical-align: middle;
    }
    .language-selector > span,
    .currency-selector > span {
        display: none;
    }

    .searchbox {
        padding-top: 10px;
        border-top: 1px dotted #d5d5d5;
    }

/* HEADER LINKS */

    .header-links-wrapper {
    }
    .header-links-title strong {
        background: url(../images/responsive-account-menu.png) no-repeat center;
    }
    .header-links {
        left: 0;
    }
        .header-links ul {
            font-size: 0; 
        }
        .header-links li {
            display: inline-block;
        }
        .header-links span, 
        .header-links a {
            display: inline-block; 
            color: #000; 
            font-size: 12px; 
            line-height: 32px; 
        }
        .header-links a {
            padding: 0 10px;
        }
        .header-links a.account {
            color: #7A9B06;
        }
    #topcartlink {
        display: none;
    }
    .responsive-cart {
        /*background: #E3E3E3 url('../images/nav_bg_org.png') repeat-x;*/
    }
    .responsive-cart .cart-link {
        background: url(../images/responsive-cart-icon.png) no-repeat center;
    }

/* BLOCKS */



    .block {
	    margin: 0 0 10px;
	    border: 1px solid #d6d6d6;
	    border-radius: 5px;
	    line-height: 14px;
    }
    .block .title {
	    border-radius: 5px;
	    background: #e3e3e3 url('../images/block_topbg_org.png') repeat-x;
	    text-shadow: 1px 1px 0 #FFFFFF;
	    font: bold 13px/1.5 Arial, Helvetica, sans-serif;
    }
    .block .title strong {
        padding: 10px;
        display: block;
        cursor: pointer;
    }
    .block .listbox {
    }
    .block .listbox ul {
        padding: 2% 2% 0;
	    color: #555555;
    }
    .listbox li {
        background: #f6f6f6;
        border-radius: 5px;   
	width: 100%;
    }
        .list > li.active {
            width: 98%;
        }
    .block li.separator {
        display: none;
    }
    .listbox li a {
        display: block;
        padding: 9px;
    }
    .block .sublist {
	    padding: 3% 1.5% 1% !important;
	    border-radius: 0 0 5px 5px;
	    background-color: #eee;
    }
    .block .sublist li {
        border: 1px solid transparent; 
    }
        .block .sublist li.active {
            border: 1px solid #ddd;
        }
    .block-poll .poll {
        padding: 10px;
    }
    .block-poll .poll > strong {
	    display: block;
	    margin-bottom: 10px;
    }
    .block-poll .listbox .poll-options {
        font-size: 0;
        padding: 0;
    }
    .block-poll .listbox li {
	    overflow: hidden;
        background: none;
        font-size: 0;
        margin: 0 2% 0 0;
    }
    .answer > * {
        display: inline-block;
        vertical-align: middle;
        line-height: 32px;
    }
    .block-poll .answer label {
	    margin-left: 5px;
        font-size: 13px;
    }
    .block-poll .buttons {
        text-align: right;
    }
    .block-newsletter .listbox {

    }
    .block-newsletter .newsletter-subscribe-block {
        padding: 10px;
    }
    .block-newsletter .buttons {
	    float: right;
    }
    .block .listbox .newsletter-email {
	    margin: 10px 0;
    }
    .block .listbox #newsletter-subscribe-block input[type="text"] {
	    width: 100%;
    }
    .block .listbox .newsletter-result-block {
	    position: absolute;
	    bottom: 20px;
	    left: 16px;
	    color: #c00;
	    font-size: 12px;
    }
    .block .listbox .please-wait {
	    position: absolute;
	    bottom: 20px;
	    left: 16px;
    }
    .block-popular-tags li {
        line-height: 0;
    }
        .block-popular-tags li a{
            line-height: initial;
        }
    .product-tags-list li a {
        display: block;
        line-height: 32px;
        padding: 0 9px;
    }
    .block-popular-tags .view-all, 
    .block-popular-blogtags .view-all,
    .block-compare-products .buttons {
	    padding: 5px;
    }
    .block-compare-products li {
        width: 100%;
        text-align: left;
    }
    .block-blog-archive .year {
	    font-weight: bold;
    }
    .block-blog-archive strong {
        display: block;
        padding: 9px;
    }

/* CATEGORY PAGE */

    .product-selectors .product-sorting-and-view-options {
        padding: 10px;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    .pager span {
	    cursor: default;
    }
    .pager a, .pager span {
        color: #000;
        display: block;
        min-width: 32px;
        height: 32px;
        border: 1px solid #d3d3d3;
        background: url(../images/nav_bg_org.png) repeat-x top left;
        padding: 7px;
        border-radius: 16px;
    }
        .pager a:hover,
        .pager span {
            background: #ddd;
        }

    .product-grid .item-box {
        border: 1px solid #e6e6e6;
        border-radius: 5px;
    }


/* SUBCATEGORY AND MANUFACTURERS GRID */



    .sub-category-grid .item-box,
    .manufacturer-grid .item-box,
    .home-page-category-grid .item-box {
        min-height: 0;
    }
    .sub-category-grid .item-box:before,
    .manufacturer-grid .item-box:before,
    .home-page-category-grid .item-box:before {
        display: none;
    }
    .sub-category-grid .sub-category-item .picture,  .manufacturer-grid .manufacturer-item .picture,  .home-page-category-grid .picture {
	    display: none;
    }
    .sub-category-grid .sub-category-item, 
    .manufacturer-grid .manufacturer-item, 
    .home-page-category-grid .category-item {
        border: 1px solid #e6e6e6;
        border-radius: 5px;
        overflow: hidden;
    }
    .sub-category-grid .title a,  .manufacturer-grid .title a,  .home-page-category-grid .title a {
	    display: block;
	    text-align: center;
        background: #f9f9f9;
    }

/* PRODUCT PAGE */

    .product-essential .gallery {
        border-bottom: 1px dashed #e6e6e6;
        padding: 0 0 10px;
        margin: 0 0 10px;
    }

        .product-essential .gallery .picture-wrapper {
            width: 480px;
            max-width: 100%;
            margin: 0 auto;
        }

    .product-review-links > a {
        display: inline-block;
        padding: 7px 14px;
    }

/* ATTRIBUTES */

    .product-essential .attributes {
	    margin-bottom: 10px;
	    padding-bottom: 10px;
	    border-bottom: 1px dashed #d6d6d6;
        clear: both;
    }
    .attributes dl {
        background: #f6f6f6;
        border-radius: 5px;
        overflow: hidden;
    }
    .attributes dt {
        background: #f0f0f0;
    }
    .attributes dt > * {
        display: inline-block;
        line-height: 32px;
        vertical-align: middle;
        margin: 0 3px;
    }
    .attributes dd {
        padding: 10px;
    }
    .attributes .option-list li {
        display: inline-block;
        margin: 0 5px;
    }
    .attributes .option-list li > * {
        line-height: 32px;
        display: inline-block;
        vertical-align: middle;
    }
    .attributes textarea {
	    padding: 4px;
	    width: 280px;
	    height: 140px;
	    border-radius: 5px;
	    resize: none;
    }
    .attributes input[type=text] {
	    padding: 2px;
	    width: 140px;
    }
    .attributes .qq-upload-button {
	    border-radius: 5px;
    }
    .attributes .qq-upload-list {
	    margin: 0;
    }
    .attributes .required {
	    color: red;
    }

/* CHECKOUT */

    .checkout-data .details a {
        line-height: 32px;
        display: inline-block;
    }

/* FOOTER */

    .master-wrapper-content-footer ul {
        margin: 0 0 20px;
    }
    .master-wrapper-content-footer li:nth-child(2n) {
        display: none;
    }

}

@media all and (min-width: 240px) and (max-width: 480px) {

/* BLOCKS */

    .listbox li {
        display: inline-block;
        margin: 0 1% 2%;
    }
    .block .sublist li.active {
        width: 98%;
    }

/* PRODUCT PAGE */

    .review-rating li {
        margin: 0 5px;
    }

/* MY ACCOUNT PAGE */

    .account-page .address-item, .account-page .order-item {
        margin: 0 0 1% 1%;
        padding: 5px;
        width: 49.5%;
    }
        .account-page .address-item:nth-child(2n+1), 
        .account-page .order-item:nth-child(2n+1) {
            clear: both;
            margin-left: 0;
        }

/* QUICK TABS */

    .productTabs-body ul {
        padding-left: 0 !important;
    }
    .productTabs-header > ul {
        padding: 0 !important;
    }
    .productTabs-header > ul > li {
        float: none !important;
        margin: 0 !important;
        border-bottom: 1px solid #ccc !important;
        border-radius: 0 !important;
    }
        .productTabs-header > ul > li:first-child {
            border-radius: 4px 4px 0 0 !important;
        }
    .productTabs-header > ul > li a {
        float: none !important;
        padding: 10px !important;
        display: block !important;
    }
    .ui-tabs .ui-tabs-nav li.ui-tabs-active {
        padding-bottom: 0 !important;
    }
        .ui-tabs .ui-tabs-nav li.ui-tabs-active a {
            cursor: default !important;
        }

/* SEARCH PAGE */

    .product-list .item-box {
        text-align: center;
    }
        .product-list .item-box .product-rating-box {
            display: inline-block;
        }

}

@media all and (min-width: 481px) and (max-width: 768px) {

/* BLOCKS */

    .master-wrapper-main .block {
        float: left;
        width: 49%;
        margin: 0 0 2% 2%;
    }
        .master-wrapper-main .block:nth-of-type(2n+1) {
            clear: both;
            margin-left: 0;
        }
        .block.block-account-navigation {
            float: none;
            width: 360px;
            margin: 0 auto !important;
        }

/* PRODUCTS IN GRID */

    .sub-category-grid .item-box, .manufacturer-grid .item-box, .home-page-category-grid .item-box {
        float: left;
        width: 32%;
        margin: 0 0 2% 2%;
        min-width: 0;
    }
    .sub-category-grid .item-box:nth-child(3n+1), 
    .manufacturer-grid .item-box:nth-child(3n+1), 
    .home-page-category-grid .item-box:nth-child(3n+1) {
        clear: both;
    }

/* SEARCH PAGE */

    .product-list .product-item .picture {
        margin: 0 10px 0 0;
        width: 130px;
    }

}

@media all and (min-width: 769px) and (max-width: 980px) {

/* BLOCKS */

    .master-wrapper-main .block {
        float: left;
        width: 95%;
        margin: 0 0 1.5% 1.5%;
    }
        .master-wrapper-main .block:nth-of-type(3n+1) {
            clear: both;
            margin-left: 0;
        }

/* PRODUCTS IN GRID */

    .sub-category-grid .item-box, 
    .manufacturer-grid .item-box, 
    .home-page-category-grid .item-box {
        float: left;
        width: 24%;
        margin: 0 0 1.3333333% 1.3333333%;
        min-width: 0;
    }
    .sub-category-grid .item-box:nth-child(4n+1), 
    .manufacturer-grid .item-box:nth-child(4n+1), 
    .home-page-category-grid .item-box:nth-child(4n+1) {
        margin-left: 0;
        clear: both;
    }    

}