html {
	font-size: 62.5%
}

body {
	font: 1.4em Helvetica, Arial, sans-serif;
	color: #535353;
	line-height: 1.8em;
	background: #fff url(../images/body_bg.jpg) repeat-x;
}

#main_content p {padding: 6px 0;}

/* headings */

h1, h2, h3, h4 {
	font-weight: bold;
	font-family: Helvetica, Arial, sans-serif;
	}

h1 {
	font-size: 2em;
	margin: .6em 0 .4em;
	color: #956942;
}

h2 {
	font-size: 1.75em;
	margin: .5em 0 .25em;
	color: #517d96;
}

h3 {
	font-size: 1.5em;
	margin: .4em 0 .2em;
}

h4 {
	font-size: 1.25em;
	margin: .3em 0 .15em;
}


a:link, a:visited {
	color: #517d96;
	text-decoration: none;
	border-bottom: 1px dotted #517d96;
	padding: 1px;
}

a:hover, a:active {
	border-bottom: 1px solid #517d96;
	background-color: #ffffcc;
}

#nav a, #secondary_nav a, #tertiary_nav a, #footer_nav a {
	border-bottom: 0;
}


#headline {
	color: #956942;
	margin: 52px auto 17px;
	font-size: 1.2em;
}

#headline p {
	font-size: 1.8em;
	font-weight: bold;
	letter-spacing: 1px;
	margin: 0;
	padding: 0;
}

#headline h1 {
	font-size: .95em;
	font-weight: normal;
	padding: 0 0 15px;
	margin: 0;
}


#actions h2 {
	font: bold 1.6em helvetica, arial, sans-serif;
	color: #956942;
	padding: 0;
	margin: 0;
	}

#actions ul {
	list-style-type: disc;
	list-style-position: inside;
	font-size: 15px;
	margin: 6px;
}

#actions li {
	padding: 4px 0;
}

#actions .testimonial {
	margin-top: 15px;
	font-size: 14px;
	}
#newsletter input {
		padding: 3px;
		margin-bottom: 5px;
}

#newsletter button {
	margin-left: 120px;
	}

strong {font-weight: bold;}

em {font-style: italic;}

ul {
	list-style-type: disc;
	list-style-position: inside;
	text-indent: 1em;
}


#footer_links {
	color: #a8beca;
	margin-top: 15px;
}

#footer_links a {
color: #a8beca;
border: 0;
}

#footer_links a:hover {
color: #517D96;
border-bottom: 1px solid;
}


#footer_nav ul {
	display: inline;
}

#footer_nav li {
	float: left; 
	padding: 0 5px;
	list-style-type: none;
}

#footer_nav a:link, #footernav a:visited {
	border: 0;
	color: #518468;
}

#footer_nav a:hover, #footer_nav a:active {
	border-bottom: 1px solid;
}


a.pic_link, a.pic_link:hover {
	margin: 0; 
	padding: 0; 
	border: 0;
}

#opening {
	font: bold 1.4em Helvetica, Arial, sans-serif; 
	line-height: 1.6em;
}


ul.yes, ul.no {
	text-indent: 20px;
}


#mattresses #mattresses_subnav a,
#pillows  #pillows_subnav a,
#bedding #bedding_subnav a,
#furniture #furniture_subnav a,
#testimonials #testimonials_subnav a,
#contact #contact_subnav a,
#blog #blog_subnav a,
#site_map #site_map_subnav a
{
	border-bottom: 1px solid;
}


#secondary_nav  {
	margin-top: 15px;
	padding: 0;
}

#secondary_nav ul {
	list-style-type: none;
	text-indent: none;
}

#secondary_nav li {
	display: inline;
	padding-left: 30px;
}

#secondary_nav a:link, #secondary_nav a:visited {
	color: #517d96;
	font:  1.2em "trebuchet ms", helvetica, sans-serif;
	text-decoration: none;
	padding: 4px 8px;
}

#secondary_nav a:hover, #secondary_nav a:active {
	color: #517d96;
	background-color: #d8e2e9;
}

.active {
	background-color: #d8e2e9;
}

.solution {
	background-color: #ffffcc;
	border-top: 1px dotted #D8E2E9;
	border-bottom: 1px dotted #D8E2E9;
	padding: 10px;
}

