/* 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/bkd.jpg);
background-repeat: repeat-x;
	background-color: #7895a3;
}
hr{
	color: #7895a3;
	margin-bottom: 14px;
	margin-top: 8px;
	clear:both;
}

blockquote {
	padding-left: 23px;
}
p{
margin-top: 3px;
	margin-bottom:15px;
	color: #0a3443;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 22px;
	font-weight: normal;	
}
a:link, a:visited{
	color: #0a3443;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight:bold;
	text-decoration: none;
}
a:hover{
	color: #8e4131;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight:bold;
	text-decoration: none;
}
li{
	color: #0a3443;
	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: #8e4131;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
}
.top a:link, .top a:visited{
	color: #8e4131;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
}
.top a:hover{
color: #7895a3;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
}
h1{
	color: #0a3443;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: bold;
}
h2{
	color: #8e4131;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
}
h3{
	color: #7895a3;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
}
h4{
	color: #0a3443;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height:16px;
}
.text{color: #0a3443;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	line-height:16px;
	font-weight:normal;}
	
#address-home{position:absolute;
	height: 228px;
	width: 141px;
	left:54px;
	top:700px;}
	
#address{position:absolute;
	height: 228px;
	width: 141px;
	left:54px;
	top:545px;}

#footer{
margin-top:-9px;
	width: 866px;
	height:173px;
	overflow: hidden;
	background-image: url(../images/footer_bkd.png);
	background-repeat: no-repeat;
	text-align:center;
	behavior:url(iepngfix.htc);
}
	
#footer .inner{margin-top:18px;
padding-left:45px;
padding-right:45px;}

h5{
	color: #0a3443;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	line-height: 14px;
}
#footer a {
color:#7f2916;
	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:13px;
margin-bottom:10px;
color:#ffffff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;}
#footer-nav a {
color:#ffffff;
	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; width: 194px; margin:0;}

ul#nav, #nav ul {
	position:absolute;
	left:22px;
	top:315px;
	padding: 0;
	margin: 0;
	list-style: none;
}

ul#nav li {display: inline;
margin:0;}
ul#nav li:hover ul, ul#nav li.sfhover ul {
	left: auto;
	display: block;
}
ul#nav li ul {
	position: absolute;
	left: -999em;
	top:auto;
	margin-left:195px;
	z-index:10;
}

ul#nav ul li a {
	position: relative;
	top:-30px;
	background: #8e4130;
	padding: 1px 4px 2px 8px;
	color: #ffffff;
	font-size:11px;
	font-weight: bold;
	text-decoration: none;
	width:160px;
}

ul#nav ul li a:hover {
background:#aa8059;}

#nav li:hover ul, #nav li.sfhover ul {
left: auto;} 


#office, #ortho, #braces, #home, #care, #game, #ibraces, #contact {
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	width: 194px;
	cursor: pointer;
}
/* Set the image for each nav item */
#home {background: url(../images/btn_home.gif); height:29px;}
#office {background: url(../images/btn_office.gif); height:31px;}
#ortho {background: url(../images/btn_ortho.gif);height:30px;}
#braces {background: url(../images/btn_braces.gif);height:31px;}
#care{background: url(../images/btn_care.gif);height:30px;}
#game {background: url(../images/btn_games.gif);height:31px;}
#contact {background: url(../images/btn_contact.gif);height:30px;}

#ibraces {background: url(../images/btn_ibraces.gif);height:64px;}

/* Shift the image position up to show the active state */
#nav li:hover a, #nav li.sfhover a, #nav .active{
	background-position:-194px 0px}

/* Set the cursor to default arrow so link does not appear clickable */
#nav .active {cursor: default}


#container{
	width: 866px;
	margin: 0px auto;
	position:relative;
}
#content {
	width: 866px;
	
}

#main-home {
	width: 866px;
	min-height:763px;
background-image: url(../images/content_bkd.png);
	background-repeat: repeat-y;
	behavior:url(iepngfix.htc);
}
*html #main-home{height:763px;}

#main-home .inner {
margin:0px;
padding-bottom:10px;
	padding-top:13px;
	padding-right:45px;
	padding-left:250px;
}
#home-swf{padding-left:233px;
padding-top:5px;}

#main {
	width: 866px;
	min-height:605px;
background-image: url(../images/content_bkd.png);
	background-repeat: repeat-y;
	behavior:url(iepngfix.htc);
}
*html #main{height:605px;}

#main .inner {
margin:0px;
padding-bottom:25px;
	padding-top:20px;
	padding-right:55px;
	padding-left:250px;
}

#header{
	width: 866px;
	height: 134px;
	background-image: url(../images/header_bkd.jpg);
	background-repeat: no-repeat;
}

#logo {
position:absolute;
	height: 228px;
	width: 141px;
	left:40px;
	top:85px;}

#logo a {
	display: block;
	height: 228px;
	width: 141px;
	line-height: 0px;
	text-indent: -999em;
	background: url(../images/logo.gif) no-repeat left;}
	
