/**
 * Natural History Magazine: Page layout
 *
 * Colors
 * =====================
 * Light Putty #f4f1e7
 * Putty       #eeeecc
 * Dark Putty  #efeec6
 * Light Blue  #dbeefe
 * Bright Blue #338cff
 * Blue        #0059be
 * Dark Blue   #093d72
 * Light Grey  #efefef
 * Grey        #b6babd
 *             #70707b
 * Medium Grey #404049
 * Dark Grey   #1a1c1d
 * Black       #000
 * Orange      #fb9d32
 * Red         #e60606
 *
 * Font Stacks
 * =====================
 * Body      Arial, Helvetica Neue, Helvetica, sans-serif;
 * Headlines Georgia,"Times New Roman",Times,serif;
 * Input     Arial, Helvetica Neue, Helvetica, sans-serif;
 *
 * 
 * Custom Blueprint Gird
 * =====================
 * Columns      24
 * Page Width   974px
 * Column Width 31px
 * Margin Width 10px
 */


body {
  margin: 0;
  padding: 0;
  font-family: Arial;
  background: #eee url('../../resources/img/page/page-bg-gradient.png') repeat-x top left;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,td {
  padding: 2px 4px;
  vertical-align: top;
}

thead th {
  border-bottom: #d5d57e 2px solid;
}

td {
  border-bottom: #d5d57e 1px solid;
}

tr.odd {
  padding: 5px 3px;
}

tr.even {
  padding: 5px 3px;
}

thead th {
  padding-right: 0;
}

thead div.sticky-header {
  width: auto !important;
}



/**
 * Utilty classes
 */

.normal {
  font-weight: normal;
}

.utility {
  float: right;
}

ul.horiz li,
dl.horiz dt,
dl.horiz dd { 
  display:inline;
}

ul.horiz {
  margin-left: 0;
}

.highlight {
  background-color: #eeeecc;  
}

.tile-1col .tile-content .highlight h3 {
  margin-bottom: 20px;
}

.more {
  padding-right: 10px;
  background: url('/sites/all/themes/naturalhistory/resources/img/ui/more-arrow.png') no-repeat top right;
  _background: url('/sites/all/themes/naturalhistory/resources/img/ui/more-arrow.gif') no-repeat top right;
}


/** 
 * Blueprint overrides 
 */

.box {
  margin: 0;
  padding: 10px;
  background-color: transparent;
}


/**
 * Type styles
 */

.sectionhead {
  font-size: 1.4em;
  font-weight: bold;
  color: #0059be;
  margin-bottom: 10px;
}


/**
 * Page regions 
 */

#pageheader {
  background-color: #eeeecc;
}

#pagebodywrapper {
  float: left;
  width: 974px; 
  overflow: hidden;
  border-width: 1px 0;
  border-style: solid;
  border-color: #b6babd;
}

#pagelogo {
  float: left;
  width: 236px;
}

#pagelogo a {
  margin-top: 10px;
  display: block;
  width: 240px;
  height: 90px;
  background: transparent url('../../resources/img/branding/nh-logo.png') no-repeat top left;
  _background-image: url('../../resources/img/branding/nh-logo.gif');
  text-indent: -999em;
}

#toprow {
  border-width: 1px 0;
  border-style: solid;
  border-color: #b6babd;
}

#bottomrow {
}

#contentwell {
  float:left;
  padding: 0;
  margin-right: 0;
  width: 656px;
  _width: 646px;
}

#rail {
  float: left;
  width: 318px;
  background: transparent url('../../resources/img/page/rail-bg.png') repeat-y top left;
  padding-bottom: 999em;
  margin-bottom: -999em;
}

#pagefooter a {
  float: left;
  color: #404049;
}

#footermenu {
  float: left;
  width: 974px; 
  margin: 0;
}

#footermenu .box {
  padding: 10px 0;
}


/**
 * Content tiles, regions in the content well with dropshadow backgrounds 
 */

.tile {
  float: left;
  width: 656px;
  margin-top: 5px;
}

.tile .promotion {
  margin: 0;
  padding: 0;
  border-width: 0;
}

.tile .box {
  float: left;
  margin: 0;
  padding: 0 10px;
}

.tile-head * {
  margin: 0;
  padding: 0;
}

.tile-foot,
.tile-comments-foot {
  float: left;
  width: 656px;
  height: 3px;
  _font-size: 1px;
}


/**
 * Types and vairations:
 * - slideshow
 *     - video: slideshow + dark background
 * - 1col
 *     - 1col with comment footer
 * - 2col
 */

/**
 * Slideshow 
 */

