body {
	display: flex;
	flex-direction: column;
	height: 100vh;
	width: 100vw;
	align-items: center;
	justify-content: center;
	margin: 0;
	background-color: #f8f8f8; 
	font-family: sans-serif;
	padding-top: 0;
	padding-bottom: 17vh;
    box-sizing: border-box
}

.background {
	position: fixed;
	height: 100%;
	top: 0;
	background-size: cover;
	background-repeat: no-repeat;
	background-color: transparent;
}

#background-full {
	display: none;
	width: 100%;
	left: 0;
	z-index: -1;
	background-image: url("../images/login-truck.jpg");
	opacity: 0.5;
}

#background-slice {
	display: none;
	z-index: 0;
	left: calc(50vw - 495px);
	width: 265px;
	background-image: url("../images/login-slice.png");
	box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

form {
	z-index: 1;
	position: relative;
	width: -moz-fit-content;
	width: fit-content;
	background: white;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0px 2px 20px 0px rgba(0,0,0,0.5);
}

.logo-pane {
	position: relative;
	display: flex;
	align-items: center;
}

#logo {
	margin: 64px;
	width: 300px;
	height: auto;
}

#powered-by {
	display: flex;
	height: 1.2rem;
	min-width: 50%;
	font-size: .8rem;
	align-items: center;
	justify-content: flex-end;
	position: absolute;
	bottom: 5px;
	right: 5px;
}

#powered-by span {
	color: #333;
}

#powered-by img {
	height: inherit;
	width: auto;
	margin-left: 4px;
}

.login-pane {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	align-content: center;
	background: #333;
	color: white;
	padding: 2rem;
	width: 265px;
	box-sizing: border-box;
}
.error-pane {
	display: flex;
	align-items: center;
	justify-content: center;
	align-content: center;
	box-sizing: border-box;
}
.username {
	margin-bottom: 1rem;
}

.password {
	margin-bottom: 2rem;
}

.username label,
.password label {
	display: block;
	color: #ddd;
	font-size: .9rem;
	margin: 1px;
}

.username input,
.password input {
	font-size: 1rem;
	padding: 6px;
	box-sizing: border-box;
	width: 100%;
}

input[type=submit] {
	color: white;
	background-color: rgb(20,120,200);	
	width: 120px;
    height: 35px;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #aaa;
}

input[type=submit]:hover { 	
	background-color: #cc4400;
}

.error {
	color: red;
	font-size: 1rem;
	font-weight: bold;
}

.traffix-reminder > img {
	width: 550px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.5);
}