div.dt-container .dt-infos
{
    display: flex;
    flex-direction: row;
    gap: 25px;
    align-items: center;
}
/* ------------------------------ Top datatable ----------------------------- */
div.dt-container .dt-background
{
    background: var(--couleurAppliClair3);
    border-top-left-radius: var(--borderRadius);
    border-top-right-radius: var(--borderRadius);
}
div.dt-container .dt-top
{
    border-top-left-radius: var(--borderRadius);
    border-top-right-radius: var(--borderRadius);
    padding: 10px 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
div.dt-container .dt-top > .dt-buttons
{
    display: flex;
    flex-direction: row;
    gap: 10px;
}
div.dt-container .dt-top > .dt-buttons > .dt-button
{
    border: 1px solid var(--couleurAppliGris2);
    background: transparent;
    border-radius: var(--borderRadius);
    padding: 10px;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    line-height: normal;
    font-size: 1.1em;
    width: auto;
    height: auto;
    color: var(--couleurAppliFonce);
    box-sizing: border-box;
}
div.dt-container .dt-top > .dt-buttons > .dt-button::after
{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    
}
div.dt-container .dt-top > .dt-buttons > .dt-button:hover:not(:disabled)
{
    border: 1px solid var(--couleurAppli);
    background: var(--couleurAppli);
    color: white;
}
div.dt-container .dt-top > .dt-buttons > .dt-button > span
{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}
div.dt-container .dt-top > .dt-buttons > .dt-button > span > i.dt-button-picto
{
    font-size: 1.35em;
}
/* Search */
div.dt-container .dt-top > .dt-search
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 1.2em;
    font-style: italic;
}
div.dt-container .dt-top > .dt-search label
{
    display: none;
}
div.dt-container .dt-top > .dt-search input
{
    border: none;
    background: white;
    padding: 10px 40px 10px 25px;
    width: 100%;
    font-size: inherit;
    border-radius: var(--borderRadius);
    background-image: url("/inc_images/dataTables/loupe.svg");
    background-position: center right 10px;
    background-repeat: no-repeat;
    background-size: 24px;
}

div.dt-container table.dataTable
{
    background: white;
    border-top-left-radius: var(--borderRadius);
    border-top-right-radius: var(--borderRadius);
}

/* ------------------------------- Entete row ------------------------------- */

table.dataTable > thead 
{
    position: sticky;
    top: var(--tailleMenuTop);
    z-index: 2;
}

table.dataTable thead tr > th
{
    z-index: 2;
}
table.dataTable thead tr > th,
table.dataTable thead tr > th a
{
    color: white;
    font-weight: normal;
}
table.dataTable thead tr > th
{
    background-color: var(--couleurAppli);
}
table.dataTable thead tr > th, 
table.dataTable thead tr > td
{
    border: none !important;
}

table.dataTable thead tr > th:not(:last-child)::after
{
    content: "";
    position: absolute;
    right: 0;
    background: rgba(255,255,255,.3);
    width: 1px;
    bottom: 0;
    height: 75%;
}
table.dataTable thead tr:first-child > th:first-child,
table.dataTable tbody tr:not(:last-child) > td:first-child

{
    border-top-left-radius: var(--borderRadius);
    border-bottom-left-radius: var(--borderRadius);
}
table.dataTable thead tr:first-child > th:last-child,
table.dataTable tbody tr:not(:last-child) > td:last-child
{
    border-top-right-radius: var(--borderRadius);
    border-bottom-right-radius: var(--borderRadius);
}
table.dataTable tbody tr:last-child > td:first-child
{
    border-top-left-radius: var(--borderRadius);
}
table.dataTable tbody tr:last-child > td:last-child
{
    border-top-right-radius: var(--borderRadius);
}

table.dataTable thead > tr > th .dt-column-header .dt-column-title
{
    text-wrap: balance;
}
/* ---------------------------- Entete search row --------------------------- */
table.dataTable thead tr.dt-searchheader-row
{
    top: -20px;
}
table.dataTable thead tr.dt-searchheader-row > th.dt-searchheader-header
{
    z-index: 1;
    background-color: var(--couleurAppliGris);
    padding: 15px 8px 5px 8px !important;
}
table.dataTable thead tr.dt-searchheader-row > th.dt-searchheader-header:not(:last-child)::after
{
    bottom: unset;
    top: 0;
}
table.dataTable thead tr.dt-searchheader-row > th.dt-searchheader-header:first-child
{
    border-top-left-radius: 0px;
    border-bottom-left-radius: var(--borderRadius);
}
table.dataTable thead tr.dt-searchheader-row > th.dt-searchheader-header:last-child
{
    border-top-right-radius: 0px;
    border-bottom-right-radius: var(--borderRadius);
}
table.dataTable thead tr.dt-searchheader-row > th.dt-searchheader-header > .dt-searchheader-container
{
    padding-top: 10px;
}
table.dataTable thead tr.dt-searchheader-row > th.dt-searchheader-header > .dt-searchheader-container > .dt-searchheader-input
{
    border: 0;
    padding: 3px;
    padding-left: 8px;
    font-style: italic;
}

/* Ouvre / ferme filtre */
table.dataTable thead tr.dt-searchheader-row > th.dt-searchheader-header.dt-searchheader-has-toggle
{
    position: sticky;
    left: 0px;
}
table.dataTable thead tr.dt-searchheader-row > th.dt-searchheader-header > .dt-searchheader-toggle
{
    position: absolute;
    z-index: -1;
    left: 50px;
    bottom: -16px;
    border: none;
    border-radius: 100%;
    width: 32px;
    height: 32px;
    background-color: var(--couleurAppliGris);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 0.6em;
    
}

