/* Sections are primary containers that typically fill the entire width of
 * a page and break down the major in-page areas. We highlight the first
 * heading (h1 or h2) in a section to ensure the division is obvious.
 *
 * <section>
 *   <h2><strong>Section Title</strong></h2>
 *   ... remaining content ...
 * </section>
 */
section {
  margin-bottom: 2em;
  *zoom: 1;
  /* Section introduction */ }
  section:after {
    content: "";
    display: table;
    clear: both; }
  section > header {
    clear: both;
    text-align: center;
    position: relative;
    top: -25px; }
    section > header h1 {
      color: white;
      font-size: 21px;
      letter-spacing: 0.05em;
      text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
      background-image: url('//media.gadventures.com/media-server/static/g/css/images/banner-hp-bg-all.png?9d5f174b0a5b'), url('//media.gadventures.com/media-server/static/g/css/images/banner-hp-bg-all.png?9d5f174b0a5b');
      background-position: top left, bottom right;
      background-repeat: no-repeat;
      display: inline-block;
      min-width: 200px;
      line-height: 50px;
      padding: 0 60px;
      margin: 0; }
      section > header h1 a, section > header h1 a:hover, section > header h1 a:link, section > header h1 a:visited {
        color: #FFF; }
    section > header h2 {
      font-size: 1.2em;
      margin-top: 0;
      text-transform: none; }
  section > div.text {
    padding: 1em;
    font-size: 1.2em;
    line-height: 1.2em; }

/* An aside contains content that is tangentially related to the article in 
 * which it is contained. It is used to highlight additional related content.
 * An aside is contained within a section and/or article, therefore, it's first
 * heading likely starts at h3.
 */
section aside > div {
  background: #efefef;
  clear: none;
  margin: -10px 7px 5px 7px;
  padding: 5px 15px 20px 15px; }

section aside > header h1 {
  color: white;
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 1em;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
  background-color: #4a4a4a;
  width: 100%;
  display: inline-block;
  margin: 0 0 7px 0;
  padding: 6px 0 6px 0;
  font-size: 1.1em; }

section aside > header {
  background-image: url('//media.gadventures.com/media-server/static/g/css/images/banner-hp-wrap-corners.png?4f1d7fca93de'), url('//media.gadventures.com/media-server/static/g/css/images/banner-hp-wrap-corners.png?4f1d7fca93de');
  background-position: bottom left, bottom right;
  background-repeat: no-repeat;
  display: block;
  background-color: #efefef;
  text-align: center;
  width: 100%; }

section aside h2 {
  margin-bottom: 0;
  font-size: 1.2em;
  text-transform: capitalize; }

section aside p {
  font-size: 0.9em;
  padding: 0 0 5px 0; }

/* A fancy list with a header, including a count, title & subtitle.
 * <article role='list'>
 *   <header>
 *      <span>{{ count }}</span>
 *      <hgroup><h3>Title</h3><h4>Sub-title</h4></hgroup></header>
 *   <ul>...</ul>
 * </article>
 */
article[role='list'] hgroup {
  left: 15px;
  list-style: none;
  margin: 0;
  padding-top: 2px;
  position: relative; }

article[role='list'] hgroup h4, hgroup h5 {
  margin: 0;
  padding-bottom: 5px; }

article[role='list'] header {
  color: white;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
  background-color: #4A4A4A;
  width: 100%;
  letter-spacing: 0.05em;
  line-height: 1em;
  display: block;
  position: relative;
  margin: 0 0 7px 0;
  padding: 6px 0 6px 0; }

/* Add the little shadows under the left and right side of the
 *  header to give a 3d appearance 
 */
article[role='list'] header:before,
article[role='list'] header:after {
  content: '';
  background-image: url('//media.gadventures.com/media-server/static/g/css/images/banner-hp-wrap-corners.png?4f1d7fca93de');
  background-repeat: no-repeat;
  display: block;
  position: absolute;
  bottom: -5px;
  width: 10px;
  height: 7px; }

article[role='list'] header:before {
  background-position: bottom left;
  left: 0; }

article[role='list'] header:after {
  background-position: bottom right;
  right: 0; }

/* The number of items in the list is in a span tag in the header */
article[role='list'] header h4 {
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.9em; }
article[role='list'] header h5 {
  font-size: 1.1em;
  text-transform: uppercase; }
article[role='list'] header span {
  color: white;
  font-size: 45px;
  font-family: 'MuseoSlab900','Rokkitt',serif;
  letter-spacing: 0.05em;
  line-height: 1em;
  margin-left: 20px;
  padding-right: 10px;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
  border-right: #fff dotted 1px;
  float: left; }
article[role='list'] ul {
  list-style: none;
  background: #fff;
  margin: -10px 7px 10px 7px;
  padding: 12px 10px 15px 10px;
  border: 2px solid #4a4a4a;
  font-size: 0.9em; }
  article[role='list'] ul li {
    *zoom: 1;
    list-style: none;
    margin: 0;
    padding: 10px 5px 0 5px;
    border-bottom: 1px #efefef solid; }
    article[role='list'] ul li:after {
      content: "";
      display: table;
      clear: both; }
    article[role='list'] ul li a {
      display: block;
      height: 15px;
      line-height: 15px;
      margin-right: 70px; }
    article[role='list'] ul li strong, article[role='list'] ul li span {
      display: block;
      position: relative;
      top: -1em;
      float: right;
      clear: right;
      width: 60px; }
    article[role='list'] ul li strong {
      top: -1.1em; }
  article[role='list'] ul li:last-child {
    border: none; }

/* Grid general ************/
.span2 {
  width: 140px;
  margin-left: 10px;
  margin-right: 10px;
  float: left; }

.span4 {
  width: 300px;
  margin-left: 10px;
  margin-right: 10px;
  float: left; }

.span6 {
  width: 460px;
  margin-left: 10px;
  margin-right: 10px;
  float: left; }

.span8 {
  width: 620px;
  margin-left: 10px;
  margin-right: 10px;
  float: left; }

.span10 {
  width: 780px;
  margin-left: 10px;
  margin-right: 10px;
  float: left; }

.span12 {
  width: 960px;
  float: left; }

#main-banner {
  width: 100%;
  max-width: 650px;
  height: 300px;
  position: relative;
  overflow: hidden;
  float: right; }

#main-banner-tabs {
  position: absolute;
  z-index: 10;
  bottom: 10px;
  left: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-image: none; }

