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

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

p.h1	{ font-size:1.2em; color:#423723; font-weight:bold }
p.h2	{ font-size:1.1em; color:#423723; font-weight:bold }
p.h3	{ font-size:1.0em; color:#423723; font-weight:bold }

span.h2 { font-size:1.1em; color:#423723; font-weight:bold }

body#index p.h2 { margin-left: 37px; }

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

a:link,a:visited	{ color:#423723; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#6f6147; 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/back.gif") right no-repeat;
	}
	
	
p.back-to-top a { text-decoration:none;}
	
img.img-left { 
	float:left; 
	margin:2px 10px 10px 0; 
	}
	
img.img-right { 
	float:right; 
	margin:5px 0 0px 0px; 
	}
	
img.img-invis { 
	float:right; 
	margin:5px 0 0px 5px; 
	}
	
img.btn { margin:0 0 0 37px;}
	
/* ----- global form elements ----- */ 

form {
	width:150px;
	margin:10px 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:#D0DFF5 !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #D0DFF5;
	color:#4D698C;
	width:135px; /* 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;
	}
	
#contact-main input, #contact-main textarea, #contact-main select { 
	background-color:#6E6147 !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #382C16;
	color:#FFF6E4;
	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:180px; 
	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:210px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}
	
#contact-main label select { width:215px; }
	
#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 198px; }

input.submit-image{
	background:url("../images/btn-submit.jpg");
	width:64px;
	height:18px;
	border:none;
	cursor:pointer;
	}


input#submit-contact-main { 
	background:url("../images/btn-submit-main.jpg") no-repeat;
	width:66px;
	height:20px;
	border:none;
	cursor:pointer;
	}

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

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:760px;
	margin:0 auto;
	text-align:left;
	}
	
#container { background:url("../images/container.jpg") bottom right no-repeat;}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:92px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:23px;
		width:293px;
		top:6px;
		height:79px; 
		}
	#masthead a span {
		display:none;
		}

/* ----- column-left ----- */

#column-left {
	width:251px;
	float:left;
	color:#3C4F68;
	}
	
#column-left a:link,#column-left a:visited	{ color:#3C4F68; text-decoration:underline; outline:none; }
#column-left a:hover,#column-left a:active	{ color:#3C4F68; text-decoration:underline; outline:none; }
	
	#column-left p, #column-left p.h1, #column-left p.h2, #column-left p.h3, #column-left ul, #column-left dl {
		margin:0 30px 10px 24px;
		}
	#column-left form { margin-left:46px; }
	
	#email-top { background:url("../images/col-left-email.jpg") no-repeat; padding-top:78px;}
	#locate-top { background:url("../images/col-left-locate.jpg") no-repeat; padding-top:78px;}
	#thankyou-top { background:url("../images/col-left-thankyou.jpg") no-repeat; padding-top:78px;}
	
	#address { background:url("../images/col-left-address.jpg") no-repeat; height:44px;}
			
	.map { margin:0 0 0 24px;}
	
	#forms { background:url("../images/col-left-form.jpg") no-repeat; height:41px;}
			
/* ----- column-right ----- */

#column-right {
	width:509px;
	float:left;
	}

	#column-right p, #column-right p.h1, #column-right p.h2, #column-right p.h3, #column-right ul, #column-right dl {
		margin:0 24px 10px 25px;
		}
		
	#column-right h1, #column-right h2, #column-right h3 {
		margin:0 24px 10px 25px;
		}
		
	#column-right form { margin-left:0px; }
	 
	#services { background:url("../images/col-right-services.jpg") no-repeat; height:45px;} 
	
	#services-bg { background:url("../images/col-right-services-bg.jpg") repeat-y; color:#FFF6E4; float:left;}
	#services-bg p { margin:0 0 10px 37px;}
	#services-bg a:link, #services-bg a:visited, #services-bg a:active { color:#FFF6E4; text-decoration:none;}		
	#services-bg a:hover {color:#FFF6E4; text-decoration:underline;}
	#left-s { width:221px; float:left;}
	#right-s { width:255px; float:left; }
	#services-bottom { background:url("../images/col-right-services-bottom.jpg") no-repeat; height:34px; position:relative;}
	#services-bottom a { position:absolute; top:2px; left:45px; width:55px; height:18px;}
	#services-bottom span { display:none;}
	
	#bna-1 { background:url("../images/bna_08.jpg") top right no-repeat; height:97px; position:relative;}
	#bna-2 { background:url("../images/bna_02.jpg") top right no-repeat; height:97px; position:relative;}
	#bna-3 { background:url("../images/bna_03.jpg") top right no-repeat; height:97px; position:relative;}
	#bna-cosmetic { background:url("../images/bna_cosmetic.jpg") no-repeat; height:134px; left:25px; position:relative;}
	#bna-implant { background:url("../images/bna_implant.jpg") no-repeat; height:134px; left:25px; position:relative;}

	#bna-1 a, #bna-2 a, #bna-3 a { position:absolute; top:1px; left:70px; width:183px; height:91px; }
	#bna-cosmetic a, #bna-implant a { position:absolute; top:1px; width:183px; height:91px; }
	#bna-1 a span, #bna-2 a span , #bna-3 a span, #bna-cosmetic a span, #bna-implant a span  { display:none}
	
	#btn-more { background:url("../images/more.jpg") no-repeat; width:187px; height:21px; position:relative; margin:0 0 0 68px;}
	#btn-more a { position:absolute; top:3px; left:1px; height:16px; width:55px;}
	#btn-more span { display:none;} 
	
	#considering { background:url("../images/col-right-considering.jpg") right no-repeat; height:93px;}
	p.bottom { width:267px; padding:0 0 30px 185px;}
	
	
	/* single column list */
	#column-right ul { padding-left:5px; }
		#column-right ul li { 
			background:transparent url("../images/bullet.gif") 0px 6px no-repeat;
			padding-left:17px;  /* pushes text to the right to display bg img */
			}
	#financing { background:url("../images/bg-financing.jpg") repeat-y; margin:0 auto; width:760px; text-align:left; }
	#financing p { margin: 0 20px 0 276px; padding:0;}
	#financing-bottom { background:url("../images/financing-bottom.jpg") no-repeat; height:20px;}

