body {
	background-color: #142935;
	font-family: Arial, Helvetica, sans-serif;
}

.hidden {
	display: none;
}

#block {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.preview {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.previewText {
	font-size: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -500px;
    margin-top: -115px;
    -webkit-transform: rotate(-30deg);
        -ms-transform: rotate(-30deg);
            transform: rotate(-30deg);
    opacity: 0.5;
    
    text-transform: uppercase;
}

#banner, #tempBackground {
	position: fixed;
	top: 0px;
	left: 0px;
	
	width: 36%;
	height: 100%;
	background-image: url("../public/loginBanner.action");
	
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	
	min-width: 400px;
}

#tempBackground {
	opacity: 0;
	
	-webkit-transition: all 400ms;
	-o-transition: all 400ms;
	transition: all 400ms;
}

#tempBackground.visible {
	opacity: 1;
}

#login {
	position: fixed;
	left: 57%;
	top: 50%;
	
	-webkit-box-sizing: border-box;
	
	        box-sizing: border-box;
	
	background-color: #142935;
	width: 1070px;
	height: 490px;
	
	margin-left: -535px;
	margin-top: -245px;
	
	-webkit-box-shadow: 0px 0px 60px 12px #00000040;
	
	        box-shadow: 0px 0px 60px 12px #00000040;
	-webkit-box-shadow: 0px 0px 60px 12px rgba(0,0,0,0.25);
	        box-shadow: 0px 0px 60px 12px rgba(0,0,0,0.25);
	
	color: white;
	
	padding: 80px;
	
	display: -ms-grid;
	
	display: grid;
	-ms-grid-columns: 320px 65px 1fr;
	grid-template-columns: 320px 1fr;
	-ms-grid-rows: 130px 30px 1fr;
	grid-template-rows: 130px 1fr;
	grid-gap: 65px;
	grid-row-gap: 30px;
	
	overflow: hidden;
	
	-webkit-transition: all 200ms;
	-o-transition: all 200ms;
	transition: all 200ms;
}

#login > *:nth-child(1) {
	-ms-grid-row: 1;
	-ms-grid-column: 1;
}

#login > *:nth-child(2) {
	-ms-grid-row: 1;
	-ms-grid-column: 3;
}

#login > *:nth-child(3) {
	-ms-grid-row: 3;
	-ms-grid-column: 1;
}

#login > *:nth-child(4) {
	-ms-grid-row: 3;
	-ms-grid-column: 3;
}

#logo {
	background-image: url("logo.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	height: 130px;
}

#news {
	color: white;
}

#news h2 {
	color: #28B0DC;
}

#news p {
	margin-bottom: 0px;
}

#news iframe {
	border: none;
	width: 100%;
	height: 100%;
}

#login .form {
	-ms-grid-column: 1;
	-ms-grid-column-span: 3;
	
	grid-column: 1 / span 2;
	
	position: relative;
	
	font-size: 20px;
}

.form .externalIdpDiv {
	padding-top: 1.5em;
}

.form .externalIdP {
    color: white;
    background-color: #28B0DC;
}

.form .externalIdP:hover, .form .externalIdP:focus {
	background-color: 35c1ef;
	cursor: pointer;
}

.form .next {
	background-color: #28B0DC;
	color: white;
}

.form .next:hover, .form .next:focus {
	background-color: #35c1ef;
	cursor: pointer;
}

.form .username, .form .next, .form .password, .form .externalIdP{
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	height: 55px;
	width: 100%;
	font-size: 23px;
	border: none;	
}


.form .otpcode {
    position: absolute;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    top: 2rem;
    left: 11rem;
    height: 30%;
    width: 20%;
    font-size: 23px;
    border: none;
}


.form .otpCodeSpan .error {
    top: -1.5rem;
    position: relative;
    left: 11rem;
}

.form .passwordWithOTP {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	height: 55px;
	width: 49%;
	font-size: 23px;
	border: none;
}

.form .mfaTypeRadio {
    margin-top: 1.5rem;
}

.form .mfaType {
    position: absolute;
    width: 100%;
    top: 8.5rem;
    font-size: 15px;
    font-weight: bold;
}

.form .next {
	background-color: #28B0DC;
	color: white;
}

