@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i');

/*----------UNIVERSAL ANIMATION----------*/
/*section *{transition:all 0.3s ease-in-out; -webkit-transition:all 0.3s ease-in-out; -moz-transition:all 0.3s ease-in-out;}
#slider *, .parallax{transition:all 0s ease-in-out; -webkit-transition:all 0s ease-in-out; -moz-transition:all 0s ease-in-out;}*/

/*----------GLOBAL RESETS----------*/
*{padding:0; margin:0; outline:0; border:0; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box;}

/*----------HTML5 HELPERS----------*/
header, nav, section, article, aside, footer, hgroup{display:block;}

/*----------GLOBAL DEFAULTS----------*/
html{min-height:100%; height:auto; overflow-y:scroll;}
body{background:#FFF; font-family:'Open Sans', sans-serif; color:#00273B; font-size:17px; line-height:24px; -webkit-text-size-adjust:100%;}

::selection{background:#F1781F; color:#FFF; text-shadow:none;}
::-moz-selection{background:#F1781F; color:#FFF; text-shadow:none;}

.required:after{content:'*'; margin:0 0 0 5px; color:#CC0000;}
.alert{display:inline; color:#CC0000;}

a{text-decoration:none; color:#F1781F;}
a:hover{color:#666;}
a[href="javascript:void(0);"]{cursor:default;}

p{margin:0 0 15px 0; line-height:24px; font-size:17px; color:#00273B;}

ul, ol{padding:0 0 20px 40px;}
ol ol{list-style-type:lower-alpha;}

section li{margin:0 0 5px 0; line-height:18px;}

ul.noBullet, li.noBullet{list-style:none; list-style-type:none;}
.normal{text-align:left!important;}
.normal li{text-align:left; display:list-item!important;}

hr{/*background:#F1781F;*/ clear:both; display:block; height:1px; width:100%; margin:20px auto 30px auto; overflow:hidden;position: relative;/*background:url('/image/data/layout_images/heading-border.png') bottom center no-repeat; padding:0 0 40px 0;*/}
hr:before{content: '';position: absolute;left: 0;top: 0;width: 50%;height: 1px;background-image: linear-gradient(to left, #F1781F 50%, transparent);}
hr:after{content: '';position: absolute;right: 0;top: 0;width: 50%;height: 1px;background-image: linear-gradient(to right, #F1781F 50%, transparent);}

textarea{resize:vertical; min-height:150px; position:relative;}

iframe{clear:both; margin:0 auto 40px auto; display:block;}
iframe.left{margin:0 10px 40px 0;}
iframe.right{margin:0 0 40px 10px;}
.fluid{position:relative; padding-bottom:44%; height:0; margin:0 0 30px 0;}
.fluid iframe{position:absolute; top:0; left:0; width:100%; height:100%; border:none;}

form{width:96%; position:relative;}
input[type="text"], input[type="email"], textarea{width:92%; padding:10px; margin:0 0 10px 0; border:1px solid #CCC; clear:both; border-radius:3px; background:#EFEFEF; background:-moz-linear-gradient(top, #ffffff 0%, #efefef 100%); background:-webkit-linear-gradient(top, #ffffff 0%,#efefef 100%); background:linear-gradient(to bottom, #ffffff 0%,#efefef 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#efefef',GradientType=0 );}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus{background:#FFF; background:-moz-linear-gradient(top, #efefef 0%, #ffffff 100%); background:-webkit-linear-gradient(top, #efefef 0%,#ffffff 100%); background:linear-gradient(to bottom, #efefef 0%,#ffffff 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efefef', endColorstr='#ffffff',GradientType=0 );}

h1, h2, h3, h4, h5, h6{line-height:normal;}
h1{color:#005B89; font-size:28px; margin:0 0 20px 0; padding:0 0 10px 0;}
h2{font-size:24px; color:#005B89; margin:20px 0 10px 0;}
h3{color:#F1781F; font-size:18px; margin:5px 0 10px 0;}
h4{}
h5{}
h6{}

.left{float:left;}
.right{float:right;}
.center{text-align:center;}
.middle{clear:both; display:block; margin-left:auto; margin-right:auto;}

img{max-width:100%;}
section img.left{margin:0 20px 10px 0;}
section img.right{margin:0 0 10px 20px;}
.text.right{text-align:right;}
.text.left{text-align:left;}
.clear{display:block; clear:both; overflow:hidden;}

.message{display:block; clear:both; padding:5px 10px; overflow:hidden; margin:10px 0 0 0; font-size:14px; background:#CCC; color:#444; border:1px solid #444;}
.success{background:#B2E6B0; color:#0A8100; border:1px solid #0A8100; margin:0 0 20px 0;}
.error{background:#E2B3B3; color:#9E1010; border:1px solid #9E1010;}
.error:empty{display:none;}

.twenty{width:19%;}
.thirty{width:29%;}
.forty{width:39%;}
.fifty{width:49%;}
.sixty{width:59%;}
.seventy{width:69%;}
.eighty{width:79%;}
.ninety{width:89%;}
.oneHundred{width:99%;}

table{width:100%; clear:both; overflow:hidden; margin:20px 0;}
table{border-collapse:collapse; table-layout:fixed; display:table; overflow:hidden; margin:10px 0 20px 0;width:99%;}
table th{padding:7px; text-align:left;}
table tbody tr:nth-child(even){background:#EEE;}
table tbody tr:hover{background:#DDD;}
table thead td{padding:30px 0 0 0;}
table tbody td{padding:7px;}
table.show th{text-align:center;}

.container{margin:0 auto; width:1200px; display:block; background:#FFF;max-width: 95%;}

header .container, #slider .contain-outer{margin: 0 auto!important;}
header{position:relative; z-index:2; height:135px; border-bottom:3px solid #F1781F;}
header .container{overflow:visible;}
header img.logo{padding:20px 0 20px 20px; float:left;}
header ul.contact{float:right; margin:10px 0 30px 0; padding:0; list-style-type:none; text-align:right;}
header ul.contact li{display:inline-block; margin:0 0 0 10px; padding:0; font-size:14px;}
header ul.contact li:before{content:'\2022'; margin:0 15px 0 0;}
header ul.contact li:first-of-type:before{content:''; margin:0;}
header ul.contact li a{color:#005B89;}
header ul.contact li a:hover{color:#F1781F;}
header nav{float:right; font-size:17px;}
header nav > ul{list-style-type:none; padding:0; margin:0; text-align:right;}
header nav > ul > li{position:relative; list-style-type:none; display:inline-block; margin:0 0 0 10px; padding:10px; line-height:normal; position:relative;cursor:pointer;}
header nav > ul > li:first-of-type{margin-left:0;}
header nav > ul > li > a{color:#005B89; height:100%; width:100%;}
header nav > ul > li a:hover{color:#F2833B;}
header nav > ul > li.hover > ul{display:block;}
header nav > ul > li > ul{display:none; position:absolute; top:35px; left:0; width:270px; margin:0; padding:0; list-style-type:none; text-align:left; border:1px solid #005B89; box-shadow:0 7px 7px rgba(0,0,0,0.5);}
header nav > ul > li > ul > li{margin:0; padding:0; display:block; line-height:normal; font-size:13px;}
header nav > ul > li > ul > li > a{display:block; padding:5px 10px; background:#005B89; color:#FFF; border-bottom:1px solid #FFF;}
header nav > ul > li > ul > li:last-of-type > a{border-bottom:0;}
header nav > ul > li > ul > li > a:hover{background:#FFF; color:#005B89;}
header nav > ul > li > ul > li > a:empty{display:none;}

header nav li.parent:after, header nav li.has-children:after{content:'\f107'; font-family:FontAwesome;}

#to-top{position: fixed;bottom: 5%;z-index: 999;right: 0;width: 50px;height: 50px;background: #275B88;border-top: 2px solid #fff;border-left: 2px solid #fff;border-bottom: 2px solid #fff;}
#to-top:before{content: " ";border-left: 2px solid #ffffff;border-top: 2px solid #ffffff;width: 20px;height: 20px;transform: rotate(45deg) translateX(-40%);display: inline-block;position: absolute;top: 35%;left: 42%;}
#to-top:after{content:"Top";color:#fff;position: absolute;bottom: 0px;left: 50%;transform: translateX(-50%);}

ul.bxslider{margin:0; padding:0; list-style-type:none;}
ul.bxslider li{margin:0; padding:0; display:block;}

section.home{}
section.home h1, section.home h2, section.home h3{color:#005B89; font-weight:bold; font-style:italic; line-height:normal;}
section.home h1, section.home h2, .products h1 {text-align:center; font-size:34px; background:url('/image/data/layout_images/heading-border.png') bottom center no-repeat; padding:0 0 40px 0; margin:40px auto;}
section.home p{font-size:17px; color:#00273B; line-height:24px;}
section a.button, input[type="submit"]{display:table; margin:30px auto; border:1px solid #F1781F; color:#F1781F; font-size:18px; font-weight:normal; line-height:normal; border-radius:5px; padding:10px;background: transparent;}
section a.button span, input[type="submit"]{font-style:italic;}
section a.button:hover, input[type="submit"]:hover{background:#F1781F; color:#FFF;}
input[type="submit"]{margin:30px 0;}

section.family{margin:60px 0; clear:both; overflow:hidden;}
section.family img{width:100%; line-height:0; padding:0; margin:0;}

section.why{text-align:right;}
section.why .container{background:url('/image/data/layout_images/section-home_why.png') 0 0 no-repeat; overflow:hidden;}
section.why h1, section.why h2, section.why h3{text-align:right; background-position:100% 100%;}
section.why p{text-align:right; float:right; width:-webkit-calc(100% - 450px); width:-moz-calc(100% - 450px); width:calc(100% - 450px);}

section.sizes{background:#DEECFF; padding:60px 0; margin:60px 0 0 0;}
section.sizes .container{background:none;}
section.sizes img{display:block; clear:both; margin:0 auto;}

section.philosophy{background:#F1781F url('/image/data/layout_images/section-home_philosophy.png') no-repeat 50% 50%; padding:60px 0; margin:0; color:#FFF; overflow:hidden;}
section.philosophy .container{background:none; margin:0 auto;}
section.philosophy h2, section.philosophy h3{color:#FFF; font-size:34px;}
section.philosophy p{color:#FFF; width:80%; float:right; font-style:italic;}

section.actionBoxes{background:#DEECFF; border-top:1px solid #FFF; padding:30px 0;}
section.actionBoxes ul{list-style-type:none; padding:0; margin:0; text-align:center;}
section.actionBoxes ul li{display:inline-block; margin:0; padding:0; width:31%;}
section.actionBoxes ul li:nth-of-type(2){margin:0 2%;}
section.actionBoxes ul li a span{display:block; clear:both; text-align:center; font-style:italic;}
section.actionBoxes ul li a img{position:relative; display:block; margin:10px auto 0 auto; clear:both; box-shadow:0 0 30px #FFF, 0 0 30px #FFF; -webkit-filter:grayscale(1); filter:grayscale(1); border:1px solid #F1781F;}
section.actionBoxes ul li a:hover > img{-webkit-filter:grayscale(0); filter:grayscale(0);}
section.actionBoxes ul li a img:before{content:''; position:absolute; top:0; bottom:0; left:0; right:0; width:100%; height:100%; display:block; border:1px solid #F1781F;}

.list-options{display:block; clear:both; overflow:hidden; margin:0 0 10px 0;}
.list-options *{cursor:pointer;}
.list-options .icons{float:left; width:25%; text-align:left;}
.list-options .icons a{margin:0 5px 0 0; font-size:18px; color:#888;}
.list-options .icons a:last-of-type{margin:0;}
.list-options .icons a.active{color:#000;}
.list-options .results{float:right; width:125px; text-align:right;}
.list-options .results label{clear:none; display:inline-block; vertical-align:middle;}
.list-options .results select{width:auto!important; padding:5px 10px; display:inline-block; clear:none;}

ul.productList{margin:0; padding:0; list-style-type:none;}
ul.productList li{display:block; margin:0 0 20px 0; padding:0 0 20px 0; clear:both; border-bottom:1px solid #CCC; overflow:hidden;position: relative;}
ul.productList li .right-side{text-align: right;width:160px;float:right;}
ul.productList li .left-side{text-align:left;width:calc(100% - 160px);float:left;}
ul.productList li a{display:inline-block;margin: 0;}
ul.productList li a.button{position: absolute; bottom:21px; right:0px;font-size:16px; padding:7px;}
ul.productList li .image{float:left; margin:0 20px 0 0; border-radius:3px; width:50%;}
ul.productList li .image img{width:100%;}
ul.productList li .title{display:inline-block; font-weight:bold; color:#005B89; font-size:22px; margin:0 0 10px 0;float:none;}
ul.productList li .short-description{display: block;float: none;margin-top: 20px;}
ul.productList li .price-list{displayv: inline-block;padding: 0;font-size:14px;width:150px;}
ul.productList li .price-list li{display:inline-block;margin: 0;clear: none;padding: 2% 2%;border-bottom: none;width:43%;text-align: left;vertical-align: middle;}

ul.productList li p{color:#444; font-style:italic; font-size:13px;}
ul.productList li p.price{color:#CC0000; font-weight:bold;}

ul.productList.misc li .left-side{width:40%;text-align: center;}
ul.productList.misc li .title{width:100%;}
ul.productList.misc li .right-side{width:60%;}
ul.productList.misc li .short-description{clear:both;}
ul.productList.misc li .image{float:none;display: inline-block;}
ul.productList.misc li .price-matrix td, ul.productList.misc li .price-matrix th{border:1px solid #275B88;}

@media screen and (max-width: 600px){
	ul.productList.misc li .price-matrix{font-size: 14px;}
	ul.productList.misc li td:before{width:90px;}
}
@media screen and (max-width: 450px){
	ul.productList.misc li .price-matrix{font-size: 12px;overflow:hidden;}
	ul.productList.misc li td:before{width:70px;}
}
.grid ul.productList li .left-side, .grid ul.productList li .right-side{width:100%;float:none;display:block;margin:0 auto;}
.grid ul.productList li .button{bottom:0;right:3%;display:block;text-align: center;margin:10px auto;width:90%;right: calc( ( 10% - 16px ) / 2 );}
.grid ul.productList li .price-list{width:100%;}
.grid ul.productList li .price-list li{display:none;}
.grid ul.productList li .title{display: block;float:none;text-align: center;}
.grid ul.productList li .image{display: block;float:none;margin:0 auto;width:70%;}
.grid ul.productList li .short-description{display: block;float:none;margin:0 auto;text-align: justify;}
.grid ul.productList{text-align:left;}
.grid ul.productList > li{display:inline-block; width:30%; margin:0; padding:1%; vertical-align:top; height:350px; text-align:right;border-right:1px solid #CCC;}
.grid ul.productList > li:nth-of-type(3n){border-right:none;}
.grid ul.productList > li a p{line-height:normal; margin:0 0 5px 0;}

.pagination{display:inline-block; width:100%; padding:20px 0;}
.pagination .links{float:left; padding-top:6px;}
.pagination .links a{border:1px solid #DDD; padding:4px 10px; font-size:12px; text-decoration:none; color:#A3A3A3;}
.pagination .links b{border:1px solid #269BC6; padding:4px 10px; font-size:12px; font-weight:normal; text-decoration:none; color:#269BC6; background:#FFF;}
.pagination .results{float:right; padding-top:6px; font-size:12px;}

section.products{margin:60px auto 0 auto;}
section.products article.images{float:left; width:40%; margin:0;}
section.products article.images .default img{width:100%; border-radius:10px;}
section.products .details{float:right; width:50%;}
section.products .details h1{margin-top:0; font-style:italic;}
section.products .tabs p, section.products #tab-description{font-size:14px; margin:0; font-weight:normal; line-height:24px;}
section.products .description div{text-align: center;}
/*section.products h2{text-align:center; margin:30px 0 30px 0; padding:0 0 0 0; clear:both;}*/
section.products .sub-categories-container{background: rgba(0, 0, 0, 0.1);}
section.products .sub-categories-container h3{text-align: center;}
section.products .sub-categories{padding-top: 15px;}
section.products .sub-categories ul{margin:0; padding:0; list-style-type:none; text-align:left;}
section.products .sub-categories li{display:inline-block; vertical-align:bottom; line-height:normal; padding:0; margin:0 0 20px 0; font-style:italic; font-weight:bold;width:100%;text-align: center;}
section.products .sub-categories li a:hover{opacity:0.7;}
section.products .sub-categories li img{width:90%;max-width:200px;display:block;margin: 0 auto;}


section.products .related-products ul{margin:0; padding:0; list-style-type:none; text-align:center;}
section.products .related-products li{display:inline-block; vertical-align:top; line-height:normal; padding:0; margin:0 0 20px 0; font-style:italic; font-weight:bold;width:24%;text-align: center;}
section.products .related-products li a:hover{opacity:0.7;}
section.products .related-products li img{display:block;margin: 0 auto;}


section.products .prices{transform:rotate(-4deg); display:inline-block; font-style:italic; width:auto; height:38px; background-color:#BB1616; border-radius:3px 4px 4px 3px; border-left:1px solid #BB1616; margin:0 0 20px 19px; position:relative; color:#FFF; font-size:22px; line-height:38px; padding:0 10px;}
section.products .prices:before{content:''; position:absolute; display:block; left:-19px; width:0; height:0; border-top:19px solid transparent; border-bottom:19px solid transparent; border-right: 19px solid #BB1616;}
section.products .prices:after{content:''; background-color:#FFF; border-radius:50%; width:4px; height:4px; display:block; position:absolute; left:-9px; top:17px;}
section.products .price-matrix table{table-layout: auto;text-align: left;overflow:auto;width:99%;}

section.products .warranty{text-align: center;}

section.products .construction-options{list-style: none;text-align: left;vertical-align: top;padding-left:0;}
section.products .construction-options > li.category{display: inline-block; width:32%;vertical-align: top;text-align: center;}
section.products .construction-options > li.category h2{max-width:100%;text-align: center;margin:15px 0;padding-top:0;}
section.products .construction-options > li.category ul{display: inline-block; padding-left:30px;text-align: left;}
section.products .construction-options > li.category ul li{}

.details h1{text-align:left!important;}
.details .price{display:block; clear:both; overflow:hidden; border-top:1px solid #CCC; border-bottom:1px solid #CCC; padding:10px 0; margin:30px 0; font-weight:bold; font-size:24px; font-style:italic;}
.details .price span{font-weight:normal; font-size:18px; float:left; width:200px; margin:3px 0 0 0; color:#CC0000; font-style:normal;}
.details ul.links{list-style-type:none; margin:0 0 20px 0; padding:0;}
.details ul.links li{display:inline-block; margin:0 20px 0 0; padding:0;}
.details ul.links li:last-of-type{margin:0;}
.details ul.links li a{color:#000; font-size:14px;}
.details ul.links li a:hover{color:#666;}
.details ul.links li a .fa{margin:0 5px 0 0;}

section.products .more-images{margin:20px 0 0 0; text-align:left;}
section.products .click-to-enlarge{text-align: center;font-size: 12px;margin-bottom:10px;}
section.products .more-images img{display:inline-block; margin:0 5px 10px 5px; width:100px; height:80px;}

section.products.rv_mattress .description-container .category-image img{display:block;margin:0 auto;}
section.products.rv_mattress .category-container table{width:100%;}
section.products.rv_mattress .category-container table th:first-of-type, section.products.rv_mattress .category-container table td:first-of-type{width:30%;}
section.products.rv_mattress .category-container table td:before{display:none;}
section.products.rv_mattress .category-container table td:nth-of-type(1):before { content: "Product";}
section.products.rv_mattress .category-container table td:nth-of-type(2):before { content: "Model";}
section.products.rv_mattress .category-container table td:nth-of-type(3):before { content: "Size";}
section.products.rv_mattress .category-container table td:nth-of-type(5):before { content: "Price";}
	
article{}

footer{position:relative; clear:both; padding:20px; margin:0; color:#FFF; overflow:hidden; background:#275B88; color:#FFF; border-top:10px solid #4F85FF;}
footer .container{background:none;}
footer a{color:#FFF; text-shadow:1px 1px 0 #300; border-bottom:1px dotted #FFF;}
footer a:hover{border-bottom:1px solid #FFF; color:#FFF;}
footer img.logo{float:left;}
footer ul.contact{float:right; list-style-type:none; padding:0; margin:0; text-align:right;}
footer ul.contact li{display:block; margin:0; padding:0;}
footer ul.contact li a{color:#FFF;}
footer .copyright{display:block; text-align:right; margin:20px 0 0 0; clear:both; color:#FFF; font-size:12px;}
footer ul{}
footer li{margin:0 0 10px 0; line-height:normal;}
footer li span{display:inline-block; width:60px;}
footer li a{}
footer img.badge{position:absolute; z-index:1; width:150px; top:10px; right:10px; background:#FFF; padding:10px; border-radius:50%;}

header .hamburger{position:absolute; top:10px; right:10px; z-index:9;}
header .hamburger img{margin:0 10px 0 0; float:right;}

.mobile, .hide{display:none;}

.pswp__ui--hidden{display:none;}

.bx-wrapper img{margin:0!important;}

/**
	*	FOR SMALL DEVICES (phones, tablets, etc.) 
	*	KEEP THIS AT THE BOTTOM OF THE OTHER CSS STYLES.  THIS SHOULD ALWAYS BE LAST! 
*/
@media screen and (max-width:1350px){}


@media screen and (max-width:1300px){}


@media screen and (max-width:1200px){}


@media screen and (max-width:1100px){}


@media screen and (max-width:1250px){
	section.philosophy{background-position-x:25%;}
}

@media screen and (max-width:1180px){
	header ul.contact li{font-size:12px;}
	header nav{font-size:14px;}
}

@media screen and (max-width:1020px){
	.desktop{display:none!important;}
	.mobile{display:block!important;}
	
	header{height:auto; overflow:hidden;}
	header nav{display:none;}
	.mm-opened header .hamburger img{display:none;}
	.mm-opened header .hamburger img.hide{display:block!important;}
	.mm-footer{box-shadow:0 0 20px #000;}
	.mm-menu{font-family:sans-serif;}
	.mm-list > li > a, .mm-list > li > span, .mm-list, .mm-list > li{text-align:left!important;}
	
	header ul.contact{margin:10px 50px 0 0; padding:0; list-style-type:none;}
	header ul.contact li:before{content:''; margin:0;}
	header ul.contact li{display:block; margin:0; padding:0;}
	
		.left, .right{display:block; float:none;}
	section img.left, section img.right{margin-left:auto; margin-right:auto;}
	.twenty, .thirty, .forty, .fifty, .sixty, .sixtyFive, .seventy, .eighty{width:auto;}
	section.grey .thirtyThree{width:auto;}
	section.grey .thirtyThree:nth-child(2){margin:10% 0;}
	form{width:100%; margin:0 0 20px 0; overflow:hidden;}
	iframe{display:block; width:98%; clear:both;}
	h1, h2, h3, h4, h5, h6{}
	img{display:block; margin:5px auto;}
	.clear{display:inline; clear:none;}
	section img.inquire{float:right; margin-top:0;}
	.container{width:95%;}
	.fluid{padding-bottom:60%; display:block; margin:0 auto 30px auto!important;}
	/*header nav{display:none!important;}*/
	section.products .construction-options > li.category{width:49%}
	
	section.products .sub-categories-container{margin-bottom:10px;}
	section.products .sub-categories{text-align: center;}
	section.products .sub-categories ul{display: inline;text-align: center;}
	section.products .sub-categories li{width:130px;vertical-align: top;margin-bottom: 5px;}
	section.products .sub-categories li a{height:100%;width:100%;}
	section.products .sub-categories li .title{vertical-align: bottom;}
	section.products .sub-categories li img{max-width:100%;height:70px;width:initial;}
	
	section.products .ui-tabs .ui-tabs-nav .ui-tabs-anchor{padding:1em .5em;}
	
	.list ul.productList li .title{display: block; text-align: center;margin: 0 0 25px 0;}
	.list ul.productList li .left-side,ul.productList li .right-side{display:block;float:none;margin: 0 auto;width:75%;text-align: center;}
	.list ul.productList li .image{float:none; display:block;margin:0 auto;width:60%;}
	.list ul.productList li .price-list{display: block;margin:10px auto;text-align: left;}
	.list ul.productList li a.button{position: relative;display:block;bottom:0;right:0;margin: 10px auto;text-align: center;}
	.list ul.productList li .price-list li{text-align: center;}
	
	section.contact .left{width:59%;float:left;}
	section.contact .right{width:39%;float:right;}
	section.products .price-matrix{width:59%;float:right;font-size: 15px;}
}

@media screen and (max-width:850px){
	.container{width:96%;max-width:96%;}
	
	.grid ul.productList li:nth-of-type(3n){border-right: 1px solid #ccc;}
	.grid ul.productList li:nth-of-type(2n){border-right: none;}
	.grid ul.productList li{width: 47%;}
	
	section.home p{text-align: center;}
	section.why p{width: 100%;float:none;text-align: center;}
	section.philosophy p{text-align: right;}
	section.why .container{background: none;}
	section.why h2{text-align: center;background-position:bottom center; margin: 20px auto;}
	section.family{margin: 20px 0;}
	
	/********* MOBILE TABLE ***************/
	table, thead, tbody, th, td, tr {display: block;}
	thead tr {position: absolute;top: -9999px;left: -9999px;}
	/*tr{border: 1px solid #ccc;}*/
	td{border: none;border-bottom: 1px solid #eee; position: relative;padding-left: 50%;}
	td:before {width: 125px; padding-right: 10px; white-space: nowrap;position:static;display: inline-block;font-weight: bold;}
	
	section.products .price-matrix tbody tr:nth-child(even){background: none;}
	section.products .price-matrix tbody td:nth-child(even){background: #eee;}
	section.products .price-matrix td{padding:0px;border: none!important;}
	section.products .price-matrix td:nth-of-type(1){width:71%; float:left;background: #eee;border: none!important;}
	section.products .price-matrix td:nth-of-type(2){width:28%; float:left;clear:right;border: none!important;}
	section.products .price-matrix td:nth-of-type(1):before { content: "Size";}
	section.products .price-matrix td:nth-of-type(3):before { content: "Mattress";transform: translateX(15%);}
	section.products .price-matrix td:nth-of-type(4):before { content: "Foundation";transform: translateX(15%);}
	section.products .price-matrix td:nth-of-type(5):before { content: "Set";transform: translateX(15%);}
	
	section.products.rv_mattress .category-container table td:before{display:inline-block;width:100px;}
	section.products.rv_mattress .category-container table td:nth-of-type(3){float:left;width:calc(68% - 14px);}
	section.products.rv_mattress .category-container table td:nth-of-type(4){float:left;width:calc(32% - 14px);white-space: nowrap;}
	section.products.rv_mattress .category-container table th:first-of-type, section.products.rv_mattress .category-container table td:first-of-type{width:inherit;}
}

@media screen and (max-width:800px){
	section.contact{text-align: center;}
	section.contact .left{width:auto;float:none;}
	section.contact .right{width:auto;float:none;}
	section.products .price-matrix{width:auto;float:none;}
	section.products article.images{float:none;margin:0 auto;width:450px; max-width: 100%;}
	
	
}

@media screen and (max-width:750px){
	section.products .construction-options > li.category{width:100%;}
	.container{width:98%;max-width:98%;}
	section.products .related-products li{width:49%}
}

@media screen and (max-width:650px){
	header img.logo{display:table; margin:20px auto; padding:0; clear:both; float:none;}
	
	header ul.contact{display:block; clear:both; text-align:center; padding:0; margin:0 0 20px 0; float:none;}
	header ul.contact li{display:inline-block; margin:0 10px;}
	header ul.contact li:first-of-type{margin-left:0;}
	header ul.contact li:last-of-type{margin-right:0;}
	
	
	section.actionBoxes ul li{width:100%;margin-bottom: 30px;}
	section.actionBoxes ul li:nth-of-type(2){margin-left:0;margin-bottom: 30px;}
	.list ul.productList li .left-side, ul.productList li .right-side{width:100%}
}


@media screen and (max-width:600px){
	.grid ul.productList{text-align: center;}
	.grid ul.productList li{width:500px; max-width:100%;border-right:none;height:inherit;}
	.grid ul.productList li .right-side{margin-bottom:50px;}
	.grid ul.productList li:nth-of-type(3n){border-right: none;}
	
	section.products .top-category li img{display: block; width:75%;margin:0 auto;float:none;}
	.list ul.productList li .image{width:75%;}
}


@media screen and (max-width:525px){}


@media screen and (max-width:500px){
	header ul.contact li{font-size:11px;}
	.grid ul.productList li .image{width:100%;}
	section.products.rv_mattress .category-container table td:before{width:85px;}
}

@media screen and (max-width:400px){
	section.products .related-products li{width:99%}
	.list ul.productList li .image{width:100%;}
}

@media screen and (max-width:380px){
	header img.logo{width:60%;}
}





