.fes-select-trigger {
  --f-select-trigger-border-color: var(--f-border-color-base);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  min-height: 32px;
  padding: calc(var(--f-padding-xsmall) / 2) var(--f-padding-xsmall);
  line-height: 22px;
  background-color: var(--f-white);
  border: var(--f-border-width-base) var(--f-border-style-base) transparent;
  border-color: var(--f-select-trigger-border-color);
  border-radius: var(--f-border-radius-base);
  outline: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
}
.fes-select-trigger,
.fes-select-trigger * {
  box-sizing: border-box;
}
.fes-select-trigger:hover {
  --f-select-trigger-border-color: var(--f-primary-color);
  transition: all 0.2s cubic-bezier(0.9, 0, 0.3, 0.7);
}
.fes-select-trigger.is-active {
  --f-select-trigger-border-color: var(--f-primary-color);
  box-shadow: 0 0 0 2px var(--f-focus-shadow-color);
  transition: all 0.2s cubic-bezier(0.9, 0, 0.3, 0.7);
}
.fes-select-trigger.is-error:not(.is-disabled) {
  --f-select-trigger-border-color: var(--f-danger-color);
}
.fes-select-trigger.is-error:not(.is-disabled).is-active {
  box-shadow: 0 0 0 2px var(--f-focus-danger-shadow-color);
}
.fes-select-trigger.is-disabled {
  --f-select-trigger-border-color: var(--f-border-color-base);
  background: var(--f-component-bg-color);
  cursor: not-allowed;
}
.fes-select-trigger.is-disabled .fes-select-trigger-label {
  color: var(--f-text-color-secondary);
}
.fes-select-trigger.is-disabled .fes-select-trigger-label .fes-select-trigger-label-text {
  color: var(--f-text-color-secondary);
}
.fes-select-trigger.is-disabled .fes-select-trigger-icons {
  color: var(--f-select-trigger-icon-color);
}
.fes-select-trigger.is-disabled .fes-select-trigger-label-overlay {
  background: var(--f-component-bg-color);
}
.fes-select-trigger.is-disabled .fes-select-trigger-label-input {
  background: var(--f-component-bg-color);
}
.fes-select-trigger.is-multiple {
  padding: calc(var(--f-padding-xsmall) / 2 - 1px) var(--f-padding-xsmall);
}
.fes-select-trigger .fes-select-trigger-label-input {
  caret-color: var(--f-primary-color);
}
.fes-select-trigger .fes-select-trigger-icons {
  display: flex;
  align-items: center;
  margin-left: var(--f-padding-xsmall);
  color: var(--f-border-color-base);
  font-size: var(--f-font-size-base);
}
.fes-select-trigger .fes-select-trigger-icons .fes-select-trigger-icon {
  padding: 1px;
}
.fes-select-trigger .fes-select-trigger-label {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  width: 0;
  max-width: calc(100% - var(--f-padding-xsmall) - var(--f-font-size-base) - 2px);
  min-height: 22px;
  color: var(--f-text-color);
  cursor: pointer;
}
.fes-select-trigger .fes-select-trigger-label-item {
  display: flex;
  align-items: center;
  max-width: 100%;
  color: var(--f-text-color);
}
.fes-select-trigger .fes-select-trigger-label.is-multiple {
  flex-wrap: wrap;
  margin-top: calc(var(--f-padding-xsmall) / 2 * -1 + 1px);
  margin-left: calc(var(--f-padding-xsmall) / 2 * -1);
}
.fes-select-trigger .fes-select-trigger-label.is-multiple.is-selected-null {
  margin-top: 0;
  margin-left: 0;
}
.fes-select-trigger .fes-select-trigger-label.is-multiple .fes-select-trigger-label-item {
  margin-top: calc(var(--f-padding-xsmall) / 2 - 1px);
  margin-left: calc(var(--f-padding-xsmall) / 2);
}
.fes-select-trigger .fes-select-trigger-label.is-multiple .fes-select-trigger-label-input {
  width: 1em;
  max-width: 100%;
}
.fes-select-trigger .fes-select-trigger-label.is-multiple .fes-select-trigger-label-overlay {
  background: transparent;
}
.fes-select-trigger .fes-select-trigger-label-placeholder {
  max-width: 100%;
  color: var(--f-border-color-base);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.fes-select-trigger .fes-select-trigger-label-input {
  width: 100%;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}
.fes-select-trigger .fes-select-trigger-label-input::-webkit-input-placeholder {
  color: var(--f-border-color-base);
}
.fes-select-trigger .fes-select-trigger-label-input::-moz-placeholder {
  color: var(--f-border-color-base);
}
.fes-select-trigger .fes-select-trigger-label-input::placeholder {
  color: var(--f-border-color-base);
}
.fes-select-trigger .fes-select-trigger-label-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
  background: var(--f-white);
  pointer-events: none;
}
.fes-select-trigger-collapsed-item-popper {
  max-width: 300px;
  padding: var(--f-padding-middle) calc(var(--f-padding-middle) - 4px) calc(var(--f-padding-middle) - 4px) var(--f-padding-middle);
}
.fes-select-trigger-collapsed-item-popper .fes-select-trigger-label-collapsed-item {
  max-width: calc(100% - 4px);
  margin-right: 4px;
  margin-bottom: 4px;
}
