body.hidden-scroll {
    overflow: hidden;
}

.sl-overlay {
    position: fixed;
    z-index: 1050;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    opacity: .9;
    background: #fff;
}

.sl-wrapper {
    z-index: 1040;
}

.sl-wrapper button {
    font-size: 28px;
    padding: 0;
    cursor: pointer;
    border: 0 none;
    background: transparent;
}

.sl-wrapper button:hover {
    opacity: .7;
}

.sl-wrapper .sl-close {
    font-family: Arial, Baskerville, monospace;
    font-size: 3rem;
    line-height: 44px;
    position: fixed;
    z-index: 1060;
    top: 30px;
    right: 30px;
    display: none;
    width: 44px;
    height: 44px;
    margin-top: -14px;
    margin-right: -14px;
    color: #000;
}

.sl-wrapper .sl-close:focus {
    outline: none;
}

.sl-wrapper .sl-counter {
    font-size: 1rem;
    position: fixed;
    z-index: 1060;
    top: 30px;
    left: 30px;
    display: none;
    color: #000;
}

.sl-wrapper .sl-navigation {
    display: none;
    width: 100%;
}

.sl-wrapper .sl-navigation button {
    font-family: Arial, Baskerville, monospace;
    line-height: 44px;
    position: fixed;
    z-index: 1060;
    top: 50%;
    display: block;
    width: 22px;
    height: 44px;
    margin-top: -22px;
    text-align: center;
    color: #000;
}

.sl-wrapper .sl-navigation button.sl-next {
    font-size: 2rem;
    right: 5px;
}

.sl-wrapper .sl-navigation button.sl-prev {
    font-size: 2rem;
    left: 5px;
}

.sl-wrapper .sl-navigation button:focus {
    outline: none;
}

@media (min-width: 35.5em) {
    .sl-wrapper .sl-navigation button {
        width: 44px;
    }
    .sl-wrapper .sl-navigation button.sl-next {
        font-size: 3rem;
        right: 10px;
    }
    .sl-wrapper .sl-navigation button.sl-prev {
        font-size: 3rem;
        left: 10px;
    }
}

@media (min-width: 50em) {
    .sl-wrapper .sl-navigation button {
        width: 44px;
    }
    .sl-wrapper .sl-navigation button.sl-next {
        font-size: 3rem;
        right: 20px;
    }
    .sl-wrapper .sl-navigation button.sl-prev {
        font-size: 3rem;
        left: 20px;
    }
}

.sl-wrapper .sl-image {
    position: fixed;
    z-index: 10000;

    -ms-touch-action: none;
        touch-action: none;
}

.sl-wrapper .sl-image img {
    display: block;
    margin: 0;
    padding: 0;
    border: 0 none;
}

@media (min-width: 35.5em) {
    .sl-wrapper .sl-image img {
        border: 0 none;
    }
}

@media (min-width: 50em) {
    .sl-wrapper .sl-image img {
        border: 0 none;
    }
}

.sl-wrapper .sl-image iframe {
    border: 0 none;
    background: #000;
}

@media (min-width: 35.5em) {
    .sl-wrapper .sl-image iframe {
        border: 0 none;
    }
}

@media (min-width: 50em) {
    .sl-wrapper .sl-image iframe {
        border: 0 none;
    }
}

.sl-wrapper .sl-image .sl-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    padding: 10px;
    color: #fff;
    background: rgba(0, 0, 0, .8);
}

.sl-wrapper .sl-image .sl-caption.pos-top {
    top: 0;
    bottom: auto;
}

.sl-wrapper .sl-image .sl-caption.pos-outside {
    bottom: auto;
}

.sl-wrapper .sl-image .sl-download {
    position: absolute;
    z-index: 1060;
    right: 5px;
    bottom: 5px;
    display: none;
    color: #000;
}

.sl-spinner {
    position: fixed;
    z-index: 1007;
    top: 50%;
    left: 50%;
    display: none;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    -webkit-animation: pulsate 1s ease-out infinite;
            animation: pulsate 1s ease-out infinite;
    opacity: 0;
    border: 5px solid #333;
    border-radius: 40px;
}

.sl-scrollbar-measure {
    position: absolute;
    top: -9999px;
    overflow: scroll;
    width: 50px;
    height: 50px;
}

@-webkit-keyframes pulsate {
    0% {
        -webkit-transform: scale(.1);
                transform: scale(.1);
        opacity: .0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: scale(1.2);
                transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes pulsate {
    0% {
        -webkit-transform: scale(.1);
                transform: scale(.1);
        opacity: .0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: scale(1.2);
                transform: scale(1.2);
        opacity: 0;
    }
}

/* ///////////////// add ///////////////// */
.sl-wrapper .sl-close {
    position: absolute;
    z-index: 99999;
    width: 37px;
    height: 37px;
}

@media screen and (max-width: 767px) {
    .sl-wrapper .sl-close {
        position: fixed;
    }
}

.sl-wrapper .sl-close::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 1px;
    height: 50px;
    margin: auto;
    content: '';
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
    background-color: #000;
}

@media screen and (max-width: 767px) {
    .sl-wrapper .sl-close::before {
        height: 30px;
    }
}

.sl-wrapper .sl-close::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 1px;
    height: 50px;
    margin: auto;
    content: '';
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    background-color: #000;
}

@media screen and (max-width: 767px) {
    .sl-wrapper .sl-close::after {
        height: 30px;
    }
}

.sl-wrapper .sl-image {
    margin: -60px -60px -50px;
    padding: 60px 60px 50px;
    background-color: #fff;
}

@media screen and (max-width: 767px) {
    .sl-wrapper .sl-image {
        margin: -45px;
        padding: 45px;
    }
}

.sl-wrapper .sl-navigation button.sl-next {
    z-index: 99999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 70px;
    margin: auto;
}

.sl-wrapper .sl-navigation button.sl-next::before {
    position: absolute;
    position: absolute;
    top: 0;
    right: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 50px;
    margin: auto;
    content: '';
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    border: 0;
    border-top: solid 1px #000;
    border-right: solid 1px #000;
}

@media screen and (max-width: 767px) {
    .sl-wrapper .sl-navigation button.sl-next::before {
        width: 20px;
        height: 20px;
    }
}

.sl-wrapper .sl-navigation button.sl-prev {
    z-index: 99999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 70px;
    margin: auto;
}

.sl-wrapper .sl-navigation button.sl-prev::before {
    position: absolute;
    position: absolute;
    top: 0;
    right: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 50px;
    margin: auto;
    content: '';
    -webkit-transform: rotate(-135deg);
            transform: rotate(-135deg);
    border: 0;
    border-top: solid 1px #000;
    border-right: solid 1px #000;
}

@media screen and (max-width: 767px) {
    .sl-wrapper .sl-navigation button.sl-prev::before {
        width: 20px;
        height: 20px;
    }
}