
/*! This file is auto-generated */
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):jQuery&&!jQuery.fn.hoverIntent&&e(jQuery)}(function(f){"use strict";function u(e){return"function"==typeof e}var i,r,v={interval:100,sensitivity:6,timeout:0},s=0,a=function(e){i=e.pageX,r=e.pageY},p=function(e,t,n,o){if(Math.sqrt((n.pX-i)*(n.pX-i)+(n.pY-r)*(n.pY-r))<o.sensitivity)return t.off(n.event,a),delete n.timeoutId,n.isActive=!0,e.pageX=i,e.pageY=r,delete n.pX,delete n.pY,o.over.apply(t[0],[e]);n.pX=i,n.pY=r,n.timeoutId=setTimeout(function(){p(e,t,n,o)},o.interval)};f.fn.hoverIntent=function(e,t,n){function o(e){var u=f.extend({},e),r=f(this),v=((t=r.data("hoverIntent"))||r.data("hoverIntent",t={}),t[i]),t=(v||(t[i]=v={id:i}),v.timeoutId&&(v.timeoutId=clearTimeout(v.timeoutId)),v.event="mousemove.hoverIntent.hoverIntent"+i);"mouseenter"===e.type?v.isActive||(v.pX=u.pageX,v.pY=u.pageY,r.off(t,a).on(t,a),v.timeoutId=setTimeout(function(){p(u,r,v,d)},d.interval)):v.isActive&&(r.off(t,a),v.timeoutId=setTimeout(function(){var e,t,n,o,i;e=u,t=r,n=v,o=d.out,(i=t.data("hoverIntent"))&&delete i[n.id],o.apply(t[0],[e])},d.timeout))}var i=s++,d=f.extend({},v);f.isPlainObject(e)?(d=f.extend(d,e),u(d.out)||(d.out=d.over)):d=u(t)?f.extend(d,{over:e,out:t,selector:n}):f.extend(d,{over:e,out:e,selector:t});return this.on({"mouseenter.hoverIntent":o,"mouseleave.hoverIntent":o},d.selector)}});



/*
 * jQuery Superfish Menu Plugin - v1.7.9
 * Copyright (c) 2016 Joel Birch
 * {WPHOOT modified}
 *
 * Dual licensed under the MIT and GPL licenses:
 *	http://www.opensource.org/licenses/mit-license.php
 *	http://www.gnu.org/licenses/gpl.html
 */

