/*!
 *     ____  __  ______  __________ _    _____________       ____________
 *    / __ \/ / / / __ \/_  __/ __ \ |  / /  _/ ____/ |     / / ____/ __ \
 *   / /_/ / /_/ / / / / / / / / / / | / // // __/  | | /| / / __/ / /_/ /
 *  / ____/ __  / /_/ / / / / /_/ /| |/ // // /___  | |/ |/ / /___/ _, _/
 * /_/   /_/ /_/\____/ /_/  \____/ |___/___/_____/  |__/|__/_____/_/ |_|
 *
 * photoviewer - v3.5.8
 * A JS plugin to view images just like in Windows
 * https://nzbin.github.io/photoviewer/
 *
 * Copyright (c) 2018 nzbin
 * Released under MIT License
 */
.photoviewer-modal {
    background-color: #fff;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999 !important;
    cursor: default;
    overflow: visible !important;
    outline: none;
    color: #333
}

.photoviewer-inner {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 10px 2px rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(0, 0, 0, 0.64);
    cursor: inherit;
    overflow: hidden
}

.photoviewer-maximize {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.photoviewer-maximize .photoviewer-inner {
    border-radius: 0;
}

.photoviewer-maximize .photoviewer-resizable-handle {
    display: none;
}

.photoviewer-toolbar {
    font-size: 0
}

.photoviewer-button {
    display: inline-block;
    min-width: 40px;
    height: 40px;
    box-sizing: border-box;
    margin: 0;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    background: none;
    border-width: 0;
    border-radius: 0;
    color: inherit;
    cursor: pointer;
    outline: none
}

.photoviewer-button:hover {
    color: #111
}

.photoviewer-button svg {
    display: inline-block;
    font-size: inherit;
    width: 2.4em;
    height: 1.8em;
    overflow: visible;
    vertical-align: -.125em
}

.photoviewer-button-maximize {
    display: none;
}

.photoviewer-header {
    position: relative;
    z-index: 2;
    height: 50px
}

.photoviewer-header .photoviewer-toolbar {
    float: right
}

[dir='rtl'] .photoviewer-header .photoviewer-toolbar {
    float: left
}

.photoviewer-header .photoviewer-button {
    height: 50px
}

.photoviewer-header .photoviewer-button:hover {
    background-color: rgba(0, 0, 0, 0.08)
}

.photoviewer-header .photoviewer-button-close:hover {
    color: #fff;
    background-color: #ff4545
}

@media screen and (max-width:1024px) {
    .photoviewer-button-fullscreen {
        display: none;
    }
}

.photoviewer-title {
    padding: 18px;
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow: hidden
}

.photoviewer-stage {
    position: absolute;
    top: 50px;
    right: 0;
    bottom: 50px;
    left: 0;
    z-index: 1;
    background-color: #fff;
    overflow: hidden
}

.photoviewer-stage.stage-ready {
    text-align: center;
    font-size: 0
}

.photoviewer-stage.stage-ready::before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    overflow: hidden
}

.photoviewer-image {
    position: absolute;
    display: inline-block;
    min-width: auto;
    max-width: none
}

.photoviewer-image.image-ready {
    position: static;
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle
}

.photoviewer-footer {
    position: absolute;
    bottom: 0;
    z-index: 2;
    width: 100%;
    height: 44px;
    text-align: center
}

.photoviewer-footer .photoviewer-toolbar {
    display: inline-block
}

:-webkit-full-screen {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important
}

:-webkit-full-screen .photoviewer-header,
:-webkit-full-screen .photoviewer-footer,
:-webkit-full-screen .photoviewer-resizable-handle {
    display: none
}

:-webkit-full-screen .photoviewer-stage {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-width: 0;
    background-color: #000
}

:-moz-full-screen {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important
}

:-moz-full-screen .photoviewer-header,
:-moz-full-screen .photoviewer-footer,
:-moz-full-screen .photoviewer-resizable-handle {
    display: none
}

:-moz-full-screen .photoviewer-stage {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-width: 0;
    background-color: #000
}

:-ms-fullscreen {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important
}

