.dark-theme .select2-dropdown {
  background-color: #21272c;
  border-color: rgb(255 255 255 / 34%);
}

.dark-theme .select2-container--bootstrap4 .select2-selection {
  color: #c0c8d1;
  background-color: #21272c;
  border-color: rgb(255 255 255 / 34%);
}

.dark-theme .select2-search--dropdown .select2-search__field {
  background-color: #343a40;
  color: #c0c8d1;
  border-color: rgb(255 255 255 / 34%);
}

html.dark-theme .select2-search--inline .select2-search__field {
  background-color: #21272c !important;
}

.dark-theme .select2-container--bootstrap4.select2-container--focus .select2-selection {
  border-color: rgb(255 255 255 / 34%);
}

.dark-theme .select2-container--bootstrap4.select2-container--disabled .select2-selection,
.select2-container--bootstrap4.select2-container--disabled.select2-container--focus .select2-selection {
  background-color: #21272c;
  border-color: rgb(255 255 255 / 34%);
}

.dark-theme .select2-container--bootstrap4 .select2-dropdown {
  border-color: rgb(255 255 255 / 34%);
}

.dark-theme .select2-container--bootstrap4 .select2-dropdown.select2-dropdown--above {
  border-top-color: rgb(255 255 255 / 34%);
}

.dark-theme .select2-container--bootstrap4 .select2-dropdown .select2-results__option[aria-selected=true] {
  background-color: #21272c;
}

.dark-theme .select2-container--bootstrap4 .select2-results__option--highlighted,
.dark-theme .select2-container--bootstrap4 .select2-results__option--highlighted.select2-results__option[aria-selected=true] {
  background-color: #343a40;
  color: #c0c8d1;
}
.dark-theme .select2-container--bootstrap4 .select2-selection__clear {
  color: #c0c8d1;
  background-color: #343a40;
}
.dark-theme .select2-container--bootstrap4 .select2-selection__clear:hover {
  color: #343a40;
  background-color: #c0c8d1;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
   color: #c0c8d1;
}

.dark-theme .custom-control-label::before {
  background-color: #21272c;
  border: #adb5bd solid 1px;
}
.dark-theme .custom-switch .custom-control-label::after {
  background-color: #c0c8d1;
 }

html.dark-theme .table tr.bg-selected {
  background-color: rgba(0,0,0,.15)!important;
}

html.dark-theme dl.dl-counted dt:nth-of-type(odd),
html.dark-theme dl.dl-counted dd:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.05);
}
html.dark-theme .list-group-item-action {
  color: #c0c8d1;
}
html.dark-theme .nav-tabs {
  border-bottom: 1px solid rgb(255 255 255 / 12%) !important;
}

html.dark-theme .nav-tabs .nav-link:focus, html.dark-theme .nav-tabs .nav-link:hover {
  border-color: rgb(255 255 255 / 12%) rgb(255 255 255 / 12%) transparent;
}

html.dark-theme .nav-tabs .nav-item.show .nav-link, html.dark-theme .nav-tabs .nav-link.active {
  color: #c0c8d1;
  background-color: #343a40;
  border-color: rgb(255 255 255 / 12%) rgb(255 255 255 / 12%) #343a40;
}
