/*!
 * Bootstrap v4.5.0 (https://getbootstrap.com/)
 * Copyright 2011-2020 The Bootstrap Authors
 * Copyright 2011-2020 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

 @font-face {
    font-family: 'Effra';
    font-style: normal;
    font-weight: normal;
    src: local('Effra'), url('../../fonts/Effra_Std_Rg.woff') format('woff');
}

*,
::after,
::before {
    box-sizing: border-box;
}

html {
    font-family: Effra, sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    font-family: Effra, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    color: #1e1e1e;
    text-align: left;
    background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

p {
    margin: 0;
    letter-spacing: normal;
}

ul {
    margin: 0;
}

img {
    vertical-align: middle;
    border-style: none;
}

label {
    font-size: 14px;
    color: #1e1e1e;
    font-weight: 500;
    margin-bottom: 4px;
}

select {
    font-family: Effra;
    font-size: 14px;
    appearance: none;
    border: none;
    color: #1a5999;
    cursor: pointer;
    word-wrap: normal;
    outline: none !important;
}

.container {
    width: 100%;
    height: 100vh;
}

.form-control {
    display: block;
    width: 100%;
    height: 40px;
    padding: 6px 12px;
    font-family: Effra;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.5;
    color: #1e1e1e;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #c6c6c6;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out;
    outline: none;
}

.form-control:focus {
    color: #1e1e1e;
    background-color: #fff;
    border:1px solid #1a5999;
}

.form-control::-webkit-input-placeholder {
    color: #444444;
    opacity: 1;
}

.form-control::-moz-placeholder {
    color: #444444;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: #444444;
    opacity: 1;
}

.form-control::-ms-input-placeholder {
    color: #444444;
    opacity: 1;
}

.form-control::placeholder {
    color: #444444;
    opacity: 1;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

.form-error {
    background-color: #fff2f2!important;
    color: #1e1e1e!important;
    border: 1px solid #e52315!important;
}

.form-group {
    margin-bottom: 24px;
}

.form-group button {
    width: 100%;
}

.btn {
    display: inline-block;
    font-family: Effra;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 8px 0px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 24px;
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}

a.btn.disabled,
fieldset:disabled a.btn {
    pointer-events: none;
}

.btn-primary {
    color: #fff;
    background-color: #1a5999;
    border: none;
}
.btn-primary:hover {
    color: #fff;
    background-color: #12406d;
}

.btn-primary.focus,
.btn-primary:focus {
    color: #fff;
    background-color: #12406d;
}

.btn-primary.disabled,
.btn-primary:disabled {
    color: #fff;
    background-color: #96b2cb;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #12406d;
}

.btn-secondary {
    color: #1a5999;
    background-color: #ffffff;
    border: 1px solid #1a5999;
}

.btn-secondary:hover {
    color: #1a5999;
    background-color: #ecf3fb;
    border-color: #1a5999;
}

.btn-secondary.focus,
.btn-secondary:focus {
    color: #1a5999;
    background-color: #ecf3fb;
    border-color: #1a5999;
}

.btn-secondary.disabled,
.btn-secondary:disabled {
    color: #96b2cb;
    background-color: #ffffff;
    border-color: #96b2cb;
}

.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active,
.show > .btn-secondary.dropdown-toggle {
    color: #1a5999;
    background-color: #ecf3fb;
    border-color: #1a5999;
}

.btn-redirect {
    width: 100%;
}

.btn-redirect:hover {
    text-decoration: none!important;
}

.input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

.input-group:focus-within > label {
    color: #1a5999;
}

.alert-danger {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #1e1e1e;
    background-color: #fff2f2;
    border: 1px solid #e52315;
    border-radius: 6px;
    padding: 10px 8px;
    margin-bottom: 24px;
}

.text-justify {
    text-align: justify !important;
}
.text-wrap {
    white-space: normal !important;
}
.text-nowrap {
    white-space: nowrap !important;
}
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* CUSTOM CG STYLING */

