@import "//cloud.typography.com/7640312/659566/css/fonts.css";

body,
.book.font-family-1,
.book .book-summary {
  font-family: "Gotham SSm A", "Gotham SSm B", "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
}
#platform-bar {
  background: #000;
  color: #fff;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;

  .branding {
    text-transform: uppercase;
    color: #fff;
    text-align: right;
    width: 250px;
    display: inline-block;
    padding-left: 50px;
  }
  .site-name {
    line-height: 33px;
    font-size: 1.15em;
  }
  .logo {
    background: transparent url("logo.png") no-repeat 0 0;
    height: 28px;
    width: 140px;
    display: inline-block;
    float: left;
  }
}
.font-family-list,
.color-theme-list {
  display: none;
}
.book .book-body .body-inner {
  top: 73px;
}
.book .book-body .navigation {
  min-width: 40px;
  top: 123px;
}
.book .book-summary {
  color: #cbcaca;
  width: 400px;
  background: #363636;
  left: -400px;

  a,
  ul.summary li.done>a {
    color: #cbcaca;
    border-left: 1px solid #363636;
  }
  ul.summary {
    top: 123px;
    padding-top: 40px;
    li {
      a,
      span {
        padding: 10px 50px;
        color: #cbcaca;
        line-height: 1em;
      }
      li a,
      li span {
        padding: 6px 14px;
      }
      &.active>a,
      a:hover {
        color: #00aeef;
      }
      &.active>a {
        border-left: 1px solid #00aeef;
      }
    }
    li ul {
      padding-left: 50px;
      ul {
        padding-left: 14px;
      }
    }
  }
  .book-search {
    top: 73px;
    background: #484848;
    input.form-control {
      padding-left: 50px;
    }
    &:before {
      color: #8e8e8e;
      content: "\f002";
      font-family: FontAwesome;
      font-size: 18px;
      line-height: 18px;
      position: absolute;
      top: 16px;
      right: 16px;
    }
  }
}
.book.with-search .book-summary .book-search {
  top: 73px;
}
.book.with-summary .search-form {
  left: 0;
}
.book .book-header {
  .btn {
    display: none;
  }
  .btn.toggle-summary,
  .btn.fa-edit {
    display: block;
  }
  .btn.fa-edit {
    float: right;
    padding-right: 30px;
    overflow: hidden;
    width: 0;
    &:before {
      content: "\f09b";
      font-size: 30px;
      font-family: FontAwesome;
      line-height: 50px;
      right: 0;
      left: auto;
      position: absolute;
      background: #fff;
    }
  }
}
.book .book-body .page-wrapper .page-inner section.normal {
  font-size: 16px;
  h1 {
    font-size: 30px;
    font-weight: 300;
    border-bottom: none;
  }
  h2 {
    font-size: 18px;
    font-weight: 400;
    border-bottom: none;
    margin-top: 50px;
    margin-bottom: 30px;
  }
  h3,
  h4,
  h5,
  h6 {
    margin-top: 30px;
    margin-bottom: 20px;
  }
  h3 {
    font-size: 16px;
    font-weight: 500;
  }
  h4 {
    font-size: 14px;
    font-weight: 300;
  }
  h5 {
    font-size: 14px;
    font-weight: 400;
    color: #333;
  }
  h6 {
    font-size: 12px;
    font-weight: 500;
    color: #666;
  }
  p,
  blockquote,
  ul,
  ol,
  dl,
  table,
  pre {
    margin-bottom: 30px;
  }
  p > code {
    border-radius: 0;
    background: #fdf2f2;
    color: #de1151;
  }
  .alert-info {
    background: #e0f5fd;
    border: none;
    border-radius: 0;
    color: #363636;
    position: relative;
    padding: 15px 25px 0;
    .fa-edit {
      display: none;
    }
    &:before {
      content: "note";
      font-weight: 500;
      font-size: 12px;
      text-transform: uppercase;
      position: absolute;
      top: 10px;
    }
    p {
      margin-bottom: 15px;
    }
  }
  hr {
    height: 1px;
  }
}
.book.with-search .book-summary ul.summary {
  top: 123px;
}
@media (min-width: 600px) {
  .book.with-summary .book-body {
    left: 400px;
  }
}
@media (max-width: 1240px) {
  .book .book-body .body-inner {
    margin-top: 73px;
  }
  .book .book-body .page-wrapper .page-inner section {
    padding: 15px 30px;
  }
}
