/* 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;
}
img.center {
display:block;
margin:0 auto 10px auto;}


/* 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/bkd2.jpg);
	background-repeat: repeat;
}
p{
	margin-top: 3px;
	margin-bottom:15px;
	color: #31291a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 19px;
	font-weight: normal;
}

#main li{
	color: #31291a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin-left: 50px;
	list-style: outside;
	line-height:19px;
}

#main ul{
	margin-bottom:15px;
}
#main ol{
	margin-bottom:15px;
}
a:link, a:visited{
	color: #31291a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-decoration: underline;
}
 a:hover{
	color: #a30f27;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-decoration: underline;
}

#footernav {
	background-image: url(images/footer_bkd.jpg);
	height:134px;
	clear:both;
	background-repeat: no-repeat;
	}
#footerguide {
margin-top:20px;
	width: 511px;
	float:right;
	}

#address{
margin-top:20px;
margin-left:60px;
display:inline;
width: 180px;
float:left;
}

.address{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #e7debf;
		line-height:15px;
}
.footertext{
font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #e7debf;
	line-height:14px;
}
.footerguide {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #ffffff;
	text-decoration:none;
	line-height: 17px;
	line-height:13px;
	font-weight: normal;
}
.footerguide a:link, .footerguide a:visited{
font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #ffffff;
	text-decoration:none;
	font-weight: normal;
line-height:13px;
}
.footerguide a:hover{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #ffffff;
line-height:13px;
	font-weight: normal;
	text-decoration: underline;
}			

.design a:link, .design a:visited{
font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #9e894a;
	text-decoration:none;
	font-weight: bold;
	line-height: 25px;
	line-height:11px;
}
.design a:hover{
color: #ffffff;
	text-decoration:underline;
}
h1{
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: bold;
	overflow: hidden;
		position: relative;
}
h1 span{
background-repeat: no-repeat; 
height: 100%; 
position: absolute; 
width: 100%;
}
#header{
width: 780px;	
margin:auto;
}
#logo {
	width: 780px;
	height: 170px;
}
#logo a {
	display: block;
	width: 780px;
	height: 170px;
	text-indent: -999em;
	background-image: url(images/logo.jpg);
	background-repeat: no-repeat;
	cursor:pointer;	
}
#logo_home {
	width: 780px;
	height: 170px;
}
#logo_home a {
	display: block;
	width: 780px;
	height: 170px;
	text-indent: -999em;
	background-image: url(images/logo_home.jpg);
	background-repeat: no-repeat;
	cursor:pointer;	
}
/* headings */
#h-office,#h-doc,#h-tour,#h-test,#h-patients,#h-visit,#h-dollars,#h-policy,#h-check,#h-teeth, #h-life,#h-peds,#h-resources,#h-gum,#h-improve,#h-why,#h-cosmetic,#h-gallery,#h-rate,#h-restore,
#h-white,#h-root,#h-wisdom,#h-sealants,#h-game,#h-site,#h-contact,#h-location,#h-appt,#h-comment,
#h-refer,#h-home{
	line-height: 0px;
	height: 83px;
	width: 534px;
	margin-bottom:10px;
}
#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-test{background: url(images/title_test.jpg);}
#h-patients{background: url(images/title_patients.jpg);}
#h-visit{background: url(images/title_visit.jpg);}
#h-dollars{background: url(images/title_dollars.jpg);}
#h-policy{background: url(images/title_policy.jpg);}
#h-check{background: url(images/title_check.jpg);}
#h-teeth{background: url(images/title_teeth.jpg);}
#h-life{background: url(images/title_life.jpg);}
#h-peds{background: url(images/title_peds.jpg);}
#h-resources{background: url(images/title_resources.jpg);}
#h-gum{background: url(images/title_gum.jpg);}
#h-improve{background: url(images/title_improve.jpg);}
#h-why{background: url(images/title_why.jpg);}
#h-cosmetic{background: url(images/title_cosmetic.jpg);}
#h-gallery{background: url(images/title_gallery.jpg);}
#h-rate{background: url(images/title_rate.jpg);}
#h-restore{background: url(images/title_restore.jpg);}
#h-white{background: url(images/title_white.jpg);}
#h-root{background: url(images/title_root.jpg);}
#h-wisdom{background: url(images/title_wisdom.jpg);}
#h-sealants{background: url(images/title_sealants.jpg);}
#h-game{background: url(images/title_game.jpg);}
#h-site{background: url(images/title_site.jpg);}
#h-contact{background: url(images/title_contact.jpg);}
#h-location{background: url(images/title_location.jpg);}
#h-appt{background: url(images/title_appt.jpg);}
#h-comment{background: url(images/title_comment.jpg);}
#h-refer{background: url(images/title_refer.jpg);}
#h-home{background: url(images/title_home.jpg);}



h2{
	color: #31291a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	line-height: 19px;
	font-style: normal;
}
	
h3{color: #a30f27;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	line-height: 19px;
	}
