.divbuts{
    text-align: center;
    margin: 0.75rem 0;
    display: none;
}

.divbuts button{
    padding: 0.3rem 0.8rem;
    background-color: #4CAF50;
    border: 1px solid #4caf50;
    color: #fff;
    cursor: pointer;
    border-radius: 3px;
    display: inline-block;
    margin: 0 0.2rem;
}

.divbuts button.demo_buts {
    background-color: #FF9800;
    border: 1px solid #FF9800;
    color: #fff;
}

.night .divbuts button.demo_buts{
    background-color: #030712;
    border: 1px solid #374151;
    color: #8ba0c3;
}

.divbuts button.clear_buts {
    background-color: #fff;
    color: #888;
    border: 1px solid #eee;
}

.night .divbuts button.clear_buts {
    border: 1px solid #374151;
    color: #4c5d78;
    background-color: #141822;
}



@media screen and (max-width: 500px){
    .divbuts button{
        width: 100%;
        margin: 0 0 0.5rem 0;
    }
    .divbuts button:last-child{
        margin-bottom: 0;
    }
}

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

.night .imglist{
    border: 1px solid #374151;
}

.imglist>div{
    width: calc(100% / 6);
    display: inline-block;
    float: left;
    padding: 0.25rem;
}
.imglist>div>div{
    border: 1px solid #ecf0f8;
}

.night .imglist>div>div{
    border: 1px solid #374151;
}

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

.night .imglist>div>div .pdfims {
    background-color: #171a1b;
}

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

.imglist>div>div .pdfdiv{
    
}

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

.night .imglist>div>div .pdfdiv p{
    border-bottom: 1px solid #374151;
    color: #999;
}

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

.imglist>div>div .pdfdiv p i{
    cursor: pointer;
}

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

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