@charset "utf-8";
/* ------------------------------------------------------------------------- */
/* Overarching page layout */
body {
	background-color: #f5f5f5;
	overflow-y: scroll;
	margin: 8px;
}
@media (max-width: 599px) {
	body {
		margin: 0;
	}
}
body > * {
	max-width: 640px;
	margin: 8px auto;
	background-color: white;
	padding: 10px;
}

#canvas-stacker {
	position: relative;
	background-color: black;
}
#canvas-stacker > * {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
#canvas {
	position: relative;
	margin: auto;
	display: block;
	border: 0px none;
	background-color: black;
	min-width: 640px;
	min-height: 480px;

	pointer-events: none;
	opacity: 0;
	transition: opacity linear 0.2s;
}

.canvas-notice {
	display: flex;
	flex-direction: column;
	pointer-events: none;
}
.canvas-notice > * {
	pointer-events: auto;
}
.canvas-notice > div {
	margin: auto 0;
	padding: 10px;
	background: rgba(0, 0, 0, 0.7);
	color: white;
	text-align: center;
}
.canvas-notice > img {
	margin: auto;
	max-width: 100%;
	max-height: 100%;
}

/* ------------------------------------------------------------------------- */
/* Global styles */
[hidden] {
	display: none !important;
}

details > summary {
	user-select: none;
}

details[open] > summary {
	margin-bottom: 10px;
}

p {
	margin: 10px 0;
}

/* ------------------------------------------------------------------------- */
/* Classes */
.flex-row {
	display: flex;
	flex-wrap: wrap;
}
.flex-row > * {
	margin-right: 8px;
}

/* ------------------------------------------------------------------------- */
/* Installer upload */

table.flat-table {
	width: 100%;
	border-spacing: 0;
}

table.flat-table td {
	padding: 0;
}

table.flat-table td:not(:last-child) {
	padding-right: 10px;
}

/* ------------------------------------------------------------------------- */
/* Spinner animation */
.spinner {
	display: inline-block;
	position: relative;
	width: 30px;
	top: 1px;
}
.loading-pulse {
	position: relative;
	width: 6px;
	height: 16px;
	left: 12px;
	background: rgb(51, 51, 51);
	animation: pulse 1500ms infinite;
	animation-delay: 250ms;
}
.loading-pulse:before, .loading-pulse:after {
	content: '';
	position: absolute;
	display: block;
	height: 16px;
	width: 6px;
	background: rgb(51, 51, 51);
	top: 50%;
	transform: translateY(-50%);
	animation: pulse 1500ms infinite;
}
.loading-pulse:before {
	left: -12px;
}
.loading-pulse:after {
	left: 12px;
	animation-delay: 500ms;
}
@keyframes pulse {
	50% {
		background: white;
	}
}
