/* 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/bk2.jpg);
	background-repeat: repeat-x;
	background-color: #e9f2f9;
}
img {
	border: 0px;}
hr{
	color: #1494bd;
	margin-bottom: 14px;
	margin-top: 8px;
	clear:both;
}

blockquote {
	padding-left: 23px;
}
p{
margin-top: 3px;
	margin-bottom:15px;
	color: #1494bd;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 22px;
	font-weight: normal;	
}
.hometext{
margin-top: 15px;
	margin-bottom:15px;
	color: #1494bd;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 22px;
	font-weight: bold;	
}
a:link, a:visited{
	color: #1494bd;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight:bold;
	text-decoration: none;
}
a:hover{
	color: #7b9d2a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight:bold;
	text-decoration: none;
}
li{
	color: #1494bd;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin-left: 35px;
	list-style: outside;
	line-height:20px;
}

li ul{margin-left: -15px;}

ul{
	margin-bottom:15px;
}
ol{
	margin-bottom:15px;
}
.top{
	color: #7b9d2a;
	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: #7b9d2a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
}
.top a:hover{
color: #1494bd;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
}
h1{
	color: #1494bd;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
}
h2{
	color: #7b9d2a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
}
h3{
	color: #a5852f;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
}
h4{
	color: #1494bd;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height:16px;
}
	
#address{
	position:absolute;
	width: 208px;
	left:17px;
	top:420px;
	background-image: url(../images/address_bkd.gif);
	background-repeat: no-repeat;
}
#address p{
	color: #a5852f;
	padding-left:15px;
	line-height:14px;
}
.align{padding-top:150px;}

#home-swf{
position:relative;
width:473px;
height:260px;
	background-image: url(../images/flash3.png);
	margin-left:235px;
	background-repeat: no-repeat;
	background-position: left top;
}
	
#footer{
	width: 760px;
	background-image: url(../images/footer_bkd.png);
	background-repeat: no-repeat;
	behavior:url(iepngfix.htc);
	background-position: top;
}
	
#footer .inner{padding-top:31px;
padding-left:32px;
padding-right:32px;}

h5{
	color: #7b9d2a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	line-height: 14px;
}
#footer a {
color:#7b9d2a;
	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:#7b9d2a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;}
#footer-nav a {
color:#7b9d2a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: normal;
	text-decoration: none;
}
#footer-nav a:hover{
	text-decoration: underline;
}

#navback{position:absolute;
	left:17px;
	top:186px;
	background-image: url(../images/nav_bkd.gif);
	background-repeat: no-repeat;
	width:208px;
	height:234px;
	z-index:10;}
ul#nav {list-style: none;}
ul#nav a {display: block; padding: 0; width: 177px; margin:0;}

ul#nav, #nav ul {
	padding: 0;
	margin: 15px 0 0 14px;
	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:177px;
	z-index:10;
}

ul#nav ul li a {
	position: relative;
	top:-35px;
	background: #7b9d2a;
	padding: 1px 4px 2px 8px;
	color: #ffffff;
	font-size:10px;
	font-weight: normal;
	text-decoration: none;
	width:160px;
	z-index:10;
}

ul#nav ul li a:hover {
background:#b4ca7f;}

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


#office, #ortho, #braces, #home, #care, #game,#contact {
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	width: 177px;
	margin-left:10px;
	cursor: pointer;
}
/* Set the image for each nav item */
#home {background: url(../images/btn_home.jpg); height:21px;}
#office {background: url(../images/btn_office.jpg); height:26px;}
#ortho {background: url(../images/btn_ortho.jpg);height:25px;}
#braces {background: url(../images/btn_braces.jpg);height:25px;}
#care{background: url(../images/btn_care.jpg);height:26px;}
#game {background: url(../images/btn_game.jpg);height:24px;}
#contact {background: url(../images/btn_contact.jpg);height:25px;}

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

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

ul#subnav {list-style: none;}
ul#subnav a {display: block; padding: 0; height: 29px; margin:0;}

ul#subnav, #subnav ul {
position:absolute;
	right:12px;
	top:26px;
	padding: 0;
	margin: 0;
	list-style: none;
}

