@layer vendor, icons, leaflet, components, video, migrate;
@import 'discover.icons.css' layer(icons);
@import 'discover.leaflet.css' layer(leaflet);
@import 'discover.components.css' layer(components);
@import 'discover.video.css' layer(video);
@import 'discover.migrate.css' layer(migrate);

/* Define CSS variables for common weights */
:root {
	--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

	--font-weight-light: 300;
	--font-weight-regular: 400;
	--font-weight-medium: 500;
	--font-weight-bold: 700;

	--full-viewport-height: 100dvh;
}

.swiper-container-vertical>.swiper-scrollbar {
	left: 98%;
}


.pace .pace-progress {
	background-image: linear-gradient(to right, #ec4e44, #c02e74 41%, #449bf8);
	background-image: linear-gradient(-225deg, #A445B2 0%, #D41872 52%, #FF0066 100%);
}

body {
	/* Disables pull-to-refresh and overscroll glow effect.
	Still keeps swipe navigations. */
	overscroll-behavior-y: none;
	overflow: hidden;
	touch-action: manipulation;
}

html,
body,
#map {
	height: var(--full-viewport-height, 100vh);
	width: 100vw;
}

.text-overflow {
	overflow-wrap: break-word;
	word-wrap: break-word;
	hyphens: auto;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

h2 {
	font-size: var(--font-size-3);
}

h6 {
	font-family: var(--font-industrial);
}

@media screen and (min-width: 576px) {}

@media screen and (min-width: 992px) {}

/**
 * Isolate button from the .link-stretched link
 */
.btn-isolate {
	z-index: 1;
}

.badge {
	font-size: var(--font-size-00);
}

.badge.badge-warning {
	background-color: var(--bs-orange);
}


.app-title {
	font-family: var(--font-industrial);
	font-size: var(--font-size-fluid-1);
	font-weight: var(--font-weight-9);
	max-width: var(--size-40);
	margin-bottom: 0;
	background: linear-gradient(135deg, var(--pink-6), var(--purple-6), var(--blue-6));
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}


#menu {
	display: none;
	background: #fff;
}

.activeMapViewport {
	height: calc(var(--full-viewport-height, 100vh) - 120px);
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
}

@media screen and (min-width: 576px) {
	.activeMapViewport {
		height: var(--full-viewport-height, 100vh);
		bottom: 0;
		right: 50vw;
	}
}

@media screen and (max-width: 575px) {
	.details-open .activeMapViewport {
		bottom: calc(57vh);
		height: auto;
		background-color: #cdb58c;
		mix-blend-mode: hue;
	}
}

#list {
	display: block;
	position: absolute;
	bottom: 10px;
	left: 10px;
	left: 0;
	right: 0;
	top: auto;
	z-index: 499;
}

@media screen and (min-width: 576px) {
	#list {
		bottom: 10px;
		left: 50%;
		top: 73px;
		right: 10px;
	}
}

@media screen and (min-width: 576px) and (display-mode: standalone) {}

.isIos.isStandalone #list {
	bottom: 30px;
}


@media screen and (min-width: 1200px) {
	#list {
		left: 70%;
	}
}

/**
 * Carousel
 */

.carousel {
	opacity: 1;
	width: 100% !important;
	height: 100px;
}


@media screen and (min-width: 576px) {
	.carousel {
		top: 0;
		bottom: 0;
		position: absolute;
		height: auto;
		background: #fff;
		padding: var(--size-2);

		.swiper-wrapper {
			display: flex;
			flex-direction: column;
		}
	}
}

.carousel-cell {

	--outer-radius: .8rem;
	--inner-radius: calc(var(--outer-radius) - var(--size-1));

	width: 100%;
	height: 100px;
	cursor: pointer;
	gap: 0;
}

@media screen and (min-width: 576px) {
	.carousel-cell {
		background-color: #fff;
	}

	.carousel-cell:last-child {
		/* height: 120px; */
	}
}

.carousel-cell:not(.is-selected) {
	box-shadow: none !important;
}

.carousel-cell {
	display: flex;
	transition: all .5s ease;
	background-color: #fff;
	border-radius: var(--outer-radius, .8rem);
}

@media screen and (min-width: 576px) {}

.carousel-cell:hover {
	background-color: #eee;
}

