.main-body {
    top: 50%;
    left: 50%;
    position: absolute;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    overflow: hidden;
    box-shadow: 0 0 16px 0 rgba(50, 112, 255, .1);
}

.login-main {
    width: 428px;
    position: relative;
    float: left;
}

.login-main .login-top {
    height: 180px;
    border-radius: 12px 12px 0 0;
    font-family: Helvetica,Tahoma,PingFang SC,Microsoft JhengHei,SimSun,"sans-serif";
    font-size: 28px;
    font-stretch: normal;
    letter-spacing: 0;
    color: #333;
    font-weight: 600;
    line-height: 60px;
    text-align: center;
    overflow: hidden;
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
}

.login-main .login-top-tb {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-main .login-top img {
    width: 100px;
    margin-top: 15px;
}


.login-main .login-top .bg1 {
    display: inline-block;
    width: 74px;
    height: 74px;
    background: #fff;
    opacity: .1;
    border-radius: 0 74px 0 0;
    position: absolute;
    left: 0;
    top: 43px;
}

.login-main .login-top .bg2 {
    display: inline-block;
    width: 94px;
    height: 94px;
    background: #fff;
    opacity: .1;
    border-radius: 50%;
    position: absolute;
    right: -16px;
    top: -16px;
}

.login-main .login-bottom {
    width: 428px;
    background: #fff;
    border-radius: 0 0 12px 12px;
    padding-bottom: 53px;
}

.login-main .login-bottom .center {
    margin: 0 auto;
    padding: 5% 10%;
    padding-bottom:0;
    position: relative;
    font-size:0.9rem;
}

body {
    position: static;
    font-size: 12px;
}

input::-webkit-input-placeholder {
    color: #a6aebf;
}

input::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #a6aebf;
}

input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #a6aebf;
}

input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #a6aebf;
}

input:-webkit-autofill { /* 取消Chrome记住密码的背景颜色 */
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
}

html {
    height: 100%;
}

.login-main .login-bottom .login-btn {
    width: 80%;
    height: 40px;
    background-color: #318efe;
    border-radius: 4px;
    margin: 24px auto 0;
    text-align: center;
    line-height: 40px;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0;
    cursor: pointer;
    border: none;
}


.footer {
    left: 0;
    bottom: 0;
    color: #fff;
    width: 100%;
    position: absolute;
    text-align: center;
    line-height: 30px;
    padding-bottom: 10px;
    text-shadow: #000 0.1em 0.1em 0.1em;
    font-size: 14px;
}

.padding-5 {
    padding: 5px !important;
}

.footer a, .footer span {
    color: #fff;
}


.layui-input:focus, .layui-textarea:focus{
    border-color: #318efe !important;
}
.layui-input{
    border: 1px solid #dcdfe6;
}
.foo{
    position: relative;
    color: #318efe;
    top: 40%;
    font-size: 14px;
    cursor: pointer;
    height: 20px;
}
.foo .zhuce {
    position: absolute;
    left: 10%;
}
.foo .forget{
    position: absolute;
    right: 10%;
}
.layui-form-checked[lay-skin=primary]>i{
    border-color: #318efe!important;
    background-color: #318efe;
    color: #fff;
}
.layui-form-checkbox[lay-skin=primary]:hover>i{
    border-color: #318efe;
    color: #fff;
}

@media screen and (max-width: 428px) {
    .login-main {
        width: 360px !important;
    }

    .login-main .login-top {
        width: 360px !important;
    }

    .login-main .login-bottom {
        width: 360px !important;
    }
}

.layui-btn-fluid {
    display: flex;
    justify-content: center;
}
