/* GENERAL 
-----------------------------------------*/
* {margin: 0; padding: 0;}/* Sets all padding and margins to 0 - forces all browsers to behave... */
* html #content {height: 400px} /* IE6 */
html, body {height: 100%;}

body {
background: #9ec8f1 url(../images/bg01.jpg) 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; 
vertical-align: top;
font: 12px arial, verdana, helvetica, sans-serif;
color: #333;
line-height: 24px;
}

a {
color: #39c;
text-decoration: underline;
}

a:hover {
text-decoration: none;
}

h1 {
background-repeat: no-repeat; 
height: 70px; /* 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 24px arial, verdana, helvetica, sans-serif;
color: #369;
margin: 20px 0 10px 0;
}

h3 {
font: normal 18px trebuchet ms, arial, sans-serif;
color: #666;
margin: 10px 0;
}

ul,ol {
margin-top: 0;
margin-left: 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: 770px;
height: 205px;
background: transparent;
line-height: 0;
}

/* 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: 770px;
height: 205px;
display: block;
background: transparent;
}

/* LOGO
----------------------------------------*/
.logo { 
letter-spacing : -1000em;
text-indent : -999em;
overflow : hidden;
padding: 0;
margin: 0;
width: 770px;
height: 205px;
background: transparent;
line-height: 0;
}

/* 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: 770px;
height: 205px;
display: block;
background: transparent;
}

/* cerec
----------------------------------------*/
.cerec { 
letter-spacing : -1000em;
text-indent : -999em;
overflow : hidden;
padding: 0;
margin: 5px 20px 0 0;
width: 185px;
height: 70px;
background: transparent;
line-height: 0;
float: right;
}

/* Just for Opera, but hide from MacIE */
/*\*/html>body .cerec {
letter-spacing : normal;
text-indent : -999em;
}
/* End of hack */

h2.cerec a {
padding: 0;
margin: 0;
width: 180px;
height: 70px;
display: block;
background: transparent;
float: right;
}




/* zoom
----------------------------------------*/
.zoom { 
letter-spacing : -1000em;
text-indent : -999em;
overflow : hidden;
padding: 0;
margin: 5px 220px 0 0;
width: 150px;
height: 70px;
background: transparent;
line-height: 0;
float: right;
}

/* Just for Opera, but hide from MacIE */
/*\*/html>body .zoom {
letter-spacing : normal;
text-indent : -999em;
}
/* End of hack */

h2.zoom a {
padding: 0;
margin: 0;
width: 145px;
height: 70px;
display: block;
background: transparent;
float: right;
}

/* NAVIGATION 
-----------------------------------------*/
#nav {
float: left;
}

#nav, #nav ul { /* all lists */
width: 200px;
padding: 0;
margin: 12px 0 0 0;
list-style: none;
position: relative;
z-index: 1;
}

/*  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 */
#patient-login {background: url(../images/nav-patient-login.gif);}
#patient-information {background: url(../images/nav-patient-information.gif);}
#teeth-101 {background: url(../images/nav-teeth-101.gif);}
#improve-your-smile {background: url(../images/nav-improve-your-smile.gif);}
#contact-us {background: url(../images/nav-contact-us.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 200px;
padding: 0;
width: 160px;
position: absolute;
background: #698cae;
left: -999em;
line-height: 30px;
height: auto;
}

#nav li ul a {
padding: 0 0 0 20px;
width: 140px;
color: #c7e3ff;
text-indent: 0;
text-decoration: none;
line-height: 30px;
border-bottom: 1px solid #577b9f;
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;
}


/* PAGE LAYOUT
-----------------------------------------*/
#wrapper {
background: #9ec8f1 url(../images/bg-wrapper.gif) repeat-y;
margin: 0 auto;
padding: 0;
position: relative;
width: 770px;
}

#wrapper:after {clear: both; content: "."; display: block; height: 0; visibility: hidden}

#container {
background: url(../images/bg-container.jpg) no-repeat;
width: 770px;
margin: 0;
padding: 0;
}

#container:after {clear: both; content: "."; display: block; height: 0; visibility: hidden}

#header {
margin: 0 auto;
position: relative;
width: 770px;
height: 280px;
}

#nav-hero {
width: 770px;
height: 225px;
}

#hero {
float: left;
width: 570px;
}

#sidebar {
float: left;
width: 180px;
padding: 30px 20px 30px 0;
text-align: right;
}

#contact-info {
font: 11px arial, verdana, helvetica, sans-serif;
color: #666;
line-height: 18px;
overflow: hidden;
}

#content {
float: left;
width: 520px;
padding: 30px 20px 30px 20px;
min-height: 400px;
}

img.center {
background-color: #fff;
padding: 4px;
border: 1px solid #88b3de;
display:block;
margin:0 auto 10px auto;}

img.right {
background-color: #fff;
padding: 4px;
border: 1px solid #88b3de;
clear:right;
float:right;
margin: 0 0 20px 20px;}

.img {
background-color: #fff;
padding: 4px;
border: 1px solid #88b3de;
margin: 0 10px 20px 0;
clear: both;
}

.img-left {
background-color: #fff;
padding: 4px;
border: 1px solid #88b3de;
float: left;
margin: 0 20px 20px 0;
clear: both;
}

.img-right {
background-color: #fff;
padding: 4px;
border: 1px solid #88b3de;
float: right;
margin: 0 0 20px 20px;
clear: both;
}

#site-map {font-weight: bold;}
#site-map .sub {font-weight: normal;}


/* FOOTER
-----------------------------------------*/
#footer {
background: #9ec8f1 url(../images/bg-footer.gif) top center no-repeat;
color: #069;
width: 770px;
margin: 0 auto;
padding: 10px 20px 30px 20px;
position: relative;
text-align: center;
line-height: 20px;
display: block;
clear: both;
overflow: hidden;
}

#footer h2 {
color: #0f3f6f;
font-size: 14px;
line-height: 20px;
}

#footer a {
color: #069;
text-decoration: underline;
}

#footer a:hover {
text-decoration: none;
}

#footer li {
font: 11px arial, verdana, helvetica, sans-serif;
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;
}


/* GAMES
-----------------------------------------*/

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 {
background-color: #fff;
padding: 4px;
border: 1px solid #88b3de;
margin: 0 10px 10px 10px}

ul#sesame-games a.button {
float:right;
height:85px;
width:200px}

ul#sesame-games p {
padding-bottom: 1em}


/* TEETH 101
-----------------------------------------*/

#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}