.lgs-switcher {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	color: var(--lgs-font, #fff);
	box-sizing: border-box;
}

.lgs-switcher.is-contained {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.lgs-switcher *,
.lgs-switcher *::before,
.lgs-switcher *::after {
	box-sizing: border-box;
}

.lgs-switcher .lgs-hero {
	position: relative;
	min-height: var(--lgs-min-height, 720px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	background: #000;
}

.lgs-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	transition-property: opacity;
	transition-timing-function: ease;
	will-change: opacity;
	z-index: 0;
}

.lgs-overlay {
	position: absolute;
	inset: 0;
	background: var(--lgs-overlay, #000);
	opacity: var(--lgs-overlay-opacity, 0.3);
	z-index: 1;
	pointer-events: none;
}

.lgs-content {
	position: relative;
	z-index: 2;
	text-align: var(--lgs-align, left);
	transition: opacity var(--lgs-transition, 400ms) ease;
}

.lgs-content.is-fading {
	opacity: 0;
}

.lgs-switcher .lgs-title {
	padding: 0 !important;
	letter-spacing: normal;
	text-transform: none;
}

.lgs-switcher .lgs-details > div {
	color: inherit !important;
	font: inherit;
}

.lgs-button {
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
	font-family: inherit;
}

.lgs-button:hover,
.lgs-button:focus {
	opacity: 0.85;
	outline: none;
}

.lgs-nav {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	margin-top: auto;
	padding-bottom: 0;
}

.lgs-nav-item {
	background: transparent !important;
	border: 0 !important;
	border-bottom: 2px solid transparent !important;
	padding: 0.5rem 0 !important;
	cursor: pointer;
	opacity: 1;
	transition: border-color 0.2s ease, opacity 0.2s ease;
	font-family: inherit;
	line-height: 1.2;
}

.lgs-nav-item:hover,
.lgs-nav-item:focus {
	opacity: 0.8;
	outline: none;
}

.lgs-nav-item.is-active {
	opacity: 1;
	border-bottom-color: currentColor !important;
}

.lgs-data {
	display: none;
}

@media (max-width: 768px) {
	.lgs-switcher .lgs-hero {
		padding:
			max(40px, calc(var(--lgs-pad-top, 80px) * 0.6))
			max(24px, calc(var(--lgs-pad-right, 80px) * 0.4))
			max(0px,  calc(var(--lgs-pad-bottom, 0px) * 0.6))
			max(24px, calc(var(--lgs-pad-left, 80px) * 0.4)) !important;
		min-height: 560px;
	}
	.lgs-nav {
		flex-wrap: wrap;
	}
}

.lgs-switcher .lgs-use-my-location {
	position: absolute;
	right: 24px;
	top: 24px;
	z-index: 5;
	background: rgba(0, 0, 0, 0.4);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.6);
	padding: 8px 14px;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease;
}
.lgs-switcher .lgs-use-my-location:hover {
	background: rgba(0, 0, 0, 0.7);
}
.lgs-switcher .lgs-use-my-location:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.lgs-switcher .lgs-osm-attribution {
	display: block;
	padding: 8px 16px;
	font-size: 11px;
	color: rgba(0, 0, 0, 0.55);
	text-align: right;
	background: #fff;
}
.lgs-switcher .lgs-osm-attribution a {
	color: inherit;
	text-decoration: underline;
}
