body {
	margin: 0;
	font-family: arial;
}
.dark {
	background: #000;
}
.light {
	background: #fff;
}
table.dataTable tbody tr {
	background: none;
}
table.dataTable tbody .odd {
	background: rgba(128,128,128,.15);
}
table.dataTable tbody .even {
	background: rgba(128,128,128,.3);
}
.ui-dialog {
	box-sizing: border-box;
	max-width: 100%;
}
.ui-dialog .ui-dialog-content {
	padding: 0;
}
#theme-selector {
	position: absolute;
	top: .25em;
	left: .25em;
}
.container {
	max-width: 90em;
	margin: auto;
}
.grid {
	display: grid;
}
.grid-main {
	grid-gap: 1em;
	grid-template-columns: repeat(8, 1fr);
}
.block {
	background: #ccc;
	border-radius: .25em;
	border: 1px solid #aaa;
	padding: .25em;
	color: #333;
	text-align: center;
	position: relative;
}
.dark .block {
	box-shadow: 1px 1px .5em #fff, inset 0 0 .5em #000;
}
.light .block {
	box-shadow: 1px 1px .5em #000, inset 0 0 .5em #fff;
	BORDER-COLOR: #777;
}
.block .ui-button {
	display: none;
	position: absolute;
	top: .25em;
	right: .25em;
	border-radius: .25em;
	padding: 0;
	margin: 0;
}
.block .ui-icon {
	margin: 0;
	display: block;
}
.header-with-time {
	display: grid;
	grid-template-columns: auto 1.75em;
}
.header-with-time-and-switch {
	display: grid;
	grid-template-columns: 2em auto 1.75em;
}
.refresh-time {
	font-size: .75em;
}
.header {
	margin: 0;
	color: #333;
	text-shadow: 0 0 2px #fff, 0 0 1px #fff;
}
.separator-header {
	padding: .5em 0;
	margin: 0;
}
.dark .separator-header {
	color: #ccc;
}
.light .separator-header {
	color: #333;
}
.block.danger {
	background: #c88;
}
.block.success {
	background: #8c8;
}
.small-timespan, .large-timespan {
	background: rgba(255,255,255,.2);
	margin-top: .25em;
	box-shadow: inset 0 0 4px rgba(255,255,255,.6);
	border-radius: .25em;
	cursor: pointer;
	transition: background linear .2s, box-shadow linear .2s;
}
.small-timespan:hover, .large-timespan:hover {
	background: rgba(0,0,0,.05);
	box-shadow: inset 0 0 4px rgba(255,255,255,1);
}
.timespan {
	font-size: .8em;
}
.timespan:after {
	content: ": ";
}
#percentage-results .percentage-data, #slow-responses .absolute-data, #errors .percentage-data, #errors .absolute-data {
	font-size: 1.2em;
}
#errors .percentage-data:after {
	content: "% of ";
	font-size: .8em;
}
.percentage-data:after {
	content: "%";
	font-size: .8em;
}
#slow-responses .grid {
	grid-template-columns: auto auto;
	align-items: center;
}
#slow-responses .absolute-data {
	grid-row-start: 2;
	grid-row-end: 4;
}
#percentage-results .absolute-data {
	font-size: .8em;
}
#percentage-results .absolute-data:before {
	content: " of ";
}

.switch {
  position: relative;
  display: inline-block;
  width: 2em;
  height: 1em;
  border: 1px solid #555;
  border-radius: 1em;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1em;
  background-color: #ccc;
  transition: .3s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 1em;
  width: 1em;
  left: 0;
  bottom: 0;
  border-radius: 1em;
  background-color: white;
  transition: .3s;
}
input:checked + .slider {
  background-color: #2196F3;
}
input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
  transform: translateX(100%);
}