/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg") right no-repeat;
	height:41px;
	clear:both;
	width:100%; /* fix for Safar */
	}

#bottom-wrap-sub {
	background:url("../images/bottom-wrap-sub.jpg") no-repeat;
	height:42px;
	clear:both;
	width:100%; /* fix for Safar */
	}
	
/* ------- Testimonials ------------ */
#testimonial { height:216px; position:relative}
#testimonial a { position:absolute; top:185px; left:9px; width:111px; height:23px;}
	
	body#index	#testimonial { background:url("../images/col-left-testimonial.jpg") no-repeat;}
	body#cosmetic	#testimonial { background:url("../images/col-left-testimonial-02.jpg") no-repeat;}
	body#contact #testimonial { background:url("../images/col-left-testimonial-03.jpg") no-repeat;}
	body#about	#testimonial { background:url("../images/col-left-testimonial-04.jpg") no-repeat;}
	body#technology	#testimonial { background:url("../images/col-left-testimonial-05.jpg") no-repeat;}
	body#restorative	#testimonial { background:url("../images/col-left-testimonial-06.jpg") no-repeat;}
	body#thankyou	#testimonial { background:url("../images/col-left-testimonial-06.jpg") no-repeat;}
	body#invisalign	#testimonial { background:url("../images/col-left-testimonial-06.jpg") no-repeat;}
	body#dental-implants	#testimonial { background:url("../images/col-left-testimonial-06.jpg") no-repeat;}
	body#teeth-whitening	#testimonial { background:url("../images/col-left-testimonial-06.jpg") no-repeat;}
	body#opalescence	#testimonial { background:url("../images/col-left-testimonial-06.jpg") no-repeat;}
	body#day-white	#testimonial { background:url("../images/col-left-testimonial-06.jpg") no-repeat;}
	body#veneers	#testimonial { background:url("../images/col-left-testimonial-06.jpg") no-repeat;}
	body#gallery	#testimonial { background:url("../images/col-left-testimonial-06.jpg") no-repeat;}
	body#sitemap	#testimonial { background:url("../images/col-left-testimonial-06.jpg") no-repeat;}
	
	
/* header framework
 * ------------------------------------------------------------------------- */

