jQuery(function(){var e,n,a,o=jQuery("#search-toggle"),t=jQuery("#search-box");o.on("click",function(){o.hasClass("header-search")?(o.removeClass("header-search").addClass("header-search-x"),t.addClass("show-search-box")):(o.removeClass("header-search-x").addClass("header-search"),t.removeClass("show-search-box"))}),jQuery(function(){var e=jQuery("#page div"),n=jQuery("body");e.hasClass("main-slider")&&n.addClass("sld-plus")}),(a=jQuery(".main-navigation"))&&(e=a.find(".menu-toggle"))&&((n=a.find(".menu"))&&n.children().length?jQuery(".menu-toggle").on("click",function(){jQuery(this).toggleClass("on"),a.toggleClass("toggled-on")}):e.hide()),function(){var e,n,a=jQuery(".top-bar-menu");a&&(e=a.find(".top-menu-toggle"))&&((n=a.find(".top-menu"))&&n.children().length?jQuery(".top-menu-toggle").on("click",function(){jQuery(this).toggleClass("on"),a.toggleClass("toggled-on")}):e.hide())}(),jQuery(function(){jQuery(window).width()<981&&(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")}))}),jQuery(document).ready(function(){jQuery(".show-menu-toggle, .hide-menu-toggle, .page-overlay").click(function(){jQuery(".side-menu").fadeToggle("slow"),jQuery(".side-menu").addClass("show"),jQuery(".page-overlay").toggleClass("side-menu-open"),jQuery("#page").addClass("side-content-open")}),jQuery(".hide-menu-toggle, .page-overlay").click(function(){jQuery(".side-menu").removeClass("show"),jQuery(".page-overlay").removeClass("side-menu-open"),jQuery("#page").removeClass("side-content-open")})});var i=jQuery(".top-bar .cart-box .sx-cart-views, .top-bar .cart-box .widget_shopping_cart .widget_shopping_cart_content .cart_list .mini_cart_item, .top-bar .cart-box .widget_shopping_cart .widget_shopping_cart_content p").children("a");i.on("focus",function(){jQuery(this).parents(".top-bar .cart-box").addClass("focus")}),i.on("focusout",function(){jQuery(this).parents(".top-bar .cart-box").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})})});