html {
	height: 100%;
}
body {
	height: 100%;
	width: 100%;
	position: absolute;
	display: flex;
	margin: 0;
	justify-content: flex-end;
	background-position: center right;
	background-size: cover;
	font-family: sans-serif;
}
#skew-left, #skew-right {
	height: 100%;
	display: inline-box;
	flex-shrink: 2;
}
#skew-left {
	max-width: 300px;
}

#skew-right {
	max-width: 200px;
}
main {
	/*display: inline-block;*/
	display: flex;
	justify-content: column;
	background-color: #ff8432;
	max-width: 400px;
	height: 100%;
	flex-grow: 1;
	flex-shrink: 1;
	color: #ffffff;
	overflow-y: auto;
	align-items: safe center;
}

main > *{
	flex-grow: 0;
	padding: 2em;
	flex-shrink: 1;
	text-align: center;
}

input[type=text], input[type=username], input[type=password] {
	width: calc(100% - 2.0em - 4px);
	margin-top: 0.25em;
	margin-bottom: 0.5em;
	padding: 1.0em;
	border: #ff4402 2px solid;
}

input[type=text]:focus, input[type=username]:focus, input[type=password]:focus {
	border-color: #8333ff;
}

input[type=submit], button[type=submit] {
	width: 100%;
	padding: 1.0em;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	border-radius: 3em;
	background-color: #8333ff;
	color: #fff;
	border: none;
	cursor: pointer;
	text-transform: uppercase;
	font-weight: bold;
}

a {
	color: #fff;
}

input[type=submit]:hover {
	background-color: #6233df;
}

input[type=submit]:active, input[type=submit]:focus {
	text-decoration: underline;
}

label {
	display: inline-block;
	width: 100%;
	text-align: left;
	font-weight: bold;
	margin-top: 0.5em;
}

.required {
	display: none;
}

#forgot-password {
	color: #fff;
	display: block;
	text-align: center;
	padding: 0.5em;
}

#logo {
	display: inline-block;
	max-width: 50%;
}

#credit {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 0.5em;
	color: #fff;
}

@keyframes bar {
	0% {
		transform: translateX(50px);
		opacity: 0.8;
	}
	4% {
		transform: translateX(0);
		opacity: 0;
	}
}

@media (max-width: 600px) {
	#skew-left, #skew-right {
		display: none;
	}

	main {
		max-width: unset;
	}

	#credit {
		display: none;
	}
}

@media (min-width: 600px) and (max-width: 1600px) {
	#credit {
		transform-origin: left bottom;
		transform: rotate(90deg) translateX(-100%);
	}
}
