/* GENERAL 
-----------------------------------------*/
* {margin: 0; padding: 0;}/* Sets all padding and margins to 0 - forces all browsers to behave... */
* html #content {height: 250px} /* IE6 */
html, body {height: 100%;}

body {
background: #574e4d url(../images/bg01.png) top center no-repeat;
margin: 0;
font: 12px arial, verdana, helvetica, sans-serif;
color: #333;
line-height: 24px;
}

table { 
border-collapse: collapse; 
border-spacing: 0; 
}

td, th { 
padding: 0 10px; 
vertical-align: top;
font: 12px arial, verdana, helvetica, sans-serif;
color: #333;
line-height: 24px;
}

a {
color: #09c;
text-decoration: underline;
}

a:hover {
text-decoration: none;
}

h1 {
background-repeat: no-repeat; 
height: 40px; /* this height reflects the height of the heading image */
margin: 0;
overflow: hidden; 
text-indent: -999em; /* hides rich text so only background image shows */
}

h2 {
font: normal 18px arial, verdana, helvetica, sans-serif;
color: #069;
margin: 10px 0;
}

h3 {
font: normal 18px arial, verdana, helvetica, sans-serif;
color: #666;
margin: 10px 0;
}

h4 {
font: bold 14px arial, verdana, helvetica, sans-serif;
color: #333;
margin: 10px 0;
}

ul,ol {
margin: 0 0 10px 20px;
}

ul.larger {
font-size: 14px;
}

img {border: none;}

p {margin: 0 0 10px 0;}


/* LOGO
----------------------------------------*/
.logo { 
letter-spacing : -1000em;
text-indent : -999em;
overflow : hidden;
padding: 0;
margin: 0;
width: 350px;
height: 50px;
background: transparent;
line-height: 0;
position: absolute;
top: 40px;
left: 50px;
}

/* Just for Opera, but hide from MacIE */
/*\*/html>body .logo {
letter-spacing : normal;
text-indent : -999em;
}
/* End of hack */

h1.logo a {
padding: 0;
margin: 0;
width: 350px;
height: 50px;
display: block;
background: transparent;
float: left;
}


/* NAMES
----------------------------------------*/
.names { 
letter-spacing : -1000em;
text-indent : -999em;
overflow : hidden;
padding: 0;
margin: 0;
width: 450px;
height: 30px;
background: transparent;
line-height: 0;
}

/* Just for Opera, but hide from MacIE */
/*\*/html>body .names {
letter-spacing : normal;
text-indent : -999em;
}
/* End of hack */


/* NAVIGATION 
-----------------------------------------*/
#nav, #nav ul { /* all lists */
width: 200px;
padding: 0;
list-style: none;
margin: 0;
position: relative;
z-index: 1;
}

#nav {
margin-top: 20px;
}

/*  Sets styles for all links that are inside the ul id="nav" */
#nav a {
height: 30px;
display: block;
overflow: hidden; 
text-indent: -999em;  /*Indents the rich-text so it does not show */
}

/* Set the image for each nav item */
#about-us {background: url(../images/nav-about-us.gif);}
#financial-and-office-policies {background: url(../images/nav-financial-and-office-policies.gif);}
#your-first-visit {background: url(../images/nav-your-first-visit.gif);}
#care-for-your-smile {background: url(../images/nav-care-for-your-smile.gif);}
#restore-your-smile {background: url(../images/nav-restore-your-smile.gif);}
#improve-your-smile {background: url(../images/nav-improve-your-smile.gif);}
#caring-for-little-smiles {background: url(../images/nav-caring-for-little-smiles.gif);}
#links {background: url(../images/nav-links.gif);}
#contact-us {background: url(../images/nav-contact-us.gif);}
#fun-and-games-room {background: url(../images/nav-fun-and-games-room.gif);}
#home {background: url(../images/nav-home.gif);}

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

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


/* SUB-NAVIGATION 
-----------------------------------------*/
#nav li {
display: inline
}

#nav li ul { /* second-level lists */
margin: -30px 0 0 190px;
padding: 0;
width: 200px;
position: absolute;
background: #0f81b7;
left: -999em;
line-height: 30px;
height: auto;
/* opacity */
filter:alpha(opacity=95);
-moz-opacity:0.95;
-khtml-opacity: 0.95;
opacity: 0.95;
}

#nav li ul a {
padding: 0 0 0 10px;
width: 190px;
color: #acf0fc;
text-indent: 0;
text-decoration: none;
line-height: 30px;
height: auto;
}

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
left: auto;
display:block;
}

#nav li:hover ul a:hover, #nav li.sfhover ul a:hover { /* lists nested under hovered list items */
color: #fff;
background: #016da0;
}


