body {
	background-image: url("img/bg.jpg");
	background-size: cover;
	background-attachment: fixed;
	font-family: Verdana, DejaVu Sans, sans-serif;
	font-size: 14px;
}

a {
	color: #068;
}

#container {
	background: #7bd8;
	border: 2px solid #248;
	border-radius: 10px;
	border-spacing: 0px;
	border: 1px solid #444;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 50px;
	padding: 10px;
	box-shadow: black 0 0 25px;
}

#header {
	text-align: center;
	padding: 5px;
	background-image: url("img/headerbg.jpg");
	background-size: cover;
	color: #fff;
	text-shadow: black 3px 3px 2px;
}

#body {
	display: flex;
}

nav {
	background-image: url("/img/metal.jpg");
	width: 120px;
	vertical-align: top;
	padding: 0;
	flex: 0 0 auto;
}

nav ul {
	list-style: none;
	padding-left: 0;
	line-height: 250%;
	margin-top: 0;
}

nav a {
	display: block;
	color: #ddd;
	text-decoration: none;
	text-align: center;
	background: url("/img/metalbutton.jpg");
	text-shadow: black 2px 2px 3px;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
	margin-top: -1px;
}

#content {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 400px;
}

main {
	padding: 10px;
	background-color: white;
	flex: 1 1 auto;
}

footer {
	background-color: white;
	border-top: 1px solid black;
	font-size: 11px;
	text-align: center;
	padding: 5px;
}

h1 {
	font-weight: bold;
	font-size: 20px;
	margin-top: 5px;
	margin-bottom: 5px;
	display: inline-block;
}

h2 {
	font-weight: bold;
	font-size: 16px;
	margin-top: 5px;
	margin-bottom: 5px;
}

hr {
	border: none;
	border-top: 3px double #777;
}

.subtitle {
	color: #444;
}

.video-list {
	display: flex;
	flex-flow: row wrap;
	background: linear-gradient(to bottom, #ddd, #ccc);
	outline: 1px solid #777;
	box-shadow: #444 0 0 5px;
	min-height: 190px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.video-list-empty-text {
	margin: auto;
	color: #333;
}

.video-thum {
	display: inline-block;
	width: 140px;
	height: 160px;
	margin: 5px;
	background: linear-gradient(to bottom, #ccc, #aaa);
	padding: 10px;
	color: black;
	text-decoration: none;
	border: 1px solid #777;
	box-shadow: #444 0 0 5px;
}

.video-thum img {
	width: 100%;
	max-height: 105px;
}

.video-thum-link {
	color: black;
	text-decoration: none;
}

.video-title {
	font-size: 12px;
	font-weight: bold;
	max-height: 45px;
	overflow: hidden;
	/*
		https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/text-overflow
		"The text-overflow property only affects content that is overflowing a
		block container element in its inline progression direction (not text
		overflowing at the bottom of a box, for example)."
		
		thanks CSS, very cool.
		
		i'm putting this text-overflow here anyways even though it doesn't do
		anything, out of frustration, i suppose.
	*/
	text-overflow: ellipsis;
}

.video-date {
	font-size: 12px;
}

.page-controls {
	display: table;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	width: max-content;
}

.page-button {
	display: table-cell;
	width: 40px;
	height: 40px;
	background: linear-gradient(to bottom, #ccc, #aaa);
	font-size: 30px;
	text-align: center;
	color: gray;
	border: 1px solid #777;
	box-shadow: #444 0 0 5px;
	text-decoration: none;
}

.page-button[href] {
	color: black;
}

.page-text {
	display: table-cell;
	padding: 10px;
	vertical-align: middle;
}

video {
	width: 640px;
	height: 480px;
	border: 2px solid #777;
}

.rss-button {
	width: 20px;
	margin-left: 10px;
	vertical-align: text-bottom;
}