﻿body {
    min-height: 100vh;
}

    body:before {
        content: "";
        background-color: rgba(0, 0, 0, .2);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

.login-wrapper {
    max-width: 420px;
    padding: 20px;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    z-index: 2;
}

    .login-wrapper > .layui-form {
        padding: 25px 30px;
        background-color: #fff;
        box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.19);
        box-sizing: border-box;
        border-radius: 4px;
    }

        .login-wrapper > .layui-form > h2 {
            color: #333;
            font-size: 18px;
            text-align: center;
            margin-bottom: 25px;
        }

        .login-wrapper > .layui-form > .layui-form-item {
            margin-bottom: 25px;
            position: relative;
        }

            .login-wrapper > .layui-form > .layui-form-item:last-child {
                margin-bottom: 0;
            }

            .login-wrapper > .layui-form > .layui-form-item > .layui-input {
                height: 46px;
                line-height: 46px;
                border-radius: 2px !important;
            }

    .login-wrapper .layui-input-icon-group > .layui-input {
        padding-left: 46px;
    }

    .login-wrapper .layui-input-icon-group > .layui-icon {
        width: 46px;
        height: 46px;
        line-height: 46px;
        font-size: 20px;
        color: #909399;
        position: absolute;
        left: 0;
        top: 0;
        text-align: center;
    }

    .login-wrapper > .layui-form > .layui-form-item.login-captcha-group {
        padding-right: 135px;
    }

        .login-wrapper > .layui-form > .layui-form-item.login-captcha-group > .login-captcha {
            height: 46px;
            width: 120px;
            cursor: pointer;
            box-sizing: border-box;
            border: 1px solid #e6e6e6;
            border-radius: 2px !important;
            position: absolute;
            right: 0;
            top: 0;
        }

    .login-wrapper > .layui-form > .layui-form-item > .layui-form-checkbox {
        margin: 0 !important;
        padding-left: 25px;
    }

        .login-wrapper > .layui-form > .layui-form-item > .layui-form-checkbox > .layui-icon {
            width: 15px !important;
            height: 15px !important;
        }

    .login-wrapper > .layui-form .layui-btn-fluid {
        height: 48px;
        line-height: 48px;
        font-size: 16px;
        border-radius: 2px !important;
    }

    .login-wrapper > .layui-form > .layui-form-item.login-oauth-group > a > .layui-icon {
        font-size: 26px;
    }

.login-copyright {
    color: #eee;
    padding-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

@media screen and (min-height: 550px) {
    .login-wrapper {
        margin: -250px auto 0;
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        width: 100%;
    }

    .login-copyright {
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
    }
}

.layui-btn {
    background-color: #4e54c8;
    border-color: #4e54c8;
}

.layui-link {
    color: #5FB878 !important;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

.background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background: #4e54c8;
    overflow: hidden;
}

    .background li {
        position: absolute;
        display: block;
        list-style: none;
        width: 20px;
        height: 20px;
        background: rgba(255, 255, 255, 0.2);
        animation: animate 16s linear infinite;
    }




        .background li:nth-child(0) {
            left: 53%;
            width: 111px;
            height: 111px;
            bottom: -111px;
            animation-delay: 1s;
        }

        .background li:nth-child(1) {
            left: 32%;
            width: 81px;
            height: 81px;
            bottom: -81px;
            animation-delay: 5s;
        }

        .background li:nth-child(2) {
            left: 61%;
            width: 94px;
            height: 94px;
            bottom: -94px;
            animation-delay: 3s;
        }

        .background li:nth-child(3) {
            left: 4%;
            width: 63px;
            height: 63px;
            bottom: -63px;
            animation-delay: 13s;
        }

        .background li:nth-child(4) {
            left: 28%;
            width: 56px;
            height: 56px;
            bottom: -56px;
            animation-delay: 8s;
        }

        .background li:nth-child(5) {
            left: 45%;
            width: 80px;
            height: 80px;
            bottom: -80px;
            animation-delay: 16s;
        }

        .background li:nth-child(6) {
            left: 55%;
            width: 91px;
            height: 91px;
            bottom: -91px;
            animation-delay: 16s;
        }

        .background li:nth-child(7) {
            left: 38%;
            width: 108px;
            height: 108px;
            bottom: -108px;
            animation-delay: 31s;
        }
.layui-form-checked[lay-skin=primary] i {
    border-color: #4e54c8 !important;
    background-color: #4e54c8;
    color: #fff;
}