body {
	margin: 0;
	font-size: 18px;
	background-color: steelblue;
	font-family: Helvetica, "D2Coding";
}
div.tabs {
	text-align: center;
	background-color: black;
}
div.tabs input, div.tabs input:hover {
	width: 33.3%;
	margin: 1px 0 0;
	color: white;
	border: solid 1px black;
	border-bottom: none;
	border-radius: 20px 20px 0 0;
	background-color: dimgray;
}
div.tabs input.active {
	background-color: steelblue;
}
form {
	top: 0;
	left: 0;
	padding: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	display: flex;
	position: fixed;
	text-align: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.5);
}
form table {
	margin: auto;
	border: solid 1px black;
	border-spacing: 0;
	border-radius: 18px;
	background-color: lightsteelblue;
}
form th {
	color: white;
	height: 32px;
	border-radius: 17px 17px 0 0;
	background-color: steelblue;
}
form td {
	padding: 0;
	overflow: hidden;
}
form td div.dial {
	top: 15px;
	color: white;
	position: relative;
	line-height: 0;
	font-size: 20px;
}
form td div span {
	display: inline-block;
	position: relative;
	font-size: 20px;
	width: 26px;
	color: gray;
	background-color: white;
}
table.active, table.inactive {
	margin: 10px auto;
	padding: 4px;
	padding-bottom: 0;
	border: solid 1px black;
	border-radius: 20px;
	background-color: lightsteelblue;
	text-align: center;
}
table td {
	height: 30px;
    vertical-align: top;
}
table.inactive, table.inactive input {
	color: gray;
	display: none;
}
span.active, span.inactive {
	display: inline-block;
	width: 28px;
	margin: 2px;
	color: gray;
	font-size: 20px;
	background-color: white;
	border-radius: 20px;
}
span.active {
	color: black;
	background-color: greenyellow;
}
input {
	border: none;
	width: 110px;
	font: inherit;
	text-align: inherit;
	background-color: inherit;
	-webkit-tap-highlight-color: transparent;
}
input[type=button] {
	background-color: lightgray;
}
input[type=button] {
	height: 36px;
	margin: 2px;
	border: solid 1px steelblue;
	border-radius: 20px;
	cursor: pointer;
}
input[type=checkbox] {
	height: 36px;
	margin: 2px;
	border: solid 1px steelblue;
	border-radius: 18px;
	background-color: lightgray;
	cursor: pointer;
	overflow: hidden;
	position: relative;
	appearance: none;
}
input[type=checkbox]:before {
	position: absolute;
	content: "On Off";
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	background: lightsteelblue;
	border: solid 4px steelblue;
	border-radius: 16px;
	text-indent: -48px;
	word-spacing: 67px;
	white-space: nowrap;
	transition: all 0.2s;
}
input[type=checkbox]:checked {
	background-color: greenyellow;
}
input[type=checkbox]:checked:before {
	background-color: springgreen;
	left: 77px;
}
