/* Play nice with the WWW, validate me! */
/* clear floats */
* {
	margin: 0;
	padding: 0;
}/* sets all elements margin and padding to 0 */

.clear:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clear {
    display: inline-block;
}

html[xmlns] .clear {
    display: block;
}

* html .clear {/* For IE =< 6 */
    height: 1%;
}


.image-float-left {
	float: left;
	clear: left;
	display: block;
	margin-right:8px;
	margin-bottom:5px;
}
.image-float-right {
	float: right;
	clear: right;
	display: block;
	margin-left:8px;
	margin-bottom:5px;
		border: 3px solid #a1cd9c;
}
img.center {
display:block;
margin:0 auto 10px auto;	border: 3px solid #a1cd9c;}

/* Image Replacement -- add class="replace" to root element, i.e. <p> and add a bg image*/

.replace { letter-spacing : -1000em; }
/* Just for Opera, but hide from MacIE */
/*\*/html>body .replace { letter-spacing : normal; text-indent : -999em; overflow : hidden;}
/* End of hack */

.replace ul, .replace ul li {letter-spacing: 0; text-indent: 0; overflow: auto;}


html {
	/*overflow: -moz-scrollbars-vertical;*/
}
	
body {
	margin: 0px;
	padding:0;
	background-image: url(../images/bkd.jpg);
	background-repeat: repeat-x;
	background-color:#a0cc9b;
	
}
hr{
	color: #544307;
	margin-bottom: 10px;
	margin-top: 8px;
	clear:both;
}

blockquote {
	padding-left: 23px;
}
p{
	margin-bottom:18px;
	line-height: 18px;
	font-weight: normal;
	color: #544307;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
}
.phone {  position:absolute; top:63px; left:54px;}
.phone a { font-family:Tahoma, Geneva, sans-serif; font-size:17px; color:#FFF; text-shadow: 2px 2px 2px #000; text-decoration:none; font-weight:normal }
.phone a:link { font-family:Tahoma, Geneva, sans-serif; font-size:17px; color:#FFF; text-shadow: 2px 2px 2px #000; text-decoration:none; font-weight:normal }
.phone a:hover { font-family:Tahoma, Geneva, sans-serif; font-size:17px; color:#FFF; text-shadow: 2px 2px 2px #000; text-decoration:none; font-weight:normal }
.phone a:visited { font-family:Tahoma, Geneva, sans-serif; font-size:17px; color:#FFF; text-shadow: 2px 2px 2px #000; text-decoration:none; font-weight:normal }
a:link, a:visited{
	color: #006f63;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight:bold;
	text-decoration: none;
}
a:hover{
	text-decoration: underline;
}
li{
	color: #544307;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	margin-left: 35px;
	list-style: outside;
	line-height:18px;
}

ul{
	margin-bottom:15px;
}
ol{
	margin-bottom:15px;
}
.top{
	color: #01d2ff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
}
.top a:link, .top a:visited{
	color: #e75812;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: none;
}
.top a:hover{text-decoration: underline;
}
h1{
	color: #e75812;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: bold;
	margin-bottom:18px;
}
h2{
	color: #006f63;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
}
h3{
	color: #544307;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
}

#footer{
	width: 851px;
	height:138px;
	overflow: hidden;
	background-image: url(../images/footer_bkd.jpg);
	background-repeat: no-repeat;
}
	
#footer .inner{padding-top:25px;
padding-left:40px;
padding-right:30px;}
#footer p{margin-bottom:0px;}

h5{
	color: #098073;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight:bold;
	line-height: 13px;
}
#footer a {
color:#be3c00;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	text-decoration: none;
	font-weight:normal;
}
#footer a:hover{
	text-decoration: underline;
}
#footer-nav{margin-top:12px;
margin-bottom:8px;
color:#be3c00;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;}
#footer-nav a {
color:#be3c00;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
		text-decoration: none;
		font-weight:normal;
}
#footer-nav a:hover{
	text-decoration: underline;
}

#nav{
	position:absolute;
	left:23px;
	top:177px;
}
ul#nav {list-style: none;}
ul#nav a {display: block; padding: 0; width: 212px; margin:0;}

ul#nav, #nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

ul#nav li {display: inline;
margin:0;}
ul#nav li:hover ul, ul#nav li.sfhover ul {
	left: auto;
	display: block;
}

ul#nav li ul {
	position: absolute;
	left: -999em;
	top:auto;
	margin-left:212px;
	z-index:10;
}

ul#nav ul li a {
	position: relative;
	top:-32px;
	background:#097c70;
	padding: 1px 4px 2px 8px;
	color: #ffffff;
	font-size:11px;
	font-weight: bold;
	text-decoration: none;
	width:175px;
}

ul#nav ul li a:hover {
background: #0da191;}

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


