#sidebar {
  background-color: #fff;
  position: fixed;
  z-index: 2;
  top: 30px;
  left: 0;
  bottom: 0;
  width: 300px;
  padding: 20px 30px;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  font-family: 'ProximaNova-Semibold';
  border-right: 1px solid #eee;
  font-size: 16px;
  line-height: 1.1em;
  &::-webkit-scrollbar {
    width: 0 !important;
  }
  li {
    margin-bottom: 0.6em;
  }
  a {
    color: #444;
    text-decoration: none;
    &:hover {
      color: #de4f4f;
    }
  }
  a.current {
    color: #de4f4f;
  }
  a.H2 {
    font-weight: bold;
  }
  .categories {
    >li {
      >p {
        margin-top: 1.5em;
        border-top: 1px solid #eee;
        text-transform: uppercase;
        padding-top: 1.2em;
        margin-bottom: 1em;
        color: #999;
        font-size: 0.8em;
      }
    }
  }
  .sub-menu {
    font-family: 'ProximaNova-Regular';
    padding-left: 20px;
    margin: 0.6em 0;
    font-size: 14px;
    .active {
      position: relative;
      color: #de4f4f;
      &:before {
        content: "";
        position: absolute;
        top: 2px;
        left: -15px;
        display: inline-block;
        width: 0;
        height: 0;
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
        border-left: 6px solid #de4f4f;
      }
    }
  }
  #search {
    display: flex;
    position: relative;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.01em 16px;
    margin-bottom: 20px;

    img {
      position: absolute;
      left: 10px;
      height: 16px;
      width: 16px;
    }

    input {
      height: 24px;
      line-height: 1.5;
      width: 100%;
      padding-left: 15px;
      background-color: transparent;
      color: #444;
      border: none;
      font-size: 14px;
      font-family: 'ProximaNova-Semibold';
    }

    input:focus {
      outline: none;
    }
  }
}

#sidebar-mobile {
  display: none;
  margin-bottom: 20px;
  .search-box {
    width: 200px;
    margin-bottom: 20px;
  }
}
