
label.error {
    font-size: 12px;
    color: red;
}

.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

.boxBanner {
    position: relative;
    max-width: max-content;
    margin-bottom: 20px;
}

.boxBanner span.ico-close {
    cursor: pointer;
    display: block;
    line-height: 0;
    position: absolute;
    top: 14px;
    right: 5px;
    font-size: 40px;
    color: #fff;
    rotate: 45deg;
    font-family: monospace;
}

.boxBanner img.boxBanner_img {
    width: 200px;
    height: auto;
}

.gallery-container{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

@media (max-width: 1024px){
    .gallery-container{
        grid-template-columns: repeat(4, 1fr);
    }
}


@media (max-width: 800px){
    .gallery-container{
        grid-template-columns: repeat(2, 1fr);
    }
}

.gallery-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.gallery-container .image-hover{
    height: 155px;
}

.gallery-container .ti-trash {
    font-size: 15px;
}

.spinner {
    display: block;
    width: 20px;
    height: 20px;
    background: transparent;
    box-sizing: border-box;
    border-top: 4px solid white;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-radius: 100%;
    animation: spin 0.6s ease-out infinite;
}
@keyframes spin {
    100% {transform: rotate(360deg)}
}

/* Uniformisation des images de Sous Projet */
#sous-projets .card-body .card-header img{
    width: 346px;
    height: 231px;
    object-fit: cover;
}
/* FIN Uniformisation des images des Sous Projet */

.alert-yellow {
    background-color: #ffc107; /* Couleur jaune */
    color: #212529; /* Couleur du texte */
}

.alert-orange {
    background-color: #fd7e14; /* Couleur orange */
    color: #ffffff; /* Couleur du texte */
}
