@media only screen and (max-width: 1460px) {
	.top-social { display: none; }
}

@media only screen and (max-width: 1200px) {
	.container { width: 100%; padding: 0 30px; box-sizing: border-box; }
	.banner-text { padding-left: 30px; box-sizing: border-box; }
	#topnav a {
    padding: 0 15px;
	}
}

/* More Mobile Menu Button */
@media only screen and (max-width: 1024px) {
	/* #mobile-menu { cursor: pointer; display: inline-block !important; float: right; margin: 12px 0; width: 100%; visibility: visible !important; text-align: right; color: #000; margin-right: 20px; font-size: 20px; font-weight: bold; } */
	.tier.location-photo {
    padding: 0;
	}
	#mobile-menu {
	    display: table;
	    margin: 10px auto;
	    color: #666;
	    visibility: visible;
	}
	/* #topnav { display: none; position: relative; top: 0px; left: 0px; } */
	#nav-outer { width: 100%; }
	#topnav { display: none; width: 100%; background-color: whitesmoke; }
	#topnav:after{display:none;}
	#topnav .menu-header li, div.menu li { display: block; width: 100%; padding: 0; margin: 0; border-top: #ccc 1px solid; float: none;}
	#topnav ul ul { box-shadow: none; display: none; position: relative; top: 0px; left: 0px; width: 100%; border: none; border-bottom: #ccc 1px solid; padding: 0; margin: 0; }
	#topnav ul ul li { padding: 0; margin: 0; }
	#topnav ul ul ul { position: relative; top: 0px; left: 0px; padding: 0; margin: 0; width: 100%; }
	#topnav ul ul a {  width: auto; }
	#topnav ul ul ul a {  width: auto; }
	#topnav li:hover > a, #topnav ul ul :hover > a, #topnav a:focus {
		 background-color: #1d3a66!important;
    color: #fff;}
	#topnav ul li ul { display: none; width: 100%!important; float: none!important; padding: 0!important;}
	#topnav a { line-height:normal;}
	#topnav ul li.current-menu-ancestor > a  {
		background: #dbdbdb;
		margin-left: 0px;
		border-radius: 0px;
		width: 100%;
	}
	.tier { padding: 40px 0; }
	.sl-content { width: 100%; }
	.open-icon { display: none; }
	.tier.container { padding: 40px 30px; }

	.sale-left img { width: 90%; }
	.sale-right img { width: 90%; }
	.slide-2 { min-height: auto; }

	.seo-spacer { height: 80px; }
	.sleep-wizard-div .half-div { padding: 0 20px; }
	.menu-header ul#menu-menu-new li.menu-item-has-children:after {
	    content: "";
	    position: absolute;
	    left: 95%;
	    top: 5px;
	    /* border-width: 3px; */

	}
	.menu-header ul#menu-menu-new li.menu-item-has-children{
		position: relative!important;
	}
	.organization-img { width: 100%; }
	.hp-brands img { margin: 65px 10px 0; }
	.slide .container { width: 100%; }
	.slide-3 .container { padding: 0 !important; }

	.footer-nav-div .thirds-div { padding-right: 20px; box-sizing: border-box; }
	.banner-text h3 { font-size: 30px; }
	.banner-text .btn:nth-of-type(2) { margin: 10px 0; }
	#nav-outer{
		 margin-left: 0px;
    float: none;
    clear: both;
		max-width: 100%;
	}
	.logo, .logo-new { z-index: 999; margin: 0 auto; display: table; position: relative;}
	ul#menu-menu-new ul li a{
	  font-family: inherit;
	  font-weight: bold;
	  }

	ul#menu-menu-new ul  {
	    position: relative;
	    top: 0!important;
	    left: 0;
	    float: left;
	    width: 100%!important;
	    z-index: 99999;

	}
	ul#menu-menu-new  ul.sub-menu li.menu-item-has-children {
	  width: 100%;
    float: none;
    position: relative!important;
    min-height: auto;
	}
	ul#menu-menu-new  ul.sub-menu li.menu-item-has-children  a:hover{
	  background-color: #1d3a66;
	}
	ul#menu-menu-new li.align-down{
	  position: relative!important;
	}
	#topnav a, .sub-menu a {
    padding: 10px 20px!important;
    font-size: 16px!important;
    line-height: 1.3!important;
}
.sub-menu li {
padding: 0!important;
}
	ul#menu-menu-new {
