/**
    FONTS
*/
@font-face {
    font-family: 'cabinBold';
    src: url(../fonts/Cabin-Bold.ttf) format('truetype');
}

@font-face {
    font-family: 'normsProItalic';
    src: url('../fonts/TT Norms Pro Italic.otf') format('opentype');
}

@font-face {
    font-family: 'normsProMedium';
    src: url('../fonts/TT Norms Pro Medium.otf') format('opentype');
}

@font-face {
    font-family: 'normsProRegular';
    src: url('../fonts/TT Norms Pro Regular.otf') format('opentype');
}

.what_new_message {
    display: none;
    position: absolute;
    width: 100%;
    height: 50px;
    top: 0;
    height: 50px;
    z-index: 2;
    color: white;
    text-align: center;
    background-color: red;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-family: normsProMedium, Arial;
}

.two-fa-modal {
    background: #000000a6;
    padding: 2em;
    z-index: 9999;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .two-fa-modal > .modal-content {
        border-radius: 6px;
        width: 400px;
        padding: 2em;
    }

        .two-fa-modal > .modal-content .modal-heading {
            display: flex;
            margin-bottom: 1em;
            align-items: center;
            justify-content: space-between;
        }

.modal-heading h2 {
    margin: 0;
}

.two-fa-modal > .modal-content input {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 1em;
    padding-left: 15px;
    height: 55px;
    border-color: #ddd;
}

.two-fa-modal > .modal-content p {
    margin-bottom: 1em;
}

.two-fa-modal > .modal-content button {
    width: 100%;
    border: none;
    background: #e23193;
    border-radius: 6px;
    padding: 0.8em 1em;
    font-size: 18px;
}

    .two-fa-modal > .modal-content button:hover {
        border: none;
        background: #005ce4;
    }

.error_message {
    font-family: normsProMedium, Arial;
    font-size: 12px;
    color: red;
}

html, body {
    height: 100%;
    background-color: unset !important;
    color: unset !important;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-font-smoothing: antialiased;
}

#frmLogon {
    width: 100%;
}

.component-container {
    display: flex;
    flex-flow: row wrap;
    margin: 0;
    font-family: normsProRegular, Arial, sans-serif;
    height: 100%;
    position: relative;
}

.component-container__photo-background {
    background-color: #313366;
    height: 100%;
    width: 37%;
    position: absolute;
    right: 0;
    box-shadow: 0 0 75px 80px #313366;
}

/**
    HEADER CONTAINER
*/
.component-container__header-container {
    display: flex;
    justify-content: flex-end;
    margin: 50px 55px 0 0;
    width: 100%;
    position: relative;
    height: 50px;
}

.header-container__logo {
    height: 40px;
    width: 210px;
    object-fit: cover;
}

.header-container__logo-small-screen {
    display: none;
}

/**
    HEADER CONTAINER END
*/

/**
    CONTENT CONTAINER
*/

.component-container__content-container {
    width: 45vw;
    min-width: 850px;
    margin-left: auto;
    height: 750px;
    position: relative;
    display: flex;
}

.content-container__small-screen-support-text {
    display: none;
}

.content-container__login-container {
    display: flex;
    flex-flow: row wrap;
    width: 380px;
    height: 100%;
    margin-top: 60px;
    align-content: baseline;
}

.login-container__login-box {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: baseline;
    width: 100%;
    height: 600px;
    background-color: white;
    border-radius: 25px;
}

.login-box__logo {
    height: 65px;
    margin: 55px auto 30px auto;
}

.login-box__text {
    width: 100%;
    text-align: center;
    color: #313366;
    font-family: cabinBold, Arial;
    font-size: 18px;
}

.login-box__input-holder {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    margin-top: 25px;
    position: relative;
}

    .login-box__input-holder div {
        display: flex;
        align-items: center;
        padding-left: 15px;
        box-sizing: border-box;
        width: 75%;
        height: 50px;
        border-radius: 10px;
        border: 1px solid gray;
        margin-bottom: 25px;
        outline: none;
        box-shadow: none !important;
        font-family: normsProMedium, Arial;
    }

/*.input-holder__username-input:focus {
    border: 1px solid #dd007d;
}*/

.input-holder__username-input input {
    font-size: 15px;
}

.username-input__info-icon {
    width: 20px;
    height: 20px;
}

.input-holder__password-input input, .input-holder__username-input input {
    border: none;
    outline: none;
    box-shadow: none !important;
    padding-left: 10px;
    font-family: normsProMedium, Arial;
    width: 100%;
}

.input-holder__username-input img, .input-holder__password-input img {
    width: 15px;
}

