﻿html, body {
    box-sizing: border-box;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

*, *:before, *:after {
    box-sizing: inherit;
}

* {
    outline: none;
}

@font-face {
    font-family: "Open Sans";
    font-display: swap;
    src: url("/p2.security.authentication/lib/bootstrap/fonts/open-sans-regular.woff") format("woff"), url(".woff") format("woff");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Open Sans";
    font-display: swap;
    src: url("/p2.security.authentication/lib/bootstrap/fonts/open-sans-semibold.woff") format("woff"), url(".woff") format("woff");
    font-style: normal;
    font-weight: 600;
}

@font-face {
    font-family: "Open Sans";
    font-display: swap;
    src: url("/p2.security.authentication/lib/bootstrap/fonts/open-sans-bold700.woff") format("woff"), url(".woff") format("woff");
    font-style: normal;
    font-weight: bold;
}

html {
    font-size: 12px !important;
}

body {
    font-family: "Open Sans", sans-serif;
    line-height: 1.56261;
    font-weight: 400;
}

button {
    font-family: "Open Sans", sans-serif;
}

html, body {
    height: 100vh;
    max-height: 100vh;
}

@media only screen and (min-width:600px) {
    body {
        overflow: hidden;
    }
}

body::before {
    content: " ";
    position: fixed;
    left: 0;
    top: 0;
    z-index: -3;
    height: 100vh;
    width: 100vw;
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
    background-color: black;
}

body::before {
    background-image: url("/p2.security.authentication/IFS-CLOUD.jpg");
}

body::after {
    content: " ";
    position: fixed;
    left: 0;
    top: 0;
    z-index: -2;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.5);
}

body.is-phone::before, body.is-phone::after {
    display: none;
}

.logo-lg {
    position: absolute;
    left: 0;
    top: 0;
    width: 10rem;
    height: 5.5rem;
}

    .logo-lg.is-phone {
        display: none;
    }

@media only screen and (max-width: 599px) {
    .logo-lg {
        display: none;
    }
}

.logo-lg::before {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 10rem;
    height: 5.5rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("/p2.security.authentication/IFS_LOGO_BG.svg");
}

.logo-lg::after {
    content: " ";
    position: absolute;
    z-index: 0;
    height: 3rem;
    width: 6.5rem;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    bottom: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("/p2.security.authentication/IFS_LOGO_NEGATIVE_RGB.svg");
}

.logo-sm {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    background-repeat: no-repeat;
    height: 3rem;
    width: 6.5rem;
    background-size: cover;
    margin-left: 2rem;
    margin-inline-start: 2rem;
    margin-top: 2rem;
    margin-block-start: 2rem;
}

@media only screen and (max-width: 599px) {
    .logo-sm {
        display: block;
    }
}

.logo-sm.is-phone {
    display: block;
}

.logo-sm.is-phone-landscape {
    margin-left: 4rem;
    margin-inline-start: 4rem;
}

@media only screen and (max-width: 599px) {
    .logo-sm.is-desktop {
        margin-left: 4rem;
        margin-inline-start: 4rem;
    }
}

.right-panel {
    float: right;
    min-width: 32.5rem;
    max-width: 36.5rem;
    height: 100%;
    background: #FFFFFF;
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.15);
    position: relative;
}

@media only screen and (max-width: 599px) {
    .right-panel {
        width: 100%;
        height: 100%;
        min-width: 100%;
        position: fixed;
    }
}

@media only screen and (min-width: 600px) {
    body {
        overflow: hidden;
    }

    .login-container {
        padding-left: 4rem;
        padding-inline-start: 4rem;
        padding-right: 4rem;
        padding-inline-end: 4rem;
        margin-top: 4rem;
        margin-block-start: 4rem;
    }
}

.right-panel.is-phone-landscape {
    min-width: 100%;
    max-width: 100%;
}

.right-panel.is-phone {
    overflow-y: auto;
}

