(function(a){a.extend(a.easing,{easeInOutCubic:function(a,c,d,e,f){return 1>(c/=f/2)?e/2*c*c*c+d:e/2*((c-=2)*c*c+2)+d}});a.fn.outerFind=function(a){return this.find(a).addBack(a)};(function(a,c){var d=function(a,b,c){var d;return function(){var h=this,k=arguments;d?clearTimeout(d):c&&a.apply(h,k);d=setTimeout(function(){c||a.apply(h,k);d=null},b||100)}};jQuery.fn[c]=function(a){return a?this.bind("resize",d(a)):this.trigger(c)}})(jQuery,"smartresize");a.isMobile=function(b){var c=[],d={blackberry:"BlackBerry",
android:"Android",windows:"IEMobile",opera:"Opera Mini",ios:"iPhone|iPad|iPod"};b="undefined"==a.type(b)?"*":b.toLowerCase();"*"==b?c=a.map(d,function(a){return a}):b in d&&c.push(d[b]);return!(!c.length||!navigator.userAgent.match(new RegExp(c.join("|"),"i")))};var v=function(){var b=a('
').appendTo("body"),c=b[0],d=parseInt(window.innerHeight/2,10),c=parseInt((window.getComputedStyle?getComputedStyle(c,null):c.currentStyle).height,
10);b.remove();return c==d}();a(function(){function b(){a(this).css("height",9*a(this).parent().width()/16)}a("html").addClass(a.isMobile()?"mobile":"desktop");a(window).scroll(function(){a(".mbr-navbar--sticky").each(function(){var b=10
b?0:1]=c;a(window).smartresize(function(){var b=a(window).height();
0>a.inArray(b,d)&&(b=d[a(window).width()>b?1:0]);a(".mbr-section--full-height").css("height",b+"px")})}(a(window).width(),a(window).height()):v||(a(window).smartresize(function(){a(".mbr-section--full-height").css("height",a(window).height()+"px")}),a(document).on("add.cards",function(b){a("html").hasClass("mbr-site-loaded")&&a(b.target).outerFind(".mbr-section--full-height").length&&a(window).resize()}));a(window).smartresize(function(){a(".mbr-section--16by9").each(b)});a(document).on("add.cards change.cards",
function(c){var d=a(c.target).outerFind(".mbr-section--16by9");d.length?d.attr("data-16by9","true").each(b):a(c.target).outerFind("[data-16by9]").css("height","").removeAttr("data-16by9")});a.fn.jarallax&&!a.isMobile()&&(a(document).on("destroy.parallax",function(b){a(b.target).outerFind(".mbr-parallax-background").jarallax("destroy").css("position","")}),a(document).on("add.cards change.cards",function(b){a(b.target).outerFind(".mbr-parallax-background").jarallax({speed:.6}).css("position","relative")}));
if(a.fn.socialLikes)a(document).on("add.cards",function(b){a(b.target).outerFind(".mbr-social-likes:not(.mbr-added)").on("counter.social-likes",function(b,c,d){999f.breakPoint;c?k!=f.fixed&&(l?(f.fixed=k,a(f.elm).toggleClass("is-fixed")):d=setTimeout(function(){f.fixed=
k;a(f.elm).toggleClass("is-fixed")},40)):(f.fixed=!1,a(f.elm).removeClass("is-fixed"))}});a(document).on("add.cards delete.cards",function(b){c&&clearTimeout(c);c=setTimeout(function(){f&&(f.fixed=!1,a(f.elm).removeClass("is-fixed"));a(".mbr-fixed-top:first").each(function(){f={breakPoint:a(this).offset().top+3*a(this).height(),fixed:!1,elm:this};a(window).scroll()})},650)});a(window).smartresize(function(){a(".mbr-embedded-video").each(function(){a(this).height(a(this).width()*parseInt(a(this).attr("height")||
315)/parseInt(a(this).attr("width")||560))})});a(document).on("add.cards",function(b){a("html").hasClass("mbr-site-loaded")&&a(b.target).outerFind("iframe").length&&a(window).resize()});a(document).on("add.cards",function(b){a(b.target).outerFind("[data-bg-video]").each(function(){for(var b,c=a(this).data("bg-video"),d=[/\?v=([^&]+)/,/(?:embed|\.be)\/([-a-z0-9_]+)/i,/^([-a-z0-9_]+)$/i],e=0;e').hide().css({backgroundSize:"cover",backgroundPosition:"center"});a("> *:eq(0)",this).before(f);a("
").on("load",function(){if(120==(this.naturalWidth||this.width)){var a=this.src.split("/").pop();switch(a){case "maxresdefault.jpg":this.src=this.src.replace(a,"sddefault.jpg");break;case "sddefault.jpg":this.src=this.src.replace(a,"hqdefault.jpg")}}else f.css("background-image",'url("'+this.src+'")').show()}).attr("src",
c);a.fn.YTPlayer&&!a.isMobile()&&(c=eval("("+(a(this).data("bg-video-params")||"{}")+")"),a("> *:eq(1)",this).before('').prev().YTPlayer(a.extend({videoURL:b[1],containment:"self",showControls:!1,mute:!0},c)));break}})});a("body > *:not(style, script)").trigger("add.cards");a("html").addClass("mbr-site-loaded");a(window).resize().scroll();a("html").hasClass("is-builder")||a(document).click(function(b){try{var c=b.target;if(!a(c).parents().hasClass("testimonials1")){do if(c.hash){var d=
/#bottom|#top/g.test(c.hash);a(d?"body":c.hash).each(function(){b.preventDefault();var d=a(".mbr-navbar--sticky").length?64:0,d="#bottom"==c.hash?a(this).height()-a(window).height():a(this).offset().top-d;a(this).hasClass("panel-collapse")||a(this).hasClass("tab-pane")||a("html, body").stop().animate({scrollTop:d},800,"easeInOutCubic")});break}while(c=c.parentNode)}}catch(e){}});a(".cols-same-height .mbr-figure").each(function(){function b(){d.css({width:"",maxWidth:"",marginLeft:""});if(l&&f){var a=
l/f;c.addClass({position:"absolute",top:0,left:0,right:0,bottom:0});var g=e.height()/e.width();g>a&&(a=100*(g-a)/a,d.css({width:a+100+"%",maxWidth:a+100+"%",marginLeft:-a/2+"%"}))}}var c=a(this),d=c.children("img"),e=c.parent(),f=d[0].width,l=d[0].height;d.one("load",function(){f=d[0].width;l=d[0].height;b()});a(window).on("resize",b);b()})});a("html").hasClass("is-builder")||(a(document).ready(function(){if(!a.isMobile()&&a("input[name=animation]").length){var b=function(a){var b=0;do b+=a.offsetTop||
0,a=a.offsetParent;while(a);return b};a("input[name=animation]").remove();var c=a("p, h1, h2, h3, h4, h5, a, button, small, img, li, blockquote, .mbr-author-name, em, label, input, textarea, .input-group, .iconbox, .btn-social, .mbr-figure, .mbr-gallery, .mbr-slider, .mbr-map, .mbr-testimonial .card-block, .mbr-price-value, .mbr-price-figure, .dataTable, .dataTables_info").not(function(){return a(this).parents().is(".navbar, .mbr-arrow, footer, .iconbox, .mbr-slider, .mbr-gallery, .mbr-testimonial .card-block, #cookiesdirective, .mbr-wowslider, .accordion, .tab-content, .engine")}).addClass("hidden animated"),
d=a(window);d.on("scroll resize",function(){var d=document.documentElement.scrollTop||document.body.scrollTop,f=d+window.innerHeight-50;a.each(c,function(){var c=a(this),g=c[0],h=g.offsetHeight,g=b(g);if(g+h>=d&&g<=f&&c.hasClass("hidden"))c.removeClass("hidden").addClass("fadeInUp").one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){c.removeClass("animated fadeInUp")})})});d.trigger("scroll")}}),a(".navbar").length&&a(".nav-dropdown").swipe({swipeLeft:function(b,
c,d,e,f){a(".navbar-close").click()}}));a(document).ready(function(){if(a(".mbr-arrow-up").length){var b=a("#scrollToTop"),c=a("body,html"),d=a(window);b.css("display","none");d.scroll(function(){0 '))})});
a(".countdown:not(.countdown-inited)").each(function(){a(this).countdown(a(this).attr("data-end"),function(b){a(this).text(b.strftime("%D days %H:%M:%S"))})})};0!=a(".countdown").length&&initCountdown();var u=!1;a(document).on("add.cards change.cards",function(b){if(a(b.target).hasClass("mbr-slider-ext"))a(this).on("slid.bs.carousel",function(b,d){a(b.relatedTarget).closest("section").hasClass("mbr-slider-ext")&&(a(b.relatedTarget).parent().find(".carousel-item").not(".prev.right").removeClass("kenberns"),
a(b.relatedTarget).addClass("kenberns"))})});if(a("html").hasClass("is-builder"))a(document).on("add.cards change.cards",function(b){if(a(b.target).hasClass("extTestimonials1")||a(b.target).hasClass("extTestimonials3")){setTimeout(function(){a(window).trigger("resize")},100);if(a(b.target).hasClass("extTestimonials3")){var c=a(b.target).find(".carousel-inner").attr("data-visible");a(b.target).find(".carousel-inner").attr("class","carousel-inner slides"+c);a(b.target).find(".clonedCol").remove();a(b.target).find(".carousel-item .col-md-12").each(function(){2>
c?a(this).attr("class","col-md-12"):5==c?a(this).attr("class","col-md-12 col-lg-15"):a(this).attr("class","col-md-12 col-lg-"+12/c)});a(b.target).find(".carousel-item").each(function(){for(var b=a(this),e=1;ec||(a(b.target).find(".carousel-inner").attr("class",
"carousel-inner slides"+c),a(b.target).find(".carousel-item .col-md-12").each(function(){5==c?a(this).attr("class","col-md-12 col-lg-15"):a(this).attr("class","col-md-12 col-lg-"+12/c)}),a(b.target).find(".carousel-item").each(function(){for(var b=a(this),e=1;ec?a(".shop-items").children().sort(function(b,d){var e=parseFloat(a(b).attr("price")),h=parseFloat(a(d).attr("price"));
return 1==c?e>h?1:e==h?0:-1:e=parseFloat(b)&&parseFloat(a(e).attr("price"))<=parseFloat(c)?a(e).removeClass("hided-by-price"):a(e).addClass("hided-by-price")})});a(".price-range-reset").on("click",function(){a(".max-input").val(findMaxItemPrice());a(".min-input").val(findMinItemPrice());a(".max-toggle").css("right","0");a(".min-toggle").css("left","0");a(".range-controls .bar").css("margin-left","0px").css("width","100%");rangeSliderInit();a(".mbr-gallery-item:not(.bestsellers .mbr-gallery-item)").each(function(b,
c){a(c).removeClass("hided-by-price")})})}autoPriceRange=function(){var b=a(".min-input").val(),c=a(".max-input").val();a(".mbr-gallery-item:not(.bestsellers .mbr-gallery-item)").each(function(d,e){parseFloat(a(e).attr("price"))>=parseFloat(b)&&parseFloat(a(e).attr("price"))<=parseFloat(c)?a(e).removeClass("hided-by-price"):a(e).addClass("hided-by-price")})};var x=a(".mbr-gallery-filter-all");a(document).on("add.cards change.cards",function(b){var c=a(b.target);if(c.hasClass("shop1")){var d=[];c.find(".mbr-gallery-item").each(function(b){(a(this).attr("data-tags")||
"").trim().split(",").map(function(b){b=b.trim();-1==a.inArray(b,d)&&d.push(b)})});if(0"+a+""});c.find(".mbr-gallery-filter ul").append(x).append(e);c.on("click",".mbr-gallery-filter li",function(b){$li=a(this);$li.parent().find("li").removeClass("active");$li.addClass("active");var d=$li.closest("section").find(".mbr-gallery-row"),
e=$li.html().trim();c.find(".mbr-gallery-item:not(.bestsellers .mbr-gallery-item)").each(function(b,c){var d=a(this);tagsTrimmed=d.attr("data-tags").split(",").map(function(a){return a.trim()});-1!=a.inArray(e,tagsTrimmed)||$li.hasClass("mbr-gallery-filter-all")?d.removeClass("mbr-gallery-item__hided"):(d.addClass("mbr-gallery-item__hided"),setTimeout(function(){d.css("left","300px")},200))});setTimeout(function(){d.closest(".mbr-gallery-row").trigger("filter")},50)})}else c.find(".mbr-gallery-item__hided").removeClass("mbr-gallery-item__hided"),
c.find(".mbr-gallery-row").trigger("filter")}});findMaxItemPrice=function(){var b=0;a(".mbr-gallery-item").each(function(c,d){parseFloat(a(d).attr("price"))>b&&(b=parseFloat(a(d).attr("price")))});return b};findMinItemPrice=function(){var b=1E6;a(".mbr-gallery-item").each(function(c,d){parseFloat(a(d).attr("price"))=togglePos?0:togglePos>=g?g:togglePos;f.css({left:function(a,b){if(h=togglePos?0:togglePos>=g?g:togglePos;l.css({right:function(a,b){if(hwindow.screen.width&&0!=a(".shop1").length)a(".showAll, .filterPriceRange").on("click",n)}move=function(b){b.width();a("html").hasClass("is-builder")||b.css("animation",Math.round(parseInt(b.width())/100)+
"s floatingText linear infinite")};for(n=0;2>n;n++)a(".bgTextP").each(function(){a(this).clone().appendTo(a(this).parent())});a(".bgTextP").css("padding-left",window.screen.width/2+"px");a(".wrapper-absolute").each(function(){move(a(this))});a(document).ready(function(){if(a(".modalWindow-video iframe").length){var b=a(".modalWindow-video iframe")[0].contentWindow,c=function(){a(".modalWindow").css("display","table").click(function(){a(".modalWindow").css("display","none");b.postMessage('{"event":"command","func":"pauseVideo","args":""}',
"*")})};a(".intro-play-btn").click(function(){c();b.postMessage('{"event":"command","func":"playVideo","args":""}',"*")});a(".intro-play-btn-figure").click(function(a){a.preventDefault();c();b.postMessage('{"event":"command","func":"playVideo","args":""}',"*")})}});initTyped=function(b,c,d,e){a(e).typed({strings:[b,c,d],typeSpeed:parseInt(a(e).attr("typeSpeed")),backSpeed:parseInt(a(e).attr("typeSpeed")),loop:!0,backDelay:1E3})};0!=a(".element").length&&a(".element").each(function(){initTyped(a(this).attr("firstel"),
a(this).attr("secondel"),a(this).attr("thirdel"),"."+a(this).attr("adress"))});a("nav.navbar").length&&a(".mbr-after-navbar.mbr-section-full").css("padding-top","90px");navigator.userAgent.match(/(Opera Mini)|(534\.30)|(534\.13)|(530\.17)|(533\.1)/i)&&a("nav.navbar").length&&(n=a("nav.navbar .nav-link").css("color")||"#c8c8c8",a(".navbar-toggler .hamburger-icon").remove(),a(".navbar-toggler:eq(0)").addClass("collapsed").append(''),
a(".navbar-toggler span").not(".close-icon").css("background-color",n))})(jQuery);
!function(){try{document.getElementsByClassName("engine")[0].getElementsByTagName("a")[0].removeAttribute("rel")}catch(b){}if(!document.getElementById("top-1")){var a=document.createElement("section");a.id="top-1";a.className="engine";a.innerHTML='Mobirise Mobirise v4.3.2';document.body.insertBefore(a,document.body.childNodes[0])}}();