.dataTable .Saturday {
    background: repeating-linear-gradient(135deg, #e6e6e6, #e6e6e6 4px, #f5f2f2 4px, #f5f2f2 8px) !important;
    /* background: repeating-linear-gradient(135deg, #eb7573, #eb7573 4px, #eba194 4px, #eba194 8px)  !important; */
    color: #000;
}


.dataTable .Sunday {
    background: repeating-linear-gradient(135deg, #f05b59, #f05b59 4px, #e88684 4px, #e88684 8px) !important;
    color: #000;
}

.dataTable .Monday {
    background: repeating-linear-gradient(135deg, #e6e6e6, #e6e6e6 4px, #f5f2f2 4px, #f5f2f2 8px) !important;
    color: #000;
}

.dataTable .Tuesday {
    background: repeating-linear-gradient(135deg, #e6e6e6, #e6e6e6 4px, #f5f2f2 4px, #f5f2f2 8px) !important;
    color: #000;
}

.dataTable .Wednesday {
    background: repeating-linear-gradient(135deg, #e6e6e6, #e6e6e6 4px, #f5f2f2 4px, #f5f2f2 8px) !important;
    color: #000;
}

.dataTable .Thursday {
    background: repeating-linear-gradient(135deg, #e6e6e6, #e6e6e6 4px, #f5f2f2 4px, #f5f2f2 8px) !important;
    color: #000;
}

.dataTable .Friday {
    background: repeating-linear-gradient(135deg, #e6e6e6, #e6e6e6 4px, #f5f2f2 4px, #f5f2f2 8px) !important;
    color: #000;
}

.dataTable .Sabato {
    /* background: repeating-linear-gradient(135deg, #eb7573, #eb7573 4px, #eba194 4px, #eba194 8px)  !important; */
    background: repeating-linear-gradient(135deg, #e6e6e6, #e6e6e6 4px, #f5f2f2 4px, #f5f2f2 8px) !important;
    color: #000;
}

.dataTable .Domenica {
    background: repeating-linear-gradient(135deg, #f05b59, #f05b59 4px, #e88684 4px, #e88684 8px) !important;
    color: #000;
}

.dataTable .Lunedì {
    background: repeating-linear-gradient(135deg, #e6e6e6, #e6e6e6 4px, #f5f2f2 4px, #f5f2f2 8px) !important;
    color: #000;
}

.dataTable .Martedì {
    background: repeating-linear-gradient(135deg, #e6e6e6, #e6e6e6 4px, #f5f2f2 4px, #f5f2f2 8px) !important;
    color: #000;
}

.dataTable .Mercoledì {
    background: repeating-linear-gradient(135deg, #e6e6e6, #e6e6e6 4px, #f5f2f2 4px, #f5f2f2 8px) !important;
    color: #000;
}

.dataTable .Giovedì {
    background: repeating-linear-gradient(135deg, #e6e6e6, #e6e6e6 4px, #f5f2f2 4px, #f5f2f2 8px) !important;
    color: #000;
}

.dataTable .Venerdì {
    background: repeating-linear-gradient(135deg, #e6e6e6, #e6e6e6 4px, #f5f2f2 4px, #f5f2f2 8px) !important;
    color: #000;
}

.dataTable .festivo {
    background: repeating-linear-gradient(135deg, #ebc052, #ebc052 4px, #e8cc84 4px, #e8cc84 8px) !important;
    color: #000;
}

.dataTable thead {
    display: table-header-group;
}

.dataTable th {
    text-align: center;
    background: #3c8dbc;
    color: #FFF;
}

.collision {
    background: red;
}

.borderNoBorder {
    background-position: 50% 0%;
    /* Center the image */
    background-repeat: no-repeat;
    /* Do not repeat the image */
    background-size: 20px 20px;
    border-left: 2px dotted #999;
    border-right: 2px dotted #999 !important;
    border-top: 2px dotted #999 !important;
    border-bottom: 2px dotted #999;
}

.dataTable thead th.colonna_personale {
    width: 180px;
    max-width: 180px;
}

.headcol {
    position: absolute;
    width: 5em;
    left: 0;
    top: auto;
    border-top-width: 1px;
    /*only relevant for first row*/
    margin-top: -1px;
    /*compensate for top border*/
}

.turnoTipo {
    display: inline;
    padding: 0.2em 0.6em 0.3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25em;
}

/* Stile per le colonne relative ai giorni */
.col-giorno {
    text-align: center;
    /* Centra il testo orizzontalmente */
    vertical-align: top;
    /* Allinea il testo verticalmente in alto */

}

/* Stile per le colonne dipendente */
.col-dipendente {
    text-align: left;
    /* Allinea il testo orizzontalmente a sinistra */
    z-index: 9;
    background: #3c8dbc;
    color: #fff;
    font-weight: 800;
}

.col-anomalie {
    text-align: left;
    /* Allinea il testo orizzontalmente a sinistra */
    z-index: 9;
    background: #3c8dbc !important;
    color: #fff !important;
    font-weight: 800;
}

/* Celle cliccabili: mantieni il cursore a mano */
.clickable-cell {
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s;
}

.clickable-cell:hover {
    background-color: #e2e6ea;
}

/* Pallino rosso */
.has-anomalies {
    color: red;
    font-size: 1.5em;
    text-align: center;
}

.presenze-filter-control {
    background: gainsboro;
    color: black;
}

.dataTables_wrapper .dataTables_scrollHead {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: white;
    /* Mantiene l'header visibile */
}

/* Fissa le colonne */
.fixed-column {
    position: sticky;
    left: 0;
    z-index: 1;
    /* background-color: white; */
    /* Mantiene visibile lo sfondo */
}

#gestioneAnomalieTable .sorting_1 {
    background: #3c8dbc !important;
}

.bordo-laterale {
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}

.bordo-sx {
    border-left: 1px solid #000;
}

.bordo-dx {
    border-right: 1px solid #000;
}