

#pcPreImgView img{
    border: 0;
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

#pcPreImgView .img-view-dialog {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.5);
}

#pcPreImgView .img-view-content {
    display: inline-block;
    margin: 15px auto;
    border-radius: 4px;
    padding: 10px;
    visibility: visible;
/*    background: #fff url(./images/loading.gif) no-repeat center;
*/    -moz-transition: transform .6s, margin .6s;
    -webkit-transition: transform .6s, margin .6s;
    -o-transition: transform .6s, margin .6s;
    transition: transform .6s, margin .6s;
    cursor: -webkit-grab;
    -webkit-backface-visibility: hidden;
    -webkit-animation: flyin .5s;
    -moz-animation: flyin .5s;
    animation: flyin .5s;
    width: auto !important;
    height: auto !important;
}

#pcPreImgView .loadingImg.img-view-content {
    background: #fff;
}

#pcPreImgView .loadingImg .dialog-img {
    opacity: 1;
}

#pcPreImgView .img-view-content img {
    display: block;
    opacity: 0;
    -moz-transition: all .6s;
    -o-transition: all .6s;
    -webkit-transition: all .6s;
    transition: all .6s;
    min-width: 0;
    max-width: none;
    min-height: 0;
    max-height: none;
    vertical-align: baseline;
}

#pcPreImgView .closing .img-view-mask {
    -webkit-backface-visibility: hidden;
    -webkit-animation: fadeout .5s;
    -moz-animation: fadeout .5s;
    animation: fadeout .5s;
}

#pcPreImgView .closing .img-view-content {
    -webkit-backface-visibility: hidden;
    -webkit-animation: flyout .5s;
    -moz-animation: flyout .5s;
    animation: flyout .5s;
}

#pcPreImgView .closing .dialog-tool {
    -webkit-backface-visibility: hidden;
    -webkit-animation: fadeout .5s;
    -moz-animation: fadeout .5s;
    animation: fadeout .5s;
}

#pcPreImgView .dialog-tool {
    z-index: 2;
    -webkit-backface-visibility: hidden;
    -webkit-animation: fadein 0.5s;
    -moz-animation: fadein 0.5s;
    animation: fadein 0.5s;
}

#pcPreImgView .close-dialog {
    /*background: url(https://chat-qiniu.liuliuhaishenghuo.cn/uploads/layedit/2024-12-25_1735115100_676bc15c20d9a.png) no-repeat -1px -128px;*/
    width: 26px;
    height: 26px;
    overflow: hidden;
    display: block;
    position: fixed;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

#pcPreImgView .rotate-dialog {
    /*background-image: url(./images/rotate.png);*/
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    width: 20px;
    height: 20px;
    overflow: hidden;
    display: block;
    position: fixed;
    right: 60px;
    top: 20px;
    cursor: pointer;
}

#pcPreImgView .dialog-tool .rotate-dialog:hover {
    background-position: 0 -20px;
}

#pcPreImgView .dialog-tool .close-dialog:hover {
    background-position: -1px -149px;
}

#pcPreImgView .dialog-tool .previous-dialog,
#pcPreImgView .dialog-tool .next-dialog,
#pcPreImgView .dialog-tool .next-dialog:hover,
#pcPreImgView .dialog-tool .previous-dialog:hover {
    /*background: url(./images/photoTheater.png) no-repeat 0 0;*/
    background-position-x: 0px;
    background-position-y: 0px;
    width: 66px;
    height: 60px;
    line-height: 66px;
    display: block;
    position: fixed;
    top: 45%;
    cursor: pointer;
    overflow: hidden;
    font-size: 40px;
    font-weight: bold;
    margin-top: -30px;
    text-align: center;
    display: none !important;
}

#pcPreImgView .dialog-tool .next-dialog {
    background-position: 0 -65px;
    right: 0;
}

#pcPreImgView .dialog-tool .previous-dialog {
    left: 0;
    background-position: -70px -65px;
}

#pcPreImgView .dialog-tool .next-dialog:hover {
    background-position: 0 0;
}

#pcPreImgView .dialog-tool .previous-dialog:hover {
    background-position: -70px 0;
}

@-webkit-keyframes flyin {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-40px);
        transform: translateY(-40px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes flyin {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-40px);
        -ms-transform: translateY(-40px);
        transform: translateY(-40px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes flyout {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(-40px);
        -ms-transform: translateY(-40px);
        transform: translateY(-40px);
    }
}

@keyframes flyout {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(-40px);
        -ms-transform: translateY(-40px);
        transform: translateY(-40px);
    }
}

@-webkit-keyframes fadeout {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeout {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-webkit-keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}