@font-face {
	font-family: 'kievit_regular';
	src: url('/includes/public/fonts/journey/KievitOT-Regular.woff2') format('woff2'),
		 url('/includes/public/fonts/journey/KievitOT-Regular.woff') format('woff')
}

@font-face {
	font-family: 'waveryly_light';
	src: url('/includes/public/fonts/journey/wvl.woff2') format('woff2'),
		 url('/includes/public/fonts/journey/wvl.woff') format('woff')
}

.journey-page {
	width: 100%;
	height: 100vh;
	position: relative;
	font-family: 'kievit_regular', sans-serif;
	font-size: 22px;
	line-height: 22px;
	transition: opacity 0.5s ease-in;
}
	.journey-page.not-loaded { opacity: 0; }


/* Fullscreen Backgrounds (video & image) */
.journey-page .background-asset {
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	z-index: -1;
	transform: scale(1.2);
}
	.journey-page .background-asset.blur {
		-webkit-filter: blur(10px);
		filter: blur(10px);
		transform: scale(1.5);
	}

/* XL Desktop & up */
@media only screen and (min-width: 90.063em) {
	.journey-page .background-asset {
		height: initial;
		width: 100vw;
	}
		.journey-page .background-asset.blur {
			width: 100%;
			transform: scale(1.05);
		}
}


/* Page Actions (Top Corner buttons) */
.journey-page .page-actions {
	position: absolute;
	top: 15px;
	right: 15px;
	cursor: default;
	z-index: 12;
}
	.journey-page .page-actions .page-action {
		width: 31px;
		padding: 0;
		margin: 0 5px 0 0;
		font-family: 'kievit_regular', arial, sans-serif;
		font-size: 18px;
		line-height: 1;
		vertical-align: top;
		text-align: center;
		color: #fff;
		background-color: transparent;
		text-shadow: 0px 0px 3px rgba(0,0,0,0.7);
	}
		.journey-page .page-actions .page-action:last-child { margin-right: 0; }
		.journey-page .page-actions .page-action > span { display: none; }

		.journey-page .page-actions .page-action::before {
			display: block;
			height: 31px;
			width: 31px;
			margin: 0 auto 10px;
			content: '';
			background-color: rgba(255, 255, 255, 0.4);
			background-repeat: no-repeat;
			background-size: 40%;
			background-position: center center;
			border-radius: 50%;
			transition: transform 0.5s ease, background-color 0.3s ease-out;
		}
			.journey-page .page-actions .page-action:hover::before {
				transform: scale(1.15);
				transition: transform 0.5s ease;
				background-color: rgba(255, 255, 255, 0.7);
			}

			.journey-page .page-actions .page-action.menu::before {
				background-image: url(/includes/public/assets/journey/icon-menu.png);
			}

			.journey-page .page-actions .page-action.play-video::before {
				background-position: 12px center;
				background-image: url(/includes/public/assets/journey/icon-play.png);
			}

			.journey-page .page-actions .page-action.restart::before {
				background-image: url(/includes/public/assets/journey/icon-house.png);
			}

		.journey-page .page-actions .page-action.play-video { display: none; }
			.journey-page.has-saved-videos .page-actions .page-action.play-video { display: inline-block; }

			@keyframes expand {
				0%   { transform: scale(1); background-color: rgba(255, 255, 255, 0.7); }
				50%  { transform: scale(1.15); background-color: rgba(255, 255, 255, 0.8); }
				100% { transform: scale(1); background-color: rgba(255, 255, 255, 0.7); }
			}
			.journey-page.has-saved-videos.has-two-videos .page-actions .page-action.play-video:not(:hover)::before {
				animation: expand 2s infinite;
				box-shadow: 0 0 15px #fff;
			}

/* Desktop & up */
@media only screen and (min-width: 64.063em) {
	.journey-page .page-actions { right: 30px; }
		.journey-page .page-actions .page-action {
			width: 60px;
			margin: 0 20px 0 0;
			font-size: 16px;
		}
			.journey-page .page-actions .page-action > span { display: block; }

			.journey-page .page-actions .page-action::before {
				height: 44px;
				width: 44px;
				margin: 0 auto 10px;
			}
				.journey-page .page-actions .page-action.play-video::before { background-position: 16px center; }
				.journey-page .page-actions .page-action.restart::before { background-position: center 15px; }
}

/* XL Desktop & up */
@media only screen and (min-width: 90.063em) {
	.journey-page .page-actions .page-action {
		width: 80px;
		font-size: 20px;
	}
		.journey-page .page-actions .page-action::before {
			height: 66px;
			width: 66px;
			background-size: initial;
		}

		.journey-page .page-actions .page-action.play-video::before { background-position: 23px center; }
}


