/*--------------------- 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:#FFF url("../images/bg-body.jpg") top repeat-x;
	font:14px/18px "Times New Roman", Arial, Helvetica, sans-serif; 
	color:#000;
	}

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

#column-left .h1 { font-size:1.2em; color:#000; font-weight:bold; }
#column-left .h2 { font-size:1.2em; color:#055D95; font-weight:bold; margin-bottom:20px; }
#column-left .h3 { font-size:1.0em; color:#3B3F41; font-weight:bold; margin-bottom:0; }
#column-left .h4 { font-size:1.0em; color:#000; font-weight:bold; margin-bottom:0; }

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

a:link,a:visited	{ color:#055D95; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#055D95; 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;
	}
	
img.img-left { 
	float:left; 
	margin:2px 10px 0 20px; 
	}
	
img.img-right { 
	float:right; 
	margin:5px 0 10px 10px; 
	}

div.box-ltgray {
	width:466px;
	background-color:#EBE7E6;
	margin:0 0 20px 20px;
	padding-top: 20px;
	}
	
div.box-dkgray {
	width:466px;
	background-color:#3B3E41;
	border-top:1px solid #fff;
	text-align: right;
	color:#fff;
	}	
	
	#column-left div.box-dkgray p {
		margin:0;
		padding:10px 20px;
		}
		
	#column-left div.box-dkgray a {
		color:#fff;
		}
	
/* ----- 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:#ffffff !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #404040;
	color:#404040;
	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:"Times New Roman", 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: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 0 243px; }


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

#wrap {
	background:url("../images/bg-colright.jpg") bottom right no-repeat;
	width:735px;
	text-align:left;
	position:relative;
	}
		
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:86px;
	}
	/* index page link within #masthead */		
	#masthead a.home-link {	
		width:242px;
		height:37px;
		top:37px;
		left:15px;
		position:absolute;
		}
		
	#masthead a.home-link span {display:none;}

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

#column-left {
	width:526px;
	float:left;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 40px 20px 20px;
		}
		
	#column-left p.italics {
		font-style:italic;
		width:470px;
		}
		
	#img-testimonial {
		background:url("../images/img-testimonial.jpg");
		height:149px;
		width:526px;
		position:relative;
		}
		
		#img-testimonial a {
			position:absolute;
			width:128px;
			height:19px;
			top:123px;
			left:342px;
			}
			
		#img-testimonial span { display:none; }
	
	/* single column list */
	#column-left ul { padding-left:30px; }
		#column-left ul li {
			list-style-type:disc;
			}
			
		#column-left ul.list-margin {
			margin-left:160px;
			}

	
	/* 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:204px;
	float:left;
	line-height:14px;
	padding-bottom:175px;
	}
	
body#thankyou #column-right {
	width:204px;
	height: 400px;
	float:left;
	font-size:11px;
	line-height:14px;
	}

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


#newdirections	 {
	background:url("../images/new-directions-thumb.jpg") no-repeat;
	margin:20px 0 20px 30px;
	height:155px;
	position:relative;
	}
	
#newdirections a  {
	width:125px;
	height:155px;
	top:0px;
	left:0px;
	position:absolute;
		}
#newdirections p  {
margin-top:145px;
position:absolute;
}

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

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

#header-graphic { 
	height:290px; 
	position:relative; 
	background:url("../images/header-graphic-new.jpg")  no-repeat; 
	clear:left;
	} 
	

/*
body#index #header-graphic {background:url("../images/header-graphic-12.jpg")  no-repeat; }
*/
body#about #header-graphic {background:url("../images/header-graphic-staff.jpg")  no-repeat; }
body#celebrity-endorsements #header-graphic {background:url("../images/header-graphic-entertain.jpg")  no-repeat; }
body#cosmetic-testimonials #header-graphic {background:url("../images/header-graphic-cosmetic.jpg")  no-repeat; }
body#family-testimonials #header-graphic {background:url("../images/header-graphic-families.jpg")  no-repeat; }
body#gentle-dentistry #header-graphic {background:url("../images/header-graphic-gentle.jpg")  no-repeat; }
body#more-testimonials #header-graphic {background:url("../images/header-graphic-more.jpg")  no-repeat; }
body#personal-stories #header-graphic {background:url("../images/header-graphic-personal.jpg")  no-repeat; }
body#what-doctors-say #header-graphic {background:url("../images/header-graphic-doctors.jpg")  no-repeat; }
body#what-we-do #header-graphic {background:url("../images/header-graphic-whatwedo.jpg")  no-repeat; }
body#gallery #header-graphic {background:url("../images/header-graphic-cosmetic.jpg")  no-repeat; }
body#thankyou #header-graphic {background:url("../images/header-graphic-thank.jpg")  no-repeat; }
body#contact #header-graphic {background:url("../images/header-graphic-contact.jpg")  no-repeat; }
body#ourpractice #header-graphic {background:url("../images/header-graphic-staff.jpg")  no-repeat; }

		
	
	

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

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

	#subhead span {display:none;}

	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#about #subhead { background:url("../images/subhead-about.jpg"); }
	
	body#what-we-do #subhead { background:url("../images/subhead-what-we-do.jpg"); }
	body#cosmetic-testimonials #subhead { background:url("../images/subhead-cosmetic-testi.jpg"); }
	body#celebrity-endorsements #subhead { background:url("../images/subhead-celebrity.jpg"); }
	body#family-testimonials #subhead { background:url("../images/subhead-family.jpg"); }
	body#gentle-dentistry #subhead { background:url("../images/subhead-gentle.jpg"); }
	body#what-doctors-say #subhead { background:url("../images/subhead-what-doctors.jpg"); }
	body#more-testimonials #subhead { background:url("../images/subhead-more-testi.jpg"); }
	body#personal-stories #subhead { background:url("../images/subhead-personal.jpg"); }
	
	body#cosmetic #subhead { background:url("../images/subhead-cosmetic.jpg"); }
	body#general #subhead { background:url("../images/subhead-general.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"); }
    body#ourpractice #subhead { background:url("../images/subhead-ourpractice.jpg"); }

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

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

