/***************************** Login Page *****************************/

#login-page {
    /* Center vertically and horizontally */
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;

    width: 100%;
    height: 100%;
    z-index: 987654321;

    background-color: /*#eee*/ white;
    background-image: url(images/land-2526bf8d.jpg);
    background-size: cover;
    background-position: center;
}

#login-page.hidden {
    display: none;
}

/* use ::after pseudo element as backdrop */
#login-page::after {
    content: "\a0";
    background-color: black;
    position: inherit;
    width: inherit;
    height: inherit;
    z-index: -1;
    opacity: 0.2;
}

#login {
    /* background-color: #ddd; */
    /* opacity: 0.666;; */
    background-color: /*rgba(221, 221, 221, 0.85)*/ rgba(255, 255, 255, 0.85);
    color: black;
    padding: 25px;
    min-width: 250px;

    border-radius: 8px;
    border: 3px black solid;
    box-shadow: 0px 0px 50px 5px black;
}

#login > h1 {
    text-align: center;
    margin-bottom: 0.5em;
}

#login > form > label {
    width: 100%;
}

#login > form > label > span {
    width: 33%;
    display: inline-block;
}

#login > form > label > input {
    width: calc(67% - 25px);
}

#login label {
    float: left;
    clear: left;
}

#login-button {
    /* margin-top: 1em; */
    margin-top: 20px;
    padding: 0.6em 1em 0.5em;
    width: 100%;
    border-radius: 5px;
    border: none;
    box-shadow: 0px 0px 2px 0px black;
}

#login-button-text {
    display: inline-block;
    height: 1em;
}

#login-button:before {

    content: "";
    display: inline-block;

    width: 1em;
    height: 1em;

    background-image: url("icons/Login.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


#login-button.wait-for-login::before {
    animation: rotate 1s infinite linear;
    background-image: url("icons/Activity\ Indicator.svg");
}

#logout > * {
    height: 1em;
    vertical-align: middle;
}

#logout > span {
    padding-top: 3px;
}

.wait-for-login {
    cursor: wait;
}


#login-input-fields {
    display: none;
}



#login-status-message.wait-for-login:before {
    content: " ";
    width: 1em;
    height: 1em;
    display: inline-block;
    animation: rotate 1s infinite linear;
    background-image: url("icons/Activity\ Indicator.svg");
    margin-right:0.5em;
}

.red-text {
    color:crimson;
    font-weight: bold;
}