* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.main-img {
    display:none;
    width: 100%;
    height: 100%;
    position:absolute;
    /*position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -350px;
    margin-left: -500px;*/
    overflow: hidden;
    z-index:9999;
}

.window {
    width: 334px;
    height: 300px;
    box-shadow: 0px 0px 10px #e8e8e8;
    position: absolute;
    left: 10px;
    top: 10px;
    border-radius: 4px;
}

.win-header {
    cursor: pointer;
    height: 30px;
    width: 100%;
    background:#f5f5f5;
}

.win-body {
    width: 100%;
    height: 100%;
    padding-bottom: 30px;
}

.win-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}

.win-sys-btns {
    width: 26px;
    height: 26px;
    background: url('../images/button/close.png') center center no-repeat;
    float: right;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    user-select: none;
    margin-right:8px;
    margin-top: 2px;
}

body.image-viewer-open {
    overflow: hidden;
}

.image-viewer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.92);
    color: #fff;
    outline: none;
    user-select: none;
}

.image-viewer.image-viewer--open {
    display: block;
}

.image-viewer__topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 12px 0 18px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
}

.image-viewer__counter {
    min-width: 52px;
    font-size: 14px;
    line-height: 1;
}

.image-viewer__tools {
    display: flex;
    align-items: center;
    gap: 6px;
}

.image-viewer button {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 22px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
}

.image-viewer button:hover {
    background: rgba(255, 255, 255, 0.25);
}

.image-viewer button:disabled {
    opacity: 0.35;
    cursor: default;
}

.image-viewer .image-viewer__scale {
    min-width: 58px;
    font-size: 13px;
}

.image-viewer__stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 58px 54px 28px;
    overflow: hidden;
    touch-action: none;
}

.image-viewer__image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 0.08s ease-out;
    will-change: transform;
    -webkit-user-drag: none;
}

.image-viewer__nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 42px;
    height: 58px !important;
    margin-top: -29px;
    font-size: 38px !important;
    line-height: 52px !important;
}

.image-viewer__prev {
    left: 8px;
}

.image-viewer__next {
    right: 8px;
}

@media (max-width: 600px) {
    .image-viewer__stage {
        padding: 56px 8px 24px;
    }

    .image-viewer__nav {
        top: auto;
        bottom: 16px;
        width: 44px;
        height: 44px !important;
        margin-top: 0;
        line-height: 38px !important;
    }

    .image-viewer__prev {
        left: 16px;
    }

    .image-viewer__next {
        right: 16px;
    }
}
/* #closeWin{
    text-align: center;
    font-size: 18px;

} */