#h-office,#h-doc,#h-staff,#h-tour,#h-policies,#h-ortho,#h-why,#h-child,#h-adults,#h-phase,#h-treat,#h-dic,#h-cleft,#h-resources,#h-braces,#h-life,#h-types,#h-apps,#h-invis,#h-ibraces,#h-video,#h-retainers,#h-care,#h-game,#h-contact,#h-location,#h-refer,#h-comment,#h-site,#h-practice,#h-appt,#h-contest,#h-clear-braces
{width:560px;
height:68px;
	margin-bottom:25px;
	overflow: hidden;
	text-indent: -999em; /* Indents the rich-text so it does not show */
	background-repeat: no-repeat;
}	
	
#h-office{background: url(../images/h-office.gif)}
#h-doc{background: url(../images/h-doc.gif)}
#h-staff{background: url(../images/h-staff.gif)}
#h-tour{background: url(../images/h-tour.gif)}
#h-policies{background: url(../images/h-policies.gif)}
#h-ortho{background: url(../images/h-ortho.gif)}
#h-why{background: url(../images/h-why.gif)}
#h-child{background: url(../images/h-child.gif)}
#h-adults{background: url(../images/h-adults.gif)}
#h-phase{background: url(../images/h-phase.gif)}
#h-treat{background: url(../images/h-treat.gif)}
#h-dic{background: url(../images/h-dic.gif)}
#h-cleft{background: url(../images/h-cleft.gif)}
#h-resources{background: url(../images/h-resources.gif)}
#h-braces{background: url(../images/h-braces.gif)}
#h-life{background: url(../images/h-life.gif)}
#h-types{background: url(../images/h-types.gif)}
#h-apps{background: url(../images/h-apps.gif)}
#h-invis{background: url(../images/h-invis.gif)}
#h-ibraces{background: url(../images/h-ibraces.gif)}
#h-video{background: url(../images/h-video.gif)}
#h-retainers{background: url(../images/h-retainers.gif)}
#h-care{background: url(../images/h-care.gif)}
#h-game{background: url(../images/h-game.gif)}
#h-contact{background: url(../images/h-contact.gif)}
#h-location{background: url(../images/h-location.gif)}
#h-refer{background: url(../images/h-refer.gif)}
#h-comment{background: url(../images/h-comment.gif)}
#h-site{background: url(../images/h-site.gif)}
#h-practice{background: url(../images/h-practice.gif)}
#h-appt{background: url(../images/h-appt.gif)}
#h-contest{background: url(../images/h-contest.gif)}
#h-clear-braces{background: url(../images/h-clear-braces.gif)}
img {
	border: 0px;}

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;
display: block;
margin-left:0px;}

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}
	
.left {
float:left;
margin:0 10px 10px 0;}
img.right {
float:right;
margin:0 0 10px 10px;}
img.right-border {
	margin: 0 0 15px 15px;
	border: solid 4px #8E412F; /* Customize me! */
	float: right;
	}
.clear {
clear:both;}
h2.media-center {
background:#8e4131;
color:#FFFfff;
margin:0;
padding:5px;}
div.media-center {
background:#0a3443;
color:#FFFfff;
display:inline-block;
margin-bottom:10px;
overflow:auto;
padding:10px;}
div.media-center a {
color:#FFFfff;font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;}
div.media-center p {
	color:#FFFfff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: normal;
}
div.media-center img {
border:1px solid #FFFfff;}

#forms {
	float: right;
	clear: right;
	display: block;
	width: 200px;
	margin-left: 10px;
	margin-right: 35px;
	border: 4px solid #8e4131;
}
#forms  p{
	font-size: 10px;
	line-height: 16px;
	margin-left: 11px;
	margin-right: 10px;
	display: block;
}

#forms a:link, #forms a:visited{
	font-size: 10px;
}

#forms  a:hover{
	font-size: 10px;
}


fieldset {border: none; padding: 9px 0;}
fieldset div {clear: both;}
.form-header {border-bottom: 1px solid #3993b1;/*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 #3993b1;/*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:#0a799e;/* customize me! */
	border: 1px solid #0a799e;
	text-align:center;
	line-height:31px;
	color:#ffffff;/* customize me! */
	font-size:12px;
	font-weight:bold;}

/* Mini-Contact Form */
.contact-form {
	float: right;
	clear: right;
	margin: 0 25px 36px 0px;
	width: 250px;
	padding: 10px;
	border:solid 2px #7895a3;/*optional, change color to match site*/
	background:#fafafa;/*optional, change color of background*/
}
.contact-form fieldset {border: none; padding: 9px 0;}
.contact-form li {font-weight: bold;}
.contact-form label {display: none;}
.contact-form input, .contact-form textarea {
	font-size:12px;
	padding:4px 2px;
	border:solid 1px #3993b1;
	width:225px;
	margin:9px 10px;
	background: #ffffff;}

.contact-form button {/*these styles control the look of the button, change as necessary*/
	text-align: center;
	margin: 9px auto;
	display: block;
	width:125px;
	height:31px;
	background:#ffffff url(images/button-bg.jpg) 0 50% repeat-x;/* customize me! */
	border: 1px solid #333333;
	text-align:center;
	line-height:31px;
	color:#333333;/* customize me! */
	font-size:12px;
	font-weight:bold;}
	
.zg_div {margin:0px 5px 5px 0px; width:117px;}
.zg_div_inner {border: solid 1px #0a3444;  color:#0a3444; text-align:center; font-family:arial, helvetica; font-size:11px;}
.zg_div a, .zg_div a:hover, .zg_div a:visited {color:#8e4130; background:inherit !important; text-decoration:none !important;}