/**
 * $Id$
 *
 * Ridge 2000 CSS file for March 2007 redesign
 *
 * @author     Tim Gumto <tgumto@ucsd.edu>
 * @version    $Revision$
 * @license    MIT-style license
 */

/* import stylesheets */
@import url( "/css/dl.css" ) ;
@import url( "/css/tcs.css" ) ;
@import url( "/css/iss.css" ) ;
@import url( "/css/dls.css" ) ;

body {
    background-color: #E0E8EB;
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    text-align: center;
    min-width:900px;
}

p {
    margin: 3px 10px 10px 10px;
    line-height: 1.15em;
}

h1 {
    font-size: large;
    margin: 0 10px 10px 10px;
    padding: 10px 0 0 0;
    border-bottom: 2px solid #045685;
}

h2 {
    font-size: medium;
    margin: 16px 10px 5px 10px;
    border-bottom: 1px solid #9CF;
}

h3 {
    font-size: medium;
    color: #333;
    margin: 20px 10px 5px 10px;
}

h4 {
    font-size: medium;
    font-style: italic;
    color: #666;
    margin: 15px 10px -5px 10px;
}

a:link {
    color: #009;
    text-decoration: none;
}

a:visited {
    color: #933;
    text-decoration: none;
}

a:hover {
    color: #009;
    text-decoration: underline;
}

img {
    border: 0;
}

table {
    /* 
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
    */
    border: 1px solid #ccc;
    width: 95%;
    margin: auto;
    margin-top: 1.0em ;
    margin-bottom: 1.0em ;
}

table caption {
    margin: 0;
    padding: 8px 0px;
    text-align: left;
    font-size: medium;
    font-weight: bold;
    color: #666  ;
}

table th {
    background: #ccc;
    padding: 3px;
    text-align: left;
    vertical-align: top;
}

table thead th, table tfoot th {
    background: #ccc;
    padding: 3px;
    text-align: left;
    vertical-align: top;
}

table th.noBG {
    background: #fff;
    border-bottom: 1px solid #ccc;
}

table td {
    padding: 3px;
    vertical-align: top;
    border-bottom: 1px solid #ccc;
}
table td.last {
    padding: 3px;
    vertical-align: top;
}

#container {
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

#content {
    margin: 20px 6px;
    padding-bottom: 40px;
}

/* footer background color depends on the section you are in
   It can be edited in /ssi/_header.php */
#footer {
    clear: both;
    color: #ffffff;
    font-size: x-small;
    margin: -30px 0 0 0;
    padding-top: 1px;
}
*html #footer {
    margin-top: -40px;
}

#footer li {
    text-transform: uppercase;
}
#footer img {
    padding:6px;
    float:left;
}


#footer_corner {
    background-color: #ffffff;
    display: block;
    height: 10px;
    margin-left: 206px;
    width: inherit;
} 

#footer ul {
    padding-left: 125px;
    text-align: center;
    width: inherit;
}

#footer ul li {
    display: inline;
    padding: 0;
    margin-right: 48px;
    line-height: 2em;
    list-style: none;
}

#footer a {
    padding: 0;
    margin: 0;
    color: #9cf;
    text-decoration: none;
}

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

#footer p {
    display: block;
    padding: 0 24px 6px 125px;
}

#home_highlights {
    height: 310px;
    margin: 4px;
    width: inherit;
}

#home_highlights p {
    background-color: #8bcde8;
    display: block;
    float: left;
    height: inherit;
    margin: 0 10px 0 0;
    padding: 4px;
    width: 468px;
}

* html #home_highlights p {
    height: 225px;
    padding: 0;
    width: 150px;
}

#home_highlights img {
    margin: 0;
    padding: 0;
}

#home_nav {
    font-size: 85%;
    margin-top: 12px;
}

#home_nav img {
    margin-left: -8px;
    padding: 6px 0 4px 0;
}

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