#home,#contact,#office,#login,#improve,#teeth,#treat,#news {
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	width: 212px;
	cursor: pointer;
}
/* Set the image for each nav item */
#home {background: url(../images/btn_home.jpg); height:31px;}
#contact {background: url(../images/btn_contact.jpg);height:32px;}
#office {background: url(../images/btn_office.jpg);height:32px;}
#login {background: url(../images/btn_login.jpg);height:33px;}
#improve {background: url(../images/btn_improve.jpg);height:32px;}
#teeth {background: url(../images/btn_teeth.jpg);height:33px;}
#treat {background: url(../images/btn_treat.jpg);height:32px;}
#news {background: url(../images/btn_news.jpg);height:33px;}


/* Shift the image position up to show the active state */
#nav li:hover a, #nav li.sfhover a, #nav .active{
	background-position:-212px 0px}

/* Set the cursor to default arrow so link does not appear clickable */
#nav .active {cursor: default}

#container{
	width: 800px;
	margin: 0px auto;
	position:relative;
	
}
#content {
	width: 851px;
	background-image: url(../images/content_bkd.jpg);
	background-repeat: repeat-y;
}

#main {
	width: 851px;
	background-image: url(../images/main_bkd.jpg);
	background-repeat: no-repeat;
	background-position: center top;
}
*html #main .inner {
height:570px;
}

#main .inner {
margin:0px;
padding-top:400px;
padding-bottom:10px;
	padding-right:50px;
	padding-left:285px;
	min-height:570px;
}

#header{
	width: 851px;
	height: 137px;
	background-image: url(../images/header_bkd.jpg);
	background-repeat: no-repeat;
}

#logo {
position:absolute;
	height:87px;
	width:435px;
	left:0px;
	top:0px;}

#logo a {
	display: block;
	height:87px;
	width:435px;
	line-height: 0px;
	text-indent: -999em;
	background: url(../images/logo.jpg) no-repeat left;}

img {
	border: 0px;}
	
.address{
	position:absolute;
	top:15px;
	right:0px;
	color:#0b9384;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight:bold;
	line-height:17px;
	width:auto;
	text-align:right;
}
*html .address{
	position:absolute;
	top:15px;
	right:38px;
	color:#0b9384;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight:bold;
	line-height:17px;
	width:auto;
	text-align:right;
}
#flash{position:absolute;
left:236px;
top:137px;
width:588px;
height:375px;}

.pic{position:absolute;
left:242px;
top:137px;
width:582px;
height:375px;}

#callout{position:absolute;
left:24px;
top:785px;
width:212px;}

.social { padding-left:30px;}

#nav-sub{
	font-size: 11px;
	color: #006f63;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight:bold;
	margin-bottom:18px;
	position:relative;
	right:0px;
	line-height:16px;
	text-align:right;
}
#nav-sub a{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #006f63;
	font-weight:bold;
text-decoration:none;
}
#nav-sub a:hover, #nav-sub .active{
	color: #e75812;}

