/* 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;
}
.image-float-right {
	float: right;
	clear: right;
	display: block;
	margin-left:8px;
	margin-bottom:5px;
	border:solid 2px #a80331;
}

img.center {
display:block;
margin:0 auto 10px auto;border:solid 2px #a80331;}

.hide {display: none;}
img { border: none; } 


/* 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:0px;
	background-color: #07405a;
	/*background-image: url(../images/bkg.jpg);*/
	background-repeat: no-repeat;
	background-position: center top;
}
hr{
	color: #00417e;
	margin-bottom: 10px;
	margin-top: 8px;
	clear:both;
}

blockquote {
	padding-left: 23px;
}
p{
	margin-bottom:18px;
	color: #00417e;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 18px;
	font-weight: normal;
}
a:link, a:visited{color: #00417e;
font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-decoration: underline;
}
a:hover{
	color:#a80331;
}

li{
	color: #00417e;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin-left: 30px;
	line-height:18px;
	margin-bottom:15px;
	list-style: url(../images/bullet.gif) outside;
}

ul{
	margin-bottom:18px;
}
ol{
	margin-bottom:18px;
}
ol li{
	color: #00417e;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin-left: 40px;
	list-style: outside;
	line-height:20px;
}

.top{
clear:both;
	color: #a80331;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-align: right;
	font-weight: bold;
}
.top a:link, .top a:visited{
	color: #a80331;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-align: right;
	font-weight: bold;
	text-decoration: none;
	margin-right:20px;
	
}
.top a:hover{text-decoration: underline;
}

h1{
	color: #2e1100;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: bold;
}
h2{
	color: #2e1100;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	margin-bottom:18px;
	
}
h3{
	color: #00417e;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
}

#footer{
	width: 807px;
	overflow: hidden;
	margin:auto;
	clear:both;
}
#doc,#visit,#appt,#child,#cosmetic,#location{overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	height: 62px;
	cursor: pointer;}

#doc{
	background-image: url(../images/footer_meet.gif);
	width:134px;
}#visit{
	background-image: url(../images/footer_visit.gif);width:135px;
}#appt{
	background-image: url(../images/footer_appt.gif);width:135px;
}#child{
	background-image: url(../images/footer_peds.gif);width:136px;
}#cosmetic{
	background-image: url(../images/footer_cosmetic.gif);width:135px;
}#location{
	background-image: url(../images/footer_find.gif);width:132px;
}

#footer a:hover, #footer a.sfhover{
	background-position:0px -62px}


#footer .inner {height: 62px;width: 807px;
	overflow: hidden;
}
#footer .inner a {height: 62px;
	display: block;
	float:left;
}
#footer p{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #eadbb6;
}
#footer a {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #eadbb6;
	text-decoration:none;
}
#footer a:hover {text-decoration:underline;
}


ul#nav {list-style: none;}
ul#nav a {display: block; padding: 0; width: 190px; margin:0;}

ul#nav, #nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	position:absolute;
	left:38px;
	top:207px;
	z-index: 110100;
}

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-top:-30px;
	margin-left:180px;
	z-index:10;
	border: 1px solid #2e1100;
	background:#1a5999 url(../images/rollover.jpg) no-repeat left top;
}

ul#nav ul li a {
	position: relative;
	padding: 1px 0px 2px 3px;
	color: #ffffff;
	font-size:10px;
	font-weight: normal;
	text-decoration: none;
	width:150px;
}

ul#nav ul li a:hover {
font-weight: bold;text-decoration: none;}

#nav li:hover ul, #nav li.sfhover ul {
left: auto;} 


#about,#teeth,#peds,#home,#contact,#treat,#gallery,#login {
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	width: 190px;
	cursor: pointer;
}

/* Set the image for each nav item */
#about {background: url(../images/btn_office.gif);height:30px;}
#login {background: url(../images/btn_login.gif);height:32px;}
#home {background: url(../images/btn_home.gif); height:29px;}
#contact {background: url(../images/btn_contact.gif);height:30px;}
#teeth {background: url(../images/btn_teeth.gif);height:30px;}
#peds {background: url(../images/btn_peds.gif);height:30px;}
#gallery {background: url(../images/btn_gallery.gif);height:30px;}
#treat {background: url(../images/btn_treat.gif);height:30px;}

/* Shift the image position up to show the active state */
#nav li:hover a, #nav li.sfhover a, #nav .active{
	background-position:-190px 0px}

/* Set the cursor to default arrow so link does not appear clickable */
#nav .active {cursor: default}

#container{
	width: 807px;
	margin: 0px auto;
	position:relative;
	
}
#content {
	width: 807px;
	background-image: url(../images/content_bkd.jpg);
	background-repeat: no-repeat;
	padding-bottom:1px;
	min-height:650px;background-color: #fcefcf;
}
*html #content {
	width: 807px;
	background-image: url(../images/content_bkd.jpg);
	background-repeat: no-repeat;
	padding-bottom:1px;
	background-color: #fcefcf;
	height:550px;
}

