.gallery-container {
    background-color: #fff;
    color: #35373a;
    /* min-height: 100vh; */
    /* padding: 30px 50px; */
}

.gallery-container h1 {
    text-align: center;
    margin-top: 50px;
    font-family: 'Droid Sans', sans-serif;
    font-weight: bold;
}

.gallery-container p.page-description {
    text-align: center;
    margin: 25px auto;
    font-size: 18px;
    color: #999;
}

.tz-gallery {
    padding: 15px;
}

/* Override bootstrap column paddings */
.tz-gallery .row > div {
    padding: 2px;
}

.tz-gallery .lightbox img {
    width: 100%;
    border-radius: 0;
    position: relative;
}

.tz-gallery .lightbox:before {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -13px;
    margin-left: -13px;
    opacity: 0;
    color: #fff;
    font-size: 26px;
    /* font-family: 'FontAwesome';
    content: '\f00e'; */
    pointer-events: none;
    z-index: 9000;
    transition: 0.4s;
}

.tz-gallery .lightbox:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(240, 248, 255, 0.3);
    content: '';
    transition: 0.4s;
}

.tz-gallery .lightbox:hover:after,
.tz-gallery .lightbox:hover:before {
    opacity: 1;
}

.baguetteBox-button {
    background-color: transparent !important;
}

.img-gal::before {
    /* display: table; */
    content: "";
}

.img-gal::after {
    clear: both;
    display: table;
    content: " ";
}

/*//////////////////////////////////////////////////////////////////
[ Mobile hidden gallery ]*/
/* .modal-dialog {
    max-width: 970px !important;
} */

.modal-body {
    padding: 0 !important;
}

.img-p > div {
    padding: 2px;
}

.img-plus{
    opacity: .6;
}

.img-plus::before{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -27px;
    margin-left: -17px;
    opacity: 0.8;
    color: #fff;
    font-size: 40px;
    font-family: 'FontAwesome';
    content: '\f055';
    pointer-events: none;
    /* z-index: 9000; */
    transition: 0.4s;
}

#la {
    position: absolute;
    display: inline-block;
    top: 43%;
    z-index: 5;
    color: #ffffff;
    width: 98%;
    height: 55%;
    text-align: center;
    font-size: 30px;
    font-weight: 900;
}

.dark div {
    width: 98%;
    height: 98%;
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    z-index: 2;
}

.dark .sq-container {
    padding-top: 98%;
}

.slider {
    width: 300px;
    text-align: center;
    overflow: hidden;
}

.slides {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    
    /*
    scroll-snap-points-x: repeat(300px);
    scroll-snap-type: mandatory;
    */
}
.slides::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
.slides::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 10px;
}
.slides::-webkit-scrollbar-track {
    background: transparent;
}
.slides > div {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    margin-right: 50px;
    border-radius: 10px;
    background: #eee;
    transform-origin: center center;
    transform: scale(1);
    transition: transform 0.5s;
    position: relative;
    
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 100px;
}

@media (max-width: 414px) {
    .modal-dialog {
        margin: 50% 0;
        max-width: inherit;
    }

    #la {
        top: 32%;
        font-size: 22px;
    }
}

/* 2021 */
.photo-gallery-svg-zip, .pg-close {
    max-width: 18px;
    opacity: 1;
    float: right;
    font-size: 1.5rem;
    line-height: 1;
    margin-top: unset;
    width: unset;
    height: unset;
    border-radius: unset;
}

.sq-container {
    position: relative;
    width: 100%;
    padding-top: 100%;
}

.con16-9 {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.img-fit {
    position: absolute !important;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.photo-gallery-svg-zip svg, .pg-close svg {
    fill: white;
    width: 100%;
    height: 100%;
    stroke: none;
}

.photo-gallery-close-zip span {
    color: #e8e8e8;
    font-size: 1.2rem;
}

.modal-open.pg-of, .modal-open.pg-of #myModal {
    overflow-y: hidden !important;
}

.photo-gallery-close #gclose span.closebtn.close {
    display: none;
}

@media (max-width: 414px) {
    .dark div {
        width: 97%;
        height: 97%;
    }

    .dark {z-index: 0;}

    .photo-gallery-close-zip {
        position: fixed;
        display: flex;
        z-index: 99;
        width: 100%;
        background: rgb(10 10 10 / 80%);
        padding: .8rem 1rem;
        align-items: center;
        left: 0;
        height: 48px;
        top: 0;
    }

    .photo-gallery-close-zip .preview-gallery-close {
        padding-left: .6rem;
    }

    .photo-gallery-close .position-absolute.pr-2.pt-1 {
        padding-top: 7rem !important;
        right: unset !important;
        padding-left: .8rem;
    }

    .photo-gallery-svg-zip, .pg-close {
        max-width: 15px;
    }
}

@media (min-width: 415px) {
    .photo-gallery-close .position-absolute.pr-2.pt-1 {
        padding-right: 2.8rem !important;
        padding-top: 1.25rem!important;  
    }
    .photo-gallery-close-zip > .preview-gallery-close{
        display: none;
    }

    .pg-of .photo-gallery-svg-zip svg {
        background: rgb(10 10 10 / 80%);
    }
}