/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.3
Text Domain: Avada
*/

/* Restore native scrolling — Avada NiceScroll locks html/body */
html,
body {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
  max-height: none !important;
  position: static !important;
}

/* Hide leftover NiceScroll rails if cached JS still ran */
.nicescroll-rails {
  display: none !important;
}

/* Sticky Elementor Theme Builder header overlays content */
body .elementor-location-header {
  z-index: 999;
}

/*
 * Pages using Elementor Canvas/header-footer template need clearance
 * under the sticky Theme Builder header (~logo row height).
 */
body.page-template-elementor_header_footer #content,
body.page-template-elementor_header_footer #main {
  padding-top: 110px;
}

/* Default Elementor pages inside Avada (incl. home) also sit under sticky header */
body.elementor-page:not(.elementor-template-canvas) #main {
  padding-top: 110px;
}
