/* STILI GENERALI */
.bg-image-quote-section {
  width: 100%;
  padding: 0;
  margin: 0;
}

/* CONTENITORE PRINCIPALE */
.container_1 {
  background-color: white;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* QUOTE SECTION*/
.quote-section {
  background-image: url('../images/richiedi-noleggio-emlid-reach-rs4-strumenti-topografici.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0px 0px;
  color: vla;
}

.quote-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.quote-section {
  position: relative;
  z-index: 1;
}

/* QUOTE MAIN CONTAINER */
.quote-main-container {
  position: relative;
  z-index: 2;
}

.quote-main-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 50px;
  padding-right: 50px;

}

/* QUOTE BOX */
.quote-box {
  border-radius: 30px;
  padding-top: 40px;
  padding-bottom: 40px;
  margin: 0 auto;
  max-width: 800px;
  text-align: center;

  /* Altezza minima fissa, uguale a quella del form */
  min-height: 580px;
  /* regola in base alla tua altezza attuale del form */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Messaggio finale */
#successMessage_inline {
  display: none;
  /* inizialmente nascosto */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  /* occupa tutta l’altezza del quote-box */
  color: #fff;
}

/* QUOTE TITLE */
.quote-title {
  font-family: Inter, sans-serif;
  font-size: 50px;
  line-height: 56px;
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding-bottom: 12px;
  margin-block-start: 0px !important;
  margin-block-end: 0px !important;
}

#successMessage_inline h2 {
  font-family: Inter, sans-serif;
  font-size: 39px;
  line-height: 45px;
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding-bottom: 10px;
  margin-block-start: 0px !important;
  margin-block-end: 0px !important;
}

/* QUOTE DESCRIPTION */
.quote-description {
  font-family: Inter, sans-serif;
  font-size: 18px;
  line-height: 24px;
  color: #fff;
  font-weight: 400;
  text-align: center;
  margin-block-start: 0px !important;
  margin-block-end: 0px !important;
}

#successMessage_inline p {
  font-family: Inter, sans-serif;
  font-size: 18px;
  line-height: 26px;
  color: #fff;
  font-weight: 300;
  text-align: center;
  margin-block-start: 0px !important;
  margin-block-end: 0px !important;
}



/* QUOTE FORM */
.quote-validation-form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;

}

.quote-form-row {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  padding-bottom: 0px;
  gap: 20px;
  justify-content: center;
  max-width: 650px;
}

.quote-form-row2 {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  padding-bottom: 15px;
  gap: 20px;
  justify-content: center;
  max-width: 650px;
}

.quote-form-column {
  flex: 1;
  min-width: 250px;
  max-width: 312px;
  position: relative;
}

.quote-input-group {
  position: relative;
  width: 100%;
}

.quote-input-field {
  box-shadow: none !important;
  background: transparent !important;
  color: rgb(255, 255, 255) !important;
  padding: 10px 20px 10px !important;
  border-radius: 6px !important;
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
}


.quote-input-field:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(0, 157, 255, 0.quote-5);
}

.quote-input-field::placeholder {
  color: #777;
}

.quote-input-field-textarea {
  min-height: 100px;
  overflow-y: hidden;
  /* nasconde la scrollbar */
  resize: none;
  /* evita ridimensionamento manuale */
  box-sizing: border-box;
  line-height: 1.4;
  transition: height 0.08s ease;
}





.quote-error-message {
  display: block;
  color: #ea5858;
  font-size: 11px;
  text-align: left;
  margin-top: 5px;
  margin-left: 15px;
  font-weight: 400;
}

.quote-privacy-check-container {
  display: flex;
  align-items: flex-start;
  text-align: left;
}

.quote-privacy-check-container input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 3px;
}

.quote-privacy-text {
  font-size: 11px;
  color: #ccc;
  line-height: 17px;
  text-align: left;
  font-family: Inter, 'sans-serif;';
  padding-left: 10px;
  padding-right: 10px;
}