.carousel-cell .list-group-item-image {
	position: relative;
	height: 100px;
	width: 100px;
	flex-shrink: 0;
	padding: var(--size-2);
}

.carousel-cell .list-group-item-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-position: top;
	object-fit: cover;
	border-radius: var(--inner-radius, 1rem);
}

.carousel-cell .list-group-item-content {
	margin: var(--size-2);
	margin-block-start: var(--size-3);
	gap: var(--size-2);
}

.carousel-cell .list-group-item-title {
	font-size: 14px;
	display: flex;
	align-items: top;
	gap: 4px;

	white-space: normal;

	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	/* number of lines to show */
	line-clamp: 2;
	-webkit-box-orient: vertical;

	.bookmark {
		margin-top: 2px;
		flex-shrink: 0;
	}
}

.carousel-cell .list-group-item-header {
	font-size: var(--font-size-0, 82%);
	color: var(--stone-6);
}

/**
 * Bottom Sheet Card
 * @see https://m2.material.io/components/sheets-bottom#anatomy
 */

.bottom-sheet {
	transition: top 0.25s cubic-bezier(0, 0, 0.2, 1);
	top: var(--full-viewport-height, 100vh);
}

.card {
	--bs-card-border-radius: 0;

	background-color: #fff;
	margin-top: 38dvh;
	min-height: var(--full-viewport-height, 100vh);
	height: auto;
	box-shadow: 0px -9px 20px rgba(0, 0, 0, 0.3);
}

@media screen and (min-width: 576px) {
	.card {
		margin-top: 0;
	}
}

.card a {
	color: #666;
}

.card .card-block {
	cursor: pointer;
}

.card .entity-title {
	transition: opacity 0.2s ease-out;
	opacity: 0;
	font-size: 18px;
	color: #fff;
	position: absolute;
	width: 100%;
	padding: 10px 40px;
	text-align: center;
	font-family: var(--font-industrial);
}

.card .entity-title .meta {
	font-size: 62%;
	line-height: 1;
}

.card .entity-title.stuck {
	opacity: 1;
}

.card .card-subtitle {
	font-weight: normal;
	font-size: 13px;
}

.card .card-text {
	overflow: hidden;
	text-overflow: ellipsis;
}

.card .media-header {
	border-bottom: 2px solid #fff;
	z-index: 100000;
}

.card .media-header img {
	height: 80px;
}

.card .content-header {
	position: relative;
}

/**
 * overlay
 */
.card .content-header::after {
	content: '';
	display: block;
	background: rgba(0, 0, 0, 0.3);
	position: absolute;
	top: 0;
	z-index: 1;
	bottom: 0;
	width: 100%;
}

.card .top-bar {
	left: 0;
	top: 0;
	width: 100%;
	flex: 0 0 auto;
	position: sticky;
}

@media screen and (min-width: 576px) {
	.card .top-bar {
		position: sticky;
	}
}


.card .content-header-title {
	position: absolute;
	color: #fff;
	z-index: 2;
	width: 100%;
	text-align: center;
	top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .5s ease;
}

.card .content-header-title h1 {
	font-size: 24px;
	text-transform: uppercase;
	letter-spacing: 3px;
	text-shadow: 0px 0px 11px black;
	overflow-wrap: break-word;
	margin-bottom: 0;
	padding: var(--size-2);
	font-family: var(--font-industrial);
	font-weight: var(--font-weight-9);
}

.card .content-header-title h1::after {
	display: block;
	content: '';
	height: 2px;
	background-color: #fff;
	width: 20%;
	margin: 20px auto;
}

