
.id-gallery-images {
    margin: 20px 0;
    padding: 0;
    font-size: 0;
}

.id-gallery-images > * {
    font-size: 14px;
    font-size: 1rem;
}

.id-gallery-images > li.id-gallery-image {
    margin: 0;
    /*padding: 7.5px;*/
    padding: 0;
    list-style: none;
    display: inline-block;
}

.id-gallery-images .id-gallery-i {
    display: block;
    position: relative;
    margin: 7.5px;
}

.id-gallery-image img {
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    height: auto;
}



/*
* ----------------------------------------------------------------------
*
* _Fab
*
* ----------------------------------------------------------------------
*/

.fa-fab {
    position: absolute;
    top: 15px;
    left: auto;
    right: 15px;
    bottom: auto;
    background-color: rgba(255,255,255,0.25);
    border-radius: 50% 50%;
    padding: 1ex;
}

.fa-fab.fa-fab-inverse {
    background-color: rgba(0,0,0,0.15);

}
/* 
* --------------------------------------------------------------
* 
* Masonry Data Grid
* 
* --------------------------------------------------------------
*/

[data-grid="1"] .id-gallery-image {
    width: 100%;
}

.id-gallery-image {
    width: 50%;
}

@media screen and (min-width: 768px) {

    [data-grid="3"] .id-gallery-image {
        width: 33.33%;
    }

    [data-grid="4"] .id-gallery-image {
        width: 25%;
    }

    [data-grid="5"] .id-gallery-image {
        width: 20%;
    }

    [data-grid="6"] .id-gallery-image {
        width: 16.66%;
    }
}


@media screen and (min-width: 992px) {
    .id-gallery-image {
        max-width: 25%;
    }
}



.id-gallery-masonry-spinner {
    height: 100vh;
    max-height: 100vh;
    width: 100vw;
    max-width: 100vw;
    z-index: 999999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.75);
    display: block;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-wrap: nowrap;
    -ms-flex-direction: row;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -o-align-items: center;
    -ms-align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    -o-align-content: center;
    -ms-align-content: center;
    -moz-align-content: center;
    -webkit-align-content: center;
    align-content: center;
    -o-justify-content: center;
    -ms-justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
}