
/* 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;
	margin-right:10px;
}
.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: Arial, Helvetica, sans-serif;
	background-image: url(images/bg.gif);
	background-color: #ffffff;
	background-repeat: repeat-x;
}
p{
	color: #432f28;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 19px;
	font-weight: normal;
}

li.text,.text li{
	color: #432f28;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	margin-left: 32px;
	list-style: disc inside;
	line-height:19px;
}
.text{
	color: #432f28;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	list-style: disc inside;
	line-height:19px;
}
ul.text,.text ul{
	margin-bottom:15px;
}
a:link{
	color: #51412f;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
}

a:visited{
	color: #51412f;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
}
 a:hover{
	color: #51412f;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-decoration: underline;
}

#footer{
	float:left;
	width: 591px;
	padding-top:28px;
	overflow: hidden;
}
#footernav {
	text-align:center;
	float: left;
	padding-left:7px;
	width: 591px;
}
#footernav hr{ width:520px; color:#7a3419; background:#7a3419; margin-left:26px; margin-bottom:20px; }
#footernav .inner {
	margin-top: 5px;
}
.title{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #4c2c1b;
	line-height:20px;
	font-weight: bold; 
	margin-bottom:7px;
}
.footerguide {
	color: #51412f;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height:13px;
	font-weight: bold;
}
.footerguide a:link{
	color: #51412f;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	line-height:13px;
	font-weight: bold;
	text-decoration: none;
}
.footerguide a:visited{
	color: #51412f;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	line-height:13px;
	font-weight: bold;
	text-decoration: none;
}
.footerguide a:hover{
	color: #51412f;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	line-height:13px;
	font-weight: bold;
	text-decoration: underline;
}			
.design{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height:17px;
	color: #51412f;
	margin:10px;
	font-weight: normal;
}
.design a:link{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #51412f;
	line-height:17px;
	font-weight: bold;
	text-decoration:none;
}
.design a:visited{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #51412f;
	line-height:17px;
	font-weight: bold;
	text-decoration:none;
}
.design a:hover{
	color: #51412f;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height:17px;
	font-weight: bold;
	text-decoration:underline;
}
h1{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	color: #4c2c1b;
	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: #4c2c1b;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 19px;
	font-weight: bold;
}
h3{
	margin-top: 2px;
	color: #664e47;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 19px;
	font-weight: bold;
}
h5{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #4c2c1b;
	font-weight: normal;
	margin-top:15px;
}

#home_movie{
	width:570px;
	height:246px;
}

#nav-column {
	float:left;
	padding-left:34px;
	width: 188px;
	position:relative;
	z-index:6;
	top:0; 
}
#nav-column .inner { 
	margin-top: 0; background:#7a3419; 
}

#nav, #nav-login {list-style: none;}
#nav a, #nav-login a {display: block; padding: 0; width: 188px; margin: 0;
}
#nav ul, #nav-login ul {
	position: absolute;
	left: -999em;
	list-style: none;
	margin: -32px 0 0 212px;
	background: #016FC4;
	z-index: 1;
}
#nav li, #nav-login li {display: inline;}
#nav li:hover ul, #nav li.sfhover ul, #nav-login li:hover ul, #nav-login 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;
}
#home, #doctor,#staff, #tour, #policies, #forms, #ortho, #braces101, #emergency, #game, #faq, #contact, #login {
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	width: 188px;
	cursor: pointer;
}
/* Set the image for each nav item */

#login {background: url(images/nav-login.jpg); height:168px}

/* Shift the image position up to show the active state */
#nav a:hover, #nav .active{
	background-position:-188px 0px
}
#nav-login a:hover{
	background-position:-188px 0px
}

/* Set the cursor to default arrow so link does not appear clickable */
#nav .active {cursor: default}

/* Image Replacement */


