.glcr-image {
    display: block;
    position: relative;
    transition: transform .65s cubic-bezier(.05, .7, .2, 1), opacity .3s;
}

.glcr-image-wrapper {
    display: inline-flex;
    position: relative;
    justify-content: center;
}

.glcr-image figure {
    position: relative;
    display: block;
    width: 100%;
}

.glcr-image figure img {
    position: relative;
    z-index: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
}

a.glcr-image-lightbox,
a.glcr-image-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

/*Over Lines */
.glcr-image-lines {
    pointer-events: none;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glcr-image-lines-wrap {
    visibility: hidden;
    flex-grow: 1;
    justify-content: flex-start;
    display: inline-flex;
}

.glcr-image-line {
    display: inline-flex;
    justify-content: flex-start;
    flex-grow: 1;
}

.glcr-image-lines-wrap div {
    height: 100%;
}

.glcr-image-line div {
    width: 1px;
    background-color: #fff;
    height: 100%;
}

/*Overlay Background*/
.glcr-image-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/*Side Label*/
.glcr-image-label {
    transition: opacity .65s, visibility .65s, transform 1s;
    transition-timing-function: cubic-bezier(.19, 1, .22, 1);
    transition-delay: .2s;
}

.glcr-image-label-fixed {
    bottom: 0;
    min-width: 1em;
    max-height: 50%;
    color: #000;
}

.glcr-image-label-fixed p {
    flex-grow: 1;
}

.glcr-image-label-fixed .glcr-image-label-inner {
    transform: rotate(180deg);
}

.glcr-image-label-inner p {
    margin: 0;
}

.glcr-image-label-fixed-in {
    justify-content: flex-start;
    margin: 0;
    min-height: 15%;
    max-height: 100%;
    position: absolute;
    z-index: 3;
    background-color: var(--color-primary);
}

.glcr-image-label-fixed-in p {
    padding: 1.25em 0.65em;
}

.glcr-image-label-fixed-left {
    writing-mode: vertical-rl;
    left: 0;
    margin-block-start: 0.75em;
    transform: rotate(180deg);
}

.glcr-image-label-fixed-right {
    writing-mode: vertical-lr;
    order: 1;
    right: 0;
    margin-block-start: 0.75em;
}

.align-items-center {
    align-items: center;
}

.align-items-start {
    align-items: flex-start;
}

.align-items-end {
    align-items: flex-end;
}

/* Floating Effect */
.glcr-image[data-float] {
    --float-animation-ease: ease;
    --float-animate-from: 0%;
    --float-animate-to: 3%;
    --float-delay: 0s;
    animation: glcrImgFloat 1s var(--float-animation-ease) infinite alternate;
    animation-delay: var(--float-delay);
}

@keyframes glcrImgFloat {
    0% {
        transform: translateY(var(--float-animate-from, 0%));
    }

    100% {
        transform: translateY(var(--float-animate-to, 3%));
    }

}

/* Hover Image */
.glcr-image figure img.glcr-image-hover {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    object-fit: contain;
    opacity: 0;
    transition: opacity .3s;
}

.glcr-image figure:hover img.glcr-image-hover {
    opacity: 1;
}

.glcr-custom-image-appear-fade .glcr-image figure.glcr-scroll--load {
    opacity: 0;
    transition: opacity .6s ease-out;
}

.glcr-custom-image-appear-fade .glcr-image figure.glcr-scroll--load.glcr--loaded {
    opacity: 1;
}

/*Simple Reveal Effect*/
.glcr-custom-image-appear-simple-reveal .glcr-image.glcr-scroll--load figure {
    opacity: 1;
}

.glcr-custom-image-appear-simple-reveal .glcr-image.glcr-scroll--load figure img {
    width: 100%;
    max-width: 100%;
    height: auto;
    will-change: transform;
    transition: all .8s cubic-bezier(.25, .46, .45, .94);
    -o-transition: all .8s cubic-bezier(.25, .46, .45, .94);
    -webkit-transition: all .8s cubic-bezier(.25, .46, .45, .94);
}

.glcr-custom-image-appear-simple-reveal .glcr-image.glcr-scroll--load figure {
    overflow: hidden;
    vertical-align: middle;
    width: 100%;
    position: relative;
    display: inline-block;
    clip-path: inset(0 100% 0 0);
    -webkit-clip-path: inset(0 100% 0 0);
    transform: translateX(0);
    -ms-transform: translateX(0);
    -webkit-transform: translateX(0);
    transition: all .8s cubic-bezier(.4, 0, .2, 1);
    -o-transition: all .8s cubic-bezier(.4, 0, .2, 1);
    -webkit-transition: all .8s cubic-bezier(.4, 0, .2, 1);
}

.glcr-custom-image-appear-simple-reveal .glcr-image.glcr-scroll--load.glcr--loaded figure {
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
    transition: all .8s cubic-bezier(.25, .46, .45, .94);
    -o-transition: all .8s cubic-bezier(.25, .46, .45, .94);
    -webkit-transition: all .8s cubic-bezier(.25, .46, .45, .94);
}