!function(a){"use strict";switch(window.qodef={},qodef.modules={},qodef.scroll=0,qodef.window=a(window),qodef.document=a(document),qodef.windowWidth=a(window).width(),qodef.windowHeight=a(window).height(),qodef.body=a("body"),qodef.html=a("html, body"),qodef.htmlEl=a("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}a(document).ready(function(){qodef.scroll=a(window).scrollTop(),qodef.body.hasClass("qodef-dark-header")&&(qodef.defaultHeaderStyle="qodef-dark-header"),qodef.body.hasClass("qodef-light-header")&&(qodef.defaultHeaderStyle="qodef-light-header")}),a(window).resize(function(){qodef.windowWidth=a(window).width(),qodef.windowHeight=a(window).height()}),a(window).scroll(function(){qodef.scroll=a(window).scrollTop()})}(jQuery),function(a){"use strict";function b(){fluidvids.init({selector:["iframe"],players:["www.youtube.com","player.vimeo.com"]})}function c(){var b=a(".qodef-owl-slider");b.length&&b.each(function(){var b=a(this);b.waitForImages(function(){b.owlCarousel({singleItem:!0,transitionStyle:"fadeUp",navigation:!0,autoHeight:!0,pagination:!1,navigationText:['','']})})})}function d(){a(".qodef-preload-background").each(function(){var b=a(this);if(""!==b.css("background-image")&&"none"!=b.css("background-image")){var c=b.attr("style");if(c=c.match(/url\(["']?([^'")]+)['"]?\)/),c=c?c[1]:""){var d=new Image;d.src=c,a(d).load(function(){b.removeClass("qodef-preload-background")})}}else a(window).load(function(){b.removeClass("qodef-preload-background")})})}function e(){a("a[data-rel^='prettyPhoto']").prettyPhoto({hook:"data-rel",animation_speed:"normal",slideshow:!1,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,horizontal_padding:0,default_width:960,default_height:540,counter_separator_label:"/",theme:"pp_default",hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,overlay_gallery:!1,keyboard_shortcuts:!0,deeplinking:!1,custom_markup:"",social_tools:!1,markup:'
 
Expand

{pp_social} Close
'})}function f(){if(a("[data-qodef_header_style]").length>0&&qodef.body.hasClass("qodef-header-style-on-scroll")){var b=a(".wpb_row.qodef-section"),c=function(a){void 0!==a.data("qodef_header_style")?qodef.body.removeClass("qodef-dark-header qodef-light-header").addClass(a.data("qodef_header_style")):qodef.body.removeClass("qodef-dark-header qodef-light-header").addClass(""+qodef.defaultHeaderStyle)};b.waypoint(function(b){"down"===b&&c(a(this.element))},{offset:0}),b.waypoint(function(b){"up"===b&&c(a(this.element))},{offset:function(){return-a(this.element).outerHeight()}})}}function g(){var b,c,d=a(".qodef-no-animations-on-touch"),e=!0,f=a(".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"),g=["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"];d.length&&(e=!1),f.length>0&&e&&f.each(function(){var d=a(this);b=d.attr("class").split(/\s+/);var e=0;b.map(function(a,b){if(-1!==g.indexOf(a))return e=b,!1}),c=b[e],d.data("animation",c),d.appear(function(){d.addClass(d.data("animation")+"-on")},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})})}function h(){a(".qodef-parallax-section-holder").length&&a(".qodef-parallax-section-holder").each(function(){var b=a(this);b.hasClass("qodef-full-screen-height-parallax")&&(b.height(qodef.windowHeight),b.find(".qodef-parallax-content-outer").css("padding",0));var c=.4*b.data("qodef-parallax-speed");b.parallax("50%",c)})}function i(){a(".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)/)&&(j(),a(".qodef-section .qodef-mobile-video-image").show(),a(".qodef-section .qodef-video-wrap").remove())}function j(){a(".qodef-section .qodef-video-wrap").each(function(){var b=a(this),c=b.closest(".qodef-section").outerWidth();b.width(c);var d=b.closest(".qodef-section").outerHeight();qodef.minVideoWidth=qodef.videoRatio*(d+20),b.height(d);var e=c/qodef.videoWidthOriginal,f=d/qodef.videoHeightOriginal,g=f;e>f&&(g=e),g*qodef.videoWidthOriginal0?c+d/2:1,s(b<1e3?"off":"on")})}function u(){a("#qodef-back-to-top").on("click",function(a){a.preventDefault(),qodef.html.animate({scrollTop:0},qodef.window.scrollTop()/3,"linear")})}function v(){qodef.windowWidth>1024&&a(".qodef-footer-top .qodef-column").css("min-height",0).css("min-height",a(".qodef-footer-top > div").innerHeight())}function w(b){a(b).length>0&&a(b).bind("touchstart",function(){})}function x(){qodef.body.hasClass("qodef-smooth-page-transitions")&&(a(window).bind("pageshow",function(b){b.originalEvent.persisted&&a(".qodef-wrapper-inner").fadeIn(0)}),a("a").click(function(b){var c=a(this);1==b.which&&void 0===c.data("rel")&&void 0===c.attr("rel")&&c.attr("href").indexOf(window.location.host)>=0&&(void 0===c.attr("target")||"_self"===c.attr("target"))&&c.attr("href").split("#")[0]!==window.location.href.split("#")[0]&&(b.preventDefault(),a(".qodef-wrapper-inner").fadeOut(1e3,function(){window.location=c.attr("href")}))}))}var y={};qodef.modules.common=y,qodef.touchClasses=[".qodef-process-item",".qodef-team",".qodef-underline-icon-box-holder",".qodef-icon-shortcode",".qodef-slider"],y.qodefFluidVideo=b,y.qodefPreloadBackgrounds=d,y.qodefPrettyPhoto=e,y.qodefCheckHeaderStyleOnScroll=f,y.qodefInitParallax=h,y.qodefEnableScroll=m,y.qodefDisableScroll=l,y.qodefWheel=n,y.qodefKeydown=o,y.qodefPreventDefaultValue=p,y.qodefOwlSlider=c,y.qodefInitSelfHostedVideoPlayer=q,y.qodefSelfHostedVideoSize=r,y.qodefInitBackToTop=u,y.qodefBackButtonShowHide=t,y.qodefSetFooterColumnsHeight=v,y.qodefSmoothTransition=x,a(document).ready(function(){b(),d(),e(),g(),z().init(),i(),j(),k(),c(),q(),r(),u(),t(),x(),qodef.touchClasses.forEach(w)}),a(window).load(function(){f(),v(),h()}),a(window).resize(function(){j(),r(),v()});var z=qodef.modules.common.qodefInitAnchor=function(){var b=function(b){a(".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"),b.parent().addClass("qodef-active-item"),a(".qodef-main-menu a, .qodef-mobile-nav a, .qodef-vertical-menu a, .qodef-fullscreen-menu a").removeClass("current"),b.addClass("current")},c=function(){a("[data-qodef-anchor]").waypoint(function(c){"down"===c&&b(a("a[href='"+window.location.href.split("#")[0]+"#"+a(this.element).data("qodef-anchor")+"']"))},{offset:"50%"}),a("[data-qodef-anchor]").waypoint(function(c){"up"===c&&b(a("a[href='"+window.location.href.split("#")[0]+"#"+a(this.element).data("qodef-anchor")+"']"))},{offset:function(){return-(a(this.element).outerHeight()-150)}})},d=function(){var b=window.location.hash.split("#")[1];if(""!==b&&a('[data-qodef-anchor="'+b+'"]').length>0){var c=window.location.href.split("#")[0]+"#"+b;if(a("a[href='"+c+"']").length)a("a[href='"+c+"']").trigger("click");else{a("").attr({href:c,class:"qodef-anchor"}).appendTo("body").trigger("click")}}},e=function(a){return"qodef-sticky-header-on-scroll-down-up"==qodef.modules.header.behaviour&&(a>qodef.modules.header.stickyAppearAmount?qodef.modules.header.isStickyVisible=!0:qodef.modules.header.isStickyVisible=!1),"qodef-sticky-header-on-scroll-up"==qodef.modules.header.behaviour&&a>qodef.scroll&&(qodef.modules.header.isStickyVisible=!1),qodef.modules.header.isStickyVisible?qodefGlobalVars.vars.qodefStickyHeaderTransparencyHeight:qodefPerPageVars.vars.qodefHeaderTransparencyHeight},f=function(){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 c,d=a(this),f=d.prop("hash").split("#")[1];if(""!==f&&a('[data-qodef-anchor="'+f+'"]').length>0){var g=a('[data-qodef-anchor="'+f+'"]').offset().top;return c=a('[data-qodef-anchor="'+f+'"]').offset().top-e(g),b(d),qodef.html.stop().animate({scrollTop:Math.round(c)},1e3,function(){history.replaceState&&history.replaceState(null,null,"#"+f)}),!1}})};return{init:function(){a("[data-qodef-anchor]").length&&(f(),c(),a(window).load(function(){d()}))}}}}(jQuery),function(a){"use strict";function b(){var b,c=a(".qodef-page-header"),d=a(".qodef-sticky-header"),e=a(".qodef-fixed-wrapper"),f=a(".qodef-page-header").find(".qodef-fixed-wrapper").length?a(".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 g=a(document).scrollTop();b=qodefGlobalVars.vars.qodefTopBarHeight+qodefGlobalVars.vars.qodefLogoAreaHeight+qodefGlobalVars.vars.qodefMenuAreaHeight+qodefGlobalVars.vars.qodefStickyHeaderHeight;var h=function(){var c=a(document).scrollTop();c>g&&c>b||c'),f=!0):qodef.body.hasClass("qodef-side-menu-slide-with-content")?(b="qodef-side-menu-open",g=!0):qodef.body.hasClass("qodef-side-area-uncovered-from-content")&&(b="qodef-right-side-menu-opened",h=!0),a("a.qodef-side-menu-button-opener, a.qodef-close-side-menu").click(function(i){if(i.preventDefault(),e.hasClass("opened")){if(e.removeClass("opened"),qodef.body.removeClass(b),h)var j=setTimeout(function(){d.css({visibility:"hidden"}),clearTimeout(j)},400)}else{e.addClass("opened"),qodef.body.addClass(b),f&&a(".qodef-wrapper .qodef-cover").click(function(){qodef.body.removeClass("qodef-right-side-menu-opened"),e.removeClass("opened")}),h&&d.css({visibility:"visible"});var k=a(window).scrollTop();a(window).scroll(function(){if(Math.abs(qodef.scroll-k)>400&&(qodef.body.removeClass(b),e.removeClass("opened"),h))var a=setTimeout(function(){d.css({visibility:"hidden"}),clearTimeout(a)},400)})}g&&(i.stopPropagation(),c.click(function(){i.preventDefault(),e.removeClass("opened"),qodef.body.removeClass("qodef-side-menu-open")}))})}function d(){var b=a(".qodef-side-menu");b.length&&b.niceScroll({scrollspeed:60,mousescrollstep:40,cursorwidth:0,cursorborder:0,cursorborderradius:0,cursorcolor:"transparent",autohidemode:!1,horizrailenabled:!1})}function e(){if(a("a.qodef-fullscreen-menu-opener").length){var b,c=a("a.qodef-fullscreen-menu-opener"),d=a(".qodef-fullscreen-menu-holder-outer"),e=!1,f=!1,g=a(".qodef-fullscreen-above-menu-widget-holder"),h=a(".qodef-fullscreen-below-menu-widget-holder"),i=a(".qodef-fullscreen-menu-holder-outer nav > ul > li > a"),j=a(".qodef-fullscreen-menu > ul li.has_sub > a"),k=a(".qodef-fullscreen-menu ul li:not(.has_sub) a");d.height(qodef.windowHeight).niceScroll({scrollspeed:30,mousescrollstep:20,cursorwidth:0,cursorborder:0,cursorborderradius:0,cursorcolor:"transparent",autohidemode:!1,horizrailenabled:!1}),a(window).resize(function(){d.height(qodef.windowHeight)}),qodef.body.hasClass("qodef-fade-push-text-right")?(b="qodef-push-nav-right",e=!0):qodef.body.hasClass("qodef-fade-push-text-top")&&(b="qodef-push-text-top",f=!0),(e||f)&&(g.length&&g.children().css({"-webkit-animation-delay":"0ms","-moz-animation-delay":"0ms","animation-delay":"0ms"}),i.each(function(b){a(this).css({"-webkit-animation-delay":70*(b+1)+"ms","-moz-animation-delay":70*(b+1)+"ms","animation-delay":70*(b+1)+"ms"})}),h.length&&h.children().css({"-webkit-animation-delay":70*(i.length+1)+"ms","-moz-animation-delay":70*(i.length+1)+"ms","animation-delay":70*(i.length+1)+"ms"})),c.on("click",function(d){d.preventDefault(),c.hasClass("opened")?(c.removeClass("opened"),qodef.body.removeClass("qodef-fullscreen-menu-opened"),qodef.body.removeClass("qodef-fullscreen-fade-in").addClass("qodef-fullscreen-fade-out"),qodef.body.addClass(b),qodef.body.hasClass("page-template-full_screen-php")||qodef.modules.common.qodefEnableScroll(),a("nav.qodef-fullscreen-menu ul.sub_menu").slideUp(200,function(){a("nav.popup_menu").getNiceScroll().resize()})):(c.addClass("opened"),qodef.body.addClass("qodef-fullscreen-menu-opened"),qodef.body.removeClass("qodef-fullscreen-fade-out").addClass("qodef-fullscreen-fade-in"),qodef.body.removeClass(b),qodef.body.hasClass("page-template-full_screen-php")||qodef.modules.common.qodefDisableScroll(),a(document).keyup(function(d){27==d.keyCode&&(c.removeClass("opened"),qodef.body.removeClass("qodef-fullscreen-menu-opened"),qodef.body.removeClass("qodef-fullscreen-fade-in").addClass("qodef-fullscreen-fade-out"),qodef.body.addClass(b),qodef.body.hasClass("page-template-full_screen-php")||qodef.modules.common.qodefEnableScroll(),a("nav.qodef-fullscreen-menu ul.sub_menu").slideUp(200,function(){a("nav.popup_menu").getNiceScroll().resize()}))}))}),j.on("tap click",function(b){if(b.preventDefault(),a(this).parent().hasClass("has_sub")){var c=a(this).parent().find("> ul.sub_menu");c.is(":visible")?(c.slideUp(200,function(){d.getNiceScroll().resize()}),a(this).parent().removeClass("open_sub")):(a(this).parent().addClass("open_sub"),c.slideDown(200,function(){d.getNiceScroll().resize()}))}return!1}),k.click(function(d){if("http://#"===a(this).attr("href")||"#"===a(this).attr("href"))return!1;1==d.which&&(c.removeClass("opened"),qodef.body.removeClass("qodef-fullscreen-menu-opened"),qodef.body.removeClass("qodef-fullscreen-fade-in").addClass("qodef-fullscreen-fade-out"),qodef.body.addClass(b),a("nav.qodef-fullscreen-menu ul.sub_menu").slideUp(200,function(){a("nav.popup_menu").getNiceScroll().resize()}),qodef.modules.common.qodefEnableScroll())})}}function f(){var b=a(".qodef-mobile-header .qodef-mobile-menu-opener"),c=a(".qodef-mobile-header .qodef-mobile-nav"),d=a('.qodef-mobile-nav .mobile_arrow, .qodef-mobile-nav h4, .qodef-mobile-nav a[href*="#"]'),e=200;b.length&&c.length&&b.on("tap click",function(a){a.stopPropagation(),a.preventDefault(),c.is(":visible")?c.slideUp(e):c.slideDown(e)}),d.length&&d.each(function(){a(this).on("tap click",function(b){var c=a(this).nextAll("ul").first();if(c.length){b.preventDefault(),b.stopPropagation();var d=a(this).parent("li");c.is(":visible")?(c.slideUp(e),d.removeClass("qodef-opened")):(c.slideDown(e),d.addClass("qodef-opened"))}})}),a(".qodef-mobile-nav a, .qodef-mobile-logo-wrapper a").on("click tap",function(b){"http://#"!==a(this).attr("href")&&"#"!==a(this).attr("href")&&c.slideUp(e)})}function g(){if(qodef.body.hasClass("qodef-sticky-up-mobile-header")){var b,c=a(".qodef-mobile-header"),d=a("#wpadminbar"),e=c.length?c.height():0,f=d.length?d.height():0,g=a(document).scrollTop();b=e+f,a(window).scroll(function(){var e=a(document).scrollTop();e>b?c.addClass("qodef-animate-mobile-header"):c.removeClass("qodef-animate-mobile-header"),e>g&&e>b||e ul > li.narrow").each(function(b){var c=qodef.windowWidth-16,d=a(this).offset().left,e=a(this).find(".second .inner ul").width(),f=0;f=qodef.body.hasClass("boxed")?qodef.boxedLayoutWidth-(d-(c-qodef.boxedLayoutWidth)/2):c-d;var g;a(this).find("li.sub").length>0&&(g=f-e),(f ul > li");b.each(function(c){if(a(b[c]).find(".second").length>0){var d=a(b[c]).find(".second"),e=a(this).find(".inner > ul"),f=e.outerWidth();if(a(b[c]).hasClass("wide")){var g=parseInt(e.css("padding-left").slice(0,-2))+parseInt(e.css("padding-right").slice(0,-2));a(this).hasClass("left_position")||a(this).hasClass("right_position")||d.css("left",0);var h=0;if(a(this).find(".second > .inner > ul > li").each(function(){var b=a(this).height();b>h&&(h=b)}),a(this).find(".second > .inner > ul > li").css("height",""),a(this).find(".second > .inner > ul > li").height(h),a(this).hasClass("wide_background")){if(!a(this).hasClass("left_position")&&!a(this).hasClass("right_position")){var i=e.offset().left;d.css("left",-i),d.css("width",qodef.windowWidth)}}else if(!a(this).hasClass("left_position")&&!a(this).hasClass("right_position")){var i=(qodef.windowWidth-2*(qodef.windowWidth-e.offset().left))/2+(f+g)/2;d.css("left",-i)}}if(qodef.menuDropdownHeightSet||(a(b[c]).data("original_height",d.height()+"px"),d.height(0)),navigator.userAgent.match(/(iPod|iPhone|iPad)/))a(b[c]).on("touchstart mouseenter",function(){d.css({height:a(b[c]).data("original_height"),overflow:"visible",visibility:"visible",opacity:"1"})}).on("mouseleave",function(){d.css({height:"0px",overflow:"hidden",visibility:"hidden",opacity:"0"})});else if(qodef.body.hasClass("qodef-dropdown-animate-height"))a(b[c]).mouseenter(function(){d.css({visibility:"visible",height:"0px",opacity:"0","margin-top":"-30px"}),d.stop().animate({height:a(b[c]).data("original_height"),opacity:"1","margin-top":"0px"},250,function(){d.css("overflow","visible")})}).mouseleave(function(){d.stop().animate({height:"0px"},0,function(){d.css({overflow:"hidden",visibility:"hidden","margin-top":"0px"})})});else{var j={interval:0,over:function(){setTimeout(function(){d.addClass("qodef-drop-down-start"),d.stop().css({height:a(b[c]).data("original_height")})},150)},timeout:150,out:function(){d.stop().css({height:"0px"}),d.removeClass("qodef-drop-down-start")}};a(b[c]).hoverIntent(j)}}}),a(".qodef-drop-down ul li.wide ul li a").on("click",function(b){if(1==b.which){var c=a(this);setTimeout(function(){c.mouseleave()},500)}}),qodef.menuDropdownHeightSet=!0}function j(){function b(){g.click(function(b){if(b.preventDefault(),a(".title").hasClass("has_parallax_background"))var c=parseInt(a(".title.has_parallax_background").css("backgroundPosition").split(" ")[1]);else var c=0;"0"==f.height()?(a('.qodef-search-slide-window-top input[type="text"]').focus(),qodef.body.addClass("qodef-search-open"),a(".title.has_parallax_background").animate({"background-position-y":c+50+"px"},150)):(qodef.body.removeClass("qodef-search-open"),a(".title.has_parallax_background").animate({"background-position-y":c-50+"px"},150)),a(window).scroll(function(){"0"!=f.height()&&qodef.scroll>50&&(qodef.body.removeClass("qodef-search-open"),a(".title.has_parallax_background").css("backgroundPosition","center "+c+"px"))}),e.click(function(b){b.preventDefault(),qodef.body.removeClass("qodef-search-open"),a(".title.has_parallax_background").animate({"background-position-y":c+"px"},150)})})}function c(){g.click(function(b){b.preventDefault();var c,d,e,f=a(".qodef-search-cover .qodef-form-holder-outer");a(this).closest(".qodef-grid").length?(d=a(this).closest(".qodef-grid").children().first(),e=d.parent()):(d=a(this).closest(".qodef-menu-area").children().first(),e=d),a(this).closest(".qodef-sticky-header").length>0&&(d=a(this).closest(".qodef-sticky-header").children().first(),e=d),e.parent().hasClass("qodef-logo-area")?c=qodefGlobalVars.vars.qodefLogoAreaHeight:e.parent().hasClass("qodef-top-bar")?c=a(".qodef-menu-area").height():e.parent().hasClass("qodef-menu-area")?c=a(".qodef-menu-area").height():e.parent().hasClass("qodef-sticky-header")?c=qodefGlobalVars.vars.qodefStickyHeight:e.parent().hasClass("qodef-mobile-header")&&(c=a(".qodef-mobile-header-inner").height()),a(this).closest(".qodef-overlapping-bottom-container").length>0&&(c=a(".qodef-ovelapping-menu").height()),f.height(c),d.stop(!0).fadeIn(600),a('.qodef-search-cover input[type="text"]').focus(),a(".qodef-search-close, .content, footer").click(function(a){a.preventDefault(),d.stop(!0).fadeOut(450)}),d.blur(function(){d.stop(!0).fadeOut(450)})})}function d(b,c){var d=a(".qodef-fullscreen-search-holder"),f=a(".qodef-fullscreen-search-overlay");g.click(function(h){h.preventDefault();var i=!1;if("yes"===a(this).data("icon-close-same-position")){var j=a(this).offset().top,k=a(this).offset().left;i=!0}b&&(d.hasClass("qodef-animate")?(qodef.body.removeClass("qodef-fullscreen-search-opened"),qodef.body.addClass("qodef-search-fade-out"),qodef.body.removeClass("qodef-search-fade-in"),d.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"),d.addClass("qodef-animate"),i&&e.css({top:j-qodef.scroll,left:k}),qodef.body.hasClass("page-template-full_screen-php")||qodef.modules.common.qodefDisableScroll()),e.click(function(a){a.preventDefault(),qodef.body.removeClass("qodef-fullscreen-search-opened"),d.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()}),a(document).keyup(function(a){27==a.keyCode&&(qodef.body.removeClass("qodef-fullscreen-search-opened"),d.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())})),c&&(f.hasClass("qodef-animate")?(f.removeClass("qodef-animate"),d.css({opacity:0,display:"none"}),e.css({opacity:0,visibility:"hidden"}),g.css({opacity:1})):(f.addClass("qodef-animate"),d.css({display:"block"}),setTimeout(function(){d.css("opacity","1"),e.css({opacity:1,visibility:"visible",top:j-qodef.scroll,left:k}),i&&e.css({top:j-qodef.scroll,left:k}),g.css({opacity:0})},200),qodef.body.hasClass("page-template-full_screen-php")||qodef.modules.common.qodefDisableScroll()),e.click(function(a){a.preventDefault(),f.removeClass("qodef-animate"),d.css({opacity:0,display:"none"}),e.css({opacity:0,visibility:"hidden"}),g.css({opacity:1}),qodef.body.hasClass("page-template-full_screen-php")||qodef.modules.common.qodefEnableScroll()}),a(document).keyup(function(a){27==a.keyCode&&(f.removeClass("qodef-animate"),d.css({opacity:0,display:"none"}),e.css({opacity:0,visibility:"hidden"}),g.css({opacity:1}),qodef.body.hasClass("page-template-full_screen-php")||qodef.modules.common.qodefEnableScroll())}))}),a(".qodef-fullscreen-search-holder .qodef-search-field").focus(function(){a(".qodef-fullscreen-search-holder .qodef-field-holder .qodef-line").css("width","100%")}),a(".qodef-fullscreen-search-holder .qodef-search-field").blur(function(){a(".qodef-fullscreen-search-holder .qodef-field-holder .qodef-line").css("width","0")})}var e,f,g=a("a.qodef-search-opener");if(a("html").hasClass("touch")&&!0,g.length>0)if(qodef.body.hasClass("qodef-fullscreen-search")){var h=!1,i=!1;e=a(".qodef-fullscreen-search-close"),qodef.body.hasClass("qodef-search-fade")?h=!0:qodef.body.hasClass("qodef-search-from-circle")&&(i=!0),d(h,i)}else qodef.body.hasClass("qodef-search-slides-from-window-top")?(f=a(".qodef-search-slide-window-top"),e=a(".qodef-search-close"),b()):qodef.body.hasClass("qodef-search-covers-header")&&c()}function k(){function b(a){var b=0;a||(a=window.event),a.wheelDelta?b=a.wheelDelta/120:a.detail&&(b=-a.detail/3),b&&c(b),a.preventDefault&&a.preventDefault(),a.returnValue=!1}function c(b){b<0?Math.abs(h)<=i&&(h+=20*b,a(f).css("margin-top",h)):h<=-20&&(h+=20*b,a(f).css("margin-top",h))}if(a(".qodef-vertical-menu-area").length){var d=qodef.windowHeight,e=a(".qodef-vertical-menu-area"),f=a(".qodef-vertical-menu-area .qodef-vertical-menu-area-inner"),g=f.outerHeight()+parseInt(e.css("padding-top"))+parseInt(e.css("padding-bottom")),h=0,i=g-d;a(e).hover(function(){qodef.modules.common.qodefDisableScroll(),window.addEventListener&&(window.addEventListener("mousewheel",b,!1),window.addEventListener("DOMMouseScroll",b,!1)),window.onmousewheel=document.onmousewheel=b},function(){qodef.modules.common.qodefEnableScroll(),window.removeEventListener("mousewheel",b,!1),window.removeEventListener("DOMMouseScroll",b,!1)})}}var l={};qodef.modules.header=l,l.isStickyVisible=!1,l.stickyAppearAmount=0,l.behaviour,l.qodefSideArea=c,l.qodefSideAreaScroll=d,l.qodefFullscreenMenu=e,l.qodefInitMobileNavigation=f,l.qodefMobileHeaderBehavior=g,l.qodefSetDropDownMenuPosition=h,l.qodefDropDownMenu=i,l.qodefSearch=j,l.qodefVerticalMenuScroll=k,a(document).ready(function(){b(),c(),d(),e(),f(),g(),h(),i(),j(),k(),m().init()}),a(window).load(function(){h()}),a(window).resize(function(){i()});var m=function(){var b=a(".qodef-vertical-menu-area"),c=function(){function c(){var b=d.find("ul li.menu-item-has-children"),c=b.find(" > .second, > ul");b.each(function(){var d=a(this).find(" > .second, > ul"),e=this;if(Modernizr.touch){a(this).find("> a").on("click tap",function(f){f.preventDefault(),f.stopPropagation(),d.hasClass("qodef-float-open")?(d.removeClass("qodef-float-open"),a(e).removeClass("open")):(a(this).parents("li").hasClass("open")||(b.removeClass("open"),c.removeClass("qodef-float-open")),d.addClass("qodef-float-open"),a(e).addClass("open"))})}else a(this).hoverIntent({over:function(){d.addClass("qodef-float-open"),a(e).addClass("open")},out:function(){d.removeClass("qodef-float-open"),a(e).removeClass("open")},timeout:300})}) }var d=b.find(".qodef-vertical-menu");void 0!==d.data("navigation-type")&&d.data("navigation-type");c()};return{init:function(){b.length&&c()}}}}(jQuery),function(a){"use strict";function b(){if(a(".qodef-title.qodef-has-parallax-background").length>0&&0===a(".touch").length){var b=a(".qodef-title.qodef-has-parallax-background"),c=a(".qodef-title.qodef-has-parallax-background.qodef-zoom-out"),d=parseInt(b.data("background-width").match(/\d+/)),e=b.data("height"),f=e/1e4*7,g=-qodef.scroll*f;b.css({"background-position":"center "+(g+qodefGlobalVars.vars.qodefAddForAdminBar)+"px"}),c.css({"background-size":d-qodef.scroll+"px auto"}),a(window).scroll(function(){g=-qodef.scroll*f,b.css({"background-position":"center "+(g+qodefGlobalVars.vars.qodefAddForAdminBar)+"px"}),c.css({"background-size":d-qodef.scroll+"px auto"})})}}var c={};qodef.modules.title=c,c.qodefParallaxTitle=b,a(document).ready(function(){b()}),a(window).load(function(){}),a(window).resize(function(){})}(jQuery),function(a){"use strict";function b(){var b=a(".qodef-counter");b.length&&b.each(function(){var b=a(this);b.appear(function(){if(b.parents(".qodef-counter-holder").addClass("qodef-counter-holder-show"),b.hasClass("zero")){var a=parseFloat(b.text());b.countTo({from:0,to:a,speed:1500,refreshInterval:100})}else b.absoluteCounter({speed:2e3,fadeInDelay:1e3})},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})})}function c(){var b=a(".qodef-progress-bar");b.length&&b.each(function(){var b=a(this);b.appear(function(){if(d(b),0!==b.find(".qodef-floating.qodef-floating-inside")){var a=b.find(".qodef-progress-content").height();a+=parseFloat(b.find(".qodef-progress-title-holder").css("padding-bottom")),a+=parseFloat(b.find(".qodef-progress-title-holder").css("margin-bottom")),b.find(".qodef-floating-inside").css("margin-bottom",-a+"px")}var c=b.find(".qodef-progress-content").data("percentage"),e=b.find(".qodef-progress-content"),f=b.find(".qodef-progress-number");e.css("width","0%"),e.animate({width:c+"%"},1500),f.css("left","0%"),f.animate({left:c+"%"},1500)})})}function d(b){var c=parseFloat(b.find(".qodef-progress-content").data("percentage")),d=b.find(".qodef-progress-number .qodef-percent");d.length&&d.each(function(){var b=a(this);b.parents(".qodef-progress-number-wrapper").css("opacity","1"),b.countTo({from:0,to:c,speed:1500,refreshInterval:50})})}function e(){var b=a(".qodef-message");b.length&&b.each(function(){a(this).find(".qodef-close").click(function(b){b.preventDefault(),a(this).parent().parent().fadeOut(500)})})}function f(){var b=a(".qodef-message.qodef-with-icon");b.length&&b.each(function(){var b=a(this),c=b.find(".qodef-message-text-holder").height(),d=b.find(".qodef-message-icon-holder").height();c>d?b.find(".qodef-message-icon-holder").height(c):b.find(".qodef-message-text-holder").height(d)})}function g(){var b,c,d,e,f,g,h,i,j,k,l,m=a(".qodef-countdown");m.length&&m.each(function(){function m(){t.find(".countdown-amount").css({"font-size":n+"px","line-height":n+"px",color:p,"border-right-color":q}),t.find(".countdown-period").css({"font-size":o+"px",color:r})}var n,o,p,q,r,s=a(this).attr("id"),t=a("#"+s);b=t.data("year"),c=t.data("month"),d=t.data("day"),e=t.data("hour"),f=t.data("minute"),g=t.data("timezone"),h=t.data("month-label"),i=t.data("day-label"),j=t.data("hour-label"),k=t.data("minute-label"),l=t.data("second-label"),n=t.data("digit-size"),o=t.data("label-size"),p=t.data("digit-color"),r=t.data("label-color"),q=t.data("vertical-separator-color"),t.countdown({until:new Date(b,c-1,d,e,f,44),labels:["Years",h,"Weeks",i,j,k,l],format:"ODHMS",timezone:g,padZeroes:!0,onTick:m})})}function h(){var b=a(".no-touch .qodef-mobile-showcase .qodef-mobile-wrapper");b.length&&b.each(function(){var b=a(this);b.appear(function(){b.addClass("qodef-view-layers")},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})})}function i(){var b=a(".qodef-testimonials");b.length&&b.each(function(){var b=a(this),c=b.siblings(".owl-buttons").find(".owl-prev"),d=b.siblings(".owl-buttons").find(".owl-next");b.appear(function(){b.css("visibility","visible")},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount});var e=!1,f=5e3,g="cards_carousel";void 0!==b.data("animation-speed")&&!1!==b.data("animation-speed")&&(f=b.data("animation-speed")),void 0!==b.data("layout")&&(g=b.data("layout")),"standard_carousel"==g&&(e=!0),b.owlCarousel({singleItem:!0,autoPlay:f,addClassActive:!0,navigation:!1,transitionStyle:"fade",autoHeight:!0,pagination:e,slideSpeed:600}),c.click(function(){b.trigger("owl.next")}),d.click(function(){b.trigger("owl.prev")})})}function j(){var b=a(".qodef-fullwidth-slider-slides");b.length&&b.each(function(){var b=a(this);b.appear(function(){b.css("visibility","visible")},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount});var c=600;void 0!==b.data("animation-speed")&&!1!==b.data("animation-speed")&&(c=b.data("animation-speed")),b.owlCarousel({singleItem:!0,autoPlay:5e3,addClassActive:!0,navigation:!1,transitionStyle:"fade",autoHeight:!0,pagination:!0,slideSpeed:c})})}function k(){var b,c,d,e=a(".qodef-carousel-holder");e.length&&e.each(function(){var e=a(this);b=e.find(".qodef-carousel"),c=b.data("items"),d="yes"==b.data("navigation");var f=[[0,1],[480,2],[768,3],[1024,c]];b.owlCarousel({autoPlay:3e3,items:c,itemsCustom:f,pagination:!1,navigation:d,slideSpeed:600,navigationText:['','']})})}function l(){var b=a(".qodef-pie-chart-holder, .qodef-pie-chart-with-icon-holder");b.length&&b.each(function(){var b=a(this),c=b.children(".qodef-percentage, .qodef-percentage-with-icon"),d="#f4f4f4",e="#b2dd4c",f=7,g=145,h=c.data("bar-color");void 0!==h&&(e=h);var i=c.data("bar-inactive-color");void 0!==i&&(d=i);var j=c.data("size");void 0!==j&&(g=j),c.appear(function(){m(b),c.css({opacity:"1",width:g+"px",height:g+"px","line-height":g+"px"}),c.easyPieChart({barColor:e,trackColor:d,scaleColor:!1,lineCap:"round",lineWidth:f,animate:1500,size:g})},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})})}function m(a){a.css("opacity","1");var b=a.find(".qodef-to-counter"),c=parseFloat(b.text());b.countTo({from:0,to:c,speed:1500,refreshInterval:50})}function n(){a(".qodef-pie-chart-doughnut-holder, .qodef-pie-chart-pie-holder").each(function(){for(var b=a(this),c=b.find("canvas"),d=c.attr("id"),e=document.getElementById(d).getContext("2d"),f=[],g=a(e.canvas),h=1;h<=10;h++){var i,j=g.data("value-"+h),k=g.data("color-"+h);void 0!==j&&void 0!==k&&(i={value:j,color:k},f.push(i))}c.hasClass("qodef-pie")?new Chart(e).Pie(f,{segmentStrokeColor:"transparent"}):new Chart(e).Doughnut(f,{segmentStrokeColor:"transparent"})})}function o(){var b=a(".qodef-tabs");b.length&&b.each(function(){var b=a(this);b.hasClass("qodef-horizontal")?b.tabs():b.hasClass("qodef-vertical")&&(b.tabs().addClass("ui-tabs-vertical ui-helper-clearfix"),b.find(".qodef-tabs-nav > ul >li").removeClass("ui-corner-top").addClass("ui-corner-left"))})}function p(){var b=a(".qodef-tab-container");b.length&&b.each(function(){var b=a(this),c=b.attr("id"),d="";void 0===b.data("icon-html")&&"false"===b.data("icon-html")||(d=b.data("icon-html"));var e=b.parents(".qodef-tabs").find('.qodef-tabs-nav > li > a[href="#'+c+'"]');void 0!==e&&e.children(".qodef-icon-frame").append(d)})}function q(){var b=a(".qodef-blog-list-holder.qodef-masonry .qodef-blog-list");b.length&&b.each(function(){var b=a(this);b.animate({opacity:1}),b.isotope({itemSelector:".qodef-blog-list-masonry-item",masonry:{columnWidth:".qodef-blog-list-masonry-grid-sizer",gutter:".qodef-blog-list-masonry-grid-gutter"}})})}function r(){var b=a(".qodef-custom-font-holder");b.length&&b.each(function(){var b,c,d=a(this),e=1,f=1;qodef.windowWidth<1200&&(e=.8),qodef.windowWidth<1e3&&(e=.7),qodef.windowWidth<768&&(e=.6,f=.7),qodef.windowWidth<600&&(e=.5,f=.6),qodef.windowWidth<480&&(e=.4,f=.5),void 0!==d.data("font-size")&&!1!==d.data("font-size")&&(b=parseInt(d.data("font-size")),b>70?b=Math.round(b*e):b>35&&(b=Math.round(b*f)),d.css("font-size",b+"px")),void 0!==d.data("line-height")&&!1!==d.data("line-height")&&(c=parseInt(d.data("line-height")),c>70&&qodef.windowWidth<1200?c="1.2em":c>35&&qodef.windowWidth<768?c="1.2em":c+="px",d.css("line-height",c))})}function s(){a(".qodef-google-map").length&&a(".qodef-google-map").each(function(){var b,c=a(this);void 0!==c.data("custom-map-style")&&(b=c.data("custom-map-style"));var d;void 0!==c.data("color-overlay")&&!1!==c.data("color-overlay")&&(d=c.data("color-overlay"));var e;void 0!==c.data("saturation")&&!1!==c.data("saturation")&&(e=c.data("saturation"));var f;void 0!==c.data("lightness")&&!1!==c.data("lightness")&&(f=c.data("lightness"));var g;void 0!==c.data("zoom")&&!1!==c.data("zoom")&&(g=c.data("zoom"));var h;void 0!==c.data("pin")&&!1!==c.data("pin")&&(h=c.data("pin"));var i;void 0!==c.data("height")&&!1!==c.data("height")&&(i=c.data("height"));var j;void 0!==c.data("unique-id")&&!1!==c.data("unique-id")&&(j=c.data("unique-id"));var k;void 0!==c.data("scroll-wheel")&&(k=c.data("scroll-wheel"));var l;void 0!==c.data("addresses")&&!1!==c.data("addresses")&&(l=c.data("addresses")),t(b,d,e,f,k,g,"qodef-map-"+j,i,h,"map_"+j,"geocoder_"+j,l)})}function t(a,b,c,d,e,f,g,h,i,j,k,l){var m,n=[{stylers:[{hue:b},{saturation:c},{lightness:d},{gamma:1}]}];m=a?"qodef-style":google.maps.MapTypeId.ROADMAP;var o=new google.maps.StyledMapType(n,{name:"Qode Google Map"});k=new google.maps.Geocoder;var p=new google.maps.LatLng(-34.397,150.644);isNaN(h)||(h+="px");var q={zoom:f,scrollwheel:e,center:p,zoomControl:!0,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL,position:google.maps.ControlPosition.RIGHT_CENTER},scaleControl:!1,scaleControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},streetViewControl:!1,streetViewControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},panControl:!1,panControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},mapTypeControl:!1,mapTypeControlOptions:{mapTypeIds:[google.maps.MapTypeId.ROADMAP,"qodef-style"],style:google.maps.MapTypeControlStyle.HORIZONTAL_BAR,position:google.maps.ControlPosition.LEFT_CENTER},mapTypeId:m};j=new google.maps.Map(document.getElementById(g),q),j.mapTypes.set("qodef-style",o);var r;for(r=0;r",f=new google.maps.InfoWindow({content:e});d.geocode({address:a},function(d,e){if(e===google.maps.GeocoderStatus.OK){c.setCenter(d[0].geometry.location);var g=new google.maps.Marker({map:c,position:d[0].geometry.location,icon:b,title:a.store_title});google.maps.event.addListener(g,"click",function(){f.open(c,g)}),google.maps.event.addDomListener(window,"resize",function(){c.setCenter(d[0].geometry.location)})}})}}function v(){var b=a(".qodef-accordion-holder");b.length&&b.each(function(){var b=a(this);if(b.hasClass("qodef-accordion")&&b.accordion({animate:"swing",collapsible:!0,active:0,icons:"",heightStyle:"content"}),b.hasClass("qodef-toggle")){var c=a(this),d=c.find(".qodef-title-holder"),e=d.next();c.addClass("accordion ui-accordion ui-accordion-icons ui-widget ui-helper-reset"),d.addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-top ui-corner-bottom"),e.addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide(),d.each(function(){var b=a(this);b.hover(function(){b.toggleClass("ui-state-hover")}),b.on("click",function(){b.toggleClass("ui-accordion-header-active ui-state-active ui-state-default ui-corner-bottom"),b.next().toggleClass("ui-accordion-content-active").slideToggle(400)})})}})}function w(){var b=a(".qodef-image-gallery");b.length&&b.each(function(){var b=a(this).children(".qodef-image-gallery-slider"),c=b.data("autoplay"),d="slide"!=b.data("animation")&&b.data("animation"),e="yes"==b.data("navigation"),f="yes"==b.data("pagination");b.owlCarousel({singleItem:!0,autoPlay:1e3*c,navigation:e,transitionStyle:d,autoHeight:!0,pagination:f,slideSpeed:600,navigationText:['','']})})}function x(){function b(a,b,c,d,e,f,g,h){a.text(Math.round(b*c*100)/100),1==b?d.text(b+" "+h):d.text(b+" "+h+"s"),e.width(Math.round(f/g*100)+"%")}a(".qodef-pricing-slider").each(function(){var c,d=a(this),e=d.find(".qodef-pricing-slider-bar-holder"),f=d.find(".qodef-pricing-slider-drag"),g=d.find(".qodef-pricing-slider-bar"),h=d.find(".qodef-pricing-slider-button-holder"),i=h.find(".active"),j=d.find(".qodef-price"),k=d.find(".qodef-pricing-slider-value"),l=d.data("unit-name")?d.data("unit-name"):"unit",m=parseFloat(d.data("units-range"))?parseFloat(d.data("units-range")):0,n=parseFloat(d.data("units-breakpoints"))?parseFloat(d.data("units-breakpoints")):0,o=parseFloat(i.data("price-per-unit"))?parseFloat(i.data("price-per-unit")):0,p=parseFloat(i.data("price-reduce-per-breakpoint"))?parseFloat(i.data("price-reduce-per-breakpoint")):0,q=n,r=0,s=e.offset().left,t=e.outerWidth()-f.outerWidth(),u=t/m,v=0,w=0,x=0;if(n>0){var y=m/n;for(c=1;c')}b(j,x,o,k,g,w,t,l),h.find(".qodef-btn").click(function(){a(this).parent().hasClass("active")||(i.removeClass("active"),a(this).parent().addClass("active"),i=a(this).parent(),o=parseFloat(i.data("price-per-unit"))?parseFloat(i.data("price-per-unit")):0,p=parseFloat(i.data("price-reduce-per-breakpoint"))?parseFloat(i.data("price-reduce-per-breakpoint")):0,o-=r*p,b(j,x,o,k,g,w,t,l))});var z;f.draggable({axis:"x",containment:e.parent(),scrollSensitivity:10,start:function(a,b){z=b.position.left},drag:function(c,d){var e=d.position.left>z?"right":"left";z=d.position.left,v=a(this).offset(),w=v.left-s,x=Math.floor(w/u),w>=0&&w<=t&&("right"==e?x>q&&(q+=n,r++,o-=p):"left"==e&&x<=q-n&&(q-=n,r--,o+=p),b(j,x,o,k,g,w,t,l))}})})}function y(){a('.qodef-live-search-enabled input[type="text"]').each(function(){var b=a(this);b.focusin(function(){var c=b.offset().left,d=b.offset().top+b.outerHeight(),e=b.outerWidth();a("").appendTo("head")})})}function z(){var b=a(".qodef-portfolio-list-holder-outer.qodef-ptf-standard, .qodef-portfolio-list-holder-outer.qodef-ptf-gallery");b.length&&b.each(function(){A(a(this)),qodef.modules.common.qodefInitParallax()})}function A(a){var b="";a.hasClass("qodef-ptf-has-filter")&&(b=a.find(".qodef-portfolio-filter-holder-inner ul li").data("class"),b="."+b);var c=a.find(".qodef-portfolio-list-holder");c.mixItUp({callbacks:{onMixLoad:function(){c.find("article").css("visibility","visible")},onMixStart:function(){c.find("article").css("visibility","visible")},onMixBusy:function(){c.find("article").css("visibility","visible")}},selectors:{filter:b},animation:{effects:"fade",duration:600}})}function B(){var b=a(".qodef-portfolio-list-holder-outer.qodef-portfolio-slider-holder");b.length&&b.each(function(){var b=a(this),c=b.children(".qodef-portfolio-list-holder"),d=b.data("items"),e=[[0,1],[480,2],[768,3],[1024,d]];c.owlCarousel({autoPlay:5e3,items:d,itemsCustom:e,pagination:!0,navigation:!0,slideSpeed:600,transitionStyle:"fade",navigationText:['','']})})}function C(){var b=a(".qodef-portfolio-list-holder-outer.qodef-ptf-load-more");b.length&&b.each(function(){var b,c,d=a(this),e=d.find(".qodef-portfolio-list-holder"),f=d.find(".qodef-ptf-list-load-more a");void 0!==d.data("max-num-pages")&&!1!==d.data("max-num-pages")&&(c=d.data("max-num-pages")),f.on("click",function(g){var h=E(d);if(b=h.nextPage,g.preventDefault(),g.stopPropagation(),b<=c){var i=F(h);a.ajax({type:"POST",data:i,url:qodeCoreAjaxUrl,success:function(c){b++,d.data("next-page",b);var f=a.parseJSON(c),g=D(f.html);d.waitForImages(function(){setTimeout(function(){e.mixItUp("append",g)},400)})}})}b===c&&f.hide()})})}function D(b){var c=a.trim(b),d=a(c),e=a();return d.each(function(a,b){1===b.nodeType&&(e=e.add(this))}),e}function E(a){var b={};return b.type="",b.columns="",b.gridSize="",b.orderBy="",b.order="",b.number="",b.filter="",b.filterOrderBy="",b.category="",b.selectedProjectes="",b.showLoadMore="",b.titleTag="",b.nextPage="",b.maxNumPages="",void 0!==a.data("type")&&!1!==a.data("type")&&(b.type=a.data("type")),void 0!==a.data("grid-size")&&!1!==a.data("grid-size")&&(b.gridSize=a.data("grid-size")),void 0!==a.data("columns")&&!1!==a.data("columns")&&(b.columns=a.data("columns")),void 0!==a.data("order-by")&&!1!==a.data("order-by")&&(b.orderBy=a.data("order-by")),void 0!==a.data("order")&&!1!==a.data("order")&&(b.order=a.data("order")),void 0!==a.data("number")&&!1!==a.data("number")&&(b.number=a.data("number")),void 0!==a.data("filter")&&!1!==a.data("filter")&&(b.filter=a.data("filter")),void 0!==a.data("filter-order-by")&&!1!==a.data("filter-order-by")&&(b.filterOrderBy=a.data("filter-order-by")),void 0!==a.data("category")&&!1!==a.data("category")&&(b.category=a.data("category")),void 0!==a.data("selected-projects")&&!1!==a.data("selected-projects")&&(b.selectedProjectes=a.data("selected-projects")),void 0!==a.data("show-load-more")&&!1!==a.data("show-load-more")&&(b.showLoadMore=a.data("show-load-more")),void 0!==a.data("title-tag")&&!1!==a.data("title-tag")&&(b.titleTag=a.data("title-tag")),void 0!==a.data("next-page")&&!1!==a.data("next-page")&&(b.nextPage=a.data("next-page")),void 0!==a.data("max-num-pages")&&!1!==a.data("max-num-pages")&&(b.maxNumPages=a.data("max-num-pages")),b}function F(a){return{action:"qode_core_portfolio_ajax_load_more",type:a.type,columns:a.columns,gridSize:a.gridSize,orderBy:a.orderBy,order:a.order,number:a.number,filter:a.filter,filterOrderBy:a.filterOrderBy,category:a.category,selectedProjectes:a.selectedProjectes,showLoadMore:a.showLoadMore,titleTag:a.titleTag,nextPage:a.nextPage}}function G(b,c){if(a(".qodef-slider .carousel").not(".qodef-disable-slider-header-style-changing").length>0){var d="";b.hasClass("light")&&(d="qodef-light-header"),b.hasClass("dark")&&(d="qodef-dark-header"),""!==d?c&&qodef.body.removeClass("qodef-dark-header qodef-light-header").addClass(d):c&&qodef.body.removeClass("qodef-dark-header qodef-light-header").addClass(qodef.defaultHeaderStyle)}}function H(a,b,c){var d="";b.hasClass("light")&&(d="qodef-light-navigation"),b.hasClass("dark")&&(d="qodef-dark-navigation"),""!==d?c&&a.removeClass("qodef-light-navigation qodef-dark-navigation").addClass(d):a.removeClass("qodef-light-navigation qodef-dark-navigation")}function I(){function b(){d.length&&d.each(function(){var b=a(this);f=b.offset().top,g=b.position().top,b.parents("aside.qodef-sidebar").length?h=b.parents("aside.qodef-sidebar").height():b.parents(".wpb_widgetised_column").length&&(h=b.parents(".wpb_widgetised_column").height()),b.parents("aside.qodef-sidebar").length?i=b.parents("aside.qodef-sidebar").width():b.parents(".wpb_widgetised_column").length&&(i=b.parents(".wpb_widgetised_column").width()),j.push({object:b,offset:f,position:g,height:h,width:i})})}function c(){j.length&&a.each(j,function(b){var c=j[b].object,d=j[b].offset,f=j[b].position,g=j[b].height,h=j[b].width;if(qodef.body.hasClass("qodef-sticky-header-on-scroll-down-up")||qodef.body.hasClass("qodef-sticky-header-on-scroll-up")?(e=a(".qodef-sticky-header").height(),a(".qodef-sticky-header").hasClass("header-appear")||(e=0)):e=a(".qodef-page-header").height(),qodef.windowWidth>1024){var i=40,k=-(f-e-i),l=g-f+i,m=0;c.parents("aside.qodef-sidebar").length?m=c.parents(".qodef-content-has-sidebar").children(".qodef-content-right-from-sidebar").length?c.parents(".qodef-content-has-sidebar").children(".qodef-content-right-from-sidebar").outerHeight():c.parents(".qodef-content-has-sidebar").children(".qodef-content-left-from-sidebar").outerHeight():c.parents(".wpb_widgetised_column").length&&(m=c.parents(".vc_row").outerHeight());var n=d-e-f-qodefGlobalVars.vars.qodefTopBarHeight+m;qodef.scroll>=d-e&&g=n?c.parents("aside.qodef-sidebar").length?c.parents("aside.qodef-sidebar.qodef-sticky-sidebar-appeared").css({position:"absolute",top:m-l+k-i-e+"px"}):c.parents(".wpb_widgetised_column").length&&c.parents(".wpb_widgetised_column.qodef-sticky-sidebar-appeared").css({position:"absolute",top:m-l+k-i-e+"px"}):c.parents("aside.qodef-sidebar").length?c.parents("aside.qodef-sidebar.qodef-sticky-sidebar-appeared").css({position:"fixed",top:k+"px"}):c.parents(".wpb_widgetised_column").length&&c.parents(".wpb_widgetised_column.qodef-sticky-sidebar-appeared").css({position:"fixed",top:k+"px"})):c.parents("aside.qodef-sidebar").length?c.parents("aside.qodef-sidebar").removeClass("qodef-sticky-sidebar-appeared").css({position:"relative",top:"0",width:"auto"}):c.parents(".wpb_widgetised_column").length&&c.parents(".wpb_widgetised_column").removeClass("qodef-sticky-sidebar-appeared").css({position:"relative",top:"0",width:"auto"})}else c.parents("aside.qodef-sidebar").length?c.parents("aside.qodef-sidebar").removeClass("qodef-sticky-sidebar-appeared").css({position:"relative",top:"0",width:"auto"}):c.parents(".wpb_widgetised_column").length&&c.parents(".wpb_widgetised_column").removeClass("qodef-sticky-sidebar-appeared").css({position:"relative",top:"0",width:"auto"})})}var d=a(".qodef-widget-sticky-sidebar"),e=0,f=0,g=0,h=0,i=0,j=[];b(),a(window).scroll(function(){c()})}var J={};qodef.modules.shortcodes=J,J.qodefInitCounter=b,J.qodefInitProgressBars=c,J.qodefInitCountdown=g,J.qodefInitMessages=e,J.qodefInitMessageHeight=f,J.qodefInitTestimonials=i,J.qodefInitFullWidthSlider=j,J.qodefInitCarousels=k,J.qodefInitPieChart=l,J.qodefInitPieChartDoughnut=n,J.qodefInitTabs=o,J.qodefInitTabIcons=p,J.qodefInitBlogListMasonry=q,J.qodefCustomFontResize=r,J.qodefInitImageGallery=w,J.qodefInitAccordions=v,J.qodefShowGoogleMap=s,J.qodefInitPortfolio=z,J.qodefInitPortfolioSlider=B,J.qodefInitPortfolioLoadMore=C,J.qodefCheckSliderForHeaderStyle=G,J.qodefCheckSliderForNavigationStyle=H,J.qodefInitPricingSlider=x,J.qodefInitLiveSearch=y,a(document).ready(function(){b(),c(),g(),K().init(),e(),f(),i(),j(),k(),l(),n(),o(),p(),L().init(),q(),r(),w(),v(),s(),z(),B(),C(),x(),h(),y(),N().init()}),a(window).resize(function(){q(),r()}),a(window).load(function(){I()});var K=qodef.modules.shortcodes.qodefIcon=function(){var b=a(".qodef-icon-shortcode"),c=function(a){a.hasClass("qodef-icon-animation")&&a.appear(function(){a.parent(".qodef-icon-animation-holder").addClass("qodef-icon-animation-show")},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})},d=function(a){if(void 0!==a.data("hover-color")){var b=function(a){a.data.icon.css("color",a.data.color)},c=a.find(".qodef-icon-element"),d=a.data("hover-color"),e=c.css("color");""!==d&&(a.on("mouseenter",{icon:c,color:d},b),a.on("mouseleave",{icon:c,color:e},b))}},e=function(a){if(void 0!==a.data("hover-background-color")){var b=function(a){a.data.icon.css("background-color",a.data.color)},c=a.data("hover-background-color"),d=a.css("background-color");""!==c&&(a.on("mouseenter",{icon:a,color:c},b),a.on("mouseleave",{icon:a,color:d},b))}},f=function(a){if(void 0!==a.data("hover-border-color")){var b=function(a){a.data.icon.css("border-color",a.data.color)},c=a.data("hover-border-color"),d=a.css("border-color");""!==c&&(a.on("mouseenter",{icon:a,color:c},b),a.on("mouseleave",{icon:a,color:d},b))}};return{init:function(){b.length&&b.each(function(){c(a(this)),d(a(this)),e(a(this)),f(a(this))})}}},L=qodef.modules.shortcodes.qodefButton=function(){var b=a(".qodef-btn"),c=function(a){if(void 0!==a.data("hover-color")){var b=function(a){a.data.button.css("color",a.data.color)},c=a.css("color"),d=a.data("hover-color");a.on("mouseenter",{button:a,color:d},b),a.on("mouseleave",{button:a,color:c},b)}},d=function(a){if(void 0!==a.data("hover-bg-color")){var b=function(a){a.data.button.css("background-color",a.data.color)},c=a.css("background-color"),d=a.data("hover-bg-color");a.on("mouseenter",{button:a,color:d},b),a.on("mouseleave",{button:a,color:c},b)}},e=function(a){if(void 0!==a.data("hover-border-color")){var b=function(a){a.data.button.css("border-color",a.data.color)},c=a.css("border-top-color"),d=a.data("hover-border-color");a.on("mouseenter",{button:a,color:d},b),a.on("mouseleave",{button:a,color:c},b)}};return{init:function(){b.length&&b.each(function(){c(a(this)),d(a(this)),e(a(this))})}}};if(a("#qodef-particles").length){var M={};M.container=a("#qodef-particles"),M.options={},M.handle_resize=function(){M.container.is(".fullscreen")&&M.container.height(a(window).height())},M.load_options=function(){function a(a){return M.container.attr(a)&&M.container.attr(a).length}function b(a){return M.container.data(a)}M.options={particles_number:a("data-particles-density")?"high"==b("particles-density")?180:"medium"==b("particles-density")?120:60:60,particles_color:a("data-particles-color")?b("particles-color"):"#e2e2e2",particles_opacity:a("data-particles-opacity")?b("particles-opacity"):1,particles_size:a("data-particles-size")?b("particles-size"):5,speed:a("data-speed")?b("speed"):5,show_lines:!!a("data-show-lines")&&"yes"==b("show-lines"),line_length:a("data-line-length")?b("line-length"):100,hover:!!a("data-hover")&&"yes"==b("hover"),click:!!a("data-click")&&"yes"==b("click")}},M.record_size=function(){M.size={width:M.container.width(),height:M.container.height()}},M.init_particles=function(){particlesJS("qodef-p-particles-container",{particles:{number:{value:M.options.particles_number,density:{enable:!0,value_area:800}},color:{value:M.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:M.options.particles_opacity,random:!1,anim:{enable:!1,speed:1,opacity_min:.1,sync:!1}},size:{value:M.options.particles_size,random:!0,anim:{enable:!1,speed:80,size_min:2,sync:!1}},line_linked:{enable:M.options.show_lines,distance:M.options.line_length,color:M.options.particles_color,opacity:.4,width:2},move:{enable:!0,speed:M.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:M.options.hover,mode:"grab"},onclick:{enable:M.options.click,mode:"push"},resize:!0},modes:{grab:{distance:2*M.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})},M.init_content_pos=function(){var a=M.container.find(".qodef-p-content");a.attr("data-width")&&a.attr("data-width").length&&a.css("width",a.data("width")+"%"),M.container.is(".auto")&&(a.attr("data-margin-top")&&a.attr("data-margin-top").length&&a.css("margin-top",a.data("margin-top")),a.attr("data-margin-bottom")&&a.attr("data-margin-bottom").length&&a.css("margin-bottom",a.data("margin-bottom")))},M.init=function(){M.record_size(),M.load_options(),M.handle_resize(),M.init_content_pos(),M.init_particles(),a(window).resize(M.handle_resize)},J.qodefParticles=M,a(window).load(M.init),a(document).ready(M.init_content_pos)}var N=qodef.modules.shortcodes.qodefSlider=function(){var b,c,d,e,f,g,h,i,j,k,l,m,n,o=a(".qodef-slider .carousel"),p=/url\(["']?([^'")]+)['"]?\)/,q=[1600,1200,900,650,500,320],r={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"},s=/\([0-9epx\.\, \t\-]+/gi,t=function(a){return a.match(s)[0].substr(1).split(",").map(function(a){return parseFloat(a)})},u=["transform","-webkit-transform"],v=function(a){var b=null;return u.some(function(c){return null!==(b=a.css(c))&&""!==b}),b=b&&"none"!==b?b:"matrix(1,0,0,1,0,0)",t(b)},w=function(a,b){for(var c="matrix("+b.join(",")+")",d=u.length-1;d>=0;--d)a.css(u[d],c+" rotate(0.01deg)")},x=function(a,b,c){return a+c/100*(b-a)};a.fn.transformAnimate=function(b){var c={transform:"matrix(1,0,0,1,0,0)"};a.extend(c,b),this.css("percentAnim",0);var d=v(this),e=t(c.transform);return c.step=function(c,f){var g=a(this),h=d.map(function(a,b){return x(a,e[b],c)});w(g,h),b.step&&b.step.apply(this,[h,f])},this.stop().animate({percentAnim:100},c)};var y=function(a,b,c,d){var e=b;d||(qodef.windowWidth>c[0]?e=b:qodef.windowWidth>c[1]?e=.75*b:qodef.windowWidth>c[2]?e=.6*b:qodef.windowWidth>c[3]?e=.55*b:qodef.windowWidth<=c[3]&&(e=.45*b)),a.css({height:e+"px"}),a.find(".qodef-slider-preloader").css({height:e+"px"}),a.find(".qodef-slider-preloader .qodef-ajax-loader").css({display:"block"}),a.find(".item").css({height:e+"px"})},z=function(b){var c=qodef.windowWidth<1e3?qodefGlobalVars.vars.qodefMobileHeaderHeight+a(".qodef-top-bar").height():0;b.css({height:qodef.windowHeight-c+"px"}),b.find(".qodef-slider-preloader").css({height:qodef.windowHeight+"px"}),b.find(".qode-slider-preloader .qodef-ajax-loader").css({display:"block"}),b.find(".item").css({height:qodef.windowHeight+"px"})},A=function(a,b){window["slider_graphic_width_"+b]=[],window["slider_graphic_height_"+b]=[],window["slider_title_"+b]=[],window["slider_subtitle_"+b]=[],window["slider_text_"+b]=[],window["slider_button1_"+b]=[],window["slider_button2_"+b]=[],window["slider_graphic_width_"+b].push(parseFloat(a.find(".qodef-thumb img").data("width"))),window["slider_graphic_height_"+b].push(parseFloat(a.find(".qodef-thumb img").data("height"))),window["slider_title_"+b].push(parseFloat(a.find(".qodef-slide-title").css("font-size"))),window["slider_subtitle_"+b].push(parseFloat(a.find(".qodef-slide-subtitle").css("font-size"))),window["slider_text_"+b].push(parseFloat(a.find(".qodef-slide-text").css("font-size"))),window["slider_button1_"+b].push(parseFloat(a.find(".qodef-btn:eq(0)").css("font-size"))),window["slider_button2_"+b].push(parseFloat(a.find(".qodef-btn:eq(1)").css("font-size"))),window["slider_title_"+b].push(parseFloat(a.find(".qodef-slide-title").css("line-height"))),window["slider_subtitle_"+b].push(parseFloat(a.find(".qodef-slide-subtitle").css("line-height"))),window["slider_text_"+b].push(parseFloat(a.find(".qodef-slide-text").css("line-height"))),window["slider_button1_"+b].push(parseFloat(a.find(".qodef-btn:eq(0)").css("line-height"))),window["slider_button2_"+b].push(parseFloat(a.find(".qodef-btn:eq(1)").css("line-height"))),window["slider_title_"+b].push(parseFloat(a.find(".qodef-slide-title").css("letter-spacing"))),window["slider_subtitle_"+b].push(parseFloat(a.find(".qodef-slide-subtitle").css("letter-spacing"))),window["slider_text_"+b].push(parseFloat(a.find(".qodef-slide-text").css("letter-spacing"))),window["slider_button1_"+b].push(parseFloat(a.find(".qodef-btn:eq(0)").css("letter-spacing"))), window["slider_button2_"+b].push(parseFloat(a.find(".qodef-btn:eq(1)").css("letter-spacing"))),window["slider_title_"+b].push(parseFloat(a.find(".qodef-slide-title").css("margin-bottom"))),window["slider_subtitle_"+b].push(parseFloat(a.find(".qodef-slide-subtitle").css("margin-bottom"))),window["slider_button1_"+b].push(parseFloat(a.find(".qodef-btn:eq(0)").css("padding-top"))),window["slider_button2_"+b].push(parseFloat(a.find(".qodef-btn:eq(1)").css("padding-top"))),window["slider_button1_"+b].push(parseFloat(a.find(".qodef-btn:eq(0)").css("padding-left"))),window["slider_button2_"+b].push(parseFloat(a.find(".qodef-btn:eq(1)").css("padding-left")))},B=function(a,b,c,d,e,f){function o(a,b,c,d,e){g=a,h=b,i=c,j=d,k=e}qodef.windowWidth>a[0]?o(b[0],c[0],d[0],e[0],f[0]):qodef.windowWidth>a[1]?o(b[1],c[1],d[1],e[1],f[1]):qodef.windowWidth>a[2]?o(b[2],c[2],d[2],e[2],f[2]):qodef.windowWidth>a[3]?o(b[3],c[3],d[3],e[3],f[3]):qodef.windowWidth>a[4]?o(b[4],c[4],d[4],e[4],f[4]):qodef.windowWidth>a[5]?o(b[5],c[5],d[5],e[5],f[5]):o(b[6],c[6],d[6],e[6],f[6]),l=h,m=i,n=j,qodef.windowWidth<=a[0]&&(l=h/2,m=i/2,n=j/2)},C=function(a,b,c){c&&(g=h=i=j=k=l=m=n=1),a.find(".qodef-thumb").css({width:Math.round(window["slider_graphic_width_"+b][0]*g)+"px",height:Math.round(window["slider_graphic_height_"+b][0]*g)+"px"}),a.find(".qodef-slide-title").css({"font-size":Math.round(window["slider_title_"+b][0]*h)+"px","line-height":Math.round(window["slider_title_"+b][1]*h)+"px","letter-spacing":Math.round(window["slider_title_"+b][2]*h)+"px","margin-bottom":Math.round(window["slider_title_"+b][3]*h)+"px"}),a.find(".qodef-slide-subtitle").css({"font-size":Math.round(window["slider_subtitle_"+b][0]*i)+"px","line-height":Math.round(window["slider_subtitle_"+b][1]*i)+"px","margin-bottom":Math.round(window["slider_subtitle_"+b][3]*i)+"px","letter-spacing":Math.round(window["slider_subtitle_"+b][2]*m)+"px"}),a.find(".qodef-slide-text").css({"font-size":Math.round(window["slider_text_"+b][0]*j)+"px","line-height":Math.round(window["slider_text_"+b][1]*j)+"px","letter-spacing":Math.round(window["slider_text_"+b][2]*n)+"px"}),a.find(".qodef-btn:eq(0)").css({"font-size":Math.round(window["slider_button1_"+b][0]*k)+"px","line-height":Math.round(window["slider_button1_"+b][1]*k)+"px","letter-spacing":Math.round(window["slider_button1_"+b][2]*k)+"px","padding-top":Math.round(window["slider_button1_"+b][3]*k)+"px","padding-bottom":Math.round(window["slider_button1_"+b][3]*k)+"px","padding-left":Math.round(window["slider_button1_"+b][4]*k)+"px","padding-right":Math.round(window["slider_button1_"+b][4]*k)+"px"}),a.find(".qodef-btn:eq(1)").css({"font-size":Math.round(window["slider_button2_"+b][0]*k)+"px","line-height":Math.round(window["slider_button2_"+b][1]*k)+"px","letter-spacing":Math.round(window["slider_button2_"+b][2]*k)+"px","padding-top":Math.round(window["slider_button2_"+b][3]*k)+"px","padding-bottom":Math.round(window["slider_button2_"+b][3]*k)+"px","padding-left":Math.round(window["slider_button2_"+b][4]*k)+"px","padding-right":Math.round(window["slider_button2_"+b][4]*k)+"px"})},D=function(g){if(g.find(".item").each(function(b){A(a(this),b),C(a(this),b,!1)}),g.hasClass("qodef-full-screen"))z(g),a(window).resize(function(){B(q,b,c,d,e,f),z(g),g.find(".item").each(function(b){C(a(this),b,!1)})});else if(g.hasClass("qodef-responsive-height")){var h=g.data("height");y(g,h,q,!1),a(window).resize(function(){B(q,b,c,d,e,f),y(g,h,q,!1),g.find(".item").each(function(b){C(a(this),b,!1)})})}else{var h=g.data("height");g.find(".qodef-slider-preloader").css({height:g.height()+"px"}),g.find(".qodef-slider-preloader .qodef-ajax-loader").css({display:"block"}),qodef.windowWidth<1e3?y(g,h,q,!1):y(g,h,q,!0),a(window).resize(function(){B(q,b,c,d,e,f),qodef.windowWidth<1e3?(y(g,h,q,!1),g.find(".item").each(function(b){C(a(this),b,!1)})):(y(g,h,q,!0),g.find(".item").each(function(b){C(a(this),b,!0)}))})}},E=function(a,b,c){1==b?(a.find(".left.carousel-control .prev").html(c),a.find(".right.carousel-control .next").html(b+1)):b==c?(a.find(".left.carousel-control .prev").html(b-1),a.find(".right.carousel-control .next").html(1)):(a.find(".left.carousel-control .prev").html(b-1),a.find(".right.carousel-control .next").html(b+1))},F=function(a,b,c){function d(b){var c,d,e=/url\(["']?([^'")]+)['"]?\)/,f=a.find(".item").eq(b-1);return f.find(".qodef-image").length>0?(d=e.exec(f.find(".qodef-image").attr("style")),c=new Image,c.src=d[1]):(c=f.find("> .qodef-video").clone(),c.find(".qodef-video-overlay").remove(),c.find(".qodef-video-wrap").width(70).height(70),c.find(".mejs-container").width(70).height(70),c.find(".mejs-controls").remove(),c.find("video").width(70).height(70)),c}1==b?(a.find(".left.carousel-control .qodef-thumb-holder .img").hide().html(d(c)).fadeIn("slow"),a.find(".right.carousel-control .qodef-thumb-holder .img").hide().html(d(b+1)).fadeIn("slow")):b==c?(a.find(".left.carousel-control .qodef-thumb-holder .img").hide().html(d(b-1)).fadeIn("slow"),a.find(".right.carousel-control .qodef-thumb-holder .img").hide().html(d(1)).fadeIn("slow")):(a.find(".left.carousel-control .qodef-thumb-holder .img").hide().html(d(b-1)).fadeIn("slow"),a.find(".right.carousel-control .qodef-thumb-holder .img").hide().html(d(b+1)).fadeIn("slow"))},I=function(b){var c=1500,d=1920,e=1080,f=1920/1080;b.find(".item .qodef-video .qodef-video-wrap").each(function(){var b=qodef.windowWidth,g=a(this).closest(".carousel").height();a(this).width(b),c=f*(g+20),a(this).height(g);var h=b/d,i=(g-qodefGlobalVars.vars.qodefMenuAreaHeight)/e,j=i;h>i&&(j=h),j*d1e3&&b.find(".carousel-inner .item.qodef-animate-image:first-child .qodef-image").transformAnimate({transform:"matrix("+r[a(".carousel-inner .item:first-child").data("qodef_animate_image")]+")",duration:3e4})};return{init:function(){if(o.length){if(o.each(function(){var g=a(this),h=g.data("slide_animation_timeout"),i=g.find(".item").length;if(g.data("qodef_responsive_breakpoints")&&"set2"==g.data("qodef_responsive_breakpoints")&&(q=[1600,1300,1e3,768,567,320]),b=g.data("qodef_responsive_graphic_coefficients").split(","),c=g.data("qodef_responsive_title_coefficients").split(","),d=g.data("qodef_responsive_subtitle_coefficients").split(","),e=g.data("qodef_responsive_text_coefficients").split(","),f=g.data("qodef_responsive_button_coefficients").split(","),B(q,b,c,d,e,f),D(g),qodef.htmlEl.hasClass("touch")){if(g.find(".item:first-child .qodef-mobile-video-image").length>0)var j=p.exec(g.find(".item:first-child .qodef-mobile-video-image").attr("style"));else var j=p.exec(g.find(".item:first-child .qodef-image").attr("style"));if(j){var k=new Image;k.src=j[1],a(k).load(function(){a(".qodef-slider-preloader").fadeOut(500),K(g,i,h)})}}else if(g.find(".item:first-child video").length>0)a(".qodef-slider-preloader").fadeOut(500),K(g,i,h);else{var j=p.exec(g.find(".item:first-child .qodef-image").attr("style"));if(j){var k=new Image;k.src=j[1],a(k).load(function(){a(".qodef-slider-preloader").fadeOut(500),K(g,i,h)})}}g.on("slide.bs.carousel",function(){g.addClass("qodef-in-progress"),g.find(".active .qodef-slider-content-outer").fadeTo(250,0)}),g.on("slid.bs.carousel",function(){if(g.removeClass("qodef-in-progress"),g.find(".active .qodef-slider-content-outer").fadeTo(0,1),g.hasClass("qodef-slider-numbers")){var b=a(".item").index(a(".item.active")[0])+1;E(g,b,i)}if(g.hasClass("qodef-slider-thumbs")){var b=a(".item").index(a(".item.active")[0])+1;F(g,b,i)}g.hasClass("qodef-navigation-effect")&&H(g,a(".carousel .active"),!0),a(".item.qodef-animate-image .qodef-image").stop().css({transform:"","-webkit-transform":""}),a(".item.active").hasClass("qodef-animate-image")&&qodef.windowWidth>1e3&&a(".item.qodef-animate-image.active .qodef-image").transformAnimate({transform:"matrix("+r[a(".item.qodef-animate-image.active").data("qodef_animate_image")]+")",duration:3e4})}),g.swipe({swipeLeft:function(){g.carousel("next")},swipeRight:function(){g.carousel("prev")},threshold:20,allowPageScroll:"vertical"})}),a(".no-touch .carousel").length){skrollr.init({smoothScrolling:!1,forceHeight:!1}).refresh()}a(window).scroll(function(){a(".qodef-slider .carousel").height()qodef.windowHeight&&qodef.windowWidth>1e3?a(".qodef-slider .carousel").find(".carousel-inner, .carousel-indicators").hide():!a(".qodef-slider .carousel").hasClass("qodef-full-screen")&&qodef.scroll>a(".qodef-slider .carousel").height()&&qodef.windowWidth>1e3?a(".qodef-slider .carousel").find(".carousel-inner, .carousel-indicators").hide():a(".qodef-slider .carousel").find(".carousel-inner, .carousel-indicators").show()})}}}}}(jQuery),function(a){"use strict";function b(){a(document).on("click",".qodef-quantity-minus, .qodef-quantity-plus",function(b){b.stopPropagation();var c,d=a(this),e=d.siblings(".qodef-quantity-input"),f=parseFloat(e.attr("step")),g=parseFloat(e.attr("max")),h=!1,i=parseFloat(e.val());d.hasClass("qodef-quantity-minus")&&(h=!0),h?(c=i-f,c>=1?e.val(c):e.val(1)):(c=i+f,void 0===g?e.val(c):c>=g?e.val(g):e.val(c)),e.trigger("change")})}function c(){(a(".woocommerce-ordering .orderby").length||a("#calc_shipping_country").length)&&(a(".woocommerce-ordering .orderby").select2({minimumResultsForSearch:1/0}),a("#calc_shipping_country").select2()),a("table.variations").length>0&&a("table.variations").find("td.value").each(function(){a(this).find("select").select2({minimumResultsForSearch:-1}).on("select2-opening",function(){a(this).trigger("focusin")})})}function d(){var b=a(".woocommerce.single-product .product .images .woocommerce-product-gallery__image");b.length&&b.each(function(){a(this).children("a").attr("data-rel","prettyPhoto[woo_single_pretty_photo]"),a("a[data-rel]").each(function(){a(this).attr("rel",a(this).data("rel"))}),a("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})})}a(document).ready(function(){b(),c(),d()})}(jQuery),function(a){"use strict";qodef.modules.portfolio={},a(window).load(function(){b().init()});var b=function(){var b=a(".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");if(b.length)var c=b.parent(),d=c.offset().top,e=c.height(),f=a(".qodef-portfolio-media"),g=f.height(),h=a(".header-appear, .qodef-fixed-wrapper"),i=h.length?h.height():0;var j=function(){b.length&&g>e&&qodef.scroll>d&&b.animate({marginTop:qodef.scroll-d+qodefGlobalVars.vars.qodefAddForAdminBar+i+20})},k=function(){b.length&&g>e&&(qodef.scroll>d?qodef.scroll+i+qodefGlobalVars.vars.qodefAddForAdminBar+e+20