(function($){$(function(){if(typeof $.fn.magnificPopup!=='undefined'){$('.fl-node-vt95bzh48oi1 .fl-mosaicflow-content, .fl-node-vt95bzh48oi1 .fl-gallery').magnificPopup({delegate:'.fl-photo-content > a',closeBtnInside:false,type:'image',gallery:{enabled:true,navigateByImgClick:true,},'image':{titleSrc:function(item){}},callbacks:{open:function(){if(this.items.length>0){var parent,item,newIndex=0,newItems=[],currItem=this.currItem,newCurrItemIndex=-1;$(this.items).each(function(i,data){item=$(this);if('undefined'!==typeof this.el){item=this.el;} parent=item.parents('.fl-mosaicflow-item');newIndex=$(parent).attr('id').split('-').pop();newIndex=newIndex>0?newIndex-1:0;newItems[newIndex]=this;if(currItem.src===this.src){newCurrItemIndex=newIndex;}});this.items=newItems;if(newCurrItemIndex>=0){this.goTo(newCurrItemIndex);}}}}});} $('.fl-node-vt95bzh48oi1 .fl-mosaicflow-content').one('mosaicflow-filled',function(){var hash=window.location.hash.replace('#','');if(hash!=''){FLBuilderLayout._scrollToElement($('#'+hash));} if('undefined'!=typeof Waypoint){Waypoint.refreshAll();}}).mosaicflow({itemSelector:'.fl-mosaicflow-item',columnClass:'fl-mosaicflow-col',minItemWidth:300});});window._fl_string_to_slug_regex='a-zA-Z0-9';jQuery(document).ready(function(){setTimeout(function(){jQuery('.fl-node-vt95bzh48oi1 .fl-mosaicflow-content').trigger('resize');},50);});})(jQuery);