/*--------------------- 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:#E3F5FA url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:11px/15px "Verdana", Arial, Helvetica, sans-serif; 
	color:#007B8A;
	}

blockquote { 
	margin-left:10px; 
	margin-right:10px; 
	}

h1	{ font-size:1.2em; color:#007B8A; }
h2	{ font-size:1.1em; color:#007B8A; }
h3	{ font-size:1.0em; color:#007B8A; }

p.h1	{ font-size:1.2em; color:#007B8A; font-weight:bold; }
p.h2	{ font-size:1.1em; color:#007B8A; font-weight:bold; }
p.h3	{ font-size:1.0em; color:#007B8A; font-weight:bold; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#007B8A; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#007B8A; text-decoration:none; outline:none; }

/* ----- classes ----- */

div.clear	{ 
	clear:both;
	height:.01em; 
	overflow:hidden; 
	}
	
div.bg-dkgrn  {
	background:url("../images/bg-dkgrn.jpg");
	width:460px;
	}

p.back-to-top {
	text-align:right;
	display:block;
	padding-right:18px;
	background:url("../images/bullet-back-to-top.gif") top right no-repeat;
	}
	
img.img-left { 
	float:left; 
	margin:0 10px 10px 0; 
	}
	
img.img-right { 
	float:right; 
	margin:0 70px 5px 10px; 
	}
	


	
/* ----- global form elements ----- */ 

form {
	width:145px;
	margin:0 0 20px 0;
	}

form label	{ font-size:.95em; }

form br { line-height:0; height:0; } /* defaults vertical spacing between fields */

input, textarea, select { 
	background-color:#99E4F2 !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #99E4F2;
	color:#00809B;
	width:140px; /* 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: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 20px 0; }

#contact-main label { 
	width:160px; 
	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:95px 0 5px 176px; }

input.submit-image, input.submit-contact-main { /* REMOVE IF NOT USED */
	background:url("../images/btn-submit.jpg");
	width:65px;
	height:18px;
	border:none;
	cursor:pointer;
	}


/* framework
 * ------------------------------------------------------------------------- */

body#index #wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:760px;
	margin:0 auto;
	text-align:left;
	}

#wrap {
	background:url("../images/bg-wrap-sub.jpg") repeat-y;
	width:760px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:93px;
	}
	/* index page link within #masthead */		
	#masthead a {
	position:absolute;
	left:164px;
	width:247px;
	top:24px;
	height:37px;
		}
	#masthead a span {
		display:none;
		}

/* ----- column-left ----- */

#column-left {
	width:300px;
	float:left;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 55px 20px 90px;
		}
	#column-left form { margin-left:90px; }
	
	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px; /* pushes text to the right to display bg img */
			}
			
	/* definition list */
	#column-left dl { padding-left:0px; }
		#column-left dl dt {
			font-weight:bold;
			}
		#column-left dl dd {
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:7px;  /* pushes text to the right to display bg img */
			}
			
			#column-left dl dd dl { margin:0; padding:0; }
			
/* ----- 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 66px 0 22px;
		}
	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		padding-bottom:20px;
		}
	#column-right img { margin-left:22px; }
	#column-right img.img-center { margin:0 0 20px 24px; }
	#column-right form { margin-left:22px; }
	 
	/* single 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 */
			}

	#column-right ul li ul { margin:0 0 0 5px; }
	
	#column-right #img-farr { margin:0 10px 20px 22px; }
		
#banner-whitening {
	background:url("../images/banner-whitening.jpg");
	height:170px;
	position:relative;
	}
	
	#banner-whitening a {
		width:384px;
		height:130px;
		left:9px;
		top:17px;
		position:absolute;
		}
		
	#banner-whitening span { display:none; }

body#gallery #column-right p { width:372px; margin:0 66px 20px 22px; padding:0; }
body#gallery #column-right p.text-center { 
	font-weight:bold; 
	text-align:center;
	margin:0;
	padding-top:150px;
	width:380px;
	}

#bna-01 {
	background:url("../images/bna-01.jpg");
	height:170px;
	}
	
#bna-03 {
	background:url("../images/bna-03.jpg");
	height:170px;
	}
	
#bna-04 {
	background:url("../images/bna-04.jpg");
	height:170px;
	}
	
#bna-05 {
	background:url("../images/bna-05.jpg");
	height:170px;
	}
	
#bna-06 {
	background:url("../images/bna-02.jpg");
	height:170px;
	}
	
#bna-07 {
	background:url("../images/bna-07.jpg");
	height:170px;
	}
	
/*-- locations index --*/
#locations-index { 
	clear:both; 
	text-align:left; 
	}
	#locations-index-left {  
		float:left;
		margin:0 66px 20px 90px;
		}

/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:1px;
	clear:both;
	width:100%; /* fix for Safar */
	}

	
/* header framework
 * ------------------------------------------------------------------------- */

