body {
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 12px;
	background-color: #333333;
	color: #E3E3E3;
}
div.loginbox {
	position: absolute;
	width: 400px;
	height: 320px;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	background-color: #3B3B3B;
	border-radius: 20px;
}
div.loginbox img {
	max-height: 25%;
	position: absolute;
	right: -10%;
	top: -10%;
}
input, select {
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 12px;
	outline-style: none;
}
input[type="text"] {
	background-color: #272727;
	color: #E3E3E3;
	border-width: thin;
	border-style: solid;
	border-color: #272727;
	padding: 8px;
	transition: border-color 0.3s;
}
input[type="password"] {
	background-color: #272727;
	color: #E3E3E3;
	border-width: thin;
	border-style: solid;
	border-color: #272727;
	padding: 8px;
	transition: border-color 0.3s;
}
input[type="text"]:focus {
	border-color: #157DC0;
}
input[type="password"]:focus {
	border-color: #157DC0;
}
input[type="button"] {
	background-color: #157DC0;
	color: #E3E3E3;
	height: 30px;
	transition: background-color 0.3s;
	cursor: pointer;
	border: 0;
	margin: 8px;
	width: 80px;
}
input[type="button"]:hover {
	background-color: #2991D4;
}
input[type="submit"] {
	background-color: #157DC0;
	color: #E3E3E3;
	height: 36px;
	transition: background-color 0.3s;
	cursor: pointer;
	border: 0;
}
input[type="submit"]:disabled {
	color: #E3E3E344;
	cursor: default;
	pointer-events: none; /* Disable hover. */
}
input[type="submit"]:hover {
	background-color: #2991D4;
}
h1 {
	font-size: 16px;
	font-weight: normal;
	padding: 8px 16px;
}
p {
	padding: 8px 16px;
}
p.wide {
	padding: 8x 32px;	
}
div.baserow {
	padding: 8px;
}
.center {
	text-align: center;
}
.warning {
	color: #E51400;
}
.darker {
	color: #969696;
}
div.sidebox {
	position: absolute;
	right: 0;
	color: #969696;
	padding: 16px;
}
div.sidebox img {
	max-height: 50%;
	margin-right: 16px;
}
div.logininfo {
	position: absolute;
	width: 800px;
	height: 60px;
	top: 100px;
	left: 0;
	right: 0;	
	margin: auto;
	background-color: #3B3B3B;
	line-height: 60px;
	border-radius: 10px;
}
div#maintoppanel {
	position: absolute;
	top: 0;	
	left: 0;
	right: 0;
	height: 40px;
	background-color: #2E2E2E;
	display: flex;
}
div#maintoppanel > div {
	line-height: 40px;
}
div#maintoppanel img {
	height: 25px;
	margin: 0 8px;	
	cursor: pointer;
	align-self: center;
}
div.infomenubox {
	display: inline-block;
	width: 300px;
	text-align: right;
	margin-right: 16px;
	color: #969696;	
}
div.mainmenubox {
	display: inline-block;
	width: 150px;
	transition: background-color 0.3s;
	cursor: pointer;
	text-align: center;
}
div.mainmenubox:hover {
	background-color: #2991D4;
}
div.activemenubox {
	background-color: #157DC0;
}
div#mainlabel {
	text-align: center;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	flex-grow: 1;
	padding: 0 16px;
}
a {
	color: inherit;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
div#popupbackground {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 999;
}
div.popup {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 600px;
	height: 460px;
	margin: auto;
	background-color: #333333;
	border-radius: 20px;
	z-index: 1000;
}
div.popup img.header {
	height: 30px;
	vertical-align: middle;
	margin-right: 16px;
}
div.closelink {
	position: absolute;
	top: 16px;
	right: 16px;
	cursor: pointer;
}
div.closelink:hover {
	text-decoration: underline;
}
div.popup div#logo {
	position: absolute;
	display: flex;
	bottom: 16px;
	width: 180px;
	height: 120px;
	margin: auto;
	left: 0;
	right: 0;
	background-color: #2E2E2E;
	text-align: center;
	align-items: center;
	justify-content: center;
}
div#mainbottompanel {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 40px;
	background-color: #2E2E2E;
	display: flex;
}
div#mainbottompanel > div {
	line-height: 40px;
}
div#version {
	flex-shrink: 0;
	color: #969696;
	width: 300px;
}
div#version img {
	height: 50%;
	vertical-align: middle;
	margin: 0 16px;
}
div#status {
	flex-grow: 1;
	text-align: right;
}
div#divmainleft {
	position: absolute;
	top: 40px;
	left: 0;
	bottom: 40px;
	width: 300px;
	background-color: #2E2E2E;
}
div#divmainright {
	position: absolute;
	top: 40px;
	right: 0;
	bottom: 40px;
	width: 300px;
	padding: 16px;
	box-sizing: border-box;
}
div.menu {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow-y: auto;
}
div.menuitem {
	display: block;
	height: 30px;
	line-height: 30px;
	cursor: pointer;
	transition: background-color 0.3s;
	padding-right: 8px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
div.menuitem:hover {
	background-color: #2991D4;
}
div.menupadded {
	padding-left: 8px;
}
div.menudeeper {
	margin-left: 16px;
}
div.menusign {
	display: inline-block;
	width: 30px;
	text-align: center;
}
div.maincenterpanel {
	position: absolute;
	left: 300px;
	top: 40px;
	right: 0;
	bottom: 40px;
}
div.maincenterpanelmain {
	position: absolute;
	top: 0;	
	left: 0;
	bottom: 0;	
	right: 0;
}
table.videotable { /* Striving for only inner borders with border-style set to hidden destroys the layout logic in Chrome. So using the outline trick here as of 5.1.5. */
	table-layout: fixed;
	width: 100%;
	height: 100%;
	border-collapse: collapse;
	outline: 1px solid #333333;
	outline-offset: -1px;
}
table.videotable td {
	border: 1px solid #3B3B3B;
	padding: 0;
}
table.videotable div {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	line-height: 0; /* Ensure correct centering when height is under line height. */
}
table.videotable canvas {
	max-width: 100%;
	max-height: 100%;
	vertical-align: middle;
}
table.videotable video {
	max-width: 100%;
	max-height: 100%;
	vertical-align: middle;
}
table.videotable img.ripple {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
}
div.featurecaption {
	background-color: #2E2E2E;
	height: 40px;
	line-height: 40px;
	padding-left: 16px;
}
div.featurecontent {
	background-color: #3B3B3B;
	min-height: 40px;
	padding: 8px;
	text-align: center;
}
div.upperround {
	border-radius: 10px 10px 0 0;
}
div.bottomround {
	border-radius: 0 0 10px 10px;
}
select {
	background-color: #272727;
	color: #E3E3E3;
	width: 90%;
	height: 30px;
	border: thin solid #272727;
	transition: border-color 0.3s;
	padding-left: 8px;
	margin: 8px;
	-webkit-appearance: none; /* Because of Safari. */
	-moz-appearance: none;
	appearance: none;
	background-image: url("../images/input/arrow.png");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 12px;
}
select:focus {
	border-color: #157DC0;
}
option {
}
div#featuregroup {
	position: absolute;
	left: 16px;
	bottom: 16px;
	right: 16px;
	background-color: #3B3B3B;
	height: 40px;
	line-height: 40px;
	border-radius: 10px;
	padding: 0 8px;
}
div#featuregroup img {
	height: 50%;
	cursor: pointer;
	vertical-align: middle;
	margin: 0 8px;
}
.centerhelper {
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}
div#divmaincenterbottom {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 120px;
	background-color: #3B3B3B;
}
div#divmaincenterbottom > div:first-child {
	flex-shrink: 0;
	width: 160px;
	padding: 24px 0;
	text-align: center;
	line-height: 36px;
}
div#divmaincenterbottom > div:last-child {
	flex-shrink: 0;
	width: 160px;
	text-align: center;
	line-height: 100px;
}
div#statcontainer {
	flex-grow: 1;
}
canvas#statarea {
	width: 100%;
	height: 100%;
}
div.imagebutton {
	display: inline-block;
	border-radius: 6px;
	transition: background-color 0.3s;
	width: 32px;
	height: 28px;
	cursor: pointer;
	background-repeat: no-repeat;
	background-size: 24px 24px;
	background-position: center;
	vertical-align: middle;
	margin: 4px;
}
div.imagebutton:hover {
	background-color: #515151;
}
input[type="text"].search {
	padding-left: 40px;
	background-image: url("../images/search.png");
	background-repeat: no-repeat;
	background-position: 10px center;
	background-size: 20px;
	margin: 16px 16px 8px 16px;
	width: calc(100% - 32px); /* To reflect the horizontal scrollbar. */
	box-sizing: border-box;
}
input[type="text"].search::placeholder {
	color: #666666;
}