
.gb-overlay {
	background: none;
	border: 0;
	display: none;
	margin: 0;
	max-width: 100%;
	padding: 0;
	z-index: 99999;
}

.gb-overlay--standard, .gb-overlay[open] {
	align-items: center;
	display: none;
	height: 100%;
	justify-content: center;
	left: 0;
	max-height: 100%;
	max-width: 100%;
	position: fixed;
	top: 0;
	width: 100%;
}

.gb-overlay::backdrop {
	display: none;
}

.gb-overlay--standard.active, .gb-overlay--standard[open] {
	display: flex;
}

.gb-overlay--standard.gb-overlay--top-left {
	align-items: flex-start;
	justify-content: flex-start;
}

.gb-overlay--standard.gb-overlay--top-center {
	align-items: flex-start;
	justify-content: center;
}

.gb-overlay--standard.gb-overlay--top-right {
	align-items: flex-start;
	justify-content: flex-end;
}

.gb-overlay--standard.gb-overlay--center-left {
	align-items: center;
	justify-content: flex-start;
}

.gb-overlay--standard.gb-overlay--center-right {
	align-items: center;
	justify-content: flex-end;
}

.gb-overlay--standard.gb-overlay--bottom-left {
	align-items: flex-end;
	justify-content: flex-start;
}

.gb-overlay--standard.gb-overlay--bottom-center {
	align-items: flex-end;
	justify-content: center;
}

.gb-overlay--standard.gb-overlay--bottom-right {
	align-items: flex-end;
	justify-content: flex-end;
}

.gb-overlay__backdrop {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.gb-overlay__content {
	max-height: 100%;
	max-width: 100%;
	position: relative;
	z-index: 1;
}

.gb-overlay--width-full, .gb-overlay--width-full.gb-overlay--standard .gb-overlay__content {
	width: 100%;
}

[data-gb-overlay-close] {
	cursor: pointer;
}

.gb-overlay__live-region {
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
	clip: rect(0, 0, 0, 0);
}

.gb-overlay--anchored:not(.gb-overlay--positioned) {
	visibility: hidden;
}

.menu-item-has-gb-mega-menu {
	position: relative;
}

.menu-item-has-gb-mega-menu .gb-overlay--anchored {
	max-width: 100vw;
}

.menu-item-has-gb-mega-menu .gb-overlay--anchored.gb-overlay--width-full {
	width: 100vw;
}

:where(.menu-item-has-gb-mega-menu .gb-overlay--anchored) {
	width: -moz-max-content;
	width: max-content;
}
