.wrapper-componente-unidade-trabalho {
  height: var(--height-input-default);
  border-radius: var(--border-radius);
  border: 1px solid var(--secondary-color);
  position: relative;
  padding-left: 50px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wrapper-componente-unidade-trabalho.form-control.disabled,
.wrapper-componente-unidade-trabalho.form-control.readonly {
  background-color: var(--bg-field-disabled);
}

.wrapper-componente-unidade-trabalho:focus,
.wrapper-componente-unidade-trabalho.focus,
.wrapper-componente-unidade-trabalho.open {
  box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
  border-color: #80bdff;
}

.wrapper-componente-unidade-trabalho.field-invalid:focus,
.wrapper-componente-unidade-trabalho.field-invalid.focus,
.wrapper-componente-unidade-trabalho.field-invalid.open {
  box-shadow: 0 0 0 0.25rem rgba(237,142,151,.25);
}

.wrapper-componente-unidade-trabalho.open::after {
  transform: rotate(180deg);
}

.wrapper-componente-unidade-trabalho::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  margin-top: 20px;
  margin-left: 20px;
  margin-right: 8px;

  border-color: #888 transparent transparent transparent;
  border-style: solid;
  border-width: 7px 7px 0 7px !important;
  height: 0;
  width: 0;
}

.wrapper-componente-unidade-trabalho .chosen {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wrapper-componente-unidade-trabalho .chosen .badge-sigla {

}

.wrapper-componente-unidade-trabalho .negate b {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.wrapper-componente-unidade-trabalho .negate b:hover {
  background-color: #ccc;
}

.wrapper-options-unidades {
  border: 1px solid var(--secondary-color) !important;
  border-radius: 10px !important;
  margin-top: -10px !important;

  position: absolute;
  z-index: 500;
  width: 100%;
  background-color: white;
}

.wrapper-options-unidades .results {
  padding: 0 4px;
  margin: 0 4px 4px 0;

  max-height: 200px;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.wrapper-options-unidades .results::-webkit-scrollbar {
  background: #ccc !important;
  width: 8px;
  border-radius: 4px;
  padding: 2px !important;
}

.wrapper-options-unidades .results::-webkit-scrollbar-thumb {
  background: #525861;
  border-radius: 4px;
}

.wrapper-options-unidades .results li {
  list-style: none;
  display: list-item;
  min-height: 40px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wrapper-options-unidades .results li .item-lista {
  width: calc(100% - 40px);
  text-decoration: none;
  color: inherit;
  word-wrap: break-word;
}

.wrapper-options-unidades .results li span.wrapper-btn {
  border-radius: 50%;
  background-color: #ccc;
}

.wrapper-options-unidades .results li:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.wrapper-options-unidades .results li.highlighted {
  background-color: var(--primary-color);
  color: #fff;
}

.wrapper-options-unidades .results li::focus {
  background-color: var(--primary-color);
  color: #fff;
}

.wrapper-options-unidades .search-container {
  display: inline-block;
  width: 100%;
  min-height: 26px;
  margin: 0;
  padding: 10px;
  position: relative;
  white-space: nowrap;
}

.wrapper-options-unidades .search-container input[type="search"] {
  width: 100%;
  height: 34px;
  min-height: 26px;
  padding: 4px;
  margin: 0;
  outline: 0;
  font-family: sans-serif;
  font-size: 1em;
  border: 1px solid #aaa;
  border-radius: 0;
}

.wrapper-options-unidades .wrapper-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 12px;
  margin: 8px 0;
}

.wrapper-options-unidades .wrapper-buttons button.btn-sm {
  border-radius: var(--md-border-radius);
}

.main-componente-unidade-trabalho {
  position: relative;
}

.main-componente-unidade-trabalho .desabilitada .item-lista {
  cursor: not-allowed;
  color: var(--secondary-color) !important;
}

.wrapper-options-unidades .results li.desabilitada:hover {
  background-color: white;
}