/*--------------------- Last Modified  2006.03.25 ---------------------*/
/*-----------------------------------------------------------------------*/


/* 
 ----------------------------------------------------------------------------
  Copyright Einstein Industries 2006. Used with Permission.                             
  May not be duplicated or reproduced.

  Please check for cross-browser compatibility prior to making changes
  MINIMUM BROWSER CHECK :: IE5.x/IE6/Firefox/Safari

  CSS Document - layout.css
 ---------------------------------------------------------------------------- 
*/


/* undo some default styling of common (X)HTML browsers
 * ------------------------------------------------------------------------- */

/* No list-markers by default - must redefine bullets w/ bg graphics */
ul,ol { list-style:none; }

/* Avoid browser default inconsistent heading font-sizes and pre/code */
h1,h2,h3,h4,h5,h6,pre,code,td { font-size:1em; }

/* Remove inconsistent (among browsers) default padding or margin */
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input,label,div,dd,dt,dl,table,tr,td { margin:0; padding:0; }

/* prevent blue linked image borders */
a img,:link img,:visited img,fieldset { border:none; }


/* global elements
 * ------------------------------------------------------------------------- */


/* ----- type selectors ----- */ 
body { background: url("../images/bg.jpg") top center repeat;}
#bg { 
	background: url("../images/bg-body.jpg") top center repeat-x;
	text-align:center; 
	font:12px/16px Arial, Helvetica, sans-serif; 
	color:#33402E;
	 }
blockquote { 
	margin-left:10px; 
	margin-right:10px; 
	}

h1	{ font-size:1.2em; color:#33402E; }
h2	{ font-size:1.1em; color:#6C4F1C; }
h3	{ font-size:1.0em; color:#6A805D; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#6C4F1C; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#6A805D; text-decoration:underline; outline:none; }

/* ----- classes ----- */

div.clear	{ 
	clear:both;
	height:.01em; 
	overflow:hidden; 
	}

p.back-to-top {
	text-align:right;
	display:block;
	padding-right:15px;
	background:url("../images/bullet-back-to-top.jpg") right no-repeat;
	}
	
img.img-left { 
	float:left; 
	margin:5px 10px 10px 0; 
	}
	
img.img-right { 
	float:right; 
	margin:5px 0 10px 10px; 
	}
img.img-right-cos { 
	float:right; 
	margin:5px 14px 10px 10px; 
	}
img.img-right-gen { 
	float:right; 
	margin:5px 37px 10px 10px; 
	}
	
.wealth { font:11px/16px Arial, Helvetica, sans-serif; }	
/* ----- global form elements ----- */ 

form {
	width:150px;
	margin:10px 0 15px 0;
	}
body#index form#contact-quick { width: 360px; margin-left: 18px; }
#input-div {width: 170px; float:left; margin-right: 5px; }
body#index form#contact-quick textarea {float: left; height: 92px; }

form label	{ font-size:.95em; }

form br { line-height:0; height:0; } /* defaults vertical spacing between fields */

input, textarea, select { 
	background-color:#FFFFFF !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #C2CCC5;
	color:#33402E;
	width:168px; /* 5 pixles smaller than form width !important */
	height:18px;
	line-height:18px;
	vertical-align: middle;
	margin-bottom:4px; /* sets vertical spacing between fields */
	padding-top:1px; /* vertically position text in input/textarea field */
	padding-left:4px; /* horizontally position text in input/textarea field */
	font-family:Arial, Helvetica, sans-serif; 
	font-size:1.0em;
	}
	
select { width:150px; padding:0; } /* same width as form - !important */

textarea { height:90px; overflow:auto; }

#contact-business { display: none; } /* do not remove */ 


/* ----- main contact form ----- */ 
 
#contact-main { margin:20px 0 10px 0; }

#contact-main label { 
	width:220px; 
	position:relative; 
	display:block; 
	text-align:right; 
	margin-bottom:10px;
	font-size:1.0em;
	}
	
#contact-main label input, #contact-main label textarea, #contact-main label select { 
	width:170px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}
	
#contact-main label select { width:175px; }
	
#contact-main label textarea { height:100px; overflow:auto; }

#contact-business-main { display: none; } /* do not remove */ 


/* ----- submit button form elements ----- */ 

input.submit, input.submit-contact-main { 
	width:60px;
	height:20px;
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:95px 0 0 243px; }

input.submit-image, input.submit-contact-main { /* REMOVE IF NOT USED */
	background:url("../images/btn-submit.jpg");
	width:64px;
	height:20px;
	border:none;
	cursor:pointer;
	}


/* framework
 * ------------------------------------------------------------------------- */

body#index #wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:808px;
	margin:0 auto;
	text-align:left;
	}
