
/*---------------------------------------------------------------------------------------*/
/*****************************************************************************************/

/*
Controls log in page styles, including forgotten password etc
*/

/*****************************************************************************************/
/*---------------------------------------------------------------------------------------*/

@font-face {
	font-family: 'lato';
	src: url('font/lato700.woff2') format('woff2'), url('font/lato700.woff') format('woff'),
		url('font/LatoLatin-Bold.ttf') format('truetype');
	font-style: normal;
	font-weight: 700;
}

@font-face {
	font-family: 'lato';
	src: url('font/lato400.woff2') format('woff2'), url('font/lato400.woff') format('woff'),
		url('font/LatoLatin-Regular.ttf') format('truetype');
	font-style: normal;
	font-weight: 400;
}

@font-face {
	font-family: 'lato';
	src: url('font/lato300.woff2') format('woff2'), url('font/lato300.woff') format('woff'),
		url('font/LatoLatin-Light.ttf') format('truetype');
	font-style: normal;
	font-weight: 300;
}

@font-face {
	font-family: 'lato';
	src: url('font/lato800.woff2') format('woff2'), url('font/lato800.woff') format('woff'),
		url('font/LatoLatin-Heavy.ttf') format('truetype');
	font-style: normal;
	font-weight: 800;
}

BODY,
TABLE,
TD {
	font-family: 'Lato', sans-serif, verdana;
	font-size: inherit;
}

* {
	margin: 0;
	padding: 0;
	border: none;
	box-sizing: border-box;
}

html {
	font-size: 1em;
	height: 100%;
	color: #fff;
}

body {
	background: #000 no-repeat right fixed;
	background-size: cover;
	height: 100%;
	min-width: 400px;
}

a {
	text-decoration: none;
	color: #5fcae3;
	cursor: pointer;
}

.sideBar {
	background: #45555f;
	max-width: 500px;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	min-width: 350px;
	position: relative;
}

.sideBar:after {
	content: '';
	background: #45555f;
	width: 500px;
	position: fixed;
	z-index: -1;
	height: 100%;
	bottom: 0;
}

header {
	background: rgba(0, 0, 0, 0.2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

header h1 {
	margin: 5% 10%;
}

header h1 img {
	max-height: 165px;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	/*IE only hacks*/
	header:not(.dualLogo) h1 {
		height: 65%;
		margin: 35px 10% 0;
	}

	header:not(.dualLogo) h1 img {
		height: 100%;
	}
}

header.dualLogo {
	display: flex;
	align-items: center;
	padding: 2% 2%;
	min-height: 125px;
}

header.dualLogo h1 {
	margin: 0;
	padding: 10px 23px;
	display: flex;
}

header.dualLogo h1:first-child {
	border-right: 1px solid rgba(255, 255, 255, 0.5);
	max-height: 90px;
}

header.dualLogo h1:first-child img {
	width: 50px;
	height: 75px;
}

header.dualLogo h1 + h1 img {
	width: 100%;
	height: 100%;
}

main {
	padding: 0 10%;
	font-size: 1.4em;
	overflow: auto;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 430px;
	flex-grow: 1;
}

main h1 {
	font-size: 1.15em;
}

main h1 ~ p {
	padding: 0 0 20px;
	font-size: 0.9em;
}

.sideBar footer {
	padding: 30px 10%;
}

label {
	display: block;
	padding: 15px 0;
	text-align: left;
}

label span {
	display: inline-block;
	width: 120px;
	text-align: left;
	font-weight: 300;
	opacity: 0.6;
	font-size: 0.8em;
}

.longName span:first-child {
	width: 185px;
}

input {
	padding: 5px 0;
	border-bottom: 2px solid #fff;
	font-size: 1em;
	width: 100%;
	color: #fff;
	background: none;
}

input:focus {
	border-color: #5fcae3;
	outline: none;
}

input[type='checkbox'] {
	width: auto;
}

button {
	background: #007fb2;
	border-radius: 25px;
	color: #fff;
	padding: 8px 20px;
	font-size: 1em;
	margin: 25px 0;
	cursor: pointer;
}

button:focus {
	background: #5fcae3;
	outline: none;
}

.rememberMe {
	font-size: 0.9em;
	float: left;
}

button ~ p {
	padding-top: 20px;
	font-size: 0.8em;
	word-break: break-all;
}

.domainList {
	max-height: 262px;
	overflow: auto;
	margin-bottom: 15px;
}

.domainList li {
	background: rgba(0, 0, 0, 0.2);
	margin: 0 5px 5px 0;
	padding: 10px 0 10px 10px;
}

.domainList li a {
	display: flex;
	align-items: center;
}

.domainList li img {
	height: 40px;
}

.domainList li svg {
	min-width: 20px;
	height: 15px;
	fill: #5fcae3;
}

.domainList li small {
	font-size: 0.7em;
	display: block;
	flex-grow: 1;
	margin: 5px;
	line-height: 1em;
	word-break: break-all;
	min-width: calc(100% - 90px);
	/*<for ie11*/
}

/*ie11 only hack*/
@media all and (-ms-high-contrast: none) {
	.domainList li a {
		margin-top: -30px;
	}
}

.red {
	color: #d65953;
	margin-top: 10px;
}

.red ~ p {
	font-size: 0.8em;
}

.sideBar footer > div {
	padding: 0px 10% 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
	margin-top: 40px;
}

.sideBar footer > div > div {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.sideBar footer > div p {
	font-size: 0.8em;
	line-height: 1.2em;
	margin: 10px 25px 10px 0px;
	width: 280px;
}

.sideBar footer div > a {
	height: 50px;
	margin: 5px 25px 5px 0;
}

.sideBar footer > div img {
	height: 50px;
}

.sideBar footer > div small {
	opacity: 0.6;
}

.sideBar footer > div small:first-child {
	opacity: 0.8;
}

@media screen and (min-width: 968px) {
	.sideBar footer > div {
		position: fixed;
		right: 0;
		bottom: 0;
		width: calc(100% - 500px);
		background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 70%, rgba(0, 0, 0, 0.25) 100%);
		padding: 50px 2% 20px;
	}
}

.mediaLinks {
	margin: 5px 20px 5px 0;
	display: flex;
	flex-wrap: wrap;
}

.mediaLinks li {
	list-style-type: none;
	padding: 5px 10px;
}

.mediaLinks li a {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.25);
	border-radius: 100%;
	height: 60px;
	width: 60px;
	transition: all ease-in-out 250ms;
}

.mediaLinks li a:hover {
	background: rgba(255, 255, 255, 0.25);
}

.mediaLinks li svg {
	width: 28px;
	height: 28px;
	fill: #fff;
}

input.input-validation-error {
	border-color: #d65953;
}

.field-validation-error {
	font-size: 0.8em;
	text-align: left;
	display: block;
	color: #d65953;
	padding: 2px 0px;
	margin: -15px 0px 0px 0px;
}

.validation-summary-errors {
	background: #d65953;
	padding: 5px 5px 8px;
}

.validation-summary-errors li {
	list-style-type: none;
}

.back svg {
	width: 20px;
	height: 20px;
	fill: #82d5ea;
	transform: rotate(180deg);
	vertical-align: middle;
	margin-top: -3px;
}

#forgotPasswordLink {
	padding: 10px 2%;
	text-align: left;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
	border: 0px solid #fff;
	border-bottom: 2px solid #fff;
	-webkit-text-fill-color: white;
	-webkit-box-shadow: 0 0 0px 1000px #45555f inset;
	transition: background-color 5000s ease-in-out 0s;
}

