.dcl.select-field {
  min-width: 400px;
}

.dcl.select-field .ui.dropdown {
  background: transparent;
  border-radius: 0px;
  border: none;
  border-bottom: 2px solid var(--divider);
  padding: 2px 0px 0px 0px;
  width: 100%;
  margin-top: 6px;
  min-height: 40px;
}

.dcl.select-field.border .ui.dropdown {
  border: 2px solid var(--divider);
  border-radius: 6px;
  padding: 15px 10px;
  margin-top: 0;
}

.dcl.select-field .ui.search.dropdown > input.search {
  padding: 0px 0px 10px 0px;
}

.dcl.select-field.border .ui.search.dropdown > input.search {
  margin-top: 13px;
  margin-left: 10px;
}

.dcl.select-field .ui.dropdown > .text,
.dcl.select-field .ui.dropdown > .default.text,
.dcl.select-field .ui.dropdown > .text:not(.default),
.dcl.select-field .ui.search.dropdown > input.search {
  color: var(--text);
  font-size: 20px;
  font-weight: 500;
  font-family: var(--font-family);
  line-height: 24px;
}

.dcl.select-field .ui.dropdown > .default.text {
  opacity: 0.6;
}

.dcl.select-field .ui.selection.active.dropdown,
.dcl.select-field .ui.selection.active.dropdown:hover {
  border-bottom: 2px solid var(--text);
}

.dcl.select-field.border .ui.selection.active.dropdown,
.dcl.select-field.border .ui.selection.active.dropdown:hover {
  border: 2px solid var(--text);
  border-radius: 6px !important;
}

.dcl.select-field .ui.dropdown .dropdown.icon {
  padding-right: 0px;
  padding-bottom: 0px;
  color: var(--text);
  top: 0.4em;
}

.dcl.select-field.border .ui.dropdown .dropdown.icon {
  right: 24px;
  top: 22px;
}

.dcl.select-field .ui.dropdown .text,
.dcl.select-field .ui.dropdown .default.text {
  color: var(--text);
}

.dcl.select-field .ui.dropdown .menu {
  padding: 0px;
  margin-top: 13px;
  border-radius: 6px;
  padding: 8px 0px;
  border-color: transparent;
  box-shadow: var(--shadow-2);
}

.dcl.select-field .ui.dropdown.visible .menu.wrapper {
  overflow-y: hidden;
  height: auto;
  display: flex !important;
  flex-direction: column;
}

.dcl.select-field .ui.dropdown .options-wrapper {
  flex: 1;
  width: 100% !important;
}

.dcl.select-field .ui.dropdown:hover .menu {
  border-color: transparent;
  box-shadow: var(--shadow-2);
}

.dcl.select-field .ui.dropdown .item {
  border-top: none;
}

.dcl.select-field .ui.dropdown .menu > .message:not(.ui) {
  color: var(--text);
}

.dcl.select-field .message {
  margin-top: 8px;
  color: var(--secondary-text);
  font-size: 15px;
}

.dcl.select-field .ui.selection.active.dropdown {
  box-shadow: none;
}

/* Error */

.dcl.select-field.error .ui.selection.dropdown {
  border-bottom: 2px solid var(--error);
}

.dcl.select-field.error.border .ui.selection.dropdown {
  border: 2px solid var(--error);
  border-radius: 6px;
}

.dcl.select-field.error .message {
  color: var(--error);
}

.dcl.select-field.error .ui.header.sub {
  color: var(--error);
}

.dcl.select-field.error .ui.selection.dropdown > i.icon {
  opacity: 1;
  background: url('../../assets/alert.svg');
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 32px;
  height: 36px;
}

.dcl.select-field.error.border .ui.selection.dropdown > i.icon {
  background-position-y: 0px;
}

.dcl.select-field.error .ui.selection.dropdown > i.icon:before {
  color: var(--error);
}

.dcl.select-field .ui.dropdown > .text {
  text-transform: none;
}
