!function(a){"use strict";function b(){eltd.scroll=a(window).scrollTop(),eltd.body.hasClass("eltd-dark-header")&&(eltd.defaultHeaderStyle="eltd-dark-header"),eltd.body.hasClass("eltd-light-header")&&(eltd.defaultHeaderStyle="eltd-light-header")}function c(){}function d(){eltd.windowInnerWidth=a(window).width(),eltd.windowHeight=a(window).height()}function e(){eltd.scroll=a(window).scrollTop()}switch(window.eltd={},eltd.modules={},eltd.scroll=0,eltd.window=a(window),eltd.document=a(document),eltd.windowWidth=a(window).width(),eltd.windowInnerWidth=window.innerWidth,eltd.windowHeight=a(window).height(),eltd.body=a("body"),eltd.html=a("html, body"),eltd.htmlEl=a("html"),eltd.menuDropdownHeightSet=!1,eltd.defaultHeaderStyle="",eltd.minVideoWidth=1500,eltd.videoWidthOriginal=1280,eltd.videoHeightOriginal=720,eltd.videoRatio=1280/720,eltd.eltdOnDocumentReady=b,eltd.eltdOnWindowLoad=c,eltd.eltdOnWindowResize=d,eltd.eltdOnWindowScroll=e,a(document).ready(b),a(window).on("load",c),a(window).resize(d),a(window).scroll(e),!0){case eltd.body.hasClass("eltd-grid-1300"):eltd.boxedLayoutWidth=1350;break;case eltd.body.hasClass("eltd-grid-1200"):eltd.boxedLayoutWidth=1250;break;case eltd.body.hasClass("eltd-grid-1000"):eltd.boxedLayoutWidth=1050;break;case eltd.body.hasClass("eltd-grid-800"):eltd.boxedLayoutWidth=850;break;default:eltd.boxedLayoutWidth=1150}}(jQuery),function(a){"use strict";function b(){f(),g(),h(),j(),k(),G().init(),p(),q(),r(),i(),x(),y(),A(),E()}function c(){m(),C(),D().init(),B(),l(),n(),l()}function d(){q(),y(),l()}function e(){}function f(){Modernizr.touch&&!eltd.body.hasClass("eltd-no-animations-on-touch")&&eltd.body.addClass("eltd-no-animations-on-touch")}function g(){navigator.appVersion.toLowerCase().indexOf("mac")>-1&&eltd.body.hasClass("eltd-smooth-scroll")&&eltd.body.removeClass("eltd-smooth-scroll")}function h(){fluidvids.init({selector:["iframe"],players:["www.youtube.com","player.vimeo.com"]})}function i(){var b=a(".eltd-owl-slider");b.length&&b.each(function(){var b=a(this);b.owlCarousel({items:1,nav:!0,dots:!1,autoHeight:!0,loop:!0,smartSpeed:500,navText:['',''],onInitialized:function(){b.css("visibility","visible")}})})}function j(){a(".eltd-preload-background").each(function(){var b=a(this);if(""!==b.css("background-image")&&"none"!=b.css("background-image")){var c=b.attr("style");if(c=c.match(/url\(["']?([^'")]+)['"]?\)/),c=c?c[1]:""){var d=new Image;d.src=c,a(d).on("load",function(){b.removeClass("eltd-preload-background")})}}else a(window).on("load",function(){b.removeClass("eltd-preload-background")})})}function k(){a("a[data-rel^='prettyPhoto']").prettyPhoto({hook:"data-rel",animation_speed:"normal",slideshow:!1,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,horizontal_padding:0,default_width:960,default_height:540,counter_separator_label:"/",theme:"pp_default",hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,overlay_gallery:!1,keyboard_shortcuts:!0,deeplinking:!1,custom_markup:"",social_tools:!1,markup:'
 
Expand

{pp_social} Close
'})}function l(){if(eltd.body.hasClass("error404")){var b=a(".eltd-404-page");a(".eltd-page-header").hide(),a(".eltd-title").hide(),a(".eltd-footer-inner").hide(),b.css({height:eltd.windowHeight+"px"}),b.css({width:eltd.windowWidth+"px"}),eltd.body.hasClass("error404")&&eltd.body.css("opacity","1")}}function m(){if(a("[data-eltd_header_style]").length>0&&eltd.body.hasClass("eltd-header-style-on-scroll")){var b=a(".eltd-full-width-inner > .wpb_row.eltd-section, .eltd-full-width-inner > .eltd-parallax-section-holder, .eltd-container-inner > .wpb_row.eltd-section, .eltd-container-inner > .eltd-parallax-section-holder, .eltd-portfolio-single > .wpb_row.eltd-section"),c=function(a){void 0!==a.data("eltd_header_style")?eltd.body.removeClass("eltd-dark-header eltd-light-header").addClass(a.data("eltd_header_style")):eltd.body.removeClass("eltd-dark-header eltd-light-header").addClass(""+eltd.defaultHeaderStyle)};b.waypoint(function(b){"down"===b&&c(a(this.element))},{offset:0}),b.waypoint(function(b){"up"===b&&c(a(this.element))},{offset:function(){return-a(this.element).outerHeight()}})}}function n(){var b=a("[class*='eltd-animation']");b.length&&!a("html").hasClass("touch")&&b.each(function(){var b=a(this);b.appear(function(){var a=0;b.data("animation-delay")&&(a=b.data("animation-delay")),setTimeout(function(){b.addClass("eltd-animation-on")},a)},{accX:0,accY:eltdGlobalVars.vars.eltdElementAppearAmount})})}function o(){a(".eltd-parallax-section-holder").each(function(){var b=a(this);if(b.hasClass("eltd-full-screen-height-parallax")){var c=parseInt(a("body.eltd-paspartu-enabled .eltd-wrapper").css("padding-top"));(void 0===c||null===c||isNaN(c))&&(c=0);var d=parseInt(a("body.eltd-paspartu-enabled .eltd-wrapper").css("padding-bottom"));(void 0===d||null===d||isNaN(d))&&(d=0);var e=c+d;b.height(eltd.windowHeight-e),b.find(".eltd-parallax-content-outer").css("padding","0")}var f=.4*b.data("eltd-parallax-speed");b.parallax("50%",f)})}function p(){a(".eltd-section .eltd-video-wrap .eltd-video").mediaelementplayer({enableKeyboard:!1,iPadUseNativeControls:!1,pauseOtherPlayers:!1,iPhoneUseNativeControls:!1,AndroidUseNativeControls:!1}),navigator.userAgent.match(/(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/)&&(q(),a(".eltd-section .eltd-mobile-video-image").show(),a(".eltd-section .eltd-video-wrap").remove())}function q(){a(".eltd-section .eltd-video-wrap").each(function(){var b=a(this),c=b.closest(".eltd-section").outerWidth();b.width(c);var d=b.closest(".eltd-section").outerHeight();eltd.minVideoWidth=eltd.videoRatio*(d+20),b.height(d);var e=c/eltd.videoWidthOriginal,f=d/eltd.videoHeightOriginal,g=f;e>f&&(g=e),g*eltd.videoWidthOriginal0?c+d/2:1,z(b<1e3?"off":"on")})}function B(){var b=a("#eltd-back-to-top"),c=a("footer"),d=a(".eltd-content-bottom"),e=0;d.length&&(e=d.outerHeight()),b.on("click",function(a){a.preventDefault(),eltd.html.animate({scrollTop:0},eltd.window.scrollTop()/3,"easeInOutQuad")}),c.length&&a(window).scroll(function(){c.offset().top-a(window).scrollTop()-eltd.windowHeight-e+94<0?b.addClass("light"):b.removeClass("light")})}function C(){var b=a("body > .eltd-smooth-transition-loader.eltd-mimic-ajax");b.length&&(b.fadeOut(500),a(window).on("pageshow",function(a){a.originalEvent.persisted&&b.fadeOut(500)}),a("a").on("click",function(c){var d=a(this);1==c.which&&d.attr("href").indexOf(window.location.host)>=0&&void 0===d.data("rel")&&void 0===d.attr("rel")&&!d.hasClass("eltd-like")&&(void 0===d.attr("target")||"_self"===d.attr("target"))&&d.attr("href").split("#")[0]!==window.location.href.split("#")[0]&&(c.preventDefault(),b.addClass("eltd-hide-spinner"),b.fadeIn(500,function(){window.location=d.attr("href")}))}))}function D(){function b(){d.length&&d.each(function(){var b=a(this);if(f=b.offset().top,g=b.position().top,b.parents("aside.eltd-sidebar").length)h=b.parents("aside.eltd-sidebar").outerHeight();else if(b.parents(".wpb_widgetised_column").length){var c=b.parents(".wpb_widgetised_column");h=c.parent(".wpb_wrapper").outerHeight()}b.parents("aside.eltd-sidebar").length?i=b.parents("aside.eltd-sidebar").width():b.parents(".wpb_widgetised_column").length&&(i=b.parents(".wpb_widgetised_column").width()),j.push({object:b,offset:f,position:g,height:h,width:i})})}function c(){j.length&&a.each(j,function(b){var c=j[b].object,d=j[b].offset,f=j[b].position,g=j[b].height,h=j[b].width;if(eltd.body.hasClass("eltd-fixed-on-scroll")?(e=42,a(".eltd-fixed-wrapper").hasClass("eltd-fixed")&&(e=a(".eltd-fixed-wrapper.eltd-fixed").height())):e=a(".eltd-page-header").height(),eltd.windowWidth>1024){var i=-(f-e-10),k=g-f-65,l=0;c.parents("aside.eltd-sidebar").length?l=c.parents(".eltd-content-has-sidebar").children(".eltd-content-right-from-sidebar").length?c.parents(".eltd-content-has-sidebar").children(".eltd-content-right-from-sidebar").outerHeight():c.parents(".eltd-content-has-sidebar").children(".eltd-content-left-from-sidebar").outerHeight():c.parents(".wpb_widgetised_column").length&&(l=c.parents(".vc_row").height());var m=d-e-f-eltdGlobalVars.vars.eltdTopBarHeight+l;eltd.scroll>=d-e&&g=m?c.parents("aside.eltd-sidebar").length?c.parents("aside.eltd-sidebar.eltd-sticky-sidebar-appeared").css({position:"absolute",top:l-k+i-65-e+"px"}):c.parents(".wpb_widgetised_column").length&&c.parents(".wpb_widgetised_column.eltd-sticky-sidebar-appeared").css({position:"absolute",top:l-k+i-65-e+"px"}):c.parents("aside.eltd-sidebar").length?c.parents("aside.eltd-sidebar.eltd-sticky-sidebar-appeared").css({position:"fixed",top:i+"px"}):c.parents(".wpb_widgetised_column").length&&c.parents(".wpb_widgetised_column.eltd-sticky-sidebar-appeared").css({position:"fixed",top:i+"px"})):c.parents("aside.eltd-sidebar").length?c.parents("aside.eltd-sidebar").removeClass("eltd-sticky-sidebar-appeared").css({position:"relative",top:"0",width:"auto"}):c.parents(".wpb_widgetised_column").length&&c.parents(".wpb_widgetised_column").removeClass("eltd-sticky-sidebar-appeared").css({position:"relative",top:"0",width:"auto"})}else c.parents("aside.eltd-sidebar").length?c.parents("aside.eltd-sidebar").removeClass("eltd-sticky-sidebar-appeared").css({position:"relative",top:"0",width:"auto"}):c.parents(".wpb_widgetised_column").length&&c.parents(".wpb_widgetised_column").removeClass("eltd-sticky-sidebar-appeared").css({position:"relative",top:"0",width:"auto"})})}var d=a(".eltd-widget-sticky-sidebar"),e=0,f=0,g=0,h=0,i=0,j=[];return{init:function(){b(),c(),a(window).scroll(function(){c()})}}}function E(){var a=/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor),b=/Safari/.test(navigator.userAgent)&&/Apple Computer/.test(navigator.vendor),c=window.navigator.userAgent.indexOf("MSIE ");a&&eltd.body.addClass("eltd-chrome"),b&&eltd.body.addClass("eltd-safari"),(c>0||navigator.userAgent.match(/Trident.*rv\:11\./))&&eltd.body.addClass("eltd-ms-explorer-9-10")}var F={};eltd.modules.common=F,F.eltdIsTouchDevice=f,F.eltdDisableSmoothScrollForMac=g,F.eltdFluidVideo=h,F.eltdPreloadBackgrounds=j,F.eltdPrettyPhoto=k,F.eltdCheckHeaderStyleOnScroll=m,F.eltdInitParallax=o,F.eltdEnableScroll=t,F.eltdDisableScroll=s,F.eltdWheel=u,F.eltdKeydown=v,F.eltdPreventDefaultValue=w,F.eltdOwlSlider=i,F.eltdInitSelfHostedVideoPlayer=x,F.eltdSelfHostedVideoSize=y,F.eltdInitBackToTop=B,F.eltdBackButtonShowHide=A,F.eltdSmoothTransition=C,F.eltdInitStickySidebarWidget=D,F.eltdBrowserDetection=E,F.eltdOnDocumentReady=b,F.eltdOnWindowLoad=c,F.eltdOnWindowResize=d,F.eltdOnWindowScroll=e,F.eltdEnable404FullScreen=l,a(document).ready(b),a(window).on("load",c),a(window).resize(d),a(window).scroll(e);var G=eltd.modules.common.eltdInitAnchor=function(){var b=function(b){a(".eltd-main-menu .eltd-active-item, .eltd-mobile-nav .eltd-active-item, .eltd-vertical-menu .eltd-active-item, .eltd-fullscreen-menu .eltd-active-item").removeClass("eltd-active-item"),b.parent().addClass("eltd-active-item"),a(".eltd-main-menu a, .eltd-mobile-nav a, .eltd-vertical-menu a, .eltd-fullscreen-menu a").removeClass("current"),b.addClass("current")},c=function(){a("[data-eltd-anchor]").waypoint(function(c){"down"===c&&b(a("a[href='"+window.location.href.split("#")[0]+"#"+a(this.element).data("eltd-anchor")+"']"))},{offset:"50%"}),a("[data-eltd-anchor]").waypoint(function(c){"up"===c&&b(a("a[href='"+window.location.href.split("#")[0]+"#"+a(this.element).data("eltd-anchor")+"']"))},{offset:function(){return-(a(this.element).outerHeight()-150)}})},d=function(){var b=window.location.hash.split("#")[1];""!==b&&a('[data-eltd-anchor="'+b+'"]').length>0&&a("a[href='"+window.location.href.split("#")[0]+"#"+b).trigger("click")},e=function(a){return"eltd-sticky-header-on-scroll-down-up"==eltd.modules.header.behaviour&&(a>eltd.modules.header.stickyAppearAmount?eltd.modules.header.isStickyVisible=!0:eltd.modules.header.isStickyVisible=!1),"eltd-sticky-header-on-scroll-up"==eltd.modules.header.behaviour&&a>eltd.scroll&&(eltd.modules.header.isStickyVisible=!1),eltd.modules.header.isStickyVisible?eltdGlobalVars.vars.eltdStickyHeaderTransparencyHeight:eltdPerPageVars.vars.eltdHeaderTransparencyHeight},f=function(){eltd.document.on("click",".eltd-main-menu a, .eltd-vertical-menu a, .eltd-fullscreen-menu a, .eltd-btn, .eltd-anchor, .eltd-mobile-nav a",function(){var c,d=a(this),f=d.prop("hash").split("#")[1];if(""!==f&&a('[data-eltd-anchor="'+f+'"]').length>0){var g=a('[data-eltd-anchor="'+f+'"]').offset().top;return c=a('[data-eltd-anchor="'+f+'"]').offset().top-e(g),b(d),eltd.html.stop().animate({scrollTop:Math.round(c)},1e3,function(){history.pushState&&history.pushState(null,null,"#"+f)}),!1}})};return{init:function(){a("[data-eltd-anchor]").length&&(f(),c(),a(window).on("load",function(){d()}))}}}}(jQuery),function(a){"use strict";function b(){h()}function c(){g()}function d(){}function e(){}function f(b,c,d){function e(a,c){b[a]=void 0!==b[a]?b[a]:c}c=void 0!==c?c:".eltd-content",d=void 0!==d?d:".eltd-content",b=void 0!==b?b:{},e("url",window.location.href),e("type","POST"),e("success",function(e){var f=a(e),g=f.find(".eltd-meta");g.length&&m(g);var h=f.find(d);if(!h.length)return q=!0,!1;n(b.url,h,c)}),e("ajaxReq","yes"),a.ajax({url:b.url,type:b.type,data:{ajaxReq:b.ajaxReq},success:b.success})}function g(){null!==p.loader&&p.loader.length&&(p.loader.fadeOut(p.loaderTime),a(window).on("pageshow",function(a){a.originalEvent.persisted&&p.loader.fadeOut(p.loaderTime)}))}function h(){if(eltd.body.removeClass("page-not-loaded"),p.loader=a("body > .eltd-smooth-transition-loader.eltd-ajax"),p.loader.length){if(eltd.body.hasClass("woocommerce")||eltd.body.hasClass("woocommerce-page"))return!1;i(),a(document).on("click",'a[target!="_blank"]:not(.no-ajax):not(.no-link)',function(b){var c=a(this);if(1==b.ctrlKey)return window.open(c.attr("href"),"_blank"),!1;if(c.parents(".eltd-ptf-load-more").length)return!1;if(c.parents(".eltd-blog-load-more-button").length)return!1;if(c.parents("eltd-post-info-comments").length){var d=c.attr("href").split("#")[1];return a("html, body").scrollTop(a("#"+d).offset().top),!1}if(window.location.href.split("#")[0]==c.attr("href").split("#")[0])return!1;if(0===c.closest(".eltd-no-animation").length){if(document.location.href.indexOf("?s=")>=0)return!0;if(c.attr("href").indexOf("wp-admin")>=0)return!0;if(c.attr("href").indexOf("wp-content")>=0)return!0;if(-1!==jQuery.inArray(c.attr("href").split("#")[0],eltdGlobalVars.vars.no_ajax_pages))return document.location.href=c.attr("href"),!1;if("http://#"===c.attr("href")||"#"===c.attr("href"))return!1;if(0===c.attr("href").indexOf(window.location.protocol+"//"+window.location.host)){if(!q)return!1;b.preventDefault(),b.stopImmediatePropagation(),b.stopPropagation(),c.is(".current")||j(c)}}})}}function i(){window.history.pushState&&a(window).on("popstate",function(){var a=location.href;!r&&q&&(q=!1,f({url:a}))})}function j(a){q=!1,p.loader.fadeIn(p.loaderTime),f({url:a.attr("href")})}function k(b){var c=a("nav a[href='"+b+"'], .widget_nav_menu a[href='"+b+"']");a(".eltd-main-menu a, .eltd-mobile-nav a, .eltd-mobile-nav h4, .eltd-vertical-menu a, .popup_menu a, .widget_nav_menu a").removeClass("current").parent().removeClass("eltd-active-item"),a(".widget_nav_menu ul.menu > li").removeClass("current-menu-item"),c.each(function(){var b=a(this);0===b.closest(".second").length?b.parent().addClass("eltd-active-item"):b.closest(".second").parent().addClass("eltd-active-item"),b.closest(".eltd-mobile-nav").length>0&&(b.closest(".level0").addClass("eltd-active-item"),b.closest(".level1").addClass("eltd-active-item"),b.closest(".level2").addClass("eltd-active-item")),b.closest(".widget_nav_menu").length>0&&b.closest(".widget_nav_menu").find(".menu-item").addClass("current-menu-item"),b.addClass("current")})}function l(b){a(document).off(),a(window).off(),eltd.body.off().find("*").off(),eltd.eltdOnDocumentReady(),eltd.eltdOnWindowLoad(),a(window).resize(eltd.eltdOnWindowResize),a(window).scroll(eltd.eltdOnWindowScroll);var c=["common","ajax","header","title","woocommerce","portfolio","blog","like","shortcodes"],d=[];void 0!==b&&b.length?c.forEach(function(a){-1===b.indexOf(a)&&d.push(a)},this):d=c;for(var e=0;e').prependTo(a("head")),a('head meta[name="keywords"]').length?a('head meta[name="keywords"]').attr("content",f):void 0!==f&&a('').prependTo(a("head")),document.title=c;var g=b.find(".eltd-body-classes").text(),h=g.split(",");eltd.body.removeClass();for(var i=0;i0){var j=b.find("#eltd-page-id").text(),k=a("#wp-admin-bar-edit a").attr("href"),l=k.replace(/(post=).*?(&)/,"$1"+j+"$2");a("#wp-admin-bar-edit a").attr("href",l)}}function n(b,c,d){d=void 0!==d?d:".eltd-content";var e=eltd.body.find(d);c.height(e.height()).css({position:"absolute",opacity:0,overflow:"hidden"}).insertBefore(e),c.waitForImages(function(){-1!==b.indexOf("#")&&a('').appendTo("body"),l(),"fade"==p.type&&(e.stop().fadeTo(p.time,0,function(){e.remove(),window.history.pushState?(b!==window.location.href&&window.history.pushState({path:b},"",b),"undefined"!=typeof _gaq&&_gaq.push(["_trackPageview",b])):document.location.href=window.location.protocol+"//"+window.location.host+"#"+b.split(window.location.protocol+"//"+window.location.host)[1],k(b),eltd.body.animate({scrollTop:0},p.time,"swing")}),setTimeout(function(){c.css("position","relative").height("").stop().fadeTo(p.time,1,function(){q=!0,r=!1,p.loader.fadeOut(p.loaderTime,function(){var b=a(".eltd-temp-anchor");b.length&&b.trigger("click").remove()})})},!p.simultaneous*p.time))})}var o={};eltd.modules.ajax=o;var p={};o.animation=p,o.eltdFetchPage=f,o.eltdInitAjax=h,o.eltdHandleLinkClick=j,o.eltdInsertFetchedContent=n,o.eltdInitBackBehavior=i,o.eltdSetActiveState=k,o.eltdReinitiateAll=l,o.eltdHandleMeta=m,o.eltdOnDocumentReady=b,o.eltdOnWindowLoad=c,o.eltdOnWindowResize=d,o.eltdOnWindowScroll=e,a(document).ready(b),a(window).on("load",c),a(window).resize(d),a(window).scroll(e);var q=!0,r=!0;p.type=null,p.time=500,p.simultaneous=!0,p.loader=null,p.loaderTime=500}(jQuery),function(a){"use strict";function b(){h(),i(),j(),k(),l(),m(),n(),o(),p(),s().init(),f(),g(),q()}function c(){n()}function d(){o()}function e(){}function f(){var b=a(".eltd-disable-fullscreen-menu-opener .eltd-position-right-inner .widget_eltd_full_screen_menu_opener");void 0!==b&&b.remove()}function g(){var b=a(".eltd-disable-sidemenu-area-opener .eltd-position-right-inner .widget_eltd_side_area_opener");void 0!==b&&b.remove()}function h(){var b,c=a(".eltd-page-header"),d=a(".eltd-sticky-header"),e=a(".eltd-fixed-wrapper"),f=a(".eltd-page-header").find(".eltd-fixed-wrapper").length?a(".eltd-page-header").find(".eltd-fixed-wrapper").offset().top:null;switch(!0){case eltd.body.hasClass("eltd-sticky-header-on-scroll-up"):eltd.modules.header.behaviour="eltd-sticky-header-on-scroll-up";var g=a(document).scrollTop();b=eltdGlobalVars.vars.eltdTopBarHeight+eltdGlobalVars.vars.eltdLogoAreaHeight+eltdGlobalVars.vars.eltdMenuAreaHeight+eltdGlobalVars.vars.eltdStickyHeaderHeight;var h=function(){var c=a(document).scrollTop();c>g&&c>b||c'),f=!0):eltd.body.hasClass("eltd-side-menu-slide-with-content")?(b="eltd-side-menu-open",g=!0):eltd.body.hasClass("eltd-side-area-uncovered-from-content")&&(b="eltd-right-side-menu-opened",h=!0),a("a.eltd-side-menu-button-opener, a.eltd-close-side-menu").on("click",function(i){if(i.preventDefault(),e.hasClass("opened")){if(e.removeClass("opened"),eltd.body.removeClass(b),h)var j=setTimeout(function(){d.css({visibility:"hidden"}),clearTimeout(j)},400)}else{e.addClass("opened"),eltd.body.addClass(b),f&&a(".eltd-wrapper .eltd-cover").on("click",function(){eltd.body.removeClass("eltd-right-side-menu-opened"),e.removeClass("opened")}),h&&d.css({visibility:"visible"});var k=a(window).scrollTop();a(window).scroll(function(){if(Math.abs(eltd.scroll-k)>400&&(eltd.body.removeClass(b),e.removeClass("opened"),h))var a=setTimeout(function(){d.css({visibility:"hidden"}),clearTimeout(a)},400)})}g&&(i.stopPropagation(),c.on("click",function(){i.preventDefault(),e.removeClass("opened"),eltd.body.removeClass("eltd-side-menu-open")}))})}function j(){var b=a(".eltd-side-menu");b.length&&b.niceScroll({scrollspeed:60,mousescrollstep:40,cursorwidth:0,cursorborder:0,cursorborderradius:0,cursorcolor:"transparent",autohidemode:!1,horizrailenabled:!1})}function k(){if(a("a.eltd-fullscreen-menu-opener").length){var b,c=a("a.eltd-fullscreen-menu-opener"),d=a(".eltd-fullscreen-menu-holder-outer"),e=!1,f=!1,g=a(".eltd-fullscreen-above-menu-widget-holder"),h=a(".eltd-fullscreen-below-menu-widget-holder"),i=a(".eltd-fullscreen-menu-holder-outer nav > ul > li > a"),j=a(".eltd-fullscreen-menu > ul li.has_sub > a"),k=a(".eltd-fullscreen-menu ul li:not(.has_sub) a");d.height(eltd.windowHeight).niceScroll({scrollspeed:30,mousescrollstep:20,cursorwidth:0,cursorborder:0,cursorborderradius:0,cursorcolor:"transparent",autohidemode:!1,horizrailenabled:!1}),a(window).resize(function(){d.height(eltd.windowHeight)}),eltd.body.hasClass("eltd-fade-push-text-right")?(b="eltd-push-nav-right",e=!0):eltd.body.hasClass("eltd-fade-push-text-top")&&(b="eltd-push-text-top",f=!0),(e||f)&&(g.length&&g.children().css({"-webkit-animation-delay":"0ms","-moz-animation-delay":"0ms","animation-delay":"0ms"}),i.each(function(b){a(this).css({"-webkit-animation-delay":70*(b+1)+"ms","-moz-animation-delay":70*(b+1)+"ms","animation-delay":70*(b+1)+"ms"})}),h.length&&h.children().css({"-webkit-animation-delay":70*(i.length+1)+"ms","-moz-animation-delay":70*(i.length+1)+"ms","animation-delay":70*(i.length+1)+"ms"})),c.on("click",function(d){function e(){c.removeClass("opened"),eltd.body.removeClass("eltd-fullscreen-menu-opened"),eltd.body.removeClass("eltd-fullscreen-fade-in").addClass("eltd-fullscreen-fade-out"),eltd.body.addClass(b),eltd.body.hasClass("page-template-full_screen-php")||eltd.modules.common.eltdEnableScroll(),a("nav.eltd-fullscreen-menu ul.sub_menu").slideUp(200,function(){a("nav.popup_menu").getNiceScroll().resize()})}if(d.preventDefault(),c.hasClass("opened"))e();else{var f=!1;!function(){c.addClass("opened"),eltd.body.addClass("eltd-fullscreen-menu-opened"),eltd.body.removeClass("eltd-fullscreen-fade-out").addClass("eltd-fullscreen-fade-in"),eltd.body.removeClass(b),eltd.body.hasClass("page-template-full_screen-php")||eltd.modules.common.eltdDisableScroll()}(),a(document).keyup(function(a){27==a.keyCode&&e()}),a(".eltd-fullscreen-menu ul").mouseenter(function(){f=!0}),a(".eltd-fullscreen-menu ul").mouseleave(function(){f=!1}),a(".eltd-fullscreen-menu-holder-outer").on("click",function(){f||e()})}}),j.on("tap click",function(b){if(b.preventDefault(),a(this).parent().hasClass("has_sub")){var c=a(this).parent().find("> ul.sub_menu");c.is(":visible")?(c.slideUp(200,function(){d.getNiceScroll().resize()}),a(this).parent().removeClass("open_sub")):(j.parent().find("> ul.sub_menu").removeClass("open_sub").slideUp(200,function(){d.getNiceScroll().resize()}),a(this).parent().addClass("open_sub"),c.slideDown(200,function(){d.getNiceScroll().resize()}))}return!1}),k.on("click",function(d){if("http://#"===a(this).attr("href")||"#"===a(this).attr("href"))return!1;1==d.which&&(c.removeClass("opened"),eltd.body.removeClass("eltd-fullscreen-menu-opened"),eltd.body.removeClass("eltd-fullscreen-fade-in").addClass("eltd-fullscreen-fade-out"),eltd.body.addClass(b),a("nav.eltd-fullscreen-menu ul.sub_menu").slideUp(200,function(){a("nav.popup_menu").getNiceScroll().resize()}),eltd.modules.common.eltdEnableScroll())})}}function l(){var b=a(".eltd-mobile-header .eltd-mobile-menu-opener"),c=a(".eltd-mobile-header .eltd-mobile-nav"),d=a('.eltd-mobile-nav .mobile_arrow, .eltd-mobile-nav h4, .eltd-mobile-nav a[href*="#"]');b.length&&c.length&&b.on("tap click",function(a){a.stopPropagation(),a.preventDefault(),c.is(":visible")?c.slideUp(200):c.slideDown(200)}),d.length&&d.each(function(){a(this).on("tap click",function(b){var c=a(this).nextAll("ul").first();if(c.length){b.preventDefault(),b.stopPropagation();var d=a(this).parent("li");c.is(":visible")?(c.slideUp(200),d.removeClass("eltd-opened")):(c.slideDown(200),d.addClass("eltd-opened"))}})}), a(".eltd-mobile-nav a, .eltd-mobile-logo-wrapper a").on("click tap",function(b){"http://#"!==a(this).attr("href")&&"#"!==a(this).attr("href")&&c.slideUp(200)})}function m(){if(eltd.body.hasClass("eltd-sticky-up-mobile-header")){var b,c=a(".eltd-top-bar"),d=a(".eltd-mobile-header"),e=a("#wpadminbar"),f=d.length?d.height():0,g=c.is(":visible")?c.height():0,h=e.length?e.height():0,i=a(document).scrollTop();b=g+f+h,a(window).scroll(function(){var c=a(document).scrollTop();c>b?(d.addClass("eltd-animate-mobile-header"),d.css("margin-bottom",f)):(d.removeClass("eltd-animate-mobile-header"),d.css("margin-bottom",0)),c>i&&c>b||c ul > li.narrow").each(function(b){var c=eltd.windowWidth-16,d=a(this).offset().left,e=a(this).find(".second .inner ul").width(),f=0;f=eltd.body.hasClass("boxed")?eltd.boxedLayoutWidth-(d-(c-eltd.boxedLayoutWidth)/2):c-d;var g;a(this).find("li.sub").length>0&&(g=f-e),(f ul > li");b.each(function(c){if(a(b[c]).find(".second").length>0){var d=a(b[c]).find(".second");if(a(b[c]).hasClass("wide")){var e=a(this).find(".inner > ul"),f=parseInt(e.css("padding-left").slice(0,-2))+parseInt(e.css("padding-right").slice(0,-2)),g=e.outerWidth(),h=a(".eltd-page-header .eltd-vertical-align-containers"),i=h.css("padding-left");a(this).hasClass("wide_full_width")&&(g=h.width(),e.css("width",g+"px"),e.css("left",i)),a(this).hasClass("left_position")||a(this).hasClass("right_position")||d.css("left",0);var j=0;if(a(this).find(".second > .inner > ul > li").each(function(){var b=a(this).height();b>j&&(j=b)}),a(this).find(".second > .inner > ul > li").css("height",""),a(this).find(".second > .inner > ul > li").height(j),a(this).hasClass("wide_background")&&a(this).hasClass("wide_full_width")){if(!a(this).hasClass("left_position")&&!a(this).hasClass("right_position")){var k=d.offset().left;d.css("left",-k),d.css("width",eltd.windowWidth)}}else if(!a(this).hasClass("left_position")&&!a(this).hasClass("right_position")){var k=(eltd.windowWidth-2*(eltd.windowWidth-e.offset().left))/2+(g+f)/2;d.css("left",-k)}}if(eltd.menuDropdownHeightSet||(a(b[c]).data("original_height",d.height()+"px"),d.height(0)),navigator.userAgent.match(/(iPod|iPhone|iPad)/))a(b[c]).on("touchstart mouseenter",function(){d.css({height:a(b[c]).data("original_height"),overflow:"visible",visibility:"visible",opacity:"1"})}).on("mouseleave",function(){d.css({height:"0px",overflow:"hidden",visibility:"hidden",opacity:"0"})});else if(eltd.body.hasClass("eltd-dropdown-animate-height"))a(b[c]).mouseenter(function(){d.css({visibility:"visible",height:"0px",opacity:"0"}),d.stop().animate({height:a(b[c]).data("original_height"),opacity:1},200,function(){d.css("overflow","visible")})}).mouseleave(function(){d.stop().animate({height:"0px"},0,function(){d.css({overflow:"hidden",visibility:"hidden"})})});else{var l={interval:0,over:function(){setTimeout(function(){d.addClass("eltd-drop-down-start"),d.stop().css({height:a(b[c]).data("original_height")})},150)},timeout:150,out:function(){d.stop().css({height:"0px"}),d.removeClass("eltd-drop-down-start")}};a(b[c]).hoverIntent(l)}}}),a(".eltd-drop-down ul li.wide ul li a").on("click",function(b){if(1==b.which){var c=a(this);setTimeout(function(){c.mouseleave()},500)}}),eltd.menuDropdownHeightSet=!0}function p(){var b,c=a("a.eltd-search-opener");if(a("html").hasClass("touch")&&!0,c.length>0&&(eltd.body.hasClass("eltd-fullscreen-search")?(b=a(".eltd-fullscreen-search-close"),function(){var d=a(".eltd-fullscreen-search-holder");a(".eltd-fullscreen-search-overlay"),c.on("click",function(c){c.preventDefault();var e=!1;if("yes"===a(this).data("icon-close-same-position")){var f=a(this).offset().top,g=a(this).offset().left;e=!0}d.hasClass("eltd-animate")?(eltd.body.removeClass("eltd-fullscreen-search-opened"),eltd.body.addClass("eltd-search-fade-out"),eltd.body.removeClass("eltd-search-fade-in"),d.removeClass("eltd-animate"),eltd.body.hasClass("page-template-full_screen-php")||eltd.modules.common.eltdEnableScroll()):(eltd.body.addClass("eltd-fullscreen-search-opened"),eltd.body.removeClass("eltd-search-fade-out"),eltd.body.addClass("eltd-search-fade-in"),d.addClass("eltd-animate"),setTimeout(function(){a(".eltd-fullscreen-search-holder .eltd-search-field").focus()},300),e&&b.css({top:f-eltd.scroll,left:g}),eltd.body.hasClass("page-template-full_screen-php")||eltd.modules.common.eltdDisableScroll()),b.on("click",function(a){a.preventDefault(),eltd.body.removeClass("eltd-fullscreen-search-opened"),d.removeClass("eltd-animate"),eltd.body.removeClass("eltd-search-fade-in"),eltd.body.addClass("eltd-search-fade-out"),eltd.body.hasClass("page-template-full_screen-php")||eltd.modules.common.eltdEnableScroll()}),a(document).keyup(function(a){27==a.keyCode&&(eltd.body.removeClass("eltd-fullscreen-search-opened"),d.removeClass("eltd-animate"),eltd.body.removeClass("eltd-search-fade-in"),eltd.body.addClass("eltd-search-fade-out"),eltd.body.hasClass("page-template-full_screen-php")||eltd.modules.common.eltdEnableScroll())}),a(document).mouseup(function(b){var c=a(".eltd-form-holder");c.is(b.target)||0!==c.has(b.target).length||(b.preventDefault(),eltd.body.removeClass("eltd-fullscreen-search-opened"),d.removeClass("eltd-animate"),setTimeout(function(){d.find(".eltd-search-field").val(""),d.find(".eltd-search-field").blur()},300),eltd.body.removeClass("eltd-search-fade-in"),eltd.body.addClass("eltd-search-fade-out"),eltd.body.hasClass("page-template-full_screen-php")||eltd.modules.common.eltdEnableScroll())})})}()):eltd.body.hasClass("eltd-search-covers-header")&&function(){c.on("click",function(b){b.preventDefault();var c,d,e,f=a(".eltd-search-cover .eltd-form-holder-outer");a(this).closest(".eltd-grid").length?(d=a(this).closest(".eltd-grid").children().first(),e=d.parent()):(d=a(this).closest(".eltd-menu-area").children().first(),e=d),a(this).closest(".eltd-sticky-header").length>0&&(d=a(this).closest(".eltd-sticky-header").children().first()),a(this).closest(".eltd-mobile-header").length>0&&(d=a(this).closest(".eltd-mobile-header").children().children().first()),e.parent().hasClass("eltd-logo-area")?c=eltdGlobalVars.vars.eltdLogoAreaHeight:e.parent().hasClass("eltd-top-bar")?c=eltdGlobalVars.vars.eltdTopBarHeight:e.parent().hasClass("eltd-menu-area")?c=eltdGlobalVars.vars.eltdMenuAreaHeight:e.hasClass("eltd-sticky-header")?c=eltdGlobalVars.vars.eltdMenuAreaHeight:e.parent().hasClass("eltd-mobile-header")&&(c=a(".eltd-mobile-header-inner").height()),f.height(c),d.stop(!0).fadeIn(600),a('.eltd-search-cover input[type="text"]').focus(),a(".eltd-search-close, .content, footer").on("click",function(a){a.preventDefault(),d.stop(!0).fadeOut(450)}),d.blur(function(){d.stop(!0).fadeOut(450)})})}(),void 0!==c.data("hover-color"))){var d=function(a){a.data.searchOpener.css("color",a.data.color)},e=c.css("color"),f=c.data("hover-color");c.on("mouseenter",{searchOpener:c,color:f},d),c.on("mouseleave",{searchOpener:c,color:e},d)}}function q(){var b=a("body:not(.eltd-header-dual) .eltd-main-menu > ul");b.length&&b.each(function(){var b=a(this);b.append('
  • ');var c,d=b.find(".eltd-main-menu-line"),e=b.find("> li.menu-item");e.filter(".eltd-active-item").length?(c=e.filter(".eltd-active-item").offset().left,d.css("width",e.filter(".eltd-active-item").outerWidth())):(c=e.first().offset().left,d.css("width",e.first().outerWidth())),d.css("left",c-b.offset().left),d.css("top",Math.floor(e.first().find(".item_text").offset().top-b.offset().top+e.first().find(".item_text").height()+19)),e.mouseenter(function(){var c=a(this),e=c.outerWidth(),f=b.offset().left,g=c.offset().left-f;d.css("width",e),d.css("left",g)}),b.mouseleave(function(){e.filter(".eltd-active-item").length?d.css("width",e.filter(".eltd-active-item").outerWidth()):d.css("width",e.first().outerWidth()),d.css("left",c-b.offset().left)})})}var r={};eltd.modules.header=r,r.isStickyVisible=!1,r.stickyAppearAmount=0,r.behaviour,r.eltdSideArea=i,r.eltdSideAreaScroll=j,r.eltdFullscreenMenu=k,r.eltdInitMobileNavigation=l,r.eltdMobileHeaderBehavior=m,r.eltdSetDropDownMenuPosition=n,r.eltdDropDownMenu=o,r.eltdSearch=p,r.eltdRemoveFullScreenOpener=f,r.eltdRemoveSideAreaOpener=g,r.eltdMenuUnderline=q,r.eltdOnDocumentReady=b,r.eltdOnWindowLoad=c,r.eltdOnWindowResize=d,r.eltdOnWindowScroll=e,a(document).ready(b),a(window).on("load",c),a(window).resize(d),a(window).scroll(e);var s=function(){var b=a(".eltd-vertical-menu-area"),c=function(){d()&&b.getNiceScroll().resize()},d=function(){return b.hasClass(".eltd-with-scroll")},e=function(){function d(){var b=e.find("ul li.menu-item-has-children"),c=b.find(" > .second, > ul");b.each(function(){var d=a(this).find(" > .second, > ul"),e=this;if(Modernizr.touch){a(this).find("> a").on("click tap",function(f){f.preventDefault(),f.stopPropagation(),d.hasClass("eltd-float-open")?(d.removeClass("eltd-float-open"),a(e).removeClass("open")):(a(this).parents("li").hasClass("open")||(b.removeClass("open"),c.removeClass("eltd-float-open")),d.addClass("eltd-float-open"),a(e).addClass("open"))})}else a(this).hoverIntent({over:function(){d.addClass("eltd-float-open"),a(e).addClass("open")},out:function(){d.removeClass("eltd-float-open"),a(e).removeClass("open")},timeout:300})})}var e=b.find(".eltd-vertical-menu");switch(void 0!==e.data("navigation-type")?e.data("navigation-type"):""){case"dropdown-toggle-click":!function(){var b=e.find("ul li.menu-item-has-children");b.each(function(){var d=a(this).find(" > .second, > ul"),e=this,f=a(this).find("> a");f.on("click tap",function(f){f.preventDefault(),f.stopPropagation(),d.is(":visible")?(a(e).removeClass("open"),d.slideUp("fast",function(){c()})):(a(this).parents("li").hasClass("open")||(b.removeClass("open"),b.find(" > .second, > ul").slideUp("fast")),a(e).addClass("open"),d.slideDown("slow",function(){c()}))})})}();break;case"float":default:d()}};return{init:function(){b.length&&e()}}}}(jQuery),function(a){"use strict";function b(){f()}function c(){}function d(){}function e(){}function f(){if(a(".eltd-title.eltd-has-parallax-background").length>0&&0===a(".touch").length){var b=a(".eltd-title.eltd-has-parallax-background"),c=a(".eltd-title.eltd-has-parallax-background.eltd-zoom-out"),d=parseInt(b.data("background-width").match(/\d+/)),e=b.data("height"),f=e/1e4*7,g=-eltd.scroll*f;b.css({"background-position":"center "+(g+eltdGlobalVars.vars.eltdAddForAdminBar)+"px"}),c.css({"background-size":d-eltd.scroll+"px auto"}),a(window).scroll(function(){g=-eltd.scroll*f,b.css({"background-position":"center "+(g+eltdGlobalVars.vars.eltdAddForAdminBar)+"px"}),c.css({"background-size":d-eltd.scroll+"px auto"})})}}var g={};eltd.modules.title=g,g.eltdParallaxTitle=f,g.eltdOnDocumentReady=b,g.eltdOnWindowLoad=c,g.eltdOnWindowResize=d,g.eltdOnWindowScroll=e,a(document).ready(b),a(window).on("load",c),a(window).resize(d),a(window).scroll(e)}(jQuery),function(a){"use strict";function b(){f(),g(),l(),Aa().init(),j(),k(),o(),q(),s(),p(),t(),u(),Ca().init(),v(),N(),w(),z(),E(),D(),A(),F(),P(),Q().init(),R(),S(),ca().init(),Da().init(),Ba().init(),Ea().init(),n(),ia(),ka(),U(),m(),ra(),la(),ma(),h(),da(),ea(),fa(),ga(),na(),oa(),ha(),ua(),J()}function c(){H(),T(),da(),qa(),ta(),sa(),va(),xa(),ya(),J()}function d(){v(),z(),N(),h(),ea(),da()}function e(){sa()}function f(){var b=a(".eltd-counter");b.length&&b.each(function(){var b=a(this),c=parseFloat(b.text());b.text("0"),b.appear(function(){setTimeout(function(){b.hasClass("zero")?b.countTo({from:0,to:c,speed:2e3,refreshInterval:78}):b.absoluteCounter({speed:2e3,fadeInDelay:1e3})},150)},{accX:0,accY:eltdGlobalVars.vars.eltdElementAppearAmount})})}function g(){var b=a(".eltd-progress-bar");b.length&&b.each(function(){var b=a(this);b.appear(function(){if(i(b),0!==b.find(".eltd-floating.eltd-floating-inside")){var a=b.find(".eltd-progress-content").height();a+=parseFloat(b.find(".eltd-progress-title-holder").css("padding-bottom")),a+=parseFloat(b.find(".eltd-progress-title-holder").css("margin-bottom")),b.find(".eltd-floating-inside").css("margin-bottom",-a+"px")}var c=b.find(".eltd-progress-content").data("percentage"),d=b.find(".eltd-progress-content"),e=b.find(".eltd-progress-number");d.css("width","0%"),d.animate({width:c+"%"},1500),e.css("left","0%"),e.animate({left:c+"%"},1500)})})}function h(){var b=a(".eltd-tabs.eltd-vertical-tab");eltd.windowWidth>1024&&b.length&&b.each(function(){var b=a(this),c=b.width(),d=b.children(".eltd-tabs-nav"),e=d.outerWidth()+1;d.css("width",e);var f=c-e;b.children(".eltd-tab-container").css("width",f)})}function i(b){var c=parseFloat(b.find(".eltd-progress-content").data("percentage")),d=b.find(".eltd-progress-number .eltd-percent");d.length&&d.each(function(){var b=a(this);b.parents(".eltd-progress-number-wrapper").css("opacity","1"),b.countTo({from:0,to:c,speed:1500,refreshInterval:50})})}function j(){var b=a(".eltd-message");b.length&&b.each(function(){a(this).find(".eltd-close").on("click",function(b){b.preventDefault(),a(this).parent().parent().fadeOut(500)})})}function k(){var b=a(".eltd-message.eltd-with-icon");b.length&&b.each(function(){var b=a(this),c=b.find(".eltd-message-text-holder").height(),d=b.find(".eltd-message-icon-holder").height();c>d?b.find(".eltd-message-icon-holder").height(c):b.find(".eltd-message-text-holder").height(d)})}function l(){var b,c,d,e,f,g,h,i,j,k,l,m=a(".eltd-countdown");m.length&&m.each(function(){function m(){q.find(".countdown-amount").css({"font-size":n+"px","line-height":n+"px"}),q.find(".countdown-period").css({"font-size":o+"px"})}var n,o,p=a(this).attr("id"),q=a("#"+p);b=q.data("year"),c=q.data("month"),d=q.data("day"),e=q.data("hour"),f=q.data("minute"),g=q.data("timezone"),h=q.data("month-label"),i=q.data("day-label"),j=q.data("hour-label"),k=q.data("minute-label"),l=q.data("second-label"),n=q.data("digit-size"),o=q.data("label-size"),q.countdown({until:new Date(b,c-1,d,e,f,44),labels:["Years",h,"Weeks",i,j,k,l],format:"ODHMS",timezone:g,padZeroes:!0,onTick:m})})}function m(){var b=a(".eltd-iwt");b.length&&b.each(function(){var b=a(this),c=b.find(".eltd-icon-shortcode.circle a");c.length&&(c.css("color",c.parent().css("background-color")),b.find("a").mouseenter(function(){b.addClass("eltd-hovered")}),b.find("a").mouseleave(function(){b.removeClass("eltd-hovered")}))})}function n(){var b=a(".eltd-testimonials");b.length&&b.each(function(){var b=a(this);b.waitForImages(function(){b.css({visibility:"visible",opacity:1})});var c,d,e,f=3;b.hasClass("eltd-standard")&&(f=b.data("items"),c=1,d=2,2,e=3),b.hasClass("eltd-with-icon")?f=c=d=e=1:(f=b.data("items"),c=1,d=2,2,e=3);var g=!1;"yes"==b.data("pagination")&&(g=!0);var h=!1;"yes"==b.data("navigation")&&(h=!0);var i,j=!1;void 0!==b.data("autoplay-speed")&&!1!==b.data("autoplay-speed")?(i=b.data("autoplay-speed"),j=!0):i=5e3,b.owlCarousel({items:f,responsive:{0:{items:c,nav:!1},600:{items:d,nav:!1},768:{items:d,nav:!1},1024:{items:e},1280:{items:f}},smartSpeed:600,autoplay:j,autoplayTimeout:i,autoplayHoverPause:!0,loop:!0,nav:h,dots:g,navText:['',''],animateOut:"fadeOutRight",animateIn:"fadeInLeft"})})}function o(){var b=a(".eltd-carousel-holder");b.length&&b.each(function(){var b=a(this).children(".eltd-carousel"),c=b.data("items"),d="yes"==b.data("navigation"),e="yes"==b.data("pagination"),f="yes"==b.data("autoplay"),g=b.data("autoplay-duration");if(b.waitForImages(function(){b.css("visibility","visible")}),f){var h=!0;if(g)var i=g}else var h=5e3;b.owlCarousel({items:c,responsive:{0:{items:1,nav:!1},600:{items:2,nav:!1},768:{items:3},1024:{items:5},1200:{items:c}},smartSpeed:400,autoplay:h,autoplayTimeout:i,autoplayHoverPause:!0,loop:!0,dots:e,nav:d,navText:['','']})})}function p(){var b=a(".eltd-processes-holder .eltd-process.eltd-process-color-hover");b.length&&b.each(function(){var b=a(this),c="#27d7ab";void 0!==b.data("background-color")&&""!==b.data("background-color")&&(c=b.data("background-color")),b.on("mouseenter",function(){a(this).find(".eltd-process-content-overlay").css("background-color",c)}),b.on("mouseleave",function(){a(this).find(".eltd-process-content-overlay").css("background-color","#fff")})})}function q(){var b=a(".eltd-pie-chart-holder, .eltd-pie-chart-with-icon-holder");b.length&&b.each(function(){var b=a(this),c=b.children(".eltd-percentage, .eltd-percentage-with-icon"),d="#b79c7d",e="#F0F0F0",f=165;void 0!==c.data("bar-color")&&""!==c.data("bar-color")&&(d=c.data("bar-color")),void 0!==c.data("track-color")&&""!==c.data("track-color")&&(e=c.data("track-color")),void 0!==c.data("size")&&""!==c.data("size")&&(f=c.data("size")),c.appear(function(){r(b),c.css("opacity","1"),c.easyPieChart({barColor:d,trackColor:e,scaleColor:!1,lineCap:"butt",lineWidth:4,animate:1500,size:f})},{accX:0,accY:eltdGlobalVars.vars.eltdElementAppearAmount})})}function r(a){a.css("opacity","1");var b=a.find(".eltd-to-counter"),c=parseFloat(b.text());b.countTo({from:0,to:c,speed:1500,refreshInterval:50})}function s(){a(".eltd-pie-chart-doughnut-holder, .eltd-pie-chart-pie-holder").each(function(){for(var b=a(this),c=b.find("canvas"),d=c.attr("id"),e=document.getElementById(d).getContext("2d"),f=[],g=a(e.canvas),h=1;h<=10;h++){var i,j=g.data("value-"+h),k=g.data("color-"+h);void 0!==j&&void 0!==k&&(i={value:j,color:k},f.push(i))}c.hasClass("eltd-pie")?new Chart(e).Pie(f,{segmentStrokeColor:"transparent"}):new Chart(e).Doughnut(f,{segmentStrokeColor:"transparent"})})}function t(){var b=a(".eltd-tabs");b.length&&b.each(function(){function b(b){b.each(function(){var b=a(this);b.is(":visible")?b.addClass("eltd-visible"):b.removeClass("eltd-visible")})}var c=a(this);c.children(".eltd-tab-container").each(function(b){b+=1;var c=a(this),d=c.attr("id"),e=c.parent().find(".eltd-tabs-nav li:nth-child("+b+") a"),f=e.attr("href");d="#"+d,d.indexOf(f)>-1&&e.attr("href",d)}),c.hasClass("eltd-horizontal-tab")?c.tabs():c.hasClass("eltd-vertical-tab")&&(c.tabs().addClass("ui-tabs-vertical ui-helper-clearfix"),c.find(".eltd-tabs-nav > ul >li").removeClass("ui-corner-top").addClass("ui-corner-left"));var d=c.find(".eltd-tab-container");c.appear(function(){b(d)}),c.find("li").each(function(){a(this).on("click",function(){setTimeout(function(){b(d)},50)})})})}function u(){var b=a(".eltd-tab-container");b.length&&b.each(function(){var b=a(this),c=b.attr("id"),d="";void 0===b.data("icon-html")&&"false"===b.data("icon-html")||(d=b.data("icon-html"));var e=b.parents(".eltd-tabs").find('.eltd-tabs-nav > li > a[href="#'+c+'"]');void 0!==e&&e.children(".eltd-icon-frame").append(d)})}function v(){var b=a(".eltd-blog-list-holder.eltd-masonry .eltd-blog-list");b.length&&b.each(function(){var c=a(this);b.waitForImages(function(){c.isotope({itemSelector:".eltd-blog-list-masonry-item",masonry:{columnWidth:".eltd-blog-list-masonry-grid-sizer",gutter:".eltd-blog-list-masonry-grid-gutter"}}),c.addClass("eltd-appeared")})})}function w(){var b=a(".eltd-blog-list-holder.eltd-blog-pinboard .eltd-blog-list");b.length&&b.each(function(){var b=a(this),c=b.find(".eltd-blog-list-pinboard-grid-sizer").width();y(c,b),x(b),a(window).resize(function(){y(c,b),x(b)})})}function x(a){a.waitForImages(function(){a.isotope({itemSelector:".eltd-blog-list-item",masonry:{columnWidth:".eltd-blog-list-pinboard-grid-sizer"}}),a.addClass("eltd-appeared")})}function y(a,b){var c=b.find(".eltd-pinboard-portrait-item"),d=b.find(".eltd-pinboard-landscape-item");d.css("height",Math.round(.63*a)),c.css("height",Math.round(1.32*a)),eltd.windowWidth<600&&(c.css("height",a),d.css("height",a))}function z(){var b=a(".eltd-custom-font-holder");b.length&&b.each(function(){var b,c,d=a(this),e=1,f=1;eltd.windowWidth<1200&&(e=.8),eltd.windowWidth<1025&&(e=.7),eltd.windowWidth<768&&(e=.6,f=.7),eltd.windowWidth<600&&(e=.5,f=.6),eltd.windowWidth<480&&(e=.4,f=.5),void 0!==d.data("font-size")&&!1!==d.data("font-size")&&(b=parseInt(d.data("font-size")),b>70?b=Math.round(b*e):b>35&&(b=Math.round(b*f)),d.css("font-size",b+"px")),void 0!==d.data("line-height")&&!1!==d.data("line-height")&&(c=parseInt(d.data("line-height")),c>70&&eltd.windowWidth<1200?c="1.2em":c>35&&eltd.windowWidth<768?c="1.2em":c+="px",d.css("line-height",c))})}function A(){a(".eltd-google-map").length&&a(".eltd-google-map").each(function(){var b,c=a(this);void 0!==c.data("custom-map-style")&&(b=c.data("custom-map-style"));var d;void 0!==c.data("color-overlay")&&!1!==c.data("color-overlay")&&(d=c.data("color-overlay"));var e;void 0!==c.data("saturation")&&!1!==c.data("saturation")&&(e=c.data("saturation"));var f;void 0!==c.data("lightness")&&!1!==c.data("lightness")&&(f=c.data("lightness"));var g;void 0!==c.data("zoom")&&!1!==c.data("zoom")&&(g=c.data("zoom"));var h;void 0!==c.data("pin")&&!1!==c.data("pin")&&(h=c.data("pin"));var i;void 0!==c.data("height")&&!1!==c.data("height")&&(i=c.data("height"));var j;void 0!==c.data("unique-id")&&!1!==c.data("unique-id")&&(j=c.data("unique-id"));var k;void 0!==c.data("scroll-wheel")&&(k=c.data("scroll-wheel"));var l;void 0!==c.data("addresses")&&!1!==c.data("addresses")&&(l=c.data("addresses")),B(b,d,e,f,k,g,"eltd-map-"+j,i,h,"map_"+j,"geocoder_"+j,l)})}function B(a,b,c,d,e,f,g,h,i,j,k,l){if("object"==typeof google){var m,n=[{stylers:[{hue:b},{saturation:c},{lightness:d},{gamma:1}]}];m=a?"eltd-style":google.maps.MapTypeId.ROADMAP;var o=new google.maps.StyledMapType(n,{name:"Elated Google Map"});k=new google.maps.Geocoder;var p=new google.maps.LatLng(-34.397,150.644);isNaN(h)||(h+="px");var q={zoom:f,scrollwheel:e,center:p,zoomControl:!0,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.RIGHT_CENTER},scaleControl:!1,scaleControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},streetViewControl:!1,streetViewControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},panControl:!1,panControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},mapTypeControl:!1,mapTypeControlOptions:{mapTypeIds:[google.maps.MapTypeId.ROADMAP,"eltd-style"],style:google.maps.MapTypeControlStyle.HORIZONTAL_BAR,position:google.maps.ControlPosition.LEFT_CENTER},mapTypeId:m};j=new google.maps.Map(document.getElementById(g),q),j.mapTypes.set("eltd-style",o);var r;for(r=0;r",f=new google.maps.InfoWindow({content:e});d.geocode({address:a},function(d,e){if(e===google.maps.GeocoderStatus.OK){c.setCenter(d[0].geometry.location);var g=new google.maps.Marker({map:c,position:d[0].geometry.location,icon:b,title:a.store_title});google.maps.event.addListener(g,"click",function(){f.open(c,g)}),google.maps.event.addDomListener(window,"resize",function(){c.setCenter(d[0].geometry.location)})}})}}function D(){var b=a(".eltd-accordion-holder");b.length&&b.each(function(){var b=a(this);if(b.hasClass("eltd-accordion")&&b.accordion({animate:"swing",collapsible:!0,active:0,icons:"",heightStyle:"content"}),b.hasClass("eltd-toggle")){var c=a(this),d=c.find(".eltd-title-holder"),e=d.next();c.addClass("accordion ui-accordion ui-accordion-icons ui-widget ui-helper-reset"),d.addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-top ui-corner-bottom"),e.addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide(),d.each(function(){var b=a(this);b.on("mouseenter mouseleave",function(){b.toggleClass("ui-state-hover")}),b.on("click",function(){b.toggleClass("ui-accordion-header-active ui-state-active ui-state-default ui-corner-bottom"),b.next().toggleClass("ui-accordion-content-active").slideToggle(400)})})}})}function E(){var b=a(".eltd-image-gallery");b.length&&b.each(function(){var b=a(this);if(b.hasClass("eltd-image-owl-slider")){var c=a(this).children(".eltd-image-gallery-slides-holder");c.waitForImages(function(){c.css("visibility","visible")});var d=!1;"yes"==c.data("navigation")&&(d=!0);var e=!1;"yes"==c.data("pagination")&&(e=!0);var f,g=!1;"disable"!==c.data("autoplay")&&(g=!0,f=1e3*c.data("autoplay"));var h=1;(c.hasClass("eltd-image-gallery-carousel")||c.hasClass("eltd-image-gallery-slider"))&&void 0!==c.data("images-shown")&&!1!==c.data("images-shown")&&(h=c.data("images-shown")),c.owlCarousel({items:h,responsive:{0:{items:1,nav:!1},600:{items:2,nav:!1},768:{items:3},1024:{items:5},1200:{items:h}},smartSpeed:400,autoplay:g,autoplayTimeout:f,autoplayHoverPause:!0,loop:!0,nav:d,dots:e,navText:['','']}),c.css("opacity","1")}else if(b.hasClass("eltd-image-slick-slider")){var c=a(this).children(".eltd-image-gallery-carousel-var-img-size");c.waitForImages(function(){c.css("visibility","visible")});var d=!1;"yes"==c.data("navigation")&&(d=!0);var e=!1;"yes"==c.data("pagination")&&(e=!0);var f,g=!1;"disable"!==c.data("autoplay")&&(g=!0,f=1e3*c.data("autoplay")),c.slick({dots:e,infinite:!0,speed:800,slidesToShow:1,variableWidth:!0,centerMode:!0,arrows:d,autoplay:!0,autoplaySpeed:2e3,prevArrow:'',nextArrow:''})}})}function F(){var b=a(".eltd-portfolio-list-holder-outer.eltd-ptf-standard, .eltd-portfolio-list-holder-outer.eltd-ptf-gallery,.eltd-portfolio-list-holder-outer.eltd-ptf-standard-no-space, .eltd-portfolio-list-holder-outer.eltd-ptf-gallery-no-space,.eltd-portfolio-list-holder-outer.eltd-ptf-gallery-var-img-size, .eltd-portfolio-list-holder-outer");b.length&&b.each(function(){G(a(this))})}function G(a){var b="";a.hasClass("eltd-ptf-has-filter")&&(b=a.find(".eltd-portfolio-filter-holder-inner ul li").data("class"),b="."+b);var c=a.find(".eltd-portfolio-list-holder");c.mixItUp({callbacks:{onMixLoad:function(){c.find("article").css("visibility","visible")},onMixStart:function(){c.find("article").css("visibility","visible")},onMixBusy:function(){c.find("article").css("visibility","visible")},onMixEnd:function(){eltd.modules.common.eltdInitParallax(),eltd.body.hasClass("eltd-skrollr-set")&&window.eltdSkrollr.refresh()}},selectors:{filter:b},animation:{effects:"fade",duration:600}})}function H(){var b=a(".eltd-portfolio-list-holder-outer.eltd-ptf-gallery-tiled");b.length&&b.each(function(){I(a(this)).init()})}function I(b){var c=function(){var a=b.find(".eltd-portfolio-list-holder"),c=void 0!==b.data("row-height")?b.data("row-height"):200,d=void 0!==b.data("spacing")?b.data("spacing"):0,e=void 0!==b.data("last-row")?b.data("last-row"):"nojustify",f=void 0!==b.data("threshold")?b.data("threshold"):.75;setTimeout(function(){a.justifiedGallery({rowHeight:c,margins:d,lastRow:e,justifyThreshold:f,selector:"> article"}).on("jg.complete jg.rowflush",function(){a.find("article").addClass("show")})},100)},d=function(){function c(a){var b=a.attr("data-filter"),c=f.find("article");return c.css("transition","all 200ms ease"),c.not(b).css({transform:"scale(0)"}),".all"===b&&c.addClass("all"),setTimeout(function(){c.filter(b).css({transform:""}),f.css("transition","height 200ms ease").justifiedGallery({selector:">article"+(b||"")})},1.1*200),setTimeout(function(){c.css("transition",""),f.css("transition","")},2.2*200),h.removeClass("active"),a.addClass("active"),!1}if(b.hasClass("eltd-ptf-has-filter")){var d,e=b,f=e.find(".eltd-portfolio-list-holder"),g=e.find(".eltd-portfolio-filter-holder"),h=g.find("li");h.length&&h.each(function(){a(this).hasClass("active")&&(d=a(this))}),void 0!==d?c(d):h.first().addClass("active"),g.find("li").on("click",function(){c(a(this))})}};return{init:function(){c(),d()}}}function J(){var b=a(".eltd-portfolio-list-holder-outer.eltd-ptf-masonry, .eltd-portfolio-list-holder-outer.eltd-ptf-masonry-with-space,.eltd-portfolio-list-holder-outer.eltd-ptf-masonry-parallax");b.length&&b.each(function(){var b=a(this).children(".eltd-portfolio-list-holder"),c=b.find(".eltd-ptf-masonry-parallax-item"),d=b.find(".eltd-portfolio-list-masonry-grid-sizer").width();K(b),a(window).resize(function(){L(d,b),K(b)}),c.length&&c.each(function(){M(a(this))})})}function K(a){a.waitForImages(function(){var b=a.find(".eltd-portfolio-list-masonry-grid-sizer").width();a.waitForImages(function(){a.isotope({itemSelector:".eltd-portfolio-item",masonry:{columnWidth:".eltd-portfolio-list-masonry-grid-sizer"}})}),a.addClass("eltd-appeared"),L(b,a)})}function L(a,b){var c=b.find(".eltd-default-masonry-item"),d=b.find(".eltd-large-width-masonry-item"),e=b.find(".eltd-large-height-masonry-item"),f=b.find(".eltd-large-width-height-masonry-item");c.css("height",a),d.css("height",Math.round(a)),b.hasClass("eltd-ptf-masonry-parallax")?(f.css("height",Math.round(2*a)),e.css("height",Math.round(2*a))):eltd.windowWidth>600?(f.css("height",Math.round(2*a)),e.css("height",Math.round(2*a))):(f.css("height",a),e.css("height",Math.round(2*a)))}function M(a){var b,c,d=-1,e=function(){if(eltd.windowWidth>1024){if(b=a.offset().top,c=a.outerHeight(),eltd.scroll>b-eltd.windowHeight&&eltd.scroll','']})},{accX:0,accY:200})})},c=function(){var b=a(".eltd-portfolio-slider-holder.eltd-ptf-gallery-var-img-size");b.length&&b.each(function(){var b=a(this),c=b.children(".eltd-portfolio-list-holder");b.waitForImages(function(){b.delay(2e3).animate({opacity:1},1e3)});var d=!1 ;"yes"==b.data("navigation")&&(d=!0);var e=!1;"yes"==b.data("pagination")&&(e=!0),c.slick({dots:e,infinite:!0,speed:800,slidesToShow:1,variableWidth:!0,centerMode:!0,arrows:d,autoplay:!0,autoplaySpeed:2e3,prevArrow:'',nextArrow:''})})};return{init:function(){b(),c()}}}function R(){var b=a(".eltd-portfolio-list-holder-outer.eltd-ptf-load-more");b.length&&b.each(function(){var b,c,d=a(this),e=d.find(".eltd-ptf-list-load-more a");void 0!==d.data("max-num-pages")&&!1!==d.data("max-num-pages")&&(c=d.data("max-num-pages")),e.on("click",function(a){var f=X(d);if(b=f.nextPage,a.preventDefault(),a.stopPropagation(),e.closest(".eltd-ptf-list-paging").removeClass("eltd-appeared"),b<=c){var g=Y(f);V(d,g,b,"load-more")}b===c&&e.hide()})})}function S(){var b=a(".eltd-portfolio-list-holder-outer.eltd-ptf-standard-pagination");b.length&&b.each(function(){var b,c,d,e=a(this),f=a(this).find(".eltd-ptf-standard-pag-holder"),g=f.find("ul li");void 0!==e.data("max-num-pages")&&!1!==e.data("max-num-pages")&&(c=e.data("max-num-pages")),g.eq(1).addClass("active"),g.on("click",function(f){f.preventDefault(),f.stopPropagation(),g.removeClass("eltd-disabled-pag-item"),g.length&&g.each(function(){a(this).hasClass("active")&&(d=a(this).data("current-page"))});var h=a(this),i=X(e);b=parseInt(h.data("current-page")),h.hasClass("eltd-pagination-prev")&&(b=1!==d&&d-1),h.hasClass("eltd-pagination-next")&&(b=d!==c&&d+1),i.nextPage=b;var j=Y(i);b?(g.removeClass("active"),g.length&&g.each(function(){parseInt(a(this).data("current-page"))===b&&a(this).addClass("active")}),V(e,j,b,"standard-pagination")):h.addClass("eltd-disabled-pag-item")})})}function T(){var b=a(".eltd-portfolio-list-holder-outer.eltd-appear-effect");b.length&&b.each(function(){var b=a(this);if(b.hasClass("eltd-ptf-one-by-one")){var c,d=b.find("article"),e=b.find(".eltd-ptf-list-paging"),f=0,g=0;d.each(function(){var b=a(this);b.offset().top==d.first().offset().top&&f++,c=f+1,setTimeout(function(){b.appear(function(){g++,g==c&&(g=0),setTimeout(function(){b.addClass("eltd-appeared")},200*g)},{accX:0,accY:0})},30)}),e.length&&e.addClass("eltd-appeared")}})}function U(){var b=a(".eltd-portfolio-filter-holder");b.length&&b.each(function(){var c=a(this),d=c.find("li"),e=c.find(".eltd-filter-line");e.css({width:d.first().outerWidth()}),e.css({left:0}),d.each(function(){var b=a(this);b.mouseenter(function(){e.css({width:b.outerWidth()}),e.css({left:b.offset().left-b.parent().offset().left})})}),b.mouseleave(function(){d.filter(".active").length?(e.css({width:d.filter(".active").outerWidth()}),e.css({left:d.filter(".active").offset().left-d.filter(".active").parent().offset().left})):(e.css({width:d.first().outerWidth()}),e.css({left:0}))})})}function V(b,c,d,e){var f=b.find(".eltd-portfolio-list-holder");a.ajax({type:"POST",data:c,url:eltdCoreAjaxUrl,success:function(c){d++,b.data("next-page",d);var g=a.parseJSON(c),h=W(g.html);b.waitForImages(function(){"standard-pagination"===e&&f.find("article").remove(),b.hasClass("eltd-ptf-masonry")||b.hasClass("eltd-ptf-masonry-with-space")||b.hasClass("eltd-ptf-masonry-parallax")||b.hasClass("eltd-ptf-pinterest")||b.hasClass("eltd-ptf-pinterest-no-space")?b.waitForImages(function(){setTimeout(function(){f.isotope().append(h).isotope("appended",h).isotope("reloadItems"),T(),M(a(".eltd-ptf-masonry-parallax-item"))},100)}):b.hasClass("eltd-ptf-gallery-tiled")?(f.append(h),b.waitForImages(function(){setTimeout(function(){I(b).init(),T()},300)})):f.mixItUp("append",h,function(){T()})})}})}function W(b){var c=a.trim(b),d=a(c),e=a();return d.each(function(a,b){1===b.nodeType&&(e=e.add(this))}),e}function X(a){var b={};return b.type="",b.columns="",b.gridSize="",b.orderBy="",b.order="",b.number="",b.imageSize="",b.filter="",b.filterOrderBy="",b.category="",b.selectedProjectes="",b.enablePagination="",b.paginationType="",b.titleTag="",b.nextPage="",b.maxNumPages="",b.showExcerpt="",b.showExcerptOnHover="",b.excerptLength="",void 0!==a.data("type")&&!1!==a.data("type")&&(b.type=a.data("type")),void 0!==a.data("grid-size")&&!1!==a.data("grid-size")&&(b.gridSize=a.data("grid-size")),void 0!==a.data("columns")&&!1!==a.data("columns")&&(b.columns=a.data("columns")),void 0!==a.data("order-by")&&!1!==a.data("order-by")&&(b.orderBy=a.data("order-by")),void 0!==a.data("order")&&!1!==a.data("order")&&(b.order=a.data("order")),void 0!==a.data("number")&&!1!==a.data("number")&&(b.number=a.data("number")),void 0!==a.data("image-size")&&!1!==a.data("image-size")&&(b.imageSize=a.data("image-size")),void 0!==a.data("show-excerpt")&&!1!==a.data("show-excerpt")&&(b.showExcerpt=a.data("show-excerpt")),void 0!==a.data("show-excerpt-on-hover")&&!1!==a.data("show-excerpt-on-hover")&&(b.showExcerptOnHover=a.data("show-excerpt-on-hover")),void 0!==a.data("excerpt-length")&&!1!==a.data("excerpt-length")&&(b.excerptLength=a.data("excerpt-length")),void 0!==a.data("filter")&&!1!==a.data("filter")&&(b.filter=a.data("filter")),void 0!==a.data("filter-order-by")&&!1!==a.data("filter-order-by")&&(b.filterOrderBy=a.data("filter-order-by")),void 0!==a.data("category")&&!1!==a.data("category")&&(b.category=a.data("category")),void 0!==a.data("selected-projects")&&!1!==a.data("selected-projects")&&(b.selectedProjectes=a.data("selected-projects")),void 0!==a.data("enable-pagination")&&!1!==a.data("enable-pagination")&&(b.enablePagination=a.data("enable-pagination")),void 0!==a.data("pagination-type")&&!1!==a.data("pagination-type")&&(b.paginationType=a.data("pagination-type")),void 0!==a.data("title-tag")&&!1!==a.data("title-tag")&&(b.titleTag=a.data("title-tag")),void 0!==a.data("next-page")&&!1!==a.data("next-page")&&(b.nextPage=a.data("next-page")),void 0!==a.data("max-num-pages")&&!1!==a.data("max-num-pages")&&(b.maxNumPages=a.data("max-num-pages")),b}function Y(a){return{action:"eltd_core_portfolio_ajax_load_more",type:a.type,columns:a.columns,gridSize:a.gridSize,orderBy:a.orderBy,order:a.order,number:a.number,imageSize:a.imageSize,showExcerpt:a.showExcerpt,showExcerptOnHover:a.showExcerptOnHover,excerptLength:a.excerptLength,filter:a.filter,filterOrderBy:a.filterOrderBy,category:a.category,selectedProjectes:a.selectedProjectes,enablePagination:a.enablePagination,paginationType:a.paginationType,titleTag:a.titleTag,nextPage:a.nextPage}}function Z(b){var c=b.find(".eltd-slide-element-text.eltd-slide-element-highlight-bgrnd");c.length&&c.each(function(){var b,c=a(this);b=c.css("background-image"),c.data("background-highlight",b),c.css("background-image","none")})}function $(b){var c=b.find(".item.active .eltd-slide-element-highlight-bgrnd"),d=b.find(".item:not(.active) .eltd-slide-element-highlight-bgrnd");c.length&&c.each(function(b){var c=a(this),d=c.data("background-highlight");setTimeout(function(){setTimeout(function(){c.css("background-image",d)},20),c.css("background-position","-99.99% 0")},450*b)}),d.length&&d.each(function(){var b=a(this);b.css("background-image","none"),b.css("background-position","-0% 0")})}function _(b){var c=b.find(".eltd-slide-element-text.eltd-slide-element-type-out");c.length&&c.each(function(){var b=a(this),c=b.find("span"),d=c.text();b.data("type-out-text",d),c.empty()})}function aa(b){var c=b.find(".item.active .eltd-slide-element-type-out"),d=b.find(".item:not(.active) .eltd-slide-element-type-out");c.length&&c.each(function(){function b(c,d,e,f){e0){var d="";b.hasClass("light")&&(d="eltd-light-header"),b.hasClass("dark")&&(d="eltd-dark-header"),""!==d?c&&eltd.body.removeClass("eltd-dark-header eltd-light-header").addClass(d):c&&eltd.body.removeClass("eltd-dark-header eltd-light-header").addClass(eltd.defaultHeaderStyle)}}function ca(){var b=function(){var b=a(".eltd-blog-carousel-holder.eltd-carousel-cards");b.length&&b.each(function(){var b=a(this).children();b.owlCarousel({items:1,autoPlay:!0,loop:!0,autoplayHoverPause:!0,nav:!1,dots:!0,autoHeight:!0,smartSpeed:800,navText:['',''],onInitialized:function(){b.css("visibility","visible")}})})},c=function(){var b=a(".eltd-blog-carousel-holder.eltd-carousel-var-image-size");b.length&&b.each(function(){var b=a(this).find(".eltd-blog-carousel-wrapper");b.waitForImages(function(){b.css("visibility","visible")}),b.slick({dots:!0,infinite:!0,speed:800,slidesToShow:1,variableWidth:!0,centerMode:!0,arrows:!0,prevArrow:'',nextArrow:''})})};return{init:function(){b(),c()}}}function da(){var b=a(".eltd-blog-slider-holder");b.length&&b.each(function(){var b=a(this).find(".eltd-blog-slider");b.owlCarousel({items:1,autoplay:!0,loop:!0,autoplayHoverPause:!1,nav:!0,dots:!0,autoplayTimeout:2200,autoHeight:!0,smartSpeed:1e3,navText:['',''],onInitialized:function(){b.css("visibility","visible"),b.removeClass("eltd-translating").addClass("eltd-translated")},onTranslate:function(){b.removeClass("eltd-translated").addClass("eltd-translating")},onTranslated:function(){b.removeClass("eltd-translating").addClass("eltd-translated")}})})}function ea(){var b=a(".eltd-product-slider-holder");b.length&&b.each(function(){var b=a(this).find(".eltd-product-slider");b.owlCarousel({items:1,autoplay:!0,loop:!0,nav:!0,dots:!1,autoHeight:!0,smartSpeed:800,navText:['',''],onInitialized:function(){b.css("visibility","visible"),b.removeClass("eltd-translating").addClass("eltd-translated")},onTranslate:function(){b.removeClass("eltd-translated").addClass("eltd-translating")},onTranslated:function(){b.removeClass("eltd-translating").addClass("eltd-translated")}})})}function fa(){var b=a(".eltd-product-carousel-holder");b.length&&b.each(function(){var b=a(this).data("items-to-show"),c=a(this).find(".eltd-product-carousel");c.owlCarousel({autoplay:!0,loop:!1,nav:!0,dots:!1,autoHeight:!0,smartSpeed:800,responsive:{0:{items:1},600:{items:3},1024:{items:b}},navText:['',''],onInitialized:function(){c.css("visibility","visible"),c.removeClass("eltd-translating").addClass("eltd-translated")},onTranslate:function(){c.removeClass("eltd-translated").addClass("eltd-translating")},onTranslated:function(){c.removeClass("eltd-translating").addClass("eltd-translated")}})})}function ga(){var b=a(".eltd-pricing-tables"),c=b.find(".eltd-price-table");b.length&&b.each(function(){var b=a(this);b.hasClass("eltd-pricing-table-appear")&&!a("html").hasClass("touch")&&b.appear(function(){c.each(function(b){var c=a(this);setTimeout(function(){c.addClass("eltd-pricing-table-appeared")},200*b)})},{accX:0,accY:eltdGlobalVars.vars.eltdElementAppearAmount})})}function ha(){var b=a(".eltd-info-box-holder:not(.eltd-simple)");b.length&&b.each(function(){var b=a(this),c="",d="",e="";void 0!==b.data("background-color")&&(c=b.data("background-color")),void 0!==b.data("overlay-color")&&(d=b.data("overlay-color")),void 0!==b.data("overlay-type")&&(e=b.data("overlay-type")),"background_overlay"===e?(b.on("mouseenter",function(){a(this).find(".eltd-ib-overlay").css("background-color",d)}),b.on("mouseleave",function(){a(this).find(".eltd-ib-overlay").css("background-color",c)})):"border_overlay"===e&&(b.on("mouseenter",function(){a(this).find(".eltd-ib-overlay").css("border-color",d)}),b.on("mouseleave",function(){a(this).find(".eltd-ib-overlay").css("border-color",c)}))})}function ia(){var b=a(".eltd-product-list-holder.eltd-product-list-with-filter");b.length&&b.each(function(){ja(a(this))})}function ja(a){var b=a.find(".eltd-product-list-filter li"),c=b.data("class");c="."+c;var d=a.find(".eltd-product-list-items ");d.mixItUp({callbacks:{onMixLoad:function(){d.find("li.product").css("visibility","visible")},onMixStart:function(){d.find("li.product").css("visibility","visible")},onMixBusy:function(){d.find("li.product").css("visibility","visible")},onMixEnd:function(){eltd.modules.common.eltdInitParallax()}},selectors:{filter:c}}),b.first().addClass("active")}function ka(){var b=a(".eltd-video-button-play");b.length&&b.each(function(){var b=a(this),c=function(a){a.data.button.css("color",a.data.color),a.data.button.css("border-color",a.data.color)},d=b.css("color"),e=b.data("hover-color");b.on("mouseenter",{button:b,color:e},c),b.on("mouseleave",{button:b,color:d},c)})}function la(){var b=a(".eltd-interactive-elements-holder");b.length&&b.each(function(){var b,c=a(this);c.hasClass("eltd-animation-to-left")&&(b="left"),c.hasClass("eltd-animation-to-right")&&(b="right");var d=c.attr("class").match(/mode[\w-]*\b/).toString(),e=parseInt(d.substr(5));if(eltd.windowWidth>=e){if("left"==b){var f=c.find(".eltd-interactive-elements-holder-right-item");f.wrapAll('
    ');var g=f.find(".eltd-interactive-elements-holder-item-content-inner")}else if("right"==b){var f=c.find(".eltd-interactive-elements-holder-left-item");f.wrapAll('
    ');var g=f.find(".eltd-interactive-elements-holder-item-content-inner")}var h=g.width();g.css("width",h),c.animate({opacity:1})}else c.css("opacity","1")})}function ma(){var b=a(".eltd-section-title .eltd-typed");b.length&&b.each(function(){var b,c=a(this),d=c.parent(".eltd-typed-wrap"),e=d.attr("data-loop"),f=c.find(".eltd-typed-strings:first-child").text(),g=c.find(".eltd-typed-strings:nth-child(2)").text(),h=c.find(".eltd-typed-strings:last-child").text();g.trim()&&h.trim()||(b=[f]),!h.trim()&&g.length&&(b=[f,g]),f.length&&g.length&&h.length&&(b=[f,g,h]),e="yes"==e,d.appear(function(){d.addClass("eltd-typing"),setTimeout(function(){c.typed({strings:b,typeSpeed:60,backDelay:700,loop:e,contentType:"text",loopCount:!0,cursorChar:""})},1800)})})}function na(){var b=a(".eltd-workflow");b.length&&!a("html").hasClass("touch")&&b.each(function(){var b=a(this);if(b.hasClass("eltd-workflow-animate")){b.find(".eltd-workflow-item").each(function(c){var d=a(this);b.appear(function(){setTimeout(function(){d.addClass("eltd-appeared")},300*c)},{accX:0,accY:eltdGlobalVars.vars.eltdElementAppearAmount})})}}),b.length&&b.each(function(){var b=a(this),c="";void 0!==b.data("line-color")&&(c=b.data("line-color"),a(this).find(".eltd-workflow-line").css("background-color",c))})}function oa(){eltd.body.hasClass("eltd-vertical-split-screen-initialized")&&(eltd.body.removeClass("eltd-vertical-split-screen-initialized"),a.fn.multiscroll.destroy());var b="";if(eltd.body.hasClass("eltd-light-header")?b="light":eltd.body.hasClass("eltd-dark-header")&&(b="dark"),a(".eltd-vertical-split-slider").length){var c=a(".eltd-vertical-split-slider");c.height(eltd.windowHeight).animate({opacity:1},300),c.multiscroll({scrollingSpeed:700,easing:"easeInOutQuart",navigation:!0,useAnchorsOnLoad:!1,sectionSelector:".eltd-vss-ms-section",leftSelector:".eltd-vss-ms-left",rightSelector:".eltd-vss-ms-right",afterRender:function(){pa(a(".eltd-vss-ms-right .eltd-vss-ms-section:last-child").data("header-style"),b),eltd.body.addClass("eltd-vertical-split-screen-initialized");var d=a("div.wpcf7 > form");d.length&&d.each(function(){var b=a(this);b.find(".wpcf7-submit").off().on("click",function(a){a.preventDefault(),wpcf7.submit(b)})});var e=a("
    ");c.after(e);for(var f=a(".eltd-vertical-split-slider .eltd-vss-ms-left > div"),h=a(".eltd-vertical-split-slider .eltd-vss-ms-right > div"),i=0;i"),d.length&&a("head").append(d)})}function ra(){var b=a(".eltd-interactive-elements-holder-wrapper");b.length&&b.each(function(){var b=a(this),c=b.find(".eltd-interactive-elements-holder-item"),d="",e="";c.each(function(){var b=a(this),c="",d="",f="",g="",h="",i="",j="";void 0!==b.data("item-class")&&!1!==b.data("item-class")&&(c=b.data("item-class")),void 0!==b.data("1280-1600")&&!1!==b.data("1280-1600")&&(d=b.data("1280-1600")),void 0!==b.data("1024-1280")&&!1!==b.data("1024-1280")&&(f=b.data("1024-1280")),void 0!==b.data("768-1024")&&!1!==b.data("768-1024")&&(g=b.data("768-1024")),void 0!==b.data("600-768")&&!1!==b.data("600-768")&&(h=b.data("600-768")),void 0!==b.data("480-600")&&!1!==b.data("480-600")&&(i=b.data("480-600")),void 0!==b.data("480")&&!1!==b.data("480")&&(j=b.data("480")),(d.length||f.length||g.length||h.length||i.length||j.length)&&(d.length&&(e+="@media only screen and (min-width: 1280px) and (max-width: 1600px) {.eltd-interactive-elements-holder-item-content."+c+" { padding: "+d+" !important; } }"),f.length&&(e+="@media only screen and (min-width: 1024px) and (max-width: 1280px) {.eltd-interactive-elements-holder-item-content."+c+" { padding: "+f+" !important; } }"),g.length&&(e+="@media only screen and (min-width: 768px) and (max-width: 1024px) {.eltd-interactive-elements-holder-item-content."+c+" { padding: "+g+" !important; } }"),h.length&&(e+="@media only screen and (min-width: 600px) and (max-width: 768px) {.eltd-interactive-elements-holder-item-content."+c+" { padding: "+h+" !important; } }"),i.length&&(e+="@media only screen and (min-width: 480px) and (max-width: 600px) {.eltd-interactive-elements-holder-item-content."+c+" { padding: "+i+" !important; } }"),j.length&&(e+="@media only screen and (max-width: 480px) {.eltd-interactive-elements-holder-item-content."+c+" { padding: "+j+" !important; } }"))}),e.length&&(d='"),d.length&&a("head").append(d)})}function sa(){a.fn.preloader=function(b,c){if(b&&"destroy"==b)this.find(".eltd-preloader").remove();else{var d=a('
    ');a('').appendTo(d),d.appendTo(this),"function"==typeof c&&c()}return this},a('.eltd-lazy-image[data-image][data-lazy="true"]:not(.lazyLoading)').each(function(b,c){c=a(c),c.attr("data-ratio")&&c.height(c.width()*c.data("ratio"));var d=c[0].getBoundingClientRect(),e=eltd.windowHeight||document.documentElement.clientHeight,f=eltd.windowWidth||document.documentElement.clientWidth,g=c.outerHeight(),h=c.outerWidth();if((0!=d.top||0!=d.right||0!=d.bottom||0!=d.left)&&(d.top>=0||d.top+g>=0)&&d.bottom>=0&&d.bottom-g-e<=0&&(d.left>=0||d.left+h>=0)&&d.right>=0&&d.right-h-f<=0){var i=null,j=!1,k=c.closest(".eltd-lazy-appear");k.length?(i=k.parent(),j=!0):i="IMG"==c.prop("tagName")?c.parent():c,i&&i.preloader("init"),c.addClass("lazyLoading");var l=new Image;a(l).on("load",function(){switch(i.preloader("destroy"),c.removeAttr("data-image").removeData("image").removeAttr("data-lazy").removeData("lazy").removeClass("lazyLoading"),j&&!a("html").hasClass("touch")&&k.addClass("eltd-lazy-appeared"),c.prop("tagName")){case"IMG":c.attr("src",a(this).attr("src")),c.height("auto");break;case"DIV":default:c.css("background-image","url("+a(this).attr("src")+")")}}).attr("src",c.data("image"))}})}function ta(){var b=a(".eltd-cards-gallery-holder");b.length&&b.each(function(){var b=a(this),c=b.find(".card");b.find(".fake_card");c.each(function(){var d=a(this);d.on("click",function(){if(!c.last().is(d))return d.fadeOut(0,function(){d.addClass("eltd-transform-y"),d.insertAfter(c.last()).fadeIn(200,"easeInOutQuint",function(){d.removeClass("eltd-transform-y")}),c=b.find(".card")}),!1})})})}function ua(){var b=a(".eltd-interactive-images");if(b.length&&!a("html").hasClass("touch")){var c=b.find(".eltd-interactive-image");if(b.hasClass("eltd-tile-hover-effect")&&c.each(function(){var b,c,d=a(this),e=!1;d.on("mouseenter",function(){e||d.find("[data-lazy=true]").length||(d.addClass("eltd-hovered"),clearTimeout(c),b=setTimeout(function(){e=!0},800))}),d.on("mouseleave",function(){e&&!d.find("[data-lazy=true]").length?(d.removeClass("eltd-hovered"),e=!1):(clearTimeout(b),c=setTimeout(function(){d.removeClass("eltd-hovered"),e=!1},800))})}),b.hasClass("eltd-appear-effect"))if(b.filter(".eltd-appear-effect").find(".eltd-interactive-image").addClass("eltd-lazy-appear"),b.hasClass("eltd-one-by-one")){var d=0,e=0;c.each(function(){a(this).parent().offset().top==b.offset().top&&d++}),c.appear(function(){var b=a(this);e==d&&(e=0),setTimeout(function(){b.addClass("eltd-appeared")},200*e),e++},{accX:0,accY:eltdGlobalVars.vars.eltdElementAppearAmount})}else b.hasClass("eltd-randomize")&&b.appear(function(){var b=c.length,d=function(a){for(var c=new Array,d=0;d0?--d:c.push(e)}return c}();c.each(function(b){var c=a(this);c.appear(function(){setTimeout(function(){c.addClass("eltd-appeared")},35*d[b])})})},{accX:0,accY:eltdGlobalVars.vars.eltdElementAppearAmount})}}function va(){var b=a(".eltd-parallax-images");b.length&&(a("html").hasClass("touch")||b.appear(function(){a(this).addClass("eltd-appeared")}),b.hasClass("eltd-image-parallax-hover-effect")&&!a("html").hasClass("touch")&&b.each(function(){var b,c,d,e,f,g,h,i,j,k=a(this),l=k.find(".eltd-parallax-images-holder-inner"),m=l.find("> div > div"),n=0,o=!0;m.mouseenter(function(){var k=a(this);b=k.outerWidth(),c=k.outerHeight(),d=k.offset().top,e=k.offset().left,f=0,g=0,k.css("transition","none"),j=setTimeout(function(){o=!1},200),k.mousemove(function(a){if(o)a.stopPropagation();else{f=a.pageX-e,g=a.pageY-d,h=(b/2-f)/b*2*n,i=(c/2-g)/c*2*n;var j="translateX("+h+"px) translateY("+i+"px) translateZ(0)";k.css("transform",j),n<8&&(n+=.3)}})}),m.mouseleave(function(){var b=a(this);n=0,o=!0,b.css("transition","all .45s cubic-bezier(0.19, 0.65, 0.02, 0.93)"),b.css("transform","translate3d(0,0,0)")})}),b.hasClass("eltd-image-fade-effect")&&!a("html").hasClass("touch")&&b.each(function(){var b=a(this),c=b.find(".eltd-parallax-images-holder-inner"),d=c.find("> div > div");d.mouseenter(function(){a(this).addClass("eltd-current"),d.not(".eltd-current").addClass("eltd-fade")}),d.mouseleave(function(){a(this);d.removeClass("eltd-current").removeClass("eltd-fade")})}),b.hasClass("eltd-image-parallax-scroll-effect")&&b.each(function(){a(this).appear(function(){wa()})}))}function wa(){a("html").hasClass("touch")||(eltd.body.hasClass("eltd-skrollr-set")?window.eltdSkrollr.refresh():(window.eltdSkrollr=skrollr.init({forceHeight:!1,smoothScrolling:!1}),eltd.body.addClass("eltd-skrollr-set")))}function xa(){var b=a(".eltd-parallax-section"),c=a(".eltd-parallax-section-item");b.length&&c.length&&(c.each(function(){var b=a(this),c=b.find(".eltd-psi-images-holder"),d=(c.find(".eltd-psi-narrow-image"),c.find(".eltd-psi-wide-image"));b.hasClass("eltd-psi-horizontal")&&(b.waitForImages(function(){c.css("padding-bottom",d.height(),function(){})}),a(window).resize(function(){c.css("padding-bottom",d.height())})),a("html").hasClass("touch")||b.appear(function(){b.addClass("eltd-appeared")},{accX:0,accY:eltdGlobalVars.vars.eltdElementAppearAmount})}),b.waitForImages(function(){b.each(function(){a(this).appear(function(){wa()})})}))}function ya(){var b=a(".eltd-processes-holder.eltd-appear-effect-yes");b.length&&!a("html").hasClass("touch")&&b.each(function(){var b=a(this),c=b.find(".eltd-process");b.appear(function(){c.each(function(b){var c=a(this);setTimeout(function(){c.addClass("eltd-appeared")},400*b)})},{accX:0,accY:eltdGlobalVars.vars.eltdElementAppearAmount})})}var za={};eltd.modules.shortcodes=za,za.eltdInitCounter=f,za.eltdInitProgressBars=g,za.eltdInitCountdown=l,za.eltdInitMessages=j,za.eltdInitMessageHeight=k,za.eltdInitTestimonials=n,za.eltdInitCarousels=o,za.eltdInitPieChart=q,za.eltdInitProcess=p,za.eltdInitPieChartDoughnut=s,za.eltdInitTabs=t,za.eltdInitTabIcons=u,za.eltdInitBlogListMasonry=v,za.eltdInitBlogListPinboard=w,za.eltdCustomFontResize=z,za.eltdInitImageGallery=E,za.eltdInitAccordions=D,za.eltdShowGoogleMap=A,za.eltdInitPortfolioListMasonry=J,za.eltdInitPortfolioListPinterest=N,za.eltdInitPortfolio=F,za.eltdPortfolioTiledGallery=H,za.eltdInitPortfolioMasonryFilter=P,za.eltdInitPortfolioSlider=Q,za.eltdInitPortfolioLoadMore=R,za.eltdInitPortfolioStandardPag=S,za.eltdCheckSliderForHeaderStyle=ba,za.eltdInitBlogCarousel=ca,za.eltdInitBlogSlider=da,za.eltdInitProductSlider=ea,za.eltdInitProductCarousel=fa,za.eltdInitPricingTable=ga,za.eltdProductListFilter=ia,za.eltdPtfFilterAnimation=U,za.eltdIconWithTextHover=m,za.eltdInitPortfolioAppear=T,za.eltdInitInteractiveElementsHolder=la,za.eltdTypeOutSectionTitle=ma,za.eltdDisplayVerticalTabs=h,za.eltdWorkflow=na,za.eltdOnDocumentReady=b,za.eltdOnWindowLoad=c,za.eltdOnWindowResize=d,za.eltdOnWindowScroll=e,za.eltdInitVerticalSplitSlider=oa,za.eltdInitElementsHolderResponsiveStyle=qa,za.eltdInitInteractiveElementsHolderResponsiveStyle=ra,za.eltdCardsGallery=ta,za.eltdInfoBoxHover=ha,za.eltdLazyImages=sa,za.eltdInitInteractiveImages=ua,za.eltdInitParallaxImages=va,za.eltdSkrollr=wa,za.eltdInitParallaxSection=xa,za.eltdProcessAppearEffect=ya,a(document).ready(b),a(window).on("load",c),a(window).resize(d),a(window).scroll(e);var Aa=eltd.modules.shortcodes.eltdIcon=function(){var b=a(".eltd-icon-shortcode"),c=function(a){a.hasClass("eltd-icon-animation")&&a.appear(function(){a.parent(".eltd-icon-animation-holder").addClass("eltd-icon-animation-show")},{accX:0,accY:eltdGlobalVars.vars.eltdElementAppearAmount})},d=function(a){if(void 0!==a.data("hover-color")){var b=function(a){a.data.icon.css("color",a.data.color)},c=a.find(".eltd-icon-element"),d=a.data("hover-color"),e=c.css("color");""!==d&&(a.on("mouseenter",{icon:c,color:d},b),a.on("mouseleave",{icon:c,color:e},b))}},e=function(a){if(void 0!==a.data("hover-background-color")){var b=function(a){a.data.icon.css("background-color",a.data.color)},c=a.data("hover-background-color"),d=a.css("background-color");""!==c&&(a.on("mouseenter",{icon:a,color:c},b),a.on("mouseleave",{icon:a,color:d},b))}},f=function(a){if(void 0!==a.data("hover-border-color")){var b=function(a){a.data.icon.css("border-color",a.data.color)},c=a.data("hover-border-color"),d=a.css("border-color");""!==c&&(a.on("mouseenter",{icon:a,color:c},b),a.on("mouseleave",{icon:a,color:d},b))}};return{init:function(){b.length&&b.each(function(){c(a(this)),d(a(this)),e(a(this)),f(a(this))})}}},Ba=eltd.modules.shortcodes.eltdSocialIconWidget=function(){var b=a(".eltd-social-icon-widget-holder"),c=function(a){if(void 0!==a.data("hover-color")){var b=function(a){a.data.icon.css("color",a.data.color)},c=a,d=a.data("hover-color"),e=c.css("color");""!==d&&(a.on("mouseenter",{icon:c,color:d},b),a.on("mouseleave",{icon:c,color:e},b))}};return{init:function(){b.length&&b.each(function(){c(a(this))})}}},Ca=eltd.modules.shortcodes.eltdButton=function(){var b=a(".eltd-btn"),c=function(a){if(void 0!==a.data("hover-color")){var b=function(a){a.data.button.css("color",a.data.color)},c=a.css("color"),d=a.data("hover-color");a.on("mouseenter",{button:a,color:d},b),a.on("mouseleave",{button:a,color:c},b)}},d=function(a){if(void 0!==a.data("hover-bg-color")){var b=a.data("hover-bg-color");a.find(".eltd-btn-overlay").css("background-color",b)}},e=function(a){if(void 0!==a.data("hover-border-color")){var b=function(a){a.data.button.css("border-color",a.data.color)},c=a.css("borderTopColor"),d=a.data("hover-border-color");a.on("mouseenter",{button:a,color:d},b),a.on("mouseleave",{button:a,color:c},b)}};return{init:function(){b.length&&b.each(function(){c(a(this)),d(a(this)),e(a(this))})}}},Da=eltd.modules.shortcodes.eltdSlider=function(){var b=a(".eltd-slider .carousel"),c=/url\(["']?([^'")]+)['"]?\)/,d={zoom_center:"1.2, 0, 0, 1.2, 0, 0",zoom_top_left:"1.2, 0, 0, 1.2, -150, -150",zoom_top_right:"1.2, 0, 0, 1.2, 150, -150",zoom_bottom_left:"1.2, 0, 0, 1.2, -150, 150",zoom_bottom_right:"1.2, 0, 0, 1.2, 150, 150"},e=/\([0-9epx\.\, \t\-]+/gi,f=function(a){return a.match(e)[0].substr(1).split(",").map(function(a){return parseFloat(a)})},g=["transform","-webkit-transform"],h=function(a){var b=null;return g.some(function(c){return null!==(b=a.css(c))&&""!==b}),b=b&&"none"!==b?b:"matrix(1,0,0,1,0,0)",f(b)},i=function(a,b){for(var c="matrix("+b.join(",")+")",d=g.length-1;d>=0;--d)a.css(g[d],c+" rotate(0.01deg)")},j=function(a,b,c){return a+c/100*(b-a)};a.fn.transformAnimate=function(b){var c={transform:"matrix(1,0,0,1,0,0)"};a.extend(c,b),this.css("percentAnim",0);var d=h(this),e=f(c.transform);return c.step=function(c,f){var g=a(this),h=d.map(function(a,b){ return j(a,e[b],c)});i(g,h),b.step&&b.step.apply(this,[h,f])},this.stop().animate({percentAnim:100},c)};var k=function(a,b,c,d){var e=b;d||(eltd.windowWidth>c[0]?e=b:eltd.windowWidth>c[1]?e=.75*b:eltd.windowWidth>c[2]?e=.6*b:eltd.windowWidth>c[3]?e=.55*b:eltd.windowWidth<=c[3]&&(e=.45*b)),a.css({height:e+"px"}),a.find(".eltd-slider-preloader").css({height:e+"px"}),a.find(".eltd-slider-preloader .eltd-ajax-loader").css({display:"block"}),a.find(".item").css({height:e+"px"}),0===eltdPerPageVars.vars.eltdStickyScrollAmount&&(eltd.modules.header.stickyAppearAmount=e)},l=function(b){var c=eltd.windowWidth<1025?eltdGlobalVars.vars.eltdMobileHeaderHeight+a(".eltd-top-bar").height():0,d=parseInt(a("body.eltd-paspartu-enabled .eltd-wrapper").css("padding-top"));(void 0===d||null===d||isNaN(d))&&(d=0);var e=parseInt(a("body.eltd-paspartu-enabled .eltd-wrapper").css("padding-bottom"));(void 0===e||null===e||isNaN(e))&&(e=0);var f=d+e,g=a("body.eltd-header-centered .eltd-page-header").outerHeight()/2;(void 0===g||null===g||isNaN(g))&&(g=0),g=eltd.windowWidth>1024?g:0;var h=c+f+g;b.css({height:eltd.windowHeight-h+"px"}),b.find(".eltd-slider-preloader").css({height:eltd.windowHeight-h+"px"}),b.find(".eltd-slider-preloader .eltd-ajax-loader").css({display:"block"}),b.find(".item").css({height:eltd.windowHeight-h+"px"}),0===eltdPerPageVars.vars.eltdStickyScrollAmount&&(eltd.modules.header.stickyAppearAmount=eltd.windowHeight)},m=function(b){b.find(".eltd-slide-element-text-small, .eltd-slide-element-text-normal, .eltd-slide-element-text-large, .eltd-slide-element-text-extra-large").each(function(){var b=a(this);void 0===b.data("default-font-size")&&b.data("default-font-size",parseInt(b.css("font-size"),10)),void 0===b.data("default-line-height")&&b.data("default-line-height",parseInt(b.css("line-height"),10)),void 0===b.data("default-letter-spacing")&&b.data("default-letter-spacing",parseInt(b.css("letter-spacing"),10))}),b.find(".eltd-slide-element-responsive-text").each(function(){void 0===a(this).data("default-font-size")&&a(this).data("default-font-size",parseInt(a(this).css("font-size"),10)),void 0===a(this).data("default-line-height")&&a(this).data("default-line-height",parseInt(a(this).css("line-height"),10)),void 0===a(this).data("default-letter-spacing")&&a(this).data("default-letter-spacing",parseInt(a(this).css("letter-spacing"),10))}),b.find(".eltd-slide-element-responsive-button").each(function(){void 0===a(this).data("default-font-size")&&a(this).data("default-font-size",parseInt(a(this).find("a").css("font-size"),10)),void 0===a(this).data("default-line-height")&&a(this).data("default-line-height",parseInt(a(this).find("a").css("line-height"),10)),void 0===a(this).data("default-letter-spacing")&&a(this).data("default-letter-spacing",parseInt(a(this).find("a").css("letter-spacing"),10)),void 0===a(this).data("default-ver-padding")&&a(this).data("default-ver-padding",parseInt(a(this).find("a").css("padding-top"),10)),void 0===a(this).data("default-hor-padding")&&a(this).data("default-hor-padding",parseInt(a(this).find("a").css("padding-left"),10))}),b.find(".eltd-slide-element").each(function(){var b=a(this);void 0===b.data("default-margin-top")&&b.data("default-margin-top",parseInt(b.css("margin-top"),10)),void 0===b.data("default-margin-bottom")&&b.data("default-margin-bottom",parseInt(b.css("margin-bottom"),10)),void 0===b.data("default-margin-left")&&b.data("default-margin-left",parseInt(b.css("margin-left"),10)),void 0===b.data("default-margin-right")&&b.data("default-margin-right",parseInt(b.css("margin-right"),10))}),n(b)},n=function(b){var c={mobile:600,tabletp:800,tabletl:1024,laptop:1440};b.find(".eltd-slider-elements-container").each(function(){var b=a(this),d=b.filter(".eltd-custom-elements").add(b.not(".eltd-custom-elements").find(".eltd-slider-elements-holder-frame")).not(".eltd-grid");d.length&&(c.mobile>=eltd.windowWidth&&void 0!==b.attr("data-width-mobile")?d.css("width",b.data("width-mobile")+"%"):c.tabletp>=eltd.windowWidth&&void 0!==b.attr("data-width-tablet-p")?d.css("width",b.data("width-tablet-p")+"%"):c.tabletl>=eltd.windowWidth&&void 0!==b.attr("data-width-tablet-l")?d.css("width",b.data("width-tablet-l")+"%"):c.laptop>=eltd.windowWidth&&void 0!==b.attr("data-width-laptop")?d.css("width",b.data("width-laptop")+"%"):void 0!==b.attr("data-width-desktop")&&d.css("width",b.data("width-desktop")+"%"))}),b.find(".item").each(function(){var b=a(this),d=b.find(".eltd-slider-elements-holder-frame").data("default-width"),e=b.find(".eltd-slide-element");e.each(function(){var b,e=a(this),f=e.data("default-margin-top"),g=e.data("default-margin-bottom"),h=e.data("default-margin-left"),i=e.data("default-margin-right"),j=void 0!==e.data("resp-scale")?e.data("resp-scale"):void 0;b=c.mobile>=eltd.windowWidth?void 0===j?eltd.windowWidth/d:parseFloat(j.mobile):c.tabletp>=eltd.windowWidth?void 0===j?eltd.windowWidth/d:parseFloat(j.tabletp):c.tabletl>=eltd.windowWidth?void 0===j?eltd.windowWidth/d:parseFloat(j.tabletl):c.laptop>=eltd.windowWidth?void 0===j?eltd.windowWidth/d:parseFloat(j.laptop):void 0===j?eltd.windowWidth/d:parseFloat(j.desktop),e.css({"margin-top":Math.round(b*f)+"px","margin-bottom":Math.round(b*g)+"px","margin-left":Math.round(b*h)+"px","margin-right":Math.round(b*i)+"px"})}),e.filter(".eltd-slide-element-responsive-text, .eltd-slide-element-responsive-button, .eltd-slide-element-responsive-image").add(e.find("a.eltd-slide-element-responsive-text, span.eltd-slide-element-responsive-text")).each(function(){var b,e,f,g=a(this),h=void 0!==g.data("resp-scale")?g.data("resp-scale"):void 0,i=void 0!==g.data("resp-left")?g.data("resp-left"):void 0,j=void 0!==g.data("resp-top")?g.data("resp-top"):void 0;if(c.mobile>=eltd.windowWidth?(b=void 0===h?eltd.windowWidth/d:parseFloat(h.mobile),e=void 0===i?void 0!==g.data("left")?g.data("left")+"%":"":""!=i.mobile?i.mobile+"%":g.data("left")+"%",f=void 0===j?void 0!==g.data("top")?g.data("top")+"%":"":""!=j.mobile?j.mobile+"%":g.data("top")+"%"):c.tabletp>=eltd.windowWidth?(b=void 0===h?eltd.windowWidth/d:parseFloat(h.tabletp),e=void 0===i?void 0!==g.data("left")?g.data("left")+"%":"":""!=i.tabletp?i.tabletp+"%":g.data("left")+"%",f=void 0===j?void 0!==g.data("top")?g.data("top")+"%":"":""!=j.tabletp?j.tabletp+"%":g.data("top")+"%"):c.tabletl>=eltd.windowWidth?(b=void 0===h?eltd.windowWidth/d:parseFloat(h.tabletl),e=void 0===i?void 0!==g.data("left")?g.data("left")+"%":"":""!=i.tabletl?i.tabletl+"%":g.data("left")+"%",f=void 0===j?void 0!==g.data("top")?g.data("top")+"%":"":""!=j.tabletl?j.tabletl+"%":g.data("top")+"%"):c.laptop>=eltd.windowWidth?(b=void 0===h?eltd.windowWidth/d:parseFloat(h.laptop),e=void 0===i?void 0!==g.data("left")?g.data("left")+"%":"":""!=i.laptop?i.laptop+"%":g.data("left")+"%",f=void 0===j?void 0!==g.data("top")?g.data("top")+"%":"":""!=j.laptop?j.laptop+"%":g.data("top")+"%"):(b=void 0===h?eltd.windowWidth/d:parseFloat(h.desktop),e=void 0===i?void 0!==g.data("left")?g.data("left")+"%":"":""!=i.desktop?i.desktop+"%":g.data("left")+"%",f=void 0===j?void 0!==g.data("top")?g.data("top")+"%":"":""!=j.desktop?j.desktop+"%":g.data("top")+"%"),b){g.show();var k,l,m,n,o;if(g.is(".eltd-slide-element-responsive-button"))k=g.data("default-font-size"),l=g.data("default-line-height"),m=g.data("default-letter-spacing"),n=g.data("default-ver-padding"),o=g.data("default-hor-padding"),g.css({left:e,top:f}).find(".eltd-btn").css({"font-size":Math.round(b*k)+"px","line-height":Math.round(b*l)+"px","letter-spacing":Math.round(b*m)+"px","padding-left":Math.round(b*o)+"px","padding-right":Math.round(b*o)+"px","padding-top":Math.round(b*n)+"px","padding-bottom":Math.round(b*n)+"px"});else if(g.is(".eltd-slide-element-responsive-image"))if(b!=eltd.windowWidth/d){var p=g.data("upload-width"),q=g.data("upload-height");g.filter(".custom-image").css({left:e,top:f}).add(g.not(".custom-image").find("img")).css({width:Math.round(b*p)+"px",height:Math.round(b*q)+"px"})}else{var r=g.data("width");g.filter(".custom-image").css({left:e,top:f}).add(g.not(".custom-image").find("img")).css({width:r+"%",height:""})}else k=g.data("default-font-size"),l=g.data("default-line-height"),m=g.data("default-letter-spacing"),g.css({left:e,top:f,"font-size":Math.round(b*k)+"px","line-height":Math.round(b*l)+"px","letter-spacing":Math.round(b*m)+"px"})}else g.hide()})});var d=b.find(".carousel-indicators");b.find(".eltd-slide-element-section-link").css("bottom",d.length?parseInt(d.css("bottom"),10)+d.outerHeight()+10+"px":"20px")},o=function(b){b.find(".item").each(function(){var b=a(this).find(".eltd-slide-element-button-inline");b.css("display","inline-block").wrapAll('
    ')})},p=function(b){var c=[1600,1200,900,650,500,320];if(m(b),b.hasClass("eltd-full-screen"))l(b),a(window).resize(function(){l(b),n(b)});else if(b.hasClass("eltd-responsive-height")){var d=b.data("height");k(b,d,c,!1),a(window).resize(function(){k(b,d,c,!1),n(b)})}else{var d=b.data("height");b.find(".eltd-slider-preloader").css({height:b.height()+"px"}),b.find(".eltd-slider-preloader .eltd-ajax-loader").css({display:"block"}),eltd.windowWidth<1025?k(b,d,c,!1):k(b,d,c,!0),a(window).resize(function(){eltd.windowWidth<1025?k(b,d,c,!1):k(b,d,c,!0),n(b)})}},q=function(a,b,c){1==b?(a.find(".left.carousel-control .prev").html(c),a.find(".right.carousel-control .next").html(b+1)):b==c?(a.find(".left.carousel-control .prev").html(b-1),a.find(".right.carousel-control .next").html(1)):(a.find(".left.carousel-control .prev").html(b-1),a.find(".right.carousel-control .next").html(b+1))},r=function(b){var c=1500;b.find(".item .eltd-video .eltd-video-wrap").each(function(){var b=eltd.windowWidth,d=a(this).closest(".carousel").height();a(this).width(b),c=1920/1080*(d+20),a(this).height(d);var e=b/1920,f=(d-eltdGlobalVars.vars.eltdMenuAreaHeight)/1080,g=f;e>f&&(g=e),1920*g
    ');var h=b.find(".eltd-slider-peeker"),i=b.find(".carousel-control"),j=b.find(".carousel-indicators > li");i.on("mouseenter",function(){d(a(this),!0)}).on("mouseleave",function(){d(a(this),!1)}),j.on("mouseenter",function(){e(a(this),!0)}).on("mouseleave",function(){e(a(this),!1)}),b.on("slide.bs.carousel",function(){setTimeout(function(){h.addClass("eltd-slide-peek-in-progress").removeClass("shown")},500)}),b.on("slid.bs.carousel",function(){i.filter(".hovered").each(function(){d(a(this),!0)}),setTimeout(function(){j.filter(".hovered").each(function(){e(a(this),!0)})},200),h.removeClass("eltd-slide-peek-in-progress")})}},u=function(b){if(b.hasClass("eltd-slider-thumbs")){var d,e,f,g=b.find(".item").length,h=b.find(".item").index(a(".item.active")[0])+1;q(b,h,g),b.find(".item.active").prev(".item").length?(b.find(".item.active").prev("div").find(".eltd-image").length?(d=c.exec(b.find(".active").prev("div").find(".eltd-image").attr("style")),e=new Image,e.src=d[1]):(e=b.find(".active").prev("div").find("> .eltd-video").clone(),e.find(".eltd-video-overlay, .mejs-offscreen").remove(),e.find(".eltd-video-wrap").width(150).height(84),e.find(".mejs-container").width(150).height(84),e.find("video").width(150).height(84)),b.find(".left.carousel-control .img .old").fadeOut(300,function(){a(this).remove()}),b.find(".left.carousel-control .img").append(e).find("div.thumb-image, > img, div.eltd-video").fadeIn(300).addClass("old")):(b.find(".carousel-inner .item:last-child .eltd-image").length?(d=c.exec(b.find(".carousel-inner .item:last-child .eltd-image").attr("style")),e=new Image,e.src=d[1]):(e=b.find(".carousel-inner .item:last-child > .eltd-video").clone(),e.find(".eltd-video-overlay, .mejs-offscreen").remove(),e.find(".eltd-video-wrap").width(150).height(84),e.find(".mejs-container").width(150).height(84),e.find("video").width(150).height(84)),b.find(".left.carousel-control .img .old").fadeOut(300,function(){a(this).remove()}),b.find(".left.carousel-control .img").append(e).find("div.thumb-image, > img, div.eltd-video").fadeIn(300).addClass("old")),b.find(".active").next("div.item").length?(b.find(".active").next("div").find(".eltd-image").length?(d=c.exec(b.find(".active").next("div").find(".eltd-image").attr("style")),f=new Image,f.src=d[1]):(f=b.find(".active").next("div").find("> .eltd-video").clone(),f.find(".eltd-video-overlay, .mejs-offscreen").remove(),f.find(".eltd-video-wrap").width(150).height(84),f.find(".mejs-container").width(150).height(84),f.find("video").width(150).height(84)),b.find(".right.carousel-control .img .old").fadeOut(300,function(){a(this).remove()}),b.find(".right.carousel-control .img").append(f).find("div.thumb-image, > img, div.eltd-video").fadeIn(300).addClass("old")):(b.find(".carousel-inner .item:first-child .eltd-image").length?(d=c.exec(b.find(".carousel-inner .item:first-child .eltd-image").attr("style")),f=new Image,f.src=d[1]):(f=b.find(".carousel-inner .item:first-child > .eltd-video").clone(),f.find(".eltd-video-overlay, .mejs-offscreen").remove(),f.find(".eltd-video-wrap").width(150).height(84),f.find(".mejs-container").width(150).height(84),f.find("video").width(150).height(84)),b.find(".right.carousel-control .img .old").fadeOut(300,function(){a(this).remove()}),b.find(".right.carousel-control .img").append(f).find("div.thumb-image, > img, div.eltd-video").fadeIn(300).addClass("old"))}},v=function(b,c,e){b.find(".carousel-inner .item:first-child").addClass("active"),ba(a(".carousel .active"),b.hasClass("eltd-header-effect")),b.hasClass("eltd-slider-numbers")&&q(b,1,c),b.find(".item video").length&&s(b),u(b),t(b),b.find(".eltd-slide-element-wrapper-link").mouseenter(function(){a(this).removeClass("inheriting")}).mouseleave(function(){a(this).addClass("inheriting")}),b.hasClass("eltd-auto-start")?(b.carousel({interval:e,pause:!1}),b.find(".slide_buttons_holder .qbutton").mouseenter(function(){b.carousel("pause")}).mouseleave(function(){b.carousel("cycle")})):b.carousel({interval:0,pause:!1}),a(window).scroll(function(){b.hasClass("eltd-full-screen")&&eltd.scroll>eltd.windowHeight&&eltd.windowWidth>1024?b.carousel("pause"):!b.hasClass("eltd-full-screen")&&eltd.scroll>b.height()&&eltd.windowWidth>1024?b.carousel("pause"):b.carousel("cycle")}),a(".carousel-inner .item:first-child").hasClass("eltd-animate-image")&&eltd.windowWidth>1024&&b.find(".carousel-inner .item.eltd-animate-image:first-child .eltd-image").transformAnimate({transform:"matrix("+d[a(".carousel-inner .item:first-child").data("eltd_animate_image")]+")",duration:3e4})};return{init:function(){if(b.length){if(b.each(function(){var b=a(this),e=b.data("slide_animation_timeout"),f=b.find(".item").length,g=!1,h=!1;if(o(b),p(b),b.find(".eltd-slide-element-highlight-bgrnd").length&&(Z(b),g=!0),b.find(".eltd-slide-element-type-out").length&&(_(b),h=!0),eltd.htmlEl.hasClass("touch")){if(b.find(".item:first-child .eltd-mobile-video-image").length>0)var i=c.exec(b.find(".item:first-child .eltd-mobile-video-image").attr("style"));else var i=c.exec(b.find(".item:first-child .eltd-image").attr("style"));if(i){var j=new Image;j.src=i[1],a(j).on("load",function(){a(".eltd-slider-preloader").fadeOut(500,function(){$(b),aa(b)}),v(b,f,e)})}}else if(b.find(".item:first-child video").length>0)b.find(".item:first-child video").eq(0).one("loadeddata",function(){a(".eltd-slider-preloader").fadeOut(500,function(){$(b),aa(b)}),v(b,f,e)});else{var i=c.exec(b.find(".item:first-child .eltd-image").attr("style"));if(i){var j=new Image;j.src=i[1],a(j).on("load",function(){a(".eltd-slider-preloader").fadeOut(500,function(){$(b),aa(b)}),v(b,f,e)})}}b.on("slide.bs.carousel",function(){b.addClass("eltd-in-progress"),b.find(".active .eltd-slider-elements-holder-frame, .active .eltd-slide-element-section-link").fadeTo(250,0)}),b.on("slid.bs.carousel",function(){if(b.removeClass("eltd-in-progress"),b.find(".active .eltd-slider-elements-holder-frame, .active .eltd-slide-element-section-link").fadeTo(0,1),b.hasClass("eltd-slider-numbers")){var c=a(".item").index(a(".item.active")[0])+1;q(b,c,f)}g&&$(b),h&&aa(b),a(".item.eltd-animate-image .eltd-image").stop().css({transform:"","-webkit-transform":""}),a(".item.active").hasClass("eltd-animate-image")&&eltd.windowWidth>1024&&a(".item.eltd-animate-image.active .eltd-image").transformAnimate({transform:"matrix("+d[a(".item.eltd-animate-image.active").data("eltd_animate_image")]+")",duration:3e4}),b.hasClass("eltd-slider-thumbs")&&u(b)}),b.swipe({swipeLeft:function(){b.carousel("next")},swipeRight:function(){b.carousel("prev")},threshold:20})}),a(".no-touch .carousel").length){skrollr.init({smoothScrolling:!1,forceHeight:!1}).refresh()}a(window).scroll(function(){a(".eltd-slider .carousel").height()eltd.windowHeight&&eltd.windowWidth>1024?a(".eltd-slider .carousel").find(".carousel-inner, .carousel-indicators").hide():!a(".eltd-slider .carousel").hasClass("eltd-full-screen")&&eltd.scroll>a(".eltd-slider .carousel").height()&&eltd.windowWidth>1024?a(".eltd-slider .carousel").find(".carousel-inner, .carousel-indicators").hide():a(".eltd-slider .carousel").find(".carousel-inner, .carousel-indicators").show()})}}}},Ea=eltd.modules.shortcodes.eltdInitIconList=function(){var b=a(".eltd-animate-list"),c=function(a){setTimeout(function(){a.appear(function(){a.addClass("eltd-appeared")},{accX:0,accY:eltdGlobalVars.vars.eltdElementAppearAmount})},30)};return{init:function(){b.length&&b.each(function(){c(a(this))})}}}}(jQuery),function(a){"use strict";function b(){g(),h(),i(),j(),f()}function c(){}function d(){j()}function e(){}function f(){var b=a(".eltd-woocommerce-single-page .images .woocommerce-product-gallery__image");b.length&&(b.children("a").attr("data-rel","prettyPhoto[woo_single_pretty_photo]"),"function"==typeof eltd.modules.common.eltdPrettyPhoto&&eltd.modules.common.eltdPrettyPhoto())}function g(){a(document).on("click",".eltd-quantity-minus, .eltd-quantity-plus",function(b){b.stopPropagation();var c,d=a(this),e=d.parent().siblings(".eltd-quantity-input"),f=parseFloat(e.attr("step")),g=parseFloat(e.attr("max")),h=!1,i=parseFloat(e.val());d.hasClass("eltd-quantity-minus")&&(h=!0),h?(c=i-f,c>=1?e.val(c):e.val(1)):(c=i+f,void 0===g?e.val(c):c>=g?e.val(g):e.val(c)),e.trigger("change")})}function h(){a(".add_to_cart_button").on("click",function(){a(this).children(".eltd-btn-text").text(eltdGlobalVars.vars.eltdAddingToCart)})}function i(){(a(".woocommerce-ordering .orderby").length||a("#calc_shipping_country").length)&&(a(".woocommerce-ordering .orderby").select2({minimumResultsForSearch:1/0}),a("#calc_shipping_country").select2()),a(".variations_form select").length&&a(".variations_form select").select2({minimumResultsForSearch:1/0})}function j(){var b=a(".eltd-shopping-cart-widget");b.length&&b.each(function(){var b=a(this),c=b.children(".eltd-shopping-cart-dropdown");c.css({"-webkit-transform":"translateX(0px)","-moz-transform":"translateX(0px)",transform:"translateX(0px)"})});var c=a(".eltd-header-centered-widget-area .widget_eltd_woocommerce_dropdown_cart.eltd-right-from-main-menu-widget .eltd-shopping-cart-widget");c.length&&c.each(function(){var b=a(this),c=b.children(".eltd-shopping-cart-dropdown"),d=c.width()-33;c.css({"-webkit-transform":"translateX("+d+"px)","-moz-transform":"translateX("+d+"px)",transform:"translateX("+d+"px)"})})}var k={};eltd.modules.woocommerce=k,k.eltdInitQuantityButtons=g,k.eltdInitSelect2=i,k.eltdInitSingleProductLightbox=f,k.eltdOnDocumentReady=b,k.eltdOnWindowLoad=c,k.eltdOnWindowResize=d,k.eltdOnWindowScroll=e,a(document).ready(b),a(window).on("load",c),a(window).resize(d),a(window).scroll(e)}(jQuery),function(a){"use strict";function b(){f().init()}function c(){f().init(),i().init(),g(),eltd.modules.common.eltdInitParallax()}function d(){g()}function e(){}function f(){var b=a(".eltd-portfolio-single-holder.masonry, .eltd-portfolio-single-holder.masonry-wide"),c=b.find(".eltd-ptf-gallery"),d=c.find(".eltd-ptf-gallery-sizer").outerWidth(),e=d/1.48+23,f=function(){d=c.find(".eltd-ptf-gallery-sizer").outerWidth(),e=d/1.48+23;var a=c.find(".eltd-ptf-gallery-item.default"),b=c.find(".eltd-ptf-img-large-height"),f=c.find(".eltd-ptf-img-large-height-width");a.css("height",e),b.css("height",Math.round(2*e)),eltd.windowWidth>600?f.css("height",Math.round(2*e)):f.css("height",e)},g=function(){c.isotope({itemSelector:".eltd-ptf-gallery-item",masonry:{columnWidth:".eltd-ptf-gallery-sizer",gutter:".eltd-ptf-gallery-gutter"}})};return{init:function(){f(),g(),a(window).resize(function(){f()})}}}function g(){var b,c=a("header.eltd-page-header").outerHeight(),d=eltd.windowWidth<1025?eltdGlobalVars.vars.eltdMobileHeaderHeight+a(".eltd-top-bar").height():0;b=eltd.windowWidth>1025?c:d;var e=a("#wpadminbar").outerHeight();"undefined"===e&&(e=0);var f=eltd.windowHeight-b-e,g=a(".eltd-portfolio-single-holder.info-slider"),h=a(".eltd-portfolio-single-holder.info-slider .eltd-portfolio-single-media");g.find(".eltd-portfolio-media").css("height",f+"px"),g.css("height",f+"px"),h.css("height",f+"px"),g.css("visibility","visible")}var h={};eltd.modules.portfolio=h,h.eltdOnDocumentReady=b,h.eltdOnWindowLoad=c,h.eltdOnWindowResize=d,h.eltdOnWindowScroll=e,h.eltdSetInfoSliderHeight=g,h.eltdPortfolioSingleMasonryImages=f,a(document).ready(b),a(window).on("load",c),a(window).resize(d),a(window).scroll(e);var i=function(){var b=a(".eltd-follow-portfolio-info .small-images.eltd-portfolio-single-holder .eltd-portfolio-info-holder, .eltd-follow-portfolio-info .small-slider.eltd-portfolio-single-holder .eltd-portfolio-info-holder, .eltd-follow-portfolio-info .masonry.eltd-portfolio-single-holder .eltd-portfolio-info-holder");if(b.length)var c=b.parent(),d=c.offset().top,e=c.height(),f=a(".eltd-portfolio-media, .eltd-ptf-gallery"),g=f.height(),h=a(".header-appear, .eltd-fixed-wrapper"),i=h.length?h.height():0;var j=function(){b.length&&g>e&&eltd.scroll>d&&b.animate({marginTop:eltd.scroll-d+eltdGlobalVars.vars.eltdAddForAdminBar+i+20})},k=function(){b.length&&g>e&&(eltd.scroll>d?eltd.scroll+i+eltdGlobalVars.vars.eltdAddForAdminBar+e+20