/* 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:11px;
	margin-right:5px;
	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;}
.hide {display: none;}

html {
     /*overflow: -moz-scrollbars-vertical;*/
}

body {
	margin: 0;
	background-image: url(images/bkd.jpg);
	background-color: #fef5c2;
	background-repeat: repeat-x;
	font-size: 12px;
	line-height: 22px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #4d3101;
}
hr{
	color: #4d3101;
	margin-bottom: 10px;
		margin-top: 10px;
		clear:both;
}
blockquote {
	padding-left: 23px;
}
p{
margin-top: 3px;
	margin-bottom:15px;
	color: #4d3101;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 22px;
	font-weight: normal;	
}
p.upgrade-flash {margin: 0 20px; background: #fdf2bd; padding: 10px; border: #ff0000;}
div.team-caption {width: 522px;}
div.team-caption p {font-size: 12px; margin: 0 20px;}
a:link, a:visited{
	color: #4d3101;
	font-weight:bold;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 22px;
	text-decoration: none;
}
a:hover{
	color: #3d49e2;
	font-weight:bold;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 22px;
	text-decoration: none;
}
#main li{
	color: #4d3101;
margin-left: 35px;
list-style: outside;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 22px;
}
#main ul{
	margin-bottom:15px;
}
#main ol{
	margin-bottom:15px;
}
#main ol li {list-style: outside decimal;}
.top{
	clear: both;
	color: #2f77db;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
	margin-right: 20px;
}
.top a:link, .top a:visited{
	color: #2f77db;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
}
.top a:hover{
color: #4d3101;
}
h1{
	color: #4d3101;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: bold;
}
h1.sifr {width: 400px; height: 39px; font-size: 32px; margin-bottom: 10px; color: #4d3101;text-align: left;}
h2{
	color: #7b1c9a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
}
h2.staff {clear: both; margin-top: 20px;}
h3{
	color: #2f77db;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	line-height: 15px;
}
h5{
	color: #f08801;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	line-height: 15px;
}
/*--------------------------------- 
Flash
---------------------------------*/
.flash {
	overflow: hidden;
	margin: 10px auto;
}
.flash-replaced .alt {
	display: block;
	height: 0px;
	position: absolute;
	overflow: hidden;
	width: 0px;}

#flash-home {background-image: url(../images/flash.jpg);
	background-repeat: no-repeat; width: 790px; height: 188px;}
	
#footer{
clear:both;
	width: 790px;
	margin:auto;
	height:187px;
	background-image: url(../images/footer_bkd.jpg);
	background-repeat: no-repeat;
}
	
#footer .inner{
padding-top:38px;
	padding-right: 13px;
	padding-left: 20px;
	}

#footer a {
color:#3d49e2;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
	text-decoration: none;
}
#footer a:hover{
color:#4d3101;
}
#footer-nav{
color:#ffffff;
margin-top:9px;
margin-bottom:9px;
line-height:13px;
font-size: 10px;
font-weight: bold;}
#footer-nav a {
color:#ffffff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	line-height:13px;
	font-weight: bold;
	text-decoration: none;
}
#footer-nav a:hover{
color:#ffffff;
	text-decoration: underline;
}

#navbox {
	position:absolute;
	top:245px;
	left:7px;
	width:790px;
	height:37px;
}

ul#nav, #nav ul {
	width:790px;
	list-style: none;
}

ul#nav a {
	display: block;
}
ul#nav li{
	float: left;
	margin-left: 0px; 
}
ul#nav li ul {
	position: absolute;
	left: -999em;
	top: 37px;
	width:150px;
	z-index:10;
}

ul#nav ul li a {
	background: #db8620;
	padding: 1px 4px 2px;
	color: #ffffff;
	font-weight: bold;
	text-decoration: none;
	width:155px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 17px;
}

ul#nav ul li a:hover {
background:#fbd590;color: #db8620;}

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

