/* 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: #550047 url(../images/bg03.jpg) top center no-repeat;
margin: 0;
font: 12px arial, verdana, helvetica, sans-serif;
color: #fff;
line-height: 20px;
}

table { 
border-collapse: collapse; 
border-spacing: 0; 
}

td, th { 
padding: 0; 
vertical-align: top;
font: 12px arial, verdana, helvetica, sans-serif;
color: #fff;
line-height: 20px;
}

a {
color: #b4f2fb;
text-decoration: underline;
}

a:hover {
text-decoration: none;
}

h1 {
background-repeat: no-repeat; 
height: 50px; /* this height reflects the height of the heading image */
width: 520px;
margin: 0;
overflow: hidden; 
text-indent: -999em; /* hides rich text so only background image shows */
}

h2 {
font: normal 20px arial, verdana, helvetica, sans-serif;
color: #9ff;
margin: 10px 0 10px 0;
}

h3 {
font: normal 16px arial, verdana, helvetica, sans-serif;
color: #fcf;
margin: 10px 0;
}

ul,ol {
margin-top: 0;
margin-left: 30px;
}

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: 20px 0 0 30px;
width: 225px;
height: 105px;
background: transparent;
line-height: 0;
position: absolute;
}

/* 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: 225px;
height: 105px;
display: block;
background: transparent;
}


/* TAGLINE
----------------------------------------*/
.tagline { 
letter-spacing : -1000em;
text-indent : -999em;
overflow : hidden;
padding: 0;
margin: 0;
width: 410px;
height: 35px;
background: transparent;
line-height: 0;
position: absolute;
left: 330px;
top: 85px;
}

/* Just for Opera, but hide from MacIE */
/*\*/html>body .logo {
letter-spacing : normal;
text-indent : -999em;
}
/* End of hack */


/* UTILITY 
-----------------------------------------*/
#utility {
position: absolute;
left: 410px;
}

#utility, #utility ul { /* all lists */
width: 335px;
padding: 0;
margin: 0;
list-style: none;
z-index: 2;
}

#utility li {
float: left;
}

/*  Sets styles for all links that are inside the ul id="nav" */
#utility a {
height: 40px;
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/utility-patient-login.gif); width: 101px;}
#doctor-login {background: url(../images/utility-doctor-login.gif); width: 96px;}
#contact-us {background: url(../images/utility-contact-us.gif); width: 83px;}
#home {background: url(../images/utility-home.gif); width: 55px;}

/* Shift the image position up to show the active state */
#utility a:hover, #utility .active {background-position: 0 -40px;}

/* Set cursor to default arrow so link does not appear clickable */
#utility .active {cursor: default}


/* UTILITY SUB-NAVIGATION 
-----------------------------------------*/
#utility li {
display: inline
}

#utility li ul { /* second-level lists */
margin: 0 0 0 0;
padding: 0;
width: 140px;
position: absolute;
background: #00979a;
left: -999em;
height: auto;
}

#utility li ul a {
padding: 0 0 0 10px;
width: 130px;
color: #97f3f5;
text-indent: 0;
text-decoration: none;
line-height: 34px;
border-bottom: 1px solid #008588;
height: auto;
}

#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;
}


/* NAVIGATION 
-----------------------------------------*/
#nav {
float: left;
}

#nav, #nav ul { /* all lists */
width: 220px;
padding: 0;
margin: 0;
list-style: none;
position: relative;
z-index: 1;
}

/*  Sets styles for all links that are inside the ul id="nav" */
#nav a {
display: block;
overflow: hidden; 
text-indent: -999em;  /*Indents the rich-text so it does not show */
}

/* Set the image for each nav item */
#patient-information {background: url(../images/nav-patient-information.gif); height: 45px;}
#about-orthodontics {background: url(../images/nav-about-orthodontics.gif); height: 35px;}
#faq {background: url(../images/nav-faq.gif); height: 35px;}
#about-braces {background: url(../images/nav-about-braces.gif); height: 35px;}
#treatment-options {background: url(../images/nav-treatment-options.gif); height: 35px;}
#emergency-care-videos {background: url(../images/nav-emergency-care-videos.gif); height: 45px;}


/* Shift the image position up to show the active state */
#nav a:hover, #nav .active {background-position: -220px 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: -34px 0 0 200px;
padding: 0;
width: 160px;
position: absolute;
background: #00979a;
left: -999em;
height: auto;
}

#nav li ul a {
padding: 0 0 0 10px;
width: 150px;
color: #97f3f5;
text-indent: 0;
text-decoration: none;
line-height: 34px;
border-bottom: 1px solid #008588;
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
-----------------------------------------*/
#container {
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: 150px;
}

#nav-hero {
height: 260px;
}

#hero {
float: left;
}

#sidebar {
color: #fff;
float: left;
width: 190px;
padding: 0 0 20px 0;
}

#contact-info {
background: #440039;
line-height: 18px;
color: #fcf;
padding: 30px 0 30px 30px;
margin: 0 0 25px 0;
border-top: 3px solid #36002d;
border-bottom: 3px solid #36002d;
overflow: hidden;
}

#social-icons {
text-align:center;
padding:5px;
}

.white {
color: #fff;
}

#content {
float: left;
width: 520px;
padding: 10px 30px 30px 30px;
min-height: 400px;
}

html>body #content {
width:460px;
} 

.img {
background-color: #fff;
padding: 4px;
border: 1px solid #939;
margin: 0 10px 10px 0;
clear: both;
}

.img-left {
background-color: #fff;
padding: 4px;
border: 1px solid #939;
float: left;
margin: 0 20px 20px 0;
clear: both;
}

.img-right {
background-color: #fff;
padding: 4px;
border: 1px solid #939;
float: right;
margin: 0 0 20px 20px;
clear: both;
}

#site-map {font-weight: bold;}
#site-map .sub {font-weight: normal;}


/* FOOTER
-----------------------------------------*/
#footer {
background: #009598 url(../images/bg-footer.gif) repeat-x;
color: #fff;
margin: 0;
padding: 0;
text-align: center;
line-height: 20px;
display: block;
clear: both;
border-top: 3px solid #017477;
border-bottom: 3px solid #017477;
overflow: hidden;
}

#footer-content {
margin: 0 auto;
position: relative;
width: 700px;
padding: 20px 35px 30px 35px;
}

#footer-content:after {clear: both; content: "."; display: block; height: 0; visibility: hidden}

#footer h2 {
color: #fff;
font-size: 14px;
line-height: 20px;
}

#footer a {
font: 11px arial, verdana, helvetica, sans-serif;
color: #a1fbfd;
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: #fcf;
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 {
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}

