/* 1284px */

@media screen and (max-width: 1284px) {
    #CategoryContent .ProductList li
    {
        margin-left:3%;
        padding-left:1%;
        width: 30%;
    }

#CategoryContent .ProductActionAdd .btn 
    {
        margin-left: 10px;
    }
#brand-content .ProductList li {
        margin-left:3%;
        padding-left:1%;
        width: 30%;
}
#brand-content .ProductActionAdd .btn {
        margin-left: 10px;
}

}

/* 1024 */
@media screen and (max-width: 1024px) {

    /* Hide */
    .productOptionPreviewDisplay,
    .ExpressCheckoutBlockCompleted .ExpressCheckoutCompletedContent {
        display: none !important;
    }
    
    /*PageMenu*/
    /*.PageMenu #SideCategoryList ul {
        width:100%;
    }
    .PageMenu #SideCategoryList li {
        width:24%;
        margin:0;
    }*/
    .PageMenu #SideCategoryList li a {
        font-size:16px;
        padding-left:5px;
        padding-right:5px;
        text-align:center;
       /* width:100%;*/
     }
   
    /* Show */
    .promo-banner {
        display:block;
    }

    /* Layout */

    #HomeFeaturedProducts .ProductList, #HomeNewProducts .ProductList
    {
        margin-left:-6%;
        padding-left:1%;
    }
    #brand-content .ProductList li {
        margin-left:3%;
        padding-left:1%;
        width: 47%;
    }
    #CategoryContent .ProductList li
    {
        margin-left:3%;
        padding-left:1%;
        width: 47%;
    }
    #CategoryContent .ProductActionAdd .btn 
    {
        margin-left: 10px;
    }

    #HomeFeaturedProducts .ProductList li, #HomeNewProducts .ProductList li {
        margin-left:5%;
        width:28%
    }
    #SimilarProductsByCustomerViews .ProductList li {
       width: 31%;
       margin-left: 3% !important;
    }
    #SimilarProductsByCustomerViews .ProductList li:nth-child(3n+1) {
       margin-left:0 !important;
    }
   .footer-columns .grid__item {
        width: 33.333333%;
    }
    .footer-columns .one-quarter {
        margin-top: 25px;
        width:50%;
     }
    .AddBillingAddress dd,
    .AddShippingAddress dd {
        margin-left: 180px;
        float: none;
    }

    .PurchaseGiftCertificate .FormContainer dt {
        text-align: left;
        width: auto;
        clear: both;
        float: none;
        padding: 0 0 10px 0;
    }
    
    .PurchaseGiftCertificate .FormContainer dd {
        padding: 0;
        margin: 0 0 20px 0;
    }

        /* Cart Styling */

    .ExpressCheckoutContent {
        padding: 0;
        margin-bottom: 20px;
    }

    .ExpressCheckoutContent > div {
        margin-bottom: 20px;
    }
}

/* 1000px */
@media screen and (max-width: 1000px) {

    /* Hide */
    .PageMenu #SideCategoryList ul {
    display:none;
    }
    .PageMenu #SideCategoryList ul.category-list {
     display:block;
    }
    /* Show */

    /* Layout */
  
    /*#HomeFeaturedProducts .ProductList li, #HomeNewProducts .ProductList li {
        margin-left:5%;
        width:28%
    }*/
    #brand-content .ProductList li {
        margin-left:5%;
        width:44%;
   }
    #CategoryContent .ProductList li {
        margin-left:5%;
        width:44%
    }
     
}