.tile-slideshow {
  margin-top: 10px;
}

.tile-slideshow .tile-head,
.tile-video .tile-head {
  float: left;
  width: 623px;
  background: transparent url('../../resources/img/page/tile-bg.png') no-repeat top left;
  _background-image: url('../../resources/img/page/tile-bg.gif');
  padding: 1px 23px 0 10px;
  _font-size: 1px;
}

.tile-slideshow .tile-content,
.tile-video .tile-content {
  float: left;
  width: 644px;
  background: transparent url('../../resources/img/page/tile-bg-mid.png') repeat-y top left;
  _background-image: url('../../resources/img/page/tile-bg-mid.gif');
  padding: 0 11px 0 1px;
}

.tile-slideshow .tile-foot,
.tile-video .tile-foot {
  background: transparent url('../../resources/img/page/tile-bg.png') no-repeat bottom left;
  _background-image: url('../../resources/img/page/tile-bg.gif');
}


/**
 * Slideshow: video overrides 
 */

.tile-video {
  color: #fff;
}

.tile-video .title {
  margin-top: 10px;
  margin-left: 10px;
}

.tile-video .rss {
  position: relative;
  float: right;
  margin-top: 10px;
  margin-right: 10px;
}

.tile-video .tile-head {
  background: transparent url('../../resources/img/page/tile-video-bg.png') no-repeat top left;
  _background-image: url('../../resources/img/page/tile-video-bg.gif');
}

.tile-video .tile-content {
  background: transparent url('../../resources/img/page/tile-video-bg-mid.png') repeat-y top left;
  _background-image: url('../../resources/img/page/tile-video-bg-mid.gif');
}

.tile-video .tile-foot {
  background: transparent url('../../resources/img/page/tile-video-bg.png') no-repeat bottom left;
  _background-image: url('../../resources/img/page/tile-video-bg.gif');
}


/**
 * 1col 
 */

.tile-1col {
  margin-top: 10px;
  margin-bottom: 6px;
}

.tile-1col .tile-head {
  float: left;
  width: 623px;
  background: transparent url('../../resources/img/page/tile-bg.png') no-repeat top left;
  _background-image: url('../../resources/img/page/tile-bg.gif');
  padding: 3px 23px 0 10px;
}

.tile-1col .tile-content {
  float: left;
  width: 623px;
  background: transparent url('../../resources/img/page/tile-bg-mid.png') repeat-y top left;
  _background-image: url('../../resources/img/page/tile-bg-mid.gif');
  padding: 0 23px 5px 10px;
}

.tile-1col .tile-foot {
  background: transparent url('../../resources/img/page/tile-bg.png') no-repeat bottom left;
  _background-image: url('../../resources/img/page/tile-bg.gif');
}

.tile-1col .tile-comments-head {
  float: left;
  width: 623px;
  background: transparent url('../../resources/img/page/tile-comments-bg.png') no-repeat top left;
  _background-image: url('../../resources/img/page/tile-comments-bg.gif');
  padding: 10px 23px 0 10px;
}

.tile-1col .tile-comments {
  float: left;
  width: 623px;
  background: transparent url('../../resources/img/page/tile-comments-bg-mid.png') repeat-y top left;
  _background-image: url('../../resources/img/page/tile-comments-bg-mid.gif');
  padding: 0 23px 5px 10px;
}

.tile-1col .tile-comments-foot {
  background: transparent url('../../resources/img/page/tile-comments-bg.png') no-repeat bottom left;
  _background-image: url('../../resources/img/page/tile-comments-bg.gif');
}


/**
 * 2col 
 */

.tile-2col .tile-head {
  float: left;
  width: 655px;
  background: transparent url('../../resources/img/page/tile-2col-bg.png') no-repeat top left;
  _background-image: url('../../resources/img/page/tile-2col-bg.gif');
  padding: 10px 0 0 0;
  _padding: 0 0 0 0;
}

.tile-2col .tile-content {
  float: left;
  width: 656px;
  background: transparent url('../../resources/img/page/tile-2col-bg-mid.png') repeat-y top left;
  _background-image: url('../../resources/img/page/tile-2col-bg-mid.gif');
  padding-bottom: 5px;
}

.tile-2col .tile-foot {
  background: transparent url('../../resources/img/page/tile-2col-bg.png') no-repeat bottom left;
  _background-image: url('../../resources/img/page/tile-2col-bg.gif');
}

/* tile overrides: must be after tile classes */
.collapse {
  margin-top: 0 !important;
}


/**
 * Plain 
 */

.tile-plain .promotion {
  border-width: 0;
  background-color: transparent;
}

