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

    /* Hide */
    .productOptionPreviewDisplay,
    .ExpressCheckoutBlockCompleted .ExpressCheckoutCompletedContent {
        display: none !important;
    }
    /* Show */

    /* Layout */

    #home .ProductList li,
    .productPage .ProductList li {
        width: 20%;
    }

    .AddBillingAddress dd,
    .AddShippingAddress dd {
        margin-left: 180px;
        float: none;
    }

        /* Cart Styling */

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

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

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

    /* Hide */

    /* Show */

    /* Layout */

    #home .ProductList li,
    .productPage .ProductList li {
        width: 25%;
    }

    .ProductList li {
        width: 33.333333%;
    }
}

/* 768px */
@media screen and (max-width: 700px) {
.Breadcrumb ul{box-sizing: border-box;
    padding: 10px;
    width: 100%;}
    /* Hide */

h1 {
    font-size: 28px;} 
#ProductDetails {
    padding: 0 10px 20px;
}

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

    .ExpressCheckoutContent>.CreateAccount,.ExpressCheckoutContent>.AccountLogin {

        display: block;
        width:100%;
    }


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

    .SubCategoryList {
        display: none;
    }

    /* Show */

    .js-mobile-sub-category-menu {
        display: block;
    }

    /* Layout */

    #home .ProductList li,
    .productPage .ProductList li {
        width: 33.333333%;
    }

    .ProductList li {

    }

    #ProductDetails .left-content {
        float: none;
        width: auto;
    }

    .PrimaryProductDetails .ProductMain {
        float: none;
        padding: 0 0 20px 0;
        width: auto;clear: both;
    }

    .footer-columns .grid__item {
        text-align: center;
        width: 33.333333%;
    }

    .footer-columns .grid__item:last-child {
        text-align: center;
        width: 100%;
    }

    .footer-main .SocialConnect ul {
        margin: 0;
        padding: 20px 0;
        text-align: center;
    }

    .footer-main .inner {
        padding: 20px 0 0 0;
    }

    #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 .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: 700px) {
#DrawerMenu #SideCategoryList li ul li ul, #SideCategoryList .sf-menu li ul li ul {
    left: 0 !important;
}
    .header-secondary #SearchForm {
        width: 100%;
    }

.header-secondary {
    clear: both;
    float: none;
}
.NewsletterSubscription .Textbox{ width:173px;}
.ProductList {
    font-size: 0;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
    width: 97%;
}
.ProductList li, #home .ProductList li, .productPage .ProductList li {
    float: none;
    width: 220px !important;
}
.brand-img, .ProductList .ProductImage, #ProductDetails .ProductThumbImage{ width:98.9%;}
.Content.Wide {
    margin: 0 auto;
    padding: 0;
    width: 100%;
}
.LeftTopMiddle ul li a{/*color: #ffee00;*/}
.LeftTopMiddle ul li a[title="Register"] {
    padding-right: 0;
}

.LeftTopMiddle ul {
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
    width: 129px;
}
.LeftTopMiddle {
    box-sizing: border-box;
    display: inline-block;
    float: none;
    margin: 6px auto;
    padding: 10px;
    width: 100%;
}

#SearchForm form {
    float: none;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
    width: 264px;
}
.header {
    height: 175px;
    padding-top: 4px;
}

#Header {
    background-color:#000;
    border-bottom: 1px solid #efefef;
    margin: 0;
    position:relative;
    top: 0;
    width: 100%;
    z-index: 100;
}
#Header > .inner {
        width: 100%;
       display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
       display:-webkit-box;
	display: flex;
    padding-bottom: 15px;
    padding-top: 80px;
}

.header-secondary {
    float: none;
    left: 0;
    position: absolute;
    top: -4px;
    width: 100%;
}
.header-secondary .currency-converter {
        display: none;
    }

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

