!function(g,m,u,r){"use strict";g("body").fitVids({ignore:".vimeo-video, .youtube-simple-wrap iframe, .iframe-video.for-btn iframe, .post-media.video-container iframe"});var e,f=[],t=768,i=992,a=1200,o=1600,n=navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i),s=1;function l(){g(".preloader-svg").fadeOut(300),clearInterval(e)}if(g(u).on("ready",function(){g(".loader__svg pattern").length&&(e=setInterval(function(){g(".loader__svg pattern").length&&(g(".loader__svg text").attr("fill","url(#pattern"+s+")"),s=s ul").length){var e=(g("header.right-menu").outerHeight()-g("#topmenu > ul.menu").outerHeight())/2+g("#topmenu > ul.menu").outerHeight();g("header:not(.aside-menu).right-menu #topmenu ul .mega-menu > ul").css("top",e)}else if(1024 ul").length){e=(g("header.right-menu").outerHeight()-g("#topmenu > ul.menu").outerHeight())/2+g("#topmenu > ul.menu").outerHeight();g("header:not(.aside-menu).right-menu #topmenu ul .mega-menu > ul").css("top",e)}}function y(){g(".kenburns-wrap").length&&g(".kenburns-wrap").each(function(){var e=g(".header_top_bg").not(".header_trans-fixed").outerHeight()||0,t=g("#footer").not(".fix-bottom").outerHeight()||0,i=g(m).height()-(e+t),a=g("#footer").hasClass("fix-bottom")?g("#footer").outerHeight()+60:"30";g(this).find(".kenburns-play").css("bottom",a+"px"),g(this).find(".whizz-sound-btn").css("bottom",a+"px"),g(this).css("height",i+"px"),g(m).width()<768&&n?(g(this).find(".whizz-sound-btn").css("bottom",a-50+"px"),g(this).find(".caption").css("bottom",a+10+"px")):(g(this).find(".caption").css("bottom",a-20+"px"),g(this).find(".whizz-sound-btn").css("bottom",a+"px"))})}function b(){var e=g(".header_top_bg").not(".header_trans-fixed, .fixed-header").outerHeight()||0,t=g("#footer").not(".fix-bottom").outerHeight()||0,i=g(m).height()-(e+t);if(g("#wpadminbar").length)var a=g(m).height()-32;else a=g(m).height();var o=300 .item").length||g(".blog > .row > .item").length)&&g(".portfolio:not(.masonry) .wpb_wrapper, .blog > .row").each(function(){var e=g(this),t=e.closest(".portfolio-wrapper").hasClass("palaroid")?"fitRows":"masonry";g(this).parent().hasClass("adjusted")||e.isotope({itemSelector:".item",layoutMode:t,masonry:{columnWidth:".item"}})}),g(".portfolio.masonry .wpb_wrapper").length&&g(".portfolio.masonry .wpb_wrapper > .item").length&&g(".portfolio.masonry .wpb_wrapper").each(function(){g(this).isotope({itemSelector:".item",layoutMode:"masonry",masonry:{columnWidth:".item"}})}),g(".adjusted").length&&767=t.find(".swiper-slide").length?t.addClass("pagination-hidden"):t.removeClass("pagination-hidden"),n.show()}})}),g(".kenburns").length&&g(".kenburns").each(function(){var e=g(this).attr("data-time")?g(this).attr("data-time"):6e3;g(this).kenBurning({time:e})}),g(".modern-slider-wrap").length&&g(".modern-slider").each(function(){var e=g(this).attr("data-time")?g(this).attr("data-time"):6e3;g(this).kenBurning({time:e})}),g(m).ready(function(){g(".full_screen_slider.disable_scroll").length&&g("html, body").addClass("overflow-hidden")}),g(m).on("load",function(){var h;v(),h=0,g(".full_screen_slider").each(function(){var o=g(this),e="swiper-unique-id-"+h;o.addClass("swiper-"+e+" initialized").attr("id",e),o.find(".pagination").addClass("pagination-"+e);var t=parseInt(o.attr("data-autoplay"),10),i=o.attr("data-mode"),a=o.attr("data-slides-per-view");a="responsive"==a?_(o):parseInt(a,10);var n=function(e,t){var i=o.find(".slider-click.left"),a=o.find(".slider-click.right"),t=t;e<1?i.addClass("disabled"):(i.removeClass("disabled").find(".left").text(e),i.find(".right").text(t)),e==t-1?a.addClass("disabled"):(a.removeClass("disabled").find(".left").text(e+2),a.find(".right").text(t))},s=parseInt(o.attr("data-loop"),10),r=parseInt(o.attr("data-speed"),10),l=parseInt(o.attr("data-center"),10);if(f["swiper-"+e]=new Swiper(".swiper-"+e,{speed:r,pagination:".pagination-"+e,loop:s,paginationClickable:!0,autoplay:t,slidesPerView:a,keyboardControl:!0,calculateHeight:!0,simulateTouch:!0,roundLengths:!0,centeredSlides:l,mode:i||"horizontal",onInit:function(e){o.find(".swiper-slide").addClass("active"),1024=o.find(".swiper-slide").length?o.addClass("pagination-hidden"):o.removeClass("pagination-hidden"),p.show()}h++}),g(".flipster-slider").each(function(e){var t=g(this),i="flipster-slider-unique-id-"+e;t.addClass(i+" initialized").attr("id",i);var a=parseInt(t.attr("data-keyboard"),10),o=parseInt(t.attr("data-mousewheel"),10),n=parseInt(t.attr("data-controls"),10);t.flipster({style:"carousel",enableKeyboard:a||!1,enableMousewheel:o||!1,enableNavButtons:n||!1})}),g(".multiscroll-slider").length&&(V(),g(".scroll-btn.down").on("click",function(){g.fn.multiscroll.moveSectionDown()}),g(".scroll-btn.up").on("click",function(){g.fn.multiscroll.moveSectionUp()})),B(),setTimeout(y,0),x(".s-img-switch"),function(){if(m.load_more_post){var s=parseInt(load_more_post.startPage)+1,r=parseInt(load_more_post.maxPage),l=load_more_post.nextLink;g(".load-more").on("click",function(e){var a=g(this),o=a.html();if(a.html("loading..."),s<=r){var n=g(".portfolio .wpb_wrapper");g.ajax({url:l,type:"get",success:function(e){var t=g(e).find(".portfolio.l-more .item"),i=[];t.each(function(e){i.push(this)}),n.append(i),n.find("img[data-lazy-src]").foxlazy(),x(".s-img-switch"),T(),I(),n.isotope("appended",g(i)),g("img[data-lazy-src]").foxlazy(),s++,l=l.replace(/\/page\/[0-9]?/,"/page/"+s),a.html(o),s==r+1&&a.hide("fast")}})}return!1})}}(),c(),g("#wpadminbar").length&&g(".header_trans-fixed.header_top_bg").css("top","32px")}),g(m).on("scroll",function(){150<=g(this).scrollTop()?g(".header_top_bg.header_trans-fixed").length&&g(".header_top_bg.header_trans-fixed").addClass("bg-fixed-color"):g(".header_top_bg.header_trans-fixed").length&&g(".header_top_bg.header_trans-fixed").removeClass("bg-fixed-color")}),C(),g(".swiper-arrow-left").on("click",function(){f["swiper-"+g(this).parent().attr("id")].swipePrev()}),g(".swiper-arrow-right").on("click",function(){f["swiper-"+g(this).parent().attr("id")].swipeNext()}),g(".swiper-outer-left").on("click",function(){f["swiper-"+g(this).parent().find(".swiper-container").attr("id")].swipePrev()}),g(".swiper-outer-right").on("click",function(){f["swiper-"+g(this).parent().find(".swiper-container").attr("id")].swipeNext()}),g(".slider-click.left").on("click",function(){f["swiper-"+g(this).parent().parent().parent().find(".full_screen_slider").attr("id")].swipePrev(),f["swiper-"+g(this).parent().parent().parent().find(".full_screen_slider").attr("id")].startAutoplay()}),g(".slider-click.right").on("click",function(){f["swiper-"+g(this).parent().parent().parent().find(".full_screen_slider").attr("id")].swipeNext(),f["swiper-"+g(this).parent().parent().parent().find(".full_screen_slider").attr("id")].startAutoplay()}),g(m).on("resize",function(){v(),g(".ytbg").length&&z(),b(),setTimeout(y,0),c()}),g(".ytbg").length&&z(),g(".wpb_wrapper .hero-slider .slide").length&&(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?g(".hero-slider .slide").closest(".wpb_wrapper").css("margin","0 15px"):g(".hero-slider .slide").closest(".wpb_wrapper").css("margin","0 50px")),g(".mb_YTPPlaypause").live("click",function(){g(this).toggleClass("active")}),g("iframe:not([src*=soundcloud])").each(function(e){g(this).wrap("
")}),g.fn.isVisible=function(){var e=g(m).scrollTop(),t=g(m).height(),i=g(this).offset().top,a=g(this).height();return i<=e+t&&e<=i+a?1:0},g(".sscroll").on("click",function(){var e=g(this).attr("href"),t=g(e).offset().top-150;return g("html, body").animate({scrollTop:t},600),!1}),g(m).on("scroll",function(){.1*g(m).height()<=g(m).scrollTop()?g(".to-top").fadeIn():g(".to-top").fadeOut()}),g(".to-top").on("click",function(){return g("html, body").animate({scrollTop:0},600),!1}),g.stellar({horizontalScrolling:!1,responsive:!0}),0"),g('.single-portfolio .protected-page input[type="submit"]').wrap("
"),g('.events-single-content.protected-page input[type="submit"]').wrap("
"),g('.main-wrapper .wpcf7 form input[type="submit"]').wrap("
"),g('.single-product form .form-submit input[type="submit"]').wrap("
"),g('.single-post .comments-form form .input-wrapper input[type="submit"]').wrap("
"),g(".aside-menu .menu-item a").on("click",function(){g(this).parent().hasClass("menu-item-has-children")&&g(this).next(".sub-menu").slideToggle()}),g(".right-menu.full .menu-item a").on("click",function(){g(this).parent().hasClass("menu-item-has-children")&&g(this).next(".sub-menu").slideToggle()}),g(".side-link").each(function(){var e=g(this);Math.round(e.height())%2==1&&e.css({height:"+=1"})}),g(".hero-slider").length&&(g(m).on("resize",function(){g(".hero-slider .slide").height("800px").width("100%")}).resize(),g(".hero-slider").flexslider({animation:"slide",pauseOnAction:!0,animationLoop:!0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,controlNav:!0,directionNav:!1})),g(".ytbg").YTPlayer({showYTLogo:!1,optimizeDisplay:!0}),g('.equal-height [class*="col-"]').matchHeight({byRow:!1}),g(".equal-height .wpb_wrapper").matchHeight({byRow:!1}),g(".img-slider").length&&g(".img-slider").each(function(){g(this).flexslider({animation:"slide",slideshowSpeed:4500,smoothHeight:!0,pauseOnAction:!1,controlNav:!1,directionNav:!0,prevText:"",nextText:""})}),g(".flex-direction-nav a").on("click",function(e){e.stopPropagation()}),g(m).on("load",function(){b(),g(".blog").imagesLoaded(function(){g(".blog").shuffle({itemSelector:".post"}),setTimeout(function(){g(".blog").shuffle("shuffle")},200)}),H()}),g('.product button[type="submit"]').on("click",function(){g("img[data-lazy-src]").foxlazy()}),g(m).on("load",function(){var t,i;T(),j(),g("img[data-lazy-src]").foxlazy(),S(),g("img[data-lazy-src]").foxlazy("",function(){setTimeout(S,500),setTimeout(function(){N()},200)}),t=g(".portfolio:not(.masonry) .wpb_wrapper"),i={numberGreaterThan50:function(){var e=g(this).find(".number").text();return 50Something went wrong, try again!

').slideDown("slow")}}),!1}),g(m).load(function(){if(0')}),g(".banner-video .full-button").length&&g(".banner-video .full-button").each(function(e){g(this).on("click",function(){g(this).hasClass("on")?(g(this).removeClass("on"),g(this).closest(".banner-video").removeClass("full"),g("header").show(),g("footer:not(.no-footer)").show()):(g(this).addClass("on"),g(this).closest(".banner-video").addClass("full"),g("header").hide(),g("footer").hide())})}),m.onYouTubeIframeAPIReady=function(){var i,a=[],o=[];g(".iframe-video.youtube iframe").each(function(t){i=g(this),o[t]=i.closest(".iframe-video.youtube"),a[t]=new YT.Player(this,{events:{onReady:function(e){o[t].data("mute")&&e.target.mute()},onStateChange:function(e){switch(e.data){case 1:case 2:case 3:break;case 0:o[t].removeClass("play").find(".play-button").removeClass("start")}}}}),"hover"==o[t].data("type-start")&&P(o[t],this,a[t],!0,"youtube"),"click"==o[t].data("type-start")&&o[t].find(".play-button").on("click",function(e){e.preventDefault(),setTimeout(P(o[t],this,a[t],!1,"youtube"),0)});var e=o[t].find(".mute-button");e.length&&e.on("click",function(){e.hasClass("mute1")?(a[t].unMute(),e.removeClass("mute1")):(e.addClass("mute1"),a[t].mute())}),o[t].find(".video-close-button").on("click",function(){a[t].stopVideo(),o[t].removeClass("play").find(".play-button").removeClass("start")})})};var M=[];g(".iframe-video:not(.youtube)").each(function(e){M[e]=g(this),g(".play-button",M[e]).on("click",function(){event.preventDefault(),P(M[e],this)}),M[e].find(".video-close-button").on("click",function(){event.preventDefault(),M[e].find("iframe").attr("src","about:blank"),M[e].removeClass("play").find(".play-button").removeClass("start")}),"hover"==M[e].data("type-start")&&P(M[e],M[e].find("iframe")[0],!1,!0)}),navigator.userAgent.match(/(iPod|iPhone|iPad)/)&&g("form").submit(function(){for(var e=g(this).find("[required]"),t=!1,i=0;i<=e.length-1;i++)""!=e[i].value&&e[i].validity.valid||(e[i].style.backgroundColor="rgb(255,155,155)",t=!0);if(t)return!1}),jQuery(".wpb-date").length&&jQuery(".wpb-date").datetimepicker(),g(m).on("load",function(){L.length&&D()}),g(m).on("resize",function(){L.length&&D()});var L=g(".coming-soon-descr li");function D(){L.each(function(){var e=g(this),t=e.data("desktop"),i=e.data("mobile");g(m).width()<768?e.text(i):e.text(t)})}function W(e,t,i){var a,o,n,s,r,l=(a=t,o=Date.parse(a)-Date.parse(new Date),n=Math.floor(o/1e3%60),s=Math.floor(o/1e3/60%60),r=Math.floor(o/36e5%24),{total:o,days:Math.floor(o/864e5),hours:r,minutes:s,seconds:n});i&&e.find(".count-days").text(l.days),(i||59===l.minutes)&&e.find(".count-hours").text(("0"+l.hours).slice(-2)),(i||59===l.seconds)&&e.find(".count-mins").text(("0"+l.minutes).slice(-2)),e.find(".count-secs").text(("0"+l.seconds).slice(-2)),l.total<=0&&clearInterval(timeinterval)}function V(){var e,t=g(m).width(),i=g(m).height(),a=g(".multiscroll-slider"),o=a.find(".multiscroll-slider-left"),n=a.find(".multiscroll-slider-right");if(a.hasClass("fullheight")){var s=g(".header_top_bg").not(".header_trans-fixed").outerHeight(),r=g("#footer").not(".fix-bottom").outerHeight();a.height(i-s-r)}e=a.height(),!a.hasClass("albums-sp")&&0=g(this).offset().top-1*g(m).height()&&(g(this).addClass("active"),g(this).find(".skill").each(function(){var e=g(this).attr("data-value");g(this).find(".active-line").css("width",e+"%"),g(this).find(".counter").countTo()}))})}),g(m).on("resize",function(){g(".thumb-slider-wrapp").length&&B()}),m.addEventListener("orientationchange",function(){j(),g(".thumb-slider-wrapp").length&&B()}),g(".thumb-slider-wrapp-arrow").on("click",function(){g(this).toggleClass("active").parent().find(".sub-thumb-slider").toggleClass("active")}),g("[data-share]").on("click",function(){var e=m,t=this.getAttribute("data-share"),i=e.screenLeft!=r?e.screenLeft:screen.left,a=e.screenTop!=r?e.screenTop:screen.top,o=e.innerWidth/2-300+i,n=e.innerHeight/2-300+a,s=e.open(t,"","scrollbars=yes, width=600, height=600, top="+n+", left="+o);return e.focus&&s.focus(),!1}),g(".whizz-sound-btn").on("click",function(){var e=g(this);e.hasClass("play")?(e.next("audio").trigger("pause"),e.removeClass("play")):(e.next("audio").trigger("play"),e.addClass("play"))}),g(".whizz_copyright_overlay").length&&g(u).on("contextmenu",function(e){g(".whizz_copyright_overlay").hasClass("copy")?e.preventDefault():"A"!=e.target.tagName&&e.preventDefault(),g(".whizz_copyright_overlay").css({left:e.pageX,top:e.pageY}).addClass("active")}).on("click",function(){g(".whizz_copyright_overlay").removeClass("active").removeAttr("style")}),g(".filmstrim-gallery-outer.no1").length&&g(".fullview").css("display","none"),j(),g(".popup-details").fancybox({arrows:!0,loop:!0}),g(".gallery-item.slip:not(.modern)").parent().parent().sliphover({caption:"data-content",target:".info-content"}),g(".gallery-item.slip.modern").parent().parent().sliphover({caption:"alt",target:".gallery-item img",withLink:!0}),g("#back-to-top").length){var q=function(){100')}),g(".slider_classic").length&&g(".slider_classic").each(function(){g(this).closest(".vc_row").css("z-index","500")}),g(m).on("load resize",function(){g(".swiper3-container").each(function(){var e=g(this),t=parseInt(e.attr("data-autoplay"),10),i=e.attr("data-mode"),a=e.attr("data-effect")?e.attr("data-effect"):"slide",o=parseInt(e.attr("data-loop"),10),n=e.attr("data-noSwiping"),s=parseInt(e.attr("data-mouse"),10),r=parseInt(e.attr("data-speed"),10),l=parseInt(e.attr("data-center"),10),d=parseInt(e.attr("data-space"),10),p=parseInt(e.attr("data-slidesPerView"),10)?parseInt(e.attr("data-slidesPerView"),10):"auto",h={};e.hasClass("swiper-album")&&(h={480:{slidesPerView:1},767:{slidesPerView:3,centeredSlides:!1},991:{slidesPerView:4},1600:{slidesPerView:5}}),new Swiper3(e,{pagination:".swiper3-pagination",mode:i||"horizontal",slidesPerView:p,breakpoints:h,centeredSlides:l,noSwiping:n,paginationClickable:!0,spaceBetween:d,containerModifierClass:"swiper3-container-",slideClass:"swiper3-slide",slideActiveClass:"swiper3-slide-active",slideDuplicateActiveClass:"swiper3-slide-duplicate-active",slideVisibleClass:"swiper3-slide-visible",slideDuplicateClass:"swiper3-slide-duplicate",slideNextClass:"swiper3-slide-next",slideDuplicateNextClass:"swiper3-slide-duplicate-next",slidePrevClass:"swiper3-slide-prev",slideDuplicatePrevClass:"swiper3-slide-duplicate-prev",wrapperClass:"swiper3-wrapper",bulletClass:"swiper3-pagination-bullet",bulletActiveClass:"swiper3-pagination-bullet-active",buttonDisabledClass:"swiper3-button-disabled",paginationCurrentClass:"swiper3-pagination-current",paginationTotalClass:"swiper3-pagination-total",paginationHiddenClass:"swiper3-pagination-hidden",paginationProgressbarClass:"swiper3-pagination-progressbar",paginationClickableClass:"swiper3-pagination-clickable",paginationModifierClass:"swiper3-pagination-",lazyLoadingClass:"swiper3-lazy",lazyStatusLoadingClass:"swiper3-lazy-loading",lazyStatusLoadedClass:"swiper3-lazy-loaded",lazyPreloaderClass:"swiper3-lazy-preloader",notificationClass:"swiper3-notification",preloaderClass:"preloader",zoomContainerClass:"swiper3-zoom-container",loop:o,speed:r,autoplay:t,effect:a,mousewheelControl:s,nextButton:".swiper3-button-next",prevButton:".swiper3-button-prev"})}),function(){if(g(m).width()<992&&!g("body").hasClass("mob-main-menu")){var e=g(m).height()-g("header").outerHeight();g("header #topmenu").css("max-height",e)}else g(m).width()<1025&&g("body").hasClass("mob-main-menu")&&(e=g(m).height()-g("header").outerHeight(),g("header #topmenu").css("max-height",e));if(g(".header_trans-fixed").length&&991 ul").outerHeight()-g("#topmenu .f-right").outerHeight())/2;g("#topmenu .f-right").css("margin-top",t)}else g(".header_trans-fixed").length&&1024 ul").outerHeight()-g("#topmenu .f-right").outerHeight())/2,g("#topmenu .f-right").css("margin-top",t)):g(".header_trans-fixed #topmenu .f-right").css("margin-top","auto")}()});new Swiper3(".swiper-container-split",{direction:"vertical",speed:1200,slidesPerView:1,mousewheelControl:!0});function E(){var e=g(".swiper-container-vert-slider .swiper-slide-active").css("background-image");g(".outer-swiper-wrapper .img-overlay").css("background-image",e)}var O=g(m).outerHeight();g(".header_top_bg").outerHeight();function G(){if(g(".aside-menu.static").length&&991g(m).width()/2?(g(".slider-clickk.right").css({visibility:"visible",opacity:"1"}),g(".slider-clickk.left").css({visibility:"hidden",opacity:"0"})):t.hasClass("left")&&e.pageX<=g(m).width()/2&&(g(".slider-clickk.left").css({visibility:"visible",opacity:"1"}),g(".slider-clickk.right").css({visibility:"hidden",opacity:"0"}))})}):g(".flow-slider .slider-clickk").css({visibility:"hidden",opacity:"0"})},onSlideChangeEnd:function(e){1===n?e.activeLoopIndex:e.activeIndex},onSlideChangeStart:function(e){m.enable_foxlazy&&t.find(".swiper-slide img[data-lazy-src]").foxlazy(),t.find(".swiper-slide.active").removeClass("active")}}),f["swiper-"+e].reInit(),C(),g(".portfolio-slider-wrapper.slider_simple .info").on("click",function(){var e=g(this).closest(".swiper-slide").find(".caption-images-portfolio");g(".popup-portfolio-hidden").html(e[0]),g(".popup-portfolio-hidden").find(".caption-images-portfolio").toggleClass("active"),g(".popup-portfolio-hidden").find(".images-one").toggleClass("active"),g(".popup-portfolio-hidden").find(".caption-images-portfolio.active").length?(g(".header_top_bg").hide(),g(".portfolio-pagination.slider_simple").hide()):(g(".header_top_bg").show(),g(".portfolio-pagination.slider_simple").show())}),g(".portfolio-slider-wrapper .close-btn").on("click",function(){g(".popup-portfolio-hidden").find(".caption-images-portfolio").toggleClass("active"),g(".popup-portfolio-hidden").find(".images-one").toggleClass("active"),g(".popup-portfolio-hidden").find(".caption-images-portfolio.active").length?(g(".header_top_bg").hide(),g(".portfolio-pagination.slider_simple").hide()):(g(".header_top_bg").show(),g(".portfolio-pagination.slider_simple").show())}),"responsive"==t.attr("data-slides-per-view")){var p=t.find(".pagination span"),h=p.hide().slice(0,p.length+1-o);h.length<=1||o>=t.find(".swiper-slide").length?t.addClass("pagination-hidden"):t.removeClass("pagination-hidden"),h.show()}t.find(".default-active").length&&f["swiper-"+e].swipeTo(t.find(".swiper-slide").index(t.find(".default-active")),0),c++})}),g(m).on("load resize",function(){!function(){var e=g(".container").width();if(g("body").hasClass("static-menu"))var t=(g(u).outerWidth()-e)/4;else t=(g(u).outerWidth()-e)/2;var i=e/12;g(".slide-text").hasClass("slide-text-left")&&g(".slide-text-left .wrap-slide-text").css({"padding-left":t,"padding-right":i}),g(".slide-text").hasClass("slide-text-right")&&g(".slide-text-right .wrap-slide-text").css({"padding-left":i,"padding-right":t}),g(".fragment-text").hasClass("fragment-text-left")&&g(".fragment-text-left .wrap-frag-text").css({"padding-right":i}),g(".fragment-text").hasClass("fragment-text-right")&&g(".fragment-text-right .wrap-frag-text").css({"padding-left":i})}()}),u.querySelectorAll(".fragment-img").length&&imagesLoaded(u.querySelectorAll(".fragment-img"),{background:!0},function(){var e=g(".fragment-img.fragment-img--right"),t=g(".fragment-img.fragment-img--left"),i=parseInt(g(e).attr("data-fragment")),a=g(e).attr("data-paralax"),o=parseInt(g(t).attr("data-fragment")),n=g(t).attr("data-paralax");u.querySelectorAll(".fragment-img").forEach(function(e){e.classList.contains("fragment-img--right")?new FragmentsFx(e,{fragments:i,boundaries:{x1:100,x2:75,y1:50,y2:50},randomIntervals:{top:{min:0,max:90},left:{min:0,max:90},dimension:{width:{min:25,max:50,fixedHeight:10},height:{min:15,max:50,fixedWidth:10}}},parallax:a}):new FragmentsFx(e,{fragments:o,boundaries:{x1:50,x2:150,y1:0,y2:0},randomIntervals:{top:{min:0,max:40},left:{min:0,max:90},dimension:{width:{min:10,max:50,fixedHeight:.5},height:{min:5,max:10,fixedWidth:5}}},parallax:n,randomParallax:{min:30,max:150}})})}),g(m).on("load resize scroll",function(){g(".portfolio-pinterest").length&&g(".portfolio-pinterest a").not(".animated").each(function(){g(m).scrollTop()>=g(this).offset().top-.9*g(m).height()&&g(this).addClass("animated fadeInUp")})}),g(m).on("load resize",function(){g(".pinterest.item-single a").length&&g(".pinterest.item-single a").not(".animated").each(function(){g(m).scrollTop()>=g(this).offset().top-.8*g(m).height()&&g(this).addClass("animated fadeInUp")})}),g(m).on("scroll",function(){g(".pinterest.item-single a").length&&g(".pinterest.item-single a").not(".animated").each(function(){if(g(m).scrollTop()>=g(this).offset().top-.8*g(m).height()){var e=g(this);g(this).addClass("animated fadeInUp").parent().addClass("active"),setTimeout(function(){e.parent().removeClass("active")},1500)}})}),null!==n&&g(".iframe-video").each(function(){g(this).removeClass("play"),g(this).find(".play-button").removeClass("start")}),g(".iframe-video:not(.for-btn) .video-close-button").css("top",g("header").height()+10),g(".dgwt-jg-item").on("click",function(){g("body").addClass("overflow-full")}),g(".socials-mob-but").on("click",function(e){g(".mob-nav.active").length&&g(".mob-nav").click(),g("#topmenu .f-right").toggleClass("active-socials"),g("#topmenu .f-right.active-socials").length?(g("#topmenu").addClass("active-socials"),g(".header_trans-fixed").addClass("open")):(g(".header_trans-fixed").removeClass("open"),setTimeout(function(){g("#topmenu").removeClass("active-socials")},350)),e.preventDefault()}),g(m).on("resize",function(){G()}),g(m).on("load",function(){G()}),g(m).on("load",function(){if(g(".mini_cart_item_thumbnail img").length){var e=setInterval(function(){"data:image/gif;base64,R0lGODdhAQABAIAAAAAAAMzMzCwAAAAAAQABAAACAkQBADs="==g(".mini_cart_item_thumbnail img").attr("src")&&g(".mini_cart_item_thumbnail img").foxlazy()},15);setTimeout(e,5e3)}}),g(".tabs-header > .container > ul > li > a").on("hover",function(e){if(e.preventDefault(),g(this).parent().hasClass("active"))return!1;var t=g(this).parent().index();g(this).parent().addClass("active").siblings().removeClass("active"),g(this).parent().closest(".tabs").find(".tabs-item").removeClass("active").eq(t).addClass("active")}),g(m).on("load resize",function(){var e,t,i;e=g(".right-menu.full #topmenu .full-menu-wrap").outerHeight(),t=g(m).height(),i=e