/*--------------------- 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#index { 
	background:#3E2C2D url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:11px/15px Arial, Helvetica, sans-serif; 
	color:#FFF8F2;
	}

body { 
	background:#3E2C2D url("../images/bg-body-sub.jpg") top repeat-x;
	text-align:center; 
	font:11px/15px Arial, Helvetica, sans-serif; 
	color:#FFF8F2;
	}

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

h1	{ font-size:12px; color:#FFF8F2; }
h2	{ font-size:11px; color:#FFF8F2; }
h3	{ font-size:11px; color:#FFF8F2; }

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

body#index a:link,#index a:visited, #index a:active	{ color:#9eb5d4; text-decoration:none; outline:none; }
body#index a:hover{ color:#E3D5E3; text-decoration:none; outline:none; }

a:link,a:visited	{ color:#6C4F6D; text-decoration:none; outline:none; }
a:hover,a:active	{ color:#E3D5E3; text-decoration:none; outline:none; }

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

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

p.back-to-top {
	text-align:right;
	display:block;
	}
	
img.img-left { 
	float:left; 
	margin:0; 
	}
	
img.img-right { 
	float:right; 
	margin:0; 
	}

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

form {
	width:142px;
	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:#E3D5E3 !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #FFF;
	color:#1E0C24;
	width:137px; /* 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:142px; 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, input.submit-contact-main { 
	width:61px;
	height:18px;
	cursor:pointer; 
	padding:0; 
	}

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


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

body#index #bg-wrap {
	background:url("../images/bg-wrap-center.jpg") center top no-repeat;
	width:100%;
	}

#bg-wrap {
	background:url("../images/bg-wrap-center-sub.jpg") center top no-repeat;
	width:100%;
	}

body#index #wrap {
	background:#3E2C2D url("../images/bg-wrap.jpg") repeat-y;
	width:775px;
	margin:0 auto;
	text-align:left;
	}

#wrap {
	background:transparent url("../images/bg-wrap-sub.jpg") repeat-y;
	width:775px;
	margin:0 auto;
	text-align:left;
	}
	
body#index #masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:323px;
	}

#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:323px;
	}

	/* index page link within #masthead */		
	#masthead .home-link {	
		position:absolute;
		left:194px;
		width:300px;
		top:57px;
		height:70px; 
		}
	
	body#index #masthead .gallery-link {	
		position:absolute;
		left:332px;
		width:180px;
		top:215px;
		height:20px; 
		}

	#masthead .gallery-link {	
		position:absolute;
		left:332px;
		width:180px;
		top:230px;
		height:20px; 
		}
		
	#masthead span {
		display:none;
		}

#banner-gallery {
	background:url("../images/banner-gallery.jpg");
	width:775px;
	height:120px;
	position:relative;
	}
	
	#banner-gallery a {	
		position:absolute;
		width:180px;
		height:20px;
		left:271px;
		top:58px;
		}
		
		#banner-gallery span { display:none; }
		
/* ----- column-left ----- */

body#index #column-left {
	width:199px;
	float:left;
	}

#column-left {
	width:190px;
	float:left;
	}
	
	body#index #column-left p, body#index #column-left h1, body#index #column-left h2, body#index #column-left h3, body#index #column-left ul, body#index #column-left dl {
		margin:0 30px 20px 30px;
		}

	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 23px 20px 30px;
		}

	#column-left form { margin-left:28px; }
	
	/* 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 */
			}
			
	#column-left ul li ul { margin:0 0 0 5px; }
	
	body#index #img-directions {
		position:relative;
		background:url("../images/img-directions.jpg");
		height:204px;
		}

	#img-directions {
		position:relative;
		background:url("../images/img-directions-sub.jpg");
		height:204px;
		}
		
		#img-directions a {
			position:absolute;
			width:135px;
			height:20px;
			top:165px;
			left:30px;
			}
			
			#img-directions span { display:none; }

	body#index #img-financing {
		position:relative;
		background:url("../images/img-financing.jpg");
		height:147px;
		}
		
	#img-financing {
		position:relative;
		background:url("../images/img-financing-sub.jpg");
		height:112px;
		}
		
	#img-financing a {
			position:absolute;
			width:125px;
			height:20px;
			top:109px;
			left:29px;
			}
			
	#img-financing span { display:none; }
			
			
/* ----- column-middle ----- */

#column-middle {
	width:340px;
	float:left;
	}
	
	#column-middle p, #column-middle h1, #column-middle h2, #column-middle h3, #column-middle ul, #column-middle dl {
		margin:0 20px 20px 24px;
		}
	#column-middle form { margin-left:24px; }
	
	/* single column list */
	#column-middle ul { padding-left:5px; }
		#column-middle 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-middle ul li ul { margin:0 0 0 5px; }
			
