/* Memory foam CSS Document */

/* ------------- formatting ------------- */

/* new styles ..... */
	.topcontent_reciept {
		font: 10px sans-serif;
		position: absolute;
	top: 5px;
	right: 10px;
	color:#FFFFFF;
	font-weight:700;
	text-align:right;
	}
	
	.shop_my_details_header{
	background-color:#778899;
	}
/* ----------------- */
body { 	margin: 0;
		padding: 0;
		font: 90% Verdana, sans-serif;
	}
	
html, body, #contents {
	min-height:100%;
	width: 100%;
	height: 100%;
}

html>body, html>body #contents {
	height: auto;
	}
h1,h2,h3,h4,h5{
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
		position:relative;
			width: 100%;
}
h1 { 	font-size: 120%;
	letter-spacing: 5px;
	color: #43616B;  /*dark greeny blue*/
	margin-top: 0px;
	}

#news h2 { 	color: #D6D6D6; /*pale grey*/
	margin-top: 10px;
	}
	
#center h2 { clear: both;}

h2 { font-size: 110%;
	color: #9C1A1E; /*pale maroon*/
	}

h3 { font-size: 1em;
	}

h4 { font-size: 80%;
	color: #9C1A1E; /*pale maroon*/
	margin-bottom: 2px;
	}

h5 {  font-size: 80%;
	font-style: italic;
	color: #43616B;  /*dark greeny blue*/
	margin-top: 2px;
	}
	
p {	font-size: 70%;
	}

#center p {
	font-size: 90% ;
	}

#sponsor p, #articlesponsor p {
	color: #A5B5C6;  /* light blue */
	}
	
#footer p {
	margin: 4px;
	text-align: center;
	font-size: 70%;
	}

a {	color: #34339B;	/* bright blue */	
	}
	
a:hover {color: #9C191E;	/* maroon */
	}

hr { color: #A5B5C6;   /* light blue */
	height: 1px;
	}
	
a img {
	border: 0px none;
	display: block;			/* removes extra space underneath caused by default text-alignment */
	}

div#top a {
	display: block;			/* makes the background hover effect work in Mozilla */
	width: 153px;
	background-color: #5C6F90; /*dk blue */
	}

div#top a:hover {
	background-color: #43616B; /*dark greeny blue*/
	}

.textbox {					/* Until IE understands <css> input[type="file"] { </css> It's better to define a new style then it is to re-define the input tag because radio buttons cop a beating */
	padding: 4px;
	font:  small verdana, sans-serif;
	color: #000;
	background-color: #fff; /*white*/
	border: 1px solid #000; /*black*/
	}

.button {
	padding: 2px;
	font: bold small verdana, sans-serif;
	color: #fff;
	background-color: #5C6F90;/*Dark blue*/
	border: 1px solid #000; /*black*/
	
	}


/****  Short copy display ****/
div.item {float: left; 
	border: #57A8DD 1px solid; 
	padding: 5px; 
	margin: 5px; 
	width: 90%; 
	font-size: 80%;}
div.item img {
	float: left; margin: 5px;
	display: inline;
	float: left;
	margin: 0px 0.5em 0.5em 0px;}
	
div.clearer {clear: left; height: 0;}