#content .inner {
padding-bottom:8px;
	padding-right:38px;
	padding-left:250px;
	padding-top:275px;
}
#content .innerhome {
padding-bottom:8px;
	padding-right:38px;
	padding-left:250px;
	padding-top:288px;
}
#content .inner-treat {
padding-bottom:8px;
	padding-right:38px;
	padding-left:250px;
	padding-top:262px;
}

#header{
	width: 807px;
	height: 189px;
	background-image: url(../images/header.gif);
	background-repeat: no-repeat;
}

#logo {
position:absolute;
	height:189px;
	width:338px;
	left:0px;
	top:0px;}

#logo a {
	display: block;
	height:189px;
	width:338px;
	line-height: 0px;
	text-indent: -999em;
	background: url(../images/logo.gif) no-repeat left;}
	
.pic{
	position:absolute;
	left:227px;
	top:207px;
	}

#nav-sub{
	font-size: 12px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	position:relative;
	top:0px;
	color:#2e1100;
	margin-bottom:0px;
	text-align:right;
	height:50px;
}
#nav-sub a{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #2e1100;
	font-weight:normal;
	text-decoration:none;
}
#nav-sub a:hover, #nav-sub .active{
	font-weight:bold;}
	
	#nav-sub2{
	font-size: 10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	position:relative;
	right:39px;
	top:-12px;
	color:#2e1100;
	margin-bottom:0px;
	text-align:right;
}
#nav-sub2 a{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #2e1100;
	font-weight:normal;
text-decoration:none;
}
#nav-sub2 a:hover, #nav-sub2 .active{
	font-weight:bold;}
	
	/* The Game Room */
div#sesame-game {background: #000; line-height: 0; margin: 10px auto 30px auto; text-align: center; width: 400px}
ul#sesame-games {list-style: none; margin: 0 18px 0 0; padding: 0}
ul#sesame-games li {clear: both; display: block; list-style:none; margin-left:0px;}
ul#sesame-games img {border: 0; float: right; margin: 0 0 10px 10px}
ul#sesame-games a.button {float:right; height:85px; width:200px}
ul#sesame-games p { padding-bottom: 1em}
	
.flash-replaced .alt {
display: block;
width: 0px;
height: 0px;
position: absolute;
overflow: hidden;}

#sidebar{position:absolute;
left:31px;
width:192px;
top:475px;
}

#sidebar .mason{color:#2e1100;font-size:11px; font-weight:normal;
line-height:15px;
text-align:right;
padding-right:15px;
margin-bottom:18px;}
#sidebar .mason a{color:#2e1100;font-size:12px; font-weight:bold;
line-height:15px;
text-align:right;
font-weight:normal; text-decoration:none;}
#sidebar .mason a:hover{ text-decoration:underline;}


#sidebar .docs{color:#000000;
font-size:12px; font-weight:normal;
line-height:12px;
text-align:right;
padding-right:15px;
margin-bottom:18px;}

#sidebar .find{color:#2e1100;font-size:11px; font-weight:normal;
line-height:15px;
text-align:right;
padding-right:15px;
margin-bottom:18px;}
#sidebar .find a{color:#2e1100;font-size:12px; font-weight:bold;
line-height:15px;
text-align:right;
font-weight:normal; text-decoration:none;}
#sidebar .find a:hover{ text-decoration:underline;}

#flash-homepage{
	position:absolute;
	top:133px;
	padding-top:5px;
	left:485px;
	z-index:11;
	background-image: url(../images/flash.gif);
	background-repeat: no-repeat;
	background-position: center top;
}

.sitemap li { list-style:none; list-style-image: none; margin-left:15px; margin-bottom:0px;}
.sitemap li a:link, .sitemap li a:visited{ text-decoration:none; font-weight:normal;}

#forms {
	float: right;
	clear: right;
	display: block;
	width: 255px;
	margin-left: 10px;
	border: 2px solid #a80331;
}
#forms p {
	font-size: 12px;
	margin-left: 11px;
	margin-right: 10px;
	display: block;
}

/* Global form styles */
div.referral-form, div.appointment-form, div.comments, div.login-form {
	width: 95%;
	margin-top: 18px;	
	border:solid 2px #00417e;/*optional, change color to match site*/
	font-family:Verdana, Arial, Helvetica, sans-serif;
}

