/*--------------------- 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:#D4E2F7 url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:11px/16px "Trebuchet MS", Arial, Helvetica, sans-serif; 
	color:#021C44;
	}

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:#285EB5; }
h2	{ font-size:1.1em; color:#0F3B7E; }
h3	{ font-size:1.0em; color:#021C44; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#021C44; text-decoration:underline; font-weight:bold; outline:none;}
a:hover,a:active	{ color:#F3F5F5; text-decoration:underline; font-weight:bold; 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-left-logo { 
	float:left; 
	margin:2px 10px 20px 0; 
	}

img.img-right { 
	float:right; 
	margin:5px 0 10px 10px; 
	}

	
/* ----- global form elements ----- */ 

form {
	width:200px;
	padding:10px 0 15px 0;
	}

form label	{ font-size:.95em; }

form br { 
	line-height:0; /* defaults vertical spacing between fields */
	}  

input, textarea, select { 
	background-color:#5187CC !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #285EB5;
	color:#fff;
	width:200px; /* 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:"Trebuchet MS", Arial, Helvetica, sans-serif; 
	font-size:1.0em;
	}
	
select { 
	width:205px; /* 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 220px; }

#contact_business { display: none; } /* do not remove */ 


/* ----- main contact form ----- */ 
 
#contact-main { padding:20px 0 10px 0; }
	
#contact-main label { 
	width:200px; 
	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:180px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}
	
#contact-main label select {
	width:185px;
	}
	
#contact-main label textarea { height:100px; }



/* framework
 * ------------------------------------------------------------------------- */

#wrap {
	background: url("../images/bg-wrap.jpg") repeat-y;
	width:782px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:90px;
	}
	/* home link within #masthead */		
	#masthead a {	
		position:absolute;
		left:28px;
		width:293px;
		top:34px;
		height:30px; 
		}
	#masthead a span {
		display:none;
		}

/* ----- column-left ----- */

#column-left {
	width:274px;
	float:left;
	}

#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left form {
	margin:0 27px 8px 45px;
	}
		
	#wrap-featured-publication {
		width:240px;
		background-color:#E2E2E2;
		margin:0 0 10px 29px;
		}
		#wrap-featured-publication p {
			margin:0 10px 8px 10px;
			}

/* ----- column-right ----- */

#column-right {
	width:487px;
	float:right;
	}

#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right form, #column-right ul {
	margin:0 43px 8px 0;
	}
	#welcome {
		float:right;
		width:487px;
		background:url("../images/bg-welcome.jpg") no-repeat;
		}
		#welcome h1 {
			padding-top:55px;
			}
		#welcome-img {
			width:181px;
			height:200px;
			float:right;
			}
			
	#dental-health {
		float:right;
		width:487px;
		background:url("../images/bg-wrap-dental-health.jpg") repeat-y;
		}
		#dental-health p {
			margin:0 43px 8px 16px;
			color:#fff;
			}
			
		#dental-health h2{
			margin-left:16px;
			}
		#dental-health-procedures {
			float:right;
			width:487px;
			margin:0;
			padding:0;
			background:url("../images/bg-dental-health-procedures.jpg") repeat-y;
			}
			#cosmetic-ul {
				width:200px;
				float:right;
				}
			#restorative-ul {
				width:200px;
				float:right;
				padding-right:25px;
				}
			#column-right #dental-health-procedures ul {
				margin:5px 0 8px 0;
				}
				#column-right #dental-health-procedures ul li {
					background:url("../images/bullet-dental-health-procedures.jpg") 0px 6px no-repeat;
					line-height:18px;
					height:18px;
					padding-left:10px;
					}
				#dental-health a:link,#dental-health a:visited	{ color:#F3F5F5; text-decoration:underline; font-weight:bold; }
				#dental-health a:hover,#dental-health a:active	{ color:#021C44; text-decoration:underline; font-weight:bold; }
					
					
	#exam-content-right {
		width:253px;
		float:right;
		}
	
	#exam-content-left {
		width:234px;
		float:right;
		}
		
	/* background image list items */
	#column-right ul { 
		padding-left:5px; 
		} 

	#column-right ul li { 
		background:transparent url("../images/bullet.jpg") 0px 4px no-repeat;
		padding-left:12px; 
		}
	
/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:25px;
	clear:both;
	width:100%;
	}
	
/* header framework
 * ------------------------------------------------------------------------- */

