@mixin select-dropdown {
  position: absolute;
  width: 100%;
  top: 4.4rem;
  background-color: $white;
  z-index: 99;
  border: $border-input;
  border-radius: $border-radius-dropdown;
  overflow: hidden;
  .select-options-displaying {
    padding: 1rem 1rem 0.8rem;
    color: $accent;
    font-size: 0.7rem;
    border-bottom: $border-input;
    float: left;
    width: 100%;
    box-sizing: border-box;
    p {
      float: left;
      width: calc(100% - 4rem);
      margin: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      padding: 0.2rem 0;
    }
  }
  .select-options-container {
    max-height: 10.3rem;
    overflow-y: auto;
    position: relative;
    float: left;
    width: 100%;
    .select-option {
      padding: 0.8rem;
      font-size: 0.8rem;
      color: $dark-grey;
      border-bottom: $border-input;
      cursor: pointer;
      &:last-of-type {
        border-bottom: none;
      }
      &:hover {
        background-color: $accent;
        color: white;
      }
    }
  }
}

@mixin dark-select-dropdown{
  border: none;
  .select-options-container{
    background-color: lighten($color: $darkmode-bg, $amount: 7%);
    .select-option{
      color: $light-grey;
      &:hover{
        color: $white;
      }
    }
  }
}