/* FONTS */
@import url('../fonts/source-sans-release/source-sans-3.css');
/* COLORS */
:root {
    --primary: #0a8276;
    --primary_hover: #08665C;
    --primary_pressed: #06534B;
    --success: #4CA460;
    --warning: #E16B25;
    --error: #CD002F;
    --gray: #575352;
    --black: #1D1D1D;
    --white: #FFFFFF;
    --disabled: #BFBBBB;
    --page-background: #EEEDED;
    --form-background: #FFFFFF;
    --box-shadow: none;
    /* --box-shadow: 0 0 0 0.1rem rgba(10, 130, 118, 0.4); */
    --border-radius: 0.25rem;
    --checkbox-border-radius: var(--border-radius);
    --smaller-text-size: 12px;
}

.bg-primary {
    background-color: var(--primary) !important;
}
.error-text {
    color: var(--error);
}
.success-text{
    color: var(--success);
}
.warning-card {
    border-color: var(--warning);
    border-width: 1.5px;
    font-style: italic;
}

/* Background color */
body {
    background-color: var(--page-background);
    color: var(--black);
}
@media only screen and (max-width: 540px) {
    body {
      background-color: var(--form-background);
    }
}


@media only screen and (max-width: 540px) {
    /* Smaller font for smaller screens */
    label, p, a, span, button, .btn, div, input {
        font-size: 14px;
    }
}

@media only screen and (max-width: 390px) {
    /* removal of icons in input fields for smaller screens if we want it */
    /* .input-group span {
        display: none;
    } */
}

/* LINKS */
a, 
a:not([href]):not([class]) {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
a:hover,
a:not([href]):not([class]):hover {
    color: var(--primary_hover);
    text-decoration: underline;
    cursor: pointer;
}
a:focus {
    color: var(--primary_pressed);
}

/* CONTAINERS */
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}
.form-container {
    max-width: 540px;
    background-color: var(--form-background);
    padding: 48px;
    border-radius: var(--border-radius);
}
.form-container-large {
    max-width: 900px;
    background-color: var(--form-background);
    padding: 48px;
    border-radius: var(--border-radius);
}
.row {
    margin: 0;
    padding: 0;
}

@media only screen and (max-width: 540px) {
    .form-container, .form-container-large {
        padding: 24px;
    }
    .card {
        border: none;
    }
}

/* BUTTONS */
.btn {
    border-radius: var(--border-radius);
}
.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover{
    background-color: var(--primary_hover);
    border-color: var(--primary);
}
.btn-primary:focus {
    background-color: var(--primary_pressed);
    border-color: var(--primary);
}
.btn-primary:disabled,
.btn-primary[disabled] {
    background-color: var(--primary_pressed);
    border-color: var(--primary);
}

.btn-secondary {
    background-color: inherit;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-secondary:hover {
    background-color: inherit;
    border-color: var(--primary);
    color: var(--primary);
}
.btn-secondary:focus {
    background-color: inherit;
    border-color: var(--primary);
    color: var(--primary);
}
.btn:focus, .btn:active {
    border-color: var(--primary);
    box-shadow: var(--box-shadow) !important;
 }

/* INPUT FIELDS */
.form-control {
    color: var(--black);
    border-radius: var(--border-radius);
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: var(--box-shadow);
}
.form-control:disabled,
.form-control[readonly] {
    background-color: var(--page-background);
}

/* CHECKBOXES */
.form-check-input[type=checkbox]{
    border-radius: var(--checkbox-border-radius);
}

.form-check-input:focus {
    border-color: var(--primary);
    box-shadow: none;
}
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.registration-checkbox {
    font-size: var(--smaller-text-size);
    font-weight: 400;
    color: var(--gray);
    vertical-align: top;
    padding-top: 2px;
}

.registration-checkbox a {
    color: var(--gray);
    text-decoration: underline;
    font-style: normal;
    font-weight: 400;
}

/* Privacy Policy text */
#IFXPrivacyPolicy {
    font-size: var(--smaller-text-size);
    color: var(--gray);
}

#IFXPrivacyPolicy a {
    color: var(--gray);
    text-decoration: underline;
    font-style: normal;
    font-weight: 400;
}

#cmCNPrivacyPolicy {
    font-size: var(--smaller-text-size);
    font-weight: 400;
    color: var(--gray);
}

#cmCNPrivacyPolicy a {
    color: var(--gray);
    text-decoration: underline;
    font-style: normal;
    font-weight: 400;
}


/* Grow on hover */
.grow-on-hover {
    max-height: 1.5rem;
    transition: max-height 1.2s;
    -webkit-transition: max-height 1.2s;
    overflow: hidden;
}
.grow-on-hover:hover,
.grow-on-hover:checked {
    max-height: 24rem;
}

/* INPUT SELECTS */
.form-select {
    border-radius: var(--border-radius);
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: var(--box-shadow);
}


