html, body {
	font-family: "Roboto", sans-serif;
	font-size: 62.5%;
	height: 100%;
	margin: 0;
	overflow: hidden;
}

/* Scale canvas with resize attribute to full size */
canvas[resize] {
	width: 100%;
	height: 100%;
}

#main-container, #mainCanvas {
	display: block;
	width: 100%;
	height: 100%;
	font-size: 1.2rem;
}

.grab-cursor {
	cursor: grab;
	cursor: -moz-grab;
	cursor: -webkit-grab;
}

#main-container {
	position: relative;
}

#sidebar {
	position: fixed;
	top: 50px;
	bottom: 75px;
	width: inherit;
	background-color: #363636;
	overflow: hidden;
	overflow-y: auto;
	margin: 5px;
	padding: 0px;
}

.accordion {
	list-style: none;
	padding: 0;
}

.accordion li {
	overflow: hidden;
	transition: height 0.4s ease;
}

.accordion .toggle.orange {
	background-color: #FF9800;
	width: 100%;
}

.accordion .arrow_backup {
	margin-left: 170px;
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid #3796e0;
}

.accordion .toggle {
	font-size: 1.6rem;
	color: #fefefe;
	width: 100%;
	height: 40px;
	padding: 0px;
}

.accordion .section {
	cursor: pointer;
	width: 100%;
	padding: 0px;
	background-color: #3796e0;
	display: table;
}

.accordion .tableCell {
	display: table-cell;
	vertical-align: middle;
}

.accordion .arrow {
	margin-left: 5px;
	margin-right: 0px;
	height: 12px;
}

.accordion .compLabel {
	font-size: 1.4rem;
	font-weight: bold;
	color: #fefefe;
	width: 100%;
	padding-top: 6px;
	padding-bottom: 6px;
	padding-left: 0px;
	text-align: center;
	display: table-cell;
	transition: background 0.3s ease;
	text-wrap: none;
	cursor: default;
}

.accordion .orange {
	font-size: 1.4rem;
	font-weight: bold;
	color: #333;
	width: 100%;
	background-color: #ffbf00;
	padding: 6px 2px;
	text-align: center;
	transition: background 0.3s ease;
	text-wrap: none;
}

.accordion .arrow.orange {
	border-top: 10px solid #FF9800;
}

.accordion .components {
	padding: 4px 0px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

div.component-button {
	text-align: center;
	cursor: pointer;
	background-color: #6D737D;
	border-radius: 7px;
	border: 0px solid #085461;
	width: 60px;
	height: 60px;
	margin: 6px;
}

div.component-button-blank {
	text-align: center;
	background-color: #6D737D;
	border-radius: 7px;
	border: 0px solid #085461;
	width: 60px;
	height: 60px;
	margin: 6px;
	opacity: 0;
}

div.component-button img {
	width: 60px;
	height: 60px;
	margin: 0px;
	opacity: 1;
}

div.component-button:hover {
	background-color: #585D65;
	border-color: #37bbe0;
}

div.component-button.active {
	background-color: #4E535B;
	border-color: rgba(255, 255, 255, 0.8);
}

div.component-button:hover img, div.component-button.active img {
	opacity: 1;
}

div.component-label {
	font-size: 1.4rem;
	text-decoration: none;
	width: 100%;
	display: block;
	color: #fefefe;
	padding-top: 0px;
	padding-bottom: 0px;
	text-align: center;
	cursor: default;
}

.accordion .property-editor {
	padding: 10px 5px;
}

.input-group {
	display: flex;
}

.input-group > input:not(:last-child) {
	border-radius: 5px 0 0 5px;
}

.input-group-append, input {
	font-size: 1.4rem;
	font-weight: bold;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	border: 2px solid #AAA;
	border-radius: 5px;
	padding: 6px;
	outline: 0;
	margin: 3px 0 8px 0;
	width: 100%;
}

.input-group-append {
	width: auto;
	background-color: #EEE;
	margin-left: -2px;
	border-left: none;
	border-radius: 0 5px 5px 0;
	padding: 6px 10px;
	display: flex;
	float: right;
}

label {
	display: block;
	color: #F5F5F5;
	font-size: 1.4rem;
	font-weight: bold;
	margin-left: 2px;
}

.button {
	background: #ccc;
	border-top: solid 1px #eaeaea;
	border-left: solid 1px #eaeaea;
	border-bottom: solid 1px #777;
	border-right: solid 1px #777;
	padding: 0px 0px;
	display: inline;
	width: 80px;
	height: 30px;
	bottom: 0px;
	margin: 0px;
	text-align: center;
	cursor: pointer;
	color: black;
	border-radius: 3px;
}

.button:active {
	background: #bbb;
	border-top: solid 1px #777;
	border-left: solid 1px #777;
	border-bottom: solid 1px #eaeaea;
	border-right: solid 1px #eaeaea;
}

#toolbar {
	height: 50px;
	background-color: #3F3F3F;
	float: left;
}