/*	 background-color: whitesmoke; */
	}
	ul#menu-menu-new li.align-down ul.sub-menu{
	  top: 0!important;
	  width: 100%!important;
	  float: none!important;
	}
	#topnav .menu-header ul, div.menu ul {
    list-style: none;
    margin: 0;
    padding: 0!important;
    /* display: none; */
}
	ul#menu-menu-new ul.sub-menu li.menu-item-has-children a:hover {
    background-color: #1d3966;
    color: #fff;
}
	ul#menu-menu-new  ul.sub-menu li.menu-item-has-children ul {
	    /* left: 100%; */
	    /* left: 100%; */
	    top: 0!important;
	    position: relative!important;
	    left: 0 !important;
	    border: none!important;
	    box-shadow: none!important;
	    position: relative!important;
	    display: block!important;
	    padding-inline-start: 0;
	    padding: 0!important;
	    width: 100%!important;
	}
	.menu-item-has-children a {
    padding: 0!important;
	}

}

/* Make sure main menu re-appears when scaled up */
@media only screen and (min-width: 1025px) {
	#topnav { display: flex !important; }
}

@media (max-width: 920px) {
	.top-location { display: none; }
}

@media (max-width: 768px) {
	.where-to-find-us, .tier.location-photo {
		width: 100%;
		float: none;
	}
	.mattresses-sold { width: 100% !important; float: none; }
	.store-locator-div { width: 100% !important; float: none; text-align: center; }
	.store-locator { text-align: center; float: none; }
	.hp-specials-div h2 { margin-top: 50px; }
	.guarantee-div .fifths-div { width: 33.33%; margin: 20px 0; }
	.seo-first-tier-image { width: 85%; }
	.seo-second-tier-image { width: 85%; }
	.sleep-wizard-div .half-div { width: 100%; float: none; }
	.sleep-wizard-box { width: 100%; padding: 20px 40px; }
	.hp-brands { padding-top: 20px; }
	.hp-brands img { margin-top: 20px; }
	.news-div .thirds-div { padding: 0 14px; }
	.slide-3 .container { width: 75%; }
	.footer-nav-div { width: 50% !important; }
	.newsletter-div { width: 50% !important; }
	.footer-contact { width: 100% !important; padding-top: 50px; }
	.branding-collection-box { width: 49%; }
	/* .hp-brands { margin-top: 0; } */
	.hp-brands { margin-top: 40px; }
	.hp-brands img { margin: 0; box-sizing: border-box; padding: 1%; width: 49%; }
	ul.products li.cat-li a.add_to_cart_button, a.button.product_type_variable, a.button.product_type_simple.ajax_add_to_cart { font-size: 12px !important; padding: 5px 10px !important; }
	.branding-banner { background-size: contain !important; min-height: 90px; height: auto; }
	span.woocommerce-Price-amount.amount { font-weight: bold; font-size: 18px; }
	.single-product.woocommerce div.product form.cart { margin-bottom: 0; }
	.variations { margin: 1em 0 0 !important; }
	.single_variation_wrap { margin: 0 0 20px !important; }
	header.woocommerce-products-header.cat-header.tier.text-center.checkout-padding { padding: 0 0 20px !important; }
	.checkout-image, .checkout-description { width: 100% !important; max-width: 100% !important; }
	.woocommerce-message { padding: 1em 1em 1em 2em; }
	.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before { top: .5em; left: .5em; }
	input.newsletter-submit.btn { margin-bottom: 20px; }
	img.alignleft, img.alignright, img.aligncenter { max-width: 100%; height: auto; }
	#topnav #mega-menu-wrap-primary #mega-menu-primary[data-effect="fade_up"] li.mega-menu-item.mega-menu-megamenu > ul.mega-sub-menu, #mega-menu-wrap-primary #mega-menu-primary[data-effect="fade_up"] li.mega-menu-item.mega-menu-flyout ul.mega-sub-menu, ul.mega-sub-menu { min-width: 300px; margin-top: 0 !important; }
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item { padding: 5px 10px; }
	.tablinks { margin: 10px auto !important; }
	.location-box, .phone-numbers-tier .half-div { width: 100%; }
	.row.split-page-layout { margin: 10px 0; }
	.row.split-page-layout, .col-6.text-center, .col-6.section-content { display: inline-block; }
	.progress-tracker-container { display: none; }
	#mega-menu-item-2495 .mega-sub-menu { min-width: 100px; overflow: inherit !important; }
}

