
body {
	background-color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	margin:0;
}

.hidden {
	display: none;
}

.gridLoginPage {
    display: grid;
    grid-template-columns: 33% 1fr;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.mandatory {
	color: red;
	justify-content: left;
	text-align: left;
}


/* ----- LEFT BANNER ----- */

#banner, #tempBackground {
	width: 33vw;
	height: 100vh;
	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;
}



/* ----- RIGHT SECTION ----- */


.loginSection {
    display: flex;
    background-image: url(loginBackground.png);
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#login {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: fit-content;
    text-align: left;
    gap: 30px;
    padding: 5vh 5vw;
    border-radius: 50px;
    
    -webkit-transition: all 200ms;
    -o-transition: all 200ms;
    transition: all 200ms;
    
	background: rgba(255, 255, 255, 0.03);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-left: 4px solid rgba(255, 255, 255, 0.2);
	border-top: 4px solid rgba(255, 255, 255, 0.2);
}

.instanceTypeValBackground {
	background-image: url('bgd_Validation.png'), url('loginBackground.png')!important;
	background-repeat: repeat, no-repeat!important;
	background-size: auto, cover!important;
	background-size: 700px auto, cover!important;
	background-position: 0 0, center!important;
}

.instanceTypeProdBackground {
	background-image: url('bgd_Production.png'), url('loginBackground.png')!important;
	background-repeat: repeat, no-repeat!important;
	background-size: auto, cover!important;
	background-size: 800px auto, cover!important;
	background-position: 0 0, center!important;
}

.instanceTypeSandboxBackground {
	background-image: url('bgd_Sandbox.png'), url('loginBackground.png')!important;
	background-repeat: repeat, no-repeat!important;
	background-size: auto, cover!important;
	background-size: 700px auto, cover!important;
	background-position: 0 0, center!important;
}

.instanceTypeTestBackground {
	background-image: url('bgd_Test.png'), url('loginBackground.png')!important;
	background-repeat: repeat, no-repeat!important;
	background-size: auto, cover!important;
	background-size: 700px auto, cover!important;
	background-position: 0 0, center!important;
}

.instanceTypeRootBackground {
	background-image: url('bgd_Root.png'), url('loginBackground.png')!important;
	background-repeat: repeat, no-repeat!important;
	background-size: auto, cover!important;
	background-size: 700px auto, cover!important;
	background-position: 0 0, center!important;
}

.instanceTypeElseBackground {
	background-image: url('loginBackground.png');	
}


#logo {
	padding: 0;
}

#logo img {
    width: 10vw;
    height: auto;
}

.loginLogo {
	filter: drop-shadow(0px 5px 15px rgba(0, 0, 0, 0.35));
}

.mainSectionToFillIn {
	display: flex;
	flex-direction: row;
	
}

input[type="text"],
input[type="password"]{
	width: 96%;
	font-size: 1.4em;
	background-color: #fff;
	border-radius: 6px;
	padding: 10px;
	cursor: pointer;
	border: 1px solid #000;
	align-items: center;
}

input[type="text"] .otpcode {
	width: 100px!important;
}

input[type="text"]:disabled {
	background-color: #d0d1d2!important;
	font-style: italic;
	cursor: default;
}

.error {
	margin-top: 5px;
	color: #fff;
	font-size: 1.1em;
}

.passwordSection .error .general .orange,
.passwordSection .orange {
	color: #D4581A; 
}

.passwordSection .error .general .white {
	color: #fff;
}

.remember {
	margin-top: 10px;
	font-size: 1.1em;
	text-wrap: nowrap;
	color: #fff;
}

.remember input[type="checkbox"] {
	scale: 1.5;
	accent-color: #D4581A;
	cursor: pointer;
}

.remember label {
	margin-left: 10px;
}

.next,
#loginbutton  {
	display: inline-block;
	width: 100%;
	align-items: center;
	justify-content: center;
	background-color: #28B0DC;
	color: #fff;
	border: none;
	font-size: 1.5em;
	border-radius: 10px;
	padding: 10px;
	cursor: pointer;
	margin-top: 20px;
	margin-bottom: 10px;
	box-shadow: none;
	transition: box-shadow .3s ease;
}

.next:hover,
#loginbutton:hover {
	box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.orLoginWith {
	display: flex;
	flex-direction: row;
	width:100%;
	margin-top: 10px;
	margin-bottom: 10px;
	text-wrap: nowrap;
}

.orLoginWith span {
	padding-left: 20px;
	padding-right: 20px;
	font-size: 1.2em;
	color: #fff;
}

.orLoginWith hr {
	width: 100%;
	height: 1px;
	color: #ffffff30;
	background-color: #ffffff30;
}

.externalIdP {
    display: inline-block;
    width: 100%;
    align-items: center;
    justify-content: center;
    background-color: #ffffff3a;
    border-top: 1px solid #ffffff30;
    border-left: 1px solid #ffffff30;
    color: #fff;
    border: none;
    font-size: 1.4em;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 10px;
}

.next:active,
#loginbutton:active,
.externalIdP:active {
	box-shadow: rgba(50, 50, 93, 0.25) 0px 15px 30px -6px inset, rgba(0, 0, 0, 0.3) 0px 9px 19px -9px inset;
}

.loginError {
	color: #D4581A!important;
	margin-bottom: 5px;
}


.usernameSelection .usernameSection {
	opacity: 1;
}

