
/* Reset
----------------------------------------------------------------------------------------*/
html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,label,select,option,blockquote,fieldset,input { margin: 0; padding: 0; }

ul, ol {
	list-style:none;
}

img {
	border:none;
}

:focus {
	outline: 0;
}

h1,h2,h3,h4,h5,h6 {
	font-weight: normal;
	font-size: 100%;
}
q:before,q:after {
	content:'';
}


.floatleft {
	float:left;
	margin:0px;
	padding:5px 10px 10px 0px;
}

.clear {
	clear:both;
}


.clearfix {
    content: ".";
    display: inline;
    height: 0;
    clear: both;
    visibility: hidden;
 }


.floatright {
	float:right;
	padding:0px;
	margin:0px 0px 0px 0px;

}

hr {
	display:block;
	height:1px;
	border-top:none;
	border-left:none;
	border-right:none;
	border-bottom:1px solid #acacac;
	padding:0px 0px 0px 0px;
	margin:-3px 0px 25px 0px;
}


.divider {
	display:block;
	height:4px;
	border-top:none;
	border-left:none;
	border-right:none;
	border-bottom:4px solid #ad2323;
	padding:0px 0px 0px 0px;
	margin:0px 0px 18px 0px;
	overflow:hidden;
}


/* END Reset
----------------------------------------------------------------------------------------*/






/* START GLOBAL STYLES
----------------------------------------------------------------------------------------*/



body {
	background-color:#eef3fa;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#3f1823;
	text-align:center;
}



#outer-wrapper {
	width:846px;
	margin:0px auto;
	padding:34px 0px 34px 0px;
	display:block;
	text-align:left;
	
}

#wrapper {
	width:846px;
	margin:0px auto;
	padding:0px 0px 0px 0px;
	display:block;
	text-align:left;
	background:url(../images/outer_bg.gif) repeat-y 0 0 #ffffff;
}



a {
	color:#3f1823;
	text-decoration:none;
}

a:hover, a:active {
		text-decoration:underline;
}




h3 {
	font-size:18px;
	color:#310713;
	line-height:22px;
	margin:0px 0px 15px 0px;
	font-weight:bold;
}

h4 {
	font-size:14px;
	font-weight:bold;
	color:#3f1823;
	line-height:16px;
	margin:0px 0px 15px 0px;
}


/* END GLOBAL STYLES
----------------------------------------------------------------------------------------*/

















/* START HEADER STYLES
----------------------------------------------------------------------------------------*/



#header {
	background:url(../images/top_curve_bg.gif) no-repeat 0 0;
	width:840px;
	height:107px;
	padding:31px 3px 0px 3px;
	margin:0px 0px 15px 0px;
}

#logo {
	width:268px;
	float:left;
	height:92px;
	padding:0px 0px 0px 7px;
}

#logo a {
	background:url(../images/memory_foam_logo.gif) no-repeat 0 0;
	width:268px;
	height:0px;
	padding-top:92px;
	overflow:hidden;
	display:block;
	cursor:pointer;
}




/*--------------------------navigation----------------------------*/



#nav {
	width:554px;
	float:right;
	background:url(../images/grad_bg.gif) repeat-x 100% 100%;
	padding:0px 0px 15px 0px;
}

#tabs {
	display:block;
	float:left;
	padding:0px 9px 0px 9px;
}


#tabs ul li {
	float:left;
	margin:0px 1px 0px 0px;
	background:url(../images/tab_right.gif) no-repeat right top;
	height:35px;
	display:block;
	cursor:pointer;
}

#tabs ul li a {
	background:url(../images/tab_left.gif) no-repeat left top;
	height:25px;
	float:left;
	display:block;
	padding:10px 13px 0px 13px;
	font-size:14px;
	font-weight:bold;
	color:#ffffff;
	cursor:pointer;
	text-decoration:none;
}


#tabs ul li:hover, html #tabs ul li.active {
	background:url(../images/tab_right.gif) no-repeat right -35px;

}

#tabs ul li a:hover, html #tabs ul li.active a {
	background:url(../images/tab_left.gif) no-repeat left -35px;

}




#tabs-container {
	width: 554px;
	clear: both;
	background-color:#851737;
	float:left;
}


.tab-content {
	padding:0px 0px 0px 0px;
}



/*------------------------drop down--------------------------*/

.ddsmoothmenu ul {
	padding:0px 0px 0px 10px;
}


.ddsmoothmenu ul li {
	float:left;
	height:20px;
	padding:3px 0px;
	position: relative;
	
}


.ddsmoothmenu ul li a {
	font-size:12px;
	color:#ffffff;
	font-weight:bold;
	text-decoration:none;
	float:left;
	height:20px;
	line-height:15px;
	margin:0px 30px 0px 0px;
	padding:0px 0px 0px 0px;
}

.ddsmoothmenu ul li a:hover {
	float:left;
	background:url(../images/nav_hover_right.gif) no-repeat right top;
	height:20px;
	color:#80ceea;
	display:block;
	cursor:pointer;
}

.ddsmoothmenu ul li span {
	font-size:12px;
	color:#ffffff;
	font-weight:bold;
	text-decoration:none;
	float:left;
	height:17px;
	line-height:13px;
	padding:3px 9px 0px 9px;
}

