/*
 * jQuery Plugin：jquery.yzhanImageviewer.css 1.0.2
 * https://github.com/mantoufan/yzhanImageViewer
 *
 * Copyright 2020, 吴小宇 Shon Ng
 * https://github.com/mantoufan
 * 
 * Date: 2022-08-18T12:30Z
 */
.yz-img-viewer,
.yz-img-viewer-bg {
    position: fixed;
    top: 0;
    height: 100%;
    z-index: 9999999999;
}

.yz-img-viewer {
    background-color: #000;
    overflow: hidden;
    transition: background-color .5s linear;
}

.yz-img-viewer-bg {
    width: 100%;
    pointer-events: none;
}

/* 图片列表 */
.yz-img-list {
    position: relative;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    white-space: nowrap;
}

.yz-img-list div {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.yz-img-list img {
    position: absolute;
    width: 100%;
    max-height: 100%;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    user-select: none;
    object-fit: contain;
}

/* 切换按钮：小圆点 */
.yz-dot-indicator {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.yz-dot-indicator div {
    position: relative;
    display: inline-block;
    width: 12pt;
    height: 12pt;
    line-height: 12pt;
    text-align: center;
    cursor: pointer;
    opacity: .85;
}

.yz-dot-indicator div::before {
    content: ' ';
    display: inline-block;
    width: 6pt;
    height: 6pt;
    border-radius: 50%;
    background-color: #333;
    border: 1px solid #333;
    opacity: .75;
}

.yz-dot-indicator .current::before {
    background-color: #fff;
}

.yz-dot-indicator div:hover::before {
    background-color: rgba(255, 255, 255, .75);
}

/* 调试框 */
.yz-debug {
    position: fixed;
    color: #fff;
    z-index: 9;
    top: 5px;
}

/* 切换按钮：上下张（仅鼠标控制设备可见） */
.yz-img-switch {
    position: absolute;
    display: none;
    width: 60px;
    height: 100%;
    top: 0;
    background-color: #000;
    opacity: .3;
    cursor: pointer;
}

.yz-img-switch:hover {
    opacity: .65;
}

.yz-img-switch:before {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    color: #fff;
    font-size: 50px;
    transform: translate(-50%, -50%);
}

.yz-img-switch-prev {
    left: 0;
}

.yz-img-switch-prev:before {
    content: '<';
}

.yz-img-switch-next {
    right: 0;
}

.yz-img-switch-next:before {
    content: '>';
}