/*! blossom-pin 2020-11-27 2:54:06 PM */ jQuery(document).ready(function(o){"1"==blossom_pin_data.rtl?rtl=!0:rtl=!1,o(".banner-slider").owlCarousel({loop:!0,autoplay:!0,margin:8,nav:!0,dots:!1,lazyload:!0,rtl:rtl,navText:[' ',' '],responsive:{0:{items:1,margin:0},600:{items:2},768:{items:3},1200:{items:4},1400:{items:5}}});var e,t,n=o(".blog:not(.no-post) #primary .site-main");if(n.imagesLoaded(function(){n.masonry({itemSelector:".blog #primary .post"})}),o(window).on("load resize",function(){e=o(window).width(),t=o(".site-header").outerHeight(),o(".site-header .tools .search-icon").click(function(){o(".search-form-holder").css("top",t)}),o(".mobile-site-header .tools .search-icon").click(function(){var e=o(".mobile-site-header").outerHeight();o(".search-form-holder").css("top",e)}),o(".tools .header-search .search-toggle").each(function(){var e=o(this).offset().top,t=o(this).offset().left;o(".tools .search-form-holder .search-icon").css({top:e,left:t})})}),1024t?o(".single .single-header").addClass("show"):o(".single .single-header").removeClass("show")}),"1"==blossom_pin_data.single){var i=o(".recommended-post").innerHeight()+o(".comment-section").innerHeight()+o(".instagram-section").innerHeight()+o(".newsletter-section").innerHeight()+o(".site-footer").innerHeight();window.onscroll=function(){var e=(document.body.scrollTop||document.documentElement.scrollTop)/(document.documentElement.scrollHeight-document.documentElement.clientHeight-parseInt(i))*100;document.getElementById("myBar").style.width=e+"%"}}o("#mobile-site-navigation ul li.menu-item-has-children").find("> a").after(''),o("#mobile-site-navigation ul li .arrow-holder").click(function(){o(this).next().slideToggle(),o(this).toggleClass("active")}),o("#toggle-button").click(function(){o(".mobile-menu-wrap").animate({width:"toggle"})}),o(".btn-close-menu").click(function(){o(".mobile-menu-wrap").animate({width:"toggle"})}),o(".mobile-menu-wrap .social-networks").insertAfter(".mobile-menu-wrap .mobile-menu .main-menu-modal > li:last-child"),o(".main-navigation ul li a, .main-navigation ul li button").focus(function(){o(this).parents("li").addClass("focused")}).blur(function(){o(this).parents("li").removeClass("focused")}),o(window).scroll(function(){300