:root {
	--footer-height: 30px;
	--header-height: 50px;
}

* {
	box-sizing: border-box;
}

body, input {
	font-family: "Noto sans", "Open sans", sans-serif;
	font-size: 16px;
}

html, body {
	padding: 0;
	margin: 0;
	height: 100%;
}

body {
	background: #EEE;
	color: #333;
}

header {
	background: #333;
	color: #FFF;
	height: var(--header-height);
	line-height: var(--header-height);
}

header h1 {
	padding: 0;
	display: inline-block;
}

.container {
	padding: 0 25px;
	width: 1200px;
	margin: 0 auto;
}

menu {
	margin: 0;
	padding: 0;
	float: right;
}

menu a {
	display: inline-block;
	width: 100px;
	text-align: center;
	font-size: 20px;
	font-weight: 300;
	color: #FFF;
}

#content {
	padding-top: 25px;
	padding-bottom: 25px;
	background: #FFF;
	min-height: calc(100% - var(--header-height) - var(--footer-height));
}

footer {
	height: var(--footer-height);
	line-height: var(--footer-height);

	text-align: center;
	color: #FFF;
	background: #333;
}

h1 {
	font-size: 2em;
	font-weight: 300;
	margin: 0;
	padding: 0 0 25px;
}

a {
	color: #55C;
	text-decoration: none;
}

hr {
	border: none;
	border-bottom: solid 1px #DDD;
	margin: 25px 0;
}

.info td:first-child {
	min-width: 150px;
	font-weight: bold;
}

table:not(.info) {
	min-width: 600px;
	border: solid 1px #DDD;
	border-radius: 2px;
	border-spacing: 0;
}

table:not(.info) tr td, table:not(.info) tr th {
	padding: 5px 10px;
}

table:not(.info) thead tr th {
	user-select: none;
	background: #F5F5F5;
	border-bottom: solid 1px #DDD;
	border-right: solid 1px #DDD;
	position: relative;
}

table:not(.info) thead tr th::last-child {
	border-right: none;
}

table.sorted th {
	padding-right: 25px !important;
}

table.sorted th.asc::after, table.sorted th.desc::after {
	position: absolute;
	right: 5px;
	top: 0;
	font-size: 20px;
}

table.sorted th.asc::after {
	content: '▲';
}

table.sorted th.desc::after {
	content: '▼';
}

table:not(.info) tr:nth-child(even) td {
	background: #F5F5F5;
	border-top: solid 1px #DDD;
	border-bottom: solid 1px #DDD;
}

table:not(.info) tr:last-child td {
	border-bottom: none;
}

.button, input[type="submit"] {
	display: inline-block;
	padding: 5px 10px;
	color: #333;
	border: solid 1px #AAA;
	background: #EEE;
	margin: 0 10px 10px 0;
}

textarea {
	display: block;
	width: 100%;
	min-height: 200px;
	resize:vertical;
}