ul#subnav li {
float:left;
	display: inline;
	margin:0;
}
ul#subnav li:hover ul, ul#subnav li.sfhover ul {
	left: auto;
	display: block;
}
ul#subnav li ul {
	position: absolute;
	left: -999em;
	top:auto;
}

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


#doclogin, #login {
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	height: 29px;
	margin:0;
	cursor: pointer;
}
/* Set the image for each nav item */
#doclogin {background: url(../images/btn_doclogin.gif); width:106px;}
#login {background: url(../images/btn_login.gif); width:106px;}

/* Shift the image position up to show the active state */
#subnav a:hover, #subnav .active{
	background-position:0px -29px}

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


#container{
	width: 760px;
	margin: 0px auto;
	position:relative;
}
#content {
	width: 760px;
	
}
#main {
	width: 760px;
background-image: url(../images/content_bkd.png);
	background-repeat: repeat-y;
	behavior:url(iepngfix.htc);
	min-height:500px;
}
*html #main{height:500px;}

#main .inner {
margin:0px;
padding-bottom:5px;
	padding-top:20px;
	padding-right:58px;
	padding-left:240px;
}

#header{
	width: 760px;
	height: 186px;
	background-image: url(../images/header_bkd.png);
	background-repeat: no-repeat;
	background-position: right;
	behavior:url(iepngfix.htc);
}

#logo {
position:absolute;
	height: 144px;
	width: 378px;
	left:0px;
	top:0px;}

#logo a {
	display: block;
	height: 144px;
	width: 378px;
	line-height: 0px;
	text-indent: -999em;
	background: url(../images/logo.png) no-repeat left;
	behavior:url(iepngfix.htc);}
	
#h-office,#h-doc,#h-team,#h-tour,#h-policies,#h-recent,#h-ortho,#h-child,#h-adults,#h-phase,#h-dento,#h-sleep,#h-dic,#h-faq,#h-links,#h-braces,#h-life,#h-types,#h-apps,#h-brush,#h-palatal,#h-diagram,#h-color,#h-invis,#h-ibraces,#h-inovation,#h-video,#h-retainers,#h-surg,#h-care,#h-game,#h-contact,#h-location,#h-refer,#h-comment,#h-site,#h-privacy,#h-brush,#h-why{width:456px;
height:45px;
	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-team{background: url(../images/h-team.gif)}
#h-tour{background: url(../images/h-tour.gif)}
#h-policies{background: url(../images/h-policies.gif)}
#h-recent{background: url(../images/h-recent.gif)}
#h-ortho{background: url(../images/h-ortho.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-dento{background: url(../images/h-dento.gif)}
#h-sleep{background: url(../images/h-sleep.gif)}
#h-dic{background: url(../images/h-dic.gif)}
#h-links{background: url(../images/h-links.gif)}
#h-faq{background: url(../images/h-faq.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-brush{background: url(../images/h-brush.gif)}
#h-palatal{background: url(../images/h-palatal.gif)}
#h-diagram{background: url(../images/h-diagram.gif)}
#h-color{background: url(../images/h-color.gif)}
#h-invis{background: url(../images/h-invis.gif)}
#h-ibraces{background: url(../images/h-ibraces.gif)}
#h-inovation{background: url(../images/h-inovation.gif)}
#h-video{background: url(../images/h-video.gif)}
#h-retainers{background: url(../images/h-retainers.gif)}
#h-surg{background: url(../images/h-surg.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-privacy{background: url(../images/h-practice.gif)}
#h-why{background: url(../images/h-why.gif)}

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}

#forms {
	float: right;
	clear: right;
	display: block;
	width: 200px;
	margin-left: 10px;
	margin-right: 35px;
	border: 4px solid #7b9d2a;
}
#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;
}

.left {
float:left;
margin:0 10px 10px 0;}
img.right {
float:right;
margin:0 0 10px 10px;}
.clear {
clear:both;}
h2.media-center {
background:#7b9d2a;
color:#FFFfff;
margin:0;
padding:5px;}
div.media-center {
background:#e3eaba;
color:#FFFfff;
display:inline-block;
margin-bottom:10px;
overflow:auto;
padding:10px;}
div.media-center img {
border:1px solid #FFFfff;}