/* 
 ----------------------------------------------------------------------------
  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: #fff url(../images/allpages/back.jpg) top repeat-x;
	text-align:center; 
	font:12px/18px "Trebuchet MS", Arial, Helvetica, sans-serif; 
	color:#000; 
	}

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:#000; text-decoration:underline; }
a:hover,a:active	{ color:#ECAD3E; text-decoration:underline; }


/* ----- classes ----- */

div.clear	{ 
	clear:both; 
	height:.01em; 
	overflow:hidden; 
	}

p.top {
	text-align:right;
	display:block;
	} 
	
img.img-left { 
	float:left; 
	margin:2px 10px 10px 0; 
	}
	
img.img-right { 
	float: right; 
	margin: 5px 20px 10px 10px; 
	}

	
/* ----- global form elements ----- */ 

form {
	width:150px;
	padding:10px 0 15px 0;
	margin: 0 0 0 35px;
	}
	

form label	{ font-size:.95em; }

form br { 
	line-height:0; /* defaults vertical spacing between fields */
	}  

input, textarea, select { 
	background-color:#fff; 
	border:1px solid #007995;
	color:#000;
	width:145px; /* 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:150px; /* 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:85px 0 0 242px; height: 25px;}

input.submit-image { 
	background: url(../images/allpages/submit.jpg);
	width:56px;
	height:19px;
	border:none;
	cursor:pointer;
	}


/* ----- main contact form ----- */ 
 
#contact-main { 
	padding:20px 0 10px 0; 
	margin-left: 50px;
	}
	
#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:200px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}
	
#contact-main label select {
	width:205px;
	}
	
#contact-main label textarea { height:100px; }


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

#wrap { 
	background: url(../images/allpages/wrap.jpg) repeat-y; 
	width:796px; 
	margin:35px auto 0 auto; 
	text-align:left; 
	}
body#index #wrap { 
	background: url(../images/allpages/wrap-index.jpg) repeat-y; 
}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:52px;
	}
	/* home link within #masthead */		
	#masthead a {	
		position:absolute;
		left:0px;
		width:0px;
		top:0px;
		height:0px;
		}
	#masthead a span {
		display:none;
		}
		
#header-flash {
	height:0px;
	}
#header-graphic{
	height: 229px;
	position: relative;
}
body#index #header-graphic, body#sitemap #header-graphic{
	background: url(../images/headers/index.jpg);
	}

		#header-graphic span{
			display: none;
		}
		#header-graphic #header-link1{
			position: absolute;
			width: 305px;
			height: 46px;
			margin: 15px 0 0 20px;
		}
		#header-graphic #header-link2{
			position: absolute;
			width: 128px;
			height: 90px;
			margin: 7px 0 0 633px;
		}
 
#column-left { 
	width:582px; 
	float:left; 
	}
	#title{
		height: 26px;
		width: 400px;
		margin: 0 0 20px 10px;
	}
		#title span{
			display: none;
		}
 	#column-left p{
		margin-left: 35px;
		margin-right: 22px;
	}
	#column-left h1{
		margin-left: 35px;
		margin-right: 22px;
	}
	#column-left h2{
		margin-left: 35px;
		margin-right: 22px;
	}
	#column-left ul{
		margin-left: 35px;
		margin-right: 22px;
	}
	#column-left ul li span{
		font-size: 15px;
	}
	#column-left blockquote{
		font-style: italic;
	}
	
	.readmore{
		background: url(../images/allpages/read_more.jpg) no-repeat right;
		height: 14px;
		width: 255px;
		position: relative;
		overflow: hidden;
	}
	.learnmore{
		background: url(../images/allpages/learn_more.jpg) no-repeat right;
		height: 14px;
		width: 255px;
		position: relative;
		overflow: hidden;
	}
		.learnmore span, .readmore span{
			display: none;
		}
		.learnmore a, .readmore a{
			width: 62px;
			height: 14px;
			margin-left: 195px;
			position: absolute;
		}
	#index-left{
		float: left;
		width: 275px;
	}
		.title-index{
			height: 25px;
			width:  240px;
			margin: 22px 0 11px 30px;
		} .title-index span{ display: none; }
		#title-index-welcome{
			background: url(../images/titles/welcome.jpg) no-repeat left;
		}
		#title-index-meet{
			background: url(../images/titles/meet_dr_marquard.jpg) no-repeat left;
		}
		#title-index-teeth{
			background: url(../images/titles/teeth_whitening.jpg) no-repeat left;
		}
		#title-index-procedures{
			background: url(../images/titles/procedures.jpg) no-repeat left;
			width: 165px;
		}
		#title-index-testimonials{
			width: 165px;
			background: url(../images/titles/testimonials.jpg) no-repeat left;
			height: 50px;
			position: relative;
				}
		#title-index-adobe-reader{
			width: 165px;
			background: url(../images/titles/adobe-reader.jpg) no-repeat left;
			height: 50px;
			position: relative;
				}
				#title-index-adobe-reader a{
				position: absolute;
				height: 32px;
				width: 135px;
				margin: 7px 0 0 20px;
			}
		#title-newsletter{
			width: 165px;
			background: url("../images/titles/newsletter.jpg") no-repeat left;
			padding:50px 0 0 5px;
			margin-top:0;
			position: relative;
				}
		#title-forms{
			width: 165px;
			background: url("../images/titles/forms.jpg") no-repeat left;
			padding:50px 0 0 5px;
			margin-top:0;
			position: relative;
				}
			#title-index-testimonials a{
				position: absolute;
				height: 32px;
				width: 135px;
				margin: 7px 0 0 20px;
			}
	#index-right{
		float: left;
		width: 300px;
	}
		#trees{
			margin: 20px 0 0 0;
			background: url(../images/allpages/trees.jpg) no-repeat top;
			height: 68px;
		}

  
