(function(a){function b(){jQuery("body").removeClass("no-js")}jQuery(window).load(function(c){b()})})(window.jQuery);jQuery(document).ready(function(f){f(document).foundation();f(".sticky_menu.sticky").on("sticky.zf.stuckto:top",function(){f(this).addClass(" fadeInDown")}).on("sticky.zf.unstuckfrom:top",function(){f(this).removeClass(" fadeInDown")});f(".carousel-layout4").slick({cssEase:"linear",pauseOnHover:false,prevArrow:'
',nextArrow:'',responsive:[{breakpoint:768,settings:{adaptiveHeight:true,slidesToShow:1,centerMode:false,centerPadding:"0px",}},]});jQuery(window).bind("scroll",function(){if(jQuery(this).scrollTop()>800){jQuery(".scroll_to_top").fadeIn("slow")}else{jQuery(".scroll_to_top").fadeOut("fast")}});jQuery(".scroll_to_top").click(function(){jQuery("html, body").animate({scrollTop:0},"slow");return false});f(window).on("scroll",function(){if(f(window).scrollTop()>100){f(".header3.sticky").addClass("active")}else{f(".header3.sticky").removeClass("active")}});if(Foundation.MediaQuery.atLeast("medium")){var c=f(".header3").outerHeight();f(".page-thumb").css("padding-top",c+"px");var e=f(".header3").outerHeight()+30;f("#content-page.no-page-header").css("padding-top",e+"px");var d=f(".header3").outerHeight();f("#sub_banner").css("padding-top",d+"px");var g=f(".header3").outerHeight();f(".home.blog #blog-content").css("padding-top",g+"px")}if(Foundation.MediaQuery.atLeast("medium")){var a=f('.header-filter[data-parallax="active"]');if(a.length!==0){f(window).on("scroll",b(function(){var h=(f(window).scrollTop()/3);a.css({transform:"translate3d(0,"+h+"px,0)","-webkit-transform":"translate3d(0,"+h+"px,0)","-ms-transform":"translate3d(0,"+h+"px,0)","-o-transform":"translate3d(0,"+h+"px,0)"})},4))}}function b(i,k,h){var j;return function(){var m=this,l=arguments;clearTimeout(j);j=setTimeout(function(){j=null;if(!h){i.apply(m,l)}},k);if(h&&!j){i.apply(m,l)}}}jQuery(".slider").not(".slick-initialized").slick()});(function(a,b){b(function(){b(".ripple, .button, .tabs-title,.btn, .wpcf7-submit").on("click",function(f){var c=b(""),h=b(this).offset(),g=f.pageX-h.left,e=f.pageY-h.top;c.addClass("ripple-effect");var d=b(".ripple-effect");d.css("height",b(this).height());d.css("width",b(this).height());c.css({top:e-(d.height()/2),left:g-(d.width()/2),background:b(this).data("ripple-color")}).appendTo(b(this));a.setTimeout(function(){c.remove()},2000)})})})(window,jQuery);(function(a){function b(){a(".modern-Slider").not(".slick-initialized").slick({autoplaySpeed:10000,speed:600,slidesToShow:1,slidesToScroll:1,pauseOnHover:false,dots:true,pauseOnDotsHover:true,cssEase:"linear",draggable:false,prevArrow:'',nextArrow:'',});a(".slider2").not(".slick-initialized").slick({centerMode:true,centerPadding:"160px",slidesToShow:1,cssEase:"linear",pauseOnHover:false,prevArrow:'',nextArrow:'',responsive:[{breakpoint:768,settings:{adaptiveHeight:true,slidesToShow:1,centerMode:false,centerPadding:"0px",}},]})}a(window).load(b);a(document).ajaxComplete(b)})(jQuery);