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

.menu {
    z-index: var(--layer-menu);
}

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

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

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

.oit-main-container-view {
    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-container-view {
    position: fixed;
    font-size: 0;
    line-height: 0;
    z-index: var(--layer-image-toolkit-popup);
    display: none;
}

.oit-main-container-view .img-container,
.oit-pin-container-view .img-container {
    position: absolute;
    top: 0;
    pointer-events: none;
}

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

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

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

.oit-main-container-view .img-default-background,
.oit-pin-container-view .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-main-container-view .img-container .img-view:hover,
.oit-pin-container-view .img-container .img-view:hover {
    cursor: pointer;
}

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

.oit-main-container-view .img-tip,
.oit-pin-container-view .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;
}

.oit-main-container-view .img-player,
.oit-pin-container-view .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-main-container-view .img-player > img,
.oit-pin-container-view .img-player > img {
    display: inline;
    float: none;
    padding: 0;
    max-height: none;
    transform: none;
    cursor: pointer;
}

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

.oit-main-container-view .img-footer .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-main-container-view .img-footer .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) */
}

.oit-main-container-view .img-footer .img-toolbar {
    width: 385px;
    height: 30px;
    margin: 0 auto 5px;
    padding: 3px 0;
}

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

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

.oit-main-container-view .img-footer .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-main-container-view .img-footer .img-toolbar .toolbar_zoom_to_100::before,
.oit-main-container-view .img-footer .img-toolbar .toolbar_zoom_in::before,
.oit-main-container-view .img-footer .img-toolbar .toolbar_zoom_out::before,
.oit-main-container-view .img-footer .img-toolbar .toolbar_full_screen::before,
.oit-main-container-view .img-footer .img-toolbar .toolbar_refresh::before,
.oit-main-container-view .img-footer .img-toolbar .toolbar_rotate_left::before,
.oit-main-container-view .img-footer .img-toolbar .toolbar_rotate_right::before,
.oit-main-container-view .img-footer .img-toolbar .toolbar_scale_x::before,
.oit-main-container-view .img-footer .img-toolbar .toolbar_scale_y::before,
.oit-main-container-view .img-footer .img-toolbar .toolbar_invert_color::before,
.oit-main-container-view .img-footer .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-main-container-view .img-footer .img-toolbar .toolbar_zoom_to_100::before {
    content: 'Zoom to Actual Size';
    background-position: 0 0
}

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

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

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

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

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

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

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

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

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

.oit-main-container-view .img-footer .img-toolbar .toolbar_copy::before {
    content: 'Copy';
    background-position: -250px 0
}

/*====== gallery-navbar start ======*/
.oit-main-container-view .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-main-container-view .img-footer .gallery-navbar:hover {
    background-color: rgba(0, 0, 0, .8);
}

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

.oit-main-container-view .img-footer .gallery-navbar .gallery-list .gallery-active {
    opacity: 1;
}

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

.oit-main-container-view .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-main-container-view .img-footer .gallery-navbar .gallery-list img {
    width: 46px;
    height: 56px;
}

/*====== gallery-navbar end ======*/

/*====== pickr start ======*/
.pcr-app .pcr-swatches > button {
    padding: 0;
}