ul#nav .office{margin-left:0px;}
ul#nav .ortho{margin-left:4px;}
ul#nav .braces{margin-left:5px;}
ul#nav .new{margin-left:0px;}
ul#nav .sleep{margin-left:6px;}

#office, #ortho, #pediatric, #sleep, #fun, #new, #teeth {
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	height: 37px;
	cursor: pointer;
}
/* Set the image for each nav item */
#office {background: url(../images/btn_office.jpg); width:85px;}
#ortho {background: url(../images/btn_ortho.jpg);width:103px;}
#pediatric {background: url(../images/btn_peds.jpg);width:142px;}
#sleep {background: url(../images/btn_sleep.jpg);width:141px;}
#fun {background: url(../images/btn_fun.jpg);width:104px;}
#new {background: url(../images/btn_new.jpg);width:131px;}
#teeth {background: url(../images/btn_teeth.jpg);width:84px;}

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

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

ul#nav-sub, #nav-sub ul {
position:absolute;
	top:0px;
	right:6px;
	z-index:10;}
ul#nav-sub a {
	display: block;
}
ul#nav-sub li{
	float: left;
	margin-left: 0px; 
	list-style:none;
}
ul#nav-sub li ul {
	position: absolute;
	left: -999em;
	padding-right:42px;
	top: 37px;
	width:150px;
	z-index:10;
}
*html ul#nav-sub li ul {
	position: absolute;
	left: -999em;
	padding-right:28px;
	top: 37px;
	width:150px;
	z-index:10;
}

ul#nav-sub ul li a {
	background: #db8620;
	padding: 1px 4px 2px;
	color: #ffffff;
	font-weight: bold;
	text-decoration: none;
	width:155px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 17px;
}

ul#nav-sub ul li a:hover {
background:#fbd590;color: #db8620;}

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

#home, #login, #contact {
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	height: 37px;
	cursor: pointer;
}
/* Set the image for each nav item */
#login {background: url(../images/btn_login.jpg); width:165px;}
#contact {background: url(../images/btn_contact.jpg);width:121px;}
#home {background: url(../images/btn_home.jpg);width:77px;}


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

#container{
	width: 804px;
	margin: auto;
	position:relative;
	background:url(../images/shadow.jpg) repeat-y;
}
#content {
	width: 790px;
	margin: auto;
}
#main {
background-color:#ffffff;
	width: 790px;
	padding-top:37px;
	padding-bottom: 20px;
	min-height:350px;
	
}
#main .inner {
padding-top:10px;
padding-left:25px;
padding-right:20px;
padding-bottom:1px;
}

#header{
	margin:auto;
	height: 245px;
	width: 790px;
	background-image: url(../images/header_bkd.jpg);
	background-repeat: no-repeat;
}
#logo {
position:relative;
top:46px;
left:21px;
	height: 159px;
	width: 155px;}
#logo a {
	display: block;
	height: 159px;
	width: 155px;
	line-height: 0px;
	text-indent: -999em;
	background: url(../images/logo.jpg) no-repeat left;}
	

#address{
	position: absolute;
	top: 45px;
	right: 25px;
}
#address p{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #016021;
	text-align: right;
	line-height: 13px;
	margin-bottom: 15px;
}


.home{
	width: 425px;
}
#links{
	background: url(../images/links_bkd.jpg) no-repeat;
	height: 196px;
	width: 285px;
	margin-top:0px;
	float:right;
}
#links ul{
margin-top:46px;

}
#links li{
	list-style:none;
}
#members{
	background: url(../images/membership_bkd.jpg) no-repeat;
	height: 164px;
	width: 285px;
clear:right;
margin-top:18px;
	float:right;
}
#memberslist li{
	list-style:none;
	padding-top:60px;
	margin-left:30px;
}
ul#memberslist a {
	display: block;
}

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


