/* Quote forms on project pages and services */

.projects-quote-form,
.services-quote-form {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 10px 0;
}

.projects-quote-form.quote-form h4,
.projects-quote-form.quote-form p,
.services-quote-form.quote-form h4,
.services-quote-form.quote-form p {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  color: #202124;
  text-align: left;
  margin: 0 0 14px;
}

.projects-quote-form .form-grid,
.services-quote-form .form-grid {
  gap: 10px;
}

.projects-quote-form .actions,
.services-quote-form .actions {
  width: 100%;
  display: block;
}

.projects-quote-form input,
.services-quote-form input {
  border: 0;
  border-radius: 8px;
  background: #e2e2e2;
  font-size: 15px;
  padding: 10px 12px;
  min-height: 40px;
}

.projects-quote-form .button,
.services-quote-form .button {
  display: flex;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  border-radius: 8px;
  min-height: 40px;
  font-size: 15px;
}

@media (max-width: 860px) {
  .projects-quote-form,
  .services-quote-form {
    width: min(340px, 86vw);
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    padding: 12px 0 24px;
  }

  .projects-quote-form h4,
  .projects-quote-form p,
  .services-quote-form h4,
  .services-quote-form p,
  .projects-quote-form .form-grid,
  .projects-quote-form .actions,
  .services-quote-form .form-grid,
  .services-quote-form .actions {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .projects-quote-form h4,
  .projects-quote-form p,
  .services-quote-form h4,
  .services-quote-form p {
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .projects-quote-form .form-grid,
  .services-quote-form .form-grid {
    gap: 10px;
  }

  .projects-quote-form input,
  .services-quote-form input {
    width: 100%;
    min-height: 38px;
    font-size: 15px;
    padding: 9px 12px;
  }

  .projects-quote-form .button,
  .services-quote-form .button {
    width: 100%;
    font-size: 15px;
    min-height: 38px;
  }
}
