/*--------------------- 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 ------------------------ */
body { 
	background:#563438 url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:12px/18px Arial, Helvetica, sans-serif; 
	color:#563438;
	}

blockquote { margin-left:10px; margin-right:10px; }

h1	{ font-size:1.2em; color:#563438; }
h2	{ font-size:1.1em; color:#563438; }
h3	{ font-size:1.0em; color:#563438; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#563438; text-decoration:none; outline:none; }
a:hover,a:active	{ color:#563438; text-decoration:underline; outline:none; }

/* ------------------------ classes ------------------------ */
.clear	{ 
	clear:both;
	}

div.clear	{ 
	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:3px 10px 5px 60px;
	}

.big-pic {margin-left:60px;}

img.img-right { 
	float:right; 
	margin:5px 0px 10px 10px; 
	}

.bold {font-weight:bold;}

#nav li:hover ul, body#index #nav li.sfHover ul { left:auto; }

/* Hover styles for drop down items */

#nav-02 ul a:hover, #nav-03 ul a:hover, #nav-04 ul a:hover,
#nav-05 ul a:hover, #nav-06 ul a:hover {
	background-image:none;
	background-color:#F0F;
	}

/* width of drop down menu - choose width that allows items to display on one line */

#nav-02 ul, #nav-03 li { width:150px; }		
#nav-03 ul, #nav-03 li { width:175px; }


/* ------------------------ form elements ------------------------ */

form label	{ font-size:.95em; margin-left:25px; } 

form br { line-height:0; height:0; } /* defaults vertical spacing between fields */

input, textarea, select { 
	background-color:#e8eff3 !important;
	color:#000;
	border:#563438 1px solid;
	width:233px;
	height:18px;
	line-height:18px;
	vertical-align: middle;
	margin-bottom:4px;
	margin-left:25px;
	padding-top:1px;
	padding-left:4px;
	font-family:"Trebuchet MS", 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, #contact-business-main { display:none; } /* do not remove */ 


/* ------------------------ SPECIFIC ELEMENTS ------------------------ */

/* ------------------------ main contact form ------------------------ */
#contact-main { margin:20px 0 20px 40px; }

#contact-main label { 
	width:220px; 
	position:relative; 
	display:block; 
	text-align:right; 
	margin-bottom:10px;
	font-size:1.0em;
	}

#contact-main dt {margin:0 0 8px 235px;}

#contact-main label input, #contact-main label textarea, #contact-main label select { 
	width:170px;
	position:absolute; 
	left:95%; 
	top:-2px;
	}

#contact-main label select { width:175px; } /* fixes display issue - 5px larger than input field */

#contact-main label textarea { height:100px; overflow:auto; }

/* ------------------------ submit button form elements ------------------------ */

input.submit, input.submit-contact-main { 
	width:60px;
	height:20px;
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:86px 0 0 259px; } /* defines placement of contact-main submit button */

input.submit-image, input.submit-contact-main { /* REMOVE IF NOT USED */
	background:url("../images/btn-submit.jpg");
	width:64px;
	height:20px;
	border:#563438 1px solid;
	cursor:pointer;
	margin-bottom:5px;
	}

/* ------------------------------- CONTENT FRAMEWORK ------------------------------- */

/* ------------------------ main framework ------------------------ */
#wrap {
	background:url("../images/wrap-bg.jpg") repeat-y;
	width:941px;
	margin:0 auto;
	text-align:left;
	}

#bottom-wrap {
	background:url("../images/bottom-wrap.jpg") no-repeat;
	width:941px;
	height:67px;
	margin:0 auto 0 auto;
	}

/* ------------------------ masthead framework ------------------------ */
#header {
	position:relative;
	float:left;
	width:941px;
	background:url("../images/header-index.jpg");
	height:380px;
	}
	/* index page link within #masthead */		
	#header a {	
		display:block;
		height:89px;
		width:340px;
		margin:0 0 0 75px; 
		}
	#header a span {
		display:none;
		}