!function(e,s){"use strict";var n=function(){var n={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",menuArrowClass:"sf-arrows"},t=function(){var s=/^(?![\w\W]*Windows Phone)[\w\W]*(iPhone|iPad|iPod)/i.test(navigator.userAgent);return s&&e("html").css("cursor","pointer").on("click",e.noop),s}(),o=function(){var e=document.documentElement.style;return"behavior"in e&&"fill"in e&&/iemobile/i.test(navigator.userAgent)}(),i=function(){return!!s.PointerEvent}(),r=function(e,s,t){var o,i=n.menuClass;s.cssArrows&&(i+=" "+n.menuArrowClass),o=t?"addClass":"removeClass",e[o](i)},a=function(s,t){return s.find("li."+t.pathClass).slice(0,t.pathLevels).addClass(t.hoverClass+" "+n.bcClass).filter(function(){return e(this).children(t.popUpSelector).hide().show().length}).removeClass(t.pathClass)},l=function(e,s){var t=s?"addClass":"removeClass";e.children("a")[t](n.anchorClass)},h=function(e){var s=e.css("ms-touch-action"),n=e.css("touch-action");n=n||s,n="pan-y"===n?"auto":"pan-y",e.css({"ms-touch-action":n,"touch-action":n})},u=function(e){return e.closest("."+n.menuClass)},p=function(e){return u(e).data("sfOptions")},c=function(){var s=e(this),n=p(s);clearTimeout(n.sfTimer),s.siblings().superfish("hide").end().superfish("show")},f=function(s){s.retainPath=e.inArray(this[0],s.$path)>-1,this.superfish("hide"),this.parents("."+s.hoverClass).length||(s.onIdle.call(u(this)),s.$path.length&&e.proxy(c,s.$path)())},d=function(){var s=e(this),n=p(s);clearTimeout(n.sfTimer),n.sfTimer=setTimeout(e.proxy(f,s,n),n.delay)},v=function(s){var n=e(this),t=p(n),o=n.siblings(s.data.popUpSelector);return t.onHandleTouch.call(o)===!1?this:void(o.length>0&&o.is(":hidden")&&(n.one("click.superfish",!1),"MSPointerDown"===s.type||"pointerdown"===s.type?n.trigger("focus"):e.proxy(c,n.parent("li"))()))},m=function(s,n){var r="li:has("+n.popUpSelector+")";e.fn.hoverIntent&&!n.disableHI?s.hoverIntent(c,d,r):s.on("mouseenter.superfish",r,c).on("mouseleave.superfish",r,d);var a="MSPointerDown.superfish";i&&(a="pointerdown.superfish"),t||(a+=" touchend.superfish"),o&&(a+=" mousedown.superfish"),s.on("focusin.superfish","li",c).on("focusout.superfish","li",d).on(a,"a",n,v)};return{hide:function(s){if(this.length){var n=this,t=p(n);if(!t)return this;var o=t.retainPath===!0?t.$path:"",i=n.find("li."+t.hoverClass).add(this).not(o).removeClass(t.hoverClass).children(t.popUpSelector),r=t.speedOut;if(s&&(i.show(),r=0),t.retainPath=!1,t.onBeforeHide.call(i)===!1)return this;i.stop(!0,!0).animate(t.animationOut,r,function(){var s=e(this);t.onHide.call(s)})}return this},show:function(){var e=p(this);if(!e)return this;var s=this.addClass(e.hoverClass),n=s.children(e.popUpSelector);return e.onBeforeShow.call(n)===!1?this:(n.stop(!0,!0).animate(e.animation,e.speed,function(){e.onShow.call(n)}),this)},destroy:function(){return this.each(function(){var s,t=e(this),o=t.data("sfOptions");return o?(s=t.find(o.popUpSelector).parent("li"),clearTimeout(o.sfTimer),r(t,o),l(s),h(t),t.off(".superfish").off(".hoverIntent"),s.children(o.popUpSelector).attr("style",function(e,s){return s.replace(/display[^;]+;?/g,"")}),o.$path.removeClass(o.hoverClass+" "+n.bcClass).addClass(o.pathClass),t.find("."+o.hoverClass).removeClass(o.hoverClass),o.onDestroy.call(t),void t.removeData("sfOptions")):!1})},init:function(s){return this.each(function(){var t=e(this);if(t.data("sfOptions"))return!1;var o=e.extend({},e.fn.superfish.defaults,s),i=t.find(o.popUpSelector).parent("li");o.$path=a(t,o),t.data("sfOptions",o),r(t,o,!0),l(i,!0),h(t),m(t,o),i.not("."+n.bcClass).superfish("hide",!0),o.onInit.call(this)})}}}();e.fn.superfish=function(s,t){return n[s]?n[s].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof s&&s?e.error("Method "+s+" does not exist on jQuery.fn.superfish"):n.init.apply(this,arguments)},e.fn.superfish.defaults={popUpSelector:"ul,.sf-mega",hoverClass:"sfHover",pathClass:"overrideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},animationOut:{opacity:"hide"},speed:"normal",speedOut:"fast",cssArrows:!0,disableHI:!1,onInit:e.noop,onBeforeShow:e.noop,onShow:e.noop,onBeforeHide:e.noop,onHide:e.noop,onIdle:e.noop,onDestroy:e.noop,onHandleTouch:e.noop}}(jQuery,window);



/*global jQuery */
/*jshint browser:true */
/*!
* FitVids 1.1
*
* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
*
*/

