.home {
  margin: 50px 10px 100px;

  > header {
    @include clearfix;
    min-height: 335px;
    margin-bottom: 40px;
    position: relative;
    width: flex-grid(12);

    .video-wrapper {
      right: 0px;
      position: absolute;
      top: 0px;

      .video-player {
        background: rgb(45,45,45);
        border: 1px solid rgb(0,0,0);
        @include border-radius(4px);
        height: 315px;
        padding: 5px;
        width: 560px;

        &:hover {
          @include box-shadow(0 0 12px 0 rgba(0,0,0, 0.3));
        }

        .video-inner {
          background: transparent;
          height: 315px;
          margin: 0 auto;
          width: 560px;
        }
      }
    }

    .welcome {
      @include box-sizing(border-box);
      float: left;
      font-size: 0em;
      width: flex-grid(12);
      padding-right: 600px;
      padding-top: 20px;

      h1 {
        text-align: left;
      }

      .intro {
        @include box-sizing(border-box);
        margin-bottom: 40px;
        width: flex-grid(12);

        p {
          color: $base-font-color;
          margin: 0px;
          width: flex-grid(12);
        }
      }

      .signup-wrapper {
        @include box-sizing(border-box);
        width: flex-grid(11);

        .sign-up {
          background: rgb(240,240,240);
          @include background-image(linear-gradient(-90deg, rgb(245,245,245) 0%, rgb(243,243,243) 50%, rgb(237,237,237) 50%, rgb(235,235,235) 100%));
          border: 1px solid rgb(220,220,220);
          @include border-radius(4px);
          @include box-shadow(0 1px 8px 0 rgba(0,0,0, 0.1));
          @include box-sizing(border-box);
          font-size: 0em;
          padding: 12px;
          @include transition(all, 0.15s, linear);
          width: flex-grid(12);

          &:hover {
            @include box-shadow(0 0 16px 0 rgba($blue, 0.35));
          }

          a {
            @include button(shiny, $blue);
            @include box-sizing(border-box);
            @include border-radius(3px);
            @include inline-block;
            font: italic 1.2rem/1.6rem $serif;
            padding: 15px 0px;
            text-transform: uppercase;
            text-align: center;
            width: flex-grid(12);
          }
        }
      }
    }
  }

  .university-partners {
    @include background-image(linear-gradient(180deg, rgba(245,245,245, 0) 0%,
                                                      rgba(245,245,245, 1) 50%,
                                                      rgba(245,245,245, 0) 100%));
    border-top: 1px solid rgb(210,210,210);
    border-bottom: 1px solid rgb(210,210,210);
    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;
    }

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

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

        &::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);

        &::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);
          top: 50%;
          z-index: 1;
        }

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

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

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

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

        &:hover {
          &::before {
            opacity: 1;
          }

          .name {
            bottom: 20px;
          }

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

  .highlighted-courses {
    border-bottom: 1px solid rgb(210,210,210);
    @include box-sizing(border-box);
    margin-bottom: 60px;
    width: flex-grid(12);

    > h2 {
      background: rgb(245,245,245);
      border: 1px solid rgb(220,220,220);
      border-top: none;
      @include border-bottom-radius(4px);
      @include box-shadow(0 1px 8px 0 rgba(0,0,0, 0.1));
      color: $lighter-base-font-color;
      letter-spacing: 1px;
      padding: 15px 10px;
      text-align: center;
      text-transform: uppercase;
    }

    .courses {
      //background: rgb(245,245,245);
      //@include background-image(linear-gradient(180deg, rgba(255,255,255, 1) 0%,
                                                        //rgba(255,255,255, 0.5) 20%,
                                                        //rgba(255,255,255, 0) 50%,
                                                        //rgba(255,255,255, 0.5) 80%,
                                                        //rgba(255,255,255, 1) 100%));
    }
  }

  .more-info {
    margin-bottom: 60px;
    width: flex-grid(12);

    h2 {
      color: $lighter-base-font-color;
      font: normal 1.4rem/1.8rem $serif;
      letter-spacing: 1px;
      margin-bottom: 20px;
    }

    .news {
      font-size: 0em;
      width: flex-grid(12);

      > article {
        background: rgb(240,240,240);
        @include inline-block;
        height: 150px;
        margin-right: flex-gutter();
        width: flex-grid(3);

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

  .social-media {
    background: rgb(245,245,245);
    border: 1px solid rgb(220,220,220);
    @include border-radius(4px);
    @include box-shadow(inset 0 1px 2px 0 rgba(0,0,0, 0.1));
    height: 200px;
    width: flex-grid(12);

    h2 {
      color: $lighter-base-font-color;
      font: normal 1.6rem/2rem $sans-serif;
      padding-top: 80px;
      text-align: center;
    }
  }
}
