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: 400 $body-font-size $body-font-family;
  @include linear-gradient(#fff, lighten(#888, 40%));
  padding: 4px 8px;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;

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

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

  @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);

  &:after {
    width: 1px;
    height: 100%;
    @include position(absolute,  0px -1px 0px 0);
    content: "";
    @include background-image(linear-gradient(top, #fff, rgba(#fff, 0)), linear-gradient(top, rgba(#fff, 0), #fff));
    background-position: top, bottom;
    @include background-size(1px 20px);
    background-repeat: no-repeat;
    display: block;
  }

  h1, h2 {
   font-size: em(20);
   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;
    font-size: 1em;

    a {
      display: block;
      text-decoration: none;
      @include transition();
    }

    &.active {
      @extend .bottom-border;
      color: #000;
      font-weight: bold;

      a {
        color: #000;
      }
    }
  }

  ul, ol {
    list-style: none;
    margin: 0;
    padding-left: 0;

    li {
      @extend .bottom-border;
      @extend .clearfix;
      background: none;
      position: relative;
      padding: 0;

      a {
        display: block;
        line-height: lh();
        font-size: 1em;
        @include box-sizing(border-box);
        padding: lh(.25) lh(.5) lh(.25) 0;

        &:hover {
          color: #666;
          background: #f6f6f6;
        }
      }
    }
  }

  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: 12px;
      width: 16px;
      z-index: 99;

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

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

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

  @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);
}

