.filter-section {
  margin-bottom: 20px;
  @media only screen and (max-width: 500px) {
    justify-content: flex-end;
  }
  .total-result {
    position: relative;
    top: 5px;
    @media only screen and (max-width: 500px) {
      display: none;
    }
    p {
      font-size: 16px;
      font-weight: 500;
      color: $primary-color;
      text-transform: capitalize;
      span {
        font-size: 12px;
        font-weight: 500;
        color: #85879d;
        text-transform: lowercase;
      }
    }
  }
  .filter-wrapper {
    position: relative;
    display: flex;
    span {
      background: $primary-color;
      font-size: 14px;
      font-weight: 400;
      display: inline-block;
      color: #fff;
      padding: 8px 14px;
      border-radius: 5px 0 0 5px;
    }
    .option-wrapper {
      position: relative;
      width: 180px;
      @media only screen and (max-width: 500px) {
        width: 140px;
      }
      .selected {
        color: #323552;
        font-size: 14px;
        background: #fff;
        border: 1px solid #f2f2f2;
        padding: 7px 10px;
        cursor: pointer;
        -webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none; /* Safari */
          -moz-user-select: none; /* Firefox */
           -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none;
      }
      .icon {
        position: absolute;
        top: 6px;
        right: 10px;
        &.toggle {
          transform: rotate(180deg);
          top: 8px;
        }
      }
    }

    .options {
      position: absolute;
      right: 0;
      z-index: 1;
      top: 34px;
      display: none;
      ul {
        background: #fff;
        list-style: none;
        width: 180px;
        box-shadow: 1px 1px 5px rgba(0,0,0,.23);
        padding: 0;
        @media only screen and (max-width: 500px) {
          width: 140px;
        }
        a {
          display: block;
          text-decoration: none;
          color: #323552;
          font-size: 12px;
          font-weight: 500;
          border-bottom: 1px solid #E6E6E8;
          padding: 7px 15px;
          cursor: pointer;
          &:hover {
            background: #F7F7F7;
          }
          &.active {
            background: #F7F7F7;
          }
        }
      }
    }
  }
  .filter-container {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
  }
  .lists {
      border-bottom: 1px solid rgba(152,177,227,.16);
      display: flex;
      padding: 10px 0;
      @media only screen and (max-width: 900px) {
        padding: 20px 0 5px 0;
      }
      
      h4 {
        font-size: 16px;
        color: $secondary-color;
        margin-top: 15px;
        font-weight: 500;
        width: 80px;
        @media only screen and (max-width: 900px) {
          font-size: 14px;
        }
      }
      ul {
        list-style: none;
        display: flex;
        overflow-x: auto;
        margin-bottom: 0;
        padding: 10px;
        flex-basis: calc(100% - 80px);
        &::-webkit-scrollbar {
            width: 4px;
            height: 4px;
        }
        
        &::-webkit-scrollbar-track {
            -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1); 
            margin: 0 35%;
            border-radius: 10px;
        }
        
        &::-webkit-scrollbar-thumb {
            border-radius: 10px;
            background: #32355147;
        }
        li {
          margin:0 5px;
        }
        .active {
          background: $primary-color;
          color: #fff;
        }
      }
    }
}