#column-right { 
	width:195px; 
	float:left; 
	}
	#side-title{
		background: url(../images/titles/contact_us-side.jpg);
		height: 46px;
		width: 144px;
		margin: 25px 0 10px 38px;
	} #side-title span{ display: none; }
	#column-right p{
		margin: 0 10px 0 35px;
	}
	#column-right ul{
		margin: 0 10px 0 35px;
	}
	#column-right p.address{
		text-align: center;
		margin: 0 0 0 25px;
	}
/* background image list items */
#column-specific ul { 
	margin-left:3px; 
	} 

#column-specific ul li { 
	background:transparent url("../images/bullet.gif") 0px 6px no-repeat;
	padding-left:8px; 
	}
 
#bottom-wrap { 
	background: url(../images/allpages/bottom.jpg);
	height:58px; 
	clear:both; 
	overflow:hidden; 
	width: 796px;
	}

body#index #bottom-wrap { 
	background: url(../images/allpages/bottom-index.jpg);
}

/* inside framework
 * ------------------------------------------------------------------------- */
body#about #header-graphic{
	background: url(../images/headers/about.jpg) no-repeat left;
}
body#cosmetic #header-graphic{
	background: url(../images/headers/cosmetic.jpg) no-repeat left;
}
body#restorative #header-graphic{
	background: url(../images/headers/restorative.jpg) no-repeat left;
}
body#gallery #header-graphic{
	background: url(../images/headers/gallery.jpg) no-repeat left;
}
body#contact #header-graphic{
	background: url(../images/headers/contact.jpg) no-repeat left;
}

body#about #title{
	background: url(../images/titles/aboutus.jpg) no-repeat left;
}
body#cosmetic #title{
	background: url(../images/titles/cosmetic_dentistry.jpg) no-repeat left;
}
body#restorative #title{
	background: url(../images/titles/restorative_dentistry.jpg) no-repeat left;
}
body#gallery #title{
	background: url(../images/titles/smile_gallery.jpg) no-repeat left;
}
body#contact #title{
	background: url(../images/titles/contact_us.jpg) no-repeat left;
}
body#sitemap #title{
	background: url(../images/titles/site_map.jpg) no-repeat left;
}

body#contact #side-title{
	background: url(../images/titles/locate-us.jpg) no-repeat left;
	margin-left: 55px;
}

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

#footer p {
	color:#000;
	}

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

#footer a:hover, #footer a:active {
	color:#ECAD3E; text-decoration:underline;
	}

#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/allpages/nav.jpg) no-repeat; 
	width:796px; 
	height:37px; 
	margin-bottom:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height: 37px; display: block; }

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

#nav-01 { width: 48px; margin-left: 265px;}
#nav-02 { width: 64px;}
#nav-03 { width: 119px;}
#nav-04 { width: 130px;}
#nav-05 { width: 88px;}
#nav-06 { width: 75px;}

#nav-01 a:hover {background:url("../images/allpages/nav.jpg") -265px -37px no-repeat;}
#nav-02 a:hover {background:url("../images/allpages/nav.jpg") -313px -37px no-repeat;}
#nav-03 a:hover {background:url("../images/allpages/nav.jpg") -377px -37px no-repeat;}
#nav-04 a:hover {background:url("../images/allpages/nav.jpg") -496px -37px no-repeat;}
#nav-05 a:hover {background:url("../images/allpages/nav.jpg") -626px -37px no-repeat;}
#nav-06 a:hover {background:url("../images/allpages/nav.jpg") -714px -37px no-repeat;}

#award-pic-caption {
	width: 325px;
	margin: 10px 0 10px 55px;
	padding:5px;
	background: #ddd;
	}
#award-pic-caption p { 
	
	font-size: .9em;
	text-align:center;
	margin:0;
	padding:0 5px;
	}