/* 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-float-border {
	float: right;
	clear: right;
	display: block;
	margin-left:8px;
	margin-bottom:5px;
	border: 2px solid #e1861c;
}

.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: 0px;
	padding:0px;
	background-image: url(../images/bkd.gif);
	background-color: #d1df8e;
	background-repeat: no-repeat;
	background-position: center top;
}
hr{
	color: #343434;
	margin-bottom: 10px;
	margin-top: 8px;
	clear:both;
}

blockquote {
	padding-left: 23px;
}
p{
	margin-bottom:18px;
	color: #343434;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 18px;
	font-weight: normal;
}
a:link, a:visited{
	color: #e1861c;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight:bold;
	text-decoration: none;
}
a:hover{
	text-decoration: underline;
}

li{
	color: #343434;
	font-family: Verdana, 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: #e1861c;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
}
.top a:link, .top a:visited{
	color: #e1861c;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: none;
	
}
.top a:hover{text-decoration: underline;
}

h1{
	color: #e1861c;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: bold;
}
h2{
	color: #6178c0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
}
h3{
	color: #AFC83E;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
}
h4{
	color: #343434;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
}

#footer{
	width: 100%;
	overflow: hidden;
	background-image: url(../images/footer_bkd2.gif);
	background-repeat: repeat-x;
	background-color: #dfe3f2;
}
#footer .spacing{
	padding-left:50px;
	padding-right:30px;
}
	
#footer .inner{
	width:845px;
	padding-top:55px;
	padding-bottom:7px;
	background-image: url(../images/footer_bkd.jpg);
	background-repeat: no-repeat;
	margin-right: auto;
	margin-left: auto;
}
#footer p{margin-bottom:0px;}

h5{
	color: #6178c0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight:normal;
	line-height: 13px;
}
#footer a {font-weight:normal;
color:#6178c0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	text-decoration: none;
}
#footer a:hover{
	text-decoration: underline;
}
#footer-nav{margin-top:12px;
margin-bottom:10px;
color:#6178c0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight:bold;}
#footer-nav a {
color:#6178c0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
font-weight:bold;
	text-decoration: none;
}
#footer-nav a:hover{
text-decoration: underline;
}
#nav{
	background-image: url(../images/nav_bkd.jpg);
	background-repeat: no-repeat;
	width: 225px;
}
ul#nav {list-style: none;}
ul#nav a {display: block; padding: 0; width: 216px; margin:0;}

ul#nav, #nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	position:absolute;
	left:27px;
	top:240px;
}

ul#nav li {display: inline;
margin:0;}
ul#nav li:hover ul, ul#nav li.sfhover ul {
	left: auto;
	display: block; 
	z-index:100;
}

ul#nav li ul {
	position: absolute;
	left: -999em;
	top:auto;
	margin-left:200px;
	z-index:10;
}

ul#nav ul li a {
	position: relative;
	background:#7687be;
	top:-31px;
	padding: 1px 4px 2px 8px;
	color: #ffffff;
	font-size:11px;
	font-weight: normal;
	text-decoration: none;
	width:175px;
	z-index:100;
}

ul#nav ul li a:hover {
background: #f9a13a; z-index:100}

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

ul#home-list li {list-style:none; list-style-type:none }

ul#home-list li #video {text-indent: -999em; width:400px; height:224px; display:block; }

#office,#ortho,#faq, #er, #home,#contact,#login,#doclogin,#braces,#treat,#appt,#inovation,#invis {
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	width: 216px;
	cursor: pointer;
}
/* Set the image for each nav item */
#office {background: url(../images/btn_office.jpg); height:31px;}
#ortho{background: url(../images/btn_ortho.jpg); height:31px;}
#faq {background: url(../images/btn_faq.jpg); height:31px;}
#er {background: url(../images/btn_er.jpg);height:31px;}
#login {background: url(../images/btn_login.jpg);height:30px;}
#home {background: url(../images/btn_home.jpg); height:31px;}
#contact {background: url(../images/btn_contact.jpg);height:31px;}
#doclogin {background: url(../images/btn_doclogin.jpg);height:32px;}
#braces {background: url(../images/btn_braces.jpg);height:31px;}
#treat {background: url(../images/btn_treat.jpg);height:31px;}
#invis {background: url(../images/callout_invis.jpg);height:138px;}
#appt {background: url(../images/callout_appt.jpg);height:160px;}
#inovation {background: url(../images/callout_inovation.jpg);height:131px;}
#video {background: url(../images/callout_video.jpg);height:131px;}
#home-list li:hover #video {background: url(../images/callout_video-mo.jpg)}
/*
#video {display:block; height:131px; width:216px; background:url(images/callout_video.jpg)}

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

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

#container{
	width: 845px;
	margin:auto;
	position:relative;
	background-image: url(../images/container_bkd.jpg);
	background-repeat: no-repeat;	
	
}

#content {
	width: 845px;
	margin:auto;
	background-image: url(../images/content_bkd.gif);
	background-repeat: repeat-y;
}
#main {
	width: 845px;
	background-image: url(../images/main_bkd2.jpg);
	background-repeat: no-repeat;
}

#main .inner {
	padding-top:10px;
	padding-bottom:10px;
	padding-right:28px;
	padding-left:280px;
	margin-right:15px;
	background-image: url(../images/main_bkd.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
	min-height:905px;
}
*html #main .inner {
	padding-top:10px;
	padding-bottom:10px;
	padding-right:28px;
	padding-left:280px;
	margin-right:15px;
	background-image: url(../images/main_bkd.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
	height:905px;
}



#header{
	width: 845px;
	height: 240px;
}

#logo {
position:absolute;
	height:209px;
	width:206px;
	left:0px;
	top:0px;}

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

#flash-logo {
	position:absolute;
	left:0px;
	top:0px;}

#h-home{
width:503px;
height:41px;
	overflow: hidden;
	text-indent: -999em; /* Indents the rich-text so it does not show */
	background-repeat: no-repeat;
	background: url(../images/title_home.gif);}


