
.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;
    list-style: none;
    display: inline-block;
}

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


.id-gallery-images .masonry-brick {
    width: 50%;
}
.id-gallery-images .masonry-brick:nth-child(10n+3) {
    width: 100%;
} 


@media screen and (min-width: 768px) {
    .id-gallery-images .masonry-brick {
        width: 20%;
    } 
    .id-gallery-images .masonry-brick:nth-child(10n+3) {
        width: 40%;
    } 
}

/* 
* --------------------------------------------------------------
* 
* NO Masonry
* 
* --------------------------------------------------------------
*/

.no-masonry.id-gallery-images > li.id-gallery-image {
    max-width: 50%;
    vertical-align: top;
}


@media screen and (min-width: 768px) {
    .no-masonry.id-gallery-images > li.id-gallery-image {
        max-width: 33.3%;
    }
}

@media screen and (min-width: 992px) {
    .no-masonry.id-gallery-images > li.id-gallery-image {
        max-width: 25%;
    }
}
/* 
* --------------------------------------------------------------
* 
* Column Widths
* 
* --------------------------------------------------------------
*/

@media screen and (min-width: 992px) {
    .no-masonry.id-gallery-images > li.id-gallery-col-2,
    .id-gallery-images > li.id-gallery-col-2 {
        width: 50%;
    }
}

@media screen and (min-width: 992px) {
    .no-masonry.id-gallery-images > li.id-gallery-col-3,
    .id-gallery-images > li.id-gallery-col-4 {
        width: 25%;
    }
}

@media screen and (min-width: 992px) {
    .no-masonry.id-gallery-images > li.id-gallery-col-4,
    .id-gallery-images > li.id-gallery-col-5 {
        width: 20%;
    }
}

@media screen and (min-width: 992px) {
    .no-masonry.id-gallery-images > li.id-gallery-col-6,
    .id-gallery-images > li.id-gallery-col-6 {
        width: 16.666%;
    }
}

@media screen and (min-width: 992px) {
    .no-masonry.id-gallery-images  > li.id-gallery-col-7,
    .id-gallery-images > li.id-gallery-col-7 {
        width: 14.285%;
    }
}

@media screen and (min-width: 992px) {
    .no-masonry.id-gallery-images  > li.id-gallery-col-10,
    .id-gallery-images > li.id-gallery-col-10 {
        width: 10%;
    }
}


/*

li.id-gallery-image {
    float: left;
  width: 80px;
  height: 60px;
  border: 2px solid hsla(0, 0%, 0%, 0.5);
}

.id-gallery-image > a {
    display: block;
}

*/

.id-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;
}