body {
	background-color: #006699;
	font-size: 1em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background-image:url(assets/body_bg.jpg);
	background-repeat: repeat-x;
	background-color: #B4BAE4;
	margin: 0;
	padding: 0;
}

#wrapper {
	clear: both;
	width: 90%;
 	min-width: 760px;
	margin: 0 auto;
	background-color:#FFFFFF;
	padding: 0 10px 10px;
	border: 1px solid #003366;
	border-top: none;
}

#header {
	background: url(assets/header_bg.jpg) no-repeat #CDD1ED;
	text-align: right;
	/*border: 1px solid green;*/
}

.separator {
	clear: both;
	line-height: 0.1em;
}
.clear {
	clear: both;
}
#sidebar {
	float: right;
	margin-right: 10px;
}

#bedinfo {
	float: left;
	width: 530px;
	margin-right: 10px;
	/*border: 1px solid yellow;*/
}

code {
	font-size: 1.5em;
	font-weight: bold;
}

/* BEDS PAGES */

.column {
	float: left;
	width: 47%;
	padding: 0;
}
.column2 {
	float: left;
	width: 47%;
	padding: 0 0 0 20px;
}

.productsummary {
	margin: 0 0 10px 0;
	padding: 0 0 10px 0;
	/*border: 1px solid black;*/
}

a.more {
	background: url(assets/more_but.gif) #FFDBA6 repeat-x bottom;
	border: 1px solid #FF9966;
	border-bottom-color: #B1311B;
	border-left-color: #FF6600;
	border-right-color: #FF6600;
	padding: 6px;
	/* margin-left: 20px; */
	color: #FF9966;
}

a.more:hover {
	border: 1px solid #FF0000;
}

.thum {
	border: 1px solid #B4BAE4;
	margin-right: 4px;
}

#headlogin {
	text-align: right;
	margin-bottom: 4px;
}

/* ACCESSIBILITY LINKS SECTION */

#skiplinks {
	margin: 0 0 5px;
	padding: 5px;
	float: left;
	display: block;
	}

#skiplinks ul {
	margin: 0;
	padding: 0;
    }

#skiplinks li {
    display:inline;
	padding: 0;
	margin: 0;
    }

#skiplinks a {
	font-size: 0.7em;
	padding: 2px;
	padding-top: 0;
	margin-top: 0;
	text-decoration: underline;
	}
	
#skiplinks a:focus, #skiplinks a:active {
	color:#FFF;
	background-color: #000066;
}

/* NAVIGATION LINKS */

#navigation {
	margin: 0;
	padding: 0;
	padding-top: 2px;
	background-color: #003366;
}

#navigation ul{
	clear: both;
	list-style: none;
	margin:0;
	padding: 0;
}

#navigation li {
	display: inline;
	margin: 0;
	padding: 0;
}

#navigation .on a {
	color: #CCCCCC;
	background-color: #003366;
	border: 1px solid #003366;
}

#navigation a {
	background-color: #B4BAE4;
	float: left;
	margin-left: 4px;
	margin-bottom: 0;
	padding: 4px;
	font-size: 0.8em;
	text-decoration: none;
	color: #003366;
	border: 1px solid #003366;
	border-left-color: #C7CDE7;
	border-top-color: #C7CDE7;
}

#navigation a:hover {
	text-decoration: underline;
	color: #FF0000;
}

/* CONTENT STYLES */

#content {
	background-image: url(assets/content_bg.jpg);
	background-repeat: repeat-x;
	background-position: top;
	clear: both;
	padding: 26px 20px 0 20px;
	font-size: 0.78em;
}

#content p, .brochlabel, #content label, #content li, #content .para {
	line-height: 160%;
	color: #003366;
}
/*
#content p, #bedinfo img, #content .para {
	padding-left: 20px;	
}*/

#content h1, #content h2, #content h3, #content h4 {
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #003366;
	/*padding-left: 20px;*/
}

#content h1 {
	font-size: 1.3em;
}

#content h2 {
	font-size: 1.2em;
}

#content h3 {
	font-size: 1.1em;
	background-color: #B4BAE4;
	border-bottom: 1px solid #FF0000;
	padding: 5px 8px;
	margin-top: 0;
	/* margin-left: 20px; */
}
#content h4 {
	font-size: 0.9em;
}

#content a {
	color: #003399;
}

#content a:hover {
	color: #FF0000;
}