#subhead-featured {
	height:48px;
	background:url("../images/subhead-featured.jpg") no-repeat ;
	}		
	#subhead-meet span, #subhead-qcontact span, #subhead-featured span { display:none; }


/* footer
 * ------------------------------------------------------------------------- */
#footer-bg {
	width:100%;
	background:#454E52 url("../images/bg-footer.jpg") top repeat-x;		
	padding-bottom:5px;
	}
	 
#footer {
	width:735px;
	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 {padding:30px 0 10px 0;}

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



.thank-you	{
padding-bottom:400px;}

/* footer
 * ------------------------------------------------------------------------- */
#nav-top {		height:32px;
					}
#nav-top ul {	float:right;
					line-height:32px;
					}
#nav-top li {  display:inline;	
					color:white;
					}
#nav-top li.bracket {	font-weight:bold; }

#nav-top li a	{	color:white;
						font-family: Arial, Helvetica, sans-serif;
						border-left:1px solid white;
						padding:0 10px;	
						}
#nav-top li a.first	{	border-left:none;}

#nav-top li a:hover	 {	text-decoration:none;	}

ul.sf-vertical 	{	margin:2px 0 0 17px;
						font-family:Arial, Helvetica, sans-serif;
						_display:inline;
						}
 
ul.sf-menu, ul.sf-menu li {		width: 300px;
												}
												
ul.sf-vertical li {	height:46px;	}												

/* this lacks ul at the start of the selector, so the styles from the main CSS file override it where needed */
ul.sf-vertical li:hover ul,
ul.sf-vertical li.sfHover ul {
	left:	300px; /* match ul width */
	top:	-1px;
	width:230px;
	
}

ul.sf-menu li:hover, ul.sf-menu li.sfHover, ul.sf-menu a:focus, ul.sf-menu a:hover, ul.sf-menu a:active {
	background:	#83bfe6;
	outline:		0;
	text-decoration:none;
}
ul.sf-vertical li.sfHover ul li {width:230px;}


ul.sf-menu a, ul.sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:			black;
	text-decoration:none;
}



ul.sf-menu a {	font-size:13px;
						line-height:45px;
						padding:0 10px;
						margin:0;
						height:45px;
						border-left:none;
						text-transform:uppercase;
						color:black;
						font-weight:bold;
						border-top:none;
						}
ul.sf-menu a:hover { color:black; text-decoration:none;}

						
ul.sf-menu li.first {	border-top:none;	}
ul.sf-menu li.last {	border-bottom:1px dashed black;	}		
						
ul.sf-menu li {	background: none;	
						border-top:1px dashed black;
						}
ul.sf-menu li li	{	background:#d7d7d7;
						}						