.toggleButton {
	background: #ccc;
	cursor: pointer;
	border-top: solid 2px #eaeaea;
	border-left: solid 2px #eaeaea;
	border-bottom: solid 2px #777;
	border-right: solid 2px #777;
	padding: 0px 0px;
	width: 48px;
}

.toggleButtonDown {
	background: #bbb;
	border-top: solid 2px #777;
	border-left: solid 2px #777;
	border-bottom: solid 2px #eaeaea;
	border-right: solid 2px #eaeaea;
	width: 48px;
}

.topButton.circle {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #FFA62F;
}

#consolePanel {
	position: absolute;
	display: inline-block;
	top: 0px;
	left: 273px;
	width: 300px;
	height: 100%;
	background-color: #2e3134;
	vertical-align: bottom;
	margin-left: 2px;
	margin-right: 2px;
	padding-left: 2px;
	padding-right: 2px;
}

.textPanel {
	height: 46%;
	width: 98%;
	background-color: #ddd;
	font-size: medium;
}

.digital {
	white-space: nowrap;
	font-size: 3.1rem;
	font-family: "DigitalClock";
	position: absolute;
}

.connType {
	position: absolute;
	border-radius: 50%;
	width: 22px;
	height: 22px;
	bottom: 26px;
	cursor: pointer;
}

.connType.hovered {
	border: 4px solid #ff4c15;
	background-color: #ff4c15;
	opacity: 0.6;
}

.connType.selected {
	border: 4px solid #ff9f15;
	background-color: #ff9f15;
	opacity: 0.6;
}

.connType.white.hovered {
	border: 4px solid white;
	background-color: #ff4c15;
	opacity: 0.6;
}

.connType.white.selected {
	border: 4px solid white;
	background-color: #ff9f15;
	opacity: 0.6;
}

#topbar {
	width: 100%;
	height: 45px;
	padding: 0px;
	padding-top: 2px;
	margin: 0px;
	margin-left: 0px;
	z-index: 1111;
	background-color: black;
}

.topButton {
	cursor: pointer;
	padding: 0px 0px;
	height: 42px;
	margin-top: 2px;
	margin-bottom: 1px;
	margin-left: 1px;
	margin-right: 1px;
}

.zoomButton {
	cursor: pointer;
	padding: 0px 0px;
	height: 42px;
	margin-top: 2px;
	margin-bottom: 1px;
	margin-left: 1px;
	margin-right: 1px;
}

.zoomButton:active {
	margin-top: 3px;
	margin-bottom: 0px;
	margin-left: 2px;
	margin-right: 0px;
}

.topLog {
	padding: 0px 0px;
	height: 42px;
	margin-top: 1px;
	margin-bottom: 0px;
	margin-left: 5px;
	margin-right: 0px;
	float: left;
}

.meterLabel {
	font-size: 1.6rem;
	font-weight: bold;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	padding: 0px;
}

.meterButton {
	cursor: pointer;
	padding: 0px;
	margin: 0px;
	height: 32px;
}

.meterButton:active {
	background: #bbb;
	border-top: solid 2px #777;
	border-left: solid 2px #777;
	border-bottom: solid 2px #eaeaea;
	border-right: solid 2px #eaeaea;
	border-top-color: transparent;
	border-left-color: transparent;
	border-bottom-color: transparent;
	border-right-color: transparent;
	border-radius: 20%;
}

.meterButton.state {
	position: absolute;
	bottom: 21px;
	right: -2px;
	z-index: 1005;
}

.meterButton.scope {
	position: absolute;
	bottom: 4.5px;
	right: 4px;
	z-index: 1005;
}

.meterPlug {
	display: none;
	padding: 0px;
	margin: 0px;
	position: absolute;
	z-index: 3000;
	width: 12px;
	cursor: pointer;
}

.meterPlug.black {
	bottom: 3px;
	height: 46px;
}

.meterPlug.red {
	bottom: 9px;
	height: 40px;
}

.meterPlug.hovered {
	opacity: 0.8;
	-webkit-filter: sepia(0);
	filter: sepia(0);
}

.scopePen {
	padding: 0px;
	margin: 0px;
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 100;
	display: none;
	width: 24px;
	height: 161.24px;
}

.alligator {
	padding: 0px;
	margin: 0px;
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 100;
	display: none;
	width: 15px;
	height: 70px;
	opacity: 0.8;
}

.alligator:hover {
	opacity: 0.8;
}

.alligator.selected {
	opacity: 1;
	border: solid 2px orange;
}

.scopePlug {
	padding: 0px;
	margin: 0px;
	position: absolute;
	z-index: 3000;
	width: 32px;
	height: 80px;
	cursor: pointer;
}

