.loader {
    background: linear-gradient(90deg, rgba(200, 200, 200, 0.8) 0%, rgba(255, 255, 255, 0) 55%);
    /* Show only 10px from the border */
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 13px), #fff 0);
    mask: radial-gradient(farthest-side, transparent calc(100% - 13px), #fff 0);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: fixed;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
    animation: rot 2s linear infinite;
    z-index: 1001;
    display: none;
}

@keyframes rot {
    100% {
        transform: rotate(360deg);
    }
}

.slideshow-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    z-index: 1000;
    display: none;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
}

.image-slideshow {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    position: absolute;
    max-height: calc(100vh);
    max-width: calc(100vw - 100px);
    margin-left: 50vw;
    margin-top: 50vh;
    transform: translate(-50%, -50%);
}

#rs_back {
    position: fixed;
    right: 0;
    height: 100vh;
    width: 50px;
    background-color: rgb(24, 24, 24);
}

#ls_back {
    position: fixed;
    left: 0;
    height: 100vh;
    width: 50px;
    background-color: rgb(24, 24, 24);
}

#exit {
    background-color: transparent;
    border: none;
    text-decoration: none;
    width: 50px;
    height: 50px;
    position: fixed;
    top: 0;
    right: 0;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.1);
}

#exit:before,
#exit:after {
    position: absolute;
    right: 6px;
    top: 23px;
    display: inline-block;
    content: '';
    width: 35px;
    height: 0;
    border-top: 5px solid #e8e8e8;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

#exit:before {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#exit:hover:before,
#exit:hover:after {
    border-top: 5px solid #000;
}

#exit:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.8);
}

#next {
    background-color: transparent;
    border: none;
    text-decoration: none;
    width: 50px;
    height: 80px;
    position: fixed;
    right: 0;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translate(0, calc(50vh - 40px));
}

#next:before,
#next:after {
    margin-top: 37px;
    position: absolute;
    right: 11px;
    display: inline-block;
    content: '';
    width: 25px;
    height: 0;
    border-top: 5px solid #e8e8e8;
    top: -9px;
    -webkit-transform: rotate(57deg);
    -moz-transform: rotate(57deg);
    transform: rotate(57deg);
}

#next:before {
    top: 9px;
    -webkit-transform: rotate(-57deg);
    -moz-transform: rotate(-57deg);
    transform: rotate(-57deg);
}

#next:hover:before,
#next:hover:after {
    border-top: 5px solid #000;
}

#next:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.8);
}

#previous {
    transform: translate(0, calc(50vh - 40px));
    background-color: transparent;
    border: none;
    text-decoration: none;
    width: 50px;
    height: 80px;
    position: fixed;
    left: 0;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.1);
}

#previous:before,
#previous:after {
    margin-top: 37px;
    position: absolute;
    left: 11px;
    display: inline-block;
    content: '';
    width: 25px;
    height: 0;
    border-top: 5px solid #e8e8e8;
    top: 9px;
    -webkit-transform: rotate(57deg);
    -moz-transform: rotate(57deg);
    transform: rotate(57deg);
}

#previous:before {
    top: -9px;
    -webkit-transform: rotate(-57deg);
    -moz-transform: rotate(-57deg);
    transform: rotate(-57deg);
}

#previous:hover:before,
#previous:hover:after {
    border-top: 5px solid #000;
}

#previous:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.8);
}