:-ms-fullscreen .photoviewer-header,
:-ms-fullscreen .photoviewer-footer,
:-ms-fullscreen .photoviewer-resizable-handle {
    display: none
}

:-ms-fullscreen .photoviewer-stage {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-width: 0;
    background-color: #000
}

:full-screen {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important
}

:full-screen .photoviewer-header,
:full-screen .photoviewer-footer,
:full-screen .photoviewer-resizable-handle {
    display: none
}

:full-screen .photoviewer-stage {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-width: 0;
    background-color: #000
}

:-webkit-full-screen {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important
}

:-ms-fullscreen {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important
}

:fullscreen {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important
}

:-webkit-full-screen .photoviewer-header,
:-webkit-full-screen .photoviewer-footer,
:-webkit-full-screen .photoviewer-resizable-handle {
    display: none
}

:-ms-fullscreen .photoviewer-header,
:-ms-fullscreen .photoviewer-footer,
:-ms-fullscreen .photoviewer-resizable-handle {
    display: none
}

:fullscreen .photoviewer-header,
:fullscreen .photoviewer-footer,
:fullscreen .photoviewer-resizable-handle {
    display: none
}

:-webkit-full-screen .photoviewer-stage {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-width: 0;
    background-color: #000
}

:-ms-fullscreen .photoviewer-stage {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-width: 0;
    background-color: #000
}

:fullscreen .photoviewer-stage {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-width: 0;
    background-color: #000
}

::-webkit-backdrop {
    background-color: #000
}

::backdrop {
    background-color: #000
}

::-ms-backdrop {
    background-color: #000
}

.is-grab {
    cursor: move;
    cursor: -webkit-grab;
    cursor: grab
}

.is-grabbing {
    cursor: move;
    cursor: -webkit-grabbing;
    cursor: grabbing
}

.photoviewer-loader {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    bottom: 40px;
    z-index: 2;
    text-align: center;
    color: #333
}

.photoviewer-loader::before {
    content: '';
    position: relative;
    display: inline-block;
    width: 36px;
    height: 36px;
    box-sizing: border-box;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.5) rgba(0, 0, 0, 0.5) rgba(0, 0, 0, 0.5) rgba(255, 255, 255, 0.5);
    border-radius: 100%;
    vertical-align: middle;
    -webkit-animation: photoviewerLoading 1s infinite linear;
    animation: photoviewerLoading 1s infinite linear
}

.photoviewer-loader::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 100%;
    vertical-align: middle;
    overflow: hidden
}

.photoviewer-button-next svg,
.photoviewer-button-prev svg {
    background: rgba(216, 216, 216, 0.75);
    border-radius: 50%;
    width: 5rem;
    height: 5rem;
    position: absolute;
    top: calc(50% - 2.5rem);
    padding: 1rem;
}

@media screen and (max-width:1024px) {
    .photoviewer-button-next svg,
    .photoviewer-button-prev svg {
        background: rgba(216, 216, 216, 0.75);
        border-radius: 50%;
        width: 3rem;
        height: 3rem;
        position: absolute;
        top: calc(50% - 2.5rem);
        padding: 1rem;
    }
}

.photoviewer-button-next svg {
    right: 1rem;
}

.photoviewer-button-prev svg {
    left: 1rem;
}

.photoviewer-button-prev {
    position: fixed;
    left: 0;
    top: 5.2rem;
    width: 20%;
    height: calc(100% - 9.2rem);
    padding: 0;
}

.photoviewer-button-next {
    position: fixed;
    right: 0;
    top: 5.2rem;
    width: 20%;
    height: calc(100% - 9.2rem);
    padding: 0;
}

@-webkit-keyframes photoviewerLoading {
    0% {
        transform: rotateZ(0deg) translate3d(0, 0, 0)
    }

    100% {
        transform: rotateZ(360deg) translate3d(0, 0, 0)
    }
}

@keyframes photoviewerLoading {
    0% {
        transform: rotateZ(0deg) translate3d(0, 0, 0)
    }

    100% {
        transform: rotateZ(360deg) translate3d(0, 0, 0)
    }
}
