/*.dataTables_wrapper .dt-buttons {*/
    /*font-size: 0.8rem;*/
/*}*/
.dataTables_wrapper .dt-buttons .dropdown-menu {
    font-size: 0.8rem;
    padding:0;
    margin:0;
}


/** pas de marge supérieure lorsque la ligne de titre est en fixed header **/
table.dataTable.fixedHeader-floating {
    margin-top: 0px !important;
}
/** bordure du bas des titres en noir en fixed header **/
table.dataTable.fixedHeader-floating th {
    border-bottom-color: #111;
}

/** réduction de la taille originale des libellés datatables : nombre d'élements par page (en haut), champ Recherche (en haut), éléments affichés actuellement (en bas), et pagination (en bas) */
.dataTables_length,.dataTables_filter,.dataTables_info,.dataTables_paginate {font-size:0.9rem;}

/** limitation de la taille des filtres pour ne pas agrandir excessivement les colonnes **/
select.datatables-filter {
    max-width: 200px;
}


/** layout pour les éléments datatables - cf. mTable.js option "dom" de la fonction datatable **/
div.dataTables_wrapper div.mTable-top {
    display: flex;
    justify-content: space-between;
}
div.dataTables_wrapper div.dt-buttons {
    margin-top: 2px;
    margin-bottom: 6px;
}
div.dataTables_wrapper div.dataTables_filter {
    display: flex;
}
div.dataTables_wrapper div.mTable-bottom {
    display: flex;
    justify-content: space-between;
}
div.dataTables_wrapper div.dataTables_info {
    display: flex;
    padding-top: 0.2em;
}
div.dataTables_wrapper div.dataTables_length {
    display: flex;
    padding-top: 0.2em;
}
div.dataTables_wrapper div.dataTables_paginate {
    display: flex;
}
div.dataTables_wrapper div.mTable-top label,
div.dataTables_wrapper div.mTable-bottom label {
    margin-bottom: 0;
}

/** alignement des checboxes avec le texte des cellules **/
table.dataTable tbody td.select-checkbox:before, table.dataTable tbody th.select-checkbox:before {
    margin-top: auto !important;
}
table.dataTable tr.selected td.select-checkbox:after, table.dataTable tr.selected th.select-checkbox:after {
    margin-top: -4px !important;
}
table.dataTable td.select-checkbox:hover,
table.dataTable td.mTable-checkable:hover{
    cursor: pointer;
}

table.mTable-checkbox th {
    text-align: center;
}

.dataTables_wrapper .mTable-checkbox th a {
    border: 0.5px solid #5c5c5c;
    border-radius: 4px;
    padding: 1px;
    margin-left: 2px;
    margin-right: 2px;
}

.dataTables_wrapper .mTable-checkbox th a.disabled {
    border-color: #c1c1c1;
    color: #c1c1c1;
}

.mTable-checkbox th a:hover,
.dataTables_info a:hover {
    cursor: pointer;
}

.mTable-checkbox th a.disabled:hover,
.dataTables_info a.disabled:hover {
    cursor: hand;
}

.dataTables_info a.lienFiltrerSurSelectionMTable {
    display: flex;
    margin-left: auto;
    order: 2;
    padding-top: 5px;
}


