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

body {
background: #1593a4 url(images/bg01.gif) repeat-x;
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: #369; 
text-decoration: underline;
}

a:hover {
text-decoration: none;
}

h1 {
background-repeat: no-repeat; 
height: 50px; /* 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 20px georgia, times, serif;
letter-spacing: -.03em;
color: #146d80;
line-height: 28px;
margin: 18px 0;
}

h3 {
font: normal 16px trebuchet ms, sans-serif;
color: #666;
margin: 10px 0;
}

ul {
margin-top: 0;
margin-left: 20px;
}

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

.caption {
font-size:10px;
font-style:italic;
margin-right:10px;
}

img {border: none;}

p {margin: 0 0 10px 0;}


/* LOGO
----------------------------------------*/
.logo { letter-spacing : -1000em; 
text-indent : -999em; 
overflow : hidden;
padding: 0;
margin: 50px 0 0 50px;
width: 225px;
height: px;
background: transparent;
float: left;
}
/* End of hack */

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


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

#nav {
margin: 0 0 30px 0;
}

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

/* Set the image for each nav item */
#about-our-office {background: url(images/nav-about-our-office.gif);}
#about-orthodontics {background: url(images/nav-about-orthodontics.gif);}
#braces-101 {background: url(images/nav-braces-101.gif);}
#emergency-care {background: url(images/nav-emergency-care.gif);}
#the-game-room {background: url(images/nav-the-game-room.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: -210px 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 195px;
padding: 0;
width: 160px;
position: absolute;
background: #f5eeb0;
left: -999em;
line-height: 25px;
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: 150px;
color: #968a41;
text-indent: 0;
text-decoration: none;
line-height: 25px;
height: auto;
border-bottom: 1px solid #e6e0a1;
}

#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: #5aa5b4;
}


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

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

#main {
background: url(images/bg-main.jpg) no-repeat;
min-height: 800px;
}

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

#sidebar {
color: #fff;
position:absolute;
left:0px;
width: 210px;
padding: 0;
margin: 0 0 20px 0;
}

#contact-info {
background: url(images/bg-contact-info.gif) no-repeat;
color: #146d80;
float: left;
width: 210px;
height: 147px;
padding: 12px 0 0 25px;
clear: both;
vertical-align: middle;
line-height: 20px;
overflow: hidden;
}

.ad {
margin: 20px 0 0 25px;
}

#content {
margin-left: 230px;
width: 520px;
padding: 30px 0 20px 0;
font: 12px arial, verdana, helvetica, sans-serif;
color: #333;
line-height: 24px;
}

.img {
background-color: #fff;
padding: 4px;
border: 1px solid #98dae3;
margin: 0 10px 20px 0;
clear: both;
}

.img-left {
background-color: #fff;
padding: 4px;
border: 1px solid #98dae3;
float: left;
margin: 0 20px 20px 0;
clear: both;
}

.img-right {
background-color: #fff;
padding: 4px;
border: 1px solid #98dae3;
float: right;
margin: 0 0 20px 20px;
clear: both;
}

.img-left-noclear {
background-color: #fff;
padding: 4px;
border: 1px solid #98dae3;
float: left;
margin: 0 0 20px 10px;
}

#site-map {font-weight: bold;}
#site-map .sub {font-weight: normal;}



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

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

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

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

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


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

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

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