body {
    background: #202020 url('/static/img/login_back.jpg') center/cover no-repeat fixed;
    width: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

div.failure {
    position: absolute;
    top: 10px;
}

div#privacy {
    position: absolute;
    z-index: 10;
}

div#footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 10;
}

div#header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 10;
}

div.content {
    background: rgba(0, 0, 0, 0.45);
    border-radius: 5px 5px 0 0;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
    margin: 5px 0 0 0;
    text-align: center;
    color: white;
    padding: 10px;
    z-index: 30;
    display: flex;
    flex-direction: row;
}

div#header div.content {
    margin: 0 0 5px 0;
    border-radius: 0 0 5px 5px;
}

div#version-display {
    color: rgba(168, 168, 168, 0.4);
    text-decoration: none;
}

div#version-display:hover {
    color: white;
}

div.filler {
    flex-grow: 1;
}

span#photo a {
    color: rgba(138, 138, 138, 0.4);
    text-decoration: none;
}

span#photo a:hover {
    color: white;
}

span#home a {
    color: rgba(208, 208, 208, 0.7);
    text-decoration: none;
}

span#home a:hover {
    color: white;
}

span#login a {
    color: rgba(208, 208, 208, 0.7);
    text-decoration: none;
}

span#login a:hover {
    color: white;
}

span#login a:hover::after {
    content: " login";
}

div.main {
    background: rgba(0, 0, 0, 0.45);
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
    margin: 5px;
    text-align: center;
    color: white;
    padding: 10px;
    z-index: 30;
}

div.input {
    padding: 20px 10px 0 10px;
}

div.title {
    font-family: "DejaVu Sans Mono", "Everson Mono", FreeMono, Menlo, Terminal, monospace;
    padding: 10px;
    font-size: 20pt;
}

div.glass {
    position: absolute;
    background: black url('/static/img/login_back.jpg') center/cover no-repeat fixed;
    filter: blur(5px);
    width: 100%;
    height: 100%;
    z-index: -1;
}

div.failure div.glass {
    background-color: red;
}

div.failure div.main {
    background-color: rgba(255, 0, 0, 0.45);
}

div.separator {
    display: block;
    width: 100%;
    font-size: 12pt;
    height: 40px;
    line-height: 40px;
    color: white;
    border: none;
    outline: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
}

div.separator::before {
    content: "";
    display: block;
    flex-grow: 1;
    border: 1px solid rgba(170, 170, 170, 0.45);
    height: 0;
    margin-right: 10px;
    margin-top: auto;
    margin-bottom: auto;
}

div.separator::after {
    content: "";
    display: block;
    flex-grow: 1;
    border: 1px solid rgba(170, 170, 170, 0.45);
    height: 0;
    margin-left: 10px;
    margin-top: auto;
    margin-bottom: auto;
}

.auth {
    display: flex;
    width: 100%;
    font-size: 20pt;
    padding: 0 10px 0 10px;
    border-radius: 5px;
    color: white;
    background: transparent;
    border: none;
    outline: none;
    box-sizing: border-box;
}

.button {
    flex-grow: 1;
    display: block;
    /* width: 100%; */
    font-size: 20pt;
    padding: 10px;
    border-radius: 5px;
    color: white;
    background: transparent;
    border: none;
    outline: none;
    box-sizing: border-box;
    text-decoration: none;
}

div#login input:focus, div#login button:focus, div#login button:hover, .button:hover, .button:focus, div#login select:focus {
    background: rgba(0, 0, 0, 0.65);
}

.message {
    display: inline-block;
    font-family: "DejaVu Sans Mono", "Everson Mono", FreeMono, Menlo, Terminal, monospace;
    padding: 10px;
    font-size: 14pt;
    border-radius: 5px;
    margin-left: 5px;
    color: white;
    width: 400px;
    border: none;
    outline: none;
    background: rgba(0, 0, 0, 0.25);
}

div#login label {
    padding-left: 5px;
}

.grecaptcha-badge {
    bottom: 50px !important;
}

.hidden {
    display: none !important;
}

.error {
    border: 1px rgba(255, 0, 0, 1) solid !important;
}

.password-meter {
    font-size: 0;
    display: flex;
}

.pw-mtr {
    padding-top: 5px !important;
}

.pw-mtr-after {
    padding-top: 10px !important;
}

.pw-str {
    display: inline-block;
    height: 5px;
    flex-grow: 1;
    width: 50px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.45);
    margin-left: 5px;
}
