
/*------------------- Instagram Feed  -------------------*/
.site-footer-wrap #sb_instagram {
    margin-left: -10px;
}

@media (min-width: 1200px) {
    #sb_instagram .sbi_photo {
        height: 70px !important;
    }
}

@media (max-width: 640px) {
    #sb_instagram.sbi_col_10 #sbi_images .sbi_item,
    #sb_instagram.sbi_col_3 #sbi_images .sbi_item,
    #sb_instagram.sbi_col_4 #sbi_images .sbi_item,
    #sb_instagram.sbi_col_5 #sbi_images .sbi_item,
    #sb_instagram.sbi_col_6 #sbi_images .sbi_item,
    #sb_instagram.sbi_col_7 #sbi_images .sbi_item,
    #sb_instagram.sbi_col_8 #sbi_images .sbi_item,
    #sb_instagram.sbi_col_9 #sbi_images .sbi_item {
        width: 33.33%;
    }
}

#sb_instagram #sbi_images .sbi_item .sbi_photo_wrap::before,
#sb_instagram #sbi_images .sbi_item .sbi_photo_wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    overflow: hidden;
    pointer-events: none;
    transform: translate(-50%,
    -50%);
    transition: all 0.3s ease-out;
    z-index: 1;
    opacity: 0;
}

#sb_instagram #sbi_images .sbi_item .sbi_photo_wrap::before {
    background: rgba(var(--rt-primary-rgb), 0.6);
    height: 0;
    width: 0;
}

#sb_instagram #sbi_images .sbi_item .sbi_photo_wrap::after {
    content: "\f16d";
    width: 100%;
    height: 100%;
    font-family: "Font Awesome 5 Brands";
    font-size: 20px;
    font-weight: normal;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    top: 100%;
}

#sb_instagram #sbi_images .sbi_item:hover .sbi_photo_wrap::before {
    width: 100%;
    height: 100%;
    opacity: 1;
}

#sb_instagram #sbi_images .sbi_item:hover .sbi_photo_wrap::after {
    opacity: 1;
    transition-delay: 0.1s;
    top: 50%;
}