:root {
    --footer-height: 50px; /* Default footer height */
}

body {    
    font-family: 'Open Sans', sans-serif;
    //height: 100%;
    //min-height: 100%;
    color: #787e87;
    background-image: url(../assets/bg.jpg);
    background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;	
}

html, body {
	position: relative;
	margin: 0;
    padding: 0;
    //height: 100%;
}

.main-wrapper {
    display: flex;
	justify-content: center;
    align-items: center;	
	min-height: calc(100vh - 50px); /* Fallback for browsers without CSS variables */
    min-height: calc(100vh - var(--footer-height)); /* Modern browsers */
	//min-height: 100%;
	padding: 30px 0;
	background: unset !important;
	height: unset !important;
}


.spacer50 {
    padding-top: 0;
}

.brand_wrapper {
    height: 326px;    
    background-color: rgba(49, 166, 241, 0.69);
    color: white;
    text-align: center;
}

.brand_wrapper img {
    opacity: 1;
}

.align_wrapper {
    margin-top: 20px;
}

.form_wrapper {    
    background: url("../assets/logo_all_brand_trans.svg") no-repeat;
    background-color: #ffffff;
    background-size: 30% 8%;
    background-position: 50% 98%;
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.19);    
    text-align: center;
}

.brand_wrapper, .form_wrapper {
	flex: 0 0 35%; /* Make both divs grow equally */
	padding: 74px 0px;
}

.form-group {
	margin-bottom: 0;
}

.form_wrapper input {
    border: 0;
    border-bottom: 1px solid #dfddd8;
    padding-left: 40px !important;
}

.form_wrapper input:required {
    box-shadow: none;
}

.form_wrapper input::-webkit-input-placeholder {
    vertical-align: middle;
    padding-top: 5px;
}

.form_wrapper input:-moz-placeholder {
    /* Firefox 18- */
    vertical-align: middle;
    padding-top: 5px;
}

.form_wrapper input::-moz-placeholder {
    /* Firefox 19+ */
    vertical-align: middle;
    padding-top: 5px;
}

.form_wrapper input:-ms-input-placeholder {
    vertical-align: middle;
    padding-top: 5px;
}

.form_wrapper input:focus {
    border-color: #dfddd8;
    box-shadow: 0 0 5px rgba(207, 220, 0, 0);
}

h1 {
    font-size: 2.5vw;
	font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: bold;
    margin: 20px 0;
}

h4 {
    font-size: 1.8vw;
	font-size: clamp(1.2rem, 1.8vw, 1.8rem);
    font-weight: bold;
    margin-bottom: 30px;
}

p {
    font-size: 15px;
    color: #ffffff;
}

p a,
p a:visited,
p a:active {
    color: #ffffff;
    text-decoration: underline;
    font-weight: bold;
}

p a:hover {
    text-decoration: none;
    color: #ffffff;
}

.uid {
    background: url("../assets/icon_uid.png") left center no-repeat;
    padding: 0 0 5px 10px;
    font-size: 18px;
    //margin-bottom: 40px;
}

.pswd {
    background: url("../assets/icon_password.png") left center no-repeat;
    padding: 0 0 5px 10px;
    font-size: 18px;
	margin-top: 40px;
}

#submit, #loginwithpwdbtn {
	margin-top: 40px;
}

.btn {
    border-radius: 20px;
    background-color: #31a6f1;
    font-size: 20px;
    font-weight: bold;
	font-size: 1.5vw;
	font-size: clamp(1rem, 1.5vw, 1.5rem);	
}

.form_wrapper p {
    color: #393939;
    padding: 38px 0 28px 0;
    text-align: left;
    font-size: 16px;
}

.form_wrapper p a,
.form_wrapper p a:visited,
.form_wrapper p a:active {
    color: #31a6f1;
    text-decoration: underline;
    font-weight: normal;
}

.form_wrapper p a:hover {
    color: #31a6f1;
    text-decoration: none;
}

hr {
    width: 70%;
    background-color: #416486;
}

footer {
    width: 100%;
    background-color: #ffffff;
    color: #92a2ad;
    font-size: 14px;
    text-align: center;
    padding: 15px 5px;
    margin: 0;
    //padding-top: 0;
    bottom: 0;
    left: 0;
	
	height: 50px; /* Fallback */
    height: var(--footer-height); /* Modern browsers */
	position: relative;
	bottom: 0;
}

footer .first-line {
    background-color: #f7f7f7;
}

footer p {
    //color: #92a2ad;
	color: #000000;
    margin: 0;
    padding: 0;
    display: inline-block;
    font-size: 14px;
}

footer .privacy-icon {
    width: 100px;
}

footer p a,
footer p a:visited,
footer p a:active {
    color: #34a8f2;
    text-decoration: none;
    font-weight: normal;
}

footer p a:hover {
    opacity: 0.7;
}

.footer .copyright {
    font-size: 11px;
}

.request-access {
    font-weight: normal;
    color: black;
}

.forgot-password {
    margin-top: 1rem;
}

