.wrapped {white-space: pre-wrap;}.ui-state-highlight {background-color: #00000000;border-color: gray;border-style: dashed; height: 2.2em; line-height: 1.5em; }
@media (prefers-color-scheme: dark) {
    :root {
        --dropdown-text-color: black;
    }
}

/*select2 dark-mode styles*/
html[data-bs-theme="dark"] .select2-search,html[data-bs-theme="dark"] .select2-selection {
    background-color: #343A40 !important;
}
html[data-bs-theme="dark"] .select2-search.select2-search--dropdown .select2-search__field {
    background-color: #333;
    color: white;
    border: 1px solid #555;
}
html[data-bs-theme="dark"] .select2-search input {
        color: #ffffff !important;
        background-color: #343A40 !important;
    }
html[data-bs-theme="dark"] .select2-results {
    background-color: #343A40 !important;
}
html[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-selection {
    border-color: #6c757d !important;
    color: #ffffff !important;
    background-color: #343A40 !important;
}

html[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-selection--single {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
}

html[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
}
html[data-bs-theme="dark"] .select2-container .select2-selection--single,
html[data-bs-theme="dark"] select.select2-hidden-accessible + .select2-container .select2-selection--single {
  background-color: #343A40 !important;
  border-color: #6c757d !important;
  color: #f8f9fa !important;
}

html[data-bs-theme="dark"] .select2-container .select2-selection--single .select2-selection__rendered,
html[data-bs-theme="dark"] select.select2-hidden-accessible + .select2-container .select2-selection--single .select2-selection__rendered {
  color: #f8f9fa !important;          /* THIS is the actual selected text */
  background: transparent !important; /* avoid weird inherited bg */
}

/* placeholder */
html[data-bs-theme="dark"] .select2-container .select2-selection--single .select2-selection__placeholder {
  color: rgba(248, 249, 250, 0.65) !important;
}

/* focus state */
html[data-bs-theme="dark"] .select2-container--open .select2-selection--single,
html[data-bs-theme="dark"] .select2-container--focus .select2-selection--single {
  border-color: #adb5bd !important;
  box-shadow: 0 0 0 0.25rem rgba(255,255,255,0.10) !important;
}

/* dropdown arrow (for themes that use the arrow element) */
html[data-bs-theme="dark"] .select2-container .select2-selection--single .select2-selection__arrow b {
  border-color: #f8f9fa transparent transparent transparent !important;
}
html[data-bs-theme="dark"] .select2-container .select2-selection--multiple,
html[data-bs-theme="dark"] select.select2-hidden-accessible + .select2-container .select2-selection--multiple {
  background-color: #343A40 !important;
  border-color: #6c757d !important;
}

/* the chips */
html[data-bs-theme="dark"] .select2-container .select2-selection--multiple .select2-selection__choice,
html[data-bs-theme="dark"] select.select2-hidden-accessible + .select2-container .select2-selection--multiple .select2-selection__choice {
  background-color: #495057 !important;  /* chip bg */
  border: 1px solid #6c757d !important;
  color: #f8f9fa !important;            /* chip text */
}

/* the remove (x) */
html[data-bs-theme="dark"] .select2-container .select2-selection--multiple .select2-selection__choice__remove,
html[data-bs-theme="dark"] select.select2-hidden-accessible + .select2-container .select2-selection--multiple .select2-selection__choice__remove {
  color: rgba(248, 249, 250, 0.9) !important;
}

/* optional: hover */
html[data-bs-theme="dark"] .select2-container .select2-selection--multiple .select2-selection__choice:hover {
  border-color: #adb5bd !important;
}


.dx-treelist-container {
    color: var(--bs-body-color) !important;
}

.dx-treelist-table {
    background-color: var(--bs-body-bg) !important;
}

.dx-data-row:hover {
    color: var(--bs-body-color) !important;
    background-color: var(--bs-tertiary-color) !important;
}

.dx-treelist-container>.dx-treelist-rowsview {
    background-color: var(--bs-body-bg) !important;
}

.dx-treelist-search-panel input {
    border-radius: 0 !important;
    border-radius: 0.3rem !important;
    background-color: var(--bs-body-bg);
    color: var(--bs-gray-700);
}

.timeline-label .timeline-label {
  width: 80px !important;
}
.timeline-label:before {
  left: 80px !important;
}
/*.dx-show-clear-button .dx-clear-button-area {*/
/*    background-color: var(--bs-body-bg) !important;*/
/*}*/