.dt-datetime-label {
    color: black;
}

thead input {
    width: 100%;
}

#bg2 > table {
    color: black;
}

[id$="_table_wrapper"] {
    margin-top: 1rem;
    background-color: white;
}

[id$="_table"] {
    color: black;
}

[id$="_table_wrapper"] .dt-buttons {
    padding: 10px;
}

[id$="_table_length"],
[id$="_table_filter"] {
    float: right;
    padding: 10px;
}

.dataTables_info,
.dataTables_paginate {
    padding: 10px;
}

#filtersTable tr {
    float: left;
}

.ct-listing-page [id$="_table"] {
    width: 100% !important;
    margin: 0 !important;
    color: #5d596c;
    border-collapse: separate !important;
    border-spacing: 0;
}

.ct-listing-page [id$="_table"] thead th {
    padding: 0.9rem 1rem;
    border: 0;
    background: #f4f8fc;
    color: #6d6886;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ct-listing-page [id$="_table"] tbody td,
.ct-listing-page [id$="_table"] tfoot th {
    padding: 0.5rem 1rem;
    border-top: 1px solid rgba(47, 43, 61, 0.08);
    color: #5d596c;
    vertical-align: middle;
    background: #fff;
}

.ct-listing-page [id$="_table"] tbody tr:hover td {
    background: #fbfbfd;
}

.ct-listing-page [id$="_table_wrapper"] .dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0 0 0.5rem;
}

.ct-listing-export-slot .dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0;
}

.ct-listing-export-slot .dt-buttons button {
    margin: 0;
}

.ct-listing-page [id$="_table_wrapper"] .dataTables_length,
.ct-listing-page [id$="_table_wrapper"] .dataTables_filter,
.ct-listing-page [id$="_table_wrapper"] .dataTables_info,
.ct-listing-page [id$="_table_wrapper"] .dataTables_paginate {
    padding: 0.5rem 0;
}

.ct-listing-table-filters-slot .dataTables_length,
.ct-listing-table-filters-slot .dataTables_filter {
    padding: 0;
    margin: 0;
}

.ct-listing-page [id$="_table_wrapper"] .dataTables_length label,
.ct-listing-page [id$="_table_wrapper"] .dataTables_filter label,
.ct-listing-table-filters-slot .dataTables_length label,
.ct-listing-table-filters-slot .dataTables_filter label {
    color: #5d596c !important;
    font-weight: 600;
}

.ct-listing-page [id$="_table_wrapper"] .dataTables_length select,
.ct-listing-page [id$="_table_wrapper"] .dataTables_filter input,
.ct-listing-table-filters-slot .dataTables_length select,
.ct-listing-table-filters-slot .dataTables_filter input {
    min-height: 2.35rem;
    border: 1px solid #dbdade;
    border-radius: 0.65rem;
    color: #5d596c;
    background-color: #fff;
}

.ct-listing-page [id$="_table_wrapper"] .dataTables_filter input,
.ct-listing-table-filters-slot .dataTables_filter input {
    padding: 0.35rem 0.75rem;
    margin-left: 0.5rem;
}

.ct-listing-page [id$="_table_wrapper"] .dt-button,
.ct-listing-export-slot .dt-button {
    border: 1px solid rgba(0, 47, 95, 0.24) !important;
    border-radius: 0.65rem !important;
    background: rgba(0, 47, 95, 0.1) !important;
    color: #002f5f !important;
    box-shadow: none !important;
    padding: 0.45rem 0.7rem !important;
    height: 39px;
    width: 42px;
}

.ct-listing-page [id$="_table_wrapper"] .dt-button:hover,
.ct-listing-export-slot .dt-button:hover {
    background: #002f5f !important;
    color: #fff !important;
}

.ct-listing-page [id$="_table_wrapper"] .dt-button .ct-export-icon,
.ct-listing-export-slot .dt-button .ct-export-icon {
    width: 1rem;
    height: 0.9rem;
    display: block;
    margin: 0 auto;
}

.buttons-pdf svg{
    height: 0.9rem;
}

.ct-listing-page [id$="_table_wrapper"] .dataTables_paginate .paginate_button {
    border: 0 !important;
    border-radius: 0.6rem !important;
    color: #5d596c !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.ct-listing-page [id$="_table_wrapper"] .dataTables_paginate .paginate_button:hover {
    background: rgba(0, 47, 95, 0.1) !important;
    color: #002f5f !important;
}

.ct-listing-page [id$="_table_wrapper"] .dataTables_paginate .paginate_button.current,
.ct-listing-page [id$="_table_wrapper"] .dataTables_paginate .paginate_button.current:hover {
    background: #002f5f !important;
    color: #fff !important;
}

.ct-listing-page [id$="_table"] tbody td .btn-sm.btn-primary,
.ct-listing-page [id$="_table"] tbody td .btn-sm.btn-default,
.ct-listing-page [id$="_table"] tbody td .btn-sm.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0 !important;
    border-radius: 0.65rem;
}

.ct-listing-page [id$="_table"] tbody td .btn-sm.btn-primary,
.ct-listing-page [id$="_table"] tbody td .btn-sm.btn-default {
    border: 1px solid #002f5f !important;
    background: #002f5f !important;
    color: #fff !important;
}

.users-page .table thead th {
    background-color: #f4f8fc;
    color: #000;
}

.table tbody:not(#holiday-table) tr td:last-child {
    text-align-last: right;
}

.table tbody#holiday-table tr td:last-child {
    width: 10%;
}

.table th:last-child {
    pointer-events: none !important;
}

.table th:last-child::before, .table th:last-child::after {
    display: none !important;
}

.icon-btn, .paginate_button:not(.previous):not(.next) {
    width: 42px !important;
    height: 39px !important;
}

.modal {
    margin-top: 4rem;
}

.btn-create-color {
    background-color: #28a745 !important;
    color: white !important;
    border: 1px solid #28a745 !important;
}

@media (max-width: 767.98px) {
    .ct-listing-page [id$="_table_wrapper"] .dt-buttons {
        justify-content: flex-start;
    }
}