.solution h3 {
	color: #956942;
	font: bold 1.6em "trebuchet ms", helvetica, arial, sans-serif;
}


/* price list table */

caption {
	display: none;
}

td {
	padding: 5px;
	text-align: center;
	font-size: .95em;
}


th {
	color: #fff;
	background-color: #7ea0b6;
	border-top: 1px solid #7ea0b6;
	border-bottom: 1px solid #7ea0b6;
	border-right: 1px solid;
	border-left: 1px solid;
	text-align: center;
	font: bold 1.6em helvetica, arial, sans-serif;
	padding: 10px;
}


.product_table span {
	font: normal .6em helvetica, arial, sans-serif;
}

.product_table {
 text-align: center;
}

.stripe {
	background-color: #ffffcc;
}

.type {
	font: bold .8em "trebuchet ms", helvetica, arial, sans-serif;
}

.model {
	font-weight: bold;
	font-size: 1.2em;
	text-align: left;
	width: 110px;
}

.subject {
	font: bold 18px Helvetica, Arial, sans-serif;
	padding: 10px;
	text-align: left;
	text-transform: uppercase;
	}
	
.optional {
	font-size: .9em;
}

#orphan {
	border-bottom: 1px solid #7ea0b6;
}

.rbdr {
	border-right: 1px solid #7ea0b6;
}


#bookend_l {
	border-left: 1px solid #7ea0b6;
}

#bookend_r {
	border-right: 1px solid #7ea0b6;
}

#footnotes p {
margin: 0; 
padding: 0;
font-size: .9em;
}

#footnotes td {
	border-top: 1px solid #7ea0b6;
	text-align: left;
	}

legend {
	font: bold 1.2em helvetica, arial, sans-serif;
	}

input, textarea {
	background-color: #ffffcc;
	color: #535353;	
	font: 1em Helvetica, Arial, sans-serif;
	padding: 5px;
}

#mag {
	background: transparent;
	margin-bottom: -8px;
	padding: 0;
	}
	
#search_form {
	padding: 2px;
	color: #535353;
	font-family: "trebuchet ms", helvetica, sans-serif;
	margin-top: 10px;
	}
	
button, .zemSubmit  {
	padding: 2px; 
	border: 3px double #ccc;
	background: #fff url(../images/button_bg.jpg) repeat-x;
	color: #535353;
	font-size: .8em;
	}

.zemSubmit {font-size: 1.3em;}

a.entry, a.entry:hover {border: 0;}

#whitepaper {
	color: #956942; 
	font-size: 13px; 
	line-height: 1.4em; 
	padding-bottom: 4px;
}

#faq h2 {font-size: 1.3em;}


.testimonial  {
	font: bold 1.1em helvetica, sans-serif;
	color: #956942;
	border-top: 1px dotted #d8e2e9;
	border-bottom: 1px dotted #d8e2e9;
	background-color: #ffffcc; 
	line-height: 1.4em; 
	padding: 10px;
	margin: 6px;
	}
	
.long {
	width: 380px;
	}

.testimonial span {
	font: .8em "trebuchet ms", helvetica, sans-serif;
	color: #535353;
	}	
	
legend {
	color: #535353;
	margin; 0;
	padding: 0;
	}
	
	
.result_link a {
	color: #956942;
	}	

a.home_link {color: #fff;}

a.home_link:hover {
	background-color: #fff; 
	color: #7ea0b6;
	}
	
#breadcrumbs, #breadcrumbs a:link  {
	color: #999;
	font-size: 12px;
	}
	
#breadcrumbs {
	margin: 35px 0 0 25px;
	}
	
a.store-link {
	padding: 6px 12px;	
	font-size: 16px;
	background-color: #517D96;
	color: #fff;
	}
	
a.store-link:hover {
	background-color: #956942;
	}

/* home page hero */
#hero {
	width: 860px;
	height: 297px;
	position: relative;
	background: url('/images/grid3.jpg') 0 0 no-repeat;
	}
	
#hero p {
	position: absolute;
	bottom: 15px;
	padding: 0;
	margin: 0;
	left: 25px;
	color: #fff;
	font: bold 16px Arial, sans-serif; 
	}
	
#hero p span {
	font-size: 21px;
	}
	

	
a.buy-it-now {
	border: 0;
	background: none;
	}