* {
	margin: 0;
	padding: 0;
	outline: none;
	box-sizing: border-box;
}
html, body { 
	overflow: hidden; 
}
html {
	color: #fff;
	font-size: 18px;
	line-height: 1.2;
	font-family: 'Typewriter';
	height: -webkit-fill-available;
	-webkit-text-size-adjust: 100%;
}
body {
	background-color: #fdfdfd;
	position: relative;
	height: 100vh;
	height: -webkit-fill-available;
	display: flex;
	flex-direction: column;
}
h1 {
	font-size: 2rem;
	margin-bottom: 1rem;
}
img {
	max-width: 100%;
}
.d-inline-block, .inline-block {
	display: inline-block;
	
}
.d-block, .block {
	display: block;
}
.flex, .d-flex {
	display: flex;
}
.flex-column {
	flex-direction: column;
}
.flex-row {
	flex-direction: row;
}
.flex-no-shrink {
	flex-shrink: 0;
}
.align-items-center {
	align-items: center;
}
.justify-space-between {
	justify-content: space-between;
}
.justify-center {
	justify-content: center;
}
.text-align-center {
	text-align: center;
}
.text-transform-uppercase {
	text-transform: uppercase;
}
.center {
	max-width: 1024px;
	padding: 0px 20px;
	position: relative;
	margin: 0 auto;
}
p, img.d-inline-block, .inputcntnr, .message {
	margin-bottom: 1.5rem;
}
.clearfix::after, .clear-fix::after {
	content: "";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.fullscreenbg {
	position: absolute;
	z-index: 1;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	overflow: hidden;
}
.fullscreenbg video, .fullscreenbg img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

header, main, footer {
	position: relative;
	z-index: 2;
}
header {
	font-size: 1.11rem;
}
header > div.center {
	background-color: rgba(21, 26, 31, 0.9);
	border-radius: 0px 0px 20px 20px;
	box-shadow: 0px 5px 3px -2px rgba(0, 0, 0, 0.7);
	padding-top: 8px;
	padding-bottom: 30px;
}
header ul {
	list-style-type: none;
}
header ul li {
	float: left;
	margin-right: 10px;
	opacity: 0.6;
}
header ul li a {
	color: #fff;
	text-decoration: none;
}
header ul li a:hover {
	text-decoration: underline;
}
header ul li.current {
	opacity: 1;
}
header .sublogo {
	position: absolute;
	right: -5px;
	bottom: -70px;
}
header .elapsedtime {
	font-weight: bold;
}
header .elapsedtime .time {
	font-size: 1.5em;
	color: #ffc22f;
}
header .elapsedtime .penalty {
	font-size: 0.66em;
	text-align: right;
	margin-top: -4px;
	color: red;
}
header .teamname {
	color: #ffc22f;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
header .infobutton {
	position: absolute;
	color: white;
	text-decoration: none;
	display: block;
	width: 30px;
	height: 30px;
	border-radius: 15px;
	border: 2px white solid;
	text-align: center;
	line-height: 27px;
	font-size: 17px;
	right: 20px;
}

main {
	flex: 1;
	overflow-y: auto;
	text-shadow: 1px 1px #000;
	scrollbar-width: thin;
	position: relative;
	width: 100%;
}
#main::-webkit-scrollbar, main .hintpopup::-webkit-scrollbar {
	width: 5px;
	height: 8px;
	background-color: #f0f0f0;
}
#main::-webkit-scrollbar-thumb, main .hintpopup::-webkit-scrollbar-thumb {
	background: #cdcdcd;
}
main.center {
	margin-top: 30px;
	margin-bottom: 30px;
	line-height: 1.3;
}
main p:last-child { 
	margin-bottom: 0px;
}
main .hintpopup {
	position: absolute;
	background-color: rgba(21, 26, 31, 0.9);
	width: 100%;
	height: 100%;
	border: 1px solid #fff;
	border-radius: 10px;
	top: 0px;
	left: 0px;
	overflow-y: auto;
	padding: 20px;
	scrollbar-width: thin;
}
main .hintpopup h2 {
	font-weight: bold;
	font-size: 1.3rem;
	color: #ffc22f;
	margin-bottom: 1rem;
}
main .hintpopup .hintclose {
	display: block;
	width: 32px;
	height: 32px;
	background: transparent url('../img/icon_close.png') 0 0 no-repeat;
	position: absolute;
	top: 10px;
	right: 10px;
}
main .hintpopup .hintclose:hover {
	opacity: 0.8;
}

