#elementor-popup-modal-65756{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-65756 .dialog-message{width:640px;height:auto;}#elementor-popup-modal-65756 .dialog-close-button{display:flex;}#elementor-popup-modal-65756 .dialog-widget-content{box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}/* Start custom CSS *//* X di chiusura senza bordo */
#elementor-popup-modal-65756 .dialog-close-button,
#elementor-popup-modal-65756 .dialog-close-button:hover,
#elementor-popup-modal-65756 .dialog-close-button:focus,
#elementor-popup-modal-65756 .dialog-close-button:focus-visible,
#elementor-popup-modal-65756 .dialog-close-button:active {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}
#elementor-popup-modal-65756 .dialog-close-button {
  width: 44px;
  height: 44px;
  top: 8px !important;
  right: 8px !important;
  align-items: center;
  justify-content: center;
  background: #F6F3EE !important;
  z-index: 10;
}

/* Sfondo del popup, stesso colore della X */
/* Il contenuto del popup scorre al suo interno */
#elementor-popup-modal-65756 .dialog-widget-content {
  background-color: #F6F3EE !important;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow: hidden;
}
#elementor-popup-modal-65756 .dialog-message {
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 40px 40px 36px;
  box-sizing: border-box;
  align-items: flex-start !important;
}

/* Il contenuto non si comprime: il padding inferiore resta visibile */
#elementor-popup-modal-65756 .dialog-message > .elementor {
  flex-shrink: 0;
  width: 100%;
  height: auto !important;
  max-height: none !important;
}

/* Il popup sta sopra la barra di amministrazione di WordPress */
#elementor-popup-modal-65756 {
  z-index: 100000 !important;
}

/* La pagina sotto non scorre finche il popup e aperto */
html:has(#elementor-popup-modal-65756:not([style*="display: none"])),
body:has(#elementor-popup-modal-65756:not([style*="display: none"])) {
  overflow: hidden !important;
  overscroll-behavior: none;
}

/* Testo segnaposto dei campi piu leggibile */
#elementor-popup-modal-65756 input::placeholder,
#elementor-popup-modal-65756 textarea::placeholder {
  color: #5B6270 !important;
  opacity: 1;
}

/* Checkbox privacy: casella bianca, blu con spunta bianca quando selezionata */
#elementor-popup-modal-65756 input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  margin: 0 !important;
  display: grid !important;
  place-content: center;
  background-color: #FFFFFF !important;
  border: 1px solid #5B6270 !important;
  border-radius: 0 !important;
  cursor: pointer;
}
#elementor-popup-modal-65756 input[type="checkbox"]::before {
  content: "" !important;
  display: block !important;
  width: 12px !important;
  height: 12px !important;
  background-color: #FFFFFF !important;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  opacity: 0 !important;
}
#elementor-popup-modal-65756 input[type="checkbox"]:checked {
  background-color: #0063AF !important;
  border-color: #0063AF !important;
}
#elementor-popup-modal-65756 input[type="checkbox"]:checked::before {
  opacity: 1 !important;
}
#elementor-popup-modal-65756 input[type="checkbox"]:focus-visible {
  outline: 2px solid #0063AF;
  outline-offset: 2px;
}

/* Mobile: popup a schermo intero */
@media (max-width: 767px) {
  #elementor-popup-modal-65756 .dialog-widget-content {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: none;
    margin: 0 !important;
    border-radius: 0 !important;
  }
  #elementor-popup-modal-65756 .dialog-message {
    width: 100% !important;
    height: 100%;
    max-height: none;
    padding: 64px 20px 32px;
  }
}/* End custom CSS */