body{
    background: #F4F4F4;
}
body.no-scroll {
    overflow: hidden;
    height: 100%;
}
div{
    box-sizing: border-box;
}
img{
    width: 100%;
    height: 100%;
}
.party-common-auto{
    margin: 0 auto;
    width: 1200px;
}
.block_main{
    position: relative;
    /*margin-top: 223px;*/
    padding-top: 20px;
}
.block_main-bg{
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.40);
    z-index: 9;
}
.common-main{
    width: 1200px;
    padding: 24px 20px 30px 20px;
    background: #FFF;
}
.common-hint-panel{
    width: 1160px;
    height: 43px;
    background: #EDEDED;
    background-image: url("/static/party/image/hint-panel.png");
    background-repeat: no-repeat;
    background-size: 184px 43px;
}
.common-hint-panel .title{
    color: #FFF;
    font-size: 18px;
    font-weight: 700;
    height: 43px;
    width: 184px;
    line-height: 43px;
    text-align: center;
}
.common-menu{
    padding: 12px 0 0 20px;
    height: 44px;
    border-bottom:1px solid #E7E7E7;
    color: #323232;
    font-size: 13px;
    font-weight: 500;
}

.text-ellipsis{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*头部样式 && nav样式*/
/*.party-common-header-nav{*/
/*    width: 100%;*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    z-index: 100;*/
/*}*/
.party-common-header{
    height: 157px;
    background-image: url("/static/party/image/header-bg.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.party-common-header-info{
    margin-bottom: 32px;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
}
.party-common-header-info div{
    color: #646464;
    font-size: 14px;
    font-weight: 500;
}
.party-common-header-user{
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}
.party-common-header-user .logo{
    width: 260px;
    height: 70px;
}
.party-common-header-user .user-info{
    display: flex;
    align-items: center;
}
.party-common-header-user .user-info .user-thumb{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}
.party-common-header-user .user-info.active .user-name{
    color: #000;
    font-size: 15px;
    font-weight: 500;
}
.party-common-header-user .user-info.active .user-post{
    color: #787878;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    margin-left: 5px;
}
.party-common-header-user .user-info .user-name{
    margin-left: 5px;
    color: #787878;
    font-size: 15px;
    font-weight: 500;
}
.party-common-nav{
    height: 50px;
    background: #DF2020;
}
.party-common-nav .party-common-auto{
    display: flex;
    justify-content: space-between;
}
.party-common-nav-item{
    display: block;
    height: 50px;
    color: #FFF;
    font-size: 16px;
    font-weight: 500;
    line-height: 50px;
    text-align: center;
    flex: 1;
}
.party-common-nav-item.active{
    background: #C20100;
}


/*底部footer样式*/
.party-common-footer{
    margin: 30px 0;

}
.party-common-footer .bg{
    height: 50px;
    background: #DF2020;
}
.party-common-footer-info{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.party-common-footer-logo{
    margin-top: 20px;
    width: 70px;
    height: 70px;
}
.party-common-footer-name{
    margin-top: 12px;
    color: #323232;
    font-size: 14px;
    font-weight: 500;
}
.party-common-footer-copyright{
    margin-top: 8px;
    color: #323232;
    font-size: 14px;
    font-weight: 500;
}


/*分页器样式修改*/
.layui-laypage-count{
    color: #000!important;
    font-size: 14px!important;
    font-weight: 500!important;
}
.layui-laypage a{
    color: #323232!important;
    font-size: 14px!important;
    font-weight: 500!important;
}
.layui-laypage a:hover{
    color: #323232!important;
}
.layui-laypage{
    margin:0!important;
}
#page{
    text-align: center;
}


/*登录框页面*/
.login-form{
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 550px;
    height: 409px;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0 5px 15px 0 #000;
    z-index: 10;
}
.login-form-title{
    margin: 36px 0;
    color: #323232;
    font-size: 22px;
    font-weight: 700;
    line-height: normal;
    text-align: center;
}
.login-form-field{
    margin: 0 auto;
    width: 450px;
    height: 50px;
}
.login-form-field input{
    border-radius: 4px;
    border: 1px solid #DCDCDC;
    background: #FFF;
    height: 50px!important;
}
.layui-input-prefix{
    line-height: 50px;
}
.login-form-field .layui-input:focus,.layui-textarea:focus {
    border-color: #DCDCDC!important;
    box-shadow: unset!important;
}
.login-form-field .layui-btn-fluid{
    height: 50px;
    border-radius: 4px;
    background: #DF2020;
    color: #fff;
}
.login-form-field .layui-btn-primary:hover{
    border-color:unset;
}
.login-form-hint{
    margin-top: 40px;
    color: #323232;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    text-align: center;
}
.login-form .close{
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

/*用户弹出框设置*/
.party-common-header-user .user-info{
    position: relative;
}
.party-common-header-user .user-info .user-info-site{
    display: none;
    position: absolute;
    left: 0;
    bottom: -102px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 126px;
    height: 102px;
    background: #FFF;
    box-shadow: 0 3px 9px 0 rgba(0, 0, 0, 0.10);
    cursor: auto;
}
.party-common-header-user .user-info .user-info-site .site-item{
    margin: 10px 0;
    color: #323232;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.party-common-header-user .user-info .user-info-site .site-item .layui-icon{
    margin-right: 8px;
    font-size: 14px;
    font-weight: 500;
}
.party-common-header-user .user-info .user-info-site .site-item:hover{
    color: #DF2020;
}
.party-common-header-user .user-info .user-info-site .site-item:hover .layui-icon{
    color: #DF2020;
}