.card .media-thumb-wrapper {
	overflow: hidden;
	background-image: linear-gradient(-225deg, #A445B2 0%, #D41872 52%, #FF0066 100%);
	background-image: var(--gradient-1);
	position: relative;
	display: block;
}

.card .media-thumb-wrapper.image-attribution::after {
	z-index: 2;
}

.card .media-thumb-wrapper:before {
	display: block;
	content: "";
	width: 100%;
	height: 62dvh;
	inset: 0;
	background: var(--placeholder) center/cover no-repeat;
	filter: blur(20px);
	transform: scale(1.2);
	/* avoid edge artifacts */
	transition: opacity .5s ease-out;
	will-change: opacity;
	/* padding-top: 108.69565217%; */
}

.card .media-thumb-wrapper img {
	transform: scale(1);
	position: absolute;
	top: 0;
	object-fit: cover;
	object-position: top;
	height: 100%;
	width: 100%;
}

.card .content-body {
	overflow-y: auto;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	position: relative;
	height: auto;
	width: 100%;
	z-index: 0;
}

.card .close {
	display: flex;
	position: absolute;
	right: 12px;
	width: 32px;
	height: 32px;
	opacity: 1;
	z-index: 20;
	top: 10px;
	align-items: center;
	justify-content: center;
	padding: 0;
	background-color: transparent;
	border: 0;
}

/**
 * Card Wrapper
 */
#card {
	position: absolute;
	left: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 1000;
	overflow-y: scroll;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
}

@media screen and (min-width: 576px) {

	#extra,
	#card {
		left: 50%;
	}
}

@media screen and (min-width: 1200px) {

	#extra,
	#card {
		left: 70%;
	}
}

#card .content-body a {
	pointer-events: none;
}

.details-open #card .content-body a {
	pointer-events: auto;
}

.details-open .bottom-sheet {
	top: 0;
}

.details-open .carousel {
	opacity: 0;
}

@media screen and (max-width: 575px) {
	.details-open .leaflet-control-container {
		display: none;
	}
}

.bookmark {
	color: transparent;
}

.bookmark.js-btn-bookmark {
	color: var(--stone-1);
}

.bookmark.bookmarked {
	color: var(--yellow-4);
}

#extra {
	-webkit-overflow-scrolling: touch;
	background-color: #fff;
	transition: transform 0.25s ease-out;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	/* width: 100vw; */
	z-index: 1001;
	overflow-y: scroll;
	transform: translateX(100%);
}

.extras-open #extra {
	transform: translateX(0%);
	display: block;
}

@media screen and (min-width: 576px) {}

@media screen and (min-width: 1200px) {}

.sticky-top {
	transform: translate3d(0, 0, 0);
	-webkit-backface-visibility: hidden;
	-webkit-perspective: 1000;
}

.card-header {
	-webkit-backface-visibility: hidden;
	-webkit-perspective: 1000;
	background-color: #fff !important;
	padding: .5rem 1rem;
	margin-bottom: 0;
}

.card-header h1 {
	flex-grow: 1;
	width: 90%;
}

.card-header .close {
	flex-grow: 0;
	width: 10%;
	padding: 0;
	background-color: transparent;
	border: 0;
}

@media screen and (min-width: 576px) {
	.card-header .close {
		width: 32px;
	}
}

#places .swiper-slide {
	width: 40%;
}

#places .swiper-slide img {
	position: relative;
	object-fit: cover;
	height: 120px;
	width: 100%;
	display: block;
}

#places .swiper-wrapper a:last-child::after {
	content: attr(title);
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	display: flex;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	text-align: center;
	align-items: center;
	justify-content: center;
}

.wiki-content h1 {
	font-size: 20px;
	margin-bottom: 1.35em;
	margin-bottom: 0;
}

.wiki-content #toc,
.wiki-content .qb-alt-image,
.wiki-content .qb-wd-comment,
.wiki-content .noprint,
.wiki-content .mw-editsection {
	display: none;
}

.wiki-content table {
	width: 100%;
	margin: 1rem 0;
}

.wiki-content table td {
	padding: .25rem 0;
}

.wiki-content table .qbItem {
	border-bottom: 1px solid #eee;
}

.wiki-content table .qbImage img {
	width: 100%;
}

.wiki-content .infobox tr,
.wiki-content .wikitable tr {
	border-bottom: 1px solid #eee;
}

.wiki-content .thumb {
	margin-bottom: 1em;
}

.wiki-content .thumb .thumbinner {
	width: auto !important;
}

.wiki-content .thumb .thumbinner img {
	width: 100%;
	height: auto;
}

/**
 * Expand Article
 */
.expandable-article {
	height: 100px;
	overflow: hidden;
	position: relative;
}

.expandable-article:empty {
	display: none;
}

