/*--------------------- 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:#FFFFFF;
	text-align:center; 
	font:12px/16px "Trebuchet MS", Arial, Helvetica, sans-serif; 
	color:#000;
	}

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

h1	{ font-size:1.2em; color:#9E3B57; font-weight:bold; }
h2	{ font-size:1.1em; color:#689C9D; }
h3	{ font-size:1.0em; color:#000; }

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

a:link,a:visited	{ color:#9E3B57; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#666666; text-decoration:underline; outline:none; }
a:link.h1-green,a:visited.h1-green { color:#306F6F; font-size:1.2em; font-weight:bold; text-decoration:underline; outline:none; }
a:hover.h1-green,a:active.h1-green { color:#306F6F; font-size:1.2em; font-weight:bold; 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.html") 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-center {
	margin:5px 0 10px 10px;
	}

#column-left p.testimonial {text-align:center; font-style:italic; margin:0 40px 10px 10px;width:400px;}

p.gallery {text-align:center; font-weight:bold; text-decoration:underline;}

p.buy_book {
	padding: 10px 0 10px 10px;
}
	
/* ----- 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 #7F9DB9;
	color:#000;
	width:145px; /* 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:150px; padding:0; } /* same width as form - !important */

textarea { height:90px; overflow:auto; }

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


/* ----- 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 10px 243px; }


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

#wrap {
	background:#FFF;
	width:700px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:34px;
	}

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

#column-left {
	width:500px;
	float:left;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 10px 10px 10px;
				}
	#column-left form { margin-left:10px; }
	
	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul li { 
			background:transparent url("../images/bullet.jpg") 0px 4px no-repeat;
			padding-left:10px; /* pushes text to the right to display bg img */
			}
	
	/* 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;
			}
	
/* ----- column-right ----- */

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

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 10px 10px 10px;
		}
	#column-right form { margin-left:10px; }
	
	#column-right p.h1	{ font-size:1.2em; color:#9E3B57; font-weight:bold; text-align:center; }
	 	
/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background-color:#FFF;
	height:10px;
	clear:both;
	width:100%; /* fix for Safar */
	}

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

/*#header-flash { height:500px; } *//* sets height for the flash header - REMOVE IF NOT USED */
#header-graphic { height:145px; } /* sets height for all non-flash headers */

	body#about #header-graphic { background:url("../images/banners/banner_2.jpg"); }
	body#services #header-graphic { background:url("../images/banners/banner_3.jpg"); }
		body#restoration #header-graphic { background:url("../images/banners/banner_6.jpg"); }
		body#veneers #header-graphic { background:url("../images/banners/banner_5.jpg"); }
		body#fillings #header-graphic { background:url("../images/banners/banner_4.jpg"); }
		body#bonding #header-graphic { background:url("../images/banners/banner_1.jpg"); }
		body#whitening #header-graphic { background: url("../images/banners/banner_9.jpg"); }
		body#sedation #header-graphic { background:url("../images/banners/banner_10.jpg"); }
		body#neuro #header-graphic { background:url("../images/banners/banner_5.jpg"); }
		body#implants #header-graphic { background:url("../images/banners/banner_8.jpg"); }
		body#laser #header-graphic { background:url("../images/banners/banner_7.jpg"); }
	body#gallery #header-graphic { background: url("../images/banners/banner_9.jpg"); }
	body#questions #header-graphic { background:url("../images/banners/banner_10.jpg"); }
	body#contact #header-graphic { background:url("../images/banners/banner_1.jpg"); }
	body#thanks #header-graphic { background:url("../images/banners/banner_2.jpg"); }
	body#sitemap #header-graphic { background:url("../images/banners/banner_4.jpg"); }

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

#subhead { height:35px; width:700px; } /* sets height for all subheads */

	body#index #subhead { background:url("../images/subheads/subhead-index.jpg"); }
	body#about #subhead { background:url("../images/subheads/subhead-about.jpg"); }
	body#services #subhead { background:url("../images/subheads/subhead-services.jpg"); }
		body#restoration  #subhead { background:url("../images/subheads/subhead-restoration.jpg"); }
		body#veneers  #subhead { background:url("../images/subheads/subhead-veneers.jpg"); }
		body#fillings  #subhead { background:url("../images/subheads/subhead-fillings.jpg"); }
		body#bonding  #subhead { background:url("../images/subheads/subhead-bonding.jpg"); }
		body#whitening  #subhead { background: url("../images/subheads/subhead-whitening.jpg"); }
		body#sedation  #subhead { background:url("../images/subheads/subhead-sedation.jpg"); }
		body#neuro  #subhead { background:url("../images/subheads/subhead-neuro.jpg"); }
		body#implants  #subhead { background:url("../images/subheads/subhead-implants.jpg"); }
		body#laser  #subhead { background:url("../images/subheads/subhead-laser.jpg"); }
	body#gallery #subhead { background:url("../images/subheads/subhead-gallery.jpg"); }
	body#questions #subhead { background:url("../images/subheads/subhead-questions.jpg"); }
	body#contact #subhead { background:url("../images/subheads/subhead-contact.jpg"); }
	body#thanks #subhead { background:url("../images/subheads/subhead-thanks.jpg"); }
	body#sitemap #subhead { background:url("../images/subheads/subhead-sitemap.jpg"); }


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

#footer p {
	color:#000;
	margin:10px 10px 10px 10px;
	}

#footer a:link, #footer a:visited { color:#9E3B57; }

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

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

	#footer li.first { border: none; }

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

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

#nav span { display: none; }

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

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

#nav-01 { width: 76px; margin-left: 125px;}
#nav-02 { width: 119px;}
#nav-03 { width: 78px;}
#nav-04 { width: 115px;}
#nav-05 { width: 94px;}
#nav-06 { width: 93px;}


/*-------------- (-79px) X position of button / (-28px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg") -125px -28px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -201px -28px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -320px -28px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -398px -28px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -513px -28px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -607px -28px no-repeat; }

/* Son of Suckerfish: Horizontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav li ul {
	position:absolute;
	left:-9999px;
	padding-right:1px;			/* Fixes one px spacing for border-right in FF */
	background-color:#FFF;	/* Background color of drop down nav - add more styles (i.e. background image) if you want */
	}

#nav li ul li { 
	height:20px; 				/* Height of each drop down nav item */
	border:1px solid #99CDCB;
	border-top:none;
	}	

#nav li ul li a {
	width:100%;
	height:20px;				/* Height of each drop down nav item, should match above */
	line-height:20px;			/* Height of each drop down nav item again, should match above */
	}

#nav li ul li a span {
	display:block;
	padding-left:5px;
	}

/* Drop down link styles */
#nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
	font-size:1.0em;
	color:#000;
	text-decoration:none;
	}

#nav li:hover ul, #nav li.sfHover ul	{ left: auto; }

/* Hover styles for drop down items */
#nav-03 ul a:hover { 
	background-image:none;
	background-color:#CCC;
	color:#000;
	text-decoration:none;
	}

/* width of drop down nav - choose width that allows items to display on one line */
#nav-03 ul, #nav-03 li { width:150px; }