/****   for pdf links ****/
.contentnav {font-weight: bold;  color: #0066cc;  text-decoration: none;}

a.contentnav:hover { color: #cc0033;  text-decoration: underline; }

a.contentnav:visited {	color: #0066cc;  text-decoration: none;}

/*****   content & care styles for more pages *****/

.contentCare {
	font-family:Arial,Helvetica,sans-serif;	
	font-size:80%;
	background-color: #D1DEE9; /*pale blue*/
	font-weight: normal;
}
h3.contentCare  {
	margin: 0; padding: 0;
	}
	
.latestarticle {
	margin-bottom: 0px;
	}
	
.headshot {
	display: inline;
	float: left;
	margin: 0px 0.5em 0.5em 0px;
	}
	
.shortcopy { 	margin-bottom: 0px;
	}
	
.prod_list { 	margin-bottom: 0px;
	}

	
.productshot {
	display: inline;
	float: left;
	margin: 0px 0.5em 0.5em 0px;
	}
	
p.latestarticle a {
	clear: right;
	font: bold small Verdana, sans-serif;
	}
	
p.shortcopy a {
	clear: right;
	font: bold small Verdana, sans-serif;
	}
	
p.prod_list a {
	clear: right;
	font: bold small Verdana, sans-serif;
	}

.date {
	display: block;
	text-align: right;
	color: #A5B5C6; /*pale blue*/
	font: x-small Verdana, sans-serif;
	}

.author {
	display: block;
	color: #5C6F90; /*dark blue*/
	font: .7em /2em Verdana, sans-serif;
	}

.comment {
	display: block;
	color: #5C6F90; /*dark blue*/
	font:.7em /2em Verdana, sans-serif;
	}

.slogan1 {
	display: block;
	color: #5C6F90; /*dark blue*/
	font: .7em /2em Verdana, sans-serif;
	}

	
.bold {font-weight: bold;}
.small {font-size: 70% ;}

.blurb {
	margin: 0px 0px 1em 55px;
	}
.slogan2 {
	margin: 0px 0px 1em 55px;
	}

.productdesc {
	margin: 0px 0px 1em 105px;
	}
	
.textor {font-size: 66%;}	

p.crumbtrail {
	margin: 10px 28% 0px;
	font-size: x-small;
	}
	
.divide {
	text-align: center;
	color: #778899; /*dark grey blue*/
}
div#center ul li {
	list-style: none;
	margin: 0;
	padding: 0;
	font: small Verdana, sans-serif;
}


.box 	{
	width: 125px;
	height: 200px;
	padding: 0;
	margin: 2px 0;
	border: 1px solid #000; /*black*/
	font: 12px verdana, lucida, sans-serif;
	}


#center dd	{
	margin-bottom: 0px;
	}

#center dd, dt {
	font: 12px verdana, lucida, sans-serif;
	text-align: left;          
    }

#center dt {
	font-weight: bold;
    }

td {font-size: 90%; padding: 1px;}
td.head {background: #d6b58c; text-align: center; font-weight: bold;} /*gold*/
th {font-size: 95%; padding: 2px; } /*bg maroon*/
tr.even td {background: #d6d6d6;} /*bg grey*/


/* 

------------- layout ---------------- 

Notes:

Do not mix px widths with % widths for margins, borders or padding because 
the total box width = set width + padding + border.  (It helps if you can add them together)

The box model hack is used to fix an bug in IE5-Win ...for an explanation from the guy that
wrote it go to http://www.tantek.com/CSS/Examples/boxmodelhack.html

IE6-Win will behave like IE5-Win  if you include <?xml version="1.0"?>  It is apparently
unneccessary so leave it out!

Left Col Widths:
 |  pad   |         width        |  pad   | 				
 ------------------------------------------					
 |   0    |          25%         |   0    |	
 
Center Margins:
 |  marg  |         width        |  marg  | 
 ------------------------------------------
 |   25%  |        (auto)        |   25%  |

Right Col Widths:
 |  pad   |         width        |  pad   | 				
 ------------------------------------------					
 |  1.5%  |          22%         |  1.5%  |				total width= 25%
 

*/
#contents{
	position:absolute;
	top:0;
	left: 0;
}

#top {
	padding: 4px;
	background: #BDC5CE;  /* grey */
	border-bottom: 1px solid #A5B5C6; /*mid blue*/
	}
	
#center {
	margin: 0px 18%; 
	padding: 1% 3%;
	background: #fff; /*white*/
	color: #000; /*black*/
	}
	
#center_wide {
	margin: 0px 0px 0px 25%; 
	padding: 1% 3%;
	background: #fff; /*white*/
	color: #000; /*black*/
	}

#left {
	position: absolute;
	padding: 0px;
	top: 101px;
	width: 19%;
	background: #A5B5C6; /*mid blue*/
	color: #000; /*black*/
	}

#otherleftstuff {
	width: 88%;
	padding: 10px 6% 40px 6%;
	}

#news {
	position: absolute;
	width: 21.9%;			/* why not 22%?  because at some sizes the rounding difference adds up to more than 100% and gives us a horizontal scroll bar */
	height: 250px;
	overflow: hidden;
	margin-left: 75%;
	padding: 0px 1.5%;
	top: 101px;
	background-color: #153976; /*dark blue*/
	border-top: 1px solid #A5B5C6; /*pale blue*/
	}



div#news p.row {
	width: 100%;
	margin: 0px 0px 1em 0px;
	}

div#news p.row span.leftcol {
	float: left;
	color: #D6D6D6; /*pale grey*/
	}
	
div#news p.row span.rightcol {
	width: 70%;
	float: right;
	}
	
