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

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

h1	{ font-size:1.2em; color:#000; }
h2	{ font-size:1.1em; color:#000; }
h3	{ font-size:1.0em; color:#000; }

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

a:link,a:visited	{ color:#F5F0A8; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#000; 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.jpg") right no-repeat;
	}
	
img.img-left { 
	float:left; 
	margin:2px 10px 10px 0; 
	}
	
img.img-right { 
	float:right; 
	margin:5px 0 10px 10px; 
	}

img.img-gallery { 
	margin-left:45px; 
	}

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

form {
	width:172px;
	margin: 0 0 0;
	}

form label	{ font-size:.95em; }

form br { line-height:0; height:0; } /* defaults vertical spacing between fields */

input, textarea, select { 
	background-color:#fff !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #404040;
	color:#000;
	width:165px; /* 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:"Trebuchet MS", Arial, Helvetica, sans-serif; 
	font-size:1.0em;
	}
	
select { width:172px; 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:170px; }
	
#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:59px;
	height:18px;
	cursor:pointer; 
	padding:0; 
	}

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

input.submit-image, input.submit-contact-main { /* REMOVE IF NOT USED */
	background:url("../images/btn-submit.jpg");
	width:59px;
	height:18px;
	border:none;
	cursor:pointer;
	}


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

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:872px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg") no-repeat;
	height:93px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:37px;
		width:404px;
		top:0px;
		height:93px; 
		}
	#masthead a span {
		display:none;
		}

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

#column-left {
	width:625px;
	float:left;
	}
#column-left-thankyou {
	width:625px;
	height:600px;
	float:left;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul{
		margin:0 47px 10px 61px;
		}

#column-left-thankyou h2 {
		margin:0 47px 10px 61px;
		}
	
	#column-left form { margin-left:55px; } 
	
	#btn-read-more {
					position:relative;
					background:url("../images/btn-read-more.gif");
					height:18px;
					}

			#btn-read-more a {	
				position:absolute;
				left:512px;
				width:66px;
				top:0;
				height:19px; 
				}
		
				#btn-read-more a span {display:none;}
						

	


	/* multi column list */
body#index	#column-left ul { padding-left:0px; } 
	body#index #column-left ul li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:15px;  /* pushes text to the right to display bg img */
			float:left;
			width:200px;
			line-height:20px; 
			}
	/* multi column list */
	#column-left ul { 
		padding-left:0px; 
		margin-bottom: 15px;
		} 
		#column-left ul li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:15px;  /* pushes text to the right to display bg img */
			line-height:22px; 
			}			
			
	#column-left ul li ul{
		margin: 0 0 0 10px;
		}

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

#column-right {
	position: relative;
	background:url("../images/emailus.jpg") no-repeat;
	height: 253px;
	margin-bottom:-93px;
	width:247px;
	float:left;
	}	
	
	#column-right p.contact-text { 
			position:relative;
			z-index:99;
			margin-top:50px;
			}
	
		 		body#contact #column-right #emailus-contact a span{display: none;}
				
	body#contact #column-right #img-our-location {margin-top: 100px;}	
				
#column-right-contact {
	position: relative;
	height: 253px;
	margin-bottom:-93px;
	width:247px;
	float:left;
	}	
	
	#column-right-contact p.contact-text { 
			position:relative;
			z-index:99;
			margin:20px 0 0 15px;
			}

#column-right p, #column-right h1, #column-right h2{
						margin:0 55px 5px 15px;
						}				

#column-right form { margin-left:20px; margin-top:10px; position:relative; z-index:99; }
 
	/* single column list */
	#column-right ul { padding-left:10px; }
		#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; 
			}
	

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

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

#header-flash { height:263px; margin-left:36px; } /* sets height for all non-flash headers */

