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

body {
background: #025899 url(images/bg01.gif) top center repeat-x;
margin: 0px;
font: 11px tahoma, arial, verdana, helvetica, sans-serif;
color: #000;
line-height: 20px;
}

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

tr, td, th { 
padding: 0; 
vertical-align: top;
font: 11px tahoma, arial, verdana, helvetica, sans-serif;
color: #000;
line-height: 20px;
}

a {
color: #369; 
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 tahoma, trebuchet ms, sans-serif;
letter-spacing: -.03em;
color: #39c;
margin: 20px 0 10px 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;
}

img {border: none;}

p {margin: 0 0 10px 0;}


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

#nav ul {
width: 770px;
}

#nav li {
float: left;
}

/*  Sets styles for all links that are inside the ul id="nav" */
#nav a {
height: 45px;
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); width: 130px;}
#doctor_login {background: url(images/nav_doctor_login.gif); width: 129px;}
#office {background: url(images/nav_office.gif); width: 101px;}
#ortho {background: url(images/nav_ortho.gif); width: 101px;}
#emergency {background: url(images/nav_emergency.gif); width: 138px;}
#contact {background: url(images/nav_contact.gif); width: 105px;}
#home {background: url(images/nav_home.gif); width: 66px;}

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

/* 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: -10px 0 0 0;
padding: 0;
width: 150px;
position: absolute;
background: #6b5526;
left: -999em;
line-height: 25px;
height: auto;
}

#nav li ul a {
padding: 0 0 0 10px;
width: 140px;
color: #f6e5b2;
text-indent: 0;
text-decoration: none;
line-height: 25px;
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: #5f4a1d;
}


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

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

#header {
height: 220px;
}

#main {
background-color: #d3edf7;
}

#sidebar {
width: 130px;
background: #d3edf7 url(images/bg_sidebar.gif) repeat-x;
color: #039;
float: left;
padding: 30px 0 30px 20px;
min-height: 355px;
}

#content {
background: #d3edf7 url(images/bg_content.gif) repeat-x;
float: left;
width: 580px;
padding: 30px 20px 30px 20px;
line-height: 20px;
min-height: 355px;
}

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

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

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

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


/* FOOTER
-----------------------------------------*/
#footer {
height: 100px;
background: url(images/bg_footer.gif) no-repeat;
border-bottom: 5px solid #6d5425;
color: #fee396;
padding: 40px 0 40px 0;
margin: 0 0 30px 0;
text-align: center;
clear: both;
vertical-align: middle;
line-height: 16px;
overflow: hidden;
}

#footer h2 {
font: normal 14px tahoma, "trebuchet ms", arial, verdana, helvetica, sans-serif;
color: #422c01;
line-height: 18px;
font-weight: bold;
letter-spacing: 0;
}

#footer a {
color: #fee396;
text-decoration: underline;
}

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

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

#flash_standards {
background: transparent;
font-size: 10px;
color: #333;
text-align: center;
padding: 20px 0;
}


/* SESAME
-----------------------------------------*/
p#sesame {
padding: 14px 0 0 0; 
}

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

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