/* ============================================
login.htmlに適用するスタイルシートです。
===============================================*/

html {
    width: 100%;
    height: 100%;
}
#login {
    width: 100%;
    height: 100%;
    overflow: hidden;
    vertical-align: middle;
    text-align: center;
    position: relative;
}
#login .error-message {
    margin-bottom: 10px;
}
.login-box {
    display: inline-block;
    width: fit-content;
    height: fit-content;
    padding: 5px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform : translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
.title-login {
    display: inline-block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 135px;
    padding: 5px;
    text-align:center;
    position: absolute;
    top: 28%;
    left: 50%;
    -webkit-transform : translate(-50%,-50%);
    transform: translate(-50%,-50%);
}


#login .label-alert-middle {
    padding: 0 5px;
}
#login .label-name {
    width: 100px;
    height: 30px;
    text-align: center;
    vertical-align: middle;
    margin-right: 10px;
    margin-bottom: 3px;
}

#login .input-password-box {
    position: relative;
}
#input-password {
    padding-right: 45px;
}
/* --- Edge対応 --- */
#login input::-ms-reveal {
    visibility: hidden;
}

#login .bi-eye-slash {
    display: none;
}
@media(min-width: 1000px)
{
    #login .input-box {
        width: fit-content;
        text-align: center;
        margin: 0 auto 10px auto;
    }
    #login input {
        width: 300px;
        height: 30px;
        display: inline-flex;
    }
    #login .icon-eye {
        text-align: right;
        position: absolute;
        top: 2px;
        right: 10px;
        color: #555;
    }
}
@media(max-width: 1000px)
{
    #login .error-message {
        min-width: 250px;
        padding: 0 8%;
    }
    #login .input-box {
        text-align: left;
        margin-bottom: 10px;
    }
    #login .icon-eye {
        text-align: right;
        position: absolute;
        top: 35px;
        right: 15px;
        color: #555;
    }
    #login input {
        width: 100%;
        height: 30px;
        display: inline-flex;
    }
}