.quote-privacy-link {
  color: #fff;
  text-decoration: underline;
}


.quote-button-container {
  text-align: center;
  margin-top: 20px;
}

.quote-submit-button {
  background-color: #E73D1F;
  border: 0px;
  border-radius: 30px;
  font-family: Inter;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #fff;
  text-align: center;
  cursor: pointer;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 40px;
  padding-right: 40px;
  text-decoration: none;
}

.quote-submit-button:hover {
  background-color: #b6311a;
}

.button-disabled {
  background-color: rgb(133, 133, 133) !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  border: 2px solid rgb(133, 133, 133) !important;
  color: #fff !important;
}

strong {
  font-weight: 600;
}

/* MEDIA QUERIES */






/* QUOTE TITLE */
@media (max-width: 964px) {

  .quote-title,
  #successMessage h2 {
    font-size: 41px;
    line-height: 48px;
  }
}

@media (max-width: 887px) {

  .quote-title,
  #successMessage h2 {
    font-size: 39px;
    line-height: 46px;
  }
}

@media (max-width: 849px) {

  .quote-title,
  #successMessage h2 {
    font-size: 38px;
    line-height: 45px;
  }
}

@media (max-width: 830px) {

  .quote-title,
  #successMessage h2 {
    font-size: 37px;
    line-height: 44px;
  }
}

@media (max-width: 810px) {

  .quote-title,
  #successMessage h2 {
    font-size: 36px;
    line-height: 43px;
  }
}

@media (max-width: 791px) {

  .quote-title,
  #successMessage h2 {
    font-size: 35px;
    line-height: 42px;
  }
}

@media (max-width: 430px) {

  .quote-title,
  #successMessage h2 {
    font-size: 34px;
    line-height: 41px;
  }
}

@media (max-width: 414px) {

  .quote-title,
  #successMessage h2 {
    font-size: 32.5px;
    line-height: 40px;
  }
}

@media (max-width: 409px) {

  .quote-title,
  #successMessage h2 {
    font-size: 33px;
    line-height: 40px;
  }
}

@media (max-width: 369px) {

  .quote-title,
  #successMessage h2 {
    font-size: 32px;
    line-height: 42px;
  }
}

@media (max-width: 375px) {

  .quote-title,
  #successMessage h2 {
    font-size: 31px;
    line-height: 41px;
  }
}

/* QUOTE DESCRIPTION */
@media(max-width:699px) {
  .quote-description {
    font-size: 16px !important;
    line-height: 22px !important;
  }
}

/* QUOTE FORM */
@media (max-width: 699px) {

  .quote-form-row,
  .quote-form-row2 {
    flex-direction: column;
    gap: 0px !important;
    padding-bottom: 0px !important;
  }
}

@media (min-width: 700px) and (max-width: 768px) {

  .quote-form-row,
  .quote-form-row2 {
    flex-direction: row;
    gap: 15px;
    align-items: center;

  }
}


@media (max-width:699px) {
  .quote-form-column {
    max-width: 699px;
  }
}