.form .next:hover, .form .next:focus {
	background-color: #35c1ef;
	cursor: pointer;
}

.form .username, .form .password, .form .passwordWithOTP, .form .otpCode {
	padding: 10px;
}

.form .username::-webkit-input-placeholder {
	color: #28B0DC;
}

.form .username:-ms-input-placeholder {
	color: #28B0DC;
}

.form .username::-ms-input-placeholder {
	color: #28B0DC;
}

.form .username::placeholder {
	color: #28B0DC;
}

.form .username:-ms-input-placeholder {
	color: #28B0DC;
}

.form .username::-ms-input-placeholder {
	color: #28B0DC;
}

.form .password::-webkit-input-placeholder, .form .passwordWithOTP::-webkit-input-placeholder, .form .otpCode::-webkit-input-placeholder {
	color: #28B0DC;
}

.form .password:-ms-input-placeholder, .form .passwordWithOTP:-ms-input-placeholder, .form .otpCode:-ms-input-placeholder {
	color: #28B0DC;
}

.form .password::-ms-input-placeholder, .form .passwordWithOTP::-ms-input-placeholder, .form .otpCode::-ms-input-placeholder {
	color: #28B0DC;
}

.form .password::placeholder, .form .passwordWithOTP::placeholder, .form .otpCode::placeholder {
	color: #28B0DC;
}

.form .password:-ms-input-placeholder, .form .passwordWithOTP:-ms-input-placeholder, .form .otpCode:-ms-input-placeholder {
	color: #28B0DC;
}

.form .password::-ms-input-placeholder, .form .passwordWithOTP::-ms-input-placeholder, .form .otpCode::-ms-input-placeholder {
	color: #28B0DC;
}

.form .remember,  .form .remember label {
	font-size: 20px;
	color: white;
	margin: 10px;
}
	  
.form .remember [type="checkbox"] {
	width: 21px;
	height: 21px;
	margin: 0px;
	vertical-align: bottom;
}

.passwordSelection .passwordSection {
	margin-left: 0%;
	opacity: 1;
}

.passwordSelection .usernameSection {
	margin-left: -125%;
	opacity: 0;
}
.passwordSelection .mfaLoadingSection {
	margin-left: 125%;
	opacity: 0;
}



.loadingBar {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.mfaPushNotification .mfaLoadingSection {
	margin-left: 0%;
	opacity: 1;
}
.mfaPushNotification .passwordSection {
	margin-left: -125%;
	opacity: 0;
}

.mfaPushNotification .usernameSection {
	margin-left: -125%;
	opacity: 0;
}

.usernameSelection .mfaLoadingSection {
	margin-left: 125%;
	opacity: 0;
}
.usernameSelection .passwordSection {
	margin-left: 125%;
	opacity: 0;
}

.usernameSelection .usernameSection {
	margin-left: 0%;
	opacity: 1;
}

.usernameSection, .passwordSection, .mfaLoadingSection {
	position: absolute;
	top: 0px;
	
	width: 100%;
	height: 100%;
	
	display: -ms-grid;
	
	display: grid;
	-ms-grid-columns: 1fr 135px;
	
	grid-template-columns: 1fr 135px;
	
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	
	-webkit-transition: all 450ms;
	
	-o-transition: all 450ms;
	
	transition: all 450ms;
}

.usernameSection .username {
	-ms-grid-column: 1;
	-ms-grid-row: 2;
}

.usernameSection .next {
	-ms-grid-column: 2;
	-ms-grid-row: 2;
}

.usernameSection .remember {
	-ms-grid-row: 3;
	-ms-grid-column-span: 2;
}

.passwordSection {
	display: -ms-grid;
	display: grid;
	margin-left: 125%;
}

.passwordSection .passwordDiv {
	-ms-grid-column: 1;
	-ms-grid-row: 2;
}

.passwordSection .next {
	-ms-grid-column: 2;
	-ms-grid-row: 2;
}

#forgotPasswordSection {
	-ms-grid-row: 3;
	
	-ms-grid-column: 1;
	-ms-grid-column-span: 2;
}

.error {
	-ms-grid-column: 1;
	-ms-grid-column-span: 2;
	
	grid-column: 1 / span 2;
	
	color: red;
	margin-bottom: 10px;
}