#left_col {
    float: left;
    width: 200px;
}

#main_logo {
    background-color: #E0E8EB;
    margin-top: -4px;
    padding-left: 24px;
    width: 186px;
}

.right {
    float: right;
}

#right_col {
    background-color: #ffffff;
    margin-left: 212px;
}

#top_nav {
    background-color: #E0E8EB;
    padding-left: 185px;
}

#splash_banner {
    padding: 6px 4px 4px 4px;
}

/* fixes positioning bug in IE */
* html #splash_banner {
    margin-right: 3px;
}

.splash_bkgd {
    background-repeat: repeat-x;
}

#wrapper {
    margin: 20px auto;
    /*margin: 20px 10%; */
    text-align: left;
    min-width: 760px;
    /*width: 760px;*/
}

/* navigation menu */
#nav {
    width: 206px;
    padding: 0;
    margin: 4px;
}       
#nav ul {
    margin: 2px 0 0 2px;
    padding: 0;
    list-style: none;
}
#nav ul li {
    background-color: #ffffff;
    border-top: 1px solid #E0E8EB;
    display: block;
    margin: 0;
}       
#nav ul li a {
    border-left: 5px solid #779a72;
    border-right: 5px solid #E0E8EB;
    color: #006;
    display: block;
    padding: 4px 0 4px 11px;
    text-decoration: none;
}
        
/* navtitle */
* html #nav ul li {
    border: 1px solid #E0E8EB;
}

/* navtitle */
#nav .navtitle {
    background: #2b682c;
    color: #fff;
    display: block;
    padding: 4px 0 4px 11px;
    font-weight: bold;
}       

/* add exception for meetings: always a link present */
#nav .meetings a {
    padding: 0 ;
    border: none;
    margin: 0 ;
}

#nav .navtitle a {
    color: #fff;
}

#nav .navtitle a:hover {
    background-color: #779a72;
}

/* add exception for meetings: always a link present */
#nav .meetings a:hover {
    margin: 0;
    margin-left: -5px;
    padding: 0 ;
    background: #2b682c;
}

#nav .last {
    border-bottom: 2px solid #E0E8EB;
}

/* subnav */
#nav .subnav {
    background: #ffc;
    border: 0;
    font-weight: bold;
    margin-left: 10px;
}
        
/* navtitle */
* html #nav .subnav {
    border: 1px solid #E0E8EB;
}

#nav .subnav a {
    font-weight: normal;
}

/* subnav2 */
#nav .subnav2 {
    background: #ffc;
    font-weight: bold;
    margin-left: 20px;
}

#nav .subnav2 a {
    font-weight: normal;
}

/* subnav3 */
#nav .subnav3 {
    background: #ffc;
    font-weight: bold;
    margin-left: 30px;
}

#nav .subnav3 a {
    font-weight: normal;
}

/* dmo */
#nav .dmo {
    background: #fff;
    border: 1px solid #2b682c;
    margin-top: 40px;
    margin-right: 1px;
}

#image_credits ul {
    margin-top: 20px;
}

#image_credits li {
    margin-top: 10px;
}

.clear {
    clear: both;
    line-height: 1px;
}
.news {
    font-weight: bold;
    color: #933;
}       
        
th.news {
    background: #ff9;
    border-bottom: 1px solid #ccc;
}

/* forms */
.form {
    background-color: #f7e3c4;
    float: left;
    padding: 5px;
    margin: 0px auto;
    margin-bottom: 24px;
}
.form + * {
    clear: both;
}

/* 
Smart form requiring no extra clear:both div
See http://www.positioniseverything.net/easyclearing.html
*/
div#content .form {
    width: inherit;
    padding: 5px;
    margin: 0 0 0 10px ;
}

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

div#content .clearfix {
    display: inline-block ;
}

div#content .clearfix {
    display: inline-table ;
}

