jQuery(document).ready(function(){var e=jQuery("#top-search label");e.hide(),jQuery("#search-btn, #mobile-search-btn").on("click",function(){e.slideDown(),jQuery("body").css("overflow","hidden").prepend("<div id='body_disable'></div>"),e.find('input[type="text"]').focus()});var i=jQuery(".cancel_search");i.on("click",function(){e.slideUp(),jQuery("body").css("overflow","visible").find("#body_disable").hide(),jQuery("#search-btn, #mobile-search-btn").focus()}),jQuery("#go-to-field").on("focus",function(){jQuery(this).siblings('input[type="text"]').focus()}),jQuery("#go-to-close").on("focus",function(){jQuery(this).siblings("button.cancel_search").focus()}),jQuery(".panel_hide_button").hide(),jQuery(".menu-link").bigSlide({easyClose:!0,width:"25em",side:"right",afterOpen:function(){jQuery("#close-menu").focus()},afterClose:function(){jQuery("#mobile-nav-btn").focus()}}),jQuery(".go-to-top").on("focus",function(){jQuery("#close-menu").focus()}),jQuery(".go-to-bottom").on("focus",function(){jQuery("ul#mobile-menu > li:last-child > a").focus()});var o=jQuery(".panel li.menu-item-has-children"),r=jQuery(".panel li.menu-item-has-children span");o.children("ul").hide(),r.on({click:function(e){jQuery(this).siblings("ul").slideToggle().toggleClass("expanded"),e.stopPropagation()},keydown:function(e){(32==e.keyCode||13==e.keyCode)&&(e.preventDefault(),jQuery(this).siblings("ul").slideToggle().toggleClass("expanded"),e.stopPropagation())}}),jQuery(".posts-slider .slider").bxSlider({wrapperClass:"post-slider-wrapper",mode:"horizontal",speed:5e3,auto:!0,controls:!1,pager:!1}),jQuery(".ticker-wrapper").bxSlider({ticker:!0,tickerHover:!0,pager:!1,speed:3e4,wrapperClass:"ticker-wrapper"}),jQuery("figure.gallery-item a").simpleLightbox({widthRatio:.7,heightRatio:.8}),""!==diviner_params.sidebar_sticky&&jQuery("#secondary").stickySidebar({topSpacing:20,bottomSpacing:20,containerSelector:"#content-wrapper .row"});var n=jQuery.fn.stickySidebar.noConflict();jQuery.fn.stickySidebar=n});