.hfbe-template {
	box-sizing: border-box;
	width: 100%;
}

.hfbe-theme-hidden {
	display: none !important;
}

.hfbe-template *,
.hfbe-template *::before,
.hfbe-template *::after {
	box-sizing: border-box;
}

.hfbe-template-header {
	position: relative;
	z-index: 999;
}

.hfbe-header-is-sticky {
	left: 0;
	position: sticky;
	right: 0;
	top: 0;
	transition: transform 180ms ease, box-shadow 180ms ease;
	z-index: 99999;
}

body.admin-bar .hfbe-header-is-sticky {
	top: 32px;
}

body.hfbe-header-scrolled .hfbe-header-is-sticky {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.hfbe-header-is-hidden {
	transform: translateY(-110%);
}

.hfbe-template-footer {
	position: relative;
	z-index: 1;
}

.hfbe-template-preview {
	margin: 0;
}

.hfbe-template-preview__content {
	margin: 0;
	min-height: 100vh;
}

@media screen and (max-width: 782px) {
	body.admin-bar .hfbe-header-is-sticky {
		top: 46px;
	}
}
