.img-item {
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    user-select: none;
    border-radius: 0px;
    overflow: hidden;
    display: block;
    width: 100%;
}
.img-item-template {
    display: none;
}
.img-item:nth-child(3n) {
    margin-right: 0;
}

.selected-img-item .img-main {
    filter:brightness(0.7);

}
.img-item .img-main {
    width: 100%;
    border-radius: 3px;
}
.img-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0.8rem;
    z-index: 1;
    opacity: 0;
    transition: opacity .2s ease;
    box-sizing: border-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}
.selected-img-item .img-content {
    opacity: 1;
}
.img-content:hover {
    opacity: 1;
}
.img-title {
    color: #fff;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-word;
    word-wrap: break-word;
    font-size: .7rem;
    line-height: 1.2rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}
.img-item .avatar-box {
    width: 24px;
    height: 24px;
}
.img-item .avatar img {
    width: 100%;
}
.img-item .author {
    color: white;
    width: 9.4rem;
    margin-left: 0.4rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-word;
    word-wrap: break-word;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 14px;
    font-weight: 600;
}
.comment-box {
    color: white;
}

.comment-num {
    color: inherit;
    font-size: 14px;
}
.like-button:hover,
.comment-box:hover {
    color: rgb(150,150,150);
}
.like-button {
    margin-right: 10px;
}
.like-button span.like-num {
    color:white;
}
.like-button svg path {
    stroke: white;
}
.video-len {
    position: absolute;
    height: 1.2rem;
    background-color: rgba(0,0,0,.6);
    color: #fff;
    border-radius: 0.2rem;
    font-size: .5rem;
    font-weight: 600;
    line-height: .7rem;
    letter-spacing: .05rem;
    padding: 0 0.4rem;
    z-index: 1;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    top: 16px;
    right: 16px;
}
.video-button {
    width: 40px;
    height: 40px;
    border: 1px solid white;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    opacity: 0;
    transform: all 0.2s;
}
.selected-img-item .video-button {
    opacity: 1;
}
.video-button i {
    width: 0;
    height: 0;
    border-left: 12px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 10%;
}
