/* 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; }

/* Static first slide in place of Revolution Slider. */
.static-hero { background-size: cover; background-position: center center; min-height: 380px; display: flex; align-items: center; width: 100%; max-width: 100%; box-sizing: border-box; }
/* width is explicit so aspect-ratio + min-height can't widen the hero past the screen on phones */
.static-hero-inner { min-width: 0; box-sizing: border-box; max-width: 1170px; margin: 0 auto; padding: 0 30px; width: 100%; }
.static-hero-inner p { max-width: 560px; color: #fff; font-family: Montserrat, Arial, Helvetica, sans-serif; font-size: 20px; line-height: 30px; background: rgba(3, 83, 160, .85); padding: 20px 25px; margin: 0; }

/* 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}

/* Homepage hero, laid out like the old Revolution Slider slide: kicker line, big blue title, subtitle, and the
   quote form beside it on desktop (QA round 1). The slide grows with its content, so nothing spills under the header. */
.static-hero.home-hero { position: relative; min-height: 569px; padding: 60px 0; background-color: #1b2733; }
.home-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.home-hero .home-hero-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.home-hero .home-hero-text { flex: 1 1 auto; min-width: 0; }
.static-hero-inner .home-hero-text p { background: none; padding: 0; max-width: 620px; text-shadow: 0 2px 6px rgba(0, 0, 0, .6); }
.static-hero-inner p.home-hero-kicker { font-size: 30px; line-height: 1.2; font-weight: 700; text-transform: uppercase; }
.static-hero-inner p.home-hero-title { color: #3fb0ea; font-size: clamp(42px, 4.6vw, 64px); line-height: 1.05; font-weight: 800; text-transform: uppercase; margin: 2px 0 14px; }
.static-hero-inner p.home-hero-sub { font-size: 20px; line-height: 1.5; }
.home-hero .home-hero-form { flex: 0 0 351px; }
.home-hero .home-hero-form .wpcf7-form .homeslider { margin: 0; }
/* The old hero's caption-box rule must not reach the form's own paragraphs. */
.static-hero-inner .home-hero-form p { background: none; padding: 0; max-width: none; margin: 0; font-size: inherit; line-height: inherit; }
@media (max-width: 1024px) {
  .static-hero.home-hero { min-height: 0; padding: 48px 0; }
  .static-hero-inner p.home-hero-kicker { font-size: 22px; }
  .static-hero-inner p.home-hero-title { font-size: 42px; }
  .static-hero-inner p.home-hero-sub { font-size: 18px; }
}

/* Desktop menu: between 1025px and 1220px the last item ("About Us") wrapped onto the hero. Tighter links keep one row. */
@media (min-width: 1025px) and (max-width: 1220px) {
  #menu-main-menu > li > a { padding-left: 11px !important; padding-right: 11px !important; }
}
@media (min-width: 1025px) and (max-width: 1120px) {
  #menu-main-menu > li > a { padding-left: 8px !important; padding-right: 8px !important; margin: 0 2px; letter-spacing: .5px !important; }
}

/* Phone menu button: the icon alone was a 21px tap target; give it a 44px box (QA round 1). */
.fusion-mobile-menu-icons a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: 0; font-size: 24px; }
.fusion-mobile-menu-icons { margin-top: -11px; }

/* Inner-page title bar: blue text on the speckled photo measured about 1.7:1. A dark wash over the photo and a
   lighter brand blue bring the title to about 3.6:1; the breadcrumbs turn light so they show too (QA round 1). */
.fusion-page-title-bar { position: relative; }
.fusion-page-title-bar::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); pointer-events: none; }
.fusion-page-title-bar > .fusion-page-title-row { position: relative; z-index: 1; }
.fusion-page-title-bar h1.entry-title { color: #3fb0ea !important; }
.fusion-page-title-bar .fusion-page-title-secondary, .fusion-page-title-bar .fusion-breadcrumbs, .fusion-page-title-bar .fusion-breadcrumbs a,
.fusion-page-title-bar .fusion-breadcrumbs span, .fusion-page-title-bar h3 { color: #f2f2f2 !important; }

/* Links inside white text on dark photos were #333 (about 1.2:1): give them a light blue that shows (QA round 1). */
.monts-15-light.white a, .monts-15-reg.white a, .monts-13-reg.white a { color: #9bdcfb !important; text-decoration: underline; }
/* "Quick Contact: Call Now!" number was red on blue. */
.form-slider-new a.tell { color: #fff !important; font-weight: 700; text-decoration: underline; }

/* Homepage intro: the left half was an empty column (it was empty on the old site too). Let the text use the row. */
body.home .fusion-builder-row-2 .fusion-builder-column-2 { display: none; }
body.home .fusion-builder-row-2 .fusion-builder-column-3 { float: none; width: auto !important; max-width: 860px; margin: 0 auto 20px !important; }
