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

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

    /* Layout */
    
    .header-logo {
        margin-top: 0;
    }

    #home .ProductList li,
    .productPage .ProductList li {
        width: calc(25% - 20px)
    }

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

        /* Cart Styling */

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

    .ExpressCheckoutContent > div {
        margin-bottom: 20px;
    }
	.PageMenu li {
		font-size: 14px;
	}
}

@media(max-width: 1199px) and (min-width:992px){ 
  .header-logo {
    margin-top: -1em;
    max-width: calc(100% - 515px);
  }
    .header-secondary .phone-tagline small {
        font-size: 11px !important;
    }
    .header-secondary .phone-tagline span {
        font-size: 18px;
    }

    .header-secondary, .header-secondary .phone-tagline {
        float:none;
        margin: 0;
    }
}
@media(max-width: 991px) and (min-width:830px){ 
  .header-logo {
    max-width: calc(100% - 515px);
	min-width:270px;
  }
    .header-secondary .phone-tagline small {
        font-size: 11px !important;
    }
    .header-secondary .phone-tagline span {
        font-size: 18px;
    }
	#SearchForm input , #SearchForm .Button{
		height: 32px;
	}

    .header-secondary, .header-secondary .phone-tagline {
        float:none;
        margin: 0;
    }
  /*  .header-secondary {
        float:none;
        margin: 0;
    }
    .header-secondary .phone-tagline,
    .header-secondary #SearchForm {
        width: 50%;
        margin:0 0 1em;
        }*/
    .footer-columns h4 {
      font-size: 20px;
    }
}
@media(max-width: 829px) and (min-width:665px){ 
  .header-logo {
    max-width: calc(100% - 515px);
	min-width:270px;
  }
    .header-secondary .phone-tagline small {
        font-size: 11px !important;
    }
    .header-secondary .phone-tagline span {
        font-size: 18px;
    }
	#SearchForm input , #SearchForm .Button{
		height: 32px;
	}
	#SearchForm input{
		padding-left: 5px;
		padding-right: 5px;
	}
	#SearchForm .Button{
		width: 32px;
	}
	div#SearchForm.cf {
		width: 182px;
		min-width: 182px;
		max-width: 182px;
	}
    .header-secondary, .header-secondary .phone-tagline {
        float:none;
        margin: 0;
    }

  /*  .header-secondary .phone-tagline,
    .header-secondary #SearchForm {
        width: 50%;
        margin:0 0 1em;
        }*/
    .footer-columns h4 {
      font-size: 18px;
    }
}
@media(max-width: 664px) and (min-width:600px){ 
  .header-logo {
	min-width:270px;
  }
    .header-secondary .phone-tagline small {
        font-size: 11px !important;
    }
    .header-secondary .phone-tagline span {
        font-size: 18px;
    }
	#SearchForm input , #SearchForm .Button{
		height: 42px;
	}
	#SearchForm input{
		padding-left: 5px;
		padding-right: 5px;
	}
	#SearchForm .Button{
		width: 42px;
	}
	div#SearchForm.cf {
		width: 222px;
	}
  .header-secondary {
        float:none;
        margin: 0;
    }
    .header-secondary .phone-tagline,
    .header-secondary #SearchForm {
        width: 50%;
        margin:0 0 1em;
    }
}

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

    /* Hide */

    /* Show */

    /* Layout */

    #home .ProductList li,
    .productPage .ProductList li {
        width: calc(25% - 20px);
    }

    .ProductList li {
        width: 33.333333%;
    }
}

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

    /* Primary Content Area (column span of 2) */
    .Content.Wide {
        width: 100%;
    }
    .Right {
        width: 100%;
        margin-bottom: 15px;
    }
    .Right > ul > li {
        float: none;
        display: inline-block;
    }
    .latest-blog {
        text-align: center;
    }

    .Right > p:first-of-type, .Right > br, .blog-contents, .blog-title, .ribbon-bg-right, .latest-blog  {
        display: none;
    }

    .blog-img {
        display: block;
        margin: 0 auto !important;
        display: none;
    }

    .ribbon-bg-right:first-of-type, .Right > br:nth-of-type(2), .Right > br:first-of-type, .disp-md {
        display: block;
}