.expandable-article:after {
	content: '';
	display: block;
	height: 60px;
	position: absolute;
	bottom: 0;
	width: 100%;
	text-align: center;
	padding-top: 30px;
	background-image: linear-gradient(rgba(255, 255, 255, 0) 0%, #ffffff 87%);
}

.expandable-article.expanded {
	height: auto;
}

.expandable-article.expanded::after {
	display: none;
}

/**
 * Slideout menu
 */

.slideout-menu {
	position: fixed;
	top: 0;
	bottom: 0;
	width: 256px;
	min-height: var(--full-viewport-height, 100vh);
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	z-index: 0;
	display: none;
}

.slideout-menu-left {
	left: 0;
}

.slideout-menu-right {
	right: 0;
}

.slideout-panel {
	position: relative;
	z-index: 1;
	will-change: transform;
	background-color: #FFF;
	/* A background-color is required */
	min-height: var(--full-viewport-height, 100vh);
	overflow-x: hidden;
}

.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
	overflow: hidden;
}

.slideout-open .slideout-menu {
	display: block !important;
}

/**
 * Leaflet Pins
 */

.leaflet-marker-icon {
	opacity: 0.9;
	/* filter: blur(8px); */
}

.leaflet-data-marker-active,
.leaflet-marker-icon:hover {
	opacity: 1;
	/* filter: blur(0px); */
}

.leaflet-control .icon {
	color: var(--red-9);
}

#mePin .mePin,
#mePin path {
	fill: var(--red-9);
}

#mePin .ring_outer {
	animation: opacityPulse 2s cubic-bezier(1, 0.14, 1, 1);
	animation-iteration-count: infinite;
	opacity: .5;
}

#mePin .ring_inner {
	animation: opacityPulse 2s cubic-bezier(0.4, 0.74, 0.56, 0.82);
	animation-iteration-count: infinite;
	opacity: .8;
}

@keyframes opacityPulse {
	0% {
		opacity: 0.1;
	}

	50% {
		opacity: 1.0;
	}

	100% {
		opacity: 0.1;
	}
}

@keyframes bounceInDown {

	from,
	60%,
	75%,
	90%,
	to {
		animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	}

	0% {
		opacity: 0;
		transform: translate3d(0, -3000px, 0);
	}

	60% {
		opacity: 1;
		transform: translate3d(0, 5px, 0);
	}

	75% {
		transform: translate3d(0, -3px, 0);
	}

	90% {
		transform: translate3d(0, 5px, 0);
	}

	to {
		transform: none;
	}
}

.bounceInDown {
	animation-name: bounceInDown;
	animation-duration: 2s;
	animation-fill-mode: both;
}

/* .animated {
	animation-duration: 2s;
	animation-fill-mode: both;
}

.animated.infinite {
	animation-iteration-count: infinite;
} */



@supports ((position: -webkit-sticky) or (position: sticky)) {
	.sticky-top {
		position: -webkit-sticky;
		position: sticky;
		top: 0;
	}
}


.toolbar-bottom {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 3;
	padding: 10px 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;

	.image-attribution {
		position: relative;
	}

	.image-attribution {
		display: block;
		font-size: 11px;
		text-shadow: 0 0 3px #000;
		color: #eee;
		text-align: right;
		text-overflow: ellipsis;
		overflow: hidden;
		white-space: nowrap;
	}

	:not(.bookmarked) .icon-filled,
	.bookmarked .icon-outline {
		display: none;
	}

	:not(.bookmarked) .icon-outline,
	.bookmarked .icon-filled {
		display: block;
	}
}


@media (display-mode: standalone) {}

.isIos.isStandalone .toolbar-bottom {
	padding: 30px 15px;
}

.attribution {
	font-size: 11px;
	display: block;
}


#onofflineindicator {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 4px;
	height: 4px;
	z-index: 1000;
	border-radius: 50%;

	.online {
		background-color: var(--green-10);
	}

	.offline {
		background-color: var(--red-8);
	}
}


@media screen and (min-width: 992px) {
	#flickrGallery {
		column-count: 3;
		column-gap: 1rem;
		width: 100%;
	}

	#flickrGallery a {
		display: block;
		/* margin-bottom: 1rem; */
		break-inside: avoid;
	}
}

:root {
	--bs-checkbox-bg: #0d6efd;
	--bs-checkbox-border: #0d6efd;
}

.form-check-input:checked {
	background-color: var(--bs-checkbox-bg) !important;
	border-color: var(--bs-checkbox-border) !important;
}