.background-overlay
{
	background-color: #333;
	height: 100%;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1;
}
.background-overlay.active
{
	opacity: 0.8;
	filter: alpha(opacity=80);
	pointer-events: inherit;
}
.hidden
{
	display: none;
}
.logged-in
{
	float: right;
}
.logged-in button
{
	display: inline-block;
	font-size: 0.7em;
	margin: 0 1em;
	padding: 0.4em;
}
.login-email
{
	background: #333;
	border-color: #111;
}
.login-email:hover
{
	background: #353535;
	filter: brightness(1.2);
}
.login-facebook
{
	background: #3b5998;
	border-color: #303e7a;
}
.login-facebook:hover
{
	background: #3b5998;
	filter: brightness(1.2);
}
.login-google
{
	background: #ea4335;
	border-color: #ac2d1e;
}
.login-google:hover
{
	background: #ea4335;
	filter: brightness(1.2);
}
.login-options
{
	background-color: #fff;
	border-radius: 0.4em;
	bottom: 0;
	display: flex;
	flex-direction: column;
	height: 23rem;
	left: 0;
	margin: auto;
	position: fixed;
	right: 0;
	top: 0;
	width: 20em;
	z-index: 2;
}
.login-options button
{
	align-items: center;
	color: #fff;
	display: flex;
	justify-content: space-evenly;
	margin: 1em auto;
	padding: 0.7rem 1.7rem;
	width: 18rem;
}
.login-options button:hover
{
	color: #fff;
}
.login-options img
{
	background: #fff;
	border-radius: 18px;
	padding: 0.4rem;
	height: 3rem;
	width: 3rem;
}
.login-options p
{
	font-style: italic;
	text-align: center;
}
.wait
{
	cursor: wait;
}
*
{
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
body, html
{
	min-height: 100vh;
}
body
{
	background-color: #efefef;
	color: #444;
}
button, input[type=reset], input[type=submit], input[type=button]
{
	-moz-border-bottom-colors: none;
	-moz-border-left-colors: none;
	-moz-border-right-colors: none;
	-moz-border-top-colors: none;
	background-color: #f5f5f5;
	background-image: linear-gradient(to bottom, #fff, #e6e6e6);
	background-repeat: repeat-x;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) #b3b3b3;
	border-radius: 4px 4px 4px 4px;
	border-style: solid;
	border-width: 1px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
	color: #333;
	cursor: pointer;
	display: inline-block;
	line-height: 1.1em;
	margin-bottom: 0;
	padding: 0.3em 0.8em;
	text-align: center;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
	vertical-align: middle;
}
button:hover, .button:focus, input[type=reset]:hover, input[type=submit]:hover, input[type=button]:hover,
input[type=reset]:focus, input[type=submit]:focus, input[type=button]:focus
{
	background-color: #e6e6e6;
	background-position: 0 -1em;
	color: #333;
	text-decoration: none;
	transition: background-position 0.1s linear 0s;
}
button:active, input[type=reset]:active, input[type=submit]:active, input[type=button]:active
{
	background-color: #c6c6c6;
	background-image: linear-gradient(to bottom, #e6e6e6, #c6c6c6);
	color: #333;
	text-decoration: none;
	transition: background-position 0.1s linear 0s;
}
h1
{
	font-family: 'Fugaz One', sans-serif;
	font-size: 1.4em;
	text-align: center;
	text-shadow: 3px 3px 3px #206aae;
	margin: 0;
}
header
{
	background-color: #3f91dc;
	border-bottom: 1px solid #ccc;
	color: #fff;
	display: table-cell;
	height: 4.5em;
	overflow: hidden;
	vertical-align: middle;
	width: 100vw;
}
header > button
{
	margin: 1em;
}
footer
{
	align-content: center;
	background-color: #999;
	border-top: 1px solid #ccc;
	display: flex;
	justify-content: space-between;
	min-height: 4em;
	width: 100%;
}
footer .links
{
	float: left;
}
footer .links span
{
	display: none;
}
footer a
{
	color: #244fc4;
}
footer a:visited
{
	color: #311883;
}
input
{
	border-color: #ccc;
	border-radius: 0.2em;
	border-style: solid;
}
main
{
	padding: 1em;
}
.authentication-required main
{
	-webkit-filter: blur(5px);
	        filter: blur(5px);
}
.email-login-dialog
{
	border-radius: 0.4em;
	font-size: 1.5rem;
	position: relative;
}
.email-login-dialog .close-button
{
	background-color: #fff;
	border-radius: 50%;
	color: #001f45;
	cursor: pointer;
	font-size: 1rem;
	height: 2em;
	line-height: 1;
	margin: 0.5em;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	width: 2em;
}
.email-login-dialog .close-button:before
{
	content: "×";
	font-size: 2em;
}
.email-login-dialog .login-label
{
	display: block;
	margin: 1rem auto;
}
.email-login-dialog button
{
	margin: 3rem auto 1rem;
	font-size: 1.5rem;
}
.email-login-dialog input:focus
{
	border-color: #3f91dc;
}
@media screen and (min-width: 55em)
{
	footer .links span
	{
		display: inline;
	}
	h1
	{
		font-size: 3em;
	}
}