/*--------------------- 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/16px Verdana, Arial, Helvetica, sans-serif;
	color:#1D7FA8;
	}

blockquote { 
	margin-left:10px; 
	margin-right:10px; 
	}

h1	{ font-size:1.2em; color:#1D7FA8; }
h2	{ font-size:1.1em; color:#1D7FA8; }
h3	{ font-size:1.0em; color:#1D7FA8; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#1D7FA8; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#005F8D; 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/bullet-back-to-top.gif") right no-repeat;
	}
	
img.img-left { 
	float:left; 
	margin:2px 10px 10px 0; 
	}
	
img.img-right { 
	float:right; 
	margin:5px 0 10px 10px; 
	}


.tr-line {
	background:url("../images/tr-line.jpg");
	width:400px;
	height:10px;
	margin:15px 0px 20px 20px;
	}


/* ----- 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:#97D5F0 !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #97D5F0;
	color:#06698F;
	width:136px; /* 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:Verdana, 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 */ 

label { color:#06698F}

/* ----- main contact form ----- */ 
 
#contact-main { margin:20px 0 10px 0; }

#contact-main label { 
	width:150px; 
	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:200px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}
	
#contact-main label select { width:205px; }
	
#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:85px 0 0 165px; }

input.submit-image, input.submit-contact-main { /* REMOVE IF NOT USED */
	background:url("../images/btn-submit.jpg");
	width:64px;
	height:18px;
	border:none;
	cursor:pointer;
	}


/* framework
 * ------------------------------------------------------------------------- */

#wrap {
	background:url("../images/bg-wrap.jpg") right repeat-y;
	width:760px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:92px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:50px;
		width:247px;
		top:24px;
		height:42px; 
		}
	#masthead a span {
		display:none;
		}

/* ----- column-left ----- */

#column-left {
	width:276px;
	float:left;
	color:#FFFFFF;
	}
	
	#column-left a.ptt { position:absolute; top:0px; left:169px; height:104px; width:231px;}
	#column-left a.ptt span { display:none;}
	
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 28px 10px 59px;
		}
	#column-left form { margin-left:86px; }

	/* single column list */
	#column-left ul { padding-left:1px; }
		#column-left ul li { 
			background:transparent url("../images/bullet.gif") 0px 6px no-repeat;
			padding-left:15px;  /* pushes text to the right to display bg img */
			}

	
	#email { background:url("../images/col-left-sub-email.jpg") no-repeat; height:97px;}
	#service-header { background:url("../images/col-left-services.jpg") no-repeat; height:80px;}
		#service-header-wrap { margin:10px 0px 30px 12px; }
		
	#map { background:url("../images/col-left-map.jpg") no-repeat; height:73px;}
		#map a {	
		position:absolute;
		margin:14px 0px 0px 51px;
		width:207px;
		height:44px; 
		}
		#map a span {
			display:none;
			}

	
	
	#left-top { background:url("../images/col-left-cosmetic.jpg") bottom no-repeat; height:72px;}
	#left-bg { background:url("../images/col-left-bg.jpg") repeat-y;}
	#left-bottom { background:url("../images/col-left-email.jpg") bottom no-repeat; padding-bottom:250px;}
	
	#media { background:url("../images/col-left-media.jpg") no-repeat; height:258px; position:relative;}
	#media a { position:absolute; top:26px; left:42px; width:227px; height:224px;}
	#media span { display:none;}
	#column-left p.contact-text { color:#06698F;}
	
	/*.video {
	background-image: url("../images/video-bg.jpg") repeat-x;
	}*/
	
/* ----- column-right ----- */

#column-right {
	width:484px;
	float:left;
	}

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 66px 10px 27px;
		}
	#column-right form { margin-left:12px; }
	
	#services { background:url("../images/col-right-services.jpg") no-repeat; height:60px;}
	 
	#services-left { float:left; width:238px;}
	#services-right { float:left; width:245px;}
	#services-right p { margin:0 66px 0 0;}
	 
	#patient-gallery { background:url("../images/col-right-gallery.jpg") no-repeat; height:206px;} 
	
	img.gallery { margin:0 0 0 26px;}
	img.bna-gallery { margin:10px 0px 20px 30px;}
	
	 
	/* single column list */
	#column-right ul { padding-left:1px; }
		#column-right ul li { 
			background:transparent url("../images/bullet.gif") 0px 6px no-repeat;
			padding-left:15px;  /* pushes text to the right to display bg img */
			}

	
	
	
