/*----------------------------
        Global Styles
----------------------------*/

/*------INSTAGRAM SECTION------*/

#heading-follow .elementor-widget-heading {
    margin-bottom:0;
}

#sb_instagram:after {
    content:none;
}
    
#sbi_images .sbi_item a.sbi_photo {
    /* height:20vw !important; */
    opacity:1 !important;
}

a.sbi_photo:after {
    content:'';
    height:100%;
    width:100%;
    background:#202247;
    opacity:0;
    position:relative;
    display:block;
    z-index:99;
}

a.sbi_photo:before {
    content:"\f16d";
    color:#fafafa;
    display:block;
    position:absolute;
    font-family:"Font Awesome 5 Brands";
    top:calc((100% - 25px) / 2);
    left:calc((100% - 25px) / 2);
    font-size:30px;
    opacity:0;
    z-index:999;
}

.sbi_item:hover a.sbi_photo:after {
    opacity:0.55;
}

.sbi_item:hover a.sbi_photo:before {
    opacity:1;
}

.sbi_follow_btn {
    display:none !important;
}

/*-----------------------------------------
TABLETS 1024px (iPad) and all widths below this
-----------------------------------------*/
@media only screen and (max-width: 1024px) {
    
    /*------INSTAGRAM SECTION-------*/
    
    /* #sb_instagram.sbi_col_5 #sbi_images .sbi_item {
        width:25%;
    }
    
    #sbi_images .sbi_item a.sbi_photo {
        height:25vw !important;
    } */
    
}

/*-----------------------------------------
TABLETS 800px (iPad) and all widths below this
-----------------------------------------*/
@media only screen and (max-width: 800px) {
    
    /*------INSTAGRAM SECTION-------*/
    
    #sb_instagram.sbi_col_5 #sbi_images .sbi_item:nth-child(+n+9) {
        display:none;
    }
    
}

/*-----------------------------------------
MOBILES 767 (iPad) and all widths below this
-----------------------------------------*/
@media only screen and (max-width: 767px) {
	
	/*------INSTAGRAM SECTION-------*/
    
    #sb_instagram.sbi_col_5 #sbi_images .sbi_item {
        /* width:33.333%; */
    }
    
    #sbi_images .sbi_item a.sbi_photo {
        /* height:33.333vw !important; */
    }
    
}

/*-----------------------------------------
MOBILES 480px (iPhone) and all widths below this
-----------------------------------------*/
@media only screen and (max-width: 480px) {

    #sb_instagram.sbi_col_5 #sbi_images .sbi_item:nth-child(+n+9) {
        display:inline-block;
    }
    
    #sb_instagram.sbi_col_5 #sbi_images .sbi_item:nth-child(+n+10) {
        display:none;
    }

}