.input-holder__forgotten-pass-text {
    margin-left: auto;
    margin-right: 38px;
    margin-top: -10px;
    font-size: 10px;
    font-family: normsProMedium, Arial;
    color: gray;
    cursor: pointer;
}

.input-label {
    position: absolute;
    padding: 4px;
    background-color: white;
    font-size: 10px;
    color: black;
    font-family: normsProMedium, Arial;
}

.input-holder__username-label {
    top: -10px;
    left: 48px;
}

.input-holder__password-label {
    top: 65px;
    left: 48px;
}

.login-box__log-in-button {
    background-color: #dd007d;
    height: 45px;
    width: 150px;
    border: none;
    border-radius: 25px;
    margin-top: 30px;
    font-family: cabinBold, Arial;
    cursor: pointer;
    font-size: 17px;
}

    .login-box__log-in-button:hover {
        background-color: #dd007d !important;
        box-shadow: none;
    }

.input-tooltip-username, .input-tooltip-password {
    margin-top: 8px;
    margin-right: 12px;
    color: gray;
    cursor: pointer;
    user-select: none;
}

.tooltip-text {
    text-align: center;
}

.focused-div {
    border: 1px solid #dd007d !important;
}

.focused-tooltip {
    color: #dd007d;
}

.login-container__download-container {
    display: flex;
    height: 125px;
    flex-flow: row wrap;
    justify-content: center;
    margin-top: 55px;
}

.download-container__text {
    width: 100%;
    height: 40px;
}

    .download-container__text p {
        width: 100%;
        color: black;
        text-align: center;
        font-family: normsProRegular, Arial;
        font-size: 13px;
    }

        .download-container__text p:nth-child(2) {
            font-family: normsProMedium, Arial;
            font-size: 12px;
            letter-spacing: -0.5px;
        }

.download-container__images {
    width: 100%;
    height: 30px;
    text-align: center;
    margin-top: -30px;
}

    .download-container__images img {
        height: 26px;
        margin: 0 7px;
        cursor: pointer;
    }

.content-container__text-container {
    display: flex;
    flex-flow: row wrap;
    align-content: baseline;
    width: 60%;
    color: white;
    margin: 160px 10px 0 60px;
}

    .content-container__text-container p {
        width: 100%;
        text-decoration: none;
        color: inherit;
    }

        /* LOGIN TEXT */
        .content-container__text-container p:nth-child(1) {
            font-size: 30px;
            line-height: 1.2;
            font-family: normsProMedium, Arial;
            margin: 90px 0 35px 0;
        }

        .content-container__text-container p:nth-child(2) {
            font-size: 24px;
            font-family: normsProRegular, Arial;
        }

/**
    CONTENT CONTAINER END
*/

/**
    BOTTOM CONTAINER
*/

.component-container__bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 50px;
    width: 100%;
    height: 55px;
    padding: 0 0 25px 0;
    position: relative;
}

.bottom-container__text {
    font-family: normsProRegular, Arial, sans-serif;
    width: 410px;
    color: white;
    height: auto;
    max-height: 70px;
    word-break: break-word;
    overflow: hidden;
}

.bottom-container__images {
    display: flex;
    align-items: center;
}

    .bottom-container__images img {
        width: 45px;
        margin: 0 8px;
    }

.terms-cons-link {
    cursor: pointer;
}

.bottom-container__custom-company {
    display: none;
    flex-flow: row wrap;
    width: 240px;
    justify-content: flex-end;
}

    .bottom-container__custom-company p {
        color: white;
        font-size: 10px;
        font-family: normsProRegular, Arial, sans-serif;
        text-align: right;
        width: 100%;
    }

.terms-conditions-text {
    margin-top: 15px;
}

.bottom-container__custom-company img:nth-child(2) {
    width: 60px;
    margin-right: 25px;
    object-fit: contain;
}

.bottom-container__custom-company img:nth-child(3) {
    width: 120px;
    object-fit: contain;
}

.images__sage {
    width: 100px !important;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }


/**
    BOTTOM CONTAINER END
*/

/**
    Media queries
*/

@media (min-width: 320px) and (max-width: 380px) {
    .content-container__login-container {
        width: 300px !important;
    }

    .content-container__text-container p:nth-child(1) {
        font-size: 20px !important;
    }

    .content-container__text-container p:nth-child(2) {
        font-size: 16px !important;
        margin: 10px 0 10px 0;
    }

    .input-holder__password-label, .input-holder__username-label {
        left: 40px;
    }
}


