﻿html, body, #form1 {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: Arial;
}

#login-background {
    background: url(/img/hst_login_background.png) no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    filter: blur(10px);
}

#login-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logincontainer, .totpcontainer {
    width: 380px;
    height: 450px;
    border-radius: 5px;
    position: relative;
    background: rgb(255, 255, 255);
    box-shadow: grey 2px 2px 20px;
}

#login-header, .login-header {
    width: 100%;
    height: 65px;
    background: url(layouts/hst/img/hst_header_logo.png);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.password-eye {
    width: 27px;
    height: 27px;
    line-height: 28px;
    position: absolute;
    right: -2px;
    font-size: 17px;
    text-align: center;
    color: grey;
    cursor: pointer;
    background: white;
    margin-top: 3px;
}

    .password-eye:hover {
        color: black;
    }

.logincontainer .input-field,
.totpcontainer .input-field {
    margin-top: 30px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.totpcontainer.setup .input-field {
    margin-top: 7px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.logincontainer input,
.totpcontainer input {
    height: 30px;
    width: 100%;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid grey;
}

    .logincontainer input[type=checkbox],
    .totpcontainer input[type=checkbox] {
        width: 25px;
        display: inline-block;
        margin-top: -8px;
    }

    .logincontainer input[type=submit], .logincontainer input[type=button],
    .totpcontainer input[type=submit], .totpcontainer input[type=button] {
        border-radius: 4px;
        cursor: pointer;
    }

    .logincontainer input[type=submit],
    .totpcontainer input[type=submit] {
        border: none;
        background: rgb(44, 100, 178);
        color: rgb(255, 255, 255);
    }

    .logincontainer input[type=button],
    .totpcontainer input[type=button] {
        border: 1px solid rgb(44, 100, 178);
        background: rgb(255, 255, 255);
        color: rgb(44, 100, 178);
    }

        .logincontainer input[type=submit]:hover, .logincontainer input[type=button]:hover,
        .totpcontainer input[type=submit]:hover, .totpcontainer input[type=button]:hover {
            background: rgb(51, 115, 204);
            color: rgb(255, 255, 255);
        }

#textStayLoggedIn, .label {
    vertical-align: top;
    color: grey;
    font-size: 13px;
    display: inline-block;
}

#login-loading {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background: grey;
    opacity: 0;
    transition: opacity .5s;
}

.code input {
    text-align: center;
    font-size: 20px;
    margin-right: 10px;
    width: 20px;
}

    .code input::placeholder {
        font-size: 12px;
    }

    .code input:hover::placeholder {
        font-size: 20px;
    }
.code {
    text-align:center;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.setup .error {
    margin-top: 7px !important;
}