/* Things Avada's JavaScript used to do, done in CSS instead. */

/* Entrance animations: content started hidden until a script revealed it. */
.fusion-animated, [data-animationtype] { visibility: visible !important; opacity: 1 !important; animation: none !important; }

/* Mobile menu (Avada cloned the desktop menu into this holder with JS). */
.fusion-mobile-nav-holder > ul { display: none; }
.fusion-mobile-nav-holder.fusion-mobile-menu-expanded { display: block !important; }
.fusion-mobile-nav-holder.fusion-mobile-menu-expanded > ul { display: block; }
.fusion-mobile-nav-holder .mobile-nav-heading > span { display: block; padding: 0 20px; font-family: Montserrat, Arial, Helvetica, sans-serif; color: #333; }

/* Home hero: Revolution Slider replaced by a plain hero (tagline + call button on the left, quote form on the right at desktop). */
.static-hero { background-size: cover; background-position: center center; display: flex; align-items: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 40px 0; }
.static-hero-inner { min-width: 0; box-sizing: border-box; max-width: 1170px; margin: 0 auto; padding: 0 30px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.hero-copy { max-width: 560px; box-sizing: border-box; background: rgba(3, 83, 160, .85); padding: 25px; color: #fff; font-family: Montserrat, Arial, Helvetica, sans-serif; }
.hero-copy .hero-line { margin: 0 0 14px; color: #fff; font-size: 20px; line-height: 30px; font-weight: 500; }
.hero-copy .hero-line-big { font-size: 26px; line-height: 34px; font-weight: 700; }
.hero-call { display: inline-block; box-sizing: border-box; min-height: 44px; margin-top: 8px; padding: 10px 24px; background: #fff; color: #0353a0; font-weight: 700; font-size: 18px; line-height: 24px; text-decoration: none; border-radius: 3px; }
.hero-call:hover { background: #e6f0fb; }
.static-hero .hero-form { flex: 0 0 340px; width: 340px; max-width: 100%; }
.static-hero .hero-form .form-slider-new { float: none; width: 100% !important; box-sizing: border-box; }
@media (max-width: 1024px) {
  .static-hero .hero-form { display: none; }
  .static-hero { padding: 30px 0; }
  .hero-copy { max-width: none; }
}
@media (max-width: 480px) {
  .static-hero-inner { padding: 0 15px; }
  .hero-copy { padding: 20px; }
  .hero-copy .hero-line { font-size: 18px; line-height: 26px; }
  .hero-copy .hero-line-big { font-size: 22px; line-height: 30px; }
  .hero-call { display: block; text-align: center; padding: 10px 12px; font-size: 16px; white-space: nowrap; }
}

/* Lead form honeypot: off-screen, never seen by people. */
.lead-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.wpcf7-response-output[hidden] { display: none; }
form.sent .wpcf7-response-output { border: 2px solid #46b450; }
form.failed .wpcf7-response-output, form.invalid .wpcf7-response-output { border: 2px solid #dc3232; }

/* Mobile menu items (Avada 7 styles these when its JS builds the menu). */
.fusion-mobile-nav-holder .fusion-mobile-menu { margin: 0; padding: 0; list-style: none; border-top: 1px solid #e5e5e5; }
.fusion-mobile-nav-holder .fusion-mobile-nav-item a { display: block; padding: 0 20px; line-height: 42px; border-bottom: 1px solid #e5e5e5; color: #333; font-family: Montserrat, Arial, Helvetica, sans-serif; font-size: 14px; }
.fusion-mobile-nav-holder .fusion-mobile-sub-item a { padding-left: 36px; }
.fusion-mobile-nav-holder .fusion-mobile-current-nav-item > a, .fusion-mobile-nav-holder .fusion-mobile-current-nav-item > a .menu-text { color: #fff; }

/* Lazy-load placeholders are gone; never hide images waiting for a script. */
img.lazyload, img.lazyloading, .lazyload { opacity: 1 !important; visibility: visible !important; }

/* Font Awesome 4.7 icon font, self-hosted (the old sites loaded it from use.fontawesome.com). */
@font-face { font-family: 'FontAwesome'; src: url('/fonts/fa4/fontawesome-webfont.woff2') format('woff2'), url('/fonts/fa4/fontawesome-webfont.woff') format('woff'); font-weight: normal; font-style: normal; font-display: block; }
@font-face { font-family: 'fontawesome'; src: url('/fonts/fa4/fontawesome-webfont.woff2') format('woff2'), url('/fonts/fa4/fontawesome-webfont.woff') format('woff'); font-weight: normal; font-style: normal; font-display: block; }

/* Avada "100% height" containers: its JS set them to the window height minus the header, growing with the content.
   Without that JS they fall back to a fixed height and taller content spills under the header. */
.fullwidth-box.hundred-percent-height { height: auto !important; min-height: calc(100vh - 160px); }
.fullwidth-box.hundred-percent-height > .fusion-fullwidth-center-content { height: auto !important; min-height: inherit; }

/* WordPress theme page preloaders: their hide-on-load script is not carried over, so they would cover the page forever. */
#ct-loadding,.ct-loader,#preloader,.preloader,#page-preloader,.page-loader,#loader-wrapper,.site-loader{display:none!important}

/* Titles that sit on dark photos or dark bands: white (the blue was 1.4:1). */
.fusion-page-title-bar .fusion-page-title-captions h1, .fusion-page-title-bar h1.entry-title { color: #fff !important; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.top-title.blue, .top-title.blue.fulling { color: #fff !important; }

/* Mobile menu button: large enough to tap, dark enough to see (was 21px, #dadada on white). */
.fusion-mobile-menu-icons a.fusion-icon { box-sizing: border-box; min-width: 44px; width: 44px; height: 44px; line-height: 44px; text-align: center; font-size: 28px; color: #333 !important; }

.hero-form .form-slider-new .wpcf7-submit { background: #0062c1 !important; color: #fff !important; width: 100% !important; border-radius: 3px; text-align: center !important; font-weight: 700 !important; font-size: 18px !important; }
.hero-form .form-slider-new .wpcf7-submit:hover { background: #333 !important; }
