.resgif{
    padding: 0.5rem;
    border: 1px solid #e8e8fd;
    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 #ecf0f8;
}

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

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

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

.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 #ecf0f9;
    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;
}


.datalistbut{
    padding: 0.25rem;
    border: 1px solid #e2e2e2;
    background-color: #f6f7fa;
    display: none;
    margin: 0.75rem 0 0 0;
    display: none;
}

.night .datalistbut{
    display: block;
    background-color: #171a1b;
    border: 1px solid #444;
}

.datalistbut span{
    height: 1.9rem;
    line-height: 1.9rem;
    display: inline-block;
    background-color: #2196f3;
    border: 1px solid #2196f3;
    padding: 0 1rem;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    width: calc(50% - 0.125rem);
    float: left;
    text-align: center;
}
.datalistbut span.cle{
    float: right;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #888;
}
.night .datalistbut span.cle{
    background-color: #444;
    border: 1px solid #666;
    color: #ccc;
}

@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);
    }
}