body {
	background-image: url('../img/hero.jpg');

	/* Background image is centered vertically and horizontally at all times */
	background-position: left top;

	/* Background image doesn't tile */
	background-repeat: no-repeat;

	/* Background image is fixed in the viewport so that it doesn't move when
	 the content's height is greater than the image's height */
	background-attachment: fixed;

	/* This is what makes the background image rescale based
	 on the container's size */
	background-size: cover;

	/* Set a background color that will be displayed
	 while the background image is loading */
	background-color: #464646;

}

#outer {
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	max-height: 80%;
	margin: 0px auto;
	border-radius: 20px;
	text-align: center;
	overflow: hidden;
	background-color: rgba(1, 1, 1, .82);
	padding: 0px;
	width: 50%;
	height: 450px;
	min-width: 350px;
	max-width: 600px;
	min-height: 300px;
	border-radius: 5px;
	text-align: center;
	height: 406.25px;
}

div.inputarea p {
	text-align: center;
	color: white;
	font-size: 1.25em;
	font-weight: normal;
	margin-bottom: 80px;
}

#scrollview {
	width: 100%;
	height: 100%;
	padding: 0px;
	margin: 0px;
}

h1 {
	font-variant: normal;
	font-weight: 100;
	width: 90%;
	margin: 10px auto;
	font-size: 2.1em;
}

h1.error {
	color: #ff7500;
	border-radius: 5px;
	background-color: #fff080;
}

#scrollview input {
	height: 1.5em;
	font-size: 1.20em;
	padding: 5px 10px;
	margin: 0px;
	width: 100%;
	max-width: 100%;
	margin-bottom: 15px;
	text-align: center;
	margin-left: -10px;
}

#scrollview button {
	cursor: hand;
	cursor: pointer;
	padding: 8px 20px;
	font-size: 1.25em;
	border: 1px solid black;
	background: steelblue;
	color: white;
	font-weight: bold;
	margin: 0px;
	border-radius: 3px;
	margin-bottom:3rem;
}

#scrollview button.fadedbutton {
	background: rgba(0, 0, 0, 0);
	color: #f0f0f0;
	border-width: 0px;
	font-weight: normal;
}

#scrollview button:first-child {
	margin-left: 0px;
}

#scrollview button:disabled {
	opacity: .5;
}

div.page {
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	position: absolute;
	top: 0px;
	height: 100%;
	margin-top: 20px;
	max-height: 100%;
}

#email {
	left: 0px;
}

#signin {
	left: 100%;
}

#signup {
	left: 100%;
}

div.inputarea {
	width: 80%;
	text-align: left;
	margin: 40px auto;
}

div.buttonarea {
	position: absolute;
	width: 100%;
	text-align: center;
	bottom: 1rem;
}

div.error {
	margin: 20px;
	padding: 5px;
	background-color: #f02020;
	clear: right;
}

#error {
	width: 100%;
	overflow-y: auto;
	text-align: center;
	position: fixed;
	display: none;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(1, 1, 1, .9);
}

#errorinner {
	width: 80%;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	margin: 20px 0px;
}

#error h1 {
	color: #ffffc0;
	font-size: 2em;
	margin-bottom: 40px;
}

#error p {
	color: #d0d0d0;
	font-size: 1.25em;
	margin-bottom: 40px;
}

#error button {
	border: 1px solid #808080;
	background: none;
	color: white;
	padding: 10px 40px;
	margin-top: 40px;
}

div.inputarea {
	text-align: center;
}

#scrollview #remember2 {
	width: auto;
	vertical-align: middle;
	clear: none;
	margin: 30px 10px;
	margin-top: 27px;
}

#scrollview #remember1 {
	width: auto;
	vertical-align: middle;
	clear: none;
	margin: 30px 10px;
	margin-top: 27px;
	color: red;
}

label {
	color: #b0b0b0;
	font-size: 1.1em;
}

a { color: #c0c0c0; text-decoration: none; }
a:hover { color: #c0c0f0; }
a:visited { color: #c0c0c0; }
