/**
 * Theme Name:     The7 Child
 * Author:         Euromedia S.r.l.
 * Template:       dt-the7
 * Text Domain:	   the7-child
 * Description:    Wordpress Theme Child
 */

/* Animazione in home */
@keyframes softZoomBg {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.4);
    }
}

/* Servizi - sidebar */
#slider-section > .elementor-background-overlay {
    animation: softZoomBg 10s ease-in-out forwards;
    transform-origin: center center; /* lo zoom parte da sinistra */
    will-change: transform;
}

.menu-services-list li > a.active-item {
    color: #fff !important;
}
.menu-services-list li > a.active-item:hover {
    color: #fff !important;
	background: #0e1c33 !important;
}

.horizontal-sub-nav > li.act > a {
    color: #fff !important;
    background-color: #0085B0 !important;
}

body .scroll-top-elementor-icon svg {
    fill: #fff !important;
}


.box-servizi .the7-icon-box-grid {
    padding: 30px 10px 30px 10px !important;
}

/* Padding custom solo per la home intro */
@media all and (min-width: 1680px) {
  .home-intro {
    padding-left: 10% !important;
    padding-right: 10% !important;
  }
}

/* Nascondo header e footer in home */
.home .masthead, .home .header-space, .home #footer { display:none !important; }

/* Solo in home nascondo scorrimento verticale */
body.home { overflow-y: hidden; }

/* Nasconde il contatore solo per il campo con classe no-counter */
.wpforms-field-limit-text {
    display: none !important;
}

/* Governance */
.team-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none; /* nascosta inizialmente */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  overflow-y: auto;
}

/* MODALE – Effetto Fade + Soft Slide */
.team-modal-content {
  background: #fff;
  max-width: 80%;
  width: 100%;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  animation: fadeSlide 0.45s ease-out;
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes overlayFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.team-modal-content #modalTitle {
    font-family: Poppins, sans-serif;
    color: #000;
    font-size: 22px;
    line-height: 1.364em;
    font-weight: 600;
}

.team-modal-content #modalSubtitle {
    font-family: Poppins, sans-serif;
    color: #000;
    font-size: 22px;
    line-height: 1.364em;
    font-weight: 400;
}

.team-modal-content #modalDescription {
    font-family: Poppins, sans-serif;
    color: #000;
    font-size: 16px;
    line-height: 1.364em;
    font-weight: 400;
}

@media all and (max-width: 768px) {
    .team-modal-content #modalTitle {
        font-size: 18px;
        line-height: 1.2em;
    }
    .team-modal-content #modalSubtitle {
        font-size: 18px;
        line-height: 1.2em;
    }
    .team-modal-content #modalDescription {
        font-size: 14px;
        line-height: 1.1em;
    }
}

.team-modal-content h5 {
    margin: 0 0 10px;
}

.team-modal-content h6 {
    margin: 0 0 15px;
}

.team-modal-content p {
    line-height: 1.5;
}

.team-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 20px;
    background: none;
    border: none;
}

.team-people .elementor-widget-text-editor.text-t {
    display: none;
}

.team-people .title-t {
    cursor: pointer;
}

.team-people:hover .title-t h2,
.team-people:hover .title-t h3 {
    color: #0085B1 !important;
}
