/* 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;
}
.spacer {
	clear:both; padding:0; margin:0; line-height:0; font-size:0;
	}
.clear {
    display: inline-block;
}

html[xmlns] .clear {
    display: block;
}

* html .clear {/* For IE =< 6 */
    height: 1%;
}

.image-float-right {
	float: right;
	clear: right;
	display: block;
	margin-left:8px;
	margin-right:4px;
	padding-bottom:7px;
}
.image-float-border {
	float: right;
	clear: right;
	display: block;
	margin-left:8px;
	margin-bottom:5px;
	border: 2px solid #2f1961;
	-moz-border-radius: 10px; /*for Moz, optional*/
	-webkit-border-radius: 10px; /*for Webkit Browsers, optional*/

}


.image-float-center {
	display:block;
	margin:0 auto 18px auto;
}

.hide {display: none;}
img, a { border: none; outline: 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 */

*html .replace { letter-spacing : normal; text-indent : -999em; overflow : hidden;}

.replace ul, .replace ul li {letter-spacing: 0; text-indent: 0; overflow: auto;}


html {
	/*overflow: -moz-scrollbars-vertical;*/
}

	
body {
	margin: 0px;
	padding:0px;
	background-image: url(../images/tile.jpg);
	background-repeat: repeat;
	
}
hr{
	color: #1c0d3f;
	margin-bottom: 10px;
	margin-top: 8px;
	clear:both;
}

blockquote {
	padding-left: 23px;
}
p{
	margin-bottom:18px;
	color: #1c0d3f;
	font-family:  Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 20px;
	font-weight: normal;
}
a:link, a:visited{
	color: #7d4199;
	font-family:  Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight:normal;
	text-decoration: underline;
}
a:hover{
color: #1c0d3f;
}

li{
	color: #1c0d3f;
	font-family:  Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin-left: 28px;
	list-style: outside;
	line-height:20px;
}

ul{
	margin-bottom:18px;
}
ol{
	margin-bottom:18px;
}
ol li{
	color: #1c0d3f;
	font-family:  Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin-left: 35px;
	list-style: outside;
	line-height:20px;
}

.top{
clear:both;
	color: #7d4199;
	font-family:  Verdana, Arial, Helvetica, sans-serif;font-size: 11px;
	text-align: right;
	font-weight: bold;
}
.top p{
margin-bottom:0px;
}
.top a:link, .top a:visited{
	color: #7d4199;
	font-family:  Verdana, Arial, Helvetica, sans-serif;font-size: 11px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
	margin-right:65px;
	
}
.top a:hover{color: #1c0d3f;
}

h1{
	color: #2f1961;
	font-family:  Verdana, Arial, Helvetica, sans-serif;
	font-size: 18px;
	line-height:27px;
	font-weight: bold;
}

h2{
	color: #2f1961;
	font-family:  Verdana, Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
	margin-bottom:18px;
}
h3{
	color: #7e4198;
	font-family:  Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
}


#footer{
	width: 920px;
	height:337px;
	clear:both;
	background-image: url(../images/footer_bkd.jpg);
	background-repeat: no-repeat;
	text-align:center;
	position:relative;
	
}
	
#footer .inner{
padding-left:60px;
padding-right:60px;}

h5{
	color: #563f8b;
	font-family:  Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight:normal;
	line-height:15px;
	padding-left:50px;
	padding-right:50px;
	padding-top:50px;

}

#footer-nav{
 color:#563f8b;
	font-weight:normal; padding-top:160px;}
#footer-nav a {font-weight:normal;
color:#563f8b;line-height:22px;
	font-family:  Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
text-decoration: none;	
}
#footer-nav a:hover{
text-decoration: underline;
}

#lnav_container{
	width: 228px;
min-height:390px;
max-height:420px;
	padding:0;
	margin:0px;
	list-style:none;
	position:absolute;
	left:30px;
	top:160px;
	z-index:10;
	display:block;}


ul#nav {list-style: none;}
ul#nav a {display: block; padding: 0; width: 228px; margin:0;}