fieldset {border: 0; padding: 9px 0;color: #00417e; margin: 0 18px;}
fieldset div {clear: both;}
.form-header {color: #00417e; border-bottom: 1px solid #00417e;/*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 #c6dbed;/*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:#c6dbed;/* customize me! */
	border: 1px solid #00417e;
	text-align:center;
	line-height:31px;
	color:#00417e;/* customize me! */
	font-size:12px;
	font-weight:bold;}
fieldset input, fieldset textarea, fieldset select {line-height: 18px; height: 18px; padding: 4px 9px 5px 9px; border: 1px solid #00417e;}
fieldset input.radio {border: 0;}
fieldset p.verification img {border: 1px solid #00417e;}
fieldset label {margin-top: 9px;}
fieldset label, label span {text-align: left; line-height: 18px; height: 18px;}
label.required {background: url(../images/required_note.gif) 100% 0 no-repeat;}
p.required-note {font-weight: bold;}
p.required-note img {display: inline;}
p.radio-float, p.radio-float input {line-height: 27px; vertical-align: middle;}

/* comment form */	
div.comments {
	margin: 18px 0;
	padding: 10px;
}
.comments li {
	font-weight: bold;
	margin: 0;
	margin-left:28px;
	list-style-image: none;
	list-style-type: decimal;
}
.comments label {/*floats labels left*/
	font-size: 12px;
	display:block;
	font-weight:bold;
	width:45%;
	float:left;}
.comments label span {/*sits below labels; holds instructions*/
	color:#00417e;
	display:block;
	font-size:11px;
	font-weight:normal;
	width:100%;}
.comments .label-block label {float: none; clear: both; width: 100%; text-align: left; }
.comments input, .comments textarea {
	float:left;
	font-size:12px;
	padding:0 2px;
	width:45%;
	margin:9px 0 9px 2%;
	background: #ffffff;}
.comments textarea {width: 95%;}
.comments p.verification {
	clear: both;
	margin: 9px 0 9px 47%;
	font-size: 12px;}
.comments p.radio-float {
	clear: none;
	float:left;
	width: 45%;
	padding:0;
	margin:9px 0 9px 0;
	vertical-align: middle;
	line-height: 18px;}
.comments p.verification {margin-top: 0;}
.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%;
}

/* JQuery */
input.error, select.error, textarea.error {border-color: #a52003; background: #fefda1; }
div.error {padding-left: 18px; background: url(../images/validate_error.jpg) 0 0 no-repeat; color: #a52003; 
		 display: block; margin:0 0 9px 47%; font-size: 12px; font-weight: normal; line-height: 18px;}
div.success {padding-left: 18px; background: url(../images/validate_ok.jpg) 0 0 no-repeat; color: #000000; 
		   display: block;margin:0 0 9px 47%;font-size: 12px; font-weight: normal; line-height: 18px;}
.contact-form div.error, .contact-form div.success {margin-left: 0;}

/* appointment form */
.appointment-form {
	margin: 18px 0;
	padding: 10px;
}
.appointment-form fieldset {border: 0; }
.appointment-form label {/*floats labels left*/
	font-size: 12px;
	display:block;
	font-weight:bold;
	width:45%;
	float:left;
	margin-top: 9px;
	line-height: 18px;
	}
.appointment-form label span {/*sits below labels; holds instructions*/
	color:#00417e;
	display:block;
	font-size:11px;
	font-weight:normal;
	width:100%;}
.appointment-form input, .appointment-form select, .appointment-form textarea {
	float:left;
	font-size:12px;
	padding:0 2px;
	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: 12px;}
.appointment-form p.radio-float {
	clear: none;
	float:left;
	width: 45%;
	padding:0;
	margin:9px 0 9px 2%;
	vertical-align: middle;
	line-height: 18px;}
.appointment-form span#found-other {width: 100%;}
.appointment-form span#found-other input {margin-left: 47%; background: #fff0b2}
.appointment-form p.verification {margin-top: 0;}
.appointment-form p.radio input, .appointment-form p.radio-float input {
	float: none;
	width: auto;
	margin: 0 0 0 2%;
	padding: 4px 2px;}

/* referral form */
div.referral-form {
	margin: 18px 0;
	padding: 10px;
}
.referral-form fieldset {border: 0; }
.referral-form label {/*floats labels left*/
	font-size: 12px;
	display:block;
	font-weight:bold;
	width:45%;
	float:left;
	line-height: 18px;}
.referral-form label span {/*sits below labels; holds instructions*/
	color:#00417e;
	display:block;
	font-size:11px;
	font-weight:normal;
	width:100%;}
.referral-form input, .referral-form textarea {
	float:left;
	font-size:12px;
	padding:0 2px;
	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: 12px;}
.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.radio input, .referral-form p.radio-float input {
	float: none;
	width: auto;
	margin: 0 0 0 2%;
	padding: 0 2px;
	vertical-align: middle;
	line-height: 18px;
	height: 18px;}
.map {
	border: #07405B solid 2px;
	}
