/* 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;
	margin-left:5px;
	display: block;
}
img { 
behavior: url(iepngfix.htc);
}

/* 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 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background-image: url(images/bkd2.jpg);
	background-color: #ffffff;
	background-repeat: repeat-x;
}
p{
	margin-top: 2px;
	margin-bottom:15px;
	color: #003d75;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 19px;
	font-weight: normal;
}

li.text,.text li{
	color: #003d75;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin-left: 32px;
	list-style: disc outside;
	line-height:19px;
}
ul.text,.text ul{
	margin-bottom:15px;
}
a:link{
	color: #003d75;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
}

a:visited{
	color: #003d75;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
}
 a:hover{
	color: #ffffff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-decoration: underline;
}

#footer{
	float:left;
	width: 712px;
	padding-left:28px;
		overflow: hidden;
	height: 165px;
}
#footernav {
	text-align:left;
	float: left;
	padding-left:7px;
	width: 712px;
}
#footernav .inner {
	margin-top: 5px;
}
.title{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #003d75;
	line-height:14px;
	font-weight: bold;
}
.address{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #003d75;
	font-weight: normal;
}
.footertext {font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height:13px;
	color: #003d75;
	font-weight: normal;
}
.footerguide {
	color: #003d75;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	line-height:12px;
	font-weight: normal;

}
.footerguide a:link{
color: #003d75;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	line-height:12px;
	font-weight: normal;
	text-decoration: none;
}
.footerguide a:visited{
color: #003d75;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	line-height:12px;
	font-weight: normal;
	text-decoration: none;
}
.footerguide a:hover{
	color: #59b275;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	line-height:12px;
	font-weight: normal;
	text-decoration: underline;
}			

.design{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height:11px;
	color: #003d75;
	font-weight: normal;
}
.design a:link{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height:11px;
	color: #003d75;
	font-weight: normal;
	text-decoration:none;
}
.design a:visited{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #003d75;
	line-height:11px;
	font-weight: normal;
	text-decoration:none;
}
.design a:hover{
	color: #59b275;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height:11px;
	font-weight: normal;
	text-decoration:underline;
}
h1{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 18px;
	color: #000000;
	font-weight: bold;
	overflow: hidden;
	position: relative;
	text-transform: uppercase;
}
h1 span{
background-repeat: no-repeat; 
height: 100%; 
position: absolute; 
width: 100%;
}
/* headings */
#h-child,#h-contact,#h-location,#h-comment,#h-refer,#h-office,#h-doc,#h-tour,#h-patients,#h-ortho,#h-why,#h-adults,#h-two,#h-treat,#h-surg,#h-tmj,#h-dic,#h-faq,#h-resources,#h-braces,#h-life,#h-types,#h-apps,#h-invis,#h-expander,#h-diagram,#h-retainers,#h-care,#h-games,#h-site,#h-color,#h-painter,#h-room{
	line-height: 0px;
	height: 43px;
	width: 450px;
	margin-top:15px;
}
#h-child {background: url(images/title_child.jpg);}
#h-contact{background: url(images/title_contact.jpg);}
#h-location{background: url(images/title_location.jpg);}
#h-comment{background: url(images/title_comment.jpg);}
#h-refer{background: url(images/title_refer.jpg);}
#h-office{background: url(images/title_office.jpg);}
#h-doc{background: url(images/title_doc.jpg);}
#h-tour{background: url(images/title_tour.jpg);}
#h-patients{background: url(images/title_patients.jpg);}
#h-ortho{background: url(images/title_ortho.jpg);}
#h-why{background: url(images/title_why.jpg);}
#h-adults{background: url(images/title_adults.jpg);}
#h-two{background: url(images/title_two.jpg);}
#h-treat{background: url(images/title_treat.jpg);}
#h-surg{background: url(images/title_surg.jpg);}
#h-tmj{background: url(images/title_tmj.jpg);}
#h-dic{background: url(images/title_dic.jpg);}
#h-faq{background: url(images/title_faq.jpg);}
#h-resources{background: url(images/title_resources.jpg);}
#h-braces{background: url(images/title_braces.jpg);}
#h-life{background: url(images/title_life.jpg);}
#h-types{background: url(images/title_types.jpg);}
#h-apps{background: url(images/title_apps.jpg);}
#h-invis{background: url(images/title_invis.jpg);}
#h-expander{background: url(images/title_expander.jpg);}
#h-diagram{background: url(images/title_diagram.jpg);}
#h-retainers{background: url(images/title_retainers.jpg);}
#h-care{background: url(images/title_care.jpg);}
#h-games{background: url(images/title_games.jpg);}
#h-site{background: url(images/title_site.jpg);}
#h-color{background: url(images/title_color.jpg);}
#h-painter{background: url(images/title_painter.jpg);}
#h-room{background: url(images/title_room.jpg);}

h2{
	margin-top: 2px;
	color: #003d75;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 19px;
	font-weight: bold;
}
h3{
	margin-top: 2px;
	color: #218937;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 19px;
	font-weight: bold;
}
h5{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #003d75;
	font-weight: normal;
	margin-top:15px;
}
#homemovie{
	background-image: url(images/flash.png);
	background-repeat: no-repeat;
	behavior: url(iepngfix.htc);
	width:477px;
	height:249px;
	margin-top:15px;
}
#home_movie{
position:relative;
top:6px;
	margin-left:6px;
}