/* 768px */
@media screen and (max-width: 768px) {

    /* Hide */

     #HomeSlideShow,
     #ProductBreadcrumb,
     .footer-columns .SocialConnect,
     .newsletter-subscription {
        display: block;
     }

#HomeFeaturedProducts .ProductList li, #HomeNewProducts .ProductList li {
        width:45%;
    }
     .footer-main h4 {
        padding:0
     }
    .footer-columns .grid__item {
        width: 100%;
     }
    
    .footer-columns .CategoryList, .footer-columns .BrandList {
        display: none;
     }
    .footer-columns .sf-menu li a {
        display:inline;
     }

    #subscribe_form input[type="text"] {
        width:70%;
    }
    .footer .powered-by {
        float: none;
        margin: 10px 0 0 0;
        display: block;
    }
    .Left {
        float: none;
        width: auto;
        display: none;
    }

    .CartContents > thead,
    .CartContents .CartThumb,
    .CartContents .CartItemIndividualPrice {
        display: none !important;
    }

    #ModalContainer .fastCartThumb,
    #ModalContainer .fastCartItemBox div,
    #ModalContainer .Quantity,
    #ModalContainer .fastCartBottom {
        display: none !important;
    }

    /* Show */

    /* Layout */

    
    .promo-banner {
        margin:25px 0 0 0;
        width:100%;
        text-align:center;
    }
    #ProductDetails .left-content {
        float: none;
        width: auto;
    }
    .CategoryDescription {
        display:block;
        width:100%;
        float:left;
    }
    .SubCategoryList {
        padding: 0;
        margin-bottom: 0;
    }

    .SubCategoryList li {
        padding: 0.9em;
        background: none;
        border-bottom: 1px solid #efefef;
    }
    .PrimaryProductDetails .ProductMain {
        float: none;
        padding: 0 0 20px 0;
        width: auto;
    }

    #AjaxLoading {
        background-color: rgba(0,0,0,.7);
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }

    #AjaxLoading .ajax-loader {
        position: absolute;
        margin-top: -16px;
        top: 50%;
        right: 0;
        left: 0;
    }

    #ModalOverlay {
        background-color: #000;
        opacity: 0.7 !important;
    }

    .productlist-page .CategoryContent {
        padding: 0;
    }

    .fastCartThumb,
    .fastCartItemBox,
    .fastCartSummaryBox {
        float: none;
        width: 100%;
    }

    #ModalContainer {
        background-color: #fff;
        top: 10px !important;
        right: 10px !important;
        bottom: 10px !important;
        left: 10px !important;
        width: auto !important;
        margin-left: 0 !important;
    }

    #ModalContainer .fastCartTop {
        padding: 0;
    }

    #ModalContainer .fastCartItemBox {
        padding: 0;
        text-align: center;
    }

    #ModalContainer .fastCartSummaryBox {
        margin: 0 auto;
        float: none;
        overflow: hidden;
    }

    .login-form .one-half {
        width: 100%;
    }

    .login-form .CreateAccount {
        margin-bottom: 20px;
    }

    .header-secondary {
        clear: both;
        float: none;
    }

    .header-secondary #SearchForm {
        width: 100%;
    }

    .header-secondary .QuickSearch {
        border-top-width: 0 !important;
    }

    /* Multipage Cart Styling */
    
    .TabNav {
        border-bottom: 0;
        margin: 0;
        padding: 0;
        font-size: 0;
    }

    .TabNav li {
        width: 100%;
        text-align: center;
    }

    .TabNav li a {
        box-sizing: border-box;
        margin: 0;
    }
}