/* ----- column-right ----- */

body#index #column-right {
	width:236px;
	float:left;
	}

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

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 25px 20px 29px;
		}
		
		body#sitemap #column-right h2 {margin:0 25px 0px 29px;}
	 
	/* single column list */
	body#index #column-right ul { padding-left:5px; }
		body#index #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 { padding-left:15px; }
		#column-right ul li {
			list-style-type:disc;
			background:none;
			padding-left:0;  
			}

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

#bottom-wrap {
	background:url("../images/bottom-wrap-sub.jpg");
	height:66px;
	clear:both;
	width:100%; /* fix for Safar */
	}
	
/* subhead framework
 * ------------------------------------------------------------------------- */

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

	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#about #subhead { background:url("../images/subhead-about.jpg"); }
	body#procedures #subhead { background:url("../images/subhead-procedures.jpg"); }
	body#sedation #subhead { background:url("../images/subhead-sedation.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"); }
	body#sitemap #subhead { background:url("../images/subhead-sitemap.jpg"); }


/* ----- subhead framework with varying heights ----- */

body#index #subhead-qcontact {
	height:250px;
	background:url("../images/subhead-qcontact.jpg") ;
	margin-bottom:-95px;
	background-repeat:no-repeat;
	}

#subhead-qcontact {
	height:112px;
	background:url("../images/subhead-conactUsToday.jpg") ;
	}

body#contact #subhead-qcontact, body#thankyou #subhead-qcontact {
	height:97px;
	background:url("../images/subhead-locate.jpg") ;
	}

#subhead-service {
	height:250px;
	background:url("../images/subhead-service.jpg") ;
	margin-bottom:-95px;
	}

#subhead-whatissedation {
	height:250px;
	background:url("../images/subhead-whatissedation.jpg") ;
	margin-bottom:-95px;
	}

#subhead-about-dr {
	height:59px;
	background:url("../images/subhead-about-dr.jpg") ;
	}

#column-right #subhead-procedures {
	height:59px;
	background:url("../images/subhead-procedures-index.jpg") ;
	}


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

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


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

#footer ul li a:link, #footer ul li a:visited	{ color:#B99F96; text-decoration:none; outline:none; }
#footer ul li a:hover, #footer ul li a:active	{ color:#B99F96; text-decoration:none; outline:none; }

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

	#footer li.first { border: none; }

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

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

#nav { 
	background:url("../images/nav-sub.jpg") no-repeat; 
	width:775px; 
	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: 68px; margin-left:91px;}
#nav-02 { width: 85px; margin-left:1px;}
#nav-03 { width: 90px; margin-left:1px;}
#nav-04 { width: 138px; margin-left:1px;}
#nav-05 { width: 110px; margin-left:1px;}
#nav-06 { width: 94px; margin-left:1px;}


/*-------------- (-79px) X position of button / (-42px) height of image from above ------------- */
body#index #nav-01 a:hover { background:url("../images/nav.jpg")  -91px -41px no-repeat; }
body#index #nav-02 a:hover { background:url("../images/nav.jpg") -160px -41px no-repeat; }
body#index #nav-03 a:hover { background:url("../images/nav.jpg") -246px -41px no-repeat; }
body#index #nav-04 a:hover { background:url("../images/nav.jpg") -337px -41px no-repeat; }
body#index #nav-05 a:hover { background:url("../images/nav.jpg") -476px -41px no-repeat; }
body#index #nav-06 a:hover { background:url("../images/nav.jpg") -587px -41px no-repeat; }

#nav-01 a:hover { background:url("../images/nav-sub.jpg")  -91px -41px no-repeat; }
#nav-02 a:hover { background:url("../images/nav-sub.jpg") -160px -41px no-repeat; }
#nav-03 a:hover { background:url("../images/nav-sub.jpg") -246px -41px no-repeat; }
#nav-04 a:hover { background:url("../images/nav-sub.jpg") -337px -41px no-repeat; }
#nav-05 a:hover { background:url("../images/nav-sub.jpg") -476px -41px no-repeat; }
#nav-06 a:hover { background:url("../images/nav-sub.jpg") -587px -41px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -91px -41px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg") -160px -40px no-repeat; }
body#procedures #nav-03 { background:url("../images/nav.jpg") -246px -40px no-repeat; }
body#sedation #nav-04 { background:url("../images/nav.jpg") -337px -40px no-repeat; }
body#gallery #nav-05 { background:url("../images/nav.jpg") -476px -40px no-repeat; }
body#contact #nav-06 { background:url("../images/nav.jpg") -587px -40px no-repeat; }

#header-flash {padding-top:28px;}