/*--------------------- Last Modified --> 2006.11.10 ---------------------*/
/*-------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------
  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
/*------------------------------------------------------------------------------------*/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td,html,label,table,tr,td {margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img,a img,:link img,:visited img {border:0;}
address,caption,cite,code,dfn,th,var {font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6 {font-size:100%;}
q:before,q:after {content:'';}


/* global elements
 * ------------------------------------------------------------------------- */


/* ----- type selectors ----- */ 
html { 
	background:#1b1b1b url("../images/bg-html.jpg") top repeat-x;
	width:100%;
	}

body { 
	background:url("../images/bg-body.jpg") center top no-repeat;
	text-align:center; 
	font:11px/16px "Trebuchet MS", Arial, Helvetica, sans-serif; 
	color:#fff;
	}

blockquote { 
	margin-left:20px; 
	margin-right:20px; 
	}

h1, h2, h3	{ font-size:1.2em; color:#fff; }
h2 {color: #6e9bb8;}

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#fff; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#fff; text-decoration:none; outline:none; }

/* ----- classes ----- */

.clear {
	clear:both;
	}

div.clear	{ 
	clear:both;
	height:.01em; 
	overflow:hidden; 
	}

p.back-to-top {
	text-align:right;
	display:block;
	}
	
img.img-left { 
	float:left; 
	margin:0; 
	}
	
img.img-right { 
	float:right; 
	margin:0; 
	}

img.img-right-index { 
	float:right; 
	margin:-37px 0 0 0; 
	}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
	}
	
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */
	
/* ----- global form elements ----- */ 

form {
	width:300px;
	margin:0 0 15px 0;
	}

form label	{ font-size:.95em; }

form br { line-height:0; height:0; } /* defaults vertical spacing between fields */

input, textarea, select { 
	background-color:#fff !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #818181;
	color:#5f5b42;
	width:145px; /* 5 pixels 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:11px;
	}
	
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:0 0 15px 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:177px; }
	
#contact-main label textarea { height:100px; overflow:auto; }

#contact-business-main { display: none; } /* do not remove */ 


/* ----- submit button form elements ----- */ 

input.submit-contact-main { margin:85px 0 5px 243px; }

input.submit, input.submit-contact-main { 
	background:url("../images/btn-submit.jpg");
	width:62px;
	height:17px;
	border:none;
	cursor:pointer;
	}
/* ----- online store form elements ----- */ 
body#online-store #body-content table form {
	margin:0 30px 30px 0;
	width:85px;
}
input.quantity {
	width:25px;
}
input.quantity-submit { 
	width:70px;
	height:18px;
	border:none;
	cursor:pointer;
	}
/* framework
 * ------------------------------------------------------------------------- */

body#index #wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:920px;
	margin:0 auto;
	text-align:left;
	}

#wrap {
	background:url("../images/bg-wrap-sub.jpg") repeat-y;
	width:920px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:101px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:25px;
		width:225px;
		top:20px;
		height:65px; 
		}
	#masthead a span {
		display:none;
		}
		
#body-content {
	background:url("../images/bg-content.jpg") no-repeat;
	width:920px;
	}
	
	#body-content p, #body-content h1, #body-content h2, #body-content h3, #body-content ul, #body-content dl, #body-content table {
		margin:0 35px 15px 35px;
		}
		
	#body-content form { margin-left:160px; }
	
	#body-content ul { padding-left:25px; }
		#body-content ul li {
			list-style-type:disc; 
			}

	#body-content ul li ul { margin:0 0 0 5px; }
	
/* ordered list */
	#body-content ol { padding-left:50px; }
		#body-content ol li {
			list-style:decimal outside; 
			}

	/* definition list */
	#body-content dl { padding-left:25px; }
		#body-content dl dt {
			font-weight:bold;
			}
		#body-content dl dd {
			list-style-type:disc;
			margin-left:10px;
			}
	#body-content table td {
		width: 275px;
		padding: 2px;
		line-height: 15px;
		vertical-align: top;
	}
	#body-content table thead {
		font-weight: bold;
		color: #6e9bb8;
	}
	body#online-store #body-content table {
		width:860px;
		margin:0 35px 15px 35px;
	}
	body#online-store #body-content table th {
		font-weight: bold;
		color: #6e9bb8;
	}
	body#online-store #body-content table tr {
		border-top:1px solid #4f4f4f;
	}
	body#online-store #body-content table td {
		border-right:1px solid #4f4f4f;
		padding:10px;
	}
	body#online-store #body-content table td.last {
		border-right:none;
	}

