/* 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 (AGE-236) */
/* Page title bar: the banner photos were a bathroom vanity (desktop) and towels (high-DPI screens); use the site's own turf banner. */
:root, .fusion-page-title-bar { --page_title_bg: url('/wp-content/uploads/2020/01/cta-banner.jpg') !important; --page_title_bg_retina: url('/wp-content/uploads/2020/01/cta-banner.jpg') !important; }
.fusion-page-title-bar { background-image: url('/wp-content/uploads/2020/01/cta-banner.jpg') !important; background-size: cover !important; background-position: center center !important; }
/* Blog post icons and sidebar background were loaded from another site; use our own copies. */
.custom_post_meta .custom_post_date:before { background-image: url('/ext/artificialgrassanaheim.com_wp-content_uploads_2019_12_calender-icon.png') !important; }
.custom_post_meta .custom_post_category:before { background-image: url('/ext/artificialgrassanaheim.com_wp-content_uploads_2019_12_tag-icon.png') !important; }
.custom_post_meta .custom_post_author:before { background-image: url('/ext/artificialgrassanaheim.com_wp-content_uploads_2019_12_user-icon.png') !important; }
.single #sidebar { background-image: url('/ext/artificialgrassanaheim.com_wp-content_uploads_2019_12_sidebar-bg-1.png') !important; }
/* Mobile menu button: dark and a 44px tap target (it was light grey, 21px). */
.fusion-mobile-menu-icons a.fusion-icon { display: inline-flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 24px !important; color: #333 !important; }
.fusion-mobile-menu-icons a.fusion-icon:hover, .fusion-mobile-menu-icons a.fusion-icon:focus { color: #67b847 !important; }
/* Restored email address in the header: one line, like the old site. */
.fusion-email_wrap .fusion_header_big_title a { font-size: 14px; white-space: nowrap; }

/* QA round 2 (AGE-236) */
/* Mobile menu bars are drawn by ::before, which the theme colours #dadada. */
.fusion-mobile-menu-icons a.fusion-icon::before { color: #333 !important; }
.fusion-mobile-menu-icons a.fusion-icon:hover::before, .fusion-mobile-menu-icons a.fusion-icon:focus::before { color: #67b847 !important; }
/* Every title bar now has the dark turf banner, so its title is white (the blog pages had dark text and no photo before). */
.fusion-page-title-bar { --page_title_color: #fff !important; }
.fusion-page-title-bar h1, .fusion-page-title-bar h1 a, .fusion-page-title-bar .entry-title { color: #fff !important; }
/* Footer email: keep the address clear of the green divider line on its right. */
.artificial-footer-float-section_mailsection { padding-left: 90px; padding-right: 12px; }
.artificial-footer-float-section_mailsection::after { right: -15px; }
.artificial-footer-float-section_mailsection .fusion_header_big_title a { overflow-wrap: anywhere; }