/* PAGE LAYOUT
-----------------------------------------*/
#container {
background: url(../images/bg-container.gif) repeat-y;
margin: 0 auto;
position: relative;
width: 770px;
}

#container:after {clear: both; content: "."; display: block; height: 0; visibility: hidden}

#header {
margin: 0 auto;
position: relative;
width: 770px;
height: 120px;
}

#main {
width: 770px;
background: url(../images/bg-main.jpg) no-repeat;
}

#main:after {clear: both; content: "."; display: block; height: 0; visibility: hidden}

#sidebar {
color: #fff;
float: left;
width: 200px;
padding: 0 0 20px 0;
}

#contact-info {
color: #3f2b17;
font: 11px arial, verdana, helvetica, sans-serif;
padding: 50px 0 30px 40px;
overflow: hidden;
line-height: 20px;
}

#contact-info h3 {
color: #3f2b17;
font: bold 12px arial, verdana, helvetica, sans-serif;
margin: 0;
padding: 0;
line-height: 20px;
}

#contact-info a {
color: #630;
font: normal 9px arial, verdana, helvetica, sans-serif;
margin: 0;
padding: 0;
line-height: 20px;
}

#rtcol {
float: left;
width: 570px;
padding: 0 0 20px 0;
}

#content {
float: left;
width: 530px;
padding: 0 20px 10px 20px;
min-height: 250px;
}

.img {
background-color: #fff;
padding: 10px;
margin: 0 10px 20px 0;
clear: both;
}

.img-left {
background-color: #fff;
padding: 10px;
float: left;
margin: 0 20px 20px 0;
clear: both;
}

.img-right {
background-color: #fff;
padding: 10px;
float: right;
margin: 0 0 20px 20px;
clear: both;
}

#site-map {font-weight: bold;}
#site-map a {color: #7a5634;}
#site-map .sub {font-weight: normal;}

/* SUB-PAGE-NAV ----------------*/
#sub-page-nav ul {margin: 0 0 20px 0;}
#sub-page-nav li {display:inline; list-style:none; text-indent:none; white-space:nowrap;}
#sub-page-nav li a {color: #7a5634; padding: 0 5px 0 6px; border-left: 1px solid #ccc; white-space:nowrap; text-decoration: underline;}
#sub-page-nav li a:visited {text-decoration: underline;}
#sub-page-nav li:hover a, #sub-page-nav li a.active {color: #8a7a6b; font-weight:normal; text-decoration:none;}
#sub-page-nav li.#sub-page-nav-first a{padding-left:0; border-left:none;}
#sub-page-nav li.first a{padding-left:0; border-left:none;}
#sub-page-nav.color li a {color: #09c;}

/* FOOTER
-----------------------------------------*/
#footer {
background: url(../images/bg-footer.gif) top center no-repeat;
width: 710px;
height: 230px;
color: #3f2b17;
margin: 0 auto;
padding: 30px 20px 30px 40px;
text-align: center;
line-height: 20px;
display: block;
clear: both;
overflow: hidden;
}

#footer h2 {
color: #3f2b17;
font-size: 18px;
line-height: 24px;
}

#footer a {
font: 12px arial, verdana, helvetica, sans-serif;
color: #069;
text-decoration: underline;
}

#footer a:hover {
text-decoration: none;
}

#footer li {
display: inline;
list-style-type: none;
padding-right: 7px;
}


/* SESAME
-----------------------------------------*/
#sesame {
margin: 0;
padding: 20px 0 40px 0; 
text-align: center;
}

#sesame a {
font-size: 10px;
color: #069;
text-decoration: underline;
}

#sesame a:hover {
text-decoration: none;
}


/* LINK TYPES
-----------------------------------------*/
a.pdf {
background: url(../images/icon-pdf.gif) no-repeat;
padding-left: 16px;
}
a.doc {
background: url(../images/icon-doc.gif) no-repeat;
padding-left: 16px;
}
a.zip {
background: url(../images/icon-zip.gif) no-repeat;
padding-left: 16px;
}
a.top {
background: url(../images/arrow-top.gif) no-repeat;
padding-left: 12px;
}

/* THE GAME ROOM
-----------------------------------------*/
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}

/* IN-OVATION, DAMON
-----------------------------------------*/
.left {
float:left;
margin:0 20px 20px 0;}
img.right {
float:right;
margin:0 0 20px 20px;}
.clear {
clear:both;}
h2.media-center {
background:#000033;
color:#FFF;
margin:0;
padding:5px;}
div.media-center {
background:#336699;
color:#FFF;
display:inline-block;
margin-bottom:10px;
overflow:auto;
padding:10px;}
div.media-center a {
color:#FFF;}
div.media-center img {
border:1px solid #FFF;}

/* ANATOMY OF A TOOTH
-----------------------------------------*/
#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}
