/*header {
	text-align: center;
	padding: 1em 2em;
	user-select: none;
}

header img {
	width: 100%;
	min-width: 24em;
	max-width: 50em;
}
*/

nav {
	height: 100%;
	width: 100%;
}

nav,
nav ul {
	position: absolute;
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: stretch;
}

nav ul {
	list-style: none;
	height: 100%;
	align-content: center;
	padding: 2em;
}

nav ul li {
	width: 25%;
	height: 16.6%;
	margin:-1px 0 0 -1px;
}

nav ul a {
	height: 100%;
	overflow: hidden;
	padding: 0.8em;
	width: 100%;
	text-align: center;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.1em;
	font-weight: bold;
	user-select: none;
	color: var(--text-color);
	line-height: 1.4em;
	background: rgba(17, 28, 56, 0.75);
	border: 1px solid rgba(70, 113, 144, 0.7);
	box-shadow: 0 0 5px 5px rgba(70, 113, 144, 0.3);
	transition: box-shadow 0.2s ease-in-out;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	position: relative;
}

nav ul a.highlight:before{
	content:'\f005';
	position: absolute;
	top:.2em;
	left:.4em;
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
}

nav ul a.section:after{
	content:'\f00a';
	position: absolute;
	top:.2em;
	right:.4em;
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
}


nav ul li.back a{
	font-size: 6em;
}

nav ul li:last-child,
nav ul li.placeholder {
	border: 1px dashed rgba(70, 113, 144, 0.7);
	box-shadow: 0 0 5px 5px rgba(70, 113, 144, 0.2);
	transition: box-shadow 0.2s ease-in-out;
	opacity: .6;
}

nav ul li:last-child {
		width: calc(100% - 2px);
		opacity: 1;
		border-style:solid;
}

nav ul li:last-child:empty {
	background: rgba(17, 28, 56, 0.75) url("../img/hzd_white_claim.svg") no-repeat left center / auto 55%;
}

nav ul li:hover a {
	box-shadow: inset 0 0 5px 5px rgba(70, 113, 144, 0.3);
}

nav ul li a.selected,
.remoteControls {
	background: rgba(255, 255, 255, .5);
}

.remoteControls {
	height: 100%;
	width: 100%;
	overflow: hidden;
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: stretch;
	flex: 0 1 3.5em;
	padding: 0 3em 0 1em;
	border-radius: .12em;
}

.remoteControls button {
	background: none;
	height: 100%;
	padding: 2em;
	text-align: center;
	margin-right: 1em;
}

.remoteControls button.idle i {
	color: var(--text-color);
}

.remoteControls button i {
	font-size: 3rem;
	transition: background-color .2s ease-in-out;
	color: var(--highlight-color);
}

.progressBar {
	margin-left: 2em;
	flex: 1 1 auto;
	width: 100%;
	position: relative;
	height: 0;
}

progress {
	width: 100%;
	background-color: var(--background-color);
	position: absolute;
	left: 0;
	right: 0;
	top: -.6em;
	height: 1.2em;
	border-radius: 5em;
	overflow: hidden;
}

progress::-webkit-progress-bar {
	background-color: var(--background-color);
}

progress::-webkit-progress-bar,
progress::-moz-progress-bar {
	background-color: var(--highlight-color) !important;
}


progress[value]::-webkit-progress-value {
	background-color: var(--highlight-color)
}

input[type=range] {
	-webkit-appearance: none;
	width: calc(100% + 0.5em);
	position: absolute;
	left: 0;
	right: 0;
	top: -1.25rem;
	background: transparent;
}

@-moz-document url-prefix() {
	input[type=range] {
		top: -.6rem;
	}
}


input[type=range]:focus {
	outline: none;
}

input[type=range]::-moz-range-track {
	width: 100%;
	height: 2.5em;
	cursor: pointer;
	animate: 0.2s;
	background: transparent;
	border-radius: 0;
	border: 0;
}

input[type=range]::-webkit-slider-runnable-track {
	width: 100%;
	height: 2em;
	cursor: pointer;
	animate: 0.2s;
	background: transparent;
	border-radius: 0;
	border: 0;
}

input[type=range]::-webkit-slider-thumb {
	box-shadow: none;
	border: 0;
	height: 2.5rem;
	width: 2.5rem;
	border-radius: 50%;
	background: var(--highlight-color);
	cursor: pointer;
	-webkit-appearance: none;
	margin-left: -2px;
}

input[type=range]::-moz-range-thumb {
	box-shadow: none;
	border: 0;
	height: 2.5rem;
	width: 2.5rem;
	border-radius: 50%;
	background: var(--highlight-color);
	cursor: pointer;
	-webkit-appearance: none;
	margin-left: -2px;
}


input[type=range]:focus::-webkit-slider-runnable-track {
	background: transparent !important;
}

div.thumbs {
	width: 100%;
	white-space: nowrap;
	margin-left: 2em;
	height:100%;
}

.imageThumb{
	position: relative;
	height:100%;
	float: left;
	width: 5em;
}

.imageThumb:before {
	position: absolute;
	top:calc(50% - 1.25em);
	left:1.25em;
	content:' ';
	margin: 0;
	padding: 0;
	background-color: var(--text-color);
	width: 2.5em;
	height: 2.5em;
	border-radius: 50%;
	transition: background-color .2s ease-in-out;
}

.imageThumb.selected:before {
	background-color: var(--highlight-color);
}
