/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
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: 1.0.1
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
*/

/*
    Add your custom styles here
*/

/*================= CF7 =================*/

/* Base typography (testi del form) */
.cf7-grid{
  font-family:'Poppins', sans-serif;
  font-weight:300;
  font-size:14px;
  line-height:20px;
  color:#ffffff;
}

/* Layout */
.cf7-grid .cf7-row{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

.cf7-grid .cf7-row--2 .cf7-col{
  flex:1 1 calc(50% - 8px);
  min-width:240px;
}

.cf7-grid .cf7-col--full{
  width:100%;
  max-width:100%;
  flex:0 0 100%;
}

/* Row full-width */
.cf7-grid .cf7-row--1{
  width:100%;
  max-width:100%;
  flex:0 0 100%;
  display:block; /* evita effetti indesiderati del flex su righe singole */
}

.cf7-grid .cf7-row--1 .cf7-col,
.cf7-grid .cf7-row--1 .cf7-col--full{
  width:100% !important;
  max-width:100% !important;
}

/* Labels */
.cf7-grid label{
  display:block;
  width:100%;
  color:#ffffff;
  font-family:'Poppins', sans-serif;
  font-weight:300;
  font-size:14px;
  line-height:20px;
}

/* CF7 wrapper default: block/full (serve per textarea ecc.) */
.cf7-grid .wpcf7-form-control-wrap{
  display:block;
  width:100%;
}

/* Input/textarea (base comune) */
.cf7-grid .wpcf7-form-control{
  font-family:'Poppins', sans-serif;
  font-weight:400;
  font-size:16px;
  line-height:24px;
  color:#414B52;

  outline:none;
  box-shadow:none;
  box-sizing:border-box;
}

/* Input pill */
.cf7-grid .wpcf7-form-control.wpcf7-text,
.cf7-grid .wpcf7-form-control.wpcf7-email, .wpcf7-form-control.wpcf7-select{
  width:100%;
  height:44px;
  padding:0 18px;

  background:#fff;
  border:0;
  border-radius:999px;
}

/* Textarea full width */
.cf7-grid .wpcf7-form-control.wpcf7-textarea{
  width:100% !important;
  max-width:100% !important;
  display:block;

height: 100px;
  padding:14px 18px;

  background:#fff;
  border:0;
  border-radius:24px;

  resize:vertical; /* se vuoi bloccarla: none */
}

/* Placeholder */
.cf7-grid input::placeholder,
.cf7-grid textarea::placeholder{
  color:rgba(65, 75, 82, 0.55);
  opacity:1;
}

/* Focus */
.cf7-grid .wpcf7-form-control:focus{
  box-shadow:0 0 0 2px rgba(247, 189, 46, 0.35);
}

/* Testi vari (acceptance, span ecc.) */
.cf7-grid p,
.cf7-grid span,
.cf7-grid .wpcf7-list-item-label{
  color:#ffffff;
  font-family:'Poppins', sans-serif;
  font-weight:300;
  font-size:14px;
  line-height:30px;
}

/* Link (privacy) stesso colore del bottone */
.cf7-grid a{
  color:#f7bd2e;
  text-decoration:underline;
  transition:color 0.2s ease;
}
.cf7-grid a:hover{
  color:#f7bd2e;
  text-decoration:none;
}

/* ================= FILE UPLOAD INLINE ================= */
/* Wrapper file: INLINE (override della regola generale block/100%) */
.cf7-grid .cf7-file-row .wpcf7-form-control-wrap{
  display:inline-flex !important;
  width:auto !important;
  align-items:center !important;
}

.cf7-file-row{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:16px;
  width:100%;
  flex-wrap:nowrap; /* NON andare a capo */
}

.cf7-file-label{
  order:1;
  color:#ffffff;
  font-family:'Poppins', sans-serif;
  font-weight:300;
  font-size:14px;
  line-height:20px;
  white-space:nowrap;
}

.cf7-file-row .wpcf7-form-control-wrap{
  order:2;
}

/* Input file: testo bianco + Poppins light 14px */
.cf7-file-row input[type="file"]{
  font-family:'Poppins', sans-serif;
  font-weight:300;
  font-size:14px;
  line-height:20px;
  color:#ffffff;

  background:transparent;
  border:0;
  padding:0;

  cursor:pointer;
}

/* SOLO il bottone “Scegli file” */
.cf7-file-row input[type="file"]::file-selector-button{
  font-family:'Poppins', sans-serif;
  font-weight:300;
  font-size:14px;

  color:#ffffff;
  background:transparent;

  border:1px solid rgba(255,255,255,0.6);
  border-radius:999px;
  padding:8px 16px;
  margin-right:10px;

  cursor:pointer;
  transition:all .2s ease;
}

.cf7-file-row input[type="file"]::file-selector-button:hover{
  border-color:#f7bd2e;
  color:#f7bd2e;
}

/* ================= SUBMIT ================= */

.cf7-submit{
  width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  padding:14px 24px;

  background-color:#f7bd2e;
  color:#414B52;

  border:1px solid transparent;
  border-radius:999px;

  font-family:'Poppins', sans-serif;
  font-size:16px;
  font-weight:400;
  line-height:24px;

  cursor:pointer;
  transition:all 0.25s ease;
}

/* Icona dopo il testo */
.cf7-submit::after{
  content:"\e900"; /* glyph della iconifin-send */
  font-family:'iconifin';
  font-size:18px;
  line-height:1;
}

/* Hover submit */
.cf7-submit:hover{
  background-color:transparent;
  color:#f7bd2e;
  border-color:#f7bd2e;
}

/* garantisce click */
.cf7-submit{
  pointer-events:auto;
}

/* garantisce popup cliccabile */
.elementor-popup-modal,
.elementor-popup-modal *{
  pointer-events:auto;
}


/*================= FINE CF7 =================*/



/* hover */
.cf7-submit:hover {
  background-color: transparent;
  color: #f7bd2e;
  border: 1px solid #f7bd2e;
}




.h2corso {
	color: var(--e-global-color-primary)!important;
    font-size: 1.8rem!important;
    font-weight: 600!important;
    line-height: 1.3em!important;
    letter-spacing: -0.2px!important;
}

#mailpoet_form_1 .mailpoet_text, #mailpoet_form_1 .mailpoet_textarea {
    width: 100%;
    padding: 8px !important;
    border-radius: 20px !important;
    border: 1px solid #fff;
    color: #666;
}


#mailpoet_form_1 .mailpoet_text, #mailpoet_form_1 .mailpoet_textarea {
    width: 100% !important;
}

#mailpoet_form_1 .mailpoet_text_label {
color: #fff !important;
	margin-bottom: 10px !important;
}

#mailpoet_form_1 .mailpoet_checkbox_label {
color: #fff !important;
}

 #mailpoet_form_1 .mailpoet_radio_label{
color: #fff !important;
}

#mailpoet_form_1 .mailpoet_submit {
    background-color: #6392D6;
    color: #ffffff;
    width: 100%;
    border-radius: 20px;
    padding: 8px 24px !important;
}