var $scroll_direction,logo_height,content_menu_position,content_menu_top,src,next_image,prev_image,$top_header_height,paspartu_width_init,paspartu_width,skrollr_slider,stickyInfoTopOffset,stickyInfoHeight,sticky_animate,default_header_style,current_scroll,portfolio_width,$scrollHeight,$j=jQuery.noConflict(),common=(window.qode={},qode.modules={},{}),$scroll=(qode.modules.common=common,0),$scrollEnd=0,qode_body=$j("body"),qode_document=$j("document"),qode_htmlEl=$j("html"),$window_width=$j(window).width(),$window_height=$j(window).height(),menu_dropdown_height_set=!1,sticky_amount=0,content_menu_top_add=0,min_w=(void 0===paspartu_width_init&&(paspartu_width_init=.02),1500),video_width_original=1280,video_height_original=720,vid_ratio=1280/720;function headerSize(e){"use strict";$j("header.page_header").hasClass("scroll_top")&&$j("header.page_header").hasClass("has_top")&&$j("header.page_header").hasClass("fixed")&&(0<=e&&e<=33?($j("header.page_header").css("top",-e),$j("header.page_header").css("margin-top",0),$j(".header_top").show()):33=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) .logo_wrapper").css("height",header_height-e+$top_header_height+"px"),$j(".header_bottom .qode-login-register-widget.qode-user-not-logged-in .qode-login-opener").css({height:header_height-e+$top_header_height+"px","line-height":header_height-e+$top_header_height+"px"}),$j(".header_bottom .qode-login-register-widget.qode-user-logged-in .qode-logged-in-user .qode-logged-in-user-inner > span").css({height:header_height-e+$top_header_height+"px","line-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) .logo_wrapper").css("height",header_height+"px"),$j(".header_bottom .qode-login-register-widget.qode-user-not-logged-in .qode-login-opener").css({height:header_height+"px","line-height":header_height+"px"}),$j(".header_bottom .qode-login-register-widget.qode-user-logged-in .qode-logged-in-user .qode-logged-in-user-inner > span").css({height:header_height+"px","line-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) .logo_wrapper").css("height",min_header_height_scroll+"px"),$j(".header_bottom .qode-login-register-widget.qode-user-not-logged-in .qode-login-opener").css({height:min_header_height_scroll+"px","line-height":min_header_height_scroll+"px"}),$j(".header_bottom .qode-login-register-widget.qode-user-logged-in .qode-logged-in-user .qode-logged-in-user-inner > span").css({height:min_header_height_scroll+"px","line-height":min_header_height_scroll+"px"}),0=min_header_height_scroll&&logo_height>min_header_height_scroll&&$top_header_height<=e?$j(".q_logo a").height(header_height-e+$top_header_height):header_height-e+$top_header_height=min_header_height_scroll&&logo_height>min_header_height_scroll&&e<$top_header_height?$j(".q_logo a").height(header_height):header_height-e+$top_header_heightmin_header_height_scroll?$j(".q_logo a").height(min_header_height_scroll):(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))}function logoSizeOnSmallScreens(){"use strict";var e=$j(".page_header").outerHeight();0$j(window).height()&&1e3<$j(window).width()?a.find(".carousel-inner, .carousel-indicators, button").hide():a.find(".carousel-inner, .carousel-indicators, button").show()}),a.data("slide_animation")),d=(""===r&&(r=6e3),$j("div.item").length);function l(e,t){1===e?(a.find(".left.carousel-control .prev").html(t),a.find(".right.carousel-control .next").html(e+1)):e===t?(a.find(".left.carousel-control .prev").html(e-1),a.find(".right.carousel-control .next").html(1)):(a.find(".left.carousel-control .prev").html(e-1),a.find(".right.carousel-control .next").html(e+1))}function c(){a.find(".carousel-inner .item:first-child").addClass("active"),checkSliderForHeaderStyle($j(".carousel .active"),a.hasClass("header_effect")),a.hasClass("slider_thumbs")&&(l(1,d),a.find(".active").next("div").find(".image").length?(src=u.exec(a.find(".active").next("div").find(".image").attr("style")),(next_image=new Image).src=src[1]):((next_image=a.find(".active").next("div").find("> .video").clone()).find(".video-overlay").remove(),next_image.find(".video-wrap").width(170).height(95),next_image.find(".mejs-container").width(170).height(95),next_image.find("video").width(170).height(95)),a.find(".right.carousel-control .img").html(next_image).find("img, div.video").addClass("old"),a.find(".carousel-inner .item:last-child .image").length?(src=u.exec(a.find(".carousel-inner .item:last-child .image").attr("style")),(prev_image=new Image).src=src[1]):((prev_image=a.find(".carousel-inner .item:last-child > .video").clone()).find(".video-overlay").remove(),prev_image.find(".video-wrap").width(170).height(95),prev_image.find(".mejs-container").width(170).height(95),prev_image.find("video").width(170).height(95)),a.find(".left.carousel-control .img").html(prev_image).find("img, div.video").addClass("old")),a.hasClass("q_auto_start")?a.carousel({interval:r,pause:!1}):a.carousel({interval:0,pause:!1}),a.find(".item video").length&&initVideoBackgroundSize()}var h="";$j("html").hasClass("touch")?0 .video").clone()).find(".video-overlay").remove(),prev_image.find(".video-wrap").width(170).height(95),prev_image.find(".mejs-container").width(170).height(95),prev_image.find("video").width(170).height(95)):a.find(".carousel-inner .item:last-child .image").length?(src=u.exec(a.find(".carousel-inner .item:last-child .image").attr("style")),(prev_image=new Image).src=src[1]):((prev_image=a.find(".carousel-inner .item:last-child > .video").clone()).find(".video-overlay").remove(),prev_image.find(".video-wrap").width(170).height(95),prev_image.find(".mejs-container").width(170).height(95),prev_image.find("video").width(170).height(95)),a.find(".left.carousel-control .img .old").fadeOut(300,function(){$j(this).remove()}),a.find(".left.carousel-control .img").append(prev_image).find("img, div.video").fadeIn(300).addClass("old"),a.find(".active").next("div.item").length?a.find(".active").next("div").find(".image").length?(src=u.exec(a.find(".active").next("div").find(".image").attr("style")),(next_image=new Image).src=src[1]):((next_image=a.find(".active").next("div").find("> .video").clone()).find(".video-overlay").remove(),next_image.find(".video-wrap").width(170).height(95),next_image.find(".mejs-container").width(170).height(95),next_image.find("video").width(170).height(95)):a.find(".carousel-inner .item:first-child .image").length?(src=u.exec(a.find(".carousel-inner .item:first-child .image").attr("style")),(next_image=new Image).src=src[1]):((next_image=a.find(".carousel-inner .item:first-child > .video").clone()).find(".video-overlay").remove(),next_image.find(".video-wrap").width(170).height(95),next_image.find(".mejs-container").width(170).height(95),next_image.find("video").width(170).height(95)),a.find(".right.carousel-control .img .old").fadeOut(300,function(){$j(this).remove()}),a.find(".right.carousel-control .img").append(next_image).find("img, div.video").fadeIn(300).addClass("old"))}),a.swipe({swipeLeft:function(e,t,o,i,n){a.carousel("next")},swipeRight:function(e,t,o,i,n){a.carousel("prev")},threshold:20})}),"yes"===$j(".carousel").data("parallax"))&&$j(".no-touchevents .carousel").length&&(skrollr_slider=skrollr.init({edgeStrategy:"set",smoothScrolling:!0,forceHeight:!1})).refresh()}function checkSliderForHeaderStyle(e,t){"use strict";var o="";e.hasClass("light")&&(o="light"),""!==(o=e.hasClass("dark")?"dark":o)?(t&&($j("header.page_header").removeClass("dark light").addClass(o),$j("aside.vertical_menu_area").removeClass("dark light").addClass(o)),$j(".carousel .carousel-control, .carousel .carousel-indicators").removeClass("dark light").addClass(o)):(t&&""!==default_header_style&&($j("header.page_header").removeClass("dark light").addClass(default_header_style),$j("aside.vertical_menu_area").removeClass("dark light").addClass(default_header_style)),$j(".carousel .carousel-control, .carousel .carousel-indicators").removeClass("dark light").addClass(default_header_style))}function calculateHeights(){$j(".portfolio_slides").length&&$j(".portfolio_slides").each(function(){$j(this).parents(".caroufredsel_wrapper").css({height:$j(this).find("li.item").outerHeight()-3+"px"})}),$j(".qode_carousels .slides").length&&$j(".qode_carousels .slides").each(function(){$j(this).parents(".caroufredsel_wrapper").css({height:$j(this).find("li.item").outerHeight()+"px"})})}function initQodeCarousel(){"use strict";$j(".qode_carousels:not(.carousel_owl)").length&&($j(".qode_carousels:not(.carousel_owl)").each(function(){var e,t,o=1!==$j(this).parents(".grid_section").length&&1!==$j(this).parents(".qode_elementor_container_inner").length&&1===$j(this).parents(".page-template-full_width").length,i=void 0!==$j(this).data("number_of_items")?(e=$j(this).data("number_of_items"),!0):!(e=5),n=1===$j(this).parents(".grid_section").length||1===$j(this).parents(".qode_elementor_container_inner").length?216:380;if(o)switch(e){case 3:t=660;break;case 4:t=500;break;case 5:t=380;break;case 6:t=330;break;default:t=380}else switch(e){case 3:t=380;break;case 4:t=275;break;case 5:t=216;break;case 6:t=183;break;default:t=216}n=i?t:n,$j(this).find(".slides").carouFredSel({circular:!0,responsive:!0,scroll:{items:1,duration:1e3,pauseOnHover:!1},prev:{button:function(){return $j(this).parent().siblings(".caroufredsel-direction-nav").find(".qode_carousel_prev")}},next:{button:function(){return $j(this).parent().siblings(".caroufredsel-direction-nav").find(".qode_carousel_next")}},items:{width:n,visible:{min:1,max:e}},auto:!0,mousewheel:!1,swipe:{onMouse:!0,onTouch:!0}}).animate({opacity:1},1e3)}),calculateHeights())}function intCarouselOWLSlider(){"use strict";$j(".qode_carousels.carousel_owl").length&&$j(".qode_carousels.carousel_owl").each(function(){var e=!1,t=3,o=5e3,i=$j(this),n=(void 0!==$j(this).data("enable-navigation")&&"yes"===$j(this).data("enable-navigation")&&(e=!0),void 0!==i.data("number_of_items")&&!1!==i.data("number_of_items")&&(t=i.data("number_of_items")),void 0!==i.data("slider-speed")&&!1!==i.data("slider-speed")&&(o=i.data("slider-speed")),2),a=3,s=t,r=t,d=(t<3&&(a=n=t),4',''],responsive:{0:{items:1,stagePadding:0,center:!1,autoWidth:!1},681:{items:n,stagePadding:d},769:{items:a,stagePadding:l},1025:{items:s,stagePadding:l},1281:{items:r,stagePadding:c},1367:{items:t,stagePadding:c}}}).animate({opacity:1},600)})}function initPortfolioSlider(){"use strict";$j(".portfolio_slider").length&&($j(".portfolio_slider").each(function(){var e=1===$j(this).parents(".grid_section").length?3:"auto",t=1===$j(this).parents(".grid_section").length?353:500;void 0!==$j(this).data("columns-number")&&""!==$j(this).data("columns-number")&&(e=$j(this).data("columns-number")),$j(".portfolio_slides").carouFredSel({circular:!0,responsive:!0,scroll:1,prev:{button:function(){return $j(this).parent().siblings(".caroufredsel-direction-nav").find("#caroufredsel-prev")}},next:{button:function(){return $j(this).parent().siblings(".caroufredsel-direction-nav").find("#caroufredsel-next")}},items:{width:t,visible:{min:1,max:e}},auto:!1,mousewheel:!0,swipe:{onMouse:!0,onTouch:!0}}).animate({opacity:1},1e3)}),calculateHeights(),$j(".portfolio_slider .flex-direction-nav a").on("click",function(e){e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()}))}function initSideMenu(){"use strict";$j("body").hasClass("side_area_uncovered")&&$j(".side_menu_button_wrapper a.side_menu_button_link, a.close_side_menu, a.close_side_menu_fold").on("click",function(e){var t;e.preventDefault(),$j(".side_menu").css({right:"0"}),$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"),t=setTimeout(function(){$j(".side_menu").css({visibility:"hidden"}),clearTimeout(t)},400)):($j(".side_menu").css({visibility:"visible"}),$j(this).addClass("opened"),$j("body").addClass("right_side_menu_opened"),current_scroll=$j(window).scrollTop(),$j(window).scroll(function(){var e;400'),$j(".side_menu_button_wrapper a.side_menu_button_link, a.close_side_menu, a.close_side_menu_fold").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("side_area_uncovered_opened")):($j(this).addClass("opened"),$j("body").addClass("side_area_uncovered_opened"),$j(" .wrapper .cover").on("click",function(){$j(".side_menu_button_wrapper a.side_menu_button_link").removeClass("opened"),$j("body").removeClass("side_area_uncovered_opened"),$j(".side_menu_button_wrapper a").removeClass("opened")}),current_scroll=$j(window).scrollTop(),$j(window).scroll(function(){400 ul > li.narrow");r.each(function(e){var t,o=$j(window).width()-16;switch(!0){case qode_body.hasClass("qode_grid_1500"):t=1550;break;case qode_body.hasClass("qode_grid_1400"):t=1450;break;case qode_body.hasClass("qode_grid_1300"):t=1350;break;case qode_body.hasClass("qode_grid_1200"):t=1250;break;default:t=1150}var i,n=$j(r[e]).offset().left,a=$j(r[e]).find(".second .inner ul").width(),s=0,s=$j("body").hasClass("boxed")?t-(n-(o-t)/2)+24:o-n+24;0<$j(r[e]).find("li.sub").length&&(i=s-a),(s ul > li");a.each(function(e){var t,o,i,n;0<$j(a[e]).find(".second").length&&($j(a[e]).hasClass("wide")&&(t=$j(this).find(".inner > ul"),t=parseInt(t.css("padding-left").slice(0,-2))+parseInt(t.css("padding-right").slice(0,-2)),$j(this).hasClass("left_position")||$j(this).hasClass("right_position")||$j(this).find(".second").css("left",0),o=0,$j(this).find(".second > .inner > ul > li").each(function(){var e=$j(this).height();o .inner > ul > li").height(o),n=(4<$j(this).find(".second > .inner > ul > li").length?4:$j(this).find(".second > .inner > ul > li").length)*$j(this).find(".second > .inner > ul > li").outerWidth(),$j(this).find(".second > .inner > ul").width(n),i=0,$j(this).hasClass("wide_background")?$j(this).hasClass("left_position")||$j(this).hasClass("right_position")||(i=$j(this).find(".second").offset().left,$j(this).find(".second").css("left",-i),$j(this).find(".second").css("width",$j(window).width())):$j(this).hasClass("left_position")||$j(this).hasClass("right_position")||(i=($j(window).width()-2*($j(window).width()-$j(this).find(".second").offset().left))/2+(n+t)/2,$j(this).find(".second").css("left",-i))),menu_dropdown_height_set||($j(a[e]).data("original_height",$j(a[e]).find(".second").height()+"px"),$j(a[e]).find(".second").height(0)),navigator.userAgent.match(/(iPod|iPhone|iPad)/)?$j(a[e]).on("touchstart mouseenter",function(){$j(a[e]).find(".second").css({height:$j(a[e]).data("original_height"),overflow:"visible",visibility:"visible",opacity:"1"})}).on("mouseleave",function(){$j(a[e]).find(".second").css({height:"0px",overflow:"hidden",visivility:"hidden",opacity:"0"})}):$j(".drop_down.animate_height ").length?$j(a[e]).mouseenter(function(){$j(a[e]).find(".second").css({visibility:"visible",height:"0px",opacity:"0"}),$j(a[e]).find(".second").stop().animate({height:$j(a[e]).data("original_height"),opacity:1},300,function(){$j(a[e]).find(".second").css("overflow","visible")})}).mouseleave(function(){$j(a[e]).find(".second").stop().animate({height:"0px"},0,function(){$j(a[e]).find(".second").css({overflow:"hidden",visibility:"hidden"})})}):(n={interval:0,over:function(){setTimeout(function(){$j(a[e]).find(".second").addClass("drop_down_start"),$j(a[e]).find(".second").stop().css({height:$j(a[e]).data("original_height")})},150)},timeout:150,out:function(){$j(a[e]).find(".second").stop().css({height:"0px"}),$j(a[e]).find(".second").removeClass("drop_down_start")}},$j(a[e]).hoverIntent(n)))}),$j(".drop_down ul li.wide ul li a").on("click",function(){var e=$j(this);setTimeout(function(){e.mouseleave()},500)}),menu_dropdown_height_set=!0}function initVerticalMenuToggle(){"use strict";var o,i;$j(".no-touchevents .vertical_menu").hasClass("vm_click_event")?(o=$j(".no-touchevents .vertical_menu_toggle > ul > li > a"),i=$j(".no-touchevents .vertical_menu_toggle ul li ul li a"),o.each(function(e){$j(o[e]).parent().hasClass("has_sub")&&($j(o[e]).find(".inner > ul > li").length,$j(o[e]).on("click",function(e){return e.preventDefault(),$j(this).parent().hasClass("open")||$j(this).parent().hasClass("current-menu-ancestor")?($j(this).parent().removeClass("open"),$j(this).parent().find(".second").slideUp("fast",function(){$j(this).parent().removeClass("current-menu-ancestor"),$j(".vertical_menu_area.with_scroll").getNiceScroll().resize()})):($j(".no-touchevents .vertical_menu_toggle > ul > li").removeClass("open current-menu-ancestor"),$j(".no-touchevents .vertical_menu_toggle > 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}))}),i.each(function(e){$j(i[e]).parent().hasClass("menu-item-has-children")&&($j(i[e]).find("ul > li").length,$j(i[e]).on("click",function(e){return e.preventDefault(),$j(this).parent().hasClass("open")||$j(this).parent().hasClass("current_page_parent")?($j(this).parent().removeClass("open"),$j(this).parent().find("ul").slideUp("fast",function(){$j(this).parent().removeClass("current_page_parent"),$j(".vertical_menu_area.with_scroll").getNiceScroll().resize()})):($j(".no-touchevents .vertical_menu_toggle ul li ul li").removeClass("open current_page_parent"),$j(".no-touchevents .vertical_menu_toggle 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}))})):(o=$j(".no-touchevents .vertical_menu_toggle > ul > li"),i=$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}))}),i.each(function(e){var t;$j(i[e]).hasClass("menu-item-has-children")&&(t=$j(i[e]).find("ul > li").length,$j(i[e]).hoverIntent({over:function(){$j(i[e]).addClass("open"),$j(i[e]).find("ul").slideDown(40*t,"easeInOutSine",function(){$j(".vertical_menu_area.with_scroll").getNiceScroll().resize()})},out:function(){$j(i[e]).removeClass("open"),$j(i[e]).find("ul").slideUp(40*t,"easeInOutSine")},timeout:1e3}))}))}function initVerticalMobileMenu(){"use strict";$j(".touchevents .vertical_menu_toggle > ul > li.has_sub > a").on("tap click",function(e){e.stopPropagation(),e.preventDefault(),$j(this).next("div.second").is(":visible")?($j(this).parents(".touchevents .vertical_menu_toggle > ul > li.has_sub").removeClass("open"),$j(this).next("div.second").slideUp(200)):($j(this).parents(".touchevents .vertical_menu_toggle > ul > li.has_sub").addClass("open"),$j(this).next("div.second").slideDown(200))}),$j(".touchevents .vertical_menu_toggle ul li ul li.sub > a").on("tap click",function(e){e.stopPropagation(),e.preventDefault(),$j(this).next("ul").is(":visible")?($j(this).parents(".touchevents .vertical_menu_toggle ul li ul li").removeClass("open"),$j(this).next("ul").slideUp(200)):($j(this).parents(".touchevents .vertical_menu_toggle ul li ul li").addClass("open"),$j(this).next("ul").slideDown(200))})}function checkVerticalMenuTransparency(){"use strict";0!==$scroll?($j("body.vertical_menu_transparency").removeClass("vertical_menu_transparency_on"),$j("body.vertical_menu_transparency").addClass("vertical_menu_transparency_off")):($j("body.vertical_menu_transparency").addClass("vertical_menu_transparency_on"),$j("body.vertical_menu_transparency").removeClass("vertical_menu_transparency_off"))}function showHideVerticalMenu(){var t,o,i;$j(".vertical_menu_hidden").length&&(t=$j("aside.vertical_menu_area"),o=$j(".vertical_menu_area_bottom_logo"),i=!0,$j(".vertical_menu_hidden_button").on("click",function(e){e.preventDefault(),i?(i=!1,current_scroll=$j(window).scrollTop(),t.addClass("active"),o.addClass("active")):(i=!0,t.removeClass("active"),o.removeClass("active"))}),$j(window).scroll(function(){400article"+("*"!==t?t:"")})},550),setTimeout(function(){o.css("transition",""),n.css("transition","")},1100),$j(".filter").removeClass("current active"),$j(this).addClass("current active"),!1}),$j(this).find(".projects_holder")),e=void 0!==n.data("row-height")?n.data("row-height"):200,t=void 0!==n.data("spacing")?n.data("spacing"):0,o=void 0!==n.data("last-row")?n.data("last-row"):"nojustify",a=void 0!==n.data("justify-threshold")?n.data("justify-threshold"):.75;n.justifiedGallery({captions:!1,rowHeight:e,margins:t,border:0,lastRow:o,justifyThreshold:a,selector:"> article"}).on("jg.complete jg.rowflush",function(){var e,t;"hide"===o&&(t=(e=$j(this)).find("article:last-child")).length&&0===t.outerWidth()&&!e.hasClass("qode-justified-hide-height-set")&&(e.height($j(this).outerHeight()-t.outerHeight()),e.addClass("qode-justified-hide-height-set")),n.css("opacity","1"),$j(this).find("article").addClass("show").each(function(){$j(this).height(Math.round($j(this).height()))})})})}function initPortfolioMasonry(){"use strict";$j(".projects_masonry_holder, .masonry_with_space").length&&$j(".projects_masonry_holder, .masonry_with_space .projects_holder").each(function(){var e=jQuery(window),t=$j(this);t.hasClass("projects_masonry_holder_with_columns")||(t.animate({opacity:1}),$j(".projects_masonry_holder").length&&resizeMasonry(t),t.isotope({itemSelector:".portfolio_masonry_item, .masonry_with_space .mix",layoutMode:"masonry"}),t.hasClass("appear_from_bottom")&&t.find("article").each(function(e){$j(this).appear(function(){var e=$j(this);e.addClass("show"),setTimeout(function(){e.addClass("shown")},1e3)},{accX:0,accY:0})}),initPortfolioMasonryFilter(t),$j(".projects_masonry_holder").length&&(setPortfolioMasZIndex(),e.resize(function(){resizeMasonry(t),setPortfolioMasZIndex()})),setPortfolioParallax(t),$j(".parallax_section_holder").length&&initParallax())})}function resizeMasonry(e){"use strict";var t=jQuery(window),o=(portfolio_width=e.parent().innerWidth(),0),i=e.find("article").first(),i=(i.length&&(o=parseInt(i.css("padding-left"))),e.hasClass("masonry_extended")&&(portfolio_width+=2*o),e.width(portfolio_width),5),o=(1600l?$j(".load_more a").attr("href",a):$j(".load_more").remove(),$j(".projects_holder .portfolio_paging:last").remove(),r.show(),d.hide()})):($j(".projects_holder .filler").slice(-s).remove(),t=$j(i,e).wrapInner("").html(),a=$j(n,e).attr("href"),$j("body").hasClass("home")&&(a=o.slice(0,-2)+(parseInt(o.slice(-2))+1)+"/"),$j(i,e).waitForImages(function(){var e;$j("article.mix:last").after(t),$j(".masonry_with_space").length?$j(".masonry_with_space .projects_holder").isotope("reloadItems").isotope():(e=$j("article.mix:first").height(),$j("article.mix").css("min-height",e),$j(".projects_holder").mixitup("remix","all")),prettyPhoto(),$j(".load_more").attr("rel")>l?$j(".load_more a").attr("href",a):$j(".load_more").remove(),$j(".projects_holder .portfolio_paging:last").remove(),$j("article.mix").css("min-height",0),r.show(),d.hide(),setTimeout(function(){$j(".projects_holder article").css("visibility","visible"),$j("article:not(.show)").each(function(e){$j(this).addClass("show"),setTimeout(function(){$j(this).addClass("shown")},1e3)})},600)}))}),l++})}function prettyPhoto(){"use strict";$j("a[data-rel]").each(function(){$j(this).attr("rel",$j(this).data("rel"))}),$j("a[rel^='prettyPhoto']").prettyPhoto({animation_speed:"normal",slideshow:!1,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,horizontal_padding:0,default_width:960,default_height:540,counter_separator_label:"/",theme:"pp_default",hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,overlay_gallery:!1,keyboard_shortcuts:!0,deeplinking:!1,social_tools:!1})}function checkTitleToShowOrHide(){var e;$j(".title_outer.animate_title_area").length&&(e=$j(".title_outer").data("height"),$scroll>$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 cleanPortfolioMasXArray(e){for(var t=e.length,o=[],i={},n=0;n ul").is(":visible")?($j(".mobile_menu > ul").slideUp(200),$j(".page_header").removeClass("qode-mobile-menu-opened")):($j(".mobile_menu > ul").slideDown(200),$j(".page_header").addClass("qode-mobile-menu-opened"))}),$j(".mobile_menu > ul > li.has_sub > span.mobile_arrow, .mobile_menu > ul > li.has_sub > h3, .mobile_menu > ul > li.has_sub > 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 > 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(){"use strict";$j(".flexslider").each(function(){var e=8e3,t=!0,o=(0===(e=void 0!==$j(this).data("interval")&&!1!==$j(this).data("interval")?1e3*parseFloat($j(this).data("interval")):e)&&(t=!1),"slide");void 0!==$j(this).data("flex_fx")&&!1!==$j(this).data("flex_fx")&&(o=$j(this).data("flex_fx")),$j(this).flexslider({animationLoop:!0,controlNav:!1,useCSS:!1,pauseOnAction:!0,pauseOnHover:!0,slideshow:t,animation:o,prevText:"",nextText:"",animationSpeed:600,slideshowSpeed:e,start:function(){setTimeout(function(){$j(".flexslider").fitVids()},100)}}),$j(".flex-direction-nav a").on("click",function(e){e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()})})}function fitVideo(){"use strict";$j(".portfolio_images").fitVids(),$j(".video_holder").fitVids(),$j(".format-video .post_image").fitVids(),$j(".format-video .q_masonry_blog_post_image").fitVids(),$j(".portfolio_owl_slider").fitVids()}function initPortfolioSingleInfo(){"use strict";var e,t,o,i,n,a,s=$j(".portfolio_single_follow");0<$j(".portfolio_single_follow").length&&(e=s.offset(),$scrollHeight=$j(".portfolio_container").height(),t=$j(".portfolio_container").offset(),o=$j(window),i=parseInt($j("header.page_header").css("height"),10),n=$j(".header_top").length?$j(".header_top").height():0,a=$j("body").hasClass("paspartu_enabled")?$window_width*paspartu_width:0,o.scroll(function(){960e.top?$scroll+i+n+a+s.height()+24 ul > li").mouseleave(),$j(".touchevents .drop_down > ul > li").blur()}),$j(window).resize(function(){"use strict";$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(),stickyInfoPortfolioWidth(),600<$j(window).width()&&(stickyInfoHeight=$j(".portfolio_single_sticky").height(),stickyInfoPortfolio($scroll,stickyInfoTopOffset,stickyInfoHeight)),removeStickyInfoPortfolioClass(),intCarouselOWLSlider(),initMessageHeight(),initTestimonials(),initTwitterShortcode(),fitAudio(),initBlog(),initBlogMasonryFullWidth(),initPortfolioSingleMasonry(),initBlogChequered(),animatedTextIconHeight(),countAnimatedTextIconPerRow(),initVideoBackgroundSize(),setContentBottomMargin(),footerWidth(),setFooterHeight(),calculateHeights()}),function(r){"use strict";r.fn.countTo=function(n){n=r.extend({},r.fn.countTo.defaults,n||{});var a=Math.ceil(n.speed/n.refreshInterval),s=(n.to-n.from)/a;return r(this).each(function(){var e=this,t=0,o=n.from,i=setInterval(function(){o+=s,t++,r(e).html(o.toFixed(n.decimals)),"function"==typeof n.onUpdate&&n.onUpdate.call(e,o);a<=t&&(clearInterval(i),o=n.to,"function"==typeof n.onComplete)&&n.onComplete.call(e,o)},n.refreshInterval)})},r.fn.countTo.defaults={from:0,to:100,speed:1e3,refreshInterval:100,decimals:0,onUpdate:null,onComplete:null}}(jQuery),function(c){"use strict";var h=c(window);c.fn.masonryParallax=function(e,t,o){var i=c(this),n=0,a=i.offset().top,s=t?function(e){return e.outerHeight(!0)}:function(e){return e.height()},r=(0!==o&&(n=o),(arguments.length<1||null===e)&&(e=.1),(arguments.length<2||null===t)&&(t=!0),i.offset().top),d=s(i);function l(){r+d<$scroll||$scroll+$window_height",""]}).animate({opacity:1},600)}),a.length&&(t=$j(".qodef-portfolio-slider-content"),e=$j(".qodef-control.qodef-close"),o=$j(".qodef-description"),i=$j(".qodef-portfolio-slider-content-info"),t.on("click",function(e){t.hasClass("opened")||(e.preventDefault(),o.fadeOut(400,function(){t.addClass("opened"),setTimeout(function(){i.fadeIn(400)},400),setTimeout(function(){$j(".qodef-portfolio-slider-content-info").niceScroll({scrollspeed:60,mousescrollstep:40,cursorwidth:0,cursorborder:0,cursorborderradius:0,cursorcolor:"transparent",autohidemode:!1,horizrailenabled:!1})},800)}))}),e.on("click",function(e){e.preventDefault(),e.stopPropagation(),i.fadeOut(400,function(){t.removeClass("opened"),setTimeout(function(){o.fadeIn(400)},400)})})),$j(window).resize(function(){n()})}}};function intPortfolioOWLSlider(){"use strict";$j(".portfolio_owl_slider").each(function(){var e=500,t=160,o=120,i=0;$j(this).parent().hasClass("portfolio_fullwidth_slider_inverted")&&(t=e=406,o=200,i=36),$j(this).owlCarousel({items:1,center:!0,stagePadding:500,loop:!0,margin:i,nav:!0,video:!0,navText:["",""],responsive:{0:{stagePadding:60},600:{stagePadding:o},1e3:{stagePadding:t},1024:{stagePadding:e}}}).animate({opacity:1},600)})}function initTabs(){"use strict";var e,t;$j(".q_tabs").length&&($j(".q_tabs").appear(function(){$j(".q_tabs").css("visibility","visible")},{accX:0,accY:-100}),t=(e=$j(".tabs-nav")).children("li"),e.each(function(){var e=$j(this);e.next().children(".tab-content").stop(!0,!0).hide().first().show(),e.children("li").first().addClass("active").stop(!0,!0).show()}),t.on("click",function(e){var t=$j(this);t.siblings().removeClass("active").end().addClass("active"),t.parent().next().children(".tab-content").stop(!0,!0).hide().siblings(t.find("a").attr("href")).fadeIn(),e.preventDefault()}))}function initAccordion(){"use strict";$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"}),$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").on("mouseenter",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")),t=$j(this).data("border-radius");""!==t&&$j(this).find(".accordion_mark").css("border-radius",parseInt(t)+"px"),""!==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(){"use strict";$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(){"use strict";$j(".testimonials_carousel").length&&$j(".testimonials_carousel").each(function(){$j(this).appear(function(){$j(this).css("visibility","visible")},{accX:0,accY:-100});var e=5e3,t=!0,o=(0===(e=void 0!==$j(this).data("auto-rotate-slides")&&!1!==$j(this).data("auto-rotate-slides")?1e3*parseFloat($j(this).data("auto-rotate-slides")):e)&&(t=!1),"fade"),i=(void 0!==$j(this).data("animation-type")&&!1!==$j(this).data("animation-type")&&(o=$j(this).data("animation-type")),!0),n=(void 0!==$j(this).data("show-navigation")&&(i="no"!==$j(this).data("show-navigation")),!1),a=(void 0!==$j(this).data("show-navigation-arrows")&&(n="yes"===$j(this).data("show-navigation-arrows")),600);void 0!==$j(this).data("animation-speed")&&!1!==$j(this).data("animation-speed")&&(a=$j(this).data("animation-speed")),$j(this).flexslider({animationLoop:!0,controlNav:i,directionNav:n,useCSS:!1,pauseOnAction:!0,pauseOnHover:!1,slideshow:t,animation:o,itemMargin:25,minItems:1,maxItems:1,animationSpeed:a,slideshowSpeed:e,start:function(e){initParallax()}})})}function initMessages(){"use strict";$j(".q_message").length&&$j(".q_message").each(function(){$j(this).find(".close").on("click",function(e){e.preventDefault(),$j(this).parent().parent().fadeOut(500)})})}function initElementsAnimation(){"use strict";0<$j(".element_from_fade").length&&0===$j(".no_animation_on_touch").length&&$j(".element_from_fade").each(function(){var e=$j(this);e.appear(function(){e.addClass("element_from_fade_on")},{accX:0,accY:-100})}),0<$j(".element_from_left").length&&0===$j(".no_animation_on_touch").length&&$j(".element_from_left").each(function(){var e=$j(this);e.appear(function(){e.addClass("element_from_left_on")},{accX:0,accY:-100})}),0<$j(".element_from_right").length&&0===$j(".no_animation_on_touch").length&&$j(".element_from_right").each(function(){var e=$j(this);e.appear(function(){e.addClass("element_from_right_on")},{accX:0,accY:-100})}),0<$j(".element_from_top").length&&0===$j(".no_animation_on_touch").length&&$j(".element_from_top").each(function(){var e=$j(this);e.appear(function(){e.addClass("element_from_top_on")},{accX:0,accY:-100})}),0<$j(".element_from_bottom").length&&0===$j(".no_animation_on_touch").length&&$j(".element_from_bottom").each(function(){var e=$j(this);e.appear(function(){e.addClass("element_from_bottom_on")},{accX:0,accY:-100})}),0<$j(".element_transform").length&&0===$j(".no_animation_on_touch").length&&$j(".element_transform").each(function(){var e=$j(this);e.appear(function(){e.addClass("element_transform_on")},{accX:0,accY:-100})})}function fitAudio(){"use strict";var e=$j("audio.blog_audio");e.length&&e.each(function(){$j(this).mediaelementplayer({audioWidth:"100%"})})}function initBlog(){"use strict";var e,n,t,i,a,s;$j(".blog_holder.masonry").length&&(e=$j(this).closest(".container_inner").width(),$j(".blog_holder.masonry").closest(".column_inner").length&&(e=$j(".blog_holder.masonry").closest(".column_inner").width()),$j(".blog_holder.masonry").width(e),n=$j(".blog_holder.masonry"),t=3,n.width()<420?t=1:n.width()<=805&&(t=2),n.isotope({itemSelector:"article",resizable:!1,masonry:{columnWidth:$j(".blog_holder.masonry").width()/t}}),$j(".filter").on("click",function(){var e=$j(this).attr("data-filter");return n.isotope({filter:e}),!1}),i=$j(".qode-infinite-scroll-loading-label"),a=$j(".qode-infinite-scroll-finished-label"),n.hasClass("masonry_infinite_scroll")?(n.infiniteScroll({path:".blog_infinite_scroll_button a",append:".post",history:!1}),n.on("request.infiniteScroll",function(e,t){i.fadeIn("fast")}),n.on("load.infiniteScroll",function(e,t,o){i.fadeOut("fast")}),n.on("append.infiniteScroll",function(e,t,o,i){n.isotope("appended",i),fitVideo(),fitAudio(),initFlexSlider(),setTimeout(function(){$j(".blog_holder.masonry, .blog_holder.blog_pinterest").isotope("layout")},400)}),n.on("last.infiniteScroll",function(e,t,o){a.fadeIn("fast")})):n.hasClass("masonry_load_more")&&(s=1,$j(".blog_load_more_button a").on("click",function(e){e.preventDefault();var o,e=$j(this).attr("href"),i=".blog_load_more_button a";$j(i).attr("href");$j.get(e+"",function(e){var t=$j(".masonry_load_more",e).wrapInner("").html();o=$j(i,e).attr("href"),n.append($j(t)).isotope("reloadItems").isotope({sortBy:"original-order"}),fitVideo(),fitAudio(),initFlexSlider(),setTimeout(function(){$j(".blog_holder.masonry").isotope("layout")},400),$j(".blog_load_more_button span").attr("rel")>s?$j(".blog_load_more_button a").attr("href",o):$j(".blog_load_more_button").remove(),setTimeout(function(){$j("article:not(.show)").each(function(e){$j(this).addClass("show")})},1e3)}),s++})),$j(window).resize(function(){t=n.width()<420?1:n.width()<=785?2:3}),$j(".blog_appear_from_bottom").length&&$j(".blog_holder").find("article").each(function(e){$j(this).appear(function(){$j(this).addClass("show")},{accX:0,accY:-70})}),$j(".blog_holder.masonry, .blog_load_more_button_holder").animate({opacity:"1"},400,function(){$j(".blog_holder.masonry").isotope("layout")}))}function initBlogMasonryFullWidth(){"use strict";var e,n,t,i,a,s;$j(".masonry_full_width").length&&(e=$j(".full_width_inner").width(),$j(".masonry_full_width").width(e),n=$j(".masonry_full_width"),$j(".masonry_full_width").hasClass("pinterest_full_width")?(t=4,n.width()<480?t=1:n.width()<=950?t=2:n.width()<=1320&&(t=3)):(t=5,n.width()<480?t=1:n.width()<=703?t=2:n.width()<=920?t=3:n.width()<=1320&&(t=4)),$j(".filter").on("click",function(){var e=$j(this).attr("data-filter");return n.isotope({filter:e}),!1}),i=$j(".qode-infinite-scroll-loading-label"),a=$j(".qode-infinite-scroll-finished-label"),n.hasClass("masonry_infinite_scroll")?(n.infiniteScroll({path:".blog_infinite_scroll_button a",append:".post",history:!1}),n.on("request.infiniteScroll",function(e,t){i.fadeIn("fast")}),n.on("load.infiniteScroll",function(e,t,o){i.fadeOut("fast")}),n.on("append.infiniteScroll",function(e,t,o,i){n.isotope("appended",i),fitVideo(),fitAudio(),initFlexSlider(),setTimeout(function(){$j(".blog_holder.masonry, .blog_holder.blog_pinterest").isotope("layout")},400)}),n.on("last.infiniteScroll",function(e,t,o){a.fadeIn("fast")})):n.hasClass("masonry_load_more")&&(s=1,$j(".blog_load_more_button a").on("click",function(e){e.preventDefault();var o,e=$j(this).attr("href"),i=".blog_load_more_button a";$j(i).attr("href");$j.get(e+"",function(e){var t=$j(".masonry_load_more",e).wrapInner("").html();o=$j(i,e).attr("href"),n.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")>s?$j(".blog_load_more_button a").attr("href",o):$j(".blog_load_more_button").remove(),setTimeout(function(){$j("article:not(.show)").each(function(e){$j(this).addClass("show")})},1e3)}),s++})),n.isotope({itemSelector:"article",resizable:!1,masonry:{columnWidth:$j(".masonry_full_width").width()/t}}),$j(window).resize(function(){t=n.width()<480?1:n.width()<=703?2:n.width()<=920?3:n.width()<=1320?4:5}),$j(".blog_appear_from_bottom").length&&$j(".blog_holder").find("article").each(function(e){$j(this).appear(function(){$j(this).addClass("show")},{accX:0,accY:-70})}),$j(".masonry_full_width, .blog_load_more_button_holder").animate({opacity:"1"},400,function(){$j(".blog_holder.masonry_full_width").isotope("layout")}))}function initBlogChequered(){"use strict";var e=$j(".blog_holder.blog_chequered"),t=-1;e.length&&((e=e.find("article")).each(function(){t=t>$j(this).find(".qodef-post-content-inner").outerHeight()?t:$j(this).find(".qodef-post-content-inner").outerHeight()}),e.each(function(){$j(this).find(".qodef-post-content").height(t),$j(this).css("opacity","1")}))}function initPortfolioSingleMasonry(){"use strict";var e,t,o;$j(".portfolio_single.masonry-gallery").length&&(e=$j(".portfolio_single.masonry-gallery").width(),$j(".portfolio_single .portfolio_masonry_gallery").width(e),t=$j(".portfolio_single .portfolio_masonry_gallery"),o=4,t.width()<420?o=1:t.width()<=805&&(o=3),t.isotope({itemSelector:".mix",resizable:!1,masonry:{columnWidth:$j(".portfolio_single .portfolio_masonry_gallery").width()/o}}),$j(".portfolio_single .portfolio_masonry_gallery").css("opacity","1"),$j(window).resize(function(){o=t.width()<=420?1:t.width()<=785?3:4}))}var timeOuts=[];function initProgressBarsIcon(){"use strict";$j(".q_progress_bars_icons_holder").length&&$j(".q_progress_bars_icons_holder").each(function(){var e=$j(this);e.appear(function(){e.find(".q_progress_bars_icons").css("opacity","1"),e.find(".q_progress_bars_icons").each(function(){var t=$j(this).find(".q_progress_bars_icons_inner").data("number"),e=$j(this).find(".q_progress_bars_icons_inner").data("size"),o=(""!==e&&($j(this).find(".q_progress_bars_icons_inner.custom_size .bar").css({width:e+"px",height:e+"px"}),$j(this).find(".q_progress_bars_icons_inner.custom_size .bar .fa-stack").css({"font-size":e/2+"px"})),$j(this).find(".bar"));o.each(function(e){e$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(){"use strict";$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 initProgressBarsVertical(){"use strict";$j(".q_progress_bars_vertical").length&&$j(".q_progress_bars_vertical").each(function(){$j(this).appear(function(){initToCounterVerticalProgressBar($j(this));var e=$j(this).find(".progress_content").data("percentage");$j(this).find(".progress_content").css("height","0%"),$j(this).find(".progress_content").animate({height:e+"%"},1500)},{accX:0,accY:-150})})}function initToCounterVerticalProgressBar(e){"use strict";e.find(".progress_number span").length&&e.find(".progress_number span").each(function(){var e=parseFloat($j(this).text());$j(this).countTo({from:0,to:e,speed:1500,refreshInterval:50})})}function checkAnchorOnLoad(){"use strict";var e,t=window.location.hash,o=$j("body").hasClass("paspartu_enabled")?$window_width*paspartu_width:0;""!==t&&0<$j('[data-q_id="'+t+'"]').length&&(e=$j("header.page_header").hasClass("fixed")&&!$j("body").hasClass("vertical_menu_enabled")?(e=$j("header.page_header").hasClass("scroll_top")?33:0,!$j("header.page_header").hasClass("transparent")||$j("header.page_header").hasClass("scrolled_not_transparent")?header_height-($j('[data-q_id="'+t+'"]').offset().top+e)/4>=min_header_height_scroll?(e=$j('[data-q_id="'+t+'"]').offset().top-header_height-o)+e/4+e/16+e/64+1:$j("header.page_header").hasClass("centered_logo")?$j('[data-q_id="'+t+'"]').offset().top-min_header_height_scroll-logo_height-20-o:$j('[data-q_id="'+t+'"]').offset().top-min_header_height_scroll-o:$j('[data-q_id="'+t+'"]').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="'+t+'"]').offset().top-(header_height+logo_height/2+40)<=scroll_amount_for_fixed_hiding?$j('[data-q_id="'+t+'"]').offset().top-header_height-logo_height/2-40-o:$j('[data-q_id="'+t+'"]').offset().top-min_header_height_fixed_hidden-40-o:$j('[data-q_id="'+t+'"]').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="'+t+'"]').offset().top?$j('[data-q_id="'+t+'"]').offset().top+1-o:$j('[data-q_id="'+t+'"]').offset().top-min_header_height_sticky-o:$j('[data-q_id="'+t+'"]').offset().top-o,$j("html, body").animate({scrollTop:Math.round(e)},700,"easeInOutQuint",function(){})),$j(".main_menu a, .vertical_menu a, .mobile_menu a, nav.popup_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"),$j(this).removeClass("current"))})}function changeActiveState(e){"use strict";$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(){"use strict";$j("[data-q_id]").length&&!$j("header.page_header").hasClass("regular")&&($j("[data-q_id]").waypoint(function(e){"down"===e&&changeActiveState($j(this).data("q_id"))},{offset:"50%"}),$j("[data-q_id]").waypoint(function(e){"up"===e&&changeActiveState($j(this).data("q_id"))},{offset:function(){return-($j(this).outerHeight()-150)}}))}function initHashClick(){"use strict";var i,n=$j("html, body"),a=$j("body").hasClass("paspartu_enabled")?$window_width*paspartu_width:0;$j(document).on("click",".main_menu a, .vertical_menu a, .qbutton:not(.contact_form_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 i=$j("header.page_header").hasClass("fixed")&&!$j("body").hasClass("vertical_menu_enabled")?(e=$j("header.page_header").hasClass("scroll_top")?33: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-20-a:$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_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?0!==$j('[data-q_id="'+o+'"]').offset().top?$j('[data-q_id="'+o+'"]').offset().top+1-a:$j('[data-q_id="'+o+'"]').offset().top-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&&n.stop().animate({scrollTop:Math.round(i)},700,"easeInOutQuint",function(){anchorActiveState(t)}),history.pushState&&history.pushState(null,null,o),!1}),$j(document).on("click",".mobile_menu a, nav.popup_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&&n.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 animatedTextIconHeight(){"use strict";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(){"use strict";$j(".animated_icons_with_text").length&&$j(".animated_icons_with_text").each(function(){var e,t=$j(this),o=(t.height(),t.width()),i=t.find(".animated_icon_with_text_holder").width()+1,n=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/i)),i=n-o*Math.floor(n/o),o=(0===i&&(i=o),t.find(".animated_icon_with_text_holder").removeClass("border-bottom-none"),n-i-1);t.find(".animated_icon_with_text_holder:gt("+o+")").addClass("border-bottom-none")})}function anchorActiveState(e){0 div").innerHeight(),$j(".footer_top .qode_column").css("min-height",0).css("min-height",$j(".footer_top > div").innerHeight()))}function initCoverBoxes(){$j(".cover_boxes").length&&$j(".cover_boxes").each(function(){var e=0,t=1,e=(void 0!==$j(this).data("active-element")&&!1!==$j(this).data("active-element")&&(e=(t=parseFloat($j(this).data("active-element")))-1),3")).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"),i=$j("
  • "),o=$j("",{class:o}),e=$j("",{href:e,html:""+t+""}),t=$j("
    ",""!==n?{class:"arrow",style:"border-color: "+n+" transparent transparent transparent"}:{class:"arrow"});o.prependTo(e),e.appendTo(i),t.appendTo(i),i.appendTo(a)})})}function createSelectContentMenu(){"use strict";$j(".content_menu").each(function(){var o=$j(this),n=$j("
      ");n.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(),i=(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(i),i.appendTo(n)}),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+"']").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(){"use strict";var e;$j("nav.content_menu").length&&(e=0,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(){"use strict";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-72,e<$scroll&&$j("nav.content_menu.fixed li").removeClass("active"),$scroll 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.has_sub > ul.sub_menu > li.has_sub > a, .popup_menu > ul > li.has_sub > ul.sub_menu > li.has_sub > h6").on("click",function(){$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(".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()}),qodeEnableScroll()}))}function initImageGallerySliderNoSpace(){"use strict";$j(".qode_image_gallery_no_space").length&&($j(".qode_image_gallery_no_space").each(function(){$j(this).animate({opacity:1},1e3),$j(this).find(".qode_image_gallery_holder").lemmonSlider({infinite:!0})}),$j(".qode_image_gallery_no_space").hasClass("link_all")||$j(".qode_image_gallery_no_space").on("click","li:not(.active) a",function(){return!(800 .full_screen_section").length,e=!1,void 0!==$j(".full_screen_holder").data("enable-bullets")&&""!==$j(".full_screen_holder").data("enable-bullets")&&"yes"==$j(".full_screen_holder").data("enable-bullets")&&(e=!0),t=!1,$j(".full_screen_inner").fullpage({sectionSelector:".full_screen_section",slideSelector:".full_screen_section_slide",scrollOverflow:!0,navigation:e,navigationPosition:"right",afterLoad:function(e,t){checkActiveArrowsOnFullScrrenTemplate(o,t)},afterRender:function(){checkActiveArrowsOnFullScrrenTemplate(o,1),$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()})}}),t="undefined"!=typeof elementorFrontend?Boolean(elementorFrontend.isEditMode()):t)&&(checkActiveArrowsOnFullScrrenTemplate(o,1),$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){"use strict";1===t?($j(".full_screen_navigation_holder.up_arrow").hide(),$j(".full_screen_navigation_holder.down_arrow").hide(),t!==e&&$j(".full_screen_navigation_holder.down_arrow").show()):t===e?($j(".full_screen_navigation_holder.down_arrow").hide(),2===e&&$j(".full_screen_navigation_holder.up_arrow").show()):($j(".full_screen_navigation_holder.up_arrow").show(),$j(".full_screen_navigation_holder.down_arrow").show())}function alterWPMLSwitcherHeaderBottom(){"use strict";var e;$j(".header_bottom li.menu-item-language").length&&void 0!==(e=$j(".header_bottom .menu-item-language").find(".submenu-languages"))&&(e.parent("li").addClass("narrow"),e.wrap('
      '),e.show())}function initTwitterShortcode(){"use strict";$j(".qode_twitter_shortcode").length&&$j(".qode_twitter_shortcode").each(function(){$j(this).appear(function(){$j(this).css("visibility","visible")},{accX:0,accY:-100});var e=5e3,t=!0,o=(0===(e=void 0!==$j(this).data("auto-rotate-slides")&&!1!==$j(this).data("auto-rotate-slides")?1e3*parseFloat($j(this).data("auto-rotate-slides")):e)&&(t=!1),"fade"),i=(void 0!==$j(this).data("animation-type")&&!1!==$j(this).data("animation-type")&&(o=$j(this).data("animation-type")),!0),n=(void 0!==$j(this).data("show-navigation")&&(i="no"!==$j(this).data("show-navigation")),!0),a=(void 0!==$j(this).data("show-arrows")&&(n="no"!==$j(this).data("show-arrows")),600);void 0!==$j(this).data("animation-speed")&&!1!==$j(this).data("animation-speed")&&(a=$j(this).data("animation-speed")),$j(this).flexslider({animationLoop:!0,controlNav:i,directionNav:n,prevText:"",nextText:"",useCSS:!1,pauseOnAction:!0,pauseOnHover:!1,slideshow:t,animation:o,itemMargin:25,minItems:1,maxItems:1,animationSpeed:a,slideshowSpeed:e,start:function(e){initParallax()}})})}var headerOffset=0;function stickyInfoPortfolio(e,t,o){"use strict";var i,n;$j(".portfolio_single_sticky").length&&($j(".portfolio_single.fixed-left").length&&(n=$j(".portfolio_single_sticky").parent().innerWidth()),$j("header.page_header").hasClass("regular")||$j(window).width()<=1e3?headerOffset=0:$j("header.page_header").hasClass("fixed_top_header")?headerOffset=$j("header.page_header .top_header").height():($j("header.page_header").hasClass("stick")||$j("header.page_header").hasClass("stick_with_left_right_menu"))&&t',''],responsive:{0:{items:1,margin:l=h||0

      '+i+"

      "}),e.geocode({address:i},function(e,t){var o;t===google.maps.GeocoderStatus.OK&&(a.setCenter(e[0].geometry.location),o=new google.maps.Marker({map:a,position:e[0].geometry.location,icon:n,title:i.store_title}),google.maps.event.addListener(o,"click",function(){s.open(a,o)}),google.maps.event.addDomListener(window,"resize",function(){a.setCenter(e[0].geometry.location)}))}))}function qodeInitClosedSideAreaMenuWidget(){var e=$j(".side_menu");e.length&&e.find(".widget_nav_menu").each(function(){var i=$j(this).find(".menu-item");i.each(function(){var o=$j(this);o.hasClass("menu-item-has-children")&&o.children("a").on("click",function(e){var t=$j(this);t.hasClass("qode-item-with-link")||(e.preventDefault(),e.stopPropagation(),o.hasClass("qode-sub-menu-opened")?(o.children(".sub-menu").slideUp(),o.removeClass("qode-sub-menu-opened")):(o.parents(".menu-item").hasClass("qode-sub-menu-opened")||(i.removeClass("qode-sub-menu-opened").children(".sub-menu").slideUp(),i.children("a").removeClass("qode-item-with-link")),o.children(".sub-menu").slideDown(),o.addClass("qode-sub-menu-opened"),"http://#"!==t.attr("href")&&"#"!==t.attr("href")&&t.addClass("qode-item-with-link")))})})})}function qodeParallaxHolder(){$j(".qode-parallax-holder").length&&!qode_htmlEl.hasClass("touch")&&ParallaxScroll.init()}function qodeRowAnimateBackground(){"use strict";$j(".qode-animate-background").length&&$j(".qode-animate-background").each(function(){var o=$j(this);o.hasClass("animate")||""===o.css("background-image")||"none"===o.css("background-image")||o.appear(function(){var e,t=o.attr("style");(t=(t=t.match(/url\(["']?([^'")]+)['"]?\)/))?t[1]:"")&&((e=new Image).src=t,$j(e).on("load",function(){o.addClass("animate")}))},{accX:0,accY:-$window_height/2})})}function qodeInitSendContactForm(){"use strict";var e=$j(".qode-contact-form-contact-template form");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:"stockholm_core_send_contact_page_form",form_data:o.serialize(),contact_page_nonce:o.find("#stockholm_core_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 stockholmdQodeRecaptchaCallback(){"use strict";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=$j(this),t=e.find(".qode-workflow-item"),o=t.length,i=e.find(".main-line");o&&!e.hasClass("qode-workflow-animate")&&i.css({height:100-100/o+"%"}),e.hasClass("qode-workflow-animate")&&e.appear(function(){e.addClass("qode-appeared"),i.css({height:100-100/o+"%"}),setTimeout(function(){t.each(function(e){var t=$j(this);setTimeout(function(){t.addClass("qode-appeared")},350*e)})},350)},{accX:0,accY:-$window_height/3})})}function qodefElementInView(e){function t(){$scroll>e.offset().top-.5*$window_height&&$scroll form");if(e.length&&e.each(function(){var t=$j(this);t.find(".wpcf7-submit").off().on("click",function(e){e.preventDefault(),wpcf7.submit(t)})}),$j("body").hasClass("vss_responsive_adv")){for(var t=$j("
      "),o=($j(".vertical_split_slider").after(t),$j(".vertical_split_slider .ms-left > div")),i=$j(".vertical_split_slider .ms-right > div"),n=0;ne.offset().left||e.offset().left<=0)&&e.not(".qodef-appeared").addClass("qodef--appeared")}),250<$scroll?$.addClass("qodef-hidden"):$.removeClass("qodef-hidden")}function i(){var e,t,o=document.querySelector(".qodef-hli-btm-img-1"),i=h.find(".qodef-m-video");null!==o&&i.length&&(e=o.getBoundingClientRect().width,t=o.getBoundingClientRect().height,i.each(function(){M(this).css({width:e+"px",height:t+"px"})}))}function e(){var e;qode_htmlEl.addClass("qodef-with-horizontal-layout-html"),qode_body.addClass("qodef-with-horizontal-layout"),i(),M(window).resize(function(){i()}),1024t&&(n=Math.abs($scroll+window.innerWidth-i)/window.innerWidth)<1&&e.css("transform",a+"("+(d+(1-+n)*Math.abs(1-r))+s+")")})})},200),M(window).scroll(function(){o()})):m.each(function(){var e=M(this);e.appear(function(){e.addClass("qodef--appeared ")},{accX:0,accY:-50})})}var n,a,s,r,d,l,c=M(".qodef-hl-items-wrapper"),h=M("#qodef-horizontal-layout"),u=M(".qodef-hl-item"),_=M("#qodef-hl-scroll-area"),f=(M(".qodef-hli-top"),M(".qodef-hli-mid")),p=(M(".qodef-hli-btm"),M(".qodef-hl-intro")),m=(M(".qodef-hl-cta"),M(".qodef--has-horizontal-appear")),g=M(".qodef-hli-btm-bg-image-inner img"),$=M(".qodef-hl-scroll-text"),j=u.length,w=0,v=!1,y=0,b=0,C=function(){a=M(".qodef-header--vertical-sliding #qodef-page-header").length&&1024w&&(w=M(this).outerHeight(!0))})},k=function(){y=1-$scroll/(parseFloat(_.height())-screen.height)},x=function(){u.each(function(e){M(this).css("right",(j-e-1)*s)}),p.css("right",j*s)},S=function(){v=!0,u.css("transform","translate3d(0, 0, 0)"),u.not(":first-child").width(s),p.css("transform","translate3d(0, 0, 0)"),p.width(n)},I=function(){var e=u.not(":first-child").filter(function(){var e=M(this);return e.offset().left<=r&&0=o-r.parent().width()-parseInt(r.find("article:last-child").css("margin-right"))&&c(-o+r.parent().width()+parseInt(r.find("article:last-child").css("margin-right")))})):(u=(h=document.querySelector(".qode-hspl-inner")).getBoundingClientRect().width,f=_=0,p=2*parseInt(g.parent().css("paddingLeft"))-parseInt(window.getComputedStyle(h.querySelector("article:last-child")).marginRight),qode_htmlEl.add(qode_body).addClass("qode-overflow-hidden"),window.addEventListener("resize",function(){p=2*parseInt(g.parent().css("paddingLeft"))-parseInt(window.getComputedStyle(h.querySelector("article:last-child")).marginRight),u=h.getBoundingClientRect().width}),VirtualScroll.on(function(e){_+=e.deltaY,_=Math.max(-1*(u-window.innerWidth+p),_),_=Math.min(0,_)}),(m=function(){requestAnimationFrame(m),t=_,e=f,Math.abs(t-e)<5?(qode_body.addClass("qode-slider-is-idle"),qode_body.removeClass("qode-slider-is-moving")):(qode_body.addClass("qode-slider-is-moving"),qode_body.removeClass("qode-slider-is-idle")),t=f,i.length&&(e=i.find(".qode-hspl-custom-content"),(t=Math.abs(t))<=(o=2*i.outerWidth()/3)?e.css("opacity",1-t/o):e.css("opacity",0));var e,t="translate3d("+(f+=.08*(_-f))+"px, 0px, 0px)",o=h.style;o.transform=t,o.webkitTransform=t,o.mozTransform=t,o.msTransform=t})()))}(qode.modules.horizontalyScrollingPortfolioList=e).qodeOnDocumentReady=t,$(document).ready(t),$(window).on("load",void $j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/qode_horizontaly_scrolling_portfolio_list.default",function(){o()})}))}(jQuery),function(l){"use strict";var e={};function t(){o()}function o(){var e=l(".qode-image-marquee");e.length&&e.each(function(){var s=l(this),e=s.find(".qode-image"),r=e.filter(".qode-original"),d=e.filter(".qode-aux");s.waitForImages(function(){var a;a=r.width(),d.css("width",a),d.css("left",a),e.each(function(e){var t,o=l(this),i=0,n=function(){--i,o.position().left<=-a&&(o.css("left",parseInt(a-1)),i=0),o.css("transform","translate3d("+.8*i+"px,0,0)"),t=requestAnimationFrame(n)};t=requestAnimationFrame(n),window.addEventListener("orientationchange",function(){a=r.width(),i=0,r.css("left",0),d.css("width",a),d.css("left",a)}),qode_body.on("touchstart",function(e){l.contains(s.get(0),e.target)||t&&(cancelAnimationFrame(t),t=null,setTimeout(function(){t=requestAnimationFrame(n)},300))})})})})}function i(){l(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/qode_image_marquee.default",function(){o()})})}(qode.modules.imageMarquee=e).qodeInitImageMarquee=o,e.qodeElementorInitImageMarquee=i,e.qodeOnDocumentReady=t,l(document).ready(t),l(window).on("load",void i())}(jQuery),function(e){"use strict";var t={};function o(){i()}function i(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/image_with_overlapping_info.default",function(){qodeInitImageWithOverlappingInfo()})})}(qode.modules.elementorImageWithOverlappingInfo=t).qodeInitElementorImageWithOverlappingInfo=i,t.qodeOnWindowLoad=o,e(window).on("load",o())}(jQuery),function(n){"use strict";var e={};function t(){i()}function o(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/qode_interactive_links.default",function(){i()})})}function i(){var e=n(".qode-interactive-links");e.length&&e.each(function(){var e=n(this),o=e.find(".qode-il-link"),i=e.find(".qode-il-image");o.length&&(o.eq(0).addClass("qode-active"),i.eq(0).addClass("qode-active"),o.each(function(){var t=n(this);t.on("mouseenter",function(){var e;t.hasClass("qode-active")||(e=t.data("index"),i.removeClass("qode-active"),o.removeClass("qode-active"),t.addClass("qode-active"),i.eq(e).addClass("qode-active"))})}))})}(qode.modules.interactiveLinks=e).qodeInteractiveLinks=i,e.qodeOnDocumentReady=t,e.qodeOnWindowLoad=o,n(document).ready(t),n(window).on("load",o())}(jQuery),function(e){"use strict";var t={};function o(){i()}function i(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/qode_parallax_holder.default",function(){qodeParallaxHolder()})})}(qode.modules.elementorParallaxHolder=t).qodeInitElementorParallaxHolder=i,t.qodeOnWindowLoad=o,e(window).on("load",o())}(jQuery),function(e){"use strict";var t={};function o(){i()}function i(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/portfolio_list.default",function(){initPortfolio(),initPortfolioZIndex(),initPortfolioJustifiedGallery(),initPortfolioMasonry(),qodefInitGridMasonryListLayout(),qodefInitPortfolioSplitScroll(),setPortfolioMasZIndex(),qodefInitPortfolioSplitScroll(),loadMore(),$j(".portfolio_justified_gallery").length&&$j(".portfolio_justified_gallery").css("opacity","1")})})}(qode.modules.elementorPortfolioList=t).qodeInitElementorPortfolioList=i,t.qodeOnWindowLoad=o,e(window).on("load",o())}(jQuery),function(g){"use strict";var e={};function t(){o()}function o(){var t,e,o,i,n,a,s,r,d,l,c,h,u,_,f,p,m=g(".qode-portfolio-list-horizontal-holder");m.length&&768<=$window_width&&(t=m.find(".qode-plh-inner"),e=m.find(".qode-plh-item"),o=0,i=395,n=function(){i=$window_width<=1440&&1280<$window_width?$window_height<=645?200:260:$window_width<=1280&&1024<$window_width?220:$window_width<=1024&&768<$window_width?250:768==$window_width?320:395,o=0,e.each(function(){var e=g(this),t=e.hasClass("qode-plh-featured")?1.23*i:i;o+=t,e.width(t)}),t.width(o)},(a=function(){var e=$window_height;t.css({height:e})})(),n(),qode_body.hasClass("eltdf-smooth-page-transitions-preloader")?g(document).on("eltdfLoaderRemoved",function(){t.addClass("eltdf-ready")}):t.addClass("eltdf-ready"),g(window).resize(function(){a(),n()}),qode_htmlEl.hasClass("touch")?(c=document.querySelector(".qode-plh-inner"),s=g(".qode-plh-inner"),r=new Hammer(c),d=0,l=function(e){s.css("transform","translate3d("+e+"px, 0, 0)")},r.on("swipe",function(e){d=0=o-s.parent().width()-parseInt(s.find("article:last-child").css("margin-right"))&&l(-o+s.parent().width()+parseInt(s.find("article:last-child").css("margin-right")))})):(h=(c=document.querySelector(".qode-plh-inner")).getBoundingClientRect().width,_=u=0,f=parseInt(m.parent().css("paddingLeft")),qode_htmlEl.add(qode_body).addClass("qode-overflow-hidden"),window.addEventListener("resize",function(){f=parseInt(m.parent().css("paddingLeft")),h=c.getBoundingClientRect().width}),VirtualScroll.on(function(e){u+=e.deltaY,u=Math.max(-1*(h-window.innerWidth+f),u),u=Math.min(0,u)}),(p=function(){requestAnimationFrame(p);var e="translate3d("+(_+=.08*(u-_))+"px, 0px, 0px)",t=c.style;t.transform=e,t.webkitTransform=e,t.mozTransform=e,t.msTransform=e})()))}(qode.modules.portfolioListHorizontal=e).qodeOnDocumentReady=t,g(document).ready(t),g(window).on("load",function(){g(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/qode_portfolio_list_horizontal.default",function(){o()})})})}(jQuery),function(e){"use strict";var t={};function o(){i()}function i(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/qode_simple_blog_list.default",function(){qodeInitBlogListShortcodeAppear()})})}(qode.modules.elementorSimpleBlogList=t).qodeInitElementorSimpleBlogList=i,t.qodeOnWindowLoad=o,e(window).on("load",o())}(jQuery),function(e){"use strict";var t={};function o(){i()}function i(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/content_slider.default",function(){prettyPhoto()})})}(qode.modules.elementorVideoBox=t).qodeInitElementorVideoBox=i,t.qodeOnWindowLoad=o,e(window).on("load",o())}(jQuery),function(){"use strict";jQuery(document).ready(function(){})}(),function(e){"use strict";var t={};function o(){i()}function i(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/stockholm_workflow.default",function(){qodeWorkflow()})})}(qode.modules.elementorWorkflow=t).qodeInitElementorWorkflow=i,t.qodeOnWindowLoad=o,e(window).on("load",o())}(jQuery),function(e){"use strict";var t={};function o(){i()}function i(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/qode_product_list_elegant.default",function(){qodeInitProductListElegantFilter().init()})})}(qode.modules.elementorProductListElegant=t).qodeInitElementorProductListElegant=i,t.qodeOnWindowLoad=o,e(window).on("load",o())}(jQuery),function(e){"use strict";var t={};function o(){i()}function i(){$j(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/qode_product_list_carousel.default",function(){qodeOwlSlider()})})}(qode.modules.elementorProductListCarousel=t).qodeInitElementorProductListCarousel=i,t.qodeOnWindowLoad=o,e(window).on("load",o())}(jQuery),function(o){"use strict";qode.modules.popup={},o(document).ready(function(){!function(){var e=o("a.qode-popup-opener"),t=o(".qode-popup-close");e.on("click",function(e){e.preventDefault(),qode_body.hasClass("qode-popup-opened")?(qode_body.removeClass("qode-popup-opened"),qode_body.hasClass("page-template-full_screen-php")||qode.modules.common.qodeEnableScroll()):(qode_body.addClass("qode-popup-opened"),qode_body.hasClass("page-template-full_screen-php")||qode.modules.common.qodeDisableScroll()),t.on("click",function(e){e.preventDefault(),qode_body.removeClass("qode-popup-opened"),qode_body.hasClass("page-template-full_screen-php")||qode.modules.common.qodeEnableScroll()}),o(document).keyup(function(e){27==e.keyCode&&(qode_body.removeClass("qode-popup-opened"),qode_body.hasClass("page-template-full_screen-php")||qode.modules.common.qodeEnableScroll())})})}()})}(jQuery);