/* 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-border {
	float: right;
	clear: right;
	display: block;
	margin-left:10px;
	margin-bottom:5px;
	border:solid 1px #000000;
}
.image-border {
	display: block;
	margin-right:25px;
	margin-bottom:25px;
	border:solid 1px #000000;
}
.image-float-right {
	float: right;
	clear: right;
	display: block;
	margin-left:10px;
	margin-bottom:5px;
}

.image-float-center {
	display: block;
margin:0 auto 10px auto;
}

.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;*/
}

	.flash-replaced .alt {
display: block;
width: 0px;
height: 0px;
position: absolute;
overflow: hidden;}

body {
	margin: 0px;
	padding:0px;
	background-color: #f7e18c;
	background-image: url(../images/bkd.jpg);
	background-repeat: repeat-x;
}
hr{
	color: #000000;
	margin-bottom: 10px;
	margin-top: 8px;
	clear:both;
}

blockquote {
	padding-left: 23px;
}
p{
	margin-bottom:18px;
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 20px;
	font-weight: normal;
}
a:link, a:visited{
	color: #f7e08a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight:bold;
	text-decoration: none;
}
a:hover{
text-decoration: underline;
}

li{
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin-left: 40px;
	list-style: outside;
	line-height:20px;
}

ul{
	margin-bottom:18px;
}
ol{
	margin-bottom:18px;
}
ol li{
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	margin-left: 85px;
	list-style: outside;
	line-height:20px;
}

.top{
clear:both;
	color: #6a6f50;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-align: right;
	font-weight: bold;
}
.top p{
margin-bottom:0px;
}
.top a:link, .top a:visited{
	color: #f7e08a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-align: right;
	font-weight: bold;
	text-decoration: none;
	margin-right:40px;
	
}
.top a:hover{text-decoration: underline;
}

h1{
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 17px;
	line-height:27px;
	font-weight: bold;
}
h2{
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: bold;
	margin-bottom:18px;
}
h3{
	color: #000000;
	margin-bottom:5px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
}

#footer{
	width:828px;	
height:170px;
margin:auto;
background-image: url(../images/footer_bkd.gif);
	clear:both;
}
	
#footer .inner{padding-top:16px;
padding-left:45px;
padding-right:45px;
}

h5{
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight:bold;
	line-height: 20px;
}
#footer p {margin-bottom:0px;}
#footer a{font-weight:normal;
color:#ffffff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight:bold;
	text-decoration: none;
}
#footer a:hover{
text-decoration: underline;
}
#footer-nav{margin-top:10px;
margin-bottom:9px;
color:#000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height:16px;
	font-weight:normal;}
#footer-nav a {
color:#000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
font-weight:normal;
text-decoration: none;
	
}
#footer-nav a:hover{
text-decoration: underline;
}

ul#nav {list-style: none;}
ul#nav a {display: block; padding: 0; height: 88px; margin:0;}

ul#nav, #nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	position:absolute;
	left:0px;
	top:146px;
	z-index:10;
}

ul#nav li {display: inline;
margin:0;float:left;}
ul#nav li:hover ul, ul#nav li.sfhover ul {
	left: auto;
	display: block;
}

ul#nav li ul li {
float:none; }

ul#nav li ul {
	position: absolute;
	left: -999em;
	top:auto;
	z-index:10;
	margin-top:-8px;
}

ul#nav ul li a {
	position: relative;
	background:#6d441d;
	height:22px;
	padding: 1px 4px 2px 8px;
	color: #e1da86;
	font-size:11px;
	font-weight: bold;
	text-decoration: none;
	width:215px;
}

ul#nav ul li a:hover {
color:#6d441d;background: #e1da86;}

#nav li:hover ul, #nav li.sfhover ul {
left: auto;} 


#office,#new,#ortho,#braces,#er,#faqs,#treat {
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	height: 88px;
	cursor: pointer;
}

