/* Preserve Avada's layout, colors and typography. These additions support local UI. */
body.fusion-body a:focus-visible,
body.fusion-body button:focus-visible,
body.fusion-body input:focus-visible,
body.fusion-body textarea:focus-visible,
body.fusion-body select:focus-visible {
  outline: 2px solid #c60000 !important;
  outline-offset: 4px !important;
}

[data-bmp-contact] label { display: block; margin-bottom: 18px; }
[data-bmp-contact] input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
[data-bmp-contact] textarea { display: block; width: 100%; max-width: 100%; margin-top: 6px; box-sizing: border-box; }
[data-bmp-contact] textarea { min-height: 150px; resize: vertical; }
.bmp-contact-preview[hidden] { display: none !important; }
.bmp-contact-preview { margin-top: 25px; padding-top: 22px; border-top: 1px solid #e2e2e2; }
.bmp-contact-preview h3 { margin-top: 0; }
.bmp-contact-body { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; color: inherit; background: #f5f5f5; border: 1px solid #e2e2e2; padding: 16px; }
.bmp-email-draft { max-width: 100%; white-space: normal; text-align: center; }
.bmp-search-list { list-style: none; margin: 30px 0 0; padding: 0; }
.bmp-search-result { padding: 24px 0; border-top: 1px solid #e2e2e2; }
.bmp-search-result h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.35; }
.bmp-search-result p { margin: 0; }
#bmp-search-results { overflow-wrap: anywhere; }

@media (max-width: 640px) {
  .bmp-table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .bmp-search-result h2 { font-size: 21px; }
  [data-bmp-contact] .fusion-button { max-width: 100%; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .fusion-animated, .fusion-animate, .fusion-animation,
  .fusion-imageframe img, .fusion-content-boxes .content-box-wrapper,
  .fusion-carousel .fusion-carousel-holder,
  .fusion-modal.fade, .fusion-modal.fade .modal-dialog {
    animation: none !important;
    transition: none !important;
  }
  .fusion-animated, .fusion-animate, .fusion-animation { opacity: 1 !important; visibility: visible !important; }
}

/* The retained contact section has the original dark background. */
.bmp-contact-form, .bmp-contact-form label, .bmp-contact-form > p,
.bmp-contact-form .bmp-contact-preview h3, .bmp-contact-form .bmp-contact-preview p { color: #fff; }
.bmp-contact-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.bmp-contact-form textarea { color: #333; background: #fff; }
.bmp-contact-form .bmp-contact-body { color: #333; background: #f5f5f5; }
.bmp-contact-form .bmp-contact-preview { border-top-color: rgba(255,255,255,.35); }

.bmp-search-page { padding: 70px 0; min-height: 50vh; }
.bmp-search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; max-width: 780px; margin-bottom: 25px; }
.bmp-search-form label { grid-column: 1 / -1; }
.bmp-search-form input[type="search"] { min-width: 0; width: 100%; min-height: 46px; box-sizing: border-box; }
.bmp-search-form button { align-self: stretch; }
@media (max-width: 640px) {
  .bmp-search-form { grid-template-columns: minmax(0, 1fr); }
  .bmp-search-form button { justify-self: start; }
}

/* The compact form posts to BMP's own lightweight handler. */
.bmp-contact-form [type="submit"][disabled] { opacity: .65; cursor: wait; }
.bmp-contact-form .bmp-contact-preview[data-state="success"] { border-top-color: #7bc58b; }
.bmp-contact-form .bmp-contact-preview[data-state="error"] { border-top-color: #f8b9b9; }
.bmp-contact-fallback { margin-top: 16px; }
.bmp-contact-fallback summary { cursor: pointer; text-decoration: underline; }
.bmp-contact-fallback > p { margin-top: 12px; }
.bmp-contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.bmp-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;}

.bmp-footer-search{display:inline-block;margin-left:18px;text-decoration:underline;}
