body {
	font-family: Arial, sans-serif;
	background-color: #000;
	margin: 0;
	padding: 2vh 0;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	height: 96vh;
	overflow: hidden;
}

/* Controls */

#controls {
	background-color: rgba(40, 43, 48, 1);
	padding: 10px;
	border-radius: 8px;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
	width: auto;
	height: auto;
	position: absolute;
	left: 0;
	top: 0;
	margin-left: 2vh;
	margin-top: 2vh;
	color: white;
}

table {
	margin-bottom: 10px;
	margin-right: 0;
	width: 100%;
}

#controls table {
	width: auto;
	margin: 0 auto 15px;
}
th,
td {
	vertical-align: middle;
	padding: 2px 5px;
	text-align: center;
}
th {
	text-transform: uppercase;
}

.ck-table-resized {
	width: 100%;
	border-collapse: collapse;
}

.ck-table-resized th,
tfoot td {
	vertical-align: bottom;
	color: #6e727b;
	font-size: 0.7em;
	padding: 5px;
}

.ck-table-resized tr {
	background: rgba(0, 0, 0, 0.1);
}

.ck-table-resized tbody tr:nth-child(1),
.ck-table-resized tbody tr:nth-child(2),
.ck-table-resized tbody tr:nth-child(5),
.ck-table-resized tbody tr:nth-child(6) {
	background: rgba(0, 0, 0, 0.3);
}
.ck-table-resized thead tr,
.ck-table-resized tr:nth-child(2),
.ck-table-resized tr:nth-child(4) {
	border-bottom: 1px solid #36393f;
}

button {
	background-color: #0056b3;
	color: white;
	border: none;
	border-radius: 4px;
	padding: 6px 12px;
	font-size: 18px;
	cursor: pointer;
	transition: background-color 0.3s;
	height: 42px;
	width: 42px;
}

button:hover,
button:active {
	background-color: #0370e4;
}

button#resetButton {
	text-transform: uppercase;
	font-size: 0.7em;
	padding: 6px 0px;
}

button.secondary {
	background-color: rgba(0, 0, 0, 0);
	border: 1px solid #0056b3;
}

button.secondary:hover,
button.secondary:active {
	background-color: #0370e4;
}

#controls td {
	font-size: 14px;
}

input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
}

.symbol {
	width: 15px;
	height: 15px;
	display: inline-block;
}

.symbol.magenta {
	color: #ff00ff;
}

.symbol.green {
	color: lime;
}

.symbol.blue {
	color: blue;
}

.symbol.yellow {
	color: yellow;
}

.symbol.cyan {
	color: cyan;
}

.symbol.red {
	color: red;
}

.symbol.orange {
	color: orange;
}

#controls h2 {
	font-size: 1em;
	margin-top: 0;
}

#controls table.cam-controls {
	margin-top: -36px;
}

#controls h3 {
	font-size: 0.9em;
	margin-top: 0;
	text-transform: uppercase;
	color: #6e727b;
}

#collapsible {
	cursor: pointer;
	text-align: center;
	padding: 0 25px;
}

#collapsible span::after {
	content: "+";
	display: block;
	position: absolute;
	right: 0px;
	top: 10px;
	width: 25px;
}

#collapsible.open span::after {
	content: "-";
}

#controls:not(.open) {
	height: 18px;
	overflow: hidden;
}

.left-right-buttons td:first-child {
	text-align: right;
}

.left-right-buttons td:last-child {
	text-align: left;
}

.switch {
	position: relative;
	display: inline-block;
	width: 40px;
	height: 20px;
}

.switch:only-child {
	margin: 2px 0;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #484c52;
	-webkit-transition: 0.4s;
	transition: 0.4s;
	border-radius: 34px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 12px;
	width: 12px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: 0.4s;
	transition: 0.4s;
	border-radius: 50%;
}

input:checked + .slider {
	background-color: #0370e4;
}

input:focus + .slider {
	box-shadow: 0 0 1px #0370e4;
}

input:checked + .slider:before {
	-webkit-transform: translateX(20px);
	-ms-transform: translateX(20px);
	transform: translateX(20px);
}

footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	background-color: rgba(40, 43, 48, 1);
	color: white;
	padding-left: 2vh;
}

footer a.img {
	display: block;
}

footer .img,
footer h1 {
	float: left;
}
footer .img img {
	height: 65px;
}
footer .img + .img img {
	height: 60px;
	padding: 2px;
	margin-right: 2vh;
}

footer h1 {
	opacity: 0.2;
	margin: 15px 0px 0px;
}
.clear {
	clear: both;
}
#debugToggle {
    position: absolute;
    right: 2vh;
    bottom: 20px;
    background-color: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: none;
    font-size: 0.8em;
    padding: 5px;
    cursor: pointer;
    transition: color 0.3s;
}

#debugToggle:hover {
    color: rgba(255, 255, 255, 0.8);
}