/** ELEMENTOR  ------------------------------------------------------ */
/* commentato da Michele
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*/

.no-repeat, .no-repeat .elementor-background-slideshow__slide__image{
    background-repeat: no-repeat !important
}
form span{
	max-width: 100%;
	min-width: 100%;
}
form label {
	    font-family: "poppins", Sans-serif;
    font-size: 14px;
    font-weight: 500;
color: var(--e-global-color-2aed22b);
}
/* ===== Container principale del form ===== */
.mupwp-form {
  padding: 2rem;
  font-family: Arial, sans-serif;
}
/* ===== Titolo del form (se presente) ===== */
#mupwp-form-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #333;
}

/* ===== Contenitore campi: 2 colonne su desktop, 1 su mobile ===== */

#mupwp-form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  #mupwp-form-fields {
    grid-template-columns: 1fr; /* Singola colonna su mobile */
  }
}

/* ===== Singolo campo ===== */
.mupwp-form-field {
  display: flex;
  flex-direction: column;
}

/* Label: 14px, peso regular (400) */
.mupwp-form-field label {
  margin-bottom: 0.4rem;
  font-size: 14px;
  font-weight: 400;
  color: #555;
}

/* Input: altezza minima 40px, bordo, radius */
form .wpforms-field-container input[type="text"],
form .wpforms-field-container input[type="email"],
form .wpforms-field-container input[type="tel"]
.mupwp-form-field input[type="text"],
.mupwp-form-field input[type="email"],
.mupwp-form-field input[type="tel"] {
  min-height: 40px !important;
  padding: 0.4rem 0.8rem !important;
 
  border-radius: 6px !important;
  font-size: 0.95rem !important;
  color: #333 !important;
  transition: border-color 0.2s !important;
min-height: 40px !important;
background-color: transparent !important;

}
form .wpforms-field-container textarea:focus,
form .wpforms-field-container input:focus,
.mupwp-form-field input:focus {
  outline: none;
  border-color: var(--e-global-color-secondary) !important; /* Esempio di focus color */
}

/* ===== Sezione checkbox ===== */
#mupwp-form-terms {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Per allineare la checkbox accanto al testo */
.mupwp-form-term {
  display: inline-flex;
  align-items: center;
}

.mupwp-form-term input[type="checkbox"] {
  margin-right: 0.5rem;
  cursor: pointer;
}

.mupwp-form-term p {
  margin: 0;
  font-size: 14px; /* Stessa dimensione delle label */
  color: #333;
}

/* ===== Container del pulsante di submit ===== */
#mupwp-form-submit-container {
  margin-top: 1rem;
  text-align: center;
}

/* 
 * ===== Pulsante =====
 * Uguale allo stile fornito .elementor-button, 
 * con variabili globali di Elementor (se configurate).
 */

#mupwp-form-save.button-primary {
  background-color: var(--e-global-color-secondary);
  font-family: var(--e-global-typography-accent-font-family), Sans-serif;
  font-size: var(--e-global-typography-accent-font-size);
  font-weight: var(--e-global-typography-accent-font-weight);
  letter-spacing: var(--e-global-typography-accent-letter-spacing);
  fill: var(--e-global-color-8a746fe);
  color: var(--e-global-color-8a746fe);

  border-radius: 58px;   /* tondo come da esempio */
  border: none;
  padding: 10px 30px;
  cursor: pointer;
  display: inline-block;
  min-width: 160px;      /* opzionale, per evitare pulsanti troppo piccoli */
  transition: background-color 0.2s;
}

#mupwp-form-save.button-primary:hover {
  /* Puoi cambiare il colore hover in base alle tue variabili globali */
  background-color: rgba(0,0,0,0.1);
}
#mpwp-container .mupwp-form-term,
#mpwp-container .mupwp-form-field,
form #mpwp-container .mupwp-form-term, 
#mpwp-container .mupwp-form-term label {
    margin: 0px !important;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

#mpwp-container input[type='checkbox'] {
    position: relative;
    vertical-align: middle;
    bottom: 1px;
    width: 10px !important;
    max-width: initial;
    min-width: initial;
}
form .wpforms-field-container textarea,
form textarea,
form input{
	max-width: 100% !important;
	min-width: 100% !important;
	border-radius: 6px !important;
	padding: 0.4rem 0.8rem !important;
	border: solid 2px #ccc !important;
    background-color: transparent !important;   
	box-shadow: unset !important
}

.no-repeat .elementor-background-slideshow__slide__image{
	background-repeat: no-repeat !important
}