a {
    font-size: 14px;
    color: #1a5999;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: #12406d;
    text-decoration: none;
}

a:active {
    color: #0d2d4c;
    text-decoration: none;
}

.login-page {
    display: flex;
    flex-direction: row;
}


.background-image {
    width: inherit;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.image-overlay {
    position: fixed;
    left: 0px;
    bottom: 0px;
    height: 200px;
    width: inherit;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5));
}

.brand-slogan {
    position: fixed;
    bottom: 0px;
    font-size: 46px;
    color: #ffffff;
    text-align: left;
    padding: 0px 0px 4.5% 4.5%;
}

.login-form {
    display: flex;
    flex-direction: column;
    width: 488px;
    height: 100%;
    margin: 0 auto;
}

.logo-container {
    margin-bottom: 64px;
}

.brand-logo {
    width: 248px;
    height: 132px;
    background-image: url('../assets/parent-logo-cg.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.login-info {
    width: 100%;
    margin-bottom: 32px;
}

.login-info > h4 {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.33;
    margin-bottom: 16px;
}

.login-info > p {
    font-size: 16px;
    line-height: 1.5;
}

.mfa-options-message {
    margin-bottom: 12px;
}

.mfa-options-message > p {
    font-size: 14px;
    font-weight: 500;
}

.mfa-radio-group {
    margin-bottom: 32px;
}

.mfa-radio-option {
    margin-bottom: 16px;
}

.mfa-radio-option > label {
    display: flex;
    font-size: 16px;
    cursor:pointer;
}
.mfa-radio-option > label > input[type='radio'] {
    width: 18px;
    height: 18px;
    border: 2px solid #c6c6c6;
    padding: 3px;
    background-color: transparent;
    appearance: none;
    border-radius: 50%;
    background-clip: content-box;
    margin-right: 8px;
    cursor: pointer;
}
.mfa-radio-option > label > input[type='radio']:checked {
    border: 2px solid #1a5999;
    background-color: #1a5999;
}

.btn-group  {
    flex: 1;
}
.btn-group >.btn-primary {
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.link-group > a:first-of-type {
    margin-right: 16px;
}

.redirect-login {
    margin: 24px 0px;
    text-align: center;
}

.redirect-login > a {
    font-size: 16px;
    font-weight: 500;
}

.redirect-signup {
    font-size: 14px;
    margin-bottom: 66px;
    text-align: center;
}

.redirect-signup p {
    font-size: 14px;
    color: #1e1e1e;
}

.recovery-code-access {
    text-align: center;
}

.login-recovery-code > a{
    font-size: 16px;
}

.qr-app-option {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 14px;
    gap: 8px;
}

.qr-code {
    margin-bottom: 4px;
}

.footer-items {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-items a {
    font-size: 14px;
    margin-right: 16px;
}

.footer-items a:last-of-type {
    margin-right: 0px;
}

.certifications {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.copyright-info {
    font-size: 12px;
    color: #444444;
    text-align: center;
}

.resetPasswordBy .btn-primary {
    width: 100%;
}

.icon-error {
    mask-image: url('../assets/alert-outline.png');
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position:center;
    -webkit-mask-image: url('../assets/alert-outline.png');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position:center;
    background-color: #e52315;
    height: 18px;
    width: 18px;
    margin-right: 4px;
}

.icon-error-filled {
    mask-image: url('../assets/alert-filled.png');
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position:center;
    -webkit-mask-image: url('../assets/alert-filled.png');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position:center;
    background-color: #e52315;
    height: 24px;
    min-width: 24px;
}

.icon-toggle-password {
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position:center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position:center;
    background-color: #1a5999;
    height: 24px;
    min-width: 24px;
    position: absolute;
    top: 34px;
    right: 12px;
    cursor: pointer;
}

.show-password {
    mask-image: url('../assets/icon-password.png');
    -webkit-mask-image: url('../assets/icon-password.png');

}

.hide-password {
    mask-image: url('../assets/icon-hide-password.png');
    -webkit-mask-image: url('../assets/icon-hide-password.png');
}

.error {
    color: #e52315!important;
}

.email-error {
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 16px;
    color: #e52315;
    margin-top: 4px;
}

.input-validation-error {
    background-color: #fff2f2;
    color: #e52315;
    border: 1px solid #e52315;
}

.field-validation-error::before {
    content: '';
    display: inline-block;
    background-image: url('../assets/alert-outline.png');
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
}

.field-validation-error {
    display: flex;
    font-size: 12px;
    line-height: 16px;
    margin-top: 4px;
}

/* Hide Cookie Consent */
.cc-window {
	display: none !important;
}

.input-password {
    position: relative;
}

.hidden {
    visibility: hidden;
}

.modal-overlay {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: black;
	opacity: 0.4;
}

.modal-container {
	width: 100%;
	height: 100%;
	display: none;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0;
	left: 0;
}

.qr-modal-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 24px;
}

.modal-small {
	width: 380px;
}

	.modal-small > .modal-header {
		display: flex;
		align-items: center;
		min-height: 68px;
		font-size: 20px;
		font-weight: 500;
		line-height: 28px;
		color: #1e1e1e;
		background-color: #ffffff;
		padding: 12px 24px 10px 24px;
		box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.25), 0 2px 1px 0 rgba(0, 0, 0, 0.05);
		border-top-left-radius: 4px;
		border-top-right-radius: 4px;
		position: relative;
	}

.modal-header > div {
	font-weight: 500;
	width: 272px;
}

.modal-header > .icon-close {
	position: absolute;
	top: 24px;
	right: 24px;
	cursor: pointer;
}

.modal-small > .modal-content {
	font-size: 16px;
	color: #1e1e1e;
	background-color: #ffffff;
	padding: 16px 24px;
	text-align: left;
}

.modal-small > .modal-footer {
	height: 72px;
	display: flex;
	justify-content: flex-end;
	background-color: #f4f4f4;
	padding: 16px 24px;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}

.modal-footer > .btn {
		padding: 0 32px;
}

@media screen and (min-width:360px) and (max-width:768px) {
    .login-page {
        height: 100%;
        flex-direction: column;
    }

    .background-image-container {
        display: none;
    }

    .form-content {
        flex: 1;
        padding: 16px;
    }

    .login-form {
        width: 100%;
        max-width: 488px;
        margin: 0 auto;
        justify-content: space-evenly;
    }

    .qr-card-group {
        display: none;
    }

    .footer-items {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer-items a {
        font-size: 14px;
        margin-right: 0px;
    }

    .qr-app-option {
        display: none;
    }
}

@media screen and (min-width:768px) and (max-width:1279px) {
    .container {
        max-width: 100% !important;
    }

    .login-page {
        justify-content: center;
    }

    .background-image-container {
        display: none;
    }

    .form-content {
        flex: 1;
        padding: 32px;
    }
}


@media screen and (min-width:1280px) {
    .background-image-container {
        width: 50vw;
        height: 100vh;
    }

    .background-image {
        background-image: url('/dist/cg/assets/background-images/base/bg1.png');
    }

    .brand-slogan {
        font-size: 36px;
    }

    .form-content {
        max-height: 100vh;
        overflow-y: auto;
        padding: 64px 72px 24px 72px;
        flex: 1;
    }
    
    .footer-content {
        padding-bottom: 24px;
        justify-content: flex-end;
    }
}

@media screen and (min-width:1600px) {
    .background-image-container {
        width: 63.5vw;
        height: 100vh;
    }

    .background-image {
        background-image: url('/dist/cg/assets/background-images/lg/bg1-lg.png');
    }

    .form-content {
        max-height: 100vh;
        overflow-y: auto;
        padding: 64px 2% 24px 2%;
        flex: 1;
    }

    .footer-content {
        padding-bottom: 24px;
        justify-content: flex-end;
    }
}
