/* Styles for SSRC sub-sites 
 * 
 * 2006-04-20, Christian Niles:
 *    Defined initial structure and layout.
 */

/* ======================================================================== *
 * Page Layout Styles                                                       *
 * ======================================================================== */

/* A top-level <div> containing the entire page contents */
#page {
  font-family: Georgia, Garamond, Times, 'Times New Roman', serif;
  position: relative; /* Fix for IE float: right bug. */
  height: 100%; /* Fixes an IE Bug in which extra space appears when the right
                 * column is longer than the content. */
}

/* The main header area containing the banner image, and the menus */
#banner {
  position: relative;
  height: 128px;
  background-color: #2D5587;
  color: white;
}

#banner_logo {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

#banner_logo_image {
  border: 2px solid white;
}

#banner_title {
  position: absolute;
  bottom: 10px;
  left: 10px;
}

#body {
  position: relative;
  clear: both;
}

#content {
  padding: 15px;
}

/* The base of the page */
#footer {
  clear: both;
}

/* ======================================================================== *
 * Navigation Menus                                                         *
 * ======================================================================== */

#menus {
 position: relative; /* Fix for IE float: right bug. */
}

/* The main site menu */
#site_nav_menu {
}

/* The sub menu for the current area */
#site_sub_menu {
}

.nav_menu {
  margin: 0;
  font: normal 0.85em Verdana, Arial, Helvetica, sans-serif;
}

.nav_menu li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline;
  line-height: 1.1em;
}

.nav_menu li a {
  padding: 3px 0.5em 5px 0.5em;
  margin: 0 0 0 0.25em;
  color: white;
}

#menus .nav_menu {
  border-top: 2px solid #333;
  background-color: #3D4349;
  padding: 5px 0 3px 0;
}

/* Secondary set of links, shown on the right of the main menu */
ul.nav_menu#secondary_nav_menu {
  float: right;
  position: relative; /* Fix for IE float: right bug. */
  padding-right: 7px;
}

#section_sub_menu {
  background-color: #CC6600;
  padding: 3px 0 4px 0;
  border-bottom: 2px solid #993300;
}

#breadcrumb_navigation {
  font: bold 0.85em Verdana, Arial, Helvetica, sans-serif;
}

#breadcrumb_navigation, #breadcrumb_navigation a {
  color: #2D5587;
}

#nav_column .borderless .gutter_box_content {
	background-color:transparent;
}

#nav_column .borderless {
	border:none;
	margin:0em 5px;
}


/* ======================================================================== *
 * Content Styles                                                           *
 * ======================================================================== */

a {
  color: #CC6600;
}

#content_header_nav, #content_footer_nav {
  border-top: 1px solid #CCC;
  font-family: Verdana, Arial, Helvetica, Sans-Serif;
  font-size: 0.9em;
  font-weight: bold;
  padding: 0.125em 0;
  margin: 0.25em 0;
}

p {
  margin: 0;
  padding: 0;
}

#content_body p {
  /* Relative positioning within paragraphs allows margin notes! */
  position: relative;
  margin: 1.2em 0;
}

#page_title {
  font-size: 1.4em;
  font-weight: bold;
  text-align: left;
  margin: 0.25em 0;
}

#content .internal_link_item .link_description, 
#content .internal_link_item .byline,
#content .external_link_item .link_description, 
#content .external_link_item .byline {
    font-size:.95em;
}

#content p.contributor_bio {
  color: #333;
  margin-top: 1em;
  font-family: verdana, arial, helvetica, sans-serif;
  font-style: italic;  
  font-size: 0.9em;
  line-height: 1.3em;
}

#content p.contributor_bio cite {
  font-style: normal;
}

#publish_date {
  color: #333;
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 0.9em;
  line-height: 1.3em;
  font-weight: bold;
}

#content p.note {
  font-size: 0.9em;
  font-family: verdana, arial, helvetica, sans-serif;
  text-align: left;
}

#content .note sup {
  font-weight: bold;
  margin-right: 0.25em;
}

sup.note_ref {
  font-weight: bold;
}

.margin_note {
  position: absolute;
  right: -190px;
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 0.8em;
  color: #666;
  width: 180px;
  line-height: 1.3em;
  text-align: left;
}

pre {
  font-family: 'Andale Mono', monospace;
}

.affiliations {
  font-style: italic;
}

div.figure table {
  border: 1px solid #CCC;
  margin: 0px auto;
}

div.figure table caption {
  caption-side: bottom;
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 0.8em;
  line-height: 1.3em;
  margin: 0px auto;
}


#gutter table[style="float: right;"], 
#content_body table[style="float: right;"], table[align="right"] {
	font-family:Arial, Helvetica, sans-serif;
	font-size:0.95em;
	margin: .15em 0px .5em .5em;
}

#gutter table[style="float: left;"], 
#content_body table[style="float: left;"], table[align="left"] {
	font-family:Arial, Helvetica, sans-serif;
	font-size:0.95em;
  	margin: .15em .5em .5em 0em;
}

#gutter table[style="float: right;"] td, 
#content_body table[style="float: right;"] td, table[align="right"] td  {
	padding-left: .5em;
}

#gutter table[style="float: left;"] td, 
#content_body table[style="float: left;"] td, table[align="left"] td   {
  	padding-right: .5em;
}

#gutter table img, #content_body table img, table img {
	border:#ccc none 1px;
}

table.figure {
  margin-top:.5em;
  margin-bottom:.5em;
  width:1px;
}

/* IE bug fix */

table.figure img {
	*margin-left:.5em;
}

table.figure tfoot td {
	*padding-left:.5em;
}

/* end IE bug fix */

table.figure tfoot {
	font-family:Arial, Helvetica, sans-serif;
	font-size:.75em;
	line-height:1em;
}

table.figure tfoot p {
	margin-top:.5em;
	line-height:1em;
}

/* ======================================================================== *
 * Reusable Element Styles                                                  *
 * ======================================================================== */


/* STORY LIST STYLES */

ul.story_list {
  margin: 5px 0 5px 15px;
  padding: 0;
}

ul.story_list li {
  list-style-type: none;
  padding: 5px 0;
}

/* TITLED AREA STYLES */

div.area_title {
  font-size: 1.5em;
  font-family: Georgia, Garamond, Times, 'Times New Roman', serif;
  padding: 5px;
}

div.area_title a {
  color: black;
  font-weight: normal;
  text-decoration: none;
}

div.titled_area_content {
  border-top: 3px double #CCC;
}

/* Section Titles */
h2.section_title, div.section h2.title {
  font-size: 1.05em;
  font-weight: bold;
  padding: 0;
  margin-left: 0;
}

/* FOCUS BOX STYLES */
.gutter_box {
  margin: 1.5em 5px 2em 5px;
  border: 1px solid #85A2B4;
}

.gutter_box_title {
  background-color: #E6E6E6;
  border-bottom: 1px solid #85A2B4;
  font-weight: bold;
  padding: 5px;
  position: relative; /* Fixes a display bug in IE. */
}

.gutter_box_content {
  padding: 5px;
  padding-top: 1em;
  background-color: #f6f6f6;
}

.gutter_box_item {
  margin-bottom: .5em;
}

.internal_link_item, .external_link_item {
	padding-bottom:0.64em;
	padding-top:0.18em;
}