/* Menu dropdown */
.journey-page ul.discovery-menu {
	display: block;
	width: 100%;
	max-width: 370px;
	position: fixed;
	top: -50px;
	right: 0;
	margin: 0;
	padding-bottom: 40px;
	list-style: none;
	opacity: 0;
	pointer-events: none;
	background-color: #4f8196;
	text-align: center;
	z-index: 15;
	transition: opacity 0.5s ease, top 0.5s ease;
}
	.journey-page.open-menu ul.discovery-menu {
		opacity: 1;
		pointer-events: all;
		top: 0;
	}

	.journey-page ul.discovery-menu li a {
		display: block;
		margin: 40px;
		font-family: 'waveryly_light';
		font-size: 32px;
		line-height: 1;
		color: #fff;
	}

	.journey-page ul.discovery-menu li.closer {
		margin: 20px;
		text-align: right;
	}
		.journey-page ul.discovery-menu li.closer img { cursor: pointer; }


/* Sidebar (Startpage) */
.journey-page .sidebar {
	display: flex;
	flex-direction: column;
	text-align: center;
	margin-bottom: 15px;
	background-color: rgba(255, 255, 255, 0.4);
}
	.journey-page .sidebar.not-started { height: 50%; }

.journey-page h1.title {
	font-family: 'waveryly_light', sans-serif;
	margin: 0 0 15px;
	padding-top: 45px;
	position: relative;
	font-size: 36px;
	line-height: 36px;
	color: #fff;
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.8);
	z-index: 1;
	cursor: default;
}

.journey-page p.description,
.journey-page p.instructions {
	display: none;
	margin: auto 0 15px;
	font-family: 'kievit_regular', arial, sans-serif;
	position: relative;
	font-size: 14px;
	line-height: 18px;
	color: #fff;
	text-align: center;
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.8);
	cursor: default;
}
	/* Desktop & up */
	@media only screen and (min-width: 64.063em) {
		.journey-page p.description,
		.journey-page p.instructions {
			font-size: 18px;
			line-height: 26px;
		}
	}

	.journey-page .sidebar.not-started p.description { display: block; }
	.journey-page .sidebar p.instructions {
		max-width: 90%;
		margin: 0 auto 15px;
	}
	.journey-page .sidebar p.instructions {
		display: block;
		font-size: 12px;
		line-height: 18px;
	}

.journey-page .sidebar .start-button {
	display: inline-block;
	max-width: 300px;
	padding: 15px;
	margin: auto;
	border-radius: 15px;
	font-size: 20px;
	line-height: 25px;
	color: #1b5b8e;
	background-color: rgba(255, 255, 255, 0.8);
	transition: opacity 0.5s ease;
	align-self: center;
}
	.journey-page .sidebar .start-button:hover { opacity: 0.6; }
	.journey-page.has-started .sidebar .start-button {
		opacity: 0;
		pointer-events: none;
	}


/* Sidebar (With map) */
.journey-page .sidebar.map h1.title {
	font-size: 38px;
	line-height: 40px;
}

.journey-page .sidebar.map .sidebyside { position: relative; }
	.journey-page .sidebar.map .sidebyside img.delaware-map {
		display: none;
		width: 160px;
		position: relative;
		left: 20px;
		top: 25px;
	}


/* Nosidebar (Final page) */
.journey-page .nosidebar {
	width: 100%;
	text-align: center;
}
	.journey-page .nosidebar h1.title,
	.journey-page .nosidebar p.description {
		max-width: 960px;
		margin: 10px;
	}


/* Logo (Footer) */
.journey-page .delaware-logo {
	display: block;
	width: 172px;
	z-index: 10;
	position: fixed;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, 0);
}

/* Desktop & up */
@media only screen and (min-width: 64.063em) {
	.journey-page .sidebar {
		width: 470px;
		height: 100%;
		margin-left: 50px;
		margin-bottom: 0;
		text-align: left;
		background-color: rgba(255, 255, 255, 0.2);
	}
		.journey-page .sidebar.not-started { height: 100%; }
		.journey-page .sidebar .sidebar-background {
			width: 440px;
			height: 100vh;
		}
			.journey-page .sidebar .sidebar-background .background-asset video {
				width: 100vw;
				height: auto;
			}

		.journey-page .sidebar h1.title {
			padding-top: 55px;
			margin-left: 35px;
			font-size: 60px;
			line-height: 65px;
		}

		.journey-page .sidebar p.description,
		.journey-page .sidebar p.instructions {
			display: block;
			margin: 35px;
			max-width: 400px;
			font-size: 18px;
			line-height: 26px;
			text-align: left;
		}
		.journey-page .sidebar p.instructions,
		.journey-page .sidebar p.instructions .title {
			font-size: 16px;
			line-height: 20px;
			margin-top: auto;
		}

	.journey-page .delaware-logo {
		display: block;
		width: 440px;
		margin-top: auto;
		z-index: 2;
		position: relative;
		left: auto;
		transform: none;
	}

	.journey-page .sidebar.map h1.title {
		font-size: 80px;
		line-height: 80px;
	}

	.journey-page .sidebar.map .sidebyside {
		max-width: 470px;
		margin-top: auto;
	}

	.journey-page .sidebar.map .sidebyside img.delaware-map { display: block; }

	.journey-page .sidebar.map .sidebyside p.description {
		display: block;
		max-width: 350px;
		margin: 0;
		position: absolute;
		top: 60px;
		right: 0;
	}

	.journey-page .nosidebar h1.title {
		margin: 60px auto;
		font-size: 90px;
		line-height: 90px;
	}

	.journey-page .nosidebar p.description {
		margin: 60px auto;
		font-size: 22px;
		line-height: 40px;
	}
}

