/* 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: 3px solid #0174b4;
}
.hide {display: 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;*/
}

img { border: none; } 

	
body {
	margin: 20px 0px 0px;
	padding:0px;
	background: url(../images/bg.jpg);
	background-repeat: repeat-x;
	background-color: #CCBA92;
}

hr{
	color: #000000;
	margin-bottom: 10px;
	margin-top: 8px;
	clear:both;
}

blockquote {
	padding-left: 23px;
}
p{
	margin-bottom:18px;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 18px;
	font-weight: normal;
}
a:link, a:visited{
	color: #5da245;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight:normal;
	text-decoration: underline;
}
a:hover{
	color:#7089b7;
}

li{
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin-left: 35px;
	list-style: outside;
	line-height:20px;
}

ul{
	margin-bottom:15px;
}
ol{
	margin-bottom:15px;
}

.top{
	color: #7089b7;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
}
.top a:link, .top a:visited{
	color: #7089b7;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: none;
	
}
.top a:hover{text-decoration: underline;
}

h1{
	color: #004785;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: bold;
}
h2{
	color: #5da245;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	margin-bottom:18px;
}
h3{
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
}

#footer{
	width: 980px;
	overflow: hidden;
	background-image: url(../images/footer_bkd.gif);
	background-repeat: no-repeat;
	background-color: #CCBA92;
}
	
#footer .inner{margin-top:28px;
margin-left:auto;
margin-right:auto;
text-align:center;
padding-bottom:10px;}
#footer p{margin-bottom:0px;}

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

#nav{background-image: url(../images/nav_bkd.jpg);
	background-repeat: no-repeat;
	background-color: #fef8ec;
	width: 270px;
padding: 0;
margin: 0;
list-style: none;
position:absolute;
	left:22px;
	top:330px;
}
#nav ul{width: 270px;
padding: 0;
margin: 0;
list-style: none;
position: relative;
z-index: 1;}
#nav li { /* all lists */
margin-left:0px;list-style: none;
}

#nav a {
display: block;
overflow: hidden; 
text-indent: -999em;  /*Indents the rich-text so it does not show */
}

#about,#braces,#ortho,#links,#home,#contact,#er,#treat,#faq,#login {
	background-position: 0 0;
	width:270px;
}
/* Set the image for each nav item */
#about {background: url(../images/btn_about.gif); height:30px;}
#braces {background: url(../images/btn_braces.gif); height:30px;}
#ortho {background: url(../images/btn_ortho.gif); height:30px;}
#links {background: url(../images/btn_links.gif);height:30px;}
#treat{background: url(../images/btn_treat.gif);height:30px;}
#home {background: url(../images/btn_home.gif); height:30px;}
#contact {background: url(../images/btn_contact.gif);height:30px;}
#faq {background: url(../images/btn_faq.gif);height:30px;}
#er {background: url(../images/btn_care.gif);height:30px;}
#login {background: url(../images/btn_login.gif);height:38px;}

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

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

/* Accordion sub nav */
ul#accordion li ul {display: none;}
ul#accordion li.active ul {height: auto;display: block;}
ul#accordion li ul li a {
	color: #000000;
	padding-left: 30px;
	list-style-type:none;
	margin: 0;
	padding: 0;
	text-indent: 30px;
	text-decoration: none;
	font-style: italic;
	font-weight:bold;
	font-size:12px;
}
*html ul#accordion li ul li a {
	color: #000000;
	padding-left: 30px;
	list-style-type:none;
	margin: 0;
	padding: 0;
	text-indent: 30px;
	text-decoration: none;
	font-style: italic;
	font-weight:bold;
	font-size:12px;
	padding-top:10px;
}
ul#accordion li ul li  {
	margin-left:25px;
}
*html ul#accordion li ul li  {
	margin-left:25px;
	line-height:6px;
}

ul#accordion li ul li a:hover, ul#accordion li ul li a.active {
color: #5da245;text-decoration:underline;font-style: italic;
}


#container{
	width: 980px;
	margin: 0px auto;
	position:relative;
	background: url(../images/content_bkd.gif) repeat-y;
	
}
#content {
	width: 980px;
	margin:0px;
	padding-top:328px;
	background: url(../images/container_bkd.jpg) no-repeat left top;
}



#main {
	width: 618px;
	margin-left:314px;
	background-color: #ebe9dd;
	border: 6px solid #FFFFFF;
}

#main .inner {
padding-top:10px;
padding-bottom:10px;
	padding-right:15px;
	padding-left:15px;
	min-height:450px;
}
*html #main .inner {
padding-top:10px;
padding-bottom:10px;
	padding-right:15px;
	padding-left:15px;
	height:450px;
}

#logo {
position:absolute;
	height:310px;
	width:270px;
	left:22px;
	top:20px;}

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