/*! Pickr 1.8.2 MIT | https://github.com/Simonwep/pickr */
.pickr {position: relative;overflow: visible;transform: translateY(0)}  .pickr * {box-sizing: border-box;outline: none;border: none;-webkit-appearance: none}  .pickr .pcr-button {position: relative;height: 2em;width: 2em;padding: 0.5em;cursor: pointer;font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;border-radius: .15em;background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" stroke="%2342445A" stroke-width="5px" stroke-linecap="round"><path d="M45,45L5,5"></path><path d="M45,5L5,45"></path></svg>') no-repeat center;background-size: 0;transition: all 0.3s}  .pickr .pcr-button::before {position: absolute;content: '';top: 0;left: 0;width: 100%;height: 100%;background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');background-size: .5em;border-radius: .15em;z-index: -1}  .pickr .pcr-button::before {z-index: initial}  .pickr .pcr-button::after {position: absolute;content: '';top: 0;left: 0;height: 100%;width: 100%;transition: background 0.3s;background: var(--pcr-color);border-radius: .15em}  .pickr .pcr-button.clear {background-size: 70%}  .pickr .pcr-button.clear::before {opacity: 0}  .pickr .pcr-button.clear:focus {box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px var(--pcr-color)}  .pickr .pcr-button.disabled {cursor: not-allowed}  .pickr *, .pcr-app * {box-sizing: border-box;outline: none;border: none;-webkit-appearance: none}  .pickr input:focus, .pickr input.pcr-active, .pickr button:focus, .pickr button.pcr-active, .pcr-app input:focus, .pcr-app input.pcr-active, .pcr-app button:focus, .pcr-app button.pcr-active {box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px var(--pcr-color)}  .pickr .pcr-palette, .pickr .pcr-slider, .pcr-app .pcr-palette, .pcr-app .pcr-slider {transition: box-shadow 0.3s}  .pickr .pcr-palette:focus, .pickr .pcr-slider:focus, .pcr-app .pcr-palette:focus, .pcr-app .pcr-slider:focus {box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(0, 0, 0, 0.25)}  .pcr-app {position: fixed;display: flex;flex-direction: column;z-index: 10000;border-radius: 0.1em;background: #fff;opacity: 0;visibility: hidden;transition: opacity 0.3s, visibility 0s 0.3s;font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;box-shadow: 0 0.15em 1.5em 0 rgba(0, 0, 0, 0.1), 0 0 1em 0 rgba(0, 0, 0, 0.03);left: 0;top: 0}  .pcr-app.visible {transition: opacity 0.3s;visibility: visible;opacity: 1}  .pcr-app .pcr-swatches {display: flex;flex-wrap: wrap;margin-top: 0.75em}  .pcr-app .pcr-swatches.pcr-last {margin: 0}  @supports (display: grid) {  .pcr-app .pcr-swatches {display: grid;align-items: center;grid-template-columns: repeat(auto-fit, 1.75em)}  }  .pcr-app .pcr-swatches > button {font-size: 1em;position: relative;width: calc(1.75em - 10px);height: calc(1.75em - 10px);border-radius: 0.15em;cursor: pointer;margin: 2.5px;flex-shrink: 0;justify-self: center;transition: all 0.15s;overflow: hidden;background: transparent;z-index: 1}  .pcr-app .pcr-swatches > button::before {position: absolute;content: '';top: 0;left: 0;width: 100%;height: 100%;background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');background-size: 6px;border-radius: .15em;z-index: -1}  .pcr-app .pcr-swatches > button::after {content: '';position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: var(--pcr-color);border: 1px solid rgba(0, 0, 0, 0.05);border-radius: 0.15em;box-sizing: border-box}  .pcr-app .pcr-swatches > button:hover {filter: brightness(1.05)}  .pcr-app .pcr-swatches > button:not(.pcr-active) {box-shadow: none}  .pcr-app .pcr-interaction {display: flex;flex-wrap: wrap;align-items: center;margin: 0 -0.2em 0 -0.2em}  .pcr-app .pcr-interaction > * {margin: 0 0.2em}  .pcr-app .pcr-interaction input {letter-spacing: 0.07em;font-size: 0.75em;text-align: center;cursor: pointer;color: #75797e;background: #f1f3f4;border-radius: .15em;transition: all 0.15s;padding: 0.45em 0.5em;margin-top: 0.75em}  .pcr-app .pcr-interaction input:hover {filter: brightness(0.975)}  .pcr-app .pcr-interaction input:focus {box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(66, 133, 244, 0.75)}  .pcr-app .pcr-interaction .pcr-result {color: #75797e;text-align: left;flex: 1 1 8em;min-width: 8em;transition: all 0.2s;border-radius: .15em;background: #f1f3f4;cursor: text}  .pcr-app .pcr-interaction .pcr-result::-moz-selection {background: #4285f4;color: #fff}  .pcr-app .pcr-interaction .pcr-result::selection {background: #4285f4;color: #fff}  .pcr-app .pcr-interaction .pcr-type.active {color: #fff;background: #4285f4}  .pcr-app .pcr-interaction .pcr-save, .pcr-app .pcr-interaction .pcr-cancel, .pcr-app .pcr-interaction .pcr-clear {color: #fff;width: auto}  .pcr-app .pcr-interaction .pcr-save, .pcr-app .pcr-interaction .pcr-cancel, .pcr-app .pcr-interaction .pcr-clear {color: #fff}  .pcr-app .pcr-interaction .pcr-save:hover, .pcr-app .pcr-interaction .pcr-cancel:hover, .pcr-app .pcr-interaction .pcr-clear:hover {filter: brightness(0.925)}  .pcr-app .pcr-interaction .pcr-save {background: #4285f4}  .pcr-app .pcr-interaction .pcr-clear, .pcr-app .pcr-interaction .pcr-cancel {background: #f44250}  .pcr-app .pcr-interaction .pcr-clear:focus, .pcr-app .pcr-interaction .pcr-cancel:focus {box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(244, 66, 80, 0.75)}  .pcr-app .pcr-selection .pcr-picker {position: absolute;height: 18px;width: 18px;border: 2px solid #fff;border-radius: 100%;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none}  .pcr-app .pcr-selection .pcr-color-palette, .pcr-app .pcr-selection .pcr-color-chooser, .pcr-app .pcr-selection .pcr-color-opacity {position: relative;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;display: flex;flex-direction: column;cursor: grab;cursor: -webkit-grab}  .pcr-app .pcr-selection .pcr-color-palette:active, .pcr-app .pcr-selection .pcr-color-chooser:active, .pcr-app .pcr-selection .pcr-color-opacity:active {cursor: grabbing;cursor: -webkit-grabbing}  .pcr-app[data-theme='nano'] {width: 14.25em;max-width: 95vw}  .pcr-app[data-theme='nano'] .pcr-swatches {margin-top: .6em;padding: 0 .6em}  .pcr-app[data-theme='nano'] .pcr-interaction {padding: 0 .6em .6em .6em}  .pcr-app[data-theme='nano'] .pcr-selection {display: grid;grid-gap: .6em;grid-template-columns: 1fr 4fr;grid-template-rows: 5fr auto auto;align-items: center;height: 10.5em;width: 100%;align-self: flex-start}  .pcr-app[data-theme='nano'] .pcr-selection .pcr-color-preview {grid-area: 2 / 1 / 4 / 1;height: 100%;width: 100%;display: flex;flex-direction: row;justify-content: center;margin-left: .6em}  .pcr-app[data-theme='nano'] .pcr-selection .pcr-color-preview .pcr-last-color {display: none}  .pcr-app[data-theme='nano'] .pcr-selection .pcr-color-preview .pcr-current-color {position: relative;background: var(--pcr-color);width: 2em;height: 2em;border-radius: 50em;overflow: hidden}  .pcr-app[data-theme='nano'] .pcr-selection .pcr-color-preview .pcr-current-color::before {position: absolute;content: '';top: 0;left: 0;width: 100%;height: 100%;background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');background-size: .5em;border-radius: .15em;z-index: -1}  .pcr-app[data-theme='nano'] .pcr-selection .pcr-color-palette {grid-area: 1 / 1 / 2 / 3;width: 100%;height: 100%;z-index: 1}  .pcr-app[data-theme='nano'] .pcr-selection .pcr-color-palette .pcr-palette {border-radius: .15em;width: 100%;height: 100%}  .pcr-app[data-theme='nano'] .pcr-selection .pcr-color-palette .pcr-palette::before {position: absolute;content: '';top: 0;left: 0;width: 100%;height: 100%;background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');background-size: .5em;border-radius: .15em;z-index: -1}  .pcr-app[data-theme='nano'] .pcr-selection .pcr-color-chooser {grid-area: 2 / 2 / 2 / 2}  .pcr-app[data-theme='nano'] .pcr-selection .pcr-color-opacity {grid-area: 3 / 2 / 3 / 2}  .pcr-app[data-theme='nano'] .pcr-selection .pcr-color-chooser, .pcr-app[data-theme='nano'] .pcr-selection .pcr-color-opacity {height: 0.5em;margin: 0 .6em}  .pcr-app[data-theme='nano'] .pcr-selection .pcr-color-chooser .pcr-picker, .pcr-app[data-theme='nano'] .pcr-selection .pcr-color-opacity .pcr-picker {top: 50%;transform: translateY(-50%)}  .pcr-app[data-theme='nano'] .pcr-selection .pcr-color-chooser .pcr-slider, .pcr-app[data-theme='nano'] .pcr-selection .pcr-color-opacity .pcr-slider {flex-grow: 1;border-radius: 50em}  .pcr-app[data-theme='nano'] .pcr-selection .pcr-color-chooser .pcr-slider {background: linear-gradient(to right, red, #ff0, lime, cyan, blue, #f0f, red)}  .pcr-app[data-theme='nano'] .pcr-selection .pcr-color-opacity .pcr-slider {background: linear-gradient(to right, transparent, black), url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');background-size: 100%, 0.25em}

/*====== pickr end ======*/

.hotkeys-settings-plus {
    margin: 0 10px;
    font-size: x-large;
}