#header-graphic {
	height:457px; /* sets height for all non-flash headers */
	}

	body#index #header-graphic {
		background:url("../images/header-index.jpg"); 
		}

	body#about #header-graphic {
		background:url("../images/header-about.jpg"); 
		}

	body#cosmetic #header-graphic, body#veneers #header-graphic {
		background:url("../images/header-cosmetic.jpg");
		width:274px;
		height:141px; 
		}

	body#resotative #header-graphic {
		background:url("../images/header-restorative.jpg"); 
		}

	body#gallery #header-graphic {
		background:url("../images/header-gallery.jpg"); 
		}

	body#contact #header-graphic {
		background:url("../images/header-contact.jpg"); 
		}

	body#thankyou #header-graphic {
		background:url("../images/header-thankyou.jpg"); 
		}

	body#sitemap #header-graphic {
		background:url("../images/header-sitemap.jpg"); 
		}

/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead {
	height:49px; /* sets height for all subheads */
	}

	body#index #subhead {
		background:url("../images/subhead-welcome.jpg"); 
		}
	
	body#about #subhead {
		background:url("../images/subhead-about.jpg"); 
		}

	body#cosmetic #subhead {
		background:url("../images/subhead-cosmetic.jpg"); 
		}

	body#resotative #subhead {
		background:url("../images/subhead-resotative.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#veneers #subhead {
		background:url("../images/subhead-porcelain-veneers.jpg"); 
		}


/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:782px;
	margin:0 auto;
	text-align:center;
	}

#footer p {
	color:#021C44;
	}

#footer a:link, #footer a:visited {
	color:#021C44;
	}

#footer a:hover, #footer a:active {
	color:#5187CC;
	}

#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 #021C44;
	}

	#footer li.first { border: none; }


/* Horozontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:782px; 
	height:58px; 
	margin-bottom:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:58px; display:block; }

#nav li { float:left; list-style:none; _display:inline; }

#nav-01 { width: 67px; margin-left: 13px;}
#nav-02 { width: 141px;}
#nav-03 { width: 144px;}
#nav-04 { width: 218px;}
#nav-05 { width: 112px;}
#nav-06 { width: 73px;}


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover {background:url("../images/nav.jpg")  -13px -58px no-repeat;}
#nav-02 a:hover {background:url("../images/nav.jpg") -80px -58px no-repeat;}
#nav-03 a:hover {background:url("../images/nav.jpg") -221px -58px no-repeat;}
#nav-04 a:hover {background:url("../images/nav.jpg") -365px -58px no-repeat;}
#nav-05 a:hover {background:url("../images/nav.jpg") -583px -58px no-repeat;}
#nav-06 a:hover {background:url("../images/nav.jpg") -695px -58px no-repeat;}

.smile-gallery {
padding: 5px 0 0 55px;
}

#subhead-veneers {
background-image:url(../images/subhead-veneers.jpg);
width: 485px;
height: 31px;
}
#subhead-bonding {
background-image:url(../images/subhead-bonding.jpg);
background-repeat:no-repeat;
width: 485px;
height: 31px;
}

#subhead-featuredcases {
background-image:url(../images/subhead-featuredcases.jpg);
width: 485px;
height: 31px;
}

#subhead-featuredpatients {
background-image:url(../images/subhead-patients.jpg);
width: 485px;
height: 31px;
}

#subhead-crown {
background-image:url(../images/subhead-crown.jpg);
background-repeat:no-repeat;
width: 485px;
height: 31px;
}

/* 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:#5187cc;	/* Background color of drop down nav - add more styles (i.e. background image) if you want */
	}

#nav li ul li { 
	height:25px; 				/* Height of each drop down nav item */
	border:1px solid #FFF;
	border-top:none;
	}	

#nav li ul li a {
	width:100%;
	height:25px;				/* Height of each drop down nav item, should match above */
	line-height:25px;			/* Height of each drop down nav item again, should match above */
	}

#nav li ul li a span {
	display:block;
	padding-left:15px;
	}

/* Drop down link styles */
#nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
	font-size:1.0em;
	color:#FFFFFF;
	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:#FFF;
	color:#5187cc;
	text-decoration:none;
	border:1px solid #5187cc;
	border-top:none;
	}

/* width of drop down nav - choose width that allows items to display on one line */
#nav-03 ul, #nav-03 li { width:147px; }



