/* Minification failed. Returning unminified contents.
(5,1): run-time error CSS1019: Unexpected token, found '('
(5,11): run-time error CSS1031: Expected selector, found '('
(5,11): run-time error CSS1025: Expected comma or open brace, found '('
(8,2): run-time error CSS1019: Unexpected token, found ')'
(9,1): run-time error CSS1019: Unexpected token, found '('
(9,11): run-time error CSS1031: Expected selector, found '('
(9,11): run-time error CSS1025: Expected comma or open brace, found '('
(55,207): run-time error CSS1002: Unterminated string: " !== this.image.src ? !0 : !1
 */
/*!
 * Name    : Just Another Parallax [Jarallax]
 * Version : 1.1.0  
 */
(function (e) {
    "function" === typeof define && define.amd ? define(["jquery"], e) :
    "undefined" !== typeof exports ? module.exports = e(require("jquery")) : e(jQuery)
})
(function (e) {
        Date.now || (Date.now = function () {
            return (new Date).getTime()
        });
        window.requestAnimationFrame || function () {
            for (var b = ["webkit", "moz"], a = 0; a < b.length && !window.requestAnimationFrame; ++a) {
                var c = b[a];
                window.requestAnimationFrame = window[c + "RequestAnimationFrame"];
                window.cancelAnimationFrame = window[c + "CancelAnimationFrame"] || window[c + "CancelRequestAnimationFrame"]
            }
            if (/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent) || !window.requestAnimationFrame || !window.cancelAnimationFrame) {
                var d = 0; window.requestAnimationFrame = function (a) {
                    var b = Date.now(), c = Math.max(d + 16, b); return setTimeout(function () { a(d = c) }, c - b)
                };
                window.cancelAnimationFrame = clearTimeout
            }
        }   ();
        var l = function () {
            for (var b = ["transform", "WebkitTransform", "MozTransform", "OTransform", "msTransform"], a = document.createElement("div"), c = 0; c < b.length; c++)
                if (a && void 0 !== a.style[b[c]]) return b[c]; return !1
        }(),
        m = function () {
            if (!window.getComputedStyle) return !1; var b = document.createElement("p"),
                a, c = {
                    webkitTransform: "-webkit-transform", OTransform: "-o-transform", msTransform: "-ms-transform", MozTransform: "-moz-transform", transform: "transform"
                };
            (document.body || document.documentElement).insertBefore(b, null);
            for (var d in c) void 0 !== b.style[d] && (b.style[d] = "translate3d(1px,1px,1px)", a = window.getComputedStyle(b).getPropertyValue(c[d]));
            (document.body || document.documentElement).removeChild(b);
            return void 0 !== a && 0 < a.length && "none" !== a
        }(),
        n = -1 < navigator.userAgent.toLowerCase().indexOf("android"), p = !!window.opera, h = [], f = function () {
            var b = 0; return function (a, c) {
                var d; this.$item = e(a);
                this.defaults = { speed: .5, imgSrc: null, imgWidth: null, imgHeight: null, enableTransform: !0, zIndex: -100 };
                d = this.$item.data("jarallax") || {};
                this.options = e.extend({}, this.defaults, d, c);
                this.options.speed = Math.min(1, Math.max(0, parseFloat(this.options.speed)));
                this.instanceID = b++; this.image = {
                    src: this.options.imgSrc || null, $container: null, $item: null, width: this.options.imgWidth || null, height: this.options.imgHeight || null, useImgTag: n ||
                        p
                };
                this.initImg() && (this.init(), h.push(this))
            }
        }();
        f.prototype.initImg = function () {
            null === this.image.src && (this.image.src = this.$item.css("background-image").replace(/^url\(['"]?/g, "").replace(/['"]?\)$/g, "")); return this.image.src && "none" !== this.image.src ? !0 : !1
        };
        f.prototype.init = function () {
            function b() {
                a.coverImage();
                a.clipContainer();
                a.onScroll(!0);
                a.$item.data("jarallax-original-styles", a.$item.attr("style"));
                setTimeout(function () {
                    a.$item.css({
                        "background-image": "none", "background-attachment": "scroll",
                        "background-size": "auto"
                    })
                }, 0)
            }
            var a = this, c = {
                position: "absolute", top: 0, left: 0, width: "100%", height: "100%", overflow: "hidden", "pointer-events": "none", transition: "transform linear -1ms, -webkit-transform linear -1ms"
            }, d = { position: "fixed" };
            a.image.$container = e("<div>").css(c).css({ visibility: "hidden", "z-index": a.options.zIndex }).attr("id", "jarallax-container-" + a.instanceID).prependTo(a.$item); a.image.useImgTag && l ? (a.image.$item = e("<img>").attr("src", a.image.src), d = e.extend({ "max-width": "none" }, c, d)) : (a.image.$item =
                e("<div>"), d = e.extend({ "background-position": "50% 50%", "background-repeat": "no-repeat no-repeat", "background-image": 'url("' + a.image.src + '")' }, c, d)); a.image.$item.css(d).prependTo(a.image.$container);
            a.image.width && a.image.height ? b() : a.getImageSize(a.image.src, function (c, d) { a.image.width = c; a.image.height = d; b() })
        };
        f.prototype.destroy = function () {
            for (var b = 0, a = h.length; b < a; b++)
                if (h[b].instanceID === this.instanceID) { 
                    h.splice(b, 1); 
                    break 
                }
                e("head #jarallax-clip-" + this.instanceID).remove(); 
            this.$item.attr("style", this.$item.data("jarallax-original-styles"));
            this.$item.removeData("jarallax-original-styles");
            this.image.$container.remove();
            delete this.$item[0].jarallax
        };
        f.prototype.round = function (b) {
            return Math.floor(100 * b) / 100
        };
        f.prototype.getImageSize = function (b, a) {
            if (!b || !a) return !1;
            var c = new Image;
            c.onload = function () {
                a(c.width, c.height)
            };
            c.src = b
        };
        f.prototype.clipContainer = function () {
            var b = this.image.$container.outerWidth(!0),
                a = this.image.$container.outerHeight(!0),
                c = e("head #jarallax-clip-" + this.instanceID);
            c.length || (e("head").append('<style type="text/css" id="jarallax-clip-' + this.instanceID + '"></style>'), c = e("head #jarallax-clip-" + this.instanceID));
            b = ["#jarallax-container-" + this.instanceID + " {", "   clip: rect(0px " + b + "px " + a + "px 0);", "   clip: rect(0px, " + b + "px, " + a + "px, 0);", "}"].join("\n");
            c[0].styleSheet ? c[0].styleSheet.cssText = b : c.html(b)
        };
        f.prototype.coverImage = function () {
            if (this.image.width && this.image.height) {
                var b = this.image.$container.outerWidth(!0),
                    a = this.image.$container.outerHeight(!0),
                    c = e(window).outerWidth(!0),
                    d = e(window).outerHeight(!0),
                    g = this.image.width,
                    f = this.image.height,
                    d = {
                        width: Math.max(c, b) * Math.max(this.options.speed, 1),
                        height: Math.max(d, a) * Math.max(this.options.speed, 1)
                    };
                d.width / d.height > g / f ? (c = d.width, g = d.width * f / g) : (c = d.height * g / f, g = d.height);
                this.image.useImgTag && l ? (d.width = this.round(c),
                    d.height = this.round(g), d.marginLeft = this.round(-(c - b) / 2),
                    d.marginTop = this.round(-(g - a) / 2)) : d.backgroundSize = this.round(c) + "px " + this.round(g) + "px";
                this.image.$item.css(d)
            }
        };
        f.prototype.onScroll =
            function (b) {
                if (this.image.width && this.image.height) {
                    var a = e(window).scrollTop(),
                        c = e(window).scrollLeft(); e(window).width();
                    var d = e(window).height(),
                        g = this.$item.offset().top,
                        f = this.$item.offset().left,
                        h = this.$item.outerHeight(!0),
                        k = { visibility: "visible", backgroundPosition: "50% 50%" };
                    (b ? 0 : g + h < a || g > a + d) || (b = -(a - g) * this.options.speed,
                        c = -(c - f) * this.options.speed,
                        b = this.round(b), c = this.round(c),
                        l && this.options.enableTransform ? (k.transform = "translateY(" + b + "px) translateX(" + c + "px)",
                            m && (k.transform = "translate3d(" + c + "px, " + b + "px, 0)")) : k.backgroundPosition = c + "px " + b + "px", this.image.$item.css(k))
                }
            };
        (function () {
            e(window).on("scroll.jarallax", function () {
                window.requestAnimationFrame(function () {
                    for (var a = 0, b = h.length; a < b; a++)h[a].onScroll()
                })
            });
            var b; e(window).on("resize.jarallax orientationchange.jarallax load.jarallax", function () {
                clearTimeout(b); b = setTimeout(function () {
                    window.requestAnimationFrame(function () {
                        for (var a = 0, b = h.length; a < b; a++) {
                            var d = h[a]; d.coverImage(); d.clipContainer(); d.onScroll()
                        }
                    })
                }, 100)
            })
        })();
        var q = e.fn.jarallax;
        e.fn.jarallax = function () {
            var b = arguments[0], a = Array.prototype.slice.call(arguments, 1), c = this.length, d = 0, e;
            for (d; d < c; d++)
                if ("object" === typeof b || "undefined" === typeof b ? this[d].jarallax || (this[d].jarallax = new f(this[d], b)) : e = this[d].jarallax ? this[d].jarallax[b].apply(this[d].jarallax, a) : void 0, "undefined" !== typeof e)
                    return e;
            return this
        };
        e.fn.jarallax.noConflict = function () {
            e.fn.jarallax = q;
            return this
        };
        e(document).on("ready.data-jarallax", function () {
            e("[data-jarallax]").jarallax()
        })
});

(function (a) {
    a.extend(a.easing, { easeInOutCubic: function (a, b, d, k, f) { return 1 > (b /= f / 2) ? k / 2 * b * b * b + d : k / 2 * ((b -= 2) * b * b + 2) + d } }); a.fn.outerFind = function (a) { return this.find(a).addBack(a) }; (function (a, b) { var d = function (a, b, e) { var d; return function () { var c = this, g = arguments; d ? clearTimeout(d) : e && a.apply(c, g); d = setTimeout(function () { e || a.apply(c, g); d = null }, b || 100) } }; jQuery.fn[b] = function (a) { return a ? this.bind("resize", d(a)) : this.trigger(b) } })(jQuery, "smartresize"); a.isMobile = function (e) {
        var b = [], d = {
            blackberry: "BlackBerry",
            android: "Android", windows: "IEMobile", opera: "Opera Mini", ios: "iPhone|iPad|iPod"
        }; e = "undefined" == a.type(e) ? "*" : e.toLowerCase(); "*" == e ? b = a.map(d, function (a) { return a }) : e in d && b.push(d[e]); return !(!b.length || !navigator.userAgent.match(new RegExp(b.join("|"), "i")))
    };
    var n = function () {
        var e = a('<div style="height: 50vh; position: absolute; top: -1000px; left: -1000px;">').appendTo("body"), b = e[0], d = parseInt(window.innerHeight / 2, 10), b = parseInt((window.getComputedStyle ? getComputedStyle(b, null) : b.currentStyle).height,
            10); e.remove(); return b == d
    }();
    a(function () {
        function e() { 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 c = 10 < a(window).scrollTop() ? "addClass" : "removeClass"; a(this)[c]("mbr-navbar--stuck").not(".mbr-navbar--open")[c]("mbr-navbar--short") }) }); a(document).on("add.cards change.cards", function (c) { a(c.target).outerFind(".mbr-hamburger:not(.mbr-added)").each(function () { a(this).addClass("mbr-added").click(function () { a(this).toggleClass("mbr-hamburger--open").parents(".mbr-navbar").toggleClass("mbr-navbar--open").removeClass("mbr-navbar--short") }).parents(".mbr-navbar").find("a:not(.mbr-hamburger)").click(function () { a(".mbr-hamburger--open").click() }) }) });
        a(window).smartresize(function () { 991 < a(window).width() && a(".mbr-navbar--auto-collapse .mbr-hamburger--open").click() }).keydown(function (c) { 27 == c.which && a(".mbr-hamburger--open").click() }); a.isMobile() && navigator.userAgent.match(/Chrome/i) ? function (c, g) { var b = [c, c]; b[g > c ? 0 : 1] = g; a(window).smartresize(function () { var c = a(window).height(); 0 > a.inArray(c, b) && (c = b[a(window).width() > c ? 1 : 0]); a(".mbr-section--full-height").css("height", c + "px") }) }(a(window).width(), a(window).height()) : n || (a(window).smartresize(function () {
            a(".mbr-section--full-height").css("height",
                a(window).height() + "px")
        }), a(document).on("add.cards", function (c) { a("html").hasClass("mbr-site-loaded") && a(c.target).outerFind(".mbr-section--full-height").length && a(window).resize() })); a(window).smartresize(function () { a(".mbr-section--16by9").each(e) }); a(document).on("add.cards change.cards", function (c) { var b = a(c.target).outerFind(".mbr-section--16by9"); b.length ? b.attr("data-16by9", "true").each(e) : a(c.target).outerFind("[data-16by9]").css("height", "").removeAttr("data-16by9") }); a.fn.jarallax && !a.isMobile() &&
            (a(document).on("destroy.parallax", function (c) { a(c.target).outerFind(".mbr-parallax-background").jarallax("destroy").css("position", "") }), a(document).on("add.cards change.cards", function (c) { a(c.target).outerFind(".mbr-parallax-background").jarallax().css("position", "relative") })); if (a.fn.socialLikes) a(document).on("add.cards", function (c) {
                a(c.target).outerFind(".mbr-social-likes:not(.mbr-added)").on("counter.social-likes", function (c, b, d) {
                999 < d && a(".social-likes__counter", c.target).html(Math.floor(d /
                    1E3) + "k")
                }).socialLikes({ initHtml: !1 })
            }); var b, d, k = 0, f = null, l = !a.isMobile(); a(window).scroll(function () { d && clearTimeout(d); var c = a(window).scrollTop(), b = c <= k || l; k = c; if (f) { var e = c > f.breakPoint; b ? e != f.fixed && (l ? (f.fixed = e, a(f.elm).toggleClass("is-fixed")) : d = setTimeout(function () { f.fixed = e; a(f.elm).toggleClass("is-fixed") }, 40)) : (f.fixed = !1, a(f.elm).removeClass("is-fixed")) } }); a(document).on("add.cards delete.cards", function (c) {
                b && clearTimeout(b); b = 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)
            }); var m = function () {
                var c = a(this), b = [], e = function (a) { return new google.maps.LatLng(a[0], a[1]) }, d = a.extend({ zoom: 14, type: "ROADMAP", center: null, markerIcon: null, showInfo: !0 }, eval("(" + (c.data("google-map-params") || "{}") + ")")); c.find(".mbr-google-map__marker").each(function () {
                    var c = a(this).data("coordinates"); c && b.push({
                        coord: c.split(/\s*,\s*/), icon: a(this).data("icon") ||
                            d.markerIcon, content: a(this).html(), template: a(this).html("{{content}}").removeAttr("data-coordinates data-icon")[0].outerHTML
                    })
                }).end().html("").addClass("mbr-google-map--loaded"); if (b.length) {
                    var h = this.Map = new google.maps.Map(this, { scrollwheel: !1, draggable: !a.isMobile(), zoom: d.zoom, mapTypeId: google.maps.MapTypeId[d.type], center: e(d.center || b[0].coord) }); a(window).smartresize(function () { var a = h.getCenter(); google.maps.event.trigger(h, "resize"); h.setCenter(a) }); h.Geocoder = new google.maps.Geocoder;
                    h.Markers = []; a.each(b, function (a, c) {
                        var b = new google.maps.Marker({ map: h, position: e(c.coord), icon: c.icon, animation: google.maps.Animation.DROP }), g = b.InfoWindow = new google.maps.InfoWindow; g._setContent = g.setContent; g.setContent = function (a) { return this._setContent(a ? c.template.replace("{{content}}", a) : "") }; g.setContent(c.content); google.maps.event.addListener(b, "click", function () { g.anchor && g.anchor.visible ? g.close() : g.getContent() && g.open(h, b) }); c.content && d.showInfo && google.maps.event.addListenerOnce(b,
                            "animation_changed", function () { setTimeout(function () { g.open(h, b) }, 350) }); h.Markers.push(b)
                    })
                }
            }; a(document).on("add.cards", function (c) { window.google && google.maps && a(c.target).outerFind(".mbr-google-map").each(function () { m.call(this) }) }); 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 (c) {
                a("html").hasClass("mbr-site-loaded") && a(c.target).outerFind("iframe").length &&
                a(window).resize()
            }); a(document).on("add.cards", function (c) {
                a(c.target).outerFind("[data-bg-video]").each(function () {
                    for (var c, b = a(this).data("bg-video"), d = [/\?v=([^&]+)/, /(?:embed|\.be)\/([-a-z0-9_]+)/i, /^([-a-z0-9_]+)$/i], e = 0; e < d.length; e++)if (c = d[e].exec(b)) {
                        var b = "http" + ("https:" == location.protocol ? "s" : "") + ":", b = b + ("//img.youtube.com/vi/" + c[1] + "/maxresdefault.jpg"), f = a('<div class="mbr-background-video-preview">').hide().css({ backgroundSize: "cover", backgroundPosition: "center" }); a(".container:eq(0)",
                            this).before(f); a("<img>").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", b); a.fn.YTPlayer && !a.isMobile() && (b = eval("(" + (a(this).data("bg-video-params") || "{}") + ")"), a(".container:eq(0)", this).before('<div class="mbr-background-video"></div>').prev().YTPlayer(a.extend({
                                videoURL: c[1],
                                containment: "self", showControls: !1, mute: !0
                            }, b))); 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 (c) {
                try {
                    var b = c.target; if (!a(b).parents().hasClass("mbr-gallery") || !a(b).parents().hasClass("carousel") && !a(b).parent().is("a")) {
                        do if (b.hash) {
                            var d = /#bottom|#top/g.test(b.hash); a(d ? "body" : b.hash).each(function () {
                                c.preventDefault(); var d = a(".mbr-navbar--sticky").length ?
                                    64 : 0, d = "#bottom" == b.hash ? a(this).height() - a(window).height() : a(this).offset().top - d; a("html, body").stop().animate({ scrollTop: d }, 800, "easeInOutCubic")
                            }); break
                        } while (b = b.parentNode)
                    }
                } catch (e) { }
            })
    }); a(document).on("change", 'input[type="range"]', function (e) { a(e.target).parents(".form-group").find(".value")[0].innerHTML = e.target.value })
})(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"; document.body.insertBefore(a, document.body.childNodes[0]) }
}();

