/* Inline AJAX feedback for the contact form. */
.p-eco-contact-wrapper .contact-success {
  padding: 10px 0;
  text-align: center;
}

.p-eco-contact-wrapper .contact-success h4 {
  margin: 0 0 8px;
}

.p-eco-contact-wrapper .contact-success p {
  margin: 0;
}

/* Status messages inside the AJAX wrapper should not be a full box. */
.p-eco-contact-wrapper .messages {
  margin: 0 0 12px;
  padding: 8px 12px;
}

/* Consent label sits next to the checkbox. */
.contact_form .agreement-fieldset {
  overflow: hidden;
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.2em;
  display: block;
}

.contact_form .agreement-fieldset input[type="checkbox"] {
  float: left;
  position: relative;
  top: 4px;
  margin: 0 8px 0 0;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.contact_form .agreement-fieldset label {
  display: block;
  overflow: hidden;
}
