.topic{
    margin-bottom: 10px;
    padding: 20px 20px 10px;
    background: #fff;
    border-radius: 4px;
}
.topic-top{
    width: 100%;
    height: 40px;
    overflow: visible;
}
.topic-head{
    float: left;
    width: 50px;
    height: 50px;
    overflow: visible;
    position: relative;
    z-index: 1;
}
.topic-head a {
    display: inline-block;
}
.topic-head a img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.topic-user{
    padding-left: 66px;
    height: 40px;
    overflow: visible;
    position: relative;
}
.user-name{
    float: left;
    margin-top: -5px;
    height: 22px;
    overflow: visible;
}
.user-name .nickname{
    float: left;
    margin-right: 5px;
    display: inline-block;
    width: auto;
    height: 22px;
    line-height: 22px;
    color: #444;
    font-size: 15px;
    font-weight: bold;
    max-width: 140px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.user-name .nickname:hover{
    color: #2786ed;
}
.topic-user .user-time{
    width: auto;
    height: 16px;
    line-height: 16px;
    color: #aaa;
    font-size: 12px;
    position: absolute;
    left: 66px;
    top: 18px;
}
.topic-user .user-state {
    overflow: visible;
    position: absolute;
    right: 0;
    top: 5px;
}
.topic-user .user-state span{
    float: left;
    margin-left: 3px;
    padding: 0 10px;
    display: inline-block;
    height: 20px;
    line-height: 20px;
    color: #fff;
    font-size: 12px;
    border-radius: 5px;
}
.topic-user .user-state span.featured{
    background: #0099e5;
}
.topic-user .user-state span.normal-stick{
    background: #f7b20f;
}
.topic-user .user-state span.super-stick{
    background: #f70f7a;
}
.topic-wrap{
    padding-left: 66px;
    overflow: visible;
}
.topic-wrap .topic-title h5{
    margin: 0;
    padding: 3px 0;
    line-height: 24px;
    color: #222;
    font-size: 16px;
    font-family: 'Microsoft YaHei';
    font-weight: bold;
}
.topic-wrap .topic-title a{
    color: #222;
}
.topic-wrap .topic-title a:hover{
    color: #2786ed;
}
.topic-wrap .topic-txt{
    width: 100%;
    height: auto;
    line-height: 24px;
    color: #444;
    font-size: 14px;
    word-wrap: break-word;
    text-align: justify;
    overflow: hidden;
    margin-bottom: 10px;
}
.topic-wrap .topic-txt > a{
    display: block;
    color: #444;
}
.topic-meta{
    width: 100%;
    height: 30px;
    overflow: hidden;
}
.topic-meta .topic-source{
    float: left;
    width: auto;
    height: 30px;
    line-height: 30px;
    color: #999;
    font-size: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.topic-meta .topic-source a{
    color: #999;
    font-size: 14px;
}
.topic-meta .topic-source a:hover {
    color: #2786ed;
}
.topic-meta .topic-source a.forum{
    white-space: nowrap;
    color: #000;
    padding: 0 10px 0 30px;
    background: #f6f7f9 url(//www.51cube.com/wp-content/themes/press/img/icon_forum.png) 10px center no-repeat;
    background-size: 14px;
    border-radius: 15px;
    line-height: 24px;
    margin-right: 10px;
    display: flex;
    align-items: center;
}
.topic-meta .topic-source a.forum:hover{
    color: #2786ed;
}
.topic-meta .topic-source a.forum span{
    display: inline-block;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}
.topic-meta .topic-source a.forum img {
    width: 12px;
    margin-bottom: 1px;
    margin-left: 6px;
}
.topic-meta .topic-source a[rel=tag]{
    max-width: 209px;
    padding: 0 15px 0 31px;
    display: inline-block;
    height: 24px;
    line-height: 24px;
    color: #2873c5;
    font-size: 14px;
    border-radius: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 15px;
    background: #f6f7f9 url(//www.51cube.com/wp-content/themes/press/img/icon_tag.png) 10px center no-repeat;
    background-size: 14px 14px;
}
.topic-meta .topic-source a[rel=tag]:hover{
    color: #2786ed;
}
.topic-meta .topic-handle{
    float: right;
    width: auto;
    height: 30px;
    overflow: hidden;
}
.topic-meta .topic-handle a,
.topic-meta .topic-handle span{
    float: left;
    margin-left: 20px;
    padding-left: 20px;
    display: inline-block;
    width: auto;
    height: 30px;
    line-height: 30px;
    color: #999;
    font-size: 13px;
    overflow: hidden;
    background: url(//www.51cube.com/wp-content/themes/press/img/meta.png) no-repeat;
}
.topic-meta .topic-handle .reply-count{
    background-position: 0 0;
}
.topic-meta .topic-handle .reply-count:hover{
    background-position: 0 -30px;
    color: #2786ed;
}
.topic-meta .topic-handle .dotGood{
    background-position: 0 -60px;
}
.topic-meta .topic-handle .dotGood:hover{
    color: #2786ed;
}
.topic-meta .topic-handle .dotGood:not(.done):hover{
    background-position: 0 -90px;
}
.topic-meta .topic-handle .dotGood.done{
    background-position: 0 -150px;
    cursor: default;
}
.topic-meta .topic-handle .view-count{
    background-position: 0 -177px;
}
.topic-picdiv{
    margin-bottom: 10px;
    width: 100%;
    height: 135px;
}
.topic-picdiv a{
    display: block;
    width: auto;
    height: 135px;
    position: relative;
}
.topic-picdiv .img{
    float: left;
    margin-right: 15px;
    width: 135px;
    height: 135px;
    overflow: hidden;
    position: relative;
}
.topic-picdiv .txt{
    padding: 0 3px;
    width: auto;
    height: 16px;
    line-height: 16px;
    color: #fff;
    font-size: 12px;
    font-family: SimSun;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    background: rgba(0,0,0,.6);
}