/* Targets IE-Win only \*/
* html .clearfix {
    height: 1%;
}

div#content .clearfix {
    display: block ;
}       
        
div.row {
    clear: both;
    padding-top: 10px;
    text-align: center ;
    margin: 0 auto ; 
}       

div.row span.label {
    float: left;
    width: 250px;
    text-align: right;
}       
        
div.row span.formw {
    float: right;
    width: 300px;
    text-align: left;
}
        
div.row span.text {
    width: 100%;
    text-align: left;
}       
        
div.row span.mid {
    width: 100%;
    text-align: right;
    margin: 0 auto;
}       

.errortext {
    background: #FFC ;
    color: #900 ;
    font-weight: bold ;
}       

div#portal {
    float: right ;
    border: 1px solid #333 ;
    background-color: #FFC ;
    width: 35% ;
    margin: 0 ;
    margin-right: 5.0em ;
    padding: 1.0em ;
}       
        
.news {
    font-weight: bold;
    color: #933;
}   
    
th.news {
    background: #ff9;
    border-bottom: 1px solid #ccc;
}

#bio {
    width: 300px;
    float: right;
    margin: 0 5px 0 5px;
    padding: 0;
    border: 1px solid #ccc;
}

#bio h6 {
    text-align: center;
    font-size: small;
    background: #ccc;
    padding: 3px;
    margin: 0;
}

.important {
    padding: 3px ;
    background-color: #CCCCCC;
}

.last { 
    margin-bottom: 0;
}

.clearing {
    height: 0;
    clear: both;
}

.bold { 
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.right {
    text-align: right;
}

.hide { 
    display: none;
}
.photoCaption {
    font-size: 80% ;
    color: #333 ;
    margin: 0 ;
    background-color: inherit;
    font-style: italic ;
}

.quote {
    font-size: 110%;
    font-weight: bold;
}
.tdnowrap {
    white-space: nowrap ;
}

/* FOR INLINE IMAGE DIVS */
.inlineimage {
    padding: 5px ;
    border:1px solid #CCC ;
    display: block;
    margin: 0 10px ;
    background-color: #FFF ;
}

.inlineimage p.caption {
    font-style: italic ;
    color: #333 ;
    margin: 0 auto ;
    text-align: center;
}
.inlineimage img {
    margin: 0 auto ;
}

/* EDUCATION AND OUTREACH STYLES */
#eo_rightsidebar {
    background-color: #f9faaf;
    float: right;
    margin: 10px;
    padding: 3px;
    width: 475px;
}
#eo_rightsidebar img {
    margin: 15px;
}
#eo_rightsidebar .pic_border {
    border: 1px solid #006;
    padding: 1px;
}

#expeditions {
    border: 1px solid #fff;
    margin-left: 20px;
    padding: 0;
    width: 700px;
}

#expeditions h2 {
    background: #9f4c3c url(/images/eo/ex_dot.gif) no-repeat top right;
    border: 0;
    color: #f8e4c6;
    padding: 4px;
}

.ex_module h3 {
    margin-top: 10px;
}

.ex_module h3 a {
    color: #9f4c3c;
    padding: 4px;
    width: 180px;
    margin: 0;
    margin-left: 1em;
}

.ex_module h3 a:hover {
    padding: 4px;
}

.ex_module {
    border: 1px solid #9f4c3c;
    height: 4.5em;
    margin: 10px;
}

.ex_module img {
    float: right;
    height: 4.5em;
    margin-left: 6px;
    width: 4.5em;
}

.ex_module p {
    color: #9f4c3c;
    float: right;
    font-size: 90%;
    margin: 6px 10px 0 0;
    padding-left: 6px;
    width: 200px;
}

.ex_student {
    background-color: #f8e4c6; 
}

/* Contact form alert class */
.defaultfade {
    background-color:#E0E8EB;
    border:1px solid #99CCFF;
    font:150% bold;
    padding:5px;
}

