/* general ----------------------------------------*/
* {margin: 0; padding: 0;}
html, body {height: 100%;}

body {
background: #a0ddd5 url(../images/bg02.gif) top center no-repeat;
background-attachment:fixed; 
margin: 0;
font: normal 14px/22px arial, verdana, helvetica, sans-serif;
color: #330;
}

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

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

a { color: #093; text-decoration: underline; }

a:hover { text-decoration: none; }

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

h2 {
font: normal 20px/30px georgia, times, serif;
color: #930;
margin: 10px 0;
}

h3 {
font: bold 16px arial, verdana, helvetica, sans-serif;
color: #066;
margin: 10px 0;
}

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

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

ul {
list-style: disc;
}

img {border: none;}

p {margin: 0 0 10px 0;}


/* logo ----------------------------------------*/
.logo { 
letter-spacing : -1000em;
text-indent : -999em;
overflow : hidden;
background: transparent;
padding: 0;
margin: 0;
line-height: 0;
width: 450px;
height: 120px;
position: absolute;
top: 20px;
left: 25px;
}

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

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


/* utility */
#utility, #utility ul { /* all lists */
margin: 0;
padding: 0;
list-style: none;
}

#utility {
z-index: 1;
position: absolute;
top: 0;
right: 30px;
width: 340px;
}

#utility li {
float: left;
}

#utility a {
display: block;
overflow: hidden; 
text-indent: -999em;
height: 60px;
}

/* Set the image for each nav item */
#patient-login {background: url(../images/utility-patient-login.gif); width: 142px;}
#contact-us {background: url(../images/utility-contact-us.gif); width: 120px;}
#home {background: url(../images/utility-home.gif); width: 78px;}

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

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


/* utility subnav */
#utility li { display: inline }

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

#utility li ul a {
padding: 0 0 0 16px;
width: 184px;
color: #014d41;
text-indent: 0;
text-decoration: none;
height: auto;
font: normal 12px/30px georgia, times, serif;
}

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

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


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

#nav {
width: 250px;
margin: 50px 0 0 0;
}

#nav a {
display: block;
overflow: hidden; 
text-indent: -999em;
height: 35px;
}

/* Set the image for each nav item */
#about-our-office {background: url(../images/nav-about-our-office.gif);}
#teeth-101 {background: url(../images/nav-teeth-101.gif);}
#pediatric-dentistry {background: url(../images/nav-pediatric-dentistry.gif);}
#dentistry-for-adults {background: url(../images/nav-dentistry-for-adults.gif);}
#treatment-options {background: url(../images/nav-treatment-options.gif);}

/* Shift the image position up to show the active state */
#nav a:hover, #nav .active {background-position: -250px 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 220px;
padding: 0;
width: 200px;
position: absolute;
background: #c9ded8;
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 16px;
width: 184px;
color: #014d41;
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: #016a5a;
}


/* page layout ----------------------------------------*/
#container {
background: #f7ebb8 url(../images/bg-container.jpg) no-repeat;
margin: 0 auto;
position: relative;
width: 960px;
}
#container:after {clear: both; content: "."; display: block; height: 0; visibility: hidden}

#header {
margin: 0 auto;
position: relative;
width: 960px;
height: 150px;
}

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

#contact-info {
color: #735b09;
font: 12px/24px arial, verdana, helvetica, sans-serif;
padding: 50px 0 30px 50px;
overflow: hidden;
}

#contact-info .small {
font: 11px/16px arial, verdana, helvetica, sans-serif;
}

#contact-info ul {
margin: 0 0 20px 2px;
list-style:none;
}

#contact-info h5 {
font: bold 14px/24px arial, verdana, helvetica, sans-serif;
}

#ads {
padding: 0 0 0 50px;
overflow: hidden;
}

#content {
float: left;
width: 620px;
padding: 0 50px 20px 40px;
}

.border {
border: 1px solid #d7d5c0;
margin: 10px 0;
clear: both;
}

img.left {
float: left;
margin: 0 20px 20px 0;
clear: both;
}

img.right {
float: right;
margin: 0 0 20px 20px;
clear: both;
}

img.center {
display:block;
margin:0 auto 10px auto;}

#site-map {font-weight: bold; float: left; padding-right: 30px;}
#site-map ul {list-style: none;}
#site-map a {color: #7a5634;}
#site-map .sub {font-weight: normal;}
#site-map .sub ul {list-style: disc;}


/* in page sub 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: #600; padding: 0 5px 0 8px; border-left: 1px solid #e9e4c3; 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: #a39c71; 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: #d3c267 url(../images/bg-footer.gif) top no-repeat;
width: 780px;
color: #3f2b17;
margin: 0 auto;
padding: 50px 90px 30px 90px;
text-align: center;
line-height: 20px;
display: block;
clear: both;
overflow: hidden;
}

#footer h6 {
color: #8b4603;
font: normal 20px/30px georgia, times, serif;
}

/* footer-nav */
#footer-nav {
background-color: #8b4603;
width: 960px;
color: #fc6;
margin: 0 auto;
padding: 40px 0 40px 0;
text-align: center;
line-height: 20px;
display: block;
clear: both;
overflow: hidden;
}

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

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

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


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

#sesame a {
font: 10px/24px arial, verdana, helvetica, sans-serif;
color: #fc6;
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; font: bold 11px/0 arial, verdana, helvetica, sans-serif; text-transform: uppercase; color: #099; text-decoration: none; }
a:hover.top { color: #6cc; }


/* SESAME */
ul#toggle-content {list-style: none; margin: 0 0 15px 0;}
#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 {margin: 15px 0;}
.flash-replaced .alt {
display: block;
width: 0px;
height: 0px;
position: absolute;
overflow: hidden;}
.hide {display: none;}