#h-office,#h-forms,#h-doc,#h-tour,#h-game,#h-child,#h-why,#h-phase,#h-dic,#h-faq,#h-life,#h-videos,#h-types,#h-painter,#h-apps,#h-expander,#h-diagram,#h-retainers,#h-color,#h-treat,#h-invis,#h-inovation,#h-ibraces,#h-dento,#h-sleep,#h-tmj,#h-surg,#h-er,#h-location,#h-comment,#h-refer,#h-appt,#h-site,#h-404,#h-500,#h-team{
width:415px;
height:33px;
margin-bottom:12px;
	overflow: hidden;
	text-indent: -999em; /* Indents the rich-text so it does not show */
	background-repeat: no-repeat;}

#h-office{background: url(../images/title_office.gif);}
#h-forms{background: url(../images/title_forms.gif);}
#h-doc{background: url(../images/title_doc.gif);}
#h-tour{background: url(../images/title_tour.gif);}
#h-game{background: url(../images/title_game.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-faq{background: url(../images/title_faq.gif);}
#h-life{background: url(../images/title_life.gif);}
#h-videos{background: url(../images/title_videos.gif);}
#h-types{background: url(../images/title_types.gif);}
#h-painter{background: url(../images/title_painter.gif);}
#h-apps{background: url(../images/title_apps.gif);}
#h-expander{background: url(../images/title_expander.gif);}
#h-diagram{background: url(../images/title_diagram.gif);}
#h-retainers{background: url(../images/title_retainers.gif);}
#h-color{background: url(../images/title_color.gif);}
#h-treat{background: url(../images/title_treat.gif);}
#h-invis{background: url(../images/title_invis.gif);}
#h-inovation{background: url(../images/title_inovation.gif);}
#h-ibraces{background: url(../images/title_ibraces.gif);}
#h-dento{background: url(../images/title_dento.gif);}
#h-sleep{background: url(../images/title_sleep.gif);}
#h-tmj{background: url(../images/title_tmj.gif);}
#h-surg{background: url(../images/title_surg.gif);}
#h-er{background: url(../images/title_er.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-team{background: url(../images/title_team.gif);}


#nav-sub{
	font-size: 11px;
	color: #f9a13a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin-bottom:13px;
	position:relative;
	right:0px;
	line-height:16px;
	text-align:right;
}
#nav-sub a{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #f9a13a;
text-decoration:none;
}
#nav-sub a:hover, #nav-sub .active{
	color: #6178c0;}

/* Global form styles */
.comments {margin: 18px auto;}
fieldset {border: none; padding: 9px 0;}
fieldset div {clear: both;}
.form-header {border-bottom: 1px solid #343434;/*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 #343434;/*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:#343434;/* customize me! */
	border: 1px solid #343434;
	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:#343434;
	padding-top: 4px;}
.comments label span {/*sits below labels; holds instructions*/
	color:#343434;
	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 #343434;/* 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 #343434;}/* 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:#343434;
	padding-top: 4px;}
.referral-form label span {/*sits below labels; holds instructions*/
	color:#343434;
	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 #343434;/* 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 #343434;}/* 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:#343434;
	float:left;
	line-height: 18px;
	padding-top: 4px;}
.appointment-form label span {/*sits below labels; holds instructions*/
	color:#343434;
	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 #343434;/* 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 #d1df8e;}/* 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;}
	
.flash-replaced .alt {
display: block;
width: 0px;
height: 0px;
position: absolute;
overflow: hidden;}

.address {
position:absolute;
top:140px;
left:240px;
width:180px;
	color:#ffffff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight:bold;
	line-height:16px;
}
.addressright {
position:absolute;
top:140px;
left:445px;font-weight:bold;
width:180px;
	color:#ffffff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height:16px;
}
.socialicons {
position:absolute;
top:145px;
left:650px;
}


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

.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;
margin-bottom:10px;
padding:10px;}
div.media-center a {
color:#FFF;}
div.media-center img {
border:1px solid #FFF;}
.flash {
border: solid 1px #ccc;}
#flash-in-ovation {
width: 320px;
height: 266px;}
#flash-ibraces-1 {
width: 320px;
height: 266px;}
#flash-ibraces-2, #flash-ibraces-3 {
width: 352px;
height: 266px;}

.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;}
.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;
margin-bottom:10px;
padding:10px;}
div.media-center a {
color:#FFF;}
div.media-center img {
border:1px solid #FFF;}
.flash {
border: solid 1px #ccc;}
#flash-in-ovation {
width: 320px;
height: 266px;}