/*
 * Local replacements for behaviour the page used to get from Avada scripts
 * hot-linked from another site (those scripts are no longer reachable).
 */

/* FitVids: keep each YouTube iframe inside its aspect-ratio wrapper instead of below it */
.fluid-width-video-wrapper { position: relative; width: 100%; }
.fluid-width-video-wrapper iframe,
.fluid-width-video-wrapper object,
.fluid-width-video-wrapper embed {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

/* Flyout (hamburger) menu: start below the header and scroll when the list is long */
.fusion-flyout-active .fusion-flyout-menu {
  padding-top: 110px; padding-bottom: 60px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.fusion-flyout-active .fusion-flyout-menu-bg { background-color: #fff; opacity: 1; }
body.fab-menu-open { overflow: hidden; }
