html {
    font-size: 13px;
}

.custom-footer {
    height: 20px;
    /* Autres styles personnalisés */
}
@media (min-width: 768px) {
    html {
        font-size: 13px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 15px;
}

thead {
    background-color: #000080;
    color: white;
}

.autocomplete-container {
    margin-bottom: 20px;
}

.input-container {
    display: flex;
}

    .input-container input {
        flex: 1;
        outline: none;
        border: 1px solid rgba(0, 0, 0, 0.2);
        padding: 10px;
        padding-right: 31px;
        font-size: 16px;
    }

.red {
    background-color: #c5cae9 !important;
}


.autocomplete-items {
    position: absolute;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 2px 10px 2px rgba(0, 0, 0, 0.1);
    border-top: none;
    background-color: #fff;
    z-index: 99;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
}


.autocomplete-container {
    margin-bottom: 20px;
}

.input-container {
    display: flex;
    position: relative;
}

    .input-container input {
        flex: 1;
        outline: none;
        border: 1px solid rgba(0, 0, 0, 0.2);
        padding: 10px;
        padding-right: 31px;
        font-size: 16px;
    }

.autocomplete-items {
    position: absolute;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 2px 10px 2px rgba(0, 0, 0, 0.1);
    border-top: none;
    background-color: #fff;
    z-index: 99;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
}

    .autocomplete-items div {
        padding: 10px;
        cursor: pointer;
    }

        .autocomplete-items div:hover {
            /*when hovering an item:*/
            background-color: rgba(0, 0, 0, 0.1);
        }

    .autocomplete-items .autocomplete-active {
        /*when navigating through the items using the arrow keys:*/
        background-color: rgba(0, 0, 0, 0.1);
    }

.clear-button {
    color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    position: absolute;
    right: 5px;
    top: 0;
    height: 100%;
    display: none;
    align-items: center;
}

    .clear-button.visible {
        display: flex;
    }

    .clear-button:hover {
        color: rgba(0, 0, 0, 0.6);
    }

.icon-green {
    color: green;
    font-size: 25px;
}

.icon-red {
    color: red;
    font-size: 25px;
}

.icon-large {
    font-size: 25px;
}

.icon-blue {
    color: blue;
    font-size: 25px;
}

.icon-yellow {
    color: yellow;
    font-size: 25px;
}

.icon-gray {
    color: gray;
    font-size: 25px;
}

.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1500;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
}

    .ui-autocomplete > li > div {
        display: block;
        padding: 3px 20px;
        clear: both;
        font-weight: normal;
        line-height: 1.42857143;
        color: #333333;
        white-space: nowrap;
    }

.ui-state-hover,
.ui-state-active,
.ui-state-focus {
    text-decoration: none;
    color: #262626;
    background-color: #f5f5f5;
    cursor: pointer;
}

.ui-helper-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.ui-autocomplete-loading {
    background: white url("../img/LoaderIcon.gif") right center no-repeat;
}

.modal-dialog {
    z-index: 1050; /* Vous pouvez ajuster la valeur en fonction de vos besoins */
}

/* Page Match:Index::espace apres le lien dans la colonne action et affichage ou pas de l'icone*/ 
.hidden-icon {
    display: none;
}
.link-with-margin {
    margin-right: 4px; /* Réglez la valeur souhaitée pour l'espacement */
}

/* Preloading Ajax */
#overlay {
    position: fixed;
    top: 0;
    left: 0; /* Ajout de left: 0 pour positionner correctement */
    z-index: 2000; /* Augmenter le z-index pour qu'il soit au-dessus de la modal */
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.6);
}

.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}

.is-hide {
    display: none;
}

/*Gestion de l ecart dans la select2 */
.img-icon {
    margin-left: 15px;
}

/* -----------DEBUT MODAL AIDE------------/
/* Styles pour la modal d aide*/
.modal-aide {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.modal-aide-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 50%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
    z-index: 2;
    padding:10px;
}


.help-modal {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 50%; /* Largeur de 50% */
    text-align: center;
    position: relative;
}

/* Style pour le bouton d'ouverture de la modal */
.open-modal-aide-btn {
    position: fixed;
    bottom: 80px;
    right: 10px;
    cursor: pointer;
    background-color: #007bff;
    color: #fff;
    padding: 10px 10px;
    border: none;
    border-radius: 5px;
}

/* Styles pour le bouton de fermeture de la modal */
.close-modal-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    background-color: #007bff;
    color: #fff;
    padding: 10px 10px;
    border: none;
    border-radius: 5px;
}
/* -----------FIN MODAL AIDE------------/