﻿#picViewer .mask {
    opacity: 0.5;
    background: #000;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99999
}

#picViewer .pic-wrap {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    overflow: hidden;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 5px;
    box-shadow: 0 0 8px #3c3b3b;
}

#picViewer .pic-wrap img {
    max-width: 89%;
    max-height: 98%;
    vertical-align: middle;
    transition: all .3s;
}

#picViewer .pic-wrap .pic-content {
    display: flex;
    position: relative;
    height: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
}

#picViewer .pic-wrap .pic-content .pic-item {
    opacity: 0;
    width: 100%;
    height: 100%;
    text-align: center
}

#picViewer .pic-wrap .pic-content .pic-item.animate {
    transition: opacity .3s;
    -webkit-transition: opacity .3s;
    -moz-transition: opacity .3s;
    -o-transition: opacity .3s
}
/* 左右滑动箭头 */
#picViewer .pic-wrap .pic-pre,#picViewer .pic-wrap .pic-next {
    position: absolute;
    width: 60px;
    height: 100px;
    top: 50%;
    margin-top: -50px;
    cursor: pointer;
    z-index: 1;
    transition: all .2s;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s
}

#picViewer .pic-wrap .pic-pre:hover,#picViewer .pic-wrap .pic-next:hover {
    background-color: #111
}

#picViewer .pic-wrap .pic-pre {
    left: 0;
    background: url(../images/viewer-left.png) center no-repeat
}

#picViewer .pic-wrap .pic-next {
    right: 0;
    background: url(../images/viewer-right.png) center no-repeat
}

#picViewer .pic-wrap .close-pic {
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    right: 0;
    font-size: 36px;
    opacity: 0.3;
    color: #fff;   
    cursor: pointer;
    z-index: 1;
    transition:all 0.3s;
}

#picViewer .pic-wrap .close-pic:hover{
    opacity: 1;
}