/* 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;
}

/* 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;*/
	background-image: url(../images/bkd3_repeat.jpg);
}
	
body {
	margin: 0px;
	padding:0;
	background-image: url(../images/bkd3.jpg);
	background-repeat: repeat-x;
	
}
hr{
	color: #013e95;
	margin-bottom: 10px;
	margin-top: 8px;
	clear:both;
}

blockquote {
	padding-left: 23px;
}
p{
	margin-bottom:18px;
	color: #013e95;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 18px;
	font-weight: normal;
}
a:link, a:visited{
	color: #013e95;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight:bold;
	text-decoration: underline;
}
a:hover{
	color:#01d2ff;
}
li{
	color: #013e95;
	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: #01d2ff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
}
.top a:hover{color: #013e95;
}
h1{
	color: #013e95;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: bold;
}
h2{
	color: #01d2ff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
}
h3{
	color: #013e95;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
}

#footer{
	width: 800px;
	overflow: hidden;
	background-image: url(../images/footer_bkd.jpg);
	background-repeat: no-repeat;
}
	
#footer .inner{padding-top:85px;
padding-left:85px;
padding-right:22px;}
#footer p{margin-bottom:0px;}

h5{
	color: #0656ba;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight:bold;
	line-height: 13px;
}
#footer a {font-weight:bold;
color:#0656ba;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	text-decoration: none;
}
#footer a:hover{
	text-decoration: underline;
}
#footer-nav{margin-top:12px;
margin-bottom:8px;
color:#0656ba;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight:bold;}
#footer-nav a {
color:#0656ba;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
font-weight:bold;
	text-decoration: none;
}
#footer-nav a:hover{
	text-decoration: underline;
}

#nav{
	position:absolute;
	left:9px;
	top:213px;
}
ul#nav {list-style: none;}
ul#nav a {display: block; padding: 0; width: 276px; 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:276px;
	z-index:10;
}

ul#nav ul li a {
	position: relative;
	top:-30px;
	background:#02d2ff;
	padding: 1px 4px 2px 8px;
	color: #013e95;
	font-size:11px;
	font-weight: bold;
	text-decoration: none;
	width:175px;
}

ul#nav ul li a:hover {
background: #80e9ff;}

#nav li:hover ul, #nav li.sfhover ul {
left: auto;} 


#home,#contact,#office,#hours-and-location,#restore,#cosmetic,#peds,#info,#offers,#game,#appt,#invis,#resources,#sats  {
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	width: 276px;
	cursor: pointer;
}
#appt {text-decoration:none;}
#appt p {
	color:#ffffff;
	font-weight:bold;
	font-size:20px;
	text-indent:0em; /* Display phone number as text */
	position:relative;
	left:56px;
	top:58px;
	z-index:11;
}
/* Set the image for each nav item */
#home {background: url(../images/btn_home.jpg); height:33px;}
#contact {background: url(../images/btn_contact.jpg);height:32px;}
#office {background: url(../images/btn_office.jpg);height:41px;}
#hours-and-location {background: url(../images/btn_hours-and-location.jpg);height:32px;}
#restore {background: url(../images/btn_restore.jpg);height:32px;}
#cosmetic {background: url(../images/btn_cosmetic.jpg);height:32px;}
#peds {background: url(../images/btn_peds.jpg);height:32px;}
#info {background: url(../images/btn_info.jpg);height:32px;}
#offers {background: url(../images/btn_offers.jpg);height:32px;}
#game {background: url(../images/btn_game.jpg);height:32px;}
#resources {background: url(../images/btn_carecredit.jpg);height:139px;}
#sats {background: url(../images/btn_open-sats.jpg);height:141px; cursor:default; }
#appt {background: url(../images/btn_appt.jpg);height:141px;}
#invis {background: url(../images/btn_invis.jpg);height:147px;}

/* Shift the image position up to show the active state */
#nav li:hover a, #nav li.sfhover a, #nav .active{
	background-position:-276px 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: 800px;
	background-image: url(../images/content_bkd.jpg);
	background-repeat: repeat-y;
}

#main {
	width: 800px;
	min-height:825px;
}
*html #main {
	height:825px;
}

#main .inner {
margin:0px;
padding-top:220px;
padding-bottom:10px;
	padding-right:35px;
	padding-left:310px;
}
#main .inner2 {
margin:0px;
padding-top:10px;
padding-bottom:10px;
	padding-right:35px;
	padding-left:310px;
}

#header{
	width: 800px;
	height: 213px;
	background-image: url(../images/header_bkd.jpg);
	background-repeat: no-repeat;
}

#logo {
position:absolute;
	height:147px;
	width:346px;
	left:365px;
	top:0px;}

#logo a {
	display: block;
	height:147px;
	width:346px;
	line-height: 0px;
	text-indent: -999em;
	background: url(../images/logo.jpg) no-repeat left;}

	
