.table-container-wrapper {
    margin-right: calc(var(--bs-gutter-x) * -0.5);
    margin-left: calc(var(--bs-gutter-x) * -0.5);
    position: relative;
}
.table-container-wrapper .overlay {
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(var(--bs-body-bg-rgb), 0.8);
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.table-hover tbody tr:hover {
    background: var(--bs-light-bg-subtle);
}
.table-container tbody tr.selected-row td,
.table-container tbody tr.selected-row:hover td {
    background: var(--bs-dark-bg-subtle);
}

.table-container {
    overflow: auto;
    position: relative;
    width: 100%;
    height: 100vh;
}

.table-container table tr {
    background-color: var(--bs-light-bg-subtle);
}

.table-container thead th {
    background-color: var(--bs-light-bg-subtle);
    position: -webkit-sticky;
    position: sticky;
    top: -1px;
    z-index: 100;
}

.table-container thead th .dropdown {
    line-height: 1;
}

.table-container thead th .dropdown-menu .dropdown-header {
    padding: .5rem 1rem;
}

.table-container thead th .dropdown-menu {
    width: 300px !important;
    z-index: 101;
}

.table-container thead th .dropdown-toggle {
    white-space: normal;
}

.table-container thead th .dropdown-toggle::after {
    display: block;
    margin: 4px auto 0 auto;
    width: 0.3rem;
    border-top: 0.3rem solid rgba(0, 0, 0, 0.3);
}

.table-container thead th .select2-selection .select2-selection--multiple,
.table-container thead th .select2.select2-container {
    max-height: 100px;
    overflow-y: auto;
}

.table-container .filter-toolbar .btn-sm {
    line-height: 1;
    padding: 0 0.40rem;
    height: 27px;
}

.table-container tbody tr:first-child td {
    border-top: 0 !important;
}

.table-container tfoot tr th {
    background-color: var(--bs-light-bg-subtle);
    position: -webkit-sticky;
    position: sticky;
    z-index: 90;
}

.table-container tfoot tr:nth-child(1) th {
    bottom: 0;
    background: var(--bs-light-bg-subtle);
}

.table-container tfoot tr:nth-child(2) th {
    bottom: 25px;
}

.table-container tfoot tr:nth-child(3) th {
    bottom: 50px;
}

.table-container thead th.text-white .dropdown-toggle::after {
    border-top: .3em solid rgba(255, 255, 255, 0.4);
}

.table-container-wrapper.fullscreen {
    position: fixed;
    top: 54px;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--bs-light);
    z-index: 500;
}

.table-container-wrapper .container-num-rows a[data-to-fullscreen] {
    display: block;
    float: right;
}

.table-container-wrapper .container-num-rows a[data-to-fullscreen="no"] {
    display: none;
}

.table-container-wrapper.fullscreen .container-num-rows a[data-to-fullscreen="yes"] {
    display: none;
}

.table-container-wrapper.fullscreen .container-num-rows a[data-to-fullscreen="no"] {
    display: block;
}

.table-container-wrapper.fullscreen > .btn-toolbar {
    padding: 0.7rem 1rem 0 1rem;
}

.table-container-wrapper .btn-toolbar .btn {
    line-height: 1.5;
}

.table-container-wrapper .container-num-rows {
    background-color: var(--bs-light-bg-subtle);
    border: 1px solid var(--bs-dark-bg-subtle);
}

.modal-backdrop.show {
    z-index: 1950;
}

.modal.fade.show {
    z-index: 1960;
}

.text-decoration-none,
.text-decoration-none:hover {
    text-decoration: none;
}

.table-container .dropdown-item i {
    min-width: 20px;
    text-align: center;
    display: inline-block;
}

.table-container .dropdown-item a {
    color: #212529;
}

.table-container .dropdown-item a:hover {
    color: #16181b;
}

div.table-sticky-left {
    position: absolute;
    left: 0;
    top: 0;
    transition: left 0.4s;
}

.spinner-title {
    color: var(--bs-corporate);
    font-weight: bold;
    margin-top: -25px;
    font-size: 11px;
}

.fa, .fab, .fal, .far, .fas {
    display: inline;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    padding: 0.1rem 0.3rem;
    font-size: 0.75rem;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
    width: auto;
    height: auto;
}

.min-width-1 {
    min-width: 50px;
}

.min-width-2 {
    min-width: 100px;
}

.min-width-3 {
    min-width: 150px;
}

.min-width-4 {
    min-width: 200px;
}

.min-width-5 {
    min-width: 250px;
}

.min-width-10 {
    min-width: 500px;
}

.code-preview {
    display: flex;
    padding: 2rem;
    background-color: #000;
    font-family: monospace, monospace;
    color: #fff;
}

.code-preview pre {
    white-space: -moz-pre-wrap; /* Mozilla, supported since 1999 */
    white-space: -pre-wrap; /* Opera */
    white-space: -o-pre-wrap; /* Opera */
    white-space: pre-wrap; /* CSS3 – Text module (Candidate Recommendation) http://www.w3.org/TR/css3-text/#white-space */
    word-wrap: break-word; /* IE 5.5+ */
}

.code-preview pre code {
    counter-reset: line-numbering;
}

.code-preview pre code .line::before {
    content: counter(line-numbering);
    counter-increment: line-numbering;
    padding-right: 0.5rem; /* space after numbers */
    margin-right: 1rem;
    width: 1.5rem;
    text-align: right;
    opacity: 0.5;
    border-right: 1px solid rgba(125, 125, 125, 1);
}

.table-thead-sticky-top thead th,
.table-thead-sticky-top thead td {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
}