/*--------------------- 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:#E3DDCB url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:12px/16px Arial, Helvetica, sans-serif; 
	color:#767250;
	}

blockquote { 
	margin-left:10px; 
	margin-right:10px; 
	}

h1	{ font-size:13px; color:#767250; }
h2	{ font-size:12px; color:#853E0F; }
h3	{ font-size:12px; color:#767250; }

p.h1	{ font-size:13px; color:#767250; font-weight:bold; }
p.h2	{ font-size:12px; color:#853E0F; font-weight:bold; }
p.h3	{ font-size:12px; color:#767250; font-weight:bold; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#767250; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#767250; text-decoration:underline; outline:none; }

/* ----- classes ----- */

.clear {
	clear:both;
	}

div.clear	{ 
	clear:both;
	height:.01em; 
	overflow:hidden; 
	}

p.back-to-top {
	text-align:right;
	display:block;
	padding-right:18px;
	background:url("../images/bullet-back-to-top.jpg") right no-repeat;
	}
	
img.img-left { 
	float:left; 
	margin:0 5px 0 0; 
	}
	
img.img-right { 
	float:right; 
	margin: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:127px;
	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:#E2D7C2 !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #E2D7C2;
	color:#853E0F;
	width:114px; /* 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: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: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:64px;
	height:18px;
	border:none;
	cursor:pointer;
	}


/* framework
 * ------------------------------------------------------------------------- */

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:790px;
	margin:0 auto;
	text-align:left;
	}
	
/* ----- column-left ----- */

#column-left {
	width:540px;
	float:left;
	background:url("../images/bg-left.jpg") no-repeat;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 10px 20px 52px;
		}
	#column-left form { margin-left:40px; }
	
	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul li { 
			background:transparent url("../images/bullet.jpg") 0px 4px no-repeat;
			padding-left:10px; /* pushes text to the right to display bg img */
			}
			
	#column-left ul li ul { margin:0 0 0 5px; }
				
/* ----- column-right ----- */

#column-right {
	width:250px;
	float:left;
	text-align:center;
	background:url("../images/bg-right.jpg") no-repeat;
	color:#4A4037;
	font-size:11px;
	line-height:15px;
	}
	
	#column-right a { color:#4A4037; }

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 68px 20px 50px;
		}
	#column-right form { margin:0 auto; }
	 
	/* single column list */
	#column-right ul { padding-left:5px; }
		#column-right ul li { 
			background:transparent url("../images/bullet.jpg") 0px 4px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			}

	#column-right ul li ul { margin:0 0 0 5px; }
	
/* ----- bottom-wrap ----- */
 
body#index #bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:171px;
	clear:both;
	width:100%; 
	}

#bottom-wrap {
	background:url("../images/bottom-wrap-sub.jpg");
	height:171px;
	clear:both;
	width:100%; 
	}

	
/* header framework
 * ------------------------------------------------------------------------- */

#header-graphic { position:relative; height:271px; }

body#index #header-graphic { background:url("../images/header-index.jpg"); height:282px; }
body#about #header-graphic { background:url("../images/header-about.jpg"); }
body#comprehensive #header-graphic { background:url("../images/header-comprehensive.jpg"); }
body#cosmetic #header-graphic { background:url("../images/header-cosmetic.jpg"); }
body#restorative #header-graphic { background:url("../images/header-restorative.jpg"); }
body#contact #header-graphic, body#thankyou #header-graphic { background:url("../images/header-contact.jpg"); }

	#header-graphic a { position:absolute; width:269px; height:53px; left:79px; top:58px; }
	
	#header-graphic span { display:none; } 

/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead { height:46px; } /* sets height for all non-flash subheads */

	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#about #subhead { background:url("../images/subhead-about-sub.jpg"); }
	body#comprehensive #subhead { background:url("../images/subhead-comprehensive.jpg"); }
	body#cosmetic #subhead { background:url("../images/subhead-cosmetic.jpg"); }
	body#restorative #subhead { background:url("../images/subhead-restorative.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 ------------------------ */
#subhead-about {
	height:63px;
	background:url("../images/subhead-about.jpg") ;
	}

#subhead-procedures {
	height:63px;
	background:url("../images/subhead-procedures.jpg") ;
	}

