@import url('https://fonts.googleapis.com/css?family=Poppins');
@import url('https://fonts.googleapis.com/css?family=Space+Mono:400,700');

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    min-width: 320px;
    font-size: 16px;
}

img {
    margin: 0;
    padding: 0;
    display: block;
    position: relative;
}

form {
    margin: 0;
    padding: 0;
}

.mb-3 {
    margin-bottom: 1rem;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
    font-size: inherit;
    font-family: 'Poppins', Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1.25;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #A9A9A9;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-control::placeholder {
    color: transparent;
}

.form-control:focus::placeholder {
    color: transparent;
    opacity: 0;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #b3b8f5;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(88, 103, 221, 0.15);
}

.form-floating {
    position: relative;
}

.form-floating > .form-control {
    height: calc(3.5rem + 2px);
    min-height: calc(3.5rem + 2px);
    padding: 1.625rem 0.75rem 0.625rem;
}

.form-floating > label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem 0.75rem;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out;
    color: #6c757d;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    opacity: 0.85;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-floating>.form-control:focus,
.form-floating>.form-control:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: .625rem;
}

a:link,
a:visited,
a:focus {
    outline: none;
    color: #454545;
    text-decoration: none;
}

a:hover,
a:active {
    outline: none;
    color: #eb5a00;
}

.btn,
a.btn {
    font-size: inherit;
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    border: none;
    background-color: #eaeaea;
    color: #464646;
    transition: background-color 0.2s;
    cursor: pointer;
    line-height: normal;
}

.btn:hover,
a.btn:hover {
    background-color: #cccccc;
}

.btn:focus,
a.btn:focus {
    outline: none;
    box-shadow: 0 0 0 1.5px #cccccc;
}

a.btn.btn-orange,
.btn.btn-orange {
    background-color: #e55315;
    color: #fff;
}

a.btn.btn-orange:hover,
.btn.btn-orange:hover {
    background-color: #b32a1e;
}

a.btn.btn-orange:focus,
.btn.btn-orange:focus {
    outline: none;
    box-shadow: 0 0 0 1.5px #b32a1e;
}

body.page-index,
body.not-logged-in {
    background-repeat: no-repeat;
    overflow: hidden;
    font-family: 'Poppins', Helvetica, sans-serif;
}

#main {
    display: flex;
    min-height: 93vh;
    background: url() !important;
    overflow: hidden !important;
}

.not-logged-in div#main {
    margin-top: 0;
    box-shadow: none;
    padding: 0 !important;
}

#main > .login-layout {
    max-height: 100vh;
    overflow: visible;
    display: flex;
    width: 100%;
    flex-direction: row;
}

.mobile-logo {
    display: none;
}

form#login-form {
    z-index: 5;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

#login-form .login-wrap {
    font-size: 15px;
    font-family: 'Poppins', Helvetica, sans-serif;
    color: #000;
    padding: 1rem 5rem 3rem 5rem;
    background-color: #fff;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1);
    margin: auto;
    position: relative;
    width: 65%;
}

.portal-title {
    margin: 2rem 0 1rem 0;
    font-family: 'Space Mono';
    color: #000000;
    font-size: 50px;
    text-align: center;
}

.action-message {
    text-align: center !important;
}

.action-message p {
    font-size: inherit;
    font-family: 'Poppins', Helvetica, sans-serif;
    margin: 0 0 2rem 0;
}

.user-login {
    width: 100%;
    height: 10%;
    position: relative;
}

#login-error-message-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    height: 50px;
}

#login-error-message {
    text-align: center;
}

#login-btn,
.login-right-col .btn {
    width: 100%;
}

#login-btn {
    margin-top: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.is-hidden {
    display: none !important;
}

.login-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    animation: login-button-spin 0.8s linear infinite;
}

@keyframes login-button-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.login-right-col {
    position: sticky;
    top: 0;
    width: 50%;
    overflow: auto;
    display: flex;
}

.login-left-col {
    position: sticky;
    top: 0;
    width: 50%;
    background-color: #1C212E;
    color: #fff;
    height: 100vh;
    margin: 0 !important;
    overflow: auto;
}

.login-left-inner {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

.login-left-inner img {
    max-width: 12rem;
}

.tow-logo {
    width: 12rem;
    height: 2rem;
    margin: 2rem 2rem;
}

.login-left-content {
    text-align: center;
    top: auto;
    position: relative;
    margin: auto;
    padding-bottom: 1em;
}

.login-left-content h1 {
    font-family: 'Space Mono', monospace;
    font-size: 36px;
    line-height: 1.2;
    font-weight: normal;
    margin: 0 0 2rem 0;
    word-break: break-word;
    font-variant-ligatures: no-common-ligatures;
}

.login-left-text {
    margin: 0 0 1rem 0;
}

.login-left-text p {
    font-size: 15px;
    text-align: center;
    width: 50%;
    margin: 0 auto;
    float: none;
}

@media all and (max-width: 1815px) {
    #login-form .login-wrap {
        padding: 1rem 2rem 3rem 2rem;
    }

    .portal-title {
        margin: 2.5% 0 0 0;
        font-size: 36px;
    }
}

@media all and (max-width: 805px) {
    body.page-index,
    body.not-logged-in {
        overflow: auto;
    }

    .mobile-logo {
        display: block;
        width: 50%;
        height: 10%;
    }

    .mobile-logo img {
        max-width: 12rem;
        height: 2rem;
        margin: 1rem 1rem;
    }

    .action-message {
        padding-top: 2.5%;
    }

    .action-message p {
        margin: auto;
        padding: 0.5rem 0;
    }

    .portal-title {
        margin: 2.5% 0 0 0;
        font-size: 36px;
    }

    .action-message p {
        font-size: 14px;
    }

    .login-left-col,
    .login-right-col {
        position: static;
    }

    .login-left-col {
        width: 100%;
        min-height: auto;
        top: 75%;
        padding-top: 1%;
        display: flex;
        order: 2;
        overflow: unset;
    }

    .login-right-col {
        overflow: unset;
        order: 1;
        width: 100%;
    }

    .action-message p {
        color: #000;
    }

    .tow-logo {
        display: none;
    }

    .login-left-content {
        padding-bottom: 5%;
        margin: 5px 5px 0 5px;
    }

    .login-left-content h1 {
        font-family: 'Space Mono', monospace;
        font-size: 24px;
        line-height: 1.2;
        font-weight: normal;
        margin: 0 0 1rem 0;
        word-break: break-word;
        font-variant-ligatures: no-common-ligatures;
    }

    .login-left-text {
        display: flex;
        justify-content: center;
    }

    .login-left-text p {
        margin: 0 1rem 0;
        width: 90%;
    }

    #login-form .login-wrap {
        top: auto;
        width: 100%;
        height: min-content;
        margin: 0 0 1.5rem;
        padding: 1rem;
    }

    #login-error-message {
        font-size: 13px;
    }

    form#login-form {
        height: auto;
    }

    #main > .login-layout {
        max-height: unset;
        flex-direction: column;
    }
}