.invalid {
	color: red;
	-webkit-box-shadow: none;
	        box-shadow: none;
	background-color: #fcf1f1;
}

.invalid::-webkit-input-placeholder {
	color: red !important;
}

.invalid:-ms-input-placeholder {
	color: red !important;
}

.invalid::-ms-input-placeholder {
	color: red !important;
}

.invalid::placeholder {
	color: red !important;
}

.invalid:-ms-input-placeholder {
	color: red !important;
}

.invalid::-ms-input-placeholder {
	color: red !important;
}

#cancelButton, #forgotPasswordLink, #forcedUsername, #cancelMFALink, #restartMFALink {
	display: block;
	margin: 10px;
	
	-ms-grid-column: 1;
	
	-ms-grid-column-span: 2;
	
	grid-column: 1 / span 2;
}

#cancelButton, #forgotPasswordLink, #cancelMFALink, #restartMFALink {
	cursor: pointer;
}

.icon {
	font-size: 18px;
}

#forgotPasswordSection {
	height: 42px;
}

#forgotPasswordLink {
	font-size: 18px;
	color: white;
	text-decoration: none;
}

#cancelButton:hover, #forgotPasswordLink:hover, #cancelMFALink:hover, #restartMFALink:hover {
	text-decoration: underline;
}

#changeMoto {
	position: absolute;
	right: 20px;
	top: 20px;
	font-size: 13px;
	width: 250px;
}

#changeMotoButton {
	background-color: #28B0DC;
	color: white;
	padding: 5px;
	font-weight: bold;
	text-transform: uppercase;
	text-align: center;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
}

#changeMoto .message {
	display: none;
	padding: 5px;
	background-color: #37beea;
	color: white;
}

#changeMotoButton:hover {
	cursor: pointer;
	background-color: #35c1ef;
}

#copyright {
    position: absolute;
    left: 100%;
    left: calc(100% + 15px);
    width: 500px;
    bottom: 10px;
    color: white;
    
    font-size: 15px;
}
		
#copyright a {
    color: #28B0DC;
}

#links {
	position: absolute;
	right: 15px;
	bottom: 10px;
	
	color: white;
}

#links a {
	color: white;
}

@media screen and (min-width: 2500px) {
	#login {
		-webkit-transform: scale(1.5);
		    -ms-transform: scale(1.5);
		        transform: scale(1.5);
	}
}

@media screen and (min-width: 3500px) {
	#login {
		-webkit-transform: scale(2);
		    -ms-transform: scale(2);
		        transform: scale(2);
	}
}

@media screen and (max-width: 1200px) {
	#login {
		left: 50%;
	}
}

@media screen and (max-width: 1100px) {
	#login {
		width: 900px;
		height: 390px;
		
		margin-left: -450px;
		margin-top: -195px;
		
		padding: 45px;
		
		-ms-grid-columns: 260px 40px 1fr;
		
		grid-template-columns: 260px 1fr;
		-ms-grid-rows: 1fr 30px 1fr;
		grid-template-rows: 1fr 1fr;
		grid-gap: 40px;
		grid-row-gap: 30px;
	}
	#login > *:nth-child(1) {
		-ms-grid-row: 1;
		-ms-grid-column: 1;
	}
	#login > *:nth-child(2) {
		-ms-grid-row: 1;
		-ms-grid-column: 3;
	}
	#login > *:nth-child(3) {
		-ms-grid-row: 3;
		-ms-grid-column: 1;
	}
	#login > *:nth-child(4) {
		-ms-grid-row: 3;
		-ms-grid-column: 3;
	}
}


@media screen and (max-width: 850px) {
	#login {
		width: 500px;
		height: 380px;
		
		margin-left: -250px;
		margin-top: -190px;
		
		padding: 45px;
		
		-ms-grid-columns: 1fr;
		
		grid-template-columns: 1fr;
	}
	
	#news {
		display: none;
		opacity: 0;
	}
	
	#login .form {
		-ms-grid-column: 1;
		grid-column: 1;
	}
	
	#banner, #tempBackground {
    	width: 100%;
	}

	#copyright {
	    left: 15px;
	}
}
