/* @group Photo Gallery
------------------------------------ */
.photo-gallery {
    margin: 0 0 8.5rem;
}
.photo-gallery h2 {
    font-family: var(--didot-font);
    font-size: 4.7em;
    line-height: 1.08em;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 3rem;
}
.photo-gallery p {
    font-family: var(--termina-font);
    font-size: 1.3em;
    line-height: 1.8em;
    letter-spacing: 0.01em;
    font-weight: 500;
    margin-bottom: 3rem;
}
.photo-gallery__no-pad {
    padding: 0;
}
.photo-gallery .status {
    display: inline-block;
    width: 17.5rem;
    height: 1rem;
    position: relative;
    border-radius: 3rem;
    border: .1rem solid #FFFFFF;
}
.photo-gallery .status i {
    position: absolute;
    top: 50%;
    left: .3rem;
    transform: translate3d(-50%, -50%, 0);
    display: inline-block;
    width: 5.1rem;
    height: .5rem;
    border-radius: 3rem;
    background-color: #ffffff;
    transition: left .7s;
}
.photo-gallery .splide figure {
    height: 25rem;
    box-shadow: 0px 14px 36px 0px rgba(0, 0, 0, 0.30);
    margin: 0;
}
.photo-gallery .splide__pagination {
    display: none;
}
@media only screen
and (min-width : 961px) {
    .photo-gallery {
        padding-top: 0;
        margin: 0 0 8.5rem;
    }
    .photo-gallery header {
        position: relative;
        z-index: 2;
    }
    .photo-gallery h2 {
        font-size: 8em;
        line-height: 1.1em;
        margin-bottom: 4rem;
    }
    .photo-gallery p {
        font-size: 1.4em;
    }
    .photo-gallery__splide-container {
        position: relative;
        z-index: 1;
        margin-top: -14rem;
    }
    .photo-gallery .splide figure {
        cursor: none;
    }
    .photo-gallery .splide__slide--first figure {
        width: 82.9rem;
        height: 52rem;
        margin-bottom: 18rem;
    }
    .photo-gallery .splide__slide--first  figure:nth-child(2) {
        width: 20.8rem;
        height: 13.4rem;
        margin-left: 20.7rem;
    }
    .photo-gallery .splide__slide--second figure:nth-child(1) {
        width: 30.8rem;
        height: 23.4rem;
        margin-bottom: 8rem;
        margin-left: 10.7rem;
        margin-top: 11.5rem;
    }
    .photo-gallery .splide__slide--second figure:nth-child(2) {
        width: 65.1rem;
        height: 52rem;
    }
    .photo-gallery .splide__slide--third figure {
        width: 82.9rem;
        height: 52rem;
        margin-top: 22.1rem;
    }
    .photo-gallery .splide__slide--fourth figure:nth-child(1) {
        width: 65rem;
        height: 52rem;
        margin-bottom: 18rem;
    }
    .photo-gallery .splide__slide--fourth figure:nth-child(2) {
        width: 30.8rem;
        height: 23.4rem;
        margin-left: 10.7rem;
    }
    .photo-gallery .splide__slide--fifth figure {
        width: 82.9rem;
        height: 52rem;
        margin-top: 22.1rem;
    }

    .photo-gallery .splide__slide--fourth + .splide__slide--first figure {
        margin-top: 18rem;
    }
}
@media only screen
and (min-width : 961px)
and (max-width : 1440px) {
}
@media only screen
and (min-width : 0)
and (max-width : 960px) {
    .photo-gallery .status {
        display: none;
    }
    .photo-gallery .splide img {
        pointer-events: none;
    }
    .photo-gallery .splide {
        margin-bottom: 2rem;
    }
    .photo-gallery__splide-container {
        padding-left: 2rem;
    }
    .photo-gallery .splide__track {
        padding-right: 7.5rem!important;
    }
    .photo-gallery__dots span {
        font-family: var(--termina-font);
        color: #ffffff;
        font-weight: 500;
        font-size: 1.3em;
        letter-spacing: 0.03em;
        vertical-align: bottom;
    }
    .photo-gallery__dots span[data-dots="start"] {
        font-size: 1.8em;
        line-height: 1.4em;
    }

    
}

/* @end */

/* @group Popup Image
------------------------------------ */
.popup-image {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    opacity: 0;
    transition: opacity .7s ease;
    pointer-events: none;
    visibility: hidden;
    cursor: none;
}
.popup-image .row {
    height: 100%;
}
.popup-image::before {
    content: "";
    position: absolute;
    z-index: -1;
    background-color: rgba(0, 0, 0, .7);
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.popup-image figure {
    padding: 0;
    width: calc(100% - 4rem);
    height: 30rem;
    margin: 0 2rem;
}
.popup-image figcaption {
    position: absolute;
    top: 0;
    right: 0;
    width: 3.5rem;
    height: 3.5rem;
    display: inline-block;
    margin: 1.5rem;
}
.popup-image .close-ico {
    display: inline-block;
    width: 3.5rem;
    height: 3.5rem;
    background-image: url('../../img/globals/popup-close.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

@media only screen
and (min-width : 961px) {
    .popup-image .close-ico {
        display: none;
    }
}

/* Data gallery */
[data-gallery="show"] {
    overflow: hidden;
    height: 100%;
}
[data-gallery="show"] .popup-image {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

@media only screen
and (min-width : 961px) {
    .popup-image figure {
        flex: 0 1 93.8rem;
        max-width: 93.8rem;
        height: 75rem;
    }
    .popup-image figcaption {
        margin: 2.5rem;
    }
}
@media only screen
and (min-width : 961px)
and (max-width : 1440px) {
}
@media only screen
and (min-width : 0)
and (max-width : 960px) {
}
/* @end */

.progress-bar {
    width: 17.5rem;
    height: 1rem;
    background-color: transparent;
    position: relative;
    border: .1rem solid var(--white);
    margin: 0 auto;
    border-radius: 3rem;
}
.progress-bar i {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    height: .5rem;
    background-color: var(--white);
    width: 5rem;
    border-radius: 3rem;
    transition: left .7s;
}





.photo-gallery .splide figcaption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.bttn__fixed {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 10rem;
    height: 10rem;
    z-index: 999;
    pointer-events: none;
    opacity: 0;
}
.bttn__fixed i {
    position: relative;
    display: inline-block;
    width: 10rem;
    height: 10rem;
    background-image: url('../../img/globals/cursor-on.svg');
    background-size: contain;
}
[data-gallery="show"] .bttn__fixed i {
    background-image: url('../../img/globals/cursor-off.svg');
}
[data-gallery="show"] .bttn__fixed i:before {
    border: .1rem solid #000000;
}
.bttn__fixed i::before {
    content: "";
    width: 10rem;
    height: 10rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    border: .2rem solid #FFC800;
    border-radius: 50%;
    overflow: hidden;
    animation: pulsate 1.8s ease-out;
    animation-iteration-count: infinite;
    animation-delay: .8s;
    opacity: 0;
}
@-webkit-keyframes pulsate {
	0% {-webkit-transform: scale(0, 0); opacity: 0.0;}
	25% {opacity: 0.5; }
	50% {-webkit-transform: scale(1, 1); opacity: 0.0;}
}
@media only screen
and (min-width : 0)
and (max-width : 960px) {
    .bttn__fixed {
        display: none;
    }
}

