/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 26 2025 | 11:20:23 */
/* WRAPPER FORM CF7 */
#wpcf7-f4-p10-o1 {
  max-width: 100%;
}

/* CAMPI: testo, email, telefono, textarea, select */
#wpcf7-f4-p10-o1 input[type="text"],
#wpcf7-f4-p10-o1 input[type="email"],
#wpcf7-f4-p10-o1 input[type="tel"],
#wpcf7-f4-p10-o1 textarea,
#wpcf7-f4-p10-o1 select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
  padding: 12px 15px;
  margin: 0 0 15px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
}

/* FOCUS */
#wpcf7-f4-p10-o1 input:focus,
#wpcf7-f4-p10-o1 textarea:focus,
#wpcf7-f4-p10-o1 select:focus {
  border-color: #0073e6;
  background-color: #fff;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 115, 230, 0.3);
}

/* BOTTONE INVIO */
#wpcf7-f4-p10-o1 input[type="submit"],
#wpcf7-f4-p10-o1 button,
#wpcf7-f4-p10-o1 .wpcf7-submit {
  background-color: #0073e6;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* HOVER BOTTONE */
#wpcf7-f4-p10-o1 input[type="submit"]:hover,
#wpcf7-f4-p10-o1 button:hover,
#wpcf7-f4-p10-o1 .wpcf7-submit:hover {
  background-color: #005bb5;
}

/* --- MOBILE: UN CAMPO PER RIGA --- */
@media (max-width: 767px) {

  /* niente padding extra al form */
  #wpcf7-f4-p10-o1 {
    padding: 0;
  }

  /* ogni riga/wrap del form prende tutta la larghezza */
  #wpcf7-f4-p10-o1 .wpcf7-form p,
  #wpcf7-f4-p10-o1 .wpcf7-form label,
  #wpcf7-f4-p10-o1 .wpcf7-form-control-wrap {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    float: none !important;
    margin-right: 0 !important;
  }

  /* campi leggermente più compatti su mobile */
  #wpcf7-f4-p10-o1 input[type="text"],
  #wpcf7-f4-p10-o1 input[type="email"],
  #wpcf7-f4-p10-o1 input[type="tel"],
  #wpcf7-f4-p10-o1 textarea,
  #wpcf7-f4-p10-o1 select {
    padding: 10px 12px;
    margin: 0 0 12px 0;
    font-size: 15px;
  }
}