﻿html {
    height: 100%
}

body.login {
    height: auto;
    background: url(../../image/loginbg.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 {
    max-width: 420px;
    width: 90%;
}

    .login-panel .section {
        width: 360px;
        margin: 0 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
    }

    .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: 20px
    }

    .login-panel form {
        background: rgba(255,255,255,.2);
        border: 1px solid rgba(255,255,255,.3);
        -moz-box-shadow: 0 3px 0 rgba(12,12,12,.03);
        -webkit-box-shadow: 0 3px 0 rgba(12,12,12,.03);
        box-shadow: 0 3px 0 rgba(12,12,12,.03);
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        padding: 30px
    }

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

.login-footer {
    border-top: solid 1px rgba(255,255,255,.3);
    margin: 20px 0;
    padding-top: 15px
}

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

@media screen and (max-width:768px) {
    .login-panel {
        margin: 0 auto;
        width: 360px !important;
        padding: 20px;
        margin-left: -180px !important
    }

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

        .login-panel form {
            margin-top: 20px
        }

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

    .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
    }

.login-panel {
    position: fixed;
    max-width: 500px;
    width: 90%;
    margin: 3% auto 0 auto;
    left: 50%;
    margin-left: -250px;
}

    .login-panel .login-form {
        padding: 30px 10% 55px 10%;
        background-color: #fff;
        box-shadow: 0px 0px 10px rgb(0 0 0 / 70%);
        box-sizing: border-box;
        border-radius: 15px;
    }

.login-form h2 {
    color: #333;
    font-size: 24px;
    text-align: center;
    margin-bottom: 35px;
}

.login-form .form-control {
    height: 46px;
    line-height: 46px;
    padding: 0 15px 0 40px;
    margin-bottom: 25px;
    border-radius: 2px !important
}

.btn-block {
    height: 46px;
    border-radius: 2px
}

input:-webkit-autofill {
    box-shadow: 0 0 0px 1000px white inset !important;
}

.login-form name .position-relative label.error {
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -8px;
}

.logo-l {
    margin: 1.875rem 2.5rem;
    max-width: 300px;
}

.login-form .name:before, .login-form .pwd:before, .login-form .code:before {
    position: absolute;
    height: 46px;
    width: 40px;
    left: 0;
    top: 0;
    content: "";
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #909399;
}

.login-form .name:before {
    content: "\e797"
}

.login-form .pwd:before {
    content: "\e798"
}

.login-form .code:before {
    content: "\e671"
}

.bg-play {
    display: table-cell;
    height: 100%;
    left: 50%;
    min-width: 1920px;
    position: absolute;
    text-align: center;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    vertical-align: middle;
    width: 100%;
    z-index: 0;
    display: none;
}

    .bg-play view {
        display: block;
        height: auto;
        min-height: 100%;
        min-width: 100%;
        position: relative;
        top: -90px;
        width: auto;
    }

@media screen and (max-width: 768px) {
    .login-form h2 {
        color: #fff
    }

    .login-panel .login-form {
        background: none;
        border: none;
        box-shadow: none;
        padding-left: 0;
        padding-right: 0
    }
}
@media (max-width: 480px) {
    .login-left{display:none}
    .login-box { width:90% !important;}
    .login-box .col-md-5{width:100%}
    }