/* 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;
}

/* 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: 0;
	padding:0;
	background-image: url(../images/bg.jpg);
	background-color: #d5cfb6;
	background-repeat: repeat-x;
}
hr{
	color: #000000;
	margin-bottom: 10px;
	margin-top: 8px;
	clear:both;
}
img {
	border: 0px;}

blockquote {
	padding-left: 23px;
}
p{
	padding-top: 3px;
	padding-bottom:15px;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 18px;
	font-weight: normal;
}
a:link, a:visited{
	color: #b2aa7e;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight:bold;
	text-decoration: underline;
}
a:hover{color:#917777;
}
li{
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height:14px;
	margin-left: 35px;
	list-style: square outside;
	padding-bottom:12px;
}

ul{
	margin-bottom:15px;
}
ol{
	margin-bottom:15px;
}
.top{
	color: #917777;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
}
.top a:link, .top a:visited{
	color: #917777;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
}
.top a:hover{
color:#b2aa7e;
}
h1{
	color: #4c2432;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: bold;
	margin-bottom:18px;
}
h2{
	color: #b3aa7e;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	margin-bottom:15px;
}
h3{
	color: #917777;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	margin-bottom:5px;
}

#footer{
	width: 823px;
	overflow: hidden;
	text-align:center;
	background-image: url(../images/footer_bkd.jpg);
	background-repeat: no-repeat;
	font-weight:bold;
}
#footer p{
	padding-bottom:0px;
	
}
	
#footer .inner{margin-top:10px;
padding-left:20px;
padding-right:20px;}

h5{
	color: #d5cfb6;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	line-height: 14px;
}
#footer a {
color:#000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight:normal;
	text-decoration:none;
}
#footer a:hover{
	text-decoration: underline;
}
#footer-nav{margin-top:15px;
margin-bottom:6px;
color:#f8e3a8;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;text-decoration: none;}
#footer-nav a {
color:#9c8e4b;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	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: 56px;  margin:0;}

ul#nav, #nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	position:absolute;
	z-index:100;
	top:113px;
	left:9px;
}

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; padding-bottom:0px;}

ul#nav li ul {
	position: absolute;
	left: -999em;
	top:auto;
	margin-top:-10px;
	z-index:10;
	background: #894159;
}

ul#nav ul li a {
	position: relative;
	line-height:17px;
	height:20px;
	padding: 0px 4px 0px 8px;
	color: #ffffff;
	font-size:11px;
	font-weight: normal;
	text-decoration: none;
	width:145px;
}

ul#nav ul li a:hover {
background:#4c2432;}

#nav li:hover ul, #nav li.sfhover ul {
left: auto;} 


#about, #ortho, #braces, #aid, #faq,#treat {
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	height: 56px;
	cursor: pointer;
}
/* Set the image for each nav item */
#about {background: url(../images/btn_about.jpg); width:123px;}
#ortho {background: url(../images/btn_ortho.jpg);width:156px;}
#braces {background: url(../images/btn_braces.jpg);width:158px;}
#faq{background: url(../images/btn_faq.jpg);width:103px;}
#treat{background: url(../images/btn_treat.jpg);width:148px;}
#aid {background: url(../images/btn_aid.jpg);width:118px;}

/* Shift the image position up to show the active state */
#nav li:hover a, #nav li.sfhover a, #nav .active{
	background-position:0px -56px}

/* Set the cursor to default arrow so link does not appear clickable */
#nav .active {cursor: default}



.sidebar{
	position:absolute;
	top:180px;
	left:22px;
	width:188px;
	height:457px;
	background-image: url(../images/nav_bkd.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	
}
.sidebar p{
	line-height:14px;
	margin-left:15px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #d5cfb6;
}
.sidebar a{color:#FFFFFF; text-decoration:underline; font-weight:bold;}
.sidebar a:hover{color:#d5cfb6;}

#container{
	width: 823px;
	margin: 0px auto;
	position:relative;
	
}
#content {
	width: 823px;
	background-image: url(../images/content_bkd.jpg);
	background-repeat: repeat-y;	
}

#main {
	width: 823px;
	background-image: url(../images/main_bkd.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	min-height:620px;
}

#main .inner {
	padding-right:30px;
	padding-left:227px;
}

#header{
	width: 823px;
	height: 180px;
	background-image: url(../images/header_bkd.jpg);
	background-repeat: no-repeat;
}

#logo {
position:absolute;
	height: 99px;
	width: 412px;
	left:0px;
	top:0px;}

#logo a {
	display: block;
	height: 99px;
	width: 412px;
	line-height: 0px;
	text-indent: -999em;
	background: url(../images/logo.jpg) no-repeat left;}
		
	
#h-home{
width:398px;
height:36px;
	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-location,#h-comment,#h-refer,#h-appt,#h-child,#h-why,#h-phase,#h-dic,#h-life,#h-types,#h-diagram,#h-painter,#h-apps,#h-instruct,#h-palatal,#h-retainers,#h-color,#h-faq,#h-aid,#h-treat,#h-invis,#h-dento,#h-tmj,#h-surg,#h-apart,#h-policies,#h-forms,#h-doc,#h-team,#h-tour,#h-games,#h-club,#h-site,#h-404,#h-500, #h-links{