/* 768px */
@media screen and (max-width: 768px) {
    .page {
        width: 100%;
    }

    .overhang {
        margin-left: 0;
    }

    /* Hide */

    #HomeSlideShow,
    #ProductBreadcrumb,
    .productlist-page .Left {
        display: none;
    }

    .Left {
        float: none;
        width: auto;
    }

    .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: calc(50% - 20px);
        margin-bottom: 1em;
    }

    .PageMenu {
        margin: 0;
    }

    img.overhang {
        max-width: 100%;
    }

    .ProductList li {

    }

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

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

    .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 {
 /*       clear: both;
        float: none;*/
    }

    .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;
    }
    .PageMenu li a {
        font-size:10pt;
    }
}

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

    /* Hide */

    #shareDescription {
        display: none;
    }

    /* Show */

    /* Layout */

    .CartItemQuantity .selector {
        width: inherit;
    }

    .ProductList li,
    #home .ProductList li,
    .productPage .ProductList li {
        width: calc(50% - 20px);
    }

    .productAttributeList .productAttributeLabel, .Label.QuantityInput {
        width: 50% !important;
    }

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

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

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

    .phone-tagline {
        float: none !important;
    }

    .header-secondary #SearchForm {
        width: 100%;
        margin-bottom: 1em;
    }

    /* 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;
    }

    /* 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;
    }
    .footer-columns h4 {
      font-size: 15px;
    }
}

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

    /* Hide */

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

    /* Right Content Area */
    .Right {
        display: none;
    }

    /* Show */

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

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

    /* Layout */

    .btn.wishTrigger {
        height: 47px;
    }

    .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 {
        /* width: 90%; */
    }
    .main > .inner {
        padding-left: 4px;
        padding-right: 4px;
    }

    .header {
        padding-top: 115px;
    }

    #Header {
        position: fixed;
        top: 0;
        z-index: 100;
        background-color: #fff;
        width: 100%;
    }

    #Header > .inner {
        width: 100%;
        display: table;
        padding-top: 50px;
        background: url(../images/ribbon-bg.jpg);
    }

    .header-secondary {
        float: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background: transparent;
    }

    .header-secondary .currency-converter {
        display: none;
    }

    .header-secondary #SearchForm {
        float: none;
        margin-bottom: 0;
    }

    .header-secondary #SearchForm input.Textbox {
        border: 0;
        background: none;
        color: #d6d6d6;
        height: 50px;
    }

    .header-secondary #SearchForm input.Button {
        background-color: transparent;
        position: absolute;
        border: 0;
        height: 100%;
        filter: brightness(15);
        -webkit-filter: brightness(15);
    }

    .header-logo {
        display: table-cell;
        float: none;
        vertical-align: middle;
        text-align: center;
        overflow: hidden;
    }

    .header-logo img {
        max-height: 60px;
        max-width: 100%;
        filter: brightness(500) saturate(0);
        -webkit-filter: brightness(500) saturate(0);
    }

    .header-logo h1 {
        padding: 0;
    }

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

    #cart-amount .Cart {
        font-weight: bold;
        padding: 1em 0px;
        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 12px 0 0 ;
        min-width: 25px;
        height: 25px;
    }

    #cart-amount .Cart .bag-handle {
        border-bottom: 0;
        position: absolute;
        top: 8px;
        left: 19px;
        height: 4px;
        width: 8px;
        border-radius: 7px 7px 0px 0px;
    }
/*
    .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 {
        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%;
    }
    .footer-columns h4 {
      font-size: 15px;
    }

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

    #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( max-width: 767px ) {
	.HomeContentBottom .boast {
		float: none;
		width: 100%;
		border-left: none;
	}
	.HomeContentBottom .testimonial {
		float: none;
		clear: none;
		width: 100%;
	}

}
@media( max-width: 310px ) {
	#SearchForm input {
		width: 70%;
	}
}


/*----------------------------------------------------------------------------------------------------------
#############################################  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: 16px !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 {
        display: block;
        height: 60px;
        line-height: 60px;
        margin-bottom: 20px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

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

    .ProductList {
		margin: 0px;
	}
	.ProductList li {
		margin: 0px;
	}

}

@media screen and (max-width: 325px) {
    table.CartContents tbody tr td {
        padding: 10px 1px;
    }
}


/* Just navigation media queries */
@media screen and (max-width: 1300px) {
    .PageMenu li {
        padding: 15px 0;
    }
    .PageMenu li a {
        padding: 0 1.6vw;
    }
}
@media screen and (max-width: 1199px) and (min-width: 992px) {
    .PageMenu li {
        padding: 16px 0;
    }
    .PageMenu li a {
        padding: 0 1.4vw;
        font-size: 89%;
    }
}
@media screen and (max-width: 991px) {
    .PageMenu li {
        padding: 16.5px 0;
    }
    .PageMenu li a {
        padding: 0 1vw;
        font-size: 88%;
    }
}

@media screen and (max-width: 923px) {
    .PageMenu li {
        padding: 18px 0;
    }
    .PageMenu li a {
        font-size: 85%;
    }
}

@media screen and (max-width: 830px) {
    .PageMenu li {
        padding: 18px 0;
    }
    .PageMenu li a {
        font-size:10pt;
    }
}

@media screen and (max-width: 1200px) {
    .PageMenu:before, .PageMenu:after { display: none; }
}