.home {
  padding: 0px;

  > .container {
    @include box-sizing(border-box);
    width: flex-grid(12);
  }

  > header {
    @include linear-gradient($homepage__header--gradient__color--alpha, $homepage__header--gradient__color--bravo);
    background-size: cover;
    border-bottom: 1px solid $border-color-3;
    box-shadow: 0 1px 0 0 $course-header-bg, inset 0 -1px 5px 0 rgba(0,0,0, 0.1);
    @include clearfix;
    height: 460px;
    overflow: hidden;
    margin-top: $header_image_margin;
    padding: 0px;
    width: flex-grid(12);

    .outer-wrapper {
      @extend .animation-home-header-pop-up;
      margin: 0 auto;
      padding: 240px 10px 0px;
      position: relative;
      max-width: 1200px;
      min-width: 760px;
      @include clearfix;
    }

    .title {
      background: #FFF;
      background: $course-header-bg;
      border: 1px solid $border-color-3;
      box-shadow: 0 4px 25px 0 rgba(0,0,0, 0.5);
      @include box-sizing(border-box);
      min-height: 120px;
      margin-left: grid-width(2) + $gw-gutter;
      width: flex-grid(6);
      float: left;
      position: relative;
      @include transition(all 0.2s linear 0s);
      vertical-align: top;

      &:hover, &:focus {
        .actions {
          display: none;
        }
      }

      > hgroup {
        @include box-sizing(border-box);
        @include inline-block;
        left: 0px;
        opacity: 1.0;
        padding: 20px 30px;
        top: 0px;
        @include transition(all 0.2s linear 0s);
        text-align: left;

        h1 {
          margin-bottom: 0px;
          text-align: left;
          text-shadow: 0 1px rgba(255,255,255, 0.6);
          text-transform: none;
        }

        h2 {
          font-style: italic;
          margin-bottom: 0px;
          text-transform: lowercase;
        }
      }
    }

    .actions {
      display: none;
    }

    .media {
      background: #FFF;
      background: $course-header-bg;
      border: 1px solid $border-color-3;
      border-left: 0;
      @include box-sizing(border-box);
      // box-shadow: 0 4px 25px 0 rgba(0,0,0, 0.5);
      height: 120px;
      float: left;
      padding: 4px;
      position: relative;
      vertical-align: top;
      width: flex-grid(2) + flex-gutter();
      z-index: 2;

      &:hover, &:focus {
        text-decoration: underline;
      }

      .hero {
        height: 100%;
        overflow: hidden;
        position: relative;
        background: url($video-thumb-url) center no-repeat;
        background-size: cover;

        .play-intro {
          @include background-image(linear-gradient(-90deg, rgba(0,0,0, 0.65), rgba(0,0,0, 0.75)));
          border-radius: 4px;
          box-shadow: 0 1px 12px 0 rgba(0,0,0, 0.4);
          @include box-sizing(border-box);
          border: 2px solid rgba(255,255,255, 0.8);
          height: 60px;
          left: 50%;
          margin-top: -30px;
          margin-left: -30px;
          position: absolute;
          top: 50%;
          @include transition(all 0.15s linear 0s);
          width: 60px;

          &::after {
            color: #fff;
            color: rgba(255,255,255, 0.8);
            content: "\25B6";
            display: block;
            font: normal 2em/1em $sans-serif;
            left: 50%;
            margin-left: -11px;
            margin-top: -16px;
            position: absolute;
            text-shadow: 0 -1px rgba(0,0,0, 0.8);
            top: 50%;
          }
        }

        img {
          display: block;
          width: 100%;
        }
      }

      &:hover, &:focus {
        .play-intro {
          @include background-image(linear-gradient(-90deg, rgba(0,0,0, 0.75), rgba(0,0,0, 0.8)));
          box-shadow: 0 1px 12px 0 rgba(0,0,0, 0.5);
          border-color: rgba(255,255,255, 0.9);

          &::after {
            color: #fff;
            color: rgba(255,255,255, 1);
          }
        }
      }
    }
  }

  .highlighted-courses {
    @include box-sizing(border-box);
    margin-bottom: 40px;
    position: relative;
    width: flex-grid(12);
    z-index: 1;

    > h2 {
      @include background-image(linear-gradient(-90deg, rgb(250,250,250), rgb(230,230,230)));
      border: 1px solid $border-color-2;
      border-radius: 4px;
      border-top-color: $border-color-1;
      box-shadow: inset 0 0 0 1px rgba(255,255,255, 0.4), 0 0px 12px 0 rgba(0,0,0, 0.2);
      color: $lighter-base-font-color;
      letter-spacing: 1px;
      margin-bottom: 0px;
      margin-top: -15px;
      padding: 10px 10px 8px;
      text-align: center;
      text-transform: uppercase;
      text-shadow: 0 1px rgba(255,255,255, 0.6);
    }
  }

  .university-partners {
    border-bottom: 1px solid $border-color-2;
    margin-bottom: 0px;
    overflow: hidden;
    position: relative;
    width: flex-grid(12);

    &::before {
      @extend %faded-hr-divider-medium;
      content: "";
      display: block;
    }

    &::after {
      @extend %faded-hr-divider-medium;
      content: "";
      display: block;
    }


    hr {
      @extend %faded-hr-divider-light;
      border: none;
      margin: 0px;
      position: relative;
      z-index: 2;

      &::after {
        @extend %faded-hr-divider;
        bottom: 0px;
        content: "";
        display: block;
        position: absolute;
        top: -1px;
      }
    }

    .partners {
      margin: 0 auto;
      padding: 20px 0px;
      text-align: center;

      li.partner {
        @include inline-block;
        padding: 0px 30px;
        position: relative;
        vertical-align: middle;
        overflow: hidden;

        &::before {
          @extend %faded-vertical-divider;
          content: "";
          display: block;
          height: 80px;
          right: 0px;
          position: absolute;
          top: -5px;
          width: 1px;
        }

        &::after {
          @extend %faded-vertical-divider-light;
          content: "";
          display: block;
          height: 80px;
          right: 1px;
          position: absolute;
          top: -5px;
          width: 1px;
        }

        &:last-child {
          &::before {
            display: none;
          }

          &::after {
            display: none;
          }
        }
      }

      a {
        @include transition(all 0.25s ease-in-out 0s);

        &::before {
          @include background-image(radial-gradient(50% 50%, circle closest-side, rgba(255,255,255, 1) 0%, rgba(255,255,255, 0) 100%));
          content: "";
          display: block;
          height: 200px;
          left: 50%;
          margin-left: -100px;
          margin-top: -100px;
          opacity: 0;
          width: 200px;
          position: absolute;
          @include transition(all 0.25s ease-in-out 0s);
          top: 50%;
          z-index: 1;
        }

        .name {
          bottom: -60px;
          left: 0px;
          position: absolute;
          text-align: center;
          @include transition(all 0.25s ease-in-out 0s);
          width: 100%;
          z-index: 2;

          > span {
            color: $base-font-color;
            font: 800 italic 1.4em/1.4em $sans-serif;
            text-shadow: 0 1px rgba(255,255,255, 0.6);
            @include transition(all 0.15s ease-in-out 0s);

            &:hover, &:focus {
              color: $lighter-base-font-color;
            }
          }
        }

        img {
          position: relative;
          @include transition(all 0.25s ease-in-out 0s);
          vertical-align: middle;
          z-index: 2;
        }

        &:hover, &:focus {
          text-decoration: none;

          &::before {
            opacity: 1.0;
          }

          .name {
            bottom: 20px;
          }

          img {
            top: -100px;
          }
        }
      }
    }

    &.university-partners2x6 {
      @include box-sizing(border-box);
      width: flex-grid(12, 12);

      .partners {
        @include box-sizing(border-box);
        @include clearfix();
        margin-left: 60px;
        padding: 12px 0;

        .partner {
          @include box-sizing(border-box);
          width: flex-grid(2, 12);
          display: block;
          float: left;
          padding: 0 12px;

          a {

            img {
              width: 100%;
              height: auto;
            }

            .name > span {
              font-size: 1.0em;
            }

            &:hover, &:focus {
              .name {
                bottom: 14px;
              }
            }
          }
        }
      }
    }
  }

  .more-info {
    border: 1px solid $border-color-2;
    margin-bottom: 80px;
    width: flex-grid(12);

    header {
      @include background-image(linear-gradient(-90deg, rgb(250,250,250), rgb(230,230,230)));
      border-bottom: 1px solid $border-color-2;
      @include clearfix;
      padding: 10px 20px 8px;
      position: relative;

      h2 {
        float: left;
        margin: 0px;
        text-shadow: 0 1px rgba(255,255,255, 0.6);
      }

      .action.action-mediakit {
        float: right;
        position: relative;
        top: 1px;
        font-family: $sans-serif;
        font-size: 14px;
        text-shadow: 0 1px rgba(255,255,255, 0.6);

        &:after {
          position: relative;
          top: -1px;
          display: inline-block;
          margin: 0 0 0 5px;
          content: "➤";
          font-size: 11px;
        }

        .org-name {
          color: $blue;
          font-family: $sans-serif;
          text-transform: none;
        }
      }
    }

    .news {
      @include box-sizing(border-box);
      box-shadow: inset 0 0 3px 0 rgba(0,0,0, 0.15);
      padding: 20px;
      width: flex-grid(12);

      .blog-posts {
        border-bottom: 1px solid $border-color-2;
        margin-bottom: 20px;
        padding-bottom: 20px;
        @include clearfix;

        > article {
          border: 1px dotted transparent;
          border-color: $border-color-2;
          @include box-sizing(border-box);
          @include clearfix;
          float: left;
          margin-right: flex-gutter();
          padding: 10px;
          @include transition(all 0.15s linear 0s);
          width: flex-grid(4);

          &:hover, &:focus {
            background: $body-bg;
            border: 1px solid $border-color-2;
            box-shadow: inset 0 0 3px 0 rgba(0,0,0, 0.1);
          }

          &:last-child {
            margin-right: 0px;
          }

          .post-graphics {
            border: 1px solid $border-color-1;
            @include box-sizing(border-box);
            display: block;
            float: left;
            height: 84px;
            margin-right: flex-gutter();
            overflow: hidden;
            width: flex-grid(4);
            vertical-align: top;

            img {
              min-height: 100%;
              max-width: 100%;
            }
          }

          .post-name {
            float: left;
            width: flex-grid(8);
            vertical-align: top;

            a {
              color: $base-font-color;
              font: 700 1em/1.2em $sans-serif;

              &:hover, &:focus {
                color: $blue;
                text-decoration: underline;
              }
            }

            .post-date {
              color: $lighter-base-font-color;
              display: none;
              letter-spacing: 1px;
            }
          }
        }
      }

      .press-links {
        h3 {
          display: inline;
          font-family: $sans-serif;
          font-weight: 700;
          line-height: 1.6em;
        }

        a {
          line-height: 1.6em;
          font-family: $serif;
          font-style: italic;
          margin-left: 10px;

          &.read-more {
            float: right;
            color: lighten($base-font-color, 50%);

            &:hover, &:focus {
              color: $blue;
              text-decoration: underline;
            }
          }
        }
      }
    }
  }
}
