﻿/* ================================
============ CSS Reset ============
================================ */

tml, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    box-sizing: border-box;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    font-weight: 300;
    color: #d0d0d0;
}

:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #d0d0d0;
    opacity: 1;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #d0d0d0;
    opacity: 1;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #d0d0d0;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #d0d0d0;
}

/* ============================ */

html {
    height: 100%;
    width: 100%;
    font-size: 62.5%;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: Helvetica, Arial, sans-serif;
}

.main-wrapper {
    display: table;
    width: 100%;
    height: 100%;
    background-color: #f9f9fc;
}

.main-container {
    display: table-cell;
    width: 100%;
    height: 100%;
    padding: 0 20px;
    vertical-align: middle;
}

.login-container {
    max-width: 425px;
    margin: 0 auto;
    /*opacity: 0;
    animation-name: loginEnterView;
    animation-duration: 0.6s;
    animation-delay: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);*/
}

.logo-container {
    width: 100%;
    height: 80px;
}

    .logo-container img {
        display: block;
        margin: 0 auto;
        height: 49px;
    }

.form-container {
    width: 100%;
    min-height: 270px;
    overflow: hidden;
}

    .form-container.processing {
        padding-top: 95px;
    }
    .form-container:not(.processing) {
        border-radius: 4px;
        background-color: #fff;
        box-shadow: 0 4px 29px 0px rgba(0,0,0,.3), 0 0 1px 0 rgba(0,0,0,.2);
    }

.forgot-password-link {
    float: right;
    line-height: 20px;
}

.remember-me-label {
    vertical-align: top;
    line-height: 20px;
}

.reset-password-success-message {
    font-size: 1.4em;
    font-style: italic;
    color: black;
    margin-top: 100px;
}

.processing-container {
    width: 100%;
    height: 270px;
    overflow: hidden;
}

form {
    display: block;
    width: 100%;
    height: 100%;
    float: left;
    position: relative;
    margin-top: 40px;
    margin-bottom: 28px;
}

label {
    width: 100%;
    float: left;
    position: relative;
    margin-bottom: 15px;
    padding: 0 45px;
    font-size: 1.2rem;
    font-weight: 400;
    color: #000;
    letter-spacing: 0.05rem;
}

    label.tight {
        margin-bottom: 5px;
    }

    label input[type="checkbox"] {
        border: solid 1px #d4d4d4;
    }

    label input[type="text"], label input[type="password"] {
        width: 100%;
        height: 35px;
        margin-top: 5px;
        padding-left: 35px;
        position: relative;
        font-size: 1.2rem;
        border: solid 1px #d4d4d4;
        border-radius: 3px;
        box-sizing: border-box;
    }

    label input:focus {
        outline: 0;
    }

.icon::after {
    content: "\002714";
    display: block;
    width: 15px;
    height: 15px;
    position: absolute;
    right: -35px;
    top: -20px;
    color: rgb(15, 169, 148);
    text-align: center;
    opacity: 0;
    -webkit-transition: all 0.2s ease-out 0s;
    -moz-transition: all 0.2s ease-out 0s;
    transition: all 0.2s ease-out 0s;
}

label input[required]:valid + .icon::after {
    right: -300px;
    opacity: 1;
}

label .icon {
    display: block;
    width: 35px;
    height: 35px;
    position: absolute;
    bottom: 0;
}

    label .icon img {
        display: block;
        width: 18px;
        margin: 8px auto 0 auto;
        fill: #ccc;
    }

.helper-container {
    width: 100%;
    float: left;
    margin-top: 5px;
}

    .helper-container p {
        font-size: 1.1rem;
        font-weight: 300;
        color: #c0c0c0;
        text-align: center;
    }

.single-button-container {
    width: 100%;
    height: 45px;
    float: left;
    margin-top: 20px;
    padding: 0 45px;
    text-align: center;
}

.login-options-header {
    width: 100%;
    height: 25px;
    float: left;
    margin-top: 20px;
    padding: 0 45px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 3em;
    font-weight: bold;
}

.single-button-container button, .single-button-container a {
    width: 100%;
    height: 100%;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    background-color: #00548b;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.single-button-container a {
    padding: 1px 6px;
    align-items: flex-start;
    text-align: center;
    box-sizing: border-box;
    text-rendering: auto;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    margin: 0em;
    font: 13.3333px Arial;
    font-weight: 600;
    -webkit-writing-mode: horizontal-tb;
    -webkit-appearance: button;
    text-decoration: none;
    line-height: 2;
    font-size: 2em;
}

    .single-button-container button:hover, .single-button-container a:hover {
        background-color: #025f99;
    }

    .single-button-container button:active, .single-button-container button:focus,
    .single-button-container a:active, .single-button-container a:focus {
        box-shadow: inset 0 0 10px 0 rgba(0,0,0,0.5);
        outline: 0;
    }

    .single-button-container button:visited, .single-button-container a:visited {
        outline: 0;
    }

button.hidden {
    position: absolute;
    opacity: 0;
    background-color: transparent;
    color: transparent;
    border: none;
    width: 0px;
    height: 0px;
}

.button-container {
    width: 100%;
    height: 40px;
    /*position: relative;
    bottom: 0;*/
    display: flex;
    position: relative;
    bottom: -28px;
}

    .button-container button {
        flex-grow: 1;
        height: 100%;
        margin: 0;
        float: left;
        font-size: 1.2rem;
        font-weight: 600;
        color: rgba(0,40,65,0.7);
        background-color: #f5f5f5;
        border: none;
        border-bottom: solid 2px transparent;
        outline: none;
        cursor: pointer;
        transition: all 0.1s ease 0s;
        border-left: solid 1px #00548b;
        border-right: solid 1px #00548b;
    }
        .button-container button:first-child {
            border-left: solid 1px transparent;
        }
        .button-container button:last-child {
            border-right: solid 1px transparent;
        }

    
    .button-container button:hover {
        color: rgba(0,40,65,1);
        border-bottom: solid 2px #00548b;
        background-color: #ededed;
    }

        .button-container button:active {
            background-color: #e4e4e4;
        }


.footer-container {
    width: 100%;
    height: 45px;
}

    .footer-container img {
        width: 95px;
        float: right;
        margin-top: 20px;
    }

.alert-danger {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
    font-size: 1.4em;
}

.alert {
    padding: 10px 15px 10px 5px;
    margin: 20px 45px -10px 45px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.request-id {
    margin-top: 20px;
}

/* ================================
============ Animation ============
================================ */

@keyframes loginEnterView {
    0% {
        margin-top: -50px;
        opacity: 0;
    }

    100% {
        margin-top: 0;
        opacity: 1;
    }
}

/* ================================
============ Loading ==============
================================ */

.main-wrapper.processing {
    background: rgba(0, 0, 0, 0.63);
}

.loading-wrapper {
    display: table;
    width: 100%;
    height: 100%;
}

.loading-container {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

    .loading-container p {
        margin: 15px 0 0 0;
        padding: 0 50px;
        font-size: 19px;
    }

    .loading-container h2 {
        margin-bottom: 0;
        font-size: 24px;
        color: #ccc;
    }

.loading-indicator {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: solid 3px #DCDCDC;
    border-top: solid 3px #55acee;
    animation: loading-spin 0.5s linear infinite;
}

@keyframes loading-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
