html,
body {
    background: #fafafa;
}
.main{ 
    width: 1150px;
    margin: -23px auto 20px;
    min-height: 800px;
}
.practiceMain{
    margin: 20px auto 20px;
}
.left-nav{
    width: 240px;
}
.left-nav li{
    width: 100%;
    height: 54px;
    line-height: 54px;
    font-size: 16px;
    text-align: center;
    background: #fff;
    margin-bottom: 1px;
    cursor: pointer;
}
.left-nav li:hover,.left-nav li.active{
    font-weight: bold;
    background: #FF0303 url('../img/pic_next.png') 215px center no-repeat;
    color: #fff;
}
.left-nav li:hover a,.left-nav li.active a{
    color: #fff;
}
.left-nav li a{
    display: block;
}
.right-list{
    width: 890px;
}
.news-item{
    background: #fff;
    padding: 18px;
    margin-bottom: 15px;
}
.news-item-img{
    width: 200px;
    height: 130px;
}
.news-item-img img{
    width: 100%;
    height: 100%;;
}
.news-item-info{
    width: 630px;
}
.news-item-info h3,.news-item-noimg h3{
    font-size: 17px;
    font-weight: bold;
    line-height: 2;
}
.news-item-info h3 a:hover,.news-item-noimg h3 a:hover{
    color: #FF0303;
}
.news-item-info p,.news-item-noimg p{
    font-size: 14px;
    line-height: 24px;
    color: #858585;
}
.news-item-info-time{
    margin-top: 23px;
}


/*社区*/
.search-box{
    width: 290px;
    height: 35px;
    border: 1px solid #E4E4E4;
    border-radius: 1px;
    position: relative;
    overflow: hidden;
}
.search-box input{
    border: none;
    height: 100%;
    width: 100%;
    color: #B7B7B7;
    padding-left: 10px;
    font-size: 14px;
}
.search-box button{
    background: none;
    border: none;
    position: absolute;
    top: 8px;
    right: 10px;;
}
.add-post{
    display: block;
    width: 105px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    font-size: 13px;
    color: #fff;
    background: #FF0303 url('../img/addpost.png') 15px center no-repeat;
    border-radius: 2px;
    padding-left: 15px;
    display: block;
}
.add-post:hover{
    color: #fff;
}
/*社区列表*/
.talk-item{
    background: #fff;
    margin-bottom: 10px;
    padding: 15px 50px 20px 25px;
}
.avatar{
    width: 50px;
    height: 50px;
}
.avatar img{
    width: 100%;
    height: 100%;
    border-radius: 50%;

}
.talk-item-info{
    width: 750px;
}
.talk-item-info h3 a:hover{
    color: #000;
}
.talk-item-img{
    margin: 20px 0;
}
.talk-item-img a{
    display: block;
    float: left;
    margin-right: 15px;
}
.talk-item-img img{
    width: 135px;
    height: 135px;
    border-radius: 3px;
}
.username,.pubtime{
    font-size: 14px;
}
.talk-item-info .pubtime{
    color: #999;
}
.talk-item-info h3{
    font-size: 16px;
    line-height: 1.5;
    margin-top: 8px;
    overflow: hidden;
    max-height: 144px;
    display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp:6;
overflow: hidden;
}
.cnct-project{
    background: #F7F6FB;
    border-radius: 10px;
    padding: 3px 10px;
}
.cnct-project span{
    color: #FF3B3E;
}
.cnct-project a{
    color: #999;
}
.talk-item-other .zan{
    color: #999;
    background: url('../img/btn_zan.png') left center no-repeat;
    padding-left: 20px;
}
.talk-item-other .zan.active{
    background: url('../img/btn_zan_click.png') left center no-repeat;
}
.talk-item-other .talk{
    padding-left: 20px;
    color: #999;
    background: url('../img/btn_pinglun.png') left center no-repeat;
}

/*发帖*/
.post-box{
    background: #fff;
    padding: 50px 70px;
    width: 950px;
}
.post-box .layui-form-label{
    width: 120px;
    padding: 9px 0;
}
.post-box .layui-input-block{
    margin-left: 130px;
}
.add-post-title{
    font-size: 20px;
    font-weight: bold;
    line-height: 2;
    background: url('../img/pic_yuanquan.png') left center no-repeat;
    padding-left: 20px;
}
.add-post-content{
    height: 180px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}
.img-item{
    width: 120px;
    height: 120px;
    margin-right: 10px;
    float: left;
    border: 1px solid #dedede;
    margin-bottom: 10px;
    position: relative;
}
.img-item img{
    width: 100%;
    height: 100%;;
}
.img-item .del-img-item{
    position: absolute;
    display: block;
    text-align: center;
    width: 100%;
    margin-top: -28px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    line-height: 2;
}
.add-img-box{
    border: 2px dashed #ccc;
    width: 120px;
    height: 120px;
    text-align: center;
    color: #ccc;
    font-size: 54px;
    float: left;
    cursor: pointer;
}
.add-img-box:hover{
    color: #EC2200;
    border: 2px dashed #EC2200;
}