#wrap {
	background:url("../images/bg-wrap-inside.jpg") repeat-y;
	width:808px;
	margin:0 auto;
	text-align:left;
	}
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:117px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:37px;
		width:385px;
		top:45px;
		height:60px; 
		}
	#masthead a span {
		display:none;
		}
/* ----- column-left ----- */

#column-left {
	width:568px;
	float:left;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul {
		margin:0 20px 10px 37px;
		}
	#column-left form { margin-left:40px; }
	
	/* multi column list */
	#column-left ul { padding-left:5px; } 
		#column-left ul li { 
			background:transparent url("../images/bullet.jpg") 0px 5px no-repeat;
			padding-left:15px;  /* pushes text to the right to display bg img */
			}
			
			
		/* multi column list */
	#column-left ul.general { padding-left:5px; } 
		#column-left ul.general li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:15px;  /* pushes text to the right to display bg img */
			float:left;
			width:200px;
			line-height:20px;
			}
		
			
/* ----- column-right ----- */

#column-right {
	width:240px;
	float:left;
	background: url("../images/contact-rt.jpg") top no-repeat;
	padding-top: 57px;
	}
body#contact #column-right, body#thankyou #column-right{
	width:240px;
	height:300px;
	float:left;
	background: url("../images/locate-rt.jpg") top no-repeat;
	padding-top: 177px;
	position:relative;
	}
body#contact #column-right a.map, body#thankyou #column-right a.map {
	position: absolute;
	top: 67px;
	height: 100px;
	left: 19px;
	width: 185px;
	}
	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 37px 10px 20px;
		color: #EAEEE7;
		}
	#column-right form { margin-left:20px; }

	/* multi column list */
	#column-right ul { padding-left:5px; } 
		#column-right ul li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			}
	
/* ----- bottom-wrap ----- */
 
body#index #bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:43px;
	clear:both;
	width:100%; /* fix for Safar */
	}
#bottom-wrap {
	background:url("../images/bottom-wrap-inside.jpg");
	height:43px;
	clear:both;
	width:100%; /* fix for Safar */
	}
	
/* header framework
 * ------------------------------------------------------------------------- */

#header-graphic { background:url("../images/header.jpg"); height:249px; } /* sets height for all non-flash headers */

	body#index #header-graphic { background:url("../images/header-index.jpg"); height: 242px;}

	body#about #header-graphic { background:url("../images/header-about.jpg"); }
	body#cosmetic #header-graphic { background:url("../images/header-cosmetic.jpg"); }
	body#general #header-graphic { background:url("../images/header-general.jpg"); }
	body#sleep #header-graphic { background:url("../images/header-sleep_blank.jpg"); }
	body#contact #header-graphic { background:url("../images/header-contact.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header-contact.jpg"); }
	body#sitemap #header-graphic { background:url("../images/header-sitemap.jpg"); }

/* subhead framework
 * ------------------------------------------------------------------------- */
