﻿* {
	box-sizing: border-box;
}

@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: local('Roboto'), url(//fonts.gstatic.com/s/roboto/v15/CWB0XYA8bzo0kSThX0UTuA.woff2) format('woff2');
}

@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	src: local('Roboto Bold'), local('Roboto-Bold'), url(//fonts.gstatic.com/s/roboto/v15/d-6IYplOFocCacKzxwXSOFtXRa8TVwTICgirnJhmVJw.woff2) format('woff2');
}

:root {
	--header-height: 58px;
}

body, input, select {
	font-family: "Roboto",monospace;
	color: #212121;
}

html, body {
	position: absolute;
	width: 100%;
	height: 100%;
	margin: 0px;
}

.tabContainer {
	position: absolute;
	width: 100%;
	height: calc(100% - var(--header-height));
	margin: 0px;
}

label * {
	user-select: none;
}

a:link, a:visited {
	color: #026CCF;
}

	a:link:hover {
		color: #0A92FA;
	}

.headingLink {
	float: right;
	font-size: 0.8em;
	margin: 5px;
	white-space: nowrap;
	text-decoration: none;
	padding: 5px 10px;
	background-color: transparent;
	border: 1px solid #026CCF;
	cursor: pointer;
	color: #026CCF;
	border-radius: 3px;
}

	.headingLink:hover {
		background-color: #026CCF;
		color: #FFF;
	}

h1, h2, h3, h4, fieldset, svg {
	margin: 0px 0px 15px 0px;
}

p, dl, dt, ul {
	margin: 0px 0px 10px 0px;
}

dd {
	margin: 0px 0px 10px 20px;
}

*[disabled] input[type=submit],
*[disabled] {
	color: #999;
}

input[type=text], input[type=password], input[type=email] {
	width: 250px;
	padding: 4px;
}

.content {
	padding: 15px 15px 100px 30px;
	background-color: #F5F5F5;
}

	.content.scrollable {
		overflow-y: scroll;
		-webkit-overflow-scrolling: touch;
	}

	.content h1, .content h2 {
		font-weight: normal;
	}

	.content h1 {
		font-size: 1.4em;
	}

	.content h2 {
		font-size: 1.1em;
	}

body {
	display: flex;
	flex-direction: column;
}

.header {
	flex-shrink: 0;
	flex-grow: 0;
	height: var(--header-height);
	background-color: #CC3232;
	line-height: 1em;
	color: white;
}

	.header > * {
		float: right;
		padding: 0px 15px;
		height: 100%;
		text-decoration: none;
		white-space: nowrap;
		line-height: 3.75em;
	}

		.header > *:first-child {
			float: left;
			padding: 0px 10px;
		}

	.header a:link, .header a:visited, .header a:hover, .header a:active {
		color: inherit;
	}

	.header a:hover {
		background-color: rgba(0,0,0,0.2);
	}

	.header img {
		height: 100%;
		width: auto;
		border: 0;
		padding: 14px;
	}

.main {
	flex-shrink: 1;
	flex-grow: 1;
	position: relative;
}

.tabContainer > * {
	position: absolute;
	height: 100%;
}

.tabBar {
	width: 80px;
	background-color: #212121;
	margin: 0px;
	padding: 8px 0px;
	list-style: none;
	display: flex;
	flex-direction: column;
	align-items: center;
}

	.tabBar li {
		width: 100%;
		margin: 0px;
		font-size: 12px;
		text-align: center;
		cursor: pointer;
		color: white;
		user-select: none;
		-webkit-user-select: none;
		opacity: 0.75;
		padding: 8px 0px;
		flex-shrink: 1;
		display: block;
	}

		.tabBar li:hover {
			opacity: 1;
		}

		.tabBar li.selected {
			opacity: 1;
			box-shadow: 4px 0 0 0 #026CCF inset;
			background-color: #2E2E2E;
		}

		.tabBar li img {
			width: 24px;
			height: 24px;
			margin: 2px;
		}

		.tabBar li span {
			display: block;
			margin: 0px 4px;
		}

.tabContainer > div {
	left: 80px;
	right: 0px;
}

.metaItem {
	font-style: italic;
}