.boxout {
	padding: 0 26px 0 16px;
	margin: 0 0 10px 0;
	border: 3px double #9FAAD4;
	background-color: #D5D8F0;
	background-image: url(assets/price_bg.gif);
	background-position: bottom right;
	background-repeat: no-repeat;
	width: 440px;
}

.boxout caption {
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #003366;
}
.quotbut {
	cursor: pointer;
	background-color: #9FAAD4;
	color: #000033;
	padding: 2px;
	font-weight: bold;
	border: 1px solid #003366;
	border-left-color: #C7CDE7;
	border-top-color: #C7CDE7;
}

.hbprice {
	margin: 0 20px;
	border: 3px double #9FAAD4;
	width: 480px;
}

#content p.hbprice {
	font-size: 0.7em;
	padding: 6px;
	text-align: center;
}

.hbfinish {
	border: 1px solid #000000;
	font-size: 70%;
	text-align: right;
	padding: 10px;
}

/* FORM STYLES */

.brochurefrm {
	float:right;
	width: 400px;
	margin: 20px 10px 0;
}

legend {
	font-size: 0.9em;
	font-weight: bold;
}

.brochlabel {
	float: left;
	clear: left;
	width: 110px;
	display: block;
	font-size: 1em;
	text-align: right;
}
.hboardlabel {
	float: left;
	clear: left;
	width: 80px;
	display: block;
	font-size: 1em;
	text-align: right;
}

.quotelabel {
	float: left;
	clear: left;
	width: 200px;
	display: block;
	padding: 2px;
	font-size: 1em;
	text-align: right;
}
.quoteinput {
	margin: 2px 0;
}

.login {
	float: left;
	width: 178px;
	display: block;
}

.red {
	color: #FF0000;
}

#formerror {
	width: 400px;
	margin: 100px auto;
	background-color: #FFFFFF;
	border: 3px solid #0A1A36;
	padding: 10px;
}

#content .boxout table {
	margin-left: 0;
	border-left: none;
	border-top: none;
}

#content .boxout td, #content .boxout th {
	color: #003366;
	border-bottom: none;
	border-right: none;
	padding: 4px;
}

#content .boxout th {
	font-weight: normal;
}

#content .boxout td.subtotal {
	border-top: 1px solid #9FAAD4;
	border-bottom: 1px solid #9FAAD4;
}

#content .boxout td.bigtotal {
	border-top: 3px double #003366;
}

.readonly {
	border: none;
	background-color: #D5D8F0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #003366;
	text-align: right;
}

.readonly2 {
	border: none;
	background-color: #FFFFFF;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #003366;
	text-align: right;
}

#form1 .option {
	/* margin-left: 20px; */
	color: #003366;
}
#form1 fieldset {
	margin: 0 20px;
}
#form1 optgroup {
	font-style: normal;
	color: #003366;
}

#ziptext, #ziptext h4, #ziptext p, #ziptext label {
	color: #CCCCCC;
}

/* TABLE STYLES */

#content table {
	border-top: 1px solid #C9C9C9;
	border-left: 1px solid #C9C9C9;
}

#content th,#content td {
	border-bottom: 1px solid #C9C9C9;
	border-right: 1px solid #C9C9C9;
	padding: 2px;
}

#content caption {
	padding: 2px;
	/*font-size: 0.7em;*/
}

.alt {
	background-color: #D0D9E8;
}

#content .drawer {
	border: none;
	/* margin-left: 20px; */
}
#content .drawer caption {
	/* margin-left: 20px; */
}
#content .drawer th, #content .drawer td  {
	border: none;
	padding: 0;
}

/* FOOTER STYLES */

#logos {
	background-image: url(assets/footer_bg.jpg);
	background-repeat: repeat-x;
	background-position: bottom;
	border-bottom: 1px solid #FF0000;
	height: 125px;
}

#logos p {
	margin: 0;
	padding-top: 20px;
	padding-right: 24px;
	font-size: 0.7em;
	color: #003366;
	text-align: right;
}

#logos .prlist_but {
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	color: #003366;
	width: 151px;
	height: 80px;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 24px;
	padding-top: 4px;
	display: block;
	font-weight: bold;
	font-size: 0.85em;
	text-align: center;
	text-decoration: none;
	background: url(assets/prlist_but.gif) no-repeat;
	float: left;
}

#footer {
	font-size: 0.7em;
	text-align: center;
	line-height: 1.5em;
	clear: both;
}

#footer a {
	text-decoration: none;
	color: #333333;
}

#footer a:hover {
	text-decoration: underline;
}

/* Bed Options Sidebar */

