﻿html,
body {
    height: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    font-family: sans-serif
}

#space {
    width: 100%
}
.table {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    top: 0;
}

.logInBox {
    width: 580px;
    height: 340px;
    border-radius: 5px;
    overflow: hidden;
    z-index: 3;
    margin: auto;
    margin-top: 280px;
    animation: logo 1s;
}

.loginHeader {
    width: 100%;
    height: 60px;
    background-color: rgba(129,131,142,0.5);
}

.loginBody {
    width: 100%;
    height: 280px;
    background-color: rgba(60,61,69,0.4);
}

.buttonBox {
    width: 50%;
    height: 57px;
    margin-left: 50%;
}

#buttonboxFocus {
    width: 100px;
    height: 3px;
    background-color: gainsboro;
    margin-left: 311px;
    transition: margin-left .3s;
}

.button {
    display: inline-block;
    width: 141px;
    height: 57px;
    text-align: center;
    line-height: 57px;
    color: darkgray;
    cursor: pointer;
}

.button1:hover {
    color: white;
}

.button2:hover {
    color: white;
}

.bodyleft {
    display: inline-block;
    width: 50%;
    padding-top: 30px;
    float: left;
}

.bodyright {
    position:relative;
    display: inline-block;
    width: 290px;
    height: 280px;
    float: right;
    transition: width .3s;
    overflow:hidden;
}

.logo {
    width: 300px;
    height: 218px;
    background: url('../img/4.png') no-repeat;
    background-size: 300px 218px;
    margin: auto;
    margin-left: -10px;
}

.input {
    margin: 0;
    border: 0;
    background-color: red;
    width: 80%;
    height: 30px;
    padding-left: 16%;
    background: url('../img/zh.png') no-repeat;
    background-size: 27px;
    line-height: 30px;
    font-size: 20px;
    color: whitesmoke;
}

.input2 {
    background: url('../img/pw.png') no-repeat;
    background-size: 27px;
}

input {
    outline: none
}

.inputBox {
    width: 90%;
    height: 45px;
    margin: auto;
    margin-top: 35px;
}

.lightline {
    width: 100%;
    margin: auto;
    border-bottom: 1px solid white;
    margin-top: 10px;
    background-color: white;
    transition: box-shadow .4s,background-color .4s;
}

.input:focus + .lightline {
    box-shadow: 0px -1px 5px cornflowerblue;
    border-bottom: 1px solid cornflowerblue;
}

.enter {
    width: 260px;
    height: 45px;
    margin: auto;
    margin-top: 35px;
    border-radius: 5px;
    background-color: rgba(129,131,142,0.5);
    text-align: center;
    line-height: 45px;
    cursor: pointer;
    color: whitesmoke;
    transition: background-color .3s;
}

    .enter:hover {
        background-color: rgba(129,131,142,0.7);
    }

.QRCodeBox {
    position: absolute;
    left: -37px;
    top: -18px;
    background-color:white;
}

.QR {
    width: 100%;
}

.qrw {
    width: 100%;
    height: 20px;
    padding-top: 15px;
    text-align: center;
    line-height: 20px;
    color: whitesmoke;
    overflow: hidden;
}

.displayNone {
    width: 0;
    overflow: hidden;
}

@keyframes logo {
    from {
        opacity: 0;
        margin-top: -500px;
    }

    to {
        opacity: 1;
        margin-top: 280px;
    }
}
