html{    
    height:100%;
}

body {
/*
    padding:12px;
    top:-20px;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
min-width:600px;
*/
    
}
#footer{
    bottom:0;
}
#logo_l{
    margin:0 auto 0px;
    /*width:245px;
    height:66px;
    width:500px;
    height:200px;*/    
    display:table;
    /*width:100%;*/
    max-width:400px;
    height:auto;
}

.mask_modal{
    position:fixed;  
    inset:0;
    background-color:black;
    opacity:0;
    z-index:100;    
}

.token_input{
    inset:0;
    opacity:0; 
    /*top:30px;*/
    width:360px;
    height:540px;
    display:block;
    position:fixed;
    z-index:101;
    margin:50px auto;
    padding:20px;
    background-color: #f4f4f4;    
}

.token_input_container{

}

.lock_logo{
    text-align:center;
}

i.fa-unlock-alt{
    position:relative;
    color:#AAA;
    text-align: center;
    margin:20px auto;
}

.token_input_title{
    padding:4px;
    text-align: center;
    color:#777;
    font-size:20px;
}

.token_input_desc{
    padding:12px;
    text-align:center;
    color:#777;
    font-size:14px;
}

#token_input_num{
    display:block;
    padding:8px 28px;
    width:120px;
    font-size:19px;
    font-weight:bold;
    color:black;
    margin:12px auto;
    letter-spacing: .6rem
}

#token_input_num::placeholder{
    color:#ddd;
}

.token_send_div{
}

.btn_token_send{
    border-radius: 100px;
    display: block;
    width: 160px;
    padding: 8px;
    /*box-sizing: border-box;*/
    border:none;
    background: #6fa1ff;
    color: #FFF;
    text-decoration: none;
    text-align: center;
    margin: 24px auto 0;
    font-size:16px;
}

.btn_token_send:hover{
    background: #4f81ff;
    color: #fff;    
}

.tokenmail_resend_div{
    margin-top: 24px;
}

.tokenmail_resend_desc{
    margin: 0 auto 4px;
    width:230px;
    color:#777;
}

.btn_tokenmail_resend{
    border-radius: 6px;
    display: block;
    width: 230px;
    padding: 4px;
    border:1px #ccc solid;
    background: #eeffff;
    color: #777;
    text-decoration: none;
    text-align: center;
    margin: 0 auto ;
    font-size:12px;    
}

.btn_tokenmail_resend:hover{
    background-color: #aabbbb;
    color:#666;
}

.token_cancel_div{
    margin-top: 18px;    
}

.btn_token_cancel{
    border-radius: 6px;
    display: block;
    width: 100px;
    padding: 6px;
    /*box-sizing: border-box;*/
    border:none;
    background: #ccc;
    color: #999;
    text-decoration: none;
    text-align: center;
    margin: 0 auto ;
    font-size:11px;    
}

.btn_token_cancel:hover{
    background-color: #aaa;
    color:#666;
}

h3{
    color:#666;
}
#logo_l{
    margin:0 auto 0px;
    /*background-image: url("../img/CompeBoxlogo_l.png");
    width:200px;
    height:95px;*/
/*    width:245px;
    height:66px;
    width:500px;
    height:200px;     
    background-image: url("../img/ptklogo_l.png");
    background-image: url("../img/apslogo_l.png");
*/
}
#logo_l{
    display:table;
    /*width:100%;*/
    max-width:400px;
    height:auto;
    /*padding:20px;*/
}

#UserUsername,#UserPassword{
    ime-mode: disabled; /* ieのみ */
    width:160px;
    min-width:100px;
}
body{

}
#login-container{
    box-sizing:border-box;
    top:0px;
    position:relative;
    display: block;
    margin: 0px auto 20px;
    background-color: #FCFCFC;
    max-width:600px;
    min-width:300px;
    height:auto;
    text-align: center;
    vertical-align: middle;
    padding:30px 30px;
}
/*#title{
    display:block;
    position:relative;
}*/
#tbl-login {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    position: relative;
    margin: 10px auto 10px;
    border:0px;
    padding:12px 20px;
    max-width:300px;
}
.tbl-login-tbl{
    display:table;
    width:100%;
}
#tbl-login th, #tbl-login td{
    padding:8px;    
}
.tbl-login-row{
    display:table-row;
}
.tbl-login-cell{
    display: table-cell;
    padding:12px 8px;
    max-width:80px;
    font-weight:bold;
    text-align: left;
}
.cell-th{
    max-width:65px;
    width:65px;
    text-align: right;
}
#login_form{
    margin:0 auto;
    max-width:400px;
    min-width:200px;
    padding:10px 0;
    background-color:#e5e5e5;
}
input.submit{ /*ログインボタン*/
    width:158px;
    height:40px;
    margin:0px auto 12px;

}
#status{
    position:relative;
    margin:auto;
    top:-4px;
    background-color: #FAA;
    font-weight:bold;
    padding:4px;
    min-width:200px;
    font-size:12px;
}
#msg_alert{
    display:none;
    margin:auto;
    padding:20px;
    width:70%;
    height:70%;
    text-align:center;
    background:#Fbb;
    border:2px #333 solid;
    font-size:14px;
    font-weight:bold;
    color:#333;
}
#msg_alert a{
    font-weight:bold;
    color:blue;
}
.reset_pswd{
    margin:30px auto;
}
#btn_account{
    display:block;
    padding:8px;
    width:140px;
    margin:20px auto;
    border:1px solid #555;
    background:linear-gradient(to bottom, #f2fff6 0%, #e3faed 37%, #c8e7dc 100%);
}




/*table{
    table-layout:fixed;
}*/
/* Responsive Full Background Image Using CSS
 * Tutorial URL: http://sixrevisions.com/css/responsive-background-image/
*/

/* For mobile devices */
@media only screen and (max-width: 440px) {
    #login-container{
        top:0px;
        padding:20px 10px;
    }
    #login_form{
        margin:0 20px;
    }
    .tbl-login-tbl{
        display:block;
    }    
    .tbl-login-row{
        display:inline-block;
        margin-bottom:8px;
    }
    .tbl-login-cell{
        display: inline-block;
        min-width:120px;
        max-width:150px;
        text-align: center;
        padding:4px;
    }
    .cell-th{
        padding-bottom:0px;
        
    }
}