/* ------------------------ title framework with varying heights ------------------------- */
#title-qcontact {
	height:46px;
	background:url("../images/title-qcontact.jpg") ;
	}

#title-address {
	height:42px;
	background:url("../images/title-address.jpg") no-repeat ;
	}
	
#title-testimonial {
	height:42px;
	background:url("../images/title-testimonial.jpg") no-repeat;
	}

#title-affiliations {
	height:50px;
	background:url("../images/title-affiliations.jpg") ;
	}
	
/* ----- column about us ----- */

#col-about {
	width:311px;
	float:left;
	}
	
	#col-about p {
		margin-right:40px;
		}

/* ----- column about us ----- */

#col-procedures {
	width:229px;
	float:left;
	}
	
	#col-procedures p, #col-procedures dl {
		margin-left:20px;
		}

	/* definition list */
	#column-left #col-procedures dl { padding-left:0px; }
		#column-left #col-procedures dl dt {
			font-weight:bold;
			}
		#column-left #col-procedures dl dd {
			background:transparent url("../images/bullet.jpg") 0px 4px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			}

/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:790px;
	margin:0 auto;
	text-align:center;
	}

#footer p {
	margin:0 40px 20px 40px;
	}

#footer ul {margin-bottom:20px;}

#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 #767250;
	}

	#footer li.first { border: none; }

/* Horizontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:790px; 
	height:156px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:156px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; _display:inline; position:relative; }

#nav-01 { width: 97px; margin-left:54px; }
#nav-02 { width: 97px; margin-left:20px; }
#nav-03 { width: 97px; margin-left:21px; }
#nav-04 { width: 97px; margin-left:20px; }
#nav-05 { width: 97px; margin-left:21px; }
#nav-06 { width: 97px; margin-left:20px; }


/*-------------- (-79px) X position of button / (-156px) height of image from above ------------- */
#nav-01 a:hover { background: url("../images/nav.jpg") -54px -156px no-repeat; }
#nav-02 a:hover { background: url("../images/nav.jpg") -171px -156px no-repeat; }
#nav-03 a:hover { background: url("../images/nav.jpg") -289px -156px no-repeat; }
#nav-04 a:hover { background: url("../images/nav.jpg") -406px -156px no-repeat; }
#nav-05 a:hover { background: url("../images/nav.jpg") -524px -156px no-repeat; }
#nav-06 a:hover { background: url("../images/nav.jpg") -641px -156px no-repeat; }

#nav-sub { 
	width:790px; 
	height:167px; 
	margin:0;
	padding:0; 
	}

body#about #nav-sub { background:url("../images/nav-about.jpg") no-repeat; }
body#comprehensive #nav-sub { background:url("../images/nav-comprehensive.jpg") no-repeat; }
body#cosmetic #nav-sub { background:url("../images/nav-cosmetic.jpg") no-repeat; }
body#restorative #nav-sub { background:url("../images/nav-restorative.jpg") no-repeat; }
body#contact #nav-sub, body#thankyou #nav-sub { background:url("../images/nav-contact.jpg") no-repeat; }

#nav-sub span { display: none; }

#nav-sub li, #nav-sub a { height:156px; display:block; } /* change height here also */

#nav-sub li { float:left; list-style:none; _display:inline; position:relative; }

#nav-sub-01 { width: 97px; margin-left:54px;}
#nav-sub-02 { width: 97px; margin-left:20px;}
#nav-sub-03 { width: 97px; margin-left:21px;}
#nav-sub-04 { width: 97px; margin-left:20px;}
#nav-sub-05 { width: 97px; margin-left:21px;}
#nav-sub-06 { width: 97px; margin-left:20px;}


/*-------------- (-79px) X position of button / (-156px) height of image from above ------------- */
body#about #nav-sub-01 a:hover { background: url("../images/nav-about.jpg") -54px -167px no-repeat; }
body#about #nav-sub-02 a:hover { background: url("../images/nav-about.jpg") -171px -167px no-repeat; }
body#about #nav-sub-03 a:hover { background: url("../images/nav-about.jpg") -289px -167px no-repeat; }
body#about #nav-sub-04 a:hover { background: url("../images/nav-about.jpg") -406px -167px no-repeat; }
body#about #nav-sub-05 a:hover { background: url("../images/nav-about.jpg") -524px -167px no-repeat; }
body#about #nav-sub-06 a:hover { background: url("../images/nav-about.jpg") -641px -167px no-repeat; }

