@-webkit-keyframes litebox-loader-rotate {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes litebox-loader-rotate {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes litebox-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes litebox-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-webkit-keyframes litebox-fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes litebox-fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@-webkit-keyframes litebox-slide-up {
    from {
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }
    to {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes litebox-slide-up {
    from {
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }
    to {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes litebox-slide-down {
    from {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    to {
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }
}

@keyframes litebox-slide-down {
    from {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    to {
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }
}

@-webkit-keyframes litebox-slide-to-right {
    from {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    to {
        -webkit-transform: translateX(30px);
        transform: translateX(30px);
    }
}

@keyframes litebox-slide-to-right {
    from {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    to {
        -webkit-transform: translateX(30px);
        transform: translateX(30px);
    }
}

@-webkit-keyframes litebox-slide-to-left {
    from {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    to {
        -webkit-transform: translateX(-30px);
        transform: translateX(-30px);
    }
}

@keyframes litebox-slide-to-left {
    from {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    to {
        -webkit-transform: translateX(-30px);
        transform: translateX(-30px);
    }
}

@-webkit-keyframes litebox-slide-from-right {
    from {
        -webkit-transform: translateX(30px);
        transform: translateX(30px);
    }
    to {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes litebox-slide-from-right {
    from {
        -webkit-transform: translateX(30px);
        transform: translateX(30px);
    }
    to {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes litebox-slide-from-left {
    from {
        -webkit-transform: translateX(-30px);
        transform: translateX(-30px);
    }
    to {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes litebox-slide-from-left {
    from {
        -webkit-transform: translateX(-30px);
        transform: translateX(-30px);
    }
    to {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

.litebox.is-animated.animate-in {
    -webkit-animation: litebox-fade-in .5s ease-out forwards;
    animation: litebox-fade-in .5s ease-out forwards;
}

.litebox.is-animated.animate-in .litebox-wrapper {
    -webkit-animation: litebox-slide-up .5s ease-out forwards;
    animation: litebox-slide-up .5s ease-out forwards;
}

.litebox.is-animated.animate-out {
    -webkit-animation: litebox-fade-out .5s ease-out forwards;
    animation: litebox-fade-out .5s ease-out forwards;
}

.litebox.is-animated.animate-out .litebox-wrapper {
    -webkit-animation: litebox-slide-down .5s ease-out forwards;
    animation: litebox-slide-down .5s ease-out forwards;
}

.litebox.is-animated.animate-to-left .litebox-wrapper {
    opacity: 0;
    -webkit-animation: litebox-slide-to-left .5s ease-out, litebox-fade-out .5s ease-out;
    animation: litebox-slide-to-left .5s ease-out, litebox-fade-out .5s ease-out;
}

.litebox.is-animated.animate-from-left .litebox-wrapper {
    opacity: 0;
    -webkit-animation: litebox-slide-from-left .5s ease-out forwards, litebox-fade-in .5s ease-out forwards;
    animation: litebox-slide-from-left .5s ease-out forwards, litebox-fade-in .5s ease-out forwards;
}

.litebox.is-animated.animate-to-right .litebox-wrapper {
    opacity: 0;
    -webkit-animation: litebox-slide-to-right .5s ease-out, litebox-fade-out .5s ease-out;
    animation: litebox-slide-to-right .5s ease-out, litebox-fade-out .5s ease-out;
}

.litebox.is-animated.animate-from-right .litebox-wrapper {
    opacity: 0;
    -webkit-animation: litebox-slide-from-right .5s ease-out forwards, litebox-fade-in .5s ease-out forwards;
    animation: litebox-slide-from-right .5s ease-out forwards, litebox-fade-in .5s ease-out forwards;
}

.litebox {
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.litebox-wrapper {
    position: relative;
}

@media screen and (min-width: 40rem) {
    .litebox-wrapper {
        max-width: 92vw;
        max-height: 92vh;
    }
}

@media screen and (max-width: 40rem) {
    .litebox-wrapper {
        max-width: 100vw;
        max-height: 100vh;
    }
}

.litebox-image-wrapper {
    margin: 0;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    /*box-shadow: 0 2rem 4rem rgba(255, 255, 255, 0.3);*/
    border-radius: 10px;
}

.litebox-image {
    vertical-align: middle;
    border-radius: 10px;
}

@media screen and (min-width: 40rem) {
    .litebox-image {
        max-width: 92vw;
        max-height: 92vh;
    }
}

@media screen and (max-width: 40rem) {
    .litebox-image {
        max-width: 100vw;
        max-height: 100vh;
    }
}

.litebox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
    box-sizing: border-box;
    font-size: 1.2rem;
    line-height: 1.3;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    /*border-radius: 0;*/
}

.litebox-caption.is-hidden {
    display: none;
}

.litebox-button {
    padding: 0;
    margin: 0;
    position: absolute;
    width: 3rem;
    height: 3rem;
    border: none;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    background-position: center center;
    background-repeat: no-repeat;
    text-indent: -9999px;
    z-index: 5;
    cursor: pointer;
    outline: none;
    border-radius: 0;
    transition: background-color .1s linear;
}

.litebox-button.is-hidden {
    display: none;
}

.litebox-button:hover, .litebox-button:focus {
    background-color: rgba(0, 0, 0, 0.7);
}

.litebox-button-close {
    top: 0;
    right: 0;
    height: 3rem;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    background-image: url("/v2/icons/close-25874541b02660c040e2f5ad93bb2851.svg");
}

.litebox-button-next {
    right: 0;
    top: calc(50% - 1.5rem);
    height: 6rem;
    width: 2.5rem;
    background-image: url("/v2/icons/arrow-next-656ce384efb2cff76dd20dbdd4c09603.svg");
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}

.litebox-button-prev {
    left: 0;
    height: 6rem;
    width: 2.5rem;
    top: calc(50% - 1.5rem);
    background-image: url("/v2/icons/arrow-prev-be91767b921ce161cf90053f72fb868a.svg");
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}

.litebox-error {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%);
    transform: translate(-50%);
    color: white;
}

.litebox-error.is-hidden {
    display: none;
}

.litebox-loader {
    position: absolute;
    top: calc(50% - 1.5rem);
    left: calc(50% - 1.5rem);
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 0;
}

.litebox-loader.is-hidden {
    display: none;
}

.litebox-loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    left: 12.5%;
    top: 12.5%;
    box-sizing: border-box;
    border: 2px solid transparent;
    border-top-color: white;
    -webkit-animation: litebox-loader-rotate 1s linear infinite;
    animation: litebox-loader-rotate 1s linear infinite;
}