/* Set the image for each nav item */
#office {background: url(../images/btn_office.jpg);width:123px;}
#new {background: url(../images/btn_new.jpg);width:110px;}
#ortho {background: url(../images/btn_ortho.jpg);width:155px;}
#braces {background: url(../images/btn_braces.jpg);width:88px;}
#faqs {background: url(../images/btn_faqs.jpg);width:78px;}
#er {background: url(../images/btn_er.jpg);width:125px;}
#treat{background: url(../images/btn_treat.jpg);width:124px;}

/* Shift the image position up to show the active state */
#nav li:hover a, #nav li.sfhover a, #nav .active{
	background-position:0px -88px}

/* Set the cursor to default arrow so link does not appear clickable */
#nav .active {cursor: default}


ul#nav2 {list-style: none;}
ul#nav2 a {display: block; padding: 0; height: 34px; margin:0;}

ul#nav2, #nav2 ul {
	padding: 0;
	margin: 0;
	list-style: none;
	position:absolute;
	left:350px;
	top:0px;
	z-index:10;
}

ul#nav2 li {display: inline;
margin:0; float:left;}
ul#nav2 li:hover ul, ul#nav2 li.sfhover ul {
	left: auto;
	display: block;
}

ul#nav2 li ul li {
float:none;}

ul#nav2 li ul {
	position: absolute;
	left: -999em;
	z-index:10;
	top:auto;
}

ul#nav2 ul li a {
	position: relative;
	background:#667f44;
	height:22px;
	padding: 1px 4px 2px 8px;
	color: #ffffff;
	font-size:12px;
	font-weight: bold;
	text-decoration: none;
	width:147px;
}

ul#nav2 ul li a:hover {
color: #fffffff;background:#009ee0;}

#nav2 li:hover ul, #nav2 li.sfhover ul {
left: auto;} 


#doclogin,#login,#contact,#home {
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	height: 34px;
	cursor: pointer;
}

/* Set the image for each nav2 item */
#doclogin {background: url(../images/btn_doc.jpg);width:134px;}
#login {background: url(../images/btn_login.jpg);width:200px;}
#contact {background: url(../images/btn_contact.jpg);width:147px;}
#home {background: url(../images/btn_home.jpg);width:63px;}

/* Shift the image position up to show the active state */
#nav2 li:hover a, #nav2 li.sfhover a, #nav2 .active{
	background-position:0px -34px}

/* Set the cursor to default arrow so link does not appear clickable */
#nav2 .active {cursor: default}

#container{
	width: 828px;
	margin: auto;
	position:relative;
	
}
#content {
	width: 828px;
	background-image: url(../images/inner_bkd.gif);
	background-repeat: repeat-y;
	padding-bottom:5px;
}

#content .inner {
padding-top:15px;
	padding-right:43px;
	padding-left:43px;
	background-image: url(../images/content_bkd.jpg);
	background-repeat: no-repeat;	background-position: left top;
	min-height:855px;
	
}
*html #content .inner {
padding-top:15px;
	padding-right:43px;
	padding-left:43px;
	height:855px;background-image: url(../images/content_bkd.jpg);
	background-repeat: no-repeat;	background-position: left top;
	
}
#content .innerhome {
padding-top:380px;
	padding-right:43px;
	padding-left:43px;	background-image: url(../images/content_bkd.jpg);
	background-repeat: no-repeat;	background-position: left top;
}


#header{
	width: 828px;
	height: 239px;
	background-image: url(../images/header_bkd.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}

#logo {
position:absolute;
	height:146px;
	width:251px;
	left:48px;
	top:0px; z-index:100;}

#logo a {
	display: block;
	height:146px;
	width:251px;
	line-height: 0px;
	text-indent: -999em;
	background: url(../images/logo.gif) no-repeat left;}

#nav-sub{
	font-size: 11px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin-bottom:13px;
	position:relative;
	right:0px;
	color:#000000;
	line-height:16px;
	text-align:right;
	font-weight:bold;
}
#nav-sub a{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight:bold;
	color: #000000;
text-decoration:none;
}
#nav-sub a:hover, #nav-sub .active{
	color: #ffffff;}
	