/* Global form styles */
.comments {margin: 18px auto;}
fieldset {border: none; padding: 9px 0;}
fieldset div {clear: both;}
.form-header {border-bottom: 1px solid #544307;/*optional, change color to match site*/}
.form-header h3 {margin: 0 0 9px;}
.form-header p {margin: 0 0; padding-bottom: 18px;}
.form-footer {padding-top: 18px; text-align: center; border-top: 1px solid #544307;/*optional, change color to match site*/}
.form-footer button {/*these styles control the look of the button, change as necessary*/
	clear:both;/*do not change, forces button to sit below floated elements*/
	margin: 9px auto;/*do not change, controls positioning*/
	display: block;
	width:125px;
	height:31px;
	background:#544307;/* customize me! */
	border: 1px solid #544307;
	text-align:center;
	line-height:31px;
	color:#ffffff;/* customize me! */
	font-size:11px;
	font-weight:bold;}
/* comment form */	
.comments {
	margin: 18px 0;
	padding: 10px;}
.comments li {
	font-weight: bold;
	list-style-type: decimal;
}
.comments label {/*floats labels left*/
	font-size: 11px;
	display:block;
	font-weight:bold;
	text-align:left;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	width:45%;
	float:left;
	color:#544307;
	padding-top: 4px;}
.comments label span {/*sits below labels; holds instructions*/
	color:#544307;
	display:block;
	font-size:11px;
	font-weight:normal;
	text-align:left;
	width:100%;}
.comments .label-block label {float: none; clear: both; width: 100%; text-align: left;}
.comments input, .comments textarea {
	float:left;
	font-size:11px;
	padding:4px 2px;
	border:solid 1px #544307;/* customize me! */
	width:45%;
	margin:9px 0 9px 2%;
	background: #ffffff;}
.comments p.verification {
	clear: both;
	margin: 0 0 9px 47%;
	font-size: 11px;}
.comments p.radio-float {
	clear: none;
	float:left;
	width: 45%;
	padding:0;
	margin:9px 0 9px 0;}
.comments p.verification img {border: 1px solid #544307;}/* customize me! */
.comments p.radio input, .comments p.radio-float input {
	float: none;
	margin: 0 0 0 0;
	padding: 4px 2px;
	width: auto;}
.comments p.radio span {padding: 0 2% 0 0;}
.comments .radio {text-align: left; font-weight: normal;}
.comments .comments-box label {float: none; font-weight: normal; display: block; text-align: left;}
.comments .comments-box textarea {float: none; margin-left: 0; width:95%;
}
/* referral form */
.referral-form {
	margin: 18px 0;
	padding: 10px;}
.referral-form fieldset {border: none; padding: 9px 0;}
.referral-form label {/*floats labels left*/
	font-size: 11px;
	display:block;
	font-weight:bold;
	text-align:left;
	width:45%;
	float:left;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	line-height: 18px;
	color:#544307;
	padding-top: 4px;}
.referral-form label span {/*sits below labels; holds instructions*/
	color:#544307;
	display:block;
	font-size:11px;
	font-weight:normal;
	text-align:left;
	width:100%;}
.referral-form input, .referral-form textarea {
	float:left;
	font-size:11px;
	padding:4px 2px;
	border:solid 1px #544307;/* customize me! */
	width:45%;
	margin:9px 0 9px 2%;
	background: #ffffff;
	position: relative;}
.referral-form p.radio, .referral-form p.verification {
	clear: both;
	margin: 9px 0 9px 47%;
	font-size: 11px;}
.referral-form p.radio-float {
	clear: none;
	float:left;
	width: 45%;
	padding:0;
	margin:9px 0 9px 2%;}
.referral-form p.verification {margin-top: 0;}
.referral-form p.verification img {border: 1px solid #544307;}/* customize me! */
.referral-form p.radio input, .referral-form p.radio-float input {
	float: none;
	width: auto;
	margin: 0 0 0 2%;
	padding: 4px 2px;}
	
/* appointment form */
.appointment-form {
	margin: 18px 0;
	padding: 10px;}
.appointment-form fieldset {border: none; padding: 9px 0;}
.appointment-form label {/*floats labels left*/
	font-size: 11px;
	display:block;
	font-weight:bold;
	text-align:left;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	width:45%;
	color:#544307;
	float:left;
	line-height: 18px;
	padding-top: 4px;}
.appointment-form label span {/*sits below labels; holds instructions*/
	color:#544307;
	display:block;
	font-size:11px;
	font-weight:normal;
	text-align:left;
	width:100%;}
.appointment-form input, .appointment-form select, .appointment-form textarea {
	float:left;
	font-size:11px;
	padding:4px 2px;
	border:solid 1px #544307;/* customize me! */
	width:45%;
	margin:9px 0 9px 2%;
	background: #ffffff;}
.appointment-form p.radio, .appointment-form p.verification {
	clear: both;
	margin: 9px 0 9px 47%;
	font-size: 11px;}
.appointment-form p.radio-float {
	clear: none;
	float:left;
	width: 45%;
	padding:0;
	margin:9px 0 9px 2%;}
.appointment-form span#found-other {width: 100%;}
.appointment-form span#found-other input {margin-left: 47%; background: #ffffff}
.appointment-form p.verification {margin-top: 0;}
.appointment-form p.verification img {border: 1px solid #544307;}/* customize me! */
.appointment-form p.radio input, .appointment-form p.radio-float input {
	float: none;
	width: auto;
	margin: 0 0 0 2%;
	padding: 4px 2px;}
	
#anatomy-of-a-tooth {background: url(../images/anatomy-of-a-tooth/anatomy-of-a-tooth-bg.gif); height: 525px; position: relative; width: 300px}
#anatomy-of-a-tooth a {cursor: help; display: block; position: absolute}
#anatomy-of-a-tooth a:hover {background: transparent}
a#bone {height: 20px; left: 30px; top: 380px; width: 40px}
a#cementum {height: 20px; left: 100px; top: 460px; width: 90px}
a#dentin {height: 20px; left: 80px; top: 165px; width: 60px}
a#enamel {height: 20px; left: 165px; top: 135px; width: 60px}
a#gingiva {height: 30px; left: 20px; top: 275px; width: 60px}
a#periodontal {height: 30px; left: 205px; top: 440px; width: 70px}
a#pulp {height: 30px; left: 125px; top: 220px; width: 50px}
a#print {cursor: pointer; height: 23px; left: 240px; top: 502px; width: 60px}
#anatomy-of-a-tooth a img {border: none; display: block; height: 0; position: absolute; width: 0}
#anatomy-of-a-tooth a:hover img {height: 98px; width: 300px}
a#bone:hover img {left: -30px; top: -380px}
a#cementum:hover img {left: -100px; top: -460px}
a#dentin:hover img {left: -80px; top: -165px}
a#enamel:hover img {left: -165px; top: -135px}
a#gingiva:hover img {left: -20px; top: -275px}
a#periodontal:hover img {left: -205px; top: -440px}
a#pulp:hover img {left: -125px; top: -220px}

#forms {
	float: right;
	clear: right;
	display: block;
	background-color: #ffffff;
	width: 200px;
	margin-left: 10px;
	border: 3px solid #a1cd9c;
}
#forms p {
	font-size: 11px;
	margin-left: 11px;
	margin-right: 10px;
	display: block;
}