/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 02 2025 | 09:07:42 */
.qodef-team-image {
position: relative;
overflow: hidden; /* Garantisce che nulla esca dalla card */
}

.team-member-logo-hover {
position: absolute;
top: 30px; /* Posizione del logo sopra il nome */
left: 46%; /* Posizionato al centro orizzontalmente */
transform: translateX(-50%) translateY(-100%); /* Centrato e nascosto inizialmente */
opacity: 0; /* Nascosto inizialmente */
transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
z-index: 2; /* Logo sopra gli altri elementi */
width:200px !important;
height: auto !important;
}

.qodef-team-image:hover .team-member-logo-hover {
opacity: 1; /* Mostra il logo al passaggio del mouse */
transform: translateX(-50%) translateY(0); /* Muove il logo nella posizione visibile e lo centra */
}

/* Nome e Cognome */
.qodef-team-name {
position: absolute;
bottom: 60px; /* Posiziona sopra la descrizione */
left: 50%;
transform: translateX(-50%); /* Centrato orizzontalmente */
color: white; /* Colore bianco per il testo */
font-size: 1.4rem !important;
margin-left: 0 !important;
z-index: 1; /* Assicurati che sia sotto il logo */
text-align: center;
width: 100%; /* Assicura che il testo sia centrato */
display: block; /* Sempre visibile */
}

/* Ruolo e Azienda */
.qodef-team-role-company {
position: absolute;
bottom: 25%; /* Posizionato in basso */
left: 50%;
transform: translateX(-50%); /* Centrato orizzontalmente */
color: white; /* Colore bianco per il testo */
padding: 10px;
border-radius: 5px;
text-align: center;
width: 100%;
display: none; /* Nascosto inizialmente */
}

.qodef-team-image:hover .qodef-team-role-company {
display: block; /* Mostra il ruolo e azienda al passaggio del mouse */
color: #352c82 !important;

}

.qodef-team-role-company h3 {
color: #352c82 !important;
	    line-height: 1.3rem;
    font-size: 1.4rem !important;

}

.qodef-team-role-company {
	text-align:center !important;
}

/* Assicura che nome e cognome siano sopra il contenuto */
.qodef-team-role-company, .qodef-team-name {
z-index: 999 !important;
}
/* Effetto hover sull'immagine */
.qodef-team-image img {
display: block;
width: 100%;
height: auto;
transition: transform 0.3s ease-in-out;
}

.qodef-team-image:hover img {
transform: scale(1.1); /* Leggero zoom al passaggio del mouse */
}

.qodef-team.info-hover .qodef-team-info-tb:after {
background: #eaeaea !important;
background: linear-gradient(#eaeaea 100%, #eaeaea 100%) !important;}

.qodef-team.info-hover:hover .qodef-team-info-tb:after {
opacity: 1;}


.qodef-team.info-hover .qodef-team-image {
padding: 20px 0px 10px 20px !important;
}
