.vgdiv{
    margin-top: 0.75rem;
}
.vg-lf{
    width: calc(100% - 20rem);
    display: inline-block;
    float: left;
    border: 1px solid #e8e8fd;
}
.night .vg-lf{
    border: 1px solid #444;
}
.vg-lr{
    width: 20rem;
    display: inline-block;
    float: right;
    padding-left: 0.75rem;
}
.vg-lr>div{
    border: 1px solid #e8e8fd;
    padding: 0.25rem;
    border-radius: 3px;
}
.night .vg-lr>div{
    border: 1px solid #444;
}
.vgsetup{
    border: 1px solid #e8e8fd;
    margin-bottom: 0.25rem;
    padding: 0.5rem;
    border-radius: 3px;
    position: relative;
}
.night .vgsetup{
    border: 1px solid #444;
}
.vgsetup .txtop{
    height: 1.2rem;
    line-height: 1.2rem;
    margin-bottom: 0.5rem;
}

.vgsetup select{
    height: 1.8rem;
    line-height: 1.8rem;
    border: 1px solid #eee;
    color: rgba(0, 0, 0, .85);
    border-radius: 2px;
    width: 100%;
}

.night .vgsetup select{
    border: 1px solid #444444;
    background-color: #181a1b;
    color: #fff;
}

.night .vgsetup .txtop{
    color:#aaa;
}
.vgsetup .txtop span{
    font-size: 0.6rem;
    float: right;
}
.vgbuts>div{
    width: 50%;
    float: left;
    display: inline-block;
    text-align: center;
    padding: 0.25rem;
}
.vgbuts .sutupbuts{
    height: 1.8rem;
    line-height: 1.8rem;
    display: block;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
    margin-top: 0.25rem;
    background-color: #06b672;
    border: 1px solid #06b672;
    color: #fff;
}

.vgbuts .sutupbuts.dowallpng{
    background-color: #FF9800;
    border: 1px solid #ff9800;
}

.vgbuts .sutupbuts.clearsdata{
    background-color: #fff;
    color: #444;
    border: 1px solid #e8e8fd;
}

.night .vgbuts .sutupbuts.clearsdata{
    border: 1px solid #444444;
    background-color: #444;
    color: #fff;
}

.night .vgbuts>div span{
    border: 1px solid #444;
    color: #aaa;
}

.preview-container {
    position: relative;
    background: black;
    border-radius: 3px;
    overflow: hidden;
}
.video-container {
    position: relative;
    overflow: hidden;
    height: 19.5rem;
}
#videoPlayer {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.vgsetup{

}
.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: calc(50% - 0.125rem);
    display: inline-block;
    text-align: center;
    background-color: #2196F3;
    color: #fff;
    height: 1.4rem;
    line-height: 1.4rem;
    float: left;
    border-radius: 4px;
    margin-top: 0.2rem;
}

.resgif>div>div p span:last-child{
    float: right;
    background-color: red;
}


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


.gifloads{
    font-size: 0.6rem;
    color: #06b672;
}
.gifloads i{
    margin-right: 0.25rem;
    font-size: 0.6rem;
    -webkit-animation: aitoolload 1.4s infinite linear;
    animation: aitoolload 1.4s infinite linear;
    display: inline-block;
}
.resimgdisplay video{
    max-width: 100%;
}
.resimgdisplay span{
    height: 1.8rem;
    line-height: 1.8rem;
    display: inline-block;
    padding: 0 1.5rem;
    border: 1px solid #e8e8fd;
    margin: 0.75rem 0 0.5rem 0;
    cursor: pointer;
}
.night .resimgdisplay span{
    border: 1px solid #444;
    color: #aaa;
}
.novidemtip{
    position: absolute;
    width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #aaa;
    text-align: center;
    font-size: 1rem;
}

#suduhakuai{
    margin-top: 0.8rem;
    margin-bottom: 0.4rem;
}

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

@media screen and (max-width: 1180px){
    .vg-lf{
        width: 100%;
    }
    .vg-lr{
        width: 100%;
        padding-left:0;
    }
}