.maint {
	background: #f2a911;
	padding: 10px 20px;
	top: 25px;
	right: 25px;
	max-width: calc(100% - 545px);
	font-size: 0.9em;
	position: fixed;
	opacity: 0.9;
}

/*--------------------------------------------*/

@media screen and (max-width: 968px) {
	body {
		overflow: auto;
		display: block;
		background: #45555f;
		background-size: cover;
		display: flex;
		flex-direction: column;
	}

	body > footer {
		background: none !important;
		padding: 1% 5% 5%;
		margin-top: 1%;
		min-height: 160px;
	}

	.sideBar {
		max-width: 100%;
		height: auto;
		flex-grow: 1;
	}

	.sideBar:after {
		width: 100%;
	}

	#forgotPasswordLink {
		padding: 0;
	}

	.validation-summary-errors {
		position: static;
		min-height: auto;
		max-height: auto;
		font-size: 0.9em;
		height: auto;
	}

	.sideBar footer {
		padding: 0;
	}

	.sideBar footer > p {
		font-size: 0.8em;
		padding: 0 10% 20px;
	}

	.sideBar footer br {
		display: none;
	}

	.maint {
		width: 100%;
		opacity: 0.9;
		margin: -25px 0 0;
		max-width: 100%;
		left: 0;
		padding: 2px 10px 5px;
		position: absolute;
		font-size: 0.6em;
	}
}

/*---------------------IE11 Warning-----------------------*/
#ie11Warning {
	position: fixed;
	width: 100%;
	height: 100%;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	top: 0;
	left: 0;
	z-index: 100;
	background: rgba(0, 0, 0, 0.5);
}

#ie11Warning > div {
	display: flex;
	flex-wrap: wrap;
	max-width: 650px;
	padding: 25px 20px;
	background: #007fb2;
	border-radius: 5px;
	box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.5);
	position: relative;
}

#ie11Warning > div > div {
	background: rgba(0, 0, 0, 0.1);
	padding: 15px;
	display: flex;
	width: 100%;
	margin-top: 20px;
	align-items: center;
	justify-content: space-between;
}

#ie11Warning h1 {
	font-size: 2em;
	font-weight: normal;
}

#ie11Warning h2 {
	font-size: 1.2em;
	font-weight: normal;
}

#ie11Warning p {
	margin-top: 10px;
	font-size: 1.1em;
}

#ie11Warning li {
	text-decoration: none;
	display: inline-block;
	margin: 0 10px;
}

#ie11Warning .closePanel {
	position: absolute;
	top: 5px;
	right: 10px;
	font-size: 1.4em;
	font-weight: bold;
	color: #fff;
}