.forgot-password a {
    color: #34a8f2;
}

.forgot-password a:hover {
    opacity: 0.7;
}

.forgot-network,
.register-auth {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    display: flex;
    justify-content: flex-end;
}

.prefered-login {
    margin-top: 0.25rem;
    input{
        margin-bottom: 0.5rem 
    }
}

.forgot-network a,
.register-auth a,
.footer a {
    color: #34a8f2;
    font-weight: normal;
}

.forgot-network a:hover,
.register-auth a:hover,
.footer a:hover {
    opacity: 0.7;
	color: #34a8f2;
	text-decoration: underline;
}

.questions {
    margin-bottom: 2rem;
}

.brand-icon {
    width: 130px;
}

.seprator-container {
    display: flex;
    margin-bottom: 15px;
}

.seprator {
    margin-top: 0.75rem;
    background-color: #dfddd8 !important;
}

.hr-1 {
    margin-right: 0.25rem;
}

.hr-2 {
    margin-left: 0.25rem;
}

.btn-sec {
    background: url("../assets/biometrics_img.png") left center no-repeat;
    background-position: 5% 50%;
    background-size: inherit;
    border: 1px solid grey;
    border-radius: 20px;
    font-size: 16px;
    background-color: #ffffff;
    padding: 9px 12px;
}

.btn-sec:hover {
    background: url("../assets/biometrics_hover.png") left center no-repeat;
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
    background-position: 5% 50%;
    background-size: inherit;
}

.btn-sec:focus {
    outline: none;
}

.pop_container {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.4);
	overflow: auto;
}

.pop_content {
    position: relative;
    width: 70%;
    height: auto;
    padding: 30px 80px;
    margin: 4% auto 0 auto;
    background-color: #ffffff;
    color: #000000;
    opacity: 1;
}

.pop_content h2 {
    font-size: 28px;
    color: #3a3c3b;
    font-weight: bold;
    padding: 30px 0;
    text-align: center;
}

.pop_content p {
    color: #757b7f;
    text-align: justify;
}

.ic_close {
    position: absolute;
    top: 25px;
    right: 25px;
}

.errorMsg, #WSError {
    color: red !important;    
    padding-top: 8px;
	text-align: left;
}

.errorMsg1 {
    color: red !important;
}

#fsso-terms-en-footer {
    padding: 0px;
    /* background-color: #dbdcde; */
    background-color: rgba(255, 255, 255, 0.5);
}

.fsso-terms-en-title {
    font-size: 12px;
    padding: 5px 10px;
    color: black;
}

.fsso-terms-en-details {
    font-size: 10px;
    padding: 0px 10px 5px 10px;
    color: #504b4b;
}

.fsso-terms-en-footer-div {
    text-align: left;
    //margin-bottom: 3px;
    background-color: #ebecf1 !important;
    padding: 0px 30px 3px 30px;
    line-height: 13px;
    /* background-color: rgba(255,255,255,0.5); */
}

#fsso-terms-en-footer-actual {
    background: white;
    padding: 10px;
    width: 100%;
    color: black;
}

.vertical-flex-container {
	display: flex;
	flex-direction: column;
	max-width: 23vw;
	margin: auto;
}

#ssoForm {
	display: flex;
	flex-direction: column;
	max-width: 23vw;
	margin: auto;
}

@media (max-width: 1280px) {
	:root {
		--footer-height: 50px; /* Default footer height */
	}
	.main-wrapper {
		min-height: calc(100vh - 50px);
		min-height: calc(100vh - var(--footer-height));		
		height: unset;
		padding: 0;
		margin: 0;
	}
	footer {
		position: relative;
		height: unset;
	}
}

@media (max-width: 1024px) {
	:root {
		--footer-height: 50px; /* Default footer height */
	}
	.main-wrapper {
		min-height: calc(100vh - 50px);
		min-height: calc(100vh - var(--footer-height));		
		height: unset;
		padding: 0;
		margin: 0;
	}
	footer {
		position: relative;
		height: unset;
	}
	.brand_wrapper, .form_wrapper {
		flex: 0 0 40%; /* Make both divs grow equally */
	}
	
	h1 {
		font-size: 3vw;
        font-size: clamp(1.5rem, 3vw, 2rem);
	}
	h4 {
		font-size: 2.5vw;
		font-size: clamp(1rem, 2.5vw, 1.5rem);
	}
	#ssoForm, .vertical-flex-container { 
		max-width: 32vw;
	}
	.pop_content {
        width: 90% !important;
        margin-top: 20px !important;
		padding: 20px 20px;
		margin-bottom: 20px;
    }
	
}

@media (max-width: 950px) {
	:root {
		--footer-height: 50px; /* Default footer height */
	}
	.main-wrapper {
		min-height: calc(100vh - 50px);
		min-height: calc(100vh - var(--footer-height));		
		height: unset;
		padding: 0;
		margin: 0;
	}
	footer {
		position: relative;
		height: unset;
	}
}

