.fcsc-eventon-auto {
    position: relative;
    visibility: hidden;
    opacity: 0;
}

.fcsc-eventon-auto.fcsc-auto-ready {
    visibility: visible;
    opacity: 1;
    transition: opacity .12s ease;
}

.fcsc-eventon-auto .fcsc-auto-hidden {
    display: none !important;
}

/*
 * ARCHIVIO EVENTI
 *
 * Nel template FCSC il blu principale è lo sfondo della card EventON.
 * Qui cambiamo soltanto il colore visivo della card nella vista Archivio:
 * il valore originale dell'evento nel database EventON resta invariato.
 */
.fcsc-eventon-auto--archive .eventon_list_event.fcsc-auto-archived .evcal_list_a,
.fcsc-eventon-auto--archive .eventon_list_event.fcsc-auto-archived .desc_trig {
    background: var(--fcsc-archive-color, #8a8f98) !important;
    background-color: var(--fcsc-archive-color, #8a8f98) !important;
    background-image: none !important;
    border-color: var(--fcsc-archive-color, #8a8f98) !important;
    border-left-color: var(--fcsc-archive-color, #8a8f98) !important;
}

/* Eventuali elementi/pseudo-elementi usati da EventON per l'accento colore */
.fcsc-eventon-auto--archive .eventon_list_event.fcsc-auto-archived .evcal_list_a::before,
.fcsc-eventon-auto--archive .eventon_list_event.fcsc-auto-archived .desc_trig::before {
    background-color: var(--fcsc-archive-color, #8a8f98) !important;
    border-color: var(--fcsc-archive-color, #8a8f98) !important;
}

/*
 * Evita che l'hover di EventON ripristini il colore originale.
 */
.fcsc-eventon-auto--archive .eventon_list_event.fcsc-auto-archived .evcal_list_a:hover,
.fcsc-eventon-auto--archive .eventon_list_event.fcsc-auto-archived .desc_trig:hover {
    background: var(--fcsc-archive-color, #8a8f98) !important;
    background-color: var(--fcsc-archive-color, #8a8f98) !important;
    background-image: none !important;
}

/*
 * Manteniamo disponibile la variabile anche sui contenitori figli.
 */
.fcsc-eventon-auto--archive .fcsc-auto-archived {
    --fcsc-event-color: var(--fcsc-archive-color, #8a8f98);
}

.fcsc-evo-error,
.fcsc-evo-noscript {
    padding: 14px 16px;
    border: 1px solid #dcdcde;
    background: #fff;
    border-radius: 6px;
}