@media only screen and (orientation: landscape) {
    .right-panel.is-tablet {
        overflow-y: auto;
    }
}

@media only screen and (orientation: portrait) {
    .right-panel.is-tablet {
        max-width: 32.5rem;
        float: none;
        height: fit-content;
        left: 0;
        right: 0;
        margin: auto;
        top: 0;
        bottom: 0;
        position: absolute;
        border-radius: 4px;
    }
}

@media only screen {
    .right-panel.is-desktop {
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
}

@media only screen and (hover: hover) {
    .right-panel.is-desktop:hover {
        overflow-y: auto;
    }

        .right-panel.is-desktop:hover::-webkit-scrollbar {
            width: 0.5rem;
        }

        .right-panel.is-desktop:hover::-webkit-scrollbar-thumb {
            background-color: #a6a6a6;
        }

            .right-panel.is-desktop:hover::-webkit-scrollbar-thumb:hover {
                background-color: #666666;
            }

        .right-panel.is-desktop:hover::-webkit-scrollbar-track {
            background-color: #F2F2F2;
        }
}

.right-panel .panel {
    height: inherit;
}

@media only screen and (max-width: 599px) {
    .right-panel .panel {
        width: 100%;
        height: auto;
    }
}

@media only screen and (min-width:600px) {
    .right-panel .panel {
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100%;
    }
}

@media only screen and (min-width:1280px) {
    .right-panel .panel {
        width: calc(32.5rem - 0.5rem);
    }
}

.login-container {
    position: relative;
    width: inherit;
}

@media only screen and (max-width: 599px) {
    .login-container.is-desktop {
        padding-left: 4rem;
        padding-inline-start: 4rem;
        padding-right: 4rem;
        padding-inline-end: 4rem;
        margin-top: 7rem;
        margin-block-start: 7rem;
    }
}

.login-container.is-phone {
    padding-left: 2rem;
    padding-inline-start: 2rem;
    padding-right: 2rem;
    padding-inline-end: 2rem;
    margin-top: 7rem;
    margin-block-start: 7rem;
}

.login-container.is-phone-landscape {
    padding-left: 4rem;
    padding-inline-start: 4rem;
    padding-right: 4rem;
    padding-inline-end: 4rem;
}

@media only screen and (min-width:600px) {
    .login-container {
        padding-left: 4rem;
        padding-inline-start: 4rem;
        padding-right: 4rem;
        padding-inline-end: 4rem;
        margin-top: 4rem;
        margin-block-start: 4rem;
    }
}

@media only screen and (min-width:600px) and (orientation: portrait) {
    .login-container {
        margin-top: 4rem;
        margin-block-start: 4rem;
        margin-bottom: 4rem;
        margin-block-end: 4rem;
    }
}

@media only screen and (min-width:1280px) {
    .login-container {
        padding-right: calc(4rem - 0.5rem);
        padding-inline-end: calc(4rem - 0.5rem);
    }
}

.input-field {
    Width: 392px !important;
    height: 52px;
    padding-left: 3.5rem;
    padding-inline-start: 3.5rem;
    background-color: #F8F8F8 !important;
    border: 1px solid #E8E8E8;
    width: 100%;
    color: #1A1B1D !important;
}

    .input-field:focus {
        background-color: #ffffff !important;
    }

    .input-field.input-error {
        border: 1px solid #FF5659;
    }

    .input-field.input-icon {
        padding-left: 3.5rem;
        padding-inline-start: 3.5rem;
    }

    .input-field:-webkit-autofill::first-line, .input-field:-webkit-autofill, .input-field:-webkit-autofill:hover, .input-field:-webkit-autofill:focus, .input-field:-webkit-autofill:active {
        font-family: "Open Sans", sans-serif !important;
        font-size: 1rem;
    }

.field-wrapper {
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    margin-top: 0.5rem;
    margin-block-start: 0.5rem;
}

.input-field-icons {
    position: absolute;
    top: 0;
    width: 3.5rem;
    height: 100%;
}

    .input-field-icons.start {
        left: 0;
    }

    .input-field-icons.end {
        right: 0;
    }

    .input-field-icons::before {
        content: "";
        width: 1.5rem;
        height: 1.5rem;
        background-size: cover;
        background-repeat: no-repeat;
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        top: 0;
        bottom: 0;
    }

    .input-field-icons.username-icon::before {
        background-image: url("/p2.security.authentication/person.svg");
    }

    .input-field-icons.password-icon::before {
        background-image: url("/p2.security.authentication/unlocked.svg");
    }

    .input-field-icons.password-mask-icon::before {
        background-image: url("/p2.security.authentication/view.svg");
    }

    .input-field-icons.password-mask-disabled-icon::before {
        background-image: url("/p2.security.authentication/view-disabled.svg");
    }

#password-confirm,
#password-new,
#password {
    padding-left: 3.5rem;
    padding-inline-start: 3.5rem;
    width: 100%;
    padding-right: 3.5rem;
    padding-inline-end: 3.5rem;
}

