dvn-select {
  --width: inherit;
  --min-width: 256px;
  --margin: var(--spacing-unit) calc(1.5 * var(--spacing-unit));
  --base-color: var(--color-primary);
  --border-color: var(--color-border);
  --options-container-max-height: 300px;
  background-color: var(--color-input-background);
  position: relative;
  margin: var(--margin);
  outline: none;
  display: inline-block;
  box-sizing: border-box;
  vertical-align: top;
  height: var(--select-height);
  width: var(--width);
  min-width: var(--min-width);
  font-size: var(--font-size);
  border-radius: var(--corner-radius);
  border: 1px solid var(--border-color);
  transition: border 0.3s;
  cursor: pointer;
  /* Feedback */
  /* Scale */
  /* Hide scrollbar for Chrome, Safari and Opera */
  /* Hide scrollbar for IE, Edge and Firefox */
}
dvn-select:hover:not(.disabled) {
  border-color: var(--base-color);
}
dvn-select:hover:not(.disabled):after {
  border-color: var(--base-color) transparent transparent transparent;
}
dvn-select.expanded:after {
  content: unset;
}
dvn-select:active:not(.disabled), dvn-select:focus:not(.disabled) {
  border-color: var(--base-color);
  /*box-shadow: 0 0px 3px var(--base-color);*/
  box-shadow: 0px 0px 0px 1px var(--base-color);
}
dvn-select:active:not(.disabled):after, dvn-select:focus:not(.disabled):after {
  border-color: var(--base-color) transparent transparent transparent;
}
dvn-select.with-caret:after {
  top: var(--caret-top);
  pointer-events: none;
  transition: all 0.3s;
  position: absolute;
  display: block;
  transform: none;
  bottom: inherit;
  content: "";
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: var(--color-neutral) transparent transparent transparent;
}
dvn-select.clear-shown.expanded.with-caret:after {
  display: none;
  content: none;
}
dvn-select.progressing:after {
  display: none;
}
dvn-select.leaned {
  margin: 0;
}
dvn-select.disabled {
  opacity: 0.5;
  cursor: unset;
}
dvn-select.warning {
  --base-color: var(--color-warning);
  --border-color: var(--color-warning);
}
dvn-select.error {
  --base-color: var(--color-danger);
  --border-color: var(--color-danger);
}
dvn-select.small {
  --select-height: 24px;
  --select-option-height: 22px;
  --font-size: var(--font-size-small);
  --padding: calc(var(--spacing-unit) / 2) calc(2 * var(--spacing-unit));
}
dvn-select.medium {
  --select-height: 32px;
  --select-option-height: 30px;
  --font-size: var(--font-size-medium);
  --padding: var(--spacing-unit) calc(3 * var(--spacing-unit));
}
dvn-select.large {
  --select-height: 40px;
  --select-option-height: 38px;
  --font-size: var(--font-size-large);
  --padding: var(--spacing-unit) calc(3 * var(--spacing-unit));
}
dvn-select.small.with-caret {
  --caret-top: 8px;
  --padding: calc(var(--spacing-unit) / 4) calc(4 * var(--spacing-unit)) calc(var(--spacing-unit) / 2) calc(2 * var(--spacing-unit));
}
dvn-select.medium.with-caret {
  --caret-top: 12px;
  --padding: var(--spacing-unit) calc(6 * var(--spacing-unit)) var(--spacing-unit) calc(3 * var(--spacing-unit));
}
dvn-select.large.with-caret {
  --caret-top: 16px;
  --padding: var(--spacing-unit) calc(6 * var(--spacing-unit)) var(--spacing-unit) calc(3 * var(--spacing-unit));
}
@keyframes options-container-appear {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}
dvn-select .options-container.expanded {
  position: absolute;
  top: 105%;
  left: 0;
  right: 0;
  z-index: 99;
  margin: 0;
  padding: 0;
  max-height: var(--options-container-max-height);
  overflow-y: auto;
  border-radius: var(--corner-radius);
  background: var(--color-elevated-item-background);
  box-shadow: 0 2px 8px rgba(var(--color-elevated-item-shadow), 0.1);
  animation: 0.1s ease-out 0s 1 options-container-appear;
}
dvn-select .options-container.no-scrollbar::-webkit-scrollbar {
  display: none;
}
dvn-select .options-container.no-scrollbar {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
dvn-select dvn-select-option {
  padding: var(--padding);
  display: none;
}
dvn-select dvn-select-option.multiple-value {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
dvn-select:not(.multiple) dvn-select-option.selected {
  display: flex;
}
dvn-select.expanded dvn-select-option.empty, dvn-select:not(.with-value) dvn-select-option.empty {
  display: block;
  user-select: none;
}
dvn-select .options-container.expanded dvn-select-option.selected span {
  overflow: unset;
  white-space: unset;
  text-overflow: ellipsis;
}
dvn-select:not(.without-check) .options-container.expanded dvn-select-option.selected:not(.empty):after {
  content: "";
}
dvn-select .options-container.expanded dvn-select-option {
  display: flex;
}
dvn-select .options-container dvn-select-option.filtered {
  display: none;
}
dvn-select .options-container.expanded dvn-select-option.selected {
  background: var(--color-background-primary);
  border-radius: 0;
}
dvn-select .search-input-container {
  position: absolute;
  top: -1px;
  left: -1px;
  display: none;
  width: 100%;
}
dvn-select.expanded .search-input-container {
  display: block;
}
dvn-select .progress-container {
  position: absolute;
  right: calc(2 * var(--spacing-unit));
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  z-index: 10;
}