:root {
	--hhfoi-duration: 400ms;
}

body.hhfoi-ready .hhfoi-target {
	transition: transform var(--hhfoi-duration) ease, opacity var(--hhfoi-duration) ease, visibility var(--hhfoi-duration) ease !important;
	will-change: transform, opacity;
}

body.hhfoi-ready .hhfoi-target[data-hhfoi-fx="instant"] {
	transition: none !important;
}

body.hhfoi-ready.hhfoi-pin-footer .hhfoi-footer,
body.hhfoi-ready.hhfoi-pin-footer footer.hhfoi-footer,
body.hhfoi-ready.hhfoi-pin-footer .hhfoi-footer.elementor-location-footer,
body.hhfoi-ready.hhfoi-pin-footer .elementor.hhfoi-footer,
body.hhfoi-ready.hhfoi-pin-footer [data-elementor-type="footer"].hhfoi-footer {
	position: fixed !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	top: auto !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	z-index: 99998 !important;
}

body.hhfoi-visible .hhfoi-target,
body:not(.hhfoi-hidden).hhfoi-ready .hhfoi-target {
	transform: translate3d(0, 0, 0) !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
}

body.hhfoi-hidden .hhfoi-target[data-hhfoi-fx="instant"],
body.hhfoi-hidden .hhfoi-target[data-hhfoi-fx="fade"] {
	transform: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

body.hhfoi-hidden .hhfoi-target[data-hhfoi-fx="slide-up"] {
	transform: translate3d(0, -120%, 0) !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

body.hhfoi-hidden .hhfoi-target[data-hhfoi-fx="slide-down"] {
	transform: translate3d(0, 120%, 0) !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

body.hhfoi-hidden .hhfoi-target[data-hhfoi-fx="slide-left"] {
	transform: translate3d(-120%, 0, 0) !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

body.hhfoi-hidden .hhfoi-target[data-hhfoi-fx="slide-right"] {
	transform: translate3d(120%, 0, 0) !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

body.hhfoi-hidden .hhfoi-header.elementor-sticky,
body.hhfoi-hidden .hhfoi-header.elementor-sticky--active,
body.hhfoi-hidden .hhfoi-footer.elementor-sticky,
body.hhfoi-hidden .hhfoi-footer.elementor-sticky--active {
	pointer-events: none !important;
}

#hhfoi-fixed-logo {
	position: fixed;
	z-index: 2147483000;
	pointer-events: auto;
	transition: opacity var(--hhfoi-duration) ease, visibility var(--hhfoi-duration) ease;
	line-height: 0;
}

#hhfoi-fixed-logo a,
#hhfoi-fixed-logo img,
#hhfoi-fixed-logo svg {
	max-width: 100%;
	height: auto;
	display: block;
}

body.hhfoi-visible #hhfoi-fixed-logo,
body:not(.hhfoi-hidden) #hhfoi-fixed-logo {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

body.hhfoi-hidden #hhfoi-fixed-logo {
	opacity: 1;
	visibility: visible;
}
