* {
	box-sizing: border-box;
	font-family: 'Open Sans', sans-serif;
}

html, body {
	margin: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}

header {
	z-index: 2;
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	background-color: #9b9e54;
	flex-shrink: 0;
}

.header_logo {
	margin: 0;
	height: 4em;
	padding: .5em;
	background: white;
	color: white;
	cursor: pointer;
	font-size: larger;
}

.header_cell {
	margin: 0;
	height: 4em;
	padding: 0;
	padding-left: 2em;
	padding-right: 2em;
	display: flex;
	align-items: center;
	cursor: pointer;
	font-size: larger;
}

.header_cell_unselected:hover {
	box-shadow: 0 .3em gray;
}

.header_cell_selected {
	cursor: auto;
	font-weight: bold;
	box-shadow: 0 .3em white;
}

.header_cell_dark {
	background: #9b9e54;
	color: white;
}

.header_cell_medium {
	background: #cdcc74;
	color: #333333
}

.header_cell_light {
	background: #f3f3a8;
	color: #333333
}

.header_text {
	font-size: large;
}

.content {
	display: flex;
	flex-direction: column;
	margin-bottom: 5em;
	overflow: auto;
	margin-top: 7em;
	flex: 0 0 auto;
	padding: 2em;
	max-width: 60em;
	background-color:rgba(255,255,238,0.9);
	border-radius: 20px;
	box-shadow: 25px 25px 10px gray;
	font-size: large;
}

.mainframe {
	z-index: 1;
	width:100%;
	border: 0;
	flex: 1 0 auto;
	background-color: gray;
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
}

footer {
	z-index: 3;
	flex-shrink: 0;
	width:100%;
	padding: 0.2em;
	background: #ddd;
	display: flex;
	justify-content: center;
}

.footer_cell {
	padding: 0 2em 0 2em;
	display: flex;
	align-items: center;
}

.footer_cell a {
    color: #555;
    padding: 14px 20px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
}

.footer_cell a:hover {
    color: black;
}

.footer_cell_selected {
	cursor: auto;
	box-shadow: 0 -.4em black;
}

.footer_cell_selected a {
    color: black;
}

.wide {
	display: flex
	}

.narrow {
	display: none
}

.dropdown_symbol {
	position: relative;
	display: inline-block;
}

.dropdown_content {
	display: none;
	position: absolute;
	transform: translate(-100%,0) translate(3.3em,-.3em);
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	padding: 12px 16px;
	z-index: 1;
}

.dropdown_content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

.dropdown_content a:hover {
	background-color: #f1f1f1
}

.dropdown_symbol:hover .dropdown_content {
	display: block;
}

@media screen and (max-width: 80em) {
	footer {
		display: none
	}

	.wide {
		display: none
	}

	.narrow {
		display: flex
	}
}
