/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ===========================
   LAYOUT GENERALE CAMPI FORM
   =========================== */

/* Layout flessibile dei campi */
.form-container-confimprese .inputs-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Campi Nome, Cognome, Email, Telefono su due colonne */
.form-mezzo {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 200px;
}

/* Select "Vorrei info su" su tutta la riga */
.mezzacolonna {
  width: 100%;
}

.mezzacolonna span {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

/* Select a tutta larghezza */
.form-largo {
  width: 100%;
}

/* Textarea messaggio */
.form-message {
  width: 100%;
}

/* Contenitore message + checkbox */
.message-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Pulsante invio */
.form-submit {
  margin-top: 2rem;
  text-align: center;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .form-mezzo {
    flex: 1 1 100%;
  }
}


/* ===========================
   STILE CHECKBOX CF7
   =========================== */

/* Wrapper accettazioni */
.wpcf7-form-control.wpcf7-acceptance {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* Spazio interno tra checkbox */
  padding-top: 0.5rem;
}

/* Singola checkbox + testo */
.wpcf7-acceptance .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.4;
  max-width: 100%;
}

/* Label checkbox */
.wpcf7-acceptance .wpcf7-list-item label {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 0;
}

/* Testo accanto alla checkbox */
.wpcf7-acceptance .wpcf7-list-item-label {
  display: inline-block;
  flex: 1;
}

/* Checkbox */
.wpcf7-acceptance input[type="checkbox"] {
  margin-top: 0.8rem;
  flex-shrink: 0;
}

/* Link "privacy policy" */
.wpcf7-acceptance a {
  color: #0056b3;
  text-decoration: underline;
  font-weight: 500;
}

/* Rimuove lo stile "button" se usato nel link */
.wpcf7-acceptance a.button-style {
  all: unset;
  text-decoration: underline;
  color: #0056b3;
  font-weight: 500;
  cursor: pointer;
}


/* ===========================
   RIDUZIONE SPAZIO TRA CHECKBOX
   =========================== */

/* Rimuove <br> tra le checkbox */
.wpcf7-form .message-container p br {
  display: none;
}

/* Riduce margine tra le due accettazioni */
.wpcf7-form .message-container p {
  margin-bottom: -1rem;
}

.mezzacolonna span

 {
   color:#ababab !important;
	 
}

.grecaptcha-badge{
    visibility: hidden !important;
    opacity:0 !important;
}

#elementor-popup-modal-1708 .dialog-close-button i
 {
    color: #fffafa !important;
}


.wpcf7-privacy-text {
  display: inline;
  margin-left: 10px;
  font-size: 14px;
}
.wpcf7-acceptance label {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}
