/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/



/* CSS FORM PERSONALIZZAZIONI */
/* Campi input bianchi */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #000000 !important;
  border-radius: 50px !important;
  padding: 18px 30px !important;
  font-size: 16px !important;
  color: #222222 !important;
  text-align: center !important;
  width: 100% !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  margin-bottom: 12px !important;
  display: block !important;
}

/* Rimuovi outline blu al focus */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus {
  outline: none !important;
  border: 1px solid #222222 !important;
  box-shadow: none !important;
  background-color: #ffffff !important;
}

/* Placeholder */
.wpcf7 input[type="text"]::placeholder,
.wpcf7 input[type="email"]::placeholder {
  color: #555555 !important;
  opacity: 1 !important;
}

/* Bottone */
.wpcf7 input[type="submit"] {
  width: 100% !important;
  background-color: #1F3A5F !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 18px 30px !important;
  font-size: 14px !important;
  letter-spacing: 2px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  -webkit-appearance: none !important;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #4F8CE0 !important;
}

/* Privacy label */
.privacy-label {
  color: #000000 !important;
  font-size: 14px !important;
  margin-bottom: 15px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.privacy-label a {
  color: #000000 !important;
  text-decoration: underline !important;
}

/* Max width e centratura form */
.wpcf7 form {
  max-width: 600px !important;
  margin: 0 auto !important;
}

/* Riduci padding campi */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"] {
  padding: 10px 25px !important;
}

/* Riduci padding bottone */
.wpcf7 input[type="submit"] {
  padding: 12px 25px !important;
}

/* Azzera tutto il contenitore principale */
.wpcf7 form > p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

/* Nascondi TUTTI i br nel form */
.wpcf7 br {
  display: none !important;
  content: '' !important;
  height: 0 !important;
}

/* Ogni wrap diventa block con spazio controllato */
.wpcf7 .wpcf7-form-control-wrap {
  display: block !important;
  margin: 0 0 0 0 !important;
  padding: 0 !important;
  line-height: normal !important;
}

/* Input senza margini propri */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"] {
  margin: 0 !important;
  display: block !important;
}

/* Privacy label */
label.privacy-label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 24px 0 24px 0 !important;
  padding: 0 !important;
  line-height: normal !important;
}

/* Submit */
.wpcf7 input[type="submit"] {
  margin: 0 !important;
  display: block !important;
}
/* END CSS FORM NEWSLETTER */

