/******** Modal de création de fiche ********/

/* UI */
#creaFormFiche .modal-dialog{
    max-width: 900px;
}
#creaFormFiche .modal-body {
    max-height: calc(100vh - 250px);
}
.btn-default{
    margin-left: 10px;
    border: 2px solid white;
    border-radius: 10%;
}
#labelChamp {
    margin-bottom: 0rem;
    padding: 5px;
    padding-left: 0; /* A voir si on aligne ou pas. Ici, c'est aligné */
}
#creaFormFiche .section-title {
    color: crimson;
    margin-top: 30px;
    margin-bottom: 10px;
}
#numDiv {
    margin-top: -2px;
    color: white;
}
#creaFormFiche .form-group {
    padding-left: 30px;
    padding-right: 30px;
    margin-bottom: 15px;
}
#asterisk {
    font-size: 0.5rem;
    color: crimson;
    vertical-align: top;
}
.pre-icon {
    float: left;
    margin-left: 15px;
    margin-top: -27px;
    position: relative;
    z-index: 2;
    color: grey;
}
.post-icon {
    float: right;
    margin-right: 15px;
    margin-top: -27px;
    position: relative;
    z-index: 2;
    color: grey;
}
.post-icon:hover{
    cursor: pointer;
}

/* Champ Catégories */
#catTree{
    display: block;
    width: auto;
    height: 310px;
    overflow: auto;
    border: 1px solid #CED4DA;
    border-radius: 16px;
    margin-left: 30px;
    margin-right: 30px;
    padding-left: 0!important;
    /*padding-top: 6px;*/
}
#folder_jstree_crea{
    padding: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
    width: 100%;
}
i.jstree-icon.jstree-themeicon.no-icon.jstree-themeicon-custom{
    display: none; /* Permet de supprimer les icones obligatoires devant les catégories autres que 1*/
}
.jstree-default .jstree-search{
    color: tomato; /* Permet de changer la couleur de la police des catégories proposées par la recherche */
}
.jstree-default .jstree-disabled{
    color: black!important; /* Permet de conserver la couleur noire de la police même si la catégorie est désactivée */
}
.jstree-default .jstree-disabled>.jstree-icon .jstree-checkbox{
    display: none; /* Permet de faire disparaitre la checkbox des catégories désactivées => NE FONCTIONNE PAS POUR LE MOMENT*/
}

/* Champ Tags */
#creaFormFiche .tagify__input {
    /*width: 301px;*/
    height: 38px;
    padding: 8px 12px 6px 12px;
    margin: 0;
    color: #727A82;
}
#creaFormFiche .tagify__tag {
    margin: 5px 0 10px 5px;
}

/* Champ Adresse */
#selectionCrea {
    margin-top: 8px; 
    padding: 5px; 
    height: 180px; 
    border: 1px solid #eaeaea; 
    box-shadow: 0 3px 5px rgb(0 0 0 / 25%);
    cursor: pointer;
}
#selectionCrea ul {
    padding-left: 0;
}
#selectionCrea li {
    font-size: 0.8rem;
    padding : 0.3rem;
    list-style-type: none; /* Supprime les puces dans l'auto-complétion */
}
#selectionCrea li:hover {
    background-color: rgb(250, 250, 250) ;
}
#selectionCrea span {
    font-size: medium;
}

/* Champ Dates */
.form-check-label {
    cursor: pointer;
}
#daterange {
    display: none;
}
.month-item-header {
    height: 42px;
}
.litepicker {
    font-size: 1rem;
}
.month-item:hover .day-item:hover {
    cursor: pointer;
}
.is-today {
    font-weight: bold;
}
.is-today.is-selected {
    font-weight: normal;
}

/* ===== Scrollbar CSS ===== */
/* Firefox => Semble s'appliquer sur tous les navigateurs avec des bugs... 
* {
    scrollbar-width: auto;
    scrollbar-color: #db6e33 #ffffff;
} */
/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}
*::-webkit-scrollbar-track {
    background: #ffffff;
}
*::-webkit-scrollbar-thumb {
    background-color: rgba(255, 99, 71, 0.55);
    border-radius: 16px;
    border: 3px solid #ffffff;
    visibility:hidden;
}
*::-webkit-scrollbar-track {
    background: transparent;
}
*:hover::-webkit-scrollbar-thumb {
    visibility:visible;
}