#scopePanelMax {
	position: absolute;
	bottom: 68px;
	right: 2px;
	height: 451px;
	display: none;
}

.channelSpot {
	position: absolute;
	width: 30px;
	height: 30px;
	z-index: 1200;
	opacity: 1;
	cursor: pointer;
}

.meterWheel {
	position: absolute;
	bottom: 149px;
	right: 45.5px;
	cursor: pointer;
	z-index: 1002;
}

.meterSign {
	position: absolute;
	width: 18px;
	height: 18px;
	z-index: 1006;
	display: none;
}

.dropdown-content {
	color: #CCC;
	font-size: 1.5rem;
	font-weight: bold;
	display: none;
	position: absolute;
	right: 2px;
	top: 56px;
	min-width: 160px;
	z-index: 6100;
	text-align: right;
	overflow: auto;
	background-color: #DDD;
}

.dropdown-item {
	cursor: pointer;
	height: 44px;
	background-color: black;
	margin: 6px;
}

.dropdown-item.disabled {
	color: #888;
	cursor: default;
}

.dropdown-label {
	height: 100%;
	display: inline-block;
	margin: 2px 0px 0px 0px;
	padding: 10px;
	vertical-align: middle;
}

.dropdown-icon {
	height: 32px;
	margin: 6px;
	display: inline-block;
	float: right;
}

.noselect {
	-webkit-touch-callout: none;
	/* iOS Safari */
	-webkit-user-select: none;
	/* Safari */
	-khtml-user-select: none;
	/* Konqueror HTML */
	-moz-user-select: none;
	/* Firefox */
	-ms-user-select: none;
	/* Internet Explorer/Edge */
	user-select: none;
	/* Non-prefixed version, currently
		supported by Chrome and Opera */
}

.penDiv {
	padding: 0px;
	margin: 0px;
	width: 1px;
	height: 1px;
	position: absolute;
	bottom: 0px;
	top: 0px;
}

.yellowButton {
	position: relative;
	border-radius: 7.6px;
	width: 29.5px;
	height: 15px;
	bottom: 270px;
	left: 22.5px;
	border: 2px solid #333;
	opacity: 0.01;
	cursor: pointer;
}

.yellowButton:hover {
	border: 2px solid #280;
	opacity: 1;
}

.yellowButton:active {
	border: 2px solid #200;
	opacity: 0.9;
}

.wheelSign {
	position: absolute;
	width: 30px;
	height: 30px;
	z-index: 1100;
	opacity: 0.01;
	cursor: pointer;
}

.wheelSign:hover {
	width: 30px;
	height: 30px;
	opacity: 1.0;
}

.scopeZoomButton {
	cursor: pointer;
	padding: 0px;
	margin: 6px;
	height: 36px;
	display: block;
	position: absolute;
	z-index: 3010;
}

.settingSpot {
	display: block;
	position: absolute;
	width: 14.5px;
	height: 14.5px;
	z-index: 4010;
}

.settingSpot:active {
	border: 2px solid darkred;
}

.settingSquare {
	display: block;
	position: absolute;
	width: 14.5px;
	height: 14.5px;
	z-index: 4010;
}

.settingSquare:hover {
	border: 2px solid orange;
}

.settingSquare:active {
	border: 2px solid darkred;
}

.settingBar {
	display: block;
	position: absolute;
	width: 63.9px;
	height: 5.6px;
	z-index: 4000;
}

.settingCircle {
	display: block;
	position: absolute;
	width: 16.8px;
	height: 16.8px;
	z-index: 4010;
}

.settingLabel {
	display: block;
	position: absolute;
	bottom: 168px;
	right: 23px;
	width: 172px;
	text-align: center;
	font-size: 9px;
	color: #EEE
}

.settingLabel:hover {
	cursor: pointer;
	color: orange;
}

.flashLed {
	display: block;
	position: absolute;
	width: 9px;
	height: 9px;
	z-index: 4010;
}

.switchOff {
	border-radius: 50%;
	border-radius: 17px;
	position: relative;
	display: inline-block;
	width: 160px;
	height: 34px;
	background-color: #ccc;
	transition: .4s;
}

.switchOn {
	border-radius: 50%;
	border-radius: 17px;
	position: relative;
	display: inline-block;
	width: 160px;
	height: 34px;
	background-color: #2196F3;
	transition: .4s;
}

.sliderOff {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 130px;
	bottom: 4px;
	background-color: white;
	transition: .4s;

	border-radius: 26px;
	border-radius: 50%;

	transform: translateX(-126px);
	transition: .4s;
}

.sliderOn {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: .4s;

	border-radius: 26px;
	border-radius: 50%;

	transform: translateX(126px);
	transition: .4s;
}

.listLabel {
	font-size: 1.5rem;
	font-weight: bold;
	height: 22.5px;
}

