.resgif{
    padding: 0.25rem;
    border: 1px solid #eee;
    border-radius: 3px;
    margin-top: 0.75rem;
    display: none;
}

.night .resgif{
    border: 1px solid #444;
}

.resgif>div{
    width: calc(100% / 5);
    display: inline-block;
    float: left;
    padding: 0.25rem;
}

.resgif>div>div {
    border: 1px solid #eee;
}

.night .resgif>div>div{
    border: 1px solid #444;
}

.resgif>div>div .pdfims {
    height: 8rem;
    background-color: #f6f7fa;
}

.night .resgif>div>div .pdfims{
    background-color: #181a1b;
}

.resgif>div>div .pdfims img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

.resgif>div>div p {
    height: 1.8rem;
    line-height: 1.8rem;
    padding: 0 0.25rem;
    border-bottom: 1px solid #eee;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.night .resgif>div>div p{
    border-bottom: 1px solid #444;
}

.resgif>div>div p span{
    width: 100%;
    display: inline-block;
    text-align: center;
    background-color: #FF9800;
    color: #fff;
    height: 1.4rem;
    line-height: 1.4rem;
    border-radius: 4px;
    margin-top: 0.2rem;
}

.resgif>div>div p:last-child {
    border-bottom: 0;
}

@media screen and (max-width: 1500px){
    .resgif>div{
        width: calc(100% / 4);
    }
}

@media screen and (max-width: 1200px){
    .resgif>div{
        width: calc(100% / 3);
    }
}

@media screen and (max-width: 500px){
    .resgif>div{
        width: calc(100% / 2);
    }
}

@media screen and (max-width: 350px){
    .resgif>div{
        width: calc(100% / 1);
    }
}