@media only screen and (max-width: 840px) {
	#logout {
		order: 2 !important;
		flex-grow: 1;
		min-width: 80px !important;
	}

	header h1 {
		width: 100vw;
	}

	header.no-logout h1 {
		width: 0
	}

	header.no-logout #logout {
		order: 4 !important;
		flex-grow: 0;
	}
}

@media only screen and (max-width: 670px) {
	header.no-logout #logout {
		display: none;
	}

	header.no-logout h1 {
		width: 100vw;
	}
}

body {
	font-family: sans-serif;
	margin: 0;
	padding: 0;
	color: #001339;
	background-color: #f2f3f5;

	display: flex;
	min-height: 100vh;
	flex-direction: column;
	justify-content: space-between;
}

a:visited {
	color: #001339;
}

header {
	display: flex;
	flex-wrap: wrap;

	color: white;
	background: white;
	color: #001339 !important;
	box-shadow: 0 0 10px #b3a9a9;
	border-bottom: 7px solid #00aaf0;
}

header h1 {
	line-height: 64px;
	margin: 0;
	flex-grow: 1;
	text-align: center;
	order: 3;
}

#logo {
	position: relative;
	margin: 8px auto;
	height: 48px;
	width: 167px;
	order: 1;
	padding-left: 8px;
}

#logout {
	min-width: 175px;
	line-height: 64px;
	text-align: right;
	margin-right: 16px;
	color: white;
	order: 4;
}

#logout:hover {
	color: #001339;
}

#wrapper {
	transition: opacity 0.5s;
}

.content {
	position: relative;
	margin: 40px auto;
	max-width: 1200px;
}

.centered {
	text-align: center;
}

main h1, main h2, main h3 {
	font-weight: normal;
}

.card h1, .card h2, .card h3 {
	padding: 8px 0;
	margin: 2px 0;
}

.card h1 {
	font-size: 1.5em;
}

.card h2 {
	font-size: 18px;
}

.card h3 {
	font-size: 17px;
	font-weight: bold;
	margin-top: 12px;
}

.card h4 {
	font-size: 15px;
}

main p strong {
	text-decoration: underline;
}

footer {
	background-color: #ffffff;
	margin-top: 20px;
	text-align: center;
	box-shadow: 0 0 10px #b3a9a9;
}

footer p {
	font-size: 16px;
	margin: 15px;
}

footer a, footer a:visited {
	color: #2b2b2b;
	text-decoration: none;
}

.card {
	box-shadow: 0px 4px 4px 0px #00000040;
	background-color: white;
	padding: 2px 12px;
	margin: 16px 8px;
}