;(function($){$.fn.fitVids=function(options){var settings={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var head=document.head||document.getElementsByTagName("head")[0];var css=".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}";var div=document.createElement("div");div.innerHTML='<p>x</p><style id="fit-vids-style">'+css+"</style>";head.appendChild(div.childNodes[1]);}if(options){$.extend(settings,options);}return this.each(function(){var selectors=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];if(settings.customSelector){selectors.push(settings.customSelector);}var ignoreList=".fitvidsignore";if(settings.ignore){ignoreList=ignoreList+", "+settings.ignore;}var $allVideos=$(this).find(selectors.join(","));$allVideos=$allVideos.not("object object");$allVideos=$allVideos.not(ignoreList);$allVideos.each(function(){var $this=$(this);if($this.parents(ignoreList).length>0){return;}if(this.tagName.toLowerCase()==="embed"&&$this.parent("object").length||$this.parent(".fluid-width-video-wrapper").length){return;}if((!$this.css("height")&&!$this.css("width"))&&(isNaN($this.attr("height"))||isNaN($this.attr("width")))){$this.attr("height",9);$this.attr("width",16);}var height=(this.tagName.toLowerCase()==="object"||($this.attr("height")&&!isNaN(parseInt($this.attr("height"),10))))?parseInt($this.attr("height"),10):$this.height(),width=!isNaN(parseInt($this.attr("width"),10))?parseInt($this.attr("width"),10):$this.width(),aspectRatio=height/width;if(!$this.attr("id")){var videoID="fitvid"+Math.floor(Math.random()*999999);$this.attr("id",videoID);}$this.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",(aspectRatio*100)+"%");$this.removeAttr("height").removeAttr("width");});});};})(window.jQuery||window.Zepto);



jQuery(document).ready(function(d){"use strict";var n,s,e,l,m,u;"undefined"!=typeof hootData&&void 0!==hootData.lightSlider&&"enable"!=hootData.lightSlider||void 0!==d.fn.lightSlider&&d(".lightSlider").each(function(e){var t=d(this),i={item:1,slideMove:1,slideMargin:0,mode:"slide",auto:!0,loop:!0,slideEndAnimatoin:!1,slideEndAnimation:!1,pause:5e3,adaptiveHeight:!0},a=t.data(),n=parseInt(a.responsiveitem)?parseInt(a.responsiveitem):2,o=parseInt(a.breakpoint)?parseInt(a.breakpoint):960,a={item:a.item,slideMove:a.slidemove,slideMargin:a.slidemargin,mode:a.mode,auto:a.auto,loop:a.loop,slideEndAnimatoin:a.slideendanimation,slideEndAnimation:a.slideendanimation,pause:a.pause,adaptiveHeight:a.adaptiveheight};d.extend(i,a),2<=i.item&&(i.responsive=[{breakpoint:o,settings:{item:n}}]),t.lightSlider(i)}),"undefined"!=typeof hootData&&void 0!==hootData.superfish&&"enable"!=hootData.superfish||void 0!==d.fn.superfish&&d(".sf-menu").superfish({delay:500,animation:{height:"show"},animationOut:{opacity:"hide"},speed:200,speedOut:"fast",disableHI:!1}),"undefined"!=typeof hootData&&void 0!==hootData.menuToggle&&"enable"!=hootData.menuToggle||(n=d("html"),d("#wpadminbar").length&&n.addClass("has-adminbar"),d(".menu-toggle").click(function(e){e.preventDefault();var t=d(this),i=t.parent(),a=t.siblings(".menu-items"),e=i.is(".mobilemenu-fixed");t.toggleClass("active"),e?(n.toggleClass("fixedmenu-open"),i.toggleClass("mobilemenu-open"),t.is(".active")?(a.show().css("left","-"+a.outerWidth()+"px").animate({left:0},300),t.animate({left:a.width()+"px"},300)):(a.animate({left:"-"+a.outerWidth()+"px"},300,function(){a.hide()}),t.animate({left:"0"},300))):a.css("left","auto").slideToggle()}),d("body").click(function(e){n.is(".fixedmenu-open")&&!d(e.target).is(".nav-menu *, .nav-menu")&&d(".menu-toggle.active").click()})),s=document,e=d(".nav-menu"),l=e.find("input, a, button"),m=e.children(".menu-toggle"),u=e.find(".menu-items > li > a"),s.addEventListener("keydown",function(e){var t,i,a,n,o,d;window.matchMedia("(max-width: 969px)").matches&&(t=s.activeElement,i=m[0],a=m.is(".active"),n=l[l.length-1],u[0],o=9===e.keyCode,d=e.shiftKey,o&&!d&&n===t&&(e.preventDefault(),i.focus()),o&&d&&i===t&&a&&(e.preventDefault(),u.focus()))}),"undefined"!=typeof hootData&&void 0!==hootData.fitVids&&"enable"!=hootData.fitVids||jQuery.fn.fitVids&&d("#content").fitVids()});