#draw, #zipn, #head {
	clear: both;
	width: 290px;
	border: 1px solid #003366;
	background-image: url(assets/sidebar_bg.jpg);
	background-repeat: repeat-x;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.85em;
}

#draw {
	position: absolute ;
	left: -4400px ;
}
#zipn {
	position: absolute ;
	left: -4000px ;
}
#draw p, #zipn p, #head p{
	padding: 0 10px;
	color: #003366;
	line-height: 1.3em;
}
#draw h4, #zipn h4, #head h4 {
	padding: 10px 10px 0;
	color: #003366;
}

/* Mattress Sidebar */

#mattresslist {
	clear: both;
	width: 290px;
	border: 1px solid #003366;
	background-image: url(assets/sidebar_bg.jpg);
	background-repeat: repeat-x;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.85em;
	/* margin-left: 20px; */
}
#mattresslist h2 {
	margin-left: 0;
	padding-left: 0;
	padding: 4px;
	text-align: center;
}

#mattresslist p {
	padding: 4px;
	margin: 0;
}

/* Quote Builder Styles */

#bedsize, #options, #delivery {
	clear: both;
	border: 1px solid #003366;
	background-image: url(assets/sidebar_bg.jpg);
	background-repeat: repeat-x;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.85em;
}

#options {
	position: absolute ;
	left: -4400px ;
}
#delivery {
	position: absolute ;
	left: -4000px ;
}
#bedsize p, #delivery p, #options p{
	padding: 0 10px;
	color: #003366;
	line-height: 1.3em;
}
#bedsize h4, #delivery h4, #options h4 {
	padding: 0 10px;
	color: #003366;
}

/* Sidebar Tabs */

#tabs {
    line-height:normal;
	}

#tabs ul {
	margin:0;
	margin-left: 10px;
	padding: 0;
	list-style: none;
    }

#tabs li {
    display:inline;
    margin:0;
    padding:0;
}

#tabs a {
    display: block;
    float:left;
	background-color: #9FAAD4;
    margin:0;
    padding:4px 10px;
	margin-right: 2px;
    text-decoration:none;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	color: #000033;
	border: 1px solid #003366;
	border-left-color: #C7CDE7;
	border-top-color: #C7CDE7;
	border-bottom: none;
	}

#tabs a:hover {
    background-color: #FFCC99;
	border: 1px solid #003366;
	border-left-color: #FFD5AB;
	border-top-color: #FFD5AB;
	border-bottom: none;
    }

/* Sets the appearance of the tab showing the current section */

#tabs a.off {
	background-color: #FFFFFF;
	border: 1px solid #FFFFFF;
	}
	
.tabbut {
	background-color: #9FAAD4;
    margin:0;
    padding:4px 10px;
	margin-right: 2px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	color: #000033;
	border: 1px solid #003366;
	border-left-color: #C7CDE7;
	border-top-color: #C7CDE7;
	border-bottom: none;
}

#map {
	width: 500px;
	height: 300px;
	/* margin-left: 20px; */
	border: 1px solid #B4BAE4;
}

/* BASKET AND CHECKOUT STYLES */

#content table.basket_table {
	border-top: none;
	border-left: none;
}
#content table.basket_table th {
	border-bottom: 1px solid #B4BAE4;
}
#content table.basket_table td {
	border-top: 1px solid #B4BAE4;
	border-bottom: none;
	line-height: 160%;
	font-size: 0.9em;
}
#content table.basket_table td h2{
	margin: 0;
	margin-bottom: 2px;
}

#content table.basket_table th, #content table.basket_table td {
	border-right: none;
	padding: 2px 8px 10px 8px;
}


.basket_table td.subtotal {
	text-align: right;
}

#content table.basket_table caption {
	font-size: 1.0em;
	line-height: 160%;
	color: #003366;
	text-align: left;
	border-bottom: none;
}
a.editbasket, a.delbasket {
	background: #DBDEF2 no-repeat left;
	border: 1px solid #B4BAE4;
	padding: 3px 2px 3px 20px;
	color: #5573A2;
	display: block;
	width: 130px;
	font-size: 0.9em;
	text-decoration: none;
	margin-top: 2px;
	line-height: 100%;
}
a.editbasket {
	background-image: url(assets/editbg.gif);
}
a.delbasket {
	background-image: url(assets/delbg.gif);
}


form.brochure legend {
color:#003366;
}

form.brochure fieldset {
float:right;
width:350px;
border:1px solid #003366;
}

form.brochure p {
color:#003366;
}

form.brochure label {
display: block;
}

#visitor_name, #visitor_email, #message_body {
width:200px;
}