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

/* ---- QA round 1 fixes ---- */

/* Phone menu (Oxygen full-screen menu): Oxygen's default is a white panel, but this site's menu text and hamburger are white. */
.oxy-nav-menu.oxy-nav-menu-open { background-color: #161617; }
.oxy-nav-menu.oxy-nav-menu-open .menu-item .sub-menu { display: flex !important; position: static; visibility: visible; opacity: 1; background: transparent !important; }
.oxy-nav-menu.oxy-nav-menu-open .sub-menu .menu-item a { font-size: 14px; }
.oxy-nav-menu.oxy-nav-menu-open .oxy-nav-menu-list { display: flex !important; }
.oxy-menu-toggle { cursor: pointer; }

/* Footer "Useful Links" (was a WordPress shortcode). */
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 10px; }
.footer-links a { color: #fff; font-weight: 300; text-decoration: none; line-height: 1.4; }
.footer-links a:hover { color: #fcd02c; }
@media (max-width: 991px) { #div_block-68-19 { margin-top: 30px; } }

/* Home page hero: the old photo showed a worker's legs; use a finished floor, darkened so the white text stays readable. */
#section-2-2 { background-image: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)), url(/wp-content/uploads/2021/11/banner-industrial-epoxy.webp) !important; background-size: cover; background-position: center center; }

/* Blog posts written in the editor (no hero section): the overlay header sat on top of the title. */
.ct-inner-content > h1.wp-block-heading:first-child { padding-top: 100px; }
.ct-inner-content .wp-block-image img { max-width: 100%; height: auto; }

/* Blog posts on the two-column hero template: the fixed margins, heights and 50% column pushed the page past the screen on phones. */
@media (max-width: 991px) {
  #section-2-162 { height: auto !important; }
  #section-2-162 > .ct-section-inner-wrap { flex-direction: column; align-items: stretch; }
  #div_block-3-162 { width: 100% !important; }
  #headline-5-162 { font-size: 32px; padding-top: 120px; overflow-wrap: break-word; }
  #image-7-162 { margin: 30px 0 0 !important; width: 100%; max-width: 100%; height: auto; }
  #section-15-162 { height: auto !important; }
}

#image-7-162 { max-width: 100%; height: auto; }

/* Service page title: 75px / weight 900 is wider than a phone. */
#headline-5-8 { font-size: clamp(36px, 11vw, 75px); overflow-wrap: break-word; }
