﻿.welcome-page {
	display: grid;
	justify-content: center;
	align-items: center;
	height: 100vh;
	flex-direction: column;
	align-content: center;
	grid-row-gap: 1em;
	line-height: 2em;
}

/*//	Identity Login  |  Customizations 
------------------------------------------------------------------------//*/

.page .login-page, 
.page .registration-page, 
.page .forgot-password-page, 
.page .reset-password-page
{
	background-color: unset;
	display: grid;
	grid-template-columns: 3fr 7fr;
	grid-template-rows: 100vh;
	height: 100vh;
	overflow: hidden;
	margin: 0;
	font-family: Mohr, sans-serif;
	width: calc(100vw - 2em);
}

@media (max-width: 900px) {
	.page .login-page,
	.page .registration-page, 
	.page .forgot-password-page,
	.page .reset-password-page {
 		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: 100vh;
 		width: 100%;
	}
}

.spacer
{
	height: 1em;
}

.body-container
{
	margin-top: 20vh;
}

.login-page h1, 
.registration-page h1, 
.forgot-password-page h1,
.reset-password-page h1
{
	font-size: x-large;
	color: #17224e;
	padding: 0;
	font-family: 'Mohr', sans-serif;
	font-weight: 700;
}

.login-page h3, 
.registration-page h3, 
.forgot-password-page h3,
.reset-password-page h3
{
    font-size: x-large;
    color: #17224e;
    font-family: 'Mohr', sans-serif;
    font-weight: 700;
    margin: 0;
    line-height: 1em;
 }

.login-page p, 
.registration-page p, 
.forgot-password-page p,
.reset-password-page p
{
	color: var(--gray);
	text-align: center;
	line-height: 1.5em;
	font-weight: 400;
	letter-spacing: 0.05rem;
	font-size: large;
	margin: 1em 0 0.5em 0;
}

 .forgot-password-page p {
     font-size: medium!important;
     padding: 0 1em;
 }

.form-group label
{
	font-size: small;
	font-weight: 500;
	letter-spacing: .025rem;
	color: gray;
}

.lead svg
{
	margin: 0 auto;
	margin-bottom: 1em;
}

/* Standard Login Card Styles */
.login-container
{
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 2em 0;
}

.login-page .content-container,
.registration-page .content-container,
.forgot-password-page .content-container,
.reset-password-page .content-container
{
	width: min(100%, 30rem);
	margin: 0 auto;
	align-self: center;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 0 1rem;
}

.lead
{
	font-size: 1.25rem;
	font-weight: 300;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0 auto;
	text-align: center;
	min-width: 340px;
	width: 40%;
}

.form-container
{
	display: flex;
	flex-direction: column;
	align-content: center;
	gap: 0;
	min-width: 340px;
	width: 40%;
	margin: 0 auto;
}

.form-card
{
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 2.5rem;
	background-color: #fff;
	border-radius: 0.75rem;
	border: 1px solid rgba(17, 34, 78, 0.08);
	box-shadow: 0 20px 32px rgba(17, 34, 78, 0.08);
	width: min(100%, 30rem);
	margin: 0 auto;
	color: #17224e;
	text-align: left;
}

.form-card__header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
}