@media (max-width: 935px) {
	:root {
		--footer-height: 50px; /* Default footer height */
	}
	.main-wrapper {
		min-height: calc(100vh - 50px);
		min-height: calc(100vh - var(--footer-height));		
		height: unset;
		padding: 0;
		margin: 0;
	}
	footer {
		position: relative;
		height: unset;
	}
}

@media (max-width: 768px) {
	:root {
		--footer-height: 50px; /* Default footer height */
	}
	.main-wrapper {
		min-height: calc(100vh - 50px);
		min-height: calc(100vh - var(--footer-height));	
		height: unset;
		padding: 0;
		margin: 0;
	}

	footer {
		position: relative;
		height: unset;
	}

	.brand_wrapper, .form_wrapper {
		flex: 0 0 40%; /* Make both divs grow equally */
	}
	
	h1 {
		font-size: 1.5vw;
		font-size: clamp(1rem, 2.5vw, 1.5rem);
	}
	h4 {
		font-size: 1.5vw;
		font-size: clamp(1rem, 2vw, 1.5rem);
	}
	#ssoForm, .vertical-flex-container { 
		max-width: 32vw;
	}
	.btn {    
		font-size: 1vw;
		font-size: clamp(1rem, 2.5vw, 1.5rem);
	}
	
}

@media (max-width: 600px) {
    .pop_content {
        width: 90% !important;
        margin-top: 20px !important;
        padding: 20px 20px !important;
    }
}

@media (max-width: 550px) {
	:root {
		--footer-height: 72px; /* Default footer height */
	}
    .main-wrapper {
        flex-wrap: wrap;
		align-content: center;
		min-height: calc(100vh - 72px);
		min-height: calc(100vh - var(--footer-height));	
		height: unset;
		padding: 0;
		margin: 0;
    }
	footer {
		position: relative;
		height: unset;
	}
	.brand_wrapper, .form_wrapper {
		flex: 0 0 90%; /* Make both divs grow equally */
	}
	h1 {
		font-size: 6.5vw;
        font-size: clamp(1.5rem, 6.5vw, 2.5rem);
	}
	h4 {
		font-size: 5.5vw;
		font-size: clamp(1.4rem, 5.5vw, 2rem);
	}
	#ssoForm, .vertical-flex-container { 
		max-width: 78vw;
	}
	.btn {    
		font-size: 1vw;
		font-size: clamp(1rem, 1.5vw, 1.5rem);
	}
	.brand_wrapper img {
        height: 75px;
    }
	.brand_wrapper {
		height: 250px;
		//padding: 30px;
	}	
	#ssodiv hr {
		display: none;
	}
}

@media (max-width: 375px) {
	:root {
		--footer-height: 72px; /* Default footer height */
	}
    .main-wrapper {
        flex-wrap: wrap;
		align-content: center;
		min-height: calc(100vh - 72px);
		min-height: calc(100vh - var(--footer-height));	
		height: unset;
		padding: 0;
		margin: 30px 0;
    }
}

@media (max-height: 540px) {
	:root {
		--footer-height: 72px; /* Default footer height */
	}
    .main-wrapper {
        flex-wrap: wrap;
		align-content: center;
		min-height: calc(100vh - 72px);
		min-height: calc(100vh - var(--footer-height));	
		height: unset;
		padding: 0;
		margin: 30px 0;
    }
}

@media (min-width: 1600px) {
	:root {
		--footer-height: 50px; /* Default footer height */
	}
	
	.main-wrapper {
		min-height: calc(100vh - 50px);
		min-height: calc(100vh - var(--footer-height));
		height: unset;
		padding: 0;
		margin: 0;
	}
	
	footer {
		position: relative;
		height: unset;
	}

	.brand_wrapper, .form_wrapper {
		flex: 0 0 35%; /* Make both divs grow equally */
	}
	
	h1 {
		font-size: 1.5vw;
		font-size: clamp(1rem, 2.5vw, 1.5rem);
	}
	h4 {
		font-size: 1.5vw;
		font-size: clamp(1rem, 2vw, 1.5rem);
	}
	
	.btn {    
		font-size: 1vw;
		font-size: clamp(1rem, 2.5vw, 1.5rem);
	}	
	.brand_wrapper {
		height: 450px;
	}
	.brand_wrapper, .form_wrapper {
		padding: 150px 0px;
	}
	
}

@media (min-width: 2560px) {
	:root {
		--footer-height: 50px; /* Default footer height */
	}
	
	.main-wrapper {
		min-height: calc(100vh - 50px);
		min-height: calc(100vh - var(--footer-height));
		height: unset;
		padding: 0;
		margin: 0;
	}
	
	footer {
		position: relative;
		height: unset;
	}
}

@media (min-width: 3840) {
	:root {
		--footer-height: 50px; /* Default footer height */
	}
	
	.main-wrapper {
		min-height: calc(100vh - 50px);
		min-height: calc(100vh - var(--footer-height));
		height: unset;
		padding: 0;
		margin: 0;
	}
	
	footer {
		position: relative;
		height: unset;
	}
}