#nav-column {
float:left;
	padding-left:4px;
	width: 218px;
	position:relative;
	z-index:6;
	top:4px;
	height: 219px;
}
#nav-column .inner {
	margin: 0;
}

#nav {list-style: none;}
#nav a {display: block; padding: 0; width: 218px; margin: 0; padding: 0;
}

#nav ul {
	position: absolute;
	left: -999em;
	list-style: none;
	margin: -32px 0 0 212px;
	background: #016FC4;
	z-index: 1;
}
#nav .game {
	position: absolute;
	left: -999em;
	list-style: none;
	margin: -45px 0 0 212px;
	background: #016FC4;
	z-index: 1;
}
#nav li {display: inline;}
#nav li:hover ul, #nav li.sfhover ul {
	left: auto;
	display: block;
}

ul#nav ul li a {
font-size:11px;
	background:#feefba;
	padding: 4px 4px 5px;
	color: #47a35a;
	font-weight: bold;
	text-decoration: none;
	width:170px;
}
ul#nav ul li a:hover {
background: #a3e3b0;
	color: #47a35a;
}
#office, #braces, #care, #ortho, #patients, #games {
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	width: 218px;
	cursor: pointer;
}
/* Set the image for each nav item */
#office {background: url(images/officeA.jpg);
height:42px;}
#braces {background: url(images/bracesA.jpg);
height:31px;}
#patients {background: url(images/patientsA.jpg);
height:33px;}
#ortho {background: url(images/orthoA.jpg);
height:34px;}
#care {background: url(images/careA.jpg);
height:34px;}
#games {background: url(images/gamesA.jpg);
height:45px;}

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

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


/* Image Replacement */


#container{
	width: 740px;
	text-align:left;
	margin-right: auto;
	margin-left: auto;
	
}
#content {
	width: 689px;
	background-image: url(images/main_bkd.jpg);
	background-repeat: repeat-x;
	background-color: #87ceea;
	margin-left:11px;
}
#border {
	width: 712px;
	background-image: url(images/border.png);
	background-repeat: repeat-y;
	behavior: url(iepngfix.htc);
	float:right;
	margin-top:-193px;
}

#main {
	float: right;
	width: 491px;
	margin-bottom:15px;
}
#main .inner {
	margin-right: 25px;
	margin-left: 7px;
	padding-bottom:10px;
}
#header{
	width: 747px;
	height:141px;
}
#logo {
float:left;
	width: 419px;
	height: 141px;
	
}
#logo a {
	display: block;
	width: 419px;
	height: 141px;
	text-indent: -999em;
	background-image: url(images/logo.jpg);
	background-repeat: no-repeat;
	cursor:pointer;	
}
.headerright {
float:right;
	width: 328px;
	height: 141px;
	
}
#sub  {
	width:377px;
	float:right;
}
ul#navsub, #navsub ul {
	font-size: 11px;
	list-style:none;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
ul#navsub a {
	display: block;
}
ul#navsub li {
	position: relative;
	float: left;
}
ul#navsub li ul {
	position: absolute;
	left: -999em;
	top: 41px;
	width:150px;
}

ul#navsub ul li a {
	background:#feefba;
	padding: 4px 4px 5px;
	color: #47a35a;
	font-weight: bold;
	text-decoration: none;
	width:150px;
}
ul#navsub ul li a:hover {
	color: #47a35a;
		background: #a3e3b0;
}
#navsub li:hover ul, #navsub li.sfhover ul {
	left: auto;
}

#login,#contact,#home{cursor: pointer;
height:41px;
text-indent: -999em;
 /* Indents the rich-text so it does not show */}
/* Set the image for each nav item */
#login {background-image: url(images/login.jpg);
width:185px;}
#contact {background-image: url(images/contact.jpg);
width:116px;}
#home {background-image: url(images/home.jpg);
width:76px;}

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

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



.forms {
	float: right;
	clear: right;
	display: block;
	background-color: #68ac5c;
	width: 176px;
	margin-left: 3px;
	margin-right: 7px;
	border: 4px solid #f8da78;
}
.formtext{
	color: #f6d882;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 16px;
	margin-left: 11px;
	margin-right: 10px;
	display: block;
}
h4{font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
		color: #f6d882;
	font-weight: bold;
	margin-top:5px;
	margin-left:5px;}
li.formlist,.formlist li{
	color: #f6d882;
	margin-left: 28px;
	list-style: disc outside;
	line-height:16px;
}
ul.formlist,.formlist ul{
	margin-bottom:9px;
	margin-left:6px;
	margin-top:4px;
}
.formlist a:link{
	color: #f6d882;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
	text-decoration: underline;
}

.formlist a:visited{
	color: #f6d882;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
	text-decoration: underline;
}
.formlist a:hover{
	color: #ffffff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
	text-decoration: underline;
}
.top{
	color: #47a35a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
}
.top a:link{
	color: #47a35a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
}
.top a:visited{

	color: #47a35a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
}
.top a:hover{
		color: #fde17d;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
}
hr{
	color: #47a35a;
	margin-bottom:5px;
}
blockquote{margin-left:28px;}
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: inline-block}

ul#sesame-games img {
border: 0;
float: right;
margin: 0 0 10px 10px}

ul#sesame-games p {
padding-bottom: 1em}
#flash-palatal-expander{
	position:relative;
	z-index:0;
}