/* 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%;
}
.border { border:#f9e88e solid 6px}
.image-float-left {
	float: left;
	clear: left;
	display: block;
}
.image-float-right {
	float: right;
	clear: right;
	display: block;
	margin-right: 10px;
	margin-left: 7px;
}

/* 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 0 0px;
	text-align:center;
	background-image: url(images/bkd.jpg);
	font-family: Verdana, Arial, Helvetica, sans-serif;

}
p{
	margin-top: 2px;
	margin-bottom: 15px;	
}
.text{
	color: #FAE694;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 19px;
	padding-left: 5px;
	padding-right: 12px;
}
li.text{
	color: #FAE694;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin-left: 6px;
	padding-right: 10px;
	list-style: disc outside;
}
.text a:link{
	color: #FAE694;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	text-decoration: underline;
}

.text a:visited{
	color: #FAE694;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	text-decoration: underline;
}
.text a:hover{
	color: #BAE360;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	text-decoration: underline;
}
#footer{
	margin-top: 0px;
	width: 760px;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
	background-color: #BAE360;
}
.footertext {color: #3E230A;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	text-decoration:none;
	text-align:center;
	float: left;
	width: 730px;
}
#footernav {color: #3E230A;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-decoration:none;
	text-align:center;
	float: left;
	width: 730px;
}
#footernav .inner {
	margin: 18px 0 0 0px;
}
#footernav .inner3 {
	margin: 18px 0 0 15px;
}		
#footernav a:link{color: #3E230A;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-decoration:none;}
#footernav a:visited{color: #3E230A;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-decoration:none;}
#footernav a:hover{color: #3E230A;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-decoration:underline;}
	
#design{
	color: #3E230A;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	text-decoration:none;
	text-align:center;
}
#design a:link{
	color: #3E230A;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	text-decoration:none;
}
#design a:visited{
	color: #3E230A;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	text-decoration:none;
}
#design a:hover{
	color: #3E230A;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	text-decoration:underline;
}
h2{
	color: #BAE360;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 20px;
	padding-left: 5px;
	text-transform: uppercase;
	font-weight: bolder;
}
h3{
	color: #BAE360;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 20px;
	padding-left: 5px;
	margin-bottom: 15px;
	font-weight: bolder;
	font-style: italic;
}
ul{
	margin: 1px 10px 15px 10px;
	margin-top: 1px;
	list-style: inside disc;
}
.module{
	margin-bottom: 15px;
	margin-top: 5px;
	margin-left: 7px;
}
.diagram{
	margin-bottom: 15px;
	margin-top: 11px;
	margin-left: 55px;
}
.diagrambkd{
	background-color: #FFFFFF;	
}

.top
{
	color: #ffffff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	text-decoration: none;
	text-align: left;
}
.top a:link
{
color: #ffffff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	text-decoration: none;
	text-align: left;
}
.top a:visited
{
	color: #ffffff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	text-decoration: none;
	text-align: left;
}
.top a:hover
{
	color: #ffffff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	text-decoration: underline;
	text-align: left;}
#nav-column {
	width: 760px;
	height: 84px;
	float: left;
	margin: 0;
	background-color: #7B5129;
	background-image: url(images/navbottom.jpg);
	background-repeat: no-repeat;
	background-position: top;
}
#nav-column .inner {
	margin: 25px 0 0;
}
ul#nav, #nav ul {
	font-size: 13px;
	padding: 0;
	margin: 0;
	list-style: none;
	width: 760px;
	height:32px;
}
ul#nav a {
	display: block;
}
ul#nav li {
	position: relative;
	float: left;
	z-index: 10;

}
ul#nav li ul {
	position: absolute;
	top: 4px;
	left: -999em;
	margin-top: 28px;
	margin-left: 25px;
	background: #7B5129;
	z-index: 10;
	width:185px;
}

ul#nav ul li a {
	width:185px;
	background: #7B5129;
	padding: 2px 4px 3px;
	color: #FAE694;
	font-weight: bold;
	text-decoration: none;
	width:185px;
}
ul#nav ul li a:hover {
	background: #BAE360;
	color: #7B5129;
}
#nav li:hover ul, #nav li.sfhover ul {
	left: auto;
}

#home, #about, #ortho, #braces, #fun, #contact {
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	height: 32px;
	cursor: pointer;
}
/* Set the image for each nav item */
#home {
	background: url(images/home.jpg);
	height: 32px;
	width: 89px;
}
#about {background: url(images/about.jpg);
height: 32px;
	width: 170px;}
#ortho {background: url(images/ortho.jpg);
height: 32px;
	width: 136px;}
#braces {background: url(images/braces.jpg);
height: 32px;
	width: 87px;}
#fun {background: url(images/fun.jpg);
height: 32px;
	width: 138px;}
#contact {background: url(images/contact.jpg);
height: 32px;
	width: 120px;}


/* Shift the image position up to show the active state */
#nav a:hover, #nav .active {
	background-position:0px -32px;
}

/* Set the cursor to default arrow so link does not appear clickable */
#nav .active {cursor: default}


/* Image Replacement */

/* headings */
#h-types-braces {
	background: url(images/title_typesbraces.jpg);
	height: 54px;
	width: 697px;
	line-height: 0px;
}
#h-life {
	background: url(images/title_life.jpg);
	height: 54px;
	width: 697px;
	line-height: 0px;
}
#h-doc {
	background: url(images/title_doc.jpg);
	height: 54px;
	width: 697px;
	line-height: 0px;
}
#h-tour {background-image: url(images/title_tour.jpg);
height: 54px;
	width: 697px;
	line-height: 0px;}
#h-cost {background-image: url(images/title_cost.jpg);
height: 54px;
	width: 697px;
	line-height: 0px;}
	#h-visit {background-image: url(images/title_visit.jpg);
