body {
	margin: 0;
	font-family: sans-serif;
	background: #1e1e1e;
	color: #eee;
	display: flex;
	height: 100vh;
	overflow: hidden;
	user-select: none;
}
body, input, select {
	font-family: consolas;
}
#sidebar {
	width: 350px;
	background: #2a2a2a;
	padding: 8px;
	overflow-y: auto;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	border-left: 2px solid #464646;
}
#dropdownBtn {
	border: none;
	background: none;
	color: #fff;
	cursor: pointer;
	width: 20px;
	display: block;
	flex: 0 0 20px;
	font-size: 21px;
	padding: 0;
}
#sidebar.collapsed {
	width: 40px;
}
#sidebar.collapsed .content {
	display:none;
}
#toggleSidebar {
	background: #444;
	border: none;
	color: #eee;
	cursor: pointer;
	margin: -8px -8px 8px -8px;
	width: auto;
}
#graphContainer {
	flex: 1;
	position: relative;
}
canvas {
	position: absolute;
	top: 0; left: 0;
}

.nestedBoxA, .nestedBoxB {
	margin: -2px;
	border: 2px solid #464646;
	padding: 5px;
	background-color: #242424;
	border-radius: 3px;
}
.nestedBoxB {
	border-color: #3c3c3c;
	background-color: #2b2b2b;
}
.alignH input, .alignH select, .alignV input, .alignV select {
	flex: 1 1 auto;
}
.alignV > .center, .alignH > .center {
	margin: auto;
}
.alignH > * {
	display: inline-block;
	flex: 0 0 min-content;
	margin-left: 8px;
	margin-right: 8px;
	margin-top: auto;
	margin-bottom: auto;
	min-height: -moz-available;
	min-height: -webkit-fill-available;
	min-height: fill-available;
}
.alignV > * {
	display: inline-block;
	flex: 0 0 min-content;
	margin-top: 8px;
	margin-bottom: 8px;
	margin-left: auto;
	margin-right: auto;
	min-width: -moz-available;
	min-width: -webkit-fill-available;
	min-width: fill-available;
}
.alignH, .alignV {
	display: flex;
}
.alignH {
	padding-left: -8px;
	padding-right: -8px;
}
.alignV {
	padding-top: -8px;
	padding-bottom: -8px;
	flex-direction: column;
}

.section {
	margin-top: 18px;
}
label, select, input[type="text"], button {
	margin: 2px 0;
	width: 100%;
	text-wrap: nowrap;
}
input[type="color"] {
	width: 0;
	flex-basis: 0;
	padding: 3px;
	border-radius: 4px;
	border: 2px solid #8f8f9d;
	background-color: #242424;
}
.preset-controls {
	display: flex;
	gap: 4px;
}
hr.seperator {
	color: #464646;
	border: 1px solid;
	margin: 3px -10px;
}
.nestedBoxA hr.seperator {
	color: #464646;
	border: 1px solid;
	margin: 3px -6px;
}
#dropdownCnt {
	margin: -5px 0 0 0;
}
select.unused, button.unused, input.unused {
	background-color: #c4c1c1;
  color: #797979;
  border-color: #a4a4a4;
}
.unit {
	display: inline-block;
	width: 20px;
	flex: 0 0 20px;
}