body#comprehensive #nav-sub-01 a:hover { background: url("../images/nav-comprehensive.jpg") -54px -167px no-repeat; }
body#comprehensive #nav-sub-02 a:hover { background: url("../images/nav-comprehensive.jpg") -171px -167px no-repeat; }
body#comprehensive #nav-sub-03 a:hover { background: url("../images/nav-comprehensive.jpg") -289px -167px no-repeat; }
body#comprehensive #nav-sub-04 a:hover { background: url("../images/nav-comprehensive.jpg") -406px -167px no-repeat; }
body#comprehensive #nav-sub-05 a:hover { background: url("../images/nav-comprehensive.jpg") -524px -167px no-repeat; }
body#comprehensive #nav-sub-06 a:hover { background: url("../images/nav-comprehensive.jpg") -641px -167px no-repeat; }

body#cosmetic #nav-sub-01 a:hover { background: url("../images/nav-cosmetic.jpg") -54px -167px no-repeat; }
body#cosmetic #nav-sub-02 a:hover { background: url("../images/nav-cosmetic.jpg") -171px -167px no-repeat; }
body#cosmetic #nav-sub-03 a:hover { background: url("../images/nav-cosmetic.jpg") -289px -167px no-repeat; }
body#cosmetic #nav-sub-04 a:hover { background: url("../images/nav-cosmetic.jpg") -406px -167px no-repeat; }
body#cosmetic #nav-sub-05 a:hover { background: url("../images/nav-cosmetic.jpg") -524px -167px no-repeat; }
body#cosmetic #nav-sub-06 a:hover { background: url("../images/nav-cosmetic.jpg") -641px -167px no-repeat; }

body#restorative #nav-sub-01 a:hover { background: url("../images/nav-restorative.jpg") -54px -167px no-repeat; }
body#restorative #nav-sub-02 a:hover { background: url("../images/nav-restorative.jpg") -171px -167px no-repeat; }
body#restorative #nav-sub-03 a:hover { background: url("../images/nav-restorative.jpg") -289px -167px no-repeat; }
body#restorative #nav-sub-04 a:hover { background: url("../images/nav-restorative.jpg") -406px -167px no-repeat; }
body#restorative #nav-sub-05 a:hover { background: url("../images/nav-restorative.jpg") -524px -167px no-repeat; }
body#restorative #nav-sub-06 a:hover { background: url("../images/nav-restorative.jpg") -641px -167px no-repeat; }

body#contact #nav-sub-01 a:hover, body#thankyou #nav-sub-01 a:hover { background: url("../images/nav-contact.jpg") -54px -167px no-repeat; }
body#contact #nav-sub-02 a:hover, body#thankyou #nav-sub-02 a:hover { background: url("../images/nav-contact.jpg") -171px -167px no-repeat; }
body#contact #nav-sub-03 a:hover, body#thankyou #nav-sub-03 a:hover { background: url("../images/nav-contact.jpg") -289px -167px no-repeat; }
body#contact #nav-sub-04 a:hover, body#thankyou #nav-sub-04 a:hover { background: url("../images/nav-contact.jpg") -406px -167px no-repeat; }
body#contact #nav-sub-05 a:hover, body#thankyou #nav-sub-05 a:hover { background: url("../images/nav-contact.jpg") -524px -167px no-repeat; }
body#contact #nav-sub-06 a:hover, body#thankyou #nav-sub-06 a:hover { background: url("../images/nav-contact.jpg") -641px -167px no-repeat; }

/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#about #nav-sub-02 { background: url("../images/nav-about.jpg") -171px -167px no-repeat; }
body#comprehensive #nav-sub-03 { background: url("../images/nav-comprehensive.jpg") -289px -167px no-repeat; }
body#cosmetic #nav-sub-04 { background: url("../images/nav-cosmetic.jpg") -406px -167px no-repeat; }
body#restorative #nav-sub-05 { background: url("../images/nav-restorative.jpg") -524px -167px no-repeat; }
body#contact #nav-sub-06 { background: url("../images/nav-contact.jpg") -641px -167px no-repeat; }
