.table tr td {
    background-color: #333;
    /*cursor: pointer;*/
}

.table tr td a {
    color: skyblue;
}

.sortable:hover {
    color: skyblue;
    cursor: pointer;
}

.table-hover > tbody > tr:hover {
    color: #fff;
}

.clickable-row td {
    position: relative;
}

.clickable-row td a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0.5rem;
    color: #ffffff;
    text-decoration: none;
}

.clickable-row td .expand-link::after {
    content: " ";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.table tr td .expand-link {
    color: #FFFFFF;
}

.modal td {
    color: #eeeeee;
    cursor: default;
}

.modal td i {
    font-size: 1em;
}

.resultats-table {
    color: #eeeeee;
}

.resultats-table tbody td {
    font-size: .9em;
    vertical-align: middle;
    border: thin solid #666666;
}

.table.table-hover.resultats-table tbody tr:last-child td {
    border-bottom: thin solid #666666;
}

.resultats-table thead th {
    font-size: .9em;
    border: thin solid #666666;
    background-color: #333333;
    border-bottom-color: #eeeeee;
}

.resultats-table thead th a {
    text-decoration: none;
    transition: .3s ease;
}

.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.export-btns-cont {
    display: flex;
    gap: 5px;
}

#id_afficher {
    display: inline-block;
    width: auto;
    padding: .1rem .5rem;
    font-size: .95em;
    background-color: #222;
    color: #eee;
    border-color: #777;
}

.dataTables_filter label {
    display: flex;
    gap: 5px;
    align-items: center;
}

.dataTables_filter label input,
.expot-btn-conts .btn {
    padding: .250rem .75rem;
}

.resultats-table thead th a:hover {
    color: skyblue;
}

.pagination .page-link {
    background-color: #2e2e2e;
    border-color: #495057;
    color: #fff;
}

.pagination .page-item.active .page-link {
    background-color: #495057;
    border-color: #6c757d;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    background-color: #343a40;
    border-color: #495057;
    color: #6c757d;
}

.pagination .page-link:hover {
    background-color: #343a40;
    border-color: #6c757d;
    color: #fff;
}

@media print {
    body, .resultats-table thead th, .table tr td, .table tr td .expand-link {
        background-color: white;
        color: #333;
        border-bottom-color: #444444;
    }
    .resultats-table tbody tr td {
        border: thin solid #666666 !important;
    }

    #compte{
        color: #333;
    }

    .table-controls, #pagesTop, .navbar {
        display: none;
    }
    .sortable:hover{
        color: #333;
    }
    .table{
        width: 100%;
        table-layout: auto;
    }

}