var logo_height,content_menu_position,content_menu_top,src,next_image,prev_image,$top_header_height,paspartu_width,paspartu_width_init,sticky_animate,current_scroll,$scrollHeight,$j=jQuery.noConflict(),common=(window.qode={},qode.modules={},{}),$scroll=(qode.modules.common=common,0),qode_body=$j("body"),qode_document=$j("document"),qode_window=$j(window),$window_width=$j(window).width(),$window_height=(qode.windowWidth=$window_width,$j(window).height()),menu_dropdown_height_set=(qode.windowHeight=$window_height,!1),sticky_amount=0,qode_grid_width=1100,content_menu_top_add=0,min_w=1500,video_width_original=1280,video_height_original=720,vid_ratio=1280/720;function getScrollAmountForStickyHeader(){return amount=void 0!==qodeGlobalVars.vars.page_scroll_amount_for_sticky&&""!==qodeGlobalVars.vars.page_scroll_amount_for_sticky?qodeGlobalVars.vars.page_scroll_amount_for_sticky:$j(".carousel.full_screen").length?$j(".carousel").height():scroll_amount_for_sticky}function qodeBrowserDetection(){var e=/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor),t=/Safari/.test(navigator.userAgent)&&/Apple Computer/.test(navigator.vendor),o=-1=min_header_height_scroll&&$top_header_height<=e?($j("header.page_header").removeClass("scrolled"),$j("header:not(.centered_logo.centered_logo_animate) nav.main_menu > ul > li > a").css("line-height",header_height-e+$top_header_height+"px"),$j("header:not(.centered_logo.centered_logo_animate) .side_menu_button").css("height",header_height-e+$top_header_height+"px"),$j("header:not(.centered_logo.centered_logo_animate) .shopping_cart_inner").css("height",header_height-e+$top_header_height+"px"),$j("header:not(.centered_logo.centered_logo_animate) .header_bottom .qode-login-register-widget.qode-user-logged-in .qode-logged-in-user").css("height",header_height-e+$top_header_height+"px"),$j("header:not(.centered_logo.centered_logo_animate) .logo_wrapper").css("height",header_height-e+$top_header_height+"px"),0 ul > li > a").css("line-height",header_height+"px"),$j("header:not(.centered_logo.centered_logo_animate) .side_menu_button").css("height",header_height+"px"),$j("header:not(.centered_logo.centered_logo_animate) .shopping_cart_inner").css("height",header_height+"px"),$j("header:not(.centered_logo.centered_logo_animate) .header_bottom .qode-login-register-widget.qode-user-logged-in .qode-logged-in-user").css("height",header_height+"px"),$j("header:not(.centered_logo.centered_logo_animate) .logo_wrapper").css("height",header_height+"px"),0 ul > li > a").css("line-height",min_header_height_scroll+"px"),$j("header:not(.centered_logo.centered_logo_animate) .side_menu_button").css("height",min_header_height_scroll+"px"),$j("header:not(.centered_logo.centered_logo_animate) .shopping_cart_inner").css("height",min_header_height_scroll+"px"),$j("header:not(.centered_logo.centered_logo_animate) .header_bottom .qode-login-register-widget.qode-user-logged-in .qode-logged-in-user").css("height",min_header_height_scroll+"px"),$j("header:not(.centered_logo.centered_logo_animate) .logo_wrapper").css("height",min_header_height_scroll+"px"),0=min_header_height_scroll&&logo_height>min_header_height_scroll-10&&$top_header_height<=e?$j(".q_logo a").height(header_height-e+$top_header_height-10):header_height-e+$top_header_height=min_header_height_scroll&&logo_height>min_header_height_scroll-10&&e<$top_header_height?$j(".q_logo a").height(header_height-10):header_height-e+$top_header_heightmin_header_height_scroll-10?$j(".q_logo a").height(min_header_height_scroll-10):(header_height-e+$top_header_height ul > li:last-child").css("margin-right",e),$j("nav.main_menu.right_side > ul > li:first-child").css("margin-left",e),$j(".rtl nav.main_menu.left_side > ul > li:first-child").css("margin-right",e),$j(".rtl nav.main_menu.left_side > ul > li:last-child").css("margin-right",0),$j(".rtl nav.main_menu.right_side > ul > li:last-child").css("margin-left",e),$j(".rtl nav.main_menu.right_side > ul > li:first-child").css("margin-left",0))}function setLeftPostionedMenuPadding(){var e,t=$j("header:not(.centered_logo) nav.main_menu");t.length&&t.hasClass("left")&&(e=$j(".q_logo a img").filter(function(){return"1"==$j(this).css("opacity")}),t.css("left",e.width()))}function logoSizeOnSmallScreens(){80'),$j(".side_menu_button_wrapper a.side_menu_button_link, a.close_side_menu").on("click",function(e){e.preventDefault(),$j(".side_menu_button_wrapper a.side_menu_button_link").hasClass("opened")?($j(".side_menu_button_wrapper a.side_menu_button_link").removeClass("opened"),$j("body").removeClass("right_side_menu_opened")):($j(this).addClass("opened"),$j("body").addClass("right_side_menu_opened"),$j(" .wrapper .cover").on("click",function(){$j(".side_menu_button_wrapper a.side_menu_button_link").removeClass("opened"),$j("body").removeClass("right_side_menu_opened"),$j(".side_menu_button_wrapper a").removeClass("opened")}),current_scroll=$j(window).scrollTop(),$j(window).scroll(function(){400 ul > li.narrow");d.each(function(e){var t,o=$j(window).width()-16;switch(!0){case qode_body.hasClass("qode_grid_1300"):t=1350;break;case qode_body.hasClass("qode_grid_1200"):t=1250;break;default:t=1150}var n,i=$j(d[e]).offset().left,a=$j(d[e]).find(".second .inner ul").width(),r=0,r=$j("body").hasClass("boxed")?t-(i-(o-t)/2)+17:o-i+17;0<$j(d[e]).find("li.sub").length&&(n=r-a),(r ul > li");l.each(function(e){var t,o,n,i,a,r,d,s;0<$j(l[e]).find(".second").length&&($j(l[e]).hasClass("wide")&&(o=(t=$j(this)).find(".inner > ul"),n=parseInt(o.css("padding-left").slice(0,-2))+parseInt(o.css("padding-right").slice(0,-2)),s=(i=t.find(".second > .inner > ul > li")).length,t.hasClass("left_position")||t.hasClass("right_position")||t.find(".second").css("left",0),a=0,i.each(function(){var e=$j(this).height();a ul > li"),n=$j(".no-touchevents .vertical_menu_toggle ul li ul li"),o.each(function(e){var t;$j(o[e]).hasClass("has_sub")&&(t=$j(o[e]).find(".inner > ul > li").length,$j(o[e]).hoverIntent({over:function(){$j(o[e]).addClass("open"),$j(o[e]).find(".second").slideDown(40*t,"easeInOutSine",function(){$j(".vertical_menu_area.with_scroll").getNiceScroll().resize()})},out:function(){$j(o[e]).removeClass("open"),$j(o[e]).find(".second").slideUp(40*t,"easeInOutSine")},timeout:1e3}))}),n.each(function(e){var t;$j(n[e]).hasClass("menu-item-has-children")&&(t=$j(n[e]).find("ul > li").length,$j(n[e]).hoverIntent({over:function(){$j(n[e]).addClass("open"),$j(n[e]).find("ul").slideDown(40*t,"easeInOutSine",function(){$j(".vertical_menu_area.with_scroll").getNiceScroll().resize()})},out:function(){$j(n[e]).removeClass("open"),$j(n[e]).find("ul").slideUp(40*t,"easeInOutSine")},timeout:1e3}))})):$j(".vertical_menu_on_click").length?(o=$j(".vertical_menu_on_click > ul > li > a"),n=$j(".vertical_menu_on_click ul li ul li a"),o.each(function(e){$j(o[e]).parent().hasClass("has_sub")&&$j(o[e]).on("tap click",function(e){return e.preventDefault(),$j(this).parent().hasClass("open")?($j(this).parent().removeClass("open"),$j(this).parent().find(".second").slideUp("fast",function(){$j(".vertical_menu_area.with_scroll").getNiceScroll().resize()})):($j(".vertical_menu_on_click > ul > li").removeClass("open"),$j(".vertical_menu_on_click > ul > li").find(".second").slideUp("fast"),$j(this).parent().addClass("open"),$j(this).parent().find(".second").slideDown("slow",function(){$j(".vertical_menu_area.with_scroll").getNiceScroll().resize()})),!1})}),n.each(function(e){$j(n[e]).parent().hasClass("menu-item-has-children")&&$j(n[e]).on("tap click",function(e){return e.preventDefault(),$j(this).parent().hasClass("open")?($j(this).parent().removeClass("open"),$j(this).parent().find("ul").slideUp("fast",function(){$j(".vertical_menu_area.with_scroll").getNiceScroll().resize()})):($j(".vertical_menu_on_click ul li ul li").removeClass("open"),$j(".vertical_menu_on_click ul li ul li").find("ul").slideUp("fast"),$j(this).parent().addClass("open"),$j(this).parent().find("ul").slideDown("slow",function(){$j(".vertical_menu_area.with_scroll").getNiceScroll().resize()})),!1})})):$j(".no-touchevents .vertical_menu_float").length&&(o=$j(".no-touchevents .vertical_menu_float > ul > li"),n=$j(".no-touchevents .vertical_menu_float ul li ul li"),o.each(function(e){$j(o[e]).hasClass("has_sub")&&$j(o[e]).hoverIntent({over:function(){$j(o[e]).addClass("open"),$j(o[e]).find(".second").addClass("vertical_menu_start")},out:function(){$j(o[e]).removeClass("open"),$j(o[e]).find(".second").removeClass("vertical_menu_start")},timeout:300})}),n.each(function(e){$j(n[e]).hasClass("menu-item-has-children")&&($j(n[e]).find("ul > li").length,$j(n[e]).hoverIntent({over:function(){$j(n[e]).addClass("open"),$j(n[e]).find("ul").addClass("vertical_submenu_start")},out:function(){$j(n[e]).removeClass("open"),$j(n[e]).find("ul").removeClass("vertical_submenu_start")},timeout:300}))}))}function initVerticalMobileMenu(){$j(".vertical_menu_toggle").length?($j(".touchevents .vertical_menu_toggle > ul > li.has_sub > a .plus").on("tap click",function(e){e.stopPropagation(),e.preventDefault(),$j(this).parent().next("div.second").is(":visible")?($j(this).parents(".touchevents .vertical_menu_toggle > ul > li.has_sub").removeClass("open"),$j(this).parent().next("div.second").slideUp(200)):($j(this).parents(".touchevents .vertical_menu_toggle > ul > li.has_sub").addClass("open"),$j(this).parent().next("div.second").slideDown(200))}),$j(".touchevents .vertical_menu_toggle ul li ul li > a .plus").on("tap click",function(e){e.stopPropagation(),e.preventDefault(),$j(this).parent().next("ul").is(":visible")?($j(this).parents(".touchevents .vertical_menu_toggle ul li ul li").removeClass("open"),$j(this).parent().next("ul").slideUp(200)):($j(this).parents(".touchevents .vertical_menu_toggle ul li ul li").addClass("open"),$j(this).parent().next("ul").slideDown(200))})):$j(".vertical_menu_float").length&&($j(".touchevents .vertical_menu_float > ul > li.has_sub > a .plus").on("tap click",function(e){e.stopPropagation(),e.preventDefault(),$j(this).parent().next("div.second").hasClass("vertical_menu_start")?($j(this).parents(".touchevents .vertical_menu_float > ul > li.has_sub").removeClass("open"),$j(this).parents(".touchevents .vertical_menu_float > ul > li.has_sub").find(".second").removeClass("vertical_menu_start")):($j(this).parents(".touchevents .vertical_menu_float > ul > li.has_sub").addClass("open"),$j(this).parents(".touchevents .vertical_menu_float > ul > li.has_sub").find(".second").addClass("vertical_menu_start"))}),$j(".touchevents .vertical_menu_float ul li ul li > a .plus").on("tap click",function(e){e.stopPropagation(),e.preventDefault(),$j(this).parent().next("ul").hasClass("vertical_submenu_start")?($j(this).parents(".touchevents .vertical_menu_float ul li ul li").removeClass("open"),$j(this).parents(".touchevents .vertical_menu_float ul li ul li").find("ul").removeClass("vertical_submenu_start")):($j(this).parents(".touchevents .vertical_menu_float ul li ul li").addClass("open"),$j(this).parents(".touchevents .vertical_menu_float ul li ul li").find("ul").addClass("vertical_submenu_start"))}))}function checkVerticalMenuTransparency(){0!==$scroll?$j("body.vertical_menu_transparency").removeClass("vertical_menu_transparency_on"):$j("body.vertical_menu_transparency").addClass("vertical_menu_transparency_on")}function showHideVerticalMenu(){var t,o,n;$j(".vertical_menu_hidden").length&&(t=$j("aside.vertical_menu_area"),o=$j(".vertical_menu_area_bottom_logo"),n=!0,$j(".vertical_menu_hidden_button").on("click",function(e){e.preventDefault(),n?(n=!1,current_scroll=$j(window).scrollTop(),t.addClass("active"),o.addClass("active")):(n=!0,t.removeClass("active"),o.removeClass("active"))}),$j(window).scroll(function(){400$j(".title").height())&&$j(".title_outer").css({height:e,opacity:"1",overflow:"visible"})}function initTitleAreaAnimation(){var e;$j(".title_outer.animate_title_area").length&&(e=$j(".title_outer").data("height"),$j(".title_outer").hasClass("with_image")&&(e=$j(".image.responsive").height()),$scroll<$j(".title").height())&&$j(".title_outer").animate({height:e,opacity:1},500,function(){$j(this).css({overflow:"visible"}),initPortfolioSingleInfo(),0<$j("nav.content_menu").length&&(content_menu_position=$j("nav.content_menu").offset().top,contentMenuPosition())})}function initParallaxTitle(){var t,o;0<$j(".title").length&&0===$j(".touchevents").length&&($j(".title.has_fixed_background").length&&(t=parseInt($j(".title.has_fixed_background").css("background-size").match(/\d+/)),o=$j(".title.has_fixed_background").height()/1e4*7,$j(".title.has_fixed_background").offset().top,$j(".title.has_fixed_background").css({"background-position":"center "+(0+add_for_admin_bar)+"px"}),$j(".title.has_fixed_background").hasClass("zoom_out"))&&$j(".title.has_fixed_background").css({"background-size":t-$scroll+"px auto"}),$j(window).on("scroll",function(){var e;$j(".title.has_fixed_background").length&&(e=-($scroll-$j(".title.has_fixed_background").offset().top)*o,$j(".title.has_fixed_background").css({"background-position":"center "+(e+add_for_admin_bar)+"px"}),$j(".title.has_fixed_background").hasClass("zoom_out"))&&$j(".title.has_fixed_background").css({"background-size":t-$scroll+"px auto"})}))}function initParallax(){$j(".parallax_section_holder").length&&$j(".parallax_section_holder").each(function(){var e=$j(this),t=(e.hasClass("qode_full_screen_height_parallax")&&e.height($window_height),.4*e.data("speed"));e.parallax("50%",t)})}function initSideAreaScroll(){$j(".side_menu").length&&"object"==typeof qode.modules.niceScroll&&qode.modules.niceScroll.initNiceScroll($j(".side_menu"))}function initVerticalAreaMenuScroll(){$j(".vertical_menu_area.with_scroll").length&&"object"==typeof qode.modules.niceScroll&&qode.modules.niceScroll.initNiceScroll($j(".vertical_menu_area.with_scroll"))}function prettyPhoto(){$j("a[data-rel]").each(function(){$j(this).attr("rel",$j(this).data("rel"))}),$j("a[rel^='prettyPhoto']:not(.qode-single-image-pretty-photo)").prettyPhoto({animation_speed:"normal",slideshow:!1,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,horizontal_padding:0,default_width:650,default_height:400,counter_separator_label:"/",theme:"pp_default",hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,overlay_gallery:!1,keyboard_shortcuts:!0,deeplinking:!1,social_tools:!1}),$j("a[rel^='prettyPhoto'].qode-single-image-pretty-photo").prettyPhoto({animation_speed:"normal",slideshow:!1,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,horizontal_padding:0,default_width:650,default_height:400,counter_separator_label:"/",theme:"pp_default",hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,overlay_gallery:!1,keyboard_shortcuts:!0,deeplinking:!1,social_tools:!1,changepicturecallback:function(){$j(".pp_pic_holder").addClass("qode-pretty-photo-hide-navigation")}})}function initMobileMenu(){$j(".mobile_menu_button > span").on("tap click",function(e){e.preventDefault(),$j(".mobile_menu > ul").is(":visible")?$j(".mobile_menu > ul").slideUp(200):$j(".mobile_menu > ul").slideDown(200)}),initInsideMobileMenu()}function initInsideMobileMenu(){$j(".mobile_menu > ul > li.has_sub > span.mobile_arrow, .mobile_menu > ul > li.has_sub > h3, .mobile_menu > ul > li.has_sub:not(.qode-is-anchor-item) > a[href*='#']").on("tap click",function(e){e.preventDefault(),$j(this).closest("li.has_sub").find("> ul.sub_menu").is(":visible")?($j(this).closest("li.has_sub").find("> ul.sub_menu").slideUp(200),$j(this).closest("li.has_sub").removeClass("open_sub")):($j(this).closest("li.has_sub").addClass("open_sub"),$j(this).closest("li.has_sub").find("> ul.sub_menu").slideDown(200))}),$j(".mobile_menu > ul > li.has_sub > ul.sub_menu > li.has_sub > span.mobile_arrow, .mobile_menu > ul > li.has_sub > ul.sub_menu > li.has_sub > h3, .mobile_menu > ul > li.has_sub > ul.sub_menu > li.has_sub:not(.qode-is-anchor-item) > a[href*='#']").on("tap click",function(e){e.preventDefault(),$j(this).parent().find("ul.sub_menu").is(":visible")?($j(this).parent().find("ul.sub_menu").slideUp(200),$j(this).parent().removeClass("open_sub")):($j(this).parent().addClass("open_sub"),$j(this).parent().find("ul.sub_menu").slideDown(200))}),$j(".mobile_menu ul li > a, .q_logo a").on("click",function(){"http://#"!==$j(this).attr("href")&&"#"!==$j(this).attr("href")&&$j(".mobile_menu > ul").slideUp()})}function initFlexSlider(){$j(".flexslider").each(function(){var e=$j(this),t=8e3,o=(void 0!==e.data("interval")&&!1!==e.data("interval")&&(t=1e3*parseFloat(e.data("interval"))),!0),n=(void 0!==e.data("direction")&&(o=e.data("direction")),!1),i=(void 0!==e.data("control")&&(n=e.data("control")),!0),a=(void 0!==e.data("pause-on-hover")&&(i=e.data("pause-on-hover")),!1),r=(void 0!==e.data("drag")&&(a=e.data("drag")),!0),d=(0===t&&(r=!1),"slide");void 0!==e.data("flex_fx")&&!1!==e.data("flex_fx")&&(d=e.data("flex_fx")),e.flexslider({animationLoop:!0,controlNav:n,directionNav:o,useCSS:!1,pauseOnAction:i,pauseOnHover:i,slideshow:r,animation:d,prevText:"
",nextText:"
",animationSpeed:600,slideshowSpeed:t,touch:!0,start:function(){setTimeout(function(){$j(".flexslider").fitVids()},100)}}),e.find(".flex-direction-nav a").on("click",function(e){e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()}),a&&e.swipe({swipeLeft:function(){e.flexslider("next")},swipeRight:function(){e.flexslider("prev")},threshold:20})})}function fitVideo(){$j(".portfolio_images").length&&$j(".portfolio_images").fitVids(),$j(".format-video .post_image").length&&$j(".format-video .post_image").fitVids(),$j(".format-video .q_masonry_blog_post_image").length&&$j(".format-video .q_masonry_blog_post_image").fitVids()}function initPortfolioSingleInfo(){var e,t,o,n,i=$j(".portfolio_single_follow");0<$j(".portfolio_single_follow").length&&(e=i.offset(),$scrollHeight=$j(".portfolio_container").height(),t=$j(".portfolio_container").offset(),o=$j(window),n=parseInt($j("header.page_header").css("height"),10),o.scroll(function(){960e.top?o.scrollTop()+n+i.height()+24 li a[href="#'+t+'"]'));void 0!==e&&e.children(".qode-advanced-icon-frame").html(o)})}function initAccordion(){$j(".q_accordion_holder").length&&($j(".q_accordion_holder").appear(function(){$j(".q_accordion_holder").css("visibility","visible")},{accX:0,accY:-100}),$j(".accordion").length&&($j(".accordion").accordion({animate:"swing",collapsible:!0,active:!1,icons:"",heightStyle:"content",activate:function(e,t){initParallax()}}),$j(".accordion").each(function(){var e=parseInt($j(this).data("active-tab")),e=(""!==e&&(e-=1,$j(this).accordion("option","active",e)),parseInt($j(this).data("border-radius"))),e=(""!==e&&$j(this).find(".accordion_mark").css("border-radius",e+"px"),"yes"==$j(this).data("collapsible"));$j(this).accordion("option","collapsible",e),$j(this).accordion("option","collapsible",e)})),$j(".toggle").addClass("accordion ui-accordion ui-accordion-icons ui-widget ui-helper-reset").find(".title-holder").addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-top ui-corner-bottom").hover(function(){$j(this).toggleClass("ui-state-hover")}).on("click",function(){return $j(this).toggleClass("ui-accordion-header-active ui-state-active ui-state-default ui-corner-bottom").next().toggleClass("ui-accordion-content-active").slideToggle(400),!1}).next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide(),$j(".toggle").each(function(){var e=parseInt($j(this).data("active-tab"));""!==e&&1<=e&&(e-=1,$j(this).find(".ui-accordion-content").eq(e).show(),$j(this).find(".ui-accordion-header").eq(e).addClass("ui-state-active"))}))}function initAccordionContentLink(){$j(".accordion").length&&$j(".accordion_holder .accordion_inner .accordion_content a").on("click",function(){return"_blank"===$j(this).attr("target")?window.open($j(this).attr("href"),"_blank"):window.open($j(this).attr("href"),"_self"),!1})}function initTestimonials(){$j(".testimonials_carousel").length&&$j(".testimonials_carousel").each(function(){var e=5e3,t=$j(this),o=!0,n=(0===(e=void 0!==t.data("auto-rotate-slides")&&!1!==t.data("auto-rotate-slides")?1e3*parseFloat(t.data("auto-rotate-slides")):e)&&(o=!1),"fade"),i=(void 0!==t.data("animation-type")&&!1!==t.data("animation-type")&&(n=t.data("animation-type")),!0),a=(void 0!==t.data("show-navigation")&&(i="no"!=t.data("show-navigation")),600),r=(void 0!==t.data("animation-speed")&&!1!==t.data("animation-speed")&&""!==t.data("animation-speed")&&(a=t.data("animation-speed")),qodeNumberOfTestimonialsItems(t)),d=0,s=0;void 0!==r&&1!==r&&(d=200,s=40),t.flexslider({animationLoop:!0,controlNav:!1,directionNav:i,useCSS:!1,pauseOnAction:!0,pauseOnHover:!1,slideshow:o,animation:n,itemMargin:s,minItems:r,maxItems:r,itemWidth:d,animationSpeed:a,slideshowSpeed:e,start:function(e){initParallax()}})})}function qodeNumberOfTestimonialsItems(e){e=e.data("number-per-slide");return $window_width<768&&1 .filter:first-of-type"),$j(".blog_holder").closest(".column_inner").length&&(e=$j(".blog_holder").closest(".column_inner").width()),$j(".blog_holder").width(e),(r=$j(".blog_holder")).waitForImages(function(){setTimeout(function(){r.isotope({itemSelector:"article",resizable:!1,masonry:{columnWidth:".blog_holder_grid_sizer",gutter:".blog_holder_grid_gutter"}}),$j(".blog_holder.masonry, .blog_holder.blog_pinterest").animate({opacity:"1"},500)},400)}),o.addClass("active"),t.on("click",function(){t.removeClass("active"),$j(this).addClass("active");var e=$j(this).attr("data-filter");return r.isotope({filter:e}),!1}),n=$j(".qode-infinite-scroll-loading-label"),i=$j(".qode-infinite-scroll-finished-label"),r.hasClass("masonry_infinite_scroll")?(r.infiniteScroll({path:".blog_infinite_scroll_button a",append:".post",history:!1}),r.on("request.infiniteScroll",function(e,t){n.fadeIn("fast")}),r.on("load.infiniteScroll",function(e,t,o){n.fadeOut("fast")}),r.on("append.infiniteScroll",function(e,t,o,n){r.isotope("appended",n),fitVideo(),fitAudio(),initFlexSlider(),setTimeout(function(){$j(".blog_holder.masonry, .blog_holder.blog_pinterest").isotope("layout")},400)}),r.on("last.infiniteScroll",function(e,t,o){i.fadeIn("fast")})):r.hasClass("masonry_load_more")&&(d=1,$j(".blog_load_more_button a").off("click tap").on("click tap",function(e){e.preventDefault();var o,n=$j(".blog_load_more_button"),i=$j(".blog_load_more_button_loading"),e=(n.hide(),i.show(),$j(this).attr("href")),a=".blog_load_more_button a";$j(a).attr("href");$j.get(e+"",function(e){var t=$j(".masonry_load_more",e).wrapInner("").html();o=$j(a,e).attr("href"),r.append($j(t)).isotope("reloadItems").isotope({sortBy:"original-order"}),fitVideo(),fitAudio(),initFlexSlider(),setTimeout(function(){$j(".blog_holder.masonry, .blog_holder.blog_pinterest").isotope("layout")},400),n.show(),i.hide(),$j(".blog_load_more_button span").attr("rel")>d?$j(".blog_load_more_button a").attr("href",o):$j(".blog_load_more_button").remove()}),d++})))}function initBlogMasonryFullWidth(){var e,i,n,a,r;$j(".masonry_full_width").length&&(e=$j(".full_width_inner").width(),$j(".masonry_full_width").width(e),i=$j(".masonry_full_width"),$j(".filter").on("click",function(){var e=$j(this).attr("data-filter");return i.isotope({filter:e}),!1}),n=$j(".qode-infinite-scroll-loading-label"),a=$j(".qode-infinite-scroll-finished-label"),i.hasClass("masonry_infinite_scroll")?(i.infiniteScroll({path:".blog_infinite_scroll_button a",append:".post",history:!1}),i.on("request.infiniteScroll",function(e,t){n.fadeIn("fast")}),i.on("load.infiniteScroll",function(e,t,o){n.fadeOut("fast")}),i.on("append.infiniteScroll",function(e,t,o,n){i.isotope("appended",n),fitVideo(),fitAudio(),initFlexSlider(),setTimeout(function(){$j(".blog_holder.masonry_full_width").isotope("layout")},400)}),i.on("last.infiniteScroll",function(e,t,o){a.fadeIn("fast")})):i.hasClass("masonry_load_more")&&(r=1,$j(".blog_load_more_button a").off("click tap").on("click tap",function(e){e.preventDefault();var o,e=$j(this).attr("href"),n=".blog_load_more_button a";$j(n).attr("href");$j.get(e+"",function(e){var t=$j(".masonry_load_more",e).wrapInner("").html();o=$j(n,e).attr("href"),i.append($j(t)).isotope("reloadItems").isotope({sortBy:"original-order"}),fitVideo(),fitAudio(),initFlexSlider(),setTimeout(function(){$j(".blog_holder.masonry_full_width").isotope("layout")},400),$j(".blog_load_more_button span").attr("rel")>r?$j(".blog_load_more_button a").attr("href",o):$j(".blog_load_more_button").remove()}),r++})),i.waitForImages(function(){setTimeout(function(){i.isotope({itemSelector:"article",resizable:!1,masonry:{columnWidth:".blog_holder_grid_sizer",gutter:".blog_holder_grid_gutter"}}),$j(".masonry_full_width").animate({opacity:"1"},500)},400)}))}function initBlogMasonryGallery(){var i,n,a,r;$j(".blog_holder.masonry_gallery").length&&(qodeResizeBlogMasonryGallery($j(".blog_holder_grid_sizer").width()),(i=$j(".blog_holder.masonry_gallery")).width(Math.round(i.parent().width())),i.isotope({itemSelector:"article",resizable:!1,masonry:{columnWidth:".blog_holder_grid_sizer",gutter:".blog_holder_grid_gutter"}}),i.waitForImages(function(){i.animate({opacity:"1"},300,function(){i.isotope().isotope("layout")})}),n=$j(".qode-infinite-scroll-loading-label"),a=$j(".qode-infinite-scroll-finished-label"),i.hasClass("masonry_infinite_scroll")?(i.infiniteScroll({path:".blog_infinite_scroll_button a",append:".post",history:!1}),i.on("request.infiniteScroll",function(e,t){n.fadeIn("fast")}),i.on("load.infiniteScroll",function(e,t,o){n.fadeOut("fast")}),i.on("append.infiniteScroll",function(e,t,o,n){i.isotope("appended",n),fitVideo(),fitAudio(),initFlexSlider(),qodeResizeBlogMasonryGallery($j(".blog_holder_grid_sizer").width()),setTimeout(function(){i.isotope("layout")},300)}),i.on("last.infiniteScroll",function(e,t,o){a.fadeIn("fast")})):i.hasClass("masonry_load_more")&&(r=1,$j(".blog_load_more_button a").off("click tap").on("click tap",function(e){e.preventDefault();var o,e=$j(this).attr("href"),n=".blog_load_more_button a";$j(n).attr("href");$j.get(e+"",function(e){var t=$j(".masonry_load_more",e).wrapInner("").html();o=$j(n,e).attr("href"),i.append($j(t)).isotope("reloadItems").isotope({sortBy:"original-order"}),fitVideo(),fitAudio(),initFlexSlider(),qodeResizeBlogMasonryGallery($j(".blog_holder_grid_sizer").width()),setTimeout(function(){i.isotope("layout")},300),$j(".blog_load_more_button span").attr("rel")>r?$j(".blog_load_more_button a").attr("href",o):$j(".blog_load_more_button").remove()}),r++})),$j(window).resize(function(){qodeResizeBlogMasonryGallery($j(".blog_holder_grid_sizer").width()),i.isotope().isotope("layout"),i.width(Math.round(i.parent().width()))}))}function initBlogGallery(){var i,n,a,r;$j(".blog_holder.blog_gallery, .blog_holder.blog_chequered").length&&(qodeResizeBlogGallery($j(".blog_holder_grid_sizer").width()),(i=$j(".blog_holder.blog_gallery, .blog_holder.blog_chequered")).width(Math.round(i.parent().width())),i.isotope({itemSelector:"article",resizable:!1,masonry:{columnWidth:".blog_holder_grid_sizer",gutter:".blog_holder_grid_gutter"}}),i.waitForImages(function(){i.animate({opacity:"1"},300,function(){i.isotope().isotope("layout")})}),n=$j(".qode-infinite-scroll-loading-label"),a=$j(".qode-infinite-scroll-finished-label"),i.hasClass("masonry_infinite_scroll")?(i.infiniteScroll({path:".blog_infinite_scroll_button a",append:".post",history:!1}),i.on("request.infiniteScroll",function(e,t){n.fadeIn("fast")}),i.on("load.infiniteScroll",function(e,t,o){n.fadeOut("fast")}),i.on("append.infiniteScroll",function(e,t,o,n){i.isotope("appended",n),fitVideo(),fitAudio(),initFlexSlider(),qodeResizeBlogGallery($j(".blog_holder_grid_sizer").width()),setTimeout(function(){i.isotope("layout")},300)}),i.on("last.infiniteScroll",function(e,t,o){a.fadeIn("fast")})):i.hasClass("masonry_load_more")&&(r=1,$j(".blog_load_more_button a").off("click tap").on("click tap",function(e){e.preventDefault();var o,e=$j(this).attr("href"),n=".blog_load_more_button a";$j(n).attr("href");$j.get(e+"",function(e){var t=$j(".masonry_load_more",e).wrapInner("").html();o=$j(n,e).attr("href"),i.append($j(t)).isotope("reloadItems").isotope({sortBy:"original-order"}),fitVideo(),fitAudio(),initFlexSlider(),qodeResizeBlogGallery($j(".blog_holder_grid_sizer").width()),setTimeout(function(){i.isotope("layout")},300),$j(".blog_load_more_button span").attr("rel")>r?$j(".blog_load_more_button a").attr("href",o):$j(".blog_load_more_button").remove(),qodeBlogGalleryAnimation()}),r++})),$j(window).resize(function(){qodeResizeBlogGallery($j(".blog_holder_grid_sizer").width()),i.isotope().isotope("layout"),i.width(Math.round(i.parent().width()))}))}function qodeResizeBlogMasonryGallery(e){var t=$j(".blog_holder.masonry_gallery .large-height"),o=$j(".blog_holder.masonry_gallery .large-width"),n=$j(".blog_holder.masonry_gallery .large-width-height"),i=$j(".blog_holder.masonry_gallery .default");t.css("height",2*e),o.css("height",e),n.css("height",2*e),n.width()<600&&n.css("height",n.width()),$window_width<600&&t.css("height",t.width()),i.css("height",e)}function qodeResizeBlogGallery(e){$j(".blog_holder.blog_chequered .default").css("height",e)}function initSmallImageBlogHeight(){$j(".blog_small_image").length&&$j("article").each(function(){$j(this).find(".post_text_inner").css("min-height",$j(this).find(".post_image").height()-46)})}function initQBlog(){$j(".q_masonry_blog").length&&$j(".q_masonry_blog").each(function(){var e=$j(this);e.waitForImages(function(){setTimeout(function(){e.isotope({itemSelector:"article",resizable:!1,masonry:{columnWidth:".q_masonry_blog_grid_sizer",gutter:".q_masonry_blog_grid_gutter"}}),e.animate({opacity:"1"},500)},400)})})}function qodeBlogCompundMasonryGallery(){function e(){i=n.find(".qode_blog_gallery_sizer").outerWidth(),a=i+8;var e=n.find(".qode_blog_gallery_item.default"),t=n.find(".qode_blog_img_large_height"),o=n.find(".qode_blog_img_large_height_width");e.css("height",a),t.css("height",Math.round(2*a)),600<$window_width?o.css("height",Math.round(2*a)):o.css("height",a)}var n=$j(".qode_blog_masonry_gallery"),i=n.find(".qode_blog_gallery_sizer").outerWidth(),a=i+8;return{init:function(){n.length&&(e(),n.isotope({itemSelector:".qode_blog_gallery_item",masonry:{columnWidth:".qode_blog_gallery_sizer",gutter:".qode_blog_gallery_gutter"}}),$j(window).resize(function(){e()}))}}}function qodeBlogHeadlines(){var i,a,n,r,d;$j(".blog_headlines").length&&(i=$j(".blog_headlines"),(a=function(){i.bigtext({childSelector:"> article > h2",minfontsize:20}),i.find("h2").appear(function(){$j(this).addClass("show")},{accX:0,accY:-100})})(),n=$j(".qode-infinite-scroll-loading-label"),r=$j(".qode-infinite-scroll-finished-label"),i.hasClass("blog_infinite_scroll")?(i.infiniteScroll({path:".blog_infinite_scroll_button a",append:".post",history:!1}),i.on("request.infiniteScroll",function(e,t){n.fadeIn("fast")}),i.on("load.infiniteScroll",function(e,t,o){n.fadeOut("fast")}),i.on("append.infiniteScroll",function(e,t,o,n){a()}),i.on("last.infiniteScroll",function(e,t,o){r.fadeIn("fast")})):i.hasClass("blog_load_more")&&(d=1,$j(".blog_load_more_button a").off("click tap").on("click tap",function(e){e.preventDefault();var o,e=$j(this).attr("href"),n=".blog_load_more_button a";$j(n).attr("href");$j.get(e+"",function(e){var t=$j(".blog_load_more",e).wrapInner("").html();o=$j(n,e).attr("href"),i.append($j(t)),a(),$j(".blog_load_more_button span").attr("rel")>d?$j(".blog_load_more_button a").attr("href",o):$j(".blog_load_more_button").remove()}),d++})))}function initMasonryGallery(){resizeMasonryGallery($j(".grid-sizer").width()),$j(".masonry_gallery_holder").length&&($j(".masonry_gallery_holder").each(function(){var t=$j(this);t.waitForImages(function(){t.animate({opacity:1}),t.isotope({itemSelector:".masonry_gallery_item",masonry:{columnWidth:".grid-sizer"}}),t.find(".masonry_gallery_item.parallax_item").each(function(e){$j(this).masonryParallax(t.data("parallax_item_speed"),!0,t.data("parallax_item_offset"))})})}),$j(window).resize(function(){resizeMasonryGallery($j(".grid-sizer").width()),$j(".masonry_gallery_holder").isotope("reloadItems")}))}function resizeMasonryGallery(e){var t=$j(".masonry_gallery_holder .rectangle_portrait"),o=$j(".masonry_gallery_holder .rectangle_landscape"),n=$j(".masonry_gallery_holder .square_big"),i=$j(".masonry_gallery_holder .square_small");t.css("height",2*e),window.innerWidth<600?o.css("height",e/2):o.css("height",e),n.css("height",2*e),window.innerWidth<600&&n.css("height",n.width()+20),i.css("height",e)}function initMoreFacts(){$j(".more_facts_holder").length&&$j(".more_facts_holder").each(function(){var e,t=$j(this),o="More Facts",n=(""!==$j(this).find(".more_facts_button").data("morefacts")&&(o=$j(this).find(".more_facts_button").data("morefacts")),"Less Facts"),i=(""!==$j(this).find(".more_facts_button").data("lessfacts")&&(n=$j(this).find(".more_facts_button").data("lessfacts")),t.find(".more_facts_button").on("mouseenter",function(){$j(this).css("color",$j(this).data("hovercolor"))}).on("mouseleave",function(){0==t.find(".more_facts_outer").height()&&$j(this).css("color",$j(this).data("color"))}),70),a=(""!==t.find(".more_facts_inner").data("expandable_content_top_padding")&&(i=t.find(".more_facts_inner").data("expandable_content_top_padding"),t.find(".more_facts_inner").css({"padding-top":i})),600);t.find(".more_facts_button").on("click",function(){e=t.find(".more_facts_inner").height()+i,a=0$j(this).find(".q_message_icon_holder").height()?$j(this).find(".q_message_icon_holder").height($j(this).find(".message_text").height()):$j(this).find(".message_text").height($j(this).find(".q_message_icon_holder").height())})}function initImageHover(){$j(".image_hover").length&&$j(".image_hover").each(function(){$j(this).appear(function(){var e=$j(this).attr("data-transition-delay"),t=300+parseFloat(e),o=$j(this);setTimeout(function(){o.addClass("show")},parseFloat(e)),setTimeout(function(){o.removeClass("show")},t)},{accX:0,accY:-200})})}function checkAnchorOnLoad(){var e=window.location.hash,t=encodeURI(window.location.hash.split("#")[1]),o=$j("body").hasClass("paspartu_on_top_fixed")?$window_width*paspartu_width:0;""!==e&&0<$j('[data-q_id="#'+t+'"]').length&&(t=$j("header.page_header").hasClass("fixed")&&!$j("body").hasClass("vertical_menu_enabled")?(t=$j("header.page_header").hasClass("scroll_top")?header_top_height:0,!$j("header.page_header").hasClass("transparent")||$j("header.page_header").hasClass("scrolled_not_transparent")?header_height-($j('[data-q_id="'+e+'"]').offset().top+t)/4>=min_header_height_scroll?(t=$j('[data-q_id="'+e+'"]').offset().top-header_height-o)+t/4+t/16+t/64+1:$j("header.page_header").hasClass("centered_logo")?$j('[data-q_id="'+e+'"]').offset().top-min_header_height_scroll-logo_height-30-o:$j('[data-q_id="'+e+'"]').offset().top-min_header_height_scroll-o:$j('[data-q_id="'+e+'"]').offset().top-o):$j("header.page_header").hasClass("fixed_top_header")&&!$j("body").hasClass("vertical_menu_enabled")?!$j("header.page_header").hasClass("transparent")||$j("header.page_header").hasClass("scrolled_not_transparent")?$j('[data-q_id="'+e+'"]').offset().top-header_top_height-o:$j('[data-q_id="'+e+'"]').offset().top-o:$j("header.page_header").hasClass("fixed_hiding")&&!$j("body").hasClass("vertical_menu_enabled")?!$j("header.page_header").hasClass("transparent")||$j("header.page_header").hasClass("scrolled_not_transparent")?$j('[data-q_id="'+e+'"]').offset().top-(header_height+logo_height/2+40)<=scroll_amount_for_fixed_hiding?$j('[data-q_id="'+e+'"]').offset().top-header_height-logo_height/2-40-o:$j('[data-q_id="'+e+'"]').offset().top-min_header_height_fixed_hidden-40-o:$j('[data-q_id="'+e+'"]').offset().top-o:($j("header.page_header").hasClass("stick")||$j("header.page_header").hasClass("stick_with_left_right_menu")&&!$j("body").hasClass("vertical_menu_enabled"))&&(!$j("header.page_header").hasClass("transparent")||$j("header.page_header").hasClass("scrolled_not_transparent"))?sticky_amount>=$j('[data-q_id="'+e+'"]').offset().top?$j('[data-q_id="'+e+'"]').offset().top+1-o:$j('[data-q_id="'+e+'"]').offset().top-min_header_height_sticky-o:$j('[data-q_id="'+e+'"]').offset().top-o,$j("html, body").animate({scrollTop:Math.round(t)},1500,function(){})),$j(".main_menu a, .vertical_menu a, .mobile_menu a").each(function(){var e=$j(this).prop("hash");""!==e&&0<$j('[data-q_id="'+e+'"]').length&&$j('[data-q_id="'+e+'"]').offset().top>=$window_height&&0===$scroll&&($j(this).parent().removeClass("active current-menu-item"),$j(this).removeClass("current"))})}function changeActiveState(e){$j(".main_menu a[href*='#']").length&&$j(".main_menu a").parent().removeClass("active"),$j(".main_menu a").each(function(){$j(this).prop("hash")===e&&((0===$j(this).closest(".second").length?$j(this):$j(this).closest(".second")).parent().addClass("active"),$j(".main_menu a").removeClass("current"),$j(this).addClass("current"))}),$j(".vertical_menu a[href*='#']").length&&$j(".vertical_menu a").parent().removeClass("active"),$j(".vertical_menu a").each(function(){$j(this).prop("hash")===e&&((0===$j(this).closest(".second").length?$j(this):$j(this).closest(".second")).parent().addClass("active"),$j(".vertical_menu a").removeClass("current"),$j(this).addClass("current"))}),$j(".mobile_menu a[href*='#']").length&&$j(".mobile_menu a").parent().removeClass("active"),$j(".mobile_menu a").each(function(){$j(this).prop("hash")===e&&((0===$j(this).closest(".sub_menu").length?$j(this):$j(this).closest(".sub_menu")).parent().addClass("active"),$j(".mobile_menu a").removeClass("current"),$j(this).addClass("current"))})}function checkAnchorOnScroll(){$j("[data-q_id]").length&&!$j("header.page_header").hasClass("regular")&&($j("[data-q_id]").waypoint(function(e){"down"===e&&changeActiveState($j(this)[0].adapter.$element.data("q_id"))},{offset:"50%"}),$j("[data-q_id]").waypoint(function(e){"up"===e&&changeActiveState($j(this)[0].adapter.$element.data("q_id"))},{offset:function(){return-($j(this)[0].adapter.$element.outerHeight()-150)}}))}function initHashClick(){var n,i=$j("html, body"),a=$j("body").hasClass("paspartu_on_top_fixed")?$window_width*paspartu_width:0;$j(document).on("click",".main_menu a, .vertical_menu a, .qbutton:not(.contact_form_button, .qode-archive-submit-button, .qode-listing-archive-load-more, .qode-rating-form-trigger, .qode-lms-actions-buttons, .qode-tours-search-submit, .qodef-property-filter-button), .anchor, .widget li.anchor a",function(){var e,t=$j(this),o=$j(this).prop("hash");if(""!==o&&""===$j(this).attr("href").split("#")[0]||""!==o&&""!==$j(this).attr("href").split("#")[0]&&o===window.location.hash||""!==o&&$j(this).attr("href").split("#")[0]===window.location.href.split("#")[0])return n=$j("header.page_header").hasClass("fixed")&&!$j("body").hasClass("vertical_menu_enabled")?(e=$j("header.page_header").hasClass("scroll_top")?header_top_height:0,!$j("header.page_header").hasClass("transparent")||$j("header.page_header").hasClass("scrolled_not_transparent")?header_height-($j('[data-q_id="'+o+'"]').offset().top+e)/4>=min_header_height_scroll?(e=$j('[data-q_id="'+o+'"]').offset().top-header_height-a)+e/4+e/16+e/64+1:$j("header.page_header").hasClass("centered_logo")?$j('[data-q_id="'+o+'"]').offset().top-min_header_height_scroll-logo_height-a-30:$j('[data-q_id="'+o+'"]').offset().top-min_header_height_scroll-a:$j('[data-q_id="'+o+'"]').offset().top-a):$j("header.page_header").hasClass("fixed_top_header")&&!$j("body").hasClass("vertical_menu_enabled")?!$j("header.page_header").hasClass("transparent")||$j("header.page_header").hasClass("scrolled_not_transparent")?$j('[data-q_id="'+o+'"]').offset().top-header_top_height-a:$j('[data-q_id="'+o+'"]').offset().top-a:$j("header.page_header").hasClass("fixed_hiding")&&!$j("body").hasClass("vertical_menu_enabled")?!$j("header.page_header").hasClass("transparent")||$j("header.page_header").hasClass("scrolled_not_transparent")?$j('[data-q_id="'+o+'"]').offset().top-(header_height+logo_height/2+40)<=scroll_amount_for_fixed_hiding?$j('[data-q_id="'+o+'"]').offset().top-header_height-logo_height/2-40-a:$j('[data-q_id="'+o+'"]').offset().top-min_header_height_fixed_hidden-40-a:$j('[data-q_id="'+o+'"]').offset().top-a:($j("header.page_header").hasClass("stick")||$j("header.page_header").hasClass("stick_with_left_right_menu")&&!$j("body").hasClass("vertical_menu_enabled"))&&(!$j("header.page_header").hasClass("transparent")||$j("header.page_header").hasClass("scrolled_not_transparent"))?sticky_amount>=$j('[data-q_id="'+o+'"]').offset().top?$j('[data-q_id="'+o+'"]').offset().top+2-a:$j('[data-q_id="'+o+'"]').offset().top-min_header_height_sticky-a:$j('[data-q_id="'+o+'"]').offset().top-a,0<$j('[data-q_id="'+o+'"]').length&&i.stop().animate({scrollTop:Math.round(n)},1500,function(){anchorActiveState(t)}),history.pushState&&history.pushState(null,null,o),!1}),$j(document).on("click",".mobile_menu a",function(){var e=$j(this),t=$j(this).prop("hash");if(""!==t&&""===$j(this).attr("href").split("#")[0]||""!==t&&""!==$j(this).attr("href").split("#")[0]&&t===window.location.hash||""!==t&&$j(this).attr("href").split("#")[0]===window.location.href.split("#")[0])return 0<$j('[data-q_id="'+t+'"]').length&&i.animate({scrollTop:Math.round($j('[data-q_id="'+t+'"]').offset().top-$j(".mobile_menu").height())},500,function(){anchorActiveState(e)}),history.pushState&&history.pushState(null,null,t),!1})}function countClientsPerRow(){$j(".qode_clients").length&&$j(".qode_clients").each(function(){var e,t=$j(this),o=t.height(),n=t.width(),i=t.find(".qode_client_holder").width(),a=t.find(".qode_client_holder").length,o=(t.find(".qode_client_holder").each(function(){e=e>$j(this).height()?e:$j(this).height()}),e+=35,Math.ceil(o/e),Math.ceil(n/i)),n=a-o*Math.floor(a/o),i=(0===n&&(n=o),t.find(".qode_client_holder").removeClass("border-bottom-none"),a-n-1);t.find(".qode_client_holder:gt("+i+")").addClass("border-bottom-none")})}function animatedTextIconHeight(){var e,t;$j(".animated_icons_with_text").length&&((e=$j(".animated_icons_with_text")).find(".animated_text p").each(function(){t=t>$j(this).height()?t:$j(this).height()}),t<155&&(t=155),e.find(".animated_icon_with_text_inner").height(t))}function countAnimatedTextIconPerRow(){$j(".animated_icons_with_text").length&&$j(".animated_icons_with_text").each(function(){var e,t=$j(this),o=(t.height(),t.width()),n=t.find(".animated_icon_with_text_holder").width()+1,i=t.find(".animated_icon_with_text_holder").length,o=(t.find(".animated_icon_with_text_holder").each(function(){e=e>$j(this).height()?e:$j(this).height()}),e+=30,Math.ceil(o/n)),n=i-o*Math.floor(i/o),o=(0===n&&(n=o),t.find(".animated_icon_with_text_holder").removeClass("border-bottom-none"),i-n-1);t.find(".animated_icon_with_text_holder:gt("+o+")").addClass("border-bottom-none")})}function anchorActiveState(e){0")).appendTo($j(this)),(e=$j(this).siblings(".in_content_menu")).length)&&e.each(function(){var e=$j(this).data("q_id"),t=$j(this).data("q_title"),o=$j(this).data("q_icon"),n=$j("
  • "),o=$j("",{class:"fa "+o}),e=$j("",{href:e,html:""+t+""}),t=$j("
    ",""!==i?{class:"arrow",style:"border-color: "+i+" transparent transparent transparent"}:{class:"arrow"});o.prependTo(e),e.appendTo(n),t.appendTo(n),n.appendTo(a)})})}function createSelectContentMenu(){$j(".content_menu").each(function(){var o=$j(this),i=$j("
      ");i.appendTo($j(this).find(".nav_select_menu")),$j(this).find("ul.menu li a").each(function(){var e=$j(this).attr("href"),t=$j(this).text(),o=$j(this).find("i").clone(),n=(2===$j(this).parents("li").length&&(t="   "+t),3===$j(this).parents("li").length&&(t="      "+t),3<$j(this).parents("li").length&&(t="         "+t),$j("
    • ")),e=$j("",{href:e,html:t});o.prependTo(e),e.appendTo(n),n.appendTo(i)}),o.find(".nav_select_button").on("click",function(){return o.find(".nav_select_menu ul").is(":visible")?o.find(".nav_select_menu ul").slideUp():o.find(".nav_select_menu ul").slideDown(),!1}),o.find(".nav_select_menu ul li a").on("click",function(){o.find(".nav_select_menu ul").slideUp();var e=$j(this),t=e.attr("href"),t=$j("div.wpb_row[data-q_id='"+t+"'],section.parallax_section_holder[data-q_id='"+t+"'],div[data-element_type=container].parallax_section_holder[data-q_id='"+t+"'],.qode-elementor-content-menu-item[data-q_id='"+t+"']").offset().top;return $j("html,body").stop().animate({scrollTop:t},500,"swing",function(){$j("nav.content_menu ul li").removeClass("active"),e.parent().addClass("active")}),!1})})}function contentMenuPosition(){var e;$j("nav.content_menu").length&&(e=sticky_amount .content_inner > .container > .container_inner").css("margin-top",content_line_height),$j(".content > .content_inner > .full_width").css("margin-top",content_line_height)):content_menu_position-content_menu_top-content_menu_top_add-$scroll<=0&&!$j("header").hasClass("stick")?($j("nav.content_menu").css({position:"fixed",top:content_menu_top+content_menu_top_add}).addClass("fixed"),$j(".content > .content_inner > .container > .container_inner").css("margin-top",content_line_height),$j(".content > .content_inner > .full_width").css("margin-top",content_line_height)):($j("nav.content_menu").css({position:"relative",top:"0px"}).removeClass("fixed"),$j("header.sticky").removeClass("no_shadow"),$j(".content > .content_inner > .container > .container_inner").css("margin-top","0px"),$j(".content > .content_inner > .full_width").css("margin-top","0px")),$j(".content .in_content_menu").waypoint(function(e){var t=$j(this).data("q_id");$j("nav.content_menu.fixed li a").each(function(){$j(this).attr("href")===t?$j(this).parent().addClass("active"):$j(this).parent().removeClass("active")})},{offset:"150"}))}function contentMenuCheckLastSection(){var e,t;$j("nav.content_menu").length&&$j(".content .in_content_menu").length&&(e=$j(".content .in_content_menu:last").offset().top+$j(".content .in_content_menu:last").height(),t=$j(".content .in_content_menu:first").offset().top-content_menu_top-content_menu_top_add-100,e<$scroll&&$j("nav.content_menu.fixed li").removeClass("active"),$scroll ul > li").mouseleave(),$j(".touchevents .drop_down > ul > li").blur()}),$j(window).resize(function(){$window_width=$j(window).width(),$window_height=$j(window).height(),paspartu_width=$window_width<1024?.02:paspartu_width_init,1e3<$j(window).width()?headerSize($scroll):logoSizeOnSmallScreens(),initMessageHeight(),qodeNumberOfTestimonialsItemsResize(),fitAudio(),initSmallImageBlogHeight(),initBlog(),initBlogMasonryFullWidth(),initQBlog(),animatedTextIconHeight(),countAnimatedTextIconPerRow(),initVideoBackgroundSize(),countClientsPerRow(),setContentBottomMargin(),footerWidth(),$j(".vertical_split_slider").height($window_height),initMasonryGallery(),contentMinHeight(),contentMinHeightWithPaspartu()}),(s=>{var l=s(window),c=l.height();l.resize(function(){c=l.height()}),s.fn.parallax=function(n,i,e){var a,r,d=s(this);function t(){var o=l.scrollTop();d.each(function(){var e=s(this),t=e.offset().top;t+a(e){var h=c(window);c.fn.masonryParallax=function(e,t,o){var n=c(this),i=0,a=n.offset().top,r=t?function(e){return e.outerHeight(!0)}:function(e){return e.height()},d=(0!=o&&(i=o),(arguments.length<1||null===e)&&(e=.1),(arguments.length<2||null===t)&&(t=!0),n.offset().top),s=r(n);function l(){d+s<$scroll||$scroll+$window_height ul > li > a").each(function(e){$j(this).css({"-webkit-animation-delay":70*e+"ms","animation-delay":70*e+"ms"})}),$j(".popup_menu_widget_holder > div").css({"-webkit-animation-delay":70*($j(".popup_menu_holder_outer nav > ul > li > a").length+1)+"ms","animation-delay":70*($j(".popup_menu_holder_outer nav > ul > li > a").length+1)+"ms"})),$j(window).resize(function(){$j(".popup_menu_holder_outer").height($window_height)}),initPopupMenuHolderOpening(),initPopupMenuItemsOpening())}function initPopupMenuHolderOpening(){$j("a.popup_menu").on("click",function(e){e.preventDefault(),$j(this).hasClass("opened")?($j(this).removeClass("opened"),$j("body").removeClass("popup_menu_opened"),($j(this).hasClass("qode_popup_menu_push_text_right")||$j(this).hasClass("qode_popup_menu_push_text_top")||$j(this).hasClass("qode_popup_menu_text_scaledown"))&&$j("body").removeClass("qode_popup_menu_fade_in").addClass("qode_popup_menu_fade_out"),$j(this).hasClass("qode_popup_menu_push_text_right")?$j("body").addClass("qode_popup_menu_push_nav_right"):$j(this).hasClass("qode_popup_menu_push_text_top")&&$j("body").addClass("qode_popup_menu_push_nav_top"),setTimeout(function(){$j("body").hasClass("page-template-full_screen-php")||$j("body").css("overflow","visible"),$j("nav.popup_menu ul.sub_menu").slideUp(200,function(){$j("nav.popup_menu").getNiceScroll().resize()})},400)):($j(this).addClass("opened"),$j("body").addClass("popup_menu_opened"),$j(this).hasClass("qode_popup_menu_push_text_right")?($j("body").addClass("qode_popup_menu_fade_in").removeClass("qode_popup_menu_fade_out"),$j("body").removeClass("qode_popup_menu_push_nav_right")):$j(this).hasClass("qode_popup_menu_push_text_top")?($j("body").addClass("qode_popup_menu_fade_in").removeClass("qode_popup_menu_fade_out"),$j("body").removeClass("qode_popup_menu_push_nav_top")):$j(this).hasClass("qode_popup_menu_text_scaledown")&&$j("body").addClass("qode_popup_menu_fade_in").removeClass("qode_popup_menu_fade_out"),setTimeout(function(){$j("body").hasClass("page-template-full_screen-php")||$j("body").css("overflow","hidden")},400))})}function initPopupMenuItemsOpening(){$j(".popup_menu > ul > li.has_sub > a, .popup_menu > ul > li.has_sub > h6").on("tap click",function(e){return e.preventDefault(),$j(this).closest("li.has_sub").find("> ul.sub_menu").is(":visible")?($j(this).closest("li.has_sub").find("> ul.sub_menu").slideUp(200,function(){$j(".popup_menu_holder_outer").getNiceScroll().resize()}),$j(this).closest("li.has_sub").removeClass("open_sub")):($j(this).closest("li.has_sub").addClass("open_sub"),$j(this).closest("li.has_sub").find("> ul.sub_menu").slideDown(200,function(){$j(".popup_menu_holder_outer").getNiceScroll().resize()})),!1}),$j(".popup_menu ul li:not(.has_sub) a").on("click",function(){if("http://#"===$j(this).attr("href")||"#"===$j(this).attr("href"))return!1;$j("a.popup_menu").removeClass("opened"),$j("body").removeClass("popup_menu_opened").css("overflow","visible"),$j("nav.popup_menu ul.sub_menu").slideUp(200,function(){$j("nav.popup_menu").getNiceScroll().resize()})})}function initFullScreenTemplate(){var o,n;$j(".full_screen_holder").length&&600<$window_width&&(o="",o=$j("header.page_header").hasClass("light")?"light":$j("header.page_header").hasClass("dark")?"dark":header_style_admin,$j(".full_screen_preloader").css("height",$window_height),$j("#up_fs_button").on("click",function(){return $j.fn.fullpage.moveSectionUp(),!1}),$j("#down_fs_button").on("click",function(){return $j.fn.fullpage.moveSectionDown(),!1}),n=$j(".full_screen_inner > .full_screen_section").length,$j("html").hasClass("qode-initialized-fss")&&$j.fn.fullpage.destroy("all"),$j(".full_screen_inner").fullpage({sectionSelector:".full_screen_section",scrollOverflow:!0,afterLoad:function(e,t){checkActiveArrowsOnFullScrrenTemplate(n,t),checkFullScreenSectionsForHeaderStyle(t,o)},afterRender:function(){$j("html").addClass("qode-initialized-fss"),$j(this).addClass("qode-initialized"),checkActiveArrowsOnFullScrrenTemplate(n,1),checkFullScreenSectionsForHeaderStyle(1,o),1!==n&&$j(".full_screen_holder").find(".full_screen_navigation_holder").css("visibility","visible"),$j(".full_screen_holder").find(".full_screen_inner").css("visibility","visible"),$j(".full_screen_preloader").hide(),$j(".full_screen_holder video.full_screen_sections_video").length&&$j(".full_screen_holder video.full_screen_sections_video").each(function(){$j(this).get(0).play()})}}))}function checkActiveArrowsOnFullScrrenTemplate(e,t){1===t?($j(".full_screen_navigation_holder #up_fs_button").hide(),t!=e&&$j(".full_screen_navigation_holder #down_fs_button").show()):t===e?(2===e&&$j(".full_screen_navigation_holder #up_fs_button").show(),$j(".full_screen_navigation_holder #down_fs_button").hide()):($j(".full_screen_navigation_holder #up_fs_button").show(),$j(".full_screen_navigation_holder #down_fs_button").show())}function checkFullScreenSectionsForHeaderStyle(e,t){0<$j("[data-q_header_style]").length&&$j("header").hasClass("header_style_on_scroll")&&(void 0!==$j($j(".full_screen_holder .full_screen_inner .full_screen_section")[e-1]).data("q_header_style")?(e=$j($j(".full_screen_holder .full_screen_inner .full_screen_section")[e-1]).data("q_header_style"),$j("header").removeClass("dark light").addClass(e)):$j("header").removeClass("dark light").addClass(t))}function checkHeaderStyleOnScroll(){var t,e,o;0<$j("[data-q_header_style]").length&&$j("header").hasClass("header_style_on_scroll")&&(t="",t=$j("header.page_header").hasClass("light")?"light":$j("header.page_header").hasClass("dark")?"dark":header_style_admin,e=$j("body").hasClass("paspartu_on_top_fixed")?Math.round($window_width*paspartu_width):0,o=$j("body").hasClass("paspartu_on_bottom_fixed")?Math.round($window_width*paspartu_width):0,$j(".full_width_inner > .wpb_row.section, .full_width_inner > .parallax_section_holder, .container_inner > .wpb_row.section, .container_inner > .parallax_section_holder, .portfolio_single > .wpb_row.section").waypoint(function(e){"down"===e&&(void 0!==(e=$j(this)[0].adapter.$element).data("q_header_style")?(e=e.data("q_header_style"),$j("header").removeClass("dark light").addClass(e)):$j("header").removeClass("dark light").addClass(t))},{offset:0+e}),$j(".title, .full_width_inner > .wpb_row.section, .full_width_inner > .parallax_section_holder, .container_inner > .wpb_row.section, .container_inner > .parallax_section_holder, .portfolio_single > .wpb_row.section, .q_slider").waypoint(function(e){"up"===e&&(void 0!==(e=$j(this)[0].adapter.$element).data("q_header_style")?(e=e.data("q_header_style"),$j("header").removeClass("dark light").addClass(e)):$j("header").removeClass("dark light").addClass(t))},{offset:function(){return-$j(this)[0].adapter.$element.outerHeight()+o}}))}function initHorizontalMarquee(){$j(".qode-horizontal-marquee").each(function(){function e(){a=t.width(),i=0,s.find("> .qode-hm-item").css("margin",0),t.height(Math.min($window_height,d)),s.find("> .qode-hm-item").each(function(){$j(this).css("max-width",a),i+=$j(this).outerWidth()+r}),i-=r,s.width(i).css("left",0),s.find("> .qode-hm-item").css("margin-right",r+"px")}var o,n,i,a,t=$j(this),r=void 0!==t.data("spacing")?t.data("spacing"):0,d=void 0!==t.data("height")?t.data("height"):0,s=t.find(".qode-horizontal-marquee-inner");e(),$j(window).resize(e),s.find("img").on("dragstart",function(e){e.preventDefault()}),t.hasClass("qode-loop")||(s.on("mousedown touchstart",function(e){e="touchstart"==(e=void 0!==e.originalEvent?e.originalEvent:e).type?e.touches[0]:e,o={x:e.clientX,y:e.clientY},n=parseInt(s.css("left"),10),s.addClass("qode-dragged")}),s.on("mousemove touchmove",function(e){var t=(e=void 0!==e.originalEvent?e.originalEvent:e).type,e=(e="touchmove"==t?e.touches[0]:e).clientX;("touchmove"==t||"mousemove"==t&&s.is(".qode-dragged"))&&s.css({left:Math.max(-i+a,Math.min(n+(e-o.x),0))+"px"})}),s.on("mouseup touchend mouseleave",function(e){s.removeClass("qode-dragged")}))})}function qodeHorizontalMarqueeLoop(){var e=$j(".qode-horizontal-marquee.qode-loop");e.length&&e.each(function(){var t=$j(this),o=(t.find(".qode-horizontal-marquee-inner").clone().appendTo(t),t.find(".qode-horizontal-marquee-inner")),r=o.first(),d=o.last();t.waitForImages(function(){function n(){a=r.width()+e,i=0,r.css({left:0}),d.css({width:a,left:a})}var i,a,e;e=""!==t.data("spacing")?t.data("spacing"):0,n(),qodeRequestAnimationFrame(),t.hasClass("qode-appear-fx")&&t.addClass("qode-appeared"),o.each(function(e){var t=$j(this),o=function(){--i,t.position().left<=-a&&(t.css("left",parseInt(a-1)),i=0),t.css({transform:"translate3d("+ +i+"px,0,0)"}),Math.abs(r.position().left-d.position().left)"),o.wrapAll("
      "),t.find(".qode-item-showcase-holder").append(""),$j(".qode-item-line"));function a(e){t.find(e).each(function(e){var t=$j(this);setTimeout(function(){t.addClass("qode-appeared")},150*e)})}$j("html").hasClass("touch")&&$j("html").hasClass("touchevents")?i.each(function(){var e=$j(this),t=e.closest(".qode-item-showcase-holder"),t=t.height()-t.find(".qode-item").last().height();e.css("height",t),e.css("opacity",1)}):(t.animate({opacity:1},200),setTimeout(function(){t.appear(function(){n.addClass("qode-appeared"),i.each(function(){var e=$j(this),t=e.closest(".qode-item-showcase-holder"),t=t.height()-t.find(".qode-item").last().height();e.css("height",t),e.css("opacity",1)}),t.on("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(e){1200<$window_width?(a(".qode-holder-left .qode-item"),a(".qode-holder-right .qode-item")):a(".qode-item")})})},100))})}var qodeCTASection=function(){var e=$j(".qode-cta-section");return{init:function(){e.length&&e.each(function(){var e=$j(this),t=e.find("img"),o=e.find(".qode-cta-section-text-wrapper");$j("html").hasClass("touch")&&$j("html").hasClass("touchevents")||!e.hasClass("qode-cta-appear-effect")||((e=function(e){e.appear(function(){setTimeout(function(){e.addClass("qode-appeared")},30)},{accX:0,accY:-$window_height/3})})(t),e(o))})}}};function initPreviewSlider(){$j(".qode-preview-slider").each(function(){var e=$j(this),t=e.find(".qode-presl-main-slider"),n=e.find(".qode-presl-small-slider-holder").find(".qode-presl-small-slider");t.find(".qode-presl-link.small").each(function(e){$j('
    • ').appendTo(n.find("> .slides")).find(".qode-presl-main-item-inner").append($j(this))}),t.flexslider({animation:"slide",animationSpeed:700,slideshow:!0,slideshowSpeed:5e3,useCSS:!0,touch:!0,autostart:!1,directionNav:!0,controlNav:!0,prevText:'',nextText:'',start:function(e){e.find(".qode-presl-main-item").css({opacity:"1",filter:"alpha(opacity=100)"}).find("img").addClass("visible")},before:function(e){var t=e.animatingTo,o=e.currentSlide;0==t?e.find(".slides li:first-child").next().next().clone().appendTo(e.find(".slides")).removeClass("clone").addClass("clone_end"):t==e.count-1&&e.find(".slides li:last-child").prev().prev().clone().appendTo(e.find(".slides")).removeClass("clone").addClass("clone_start"),0==t&&o==e.count-1&&"next"==e.direction?n.flexslider("next"):t==e.count-1&&0==o&&"prev"==e.direction?n.flexslider("prev"):n.find(".flex-control-nav a").eq(t).trigger("click"),e.find(".flex-direction-nav").addClass("moving")},after:function(e){e.removeClass("control-initiated direction-initiated"),e.find(".clone_start, .clone_end").remove(),e.find(".flex-direction-nav").removeClass("moving")}}),n.flexslider({animation:"slide",animationSpeed:700,animationLoop:!0,useCSS:!0,touch:!1,slideshow:!1,directionNav:!1,controlNav:!0,start:function(e){e.find("img").addClass("visible"),e.closest(".qode-presl-small-slider-holder").find(".qode-presl-phone").addClass("visible")}})})}var getIEversion=function(){var e,t=-1;return"Microsoft Internet Explorer"==navigator.appName?(e=navigator.userAgent,null!=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(e)&&(t=parseFloat(RegExp.$1))):"Netscape"==navigator.appName&&(e=navigator.userAgent,null!=new RegExp("Trident/.*rv:([0-9]{1,}[.0-9]{0,})").exec(e))&&(t=parseFloat(RegExp.$1)),t};function initInDeviceSlider(){$j(".qode-in-device-slider").each(function(){var t,o,e=$j(this).find(".qode-ids-slider"),n="yes"==e.data("navigation"),i="yes"==e.data("auto-start"),a=i?e.data("timeout"):0,r=!!e.closest(".qode-horizontal-marquee").length;0',nextText:'',start:function(e){e.find("img").addClass("visible"),e.closest(".qode-ids-slider-holder").find(".qode-ids-frame").addClass("visible"),e.is(".qode-ids-titles-on-hover")&&e.hover(function(){$j(this).find(".qode-ids-link").addClass("hovered")},function(){$j(this).find(".qode-ids-link").removeClass("hovered")})}}),r&&(o=!1,e.find(".qode-ids-link").on("dragstart",function(e){e.preventDefault()}).on("click",function(e){o?o=!1:e.preventDefault()}).on("mousedown touchstart",function(e){e="touchstart"==(e=void 0!==e.originalEvent?e.originalEvent:e).type?e.touches[0]:e,t={x:e.clientX,y:e.clientY}}).on("mouseup touchend",function(e){e=(e="touchend"==(e=void 0!==e.originalEvent?e.originalEvent:e).type?e.changedTouches[0]:e).clientX;Math.abs(e-t.x)<10&&(o=!0)}))})}function checkSVG(e){e=e.find(".active .qode_slide-svg-holder");"yes"===e.data("svg-drawing")&&drawSVG(e)}function drawSVG(e){e=Array.prototype.slice.call(e.find("svg"));e.forEach(function(e,t){var o=new SVGEl(e);t,setTimeout(function(){o.render()},0)})}var docElem=window.document.documentElement;function SVGEl(e){this.el=e;e=$j(this.el).closest(".qode_slide-svg-holder").data("svg-frames");this.image=this.el.previousElementSibling,this.current_frame=0,this.total_frames=e,this.path=[],this.length=[],this.handle=0,this.init()}function initPageTitleAnimation(){"yes"===$j(".title_outer").data("animation")&&0<$j(".no-touchevents .title_outer").length&&skrollr.init({edgeStrategy:"set",smoothScrolling:!1,forceHeight:!1}).refresh()}function initElementsHolderResponsiveStyle(){var e=$j(".q_elements_holder");e.length&&e.each(function(){var e=$j(this).children(".q_elements_item"),t="",s="";e.each(function(){var e=$j(this),t="",o="",n="",i="",a="",r="",d="";void 0!==e.data("item-class")&&!1!==e.data("item-class")&&(t=e.data("item-class")),void 0!==e.data("1280-1440")&&!1!==e.data("1280-1440")&&(o=e.data("1280-1440")),void 0!==e.data("1024-1280")&&!1!==e.data("1024-1280")&&(n=e.data("1024-1280")),void 0!==e.data("768-1024")&&!1!==e.data("768-1024")&&(i=e.data("768-1024")),void 0!==e.data("600-768")&&!1!==e.data("600-768")&&(a=e.data("600-768")),void 0!==e.data("480-600")&&!1!==e.data("480-600")&&(r=e.data("480-600")),void 0!==e.data("480")&&!1!==e.data("480")&&(d=e.data("480")),(o.length||n.length||i.length||a.length||r.length||d.length)&&(o.length&&(s+="@media only screen and (min-width: 1280px) and (max-width: 1440px) {.q_elements_item_content."+t+" { padding: "+o+" !important; } }"),n.length&&(s+="@media only screen and (min-width: 1024px) and (max-width: 1280px) {.q_elements_item_content."+t+" { padding: "+n+" !important; } }"),i.length&&(s+="@media only screen and (min-width: 768px) and (max-width: 1024px) {.q_elements_item_content."+t+" { padding: "+i+" !important; } }"),a.length&&(s+="@media only screen and (min-width: 680px) and (max-width: 768px) {.q_elements_item_content."+t+" { padding: "+a+" !important; } }"),r.length&&(s+="@media only screen and (min-width: 480px) and (max-width: 680px) {.q_elements_item_content."+t+" { padding: "+r+" !important; } }"),d.length)&&(s+="@media only screen and (max-width: 480px) {.q_elements_item_content."+t+" { padding: "+d+" !important; } }")}),(t=s.length?'":t).length&&$j("head").append(t)})}function initQodeElementAnimationSkrollr(){0===$j(".no-touchevents .carousel").length&&$j(".no-touchevents .q_elements_holder > .q_elements_item").each(function(){void 0===$j(this).data("animation")&&void 0===$j(".title_outer").data("animation")||"yes"!==$j(this).data("animation")||skrollr.init({edgeStrategy:"set",smoothScrolling:!1,forceHeight:!1}).refresh()})}function initIconShortcodeHover(){$j(".qode_icon_shortcode").length&&$j(".qode_icon_shortcode").each(function(){var e,t,o,n,i,a;void 0!==$j(this).data("type")&&-1!=["circle","square"].indexOf($j(this).data("type"))&&void 0!==$j(this).data("hover-bg-color")&&("circle"==$j(this).data("type")?(e=$j(this).find("i").first(),o=$j(this).data("hover-bg-color"),t=e.attr("style"),$j(this).hover(function(){e.attr("style",t+"color: "+o+"!important")},function(){e.attr("style",t)})):(o=$j(this).data("hover-bg-color"),n=$j(this).css("background-color"),$j(this).hover(function(){$j(this).css("background-color",o)},function(){$j(this).css("background-color",n)}))),void 0!==$j(this).data("hover-icon-color")&&(i=$j(this).data("hover-icon-color"),a=$j(this).find(".qode_icon_element ").css("color"),$j(this).hover(function(){$j(this).find(".qode_icon_element ").css("color",i)},function(){$j(this).find(".qode_icon_element ").css("color",a)}))})}window.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},window.cancelAnimFrame=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(e){window.clearTimeout(e)},SVGEl.prototype.init=function(){var o=this;[].slice.call(this.el.querySelectorAll("path")).forEach(function(e,t){o.path[t]=e;e=o.path[t].getTotalLength();o.length[t]=e,o.path[t].style.strokeDasharray=e+" "+e,o.path[t].style.strokeDashoffset=e})},SVGEl.prototype.render=function(){this.rendered||(this.rendered=!0,this.draw())},SVGEl.prototype.draw=function(){var e=this,t=this.current_frame/this.total_frames;if(1 .qode_content_slider_item",animationLoop:!0,controlNav:n,directionNav:o,useCSS:!1,pauseOnAction:a,pauseOnHover:a,slideshow:d,animation:s,prevText:"
      ",nextText:"
      ",animationSpeed:600,slideshowSpeed:t,touch:!0,smoothHeight:l,start:function(){c(i)},after:function(){c(i)}}),function(e){i.find(".qode-lazy-image").length&&qodeLazyImages()});i.find(".flex-direction-nav a").on("click",function(e){e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()}),r&&i.swipe({swipeLeft:function(){i.flexslider("next")},swipeRight:function(){i.flexslider("prev")},threshold:20}),i.hasClass("control_nav_justified")&&((e=function(e){var t=i.find("ol"),o=(t.addClass("qode-type1-gradient-left-to-right-after"),1440<$window_width?t.css("max-width",qode_grid_width):t.css("max-width",Math.round(.8*i.outerWidth())),t.find("li")),n=o.outerWidth(),t=parseInt(t.css("max-width"))-n*o.length,n=Math.floor(t/o.length);o.css("margin-right",n),o.last().css("margin-right",0)})(),$j(window).resize(function(){e()}))})}function qodeBlogGalleryAnimation(){var e=$j(".blog_holder.blog_gallery");e.length&&e.each(function(){$j(this).find("article").each(function(){var e=$j(this),t=e.find(".post_excerpt"),o=parseInt(t.outerHeight(!0)),n=e.find(".post_category"),i=e.find(".entry_title");n.css({transform:"translateY("+o+"px)"}),i.css({transform:"translateY("+o+"px)"}),e.mouseenter(function(){n.css({transform:"translateY(0px)"}),i.css({transform:"translateY(0px)"}),t.css({visibility:"visible",opacity:"1"})}),e.mouseleave(function(){n.css({transform:"translateY("+o+"px)"}),i.css({transform:"translateY("+o+"px)"}),t.css({visibility:"hidden",opacity:"0"})})})})}function qodeLazyImages(){$j.fn.preloader=function(e,t){return e&&"destroy"==e?this.find(".qode-lazy-preloader").remove():(e=$j('
      '),$j('').appendTo(e),e.appendTo(this),"function"==typeof t&&t()),this},$j('.qode-lazy-image[data-image][data-lazy="true"]:not(.lazyLoading)').each(function(e,t){(t=$j(t)).attr("data-ratio")&&t.height(t.width()*t.data("ratio"));var o,n=t[0].getBoundingClientRect(),i=$window_height||document.documentElement.clientHeight,a=$window_width||document.documentElement.clientWidth,r=t.outerHeight(),d=t.outerWidth();(0!=n.top||0!=n.right||0!=n.bottom||0!=n.left)&&(0<=n.top||0<=n.top+r)&&0<=n.bottom&&n.bottom-r-i<=0&&(0<=n.left||0<=n.left+d)&&0<=n.right&&n.right-d-a<=0&&(o=null,(o="IMG"==t.prop("tagName")?t.parent():t)&&o.preloader("init"),t.addClass("lazyLoading"),r=new Image,$j(r).on("load",function(){o.preloader("destroy"),t.removeAttr("data-image").removeData("image").removeAttr("data-lazy").removeData("lazy").removeClass("lazyLoading"),"IMG"===t.prop("tagName")?(t.attr("src",$j(this).attr("src")),t.height("auto")):t.css("background-image","url("+$j(this).attr("src")+")")}).attr("src",t.data("image")))})}(l=>{l.fn.extend({mouseParallax:function(t){t=l.extend({moveFactor:1.5,targetContainer:this},t);return this.each(function(){var a,r,d=t,s=l(d.targetContainer).find(".image, .paralax_layers_content_holder"),e=(s.each(function(e){l(this).css("z-index",e)}),a=l(d.targetContainer).offset().left,r=l(d.targetContainer).offset().top,l(d.targetContainer).on("mouseenter",function(e){a=e.pageX-l(this).offset().left,r=e.pageY-l(this).offset().top}),l(d.targetContainer).on("mousemove",function(e){var t=l(this).offset().left+a,o=l(this).offset().top+r,n=e.pageX-t,i=e.pageY-o;s.each(function(e){l(this).css({marginLeft:-n/100*d.moveFactor*(e+1),marginTop:-i/100*d.moveFactor*(e+1)},100)})}),{interval:0,over:function(){},timeout:500,out:function(){s.each(function(e){l(this).stop().animate({marginLeft:0,marginTop:0},300)})}});l(d.targetContainer).hoverIntent(e)})}})})(jQuery);var qodeCardsSlider=function(){function n(e,a,r){e.each(function(e,t){var o=$j(t).find(".qode-card-slider > .slide"),n=$j(t).find(".dot"),i=Math.round(o.length/2)-1;a?(0 .slide"),o=$j(i).data("active-middle-slide"),r=$j(i).data("center");$j(i).find(".button").each(function(e,n){$j(n).on("click",function(){var e="prev"==$j(n).data("direction")?-1:1,t=$j(i).data("card-slide"),e=$j(i).data("card-slide")+e,o=$j(i).find('.slide[data-card-slide="'+e+'"]');return o.length&&(l(a,$j(i),t,e,o,r),$j(i).find(".dot").removeClass("active").filter('[data-card-slide="'+e+'"]').addClass("active")),!1})}),$j(i).find(".dot").each(function(e,n){$j(n).on("click",function(){$j(i).find(".dot").removeClass("active"),$j(n).addClass("active");var e=$j(i).data("card-slide"),t=$j(n).data("card-slide"),o=$j(i).find('.slide[data-card-slide="'+t+'"]');return o.length&&l(a,$j(i),e,t,o,r),!1})}),d(a,$j(i)),n($j(i),o,r),(t=$j(i)).swipe({swipeLeft:function(){t.find('.button[data-direction="next"]').trigger("click")},swipeRight:function(){t.find('.button[data-direction="prev"]').trigger("click")},threshold:20}),$j(window).resize(function(){d(a,$j(i)),n($j(i),o,r),s()})})}var l=function(e,t,o,n,i,a){t.data("card-slide",n).attr("data-card-slide",n),t.find(".qode-card-slider").css("margin-left",a?-i.position().left+$j(t).outerWidth()/2-i.outerWidth()/2:-i.position().left),setTimeout(function(){qodeLazyImages()},500);a=o .qode-elliptical-slider-slides"),o=600,n=!1;void 0!==t.data("animation-speed")&&!1!==t.data("animation-speed")&&(o=t.data("animation-speed")),"yes"==t.data("autoplay")&&(n=!0),e.flexslider({selector:".qode-elliptical-slider-slides > .qode-elliptical-slide",animationLoop:!0,controlNav:!0,directionNav:!1,useCSS:!1,pauseOnAction:!0,pauseOnHover:!0,slideshow:n,animationSpeed:o,slideshowSpeed:5e3,touch:!0})})}function qodeInitPricingCalculator(){var e=$j(".qode-pricing-calculator");e.length&&e.each(function(){var n=$j(this),e=$j(this).find(".qode-pricing-calculator-item"),i=0;e.each(function(){var e=$j(this),t=e.data("price"),o=e.find("input");o.prop("checked")&&(i+=t),e.on("change",function(e){o.prop("checked")?i+=t:i-=t,n.find(".qode-pricing-calculator-total-price").text(i)})})})}function qodeSlidingImageHolder(){var e=$j(".qode-sliding-image-holder");e.length&&e.each(function(){var e,a,t=$j(this);$j("html").hasClass("touch")&&$j("html").hasClass("touchevents")||(qodeRequestAnimationFrame(),e=t.find(".qode-sliding-image-background-image"),0==(a=Math.round(e.width()))&&(a=1920),t.find(".qode-aux-background-image").css("left",a),e.each(function(e){var t=$j(this),o=0,n=1,i=function(){o-=n,Math.round(t.offset().left)<=-a&&(t.css("left",parseInt(a-2*n)),o=0),t.css("transform","translate3d("+o+"px,0,0)"),requestNextAnimationFrame(i)};$j(window).on("load",function(){i(),$j("html").addClass("qode-sliding-image-holder-initialized")}),$j("html").hasClass("qode-sliding-image-holder-initialized")||i()}))})}function qodeRequestAnimationFrame(){window.requestNextAnimationFrame=function(){var o,e,n=void 0,t=navigator.userAgent,i=this;return window.webkitRequestAnimationFrame&&(o=function(e){void 0===e&&(e=+new Date),i.callback(e)},n=window.webkitRequestAnimationFrame,window.webkitRequestAnimationFrame=function(e,t){i.callback=e,n(o,t)}),window.mozRequestAnimationFrame&&(e=t.indexOf("rv:"),-1!=t.indexOf("Gecko"))&&"2.0"===t.substr(e+3,3)&&(window.mozRequestAnimationFrame=void 0),window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e,t){var o,n;window.setTimeout(function(){o=+new Date,e(o),n=+new Date,i.timeout=1e3/60-(n-o)},i.timeout)}}()}function qodePageTransitionEffect(){var o=$j("body.qode-page-loading-effect-enabled > .qode-page-loading-effect-holder");o.length&&(o.fadeOut(500),$j(window).bind("pageshow",function(e){e.originalEvent.persisted&&o.fadeOut(500)}),$j("a").on("click",function(e){var t=$j(this);!(1==e.which&&0<=t.attr("href").indexOf(window.location.host)&&void 0===t.data("rel")&&void 0===t.attr("rel"))||t.hasClass("qode-like")||t.parents(".blog_load_more_button")||t.parents(".qode-single-product-images")||void 0!==t.attr("target")&&"_self"!==t.attr("target")||t.attr("href").split("#")[0]===window.location.href.split("#")[0]||(e.preventDefault(),o.addClass("qode-hide-spinner"),o.fadeIn(500,function(){window.location=t.attr("href")}))}))}function qodeInitAccordions(){var e=$j(".qode-accordion-holder");e.length&&e.each(function(){var e,t,o=$j(this);o.hasClass("qode-accordion")&&o.accordion({animate:"easeInOutQuint",collapsible:!0,active:0,icons:"",heightStyle:"content"}),o.hasClass("qode-toggle")&&(t=(e=(o=$j(this)).find(".qode-title-holder")).next(),o.addClass("accordion ui-accordion ui-accordion-icons ui-widget ui-helper-reset"),e.addClass("ui-accordion-header ui-state-default ui-corner-top ui-corner-bottom"),t.addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide(),e.each(function(){var t=$j(this);t.hover(function(){t.toggleClass("ui-state-hover")}),t.on("click",function(e){e.preventDefault(),e.stopImmediatePropagation(),t.toggleClass("ui-accordion-header-active ui-state-active ui-state-default ui-corner-bottom"),t.next().toggleClass("ui-accordion-content-active").slideToggle(300)})}))})}function qodeInitInteractiveIconShowcase(){var e=$j(".qode-int-icon-showcase"),c=$j(".no_animation_on_touch");e.length&&e.each(function(){var o,n=$j(this),e=n.find(".qode-showcase-item-holder"),t=n.find(".qode-showcase-icon"),i=(n.find(".qode-showcase-content"),n.find(".qode-showcase-item-holder:first-child")),a=n.find(".qode-showcase-item-holder.qode-showcase-active"),r=!1,d=!1,s=3e3,l=e.length;void 0!==n.data("interval")&&!1!==n.data("interval")&&(s=n.data("interval")),c.length?(i.addClass("qode-showcase-active"),r=!0):n.appear(function(){setTimeout(function(){n.addClass("qode-appeared"),a.length||(r=!0,i.addClass("qode-showcase-active"),n.hasClass("qode-autoplay")&&(o=0,setInterval(function(){d||(e.removeClass("qode-showcase-active qode-current"),o==l-1?o=0:o++,e.eq(o).addClass("qode-showcase-active"))},s),n.hover(function(e){d=!0},function(e){d=!1})))},30)},{accX:0,accY:-200}),t.each(function(){var e=$j(this),t=e.parent();e.mouseenter(function(){1==r&&(t.siblings().removeClass("qode-showcase-active qode-current"),t.addClass("qode-showcase-active qode-current"),o=n.find(".qode-current").index())})})})}function qodeInitSendContactForm(){var e=$j(".qode-contact-form-contact-template");e.length&&e.each(function(){var o=$j(this);o.on("submit",function(e){e.preventDefault();var t=!0;o.find(".contact-error").remove(),o.parent().find(".contact-success").remove(),o.find(".requiredField").each(function(){var e=$j(this);""==jQuery.trim(e.val())||jQuery.trim(e.val())==jQuery.trim(e.attr("placeholder"))?(e.parent().append(''+o.data("required-message")+""),e.addClass("inputError"),t=!1):!e.hasClass("email")||/^([\w-\.]+@([\w-]+\.)+[\w-]{2,6})?$/.test(jQuery.trim(e.val()))||(e.parent().append(''+o.data("wrong-email-message")+""),e.addClass("inputError"),t=!1)}),t&&(e={action:"bridge_core_send_contact_page_form",form_data:o.serialize(),contact_page_nonce:o.find("#bridge_qode_contact_page_nonce").val()},$j.ajax({type:"POST",data:e,url:QodeAdminAjax.ajaxurl,success:function(e){e=JSON.parse(e);"success"==e.status?(o.before('

      '+e.message+"

      "),o.hide()):o.before('

      '+e.message+"

      ")}}))})})}function qodeRecaptchaCallback(){var e=$j("#qode-captcha-element-holder");e.length&&grecaptcha.render("qode-captcha-element-holder",{sitekey:e.data("sitekey")})}function qodeWorkflow(){var e=$j(".qode-workflow");e.length&&e.each(function(){var e,t=$j(this);t.hasClass("qode-workflow-animate")&&(e=t.find(".qode-workflow-item"),t.appear(function(){t.addClass("qode-appeared"),setTimeout(function(){e.each(function(e){var t=$j(this);setTimeout(function(){t.addClass("qode-appeared")},350*e)})},350)},{accX:0,accY:-$window_height/3}))})}function getLoadMoreData(e){var t,o=e.data(),n={};for(t in o)o.hasOwnProperty(t)&&void 0!==o[t]&&!1!==o[t]&&(n[t]=o[t]);return n}function setLoadMoreAjaxData(e,t){var o,n={action:t};for(o in e)e.hasOwnProperty(o)&&void 0!==e[o]&&!1!==e[o]&&(n[o]=e[o]);return n}function qodeScrollingImage(){var e=$j(".qode-scrolling-image-holder");e.length&&e.each(function(){function e(){t=d.height(),o=s.height(),n=Math.round(o-t),i=2*Math.round(o/t),t=$window_height&&e.height($window_height),"object"==typeof qode.modules.niceScroll&&qode.modules.niceScroll.initNiceScroll(e),t=function(){qode_body.hasClass("qode-panel-area-opened")&&qode_body.removeClass("qode-panel-area-opened")},o.on("click",function(e){e.preventDefault(),e.stopPropagation(),qode_body.hasClass("qode-panel-area-opened")?t():qode_body.hasClass("qode-panel-area-opened")||qode_body.addClass("qode-panel-area-opened")}),n.on("click",function(e){e.preventDefault(),t()}),i.on("click",function(e){qode_body.hasClass("qode-panel-area-opened")&&t()}))}(n=>{var e={};function t(){o()}function o(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/global",function(){var e;initParallax(),(e=n(".parallax_section_holder")).length&&e.each(function(){var e=n(this),t=e.find(".qode-parallax-helper-holder"),o=1;t.length&&void 0!==t.data("speed")&&""!==t.data("speed")&&(o=t.data("speed")),e.parallax("50%",.4*o)}),initFullScreenTemplate(),"object"==typeof qode.modules.stickyWidget&&qode.modules.stickyWidget.qodeInitStickyWidget()})})}(qode.modules.elementorGlobal=e).qodeInitElementorGlobal=o,e.qodeOnWindowLoad=t,n(window).on("load",t)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_animation_holder.default",function(){initElementsAnimation()})})}(qode.modules.elementorAnimationHolder=t).qodeInitElementorAnimationHolder=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(n=>{var e={};function t(){o()}function o(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_action.default",function(){initButtonHover()})}),$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/global",function(){var e;initParallax(),(e=n(".parallax_section_holder")).length&&e.each(function(){var e=n(this),t=e.find(".qode-parallax-helper-holder"),o=1;t.length&&void 0!==t.data("speed")&&""!==t.data("speed")&&(o=t.data("speed")),e.parallax("50%",.4*o)}),initFullScreenTemplate()})})}(qode.modules.elementorAction=e).qodeInitElementorAction=o,e.qodeOnWindowLoad=t,n(window).on("load",t)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_button.default",function(){initButtonHover(),initEnlargeButton()})})}(qode.modules.elementorButton=t).qodeInitElementorButton=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_content_slider.default",function(){initContentSlider()})})}(qode.modules.elementorContentSlider=t).qodeInitElementorContentSlider=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_cover_boxes.default",function(){initCoverBoxes()})})}(qode.modules.elementorCoverBoxes=t).qodeInitElementorCoverBoxes=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_expanding_images.default",function(){initExpandingImages()})})}(qode.modules.elementorExpandingImages=t).qodeInitElementorExpandingImages=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_fullscreen_sections.default",function(){initFullScreenTemplate()})})}(qode.modules.elementorFullscreenSections=t).qodeInitElementorFullscreenSections=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_horizontal_marquee.default",function(){initHorizontalMarquee(),qodeHorizontalMarqueeLoop()})})}(qode.modules.elementorHorizontalMarquee=t).qodeInitElementorHorizontalMarquee=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_icon.default",function(){initIconShortcodeHover(),initIconWithTextAnimation()})})}(qode.modules.elementorIcon=t).qodeInitElementorIcon=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_image_gallery.default",function(){initFlexSlider()})})}(qode.modules.elementorImageGallery=t).qodeInitElementorImageGallery=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_icon_text.default",function(){initIconWithTextHover(),initIconShortcodeHover(),initIconWithTextAnimation()})})}(qode.modules.elementorIconText=t).qodeInitElementorIconText=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_image_hover.default",function(){initImageHover()})})}(qode.modules.elementorImageHover=t).qodeInitElementorImageHover=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_in_device_slider.default",function(){initInDeviceSlider()})})}(qode.modules.elementorInDeviceSlider=t).qodeInitElementorInDeviceSlider=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_masonry_blog.default",function(){initQBlog()})})}(qode.modules.elementorMasonryBlog=t).qodeInitElementorMasonryBlog=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_masonry_gallery.default",function(){initMasonryGallery()})})}(qode.modules.elementorMasonryGallery=t).qodeInitElementorMasonryGallery=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_message.default",function(){initMessages(),initMessageHeight()})})}(qode.modules.elementorMessage=t).qodeInitElementorMessage=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_old_tab.default",function(){initTabs()})})}(qode.modules.elementorOldTab=t).qodeInitElementorOldTab=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_old_accordion.default",function(){initAccordion()})})}(qode.modules.elementorOldAccordion=t).qodeInitElementorOldAccordion=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_parallax_layers.default",function(){parallaxLayers()})})}(qode.modules.elementorParallaxLayers=t).qodeInitElementorParallaxLayers=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_product_list_elegant.default",function(){initEnlargeButton()})})}(qode.modules.elementorProductListElegant=t).qodeInitElementorProductListElegant=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_preview_slider.default",function(){initPreviewSlider()})})}(qode.modules.elementorPreviewSlider=t).qodeInitElementorPreviewSlider=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),jQuery(window).on("load",function(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_product_list_pinterest.default",function(){qodeInitProductListMasonryPinterestShortcode()})})}),jQuery(window).on("load",function(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_product_list_masonry.default",function(){qodeInitProductListMasonryPinterestShortcode()})})}),jQuery(window).on("load",function(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_social_icons.default",function(){initSocialIconHover()})})}),jQuery(window).on("load",function(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_testimonials.default",function(){initTestimonials()})})}),jQuery(window).on("load",function(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_testimonials_carousel.default",function(){initTestimonialsCarousel()})})}),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_accordion.default",function(){qodeInitAccordions()})})}(qode.modules.elementorAccordion=t).qodeInitElementorAccordion=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),jQuery(window).on("load",function(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_unordered_list.default",function(){initListAnimation()})})}),(d=>{var e={};function t(){o()}function o(){var e=d(".qode-advanced-image-gallery.qode-aig-masonry-type");e.length&&e.each(function(){var e,t,o,n,i=d(this),a=i.find(".qode-aig-masonry"),r=i.find(".qode-aig-grid-sizer").width();i.hasClass("qode-aig-images-fixed")&&(e=parseInt(i.find(".qode-aig-image").css("padding-left")),t=i.find(".qode-aig-default-masonry-item"),o=i.find(".qode-aig-large-width-masonry-item"),n=i.find(".qode-aig-large-height-masonry-item"),i=i.find(".qode-aig-large-masonry-item"),680{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_advanced_image_gallery.default",function(){qode.modules.owlSlider.qodeOwlSlider(),qode.modules.imageGallery.qodeInitAdvancedImageGalleryMasonry()})})}(qode.modules.elementorImageGallery=t).qodeInitElementorAdvancedImageGalleryMasonry=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_tabs.default",function(){qodeInitAdvancedTabs(),qodeInitAdvancedTabsIcons()})})}(qode.modules.elementorAdvancedTabs=t).qodeInitElementorAdvancedTabs=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_button_v2.default",function(){qodeV2Button().init()})})}(qode.modules.elementorButtonV2=t).qodeInitElementorButtonV2=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_call_to_action_section.default",function(){qodeCTASection().init()})})}(qode.modules.elementorCallToActionSection=t).qodeInitElementorCallToActionSection=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){qodeCardsGallery(),elementorFrontend.hooks.addAction("frontend/element_ready/bridge_cards_gallery.default",function(){qodeCardsGallery()})})}(qode.modules.elementorCardsGallery=t).qodeInitElementorCardsGallery=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_cards_slider.default",function(){qodeCardsSlider().init()})})}(qode.modules.elementorCardsSlider=t).qodeInitElementorCardsSlider=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_content_menu.default",function(){createContentMenu(),createSelectContentMenu(),contentMenuPosition(),contentMenuCheckLastSection(),contentMenuScrollTo()})})}(qode.modules.elementorContentMenu=t).qodeInitElementorContentMenu=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_expendable_section.default",function(){initMoreFacts()})})}(qode.modules.elementorExpendableSection=t).qodeInitElementorExpendableSection=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_elliptical_slider.default",function(){qodeInitEllipticalSlider()})})}(qode.modules.elementorEllipticalSlider=t).qodeInitElementorEllipticalSlider=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_info_card_with_icon.default",function(){qodeIcon().init()})})}(qode.modules.elementorInfoCardWithIcon=t).qodeInitElementorInfoCardWithIcon=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_horizontal_timeline.default",function(){qode.modules.timeline.qodeInitHorizontalTimeline()})})}(qode.modules.elementorHorizontalTimeline=t).qodeInitElementorHorizontalTimeline=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(w=>{var e={};function t(){o()}function o(){var e=w(".qode-horizontal-timeline"),h=120;function u(e,t,o){var n=d(e.eventsWrapper),i=Number(e.timelineWrapper.css("width").replace("px",""));"next"===o?r(e,n-i+h,i-t):r(e,n+i-h)}function _(e,t,o){var n,i=e.eventsContent.find(".selected");0<("next"===o?i.next():i.prev()).length&&(i=e.eventsWrapper.find(".selected"),m(n=("next"===o?i.parent("li").next("li"):i.parent("li").prev("li")).children("a"),e.fillingLine,t),p(n,e.eventsContent),n.addClass("selected"),i.removeClass("selected"),g(n),f(o,n,e))}function f(e,t,o){var t=window.getComputedStyle(t.get(0),null),t=Number(t.getPropertyValue("left").replace("px","")),n=Number(o.timelineWrapper.css("width").replace("px","")),i=Number(o.eventsWrapper.css("width").replace("px","")),a=d(o.eventsWrapper);("next"===e&&n-ai.index()?(o="selected qode-enter-right","qode-leave-left"):(o="selected qode-enter-left","qode-leave-right"),a.attr("class",o),i.attr("class",n).one("webkitAnimationEnd oanimationend msAnimationEnd animationend",function(){i.removeClass("qode-leave-right qode-leave-left"),a.removeClass("qode-enter-left qode-enter-right")}),t.css("height",e+"px")}function g(e){e.parent("li").prevAll("li").children("a").addClass("older-event").end().end().nextAll("li").children("a").removeClass("older-event")}function d(e){var e=window.getComputedStyle(e.get(0),null),e=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("-moz-transform")||e.getPropertyValue("-ms-transform")||e.getPropertyValue("-o-transform")||e.getPropertyValue("transform");return e=0<=e.indexOf("(")?(e=(e=(e=e.split("(")[1]).split(")")[0]).split(","))[4]:0,Number(e)}function i(e,t,o){e.style["-webkit-transform"]=t+"("+o+")",e.style["-moz-transform"]=t+"("+o+")",e.style["-ms-transform"]=t+"("+o+")",e.style["-o-transform"]=t+"("+o+")",e.style.transform=t+"("+o+")"}function $(e,t){return Math.round(t-e)}function j(e){for(var t=e.offsetTop,o=e.offsetLeft,n=e.offsetWidth,i=e.offsetHeight;e.offsetParent;)t+=(e=e.offsetParent).offsetTop,o+=e.offsetLeft;return twindow.pageYOffset&&o+n>window.pageXOffset}function v(){return window.getComputedStyle(document.querySelector(".qode-horizontal-timeline"),"::before").getPropertyValue("content").replace(/'/g,"").replace(/"/g,"")}680{for(var t=[],o=1;o{e.timelineNavigation.find(".qode-prev").addClass("inactive"),e.timelineNavigation.find(".qode-next").addClass("inactive")})(e);for(var l=(a.outerWidth()-80-24*(e.timelineDates.length-1))/(e.timelineDates.length+1),d=0;d{var n=$(e.timelineDates[0],e.timelineDates[e.timelineDates.length-1])/e.eventsMinLapse;return(n=(n=Math.round(n)+2)*t){var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_interactive_icon_showcase.default",function(){qodeInitInteractiveIconShowcase()})})}(qode.modules.elementorInteractiveIconShowcase=t).qodeInitElementorInteractiveIconShowcase=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(i=>{var e={};function t(){n()}function o(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/qode_interactive_links.default",function(){n()})})}function n(){var e=i(".qode-interactive-links");e.length&&e.each(function(){var e=i(this),o=e.find(".qode-il-titles-holder .qode-il-link"),n=e.find(".qode-il-image");o.length&&(o.eq(0).addClass("qode-active"),n.eq(0).addClass("qode-active"),o.each(function(){var t=i(this);t.on("mouseenter",function(){var e;t.hasClass("qode-active")||(e=t.data("index"),n.removeClass("qode-active"),o.removeClass("qode-active"),t.addClass("qode-active"),n.eq(e).addClass("qode-active"))})}))})}(qode.modules.interactiveLinks=e).qodeInteractiveLinks=n,e.qodeOnDocumentReady=t,e.qodeOnWindowLoad=o,i(document).ready(t),i(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_interactive_project_list.default",function(){qode.modules.interactiveProjectList.qodeInitInteractiveProjectList(),qode.modules.interactiveProjectList.qodeInitPortfolioInteractiveLinkShowcase()})})}(qode.modules.elementorInteractiveProjectList=t).qodeInitElementorInteractiveProjectList=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(r=>{var e={};function t(){var e;o(),n(),(e=r(".qode-interactive-project-list")).length&&e.each(function(){r(this).find(".qode-ipl-item").each(function(){var e=r(this).find(".qode-ipl-title:not(.qode-ipl-responsive-title)"),t=e.text();e.attr("data-title",t)})})}function o(){var e=r(".qode-interactive-project-list");e.length&&e.each(function(){var e=r(this),t=e.find(".qode-ipl-item"),o=e.find(".qode-ipl-right"),n=o.find(".qode-ipl-image"),i=0,a=0;n.each(function(){r(this).attr("img-index",i),r(this).data("img-index",i),i++}),t.each(function(){r(this).attr("data-index",a),r(this).data("data-index",a),a++}),t.each(function(){var e=r(this),t=e.find(".qode-ipl-title:not(.qode-ipl-responsive-title)"),o=e.find(".qode-pli-link");e.find(o).appendTo(t)}),t.on("mouseenter",function(){var e=r(this).data("data-index");n.css("opacity",0),o.find('.qode-ipl-image[img-index="'+e+'"]').css("opacity",1)}).on("mouseleave",function(){})})}function n(){var e=r(".qode-interactive-project-list");e.length&&e.each(function(){var t=r(this),o=t.find(".qode-ipl-right .qode-ipl-image"),n=t.find(".qode-ipl-left .qode-ipl-item");o.eq(0).addClass("qode-active"),n.eq(0).addClass("qode-active"),t.find('.qode-ipl-left .qode-ipl-item[data-index="0"]').addClass("qode-active"),n.children().on("touchstart mouseenter",function(){var e=r(this).parent(),e=parseInt(e.data("index"),10);o.removeClass("qode-active").eq(e).addClass("qode-active"),n.removeClass("qode-active"),t.find('.qode-ipl-left .qode-ipl-item[data-index="'+e+'"]').addClass("qode-active")})})}(qode.modules.interactiveProjectList=e).qodeInitInteractiveProjectList=o,e.qodeInitPortfolioInteractiveLinkShowcase=n,e.qodeOnDocumentReady=t,r(document).ready(t)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_intro_section.default",function(){qode.modules.introSection.qodeIntroSection()})})}(qode.modules.elementorIntroSection=t).qodeInitElementorIntroSection=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(s=>{var e={};function t(){o()}function o(){function e(){d.y=r.offset().top,d.h=r.outerHeight()}function t(){s(".qode-is-bg-wrapper").css({height:d.h+"px"})}var o,n,i,a,r=s(".qode-intro-section"),d={start:1.3,end:1.5};r.length&&((a=r).closest(".elementor-section").siblings().length&&a.closest(".elementor-section").siblings().css({position:"relative","z-index":10}),o=r,n=d,i=0,s(".qode-is-content-wrapper"),s(".qode-is-content"),s(".qode-is-subtitle"),s(".qode-is-title"),s(window).on("scroll",function(){n.downwards=i<=$scroll,i=$scroll,n.downwards;var e=o.outerHeight()/2.5,e=1-$scroll/e+1.7,t=o.find(".qode-is-title");t.attr("data-color"),t.attr("data-color-after-scroll"),o.find(".qode-is-subtitle"),t.attr("data-color"),t.attr("data-color-after-scroll"),o.find(".qode-is-content-btm"),t.attr("data-color"),t.attr("data-color-after-scroll"),e=(e=1{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_item_showcase.default",function(){qodeLazyImages(),initItemShowcase()})})}(qode.modules.elementorItemShowcase=t).qodeInitElementorItemShowcase=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_pricing_calculator.default",function(){qodeInitPricingCalculator()})})}(qode.modules.elementorPricingCalculator=t).qodeInitElementorPricingCalculator=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),jQuery(window).on("load",function(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_product_list.default",function(){qodeInitProductListMasonryShortcode()})})}),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_portfolio_list_stacked.default",function(){qode.modules.ptfListStacked.qodeInitPortfolioListStacked().init()})})}(qode.modules.elementorPortfolioListStacked=t).qodeInitElementorPortfolioListStacked=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(m=>{var e={};function t(){n().init()}function o(){n().resize()}function n(){function e(){var n=1;qode.windowWidth<=1440&&1024.1*e.find("img").height()&&h(),l.activeText.data("index")!==l.activeIndex&&f(),e.addClass("qode-active").data("move",Math.min(e.data("move")+l.deltaY,0)).css("transform","translate3d(0,"+Math.round(e.data("move")-.2*e.data("buffer"))+"px,0)").data("buffer",Math.abs(e.data("move")))}function n(){l.items.each(function(e){var t=m(this).find("img"),o=Math.round(l.tX*l.tilt*(e+1)),e=Math.round(l.tY*l.tilt*(e+1));t.css("transform","translateX("+o+"px) translateY("+e+"px)")})}function i(e){l.direction=-e.deltaY<0?"next":"prev",l.deltaY=-e.deltaY,3==Math.abs(l.deltaY)&&(l.deltaY=10*l.deltaY),requestAnimationFrame(o)}function a(e){l.tX=.5-e.screenX/qode.windowWidth,l.tY=.5-e.screenY/qode.windowHeight,requestAnimationFrame(n)}function r(e){l.data("y-start",parseInt(e.changedTouches[0].clientY))}function d(e){l.data("y-end",parseInt(e.changedTouches[0].clientY)),l.deltaY=l.data("y-end")-l.data("y-start"),l.direction=l.deltaY<0?"next":"prev",l.deltaY=Math.min(Math.max(l.deltaY,-20),100),requestAnimationFrame(o)}function s(e){l.on("mousemove",function(e){var t=e.clientX,o=e.clientY;requestAnimationFrame(function(){l.info.css({transform:"translate3d("+t+"px, "+o+"px, 0)"})})}),l.on("mousemove","img",function(e){var t=m(e.currentTarget).closest(l.items).data("index");l.info.data("active")!==t&&(e=l.textItems.filter(function(){return m(this).data("index")==t}).find(".qode-pls-title-holder").html(),l.info.data("active",t).addClass("qode-show"),l.info.find(".qode-pls-title-holder").html(e)),m(".qode-page-header").css("pointer-events","none")}),l.on("mouseleave","img",function(e){l.info.data("active",null).removeClass("qode-show"),m(".qode-page-header").css("pointer-events","auto")})}var l=m("#qode-portfolio-list-stacked"),c=(l.length&&(l.items=l.find(".qode-pls-item"),l.total=l.items.length,l.textItems=l.find(".qode-pls-text-item"),l.imgs=l.find("img"),l.info=m("#qode-pls-info"),l.endOfScrollVisible=!1,l.endOfScroll=l.find(".qode-pls-end-of-scroll"),l.activeIndex=0,l.activeText=l.textItems.first(),l.direction=null,l.deltaY=0,l.tilt=30,l.tX=0,l.tY=0,l.items.each(function(){m(this).data("move",0),m(this).data("buffer",0)})),function(e){return e.offset().top<=.97*-e.height()}),h=function(){l.endOfScrollVisible=!0,l.endOfScroll.addClass("qode-visible"),l.addClass("qode-eos")},u=function(){l.endOfScrollVisible=!1,l.endOfScroll.removeClass("qode-visible"),l.removeClass("qode-eos")},_=function(){return l.items.removeClass("qode-active"),l.items.filter(function(){return m(this).data("index")==l.activeIndex})},f=function(){l.textItems.removeClass("qode-active"),l.activeText=l.textItems.filter(function(){return m(this).data("index")==l.activeIndex}).addClass("qode-active")};return{init:function(){l.length&&(m("html").addClass("qode-overflow"),l.items.first().addClass("qode-active"),l.textItems.first().addClass("qode-active"),e(),t(),l.items.each(function(){var e=m(this);e.css({"z-index":l.total-e.data("index")})}),l.waitForImages(function(){l.addClass("qode-loaded"),Modernizr.touch||(document.body.addEventListener("wheel",i),document.body.addEventListener("mousemove",a),s()),Modernizr.touch&&(l[0].addEventListener("touchstart",r),l[0].addEventListener("touchmove",d))}))},resize:function(){l.length&&(t(),e())}}}(qode.modules.ptfListStacked=e).qodeOnWindowLoad=t,e.qodeOnWindowResize=o,e.qodeInitPortfolioListStacked=n,m(window).on("load",t),m(window).resize(o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_scrolling_image.default",function(){qodeScrollingImage()})})}(qode.modules.elementorScrollingImage=t).qodeInitElementorScrollingImage=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_sliding_image_holder.default",function(){qodeSlidingImageHolder()})})}(qode.modules.elementorSlidingImageHolder=t).qodeInitElementorSlidingImageHolder=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),(e=>{var t={};function o(){n()}function n(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_workflow.default",function(){qodeWorkflow()})})}(qode.modules.elementorWorkflow=t).qodeInitElementorWorkflow=n,t.qodeOnWindowLoad=o,e(window).on("load",o)})(jQuery),jQuery(document).ready(function(){});