/* 600px */
@media screen and (max-width: 600px) {

    /* Hide */

    #shareDescription {
        display: none;
    }

    /* Show */

    /* Layout */
    .PageMenu #SideCategoryList li {
        width:32%;
        margin:0;
    }
    #HomeFeaturedProducts .ProductList li, 
    #HomeNewProducts .ProductList li,
    #SideTopSellers .ProductList li {
        width:95%
    }

    .addto .BulkDiscount,
    .addto #SideProductAddToWishList {
        display: block;
    }

    .CartCode .CouponCode,
    .CartCode .GiftCertificate {
        float: none;
        width: auto;
    }

    .ProceedToCheckout,
    .KeepShopping {
        text-align: center;
    }

    /* Adjusting the size of the swatches for smaller screens */

    .productOptionViewRectangle .option label {
        padding: 0 !important;
        line-height: 60px;
        height: 60px;
        width: 60px;
    }

    .productOptionPickListSwatch .textureContainer,
    .productOptionPickListSwatch .swatchColours {
        display: block !important;
    }

    .productOptionPickListSwatch .thumbnail,
    .productOptionPickListSwatch .swatchColour {
        display: block !important;
        height: 60px !important;
        width: 60px !important;
    }

    .productOptionPickListSwatch li {
        display: inline-block !important;
    }
    
    #SimilarProductsByCustomerViews .ProductList li {
       width: 48%;
       margin-left: 3% !important;
    }
    #SimilarProductsByCustomerViews .ProductList li:nth-child(2n+1) {
       margin-left:0 !important;
    }
    
    #tabcontent .photo {
        float: none;
        margin: 0;
        width: auto;
    }
    
    .BillingDetails,
    .ShippingDetails {
        width: 100%;
        float: none;
        margin-right: 0;
        padding-top: 15px;
    }

    .ShippingAddressList li {
        width: 50%;
    }

    .CartContents tfoot .CheckoutRedeemCoupon {
        text-align: left;
    }

    .CartContents tfoot .CheckoutRedeemCoupon td {
        padding: 0;
    }

    #back-top 
    {
    right: 25px;
    }
}

/* 480px */
@media screen and (max-width: 480px) {

    /* Hide */

    .TopMenu,
    .PageMenu,
    .QuickViewBtn,
/* .ProductList .ProductActionAdd,*/
    .footer-columns .BrandList,
    .footer-columns .CategoryList,
    .footer-columns .SocialConnect,
    .sf-menu li > ul,
    .productlist-page .Left,
    .ProductCompareButton,
    .CompareButton {
display: none !important;
    }
    
    /* Show */
    
    .header-secondary,
    #home .PageMenu {
/* display: block !important;*/
    }

    .promo-banner {
        display:none;
    }

    #ToggleMenu,
    #cart-amount {
        display: table-cell;
    }

    /* Layout */
    
    /* increasing input font sizes to avoid some zoom by webkit browsers */
    input[type="date"],
    input[type="email"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    input[type="tel"],
    input[type="text"],
    input[type="url"],
    textarea,
    select {
        font-size: 16px !important;
    }

    
    textarea,
    input[type="text"],
    input[type="password"],
    input.Textbox {
        display: block;
        height: 60px;
        line-height: 60px;
        width: 100%;
        margin-bottom: 20px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

.btn {
    display: block;
        height: 25px;
        line-height: 25px;
        /*width: 100%;*/
        margin-bottom: 20px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
}
#brand-content .ProductList li {
       width: 92%;
}
#CategoryContent .ProductList li
    {
        width: 92%;
    }
#SimilarProductsByCustomerViews .ProductList li {
       width: 100%;
       margin-left: 3% !important;
    }
