/**
    Dropdown Toggle
    The dropdown toggle is the primary wrapper of the component. It
    has two direct descendants: .vs__selected-options, and .vs__actions.
    .vs__selected-options holds the .vs__selected's as well as the
    main search input.
    .vs__actions holds the clear button and dropdown toggle.
 */

$border-width: $vs-border-width;
$border-style: $vs-border-style;
$border-color: $vs-border-color;
$border-radius: $vs-border-radius;

.itf-select .vs__dropdown-toggle {
  appearance: none;
  display: flex;
  white-space: normal;
  height: 100%;
  width: 100%;
}

.vs__selected-options {
  display: flex;
  flex-basis: 100%;
  flex-grow: 1;
  flex-wrap: wrap;
  padding: 0 2px 0 0;
  position: relative;
  flex-shrink: 1;
  overflow: hidden;
  min-height: 26px;

  .vs--multiple & {
    min-height: 32px;
  }
}

.vs__actions {
  flex-shrink: 0;
  display: flex;
  margin-right: -9px;
  align-items: center;
  padding: 1px 0 0;

  .itf-button {
    margin: -0.25rem 0;
  }
}

/* Dropdown Toggle States */
.vs--searchable .vs__dropdown-toggle {
  cursor: pointer;
}
.vs--unsearchable .vs__dropdown-toggle {
  cursor: pointer;
}
.vs--open .vs__dropdown-toggle {
}
