h1.top-header {
  border-bottom: 1px solid #e3e3e3;
  text-align: left;
  font-size: em(24);
  font-weight: 100;
  padding-bottom: lh();
}

.light-button, a.light-button {
  border: 1px solid #ccc;
  @include border-radius(3px);
  @include box-shadow(inset 0 1px 0 #fff);
  color: #666;
  cursor: pointer;
  font: normal $body-font-size $body-font-family;
  @include linear-gradient(#fff, lighten(#888, 40%));
  padding: 4px 8px;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;

  &:hover, &:focus {
    border: 1px solid #ccc;
    @include linear-gradient(#fff, lighten(#888, 37%));
    text-decoration: none;
  }
}

.action-link {
  a {
    color: $mit-red;

    &:hover {
      color: darken($mit-red, 20%);
      text-decoration: none;
    }
  }
}

.content {
  @include box-sizing(border-box);
  display: table-cell;
  padding: lh();
  vertical-align: top;
  width: flex-grid(9) + flex-gutter();
  overflow: hidden;

  @media print {
    @include box-shadow(none);
  }
}

.sidebar {
  border-right: 1px solid #C8C8C8;
  @include box-sizing(border-box);
  display: table-cell;
  font-family: $sans-serif;
  position: relative;
  vertical-align: top;
  width: flex-grid(3);

  h1, h2 {
   font-size: em(18);
   font-weight: 100;
   letter-spacing: 0;
   text-transform: none;
   font-family: $sans-serif;
   text-align: left;
   font-style: italic;
  }

  a {
    border: none;
    font-style: normal;
  }

  .bottom-border {
    border-bottom: 1px solid $border-color;
  }

  @media print {
    display: none;
  }

  h3 {
    background: none;
    border: none;
    color: #000;
    font-weight: normal;
    margin: 0;
    overflow: hidden;

    a {
      color: lighten($text-color, 10%);
      display: block;
      font-size: $body-font-size;
      padding: 7px 7px 7px 30px;
      text-decoration: none;
      @include transition();
    }

    // span.ui-icon {
    //   background-image: url(../images/ui-icons_454545_256x240.png);
    // }

    &.active {
      border-bottom: 1px solid #d3d3d3;
      color: #000;
      font-weight: bold;

      a {
        color: #000;
      }
    }
  }

  header#open_close_accordion {
    position: relative;

    a {
      background: #f6f6f6 url('../images/slide-left-icon.png') center center no-repeat;
      border: 1px solid #D3D3D3;
      @include border-radius(3px 0 0 3px);
      height: 16px;
      padding: 6px;
      position: absolute;
      right: -1px;
      text-indent: -9999px;
      top: 6px;
      width: 16px;
      z-index: 99;

      &:hover {
        background-color: white;
      }
    }
  }

  a.button {
    text-decoration: none;
  }
}

.topbar {
  @extend .clearfix;
  border-bottom: 1px solid $border-color;
  font-size: 14px;

  @media print {
    display: none;
  }

  a {
    &.block-link {
      border-left: 1px solid lighten($border-color, 10%);
      display: block;

      &:hover {
        background: none;
      }
    }
  }
}

.tran {
  @include transition( all, .2s, $ease-in-out-quad);
}
