/* Global elements */
html {
	width: 100%;
	height: 100%;
}

body {
	margin-left: auto;
	margin-right: auto;
	width: -moz-max-content;
	width: max-content;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-start;
	color: #ddd;
	line-height: 1.4;
	background-color: rgb(48, 48, 48);
}

h2 {
	font-size: 1.3em;
}

a {
	color: #ddd;
}

.small {
	font-size: 0.8em;
	margin-top: 0.2em;
}

table {
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 5px;
}

/* Header */
header {
	order: 1;
	font-size: 1.2em;
	flex-basis: auto;
	margin: 5px;
	width: 400px;
}

header > h1 {
	font-weight: 100;
	font-family: 'Roboto Slab', serif;
	margin-bottom: 0px;
	font-size: 40px;
	color: #eee;
}

aside {
	font-style: italic;
	font-family: Georgia, serif;
}

.header-img > img {
	width: 128px;
	padding-top: 20px;
}

/* Main container */
#container {
	order: 2;
	margin: 5px;
	flex-basis: auto;
	width: calc(100vw - 435px);
	max-width: 1000px;
	font-family: 'Lato', -apple-system, BlinkMacSystemFont, calibri, sans-serif;
	padding-top: 40px;
	padding-bottom: 30px;
}

#container img {
        max-width: 100%;
}

.promo > p {
	font-size: 1.2em;
}

.universal {
	width: 32px;
	padding: 12px;
	padding-bottom: 0;
}

/* Slideshow */
.slideshow {
	width: 100%;
	height: 0;
	padding-bottom: 50%;
	overflow: hidden;
	position: relative;
}

.slideshow > img {
	position: absolute;
	animation: slideshow 25s infinite;
	opacity: 0;
	width: 100%;
	height: auto;
}

@keyframes slideshow {
	25% {
		opacity: 1;
	}

	40% {
		opacity: 0;
	}
}

/* Mobile styles */
@media (max-width: 900px) {
	body {
		width: 80%
	}

	header {
		width: 100%;
	}

	.header-img {
		display: none;
	}

	#container {
		margin: 0px;
		padding-top: 10px;
		width: 100%;
		max-width: 800px;
		text-align: justify;
	}
}
