﻿@keyframes load {
    from {
        opacity: 0.7;
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@import "/fonts/google-fonts.css";

body {
    background-color: #f5f5f5 !important;
    font-family: "Oxygen", sans-serif;
    font-weight: 400;
    font-style: normal;
}
h1, .h1 {
    font-size: 1.4rem;
}

h2, .h2 {
    font-size: 1.3rem;
}

h3, .h3 {
    font-size: 1.2rem;
    font-weight: bold;
}

h4, .h4 {
    font-size: 1.25rem;
}

a {
    text-decoration: underline;
}

.step {
    display: none;
}

    .step.is-active {
        display: block;
    }

.sub-steps {
    padding: 0;
    list-style: none;
    counter-reset: number;
    h4

{
    font-size: 1rem;
    font-weight: 600;
}

}

.sub-steps > li {
    margin: 1.5rem 0;
    counter-increment: number;
    position: relative;
    padding-left: 4rem;
}

    .sub-steps > li::before {
        content: counter(number)" ";
        background: #c4dfe6;
        color: #003b46;
        border: 1px solid #ccc;
        display: block;
        font-weight: bold;
        position: absolute;
        top: 1.5rem;
        left: 0;
        width: 3rem;
        height: 3rem;
        text-align: center;
        line-height: 2.9rem;
        border-radius: 50%;
        margin-left: calc(counter(number) + 1rem);
        margin-right: auto;
        margin-bottom: 1rem;
    }

.sub-steps > li {
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
}


.authenticator-suggestions {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 1rem;
    text-align: center;
    padding: 0;
    margin: 1rem 0;
}

    .authenticator-suggestions > li {
        width: 220px;
    }

        .authenticator-suggestions > li > img {
            height: 80px;
            margin-bottom: .5rem;
        }

.step-nav {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
}

    .step-nav button {
        font-size: 1rem;
        padding: .5rem 2rem;
        border: 0;
        transition: all .2s;
        border-radius: .25rem;
    }

        .step-nav button[data-direction="next"] {
            background: #003b46;
            color: #fff;
        }

        .step-nav button:hover {
            background: #406c74;
            color: #fff;
        }

        .step-nav button.step-button.hidden {
            opacity: 0;
            pointer-events: none;
        }

.box {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #dddddd;
    padding: 1rem;
}

#help-info {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #dddddd;
    padding: 1rem;
    position: relative;
}

#what-is-this::before {
    content: '?';
    font-size: .75rem;
    font-family: sans-serif;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 1.25rem;
    margin-right: .25rem;
    justify-content: center;
    display: inline-flex;
}

#help-info::before {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 3rem;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ddd;
}

#help-info h3 {
    font-size: 1.1rem;
}

.circled-outer {
    display: inline-block;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    border: 1px solid #aaa;
    background: #fff;
    font-size: 1.25rem;
}

#qrCode {
    display: inline-block;
    margin: 1rem 0;
    min-height: 184px;
}

a, .btn-link {
    color: #07575b;
}
.btn-light {
    border: 2px solid #ddd;
    text-decoration: none;
}
.btn-light:hover, .btn-light:not(:disabled):not(.disabled).active, .btn-light:not(:disabled):not(.disabled):active {
    background-color: #ddd;
    border: 2px solid #ccc;
}


.page {
    width: 100%;
    min-height: 100dvh;
    margin-inline: auto;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    grid-template-rows: max-content 1fr max-content;
    grid-template-areas: 'header' 'main' 'footer';
}

.header {
    display: flex;
    box-shadow: 0 10px 4px -10px #0000001a;
    padding: 0.5rem;
    background-color: #003b46;
    grid-area: header;
}

    .header .logo {
        padding: 13px;
    }

        .header .logo img {
            height: 30px;
        }

.main {
    grid-area: main;
    background-color: #f5f5f5;
}

    .main .main-box {
        background-color: #ffffff;
        border-radius: 8px;
        padding: calc(0.5vw + 1rem);
        border: 1px solid #dddddd;
        display: grid;
        grid-gap: 1rem;
    }
    .main .main-box h2 {
        text-align: center;
    }
    .main .hms-header {
        padding: 1rem 0;
        text-align:  center;
    }
    .main .hms-header img {
        margin-bottom: 1rem;
    }
    main .labelled-divider,
    main .hms-header,
    main .main-box{
        max-width: 500px;
        margin: 1rem auto;
    }

    .main .main-content {
        animation: load .25s;
        margin-top: 1rem;
        background-color: #f0f0f0;
        border-radius: 8px;
        border: 1px solid #dddddd;
        padding: 1rem;
    }