/* ----- column-left ----- */

#column-left {
	width:460px;
	float:left;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 35px 15px 35px;
		}
	#column-left form { margin-left:0px; }
	
	/* single column list */
	#column-left ul { padding-left:25px; }
		#column-left ul li {
			list-style-type:disc; 
			}
			
	#column-left ul li ul { margin:0 0 0 5px; }
	
	/* definition list */
	#column-left dl { padding-left:25px; }
		#column-left dl dt {
			font-weight:bold;
			}
		#column-left dl dd {
			list-style-type:disc;
			margin-left:10px;
			}
			
/* ----- column-right ----- */

#column-right {
	width:460px;
	float:left;
	}

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 27px 18px 33px;
		}
	#column-right form { margin-left:0px; }
	 
	/* single column list */
	#column-right ul { padding-left:25px; }
		#column-right ul li {
			list-style-type:disc; 
			}

	#column-right ul li ul { margin:0 0 0 5px; }
	
	/* definition list */
	#column-right dl { padding-left:25px; }
		#column-right dl dt {
			font-weight:bold;
			}
		#column-right dl dd {
			list-style-type:disc;
			margin-left:10px;
			}
	
	
/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:71px;
	clear:both;
	width:100%; 
	}

	
/* header framework
 * ------------------------------------------------------------------------- */

#header-graphic {
	height:306px;
	color:#b1b1b1;
	}
	
	#header-graphic h2, #header-graphic h3, #header-graphic p {
		margin:0 365px 15px 35px;
		}
		
	#header-graphic a {
		color:#b1b1b1;
		}
		
body#index #header-graphic { background:url("../images/header-graphic.jpg"); }
body#about-us #header-graphic { background:url("../images/header-graphic-about.jpg"); }
body#acquaseal-faq #header-graphic { background:url("../images/header-graphic-acquaseal-faq.jpg"); }
body#acquaseal #header-graphic { background:url("../images/header-graphic-acquaseal.jpg"); }
body#contact #header-graphic { background:url("../images/header-graphic-contact.jpg"); }
body#deepbleaching-faq #header-graphic { background:url("../images/header-graphic-deepbleaching-faq.jpg"); }
body#deepbleaching #header-graphic { background:url("../images/header-graphic-deepbleaching.jpg"); }
body#oral #header-graphic { background:url("../images/header-graphic-oral.jpg"); }
body#restorative #header-graphic { background:url("../images/header-graphic-restorative.jpg"); }
body#science #header-graphic { background:url("../images/header-graphic-science.jpg"); }
body#thankyou #header-graphic { background:url("../images/header-graphic-thankyou.jpg"); }
body#tutorial #header-graphic { background:url("../images/header-graphic-tutorial.jpg"); }
body#sitemap #header-graphic { background:url("../images/header-graphic-sitemap.jpg"); }
body#testimonials #header-graphic { background:url("../images/header-graphic-testimonials.jpg"); }
body#online-store #header-graphic { background:url("../images/header-graphic-online-store.jpg"); }
body#whitening-page #header-graphic { background:url("../images/header-graphic-teeth.jpg"); }
#header-graphic { height:306px;background:url("../images/header-graphic-sub.jpg"); } 

/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead { height:84px; } /* sets height for all non-flash subheads */

	body#index h1#subhead { background:url("../images/subhead-index.jpg") no-repeat; height:87px; margin:0; }
	body#about-us #subhead { background:url("../images/subhead-about.jpg"); }
	body#acquaseal #subhead { background:url("../images/subhead-acqua.jpg"); }
	body#oral #subhead { background:url("../images/subhead-oral.jpg"); }
	body#restorative #subhead { background:url("../images/subhead-restorative.jpg"); }
	body#whitening-page #subhead { background:url("../images/subhead-whitening.jpg"); }
	body#acquaseal-faq #subhead { background:url("../images/subhead-acqua-faqs.jpg"); }
	body#deepbleaching #subhead { background:url("../images/subhead-deep.jpg"); }
	body#tutorial #subhead { background:url("../images/subhead-tutorial.jpg"); }
	body#deepbleaching-faq #subhead { background:url("../images/subhead-deep-faqs.jpg"); }
	body#science #subhead { background:url("../images/subhead-science.jpg"); }
	body#testimonials #subhead { background:url("../images/subhead-testimonials.jpg"); }
	body#online-store #subhead { background:url("../images/subhead-online-store.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 ------------------------ */
