/*--------------------- Last Modified --> 2006.02.17 ---------------------*/
/*-----------------------------------------------------------------------*/


/* 
 ----------------------------------------------------------------------------
  Copyright Einstein Industries 2005. 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: #E5E8EA url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:11px/14px Arial, Helvetica, sans-serif; 
	color:#0B465A;
	}

p, ul, ol, dl, pre, blockquote	{ margin-bottom:10px; }

blockquote { 
	margin-left:10px; 
	margin-right:10px; 
	}

h1,h2,h3 { margin-bottom:8px; }

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:#0B465A; text-decoration:underline; }
a:hover,a:active	{ color:#0B465A; text-decoration: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 10px 0; 
	}
	
img.img-right { 
	float:right; 
	margin: 0 38px 0 10px; 
	}
	
div.spacer {
	height: 400px;
	}

div.gallery-wrap {
	margin-left: 60px;
	}
	
	div.gallery-wrap img {
		margin-bottom: 20px;
		}

div.gallery {
 	float: left;
	width: 220px;
	}
	
/* ----- global form elements ----- */ 

form {
	width:133px;
	padding:10px 0 15px 19px;
	}

form label	{ font-size:.95em; }

form br { 
	line-height:0; /* defaults vertical spacing between fields */
	}  

input, textarea, select { 
	background-color:#FFFFFF !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #79A3B2;
	color:#0D4E67;
	width:128px; /* 5 pixles smaller than form width !important */
	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:1.0em;
	}
	
select { 
	width:155px; /* same width as form !important */
	padding:0;
	}

textarea { 
	height:90px; 
	overflow:auto; 
	}
	
input.submit, input.submit-contact-main { 
	width:60px; 
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:90px 0 0 242px; }

input.submit-image { 
	background:url("../images/btn-submit.jpg");
	width:56px;
	height:22px;
	border:none;
	cursor:pointer;
	}

#contact_business { display: none; } /* do not remove */ 


/* ----- main contact form ----- */ 

#contact-main {
	width: 400px;
	margin-left: 40px;
}

#contact-main dl {
	margin: 0 0 0 5px;
}
body #contact-main p{
	margin: 0 0 0 5px;
}
#contact-main dl br {
	clear: both;
}

#contact-main dt {
	float: left;
	width: 180px;
	line-height: 18px;
	text-align: right;
	clear: both;
}
#contact-main dd {
	margin: 0 0 7px 190px;
	font-size: 11px;
	line-height: 18px;
	text-align: left;
}
#contact-main dd input, #contact-main dd select, #contact-main dd textarea {
	width:175px;
	margin-top: 2px;
}
#contact-main dd input.radio {
	width:13px;
	margin-left: 15px;
	border: none;
}
#contact-main dl dd input.submit-contact-main { 
	background:url("../images/btn-submit.jpg");
	width:56px;
	height:22px;
	border:none;
	cursor:pointer;
	margin: 0;
	}


/* framework
 * ------------------------------------------------------------------------- */

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:775px;
	margin:0 auto;
	text-align:left;
	}

#wrap-gradient {
	background:url("../images/bg-wrap-gradient.jpg") top left no-repeat;
	height: 110%;
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:76px;
	}
	/* home link within #masthead */		
	#masthead a {	
		position:absolute;
		left:33px;
		width:250px;
		top:0px;
		height:92px; 
		}
	#masthead a span {
		display:none;
		}

/* ----- column-left ----- */

#column-left {
	width:560px;
	float:left;
	}

	#column-left p, #column-left h1, #column-left h2, #column-left h3 {
		margin: 0 38px 15px 60px;
		}
.wrap-green {
	background: url("../images/bg-green.jpg") repeat-x;
	}

.gradient-green {
	background: url("../images/bg-gradient-green.jpg") no-repeat;
	}
	
	#subhead-patient-results {
		background: url("../images/subhead-patient-results.gif");
		height: 61px;
		}
		
		#subhead-patient-results span {
			display: none;
			}
		#gallery-tn {
			background: url("../images/bna-tn.jpg") no-repeat;
			width:560px;
			height: 122px;
			position: relative;
			
			}
			
			#gallery-tn #bna-01 {	
				position:absolute;
				left:74px;
				width:195px;
				top:0px;
				height:109px; 
				}
				
			#gallery-tn #bna-02 {	
				position:absolute;
				left:300px;
				width:195px;
				top:0px;
				height:109px; 
				}
			
					
			.float-left, .cosmetic, .general {
				float: left;
				}
			
