/* Apex Scroll Story – full-page scrolling. Only active while <html> has .apex-fp-on (set by fullpage.js). */

/* Hide the scrollbar but keep the page scrollable by script. */
html.apex-fp-on {
	scrollbar-width: none;
	-ms-overflow-style: none;
	scroll-behavior: auto !important; /* a theme's smooth scrolling would fight the animation */
	overscroll-behavior-y: none;
}
html.apex-fp-on::-webkit-scrollbar,
html.apex-fp-on body::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}
html.apex-fp-on body {
	scrollbar-width: none;
	-ms-overflow-style: none;
}

/* Each section fills the screen below the sticky header, content centered vertically.
   Add the class "apex-fp-no-fit" to a section (WPBakery: Section → Extra class name) to leave its size alone. */
html.apex-fp-on .apex-fp-section:not(.apex-fp-no-fit) {
	min-height: calc(100vh - var(--apex-fp-offset, 0px));
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
}
html.apex-fp-on .apex-fp-section:not(.apex-fp-no-fit) > * {
	flex: 0 0 auto;
}

/* A slider inside a full-height row (the hero) fills the row: Woodmart fixes the slider
   height (e.g. 700px), so stretch it to the row height that fullpage.js sets in --apex-fp-row-h. */
html.apex-fp-on .apex-fp-section:not(.apex-fp-no-fit) > .vc_row-o-full-height .wd-slider .wd-carousel-wrap,
html.apex-fp-on .apex-fp-section:not(.apex-fp-no-fit) > .vc_row-o-full-height .wd-slider .wd-slide {
	height: var(--apex-fp-row-h) !important;
	min-height: var(--apex-fp-row-h) !important;
}
