!function(a){"use strict";function b(){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")}function c(){}function d(){qodef.windowWidth=a(window).width(),qodef.windowHeight=a(window).height()}function e(){qodef.scroll=a(window).scrollTop()}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,qodef.qodefOnDocumentReady=b,qodef.qodefOnWindowLoad=c,qodef.qodefOnWindowResize=d,qodef.qodefOnWindowScroll=e,a(document).ready(b),a(window).on("load",c),a(window).resize(d),a(window).scroll(e),!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}}(jQuery),function(a){"use strict";function b(){f(),g(),h(),j(),k(),m(),D().init(),o(),p(),q(),i(),w(),x(),A(),z()}function c(){l(),n(),B()}function d(){p(),x()}function e(){}function f(){Modernizr.touch&&!qodef.body.hasClass("qodef-no-animations-on-touch")&&qodef.body.addClass("qodef-no-animations-on-touch")}function g(){navigator.appVersion.toLowerCase().indexOf("mac")>-1&&qodef.body.hasClass("qodef-smooth-scroll")&&qodef.body.removeClass("qodef-smooth-scroll")}function h(){fluidvids.init({selector:["iframe"],players:["www.youtube.com","player.vimeo.com"]})}function i(){var b=a(".qodef-owl-slider");b.length&&b.each(function(){a(this).owlCarousel({singleItem:!0,transitionStyle:"fade",navigation:!0,autoHeight:!0,pagination:!1,navigationText:['','']})})}function j(){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).on("load",function(){b.removeClass("qodef-preload-background")})})}function k(){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 l(){if(a("[data-qodef_header_style]").length>0&&qodef.body.hasClass("qodef-header-style-on-scroll")){var b=a(".qodef-full-width-inner > .wpb_row.qodef-section, .qodef-full-width-inner > .qodef-parallax-section-holder, .qodef-container-inner > .wpb_row.qodef-section, .qodef-container-inner > .qodef-parallax-section-holder, .qodef-portfolio-single > .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 m(){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");d.length&&(e=!1),f.length>0&&e&&f.each(function(){a(this).appear(function(){void 0!==(c=a(this).data("animation"))&&""!==c&&(b=c,a(this).addClass(b+"-on"))},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})})}function n(){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 o(){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)/)&&(p(),a(".qodef-section .qodef-mobile-video-image").show(),a(".qodef-section .qodef-video-wrap").remove())}function p(){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,y(b<1e3?"off":"on")})}function A(){a("#qodef-back-to-top").on("click",function(a){a.preventDefault(),qodef.html.animate({scrollTop:0},qodef.window.scrollTop()/3,"linear")})}function B(){var b=a("body > .qodef-smooth-transition-loader.qodef-mimic-ajax");b.length&&(b.fadeOut(500),a(window).on("pageshow",function(a){a.originalEvent.persisted&&b.fadeOut(500)}),a("a").on("click",function(c){var d=a(this),e=d.prop("hash").split("#")[1];1==c.which&&d.attr("href").indexOf(window.location.host)>=0&&void 0===d.data("rel")&&void 0===d.attr("rel")&&void 0===e&&!d.hasClass("qodef-like")&&(void 0===d.attr("target")||"_self"===d.attr("target"))&&d.attr("href").split("#")[0]!==window.location.href.split("#")[0]&&(c.preventDefault(),b.addClass("qodef-hide-spinner"),b.fadeIn(500,function(){window.location=d.attr("href")}))}))}var C={};qodef.modules.common=C,C.qodefIsTouchDevice=f,C.qodefDisableSmoothScrollForMac=g,C.qodefFluidVideo=h,C.qodefPreloadBackgrounds=j,C.qodefPrettyPhoto=k,C.qodefCheckHeaderStyleOnScroll=l,C.qodefInitParallax=n,C.qodefEnableScroll=s,C.qodefDisableScroll=r,C.qodefWheel=t,C.qodefKeydown=u,C.qodefPreventDefaultValue=v,C.qodefOwlSlider=i,C.qodefInitSelfHostedVideoPlayer=w,C.qodefSelfHostedVideoSize=x,C.qodefInitBackToTop=A,C.qodefBackButtonShowHide=z,C.qodefSmoothTransition=B,C.qodefOnDocumentReady=b,C.qodefOnWindowLoad=c,C.qodefOnWindowResize=d,C.qodefOnWindowScroll=e,a(document).ready(b),a(window).on("load",c),a(window).resize(d),a(window).scroll(e);var D=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];""!==b&&a('[data-qodef-anchor="'+b+'"]').length>0&&a("a[href='"+window.location.href.split("#")[0]+"#"+b+"']").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.pushState&&history.pushState(null,null,"#"+f)}),!1}})};return{init:function(){a("[data-qodef-anchor]").length&&(f(),c(),a(window).on("load",function(){d()}))}}}}(jQuery),function(a){"use strict";function b(){g()}function c(){}function d(){}function e(){}function f(b,c,d){function e(a,c){b[a]=void 0!==b[a]?b[a]:c}c=void 0!==c?c:".qodef-content",d=void 0!==d?d:".qodef-content",b=void 0!==b?b:{},e("url",window.location.href),e("type","POST"),e("success",function(e){var f=a(e),g=f.find(".qodef-meta");g.length&&l(g);var h=f.find(d);if(!h.length)return p=!0,!1;m(b.url,h,c)}),e("ajaxReq","yes"),a.ajax({url:b.url,type:b.type,data:{ajaxReq:b.ajaxReq},success:b.success})}function g(){if(qodef.body.removeClass("page-not-loaded"),o.loader=a("body > .qodef-smooth-transition-loader.qodef-ajax"),o.loader.length){if(o.loader.fadeOut(o.loaderTime),a(window).focus(function(){o.loader.fadeOut(o.loaderTime)}),qodef.body.hasClass("woocommerce")||qodef.body.hasClass("woocommerce-page"))return!1;h(),a(document).on("click",'a[target!="_blank"]:not(.no-ajax):not(.no-link)',function(b){var c=a(this);if(1==b.ctrlKey)return window.open(c.attr("href"),"_blank"),!1;if(c.parents(".qodef-ptf-load-more").length)return!1;if(c.parents(".qodef-blog-load-more-button").length)return!1;if(c.parents("qodef-post-info-comments").length){var d=c.attr("href").split("#")[1];return a("html, body").scrollTop(a("#"+d).offset().top),!1}if(window.location.href.split("#")[0]==c.attr("href").split("#")[0])return!1;if(0===c.closest(".qodef-no-animation").length){if(document.location.href.indexOf("?s=")>=0)return!0;if(c.attr("href").indexOf("wp-admin")>=0)return!0;if(c.attr("href").indexOf("wp-content")>=0)return!0;if(-1!==jQuery.inArray(c.attr("href").split("#")[0],qodefGlobalVars.vars.no_ajax_pages))return document.location.href=c.attr("href"),!1;if("http://#"===c.attr("href")||"#"===c.attr("href"))return!1;if(0===c.attr("href").indexOf(window.location.protocol+"//"+window.location.host)){if(!p)return!1;b.preventDefault(),b.stopImmediatePropagation(),b.stopPropagation(),c.is(".current")||i(c)}}})}}function h(){window.history.pushState&&a(window).on("popstate",function(){var a=location.href;!q&&p&&(p=!1,f({url:a}))})}function i(a){p=!1,o.loader.fadeIn(o.loaderTime),f({url:a.attr("href")})}function j(b){var c=a("nav a[href='"+b+"'], .widget_nav_menu a[href='"+b+"']");a(".qodef-main-menu a, .qodef-mobile-nav a, .qodef-mobile-nav h4, .qodef-vertical-menu a, .popup_menu a, .widget_nav_menu a").removeClass("current").parent().removeClass("qodef-active-item"),a(".widget_nav_menu ul.menu > li").removeClass("current-menu-item"),c.each(function(){var b=a(this);0===b.closest(".second").length?b.parent().addClass("qodef-active-item"):b.closest(".second").parent().addClass("qodef-active-item"),b.closest(".qodef-mobile-nav").length>0&&(b.closest(".level0").addClass("qodef-active-item"),b.closest(".level1").addClass("qodef-active-item"),b.closest(".level2").addClass("qodef-active-item")),b.closest(".widget_nav_menu").length>0&&b.closest(".widget_nav_menu").find(".menu-item").addClass("current-menu-item"),b.addClass("current")})}function k(){a(document).off(),a(window).off(),qodef.body.off().find("*").off(),qodef.qodefOnDocumentReady(),qodef.qodefOnWindowLoad(),a(window).resize(qodef.qodefOnWindowResize),a(window).scroll(qodef.qodefOnWindowScroll);for(var b=["common","ajax","header","title","shortcodes","woocommerce","portfolio","blog","like"],c=0;c').prependTo(a("head")),a('head meta[name="keywords"]').length?a('head meta[name="keywords"]').attr("content",f):void 0!==f&&a('').prependTo(a("head")),document.title=c;var g=b.find(".qodef-body-classes").text(),h=g.split(",");qodef.body.removeClass();for(var i=0;i0){var j=b.find("#qodef-page-id").text(),k=a("#wp-admin-bar-edit a").attr("href"),l=k.replace(/(post=).*?(&)/,"$1"+j+"$2");a("#wp-admin-bar-edit a").attr("href",l)}}function m(b,c,d){d=void 0!==d?d:".qodef-content";var e=qodef.body.find(d);c.height(e.height()).css({position:"absolute",opacity:0,overflow:"hidden"}).insertBefore(e),c.waitForImages(function(){-1!==b.indexOf("#")&&a('').appendTo("body"),k(),"fade"==o.type&&(e.stop().fadeTo(o.time,0,function(){e.remove(),window.history.pushState?(b!==window.location.href&&window.history.pushState({path:b},"",b),"undefined"!=typeof _gaq&&_gaq.push(["_trackPageview",b])):document.location.href=window.location.protocol+"//"+window.location.host+"#"+b.split(window.location.protocol+"//"+window.location.host)[1],j(b),qodef.body.animate({scrollTop:0},o.time,"swing")}),setTimeout(function(){c.css("position","relative").height("").stop().fadeTo(o.time,1,function(){p=!0,q=!1,o.loader.fadeOut(o.loaderTime,function(){var b=a(".qodef-temp-anchor");b.length&&b.trigger("click").remove()})})},!o.simultaneous*o.time))})}var n={};qodef.modules.ajax=n;var o={};n.animation=o,n.qodefFetchPage=f,n.qodefInitAjax=g,n.qodefHandleLinkClick=i,n.qodefInsertFetchedContent=m,n.qodefInitBackBehavior=h,n.qodefSetActiveState=j,n.qodefReinitiateAll=k,n.qodefHandleMeta=l,n.qodefOnDocumentReady=b,n.qodefOnWindowLoad=c,n.qodefOnWindowResize=d,n.qodefOnWindowScroll=e,a(document).ready(b),a(window).on("load",c),a(window).resize(d),a(window).scroll(e);var p=!0,q=!0;o.type=null,o.time=500,o.simultaneous=!0,o.loader=null,o.loaderTime=500}(jQuery),function(a){"use strict";function b(){f(),g(),h(),i(),j(),k(),l(),m(),n(),p().init()}function c(){l()}function d(){m()}function e(){}function f(){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").on("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").on("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.on("click",function(){i.preventDefault(),e.removeClass("opened"),qodef.body.removeClass("qodef-side-menu-open")}))})}function h(){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 i(){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.on("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 j(){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*="#"]');b.length&&c.length&&b.on("tap click",function(a){a.stopPropagation(),a.preventDefault(),c.is(":visible")?c.slideUp(200):c.slideDown(200)}),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(200),d.removeClass("qodef-opened")):(c.slideDown(200),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(200)})}function k(){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");if(a(b[c]).hasClass("wide")){var e=a(this).find(".inner > ul"),f=parseInt(e.css("padding-left").slice(0,-2))+parseInt(e.css("padding-right").slice(0,-2)),g=e.outerWidth();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+(g+f)/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"}),d.stop().animate({height:a(b[c]).data("original_height"),opacity:1},200,function(){d.css("overflow","visible")})}).mouseleave(function(){d.stop().animate({height:"0px"},0,function(){d.css({overflow:"hidden",visibility:"hidden"})})});else{var j={interval:0,over:function(){d.css({display:"block"}),setTimeout(function(){d.find("li").css({visibility:"visible"}),d.addClass("qodef-drop-down-start"),d.stop().css({height:a(b[c]).data("original_height")}),d.css({visibility:"visible"})},150)},timeout:150,out:function(){d.removeClass("qodef-drop-down-start"),d.css({visibility:"hidden"}),d.find("li").css({visibility:"hidden"}),d.stop().css({height:"0px"}),d.css({display:"none"})}};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 n(){var b,c=a("a.qodef-search-opener");if(a("html").hasClass("touch")&&!0,c.length>0){if(qodef.body.hasClass("qodef-fullscreen-search")){var d=!1,b=a(".qodef-fullscreen-search-close");qodef.body.hasClass("qodef-search-fade")&&(d=!0),function(d){var e=a(".qodef-fullscreen-search-holder");a(".qodef-fullscreen-search-overlay"),c.on("click",function(c){c.preventDefault();var f=!1;if("yes"===a(this).data("icon-close-same-position")){var g=a(this).offset().top,h=a(this).offset().left;f=!0}d&&(e.hasClass("qodef-animate")?(qodef.body.removeClass("qodef-fullscreen-search-opened"),qodef.body.addClass("qodef-search-fade-out"),qodef.body.removeClass("qodef-search-fade-in"),e.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"),e.addClass("qodef-animate"),f&&b.css({top:g-qodef.scroll,left:h}), qodef.body.hasClass("page-template-full_screen-php")||qodef.modules.common.qodefDisableScroll()),b.on("click",function(a){a.preventDefault(),qodef.body.removeClass("qodef-fullscreen-search-opened"),e.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"),e.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(".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")})}(d)}else qodef.body.hasClass("qodef-search-covers-header")&&function(){c.on("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),a(this).closest(".qodef-mobile-header").length>0&&(d=a(this).closest(".qodef-mobile-header").children().children().first()),e.parent().hasClass("qodef-logo-area")?c=qodefGlobalVars.vars.qodefLogoAreaHeight:e.parent().hasClass("qodef-top-bar")?c=qodefGlobalVars.vars.qodefTopBarHeight:e.parent().hasClass("qodef-menu-area")?c=qodefGlobalVars.vars.qodefMenuAreaHeight-qodefGlobalVars.vars.qodefTopBarHeight:e.parent().hasClass("qodef-sticky-header")?c=qodefGlobalVars.vars.qodefStickyHeaderTransparencyHeight:e.parent().hasClass("qodef-mobile-header-holder")&&(c=a(".qodef-mobile-header-inner").height()),f.height(c),d.stop(!0).fadeIn(600),a('.qodef-search-cover input[type="text"]').focus(),a(".qodef-search-close, .content, footer").on("click",function(a){a.preventDefault(),d.stop(!0).fadeOut(450)}),d.blur(function(){d.stop(!0).fadeOut(450)})})}();if(void 0!==c.data("hover-color")){var e=function(a){a.data.searchOpener.css("color",a.data.color)},f=c.css("color"),g=c.data("hover-color");c.on("mouseenter",{searchOpener:c,color:g},e),c.on("mouseleave",{searchOpener:c,color:f},e)}}}var o={};qodef.modules.header=o,o.isStickyVisible=!1,o.stickyAppearAmount=0,o.behaviour,o.qodefHeaderBehaviour=f,o.qodefSideArea=g,o.qodefSideAreaScroll=h,o.qodefFullscreenMenu=i,o.qodefInitMobileNavigation=j,o.qodefMobileHeaderBehavior=k,o.qodefSetDropDownMenuPosition=l,o.qodefDropDownMenu=m,o.qodefSearch=n,o.qodefOnDocumentReady=b,o.qodefOnWindowLoad=c,o.qodefOnWindowResize=d,o.qodefOnWindowScroll=e,a(document).ready(b),a(window).on("load",c),a(window).resize(d),a(window).scroll(e);var p=function(){var b=a(".qodef-vertical-menu-area"),c=function(){var c=b.find(".qodef-vertical-menu");void 0!==c.data("navigation-type")&&c.data("navigation-type");!function(){var b=c.find("ul li.menu-item-has-children"),d=b.find(" > .second, > ul");b.each(function(){var c=a(this).find(" > .second, > ul"),e=this;Modernizr.touch?a(this).find("> a").on("click tap",function(f){f.preventDefault(),f.stopPropagation(),c.hasClass("qodef-float-open")?(c.removeClass("qodef-float-open"),a(e).removeClass("open")):(a(this).parents("li").hasClass("open")||(b.removeClass("open"),d.removeClass("qodef-float-open")),c.addClass("qodef-float-open"),a(e).addClass("open"))}):a(this).hoverIntent({over:function(){c.addClass("qodef-float-open"),a(e).addClass("open")},out:function(){c.removeClass("qodef-float-open"),a(e).removeClass("open")},timeout:300})})}()};return{init:function(){b.length&&c()}}}}(jQuery),function(a){"use strict";function b(){f()}function c(){}function d(){}function e(){}function f(){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 g={};qodef.modules.title=g,g.qodefParallaxTitle=f,g.qodefOnDocumentReady=b,g.qodefOnWindowLoad=c,g.qodefOnWindowResize=d,g.qodefOnWindowScroll=e,a(document).ready(b),a(window).on("load",c),a(window).resize(d),a(window).scroll(e)}(jQuery),function(a){"use strict";function b(){$().init(),H(),f(),g(),k(),W().init(),i(),j(),l(),m(),n(),p(),q(),r(),Y().init(),s(),t(),y(),x(),u(),B(),E(),z(),G(),I(),N(),Q(),_().init(),X().init(),Z().init(),R(),aa().init(),S(),U()}function c(){T()}function d(){s(),t(),B(),E(),N()}function e(){}function f(){var b=a(".qodef-counter");b.length&&b.each(function(){var b=a(this);b.appear(function(){if(b.parent().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 g(){var b=a(".qodef-progress-bar");b.length&&b.each(function(){var b=a(this);b.appear(function(){if(h(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"),d=b.find(".qodef-progress-content"),e=b.find(".qodef-progress-number");d.css("width","0%"),d.animate({width:c+"%"},1500),e.css("left","0%"),e.animate({left:c+"%"},1500)})})}function h(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 i(){var b=a(".qodef-message");b.length&&b.each(function(){a(this).find(".qodef-close").on("click",function(b){b.preventDefault(),a(this).parent().parent().fadeOut(500)})})}function j(){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 k(){var b,c,d,e,f,g,h,i,j,k,l,m=a(".qodef-countdown");m.length&&m.each(function(){function m(){q.find(".countdown-amount").css({"font-size":n+"px","line-height":n+"px"}),q.find(".countdown-period").css({"font-size":o+"px"})}var n,o,p=a(this).attr("id"),q=a("#"+p);b=q.data("year"),c=q.data("month"),d=q.data("day"),e=q.data("hour"),f=q.data("minute"),g=q.data("timezone"),h=q.data("month-label"),i=q.data("day-label"),j=q.data("hour-label"),k=q.data("minute-label"),l=q.data("second-label"),n=q.data("digit-size"),o=q.data("label-size"),q.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 l(){var b=a(".qodef-testimonials");b.length&&b.each(function(){var b=a(this);b.appear(function(){b.css("visibility","visible")},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount});var c=5e3;void 0!==b.data("interval")&&!1!==b.data("interval")&&(c=b.data("interval")),b.owlCarousel({singleItem:!0,autoPlay:c,navigation:!1,transitionStyle:"fade",autoHeight:!0,mouseDrag:!1,pagination:!0,slideSpeed:600,navigationText:['','']})})}function m(){var b,c,d,e=a(".qodef-carousel-holder");e.length&&e.each(function(){b=a(this).children(".qodef-carousel"),c=b.data("items"),d="yes"==b.data("navigation");var e=[[0,1],[480,2],[768,3],[1024,3],[1200,c]];b.owlCarousel({autoPlay:3e3,items:c,itemsCustom:e,pagination:!1,navigation:d,slideSpeed:600,navigationText:['','']})})}function n(){var b=a(".qodef-pie-chart-holder, .qodef-pie-chart-with-icon-holder");b.length&&b.each(function(){var b,c,d=a(this),e=d.children(".qodef-percentage, .qodef-percentage-with-icon"),f=145,g=e.data("active-color");void 0!==g&&(b=g);var h=e.data("inactive-color");void 0!==h&&(c=h);var i=e.data("size");void 0!==i&&(f=i),e.appear(function(){o(d),e.css("opacity","1"),e.easyPieChart({barColor:b,trackColor:c,scaleColor:!1,lineCap:"butt",lineWidth:10,animate:1500,size:f})},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})})}function o(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 p(){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 q(){var b=a(".qodef-tabs");b.length&&b.each(function(){var b=a(this);b.children(".qodef-tab-container").each(function(b){b+=1;var c=a(this),d=c.attr("id"),e=c.parent().find(".qodef-tabs-nav li:nth-child("+b+") a"),f=e.attr("href");d="#"+d,d.indexOf(f)>-1&&e.attr("href",d)}),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 r(){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 s(){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 t(){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 u(){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")),v(b,d,e,f,k,g,"qodef-map-"+j,i,h,"map_"+j,"geocoder_"+j,l)})}function v(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 x(){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.on("mouseenter mouseleave",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 y(){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 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))})}function A(b){var c="";b.hasClass("qodef-ptf-has-filter")&&(c=b.find(".qodef-portfolio-filter-holder-inner ul li").data("class"),c="."+c);var d=function(){e.parent().hasClass("qodef-ptf-standard")&&e.find("article").each(function(){var b=a(this);setTimeout(function(){b.appear(function(){b.addClass("qodef-appeared")},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})},100)}),e.parent().hasClass("qodef-ptf-gallery")&&e.each(function(){var b=a(this);setTimeout(function(){b.appear(function(){b.find("article").addClass("qodef-appeared")},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})},100)})},e=b.find(".qodef-portfolio-list-holder"),f=b.find(".qodef-ptf-list-paging");e.mixItUp({callbacks:{onMixLoad:function(){e.find("article").css("visibility","visible")},onMixStart:function(){e.find("article").css("visibility","visible"),setTimeout(function(){f.addClass("qodef-appeared"),d()},500)},onMixBusy:function(){e.find("article").css("visibility","visible")}},selectors:{filter:c},animation:{effects:"fade",duration:600}})}function B(){var b=a(".qodef-portfolio-list-holder-outer.qodef-ptf-masonry");b.length&&b.each(function(){var c=a(this).children(".qodef-portfolio-list-holder"),d=c.find(".qodef-portfolio-list-masonry-grid-sizer").width();c.find(".qodef-portfolio-list-masonry-grid-gutter").width();D(d,c),b.waitForImages(function(){C(c)}),a(window).resize(function(){D(d,c),C(c)})})}function C(a){a.animate({opacity:1}),a.isotope({itemSelector:".qodef-portfolio-item",masonry:{columnWidth:".qodef-portfolio-list-masonry-grid-sizer",gutter:".qodef-portfolio-list-masonry-grid-gutter"}})}function D(a,b){var c=b.find(".qodef-default-masonry-item"),d=b.find(".qodef-large-width-masonry-item"),e=b.find(".qodef-large-height-masonry-item"),f=b.find(".qodef-large-width-height-masonry-item");c.css("height",a),e.css("height",Math.round(2*a)),qodef.windowWidth>600?(f.css("height",Math.round(2*a)),d.css("height",a)):(f.css("height",a),d.css("height",Math.round(a/2)))}function E(){var b=a(".qodef-portfolio-list-holder-outer.qodef-ptf-pinterest");b.length&&b.each(function(){var c=a(this).children(".qodef-portfolio-list-holder");b.waitForImages(function(){F(c)}),a(window).resize(function(){F(c)})})}function F(a){a.animate({opacity:1}),a.isotope({itemSelector:".qodef-portfolio-item",masonry:{columnWidth:".qodef-portfolio-list-masonry-grid-sizer"}})}function G(){var b=a(".qodef-portfolio-filter-holder.qodef-masonry-filter");b.length&&b.each(function(){var b=a(this),c=null;b.find("ul li").data("class");b.find(".filter:first").addClass("current"),b.find(".filter").on("click",function(){var d=a(this);clearTimeout(c),a(".isotope, .isotope .isotope-item").css("transition-duration","0.8s"),c=setTimeout(function(){a(".isotope, .isotope .isotope-item").css("transition-duration","0s")},700);var e=a(this).attr("data-filter");return b.siblings(".qodef-portfolio-list-holder-outer").find(".qodef-portfolio-list-holder").isotope({filter:e}),b.find(".filter").removeClass("current"),d.addClass("current"),!1})})}function H(){var b=a(".qodef-ptf-gallery.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({items:d,itemsCustom:e,pagination:!1,navigation:!0,slideSpeed:600,transitionStyle:"fade",navigationText:['','']})})}function I(){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=K(d);b=h.nextPage;var i=d.find('input[name*="qodef_ptf_load_more_nonce_"]');if(h.ptf_load_more_id=i.attr("name").substring(i.attr("name").length-4,i.attr("name").length),h.ptf_load_more_nonce=i.val(),g.preventDefault(),g.stopPropagation(),b<=c){var j=L(h);a.ajax({type:"POST",data:j,url:qodeCoreAjaxUrl,success:function(c){b++,d.data("next-page",b);var f=a.parseJSON(c),g=J(f.html);d.waitForImages(function(){setTimeout(function(){d.hasClass("qodef-ptf-masonry")||d.hasClass("qodef-ptf-pinterest")?(e.isotope().append(g).isotope("appended",g).isotope("reloadItems"),B(),g.addClass("qodef-appeared")):e.mixItUp("append",g)},400)})}})}b===c&&f.hide()})})}function J(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 K(a){var b={};return b.type="",b.columns="",b.gridSize="",b.orderBy="",b.order="",b.number="",b.imageSize="",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("image-size")&&!1!==a.data("image-size")&&(b.imageSize=a.data("image-size")),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 L(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,imageSize:a.imageSize,filter:a.filter,filterOrderBy:a.filterOrderBy,category:a.category,selectedProjectes:a.selectedProjectes,showLoadMore:a.showLoadMore,titleTag:a.titleTag,nextPage:a.nextPage,ptf_load_more_id:a.ptf_load_more_id,ptf_load_more_nonce:a.ptf_load_more_nonce}}function M(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 N(){var b=a(".qodef-shop-masonry");b.length&&b.each(function(){var b=a(this).children(".qodef-shop-list-masonry"),c=b.find(".qodef-shop-list-masonry-grid-sizer").width();P(c,b),O(b),a(window).resize(function(){c=b.find(".qodef-shop-list-masonry-grid-sizer").width(),P(c,b),O(b)})})}function O(a){a.animate({opacity:1}),a.isotope({itemSelector:".qodef-shop-product",masonry:{columnWidth:".qodef-shop-list-masonry-grid-sizer"}})}function P(a,b){var c=b.find(".qodef-default-masonry-item"),d=b.find(".qodef-large-width-masonry-item"),e=b.find(".qodef-large-height-masonry-item"),f=b.find(".qodef-large-width-height-masonry-item");c.css("height",a),e.css("height",Math.round(2*a));var g=qodef.body.hasClass("page-template-full-width")?480:600;qodef.windowWidth>g?(f.css("height",Math.round(2*a)),d.css("height",a)):(f.css("height",a),d.css("height",Math.round(a/2)))}function Q(){var b=a(".qodef-shop-filter-holder.qodef-masonry-filter");b.length&&b.each(function(){var b=a(this),c=null;b.find(".filter:first").addClass("current"),b.find("li").on("click",function(){var d=a(this);clearTimeout(c),a(".isotope, .isotope .isotope-item").css("transition-duration","0.8s"),c=setTimeout(function(){a(".isotope, .isotope .isotope-item").css("transition-duration","0s")},700);var e=a(this).attr("data-filter");return b.parent().find(".qodef-shop-list-masonry").isotope({filter:e}),b.find(".filter").removeClass("current"),d.addClass("current"),!1})})}function R(){var b=a(".qodef-image-slider");if(b.length&&qodef.windowWidth>768)b.each(function(){a(this).animate({opacity:1},1e3),a(this).find(".qodef-image-slider-inner").lemmonSlider({infinite:!0}),a(this).swipe({swipeLeft:function(b,c,d,e,f){a(".controls .next-slide").on("click")},swipeRight:function(b,c,d,e,f){a(".controls .prev-slide").on("click")},threshold:0})});else if(b.length){var c=[[0,1],[480,1],[600,2]];b.each(function(){a(this).animate({opacity:1},1e3),a(this).find(".qodef-image-slider-inner ul").owlCarousel({items:2,itemsCustom:c,autoPlay:!1,navigation:!0,transitionStyle:"fade",autoHeight:!0,pagination:!1,navigationText:['','']})})}}function S(){var b=a(".qodef-blog-slider-holder");b.length&&b.each(function(){var b=a(this),c=b.children(".qodef-blog-slider-items"),d=b.data("number-of-items"),e=[[0,1],[480,1],[768,2],[1024,2],[1360,d]];c.owlCarousel({items:d,itemsCustom:e,pagination:!1,navigation:!1,slideSpeed:600,transitionStyle:"fade",navigationText:['','']})})}function T(){var b=a(".qodef-portfolio-list-holder-outer:not(.qodef-portfolio-slider-holder)");b.length&&b.each(function(){if(b.hasClass("qodef-ptf-masonry")||b.hasClass("qodef-ptf-pinterest")){var c=a(this),d=c.find("article"),e=c.find(".qodef-ptf-list-paging"),f=0;d.each(function(){var b=a(this);setTimeout(function(){b.appear(function(){f++,5==f&&(f=0),setTimeout(function(){b.addClass("qodef-appeared")},180*f)},{accX:0,accY:0})},30)}),e.length&&e.addClass("qodef-appeared")}})}function U(){var b=a(".qodef-unordered-list.qodef-animate-list");b.length&&b.each(function(){var b=a(this);b.appear(function(){b.addClass("qodef-appeared")},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})})}var V={};qodef.modules.shortcodes=V,V.qodefInitCounter=f,V.qodefInitProgressBars=g,V.qodefInitCountdown=k,V.qodefInitMessages=i,V.qodefInitMessageHeight=j,V.qodefInitTestimonials=l,V.qodefInitCarousels=m,V.qodefInitPieChart=n,V.qodefInitPieChartDoughnut=p,V.qodefInitTabs=q,V.qodefInitTabIcons=r,V.qodefInitBlogListMasonry=s,V.qodefCustomFontResize=t,V.qodefInitImageGallery=y,V.qodefInitAccordions=x,V.qodefShowGoogleMap=u,V.qodefInitPortfolioListMasonry=B,V.qodefInitPortfolioListPinterest=E,V.qodefInitPortfolio=z,V.qodefInitPortfolioMasonryFilter=G,V.qodefInitPortfolioSlider=H,V.qodefInitPortfolioLoadMore=I,V.qodefCheckSliderForHeaderStyle=M,V.qodefInitShopListMasonry=N,V.qodefInitShopMasonryFilter=Q,V.qodefInitImageSlider=R,V.qodefInitBlogSlider=S,V.qodefInitPortfolioAnimations=T,V.qodefInitUnorderedList=U,V.qodefOnDocumentReady=b,V.qodefOnWindowLoad=c,V.qodefOnWindowResize=d,V.qodefOnWindowScroll=e,a(document).ready(b),a(window).on("load",c),a(window).resize(d),a(window).scroll(e);var W=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))})}}},X=qodef.modules.shortcodes.qodefSocialIconWidget=function(){var b=a(".qodef-social-icon-widget-holder"),c=function(a){if(void 0!==a.data("hover-color")){var b=function(a){a.data.icon.css("color",a.data.color)},c=a,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))}};return{init:function(){b.length&&b.each(function(){c(a(this))})}}},Y=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("borderTopColor"),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))})}}},Z=function(){var b=a(".qodef-full-screen-slider-holder"),c=a(".qodef-wrapper .qodef-content"),d=a(".qodef-top-bar"),e=a(".qodef-portfolio-full-screen-slider"),f=function(){if(b.length){var a=parseInt(c.css("margin-top")),e=0;d.length&&(e=d.height()),qodef.windowWidth>1024?a<0?b.css("height",qodef.windowHeight):b.css("height",qodef.windowHeight-qodefGlobalVars.vars.qodefMenuAreaHeight):b.css("height",qodef.windowHeight-qodefGlobalVars.vars.qodefMobileHeaderHeight-e)}},g=function(){b.length&&e.each(function(){a(this).owlCarousel({singleItem:!0,pagination:!1,navigation:!0,slideSpeed:600,transitionStyle:"fade",navigationText:['','']})})},h=function(){if(b.length){var c=a(".qodef-portfolio-slider-content"),d=a(".qodef-control.qodef-close"),e=a(".qodef-description"),f=a(".qodef-portfolio-slider-content-info");c.on("click",function(b){c.hasClass("opened")||(b.preventDefault(),e.fadeOut(400,function(){c.addClass("opened"),setTimeout(function(){f.fadeIn(400)},400),setTimeout(function(){a(".qodef-portfolio-slider-content-info").niceScroll({scrollspeed:60,mousescrollstep:40,cursorwidth:0,cursorborder:0,cursorborderradius:0,cursorcolor:"transparent",autohidemode:!1,horizrailenabled:!1})},800)}))}),d.on("click",function(a){a.preventDefault(),a.stopPropagation(),f.fadeOut(400,function(){c.removeClass("opened"),setTimeout(function(){e.fadeIn(400)},400)})})}};return{init:function(){f(),g(),h(),a(window).resize(function(){f()})}}},$=function(){var b=a(".qodef-fixed-background"),c=a(".qodef-fixed-background-item"),d=a(".qodef-fixed-background-item:first-child"),e=a(".qodef-wrapper .qodef-content"),f=a(".qodef-top-bar"),g=a(".qodef-fixed-background-item:first-child .qodef-fixed-background-inner"),h=function(){if(b.length&&qodef.windowWidth>768){var a=parseInt(e.css("margin-top")),h=0 ;f.length&&(h=f.height()),qodef.windowWidth>1024?a<0?c.css("height",qodef.windowHeight):(c.css("height",qodef.windowHeight),d.css("height",qodef.windowHeight-qodefGlobalVars.vars.qodefMenuAreaHeight)):(b.css("margin-top",-(qodefGlobalVars.vars.qodefMobileHeaderHeight+h)),c.css("height",qodef.windowHeight),g.css("padding-top",qodefGlobalVars.vars.qodefMobileHeaderHeight+h))}};return{init:function(){h(),a(window).resize(function(){h()})}}},_=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"}),0==qodefPerPageVars.vars.qodefStickyScrollAmount&&(qodef.modules.header.stickyAppearAmount=e)},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"}),0==qodefPerPageVars.vars.qodefStickyScrollAmount&&(qodef.modules.header.stickyAppearAmount=qodef.windowHeight)},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(b){var c=1500;b.find(".item .qodef-video .qodef-video-wrap").each(function(){var b=qodef.windowWidth,d=a(this).closest(".carousel").height();a(this).width(b),c=1920/1080*(d+20),a(this).height(d);var e=b/1920,f=(d-qodefGlobalVars.vars.qodefMenuAreaHeight)/1080,g=f;e>f&&(g=e),1920*g1e3&&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),H(g,i,h)})}}else if(g.find(".item:first-child video").length>0)a(".qodef-slider-preloader").fadeOut(500),H(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),H(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)}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})}),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()})}}}},aa=qodef.modules.shortcodes.qodefIconListItem=function(){var b=a(".qodef-icon-list-item"),c=function(a){var b=a.find(".qodef-icon-list-text"),c=b.data("hover-color"),d=b.css("color");if(void 0!==b.data("hover-color")){var e=function(a){a.data.text.css("color",a.data.color)};""!==c&&(b.on("mouseenter",{text:b,color:c},e),b.on("mouseleave",{text:b,color:d},e))}};return{init:function(){b.length&&b.each(function(){c(a(this))})}}}}(jQuery),function(a){"use strict";function b(){d(),e(),f()}function c(){i()}function d(){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 e(){var b=a(".woocommerce-ordering .orderby");b.length&&b.select2({minimumResultsForSearch:1/0});var c=a("#calc_shipping_country");c.length&&c.select2()}function f(){var b,c,d=a(".qodef-single-product-images .qodef-single-product-slider"),e=a(".qodef-single-product-images .qodef-single-product-thumbs"),f=a(".qodef-variation-images");d.owlCarousel({singleItem:!0,slideSpeed:1e3,navigation:!0,transitionStyle:"fade",pagination:!1,afterAction:g,responsiveRefreshRate:200,afterUpdate:function(){i()},afterInit:function(){b=d.find(".wp-post-image"),b.on("load",function(){if(f.length&&void 0!==c){var g=b.attr("src"),h=g.lastIndexOf("-"),i=g.lastIndexOf("."),j=g.substring(0,h),k=g.substring(i),l=j+k;b.parent().attr("href",l);var m=f.find(".qodef-variation-image");m.length&&m.each(function(){a(this).attr("data-original-image")==l&&(c.attr("src",a(this).attr("data-thumb-image")),c.attr("srcset",""))})}d.trigger("owl.jumpTo",0),e.trigger("owl.goTo",0)})}}),e.owlCarousel({items:3,pagination:!1,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsMobile:!1,responsiveRefreshRate:100,afterInit:function(a){a.find(".owl-item").eq(0).addClass("synced"),c=e.find(".owl-item:first-child img"),i()},afterUpdate:function(){i()}}),e.find(".owl-item a").attr("href","#"),e.on("click",".owl-item",function(b){b.preventDefault(),b.stopImmediatePropagation(),b.stopPropagation();var c=a(this).data("owlItem");d.trigger("owl.goTo",c)})}function g(b){var c=this.currentItem,d=a(".qodef-single-product-images .qodef-single-product-thumbs");d.find(".owl-item").removeClass("synced").eq(c).addClass("synced"),void 0!==d.data("owlCarousel")&&h(c)}function h(b){var c=a(".qodef-single-product-images .qodef-single-product-thumbs"),d=c.data("owlCarousel").owl.visibleItems,e=b,f=!1;for(var g in d)e===d[g]&&(f=!0);!1===f?e>d[d.length-1]?c.trigger("owl.goTo",e-d.length+2):(e-1==-1&&(e=0),c.trigger("owl.goTo",e)):e===d[d.length-1]?c.trigger("owl.goTo",d[1]):e===d[0]&&c.trigger("owl.goTo",e-1)}function i(){var b=a(".qodef-woocommerce-single-page");b.length&&b.waitForImages(function(){var b=a(".qodef-single-product-images .qodef-single-product-slider").outerHeight(),c=a(".qodef-single-product-thumbs").outerHeight();a(".qodef-single-product-images").css({height:b+c+"px",opacity:1})})}var j={};qodef.modules.woocommerce=j,j.qodefInitQuantityButtons=d,j.qodefInitSelect2=e,j.qodefInitSingleProductSlider=f,j.qodefInitImageHolderHeight=i,j.qodefOnDocumentReady=b,j.qodefOnWindowLoad=c,a(document).ready(b),a(window).on("load",c)}(jQuery),function(a){"use strict";function b(){}function c(){g().init()}function d(){}function e(){}var f={};qodef.modules.portfolio=f,f.qodefOnDocumentReady=b,f.qodefOnWindowLoad=c,f.qodefOnWindowResize=d,f.qodefOnWindowScroll=e,a(document).ready(b),a(window).on("load",c),a(window).resize(d),a(window).scroll(e);var g=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&&qodef.windowWidth>1024)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&&qodef.windowWidth>1024&&g>e&&qodef.scroll>d&&b.animate({marginTop:qodef.scroll-d+qodefGlobalVars.vars.qodefAddForAdminBar+i+20})},k=function(){b.length&&qodef.windowWidth>1024&&g>e&&(qodef.scroll>d?qodef.scroll+i+qodefGlobalVars.vars.qodefAddForAdminBar+e+20