@media (max-width: 768px) {
  .quote-section {
    padding: 0px 0;
  }

  .quote-form-column {
    width: 100%;
  }

  .quote-textarea-field {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .quote-input-field {
    padding: 10px 15px;
    font-size: 14px;
  }

  .quote-submit-button {
    padding: 10px 30px;
    font-size: 14px;
  }

  .quote-privacy-text {
    font-size: 11px;
  }

  .quote-description {
    font-size: 13px;
  }
}

@media (max-width: 360px) {

  .quote-input-field {
    padding: 8px 12px;
  }

  .quote-form-column {
    min-width: 200px;
  }

  .quote-textarea-field {
    min-height: 120px;
    resize: vertical;
    width: 100%;
  }
}

.quote-input-field-textarea {
  border-radius: 17px;
  height: 40px !important;
}

@media (max-width:699px) {
  .quote-input-field-textarea {
    margin-bottom: 20px;
  }
}

.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #555;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-left: 4px;
  vertical-align: middle;
  margin-bottom: 5px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Stato errore */
.input-error {
  border: 1px solid #ea5858 !important;
}

.input-group {
  position: relative;
}

.error-message {
  color: #ea5858;
  ;
  font-size: 10px;
  font-weight: 400;
  position: absolute;
  bottom: -16px;
  right: 0;
}

.error-message2 {
  color: #ea5858;
  ;
  font-size: 11px;
  font-weight: 400;
  position: absolute;
  bottom: -13px;
  right: 0;
}


/* Colore placeholder */
.quote-input-field::placeholder {
  color: #ccc;
  /* Sostituisci #aaa con il colore che vuoi */
}

/* Per textarea */
.quote-input-field-textarea::placeholder {
  color: #ccc;
}

/* Nascondi scrollbar della textarea */
.quote-input-field-textarea {
  overflow: hidden;
  /* Nasconde scrollbar */
  resize: vertical;
  /* L’utente può ridimensionare verticalmente */
  max-height: 600px;
  /* opzionale */
}


/* Per i browser WebKit (Chrome, Safari) */
.quote-input-field-textarea::-webkit-scrollbar {
  display: none;
}

strong {
  font-weight: 600;
}

/* Autofill Chrome 
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #000 inset; /* sfondo nero 
    -webkit-text-fill-color: #fff; /* colore testo bianco 
    transition: background-color 5000s ease-in-out 0s;  evita lampeggi 
}


/* Bottone disabilitato */
.button-disabled {
  background-color: rgb(133, 133, 133) !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  border: 2px solid rgb(133, 133, 133) !important;
  color: #fff !important;
}

@media (max-width: 699px) {
  .error-message2 {
    bottom: 9px !important;
  }
}


.input-group {
  position: relative;
  width: 100%;
  margin-top: 20px;
}

/* Input e textarea 
.quote-input-field {
  width: 100%;
  padding: 10px 10px 10px 5px;
  font-size: 14px;
  color: white;
  background: transparent;
  border: none;
  border-bottom: 1px solid #ccc;
  transition: border-color 0.3s;
} */

.quote-input-field:focus {
  border: 1px solid #fff;
  outline: none;
}

/* Label */
.input-group label {
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 14px;
  color: #efefef;
  pointer-events: none;
  transition: 0.3s ease all;
  background-color: black;
}

/* Float label quando focus o valore presente */
.quote-input-field:focus~label,
.quote-input-field:not(:placeholder-shown)~label {
  top: -8px;
  font-size: 12px;
  color: white;
  display: block !important;
}

/* Per textarea */
.quote-input-field-textarea {
  min-height: 100px;
  height: auto !important;
  overflow-y: hidden;
  resize: vertical;
}

/* Label textarea */
.quote-input-field-textarea:focus~label,
.quote-input-field-textarea:not(:placeholder-shown)~label {
  top: -8px;
  font-size: 12px;
  color: white;
  display: block !important;
}

/* AUTOFILL SOLO FORM IN LINEA */
#informazioni_inline_lidar_slam input:-webkit-autofill,
#informazioni_inline_lidar_slam input:-webkit-autofill:hover,
#informazioni_inline_lidar_slam input:-webkit-autofill:focus,
#informazioni_inline_lidar_slam textarea:-webkit-autofill,
#informazioni_inline_lidar_slam textarea:-webkit-autofill:hover,
#informazioni_inline_lidar_slam textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #000 inset !important;
  /* sfondo nero */
  box-shadow: 0 0 0 1000px #000 inset !important;
  /* sfondo nero */
  -webkit-text-fill-color: #fff !important;
  /* testo bianco */
  caret-color: #fff !important;
  /* cursore bianco */
  transition: background-color 9999s ease-in-out 0s;
}


input.error,
textarea.error,
select.error {
  border: 1px solid red;
}

input:not(.error),
textarea:not(.error),
select:not(.error) {
  border: 1px solid #ccc;
}