/*!
 * justifiedGallery - v3.8.1
 * http://miromannino.github.io/Justified-Gallery/
 * Copyright (c) 2020 Miro Mannino
 * Licensed under the MIT license.
 */
:root {
    --mdc-checkbox-theme-secondary: #0066c1;
    --mdc-checkbox-theme-border-color: rgba(0,0,0,0.54);
}

.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,
        .justified-gallery > a > svg,
        .justified-gallery > div > svg,
        .justified-gallery > figure > svg,
        .justified-gallery > a > a > svg,
        .justified-gallery > div > a > svg,
        .justified-gallery > figure > a > svg {
            position: absolute;
            top: 50%;
            left: 50%;
            margin: 0;
            padding: 0;
            border: none;
            filter: "alpha(opacity=0)";
            opacity: 0;
        }

        .justified-gallery > a > .jg-caption,
        .justified-gallery > div > .jg-caption,
        .justified-gallery > figure > .jg-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 > .jg-caption.jg-caption-visible,
            .justified-gallery > div > .jg-caption.jg-caption-visible,
            .justified-gallery > figure > .jg-caption.jg-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 > .jg-entry-visible {
        filter: "alpha(opacity=100)";
        opacity: 1;
        /*background: none;*/
        background-color: rgba(0, 102, 193, 0.08);
        /*transition: border .135s cubic-bezier(0.0,0.0,0.2,1);*/
    }

        .justified-gallery > .jg-entry-visible > img, .justified-gallery > .jg-entry-visible > a > img, .justified-gallery > .jg-entry-visible > svg, .justified-gallery > .jg-entry-visible > a > svg {
            filter: "alpha(opacity=100)";
            opacity: 1;
            padding: 0px;
            -webkit-transition: opacity 500ms ease-in,padding .135s cubic-bezier(0.0,0.0,0.2,1);
            -moz-transition: opacity 500ms ease-in,padding .135s cubic-bezier(0.0,0.0,0.2,1);
            -o-transition: opacity 500ms ease-in,padding .135s cubic-bezier(0.0,0.0,0.2,1);
            transition: opacity 500ms ease-in,padding .135s cubic-bezier(0.0,0.0,0.2,1);
        }

    .justified-gallery > .jg-filtered {
        display: none;
    }

    .justified-gallery > .jg-spinner {
        position: absolute;
        bottom: 0;
        margin-left: -24px;
        padding: 10px 0 10px 0;
        left: 50%;
        filter: "alpha(opacity=100)";
        opacity: 1;
        overflow: initial;
    }

        .justified-gallery > .jg-spinner > span {
            display: inline-block;
            filter: "alpha(opacity=0)";
            opacity: 0;
            width: 8px;
            height: 8px;
            margin: 0 4px 0 4px;
            background-color: #000;
            border-radius: 6px;
        }


.jg-parentsection {
    height: 48px;
    display: flex;
    align-items: center;
}

    .jg-parentsection i {
        font-size: 24px;
        color: var(--mdc-checkbox-theme-border-color);
        margin-right: 8px;
        position: relative;
        cursor: pointer;
    }

        .jg-parentsection i.s-checked {
            color: var(--mdc-checkbox-theme-secondary);
        }

.jg-selection {
    background-image: linear-gradient(to bottom,rgba(0,0,0,0.24),rgba(0,0,0,0.0) 64px,rgba(0,0,0,0.0));
    z-index: 2;
    position: absolute;
    top: 0;
    bottom: 0;
    padding: 8px;
    left: 0;
    right: 0;
    opacity: 0;
}

    .jg-selection i {
        font-size: 24px;
        color: white;
        position: absolute;
        z-index: 2;
        opacity: 0.54;
        cursor: pointer;
        display: none;
    }


.i-background {
    height: 18px;
    width: 18px;
    background-color: white;
    position: absolute;
    top: 11px;
    left: 11px;
    border-radius: 10px;
    display: none;
}

.jg-entry:hover .jg-selection{
    opacity:1;
}

.jg-entry:hover .jg-selection i {
    display: block;
}

.jg-selection i:hover {
    opacity: 1;
    cursor: pointer;
}

.justified-gallery > .jg-entry-visible > .tu_effects-star, .justified-gallery > .jg-entry-visible .js-video {
    position: absolute;
    right: 8px;
    z-index: 2;
    top: 8px;
    display: flex;
    align-items: center;
}

.justified-gallery > .jg-entry-visible > .tu_star-filled {
    position: absolute;
    left: 8px;
    z-index: 2;
    bottom: 8px;
    display: flex;
    align-items: center;
}

.justified-gallery > .jg-entry-visible.checked > img,
.justified-gallery > .jg-entry-visible.checked > a > img,
.justified-gallery > .jg-entry-visible.checked > svg,
.justified-gallery > .jg-entry-visible.checked > a > svg,
.justified-gallery > .jg-entry-visible.checked > .tu_effects-star,
.justified-gallery > .jg-entry-visible.checked > .js-video,
.justified-gallery > .jg-entry-visible.checked > .tu_star-filled {
    padding: 16px;
}

.justified-gallery > .jg-entry-visible.checked > .jg-selection ,
.jg-showselect > .justified-gallery > .jg-entry-visible .jg-selection  {
    opacity: 1;
}

.justified-gallery > .jg-entry-visible.checked > .jg-selection i,
.jg-showselect > .justified-gallery > .jg-entry-visible .jg-selection i{
    display: block;
}

    .justified-gallery > .jg-entry-visible.checked > .jg-selection > i {
        opacity: 1;
        color: #0066C1;
    }


    .justified-gallery > .jg-entry-visible.checked > .jg-selection > .i-background {
        display: block;
    }

.justified-gallery > .jg-entry-visible.checked > .img-background {
    margin: 16px;
}

.img-background {
    background-color: white;
    z-index: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    padding: 8px;
    left: 0;
    right: 0;
}

.js-videoduration {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: Roboto, sans-serif;
    font-size: 0.75rem;
    line-height: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.0333333333em;
    text-decoration: inherit;
    text-transform: inherit;
    color: white;
    margin-right: 10px;
}


/*New css for Material-Demo page -- Jahangir Shaikh : 11-12-2020*/
.jg-overlay {
    position: absolute;
    z-index: 998;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 99, 191, 0.45);
    opacity: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}

.jg-show-overlay {
    opacity:1;
}