@media only screen and (max-width: 736px) {
  /* iPhone, Android rules here */
  .desktop-only {
	  display:none !important;
  }
	.half-div { width: 100%; float: none; }
	.sale-left { margin-bottom: 30px; }
	.hp-seo-div-1 { padding: 30px 0; }
	.hp-seo-div-2 { padding: 30px 0; }
	.seo-spacer { display: none; }
	.seo-first-tier-image { width: 100%; }
 	.seo-second-tier-image { width: 100%; }
 	.thirds-div { width: 50%; float: left; }
 	.news-div img { width: 100%; height: auto; }
 	.newsletter-div { width: 100% !important; text-align: center !important; }
 	.fifths-div { width: 50% !important; }
 	.review-left { float: none; padding: 0; }
 	.review-slideshow { height: auto; }
 	.m-banner { display: block; padding-bottom: 40px; }
 	.hp-banner { display: none; }
 	.top-phone { display: none; }
 	.top-bar { display: none; }
 	.logo, .logo-new { width: 100%; text-align: center; position: inherit; }
 	.logo img, .logo-new img  { width: 80%; }
 	.mattresses-sold h3 { display: none; }
 	.locations-div a { margin: 10px 0; display: block; font-size: 24px; }
 	.store-locator { font-size: 24px; }
 	.slide-2 .container { padding: 0; }
 	.sleep-wizard-div .half-div { padding: 0; }
 	.sleep-wizard-box { padding: 20px; }
 	/* .find-the-bed { display: none; }
 	.find-the-bed-m { display: block; background: #1c3965; text-align: center; padding: 30px 0; }
	 .find-the-bed-m h2 { color: #fff; margin-top:0; }  */
	 .woof_price_search_container.woof_container, .woof_container.woof_container_mselect.woof_container_product_cat.woof_container_1.woof_container_productcategories, .woof_container.woof_container_mselect.woof_container_pa_size.woof_container_2.woof_container_productsize { max-width: 100%; }
 	.sale-prev { display: none; }
 	.sale-next { display: none; }
 	.sale-pager { font-size: 40px; }
 	.newsletter-div img {  }
 	.footer-contact p { display: none; }
 	.footer-contact h3 { margin-top: 20px; }
 	.footer-social { margin-top: 20px; }

	.footer-nav-div .footer-nav { text-align: center !important; }
	.footer-nav-div { display: none; }
	.footer-nav-div p { text-align: center; }
	.footer-nav-div .thirds-div { padding-right: 0; }

	.footer-nav-m { display: block !important; }
	#menu-footer-mobile-menu { margin: 40px 0 0; padding: 0; text-align: center; }
	#menu-footer-mobile-menu li { list-style-type: none; padding: 0; margin: 10px 0; }
	#menu-footer-mobile-menu li a { text-decoration: none; color: #fff; }

	/* .hp-brands img { width: 49% !important; padding: 0 30px !important; } */
	.news-div .thirds-div { padding: 0; width: 100%; }
    .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
    .col-7, .col-8, .col-9, .col-10, .col-11, .col-12{float: none !important; width: 100% !important; max-width: 100%;}

}

@media (max-width: 479px) {
	.fifths-div { width: 100% !important; }
	.thirds-div { width: 100%; float: none; }
}

@media only screen and (max-width: 320px) {
  /* iPhone, Android rules here */
  .branding-banner { min-height: 60px; }

}




/* ////////////////////////////////////////////////////////////
/* ///  NEW HEADER - 2021
/* //////////////////////////////////////////////////////////*/
@media (max-width: 1130px) {
	.top-bar-2021 .container {
		flex-direction: column;
	}
	.top-bar-2021 .logo-new {
		margin-bottom: 20px;
	}
}

@media (max-width: 1024px) {
	#nav-outer-new #menu-menu-new {
		display: block;
	}
	#nav-outer-new .menu-header ul#menu-menu-new li.menu-item-has-children::after {
		right: 25px;
	}
}

@media (max-width: 768px) {
	.top-bar-2021 .logo-new {
		margin-bottom: 0;
	}
	.top-bar-2021 .top-bar-nav-new {
		display: none;
	}
	.top-bar-2021 {
		display: flex !important;
	}
}
