jQuery(window).load(function(){window.setInterval(function(){jQuery(".top-header").show()},10)}),jQuery(function(){jQuery(document).ready(function(){function e(){windowHeight=jQuery(window).innerHeight(),jQuery(".image-slider").css("height",windowHeight)}e(),jQuery(window).resize(function(){e()})});var e,n,i,t=jQuery("#page div"),a=jQuery("body");t.hasClass("main-slider")&&a.addClass("sld-plus"),jQuery(function(){var e=jQuery("#search-toggle"),n=jQuery("#search-box");jQuery("#search-toggle").on("click",function(){"search-toggle"==jQuery(this).attr("id")&&(n.is(":visible")?e.removeClass("header-search-x").addClass("header-search"):e.removeClass("header-search").addClass("header-search-x"),n.slideToggle(300,function(){}))})}),(i=jQuery(".main-navigation"))&&(e=i.find(".menu-toggle"))&&((n=i.find(".menu"))&&n.children().length?jQuery(".menu-toggle").on("click",function(){jQuery(this).toggleClass("on"),i.toggleClass("toggled-on")}):e.hide()),jQuery(function(){jQuery(window).width()<768&&(jQuery("#site-navigation .menu-item-has-children, #site-navigation .page_item_has_children").prepend('<button class="sub-menu-toggle"> <i class="fa fa-plus"></i> </button>'),jQuery(".main-navigation .menu-item-has-children ul, .main-navigation .page_item_has_children ul").hide(),jQuery(".main-navigation .menu-item-has-children > .sub-menu-toggle, .main-navigation .page_item_has_children > .sub-menu-toggle").on("click",function(){jQuery(this).parent(".main-navigation .menu-item-has-children, .main-navigation .page_item_has_children").children("ul").first().slideToggle(),jQuery(this).children(".fa-plus").first().toggleClass("fa-minus")}))});var o=jQuery(".post-container .post-featured-image, #post_masonry .has-post-thumbnail .entry-title, #post_masonry .has-post-thumbnail .entry-header .entry-meta span").children("a");o.on("focus",function(){jQuery(this).parents(".post-column").addClass("focus")}),o.on("focusout",function(){jQuery(this).parents(".post-column").removeClass("focus")}),jQuery(document).ready(function(){jQuery(".go-to-top").hide(),jQuery(window).scroll(function(){jQuery(window).scrollTop()>900?jQuery(".go-to-top").fadeIn():jQuery(".go-to-top").fadeOut()}),jQuery(".go-to-top").click(function(){return jQuery("html,header,body").animate({scrollTop:0},700),!1})})});