#phone { font-family:Verdana, Geneva, sans-serif; font-size:11px; font-weight:bold; color:#FFF;text-shadow: 2px 2px 2px #000, black 0px 0px 5px;
; text-indent:0; z-index:999; position:absolute; top:63px; left:52px;}
.address{background-repeat: no-repeat; 
height: 94px; /* this height reflects the height of the heading image */
overflow: hidden; 
text-indent: -999em;
position:absolute;
left:648px;
width:156px;
top:48px;} 


#flash-brushing-and-flossing-ortho {
width: 500px;
height: 300px;
margin: 10px auto;}

#flash-types-of-braces,#flash-types-of-appliances,#flash-emergency-care,#flash-patient-care,#flash-braces-diagram,#flash-brace-painter,#flash-common-treatments {
width: 500px;
margin: 10px auto;}



/* Global form styles */
div.referral-form, div.appointment-form, div.comments, div.login-form {
	width: 95%;
	margin-top: 18px;	
	border:solid 2px #000000;/*optional, change color to match site*/
	font-family:Verdana, Arial, Helvetica, sans-serif;
}

fieldset {border: 0; padding: 9px 0;color: #000000; margin: 0 18px;}
fieldset div {clear: both;}
.form-header {color: #000000; border-bottom: 1px solid #000000;/*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 #000000;/*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:#000000;/* customize me! */
	border: 1px solid #000000;
	text-align:center;
	line-height:31px;
	color:#FFFFFF;/* 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 #000000;}
fieldset input.radio {border: 0;}
fieldset p.verification img {border: 1px solid #000000;}
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-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:#000000;
	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%; height: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: 11px; 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: 11px; 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;
	height:40px;
	margin-top: 9px;
	line-height: 18px;
	}
.appointment-form label span {/*sits below labels; holds instructions*/
	color:#000000;
	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%;
	height:40px;
	float:left;
	line-height: 18px;}
.referral-form label span {/*sits below labels; holds instructions*/
	color:#000000;
	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;}
	
/* 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; border:solid 1px #000000;}
ul#sesame-games a.button {float:right; height:85px; width:200px}
ul#sesame-games p { padding-bottom: 1em}


#flash-homepage {position:absolute;
top:242px;
width:828px; 
height:372px;background-image:url(../images/flash_bkd.jpg)}

.left {
float:left;
margin:0 10px 10px 0;}
img.right {
float:right;
margin:0 0 10px 10px;}
.clear {
clear:both;}
#damon-bracket {
display:block;
margin:0 auto 10px auto;}
#damon-wrap {
width:400px;
margin:0 auto;}
#damon-left {
float:left;
width:175px;
margin-right:20px;}
#damon-right {
float:left;
width:170px;}
#flash-damon-system-comparison {
margin:0 auto;
width:250px;}
#video-the-damon-system {
margin: 0 15px 15px 0;
width: 240px;
height: 206px;
float: left;
clear: left;}
#video-the-damon-system-2 {
margin: 0 15px 15px 0;
width: 400px;
height: 330px;
float: left;
clear: left;}

p.small {
font-size: 10px;}
img.photo {
border: solid 1px #000;
float: right;
margin: 0 0 15px 15px;}
div.learn-more {
background-color: #fff;
color: #036;
width: 50%;
border: solid 1px #fff;
padding: 0;
margin: 15px 18px 15px 15px;
float: right;}
div.learn-more a {color: #036;}
.learn-more h3 {
background-color: #97AFC2;
color: #fff;
margin: 0 0 10px 0;
padding: 10px;}
.learn-more p {
padding: 0;
margin: 0 0 10px 0;}
.clear {clear: both;}
#video-suresmile {
width: 320px;
height: 206px;}


.sitemap li{ list-style:none; margin-left:15px;}
.sitemap a:link, .sitemap a:visited{text-decoration:none; font-weight:normal; color:#000000;}
.sitemap a:hover{text-decoration:underline;}

div.box {
	float: right;
	clear: right;
	width: 334px;
	background-color: #FFFFFF; /* Customize me! */
	padding: 5px 0 5px 5px;
	margin: 0 0 20px 20px;
	border: solid 2px #000000; /* Customize me! */
	-moz-border-radius: 5px; /* Optional - you may customize or remove */
	-webkit-border-radius: 5px;
}
div.box img {
	float: left;
	border: solid 1px #000000; /* Customize me! */
	margin-right: 5px;
}
div.box p {
	float: left;
	width: 50%;
	margin: 0;
	padding: 0;
}

div.box-lg {
	clear: left;
	float:left;
	width: 514px;
	margin: 0 0 20px 20px;
	background-color: #FFFFFF; /* Customize me! */
	padding: 5px 0 5px 5px;
	border: solid 2px #000000; /* Customize me! */
	-moz-border-radius: 5px; /* Optional - you may customize or remove */
	-webkit-border-radius: 5px;
}
div.box-lg img {
	float: left;
	border: solid 1px #000000; /* Customize me! */
	margin-right: 5px;
}
div.box-lg p {
	float: left;
	width: 50%;
	margin: 0;
	padding: 0;
}
div.box-smiles {
	clear: left;
	float:left;
	width: 666px;
	margin: 0 0 20px 20px;
	background-color: #FFFFFF; /* Customize me! */
	padding: 5px 0 5px 5px;
	border: solid 2px #000000; /* Customize me! */
	-moz-border-radius: 5px; /* Optional - you may customize or remove */
	-webkit-border-radius: 5px;
}
div.box-smiles img {
	float: left;
	border: solid 1px #000000; /* Customize me! */
	margin-right: 5px;
}
div.box-smiles p {
	float: left;
	width: 50%;
	margin: 0;
	padding: 0;
}

img.right-border {
	float: right;
	clear: right;
	margin: 5px 0 15px 15px;
	border: solid 2px #000000; /* Customize me! */
	}


#gallery-container {
	width: 480px; 
	min-height: 500px;}
