html {
    height: 100%;
}

body {
    font-size: smaller;
    position: relative;
    font-family: "Lucida Grande","osaka", "Meiryo",Geneva,Arial,Verdana,sans-serif;
    min-height: 600px;
    min-width: 700px;
    height: 100%;
    margin: 0;
    padding: 0;
}

div#container {
    height: 100%;
    background: #808f96 url("../img/spot.jpg") no-repeat center center;
}

div#contents {
    background: url("../img/login-back.png") no-repeat scroll 0 0;
    height: 412px;
    width: 395px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -206px 0 0 -198px;
}

div#logo {
    height: 245px;
    width: 393px;
    display:table-cell;
    text-align: center;
    vertical-align: middle;
}

div#logo img {
    max-height: 120px;
    max-width: 200px;
    vertical-align: middle;
}

div#product {
    height: 80px;
    width: 80px;
    margin: 0px 10px 0px 30px;
    float: left;
}

div#inputs {
    float: left;
}

div#input_user {
    position: relative;
}

input#login_name{
    height: 30px;
    width: 205px;
    padding-left: 35px;
    font-size: 15px;
}

div#input_password {
    margin-top: 10px;
    position: relative;
}

input#login_password {
    height: 30px;
    width: 127px;
    padding-left: 35px;
    margin-right: 3px;
    font-size: 15px;
}

div#totp_label {
    height: 34px;
    position: relative;
}

div#totp_label div {
    position: relative;
    padding-top: 10px;
}

div#input_digit {
    margin-top: 10px;
    position: relative;
}

input#digit {
    height: 30px;
    width: 127px;
    padding-left: 35px;
    margin-right: 3px;
    font-size: 15px;
}

label.placeholder {
    cursor: text;
    padding: 8px 0px 8px 35px;
    color: #999999;
}

span#user_icon {
    background: url("../img/username.png") no-repeat scroll 0 0;
    height: 25px;
    width: 25px;
    position: absolute;
    top: 5px;
    left: 4px;
}

span#password_icon {
    background: url("../img/password.png") no-repeat scroll 0 0;
    height: 25px;
    width: 25px;
    position: absolute;
    top: 5px;
    left: 5px;
}

span#login_button_onclick {
    background: url("../img/login-onclick.png") no-repeat scroll 0 0;
    height: 0px;
    width: 0px;
    z-index: -1;
    position: absolute;
    top: -3000px;
}

#login_button {
    background: url("../img/login.png") no-repeat scroll 0 0;
    height: 35px;
    width: 71px;
    display: none;
    vertical-align: top;
    cursor: pointer;
}
#login_button:active {
    background: url("../img/login-onclick.png") no-repeat scroll 0 0;
}

input#noscript_login_button {
    height: 35px;
    width: 71px;
    vertical-align: top;
}

div#failed {
    width: 393px;
    margin-top: 10px;
    text-align: center;
    float: left;
    color: #FF0000;
}

div#keep_login {
    width: 393px;
    margin-top: 10px;
    text-align: center;
    float: left;
    color: #464646;
    font-size: 11px;
}

div#keep_login * {
    vertical-align: middle;
    cursor: pointer;
}

div#footer {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0px;
    left: 0px;
    margin: 0px;
    padding: 0px;
    padding-bottom: 30px;
    font-size: 0.9em;
    cursor: default;
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
}

div#footer div {
    color: #DADEE2;
}
