body {
    background-color: #36424A;
    font-family: Quicksand, sans-serif;
    font-size: 13px;
    margin: 0;
    padding: 0;
}

.header {
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
    display: block;
}

#login-step header {
    margin-bottom: 20px;
    display: block;
}

h2 {
    font-size: 1.9em;
    color: #4e4e4e;
    font-weight: bold;
    margin: 0px;
}

h1 {
    padding-top: 60px;
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
}

h3 {
    margin-top: 10px;
    color: #4e4e4e;
    font-size: 1.3em;
}

#banner {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

div#content {
    position: relative;
    margin: 5px auto 0px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    background: #f8f8f8;
    border-radius: 10px;
    vertical-align: baseline;
    display: block;
}

div#login-area {
    color: #272D30;
    display: block;
    padding: 0;
    margin: 0;
    border: 0;
    outline: 0;
    height: 100%;
    width: 420px;
    vertical-align: baseline;
}

#login-step {
    margin: 0;
    padding: 0;
    height: 100%;

    & input[type="password"],
    & input[type="text"] {
        display: block;
        background: #FFFFFF;
        border: 1px solid #d8d8d8;
        padding: 0 7px;
        height: 30px;
        width: 100%;
        color: #202020;
        box-shadow: none;
        box-sizing: border-box;
        border-radius: 3px;

        &:focus,
        &:focus-visible,
        --webkit-focus-ring-color {
            outline: 1px solid #70B300;
        }
    }
}

#login-footer-links {
    position: relative;
    margin: 5px auto 0px;
    padding: 10px;
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: space-between;
    vertical-align: baseline;
}

#login-footer-links a {
    padding: 10px 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

#login-footer-links {
    & span, & a {
        color: #f8f8f8;
        padding-top: 10px;
    }
}

.header_logo img {
    max-width: 250px;
}

.header {
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-bottom: solid 1px #dddddd;
}
.footer {
    background-color: #343a40;
    color: rgba(255,255,255,.5);
    padding: 15px 15px;
}

.field {
    position: relative;
    clear: left;
    margin: 0 0 15px 0;
}

.field label {
    color: #70B300;
    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
}

form {
    border: 0;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

.btn {
    position: relative;
    display: inline-block;
    padding: 4px 14px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid #272D30;
    border-radius: 4px;
    text-transform: none;
}

.btn-primary {
    color: #FFFFFF;
    background-color: #298BAB;
    border: 1px solid transparent;

    &:hover {
        background-color: #146078;
    }
}

.btn-light {
    color: #298BAB;
    background-color: #F8F7F7;
    border: 1px solid transparent;

    &:hover {
        background-color: #D8F6FF;
    }
}

.btn-link {
    color: #298BAB;
    background-color: transparent;
    border: none;
    padding-left: 0px;
    text-decoration: none;
    font-size: 14px;

    &:hover {
        color: #146078;
    }
}

*:disabled {
    cursor: default;
    opacity: 0.5;
}

.lost-password {
    margin-top: 20px;
}

div#verification-area {
    color: #272D30;
    display: block;
    padding: 0;
    margin: 0;
    border: 0;
    outline: 0;
    height: 100%;
    width: 420px;
    vertical-align: baseline;

    #two-factor-step {
        text-align: center;
        font-size: 14px;

        & h2 {
            margin-bottom: 10px;
        }

        & input[type="text"] {
            display: block;
            background: #FFFFFF;
            border: 1px solid #d8d8d8;
            padding: 0 7px;
            height: 30px;
            width: 100%;
            color: #202020;
            box-shadow: none;
            box-sizing: border-box;
            border-radius: 3px;

            &:focus,
            &:focus-visible,
            --webkit-focus-ring-color {
                border: 1px solid #70B300;
                outline: 1px solid #70B300;
            }
        }

        .verification {
            text-align: left;
            margin-top: 10px;

            #verification-code-input-label {
                font-weight: bold;
                line-height: 20px;
                color: #999;
            }

            #verify-button {
                background-color: #70B300;
                color: #fff;
            }
        }
    }

    .trusted-device-container {
        display: flex;
        margin-bottom: 6px;
    }

    .trusted-device-label {
        display: flex;
        align-items: center;
        position: relative;
        padding-left: 32px;
        text-align: left;
        margin-bottom: 3px;
        cursor: pointer;
        font-weight: normal;
        line-height: 24px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .trusted-device-label input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

    .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 24px;
        width: 24px;
        background-color: #fff;
        border: 1px solid #d8d8d8;
        border-radius: 4px;
    }

    .trusted-device-label input:checked ~ .checkmark {
        background-color: #70B300;
    }

    .checkmark:after {
        content: "";
        position: absolute;
    }

    .trusted-device-label input:checked ~ .checkmark:after {
        display: block;
    }

    .trusted-device-label .checkmark:after {
        left: 9px;
        top: 5px;
        width: 5px;
        height: 10px;
        border: 1px solid #d8d8d8;
        border-width: 0 3px 3px 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }
}

.tooltip {
    width: 20px;
    position: relative;
    display: inline-block;
    cursor: default;
}

.tooltip .tooltip-text {
    visibility: hidden;
    background-color: #fff;
    color: #000;
    text-align: center;
    border: 1px solid #cacaca;
    border-radius: 3px;
    padding: 15px;

    position: absolute;
    z-index: 1;
    width: 200px;
    top: 100%;
    left: 50%;
    margin-left: -114px;
}

.tooltip .tooltip-text::before {
    content: " ";
    position: absolute;
    bottom: 100%;
    left: 48%;
    margin-left: -5px;
    border: 10px solid transparent;
    border-bottom-color: #000;
}
.tooltip .tooltip-text::after {
    content: " ";
    position: absolute;
    bottom: 100%;
    left: 48.5%;
    margin-left: -5px;
    border: 9px solid transparent;
    border-bottom-color: #fff;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
}

.material-icons.info {
    color: #298BAB;
    line-height: 30px;
    display: inline-block;
}

.fakeimg {
    height: 200px;
    background: #aaa;
}

.text-danger {
    color: #DC3545 !important;
}

@keyframes slide-right {
    0% { transform: translateX(-3px); }

    100% { transform: translateX(0px); }
}

.alert {
    color: #c09853;
    background-color: #fcf8e3;
    line-height: 18px;
    border: 1px solid #dcb268;
    border-radius: 4px;
    margin-bottom: 5px;
    animation: slide-right .1s linear;
}

.alert-error {
    color: #b94a48;
    background-color: #f2dede;
    border-color: #dfa1a0;
}

.alert li {
    list-style: none;
    padding: 0;
    margin-left:-20px;
}

.looks-like-error {
    color: #E54D4A;
    font-weight: 500;
    background-color: #FCD4D4;
    position: relative;
    display: inline-block;
    padding: 5px 10px;
    margin: 10px 0 0 0;
    border: 1px solid #E54D4A;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    line-height: 1;
    font-style: italic;
}

.field-validation-valid {
    display: none;
}

.looks-like-error:before {
    content: " ";
    position: absolute;
    top: -8px;
    left: 6px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #E54D4A;
}

.looks-like-error:after {
    content: " ";
    position: absolute;
    top: -7px;
    left: 6px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #FCD4D4;
}
