﻿
body {
    margin: 0;
    padding: 0;
    display: grid;
    place-content: center;
    min-height: 100vh;
    background: #fbfbfb;
}
#loading {
    background: #0000003b;
    width: 100vw;
    height: 100vh;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9999999999999;
}
.loader-cont {
    position: fixed;
    left: 50%;
    top: 50%;
    color: white;
    background-color: #0000008c;
    padding: 15px;
    border-radius: 5px;
    width: 120px;
    height: 120px;
    text-align: center;
    margin-top: -60px;
    margin-left: -60px;
}
.loader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid var(--main-accent); /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
#logreg-forms {
    width: 412px;
    height: fit-content;
    align-self: center;
    margin: 10vh auto;
    background-color: #f3f3f3;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    max-width: 90vw;
}

#logreg-forms.login-card-compact {
    padding-bottom: 15px;
}

    #logreg-forms form {
        width: 100%;
        max-width: 410px;
        padding: 15px;
        margin: auto;
        margin-bottom: -20px;
    }

    #logreg-forms.login-card-compact form {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    #logreg-forms .form-control {
        position: relative;
        box-sizing: border-box;
        height: auto;
        padding: 10px;
        font-size: 16px;
    }

        #logreg-forms .form-control:focus {
            z-index: 2;
        }

    #logreg-forms .form-signin input[type="email"] {
        margin-bottom: -1px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    #logreg-forms .form-signin input[type="password"] {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    #logreg-forms .social-login {
        width: 390px;
        margin: 0 auto;
        margin-bottom: 14px;
    }

    #logreg-forms .social-btn {
        font-weight: 100;
        color: white;
        width: 190px;
        font-size: 0.9rem;
    }

    #logreg-forms a {
        display: block;
        padding-top: 10px;
        color: lightseagreen;
    }

#logreg-form .lines {
    width: 200px;
    border: 1px solid red;
}


#logreg-forms button[type="submit"] {
    margin-top: 10px;
}

#logreg-forms .facebook-btn {
    background-color: #3C589C;
}

#logreg-forms .google-btn {
    background-color: #DF4B3B;
}

#logreg-forms .form-reset, #logreg-forms .form-signup {
    display: none;
}

    #logreg-forms .form-signup .social-btn {
        width: 210px;
    }

    #logreg-forms .form-signup input {
        margin-bottom: 2px;
    }

.form-signup .social-login {
    width: 210px !important;
    margin: 0 auto;
}

/* Mobile */

@@media screen and (max-width:500px) {
    #logreg-forms {
        width: 300px;
    }

        #logreg-forms .social-login {
            width: 200px;
            margin: 0 auto;
            margin-bottom: 10px;
        }

        #logreg-forms .social-btn {
            font-size: 1.3rem;
            font-weight: 100;
            color: white;
            width: 200px;
            height: 56px;
        }

            #logreg-forms .social-btn:nth-child(1) {
                margin-bottom: 5px;
            }

            #logreg-forms .social-btn span {
                display: none;
            }

        #logreg-forms .facebook-btn:after {
            content: 'Facebook';
        }

        #logreg-forms .google-btn:after {
            content: 'Google+';
        }
}

#inputEmail {
    margin-bottom: 10px;
}

#login-button {
    background: #019be5;
    border-color: #019be5;
    margin-top: 10px;
    color: white !important;
}

#login-with-aegis-button {
    background: #019be5;
    border-color: #019be5;
    margin-top: 10px;
    color: white !important;
}

#reset-button {
    background: #dc3545;
    border-color: #dc3545;
    margin-top: 10px;
    color: white !important;
}

#cancel-button {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #fff !important;
}

#cancel-button:hover,
#cancel-button:focus {
    background-color: #c82333 !important;
    border-color: #bd2130 !important;
    color: #fff !important;
}

#logreg-forms.login-card-compact .btn-success {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: #fff !important;
}

#logreg-forms.login-card-compact .btn-success:hover,
#logreg-forms.login-card-compact .btn-success:focus {
    background-color: #218838 !important;
    border-color: #1e7e34 !important;
    color: #fff !important;
}

#logreg-forms .mfa-code {
    font-size: 1.25rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: .3em;
    text-align: center;
}

#logreg-forms .mfa-setup-step {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    padding: 1rem;
}

#logreg-forms .mfa-setup-qr {
    align-items: center;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 220px;
    padding: .75rem;
}

#logreg-forms .mfa-setup-qr svg {
    display: block;
    height: auto;
    max-width: 100%;
}

#logreg-forms .mfa-setup-key {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    display: block;
    overflow-wrap: anywhere;
    padding: .75rem;
    user-select: all;
}

#logreg-forms .mfa-method-list button[type="submit"] {
    margin-top: 0;
}

#logreg-forms .mfa-method-choice {
    background: #fff;
    border-left-width: 4px;
    min-height: 78px;
    padding: .85rem .9rem;
}

#logreg-forms .mfa-method-choice:hover,
#logreg-forms .mfa-method-choice:focus {
    background: #f8f9fa;
    box-shadow: inset 0 0 0 1px rgba(0, 123, 255, .12);
    outline: none;
    z-index: 1;
}

#logreg-forms .mfa-method-choice__icon {
    flex: 0 0 2rem;
    font-size: 1.15rem;
}

#logreg-forms .mfa-method-choice__content {
    flex: 1 1 auto;
    min-width: 0;
}

#logreg-forms .mfa-method-choice__content small {
    display: block;
    line-height: 1.35;
    margin-top: .2rem;
}

#alert-cont {
    color: red;
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    margin-bottom: 15px;
}

.customer-portal-self-registration-intro-text {
    white-space: pre-line;
}

.login-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 130px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 20px;
    object-fit: contain;
}


.login-bg-element {
    background: linear-gradient( 237deg, #0057c3, #003270, #0067e8, #4a6f9e);
    background-size: 800% 800%;
    -webkit-animation: login-bg 16s ease infinite;
    -moz-animation: login-bg 16s ease infinite;
    animation: login-bg 8s ease infinite;
}

.login-bg-element:not([data-background-mode="Legacy"]) {
    background-size: initial;
    -webkit-animation: none;
    -moz-animation: none;
    animation: none;
}

@-webkit-keyframes login-bg {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@-moz-keyframes login-bg {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes login-bg {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}
#particles-js {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -100;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .login-bg-element {
        -webkit-animation: none;
        -moz-animation: none;
        animation: none;
    }
}

.__markerjs2_{
    z-index:99999!important;
}
