body.page-id-40 {
  --av-contact-width: min(1160px, calc(100% - 40px));
  --av-contact-shadow: 0 18px 40px rgba(7, 16, 29, 0.08);
  --av-contact-border: #e5e9ef;
}

body.page-id-40 .entry-content {
  background: #f4f6f8 !important;
}

body.page-id-40 .ac-contact {
  padding-bottom: 0 !important;
  overflow: visible !important;
}

body.page-id-40 .ac-wrap,
body.page-id-40 .wpcf7,
body.page-id-40 .av-social-contact {
  width: var(--av-contact-width) !important;
  max-width: 1160px !important;
  box-sizing: border-box !important;
}

body.page-id-40 .ac-section {
  padding-top: 32px !important;
}

body.page-id-40 .ac-shell {
  border-radius: 8px !important;
  box-shadow: var(--av-contact-shadow) !important;
}

body.page-id-40 #inquiry-form {
  padding-top: 32px !important;
}

body.page-id-40 .ac-form-intro {
  padding: 32px 32px 20px !important;
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  box-shadow: none !important;
}

body.page-id-40 .ac-form-intro .ac-heading {
  margin-bottom: 0 !important;
}

body.page-id-40 .wpcf7 {
  margin: 0 auto !important;
  position: relative !important;
  z-index: 2 !important;
}

body.page-id-40 .wpcf7 form {
  border-top: 0 !important;
  border-top-right-radius: 0 !important;
  border-top-left-radius: 0 !important;
  padding: 12px 32px 32px !important;
  box-shadow: var(--av-contact-shadow) !important;
}

body.page-id-40 .wpcf7 .hidden-fields-container {
  display: none !important;
}

body.page-id-40 .wpcf7 form label br {
  display: none !important;
}

body.page-id-40 .wpcf7 form > p {
  margin: 0 !important;
}

body.page-id-40 .wpcf7 input[type='text'],
body.page-id-40 .wpcf7 input[type='email'],
body.page-id-40 .wpcf7 textarea {
  min-height: 52px !important;
}

body.page-id-40 .wpcf7 textarea {
  min-height: 190px !important;
}

body.page-id-40 .apex-submit-wrap {
  margin-top: 8px !important;
}

body.page-id-40 .av-social-contact {
  margin: 32px auto 0 !important;
  padding: 24px 32px !important;
  border-radius: 8px !important;
  box-shadow: var(--av-contact-shadow) !important;
}

body.page-id-40 .av-social-contact__inner {
  width: 100% !important;
  max-width: none !important;
}

@media (max-width: 980px) {
  body.page-id-40 .ac-heading {
    align-items: flex-start !important;
  }
}

@media (max-width: 680px) {
  body.page-id-40 {
    --av-contact-width: calc(100% - 32px);
  }

  body.page-id-40 .ac-section,
  body.page-id-40 #inquiry-form {
    padding-top: 24px !important;
  }

  body.page-id-40 .ac-shell,
  body.page-id-40 .ac-form-intro,
  body.page-id-40 .wpcf7 form,
  body.page-id-40 .av-social-contact {
    padding-right: 24px !important;
    padding-left: 24px !important;
  }

  body.page-id-40 .ac-form-intro {
    padding-top: 24px !important;
    padding-bottom: 18px !important;
  }

  body.page-id-40 .wpcf7 form {
    padding-top: 8px !important;
    padding-bottom: 24px !important;
  }

  body.page-id-40 .av-social-contact {
    margin-top: 24px !important;
  }
}
