/* The unique combination of positioning, typography, colour, images, sizing ('The Style') is copyright 2009 Memory Foam Mattress Direct and may not be reused */

/*===== STYLE SETUP =====*/

@import "reset.css";

html{
	font-size:100%;
}

body{
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	font-size:0.625em;
	line-height:2em;
	color:#333333;
	background:#f5f5f5 url("../images/bg-body-ry.png") repeat top center;
}

/*===== UNIVERSAL =====*/

.last{
	margin:0;
}

/*===== BASIC ELEMENTS =====*/

/*----- BLOCK -----*/

p{
	font-size:1.2em;
	margin:0 0 20px;
}

	p.intro{
		font-size:1.4em;
	}

h1,h2,h3,h4{
	clear:both;
	font-family:Arial, Helvetica, sans-serif;
	text-transform:uppercase;
}

h1{
	font-size:1.6em;
	margin:0 0 20px;
	padding:5px 10px;
	background:#C66A94;
	color:#ffffff;	
}

h2{
	font-size:1.4em;
	margin:0 0 20px;
}

h3{
	font-size:1.2em;
	margin:0 0 20px;
}

h4{
	font-size:1.2em;
	margin:0;
	color:#;
}

ul, ol, dl{
	font-size:1.2em;
	margin:0 0 20px;	
}

	li, dd{
		margin:0 0 20px;
	}
	
	li.last{
		margin:0;
	}

/* 

#content ul{
	list-style:disc;
}

	#content ul li{
		margin:0 0 0 20px;
	}
	
*/

ol{
	list-style:decimal;
}
	
	ol li{
		margin:0 0 20px 25px;
	}
	
	ol li.last{
		margin:0 0 0 25px;
	}

table{
	margin:0 0 20px;
	width:100%;
	font-size:1.2em;	
	line-height:1.667em;
}

	col{
		width:auto;
	}

	th{
	}
	
	td{
	}

/*----- INLINE -----*/

a{
	text-decoration:none;
	color:#6AC66C;
}

a:hover, a:focus{
	text-decoration:underline;
	color:#6AC66C;
}

a:active{
	text-decoration:underline;
	color:#29792B;
}

abbr, acronym{
	border-bottom:1px dotted #cccccc;
	cursor: help;
}