.tile-plain .promotion .box {
  margin-top: 20px;
  padding: 0;
}


/**
 * Blog page 
 */

.blog-page .tile-1col .tile-head {
  background: transparent url('../../resources/img/page/tile-blog-bg.png') no-repeat top left;
  _background-image: url('../../resources/img/page/tile-blog-bg.gif');
}

.blog-page .tile-1col .tile-content {
  background: transparent url('../../resources/img/page/tile-blog-mid.png') repeat-y top left;
  _background-image: url('../../resources/img/page/tile-blog-mid.gif');
}

.blog-page .tile-1col .tile-foot {
  background: transparent url('../../resources/img/page/tile-blog-bg.png') no-repeat bottom left;
  _background-image: url('../../resources/img/page/tile-blog-bg.gif');
}


/** 
 * 2 columns tile promotions
 */

.intro-large {
  margin-top: 8px;
  width: 100%;
  float: left;
}

.row {
  float: left;
}

.intro-thumb {
  float: left;
  margin-top: 10px;
  margin-right: 10px;
  width: 306px;
}

.row .last {
  margin-right: 0;
}

.intro-large .media-left, 
.intro-thumb .media-left {
  margin: 0 10px 0 0;
}

.intro-large {
  padding-bottom: 10px;
  border-bottom: 1px solid #efefef;
}

.promotion .intro-story {
  width: 290px; 
}

.intro-story .story-header {
  float: left;
  width: 145px;
  margin: 0;
}

.intro-story .story-info {
  display: block;
  float: none;
}

.intro-story h3 {
  margin: 5px 0;
  font-size: 1.4em;
  font-weight: bold;
}

.intro-story h3 a {
  color: #000;
  text-decoration: none;
}

.intro-story h3 a:hover {
  color: #338cff;
}

.intro-story p {
  line-height: 1.1em;
  margin: 0;
}

ul.intro-list {
  margin-top: 10px;
  margin-left: 10px;
  width: 290px;
  padding: 0;
  float: left; 
}

ul.intro-list {
  list-style: url('/sites/all/themes/naturalhistory/resources/img/ui/list-arrow.png');
  _list-style: url('/sites/all/themes/naturalhistory/resources/img/ui/list-arrow.gif');
}

.intro-list h4 {
  margin: 5px 0 0 0;
  font-size: 1.4em;
  font-weight: bold;
}

.intro-list h4 a {
  color: #000;
  text-decoration: none;
}

.intro-list h4 a:hover {
  color: #338cff;
  text-decoration: none;
}

.intro-list p {
  font-size: 11px;
  line-height: 1.1em;
}


/**
 * Right rail promo boxes, colored background with top and bottom rules
 */

.promotion {
  border-width: 1px 0;
  border-style: solid;
  border-color: #b6babd;
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.3em;
  color: #70707b;
  background-color: #fff;
}

.promotion .box {
  padding: 5px;
}

.promotion .teaser {
  margin-bottom: 10px;
}

.promotion .teaser a {
  color: #333;
  font-weight: bold;
  margin-bottom: 10px;
}

.promotion a {
  text-decoration: none;
  color: #0059be;
}

.promotion a:hover {
  text-decoration: underline;
}

.promotion h3 {
  padding-top: 5px;
}

#rail .promotion h3 {
  font-size: 1em;
  line-height: 1.5em;
}

.promotion h3 a {
  font-weight: bold;
  color: #333;
}

.interview {
  background-color: #333;
}

.interview img {
  border: 1px solid #fff;
  padding: 0;
  margin: 0 10px 0 0;
}

.interview table,
.interview td {
  margin: 0;
  padding: 0;
  border-width: 0 !important;
}

.interview .sectionhead, 
.interview .sectionhead a {
  font-weight: normal;
  color: #f4f1e7 !important;
}

.interview p {
  padding-top: 5px;
  font-size: 1em;
  line-height: 1.5em;
  font-weight: bold;
  color: #fff;
}


/**
 * Specific promo boxes 
 */

#emailnewsletter {
  background-color: #dbeefe;
}

#factotem {
  background-color: #eeeecc;
}

.blogicon {
  float: left;
  margin-top: 5px;
  margin-right: 5px;
  width: 33px;
  height: 33px;
  background: transparent url('../../resources/img/branding/factotem-icon-sm.png') no-repeat top left;
  _background-image: url('../../resources/img/branding/factotem-icon-sm.gif');
}

.promotion-plain {
  margin-top: 10px;
}

.promotion-plain .sectionhead {
  margin-left: -5px;
  margin-bottom: 0;
}