h2#subhead-acquaseal {
	height:84px;
	background:url("../images/subhead-acquaseal.jpg") ;
	margin:0;
	}

h2#subhead-deep-bleaching {
	height:84px;
	background:url("../images/subhead-deep-bleaching.jpg") ;
	margin:0;
	}

/* ------------------------ title framework with varying heights ------------------------- */
#title-qcontact {
	height:74px;
	background:url("../images/title-qcontact.jpg") ;
	}

body#contact #title-qcontact, body#thankyou #title-qcontact {
	height:55px;
	background:url("../images/title-locate.jpg") ;
	}

/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:920px;
	margin:0 auto;
	text-align:center;
	}

#footer p {
	margin:0 20px 10px 20px;
	}

#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 #fff;
	}

	#footer li.first { border: none; }

/* Horizontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:920px; 
	height:46px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:46px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; _display:inline; position:relative; }

#nav-01 { width: 60px; margin-left: 23px;}
#nav-02 { width: 73px;}
#nav-03 { width: 85px;}
#nav-04 { width: 110px;}
#nav-05 { width: 99px;}
#nav-06 { width: 89px;}


/*-------------- (-79px) X position of button / (-46px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -23px -46px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg")  -83px -46px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -156px -46px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -241px -46px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -351px -46px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -450px -46px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -23px -46px no-repeat; }
body#about-us #nav-02 { background:url("../images/nav.jpg")  -83px -46px no-repeat; }
body#acquaseal #nav-03 { background:url("../images/nav.jpg") -156px -46px no-repeat; }
body#deepbleaching #nav-04 { background:url("../images/nav.jpg") -241px -46px no-repeat; }
body#online-store #nav-05 { background:url("../images/nav.jpg") -351px -46px no-repeat; }
body#contact #nav-06 { background:url("../images/nav.jpg") -450px -46px no-repeat; }

/* Son of Suckerfish: Horizontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav li ul {
	position:absolute;
	left:-9999px;
	padding-right:1px;			/* Fixes one px spacing for border-right in FF */
	background-color:#494949;	/* Background color of drop down nav - add more styles (i.e. background image) if you want */
	}

#nav li ul li { 
	height:20px; 				/* Height of each drop down nav item */
	border:1px solid #898d91;
	border-top:none;
	}	

#nav li ul li a {
	width:100%;
	height:20px;				/* Height of each drop down nav item, should match above */
	line-height:20px;			/* Height of each drop down nav item again, should match above */
	}

#nav li ul li a span {
	display:block;
	padding-left:12px;
	}

/* Drop down link styles */
#nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
	font-size:1.0em;
	color:#FFFFFF;
	text-decoration:none;
	}

#nav li:hover ul, #nav li.sfHover ul	{ left: auto; }

/* Hover styles for drop down items */
#nav-03 ul a:hover, #nav-04 ul a:hover { 
	background-image:none;
	background-color:#6c6a6a;
	color:#FFFFFF;
	text-decoration:none;
	}

/* width of drop down nav - choose width that allows items to display on one line */
#nav-03 ul, #nav-03 li { width:215px; }		
#nav-04 ul, #nav-04 li { width:200px; }

/* Quick Contact Section Bottom of Page
 * ------------------------------------------------------------------------- */

#wrap-quick-contact {
	background:#fff url("../images/bg-qcontact.jpg") no-repeat;
	color:#000;
	width:920px;
	margin:0 auto;
	text-align:left;
	}
	
	#quick-contact-left {
		float:left;
		width:460px;
		}
		
		#quick-contact-left p, #quick-contact-left h2, #quick-contact-left h3, #quick-contact-left ul, #quick-contact-left dl {
			margin:0 65px 15px 35px;
			}	
		
	#quick-contact-right {
		float:left;
		width:460px;
		padding-bottom:10px;
		}
		
		#quick-contact-right form {
			margin:40px 0 0 133px;
			width:325px;
			}
			
		#quick-contact-right form input {
			float:left;
			width:145px;
			margin-right:5px;
			}
			
		#quick-contact-right form textarea {
			width:301px;
			height:40px;
			}
			
			#quick-contact-right form input.submit {
				width:62px;
				height:17px;
				}
				
			
			
