/*!
 * justifiedGallery - v3.7.0
 * https://miromannino.github.io/Justified-Gallery/
 * Copyright (c) 2018 Miro Mannino
 * Licensed under the MIT license.
 */
.justified-gallery {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.justified-gallery > a,
.justified-gallery > div,
.justified-gallery > figure {
    position: absolute;
    display: inline-block;
    overflow: hidden;
    /* background: #888888; To have gray placeholders while the gallery is loading with waitThumbnailsLoad = false */
    filter: "alpha(opacity=10)";
    opacity: 0.1;
    margin: 0;
    padding: 0;
}

.justified-gallery > a > img,
.justified-gallery > div > img,
.justified-gallery > figure > img,
.justified-gallery > a > a > img,
.justified-gallery > div > a > img,
.justified-gallery > figure > a > img {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    padding: 0;
    border: none;
    filter: "alpha(opacity=0)";
    opacity: 0;
}

.justified-gallery > a > .caption,
.justified-gallery > div > .caption,
.justified-gallery > figure > .caption {
    display: none;
    position: absolute;
    bottom: 0;
    padding: 5px;
    background-color: #000000;
    left: 0;
    right: 0;
    margin: 0;
    color: white;
    font-size: 12px;
    font-weight: 300;
    font-family: sans-serif;
}

.justified-gallery > a > .caption.caption-visible,
.justified-gallery > div > .caption.caption-visible,
.justified-gallery > figure > .caption.caption-visible {
    display: initial;
    filter: "alpha(opacity=70)";
    opacity: 0.7;
    -webkit-transition: opacity 500ms ease-in;
    -moz-transition: opacity 500ms ease-in;
    -o-transition: opacity 500ms ease-in;
    transition: opacity 500ms ease-in;
}

.justified-gallery > .entry-visible {
    filter: "alpha(opacity=100)";
    opacity: 1;
    background: none;
}

.justified-gallery > .entry-visible > img,
.justified-gallery > .entry-visible > a > img {
    filter: "alpha(opacity=100)";
    opacity: 1;
    -webkit-transition: opacity 500ms ease-in;
    -moz-transition: opacity 500ms ease-in;
    -o-transition: opacity 500ms ease-in;
    transition: opacity 500ms ease-in;
}

.justified-gallery > .jg-filtered {
    display: none;
}

.justified-gallery > .spinner {
    position: absolute;
    bottom: 0;
    padding: 10px 0 10px 0;
    filter: "alpha(opacity=100)";
    opacity: 1;
    overflow: initial;
}

.justified-gallery > .spinner-ls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    height: 100px;
}

.justified-gallery > .spinner-ls > i {
    border-radius: 2px;
    margin: 0 5px 5px 0;
    height: 200px;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    background: #eeee;
    -webkit-animation: photoLoader 5s infinite;
    animation: photoLoader 5s infinite;
}

@-webkit-keyframes photoLoader {
    0% {
        background-color: #eeee;
    }
    50% {
        background-color: #cccccc;
    }
    100% {
        background-color: #eeee;
    }
}

@keyframes photoLoader {
    0% {
        background-color: #eeee;
    }
    50% {
        background-color: #cccccc;
    }
    100% {
        background-color: #eeee;
    }
}

@media screen and (max-width: 1023px) {
    .spinner i:last-of-type {
        display: none;
    }

    .spinner i {
        width: 20% !important;
    }
}

@media screen and (max-width: 767px) {
    .spinner i {
        width: 40% !important;
    }
}

@media screen and (max-width: 374px) {
    .spinner i {
        height: 150px;
    }
}