/*
  Banner
*/

header .banner {  
  @include linear-gradient($dark-blue, $deep-blue);
  height: em(295);

  #logo {
    @include span-columns(9 of 12);
    min-height: em(200);
    position: relative;

    img {
      width: em(430);
      height: em(200);
      position: absolute;
      top: em(20);
      left: 0;
      z-index: 1;
    }
  }

  #authentication {
    @include span-columns(3 of 12);
    height: em(190);
    margin: em(20) 0;
    padding: em(20) 0;
    color: white;

    a {
      color: white;
    }

    form {
      display: inline;
    }

    &.admin {
      margin-top: em(10);

      .profile {
        padding-top: em(20);
      }
    }

    .fields { 
      @include span-columns(12);

      input {
        @include span-columns(6);
        margin-bottom: em(10);
      }
    }

    .controls {
      margin-top: em(20);
      text-align: right;

      input {
        @include span-columns(12);
        margin-bottom: em(10);
      }

      a {
        @include span-columns(12);
        text-align: left;
      }
    }

    .password-reset {
      float: right;
    }

    .links,
    .profile {
      @include span-columns(6);
    }

    .links {
      position: relative;

      h5 {
        margin-bottom: 1em;
      }

      li i {
        display: inline-block;
        width: 1em;
        text-align: center;
        margin-right: em(10);
      }
    }

    .profile {
      vertical-align: middle;

      .avatar {
        @include span-columns(12);
        height: em(135);
        background: transparentize($light-gray, 0.5);
        margin: 0 em(20) 0 0;
        text-align: center;
        border-radius: 75px;
        vertical-align: middle;

        img {
          padding: em(10);
          float: left;
          max-width: em(135);
          width: 100%;
          height: auto;
          border-radius: 75px;
        }
      }

      .timezone {
        text-align: center;
      }
    }
  }
}