width:325px;
height:68px;
	overflow: hidden;
	text-indent: -999em; /* Indents the rich-text so it does not show */
	background-repeat: no-repeat;}
	
#h-location{background: url(../images/title_location.gif);}
#h-comment{background: url(../images/title_comment.gif);}
#h-refer{background: url(../images/title_refer.gif);}
#h-appt{background: url(../images/title_appt.gif);}
#h-child{background: url(../images/title_child.gif);}
#h-why{background: url(../images/title_why.gif);}
#h-phase{background: url(../images/title_phase.gif);}
#h-dic{background: url(../images/title_dic.gif);}
#h-life{background: url(../images/title_life.gif);}
#h-types{background: url(../images/title_types.gif);}
#h-diagram{background: url(../images/title_diagram.gif);}
#h-painter{background: url(../images/title_painter.gif);}
#h-apps{background: url(../images/title_apps.gif);}
#h-instruct{background: url(../images/title_instruct.gif);}
#h-palatal{background: url(../images/title_palatal.gif);}
#h-retainers{background: url(../images/title_retainers.gif);}
#h-color{background: url(../images/title_color.gif);}
#h-faq{background: url(../images/title_faq.gif);}
#h-aid{background: url(../images/title_aid.gif);}
#h-treat{background: url(../images/title_treat.gif);}
#h-invis{background: url(../images/title_invis.gif);}
#h-dento{background: url(../images/title_dento.gif);}
#h-tmj{background: url(../images/title_tmj.gif);}
#h-surg{background: url(../images/title_surg.gif);}
#h-apart{background: url(../images/title_apart.gif);}
#h-policies{background: url(../images/title_policies.gif);}
#h-forms{background: url(../images/title_forms.gif);}
#h-doc{background: url(../images/title_doc.gif);}
#h-team{background: url(../images/title_team.gif);}
#h-tour{background: url(../images/title_tour.gif);}
#h-games{background: url(../images/title_game.gif);}
#h-club{background: url(../images/title_club.gif);}
#h-404{background: url(../images/title_404.gif);}
#h-500{background: url(../images/title_500.gif);}
#h-site{background: url(../images/title_site.gif);}
#h-links{background: url(../images/title_links.gif);}



#flash{width:538px;
height:282px;
margin-left:220px;}

.logos{
	position:absolute;
	left:22px;
	top:362px;
	z-index:11;
}

#nav-sub{
position:absolute;
left:22px;
top:355px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #83260c;
	font-weight:bold;
	z-index:11;
}
#nav-sub a{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #d5cfb6;
	font-weight:bold;
text-decoration:none;
}
	
#nav-sub ul {
    line-height:.8;
    list-style-type:none;
}
#nav-sub li {
    list-style-type:none;
}
#nav-sub li a{
margin-left:-20px;
   padding-left:15px;
}
#nav-sub li a:hover, #nav-sub li .active{
padding-left:15px;
	background:transparent url(../images/bullet.png) no-repeat 0px 2px;
}
#nav-sub a:hover, #nav-sub .active{
	color: #ffffff; }
	
	
	
ul#sidebar {list-style: none;}
ul#sidebar a {display: block; padding: 0; height: 39px;  margin:0;}

ul#sidebar, #sidebar ul {
	padding: 0;
	margin: 0;
	position:absolute;
	top:0px;
	left:477px;
	list-style: none;
}

ul#sidebar li {display: inline;
margin:0; float:left;}
ul#sidebar li:hover ul, ul#sidebar li.sfhover ul {
	left: auto;
	display: block;
}

ul#sidebar li ul {
	position: absolute;
	left: -999em;
	top:auto;
	z-index:10;
}

#sidebar li:hover ul, #nsidebar li.sfhover ul {
left: auto;} 


#home,#contact,#doclogin,#login {
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	height: 39px;
	cursor: pointer;
}
/* Set the image for each nav item */
#home {background: url(../images/btn_home.jpg); width:59px;}
#contact {background: url(../images/btn_contact.jpg);width:66px;}
#doclogin {background: url(../images/btn_doclogin.jpg); width:101px;}
#login {background: url(../images/btn_login.jpg); width:104px;}

/* Shift the image position up to show the active state */
#sidebar li:hover a, #sidebar li.sfhover a, #sidebar .active{
	background-position:0px -39px}

/* Set the cursor to default arrow so link does not appear clickable */
#sidebar .active {cursor: default}

	
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; list-style:none;}

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}
/* 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:#894159;/* customize me! */
	border: 1px solid #894159;
	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;
	width:45%;
	float:left;
	padding-top: 4px;
	font-family: Arial, Helvetica, sans-serif;
}
.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 #894159;/* 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 #894159;}/* 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;
	line-height: 18px;
	padding-top: 4px;
	font-family: Arial, Helvetica, sans-serif;
}
.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 #894159;/* 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 #894159;}/* 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;
	width:45%;
	float:left;
	line-height: 18px;
	padding-top: 4px;
	font-family: Arial, Helvetica, sans-serif;
}
.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 #894159;/* 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 #894159;}/* 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;}