.gradient-green-featured {
	background: url("../images/bg-gradient-green-featured.jpg") no-repeat;
	}
				
	#subhead-featured {
		background: url("../images/subhead-featured.jpg");
		height: 61px;
		}
		
		#subhead-featured span {
			display: none;
			}

	#subhead-cosmetic-dentistry {
		background: url("../images/subhead-cosmetic-dentistry.jpg");
		height: 41px;
		width: 280px;
		}
		
		#subhead-cosmetic-dentistry span {
			display: none;
			}

	#subhead-general-dentistry {
		background: url("../images/subhead-general-dentistry.jpg");
		height: 41px;
		width: 280px;
		}
		
		#subhead-general-dentistry span {
			display: none;
			}		

	/* background image list items */
	#column-left .cosmetic ul { 
		margin-left: 79px;
		line-height: 16px;
		}

	#column-left .general ul { 
		margin-left: 33px;
		line-height: 16px; 
		}

/* ----- column-right ----- */

#column-right {
	width:215px;
	float:left;
	}
	#suhhead-contact {
		background: url("../images/title-schedule.jpg");
		height: 109px;
		}
		#suhhead-contact span {
			display:none;
			}
			
	#column-right p, #column-right h1, #column-right h2, #column-right h3 {
		margin: 0 64px 23px 19px;
		}
		
	p.content-directions {
		padding-left: 8px;
		}
	img.img-map {
		padding-left: 14px;
		}
		
	
/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:47px;
	clear:both;
	width:100%;
	}
	
/* header framework
 * ------------------------------------------------------------------------- */

#header-graphic {
	height:184px; /* sets height for all non-flash headers */
	background:url("../images/header-index.jpg");
	}
	
	#header-graphic span {
		display: none;
		}

/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead {
	height:65px; /* 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#cosmetic #subhead {
		background:url("../images/subhead-cosmetic.jpg"); 
		}

	body#restorative #subhead {
		background:url("../images/subhead-restorative.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"); 
		}

/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:760px;
	margin:0 auto;
	text-align:center;
	}

#footer p {
	color:#000;
	}

#footer a:link, #footer a:visited {
	color:#000;
	text-decoration: underline;
	}

#footer a:hover, #footer a:active {
	color:#000;
	text-decoration: none;
	}

#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:775px; 
	height:29px; 
	margin-bottom:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:29px; display:block; }

#nav li { float:left; list-style:none; _display:inline; }

#nav-01 { width: 39px; margin-left: 6px;}
#nav-02 { width: 103px;}
#nav-03 { width: 64px;}
#nav-04 { width: 136px;}
#nav-05 { width: 58px;}
#nav-06 { width: 76px;}
#nav-07 { width: 41px;}
#nav-08 { width: 92px;}


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover {background:url("../images/nav.jpg")  -6px -29px no-repeat;}
#nav-02 a:hover {background:url("../images/nav.jpg") -45px -29px no-repeat;}
#nav-03 a:hover {background:url("../images/nav.jpg") -148px -29px no-repeat;}
#nav-04 a:hover {background:url("../images/nav.jpg") -212px -29px no-repeat;}
#nav-05 a:hover {background:url("../images/nav.jpg") -348px -29px no-repeat;}
#nav-06 a:hover {background:url("../images/nav.jpg") -406px -29px no-repeat;}
#nav-07 a:hover {background:url("../images/nav.jpg") -482px -29px no-repeat;}
#nav-08 a:hover {background:url("../images/nav.jpg") -523px -29px no-repeat;}


/* Son of Suckerfish: Horizontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav li ul {
	position:absolute;
	left:-9999px;
	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 #0F5A77;
	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:#0E546F;
	text-decoration:none;
	}

#nav li:hover ul, #nav li.sfhover ul	{ left: auto; }

/* Hover styles for drop down items */
#nav-03 ul a:hover, #nav-04 ul a:hover { 
	background-image:none;
	background-color:#217798;
	color:#FFF;
	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:130px; }		
#nav-04 ul, #nav-04 li { width:133px; }


#toplinks {
	text-align: center;
	font-size: 11px;
	height: 11px;
	margin-bottom: -11px;
}
#toplinks a{
	text-decoration: none;
}