/* Shared Contact Form 7 integration styles. */

.wpcf7-form p > label {
  display: inline-block;
  width: 120px;
  font-weight: 700;
}

.wpcf7-form textarea {
  width: 100%;
}

.wpcf7-form input[type="submit"] {
  cursor: pointer;
  border: 1px solid var(--wp--preset--color--primary);
  border-radius: 999px;
  padding-top: var(--wp--preset--spacing--2);
  padding-right: var(--wp--preset--spacing--4);
  padding-bottom: var(--wp--preset--spacing--2);
  padding-left: var(--wp--preset--spacing--4);
  color: var(--wp--preset--color--base) !important;
  background-color: var(--wp--preset--color--primary);
  font-family: var(--font-body);
  font-size: var(--wp--preset--font-size--sm);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.wpcf7-form input[type="submit"]:hover {
  color: var(--wp--preset--color--primary) !important;
  background-color: transparent !important;
  text-decoration: none;
}


@media (max-width: 781px) {
  .wpcf7-form input,
  .wpcf7-form textarea {
    max-width: 100%;
  }
}