html {
    height: 100%;
}

body.login {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    height: 100vh !important;
    margin: 0 !important;
    background: url(../../image/login-background.jpg) no-repeat center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: #4f5661 !important;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    overflow: auto;
}

.login-panel {
    width: 442px !important;
    margin: 0 auto !important;
    padding-top: 0 !important;
    box-sizing: border-box;
}

    .login-panel .section {
        width: 100%;
        margin: 0 !important;
    }

    .login-panel .section > .col-sm-12 {
        float: none;
        width: 100%;
        min-height: 0;
        padding-right: 0;
        padding-left: 0;
    }

    body.login .login-panel form {
        width: 442px !important;
        height: 526px;
        min-height: 526px;
        padding: 58px 65px 30px;
        box-sizing: border-box;
        background: #fff !important;
        border: 0 !important;
        border-radius: 7px !important;
        -moz-box-shadow: 0 12px 30px rgba(18,38,63,.12);
        -webkit-box-shadow: 0 12px 30px rgba(18,38,63,.12);
        box-shadow: 0 12px 30px rgba(18,38,63,.12) !important;
    }

    .login-panel .form-group {
        margin-bottom: 14px;
    }

        .login-panel .form-group label {
            display: block;
            margin: 0 0 6px;
            color: #62676f;
            font-size: 13px;
            font-weight: 400;
            letter-spacing: 0;
            line-height: 1.4;
        }

    .login-panel .form-control {
        display: block;
        width: 100%;
        height: 46px;
        margin: 0;
        padding: 0 16px;
        color: #5a6068;
        font-size: 13px;
        line-height: 46px;
        background: #f7f7f9;
        border: 1px solid #d9dde5;
        border-radius: 4px;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

        .login-panel .form-control:focus {
            background: #fff;
            border-color: #2185f5;
            -moz-box-shadow: 0 0 0 3px rgba(33,133,245,.12);
            -webkit-box-shadow: 0 0 0 3px rgba(33,133,245,.12);
            box-shadow: 0 0 0 3px rgba(33,133,245,.12);
        }

        .login-panel .form-control::-webkit-input-placeholder {
            color: #777d86;
        }

        .login-panel .form-control:-moz-placeholder {
            color: #777d86;
        }

        .login-panel .form-control::-moz-placeholder {
            color: #777d86;
        }

        .login-panel .form-control:-ms-input-placeholder {
            color: #777d86;
        }

    body.login .login-panel .uname,
    body.login .login-panel .pword,
    body.login .login-panel .code {
        background: #f7f7f9 !important;
        color: #5a6068 !important;
    }

    .login-panel .captcha-group {
        margin-bottom: 11px;
    }

        .login-panel .captcha-group .row {
            margin-right: -6px;
            margin-left: -6px;
        }

        .login-panel .captcha-group .col-xs-6 {
            padding-right: 6px;
            padding-left: 6px;
        }

    .login-panel .captcha-image {
        display: block;
        height: 46px;
        overflow: hidden;
        background: #f7f7f9;
        border: 1px solid #d9dde5;
        border-radius: 4px;
    }

        .login-panel .captcha-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .login-panel .btn {
        height: 48px;
        margin-top: 16px;
        color: #fff;
        font-size: 19px;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 48px;
        background: #2185f5;
        border: 0;
        border-radius: 4px;
        text-shadow: none;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

        .login-panel .btn:hover,
        .login-panel .btn:focus,
        .login-panel .btn:active {
            color: #fff;
            background: #1979e6;
            outline: none;
            -moz-box-shadow: none;
            -webkit-box-shadow: none;
            box-shadow: none;
        }

body.login .login-header {
    margin-bottom: 36px;
    text-align: center;
}

    body.login .login-header h1 {
        margin: 0 0 4px;
        color: #061426 !important;
        font-size: 24px;
        font-weight: 800;
        letter-spacing: 0;
        line-height: 1.25;
    }

    body.login .login-header p {
        margin: 0;
        color: #555 !important;
        font-size: 13px;
        line-height: 1.4;
    }

        body.login .login-header p span {
            color: #1280ff !important;
        }

.login-info ul {
    line-height: 25px;
    margin-top: 50px;
    font-size: 13px;
}

.login-footer {
    display: none;
}

/*弹出框里面文字的颜色*/
.layui-layer-content {
    color: #676a6c;
}

.checkbox-custom {
    position: relative;
    display: inline-block;
    margin-top: -5px;
    margin-bottom: 0;
    padding: 0 15px 0 35px;
}

    .checkbox-custom input[type="checkbox"] {
        position: absolute;
        top: 50%;
        left: 3px;
        z-index: 2;
        margin: -6px 0 0 0;
        cursor: pointer;
        opacity: 0;
    }

    .checkbox-custom label {
        margin-bottom: 0;
        color: #666;
        font-size: 16px;
        font-weight: normal;
        line-height: 22px;
        text-align: left;
        cursor: pointer;
    }

        .checkbox-custom label:before {
            content: "";
            position: absolute;
            top: 50%;
            left: 0;
            display: inline-block;
            width: 22px;
            height: 22px;
            margin-top: -11px;
            background: #fff;
            border: 2px solid #d7d7d7;
            border-radius: 4px;
        }

    .checkbox-custom input[type="checkbox"]:checked + label:after {
        position: absolute;
        top: 50%;
        left: 5px;
        display: inline-block;
        width: 16px;
        height: 16px;
        margin-top: -5px;
        color: #2185f5;
        font-family: "Glyphicons Halflings";
        font-size: 11px;
        line-height: 1;
        content: "\e013";
    }

@media screen and (max-width: 768px) {
    .login-panel {
        width: 100% !important;
        max-width: 442px;
        margin: 0 auto;
        padding: 24px 16px;
    }

        .login-panel .section {
            width: 100%;
            margin: 0 auto;
        }

        .login-panel form {
            width: 100% !important;
            height: auto;
            min-height: auto;
            margin-top: 0;
            padding: 48px 28px 42px;
            box-sizing: border-box;
        }

        .login-panel .btn {
            margin-top: 34px;
        }

    .login-header {
        margin-bottom: 38px;
    }

        .login-header h1 {
            font-size: 26px;
        }

    .login-footer,
    .form-control {
        margin-bottom: 10px;
    }

    .login-panel .login-info ul {
        display: none;
    }
}

@media screen and (max-width: 320px) {
    .login-panel {
        width: auto;
        margin: 0;
        padding: 16px 10px;
    }

        .login-panel .section {
            width: 100%;
            margin: 0 auto;
        }

        .login-panel form {
            padding-right: 18px;
            padding-left: 18px;
        }
}