.promotion-plain ul.intro-list {
  width: 135px;
  float: none;
}

.promotion-plain ul.intro-list li {
  font-size: .8em;
}

.block-similar div.item-list ul {
  margin: 0;
  padding: 0;
}

.block-similar div.item-list li {
  padding-bottom: 5px;
}

.block-similar div.item-list li a {
  margin: 0;
  padding: 0;
  font-size: 1em;
}

.block-similar .content {
  margin-bottom: 20px;
}


/**
 * Adbox styles
 */

.adlabel {
  font-size: 9px;
  line-height: 1em;
  margin-top: 1px;
}

#pageheader .adbox {
  float: left;
  width: 728px;
  padding: 0 5px 10px 0;
}

#pageheader .adbox img {
  float: left;
}

#pagefooter .adbox {
  background-color: #fff;
  border-bottom: 1px solid #b6babd;
}

#footer {
  margin-bottom: 20px;
}

#rail .adbox {
  margin-bottom: 10px;
  padding: 0;
  line-height: 0;
  background-color: red;
}

#rail .adbox * {
  margin: 0;
  padding 0;
}

#ad-footer {
  text-align: center;
}

#ad-footer .image-advertisement {
  float: left;
  margin: 12px;
}

#ad-footer .advertisement-space {
  float: left;
  margin: 0;
  padding: 0;
}

#ad-footer .ad-image-counter {
  margin: 0;
  padding: 0;
  width: 1px;
  height: 1px;
  float: left;
  font-size: 1px;
  line-height: 1px;
}


/**
 * Media list view styles
 */

.media-list-item {
  float: left; 
  padding: 10px; 
  height: 250px; 
  width: 150px;
  overflow: hidden;
}

.media-list-item * {
  font-size: 11px;
}

.media-header {
  padding: 5px;
  background-color: #efeec6;
}

.media-header * {
  margin: 0;
}


/**
 * Video Thickbox 
 */

.hidden-video {
  display: none;
}

.video-inner {
  padding: 5px 0;
}

.video-inner p {
  margin: 0;
}


/**
 * Story
 */

.story-header {
  float: left;
  width: 100%;
  margin-bottom: 20px;
}

.story-info {
  float: left;
  font-size: 10px;
  text-transform: uppercase;
  color: #70707b;
}

.story-info a {
  color: #70707b;
}

.story-links {
  float: right;
  width: 50%;
  text-align: right;
}

.story-links a { color: #70707b; }

.story-links a, 
.story-links a:hover {
  text-decoration: none;
}

.story-links div {
  margin-left: 10px;
  display: inline;
}

.story-title {
}

.story-author {
  margin-bottom: 20px;
}

.view-author-stories h3 {
  margin-bottom: 0;
}

.view-author-stories p {
  margin-bottom: 1em;
}

.sidebar {
  background-color: #efeec6;
  float: left;
  width: 164px; 
  font-size: .9em;
  margin: 5px 10px 5px 0;
  padding: 5px;
}


/**
 * Page 
 */

.page-header {
  float: left;
  width: 100%;
  margin-top: 8px;
  margin-bottom: 10px;
}

.page-info h1 {
  font-size: 1.8em;
  font-weight: normal;
  color: #b6babd;
}

.page-info {
  float: left;
  color: #70707b;
}

.page-links {
  float: right;
  width: 35%;
  text-align: right;
}


/**
 * In Print
 */
 
ul.inprint-years,
ul.inprint-years li {
  padding-left: 0;
  padding-bottom: 10x;
  margin-right: 10px;
  list-style: none;
  display: inline;
  font-size: 1.4em;
  line-height: 1.6em;
}

.inprint-years a {
  color: #338cff;
}


/**
 * Bookshelf order link
 */

.book {
  width: 116px; 
  margin: 10px 10px 5px 0; 
  float: left;
}

.book .orderlink {
  clear: both; 
  padding-top: 5px;
}

.bookshelf-row {
  margin-bottom: 40px;
}


/**
 * Search results
 */

.search-result {
  border-bottom: 1px solid #b6babd;
  padding: 10px 0;
}

.search-result .story-info {
  display: block;
  float: none;
  margin: 0;
}

.search-result h3 {
  margin: 0;  
}

.search-result p {
  margin: 0;  
}


/**
 * Print and email form
 */

#print-mail-form {
  margin-bottom: 20px;
}

#print-mail-form textarea {
  width: 40em;
  height: 4em;
}

#print-mail-form input.form-text {
  width: 40em;
}

#print-mail-form label.printmail-label {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
}