#subhead-wrap {background:url("../images/subhead-index-wrap.jpg") repeat-y; float:left;width: 808px;}
#subhead { height: 57px;} /* sets height for all subheads */

	body#index #subhead { background:url("../images/subhead-index.jpg") top no-repeat; height:51px; width: 808px; float:left;}
	body#about #subhead { background:url("../images/subhead-about.jpg"); }
	body#cosmetic #subhead { background:url("../images/subhead-cosmetic.jpg"); }
	body#general #subhead { background:url("../images/subhead-general.jpg"); }
	body#sleep #subhead { background:url("../images/subhead-sleep.jpg"); }
	body#contact #subhead { background:url("../images/subhead-contact.jpg"); }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg"); }
	body#sitemap #subhead { background:url("../images/subhead-sitemap.jpg"); }


/* ----- subhead framework with varying heights ----- */
div.index-left, div.index-right {width: 404px; float:left;}
div.index-left p { margin: 0 20px 10px 37px;}
div.index-right p { margin: 0 37px 10px 20px; }
div.index-right p.address { margin-right: 0px; width: 172px; float: left; display:inline; }

#sleep-contact {
	position: relative;
	clear:both;
	height:165px;
	background:url("../images/subhead-sleep-contact.jpg") ;
	}
	#sleep-contact a.lm1 {
		position: absolute;
		top: 0px;
		height: 25px;
		left: 33px;
		width: 105px;
		}
	#sleep-contact a.lm2 {
		position: absolute;
		top: 0px;
		height: 25px;
		left: 423px;
		width: 105px;
		}
#header-index {
	position: relative;
	background:url("../images/intro-index.jpg") top no-repeat;
	padding: 50px 0 68px 0;
	}
	#header-index p {
		color: #ffffff;
		margin: 0 384px 0 37px;
		}
	#header-index a.learnmore {
		position: absolute;
		top: 155px;
		height: 30px;
		left: 35px;
		width: 100px;
		}
	#header-index a.contact-btn {
		position: absolute;
		top: 155px;
		height: 30px;
		left: 144px;
		width: 100px;
		}

/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:808px;
	margin:0 auto;
	text-align:center;
	}

#footer p {
	color:#FFFFFF;
	margin-bottom:10px;
	}

#footer a:link, #footer a:visited { color:#FFFFFF; text-decoration: underline;}

#footer a:hover, #footer a:active { color:#FFFFFF; text-decoration: none;}

#footer ul {margin-bottom:10px;}

#footer li { /* if your li's float, you can adjust border height w/ line-height */
	padding:0 5px 0 7px;
	display: inline;
	border-left: 1px solid #FFFFFF;
	}

	#footer li.first { border: none; }


/* Horozontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:808px; 
	height:36px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:36px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; _display:inline; }

/*
#nav-01 { width: 75px; margin-left: 17px;}
#nav-02 { width: 93px;}
#nav-03 { width: 140px;}
#nav-04 { width: 140px;}
#nav-05 { width: 207px;}
#nav-06 { width: 155px;}
#nav-07 { width: 104px;}*/

#nav-01 { width: 55px; margin-left: 17px;}
#nav-02 { width: 72px;}
#nav-03 { width: 99px;}
#nav-04 { width: 128px;}
#nav-05 { width: 195px;}
#nav-06 { width: 140px;}
#nav-07 { width: 85px;}


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -17px -36px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -72px -36px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -144px -36px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -243px -36px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -371px -36px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -566px -36px no-repeat; }
#nav-07 a:hover { background:url("../images/nav.jpg") -706px -36px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -17px -36px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg") -72px -36px no-repeat; }
body#gallery #nav-03 { background:url("../images/nav.jpg") -144px -36px no-repeat; }
body#cosmetic #nav-04 { background:url("../images/nav.jpg") -243px -36px no-repeat; }
body#general #nav-05 { background:url("../images/nav.jpg") -371px -36px no-repeat; }
body#sleep #nav-06 { background:url("../images/nav.jpg") -566px -36px no-repeat; }
body#contact #nav-07 { background:url("../images/nav.jpg") -706px -36px no-repeat; }
body#thankyou #nav-07 { background:url("../images/nav.jpg") -706px -36px no-repeat; }

#toplinks {
	text-align: center;
	font-size: 11px;
}
#toplinks a {
	text-decoration: none;
	color: white;
}