/* ------------------------ column-left framework ------------------------ */
#column-left {
	width:612px;
	float:left;
	padding-bottom:30px;
	}

	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:10px 20px 10px 62px;
		}
	
	#column-left img {margin:0 0 0 62px;}
	
	
#quick-contact {
	background:url("../images/quick-contact.jpg") no-repeat;
	width:329px;
	height:177px;
	}
	
#quick-spacer {
	background:url("../images/quick-spacer.jpg") no-repeat;
	width:329px;
	height:40px;
	}
	
#quote {
	background:url("../images/quote-index.jpg") no-repeat;
	width:612px;
	height:172px;
	float:left;
	margin:0;
	}
	
	#quote p span {display:none;}
	
#feature {
	background:url("../images/feature-index.jpg") no-repeat;
	position:relative;
	width:612px;
	height:264px;
	float:left;
	margin:0;
	}
	
	#feature a {	
		position:absolute;
		display:block;
		height:35px;
		width:200px;
		top:173px;
		left:65px;
		margin:0; 
		}
	#feature a span {display:none;}
	#feature p {margin:5px 33px 10px 348px;}
	#feature h3 {margin:85px 33px 0px 348px;}
	
	
/* ------------------------ column-right framework ------------------------ */
#column-right {
	width:329px;
	float:left;
	}

	#column-right p, #column-right h1, #column-right h2, #column-right h3 {
		margin:10px 62px 10px 25px;
		}
			


/* ------------------------ header framework ------------------------ */
#header-graphic { height:380px;  }
	body#index #header-graphic { background:url("../images/header-index.jpg"); }
	body#about #header-graphic { background:url("../images/header-index.jpg"); }
	body#contact #header-graphic { background:url("../images/header-index.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header-index.jpg"); }
	body#cosmetic #header-graphic { background:url("../images/header-index.jpg"); }
	body#restorative #header-graphic { background:url("../images/header-index.jpg"); }
	body#finance #header-graphic { background:url("../images/header-index.jpg"); }
	body#gallery #header-graphic { background:url("../images/header-index.jpg"); }
	body#faqs #header-graphic { background:url("../images/header-index.jpg"); }

/* ------------------------ subhead framework ------------------------ */
#subhead { height:63px; } /* sets height for all subheads */
	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#about #subhead { background:url("../images/subhead-about.jpg"); }
	body#contact #subhead { background:url("../images/subhead-contact.jpg"); }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg"); }
	body#cosmetic #subhead { background:url("../images/subhead-cosmetic.jpg"); }
	body#restorative #subhead { background:url("../images/subhead-restorative.jpg"); }
	body#finance #subhead { background:url("../images/subhead-finance.jpg"); }
	body#gallery #subhead { background:url("../images/subhead-gallery.jpg"); }
	body#faqs #subhead { background:url("../images/subhead-faqs.jpg"); }


/* ------------------------footer framework ------------------------ */
#footer {
	background:url("../images/footer-bg.jpg") repeat-y;
	width:941px;
	margin:0 auto;
	padding-top:10px;
	text-align:center;
	}

#footer p {
	color:#fff;
	margin:10px 60px 0 60px;
	}

#footer a:link, #footer a:visited { color:#fff; text-decoration:none; }
#footer a:hover, #footer a:active { color:#fff; text-decoration:underline; }

#footer ul {margin:20px 0 0 7px;}
	#footer li {
		padding:0 5px 0 7px;
		display: inline;
		border-left: 1px solid #fff;
		}
	#footer li.first { border: none; }

/* ------------------------ MAIN NAVIGATION FRAMEWORK ------------------------ */
#nav-bg { 
	background:url("../images/nav-bg.jpg") no-repeat; 
	width:941px; 
	height:20px; 
	margin:0;
	padding:0; 
	}
	
#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:941px; 
	height:50px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:50px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; display:inline; position:relative; }

#nav-01 { width: 88px; margin-left:37px; }
#nav-02 { width: 71px; }
#nav-03 { width: 168px; }
#nav-04 { width: 153px; }
#nav-05 { width: 138px; }
#nav-06 { width: 81px; }
#nav-07 { width: 69px; }
#nav-08 { width: 85px; }

