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

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

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

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

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

.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 #eee;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

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

.night .pdfdiv p:last-child {
    border-bottom: 0;
}

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

.pdfimgbut{
    border: 1px solid #eee;
    padding: 0.25rem;
    margin-top: 0.75rem;
    display: none;
}
.night .pdfimgbut{
    border: 1px solid #444;
}

.pdfimgbut span{
    padding: 0.25rem 0.5rem;
    background-color: #ff7504;
    border: 1px solid #ff7504;
    display: inline-block;
    color: #fff;
    margin-right: 0.25rem;
    border-radius: 3px;
    cursor: pointer;
}

.pdfimgbut span.cle{
    border: 1px solid #ddd;
    background-color: #fff;
    color: #888;
}

.night .pdfimgbut span.cle{
    border: 1px solid #444;
    background-color: #232627;
}

.loaddivs{
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-style: normal;
}

.night .loaddivs{
    color: #888;
}

.gifaddsetup{
    padding: 0.25rem;
    border: 1px solid #eeeeee;
    margin-top: 0.75rem;
    border-radius: 3px 3px 0 0;
}

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

.gifaddsetup>div{
    padding: 0.25rem;
}

.gifaddsetup>div>div{
    margin-bottom: 0 !important;
}

.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){
    .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);  
    }
}