/*
 Theme Name:   Formatalenti
 Theme URI:    https://formatalenti.eu
 Description:  Child Theme Formatalenti.
 Author:       Cristopher Di Flaviano
 Author URI:   https://cdfweb.it
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  custom-project-theme
*/

.elementor-widget-theme-site-logo img {
    width: 164px !important;
}

.immagine-news-card {
    height: 243px;
    margin-top: 0px !important;
}


.immagine-news-card img {
    height: 243px;
    object-fit: cover;
}

.e-n-accordion details {
    border-top: 1px solid rgba(202, 202, 202, 1);
}

.e-n-accordion details:last-child {
    border-bottom: 1px solid rgba(202, 202, 202, 1);
}

.elementor-element-2770540 .e-n-accordion details,
.elementor-element-2770540 .e-n-accordion details:last-child {
    border: none !important;
}

.elementor-testimonial__image img {
    object-fit: contain;
}

.badge-wrapper {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge-sede {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(233, 242, 255, 1);
    color: rgba(17, 119, 226, 1);
    border: 1px solid rgba(17, 119, 226, 1);
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
}

.badge-icona {
    width: 14px;
    height: 14px;
    object-fit: contain;
    /* Assicurati che l'SVG caricato abbia già il fill impostato sul blu desiderato, poiché non è possibile modificarne il colore tramite CSS quando viene richiamato come <img> */
}

#mobile-button-wrapper {
    padding-bottom: 50px !important;
}

#mobile-button-wrapper a {
    width: 44% !important;
}

.wideopen-footer p a {
    vertical-align: middle;
}

.mobile {
    display: none !important;
}

.elementor-element-225d07b a {
    color: #14213D;
}

.page-id-90 .elementor-element-225d07b .elementor-icon-box-wrapper,
.page-id-89 .elementor-element-225d07b .elementor-icon-box-wrapper {
    display: flex;
}

.page-id-90 .elementor-element-225d07b .elementor-icon-box-content h3 {
    vertical-align: 8px !important;
}

#fake-upload-btn {
    border-radius: 8px;
    background-color: #FFFFFF;
    color: #14213D;
    border: 1px solid #14213D;
}

@media (max-width: 1200px) {
    .elementor-element-b795b33 a {
        padding: 12px 7px !important;
    }
}


@media (max-width: 768px) {
    .mobile {
        display: block !important;
    }
    .desktop {
        display: none !important;
    }
    .elementor-element-6f1912d a.elementor-button,
    .elementor-element-e4b5a81 a.elementor-button {
        width: 100% !important;
        padding: auto !important;
    }

    .elementor-element-6f1912d .elementor-widget-button,
    .elementor-element-e4b5a81 .elementor-widget-button {
        min-width: 100% !important;
    }

    .elementor-element-69b0159c a,
    .elementor-element-35d4657 a,
    .elementor-element-3a79790 a,
    .elementor-element-62730b31 a {
        padding: 15px 3px 15px 3px !important;
    }
    .sfumatura-immagine {
        position: relative;
    }

    .sfumatura-immagine::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 40%; /* Modifica per decidere quanto in alto deve partire la sfumatura */
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
        pointer-events: none; /* Permette di cliccare eventuali testi o link sottostanti */
        z-index: 1;
    }

    /* Se il testo è dentro lo stesso container, assicurati che stia sopra la sfumatura */
    .sfumatura-immagine .contenuto-testuale {
        position: relative;
        z-index: 2;
    }
    .elementor-element-b795b33 a {
        display: flex !important;
        justify-content: center !important;
    }
}
 