#h-forms,#h-baby,#h-wisdom,#h-root,#h-gum,#h-cosmetic,#h-appt,#h-comment,#h-refer,#h-location,#h-site,#h-404,#h-500,#h-privacy,#h-doc,#h-tour,#h-lifetime,#h-extractions,#h-sealants,#h-resources,#h-sedation,#h-explanation,#h-white,#h-zoom,#h-invis,#h-teeth,#h-kit,#h-er,#h-faq,#h-thumb,#h-visit,#h-why,#h-coupons,#h-trays,#h-game{
width:401px;
height:36px;
margin-bottom:17px;
	overflow: hidden;
	text-indent: -999em; /* Indents the rich-text so it does not show */
	background-repeat: no-repeat;}

#h-forms{background: url(../images/title_forms.gif);}
#h-baby{background: url(../images/title_baby.gif);}
#h-wisdom{background: url(../images/title_wisdom.gif);}
#h-root{background: url(../images/title_root.gif);}
#h-gum{background: url(../images/title_gum.gif);}
#h-cosmetic{background: url(../images/title_cosmetic.gif);}
#h-location{background: url(../images/title_location.gif);}
#h-appt{background: url(../images/title_appt.gif);}
#h-refer{background: url(../images/title_refer.gif);}
#h-comment{background: url(../images/title_comment.gif);}
#h-site{background: url(../images/title_site.gif);}
#h-404{background: url(../images/title_404.gif);}
#h-500{background: url(../images/title_500.gif);}
#h-privacy{background: url(../images/title_policy.gif);}
#h-doc{background: url(../images/title_doc.gif);}
#h-tour{background: url(../images/title_tour.gif);}
#h-lifetime{background: url(../images/title_lifetime.gif);}
#h-extractions{background: url(../images/title_extractions.gif);}
#h-sealants{background: url(../images/title_sealants.gif);}
#h-resources{background: url(../images/title_resources.gif);}
#h-sedation{background: url(../images/title_sedation.gif);}
#h-explanation{background: url(../images/title_explanation.gif);}
#h-white{background: url(../images/title_white.gif);}
#h-zoom{background: url(../images/title_zoom.gif);}
#h-invis{background: url(../images/title_invis.gif);}
#h-teeth{background: url(../images/title_teeth.gif);}
#h-kit{background: url(../images/title_kit.gif);}
#h-er{background: url(../images/title_er.gif);}
#h-faq{background: url(../images/title_faq.gif);}
#h-thumb{background: url(../images/title_thumb.gif);}
#h-visit{background: url(../images/title_visit.gif);}
#h-why{background: url(../images/title_why.gif);}
#h-coupons{background: url(../images/title_coupons.gif);}
#h-trays{background: url(../images/title_trays.gif);}
#h-game{background: url(../images/title_game.gif);}

img {
	border: 0px;}
	
.address{
	position:absolute;
	top:120px;
	left:150px;
	color:#0956c8;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height:17px;
	text-align:center;
}
#flash{position:absolute;
left:285px;
top:189px;}

#nav-sub{
	font-size: 11px;
	color: #013e95;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight:bold;
	margin-bottom:10px;
	position:relative;
	right:0px;
	padding-right:25px;
	line-height:16px;
	text-align:right;
}
#nav-sub a{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #013e95;
	font-weight:bold;
text-decoration:none;
}
#nav-sub a:hover, #nav-sub .active{
	color: #01d2ff;}

/* Global form styles */
.comments {margin: 18px auto;}
fieldset {border: none; padding: 9px 0;}
fieldset div {clear: both;}
.form-header {border-bottom: 1px solid #013e95;/*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 #013e95;/*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:#013e95;/* customize me! */
	border: 1px solid #013e95;
	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:#013e95;
	padding-top: 4px;}
.comments label span {/*sits below labels; holds instructions*/
	color:#013e95;
	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 #013e95;/* 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 #013e95;}/* 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:#013e95;
	padding-top: 4px;}
.referral-form label span {/*sits below labels; holds instructions*/
	color:#013e95;
	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 #013e95;/* 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 #013e95;}/* 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:#013e95;
	float:left;
	line-height: 18px;
	padding-top: 4px;}
.appointment-form label span {/*sits below labels; holds instructions*/
	color:#013e95;
	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 #013e95;/* 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 #013e95;}/* 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 #01d2ff;
}
#forms p {
	font-size: 11px;
	margin-left: 11px;
	margin-right: 10px;
	display: block;
}
div#sesame-game {
background: #000;
line-height: 0;
margin: 10px auto;
text-align: center;
width: 400px}

ul#sesame-games {
list-style: none;
margin: 0;

padding: 0}

ul#sesame-games li {
clear: both;
margin-left:0px;
display: block}

ul#sesame-games img {
border: 0;
margin: 0 0 10px 10px}

ul#sesame-games a.button {
float:right;
height:85px;
width:200px}

ul#sesame-games p {
padding-bottom: 1em}