#header-flash { height:325px; margin-left:51px; } /* sets height for the flash header - REMOVE IF NOT USED */
#header-graphic { height:232px; } /* sets height for all non-flash headers */

	body#about #header-graphic { background:url("../images/header-about.jpg"); }
	body#implant-dentistry #header-graphic { background:url("../images/header-implant.jpg"); }
	body#restorative #header-graphic { background:url("../images/header-cosmetic.jpg"); }
	body#gallery #header-graphic { background:url("../images/header-gallery.jpg"); }
	body#contact #header-graphic { background:url("../images/header-about.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header-cosmetic.jpg"); }
	body#sitemap #header-graphic { background:url("../images/header-implant.jpg"); }

/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead { height:83px; } /* sets height for all subheads */

	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#about #subhead { background:url("../images/subhead-about.jpg"); }
	body#implant-dentistry #subhead { background:url("../images/subhead-implants.jpg"); }
	body#restorative #subhead { background:url("../images/subhead-restorative.jpg"); }
	body#gallery #subhead { background:url("../images/subhead-gallery.jpg"); }
	body#contact #subhead { background:url("../images/subhead-contact.jpg"); }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg"); }


/* ----- subhead framework with varying heights ----- */

#subhead-learn {
	height:113px;
	background:url("../images/subhead-learn.jpg") ;
	}

body#index #subhead-email {
	height:101px;
	background:url("../images/subhead-email.jpg") ;
	}

#subhead-email {
	height:113px;
	background:url("../images/subhead-email-sub.jpg") ;
	}

#subhead-locations {
	height:46px;
	background:url("../images/subhead-locations.jpg") ;
	}
	
body#index #subhead-locations-index {
	height:46px;
	background:url("../images/subhead-locations-index.jpg") ;
	}

#subhead-results {
	height:70px;
	background:url("../images/subhead-results.jpg") ;
	}
	
#subhead-results-left {
	height:46px;
	background:url("../images/subhead-results-left.jpg") ;
	}
	
#subhead-results-leftcol {
	height:46px;
	background:url("../images/subhead-results-leftcol.jpg") ;
	}
	

	
/* ---------------------gallery thumbnail------------------- */
/* -- column left thunbs-- */
#leftcol-bna-01 {
	padding:0;
	margin:0 auto;
	height:250px;
	width:300px;
	background:url("../images/leftcol-bna-01.jpg") no-repeat;
	}

#leftcol-bna-02 {
	padding:0;
	margin:0 auto;
	height:250px;
	width:300px;
	background:url("../images/leftcol-bna-02.jpg") no-repeat;
	}
	
#leftcol-bna-01 a, #leftcol-bna-02 a { height:250px; width:300px; display:block; }

/* --index thumbs-- */
#bna-thumb-reconstruction {
	background:url("../images/bna-thumb-reconstruction.jpg");
	height:98px;
	width:201px;
	margin-bottom:10px;
	}
	
#bna-thumb-crowns {
	background:url("../images/bna-thumb-crowns.jpg");
	height:98px;
	width:201px;
	margin-bottom:10px;
	}
	
#bna-thumb-veneers {
	background:url("../images/bna-thumb-veneers.jpg");
	height:98px;
	width:201px;
	margin-bottom:10px;
	}
	
#bna-thumb-reconstruction a, #bna-thumb-crowns a, #bna-thumb-veneers a { display:block; height:98px; width:201px; }

#bna-thumb-reconstruction a span, #bna-thumb-crowns a span, #bna-thumb-veneers a span { display:none; }


/* footer
 * ------------------------------------------------------------------------- */

#bg-footer-scale {
	background:#F1FAFC url("../images/bg-footer-scale.jpg") repeat-x;
	width:100%;
	}

#footer-img {
	background:#F1FAFC url("../images/img-footer.jpg") no-repeat;
	width:760px;
	height:18px;
	margin:0 auto;
	}
	 
#bg-footer {
	background:#F1FAFC url("../images/bg-footer.jpg") repeat-y;
	width:760px;
	margin:0 auto;
	}

#footer {
	width:760px;
	text-align:center;
	background:url("../images/bg-footer-bottom.jpg") bottom no-repeat;
	}

#footer p {
	margin-top:10px;
	}


#footer ul {margin-bottom:10px; padding-top: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 #007B8A;
	}

	#footer li.first { border: none; }

/* Horizontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:760px; 
	height:29px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:29px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; _display:inline; position:relative; }

#nav-01 { width: 52px; margin-left: 51px;}
#nav-02 { width: 75px; margin-left:1px; }
#nav-03 { width: 132px; margin-left:1px; }
#nav-04 { width: 235px; margin-left:1px; }
#nav-05 { width: 67px; margin-left:1px; }
#nav-06 { width: 91px; margin-left:1px; }


/*-------------- (-79px) X position of button / (-29px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -51px -29px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -104px -29px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -180px -29px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -313px -29px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -549px -29px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -617px -29px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -51px -29px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg") -104px -29px no-repeat; }
body#implant-dentistry #nav-03 { background:url("../images/nav.jpg") -180px -29px no-repeat; }
body#restorative #nav-04 { background:url("../images/nav.jpg") -313px -29px no-repeat; }
body#gallery #nav-05 { background:url("../images/nav.jpg") -549px -29px no-repeat; }
body#contact #nav-06 { background:url("../images/nav.jpg") -617px -29px no-repeat; }