.password-wrapper {
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    justify-content: flex-end;
    margin-top: 0.5rem;
    margin-block-start: 0.5rem;
}

label {
    color: #1A1B1D;
    font-size: 16px;
}

input[type=submit] {
    border: none;
    font-family: "Open Sans", sans-serif;
    padding: 0;
    font-size: 24px;
    font-weight: bold;
    color: #1A1B1D !important;
}

input::-ms-reveal,
input::-ms-clear {
    display: none;
}

input[type=text],
input[type=password] {
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    padding: 0;
}

.form-group {
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.field-group {
    margin-bottom: 2rem;
    margin-block-end: 2rem;
}

.field-group-password {
    margin-bottom: 2rem;
    margin-block-end: 2rem;
}

.title {
    font-weight: bold;
    font-size: 24px;
    line-height: 37.44px;
    color: #1A1B1D;
    font-weight: 700;
}

.title-description {
    font-size: 1rem;
    line-height: 150%;
    margin-top: 1rem;
    margin-block-start: 1rem;
}

.title-group {
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-bottom: 1rem;
    margin-block-end: 1rem;
}

.btn {
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    border-radius: 4px;
    height: 4.5rem;
    font-weight: bold;
    font-size: 1.5rem;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
}

    .btn.sign-in-btn {
        background: #0087C1;
        color: #FFFFFF;
        font-size: 24px;
        font-weight: 700;
        Height: 72px;
    }

        .btn.sign-in-btn:focus, .btn.sign-in-btn:hover {
            background: #006996;
        }

    .btn.sign-in-alt-btn {
        background: #F8F8F8;
        border: 1px solid #E8E8E8;
        text-align: center;
        Height: 72px;
        width:100%
    }

        .btn.sign-in-alt-btn:focus {
            background: #006996;
            color: #FFFFFF !important;
            border: none;
        }

        .btn.sign-in-alt-btn:hover {
            background: #0087C1;
            color: #FFFFFF !important;
            border: none;
        }

    .btn.is-phone-landscape {
        width: 60%;
        align-self: flex-end;
    }

@media only screen and (max-width: 599px) {
    .btn.is-desktop {
        width: 60%;
        align-self: flex-end;
    }
}

.sign-in-group {
    margin-bottom: 2rem;
    margin-block-end: 2rem;
}

@media only screen and (min-width:600px) and (orientation: portrait) {
    .sign-in-group {
        margin-bottom: 0;
        margin-block-end: 0;
    }
}

.sign-in-alt-group {
    margin-bottom: 1rem;
    margin-block-end: 1rem;
}

    .sign-in-alt-group:first-child {
        margin-top: 2rem;
        margin-block-start: 2rem;
    }

.link-text {
    align-self: center;
    text-align: center;
    padding-right: 0.25rem;
    padding-inline-end: 0.25rem;
    padding-left: 0.25rem;
    padding-inline-start: 0.25rem;
}

input[type=button] {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    border: none;
}

.divider {
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    margin-top: -15px;
}

.line {
    width: 40%;
    align-self: center;
    background: #D9D9D9;
    opacity: 0.3;
    height: 2px;
    margin-top: 1rem;
    margin-block-start: 1rem;
    margin-bottom: 1rem;
    margin-block-end: 1rem;
    font-size: 16px;
    font-weight: 700;
}

.line-text {
    color: #A2A2A5;
    opacity: 0.3;
    font-weight: bold;
    font-size: 1rem;
    align-self: center;
    font-size: 16px;
    font-weight: 700;
}

.form-login {
    margin-top: 3rem;
    margin-block-start: 3rem;
}

.form-login-has-alt {
    margin-top: 2rem;
    margin-block-start: 2rem;
}

::-webkit-input-placeholder {
    color: #666666;
    opacity: 0.3;
    font-size: 1rem;
}

:-moz-placeholder {
    color: #666666;
    opacity: 0.3;
    font-size: 1rem;
}

::-moz-placeholder {
    color: #666666;
    opacity: 0.3;
    font-size: 1rem;
}

:-ms-input-placeholder {
    color: #666666;
    opacity: 0.3;
    font-size: 1rem;
}

.hyperlink {
    text-decoration-line: underline;
    color: #0586F1;
    cursor: pointer;
}

.forgot-password {
    font-size: 1rem;
    margin-bottom: 1rem;
    margin-block-end: 1rem;
}

.back-to-login-container {
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    padding-top: 4rem;
    padding-block-start: 4rem;
    padding-left: 4rem;
    padding-inline-start: 4rem;
}

@media only screen and (max-width: 599px) {
    .back-to-login-container {
        padding-top: 6rem;
        padding-block-start: 6rem;
        padding-left: 2rem;
        padding-inline-start: 2rem;
    }
}

@media only screen and (max-width: 599px) {
    .back-to-login-container.is-desktop {
        padding-top: 6rem;
        padding-block-start: 6rem;
        padding-left: 4rem;
        padding-inline-start: 4rem;
    }
}

.back-to-login-container.is-phone-landscape {
    padding-top: 6rem;
    padding-block-start: 6rem;
    padding-left: 4rem;
    padding-inline-start: 4rem;
}

.back-to-login-container .back-to-login {
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}

.back-to-login-container .left-caret-wrapper {
    position: relative;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #F8F5F5;
    margin-right: 1rem;
    margin-inline-end: 1rem;
}

    .back-to-login-container .left-caret-wrapper::before {
        content: "";
        width: 1rem;
        height: 1rem;
        background-size: cover;
        background-repeat: no-repeat;
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        top: 0;
        bottom: 0;
        background-image: url("../icons/caret-left.svg");
    }

.alert-text-error {
    color: #FF5659;
}

.activate-link-wrapper {
    margin-bottom: 0.5rem;
    margin-block-end: 0.5rem;
}

.hide {
    display: none;
}

input[type=text], input[type=password] {
    padding-left: 3.5rem;
}

.field-validation-error {
    color: #FF5659;
}

@media only screen and (min-width: 1280px) {
    .right-panel .panel {
        width: calc(36.5rem - 0.5rem);
    }
}

@media only screen and (max-width: 599px) {
    .right-panel .panel {
        width: 100%;
        height: auto;
    }
}

.warning-label {
    padding-left: 32px;
    margin-top: -10px;
    font-size: 12px;
    color: #3e484d
}

.warning-label-text {
    font-size: 12px;
    color: #3e484d
}

.login-box-help {
    margin-top: -30px;
    color: #0173D1 !important;
    font-size: 14px !important;
}

.stayLogin-checkbox {
    margin-top: -20px;
}

input[type=checkbox] {
    border-color: red;
}

.rememberme-lable {
    font-size: 14px;
    padding-left: 10px;
    color: #3e484d;
}