div#news p.row span.rightcol a {
	color: #D6D6D6; /*pale grey*/
	font-weight: bold;
	}
	
div#news p.row span.rightcol a:hover {
	color: #A4B5C5; /*mid blue*/
	}

		
div#topcontent {
	position: absolute;
	top: 10px;
	right: 0px;
	width: 80%;
	}

#topcontent h2, #topcontent p {
	display: inline;
	margin-right: 0.5em;
	}

#sponsor {
	position: absolute;
	width: 21.9%;
	height: 251px;
	margin-left: 75%;
	padding: 10px 1.5%;
	top: 375px;
	text-align: center;
	}
	
#articlesponsor {
	position: absolute;
	width: 21.9%;
	height: 251px;
	margin-left: 75%;
	padding: 10px 1.5%;
	top: 150px;
	text-align: center;
	}
	

#right {
	position: absolute;
	width: 24%;
	height: 251px;
	margin-left: 72%;
	padding: 10px 1.5%;
	top: 145px;
	text-align: center;
	}
		
#rightad {
	width: 125px;
	padding: 1%;
/*	border: 4px dotted #5C6F90; */
	color: #5C6F90; /*darkish blue*/
	}

#footer {
	/*position: absolute;*/
	bottom: 0;
	width: 100%;	
	border-bottom: 1px solid #5C6F90; /*darkish blue*/
	background-color: #D6D6D6;/*grey*/
	font-size: .9em;
	color: #000; /*black*/
	}


#bio {
	float: right;
	width: 30%;
	padding: 1%;
	border: 4px dotted #5C6F90;/*darkish mid blue*/
	color: #5C6F90;/*darkish mid blue*/
	font-size: 0.7em;
	}
	
/* 

---------- Navigation ------------- 

List tips courtesy of A List Apart: http://www.alistapart.com/stories/taminglists/

*/

ul#mainnav {
	list-style: none;
	margin: 0px;
	padding: 0px;
	background-color: #D6D6D6; /*grey*/
	}
		
ul#mainnav li {
	display: block;
	border-top: 1px solid #A5B5C6;/*pale mid blue*/
	}

ul#mainnav li a {
	display: block;
	margin: 0px 0px 0px 0px;
	padding: 6px 6%;
	background-color: #5C6F90;/*dark blue*/
	font: bold 0.8em /1.5 arial, sans-serif;		/* If you get an unwanted gap after your a block (IE-Win) try increasing the line height		*/
	color: #fff;/*white*/
	text-decoration: none;
	width: 88%;				/* 	Causes Problems in IE5-Mac and Netscape/Mozzilla - see next fix		*/
	}

ul#mainnav li a:hover {
	background-color: #43616B;/*dark greeny blue*/
	color: #eee;/*pale grey*/
	}
	
ul#mainnav ul.subnav {
	margin: 0px;
	list-style: none;
	padding: 0px;
	/*border: 0px solid pink;*/
	}

ul#mainnav ul.subnav li {
	border-top: 0 none;
	border-bottom: 1px ;
	/*border: 0px solid green;*/
	padding-left: 1.5em;
	}

ul#mainnav ul.subnav li a {
	padding: 1%;
	margin: 0px;
	font: bold 0.7em /1.5em verdana, sans-serif;
	color: #5C6F90; /*mid dark blue*/
	background-color: transparent;
	/*border: 0px solid yellow;*/
	}

ul#mainnav ul.subnav li a:hover {
	color: #ffffff; /*dark greeny blue*/
	background-color: #5C6F90;
	text-decoration: underline;
	}
	
div#topcontent ul {
	position: absolute;
	right: 0px;
	list-style: none;
	margin: 0px 0px 40px 0px;
	}
div#topcontent ul li {
	display: inline;
	padding: 0 0.5em;
	border-left: 1px solid #34339B;/*bright dk blue*/	
	}
div#topcontent ul li.first {
	border-left: 0px none;
	}
div#topcontent ul li a {
	font: 0.7em /1em verdana, sans-serif;
	}

div#topcontent form {
	position: absolute;
	right: 0px;
	top: 55px;
	margin: 0px;
	}
/************** #misc styles **************/

.clr{clear:both;}
  
/************** Image styles **************/
.imageLeft{
	float: left;
	padding: 0px 10px 0px 0px;
	margin: 5px 5px 5px 0px;
}

.imageRight{
	float: right;
	padding: 0px 0px 0px 10px;
	margin: 5px 0px 5px 5px;
}	
