* {
	box-sizing: border-box;
}
html, body {
	min-width: 100%;
	min-height: 100%;
	min-width: 100vw;
	min-height: 100vh;
	width: 100%;
	height: 100%;
	width: 100vw;
	height: 100vh;
	padding: 0;
	margin: 0;
	overflow: hidden;
}
body {
	background-color: rgba(35, 31, 32, 0.94);
	/*background-color: rgb(22, 26, 27);*/
	font-family: 'Open Sans', Tahoma, sans-serif;
	font-weight: 100;
	font-size: 16px;
}
@media all and (max-width: 1024px) {
	body {
		font-size: 2vw;
	}
}

body.no-javascript .loadingAnimation {
	display: none;
}
.enableJavascript {
	font-size: 1.25rem;
}

.initialLoadingWrapper {
	transition: opacity 2s ease;

	position: fixed;
	top: 20vh;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 10;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	align-content: center;
	width: 100vw;
	color: #fff;
	font-size: 2em;

	pointer-events: none;

	opacity: 1;
}
.initialLoadingWrapper > * {
	pointer-events: auto;
}
.initialLoadingWrapper a {
	color: inherit;
	opacity: 0.75;
	font-style: italic;
}
.initialLoadingWrapper.hidden {
	opacity: 0;
	pointer-events: none;
	z-index: -100;
}
.initialLoadingWrapper:not(.showErrorMessage) .errorBox,
.initialLoadingWrapper.showErrorMessage .initialLoadingBox {
	display: none;
}
.initialLoadingWrapper .initialLoadingBox {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: safe center;
	align-content: safe center;
	padding: 40px;

	opacity: 1;
	min-width: 480px;
	width: 480px;
	max-width: 90vw;
	/*background-color: rgba(41, 49, 51, 0.95);*/
	background-color: rgba(0, 0, 0, 0.25);
	/*height: 400px;*/
	min-height: 200px;
	max-height: 90vh;
}
.initialLoadingWrapper .errorBox {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: safe center;
	align-content: safe center;
	padding: 40px 80px;
	max-width: 100%;
	/*background-color: rgba(41, 49, 51, 0.95);*/
	background-color: rgba(0, 0, 0, 0.25);
}
.initialLoadingWrapper .progressLabel {
	margin: 40px 0 10px 0;
}
.initialLoadingWrapper .progressDetail {
	font-size: 0.35em;
	margin-top: 5px;
	/*align-self: flex-start;*/
}
.initialLoadingWrapper .progressDetail:empty {
	display: none;
}
.initialLoadingWrapper .progressBar {
	transition: opacity 0.5s ease;

	position: relative;
	width: 200px;
	min-width: 10vw;
	height: 24px;
	background-color: rgba(0, 0, 0, 0.3);

	opacity: 1;
}
.initialLoadingWrapper .progressBar.hidden {
	opacity: 0;
}
.initialLoadingWrapper .progressBar .innerBar {
	/*transition: width 0.2s ease;*/

	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 0%;
	background-color: rgb(148, 193, 30);
}
.initialLoadingWrapper .progressBar .progressWrapper {
	z-index: 1;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
}
.initialLoadingWrapper .progressBar .progressText {
	color: #fff;
	font-weight: 100;
	font-size: 0.5em;
}
.initialLoadingWrapper .planData {
	width: 100%;
	margin: 30px 10px 10px;
	background-color: rgba(0, 0, 0, 0.4);
	padding: 10px;
	font-size: 0.35em;
	line-height: 1em;
	word-break: break-all;
	max-height: 200px;
	overflow-x: hidden;
	overflow-y: auto;
}
.no-javascript .htmlPanels,
.no-javascript .initialLoadingWrapper .progressBar,
.no-javascript .initialLoadingWrapper .initialLoading {
	display: none;
}
.no-javascript .initialLoadingWrapper .progressLabel {
	margin: 40px 0;
}

#viewerBox {
	transition: opacity 1.6s ease-in-out;
	opacity: 0;
}
#viewerBox.active {
	opacity: 1;
}
#viewerBox, #viewerBox > canvas {
	z-index: 5;
	background-color: transparent;
	width: 100%;
	height: 100%;
	width: 100vw;
	height: 100vh;
	outline: none;
}

.dynamicFeedBack {
	display: none;
}
.dynamicFeedBack:not(:empty) {
	display: flex;
	flex-flow: row wrap;
	margin: 20px 40px;
}

