body {
    line-height: 1;
    padding-top: 0px;
}

/* 登录 */
.login-head .login-head-img {
    margin: 40px 0;
    height: 77px;
}

.login-head .login-head-img .login-head-img01 {
    width: 269px;
    height: 77px;
}

.login-head .login-head-img .login-head-img02 {
    width: 234px;
    height: 41px;
    margin-top: 15px;
    display: block;
}

.login-bg {
    width: 100%;
    height: calc(100vh - 35vh);
    background: url("../img/login-bg.png") center center no-repeat;
    background-position-x: center;
    background-position-y: center;
}

.login-from-relative {
    position: relative;
}

.login-from {
    position: absolute;
    right: 50px;
    width: 380px;
    height: 380px;
    top: 100px;
    background: #fff;
    padding: 45px;
}

.login-from .nav-tabs {
    border-bottom: 1px solid #e5e5e5;
}

.login-from .nav-tabs li {
    width: 50%;
    /* width: 100%; */
    text-align: center;
    color: #999999;
    background: url("../img/login-from-li.png") right center no-repeat;
}

.login-from .nav > li > a {
    padding-bottom: 15px;
}

.login-from .nav-tabs > li > a {
    border: none;
    border-radius: 0;
    cursor: pointer;
}

.login-from .nav-tabs > li.active > a,
.login-from .nav-tabs > li.active > a:hover,
.login-from .nav-tabs > li.active > a:focus {
    background: none;
    border: none;
    color: #333333;
}

.login-from .nav-tabs > li > a,
.login-from .nav-tabs > li > a:hover,
.login-from .nav-tabs > li > a:focus {
    background: none;
    border: none;
    color: #999999;
}

.login-from .nav-tabs li:last-child {
    background: none;
}

.login-from .tab-content {
    padding: 30px 10px;
}

.login-from .tab-content .login-from-qrcode {
    width: 100%;
    position: relative;
}

.login-from .tab-content .login-from-qrcode img {
    width: 170px;
    height: 170px;
    padding: 10px;
    border: 1px solid #eaeaea;
    margin: 0 auto 10px auto;
    display: block;
}

.login-from .tab-content .login-from-qrcode p {
    width: 160px;
    margin: 0 auto;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
    color: #333333;
}
.login-from-qrcode #no-ewm {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: none;
    text-align: center;
}
#no-ewm img {
    border: none;
    padding: 0;
    width: 130px;
    height: 130px;
}
#no-ewm span {
    display: inline-block;
    font-size: 12px;
    margin-top: 5px;
    cursor: pointer;
}
#no-ewm .reload-ewm {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0;
    margin-right: 3px;
    vertical-align: middle;
}

.login-from .tab-content .input-group:first-child {
    margin-top: 0;
}

.login-from .tab-content .input-group {
    margin-bottom: 20px;
    position: relative;
}

.login-from .tab-content .input-group .form-control {
    border: 1px solid #eaeaea;
    border-radius: 0px;
    height: 38px;
    color: #999999;
    font-size: 14px;
}

.login-from .tab-content .input-group .btn {
    border-radius: 0px;
    border: 1px solid #eaeaea;
    height: 38px;
    padding: 6px 12px;
}

.login-from .tab-content .input-group .btn-gray {
    background: #eeeeee;
    color: #464646;
}

.login-from .tab-content .btn-login {
    width: 100%;
    background: #cd9757;
    font-size: 16px;
    color: #fff;
    border-radius: 0px;
    border: none;
    margin-bottom: 5px;
    margin-top: 10px;
}

.login-from .tab-content .checkbox {
    font-size: 12px;
    color: #a0a0a0;
    line-height: 20px;
    position: relative;
}

.login-from .tab-content .checkbox span {
    color: #5a5a5a;
    cursor: pointer;
}

.login-from .tab-content .input-group-btn:first-child > .btn,
.login-from .tab-content .input-group-btn:first-child > .btn-group {
    margin-right: -2px;
}

.login-head-p {
    width: 80%;
    line-height: 25px;
    font-size: 12px;
    color: #999999;
    text-align: center;
    margin: 30px auto 0 auto;
}
.login-head-second {
    margin-top: 0;
}

.login-head-wx {
    display: none;
}

@media (max-width: 844px) and (max-width: 767px) {
    .login-head .container {
        padding-right: 0px;
        padding-left: 0px;
    }

    .login-head .login-head-img {
        width: 100%;
        padding: 15px 0;
        margin: 0;
        height: auto;
        border-bottom: 1px solid #e0e0e0;
    }

    .login-head .login-head-img .login-head-img01 {
        width: 180px;
        height: 52px;
        float: none;
        margin: 0 auto;
        display: block;
    }

    .login-head-p,
    .login-from .nav-tabs,
    .login-from .tab-content #login-code,
    .login-head .login-head-img .login-head-img02 {
        display: none;
    }

    .login-from .tab-content #login-phone {
        display: block;
    }

    .login-from .tab-content > .tab-pane {
        visibility: inherit;
    }

    .login-from {
        position: inherit;
        width: 90%;
        margin: 0 auto;
        right: inherit;
        top: inherit;
        padding: 30px 0;
    }

    .login-bg {
        background: none;
    }

    .login-head-wx {
        width: 100%;
        /* display: block; */
        position: fixed;
        bottom: 30px;
    }

    .login-head-wx div {
        width: 85px;
        margin: 0 auto;
    }

    .login-head-wx div p {
        font-size: 14px;
        color: #999999;
        margin-bottom: 10px;
    }

    .login-head-wx div img {
        width: 50px;
        height: 50px;
        margin: 0 auto;
        display: block;
        cursor: pointer;
    }
}

.login-error-text {
    position: absolute;
    left: 0;
    bottom: -16px;
    color: #a94442;
    opacity: 0;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
}

.ysxy {
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 20px;
    padding-top: 10px;
}

.ysxy p {
    line-height: 24px;
    text-indent: 2em;
}