#SimilarProductsByCustomerViews .ProductList li:nth-child(1n+1) {
       margin-left:0 !important;
    }
    select,
    div.selector /* For uniform */ {
        margin-bottom: 20px;
    }


    .TopMenu > .inner,
     #Header > .inner,
    .PageMenu > .inner,
    .main > .inner,
    .footer-main > .inner,
    .footer-links > .inner,
    .newsletter-subscription > .inner {
        width: 90%;
    }
    
    .header {
        padding-top: 145px;
    }

    #Header {
        position: fixed;
        top: 0;
        z-index: 100;
        background-color: #fff;
        width: 100%;
        border-bottom: 1px solid #efefef;
    }    

    #Header > .inner {
        width: 100%;
        display: table;
        padding-top: 50px;
    }
    
    .header-secondary {
        float: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background: #111
    }

    .header-secondary .currency-converter {
        display: none;
    }
    
    .header-secondary #SearchForm {
        float: none;
    }
    #SearchForm {
        margin-top: 0;
    }
    .header-secondary #SearchForm input.Textbox {
        border: 0;
        background: #124269;
        color: #ffffff;
        height: 50px;
    }

    .header-secondary #SearchForm input.Button {
        background-color: #124269;
        position: absolute;
        border: 0;
        height: 100%;
    }
    #SearchForm .Button {
        background: url(../images/searchIcon.png) 50% 50% no-repeat #ffffff;
    }
    .header-logo {
        display: table-cell;
        float: none;
        max-height: 60px;
        vertical-align: middle;
        text-align: center;
        overflow: hidden;
    }
    
    .header-logo h1 {
        padding: 0;
    }
    
    #cart-amount {
        vertical-align: middle;
        width: 60px;
    }

    #cart-amount .Cart {
        font-weight: bold;
        padding: 1em 0px;
        display: table-cell;
        text-align: center;
        width: 60px;
        position: relative;
    }

    #cart-amount .Cart .total {
        display: inline-block;
        box-sizing: border-box;
        padding: 4px 5px;
        margin: 0 auto;
        min-width: 25px;
        height: 25px;
    }

    #cart-amount .Cart .bag-handle {
        border-bottom: 0;
        position: absolute;
        top: 8px;
        right: 24px;
        height: 4px;
        width: 8px;
        border-radius: 7px 7px 0px 0px;
    }
    #DrawerMenu .treeview, #DrawerMenu .treeview ul {
        background-color: transparent;
    }
    #DrawerMenu .hitarea {
        display: none;
    }
    .PageMenu .inner {
        background: #fff;
        padding: 0;
    }
    
    .PageMenu ul {
        display: block;
    }
    
    .PageMenu .CategoryList {
        padding: 0;
    }
    
    .PageMenu .pages-menu {
        display: none;
    }

    .PageMenu li {
        display: block;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #efefef;
    }

    .PageMenu a {
        padding: 1em;
        font-size: 1.2em;
    }
    
    .SubCategoryList {
        padding: 0;
        margin-bottom: 0;
    }

    .SubCategoryList li {
        padding: 0.9em;
        background: none;
        border-bottom: 1px solid #efefef;
    }

    #fastCartContainer {
        max-height: none;
    }
    .footer-columns .grid__item,
    .CartCode .grid__item {
        width: 100%;
    }

    /* Form Styling */
    .form dt,
    .FormContainer dt {
        text-align: left;
        width: auto;
        clear: both;
        float: none;
        padding: 0;
    }
    
    .form dd,
    .FormContainer dd {
        padding: 0;
        margin: 0;
    }
    
    #fancy_outer {
        z-index: 110 !important;
    }

    #fancy_overlay {
        z-index: 105 !important;
    }

    #fancy_content h1 {
        font-size: 22px;
    }
    #subscribe_form input[type="text"] {
        width: 100%;
    }
    .footer-links {
        text-align: center;
    }

    .footer .powered-by {
        float: none;
        display: block;
        margin-top: 10px;
    }

    .LittleNotePassword {
        padding: 0;
        margin-bottom: 20px;
    }

    /* Cart Styling */

    table.CartContents tbody tr td {
        padding: 10px 8px;
    }
    
    .CartCode .grid__item {
        width: 100%;
    }
    
    .CartCode .GiftCertificate input,
    .CartCode .CouponCode input {
        margin-bottom: 20px;
    }

    #CartContent .FloatRight,
    #CartContent .FloatLeft,
    .ExpressCheckoutContent .FloatLeft,
    .ExpressCheckoutContent .FloatRight
    #ConfirmOrder .FloatLeft,
    #ConfirmOrder .FloatRight {
        float: none;
    }

    .PayPalExpressCheckout {
        text-align: center;
        padding: 1em 0;
    }

    .AddBillingAddress dd, .AddShippingAddress dd {
        padding: 0 !important;
        float: none;
        width: auto;
    }

    .ShippingAddressList li {
        width: 100%;
    }
}

@media screen and (max-width: 320px) {
    #back-top 
    {
    right: 10px;
    }
}