!function(e){"use strict";switch(window.qodef={},qodef.modules={},qodef.scroll=0,qodef.window=e(window),qodef.document=e(document),qodef.windowWidth=e(window).width(),qodef.windowHeight=e(window).height(),qodef.body=e("body"),qodef.html=e("html, body"),qodef.htmlEl=e("html"),qodef.menuDropdownHeightSet=!1,qodef.defaultHeaderStyle="",qodef.minVideoWidth=1500,qodef.videoWidthOriginal=1280,qodef.videoHeightOriginal=720,qodef.videoRatio=1280/720,!0){case qodef.body.hasClass("qodef-grid-1300"):qodef.boxedLayoutWidth=1350;break;case qodef.body.hasClass("qodef-grid-1200"):qodef.boxedLayoutWidth=1250;break;case qodef.body.hasClass("qodef-grid-1000"):qodef.boxedLayoutWidth=1050;break;case qodef.body.hasClass("qodef-grid-800"):qodef.boxedLayoutWidth=850;break;default:qodef.boxedLayoutWidth=1150}e(document).ready(function(){qodef.scroll=e(window).scrollTop(),qodef.body.hasClass("qodef-dark-header")&&(qodef.defaultHeaderStyle="qodef-dark-header"),qodef.body.hasClass("qodef-light-header")&&(qodef.defaultHeaderStyle="qodef-light-header")}),e(window).resize(function(){qodef.windowWidth=e(window).width(),qodef.windowHeight=e(window).height()}),e(window).scroll(function(){qodef.scroll=e(window).scrollTop()})}(jQuery),function(d){"use strict";var e={};function n(){fluidvids.init({selector:["iframe"],players:["www.youtube.com","player.vimeo.com"]})}function s(){var e=d(".qodef-owl-slider");e.length&&e.each(function(){var e=d(this);e.waitForImages(function(){e.owlCarousel({singleItem:!0,transitionStyle:"fadeUp",navigation:!0,autoHeight:!0,pagination:!1,navigationText:['<span class="qodef-prev-icon"><i class="fa fa-chevron-left"></i></span>','<span class="qodef-next-icon"><i class="fa fa-chevron-right"></i></span>']})})})}function r(){d(".qodef-preload-background").each(function(){var e,o,t=d(this);""!==t.css("background-image")&&"none"!==t.css("background-image")?(o=(o=(o=t.attr("style")).match(/url\(["']?([^'")]+)['"]?\)/))?o[1]:"")&&((e=new Image).src=o,d(e).load(function(){t.removeClass("qodef-preload-background")})):d(window).on("load",function(){t.removeClass("qodef-preload-background")})})}function l(){d("a[data-rel^='prettyPhoto']").prettyPhoto({hook:"data-rel",animation_speed:"normal",slideshow:!1,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,horizontal_padding:0,default_width:960,default_height:540,counter_separator_label:"/",theme:"pp_default",hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,overlay_gallery:!1,keyboard_shortcuts:!0,deeplinking:!1,custom_markup:"",social_tools:!1,markup:'<div class="pp_pic_holder"> <div class="ppt">&nbsp;</div> <div class="pp_top"> <div class="pp_left"></div> <div class="pp_middle"></div> <div class="pp_right"></div> </div> <div class="pp_content_container"> <div class="pp_left"> <div class="pp_right"> <div class="pp_content"> <div class="pp_loaderIcon"></div> <div class="pp_fade"> <a href="#" class="pp_expand" title="Expand the image">Expand</a> <div class="pp_hoverContainer"> <a class="pp_next" href="#"><span class="fa fa-chevron-right"></span></a> <a class="pp_previous" href="#"><span class="fa fa-chevron-left"></span></a> </div> <div id="pp_full_res"></div> <div class="pp_details"> <div class="pp_nav"> <a href="#" class="pp_arrow_previous">Previous</a> <p class="currentTextHolder">0/0</p> <a href="#" class="pp_arrow_next">Next</a> </div> <p class="pp_description"></p> {pp_social} <a class="pp_close" href="#">Close</a> </div> </div> </div> </div> </div> </div> <div class="pp_bottom"> <div class="pp_left"></div> <div class="pp_middle"></div> <div class="pp_right"></div> </div> </div> <div class="pp_overlay"></div>'})}function o(){var e,o;0<d("[data-qodef_header_style]").length&&qodef.body.hasClass("qodef-header-style-on-scroll")&&(e=d(".wpb_row.qodef-section"),o=function(e){void 0!==e.data("qodef_header_style")?qodef.body.removeClass("qodef-dark-header qodef-light-header").addClass(e.data("qodef_header_style")):qodef.body.removeClass("qodef-dark-header qodef-light-header").addClass(""+qodef.defaultHeaderStyle)},e.waypoint(function(e){"down"===e&&o(d(this.element))},{offset:0}),e.waypoint(function(e){"up"===e&&o(d(this.element))},{offset:function(){return-d(this.element).outerHeight()}}))}function t(){d(".qodef-parallax-section-holder").length&&d(".qodef-parallax-section-holder").each(function(){var e=d(this),o=(e.hasClass("qodef-full-screen-height-parallax")&&(e.height(qodef.windowHeight),e.find(".qodef-parallax-content-outer").css("padding",0)),.4*e.data("qodef-parallax-speed"));e.parallax("50%",o)})}qodef.modules.common=e,qodef.touchClasses=[".qodef-process-item",".qodef-team",".qodef-underline-icon-box-holder",".qodef-icon-shortcode",".qodef-slider"],e.qodefFluidVideo=n,e.qodefPreloadBackgrounds=r,e.qodefPrettyPhoto=l,e.qodefCheckHeaderStyleOnScroll=o,e.qodefInitParallax=t,e.qodefEnableScroll=function(){window.removeEventListener&&window.removeEventListener("wheel",a,{passive:!1});window.onmousewheel=document.onmousewheel=document.onkeydown=null,qodef.body.hasClass("qodef-smooth-scroll")&&(window.addEventListener("mousewheel",smoothScrollListener,{passive:!1}),window.addEventListener("wheel",smoothScrollListener,{passive:!1}))},e.qodefDisableScroll=function(){window.addEventListener&&window.addEventListener("wheel",a,{passive:!1});document.onkeydown=i,qodef.body.hasClass("qodef-smooth-scroll")&&(window.removeEventListener("mousewheel",smoothScrollListener,{passive:!1}),window.removeEventListener("wheel",smoothScrollListener,{passive:!1}))},e.qodefWheel=a,e.qodefKeydown=i,e.qodefPreventDefaultValue=h,e.qodefOwlSlider=s,e.qodefInitSelfHostedVideoPlayer=u,e.qodefSelfHostedVideoSize=p,e.qodefInitBackToTop=g,e.qodefBackButtonShowHide=q,e.qodefSetFooterColumnsHeight=v,e.qodefSmoothTransition=b,d(document).ready(function(){n(),r(),l();var o,e=d(".qodef-no-animations-on-touch"),t=!0,a=d(".qodef-grow-in, .qodef-fade-in-down, .qodef-element-from-fade, .qodef-element-from-left, .qodef-element-from-right, .qodef-element-from-top, .qodef-element-from-bottom, .qodef-flip-in, .qodef-x-rotate, .qodef-z-rotate, .qodef-y-translate, .qodef-fade-in, .qodef-fade-in-left-x-rotate"),i=["qodef-grow-in","qodef-fade-in-down","qodef-element-from-fade","qodef-element-from-left","qodef-element-from-right","qodef-element-from-top","qodef-element-from-bottom","qodef-flip-in","qodef-x-rotate","qodef-z-rotate","qodef-y-translate","qodef-fade-in","qodef-fade-in-left-x-rotate"];e.length&&(t=!1),0<a.length&&t&&a.each(function(){var e=d(this),t=(o=e.attr("class").split(/\s+/),0);o.map(function(e,o){if(-1!==i.indexOf(e))return t=o,!1}),o=o[t],e.data("animation",o),e.appear(function(){e.addClass(e.data("animation")+"-on")},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})}),f().init(),d(".qodef-section .qodef-video-wrap .qodef-video").mediaelementplayer({enableKeyboard:!1,iPadUseNativeControls:!1,pauseOtherPlayers:!1,iPhoneUseNativeControls:!1,AndroidUseNativeControls:!1}),navigator.userAgent.match(/(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/)&&(c(),d(".qodef-section .qodef-mobile-video-image").show(),d(".qodef-section .qodef-video-wrap").remove()),c(),d(".qodef-footer-uncover").length&&d(".qodef-content").css("margin-bottom",d(".qodef-footer-inner").height()),s(),u(),p(),g(),q(),b(),qodef.touchClasses.forEach(w)}),d(window).on("load",function(){o(),v(),t()}),d(window).resize(function(){c(),p(),v()});var f=qodef.modules.common.qodefInitAnchor=function(){function a(e){d(".qodef-main-menu .qodef-active-item, .qodef-mobile-nav .qodef-active-item, .qodef-vertical-menu .qodef-active-item, .qodef-fullscreen-menu .qodef-active-item").removeClass("qodef-active-item"),e.parent().addClass("qodef-active-item"),d(".qodef-main-menu a, .qodef-mobile-nav a, .qodef-vertical-menu a, .qodef-fullscreen-menu a").removeClass("current"),e.addClass("current")}function e(){qodef.document.on("click",".qodef-main-menu a, .qodef-vertical-menu a, .qodef-fullscreen-menu a, .qodef-btn, .qodef-anchor, .qodef-mobile-nav a",function(){var e,o=d(this),t=o.prop("hash").split("#")[1];if(""!==t&&0<d('[data-qodef-anchor="'+t+'"]').length)return e=d('[data-qodef-anchor="'+t+'"]').offset().top,e=d('[data-qodef-anchor="'+t+'"]').offset().top-(e=e,"qodef-sticky-header-on-scroll-down-up"===qodef.modules.header.behaviour&&(e>qodef.modules.header.stickyAppearAmount?qodef.modules.header.isStickyVisible=!0:qodef.modules.header.isStickyVisible=!1),"qodef-sticky-header-on-scroll-up"===qodef.modules.header.behaviour&&e>qodef.scroll&&(qodef.modules.header.isStickyVisible=!1),qodef.modules.header.isStickyVisible?qodefGlobalVars.vars.qodefStickyHeaderTransparencyHeight:qodefPerPageVars.vars.qodefHeaderTransparencyHeight),a(o),qodef.html.stop().animate({scrollTop:Math.round(e)},1e3,function(){history.replaceState&&history.replaceState(null,null,"#"+t)}),!1})}return{init:function(){d("[data-qodef-anchor]").length&&(e(),d("[data-qodef-anchor]").waypoint(function(e){"down"===e&&a(d("a[href='"+window.location.href.split("#")[0]+"#"+d(this.element).data("qodef-anchor")+"']"))},{offset:"50%"}),d("[data-qodef-anchor]").waypoint(function(e){"up"===e&&a(d("a[href='"+window.location.href.split("#")[0]+"#"+d(this.element).data("qodef-anchor")+"']"))},{offset:function(){return-(d(this.element).outerHeight()-150)}}),d(window).on("load",function(){var e;""!==(e=window.location.hash.split("#")[1])&&0<d('[data-qodef-anchor="'+e+'"]').length&&(e=window.location.href.split("#")[0]+"#"+e,(d("a[href='"+e+"']").length?d("a[href='"+e+"']"):d("<a/>").attr({href:e,class:"qodef-anchor"}).appendTo("body")).trigger("click"))}))}}};function c(){d(".qodef-section .qodef-video-wrap").each(function(){var e=d(this),o=e.closest(".qodef-section").outerWidth(),t=(e.width(o),e.closest(".qodef-section").outerHeight()),a=(qodef.minVideoWidth=qodef.videoRatio*(t+20),e.height(t),o/qodef.videoWidthOriginal),i=t/qodef.videoHeightOriginal,a=i<a?a:i;a*qodef.videoWidthOriginal<qodef.minVideoWidth&&(a=qodef.minVideoWidth/qodef.videoWidthOriginal),e.find("video, .mejs-overlay, .mejs-poster").width(Math.ceil(a*qodef.videoWidthOriginal+2)),e.find("video, .mejs-overlay, .mejs-poster").height(Math.ceil(a*qodef.videoHeightOriginal+2)),e.scrollLeft((e.find("video").width()-o)/2),e.find(".mejs-overlay, .mejs-poster").scrollTop((e.find("video").height()-t)/2),e.scrollTop((e.find("video").height()-t)/2)})}function a(e){h(e)}function i(e){for(var o=[37,38,39,40],t=o.length;t--;)if(e.keyCode===o[t])return void h(e)}function h(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}function u(){d(".qodef-self-hosted-video").mediaelementplayer({audioWidth:"100%"})}function p(){d(".qodef-self-hosted-video-holder .qodef-video-wrap").each(function(){var e=d(this),o=e.closest(".qodef-self-hosted-video-holder").outerWidth(),t=o/qodef.videoRatio;navigator.userAgent.match(/(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/)&&(e.parent().width(o),e.parent().height(t)),e.width(o),e.height(t),e.find("video, .mejs-overlay, .mejs-poster").width(o),e.find("video, .mejs-overlay, .mejs-poster").height(t)})}function m(e){var o=d("#qodef-back-to-top");o.removeClass("off on"),"on"===e?o.addClass("on"):o.addClass("off")}function q(){qodef.window.scroll(function(){var e=d(this).scrollTop(),o=d(this).height(),e=0<e?e+o/2:1;m(e<1e3?"off":"on")})}function g(){d("#qodef-back-to-top").on("click",function(e){e.preventDefault(),qodef.html.animate({scrollTop:0},qodef.window.scrollTop()/3,"linear")})}function v(){1024<qodef.windowWidth&&d(".qodef-footer-top .qodef-column").css("min-height",0).css("min-height",d(".qodef-footer-top > div").innerHeight())}function w(e){0<d(e).length&&d(e).on("touchstart",function(){})}function b(){qodef.body.hasClass("qodef-smooth-page-transitions")&&(d(window).on("pageshow",function(e){e.originalEvent.persisted&&d(".qodef-wrapper-inner").fadeIn(0)}),d("a").on("click",function(e){var o=d(this);1===e.which&&void 0===o.data("rel")&&void 0===o.attr("rel")&&0<=o.attr("href").indexOf(window.location.host)&&(void 0===o.attr("target")||"_self"===o.attr("target"))&&o.attr("href").split("#")[0]!==window.location.href.split("#")[0]&&(e.preventDefault(),d(".qodef-wrapper-inner").fadeOut(1e3,function(){window.location=o.attr("href")}))}))}}(jQuery),function(f){"use strict";var e={};function r(){var a,i=f(".qodef-wrapper"),d=f(".qodef-side-menu"),n=f("a.qodef-side-menu-button-opener"),s=!1,r=!1,l=!1;qodef.body.hasClass("qodef-side-menu-slide-from-right")?(a="qodef-right-side-menu-opened",i.prepend('<div class="qodef-cover"/>'),s=!0):qodef.body.hasClass("qodef-side-menu-slide-with-content")?(a="qodef-side-menu-open",r=!0):qodef.body.hasClass("qodef-side-area-uncovered-from-content")&&(a="qodef-right-side-menu-opened",l=!0),f("a.qodef-side-menu-button-opener, a.qodef-close-side-menu").on("click",function(e){var o,t;e.preventDefault(),n.hasClass("opened")?(n.removeClass("opened"),qodef.body.removeClass(a),l&&(o=setTimeout(function(){d.css({visibility:"hidden"}),clearTimeout(o)},400))):(n.addClass("opened"),qodef.body.addClass(a),s&&f(".qodef-wrapper .qodef-cover").on("click",function(){qodef.body.removeClass("qodef-right-side-menu-opened"),n.removeClass("opened")}),l&&d.css({visibility:"visible"}),t=f(window).scrollTop(),f(window).scroll(function(){var e;400<Math.abs(qodef.scroll-t)&&(qodef.body.removeClass(a),n.removeClass("opened"),l)&&(e=setTimeout(function(){d.css({visibility:"hidden"}),clearTimeout(e)},400))})),r&&(e.stopPropagation(),i.on("click",function(){e.preventDefault(),n.removeClass("opened"),qodef.body.removeClass("qodef-side-menu-open")}))})}function l(){var e=f(".qodef-side-menu");e.length&&e.niceScroll({scrollspeed:60,mousescrollstep:40,cursorwidth:0,cursorborder:0,cursorborderradius:0,cursorcolor:"transparent",autohidemode:!1,horizrailenabled:!1})}function c(){var o,t,a,e,i,d,n,s,r,l;f("a.qodef-fullscreen-menu-opener").length&&(o=f("a.qodef-fullscreen-menu-opener"),t=f(".qodef-fullscreen-menu-holder-outer"),i=e=!1,d=f(".qodef-fullscreen-above-menu-widget-holder"),n=f(".qodef-fullscreen-below-menu-widget-holder"),s=f(".qodef-fullscreen-menu-holder-outer nav > ul > li > a"),r=f(".qodef-fullscreen-menu > ul li.has_sub > a"),l=f(".qodef-fullscreen-menu ul li:not(.has_sub) a"),t.height(qodef.windowHeight).niceScroll({scrollspeed:30,mousescrollstep:20,cursorwidth:0,cursorborder:0,cursorborderradius:0,cursorcolor:"transparent",autohidemode:!1,horizrailenabled:!1}),f(window).resize(function(){t.height(qodef.windowHeight)}),qodef.body.hasClass("qodef-fade-push-text-right")?(a="qodef-push-nav-right",e=!0):qodef.body.hasClass("qodef-fade-push-text-top")&&(a="qodef-push-text-top",i=!0),(e||i)&&(d.length&&d.children().css({"-webkit-animation-delay":"0ms","-moz-animation-delay":"0ms","animation-delay":"0ms"}),s.each(function(e){f(this).css({"-webkit-animation-delay":70*(e+1)+"ms","-moz-animation-delay":70*(e+1)+"ms","animation-delay":70*(e+1)+"ms"})}),n.length)&&n.children().css({"-webkit-animation-delay":70*(s.length+1)+"ms","-moz-animation-delay":70*(s.length+1)+"ms","animation-delay":70*(s.length+1)+"ms"}),o.on("click",function(e){e.preventDefault(),o.hasClass("opened")?(o.removeClass("opened"),qodef.body.removeClass("qodef-fullscreen-menu-opened"),qodef.body.removeClass("qodef-fullscreen-fade-in").addClass("qodef-fullscreen-fade-out"),qodef.body.addClass(a),qodef.body.hasClass("page-template-full_screen-php")||qodef.modules.common.qodefEnableScroll(),f("nav.qodef-fullscreen-menu ul.sub_menu").slideUp(200,function(){f("nav.popup_menu").getNiceScroll().resize()})):(o.addClass("opened"),qodef.body.addClass("qodef-fullscreen-menu-opened"),qodef.body.removeClass("qodef-fullscreen-fade-out").addClass("qodef-fullscreen-fade-in"),qodef.body.removeClass(a),qodef.body.hasClass("page-template-full_screen-php")||qodef.modules.common.qodefDisableScroll(),f(document).keyup(function(e){27===e.keyCode&&(o.removeClass("opened"),qodef.body.removeClass("qodef-fullscreen-menu-opened"),qodef.body.removeClass("qodef-fullscreen-fade-in").addClass("qodef-fullscreen-fade-out"),qodef.body.addClass(a),qodef.body.hasClass("page-template-full_screen-php")||qodef.modules.common.qodefEnableScroll(),f("nav.qodef-fullscreen-menu ul.sub_menu").slideUp(200,function(){f("nav.popup_menu").getNiceScroll().resize()}))}))}),r.on("tap click",function(e){return e.preventDefault(),f(this).parent().hasClass("has_sub")&&((e=f(this).parent().find("> ul.sub_menu")).is(":visible")?(e.slideUp(200,function(){t.getNiceScroll().resize()}),f(this).parent().removeClass("open_sub")):(f(this).parent().addClass("open_sub"),e.slideDown(200,function(){t.getNiceScroll().resize()}))),!1}),l.on("click",function(e){if("http://#"===f(this).attr("href")||"#"===f(this).attr("href"))return!1;1===e.which&&(o.removeClass("opened"),qodef.body.removeClass("qodef-fullscreen-menu-opened"),qodef.body.removeClass("qodef-fullscreen-fade-in").addClass("qodef-fullscreen-fade-out"),qodef.body.addClass(a),f("nav.qodef-fullscreen-menu ul.sub_menu").slideUp(200,function(){f("nav.popup_menu").getNiceScroll().resize()}),qodef.modules.common.qodefEnableScroll())}))}function h(){var e=f(".qodef-mobile-header .qodef-mobile-menu-opener"),o=f(".qodef-mobile-header .qodef-mobile-nav"),t=f('.qodef-mobile-nav .mobile_arrow, .qodef-mobile-nav h4, .qodef-mobile-nav a[href*="#"]');e.length&&o.length&&e.on("tap click",function(e){e.stopPropagation(),e.preventDefault(),o.is(":visible")?o.slideUp(200):o.slideDown(200)}),t.length&&t.each(function(){f(this).on("tap click",function(e){var o=f(this).nextAll("ul").first();o.length&&(e.preventDefault(),e.stopPropagation(),e=f(this).parent("li"),o.is(":visible")?(o.slideUp(200),e.removeClass("qodef-opened")):(o.slideDown(200),e.addClass("qodef-opened")))})}),f(".qodef-mobile-nav a, .qodef-mobile-logo-wrapper a").on("click tap",function(e){"http://#"!==f(this).attr("href")&&"#"!==f(this).attr("href")&&o.slideUp(200)})}function u(){var o,t,e,a,i,d;qodef.body.hasClass("qodef-sticky-up-mobile-header")&&(o=f(".qodef-mobile-header"),t=f("#wpadminbar"),e=o.length?o.height():0,a=t.length?t.height():0,i=f(document).scrollTop(),d=e+a,f(window).scroll(function(){var e=f(document).scrollTop();d<e?o.addClass("qodef-animate-mobile-header"):o.removeClass("qodef-animate-mobile-header"),i<e&&d<e||e<d?(o.removeClass("mobile-header-appear"),o.css("margin-bottom",0),t.length&&o.find(".qodef-mobile-header-inner").css("top",0)):(o.addClass("mobile-header-appear"),o.css("margin-bottom",d)),i=f(document).scrollTop()}))}function p(){f(".qodef-drop-down > ul > li.narrow").each(function(e){var o,t=qodef.windowWidth-16,a=f(this).offset().left,i=f(this).find(".second .inner ul").width(),d=0,d=qodef.body.hasClass("boxed")?qodef.boxedLayoutWidth-(a-(t-qodef.boxedLayoutWidth)/2):t-a;0<f(this).find("li.sub").length&&(o=d-i),(d<i||o<i)&&(f(this).find(".second").addClass("right"),f(this).find(".second .inner ul").addClass("right"))})}function m(){var s=f(".qodef-drop-down > ul > li");s.each(function(e){var o,t,a,i,d,n;0<f(s[e]).find(".second").length&&(o=f(s[e]).find(".second"),t=(n=f(this).find(".inner > ul")).outerWidth(),f(s[e]).hasClass("wide")&&(a=parseInt(n.css("padding-left").slice(0,-2))+parseInt(n.css("padding-right").slice(0,-2)),f(this).hasClass("left_position")||f(this).hasClass("right_position")||o.css("left",0),i=0,f(this).find(".second > .inner > ul > li").each(function(){var e=f(this).height();i<e&&(i=e)}),f(this).find(".second > .inner > ul > li").css("height",""),f(this).find(".second > .inner > ul > li").height(i),f(this).hasClass("wide_background")?f(this).hasClass("left_position")||f(this).hasClass("right_position")||(d=f(this).find(".second").offset().left,o.css("left",-d),o.css("width",qodef.windowWidth)):f(this).hasClass("left_position")||f(this).hasClass("right_position")||(d=(qodef.windowWidth-2*(qodef.windowWidth-n.offset().left))/2+(t+a)/2,o.css("left",-d))),qodef.menuDropdownHeightSet||(f(s[e]).data("original_height",o.height()+"px"),o.height(0)),navigator.userAgent.match(/(iPod|iPhone|iPad)/)?f(s[e]).on("touchstart mouseenter",function(){o.css({height:f(s[e]).data("original_height"),overflow:"visible",visibility:"visible",opacity:"1"})}).on("mouseleave",function(){o.css({height:"0px",overflow:"hidden",visibility:"hidden",opacity:"0"})}):qodef.body.hasClass("qodef-dropdown-animate-height")?f(s[e]).mouseenter(function(){o.css({visibility:"visible",height:"0px",opacity:"0","margin-top":"-30px"}),o.stop().animate({height:f(s[e]).data("original_height"),opacity:"1","margin-top":"0px"},250,function(){o.css("overflow","visible")})}).mouseleave(function(){o.stop().animate({height:"0px"},0,function(){o.css({overflow:"hidden",visibility:"hidden","margin-top":"0px"})})}):(n={interval:0,over:function(){setTimeout(function(){o.addClass("qodef-drop-down-start"),o.stop().css({height:f(s[e]).data("original_height")})},150)},timeout:150,out:function(){o.stop().css({height:"0px"}),o.removeClass("qodef-drop-down-start")}},f(s[e]).hoverIntent(n)))}),f(".qodef-drop-down ul li.wide ul li a").on("click",function(e){var o;1===e.which&&(o=f(this),setTimeout(function(){o.mouseleave()},500))}),qodef.menuDropdownHeightSet=!0}function q(){var t,e,o,i,d,n,s,r,l=f("a.qodef-search-opener");f("html").hasClass("touch"),0<l.length&&(qodef.body.hasClass("qodef-fullscreen-search")?(o=e=!1,i=f(".qodef-fullscreen-search-close"),qodef.body.hasClass("qodef-search-fade")?e=!0:qodef.body.hasClass("qodef-search-from-circle")&&(o=!0),d=e,n=o,s=f(".qodef-fullscreen-search-holder"),r=f(".qodef-fullscreen-search-overlay"),l.on("click",function(e){e.preventDefault();var o,t,a=!1;"yes"===f(this).data("icon-close-same-position")&&(o=f(this).offset().top,t=f(this).offset().left,a=!0),d&&(s.hasClass("qodef-animate")?(qodef.body.removeClass("qodef-fullscreen-search-opened"),qodef.body.addClass("qodef-search-fade-out"),qodef.body.removeClass("qodef-search-fade-in"),s.removeClass("qodef-animate"),qodef.body.hasClass("page-template-full_screen-php")||qodef.modules.common.qodefEnableScroll()):(qodef.body.addClass("qodef-fullscreen-search-opened"),qodef.body.removeClass("qodef-search-fade-out"),qodef.body.addClass("qodef-search-fade-in"),s.addClass("qodef-animate"),a&&i.css({top:o-qodef.scroll,left:t}),qodef.body.hasClass("page-template-full_screen-php")||qodef.modules.common.qodefDisableScroll()),i.on("click",function(e){e.preventDefault(),qodef.body.removeClass("qodef-fullscreen-search-opened"),s.removeClass("qodef-animate"),qodef.body.removeClass("qodef-search-fade-in"),qodef.body.addClass("qodef-search-fade-out"),qodef.body.hasClass("page-template-full_screen-php")||qodef.modules.common.qodefEnableScroll()}),f(document).keyup(function(e){27===e.keyCode&&(qodef.body.removeClass("qodef-fullscreen-search-opened"),s.removeClass("qodef-animate"),qodef.body.removeClass("qodef-search-fade-in"),qodef.body.addClass("qodef-search-fade-out"),qodef.body.hasClass("page-template-full_screen-php")||qodef.modules.common.qodefEnableScroll())})),n&&(r.hasClass("qodef-animate")?(r.removeClass("qodef-animate"),s.css({opacity:0,display:"none"}),i.css({opacity:0,visibility:"hidden"}),l.css({opacity:1})):(r.addClass("qodef-animate"),s.css({display:"block"}),setTimeout(function(){s.css("opacity","1"),i.css({opacity:1,visibility:"visible",top:o-qodef.scroll,left:t}),a&&i.css({top:o-qodef.scroll,left:t}),l.css({opacity:0})},200),qodef.body.hasClass("page-template-full_screen-php")||qodef.modules.common.qodefDisableScroll()),i.on("click",function(e){e.preventDefault(),r.removeClass("qodef-animate"),s.css({opacity:0,display:"none"}),i.css({opacity:0,visibility:"hidden"}),l.css({opacity:1}),qodef.body.hasClass("page-template-full_screen-php")||qodef.modules.common.qodefEnableScroll()}),f(document).keyup(function(e){27===e.keyCode&&(r.removeClass("qodef-animate"),s.css({opacity:0,display:"none"}),i.css({opacity:0,visibility:"hidden"}),l.css({opacity:1}),qodef.body.hasClass("page-template-full_screen-php")||qodef.modules.common.qodefEnableScroll())}))}),f(".qodef-fullscreen-search-holder .qodef-search-field").focus(function(){f(".qodef-fullscreen-search-holder .qodef-field-holder .qodef-line").css("width","100%")}),f(".qodef-fullscreen-search-holder .qodef-search-field").blur(function(){f(".qodef-fullscreen-search-holder .qodef-field-holder .qodef-line").css("width","0")})):qodef.body.hasClass("qodef-search-slides-from-window-top")?(t=f(".qodef-search-slide-window-top"),i=f(".qodef-search-close"),l.on("click",function(e){var o;e.preventDefault(),o=f(".title").hasClass("has_parallax_background")?parseInt(f(".title.has_parallax_background").css("backgroundPosition").split(" ")[1]):0,0===t.height()?(f('.qodef-search-slide-window-top input[type="text"]').focus(),qodef.body.addClass("qodef-search-open"),f(".title.has_parallax_background").animate({"background-position-y":o+50+"px"},150)):(qodef.body.removeClass("qodef-search-open"),f(".title.has_parallax_background").animate({"background-position-y":o-50+"px"},150)),f(window).scroll(function(){0!==t.height()&&50<qodef.scroll&&(qodef.body.removeClass("qodef-search-open"),f(".title.has_parallax_background").css("backgroundPosition","center "+o+"px"))}),i.on("click",function(e){e.preventDefault(),qodef.body.removeClass("qodef-search-open"),f(".title.has_parallax_background").animate({"background-position-y":o+"px"},150)})})):qodef.body.hasClass("qodef-search-covers-header")&&l.on("click",function(e){e.preventDefault();var o,t,e=f(".qodef-search-cover .qodef-form-holder-outer"),a=f(this).closest(".qodef-grid").length?(t=f(this).closest(".qodef-grid").children().first()).parent():t=f(this).closest(".qodef-menu-area").children().first();(a=0<f(this).closest(".qodef-sticky-header").length?t=f(this).closest(".qodef-sticky-header").children().first():a).parent().hasClass("qodef-logo-area")?o=qodefGlobalVars.vars.qodefLogoAreaHeight:a.parent().hasClass("qodef-top-bar")||a.parent().hasClass("qodef-menu-area")?o=f(".qodef-menu-area").height():a.parent().hasClass("qodef-sticky-header")?o=qodefGlobalVars.vars.qodefStickyHeight:a.parent().hasClass("qodef-mobile-header")&&(o=f(".qodef-mobile-header-inner").height()),0<f(this).closest(".qodef-overlapping-bottom-container").length&&(o=f(".qodef-ovelapping-menu").height()),e.height(o),t.stop(!0).fadeIn(600),f('.qodef-search-cover input[type="text"]').focus(),f(".qodef-search-close, .content, footer").on("click",function(e){e.preventDefault(),t.stop(!0).fadeOut(450)}),t.blur(function(){t.stop(!0).fadeOut(450)})}))}(qodef.modules.header=e).isStickyVisible=!1,e.stickyAppearAmount=0,e.behaviour,e.qodefSideArea=r,e.qodefSideAreaScroll=l,e.qodefFullscreenMenu=c,e.qodefInitMobileNavigation=h,e.qodefMobileHeaderBehavior=u,e.qodefSetDropDownMenuPosition=p,e.qodefDropDownMenu=m,e.qodefSearch=q,e.qodefVerticalMenuScroll=v,f(document).ready(function(){var o,e,t=f(".qodef-page-header"),a=f(".qodef-sticky-header"),i=f(".qodef-fixed-wrapper"),d=f(".qodef-page-header").find(".qodef-fixed-wrapper").length?f(".qodef-page-header").find(".qodef-fixed-wrapper").offset().top:null;switch(!0){case qodef.body.hasClass("qodef-sticky-header-on-scroll-up"):qodef.modules.header.behaviour="qodef-sticky-header-on-scroll-up";var n=f(document).scrollTop();o=qodefGlobalVars.vars.qodefTopBarHeight+qodefGlobalVars.vars.qodefLogoAreaHeight+qodefGlobalVars.vars.qodefMenuAreaHeight+qodefGlobalVars.vars.qodefStickyHeaderHeight,(e=function(){var e=f(document).scrollTop();n<e&&o<e||e<o?(qodef.modules.header.isStickyVisible=!1,a.removeClass("header-appear").find(".qodef-main-menu .second").removeClass("qodef-drop-down-start")):(qodef.modules.header.isStickyVisible=!0,a.addClass("header-appear")),n=f(document).scrollTop()})(),f(window).scroll(function(){e()});break;case qodef.body.hasClass("qodef-sticky-header-on-scroll-down-up"):qodef.modules.header.behaviour="qodef-sticky-header-on-scroll-down-up",o=0!==qodefPerPageVars.vars.qodefStickyScrollAmount?qodefPerPageVars.vars.qodefStickyScrollAmount:qodefGlobalVars.vars.qodefTopBarHeight+qodefGlobalVars.vars.qodefLogoAreaHeight+qodefGlobalVars.vars.qodefMenuAreaHeight,qodef.modules.header.stickyAppearAmount=o,(e=function(){qodef.scroll<o?(qodef.modules.header.isStickyVisible=!1,a.removeClass("header-appear").find(".qodef-main-menu .second").removeClass("qodef-drop-down-start")):(qodef.modules.header.isStickyVisible=!0,a.addClass("header-appear"))})(),f(window).scroll(function(){e()});break;case qodef.body.hasClass("qodef-fixed-on-scroll"):qodef.modules.header.behaviour="qodef-fixed-on-scroll";var s=function(){qodef.scroll<d?(i.removeClass("fixed"),t.css("margin-bottom",0)):(i.addClass("fixed"),t.css("margin-bottom",i.height()))};s(),f(window).scroll(function(){s()})}r(),l(),c(),h(),u(),p(),m(),q(),v(),g().init()}),f(window).on("load",function(){p()}),f(window).resize(function(){m()});var g=function(){function e(){var a,i,e=o.find(".qodef-vertical-menu");void 0!==e.data("navigation-type")&&e.data("navigation-type"),a=e.find("ul li.menu-item-has-children"),i=a.find(" > .second, > ul"),a.each(function(){var o=f(this).find(" > .second, > ul"),t=this;Modernizr.touch?f(this).find("> a").on("click tap",function(e){e.preventDefault(),e.stopPropagation(),o.hasClass("qodef-float-open")?(o.removeClass("qodef-float-open"),f(t).removeClass("open")):(f(this).parents("li").hasClass("open")||(a.removeClass("open"),i.removeClass("qodef-float-open")),o.addClass("qodef-float-open"),f(t).addClass("open"))}):f(this).hoverIntent({over:function(){o.addClass("qodef-float-open"),f(t).addClass("open")},out:function(){o.removeClass("qodef-float-open"),f(t).removeClass("open")},timeout:300})})}var o=f(".qodef-vertical-menu-area");return{init:function(){o.length&&e()}}};function v(){function e(e){var o=0;(e=e||window.event).wheelDelta?o=e.wheelDelta/120:e.detail&&(o=-e.detail/3),o&&((o=o)<0?Math.abs(d)<=n&&(d+=20*o,f(a).css("margin-top",d)):d<=-20&&(d+=20*o,f(a).css("margin-top",d))),e.preventDefault&&e.preventDefault(),e.returnValue=!1}var o,t,a,i,d,n;f(".qodef-vertical-menu-area").length&&(o=qodef.windowHeight,t=f(".qodef-vertical-menu-area"),i=(a=f(".qodef-vertical-menu-area .qodef-vertical-menu-area-inner")).outerHeight()+parseInt(t.css("padding-top"))+parseInt(t.css("padding-bottom")),d=0,n=i-o,f(t).on("hover",function(){qodef.modules.common.qodefDisableScroll(),window.addEventListener&&(window.addEventListener("mousewheel",e,!1),window.addEventListener("DOMMouseScroll",e,!1)),window.onmousewheel=document.onmousewheel=e},function(){qodef.modules.common.qodefEnableScroll(),window.removeEventListener("mousewheel",e,!1),window.removeEventListener("DOMMouseScroll",e,!1)}))}}(jQuery),function(d){"use strict";var e={};function o(){var e,o,t,a,i;0<d(".qodef-title.qodef-has-parallax-background").length&&0===d(".touch").length&&(e=d(".qodef-title.qodef-has-parallax-background"),o=d(".qodef-title.qodef-has-parallax-background.qodef-zoom-out"),t=parseInt(e.data("background-width").match(/\d+/)),a=e.data("height")/1e4*7,i=-qodef.scroll*a,e.css({"background-position":"center "+(i+qodefGlobalVars.vars.qodefAddForAdminBar)+"px"}),o.css({"background-size":t-qodef.scroll+"px auto"}),d(window).scroll(function(){i=-qodef.scroll*a,e.css({"background-position":"center "+(i+qodefGlobalVars.vars.qodefAddForAdminBar)+"px"}),o.css({"background-size":t-qodef.scroll+"px auto"})}))}(qodef.modules.title=e).qodefParallaxTitle=o,d(document).ready(function(){o()}),d(window).on("load",function(){}),d(window).resize(function(){})}(jQuery),function(F){"use strict";var d={};function n(){var e=F(".qodef-counter");e.length&&e.each(function(){var o=F(this);o.appear(function(){var e;o.parents(".qodef-counter-holder").addClass("qodef-counter-holder-show"),o.hasClass("zero")?(e=parseFloat(o.text()),o.countTo({from:0,to:e,speed:1500,refreshInterval:100})):o.absoluteCounter({speed:2e3,fadeInDelay:1e3})},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})})}function s(){var e=F(".qodef-progress-bar");e.length&&e.each(function(){var i=F(this);i.appear(function(){e=i,o=parseFloat(e.find(".qodef-progress-content").data("percentage")),(e=e.find(".qodef-progress-number .qodef-percent")).length&&e.each(function(){var e=F(this);e.parents(".qodef-progress-number-wrapper").css("opacity","1"),e.countTo({from:0,to:o,speed:1500,refreshInterval:50})}),0!==i.find(".qodef-floating.qodef-floating-inside")&&(e=i.find(".qodef-progress-content").height(),e=(e+=parseFloat(i.find(".qodef-progress-title-holder").css("padding-bottom")))+parseFloat(i.find(".qodef-progress-title-holder").css("margin-bottom")),i.find(".qodef-floating-inside").css("margin-bottom",-e+"px"));var o,e=i.find(".qodef-progress-content").data("percentage"),t=i.find(".qodef-progress-content"),a=i.find(".qodef-progress-number");t.css("width","0%"),t.animate({width:e+"%"},1500),a.css("left","0%"),a.animate({left:e+"%"},1500)})})}function f(){var e=F(".qodef-message");e.length&&e.each(function(){F(this).find(".qodef-close").on("click",function(e){e.preventDefault(),F(this).parent().parent().fadeOut(500)})})}function c(){var e=F(".qodef-message.qodef-with-icon");e.length&&e.each(function(){var e=F(this),o=e.find(".qodef-message-text-holder").height(),t=e.find(".qodef-message-icon-holder").height();t<o?e.find(".qodef-message-icon-holder").height(o):e.find(".qodef-message-text-holder").height(t)})}function h(){var s,r,l,f,c,h,u,p,m,q,g,v,w,b,_,y,e=F(".qodef-countdown"),o=new Date,C=o.getMonth(),x=o.getFullYear();e.length&&e.each(function(){var e,o,t,a,i,d=F(this).attr("id"),n=F("#"+d);s=n.data("year"),r=n.data("month"),l=n.data("day"),f=n.data("hour"),c=n.data("minute"),h=n.data("timezone"),u=n.data("month-label"),p=n.data("sin-month-label"),m=n.data("day-label"),q=n.data("sin-day-label"),g=n.data("hour-label"),v=n.data("sin-hour-label"),w=n.data("minute-label"),b=n.data("sin-minute-label"),_=n.data("second-label"),y=n.data("sin-second-label"),e=n.data("digit-size"),o=n.data("label-size"),t=n.data("digit-color"),i=n.data("label-color"),a=n.data("vertical-separator-color"),C===r&&x===s||(r-=1),n.countdown({until:new Date(s,r,l,f,c,44),labels:["Years",u,"Weeks",m,g,w,_],labels1:["Years",p,"Weeks",q,v,b,y],format:"ODHMS",timezone:h,padZeroes:!0,onTick:function(){n.find(".countdown-amount").css({"font-size":e+"px","line-height":e+"px",color:t,"border-right-color":a}),n.find(".countdown-period").css({"font-size":o+"px",color:i})}})})}(qodef.modules.shortcodes=d).qodefInitCounter=n,d.qodefInitProgressBars=s,d.qodefInitCountdown=h,d.qodefInitMessages=f,d.qodefInitMessageHeight=c,d.qodefInitTestimonials=m,d.qodefInitFullWidthSlider=q,d.qodefInitCarousels=g,d.qodefInitPieChart=v,d.qodefInitPieChartDoughnut=w,d.qodefInitTabs=b,d.qodefInitTabIcons=_,d.qodefInitBlogListMasonry=C,d.qodefCustomFontResize=e,d.qodefInitImageGallery=S,d.qodefInitAccordions=k,d.qodefShowGoogleMap=x,d.qodefInitPortfolio=z,d.qodefInitPortfolioSlider=M,d.qodefInitPortfolioLoadMore=P,d.qodefCheckSliderForHeaderStyle=I,d.qodefCheckSliderForNavigationStyle=W,d.qodefInitPricingSlider=A,d.qodefInitLiveSearch=o,F(document).ready(function(){n(),s(),h(),u().init(),f(),c(),m(),q(),g(),v(),w(),b(),_(),y().init(),C(),e(),S(),k(),x(),z(),M(),P(),A(),p(),o(),t().init(),T()}),F(window).resize(function(){C(),e()}),F(window).on("load",function(){var e,r,o,t,a,i,l;e=F(".qodef-widget-sticky-sidebar"),i=a=t=o=r=0,l=[],e.length&&e.each(function(){var e=F(this);o=e.offset().top,t=e.position().top,e.parents("aside.qodef-sidebar").length?a=e.parents("aside.qodef-sidebar").height():e.parents(".wpb_widgetised_column").length&&(a=e.parents(".wpb_widgetised_column").height()),e.parents("aside.qodef-sidebar").length?i=e.parents("aside.qodef-sidebar").width():e.parents(".wpb_widgetised_column").length&&(i=e.parents(".wpb_widgetised_column").width()),l.push({object:e,offset:o,position:t,height:a,width:i})}),F(window).scroll(function(){l.length&&F.each(l,function(e){var o,t,a,i=l[e].object,d=l[e].offset,n=l[e].position,s=l[e].height,e=l[e].width;qodef.body.hasClass("qodef-sticky-header-on-scroll-down-up")||qodef.body.hasClass("qodef-sticky-header-on-scroll-up")?(r=F(".qodef-sticky-header").height(),F(".qodef-sticky-header").hasClass("header-appear")||(r=0)):r=F(".qodef-page-header").height(),1024<qodef.windowWidth&&(o=-(n-r-40),t=s-n+40,a=0,i.parents("aside.qodef-sidebar").length?a=(i.parents(".qodef-content-has-sidebar").children(".qodef-content-right-from-sidebar").length?i.parents(".qodef-content-has-sidebar").children(".qodef-content-right-from-sidebar"):i.parents(".qodef-content-has-sidebar").children(".qodef-content-left-from-sidebar")).outerHeight():i.parents(".wpb_widgetised_column").length&&(a=i.parents(".vc_row").outerHeight()),n=d-r-n-qodefGlobalVars.vars.qodefTopBarHeight+a,qodef.scroll>=d-r)&&s<a?(i.parents("aside.qodef-sidebar").length?i.parents("aside.qodef-sidebar").hasClass("qodef-sticky-sidebar-appeared")?i.parents("aside.qodef-sidebar.qodef-sticky-sidebar-appeared").css({top:o+"px"}):i.parents("aside.qodef-sidebar").addClass("qodef-sticky-sidebar-appeared").css({position:"fixed",top:o+"px",width:e,"margin-top":"-10px"}).stop().animate({"margin-top":"0"},200):i.parents(".wpb_widgetised_column").length&&(i.parents(".wpb_widgetised_column").hasClass("qodef-sticky-sidebar-appeared")?i.parents(".wpb_widgetised_column.qodef-sticky-sidebar-appeared").css({top:o+"px"}):i.parents(".wpb_widgetised_column").addClass("qodef-sticky-sidebar-appeared").css({position:"fixed",top:o+"px",width:e,"margin-top":"-10px"}).stop().animate({"margin-top":"0"},200)),qodef.scroll+t>=n?i.parents("aside.qodef-sidebar").length?i.parents("aside.qodef-sidebar.qodef-sticky-sidebar-appeared").css({position:"absolute",top:a-t+o-40-r+"px"}):i.parents(".wpb_widgetised_column").length&&i.parents(".wpb_widgetised_column.qodef-sticky-sidebar-appeared").css({position:"absolute",top:a-t+o-40-r+"px"}):i.parents("aside.qodef-sidebar").length?i.parents("aside.qodef-sidebar.qodef-sticky-sidebar-appeared").css({position:"fixed",top:o+"px"}):i.parents(".wpb_widgetised_column").length&&i.parents(".wpb_widgetised_column.qodef-sticky-sidebar-appeared").css({position:"fixed",top:o+"px"})):i.parents("aside.qodef-sidebar").length?i.parents("aside.qodef-sidebar").removeClass("qodef-sticky-sidebar-appeared").css({position:"relative",top:"0",width:"auto"}):i.parents(".wpb_widgetised_column").length&&i.parents(".wpb_widgetised_column").removeClass("qodef-sticky-sidebar-appeared").css({position:"relative",top:"0",width:"auto"})})}),F(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/qodef_button.default",function(){y().init()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_icon.default",function(){u().init()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_icon_with_text.default",function(){u().init()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_countdown.default",function(){h()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_counter.default",function(){n()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_call_to_action.default",function(){y().init()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_message.default",function(){f(),c()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_progress_bar.default",function(){s()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_image_gallery.default",function(){S()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_pricing_slider.default",function(){A()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_video_button.default",function(){qodef.modules.common.qodefPrettyPhoto()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_google_map.default",function(){x()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_blog_list.default",function(){C()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_pie_chart.default",function(){v()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_pie_chart_with_icon.default",function(){v()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_pie_chart_doughnut.default",function(){w()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_pie_chart_pie.default",function(){w()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_mobile_showcase.default",function(){p()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_portfolio_list.default",function(){z(),P()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_portfolio_slider.default",function(){z(),M()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_testimonials.default",function(){m()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_carousel.default",function(){g()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_fullwidth_slider.default",function(){q()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_accordion.default",function(){k()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_tabs.default",function(){b(),_()}),elementorFrontend.hooks.addAction("frontend/element_ready/qodef_particles.default",function(){T(),d.qodefParticles.init()}),elementorFrontend.hooks.addAction("frontend/element_ready/global",function(){var e;qodef.modules.common.qodefInitParallax(),(e=F(".parallax_section_holder")).length&&e.each(function(){var e=F(this),o=e.find(".qodef-parallax-helper-holder"),t=1;o.length&&void 0!==o.data("speed")&&""!==o.data("speed")&&(t=o.data("speed")),e.parallax("50%",.4*t)})})})});var u=qodef.modules.shortcodes.qodefIcon=function(){var e=F(".qodef-icon-shortcode");return{init:function(){e.length&&e.each(function(){var e,o,t,a,i,d,n,s;(e=F(this)).hasClass("qodef-icon-animation")&&e.appear(function(){e.parent(".qodef-icon-animation-holder").addClass("qodef-icon-animation-show")},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount}),void 0!==(d=F(this)).data("hover-color")&&(i=function(e){e.data.icon.css("color",e.data.color)},t=d.find(".qodef-icon-element"),o=d.data("hover-color"),a=t.css("color"),""!==o)&&(d.on("mouseenter",{icon:t,color:o},i),d.on("mouseleave",{icon:t,color:a},i)),void 0!==(o=F(this)).data("hover-background-color")&&(d=function(e){e.data.icon.css("background-color",e.data.color)},t=o.data("hover-background-color"),a=o.css("background-color"),""!==t)&&(o.on("mouseenter",{icon:o,color:t},d),o.on("mouseleave",{icon:o,color:a},d)),void 0!==(i=F(this)).data("hover-border-color")&&(d=function(e){e.data.icon.css("border-color",e.data.color)},n=i.data("hover-border-color"),s=i.css("border-color"),""!==n)&&(i.on("mouseenter",{icon:i,color:n},d),i.on("mouseleave",{icon:i,color:s},d))})}}};function p(){var e=F(".no-touchevents .qodef-mobile-showcase .qodef-mobile-wrapper");e.length&&e.each(function(){var e=F(this);e.appear(function(){e.addClass("qodef-view-layers")},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})})}function m(){var e=F(".qodef-testimonials");e.length&&e.each(function(){var e=F(this),o=e.siblings(".owl-buttons").find(".owl-prev"),t=e.siblings(".owl-buttons").find(".owl-next"),a=(e.appear(function(){e.css("visibility","visible")},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount}),!1),i=5e3,d="cards_carousel";void 0!==e.data("animation-speed")&&!1!==e.data("animation-speed")&&(i=e.data("animation-speed")),void 0!==e.data("layout")&&(d=e.data("layout")),e.owlCarousel({singleItem:!0,autoPlay:i,addClassActive:!0,navigation:!1,transitionStyle:"fade",autoHeight:!0,pagination:a="standard_carousel"===d?!0:a,slideSpeed:600}),o.on("click",function(){e.trigger("owl.next")}),t.on("click",function(){e.trigger("owl.prev")})})}function q(){var e=F(".qodef-fullwidth-slider-slides");e.length&&e.each(function(){var e=F(this),o=(e.appear(function(){e.css("visibility","visible")},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount}),5e3);void 0!==e.data("interval")&&!1!==e.data("interval")&&(o=e.data("interval")),e.owlCarousel({singleItem:!0,autoPlay:o,addClassActive:!0,navigation:!1,transitionStyle:"fade",autoHeight:!0,pagination:!0,slideSpeed:600})})}function g(){var o,t,a,e=F(".qodef-carousel-holder");e.length&&e.each(function(){var e=F(this),e=(o=e.find(".qodef-carousel"),t=o.data("items"),a="yes"===o.data("navigation"),[[0,1],[480,2],[768,3],[1024,t]]);o.owlCarousel({autoPlay:3e3,items:t,itemsCustom:e,pagination:!1,navigation:a,slideSpeed:600,navigationText:['<span class="qodef-prev-icon"><i class="fa fa-chevron-left"></i></span>','<span class="qodef-next-icon"><i class="fa fa-chevron-right"></i></span>']})})}function v(){var e=F(".qodef-pie-chart-holder, .qodef-pie-chart-with-icon-holder");e.length&&e.each(function(){var t=F(this),a=t.children(".qodef-percentage, .qodef-percentage-with-icon"),i="#f4f4f4",d="#b2dd4c",n=145,e=a.data("bar-color"),e=(void 0!==e&&(d=e),a.data("bar-inactive-color")),e=(void 0!==e&&(i=e),a.data("size"));void 0!==e&&(n=e),a.appear(function(){var e,o;(e=t).css("opacity","1"),e=e.find(".qodef-to-counter"),o=parseFloat(e.text()),e.countTo({from:0,to:o,speed:1500,refreshInterval:50}),a.css({opacity:"1",width:n+"px",height:n+"px","line-height":n+"px"}),a.easyPieChart({barColor:d,trackColor:i,scaleColor:!1,lineCap:"round",lineWidth:7,animate:1500,size:n})},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})})}function w(){F(".qodef-pie-chart-doughnut-holder, .qodef-pie-chart-pie-holder").each(function(){for(var e=F(this).find("canvas"),o=e.attr("id"),o=document.getElementById(o).getContext("2d"),t=[],a=[],i=F(o.canvas),d=1;d<=10;d++){var n=i.data("value-"+d),s=i.data("color-"+d);void 0!==n&&void 0!==s&&(t.push(n),a.push(s))}var r={data:{datasets:[{data:t,backgroundColor:a,hoverOffset:4}]}};e.hasClass("qodef-pie")?r.type="pie":r.type="doughnut",new Chart(o,r)})}function b(){var e=F(".qodef-tabs");e.length&&e.each(function(){var e=F(this);e.hasClass("qodef-horizontal")?e.tabs():e.hasClass("qodef-vertical")&&(e.tabs().addClass("ui-tabs-vertical ui-helper-clearfix"),e.find(".qodef-tabs-nav > ul >li").removeClass("ui-corner-top").addClass("ui-corner-left"))})}function _(){var e=F(".qodef-tab-container");e.length&&e.each(function(){var e=F(this),o=e.attr("id"),t="",e=(void 0===e.data("icon-html")&&"false"===e.data("icon-html")||(t=e.data("icon-html")),e.parents(".qodef-tabs").find('.qodef-tabs-nav > li > a[href="#'+o+'"]'));void 0!==e&&e.children(".qodef-icon-frame").empty().append(t)})}var y=qodef.modules.shortcodes.qodefButton=function(){var e=F(".qodef-btn");return{init:function(){e.length&&e.each(function(){var e,o,t,a,i,d,n;void 0!==(a=F(this)).data("hover-color")&&(t=function(e){e.data.button.css("color",e.data.color)},o=a.css("color"),e=a.data("hover-color"),a.on("mouseenter",{button:a,color:e},t),a.on("mouseleave",{button:a,color:o},t)),void 0!==(e=F(this)).data("hover-bg-color")&&(a=function(e){e.data.button.css("background-color",e.data.color)},o=e.css("background-color"),t=e.data("hover-bg-color"),e.on("mouseenter",{button:e,color:t},a),e.on("mouseleave",{button:e,color:o},a)),void 0!==(a=F(this)).data("hover-border-color")&&(i=function(e){e.data.button.css("border-color",e.data.color)},d=a.css("border-top-color"),n=a.data("hover-border-color"),a.on("mouseenter",{button:a,color:n},i),a.on("mouseleave",{button:a,color:d},i))})}}};function C(){var e=F(".qodef-blog-list-holder.qodef-masonry .qodef-blog-list");e.length&&e.each(function(){var e=F(this);e.animate({opacity:1}),e.isotope({itemSelector:".qodef-blog-list-masonry-item",masonry:{columnWidth:".qodef-blog-list-masonry-grid-sizer",gutter:".qodef-blog-list-masonry-grid-gutter"}})})}function e(){var e=F(".qodef-custom-font-holder");e.length&&e.each(function(){var e,o=F(this),t=1,a=1;qodef.windowWidth<1200&&(t=.8),qodef.windowWidth<1e3&&(t=.7),qodef.windowWidth<768&&(t=.6,a=.7),qodef.windowWidth<600&&(t=.5,a=.6),qodef.windowWidth<480&&(t=.4,a=.5),void 0!==o.data("font-size")&&!1!==o.data("font-size")&&(70<(e=parseInt(o.data("font-size")))?e=Math.round(e*t):35<e&&(e=Math.round(e*a)),o.css("font-size",e+"px")),void 0!==o.data("line-height")&&!1!==o.data("line-height")&&(70<(t=parseInt(o.data("line-height")))&&qodef.windowWidth<1200||35<t&&qodef.windowWidth<768?t="1.2em":t+="px",o.css("line-height",t))})}function x(){F(".qodef-google-map").length&&F(".qodef-google-map").each(function(){var e,o,t,a,i,d,n,s=F(this),s=(void 0!==s.data("custom-map-style")&&(q=s.data("custom-map-style")),void 0!==s.data("color-overlay")&&!1!==s.data("color-overlay")&&(p=s.data("color-overlay")),void 0!==s.data("saturation")&&!1!==s.data("saturation")&&(a=s.data("saturation")),void 0!==s.data("lightness")&&!1!==s.data("lightness")&&(m=s.data("lightness")),void 0!==s.data("zoom")&&!1!==s.data("zoom")&&(d=s.data("zoom")),void 0!==s.data("pin")&&!1!==s.data("pin")&&(e=s.data("pin")),void 0!==s.data("height")&&!1!==s.data("height")&&(n=s.data("height")),void 0!==s.data("unique-id")&&!1!==s.data("unique-id")&&(o=s.data("unique-id")),void 0!==s.data("scroll-wheel")&&(i=s.data("scroll-wheel")),void 0!==s.data("addresses")&&!1!==s.data("addresses")&&(t=s.data("addresses")),"map_"+o),r="qodef-map-"+o,l=e,f=s,c="geocoder_"+o,h=t;if("object"==typeof google){var u,p=[{stylers:[{hue:p},{saturation:a},{lightness:m},{gamma:1}]}],m=(a=q?"qodef-style":google.maps.MapTypeId.ROADMAP,new google.maps.StyledMapType(p,{name:"Qode Google Map"})),q=(c=new google.maps.Geocoder,new google.maps.LatLng(-34.397,150.644)),p=(isNaN(n)||(n+="px"),{zoom:d,scrollwheel:i,center:q,zoomControl:!0,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.RIGHT_CENTER},scaleControl:!1,scaleControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},streetViewControl:!1,streetViewControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},panControl:!1,panControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},mapTypeControl:!1,mapTypeControlOptions:{mapTypeIds:[google.maps.MapTypeId.ROADMAP,"qodef-style"],style:google.maps.MapTypeControlStyle.HORIZONTAL_BAR,position:google.maps.ControlPosition.LEFT_CENTER},mapTypeId:a});for((f=new google.maps.Map(document.getElementById(r),p)).mapTypes.set("qodef-style",m),u=0;u<h.length;++u)!function(a,i,d,e){var o,n;""!==a&&(o='<div id="content"><div id="siteNotice"></div><div id="bodyContent"><p>'+a+"</p></div></div>",n=new google.maps.InfoWindow({content:o}),e.geocode({address:a},function(e,o){var t;o===google.maps.GeocoderStatus.OK&&(d.setCenter(e[0].geometry.location),t=new google.maps.Marker({map:d,position:e[0].geometry.location,icon:i,title:a.store_title}),google.maps.event.addListener(t,"click",function(){n.open(d,t)}),google.maps.event.addDomListener(window,"resize",function(){d.setCenter(e[0].geometry.location)}))}))}(h[u],l,f,c);document.getElementById(r).style.height=n}})}function k(){var e=F(".qodef-accordion-holder");e.length&&e.each(function(){var e,o,t=F(this);t.hasClass("qodef-accordion")&&t.accordion({animate:"swing",collapsible:!0,active:0,icons:"",heightStyle:"content"}),t.hasClass("qodef-toggle")&&(o=(e=(t=F(this)).find(".qodef-title-holder")).next(),t.addClass("accordion ui-accordion ui-accordion-icons ui-widget ui-helper-reset"),e.addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-top ui-corner-bottom"),o.addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide(),e.each(function(){var e=F(this);e.on("hover",function(){e.toggleClass("ui-state-hover")}),e.on("click",function(){e.toggleClass("ui-accordion-header-active ui-state-active ui-state-default ui-corner-bottom"),e.next().toggleClass("ui-accordion-content-active").slideToggle(400)})}))})}function S(){var e=F(".qodef-image-gallery");e.length&&e.each(function(){var e=F(this).children(".qodef-image-gallery-slider"),o=e.data("autoplay"),t="slide"!==e.data("animation")&&e.data("animation"),a="yes"===e.data("navigation"),i="yes"===e.data("pagination");e.owlCarousel({singleItem:!0,autoPlay:1e3*o,navigation:a,transitionStyle:t,autoHeight:!0,pagination:i,slideSpeed:600,navigationText:['<span class="qodef-prev-icon"><i class="fa fa-chevron-left"></i></span>','<span class="qodef-next-icon"><i class="fa fa-chevron-right"></i></span>']})})}function A(){function x(e,o,t,a,i,d,n,s){e.text(Math.round(o*t*100)/100),1===o?a.text(o+" "+s):a.text(o+" "+s+"s"),i.width(Math.round(d/n*100)+"%")}F(".qodef-pricing-slider").each(function(){var a,i,e=F(this),o=e.find(".qodef-pricing-slider-bar-holder"),t=e.find(".qodef-pricing-slider-drag"),d=e.find(".qodef-pricing-slider-bar"),n=e.find(".qodef-pricing-slider-button-holder"),s=n.find(".active"),r=e.find(".qodef-price"),l=e.find(".qodef-pricing-slider-value"),f=e.data("unit-name")?e.data("unit-name"):"unit",c=parseFloat(e.data("units-range"))?parseFloat(e.data("units-range")):0,h=parseFloat(e.data("units-breakpoints"))?parseFloat(e.data("units-breakpoints")):0,u=parseFloat(s.data("price-per-unit"))?parseFloat(s.data("price-per-unit")):0,p=parseFloat(s.data("price-reduce-per-breakpoint"))?parseFloat(s.data("price-reduce-per-breakpoint")):0,m=h,q=0,g=o.offset().left,v=o.outerWidth()-t.outerWidth(),w=v/c,b=0,_=0;if(0<h)for(var y=c/h,C=1;C<y;C++)d.append('<span class="delimiter" style="left:'+Math.round(100/y*C)+'%;"></span>');x(r,_,u,l,d,b,v,f),n.find(".qodef-btn").on("click",function(){F(this).parent().hasClass("active")||(s.removeClass("active"),F(this).parent().addClass("active"),s=F(this).parent(),u=parseFloat(s.data("price-per-unit"))?parseFloat(s.data("price-per-unit")):0,p=parseFloat(s.data("price-reduce-per-breakpoint"))?parseFloat(s.data("price-reduce-per-breakpoint")):0,x(r,_,u-=q*p,l,d,b,v,f))}),t.draggable({axis:"x",containment:o.parent(),scrollSensitivity:10,start:function(e,o){i=o.position.left},drag:function(e,o){var t=o.position.left>i?"right":"left";i=o.position.left,a=F(this).offset(),b=a.left-g,_=Math.floor(b/w),0<=b&&b<=v&&("right"==t?m<_&&(m+=h,q++,u-=p):"left"==t&&_<=m-h&&(m-=h,q--,u+=p),x(r,_,u,l,d,b,v,f))}})})}function o(){F('.qodef-live-search-enabled input[type="text"]').each(function(){var a=F(this);a.focusin(function(){var e=a.offset().left,o=a.offset().top+a.outerHeight(),t=a.outerWidth();F("<style> .dwls_search_results { width:"+t+"px; left: "+e+"px!important; top: "+o+"px!important }</style>").appendTo("head")})})}function z(){var e=F(".qodef-portfolio-list-holder-outer.qodef-ptf-standard, .qodef-portfolio-list-holder-outer.qodef-ptf-gallery");e.length&&e.each(function(){var e,o,t=F(this);e="",(t=t).hasClass("qodef-ptf-has-filter")&&(e="."+(e=t.find(".qodef-portfolio-filter-holder-inner ul li").data("class"))),(o=t.find(".qodef-portfolio-list-holder")).mixItUp({callbacks:{onMixLoad:function(){o.find("article").css("visibility","visible")},onMixStart:function(){o.find("article").css("visibility","visible")},onMixBusy:function(){o.find("article").css("visibility","visible")}},selectors:{filter:e},animation:{effects:"fade",duration:600}}),qodef.modules.common.qodefInitParallax()})}function M(){var e=F(".qodef-portfolio-list-holder-outer.qodef-portfolio-slider-holder");e.length&&e.each(function(){var e=F(this),o=e.children(".qodef-portfolio-list-holder"),e=e.data("items");o.owlCarousel({autoPlay:5e3,items:e,itemsCustom:[[0,1],[480,2],[768,3],[1024,e]],pagination:!0,navigation:!0,slideSpeed:600,transitionStyle:"fade",navigationText:['<span class="qodef-prev-icon"><i class="fa fa-chevron-left"></i></span>','<span class="qodef-next-icon"><i class="fa fa-chevron-right"></i></span>']})})}function P(){var e=F(".qodef-portfolio-list-holder-outer.qodef-ptf-load-more");e.length&&e.each(function(){var a,i,d=F(this),n=d.find(".qodef-portfolio-list-holder"),s=d.find(".qodef-ptf-list-load-more a");void 0!==d.data("max-num-pages")&&!1!==d.data("max-num-pages")&&(i=d.data("max-num-pages")),s.on("click",function(e){var o=function(e){var o={type:"",columns:"",gridSize:"",orderBy:"",order:"",number:"",filter:"",filterOrderBy:"",category:"",selectedProjectes:"",showLoadMore:"",titleTag:"",nextPage:"",maxNumPages:""};void 0!==e.data("type")&&!1!==e.data("type")&&(o.type=e.data("type"));void 0!==e.data("grid-size")&&!1!==e.data("grid-size")&&(o.gridSize=e.data("grid-size"));void 0!==e.data("columns")&&!1!==e.data("columns")&&(o.columns=e.data("columns"));void 0!==e.data("order-by")&&!1!==e.data("order-by")&&(o.orderBy=e.data("order-by"));void 0!==e.data("order")&&!1!==e.data("order")&&(o.order=e.data("order"));void 0!==e.data("number")&&!1!==e.data("number")&&(o.number=e.data("number"));void 0!==e.data("filter")&&!1!==e.data("filter")&&(o.filter=e.data("filter"));void 0!==e.data("filter-order-by")&&!1!==e.data("filter-order-by")&&(o.filterOrderBy=e.data("filter-order-by"));void 0!==e.data("category")&&!1!==e.data("category")&&(o.category=e.data("category"));void 0!==e.data("selected-projects")&&!1!==e.data("selected-projects")&&(o.selectedProjectes=e.data("selected-projects"));void 0!==e.data("show-load-more")&&!1!==e.data("show-load-more")&&(o.showLoadMore=e.data("show-load-more"));void 0!==e.data("title-tag")&&!1!==e.data("title-tag")&&(o.titleTag=e.data("title-tag"));void 0!==e.data("next-page")&&!1!==e.data("next-page")&&(o.nextPage=e.data("next-page"));void 0!==e.data("max-num-pages")&&!1!==e.data("max-num-pages")&&(o.maxNumPages=e.data("max-num-pages"));return o}(d),t=(a=o.nextPage,d.find('input[name*="qodef_ptf_load_more_nonce_"]'));o.ptf_load_more_id=t.attr("name").substring(t.attr("name").length-4,t.attr("name").length),o.ptf_load_more_nonce=t.val(),e.preventDefault(),e.stopPropagation(),a<=i&&(t={action:"qode_core_portfolio_ajax_load_more",type:o.type,columns:o.columns,gridSize:o.gridSize,orderBy:o.orderBy,order:o.order,number:o.number,filter:o.filter,filterOrderBy:o.filterOrderBy,category:o.category,selectedProjectes:o.selectedProjectes,showLoadMore:o.showLoadMore,titleTag:o.titleTag,nextPage:o.nextPage,ptf_load_more_id:o.ptf_load_more_id,ptf_load_more_nonce:o.ptf_load_more_nonce},F.ajax({type:"POST",data:t,url:qodeCoreAjaxUrl,success:function(e){a++,d.data("next-page",a);var t,e=F.parseJSON(e),o=(e=e.html,e=F.trim(e),e=F(e),t=F(),e.each(function(e,o){1===o.nodeType&&(t=t.add(this))}),t);d.waitForImages(function(){setTimeout(function(){n.mixItUp("append",o)},400)})}})),a===i&&s.hide()})})}function T(){var t;F("#qodef-particles").length&&((t={}).container=F("#qodef-particles"),t.options={},t.handle_resize=function(){t.container.is(".fullscreen")&&t.container.height(F(window).height())},t.load_options=function(){function e(e){return t.container.attr(e)&&t.container.attr(e).length}function o(e){return t.container.data(e)}t.options={particles_number:e("data-particles-density")?"high"==o("particles-density")?180:"medium"==o("particles-density")?120:60:60,particles_color:e("data-particles-color")?o("particles-color"):"#e2e2e2",particles_opacity:e("data-particles-opacity")?o("particles-opacity"):1,particles_size:e("data-particles-size")?o("particles-size"):5,speed:e("data-speed")?o("speed"):5,show_lines:!!e("data-show-lines")&&"yes"==o("show-lines"),line_length:e("data-line-length")?o("line-length"):100,hover:!!e("data-hover")&&"yes"==o("hover"),click:!!e("data-click")&&"yes"==o("click")}},t.record_size=function(){t.size={width:t.container.width(),height:t.container.height()}},t.init_particles=function(){particlesJS("qodef-p-particles-container",{particles:{number:{value:t.options.particles_number,density:{enable:!0,value_area:800}},color:{value:t.options.particles_color},shape:{type:"circle",stroke:{width:0,color:"#000000"},polygon:{nb_sides:5},image:{src:"img/github.svg",width:100,height:100}},opacity:{value:t.options.particles_opacity,random:!1,anim:{enable:!1,speed:1,opacity_min:.1,sync:!1}},size:{value:t.options.particles_size,random:!0,anim:{enable:!1,speed:80,size_min:2,sync:!1}},line_linked:{enable:t.options.show_lines,distance:t.options.line_length,color:t.options.particles_color,opacity:.4,width:2},move:{enable:!0,speed:t.options.speed,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:600,rotateY:1200}}},interactivity:{detect_on:"canvas",events:{onhover:{enable:t.options.hover,mode:"grab"},onclick:{enable:t.options.click,mode:"push"},resize:!0},modes:{grab:{distance:2*t.options.line_length,line_linked:{opacity:.7}},bubble:{distance:800,size:80,duration:2,opacity:.8,speed:3},repulse:{distance:400,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}}},retina_detect:!0})},t.init_content_pos=function(){var e=t.container.find(".qodef-p-content");e.attr("data-width")&&e.attr("data-width").length&&e.css("width",e.data("width")+"%"),t.container.is(".auto")&&(e.attr("data-margin-top")&&e.attr("data-margin-top").length&&e.css("margin-top",e.data("margin-top")),e.attr("data-margin-bottom"))&&e.attr("data-margin-bottom").length&&e.css("margin-bottom",e.data("margin-bottom"))},t.init=function(){t.record_size(),t.load_options(),t.handle_resize(),t.init_content_pos(),t.init_particles(),F(window).resize(t.handle_resize)},d.qodefParticles=t,F(window).on("load",t.init),F(document).ready(t.init_content_pos))}var t=qodef.modules.shortcodes.qodefSlider=function(){function a(e){return e.match(o)[0].substr(1).split(",").map(function(e){return parseFloat(e)})}function t(e,o,t,a){var i=o;a||(qodef.windowWidth>t[0]?i=o:qodef.windowWidth>t[1]?i=.75*o:qodef.windowWidth>t[2]?i=.6*o:qodef.windowWidth>t[3]?i=.55*o:qodef.windowWidth<=t[3]&&(i=.45*o)),e.css({height:i+"px"}),e.find(".qodef-slider-preloader").css({height:i+"px"}),e.find(".qodef-slider-preloader .qodef-ajax-loader").css({display:"block"}),e.find(".item").css({height:i+"px"})}function i(e){var o=qodef.windowWidth<1e3?qodefGlobalVars.vars.qodefMobileHeaderHeight+F(".qodef-top-bar").height():0;e.css({height:qodef.windowHeight-o+"px"}),e.find(".qodef-slider-preloader").css({height:qodef.windowHeight+"px"}),e.find(".qode-slider-preloader .qodef-ajax-loader").css({display:"block"}),e.find(".item").css({height:qodef.windowHeight+"px"})}function d(e,o,t,a,i,d){function n(e,o,t,a,i){q=e,g=o,v=t,w=a,b=i}qodef.windowWidth>e[0]?n(o[0],t[0],a[0],i[0],d[0]):qodef.windowWidth>e[1]?n(o[1],t[1],a[1],i[1],d[1]):qodef.windowWidth>e[2]?n(o[2],t[2],a[2],i[2],d[2]):qodef.windowWidth>e[3]?n(o[3],t[3],a[3],i[3],d[3]):qodef.windowWidth>e[4]?n(o[4],t[4],a[4],i[4],d[4]):qodef.windowWidth>e[5]?n(o[5],t[5],a[5],i[5],d[5]):n(o[6],t[6],a[6],i[6],d[6]),_=v,y=w,qodef.windowWidth<=e[0]&&(_=v/2,y=w/2)}function n(e,o,t){t&&(q=g=v=w=b=_=y=1),e.find(".qodef-thumb").css({width:Math.round(window["slider_graphic_width_"+o][0]*q)+"px",height:Math.round(window["slider_graphic_height_"+o][0]*q)+"px"}),e.find(".qodef-slide-title").css({"font-size":Math.round(window["slider_title_"+o][0]*g)+"px","line-height":Math.round(window["slider_title_"+o][1]*g)+"px","letter-spacing":Math.round(window["slider_title_"+o][2]*g)+"px","margin-bottom":Math.round(window["slider_title_"+o][3]*g)+"px"}),e.find(".qodef-slide-subtitle").css({"font-size":Math.round(window["slider_subtitle_"+o][0]*v)+"px","line-height":Math.round(window["slider_subtitle_"+o][1]*v)+"px","margin-bottom":Math.round(window["slider_subtitle_"+o][3]*v)+"px","letter-spacing":Math.round(window["slider_subtitle_"+o][2]*_)+"px"}),e.find(".qodef-slide-text").css({"font-size":Math.round(window["slider_text_"+o][0]*w)+"px","line-height":Math.round(window["slider_text_"+o][1]*w)+"px","letter-spacing":Math.round(window["slider_text_"+o][2]*y)+"px"}),e.find(".qodef-btn:eq(0)").css({"font-size":Math.round(window["slider_button1_"+o][0]*b)+"px","line-height":Math.round(window["slider_button1_"+o][1]*b)+"px","letter-spacing":Math.round(window["slider_button1_"+o][2]*b)+"px","padding-top":Math.round(window["slider_button1_"+o][3]*b)+"px","padding-bottom":Math.round(window["slider_button1_"+o][3]*b)+"px","padding-left":Math.round(window["slider_button1_"+o][4]*b)+"px","padding-right":Math.round(window["slider_button1_"+o][4]*b)+"px"}),e.find(".qodef-btn:eq(1)").css({"font-size":Math.round(window["slider_button2_"+o][0]*b)+"px","line-height":Math.round(window["slider_button2_"+o][1]*b)+"px","letter-spacing":Math.round(window["slider_button2_"+o][2]*b)+"px","padding-top":Math.round(window["slider_button2_"+o][3]*b)+"px","padding-bottom":Math.round(window["slider_button2_"+o][3]*b)+"px","padding-left":Math.round(window["slider_button2_"+o][4]*b)+"px","padding-right":Math.round(window["slider_button2_"+o][4]*b)+"px"})}function s(e){var o;e.find(".item").each(function(e){var o,t;o=F(this),t=e,window["slider_graphic_width_"+t]=[],window["slider_graphic_height_"+t]=[],window["slider_title_"+t]=[],window["slider_subtitle_"+t]=[],window["slider_text_"+t]=[],window["slider_button1_"+t]=[],window["slider_button2_"+t]=[],window["slider_graphic_width_"+t].push(parseFloat(o.find(".qodef-thumb img").data("width"))),window["slider_graphic_height_"+t].push(parseFloat(o.find(".qodef-thumb img").data("height"))),window["slider_title_"+t].push(parseFloat(o.find(".qodef-slide-title").css("font-size"))),window["slider_subtitle_"+t].push(parseFloat(o.find(".qodef-slide-subtitle").css("font-size"))),window["slider_text_"+t].push(parseFloat(o.find(".qodef-slide-text").css("font-size"))),window["slider_button1_"+t].push(parseFloat(o.find(".qodef-btn:eq(0)").css("font-size"))),window["slider_button2_"+t].push(parseFloat(o.find(".qodef-btn:eq(1)").css("font-size"))),window["slider_title_"+t].push(parseFloat(o.find(".qodef-slide-title").css("line-height"))),window["slider_subtitle_"+t].push(parseFloat(o.find(".qodef-slide-subtitle").css("line-height"))),window["slider_text_"+t].push(parseFloat(o.find(".qodef-slide-text").css("line-height"))),window["slider_button1_"+t].push(parseFloat(o.find(".qodef-btn:eq(0)").css("line-height"))),window["slider_button2_"+t].push(parseFloat(o.find(".qodef-btn:eq(1)").css("line-height"))),window["slider_title_"+t].push(parseFloat(o.find(".qodef-slide-title").css("letter-spacing"))),window["slider_subtitle_"+t].push(parseFloat(o.find(".qodef-slide-subtitle").css("letter-spacing"))),window["slider_text_"+t].push(parseFloat(o.find(".qodef-slide-text").css("letter-spacing"))),window["slider_button1_"+t].push(parseFloat(o.find(".qodef-btn:eq(0)").css("letter-spacing"))),window["slider_button2_"+t].push(parseFloat(o.find(".qodef-btn:eq(1)").css("letter-spacing"))),window["slider_title_"+t].push(parseFloat(o.find(".qodef-slide-title").css("margin-bottom"))),window["slider_subtitle_"+t].push(parseFloat(o.find(".qodef-slide-subtitle").css("margin-bottom"))),window["slider_button1_"+t].push(parseFloat(o.find(".qodef-btn:eq(0)").css("padding-top"))),window["slider_button2_"+t].push(parseFloat(o.find(".qodef-btn:eq(1)").css("padding-top"))),window["slider_button1_"+t].push(parseFloat(o.find(".qodef-btn:eq(0)").css("padding-left"))),window["slider_button2_"+t].push(parseFloat(o.find(".qodef-btn:eq(1)").css("padding-left"))),n(F(this),e,!1)}),e.hasClass("qodef-full-screen")?(i(e),F(window).resize(function(){d(x,c,h,u,p,m),i(e),e.find(".item").each(function(e){n(F(this),e,!1)})})):e.hasClass("qodef-responsive-height")?(o=e.data("height"),t(e,o,x,!1),F(window).resize(function(){d(x,c,h,u,p,m),t(e,o,x,!1),e.find(".item").each(function(e){n(F(this),e,!1)})})):(o=e.data("height"),e.find(".qodef-slider-preloader").css({height:e.height()+"px"}),e.find(".qodef-slider-preloader .qodef-ajax-loader").css({display:"block"}),qodef.windowWidth<1e3?t(e,o,x,!1):t(e,o,x,!0),F(window).resize(function(){d(x,c,h,u,p,m),qodef.windowWidth<1e3?(t(e,o,x,!1),e.find(".item").each(function(e){n(F(this),e,!1)})):(t(e,o,x,!0),e.find(".item").each(function(e){n(F(this),e,!0)}))}))}function r(e,o,t){1===o?(e.find(".left.carousel-control .prev").html(t),e.find(".right.carousel-control .next").html(o+1)):o===t?(e.find(".left.carousel-control .prev").html(o-1),e.find(".right.carousel-control .next").html(1)):(e.find(".left.carousel-control .prev").html(o-1),e.find(".right.carousel-control .next").html(o+1))}function l(a,e,o){function t(e){var o,t,e=a.find(".item").eq(e-1);return 0<e.find(".qodef-image").length?(t=/url\(["']?([^'")]+)['"]?\)/.exec(e.find(".qodef-image").attr("style")),(o=new Image).src=t[1]):((o=e.find("> .qodef-video").clone()).find(".qodef-video-overlay").remove(),o.find(".qodef-video-wrap").width(70).height(70),o.find(".mejs-container").width(70).height(70),o.find(".mejs-controls").remove(),o.find("video").width(70).height(70)),o}(1===parseInt(e)?(a.find(".left.carousel-control .qodef-thumb-holder .img").hide().html(t(o)).fadeIn("slow"),a.find(".right.carousel-control .qodef-thumb-holder .img").hide().html(t(e+1))):parseInt(e)===parseInt(o)?(a.find(".left.carousel-control .qodef-thumb-holder .img").hide().html(t(e-1)).fadeIn("slow"),a.find(".right.carousel-control .qodef-thumb-holder .img").hide().html(t(1))):(a.find(".left.carousel-control .qodef-thumb-holder .img").hide().html(t(e-1)).fadeIn("slow"),a.find(".right.carousel-control .qodef-thumb-holder .img").hide().html(t(e+1)))).fadeIn("slow")}function f(e,o,t){var a;e.find(".carousel-inner .item:first-child").addClass("active"),I(F(".carousel .active"),e.hasClass("qodef-header-effect")),W(e,F(".carousel .active"),e.hasClass("qodef-navigation-effect")),e.hasClass("qodef-slider-numbers")&&r(e,1,o),e.hasClass("qodef-slider-thumbs")&&l(e,1,o),e.find(".item video").length&&(A(e),a=e,F(".item .qodef-video-wrap .video").mediaelementplayer({enableKeyboard:!1,iPadUseNativeControls:!1,pauseOtherPlayers:!1,iPhoneUseNativeControls:!1,AndroidUseNativeControls:!1}),F(window).resize(function(){A(a)}),navigator.userAgent.match(/(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/))&&(F(".qodef-slider .qodef-mobile-video-image").show(),F(".qodef-slider .qodef-video-wrap").remove()),e.hasClass("qodef-auto-start")?(e.carousel({interval:t,pause:!1}),e.find(".slide_buttons_holder .qbutton").mouseenter(function(){e.carousel("pause")}).mouseleave(function(){e.carousel("cycle")})):e.carousel({interval:0,pause:!1}),F(".carousel-inner .item:first-child").hasClass("qodef-animate-image")&&1e3<qodef.windowWidth&&e.find(".carousel-inner .item.qodef-animate-image:first-child .qodef-image").transformAnimate({transform:"matrix("+k[F(".carousel-inner .item:first-child").data("qodef_animate_image")]+")",duration:3e4})}var c,h,u,p,m,q,g,v,w,b,_,y,e=F(".qodef-slider .carousel"),C=/url\(["']?([^'")]+)['"]?\)/,x=[1600,1200,900,650,500,320],k={zoom_center:"1.2, 0, 0, 1.2, 0, 0",zoom_top_left:"1.2, 0, 0, 1.2, -150, -150",zoom_top_right:"1.2, 0, 0, 1.2, 150, -150",zoom_bottom_left:"1.2, 0, 0, 1.2, -150, 150",zoom_bottom_right:"1.2, 0, 0, 1.2, 150, 150"},o=/\([0-9epx\.\, \t\-]+/gi,S=["transform","-webkit-transform"],A=(F.fn.transformAnimate=function(s){var o,t,e={transform:"matrix(1,0,0,1,0,0)"},r=(F.extend(e,s),this.css("percentAnim",0),o=this,t=null,S.some(function(e){return null!==(t=o.css(e))&&""!==t}),a(t=t&&"none"!==t?t:"matrix(1,0,0,1,0,0)")),l=a(e.transform);return e.step=function(t,e){for(var o=F(this),a=r.map(function(e,o){return o=l[o],e+t/100*(o-e)}),i=o,d="matrix("+a.join(",")+")",n=S.length-1;0<=n;--n)i.css(S[n],d+" rotate(0.01deg)");s.step&&s.step.apply(this,[a,e])},this.stop().animate({percentAnim:100},e)},function(e){var i;e.find(".item .qodef-video .qodef-video-wrap").each(function(){var e=qodef.windowWidth,o=F(this).closest(".carousel").height(),t=(F(this).width(e),i=1920/1080*(o+20),F(this).height(o),e/1920),a=(o-qodefGlobalVars.vars.qodefMenuAreaHeight)/1080,t=a<t?t:a;1920*t<i&&(t=i/1920),F(this).find("video, .mejs-overlay, .mejs-poster").width(Math.ceil(1920*t+2)),F(this).find("video, .mejs-overlay, .mejs-poster").height(Math.ceil(1080*t+2)),F(this).scrollLeft((F(this).find("video").width()-e)/2),F(this).find(".mejs-overlay, .mejs-poster").scrollTop((F(this).find("video").height()-o)/2),F(this).scrollTop((F(this).find("video").height()-o)/2)})});return{init:function(){e.length&&(e.each(function(){var e,o,t=F(this),a=t.data("slide_animation_timeout"),i=t.find(".item").length;t.data("qodef_responsive_breakpoints")&&"set2"===t.data("qodef_responsive_breakpoints")&&(x=[1600,1300,1e3,768,567,320]),c=t.data("qodef_responsive_graphic_coefficients").split(","),h=t.data("qodef_responsive_title_coefficients").split(","),u=t.data("qodef_responsive_subtitle_coefficients").split(","),p=t.data("qodef_responsive_text_coefficients").split(","),m=t.data("qodef_responsive_button_coefficients").split(","),d(x,c,h,u,p,m),s(t),qodef.htmlEl.hasClass("touch")?(e=0<t.find(".item:first-child .qodef-mobile-video-image").length?C.exec(t.find(".item:first-child .qodef-mobile-video-image").attr("style")):C.exec(t.find(".item:first-child .qodef-image").attr("style")))&&((o=new Image).src=e[1],F(o).load(function(){F(".qodef-slider-preloader").fadeOut(500),f(t,i,a)})):0<t.find(".item:first-child video").length?(F(".qodef-slider-preloader").fadeOut(500),f(t,i,a)):(e=C.exec(t.find(".item:first-child .qodef-image").attr("style")))&&((o=new Image).src=e[1],F(o).load(function(){F(".qodef-slider-preloader").fadeOut(500),f(t,i,a)})),t.on("slide.bs.carousel",function(){t.addClass("qodef-in-progress"),t.find(".active .qodef-slider-content-outer").fadeTo(250,0)}),t.on("slid.bs.carousel",function(){var e;t.removeClass("qodef-in-progress"),t.find(".active .qodef-slider-content-outer").fadeTo(0,1),t.hasClass("qodef-slider-numbers")&&(e=F(".item").index(F(".item.active")[0])+1,r(t,e,i)),t.hasClass("qodef-slider-thumbs")&&(e=F(".item").index(F(".item.active")[0])+1,l(t,e,i)),t.hasClass("qodef-navigation-effect")&&W(t,F(".carousel .active"),!0),F(".item.qodef-animate-image .qodef-image").stop().css({transform:"","-webkit-transform":""}),F(".item.active").hasClass("qodef-animate-image")&&1e3<qodef.windowWidth&&F(".item.qodef-animate-image.active .qodef-image").transformAnimate({transform:"matrix("+k[F(".item.qodef-animate-image.active").data("qodef_animate_image")]+")",duration:3e4})}),t.swipe({swipeLeft:function(){t.carousel("next")},swipeRight:function(){t.carousel("prev")},threshold:20,allowPageScroll:"vertical"})}),F(".no-touchevents .carousel").length&&skrollr.init({smoothScrolling:!1,forceHeight:!1}).refresh(),F(window).scroll(function(){F(".qodef-slider .carousel").height()<qodef.scroll?F(".qodef-slider .carousel").addClass("qodef-disable-slider-header-style-changing"):(F(".qodef-slider .carousel").removeClass("qodef-disable-slider-header-style-changing"),I(F(".qodef-slider .carousel .active"),F(".qodef-slider .carousel").hasClass("qodef-header-effect"))),F(".qodef-slider .carousel").hasClass("qodef-full-screen")&&qodef.scroll>qodef.windowHeight&&1e3<qodef.windowWidth||!F(".qodef-slider .carousel").hasClass("qodef-full-screen")&&qodef.scroll>F(".qodef-slider .carousel").height()&&1e3<qodef.windowWidth?F(".qodef-slider .carousel").find(".carousel-inner, .carousel-indicators").hide():F(".qodef-slider .carousel").find(".carousel-inner, .carousel-indicators").show()}))}}};function I(e,o){var t;0<F(".qodef-slider .carousel").not(".qodef-disable-slider-header-style-changing").length&&(t="",e.hasClass("light")&&(t="qodef-light-header"),""!==(t=e.hasClass("dark")?"qodef-dark-header":t)?o&&qodef.body.removeClass("qodef-dark-header qodef-light-header").addClass(t):o&&qodef.body.removeClass("qodef-dark-header qodef-light-header").addClass(qodef.defaultHeaderStyle))}function W(e,o,t){var a="";o.hasClass("light")&&(a="qodef-light-navigation"),""!==(a=o.hasClass("dark")?"qodef-dark-navigation":a)?t&&e.removeClass("qodef-light-navigation qodef-dark-navigation").addClass(a):e.removeClass("qodef-light-navigation qodef-dark-navigation")}}(jQuery),function(s){"use strict";s(document).ready(function(){var e;s(document).on("click",".qodef-quantity-minus, .qodef-quantity-plus",function(e){e.stopPropagation();var o,e=s(this),t=e.siblings(".qodef-quantity-input"),a=parseFloat(t.attr("step")),i=parseFloat(t.attr("max")),d=parseFloat(t.attr("min")),n=!1,d="function"==typeof Number.isNaN&&Number.isNaN(parseFloat(t.val()))?d:parseFloat(t.val());(n=e.hasClass("qodef-quantity-minus")?!0:n)?1<=(o=d-a)?t.val(o):t.val(1):(o=d+a,void 0!==i&&i<=o?t.val(i):t.val(o)),t.trigger("change")}),(s(".woocommerce-ordering .orderby").length||s("#calc_shipping_country").length)&&(s(".woocommerce-ordering .orderby").select2({minimumResultsForSearch:1/0}),s("#calc_shipping_country").select2()),0<s("table.variations").length&&s("table.variations").find("td.value").each(function(){s(this).find("select").select2({minimumResultsForSearch:-1}).on("select2-opening",function(){s(this).trigger("focusin")})}),(e=s(".woocommerce.single-product .product .images .woocommerce-product-gallery__image")).length&&e.each(function(){s(this).children("a").attr("data-rel","prettyPhoto[woo_single_pretty_photo]"),s("a[data-rel]").each(function(){s(this).attr("rel",s(this).data("rel"))}),s("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: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})})})}(jQuery),function(n){"use strict";qodef.modules.portfolio={},n(window).on("load",function(){e().init()});var e=function(){var e,o,t,a,i,d=n(".qodef-follow-portfolio-info .small-images.qodef-portfolio-single-holder .qodef-portfolio-info-holder, .qodef-follow-portfolio-info .small-slider.qodef-portfolio-single-holder .qodef-portfolio-info-holder");d.length&&(a=d.parent(),e=a.offset().top,o=a.height(),t=n(".qodef-portfolio-media").height(),a=n(".header-appear, .qodef-fixed-wrapper"),i=a.length?a.height():0);return{init:function(){d.length&&o<t&&qodef.scroll>e&&d.animate({marginTop:qodef.scroll-e+qodefGlobalVars.vars.qodefAddForAdminBar+i+20}),n(window).scroll(function(){d.length&&o<t&&(qodef.scroll>e?qodef.scroll+i+qodefGlobalVars.vars.qodefAddForAdminBar+o+20<e+t?(n(".header-appear, .qodef-fixed-wrapper").length&&(i=n(".header-appear, .qodef-fixed-wrapper").height()),d.stop().animate({marginTop:qodef.scroll-e+qodefGlobalVars.vars.qodefAddForAdminBar+i+20}),i=0):d.stop().animate({marginTop:t-o}):d.stop().animate({marginTop:0}))})}}}}(jQuery);