:root {
    --animation-duration: 0.3s;
}

.iol-gallery-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: default;
    outline: black solid 0px;
}

.iol-gallery-full-screen {
    position: fixed !important;
    top: 0 !important;;
    left: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    height: 100vh !important;
    width: 100vw !important;
}

.iol-gallery {
    display: grid;
    grid-template-rows: repeat(1, 1fr);
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 0px;
    height: 100%;
    width: 100%;
}

.iol-gallery-item {
    display: flex;
    background-color: #111;
    justify-content: center;
    align-items: center;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    grid-row: 1;
    grid-column: 1;
    z-index: -1;
    transition: transform 1s ease;
}

.iol-gallery-item-caption {
    position: absolute;
    bottom: 0;
    color: whitesmoke;
    background-color: #111;
    padding: 6px;
    opacity: .6;
    width: 100%;
    font-size: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}

.iol-gallery-active-item {
    z-index: 2;
}

.iol-gallery-button-disabled {
    display: none !important;
}

.iol-gallery-button {
    position: absolute;
    z-index: 100;
    cursor: pointer;
    border-radius: 5px;
    opacity: .4;
}

.iol-gallery-button:hover {
    opacity: .8;
}

.iol-gallery-button>svg {
    filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));
}

.iol-gallery-button-previous {
    left: 0%;
    top: 50%;
    transform: translateY(-50%);
}

.iol-gallery-button-next {
    left: 100%;
    top: 50%;
    transform: translate(-100%, -50%);
}

.iol-gallery-button-fs {
    top: 3px;
    right: 3px;
}

.slide-left-into-view {
    animation: slide-left-into-view var(--animation-duration);
    z-index: 3;
}

.slide-left-out-of-view {
    animation: slide-left-out-of-view var(--animation-duration);
    z-index: 1;
}

.slide-right-into-view {
    animation: slide-right-into-view var(--animation-duration);
    z-index: 3;
}

.slide-right-out-of-view {
    animation: slide-right-out-of-view var(--animation-duration);
    z-index: 1;
}

@keyframes slide-left-into-view {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes slide-left-out-of-view {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes slide-right-into-view {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes slide-right-out-of-view {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(100%);
    }
}


#iol-cover figure{ margin:0}
#iol-cover figure img{ width:100%; height: auto;}