ul#nav {
	padding: 0;
	margin: 0;
	list-style: none;
	/*position:absolute;
	left:30px;
	top:160px; 
	z-index:10;
	display:block;*/
}

ul#nav li {display: inline;
margin:0;}

#nav li ul {margin-bottom: 0;}

/*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;
	margin-top:-37px;
	margin-left:220px;
	z-index:10;
	border: 1px solid #664594;
	
	border: 0px;
	min-height:100px;
	padding: 0 0 9px; display: none; position: relative;
	width: 200px;*/
}

ul#nav li ul li a {/*added first li  was originally ul#nav ul li a*/
	position: relative;
	height:22px;
	padding: 1px 4px 2px 0;
	color: #fff;
	font-size:12px;
	font-weight: normal;
	text-decoration: none;
	margin-left: 36px;
	/*background-color: #e1d6f9;*/

}
/*
ul#nav ul li a:hover {background-color: #faecb4;}*/

/*#nav li:hover ul, #nav li.sfhover ul {
left: auto;} */
#nav ul li.active ul {display: block; height: auto;}

#nav ul li a.current {text-decoration: underline;}

#office,#er,#ortho,#braces,#treat,#home,#funzone,#contact,#apps{
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	width: 228px;
	cursor: pointer;
}

/* Set the image for each nav item */
#office {background: url(../images/btn_about.jpg);height:36px;}
#er{background: url(../images/btn_er.jpg);height:36px;}
#ortho{background: url(../images/btn_ortho.jpg);height:36px;}
#braces {background: url(../images/btn_braces.jpg);height:36px;}
#apps{background: url(../images/btn_app.jpg);height:36px;}
#treat{background: url(../images/btn_treat.jpg);height:36px;}
#home{background: url(../images/btn_home.jpg);height:35px;}
#funzone{background: url(../images/btn_funzone.jpg); height:35px;}
#contact{background: url(../images/btn_contact.jpg);height:36px;}

/* Shift the image position up to show the active state */
#nav li:hover a, #nav li.sfhover a, #nav .active{
	background-position:-228px 0px}

/* 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: 84px; margin:0;}

ul#nav2, #nav2 ul {
	padding: 0;
	margin: 0;
	list-style: none;
	position:absolute;
	left:683px;
	top:19px;
	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;
}


#nav2 li:hover ul, #nav2 li.sfhover ul {
left: auto;} 

#callout{
	width: 154px;
	left:70px;
	/*margin-top:-500px;*/
	top: -150px;
	position:absolute;

/*position:absolute;
left:65px;
top:479px;*/}

#login{
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	height: 84px;
	cursor: pointer;
}

/* Set the image for each nav2 item */
#login {background: url(../images/btn_login.jpg);width:202px;}


/* Shift the image position up to show the active state */
#nav2 li:hover a, #nav2 li.sfhover a, #nav2 .active{
	background-position:0px -84px}

/* Set the cursor to default arrow so link does not appear clickable */
#nav2 .active {cursor: default}

*html #container{
	width: 920px;
	margin: 0px auto;
	position:relative;
	background-image: url(../images/container_bkd.jpg);
	background-repeat: repeat-y;
}
#container{
	width: 920px;
	margin: 0px auto;
	position:relative;
	background-image: url(../images/container_bkd.png);
	background-repeat: repeat-y;
}
#content {
	width: 920px;
	background-image: url(../images/content_bkd.jpg);
	padding-bottom:1px;
	background-repeat: no-repeat;
	background-position: left top;
	min-height:700px;
}

#content .inner {
min-height: 600px;
	padding-top:15px;
	padding-bottom:8px;
	padding-right:65px;
	padding-left:310px;
	background-image: url(../images/watermark.jpg);
	background-position: right bottom;
	background-repeat: no-repeat;
	/*min-height:435px;*/
}
*html #content .inner {
	padding-top:15px;
	padding-bottom:8px;
	padding-right:65px;
	padding-left:310px;
	background-image: url(../images/watermark.jpg);
	background-position: right bottom;
	background-repeat: no-repeat;
	height:435px;
}