.header-secondary #SearchForm input.Textbox {/*
    background: #000 none repeat scroll 0 0;
    border:none;
    color: #d6d6d6;
    height: 30px;
    width: 202px;*/font-size: 12px !important;
}
.header-secondary #SearchForm input.Button {
    border: 0 none;
    height: 28px;
    position: absolute;
}
.header-logo {
    float: none;width: 65%;
    margin:10px 0 0;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
}
.header-logo img {
    height: auto;
    max-height: inherit;
}
    .header-logo h1 {
        padding: 0;
    }

    #cart-amount {
        vertical-align: middle;
        width: 60px;
    }

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

    #cart-amount .Cart .total {
        display: inline-block;
        -moz-box-sizing: border-box;
        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;
        left: 24px;
        height: 4px;
        width: 8px;
        border-radius: 7px 7px 0px 0px;
    }

    .continuation-label,
    .cart-detail-metadata,
    .TopMenu,
    .PageMenu,
    .QuickViewBtn,
    .ProductList .ProductActionAdd,
    .sf-menu li > ul,
    .productlist-page .Left,
    .ProductCompareButton,
    .CompareButton,
    .footer-columns .BrandList,
    .footer-columns .CategoryList {
        display: none !important;
    }

    /* Show */

    .header-secondary{
        display: block !important;
    }

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

    /* Layout */

    .ProductList li,
    #home .ProductList li,
    .productPage .ProductList li {
        width: 100%;
    }

.TopMenu > .inner, #Header > .inner, .PageMenu > .inner, .main > .inner, .footer-main > .inner, .footer-links > .inner, .newsletter-subscription > .inner {
    max-width: 100%;
    width: 98%;
}
.footer > .inner {
    margin: 0 auto;
    width: 100%;
}
.footer .grid__item.one-quarter {
    padding: 0;}
.footer .grid__item.one-quarter.AboutUs {
    margin-right: 3px;
    width: 29%;
}
.footer .grid__item.one-quarter.BuyWithUs {
    width: 40%;
}
.footer .grid__item.one-quarter.MyAccount {
    float: right;
    width: 30%;
}
.footer .grid__item.one-quarter.news {
    clear: both;
    float: none;
    margin: 20px auto 0;
    width: 100%;
}
#SideNewsletterBox {
    clear: both;
    float: none;
    margin: 0 auto;
    overflow: hidden;
    width: 290px;
}
#SideNewsletterBox h5{ text-align: left;}
#SideNewsletterBox .BlockContent {
    float: right;
    width: 200px;
}
#socnet {
    clear: both;
    float: none;
    font-size: inherit;
    margin: 0 auto;
    padding: 0;
    width: 106px;
}
.footer-links p.add {
    float: none; text-align: center;}
.footer-main .SocialConnect ul {
    padding:  1px 0 10px;}
.paypal > img {
    height: auto;
    width: 315px;
}

.paypal {
    text-align: center;
}
    .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;
    }

#DrawerMenu .log_in {
    border-bottom: 1px solid #555;
}
.Block.banner_home_page_top {
    overflow: hidden;
    text-align: center;
}
.header-inner {
    position: relative;
}
#home .banner_home_page_top ul li {
    float: left;
    padding-left: 12px !important;
    width: 31.7%;
}

#home .banner_home_page_top {
    margin: 10px 0 0;
}
    /* Hide */

    #shareDescription {
        display: none;
    }

    /* Show */

    /* Layout */

    .ProductList li,
    #home .ProductList li,
    .productPage .ProductList li {
        width: 50%;
    }

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

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

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

    /* Adjusting the size of the swatches for smaller screens */