/* ICONS */
.input-group-text {
    background-color: var(--white);
    border-radius: var(--border-radius);
}
.label-icon {
    background-repeat: no-repeat;
    background-size: 20px;
    width: 20px;
    height: 20px;
    text-align: center;
}
.password-lock-icon {
    background-image: url('../images/icons/lock.svg');
}
.username-user-icon {
    background-image: url('../images/icons/user.svg');
    /* background-image: url('../images/user-outline.svg'); */
}
.username-mail-icon {
    background-image: url('../images/icons/mail.svg');
}
.cross-icon {
    background-image: url('../images/icons/cross.svg');
}
.inline-icon {
    background-repeat: no-repeat;
    background-size: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
}

.identifier-icon {
    background-repeat: no-repeat;
    background-size: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
}
.identifier-icon-small {
    background-repeat: no-repeat;
    background-size: 15px;
    width: 15px;
    height: 15px;
}
.identifier-list-item {
    color: var(--primary);
}
.identifier-list-item:hover {
    border-color: var(--primary);
    border-width: 1px;
    border-style: solid;
    border-radius: 0.25rem;
    cursor: pointer;
}

.huge_green_email_icon {
    background-image: url("../images/email_green.svg");
    background-repeat: no-repeat;
    display: block;
}

/* Banner */
.alert{
    text-align: center;
}

.email-box {
    border-radius: 0.25rem;
    background-color: var(--page-background);
}

/* FOOTER RULES */
footer {
    color: var(--white);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}
footer a {
    text-decoration: none;
    color: var(--white);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    margin-right: 32px;
}
footer a:hover {
    color: var(--white);
}

.footer-padding {
    padding-left: 240px;
    padding-right: 240px;
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (max-width: 1850px){
    .footer-padding{
        padding-left: 120px;
        padding-right: 120px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
}
@media (max-width: 1320px){
    .footer-padding{
        padding-left: 24px;
        padding-right: 24px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
}
@media (max-width: 767px) {
    footer a {
        font-size: 16px;
    }
}
@media (max-width: 480px){
    .footer-padding{
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
}


/* ################################### */
/* ###       PASSWORD TOGGLE       ### */
/* ################################### */
input[type=password]::-ms-reveal,
input[type=password]::-ms-clear
{
    display: none;
}

#password,
#currentPassword,
#confirmPassword,
#newPassword,
#newPassword1,
#newPassword2 {
    padding-right: 40px;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.password_show {
    background-image: url('../images/icons/password-show.svg');
    background-repeat: no-repeat;
    position: absolute;
    top: 30%;
    right: 14px;
    cursor: pointer;
    scale: 1.2;
    width: 16px;
    height: 16px;
    z-index: 3;
}

.password_hide {
    background-image: url('../images/icons/password-hide.svg');
    background-repeat: no-repeat;
    position: absolute;
    top: 30%;
    right: 14px;
    cursor: pointer;
    scale: 1.2;
    width: 16px;
    height: 16px;
    z-index: 3;
}
/* ######   END   ###### */

/* ################################### */
/* ###    PASSWORD REQUIREMENTS    ### */
/* ################################### */
.requirements {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    max-height: 0px;
    transition: max-height 1.2s;
    -webkit-transition: max-height 1.2s;
    overflow: hidden;
}

.requirements.show {
    max-height: 150px;
}

.requirement {
    display: flex;
    flex-direction: row;
    gap: 4px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}

.check {
    flex-shrink: 0;
    overflow: visible;
    background-image: url('../images/icons/check.svg');
    width: 12px;
    height: 12px;
    border: none;
}

.dot {
    flex-shrink: 0;
    overflow: visible;
    background-image: url('../images/icons/dot.svg');
    width: 12px;
    height: 12px;
    border: none;
}

.cross {
    flex-shrink: 0;
    overflow: visible;
    background-image: url('../images/icons/cross.svg');
    width: 12px;
    height: 12px;
    border: none;
}

.neutral {
    color: var(--gray);
    text-align: left;
    position: relative;
    font-size: 14px;
}

.success {
    color: var(--success);
    text-align: left;
    font-size: 14px;
    position: relative;
}

.failure {
    color: var(--error);
    text-align: left;
    position: relative;
    font-size: 14px;
}
/* ######   END   ###### */

/* ################################### */
/* ######    FORM VALIDATION    ###### */
/* ################################### */
.input-control.success input,
.input-control.success select {
    border-color: var(--success)!important;
}
.input-control.error input,
.input-control.error select {
    border-color: var(--error) !important;
}
.input-control .validation-error {
    color: var(--error);
    font-size: 12px;
    height: 16px;
}
.validation-error {
    display: none;
}
/* #####   END   ##### */

/* .registrations-fixed-top {
    margin-top: 60px !important;
} */

.profile__email-verify-card {
    border-color: var(--page-background);
    border-width: 1.5px;
    padding: 15px 25px 15px 25px;
}
@media only screen and (max-width: 540px) {
    .profile__email-verify-card {
      padding: 0;
    }
}