input, textarea, select{
	font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/*===== PAGE LAYOUT =====*/

#container{
	position:relative;
	margin:0 auto;
	width:980px;
	background:#ffffff;	
}

	#wrap{
		position:absolute;
		margin:160px 0 0;
		width:980px;
	}
	
		#main{
			float:left;
			margin:0 0 20px;
			border:10px solid #ebebeb;
			padding:10px 10px 0;
			width:940px;
			background:#ffffff url("../images/bg-div.png") repeat-y 239px 0;
		}
		
			#content{
				float:right;
				width:700px;
				background:#ffffff;
			}
			
			#breadcrumb{
				margin:0 0 10px;
				font-size:1em;
				color:#959595;
            }
                            
                #breadcrumb a{
                }
                
                #breadcrumb a:hover{
                }
                
            /*
			#extra {
                float:left;
                list-style-image:none;
                list-style-position:outside;
                list-style-type:none;
                padding:0 20px;
                width:660px;
            }
            
                #content #extra li {
                    background-position:0 0;
                    background-repeat:no-repeat;
                    height:0;
                    margin:0;
                    overflow:hidden;
                    padding:80px 0 0;
                    width:220px;
                }
            
                #bonuspillows {
                    background-image:url(../images/bg-pillows-home.png);
                }
                
                #bonuscover {
                    background-image:url(../images/bg-cover-home.png);
                }
                
                #bonusdelivery {
                    background-image:url(../images/bg-delivery-home.png);
                }
            */
			
			#sidebar{
				float:left;
				width:220px;
			}
			
				#sidebar a{
					color:#76a9ba;
				}
				
				#sidebar a:hover, #sidebar a:focus{
					color:#76a9ba;
				}
				
				#sidebar a:active{
					color:#336699;
				}
			
				.sideblock{
					float:left;
					margin:0 0 9px;
					border:1px solid #cccccc;
					width:218px;
					background:#ebebeb;				
				}
				
					.sideblock h4{
						margin:0;
						background:#cccccc url("../images/bg-sideheading-rx.png") repeat-x bottom left;
						color:#336699;
						font-size:1.2em;
					}
					
						.sideblock h4 span{
							display:block;
							border-top:1px solid #ffffff;
							padding:4px 10px 5px;
							background-position:top right;
							background-repeat:no-repeat;
						}
				
					.sidecontent{
						border:1px solid #f5f5f5;
						padding:9px;
					}
				
						.sidecontent p, .sidecontent ul, .sidecontent ol{
							clear:both;
							font-size:1.1em;
							line-height:1.364em;
							margin:0 0 10px;
						}
				
						.sidecontent li{
							margin-bottom:0px;
						}
				
					#finder{
						background:#cccccc;
						border-color:#336699;
					}
				
						#finder h4{
							background:#336699 url("../images/bg-finderheading-rx.png") repeat-x bottom left;
							color:#ffffff;
						}
						
							#finder h4 span{
								border-color:#ddeaee;													
								background-image:url("../images/ic-finder.png");
							}
						
						#finder .sidecontent{
							border-color:#ddeaee;
						}
				
							#finder li{
								margin:0 0 8px;
							}
					
							#finder form label{
								display:none;
							}
					
							#finder form select {
								display:block;
								border:2px solid #ebebeb;
								padding:3px;
								height:30px;
								width:200px;
								font-size:1.273em;
								line-height:1.429em;
								cursor:pointer;
							}
								
								#finder form option{
									padding:0 7px;
								}
							
							#finder form select:focus{
								border-color:#369;
							}
														
							#finder form p{
								margin:0;
								text-align:right;
							}
							
								#finder a{
									color:#;
								}
						
								#finder a:hover{
									color:#;
								}
								
					#compare{
						border-color:#336699;					
					}
						
							#compare h4 span{
								background-image:url("../images/ic-compare.png");								
							}
					
						#compare p{
						}
					
						#compare ul{
							float:left;
							width:198px;
						}
						
							#compare ul li{
								float:left;
								margin:0 0 4px;
								border:1px dotted #cccccc;
								padding:4px;
								width:188px;
								background:#ffffff;
								color:#959595;
							}
							
							#compare ul li.last{
								margin:0;
							}
							
								#compare ul li img{
									display:block;
									float:left;
									margin:0 0 8px;
									height:50px;
									width:50px;
									background:url("../images/bg-product-minithumb.png") no-repeat top left;
								}
								
								#compare ul li span{
									float:left;
									padding:0 5px;
									width:108px;
								}
								
									#compare ul li span a{
										display:block;
									}
									
								#compare ul li a.remove{
									float:left;
									display:block;
									padding:20px 0 0;
									width:20px;
									height:0;
									background:url("../images/bg-remove.png") no-repeat 2px 2px;
									overflow:hidden;
								}
								
							#compare #qcomp{
								border-top:1px dotted #ccc;
								padding:9px 0 0;
								overflow:auto;
							}
							
								#compare #qcomp ul{
									margin:0;
									width:198px;
									font-size:1.4em;
									line-height:1.429em;
								}
								
									#compare #qcomp ul li{
										border:none;
										padding:0;
										width:198px;
										background:transparent;
									}
									
										#compare #qcomp ul li a{
											display:block;
											border:2px solid #ccc;
											padding:3px 3px 3px 28px;
											width:163px;
											height:20px;
											background:#fff url(../images/bl-fforward.png) no-repeat 5px 5px;											
											color:#369;
										}
										
										#compare #qcomp ul li a:hover, #compare #qcomp ul li a:focus{
											border:2px solid #369;
											background-position:7px 5px;
											color:#369;											
										}
										
										#compare #qcomp ul li a:active{
											border:2px solid #369;
											background-color:#eee;
											background-position:9px 5px;
											color:#369;											
										}

						#compare p.actions{
							margin:0;
							font-size:14px;
							line-height:30px;
							font-family:Arial, Helvetica, sans-serif;
							text-align:center;
							text-transform:uppercase;							
						}
							
							#compare a.compprod{
								display:block;
								margin:0 auto;
								border:2px solid #ccc;
								padding:3px 8px;
								width:120px;
								background:#fff;
								color:#336699;
								line-height:20px;
								-moz-border-radius:15px;
								-webkit-border-radius:15px;
							}												
							
							#compare a.compprod:hover, a.compprod:focus{
								border-color:#336699;
							}
							
							#compare a.compprod:active{
								border-color:#336699;							
								background:#336699;
								color:#fff;
							}
					
					#questions{
					}
					
							#questions h4 span{
								background-image:url("../images/ic-questions.png");								
							}					
					
						#questions ol{
							margin:0;
							list-style:none;
						}
				
							#questions ol li{
								position:relative;
								margin:0 0 10px;
							}
							
								#questions ol li strong{
									position:absolute;
									display:block;
									height:40px;
									width:20px;
									font-family:arial;
									font-size:3.6em;
									line-height:1.111em;
									font-style:italic;
									color:#ccc;
								}
								
								#questions ol li em{
									position:relative;
									display:block;
									padding:0 0 0 30px;
									font-weight:bold;
									color:#999;
								}
								
								#questions ol li span{
									position:relative;
									display:block;
									padding:0 0 0 30px;
								}
				
					#articles{
					}
					
							#articles h4 span{
								background-image:url("../images/ic-articles.png");								
							}										
					
						#articles ul{
							margin:0;
						}
									
							#articles li {
								margin:0 0 4px;        
								border-bottom:1px dotted #cccccc;  
								padding: 0 0 4px 20px;		
								background:url("../images/bl-blog.png") no-repeat 0 3px;												
							}
											
							#articles li.last {
								border-bottom: none;
								padding-bottom: 0px;    
								margin:0;
							}
							
								#articles li a{
									display:block;
								}
		
		#footer{
			position:relative;
			clear:both;
			float:left;
			padding:0 20px;
			width:940px;
			overflow:hidden;
		}
		
			#footer h4{
				margin:0 0 10px;
				font-size:1.4em;
			}
		
			#footer #about{
				float:left;
				margin:0 0 10px;
				border:1px solid #ebebeb;
				padding:9px;
				width:440px;
			}
			
				#footer #about p{
					margin:0;
				}
			
			#footer #contact{
				float:left;
				clear:left;
				margin:0 0 20px;
				border:1px solid #ebebeb;
				padding:9px;
				width:440px;
			}
			
				#footer #contact p{
					margin:0;
				}
				
				#footer #contact ul{
					margin:0 0 10px;
				}
				
					#footer #contact ul li{
						margin:0;
					}
			
			#footer .col{
				display:inline;
				float:right;
				margin:0 0 20px 20px;
				width:220px;
			}
			
				#footer .col ul{
					font-weight:bold;
					text-transform:uppercase;
				}
				
					#footer .col ul li{
						margin:0 0 10px;
					}
					
						#footer .col ul li ul{
							margin:0;
							font-size:1em;
							font-weight:normal;
							text-transform:none;
						}
						
							#footer .col ul li ul li{
								margin:0;
							}
			
			#footer ul#payments{
				/*position:relative;
				clear:both;
				float:left;
				margin:0 0 20px;
				padding:0;			   
				left:50%;
				text-align:center;*/
				clear:both;
				margin:0 auto 20px;
				width:380px;
				overflow:auto;
			}
			
				#footer ul#payments li{
					/*display:inline;
					position:relative;
					float:left;
					margin:0 5px;
					padding:30px 0 0;
					height:0;
					width:50px;
					right:50%;
					background:url("../images/ic-payments.png") no-repeat 0 0;
					overflow:hidden;*/
					display:inline;
					float:left;
					margin:0 5px;
					padding:30px 0 0;
					height:0;
					width:50px;
					background:url("../images/ic-payments.png") no-repeat 0 0;
					overflow:hidden;					
				}
				
				#footer #payments li#visa{
					background-position:0 0;
				}
				
				#footer #payments li#electron{
					background-position:-50px 0;				
				}
				
				#footer #payments li#master{
					background-position:-100px 0;				
				}
				
				#footer #payments li#amex{
					background-position:-150px 0;				
				}
				
				#footer #payments li#switch{
					width:30px;
					background-position:-200px 0;				
				}
				
				#footer #payments li#solo{
					width:30px;
					background-position:-230px 0;				
				}
				
				#footer #payments li#delta{
					background-position:-260px 0;				
				}
							
			#footer p.smallprint{
				clear:both;
				margin:0 auto 20px;
				width:460px;
				text-align:center;
			}
				
	#header{
		position:absolute;
		float:left;
		margin:0;
		padding:10px 0 0;
		width:980px;
		/*background:#ffffff;*/
	}
  
		#logo {
			float:left;
			display:block;			
			margin:0 0 10px;
			padding:70px 0 0;			
			height:0px;
			width:250px;
			background:url("../images/bg-logo.png") no-repeat 10px 0;
			overflow:hidden;
			cursor:pointer;			
		}
		
		#logo:hover, #logo:focus{
			background-position:10px -70px;
		}
		
		#sale{
			float:right;
			display:block;
			margin:0 0 10px;			
			padding:5px 20px;
			height:60px;
			width:468px;
		}
		
			#sale img{
				height:60px;
				width:468px;			
			}
			
		p#call{
			clear:both;
			margin:0;
			border-top:1px solid #ebebeb;
			padding:4px 20px 5px;
			height:20px;
			font-family:Arial, Helvetica, sans-serif;			
			font-size:1.4em;
			line-height:1.429em;
		}
		
		#sitemap ul{
		}
		
		#sitemap ul li{
            font-weight: bold;      
            margin:0;      
        }
		
		#sitemap ul li ul{
		  font-size:1em;
		  margin:0 20px 20px;   
		}
		
		#sitemap ul li ul li{
            font-weight: bold;
        }
        
        #sitemap ul li ul li ul{
            font-size:1em;
            margin:0 20px;
        }
		
		#sitemap ul li ul li ul li{
            font-weight:normal;
            margin:0;
        }
		
		/*
		#siteinfo {
			float:right;
			padding:0 20px 0 0;
			width: 700px;
		}
		
			#call{
				float:right;		
				margin:0 0 25px;
				width:340px;
				color:#959595;
				text-align:right;
			}
			
				#call strong{
					padding:0 0 0 20px;
					background:url("../images/ic-call.png") no-repeat 0 -1px;
				}
				
			#promo{
				float:right;		
				margin:0;
				width:468;
				text-align:right;				
			}
				
			#search{
				float:right;		
				margin:0;
				width:340px;
				text-align:right;				
			}
			
				#search label{
					font-weight:bold;
				}
				
				#search input{
				}
			
				#search p{
					margin:0;
				}
		*/
		
/*===== MISC =====*/

#baseline {
	display:none;
	position:absolute;	
	top:0;	
	background:url("../images/bg-baseline.png") repeat top left;
	height:200%;
	width:100%;
}

#grid{
	display:none;
	position:absolute;
	top:0;
	height:200%;
	width:100%;
}

	#grid span{
		display:block;
		margin:0 auto;
		width:960px;
		height:200%;
		background:url("../images/bg-grid.png") no-repeat top center;		
	}