.productOptionViewRectangle .option label {
    height: 30px;
    line-height: 30px;
    padding: 0 !important;
    width: 30px;
}

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

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

    /* Selector was .productOptionPickListSwatch li but had to make more specific to overwrite __Master */
    html.javascript div.productOptionPickListSwatch li {
        display: inline-block;
    }

    #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;
    }

    .newsletter-subscription .grid > .grid__item {
        width: 100% !important;
    }

    .newsletter-subscription input {
        margin-bottom: 20px;
    }

    .newsletter-subscription h4 {
        padding: .5em 0;
        font-size: 1.5em;
        text-align: center;
    }

    .newsletter-subscription .inner {
        padding: 0;
    }

    /* Quick view */
    .quick-view-image-container {
        float: none !important;
        width: auto !important;
        /* Fix: Added important because we can't control the cascade. When we can place responsive.css below product.quickview.css we can remove the importants. */
    }

    #braintree-paypal-button {
        margin: 0 auto;
    }
}
@media screen and (min-width:481px) and (max-width: 560px){
.ProductList{ width:440px;}
.FloatRight.SortBox {
    float: none;
    margin: 0 auto;
    overflow: hidden;
    width: 230px;
}
}
@media screen and (min-width:701px) and (max-width: 800px){
.brand-img, .ProductList .ProductImage, #ProductDetails .ProductThumbImage{width:99%;}
.ProductList li {
    width: 33.4% !important;
}
.Content.Wide {
    width: 70%;
}
.footer-links p.add {
    float: none;
    text-align: center;
}

.paypal {
    text-align: center;
}
}
@media screen and (min-width:701px) and (max-width: 1024px){
.footer > .inner {
    margin: 0 auto;
    width: 100%;
}
#home .banner_home_page_top ul li {
    padding-left: 17px !important;
    width: 31%;
}
.header-logo {
    float: left;
    margin-top: 15px;
    width: 36%;
}
.header-secondary {
    float: right;
}
.header-logo img {
    display: block;
    margin: 0 auto;
    width: 100%;
}
.TopMenu > .inner, #Header > .inner, .PageMenu > .inner, .main > .inner, .footer-main > .inner, .footer-links > .inner, .newsletter-subscription > .inner {
    max-width: 100%;
    width: 98%;
}

}
@media screen and (min-width:561px) and (max-width: 700px){

.Block.banner_home_page_top img:first-child {
    margin: 0;
}
#home .banner_home_page_top{  margin: 10px 0 0;}
.Block.banner_home_page_top img {
    margin: 0 0 0 10px;
    width: 100%;
}
.ProductList li, #home .ProductList li, .productPage .ProductList li {
    width: 33.1% !important;
}
.ProductList{ width:98%;}
}
/* 480px */
@media screen and (max-width: 480px) {
h1 {
    font-size: 21px;
    line-height: normal;
    padding: 0.75em 0;
}
#home .banner_home_page_top {
    float: none;
    margin: 20px 0 0;
}
#home .banner_home_page_top ul {
    display: inline-block;
    list-style: outside none none;
    margin: 0 auto;
    padding: 0;
}
#home .banner_home_page_top ul li {
    float: none;  width: 100%;
    margin-bottom: 10px;
    padding: 0 !important;
}
.footer .grid__item.one-quarter {
    margin-bottom: 20px;
    width: 100% !important;
}
.footer .grid__item.one-quarter.news{ margin-top: 0px;}
.FloatRight.SortBox {
    float: none;
    margin: 0 auto;
    overflow: hidden;
    width: 230px;
}
.header-logo img {
    height: auto;
    max-height: inherit;
    width: 85%;
}
.ProductList{ text-align:center;}
.ProductList li, #home .ProductList li, .productPage .ProductList li {
    float: none;
    width: 220px !important;
}
.brand-img, .ProductList .ProductImage, #ProductDetails .ProductThumbImage{ width:99%;}
    /* Hide */
    .SubCategoryList {
        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%;
    }

    #fancy_outer {
        z-index: 110 !important;
    }

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

    .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; float:left;
    }

    #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%;
    }
}


/*----------------------------------------------------------------------------------------------------------
#############################################  BASE FORM STYLES - RESPONSIVE - (Move to base-forms.css)
----------------------------------------------------------------------------------------------------------*/

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

    /* 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: 12px !important;
    }

    .btns {
        position: initial;
        float: none;
        text-align:center;
    }

    .btns form {
        width:50%;
    }


.btn, textarea, input[type="email"], input[type="text"], input[type="password"], input.Textbox {
    box-sizing: border-box;
    display: block;
    height: 35px;
    line-height: 35px;
    margin-bottom: 20px;
}

    .btns form .btn {
        width:95%;
        display: inline-block;
    }


    select,
    div.selector /* For uniform */ {
        margin-bottom: 20px;
    }

    /* Form Styling */
    .form dt,
    .FormContainer dt {
        text-align: left;
        width: auto;
        clear: both;
        float: none;
    }

    .form dd,
    .FormContainer dd {
        padding: 0;
        margin: 0;
    }

}