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

/* ---- Icons. Avada's icon fonts (awb-icons, Font Awesome 5 solid) are not in the build, so their glyphs
   showed as empty boxes. These small inline shapes replace the ones the pages use. ---- */
[class^="awb-icon-"]::before, [class*=" awb-icon-"]::before { content: none !important; }
.awb-icon-bars::before, .awb-icon-search::before, .awb-icon-angle-left::before, .awb-icon-angle-right::before, .awb-icon-bubbles::before {
  content: "" !important; display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.awb-icon-bars { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5.5h18v2.6H3zM3 10.7h18v2.6H3zM3 15.9h18v2.6H3z'/%3E%3C/svg%3E"); }
.awb-icon-search { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='6' fill='none' stroke='black' stroke-width='2.6'/%3E%3Cpath d='M14.6 14.6L21 21' stroke='black' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.awb-icon-angle-left { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 4L7 12l8 8' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.awb-icon-angle-right { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4l8 8-8 8' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.awb-icon-bubbles { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a1 1 0 011 1v10a1 1 0 01-1 1H10l-5 4v-4H4a1 1 0 01-1-1V5a1 1 0 011-1z'/%3E%3C/svg%3E"); }

/* Phone menu and search buttons: a proper touch size and readable colour (they were 15x21px, #dadada). */
.fusion-mobile-menu-icons a.fusion-icon {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: 0 0 0 4px !important; padding: 0 !important;
  color: #0353a0 !important; font-size: 26px !important; line-height: 1 !important;
}

/* Share buttons on blog posts: a letter in place of the brand glyph. */
.fusion-social-network-icon { font-family: Montserrat, Arial, Helvetica, sans-serif; font-weight: 700; font-style: normal; text-decoration: none; }
.fusion-social-network-icon::before { font-size: 15px; line-height: 1; }
.awb-icon-facebook::before { content: "f" !important; }
.awb-icon-twitter::before { content: "X" !important; }
.awb-icon-linkedin::before { content: "in" !important; }
.awb-icon-reddit::before { content: "r" !important; }
.awb-icon-whatsapp::before { content: "W" !important; }
.awb-icon-tumblr::before { content: "t" !important; }
.awb-icon-pinterest::before { content: "P" !important; }
.awb-icon-vk::before { content: "vk" !important; }

/* Services menu arrow. */
.fusion-dropdown-indicator { display: inline-block; width: 8px; height: 8px; position: relative; vertical-align: middle; }
.fusion-dropdown-indicator::before {
  content: "" !important; position: absolute; left: 0; top: 0; width: 5px; height: 5px; font-family: inherit !important;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg);
}

/* Round bullets in the zip-code checklists. */
.icon-wrapper .fusion-li-icon.fa-circle::before {
  content: "" !important; display: inline-block; width: .6em; height: .6em; border-radius: 50%;
  background: currentColor; font-family: inherit !important; vertical-align: middle;
}

/* Phone button on the thank-you page. */
.fa-phone-square-alt::before { content: "\f098" !important; font-family: FontAwesome !important; font-weight: normal !important; }

/* Footer "Projects Gallery": thumbnails are no longer links; keep the pictures the same shape. */
.widget_media_gallery .gallery-icon img { object-fit: cover; }

/* Location pages: text and the contact form sit on solid panels, never straight on the photo. */
.fusion-column-wrapper:has(.neighborhood-zipcodes) {
  background: rgba(255, 255, 255, .95) !important; padding-bottom: 30px !important;
}
.location__form { background: #fff; padding: 24px 24px 8px; box-sizing: border-box; }
.location__form-heading { color: #1a1a1a !important; }
.location__form-text { color: #333 !important; }
.location__form-link { color: #0353a0 !important; }
