!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).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(),F().init(),p(),r(),i(),x(),y(),B(),A()}function c(){l(),o(),q(),n(),C(),D()}function d(){q(),y(),D()}function e(){}function f(){Modernizr.touch&&!qodef.body.hasClass("qodef-no-animations-on-touch")&&qodef.body.addClass("qodef-no-animations-on-touch")}function g(){var a=navigator.appVersion.toLowerCase();a.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(){var b=a(this);b.owlCarousel({items:1,loop:!0,autoplay:!1,dots:!1,nav:!0,navText:['','']})})}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).load(function(){b.removeClass("qodef-preload-background")})})}function k(){var b='
 
Expand

{pp_social} Close
';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:b})}function l(){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 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(){c=a(this).data("animation"),"undefined"!=typeof c&&""!==c&&(b=c,a(this).addClass(b+"-on"))},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})})}function n(){qodef.htmlEl.is(".no-touch")&&a(".qodef-parallax-section-holder").length&&a(".qodef-parallax-section-holder").each(function(){var b=a(this),c=.4*b.data("qodef-parallax-speed");b.parallax("50%",c)})}function o(){a(".qodef-full-screen-height-section").length&&a(".qodef-full-screen-height-section").each(function(){var b=a(this);b.height(qodef.windowHeight)})}function p(){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)/)&&(q(),a(".qodef-section .qodef-mobile-video-image").show(),a(".qodef-section .qodef-video-wrap").remove())}function q(){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,z(b<1e3?"off":"on")})}function B(){var b=a("#qodef-back-to-top");b.on("click",function(a){a.preventDefault(),qodef.html.animate({scrollTop:0},qodef.window.scrollTop()/3,"linear")})}function C(){var b=a("body > .qodef-smooth-transition-loader.qodef-mimic-ajax");b.length&&(b.fadeOut(500),a(window).bind("pageshow",function(a){a.originalEvent.persisted&&b.fadeOut(500)}),a("a").click(function(c){var d=a(this);1==c.which&&d.attr("href").indexOf(window.location.host)>=0&&"undefined"==typeof d.data("rel")&&"undefined"==typeof d.attr("rel")&&!d.hasClass("qodef-like")&&("undefined"==typeof 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")}))}))}function D(){var b=1024,c=a(".qodef-footer-top").find(".qodef-column"),d=-1;if(qodef.body.hasClass("qodef-header-vertical")&&(b=1300),qodef.windowWidth600){var e=-1,f=-1;a(".qodef-footer-top").find(".qodef-four-columns")&&(e=c.eq(0).innerHeight()>c.eq(1).innerHeight()?c.eq(0).innerHeight():c.eq(1).innerHeight(),f=c.eq(2).innerHeight()>c.eq(3).innerHeight()?c.eq(2).innerHeight():c.eq(3).innerHeight()),c.eq(0).css("min-height",0).css("min-height",e),c.eq(1).css("min-height",0).css("min-height",e),c.eq(2).css("min-height",0).css("min-height",f),c.eq(3).css("min-height",0).css("min-height",f)}else c.each(function(){a(this).height()>d&&(d=a(this).innerHeight())}),a(".qodef-footer-top .qodef-column").css("min-height",0).css("min-height",d)}var E={};qodef.modules.common=E,E.qodefIsTouchDevice=f,E.qodefDisableSmoothScrollForMac=g,E.qodefFluidVideo=h,E.qodefPreloadBackgrounds=j,E.qodefPrettyPhoto=k,E.qodefCheckHeaderStyleOnScroll=l,E.qodefInitParallax=n,E.qodefInitFullScreenSection=o,E.qodefEnableScroll=t,E.qodefDisableScroll=s,E.qodefWheel=u,E.qodefKeydown=v,E.qodefPreventDefaultValue=w,E.qodefOwlSlider=i,E.qodefInitSelfHostedVideoPlayer=x,E.qodefSelfHostedVideoSize=y,E.qodefInitBackToTop=B,E.qodefBackButtonShowHide=A,E.qodefSmoothTransition=C,E.qodefSetFooterColumnsHeight=D,E.qodefOnDocumentReady=b,E.qodefOnWindowLoad=c,E.qodefOnWindowResize=d,E.qodefOnWindowScroll=e,a(document).ready(b),a(window).load(c),a(window).resize(d),a(window).scroll(e);var F=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"),a(document).trigger("scrollHashTriggered")},c=function(){a("[data-qodef-anchor]").each(function(){var c=a(this);c.waypoint(function(d){"down"===d&&b(a("a[href='"+window.location.href.split("#")[0]+"#"+c.data("qodef-anchor")+"']"))},{offset:function(){var a;return qodef.windowWidth>1024?(a=qodefGlobalVars.vars.qodefMenuAreaHeight,"qodef-fixed-on-scroll"==qodef.modules.header.behaviour&&qodef.body.hasClass("qodef-animate-fixed-header-on-scroll-yes")&&(a=.8*a-1),c.parents(".qodef-vertical-middle-align").length>0&&(a=qodef.windowWidth+a)):a=0,a}}),c.waypoint(function(d){"up"===d&&b(a("a[href='"+window.location.href.split("#")[0]+"#"+c.data("qodef-anchor")+"']"))},{offset:function(){var a;return a=-10,c.parents(".qodef-vertical-middle-align").length>0&&(a=qodef.windowWidth+a),a}})})},d=function(){var c=window.location.hash.split("#")[1];if(""!==c&&a('[data-qodef-anchor="'+c+'"]').length>0){var d=window.location.href.split("#")[0]+"#"+c;if(a("a[href='"+d+"']").length)a("a[href='"+d+"']").trigger("click"),b(a("a[href='"+d+"']"));else{var e=a("").attr({href:d,"class":"qodef-anchor"}).appendTo("body");e.trigger("click")}a(document).trigger("loadHashTriggered")}},e=function(a,b){var c;return qodef.windowWidth>1024?("qodef-sticky-header-on-scroll-down-up"!=qodef.modules.header.behaviour&&"qodef-sticky-header-on-scroll-up"!=qodef.modules.header.behaviour||("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:""),c=qodef.modules.header.isStickyVisible?qodefGlobalVars.vars.qodefStickyHeaderTransparencyHeight:qodefPerPageVars.vars.qodefHeaderTransparencyHeight),"qodef-fixed-on-scroll"==qodef.modules.header.behaviour&&(c=qodefPerPageVars.vars.qodefHeaderTransparencyHeight,qodef.body.hasClass("qodef-animate-fixed-header-on-scroll-yes")&&a>c&&(c=.8*c-1))):c="down"===b?a>qodef.modules.header.stickyMobileAppearAmount?0:qodef.modules.header.stickyMobileAppearAmount:qodefGlobalVars.vars.qodefMobileHeaderHeight,c},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 b,c=a(this),d=c.prop("hash").split("#")[1];if(""!==d&&a('[data-qodef-anchor="'+d+'"]').length>0){var f=a('[data-qodef-anchor="'+d+'"]').offset().top,g=f>qodef.scroll?"down":"up";return b=a('[data-qodef-anchor="'+d+'"]').offset().top-e(f,g),qodef.html.stop().animate({scrollTop:Math.round(b)},1e3,function(){history.replaceState&&history.replaceState(null,null,"#"+d)}),!1}})};return{init:function(){a("[data-qodef-anchor]").length&&(f(),c(),a(window).load(function(){d()}))}}}}(jQuery),function(a){"use strict";function b(){h()}function c(){g()}function d(){}function e(){}function f(b,c,d){function e(a,c){b[a]="undefined"!=typeof b[a]?b[a]:c}c="undefined"!=typeof c?c:".qodef-content",d="undefined"!=typeof d?d:".qodef-content",b="undefined"!=typeof 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&&m(g);var h=f.find(d);return h.length?void n(b.url,h,c):(q=!0,!1)}),e("ajaxReq","yes"),a.ajax({url:b.url,type:b.type,data:{ajaxReq:b.ajaxReq},success:b.success})}function g(){p.loader.length&&(p.loader.fadeOut(p.loaderTime),a(window).bind("pageshow",function(a){a.originalEvent.persisted&&p.loader.fadeOut(p.loaderTime)}))}function h(){if(qodef.body.removeClass("page-not-loaded"),p.loader=a("body > .qodef-smooth-transition-loader.qodef-ajax"),p.loader.length){if(qodef.body.hasClass("woocommerce")||qodef.body.hasClass("woocommerce-page"))return!1;i(),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(jQuery.inArray(c.attr("href").split("#")[0],qodefGlobalVars.vars.no_ajax_pages)!==-1)return document.location.href=c.attr("href"),!1;if("http://#"===c.attr("href")||"#"===c.attr("href"))return!1;var e=c.attr("href"),f=e.indexOf(window.location.protocol+"//"+window.location.host);if(0===f){if(!q)return!1;b.preventDefault(),b.stopImmediatePropagation(),b.stopPropagation(),c.is(".current")||j(c)}}})}}function i(){window.history.pushState&&a(window).bind("popstate",function(){var a=location.href;!r&&q&&(q=!1,f({url:a}))})}function j(a){q=!1,p.loader.fadeIn(p.loaderTime),f({url:a.attr("href")})}function k(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 l(b){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);var c=["common","ajax","header","title","shortcodes","woocommerce","portfolio","blog","like"],d=[];"undefined"!=typeof b&&b.length?c.forEach(function(a){-1===b.indexOf(a)&&d.push(a)},this):d=c;for(var e=0;e').prependTo(a("head")),a('head meta[name="keywords"]').length?a('head meta[name="keywords"]').attr("content",f):"undefined"!=typeof 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 n(b,c,d){d="undefined"!=typeof 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(){b.indexOf("#")!==-1&&a('').appendTo("body"),l(),"fade"==p.type&&(e.stop().fadeTo(p.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],k(b),qodef.body.animate({scrollTop:0},p.time,"swing")}),setTimeout(function(){c.css("position","relative").height("").stop().fadeTo(p.time,1,function(){q=!0,r=!1,p.loader.fadeOut(p.loaderTime,function(){var b=a(".qodef-temp-anchor");b.length&&b.trigger("click").remove()})})},!p.simultaneous*p.time))})}var o={};qodef.modules.ajax=o;var p={};o.animation=p,o.qodefFetchPage=f,o.qodefInitAjax=h,o.qodefHandleLinkClick=j,o.qodefInsertFetchedContent=n,o.qodefInitBackBehavior=i,o.qodefSetActiveState=k,o.qodefReinitiateAll=l,o.qodefHandleMeta=m,o.qodefOnDocumentReady=b,o.qodefOnWindowLoad=c,o.qodefOnWindowResize=d,o.qodefOnWindowScroll=e,a(document).ready(b),a(window).load(c),a(window).resize(d),a(window).scroll(e);var q=!0,r=!0;p.type=null,p.time=500,p.simultaneous=!0,p.loader=null,p.loaderTime=500}(jQuery),function(a){"use strict";function b(){f(),g(),h(),i(),j(),k(),l(),m(),o(),q().init(),n()}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").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 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.click(function(d){return"http://#"!==a(this).attr("href")&&"#"!==a(this).attr("href")&&void(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*="#"]'),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 k(){if(qodef.body.hasClass("qodef-sticky-up-mobile-header")){var b,c=a(".qodef-top-bar"),d=a(".qodef-mobile-header"),e=a("#wpadminbar"),f=d.length?d.height():0,g=c.is(":visible")?c.height():0,h=e.length?e.height():0,i=a(document).scrollTop();qodef.modules.header.stickyMobileAppearAmount=g+f+h,b=qodef.modules.header.stickyMobileAppearAmount,a(window).scroll(function(){var c=a(document).scrollTop();c>b?(d.addClass("qodef-animate-mobile-header"),d.css("margin-bottom",f)):(d.removeClass("qodef-animate-mobile-header"),d.css("margin-bottom",0)),c>i&&c>b||c ul > li.narrow");b.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=d.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(){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 n(){var b=a(".qodef-main-menu > ul");b.length&&b.each(function(){var b=a(this);b.append(''),b.append('');var c,d,e=b.find(".qodef-main-menu-line"),f=b.find("> li.menu-item"),g=!1;if(f.filter(".qodef-active-item").length)var d=f.filter(".qodef-active-item").outerWidth()-f.filter(".qodef-active-item").find(".item_inner").width();else var d=f.first().outerWidth()-f.first().find(".item_inner").width();if(f.filter(".qodef-active-item").length?(c=f.filter(".qodef-active-item").offset().left+d/2,e.css("width",f.filter(".qodef-active-item").outerWidth()-d)):(c=f.first().offset().left+d/2,e.css("width",f.first().outerWidth()-d)),e.css("left",c-b.offset().left),f.mouseenter(function(){if(!g){var c=a(this),f=c.outerWidth()-d,h=b.offset().left-d/2,i=c.offset().left-h;e.css("width",f),e.css("left",i)}}),b.mouseleave(function(){f.filter(".qodef-active-item").length?(e.css("width",f.filter(".qodef-active-item").outerWidth()-d),c=f.filter(".qodef-active-item").offset().left+d/2):e.css("width",f.first().outerWidth()-d),e.css("left",c-b.offset().left)}),f.filter(".anchor-item").length){var h=function(){f.filter(".qodef-active-item").length&&(c=f.filter(".qodef-active-item").offset().left+d/2,e.css("width",f.filter(".qodef-active-item").outerWidth()-d),e.css("left",c-b.offset().left),g=!1)};f.filter(".anchor-item").click(function(){g=!0}),a(document).on("loadHashTriggered scrollHashTriggered",function(){h()})}});var c=a(".qodef-main-menu .wide ul > li > ul");c.length&&c.each(function(){var b=a(this);b.append('
  • ');var c=b.find(".qodef-wide-menu-line"),d=b.find("> li.menu-item"),e=!1;d.each(function(){var d=a(this),f=b.offset().top,g=d.find("> a").offset().top-f;e||(c.css("top",g),e=!0),d.mouseenter(function(){c.css("height","14px"),c.css("top",g)})}),b.mouseleave(function(){c.css("height",0)})});var d=a(".qodef-vertical-menu ul ");d.length&&d.each(function(){var b=a(this);b.append('
  • ');var c,d=b.find(".qodef-narrow-menu-line"),e=b.find("> li.menu-item"),f=!1;if(e.filter(".qodef-active-item").length)var g=e.filter(".qodef-active-item").outerHeight()-e.filter(".qodef-active-item").find(".item_inner").height();else var g=e.first().outerHeight()-e.first().find(".item_inner").height();e.filter(".qodef-active-item").length?(d.css("height",e.outerHeight()-g),c=e.filter(".qodef-active-item").offset().top+g/2):(c=e.first().offset().top+g/2,d.css("height",e.outerHeight()-g)),d.css("top",c-b.offset().top),e.mouseenter(function(){if(!f){var c=a(this),e=c.outerHeight()-g,h=c.offset().top-b.offset().top+g/2;d.css("height",e),d.css("top",h)}}),b.mouseleave(function(){e.filter(".qodef-active-item").length?(d.css("height",e.filter(".qodef-active-item").outerHeight()-g),c=e.filter(".qodef-active-item").offset().top+g/2):d.css("height",e.first().outerHeight()-g),d.css("top",c-b.offset().top)})})}function o(){function b(){c.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=d.parent()),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:e.parent().hasClass("qodef-sticky-header")?c=qodefGlobalVars.vars.qodefStickyHeaderTransparencyHeight:e.parent().hasClass("qodef-mobile-header")&&(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").click(function(a){a.preventDefault(),d.stop(!0).fadeOut(450)}),d.blur(function(){d.stop(!0).fadeOut(450)})})}var c=a("a.qodef-search-opener"),d=!1;a("html").hasClass("touch")&&(d=!0),c.length>0&&(qodef.body.hasClass("qodef-search-covers-header")&&b(),c.each(function(){var b=a(this);if("undefined"!=typeof b.data("hover-color")){var c=function(a){a.data.searchOpener.css("color",a.data.color)},d=b.css("color"),e=b.data("hover-color");b.on("mouseenter",{searchOpener:b,color:e},c),b.on("mouseleave",{searchOpener:b,color:d},c)}}))}var p={};qodef.modules.header=p,p.isStickyVisible=!1,p.stickyAppearAmount=0,p.stickyMobileAppearAmount=0,p.behaviour,p.qodefSideArea=g,p.qodefSideAreaScroll=h,p.qodefFullscreenMenu=i,p.qodefInitMobileNavigation=j,p.qodefMobileHeaderBehavior=k,p.qodefSetDropDownMenuPosition=l,p.qodefDropDownMenu=m,p.qodefSearch=o,p.qodefOnDocumentReady=b,p.qodefOnWindowLoad=c,p.qodefOnWindowResize=d,p.qodefOnWindowScroll=e,a(document).ready(b),a(window).load(c),a(window).resize(d),a(window).scroll(e);var q=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){var f=a(this).find("> a");f.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"),e="undefined"!=typeof d.data("navigation-type")?d.data("navigation-type"):"";switch(e){default:c()}};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).load(c),a(window).resize(d),a(window).scroll(e)}(jQuery),function(a){"use strict";function b(){g(),i(),m(),S().init(),k(),l(),n(),o(),p(),r(),s(),t(),U().init(),u(),v(),h(),A(),f(),z(),w(),D(),G(),B(),I(),J(),K(),P(),Q(),V().init(),T().init(),W().init()}function c(){}function d(){u(),h(),D(),G()}function e(){}function f(){var b=a(".qodef-item-showcase");b.length&&b.each(function(){function b(b){c.find(b).each(function(b){var c=a(this);setTimeout(function(){c.addClass("qodef-appeared")},150*b)})}var c=a(this),d=c.find(".qodef-item-left"),e=c.find(".qodef-item-right"),f=c.find(".qodef-item-image");d.wrapAll("
    "),e.wrapAll("
    "),c.animate({opacity:1},200),setTimeout(function(){c.appear(function(){f.addClass("qodef-appeared"),c.on("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(a){qodef.windowWidth>1200?(b(".qodef-holder-left .qodef-item"),b(".qodef-holder-right .qodef-item")):b(".qodef-item")})},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})},100)})}function g(){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 h(){var b=a(".qodef-custom-font-holder");b.length&&b.each(function(){var b,c,d=a(this),e=1,f=1,g=1;qodef.windowWidth<1500&&(g=.7),qodef.windowWidth<1300&&(e=.8,g=.7,f=.9),qodef.windowWidth<1024&&(e=.7,g=.6,f=.8),qodef.windowWidth<768&&(e=.6,f=.7,g=.5),qodef.windowWidth<600&&(e=.5,f=.6,g=.4),qodef.windowWidth<480&&(e=.4,f=.5,g=.3),"undefined"!=typeof d.data("font-size")&&d.data("font-size")!==!1&&(b=parseInt(d.data("font-size")),b>100?b=Math.round(b*g):b>70?b=Math.round(b*e):b>35&&(b=Math.round(b*f)),d.css("font-size",b+"px")),"undefined"!=typeof d.data("line-height")&&d.data("line-height")!==!1&&(c=parseInt(d.data("line-height")),b="undefined"!=typeof d.data("font-size")&&d.data("font-size")!==!1?parseInt(d.data("font-size")):0,0!==b&&b==c?b>100?c=Math.round(b*g)+"px":b>70?c=Math.round(b*e)+"px":b>35&&(c=Math.round(b*f)+"px"):c>70&&qodef.windowWidth<1200?c="1.2em":c>35&&qodef.windowWidth<768?c="1.2em":c+="px",d.css("line-height",c))})}function i(){var b=a(".qodef-progress-bar");b.length&&b.each(function(){var b=a(this);b.appear(function(){j(b);var a=b.find(".qodef-progress-content").data("percentage"),c=b.find(".qodef-progress-content");c.css("width","0%"),c.animate({width:a+"%"},1500)})})}function j(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 k(){var b=a(".qodef-message");b.length&&b.each(function(){var b=a(this);b.find(".qodef-close").click(function(b){b.preventDefault(),a(this).parent().parent().fadeOut(500)})})}function l(){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 m(){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 n(){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=!0,d=!1,e=!0,f=0,g="";"undefined"!=typeof b.data("autoplay-timeout")&&b.data("autoplay-timeout")!==!1&&(f=1e3*b.data("autoplay-timeout"),0==f&&(e=!1)),"undefined"!=typeof b.data("type")&&""!==b.data("type")&&(g=b.data("type")),"standard"===g?b.owlCarousel({items:1,loop:!0,autoplay:e,autoplayTimeout:f,mouseDrag:!1,dots:c,nav:d,navText:['','']}):"background-image"===g?b.waitForImages(function(){b.owlCarousel({items:1,loop:!0,autoplay:!1,mouseDrag:!1,dots:!1,smartSpeed:500,nav:!0,onTranslate:function(){setTimeout(function(){var c=b.find(".owl-item.active .qodef-test-background").data("image");b.parent().parent().parent().find(".qodef-tes-background-image").animate({opacity:.3},200,function(){a(this).css("background-image",'url("'+c+'")').animate({opacity:1},200)})},30)},onInitialized:function(){var a=b.find(".owl-item.active .qodef-test-background").data("image");b.parent().parent().parent().find(".qodef-tes-background-image").css("background-image",'url("'+a+'")')},navText:['','']})}):"cards"===g&&b.owlCarousel({items:3,responsive:{0:{items:1},600:{items:2},1025:{items:3}},margin:32,loop:!0,autoplay:e,autoplayTimeout:f,mouseDrag:!1,dots:c,nav:d,navText:['','']})}),qodef.modules.common.qodefInitParallax())}function o(){var b,c,d,e=a(".qodef-carousel-holder"),f=!1,g=0;e.length&&e.each(function(){b=a(this).children(".qodef-carousel"),c=b.data("items"),d="yes"==b.data("navigation");var e=b.data("autoplay");e>0&&(f=!0,g=1e3*e),b.owlCarousel({items:c,responsive:{0:{items:1},480:{items:2},768:{items:3},1024:{items:c}},loop:!0,autoplay:f,dots:!1,nav:d,navText:['','']})})}function p(){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="#0ac775",e="#e6e9ee",f=8,g=200;"undefined"!=typeof c.data("bar-color")&&""!==c.data("bar-color")&&(d=c.data("bar-color")),"undefined"!=typeof c.data("track-color")&&""!==c.data("track-color")&&(e=c.data("track-color")),"undefined"!=typeof c.data("size")&&""!==c.data("size")&&(g=c.data("size")),c.appear(function(){q(b),c.css("opacity","1"),c.easyPieChart({barColor:d,trackColor:e,scaleColor:!1,lineCap:"butt",lineWidth:f,animate:1500,size:g})},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})})}function q(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 r(){var b=a(".qodef-pie-chart-doughnut-holder, .qodef-pie-chart-pie-holder");b.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);"undefined"!=typeof j&&"undefined"!=typeof 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 s(){var b=a(".qodef-tabs");b.length&&b.each(function(){function b(b){b.each(function(){var b=a(this);b.is(":visible")?b.addClass("qodef-visible"):b.removeClass("qodef-visible")})}var c=a(this);c.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)}),c.hasClass("qodef-horizontal-tab")?c.tabs():c.hasClass("qodef-vertical-tab")&&(c.tabs().addClass("ui-tabs-vertical ui-helper-clearfix"),c.find(".qodef-tabs-nav > ul >li").removeClass("ui-corner-top").addClass("ui-corner-left"));var d=c.find(".qodef-tab-container");c.appear(function(){b(d)}),c.find("li").each(function(){var c=a(this);c.click(function(){setTimeout(function(){b(d)},50)})})})}function t(){var b=a(".qodef-tab-container");b.length&&b.each(function(){var b=a(this),c=b.attr("id"),d="";"undefined"==typeof 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+'"]');"undefined"!=typeof e&&e.children(".qodef-icon-frame").append(d)})}function u(){var b=a(".qodef-blog-list-holder.qodef-masonry .qodef-blog-list");b.length&&b.each(function(){var c=a(this);b.waitForImages(function(){c.isotope({layoutMode:"packery",itemSelector:".qodef-blog-list-masonry-item",packery:{columnWidth:".qodef-blog-list-masonry-grid-sizer",gutter:".qodef-blog-list-masonry-grid-gutter"}}),c.addClass("qodef-appeared")})})}function v(){var b=a(".qodef-blog-slider-holder .qodef-blog-slider");b.owlCarousel({responsive:{0:{loop:!0,items:1,center:!1,margin:0,dots:!0,nav:!1},1025:{loop:!0,items:2,startPosition:1,center:!0,margin:15,dots:!0,nav:!0,navText:['','']}}})}function w(){a(".qodef-google-map").length&&a(".qodef-google-map").each(function(){var b,c=a(this);"undefined"!=typeof c.data("custom-map-style")&&(b=c.data("custom-map-style"));var d;"undefined"!=typeof c.data("color-overlay")&&c.data("color-overlay")!==!1&&(d=c.data("color-overlay"));var e;"undefined"!=typeof c.data("saturation")&&c.data("saturation")!==!1&&(e=c.data("saturation"));var f;"undefined"!=typeof c.data("lightness")&&c.data("lightness")!==!1&&(f=c.data("lightness"));var g;"undefined"!=typeof c.data("zoom")&&c.data("zoom")!==!1&&(g=c.data("zoom"));var h;"undefined"!=typeof c.data("pin")&&c.data("pin")!==!1&&(h=c.data("pin"));var i;"undefined"!=typeof c.data("height")&&c.data("height")!==!1&&(i=c.data("height"));var j;"undefined"!=typeof c.data("unique-id")&&c.data("unique-id")!==!1&&(j=c.data("unique-id"));var k;"undefined"!=typeof c.data("scroll-wheel")&&(k=c.data("scroll-wheel"));var l;"undefined"!=typeof c.data("addresses")&&c.data("addresses")!==!1&&(l=c.data("addresses"));var m="map_"+j,n="geocoder_"+j,o="qodef-map-"+j;x(b,d,e,f,k,g,o,i,h,m,n,l)})}function x(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 z(){var b=a(".qodef-accordion-holder");b.length&&b.each(function(){var b=a(this);if(b.hasClass("qodef-accordion")&&b.accordion({animate:{duration:200},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 A(){var b=a(".qodef-image-gallery");b.length&&b.each(function(){var b=a(this).children(".qodef-image-gallery-slider"),c=0!=b.data("autoplay"),d=1e3*b.data("autoplay"),e="yes"==b.data("navigation"),f="yes"==b.data("pagination");b.owlCarousel({items:1,loop:!0,autoplay:c,autoplayTimeout:d,dots:f,nav:e,navText:['','']})});var c=a(".qodef-image-gallery-carousel-wrapper");c.length&&c.each(function(){var b=a(this).children(".qodef-image-gallery-carousel"),c=0!=b.data("autoplay"),d=1e3*b.data("autoplay"),e="yes"==b.data("navigation");"yes"==b.data("pagination");b.owlCarousel({center:!0,items:3,loop:!0,autoWidth:!0,margin:45,smartSpeed:700,autoplay:c,autoplayTimeout:d,dots:!1,nav:e,navText:['',''],responsive:{1681:{margin:57},1280:{margin:27},1025:{margin:17},601:{margin:0},0:{items:1,margin:0}}})})}function B(){var b=a(".qodef-portfolio-list-holder-outer.qodef-ptf-standard, .qodef-portfolio-list-holder-outer.qodef-ptf-gallery, .qodef-portfolio-list-holder-outer.qodef-ptf-gallery-space");b.length&&b.each(function(){var b=a(this);C(b)})}function C(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 D(){var b=a(".qodef-portfolio-list-holder-outer.qodef-ptf-masonry");b.length&&b.each(function(){var b=a(this).children(".qodef-portfolio-list-holder"),c=b.find(".qodef-portfolio-list-masonry-grid-sizer").width();F(c,b),E(b),a(window).resize(function(){F(c,b),E(b)})})}function E(a){a.waitForImages(function(){a.isotope({layoutMode:"packery",itemSelector:".qodef-portfolio-item",packery:{columnWidth:".qodef-portfolio-list-masonry-grid-sizer"}}),a.addClass("qodef-appeared")})}function F(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 G(){var b=a(".qodef-portfolio-list-holder-outer.qodef-ptf-pinterest");b.length&&b.each(function(){var b=a(this).children(".qodef-portfolio-list-holder");H(b),a(window).resize(function(){H(b)})})}function H(a){a.waitForImages(function(){a.isotope({layoutMode:"packery",itemSelector:".qodef-portfolio-item",packery:{columnWidth:".qodef-portfolio-list-masonry-grid-sizer"}})}),a.addClass("qodef-appeared")}function I(){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").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 J(){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=!1;c.owlCarousel({items:d,responsive:{0:{items:1},480:{items:2},768:{items:3},1024:{items:d}},loop:!0,autoplay:!1,dots:!1,nav:e,navText:['','']})}),qodef.modules.common.qodefInitParallax())}function K(){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");"undefined"!=typeof d.data("max-num-pages")&&d.data("max-num-pages")!==!1&&(c=d.data("max-num-pages")),f.on("click",function(g){var h=M(d);if(b=h.nextPage,g.preventDefault(),g.stopPropagation(),b<=c){var i=N(h);a.ajax({type:"POST",data:i,url:qodeCoreAjaxUrl,success:function(c){b++,d.data("next-page",b);var f=a.parseJSON(c),g=L(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"):e.mixItUp("append",g)},400)})}})}b===c&&f.hide()})})}function L(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 M(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="","undefined"!=typeof a.data("type")&&a.data("type")!==!1&&(b.type=a.data("type")),"undefined"!=typeof a.data("grid-size")&&a.data("grid-size")!==!1&&(b.gridSize=a.data("grid-size")),"undefined"!=typeof a.data("columns")&&a.data("columns")!==!1&&(b.columns=a.data("columns")),"undefined"!=typeof a.data("order-by")&&a.data("order-by")!==!1&&(b.orderBy=a.data("order-by")),"undefined"!=typeof a.data("order")&&a.data("order")!==!1&&(b.order=a.data("order")),"undefined"!=typeof a.data("number")&&a.data("number")!==!1&&(b.number=a.data("number")),"undefined"!=typeof a.data("image-size")&&a.data("image-size")!==!1&&(b.imageSize=a.data("image-size")),"undefined"!=typeof a.data("filter")&&a.data("filter")!==!1&&(b.filter=a.data("filter")),"undefined"!=typeof a.data("filter-order-by")&&a.data("filter-order-by")!==!1&&(b.filterOrderBy=a.data("filter-order-by")),"undefined"!=typeof a.data("category")&&a.data("category")!==!1&&(b.category=a.data("category")),"undefined"!=typeof a.data("selected-projects")&&a.data("selected-projects")!==!1&&(b.selectedProjectes=a.data("selected-projects")),"undefined"!=typeof a.data("show-load-more")&&a.data("show-load-more")!==!1&&(b.showLoadMore=a.data("show-load-more")),"undefined"!=typeof a.data("title-tag")&&a.data("title-tag")!==!1&&(b.titleTag=a.data("title-tag")),"undefined"!=typeof a.data("next-page")&&a.data("next-page")!==!1&&(b.nextPage=a.data("next-page")),"undefined"!=typeof a.data("max-num-pages")&&a.data("max-num-pages")!==!1&&(b.maxNumPages=a.data("max-num-pages")),b}function N(a){var b={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};return b}function O(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 P(){var b=a(".qodef-elements-holder");b.length&&b.each(function(){var b=a(this),c=b.children(".qodef-elements-holder-item"),d="",e="";c.each(function(){var b=a(this),c="",d="",f="",g="",h="",i="",j="";"undefined"!=typeof b.data("item-class")&&b.data("item-class")!==!1&&(c=b.data("item-class")),"undefined"!=typeof b.data("1280-1600")&&b.data("1280-1600")!==!1&&(d=b.data("1280-1600")),"undefined"!=typeof b.data("1024-1280")&&b.data("1024-1280")!==!1&&(f=b.data("1024-1280")),"undefined"!=typeof b.data("768-1024")&&b.data("768-1024")!==!1&&(g=b.data("768-1024")),"undefined"!=typeof b.data("600-768")&&b.data("600-768")!==!1&&(h=b.data("600-768")),"undefined"!=typeof b.data("480-600")&&b.data("480-600")!==!1&&(i=b.data("480-600")),"undefined"!=typeof b.data("480")&&b.data("480")!==!1&&(j=b.data("480")),(d.length||f.length||g.length||h.length||i.length||j.length)&&(d.length&&(e+="@media only screen and (min-width: 1280px) and (max-width: 1600px){.qodef-elements-holder-item-content."+c+" { padding: "+d+" !important; }}"),f.length&&(e+="@media only screen and (min-width: 1024px) and (max-width: 1280px){.qodef-elements-holder-item-content."+c+" { padding: "+f+" !important; }}"),g.length&&(e+="@media only screen and (min-width: 768px) and (max-width: 1024px){.qodef-elements-holder-item-content."+c+" { padding: "+g+" !important; }}"),h.length&&(e+="@media only screen and (min-width: 600px) and (max-width: 768px){.qodef-elements-holder-item-content."+c+" { padding: "+h+" !important; }}"),i.length&&(e+="@media only screen and (min-width: 480px) and (max-width: 600px){.qodef-elements-holder-item-content."+c+" { padding: "+i+" !important; }}"),j.length&&(e+="@media only screen and (max-width: 480px){.qodef-elements-holder-item-content."+c+" { padding: "+j+" !important; }}"))}),e.length&&(d='"),d.length&&a("head").append(d)})}function Q(){a(".qodef-service-table").length&&a(".qodef-service-table .qodef-mark").each(function(){var b=a(this);b.appear(function(){setTimeout(function(){b.addClass("qodef-service-table-icon-appeared")},200*b.closest("tr").index())},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})})}var R={};qodef.modules.shortcodes=R,R.qodefInitCounter=g,R.qodefInitProgressBars=i,R.qodefInitCountdown=m,R.qodefInitMessages=k,R.qodefInitMessageHeight=l,R.qodefInitTestimonials=n,R.qodefInitCarousels=o,R.qodefInitPieChart=p,R.qodefInitPieChartDoughnut=r,R.qodefInitTabs=s,R.qodefInitTabIcons=t,R.qodefInitBlogListMasonry=u,R.qodefInitBlogSlider=v,R.qodefCustomFontResize=h,R.qodefInitImageGallery=A,R.qodefInitAccordions=z,R.qodefShowGoogleMap=w,R.qodefInitPortfolioListMasonry=D,R.qodefInitPortfolioListPinterest=G,R.qodefInitPortfolio=B,R.qodefInitPortfolioMasonryFilter=I,R.qodefInitPortfolioSlider=J,R.qodefInitPortfolioLoadMore=K,R.qodefCheckSliderForHeaderStyle=O,R.qodefItemShowcase=f,R.qodefOnDocumentReady=b,R.qodefOnWindowLoad=c,R.qodefOnWindowResize=d, R.qodefOnWindowScroll=e,R.qodefInitElementsHolderResponsiveStyle=P,R.qodefServiceTable=Q,a(document).ready(b),a(window).load(c),a(window).resize(d),a(window).scroll(e);var S=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("undefined"!=typeof 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");a.hasClass("qodef-flip")?a.find(".icon-flip .qodef-icon-element").css("color",d):(a.on("mouseenter",{icon:c,color:d},b),a.on("mouseleave",{icon:c,color:e},b))}},e=function(a){if("undefined"!=typeof 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("undefined"!=typeof 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))})}}},T=qodef.modules.shortcodes.qodefSocialIconWidget=function(){var b=a(".qodef-social-icon-widget-holder"),c=function(a){if("undefined"!=typeof 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))})}}},U=qodef.modules.shortcodes.qodefButton=function(){var b=a(".qodef-btn"),c=function(a){if("undefined"!=typeof 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("undefined"!=typeof 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.is(".qodef-btn-sweep")?a.find(".qodef-hover-background").css("background-color",d):(a.on("mouseenter",{button:a,color:d},b),a.on("mouseleave",{button:a,color:c},b))}},e=function(a){if("undefined"!=typeof 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.is(".qodef-btn-sweep")?a.find(".qodef-hover-background").css("border-color",d):(a.on("mouseenter",{button:a,color:d},b),a.on("mouseleave",{button:a,color:c},b))}},f=function(a){if(a.find(".qodef-hover-background").length){if(""!==a.css("borderTopRightRadius")){var b=a.css("borderTopRightRadius");a.hasClass("qodef-btn-sweep")&&a.find(".qodef-hover-background-holder").css("border-radius",b)}if(""!==a.css("border-left-width")){var c=parseInt(a.css("border-left-width"));a.hasClass("qodef-btn-sweep")&&(a.find(".qodef-hover-background-holder").css("top",-c),a.find(".qodef-hover-background-holder").css("left",-c),a.find(".qodef-hover-background-holder").css("height","calc(100% + "+2*c+"px)"),a.find(".qodef-hover-background-holder").css("width","calc(100% + "+2*c+"px)"),a.find(".qodef-hover-background").css("border-width",c),a.find(".qodef-hover-background").css("height","calc(100% - "+2*c+"px)"),a.find(".qodef-hover-background").css("width","calc(100% - "+2*c+"px)"))}}};return{init:function(){b.length&&b.each(function(){c(a(this)),d(a(this)),e(a(this)),f(a(this))})}}},V=qodef.modules.shortcodes.qodefSlider=function(){var b=a(".qodef-slider .carousel"),c=/url\(["']?([^'")]+)['"]?\)/,d={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"},e=/\([0-9epx\.\, \t\-]+/gi,f=function(a){return a.match(e)[0].substr(1).split(",").map(function(a){return parseFloat(a)})},g=["transform","-webkit-transform"],h=function(a){var b=null;return g.some(function(c){return b=a.css(c),null!==b&&""!==b}),b=b&&"none"!==b?b:"matrix(1,0,0,1,0,0)",f(b)},i=function(a,b){for(var c="matrix("+b.join(",")+")",d=g.length-1;d>=0;--d)a.css(g[d],c+" rotate(0.01deg)")},j=function(a,b,c){return a+(b-a)*(c/100)};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=h(this),e=f(c.transform);return c.step=function(c,f){var g=a(this),h=d.map(function(a,b){return j(a,e[b],c)});i(g,h),b.step&&b.step.apply(this,[h,f])},this.stop().animate({percentAnim:100},c)};var k=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)},l=function(b){var c=qodef.windowWidth<1025?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-c+"px"}),b.find(".qode-slider-preloader .qodef-ajax-loader").css({display:"block"}),b.find(".item").css({height:qodef.windowHeight-c+"px"}),0===qodefPerPageVars.vars.qodefStickyScrollAmount&&(qodef.modules.header.stickyAppearAmount=qodef.windowHeight)},m=function(b){b.find(".qodef-slide-element-text-small, .qodef-slide-element-text-normal, .qodef-slide-element-text-large, .qodef-slide-element-text-extra-large").each(function(){var b=a(this);"undefined"==typeof b.data("default-font-size")&&b.data("default-font-size",parseInt(b.css("font-size"),10)),"undefined"==typeof b.data("default-line-height")&&b.data("default-line-height",parseInt(b.css("line-height"),10)),"undefined"==typeof b.data("default-letter-spacing")&&b.data("default-letter-spacing",parseInt(b.css("letter-spacing"),10))}),b.find(".qodef-slide-element-responsive-text").each(function(){"undefined"==typeof a(this).data("default-font-size")&&a(this).data("default-font-size",parseInt(a(this).css("font-size"),10)),"undefined"==typeof a(this).data("default-line-height")&&a(this).data("default-line-height",parseInt(a(this).css("line-height"),10)),"undefined"==typeof a(this).data("default-letter-spacing")&&a(this).data("default-letter-spacing",parseInt(a(this).css("letter-spacing"),10))}),b.find(".qodef-slide-element-responsive-button").each(function(){"undefined"==typeof a(this).data("default-font-size")&&a(this).data("default-font-size",parseInt(a(this).find("a").css("font-size"),10)),"undefined"==typeof a(this).data("default-line-height")&&a(this).data("default-line-height",parseInt(a(this).find("a").css("line-height"),10)),"undefined"==typeof a(this).data("default-letter-spacing")&&a(this).data("default-letter-spacing",parseInt(a(this).find("a").css("letter-spacing"),10)),"undefined"==typeof a(this).data("default-ver-padding")&&a(this).data("default-ver-padding",parseInt(a(this).find("a").css("padding-top"),10)),"undefined"==typeof a(this).data("default-hor-padding")&&a(this).data("default-hor-padding",parseInt(a(this).find("a").css("padding-left"),10))}),b.find(".qodef-slide-element").each(function(){var b=a(this);"undefined"==typeof b.data("default-margin-top")&&b.data("default-margin-top",parseInt(b.css("margin-top"),10)),"undefined"==typeof b.data("default-margin-bottom")&&b.data("default-margin-bottom",parseInt(b.css("margin-bottom"),10)),"undefined"==typeof b.data("default-margin-left")&&b.data("default-margin-left",parseInt(b.css("margin-left"),10)),"undefined"==typeof b.data("default-margin-right")&&b.data("default-margin-right",parseInt(b.css("margin-right"),10))}),n(b)},n=function(b){var c={mobile:600,tabletp:800,tabletl:1024,laptop:1440};b.find(".qodef-slider-elements-container").each(function(){var b=a(this),d=b.filter(".qodef-custom-elements").add(b.not(".qodef-custom-elements").find(".qodef-slider-elements-holder-frame")).not(".qodef-grid");d.length&&(c.mobile>=qodef.windowWidth&&b.attr("data-width-mobile").length?d.css("width",b.data("width-mobile")+"%"):c.tabletp>=qodef.windowWidth&&b.attr("data-width-tablet-p").length?d.css("width",b.data("width-tablet-p")+"%"):c.tabletl>=qodef.windowWidth&&b.attr("data-width-tablet-l").length?d.css("width",b.data("width-tablet-l")+"%"):c.laptop>=qodef.windowWidth&&b.attr("data-width-laptop").length?d.css("width",b.data("width-laptop")+"%"):b.attr("data-width-desktop").length&&d.css("width",b.data("width-desktop")+"%"))}),b.find(".item").each(function(){var b=a(this),d=b.find(".qodef-slider-elements-holder-frame").data("default-width"),e=b.find(".qodef-slide-element");e.each(function(){var b,e=a(this),f=e.data("default-margin-top"),g=e.data("default-margin-bottom"),h=e.data("default-margin-left"),i=e.data("default-margin-right"),j="undefined"!=typeof e.data("resp-scale")?e.data("resp-scale"):void 0;b=c.mobile>=qodef.windowWidth?"undefined"==typeof j?qodef.windowWidth/d:parseFloat(j.mobile):c.tabletp>=qodef.windowWidth?"undefined"==typeof j?qodef.windowWidth/d:parseFloat(j.tabletp):c.tabletl>=qodef.windowWidth?"undefined"==typeof j?qodef.windowWidth/d:parseFloat(j.tabletl):c.laptop>=qodef.windowWidth?"undefined"==typeof j?qodef.windowWidth/d:parseFloat(j.laptop):"undefined"==typeof j?qodef.windowWidth/d:parseFloat(j.desktop),e.css({"margin-top":Math.round(b*f)+"px","margin-bottom":Math.round(b*g)+"px","margin-left":Math.round(b*h)+"px","margin-right":Math.round(b*i)+"px"})}),e.filter(".qodef-slide-element-responsive-text, .qodef-slide-element-responsive-button, .qodef-slide-element-responsive-image").add(e.find("a.qodef-slide-element-responsive-text, span.qodef-slide-element-responsive-text")).each(function(){var b,e,f,g=a(this),h="undefined"!=typeof g.data("resp-scale")?g.data("resp-scale"):void 0,i="undefined"!=typeof g.data("resp-left")?g.data("resp-left"):void 0,j="undefined"!=typeof g.data("resp-top")?g.data("resp-top"):void 0;if(c.mobile>=qodef.windowWidth?(b="undefined"==typeof h?qodef.windowWidth/d:parseFloat(h.mobile),e="undefined"==typeof i?"undefined"!=typeof g.data("left")?g.data("left")+"%":"":""!=i.mobile?i.mobile+"%":g.data("left")+"%",f="undefined"==typeof j?"undefined"!=typeof g.data("top")?g.data("top")+"%":"":""!=j.mobile?j.mobile+"%":g.data("top")+"%"):c.tabletp>=qodef.windowWidth?(b="undefined"==typeof h?qodef.windowWidth/d:parseFloat(h.tabletp),e="undefined"==typeof i?"undefined"!=typeof g.data("left")?g.data("left")+"%":"":""!=i.tabletp?i.tabletp+"%":g.data("left")+"%",f="undefined"==typeof j?"undefined"!=typeof g.data("top")?g.data("top")+"%":"":""!=j.tabletp?j.tabletp+"%":g.data("top")+"%"):c.tabletl>=qodef.windowWidth?(b="undefined"==typeof h?qodef.windowWidth/d:parseFloat(h.tabletl),e="undefined"==typeof i?"undefined"!=typeof g.data("left")?g.data("left")+"%":"":""!=i.tabletl?i.tabletl+"%":g.data("left")+"%",f="undefined"==typeof j?"undefined"!=typeof g.data("top")?g.data("top")+"%":"":""!=j.tabletl?j.tabletl+"%":g.data("top")+"%"):c.laptop>=qodef.windowWidth?(b="undefined"==typeof h?qodef.windowWidth/d:parseFloat(h.laptop),e="undefined"==typeof i?"undefined"!=typeof g.data("left")?g.data("left")+"%":"":""!=i.laptop?i.laptop+"%":g.data("left")+"%",f="undefined"==typeof j?"undefined"!=typeof g.data("top")?g.data("top")+"%":"":""!=j.laptop?j.laptop+"%":g.data("top")+"%"):(b="undefined"==typeof h?qodef.windowWidth/d:parseFloat(h.desktop),e="undefined"==typeof i?"undefined"!=typeof g.data("left")?g.data("left")+"%":"":""!=i.desktop?i.desktop+"%":g.data("left")+"%",f="undefined"==typeof j?"undefined"!=typeof g.data("top")?g.data("top")+"%":"":""!=j.desktop?j.desktop+"%":g.data("top")+"%"),b){g.show();var k,l,m,n,o;if(g.is(".qodef-slide-element-responsive-button"))k=g.data("default-font-size"),l=g.data("default-line-height"),m=g.data("default-letter-spacing"),n=g.data("default-ver-padding"),o=g.data("default-hor-padding"),g.css({left:e,top:f}).find(".qodef-btn").css({"font-size":Math.round(b*k)+"px","line-height":Math.round(b*l)+"px","letter-spacing":Math.round(b*m)+"px","padding-left":Math.round(b*o)+"px","padding-right":Math.round(b*o)+"px","padding-top":Math.round(b*n)+"px","padding-bottom":Math.round(b*n)+"px"});else if(g.is(".qodef-slide-element-responsive-image"))if(b!=qodef.windowWidth/d){var p=g.data("upload-width"),q=g.data("upload-height");g.filter(".custom-image").css({left:e,top:f}).add(g.not(".custom-image").find("img")).css({width:Math.round(b*p)+"px",height:Math.round(b*q)+"px"})}else{var r=g.data("width");g.filter(".custom-image").css({left:e,top:f}).add(g.not(".custom-image").find("img")).css({width:r+"%",height:""})}else k=g.data("default-font-size"),l=g.data("default-line-height"),m=g.data("default-letter-spacing"),g.css({left:e,top:f,"font-size":Math.round(b*k)+"px","line-height":Math.round(b*l)+"px","letter-spacing":Math.round(b*m)+"px"})}else g.hide()})});var d=b.find(".carousel-indicators");b.find(".qodef-slide-element-section-link").css("bottom",d.length?parseInt(d.css("bottom"),10)+d.outerHeight()+10+"px":"20px")},o=function(b){b.find(".item").each(function(){var b=a(this).find(".qodef-slide-element-button-inline");b.css("display","inline-block").wrapAll('
    ')})},p=function(b){var c=[1600,1200,900,650,500,320];if(m(b),b.hasClass("qodef-full-screen"))l(b),a(window).resize(function(){l(b),n(b)});else if(b.hasClass("qodef-responsive-height")){var d=b.data("height");k(b,d,c,!1),a(window).resize(function(){k(b,d,c,!1),n(b)})}else{var d=b.data("height");b.find(".qodef-slider-preloader").css({height:b.height()+"px"}),b.find(".qodef-slider-preloader .qodef-ajax-loader").css({display:"block"}),qodef.windowWidth<1025?k(b,d,c,!1):k(b,d,c,!0),a(window).resize(function(){qodef.windowWidth<1025?k(b,d,c,!1):k(b,d,c,!0),n(b)})}},q=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))},r=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*d
    ');var h=b.find(".qodef-slider-peeker"),i=b.find(".carousel-control"),j=b.find(".carousel-indicators > li");i.hover(function(){d(a(this),!0)},function(){d(a(this),!1)}),j.hover(function(){e(a(this),!0)},function(){e(a(this),!1)}),b.on("slide.bs.carousel",function(){setTimeout(function(){h.addClass("qodef-slide-peek-in-progress").removeClass("shown")},500)}),b.on("slid.bs.carousel",function(){i.filter(".hovered").each(function(){d(a(this),!0)}),setTimeout(function(){j.filter(".hovered").each(function(){e(a(this),!0)})},200),h.removeClass("qodef-slide-peek-in-progress")})}},u=function(b){if(b.hasClass("qodef-slider-thumbs")){var d,e,f,g=b.find(".item").length,h=b.find(".item").index(a(".item.active")[0])+1;q(b,h,g),b.find(".item.active").prev(".item").length?(b.find(".item.active").prev("div").find(".qodef-image").length?(d=c.exec(b.find(".active").prev("div").find(".qodef-image").attr("style")),e=new Image,e.src=d[1]):(e=b.find(".active").prev("div").find("> .qodef-video").clone(),e.find(".qodef-video-overlay, .mejs-offscreen").remove(),e.find(".qodef-video-wrap").width(150).height(84),e.find(".mejs-container").width(150).height(84),e.find("video").width(150).height(84)),b.find(".left.carousel-control .img .old").fadeOut(300,function(){a(this).remove()}),b.find(".left.carousel-control .img").append(e).find("div.thumb-image, > img, div.qodef-video").fadeIn(300).addClass("old")):(b.find(".carousel-inner .item:last-child .qodef-image").length?(d=c.exec(b.find(".carousel-inner .item:last-child .qodef-image").attr("style")),e=new Image,e.src=d[1]):(e=b.find(".carousel-inner .item:last-child > .qodef-video").clone(),e.find(".qodef-video-overlay, .mejs-offscreen").remove(),e.find(".qodef-video-wrap").width(150).height(84),e.find(".mejs-container").width(150).height(84),e.find("video").width(150).height(84)),b.find(".left.carousel-control .img .old").fadeOut(300,function(){a(this).remove()}),b.find(".left.carousel-control .img").append(e).find("div.thumb-image, > img, div.qodef-video").fadeIn(300).addClass("old")),b.find(".active").next("div.item").length?(b.find(".active").next("div").find(".qodef-image").length?(d=c.exec(b.find(".active").next("div").find(".qodef-image").attr("style")),f=new Image,f.src=d[1]):(f=b.find(".active").next("div").find("> .qodef-video").clone(),f.find(".qodef-video-overlay, .mejs-offscreen").remove(),f.find(".qodef-video-wrap").width(150).height(84),f.find(".mejs-container").width(150).height(84),f.find("video").width(150).height(84)),b.find(".right.carousel-control .img .old").fadeOut(300,function(){a(this).remove()}),b.find(".right.carousel-control .img").append(f).find("div.thumb-image, > img, div.qodef-video").fadeIn(300).addClass("old")):(b.find(".carousel-inner .item:first-child .qodef-image").length?(d=c.exec(b.find(".carousel-inner .item:first-child .qodef-image").attr("style")),f=new Image,f.src=d[1]):(f=b.find(".carousel-inner .item:first-child > .qodef-video").clone(),f.find(".qodef-video-overlay, .mejs-offscreen").remove(),f.find(".qodef-video-wrap").width(150).height(84),f.find(".mejs-container").width(150).height(84),f.find("video").width(150).height(84)),b.find(".right.carousel-control .img .old").fadeOut(300,function(){a(this).remove()}),b.find(".right.carousel-control .img").append(f).find("div.thumb-image, > img, div.qodef-video").fadeIn(300).addClass("old"))}},v=function(b,c,e){b.find(".carousel-inner .item:first-child").addClass("active"),O(a(".carousel .active"),b.hasClass("qodef-header-effect")),b.hasClass("qodef-slider-numbers")&&q(b,1,c),b.find(".item video").length&&s(b),u(b),t(b),b.find(".qodef-slide-element-wrapper-link").mouseenter(function(){a(this).removeClass("inheriting")}).mouseleave(function(){a(this).addClass("inheriting")}),b.hasClass("qodef-auto-start")?(b.carousel({interval:e,pause:!1}),b.find(".slide_buttons_holder .qbutton").mouseenter(function(){b.carousel("pause")}).mouseleave(function(){b.carousel("cycle")})):b.carousel({interval:0,pause:!1}),a(window).scroll(function(){b.hasClass("qodef-full-screen")&&qodef.scroll>qodef.windowHeight&&qodef.windowWidth>1024?b.carousel("pause"):!b.hasClass("qodef-full-screen")&&qodef.scroll>b.height()&&qodef.windowWidth>1024?b.carousel("pause"):b.carousel("cycle")}),a(".carousel-inner .item:first-child").hasClass("qodef-animate-image")&&qodef.windowWidth>1024&&b.find(".carousel-inner .item.qodef-animate-image:first-child .qodef-image").transformAnimate({transform:"matrix("+d[a(".carousel-inner .item:first-child").data("qodef_animate_image")]+")",duration:3e4})};return{init:function(){if(b.length){if(b.each(function(){var b=a(this),e=b.data("slide_animation_timeout"),f=b.find(".item").length;if(o(b),p(b),qodef.htmlEl.hasClass("touch")){if(b.find(".item:first-child .qodef-mobile-video-image").length>0)var g=c.exec(b.find(".item:first-child .qodef-mobile-video-image").attr("style"));else var g=c.exec(b.find(".item:first-child .qodef-image").attr("style"));if(g){var h=new Image;h.src=g[1],a(h).load(function(){a(".qodef-slider-preloader").fadeOut(500),v(b,f,e)})}}else if(b.find(".item:first-child video").length>0)b.find(".item:first-child video").eq(0).one("loadeddata",function(){a(".qodef-slider-preloader").fadeOut(500),v(b,f,e)});else{var g=c.exec(b.find(".item:first-child .qodef-image").attr("style"));if(g){var h=new Image;h.src=g[1],a(h).load(function(){a(".qodef-slider-preloader").fadeOut(500),v(b,f,e)})}}b.on("slide.bs.carousel",function(){b.addClass("qodef-in-progress"),b.find(".active .qodef-slider-elements-holder-frame, .active .qodef-slide-element-section-link").fadeTo(250,0)}),b.on("slid.bs.carousel",function(){if(b.removeClass("qodef-in-progress"),b.find(".active .qodef-slider-elements-holder-frame, .active .qodef-slide-element-section-link").fadeTo(0,1),b.hasClass("qodef-slider-numbers")){var c=a(".item").index(a(".item.active")[0])+1;q(b,c,f)}a(".item.qodef-animate-image .qodef-image").stop().css({transform:"","-webkit-transform":""}),a(".item.active").hasClass("qodef-animate-image")&&qodef.windowWidth>1025&&a(".item.qodef-animate-image.active .qodef-image").transformAnimate({transform:"matrix("+d[a(".item.qodef-animate-image.active").data("qodef_animate_image")]+")",duration:3e4}),b.hasClass("qodef-slider-thumbs")&&u(b)}),b.swipe({swipeLeft:function(){b.carousel("next")},swipeRight:function(){b.carousel("prev")},threshold:20})}),a(".no-touch .carousel").length){var e=skrollr.init({smoothScrolling:!1,forceHeight:!1});e.refresh()}a(window).scroll(function(){a(".qodef-slider .carousel").height()qodef.windowHeight&&qodef.windowWidth>1025?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>1025?a(".qodef-slider .carousel").find(".carousel-inner, .carousel-indicators").hide():a(".qodef-slider .carousel").find(".carousel-inner, .carousel-indicators").show()})}}}},W=qodef.modules.shortcodes.qodefInitIconList=function(){var b=a(".qodef-animate-list"),c=function(a){setTimeout(function(){a.appear(function(){a.addClass("qodef-appeared")},{accX:0,accY:qodefGlobalVars.vars.qodefElementAppearAmount})},30)};return{init:function(){b.length&&b.each(function(){c(a(this))})}}}}(jQuery),function(a){"use strict";function b(){f(),g(),h()}function c(){}function d(){}function e(){}function f(){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 g(){(a(".woocommerce-ordering .orderby").length||a("#calc_shipping_country").length)&&(a(".woocommerce-ordering .orderby").select2({minimumResultsForSearch:1/0}),a("#calc_shipping_country").select2())}function h(){a(document).ajaxComplete(function(){a("#calc_shipping_country").length&&a("#calc_shipping_country").select2()})}var i={};qodef.modules.woocommerce=i,i.qodefInitQuantityButtons=f,i.qodefInitSelect2=g,i.qodefOnDocumentReady=b,i.qodefOnWindowLoad=c,i.qodefOnWindowResize=d,i.qodefOnWindowScroll=e,a(document).ready(b),a(window).load(c),a(window).resize(d),a(window).scroll(e)}(jQuery),function(a){"use strict";function b(){f(),g()}function c(){j().init()}function d(){}function e(){}function f(){var b=a(".qodef-portfolio-single-holder .qodef-masonry-gallery-holder .qodef-portfolio-media"),c=".qodef-portfolio-single-holder .qodef-masonry-gallery-holder .qodef-portfolio-single-media",d=".qodef-single-masonry-grid-sizer";b.length&&b.each(function(){var b=a(this);b.waitForImages(function(){b.animate({opacity:1}),b.isotope({itemSelector:c,masonry:{columnWidth:d,gutter:0}})})})}function g(){var b=a(".qodef-portfolio-single-holder .qodef-pinterest-gallery-holder");b.length&&b.each(function(){var b=a(this).children(".qodef-portfolio-media");h(b),a(window).resize(function(){h(b)})})}function h(a){a.waitForImages(function(){a.isotope({layoutMode:"packery",itemSelector:".qodef-portfolio-single-media",packery:{columnWidth:".qodef-single-masonry-grid-sizer"}})}),a.addClass("qodef-appeared")}var i={};qodef.modules.portfolio=i,i.qodefOnDocumentReady=b,i.qodefOnWindowLoad=c,i.qodefOnWindowResize=d,i.qodefOnWindowScroll=e,a(document).ready(b),a(window).load(c),a(window).resize(d),a(window).scroll(e);var j=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,.qodef-follow-portfolio-info .masonry-gallery-left.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&&qodef.windowWidth>768&&g>e&&qodef.scroll>d&&b.animate({marginTop:qodef.scroll-d+qodefGlobalVars.vars.qodefAddForAdminBar+i+20})},k=function(){b.length&&qodef.windowWidth>768&&g>e&&(qodef.scroll>d?qodef.scroll+i+qodefGlobalVars.vars.qodefAddForAdminBar+e+20