/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/col-right-bottom.jpg") right no-repeat;
	height:123px;
	clear:both;
	width:100%; /* fix for Safar */
	color:#fff;
	position:relative;
	}
#bottom-wrap a { position:absolute; top:36px; left:630px; height:57px; width:55px;}
#bottom-wrap span { display:none;}
	
#bottom-wrap p { width:183px; margin:0px 0 0 436px; line-height:12px; padding-top:36px;}
	
/* header framework
 * ------------------------------------------------------------------------- */

#header-flash { height:197px; background:url("../images/flash-bg.jpg") no-repeat; padding:0 0 0 38px } /* sets height for the flash header - REMOVE IF NOT USED */
#active-x {height:300px;}
#header-graphic { height:197px; } /* sets height for all non-flash headers */

	body#about #header-graphic { background:url("../images/header-about.jpg") no-repeat; }
	body#cosmetic #header-graphic { background:url("../images/header-cosmetic.jpg") no-repeat; }
	body#general #header-graphic { background:url("../images/header-general.jpg") no-repeat; }
	body#gallery #header-graphic { background:url("../images/header-gallery.jpg") no-repeat; }
	body#testimonials #header-graphic { background:url("../images/header-about.jpg") no-repeat; }
	body#contact #header-graphic { background:url("../images/header-cosmetic.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header-general.jpg"); }
	body#sitemap #header-graphic { background:url("../images/header-gallery.jpg"); }
	
	body#veneers #header-graphic { background:url("../images/header-general.jpg"); }
	body#whitening #header-graphic { background:url("../images/header-general.jpg"); }
	body#invisalign #header-graphic { background:url("../images/header-general.jpg"); }
	body#technology #header-graphic { background:url("../images/header-general.jpg"); }



/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead { height:67px; } /* 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#general #subhead { background:url("../images/subhead-general.jpg"); }
	body#gallery #subhead { background:url("../images/subhead-gallery.jpg"); }
	body#testimonials #subhead { background:url("../images/subhead-testimonials.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"); }

	body#veneers #subhead { background:url("../images/subhead-veneers.jpg"); }
	body#whitening #subhead { background:url("../images/subhead-whitening.jpg"); }
	body#invisalign #subhead { background:url("../images/subhead-invisalign.jpg"); }
	body#technology #subhead { background:url("../images/subhead-technology.jpg"); }

/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:760px;
	margin:0 auto;
	text-align:center;
	}

#footer p {
	color:#005F8D;
	margin:0 50px 10px 50px;
	}

#footer a:link, #footer a:visited { color:#005F8D; text-decoration:none; }

#footer a:hover, #footer a:active { color:#005F8D; text-decoration:underline; }

#footer ul {margin:10px 0;}

#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 #005F8D;
	}

	#footer li.first { border: none; }

/* Horozontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:760px; 
	height:41px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:41px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; display:inline; }

#nav-01 { width: 81px; margin-left: 38px;}
#nav-02 { width: 61px; margin-left: 1px;}
#nav-03 { width: 114px; margin-left: 1px;}
#nav-04 { width: 180px; margin-left: 1px;}
#nav-05 { width: 51px; margin-left: 1px;}
#nav-06 { width: 80px; margin-left: 1px;}
#nav-07 { width: 111px; margin-left: 1px;}


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -38px -41px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -120px -41px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -182px -41px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -297px -41px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -478px -41px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -530px -41px no-repeat; }
#nav-07 a:hover { background:url("../images/nav.jpg") -611px -41px no-repeat; }



/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -38px -41px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg") -120px -41px no-repeat; }
body#cosmetic #nav-03 { background:url("../images/nav.jpg") -182px -41px no-repeat; }
body#general #nav-04 { background:url("../images/nav.jpg") -297px -41px no-repeat; }
body#gallery #nav-05 { background:url("../images/nav.jpg") -478px -41px no-repeat; }
body#testimonials #nav-06 { background:url("../images/nav.jpg") -530px -41px no-repeat; }
body#contact #nav-07 { background:url("../images/nav.jpg") -611px -41px no-repeat; }


