/*
 * Small global corrections kept outside the historical minified stylesheet.
 * This file intentionally contains only reusable design-system adjustments.
 */
.select2-container {
    max-width: 100%;
}

/* Keep the native control out of layout after Select2 enhances it. Some
 * historical form-control rules force its width back to 100%, which can
 * otherwise create a small horizontal overflow beside the Select2 widget. */
select.select2-hidden-accessible {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    border: 0 !important;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    min-height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select2-dropdown,
.select2-results__options {
    max-width: calc(100vw - 2rem);
    overflow-x: hidden !important;
}

.select2-results__option {
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: normal;
}

.select2-results__option[role="option"] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    max-width: calc(100% - 0.5rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dataTables_length .select2-container {
    display: inline-block;
    margin: 0 0.35rem;
    min-width: 72px;
    width: 72px !important;
}
.alert.alert-success,
.alert.alert-success i,
.alert.alert-success .fa,
.alert.alert-success .fas,
.alert.alert-success .la {
	color: #fff !important;
}