@media (min-width: 320px) and (max-width: 500px) {
    .component-container__bottom-container {
        margin: auto 0 0 0;
    }

    .bottom-container__images {
        margin: 20px;
    }

    .component-container__bottom-container {
        height: auto;
    }
}


@media (min-width: 600px) and (max-width: 1024px) {
    .component-container__content-container {
        width: 80%;
        min-width: 740px;
    }

    .content-container__text-container {
        margin: 120px auto 0 35px;
    }

        .content-container__text-container p:nth-child(1) {
            font-size: calc(18px + (36 - 18) * ((100vw - 300px) / (1600 - 300)));
        }

        .content-container__text-container p:nth-child(2) {
            font-size: calc(18px + (26 - 18) * ((100vw - 300px) / (1600 - 300)));
            margin: 10px 0 10px 0;
        }
}

@media (min-width: 320px) and (max-width: 850px) {

    /* Body */

    .component-container__photo-background {
        width: 100%;
        height: 20%;
    }

    /* Header */
    .component-container__header-container {
        justify-content: space-between;
        align-items: center;
        margin: 50px auto;
        width: 85%;
    }

    .header-container__logo-small-screen {
        display: block;
        height: 55px;
    }

    .header-container__logo {
        height: 30px;
    }

    .component-container__bottom-container {
        flex-flow: row wrap;
        justify-content: center;
        margin: 0 0 25px 0;
    }

    /* Login box text container */

    .component-container__content-container {
        flex-flow: column-reverse;
        align-items: center;
        width: 100%;
        justify-content: center;
        min-width: unset;
    }

    .content-container__login-container {
        width: 370px;
        margin-top: 35px;
    }

    .content-container__text-container {
        width: 350px;
        text-align: center;
        margin: 50px 0 0 0;
    }

        .content-container__text-container p:nth-child(1) {
            font-size: 28px;
            margin: 0 0 15px 0;
        }

        .content-container__text-container p:nth-child(2) {
            font-size: 18px;
        }

    /* Login box */

    .login-container__login-box {
        height: 420px;
        padding: 30px 0 20px 0;
    }

    .login-box__logo {
        display: none;
    }

    .login-box__log-in-button {
        margin-top: 15px;
    }

    .input-holder__username-input, .input-holder__password-input {
        width: 80% !important;
        height: 50px !important;
    }

        .input-holder__username-input img, .input-holder__password-input img {
            width: 15px;
        }

    /*.input-holder__password-label {
        top: 63px;
    }*/

    .input-holder__forgotten-pass-text {
        margin: -10px auto 0 auto;
        font-size: 11px;
    }

    /* Images */
    .bottom-container__text {
        width: 55%;
        min-width: 310px;
        text-align: center;
        font-size: 17px;
    }

    .bottom-container__images {
        margin-top: 20px;
        width: 400px;
        flex-flow: row wrap;
        justify-content: center;
    }

        .bottom-container__images img {
            width: 55px;
            margin: 0 8px;
        }

    .images__sage {
        width: 165px !important;
        margin: 0 100px 10px 100px !important;
    }

    .terms-conditions-text {
        display: block;
        margin: 35px 0 30px 0;
        color: white;
        font-size: 14px;
        width: 100%;
        text-align: center;
        font-family: normsProRegular, Arial;
    }

    /* Bottom container */

    .bottom-container__custom-company {
        height: 120px;
        margin-top: 30px;
    }

    .terms-conditions-text {
        margin: 15px 0 30px 0;
    }
}

@media (min-width: 1025px) and (max-width: 1500px) {
    .component-container__content-container {
        width: 55vw;
        min-width: 700px;
    }

    .content-container__login-container {
        min-width: 300px;
    }

    .content-container__text-container {
        margin: 160px 0 0 40px;
    }

        .content-container__text-container p:nth-child(1) {
            font-size: calc(20px + (26 - 20) * ((100vw - 300px) / (1600 - 300)));
        }

        .content-container__text-container p:nth-child(2) {
            font-size: calc(16px + (22 - 16) * ((100vw - 300px) / (1600 - 300)));
        }
}

@media (min-width: 851px) and (max-width: 1500px) {
    .component-container__content-container {
        height: 635px;
    }

    /**
        Login box styling
    */

    .login-container__login-box {
        height: 500px;
        width: 325px;
    }

    .login-box__logo {
        height: 50px;
        margin: 30px auto 30px auto;
    }

    .login-box__log-in-button {
        height: 35px;
        width: 120px;
        margin-top: 15px;
    }

    .login-container__download-container {
        margin-top: 30px;
    }
}

@media (min-width: 320px) and (max-width: 1250px) {
    /* Body */

    html, body {
        background-size: cover !important;
    }
}
