@media only screen and (max-width: 500px) {
    #back-to-top {
        width: 40px;
        height: 40px;
    }

    #addModal_clients {
        padding-bottom: 60px;
    }
    #addModal_chantiers {
        padding-bottom: 60px;
    }
    #addModal_chefs {
        padding-bottom: 60px;
    }
    #addModal_conducteurs {
        padding-bottom: 60px;
    }
    #addModal_utilisateurs {
        padding-bottom: 60px;
    }
    #addModal_fournisseurs {
        padding-bottom: 60px;
    }
    #addModal_salaries {
        padding-bottom: 60px;
    }

    .row > * {
        padding-right: 0%;
        padding-left: 0%;
    }

    .panel-primary {
        padding: 15px;
    }
}

.nav.panel-tabs a:hover {
    color: var(--primary-bg-color);
}

.ms-choice span {
    overflow: hidden;
    width: 90%;
}

* {
    font-family: "Barlow", sans-serif;
    --primary-bg-color: #beaf87!important;
    --primary-bg-hover:#847252!important;
    --primary-bg-border: #beaf87!important;
    --primary09: #847252!important;
}

th {
    background-color: #beaf87!important;
}

.btn-success {
    background-color: rgb(114, 195, 255)!important;
    border-color: rgb(114, 195, 255)!important;
}

/* Cible les cellules de la table qui contiennent une checkbox */
.table td:has(> .form-check-input) {
    text-align: center;      /* Centre horizontalement le contenu */
    vertical-align: middle;  /* Centre verticalement le contenu */
}

/* Réinitialise la position de la checkbox pour la centrer correctement */
.table .form-check-input {
    position: static;  /* Annule le 'position: absolute' de Bootstrap */
    margin: 0;         /* Supprime les marges qui décalent l'élément */
}