<!--
/************************************************************/
/* OPTIMIZE&#153: Optimize Spend							*/
/* Copyright (c) 1998-2021 TRG Screen						*/
/************************************************************/
-->

/* Needed to override the browsers autofill style applied 
as -internal-autofill-selected on input tag. */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0px 200px #FFF inset;
}

body {
	
	padding-top: 0px; 
	padding-right: 0px; 
	padding-left: 0px; 
	padding-bottom: 0px; 
	margin: 0px; 
	text-align: center; /* This is needed because IE doesn't auto properly.*/
	background: rgb(0,78,119);
	background: linear-gradient(166deg, rgba(0,78,119,1) 10%, rgba(255,255,255,1) 90%);
	height: 100vh;
}

.hyperlink {
	color: blue; 
	font-size: 8pt;
	font-family: 'Lato', sans-serif;
	font-style:normal;
	text-decoration: underline;
	cursor:hand;
}

#loginbox {
	top: 50px;
	width:360px;
	background-color: transparent;
	position:absolute;
	overflow:hidden;
}

#loginbox,
#motd {
	-moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.5);
	box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.5);
	background-color: #fff;
	border-radius: 4px;
	box-sizing: border-box;
	font-family: lato;
	margin: 0 auto;
	padding: 20px;
	padding-bottom: 0px;
	position: relative;
	width: 380px;
}

#motd {
	height: 145px;
	vertical-align: top;
	margin-top: 100px;
	overflow-y: auto;
	overflow-x: hidden;
}

span.login-logo img {
	height: 100%;
	position: relative;
	width: auto;
}

span.login-logo {
	display: block;
	height: 50px;
	margin-bottom: 30px;
	max-height: 50px;
	overflow: hidden;
	position: relative;
	text-align: center;
}

ul.login-form {
	color: #2e2e2e;
	display: block;
	font-family: lato;
	list-style: none;
	padding-left: 0;
	position: relative;
	margin-bottom: 1em;
}

li.login-label {
	font-size: 12px;
	margin-bottom: 3px;
	text-align: left;
}

li.login-input input {
	border-radius: 5px;
	border: 1px solid #2e2e2e;
	color: #2e2e2e;
	font-size: 16px;
	height: 36px;
	line-height: 34px;
	margin-bottom: 10px;
	width: 100%;
}

li.login-input input:focus {
	outline-color: #004d78;
}

li.login-label,
li.login-input input {
	text-indent: 10px;
}

span.login-auto-text {
	display: block;
	font-size: 12px;
	text-align: center;
}

#loginbox .button-container {
	font-size: 0;
}
.password-reminder,
.login-button {
	display: inline-block;
	font-size: 0;
	height: 35px;
	line-height: 35px;
	margin-top: 10px;
	width: 50%;
}

.login-button {
	text-align: right;
}

.password-reminder {
	text-align: left;
}

.login-button 
input[type="submit"],
button[type="button"] {
	background-color: #004d78;
	border-radius: 5px;
	border: 1px solid #004d78;
	color: #fff;
	font-size: 16px;
	height: 35px;
	line-height: 33px; /* Must be 2px less than height or will display graphical glitch underneath the button once clicked. */ 
	min-width: 110px;
	text-align: center;
	font-family: lato;
}

.terms {
	bottom: 10px;
	color: #2e2e2e;
	font-family: Lato;
	font-size: 12px;
	height: 93px;
	left: 0;
	text-align: center;
	width: 100%;
	position: fixed;
}

.login-button 
input[type="submit"]:hover,
button[type="button"]:hover
{
	cursor: pointer;
}

#loginstatus{
	width: 100%;
	background-color: #FFF;
	visibility: hidden;
	text-align: center;
	transition:transform 0.4s ease-out;
	transform: scaleY(0);
	transform-origin: top;
	border-radius: 3px;
}

#loginstatus p{
	margin: 5px;
	font-weight: 500;
	font-size: 12px;
}

#loginstatus div{
	display:inline-block;
}

.login-status-active{
	visibility: visible !important;
	border: none;
	color: black;
	background-color:#FFF;
	transform: scaleY(1) !important;
}

.login-status-alert-active{
	visibility: visible !important;
	border: 1px solid #F29100;
	color: #F29100;
	background-color: rgba(242, 145, 0, 0.2) !important;
	transform: scaleY(1) !important;
}

ul[disabled=true]{
	pointer-events:none;
	opacity: 0.4;
}

#trgscreen-logo-container {
	height: 49px;
	width: 100%;
	display: flex;
	justify-content: center;
	padding-bottom: 10px;
}

#trgscreen-logo {
	background-image: url("../images/trg-company-logo-on-login.png");
	height: 49px;
	width: 126px;
}