.usernameSelection .mfaLoadingSection {
	display: none;
	opacity: 0;
}

.usernameSelection .passwordSection {
	display: none;
	opacity: 0;
}

.passwordSelection .passwordSection {
	opacity: 1;
}

.passwordSelection .usernameSection {
	display: none;
	opacity: 0;
}

.passwordSelection .mfaLoadingSection {
	display: none;
	opacity: 0;
}

.mfaLoadingSection {
	color: #fff;
	text-align: center;
	font-size: 1.3em;
}

.mfaLoadingSection .mfaButtons {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
}

.mfaLoadingSection .mfaButtons a {
	background-color: #ffffff1a;
	border-top: 1px solid #ffffff30;
	border-left: 1px solid #ffffff30;
	padding: 10px 30px;
	border-radius: 10px;
	text-decoration: none!important;
	transition: all .2s ease;
}

.mfaLoadingSection .mfaButtons a:hover {
	background-color: #ffffff33;
	box-shadow: 2px 4px 10px #00000030;
}

#cancelButton {
	display: inline-block;
	cursor: pointer;
	font-size: 1.2em;
	padding: 5px 10px;
	color: #fff;
	border-radius: 6px;
	user-select: none;
	background: rgba(255, 255, 255, 0.03);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10.5px);
	-webkit-backdrop-filter: blur(10.5px);
	border-top: 1px solid #ffffff30;
	border-left: 1px solid #ffffff30;
	margin-top: 10px;
}

#cancelButton .icon {
	margin-bottom: 5px;	
}

#forgotPasswordLink {
	color: #000!important;
	text-decoration: underline!important;
	font-size: 1.2em!important;
	cursor: pointer!important;
}

.mfaPushNotification .mfaLoadingSection {
	opacity: 1;
}

.mfaPushNotification .passwordSection {
	display: none;
	opacity: 0;
}

.mfaPushNotification .usernameSection {
	display: none;
	opacity: 0;
}

.MFAEnableText {
	display: block;
    margin: 10px 0 5px 0;
	color: #28b0dc;
	font-size: 1.2em;
}

#radioMfaTypeOTP,
#radioMfaTypePUSHED {
	scale: 1.5;
	accent-color: #D4581A;
	cursor: pointer!important;
}

@media screen and (max-width: 1300px) {
    #radioMfaTypeOTP,
    #radioMfaTypePUSHED {
        scale: 1;
    }
}

.OTProw {
	display: flex;
	flex-direction: row;
	gap: 40px;
	width: 98%;	
	align-items: start;
	margin-bottom: 10px;
	margin-top: 20px;
}

.OTProw br {
	display: none!important;
}

.OTPfirst {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 20px;
}

.mfaType label {
	color: #fff;
	font-size: 1.2em;
}

.usernameSection, .passwordSection, .mfaLoadingSection {
	width: 30vw;
	max-width: 600px;
	height: 100%;
	
	justify-content: center;
	align-items: center;

	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	
	-webkit-transition: all 450ms;
	-o-transition: all 450ms;
	transition: all 450ms;
}

#usernameText {
	font-size: 1.1em;
	text-decoration: underline;
}

.bottomPasswordSection {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	color: #fff;
	margin-bottom: 5px;
}

.loadingbarSection {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	text-align: center;
}

#restartMFALink {
	text-decoration: underline;
	cursor: pointer;
}

#cancelMFALink {
	cursor: pointer;
}

#changeMoto {
	position: fixed;
	top: 10px;
	left: 10px;
	font-size: 14px;
	width: 300px;
	justify-content: left;
	border-radius: 6px;
}

#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;
	border-radius: 6px;
}

#changeMoto .message {
    color: #fff !important;
    display: none;
    padding: 10px;
    background-color: #37beea50 !important;
    font-size: 1.2em;
    border-radius: 0 0 10px 10px;
}

#changeMotoButton:hover {
	cursor: pointer;
	background-color: #35c1ef;
}

/* ----- BOTTOM LOGIN PAGE ----- */
.bottomLoginPage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 66vw !important;
    color: #fff !important;
    position: fixed;
    bottom: 0px;
    right: 0;
    padding: 10px;
    align-items: flex-end;
}

#copyright {
	text-align: left;
}

#links {
	text-align: right;
}


@media screen and (max-width: 1000px) {
	
	#banner {
		display: none;
	}
		
	.gridLoginPage {
		grid-template-columns: 1fr;
	}	
	
	#logo img {
		width: 30vw;
	} 
	
	.usernameSection, .passwordSection, .mfaLoadingSection {
		width: 60vw;
	}
	
	#changeMoto {
		display: none;
	}
	
	.bottomLoginPage {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	    width: 95% !important;
	    left: 0;
	    padding: 0 20px 0 20px;
	}
	
}


/*

body {
	background-color: #fff;
	font-family: Arial, Helvetica, sans-serif;
}

.hidden {
	display: none;
}


#block {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.gridLoginPage {
	display: grid;
	grid-template-columns: 33% 1fr;
	width: 100vw;
	height: 100vh;
}

.bottomLoginPage {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	color: #000000!important;
}

.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: 33vw;
	height: 100vh;
	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 {
	
	-webkit-box-sizing: border-box;
	
	        box-sizing: border-box;
	
	background-color: #142935;
	width: 100%;
	height: 490px;

	
	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;
	align-items: center;
}

.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;
	}
}

*/