.form-card__subtitle
{
	color: var(--black-400, #51525b);
	font-size: 1rem;
	line-height: 1.5rem;
}

.form-card__phone
{
	font-weight: 600;
	color: var(--black-500, #010206);
}

.form-card__notification
{
	margin-top: 0.5rem;
	padding: 1rem 1.25rem;
	border-radius: 0.75rem;
	background-color: #e6f1ff;
	color: #0b3d91;
	border: 1px solid #96c2ff;
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.form-card__form
{
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 0.5rem;
}

.form-card__hint
{
	display: block;
	margin-top: 0.5rem;
	color: var(--black-300, #53586e);
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.form-card__remember
{
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
}

.form-card__actions
{
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 1.5rem;
	align-items: center;
}

.form-card__actions form
{
	width: 100%;
}

.form-card__alt
{
	color: var(--black-400, #51525b);
	font-size: 0.875rem;
	line-height: 1.25rem;
	text-align: center;
}

.code-input
{
	letter-spacing: 0.35rem;
	text-align: center;
	font-weight: 600;
}

.code-input::placeholder
{
	letter-spacing: 0.35rem;
	color: var(--black-200, #d9d9d9);
}

.button
{
	font-family: "Mohr", Helvetica, Arial, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 999px;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 3rem;
	width: 100%;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 140ms linear;
	text-decoration: none;
}

.button__primary
{
	background-color: #0074e0;
	color: #ffffff;
}

.button__primary:hover,
.button__primary:focus
{
	background-color: #006bd0;
	color: #ffffff;
	box-shadow: 0 8px 20px rgba(0, 116, 224, 0.25);
}

.button__link
{
	background-color: transparent;
	color: #00439c;
	border: 1px solid rgba(17, 34, 78, 0.08);
}

.button__link:hover,
.button__link:focus
{
	background-color: rgba(0, 116, 224, 0.08);
	color: #00397c;
}

@media (max-width: 600px) {
	.login-page .content-container,
	.registration-page .content-container,
	.forgot-password-page .content-container,
	.reset-password-page .content-container {
		width: 100%;
		padding: 0 0.75rem;
	}

	.form-card {
		padding: 2rem 1.5rem;
		box-shadow: 0 16px 28px rgba(17, 34, 78, 0.1);
	}

	.form-card__actions {
		align-items: stretch;
	}
}

.card
{
	position: relative;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	background-color: #fff;
	background-clip: border-box;
	border: 1px solid rgb(0 0 0 / 0%);
	border-radius: 0.25rem;
	width: 100%;
}

.form-control
{
	display: block;
	width: 100%;
	height: calc(1.5em + 0.75rem + 14px);
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	padding-top: 0.5em;
	border-radius: 0.5em;
} 

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

.control-container
{
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	margin-bottom: 1.5em;
}

.form-check
{
	position: relative;
	display: inline-flex;
	padding-left: 1.25rem;
	cursor: pointer;
}

.form-check-label
{
	vertical-align: baseline;
	line-height: 1em;
	height: 1.5em;
	display: flex;
	align-items: center;
	font-size: .85rem;
	margin-top: 0.15rem;
	font-weight: 500;
	color: var(--gray);
	letter-spacing: .015rem;
	cursor: pointer;
}

.button__login
{
	display: flex;
	width: 100%;
	justify-content: center;
	line-height: 2em;
	padding-top: .5em;
	margin-top: 1em;
}

.button__reset {
	display: flex;
	width: 30%;
	justify-content: center;
	line-height: 2em;
	padding-top: .5em;
	margin-top: 1em;
}

.forgot-password
{
	display: flex;
	justify-content: right;
}

.button__forgot-password
{
	font-size: small;
	background-color: transparent;
	border: 0 solid transparent;
	color: var(--gray);
	letter-spacing: 0.01rem;
	font-weight: 500;
	display: flex;
	justify-content: right;
	padding: unset;
	line-height: 2em;
}

.button__forgot-password:hover, .button__forgot-password:focus
{
	background-color: transparent;
	border: 0;
	box-shadow: 0 0 0 transparent;
	color: #17224e;
}
.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show > .btn-secondary.dropdown-toggle
{
	color: var(--gray);
	background-color: transparent;
	outline: transparent;
	border: 0;
	box-shadow: 0 0 0 transparent;
}

/* External Login Card Styles */

.card.external-login {
	margin: 0 1em 1em;
}

.external-login .card-header {
	padding: 0.75rem 1.25rem;
	margin-bottom: 0;
	background-color: rgba(0, 0, 0, 0);
	border-bottom: 1px solid rgba(0, 0, 0, 0);
}

.external-login .card-header h2 {
	font-size: medium;
	line-height: 1em;
	padding: unset;
	margin: unset;
}

.button__sso-login {
	display: flex;
	margin: 0 1.25em;
	justify-content: center;
	background: #e44949;
	border: #e44949;
	font-size: medium;
	line-height: 2.25em;
	padding-top: 0.5em;
	border-radius: 0.5em;
}

/* Content Areas Code */

.panel-1 {
	background-color: var(--quaternary);
	background-image: url(/assets/login-banner.svg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	display: flex;
	justify-content: center;
	align-items: center;
	background-blend-mode: overlay;
	height: 100vh;
}

svg.banner-logo g {
	fill: #007bff;
}

svg.banner-logo {
	width: 10vw;
	min-width: 140px;
	height: auto;
}

.panel-2 {
	display: grid;
	grid-template-rows: auto 1fr auto;
	background-color: #fff;
	height: 100vh;
	overflow-y: auto;
}

/* Nested Layout Elements  */
.header {
	background-color: transparent;
	text-align: left;
	border-bottom: 1px solid #f0f0f0;
	padding: 2em 0 1em 0;
	margin: 0 3em;
}

.logo {
	width: auto;
	margin: 0 auto;
	padding: 0em 0 2em 0;
}

.footer.content-box {
	bottom: 2em;
	right: 3em;
	display: inline-flex;
	position: fixed;
	font-size: small;
	gap: 0.5em;
	color: #ced4da;
}

.footer-link {
	color: lightgray;
	font-size: smaller;
	letter-spacing: .025rem;
	font-family: 'Mohr', sans-serif;
	font-weight: 400;
}

/*//	Input field icons	
----------------------------------------------------------------------//*/
.input-field__email, 
.input-field__password {
	padding-left: 2.75em;
}

span.field-indicator.email-icon {
	background-color: transparent;
	width: 3em;
	height: calc(3em + 2px);
	display: flex;
	position: absolute;
	content: url(/assets/user-icon.svg);
	padding: 0.95em;
}

span.field-indicator.password-icon {
	background-color: transparent;
	width: 3em;
	height: calc(3em + 2px);
	display: flex;
	position: absolute;
	content: url(/assets/lock-icon.svg);
	padding: 0.95em;
}

ul.secondary-link-list {
	display: inline;
	text-align: center;
	list-style-type: none;
	margin-top: 1em;
}

	ul.secondary-link-list > li {
		margin-bottom: 1em;
	}


		.secondary-link {
	color: var(--gray);
}

/*//	 Page Specific Styles - Register / Set New Password 
---------------------------------------------------------------------//*/

.form-group.button-container {
	display: flex;
	gap: 1em;
}

.button__save, .button__cancel {
    display: flex;
    width: 100%;
    justify-content: center;
    line-height: 2em;
    padding-top: 0.5em;
    color: var(--white)!important;
}

.button__cancel {
	background-color: var(--light-gray);
}

.button__cancel:hover {
	background-color: var(--primary);
	color: var(--white);
}

.alert-danger + * input {
	border: 1px solid indianred;
}
button.btn.btn-primary {
	border-radius: 0.5em;
	line-height: 2.25em;
}
.btn-primary {
    color: #fff;
    background-color: var(--quaternaryLight);
    border-color: var(--quaternaryLight);
	border-radius: .5em;
}

/*//	 Page Specific Styles - Password Reset  
---------------------------------------------------------------------//*/
.password-requirements,
.alert-danger {
	text-align: left;
	font-size: small !important;
	font-family: 'Mohr', sans-serif;
	font-weight: 400;
	letter-spacing: .025rem;
	padding: 1em 0 !important;
	border-radius: 0.5em;
	margin: 1em 1.5em !important;
	align-items: center;
	line-height: 1.75em;
}

.password-requirements {
	background: #3f7cfc21;
	display: flex;
	border: 1px solid #3f7cfc30;
}

.alert-danger strong {
	padding-left: 10px;
}

.password-requirements ul,
.alert-danger ul {
	margin-bottom: 0;
	text-indent: .25em;
}

.password-requirements ul {
    color: #0074E0;
    list-style-image: url('/assets/checklist-bullet-12.png');
}

.expiredPopup {
	display: block;
	position: fixed;
	z-index: 3;
	padding-top: 350px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}

.expiredPopup-content {
	background-color: #fefefe;
	margin: auto;
	padding: 15px;
	border: 1px solid #888;
	width: 30%;
}

.expiredPopup-body {
	text-align: -webkit-center;
}

.expiredPopup-header {
	padding: 0;
	background-color: white;
	color: #17224e;
	font-weight: 700;
	text-align-last: center;
	border-bottom: 1px solid #f0f0f0;
}

/*//	 Page Specific Styles - Password Reset - Confirmation  
---------------------------------------------------------------------//*/
.reset-password-page p {
    color: var(--gray);
    text-align: center;
    line-height: 1.5em;
    font-weight: 400;
    letter-spacing: 0.05rem;
    font-size: medium;
    margin: 1em 0 0.5em 0;
}

/*//	Responsive Display - Optimizations 
-----------------------------------------------------//*/
@media (max-width: 768px)
{
	.page .login-page, 
	.page .registration-page, 
	.page .forgot-password-page
	.page .reset-password-page {
		display: grid;
		grid-template-columns: 100%;
		grid-template-rows: auto;
		height: auto;
		overflow: visible;
		margin: 0 auto;
	}

	.panel-1,
	.panel-1.content-box {
		display: none;
	}

	.panel-2 {
		display: grid;
		grid-template-rows: unset;
		grid-template-columns: max-content;
		justify-content: center;
		height: auto;
		overflow: visible;
	}

	.header,
	.header h1 {
		font-size: medium;
		text-align: center;
		display: none;
	}

	.form-container {
		display: flex;
		flex-direction: column;
		align-content: center;
		gap: 0;
		min-width: 340px;
		width: 40%;
		margin: 0 auto;
	}

	.login {
		min-width: unset;
		display: grid;
		place-content: center;
		width: calc(100vw - 4em);
		margin-left: 2em;
	}

	.container__remember-me {
		display: inline-block;
		text-align: left;
		line-height: 3em;
		width: fit-content;
	}

	.container__sign-in a {
		display: grid;
		height: 2em;
		line-height: 2em;
		font-size: small;
		color: var(--gray);
		font-weight: 400;
		letter-spacing: 0.05rem;
		justify-content: right;
		padding: 0.5em;
	}
	.lead p {
		max-width: 300px;
		margin: 0 auto;
		padding-top: 1em;
		color: var(--primary);
		letter-spacing: .015rem;
	}
  
}
@media (max-width: 500px)  {
	.footer .content-box {
		display: none;
	}
}


/*//	 Page Specific Styles - Logged Out Page
---------------------------------------------------------------------//*/
.logged-out-page .fullscreen__content-container {
	display: flex;
	width: 100vw;
	height: 100vh;
	font-family: "Mohr", sans-serif;
	justify-content: center;
	align-items: center;
	flex-direction: column;
    background-color: var(--white);
}
 
.logged-out-page .simple-preloader {
    height: 36px;
    width: 36px;
    margin: 45vh auto;
    border: 5px solid #e9ebee;
    border-top: 5px solid #3f7cfc;
    border-radius: 50%;
    animation: rotate .8s infinite linear;
    animation-delay: 0;
    transition: all 233ms ease-in-out;
}

@@keyframes rotate {
    0% { transform: rotate(0deg); } 
    100% { transform: rotate(360deg); }
}


.logged-out-page .fullscreen__content-container {
	display: flex;
	width: 100vw;
	height: 100vh;
	font-family: "Mohr", sans-serif;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	background-color: var(--white);
}

.logged-out-page .alert-info {
	color: #656a6f;
	background-color: transparent;
	border: 0;
	text-align: center;
	font-size: 1.5vmin;
	letter-spacing: .025rem;
	margin-top: 1em;
}
.fallback-link__return-to-login {
	opacity: 0;
}

/*//	Spinner for Placeholder Element - TESTING
-------------------------------------------------------------------------//*/

.loader__spinner,
.loader__spinner:after {
	border-radius: 50%;
	width: 36px;
	height: 36px;
}

.loader__spinner {
	margin: 0 auto;
	font-size: inherit;
	position: relative;
	 border: 5px solid #e9ebee;
    border-top: 5px solid #3f7cfc;
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-animation: load8 0.8s infinite linear;
	animation: load8 0.8s infinite linear;
}
@@-webkit-keyframes load8 {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@@keyframes load8 {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}


/*//	Show Password CSS		//*/
.field-icon {
    position: absolute;
    margin-top: -2.5em;
    right: 1.5em;
    padding: 0.25em;
    border-radius: 0.25em;
    cursor: pointer;
    z-index: 2;
}

.fa-eye {
	margin-right: 0.5em;
    content: url(/assets/eye-closed.png);
    opacity: .25;
}

.fa-eye-slash {
    margin-right: 0.5em;
    content: url(/assets/eye-open.png);
    opacity: .25;
}

/*//	Validation Messages		//*/

.field-validation-error {
    font-size: small;
    font-weight: 500;
    letter-spacing: .025rem;
    display: flex;
    height: auto;
    align-items: center;
    margin-top: 0.75em;
}

.input-validation-error {
    border: 1px solid var(--danger);
}

/*//	 Page Specific Styles - Login 
---------------------------------------------------------------------//*/

.lockedPopup {
	display: block;
	position: fixed;
	z-index: 3;
	padding-top: 350px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}

.lockedPopup-content {
	background-color: #fefefe;
	margin: auto;
	padding: 15px;
	border: 1px solid #888;
	width: 30%;
}

.lockedPopup-body {
	text-align: -webkit-center;
}

.lockedPopup-header {
	padding: 0;
	background-color: white;
	color: #17224e;
	font-weight: 700;
	text-align-last: center;
	border-bottom: 1px solid #f0f0f0;
}