#resources {
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	height: 78px;
	cursor: pointer;
}
/* Set the image for each nav item */
#resources {background: url(../images/btn_members.jpg); width:204px;}

/* Shift the image position up to show the active state */
#memberslist a:hover, #memberslist .active{
	background-position:0px -78px
}

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

/*---------------------------
Sesame Forms
---------------------------*/

/* Global form styles */
.referral-form, .appointment-form, .comments {width: 710px;margin: 18px auto;}

fieldset {border: none; padding: 9px 0;}
fieldset div {clear: both;}
.form-header {border-bottom: 1px solid #690988;/*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 #690988;/*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:#690988;/* customize me! */
	border: 1px solid #690988;
	text-align:center;
	line-height:31px;
	color:#ffffff;/* customize me! */
	font-size:12px;
	font-weight:bold;}


/* 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: 12px;
	display:block;
	font-weight:bold;
	text-align:left;
	width:45%;
	float:left;
	line-height: 18px;
	padding-top: 4px;}
.referral-form label span {/*sits below labels; holds instructions*/
	color:#666666;
	display:block;
	font-size:11px;
	font-weight:normal;
	text-align:left;
	width:100%;}
.referral-form input, .referral-form textarea {
	float:left;
	font-size:12px;
	padding:4px 2px;
	border:solid 1px #690988;
	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.verification img {border: 1px solid #690988;}
.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: 12px;
	display:block;
	font-weight:bold;
	text-align:left;
	width:45%;
	float:left;
	line-height: 18px;
	padding-top: 4px;}
.appointment-form label span {/*sits below labels; holds instructions*/
	color:#666666;
	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:12px;
	padding:4px 2px;
	border:solid 1px #690988;
	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%;}
.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.verification img {border: 1px solid #690988;}
.appointment-form p.radio input, .appointment-form p.radio-float input {
	float: none;
	width: auto;
	margin: 0 0 0 2%;
	padding: 4px 2px;}

/* comment form */	
.comments {
	margin: 18px 0;
	padding: 10px;}
.comments li {font-weight: bold;}
.comments label {/*floats labels left*/
	font-size: 12px;
	display:block;
	font-weight:bold;
	text-align:left;
	width:45%;
	float:left;
	padding-top: 4px;}
.comments label span {/*sits below labels; holds instructions*/
	color:#666666;
	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:12px;
	padding:4px 2px;
	border:solid 1px #690988;
	width:45%;
	margin:9px 0 9px 2%;
	background: #ffffff;}
.comments p.verification {
	clear: both;
	margin: 0 0 9px 47%;
	font-size: 12px;}
.comments p.radio-float {
	clear: none;
	float:left;
	width: 45%;
	padding:0;
	margin:9px 0 9px 0;}
.comments p.verification img {border: 1px solid #690988;}
.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%;
}

/* Errors */

/* JQuery */
input.error {border: 1px solid #ff0000; background: #fefda1; }
div.error {padding-left: 18px;background: url(../images/validate_error.jpg) 0 0 no-repeat; color: #ff0000; 
		 display: block;margin:0 0 9px 47%;font-size: 11px; 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: 11px; line-height: 18px;}

/*--------------------------------
Office Tour
--------------------------------*/
#slideshow {
	width: 500px;
	margin: 10px 0 10px 250px;
	position: relative;
}
#slideshow img {display: block;}
#slideshow-nav {width: 200px;list-style: none; margin: 10px 0; float: left; padding: 0;}
#slideshow-nav li {list-style: none; display: inline; margin: 0; padding: 0;}
#slideshow-nav li a {float: left; display: block; width: 50px; height: 50px; margin: 10px 0 10px 15px;}
h4#caption {
	color: #6f118e;
	text-align: center;
	width: 450px;
	margin-left: 250px;
	font-size: 24px;
}

/*--------------------------------
Sesame Content
--------------------------------*/
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;
display: block;
margin-left:0px;}

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}

#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}