table.dataTable thead tr.dt-searchheader-row > th.dt-searchheader-header > .dt-searchheader-toggle > .dt-searchheader-toggleIcon
{
    transition: transform .2s ease-in-out;
    transform: scaleY(1);
}
table.dataTable thead tr.dt-searchheader-row > th.dt-searchheader-header > .dt-searchheader-toggle > .dt-searchheader-toggleIcon.state-closed
{
    transform: scaleY(-1);
}
table.dataTable thead tr.dt-searchheader-row > th.dt-searchheader-header > .dt-searchheader-toggle > .dt-searchheader-toggleIcon::after
{
    content: "\f078";
    position: absolute;
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font: var(--fa-font-solid);
    font-size: 16px;
    box-sizing: border-box;
} 

/* -------------------------------- Tbody row ------------------------------- */
table.dataTable tbody tr:nth-child(odd) > td
{
    background: #f8f8f8;
}
table.dataTable tbody tr:nth-child(even) > td
{
    background: white;
}
table.dataTable tbody tr > td
{
    text-align: left;
}

table.dataTable tr.inactif td{
	font-style: italic;
}
table.dataTable tr.inactif::after{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
	background-image: repeating-linear-gradient(-45deg,transparent,transparent 5px,rgba(180, 180, 180, 0.3) 5px,rgba(180, 180, 180, 0.3) 10px);
    pointer-events: none;
}
/* ------------------------------- Pagination ------------------------------- */
div.dt-container .dt-paging
{
    display: flex;
    margin-top: 25px;
}
div.dt-container .dt-paging > nav
{
    margin: auto;
    background-color: var(--couleurAppliClair3);
    border-radius: 50px;
    display: flex;
    flex-direction: row;
    gap: 5px;
}
div.dt-container .dt-paging > nav .dt-paging-button
{
    border-radius: 50px;
    margin-left: 0;
    font-size: 1.1rem;
    padding: 0 5px;
    min-width: 2em;
    height: 2em;
    color: var(--couleurAppliFonce) !important;
}
div.dt-container .dt-paging > nav .dt-paging-button:hover
{
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.3);
    color: var(--couleurAppliGris2) !important;
}
div.dt-container .dt-paging > nav .dt-paging-button.current
{
    border: 1px solid var(--couleurAppliFonce);
    color: var(--couleurAppliFonce) !important;
}
div.dt-container .dt-paging > nav .dt-paging-button[data-dt-idx="first"],
div.dt-container .dt-paging > nav .dt-paging-button[data-dt-idx="previous"],
div.dt-container .dt-paging > nav .dt-paging-button[data-dt-idx="last"],
div.dt-container .dt-paging > nav .dt-paging-button[data-dt-idx="next"]
{
    font-size: 0px;
    width: 36px;
    height: 36px;
}
div.dt-container .dt-paging > nav .dt-paging-button[data-dt-idx="first"]::after,
div.dt-container .dt-paging > nav .dt-paging-button[data-dt-idx="previous"]::after,
div.dt-container .dt-paging > nav .dt-paging-button[data-dt-idx="last"]::after,
div.dt-container .dt-paging > nav .dt-paging-button[data-dt-idx="next"]::after
{
    font: var(--fa-font-solid);
    font-size: 16px;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
div.dt-container .dt-paging > nav .dt-paging-button[data-dt-idx="first"]::after
{
    content: "\f100";
}
div.dt-container .dt-paging > nav .dt-paging-button[data-dt-idx="previous"]::after
{
    content: "\f104";
}
div.dt-container .dt-paging > nav .dt-paging-button[data-dt-idx="last"]::after
{
    content: "\f101";
}
div.dt-container .dt-paging > nav .dt-paging-button[data-dt-idx="next"]::after
{
    content: "\f105";
}
div.dt-container .dt-paging > nav .ellipsis
{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 0;
    padding-bottom: 5px;
    width: 36px;
}

/* ------------------------------- Processing ------------------------------- */
.dt-container div.dt-processing
{
    color: var(--couleurAppli);
    font-size: 32px;
    margin-left: 0;
    background: rgba(255,255,255,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    top: 100px;
    left: 0;
    height: calc(100% - 100px);

}
div.dt-processing > div:last-child > div
{
    background: var(--couleurAppli) !important;
}

.dt-button.processing::after {
    content: unset !important;
    display: none !important;
}

/* --------------------------------- Colvis --------------------------------- */

div.dt-button-collection.fixed .dt-button.buttons-columnVisibility,
div.dt-button-collection.fixed .dt-button.button-unselect-all
{
    background:#7e7e7e;
    color: rgb(22, 22, 22);
}
div.dt-button-collection.fixed .dt-button.buttons-columnVisibility.dt-button-active,
div.dt-button-collection.fixed .dt-button.button-select-all
{
    background:var(--couleurAppli);
    color: white;
}
div.dt-button-collection.fixed .dt-button.buttons-columnVisibility:hover:not(.disabled),
div.dt-button-collection.fixed .dt-button:hover:not(.disabled)
{
    background: var(--couleurAppliClair);
    color: white;
}

div.dt-button-collection.fixed .dt-button.button-unselect-all,
div.dt-button-collection.fixed .dt-button.button-select-all
{
    text-align: center;
}

/* ---------------------------------- Cell ---------------------------------- */
td.dt-cell-sticky-left
{
    position: sticky;
    left: var(--tailleMenuLeft);
    z-index: 1;
}