#nav-01 a:hover { background:url("../images/nav.jpg")  -37px -50px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -125px -50px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -196px -50px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -364px -50px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -517px -50px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -655px -50px no-repeat; }
#nav-07 a:hover { background:url("../images/nav.jpg") -736px -50px no-repeat; }
#nav-08 a:hover { background:url("../images/nav.jpg") -805px -50px no-repeat; }

body#index #nav-01 { background:url("../images/nav.jpg")  -37px -100px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg") -125px -100px no-repeat; }
body#restorative #nav-03 { background:url("../images/nav.jpg") -196px -100px no-repeat; }
body#cosmetic #nav-04 { background:url("../images/nav.jpg") -364px -100px no-repeat; }
body#finance #nav-05 { background:url("../images/nav.jpg") -517px -100px no-repeat; }
body#gallery #nav-06 { background:url("../images/nav.jpg") -655px -100px no-repeat; }
body#faqs #nav-07 { background:url("../images/nav.jpg") -736px -100px no-repeat; }
body#contact #nav-08 { background:url("../images/nav.jpg") -805px -100px no-repeat; }


/* ------------------------ SubNav FRAMEWORK ------------------------ */

#subnav {
	position:relative;
	background:url("../images/subnav.jpg") no-repeat;
	width:941px;
	height:199px;
	}

#restorative-cat {
	width:329px;
	float:left;
	display:inline;
	}
	
	#restorative-cat a {	
		display:block;
		height:20px;
		width:230px;
		margin:18px 0 0 62px; 
		}
	#restorative-cat h2 span {display:none;}
	#restorative-cat p {margin:52px 20px 10px 62px;}
	
#cosmetic-cat {
	width:280px;
	float:left;
	display:inline;
	}
	
	#cosmetic-cat a {	
		display:block;
		height:20px;
		width:200px;
		margin:18px 0 0 15px; 
		}
	#cosmetic-cat h2 span {display:none;}
	#cosmetic-cat p {margin:52px 15px 10px 20px;}
	
#prevention-cat {
	width:322px;
	float:left;
	display:inline;
	}
	
	#prevention-cat a {	
		display:block;
		height:20px;
		width:200px;
		margin:18px 0 0 20px; 
		}
	#prevention-cat h2 span {display:none;}
	#prevention-cat p {margin:52px 62px 10px 30px;}
	


/* ------------------------ Nav-Procedures FRAMEWORK ------------------------ */

#nav-procedures { 
	background:url("../images/nav-procedures.jpg") no-repeat; 
	width:329px; 
	height:246px; 
	margin:0 0 10px 0;
	padding:0; 
	}

#nav-procedures li span { display: none; }

#nav-procedures li { float:left; list-style:none; position:relative; }

#nav-procedures li, #nav-procedures a { 
	height:33px;	/* Each button must have the same height, define it here */
	display:block;
	}
	
/* margin-top to set where the sub-nav should begin */
#nav-procedures-01 { margin-top:5px; width:300px; }

/* margin-top if there is a spacing between each sub-nav button */
#nav-procedures-02, #nav-procedures-03, #nav-procedures-04, #nav-procedures-05, #nav-procedures-06, #nav-procedures-07 { margin-top:1; width:300px; }

#nav-procedures-01 a:hover { background:url("../images/nav-procedures.jpg") -329px  -5px no-repeat; }
#nav-procedures-02 a:hover { background:url("../images/nav-procedures.jpg") -329px  -38px no-repeat; }
#nav-procedures-03 a:hover { background:url("../images/nav-procedures.jpg") -329px  -71px no-repeat; }
#nav-procedures-04 a:hover { background:url("../images/nav-procedures.jpg") -329px  -104px no-repeat; }
#nav-procedures-05 a:hover { background:url("../images/nav-procedures.jpg") -329px -137px no-repeat; }
#nav-procedures-06 a:hover { background:url("../images/nav-procedures.jpg") -329px -170px no-repeat; }
#nav-procedures-07 a:hover { background:url("../images/nav-procedures.jpg") -329px -203px no-repeat; }
