div.bg {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	zoom:1;
	min-height: 610px;
}

div.loginBox {
	width: 390px;
	background: #FFF;
	zoom: 1;
	/*
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
	filter: alpha(opacity=90);
	-moz-opacity:0.9;
	-khtml-opacity: 0.9;
	opacity: 0.9;
	* */
	padding: 2.5rem;
	position: absolute;
	bottom: 0;
	right: 0;
	margin: 3%;

	z-index: 5;
}

div.loginBox h2:first-child {
	margin-top: 0;
}

div.loginBox .loginHeader p {
	font-size: 14px !important;
}

div.loginBox .loginHeader p.subHeader {
	color: #898989;
}

div.loginBox .loginHeader .success-text {
	color: #3c763d;
}

div.loginBox .loginForm {
	margin-bottom: 0;

}

div.loginBox .forgotPasswordForm {
	margin-bottom: 0;
}

div.loginBox #loginFormLoginBtn {
	width: 100%;
	margin-top: 2.5rem;
}

div.loginBox .sign-in-buttons {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 2.5rem;
	flex-direction: row-reverse;
}

div.loginBox .sign-in-buttons * {
	width: 100%;
	text-align: center;
	width: auto;
    min-width: 12ch;
}

div.loginBox input[type="text"], input[type="password"], div.form-group .btn, .select2-container.select2 .select2-choice {
	margin: 0.5rem 0;
	outline: none;
}

div.loginBox a.btn {
	display: inline-block;
	padding-top: 12px;
	vertical-align: middle;
	font-weight: 400;
}

div.loginBox input[type="submit"],
div.loginBox .btn-submit {
	color: #FFF;
}

div.loginBox .btn-full-width {
	width: 100%;
}

div.loginBox .login-notice {
	background-color: var(--secondary-colour);
	color: white;
	margin: 2rem -25px -25px;
    padding: 2.5rem;
    border-radius: 0 0 16px 16px;
}

div.loginBox .login-notice.password-notice {
	background-color: var(--background-grey-colour);
	color: initial;
}

.loginBox a.secondary {
	font-weight: 700;
}


#showForgotBox {
	display: inline-block;
    margin-top: 2rem;
}

.account-signup {
	font-size: 14px;
	color: #898989;
	margin-top: 1rem;
	margin-bottom: 0;
}

img.logo {
	position: absolute;
	top: 0;
	left: 0;
	margin: 3%;

	z-index: 5;
}

div.links {
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 3%;
	width: 484px;

	z-index: 3;
}

div.linkGradient {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 50%;

	background: url('/images/util/gradient-1.png') bottom left fixed;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	zoom:1;

	min-width: 768px;
	min-height: 1216px;
}

div.links, div.links a {
	color: #ffffff;
	font-size: 13px;
	text-decoration: none;
}

div.links div * {
	margin: 0 20px;
}

div.links div *:first-child, div.links div:last-child *:first-child { margin-left: 0; }
div.links div *:last-child, div.links div:last-child *:last-child { margin-right: 0; }

div.links div:first-child {
	margin-bottom: 16px;
}

div.links div:last-child {
	font-size: 12px;
}

div.links div:last-child * {
	margin: 0 17px;
}

#forgotPassBox {
	display:none;
}

#forgotPassBox .forgotPassBoxHeader {
	margin-top: 0;
}

#forgotPassBox .subHeader {
	color: #898989;
}

#forgotPassBox #hideForgotBox.lms-button-fill {
	width: 100%;
	display: flex;
    margin: 2.5rem 0 0;
    justify-content: center;
}


#forgotPassBox .centered {
	display: flex;
	justify-content: center;
}

#forgotPassBox .success-icon {
	color: var(--secondary-colour);
	font-size: 6rem;
	display: flex;
	margin: 2rem 0;
	justify-content: center;
}

#forgotPassBox.passResetBox p.subHeader {
	color: #898989;	
}

#forgotPassBox.passResetBox input[type="password"] {
	width: 100%;
}

.loginBox .alert {
	position: absolute;
	width: 290px;
	top: 0;
	left: 10px;
}
.light-grey-text {
	color: var(--disabled-grey);
}
@media all and (max-width: 400px) {
	.bg div.loginBox {
		width: auto;	
		margin: 1rem;
	}
	.bg .brand-logo {
		width: auto;
	}
	.bg .brand-logo .logo {
		max-width: 90%;
    	max-height: 175px;
	}
}

@media all and (max-width: 890px) {
	div.bg {
		min-height: 100%;
		height: auto;
	}

	img.logo {
		position: initial;
		top: initial;
		left: initial;
		margin:0 auto;
		display:block;
	}

	div.loginBox {
		position: relative;
		bottom: initial;
		right: initial;
		margin: 5vw auto 0;
	}

	div.links {
		bottom: 0;
		right: initial;
		width: 100%;
		margin: 0 0 30px 0;
		text-align: center;
		position: relative;
	}

	div.linkGradient {
		min-width: 0;
		min-height: 0;
	}
}
