body {
	margin: 0;
	font-family: "roboto", sans-serif;
	font-size: 14px;
	line-height: 1.42;
	background-color: #eee;
}

.sidebar {
	margin-top: 200px;
	padding: 0;
	width: 200px;
	background-color:rgb(255, 255, 255);
	position: fixed;
	height: 100%;
	overflow: auto;
}
.sidebar a {
	display: block;
	color: black;
	text-decoration: none;
	border-radius: 0 25px 25px 0;
	font-size: 17px;
}
.sidebar a.active {
	background-color: #c2e7ff;
}
.sidebar a:hover:not(.active) {
	background-color: #555;
	color: white;
}
img.logo {
	max-width: 175px;
}
div.logo {
	display: table;
	margin-bottom: 15px;
	position: fixed;
	height: 200px;
}
div.glyph {
	width: 40px;
	text-align: center;
	display: inline-block;
	padding-top: 10px;
}
div.sidebarLabel {
	height: 35px;
	width: 100px;
	display:inline-block;
	padding-top: 10px;
	font-family: "Roboto", sans-serif;
}
div.mainContent {
	margin-left: 200px;
	padding: 1px 16px;
}
/* On screens that are less than 700px wide, make the sidebar into a topbar */
@media screen and (max-width: 700px) {
	.sidebar {
		width: 100%;
		max-width: fit-content;
		height: auto;
		position: relative;
		margin-top: unset;
		margin: auto;
	}
	.sidebar a {float: left; border-radius: 0; border-bottom: solid 1px lightgrey;}
	.sidebar a.active { background-color: unset; position: relative; color: #0b57d0; font-weight: bolder; border-bottom: solid 1px lightgrey;}
	.sidebar a.active::before {
		content: '';
		position: absolute;
		bottom: 0;
		left: 10%;
		width: 80%;
		height: 3px;
		background-color: #0b57d0;
		border-radius: 2px 2px 0 0;
	}
	.sidebar a:hover:not(.active) {
		background-color: unset;
		color: #0b57d0;
		font-weight: bolder;
	}
	.sidebar .glyph {
		display: none;
	}
	.sidebarLabel {
		text-align: center;
	}
	div.logo {
		float: left;
		width: 100%;
		margin-bottom: 0;
		padding-top: 15px;
		position: relative;
		height: unset;
	}
	img.logo {
		max-height: 50px;
		margin-bottom: 0;
		padding-left: 15px;
	}
	div.mainContent {margin-left: 0;}
}

input[type="button"], input[type="submit"], button {
	background-color: white;
	color: black;
	text-align: center;
	text-decoration: none;
	border: solid black 1px;
	padding: 5px 15px;
	display: inline-block;
	font-size: 16px;
	-webkit-appearance: none;
	opacity: 1;
	transition: 0.2s;
	border-radius: 5px;
	font-family: "Roboto", sans-serif;
}
input[type="button"]:hover, input[type="submit"]:hover, button:hover {
	background-color: lightgray;
}
input[type="button"]:focus:active, input[type="submit"]:focus:active, button:focus:active {
	background-color: darkgrey;
}
input[type="number"], input[type="text"], select, textarea, input[type="date"], input[type="password"] {
	width: 100%;
	max-width: 300px;
	padding: 12px 20px;
	margin: 2px 0;
	box-sizing: border-box;
	border: 2px solid #ccc;
	transition: 0.2s;
	outline: none;
	-webkit-appearance: none;
	border-radius: 5px;
}
input:focus + span, input:not(:placeholder-shown) + span {
  opacity:1;
  transform: scale(0.75) translateY(-90%) translateX(-25px);
}
/* For IE Browsers*/
input:focus + span, input:not(:-ms-input-placeholder) + span {
  opacity:1;
  transform: scale(0.75) translateY(-90%) translateX(-25px);
}
fieldset {
	border: none;
}
.login_container {
	background: white;
	border-radius: 5px;
	padding: 16px;
	width: 90%;
	max-width: 410px;
	margin: 0;
	top: 50%;
	left: 50%;
	position: absolute;
	-ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.login_button {
	opacity: 1;
	width: 125px;
	margin: 5px 0px;
	padding: 15px;
	border: none;
	color: white;
	background-color: #0007d9;
	transition: 0.2s;
}
.login_button:focus:active {
	background-color: #000593;
}
.login_button:hover {
	opacity: 0.7;
	background-color: #0007d9;
}
.headline {
	font-size: 40px;
	font-weight: 500;
}
label {
	margin: 30px 0;
	position: relative;
	display: inline-block;
	width: 100%;
}
span.placeholder {
	padding: 15px;
	pointer-events: none;
	position:absolute;
	left:0;
	top:0;
	transition: 0.2s;
	transition-timing-function: ease;
	transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
	opacity:0.5;
}
.missing {
	animation: shake 0.2s ease-in-out 0s 2;
	box-shadow: 0 0 4px #ff0000;
}
.alert {
  margin-top: 30px;
  padding: 20px;
  background-color: #f44336; /* Red */
  color: white;
  margin-bottom: 15px;
  text-align: center;
  opacity: 1;
  transition: opacity 0.6s;
}
.inactive_alert {
  opacity: 0;
  transition: opacity 0.6s;
}
.disabledInputs {
    opacity: 0.4;
}
@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@keyframes fadeOutOpacity {
  100% {
		opacity: 1;
	}
	0% {
		opacity: 0;
	}
}

div.mfaPrompt {
  background-color: #fdfbfb;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #282828;
  width: 80%;
  max-width: 250px;
  box-shadow: 1px 1px 5px #888888;
  text-decoration: none;
  color: black;
  border-radius: 5px;
}

div.mfaPrompt:hover {
  box-shadow: 1px 1px 1px #888888;
}

div.mfaPrompt:active {
  background-color: #888888;
  box-shadow: 0px 0px 0px #888888;
}
@keyframes shake {
  0% {
    margin-left: 0rem;
  }
  25% {
    margin-left: 0.5rem;
  }
  75% {
    margin-left: -0.5rem;
  }
  100% {
    margin-left: 0rem;
  }
}
@media screen and (max-width: 600px) {
	div.content {margin-left: 0;}
	.closebtn { display: block; }
}

div.sectionContainer {
	border: 1px solid rgb(229, 229, 229);
	border-radius: 10px;
	padding: 20px;
	position: relative;
	width: 100%;
	max-width: 400px;
	margin: 50px auto;
}

div.sectionTitle {
	position: absolute;
	top: -12px;
	left: 10px;
	background-color: white;
	padding: 0 10px;
	font-weight: bold;
	font-size: 1.2em;
}
div.sectionBody {
	font-size: 1em;
	color: #333;
}

#alertOverlay {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: rgba(0, 0, 0, 0.8);
	color: #fff;
	padding: 20px 40px;
	border-radius: 5px;
	font-size: 18px;
	text-align: center;
	display: none;
	z-index: 9999;
}

#progressBar {
	position: fixed;
	top: 0;
	left: 0;
	height: 5px;
	background-color: blue;
	z-index: 10000;
	width: 0;
	opacity: 0;
}

.progress-running {
	width: 100%;
	opacity: 1;
	animation: progressAnimation 2s linear infinite;
}

@keyframes progressAnimation {
	0% {
		left: -100%;
		width: 100%;
	}
	100% {
		left: 100%;
		width: 100%;
	}
}

#mainContent {
	opacity: 1;
}

.loading-state {
	opacity: 0.5;
	pointer-events: none;
}
