#loader-container {
    display: block;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid green;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 1s linear infinite;
    margin: 20% auto;
    margin-bottom: 10%;
}

.loader i {
    font-size: 2em;
    color: #3498db;
    /* Change the color as needed */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.file-upload-wrapper {
    border: 2px dashed #d3d3d3;
    padding: 10px;
    text-align: center;
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-upload-wrapper img {
    max-width: 100%;
    height: 100px;


}

.fas.fa-file-pdf {
    font-size: 48px;
    color: #D33434;
}

.custom-file-input {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.custom-file-label {
    cursor: pointer;
}

.sample-border {
    border: 1px solid #00800052;
    padding: 20px;
    border-radius: 5px;
}

.form-label-titre {
    font-size: 18px;
}

.dl dt {
    float: left;
    width: 41%;
    padding: 0 !important;
    overflow: hidden;
    clear: left;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1rem;
    font-size: .9em;
}

.dl dd {
    margin-left: 44%;
    line-height: 1rem;
    font-size: .9em;
    font-weight: 700;
}

.lnbtp-color {
    color: #02b050 !important;
}

/* .sidebar-background {
        position: absolute;
        z-index: -1;
        height: 100%;
        width: 100%;
        display: block;
        top: 0;
        left: 0;
        background-size: cover;
        background-position: 50%;
        opacity: 1;
        background: #0a0a0a;
    } */

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em;
    background: transparent url('data:image/svg+xml;charset=utf-8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 16 16\'><path fill=\'%23FFFFFF\' d=\'M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z\'/></svg>') 50% / 1em auto no-repeat;
    border: 0;
    border-radius: .25rem;
    opacity: 1;
}


.tableTdCenter {
    text-align: center;
    vertical-align: middle;
}

.file-icon-container img {
 height: 50px;
 width: 50px;
}

.file-number {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 12px;
    background-color: #eee;
    padding: 2px 5px;
    border-radius: 50%;
}

.image-popup {
    display: none; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    z-index: 100; 
}

.image-popup img {
    max-width: 90%;
    max-height: 90%;
}

.badge-pill {
    position: absolute;
    /* top: 0px; */
    right: 5px;
    padding: 5px 8px 3px 5px;
    border-radius: 50%;
    background-color: red;
    color: white;
    font-size: 12px;

}


/*  */


table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

td, th {
    padding: 5px;
    text-align: center;
    vertical-align: middle;
}

.graduation {
    position: relative;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}

.graduation::before,
.graduation::after {
    content: '';
    position: absolute;
    left: -5px;
    width: 5px;
    border-left: 1px solid #000;
}

.graduation::after {
    left: auto;
    right: -5px;
    border-right: 1px solid #000;
}

.graduation::before,
.graduation::after {
    top: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 9px,
        #000 9px,
        #000 10px
    );
}

.profondeur-cell {
    position: relative;
}

.profondeur-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        to bottom,
        #000 0,
        #000 2px,
        transparent 2px,
        transparent 19px,
        #000 19px,
        #000 20px
    );
}

.profondeur-cell::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 9px,
        #000 9px,
        #000 10px,
        transparent 10px,
        transparent 19px,
        #000 19px,
        #000 20px
    );
}

.last-td {
    border-right: 1px solid #000;
}


.form-control {
    border: 1px solid #ececec !important;
}