.validation-error {
    background-color: #ebd6c2;
    border: 1px solid #ac5b2f;
    border-radius: 8px;
    padding: 1rem;
    display: block;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-area: footer;
    background-color: #ffffff;
    border-top: 1px solid #dddddd;
    box-shadow: 0px -6px 36px 0px #e2e2e2;
}

    .footer .logo-name {
        margin-left: 1rem;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .footer img {
        width: 65px;
    }

    .footer .support {
        margin-right: 1rem;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

.login-form .login-button-wrapper {
    display: grid;
    gap: .5rem;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        'area1 are2'
        'area3 area4';
}

.login-form .remember-me {
    margin-top: 0.3rem;
    margin-left: 0.5rem;
    margin-bottom: 0;
}

.login-form .btn-link {
    text-align: right;
}

.login-form .login-button-wrapper .btn-primary {
    /*grid-template-columns:*/
    grid-area: 3;
    grid-column: 1 / -1;
}

.reset-password .btn-primary {
    width: 100%;
}

.reset-password a.to-login, .logged-out-page a.to-login {
    text-align: right;
    display: block;
    padding-top: 0.5rem;
}

.logged-out-page .main-content {
    text-align: center;
}

    .logged-out-page .main-content h1 {
        font-size: 8rem;
    }

.to-factor-page .remember-me {
    margin-top: .5rem;
}

.to-factor-page .btn-primary {
    width: 100%;
}

.w-100 {
    width: 100%;
}
/* Form elements */
.btn-primary {
    background-color: #003b46;
    color: #ffffff;
    border: 1px solid #003b46;
}

    .btn-primary:hover, .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active {
        background-color: #2a5b64;
        color: #ffffff;
        border: 1px solid #1d4f58;
    }

.checkbox-wrapper {
    position: relative;
}

.password-field {
    position: relative;
}

    .password-field i {
        position: relative;
    }

kbd {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    line-height: 1.5;
    display: inline-block;
}

@media screen and (max-width: 680px) {
    .footer {
        flex-direction: column;
        padding-bottom: 0.5rem;
        align-items: baseline;
    }
}

.checkbox-label {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
}

    .checkbox-label:before,
    .checkbox-label:after {
        pointer-events: none;
    }

    .checkbox-label:before {
        display: flex;
        content: ' ';
        height: 20px;
        width: 20px;
        border: solid 2px #484848;
        background: #fff;
        margin-right: 10px;
        border-radius: 3px;
    }

.checkbox-wrapper input[type=checkbox]:checked + label::before {
    background: #484848;
}

.checkbox-label:after {
    position: absolute;
    top: 7px;
    left: 7px;
    display: flex;
    content: ' ';
    height: 12px;
    width: 12px;
    background: #484848;
    transform: scale(0);
    transition: transform .3s ease;
}

.checkbox-label:after {
    height: 10px;
    width: 16px;
    left: 2px;
    top: 5px;
    border-bottom: solid 3px #ffffff;
    border-left: solid 3px #ffffff;
    background: none;
    transform: rotate(-45deg) scale(0);
    transition: transform .1s ease, opacity .1s ease;
    transform-origin: center center;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-label:after {
    opacity: 1;
    transform: rotate(-45deg) scale(.8);
}

#send-code .form-control {
    margin-bottom: 1rem;
}

.reset-password .password .help {
    color: #495752;
    position: relative;
}

    .reset-password .password .help:hover .hover-text {
        display: block;
    }

.hover-text {
    display: none;
    background-color: #495752;
    color: #ffffff;
    padding: 1rem;
    width: 15rem;
    border-radius: 8px;
    margin-left: 0;
    margin-top: 0;
    position: absolute;
    z-index: 1000;
    font-family: sans-serif;
    line-height: 1.3rem;
}
.labelled-divider {
    text-align: center;
    position: relative;
}
.labelled-divider::before {
    content: '';
    width: 100%;
    height: 1px;
    background: #aaa;
    display: block;
    position: absolute;
    top: 0.75rem;
}
.labelled-divider span {
    background: #f5f5f5;
    padding: 0 .5rem;
    position: relative;
    font-weight: 600;
    font-size: 1rem;
}