$list-height: 260px;

.select-dropdown {
  background: white;
  border: 1px solid $gray--lightest;
  border-radius: 5px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
  color: $gray;
  height: auto;
  width: 266px;
  z-index: 99999;

  &__filter, &__header {
    background: $gray--background;
    border-bottom: 1px solid $gray--lightest;
    padding: 10px;
  }

  &__header {
    color: $text--dark;
    font-size: $body-font-size-small;
    font-weight: 700;

    &__close {
      color: $text--lightest;
      cursor: pointer;
      float: right;
      font-size: 22px;
      font-weight: 500;
      padding: 4px 10px;
      position: absolute;
      right: 0;
      top: 0;

      &:hover {
        color: $text--light;
      }
    }
  }

  &__modal-overlay {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
  }

  &__results {
    &__empty-item {
      align-items: center;
      display: flex;
      height: $list-height;
      justify-content: center;
    }
  }

  input {
    height: 34px;
    width: 100%;
  }

  li {
    border-top: solid $gray--lightest .5px;
    cursor: pointer;
    list-style-type: none;
    padding: 10px;

    &:first-child {
      border: none;
    }

    &.selected {
      background: $blue--lightest;
    }
  }
}