ul#css-office-tour {
	width: 480px; 
	height: 370px;
	position: relative; 
	list-style: none; 
	margin: 0; 
	padding: 0; 
	border: solid 1px #333; /* Customize me */
	-moz-border-radius: 5px; /* Optional - you may customize or remove */
	-webkit-border-radius: 5px; /* Optional - you may customize or remove */
	background: url(../images/css-office-tour/image-01.jpg) 10px 10px no-repeat;}
ul#css-office-tour li {
	margin: 380px 0 0 10px; 
	float: left; 
	display: inline;}
ul#css-office-tour li img {
	border: solid 1px #333; /* Customize me */
	margin: 0 4px 2px 0; 
	width: 68px; 
	height: 52px;}
ul#css-office-tour a {text-decoration: none;}
ul#css-office-tour a span {
	left: -999em; 
	position: absolute;}
ul#css-office-tour a span img {
	border: none; 
	width: 460px; 
	height: 350px;}
ul#css-office-tour a:hover {
	background: none; 
	z-index: 100;}
ul#css-office-tour a:hover span {
	position: absolute; 
	top: 10px; 
	left: 10px; 
	display: block;}

ul#css-office-tour1 {
	width: 480px; 
	height: 370px;
	position: relative; 
	list-style: none; 
	margin: 0; 
	padding: 0; 
	border: solid 1px #333; /* Customize me */
	-moz-border-radius: 5px; /* Optional - you may customize or remove */
	-webkit-border-radius: 5px; /* Optional - you may customize or remove */
	background: url(../images/css-office-tour1/image-01.jpg) 10px 10px no-repeat;}
ul#css-office-tour1 li {
	margin: 380px 0 0 10px; 
	float: left; 
	display: inline;}
ul#css-office-tour1 li img {
	border: solid 1px #333; /* Customize me */
	margin: 0 4px 2px 0; 
	width: 68px; 
	height: 52px;}
ul#css-office-tour1 a {text-decoration: none;}
ul#css-office-tour1 a span {
	left: -999em; 
	position: absolute;}
ul#css-office-tour1 a span img {
	border: none; 
	width: 460px; 
	height: 350px;}
ul#css-office-tour1 a:hover {
	background: none; 
	z-index: 100;}
ul#css-office-tour1 a:hover span {
	position: absolute; 
	top: 10px; 
	left: 10px; 
	display: block;}





