img, svg {
  width: 100%;
  height: auto;
}

.bg {
	min-height: 50vh;
	position: relative;
	overflow: hidden;
	background: #00223c;
	padding: 40px;
	color: #fff;
	text-align: center;
}

.bg .inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	z-index: 9;
	padding: 40px;
}

.bg .inner .text {
	font-size: 16px;
}

.icon {
	width: 150px;
	margin: auto 0;
}

.footer {
	font-size: 11px;
	color: rgba(255,255,255,0.6);
}

.footer img {
	width: 100px;
	margin-top: 10px;
}

.loginBgLeft {
	position: absolute;
	left: 0;
	top: 0;
	width: 33%;
	z-index: 1;
}

.loginBgRight {
	position: absolute;
	right: 0;
	top: 0;
	width: 33%;
	z-index: 1;
}

.footer {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.form {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.title {
	margin-bottom: 40px;
}

.form {
	padding-bottom: 40px;
}

.form form {
	width: 100%;
	margin-bottom: 40px;
}

@media (min-width: 768px) {
	.bg .inner {
		padding: 20vh 40px 40px 40px;
	}

	.icon {
		width: 250px;
	}

	.form {
		padding-bottom: 20px;
	}

	.form form,
	.form .logout-info {
		max-width: 300px;
	}
}

.toggle-visibility {
	position: absolute;
	bottom: 2px;
	height: 32px;
	width: 32px;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.toggle-visibility svg {
	width: 16px;
	fill: #b1bdc4;
	transition: all .3s;
}

.toggle-visibility:hover svg {
	fill: #767f84;
}

.toggle-visibility svg.show {
	display: none;
}

.toggle-visibility svg.hide {
	display: none;
}

.toggle-visibility svg.show.visible {
	display: block;
}

.toggle-visibility svg.hide.visible {
	display: block;
}

.btn {
	width: 100%;
}

.fieldset {
  position: relative;
  margin-bottom: 20px;
}

label {
	color: #7e919d;
	font-size: 11px;
  font-weight: 400;
  line-height: 1;
}

input[type=text],
input[type=password],
input[type=email],
input[type=number],
textarea {
  font-size: 14px;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  border-bottom: 2px solid #d5d5e1;
  transition: color .3s, border .3s;
  background: #fff;
  border-radius: 0;
  height: 34px;
  appearance: none;
  text-align: inherit;
  font-weight: 400;
  color: inherit;
  font-family: inherit;
}

input[type=text]:-webkit-autofill::first-line,
input[type=password]:-webkit-autofill::first-line,
input[type=email]:-webkit-autofill::first-line,
input[type=number]:-webkit-autofill::first-line,
textarea:-webkit-autofill::first-line {
	font-family: inherit;
	font-size: 14px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #0066b6;
}

::placeholder {
  color: #d5d5e1;
}

#submitbutton,
.button {
	height: 50px;
  display: flex;
  align-items: center;
	justify-content: center;
	width: 100%;
	background: #0066b6;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	text-align: center;
	border: none;
	border-radius: 8px;
	margin-bottom: 20px;
	cursor: pointer;
	transition: all .3s;
}

#submitbutton:hover,
.button:hover {
	background: #e1be58;
}

.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9;
	display: none;
	opacity: 0;
	transition: all .3s;
}

.modal.visible {
	display: block;
	opacity: 1;
}

.modal-inner {
	max-width: 400px;
	width: calc(100% - 40px);
	background: #fff;
	border-radius: 8px;
	padding: 20px;
	position: absolute;
	z-index: 999;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.modal-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
	z-index: 99;
}

/* interactive texts */
/* #badlogin {
	margin: 0px;
	margin-top: 0px;
	margin-left: 130px;
	width: 300px;
	height: 24px;
	line-height: 24px;
	white-space: normal;
	text-align: left;
	font-weight: bolder;
	padding: 0px;
	padding-top: 4px;
	color: #FF0000;
} */