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

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

p.h1	{ font-size:1.3em; color:#887D52; font-weight:bold; }
p.h2	{ font-size:1.1em; color:#333; font-weight:bold;}
p.h3	{ font-size:1.0em; color:#636363; font-weight:bold;}
#column-right p.sedation-caption { font-size:1em; margin-top: 10px;}

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

a:link,a:visited	{ color:#887D52; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#070707; 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:18px;
	}
#column-left p.bna {margin-left:70px;}
img.img-left { 
	float:left; 
	margin:2px 10px 7px 20px; 
	}
	
img.img-right { 
	float:right; 
	margin:5px 0 10px 10px; 
	}
	
img.img-logo { 
	float:left; 
	margin:2px 350px 20px 28px; 
	}
	
img.img-testi { 
	float:left; 
	margin:0px 5px 0px 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:#fff !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #404040;
	color:#404040;
	width:160px; /* 5 pixles smaller than form width !important */
	height:18px;
	line-height:18px;
	vertical-align: middle;
	margin-bottom:3px; /* 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:1.0em;
	}
	
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: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:175px; }
	
#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:95px 0 0 243px; }


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

#wrap {
	background: url("../images/bg-wrap.jpg") repeat-y;
	width:734px;
	margin:0 auto;
	text-align:left;
	}
#wrap-img {
	background: url("../images/wrap-img-left.jpg") left bottom no-repeat;
	width:734px;
	margin:0 auto;
	text-align:left;
	}
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:55px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:20px;
		width:300px;
		top:20px;
		height:35px; 
		}
	#masthead a span {
		display:none;
		}

/* ----- content-left ----- */

#column-left {
	width:207px;
	float:left;
	padding-bottom: 200px;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 20px 10px 21px; font-size: 11px;
		}
	#column-left form { margin-left:21px; }
	
	/* 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 */
			}

	/* multi 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 */
			float:left;
			width:150px;
			line-height:20px; 
			}
	
	/* definition list */
	#column-left dl { padding-left:5px; }
		#column-left dl dt {
			font-weight:bold;
			color:#99CC00;
			}
		#column-left 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;
			}
			
/* ----- content-right ----- */

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

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right dl {
		margin:0 22px 10px 20px;
		}
	#column-right form { margin-left:20px; }
	 
	/* single column list */
	#column-right ul { padding:0 22px 10px 30px; }
		#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 */
			}
	
	/* definition list */
	#column-right dl { padding-left:5px; }
		#column-right dl dt {
			font-weight:bold;
			color:#E46904;
			margin: 20px 0 10px 0;
			clear: both;
			}
		#column-right dl dd {
			padding-left:10px;  /* pushes text to the right to display bg img */
			margin:0 0 5px 5px;
			float: left;
			width: 200px;
			text-align: center;
			}
			
	#mission-statement-wrap {
		background: url("../images/mission-statement-wrap.jpg") repeat-y;
				}
	#mission-statement {
		background: url("../images/mission-statement-index.jpg") top no-repeat;
		padding-top: 50px;
				}
	#mission-statement p {margin: 10px 40px 0 35px; color: #fff;}
	#mission-statement a:link, #mission-statement a:visited, #mission-statement a:hover, #mission-statement a:active {color: #F1ECD9;}
	
	#cosmetic {
		background: url("../images/cosmetic-index.jpg") top no-repeat;
		height: 180px;
		position:relative;
		}
		#cosmetic a {
			position:absolute;
			left:40px;
			width:105px;
			top:140px;
			height:17px; 
			}			

		#cosmetic p {
			padding: 75px 200px 0 22px;
			}

	#restorative {
		background: url("../images/retsorative-index.jpg") top no-repeat;
		height: 180px;
		position:relative;
		clear:both;
		}
		#restorative a {
			position:absolute;
			left:40px;
			width:105px;
			top:150px;
			height:17px; 
			}			
		#restorative p {
			padding: 75px 180px 0 22px;
			}

	#testimonials-index {
		background: url("../images/testimonials_index1.jpg") top no-repeat;
		height: 180px;
		position:relative;
		clear:both;
		}
		#testimonials-index a {
	position:absolute;
	left:41px;
	width:105px;
	top:150px;
	height:17px;
			}			
		#testimonials-index p {
			padding: 75px 180px 0 22px;
			}



	#subnav {
		float: right;
		width: 175px;
		background: url("../images/subnav-top.jpg") top no-repeat;
		padding-top: 31px;
		margin: 0 22px 10px 10px;
		}
		#subnav div.content{
			background: url("../images/subnav-wrap.jpg") repeat-y;
		}
		#subnav a:link, #subnav a:visited {color:#fff; text-decoration:underline; outline:none;}
		#subnav a:hover, #subnav a:active {color:#B2A87F; text-decoration:underline; outline:none;}
		
			/* single column list */
		#column-right #subnav ul {padding-top:10px; margin-left: -20px;}
		#column-right #subnav ul li { 
			background:transparent url("../images/bullet-subnav.jpg") 0px 6px no-repeat;
			padding:0 0 3px 10px;  /* pushes text to the right to display bg img */
			}

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

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

#header-graphic { height:250px; } /* sets height for all non-flash headers */

body#index #header-graphic, body#thankyou #header-graphic {background:url("../images/scene01.jpg");}
body#contact #header-graphic { background:url("../images/scene05.jpg"); }
body#about #header-graphic {background:url("../images/scene02.jpg");}
body#cosmetic-dentistry #header-graphic {background:url("../images/scene03.jpg");}
body#restorative-dentistry #header-graphic {background:url("../images/scene04.jpg");}
body#smile #header-graphic {background:url("../images/scene06.jpg");}


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

#subhead { height:53px; } /* 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-dentistry #subhead { background:url("../images/subhead-cosmetic.jpg"); }
	body#restorative-dentistry #subhead { background:url("../images/subhead-restorative.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"); }

/* footer
 * ------------------------------------------------------------------------- */
#footer-wrap {
	background: #B4A983 url("../images/footer-wrap.jpg") repeat-x;
	width:auto;
	}
#footer {
	background: url("../images/footer.jpg") top no-repeat;
	width:764px;
	margin:0 auto;
	font-size:11px; 
	line-height:15px;
	text-align:center;
	padding:10px 0 10px 0;
	}

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

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

#footer a:hover, #footer a:active { color:#000; text-decoration:none;}

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

	#footer li.first { border: none; }

/* Horozontal Sprite Nav
 * ------------------------------------------------------------------------- */

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

#nav span { display: none; }

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

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

#nav-01 { width: 68px;}
#nav-02 { width: 150px;}
#nav-03 { width: 156px;}
#nav-04 { width: 164px;}
#nav-05 { width: 112px;}
#nav-06 { width: 84px;}


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -0px -53px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -68px -53px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -218px -53px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -374px -53px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -538px -53px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -650px -53px no-repeat; }