#header-graphic { height:263px; background:url("../images/bg-flash.gif") top right no-repeat; } /* sets height for all non-flash headers */
   body#about #header-graphic { height:263px; background:url("../images/header-about.jpg") top right no-repeat; }
   body#cosmetic #header-graphic { height:263px; background:url("../images/header-cosmetic.jpg") top right no-repeat; }
   body#general #header-graphic { height:263px; background:url("../images/header-general.jpg") top right no-repeat; }
   body#restorative #header-graphic { height:263px; background:url("../images/header-restorative.jpg") top right no-repeat; }
   body#gallery #header-graphic { height:263px; background:url("../images/header-gallery.jpg") top right no-repeat; }
   body#contact #header-graphic { height:263px; background:url("../images/header-contact.jpg") top right no-repeat; }
   body#sitemap #header-graphic { height:263px; background:url("../images/header-sitemap.jpg") top right no-repeat; }
   body#thankyou #header-graphic { height:263px; background:url("../images/header-sitemap.jpg") top right no-repeat; }
   
/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead { height:470px; margin-bottom: -373px;} /* sets height for all subheads */

	body#index #subhead { background:url("../images/subhead-index.jpg") no-repeat;}
	body#about #subhead { background:url("../images/subhead-about-us.jpg") no-repeat; }
	body#cosmetic #subhead { background:url("../images/subhead-cosmetic.jpg") no-repeat;}
	body#general #subhead { background:url("../images/subhead-general.jpg") no-repeat;}
	body#restorative #subhead { background:url("../images/subhead-restorative.jpg") no-repeat; }
	body#gallery #subhead { background:url("../images/subhead-gallery.jpg") no-repeat; }
	body#contact #subhead { background:url("../images/subhead-contact.jpg") no-repeat; }
	body#sitemap #subhead { background:url("../images/subhead-site-map.jpg") no-repeat;}
		body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg") no-repeat;}



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

#subhead-meet-doc {
	height:55px;
	background:url("../images/subhead-meet-doc.jpg") ;
	}
#subhead-featured-procedures{
	background:url("../images/subhead-featured-procedures.jpg") no-repeat;
	height: 43px;
	}	
#img-our-location {
	background: url("../images/img-our-location.jpg") no-repeat;
	height:56px;
	}	
#img-memberships {
	position:relative;
	background:url("../images/img-memberships.jpg") no-repeat;
	width: 625px;
	height: 132px;
	margin-bottom: -60px;
	margin-top:65px;
	}		
#img-our-location p{ background:000; height: 150px;}	


/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:800px;
	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:#000; }

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

	#footer li.first { border: none; }
	
	
/* Horozontal Sprite Nav

 * ------------------------------------------------------------------------- */



#nav { 

	background:url("../images/nav.jpg") no-repeat; 

	width:872px; 

	height:33px; 

	margin:0;

	padding:0; 

	}



#nav span { display: none; }



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



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

#nav-01 { width: 48px; margin-left: 36px;}
#nav-02 { width: 79px; margin-left: 2px;}
#nav-03 { width: 146px; margin-left: 2px;}
#nav-04 { width: 141px; margin-left: 2px;}
#nav-05 { width: 167px; margin-left: 2px;}
#nav-06 { width: 112px; margin-left: 2px;}
#nav-07 { width: 95px; margin-left: 2px;}




/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */

#nav-01 a:hover { background:url("../images/nav.jpg") -36px -33px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -86px -33px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -167px -33px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -315px -33px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -458px -33px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -627px -33px no-repeat; }
#nav-07 a:hover { background:url("../images/nav.jpg") -741px -33px no-repeat; }

body#index #nav-01  { background:url("../images/nav.jpg") -36px -33px no-repeat; }
body#about #nav-02  { background:url("../images/nav.jpg") -86px -33px no-repeat; }
body#cosmetic #nav-03 { background:url("../images/nav.jpg") -167px -33px no-repeat; }
body#general #nav-04 { background:url("../images/nav.jpg") -315px -33px no-repeat; }
body#restorative #nav-05 { background:url("../images/nav.jpg") -458px -33px no-repeat; }
body#gallery #nav-06 { background:url("../images/nav.jpg") -627px -33px no-repeat; }
body#contact #nav-07 { background:url("../images/nav.jpg") -741px -33px no-repeat; }
