").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",t.proxy((function(e){var n=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(n,i.dotsSpeed)}),this)),this._overrides)this._core[e]=t.proxy(this[e],this)},s.prototype.destroy=function(){var t,e,i,n,s;for(t in s=this._core.settings,this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&s.navContainer?this._controls[e].html(""):this._controls[e].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},s.prototype.update=function(){var t,e,i=this._core.clones().length/2,n=i+this._core.items().length,s=this._core.maximum(!0),o=this._core.settings,a=o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items;if("page"!==o.slideBy&&(o.slideBy=Math.min(o.slideBy,o.items)),o.dots||"page"==o.slideBy)for(this._pages=[],t=i,e=0,0;t
=a||0===e){if(this._pages.push({start:Math.min(s,t-i),end:t-i+a-1}),Math.min(s,t-i)===s)break;e=0}e+=this._core.mergers(this._core.relative(t))}},s.prototype.draw=function(){var e,i=this._core.settings,n=this._core.items().length<=i.items,s=this._core.relative(this._core.current()),o=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||n),i.nav&&(this._controls.$previous.toggleClass("disabled",!o&&s<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&s>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||n),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},s.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}},s.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy((function(t,i){return t.start<=e&&t.end>=e}),this)).pop()},s.prototype.getPosition=function(e){var i,n,s=this._core.settings;return"page"==s.slideBy?(i=t.inArray(this.current(),this._pages),n=this._pages.length,e?++i:--i,i=this._pages[(i%n+n)%n].start):(i=this._core.relative(this._core.current()),n=this._core.items().length,e?i+=s.slideBy:i-=s.slideBy),i},s.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},s.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},s.prototype.to=function(e,i,n){var s;!n&&this._pages.length?(s=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%s+s)%s].start,i)):t.proxy(this._overrides.to,this._core)(e,i)},t.fn.owlCarousel.Constructor.Plugins.Navigation=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var s=function(i){this._core=i,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy((function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}}),this),"changed.owl.carousel":t.proxy((function(i){if(i.namespace&&"position"===i.property.name){var n=this._core.items(this._core.relative(this._core.current())),s=t.map(this._hashes,(function(t,e){return t===n?e:null})).join();if(!s||e.location.hash.slice(1)===s)return;e.location.hash=s}}),this)},this._core.options=t.extend({},s.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy((function(t){var i=e.location.hash.substring(1),n=this._core.$stage.children(),s=this._hashes[i]&&n.index(this._hashes[i]);undefined!==s&&s!==this._core.current()&&this._core.to(this._core.relative(s),!1,!0)}),this))};s.Defaults={URLhashListener:!1},s.prototype.destroy=function(){var i,n;for(i in t(e).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(i,this._handlers[i]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var s=t("").get(0).style,o="Webkit Moz O ms".split(" "),a={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},r=function(){return!!c("transform")},l=function(){return!!c("perspective")},d=function(){return!!c("animation")};function c(e,i){var n=!1,a=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+o.join(a+" ")+a).split(" "),(function(t,e){if(undefined!==s[e])return n=!i||e,!1})),n}function h(t){return c(t,!0)}(function(){return!!c("transition")})()&&(t.support.transition=new String(h("transition")),t.support.transition.end=a.transition.end[t.support.transition]),d()&&(t.support.animation=new String(h("animation")),t.support.animation.end=a.animation.end[t.support.animation]),r()&&(t.support.transform=new String(h("transform")),t.support.transform3d=l())}(window.Zepto||window.jQuery,window,document)}t.fn.scrollerSlideSize=function(){return this.each((function(){var e=t(this),i=e.find("img").eq(0),n=parseInt(i.attr("width")),s=e.parents(".slider-wrapper"),o=s.width(),a=s.attr("data-max-width"),r=parseInt(s.attr("data-padding-side")),l=parseInt(i.parents(".wf-td").eq(0).css("paddingLeft")),d=parseInt(i.parents(".wf-td").eq(0).css("paddingRight")),c=0;if(l>0&&d>0&&(c=l+d),void 0!==a)var h=o*parseFloat(a)/100-c-r;if(n>h)var u=h;else{u=parseInt(i.attr("width"));i.exists()||(u=280)}e.parents(".slider-wrapper").attr("data-width",u+c),e.css({width:u+c})}))},t(".slider-wrapper.description-under-image:not(.related-projects) article").scrollerSlideSize();var _=t(".slider-wrapper.owl-carousel:not(.related-projects)");_.each((function(){var e,i=t(this),n=i.attr("data-padding-side")?parseInt(i.attr("data-padding-side")):0,s="true"===i.attr("data-autoslide"),o=i.attr("data-delay")?parseInt(i.attr("data-delay")):6e3,a="true"===i.attr("data-arrows"),r=i.attr("data-width")?_.width()/parseInt(i.attr("data-width")):_.width()/_.find("article img").attr("width"),l="rtl"==jQuery(document).attr("dir"),d=i.attr("data-next-icon")?i.attr("data-next-icon"):"icon-ar-018-r",c=i.attr("data-prev-icon")?i.attr("data-prev-icon"):"icon-ar-018-l";function h(t){var e,n=i.find(".owl-stage"),s=n.width(),o=i.find(".dt-owl-item");(e=(o.width()+parseInt(o.css("margin-right")))*t.item.count)>s&&n.width(e)}r=i.attr("data-width")?_.width()/parseInt(i.attr("data-width")):i.attr("data-max-width")?_.width()/parseInt(i.attr("data-max-width")):_.width()/_.find("article img").attr("width"),i.owlCarousel({rtl:l,items:r,autoHeight:!1,margin:n,loadedClass:"owl-loaded",slideBy:"page",loop:!1,smartSpeed:600,merge:!0,autoWidth:!0,responsive:{678:{mergeFit:!0},1e3:{mergeFit:!1}},autoplay:s,autoplayTimeout:o,nav:a,navElement:"a",navText:[' ',' '],dots:!1,onInitialize:function(t){var e=parseInt(i.attr("data-max-width")),s=_.width()*parseFloat(e)/100-n,o=parseInt(i.find("img").attr("width")),a=parseInt(i.find("img").attr("height"));e&&s999?parseInt(e.attr("data-autoslide")):5e3),l=(e.attr("data-autoslide"),e.attr("data-width")?parseInt(e.attr("data-width")):800),d=e.attr("data-height")?parseInt(e.attr("data-height")):400,c=e.attr("data-img-mode")?e.attr("data-img-mode"):"fill";e.owlCarousel({rtl:n,items:1,autoHeight:!1,center:!1,margin:0,loadedClass:"owl-loaded",slideBy:1,loop:!0,smartSpeed:600,autoplay:a,autoplayTimeout:r,nav:!0,navElement:"a",navText:[' ',' '],dots:!1}),i.on("debouncedresize",(function(){e.find(".dt-owl-item").each((function(i){var n=t(this),s=n.find("img");if(s.css({opacity:0}),!s)return!1;var o;o=d/l,"fit"==c?n.css({height:o*n.width()}):n.css({height:o*e.width()});var a,r,h,u,p,f=parseInt(s.attr("width")),m=parseInt(s.attr("height")),g={};a=n.width()/f,r=o*n.width()/m,h="fill"==e.attr("data-img-mode")?a>r?a:r:"fit"==e.attr("data-img-mode")?ar?a:r,u=Math.ceil(f*h,10),p=Math.ceil(m*h,10),g.width=u,g.height=p,g.opacity=1,s.css(g)}))})),void 0!==e.attr("data-autoslide")&&t('
').appendTo(e),"true"===e.attr("data-paused")&&(t(".psPlay",e).addClass("paused"),e.trigger("stop.owl.autoplay")),t(".psPlay",e).on("click",(function(e){e.preventDefault();var i=t(this);i.hasClass("paused")?(i.removeClass("paused"),a=!0,i.trigger("play.owl.autoplay",[r,600])):(i.addClass("paused"),i.trigger("stop.owl.autoplay"))}))},t(".slider-simple:not(.slider-masonry)").each((function(){t(this).postTypeScroller()}));var x,I=t("#main .slider-content, #footer .slider-content, .side-header:not(.sub-downwards) .mega-full-width > .dt-mega-menu-wrap .slider-content, .side-header:not(.sub-downwards) .mega-auto-width > .dt-mega-menu-wrap .slider-content");t.fn.widgetScroller=function(){return this.each((function(){var e=t(this),i=void 0!==e.attr("data-autoslide"),n=e.attr("data-autoslide")?parseInt(e.attr("data-autoslide")):6e3,s="rtl"==jQuery(document).attr("dir");e.owlCarousel({rtl:s,items:1,autoHeight:!0,margin:0,loadedClass:"owl-loaded",slideBy:"page",loop:e.children().length>1,smartSpeed:600,autoplay:i,autoplayTimeout:n,autoplayHoverPause:!1,nav:!1,dots:!0,dotsEach:!0})}))},I.widgetScroller().css("visibility","visible");var S;function T(){clearTimeout(S),S=setTimeout((function(){t(".dt-owl-carousel-call, .elementor-owl-carousel-call, .related-projects, .slider-simple:not(.slider-masonry)").trigger("refresh.owl.carousel")}),200)}t.fn.the7OwlCarousel=function(){var e=t(this);if(e.length){var i,n=e.attr("data-col-gap")?parseInt(e.attr("data-col-gap")):0,s="true"===e.attr("data-auto-height"),o=e.attr("data-speed")?parseInt(e.attr("data-speed")):600,a="true"===e.attr("data-autoplay"),r=e.attr("data-autoplay_speed")?parseInt(e.attr("data-autoplay_speed")):6e3,l="true"===e.attr("data-arrows"),d="true"===e.attr("data-bullet"),c=e.attr("data-wide-col-num")?parseInt(e.attr("data-wide-col-num")):3,h=e.attr("data-col-num")?parseInt(e.attr("data-col-num")):3,p=e.attr("data-laptop-col")?parseInt(e.attr("data-laptop-col")):3,f=e.attr("data-h-tablet-columns-num")?parseInt(e.attr("data-h-tablet-columns-num")):3,m=e.attr("data-v-tablet-columns-num")?parseInt(e.attr("data-v-tablet-columns-num")):2,g=e.attr("data-phone-columns-num")?parseInt(e.attr("data-phone-columns-num")):1,v="rtl"==jQuery(document).attr("dir"),y="1"==e.attr("data-scroll-mode")?parseInt(e.attr("data-scroll-mode")):"page",w=e.attr("data-next-icon")?e.attr("data-next-icon"):"icon-ar-002-r",b=e.attr("data-prev-icon")?e.attr("data-prev-icon"):"icon-ar-001-l",C=!("1"!=e.attr("data-scroll-mode")||!d);if(void 0!==e.attr("data-stage-padding"))var _=e.hasClass("enable-img-shadow")?parseInt(e.attr("data-stage-padding"))+parseInt(e.attr("data-col-gap"))/2:parseInt(e.attr("data-stage-padding"));else _=0;n=e.attr("data-col-gap")?parseInt(e.attr("data-col-gap")):e.attr("data-padding-side")?parseInt(e.attr("data-padding-side")):0,e.on("initialize.owl.carousel",(function(i){t(e[0]).find("script, style").each((function(){var e=t(this);e.siblings().first();t(e).prev().length>0?t(e).prev().addBack().wrapAll("
"):t(e).next().length>0&&t(e).next().addBack().wrapAll("
")}))}));var I={};t(this).hasClass("products-carousel-shortcode")&&e.parent(".elementor-widget-container").length&&elementorFrontendConfig?(I[0]={items:g,loop:e.children().length>g,stagePadding:0},I[elementorFrontendConfig.breakpoints.md]={loop:e.children().length>f,items:f,stagePadding:0},I[elementorFrontendConfig.breakpoints.lg]={loop:e.children().length>h,items:h}):I={0:{items:g,loop:e.children().length>g,stagePadding:0},481:{loop:e.children().length>m,items:m,stagePadding:0},769:{loop:e.children().length>f,items:f,stagePadding:0},992:{loop:e.children().length>p,items:p},1199:{loop:e.children().length>h,items:h},1450:{loop:e.children().length>c,items:c}},e.owlCarousel({rtl:v,items:c,autoHeight:s,margin:n,stagePadding:_,loadedClass:"owl-loaded",slideBy:y,loop:!0,smartSpeed:o,responsive:I,autoplay:a,autoplayTimeout:r,nav:l,navElement:"a",navText:[' ',' '],dots:d,dotsEach:C}),e.hasClass("content-rollover-layout-list")&&!e.hasClass("disable-layout-hover")&&e.find(".post-entry-wrapper").clickOverlayGradient(),dtGlobals.addOnloadEvent((function(){!function(e){if(e.hasClass("refreshed")||(e.addClass("refreshed"),e.trigger("refresh.owl.carousel")),e.hasClass("content-rollover-layout-list")&&!e.hasClass("disable-layout-hover")&&e.find(".post-entry-wrapper").clickOverlayGradient(),clearTimeout(x),x=setTimeout((function(){t(".dt-owl-item.cloned .animate-element.animation-triggered:not(.start-animation)").addClass("start-animation")}),50),"true"===e.attr("data-autoplay"))if(dtGlobals.isInViewport(e)){const t=e.attr("data-autoplay_speed")?parseInt(e.attr("data-autoplay_speed")):6e3;e.trigger("play.owl.autoplay",[t])}else e.trigger("stop.owl.autoplay")}(e)})),e.on("changed.owl.carousel",(function(i){t(".dt-owl-item.cloned .photoswipe-wrapper, .dt-owl-item.cloned .photoswipe-item .dt-gallery-container",e).initPhotoswipe(),the7Utils.isFunction(t.fn.triggerClonedHoverClick)&&t(" .dt-owl-item.cloned .buttons-on-img:not(.rollover-active) .rollover-content",e).triggerClonedHoverClick();var n=t(" .dt-owl-item.cloned .post-thumbnail-wrap",e);e.hasClass("albums-shortcode")&&(e.hasClass("gradient-overlay-layout-list")||e.hasClass("content-rollover-layout-list")?the7Utils.isFunction(t.fn.triggerClonedOverlayAlbumsClick)&&t(" .dt-owl-item.cloned .post-entry-content",e).triggerClonedOverlayAlbumsClick():the7Utils.isFunction(t.fn.triggerClonedAlbumsClick)&&n.triggerClonedAlbumsClick()),e.hasClass("gallery-shortcode")&&t(e).initCarouselClonedPhotoswipe()})),e.on("change.owl.carousel",(function(n){clearTimeout(i),i=setTimeout((function(){u(e),t(".dt-owl-item.cloned .lazy-load",e).parent().removeClass("layzr-bg")}),20)})),e.on("resized.owl.carousel",(function(t){e.hasClass("content-rollover-layout-list")&&!e.hasClass("disable-layout-hover")&&e.find(".post-entry-wrapper").clickOverlayGradient()})),e.find(".dt-owl-item").on("mouseenter",(function(t){a&&e.trigger("stop.owl.autoplay")})),e.find(".dt-owl-item").on("mouseleave",(function(t){a&&e.trigger("play.owl.autoplay",[r])})),e.find(".owl-nav a").on("mouseenter",(function(t){a&&e.trigger("stop.owl.autoplay")})),e.find(".owl-nav a").on("mouseleave",(function(t){a&&e.trigger("play.owl.autoplay",[r])}))}},t(".dt-owl-carousel-call, .related-projects").each((function(){t(this).the7OwlCarousel()})),t.fn.the7ElementorOwlCarousel=function(){var e=t(this);if(e.length&&!e.hasClass("owl-loaded")){var i,n=e.attr("data-col-gap")?parseInt(e.attr("data-col-gap")):0,s=e.attr("data-col-gap-tablet")?parseInt(e.attr("data-col-gap-tablet")):n,o=e.attr("data-col-gap-mobile")?parseInt(e.attr("data-col-gap-mobile")):s,a="true"===e.attr("data-auto-height"),r=e.attr("data-speed")?parseInt(e.attr("data-speed")):600,l="true"===e.attr("data-autoplay"),d=e.attr("data-autoplay_speed")?parseInt(e.attr("data-autoplay_speed")):6e3,c=void 0!==elementorFrontendConfig.breakpoints.md?elementorFrontendConfig.breakpoints.md:481,h=void 0!==elementorFrontendConfig.breakpoints.lg?elementorFrontendConfig.breakpoints.lg:769,p=void 0!==dtLocal.elementor.settings.container_width?dtLocal.elementor.settings.container_width+1:1450,f=e.attr("data-col-num")?parseInt(e.attr("data-col-num")):3,m=e.attr("data-wide-col-num")?parseInt(e.attr("data-wide-col-num")):f,g=(e.attr("data-laptop-col")&&parseInt(e.attr("data-laptop-col")),e.attr("data-h-tablet-columns-num")?parseInt(e.attr("data-h-tablet-columns-num")):3),v=(e.attr("data-v-tablet-columns-num")&&parseInt(e.attr("data-v-tablet-columns-num")),e.attr("data-phone-columns-num")?parseInt(e.attr("data-phone-columns-num")):1),y="rtl"==jQuery(document).attr("dir"),w="1"==e.attr("data-scroll-mode")?parseInt(e.attr("data-scroll-mode")):"page",b=(e.attr("data-next-icon")&&e.attr("data-next-icon"),e.attr("data-prev-icon")&&e.attr("data-prev-icon"),"1"==e.attr("data-scroll-mode")),C=function(){var t=e.find(".dt-owl-item img");t.length>0&&e.css("--dynamic-img-height",t.height()+"px")},_=function(t){l&&(t?e.trigger("play.owl.autoplay",[d]):e.trigger("stop.owl.autoplay"))},x=function(){clearTimeout(i),i=setTimeout((function(){u(e)}),20)};if("function"==typeof The7ElementorSettings){const t=e.closest(".elementor-widget");if(t.length){const e=new The7ElementorSettings(t).getSettings("widget_columns_wide_desktop_breakpoint");e&&(p=e+1)}}var I=e.next(".owl-nav").find(".owl-prev").html(),S=e.next(".owl-nav").find(".owl-next").html(),T=function(){x(),C(),e.hasClass("content-rollover-layout-list")&&!e.hasClass("disable-layout-hover")&&e.find(".post-entry-wrapper").clickOverlayGradient(),t(".dt-owl-item.cloned .photoswipe-wrapper, .dt-owl-item.cloned .photoswipe-item .dt-gallery-container",e).initPhotoswipe();var i=t(" .dt-owl-item.cloned .post-thumbnail-wrap",e);e.hasClass("albums-shortcode")&&(e.hasClass("gradient-overlay-layout-list")||e.hasClass("content-rollover-layout-list")?the7Utils.isFunction(t.fn.triggerClonedOverlayAlbumsClick)&&t(" .dt-owl-item.cloned .post-entry-content",e).triggerClonedOverlayAlbumsClick():the7Utils.isFunction(t.fn.triggerClonedAlbumsClick)&&i.triggerClonedAlbumsClick()),e.hasClass("gallery-shortcode")&&t(e).initCarouselClonedPhotoswipe()};e.on("initialized.owl.carousel",(function(t){T()}));var k={};k[0]={items:v,loop:e.children().length>v,margin:o},k[c]={loop:e.children().length>g,items:g,margin:s},k[h]={loop:e.children().length>f,items:f,margin:n},k[p]={loop:e.children().length>m,items:m,margin:n},e.owlCarousel({rtl:y,items:m,autoHeight:a,margin:n,loadedClass:"owl-loaded",slideBy:w,loop:!0,smartSpeed:r,autoplay:l,autoplayTimeout:d,nav:!0,responsive:k,navElement:"a",navText:[I,S],dots:!0,dotsEach:b,autoRefreshInterval:180}),dtGlobals.addOnloadEvent((function(){_(dtGlobals.isInViewport(e))})),e.on("refreshed.owl.carousel",(function(t){T()})),e.on("change.owl.carousel",(function(i){"position"===i.property.name&&(x(),t(".animate-element:not(.start-animation):in-viewport",e).checkInViewport())})),e.on("resized.owl.carousel",(function(t){C()}));var z=e.find(".dt-owl-item");z.on("mouseenter",(function(t){_(!1)})),z.on("mouseleave",(function(t){_(!0)}));var L=e.find(".owl-nav a");L.on("mouseenter",(function(t){_(!1)})),L.on("mouseleave",(function(t){_(!0)}))}},i.on("elementor/frontend/init",(function(){var n=1e3,s=n;t(".elementor-owl-carousel-call").each((function(){var e=this,o=t(this),a=o.closest(".elementor-widget-container");if(a.length){var r=i.height();if(i.scrollTop()+r+r>a.offset().top)o.the7ElementorOwlCarousel();else{var l=elementorModules.utils.Scroll.scrollObserver({offset:"0% 0% 100%",callback:t=>{t.isInViewport&&(l.unobserve(e),o.the7ElementorOwlCarousel())}});o.addClass("owl-loading"),setTimeout((function(){l.unobserve(e),o.the7ElementorOwlCarousel(),s+=500}),n),n+=500,l.observe(e)}}else o.the7ElementorOwlCarousel()}));e.one("click",'a[href^="#"]',(function(e){if(n!==s){e.preventDefault(),e.stopImmediatePropagation(),t(".elementor-owl-carousel-call").each((function(){t(this).the7ElementorOwlCarousel()}));var i=t(this);return setTimeout((function(){i.click()}),100),!1}}))})),dtGlobals.isMobile&&!dtGlobals.isWindowsPhone?i.bind("orientationchange",(function(t){T()})):dtGlobals.isAndroid&&i.bind("debouncedresize",(function(t){T()})),void 0===l&&(l=new Layzr({selector:".owl-thumb-lazy-load-show",attr:"data-src",attrSrcSet:"data-srcset",retinaAttr:"data-src-retina",hiddenAttr:"data-src-hidden",threshold:30,callback:function(){showLazyImg(t(this))}}));var k=t(".top-bar"),z=t(".masthead"),L=t(".overlay-navigation"),E=t(".sticky-header"),A=t(".sticky-top-line"),O=t("#main-slideshow, .photo-scroller"),P=(t(".header-side-left").length,t(".header-side-right").length,t("#main, #main-slideshow, .photo-scroller, .page-title, .fancy-header, .footer"),t(".floating-logo.side-header-menu-icon .branding, .side-header-h-stroke, #phantom"),t(".side-header")),D=(t(".page-template-template-microsite").length,s.hasClass("transparent")),M=t(".floating-navigation-below-slider").exists();if(t(".side-header-v-stroke").length>0)P.width(),t(".side-header-v-stroke").width();else P.width();
/*!-Show Hide side header*/
if(t.closeSideHeader=function(){o.removeClass("show-header"),o.addClass("closed-header"),t(".sticky-header-overlay").removeClass("active")},t.closeMobileHeader=function(){o.removeClass("show-mobile-header"),o.addClass("closed-mobile-header"),s.removeClass("show-sticky-mobile-header show-overlay-mobile-header").addClass("closed-overlay-mobile-header"),t(".mobile-sticky-header-overlay, .dt-mobile-menu-icon, .menu-toggle, .menu-close-toggle").removeClass("active")},E.length>0||L.length>0){t('
').appendTo(".menu-toggle");var H=dtLocal.themeSettings.ToggleCaptionEnabled;ToggleCaption="disabled"!=H?"":"",E.length>0&&s.append('');var F=t(".menu-toggle"),W=t(".menu-close-toggle"),B=t(".menu-toggle:not(.active), .menu-close-toggle:not(.active)"),R=t(".sticky-header-overlay");F.on("click",(function(){if(!t(".header-under-side-line").length>0)var e=t(".side-header .menu-toggle");else e=t(".menu-toggle");e.hasClass("active")?(e.removeClass("active"),o.removeClass("show-header").addClass("closed-header"),R.removeClass("active"),t(".hide-overlay").removeClass("active")):(B.removeClass("active"),e.addClass("active").css({left:"",right:""}),o.addClass("show-header").removeClass("closed-header"),W.addClass("active"),R.addClass("active"),t(".hide-overlay").addClass("active"))})),W.on("click",(function(){var e=t(this);e.hasClass("active")?(e.removeClass("active"),o.removeClass("show-header").addClass("closed-header"),R.removeClass("active"),t(".hide-overlay").removeClass("active")):(B.removeClass("active"),e.addClass("active").css({left:"",right:""}),o.addClass("show-header").removeClass("closed-header"),R.addClass("active"),t(".hide-overlay").addClass("active"))})),R.on("click",(function(){t(this).hasClass("active")&&(B.removeClass("active"),o.removeClass("show-header").addClass("closed-header"),R.removeClass("active"))})),t(".hide-overlay").on("click",(function(){t(this).hasClass("active")&&(B.removeClass("active"),o.removeClass("show-header"),o.addClass("closed-header"),R.removeClass("active"))}))}function j(){var e=i.width(),n="",a=t(".side-header-menu-icon").length>0;if((e-o.innerWidth())/2>0&&(n=(e-o.innerWidth())/2),s.hasClass("header-side-right")&&o.hasClass("boxed")&&!E.length>0&&P.css({right:n}),navigator.userAgent.match(/Trident.*rv\:11\./)&&M&&D){z.insertAfter(O);var r=z.attr("style");z.not(".sticky-on").attr("style",r+"; top:"+O.height()+"px !important;")}var l=t(".floating-menu-icon-right");l.length>0&&o.hasClass("boxed")&&(B.css({right:n}),t(".branding").css({left:n})),o.hasClass("boxed")&&a&&!l.length>0&&(t(".floating-logo .branding").css({right:n}),B.css({left:n})),L.length>0&&a&&o.hasClass("boxed")&&(B.css({right:n}),t(".floating-logo .branding").css({left:n}))}if(j(),i.on("the7-resize-width-debounce",(function(){j()})),M&&s.hasClass("footer-overlap")&&z.insertAfter(O),navigator.userAgent.match(/Trident.*rv\:11\./)&&M&&D){z.insertAfter(O);var $=z.attr("style");z.attr("style",$+"; top:"+O.height()+"px !important;")}var G=z;if(t(".mixed-header").length>0&&(G=t(".mixed-header")),t(".side-header .header-bar").wrap(""),P.length>0&&"function"==typeof t.fn.mCustomScrollbar&&!dtGlobals.isMobile&&(t(".header-scrollbar-wrap").mCustomScrollbar({scrollInertia:150,callbacks:{whileScrolling:function(){t(".header-scrollbar-wrap").layzrInitialisation()}}}),t(".sub-downwards .main-nav").find(".slider-content").widgetScroller().css("visibility","visible")),P.length>0&&!t(".mCSB_container").length>0&&t(".side-header .header-scrollbar-wrap .header-bar").wrap("
"),!s.hasClass("responsive-off")){var Y=t(".mixed-header"),N=t(".masthead .near-logo-first-switch").clone(!0).addClass("show-on-first-switch"),q=t(".masthead .near-logo-second-switch").clone(!0).addClass("show-on-second-switch"),U=z.find(".in-menu-first-switch").clone(!0).addClass("hide-on-desktop hide-on-second-switch show-on-first-switch"),V=z.find(".in-menu-second-switch").clone(!0).addClass("hide-on-desktop hide-on-first-switch show-on-second-switch"),X=z.find(".in-top-bar").clone(!0).addClass("hide-on-desktop hide-on-first-switch show-on-second-switch"),Z=z.find(".in-top-bar-left").clone(!0).addClass("hide-on-desktop show-on-first-switch"),Q=z.find(".in-top-bar-right").clone(!0).addClass("hide-on-desktop show-on-first-switch");if(Y.length>0){var K=Y.find(".branding > a, .branding > img").clone(!0);G=Y}else K=t(".masthead:not(.mixed-header)").find(".branding > a, .branding > img").clone(!0),G=z;if(k.length>0&&"none"!=k.css("display"))var J=k.innerHeight();else J=0;var tt=dtLocal.themeSettings.mobileHeader.mobileToggleCaptionEnabled;mobileToggleCaption="disabled"!=tt?"":"",t("").appendTo(".masthead"),t(".mobile-header-bar .mobile-navigation").append(""),t(N).appendTo(".mobile-header-bar .mobile-mini-widgets"),t(q).appendTo(".mobile-header-bar .mobile-mini-widgets"),t(".left-widgets",k).append(X),t(".left-widgets",k).append(Z),t(".right-widgets",k).append(Q).removeClass("select-type-menu list-type-menu select-type-menu-second-switch list-type-menu-second-switch"),t(".right-widgets",k).append(Q).removeClass("select-type-menu list-type-menu select-type-menu-second-switch list-type-menu-second-switch"),t(U).appendTo(".mobile-mini-widgets-in-menu"),t(V).appendTo(".mobile-mini-widgets-in-menu"),U.removeClass("select-type-menu list-type-menu select-type-menu-second-switch list-type-menu-second-switch"),V.removeClass("select-type-menu list-type-menu select-type-menu-first-switch list-type-menu-first-switch"),t(".mobile-header-bar .mobile-branding").append(K);var et=t(".dt-mobile-header");
/*!-Show Hide mobile header*/
if(et.siblings().hasClass("dt-parent-menu-clickable")&&et.addClass("dt-parent-menu-clickable"),!t(".mobile-mini-widgets-in-menu").find(".in-menu-first-switch ").length>0&&t(".mobile-mini-widgets-in-menu").addClass("first-switch-no-widgets"),!t(".mobile-mini-widgets-in-menu").find(".in-menu-second-switch ").length>0&&t(".mobile-mini-widgets-in-menu").addClass("second-switch-no-widgets"),N.removeClass("select-type-menu list-type-menu select-type-menu-second-switch list-type-menu-second-switch"),q.removeClass("select-type-menu list-type-menu select-type-menu-first-switch list-type-menu-first-switch"),X.removeClass("show-on-desktop select-type-menu list-type-menu select-type-menu-first-switch list-type-menu-first-switch in-top-bar-left").addClass("hide-on-desktop hide-on-first-switch"),Z.removeClass("show-on-desktop select-type-menu list-type-menu select-type-menu-second-switch list-type-menu-second-switch in-top-bar").addClass("hide-on-desktop hide-on-second-switch"),Q.removeClass("show-on-desktop select-type-menu list-type-menu select-type-menu-second-switch list-type-menu-second-switch").addClass("hide-on-desktop"),t(".header-bar .mini-widgets > .mini-nav ").removeClass("select-type-menu-second-switch list-type-menu-second-switch select-type-menu-first-switch list-type-menu-first-switch"),t(".mini-nav.show-on-desktop:not(.show-on-first-switch):not(.show-on-second-switch)",k).removeClass("select-type-menu-second-switch list-type-menu-second-switch select-type-menu-first-switch list-type-menu-first-switch"),t(".masthead .hide-on-desktop").addClass("display-none"),t(".mobile-main-nav ").find("li").each((function(){var e=t(this),i=e.find(" > .dt-mega-menu-wrap > .sub-nav");if(e.hasClass("new-column")){var n=e.prev().find(" > .sub-nav");t(" > .sub-nav > *",e).appendTo(n)}i.unwrap()})).removeClass("dt-mega-menu dt-mega-parent hide-mega-title").find(" > .sub-nav").removeClass(" hover-style-bg"),et.length>0){dtGlobals.mobileMenuPoint=50;var it=t(".dt-mobile-menu-icon"),nt=!1,st=G.offset().top;if(!t(".floating-btn").length>0&&t(".floating-mobile-menu-icon").length>0)it.first().clone(!0).insertBefore(it).addClass("floating-btn");var ot=t(".floating-btn");i.scroll((function(){dtGlobals.mobileMenuPoint=st+G.height()+50,dtGlobals.winScrollTop>dtGlobals.mobileMenuPoint&&!1===nt?(ot.parents(".masthead").addClass("show-floating-icon"),nt=!0):dtGlobals.winScrollTop<=dtGlobals.mobileMenuPoint&&!0===nt&&(ot.parents(".masthead").removeClass("show-floating-icon"),nt=!1)}));it=t(".dt-mobile-menu-icon");!t(".mobile-sticky-header-overlay").length>0&&s.append('');var at=t(".mobile-sticky-header-overlay");it.on("click",(function(e){e.preventDefault();var i=t(this);i.hasClass("active")?(i.removeClass("active"),o.removeClass("show-mobile-header").addClass("closed-mobile-header"),s.removeClass("show-mobile-overlay-header").addClass("closed-overlay-mobile-header"),i.parents("body").removeClass("show-sticky-mobile-header"),at.removeClass("active")):(it.removeClass("active"),i.addClass("active"),o.addClass("show-mobile-header").removeClass("closed-mobile-header"),s.removeClass("closed-overlay-mobile-header").addClass("show-overlay-mobile-header"),at.removeClass("active"),i.parents("body").addClass("show-sticky-mobile-header"),at.addClass("active"))})),at.on("click",(function(){t(this).hasClass("active")&&(it.removeClass("active"),o.removeClass("show-mobile-header").addClass("closed-mobile-header"),s.removeClass("show-sticky-mobile-header").addClass("closed-overlay-mobile-header").addClass("closed-overlay-mobile-header"),at.removeClass("active"),o.removeClass("show-mobile-sidebar"))})),t(".dt-close-mobile-menu-icon").on("click",(function(){o.removeClass("show-mobile-header"),o.addClass("closed-mobile-header"),s.removeClass("show-sticky-mobile-header"),s.removeClass("show-overlay-mobile-header").addClass("closed-overlay-mobile-header"),at.removeClass("active"),it.removeClass("active")})),t(".dt-mobile-header").wrapInner(""),t(".mobile-header-scrollbar-wrap").layzrInitialisation(),et.find(".slider-content").widgetScroller().css("visibility","visible"),!t(".touchevents").length>0&&(et.on("mouseenter",(function(t){et.css("overflow-y","auto")})),et.on("mouseleave",(function(t){et.css("overflow-y","hidden")})))}}t(".l-to-r-line > li:not(.menu-item-language) > a > span:last-child").not(".l-to-r-line > li > a > span.mega-icon").append(" "),t(".not-clickable-item").on("click",(function(t){t.preventDefault(),t.stopPropagation()})),(t(".active-line-decoration").length>0||t(".hover-line-decoration").length>0)&&t(".main-nav > .menu-item > a").append(" ");var rt=t(".main-nav, .mini-nav, .mini-wpml .wpml-ls-item-legacy-dropdown"),lt=t(".masthead:not(.sub-downwards) .main-nav, .mini-nav, .mini-wpml .wpml-ls-item-legacy-dropdown"),dt=t(".main-nav");P=t(".side-header");t(".menu-item-language").each((function(){var e=t(this);e.children(".submenu-languages").length>0&&e.addClass("has-children")}));dt.clone(),t(".mini-nav").clone();t(".mini-nav select").change((function(){window.location.href=t(this).val()})),dtGlobals.isHovering=!1,t(".main-nav li",P).each((function(){var e=t(this);if(e.hasClass("new-column")){var i=e.prev().find(" > .sub-nav");t(" > .sub-nav > *",e).appendTo(i)}})),t(".sub-downwards .main-nav > li").each((function(){t(this).find(" > .dt-mega-menu-wrap > .sub-nav").unwrap()}));var ct,ht,ut=t(".select-type-menu, .select-type-menu-first-switch, .select-type-menu-second-switch, .mini-wpml .wpml-ls-item-legacy-dropdown"),pt="mini-sub-nav";ut.find("> ul").addClass(pt),t(".mini-wpml .wpml-ls-item-legacy-dropdown").find("> ul").addClass(pt),lt.each((function(){var e=t(this);t(".act",e).parents("li").addClass("act"),t(" li.has-children ",e).each((function(){var e,n,a=t(this),r=a.find("> a");if(a.parent().hasClass("main-nav")&&!a.parents().hasClass("side-header")&&t(".masthead").hasClass("show-sub-menu-on-hover"))r=a.find("> a");else if(a.parent().hasClass("main-nav")&&a.parents().hasClass("side-header")&&t(".masthead").hasClass("show-sub-menu-on-hover"))r=a;else if((a.parent().hasClass("sub-nav")||a.parents().hasClass("mini-nav"))&&t(".masthead").hasClass("show-sub-menu-on-hover"))r=a;if((dtGlobals.isMobile||dtGlobals.isWindowsPhone)&&a.find("> a").on("click",(function(e){t(this).hasClass("dt-clicked")?e.stopPropagation():(e.preventDefault(),rt.find(".dt-clicked").removeClass("dt-clicked"),t(this).addClass("dt-clicked"))})),rt.parents().hasClass("full-width")&&a.hasClass("mega-full-width")){if(rt.parents(".header-bar").length>0)var l=rt.parents(".header-bar").innerWidth();else l=rt.parents(".ph-wrap").innerWidth();!P.length>0&&a.find(".sub-nav-widgets").css({width:l})}function d(s){if(s.parent("li").length>0)var a=s.parent(),r=s.siblings("div.dt-mega-menu-wrap, ul");else a=s,r=(d=s.find("> a")).siblings("div.dt-mega-menu-wrap, ul");var l=s.offset().left,d=s.offset().left,c=s.parents(".masthead");if(a.addClass("dt-hovered"),a.hasClass("dt-mega-menu")&&a.addClass("show-mega-menu"),dtGlobals.isHovering=!0,r.length>0&&(o.width()-(r.offset().left-o.offset().left)-r.width()<0&&r.addClass("right-overflow"),i.height()-(r.offset().top-dtGlobals.winScrollTop)-r.innerHeight()<0&&!r.parents().hasClass("sub-sideways")&&r.addClass("bottom-overflow"),i.height()-(r.offset().top-dtGlobals.winScrollTop)-r.innerHeight()<0&&!a.hasClass("dt-mega-menu")&&r.addClass("bottom-overflow")),(a.find(".dt-mega-menu-wrap").length>0&&a.find(".dt-mega-menu-wrap").offset().top+a.find(".dt-mega-menu-wrap").innerHeight())>i.height()&&r.parents().hasClass("sub-sideways")&&a.hasClass("dt-mega-menu")&&(s.find(".dt-mega-menu-wrap").height()<=i.height()?a.find(".dt-mega-menu-wrap").css({top:-(a.position().top+a.height()+s.find(".dt-mega-menu-wrap").height()-i.height())}):a.find(".dt-mega-menu-wrap").css({top:-(s.position().top-5)})),!P.length>0&&r.not(".right-overflow").css({left:d-l}),s.parents(".dt-mobile-header").length>0&&r.css({top:s.position().top-13-r.height()}),a.hasClass("mega-auto-width")){a.width();var h=c.offset().left,u=a.offset().left;if($_this_parents_ofs=a.offset().left-h,!P.length){var p=o.width();if(t(".boxed").length>0){u=a.position().left;r.innerWidth()>p-a.position().left&&r.css({left:-(r.innerWidth()-(p-u)+20)})}else{u=a.offset().left;r.innerWidth()>p-a.offset().left&&r.css({left:-(r.innerWidth()-(p-u)+20)})}r.innerWidth()>p&&(t(".boxed").length>0?r.css({width:c.width()-40,left:-(a.position().left+20)}):r.css({width:c.width()-40,left:-(u-h+20)}))}null!=typeof r.find(".slider-content")&&r.find(".slider-content").widgetScroller().css("visibility","visible"),r.layzrInitialisation()}if(a.hasClass("mega-full-width")){u=a.offset().left;if(s.parents(".header-bar").length>0)if(s.parents(".masthead").hasClass("full-width")){var f=s.parents(".header-bar").innerWidth()-40;h=s.parents(".header-bar").offset().left+20}else f=s.parents(".header-bar").innerWidth(),h=s.parents(".header-bar").offset().left;else if(s.parents(".masthead").hasClass("full-width"))f=s.parents(".ph-wrap").innerWidth()-40,h=s.parents(".ph-wrap").offset().left+20;else f=s.parents(".ph-wrap").innerWidth(),h=s.parents(".ph-wrap").offset().left;!P.length>0&&r.css({width:f,left:-(u-h)}),null!=typeof r.find(".slider-content")&&r.find(".slider-content").widgetScroller().css("visibility","visible"),r.layzrInitialisation()}clearTimeout(e),clearTimeout(n),e=setTimeout((function(){a.hasClass("dt-hovered")&&(r.stop().css("visibility","visible").animate({opacity:1},150,(function(){a.addClass("show-mega-menu-content")})),t(".searchform .submit",de).removeClass("act"),t(".mini-search").removeClass("act"),t(".mini-search.popup-search .popup-search-wrap",de).stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")})))}),100)}function c(i){var s=i.find("> a").siblings("div.dt-mega-menu-wrap, ul");i.removeClass("dt-hovered"),dtGlobals.isHovering=!1,clearTimeout(e),clearTimeout(n),n=setTimeout((function(){i.hasClass("dt-hovered")||(s.stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")})),i.removeClass("show-mega-menu"),i.removeClass("show-mega-menu-content"),setTimeout((function(){i.hasClass("dt-hovered")||(s.removeClass("right-overflow"),s.removeClass("bottom-overflow"),i.find(".dt-mega-menu-wrap").css({top:""}),i.hasClass("mega-auto-width")&&s.css({width:"",left:""}))}),400))}),150),i.find("> a").removeClass("dt-clicked")}a.find("> a").on("focus",(function(e){"tap"==e.type&&e.stopPropagation();var i=t(this);d(i),t(" li.has-children").removeClass("parent-clicked"),i.parent().addClass("parent-clicked"),t(e.target).parents().hasClass("sub-nav")||(t(" li.has-children").removeClass("dt-hovered"),i.parent().addClass("dt-hovered")),t(".main-nav > li:not(.dt-hovered) > .sub-nav, .main-nav > li:not(.dt-hovered) > .dt-mega-menu-wrap").stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")})),t(" .main-nav .sub-nav li:not(.parent-clicked) .sub-nav").stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")}))})),a.find("> a").on("focusout",(function(i){var s=t(this),o=t("this").siblings("div.dt-mega-menu-wrap, ul");dtGlobals.isHovering=!1,clearTimeout(e),clearTimeout(n),n=setTimeout((function(){s.parent().hasClass("dt-hovered")||(o.stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")})),s.parent().removeClass("show-mega-menu"),s.parent().removeClass("show-mega-menu-content"),setTimeout((function(){s.parent().hasClass("dt-hovered")||(o.removeClass("right-overflow"),o.removeClass("bottom-overflow"),s.parent().find(".dt-mega-menu-wrap").css({top:""}),s.parent().hasClass("mega-auto-width")&&o.css({width:"",left:""}))}),400))}),150),s.parent().removeClass("parent-clicked")})),t(".masthead").hasClass("show-sub-menu-on-hover")?(r.on("mouseenter tap",(function(e){"tap"==e.type&&e.stopPropagation(),d(t(this))})),a.on("mouseleave",(function(e){c(t(this))}))):(s.on("click",(function(e){t(e.target).hasClass("sub-nav")&&t(e.target).hasClass("dt-mega-menu-wrap")||(t(" #primary-menu li.dt-hovered:not(.dt-mega-menu) > .sub-nav").animate({opacity:0},100,(function(){t(this).css("visibility","hidden")})),t(" #primary-menu li.dt-mega-menu > .is-clicked").siblings(" .dt-mega-menu-wrap").animate({opacity:0},100,(function(){t(this).css("visibility","hidden")})),t("#primary-menu li.has-children").removeClass("dt-hovered"),t("#primary-menu li.has-children > a").removeClass("is-clicked"))})),r.on("click",(function(e){if(!t(this).parents().hasClass("mobile-main-nav")){"tap"==e.type&&e.stopPropagation();var i=t(this),n=i.parent("li");if(!i.hasClass("is-clicked"))return d(i),t(" li.has-children > a").removeClass("is-clicked"),t(" li.has-children").removeClass("parent-clicked"),i.parent().addClass("parent-clicked"),t(e.target).parents().hasClass("sub-nav")||(t(" li.has-children").removeClass("dt-hovered"),i.parent().addClass("dt-hovered")),t(".main-nav > li:not(.dt-hovered) > .sub-nav, .main-nav > li:not(.dt-hovered) > .dt-mega-menu-wrap").stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")})),t(".main-nav .sub-nav li:not(.parent-clicked) .sub-nav").stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")})),i.addClass("is-clicked"),!1;c(n),i.removeClass("is-clicked"),i.parent().removeClass("parent-clicked")}})))}))})),t.fn.touchMenuItem=function(){return this.each((function(){var e=t(this);if(!e.hasClass("item-ready")){s.on("touchend",(function(e){t(".mobile-true .has-children > a").removeClass("is-clicked")}));var i=t(this),n=i.attr("target")?i.attr("target"):"_self";i.on("touchstart",(function(t){origY=t.originalEvent.touches[0].pageY,origX=t.originalEvent.touches[0].pageX})),i.on("touchend",(function(e){var s=e.originalEvent.changedTouches[0].pageX,o=e.originalEvent.changedTouches[0].pageY;if(origY==o||origX==s)if(i.hasClass("is-clicked"));else if(i.parent().hasClass("dt-hovered"))return e.preventDefault(),t(".mobile-true .has-children > a").removeClass("is-clicked"),i.addClass("is-clicked"),window.open(i.attr("href"),n),!1})),e.addClass("item-ready")}}))},t(".mobile-true .main-nav .has-children > a").touchMenuItem(),ut.on("mouseenter tap",(function(e){"tap"==e.type&&e.stopPropagation();var n=t(this);n.addClass("dt-hovered"),o.width()-(n.children(".mini-sub-nav").offset().left-o.offset().left)-n.find(" > .mini-sub-nav").width()<0&&n.children(".mini-sub-nav").addClass("right-overflow"),i.height()-(n.children(".mini-sub-nav").offset().top-dtGlobals.winScrollTop)-n.children(".mini-sub-nav").height()<0&&!n.parents(".dt-mobile-header").length>0&&n.children(".mini-sub-nav").addClass("bottom-overflow"),n.parents(".dt-mobile-header").length>0&&n.children(".mini-sub-nav").css({top:n.position().top-13-n.children(".mini-sub-nav").height()}),dtGlobals.isHovering=!0,clearTimeout(ct),clearTimeout(ht),ct=setTimeout((function(){n.hasClass("dt-hovered")&&(t(".mini-sub-nav").stop().animate({opacity:0},50,(function(){t(this).css("visibility","hidden")})),n.children(".mini-sub-nav").stop().css("visibility","visible").animate({opacity:1},150))}),100)})),ut.on("mouseleave",(function(e){var i=t(this);i.removeClass("dt-hovered"),dtGlobals.isHovering=!1,clearTimeout(ct),clearTimeout(ht),ht=setTimeout((function(){i.hasClass("dt-hovered")||(i.parents().hasClass("dt-mega-menu")||i.children(".mini-sub-nav").stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")})),setTimeout((function(){i.hasClass("dt-hovered")||(i.children(".mini-sub-nav").removeClass("right-overflow"),i.children(".mini-sub-nav").removeClass("bottom-overflow"))}),400))}),150)})),dtGlobals.desktopProcessed=!1,dtGlobals.mobileProcessed=!1;var ft=t(".sticky-mobile-header").exists();window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off")&&(t(".masthead:not(.side-header):not(#phantom)").addClass("masthead-mobile-header"),t("body:not(.overlay-navigation):not(.sticky-header) .side-header:not(#phantom)").addClass("masthead-mobile-header").addClass("desktop-side-header")),window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&window.innerWidth>dtLocal.themeSettings.mobileHeader.secondSwitchPoint&&!s.hasClass("responsive-off")?t(".left-widgets",k).find(".in-top-bar-left").length>0||t(".right-widgets",k).find(".in-top-bar-right").length>0?k.removeClass("top-bar-empty"):k.addClass("top-bar-empty"):window.innerWidth<=dtLocal.themeSettings.mobileHeader.secondSwitchPoint&&!s.hasClass("responsive-off")?t(".left-widgets",k).find(".in-top-bar").length>0?k.removeClass("top-bar-empty"):k.addClass("top-bar-empty"):!t(".mini-widgets",k).find(".show-on-desktop").length>0?k.addClass("top-bar-empty"):k.removeClass("top-bar-empty");var mt=t(".floating-navigation-below-slider").exists();if(t(".sticky-mobile-header").exists()&&!s.hasClass("responsive-off")){var gt=t(".masthead:not(.side-header):not(#phantom), body:not(.overlay-navigation):not(.sticky-header) .side-header:not(#phantom)"),vt=gt.find(".mobile-header-bar");$stickyMobileLogo=gt.find(".mobile-branding"),mobileLogoURL=t(".mobile-branding a").attr("href"),t(".sticky-mobile-logo-first-switch").exists()||dtLocal.themeSettings.stickyMobileHeaderFirstSwitch.logo.html&&(null==mobileLogoURL?t(dtLocal.themeSettings.stickyMobileHeaderFirstSwitch.logo.html).addClass("sticky-mobile-logo-first-switch").prependTo($stickyMobileLogo):t(''+dtLocal.themeSettings.stickyMobileHeaderFirstSwitch.logo.html+" ").prependTo($stickyMobileLogo)),t(".sticky-mobile-logo-second-switch").exists()||dtLocal.themeSettings.stickyMobileHeaderSecondSwitch.logo.html&&(null==mobileLogoURL?t(dtLocal.themeSettings.stickyMobileHeaderSecondSwitch.logo.html).addClass("sticky-mobile-logo-second-switch").prependTo($stickyMobileLogo):t(''+dtLocal.themeSettings.stickyMobileHeaderSecondSwitch.logo.html+" ").prependTo($stickyMobileLogo));var yt=0,wt=0,bt=O.height(),Ct=0,_t=0,xt=!1;if(!D){t("").insertBefore(gt);var It=t(".mobile-header-space")}t(".no-cssgridlegacy.no-cssgrid").length>0&&mt&&(D?(gt.css({top:bt}),It.css({top:bt})):(It.insertAfter(O),gt.insertAfter(O))),dtGlobals.resetMobileSizes=function(e){if(window.innerWidth>dtLocal.themeSettings.mobileHeader.firstSwitchPoint)return t(".is-safari").length>0&>.css({width:"","max-width":""}),gt.removeClass("sticky-mobile-off sticky-mobile-on"),xt=!1,!1;wt=t("#wpadminbar").exists()&&!Modernizr.mq("only screen and (max-width:600px)")?t("#wpadminbar").height():0,window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&window.innerWidth>dtLocal.themeSettings.mobileHeader.secondSwitchPoint&&!s.hasClass("responsive-off")?t(".left-widgets",k).find(".in-top-bar-left").length>0||t(".top-bar .right-widgets").find(".in-top-bar-right").length>0?k.removeClass("top-bar-empty"):k.addClass("top-bar-empty"):t(".left-widgets",k).find(".in-top-bar").length>0?k.removeClass("top-bar-empty"):k.addClass("top-bar-empty"),yt=!k.exists()||k.is(":hidden")||k.hasClass("top-bar-empty")||k.hasClass("hide-top-bar")?0:k.innerHeight(),window.innerWidthdtLocal.themeSettings.mobileHeader.secondSwitchPoint?(Ct=dtLocal.themeSettings.mobileHeader.firstSwitchPointHeight+yt,dtLocal.themeSettings.mobileHeader.firstSwitchPointHeight):(Ct=dtLocal.themeSettings.mobileHeader.secondSwitchPointHeight+yt,dtLocal.themeSettings.mobileHeader.secondSwitchPointHeight),mt?mt&&!D?_t=e:mt&&D?_t=e-Ct+yt:vt.offset().top:_t=yt,gt.hasClass("sticky-mobile-on")&>.css({top:wt-yt}),D||(It.css({height:Ct}),It.css({top:e})),t(".is-safari").length>0&>.css({width:document.documentElement.clientWidth,"max-width":document.documentElement.clientWidth})},dtGlobals.resetMobileSizes(O.height()),i.on("resize debouncedresize",(function(){dtGlobals.resetMobileSizes(O.height())})),i.on("scroll",(function(){if(window.innerWidth>dtLocal.themeSettings.mobileHeader.firstSwitchPoint)return!1;var e=dtGlobals.winScrollTop;e>_t&&!xt&&t(document).height()>t(window).height()?(gt.removeClass("sticky-mobile-off").addClass("sticky-mobile-on"),M&&ft&>.addClass("fixed-mobile-header"),gt.css({top:wt-yt}),xt=!0):e<=_t&&xt&&(gt.removeClass("sticky-mobile-on").addClass("sticky-mobile-off"),M&&ft&>.removeClass("fixed-mobile-header"),gt.css({top:0}),t(".no-cssgridlegacy.no-cssgrid").length>0&&mt&>.css({top:bt}),xt=!1)}))}dtGlobals.isMobile&&window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!dtGlobals.isiPad&&!s.hasClass("responsive-off")&&(dtLocal.themeSettings.floatingHeader.showMenu&&t(".phantom-sticky").exists()&&D&&z.addClass("fixed-masthead"),dtLocal.themeSettings.floatingHeader.showMenu=!1);D=s.hasClass("transparent");var St=t(".phantom-sticky").exists();t(".side-header").exists();if(dtLocal.themeSettings.floatingHeader.showMenu&&St){var Tt=t(".branding a",z).attr("href"),kt=(E=z).find(".header-bar");(Bt=E.find(".branding")).find("img");Bt.find("a.same-logo").length>0||t(".sticky-logo").exists()||dtLocal.themeSettings.floatingHeader.logo.html&&dtLocal.themeSettings.floatingHeader.logo.showLogo&&(null==Tt?t(dtLocal.themeSettings.floatingHeader.logo.html).addClass("sticky-logo").prependTo(Bt):t(''+dtLocal.themeSettings.floatingHeader.logo.html+" ").prependTo(Bt));J=0;var zt=0,Lt=0,Et=0,At=0,Ot=!1,Pt="";if(!D){t("").insertAfter(E);var Dt=t(".header-space")}E.addClass("sticky-off fixed-masthead");var Mt=!1;function Ht(){if(window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off"))return!1;var t=dtGlobals.winScrollTop;if(t>At+1&&!Ot&&!dtGlobals.isHovering){if(E.removeClass("sticky-off").addClass("sticky-on"),D||Dt.removeClass("sticky-space-off").addClass("sticky-space-on"),s.hasClass("floating-top-bar")?E.css({top:zt}):E.css({top:zt-J}),Ot=!0,mt&&D&&(E.css({transform:"translateY(0)"}),navigator.userAgent.match(/Trident.*rv\:11\./))){var e=E.attr("style");E.attr("style",e+"; top:"+J+"px !important;")}}else if(t<=At+1&&Ot&&(E.removeClass("sticky-on").addClass("sticky-off"),D||Dt.removeClass("sticky-space-on").addClass("sticky-space-off"),E.css({top:0}),Ot=!1,mt&&D&&(E.css({transform:"translateY(-100%)"}),navigator.userAgent.match(/Trident.*rv\:11\./)))){e=E.attr("style");E.not(".sticky-on").attr("style",e+"; top:"+O.height()+"px !important;")}t>At+1&&t<=At+1+Et-dtLocal.themeSettings.floatingHeader.height?(Pt="changing",kt.css({transition:"none",height:At+Et-t})):t>At+1+dtLocal.themeSettings.floatingHeader.height&&"end"!==Pt?(Pt="end",kt.css({height:dtLocal.themeSettings.floatingHeader.height,transition:"all 0.3s ease"})):t<=At+1&&"start"!==Pt&&(Pt="start",kt.css({height:Et,transition:"all 0.1s ease"}))}dtGlobals.resetSizes=function(e){if(window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off"))return Mt||(Mt=!0,E.removeClass("sticky-off sticky-on"),D||Dt.removeClass("sticky-space-off sticky-space-on"),E.css({top:"",transform:""}),Ot=!1,Pt="",t(".is-safari").length>0&&E.css({width:"","max-width":""})),!1;Mt&&(Mt=!1),Ot||""!==Pt||(E.addClass("sticky-off"),D||Dt.addClass("sticky-space-off")),zt=t("#wpadminbar").exists()?t("#wpadminbar").height():0,J=!k.exists()||k.is(":hidden")||k.hasClass("top-bar-empty")||k.hasClass("hide-top-bar")?0:k.innerHeight(),Lt=dtLocal.themeSettings.desktopHeader.height+J,Et=dtLocal.themeSettings.desktopHeader.height,mt?mt&&!D?At=s.hasClass("floating-top-bar")?e-J:e:mt&&D?At=s.hasClass("floating-top-bar")?e-Et-J:e-Et:kt.offset().top:At=s.hasClass("floating-top-bar")?0:J,D||Dt.css({height:Lt}),t(".is-safari").length>0&&(o.hasClass("boxed")?E.css({width:o.width(),"max-width":o.width()}):E.css({width:document.documentElement.clientWidth,"max-width":document.documentElement.clientWidth}))},dtGlobals.resetSizes(O.height()),i.on(" debouncedresize",(function(){dtGlobals.resetSizes(O.height())})),Ht(),i.on("scroll",(function(){Ht()}))}if(A.exists()){var Ft=0,Wt=(zt=0,J=0,!1);A.addClass("sticky-top-line-off"),t(".top-line-space").exists()||D||t("
").insertBefore(A);var Bt;Tt=t(".branding a",A).attr("href"),(Bt=A.find(".branding")).find("img");Bt.find("a.same-logo").length>0||t(".sticky-logo").exists()||dtLocal.themeSettings.topLine.floatingTopLine.logo.html&&dtLocal.themeSettings.topLine.floatingTopLine.logo.showLogo&&(null==Tt?t(dtLocal.themeSettings.topLine.floatingTopLine.logo.html).addClass("sticky-logo").prependTo(Bt):t(''+dtLocal.themeSettings.topLine.floatingTopLine.logo.html+" ").prependTo(Bt));Mt=!1;dtGlobals.resetTopLineSizes=function(e){if(window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off"))return Mt||(Mt=!0,A.removeClass("sticky-top-line-on"),A.css({top:""}),Wt=!1),!1;Mt&&(Mt=!1),zt=t("#wpadminbar").exists()?t("#wpadminbar").height():0,J=!k.exists()||k.is(":hidden")||k.hasClass("top-bar-empty")||k.hasClass("hide-top-bar")?0:k.innerHeight(),Ft=A.find(".header-bar").height()+J,t(".top-line-space").css({height:Ft}),t(".is-safari").length>0&&(o.hasClass("boxed")?A.css({width:o.width(),"max-width":o.width()}):A.css({width:document.documentElement.clientWidth,"max-width":document.documentElement.clientWidth}))},dtGlobals.resetTopLineSizes(O.height()),i.on("resize debouncedresize",(function(){dtGlobals.resetTopLineSizes(O.height())})),i.on("scroll",(function(){if(window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off"))return!1;var t=dtGlobals.winScrollTop>A.height();t&&!Wt?(A.removeClass("sticky-top-line-off").addClass("sticky-top-line-on"),A.hasClass("mixed-floating-top-bar")?A.css({top:zt}):A.css({top:zt-J}),Wt=!0):!t&&Wt&&(A.removeClass("sticky-top-line-on").addClass("sticky-top-line-off"),A.css({top:zt}),Wt=!1)}))}if(dtLocal.themeSettings.floatingHeader.showMenu&&dtLocal.themeSettings.floatingHeader.showMenu&&!St){var Rt=t(".phantom-fade").exists(),jt=t(".phantom-slide").exists(),$t=t(".split-header").exists();if(Rt||jt){var Gt=t(".masthead:not(#phantom) .main-nav").clone(!0).removeAttr("id"),Yt=(Tt=t(".branding a",z).attr("href"),s.hasClass("floating-top-bar")?t(".masthead:not(#phantom) .top-bar").clone(!0):""),Nt=!1;if($t){var qt=z.attr("class"),Ut=t(".side-header-h-stroke, .split-header"),Vt=(Fe=t('').appendTo("body")).find(".ph-wrap"),Xt=Fe.find(".widget-box"),Zt=Gt.find(".mini-widgets"),Qt=Ut.find(".branding");t(".phantom-custom-logo-on").length>0&&dtLocal.themeSettings.floatingHeader.logo.html&&dtLocal.themeSettings.floatingHeader.logo.showLogo&&(null==Tt?t(dtLocal.themeSettings.floatingHeader.logo.html).prependTo(Qt):t(''+dtLocal.themeSettings.floatingHeader.logo.html+" ").prependTo(Qt)),(Gt=t(".split-header .header-bar").clone(!0)).appendTo(Vt).find(".main-nav").removeAttr("id"),s.hasClass("floating-top-bar")&&Yt.insertBefore(Vt)}else{qt=z.attr("class"),Vt=(Fe=t('').appendTo("body")).find(".menu-box"),Xt=Fe.find(".widget-box");if(t(".classic-header").length>0)Zt=t(".header-bar .navigation .mini-widgets").clone(!0);else if($t);else Zt=t(".header-bar .mini-widgets").clone(!0);Gt.appendTo(Vt),Zt.appendTo(Xt),s.hasClass("floating-top-bar")&&Yt.prependTo(Fe),dtLocal.themeSettings.floatingHeader.logo.html&&dtLocal.themeSettings.floatingHeader.logo.showLogo&&(Fe.find(".ph-wrap").addClass("with-logo"),null==Tt?Fe.find(".logo-box").html(''+dtLocal.themeSettings.floatingHeader.logo.html+" "):Fe.find(".logo-box").html(''+dtLocal.themeSettings.floatingHeader.logo.html+" "))}var Kt,Jt=t("#phantom");o.hasClass("boxed")&&Fe.addClass("boxed").find(".ph-wrap").addClass("boxed"),Jt.removeClass("show-phantom").addClass("hide-phantom").css("visibility","hidden"),dtGlobals.addOnloadEvent((function(){clearTimeout(Kt),Kt=setTimeout((function(){Jt.css("visibility","")}),150)})),Vt.layzrInitialisation();var te=!1,ee=dtGlobals.winScrollTop;bt=O.height(),z.height();if(mt&&D);else if(mt);else dtLocal.themeSettings.floatingHeader.showAfter;i.on("scroll",(function(){if(window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off"))return!1;var t=dtGlobals.winScrollTop,e=O.height(),i=z.height();if(mt&&D)var o=t>e&&!1===Nt,a=t<=e&&!0===Nt;else if(mt)o=t>e+i&&!1===Nt,a=t<=e+i&&!0===Nt;else o=t>dtLocal.themeSettings.floatingHeader.showAfter&&!1===Nt,a=t<=dtLocal.themeSettings.floatingHeader.showAfter&&!0===Nt;o?n.hasClass("menu-open")||dtGlobals.isHovering||te||(te=!0,Jt.removeClass("hide-phantom").addClass("show-phantom"),Nt=!0):a&&te&&(n.hasClass("menu-open")||(te=!1,Jt.removeClass("show-phantom").addClass("hide-phantom"),Nt=!1))}))}}var ie=t(".side-header:not(.sub-sideways ) .main-nav li.has-children > a:not(.not-clickable-item), .side-header:not(.sub-sideways ) .level-arrows-on > li.has-children > a, .mobile-main-nav li.has-children > a");t(' ').insertAfter(ie),t(".sub-downwards .main-nav li.has-children, .mobile-main-nav li.has-children").each((function(){var e=t(this),i=e.find(" > .sub-nav, .sub-menu");e.find(".sub-nav li, .sub-menu li").hasClass("act")&&e.addClass("active"),e.find(".sub-nav li.act, .sub-menu li.act").hasClass("act")&&(e.addClass("open-sub"),i.stop(!0,!0).slideDown(100),i.layzrInitialisation()),e.find(" > .next-level-button").on("click",(function(e){var n=t(this).parent();n.hasClass("active")?(i.stop(!0,!0).slideUp(500,(function(){t(" .main-nav").layzrInitialisation()})),n.removeClass("active"),n.removeClass("open-sub"),n.find("a").removeClass("act")):(n.siblings().find(" .sub-nav, .dt-mega-menu-wrap, .sub-menu").stop(!0,!0).slideUp(400),i.stop(!0,!0).slideDown(500),n.siblings().removeClass("active"),n.addClass("active"),n.siblings().removeClass("open-sub"),n.addClass("open-sub"),n.siblings().find("> a").removeClass("act"),n.find("a").addClass("act"),t(" .main-nav").layzrInitialisation())}))})),!t(".dt-parent-menu-clickable").length>0&&t(".sub-downwards .main-nav li > a, .mobile-main-nav li.has-children > a").each((function(){var e=t(this);e.parent("li").find(".sub-nav li, .sub-menu li").hasClass("act")&&e.addClass("act"),e.parent("li").find(".sub-nav li.act, .sub-menu li.act").hasClass("act")&&(e.parent("li").addClass("open-sub"),e.siblings(".sub-nav, .sub-menu").stop(!0,!0).slideDown(100,(function(){e.siblings(".sub-nav, .sub-menu").layzrInitialisation()}))),e.on("click",(function(i){$menuItem=e.parent(),$menuItem.hasClass("has-children menu-item-language")&&i.preventDefault(),e.hasClass("act")?(e.siblings(".sub-nav, .sub-menu").stop(!0,!0).slideUp(500),e.removeClass("act"),e.parent("li").removeClass("open-sub")):(e.parent().siblings().find(".sub-nav, .dt-mega-menu-wrap, .sub-menu").stop(!0,!0).slideUp(400),e.siblings(".sub-nav, .sub-menu").stop(!0,!0).slideDown(500),e.parent().siblings().find("> a").removeClass("act"),e.addClass("act"),e.parent("li").siblings().removeClass("open-sub active"),e.parent("li").addClass("open-sub active")),"function"==typeof t.fn.mCustomScrollbar&&t(".header-bar").mCustomScrollbar("update")}))})),t(".custom-nav > li > a").click((function(e){var i=t(this).parent(),n=t(this);i.hasClass("has-children")&&e.preventDefault(),n.hasClass("active")?(n.next().stop(!0).slideUp(500),n.removeClass("active")):(t(".custom-nav > li > ul").stop(!0).slideUp(400),n.next().stop(!0).slideDown(500),t(".custom-nav > li > a").removeClass("active"),n.addClass("active")),i.siblings().removeClass("act"),i.addClass("act")})),t(".custom-nav > li > ul").each((function(){clearTimeout(undefined),$this=t(this),$thisChildren=$this.find("li"),$thisChildren.hasClass("act")&&($this.prev().addClass("active"),$this.parent().siblings().removeClass("act"),$this.parent().addClass("act"),$this.slideDown(500))})),t.HoverDir=function(e,i){this.$el=t(i),this._init(e)},t.HoverDir.defaults={speed:300,easing:"ease",hoverDelay:0,inverse:!1},t.HoverDir.prototype={_init:function(e){this.options=t.extend(!0,{},t.HoverDir.defaults,e),this.transitionProp="all "+this.options.speed+"ms "+this.options.easing,this.support=Modernizr.csstransitions,this._loadEvents()},_loadEvents:function(){var e=this;this.$el.on("mouseenter.hoverdir, mouseleave.hoverdir",(function(i){var n=t(this),s=n.find(".rollover-content, .gallery-rollover, .post-entry-content"),o=e._getDir(n,{x:i.pageX,y:i.pageY}),a=e._getStyle(o);"mouseenter"===i.type?(s.hide().css(a.from),clearTimeout(e.tmhover),e.tmhover=setTimeout((function(){s.show(0,(function(){var i=t(this);e.support&&i.css("transition",e.transitionProp),e._applyAnimation(i,a.to,e.options.speed)}))}),e.options.hoverDelay)):(e.support&&s.css("transition",e.transitionProp),clearTimeout(e.tmhover),e._applyAnimation(s,a.from,e.options.speed))}))},_getDir:function(t,e){var i=t.width(),n=t.height(),s=(e.x-t.offset().left-i/2)*(i>n?n/i:1),o=(e.y-t.offset().top-n/2)*(n>i?i/n:1);return Math.round((Math.atan2(o,s)*(180/Math.PI)+180)/90+3)%4},_getStyle:function(t){var e,i,n={left:"0px",top:"-100%"},s={left:"0px",top:"100%"},o={left:"-100%",top:"0px"},a={left:"100%",top:"0px"},r={top:"0px"},l={left:"0px"};switch(t){case 0:e=this.options.inverse?s:n,i=r;break;case 1:e=this.options.inverse?o:a,i=l;break;case 2:e=this.options.inverse?n:s,i=r;break;case 3:e=this.options.inverse?a:o,i=l}return{from:e,to:i}},_applyAnimation:function(e,i,n){t.fn.applyStyle=this.support?t.fn.css:t.fn.animate,e.stop().applyStyle(i,t.extend(!0,[],{duration:n+"ms"}))}};var ne=function(t){window.console&&window.console.error(t)};t.fn.hoverdir=function(e){var i=t.data(this,"hoverdir");if("string"==typeof e){var n=Array.prototype.slice.call(arguments,1);this.each((function(){i?the7Utils.isFunction(i[e])&&"_"!==e.charAt(0)?i[e].apply(i,n):ne("no such method '"+e+"' for hoverdir instance"):ne("cannot call methods on hoverdir prior to initialization; attempted to call method '"+e+"'")}))}else this.each((function(){i?i._init():i=t.data(this,"hoverdir",new t.HoverDir(e,this))}));return i},t.fn.addRollover=function(){return this.each((function(){var e=t(this);e.hasClass("this-ready")||(e.append(" "),e.find(".rollover-thumbnails").length&&e.addClass("rollover-thumbnails-on"),e.parent().find(".links-container").length&&e.addClass("rollover-buttons-on"),e.addClass("this-ready"))}))},
/*!-Scale in hover*/
t.fn.scaleInHover=function(){return this.each((function(){var e=t(this);if(!e.hasClass("scale-ready")){var i=e.find("img.preload-me"),n=parseInt(i.attr("width"))/parseInt(i.attr("height"));n<2&&n>=1.5?e.addClass("ratio_3-2"):n<1.5&&n>=1?e.addClass("ratio_4-3"):n<1&&n>=.75?e.addClass("ratio_3-4"):n<.75&&n>=.6?e.addClass("ratio_2-3"):e.removeClass("ratio_2-3").removeClass("ratio_3-2").removeClass("ratio-2").removeClass("ratio_4-3").removeClass("ratio_3-4"),n>=2&&e.addClass("ratio-2"),.5==n&&e.addClass("ratio_0-5"),1==n&&e.removeClass("ratio_2-3").removeClass("ratio-2").removeClass("ratio_3-2").removeClass("ratio_4-3").removeClass("ratio_3-4"),e.addClass("scale-ready")}}))},t.fn.touchNewHover=function(){return this.each((function(){var e=t(this);e.hasClass("this-ready")||(t(".rollover-content",this).length>0&&(s.on("touchend",(function(e){t(".mobile-true .rollover-content, .mobile-true .rollover-project, .mobile-true .woocom-project").removeClass("is-clicked")})),e.on("touchstart",(function(t){origY=t.originalEvent.touches[0].pageY,origX=t.originalEvent.touches[0].pageX})),e.on("touchend",(function(i){var n=i.originalEvent.changedTouches[0].pageX,s=i.originalEvent.changedTouches[0].pageY;if(origY==s||origX==n){if(!e.hasClass("is-clicked"))return t(".links-container > a",e).on("touchend",(function(t){t.stopPropagation(),e.addClass("is-clicked")})),i.preventDefault(),t(".mobile-true .rollover-content, .mobile-true .rollover-project,.mobile-true .woocom-project").removeClass("is-clicked"),e.addClass("is-clicked"),e.find(".rollover-content").addClass("is-clicked"),!1;if(e.find(".dt-gallery-container").length>0&&e.find(".rollover-content").on("click.dtAlbums",(function(i){e.find(".rollover-content").off("click.dtAlbums"),t(this).find("a.dt-gallery-pspw, .dt-trigger-first-pspw, .dt-pswp-item").first().trigger("click")})),t(this).find(".rollover-click-target.go-to").length>0)window.location.href=t(this).find(".rollover-click-target.go-to").attr("href");else if(t(this).hasClass("woocom-project")){if(t(i.target).is(".add_to_cart_button"))return!0;window.location.href=t(this).find(" > a").attr("href")}}}))),e.addClass("this-ready"))}))},
/*!Trigger post click for blog Overlay (background)/Overlay (gradient) layouts */
t.fn.triggerPostClick=function(){return this.each((function(){var e=t(this);if(!e.hasClass("blog-post-ready")){var i=e.siblings().find(".post-thumbnail-rollover").first(),n=e.find(".entry-meta a, .fancy-date a, .fancy-categories a");if(i.length>0){i.on("click",(function(t){t.preventDefault(),t.stopPropagation(),i.parents(".ts-wrap").hasClass("ts-interceptClicks")}));var s=!1;e.on("click",(function(t){if(!e.parents(".ts-wrap").hasClass("ts-interceptClicks"))return s||(s=!0,window.location.href=i.attr("href"),s=!1),!1})),e.find(n).click((function(t){t.stopPropagation(),window.location.href=n.attr("href")}))}e.addClass("blog-post-ready")}}))},t.fn.touchTriggerPostClick=function(){return this.each((function(){var e=t(this);if(!e.hasClass("touch-post-ready")){var i=e.find(".post-thumbnail-rollover").first();e.find(".entry-meta a, .fancy-date a, .fancy-categories a"),e.find(".entry-excerpt").height(),e.find(".post-details").height();s.on("touchend",(function(e){t(".mobile-true .post").removeClass("is-clicked")})),e.on("touchstart",(function(t){origY=t.originalEvent.touches[0].pageY,origX=t.originalEvent.touches[0].pageX})),e.on("touchend",(function(n){var s=n.originalEvent.changedTouches[0].pageX,o=n.originalEvent.changedTouches[0].pageY;if(origY==o||origX==s)if(e.parents().hasClass("disable-layout-hover"))"a"===n.target.tagName.toLowerCase()?t(n.target).trigger("click"):window.location.href=i.attr("href");else{if(!e.hasClass("is-clicked"))return n.preventDefault(),"a"===n.target.tagName.toLowerCase()&&t(n.target).trigger("click"),t(".mobile-ture .post").removeClass("is-clicked"),e.addClass("is-clicked"),e.parent().siblings().find(".post").removeClass("is-clicked"),!1;window.location.href=i.attr("href")}})),e.addClass("touch-post-ready")}}))},t.fn.triggerPostClickOnBefore=function(){return this.each((function(){var e=t(this),i=e.parents(".post");if(!e.hasClass("post-before-ready")){var n=i.find(".post-thumbnail-rollover").first(),s=i.find(".entry-meta a, .fancy-date a, .fancy-categories a");if(n.length>0){n.on("click",(function(t){n.parents(".ts-wrap").hasClass("ts-interceptClicks")}));var o=!1;e.on("mouseenter mousemove",(function(t){var n=e.offset().top,s=t.pageY;n-10<=s&&n+125>=s?i.hasClass("on-hover")||i.addClass("on-hover"):i.removeClass("on-hover")})),e.on("mouseleave",(function(t){e.offset().top,t.pageY;i.removeClass("on-hover")})),e.on("click",(function(){if(i.hasClass("on-hover"))return o||(o=!0,window.location.href=n.attr("href"),o=!1),!1})),e.find(s).click((function(t){i.hasClass("on-hover")&&(t.stopPropagation(),window.location.href=s.attr("href"))}))}e.addClass("post-before-ready")}}))},
/*!Trigger click (direct to post) */
t.fn.forwardToPost=function(){return this.each((function(){var e=t(this);e.hasClass("this-ready")||(e.on("click tap",(function(){var e=t(this),i=e.find("a").first(),n=i.attr("href");if(!e.parents(".ts-wrap").hasClass("ts-interceptClicks"))return"_blank"===i.attr("target")?(window.open(n,"_blank"),!1):(window.location.href=n,!1)})),e.addClass("this-ready"))}))},window.the7AddHovers=function(e){t(".rollover, .rollover-video, .post-rollover, .rollover-project .show-content, .vc-item .vc-inner > a",e).addRollover(),t(".filter-grayscale .slider-masonry",e).on("mouseenter tap",(function(e){"tap"==e.type&&e.stopPropagation(),t(this).addClass("dt-hovered")})),t(".filter-grayscale .slider-masonry",e).on("mouseleave",(function(e){t(this).removeClass("dt-hovered")})),t(".hover-scale .rollover-project, .hover-scale .post",e).scaleInHover()},window.the7AddMobileHovers=function(e){
/*!Description on hover show content on click(albums projects touch device)*/
t(".rollover-project, .woocom-project",e).touchNewHover(),t(".content-rollover-layout-list:not(.portfolio-shortcode):not(.albums-shortcode) .post, .gradient-overlay-layout-list:not(.portfolio-shortcode):not(.albums-shortcode) .post",e).touchTriggerPostClick()},window.the7AddDesktopHovers=function(e){
/*!-Hover Direction aware init*/
t(".hover-grid.gallery-shortcode figure, .hover-grid .rollover-project, .hover-grid.portfolio-shortcode .post",e).each((function(){t(this).hoverdir()})),t(".hover-grid-reverse.gallery-shortcode figure, .hover-grid-reverse .rollover-project, .hover-grid-reverse.portfolio-shortcode .post",e).each((function(){t(this).hoverdir({inverse:!0})})),t(".albums .rollover-content a:not(.portfolio-categories a), .media .rollover-content, .dt-gallery-container .rollover-content",e).on("click",(function(e){if(t(e.target).is("a"))return!0;t(this).siblings("a.dt-pswp-item").first().click()})),t(".content-rollover-layout-list:not(.portfolio-shortcode):not(.albums-shortcode) .post, .gradient-overlay-layout-list:not(.portfolio-shortcode):not(.albums-shortcode) .post",e).triggerPostClick(),t(".gradient-overlap-layout-list:not(.portfolio-shortcode):not(.albums-shortcode) .post-entry-content",e).triggerPostClickOnBefore(),t(".the7-elementor-widget .forward-post",e).forwardToPost()},the7AddMobileHovers(t("html.mobile-true")),the7AddDesktopHovers(t("html.mobile-false")),the7AddHovers(document);var se=t("#commentform");function oe(){t(".full-width-wrap").length>0&&t(".full-width-wrap").each((function(){var e,n,o=t(this),a=window.innerWidth,r=i.width(),l=t(".content").width();if(t(".boxed").length>0)e=(parseInt(t("#main").width())-parseInt(l))/2;else if(t(".side-header-v-stroke").length&&a>dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off")||t(".side-header-v-stroke").length&&s.hasClass("responsive-off")){var d=a<=parseInt(l)?parseInt(l):r-t(".side-header-v-stroke").width();e=Math.ceil((d-parseInt(l))/2)}else if(t(".sticky-header .side-header").length&&a>dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off")||t(".sticky-header .side-header").length&&s.hasClass("responsive-off")){d=r<=parseInt(l)?parseInt(l):r;e=Math.ceil((r-parseInt(l))/2)}else if((t(".header-side-left").length&&a||t(".header-side-right").length&&a)>dtLocal.themeSettings.mobileHeader.firstSwitchPoint){d=a<=parseInt(l)?parseInt(l):r-t(".side-header").width();e=Math.ceil((d-parseInt(l))/2)}else{d=r<=parseInt(l)?parseInt(l):r;e=Math.ceil((r-parseInt(l))/2)}t(".sidebar-left").length>0||t(".sidebar-right").length>0?(n=t(".content").width(),e=0):n=t("#main").innerWidth();var c=s.hasClass("rtl")?"margin-right":"margin-left";o.css({width:n,opacity:1}),o.css(c,-e),o.find(".full-width-wrap").css({width:"",opacity:1,"padding-left":e}),o.find(".full-width-wrap").css(c,""),o.find(".ts-wrap").each((function(){var e=t(this).data("thePhotoSlider");void 0!==e&&e.update()}))}))}se.on("click","a.clear-form",(function(t){return t.preventDefault(),se.find('input[type="text"], textarea').val(""),!1})),se.on("click"," a.dt-btn.dt-btn-m",(function(t){return t.preventDefault(),se.find("#submit").trigger("click"),!1})),t(".full-width-wrap").length>0&&(dtGlobals.isiOS?i.bind("orientationchange",(function(){oe()})).trigger("orientationchange"):(i.on("resize",(function(){oe()})),oe())),i.trigger("dt.removeLoading");var ae=t("#main-slideshow");!ae.find("> div").length>0&&ae.addClass("empty-slider"),
/*!-Revolution slider*/
ae.is(":parent")||ae.siblings(".masthead").addClass("no-slider"),t(".rev_slider_wrapper").length>0&&(ae.find("> .rev_slider_wrapper")&&ae.addClass("fix rv-slider"),(t(".rev_slider_wrapper").hasClass("fullscreen-container")||t(".rev_slider_wrapper").hasClass("fullwidthbanner-container"))&&ae.removeClass("fix"));
/*!-Search*/
var re,le,de=t(".masthead, .dt-mobile-header"),ce=t(".popup-search",de);if(ce.length>0&&(s.on("click",(function(e){t(e.target).is(".field",ce)||(t(".searchform .submit",de).removeClass("act"),ce.removeClass("act"),t(".popup-search-wrap",ce).stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")})),setTimeout((function(){t(".popup-search-wrap",ce).removeClass("right-overflow bottom-overflow left-overflow").css({right:"",left:"","max-width":""})}),400))})),t(".searchform .submit",de).on("click",(function(e){e.preventDefault(),e.stopPropagation();var n=t(this);n.hasClass("act")?(n.removeClass("act"),n.parents(".mini-search").removeClass("act"),n.siblings(".popup-search-wrap").stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")})),setTimeout((function(){n.siblings(".popup-search-wrap").removeClass("right-overflow bottom-overflow left-overflow").css({right:"",left:"","max-width":""})}),400)):(n.addClass("act"),n.parents(".mini-search").addClass("act"),n.parents(".dt-mobile-header").length>0&&n.siblings(".popup-search-wrap").css({top:n.parents(".mini-search").position().top-n.siblings(".popup-search-wrap").innerHeight()}),n.parents(".searchform").offset().left-n.siblings(".popup-search-wrap").innerWidth()<0&&n.siblings(".popup-search-wrap").addClass("left-overflow"),o.width()-(n.parents(".searchform").offset().left-o.offset().left)-n.siblings(".popup-search-wrap").innerWidth()<0&&(n.siblings(".popup-search-wrap").addClass("right-overflow"),n.siblings(".popup-search-wrap").removeClass("left-overflow")),o.width()-(n.parents(".searchform").offset().left-o.offset().left)-n.siblings(".popup-search-wrap").innerWidth()<0&&n.parents(".searchform").offset().left-n.siblings(".popup-search-wrap").innerWidth()<0&&n.siblings(".popup-search-wrap").css({"max-width":n.parents(".searchform").offset().left}),i.height()-(n.siblings(".popup-search-wrap").offset().top-dtGlobals.winScrollTop)-n.siblings(".popup-search-wrap").innerHeight()<0&&n.siblings(".popup-search-wrap").addClass("bottom-overflow"),n.siblings(".popup-search-wrap").stop().css("visibility","visible").animate({opacity:1},150),n.siblings(".popup-search-wrap").find("input.searchform-s").focus())}))),t(".overlay-search").length>0){var he=t(".overlay-search .searchform").first().clone();t("body").append("
");var ue=t(".overlay-search-microwidget");ue.append(he),t(".overlay-search").hasClass("default-icon")&&ue.addClass("default-icon"),t(".mini-search .submit").on("click",(function(e){e.preventDefault(),ue.addClass("open"),t("#page").addClass("overlay-open"),ue.find("input.searchform-s").focus()})),t(".overlay-close",ue).on("click",(function(){t("#page").removeClass("overlay-open"),t(this).parent(ue).removeClass("open")}))}
/*!-Before After*/
/*!-Isotope fix for tabs*/
(t(".twentytwenty-container .preload-me").loaded(null,(function(){t(".twentytwenty-container").each((function(){var e=t(this),i=e.attr("data-orientation").length>0?e.attr("data-orientation"):"horizontal",n=void 0!==e.attr("data-offset")&&e.attr("data-offset").length>0?e.attr("data-offset"):.5,s=!!e.attr("data-navigation");e.twentytwenty({default_offset_pct:n,orientation:i,navigation_follow:s})}))}),!0),t(".wpb_tabs .iso-container").length>0)&&t(".wpb_tour_tabs_wrapper").each((function(){var e=t(this),n=e.parents(".wpb_tabs").find(".iso-container");e.tabs({activate:function(t,e){n.isotope("layout")}}),e.find("li").each((function(){t(this).on("click",(function(){clearTimeout(undefined),i.trigger("debouncedresize"),t(this).parents(".wpb_tabs").find(".iso-container").isotope("layout")}))}))}));t.fn.calcPics=function(){return!(t(".instagram-photos").length<1)&&this.each((function(){var e=e||parseInt(t(this).attr("data-image-max-width"));parseInt(t(this).find("> a").css("margin-left"));t(this).find(" > a").css({"max-width":e,opacity:1});var i=t(this),n=i.width(),s=100/Math.ceil(n/e);i.find("a").css({width:s+"%"})}))},t(".instagram-photos").calcPics(),t(".st-accordion").each((function(){var e=t(this);e.find("ul > li > a").on("click",(function(i){i.preventDefault();var n=t(this).next();t(".st-content",e).not(n).slideUp("fast"),n.slideToggle("fast")}))})),simple_tooltip(".shortcode-tooltip","shortcode-tooltip-content"),
/*!-search widget*/
t(".widget .searchform .submit, .search-icon, form.searchform:not(.mini-widget-searchform) .submit").on("click",(function(e){return e.preventDefault(),t(this).closest("form").find("input.searchsubmit").click(),!1})),t.fn.animateSkills=function(){t(".skill-value",this).each((function(){var e=t(this),i=e.data("width");e.css({width:i+"%"})}))},dtGlobals.isMobile&&t(".skills").animateSkills(),
/*!-Show share buttons*/
t(".project-share-overlay.allways-visible-icons .share-button").on("click",(function(t){t.preventDefault()})),dtGlobals.addOnloadEvent((function(){t(".album-share-overlay, .project-share-overlay:not(.allways-visible-icons)").each((function(){var e=t(this);e.find(".share-button").on("click",(function(t){t.preventDefault()})),e.on("mouseover tap",(function(e){"tap"==e.type&&e.stopPropagation();var i=t(this);i.addClass("dt-hovered"),clearTimeout(re),clearTimeout(le),re=setTimeout((function(){i.hasClass("dt-hovered")&&(i.find(".soc-ico a").css("display","inline-flex"),i.find(".soc-ico").stop().css("visibility","visible").animate({opacity:1},200))}),100)})),e.on("mouseleave ",(function(e){var i=t(this);i.removeClass("dt-hovered"),clearTimeout(re),clearTimeout(le),le=setTimeout((function(){i.hasClass("dt-hovered")||i.find(".soc-ico").stop().animate({opacity:0},150,(function(){i.find(".soc-ico a").css("display","none"),t(this).css("visibility","hidden")}))}),50)}))}))}));var pe=t(".transparent #fancy-header").exists(),fe=t(".transparent .page-title").exists();t(".transparent .checkout-page-title").exists();t.fancyFeaderCalc=function(){t(".branding .preload-me").loaded(null,(function(){pe&&t(".transparent #fancy-header").css({"padding-top":t(".masthead:not(.side-header)").height()}),fe&&(t(".transparent .page-title").css({"padding-top":t(".masthead:not(.side-header)").height()}),t(".transparent .page-title").css("visibility","visible"))}),!0)};
/*!-Paginator*/
var me=t('.paginator[role="navigation"]'),ge=me.find("a.dots");ge.on("click",(function(){me.find("div:hidden").show().find("a").unwrap(),ge.remove()})),t(".share-buttons a.pinit-marklet").click((function(e){e.preventDefault(),t("#pinmarklet").remove();var i=document.createElement("script");i.setAttribute("type","text/javascript"),i.setAttribute("charset","UTF-8"),i.setAttribute("id","pinmarklet"),i.setAttribute("async","async"),i.setAttribute("defer","defer"),i.setAttribute("src","//assets.pinterest.com/js/pinmarklet.js?r="+99999999*Math.random()),document.body.appendChild(i)})),
/*!-Scroll to Top*/
i.on("debouncedresize",(function(){window.innerWidth>dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off")||s.hasClass("responsive-off")?t(".masthead:not(.side-header):not(.mixed-header)").length>0?dtGlobals.showTopBtn=t(".masthead:not(.side-header):not(.mixed-header)").height()+150:t(".masthead.side-header-h-stroke").length>0?dtGlobals.showTopBtn=t(".side-header-h-stroke").height()+150:dtGlobals.showTopBtn=500:dtGlobals.showTopBtn=500})),i.scroll((function(){dtGlobals.winScrollTop>dtGlobals.showTopBtn?t(".scroll-top").removeClass("off").addClass("on"):t(".scroll-top").removeClass("on").addClass("off")})),t(".scroll-top").click((function(t){return t.preventDefault(),Ge("up"),!1}));var ve=t(".woocommerce-NoticeGroup-updateOrderReview, .woocommerce-NoticeGroup-checkout");!ve.length&&t("form.checkout").exists()&&(ve=t("form.checkout").parents(".content").offset().top),t(document.body).on("checkout_error",(function(){t("html, body").animate({scrollTop:ve-Fe.height()},"slow")})),
/*!-Custom select*/
t(' ').prependTo("#bottom-bar .mini-nav .menu-select"),t(" ",{selected:"selected",value:"",text:"———"}).appendTo(".mini-nav .menu-select select"),t("#bottom-bar .mini-nav").each((function(){var e=t(this),i=e.find("select");t("a",e).each((function(){var e=t(this);t(" ",{value:e.attr("href"),text:e.text(),"data-level":e.attr("data-level")}).appendTo(i)}))})),t(".mini-nav select").change((function(){window.location=t(this).find("option:selected").val()})),t(".mini-nav select option").each((function(){var e=t(this),i=window.location.href;e.attr("value")==i&&e.attr("selected","selected")}))
/*!-Appearance for custom select*/,t(" #bottom-bar .mini-nav select").each((function(){t(this).customSelect()})),t(".menu-select select, .mini-nav .customSelect1, .vc_pie_chart .vc_pie_wrapper").css("visibility","visible"),t(".mini-nav option").each((function(){var e=t(this),i=e.text(),n="";switch(parseInt(e.attr("data-level"))){case 1:n="";break;case 2:n="— ";break;case 3:n="—— ";break;case 4:n="——— ";break;case 5:n="———— "}e.text(n+i)}));
/*!-Material click for menu and buttons*/
var ye=navigator.userAgent.match(/iPhone/i)?"touchstart":"click";if(t(".project-navigation a, .mobile-sticky-header-overlay").bind(ye,(function(t){})),t((function(){t.fn.clickMaterialEffect=function(){return this.each((function(){var e,i,n,s,o=t(this);0===o.find(".ink").length&&o.prepend(" "),o.addClass("ripplelink"),(e=o.find(".ink")).removeClass("animate"),e.height()||e.width()||(i=Math.max(t(this).outerWidth(),o.outerHeight()),e.css({height:i,width:i})),o.bind("mousedown",(function(t){clearTimeout(null),n=t.pageX-o.offset().left-e.width()/2,s=t.pageY-o.offset().top-e.height()/2,e.css({top:s+"px",left:n+"px"}).addClass("animate")})),o.bind("mouseup mouseleave",(function(t){clearTimeout(null),clearTimeout(null),o._timer=setTimeout((function(){e.removeClass("animate")}),400)}))}))},t(".rollover.material-click-effect, .post-rollover.material-click-effect, .rollover-video.material-click-effect").clickMaterialEffect()})),!dtGlobals.isMobile){
/*!-parallax initialisation*/
t(".stripe-parallax-bg, .fancy-parallax-bg, .page-title-parallax-bg").each((function(){var e=t(this),i=e.data("prlx-speed");e.parallax("50%",i),e.addClass("parallax-bg-done"),e.css("opacity","1")}));
/*!-Animate fancy header elements*/
var we=-1;t("#fancy-header .fancy-title:not(.start-animation), #fancy-header .fancy-subtitle:not(.start-animation), #fancy-header .breadcrumbs:not(.start-animation)").each((function(){var e=t(this);e.hasClass("start-animation")||e.hasClass("start-animation-done")||(e.addClass("start-animation-done"),we++,setTimeout((function(){e.addClass("start-animation")}),300*we))}))}if(jQuery(".wpcf7").each((function(){var e=t(this);e.on("wpcf7submit",(function(t){e.find(".wpcf7-response-output").wrapInner("
").addClass("run-animation"),setTimeout((function(){e.find(".wpcf7-response-output").removeClass("run-animation")}),12e3)})),e.on("wpcf7invalid",(function(t){setTimeout((function(){e.find(".wpcf7-response-output").wrapInner("
")}),100)})),e.on("wpcf7mailsent",(function(t){setTimeout((function(){e.find(".wpcf7-response-output").wrapInner("
").addClass("wpcf7-mail-sent-ok")}),100),setTimeout((function(){e.find(".wpcf7-response-output").removeClass("wpcf7-mail-sent-ok")}),12e3)})),e.on("invalid.wpcf7",(function(t){setTimeout((function(){e.find(".wpcf7-validation-errors").wrapInner("
")}),100)})),e.on("mailsent.wpcf7",(function(t){setTimeout((function(){e.find(".wpcf7-mail-sent-ok").wrapInner("
")}),100)}))})),t(".dt-sticky-sidebar").length>0){if(Ot)var be=t(".sticky-on");else be=t(".masthead:not(.side-header):not(.side-header-v-stroke) .header-bar");if(J=!k.exists()||k.is(":hidden")||k.hasClass("top-bar-empty")||k.hasClass("hide-top-bar")?0:k.innerHeight(),Rt||jt)var Ce=t(Fe).height()+20;else if(dtLocal.themeSettings.floatingHeader.showMenu&&St)if(s.hasClass("floating-top-bar"))Ce=dtLocal.themeSettings.floatingHeader.height+J+20;else Ce=dtLocal.themeSettings.floatingHeader.height+20;else if(A.exists())Ce=A.find(".header-bar").height()+J+20;else Ce=0;new StickySidebar("#sidebar",{topSpacing:Ce,bottomSpacing:20,viewportTop:0,containerSelector:".wf-container-main",innerWrapperSelector:".sidebar-content",minWidth:dtLocal.themeSettings.sidebar.switchPoint})}t("#mphb-booking-details").find(".mphb-booking-details-title, .mphb-check-in-date, .mphb-check-out-date").wrapAll(''),t("#mphb-price-details").appendTo(".mphb-details-sidebar"),!t(".footer .widget").length>0&&t(".footer").addClass("empty-footer"),dtGlobals.addOnloadEvent((function(){t(".the7-elementor-widget:not(.the7-elementor-product-comments)").each((function(){var e=t(this),i=e.find(".stars a");i.length?(i.length>5&&(i.slice(5,i.length).remove(),i=e.find(".stars a")),e.find(".stars span").append(i.get().reverse())):e.find("#rating").hide().before(' 5 4 3 2 1
'),i.on("click",(function(){var e=t(this),i=t(this).closest("#respond").find("#rating"),n=t(this).closest(".stars");return i.val(e.text()),e.siblings("a").removeClass("active"),e.addClass("active"),n.addClass("selected"),!1}))})),t(".dt-tab-accordion-title").each((function(){var e=t(this);e.parents().hasClass("hide-tab-description")&&!e.parents().hasClass("hide-tab-additional")?t("#tab-title-additional_information.dt-tab-accordion-title").addClass("first"):e.parents().hasClass("hide-tab-additional")&&!e.parents().hasClass("hide-tab-description")||e.parents().hasClass("hide-tab-additional")&&e.parents().hasClass("hide-tab-description")?t("#tab-title-reviews.dt-tab-accordion-title").addClass("first"):t("#tab-title-description.dt-tab-accordion-title").addClass("first"),t(".dt-tab-accordion-title.first").next().css("display","block"),e.on("click",(function(e){var i=t(this),n=i.next(),s=je(i.parent());t(".dt-tab-accordion-title").removeClass("active"),i.hasClass("active")?t(".woocommerce-Tabs-panel").slideUp("fast"):(i.addClass("active"),t(".woocommerce-Tabs-panel").not(n).hide(),Be(s,0,(function(){n.slideDown("fast")})))}))})),t(".the7-elementor-widget.elementor-widget-tabs").each((function(){var e=t(this),i=e.find(".wc-tabs li:visible").first().attr("aria-controls");e.find(".wc-tabs li").removeClass("active"),e.find(".wc-tabs li:visible").first().addClass("active"),"none"!==e.find(".wc-tabs").css("display")&&(e.find(".panel").css("display","none"),e.find("#"+i).css("display","block")),window.location.hash&&!t(".hide-tab-eviews").length>0&&(e.find(".wc-tabs li").removeClass("active"),e.find(".wc-tabs li.reviews_tab").addClass("active"),e.find(".panel").css("display","none"),e.find(".woocommerce-Tabs-panel--reviews").css("display","block")),e.find(".comment-form-rating .stars").length>1&&e.find(".comment-respond .stars").not(":first").remove(),e.find(".wc-tabs li").on("click",(function(){var i=t(this).attr("aria-controls");t(this).siblings().removeClass("active"),t(this).addClass("active"),e.find("> .woocommerce-tabs > .panel").css("display","none"),e.find("#"+i).css("display","block")}))}))}));var _e=t(".elementor-popup-modal .dialog-message");e.on("elementor/popup/show",_e,(function(e,i,n){"undefined"===elementorFrontend||elementorFrontend.isEditMode()||"yes"==n.getDocumentSettings("the7_scrollbar")&&n.$element.closest(".dialog-message").addClass("the7-custom-scroll"),t(document.body).trigger("init_price_filter"),n.$element.find(" .dt-sub-menu-display-on_click li.has-children, .dt-sub-menu-display-on_item_click li.has-children").each((function(){"undefined"!=typeof the7ElementorMenu&&the7Utils.isFunction(the7ElementorMenu)&&t(this).the7ElementorMenu()})),n.$element.find(".dt-css-grid .wf-cell img, .menu-item img, .lazy-load").each((function(){var e=t(this);e.attr("data-src")&&e.prop("src",e.attr("data-src")),e.attr("data-srcset")&&e.prop("srcset",e.attr("data-srcset")),e.removeAttr("data-src"),e.removeAttr("data-srcset"),e.removeClass("lazy-load"),setTimeout((function(){e.parent().removeClass("layzr-bg")}),200)}))})),window.the7GetMasonryColumnsConfig=function(t){var e=t.parent().hasClass("mode-masonry")?t.parent():t,i=t.width()-1,n={mobile:parseInt(e.attr("data-phone-columns-num")),desktop:parseInt(e.attr("data-desktop-columns-num")),tabletV:parseInt(e.attr("data-v-tablet-columns-num")),tabletH:parseInt(e.attr("data-h-tablet-columns-num"))};return Modernizr.mq("only screen and (max-width:767px)")?(singleWidth=Math.floor(i/n.mobile)+"px",doubleWidth=2*Math.floor(i/n.mobile)+"px",columnsNum=n.mobile):Modernizr.mq("(min-width:768px) and (max-width:991px)")?(singleWidth=Math.floor(i/n.tabletV)+"px",doubleWidth=2*Math.floor(i/n.tabletV)+"px",columnsNum=n.tabletV):Modernizr.mq("(min-width:992px) and (max-width:1199px)")?(singleWidth=Math.floor(i/n.tabletH)+"px",doubleWidth=2*Math.floor(i/n.tabletH)+"px",columnsNum=n.tabletH):(singleWidth=Math.floor(i/n.desktop)+"px",doubleWidth=2*Math.floor(i/n.desktop)+"px",columnsNum=n.desktop),{singleWidth:singleWidth,doubleWidth:doubleWidth,columnsNum:columnsNum}},t.fn.simpleCalculateColumns=function(t,e,i){var n=parseInt(t.attr("data-width")),s=parseInt(t.attr("data-columns")),o=parseInt(t.attr("data-padding"));void 0===i&&(i="px"),this.calculateColumns(n,s,o,null,null,null,null,i,e)},t.fn.calculateColumns=function(e,i,n,s,o,a,r,l,d){return this.each((function(){var s,o,a,r,c,h="",u=t(this),p=u,f=u.attr("data-cont-id"),m=t(".cont-id-"+f),g=!1!==n?n:20,v=-g,y=g-10,w=g-5;g<10&&(y=0,w=0),0===g&&(v=0),u.parent().hasClass("products-shortcode")&&(y=g),u.parent().hasClass("mode-masonry")&&(p=p.parent(),m=m.parent());var b=m.not(".bg-under-post, .content-bg-on").hasClass("description-under-image");if(t("#col-style-id-"+f).exists())var C=document.getElementById("col-style-id-"+f);else(C=document.createElement("style")).id="col-style-id-"+f,C.appendChild(document.createTextNode("")),document.head.appendChild(C);var _=t("#col-style-id-"+f);if(h=b?" \t\t\t\t\t\t\t.cont-id-"+f+" { margin: -"+w+"px -"+g+"px -"+y+"px ; } \t\t\t\t\t\t\t.full-width-wrap .cont-id-"+f+" { margin: "+-w+"px "+g+"px "+-y+"px ; }":" \t\t\t\t\t\t\t.cont-id-"+f+" { margin: -"+g+"px; } \t\t\t\t\t\t\t.full-width-wrap .cont-id-"+f+" { margin: "+v+"px "+g+"px; } \t\t\t\t\t\t",_.html(h),p.hasClass("resize-by-browser-width"))void 0===d&&(d=the7GetMasonryColumnsConfig),a=(s=d.call(this,u)).singleWidth,r=s.doubleWidth,c=s.columnsNum;else{for(o=u.width()-1,e=e||200,i=i||6;Math.floor(o/i)1?" \t\t\t\t\t\t\t.cont-id-"+f+" .wf-cell { width: "+a+"; padding: "+w+"px "+g+"px "+y+"px; } \t\t\t\t\t\t\t.cont-id-"+f+" .wf-cell.double-width { width: "+r+"; } \t\t\t\t\t\t":" \t\t\t\t\t\t\t.cont-id-"+f+" .wf-cell { width: "+a+"; padding: "+w+"px "+y+"px "+g+"px; } \t\t\t\t\t\t":c>1?" \t\t\t\t\t\t\t.cont-id-"+f+" .wf-cell { width: "+a+"; padding: "+g+"px; } \t\t\t\t\t\t\t.cont-id-"+f+" .wf-cell.double-width { width: "+r+"; } \t\t\t\t\t\t":" \t\t\t\t\t\t\t.cont-id-"+f+" .wf-cell { width: "+a+"; padding: "+g+"px; } \t\t\t\t\t\t",_.html(h);var x=C.sheet.cssRules.length;C.sheet.insertRule(".webkit-hack { }",x),C.sheet.deleteRule(x),u.trigger("columnsReady")}))},t.fn.initSlider=function(){return this.each((function(){var e=t(this);e.data("width"),e.data("height");e.hasClass("royalReady")||(e.postTypeScroller(),e.addClass("royalReady"))}))};var xe=Isotope.prototype._positionItem;function Ie(t,e,i,n){t.find(i).addClass("lazy-load").addClass(n),t.layzrInitialisation()}Isotope.prototype._positionItem=function(t,e,i,n){xe(t,e,i,!0)},t.fn.IsoLayzrInitialisation=function(t){return Ie(this,t,"img[class*=iso-]","iso-item-lazy-load")},t.fn.IsoLayzrJqInitialisation=function(t){return Ie(this,t,"img","thumb-lazy-load-show")},t.fn.layzrBlogInitialisation=function(t){return Ie(this,t,"img","blog-thumb-lazy-load-show")},t(".layzr-loading-on .blog-shortcode.jquery-filter.mode-list .visible").layzrBlogInitialisation();var Se=t(".iso-container"),Te=t(".iso-grid:not(.jg-container, .iso-container), .blog.layout-grid .wf-container.description-under-image:not(.jg-container, .iso-container), .grid-masonry:not(.iso-container), .shortcode-blog-posts.iso-grid"),ke=Se.add(Te),ze=dtGlobals.isoPreloader=t('').appendTo("body").hide();ke.not(".blog-grid-shortcode").addClass("dt-isotope"),window.the7ApplyColumns=function(t,e,n){var s,o;e&&e.length&&(t=t||0,s=e.parent().hasClass("mode-masonry")?e.parent():e,o=parseInt(s.attr("data-padding")),e.addClass("cont-id-"+t).attr("data-cont-id",t),e.simpleCalculateColumns(s,n),o>10&&e.addClass("mobile-paddings"),i.on("debouncedresize",(function(){e.simpleCalculateColumns(s,n),o>10&&e.addClass("mobile-paddings")})))},ke.exists()&&ke.not(".custom-iso-columns").each((function(e){the7ApplyColumns(e,t(this),the7GetMasonryColumnsConfig)})),t.fn.heightHack=function(){return this.each((function(){var e,i=t(this).not(".back-image");i.exists()&&(i.hasClass("height-ready")||i.parents(".testimonial-thumb").exists()||i.parents(".post-rollover").exists()||i.parents(".slider-masonry").exists()||i.parents(".rollover-thumbnails").exists()||(e=parseInt(i.attr("width"))/parseInt(i.attr("height")),i.parents(".testimonial-vcard, .dt-format-gallery, .shortcode-blog-posts.iso-grid ").exists()&&i.wrap("
"),isNaN(e)&&i[0]&&(e=i[0].naturalWidth/i[0].naturalHeight),i.parent().not(".img-ratio-wrapper").css({"padding-bottom":100/e+"%",height:0,display:"block"}),i.parents(".dt-team-masonry-shortcode").exists()&&"none"!==i.parent().css("max-width")&&i.parents(".team-media").addClass("apply-max-width"),i.attr("data-ratio",e).addClass("height-ready")))}))},t.fn.IsoInitialisation=function(e,i,n,s){return this.each((function(){var n=t(this);n.hasClass("iso-item-ready")||(n.isotope({itemSelector:e,layoutMode:i,stagger:30,resize:!1,transitionDuration:0,equalheight:s,hiddenStyle:{opacity:0},visibleStyle:{opacity:1},masonry:{columnWidth:1},getSortData:{date:function(e){return t(e).attr("data-date")},name:function(e){return t(e).attr("data-name")}},customSorters:{name:window.the7LocaleSensitiveStringsCompare}}),n.addClass("iso-item-ready"))}))},t(".iso-container, .portfolio-grid").each((function(){if(t(this).parent().hasClass("mode-masonry"))var e=null;else e=t(this);t(".filter:not(.iso-filter):not(.without-isotope):not(.with-ajax) .filter-categories a").on("click.presscorFilterCategories",(function(i){var n=t(this).attr("data-filter");return null!=e&&e.isotope({filter:n}),!1})),t(".filter:not(.iso-filter):not(.without-isotope):not(.with-ajax) .filter-extras .filter-by a").on("click",(function(i){var n=t(this).attr("data-by"),s=t(this).parents(".filter-extras").find(".filter-sorting > a.act").first().attr("data-sort");return null!=e&&e.isotope({sortBy:n,sortAscending:"asc"==s}),!1})),t(".filter:not(.iso-filter):not(.without-isotope):not(.with-ajax) .filter-extras .filter-sorting a").on("click",(function(i){var n=t(this).attr("data-sort"),s=t(this).parents(".filter-extras").find(".filter-by > a.act").first().attr("data-by");return null!=e&&e.isotope({sortBy:s,sortAscending:"asc"==n}),!1}))})),t(".dt-css-grid .wf-cell.visible").IsoLayzrJqInitialisation(),(Se.exists()||Te.exists())&&(ze.fadeIn(50),ke.not(".blog-grid-shortcode").each((function(){var e=t(this),i=e;e.hasClass("mode-masonry")&&(i=e.find(".dt-isotope")),i.parent().hasClass("the7-elementor-widget")||t(".preload-me",i).heightHack(),t(".slider-masonry",i).initSlider(),i.one("columnsReady",(function(){if(i.hasClass("iso-container"))i.IsoInitialisation(".iso-item","masonry",400);else{var e=!0;(i.parent().hasClass("gradient-overlay-layout-list")||i.parent().hasClass("content-rollover-layout-list"))&&(e=!1),i.IsoInitialisation(".wf-cell","fitRows",400,e)}i.isotope("on","layoutComplete",(function(e){for(var n=0;n a").on("click",(function(e){var i=t(this);if(void 0===arguments.callee.dtPreventD){var n=i.parents(".filter").first();arguments.callee.dtPreventD=!0,n.hasClass("without-isotope")&&(arguments.callee.dtPreventD=n.hasClass("with-ajax"))}e.preventDefault(),i.trigger("mouseleave"),i.hasClass("act")&&!i.hasClass("show-all")?(e.stopImmediatePropagation(),i.removeClass("act"),i.siblings("a.show-all").trigger("click")):(i.siblings().removeClass("act"),i.addClass("act"),arguments.callee.dtPreventD||(window.location.href=i.attr("href")))}))},window.the7ApplyGeneralOrderingSwitchHandlers=function(t){if(t.exists()){t.prev(".act").length>0?t.addClass("left-act"):t.next(".act").length>0?t.addClass("right-act"):(t.removeClass("right-act"),t.removeClass("left-act"));var e=t.parents(".filter").first();t.on("click",(function(){e.hasClass("without-isotope")?t.hasClass("right-act")?t.prev("a")[0].click():t.hasClass("left-act")&&t.next("a")[0].click():t.hasClass("right-act")?t.prev("a").trigger("click"):t.hasClass("left-act")&&t.next("a").trigger("click")}))}},window.the7ApplyGeneralOrderingSwitchEffects=function(e){if(e.exists()){var i=t(".filter-switch",e);i.append(" "),i.each((function(){the7ApplyGeneralOrderingSwitchHandlers(t(this))})),t(".filter-switch .filter-switch-toggle",e).on("animationend webkitAnimationEnd oanimationend MSAnimationEnd",(function(e){t(this).parent().removeClass("pressed")})),t(".filter-extras a",e).on("animationend webkitAnimationEnd oanimationend MSAnimationEnd",(function(e){t(this).removeClass("pressed")})),Modernizr.touch?(i.on("touchstart",(function(e){t(".filter-switch").removeClass("pressed"),t(this).addClass("pressed")})),t(".filter-extras a",e).on("touchstart",(function(e){t(".filter-extras").removeClass("pressed"),t(this).parent(".filter-extras").addClass("pressed")}))):(i.on("mousedown",(function(e){t(".filter-switch").removeClass("pressed"),t(this).addClass("pressed"),setTimeout((function(){t(this).removeClass("pressed")}),600)})),t(".filter-extras a",e).each((function(){t(this).on("mousedown",(function(e){t(".filter-extras").removeClass("pressed"),t(this).addClass("pressed"),setTimeout((function(){t(this).removeClass("pressed")}),600)}))}))),t(".filter-extras a",e).on("click",(function(e){var n=t(this);if(void 0===arguments.callee.dtPreventD){var s=n.parents(".filter").first();arguments.callee.dtPreventD=!0,s.hasClass("without-isotope")&&(arguments.callee.dtPreventD=s.hasClass("with-ajax"))}arguments.callee.dtPreventD&&e.preventDefault(),n.siblings().removeClass("act"),n.addClass("act"),i.each((function(){var e=t(this);e.prev(n).hasClass("act")?(e.addClass("left-act"),e.removeClass("right-act")):e.next(n).hasClass("act")?(e.addClass("right-act"),e.removeClass("left-act")):(e.removeClass("right-act"),e.removeClass("left-act"))}))}))}},t(".filter-categories").each((function(){the7ApplyGeneralFilterHandlers(t(this))})),t(".filter").each((function(){the7ApplyGeneralOrderingSwitchEffects(t(this))})),t(".mode-list .filter-categories > a:not(.show-all), .dt-css-grid-wrap .filter-categories > a:not(.show-all)").each((function(){$this=t(this),$dataFiltr=$this.attr("data-filter"),$newDataFilter=$dataFiltr.substring(1,$dataFiltr.length),$this.attr("data-filter",$newDataFilter),$this.parents().removeClass("iso-filter")})),window.the7ShortcodesFilterConfig=function(t){var e={},i=t;return t.hasClass("dt-css-grid")&&(i=t.parent()),e.filterControls=i.find(".filter-categories"),e.pageControls=i.find(".paginator"),e.sortControls=i.find(".filter-by"),e.orderControls=i.find(".filter-sorting"),e.defaultSort=i.find(".filter-by .act").attr("data-by"),e.defaultOrder=i.find(".filter-sorting .act").attr("data-sort"),e.paginationMode=i.attr("data-pagination-mode"),e.pageLimit=i.attr("data-post-limit"),e.useFilters=!0,e.useSorting=!0,e.controlsSelecter="a",e.controlsSelecterChecked="a.act",e.defaultFilter="*",e.selectAll="*",e.loadMoreButtonLabel=dtLocal.moreButtonText.loadMore,e.customSorters={name:function(t,e){return window.the7LocaleSensitiveStringsCompare(t.name.toLowerCase(),e.name.toLowerCase())}},e},t.fn.shortcodesFilter=function(e){var n=t(this);function s(){if(n.hasClass("dt-css-grid")?$element=n.parent():$element=n,$element.length&&$element.hasClass("lazy-loading-mode")){var t=$element.find(".button-load-more");if(!t.parent().hasClass("hidden")){var e=t.offset();e&&i.scrollTop()+i.height()>e.top-2*i.height()&&t.trigger("click")}}}n.Filterade(e),n.on("updateReady",(function(){Je(),n.parent(".content-rollover-layout-list:not(.disable-layout-hover)").find(".post-entry-wrapper").clickOverlayGradient()})),i.on("scroll",(function(){s()})),s()},t(".blog-shortcode.mode-list.jquery-filter, .jquery-filter .dt-css-grid:not(.custom-pagination-handler)").each((function(){var e=t(this);e.shortcodesFilter(the7ShortcodesFilterConfig(e))})),window.the7ApplyMasonryWidgetCSSGridFiltering=function(t){var e;t&&t.length&&((e=the7ShortcodesFilterConfig(t)).pagerClass="page-numbers filter-item",e.previousButtonLabel="←",e.nextButtonLabel="→",t.shortcodesFilter(e))};var Le=t(".content-rollover-layout-list:not(.disable-layout-hover) .dt-css-grid .post-entry-wrapper");function Ee(){var t=.01*window.innerHeight;document.documentElement.style.setProperty("--the7-vh",t+"px")}i.on("debouncedresize",(function(e){if(dtGlobals.resizeCounter++,the7Utils.isFunction(t.fn.calcPics)&&t(".instagram-photos").calcPics(),o.hasClass("boxed")){var a=o.css("maxWidth"),r=a.indexOf("px")>=0,l=a.indexOf("%")>=0;r&&(z.addClass("width-in-pixel"),void 0!==Fe&&Fe.addClass("width-in-pixel")),l&&(t(".masthead.full-width:not(.side-header)").css({width:o.width()}),void 0!==Fe&&Fe.find(".top-bar-bg").length>0&&Fe.find(".top-bar-bg").css({width:o.width()}),s.hasClass("phantom-sticky")&&t(".top-bar-bg").length>0&&t(".top-bar-bg").css({width:o.width()}))}var d;Le.clickOverlayGradient(),window.innerWidth>=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&(o.removeClass("show-mobile-header"),o.addClass("closed-mobile-header"),s.removeClass("show-sticky-mobile-header"),s.removeClass("show-overlay-mobile-header").addClass("closed-overlay-mobile-header"),t(".mobile-sticky-header-overlay").removeClass("active"),t(".dt-mobile-menu-icon").removeClass("active"),n.removeClass("menu-open")),window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off")?(t(".masthead").hasClass("masthead-mobile")||t(".masthead:not(.mixed-header):not(#phantom)").addClass("masthead-mobile"),t(".masthead").hasClass("masthead-mobile-header")||(t(".masthead:not(.side-header):not(#phantom)").addClass("masthead-mobile-header"),t("body:not(.overlay-navigation):not(.sticky-header) .side-header:not(#phantom)").addClass("masthead-mobile-header")),A.exists()&&(A.removeClass("sticky-top-line-on sticky-top-line-on"),Wt=!1),t(".mobile-header-scrollbar-wrap").css({"max-width":t(".dt-mobile-header ").width()-13})):(t(".masthead:not(.mixed-header):not(#phantom)").removeClass("masthead-mobile"),t(".masthead:not(.side-header):not(#phantom)").removeClass("masthead-mobile-header"),t("body:not(.overlay-navigation):not(.sticky-header) .side-header:not(#phantom)").removeClass("masthead-mobile-header"),t(".masthead").hasClass("desktop-side-header")||t("body:not(.overlay-navigation):not(.sticky-header) .side-header:not(#phantom)").addClass("desktop-side-header")),window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&window.innerWidth>dtLocal.themeSettings.mobileHeader.secondSwitchPoint&&!s.hasClass("responsive-off")?t(".left-widgets",k).find(".in-top-bar-left").length>0||t(".top-bar .right-widgets").find(".in-top-bar-right").length>0?k.removeClass("top-bar-empty"):k.addClass("top-bar-empty"):window.innerWidth<=dtLocal.themeSettings.mobileHeader.secondSwitchPoint&&!s.hasClass("responsive-off")?t(".left-widgets",k).find(".in-top-bar").length>0?k.removeClass("top-bar-empty"):k.addClass("top-bar-empty"):!t(".mini-widgets",k).find(".show-on-desktop").length>0?k.addClass("top-bar-empty"):k.removeClass("top-bar-empty"),t(".mini-nav select").trigger("render"),t.fancyFeaderCalc(),t(".dt-default").each((function(){var e=t(this),n=e.attr("data-min-height");t.isNumeric(n)?e.css({minHeight:n+"px"}):n?n.search("%")>0?e.css({minHeight:i.height()*(parseInt(n)/100)+"px"}):e.css({minHeight:n}):e.css({minHeight:0})})),(d=t(".floating-content")).exists()&&t(".preload-me").loaded(null,(function(){var e=d.siblings(".project-wide-col").height(),n=d.height(),s=d.offset(),o=0;k.length>0&&t(".phantom-sticky").length>0&&(o=k.height());var a=t(".project-post").offset();i.on("scroll",(function(){var t="0";window.innerWidth>1050&&dtGlobals.winScrollTop+Fe.height()>s.top&&(t=dtGlobals.winScrollTop+Fe.height()+n+400&&t(".header-side-left.footer-overlap:not(.sticky-header) .boxed .footer, .left-side-line.footer-overlap .boxed .footer").css({right:i.width()-(c.offset().left+c.outerWidth())}),t(".footer-overlap .footer").css({opacity:1}),t(".mobile-false .footer-overlap .page-inner").css({"min-height":window.innerHeight-t(".footer").innerHeight(),"margin-bottom":t(".footer").innerHeight()}),t(".mobile-false .footer-overlap .footer").css({bottom:parseInt(s.css("padding-bottom"))+parseInt(s.css("margin-bottom"))})})).trigger("debouncedresize"),t(window).trigger("the7_widget_resize"),Ee(),i.on("the7-resize-height-debounce",Ee),window.addEventListener("orientationchange",Ee);var Ae=t("html, body"),Oe=t(".phantom-sticky"),Pe=t(".sticky-top-line"),De=(St=Oe.exists(),Pe.exists()),Me=t(".sticky-mobile-header").exists(),He=St||De,Fe=null;be=null;function We(){window.innerWidth0?t(".masthead-mobile-header"):t("#phantom");var e=t(".mobile-header-bar");e.length>0&&"none"!==e.css("display")?(be=e,De&&(be=t(".sticky-top-line.masthead-mobile-header .mobile-header-bar")),(St||De)&&(Fe=t(".sticky-header .masthead.side-header").length>0||t(".overlay-navigation .masthead.side-header").length>0?e.parent(".masthead:not(.side-header)"):e.parent())):(be=t(".masthead:not(.side-header):not(.side-header-v-stroke)"),s.hasClass("floating-top-bar")||(be=be.find(".header-bar")))}We();var Be=function(t,e,i,n){void 0===n&&(n="easeInOutQuad"),Ae.stop().animate({scrollTop:t},{duration:e,easing:n,complete:i})},Re=function(){var t=NaN;try{t=parseInt(s.css("--the7-anchor-scroll-offset"))}catch(t){}return t},je=function(){var e=Re();if(!isNaN(e))return e;var i=null,n=0,o=s.hasClass("overlay-navigation");window.innerWidthwindow.innerHeight&&(u=p>0?d-window.innerHeight:d+window.innerHeight,i.scrollTop(u),h="easeOutQuart");return t.closeMobileHeader(),c&&t.closeSideHeader(),Be(d,600,(function(){if(c||setTimeout((function(){t.closeSideHeader()}),50),!r){var e,i,n,s=$e(a);d!==s&&(Be(s),i=s,n=$e,(e=a).one("animationend",(function(){var t=n(e);t!==i&&Be(t)})))}}),h),!0},Ye=function(t){return t.match("^#!")?t.substring(3):t.match("^#")?t.substring(1):t.substring(t.indexOf("#")).substring(3)};function Ne(e){e.on("click",(function(e){if(!t(e.target).parent().hasClass("next-level-button")&&clickAnchorLink(t(this)))return e.preventDefault(),!1}))}dtGlobals.addOnloadEvent((function(){var e=window.location.hash,i=Ye(e);setTimeout((function(){if(i){t(".menu-item a").parent("li").removeClass("act"),t(".dt-nav-menu a").removeClass("active-item");var n=t(".menu-item a[href='"+e+"']"),s=t(".dt-nav-menu a[href='"+e+"']");n.parent("li").addClass("act"),s.addClass("active-item"),t(".menu-item a[href*='"+e+"']").parent("li").addClass("act"),t(".dt-nav-menu a[href*='"+e+"']").addClass("active-item");var o=n.parents("li");if(o.find(".sub-nav li.act, .sub-menu li.act, .vertical-sub-nav li.act").length){var a=o.find(" > .sub-nav, .sub-menu, .vertical-sub-nav");o.addClass("open-sub"),a.stop(!0,!0).slideDown(100)}setTimeout((function(){Ge(i)}),300)}else{var r=t(".menu-item > a[href='#!/up']");r.length>0&&r.parent("li").addClass("act")}}),300)})),i.on("the7-resize-width",(function(){We()})),
/*!-scroll to anchor*/
window.clickAnchorLink=function(e){const i=e.attr("href"),n=Ye(i),s=Ge(n,i,e);if(s&&t(window).trigger("the7.anchorScrolling",[n,i,e]),e.parents().hasClass("elementor-popup-modal")){const t=e.parents(".elementor-location-popup").attr("data-elementor-id");elementorFrontend.documentsManager.documents[t].getModal().hide()}return t(".menu-item a").parent("li").removeClass("act"),t(".dt-nav-menu a").removeClass("active-item"),e.parents("li.menu-item ").addClass("act"),e.parents().hasClass("dt-nav-menu")&&e.addClass("active-item"),s},s.on("click",'.anchor-link[href^="#!"], .anchor-link a[href^="#!"], .logo-box a[href^="#!"], .branding a[href^="#!"], #branding-bottom a[href^="#!"], .mobile-branding a[href^="#!"], .woocommerce-product-rating a.woocommerce-review-link[href^="#"]',(function(e){if(clickAnchorLink(t(this)))return e.preventDefault(),!1})),Ne(t('.menu-item > a[href*="#!"]')),e.on("elementor/popup/show",t(".elementor-popup-modal .dialog-message"),(function(t,e,i){Ne(i.$element.find('.menu-item > a[href*="#!"]'))}));_e=t(".elementor-popup-modal .dialog-message");e.on("elementor/popup/show",_e,(function(e,i,n){t("#elementor-popup-modal-"+i+" .elementor-location-popup");n.$element.find('.menu-item > a[href*="#!"]').on("click",(function(e){if(!t(e.target).parent().hasClass("next-level-button")&&clickAnchorLink(t(this)))return e.preventDefault(),!1}))})),e.on("elementor/popup/show",(function(e,i,n){var s=window.location.hash;if(Ye(s)){t(".menu-item a").parent("li").removeClass("act"),t(".dt-nav-menu a").removeClass("active-item");var o=t(".menu-item a[href='"+s+"']"),a=t(".dt-nav-menu a[href='"+s+"']");o.parent("li").addClass("act"),a.addClass("active-item"),t(".menu-item a[href*='"+s+"']").parent("li").addClass("act"),t(".dt-nav-menu a[href*='"+s+"']").addClass("active-item");var r=o.parents("li");if(r.find(".sub-nav li.act, .sub-menu li.act, .vertical-sub-nav li.act").length){var l=r.find(" > .sub-nav, .sub-menu, .vertical-sub-nav");r.addClass("open-sub"),l.stop(!0,!0).slideDown(100)}elementorFrontend.elements.$window.one("the7.anchorScrolling.elementorPopup",(function(){n.getModal()&&n.getModal().hide()}))}else{var d=t(".menu-item > a[href='#!/up']");d.length>0&&d.parent("li").addClass("act")}})),e.on("elementor/popup/hide",(function(){elementorFrontend.elements.$window.off("the7.anchorScrolling.elementorPopup")}));var qe=null,Ue=t(".one-page-row div[data-anchor^='#']"),Ve=t(".one-page-row .vc_row[id], .one-page-row .vc_section[id], .elementor-element[id], .elementor-menu-anchor[id]"),Xe=t('.menu-item > a[href="#!/up"]'),Ze=t.merge(Ue,Ve),Qe=null;function Ke(e){t('.menu-item a[href^="#!"]').parents("li").removeClass("act"),t('.dt-nav-menu a[href^="#!"]').removeClass("active-item");var i=t('.menu-item a[href="'+e+'"]'),n=t('.dt-nav-menu a[href="'+e+'"]');i.parents("li").addClass("act"),n.addClass("active-item")}
/*!-set active menu item on scroll*/function Je(){var e=t(".dt-isotope"),i=t(".iso-grid .wf-cell:not(.shown), .dt-css-grid .wf-cell:not(.shown)");if(i.exists()&&window.the7ProcessEffects(i),e.exists()){e.each((function(){0;var e=t(this).find(".wf-cell");e.exists()&&window.the7ProcessEffects(e)}))}else{var n=t(".iso-item:not(.shown)");if(!n.exists())return;window.the7ProcessEffects(n)}}Ue.length>0?Qe=Ue.first():Ve.length>0&&(Qe=Ve.first()),Ue=null,Ve=null,i.scroll((function(e){if(!s.hasClass("is-scroll")){var i,n=0,o=Re();isNaN(o)?(n=Nt&&"solid"==Fe.css("border-bottom-style")?Fe.height()+1:Nt?Fe.height():be.height(),t(".masthead.side-header").length>0&&null==n&&(n=0)):n=o,Ze.each((function(){var e=t(this);e.hasClass("wpb_animate_when_almost_visible")&&e.one("webkitAnimationEnd oanimationend msAnimationEnd animationend",(function(t){e.is(":visible")&&dtGlobals.winScrollTop>=Math.floor(e.offset().top-n)&&(i="#!/"+e.attr("id")),Ke(i)})),e.is(":visible")&&dtGlobals.winScrollTop>=Math.floor(e.offset().top-n)&&(i="#!/"+e.attr("id"))})),i!==qe&&(qe=i,Ke(i)),Xe.length>0&&null!==Qe&&dtGlobals.winScrollTop0){for(var r=0;r0?(a.append(o),dtGlobals.ajaxContainerItems=a.find("div.wf-cell, .project-even, .project-odd").not(".animation-triggered"),isIsotope?(t(".preload-me",a).heightHack(),t(".slider-masonry",a).initSlider(),t(".slider-masonry",a).css("visibility","visible"),a.isotope("addItems",o),"media"!=e.contentType?a.isotope({sortBy:sortBy,sortAscending:sortAscending}):a.isotope({sortBy:"original-order"}),a.isotope("layout"),n.init(),a.IsoLayzrInitialisation(),a.layzrInitialisation()):(t(".slider-masonry",a).initSlider(),t("ul.photoSlider:not(.slider-masonry)").each((function(){t(this).postTypeScroller()})),t("ul.photoSlider").css("visibility","visible"),"jgrid"==e.layout&&a.collagePlus(dtGlobals.jGrid),n.init(),a.IsoLayzrInitialisation(".mobile-true"),a.layzrInitialisation()),void 0!==e.afterSuccessInit&&e.afterSuccessInit(s),i.trigger("dt.ajax.content.appended")):isIsotope&&a.isotope({sortBy:sortBy,sortAscending:sortAscending})}void 0!==e.afterResponce&&e.afterResponce(s),Je()}))},init:function(){switch(this.settings.contentType){case"portfolio":this.initPortfolio();break;case"albums":this.initAlbums();break;case"media":this.initMedia();break;case"blog":case"testimonials":this.basicInit()}},initPortfolio:function(){this.basicInit()},initAlbums:function(){this.basicInit()},initMedia:function(){this.basicInit()},basicInit:function(){var e=this.settings.targetContainer;t(".dt-pswp-item, .dt-gallery-container a",e).addPhotoswipeWrap(),t(".dt-gallery-container",e).initPhotoswipe(),t(".photoswipe-wrapper",e).initPhotoswipe(),e.photoswipeGallery(".dt-gallery-container.wf-container"),t(".rollover, .rollover-video, .post-rollover, .rollover-project .show-content",e).addRollover(),the7Utils.isFunction(t.fn.hoverdir)&&(t(".mobile-false .hover-grid .rollover-project").each((function(){t(this).hoverdir()})),t(".mobile-false .hover-grid-reverse .rollover-project ").each((function(){t(this).hoverdir({inverse:!0})}))),t(".mobile-true .rollover-project a.link.show-content, .hover-style-one article:not(.description-off) .rollover-project > a, .hover-style-two article:not(.description-off) .rollover-project > a, .hover-style-three article:not(.description-off) .rollover-project > a").on("click",(function(t){t.preventDefault()})),t(".dt-trigger-first-pswp",e).not(".pspw-ready").on("click",(function(){var e=t(this).parents("article.post");if(e.length>0){var i=e.find("a.dt-pswp-item");i.length>0&&i.first().trigger("click")}return!1})).addClass("mfp-ready"),t(".mobile-true .rollover-project").touchNewHover(),the7Utils.isFunction(t.fn.triggerHoverClick)&&t(".mobile-false .rollover-project:not(.rollover-active) .rollover-content, .buttons-on-img:not(.rollover-active) .rollover-content").triggerHoverClick(),the7Utils.isFunction(t.fn.triggerHoverClick)&&t(".mobile-false .rollover-project.forward-post").triggerHoverClick(),the7Utils.isFunction(t.fn.triggerHoverClick)&&t(".mobile-false .rollover-project.rollover-active, .mobile-false .buttons-on-img.rollover-active").followCurentLink(),the7Utils.isFunction(t.fn.triggerAlbumsClick)&&t(".mobile-false .albums .rollover-project, .mobile-false .albums .buttons-on-img, .mobile-false .archive .type-dt_gallery .buttons-on-img").triggerAlbumsClick(),the7Utils.isFunction(t.fn.triggerAlbumsTouch)&&t(".mobile-true .albums .rollover-project, .mobile-true .albums .buttons-on-img, .mobile-true .archive .type-dt_gallery .buttons-on-img").triggerAlbumsTouch(),the7Utils.isFunction(t.fn.triggerPostClick)&&t(".mobile-false .content-rollover-layout-list:not(.portfolio-shortcode):not(.albums-shortcode) .post, .mobile-false .gradient-overlay-layout-list:not(.portfolio-shortcode):not(.albums-shortcode) .post").triggerPostClick(),the7Utils.isFunction(t.fn.touchforwardToPost)&&t(".mobile-true .rollover-project.forward-post").touchforwardToPost(),the7Utils.isFunction(t.fn.touchHoverImage)&&t(".mobile-true .buttons-on-img").touchHoverImage(),t(".hover-scale .rollover-project").scaleInHover(),the7Utils.isFunction(t.fn.addIconToLinks)&&t(".links-container a").addIconToLinks()}};function ei(e){var i=e.find(".filter.with-ajax").first(),n=e.find(".wf-container.with-ajax, .articles-list.with-ajax").first(),s=i.find(".filter-categories a.act"),o=i.find(".filter-by a.act"),a=i.find(".filter-sorting a.act"),r=parseInt(n.attr("data-cur-page")),l=new Array,d=s.length>0?s.attr("data-filter").replace(".category-","").replace("*",""):"";return"0"==d&&(d="none"),n.hasClass("dt-isotope")&&t(".wf-cell",n).each((function(){l.push(t(this).attr("data-post-id"))})),{visibleItems:l,postID:dtLocal.postID,paged:r,term:d,orderBy:o.length>0?o.attr("data-by"):"",order:a.length>0?a.attr("data-sort"):"",ajaxurl:dtLocal.ajaxurl,nonce:dtLocal.ajaxNonce,pageData:dtLocal.pageData,layout:dtLocal.pageData.layout,targetContainer:n,isPhone:dtGlobals.isPhone}}function ii(){if(dtGlobals.loadMoreButton&&dtGlobals.loadMoreButton.exists()){var t=dtGlobals.loadMoreButton.offset();t&&i.scrollTop()>(t.top-i.height())/2&&!dtGlobals.loadMoreButton.hasClass("animate-load")&&dtGlobals.loadMoreButton.trigger("click")}}t("#content").on("click",".paginator.with-ajax a",(function(e){if(e.preventDefault(),!t(e.target).hasClass("dots")&&!t(e.target).hasClass("disabled")){var n=t(this),s=n.closest(".paginator"),o=s.parent(),a=o.find(".wf-container.with-ajax, .articles-list.with-ajax").first(),r=t(".button-load-more"),l=r.find(".button-caption").text(),d=s.hasClass("paginator-more-button")?"more":"paginator",c="more"==d,h=ei(o),u=c?h.paged+1:n.attr("data-page-num"),p=dtGlobals.isoPreloader;if(r.addClass("animate-load").find(".button-caption").text(dtLocal.moreButtonText.loading),p&&!t(".paginator-more-button").length&&dtGlobals.isoPreloader.fadeIn(50),c)t("html, body").scrollTop(i.scrollTop()+1);else{var f=o.find(".filter.with-ajax").first(),m=44;f.exists()||(f=a,m=50),t("html, body").animate({scrollTop:f.offset().top-t("#phantom").height()-m},400)}ti.launch(t.extend({},h,{contentType:h.pageData.template,targetPage:u,sender:d,visibleItems:c?new Array:h.visibleItems,afterResponce:function(e){s.length>0?(e.paginationHtml?s.html(t(e.paginationHtml).html()).show():s.html("").hide(),setTimeout((function(){t(".button-load-more").removeClass("animate-load").find(".button-caption").text(l)}),200)):e.paginationHtml&&a.parent().append(t(e.paginationHtml)),s.find(".dots").on("click",(function(){s.find("div:hidden").show().find("a").unwrap(),t(this).remove()})),a.attr("data-cur-page",e.currentPage),dtGlobals.isoPreloader.stop().fadeOut(300),dtGlobals.loadMoreButton=t(".button-load-more")}}))}})),t(".filter.with-ajax .filter-categories a, .filter.with-ajax .filter-extras a").on("click",(function(e){e.preventDefault();var i=t(this).closest(".filter").parent(),n=i.find(".wf-container.with-ajax").first(),s=i.find(".paginator").first(),o=ei(i),a=dtGlobals.isoPreloader;n.resetEffects(),a&&dtGlobals.isoPreloader.fadeIn(50),ti.launch(t.extend({},o,{contentType:o.pageData.template,targetPage:1,paged:1,sender:"filter",afterResponce:function(e){s.length>0?e.paginationHtml?s.html(t(e.paginationHtml).html()).show():s.html("").hide():e.paginationHtml&&n.parent().append(t(e.paginationHtml)),s.find(".dots").on("click",(function(){s.find("div:hidden").show().find("a").unwrap(),t(this).remove()})),n.attr("data-cur-page",e.currentPage),dtGlobals.isoPreloader.stop().fadeOut(300),dtGlobals.loadMoreButton=t(".button-load-more")}}))})),void 0!==dtLocal.themeSettings.lazyLoading&&dtLocal.themeSettings.lazyLoading&&(dtGlobals.loadMoreButton=t(".button-load-more"),i.on("scroll",(function(){ii()})),ii());var ni,si=(ni={},function(t,e,i){i||(i="Don't call this twice without a uniqueId"),ni[i]&&clearTimeout(ni[i]),ni[i]=setTimeout(t,e)});i.on("the7-resize-width",(function(){var e=t(".iso-item, .iso-grid .wf-cell");e.addClass("animate-position"),si((function(){e.removeClass("animate-position")}),2500,"")}));var oi=t(".dt-isotope"),ai=t(".iso-item:not(.shown):not(.is-visible)"),ri=t(".iso-grid .wf-cell:not(.shown):not(.is-visible), .dt-css-grid .wf-cell:not(.shown):not(.is-visible)");(oi.exists()||ai.exists()||ri.exists())&&(setTimeout((function(){Je()}),100),i.on("scroll",(function(){Je()})));var li=function(){function e(e){this.config=t.extend({paginatorContainer:null,postLimit:1,curPage:1,items:[],filter:null,onPaginate:function(){}},e)}return e.prototype.setCurPage=function(t){this.config.curPage=parseInt(t)},e.prototype.getCurPage=function(){return this.config.curPage},e.prototype.reset=function(t){this.config.items=t,this.setCurPage(1),this.appendControls(),this._filterByCurPage()},e.prototype.appendControls=function(){},e.prototype._filterByCurPage=function(){this.showItem(this.config.items)},e.prototype.hideItem=function(t){t.removeClass("visible").addClass("hidden").hide()},e.prototype.showItem=function(t){t.addClass("visible").removeClass("hidden").show()},e.prototype.applyLoadingEffects=function(){this.lazyLoadImages(),Je()},e.prototype.lazyLoadImages=function(){this.config.items&&this.config.items.filter(".visible").IsoLayzrJqInitialisation()},e.prototype.layoutItems=function(){this._filterByCurPage(),this.config.filter&&"function"==typeof this.config.filter.layoutItems&&this.config.filter.layoutItems()},e}(),di=function(){function e(e){li.call(this,e);this.config=t.extend({previousButtonClass:"",previousButtonLabel:"",pagerClass:"",nextButtonClass:"",nextButtonLabel:"",activeClass:"act",pagesToShow:5},this.config),this.appendControls(),t("a.act",this.config.paginatorContainer).trigger("click.dtPostsPaginationFilter",{onSetup:!0})}return e.prototype=new li,e.prototype.addEvents=function(){var e=this;t("a",this.config.paginatorContainer).not(".dots").on("click.dtPostsPaginationFilter",{self:this},(function(t,i){e.config.onPaginate.call(this,t,i)})),t("a.dots",this.config.paginatorContainer).on("click.dtPostsPaginationDots",{self:this},(function(t){t.preventDefault(),t.data.self.config.paginatorContainer.find("div:hidden a").unwrap(),t.data.self.config.paginatorContainer.find("a.dots").remove()}))},e.prototype.appendControls=function(){var e=this.config.paginatorContainer,i=Math.ceil(this.config.items.length/this.config.postLimit),n=this.config.curPage;if(e.empty(),i<=1)e.addClass("hidden");else{var s,o;e.removeClass("hidden"),1!==n&&e.prepend(''+this.config.previousButtonLabel+" ");var a=(5|this.config.pagesToShow)-1,r=Math.floor(a/2),l=Math.ceil(a/2),d=Math.max(n-r,1),c=n+l;d<=r&&(c=d+a),c>i&&(d=Math.max(i-a,1),c=i);var h='… ',u=t('
'),p=t('
');for(s=o=1;1<=i?o<=i:o>=i;s=1<=i?++o:--o)s ")}return o}},addStaticLayerTo:function(e,t,i){var a;D[e].slayers.length<2?((a=document.createElement("rs-static-layers")).className="rs-stl-"+t,a.appendChild(i[0]),D[e].c[0].appendChild(a),D[e].slayers.push(a)):D[e].slayers[1].appendChild(i[0])}}),function(){return D.isIE11()?function(e,t){return e.querySelectorAll(t)}:function(e,t){return e.getElementsByTagName(t)}}),n=function(e){D[e].responsiveLevels=D.revToResp(D[e].responsiveLevels,D[e].rle),D[e].visibilityLevels=D.revToResp(D[e].visibilityLevels,D[e].rle),D[e].responsiveLevels[0]=9999,D[e].rle=D[e].responsiveLevels.length||1,D[e].gridwidth=D.revToResp(D[e].gridwidth,D[e].rle),D[e].gridheight=D.revToResp(D[e].gridheight,D[e].rle),D[e].editorheight!==C&&(D[e].editorheight=D.revToResp(D[e].editorheight,D[e].rle)),D.updateDims(e)},I=function(e,i){var a=[];return T.each(e,function(e,t){e!=i&&a.push(t)}),a},l=function(e,t,i){D[i].c.find(e).each(function(){var e=T(this);e.data("key")===t&&e.remove()})},d=function(e,t){if(D["rsfont_"+e]==C&&(D["rsfont_"+e]=document.createElement("span"),D["rsfont_"+e].innerHTML=Array(100).join("wi"),D["rsfont_"+e].style.cssText=["position:absolute","width:auto","font-size:128px","left:-99999px"].join(" !important;"),D["rsfont_"+e].style.fontFamily=e,document.body.appendChild(D["rsfont_"+e])),t===C)return D["rsfont_"+e].clientWidth;document.body.removeChild(D["rsfont_"+e])},c=function(e,t){var i=0;return e.find(t).each(function(){var e=T(this);!e.hasClass("tp-forcenotvisible")&&i