.ddsmoothmenu ul li span:hover {
	background:url(../images/nav_hover_left.gif) no-repeat left top;
	height:17px;
	float:left;
	display:block;
	font-size:12px;
	font-weight:bold;
	color:#80ceea;
	cursor:pointer;
	text-decoration:none;
	padding:3px 9px 0px 9px;
}

.ddsmoothmenu ul li a.parent_nav
{
	background:url(../images/right.gif) center right no-repeat;
	color: #80ceea;
	padding-right:5px;
	text-decoration:none;
}

.ddsmoothmenu ul li a.parent_nav span:hover {
	background:url(../images/nav_hover_left_active.gif) no-repeat left top;
	height:24px;
	padding-left:11px;
}

.ddsmoothmenu ul li a:link, .ddsmoothmenu ul li a:visited{
color: #fff;
}

.ddsmoothmenu ul li a.selected{
background:url(../images/nav_hover_right.gif) #310713 center right no-repeat;
color: #80ceea;
}

.ddsmoothmenu ul li a.parent_nav.selected{
background:url(../images/nav_hover_right_active.gif) #310713 center right no-repeat;
height:24px;
margin:0px 23px 0px 0px;
padding-right:12px;
color:#80ceea !important;
}

.ddsmoothmenu ul li a.parent_nav.selected span {
	background:url(../images/nav_hover_left_active.gif) no-repeat left top;
	color:#80ceea;
	height:24px;
	padding-left:9px;
}

.ddsmoothmenu ul li a:hover{
background:url(../images/nav_hover_right.gif) #310713 center right no-repeat;
color:#80ceea;
}

.ddsmoothmenu ul li a.parent_nav:hover{
background:url(../images/nav_hover_right_active.gif) #310713 center right no-repeat;
height:24px;
margin:0px 23px 0px 0px;
padding-right:12px;
color:#80ceea;
}

/*1st sub level menu*/
.ddsmoothmenu ul li ul{
	background:#310713 !important;
position: absolute;
left:0;
display: none; /*collapse all sub menus to begin with*/
padding:0 0 10px 0px !important;
margin:0 !important;
top:24px !important;
visibility: hidden;
}

ul.colored{
	background:#090 !important;
}

/*Sub level menu list items (undo style from Top level List Items)*/
.ddsmoothmenu ul li ul li{
display: list-item;
float: none;
margin:0 !important;
}

/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.ddsmoothmenu ul li ul li ul{
top: 6px !important;
}

/* Sub level menu links style */
.ddsmoothmenu ul li ul li a, .ddsmoothmenu ul li ul li a.parent_nav{
width: 180px; /*width of sub menus*/
padding: 5px 10px 2px 10px !important;
margin:0 !important;
background:#310713;
border-top-width: 0;
border-bottom: 1px solid #46202b;
font-size:12px;
font-weight:normal;
}

.ddsmoothmenu ul li ul li a:hover, .ddsmoothmenu ul li ul li a.parent_nav:hover, .ddsmoothmenu ul li ul li a.parent_nav.selected
{
	background:#310713;
	color:#80ceea;
	text-decoration:underline;
}

.ddsmoothmenu ul li ul li a.parent_nav:hover, .ddsmoothmenu ul li ul li a.parent_nav.selected
{
padding: 5px 10px 0px 10px !important;
}

.ddsmoothmenu ul li ul li a.parent_nav.selected span {
	background:none;
	height:auto;
}

.downarrowclass{
position: absolute;
top: 0px !important;
right: 0px !important;
}

.rightarrowclass{
position: absolute;
top: 0px !important;
right: 0px !important;
}

.ddshadow{
position: absolute;
left: 0;
top: 0;
width: 0;
height: 0;
background: none;
}

.toplevelshadow{ /*shadow opacity. Doesn't work in IE*/
opacity: 0.8;
}

img.downarrowclass
{
	visibility:hidden;
}


/* END HEADER STYLES
----------------------------------------------------------------------------------------*/















/* START MAINBODY STYLES
----------------------------------------------------------------------------------------*/



#mainbody {
	width:826px;
	padding:0px 10px 0px 10px;
	overflow:hidden;
}

#features {
	width:841px;
	overflow:hidden;
	margin:0px -13px 25px 2px;
}

.features-content {
	width:264px;
	float:left;
	background:url(../images/grad_bg.gif) repeat-x 100% 100%;
	padding:0px 0px 15px 0px;
	margin:0px 15px 0px 0px;
}

.features-content h3 {
	background:url(../images/box_topbg.gif) no-repeat 0 0;
	width:248px;
	height:25px;
	display:block;
	margin:0px 0px 1px 0px;
	line-height:18px;
	padding:8px 8px 0px 8px;
}

.features-content .banner {
	display:block;
	margin:0px 0px 1px 0px;
}


/*-------------------subcontent-------------------------*/


#sub-content {	
	width:826px;
	margin:0px 0px 30px 0px;
}






/* END MAINBODY STYLES
----------------------------------------------------------------------------------------*/














/* START FOOTER STYLES
----------------------------------------------------------------------------------------*/



#footer {
	width:846px;
	margin:0px auto;
	padding:30px 0px 0px 0px;
	text-align:center;
}

.copyright, .copyright a {
	font-size:11px;
	color:#979ba0;
}



/* END FOOTER STYLES
----------------------------------------------------------------------------------------*/