height: 54px;
	width: 697px;
	line-height: 0px;}
	#h-treatment {background-image: url(images/title_treatments.jpg);
height: 54px;
	width: 697px;
	line-height: 0px;}
	#h-invisalign {background-image: url(images/title_invisalign.jpg);
height: 54px;
	width: 697px;
	line-height: 0px;}
	#h-retainers {background-image: url(images/title_reatainers.jpg);
height: 54px;
	width: 697px;
	line-height: 0px;}
	#h-dictionary {background-image: url(images/title_dictionary.jpg);
height: 54px;
	width: 697px;
	line-height: 0px;}
	#h-appliances {background-image: url(images/title_appliances.jpg);
height: 54px;
	width: 697px;
	line-height: 0px;}
	#h-diagram {background-image: url(images/title_diagram.jpg);
height: 54px;
	width: 697px;
	line-height: 0px;}
	#h-painter {background-image: url(images/title_painter.jpg);
height: 54px;
	width: 697px;
	line-height: 0px;}
		#h-resources {background-image: url(images/title_resources.jpg);
height: 54px;
	width: 697px;
	line-height: 0px;}
	#h-fun {background-image: url(images/title_fun.jpg);
height: 54px;
	width: 697px;
	line-height: 0px;}
	#h-site {background-image: url(images/title_sitemap.jpg);
height: 54px;
	width: 697px;
	line-height: 0px;}
	#h-contact {background-image: url(images/title_contact.jpg);
height: 54px;
	width: 697px;
	line-height: 0px;}
	#h-team {background-image: url(images/title_team.jpg);
height: 54px;
	width: 697px;
	line-height: 0px;}
		#h-office {background-image: url(images/title_office.jpg);
height: 54px;
	width: 697px;
	line-height: 0px;}
		#h-ortho {background-image: url(images/title_ortho.jpg);
height: 54px;
	width: 697px;
	line-height: 0px;}
		#h-braces {background-image: url(images/title_braces.jpg);
height: 54px;
	width: 697px;
	line-height: 0px;}
	#h-forms {background-image: url(images/title_forms.jpg);
height: 54px;
	width: 697px;
	line-height: 0px;}




#container{
	width: 760px;
	margin-left: auto;
	margin-right: auto;
	text-align:left;
	background-image: url(images/table.jpg);
	background-repeat: repeat;
}
#content {
	width: 760px;

}

#main {
	float: left;
	width: 760px;
	padding-bottom: 5px;
	float: left;
	background-image: url(images/bottom.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
}
#main .inner {
	margin: 12px 18px 30px 24px;
	
}
#main .inner2 {
	margin: 12px 18px 30px 24px;
	height: 315px;	
}
.site {
	margin: 0px 0px 30px 210px;
	
}

#header{
	width: 614px;
	overflow: hidden;
	float:left;
}
#logo {
width: 614px;
		height: 119px;
}
#logo a {
	display: block;
	width: 614px;
		height: 119px;
	background: url(images/fullheader.jpg) 0 0 no-repeat;
	text-indent: -999em;
}
h1{
	font-family: Comic Sans, Comic Sans MS, cursive;
	font-size: 17px;
	color: #BAE360;
	font-weight: bold;
	overflow: hidden;
	position: relative;
	height: 54px;
	width: 697px;
	text-transform: uppercase;
}
h1 span{
	background-repeat: no-repeat;
	height: 100%;
	position: absolute;
	width: 100%;
	z-index: 1;
	text-indent: -999em;
}
hr{
	color: #3E230A;
	width: 740px;
	margin-left: 10px;
}
#sub  {
	width: 146px;
		height: 119px;
	overflow: hidden;
	float:right;
}
ul#navsub {
width: 146px;
	height: 119px;
list-style: none;
}

/*  Makes the list items sit next to each other */
#navsub li {
	float: left;
}

/*  Sets styles for all links that are inside the ul id="nav" */
#navsub a {
display: block;
width: 146px;
	height: 119px;
overflow: hidden; 
text-indent: -999em; /* Indents the rich-text so it does not show */
}

/* Set the image for each nav item */
#patient {background-image: url(images/patient.jpg);}

/* Shift the image position up to show the active state */
#navsub a:hover, #navsub .active {background-position:-136px 0px;}

/* Set the cursor to default arrow so link does not appear clickable */
#navsub .active {cursor: default}
.resourcesright {
	float: right;
	clear: right;
	display: block;
	width: 300px;
}
.resourcesleft {
	float: left;
	clear: left;
	display: block;
	width: 250px;
	padding-left: 70px;
}
.funleft {
	float: left;
	clear: left;
	display: block;
	width: 260px;
	padding-left: 45px;
}
.funright {
	float: right;
	clear: right;
	display: block;
	width: 260px;
	padding-right: 50px;
}

.mapleft {
	float: left;
	clear: left;
	display: block;
	padding-left: 25px;
	padding-bottom: 30px;
}
.maptext {
	float: left;
	clear: left;
	display: block;
	padding-left: 25px;
	width: 544px;
}
.teamleft {
	float: left;
	clear: left;
	display: block;
	width: 243px;
	padding-left: 45px;
}
.teamright {
	float: right;
	clear: right;
	display: block;
	width: 285px;
	padding-right: 45px;
}
.special {
	float: left;
	clear: left;
	display: block;
	padding-right: 25px;
	padding-left: 15px;
}
.retainerpic {
	float: right;
	clear: right;
	display: block;
	margin-right: 10px;
	margin-left: 7px;
	margin-bottom: 55px;
}
.apps {
	float: left;
	clear: left;
	display: block;
	margin-right: 10px;
	margin-left: 7px;
	margin-top: 8px;
}