#header{
	width: 920px;
	height: 173px;
	background-image: url(../images/header_bkd.jpg);
	background-repeat: no-repeat;
}

#logo {
position:absolute;
	height:73px;
	width:288px;
	left:130px;
	top:45px;}

#logo a {
	display: block;
	height:73px;
	width:288px;
	line-height: 0px;
	text-indent: -999em;	background: url(../images/logo.jpg) no-repeat left;}


#nav-sub{
	font-size: 12px;
	font-family:  Verdana, Arial, Helvetica, sans-serif;
	margin-bottom:18px;
	color:#1c0d3f;
	line-height:17px;
}

#nav-sub a{
	font-family:  Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color:#1c0d3f;
	font-weight:normal;
	text-decoration:underline;
}
#nav-sub a:hover, #nav-sub .active{
 text-decoration:none;}
	
.flash-replaced .alt {
display: block;
width: 0px;
height: 0px;
position: absolute;
overflow: hidden;}


/* Global form styles */
div.referral-form, div.appointment-form, div.comments, div.login-form {
	width: 95%;
	margin-top: 18px;	
	border:solid 2px #1c0d3f;/*optional, change color to match site*/
	font-family:Verdana, Arial, Helvetica, sans-serif;
}

fieldset {border: 0; padding: 9px 0;color: #1c0d3f; margin: 0 18px;}
fieldset div {clear: both;}
.form-header {color: #1c0d3f; border-bottom: 1px solid #1c0d3f;/*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 #1c0d3f;/*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:#7e4198;/* customize me! */
	border: 1px solid #7e4198;
	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 #1c0d3f;}
fieldset input.radio {border: 0;}
fieldset p.verification img {border: 1px solid #1c0d3f;}
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:#1c0d3f;
	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: #1c0d3f; 
		   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:#1c0d3f;
	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:#1c0d3f;
	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;}

/*Emergency Care*/
.flash-replaced .alt {
display: block;
width: 0px;
height: 0px;
position: absolute;
overflow: hidden;}

/* 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:solid 1px #2f1961; 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}


.sitemap li{ list-style:none; margin-left:15px;}
.sitemap ul{ margin-bottom:0px;}
.sitemap a:link, .sitemap a:visited{text-decoration:none; font-weight:normal; color:#1c0d3f;}
.sitemap a:hover{text-decoration:underline;}

.address {
	position:absolute;
	top:42px;
	left:484px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #7d4199;
	text-align:center;
}

#flash-homepage{
	padding-left:39px;
	padding-top:44px;
	width:550px;
	height:295px;
}
#homepage-background{
	position:absolute;
	height:342px;
	width:592px;
	left:260px;
	top:144px;
	background: url(../images/flash_bkd.jpg) left top;
}
#flash-footer{
	position:absolute;
	top:50px;
	left:60px;
	height:182px;
}

#flash-brushing-and-flossing-ortho {
	width: 475px;
	height: 275px;
	margin: 10px auto;
	padding-bottom: 10px;
}



#forms {
	float: right;
	clear: right;
	display: block;
	background-color: #ffffff;
	width: 230px;
	margin-left: 10px;
	border: 3px solid #2f1961;
}
#forms p {
	font-size: 12px;
	margin-left: 11px;
	margin-right: 10px;
	display: block;
}

.left {
float:left;
margin:0 10px 10px 0;}
img.right {
float:right;
margin:0 0 10px 10px;}
.clear {
clear:both;}
h2.media-center {
background:#7e4198;
color:#FFF;
margin:0;
padding:5px;}
div.media-center {
background:#2f1961;
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;}

.slide_outer {
	width:232px;
	height:400px;
	}
#slideshow {
    position:relative;
    height:350px;
}

#slideshow IMG {
    position:absolute;
    top:0;
    left:0;
    z-index:8;
    opacity:0.0;
}

#slideshow IMG.active {
    z-index:10;
    opacity:1.0;
}

#slideshow IMG.last-active {
    z-index:9;
}


/* 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}
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}