.htmlPanels {
	/*transition: opacity 5s ease-in-out;*/
	pointer-events: none;
	opacity: 0;
	z-index: 10;
	position: absolute;
	top: 0;
	left: 0;
}
.htmlPanels.visible {
	opacity: 1;
}
.htmlPanels > * {
	z-index: 90;
}
.htmlPanels .logoWrapper-topLeft {
	position: absolute;
	top: 0;
	left: 0;
	width: 41.6667vmin; /* vorher: 202px; */
	height: 8.33333vh; /*76px;*/ /* vorher: 100px */
	/*background-color: rgb(46, 46, 46);*/
}
.htmlPanels .logo-topLeft {
	transition: opacity 2s ease-in-out;
	opacity: 0;

	position: absolute;
	top: 1.3889vh;
	bottom: 1.5741vh;
	left: 1.3889vh;
	right: 0;

	background-size: contain;
	background-position: left center;
	background-repeat: no-repeat;
}
.htmlPanels .logo-topLeft.show {
	opacity: 1;
}
.htmlPanels .logo-topLeft.force-hide {
	display: none;
}
.htmlPanels .productName {
	transition: opacity 1s ease-in-out;
	opacity: 0;

	pointer-events: auto;

	position: absolute;
	bottom: 3px;
	left: 6px;
	height: 34px;
	width: 150px;

	background-image: url('/img/viewer.png');
	background-size: contain;
	background-position: left center;
	background-repeat: no-repeat;
}
.htmlPanels .productName:not(.show) {
	pointer-events: none;
}
.htmlPanels .productName.show {
	opacity: 1;
}

.planTablesWrapper {
	width: 100%;
	max-width: 100%;
	min-height: 100vh;
	height: 100vh;
	max-height: 100vh;
	overflow: scroll;
}
.planTables {
	color: #eee;
	margin: 20px 40px 100px;
}
.planTables .planTableLabel {
	color: rgb(148, 193, 30);
}
.planTables .planTableLabel:not(:first-child) {
	margin-top: 40px;
}
.planTables .planTable {
	display: table;
	border: 1px solid rgba(255, 255, 255, 0.1);
	margin: 2px 0;
	font-size: 0.8em;
	line-height: 1.1em;
}
.planTables .planRow {
	display: table-row;
}
.planTables .planRow:first-child {
	color: #fff;
	/*letter-spacing: 1px;
	text-shadow: 1px 0 0 #fff;*/
	font-weight: bold;
}
.planTables .planCell {
	display: table-cell;
	padding: 4px 12px;
}
.planTables .planRow:first-child > .planCell {
	background-color: rgba(0, 0, 0, 0.15);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.planTables .planRow > .planCell:not(:first-child) {
	border-left: 1px solid rgba(255, 255, 255, 0.05);
}


.planTables .tableIDs {
	font-size: 0.8em;
	line-height: 1.1em;
	background-color: rgba(255, 255, 255, 0.03);
	padding: 4px 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}
.noViewerPlan {
	text-align: center;
}

canvas {
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}

@media all and (max-height: 800px) {
	.loadingAnimation {
		transform: scale(0.67, 0.67);
	}
	.initialLoadingWrapper {
		top: 0;
	}
	.initialLoadingWrapper .initialLoadingBox {
		justify-content: flex-start;
		padding: 10px;
		padding: 2vmin;
		background-color: transparent;
	}
	.initialLoadingWrapper .progressLabel {
		margin: 10px 0;
	}
	.initialLoadingWrapper .progressDetail {
		font-size: 0.5em;
	}
}



.buttonPage {
	position: relative;
	background-color: transparent;
}
.buttonPage .buttonWrapper {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;

	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	align-content: center;
}
.buttonPage .buttonElement {
	transition: background-color 0.3s ease-out, border-color 0.3s ease-out, box-shadow 0.3s ease-out, transform 0.3s ease-out;
	flex: 0 1 auto;
	max-width: 100%;

	padding: 20px 30px;

	font-family: sans-serif;
	font-size: 16px;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.9);

	border: 1px solid rgba(0, 0, 0, 0);
	border-color: rgba(0, 0, 0, 0);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0);
	transform: scale(0.95, 0.95);

	backface-visibility: hidden;
	will-change: transform;

	text-decoration: none;
	cursor: pointer;
}
.buttonPage .buttonElement:hover {
	background-color: rgba(0, 0, 0, 0.7);
	border-color: rgba(0, 0, 0, 0.4);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
	transform: scale(1.0, 1.0);
}


