@import "global";

.hero
{
  position: relative;
  color: white;
  padding-top: $spacing-vertical;
  padding-bottom: $spacing-vertical;
  blockquote
  {
    border-left: 10px solid rgba(180, 180, 180, 0.3);
    padding: 0 15px;
    font-size: 1.5em;
    &.blockquote-large
    {
      max-width: 600px;
      display: block;
      margin-left: auto;
      margin-right: auto;
      font-size: 2.0em;
    }
    + cite
    {
      margin-top: $spacing-vertical;
    }
  }
  cite
  {
    color: #ddd;
    display: block;
    text-align: right;
    font-style: italic;
    em
    {
      font-style: normal;
    }
    &:before
    {
      color: #aaa;
      content: "— ";
    }
  }
  a[href]
  {
    text-decoration: underline;
  }
  .meta { color: #ddd; }
   h4 [class*="icon-"] { margin-left: 5px; vertical-align: top; } /*shitty rule alert*/
}
.hero-pattern
{
  background: black url(/img/dark.png) repeat top left scroll;
}
.hero-img
{
  padding-top: $spacing-vertical;
  padding-bottom: $spacing-vertical;
  background: black url(/img/dark.png) no-repeat top center fixed;
  min-height: 420px;
  @include background-size(cover);
  &:before
  {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    content: " ";
    display: block;
    top: 0;
    left: 0;
  }  
}
.hero-quote
{
  display: table;
  width: 100%;
  .hero-content-wrapper
  {
    display: table-cell;
    vertical-align: middle;
  }
  p
  {
    margin-bottom: $spacing-vertical * 1.5;
  }
}
.hero-content
{
  z-index: 1;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: $max-content-width;
  /*padding prevents going to edges on mobile*/
  padding-left: 10px;
  padding-right: 10px;
}
@media (max-width: $mobile-width-threshold) 
{
    .hero
    {
        background-attachment: scroll;
        background-position: center center;
    }
    .hero-tile
    {
      margin-bottom: $spacing-vertical * 1.5;
    }
}
.hero-tile-row + .hero-tile-row
{
  margin-top: $spacing-vertical * 1.5;
}
.hero-tile
{
  img
  {
    display: block;
    margin: 0 auto;
    margin-bottom: $spacing-vertical * .5;
  }
  .icon-mega
  {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 200px;
    color: desaturate(lighten($color-primary, 40), 30);
    text-shadow: 0 0 6px rgba(0,0,0,0.8);
  }
  h3
  {
    font-size: 1.25em;
    margin-bottom: $spacing-vertical * .5;
    font-weight: bold;
    text-align: center;
    margin-top: $spacing-vertical * .5;
  }
  p
  {
    font-size: 16px;
  }
}
.hero-title
{
  font-weight: bold;
  font-size: 2.0em;
  margin-bottom: $spacing-vertical * 2;
}
.hero-title-small
{
  font-weight: bold;
  font-size: 1.5em;
  margin-bottom: $spacing-vertical;
}