#main-banner-tabs li {
  display: inline-block;
  list-style: none;
  list-style-image: none;
  padding: 0;
  margin: 0;
  zoom: 1;
  /* IE6 & 7 */
  *display: inline;
  /* IE6 & 7 */
  margin-right: 2px; }

#main-banner-tabs li a {
  background-color: #5A4099;
  color: #FFF;
  display: block;
  padding: 3px 5px; }

#main-banner-tabs li a.current {
  background-color: #FFF;
  color: #5A4099; }

#main-banner #main-banner-next {
  border-left: 1px solid #FFF;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0; }

#main-banner-panes {
  position: relative; }

#main-banner-panes div {
  display: block;
  float: left;
  width: 650px; }

#main-banner-panes .items {
  clear: both;
  position: absolute;
  width: 20000em; }

#main-banner a#main-banner-next.next {
  background: #8cb807;
  content: "";
  height: 300px;
  width: 25px; }

#main-banner a#main-banner-next.next img.next-arrow {
  left: 6px;
  position: relative;
  top: 135px; }

/* The top section shouldn't have a border on the homepage */
section#opener {
  border: none; }

/* Safety alerts section */
section#homepage-alert {
  border: none;
  clear: both;
  margin: 1em 0; }

/* Add a nice gradient and padding around the video content */
section.videogallery {
  background-image: linear-gradient(bottom, white 0%, white 58%, #efefef 100%);
  background-image: -o-linear-gradient(bottom, white 0%, white 58%, #efefef 100%);
  background-image: -moz-linear-gradient(bottom, white 0%, white 58%, #efefef 100%);
  background-image: -webkit-linear-gradient(bottom, white 0%, white 58%, #efefef 100%);
  background-image: -ms-linear-gradient(bottom, white 0%, white 58%, #efefef 100%);
  background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, white), color-stop(0.58, white), color-stop(1, #efefef));
  padding: 5px; }

/* Introduction ************/
#item-homepage-g-difference {
  /* The trinity - brand selling points */ }
  #item-homepage-g-difference p {
    line-height: 1.5em; }
  #item-homepage-g-difference ul {
    list-style: none;
    margin-left: -20px;
    padding: 0; }
    #item-homepage-g-difference ul li {
      border-right: 1px dotted #cccccc;
      float: left;
      height: 95px;
      list-style: none;
      margin: 0;
      width: 170px;
      padding: 0 15px 10px 20px; }
    #item-homepage-g-difference ul li:last-child {
      border: none; }
    #item-homepage-g-difference ul li strong {
      font-size: 1.2em;
      font-weight: bold;
      margin: 0;
      text-transform: uppercase; }
    #item-homepage-g-difference ul li p a {
      font-size: 1.1em;
      font-weight: normal;
      text-transform: none; }

/* Blog posts ************/
.blogposts article {
  width: 33%;
  float: left;
  margin-bottom: 1em; }
  .blogposts article img {
    display: inline-block;
    float: left;
    margin-right: 1em; }
  .blogposts article h3 {
    font-size: 1em;
    line-height: 1em;
    text-transform: none;
    margin-top: 0; }
  .blogposts article span.date {
    color: #888888;
    display: block;
    font-size: 0.8em; }