#h-home,#h-forms,#h-appt,#h-comment,#h-refer,#h-location,#h-site,#h-404,#h-500,#h-privacy,#h-doc,#h-team,#h-game,#h-child,#h-faq,#h-er,#h-life,#h-tour,#h-wedo,#h-adults,#h-dic,#h-life,#h-video,#h-types,#h-painter,#h-diagram,#h-retainers,#h-invis,#h-damon,#h-sure,#h-incognito,#h-surg,#h-links,#h-simpli5{
width:448px;
height:39px;
	overflow: hidden;
	text-indent: -999em; /* Indents the rich-text so it does not show */
	background-repeat: no-repeat;}

#h-home{background: url(../images/title_home.gif);}
#h-forms{background: url(../images/title_forms.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_privacy.gif);}
#h-doc{background: url(../images/title_doc.gif);}
#h-team{background: url(../images/title_team.gif);}
#h-game{background: url(../images/title_game.gif);}
#h-child{background: url(../images/title_child.gif);}
#h-faq{background: url(../images/title_faq.gif);}
#h-er{background: url(../images/title_er.gif);}
#h-life{background: url(../images/title_life.gif);}
#h-tour{background: url(../images/title_tour.gif);}
#h-wedo{background: url(../images/title_wedo.gif);}
#h-adults{background: url(../images/title_adults.gif);}
#h-dic{background: url(../images/title_dic.gif);}
#h-life{background: url(../images/title_life.gif);}
#h-video{background: url(../images/title_video.gif);}
#h-types{background: url(../images/title_types.gif);}
#h-painter{background: url(../images/title_painter.gif);}
#h-diagram{background: url(../images/title_diagram.gif);}
#h-retainers{background: url(../images/title_retainers.gif);}
#h-invis{background: url(../images/title_invis.gif);}
#h-damon{background: url(../images/title_damon.gif);}
#h-sure{background: url(../images/title_sure.gif);}
#h-incognito{background: url(../images/title_incognito.gif);}
#h-surg{background: url(../images/title_surg.gif);}
#h-links{background: url(../images/title_links.gif);}
#h-simpli5{background: url(../images/title_simpli5.gif);}


/* Global form styles */
.comments {margin: 18px auto;}
fieldset {border: none; padding: 9px 0;}
fieldset div {clear: both;}
.form-header {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;}
/* comment form */	
.comments {
	margin: 18px 0;
	padding: 10px;}
.comments li {
	font-weight: bold;
	list-style-type: decimal;
}
.comments label {/*floats labels left*/
	font-size: 12px;
	display:block;
	font-weight:bold;
	text-align:left;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	width:45%;
	float:left;
	color:#000000;
	padding-top: 4px;}
.comments label span {/*sits below labels; holds instructions*/
	color:#000000;
	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 #000000;/* customize me! */
	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 #000000;}/* 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: 12px;
	display:block;
	font-weight:bold;
	text-align:left;
	width:45%;
	float:left;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	line-height: 18px;
	color:#000000;
	padding-top: 4px;}
.referral-form label span {/*sits below labels; holds instructions*/
	color:#000000;
	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 #000000;/* 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: 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 #000000;}/* 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: 12px;
	display:block;
	font-weight:bold;
	text-align:left;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	width:45%;
	color:#000000;
	float:left;
	line-height: 18px;
	padding-top: 4px;}
.appointment-form label span {/*sits below labels; holds instructions*/
	color:#000000;
	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 #000000;/* 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: 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: #ffffff}
.appointment-form p.verification {margin-top: 0;}
.appointment-form p.verification img {border: 1px solid #000000;}/* 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;}

/* 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;}
	
.flash-replaced .alt {
display: block;
width: 0px;
height: 0px;
position: absolute;
overflow: hidden;}

#flash-homepage{position:absolute;
left:314px;
top:21px;}


#homepic{position:absolute;
left:314px;
top:21px;}


.address{
position:absolute;
top:292px;
left:314px;
	width:654px;
	height:32px;
	background-color: #5da245;
	border-top: 6px solid #FFFFFF;
	border-left: 6px solid #FFFFFF;
	border-bottom: 6px solid #FFFFFF;
}
.address p{
	color:#FFFFFF;
text-align:center;
	padding-top:6px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	margin-bottom:0px;
}

#sitemapleft{float:left; padding-right:50px;}
#sitemapleft li{list-style:none; margin-left:11px;}

/* 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; 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}

/* damon */
.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;}

/* Suresmile */
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;}

/* ibraces */
.left {
float:left;
margin:0 10px 10px 0;}
img.right {
float:right;
margin:0 0 10px 10px;}
.clear {
clear:both;}
h2.media-center {
background:#000033;
color:#FFF;
margin:0;
padding:5px;}
div.media-center {
background:#336699;
color:#FFF;
display:inline-block;
margin-bottom:10px;
overflow:auto;
padding:10px;}
div.media-center a {
color:#FFF;}
div.media-center img {
border:1px solid #FFF;}
.flash {
border: solid 1px #ccc;}
#flash-ibraces-1 {
width: 320px;
height: 266px;}
#flash-ibraces-2, #flash-ibraces-3 {
width: 352px;
height: 266px;}

img.right {
	float: right;
	clear: right;
	margin: 0 0 10px 10px;
	}