html,body{
    width:100%;
    height:100%;
    margin:0px;
    padding:0px;
    overflow:hidden;
}

body{
    background-image: url("./img/bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.login-wrap{
    width:60%;
    min-width:400px;
    background-color:white;
    border-radius:20px;
    height:700px;
    position:relative;
    background-image: url("./img/bg-kapian.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow:0px 0px 10px 3px rgba(0,0,0,0.3);
    display:flex;
    flex-direction: column;
}

.login-top{
    flex-grow:1;
    display:flex;
    flex-direction: row;
    justify-content: center;

}
.login-left,.login-right{
    flex:1;
}
.flex-right{
}
.login-foot{
    height:60px;
    display:flex;
    justify-content: center;
    flex-shrink: 0;
    flex-direction: row;
}
.login-foot p,.login-foot span{
    margin-right:10px;
}
.logo{
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top:30px;
}
.logo img{
    margin-right:20px;
}
.logo .sys-name{
    font-size:32px;
    color:white;
    font-weight:bold;
}
.login-right{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.right-tip{
    font-size:20px;
    color:#333;
    text-align:center;
    margin-bottom:20px;
}
.login-form{
    width:260px;
}
.form-input{
    position:relative;
    text-align:center;
}
.login-item{
    margin-top:10px;
    margin-bottom:20px;
}
.login-item label{
    font-size:18px;
    margin-bottom:8px;
    display:block;
}
.form-input input{
    width:260px;
    outline:none;
    height:35px;
    line-height:35px;
    padding:2px 30px 2px 5px;
    border:1px solid #ddd;
    box-sizing:border-box;
    border-radius:4px;
    background-color:white;
    color:#333;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
    background-color:transparent;
    -webkit-text-fill-color: #333;
}
.form-input i{
    position:absolute;
    right:10px;
    top:10px;
}


@media screen and (max-width : 1200px){
    .login-top{
        display:flex;
        flex-direction: column;
        z-index:10;
    }
    .login-foot{
        z-index:10;
    }
    .login-left{
        flex:none;
    }
    .login-right{
        justify-content: center;
    }
    .login-wrap{
        position:relative;
    }
    .login-mask{
        border-radius:20px;
        position:absolute;
        top:0px;
        left:0px;
        width:100%;
        height:100%;
        background-color:rgba(0,0,0,0.4);
        z-index:1;
    }
    .right-tip,.login-item label,.login-foot,.login-foot a{
        color:white;
    }
}

@media screen and (max-width:800px){
    .login-wrap{
        width:80%;
    }
}
@media screen and (max-width:500px){
    .login-wrap{
        width:95%;
    }
}