footer .toolbar {
	background-color: rgba(21, 26, 31, 0.9);
	height: 50px;
}
footer .toolbar .center {
	height: 100%;
	display: flex;
	align-items: center;
}
footer .toolbar .button {
	cursor: pointer;
	opacity: 0.8;
	display: inline-block;
	color: #fff;
	text-decoration: none;
}
footer .toolbar .button.disabled, .answer button.disabled {
	cursor: default;
	pointer-events: none;
	opacity: 0.5;
}
footer .toolbar .button:hover {
	opacity: 1;
}
footer .toolbar .previous, footer .toolbar .next {
	background: transparent url('../img/icon_arrow_left.png') 0 center no-repeat;
	padding-left: 25px;
	height: 20px;
	line-height: 20px;
}
footer .toolbar .next {
	padding-left: 0px;
	padding-right: 25px;
	background-image: url('../img/icon_arrow_right.png'); 
	background-position: right center;
}
footer .toolbar .hint {
	width: 28px;
	height: 28px;
	background: transparent url('../img/icon_hint.png') 0 0 no-repeat;
}
footer .toolbar .hint.skip {
	background: transparent url('../img/icon_skip.png') 0 0 no-repeat;
	margin-left: 10px;
}
footer .toolbar .hint.location {
	background: transparent url('../img/icon_location.png') 0 0 no-repeat;
	margin-left: 10px;
}
footer .toolbar .hint:hover {
	background-position: 0 -28px;
}
footer .toolbar .hintcntnr {
	flex: 1;
	text-align: center;
}
footer .toolbar .copyright {
	
	font-size: 0.8rem;
}
footer .answer {
	margin-bottom: 20px;
	justify-content: center;
	width: 300px;
}
.answer input[type=text] {
	background: #fff;
	display: inline-block;
	border-radius: 10px 0px 0px 10px;
	height: 40px;
	line-height: 40px;
	padding: 0px 15px;
	border: 5px #fff solid;
	font-family: 'Typewriter';
	font-size: 1rem;
	-webkit-appearance: none;
}
.answer input[type=text].errorfield {
	border-color: #f00;
}
.answer input[type=text].correct {
	border-color: #00de00;
}
.answer button {
	background: #ffc22f;
	cursor: pointer;
	font-family: 'Typewriter';
	color: #fff;
	text-align: center;
	border-radius: 0px 10px 10px 0px;
	border: none;
	padding-left: 20px;
	padding-right: 20px;
	height: 40px;
	line-height: 40px;
	font-size: 1rem;
	text-transform: uppercase;
	font-weight: bold;
}
.answer button:hover {
	background: #ff4e00;
}
.answer button.rounded {
	border-radius: 10px
}
.answer button + button {
	margin-left: 25px;
}

.message { 
	padding: 10px 20px;
	background-color: #00de00;
	display: inline-block;
	border-radius: 10px;
	margin-bottom: 10px;
	font-weight: bold;
}
.message.error {
	background-color: #f00;
}

.hastooltip {
	position: relative;
}

.hastooltip:hover:after {
	background: #ff8400;
	text-transform: lowercase;
	color: #fff;
	font-size: 0.8rem;
	border-radius: 4px;
	bottom: 100%;
	content: attr(data-title);
	padding: 3px 10px 5px 10px;
	position: absolute;
	z-index: 98;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	line-height: normal;
	font-weight: normal;
}

.hastooltip:hover:before {
	border: solid;
	border-color: #ff8400 transparent;
	border-width: 6px 6px 0 6px;
	bottom: calc(100% - 5px);
	content: "";
	left: 50%;
	transform: translateX(-50%);
	position: absolute;
	z-index: 99;
}

p.qrcode {
	display: inline-block;
	background: white;
}

p.qrcode img {
	vertical-align: middle;
}

.mobilelanguages {
	margin-bottom: -25px;
	margin-top: 15px;
}
.mobilelanguages a {
	text-decoration: none;
}
.mobilelanguages a:first-child {
	margin-right: 10px;
}

.scrollindicator {
	position: absolute;
	/*top: calc(100vh - 180px);
	bottom: 30px;*/
	top: -33px;
	/*left: calc(50% - 8px);*/
	right: 16px;
	width: 0;
	height: 33px;
	border: 2px solid;
	border-radius: 2px;
	animation: dancingArrow 1.5s infinite;
	z-index: 3;
	display: none;
}

.scrollindicator:after {
	content: " ";
	position: absolute;
	top: 12px;
	left: -10px;
	width: 16px;
	height: 16px;
	border-bottom: 4px solid;
	border-right: 4px solid;
	border-radius: 4px;
	border-color: #fff;
	transform: rotateZ(45deg);
	z-index: 3;
}

@keyframes dancingArrow {
	0% {
	  margin-top: 0;
	}
	50% {
	  margin-top: 20px;
	}
	100% {
	  margin-top: 0;
	}
}

/* smartphones, touchscreens */
@media (hover: none) and (pointer: coarse) 
{
    .hastooltip:hover:before, .hastooltip:hover:after {
		display: none !important;
	}
}

@media screen and (max-width: 374px)
{
	footer .toolbar .hint.skip, footer .toolbar .hint.location {
		margin-left: 5px;
	}
}

@media screen and (min-width: 1025px)
{
	.scrollindicator {
		display: none !important;
	}
}

@media screen and (max-width: 1063px)
{
	header {
		margin-left: 20px;
		margin-right: 20px;
	}
	.center {
		padding: 0px 10px;
	}
	main.center {
		margin-left: 10px;
		margin-right: 10px;
	}
	main {
		width: auto;
	}
}

@font-face {
    font-family: 'Typewriter';
    src: url('../fonts/Typewriter.eot');
    src: url('../fonts/Typewriter.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Typewriter.woff2') format('woff2'),
        url('../fonts/Typewriter.woff') format('woff'),
        url('../fonts/Typewriter.ttf') format('truetype'),
        url('../fonts/Typewriter.svg#Typewriter') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Typewriter';
    src: url('../fonts/TypewriterBold.eot');
    src: url('../fonts/TypewriterBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/TypewriterBold.woff2') format('woff2'),
        url('../fonts/TypewriterBold.woff') format('woff'),
        url('../fonts/TypewriterBold.ttf') format('truetype'),
        url('../fonts/TypewriterBold.svg#TypewriterBold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