h5{
	color: #31291a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-weight: bold;
}
h6{
	color: #31291a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height:19px;
	font-weight: bold;
	margin-bottom:15px;

}
#nav-column {
float:left;
	width: 234px;
}
#nav-column .inner {
}
#nav {list-style: none;
}
#nav a {display: block; padding: 0; width: 234px; margin: 0;
}

#nav ul {
	position: absolute;
	left: -999em;
	list-style: none;
	margin: -32px 0px 0px 234px;
	background:#4b3f2b;
	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:#4b3f2b;
	padding: 4px 2px 5px 10px;
	color: #e7debf;
	font-weight: bold;
	text-decoration: none;
	width:150px;
}
ul#nav ul li a:hover {
background: #e7debf;
	color: #a30f27;
}
#office, #patients,#games,#check,#improve,#restore,#teeth,#contact,#home {
overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	width: 234px;
	cursor: pointer;
}
/* Set the image for each nav item */
#office {background: url(images/office.jpg);
height:32px;}
#patients {background: url(images/patients.jpg);
height:33px;}
#check {background: url(images/check.jpg);
height:33px;}
#teeth {background: url(images/teeth.jpg);
height:32px;}
#restore {background: url(images/restore.jpg);
height:32px;}
#improve {background: url(images/improve.jpg);
height:33px;}
#contact {background: url(images/contact.jpg);
height:33px;}
#home {background: url(images/home.jpg);
height:34px;}
#games {background: url(images/game.jpg);
height:33px;}
/* Shift the image position up to show the active state */
#nav a:hover, #nav .active{
	background-position:-234px 0px
}

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

#container{
	width: 780px;
	margin:auto;
}
#content {
	width: 780px;
	background-image: url(images/content_bkd.jpg);
	background-repeat: repeat-y;	
}
#main {
	float: right;
	width: 534px;
	display:inline;
	margin-right:12px;
}
#main .inner {	
padding-left:34px;
padding-right:23px;

}

#forms {
	float: right;
	clear: right;
	display: block;
	background-color: #4b3f2b;
	width: 180px;
	margin-left: 5px;
	border: 4px solid #a30f27;
}
.formtext{
	color: #f6f2e5;
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: #f6f2e5;
	font-weight: bold;
	margin-top:5px;
	margin-left:5px;}
#forms li{
	color: #f6f2e5;
	margin-left: 45px;
	list-style: disc outside;
	line-height:16px;
}
#forms ul{
	margin-bottom:9px;
	margin-left:4px;
		color: #f6f2e5;
	margin-top:4px;
}
#forms a:link,#forms a:visited {
	color: #f6f2e5;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
	text-decoration: underline;
}

#forms a:hover{
	color: #a30f27;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
	text-decoration: underline;
}
.top{
	color: #a30f27;
	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: #a30f27;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
}
.top a:hover{
		color: #ffffff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
}
hr{
	color: #a30f27;
	margin-bottom:5px;
}
blockquote{margin-left:28px;}
#home_movie{margin-bottom:5px;
margin-top:8px;
margin-left:13px;}
#anatomy-of-a-tooth {background: url(images/anatomy-of-a-tooth/anatomy-of-a-tooth-bg.gif); height: 525px; position: relative; width: 300px}
#anatomy-of-a-tooth a {cursor: help; display: block; position: absolute}
#anatomy-of-a-tooth a:hover {background: transparent}
a#bone {height: 20px; left: 30px; top: 380px; width: 40px}
a#cementum {height: 20px; left: 100px; top: 460px; width: 90px}
a#dentin {height: 20px; left: 80px; top: 165px; width: 60px}
a#enamel {height: 20px; left: 165px; top: 135px; width: 60px}
a#gingiva {height: 30px; left: 20px; top: 275px; width: 60px}
a#periodontal {height: 30px; left: 205px; top: 440px; width: 70px}
a#pulp {height: 30px; left: 125px; top: 220px; width: 50px}
a#print {cursor: pointer; height: 23px; left: 240px; top: 502px; width: 60px}
#anatomy-of-a-tooth a img {border: none; display: block; height: 0; position: absolute; width: 0}
#anatomy-of-a-tooth a:hover img {height: 98px; width: 300px}
a#bone:hover img {left: -30px; top: -380px}
a#cementum:hover img {left: -100px; top: -460px}
a#dentin:hover img {left: -80px; top: -165px}
a#enamel:hover img {left: -165px; top: -135px}
a#gingiva:hover img {left: -20px; top: -275px}
a#periodontal:hover img {left: -205px; top: -440px}
a#pulp:hover img {left: -125px; top: -220px}
#flash-know-your-teeth{display:inline;
margin-left:-10px;
padding:0px;}
div#sesame-game {
	background: #000;
	line-height: 0;
	margin: 10px auto 15px;
	text-align: center;
	width: 400px
}

ul#sesame-games {
list-style: none;
margin: 0;
padding: 0}

ul#sesame-games li {
clear: both;
list-style: none;
margin-left:0px;
display: inline-block}

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

ul#sesame-games p {
padding-bottom: 1em}