/* Checkbox verdi di 20px */
#mpwp-container input[type='checkbox'] {
  margin-right: 0.5rem;
  cursor: pointer;
  width: 15px !important;
  height: 15px !important;
  accent-color: var(--e-global-color-secondary);
}



/** GENERICONS  ------------------------------------------------------ */

section.container-fluid {
    padding-left: 0px;
    padding-right: 0px;
}

.wrap>.container-fluid>div {
    padding-left: 15px;
    padding-right: 15px;
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

button:focus {
    outline: 0px dotted;
    outline: 0px auto -webkit-focus-ring-color;
}

:focus {
    outline: 0px dotted;
    outline: 0px auto -webkit-focus-ring-color;
}


/**  INTRO  ------------------------------------------------------ */

.headline {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero {
    min-height: 100vh;
}

@media screen and (max-width: 991px) {
    .hero {
        padding-top: 7em;
        padding-bottom: 7em;
    }
}


/**  BG  ------------------------------------------------------ */

.bg-primary {
    background-color: var( --e-global-color-secondary ) !important;
}

.bg-secondary {
    background-color: var(--e-global-color-secondary) !important;
}


/* BUTTON ----------------------------------------------------------- */

.btn {
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 1px;
    border-radius: 0px;
    padding: 20px 30px;
    text-transform: uppercase;
    font-weight: 400;
}

.btn-icon {
    width: 60px;
    height: 60px;
    padding: 7px 18px;
    font-size: 16px;
    border-width: 2px;
}

.btn-primary {
    background-color: var( --e-global-color-secondary );
    border-color: var( --e-global-color-secondary );
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle .btn-primary:focus,
.btn-primary:hover {
    color: #fff;
    background-color: var(--e-global-color-secondary);
    border-color: var(--e-global-color-secondary);
}

.btn-primary.focus,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    box-shadow: unset;
}

.btn-secondary {
    background-color: var(--e-global-color-secondary);
    border-color: var(--e-global-color-secondary);
}

.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active,
.show>.btn-secondary.dropdown-toggle .btn-secondary:focus,
.btn-secondary:hover {
    color: #fff !important;
    background-color: var( --e-global-color-secondary );
    border-color: var( --e-global-color-secondary );
}

.btn-secondary.focus,
.btn-secondary:focus,
.btn-secondary:not(:disabled):not(.disabled).active:focus,
.btn-secondary:not(:disabled):not(.disabled):active:focus,
.show>.btn-secondary.dropdown-toggle:focus {
    box-shadow: unset;
}


/* FORM ----------------------------------------------------------- */

.form-control {
    border-width: 2px;
    border-radius: 0px !important;
    border-color: var( --e-global-color-secondary );
    padding: 15px 30px;
    height: calc(60px);
}

.form-control:focus {
    color: var(--e-global-color-secondary);
    background-color: #fff;
    border-color: var(--e-global-color-secondary);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(205, 215, 64, .25);
}


/* LETTERING ----------------------------------------------------------- */

.form-control,
li,
body,
p {
    font-family: var(--e-global-typography-0f170af-font-family), Sans-serif;
    font-size: var(--e-global-typography-0f170af-font-size);
    font-weight: var(--e-global-typography-0f170af-font-weight);
    line-height: var(--e-global-typography-0f170af-line-height);
   
}

h2.big,
.bigger h1 {
    font-size: 100px;
    line-height: 120px;
}

h1 {
    font-size: 65px;
    line-height: 70px;
}

h2 {
    font-size: 50px;
    line-height: 60px;
}

h3 {
    font-size: 30px;
    line-height: 40px;
}

h4 {
    font-size: 20px;
    line-height: 24px;
    letter-spacing: .50px;
}

h5 {
    font-size: 13px;
    line-height: 16px;
    letter-spacing: .50px;
}

h6 {
    font-size: 11px;
    line-height: 12px;
    letter-spacing: .50px;
}

a {
    color: var( --e-global-color-secondary );
}

a:hover {
    color: var(--e-global-color-secondary);
}


/** LETTERING sidebar  ------------------------------------------------------ */

.sidebar-primary h3 {
    margin-top: 1em;
}

.sidebar-primary ul {
    margin-top: 1em;
    list-style: none;
}

.sidebar-primary ul li {
    font-size: 20px;
    line-height: 30px;
    color: var( --e-global-color-secondary );
}

.sidebar-primary ul li a {
    color: var( --e-global-color-secondary );
}


/** FORM style  ------------------------------------------------------ */
.wpforms-container form button,
button#wpforms-submit-918{
	padding: 10px 20px 10px 20px;
    border-radius: 58px 58px 58px 58px;
    background-color: var(--e-global-color-secondary);
}