jQuery(document).ready(function(){if(jQuery("body.page-template-full-page").length){var a=jQuery("body.page-template-full-page .entry-content").children().attr("id");jQuery("#"+a).fullpage({sectionSelector:".fullpage-inner-wrapper",navigation:!0,hybrid:!0,scrollBar:!0,fitToSection:!1,afterLoad:function(a,b){b===jQuery(".fullpage-wrapper .fullpage-inner-wrapper").length?jQuery(".footer-full-page").addClass("footer-full-page--show"):jQuery(".footer-full-page").removeClass("footer-full-page--show")}})}if(jQuery(".main-navigation .menu-toggle").on("click",function(){jQuery(".main-navigation .menu").slideToggle("slow"),jQuery(this).find(".fa").toggleClass("fa-close fa-bars")}),jQuery(".main-navigation .menu-item-has-children").append(' '),jQuery(window).width()<=980&&jQuery(".main-navigation .sub-toggle").on("click",function(){var a=jQuery(this).children(".fa"),b=jQuery(this).parent("li"),c=b.siblings(".menu-item-has-children"),d=c.find(".fa");a.toggleClass("animate-icon"),d.hasClass("animate-icon")&&d.removeClass("animate-icon"),c.not(b).removeClass("mobile-menu--slided").children("ul").slideUp("1000"),b.toggleClass("mobile-menu--slided").children("ul").slideToggle("1000")}),jQuery(".search-wrap .search-icon").on("click",function(){jQuery(".search-wrap .search-box").toggleClass("active")}),"undefined"!=typeof jQuery.fn.counterUp&&jQuery(".counter").counterUp({delay:10,time:1e3}),"function"==typeof WOW&&(new WOW).init(),jQuery("#scroll-up").hide(),jQuery(function(){jQuery(window).scroll(function(){jQuery(this).scrollTop()>1e3?jQuery("#scroll-up").fadeIn():jQuery("#scroll-up").fadeOut()}),jQuery("a#scroll-up").click(function(){return jQuery("body,html").animate({scrollTop:0},800),!1})}),jQuery("a#footer-scroll-up").click(function(){return jQuery("body,html").animate({scrollTop:0},800),!1}),jQuery(window).load(function(){var a=jQuery("#masthead-sticky-wrapper").height()-1;jQuery("#site-navigation").onePageNav({currentClass:"current-flash-item",changeHash:!1,scrollSpeed:1500,scrollOffset:a,scrollThreshold:.5,filter:"",easing:"swing"})}),"undefined"!=typeof jQuery.fn.sticky&&!jQuery(".disable-mobile-sticky .menu-toggle").is(":visible")){var b=jQuery("#wpadminbar"),c=0;b.length&&(c=b.height()),jQuery("body").hasClass("header-top-bar-non-sticky")?jQuery(".header-sticky .header-bottom").sticky({topSpacing:c}):jQuery(".header-sticky .site-header").sticky({topSpacing:c})}jQuery(window).resize(function(){var a=jQuery(window).width(),b=jQuery("#site-navigation .menu-item-has-children, #site-navigation .page_item_has_children");a>980?b.hover(function(){jQuery(this).children("ul.sub-menu, ul.children").visible("","","horizontal")||jQuery(this).children("ul.sub-menu, ul.children").addClass("sub-menu--left")},function(){jQuery(this).children("ul.sub-menu, ul.children").removeClass("sub-menu--left")}):jQuery("ul.sub-menu, ul.children").removeClass("sub-menu--left")}).resize(),jQuery("#preloader-background").length>0&&setTimeout(function(){jQuery("#preloader-background").hide()},600);var d=jQuery(".site-header"),e=d.height(),f=jQuery(window).height(),g=jQuery(".tg-slider-widget.full-screen .swiper-container");if(jQuery("body").hasClass("transparent")?g.css({height:f}):g.css({height:f-e}),"undefined"!=typeof jQuery.ui&&jQuery(".tg-tabs").each(function(){jQuery("base").remove(),jQuery(this).tabs({activate:function(a,b){jQuery(this).tabs("option","active")}})}),"undefined"!=typeof jQuery.ui&&jQuery(".tg-wc-product-tab-container").each(function(){jQuery("base").remove(),jQuery(this).tabs({activate:function(a,b){jQuery(this).tabs("option","active")}})}),jQuery("#main a#scrolldown").length>0&&jQuery("#main a#scrolldown").click(function(a){a.preventDefault();var b=jQuery(this).closest("div.panel-grid"),c=b.next().attr("id"),d=jQuery("#"+c).offset().top-jQuery("#masthead").outerHeight();return jQuery("body,html").animate({scrollTop:d},800),!1}),jQuery("#top-sidebar a#scrolldown").length>0&&jQuery("#top-sidebar a#scrolldown").click(function(a){a.preventDefault();var b=jQuery("#content").offset().top;return jQuery("body,html").animate({scrollTop:b},800),!1}),jQuery(".ft-smooth-scroll").click(function(a){a.preventDefault();var b=jQuery(this).attr("href"),c=jQuery(b).offset().top-jQuery("#masthead").outerHeight();return jQuery("body,html").animate({scrollTop:c},800),!1}),jQuery(".wishlist-wrap").length>0){var h=function(){jQuery.ajax({data:{action:"update_wishlist_count"},success:function(a){jQuery(".wishlist-wrap .wishlist-count").html(a)},url:yith_wcwl_l10n.ajax_url})};jQuery("body").on("added_to_wishlist removed_from_wishlist",h)}if(jQuery(".background-video").each(function(){var a=jQuery(this).data("video-id");jQuery(this).YTPlayer({fitToBackground:!0,videoId:a,playerVars:{rel:0,origin:window.location.href}})}),jQuery(".background-video").each(function(){var a=jQuery(this),b=a.prev(".panel-grid").children().first();b.append(a)}),jQuery(".panel-row-style").each(function(){if(jQuery(this).data("overlay-color")){jQuery(this).find(".panel-grid-cell").css("position","relative"),jQuery(this).prepend('
');var a=jQuery(this).data("overlay-color");jQuery(this).find(".overlay-row").css("background-color",a);var b=jQuery(this).data("overlay-opactity");jQuery(this).find(".overlay-row").css("opacity","0."+b)}}),jQuery(".flash-row-separator").each(function(){function a(a,d){var e="";e="top"==d?b:"bottom"==d?c:"#ffffff";var f='',g='',h='',i='',j='',k='';switch(a){case"svg1":return f;case"svg2":return g;case"svg3":return h;case"svg4":return i;case"svg5":return j;case"svg6":return k}}var b=jQuery(this).data("svg-top-color"),c=jQuery(this).data("svg-bottom-color"),d="",e="";if(jQuery(this).hasClass("flash-top-row-separator")&&(jQuery(this).hasClass("top-svg-1")?d=a("svg1","top"):jQuery(this).hasClass("top-svg-2")?d=a("svg2","top"):jQuery(this).hasClass("top-svg-3")?d=a("svg3","top"):jQuery(this).hasClass("top-svg-4")?d=a("svg4","top"):jQuery(this).hasClass("top-svg-5")?d=a("svg5","top"):jQuery(this).hasClass("top-svg-5")?d=a("svg5","top"):jQuery(this).hasClass("top-svg-6")&&(d=a("svg6","top"))),jQuery(this).hasClass("flash-bottom-row-separator")&&(jQuery(this).hasClass("bottom-svg-1")?e=a("svg1","bottom"):jQuery(this).hasClass("bottom-svg-2")?e=a("svg2","bottom"):jQuery(this).hasClass("bottom-svg-3")?e=a("svg3","bottom"):jQuery(this).hasClass("bottom-svg-4")?e=a("svg4","bottom"):jQuery(this).hasClass("bottom-svg-5")?e=a("svg5","bottom"):jQuery(this).hasClass("bottom-svg-5")?e=a("svg5","bottom"):jQuery(this).hasClass("bottom-svg-6")&&(e=a("svg6","bottom"))),""!=d){var f='