#container{
	width: 856px;
	text-align:left;
	margin-right: auto;
	margin-left: auto; 
	background:url(images/bg-container.png) no-repeat; 
}
#bottom{ 
	background:url(images/bg-bottom.gif) no-repeat; 
	width: 856px; 
	height:23px;
	margin-right: auto;
	margin-left: auto; 
}
#main {
	float: right;
	padding-right:43px;
	width: 591px; 
	background:url(images/bg-main.gif);
}
#main .inner {
	margin-right: 25px;
	padding-left: 17px;
}
#header{
	width: 779px;
	height:209px;
	padding:0 0 0 34px;
}
#logo {
	float:right;
	width: 591px;
	height: 168px;	
}
#logo a {
	display: block;
	width: 591px;
	height: 168px;
	text-indent: -999em;
	background-image: url(images/logo.jpg);
	background-repeat: no-repeat;
	cursor:pointer;	
}

h4{font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
		color: #f6d882;
	font-weight: bold;
	margin-top:5px;
	margin-left:5px;
}


.top{
	color: #47a35a;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
}


/* ----- begin vertical navigation (dropdown)NEWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW ----- */


/* vertical navigation */

ul#navlists			{list-style-type:none;  overflow:hidden;  width: 188px; padding:0; margin:0;}
ul#navlists li		{padding:0; margin:0;}
ul#navlists a		{display: block; height: 37px; overflow: hidden; text-indent: -999em; width: 188px; }

/* vertical subnavigation */

ul#navlists ul {display:none;}

ul#navlists li:hover ul,
ul#navlists li.sfhover ul {display:block;} /* .sfhover is added on rollover with javascript to fix IE6 behavior */

ul#navlists ul		{list-style:none; list-style-type:none; text-indent: -999em; text-decoration:none; width:188px;   }
ul#navlists ul li	{ margin-bottom:0;text-indent: -999em; }
ul#navlists ul a	{height:26px;  } 
ul#navlists ul a:hover	{text-decoration:none; display: block;  text-indent: -999em; } 

/* vertical navigation images */
ul#navlists a#home						{background-image: url(images/nav-home.jpg); height:37px}
ul#navlists a#doctor					{background-image: url(images/nav-doctor.jpg);}
ul#navlists a#staff						{background-image: url(images/nav-staff.jpg);}
ul#navlists a#tour						{background-image: url(images/nav-tour.jpg);}
ul#navlists a#policies					{background-image: url(images/nav-policies.jpg);}
ul#navlists a#forms						{background-image: url(images/nav-forms.jpg);}
ul#navlists a#ortho						{background-image: url(images/nav-ortho.jpg);}
ul#navlists a#braces101					{background-image: url(images/nav-braces101.jpg);}
ul#navlists a#emergency					{background-image: url(images/nav-emergency.jpg);}
ul#navlists a#game						{background-image: url(images/nav-game.jpg);}
ul#navlists a#faq						{background-image: url(images/nav-faq.jpg);}
ul#navlists a#contact					{background-image: url(images/nav-contact.jpg);}

ul#navlists ul a#children				{background-image: url(images/sub-children.gif);}
ul#navlists ul a#adults					{background-image: url(images/sub-adults.gif);}
ul#navlists ul a#common					{background-image: url(images/sub-common.gif);}
ul#navlists ul a#dictionary				{background-image: url(images/sub-dictionary.gif);}
ul#navlists ul a#resources				{background-image: url(images/sub-resources.gif);}
ul#navlists ul a#braces					{background-image: url(images/sub-braces.gif);}
ul#navlists ul a#appliances				{background-image: url(images/sub-appliances.gif);}
ul#navlists ul a#invisalign				{background-image: url(images/sub-invisalign.gif);}
ul#navlists ul a#diagram				{background-image: url(images/sub-diagram.gif);}
ul#navlists ul a#painter				{background-image: url(images/sub-painter.gif);}
ul#navlists ul a#oral					{background-image: url(images/sub-oral.gif);}
ul#navlists ul a#retainers				{background-image: url(images/sub-retainers.gif);}
ul#navlists ul a#comment				{background-image: url(images/sub-comment.gif);}
ul#navlists ul a#refer					{background-image: url(images/sub-refer.gif);}

/* rollover effects */

ul#navlists a:hover,
ul#navlists a.active					{background-position:-188px 0;display:block;}

ul#navlists ul a:hover,
ul#navlists ul a.active					{background-position:-188px 0; display:block; }

/* ----- end vertical navigation (dropdown) ----- */








/* etc */

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}

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}