html,
body {
	margin: 0;
	padding: 0;
	background: #191919;
	height: 100%;
	overflow: hidden;
}

* {
	box-sizing: border-box;
}

body {
	display: flex;
	flex-direction: column;
}

.wrap {
	display: flex;
	width: 100vw;
	flex-grow: 1;
	position: relative;
}

.dropzone {
	display: flex;
	flex-grow: 1;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.placeholder {
	width: 100%;
	max-width: 500px;
	border-radius: 0.5em;
	background: #252525;
	padding: 2em;
	text-align: center;
}

.placeholder p {
	font-size: 1.2rem;
	color: #999;
}

.viewer {
	width: 100%;
	height: 100%;
	flex-grow: 1;
	flex-shrink: 1;
	position: absolute;
	top: 0;
	z-index: 0;
}

.axes {
	width: 100px;
	height: 100px;
	margin: 20px;
	padding: 0px;
	position: absolute;
	left: 0px;
	bottom: 0px;
	z-index: 10;
	pointer-events: none;
}

.gui-wrap {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
}

.gui-wrap>.main {
	pointer-events: all;
	max-height: 100%;
	overflow: auto;
}

.gui-stats {
	pointer-events: none;
}

.dg li.gui-stats:not(.folder) {
	height: auto;
}

@media screen and (max-width: 700px) {
	header h1 {
		font-size: 1em;
	}

	.layout-md {
		display: none;
	}
}

/******************************************************************************
 * CSS Spinner
 *
 * http://tobiasahlin.com/spinkit/
 */

.spinner {
	width: 40px;
	height: 40px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -20px;

	background-color: #333;

	border-radius: 100%;
	-webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
	animation: sk-scaleout 1.0s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout {
	0% {
		-webkit-transform: scale(0)
	}

	100% {
		-webkit-transform: scale(1.0);
		opacity: 0;
	}
}

@keyframes sk-scaleout {
	0% {
		-webkit-transform: scale(0);
		transform: scale(0);
	}

	100% {
		-webkit-transform: scale(1.0);
		transform: scale(1.0);
		opacity: 0;
	}
}