#listdiv{
    padding: 0.25rem;
    border: 1px solid #eee;
    margin-top: 0.75rem;
    display: none;
}

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

#listdiv>div{
    width: calc(100% / 6);
    display: inline-block;
    float: left;
    padding: 0.25rem;
}


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

.night #listdiv>div>div{
    border: 1px solid #444;
    background-color: #232627;
}

#listdiv>div>div>.ipdf{
    text-align: center;
    padding: 2rem 0;
    background-color: #f6f7fa;
    color: #607d8b;
}

.night #listdiv>div>div>.ipdf {
    text-align: center;
    padding: 2rem 0;
    background-color: #181a1b;
    color: #aaa;
}

#listdiv>div>div>.ipdf i{
    padding: 0.5rem 0;
    font-size: 2rem;
}

#listdiv>div>div>.pdfpp{
    
}

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

.night #listdiv>div>div>.pdfpp p{
    border-bottom: 1px solid #444;
    color: #999;
}

#listdiv>div>div>.pdfpp p:last-child{
    border-bottom:0;
}

.night #listdiv>div>div>.pdfpp p:last-child{
    border-bottom:0;
}

#listdiv>div>div>.pdfpp p i{
    cursor: pointer;
}


.divbuts{
    padding: 0.5rem;
    border: 1px solid #eee;
    border-top: 0;
    border-radius: 0 0 3px 3px;
}

.night .divbuts{
    border:1px solid #444;
    border-top:0;
}

.divbuts button{
    padding: 0.4rem 1rem;
    text-align: center;
    border: 0;
    background-color: #607D8B;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
}

.divbuts button:nth-child(1) {
    background-color: #009688;
}

@media screen and (max-width: 390px){
    .divbuts button:nth-child(1){
        width: calc(50% - 0.25rem);
        float: left;
    }
    .divbuts button:nth-child(2){
        width: calc(50% - 0.25rem);
        float: right;
    }
}

@media screen and (max-width: 1390px){
    #listdiv>div{
        width: calc(100% / 5);  
    }
}

@media screen and (max-width: 1110px){
    #listdiv>div{
        width: calc(100% / 4);  
    }
}
@media screen and (max-width: 1023px){
    #listdiv>div{
        width: calc(100% / 3);  
    }
}
@media screen and (max-width: 886px){
    #listdiv>div{
        width: calc(100% / 4);  
    }
}
@media screen and (max-width: 740px){
    #listdiv>div{
        width: calc(100% / 3);  
    }
}
@media screen and (max-width: 540px){
    #listdiv>div{
        width: calc(100% / 2);  
    }
}
@media screen and (max-width: 340px){
    #listdiv>div{
        width: calc(100% / 1);  
    }
}