div.wiki-wrapper {
  display: table;
  width: 100%;

  section.wiki-body {
    @extend .clearfix;
    @extend .content;
    @include border-radius(0 4px 4px 0);
    position: relative;

    header {
      @extend .topbar;
      @include border-radius(0 4px 0 0);
      height:46px;
      overflow: hidden;

      &:empty {
        border-bottom: 0;
        display: none !important;
      }

      a {
        @extend .block-link;
      }

      p {
        color: darken($cream, 55%);
        float: left;
        line-height: 46px;
        margin-bottom: 0;
        padding-left: lh();
      }

      ul {
        float: right;
        list-style: none;

        li {
          float: left;

          input[type="button"] {
            @extend .block-link;
            background-color: darken($cream, 5%);
            background-position: 12px center;
            background-repeat: no-repeat;
            border: 0;
            border-left: 1px solid darken(#f6efd4, 20%);
            @include border-radius(0);
            @include box-shadow(inset 1px 0 0 lighten(#f6efd4, 5%));
            color: darken($cream, 80%);
            display: block;
            font-size: 12px;
            font-weight: normal;
            letter-spacing: 1px;
            line-height: 46px;
            margin: 0;
            padding: 0 lh() 0 38px;
            text-shadow: none;
            text-transform: uppercase;
            @include transition();

            &.view {
              background-image: url('../images/sequence-nav/view.png');
            }

            &.history {
              background-image:  url('../images/sequence-nav/history.png');
            }

            &.edit {
              background-image:  url('../images/sequence-nav/edit.png');
            }

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

     h2.wiki-title {
        @include box-sizing(border-box);
        display: inline-block;
        float: left;
        margin-bottom: 15px;
        margin-top: 0;
        padding-right: flex-gutter(9);
        vertical-align: top;
        width: flex-grid(2.5, 9);

        @media screen and (max-width:900px) {
          border-right: 0;
          display: block;
          width: auto;
        }

        @media print {
          border-right: 0;
          display: block;
          width: auto;
        }
      }

    p {
      line-height: 1.6em;
    }

    section.results {
      border-left: 1px dashed #ddd;
      @include box-sizing(border-box);
      display: inline-block;
      float: left;
      padding-left: 10px;
      width: flex-grid(6.5, 9);

      @media screen and (max-width:900px) {
        border: 0;
        display: block;
        padding-left: 0;
        width: 100%;
        width: auto;
      }

      @media print {
        display: block;
        padding: 0;
        width: auto;

        canvas, img {
          page-break-inside: avoid;
        }
      }

      ul.article-list {
        margin-left: 15px;
        width: 100%;

        @media screen and (max-width:900px) {
          margin-left: 0px;
        }

        li {
          border-bottom: 1px solid #eee;
          list-style: none;
          margin: 0;
          padding: 10px 0;

          &:last-child {
            border-bottom: 0;
          }

          h3 {
            font-size: 18px;
            font-weight: normal;
          }
        }
      }
    }
  }
}
