& {

  position: relative;
  $height:auto;
  background-color: transparent;
  border: none;
  border: 1px solid #f0f0f0;
  border-left: 2px solid #9e9e9e;
  border-radius: 0;
  outline: none;
  height: $height;

  &.focused {
    border-color: $color-primary;
    outline: 0;
    //@include box-shadow(inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba($color-primary, 0.6));
  }

  .loader-icon,
  &.focused .caret-icon {
    display: none;
  }

  &.focused .loader-icon,
  .caret-icon {
    display: block;
    position: absolute;
    right: 5px;
    top: 0px;
    line-height: $height - 1px;
  }

  input,
  input:focus {
    min-width: 150px;
    width: 100%;
    outline: 0;
    margin-top: 1px;
    margin-left: 1px;
    border: none;
    box-shadow: none;
  }

  .selected-value {
    width: 100%;
    position: relative;
    cursor: pointer;
    line-height: 31px;
    padding-left: 6px;
    padding-right: 16px;
    background-color: color(primary);
    color: white;
    margin: 0;
    outline : none;

    &:focus {
      background-color: lighten(color(primary), 2%);
    }

    .icon {
      position: absolute;
      right: 0.5em;
      top: 0;
      line-height: 31px;
        background-color: color(primary);
    }

    .btn-delete-value {
      display: inline-block;
      margin-left: 2px;
      cursor: pointer;
      @extend .icon !optional;
      @extend .icon-trash !optional;
    }
  }

  .selected-value + .selected-value.selected-value {
    margin-top: 2px;
  }

  .suggestions-wrapper {
    display: none;
    position: fixed;
    z-index: 998;
    $bg: rgb(244, 244, 245);
    .suggestions {
      background: rgba(darken($bg, 4%), 0.89);
      background: linear-gradient(to bottom, rgba(darken($bg, 4%), 0.89), rgba(darken($bg, 2%), 0.89) 3%, rgba(lighten($bg, 2%), 0.94) 25%, rgba($bg, 0.89) 100%);
      box-shadow: 0 1px 10px 0 rgba(15, 15, 15, 0.12), 0 1px 18px 0 rgba(15, 15, 15, 0.10), 0 3px 5px -1px rgba(15, 15, 15, 0.18);
      width: 100%;
      max-height: 250px;
      overflow-y: scroll;
      border-bottom-left-radius: 2px;
      border-bottom-right-radius: 2px;
      .suggestion {
        padding: 5px;
        width: 100%;
        cursor: pointer;
        &.active {
          &,
          a {
            color: #FAFAFA;
          }
          background-color: color(primary);
        }
      }
    }
    &.loading .suggestions {
      filter: blur(1.8px);
      opacity: 0.7;
    }
    &.loading.loading-1 .suggestions {
      filter: blur(0.6px);
      opacity: 1;
    }
    &.loading.loading-2 .suggestions {
      filter: blur(1px);
      opacity: 0.9;
    }
    &.loading.loading-3 .suggestions {
      filter: blur(1.4px);
      opacity: 0.8;
    }
  }
}

&.multiple-selections {
  height: auto;
  border: none;
  outline: none;

  & .caret-icon{
    display: none;
  }
}

.multi-value-input-wrapper {
  position: relative;
  //@extend .clearfix;
}

.multi-value-input.multiple-selections input {
  border-bottom: 1px solid hsl(0, 0%, 80%);
  width: 100%;
}

.add-selection-indicator {
  position: absolute;
  left: -30px;
  line-height: 1;
  font-size: 24px;
  bottom: 0;
}
