﻿html {
    height: 100%
}

body.login {
    height: auto;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-color: white;
    color: #4178C1;
}

.lab-reg {
    width: 26%;
    color: black;
    font-weight: bolder;
    text-align: right;
}

.login-panel {
    width: 100%;
    margin: 3% 0 0 auto;
}

    .login-panel .login-top {
        width: 640px;
        margin: 0 auto;
        text-align: center;
        background-color: #F7F7F7;
        padding: 1px;
        font-size: 28px;
        font-weight: 700
    }



    .login-panel .section {
        width: 640px;
        margin: 0 auto;
    }

    .login-panel .logopanel {
        float: none;
        width: auto;
        padding: 0;
        background: 0 0
    }

    .login-panel .login-info ul {
        list-style: none;
        padding: 2px;
        margin: 10px 0
    }

    .login-panel .form-control {
        display: block;
        margin-top: 6px
    }

    .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 .phone {
        background: #fff url(../../image/telephone-fill.svg) no-repeat 95% center;
        color: #333
    }

    .login-panel .email {
        background: #fff url(../../image/envelope-at-fill.svg) no-repeat 95% center;
        color: #333
    }

    .login-panel .house {
        background: #fff url(../../image/house-door-fill.svg) no-repeat 95% center;
        color: #333
    }


#password-strength-meter {
    margin-top: 10px;
    height: 25px;
    background-color: #eee;
}

#password-strength-bar {
    height: 100%;
    width: 0px;
    background-color: red;
    transition: width 0.5s ease-in-out;
}


.login-panel .code {
    background: #fff no-repeat 95% center;
    color: #333;
    margin: 0 0 15px 0;
}

.login-panel .btn {
    margin-top: 15px;
}

.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: 0px 30px 0px 30px;
    margin-left: auto;
    margin-right: auto;
}

.login-info ul {
    line-height: 25px;
    margin-top: 100px;
    font-size: 13px
}

.login-top {
    border-top: solid 0px rgba(255,255,255,.3);
    padding-top: 0px;
    font-size: 24px;
    font-weight: bold;
    font-family: KaiTi;
}

.login-footer {
    border-top: solid 0px rgba(255,255,255,.3);
    margin: 0px 0;
    padding-top: 0px
}

/*弹出框里面文字的颜色*/
.layui-layer-content {
    color: #676a6c;
}

@media screen and (max-width:768px) {
    .login-panel {
        margin: 0 auto;
        width: 440px !important;
        padding: 5px
    }

        .login-panel .section {
            width: 100%;
            margin: 0 auto;
        }

        .login-panel form {
            margin-top: 10px
        }

    .login-footer, .form-control {
        margin-bottom: 10px
    }

    .login-panel .login-info ul {
        display: none;
    }
}

@media screen and (max-width:380px) {
    .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 {
    width: 750px;
    height: 718px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -375px;
    margin-top: -359px;
    background-color: white;
    border-radius: 0px;
    box-shadow: 0 3px 0 rgba(12, 12, 12, .03);
}

    .login-panel .section {
        width: 700px;
        margin: 0 auto;
    }

    .login-panel form {
        background: rgba(255, 255, 255);
        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: 10px 10px 0px 10px;
    }

.select2-container--default .select2-selection--single {
    border-radius: 0px;
    height: 34px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 0px;
}

body.login {
    height: auto;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-color: white;
    color: #676a6c;
}