#header-graphic { height:250px; } /* sets height for all non-flash headers */

	body#index #header-graphic { background:url("../images/header-index.jpg"); }
	body#about #header-graphic { background:url("../images/header-about.jpg"); }
	body#cosmetic #header-graphic { background:url("../images/header-cosmetic.jpg"); }
	body#restorative #header-graphic { background:url("../images/header-restorative.jpg"); }
	body#technology #header-graphic { background:url("../images/header-technology.jpg"); }
	body#contact #header-graphic { background:url("../images/header-index.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header-about.jpg"); }
	body#invisalign #header-graphic { background:url("../images/header-about.jpg"); }
	body#dental-implants #header-graphic { background:url("../images/header-about.jpg"); }
	body#teeth-whitening #header-graphic { background:url("../images/header-about.jpg"); }
	body#opalescence #header-graphic { background:url("../images/header-about.jpg"); }
	body#day-white #header-graphic { background:url("../images/header-about.jpg"); }
	body#veneers #header-graphic { background:url("../images/header-about.jpg"); }
	body#gallery #header-graphic { background:url("../images/header-about.jpg"); }
	body#sitemap #header-graphic { background:url("../images/header-about.jpg"); }

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

#subhead { height:61px; } /* sets height for all subheads */

	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#about #subhead { background:url("../images/subhead-about.jpg"); }
	body#cosmetic #subhead { background:url("../images/subhead-cosmetic.jpg"); }
	body#restorative #subhead { background:url("../images/subhead-restorative.jpg"); }
	body#technology #subhead { background:url("../images/subhead-technology.jpg"); }
	body#contact #subhead { background:url("../images/subhead-contact.jpg"); }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg"); }
	body#invisalign #subhead { background:url("../images/subhead-invisalign.jpg"); }
	body#dental-implants #subhead { background:url("../images/subhead-dental-implants.jpg"); }
	body#teeth-whitening #subhead { background:url("../images/subhead-teeth-whitening.jpg"); }
	body#opalescence #subhead { background:url("../images/subhead-opalescence.jpg"); }
	body#day-white #subhead { background:url("../images/subhead-day-white.jpg"); }
	body#veneers #subhead { background:url("../images/subhead-veneers.jpg"); }
	body#gallery #subhead { background:url("../images/subhead-gallery.jpg"); }
	body#sitemap #subhead { background:url("../images/subhead-sitemap.jpg"); }


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

#footer p {
	color:#FFF6E4;
	margin-bottom:10px;
	}

#footer a:link, #footer a:visited { color:#FFF6E4; text-decoration:none }

#footer a:hover, #footer a:active { color:#FFF6E4; text-decoration:underline }

#footer ul {margin-top: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 #FFF6E4;
	}

	#footer li.first { border: none; }

/* Horozontal Sprite Nav
 * ------------------------------------------------------------------------- */

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

#nav span { display: none; }

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

#nav li { float:left; list-style:none; display:inline; }

#nav-01 { width: 113px; margin-left: 0px;}
#nav-02 { width: 103px;}
#nav-03 { width: 103px;}
#nav-04 { width: 115px;}
#nav-05 { width: 114px;}
#nav-06 { width: 88px;}
#nav-07 { width: 123px;}



/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -0px -35px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -113px -35px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -216px -35px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -319px -35px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -434px -35px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -548px -35px no-repeat; }
#nav-07 a:hover { background:url("../images/nav.jpg") -636px -35px no-repeat; }



/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -0px -35px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg") -113px -35px no-repeat; }
body#cosmetic #nav-03 { background:url("../images/nav.jpg") -216px -35px no-repeat; }
body#restorative #nav-04 { background:url("../images/nav.jpg") -319px -35px no-repeat; }
body#technology #nav-05 { background:url("../images/nav.jpg") -434px -35px no-repeat; }
body#gallery #nav-06 { background:url("../images/nav.jpg") -548px -35px no-repeat; }
body#contact #nav-07 { background:url("../images/nav.jpg") -636px -35px no-repeat; }

#masthead {
	position:relative;
	height:82px;
	background:url("../images/masthead.jpg") left top no-repeat;
	}
	#masthead a {	
		position:absolute;
		left:0px;
		top:0px;
		width:509px;
		height:82px; 
		}
	#masthead a span {
		display:none;
		}
		
/* 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:#eeebe4;	/* 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 #443927;
	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:15px;
	}

/* Drop down link styles */
#nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
	font-size:1.0em;
	color:#868b8f;
	text-decoration:none;
	}

#nav li:hover ul, #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-08 ul a:hover { 
	background-image:none;
	background-color:#d5cebc;
	color:#868b8f;
	text-decoration:none;
	}

/* width of drop down nav - choose width that allows items to display on one line */
#nav-02 ul, #nav-02 li { width:150px; }		
#nav-03 ul, #nav-03 li { width:150px; }		
#nav-04 ul, #nav-04 li { width:160px; }
#nav-05 ul, #nav-05 li { width:215px; }
#nav-08 ul, #nav-08 li { width:200px; }