body {
    --layer-image-toolkit-popup: 1024;
    --layer-image-toolkit-player: 1025;
    --layer-image-toolkit-notice: 1026;
}

.notice-container {
    z-index: var(--layer-image-toolkit-notice);
}

.oit li::before {
    margin-left: 0;
}

.image-toolkit-img-invert {
    filter: invert(1) hue-rotate(180deg);
    mix-blend-mode: screen;
}

.oit-normal {
    position: fixed;
    font-size: 0;
    line-height: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .6);
    z-index: var(--layer-image-toolkit-popup);
    display: none;
}

.oit-pin {
    position: fixed;
    font-size: 0;
    line-height: 0;
    z-index: var(--layer-image-toolkit-popup);
    display: none;
}

.oit .oit-img-container {
    position: fixed;
    top: 0;
    pointer-events: none;
}

.oit .oit-img-container .oit-img-view {
    max-height: none;
    pointer-events: auto;
}

.oit-pin .oit-img-container .oit-img-view {
    position: fixed;
    pointer-events: auto;
    box-shadow: 0 0 5px;
}

.oit-pin .oit-img-container .oit-img-view:hover {
    box-shadow: 0 0 6px #55acc6;
}

.oit .img-default-background {
    background-position: 0 0, 5px 5px !important;
    background-size: 10px 10px !important;
    background-image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee 100%), linear-gradient(45deg, #eee 25%, #fff 25%, #fff 75%, #eee 75%, #eee 100%) !important;
}

.oit .oit-img-container .oit-img-view:hover {
    cursor: pointer;
}

.oit-normal .img-close {
    position: absolute;
    width: 32px;
    height: 32px;
    top: 0;
    right: 0;
    cursor: pointer;
}

.oit .oit-img-tip {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 12px;
    line-height: 20px;
    height: 20px;
    width: 50px;
    text-align: center;
    color: #fff;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, .4);
    pointer-events: none;
    z-index: 1;
}

/*region img-player*/
.oit .img-player {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    cursor: none;
    background-color: #000;
    text-align: center;
    cursor: pointer;
}

.oit .img-player > img {
    display: inline;
    float: none;
    padding: 0;
    max-height: none;
    transform: none;
    cursor: pointer;
}
/*endregion*/

.oit-normal .oit-img-footer {
    position: absolute;
    text-align: center;
    bottom: 5px;
    left: 0;
    right: 0;
}

/*region oit-img-title*/
.oit-normal .oit-img-footer .oit-img-title {
    font-size: 12px;
    line-height: 1;
    display: inline-block;
    max-width: 90%;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 5px;
    opacity: .8;
    color: #fff;
    /* filter: alpha(opacity=80) */
}

.oit-normal .oit-img-footer .oit-img-title:hover {
    /* opacity: 1; */
    color: #fff;
    font-size: 15px;
    background-color: rgba(0, 0, 0, .3);
    border-radius: 8px;
    line-height: 1.5;
    /* filter: alpha(opacity=100) */
}
/*endregion*/

/*region toolbar*/
.oit-normal .oit-img-footer .oit-img-toolbar {
    width: 385px;
    height: 30px;
    margin: 0 auto 5px;
    padding: 3px 0;
}

.oit-normal .oit-img-footer .oit-img-toolbar:hover {
    background-color: rgba(0, 0, 0, .3);
    border-radius: 12px;
}

.oit-normal .oit-img-footer .oit-img-toolbar > li {
    float: left;
    width: 25px;
    height: 25px;
    margin: 0 5px;
    padding: 0;
    line-height: 0;
    border: none;
    cursor: pointer;
    overflow: hidden;
}

.oit-normal .oit-img-footer .oit-img-toolbar > li:hover {
    animation: bounce .5s cubic-bezier(0.51, 0.23, 0.02, 0.96)
}

@keyframes bounce {
    0% {
        transform: scale(1, 1);
    }

    50% {
        transform: scale(0.85, 1.1) translateY(-5px);
    }
}

.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_zoom_to_100::before,
.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_zoom_in::before,
.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_zoom_out::before,
.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_full_screen::before,
.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_refresh::before,
.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_rotate_left::before,
.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_rotate_right::before,
.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_scale_x::before,
.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_scale_y::before,
.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_invert_color::before,
.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_copy::before {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 25px;
    height: 25px;
    color: transparent;
    background-image: url(data:image/png;base64, );
    background-repeat: no-repeat
}

.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_zoom_to_100::before {
    content: 'Zoom to Actual Size';
    background-position: 0 0
}

.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_zoom_in::before {
    content: 'Zoom In';
    background-position: -25px 0
}

.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_zoom_out::before {
    content: 'Zoom Out';
    background-position: -50px 0
}

.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_full_screen::before {
    content: 'Full Screen';
    background-position: -75px 0
}

.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_refresh::before {
    content: 'Refresh';
    background-position: -100px 0
}

.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_rotate_left::before {
    content: 'Rotate Left';
    background-position: -125px 0
}

.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_rotate_right::before {
    content: 'Rotate Right';
    background-position: -150px 0
}

.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_scale_x::before {
    content: 'Scale x';
    background-position: -175px 0
}

.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_scale_y::before {
    content: 'Scale y';
    background-position: -200px 0
}

.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_invert_color::before {
    content: 'Invert color';
    background-position: -225px 0
}

.oit-normal .oit-img-footer .oit-img-toolbar .toolbar_copy::before {
    content: 'Copy';
    background-position: -250px 0
}
/*endregion*/

/*region gallery-navbar*/
.oit-normal .oit-img-footer .gallery-navbar {
    position: relative;
    flex: 0 0 auto;
    overflow: hidden;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 60px;
    margin-top: 20px;
    background-color: rgba(0, 0, 0, .1);
}

.oit-normal .oit-img-footer .gallery-navbar:hover {
    background-color: rgba(0, 0, 0, .8);
}

.oit-normal .oit-img-footer .gallery-navbar .gallery-list {
    display: flex;
    transform: translateX(0px);
    cursor: pointer;
}

.oit-normal .oit-img-footer .gallery-navbar .gallery-list .gallery-active {
    opacity: 1;
}

.oit-normal .oit-img-footer .gallery-navbar .gallery-list .img-border-active {
    margin-top: 1px;
    border-width: 1px;
    border-style: solid;
    border-color: red;
}

.oit-normal .oit-img-footer .gallery-navbar .gallery-list > li {
    width: 48px;
    height: 58px;
    opacity: .3;
    color: transparent;
    margin: 2px 1px;
    padding: 0;
    border-radius: 0;
    /* transition: all 100ms linear; */
}

.oit-normal .oit-img-footer .gallery-navbar .gallery-list img {
    width: 46px;
    height: 56px;
}
/*endregion*/