/* XL Desktop & up */
@media only screen and (min-width: 90.063em) {
	.journey-page .sidebar h1.title {
		padding-top: 60px;
		font-size: 90px;
		line-height: 90px;
	}

	.journey-page .sidebar { margin-left: 125px; }
	.journey-page .sidebar .sidebar-background { width: 470px; }

	.journey-page .sidebar p.description {
		font-size: 20px;
		line-height: 30px;
	}

	.journey-page .sidebar.map h1.title {
		font-size: 65px;
		line-height: 65px;
	}

	.journey-page .delaware-logo { width: 470px; }
}

/* XXL Desktop & up */
@media only screen and (min-width: 120.063em) {
	.journey-page .sidebar h1.title {
		padding-top: 75px;
		font-size: 140px;
		line-height: 140px;
	}

	.journey-page .sidebar {
		margin-left: 200px;
	}

	.journey-page .sidebar.map h1.title {
		font-size: 100px;
		line-height: 100px;
	}
}


/* Page content container */
.journey-page .journey-container,
.journey-page .journey-container > div.contentRender {
	height: 100%;
}
.journey-page .journey-container .journey-share,
.journey-page .journey-container .journey-share > div.contentRender {
	height: auto;
}

.journey-page .journey-wrapper {
	height: 100%;
}

.journey-page .journey-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	transition: opacity 0.5s ease;
}
	.journey-page .journey-content.not-started {
		opacity: 0;
		height: 0;
		pointer-events: none;
	}

	.journey-page .contentRender_name_plugins_nav_custom_journey_sidebar_map .journey-content {
		height: auto;
	}

.journey-page .nosidebar .journey-content {
	position: initial;
	height: initial;
	width: 100%;
}

/* Tablet & up */
@media only screen and (min-width: 40.063em) {
}

/* Desktop & up */
@media only screen and (min-width: 64.063em) {
	.journey-page .journey-wrapper {
		display: flex;
		flex-direction: row;
	}

	.journey-page .journey-wrapper.nosidebar {
		flex-direction: row-reverse;
	}

	.journey-page .journey-content {
		height: 100%;
		width: 100%;
		overflow: hidden;
		transition: opacity 0.5s ease;
	}

	.journey-page .contentRender_name_plugins_nav_custom_journey_sidebar_map .journey-content {
		height: 100vh;
		align-items: center;
	}
}

/* IE Hack */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 64.063em) {
	.journey-page .nosidebar .journey-content { top: 100px; }
}

/* instruction overlay (Startpage) */
.instruction-popup {
	opacity: 0;
	position: fixed;
	pointer-events: none;
}
	.instruction-popup.show-mobile-instructions {
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		background-color: #000;
		z-index: 100000;
		cursor: pointer;
		text-align: center;
		opacity: 1;
		pointer-events: all;
	}
	.instruction-popup.show-mobile-instructions video { display: none; }


/* Themes */
.journey-page.dark .page-actions .page-action::before {
	background-color: rgba(0, 0, 0, 0.4);
}
.journey-page.dark .page-actions .page-action:hover::before {
	background-color: rgba(0, 0, 0, 0.7);
}
.journey-page.dark .sidebar {
	background-color: rgba(0, 0, 0, 0.2);
}
@keyframes expand-dark {
	0%   { transform: scale(1); background-color: rgba(0, 0, 0, 0.4); }
	50%  { transform: scale(1.15); background-color: rgba(0, 0, 0, 0.8); }
	100% { transform: scale(1); background-color: rgba(0, 0, 0, 0.4); }
}
.journey-page.dark.has-saved-videos.has-two-videos .page-actions .page-action.play-video:not(:hover)::before {
	animation: expand-dark 2s infinite;
	box-shadow: 0 0 15px rgba(0,0,0,0.4);
}
