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

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

.h1	{ font-size:1.2em; color:#000; font-weight:bold; }
.h2	{ font-size:1.1em; color:#000; font-weight:bold; font-style:italic; }
.h3	{ font-size:1.0em; color:#000; font-weight:bold; }

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

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

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

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.gif") right no-repeat;
	}
	
p.learn-more span {
	display:block;
	padding-right:15px;
	background:url("../images/bullet.jpg") right no-repeat;
	}

p.contact-info {
	font:11px/15px Arial, Helvetica, sans-serif;
	color:#4C4C4C;
	}
	
img.img-left { 
	float:left; 
	margin:0; 
	}
	
img.img-right { 
	float:right; 
	margin:0; 
	}

	
/* ----- global form elements ----- */ 

form {
	width:200px;
	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:#FFFFFF !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #1D4674;
	color:#414141;
	width:195px; /* 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:200px; 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; }


/* ----- submit button form elements ----- */ 

input.submit, input.submit-contact-main { 
	width:60px;
	height:20px;
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:90px 0 5px 243px; }


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

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:760px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:115px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:39px;
		width:302px;
		top:45px;
		height:60px; 
		}
	#masthead a span {
		display:none;
		}

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

#column-left {
	width:504px;
	float:left;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul {
		margin:0 33px 18px 42px;
		}
	#column-left form { margin-left:42px; }
	
	/* 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:12px; /* pushes text to the right to display bg img */
			}

	/* multi column list */
	#column-left dl { padding-left:42px; float:left; width:150px; } 
		#column-left dl dd { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:12px;  /* pushes text to the right to display bg img */
			}
	
#banner-cosmetic {
	background:url("../images/bg-banner-cosmetic.jpg");
	width:490px;
	height:215px;
	position:relative;
	}

#banner-general {
	background:url("../images/bg-banner-general.jpg");
	width:490px;
	height:235px;
	position:relative;
	}
	
#column-left #banner-cosmetic #content-cosmetic {
	position:absolute;
	top:54px;
	left:20px;
	width:335px;
	height:75px;
	}
	
#column-left #banner-general #content-general {
	position:absolute;
	top:62px;
	left:20px;
	width:335px;
	height:75px;
	}
	
#column-left #banner-cosmetic,
#column-left #banner-general,
#column-left #banner-cosmetic a,
#column-left #banner-general a {
	color:#fff;
	}

					
/* ----- column-right ----- */

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

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 38px 18px 18px;
		}
	#column-right form { margin-left:18px; }
	 
	/* 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 */
			}

	/* multi 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 */
			float:left;
			width:150px;
			line-height:20px; 
			}
	
	/* definition list */
	#column-right dl { padding-left:5px; }
		#column-right dl dt {
			font-weight:bold;
			color:#99CC00;
			}
		#column-right dl dd {
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}
	
/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:192px;
	clear:both;
	width:100%;
	}

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

#header-graphic { height:312px; background:url("../images/header-index.jpg"); } 

	/*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#general #header-graphic { background:url("../images/header-general.jpg"); }
	body#smile #header-graphic { background:url("../images/header-smile.jpg"); }
	body#contact #header-graphic { background:url("../images/header-contact.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header-thankyou.jpg"); }*/

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

#subhead { height:117px; margin-bottom:-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#cosmetic #subhead { background:url("../images/subhead-cosmetic.jpg"); }
	body#general #subhead { background:url("../images/subhead-general.jpg"); }
	body#smile #subhead { background:url("../images/subhead-smile.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-qcontact {
	height:117px; 
	margin-bottom:-83px;
	background:url("../images/subhead-qcontact.jpg") ;
	}
body#contact #subhead-qcontact, body#thankyou #subhead-qcontact {
	height:117px; 
	margin-bottom:-83px;
	background:url("../images/subhead-qlocate.jpg") ;
	}
	
#subhead-meet {
	height:50px; 
	background:url("../images/subhead-meet.jpg") no-repeat ;
	}

#subhead-featured-procedures {
	height:50px; 
	background:url("../images/subhead-featured-procedures.jpg") no-repeat ;
	}

#subhead-featured-cases {
	height:52px; 
	background:url("../images/subhead-featured-cases.jpg") no-repeat ;
	}

#subhead-patient {
	height:53px; 
	background:url("../images/subhead-patient.jpg") no-repeat ;
	}
	
/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:760px;
	margin:0 auto;
	text-align:center;
	}

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

#footer a:link, #footer a:visited { color:#fff; }

#footer a:hover, #footer a:active { color:#fff; }

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

	#footer li.first { border: none; }

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

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:760px; 
	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; }

#nav-01 { width: 77px; margin-left: 22px; }
#nav-02 { width: 91px; }
#nav-03 { width: 156px; }
#nav-04 { width: 170px; }
#nav-05 { width: 116px; }
#nav-06 { width: 110px; }


/*-------------- (-79px) X position of button / (-50px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -22px -50px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -99px -50px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -190px -50px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -346px -50px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -516px -50px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -632px -50px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -22px -50px no-repeat; }
body#about #nav-02  { background:url("../images/nav.jpg") -99px -50px no-repeat; }
body#cosmetic #nav-03  { background:url("../images/nav.jpg") -190px -50px no-repeat; }
body#general #nav-04  { background:url("../images/nav.jpg") -346px -50px no-repeat; }
body#smile #nav-05  { background:url("../images/nav.jpg") -516px -50px no-repeat; }
body#contact #nav-06  { background:url("../images/nav.jpg") -632px -50px no-repeat; }

