/* JU INSTAGRAM FEED
---------------------------------------------------------------------------- */

.ig-images-container {
    /*width: 100%;*/
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-evenly; */   
    /*padding-left: 0.5em;
    padding-right: 0.5em;*/
    margin-left: -0.5em;
    margin-right: -0.5em;
    /*box-sizing: border-box;*/
    flex-direction: column;
}

.ig-image-wrapper {
    /*display: block;
    overflow: hidden;
    position: relative;
    width: calc(99%/4);
    margin-bottom: 5px;*/
    display: flex;
    overflow: hidden;
    position: relative;
    width: calc((100%-1em)/1);
    /*max-height: 340px;
    max-width: 340px;*/
    margin-bottom: 1em;
    padding-right: 0.5em;
    padding-left: 0.5em;
    box-sizing: border-box;
}

.ig-image-wrapper img {
    /*max-height: 340px;
    max-width: 340px;*/
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.ig-image-wrapper p {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    margin: 0;
    padding: 8px;
    color: white;
    font-size: 12px;
    line-height: normal;
    -webkit-font-smoothing: antialiased;
}

.ig-image-wrapper p {
    display: none;
}

.ig-image-wrapper:hover .ig-caption {
    display: block;
}

/* Small devices (phones, 576px and up) */
@media (min-width: 576px) { 
    .ig-images-container {
        flex-direction: row;
    }

    .ig-image-wrapper {
        width: calc((100%-1em)/2);
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
    .ig-image-wrapper {
        width: calc((100%-1em)/4);
    }
}
