body {
	background-color: white;
}
form {
	margin: 0;
}
div.login-form {
	min-height: 100vh;
	min-width: 320px;
	overflow-x: visible;
}
div#logo {
	margin-bottom: 30px;
}
h1.page-header {
	color: #212121;
	margin-bottom: 8px;
}
.login-form img {
	width: auto;
	max-width: 90%;
}
.form-container {
	width: 90%;
	max-width: 360px;
}
.form-container .page-header {
	margin-left: 0;
}
div#form-actions {
	margin-top: 8px;
}
div#help-actions {
	margin-top: 20px;
	clear: both;
}
.error-div {
	border: 3px #faa solid;
	margin-bottom: 8px;
}
#message {
	margin-top: 8px;
	margin-bottom: 8px;
}
.xid-form .mdl-textfield {
	margin: -8px 0;
}
.flex-row > .mdl-textfield + .mdl-textfield {
	margin-left: 10px;
}
.vertical-spacing {
	margin-top: 16px;
	margin-bottom: 16px;
}


div#footer-under {
	margin-top: 8px;
	max-width: 100vw !important;
}
div#footer-under a {
	padding: 4px;
}
div#footer-under a {
	display: inline-block;
	text-decoration: none;
	font-size: 11px;
	text-transform: uppercase;
	white-space: normal;
	word-break: normal;
	line-height: 1.3em;
}
div#footer-under a,
div#footer-under a:visited {
	color: #757575;
}
div#footer-under a:hover,
div#footer-under a:active {
	color: #212121;
	background-color: #eee;
}


/*small screen shrinkage */

@media screen and (max-width: 640px) {
	body {
		min-height: 500px;
		min-width: 320px;
		height: auto;
	}
	.login-form img {
		width: auto;
		max-width: 70%;
	}
	div#footer-under a {
		font-size: 8px;
	}
}


/* firefox hack for logo weirdness*/

@-moz-document url-prefix() and (max-width: 640px) {
	.login-form img {
		height: auto !important;
		width: 90% !important;
	}
}
