﻿html {
    height: 100%
}

body.login {
    height: auto;
    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: rgba(255,255,255,.95)
}

.login-panel {
    width: 750px;
    margin: 7% auto 0 auto;
}

    .login-panel .section {
        width: 360px;
        margin: 2px auto;
    }

    .login-panel .logopanel {
        float: none;
        width: auto;
        padding: 0;
        background: 0 0
    }

    .login-panel .login-info ul {
        list-style: none;
        padding: 0;
        margin: 20px 0
    }

    .login-panel .form-control {
        display: block;
        margin-top: 15px;
        border: 1px solid #bbb;
    }

    .login-panel .uname {
        background: #fff url(../../image/user.png) no-repeat 95% center;
        color: #333
    }

    .login-panel .pword {
        background: #fff url(../../image/locked.png) no-repeat 95% center;
        color: #333
    }

    .login-panel .code {
        background: #fff no-repeat 95% center;
        color: #333;
        margin: 0 0 15px 0;
    }

    .login-panel .btn {
        margin-top: 15px
    }

code {
    background-color: #F9F2F4;
    border-radius: 4px;
    color: #ca4440;
    font-size: 90%;
    padding: 2px 4px;
    white-space: nowrap;
}

    .login-panel form {
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.15);
        -moz-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        -moz-border-radius: 6px;
        -webkit-border-radius: 6px;
        border-radius: 6px;
        padding: 35px 30px;
        color: #777
    }

    .login-header {
        text-align: center;
        margin: -35px -30px 20px;
        padding: 35px 30px 20px;
        background: rgba(55, 125, 195, 0.88);
        border-radius: 6px 6px 0 0;
    }

    .national-emblem {
        width: auto;
        height: 60px;
        margin-bottom: 8px;
    }

    .login-title {
        font-size: 20px;
        font-weight: 700;
        color: #777;
        margin: 0 0 15px 0;
        letter-spacing: 2px;
        text-align: center;
    }

    .login-subtitle {
        text-align: center;
        color: rgba(255, 255, 255, 0.75);
        font-size: 13px;
        margin: 0;
    }

.login-info ul {
    line-height: 25px;
    margin-top: 50px;
    font-size: 13px
}

.login-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 380px;
    margin: 0;
    padding: 1px 2px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .35);
    text-align: center;
    font-size: 12px;
    line-height: 1.8;
    color: #fff;
    z-index: 10;
}

.login-footer .login-copyright {
    color: rgba(255, 255, 255, .9);
}

.login-footer .login-beian a {
    color: rgba(255, 255, 255, .9);
    margin: 0 1px;
}

    .login-footer .login-beian a:hover {
        color: #fff;
    }

.login-footer .login-footer-sep {
    margin: 0 4px;
    color: rgba(255, 255, 255, .4);
}

.login-footer-emblem {
    height: 15px;
    width: auto;
    vertical-align: -3px;
    margin: 0 2px;
}

/*弹出框里面文字的颜色*/
.layui-layer-content {
    color: #676a6c;
}

@media screen and (max-width:768px) {
    .login-panel {
        margin: 0 auto;
        width: 360px !important;
        padding: 20px
    }

        .login-panel .section {
            width: 100%;
            margin: 0 auto;
        }

        .login-panel form {
            margin-top: 20px
        }

    .login-footer, .form-control {
        margin-bottom: 10px
    }

    .login-footer {
        width: auto;
        font-size: 10px;
        padding: 1px 6px;
        line-height: 1.6;
    }

        .login-footer .login-beian {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: nowrap;
            white-space: nowrap;
            overflow: hidden;
        }

    .login-footer-emblem {
        height: 12px;
        vertical-align: -2px;
    }

    .login-panel .login-info ul {
        display: none;
    }
}

@media screen and (max-width:320px) {
    .login-panel {
        margin: 0 20px;
        width: auto
    }

        .login-panel .section {
            width: 100%;
            margin: 0 auto;
        }
}

.checkbox-custom {
    position: relative;
    padding: 0 15px 0 25px;
    margin-bottom: 7px;
    margin-top: 0;
    display: inline-block
}

    .checkbox-custom input[type="checkbox"] {
        opacity: 0;
        position: absolute;
        cursor: pointer;
        z-index: 2;
        margin: -6px 0 0 0;
        top: 50%;
        left: 3px
    }

    .checkbox-custom label:before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        margin-top: -9px;
        width: 18px;
        height: 17px;
        display: inline-block;
        border-radius: 2px;
        border: 1px solid #bbb;
        background: #fff
    }

    .checkbox-custom input[type="checkbox"]:checked + label:after {
        position: absolute;
        display: inline-block;
        font-family: 'Glyphicons Halflings';
        content: "\e013";
        top: 42%;
        left: 3px;
        margin-top: -5px;
        font-size: 11px;
        line-height: 1;
        width: 16px;
        height: 16px;
        color: #333
    }

    .checkbox-custom label {
        cursor: pointer;
        line-height: 1.2;
        font-weight: normal;
        margin-bottom: 0;
        text-align: left
    }
