/* Status and validation styling for the static contact form.
   Field styling itself still comes from the theme. */

.sm-form-status {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-radius: 4px;
  border-left: 4px solid transparent;
  font-size: 15px;
  line-height: 1.5;
}

.sm-form-status[aria-hidden="true"],
.sm-form-status:empty {
  display: none;
}

.sm-form-status.is-success {
  background: #e6f7f6;
  border-left-color: #00b3ad;
  color: #08172e;
}

.sm-form-status.is-error {
  background: #fdeaf1;
  border-left-color: #de2068;
  color: #08172e;
}

.sm-form-status.is-pending {
  background: #eaf0fb;
  border-left-color: #00329d;
  color: #08172e;
}

/* invalid fields */
.sm-contact-form .sm-field-error {
  border-color: #de2068 !important;
  box-shadow: 0 0 0 2px rgba(222, 32, 104, .12);
}

.sm-contact-form input[type="submit"][disabled] {
  opacity: .6;
  cursor: not-allowed;
}

/* honeypot - kept out of sight and out of the tab order */
.sm-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
