Updated foundation template to 4.2.1

Manuite committed Jun 03, 2013
commit 3a74cf70e42c99604545a3f04c38f0126bb3342e
Showing 25 changed files with 3103 additions and 1166 deletions
generators/foundation/app/views/pages/index.liquid +3 -1
@@ @@ -23,7 +23,7 @@ published: true
<div class="row">
<div class="large-12 columns">
<h2>Welcome to Foundation</h2>
- <p>This is version 4.0.9.</p>
+ <p>This is version 4.2.1</p>
<hr />
</div>
</div>
@@ @@ -143,6 +143,8 @@ published: true
{{ 'foundation/foundation.topbar.js' | javascript_tag }}
+ {{ 'foundation/foundation.interchange.js' | javascript_tag }}
+
-->
<script>
generators/foundation/app/views/pages/index.liquid.haml +18 -16
@@ @@ -20,7 +20,7 @@ published: true
.row
.large-12.columns
%h2 Welcome to Foundation
- %p This is version 4.0.9.
+ %p This is version 4.2.1
%hr/
{% block 'main' %}
.row
@@ @@ -96,34 +96,36 @@ published: true
{{ 'foundation.min.js' | javascript_tag }}
- /
- {{ 'foundation/foundation.js' | javascript_tag }}
+
+ / {{ 'foundation/foundation.js' | javascript_tag }}
- {{ 'foundation/foundation.alerts.js' | javascript_tag }}
+ / {{ 'foundation/foundation.alerts.js' | javascript_tag }}
- {{ 'foundation/foundation.clearing.js' | javascript_tag }}
+ / {{ 'foundation/foundation.clearing.js' | javascript_tag }}
- {{ 'foundation/foundation.cookie.js' | javascript_tag }}
+ / {{ 'foundation/foundation.cookie.js' | javascript_tag }}
- {{ 'foundation/foundation.dropdown.js' | javascript_tag }}
+ / {{ 'foundation/foundation.dropdown.js' | javascript_tag }}
- {{ 'foundation/foundation.forms.js' | javascript_tag }}
+ / {{ 'foundation/foundation.forms.js' | javascript_tag }}
- {{ 'foundation/foundation.joyride.js' | javascript_tag }}
+ / {{ 'foundation/foundation.joyride.js' | javascript_tag }}
- {{ 'foundation/foundation.magellan.js' | javascript_tag }}
+ / {{ 'foundation/foundation.magellan.js' | javascript_tag }}
- {{ 'foundation/foundation.orbit.js' | javascript_tag }}
+ / {{ 'foundation/foundation.orbit.js' | javascript_tag }}
- {{ 'foundation/foundation.placeholder.js' | javascript_tag }}
+ / {{ 'foundation/foundation.placeholder.js' | javascript_tag }}
- {{ 'foundation/foundation.reveal.js' | javascript_tag }}
+ / {{ 'foundation/foundation.reveal.js' | javascript_tag }}
- {{ 'foundation/foundation.section.js' | javascript_tag }}
+ / {{ 'foundation/foundation.section.js' | javascript_tag }}
- {{ 'foundation/foundation.tooltips.js' | javascript_tag }}
+ / {{ 'foundation/foundation.tooltips.js' | javascript_tag }}
- {{ 'foundation/foundation.topbar.js' | javascript_tag }}
+ / {{ 'foundation/foundation.topbar.js' | javascript_tag }}
+
+ / {{ 'foundation/foundation.interchange.js' | javascript_tag }}
:javascript
$(document).foundation();
generators/foundation/public/javascripts/foundation.min.js +32 -14
@@ @@ -1,14 +1,32 @@
- /*
- * Foundation Responsive Library
- * http://foundation.zurb.com
- * Copyright 2013, ZURB
- * Free to use under the MIT license.
- * http://www.opensource.org/licenses/mit-license.php
- */
- /*jslint unparam: true, browser: true, indent: 2 */
- // Accommodate running jQuery or Zepto in noConflict() mode by
- // using an anonymous function to redefine the $ shorthand name.
- // See http://docs.jquery.com/Using_jQuery_with_Other_Libraries
- // and http://zeptojs.com/
- var libFuncName=null;if(typeof jQuery=="undefined"&&typeof Zepto=="undefined"&&typeof $=="function")libFuncName=$;else if(typeof jQuery=="function")libFuncName=jQuery;else{if(typeof Zepto!="function")throw new TypeError;libFuncName=Zepto}(function(e){(function(){Array.prototype.filter||(Array.prototype.filter=function(e){"use strict";if(this==null)throw new TypeError;var t=Object(this),n=t.length>>>0;if(typeof e!="function")try{throw new TypeError}catch(r){return}var i=[],s=arguments[1];for(var o=0;o<n;o++)if(o in t){var u=t[o];e&&e.call(s,u,o,t)&&i.push(u)}return i},Function.prototype.bind||(Function.prototype.bind=function(e){if(typeof this!="function")throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),n=this,r=function(){},i=function(){return n.apply(this instanceof r&&e?this:e,t.concat(Array.prototype.slice.call(arguments)))};return r.prototype=this.prototype,i.prototype=new r,i})),e.fn.stop=e.fn.stop||function(){return this}})(),function(t,n,r){"use strict";t.Foundation={name:"Foundation",version:"4.0.8",cache:{},init:function(e,t,n,r,i,s){var o,u=[e,n,r,i],a=[],s=s||!1;s&&(this.nc=s),this.scope=e||this.scope;if(t&&typeof t=="string"){if(/off/i.test(t))return this.off();o=t.split(" ");if(o.length>0)for(var f=o.length-1;f>=0;f--)a.push(this.init_lib(o[f],u))}else for(var l in this.libs)a.push(this.init_lib(l,u));return typeof t=="function"&&u.unshift(t),this.response_obj(a,u)},response_obj:function(e,t){for(var n in t)if(typeof t[n]=="function")return t[n]({errors:e.filter(function(e){if(typeof e=="string")return e})});return e},init_lib:function(e,t){return this.trap(function(){if(this.libs.hasOwnProperty(e))return this.patch(this.libs[e]),this.libs[e].init.apply(this.libs[e],t)}.bind(this),e)},trap:function(e,t){if(!this.nc)try{return e()}catch(n){return this.error({name:t,message:"could not be initialized",more:n.name+" "+n.message})}return e()},patch:function(e){this.fix_outer(e)},inherit:function(e,t){var n=t.split(" ");for(var r=n.length-1;r>=0;r--)this.lib_methods.hasOwnProperty(n[r])&&(this.libs[e.name][n[r]]=this.lib_methods[n[r]])},random_str:function(e){var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz".split("");e||(e=Math.floor(Math.random()*t.length));var n="";for(var r=0;r<e;r++)n+=t[Math.floor(Math.random()*t.length)];return n},libs:{},lib_methods:{set_data:function(e,t){var n=[this.name,+(new Date),Foundation.random_str(5)].join("-");return Foundation.cache[n]=t,e.attr("data-"+this.name+"-id",n),t},get_data:function(e){return Foundation.cache[e.attr("data-"+this.name+"-id")]},remove_data:function(t){t?(delete Foundation.cache[t.attr("data-"+this.name+"-id")],t.attr("data-"+this.name+"-id","")):e("[data-"+this.name+"-id]").each(function(){delete Foundation.cache[e(this).attr("data-"+this.name+"-id")],e(this).attr("data-"+this.name+"-id","")})},throttle:function(e,t){var n=null;return function(){var r=this,i=arguments;clearTimeout(n),n=setTimeout(function(){e.apply(r,i)},t)}},data_options:function(t){function u(e){return!isNaN(e-0)&&e!==null&&e!==""&&e!==!1&&e!==!0}function a(t){return typeof t=="string"?e.trim(t):t}var n={},r,i,s=(t.attr("data-options")||":").split(";"),o=s.length;for(r=o-1;r>=0;r--)i=s[r].split(":"),/true/i.test(i[1])&&(i[1]=!0),/false/i.test(i[1])&&(i[1]=!1),u(i[1])&&(i[1]=parseInt(i[1],10)),i.length===2&&i[0].length>0&&(n[a(i[0])]=a(i[1]));return n},delay:function(e,t){return setTimeout(e,t)},scrollTo:function(n,r,i){if(i<0)return;var s=r-e(t).scrollTop(),o=s/i*10;this.scrollToTimerCache=setTimeout(function(){isNaN(parseInt(o,10))||(t.scrollTo(0,e(t).scrollTop()+o),this.scrollTo(n,r,i-10))}.bind(this),10)},scrollLeft:function(e){if(!e.length)return;return"scrollLeft"in e[0]?e[0].scrollLeft:e[0].pageXOffset},empty:function(e){if(e.length&&e.length>0)return!1;if(e.length&&e.length===0)return!0;for(var t in e)if(hasOwnProperty.call(e,t))return!1;return!0}},fix_outer:function(e){e.outerHeight=function(e,t){return typeof Zepto=="function"?e.height():typeof t!="undefined"?e.outerHeight(t):e.outerHeight()},e.outerWidth=function(e){return typeof Zepto=="function"?e.width():typeof bool!="undefined"?e.outerWidth(bool):e.outerWidth()}},error:function(e){return e.name+" "+e.message+"; "+e.more},off:function(){return e(this.scope).off(".fndtn"),e(t).off(".fndtn"),!0},zj:function(){try{return Zepto}catch(e){return jQuery}}()},e.fn.foundation=function(){var e=Array.prototype.slice.call(arguments,0);return this.each(function(){return Foundation.init.apply(Foundation,[this].concat(e)),this})}}(this,this.document)})(libFuncName),function(e,t,n,r){"use strict";Foundation.libs.alerts={name:"alerts",version:"4.0.0",settings:{speed:300,callback:function(){}},init:function(t,n,r){return this.scope=t||this.scope,typeof n=="object"&&e.extend(!0,this.settings,n),typeof n!="string"?(this.settings.init||this.events(),this.settings.init):this[n].call(this,r)},events:function(){var t=this;e(this.scope).on("click.fndtn.alerts","[data-alert] a.close",function(n){n.preventDefault(),e(this).closest("[data-alert]").fadeOut(t.speed,function(){e(this).remove(),t.settings.callback()})}),this.settings.init=!0},off:function(){e(this.scope).off(".fndtn.alerts")}}}(Foundation.zj,this,this.document),function(e,t,n,r){"use strict";Foundation.libs.clearing={name:"clearing",version:"4.0.0",settings:{templates:{viewing:'<a href="#" class="clearing-close">&times;</a><div class="visible-img" style="display: none"><img src="//:0"><p class="clearing-caption"></p><a href="#" class="clearing-main-left"><span></span></a><a href="#" class="clearing-main-right"><span></span></a></div>'},close_selectors:".clearing-close",init:!1,locked:!1},init:function(t,n,r){return this.scope=this.scope||t,Foundation.inherit(this,"set_data get_data remove_data throttle"),typeof n=="object"&&(r=e.extend(!0,this.settings,n)),typeof n!="string"?(e(this.scope).find("ul[data-clearing]").each(function(){var t=Foundation.libs.clearing,n=e(this),r=r||{},i=t.get_data(n);i||(r.$parent=n.parent(),t.set_data(n,e.extend(!0,t.settings,r)),t.assemble(n.find("li")),t.settings.init||t.events().swipe_events())}),this.settings.init):this[n].call(this,r)},events:function(){var n=this;return e(this.scope).on("click.fndtn.clearing","ul[data-clearing] li",function(t,r,i){var r=r||e(this),i=i||r,s=n.get_data(r.parent());t.preventDefault(),s||n.init(),n.open(e(t.target),r,i),n.update_paddles(i)}).on("click.fndtn.clearing",".clearing-main-right",function(e){this.nav(e,"next")}.bind(this)).on("click.fndtn.clearing",".clearing-main-left",function(e){this.nav(e,"prev")}.bind(this)).on("click.fndtn.clearing",this.settings.close_selectors,function(e){Foundation.libs.clearing.close(e,this)}).on("keydown.fndtn.clearing",function(e){this.keydown(e)}.bind(this)),e(t).on("resize.fndtn.clearing",function(e){this.resize()}.bind(this)),this.settings.init=!0,this},swipe_events:function(){var t=this;e(this.scope).on("touchstart.fndtn.clearing",".visible-img",function(t){t.touches||(t=t.originalEvent);var n={start_page_x:t.touches[0].pageX,start_page_y:t.touches[0].pageY,start_time:(new Date).getTime(),delta_x:0,is_scrolling:r};e(this).data("swipe-transition",n),t.stopPropagation()}).on("touchmove.fndtn.clearing",".visible-img",function(n){n.touches||(n=n.originalEvent);if(n.touches.length>1||n.scale&&n.scale!==1)return;var r=e(this).data("swipe-transition");typeof r=="undefined"&&(r={}),r.delta_x=n.touches[0].pageX-r.start_page_x,typeof r.is_scrolling=="undefined"&&(r.is_scrolling=!!(r.is_scrolling||Math.abs(r.delta_x)<Math.abs(n.touches[0].pageY-r.start_page_y)));if(!r.is_scrolling&&!r.active){n.preventDefault();var i=r.delta_x<0?"next":"prev";r.active=!0,t.nav(n,i)}}).on("touchend.fndtn.clearing",".visible-img",function(t){e(this).data("swipe-transition",{}),t.stopPropagation()})},assemble:function(e){var t=e.parent(),n=this.get_data(t),r=t.detach(),i={grid:'<div class="carousel">'+this.outerHTML(r[0])+"</div>",viewing:n.templates.viewing},s='<div class="clearing-assembled"><div>'+i.viewing+i.grid+"</div></div>";return n.$parent.append(s)},open:function(e,t,n){var r=n.closest(".clearing-assembled"),i=r.find("div").first(),s=i.find(".visible-img"),o=s.find("img").not(e);this.locked()||(o.attr("src",this.load(e)),this.loaded(o,function(){r.addClass("clearing-blackout"),i.addClass("clearing-container"),s.show(),this.fix_height(n).caption(s.find(".clearing-caption"),e).center(o).shift(t,n,function(){n.siblings().removeClass("visible"),n.addClass("visible")})}.bind(this)))},close:function(t,n){t.preventDefault();var r=function(e){return/blackout/.test(e.selector)?e:e.closest(".clearing-blackout")}(e(n)),i,s;return n===t.target&&r&&(i=r.find("div").first(),s=i.find(".visible-img"),this.settings.prev_index=0,r.find("ul[data-clearing]").attr("style","").closest(".clearing-blackout").removeClass("clearing-blackout"),i.removeClass("clearing-container"),s.hide()),!1},keydown:function(t){var n=e(".clearing-blackout").find("ul[data-clearing]");t.which===39&&this.go(n,"next"),t.which===37&&this.go(n,"prev"),t.which===27&&e("a.clearing-close").trigger("click")},nav:function(t,n){var r=e(".clearing-blackout").find("ul[data-clearing]");t.preventDefault(),this.go(r,n)},resize:function(){var t=e(".clearing-blackout .visible-img").find("img");t.length&&this.center(t)},fix_height:function(t){var n=t.parent().children(),r=this;return n.each(function(){var t=e(this),n=t.find("img");t.height()>r.outerHeight(n)&&t.addClass("fix-height")}).closest("ul").width(n.length*100+"%"),this},update_paddles:function(e){var t=e.closest(".carousel").siblings(".visible-img");e.next().length?t.find(".clearing-main-right").removeClass("disabled"):t.find(".clearing-main-right").addClass("disabled"),e.prev().length?t.find(".clearing-main-left").removeClass("disabled"):t.find(".clearing-main-left").addClass("disabled")},center:function(e){return e.css({marginLeft:-(this.outerWidth(e)/2),marginTop:-(this.outerHeight(e)/2)}),this},load:function(e){var t=e.parent().attr("href");return this.preload(e),t?t:e.attr("src")},preload:function(e){this.img(e.closest("li").next()).img(e.closest("li").prev())},loaded:function(e,t){function n(){t()}function r(){this.one("load",n);if(/MSIE (\d+\.\d+);/.test(navigator.userAgent)){var e=this.attr("src"),t=e.match(/\?/)?"&":"?";t+="random="+(new Date).getTime(),this.attr("src",e+t)}}if(!e.attr("src")){n();return}this.complete||this.readyState===4?n():r.call(e)},img:function(e){if(e.length){var t=new Image,n=e.find("a");n.length?t.src=n.attr("href"):t.src=e.find("img").attr("src")}return this},caption:function(e,t){var n=t.data("caption");return n?e.text(n).show():e.text("").hide(),this},go:function(e,t){var n=e.find(".visible"),r=n[t]();r.length&&r.find("img").trigger("click",[n,r])},shift:function(e,t,n){var r=t.parent(),i=this.settings.prev_index||t.index(),s=this.direction(r,e,t),o=parseInt(r.css("left"),10),u=this.outerWidth(t),a;t.index()!==i&&!/skip/.test(s)?/left/.test(s)?(this.lock(),r.animate({left:o+u},300,this.unlock())):/right/.test(s)&&(this.lock(),r.animate({left:o-u},300,this.unlock())):/skip/.test(s)&&(a=t.index()-this.settings.up_count,this.lock(),a>0?r.animate({left:-(a*u)},300,this.unlock()):r.animate({left:0},300,this.unlock())),n()},direction:function(t,n,r){var i=t.find("li"),s=this.outerWidth(i)+this.outerWidth(i)/4,o=Math.floor(this.outerWidth(e(".clearing-container"))/s)-1,u=i.index(r),a;return this.settings.up_count=o,this.adjacent(this.settings.prev_index,u)?u>o&&u>this.settings.prev_index?a="right":u>o-1&&u<=this.settings.prev_index?a="left":a=!1:a="skip",this.settings.prev_index=u,a},adjacent:function(e,t){for(var n=t+1;n>=t-1;n--)if(n===e)return!0;return!1},lock:function(){this.settings.locked=!0},unlock:function(){this.settings.locked=!1},locked:function(){return this.settings.locked},outerHTML:function(e){return e.outerHTML||(new XMLSerializer).serializeToString(e)},off:function(){e(this.scope).off(".fndtn.clearing"),e(t).off(".fndtn.clearing"),this.remove_data(),this.settings.init=!1}}}(Foundation.zj,this,this.document),function(e,t,n){function i(e){return e}function s(e){return decodeURIComponent(e.replace(r," "))}var r=/\+/g,o=e.cookie=function(r,u,a){if(u!==n){a=e.extend({},o.defaults,a),u===null&&(a.expires=-1);if(typeof a.expires=="number"){var f=a.expires,l=a.expires=new Date;l.setDate(l.getDate()+f)}return u=o.json?JSON.stringify(u):String(u),t.cookie=[encodeURIComponent(r),"=",o.raw?u:encodeURIComponent(u),a.expires?"; expires="+a.expires.toUTCString():"",a.path?"; path="+a.path:"",a.domain?"; domain="+a.domain:"",a.secure?"; secure":""].join("")}var c=o.raw?i:s,h=t.cookie.split("; ");for(var p=0,d=h.length;p<d;p++){var v=h[p].split("=");if(c(v.shift())===r){var m=c(v.join("="));return o.json?JSON.parse(m):m}}return null};o.defaults={},e.removeCookie=function(t,n){return e.cookie(t)!==null?(e.cookie(t,null,n),!0):!1}}(Foundation.zj,document),function(e,t,n,r){"use strict";Foundation.libs.dropdown={name:"dropdown",version:"4.0.9",settings:{activeClass:"open"},init:function(t,n,r){return this.scope=t||this.scope,Foundation.inherit(this,"throttle"),typeof n=="object"&&e.extend(!0,this.settings,n),typeof n!="string"?(this.settings.init||this.events(),this.settings.init):this[n].call(this,r)},events:function(){var n=this;e(this.scope).on("click.fndtn.dropdown","[data-dropdown]",function(t){t.preventDefault(),t.stopPropagation(),n.toggle(e(this))}),e("*, html, body").on("click.fndtn.dropdown",function(t){e(t.target).data("dropdown")||e("[data-dropdown-content]").css("left","-99999px").removeClass(n.settings.activeClass)}),e(t).on("resize.fndtn.dropdown",n.throttle(function(){n.resize.call(n)},50)).trigger("resize"),this.settings.init=!0},toggle:function(t,n){var r=e("#"+t.data("dropdown"));e("[data-dropdown-content]").not(r).css("left","-99999px").removeClass(this.settings.activeClass),r.hasClass(this.settings.activeClass)?r.css("left","-99999px").removeClass(this.settings.activeClass):this.css(r.addClass(this.settings.activeClass),t)},resize:function(){var t=e("[data-dropdown-content].open"),n=e("[data-dropdown='"+t.attr("id")+"']");t.length&&n.length&&this.css(t,n)},css:function(n,r){if(n.parent()[0]===e("body")[0])var i=r.offset();else var i=r.position();if(this.small())n.css({position:"absolute",width:"95%",left:"2.5%","max-width":"none",top:i.top+this.outerHeight(r)});else{if(e(t).width()>this.outerWidth(n)+r.offset().left)var s=i.left;else{n.hasClass("right")||n.addClass("right");var s=i.left-(this.outerWidth(n)-this.outerWidth(r))}n.attr("style","").css({position:"absolute",top:i.top+this.outerHeight(r),left:s})}return n},small:function(){return e(t).width()<768||e("html").hasClass("lt-ie9")},off:function(){e(this.scope).off(".fndtn.dropdown"),e("html, body").off(".fndtn.dropdown"),e(t).off(".fndtn.dropdown"),e("[data-dropdown-content]").off(".fndtn.dropdown"),this.settings.init=!1}}}(Foundation.zj,this,this.document),function(e,t,n,r){"use strict";Foundation.libs.forms={name:"forms",version:"4.0.4",settings:{disable_class:"no-custom"},init:function(t,n,r){return this.scope=t||this.scope,typeof n=="object"&&e.extend(!0,this.settings,n),typeof n!="string"?(this.settings.init||this.events(),this.assemble(),this.settings.init):this[n].call(this,r)},assemble:function(){e('form.custom input[type="radio"]',e(this.scope)).not('[data-customforms="disabled"]').each(this.append_custom_markup),e('form.custom input[type="checkbox"]',e(this.scope)).not('[data-customforms="disabled"]').each(this.append_custom_markup),e("form.custom select",e(this.scope)).not('[data-customforms="disabled"]').each(this.append_custom_select)},events:function(){var t=this;e(this.scope).on("change.fndtn.forms",'form.custom select:not([data-customforms="disabled"])',function(n){t.refresh_custom_select(e(this))}).on("click.fndtn.forms","form.custom label",function(n){var r=e("#"+t.escape(e(this).attr("for"))+':not([data-customforms="disabled"])'),i,s;r.length!==0&&(r.attr("type")==="checkbox"?(n.preventDefault(),i=e(this).find("span.custom.checkbox"),i.length==0&&(i=e(this).next("span.custom.checkbox")),i.length==0&&(i=e(this).prev("span.custom.checkbox")),t.toggle_checkbox(i)):r.attr("type")==="radio"&&(n.preventDefault(),s=e(this).find("span.custom.radio"),s.length==0&&(s=e(this).next("span.custom.radio")),s.length==0&&(s=e(this).prev("span.custom.radio")),t.toggle_radio(s)))}).on("click.fndtn.forms","form.custom div.custom.dropdown a.current, form.custom div.custom.dropdown a.selector",function(n){var r=e(this),i=r.closest("div.custom.dropdown"),s=i.prev();i.hasClass("open")||e(t.scope).trigger("click"),n.preventDefault();if(!1===s.is(":disabled"))return i.toggleClass("open"),i.hasClass("open")?e(t.scope).on("click.fndtn.forms.customdropdown",function(){i.removeClass("open"),e(t.scope).off(".fndtn.forms.customdropdown")}):e(t.scope).on(".fndtn.forms.customdropdown"),!1}).on("click.fndtn.forms touchend.fndtn.forms","form.custom div.custom.dropdown li",function(t){var n=e(this),r=n.closest("div.custom.dropdown"),i=r.prev(),s=0;t.preventDefault(),t.stopPropagation();if(!e(this).hasClass("disabled")){e("div.dropdown").not(r).removeClass("open");var o=n.closest("ul").find("li.selected");o.removeClass("selected"),n.addClass("selected"),r.removeClass("open").find("a.current").html(n.html()),n.closest("ul").find("li").each(function(e){n[0]==this&&(s=e)}),i[0].selectedIndex=s,i.data("prevalue",o.html()),i.trigger("change")}}),this.settings.init=!0},append_custom_markup:function(t,n){var r=e(n).hide(),i=r.attr("type"),s=r.next("span.custom."+i);s.length===0&&(s=e('<span class="custom '+i+'"></span>').insertAfter(r)),s.toggleClass("checked",r.is(":checked")),s.toggleClass("disabled",r.is(":disabled"))},append_custom_select:function(t,n){var r=Foundation.libs.forms,i=e(n),s=i.next("div.custom.dropdown"),o=s.find("ul"),u=s.find(".current"),a=s.find(".selector"),f=i.find("option"),l=f.filter(":selected"),c=i.attr("class")?i.attr("class").split(" "):[],h=0,p="",d,v=!1;if(i.hasClass(r.settings.disable_class))return;if(s.length===0){var m=i.hasClass("small")?"small":i.hasClass("medium")?"medium":i.hasClass("large")?"large":i.hasClass("expand")?"expand":"";s=e('<div class="'+["custom","dropdown",m].concat(c).filter(function(e,t,n){return e==""?!1:n.indexOf(e)==t}).join(" ")+'"><a href="#" class="selector"></a><ul /></div>'),a=s.find(".selector"),o=s.find("ul"),p=f.map(function(){return"<li>"+e(this).html()+"</li>"}).get().join(""),o.append(p),v=s.prepend('<a href="#" class="current">'+l.html()+"</a>").find(".current"),i.after(s).hide()}else p=f.map(function(){return"<li>"+e(this).html()+"</li>"}).get().join(""),o.html("").append(p);s.toggleClass("disabled",i.is(":disabled")),d=o.find("li"),f.each(function(t){this.selected&&(d.eq(t).addClass("selected"),v&&v.html(e(this).html())),e(this).is(":disabled")&&d.eq(t).addClass("disabled")});if(!s.is(".small, .medium, .large, .expand")){s.addClass("open");var r=Foundation.libs.forms;r.hidden_fix.adjust(o),h=r.outerWidth(d)>h?r.outerWidth(d):h,Foundation.libs.forms.hidden_fix.reset(),s.removeClass("open")}},refresh_custom_select:function(t){var n=this,r=0,i=t.next(),s=t.find("option");i.find("ul").html(""),s.each(function(){var t=e("<li>"+e(this).html()+"</li>");i.find("ul").append(t)}),s.each(function(t){this.selected&&(i.find("li").eq(t).addClass("selected"),i.find(".current").html(e(this).html())),e(this).is(":disabled")&&i.find("li").eq(t).addClass("disabled")}),i.removeAttr("style").find("ul").removeAttr("style"),i.find("li").each(function(){i.addClass("open"),n.outerWidth(e(this))>r&&(r=n.outerWidth(e(this))),i.removeClass("open")})},toggle_checkbox:function(e){var t=e.prev(),n=t[0];!1===t.is(":disabled")&&(n.checked=n.checked?!1:!0,e.toggleClass("checked"),t.trigger("change"))},toggle_radio:function(e){var t=e.prev(),n=t.closest("form.custom"),r=t[0];!1===t.is(":disabled")&&(n.find('input[type="radio"][name="'+this.escape(t.attr("name"))+'"]').next().not(e).removeClass("checked"),e.hasClass("checked")||e.toggleClass("checked"),r.checked=e.hasClass("checked"),t.trigger("change"))},escape:function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},hidden_fix:{tmp:[],hidden:null,adjust:function(t){var n=this;n.hidden=t.parents().andSelf().filter(":hidden"),n.hidden.each(function(){var t=e(this);n.tmp.push(t.attr("style")),t.css({visibility:"hidden",display:"block"})})},reset:function(){var t=this;t.hidden.each(function(n){var i=e(this),s=t.tmp[n];s===r?i.removeAttr("style"):i.attr("style",s)}),t.tmp=[],t.hidden=null}},off:function(){e(this.scope).off(".fndtn.forms")}}}(Foundation.zj,this,this.document),function(e,t,n,r){"use strict";Foundation.libs.joyride={name:"joyride",version:"4.0.0",defaults:{tipLocation:"bottom",nubPosition:"auto",scrollSpeed:300,timer:0,startTimerOnClick:!0,startOffset:0,nextButton:!0,tipAnimation:"fade",pauseAfter:[],tipAnimationFadeSpeed:300,cookieMonster:!1,cookieName:"joyride",cookieDomain:!1,cookieExpires:365,tipContainer:"body",postRideCallback:function(){},postStepCallback:function(){},template:{link:'<a href="#close" class="joyride-close-tip">&times;</a>',timer:'<div class="joyride-timer-indicator-wrap"><span class="joyride-timer-indicator"></span></div>',tip:'<div class="joyride-tip-guide"><span class="joyride-nub"></span></div>',wrapper:'<div class="joyride-content-wrapper"></div>',button:'<a href="#" class="small button joyride-next-tip"></a>'}},settings:{},init:function(t,n,r){return this.scope=t||this.scope,Foundation.inherit(this,"throttle data_options scrollTo scrollLeft delay"),typeof n=="object"?e.extend(!0,this.settings,this.defaults,n):e.extend(!0,this.settings,this.defaults,r),typeof n!="string"?(this.settings.init||this.events(),this.settings.init):this[n].call(this,r)},events:function(){var n=this;e(this.scope).on("click.joyride",".joyride-next-tip, .joyride-modal-bg",function(e){e.preventDefault(),this.settings.$li.next().length<1?this.end():this.settings.timer>0?(clearTimeout(this.settings.automate),this.hide(),this.show(),this.startTimer()):(this.hide(),this.show())}.bind(this)).on("click.joyride",".joyride-close-tip",function(e){e.preventDefault(),this.end()}.bind(this)),e(t).on("resize.fndtn.joyride",n.throttle(function(){e("[data-joyride]").length>0&&n.settings.$next_tip&&(n.is_phone()?n.pos_phone():n.pos_default())},100)),this.settings.init=!0},start:function(){var t=this,n=e(this.scope).find("[data-joyride]"),r=["timer","scrollSpeed","startOffset","tipAnimationFadeSpeed","cookieExpires"],i=r.length;this.settings.init||this.init(),this.settings.$content_el=n,this.settings.body_offset=e(this.settings.tipContainer).position(),this.settings.$tip_content=this.settings.$content_el.find("> li"),this.settings.paused=!1,this.settings.attempts=0,this.settings.tipLocationPatterns={top:["bottom"],bottom:[],left:["right","top","bottom"],right:["left","top","bottom"]},typeof e.cookie!="function"&&(this.settings.cookieMonster=!1);if(!this.settings.cookieMonster||this.settings.cookieMonster&&e.cookie(this.settings.cookieName)===null)this.settings.$tip_content.each(function(n){var s=e(this);e.extend(!0,t.settings,t.data_options(s));for(var o=i-1;o>=0;o--)t.settings[r[o]]=parseInt(t.settings[r[o]],10);t.create({$li:s,index:n})}),!this.settings.startTimerOnClick&&this.settings.timer>0?(this.show("init"),this.startTimer()):this.show("init")},resume:function(){this.set_li(),this.show()},tip_template:function(t){var n,r;return t.tip_class=t.tip_class||"",n=e(this.settings.template.tip).addClass(t.tip_class),r=e.trim(e(t.li).html())+this.button_text(t.button_text)+this.settings.template.link+this.timer_instance(t.index),n.append(e(this.settings.template.wrapper)),n.first().attr("data-index",t.index),e(".joyride-content-wrapper",n).append(r),n[0]},timer_instance:function(t){var n;return t===0&&this.settings.startTimerOnClick&&this.settings.timer>0||this.settings.timer===0?n="":n=this.outerHTML(e(this.settings.template.timer)[0]),n},button_text:function(t){return this.settings.nextButton?(t=e.trim(t)||"Next",t=this.outerHTML(e(this.settings.template.button).append(t)[0])):t="",t},create:function(t){var n=t.$li.attr("data-button")||t.$li.attr("data-text"),r=t.$li.attr("class"),i=e(this.tip_template({tip_class:r,index:t.index,button_text:n,li:t.$li}));e(this.settings.tipContainer).append(i)},show:function(t){var n=null;this.settings.$li===r||e.inArray(this.settings.$li.index(),this.settings.pauseAfter)===-1?(this.settings.paused?this.settings.paused=!1:this.set_li(t),this.settings.attempts=0,this.settings.$li.length&&this.settings.$target.length>0?(this.settings.tipSettings=e.extend(this.settings,this.data_options(this.settings.$li)),this.settings.timer=parseInt(this.settings.timer,10),this.settings.tipSettings.tipLocationPattern=this.settings.tipLocationPatterns[this.settings.tipSettings.tipLocation],/body/i.test(this.settings.$target.selector)||this.scroll_to(),this.is_phone()?this.pos_phone(!0):this.pos_default(!0),n=this.settings.$next_tip.find(".joyride-timer-indicator"),/pop/i.test(this.settings.tipAnimation)?(n.width(0),thsi.settings.timer>0?(this.settings.$next_tip.show(),this.delay(function(){n.animate({width:n.parent().width()},this.settings.timer,"linear")}.bind(this),this.settings.tipAnimationFadeSpeed)):this.settings.$next_tip.show()):/fade/i.test(this.settings.tipAnimation)&&(n.width(0),this.settings.timer>0?(this.settings.$next_tip.fadeIn(this.settings.tipAnimationFadeSpeed).show(),this.delay(function(){n.animate({width:n.parent().width()},this.settings.timer,"linear")}.bind(this),this.settings.tipAnimationFadeSpeed)):this.settings.$next_tip.fadeIn(this.settings.tipAnimationFadeSpeed)),this.settings.$current_tip=this.settings.$next_tip):this.settings.$li&&this.settings.$target.length<1?this.show():this.end()):this.settings.paused=!0},is_phone:function(){return Modernizr?Modernizr.mq("only screen and (max-width: 767px)")||e(".lt-ie9").length>0:this.settings.$window.width()<767?!0:!1},hide:function(){this.settings.postStepCallback(this.settings.$li.index(),this.settings.$current_tip),e(".joyride-modal-bg").hide(),this.settings.$current_tip.hide()},set_li:function(e){e?(this.settings.$li=this.settings.$tip_content.eq(this.settings.startOffset),this.set_next_tip(),this.settings.$current_tip=this.settings.$next_tip):(this.settings.$li=this.settings.$li.next(),this.set_next_tip()),this.set_target()},set_next_tip:function(){this.settings.$next_tip=e(".joyride-tip-guide[data-index='"+this.settings.$li.index()+"']"),this.settings.$next_tip.data("closed","")},set_target:function(){var t=this.settings.$li.attr("data-class"),r=this.settings.$li.attr("data-id"),i=function(){return r?e(n.getElementById(r)):t?e("."+t).first():e("body")};this.settings.$target=i()},scroll_to:function(){var n,r;n=e(t).height()/2,r=Math.ceil(this.settings.$target.offset().top-n+this.outerHeight(this.settings.$next_tip)),r>0&&this.scrollTo(e("html, body"),r,this.settings.scrollSpeed)},paused:function(){return e.inArray(this.settings.$li.index()+1,this.settings.pauseAfter)===-1?!0:!1},restart:function(){this.hide(),this.settings.$li=r,this.show("init")},pos_default:function(n){var r=Math.ceil(e(t).height()/2),i=this.settings.$next_tip.offset(),s=this.settings.$next_tip.find(".joyride-nub"),o=Math.ceil(this.outerHeight(s)/2),u=n||!1;u&&(this.settings.$next_tip.css("visibility","hidden"),this.settings.$next_tip.show()),/body/i.test(this.settings.$target.selector)?this.settings.$li.length&&this.pos_modal(s):(this.bottom()?(this.settings.$next_tip.css({top:this.settings.$target.offset().top+o+this.outerHeight(this.settings.$target),left:this.settings.$target.offset().left}),this.nub_position(s,this.settings.tipSettings.nubPosition,"top")):this.top()?(this.settings.$next_tip.css({top:this.settings.$target.offset().top-this.outerHeight(this.settings.$next_tip)-o,left:this.settings.$target.offset().left}),this.nub_position(s,this.settings.tipSettings.nubPosition,"bottom")):this.right()?(this.settings.$next_tip.css({top:this.settings.$target.offset().top,left:this.outerWidth(this.settings.$target)+this.settings.$target.offset().left}),this.nub_position(s,this.settings.tipSettings.nubPosition,"left")):this.left()&&(this.settings.$next_tip.css({top:this.settings.$target.offset().top,left:this.settings.$target.offset().left-this.outerWidth(this.settings.$next_tip)-o}),this.nub_position(s,this.settings.tipSettings.nubPosition,"right")),!this.visible(this.corners(this.settings.$next_tip))&&this.settings.attempts<this.settings.tipSettings.tipLocationPattern.length&&(s.removeClass("bottom").removeClass("top").removeClass("right").removeClass("left"),this.settings.tipSettings.tipLocation=this.settings.tipSettings.tipLocationPattern[this.settings.attempts],this.settings.attempts++,this.pos_default(!0))),u&&(this.settings.$next_tip.hide(),this.settings.$next_tip.css("visibility","visible"))},pos_phone:function(t){var n=this.outerHeight(this.settings.$next_tip),r=this.settings.$next_tip.offset(),i=this.outerHeight(this.settings.$target),s=e(".joyride-nub",this.settings.$next_tip),o=Math.ceil(this.outerHeight(s)/2),u=t||!1;s.removeClass("bottom").removeClass("top").removeClass("right").removeClass("left"),u&&(this.settings.$next_tip.css("visibility","hidden"),this.settings.$next_tip.show()),/body/i.test(this.settings.$target.selector)?this.settings.$li.length&&this.pos_modal(s):this.top()?(this.settings.$next_tip.offset({top:this.settings.$target.offset().top-n-o}),s.addClass("bottom")):(this.settings.$next_tip.offset({top:this.settings.$target.offset().top+i+o}),s.addClass("top")),u&&(this.settings.$next_tip.hide(),this.settings.$next_tip.css("visibility","visible"))},pos_modal:function(t){this.center(),t.hide(),this.settings.$next_tip.data("closed")||(e(".joyride-modal-bg").length<1&&e("body").append('<div class="joyride-modal-bg">').show(),/pop/i.test(this.settings.tipAnimation)?e(".joyride-modal-bg").show():e(".joyride-modal-bg").fadeIn(this.settings.tipAnimationFadeSpeed))},center:function(){var n=e(t);return this.settings.$next_tip.css({top:(n.height()-this.outerHeight(this.settings.$next_tip))/2+n.scrollTop(),left:(n.width()-this.outerWidth(this.settings.$next_tip))/2+this.scrollLeft(n)}),!0},bottom:function(){return/bottom/i.test(this.settings.tipSettings.tipLocation)},top:function(){return/top/i.test(this.settings.tipSettings.tipLocation)},right:function(){return/right/i.test(this.settings.tipSettings.tipLocation)},left:function(){return/left/i.test(this.settings.tipSettings.tipLocation)},corners:function(n){var r=e(t),i=r.width()+this.scrollLeft(r),s=r.width()+r.scrollTop();return[n.offset().top<=r.scrollTop(),i<=n.offset().left+this.outerWidth(n),s<=n.offset().top+this.outerHeight(n),this.scrollLeft(r)>=n.offset().left]},visible:function(e){var t=e.length;while(t--)if(e[t])return!1;return!0},nub_position:function(e,t,n){t==="auto"?e.addClass(n):e.addClass(t)},startTimer:function(){this.settings.$li.length?this.settings.automate=setTimeout(function(){this.hide(),this.show(),this.startTimer()}.bind(this),this.settings.timer):clearTimeout(this.settings.automate)},end:function(){this.settings.cookieMonster&&e.cookie(this.settings.cookieName,"ridden",{expires:this.settings.cookieExpires,domain:this.settings.cookieDomain}),this.settings.timer>0&&clearTimeout(this.settings.automate),this.settings.$next_tip.data("closed",!0),e(".joyride-modal-bg").hide(),this.settings.$current_tip.hide(),this.settings.postStepCallback(this.settings.$li.index(),this.settings.$current_tip),this.settings.postRideCallback(this.settings.$li.index(),this.settings.$current_tip)},outerHTML:function(e){return e.outerHTML||(new XMLSerializer).serializeToString(e)},off:function(){e(this.scope).off(".joyride"),e(t).off(".joyride"),e(".joyride-close-tip, .joyride-next-tip, .joyride-modal-bg").off(".joyride"),e(".joyride-tip-guide, .joyride-modal-bg").remove(),clearTimeout(this.settings.automate),this.settings={}}}}(Foundation.zj,this,this.document),function(e,t,n,r){"use strict";Foundation.libs.magellan={name:"magellan",version:"4.0.0",settings:{activeClass:"active"},init:function(t,n,r){return this.scope=t||this.scope,Foundation.inherit(this,"data_options"),typeof n=="object"&&e.extend(!0,this.settings,n),typeof n!="string"?(this.settings.init||(this.fixed_magellan=
- e("[data-magellan-expedition]"),this.set_threshold(),this.last_destination=e("[data-magellan-destination]").last(),this.events()),this.settings.init):this[n].call(this,r)},events:function(){var n=this;e(this.scope).on("arrival.fndtn.magellan","[data-magellan-arrival]",function(t){var r=e(this),i=r.closest("[data-magellan-expedition]"),s=i.attr("data-magellan-active-class")||n.settings.activeClass;r.closest("[data-magellan-expedition]").find("[data-magellan-arrival]").not(r).removeClass(s),r.addClass(s)}),this.fixed_magellan.on("update-position.fndtn.magellan",function(){var t=e(this)}).trigger("update-position"),e(t).on("resize.fndtn.magellan",function(){this.fixed_magellan.trigger("update-position")}.bind(this)).on("scroll.fndtn.magellan",function(){var r=e(t).scrollTop();n.fixed_magellan.each(function(){var t=e(this);typeof t.data("magellan-top-offset")=="undefined"&&t.data("magellan-top-offset",t.offset().top),typeof t.data("magellan-fixed-position")=="undefined"&&t.data("magellan-fixed-position",!1);var i=r+n.settings.threshold>t.data("magellan-top-offset"),s=t.attr("data-magellan-top-offset");t.data("magellan-fixed-position")!=i&&(t.data("magellan-fixed-position",i),i?t.css({position:"fixed",top:0}):t.css({position:"",top:""}),i&&typeof s!="undefined"&&s!=0&&t.css({position:"fixed",top:s+"px"}))})}),this.last_destination.length>0&&e(t).on("scroll.fndtn.magellan",function(r){var i=e(t).scrollTop(),s=i+e(t).height(),o=Math.ceil(n.last_destination.offset().top);e("[data-magellan-destination]").each(function(){var t=e(this),r=t.attr("data-magellan-destination"),u=t.offset().top-i;u<=n.settings.threshold&&e("[data-magellan-arrival='"+r+"']").trigger("arrival"),s>=e(n.scope).height()&&o>i&&o<s&&e("[data-magellan-arrival]").last().trigger("arrival")})}),this.settings.init=!0},set_threshold:function(){this.settings.threshold||(this.settings.threshold=this.fixed_magellan.length>0?this.outerHeight(this.fixed_magellan,!0):0)},off:function(){e(this.scope).off(".fndtn.magellan")}}}(Foundation.zj,this,this.document),function(e,t,n,r){"use strict";Foundation.libs=Foundation.libs||{},Foundation.libs.orbit={name:"orbit",version:"4.0.0",settings:{timer_speed:1e4,animation_speed:500,bullets:!0,stack_on_small:!0,container_class:"orbit-container",stack_on_small_class:"orbit-stack-on-small",next_class:"orbit-next",prev_class:"orbit-prev",timer_container_class:"orbit-timer",timer_paused_class:"paused",timer_progress_class:"orbit-progress",slides_container_class:"orbit-slides-container",bullets_container_class:"orbit-bullets",bullets_active_class:"active",slide_number_class:"orbit-slide-number",caption_class:"orbit-caption",active_slide_class:"active",orbit_transition_class:"orbit-transitioning"},init:function(t,n,r){var i=this;Foundation.inherit(i,"data_options"),typeof n=="object"&&e.extend(!0,i.settings,n),e("[data-orbit]",t).each(function(t,n){var r=e.extend(!0,{},i);r._init(t,n)})},_container_html:function(){var e=this;return'<div class="'+e.settings.container_class+'"></div>'},_bullets_container_html:function(t){var n=this,r=e('<ol class="'+n.settings.bullets_container_class+'"></ol>');return t.each(function(t,i){var s=e('<li data-orbit-slide-number="'+(t+1)+'" class=""></li>');t===0&&s.addClass(n.settings.bullets_active_class),r.append(s)}),r},_slide_number_html:function(t,n){var r=this,i=e('<div class="'+r.settings.slide_number_class+'"></div>');return i.append("<span>"+t+"</span> of <span>"+n+"</span>"),i},_timer_html:function(){var e=this;return typeof e.settings.timer_speed=="number"&&e.settings.timer_speed>0?'<div class="'+e.settings.timer_container_class+'"><span></span><div class="'+e.settings.timer_progress_class+'"></div></div>':""},_next_html:function(){var e=this;return'<a href="#" class="'+e.settings.next_class+'">Next <span></span></a>'},_prev_html:function(){var e=this;return'<a href="#" class="'+e.settings.prev_class+'">Prev <span></span></a>'},_init:function(t,n){var r=this,i=e(n),s=i.wrap(r._container_html()).parent(),o=i.children();e.extend(!0,r.settings,r.data_options(i)),s.append(r._prev_html()),s.append(r._next_html()),i.addClass(r.settings.slides_container_class),r.settings.stack_on_small&&s.addClass(r.settings.stack_on_small_class),s.append(r._slide_number_html(1,o.length)),s.append(r._timer_html()),r.settings.bullets&&s.after(r._bullets_container_html(o)),i.append(o.first().clone().attr("data-orbit-slide","")),i.prepend(o.last().clone().attr("data-orbit-slide","")),i.css("marginLeft","-100%"),o.first().addClass(r.settings.active_slide_class),r._init_events(i),r._init_dimensions(i),r._start_timer(i)},_init_events:function(i){var s=this,o=i.parent();e(t).on("load.fndtn.orbit",function(){i.height(""),i.height(i.height(o.height())),i.trigger("orbit:ready")}).on("resize.fndtn.orbit",function(){i.height(""),i.height(i.height(o.height()))}),e(n).on("click.fndtn.orbit","[data-orbit-link]",function(t){t.preventDefault();var n=e(t.currentTarget).attr("data-orbit-link"),r=i.find("[data-orbit-slide="+n+"]").first();r.length===1&&(s._reset_timer(i,!0),s._goto(i,r.index(),function(){}))}),o.siblings("."+s.settings.bullets_container_class).on("click.fndtn.orbit","[data-orbit-slide-number]",function(t){t.preventDefault(),s._reset_timer(i,!0),s._goto(i,e(t.currentTarget).data("orbit-slide-number"),function(){})}),o.on("orbit:after-slide-change.fndtn.orbit",function(e,t){var n=o.find("."+s.settings.slide_number_class);n.length===1&&n.replaceWith(s._slide_number_html(t.slide_number,t.total_slides))}).on("orbit:next-slide.fndtn.orbit click.fndtn.orbit","."+s.settings.next_class,function(e){e.preventDefault(),s._reset_timer(i,!0),s._goto(i,"next",function(){})}).on("orbit:prev-slide.fndtn.orbit click.fndtn.orbit","."+s.settings.prev_class,function(e){e.preventDefault(),s._reset_timer(i,!0),s._goto(i,"prev",function(){})}).on("orbit:toggle-play-pause.fndtn.orbit click.fndtn.orbit touchstart.fndtn.orbit","."+s.settings.timer_container_class,function(t){t.preventDefault();var n=e(t.currentTarget).toggleClass(s.settings.timer_paused_class),r=n.closest("."+s.settings.container_class).find("."+s.settings.slides_container_class);n.hasClass(s.settings.timer_paused_class)?s._stop_timer(r):s._start_timer(r)}).on("touchstart.fndtn.orbit",function(e){e.touches||(e=e.originalEvent);var t={start_page_x:e.touches[0].pageX,start_page_y:e.touches[0].pageY,start_time:(new Date).getTime(),delta_x:0,is_scrolling:r};o.data("swipe-transition",t),e.stopPropagation()}).on("touchmove.fndtn.orbit",function(e){e.touches||(e=e.originalEvent);if(e.touches.length>1||e.scale&&e.scale!==1)return;var t=o.data("swipe-transition");typeof t=="undefined"&&(t={}),t.delta_x=e.touches[0].pageX-t.start_page_x,typeof t.is_scrolling=="undefined"&&(t.is_scrolling=!!(t.is_scrolling||Math.abs(t.delta_x)<Math.abs(e.touches[0].pageY-t.start_page_y)));if(!t.is_scrolling&&!t.active){e.preventDefault(),s._stop_timer(i);var n=t.delta_x<0?"next":"prev";t.active=!0,s._goto(i,n,function(){})}}).on("touchend.fndtn.orbit",function(e){o.data("swipe-transition",{}),e.stopPropagation()})},_init_dimensions:function(e){var t=e.parent(),n=e.children();e.css("width",n.length*100+"%"),n.css("width",100/n.length+"%"),e.height(t.height()),e.css("width",n.length*100+"%")},_start_timer:function(e){var t=this,n=e.parent(),r=function(){t._reset_timer(e,!1),t._goto(e,"next",function(){t._start_timer(e)})},i=n.find("."+t.settings.timer_container_class),s=i.find("."+t.settings.timer_progress_class),o=s.width()/i.width(),u=t.settings.timer_speed-o*t.settings.timer_speed;s.animate({width:"100%"},u,"linear",r),e.trigger("orbit:timer-started")},_stop_timer:function(e){var t=this,n=e.parent(),r=n.find("."+t.settings.timer_container_class),i=r.find("."+t.settings.timer_progress_class),s=i.width()/r.width();t._rebuild_timer(n,s*100+"%"),e.trigger("orbit:timer-stopped"),r=n.find("."+t.settings.timer_container_class),r.addClass(t.settings.timer_paused_class)},_reset_timer:function(e,t){var n=this,r=e.parent();n._rebuild_timer(r,"0%");if(typeof t=="boolean"&&t){var i=r.find("."+n.settings.timer_container_class);i.addClass(n.settings.timer_paused_class)}},_rebuild_timer:function(t,n){var r=this,i=t.find("."+r.settings.timer_container_class),s=e(r._timer_html()),o=s.find("."+r.settings.timer_progress_class);if(typeof Zepto=="function")i.remove(),t.append(s),o.css("width",n);else if(typeof jQuery=="function"){var u=i.find("."+r.settings.timer_progress_class);u.css("width",n),u.stop()}},_goto:function(t,n,r){var i=this,s=t.parent(),o=t.children(),u=t.find("."+i.settings.active_slide_class),a=u.index();if(s.hasClass(i.settings.orbit_transition_class))return!1;n==="prev"?a===0?a=o.length-1:a--:n==="next"?a=(a+1)%o.length:typeof n=="number"&&(a=n%o.length),a===o.length-1&&n==="next"?(t.css("marginLeft","0%"),a=1):a===0&&n==="prev"&&(t.css("marginLeft","-"+(o.length-1)*100+"%"),a=o.length-2),s.addClass(i.settings.orbit_transition_class),u.removeClass(i.settings.active_slide_class),e(o[a]).addClass(i.settings.active_slide_class);var f=s.siblings("."+i.settings.bullets_container_class);f.length===1&&(f.children().removeClass(i.settings.bullets_active_class),e(f.children()[a-1]).addClass(i.settings.bullets_active_class));var l="-"+a*100+"%";t.trigger("orbit:before-slide-change"),t.css("marginLeft")===l?(s.removeClass(i.settings.orbit_transition_class),t.trigger("orbit:after-slide-change",[{slide_number:a,total_slides:t.children().length-2}]),r()):t.animate({marginLeft:l},i.settings.animation_speed,"linear",function(){s.removeClass(i.settings.orbit_transition_class),t.trigger("orbit:after-slide-change",[{slide_number:a,total_slides:t.children().length-2}]),r()})}}}(Foundation.zj,this,this.document),function(e,t,n){function f(e){var t={},r=/^jQuery\d+$/;return n.each(e.attributes,function(e,n){n.specified&&!r.test(n.name)&&(t[n.name]=n.value)}),t}function l(e,r){var i=this,s=n(i);if(i.value==s.attr("placeholder")&&s.hasClass("placeholder"))if(s.data("placeholder-password")){s=s.hide().next().show().attr("id",s.removeAttr("id").data("placeholder-id"));if(e===!0)return s[0].value=r;s.focus()}else i.value="",s.removeClass("placeholder"),i==t.activeElement&&i.select()}function c(){var e,t=this,r=n(t),i=r,s=this.id;if(t.value==""){if(t.type=="password"){if(!r.data("placeholder-textinput")){try{e=r.clone().attr({type:"text"})}catch(o){e=n("<input>").attr(n.extend(f(this),{type:"text"}))}e.removeAttr("name").data({"placeholder-password":!0,"placeholder-id":s}).bind("focus.placeholder",l),r.data({"placeholder-textinput":e,"placeholder-id":s}).before(e)}r=r.removeAttr("id").hide().prev().attr("id",s).show()}r.addClass("placeholder"),r[0].value=r.attr("placeholder")}else r.removeClass("placeholder")}var r="placeholder"in t.createElement("input"),i="placeholder"in t.createElement("textarea"),s=n.fn,o=n.valHooks,u,a;r&&i?(a=s.placeholder=function(){return this},a.input=a.textarea=!0):(a=s.placeholder=function(){var e=this;return e.filter((r?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":l,"blur.placeholder":c}).data("placeholder-enabled",!0).trigger("blur.placeholder"),e},a.input=r,a.textarea=i,u={get:function(e){var t=n(e);return t.data("placeholder-enabled")&&t.hasClass("placeholder")?"":e.value},set:function(e,r){var i=n(e);return i.data("placeholder-enabled")?(r==""?(e.value=r,e!=t.activeElement&&c.call(e)):i.hasClass("placeholder")?l.call(e,!0,r)||(e.value=r):e.value=r,i):e.value=r}},r||(o.input=u),i||(o.textarea=u),n(function(){n(t).delegate("form","submit.placeholder",function(){var e=n(".placeholder",this).each(l);setTimeout(function(){e.each(c)},10)})}),n(e).bind("beforeunload.placeholder",function(){n(".placeholder").each(function(){this.value=""})}))}(this,document,Foundation.zj),function(e,t,n,r){"use strict";Foundation.libs.reveal={name:"reveal",version:"4.0.9",locked:!1,settings:{animation:"fadeAndPop",animationSpeed:250,closeOnBackgroundClick:!0,dismissModalClass:"close-reveal-modal",bgClass:"reveal-modal-bg",open:function(){},opened:function(){},close:function(){},closed:function(){},bg:e(".reveal-modal-bg"),css:{open:{opacity:0,visibility:"visible",display:"block"},close:{opacity:1,visibility:"hidden",display:"none"}}},init:function(t,n,r){return this.scope=t||this.scope,Foundation.inherit(this,"data_options delay"),typeof n=="object"&&e.extend(!0,this.settings,n),typeof n!="string"?(this.events(),this.settings.init):this[n].call(this,r)},events:function(){var t=this;return e(this.scope).off(".fndtn.reveal").on("click.fndtn.reveal","[data-reveal-id]",function(n){n.preventDefault(),t.locked||(t.locked=!0,t.open.call(t,e(this)))}).on("click.fndtn.reveal touchend.click.fndtn.reveal",this.close_targets(),function(n){n.preventDefault(),t.locked||(t.locked=!0,t.close.call(t,e(this).closest(".reveal-modal")))}).on("open.fndtn.reveal",".reveal-modal",this.settings.open).on("opened.fndtn.reveal",".reveal-modal",this.settings.opened).on("opened.fndtn.reveal",".reveal-modal",this.open_video).on("close.fndtn.reveal",".reveal-modal",this.settings.close).on("closed.fndtn.reveal",".reveal-modal",this.settings.closed).on("closed.fndtn.reveal",".reveal-modal",this.close_video),!0},open:function(t){if(t)var n=e("#"+t.data("reveal-id"));else var n=e(this.scope);if(!n.hasClass("open")){var r=e(".reveal-modal.open");typeof n.data("css-top")=="undefined"&&n.data("css-top",parseInt(n.css("top"),10)).data("offset",this.cache_offset(n)),n.trigger("open"),r.length<1&&this.toggle_bg(n),this.hide(r,this.settings.css.open),this.show(n,this.settings.css.open)}},close:function(t){var t=t||e(this.scope),n=e(".reveal-modal.open");n.length>0&&(this.locked=!0,t.trigger("close"),this.toggle_bg(t),this.hide(n,this.settings.css.close))},close_targets:function(){var e="."+this.settings.dismissModalClass;return this.settings.closeOnBackgroundClick?e+", ."+this.settings.bgClass:e},toggle_bg:function(t){e(".reveal-modal-bg").length===0&&(this.settings.bg=e("<div />",{"class":this.settings.bgClass}).insertAfter(t)),this.settings.bg.filter(":visible").length>0?this.hide(this.settings.bg):this.show(this.settings.bg)},show:function(n,r){if(r){if(/pop/i.test(this.settings.animation)){r.top=e(t).scrollTop()-n.data("offset")+"px";var i={top:e(t).scrollTop()+n.data("css-top")+"px",opacity:1};return this.delay(function(){return n.css(r).animate(i,this.settings.animationSpeed,"linear",function(){this.locked=!1,n.trigger("opened")}.bind(this)).addClass("open")}.bind(this),this.settings.animationSpeed/2)}if(/fade/i.test(this.settings.animation)){var i={opacity:1};return this.delay(function(){return n.css(r).animate(i,this.settings.animationSpeed,"linear",function(){this.locked=!1,n.trigger("opened")}.bind(this)).addClass("open")}.bind(this),this.settings.animationSpeed/2)}return n.css(r).show().css({opacity:1}).addClass("open").trigger("opened")}return/fade/i.test(this.settings.animation)?n.fadeIn(this.settings.animationSpeed/2):n.show()},hide:function(n,r){if(r){if(/pop/i.test(this.settings.animation)){var i={top:-e(t).scrollTop()-n.data("offset")+"px",opacity:0};return this.delay(function(){return n.animate(i,this.settings.animationSpeed,"linear",function(){this.locked=!1,n.css(r).trigger("closed")}.bind(this)).removeClass("open")}.bind(this),this.settings.animationSpeed/2)}if(/fade/i.test(this.settings.animation)){var i={opacity:0};return this.delay(function(){return n.animate(i,this.settings.animationSpeed,"linear",function(){this.locked=!1,n.css(r).trigger("closed")}.bind(this)).removeClass("open")}.bind(this),this.settings.animationSpeed/2)}return n.hide().css(r).removeClass("open").trigger("closed")}return/fade/i.test(this.settings.animation)?n.fadeOut(this.settings.animationSpeed/2):n.hide()},close_video:function(t){var n=e(this).find(".flex-video"),r=n.find("iframe");r.length>0&&(r.attr("data-src",r[0].src),r.attr("src","about:blank"),n.fadeOut(100).hide())},open_video:function(t){var n=e(this).find(".flex-video"),r=n.find("iframe");if(r.length>0){var i=r.attr("data-src");typeof i=="string"&&(r[0].src=r.attr("data-src")),n.show().fadeIn(100)}},cache_offset:function(e){var t=e.show().height()+parseInt(e.css("top"),10);return e.hide(),t},off:function(){e(this.scope).off(".fndtn.reveal")}}}(Foundation.zj,this,this.document),function(e,t,n,r){"use strict";Foundation.libs.section={name:"section",version:"4.0.9",settings:{deep_linking:!1,one_up:!0,callback:function(){}},init:function(e,t,n){var r=this;return this.scope=e||this.scope,Foundation.inherit(this,"throttle data_options"),typeof t!="string"?(this.set_active_from_hash(),this.events(),!0):this[t].call(this,n)},events:function(){var r=this;e(this.scope).on("click.fndtn.section","[data-section] .title",function(t){var n=e(this),i=n.closest("[data-section]");r.toggle_active.call(this,t,r)}),e(t).on("resize.fndtn.section",r.throttle(function(){r.resize.call(this)},30)).on("hashchange",function(){r.settings.toggled||(r.set_active_from_hash(),e(this).trigger("resize"))}).trigger("resize"),e(n).on("click.fndtn.section",function(t){e(t.target).closest(".title").length<1&&e('[data-section="vertical-nav"], [data-section="horizontal-nav"]').find("section, .section").removeClass("active").attr("style","")})},toggle_active:function(t,n){var r=e(this),i=r.closest("section, .section"),s=i.find(".content"),o=i.closest("[data-section]"),n=Foundation.libs.section,u=e.extend({},n.settings,n.data_options(o));n.settings.toggled=!0,!u.deep_linking&&s.length>0&&t.preventDefault();if(i.hasClass("active"))(n.small(o)||n.is_vertical(o)||n.is_horizontal(o)||n.is_accordion(o))&&i.removeClass("active").attr("style","");else{var a=null,f=n.outerHeight(i.find(".title"));if(n.small(o)||u.one_up)a=r.closest("[data-section]").find("section.active, .section.active"),n.small(o)?a.attr("style",""):a.attr("style","visibility: hidden; padding-top: "+f+"px;");n.small(o)?i.attr("style",""):i.css("padding-top",f),i.addClass("active"),a!==null&&a.removeClass("active").attr("style","")}setTimeout(function(){n.settings.toggled=!1},300),u.callback()},resize:function(){var t=e("[data-section]"),n=Foundation.libs.section;t.each(function(){var t=e(this),r=t.find("section.active, .section.active"),i=e.extend({},n.settings,n.data_options(t));if(r.length>1)r.not(":first").removeClass("active").attr("style","");else if(r.length<1&&!n.is_vertical(t)&&!n.is_horizontal(t)&&!n.is_accordion(t)){var s=t.find("section, .section").first();s.addClass("active"),n.small(t)?s.attr("style",""):s.css("padding-top",n.outerHeight(s.find(".title")))}n.small(t)?r.attr("style",""):r.css("padding-top",n.outerHeight(r.find(".title"))),n.position_titles(t),n.is_horizontal(t)&&!n.small(t)?n.position_content(t):n.position_content(t,!1)})},is_vertical:function(e){return/vertical-nav/i.test(e.data("section"))},is_horizontal:function(e){return/horizontal-nav/i.test(e.data("section"))},is_accordion:function(e){return/accordion/i.test(e.data("section"))},is_tabs:function(e){return/tabs/i.test(e.data("section"))},set_active_from_hash:function(){var n=t.location.hash.substring(1),r=e("[data-section]"),i=this;r.each(function(){var t=e(this),r=e.extend({},i.settings,i.data_options(t));n.length>0&&r.deep_linking&&(t.find("section, .section").attr("style","").removeClass("active"),t.find('.content[data-slug="'+n+'"]').closest("section, .section").addClass("active"))})},position_titles:function(t,n){var r=t.find(".title"),i=0,s=this;typeof n=="boolean"?r.attr("style",""):r.each(function(){e(this).css("left",i),i+=s.outerWidth(e(this))})},position_content:function(t,n){var r=t.find(".title"),i=t.find(".content"),s=this;typeof n=="boolean"?(i.attr("style",""),t.attr("style","")):(t.find("section, .section").each(function(){var t=e(this).find(".title"),n=e(this).find(".content");n.css({left:t.position().left-1,top:s.outerHeight(t)-2})}),typeof Zepto=="function"?t.height(this.outerHeight(r.first())):t.height(this.outerHeight(r.first())-2))},small:function(t){var n=e.extend({},this.settings,this.data_options(t));return this.is_tabs(t)?!1:t&&this.is_accordion(t)?!0:e("html").hasClass("lt-ie9")?!0:e("html").hasClass("ie8compat")?!0:e(this.scope).width()<768},off:function(){e(this.scope).off(".fndtn.section"),e(t).off(".fndtn.section"),e(n).off(".fndtn.section")}}}(Foundation.zj,this,this.document),function(e,t,n,r){"use strict";Foundation.libs.tooltips={name:"tooltips",version:"4.0.2",settings:{selector:".has-tip",additionalInheritableClasses:[],tooltipClass:".tooltip",tipTemplate:function(e,t){return'<span data-selector="'+e+'" class="'+Foundation.libs.tooltips.settings.tooltipClass.substring(1)+'">'+t+'<span class="nub"></span></span>'}},cache:{},init:function(t,n,r){var i=this;this.scope=t||this.scope,typeof n=="object"&&e.extend(!0,this.settings,n);if(typeof n=="string")return this[n].call(this,r);Modernizr.touch?e(this.scope).on("click.fndtn.tooltip touchstart.fndtn.tooltip touchend.fndtn.tooltip","[data-tooltip]",function(t){t.preventDefault(),e(i.settings.tooltipClass).hide(),i.showOrCreateTip(e(this))}).on("click.fndtn.tooltip touchstart.fndtn.tooltip touchend.fndtn.tooltip",this.settings.tooltipClass,function(t){t.preventDefault(),e(this).fadeOut(150)}):e(this.scope).on("mouseenter.fndtn.tooltip mouseleave.fndtn.tooltip","[data-tooltip]",function(t){var n=e(this);t.type==="mouseover"||t.type==="mouseenter"?i.showOrCreateTip(n):(t.type==="mouseout"||t.type==="mouseleave")&&i.hide(n)})},showOrCreateTip:function(e){var t=this.getTip(e);return t&&t.length>0?this.show(e):this.create(e)},getTip:function(t){var n=this.selector(t),r=null;return n&&(r=e("span[data-selector="+n+"]"+this.settings.tooltipClass)),typeof r=="object"?r:!1},selector:function(e){var t=e.attr("id"),n=e.attr("data-tooltip")||e.attr("data-selector");return(t&&t.length<1||!t)&&typeof n!="string"&&(n="tooltip"+Math.random().toString(36).substring(7),e.attr("data-selector",n)),t&&t.length>0?t:n},create:function(t){var n=e(this.settings.tipTemplate(this.selector(t),e("<div>").html(t.attr("title")).html())),r=this.inheritable_classes(t);n.addClass(r).appendTo("body"),Modernizr.touch&&n.append('<span class="tap-to-close">tap to close </span>'),t.removeAttr("title").attr("title",""),this.show(t)},reposition:function(n,r,i){var s,o,u,a,f,l;r.css("visibility","hidden").show(),s=n.data("width"),o=r.children(".nub"),u=this.outerHeight(o),a=this.outerHeight(o),l=function(e,t,n,r,i,s){return e.css({top:t?t:"auto",bottom:r?r:"auto",left:i?i:"auto",right:n?n:"auto",width:s?s:"auto"}).end()},l(r,n.offset().top+this.outerHeight(n)+10,"auto","auto",n.offset().left,s),e(t).width()<767?(l(r,n.offset().top+this.outerHeight(n)+10,"auto","auto",12.5,e(this.scope).width()),r.addClass("tip-override"),l(o,-u,"auto","auto",n.offset().left)):(l(r,n.offset().top+this.outerHeight(n)+10,"auto","auto",n.offset().left,s),r.removeClass("tip-override"),i&&i.indexOf("tip-top")>-1?l(r,n.offset().top-this.outerHeight(r),"auto","auto",n.offset().left,s).removeClass("tip-override"):i&&i.indexOf("tip-left")>-1?l(r,n.offset().top+this.outerHeight(n)/2-u*2.5,"auto","auto",n.offset().left-this.outerWidth(r)-u,s).removeClass("tip-override"):i&&i.indexOf("tip-right")>-1&&l(r,n.offset().top+this.outerHeight(n)/2-u*2.5,"auto","auto",n.offset().left+this.outerWidth(n)+u,s).removeClass("tip-override")),r.css("visibility","visible").hide()},inheritable_classes:function(t){var n=["tip-top","tip-left","tip-bottom","tip-right","noradius"].concat(this.settings.additionalInheritableClasses),r=t.attr("class"),i=r?e.map(r.split(" "),function(t,r){if(e.inArray(t,n)!==-1)return t}).join(" "):"";return e.trim(i)},show:function(e){var t=this.getTip(e);this.reposition(e,t,e.attr("class")),t.fadeIn(150)},hide:function(e){var t=this.getTip(e);t.fadeOut(150)},reload:function(){var t=e(this);return t.data("fndtn-tooltips")?t.foundationTooltips("destroy").foundationTooltips("init"):t.foundationTooltips("init")},off:function(){e(this.scope).off(".fndtn.tooltip"),e(this.settings.tooltipClass).each(function(t){e("[data-tooltip]").get(t).attr("title",e(this).text())}).remove()}}}(Foundation.zj,this,this.document),function(e,t,n,r){"use strict";Foundation.libs.topbar={name:"topbar",version:"4.0.0",settings:{index:0,stickyClass:"sticky",custom_back_text:!0,back_text:"Back",init:!1},init:function(n,r,i){var s=this;return this.scope=n||this.scope,typeof r=="object"&&e.extend(!0,this.settings,r),typeof r!="string"?(e(".top-bar").each(function(){s.settings.$w=e(t),s.settings.$topbar=e(this),s.settings.$section=s.settings.$topbar.find("section"),s.settings.$titlebar=s.settings.$topbar.children("ul").first(),s.settings.$topbar.data("index",0);var n=e("<div class='top-bar-js-breakpoint'/>").insertAfter(s.settings.$topbar);s.settings.breakPoint=n.width(),n.remove(),s.assemble(),s.settings.$topbar.parent().hasClass("fixed")&&e("body").css("padding-top",s.outerHeight(s.settings.$topbar))}),s.settings.init||this.events(),this.settings.init):this[r].call(this,i)},events:function(){var n=this,r=this.outerHeight(e(".top-bar"));e(this.scope).on("click.fndtn.topbar",".top-bar .toggle-topbar",function(i){var s=e(this).closest(".top-bar"),o=s.find("section, .section"),u=s.children("ul").first();s.data("height")||n.largestUL(),i.preventDefault(),n.breakpoint()&&s.toggleClass("expanded").css("min-height",""),s.hasClass("expanded")||(o.css({left:"0%"}),o.find(">.name").css({left:"100%"}),o.find("li.moved").removeClass("moved"),s.data("index",0)),s.parent().hasClass("fixed")?(s.parent().removeClass("fixed"),e("body").css("padding-top","0"),t.scrollTo(0)):s.hasClass("fixed expanded")&&(s.parent().addClass("fixed"),e("body").css("padding-top",r))}).on("click.fndtn.topbar",".top-bar .has-dropdown>a",function(t){var r=e(this).closest(".top-bar"),i=r.find("section, .section"),s=r.children("ul").first();(Modernizr.touch||n.breakpoint())&&t.preventDefault();if(n.breakpoint()){var o=e(this),u=o.closest("li");r.data("index",r.data("index")+1),u.addClass("moved"),i.css({left:-(100*r.data("index"))+"%"}),i.find(">.name").css({left:100*r.data("index")+"%"}),o.siblings("ul").height(r.data("height")+n.outerHeight(s,!0)),r.css("min-height",r.data("height")+n.outerHeight(s,!0)*2)}}),e(t).on("resize.fndtn.topbar",function(){this.breakpoint()||e(".top-bar").css("min-height","")}.bind(this)),e(this.scope).on("click.fndtn",".top-bar .has-dropdown .back",function(t){t.preventDefault();var n=e(this),r=n.closest(".top-bar"),i=r.find("section, .section"),s=n.closest("li.moved"),o=s.parent();r.data("index",r.data("index")-1),i.css({left:-(100*r.data("index"))+"%"}),i.find(">.name").css({left:100*r.data("index")+"%"}),r.data("index")===0&&r.css("min-height",0),setTimeout(function(){s.removeClass("moved")},300)})},breakpoint:function(){return e(t).width()<=this.settings.breakPoint||e("html").hasClass("lt-ie9")},assemble:function(){var t=this;this.settings.$section.detach(),this.settings.$section.find(".has-dropdown>a").each(function(){var n=e(this),r=n.siblings(".dropdown"),i=e('<li class="title back js-generated"><h5><a href="#"></a></h5></li>');t.settings.custom_back_text==1?i.find("h5>a").html("&laquo; "+t.settings.back_text):i.find("h5>a").html("&laquo; "+n.html()),r.prepend(i)}),this.settings.$section.appendTo(this.settings.$topbar),this.sticky()},largestUL:function(){var t=this.settings.$topbar.find("section ul ul"),n=t.first(),r=0,i=this;t.each(function(){e(this).children("li").length>n.children("li").length&&(n=e(this))}),n.children("li").each(function(){r+=i.outerHeight(e(this),!0)}),this.settings.$topbar.data("height",r)},sticky:function(){var n="."+this.settings.stickyClass;if(e(n).length>0){var r=e(n).length?e(n).offset().top:0,i=e(t),s=this.outerHeight(e(".top-bar"));i.scroll(function(){i.scrollTop()>=r?(e(n).addClass("fixed"),e("body").css("padding-top",s)):i.scrollTop()<r&&(e(n).removeClass("fixed"),e("body").css("padding-top","0"))})}},off:function(){e(this.scope).off(".fndtn.topbar"),e(t).off(".fndtn.topbar")}}}(Foundation.zj,this,this.document);
+ var libFuncName=null;if(typeof jQuery==="undefined"&&typeof Zepto==="undefined"&&typeof $==="function"){libFuncName=$;}else{if(typeof jQuery==="function"){libFuncName=jQuery;
+ }else{if(typeof Zepto==="function"){libFuncName=Zepto;}else{throw new TypeError();}}}(function(c,b,a,d){b.matchMedia=b.matchMedia||(function(i,j){var g,e=i.documentElement,f=e.firstElementChild||e.firstChild,h=i.createElement("body"),k=i.createElement("div");
+ k.id="mq-test-1";k.style.cssText="position:absolute;top:-100em";h.style.background="none";h.appendChild(k);return function(l){k.innerHTML='&shy;<style media="'+l+'"> #mq-test-1 { width: 42px; }</style>';
+ e.insertBefore(h,f);g=k.offsetWidth===42;e.removeChild(h);return{matches:g,media:l};};}(a));if(!Array.prototype.filter){Array.prototype.filter=function(f){if(this==null){throw new TypeError();
+ }var k=Object(this),e=k.length>>>0;if(typeof f!="function"){return;}var j=[],h=arguments[1];for(var g=0;g<e;g++){if(g in k){var l=k[g];if(f&&f.call(h,l,g,k)){j.push(l);
+ }}}return j;};}if(!Function.prototype.bind){Function.prototype.bind=function(e){if(typeof this!=="function"){throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");
+ }var i=Array.prototype.slice.call(arguments,1),h=this,f=function(){},g=function(){return h.apply(this instanceof f&&e?this:e,i.concat(Array.prototype.slice.call(arguments)));
+ };f.prototype=this.prototype;g.prototype=new f();return g;};}if(!Array.prototype.indexOf){Array.prototype.indexOf=function(g){if(this==null){throw new TypeError();
+ }var h=Object(this);var e=h.length>>>0;if(e===0){return -1;}var i=0;if(arguments.length>1){i=Number(arguments[1]);if(i!=i){i=0;}else{if(i!=0&&i!=Infinity&&i!=-Infinity){i=(i>0||-1)*Math.floor(Math.abs(i));
+ }}}if(i>=e){return -1;}var f=i>=0?i:Math.max(e-Math.abs(i),0);for(;f<e;f++){if(f in h&&h[f]===g){return f;}}return -1;};}c.fn.stop=c.fn.stop||function(){return this;
+ };b.Foundation={name:"Foundation",version:"4.2.0",cache:{},init:function(o,l,e,p,f,h){var j,m=[o,e,p,f],k=[],h=h||false;if(h){this.nc=h;}this.rtl=/rtl/i.test(c("html").attr("dir"));
+ this.scope=o||this.scope;if(l&&typeof l==="string"&&!/reflow/i.test(l)){if(/off/i.test(l)){return this.off();}j=l.split(" ");if(j.length>0){for(var g=j.length-1;
+ g>=0;g--){k.push(this.init_lib(j[g],m));}}}else{if(/reflow/i.test(l)){m[1]="reflow";}for(var n in this.libs){k.push(this.init_lib(n,m));}}if(typeof l==="function"){m.unshift(l);
+ }return this.response_obj(k,m);},response_obj:function(f,g){for(var h=0,e=g.length;h<e;h++){if(typeof g[h]==="function"){return g[h]({errors:f.filter(function(i){if(typeof i==="string"){return i;
+ }})});}}return f;},init_lib:function(f,e){return this.trap(function(){if(this.libs.hasOwnProperty(f)){this.patch(this.libs[f]);return this.libs[f].init.apply(this.libs[f],e);
+ }else{return function(){};}}.bind(this),f);},trap:function(f,h){if(!this.nc){try{return f();}catch(g){return this.error({name:h,message:"could not be initialized",more:g.name+" "+g.message});
+ }}return f();},patch:function(e){this.fix_outer(e);e.scope=this.scope;e.rtl=this.rtl;},inherit:function(h,f){var e=f.split(" ");for(var g=e.length-1;g>=0;
+ g--){if(this.lib_methods.hasOwnProperty(e[g])){this.libs[h.name][e[g]]=this.lib_methods[e[g]];}}},random_str:function(g){var f="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz".split("");
+ if(!g){g=Math.floor(Math.random()*f.length);}var h="";for(var e=0;e<g;e++){h+=f[Math.floor(Math.random()*f.length)];}return h;},libs:{},lib_methods:{set_data:function(e,f){var g=[this.name,+new Date(),Foundation.random_str(5)].join("-");
+ Foundation.cache[g]=f;e.attr("data-"+this.name+"-id",g);return f;},get_data:function(e){return Foundation.cache[e.attr("data-"+this.name+"-id")];},remove_data:function(e){if(e){delete Foundation.cache[e.attr("data-"+this.name+"-id")];
+ e.attr("data-"+this.name+"-id","");}else{c("[data-"+this.name+"-id]").each(function(){delete Foundation.cache[c(this).attr("data-"+this.name+"-id")];c(this).attr("data-"+this.name+"-id","");
+ });}},throttle:function(e,f){var g=null;return function(){var i=this,h=arguments;clearTimeout(g);g=setTimeout(function(){e.apply(i,h);},f);};},data_options:function(j){var k={},i,l,h=(j.attr("data-options")||":").split(";"),g=h.length;
+ function f(m){return !isNaN(m-0)&&m!==null&&m!==""&&m!==false&&m!==true;}function e(m){if(typeof m==="string"){return c.trim(m);}return m;}for(i=g-1;i>=0;
+ i--){l=h[i].split(":");if(/true/i.test(l[1])){l[1]=true;}if(/false/i.test(l[1])){l[1]=false;}if(f(l[1])){l[1]=parseInt(l[1],10);}if(l.length===2&&l[0].length>0){k[e(l[0])]=e(l[1]);
+ }}return k;},delay:function(e,f){return setTimeout(e,f);},scrollTo:function(f,i,g){if(g<0){return;}var h=i-c(b).scrollTop();var e=h/g*10;this.scrollToTimerCache=setTimeout(function(){if(!isNaN(parseInt(e,10))){b.scrollTo(0,c(b).scrollTop()+e);
+ this.scrollTo(f,i,g-10);}}.bind(this),10);},scrollLeft:function(e){if(!e.length){return;}return("scrollLeft" in e[0])?e[0].scrollLeft:e[0].pageXOffset;
+ },empty:function(f){if(f.length&&f.length>0){return false;}if(f.length&&f.length===0){return true;}for(var e in f){if(hasOwnProperty.call(f,e)){return false;
+ }}return true;}},fix_outer:function(e){e.outerHeight=function(g,f){if(typeof Zepto==="function"){return g.height();}if(typeof f!=="undefined"){return g.outerHeight(f);
+ }return g.outerHeight();};e.outerWidth=function(f){if(typeof Zepto==="function"){return f.width();}if(typeof bool!=="undefined"){return f.outerWidth(bool);
+ }return f.outerWidth();};},error:function(e){return e.name+" "+e.message+"; "+e.more;},off:function(){c(this.scope).off(".fndtn");c(b).off(".fndtn");return true;
+ },zj:function(){if(typeof Zepto!=="undefined"){return Zepto;}else{return jQuery;}}()};c.fn.foundation=function(){var e=Array.prototype.slice.call(arguments,0);
+ return this.each(function(){Foundation.init.apply(Foundation,[this].concat(e));return this;});};}(libFuncName,this,this.document));
\ No newline at end of file
generators/foundation/public/javascripts/foundation/foundation.alerts.js +4 -2
@@ @@ -45,6 +45,8 @@
off : function () {
$(this.scope).off('.fndtn.alerts');
- }
+ },
+
+ reflow : function () {}
};
- }(Foundation.zj, this, this.document));
+ }(Foundation.zj, this, this.document));
\ No newline at end of file
generators/foundation/public/javascripts/foundation/foundation.clearing.js +67 -31
@@ @@ -6,14 +6,14 @@
Foundation.libs.clearing = {
name : 'clearing',
- version : '4.0.0',
+ version : '4.1.3',
settings : {
templates : {
viewing : '<a href="#" class="clearing-close">&times;</a>' +
'<div class="visible-img" style="display: none"><img src="//:0">' +
- '<p class="clearing-caption"></p><a href="#" class="clearing-main-left"><span></span></a>' +
- '<a href="#" class="clearing-main-right"><span></span></a></div>'
+ '<p class="clearing-caption"></p><a href="#" class="clearing-main-prev"><span></span></a>' +
+ '<a href="#" class="clearing-main-next"><span></span></a></div>'
},
// comma delimited list of selectors that, on click, will close clearing,
@@ @@ -26,8 +26,8 @@
},
init : function (scope, method, options) {
- this.scope = this.scope || scope;
- Foundation.inherit(this, 'set_data get_data remove_data throttle');
+ var self = this;
+ Foundation.inherit(this, 'set_data get_data remove_data throttle data_options');
if (typeof method === 'object') {
options = $.extend(true, this.settings, method);
@@ @@ -35,15 +35,15 @@
if (typeof method != 'string') {
$(this.scope).find('ul[data-clearing]').each(function () {
- var self = Foundation.libs.clearing,
- $el = $(this),
+ var $el = $(this),
options = options || {},
+ lis = $el.find('li'),
settings = self.get_data($el);
- if (!settings) {
+ if (!settings && lis.length > 0) {
options.$parent = $el.parent();
- self.set_data($el, $.extend(true, self.settings, options));
+ self.set_data($el, $.extend({}, self.settings, options, self.data_options($el)));
self.assemble($el.find('li'));
@@ @@ -70,19 +70,30 @@
function (e, current, target) {
var current = current || $(this),
target = target || current,
- settings = self.get_data(current.parent());
+ next = current.next('li'),
+ settings = self.get_data(current.parent()),
+ image = $(e.target);
e.preventDefault();
if (!settings) self.init();
+ // if clearing is open and the current image is
+ // clicked, go to the next image in sequence
+ if (target.hasClass('visible')
+ && current[0] === target[0]
+ && next.length > 0 && self.is_open(current)) {
+ target = next;
+ image = target.find('img');
+ }
+
// set current and target to the clicked li if not otherwise defined.
- self.open($(e.target), current, target);
+ self.open(image, current, target);
self.update_paddles(target);
})
- .on('click.fndtn.clearing', '.clearing-main-right',
+ .on('click.fndtn.clearing', '.clearing-main-next',
function (e) { this.nav(e, 'next') }.bind(this))
- .on('click.fndtn.clearing', '.clearing-main-left',
+ .on('click.fndtn.clearing', '.clearing-main-prev',
function (e) { this.nav(e, 'prev') }.bind(this))
.on('click.fndtn.clearing', this.settings.close_selectors,
function (e) { Foundation.libs.clearing.close(e, this) })
@@ @@ -90,7 +101,7 @@
function (e) { this.keydown(e) }.bind(this));
$(window).on('resize.fndtn.clearing',
- function (e) { this.resize() }.bind(this));
+ function () { this.resize() }.bind(this));
this.settings.init = true;
return this;
@@ @@ -144,7 +155,10 @@
},
assemble : function ($li) {
- var $el = $li.parent(),
+ var $el = $li.parent();
+ $el.after('<div id="foundationClearingHolder"></div>');
+
+ var holder = $('#foundationClearingHolder'),
settings = this.get_data($el),
grid = $el.detach(),
data = {
@@ @@ -154,7 +168,7 @@
wrapper = '<div class="clearing-assembled"><div>' + data.viewing +
data.grid + '</div></div>';
- return settings.$parent.append(wrapper);
+ return holder.after(wrapper).remove();
},
// event callbacks
@@ @@ -167,9 +181,12 @@
if (!this.locked()) {
// set the image to the selected thumbnail
- image.attr('src', this.load($image));
+ image
+ .attr('src', this.load($image))
+ .css('visibility', 'hidden');
this.loaded(image, function () {
+ image.css('visibility', 'visible');
// toggle the gallery
root.addClass('clearing-blackout');
container.addClass('clearing-container');
@@ @@ -197,7 +214,7 @@
}($(el))), container, visible_image;
if (el === e.target && root) {
- container = root.find('div').first(),
+ container = root.find('div').first();
visible_image = container.find('.visible-img');
this.settings.prev_index = 0;
root.find('ul[data-clearing]')
@@ @@ -210,6 +227,10 @@
return false;
},
+ is_open : function (current) {
+ return current.parent().attr('style').length > 0;
+ },
+
keydown : function (e) {
var clearing = $('.clearing-blackout').find('ul[data-clearing]');
@@ @@ -257,39 +278,50 @@
.closest('.carousel')
.siblings('.visible-img');
- if (target.next().length) {
+ if (target.next().length > 0) {
visible_image
- .find('.clearing-main-right')
+ .find('.clearing-main-next')
.removeClass('disabled');
} else {
visible_image
- .find('.clearing-main-right')
+ .find('.clearing-main-next')
.addClass('disabled');
}
- if (target.prev().length) {
+ if (target.prev().length > 0) {
visible_image
- .find('.clearing-main-left')
+ .find('.clearing-main-prev')
.removeClass('disabled');
} else {
visible_image
- .find('.clearing-main-left')
+ .find('.clearing-main-prev')
.addClass('disabled');
}
},
center : function (target) {
- target.css({
- marginLeft : -(this.outerWidth(target) / 2),
- marginTop : -(this.outerHeight(target) / 2)
- });
+ if (!this.rtl) {
+ target.css({
+ marginLeft : -(this.outerWidth(target) / 2),
+ marginTop : -(this.outerHeight(target) / 2)
+ });
+ } else {
+ target.css({
+ marginRight : -(this.outerWidth(target) / 2),
+ marginTop : -(this.outerHeight(target) / 2)
+ });
+ }
return this;
},
// image loading and preloading
load : function ($image) {
- var href = $image.parent().attr('href');
+ if ($image[0].nodeName === "A") {
+ var href = $image.attr('href');
+ } else {
+ var href = $image.parent().attr('href');
+ }
this.preload($image);
@@ @@ -328,7 +360,7 @@
return;
}
- if (this.complete || this.readyState === 4) {
+ if (image[0].complete || image[0].readyState === 4) {
loaded();
} else {
bindLoad.call(image);
@@ @@ -356,7 +388,7 @@
if (caption) {
container
- .text(caption)
+ .html(caption)
.show();
} else {
container
@@ @@ -474,6 +506,10 @@
$(window).off('.fndtn.clearing');
this.remove_data(); // empty settings cache
this.settings.init = false;
+ },
+
+ reflow : function () {
+ this.init();
}
};
generators/foundation/public/javascripts/foundation/foundation.cookie.js +1 -1
@@ @@ -71,4 +71,4 @@
return false;
};
- })(Foundation.zj, document);
+ })(Foundation.zj, document);
\ No newline at end of file
generators/foundation/public/javascripts/foundation/foundation.dropdown.js +73 -25
@@ @@ -6,15 +6,18 @@
Foundation.libs.dropdown = {
name : 'dropdown',
- version : '4.0.9',
+ version : '4.2.0',
settings : {
- activeClass: 'open'
+ activeClass: 'open',
+ is_hover: false,
+ opened: function(){},
+ closed: function(){}
},
init : function (scope, method, options) {
this.scope = scope || this.scope;
- Foundation.inherit(this, 'throttle');
+ Foundation.inherit(this, 'throttle scrollLeft data_options');
if (typeof method === 'object') {
$.extend(true, this.settings, method);
@@ @@ -35,18 +38,37 @@
events : function () {
var self = this;
- $(this.scope).on('click.fndtn.dropdown', '[data-dropdown]', function (e) {
- e.preventDefault();
- e.stopPropagation();
- self.toggle($(this));
- });
-
- $('*, html, body').on('click.fndtn.dropdown', function (e) {
- if (!$(e.target).data('dropdown')) {
- $('[data-dropdown-content]')
- .css('left', '-99999px')
- .removeClass(self.settings.activeClass);
+ $(this.scope)
+ .on('click.fndtn.dropdown', '[data-dropdown]', function (e) {
+ var settings = $.extend({}, self.settings, self.data_options($(this)));
+ e.preventDefault();
+
+ if (!settings.is_hover) self.toggle($(this));
+ })
+ .on('mouseenter', '[data-dropdown]', function (e) {
+ var settings = $.extend({}, self.settings, self.data_options($(this)));
+ if (settings.is_hover) self.toggle($(this));
+ })
+ .on('mouseleave', '[data-dropdown-content]', function (e) {
+ var target = $('[data-dropdown="' + $(this).attr('id') + '"]'),
+ settings = $.extend({}, self.settings, self.data_options(target));
+ if (settings.is_hover) self.close.call(self, $(this));
+ })
+ .on('opened.fndtn.dropdown', '[data-dropdown-content]', this.settings.opened)
+ .on('closed.fndtn.dropdown', '[data-dropdown-content]', this.settings.closed);
+
+ $('body').on('click.fndtn.dropdown', function (e) {
+ var parent = $(e.target).closest('[data-dropdown-content]');
+
+ if ($(e.target).data('dropdown')) {
+ return;
}
+ if (parent.length > 0 && ($(e.target).is('[data-dropdown-content]') || $.contains(parent.first()[0], e.target))) {
+ e.stopPropagation();
+ return;
+ }
+
+ self.close.call(self, $('[data-dropdown-content]'));
});
$(window).on('resize.fndtn.dropdown', self.throttle(function () {
@@ @@ -56,19 +78,35 @@
this.settings.init = true;
},
- toggle : function (target, resize) {
+ close: function (dropdown) {
+ var self = this;
+ dropdown.each(function () {
+ if ($(this).hasClass(self.settings.activeClass)) {
+ $(this)
+ .css(Foundation.rtl ? 'right':'left', '-99999px')
+ .removeClass(self.settings.activeClass);
+ $(this).trigger('closed');
+ }
+ });
+ },
+
+ open: function (dropdown, target) {
+ this
+ .css(dropdown
+ .addClass(this.settings.activeClass), target);
+ dropdown.trigger('opened');
+ },
+
+ toggle : function (target) {
var dropdown = $('#' + target.data('dropdown'));
- $('[data-dropdown-content]').not(dropdown).css('left', '-99999px').removeClass(this.settings.activeClass);
+ this.close.call(this, $('[data-dropdown-content]').not(dropdown));
if (dropdown.hasClass(this.settings.activeClass)) {
- dropdown
- .css('left', '-99999px')
- .removeClass(this.settings.activeClass);
+ this.close.call(this, dropdown);
} else {
- this
- .css(dropdown
- .addClass(this.settings.activeClass), target);
+ this.close.call(this, $('[data-dropdown-content]'))
+ this.open.call(this, dropdown, target);
}
},
@@ @@ -82,8 +120,12 @@
},
css : function (dropdown, target) {
- if (dropdown.parent()[0] === $('body')[0]) {
+ var offset_parent = dropdown.offsetParent();
+ // temporary workaround until 4.2
+ if (offset_parent.length > 0 && /body/i.test(dropdown.offsetParent()[0].nodeName)) {
var position = target.offset();
+ position.top -= dropdown.offsetParent().offset().top;
+ position.left -= dropdown.offsetParent().offset().left;
} else {
var position = target.position();
}
@@ @@ -97,14 +139,18 @@
top: position.top + this.outerHeight(target)
});
} else {
- if ($(window).width() > this.outerWidth(dropdown) + target.offset().left) {
+ if (!Foundation.rtl && $(window).width() > this.outerWidth(dropdown) + target.offset().left) {
var left = position.left;
+ if (dropdown.hasClass('right')) {
+ dropdown.removeClass('right');
+ }
} else {
if (!dropdown.hasClass('right')) {
dropdown.addClass('right');
}
var left = position.left - (this.outerWidth(dropdown) - this.outerWidth(target));
}
+
dropdown.attr('style', '').css({
position : 'absolute',
top: position.top + this.outerHeight(target),
@@ @@ -125,6 +171,8 @@
$(window).off('.fndtn.dropdown');
$('[data-dropdown-content]').off('.fndtn.dropdown');
this.settings.init = false;
- }
+ },
+
+ reflow : function () {}
};
}(Foundation.zj, this, this.document));
generators/foundation/public/javascripts/foundation/foundation.forms.js +356 -235
@@ @@ -1,19 +1,19 @@
- /*jslint unparam: true, browser: true, indent: 2 */
-
- ;(function ($, window, document, undefined) {
+ (function ($, window, document, undefined) {
'use strict';
Foundation.libs.forms = {
- name : 'forms',
+ name: 'forms',
+
+ version: '4.2.1',
- version : '4.0.4',
+ cache: {},
- settings : {
- disable_class: 'no-custom'
+ settings: {
+ disable_class: 'no-custom',
+ last_combo : null
},
- init : function (scope, method, options) {
- this.scope = scope || this.scope;
+ init: function (scope, method, options) {
if (typeof method === 'object') {
$.extend(true, this.settings, method);
@@ @@ -32,63 +32,71 @@
}
},
- assemble : function () {
+ assemble: function () {
$('form.custom input[type="radio"]', $(this.scope)).not('[data-customforms="disabled"]')
.each(this.append_custom_markup);
$('form.custom input[type="checkbox"]', $(this.scope)).not('[data-customforms="disabled"]')
.each(this.append_custom_markup);
- $('form.custom select', $(this.scope)).not('[data-customforms="disabled"]')
+ $('form.custom select', $(this.scope))
+ .not('[data-customforms="disabled"]')
+ .not('[multiple=multiple]')
.each(this.append_custom_select);
},
- events : function () {
+ events: function () {
var self = this;
$(this.scope)
- .on('change.fndtn.forms', 'form.custom select:not([data-customforms="disabled"])', function (e) {
- self.refresh_custom_select($(this));
+ .on('click.fndtn.forms', 'form.custom span.custom.checkbox', function (e) {
+ e.preventDefault();
+ e.stopPropagation();
+ self.toggle_checkbox($(this));
+ })
+ .on('click.fndtn.forms', 'form.custom span.custom.radio', function (e) {
+ e.preventDefault();
+ e.stopPropagation();
+ self.toggle_radio($(this));
+ })
+ .on('change.fndtn.forms', 'form.custom select:not([data-customforms="disabled"])', function (e, force_refresh) {
+ self.refresh_custom_select($(this), force_refresh);
})
.on('click.fndtn.forms', 'form.custom label', function (e) {
- var $associatedElement = $('#' + self.escape($(this).attr('for')) + ':not([data-customforms="disabled"])'),
+ if ($(e.target).is('label')) {
+ var $associatedElement = $('#' + self.escape($(this).attr('for')) + ':not([data-customforms="disabled"])'),
$customCheckbox,
$customRadio;
- if ($associatedElement.length !== 0) {
- if ($associatedElement.attr('type') === 'checkbox') {
- e.preventDefault();
- $customCheckbox = $(this).find('span.custom.checkbox');
-
- //the checkbox might be outside after the label
- if ($customCheckbox.length == 0) {
- $customCheckbox = $(this).next('span.custom.checkbox');
- }
- //the checkbox might be outside before the label
- if ($customCheckbox.length == 0) {
- $customCheckbox = $(this).prev('span.custom.checkbox');
- }
- self.toggle_checkbox($customCheckbox);
- } else if ($associatedElement.attr('type') === 'radio') {
- e.preventDefault();
- $customRadio = $(this).find('span.custom.radio');
- //the radio might be outside after the label
- if ($customRadio.length == 0) {
- $customRadio = $(this).next('span.custom.radio');
- }
- //the radio might be outside before the label
- if ($customRadio.length == 0) {
- $customRadio = $(this).prev('span.custom.radio');
+
+ if ($associatedElement.length !== 0) {
+ if ($associatedElement.attr('type') === 'checkbox') {
+ e.preventDefault();
+ $customCheckbox = $(this).find('span.custom.checkbox');
+ //the checkbox might be outside after the label or inside of another element
+ if ($customCheckbox.length == 0) {
+ $customCheckbox = $associatedElement.add(this).siblings('span.custom.checkbox').first();
+ }
+ self.toggle_checkbox($customCheckbox);
+ } else if ($associatedElement.attr('type') === 'radio') {
+ e.preventDefault();
+ $customRadio = $(this).find('span.custom.radio');
+ //the radio might be outside after the label or inside of another element
+ if ($customRadio.length == 0) {
+ $customRadio = $associatedElement.add(this).siblings('span.custom.radio').first();
+ }
+ self.toggle_radio($customRadio);
}
- self.toggle_radio($customRadio);
}
}
})
+ .on('mousedown.fndtn.forms', 'form.custom div.custom.dropdown', function () {
+ return false;
+ })
.on('click.fndtn.forms', 'form.custom div.custom.dropdown a.current, form.custom div.custom.dropdown a.selector', function (e) {
var $this = $(this),
$dropdown = $this.closest('div.custom.dropdown'),
- $select = $dropdown.prev();
+ $select = getFirstPrevSibling($dropdown, 'select');
// make sure other dropdowns close
- if(!$dropdown.hasClass('open'))
- $(self.scope).trigger('click');
+ if (!$dropdown.hasClass('open')) $(self.scope).trigger('click');
e.preventDefault();
if (false === $select.is(':disabled')) {
@@ @@ -108,32 +116,29 @@
.on('click.fndtn.forms touchend.fndtn.forms', 'form.custom div.custom.dropdown li', function (e) {
var $this = $(this),
$customDropdown = $this.closest('div.custom.dropdown'),
- $select = $customDropdown.prev(),
+ $select = getFirstPrevSibling($customDropdown, 'select'),
selectedIndex = 0;
e.preventDefault();
e.stopPropagation();
- if ( ! $(this).hasClass('disabled')) {
+ if (!$(this).hasClass('disabled')) {
$('div.dropdown').not($customDropdown).removeClass('open');
- var $oldThis= $this
- .closest('ul')
+ var $oldThis = $this.closest('ul')
.find('li.selected');
$oldThis.removeClass('selected');
$this.addClass('selected');
- $customDropdown
- .removeClass('open')
+ $customDropdown.removeClass('open')
.find('a.current')
- .html($this.html());
+ .text($this.text());
$this.closest('ul').find('li').each(function (index) {
if ($this[0] == this) {
selectedIndex = index;
}
-
});
$select[0].selectedIndex = selectedIndex;
@@ @@ -141,14 +146,89 @@
$select.data('prevalue', $oldThis.html());
$select.trigger('change');
}
- });
+ });
+
+ $(window).on('keydown', function (e) {
+ var focus = document.activeElement,
+ self = Foundation.libs.forms,
+ dropdown = $('.custom.dropdown.open');
+
+ if (dropdown.length > 0) {
+ e.preventDefault();
+
+ if (e.which === 13) {
+ dropdown.find('li.selected').trigger('click');
+ }
+
+ if (e.which === 27) {
+ dropdown.removeClass('open');
+ }
+
+ if (e.which >= 65 && e.which <= 90) {
+ var next = self.go_to(dropdown, e.which),
+ current = dropdown.find('li.selected');
+
+ if (next) {
+ current.removeClass('selected');
+ self.scrollTo(next.addClass('selected'), 300);
+ }
+ }
+
+ if (e.which === 38) {
+ var current = dropdown.find('li.selected'),
+ prev = current.prev(':not(.disabled)');
+
+ if (prev.length > 0) {
+ prev.parent()[0].scrollTop = prev.parent().scrollTop() - self.outerHeight(prev);
+ current.removeClass('selected');
+ prev.addClass('selected');
+ }
+ } else if (e.which === 40) {
+ var current = dropdown.find('li.selected'),
+ next = current.next(':not(.disabled)');
+
+ if (next.length > 0) {
+ next.parent()[0].scrollTop = next.parent().scrollTop() + self.outerHeight(next);
+ current.removeClass('selected');
+ next.addClass('selected');
+ }
+ }
+ }
+ });
this.settings.init = true;
},
- append_custom_markup : function (idx, sel) {
- var $this = $(sel).hide(),
- type = $this.attr('type'),
+ go_to: function (dropdown, character) {
+ var lis = dropdown.find('li'),
+ count = lis.length;
+
+ if (count > 0) {
+ for (var i = 0; i < count; i++) {
+ var first_letter = lis.eq(i).text().charAt(0).toLowerCase();
+ if (first_letter === String.fromCharCode(character).toLowerCase()) return lis.eq(i);
+ }
+ }
+ },
+
+ scrollTo: function (el, duration) {
+ if (duration < 0) return;
+ var parent = el.parent();
+ var li_height = this.outerHeight(el);
+ var difference = (li_height * (el.index())) - parent.scrollTop();
+ var perTick = difference / duration * 10;
+
+ this.scrollToTimerCache = setTimeout(function () {
+ if (!isNaN(parseInt(perTick, 10))) {
+ parent[0].scrollTop = parent.scrollTop() + perTick;
+ this.scrollTo(el, duration - 10);
+ }
+ }.bind(this), 10);
+ },
+
+ append_custom_markup: function (idx, sel) {
+ var $this = $(sel),
+ type = $this.attr('type'),
$span = $this.next('span.custom.' + type);
if ($span.length === 0) {
@@ @@ -159,134 +239,159 @@
$span.toggleClass('disabled', $this.is(':disabled'));
},
- append_custom_select : function (idx, sel) {
- var self = Foundation.libs.forms,
- $this = $( sel ),
- $customSelect = $this.next( 'div.custom.dropdown' ),
- $customList = $customSelect.find( 'ul' ),
- $selectCurrent = $customSelect.find( ".current" ),
- $selector = $customSelect.find( ".selector" ),
- $options = $this.find( 'option' ),
- $selectedOption = $options.filter( ':selected' ),
- copyClasses = $this.attr('class') ? $this.attr('class').split(' ') : [],
- maxWidth = 0,
- liHtml = '',
- $listItems,
- $currentSelect = false;
-
- if ($this.hasClass(self.settings.disable_class)) return;
-
- if ($customSelect.length === 0) {
- var customSelectSize = $this.hasClass( 'small' ) ? 'small' :
- $this.hasClass( 'medium' ) ? 'medium' :
- $this.hasClass( 'large' ) ? 'large' :
- $this.hasClass( 'expand' ) ? 'expand' : '';
-
- $customSelect = $('<div class="' + ['custom', 'dropdown', customSelectSize ].concat(copyClasses).filter(function(item, idx,arr){ if(item == '') return false; return arr.indexOf(item) == idx; }).join( ' ' ) + '"><a href="#" class="selector"></a><ul /></div>');
- $selector = $customSelect.find(".selector");
- $customList = $customSelect.find("ul");
- liHtml = $options.map(function() { return "<li>" + $( this ).html() + "</li>"; } ).get().join( '' );
- $customList.append(liHtml);
- $currentSelect = $customSelect.prepend('<a href="#" class="current">' + $selectedOption.html() + '</a>' ).find( ".current" );
- $this
- .after( $customSelect )
- .hide();
-
- } else {
- liHtml = $options.map(function() {
- return "<li>" + $( this ).html() + "</li>";
- })
- .get().join('');
- $customList
- .html('')
- .append(liHtml);
-
- } // endif $customSelect.length === 0
- $customSelect.toggleClass('disabled', $this.is( ':disabled' ) );
- $listItems = $customList.find( 'li' );
-
- $options.each( function ( index ) {
- if ( this.selected ) {
- $listItems.eq( index ).addClass( 'selected' );
-
- if ($currentSelect) {
- $currentSelect.html( $( this ).html() );
+ append_custom_select: function (idx, sel) {
+ var self = Foundation.libs.forms,
+ $this = $(sel),
+ $customSelect = $this.next('div.custom.dropdown'),
+ $customList = $customSelect.find('ul'),
+ $selectCurrent = $customSelect.find(".current"),
+ $selector = $customSelect.find(".selector"),
+ $options = $this.find('option'),
+ $selectedOption = $options.filter(':selected'),
+ copyClasses = $this.attr('class') ? $this.attr('class').split(' ') : [],
+ maxWidth = 0,
+ liHtml = '',
+ $listItems,
+ $currentSelect = false;
+
+ if ($this.hasClass(self.settings.disable_class)) return;
+
+ if ($customSelect.length === 0) {
+ var customSelectSize = $this.hasClass('small') ? 'small' : $this.hasClass('medium') ? 'medium' : $this.hasClass('large') ? 'large' : $this.hasClass('expand') ? 'expand' : '';
+
+ $customSelect = $('<div class="' + ['custom', 'dropdown', customSelectSize].concat(copyClasses).filter(function (item, idx, arr) {
+ if (item == '') return false;
+ return arr.indexOf(item) == idx;
+ }).join(' ') + '"><a href="#" class="selector"></a><ul /></div>');
+
+ $selector = $customSelect.find(".selector");
+ $customList = $customSelect.find("ul");
+
+ liHtml = $options.map(function () {
+ var copyClasses = $(this).attr('class') ? $(this).attr('class') : '';
+ return "<li class='" + copyClasses + "'>" + $(this).html() + "</li>";
+ }).get().join('');
+
+ $customList.append(liHtml);
+
+ $currentSelect = $customSelect
+ .prepend('<a href="#" class="current">' + $selectedOption.html() + '</a>')
+ .find(".current");
+
+ $this.after($customSelect)
+ .addClass('hidden-field');
+ } else {
+ liHtml = $options.map(function () {
+ return "<li>" + $(this).html() + "</li>";
+ })
+ .get().join('');
+
+ $customList.html('')
+ .append(liHtml);
+
+ } // endif $customSelect.length === 0
+
+ self.assign_id($this, $customSelect);
+ $customSelect.toggleClass('disabled', $this.is(':disabled'));
+ $listItems = $customList.find('li');
+
+ // cache list length
+ self.cache[$customSelect.data('id')] = $listItems.length;
+
+ $options.each(function (index) {
+ if (this.selected) {
+ $listItems.eq(index).addClass('selected');
+
+ if ($currentSelect) {
+ $currentSelect.html($(this).html());
+ }
+ }
+ if ($(this).is(':disabled')) {
+ $listItems.eq(index).addClass('disabled');
}
+ });
- }
- if ($(this).is(':disabled')) {
- $listItems.eq( index ).addClass( 'disabled' );
- }
- });
+ //
+ // If we're not specifying a predetermined form size.
+ //
+ if (!$customSelect.is('.small, .medium, .large, .expand')) {
- //
- // If we're not specifying a predetermined form size.
- //
- if (!$customSelect.is('.small, .medium, .large, .expand')) {
+ // ------------------------------------------------------------------------------------
+ // This is a work-around for when elements are contained within hidden parents.
+ // For example, when custom-form elements are inside of a hidden reveal modal.
+ //
+ // We need to display the current custom list element as well as hidden parent elements
+ // in order to properly calculate the list item element's width property.
+ // -------------------------------------------------------------------------------------
- // ------------------------------------------------------------------------------------
- // This is a work-around for when elements are contained within hidden parents.
- // For example, when custom-form elements are inside of a hidden reveal modal.
- //
- // We need to display the current custom list element as well as hidden parent elements
- // in order to properly calculate the list item element's width property.
- // -------------------------------------------------------------------------------------
+ $customSelect.addClass('open');
+ //
+ // Quickly, display all parent elements.
+ // This should help us calcualate the width of the list item's within the drop down.
+ //
+ var self = Foundation.libs.forms;
+ self.hidden_fix.adjust($customList);
- $customSelect.addClass( 'open' );
- //
- // Quickly, display all parent elements.
- // This should help us calcualate the width of the list item's within the drop down.
- //
- var self = Foundation.libs.forms;
- self.hidden_fix.adjust( $customList );
+ maxWidth = (self.outerWidth($listItems) > maxWidth) ? self.outerWidth($listItems) : maxWidth;
- maxWidth = ( self.outerWidth($listItems) > maxWidth ) ? self.outerWidth($listItems) : maxWidth;
+ Foundation.libs.forms.hidden_fix.reset();
- Foundation.libs.forms.hidden_fix.reset();
+ $customSelect.removeClass('open');
- $customSelect.removeClass( 'open' );
+ } // endif
- } // endif
+ },
+ assign_id: function ($select, $customSelect) {
+ var id = [+new Date(), Foundation.random_str(5)].join('-');
+ $select.attr('data-id', id);
+ $customSelect.attr('data-id', id);
},
- refresh_custom_select : function ($select) {
+ refresh_custom_select: function ($select, force_refresh) {
var self = this;
var maxWidth = 0,
- $customSelect = $select.next(),
- $options = $select.find('option');
+ $customSelect = $select.next(),
+ $options = $select.find('option'),
+ $listItems = $customSelect.find('li');
- $customSelect.find('ul').html('');
+ if ($listItems.length != this.cache[$customSelect.data('id')] || force_refresh) {
+ $customSelect.find('ul').html('');
- $options.each(function () {
- var $li = $('<li>' + $(this).html() + '</li>');
- $customSelect.find('ul').append($li);
- });
+ $options.each(function () {
+ var $li = $('<li>' + $(this).html() + '</li>');
+ $customSelect.find('ul').append($li);
+ });
- // re-populate
- $options.each(function (index) {
- if (this.selected) {
- $customSelect.find('li').eq(index).addClass('selected');
- $customSelect.find('.current').html($(this).html());
- }
- if ($(this).is(':disabled')) {
- $customSelect.find('li').eq(index).addClass('disabled');
- }
- });
+ // re-populate
+ $options.each(function (index) {
+ if (this.selected) {
+ $customSelect.find('li').eq(index).addClass('selected');
+ $customSelect.find('.current').html($(this).html());
+ }
+ if ($(this).is(':disabled')) {
+ $customSelect.find('li').eq(index).addClass('disabled');
+ }
+ });
- // fix width
- $customSelect.removeAttr('style')
- .find('ul').removeAttr('style');
- $customSelect.find('li').each(function () {
- $customSelect.addClass('open');
- if (self.outerWidth($(this)) > maxWidth) {
- maxWidth = self.outerWidth($(this));
- }
- $customSelect.removeClass('open');
- });
+ // fix width
+ $customSelect.removeAttr('style')
+ .find('ul').removeAttr('style');
+ $customSelect.find('li').each(function () {
+ $customSelect.addClass('open');
+ if (self.outerWidth($(this)) > maxWidth) {
+ maxWidth = self.outerWidth($(this));
+ }
+ $customSelect.removeClass('open');
+ });
+
+ $listItems = $customSelect.find('li');
+ // cache list length
+ this.cache[$customSelect.data('id')] = $listItems.length;
+ }
},
- toggle_checkbox : function ($element) {
+ toggle_checkbox: function ($element) {
var $input = $element.prev(),
input = $input[0];
@@ @@ -298,98 +403,114 @@
}
},
- toggle_radio : function ($element) {
- var $input = $element.prev(),
- $form = $input.closest('form.custom'),
- input = $input[0];
+ toggle_radio: function ($element) {
+ var $input = $element.prev(),
+ $form = $input.closest('form.custom'),
+ input = $input[0];
- if (false === $input.is(':disabled')) {
- $form.find('input[type="radio"][name="' + this.escape($input.attr('name')) + '"]').next().not($element).removeClass('checked');
- if ( !$element.hasClass('checked') ) {
- $element.toggleClass('checked');
- }
- input.checked = $element.hasClass('checked');
+ if (false === $input.is(':disabled')) {
+ $form.find('input[type="radio"][name="' + this.escape($input.attr('name')) + '"]')
+ .next().not($element).removeClass('checked');
- $input.trigger('change');
- }
+ if (!$element.hasClass('checked')) {
+ $element.toggleClass('checked');
+ }
+
+ input.checked = $element.hasClass('checked');
+
+ $input.trigger('change');
+ }
},
- escape : function (text) {
+ escape: function (text) {
return text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
},
- hidden_fix : {
- /**
- * Sets all hidden parent elements and self to visibile.
- *
- * @method adjust
- * @param {jQuery Object} $child
- */
+ hidden_fix: {
+ /**
+ * Sets all hidden parent elements and self to visibile.
+ *
+ * @method adjust
+ * @param {jQuery Object} $child
+ */
- // We'll use this to temporarily store style properties.
- tmp : [],
+ // We'll use this to temporarily store style properties.
+ tmp: [],
- // We'll use this to set hidden parent elements.
- hidden : null,
+ // We'll use this to set hidden parent elements.
+ hidden: null,
- adjust : function( $child ) {
- // Internal reference.
- var _self = this;
+ adjust: function ($child) {
+ // Internal reference.
+ var _self = this;
- // Set all hidden parent elements, including this element.
- _self.hidden = $child.parents().andSelf().filter( ":hidden" );
+ // Set all hidden parent elements, including this element.
+ _self.hidden = $child.parents();
+ _self.hidden = _self.hidden.add($child).filter(":hidden");
- // Loop through all hidden elements.
- _self.hidden.each( function() {
+ // Loop through all hidden elements.
+ _self.hidden.each(function () {
- // Cache the element.
- var $elem = $( this );
+ // Cache the element.
+ var $elem = $(this);
- // Store the style attribute.
- // Undefined if element doesn't have a style attribute.
- _self.tmp.push( $elem.attr( 'style' ) );
+ // Store the style attribute.
+ // Undefined if element doesn't have a style attribute.
+ _self.tmp.push($elem.attr('style'));
- // Set the element's display property to block,
- // but ensure it's visibility is hidden.
- $elem.css( { 'visibility' : 'hidden', 'display' : 'block' } );
- });
-
- }, // end adjust
-
- /**
- * Resets the elements previous state.
- *
- * @method reset
- */
- reset : function() {
- // Internal reference.
- var _self = this;
- // Loop through our hidden element collection.
- _self.hidden.each( function( i ) {
- // Cache this element.
- var $elem = $( this ),
- _tmp = _self.tmp[ i ]; // Get the stored 'style' value for this element.
-
- // If the stored value is undefined.
- if( _tmp === undefined )
+ // Set the element's display property to block,
+ // but ensure it's visibility is hidden.
+ $elem.css({
+ 'visibility': 'hidden',
+ 'display': 'block'
+ });
+ });
+
+ }, // end adjust
+
+ /**
+ * Resets the elements previous state.
+ *
+ * @method reset
+ */
+ reset: function () {
+ // Internal reference.
+ var _self = this;
+ // Loop through our hidden element collection.
+ _self.hidden.each(function (i) {
+ // Cache this element.
+ var $elem = $(this),
+ _tmp = _self.tmp[i]; // Get the stored 'style' value for this element.
+
+ // If the stored value is undefined.
+ if (_tmp === undefined)
// Remove the style attribute.
- $elem.removeAttr( 'style' );
- else
+ $elem.removeAttr('style');
+ else
// Otherwise, reset the element style attribute.
- $elem.attr( 'style', _tmp );
-
- });
- // Reset the tmp array.
- _self.tmp = [];
- // Reset the hidden elements variable.
- _self.hidden = null;
-
- } // end reset
-
+ $elem.attr('style', _tmp);
+ });
+ // Reset the tmp array.
+ _self.tmp = [];
+ // Reset the hidden elements variable.
+ _self.hidden = null;
+
+ } // end reset
},
- off : function () {
+ off: function () {
$(this.scope).off('.fndtn.forms');
+ },
+
+ reflow : function () {}
+ };
+
+ var getFirstPrevSibling = function($el, selector) {
+ var $el = $el.prev();
+ while ($el.length) {
+ if ($el.is(selector)) return $el;
+ $el = $el.prev();
}
+ return $();
};
}(Foundation.zj, this, this.document));
generators/foundation/public/javascripts/foundation/foundation.interchange.js +271 -0
@@ @@ -0,0 +1,271 @@
+ /*jslint unparam: true, browser: true, indent: 2 */
+
+ ;(function ($, window, document, undefined) {
+ 'use strict';
+
+ Foundation.libs.interchange = {
+ name : 'interchange',
+
+ version : '4.2.1',
+
+ cache : {},
+
+ settings : {
+ load_attr : 'interchange',
+
+ named_queries : {
+ 'default' : 'only screen and (min-width: 1px)',
+ small : 'only screen and (min-width: 768px)',
+ medium : 'only screen and (min-width: 1280px)',
+ large : 'only screen and (min-width: 1440px)',
+ landscape : 'only screen and (orientation: landscape)',
+ portrait : 'only screen and (orientation: portrait)',
+ retina : 'only screen and (-webkit-min-device-pixel-ratio: 2),'
+ + 'only screen and (min--moz-device-pixel-ratio: 2),'
+ + 'only screen and (-o-min-device-pixel-ratio: 2/1),'
+ + 'only screen and (min-device-pixel-ratio: 2),'
+ + 'only screen and (min-resolution: 192dpi),'
+ + 'only screen and (min-resolution: 2dppx)'
+ },
+
+ directives : {
+ replace : function (el, path) {
+ if (/IMG/.test(el[0].nodeName)) {
+ var path_parts = path.split('/'),
+ path_file = path_parts[path_parts.length - 1],
+ orig_path = el[0].src;
+
+ if (new RegExp(path_file, 'i').test(el[0].src)) return;
+
+ el[0].src = path;
+
+ return el.trigger('replace', [el[0].src, orig_path]);
+ }
+ }
+ }
+ },
+
+ init : function (scope, method, options) {
+ Foundation.inherit(this, 'throttle');
+
+ if (typeof method === 'object') {
+ $.extend(true, this.settings, method);
+ }
+
+ this.events();
+ this.images();
+
+ if (typeof method != 'string') {
+ return this.settings.init;
+ } else {
+ return this[method].call(this, options);
+ }
+ },
+
+ events : function () {
+ var self = this;
+
+ $(window).on('resize.fndtn.interchange', self.throttle(function () {
+ self.resize.call(self);
+ }, 50));
+ },
+
+ resize : function () {
+ var cache = this.cache;
+
+ for (var uuid in cache) {
+ if (cache.hasOwnProperty(uuid)) {
+ var passed = this.results(uuid, cache[uuid]);
+
+ if (passed) {
+ this.settings.directives[passed
+ .scenario[1]](passed.el, passed.scenario[0]);
+ }
+ }
+ }
+
+ },
+
+ results : function (uuid, scenarios) {
+ var count = scenarios.length,
+ results_arr = [];
+
+ if (count > 0) {
+ var el = $('[data-uuid="' + uuid + '"]');
+
+ for (var i = count - 1; i >= 0; i--) {
+ var rule = scenarios[i][2];
+ if (this.settings.named_queries.hasOwnProperty(rule)) {
+ var mq = matchMedia(this.settings.named_queries[rule]);
+ } else {
+ var mq = matchMedia(scenarios[i][2]);
+ }
+ if (mq.matches) {
+ return {el: el, scenario: scenarios[i]};
+ }
+ }
+ }
+
+ return false;
+ },
+
+ images : function (force_update) {
+ if (typeof this.cached_images === 'undefined' || force_update) {
+ return this.update_images();
+ }
+
+ return this.cached_images;
+ },
+
+ update_images : function () {
+ var images = document.getElementsByTagName('img'),
+ count = images.length,
+ data_attr = 'data-' + this.settings.load_attr;
+
+ this.cached_images = [];
+
+ for (var i = count - 1; i >= 0; i--) {
+ this.loaded($(images[i]), (i === 0), function (image, last) {
+ if (image) {
+ var str = image.getAttribute(data_attr) || '';
+
+ if (str.length > 0) {
+ this.cached_images.push(image);
+ }
+ }
+
+ if (last) this.enhance();
+
+ }.bind(this));
+ }
+
+ return 'deferred';
+ },
+
+ // based on jquery.imageready.js
+ // @weblinc, @jsantell, (c) 2012
+
+ loaded : function (image, last, callback) {
+ function loaded () {
+ callback(image[0], last);
+ }
+
+ function bindLoad () {
+ this.one('load', loaded);
+
+ if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)) {
+ var src = this.attr( 'src' ),
+ param = src.match( /\?/ ) ? '&' : '?';
+
+ param += 'random=' + (new Date()).getTime();
+ this.attr('src', src + param);
+ }
+ }
+
+ if (!image.attr('src')) {
+ loaded();
+ return;
+ }
+
+ if (image[0].complete || image[0].readyState === 4) {
+ loaded();
+ } else {
+ bindLoad.call(image);
+ }
+ },
+
+ enhance : function () {
+ var count = this.images().length;
+
+ for (var i = count - 1; i >= 0; i--) {
+ this._object($(this.images()[i]));
+ }
+
+ return $(window).trigger('resize');
+ },
+
+ parse_params : function (path, directive, mq) {
+ return [this.trim(path), this.convert_directive(directive), this.trim(mq)];
+ },
+
+ convert_directive : function (directive) {
+ var trimmed = this.trim(directive);
+
+ if (trimmed.length > 0) {
+ return trimmed;
+ }
+
+ return 'replace';
+ },
+
+ _object : function(el) {
+ var raw_arr = this.parse_data_attr(el),
+ scenarios = [], count = raw_arr.length;
+
+ if (count > 0) {
+ for (var i = count - 1; i >= 0; i--) {
+ var split = raw_arr[i].split(/\((.*?)(\))$/);
+
+ if (split.length > 1) {
+ var cached_split = split[0].split(','),
+ params = this.parse_params(cached_split[0],
+ cached_split[1], split[1]);
+
+ scenarios.push(params);
+ }
+ }
+ }
+
+ return this.store(el, scenarios);
+ },
+
+ uuid : function (separator) {
+ var delim = separator || "-";
+
+ function S4() {
+ return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
+ }
+
+ return (S4() + S4() + delim + S4() + delim + S4()
+ + delim + S4() + delim + S4() + S4() + S4());
+ },
+
+ store : function (el, scenarios) {
+ var uuid = this.uuid(),
+ current_uuid = el.data('uuid');
+
+ if (current_uuid) return this.cache[current_uuid];
+
+ el.attr('data-uuid', uuid);
+
+ return this.cache[uuid] = scenarios;
+ },
+
+ trim : function(str) {
+ if (typeof str === 'string') {
+ return $.trim(str);
+ }
+
+ return str;
+ },
+
+ parse_data_attr : function (el) {
+ var raw = el.data(this.settings.load_attr).split(/\[(.*?)\]/),
+ count = raw.length, output = [];
+
+ for (var i = count - 1; i >= 0; i--) {
+ if (raw[i].replace(/[\W\d]+/, '').length > 4) {
+ output.push(raw[i]);
+ }
+ }
+
+ return output;
+ },
+
+ reflow : function () {
+ this.images(true);
+ }
+
+ };
+
+ }(Foundation.zj, this, this.document));
\ No newline at end of file
generators/foundation/public/javascripts/foundation/foundation.joyride.js +265 -33
@@ @@ -1,23 +1,26 @@
/*jslint unparam: true, browser: true, indent: 2 */
- ;(function ($, window, document, undefined) {
+ (function ($, window, document, undefined) {
'use strict';
Foundation.libs.joyride = {
name: 'joyride',
- version : '4.0.0',
+ version : '4.2.0',
defaults : {
+ expose : false, // turn on or off the expose feature
+ modal : false, // Whether to cover page with modal during the tour
tipLocation : 'bottom', // 'top' or 'bottom' in relation to parent
nubPosition : 'auto', // override on a per tooltip bases
- scrollSpeed : 300, // Page scrolling speed in milliseconds
+ scrollSpeed : 300, // Page scrolling speed in milliseconds, 0 = no scroll animation
timer : 0, // 0 = no timer , all other numbers = timer in milliseconds
startTimerOnClick : true, // true or false - true requires clicking the first button start the timer
startOffset : 0, // the index of the tooltip you want to start on (index of the li)
nextButton : true, // true or false to control whether a next button is used
tipAnimation : 'fade', // 'pop' or 'fade' in each tip
pauseAfter : [], // array of indexes where to pause the tour after
+ exposed : [], // array of expose elements
tipAnimationFadeSpeed: 300, // when tipAnimation = 'fade' this is speed in milliseconds for the transition
cookieMonster : false, // true or false to control whether cookies are used
cookieName : 'joyride', // Name the cookie you'll use
@@ @@ -26,13 +29,20 @@
tipContainer : 'body', // Where will the tip be attached
postRideCallback : function (){}, // A method to call once the tour closes (canceled or complete)
postStepCallback : function (){}, // A method to call after each step
+ preStepCallback : function (){}, // A method to call before each step
+ preRideCallback : function (){}, // A method to call before the tour starts (passed index, tip, and cloned exposed element)
+ postExposeCallback : function (){}, // A method to call after an element has been exposed
template : { // HTML segments for tip layout
link : '<a href="#close" class="joyride-close-tip">&times;</a>',
timer : '<div class="joyride-timer-indicator-wrap"><span class="joyride-timer-indicator"></span></div>',
tip : '<div class="joyride-tip-guide"><span class="joyride-nub"></span></div>',
wrapper : '<div class="joyride-content-wrapper"></div>',
- button : '<a href="#" class="small button joyride-next-tip"></a>'
- }
+ button : '<a href="#" class="small button joyride-next-tip"></a>',
+ modal : '<div class="joyride-modal-bg"></div>',
+ expose : '<div class="joyride-expose-wrapper"></div>',
+ exposeCover: '<div class="joyride-expose-cover"></div>'
+ },
+ exposeAddClass : '' // One or more space-separated class names to be added to exposed element
},
settings : {},
@@ @@ -84,10 +94,20 @@
$(window).on('resize.fndtn.joyride', self.throttle(function () {
if ($('[data-joyride]').length > 0 && self.settings.$next_tip) {
+ if (self.settings.exposed.length > 0) {
+ var $els = $(self.settings.exposed);
+
+ $els.each(function () {
+ var $this = $(this);
+ self.un_expose($this);
+ self.expose($this);
+ });
+ }
+
if (self.is_phone()) {
self.pos_phone();
} else {
- self.pos_default();
+ self.pos_default(false, true);
}
}
}, 100));
@@ @@ -102,9 +122,10 @@
int_settings_count = integer_settings.length;
if (!this.settings.init) this.init();
-
+
// non configureable settings
this.settings.$content_el = $this;
+ this.settings.$body = $(this.settings.tipContainer);
this.settings.body_offset = $(this.settings.tipContainer).position();
this.settings.$tip_content = this.settings.$content_el.find('> li');
this.settings.paused = false;
@@ @@ -219,6 +240,18 @@
this.settings.attempts = 0;
if (this.settings.$li.length && this.settings.$target.length > 0) {
+ if (init) { //run when we first start
+ this.settings.preRideCallback(this.settings.$li.index(), this.settings.$next_tip);
+ if (this.settings.modal) {
+ this.show_modal();
+ }
+ }
+
+ this.settings.preStepCallback(this.settings.$li.index(), this.settings.$next_tip);
+
+ if (this.settings.modal && this.settings.expose) {
+ this.expose();
+ }
this.settings.tipSettings = $.extend(this.settings, this.data_options(this.settings.$li));
@@ @@ -243,7 +276,7 @@
$timer.width(0);
- if (thsi.settings.timer > 0) {
+ if (this.settings.timer > 0) {
this.settings.$next_tip.show();
@@ @@ -306,14 +339,20 @@
return Modernizr.mq('only screen and (max-width: 767px)') || $('.lt-ie9').length > 0;
}
- return (this.settings.$window.width() < 767) ? true : false;
+ return (this.settings.$window.width() < 767);
},
hide : function () {
+ if (this.settings.modal && this.settings.expose) {
+ this.un_expose();
+ }
+
+ if (!this.settings.modal) {
+ $('.joyride-modal-bg').hide();
+ }
+ this.settings.$current_tip.hide();
this.settings.postStepCallback(this.settings.$li.index(),
this.settings.$current_tip);
- $('.joyride-modal-bg').hide();
- this.settings.$current_tip.hide();
},
set_li : function (init) {
@@ @@ -361,11 +400,7 @@
},
paused : function () {
- if (($.inArray((this.settings.$li.index() + 1), this.settings.pauseAfter) === -1)) {
- return true;
- }
-
- return false;
+ return ($.inArray((this.settings.$li.index() + 1), this.settings.pauseAfter) === -1);
},
restart : function () {
@@ @@ -374,10 +409,11 @@
this.show('init');
},
- pos_default : function (init) {
+ pos_default : function (init, resizing) {
var half_fold = Math.ceil($(window).height() / 2),
tip_position = this.settings.$next_tip.offset(),
$nub = this.settings.$next_tip.find('.joyride-nub'),
+ nub_width = Math.ceil(this.outerWidth($nub) / 2),
nub_height = Math.ceil(this.outerHeight($nub) / 2),
toggle = init || false;
@@ @@ -387,20 +423,31 @@
this.settings.$next_tip.show();
}
+ if (typeof resizing === 'undefined') {
+ resizing = false;
+ }
+
if (!/body/i.test(this.settings.$target.selector)) {
if (this.bottom()) {
+ var leftOffset = this.settings.$target.offset().left;
+ if (Foundation.rtl) {
+ leftOffset = this.settings.$target.offset().width - this.settings.$next_tip.width() + leftOffset;
+ }
this.settings.$next_tip.css({
top: (this.settings.$target.offset().top + nub_height + this.outerHeight(this.settings.$target)),
- left: this.settings.$target.offset().left});
+ left: leftOffset});
this.nub_position($nub, this.settings.tipSettings.nubPosition, 'top');
} else if (this.top()) {
-
+ var leftOffset = this.settings.$target.offset().left;
+ if (Foundation.rtl) {
+ leftOffset = this.settings.$target.offset().width - this.settings.$next_tip.width() + leftOffset;
+ }
this.settings.$next_tip.css({
top: (this.settings.$target.offset().top - this.outerHeight(this.settings.$next_tip) - nub_height),
- left: this.settings.$target.offset().left});
+ left: leftOffset});
this.nub_position($nub, this.settings.tipSettings.nubPosition, 'bottom');
@@ @@ -408,7 +455,7 @@
this.settings.$next_tip.css({
top: this.settings.$target.offset().top,
- left: (this.outerWidth(this.settings.$target) + this.settings.$target.offset().left)});
+ left: (this.outerWidth(this.settings.$target) + this.settings.$target.offset().left + nub_width)});
this.nub_position($nub, this.settings.tipSettings.nubPosition, 'left');
@@ @@ -416,7 +463,7 @@
this.settings.$next_tip.css({
top: this.settings.$target.offset().top,
- left: (this.settings.$target.offset().left - this.outerWidth(this.settings.$next_tip) - nub_height)});
+ left: (this.settings.$target.offset().left - this.outerWidth(this.settings.$next_tip) - nub_width)});
this.nub_position($nub, this.settings.tipSettings.nubPosition, 'right');
@@ @@ -433,7 +480,7 @@
this.settings.attempts++;
- this.pos_default(true);
+ this.pos_default();
}
@@ @@ -495,15 +542,176 @@
pos_modal : function ($nub) {
this.center();
$nub.hide();
+
+ this.show_modal();
+ },
+
+ show_modal : function () {
if (!this.settings.$next_tip.data('closed')) {
- if ($('.joyride-modal-bg').length < 1) {
- $('body').append('<div class="joyride-modal-bg">').show();
+ var joyridemodalbg = $('.joyride-modal-bg');
+ if (joyridemodalbg.length < 1) {
+ $('body').append(this.settings.template.modal).show();
}
if (/pop/i.test(this.settings.tipAnimation)) {
- $('.joyride-modal-bg').show();
+ joyridemodalbg.show();
} else {
- $('.joyride-modal-bg').fadeIn(this.settings.tipAnimationFadeSpeed);
+ joyridemodalbg.fadeIn(this.settings.tipAnimationFadeSpeed);
+ }
+ }
+ },
+
+ expose : function () {
+ var expose,
+ exposeCover,
+ el,
+ origCSS,
+ origClasses,
+ randId = 'expose-'+Math.floor(Math.random()*10000);
+
+ if (arguments.length > 0 && arguments[0] instanceof $) {
+ el = arguments[0];
+ } else if(this.settings.$target && !/body/i.test(this.settings.$target.selector)){
+ el = this.settings.$target;
+ } else {
+ return false;
+ }
+
+ if(el.length < 1){
+ if(window.console){
+ console.error('element not valid', el);
+ }
+ return false;
+ }
+
+ expose = $(this.settings.template.expose);
+ this.settings.$body.append(expose);
+ expose.css({
+ top: el.offset().top,
+ left: el.offset().left,
+ width: this.outerWidth(el, true),
+ height: this.outerHeight(el, true)
+ });
+
+ exposeCover = $(this.settings.template.exposeCover);
+
+ origCSS = {
+ zIndex: el.css('z-index'),
+ position: el.css('position')
+ };
+
+ origClasses = el.attr('class') == null ? '' : el.attr('class');
+
+ el.css('z-index',parseInt(expose.css('z-index'))+1);
+
+ if (origCSS.position == 'static') {
+ el.css('position','relative');
+ }
+
+ el.data('expose-css',origCSS);
+ el.data('orig-class', origClasses);
+ el.attr('class', origClasses + ' ' + this.settings.exposeAddClass);
+
+ exposeCover.css({
+ top: el.offset().top,
+ left: el.offset().left,
+ width: this.outerWidth(el, true),
+ height: this.outerHeight(el, true)
+ });
+
+ this.settings.$body.append(exposeCover);
+ expose.addClass(randId);
+ exposeCover.addClass(randId);
+ el.data('expose', randId);
+ this.settings.postExposeCallback(this.settings.$li.index(), this.settings.$next_tip, el);
+ this.add_exposed(el);
+ },
+
+ un_expose : function () {
+ var exposeId,
+ el,
+ expose ,
+ origCSS,
+ origClasses,
+ clearAll = false;
+
+ if (arguments.length > 0 && arguments[0] instanceof $) {
+ el = arguments[0];
+ } else if(this.settings.$target && !/body/i.test(this.settings.$target.selector)){
+ el = this.settings.$target;
+ } else {
+ return false;
+ }
+
+ if(el.length < 1){
+ if (window.console) {
+ console.error('element not valid', el);
+ }
+ return false;
+ }
+
+ exposeId = el.data('expose');
+ expose = $('.' + exposeId);
+
+ if (arguments.length > 1) {
+ clearAll = arguments[1];
+ }
+
+ if (clearAll === true) {
+ $('.joyride-expose-wrapper,.joyride-expose-cover').remove();
+ } else {
+ expose.remove();
+ }
+
+ origCSS = el.data('expose-css');
+
+ if (origCSS.zIndex == 'auto') {
+ el.css('z-index', '');
+ } else {
+ el.css('z-index', origCSS.zIndex);
+ }
+
+ if (origCSS.position != el.css('position')) {
+ if(origCSS.position == 'static') {// this is default, no need to set it.
+ el.css('position', '');
+ } else {
+ el.css('position', origCSS.position);
+ }
+ }
+
+ origClasses = el.data('orig-class');
+ el.attr('class', origClasses);
+ el.removeData('orig-classes');
+
+ el.removeData('expose');
+ el.removeData('expose-z-index');
+ this.remove_exposed(el);
+ },
+
+ add_exposed: function(el){
+ this.settings.exposed = this.settings.exposed || [];
+ if (el instanceof $ || typeof el === 'object') {
+ this.settings.exposed.push(el[0]);
+ } else if (typeof el == 'string') {
+ this.settings.exposed.push(el);
+ }
+ },
+
+ remove_exposed: function(el){
+ var search, count;
+ if (el instanceof $) {
+ search = el[0]
+ } else if (typeof el == 'string'){
+ search = el;
+ }
+
+ this.settings.exposed = this.settings.exposed || [];
+ count = this.settings.exposed.length;
+
+ for (var i=0; i < count; i++) {
+ if (this.settings.exposed[i] == search) {
+ this.settings.exposed.splice(i, 1);
+ return;
}
}
},
@@ @@ -537,14 +745,31 @@
corners : function (el) {
var w = $(window),
+ window_half = w.height() / 2,
+ //using this to calculate since scroll may not have finished yet.
+ tipOffset = Math.ceil(this.settings.$target.offset().top - window_half + this.settings.$next_tip.outerHeight()),
right = w.width() + this.scrollLeft(w),
- bottom = w.width() + w.scrollTop();
+ offsetBottom = w.height() + tipOffset,
+ bottom = w.height() + w.scrollTop(),
+ top = w.scrollTop();
+
+ if (tipOffset < top) {
+ if (tipOffset < 0) {
+ top = 0;
+ } else {
+ top = tipOffset;
+ }
+ }
+
+ if (offsetBottom > bottom) {
+ bottom = offsetBottom;
+ }
return [
- el.offset().top <= w.scrollTop(),
- right <= el.offset().left + this.outerWidth(el),
- bottom <= el.offset().top + this.outerHeight(el),
- this.scrollLeft(w) >= el.offset().left
+ el.offset().top < top,
+ right < el.offset().left + el.outerWidth(),
+ bottom < el.offset().top + el.outerHeight(),
+ this.scrollLeft(w) > el.offset().left
];
},
@@ @@ -587,12 +812,17 @@
clearTimeout(this.settings.automate);
}
+ if (this.settings.modal && this.settings.expose) {
+ this.un_expose();
+ }
+
this.settings.$next_tip.data('closed', true);
$('.joyride-modal-bg').hide();
this.settings.$current_tip.hide();
this.settings.postStepCallback(this.settings.$li.index(), this.settings.$current_tip);
this.settings.postRideCallback(this.settings.$li.index(), this.settings.$current_tip);
+ $('.joyride-tip-guide').remove();
},
outerHTML : function (el) {
@@ @@ -607,6 +837,8 @@
$('.joyride-tip-guide, .joyride-modal-bg').remove();
clearTimeout(this.settings.automate);
this.settings = {};
- }
+ },
+
+ reflow : function () {}
};
}(Foundation.zj, this, this.document));
generators/foundation/public/javascripts/foundation/foundation.js +130 -55
@@ @@ -13,21 +13,64 @@
// See http://docs.jquery.com/Using_jQuery_with_Other_Libraries
// and http://zeptojs.com/
var libFuncName = null;
+
if (typeof jQuery === "undefined" &&
typeof Zepto === "undefined" &&
typeof $ === "function") {
- libFuncName = $;
+ libFuncName = $;
} else if (typeof jQuery === "function") {
- libFuncName = jQuery;
+ libFuncName = jQuery;
} else if (typeof Zepto === "function") {
- libFuncName = Zepto;
+ libFuncName = Zepto;
} else {
- throw new TypeError();
+ throw new TypeError();
}
- (function ($) {
+ (function ($, window, document, undefined) {
+ 'use strict';
+
+ /*
+ matchMedia() polyfill - Test a CSS media
+ type/query in JS. Authors & copyright (c) 2012:
+ Scott Jehl, Paul Irish, Nicholas Zakas.
+ Dual MIT/BSD license
+
+ https://github.com/paulirish/matchMedia.js
+ */
+
+ window.matchMedia = window.matchMedia || (function( doc, undefined ) {
+
+ "use strict";
+
+ var bool,
+ docElem = doc.documentElement,
+ refNode = docElem.firstElementChild || docElem.firstChild,
+ // fakeBody required for <FF4 when executed in <head>
+ fakeBody = doc.createElement( "body" ),
+ div = doc.createElement( "div" );
+
+ div.id = "mq-test-1";
+ div.style.cssText = "position:absolute;top:-100em";
+ fakeBody.style.background = "none";
+ fakeBody.appendChild(div);
+
+ return function(q){
+
+ div.innerHTML = "&shy;<style media=\"" + q + "\"> #mq-test-1 { width: 42px; }</style>";
+
+ docElem.insertBefore( fakeBody, refNode );
+ bool = div.offsetWidth === 42;
+ docElem.removeChild( fakeBody );
+
+ return {
+ matches: bool,
+ media: q
+ };
+
+ };
+
+ }( document ));
- (function () {
// add dusty browser stuff
if (!Array.prototype.filter) {
Array.prototype.filter = function(fun /*, thisp */) {
@@ @@ -36,17 +79,13 @@ if (typeof jQuery === "undefined" &&
if (this == null) {
throw new TypeError();
}
-
+
var t = Object(this),
len = t.length >>> 0;
if (typeof fun != "function") {
- try {
- throw new TypeError();
- } catch (e) {
return;
- }
}
-
+
var res = [],
thisp = arguments[1];
for (var i = 0; i < len; i++) {
@@ @@ -57,32 +96,65 @@ if (typeof jQuery === "undefined" &&
}
}
}
-
+
return res;
+ }
+ }
+
+ if (!Function.prototype.bind) {
+ Function.prototype.bind = function (oThis) {
+ if (typeof this !== "function") {
+ // closest thing possible to the ECMAScript 5 internal IsCallable function
+ throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");
+ }
+
+ var aArgs = Array.prototype.slice.call(arguments, 1),
+ fToBind = this,
+ fNOP = function () {},
+ fBound = function () {
+ return fToBind.apply(this instanceof fNOP && oThis
+ ? this
+ : oThis,
+ aArgs.concat(Array.prototype.slice.call(arguments)));
+ };
+
+ fNOP.prototype = this.prototype;
+ fBound.prototype = new fNOP();
+
+ return fBound;
};
+ }
- if (!Function.prototype.bind) {
- Function.prototype.bind = function (oThis) {
- if (typeof this !== "function") {
- // closest thing possible to the ECMAScript 5 internal IsCallable function
- throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");
+ if (!Array.prototype.indexOf) {
+ Array.prototype.indexOf = function (searchElement /*, fromIndex */ ) {
+ "use strict";
+ if (this == null) {
+ throw new TypeError();
+ }
+ var t = Object(this);
+ var len = t.length >>> 0;
+ if (len === 0) {
+ return -1;
+ }
+ var n = 0;
+ if (arguments.length > 1) {
+ n = Number(arguments[1]);
+ if (n != n) { // shortcut for verifying if it's NaN
+ n = 0;
+ } else if (n != 0 && n != Infinity && n != -Infinity) {
+ n = (n > 0 || -1) * Math.floor(Math.abs(n));
}
-
- var aArgs = Array.prototype.slice.call(arguments, 1),
- fToBind = this,
- fNOP = function () {},
- fBound = function () {
- return fToBind.apply(this instanceof fNOP && oThis
- ? this
- : oThis,
- aArgs.concat(Array.prototype.slice.call(arguments)));
- };
-
- fNOP.prototype = this.prototype;
- fBound.prototype = new fNOP();
-
- return fBound;
- };
+ }
+ if (n >= len) {
+ return -1;
+ }
+ var k = n >= 0 ? n : Math.max(len - Math.abs(n), 0);
+ for (; k < len; k++) {
+ if (k in t && t[k] === searchElement) {
+ return k;
+ }
+ }
+ return -1;
}
}
@@ @@ -90,17 +162,12 @@ if (typeof jQuery === "undefined" &&
$.fn.stop = $.fn.stop || function() {
return this;
};
- }());
-
- ;(function (window, document, undefined) {
- 'use strict';
window.Foundation = {
name : 'Foundation',
- version : '4.0.8',
+ version : '4.2.0',
- // global Foundation cache object
cache : {},
init : function (scope, libraries, method, options, response, /* internal */ nc) {
@@ @@ -108,15 +175,18 @@ if (typeof jQuery === "undefined" &&
args = [scope, method, options, response],
responses = [],
nc = nc || false;
-
+
// disable library error catching,
// used for development only
if (nc) this.nc = nc;
+ // check RTL
+ this.rtl = /rtl/i.test($('html').attr('dir'));
+
// set foundation global scope
this.scope = scope || this.scope;
- if (libraries && typeof libraries === 'string') {
+ if (libraries && typeof libraries === 'string' && !/reflow/i.test(libraries)) {
if (/off/i.test(libraries)) return this.off();
library_arr = libraries.split(' ');
@@ @@ -127,6 +197,8 @@ if (typeof jQuery === "undefined" &&
}
}
} else {
+ if (/reflow/i.test(libraries)) args[1] = 'reflow';
+
for (var lib in this.libs) {
responses.push(this.init_lib(lib, args));
}
@@ @@ -141,9 +213,9 @@ if (typeof jQuery === "undefined" &&
},
response_obj : function (response_arr, args) {
- for (var callback in args) {
- if (typeof args[callback] === 'function') {
- return args[callback]({
+ for (var i = 0, len = args.length; i < len; i++) {
+ if (typeof args[i] === 'function') {
+ return args[i]({
errors: response_arr.filter(function (s) {
if (typeof s === 'string') return s;
})
@@ @@ -160,6 +232,9 @@ if (typeof jQuery === "undefined" &&
this.patch(this.libs[lib]);
return this.libs[lib].init.apply(this.libs[lib], args);
}
+ else {
+ return function () {};
+ }
}.bind(this), lib);
},
@@ @@ -177,6 +252,8 @@ if (typeof jQuery === "undefined" &&
patch : function (lib) {
this.fix_outer(lib);
+ lib.scope = this.scope;
+ lib.rtl = this.rtl;
},
inherit : function (scope, methods) {
@@ @@ -191,14 +268,14 @@ if (typeof jQuery === "undefined" &&
random_str : function (length) {
var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz'.split('');
-
+
if (!length) {
- length = Math.floor(Math.random() * chars.length);
+ length = Math.floor(Math.random() * chars.length);
}
-
+
var str = '';
for (var i = 0; i < length; i++) {
- str += chars[Math.floor(Math.random() * chars.length)];
+ str += chars[Math.floor(Math.random() * chars.length)];
}
return str;
},
@@ @@ -350,13 +427,13 @@ if (typeof jQuery === "undefined" &&
},
zj : function () {
- try {
+ if (typeof Zepto !== 'undefined') {
return Zepto;
- } catch (e) {
+ } else {
return jQuery;
}
}()
- },
+ };
$.fn.foundation = function () {
var args = Array.prototype.slice.call(arguments, 0);
@@ @@ -367,6 +444,4 @@ if (typeof jQuery === "undefined" &&
});
};
- }(this, this.document));
-
- })(libFuncName);
+ }(libFuncName, this, this.document));
generators/foundation/public/javascripts/foundation/foundation.magellan.js +6 -4
@@ @@ -6,7 +6,7 @@
Foundation.libs.magellan = {
name : 'magellan',
- version : '4.0.0',
+ version : '4.2.0',
settings : {
activeClass: 'active'
@@ @@ -54,7 +54,7 @@
.on('update-position.fndtn.magellan', function(){
var $el = $(this);
// $el.data("magellan-fixed-position","");
- //$el.data("magellan-top-offset", "");
+ // $el.data("magellan-top-offset", "");
})
.trigger('update-position');
@@ @@ -125,6 +125,8 @@
off : function () {
$(this.scope).off('.fndtn.magellan');
- }
+ },
+
+ reflow : function () {}
};
- }(Foundation.zj, this, this.document));
+ }(Foundation.zj, this, this.document));
\ No newline at end of file
generators/foundation/public/javascripts/foundation/foundation.orbit.js +38 -13
@@ @@ -6,13 +6,17 @@
Foundation.libs.orbit = {
name: 'orbit',
- version: '4.0.0',
+ version: '4.2.0',
settings: {
timer_speed: 10000,
+ pause_on_hover: true,
+ resume_on_mouseout: false,
animation_speed: 500,
bullets: true,
stack_on_small: true,
+ navigation_arrows: true,
+ slide_number: true,
container_class: 'orbit-container',
stack_on_small_class: 'orbit-stack-on-small',
next_class: 'orbit-next',
@@ @@ -37,6 +41,11 @@
$.extend(true, self.settings, method);
}
+ if ($(scope).is('[data-orbit]')) {
+ var scoped_self = $.extend(true, {}, self);
+ scoped_self._init(idx, el);
+ }
+
$('[data-orbit]', scope).each(function(idx, el) {
var scoped_self = $.extend(true, {}, self);
scoped_self._init(idx, el);
@@ @@ -97,13 +106,17 @@
$.extend(true, self.settings, self.data_options($slides_container));
- $container.append(self._prev_html());
- $container.append(self._next_html());
+ if (self.settings.navigation_arrows) {
+ $container.append(self._prev_html());
+ $container.append(self._next_html());
+ }
$slides_container.addClass(self.settings.slides_container_class);
if (self.settings.stack_on_small) {
$container.addClass(self.settings.stack_on_small_class);
}
- $container.append(self._slide_number_html(1, $slides.length));
+ if (self.settings.slide_number) {
+ $container.append(self._slide_number_html(1, $slides.length));
+ }
$container.append(self._timer_html());
if (self.settings.bullets) {
$container.after(self._bullets_container_html($slides));
@@ @@ -113,7 +126,7 @@
$slides_container.append($slides.first().clone().attr('data-orbit-slide',''));
$slides_container.prepend($slides.last().clone().attr('data-orbit-slide',''));
// Make the first "real" slide active
- $slides_container.css('marginLeft', '-100%');
+ $slides_container.css(Foundation.rtl ? 'marginRight' : 'marginLeft', '-100%');
$slides.first().addClass(self.settings.active_slide_class);
self._init_events($slides_container);
@@ @@ -155,6 +168,16 @@
});
$container
+ .on('mouseenter.fndtn.orbit', function(e) {
+ if (self.settings.pause_on_hover) {
+ self._stop_timer($slides_container);
+ }
+ })
+ .on('mouseleave.fndtn.orbit', function(e) {
+ if (self.settings.resume_on_mouseout) {
+ self._start_timer($slides_container);
+ }
+ })
.on('orbit:after-slide-change.fndtn.orbit', function(e, orbit) {
var $slide_number = $container.find('.' + self.settings.slide_number_class);
@@ @@ -261,7 +284,7 @@
$container = $slides_container.parent(),
$timer = $container.find('.' + self.settings.timer_container_class),
$progress = $timer.find('.' + self.settings.timer_progress_class),
- progress_pct = $progress.width() / $timer.width()
+ progress_pct = $progress.width() / $timer.width();
self._rebuild_timer($container, progress_pct * 100 + '%');
// $progress.stop();
$slides_container.trigger('orbit:timer-stopped');
@@ @@ -305,7 +328,8 @@
$container = $slides_container.parent(),
$slides = $slides_container.children(),
$active_slide = $slides_container.find('.' + self.settings.active_slide_class),
- active_index = $active_slide.index();
+ active_index = $active_slide.index(),
+ margin_position = Foundation.rtl ? 'marginRight' : 'marginLeft';
if ($container.hasClass(self.settings.orbit_transition_class)) {
return false;
@@ @@ -326,11 +350,11 @@
active_index = (index_or_direction % $slides.length);
}
if (active_index === ($slides.length - 1) && index_or_direction === 'next') {
- $slides_container.css('marginLeft', '0%');
+ $slides_container.css(margin_position, '0%');
active_index = 1;
}
else if (active_index === 0 && index_or_direction === 'prev') {
- $slides_container.css('marginLeft', '-' + ($slides.length - 1) * 100 + '%');
+ $slides_container.css(margin_position, '-' + ($slides.length - 1) * 100 + '%');
active_index = $slides.length - 2;
}
// Start transition, make next slide active
@@ @@ -347,14 +371,15 @@
// Check to see if animation will occur, otherwise perform
// callbacks manually
$slides_container.trigger('orbit:before-slide-change');
- if ($slides_container.css('marginLeft') === new_margin_left) {
+ if ($slides_container.css(margin_position) === new_margin_left) {
$container.removeClass(self.settings.orbit_transition_class);
$slides_container.trigger('orbit:after-slide-change', [{slide_number: active_index, total_slides: $slides_container.children().length - 2}]);
callback();
} else {
- $slides_container.animate({
- 'marginLeft' : new_margin_left
- }, self.settings.animation_speed, 'linear', function() {
+ var properties = {};
+ properties[margin_position] = new_margin_left;
+
+ $slides_container.animate(properties, self.settings.animation_speed, 'linear', function() {
$container.removeClass(self.settings.orbit_transition_class);
$slides_container.trigger('orbit:after-slide-change', [{slide_number: active_index, total_slides: $slides_container.children().length - 2}]);
callback();
generators/foundation/public/javascripts/foundation/foundation.placeholder.js +1 -1
@@ @@ -156,4 +156,4 @@
}
}
- }(this, document, Foundation.zj));
+ }(this, document, Foundation.zj));
\ No newline at end of file
generators/foundation/public/javascripts/foundation/foundation.reveal.js +74 -14
@@ @@ -6,7 +6,7 @@
Foundation.libs.reveal = {
name: 'reveal',
- version : '4.0.9',
+ version : '4.2.0',
locked : false,
@@ @@ -14,6 +14,7 @@
animation: 'fadeAndPop',
animationSpeed: 250,
closeOnBackgroundClick: true,
+ closeOnEsc: true,
dismissModalClass: 'close-reveal-modal',
bgClass: 'reveal-modal-bg',
open: function(){},
@@ @@ -36,11 +37,12 @@
},
init : function (scope, method, options) {
- this.scope = scope || this.scope;
Foundation.inherit(this, 'data_options delay');
if (typeof method === 'object') {
$.extend(true, this.settings, method);
+ } else if (typeof options !== 'undefined') {
+ $.extend(true, this.settings, options);
}
if (typeof method != 'string') {
@@ @@ -59,14 +61,30 @@
.off('.fndtn.reveal')
.on('click.fndtn.reveal', '[data-reveal-id]', function (e) {
e.preventDefault();
+
if (!self.locked) {
+ var element = $(this),
+ ajax = element.data('reveal-ajax');
+
self.locked = true;
- self.open.call(self, $(this));
+
+ if (typeof ajax === 'undefined') {
+ self.open.call(self, element);
+ } else {
+ var url = ajax === true ? element.attr('href') : ajax;
+
+ self.open.call(self, element, {url: url});
+ }
}
})
.on('click.fndtn.reveal touchend.click.fndtn.reveal', this.close_targets(), function (e) {
e.preventDefault();
if (!self.locked) {
+ var settings = $.extend({}, self.settings, self.data_options($('.reveal-modal.open')));
+ if ($(e.target)[0] === $('.' + settings.bgClass)[0] && !settings.closeOnBackgroundClick) {
+ return;
+ }
+
self.locked = true;
self.close.call(self, $(this).closest('.reveal-modal'));
}
@@ @@ -78,12 +96,26 @@
.on('closed.fndtn.reveal', '.reveal-modal', this.settings.closed)
.on('closed.fndtn.reveal', '.reveal-modal', this.close_video);
+ $( 'body' ).bind( 'keyup.reveal', function ( event ) {
+ var open_modal = $('.reveal-modal.open'),
+ settings = $.extend({}, self.settings, self.data_options(open_modal));
+ if ( event.which === 27 && settings.closeOnEsc) { // 27 is the keycode for the Escape key
+ open_modal.foundation('reveal', 'close');
+ }
+ });
+
return true;
},
- open : function (target) {
+ open : function (target, ajax_settings) {
if (target) {
- var modal = $('#' + target.data('reveal-id'));
+ if (typeof target.selector !== 'undefined') {
+ var modal = $('#' + target.data('reveal-id'));
+ } else {
+ var modal = $(this.scope);
+
+ ajax_settings = target;
+ }
} else {
var modal = $(this.scope);
}
@@ @@ -101,14 +133,36 @@
if (open_modal.length < 1) {
this.toggle_bg(modal);
}
- this.hide(open_modal, this.settings.css.open);
- this.show(modal, this.settings.css.open);
+
+ if (typeof ajax_settings === 'undefined' || !ajax_settings.url) {
+ this.hide(open_modal, this.settings.css.close);
+ this.show(modal, this.settings.css.open);
+ } else {
+ var self = this,
+ old_success = typeof ajax_settings.success !== 'undefined' ? ajax_settings.success : null;
+
+ $.extend(ajax_settings, {
+ success: function (data, textStatus, jqXHR) {
+ if ( $.isFunction(old_success) ) {
+ old_success(data, textStatus, jqXHR);
+ }
+
+ modal.html(data);
+ $(modal).foundation('section', 'reflow');
+
+ self.hide(open_modal, self.settings.css.close);
+ self.show(modal, self.settings.css.open);
+ }
+ });
+
+ $.ajax(ajax_settings);
+ }
}
},
close : function (modal) {
- var modal = modal || $(this.scope),
+ var modal = modal && modal.length ? modal : $(this.scope),
open_modals = $('.reveal-modal.open');
if (open_modals.length > 0) {
@@ @@ -132,7 +186,7 @@
toggle_bg : function (modal) {
if ($('.reveal-modal-bg').length === 0) {
this.settings.bg = $('<div />', {'class': this.settings.bgClass})
- .insertAfter(modal);
+ .appendTo('body');
}
if (this.settings.bg.filter(':visible').length > 0) {
@@ @@ -150,7 +204,7 @@
var end_css = {
top: $(window).scrollTop() + el.data('css-top') + 'px',
opacity: 1
- }
+ };
return this.delay(function () {
return el
@@ @@ -238,7 +292,7 @@
if (iframe.length > 0) {
iframe.attr('data-src', iframe[0].src);
iframe.attr('src', 'about:blank');
- video.fadeOut(100).hide();
+ video.hide();
}
},
@@ @@ -250,8 +304,12 @@
var data_src = iframe.attr('data-src');
if (typeof data_src === 'string') {
iframe[0].src = iframe.attr('data-src');
+ } else {
+ var src = iframe[0].src;
+ iframe[0].src = undefined;
+ iframe[0].src = src;
}
- video.show().fadeIn(100);
+ video.show();
}
},
@@ @@ -265,6 +323,8 @@
off : function () {
$(this.scope).off('.fndtn.reveal');
- }
+ },
+
+ reflow : function () {}
};
- }(Foundation.zj, this, this.document));
+ }(Foundation.zj, this, this.document));
\ No newline at end of file
generators/foundation/public/javascripts/foundation/foundation.section.js +210 -66
@@ @@ -6,19 +6,27 @@
Foundation.libs.section = {
name: 'section',
- version : '4.0.9',
+ version : '4.2.0',
settings : {
deep_linking: false,
one_up: true,
+ section_selector : '[data-section]',
+ region_selector : 'section, .section, [data-section-region]',
+ title_selector : '.title, [data-section-title]',
+ active_region_selector : 'section.active, .section.active, .active[data-section-region]',
+ content_selector : '.content, [data-section-content]',
+ nav_selector : '[data-section="vertical-nav"], [data-section="horizontal-nav"]',
callback: function (){}
},
init : function (scope, method, options) {
var self = this;
+ Foundation.inherit(this, 'throttle data_options position_right offset_right');
- this.scope = scope || this.scope;
- Foundation.inherit(this, 'throttle data_options');
+ if (typeof method === 'object') {
+ $.extend(true, self.settings, method);
+ }
if (typeof method != 'string') {
this.set_active_from_hash();
@@ @@ -34,11 +42,14 @@
var self = this;
$(this.scope)
- .on('click.fndtn.section', '[data-section] .title', function (e) {
+ .on('click.fndtn.section', '[data-section] .title, [data-section] [data-section-title]', function (e) {
var $this = $(this),
- section = $this.closest('[data-section]');
+ section = $this.closest(self.settings.region_selector);
- self.toggle_active.call(this, e, self);
+ if (section.children(self.settings.content_selector).length > 0) {
+ self.toggle_active.call(this, e, self);
+ self.reflow();
+ }
});
$(window)
@@ @@ -54,9 +65,9 @@
$(document)
.on('click.fndtn.section', function (e) {
- if ($(e.target).closest('.title').length < 1) {
- $('[data-section="vertical-nav"], [data-section="horizontal-nav"]')
- .find('section, .section')
+ if ($(e.target).closest(self.settings.title_selector).length < 1) {
+ $(self.settings.nav_selector)
+ .children(self.settings.region_selector)
.removeClass('active')
.attr('style', '');
}
@@ @@ -66,11 +77,13 @@
toggle_active : function (e, self) {
var $this = $(this),
- section = $this.closest('section, .section'),
- content = section.find('.content'),
- parent = section.closest('[data-section]'),
self = Foundation.libs.section,
- settings = $.extend({}, self.settings, self.data_options(parent));
+ region = $this.closest(self.settings.region_selector),
+ content = $this.siblings(self.settings.content_selector),
+ parent = region.parent(),
+ settings = $.extend({}, self.settings, self.data_options(parent)),
+ prev_active_section = parent
+ .children(self.settings.active_region_selector);
self.settings.toggled = true;
@@ @@ -78,39 +91,60 @@
e.preventDefault();
}
- if (section.hasClass('active')) {
+ if (region.hasClass('active')) {
+ // this is causing the style flash.
if (self.small(parent)
- || self.is_vertical(parent)
- || self.is_horizontal(parent)
+ || self.is_vertical_nav(parent)
+ || self.is_horizontal_nav(parent)
|| self.is_accordion(parent)) {
- section
- .removeClass('active')
- .attr('style', '');
+ if (prev_active_section[0] !== region[0]
+ || (prev_active_section[0] === region[0] && !settings.one_up)) {
+ region
+ .removeClass('active')
+ .attr('style', '');
+ }
}
} else {
- var prev_active_section = null,
- title_height = self.outerHeight(section.find('.title'));
+ var prev_active_section = parent
+ .children(self.settings.active_region_selector),
+ title_height = self.outerHeight(region
+ .children(self.settings.title_selector));
if (self.small(parent) || settings.one_up) {
- prev_active_section = $this.closest('[data-section]').find('section.active, .section.active');
if (self.small(parent)) {
prev_active_section.attr('style', '');
} else {
- prev_active_section.attr('style', 'visibility: hidden; padding-top: '+title_height+'px;');
+ prev_active_section.attr('style',
+ 'visibility: hidden; padding-top: '+title_height+'px;');
}
}
if (self.small(parent)) {
- section.attr('style', '');
+ region.attr('style', '');
} else {
- section.css('padding-top', title_height);
+ region.css('padding-top', title_height);
+ }
+
+ region.addClass('active');
+
+ if (prev_active_section.length > 0) {
+ prev_active_section
+ .removeClass('active')
+ .attr('style', '');
}
- section.addClass('active');
+ // Toggle the content display attribute. This is done to
+ // ensure accurate outerWidth measurements that account for
+ // the scrollbar.
+ if (self.is_vertical_tabs(parent)) {
+ content.css('display', 'block');
- if (prev_active_section !== null) {
- prev_active_section.removeClass('active').attr('style', '');
+ if (prev_active_section !== null) {
+ prev_active_section
+ .children(self.settings.content_selector)
+ .css('display', 'none');
+ }
}
}
@@ @@ -122,12 +156,13 @@
},
resize : function () {
- var sections = $('[data-section]'),
- self = Foundation.libs.section;
+ var self = Foundation.libs.section,
+ sections = $(self.settings.section_selector);
sections.each(function() {
var $this = $(this),
- active_section = $this.find('section.active, .section.active'),
+ active_section = $this
+ .children(self.settings.active_region_selector),
settings = $.extend({}, self.settings, self.data_options($this));
if (active_section.length > 1) {
@@ @@ -136,29 +171,35 @@
.removeClass('active')
.attr('style', '');
} else if (active_section.length < 1
- && !self.is_vertical($this)
- && !self.is_horizontal($this)
+ && !self.is_vertical_nav($this)
+ && !self.is_horizontal_nav($this)
&& !self.is_accordion($this)) {
- var first = $this.find('section, .section').first();
- first.addClass('active');
+ var first = $this.children(self.settings.region_selector).first();
+
+ if (settings.one_up || !self.small($this)) {
+ first.addClass('active');
+ }
if (self.small($this)) {
first.attr('style', '');
} else {
- first.css('padding-top', self.outerHeight(first.find('.title')));
+ first.css('padding-top', self.outerHeight(first
+ .children(self.settings.title_selector)));
}
}
if (self.small($this)) {
active_section.attr('style', '');
} else {
- active_section.css('padding-top', self.outerHeight(active_section.find('.title')));
+ active_section.css('padding-top', self.outerHeight(active_section
+ .children(self.settings.title_selector)));
}
self.position_titles($this);
- if (self.is_horizontal($this) && !self.small($this)) {
+ if ( (self.is_horizontal_nav($this) && !self.small($this))
+ || self.is_vertical_tabs($this) && !self.small($this)) {
self.position_content($this);
} else {
self.position_content($this, false);
@@ @@ -166,11 +207,11 @@
});
},
- is_vertical : function (el) {
+ is_vertical_nav : function (el) {
return /vertical-nav/i.test(el.data('section'));
},
- is_horizontal : function (el) {
+ is_horizontal_nav : function (el) {
return /horizontal-nav/i.test(el.data('section'));
},
@@ @@ -178,35 +219,55 @@
return /accordion/i.test(el.data('section'));
},
- is_tabs : function (el) {
- return /tabs/i.test(el.data('section'));
+ is_horizontal_tabs : function (el) {
+ return /^tabs$/i.test(el.data('section'));
+ },
+
+ is_vertical_tabs : function (el) {
+ return /vertical-tabs/i.test(el.data('section'));
},
set_active_from_hash : function () {
var hash = window.location.hash.substring(1),
sections = $('[data-section]'),
self = this;
-
sections.each(function () {
var section = $(this),
settings = $.extend({}, self.settings, self.data_options(section));
if (hash.length > 0 && settings.deep_linking) {
- section
- .find('section, .section')
+ var regions = section
+ .children(self.settings.region_selector)
.attr('style', '')
.removeClass('active');
- section
- .find('.content[data-slug="' + hash + '"]')
- .closest('section, .section')
- .addClass('active');
+
+ var hash_regions = regions.map(function () {
+ var content = $(self.settings.content_selector, this),
+ content_slug = content.data('slug');
+
+ if (new RegExp(content_slug, 'i').test(hash))
+ return content;
+ });
+
+
+ var count = hash_regions.length;
+
+ for (var i = count - 1; i >= 0; i--) {
+ $(hash_regions[i]).parent().addClass('active');
+ }
}
});
},
position_titles : function (section, off) {
- var titles = section.find('.title'),
+ var self = this,
+ titles = section
+ .children(this.settings.region_selector)
+ .map(function () {
+ return $(this).children(self.settings.title_selector);
+ }),
previous_width = 0,
+ previous_height = 0,
self = this;
if (typeof off === 'boolean') {
@@ @@ -214,41 +275,124 @@
} else {
titles.each(function () {
- $(this).css('left', previous_width);
- previous_width += self.outerWidth($(this));
+ if (self.is_vertical_tabs(section)) {
+ $(this).css('top', previous_height);
+ previous_height += self.outerHeight($(this));
+ } else {
+ if (!self.rtl) {
+ $(this).css('left', previous_width);
+ } else {
+ $(this).css('right', previous_width);
+ }
+ previous_width += self.outerWidth($(this));
+ }
});
}
},
position_content : function (section, off) {
- var titles = section.find('.title'),
- content = section.find('.content'),
- self = this;
+ var self = this,
+ regions = section.children(self.settings.region_selector),
+ titles = regions
+ .map(function () {
+ return $(this).children(self.settings.title_selector);
+ }),
+ content = regions
+ .map(function () {
+ return $(this).children(self.settings.content_selector);
+ });
if (typeof off === 'boolean') {
content.attr('style', '');
section.attr('style', '');
} else {
- section.find('section, .section').each(function () {
- var title = $(this).find('.title'),
- content = $(this).find('.content');
+ if (self.is_vertical_tabs(section)
+ && !self.small(section)) {
+ var content_min_height = 0,
+ content_min_width = Number.MAX_VALUE,
+ title_width = null;
+
+ regions.each(function () {
+ var region = $(this),
+ title = region.children(self.settings.title_selector),
+ content = region.children(self.settings.content_selector),
+ content_width = 0;
+
+ title_width = self.outerWidth(title);
+ content_width = self.outerWidth(section) - title_width;
+
+ if (content_width < content_min_width) {
+ content_min_width = content_width;
+ }
+
+ // Increment the minimum height of the content region
+ // to align with the height of the titles.
+ content_min_height += self.outerHeight(title);
+
+ // Set all of the inactive tabs to 'display: none'
+ // The CSS sets all of the tabs as 'display: block'
+ // in order to account for scrollbars when measuring the width
+ // of the content regions.
+ if (!$(this).hasClass('active')) {
+ content.css('display', 'none');
+ }
+ });
+
+ regions.each(function () {
+ var content = $(this).children(self.settings.content_selector);
+ content.css('minHeight', content_min_height);
+
+ // Remove 2 pixels to account for the right-shift in the CSS
+ content.css('maxWidth', content_min_width - 2);
+ });
- content.css({left: title.position().left - 1, top: self.outerHeight(title) - 2});
- });
-
- // temporary work around for Zepto outerheight calculation issues.
- if (typeof Zepto === 'function') {
- section.height(this.outerHeight(titles.first()));
} else {
- section.height(this.outerHeight(titles.first()) - 2);
+ regions.each(function () {
+ var region = $(this),
+ title = region.children(self.settings.title_selector),
+ content = region.children(self.settings.content_selector);
+ if (!self.rtl) {
+ content
+ .css({left: title.position().left - 1,
+ top: self.outerHeight(title) - 2});
+ } else {
+ content
+ .css({right: self.position_right(title) + 1,
+ top: self.outerHeight(title) - 2});
+ }
+ });
+
+ // temporary work around for Zepto outerheight calculation issues.
+ if (typeof Zepto === 'function') {
+ section.height(this.outerHeight($(titles[0])));
+ } else {
+ section.height(this.outerHeight($(titles[0])) - 2);
+ }
}
}
+ },
+
+ position_right : function (el) {
+ var self = this,
+ section = el.closest(this.settings.section_selector),
+ regions = section.children(this.settings.region_selector),
+ section_width = el.closest(this.settings.section_selector).width(),
+ offset = regions
+ .map(function () {
+ return $(this).children(self.settings.title_selector);
+ }).length;
+ return (section_width - el.position().left - el.width() * (el.index() + 1) - offset);
+ },
+ reflow : function (scope) {
+ var scope = scope || document;
+ $(this.settings.section_selector, scope).trigger('resize');
},
small : function (el) {
var settings = $.extend({}, this.settings, this.data_options(el));
- if (this.is_tabs(el)) {
+
+ if (this.is_horizontal_tabs(el)) {
return false;
}
if (el && this.is_accordion(el)) {
generators/foundation/public/javascripts/foundation/foundation.tooltips.js +25 -12
@@ @@ -6,12 +6,14 @@
Foundation.libs.tooltips = {
name: 'tooltips',
- version : '4.0.2',
+ version : '4.2.0',
settings : {
selector : '.has-tip',
additionalInheritableClasses : [],
tooltipClass : '.tooltip',
+ appendTo: 'body',
+ 'disable-for-touch': false,
tipTemplate : function (selector, content) {
return '<span data-selector="' + selector + '" class="'
+ Foundation.libs.tooltips.settings.tooltipClass.substring(1)
@@ @@ -22,11 +24,13 @@
cache : {},
init : function (scope, method, options) {
+ Foundation.inherit(this, 'data_options');
var self = this;
- this.scope = scope || this.scope;
if (typeof method === 'object') {
$.extend(true, this.settings, method);
+ } else if (typeof options !== 'undefined') {
+ $.extend(true, this.settings, options);
}
if (typeof method != 'string') {
@@ @@ -34,9 +38,12 @@
$(this.scope)
.on('click.fndtn.tooltip touchstart.fndtn.tooltip touchend.fndtn.tooltip',
'[data-tooltip]', function (e) {
- e.preventDefault();
- $(self.settings.tooltipClass).hide();
- self.showOrCreateTip($(this));
+ var settings = $.extend({}, self.settings, self.data_options($(this)));
+ if (!settings['disable-for-touch']) {
+ e.preventDefault();
+ $(settings.tooltipClass).hide();
+ self.showOrCreateTip($(this));
+ }
})
.on('click.fndtn.tooltip touchstart.fndtn.tooltip touchend.fndtn.tooltip',
this.settings.tooltipClass, function (e) {
@@ @@ -49,7 +56,7 @@
'[data-tooltip]', function (e) {
var $this = $(this);
- if (e.type === 'mouseover' || e.type === 'mouseenter') {
+ if (/enter|over/i.test(e.type)) {
self.showOrCreateTip($this);
} else if (e.type === 'mouseout' || e.type === 'mouseleave') {
self.hide($this);
@@ @@ -79,7 +86,7 @@
tip = null;
if (selector) {
- tip = $('span[data-selector=' + selector + ']' + this.settings.tooltipClass);
+ tip = $('span[data-selector="' + selector + '"]' + this.settings.tooltipClass);
}
return (typeof tip === 'object') ? tip : false;
@@ @@ -98,10 +105,10 @@
},
create : function ($target) {
- var $tip = $(this.settings.tipTemplate(this.selector($target), $('<div>').html($target.attr('title')).html())),
+ var $tip = $(this.settings.tipTemplate(this.selector($target), $('<div></div>').html($target.attr('title')).html())),
classes = this.inheritable_classes($target);
- $tip.addClass(classes).appendTo('body');
+ $tip.addClass(classes).appendTo(this.settings.appendTo);
if (Modernizr.touch) {
$tip.append('<span class="tap-to-close">tap to close </span>');
}
@@ @@ -136,10 +143,14 @@
tip.addClass('tip-override');
objPos(nub, -nubHeight, 'auto', 'auto', target.offset().left);
} else {
- objPos(tip, (target.offset().top + this.outerHeight(target) + 10), 'auto', 'auto', target.offset().left, width);
+ var left = target.offset().left;
+ if (Foundation.rtl) {
+ left = target.offset().left + target.offset().width - this.outerWidth(tip);
+ }
+ objPos(tip, (target.offset().top + this.outerHeight(target) + 10), 'auto', 'auto', left, width);
tip.removeClass('tip-override');
if (classes && classes.indexOf('tip-top') > -1) {
- objPos(tip, (target.offset().top - this.outerHeight(tip)), 'auto', 'auto', target.offset().left, width)
+ objPos(tip, (target.offset().top - this.outerHeight(tip)), 'auto', 'auto', left, width)
.removeClass('tip-override');
} else if (classes && classes.indexOf('tip-left') > -1) {
objPos(tip, (target.offset().top + (this.outerHeight(target) / 2) - nubHeight*2.5), 'auto', 'auto', (target.offset().left - this.outerWidth(tip) - nubHeight), width)
@@ @@ -190,6 +201,8 @@
$(this.settings.tooltipClass).each(function (i) {
$('[data-tooltip]').get(i).attr('title', $(this).text());
}).remove();
- }
+ },
+
+ reflow : function () {}
};
}(Foundation.zj, this, this.document));
generators/foundation/public/javascripts/foundation/foundation.topbar.js +126 -54
@@ @@ -6,33 +6,36 @@
Foundation.libs.topbar = {
name : 'topbar',
- version : '4.0.0',
+ version : '4.2.0',
settings : {
index : 0,
stickyClass : 'sticky',
custom_back_text: true,
back_text: 'Back',
+ is_hover: true,
+ scrolltop : true, // jump to top when sticky nav menu toggle is clicked
init : false
},
- init : function (scope, method, options) {
+ init : function (section, method, options) {
+ Foundation.inherit(this, 'data_options');
var self = this;
- this.scope = scope || this.scope;
if (typeof method === 'object') {
$.extend(true, this.settings, method);
+ } else if (typeof options !== 'undefined') {
+ $.extend(true, this.settings, options);
}
if (typeof method != 'string') {
- $('.top-bar').each(function () {
+ $('.top-bar, [data-topbar]').each(function () {
+ $.extend(true, self.settings, self.data_options($(this)));
self.settings.$w = $(window);
self.settings.$topbar = $(this);
self.settings.$section = self.settings.$topbar.find('section');
self.settings.$titlebar = self.settings.$topbar.children('ul').first();
-
-
self.settings.$topbar.data('index', 0);
var breakpoint = $("<div class='top-bar-js-breakpoint'/>").insertAfter(self.settings.$topbar);
@@ @@ -59,88 +62,157 @@
events : function () {
var self = this;
- var offst = this.outerHeight($('.top-bar'));
+ var offst = this.outerHeight($('.top-bar, [data-topbar]'));
$(this.scope)
- .on('click.fndtn.topbar', '.top-bar .toggle-topbar', function (e) {
- var topbar = $(this).closest('.top-bar'),
+ .off('.fndtn.topbar')
+ .on('click.fndtn.topbar', '.top-bar .toggle-topbar, [data-topbar] .toggle-topbar', function (e) {
+ var topbar = $(this).closest('.top-bar, [data-topbar]'),
section = topbar.find('section, .section'),
titlebar = topbar.children('ul').first();
- if (!topbar.data('height')) self.largestUL();
-
e.preventDefault();
if (self.breakpoint()) {
+ if (!self.rtl) {
+ section.css({left: '0%'});
+ section.find('>.name').css({left: '100%'});
+ } else {
+ section.css({right: '0%'});
+ section.find('>.name').css({right: '100%'});
+ }
+
+ section.find('li.moved').removeClass('moved');
+ topbar.data('index', 0);
+
topbar
.toggleClass('expanded')
.css('min-height', '');
}
if (!topbar.hasClass('expanded')) {
- section.css({left: '0%'});
- section.find('>.name').css({left: '100%'});
- section.find('li.moved').removeClass('moved');
- topbar.data('index', 0);
- }
-
- if (topbar.parent().hasClass('fixed')) {
+ if (topbar.hasClass('fixed')) {
+ topbar.parent().addClass('fixed');
+ topbar.removeClass('fixed');
+ $('body').css('padding-top',offst);
+ }
+ } else if (topbar.parent().hasClass('fixed')) {
topbar.parent().removeClass('fixed');
+ topbar.addClass('fixed');
$('body').css('padding-top','0');
- window.scrollTo(0);
- } else if (topbar.hasClass('fixed expanded')) {
- topbar.parent().addClass('fixed');
- $('body').css('padding-top',offst);
+
+ if (self.settings.scrolltop) {
+ window.scrollTo(0,0);
+ }
}
+ })
+ .on('mouseenter mouseleave', '.top-bar li', function (e) {
+ if (!self.settings.is_hover) return;
+
+ if (/enter|over/i.test(e.type)) {
+ $(this).addClass('hover');
+ } else {
+ $(this).removeClass('hover');
+ }
})
- .on('click.fndtn.topbar', '.top-bar .has-dropdown>a', function (e) {
- var topbar = $(this).closest('.top-bar'),
- section = topbar.find('section, .section'),
- titlebar = topbar.children('ul').first();
+ .on('click.fndtn.topbar', '.top-bar li.has-dropdown', function (e) {
+ if (self.breakpoint()) return;
+
+ var li = $(this),
+ target = $(e.target),
+ topbar = li.closest('[data-topbar], .top-bar'),
+ is_hover = topbar.data('topbar');
+
+ if (self.settings.is_hover && !Modernizr.touch) return;
- if (Modernizr.touch || self.breakpoint()) {
+ e.stopImmediatePropagation();
+
+ if (target[0].nodeName === 'A' && target.parent().hasClass('has-dropdown')) {
e.preventDefault();
}
+ if (li.hasClass('hover')) {
+ li
+ .removeClass('hover')
+ .find('li')
+ .removeClass('hover');
+ } else {
+ li.addClass('hover');
+ }
+ })
+
+ .on('click.fndtn.topbar', '.top-bar .has-dropdown>a, [data-topbar] .has-dropdown>a', function (e) {
if (self.breakpoint()) {
+ e.preventDefault();
+
var $this = $(this),
+ topbar = $this.closest('.top-bar, [data-topbar]'),
+ section = topbar.find('section, .section'),
+ titlebar = topbar.children('ul').first(),
+ dropdownHeight = $this.next('.dropdown').outerHeight(),
$selectedLi = $this.closest('li');
topbar.data('index', topbar.data('index') + 1);
$selectedLi.addClass('moved');
- section.css({left: -(100 * topbar.data('index')) + '%'});
- section.find('>.name').css({left: 100 * topbar.data('index') + '%'});
- $this.siblings('ul')
- .height(topbar.data('height') + self.outerHeight(titlebar, true));
- topbar
- .css('min-height', topbar.data('height') + self.outerHeight(titlebar, true) * 2)
+ if (!self.rtl) {
+ section.css({left: -(100 * topbar.data('index')) + '%'});
+ section.find('>.name').css({left: 100 * topbar.data('index') + '%'});
+ } else {
+ section.css({right: -(100 * topbar.data('index')) + '%'});
+ section.find('>.name').css({right: 100 * topbar.data('index') + '%'});
+ }
+
+ topbar.css('min-height', self.height($this.siblings('ul')) + self.outerHeight(titlebar, true));
}
- });
+ });
$(window).on('resize.fndtn.topbar', function () {
- if (!this.breakpoint()) {
- $('.top-bar').css('min-height', '');
+ if (!self.breakpoint()) {
+ $('.top-bar, [data-topbar]')
+ .css('min-height', '')
+ .removeClass('expanded')
+ .find('li')
+ .removeClass('hover');
}
}.bind(this));
+ $('body').on('click.fndtn.topbar', function (e) {
+ var parent = $(e.target).closest('[data-topbar], .top-bar');
+
+ if (parent.length > 0) {
+ return;
+ }
+
+ $('.top-bar li, [data-topbar] li').removeClass('hover');
+ });
+
// Go up a level on Click
- $(this.scope).on('click.fndtn', '.top-bar .has-dropdown .back', function (e) {
+ $(this.scope).on('click.fndtn', '.top-bar .has-dropdown .back, [data-topbar] .has-dropdown .back', function (e) {
e.preventDefault();
var $this = $(this),
- topbar = $this.closest('.top-bar'),
+ topbar = $this.closest('.top-bar, [data-topbar]'),
+ titlebar = topbar.children('ul').first(),
section = topbar.find('section, .section'),
$movedLi = $this.closest('li.moved'),
$previousLevelUl = $movedLi.parent();
topbar.data('index', topbar.data('index') - 1);
- section.css({left: -(100 * topbar.data('index')) + '%'});
- section.find('>.name').css({'left': 100 * topbar.data('index') + '%'});
+
+ if (!self.rtl) {
+ section.css({left: -(100 * topbar.data('index')) + '%'});
+ section.find('>.name').css({left: 100 * topbar.data('index') + '%'});
+ } else {
+ section.css({right: -(100 * topbar.data('index')) + '%'});
+ section.find('>.name').css({right: 100 * topbar.data('index') + '%'});
+ }
if (topbar.data('index') === 0) {
topbar.css('min-height', 0);
+ } else {
+ topbar.css('min-height', self.height($previousLevelUl) + self.outerHeight(titlebar, true));
}
setTimeout(function () {
@@ @@ -161,7 +233,13 @@
this.settings.$section.find('.has-dropdown>a').each(function () {
var $link = $(this),
$dropdown = $link.siblings('.dropdown'),
- $titleLi = $('<li class="title back js-generated"><h5><a href="#"></a></h5></li>');
+ url = $link.attr('href');
+
+ if (url && url.length > 1) {
+ var $titleLi = $('<li class="title back js-generated"><h5><a href="#"></a></h5></li><li><a class="parent-link js-generated" href="' + url + '">' + $link.text() +'</a></li>');
+ } else {
+ var $titleLi = $('<li class="title back js-generated"><h5><a href="#"></a></h5></li>');
+ }
// Copy link to subnav
if (self.settings.custom_back_text == true) {
@@ @@ -179,21 +257,13 @@
this.sticky();
},
- largestUL : function () {
- var uls = this.settings.$topbar.find('section ul ul'),
- largest = uls.first(),
- total = 0,
+ height : function (ul) {
+ var total = 0,
self = this;
- uls.each(function () {
- if ($(this).children('li').length > largest.children('li').length) {
- largest = $(this);
- }
- });
-
- largest.children('li').each(function () { total += self.outerHeight($(this), true); });
+ ul.find('> li').each(function () { total += self.outerHeight($(this), true); });
- this.settings.$topbar.data('height', total);
+ return total;
},
sticky : function () {
@@ @@ -220,6 +290,8 @@
off : function () {
$(this.scope).off('.fndtn.topbar');
$(window).off('.fndtn.topbar');
- }
+ },
+
+ reflow : function () {}
};
}(Foundation.zj, this, this.document));
generators/foundation/public/javascripts/vendor/custom.modernizr.js +1 -1
@@ @@ -1,4 +1,4 @@
/* Modernizr 2.6.2 (Custom Build) | MIT & BSD
* Build: http://modernizr.com/download/#-inlinesvg-svg-svgclippaths-touch-shiv-mq-cssclasses-teststyles-prefixes-ie8compat-load
*/
- ;window.Modernizr=function(a,b,c){function y(a){j.cssText=a}function z(a,b){return y(m.join(a+";")+(b||""))}function A(a,b){return typeof a===b}function B(a,b){return!!~(""+a).indexOf(b)}function C(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:A(f,"function")?f.bind(d||b):f}return!1}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m=" -webkit- -moz- -o- -ms- ".split(" "),n={svg:"http://www.w3.org/2000/svg"},o={},p={},q={},r=[],s=r.slice,t,u=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["&#173;",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},v=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return u("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},w={}.hasOwnProperty,x;!A(w,"undefined")&&!A(w.call,"undefined")?x=function(a,b){return w.call(a,b)}:x=function(a,b){return b in a&&A(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=s.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(s.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(s.call(arguments)))};return e}),o.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:u(["@media (",m.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},o.svg=function(){return!!b.createElementNS&&!!b.createElementNS(n.svg,"svg").createSVGRect},o.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==n.svg},o.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(l.call(b.createElementNS(n.svg,"clipPath")))};for(var D in o)x(o,D)&&(t=D.toLowerCase(),e[t]=o[D](),r.push((e[t]?"":"no-")+t));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)x(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},y(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function p(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?n(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}function q(a){a||(a=b);var c=m(a);return r.shivCSS&&!f&&!c.hasCSS&&(c.hasCSS=!!k(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),j||p(a,c),a}var c=a.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f,g="_html5shiv",h=0,i={},j;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=m,e.mq=v,e.testStyles=u,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+r.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},Modernizr.addTest("ie8compat",function(){return!window.addEventListener&&document.documentMode&&document.documentMode===7});
+ ;window.Modernizr=function(a,b,c){function y(a){j.cssText=a}function z(a,b){return y(m.join(a+";")+(b||""))}function A(a,b){return typeof a===b}function B(a,b){return!!~(""+a).indexOf(b)}function C(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:A(f,"function")?f.bind(d||b):f}return!1}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m=" -webkit- -moz- -o- -ms- ".split(" "),n={svg:"http://www.w3.org/2000/svg"},o={},p={},q={},r=[],s=r.slice,t,u=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["&#173;",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},v=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return u("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},w={}.hasOwnProperty,x;!A(w,"undefined")&&!A(w.call,"undefined")?x=function(a,b){return w.call(a,b)}:x=function(a,b){return b in a&&A(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=s.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(s.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(s.call(arguments)))};return e}),o.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:u(["@media (",m.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},o.svg=function(){return!!b.createElementNS&&!!b.createElementNS(n.svg,"svg").createSVGRect},o.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==n.svg},o.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(l.call(b.createElementNS(n.svg,"clipPath")))};for(var D in o)x(o,D)&&(t=D.toLowerCase(),e[t]=o[D](),r.push((e[t]?"":"no-")+t));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)x(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},y(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function p(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?n(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}function q(a){a||(a=b);var c=m(a);return r.shivCSS&&!f&&!c.hasCSS&&(c.hasCSS=!!k(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),j||p(a,c),a}var c=a.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f,g="_html5shiv",h=0,i={},j;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=m,e.mq=v,e.testStyles=u,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+r.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},Modernizr.addTest("ie8compat",function(){return!window.addEventListener&&document.documentMode&&document.documentMode===7});
\ No newline at end of file
generators/foundation/public/javascripts/vendor/jquery.js +1 -1
@@ @@ -9594,4 +9594,4 @@ if ( typeof define === "function" && define.amd && define.amd.jQuery ) {
define( "jquery", [], function () { return jQuery; } );
}
- })( window );
+ })( window );
\ No newline at end of file
generators/foundation/public/javascripts/vendor/zepto.js +1 -1
@@ @@ -1881,4 +1881,4 @@ if (this.Zepto) {
return cloned;
});
})(Zepto);
- }
+ }
\ No newline at end of file
generators/foundation/public/stylesheets/foundation.css +870 -438
@@ @@ -18,7 +18,11 @@ body {
font-weight: normal;
font-style: normal;
line-height: 1;
- position: relative; }
+ position: relative;
+ cursor: default; }
+
+ a:hover {
+ cursor: pointer; }
a:focus {
outline: none; }
@@ @@ -69,7 +73,8 @@ img {
-webkit-font-smoothing: antialiased; }
img {
- display: inline-block; }
+ display: inline-block;
+ vertical-align: middle; }
textarea {
height: auto;
@@ @@ -92,13 +97,6 @@ select {
display: table; }
.row:after {
clear: both; }
- .row .column,
- .row .columns {
- position: relative;
- padding-left: 0.9375em;
- padding-right: 0.9375em;
- width: 100%;
- float: left; }
.row.collapse .column,
.row.collapse .columns {
position: relative;
@@ @@ -129,99 +127,111 @@ select {
.row .row.collapse:after {
clear: both; }
+ .column,
+ .columns {
+ position: relative;
+ padding-left: 0.9375em;
+ padding-right: 0.9375em;
+ width: 100%;
+ float: left; }
+
@media only screen {
- .row .column,
- .row .columns {
+ .column,
+ .columns {
position: relative;
padding-left: 0.9375em;
padding-right: 0.9375em;
float: left; }
- .row .small-1 {
+ .small-1 {
position: relative;
width: 8.33333%; }
- .row .small-2 {
+ .small-2 {
position: relative;
width: 16.66667%; }
- .row .small-3 {
+ .small-3 {
position: relative;
width: 25%; }
- .row .small-4 {
+ .small-4 {
position: relative;
width: 33.33333%; }
- .row .small-5 {
+ .small-5 {
position: relative;
width: 41.66667%; }
- .row .small-6 {
+ .small-6 {
position: relative;
width: 50%; }
- .row .small-7 {
+ .small-7 {
position: relative;
width: 58.33333%; }
- .row .small-8 {
+ .small-8 {
position: relative;
width: 66.66667%; }
- .row .small-9 {
+ .small-9 {
position: relative;
width: 75%; }
- .row .small-10 {
+ .small-10 {
position: relative;
width: 83.33333%; }
- .row .small-11 {
+ .small-11 {
position: relative;
width: 91.66667%; }
- .row .small-12 {
+ .small-12 {
position: relative;
width: 100%; }
- .row .small-offset-1 {
+ .small-offset-0 {
+ position: relative;
+ margin-left: 0%; }
+
+ .small-offset-1 {
position: relative;
margin-left: 8.33333%; }
- .row .small-offset-2 {
+ .small-offset-2 {
position: relative;
margin-left: 16.66667%; }
- .row .small-offset-3 {
+ .small-offset-3 {
position: relative;
margin-left: 25%; }
- .row .small-offset-4 {
+ .small-offset-4 {
position: relative;
margin-left: 33.33333%; }
- .row .small-offset-5 {
+ .small-offset-5 {
position: relative;
margin-left: 41.66667%; }
- .row .small-offset-6 {
+ .small-offset-6 {
position: relative;
margin-left: 50%; }
- .row .small-offset-7 {
+ .small-offset-7 {
position: relative;
margin-left: 58.33333%; }
- .row .small-offset-8 {
+ .small-offset-8 {
position: relative;
margin-left: 66.66667%; }
- .row .small-offset-9 {
+ .small-offset-9 {
position: relative;
margin-left: 75%; }
- .row .small-offset-10 {
+ .small-offset-10 {
position: relative;
margin-left: 83.33333%; }
@@ @@ -238,55 +248,59 @@ select {
margin-right: auto;
float: none !important; } }
/* Styles for screens that are atleast 768px; */
- @media only screen and (min-width: 48em) {
- .row .large-1 {
+ @media only screen and (min-width: 768px) {
+ .large-1 {
position: relative;
width: 8.33333%; }
- .row .large-2 {
+ .large-2 {
position: relative;
width: 16.66667%; }
- .row .large-3 {
+ .large-3 {
position: relative;
width: 25%; }
- .row .large-4 {
+ .large-4 {
position: relative;
width: 33.33333%; }
- .row .large-5 {
+ .large-5 {
position: relative;
width: 41.66667%; }
- .row .large-6 {
+ .large-6 {
position: relative;
width: 50%; }
- .row .large-7 {
+ .large-7 {
position: relative;
width: 58.33333%; }
- .row .large-8 {
+ .large-8 {
position: relative;
width: 66.66667%; }
- .row .large-9 {
+ .large-9 {
position: relative;
width: 75%; }
- .row .large-10 {
+ .large-10 {
position: relative;
width: 83.33333%; }
- .row .large-11 {
+ .large-11 {
position: relative;
width: 91.66667%; }
- .row .large-12 {
+ .large-12 {
position: relative;
width: 100%; }
+ .row .large-offset-0 {
+ position: relative;
+ margin-left: 0%; }
+
.row .large-offset-1 {
position: relative;
margin-left: 8.33333%; }
@@ @@ -327,6 +341,20 @@ select {
position: relative;
margin-left: 83.33333%; }
+ .row .large-offset-11 {
+ position: relative;
+ margin-left: 91.66667%; }
+
+ .push-1 {
+ position: relative;
+ left: 8.33333%;
+ right: auto; }
+
+ .pull-1 {
+ position: relative;
+ right: 8.33333%;
+ left: auto; }
+
.push-2 {
position: relative;
left: 16.66667%;
@@ @@ -417,66 +445,32 @@ select {
right: 83.33333%;
left: auto; }
- .small-push-2 {
- left: inherit; }
-
- .small-pull-2 {
- right: inherit; }
-
- .small-push-3 {
- left: inherit; }
-
- .small-pull-3 {
- right: inherit; }
-
- .small-push-4 {
- left: inherit; }
-
- .small-pull-4 {
- right: inherit; }
-
- .small-push-5 {
- left: inherit; }
-
- .small-pull-5 {
- right: inherit; }
-
- .small-push-6 {
- left: inherit; }
-
- .small-pull-6 {
- right: inherit; }
-
- .small-push-7 {
- left: inherit; }
-
- .small-pull-7 {
- right: inherit; }
-
- .small-push-8 {
- left: inherit; }
-
- .small-pull-8 {
- right: inherit; }
-
- .small-push-9 {
- left: inherit; }
-
- .small-pull-9 {
- right: inherit; }
-
- .small-push-10 {
- left: inherit; }
+ .push-11 {
+ position: relative;
+ left: 91.66667%;
+ right: auto; }
- .small-pull-10 {
- right: inherit; }
+ .pull-11 {
+ position: relative;
+ right: 91.66667%;
+ left: auto; }
.column.large-centered,
.columns.large-centered {
position: relative;
margin-left: auto;
margin-right: auto;
- float: none !important; } }
+ float: none !important; }
+
+ .column.large-uncentered,
+ .columns.large-uncentered {
+ margin-left: 0;
+ margin-right: 0;
+ float: left !important; }
+
+ .column.large-uncentered.opposite,
+ .columns.large-uncentered.opposite {
+ float: right !important; } }
/* Foundation Visibility HTML Classes */
.show-for-small,
.show-for-medium-down,
@@ @@ -527,7 +521,7 @@ th.hide-for-xlarge {
display: table-cell !important; }
/* Medium Displays: 768px - 1279px */
- @media only screen and (min-width: 48em) {
+ @media only screen and (min-width: 768px) {
.show-for-medium,
.show-for-medium-up {
display: inherit !important; }
@@ @@ -561,7 +555,7 @@ th.hide-for-xlarge {
th.hide-for-small {
display: table-cell !important; } }
/* Large Displays: 1280px - 1440px */
- @media only screen and (min-width: 80em) {
+ @media only screen and (min-width: 1280px) {
.show-for-large,
.show-for-large-up {
display: inherit !important; }
@@ @@ -598,7 +592,7 @@ th.hide-for-xlarge {
th.hide-for-medium-down {
display: table-cell !important; } }
/* X-Large Displays: 1400px and up */
- @media only screen and (min-width: 90em) {
+ @media only screen and (min-width: 1440px) {
.show-for-xlarge {
display: inherit !important; }
@@ @@ -765,7 +759,7 @@ th.hide-for-touch {
[class*="block-grid-"] {
display: block;
padding: 0;
- margin: 0 -10px;
+ margin: -0.625em;
*zoom: 1; }
[class*="block-grid-"]:before, [class*="block-grid-"]:after {
content: " ";
@@ @@ -773,158 +767,240 @@ th.hide-for-touch {
[class*="block-grid-"]:after {
clear: both; }
[class*="block-grid-"] > li {
- display: block;
+ display: inline;
height: auto;
float: left;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
.small-block-grid-1 > li {
width: 100%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .small-block-grid-1 > li:nth-of-type(n) {
+ clear: none; }
.small-block-grid-1 > li:nth-of-type(1n+1) {
clear: both; }
.small-block-grid-2 > li {
width: 50%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .small-block-grid-2 > li:nth-of-type(n) {
+ clear: none; }
.small-block-grid-2 > li:nth-of-type(2n+1) {
clear: both; }
.small-block-grid-3 > li {
width: 33.33333%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .small-block-grid-3 > li:nth-of-type(n) {
+ clear: none; }
.small-block-grid-3 > li:nth-of-type(3n+1) {
clear: both; }
.small-block-grid-4 > li {
width: 25%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .small-block-grid-4 > li:nth-of-type(n) {
+ clear: none; }
.small-block-grid-4 > li:nth-of-type(4n+1) {
clear: both; }
.small-block-grid-5 > li {
width: 20%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .small-block-grid-5 > li:nth-of-type(n) {
+ clear: none; }
.small-block-grid-5 > li:nth-of-type(5n+1) {
clear: both; }
.small-block-grid-6 > li {
width: 16.66667%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .small-block-grid-6 > li:nth-of-type(n) {
+ clear: none; }
.small-block-grid-6 > li:nth-of-type(6n+1) {
clear: both; }
.small-block-grid-7 > li {
width: 14.28571%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .small-block-grid-7 > li:nth-of-type(n) {
+ clear: none; }
.small-block-grid-7 > li:nth-of-type(7n+1) {
clear: both; }
.small-block-grid-8 > li {
width: 12.5%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .small-block-grid-8 > li:nth-of-type(n) {
+ clear: none; }
.small-block-grid-8 > li:nth-of-type(8n+1) {
clear: both; }
.small-block-grid-9 > li {
width: 11.11111%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .small-block-grid-9 > li:nth-of-type(n) {
+ clear: none; }
.small-block-grid-9 > li:nth-of-type(9n+1) {
clear: both; }
.small-block-grid-10 > li {
width: 10%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .small-block-grid-10 > li:nth-of-type(n) {
+ clear: none; }
.small-block-grid-10 > li:nth-of-type(10n+1) {
clear: both; }
.small-block-grid-11 > li {
width: 9.09091%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .small-block-grid-11 > li:nth-of-type(n) {
+ clear: none; }
.small-block-grid-11 > li:nth-of-type(11n+1) {
clear: both; }
.small-block-grid-12 > li {
width: 8.33333%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .small-block-grid-12 > li:nth-of-type(n) {
+ clear: none; }
.small-block-grid-12 > li:nth-of-type(12n+1) {
clear: both; } }
/* Foundation Block Grids for above small breakpoint */
- @media only screen and (min-width: 48em) {
+ @media only screen and (min-width: 768px) {
+ /* Remove small grid clearing */
+ .small-block-grid-1 > li:nth-of-type(1n+1) {
+ clear: none; }
+
+ .small-block-grid-2 > li:nth-of-type(2n+1) {
+ clear: none; }
+
+ .small-block-grid-3 > li:nth-of-type(3n+1) {
+ clear: none; }
+
+ .small-block-grid-4 > li:nth-of-type(4n+1) {
+ clear: none; }
+
+ .small-block-grid-5 > li:nth-of-type(5n+1) {
+ clear: none; }
+
+ .small-block-grid-6 > li:nth-of-type(6n+1) {
+ clear: none; }
+
+ .small-block-grid-7 > li:nth-of-type(7n+1) {
+ clear: none; }
+
+ .small-block-grid-8 > li:nth-of-type(8n+1) {
+ clear: none; }
+
+ .small-block-grid-9 > li:nth-of-type(9n+1) {
+ clear: none; }
+
+ .small-block-grid-10 > li:nth-of-type(10n+1) {
+ clear: none; }
+
+ .small-block-grid-11 > li:nth-of-type(11n+1) {
+ clear: none; }
+
+ .small-block-grid-12 > li:nth-of-type(12n+1) {
+ clear: none; }
+
.large-block-grid-1 > li {
width: 100%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .large-block-grid-1 > li:nth-of-type(n) {
+ clear: none; }
.large-block-grid-1 > li:nth-of-type(1n+1) {
clear: both; }
.large-block-grid-2 > li {
width: 50%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .large-block-grid-2 > li:nth-of-type(n) {
+ clear: none; }
.large-block-grid-2 > li:nth-of-type(2n+1) {
clear: both; }
.large-block-grid-3 > li {
width: 33.33333%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .large-block-grid-3 > li:nth-of-type(n) {
+ clear: none; }
.large-block-grid-3 > li:nth-of-type(3n+1) {
clear: both; }
.large-block-grid-4 > li {
width: 25%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .large-block-grid-4 > li:nth-of-type(n) {
+ clear: none; }
.large-block-grid-4 > li:nth-of-type(4n+1) {
clear: both; }
.large-block-grid-5 > li {
width: 20%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .large-block-grid-5 > li:nth-of-type(n) {
+ clear: none; }
.large-block-grid-5 > li:nth-of-type(5n+1) {
clear: both; }
.large-block-grid-6 > li {
width: 16.66667%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .large-block-grid-6 > li:nth-of-type(n) {
+ clear: none; }
.large-block-grid-6 > li:nth-of-type(6n+1) {
clear: both; }
.large-block-grid-7 > li {
width: 14.28571%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .large-block-grid-7 > li:nth-of-type(n) {
+ clear: none; }
.large-block-grid-7 > li:nth-of-type(7n+1) {
clear: both; }
.large-block-grid-8 > li {
width: 12.5%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .large-block-grid-8 > li:nth-of-type(n) {
+ clear: none; }
.large-block-grid-8 > li:nth-of-type(8n+1) {
clear: both; }
.large-block-grid-9 > li {
width: 11.11111%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .large-block-grid-9 > li:nth-of-type(n) {
+ clear: none; }
.large-block-grid-9 > li:nth-of-type(9n+1) {
clear: both; }
.large-block-grid-10 > li {
width: 10%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .large-block-grid-10 > li:nth-of-type(n) {
+ clear: none; }
.large-block-grid-10 > li:nth-of-type(10n+1) {
clear: both; }
.large-block-grid-11 > li {
width: 9.09091%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .large-block-grid-11 > li:nth-of-type(n) {
+ clear: none; }
.large-block-grid-11 > li:nth-of-type(11n+1) {
clear: both; }
.large-block-grid-12 > li {
width: 8.33333%;
- padding: 0 10px 10px; }
+ padding: 0 0.625em 1.25em; }
+ .large-block-grid-12 > li:nth-of-type(n) {
+ clear: none; }
.large-block-grid-12 > li:nth-of-type(12n+1) {
- clear: both; }
-
- [class*="small-block-grid-"] > li {
- clear: none !important; } }
+ clear: both; } }
p.lead {
font-size: 1.21875em;
line-height: 1.6; }
@@ @@ -1053,6 +1129,9 @@ dl {
list-style-position: outside;
font-family: inherit; }
+ ul, ol {
+ margin-left: 1.25em; }
+
/* Unordered Lists */
ul li ul,
ul li ol {
@@ @@ -1138,7 +1217,7 @@ blockquote p {
border: none;
padding: 0 0.0625em; }
- @media only screen and (min-width: 48em) {
+ @media only screen and (min-width: 768px) {
h1, h2, h3, h4, h5, h6 {
line-height: 1.4; }
@@ @@ -1165,7 +1244,7 @@ blockquote p {
@media print {
* {
background: transparent !important;
- color: black !important;
+ color: #000 !important;
/* Black prints faster: h5bp.com/s */
box-shadow: none !important;
text-shadow: none !important; }
@@ @@ -1187,7 +1266,7 @@ blockquote p {
pre,
blockquote {
- border: 1px solid #999999;
+ border: 1px solid #999;
page-break-inside: avoid; }
thead {
@@ @@ -1292,9 +1371,7 @@ button, .button {
padding-left: 0.875em;
font-size: 0.6875em; }
button.expand, .button.expand {
- padding-top: false;
padding-right: 0px;
- padding-bottom: false0.0625em;
padding-left: 0px;
width: 100%; }
button.left-align, .button.left-align {
@@ @@ -1360,41 +1437,37 @@ button, .button {
button.disabled.alert:hover, button.disabled.alert:focus, button[disabled].alert:hover, button[disabled].alert:focus, .button.disabled.alert:hover, .button.disabled.alert:focus, .button[disabled].alert:hover, .button[disabled].alert:focus {
background-color: #c60f13; }
- input.button,
- button.button {
+ button, .button {
padding-top: 0.8125em;
padding-bottom: 0.75em; }
- input.button.tiny,
- button.button.tiny {
+ button.tiny, .button.tiny {
padding-top: 0.5em;
padding-bottom: 0.4375em; }
- input.button.small,
- button.button.small {
+ button.small, .button.small {
padding-top: 0.625em;
padding-bottom: 0.5625em; }
- input.button.large,
- button.button.large {
+ button.large, .button.large {
padding-top: 1.03125em;
padding-bottom: 1.03125em; }
@media only screen {
- .button {
+ button, .button {
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
-webkit-transition: background-color 300ms ease-out;
-moz-transition: background-color 300ms ease-out;
transition: background-color 300ms ease-out; }
- .button:active {
+ button:active, .button:active {
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2) inset;
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2) inset; }
- .button.radius {
+ button.radius, .button.radius {
-webkit-border-radius: 3px;
border-radius: 3px; }
- .button.round {
+ button.round, .button.round {
-webkit-border-radius: 1000px;
border-radius: 1000px; } }
- @media only screen and (min-width: 48em) {
- .button {
+ @media only screen and (min-width: 768px) {
+ button, .button {
display: inline-block; } }
/* Standard Forms */
form {
@@ @@ -1402,7 +1475,7 @@ form {
/* Using forms within rows, we need to set some defaults */
form .row .row {
- margin: -0.5em; }
+ margin: 0 -0.5em; }
form .row .row .column,
form .row .row .columns {
padding: 0 0.5em; }
@@ @@ -1412,7 +1485,9 @@ form .row .row {
form .row .row.collapse .columns {
padding: 0; }
form .row input.column,
- form .row input.columns {
+ form .row input.columns,
+ form .row textarea.column,
+ form .row textarea.columns {
padding-left: 0.5em; }
/* Label Styles */
@@ @@ -1537,8 +1612,6 @@ span.postfix {
/* Input groups will automatically style first and last elements of the group */
.input-group.radius > *:first-child, .input-group.radius > *:first-child * {
- -webkit-border-radius: 0;
- border-radius: 0;
-moz-border-radius-bottomleft: 3px;
-moz-border-radius-topleft: 3px;
-webkit-border-bottom-left-radius: 3px;
@@ @@ -1546,8 +1619,6 @@ span.postfix {
border-bottom-left-radius: 3px;
border-top-left-radius: 3px; }
.input-group.radius > *:last-child, .input-group.radius > *:last-child * {
- -webkit-border-radius: 0;
- border-radius: 0;
-moz-border-radius-topright: 3px;
-moz-border-radius-bottomright: 3px;
-webkit-border-top-right-radius: 3px;
@@ @@ -1555,8 +1626,6 @@ span.postfix {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px; }
.input-group.round > *:first-child, .input-group.round > *:first-child * {
- -webkit-border-radius: 0;
- border-radius: 0;
-moz-border-radius-bottomleft: 1000px;
-moz-border-radius-topleft: 1000px;
-webkit-border-bottom-left-radius: 1000px;
@@ @@ -1564,8 +1633,6 @@ span.postfix {
border-bottom-left-radius: 1000px;
border-top-left-radius: 1000px; }
.input-group.round > *:last-child, .input-group.round > *:last-child * {
- -webkit-border-radius: 0;
- border-radius: 0;
-moz-border-radius-topright: 1000px;
-moz-border-radius-bottomright: 1000px;
-webkit-border-top-right-radius: 1000px;
@@ @@ -1603,9 +1670,27 @@ textarea {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
- -webkit-transition: all 0.15s linear;
- -moz-transition: all 0.15s linear;
- transition: all 0.15s linear; }
+ -webkit-transition: -webkit-box-shadow 0.45s, border-color 0.45s ease-in-out;
+ -moz-transition: -moz-box-shadow 0.45s, border-color 0.45s ease-in-out;
+ transition: box-shadow 0.45s, border-color 0.45s ease-in-out; }
+ input[type="text"]:focus,
+ input[type="password"]:focus,
+ input[type="date"]:focus,
+ input[type="datetime"]:focus,
+ input[type="datetime-local"]:focus,
+ input[type="month"]:focus,
+ input[type="week"]:focus,
+ input[type="email"]:focus,
+ input[type="number"]:focus,
+ input[type="search"]:focus,
+ input[type="tel"]:focus,
+ input[type="time"]:focus,
+ input[type="url"]:focus,
+ textarea:focus {
+ -webkit-box-shadow: 0 0 5px #999999;
+ -moz-box-shadow: 0 0 5px #999999;
+ box-shadow: 0 0 5px #999999;
+ border-color: #999999; }
input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
@@ @@ -1639,6 +1724,17 @@ textarea {
textarea[disabled] {
background-color: #dddddd; }
+ /* Adjust margin for form elements below */
+ input[type="file"],
+ input[type="checkbox"],
+ input[type="radio"],
+ select {
+ margin: 0 0 1em 0; }
+
+ /* Normalize file input width */
+ input[type="file"] {
+ width: 100%; }
+
/* We add basic fieldset styling */
fieldset {
border: solid 1px #dddddd;
@@ @@ -1681,29 +1777,31 @@ small.error {
color: white; }
/* Custom Checkbox and Radio Inputs */
+ form.custom .hidden-field {
+ margin-left: -99999px;
+ position: absolute;
+ visibility: hidden; }
form.custom .custom {
display: inline-block;
width: 16px;
height: 16px;
position: relative;
- top: 2px;
+ vertical-align: middle;
border: solid 1px #cccccc;
background: white; }
+ form.custom .custom.checkbox {
+ -webkit-border-radius: 0px;
+ border-radius: 0px;
+ padding: -1px; }
form.custom .custom.radio {
-webkit-border-radius: 1000px;
- border-radius: 1000px; }
+ border-radius: 1000px;
+ padding: 3px; }
form.custom .custom.checkbox:before {
content: "";
display: block;
- line-height: 0.8;
- height: 14px;
- width: 14px;
- text-align: center;
- position: absolute;
- top: 0;
- left: 0;
- font-size: 14px;
- color: #fff; }
+ font-size: 16px;
+ color: white; }
form.custom .custom.radio.checked:before {
content: "";
display: block;
@@ @@ -1712,12 +1810,15 @@ form.custom .custom {
-webkit-border-radius: 1000px;
border-radius: 1000px;
background: #222222;
- position: relative;
- top: 3px;
- left: 3px; }
+ position: relative; }
form.custom .custom.checkbox.checked:before {
content: "\00d7";
- color: #222222; }
+ color: #222222;
+ position: absolute;
+ top: -50%;
+ left: 50%;
+ margin-top: 4px;
+ margin-left: -5px; }
/* Custom Select Options and Dropdowns */
form.custom {
@@ @@ -1734,8 +1835,8 @@ form.custom {
background: white;
background: -moz-linear-gradient(top, white 0%, #f3f3f3 100%);
background: -webkit-linear-gradient(top, white 0%, #f3f3f3 100%);
- background: linear-gradient(to bottom, white 0%, #f3f3f3 100%);
-webkit-box-shadow: none;
+ background: linear-gradient(to bottom, white 0%, #f3f3f3 100%);
box-shadow: none;
font-size: 0.875em;
vertical-align: top; }
@@ @@ -1767,8 +1868,9 @@ form.custom {
display: block;
width: 0;
height: 0;
- border: solid 5px;
+ border: inset 5px;
border-color: #aaaaaa transparent transparent transparent;
+ border-top-style: solid;
position: absolute;
left: 0.9375em;
top: 50%;
@@ @@ -1778,8 +1880,9 @@ form.custom {
display: block;
width: 0;
height: 0;
- border: solid 5px;
- border-color: #222222 transparent transparent transparent; }
+ border: inset 5px;
+ border-color: #222222 transparent transparent transparent;
+ border-top-style: solid; }
form.custom .custom.dropdown .disabled {
color: #888888; }
form.custom .custom.dropdown .disabled:hover {
@@ @@ -1857,7 +1960,7 @@ form.custom {
form.custom .custom.dropdown ul.show {
display: block; }
form.custom .custom.disabled {
- background-color: #dddddd; }
+ background: #dddddd; }
/* Button Groups */
.button-group {
@@ @@ -1874,36 +1977,28 @@ form.custom {
float: left; }
.button-group > *:first-child {
margin-left: 0; }
- .button-group.radius > *:first-child, .button-group.radius > *:first-child > a, .button-group.radius > *:first-child > button {
- -webkit-border-radius: 0;
- border-radius: 0;
+ .button-group.radius > *:first-child, .button-group.radius > *:first-child > a, .button-group.radius > *:first-child > button, .button-group.radius > *:first-child > .button {
-moz-border-radius-bottomleft: 3px;
-moz-border-radius-topleft: 3px;
-webkit-border-bottom-left-radius: 3px;
-webkit-border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
border-top-left-radius: 3px; }
- .button-group.radius > *:last-child, .button-group.radius > *:last-child > a, .button-group.radius > *:last-child > button {
- -webkit-border-radius: 0;
- border-radius: 0;
+ .button-group.radius > *:last-child, .button-group.radius > *:last-child > a, .button-group.radius > *:last-child > button, .button-group.radius > *:last-child > .button {
-moz-border-radius-topright: 3px;
-moz-border-radius-bottomright: 3px;
-webkit-border-top-right-radius: 3px;
-webkit-border-bottom-right-radius: 3px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px; }
- .button-group.round > *:first-child, .button-group.round > *:first-child > a, .button-group.round > *:first-child > button {
- -webkit-border-radius: 0;
- border-radius: 0;
+ .button-group.round > *:first-child, .button-group.round > *:first-child > a, .button-group.round > *:first-child > button, .button-group.round > *:first-child > .button {
-moz-border-radius-bottomleft: 1000px;
-moz-border-radius-topleft: 1000px;
-webkit-border-bottom-left-radius: 1000px;
-webkit-border-top-left-radius: 1000px;
border-bottom-left-radius: 1000px;
border-top-left-radius: 1000px; }
- .button-group.round > *:last-child, .button-group.round > *:last-child > a, .button-group.round > *:last-child > button {
- -webkit-border-radius: 0;
- border-radius: 0;
+ .button-group.round > *:last-child, .button-group.round > *:last-child > a, .button-group.round > *:last-child > button, .button-group.round > *:last-child > .button {
-moz-border-radius-topright: 1000px;
-moz-border-radius-bottomright: 1000px;
-webkit-border-top-right-radius: 1000px;
@@ @@ -1912,31 +2007,31 @@ form.custom {
border-bottom-right-radius: 1000px; }
.button-group.even-2 li {
width: 50%; }
- .button-group.even-2 li .button {
+ .button-group.even-2 li button, .button-group.even-2 li .button {
width: 100%; }
.button-group.even-3 li {
width: 33.33333%; }
- .button-group.even-3 li .button {
+ .button-group.even-3 li button, .button-group.even-3 li .button {
width: 100%; }
.button-group.even-4 li {
width: 25%; }
- .button-group.even-4 li .button {
+ .button-group.even-4 li button, .button-group.even-4 li .button {
width: 100%; }
.button-group.even-5 li {
width: 20%; }
- .button-group.even-5 li .button {
+ .button-group.even-5 li button, .button-group.even-5 li .button {
width: 100%; }
.button-group.even-6 li {
width: 16.66667%; }
- .button-group.even-6 li .button {
+ .button-group.even-6 li button, .button-group.even-6 li .button {
width: 100%; }
.button-group.even-7 li {
width: 14.28571%; }
- .button-group.even-7 li .button {
+ .button-group.even-7 li button, .button-group.even-7 li .button {
width: 100%; }
.button-group.even-8 li {
width: 12.5%; }
- .button-group.even-8 li .button {
+ .button-group.even-8 li button, .button-group.even-8 li .button {
width: 100%; }
.button-bar {
@@ @@ -2015,7 +2110,7 @@ form.custom {
width: 0;
height: 0;
display: block;
- border-style: solid;
+ border-style: inset;
left: 50%; }
.split.button span:active {
background-color: rgba(0, 0, 0, 0.1); }
@@ @@ -2024,6 +2119,7 @@ form.custom {
.split.button span {
width: 3em; }
.split.button span:before {
+ border-top-style: solid;
border-width: 0.5625em;
top: 1.125em;
margin-left: -0.5625em; }
@@ @@ -2042,6 +2138,7 @@ form.custom {
.split.button.tiny span {
width: 2.84375em; }
.split.button.tiny span:before {
+ border-top-style: solid;
border-width: 0.4375em;
top: 0.875em;
margin-left: -0.3125em; }
@@ @@ -2050,6 +2147,7 @@ form.custom {
.split.button.small span {
width: 2.8125em; }
.split.button.small span:before {
+ border-top-style: solid;
border-width: 0.5625em;
top: 0.84375em;
margin-left: -0.5625em; }
@@ @@ -2058,14 +2156,15 @@ form.custom {
.split.button.large span {
width: 3.75em; }
.split.button.large span:before {
+ border-top-style: solid;
border-width: 0.625em;
top: 1.3125em;
margin-left: -0.5625em; }
+ .split.button.expand {
+ padding-left: 2em; }
.split.button.secondary span:before {
border-color: #333333 transparent transparent transparent; }
.split.button.radius span {
- -webkit-border-radius: 0;
- border-radius: 0;
-moz-border-radius-topright: 3px;
-moz-border-radius-bottomright: 3px;
-webkit-border-top-right-radius: 3px;
@@ @@ -2073,8 +2172,6 @@ form.custom {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px; }
.split.button.round span {
- -webkit-border-radius: 0;
- border-radius: 0;
-moz-border-radius-topright: 1000px;
-moz-border-radius-bottomright: 1000px;
-webkit-border-top-right-radius: 1000px;
@@ @@ -2111,196 +2208,407 @@ form.custom {
margin-bottom: 1.25em;
border: 1px solid #cccccc;
border-top: none; }
- .section-container section,
- .section-container .section, .section-container.auto section,
- .section-container.auto .section {
- border-top: 1px solid #cccccc;
+ .section-container > section, .section-container > .section, .section-container.auto > section, .section-container.auto > .section {
position: relative; }
- .section-container section .title,
- .section-container .section .title, .section-container.auto section .title,
- .section-container.auto .section .title {
- top: 0;
+ .section-container > section > .title, .section-container > .section > .title, .section-container.auto > section > .title, .section-container.auto > .section > .title {
+ background-color: #efefef;
cursor: pointer;
- width: 100%;
- margin: 0;
- background-color: #efefef; }
- .section-container section .title a,
- .section-container .section .title a, .section-container.auto section .title a,
- .section-container.auto .section .title a {
+ margin-bottom: 0; }
+ .section-container > section > .title a, .section-container > .section > .title a, .section-container.auto > section > .title a, .section-container.auto > .section > .title a {
padding: 0.9375em;
display: inline-block;
color: #333333;
font-size: 0.875em;
- white-space: nowrap;
- width: 100%; }
- .section-container section .title:hover,
- .section-container .section .title:hover, .section-container.auto section .title:hover,
- .section-container.auto .section .title:hover {
+ white-space: nowrap; }
+ .section-container > section > .title:hover, .section-container > .section > .title:hover, .section-container.auto > section > .title:hover, .section-container.auto > .section > .title:hover {
background-color: #e2e2e2; }
- .section-container section .content,
- .section-container .section .content, .section-container.auto section .content,
- .section-container.auto .section .content {
+ .section-container > section .content, .section-container > .section .content, .section-container.auto > section .content, .section-container.auto > .section .content {
display: none;
padding: 0.9375em;
background-color: white; }
- .section-container section .content > *:last-child,
- .section-container .section .content > *:last-child, .section-container.auto section .content > *:last-child,
- .section-container.auto .section .content > *:last-child {
+ .section-container > section .content > *:last-child, .section-container > .section .content > *:last-child, .section-container.auto > section .content > *:last-child, .section-container.auto > .section .content > *:last-child {
margin-bottom: 0; }
- .section-container section .content > *:first-child,
- .section-container .section .content > *:first-child, .section-container.auto section .content > *:first-child,
- .section-container.auto .section .content > *:first-child {
+ .section-container > section .content > *:first-child, .section-container > .section .content > *:first-child, .section-container.auto > section .content > *:first-child, .section-container.auto > .section .content > *:first-child {
padding-top: 0; }
- .section-container section .content > *:last-child,
- .section-container .section .content > *:last-child, .section-container.auto section .content > *:last-child,
- .section-container.auto .section .content > *:last-child {
+ .section-container > section .content > *:last-child, .section-container > .section .content > *:last-child, .section-container.auto > section .content > *:last-child, .section-container.auto > .section .content > *:last-child {
padding-bottom: 0; }
- .section-container section.active .content,
- .section-container .section.active .content, .section-container.auto section.active .content,
- .section-container.auto .section.active .content {
+ .section-container > section.active > .content, .section-container > .section.active > .content, .section-container.auto > section.active > .content, .section-container.auto > .section.active > .content {
display: block; }
- .section-container section.active .title,
- .section-container .section.active .title, .section-container.auto section.active .title,
- .section-container.auto .section.active .title {
+ .section-container > section.active > .title, .section-container > .section.active > .title, .section-container.auto > section.active > .title, .section-container.auto > .section.active > .title {
background: #d5d5d5; }
+ .section-container > section.active > .title a, .section-container > .section.active > .title a, .section-container.auto > section.active > .title a, .section-container.auto > .section.active > .title a {
+ color: #333333; }
+ .section-container > section > .title, .section-container > .section > .title, .section-container.auto > section > .title, .section-container.auto > .section > .title {
+ top: 0;
+ width: 100%;
+ margin: 0;
+ border-top: solid 1px #cccccc; }
+ .section-container > section > .title a, .section-container > .section > .title a, .section-container.auto > section > .title a, .section-container.auto > .section > .title a {
+ width: 100%; }
.section-container.tabs {
border: 0;
position: relative; }
- .section-container.tabs section,
- .section-container.tabs .section {
- padding-top: 0;
+ .section-container.tabs > section, .section-container.tabs > .section {
border: 0;
position: static; }
- .section-container.tabs section .title,
- .section-container.tabs .section .title {
+ .section-container.tabs > section > .title, .section-container.tabs > .section > .title {
+ background-color: #efefef;
+ cursor: pointer;
+ margin-bottom: 0; }
+ .section-container.tabs > section > .title a, .section-container.tabs > .section > .title a {
+ padding: 0.9375em;
+ display: inline-block;
+ color: #333333;
+ font-size: 0.875em;
+ white-space: nowrap; }
+ .section-container.tabs > section > .title:hover, .section-container.tabs > .section > .title:hover {
+ background-color: #e2e2e2; }
+ .section-container.tabs > section .content, .section-container.tabs > .section .content {
+ display: none;
+ padding: 0.9375em;
+ background-color: white; }
+ .section-container.tabs > section .content > *:last-child, .section-container.tabs > .section .content > *:last-child {
+ margin-bottom: 0; }
+ .section-container.tabs > section .content > *:first-child, .section-container.tabs > .section .content > *:first-child {
+ padding-top: 0; }
+ .section-container.tabs > section .content > *:last-child, .section-container.tabs > .section .content > *:last-child {
+ padding-bottom: 0; }
+ .section-container.tabs > section.active > .content, .section-container.tabs > .section.active > .content {
+ display: block; }
+ .section-container.tabs > section.active > .title, .section-container.tabs > .section.active > .title {
+ background: white; }
+ .section-container.tabs > section.active > .title a, .section-container.tabs > .section.active > .title a {
+ color: #333333; }
+ .section-container.tabs > section > .title, .section-container.tabs > .section > .title {
width: auto;
- border: 1px solid #cccccc;
+ border: solid 1px #cccccc;
border-right: 0;
border-bottom: 0;
position: absolute;
+ top: 0;
z-index: 1; }
- .section-container.tabs section .title a,
- .section-container.tabs .section .title a {
+ .section-container.tabs > section > .title a, .section-container.tabs > .section > .title a {
width: 100%; }
- .section-container.tabs section:last-child .title,
- .section-container.tabs .section:last-child .title {
- border-right: 1px solid #cccccc; }
- .section-container.tabs section .content,
- .section-container.tabs .section .content {
- border: 1px solid #cccccc;
+ .section-container.tabs > section:last-child .title, .section-container.tabs > .section:last-child .title {
+ border-right: solid 1px #cccccc; }
+ .section-container.tabs > section .content, .section-container.tabs > .section .content {
+ border: solid 1px #cccccc;
position: absolute;
z-index: 10;
+ display: none;
top: -1px; }
- .section-container.tabs section.active .title,
- .section-container.tabs .section.active .title {
- background-color: white;
+ .section-container.tabs > section.active > .title, .section-container.tabs > .section.active > .title {
z-index: 11;
- border-bottom: 0; }
- .section-container.tabs section.active .content,
- .section-container.tabs .section.active .content {
+ border-bottom: 0;
+ background-color: white; }
+ .section-container.tabs > section.active > .content, .section-container.tabs > .section.active > .content {
position: relative; }
- @media only screen and (min-width: 48em) {
+ @media only screen and (min-width: 768px) {
.section-container.auto {
border: 0;
position: relative; }
- .section-container.auto section,
- .section-container.auto .section {
- padding-top: 0;
+ .section-container.auto > section, .section-container.auto > .section {
border: 0;
position: static; }
- .section-container.auto section .title,
- .section-container.auto .section .title {
+ .section-container.auto > section > .title, .section-container.auto > .section > .title {
+ background-color: #efefef;
+ cursor: pointer;
+ margin-bottom: 0; }
+ .section-container.auto > section > .title a, .section-container.auto > .section > .title a {
+ padding: 0.9375em;
+ display: inline-block;
+ color: #333333;
+ font-size: 0.875em;
+ white-space: nowrap; }
+ .section-container.auto > section > .title:hover, .section-container.auto > .section > .title:hover {
+ background-color: #e2e2e2; }
+ .section-container.auto > section .content, .section-container.auto > .section .content {
+ display: none;
+ padding: 0.9375em;
+ background-color: white; }
+ .section-container.auto > section .content > *:last-child, .section-container.auto > .section .content > *:last-child {
+ margin-bottom: 0; }
+ .section-container.auto > section .content > *:first-child, .section-container.auto > .section .content > *:first-child {
+ padding-top: 0; }
+ .section-container.auto > section .content > *:last-child, .section-container.auto > .section .content > *:last-child {
+ padding-bottom: 0; }
+ .section-container.auto > section.active > .content, .section-container.auto > .section.active > .content {
+ display: block; }
+ .section-container.auto > section.active > .title, .section-container.auto > .section.active > .title {
+ background: white; }
+ .section-container.auto > section.active > .title a, .section-container.auto > .section.active > .title a {
+ color: #333333; }
+ .section-container.auto > section > .title, .section-container.auto > .section > .title {
width: auto;
- border: 1px solid #cccccc;
+ border: solid 1px #cccccc;
border-right: 0;
border-bottom: 0;
position: absolute;
+ top: 0;
z-index: 1; }
- .section-container.auto section .title a,
- .section-container.auto .section .title a {
+ .section-container.auto > section > .title a, .section-container.auto > .section > .title a {
width: 100%; }
- .section-container.auto section:last-child .title,
- .section-container.auto .section:last-child .title {
- border-right: 1px solid #cccccc; }
- .section-container.auto section .content,
- .section-container.auto .section .content {
- border: 1px solid #cccccc;
+ .section-container.auto > section:last-child .title, .section-container.auto > .section:last-child .title {
+ border-right: solid 1px #cccccc; }
+ .section-container.auto > section .content, .section-container.auto > .section .content {
+ border: solid 1px #cccccc;
position: absolute;
z-index: 10;
+ display: none;
top: -1px; }
- .section-container.auto section.active .title,
- .section-container.auto .section.active .title {
- background-color: white;
+ .section-container.auto > section.active > .title, .section-container.auto > .section.active > .title {
z-index: 11;
- border-bottom: 0; }
- .section-container.auto section.active .content,
- .section-container.auto .section.active .content {
+ border-bottom: 0;
+ background-color: white; }
+ .section-container.auto > section.active > .content, .section-container.auto > .section.active > .content {
position: relative; }
.section-container.accordion .section {
padding-top: 0 !important; }
- .section-container.vertical-nav {
+ .section-container.vertical-tabs {
border: 1px solid #cccccc;
- border-top: none; }
- .section-container.vertical-nav section,
- .section-container.vertical-nav .section {
- padding-top: 0 !important; }
- .section-container.vertical-nav section .title a,
- .section-container.vertical-nav .section .title a {
+ position: relative; }
+ .section-container.vertical-tabs section,
+ .section-container.vertical-tabs .section {
+ padding-top: 0 !important;
+ border: 0;
+ position: static; }
+ .section-container.vertical-tabs section > .title,
+ .section-container.vertical-tabs .section > .title {
+ background-color: #efefef;
+ cursor: pointer;
+ margin-bottom: 0; }
+ .section-container.vertical-tabs section > .title a,
+ .section-container.vertical-tabs .section > .title a {
+ padding: 0.9375em;
+ display: inline-block;
+ color: #333333;
+ font-size: 0.875em;
+ white-space: nowrap; }
+ .section-container.vertical-tabs section > .title:hover,
+ .section-container.vertical-tabs .section > .title:hover {
+ background-color: #e2e2e2; }
+ .section-container.vertical-tabs section .content,
+ .section-container.vertical-tabs .section .content {
+ display: none;
+ padding: 0.9375em;
+ background-color: white; }
+ .section-container.vertical-tabs section .content > *:last-child,
+ .section-container.vertical-tabs .section .content > *:last-child {
+ margin-bottom: 0; }
+ .section-container.vertical-tabs section .content > *:first-child,
+ .section-container.vertical-tabs .section .content > *:first-child {
+ padding-top: 0; }
+ .section-container.vertical-tabs section .content > *:last-child,
+ .section-container.vertical-tabs .section .content > *:last-child {
+ padding-bottom: 0; }
+ .section-container.vertical-tabs section.active > .content,
+ .section-container.vertical-tabs .section.active > .content {
+ display: block; }
+ .section-container.vertical-tabs section.active > .title,
+ .section-container.vertical-tabs .section.active > .title {
+ background: #d5d5d5; }
+ .section-container.vertical-tabs section.active > .title a,
+ .section-container.vertical-tabs .section.active > .title a {
+ color: #333333; }
+ .section-container.vertical-tabs section > .title,
+ .section-container.vertical-tabs .section > .title {
+ position: absolute;
+ border-top: solid 1px #cccccc;
+ width: 12.5em; }
+ .section-container.vertical-tabs section:first-child .title,
+ .section-container.vertical-tabs .section:first-child .title {
+ border-top: 0; }
+ .section-container.vertical-tabs section .content,
+ .section-container.vertical-tabs .section .content {
display: block;
- width: 100%; }
- .section-container.vertical-nav section .content,
- .section-container.vertical-nav .section .content {
+ position: relative;
+ left: 12.5em;
+ border-left: solid 1px #cccccc;
+ z-index: 10; }
+ .section-container.vertical-tabs section.active > .title,
+ .section-container.vertical-tabs .section.active > .title {
+ background-color: #d5d5d5;
+ width: 12.5625em;
+ border-right: solid 0 transparent;
+ z-index: 11; }
+ .section-container.vertical-tabs section.active:last-child .title,
+ .section-container.vertical-tabs .section.active:last-child .title {
+ border-bottom: 0; }
+
+ .section-container.vertical-nav {
+ border: 0;
+ position: relative; }
+ .section-container.vertical-nav > section, .section-container.vertical-nav > .section {
+ padding-top: 0 !important;
+ position: relative; }
+ .section-container.vertical-nav > section > .title, .section-container.vertical-nav > .section > .title {
+ background-color: #efefef;
+ cursor: pointer;
+ margin-bottom: 0; }
+ .section-container.vertical-nav > section > .title a, .section-container.vertical-nav > .section > .title a {
+ padding: 0.9375em;
+ display: inline-block;
+ color: #333333;
+ font-size: 0.875em;
+ white-space: nowrap; }
+ .section-container.vertical-nav > section > .title:hover, .section-container.vertical-nav > .section > .title:hover {
+ background-color: #e2e2e2; }
+ .section-container.vertical-nav > section .content, .section-container.vertical-nav > .section .content {
+ display: none;
+ padding: 0.9375em;
+ background-color: white; }
+ .section-container.vertical-nav > section .content > *:last-child, .section-container.vertical-nav > .section .content > *:last-child {
+ margin-bottom: 0; }
+ .section-container.vertical-nav > section .content > *:first-child, .section-container.vertical-nav > .section .content > *:first-child {
+ padding-top: 0; }
+ .section-container.vertical-nav > section .content > *:last-child, .section-container.vertical-nav > .section .content > *:last-child {
+ padding-bottom: 0; }
+ .section-container.vertical-nav > section.active > .content, .section-container.vertical-nav > .section.active > .content {
+ display: block; }
+ .section-container.vertical-nav > section.active > .title, .section-container.vertical-nav > .section.active > .title {
+ background: #d5d5d5; }
+ .section-container.vertical-nav > section.active > .title a, .section-container.vertical-nav > .section.active > .title a {
+ color: #333333; }
+ .section-container.vertical-nav > section > .title, .section-container.vertical-nav > .section > .title {
+ border-top: none;
+ border: solid 1px #cccccc; }
+ .section-container.vertical-nav > section > .title a, .section-container.vertical-nav > .section > .title a {
+ display: block;
+ width: 100%; }
+ .section-container.vertical-nav > section .content, .section-container.vertical-nav > .section .content {
display: none; }
- .section-container.vertical-nav section.active .content,
- .section-container.vertical-nav .section.active .content {
+ .section-container.vertical-nav > section:first-child .title, .section-container.vertical-nav > .section:first-child .title {
+ border-bottom: none; }
+ .section-container.vertical-nav > section.active > .content, .section-container.vertical-nav > .section.active > .content {
display: block;
position: absolute;
left: 100%;
- top: -1px;
+ top: 0px;
z-index: 999;
min-width: 12.5em;
- border: 1px solid #cccccc; }
+ border: solid 1px #cccccc; }
.section-container.horizontal-nav {
position: relative;
background: #efefef;
border: 1px solid #cccccc; }
- .section-container.horizontal-nav section,
- .section-container.horizontal-nav .section {
+ .section-container.horizontal-nav > section, .section-container.horizontal-nav > .section {
padding-top: 0;
border: 0;
position: static; }
- .section-container.horizontal-nav section .title,
- .section-container.horizontal-nav .section .title {
+ .section-container.horizontal-nav > section > .title, .section-container.horizontal-nav > .section > .title {
+ background-color: #efefef;
+ cursor: pointer;
+ margin-bottom: 0; }
+ .section-container.horizontal-nav > section > .title a, .section-container.horizontal-nav > .section > .title a {
+ padding: 0.9375em;
+ display: inline-block;
+ color: #333333;
+ font-size: 0.875em;
+ white-space: nowrap; }
+ .section-container.horizontal-nav > section > .title:hover, .section-container.horizontal-nav > .section > .title:hover {
+ background-color: #e2e2e2; }
+ .section-container.horizontal-nav > section .content, .section-container.horizontal-nav > .section .content {
+ display: none;
+ padding: 0.9375em;
+ background-color: white; }
+ .section-container.horizontal-nav > section .content > *:last-child, .section-container.horizontal-nav > .section .content > *:last-child {
+ margin-bottom: 0; }
+ .section-container.horizontal-nav > section .content > *:first-child, .section-container.horizontal-nav > .section .content > *:first-child {
+ padding-top: 0; }
+ .section-container.horizontal-nav > section .content > *:last-child, .section-container.horizontal-nav > .section .content > *:last-child {
+ padding-bottom: 0; }
+ .section-container.horizontal-nav > section.active > .content, .section-container.horizontal-nav > .section.active > .content {
+ display: block; }
+ .section-container.horizontal-nav > section.active > .title, .section-container.horizontal-nav > .section.active > .title {
+ background: #d5d5d5; }
+ .section-container.horizontal-nav > section.active > .title a, .section-container.horizontal-nav > .section.active > .title a {
+ color: #333333; }
+ .section-container.horizontal-nav > section > .title, .section-container.horizontal-nav > .section > .title {
width: auto;
- border: 1px solid #cccccc;
+ border: solid 1px #cccccc;
border-left: 0;
top: -1px;
position: absolute;
z-index: 1; }
- .section-container.horizontal-nav section .title a,
- .section-container.horizontal-nav .section .title a {
+ .section-container.horizontal-nav > section > .title a, .section-container.horizontal-nav > .section > .title a {
width: 100%; }
- .section-container.horizontal-nav section .content,
- .section-container.horizontal-nav .section .content {
+ .section-container.horizontal-nav > section .content, .section-container.horizontal-nav > .section .content {
display: none; }
- .section-container.horizontal-nav section.active .content,
- .section-container.horizontal-nav .section.active .content {
+ .section-container.horizontal-nav > section.active > .content, .section-container.horizontal-nav > .section.active > .content {
display: block;
position: absolute;
z-index: 999;
left: 0;
top: -2px;
min-width: 12.5em;
- border: 1px solid #cccccc; } }
+ border: solid 1px #cccccc; } }
+ .no-js .section-container.auto, .no-js .section-container.accordion, .no-js .section-container.tabs, .no-js .section-container.vertical-tabs, .no-js .section-container.vertical-nav, .no-js .section-container.horizontal-nav {
+ width: 100%;
+ display: block;
+ margin-bottom: 1.25em;
+ border: 1px solid #cccccc;
+ border-top: none; }
+ .no-js .section-container.auto > section, .no-js .section-container.auto > .section, .no-js .section-container.accordion > section, .no-js .section-container.accordion > .section, .no-js .section-container.tabs > section, .no-js .section-container.tabs > .section, .no-js .section-container.vertical-tabs > section, .no-js .section-container.vertical-tabs > .section, .no-js .section-container.vertical-nav > section, .no-js .section-container.vertical-nav > .section, .no-js .section-container.horizontal-nav > section, .no-js .section-container.horizontal-nav > .section {
+ position: relative; }
+ .no-js .section-container.auto > section > .title, .no-js .section-container.auto > .section > .title, .no-js .section-container.accordion > section > .title, .no-js .section-container.accordion > .section > .title, .no-js .section-container.tabs > section > .title, .no-js .section-container.tabs > .section > .title, .no-js .section-container.vertical-tabs > section > .title, .no-js .section-container.vertical-tabs > .section > .title, .no-js .section-container.vertical-nav > section > .title, .no-js .section-container.vertical-nav > .section > .title, .no-js .section-container.horizontal-nav > section > .title, .no-js .section-container.horizontal-nav > .section > .title {
+ background-color: #efefef;
+ cursor: pointer;
+ margin-bottom: 0; }
+ .no-js .section-container.auto > section > .title a, .no-js .section-container.auto > .section > .title a, .no-js .section-container.accordion > section > .title a, .no-js .section-container.accordion > .section > .title a, .no-js .section-container.tabs > section > .title a, .no-js .section-container.tabs > .section > .title a, .no-js .section-container.vertical-tabs > section > .title a, .no-js .section-container.vertical-tabs > .section > .title a, .no-js .section-container.vertical-nav > section > .title a, .no-js .section-container.vertical-nav > .section > .title a, .no-js .section-container.horizontal-nav > section > .title a, .no-js .section-container.horizontal-nav > .section > .title a {
+ padding: 0.9375em;
+ display: inline-block;
+ color: #333333;
+ font-size: 0.875em;
+ white-space: nowrap; }
+ .no-js .section-container.auto > section > .title:hover, .no-js .section-container.auto > .section > .title:hover, .no-js .section-container.accordion > section > .title:hover, .no-js .section-container.accordion > .section > .title:hover, .no-js .section-container.tabs > section > .title:hover, .no-js .section-container.tabs > .section > .title:hover, .no-js .section-container.vertical-tabs > section > .title:hover, .no-js .section-container.vertical-tabs > .section > .title:hover, .no-js .section-container.vertical-nav > section > .title:hover, .no-js .section-container.vertical-nav > .section > .title:hover, .no-js .section-container.horizontal-nav > section > .title:hover, .no-js .section-container.horizontal-nav > .section > .title:hover {
+ background-color: #e2e2e2; }
+ .no-js .section-container.auto > section .content, .no-js .section-container.auto > .section .content, .no-js .section-container.accordion > section .content, .no-js .section-container.accordion > .section .content, .no-js .section-container.tabs > section .content, .no-js .section-container.tabs > .section .content, .no-js .section-container.vertical-tabs > section .content, .no-js .section-container.vertical-tabs > .section .content, .no-js .section-container.vertical-nav > section .content, .no-js .section-container.vertical-nav > .section .content, .no-js .section-container.horizontal-nav > section .content, .no-js .section-container.horizontal-nav > .section .content {
+ display: none;
+ padding: 0.9375em;
+ background-color: white; }
+ .no-js .section-container.auto > section .content > *:last-child, .no-js .section-container.auto > .section .content > *:last-child, .no-js .section-container.accordion > section .content > *:last-child, .no-js .section-container.accordion > .section .content > *:last-child, .no-js .section-container.tabs > section .content > *:last-child, .no-js .section-container.tabs > .section .content > *:last-child, .no-js .section-container.vertical-tabs > section .content > *:last-child, .no-js .section-container.vertical-tabs > .section .content > *:last-child, .no-js .section-container.vertical-nav > section .content > *:last-child, .no-js .section-container.vertical-nav > .section .content > *:last-child, .no-js .section-container.horizontal-nav > section .content > *:last-child, .no-js .section-container.horizontal-nav > .section .content > *:last-child {
+ margin-bottom: 0; }
+ .no-js .section-container.auto > section .content > *:first-child, .no-js .section-container.auto > .section .content > *:first-child, .no-js .section-container.accordion > section .content > *:first-child, .no-js .section-container.accordion > .section .content > *:first-child, .no-js .section-container.tabs > section .content > *:first-child, .no-js .section-container.tabs > .section .content > *:first-child, .no-js .section-container.vertical-tabs > section .content > *:first-child, .no-js .section-container.vertical-tabs > .section .content > *:first-child, .no-js .section-container.vertical-nav > section .content > *:first-child, .no-js .section-container.vertical-nav > .section .content > *:first-child, .no-js .section-container.horizontal-nav > section .content > *:first-child, .no-js .section-container.horizontal-nav > .section .content > *:first-child {
+ padding-top: 0; }
+ .no-js .section-container.auto > section .content > *:last-child, .no-js .section-container.auto > .section .content > *:last-child, .no-js .section-container.accordion > section .content > *:last-child, .no-js .section-container.accordion > .section .content > *:last-child, .no-js .section-container.tabs > section .content > *:last-child, .no-js .section-container.tabs > .section .content > *:last-child, .no-js .section-container.vertical-tabs > section .content > *:last-child, .no-js .section-container.vertical-tabs > .section .content > *:last-child, .no-js .section-container.vertical-nav > section .content > *:last-child, .no-js .section-container.vertical-nav > .section .content > *:last-child, .no-js .section-container.horizontal-nav > section .content > *:last-child, .no-js .section-container.horizontal-nav > .section .content > *:last-child {
+ padding-bottom: 0; }
+ .no-js .section-container.auto > section.active > .content, .no-js .section-container.auto > .section.active > .content, .no-js .section-container.accordion > section.active > .content, .no-js .section-container.accordion > .section.active > .content, .no-js .section-container.tabs > section.active > .content, .no-js .section-container.tabs > .section.active > .content, .no-js .section-container.vertical-tabs > section.active > .content, .no-js .section-container.vertical-tabs > .section.active > .content, .no-js .section-container.vertical-nav > section.active > .content, .no-js .section-container.vertical-nav > .section.active > .content, .no-js .section-container.horizontal-nav > section.active > .content, .no-js .section-container.horizontal-nav > .section.active > .content {
+ display: block; }
+ .no-js .section-container.auto > section.active > .title, .no-js .section-container.auto > .section.active > .title, .no-js .section-container.accordion > section.active > .title, .no-js .section-container.accordion > .section.active > .title, .no-js .section-container.tabs > section.active > .title, .no-js .section-container.tabs > .section.active > .title, .no-js .section-container.vertical-tabs > section.active > .title, .no-js .section-container.vertical-tabs > .section.active > .title, .no-js .section-container.vertical-nav > section.active > .title, .no-js .section-container.vertical-nav > .section.active > .title, .no-js .section-container.horizontal-nav > section.active > .title, .no-js .section-container.horizontal-nav > .section.active > .title {
+ background: #d5d5d5; }
+ .no-js .section-container.auto > section.active > .title a, .no-js .section-container.auto > .section.active > .title a, .no-js .section-container.accordion > section.active > .title a, .no-js .section-container.accordion > .section.active > .title a, .no-js .section-container.tabs > section.active > .title a, .no-js .section-container.tabs > .section.active > .title a, .no-js .section-container.vertical-tabs > section.active > .title a, .no-js .section-container.vertical-tabs > .section.active > .title a, .no-js .section-container.vertical-nav > section.active > .title a, .no-js .section-container.vertical-nav > .section.active > .title a, .no-js .section-container.horizontal-nav > section.active > .title a, .no-js .section-container.horizontal-nav > .section.active > .title a {
+ color: #333333; }
+ .no-js .section-container.auto > section > .title, .no-js .section-container.auto > .section > .title, .no-js .section-container.accordion > section > .title, .no-js .section-container.accordion > .section > .title, .no-js .section-container.tabs > section > .title, .no-js .section-container.tabs > .section > .title, .no-js .section-container.vertical-tabs > section > .title, .no-js .section-container.vertical-tabs > .section > .title, .no-js .section-container.vertical-nav > section > .title, .no-js .section-container.vertical-nav > .section > .title, .no-js .section-container.horizontal-nav > section > .title, .no-js .section-container.horizontal-nav > .section > .title {
+ top: 0;
+ width: 100%;
+ margin: 0;
+ border-top: solid 1px #cccccc; }
+ .no-js .section-container.auto > section > .title a, .no-js .section-container.auto > .section > .title a, .no-js .section-container.accordion > section > .title a, .no-js .section-container.accordion > .section > .title a, .no-js .section-container.tabs > section > .title a, .no-js .section-container.tabs > .section > .title a, .no-js .section-container.vertical-tabs > section > .title a, .no-js .section-container.vertical-tabs > .section > .title a, .no-js .section-container.vertical-nav > section > .title a, .no-js .section-container.vertical-nav > .section > .title a, .no-js .section-container.horizontal-nav > section > .title a, .no-js .section-container.horizontal-nav > .section > .title a {
+ width: 100%; }
+ .no-js .section-container.auto > section .title, .no-js .section-container.auto > .section .title, .no-js .section-container.accordion > section .title, .no-js .section-container.accordion > .section .title, .no-js .section-container.tabs > section .title, .no-js .section-container.tabs > .section .title, .no-js .section-container.vertical-tabs > section .title, .no-js .section-container.vertical-tabs > .section .title, .no-js .section-container.vertical-nav > section .title, .no-js .section-container.vertical-nav > .section .title, .no-js .section-container.horizontal-nav > section .title, .no-js .section-container.horizontal-nav > .section .title {
+ position: static;
+ width: 100%;
+ border-left: 0;
+ border-right: 0; }
+ .no-js .section-container.auto > section .content, .no-js .section-container.auto > .section .content, .no-js .section-container.accordion > section .content, .no-js .section-container.accordion > .section .content, .no-js .section-container.tabs > section .content, .no-js .section-container.tabs > .section .content, .no-js .section-container.vertical-tabs > section .content, .no-js .section-container.vertical-tabs > .section .content, .no-js .section-container.vertical-nav > section .content, .no-js .section-container.vertical-nav > .section .content, .no-js .section-container.horizontal-nav > section .content, .no-js .section-container.horizontal-nav > .section .content {
+ position: static;
+ display: block;
+ width: 100%;
+ border-left: 0;
+ border-right: 0;
+ border-bottom: 0; }
+
/* Wrapped around .top-bar to contain to grid width */
.contain-to-grid {
width: 100%;
background: #111111; }
+ .contain-to-grid .top-bar {
+ margin-bottom: 0; }
.fixed {
width: 100%;
@@ @@ -2331,7 +2639,8 @@ form.custom {
padding-bottom: .5em;
margin-bottom: 0; }
.top-bar .title-area {
- position: relative; }
+ position: relative;
+ margin: 0; }
.top-bar .name {
height: 45px;
margin: 0;
@@ @@ -2402,12 +2711,13 @@ form.custom {
width: 100%;
height: auto;
display: block;
- background: #333333;
+ background: #222222;
font-size: 16px;
margin: 0; }
- .top-bar-section .divider {
- border-bottom: solid 1px #4d4d4d;
- border-top: solid 1px #1a1a1a;
+ .top-bar-section .divider,
+ .top-bar-section [role="separator"] {
+ border-bottom: solid 1px #2b2b2b;
+ border-top: solid 1px black;
clear: both;
height: 1px;
width: 100%; }
@@ @@ -2419,28 +2729,30 @@ form.custom {
padding-left: 15px;
font-size: 0.8125em;
font-weight: bold;
- background: #333333; }
- .top-bar-section ul li > a:hover {
- background: #2b2b2b; }
+ background: #222222; }
+ .top-bar-section ul li > a.hover {
+ background: #090909;
+ color: white; }
.top-bar-section ul li > a.button {
background: #2ba6cb;
font-size: 0.8125em; }
- .top-bar-section ul li > a.button:hover {
+ .top-bar-section ul li > a.button.hover {
background: #2284a1; }
.top-bar-section ul li > a.button.secondary {
background: #e9e9e9; }
- .top-bar-section ul li > a.button.secondary:hover {
+ .top-bar-section ul li > a.button.secondary.hover {
background: #d0d0d0; }
.top-bar-section ul li > a.button.success {
background: #5da423; }
- .top-bar-section ul li > a.button.success:hover {
+ .top-bar-section ul li > a.button.success.hover {
background: #457a1a; }
.top-bar-section ul li > a.button.alert {
background: #c60f13; }
- .top-bar-section ul li > a.button.alert:hover {
+ .top-bar-section ul li > a.button.alert.hover {
background: #970b0e; }
- .top-bar-section ul li.active a {
- background: #2b2b2b; }
+ .top-bar-section ul li.active > a {
+ background: #090909;
+ color: white; }
.top-bar-section .has-form {
padding: 15px; }
.top-bar-section .has-dropdown {
@@ @@ -2450,8 +2762,9 @@ form.custom {
display: block;
width: 0;
height: 0;
- border: solid 5px;
+ border: inset 5px;
border-color: transparent transparent transparent rgba(255, 255, 255, 0.5);
+ border-left-style: solid;
margin-right: 15px;
margin-top: -4.5px;
position: absolute;
@@ @@ -2468,7 +2781,8 @@ form.custom {
visibility: hidden;
z-index: 99; }
.top-bar-section .dropdown li {
- width: 100%; }
+ width: 100%;
+ height: auto; }
.top-bar-section .dropdown li a {
font-weight: normal;
padding: 8px 15px; }
@@ @@ -2541,7 +2855,7 @@ form.custom {
padding: 0 15px;
line-height: 45px;
background: #111111; }
- .top-bar-section li a:not(.button):hover {
+ .top-bar-section li a:not(.button).hover {
background: black; }
.top-bar-section .has-dropdown > a {
padding-right: 35px !important; }
@@ @@ -2550,19 +2864,21 @@ form.custom {
display: block;
width: 0;
height: 0;
- border: solid 5px;
+ border: inset 5px;
border-color: rgba(255, 255, 255, 0.5) transparent transparent transparent;
- margin-top: -2.5px; }
+ border-top-style: solid;
+ margin-top: -2.5px;
+ top: 22.5px; }
.top-bar-section .has-dropdown.moved {
position: relative; }
.top-bar-section .has-dropdown.moved > .dropdown {
visibility: hidden; }
- .top-bar-section .has-dropdown:hover > .dropdown, .top-bar-section .has-dropdown:active > .dropdown {
+ .top-bar-section .has-dropdown.hover > .dropdown {
visibility: visible; }
.top-bar-section .has-dropdown .dropdown li.has-dropdown > a:after {
border: none;
content: "\00bb";
- margin-top: -7px;
+ margin-top: -16px;
right: 5px; }
.top-bar-section .dropdown {
left: 0;
@@ @@ -2581,7 +2897,7 @@ form.custom {
.top-bar-section .dropdown li .dropdown {
left: 100%;
top: 0; }
- .top-bar-section > ul > .divider {
+ .top-bar-section > ul > .divider, .top-bar-section > ul > [role="separator"] {
border-bottom: none;
border-top: none;
border-right: solid 1px #2b2b2b;
@@ @@ -2598,6 +2914,82 @@ form.custom {
right: 0; }
.top-bar-section ul.right li .dropdown li .dropdown {
right: 100%; } }
+ @-webkit-keyframes rotate {
+ from {
+ -webkit-transform: rotate(0deg); }
+
+ to {
+ -webkit-transform: rotate(360deg); } }
+
+ @-moz-keyframes rotate {
+ from {
+ -webkit-transform: rotate(0deg); }
+
+ to {
+ -webkit-transform: rotate(360deg); } }
+
+ @-o-keyframes rotate {
+ from {
+ -webkit-transform: rotate(0deg); }
+
+ to {
+ -webkit-transform: rotate(360deg); } }
+
+ @keyframes rotate {
+ from {
+ -webkit-transform: rotate(0deg); }
+
+ to {
+ -webkit-transform: rotate(360deg); } }
+
+ /* Orbit Graceful Loading */
+ .slideshow-wrapper {
+ position: relative; }
+ .slideshow-wrapper ul {
+ list-style-type: none;
+ margin: 0; }
+ .slideshow-wrapper ul li,
+ .slideshow-wrapper ul li .orbit-caption {
+ display: none; }
+ .slideshow-wrapper ul li:first-child {
+ display: block; }
+ .slideshow-wrapper .orbit-container {
+ background-color: transparent; }
+ .slideshow-wrapper .orbit-container li {
+ display: block; }
+ .slideshow-wrapper .orbit-container li .orbit-caption {
+ display: block; }
+
+ .preloader {
+ display: block;
+ width: 40px;
+ height: 40px;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ margin-top: -20px;
+ margin-left: -20px;
+ border: solid 3px;
+ border-color: #555 #fff;
+ -webkit-border-radius: 1000px;
+ border-radius: 1000px;
+ -webkit-animation-name: rotate;
+ -webkit-animation-duration: 1.5s;
+ -webkit-animation-iteration-count: infinite;
+ -webkit-animation-timing-function: linear;
+ -moz-animation-name: rotate;
+ -moz-animation-duration: 1.5s;
+ -moz-animation-iteration-count: infinite;
+ -moz-animation-timing-function: linear;
+ -o-animation-name: rotate;
+ -o-animation-duration: 1.5s;
+ -o-animation-iteration-count: infinite;
+ -o-animation-timing-function: linear;
+ animation-name: rotate;
+ animation-duration: 1.5s;
+ animation-iteration-count: infinite;
+ animation-timing-function: linear; }
+
.orbit-container {
overflow: hidden;
width: 100%;
@@ @@ -2613,25 +3005,26 @@ form.custom {
.orbit-container .orbit-slides-container > * {
position: relative;
float: left;
- height: 100%; }
+ height: auto; }
.orbit-container .orbit-slides-container > * .orbit-caption {
position: absolute;
bottom: 0;
background-color: black;
background-color: rgba(0, 0, 0, 0.6);
- color: #fff;
+ color: white;
width: 100%;
padding: 10px 14px;
font-size: 0.875em; }
- .orbit-container .orbit-slides-container > * .orbit-caption * {
- color: white; }
.orbit-container .orbit-slide-number {
position: absolute;
top: 10px;
left: 10px;
- font-size: 12px; }
+ font-size: 12px;
+ color: white;
+ background: rgba(0, 0, 0, 0); }
.orbit-container .orbit-slide-number span {
- font-weight: 700; }
+ font-weight: 700;
+ padding: 0.3125em; }
.orbit-container .orbit-timer {
position: absolute;
top: 10px;
@@ @@ -2651,7 +3044,7 @@ form.custom {
right: 0px;
width: 11px;
height: 14px;
- border: solid 4px black;
+ border: solid 4px #000;
border-top: none;
border-bottom: none; }
.orbit-container .orbit-timer.paused > span {
@@ @@ -2659,8 +3052,9 @@ form.custom {
top: 9px;
width: 11px;
height: 14px;
- border: solid 8px;
- border-color: transparent transparent transparent black; }
+ border: inset 8px;
+ border-right-style: solid;
+ border-color: transparent transparent transparent #000; }
.orbit-container:hover .orbit-timer > span {
display: block; }
.orbit-container .orbit-prev,
@@ @@ -2683,21 +3077,25 @@ form.custom {
display: block;
width: 0;
height: 0;
- border: solid 16px; }
+ border: inset 16px; }
.orbit-container .orbit-prev {
left: 0; }
.orbit-container .orbit-prev > span {
- border-color: transparent white transparent transparent; }
+ border-right-style: solid;
+ border-color: transparent;
+ border-right-color: #fff; }
.orbit-container .orbit-prev:hover > span {
- border-color: transparent #cccccc transparent transparent; }
+ border-right-color: #ccc; }
.orbit-container .orbit-next {
right: 0; }
.orbit-container .orbit-next > span {
- border-color: transparent transparent transparent white;
+ border-color: transparent;
+ border-left-style: solid;
+ border-left-color: #fff;
left: 50%;
margin-left: -8px; }
.orbit-container .orbit-next:hover > span {
- border-color: transparent transparent transparent #cccccc; }
+ border-left-color: #ccc; }
.orbit-bullets {
margin: 0 auto 30px auto;
@@ @@ -2708,14 +3106,14 @@ form.custom {
display: block;
width: 18px;
height: 18px;
- background: #fff;
+ background: #999999;
float: left;
margin-right: 6px;
- border: solid 2px black;
+ border: solid 2px #222222;
-webkit-border-radius: 1000px;
border-radius: 1000px; }
.orbit-bullets li.active {
- background: #000; }
+ background: #222222; }
.orbit-bullets li:last-child {
margin-right: 0; }
@@ @@ -2725,7 +3123,7 @@ form.custom {
.touch .orbit-bullets {
display: none; }
- @media only screen and (min-width: 48em) {
+ @media only screen and (min-width: 768px) {
.touch .orbit-container .orbit-prev,
.touch .orbit-container .orbit-next {
display: inherit; }
@@ @@ -2749,7 +3147,6 @@ form.custom {
left: 50%;
z-index: 99;
height: auto;
- background-color: #fff;
margin-left: -40%;
width: 80%;
background-color: white;
@@ @@ -2775,28 +3172,28 @@ form.custom {
font-weight: bold;
cursor: pointer; }
- @media only screen and (min-width: 48em) {
+ @media only screen and (min-width: 768px) {
.reveal-modal {
padding: 1.875em;
top: 6.25em; }
- .reveal-modal.small {
+ .reveal-modal.tiny {
margin-left: -15%;
width: 30%; }
- .reveal-modal.medium {
+ .reveal-modal.small {
margin-left: -20%;
width: 40%; }
- .reveal-modal.large {
+ .reveal-modal.medium {
margin-left: -30%;
width: 60%; }
- .reveal-modal.xlarge {
+ .reveal-modal.large {
margin-left: -35%;
width: 70%; }
- .reveal-modal.expand {
+ .reveal-modal.xlarge {
margin-left: -47.5%;
width: 95%; } }
@media print {
- div:not(.reveal-modal) {
- display: none; } }
+ .reveal-modal {
+ background: #fff !important; } }
/* Foundation Joyride */
.joyride-list {
display: none; }
@@ @@ -2832,21 +3229,21 @@ form.custom {
left: 22px;
width: 0;
height: 0;
- border: solid 14px; }
+ border: inset 14px; }
.joyride-tip-guide .joyride-nub.top {
+ border-top-style: solid;
border-color: black;
border-top-color: transparent !important;
border-left-color: transparent !important;
border-right-color: transparent !important;
- top: -28px;
- bottom: none; }
+ top: -28px; }
.joyride-tip-guide .joyride-nub.bottom {
+ border-bottom-style: solid;
border-color: black !important;
border-bottom-color: transparent !important;
border-left-color: transparent !important;
border-right-color: transparent !important;
- bottom: -28px;
- bottom: none; }
+ bottom: -28px; }
.joyride-tip-guide .joyride-nub.right {
right: -28px; }
.joyride-tip-guide .joyride-nub.left {
@@ @@ -2891,9 +3288,9 @@ form.custom {
text-decoration: none;
font-size: 30px;
font-weight: normal;
- line-height: 0.5 !important; }
+ line-height: .5 !important; }
.joyride-close-tip:hover, .joyride-close-tip:focus {
- color: #eeeeee !important; }
+ color: #eee !important; }
.joyride-modal-bg {
position: fixed;
@@ @@ -2907,25 +3304,40 @@ form.custom {
left: 0;
cursor: pointer; }
+ .joyride-expose-wrapper {
+ background-color: #ffffff;
+ position: absolute;
+ border-radius: 3px;
+ z-index: 102;
+ -moz-box-shadow: 0px 0px 30px #ffffff;
+ -webkit-box-shadow: 0px 0px 15px #ffffff;
+ box-shadow: 0px 0px 15px #ffffff; }
+
+ .joyride-expose-cover {
+ background: transparent;
+ border-radius: 3px;
+ position: absolute;
+ z-index: 9999;
+ top: 0px;
+ left: 0px; }
+
/* Styles for screens that are atleast 768px; */
- @media only screen and (min-width: 48em) {
+ @media only screen and (min-width: 768px) {
.joyride-tip-guide {
width: 300px;
- left: 0; }
+ left: inherit; }
.joyride-tip-guide .joyride-nub.bottom {
border-color: black !important;
border-bottom-color: transparent !important;
border-left-color: transparent !important;
border-right-color: transparent !important;
- bottom: -28px;
- bottom: none; }
+ bottom: -28px; }
.joyride-tip-guide .joyride-nub.right {
border-color: black !important;
border-top-color: transparent !important;
border-right-color: transparent !important;
border-bottom-color: transparent !important;
top: 22px;
- bottom: none;
left: auto;
right: -28px; }
.joyride-tip-guide .joyride-nub.left {
@@ @@ -2935,17 +3347,20 @@ form.custom {
border-bottom-color: transparent !important;
top: 22px;
left: -28px;
- right: auto;
- bottom: none; } }
+ right: auto; } }
/* Clearing Styles */
[data-clearing] {
*zoom: 1;
- margin-bottom: 0; }
+ margin-bottom: 0;
+ list-style: none; }
[data-clearing]:before, [data-clearing]:after {
content: " ";
display: table; }
[data-clearing]:after {
clear: both; }
+ [data-clearing] li {
+ float: left;
+ margin-right: 10px; }
.clearing-blackout {
background: #111111;
@@ @@ -3004,15 +3419,20 @@ form.custom {
.clearing-assembled .clearing-container .carousel > ul {
display: none; }
- @media only screen and (min-width: 48em) {
- .clearing-main-left,
- .clearing-main-right {
+ .clearing-feature li {
+ display: none; }
+ .clearing-feature li.clearing-featured-img {
+ display: block; }
+
+ @media only screen and (min-width: 768px) {
+ .clearing-main-prev,
+ .clearing-main-next {
position: absolute;
height: 100%;
width: 40px;
top: 0; }
- .clearing-main-left > span,
- .clearing-main-right > span {
+ .clearing-main-prev > span,
+ .clearing-main-next > span {
position: absolute;
top: 50%;
display: block;
@@ @@ -3020,24 +3440,23 @@ form.custom {
height: 0;
border: solid 16px; }
- .clearing-main-left {
+ .clearing-main-prev {
left: 0; }
- .clearing-main-left > span {
+ .clearing-main-prev > span {
left: 5px;
- border-color: transparent white transparent transparent; }
+ border-color: transparent;
+ border-right-color: white; }
- .clearing-main-right {
+ .clearing-main-next {
right: 0; }
- .clearing-main-right > span {
- border-color: transparent transparent transparent white; }
+ .clearing-main-next > span {
+ border-color: transparent;
+ border-left-color: white; }
- .clearing-main-left.disabled,
- .clearing-main-right.disabled {
+ .clearing-main-prev.disabled,
+ .clearing-main-next.disabled {
opacity: 0.5; }
- .clearing-feature ~ li {
- display: none; }
-
.clearing-assembled .clearing-container .carousel {
background: #111111;
height: 150px;
@@ @@ -3132,7 +3551,7 @@ form.custom {
/* Breadcrumbs */
.breadcrumbs {
display: block;
- padding: 0.375em 0.875em 0.5625em;
+ padding: 0.5625em 0.875em 0.5625em;
overflow: hidden;
margin-left: 0;
list-style: none;
@@ @@ -3142,39 +3561,44 @@ form.custom {
border-color: gainsboro;
-webkit-border-radius: 3px;
border-radius: 3px; }
- .breadcrumbs li {
+ .breadcrumbs > * {
margin: 0;
- padding: 0 0.75em 0 0;
- float: left; }
- .breadcrumbs li:hover a, .breadcrumbs li:focus a {
+ float: left;
+ font-size: 0.6875em;
+ text-transform: uppercase;
+ color: #2ba6cb; }
+ .breadcrumbs > *:hover a, .breadcrumbs > *:focus a {
text-decoration: underline; }
- .breadcrumbs li a,
- .breadcrumbs li span {
- font-size: 0.6875em;
- padding-left: 0.75em;
+ .breadcrumbs > * a,
+ .breadcrumbs > * span {
text-transform: uppercase;
color: #2ba6cb; }
- .breadcrumbs li.current a {
+ .breadcrumbs > *.current {
cursor: default;
color: #333333; }
- .breadcrumbs li.current:hover a, .breadcrumbs li.current:focus a {
- text-decoration: none; }
- .breadcrumbs li.unavailable a {
+ .breadcrumbs > *.current a {
+ cursor: default;
+ color: #333333; }
+ .breadcrumbs > *.current:hover, .breadcrumbs > *.current:hover a, .breadcrumbs > *.current:focus, .breadcrumbs > *.current:focus a {
+ text-decoration: none; }
+ .breadcrumbs > *.unavailable {
color: #999999; }
- .breadcrumbs li.unavailable:hover a,
- .breadcrumbs li.unavailable a:focus {
- text-decoration: none;
- color: #999999;
- cursor: default; }
- .breadcrumbs li:before {
+ .breadcrumbs > *.unavailable a {
+ color: #999999; }
+ .breadcrumbs > *.unavailable:hover, .breadcrumbs > *.unavailable:hover a, .breadcrumbs > *.unavailable:focus,
+ .breadcrumbs > *.unavailable a:focus {
+ text-decoration: none;
+ color: #999999;
+ cursor: default; }
+ .breadcrumbs > *:before {
content: "/";
color: #aaaaaa;
+ margin: 0 0.75em;
position: relative;
top: 1px; }
- .breadcrumbs li:first-child a, .breadcrumbs li:first-child span {
- padding-left: 0; }
- .breadcrumbs li:first-child:before {
- content: " "; }
+ .breadcrumbs > *:first-child:before {
+ content: " ";
+ margin: 0; }
/* Keystroke Characters */
.keystroke,
@@ @@ -3186,14 +3610,14 @@ kbd {
border-width: 1px;
margin: 0;
font-family: "Consolas", "Menlo", "Courier", monospace;
- font-size: 0.9375em;
+ font-size: 0.875em;
padding: 0.125em 0.25em 0em;
-webkit-border-radius: 3px;
border-radius: 3px; }
/* Labels */
.label {
- font-weight: 500;
+ font-weight: bold;
text-align: center;
text-decoration: none;
line-height: 1;
@@ @@ -3203,7 +3627,7 @@ kbd {
padding: 0.1875em 0.625em 0.25em;
font-size: 0.875em;
background-color: #2ba6cb;
- color: #fff; }
+ color: white; }
.label.radius {
-webkit-border-radius: 3px;
border-radius: 3px; }
@@ @@ -3212,17 +3636,19 @@ kbd {
border-radius: 1000px; }
.label.alert {
background-color: #c60f13;
- color: #fff; }
+ color: white; }
.label.success {
background-color: #5da423;
- color: #fff; }
+ color: white; }
.label.secondary {
background-color: #e9e9e9;
- color: #333; }
+ color: #333333; }
/* Inline Lists */
.inline-list {
- margin: 0 0 1.0625em -1.375em;
+ margin: 0 auto 1.0625em auto;
+ margin-left: -1.375em;
+ margin-right: 0;
padding: 0;
list-style: none;
overflow: hidden; }
@@ @@ -3408,7 +3834,7 @@ kbd {
.side-nav li a {
display: block;
color: #2ba6cb; }
- .side-nav li.active a {
+ .side-nav li.active > a:first-child {
color: #4d4d4d;
font-weight: bold; }
.side-nav li.divider {
@@ @@ -3472,7 +3898,6 @@ kbd {
width: 50%;
height: 100%;
margin: 0;
- text-align: right;
font-weight: bold;
text-align: left;
-webkit-transition: all 0.1s ease-out;
@@ @@ -3483,7 +3908,8 @@ kbd {
z-index: 3;
opacity: 0;
width: 100%;
- height: 100%; }
+ height: 100%;
+ -moz-appearance: none; }
div.switch input:hover, div.switch input:focus {
cursor: pointer; }
div.switch > span {
@@ @@ -3606,7 +4032,7 @@ kbd {
position: relative; } } }
[data-magellan-expedition] {
background: white;
- z-index: 997;
+ z-index: 50;
min-width: 100%;
padding: 10px; }
[data-magellan-expedition] .sub-nav {
@@ @@ -3648,6 +4074,7 @@ table {
/* Image Thumbnails */
.th {
+ line-height: 0;
display: inline-block;
border: solid 4px white;
-webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
@@ @@ -3662,6 +4089,9 @@ table {
-webkit-border-radius: 3px;
border-radius: 3px; }
+ a.th {
+ display: inline-block; }
+
/* Tooltips */
.has-tip {
border-bottom: dotted 1px #cccccc;
@@ @@ -3691,6 +4121,7 @@ table {
border-radius: 3px; }
.tooltip > .nub {
display: block;
+ left: 5px;
position: absolute;
width: 0;
height: 0;
@@ @@ -3707,7 +4138,7 @@ table {
color: #888888;
font-weight: normal; }
- @media only screen and (min-width: 48em) {
+ @media only screen and (min-width: 768px) {
.tooltip > .nub {
border-color: transparent transparent black transparent;
top: -10px; }
@@ @@ -3736,7 +4167,6 @@ table {
/* Foundation Dropdowns */
.f-dropdown {
position: absolute;
- left: -9999px;
top: -9999px;
list-style: none;
width: 100%;
@@ @@ -3748,17 +4178,18 @@ table {
z-index: 99;
margin-top: 2px;
max-width: 200px; }
- .f-dropdown *:first-child {
+ .f-dropdown > *:first-child {
margin-top: 0; }
- .f-dropdown *:last-child {
+ .f-dropdown > *:last-child {
margin-bottom: 0; }
.f-dropdown:before {
content: "";
display: block;
width: 0;
height: 0;
- border: solid 6px;
+ border: inset 6px;
border-color: transparent transparent white transparent;
+ border-bottom-style: solid;
position: absolute;
top: -12px;
left: 10px;
@@ @@ -3768,8 +4199,9 @@ table {
display: block;
width: 0;
height: 0;
- border: solid 7px;
+ border: inset 7px;
border-color: transparent transparent #cccccc transparent;
+ border-bottom-style: solid;
position: absolute;
top: -14px;
left: 9px;
@@ @@ -3783,16 +4215,16 @@ table {
.f-dropdown li {
font-size: 0.875em;
cursor: pointer;
- padding: 0.3125em 0.625em;
line-height: 1.125em;
margin: 0; }
.f-dropdown li:hover, .f-dropdown li:focus {
background: #eeeeee; }
.f-dropdown li a {
+ display: block;
+ padding: 0.3125em 0.625em;
color: #555555; }
.f-dropdown.content {
position: absolute;
- left: -9999px;
top: -9999px;
list-style: none;
padding: 1.25em;
@@ @@ -3804,9 +4236,9 @@ table {
font-size: 16px;
z-index: 99;
max-width: 200px; }
- .f-dropdown.content *:first-child {
+ .f-dropdown.content > *:first-child {
margin-top: 0; }
- .f-dropdown.content *:last-child {
+ .f-dropdown.content > *:last-child {
margin-bottom: 0; }
.f-dropdown.tiny {
max-width: 200px; }
generators/foundation/public/stylesheets/foundation.min.css +440 -1
@@ @@ -1 +1,440 @@
- *,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}html,body{font-size:100%}body{background:#fff;color:#222;padding:0;margin:0;font-family:"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;font-weight:normal;font-style:normal;line-height:1;position:relative}a:focus{outline:none}img,object,embed{max-width:100%;height:auto}object,embed{height:100%}img{-ms-interpolation-mode:bicubic}#map_canvas img,#map_canvas embed,#map_canvas object,.map_canvas img,.map_canvas embed,.map_canvas object{max-width:none !important}.left{float:left !important}.right{float:right !important}.text-left{text-align:left !important}.text-right{text-align:right !important}.text-center{text-align:center !important}.text-justify{text-align:justify !important}.hide{display:none}.antialiased{-webkit-font-smoothing:antialiased}img{display:inline-block}textarea{height:auto;min-height:50px}select{width:100%}.row{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:62.5em;*zoom:1}.row:before,.row:after{content:" ";display:table}.row:after{clear:both}.row .column,.row .columns{position:relative;padding-left:0.9375em;padding-right:0.9375em;width:100%;float:left}.row.collapse .column,.row.collapse .columns{position:relative;padding-left:0;padding-right:0;float:left}.row .row{width:auto;margin-left:-0.9375em;margin-right:-0.9375em;margin-top:0;margin-bottom:0;max-width:none;*zoom:1}.row .row:before,.row .row:after{content:" ";display:table}.row .row:after{clear:both}.row .row.collapse{width:auto;margin:0;max-width:none;*zoom:1}.row .row.collapse:before,.row .row.collapse:after{content:" ";display:table}.row .row.collapse:after{clear:both}@media only screen{.row .column,.row .columns{position:relative;padding-left:0.9375em;padding-right:0.9375em;float:left}.row .small-1{position:relative;width:8.33333%}.row .small-2{position:relative;width:16.66667%}.row .small-3{position:relative;width:25%}.row .small-4{position:relative;width:33.33333%}.row .small-5{position:relative;width:41.66667%}.row .small-6{position:relative;width:50%}.row .small-7{position:relative;width:58.33333%}.row .small-8{position:relative;width:66.66667%}.row .small-9{position:relative;width:75%}.row .small-10{position:relative;width:83.33333%}.row .small-11{position:relative;width:91.66667%}.row .small-12{position:relative;width:100%}.row .small-offset-1{position:relative;margin-left:8.33333%}.row .small-offset-2{position:relative;margin-left:16.66667%}.row .small-offset-3{position:relative;margin-left:25%}.row .small-offset-4{position:relative;margin-left:33.33333%}.row .small-offset-5{position:relative;margin-left:41.66667%}.row .small-offset-6{position:relative;margin-left:50%}.row .small-offset-7{position:relative;margin-left:58.33333%}.row .small-offset-8{position:relative;margin-left:66.66667%}.row .small-offset-9{position:relative;margin-left:75%}.row .small-offset-10{position:relative;margin-left:83.33333%}[class*="column"]+[class*="column"]:last-child{float:right}[class*="column"]+[class*="column"].end{float:left}.column.small-centered,.columns.small-centered{position:relative;margin-left:auto;margin-right:auto;float:none !important}}@media only screen and (min-width: 48em){.row .large-1{position:relative;width:8.33333%}.row .large-2{position:relative;width:16.66667%}.row .large-3{position:relative;width:25%}.row .large-4{position:relative;width:33.33333%}.row .large-5{position:relative;width:41.66667%}.row .large-6{position:relative;width:50%}.row .large-7{position:relative;width:58.33333%}.row .large-8{position:relative;width:66.66667%}.row .large-9{position:relative;width:75%}.row .large-10{position:relative;width:83.33333%}.row .large-11{position:relative;width:91.66667%}.row .large-12{position:relative;width:100%}.row .large-offset-1{position:relative;margin-left:8.33333%}.row .large-offset-2{position:relative;margin-left:16.66667%}.row .large-offset-3{position:relative;margin-left:25%}.row .large-offset-4{position:relative;margin-left:33.33333%}.row .large-offset-5{position:relative;margin-left:41.66667%}.row .large-offset-6{position:relative;margin-left:50%}.row .large-offset-7{position:relative;margin-left:58.33333%}.row .large-offset-8{position:relative;margin-left:66.66667%}.row .large-offset-9{position:relative;margin-left:75%}.row .large-offset-10{position:relative;margin-left:83.33333%}.push-2{position:relative;left:16.66667%;right:auto}.pull-2{position:relative;right:16.66667%;left:auto}.push-3{position:relative;left:25%;right:auto}.pull-3{position:relative;right:25%;left:auto}.push-4{position:relative;left:33.33333%;right:auto}.pull-4{position:relative;right:33.33333%;left:auto}.push-5{position:relative;left:41.66667%;right:auto}.pull-5{position:relative;right:41.66667%;left:auto}.push-6{position:relative;left:50%;right:auto}.pull-6{position:relative;right:50%;left:auto}.push-7{position:relative;left:58.33333%;right:auto}.pull-7{position:relative;right:58.33333%;left:auto}.push-8{position:relative;left:66.66667%;right:auto}.pull-8{position:relative;right:66.66667%;left:auto}.push-9{position:relative;left:75%;right:auto}.pull-9{position:relative;right:75%;left:auto}.push-10{position:relative;left:83.33333%;right:auto}.pull-10{position:relative;right:83.33333%;left:auto}.small-push-2{left:inherit}.small-pull-2{right:inherit}.small-push-3{left:inherit}.small-pull-3{right:inherit}.small-push-4{left:inherit}.small-pull-4{right:inherit}.small-push-5{left:inherit}.small-pull-5{right:inherit}.small-push-6{left:inherit}.small-pull-6{right:inherit}.small-push-7{left:inherit}.small-pull-7{right:inherit}.small-push-8{left:inherit}.small-pull-8{right:inherit}.small-push-9{left:inherit}.small-pull-9{right:inherit}.small-push-10{left:inherit}.small-pull-10{right:inherit}.column.large-centered,.columns.large-centered{position:relative;margin-left:auto;margin-right:auto;float:none !important}}.show-for-small,.show-for-medium-down,.show-for-large-down{display:inherit !important}.show-for-medium,.show-for-medium-up,.show-for-large,.show-for-large-up,.show-for-xlarge{display:none !important}.hide-for-medium,.hide-for-medium-up,.hide-for-large,.hide-for-large-up,.hide-for-xlarge{display:inherit !important}.hide-for-small,.hide-for-medium-down,.hide-for-large-down{display:none !important}table.show-for-small,table.show-for-medium-down,table.show-for-large-down,table.hide-for-medium,table.hide-for-medium-up,table.hide-for-large,table.hide-for-large-up,table.hide-for-xlarge{display:table}thead.show-for-small,thead.show-for-medium-down,thead.show-for-large-down,thead.hide-for-medium,thead.hide-for-medium-up,thead.hide-for-large,thead.hide-for-large-up,thead.hide-for-xlarge{display:table-header-group !important}tbody.show-for-small,tbody.show-for-medium-down,tbody.show-for-large-down,tbody.hide-for-medium,tbody.hide-for-medium-up,tbody.hide-for-large,tbody.hide-for-large-up,tbody.hide-for-xlarge{display:table-row-group !important}tr.show-for-small,tr.show-for-medium-down,tr.show-for-large-down,tr.hide-for-medium,tr.hide-for-medium-up,tr.hide-for-large,tr.hide-for-large-up,tr.hide-for-xlarge{display:table-row !important}td.show-for-small,td.show-for-medium-down,td.show-for-large-down,td.hide-for-medium,td.hide-for-medium-up,td.hide-for-large,td.hide-for-large-up,td.hide-for-xlarge,th.show-for-small,th.show-for-medium-down,th.show-for-large-down,th.hide-for-medium,th.hide-for-medium-up,th.hide-for-large,th.hide-for-large-up,th.hide-for-xlarge{display:table-cell !important}@media only screen and (min-width: 48em){.show-for-medium,.show-for-medium-up{display:inherit !important}.show-for-small{display:none !important}.hide-for-small{display:inherit !important}.hide-for-medium,.hide-for-medium-up{display:none !important}table.show-for-medium,table.show-for-medium-up,table.hide-for-small{display:table}thead.show-for-medium,thead.show-for-medium-up,thead.hide-for-small{display:table-header-group !important}tbody.show-for-medium,tbody.show-for-medium-up,tbody.hide-for-small{display:table-row-group !important}tr.show-for-medium,tr.show-for-medium-up,tr.hide-for-small{display:table-row !important}td.show-for-medium,td.show-for-medium-up,td.hide-for-small,th.show-for-medium,th.show-for-medium-up,th.hide-for-small{display:table-cell !important}}@media only screen and (min-width: 80em){.show-for-large,.show-for-large-up{display:inherit !important}.show-for-medium,.show-for-medium-down{display:none !important}.hide-for-medium,.hide-for-medium-down{display:inherit !important}.hide-for-large,.hide-for-large-up{display:none !important}table.show-for-large,table.show-for-large-up,table.hide-for-medium,table.hide-for-medium-down{display:table}thead.show-for-large,thead.show-for-large-up,thead.hide-for-medium,thead.hide-for-medium-down{display:table-header-group !important}tbody.show-for-large,tbody.show-for-large-up,tbody.hide-for-medium,tbody.hide-for-medium-down{display:table-row-group !important}tr.show-for-large,tr.show-for-large-up,tr.hide-for-medium,tr.hide-for-medium-down{display:table-row !important}td.show-for-large,td.show-for-large-up,td.hide-for-medium,td.hide-for-medium-down,th.show-for-large,th.show-for-large-up,th.hide-for-medium,th.hide-for-medium-down{display:table-cell !important}}@media only screen and (min-width: 90em){.show-for-xlarge{display:inherit !important}.show-for-large,.show-for-large-down{display:none !important}.hide-for-large,.hide-for-large-down{display:inherit !important}.hide-for-xlarge{display:none !important}table.show-for-xlarge,table.hide-for-large,table.hide-for-large-down{display:table}thead.show-for-xlarge,thead.hide-for-large,thead.hide-for-large-down{display:table-header-group !important}tbody.show-for-xlarge,tbody.hide-for-large,tbody.hide-for-large-down{display:table-row-group !important}tr.show-for-xlarge,tr.hide-for-large,tr.hide-for-large-down{display:table-row !important}td.show-for-xlarge,td.hide-for-large,td.hide-for-large-down,th.show-for-xlarge,th.hide-for-large,th.hide-for-large-down{display:table-cell !important}}.show-for-landscape,.hide-for-portrait{display:inherit !important}.hide-for-landscape,.show-for-portrait{display:none !important}table.hide-for-landscape,table.show-for-portrait{display:table}thead.hide-for-landscape,thead.show-for-portrait{display:table-header-group !important}tbody.hide-for-landscape,tbody.show-for-portrait{display:table-row-group !important}tr.hide-for-landscape,tr.show-for-portrait{display:table-row !important}td.hide-for-landscape,td.show-for-portrait,th.hide-for-landscape,th.show-for-portrait{display:table-cell !important}@media only screen and (orientation: landscape){.show-for-landscape,.hide-for-portrait{display:inherit !important}.hide-for-landscape,.show-for-portrait{display:none !important}table.show-for-landscape,table.hide-for-portrait{display:table}thead.show-for-landscape,thead.hide-for-portrait{display:table-header-group !important}tbody.show-for-landscape,tbody.hide-for-portrait{display:table-row-group !important}tr.show-for-landscape,tr.hide-for-portrait{display:table-row !important}td.show-for-landscape,td.hide-for-portrait,th.show-for-landscape,th.hide-for-portrait{display:table-cell !important}}@media only screen and (orientation: portrait){.show-for-portrait,.hide-for-landscape{display:inherit !important}.hide-for-portrait,.show-for-landscape{display:none !important}table.show-for-portrait,table.hide-for-landscape{display:table}thead.show-for-portrait,thead.hide-for-landscape{display:table-header-group !important}tbody.show-for-portrait,tbody.hide-for-landscape{display:table-row-group !important}tr.show-for-portrait,tr.hide-for-landscape{display:table-row !important}td.show-for-portrait,td.hide-for-landscape,th.show-for-portrait,th.hide-for-landscape{display:table-cell !important}}.show-for-touch{display:none !important}.hide-for-touch{display:inherit !important}.touch .show-for-touch{display:inherit !important}.touch .hide-for-touch{display:none !important}table.hide-for-touch{display:table}.touch table.show-for-touch{display:table}thead.hide-for-touch{display:table-header-group !important}.touch thead.show-for-touch{display:table-header-group !important}tbody.hide-for-touch{display:table-row-group !important}.touch tbody.show-for-touch{display:table-row-group !important}tr.hide-for-touch{display:table-row !important}.touch tr.show-for-touch{display:table-row !important}td.hide-for-touch{display:table-cell !important}.touch td.show-for-touch{display:table-cell !important}th.hide-for-touch{display:table-cell !important}.touch th.show-for-touch{display:table-cell !important}@media only screen{[class*="block-grid-"]{display:block;padding:0;margin:0 -10px;*zoom:1}[class*="block-grid-"]:before,[class*="block-grid-"]:after{content:" ";display:table}[class*="block-grid-"]:after{clear:both}[class*="block-grid-"]>li{display:block;height:auto;float:left;padding:0 10px 10px}.small-block-grid-1>li{width:100%;padding:0 10px 10px}.small-block-grid-1>li:nth-of-type(1n+1){clear:both}.small-block-grid-2>li{width:50%;padding:0 10px 10px}.small-block-grid-2>li:nth-of-type(2n+1){clear:both}.small-block-grid-3>li{width:33.33333%;padding:0 10px 10px}.small-block-grid-3>li:nth-of-type(3n+1){clear:both}.small-block-grid-4>li{width:25%;padding:0 10px 10px}.small-block-grid-4>li:nth-of-type(4n+1){clear:both}.small-block-grid-5>li{width:20%;padding:0 10px 10px}.small-block-grid-5>li:nth-of-type(5n+1){clear:both}.small-block-grid-6>li{width:16.66667%;padding:0 10px 10px}.small-block-grid-6>li:nth-of-type(6n+1){clear:both}.small-block-grid-7>li{width:14.28571%;padding:0 10px 10px}.small-block-grid-7>li:nth-of-type(7n+1){clear:both}.small-block-grid-8>li{width:12.5%;padding:0 10px 10px}.small-block-grid-8>li:nth-of-type(8n+1){clear:both}.small-block-grid-9>li{width:11.11111%;padding:0 10px 10px}.small-block-grid-9>li:nth-of-type(9n+1){clear:both}.small-block-grid-10>li{width:10%;padding:0 10px 10px}.small-block-grid-10>li:nth-of-type(10n+1){clear:both}.small-block-grid-11>li{width:9.09091%;padding:0 10px 10px}.small-block-grid-11>li:nth-of-type(11n+1){clear:both}.small-block-grid-12>li{width:8.33333%;padding:0 10px 10px}.small-block-grid-12>li:nth-of-type(12n+1){clear:both}}@media only screen and (min-width: 48em){.large-block-grid-1>li{width:100%;padding:0 10px 10px}.large-block-grid-1>li:nth-of-type(1n+1){clear:both}.large-block-grid-2>li{width:50%;padding:0 10px 10px}.large-block-grid-2>li:nth-of-type(2n+1){clear:both}.large-block-grid-3>li{width:33.33333%;padding:0 10px 10px}.large-block-grid-3>li:nth-of-type(3n+1){clear:both}.large-block-grid-4>li{width:25%;padding:0 10px 10px}.large-block-grid-4>li:nth-of-type(4n+1){clear:both}.large-block-grid-5>li{width:20%;padding:0 10px 10px}.large-block-grid-5>li:nth-of-type(5n+1){clear:both}.large-block-grid-6>li{width:16.66667%;padding:0 10px 10px}.large-block-grid-6>li:nth-of-type(6n+1){clear:both}.large-block-grid-7>li{width:14.28571%;padding:0 10px 10px}.large-block-grid-7>li:nth-of-type(7n+1){clear:both}.large-block-grid-8>li{width:12.5%;padding:0 10px 10px}.large-block-grid-8>li:nth-of-type(8n+1){clear:both}.large-block-grid-9>li{width:11.11111%;padding:0 10px 10px}.large-block-grid-9>li:nth-of-type(9n+1){clear:both}.large-block-grid-10>li{width:10%;padding:0 10px 10px}.large-block-grid-10>li:nth-of-type(10n+1){clear:both}.large-block-grid-11>li{width:9.09091%;padding:0 10px 10px}.large-block-grid-11>li:nth-of-type(11n+1){clear:both}.large-block-grid-12>li{width:8.33333%;padding:0 10px 10px}.large-block-grid-12>li:nth-of-type(12n+1){clear:both}[class*="small-block-grid-"]>li{clear:none !important}}p.lead{font-size:1.21875em;line-height:1.6}.subheader{line-height:1.4;color:#6f6f6f;font-weight:300;margin-top:0.2em;margin-bottom:0.5em}div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,th,td{margin:0;padding:0;direction:ltr}a{color:#2ba6cb;text-decoration:none;line-height:inherit}a:hover,a:focus{color:#2795b6}a img{border:none}p{font-family:inherit;font-weight:normal;font-size:1em;line-height:1.6;margin-bottom:1.25em;text-rendering:optimizeLegibility}p aside{font-size:0.875em;line-height:1.35;font-style:italic}h1,h2,h3,h4,h5,h6{font-family:"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;font-weight:bold;font-style:normal;color:#222;text-rendering:optimizeLegibility;margin-top:0.2em;margin-bottom:0.5em;line-height:1.2125em}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-size:60%;color:#6f6f6f;line-height:0}h1{font-size:2.125em}h2{font-size:1.6875em}h3{font-size:1.375em}h4{font-size:1.125em}h5{font-size:1.125em}h6{font-size:1em}hr{border:solid #ddd;border-width:1px 0 0;clear:both;margin:1.25em 0 1.1875em;height:0}em,i{font-style:italic;line-height:inherit}strong,b{font-weight:bold;line-height:inherit}small{font-size:60%;line-height:inherit}code{font-family:Consolas,"Liberation Mono",Courier,monospace;font-weight:bold;color:#7f0a0c}ul,ol,dl{font-size:1em;line-height:1.6;margin-bottom:1.25em;list-style-position:outside;font-family:inherit}ul li ul,ul li ol{margin-left:1.25em;margin-bottom:0;font-size:1em}ul.square li ul,ul.circle li ul,ul.disc li ul{list-style:inherit}ul.square{list-style-type:square}ul.circle{list-style-type:circle}ul.disc{list-style-type:disc}ul.no-bullet{list-style:none}ol li ul,ol li ol{margin-left:1.25em;margin-bottom:0}dl dt{margin-bottom:0.3em;font-weight:bold}dl dd{margin-bottom:0.75em}abbr,acronym{text-transform:uppercase;font-size:90%;color:#222;border-bottom:1px dotted #ddd;cursor:help}abbr{text-transform:none}blockquote{margin:0 0 1.25em;padding:0.5625em 1.25em 0 1.1875em;border-left:1px solid #ddd}blockquote cite{display:block;font-size:0.8125em;color:#555}blockquote cite:before{content:"\2014 \0020"}blockquote cite a,blockquote cite a:visited{color:#555}blockquote,blockquote p{line-height:1.6;color:#6f6f6f}.vcard{display:inline-block;margin:0 0 1.25em 0;border:1px solid #ddd;padding:0.625em 0.75em}.vcard li{margin:0;display:block}.vcard .fn{font-weight:bold;font-size:0.9375em}.vevent .summary{font-weight:bold}.vevent abbr{cursor:default;text-decoration:none;font-weight:bold;border:none;padding:0 0.0625em}@media only screen and (min-width: 48em){h1,h2,h3,h4,h5,h6{line-height:1.4}h1{font-size:2.75em}h2{font-size:2.3125em}h3{font-size:1.6875em}h4{font-size:1.4375em}}.print-only{display:none !important}@media print{*{background:transparent !important;color:#000 !important;box-shadow:none !important;text-shadow:none !important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}@page{margin:0.5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}.hide-on-print{display:none !important}.print-only{display:block !important}.hide-for-print{display:none !important}.show-for-print{display:inherit !important}}button,.button{border-style:solid;border-width:1px;cursor:pointer;font-family:inherit;font-weight:bold;line-height:1;margin:0 0 1.25em;position:relative;text-decoration:none;text-align:center;display:inline-block;padding-top:0.75em;padding-right:1.5em;padding-bottom:0.8125em;padding-left:1.5em;font-size:1em;background-color:#2ba6cb;border-color:#2284a1;color:#fff}button:hover,button:focus,.button:hover,.button:focus{background-color:#2284a1}button:hover,button:focus,.button:hover,.button:focus{color:#fff}button.secondary,.button.secondary{background-color:#e9e9e9;border-color:#d0d0d0;color:#333}button.secondary:hover,button.secondary:focus,.button.secondary:hover,.button.secondary:focus{background-color:#d0d0d0}button.secondary:hover,button.secondary:focus,.button.secondary:hover,.button.secondary:focus{color:#333}button.success,.button.success{background-color:#5da423;border-color:#457a1a;color:#fff}button.success:hover,button.success:focus,.button.success:hover,.button.success:focus{background-color:#457a1a}button.success:hover,button.success:focus,.button.success:hover,.button.success:focus{color:#fff}button.alert,.button.alert{background-color:#c60f13;border-color:#970b0e;color:#fff}button.alert:hover,button.alert:focus,.button.alert:hover,.button.alert:focus{background-color:#970b0e}button.alert:hover,button.alert:focus,.button.alert:hover,.button.alert:focus{color:#fff}button.large,.button.large{padding-top:1em;padding-right:2em;padding-bottom:1.0625em;padding-left:2em;font-size:1.25em}button.small,.button.small{padding-top:0.5625em;padding-right:1.125em;padding-bottom:0.625em;padding-left:1.125em;font-size:0.8125em}button.tiny,.button.tiny{padding-top:0.4375em;padding-right:0.875em;padding-bottom:0.5em;padding-left:0.875em;font-size:0.6875em}button.expand,.button.expand{padding-top:false;padding-right:0px;padding-bottom:false0.0625em;padding-left:0px;width:100%}button.left-align,.button.left-align{text-align:left;text-indent:0.75em}button.right-align,.button.right-align{text-align:right;padding-right:0.75em}button.disabled,button[disabled],.button.disabled,.button[disabled]{background-color:#2ba6cb;border-color:#2284a1;color:#fff;cursor:default;opacity:0.6;-webkit-box-shadow:none;box-shadow:none}button.disabled:hover,button.disabled:focus,button[disabled]:hover,button[disabled]:focus,.button.disabled:hover,.button.disabled:focus,.button[disabled]:hover,.button[disabled]:focus{background-color:#2284a1}button.disabled:hover,button.disabled:focus,button[disabled]:hover,button[disabled]:focus,.button.disabled:hover,.button.disabled:focus,.button[disabled]:hover,.button[disabled]:focus{color:#fff}button.disabled:hover,button.disabled:focus,button[disabled]:hover,button[disabled]:focus,.button.disabled:hover,.button.disabled:focus,.button[disabled]:hover,.button[disabled]:focus{background-color:#2ba6cb}button.disabled.secondary,button[disabled].secondary,.button.disabled.secondary,.button[disabled].secondary{background-color:#e9e9e9;border-color:#d0d0d0;color:#333;cursor:default;opacity:0.6;-webkit-box-shadow:none;box-shadow:none}button.disabled.secondary:hover,button.disabled.secondary:focus,button[disabled].secondary:hover,button[disabled].secondary:focus,.button.disabled.secondary:hover,.button.disabled.secondary:focus,.button[disabled].secondary:hover,.button[disabled].secondary:focus{background-color:#d0d0d0}button.disabled.secondary:hover,button.disabled.secondary:focus,button[disabled].secondary:hover,button[disabled].secondary:focus,.button.disabled.secondary:hover,.button.disabled.secondary:focus,.button[disabled].secondary:hover,.button[disabled].secondary:focus{color:#333}button.disabled.secondary:hover,button.disabled.secondary:focus,button[disabled].secondary:hover,button[disabled].secondary:focus,.button.disabled.secondary:hover,.button.disabled.secondary:focus,.button[disabled].secondary:hover,.button[disabled].secondary:focus{background-color:#e9e9e9}button.disabled.success,button[disabled].success,.button.disabled.success,.button[disabled].success{background-color:#5da423;border-color:#457a1a;color:#fff;cursor:default;opacity:0.6;-webkit-box-shadow:none;box-shadow:none}button.disabled.success:hover,button.disabled.success:focus,button[disabled].success:hover,button[disabled].success:focus,.button.disabled.success:hover,.button.disabled.success:focus,.button[disabled].success:hover,.button[disabled].success:focus{background-color:#457a1a}button.disabled.success:hover,button.disabled.success:focus,button[disabled].success:hover,button[disabled].success:focus,.button.disabled.success:hover,.button.disabled.success:focus,.button[disabled].success:hover,.button[disabled].success:focus{color:#fff}button.disabled.success:hover,button.disabled.success:focus,button[disabled].success:hover,button[disabled].success:focus,.button.disabled.success:hover,.button.disabled.success:focus,.button[disabled].success:hover,.button[disabled].success:focus{background-color:#5da423}button.disabled.alert,button[disabled].alert,.button.disabled.alert,.button[disabled].alert{background-color:#c60f13;border-color:#970b0e;color:#fff;cursor:default;opacity:0.6;-webkit-box-shadow:none;box-shadow:none}button.disabled.alert:hover,button.disabled.alert:focus,button[disabled].alert:hover,button[disabled].alert:focus,.button.disabled.alert:hover,.button.disabled.alert:focus,.button[disabled].alert:hover,.button[disabled].alert:focus{background-color:#970b0e}button.disabled.alert:hover,button.disabled.alert:focus,button[disabled].alert:hover,button[disabled].alert:focus,.button.disabled.alert:hover,.button.disabled.alert:focus,.button[disabled].alert:hover,.button[disabled].alert:focus{color:#fff}button.disabled.alert:hover,button.disabled.alert:focus,button[disabled].alert:hover,button[disabled].alert:focus,.button.disabled.alert:hover,.button.disabled.alert:focus,.button[disabled].alert:hover,.button[disabled].alert:focus{background-color:#c60f13}input.button,button.button{padding-top:0.8125em;padding-bottom:0.75em}input.button.tiny,button.button.tiny{padding-top:0.5em;padding-bottom:0.4375em}input.button.small,button.button.small{padding-top:0.625em;padding-bottom:0.5625em}input.button.large,button.button.large{padding-top:1.03125em;padding-bottom:1.03125em}@media only screen{.button{-webkit-box-shadow:0 1px 0 rgba(255,255,255,0.5) inset;box-shadow:0 1px 0 rgba(255,255,255,0.5) inset;-webkit-transition:background-color 300ms ease-out;-moz-transition:background-color 300ms ease-out;transition:background-color 300ms ease-out}.button:active{-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.2) inset;box-shadow:0 1px 0 rgba(0,0,0,0.2) inset}.button.radius{-webkit-border-radius:3px;border-radius:3px}.button.round{-webkit-border-radius:1000px;border-radius:1000px}}@media only screen and (min-width: 48em){.button{display:inline-block}}form{margin:0 0 1em}form .row .row{margin:-0.5em}form .row .row .column,form .row .row .columns{padding:0 0.5em}form .row .row.collapse{margin:0}form .row .row.collapse .column,form .row .row.collapse .columns{padding:0}form .row input.column,form .row input.columns{padding-left:0.5em}label{font-size:0.875em;color:#4d4d4d;cursor:pointer;display:block;font-weight:500;margin-bottom:0.1875em}label.right{float:none;text-align:right}label.inline{margin:0 0 1em 0;padding:0.625em 0}.prefix,.postfix{display:block;position:relative;z-index:2;text-align:center;width:100%;padding-top:0;padding-bottom:0;border-style:solid;border-width:1px;overflow:hidden;font-size:0.875em;height:2.3125em;line-height:2.3125em}.postfix.button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;text-align:center;line-height:2.125em}.prefix.button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;text-align:center;line-height:2.125em}.prefix.button.radius{-webkit-border-radius:0;border-radius:0;-moz-border-radius-bottomleft:3px;-moz-border-radius-topleft:3px;-webkit-border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-left-radius:3px}.postfix.button.radius{-webkit-border-radius:0;border-radius:0;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px}.prefix.button.round{-webkit-border-radius:0;border-radius:0;-moz-border-radius-bottomleft:1000px;-moz-border-radius-topleft:1000px;-webkit-border-bottom-left-radius:1000px;-webkit-border-top-left-radius:1000px;border-bottom-left-radius:1000px;border-top-left-radius:1000px}.postfix.button.round{-webkit-border-radius:0;border-radius:0;-moz-border-radius-topright:1000px;-moz-border-radius-bottomright:1000px;-webkit-border-top-right-radius:1000px;-webkit-border-bottom-right-radius:1000px;border-top-right-radius:1000px;border-bottom-right-radius:1000px}span.prefix{background:#f2f2f2;border-color:#d9d9d9;border-right:none;color:#333}span.prefix.radius{-webkit-border-radius:0;border-radius:0;-moz-border-radius-bottomleft:3px;-moz-border-radius-topleft:3px;-webkit-border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-left-radius:3px}span.postfix{background:#f2f2f2;border-color:#ccc;border-left:none;color:#333}span.postfix.radius{-webkit-border-radius:0;border-radius:0;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px}.input-group.radius>*:first-child,.input-group.radius>*:first-child *{-webkit-border-radius:0;border-radius:0;-moz-border-radius-bottomleft:3px;-moz-border-radius-topleft:3px;-webkit-border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-left-radius:3px}.input-group.radius>*:last-child,.input-group.radius>*:last-child *{-webkit-border-radius:0;border-radius:0;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px}.input-group.round>*:first-child,.input-group.round>*:first-child *{-webkit-border-radius:0;border-radius:0;-moz-border-radius-bottomleft:1000px;-moz-border-radius-topleft:1000px;-webkit-border-bottom-left-radius:1000px;-webkit-border-top-left-radius:1000px;border-bottom-left-radius:1000px;border-top-left-radius:1000px}.input-group.round>*:last-child,.input-group.round>*:last-child *{-webkit-border-radius:0;border-radius:0;-moz-border-radius-topright:1000px;-moz-border-radius-bottomright:1000px;-webkit-border-top-right-radius:1000px;-webkit-border-bottom-right-radius:1000px;border-top-right-radius:1000px;border-bottom-right-radius:1000px}input[type="text"],input[type="password"],input[type="date"],input[type="datetime"],input[type="datetime-local"],input[type="month"],input[type="week"],input[type="email"],input[type="number"],input[type="search"],input[type="tel"],input[type="time"],input[type="url"],textarea{background-color:#fff;font-family:inherit;border:1px solid #ccc;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);color:rgba(0,0,0,0.75);display:block;font-size:0.875em;margin:0 0 1em 0;padding:0.5em;height:2.3125em;width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all 0.15s linear;-moz-transition:all 0.15s linear;transition:all 0.15s linear}input[type="text"]:focus,input[type="password"]:focus,input[type="date"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="month"]:focus,input[type="week"]:focus,input[type="email"]:focus,input[type="number"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="time"]:focus,input[type="url"]:focus,textarea:focus{background:#fafafa;border-color:#999;outline:none}input[type="text"][disabled],input[type="password"][disabled],input[type="date"][disabled],input[type="datetime"][disabled],input[type="datetime-local"][disabled],input[type="month"][disabled],input[type="week"][disabled],input[type="email"][disabled],input[type="number"][disabled],input[type="search"][disabled],input[type="tel"][disabled],input[type="time"][disabled],input[type="url"][disabled],textarea[disabled]{background-color:#ddd}fieldset{border:solid 1px #ddd;padding:1.25em;margin:1.125em 0}fieldset legend{font-weight:bold;background:#fff;padding:0 0.1875em;margin:0;margin-left:-0.1875em}.error input,input.error,.error textarea,textarea.error{border-color:#c60f13;background-color:rgba(198,15,19,0.1)}.error input:focus,input.error:focus,.error textarea:focus,textarea.error:focus{background:#fafafa;border-color:#999}.error label,label.error{color:#c60f13}.error small,small.error{display:block;padding:0.375em 0.25em;margin-top:-1.3125em;margin-bottom:1em;font-size:0.75em;font-weight:bold;background:#c60f13;color:#fff}form.custom .custom{display:inline-block;width:16px;height:16px;position:relative;top:2px;border:solid 1px #ccc;background:#fff}form.custom .custom.radio{-webkit-border-radius:1000px;border-radius:1000px}form.custom .custom.checkbox:before{content:"";display:block;line-height:0.8;height:14px;width:14px;text-align:center;position:absolute;top:0;left:0;font-size:14px;color:#fff}form.custom .custom.radio.checked:before{content:"";display:block;width:8px;height:8px;-webkit-border-radius:1000px;border-radius:1000px;background:#222;position:relative;top:3px;left:3px}form.custom .custom.checkbox.checked:before{content:"\00d7";color:#222}form.custom .custom.dropdown{display:block;position:relative;top:0;height:2.3125em;margin-bottom:1.25em;margin-top:0px;padding:0px;width:100%;background:#fff;background:-moz-linear-gradient(top, #fff 0%, #f3f3f3 100%);background:-webkit-linear-gradient(top, #fff 0%, #f3f3f3 100%);background:linear-gradient(to bottom, #fff 0%, #f3f3f3 100%);-webkit-box-shadow:none;box-shadow:none;font-size:0.875em;vertical-align:top}form.custom .custom.dropdown ul{overflow-y:auto;max-height:200px}form.custom .custom.dropdown .current{cursor:default;white-space:nowrap;line-height:2.25em;color:rgba(0,0,0,0.75);text-decoration:none;overflow:hidden;display:block;margin-left:0.5em;margin-right:2.3125em}form.custom .custom.dropdown .selector{cursor:default;position:absolute;width:2.5em;height:2.3125em;display:block;right:0;top:0}form.custom .custom.dropdown .selector:after{content:"";display:block;content:"";display:block;width:0;height:0;border:solid 5px;border-color:#aaa transparent transparent transparent;position:absolute;left:0.9375em;top:50%;margin-top:-3px}form.custom .custom.dropdown:hover a.selector:after,form.custom .custom.dropdown.open a.selector:after{content:"";display:block;width:0;height:0;border:solid 5px;border-color:#222 transparent transparent transparent}form.custom .custom.dropdown .disabled{color:#888}form.custom .custom.dropdown .disabled:hover{background:transparent;color:#888}form.custom .custom.dropdown .disabled:hover:after{display:none}form.custom .custom.dropdown.open ul{display:block;z-index:10;min-width:100%;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}form.custom .custom.dropdown.small{max-width:134px}form.custom .custom.dropdown.medium{max-width:254px}form.custom .custom.dropdown.large{max-width:434px}form.custom .custom.dropdown.expand{width:100% !important}form.custom .custom.dropdown.open.small ul{min-width:134px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}form.custom .custom.dropdown.open.medium ul{min-width:254px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}form.custom .custom.dropdown.open.large ul{min-width:434px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}form.custom .custom.dropdown ul{position:absolute;width:auto;display:none;margin:0;left:-1px;top:auto;-webkit-box-shadow:0 2px 2px 0px rgba(0,0,0,0.1);box-shadow:0 2px 2px 0px rgba(0,0,0,0.1);margin:0;padding:0;background:#fff;border:solid 1px #ccc;font-size:16px}form.custom .custom.dropdown ul li{color:#555;font-size:0.875em;cursor:default;padding-top:0.25em;padding-bottom:0.25em;padding-left:0.375em;padding-right:2.375em;min-height:1.5em;line-height:1.5em;margin:0;white-space:nowrap;list-style:none}form.custom .custom.dropdown ul li.selected{background:#eee;color:#000}form.custom .custom.dropdown ul li:hover{background-color:#e4e4e4;color:#000}form.custom .custom.dropdown ul li.selected:hover{background:#eee;cursor:default;color:#000}form.custom .custom.dropdown ul.show{display:block}form.custom .custom.disabled{background-color:#ddd}.button-group{list-style:none;margin:0;*zoom:1}.button-group:before,.button-group:after{content:" ";display:table}.button-group:after{clear:both}.button-group>*{margin:0 0 0 -1px;float:left}.button-group>*:first-child{margin-left:0}.button-group.radius>*:first-child,.button-group.radius>*:first-child>a,.button-group.radius>*:first-child>button{-webkit-border-radius:0;border-radius:0;-moz-border-radius-bottomleft:3px;-moz-border-radius-topleft:3px;-webkit-border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-left-radius:3px}.button-group.radius>*:last-child,.button-group.radius>*:last-child>a,.button-group.radius>*:last-child>button{-webkit-border-radius:0;border-radius:0;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px}.button-group.round>*:first-child,.button-group.round>*:first-child>a,.button-group.round>*:first-child>button{-webkit-border-radius:0;border-radius:0;-moz-border-radius-bottomleft:1000px;-moz-border-radius-topleft:1000px;-webkit-border-bottom-left-radius:1000px;-webkit-border-top-left-radius:1000px;border-bottom-left-radius:1000px;border-top-left-radius:1000px}.button-group.round>*:last-child,.button-group.round>*:last-child>a,.button-group.round>*:last-child>button{-webkit-border-radius:0;border-radius:0;-moz-border-radius-topright:1000px;-moz-border-radius-bottomright:1000px;-webkit-border-top-right-radius:1000px;-webkit-border-bottom-right-radius:1000px;border-top-right-radius:1000px;border-bottom-right-radius:1000px}.button-group.even-2 li{width:50%}.button-group.even-2 li .button{width:100%}.button-group.even-3 li{width:33.33333%}.button-group.even-3 li .button{width:100%}.button-group.even-4 li{width:25%}.button-group.even-4 li .button{width:100%}.button-group.even-5 li{width:20%}.button-group.even-5 li .button{width:100%}.button-group.even-6 li{width:16.66667%}.button-group.even-6 li .button{width:100%}.button-group.even-7 li{width:14.28571%}.button-group.even-7 li .button{width:100%}.button-group.even-8 li{width:12.5%}.button-group.even-8 li .button{width:100%}.button-bar{*zoom:1}.button-bar:before,.button-bar:after{content:" ";display:table}.button-bar:after{clear:both}.button-bar .button-group{float:left;margin-right:0.625em}.button-bar .button-group div{overflow:hidden}.dropdown.button{position:relative;padding-right:3.1875em}.dropdown.button:before{position:absolute;content:"";width:0;height:0;display:block;border-style:solid;border-color:#fff transparent transparent transparent;top:50%}.dropdown.button:before{border-width:0.5625em;right:1.5em;margin-top:-0.25em}.dropdown.button:before{border-color:#fff transparent transparent transparent}.dropdown.button.tiny{padding-right:2.1875em}.dropdown.button.tiny:before{border-width:0.4375em;right:0.875em;margin-top:-0.15625em}.dropdown.button.tiny:before{border-color:#fff transparent transparent transparent}.dropdown.button.small{padding-right:2.8125em}.dropdown.button.small:before{border-width:0.5625em;right:1.125em;margin-top:-0.21875em}.dropdown.button.small:before{border-color:#fff transparent transparent transparent}.dropdown.button.large{padding-right:4em}.dropdown.button.large:before{border-width:0.625em;right:1.75em;margin-top:-0.3125em}.dropdown.button.large:before{border-color:#fff transparent transparent transparent}.dropdown.button.secondary:before{border-color:#333 transparent transparent transparent}.split.button{position:relative;padding-right:4.8em}.split.button span{display:block;height:100%;position:absolute;right:0;top:0;border-left:solid 1px}.split.button span:before{position:absolute;content:"";width:0;height:0;display:block;border-style:solid;left:50%}.split.button span:active{background-color:rgba(0,0,0,0.1)}.split.button span{border-left-color:#1e728c}.split.button span{width:3em}.split.button span:before{border-width:0.5625em;top:1.125em;margin-left:-0.5625em}.split.button span:before{border-color:#fff transparent transparent transparent}.split.button.secondary span{border-left-color:#c3c3c3}.split.button.secondary span:before{border-color:#fff transparent transparent transparent}.split.button.alert span{border-left-color:#7f0a0c}.split.button.success span{border-left-color:#396516}.split.button.tiny{padding-right:3.9375em}.split.button.tiny span{width:2.84375em}.split.button.tiny span:before{border-width:0.4375em;top:0.875em;margin-left:-0.3125em}.split.button.small{padding-right:3.9375em}.split.button.small span{width:2.8125em}.split.button.small span:before{border-width:0.5625em;top:0.84375em;margin-left:-0.5625em}.split.button.large{padding-right:6em}.split.button.large span{width:3.75em}.split.button.large span:before{border-width:0.625em;top:1.3125em;margin-left:-0.5625em}.split.button.secondary span:before{border-color:#333 transparent transparent transparent}.split.button.radius span{-webkit-border-radius:0;border-radius:0;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px}.split.button.round span{-webkit-border-radius:0;border-radius:0;-moz-border-radius-topright:1000px;-moz-border-radius-bottomright:1000px;-webkit-border-top-right-radius:1000px;-webkit-border-bottom-right-radius:1000px;border-top-right-radius:1000px;border-bottom-right-radius:1000px}.flex-video{position:relative;padding-top:1.5625em;padding-bottom:67.5%;height:0;margin-bottom:1em;overflow:hidden}.flex-video.widescreen{padding-bottom:57.25%}.flex-video.vimeo{padding-top:0}.flex-video iframe,.flex-video object,.flex-video embed,.flex-video video{position:absolute;top:0;left:0;width:100%;height:100%}.section-container,.section-container.auto{width:100%;display:block;margin-bottom:1.25em;border:1px solid #ccc;border-top:none}.section-container section,.section-container .section,.section-container.auto section,.section-container.auto .section{border-top:1px solid #ccc;position:relative}.section-container section .title,.section-container .section .title,.section-container.auto section .title,.section-container.auto .section .title{top:0;cursor:pointer;width:100%;margin:0;background-color:#efefef}.section-container section .title a,.section-container .section .title a,.section-container.auto section .title a,.section-container.auto .section .title a{padding:0.9375em;display:inline-block;color:#333;font-size:0.875em;white-space:nowrap;width:100%}.section-container section .title:hover,.section-container .section .title:hover,.section-container.auto section .title:hover,.section-container.auto .section .title:hover{background-color:#e2e2e2}.section-container section .content,.section-container .section .content,.section-container.auto section .content,.section-container.auto .section .content{display:none;padding:0.9375em;background-color:#fff}.section-container section .content>*:last-child,.section-container .section .content>*:last-child,.section-container.auto section .content>*:last-child,.section-container.auto .section .content>*:last-child{margin-bottom:0}.section-container section .content>*:first-child,.section-container .section .content>*:first-child,.section-container.auto section .content>*:first-child,.section-container.auto .section .content>*:first-child{padding-top:0}.section-container section .content>*:last-child,.section-container .section .content>*:last-child,.section-container.auto section .content>*:last-child,.section-container.auto .section .content>*:last-child{padding-bottom:0}.section-container section.active .content,.section-container .section.active .content,.section-container.auto section.active .content,.section-container.auto .section.active .content{display:block}.section-container section.active .title,.section-container .section.active .title,.section-container.auto section.active .title,.section-container.auto .section.active .title{background:#d5d5d5}.section-container.tabs{border:0;position:relative}.section-container.tabs section,.section-container.tabs .section{padding-top:0;border:0;position:static}.section-container.tabs section .title,.section-container.tabs .section .title{width:auto;border:1px solid #ccc;border-right:0;border-bottom:0;position:absolute;z-index:1}.section-container.tabs section .title a,.section-container.tabs .section .title a{width:100%}.section-container.tabs section:last-child .title,.section-container.tabs .section:last-child .title{border-right:1px solid #ccc}.section-container.tabs section .content,.section-container.tabs .section .content{border:1px solid #ccc;position:absolute;z-index:10;top:-1px}.section-container.tabs section.active .title,.section-container.tabs .section.active .title{background-color:#fff;z-index:11;border-bottom:0}.section-container.tabs section.active .content,.section-container.tabs .section.active .content{position:relative}@media only screen and (min-width: 48em){.section-container.auto{border:0;position:relative}.section-container.auto section,.section-container.auto .section{padding-top:0;border:0;position:static}.section-container.auto section .title,.section-container.auto .section .title{width:auto;border:1px solid #ccc;border-right:0;border-bottom:0;position:absolute;z-index:1}.section-container.auto section .title a,.section-container.auto .section .title a{width:100%}.section-container.auto section:last-child .title,.section-container.auto .section:last-child .title{border-right:1px solid #ccc}.section-container.auto section .content,.section-container.auto .section .content{border:1px solid #ccc;position:absolute;z-index:10;top:-1px}.section-container.auto section.active .title,.section-container.auto .section.active .title{background-color:#fff;z-index:11;border-bottom:0}.section-container.auto section.active .content,.section-container.auto .section.active .content{position:relative}.section-container.accordion .section{padding-top:0 !important}.section-container.vertical-nav{border:1px solid #ccc;border-top:none}.section-container.vertical-nav section,.section-container.vertical-nav .section{padding-top:0 !important}.section-container.vertical-nav section .title a,.section-container.vertical-nav .section .title a{display:block;width:100%}.section-container.vertical-nav section .content,.section-container.vertical-nav .section .content{display:none}.section-container.vertical-nav section.active .content,.section-container.vertical-nav .section.active .content{display:block;position:absolute;left:100%;top:-1px;z-index:999;min-width:12.5em;border:1px solid #ccc}.section-container.horizontal-nav{position:relative;background:#efefef;border:1px solid #ccc}.section-container.horizontal-nav section,.section-container.horizontal-nav .section{padding-top:0;border:0;position:static}.section-container.horizontal-nav section .title,.section-container.horizontal-nav .section .title{width:auto;border:1px solid #ccc;border-left:0;top:-1px;position:absolute;z-index:1}.section-container.horizontal-nav section .title a,.section-container.horizontal-nav .section .title a{width:100%}.section-container.horizontal-nav section .content,.section-container.horizontal-nav .section .content{display:none}.section-container.horizontal-nav section.active .content,.section-container.horizontal-nav .section.active .content{display:block;position:absolute;z-index:999;left:0;top:-2px;min-width:12.5em;border:1px solid #ccc}}.contain-to-grid{width:100%;background:#111}.fixed{width:100%;left:0;position:fixed;top:0;z-index:99}.top-bar{overflow:hidden;height:45px;line-height:45px;position:relative;background:#111;margin-bottom:1.875em}.top-bar ul{margin-bottom:0;list-style:none}.top-bar .row{max-width:none}.top-bar form,.top-bar input{margin-bottom:0}.top-bar input{height:2.45em}.top-bar .button{padding-top:.5em;padding-bottom:.5em;margin-bottom:0}.top-bar .title-area{position:relative}.top-bar .name{height:45px;margin:0;font-size:16px}.top-bar .name h1{line-height:45px;font-size:1.0625em;margin:0}.top-bar .name h1 a{font-weight:bold;color:#fff;width:50%;display:block;padding:0 15px}.top-bar .toggle-topbar{position:absolute;right:0;top:0}.top-bar .toggle-topbar a{color:#fff;text-transform:uppercase;font-size:0.8125em;font-weight:bold;position:relative;display:block;padding:0 15px;height:45px;line-height:45px}.top-bar .toggle-topbar.menu-icon{right:15px;top:50%;margin-top:-16px;padding-left:40px}.top-bar .toggle-topbar.menu-icon a{text-indent:-48px;width:34px;height:34px;line-height:33px;padding:0;color:#fff}.top-bar .toggle-topbar.menu-icon a span{position:absolute;right:0;display:block;width:16px;height:0;-webkit-box-shadow:0 10px 0 1px #fff,0 16px 0 1px #fff,0 22px 0 1px #fff;box-shadow:0 10px 0 1px #fff,0 16px 0 1px #fff,0 22px 0 1px #fff}.top-bar.expanded{height:auto;background:transparent}.top-bar.expanded .title-area{background:#111}.top-bar.expanded .toggle-topbar a{color:#888}.top-bar.expanded .toggle-topbar a span{-webkit-box-shadow:0 10px 0 1px #888,0 16px 0 1px #888,0 22px 0 1px #888;box-shadow:0 10px 0 1px #888,0 16px 0 1px #888,0 22px 0 1px #888}.top-bar-section{left:0;position:relative;width:auto;-webkit-transition:left 300ms ease-out;-moz-transition:left 300ms ease-out;transition:left 300ms ease-out}.top-bar-section ul{width:100%;height:auto;display:block;background:#333;font-size:16px;margin:0}.top-bar-section .divider{border-bottom:solid 1px #4d4d4d;border-top:solid 1px #1a1a1a;clear:both;height:1px;width:100%}.top-bar-section ul li>a{display:block;width:100%;color:#fff;padding:12px 0 12px 0;padding-left:15px;font-size:0.8125em;font-weight:bold;background:#333}.top-bar-section ul li>a:hover{background:#2b2b2b}.top-bar-section ul li>a.button{background:#2ba6cb;font-size:0.8125em}.top-bar-section ul li>a.button:hover{background:#2284a1}.top-bar-section ul li>a.button.secondary{background:#e9e9e9}.top-bar-section ul li>a.button.secondary:hover{background:#d0d0d0}.top-bar-section ul li>a.button.success{background:#5da423}.top-bar-section ul li>a.button.success:hover{background:#457a1a}.top-bar-section ul li>a.button.alert{background:#c60f13}.top-bar-section ul li>a.button.alert:hover{background:#970b0e}.top-bar-section ul li.active a{background:#2b2b2b}.top-bar-section .has-form{padding:15px}.top-bar-section .has-dropdown{position:relative}.top-bar-section .has-dropdown>a:after{content:"";display:block;width:0;height:0;border:solid 5px;border-color:transparent transparent transparent rgba(255,255,255,0.5);margin-right:15px;margin-top:-4.5px;position:absolute;top:50%;right:0}.top-bar-section .has-dropdown.moved{position:static}.top-bar-section .has-dropdown.moved>.dropdown{visibility:visible}.top-bar-section .dropdown{position:absolute;left:100%;top:0;visibility:hidden;z-index:99}.top-bar-section .dropdown li{width:100%}.top-bar-section .dropdown li a{font-weight:normal;padding:8px 15px}.top-bar-section .dropdown li.title h5{margin-bottom:0}.top-bar-section .dropdown li.title h5 a{color:#fff;line-height:22.5px;display:block}.top-bar-section .dropdown label{padding:8px 15px 2px;margin-bottom:0;text-transform:uppercase;color:#555;font-weight:bold;font-size:0.625em}.top-bar-js-breakpoint{width:58.75em !important;visibility:hidden}.js-generated{display:block}@media only screen and (min-width: 58.75em){.top-bar{background:#111;*zoom:1;overflow:visible}.top-bar:before,.top-bar:after{content:" ";display:table}.top-bar:after{clear:both}.top-bar .toggle-topbar{display:none}.top-bar .title-area{float:left}.top-bar .name h1 a{width:auto}.top-bar input,.top-bar .button{line-height:2em;font-size:0.875em;height:2em;padding:0 10px;position:relative;top:8px}.top-bar.expanded{background:#111}.contain-to-grid .top-bar{max-width:62.5em;margin:0 auto}.top-bar-section{-webkit-transition:none 0 0;-moz-transition:none 0 0;transition:none 0 0;left:0 !important}.top-bar-section ul{width:auto;height:auto !important;display:inline}.top-bar-section ul li{float:left}.top-bar-section ul li .js-generated{display:none}.top-bar-section li a:not(.button){padding:0 15px;line-height:45px;background:#111}.top-bar-section li a:not(.button):hover{background:#000}.top-bar-section .has-dropdown>a{padding-right:35px !important}.top-bar-section .has-dropdown>a:after{content:"";display:block;width:0;height:0;border:solid 5px;border-color:rgba(255,255,255,0.5) transparent transparent transparent;margin-top:-2.5px}.top-bar-section .has-dropdown.moved{position:relative}.top-bar-section .has-dropdown.moved>.dropdown{visibility:hidden}.top-bar-section .has-dropdown:hover>.dropdown,.top-bar-section .has-dropdown:active>.dropdown{visibility:visible}.top-bar-section .has-dropdown .dropdown li.has-dropdown>a:after{border:none;content:"\00bb";margin-top:-7px;right:5px}.top-bar-section .dropdown{left:0;top:auto;background:transparent;min-width:100%}.top-bar-section .dropdown li a{color:#fff;line-height:1;white-space:nowrap;padding:7px 15px;background:#1e1e1e}.top-bar-section .dropdown li label{white-space:nowrap;background:#1e1e1e}.top-bar-section .dropdown li .dropdown{left:100%;top:0}.top-bar-section>ul>.divider{border-bottom:none;border-top:none;border-right:solid 1px #2b2b2b;border-left:solid 1px #000;clear:none;height:45px;width:0px}.top-bar-section .has-form{background:#111;padding:0 15px;height:45px}.top-bar-section ul.right li .dropdown{left:auto;right:0}.top-bar-section ul.right li .dropdown li .dropdown{right:100%}}.orbit-container{overflow:hidden;width:100%;position:relative;background:#f5f5f5}.orbit-container .orbit-slides-container{list-style:none;margin:0;padding:0;position:relative}.orbit-container .orbit-slides-container img{display:block}.orbit-container .orbit-slides-container>*{position:relative;float:left;height:100%}.orbit-container .orbit-slides-container>* .orbit-caption{position:absolute;bottom:0;background-color:#000;background-color:rgba(0,0,0,0.6);color:#fff;width:100%;padding:10px 14px;font-size:0.875em}.orbit-container .orbit-slides-container>* .orbit-caption *{color:#fff}.orbit-container .orbit-slide-number{position:absolute;top:10px;left:10px;font-size:12px}.orbit-container .orbit-slide-number span{font-weight:700}.orbit-container .orbit-timer{position:absolute;top:10px;right:10px;height:6px;width:100px}.orbit-container .orbit-timer .orbit-progress{height:100%;background-color:#000;background-color:rgba(0,0,0,0.6);display:block;width:0%}.orbit-container .orbit-timer>span{display:none;position:absolute;top:10px;right:0px;width:11px;height:14px;border:solid 4px #000;border-top:none;border-bottom:none}.orbit-container .orbit-timer.paused>span{right:-6px;top:9px;width:11px;height:14px;border:solid 8px;border-color:transparent transparent transparent #000}.orbit-container:hover .orbit-timer>span{display:block}.orbit-container .orbit-prev,.orbit-container .orbit-next{position:absolute;top:50%;margin-top:-25px;background-color:#000;background-color:rgba(0,0,0,0.6);width:50px;height:60px;line-height:50px;color:white;text-indent:-9999px !important}.orbit-container .orbit-prev>span,.orbit-container .orbit-next>span{position:absolute;top:50%;margin-top:-16px;display:block;width:0;height:0;border:solid 16px}.orbit-container .orbit-prev{left:0}.orbit-container .orbit-prev>span{border-color:transparent #fff transparent transparent}.orbit-container .orbit-prev:hover>span{border-color:transparent #ccc transparent transparent}.orbit-container .orbit-next{right:0}.orbit-container .orbit-next>span{border-color:transparent transparent transparent #fff;left:50%;margin-left:-8px}.orbit-container .orbit-next:hover>span{border-color:transparent transparent transparent #ccc}.orbit-bullets{margin:0 auto 30px auto;overflow:hidden;position:relative;top:10px}.orbit-bullets li{display:block;width:18px;height:18px;background:#fff;float:left;margin-right:6px;border:solid 2px #000;-webkit-border-radius:1000px;border-radius:1000px}.orbit-bullets li.active{background:#000}.orbit-bullets li:last-child{margin-right:0}.touch .orbit-container .orbit-prev,.touch .orbit-container .orbit-next{display:none}.touch .orbit-bullets{display:none}@media only screen and (min-width: 48em){.touch .orbit-container .orbit-prev,.touch .orbit-container .orbit-next{display:inherit}.touch .orbit-bullets{display:block}}.reveal-modal-bg{position:fixed;height:100%;width:100%;background:#000;background:rgba(0,0,0,0.45);z-index:98;display:none;top:0;left:0}.reveal-modal{visibility:hidden;display:none;position:absolute;left:50%;z-index:99;height:auto;background-color:#fff;margin-left:-40%;width:80%;background-color:#fff;padding:1.25em;border:solid 1px #666;-webkit-box-shadow:0 0 10px rgba(0,0,0,0.4);box-shadow:0 0 10px rgba(0,0,0,0.4);top:50px}.reveal-modal .column,.reveal-modal .columns{min-width:0}.reveal-modal>:first-child{margin-top:0}.reveal-modal>:last-child{margin-bottom:0}.reveal-modal .close-reveal-modal{font-size:1.375em;line-height:1;position:absolute;top:0.5em;right:0.6875em;color:#aaa;font-weight:bold;cursor:pointer}@media only screen and (min-width: 48em){.reveal-modal{padding:1.875em;top:6.25em}.reveal-modal.small{margin-left:-15%;width:30%}.reveal-modal.medium{margin-left:-20%;width:40%}.reveal-modal.large{margin-left:-30%;width:60%}.reveal-modal.xlarge{margin-left:-35%;width:70%}.reveal-modal.expand{margin-left:-47.5%;width:95%}}@media print{div:not(.reveal-modal){display:none}}.joyride-list{display:none}.joyride-tip-guide{display:none;position:absolute;background:#000;color:#fff;z-index:101;top:0;left:2.5%;font-family:inherit;font-weight:normal;width:95%}.lt-ie9 .joyride-tip-guide{max-width:800px;left:50%;margin-left:-400px}.joyride-content-wrapper{width:100%;padding:1.125em 1.25em 1.5em}.joyride-content-wrapper .button{margin-bottom:0 !important}.joyride-tip-guide .joyride-nub{display:block;position:absolute;left:22px;width:0;height:0;border:solid 14px}.joyride-tip-guide .joyride-nub.top{border-color:#000;border-top-color:transparent !important;border-left-color:transparent !important;border-right-color:transparent !important;top:-28px;bottom:none}.joyride-tip-guide .joyride-nub.bottom{border-color:#000 !important;border-bottom-color:transparent !important;border-left-color:transparent !important;border-right-color:transparent !important;bottom:-28px;bottom:none}.joyride-tip-guide .joyride-nub.right{right:-28px}.joyride-tip-guide .joyride-nub.left{left:-28px}.joyride-tip-guide h1,.joyride-tip-guide h2,.joyride-tip-guide h3,.joyride-tip-guide h4,.joyride-tip-guide h5,.joyride-tip-guide h6{line-height:1.25;margin:0;font-weight:bold;color:#fff}.joyride-tip-guide p{margin:0 0 1.125em 0;font-size:0.875em;line-height:1.3}.joyride-timer-indicator-wrap{width:50px;height:3px;border:solid 1px #555;position:absolute;right:1.0625em;bottom:1em}.joyride-timer-indicator{display:block;width:0;height:inherit;background:#666}.joyride-close-tip{position:absolute;right:12px;top:10px;color:#777 !important;text-decoration:none;font-size:30px;font-weight:normal;line-height:0.5 !important}.joyride-close-tip:hover,.joyride-close-tip:focus{color:#eee !important}.joyride-modal-bg{position:fixed;height:100%;width:100%;background:transparent;background:rgba(0,0,0,0.5);z-index:100;display:none;top:0;left:0;cursor:pointer}@media only screen and (min-width: 48em){.joyride-tip-guide{width:300px;left:0}.joyride-tip-guide .joyride-nub.bottom{border-color:#000 !important;border-bottom-color:transparent !important;border-left-color:transparent !important;border-right-color:transparent !important;bottom:-28px;bottom:none}.joyride-tip-guide .joyride-nub.right{border-color:#000 !important;border-top-color:transparent !important;border-right-color:transparent !important;border-bottom-color:transparent !important;top:22px;bottom:none;left:auto;right:-28px}.joyride-tip-guide .joyride-nub.left{border-color:#000 !important;border-top-color:transparent !important;border-left-color:transparent !important;border-bottom-color:transparent !important;top:22px;left:-28px;right:auto;bottom:none}}[data-clearing]{*zoom:1;margin-bottom:0}[data-clearing]:before,[data-clearing]:after{content:" ";display:table}[data-clearing]:after{clear:both}.clearing-blackout{background:#111;position:fixed;width:100%;height:100%;top:0;left:0;z-index:998}.clearing-blackout .clearing-close{display:block}.clearing-container{position:relative;z-index:998;height:100%;overflow:hidden;margin:0}.visible-img{height:95%;position:relative}.visible-img img{position:absolute;left:50%;top:50%;margin-left:-50%;max-height:100%;max-width:100%}.clearing-caption{color:#fff;line-height:1.3;margin-bottom:0;text-align:center;bottom:0;background:#111;width:100%;padding:10px 30px;position:absolute;left:0}.clearing-close{z-index:999;padding-left:20px;padding-top:10px;font-size:40px;line-height:1;color:#fff;display:none}.clearing-close:hover,.clearing-close:focus{color:#ccc}.clearing-assembled .clearing-container{height:100%}.clearing-assembled .clearing-container .carousel>ul{display:none}@media only screen and (min-width: 48em){.clearing-main-left,.clearing-main-right{position:absolute;height:100%;width:40px;top:0}.clearing-main-left>span,.clearing-main-right>span{position:absolute;top:50%;display:block;width:0;height:0;border:solid 16px}.clearing-main-left{left:0}.clearing-main-left>span{left:5px;border-color:transparent #fff transparent transparent}.clearing-main-right{right:0}.clearing-main-right>span{border-color:transparent transparent transparent #fff}.clearing-main-left.disabled,.clearing-main-right.disabled{opacity:0.5}.clearing-feature ~ li{display:none}.clearing-assembled .clearing-container .carousel{background:#111;height:150px;margin-top:5px}.clearing-assembled .clearing-container .carousel>ul{display:block;z-index:999;width:200%;height:100%;margin-left:0;position:relative;left:0}.clearing-assembled .clearing-container .carousel>ul li{display:block;width:175px;height:inherit;padding:0;float:left;overflow:hidden;margin-right:1px;position:relative;cursor:pointer;opacity:0.4}.clearing-assembled .clearing-container .carousel>ul li.fix-height img{min-height:100%;height:100%;max-width:none}.clearing-assembled .clearing-container .carousel>ul li a.th{border:none;-webkit-box-shadow:none;box-shadow:none;display:block}.clearing-assembled .clearing-container .carousel>ul li img{cursor:pointer !important;min-width:100% !important}.clearing-assembled .clearing-container .carousel>ul li.visible{opacity:1}.clearing-assembled .clearing-container .visible-img{background:#111;overflow:hidden;height:75%}.clearing-close{position:absolute;top:10px;right:20px;padding-left:0;padding-top:0}}.alert-box{border-style:solid;border-width:1px;display:block;font-weight:bold;margin-bottom:1.25em;position:relative;padding:0.6875em 1.3125em 0.75em 0.6875em;font-size:0.875em;background-color:#2ba6cb;border-color:#2284a1;color:#fff}.alert-box .close{font-size:1.375em;padding:5px 4px 4px;line-height:0;position:absolute;top:0.4375em;right:0.3125em;color:#333;opacity:0.3}.alert-box .close:hover,.alert-box .close:focus{opacity:0.5}.alert-box.radius{-webkit-border-radius:3px;border-radius:3px}.alert-box.round{-webkit-border-radius:1000px;border-radius:1000px}.alert-box.success{background-color:#5da423;border-color:#457a1a;color:#fff}.alert-box.alert{background-color:#c60f13;border-color:#970b0e;color:#fff}.alert-box.secondary{background-color:#e9e9e9;border-color:#d0d0d0;color:#505050}.breadcrumbs{display:block;padding:0.375em 0.875em 0.5625em;overflow:hidden;margin-left:0;list-style:none;border-style:solid;border-width:1px;background-color:#f6f6f6;border-color:#dcdcdc;-webkit-border-radius:3px;border-radius:3px}.breadcrumbs li{margin:0;padding:0 0.75em 0 0;float:left}.breadcrumbs li:hover a,.breadcrumbs li:focus a{text-decoration:underline}.breadcrumbs li a,.breadcrumbs li span{font-size:0.6875em;padding-left:0.75em;text-transform:uppercase;color:#2ba6cb}.breadcrumbs li.current a{cursor:default;color:#333}.breadcrumbs li.current:hover a,.breadcrumbs li.current:focus a{text-decoration:none}.breadcrumbs li.unavailable a{color:#999}.breadcrumbs li.unavailable:hover a,.breadcrumbs li.unavailable a:focus{text-decoration:none;color:#999;cursor:default}.breadcrumbs li:before{content:"/";color:#aaa;position:relative;top:1px}.breadcrumbs li:first-child a,.breadcrumbs li:first-child span{padding-left:0}.breadcrumbs li:first-child:before{content:" "}.keystroke,kbd{background-color:#ededed;border-color:#dbdbdb;color:#222;border-style:solid;border-width:1px;margin:0;font-family:"Consolas","Menlo","Courier",monospace;font-size:0.9375em;padding:0.125em 0.25em 0em;-webkit-border-radius:3px;border-radius:3px}.label{font-weight:500;text-align:center;text-decoration:none;line-height:1;white-space:nowrap;display:inline-block;position:relative;padding:0.1875em 0.625em 0.25em;font-size:0.875em;background-color:#2ba6cb;color:#fff}.label.radius{-webkit-border-radius:3px;border-radius:3px}.label.round{-webkit-border-radius:1000px;border-radius:1000px}.label.alert{background-color:#c60f13;color:#fff}.label.success{background-color:#5da423;color:#fff}.label.secondary{background-color:#e9e9e9;color:#333}.inline-list{margin:0 0 1.0625em -1.375em;padding:0;list-style:none;overflow:hidden}.inline-list>li{list-style:none;float:left;margin-left:1.375em;display:block}.inline-list>li>*{display:block}.pagination{display:block;height:1.5em;margin-left:-0.3125em}.pagination li{display:block;float:left;height:1.5em;color:#222;font-size:0.875em;margin-left:0.3125em}.pagination li a{display:block;padding:0.0625em 0.4375em 0.0625em;color:#999}.pagination li:hover a,.pagination li a:focus{background:#e6e6e6}.pagination li.unavailable a{cursor:default;color:#999}.pagination li.unavailable:hover a,.pagination li.unavailable a:focus{background:transparent}.pagination li.current a{background:#2ba6cb;color:#fff;font-weight:bold;cursor:default}.pagination li.current a:hover,.pagination li.current a:focus{background:#2ba6cb}.pagination-centered{text-align:center}.pagination-centered ul>li{float:none;display:inline-block}.panel{border-style:solid;border-width:1px;border-color:#d9d9d9;margin-bottom:1.25em;padding:1.25em;background:#f2f2f2}.panel h1,.panel h2,.panel h3,.panel h4,.panel h5,.panel h6,.panel p{color:#333}.panel>:first-child{margin-top:0}.panel>:last-child{margin-bottom:0}.panel h1,.panel h2,.panel h3,.panel h4,.panel h5,.panel h6{line-height:1;margin-bottom:0.625em}.panel h1.subheader,.panel h2.subheader,.panel h3.subheader,.panel h4.subheader,.panel h5.subheader,.panel h6.subheader{line-height:1.4}.panel.callout{border-style:solid;border-width:1px;border-color:#2284a1;margin-bottom:1.25em;padding:1.25em;background:#2ba6cb;-webkit-box-shadow:0 1px 0 rgba(255,255,255,0.5) inset;box-shadow:0 1px 0 rgba(255,255,255,0.5) inset}.panel.callout h1,.panel.callout h2,.panel.callout h3,.panel.callout h4,.panel.callout h5,.panel.callout h6,.panel.callout p{color:#fff}.panel.callout>:first-child{margin-top:0}.panel.callout>:last-child{margin-bottom:0}.panel.callout h1,.panel.callout h2,.panel.callout h3,.panel.callout h4,.panel.callout h5,.panel.callout h6{line-height:1;margin-bottom:0.625em}.panel.callout h1.subheader,.panel.callout h2.subheader,.panel.callout h3.subheader,.panel.callout h4.subheader,.panel.callout h5.subheader,.panel.callout h6.subheader{line-height:1.4}.panel.radius{-webkit-border-radius:3px;border-radius:3px}.pricing-table{border:solid 1px #ddd;margin-left:0;margin-bottom:1.25em}.pricing-table *{list-style:none;line-height:1}.pricing-table .title{background-color:#ddd;padding:0.9375em 1.25em;text-align:center;color:#333;font-weight:bold;font-size:1em}.pricing-table .price{background-color:#eee;padding:0.9375em 1.25em;text-align:center;color:#333;font-weight:normal;font-size:1.25em}.pricing-table .description{background-color:#fff;padding:0.9375em;text-align:center;color:#777;font-size:0.75em;font-weight:normal;line-height:1.4;border-bottom:dotted 1px #ddd}.pricing-table .bullet-item{background-color:#fff;padding:0.9375em;text-align:center;color:#333;font-size:0.875em;font-weight:normal;border-bottom:dotted 1px #ddd}.pricing-table .cta-button{background-color:#f5f5f5;text-align:center;padding:1.25em 1.25em 0}.progress{background-color:transparent;height:1.5625em;border:1px solid #ccc;padding:0.125em;margin-bottom:0.625em}.progress .meter{background:#2ba6cb;height:100%;display:block}.progress.secondary .meter{background:#e9e9e9;height:100%;display:block}.progress.success .meter{background:#5da423;height:100%;display:block}.progress.alert .meter{background:#c60f13;height:100%;display:block}.progress.radius{-webkit-border-radius:3px;border-radius:3px}.progress.radius .meter{-webkit-border-radius:2px;border-radius:2px}.progress.round{-webkit-border-radius:1000px;border-radius:1000px}.progress.round .meter{-webkit-border-radius:999px;border-radius:999px}.side-nav{display:block;margin:0;padding:0.875em 0;list-style-type:none;list-style-position:inside}.side-nav li{margin:0 0 0.4375em 0;font-size:0.875em}.side-nav li a{display:block;color:#2ba6cb}.side-nav li.active a{color:#4d4d4d;font-weight:bold}.side-nav li.divider{border-top:1px solid;height:0;padding:0;list-style:none;border-top-color:#e6e6e6}.sub-nav{display:block;width:auto;overflow:hidden;margin:-0.25em 0 1.125em;padding-top:0.25em;margin-right:0;margin-left:-0.5625em}.sub-nav dt,.sub-nav dd{float:left;display:inline;margin-left:0.5625em;margin-bottom:0.625em;font-weight:normal;font-size:0.875em}.sub-nav dt a,.sub-nav dd a{color:#999;text-decoration:none}.sub-nav dt.active a,.sub-nav dd.active a{-webkit-border-radius:1000px;border-radius:1000px;font-weight:bold;background:#2ba6cb;padding:0.1875em 0.5625em;cursor:default;color:#fff}@media only screen{div.switch{position:relative;width:100%;padding:0;display:block;overflow:hidden;border-style:solid;border-width:1px;margin-bottom:1.25em;-webkit-animation:webkitSiblingBugfix infinite 1s;height:36px;background:#fff;border-color:#ccc}div.switch label{position:relative;left:0;z-index:2;float:left;width:50%;height:100%;margin:0;text-align:right;font-weight:bold;text-align:left;-webkit-transition:all 0.1s ease-out;-moz-transition:all 0.1s ease-out;transition:all 0.1s ease-out}div.switch input{position:absolute;z-index:3;opacity:0;width:100%;height:100%}div.switch input:hover,div.switch input:focus{cursor:pointer}div.switch>span{position:absolute;top:-1px;left:-1px;z-index:1;display:block;padding:0;border-width:1px;border-style:solid;-webkit-transition:all 0.1s ease-out;-moz-transition:all 0.1s ease-out;transition:all 0.1s ease-out}div.switch input:not(:checked)+label{opacity:0}div.switch input:checked{display:none !important}div.switch input{left:0;display:block !important}div.switch input:first-of-type+label,div.switch input:first-of-type+span+label{left:-50%}div.switch input:first-of-type:checked+label,div.switch input:first-of-type:checked+span+label{left:0%}div.switch input:last-of-type+label,div.switch input:last-of-type+span+label{right:-50%;left:auto;text-align:right}div.switch input:last-of-type:checked+label,div.switch input:last-of-type:checked+span+label{right:0%;left:auto}div.switch span.custom{display:none !important}div.switch label{padding:0 0.375em;line-height:2.3em;font-size:0.875em}div.switch input:first-of-type:checked ~ span{left:100%;margin-left:-2.1875em}div.switch>span{width:2.25em;height:2.25em}div.switch>span{border-color:#b3b3b3;background:#fff;background:-moz-linear-gradient(top, #fff 0%, #f2f2f2 100%);background:-webkit-linear-gradient(top, #fff 0%, #f2f2f2 100%);background:linear-gradient(to bottom, #fff 0%, #f2f2f2 100%);-webkit-box-shadow:2px 0 10px 0 rgba(0,0,0,0.07),1000px 0 0 1000px #e1f5d1,-2px 0 10px 0 rgba(0,0,0,0.07),-1000px 0 0 1000px #f5f5f5;box-shadow:2px 0 10px 0 rgba(0,0,0,0.07),1000px 0 0 980px #e1f5d1,-2px 0 10px 0 rgba(0,0,0,0.07),-1000px 0 0 1000px #f5f5f5}div.switch:hover>span,div.switch:focus>span{background:#fff;background:-moz-linear-gradient(top, #fff 0%, #e6e6e6 100%);background:-webkit-linear-gradient(top, #fff 0%, #e6e6e6 100%);background:linear-gradient(to bottom, #fff 0%, #e6e6e6 100%)}div.switch:active{background:transparent}div.switch.large{height:44px}div.switch.large label{padding:0 0.375em;line-height:2.3em;font-size:1.0625em}div.switch.large input:first-of-type:checked ~ span{left:100%;margin-left:-2.6875em}div.switch.large>span{width:2.75em;height:2.75em}div.switch.small{height:28px}div.switch.small label{padding:0 0.375em;line-height:2.1em;font-size:0.75em}div.switch.small input:first-of-type:checked ~ span{left:100%;margin-left:-1.6875em}div.switch.small>span{width:1.75em;height:1.75em}div.switch.tiny{height:22px}div.switch.tiny label{padding:0 0.375em;line-height:1.9em;font-size:0.6875em}div.switch.tiny input:first-of-type:checked ~ span{left:100%;margin-left:-1.3125em}div.switch.tiny>span{width:1.375em;height:1.375em}div.switch.radius{-webkit-border-radius:4px;border-radius:4px}div.switch.radius>span{-webkit-border-radius:3px;border-radius:3px}div.switch.round{-webkit-border-radius:1000px;border-radius:1000px}div.switch.round>span{-webkit-border-radius:999px;border-radius:999px}div.switch.round label{padding:0 0.5625em}@-webkit-keyframes webkitSiblingBugfix{from{position:relative}to{position:relative}}}[data-magellan-expedition]{background:#fff;z-index:997;min-width:100%;padding:10px}[data-magellan-expedition] .sub-nav{margin-bottom:0}[data-magellan-expedition] .sub-nav dd{margin-bottom:0}table{background:#fff;margin-bottom:1.25em;border:solid 1px #ddd}table thead,table tfoot{background:#f5f5f5;font-weight:bold}table thead tr th,table thead tr td,table tfoot tr th,table tfoot tr td{padding:0.5em 0.625em 0.625em;font-size:0.875em;color:#222;text-align:left}table tr th,table tr td{padding:0.5625em 0.625em;font-size:0.875em;color:#222}table tr.even,table tr.alt,table tr:nth-of-type(even){background:#f9f9f9}table thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{display:table-cell;line-height:1.125em}.th{display:inline-block;border:solid 4px #fff;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,0.2);box-shadow:0 0 0 1px rgba(0,0,0,0.2);-webkit-transition:all 200ms ease-out;-moz-transition:all 200ms ease-out;transition:all 200ms ease-out}.th:hover,.th:focus{-webkit-box-shadow:0 0 6px 1px rgba(43,166,203,0.5);box-shadow:0 0 6px 1px rgba(43,166,203,0.5)}.th.radius{-webkit-border-radius:3px;border-radius:3px}.has-tip{border-bottom:dotted 1px #ccc;cursor:help;font-weight:bold;color:#333}.has-tip:hover,.has-tip:focus{border-bottom:dotted 1px #196177;color:#2ba6cb}.has-tip.tip-left,.has-tip.tip-right{float:none !important}.tooltip{display:none;position:absolute;z-index:999;font-weight:bold;font-size:0.9375em;line-height:1.3;padding:0.5em;max-width:85%;left:50%;width:100%;color:#fff;background:#000;-webkit-border-radius:3px;border-radius:3px}.tooltip>.nub{display:block;position:absolute;width:0;height:0;border:solid 5px;border-color:transparent transparent #000 transparent;top:-10px}.tooltip.opened{color:#2ba6cb !important;border-bottom:dotted 1px #196177 !important}.tap-to-close{display:block;font-size:0.625em;color:#888;font-weight:normal}@media only screen and (min-width: 48em){.tooltip>.nub{border-color:transparent transparent #000 transparent;top:-10px}.tooltip.tip-top>.nub{border-color:#000 transparent transparent transparent;top:auto;bottom:-10px}.tooltip.tip-left,.tooltip.tip-right{float:none !important}.tooltip.tip-left>.nub{border-color:transparent transparent transparent #000;right:-10px;left:auto;top:50%;margin-top:-5px}.tooltip.tip-right>.nub{border-color:transparent #000 transparent transparent;right:auto;left:-10px;top:50%;margin-top:-5px}}@media only screen and (max-width: 767px){.f-dropdown{max-width:100%;left:0}}.f-dropdown{position:absolute;left:-9999px;top:-9999px;list-style:none;width:100%;max-height:none;height:auto;background:#fff;border:solid 1px #ccc;font-size:16px;z-index:99;margin-top:2px;max-width:200px}.f-dropdown *:first-child{margin-top:0}.f-dropdown *:last-child{margin-bottom:0}.f-dropdown:before{content:"";display:block;width:0;height:0;border:solid 6px;border-color:transparent transparent #fff transparent;position:absolute;top:-12px;left:10px;z-index:99}.f-dropdown:after{content:"";display:block;width:0;height:0;border:solid 7px;border-color:transparent transparent #ccc transparent;position:absolute;top:-14px;left:9px;z-index:98}.f-dropdown.right:before{left:auto;right:10px}.f-dropdown.right:after{left:auto;right:9px}.f-dropdown li{font-size:0.875em;cursor:pointer;padding:0.3125em 0.625em;line-height:1.125em;margin:0}.f-dropdown li:hover,.f-dropdown li:focus{background:#eee}.f-dropdown li a{color:#555}.f-dropdown.content{position:absolute;left:-9999px;top:-9999px;list-style:none;padding:1.25em;width:100%;height:auto;max-height:none;background:#fff;border:solid 1px #ccc;font-size:16px;z-index:99;max-width:200px}.f-dropdown.content *:first-child{margin-top:0}.f-dropdown.content *:last-child{margin-bottom:0}.f-dropdown.tiny{max-width:200px}.f-dropdown.small{max-width:300px}.f-dropdown.medium{max-width:500px}.f-dropdown.large{max-width:800px}
+ *,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}html,body{font-size:100%}body{background:white;color:#222;padding:0;margin:0;font-family:"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;font-weight:normal;font-style:normal;line-height:1;position:relative;cursor:default}
+ a:hover{cursor:pointer}a:focus{outline:0}img,object,embed{max-width:100%;height:auto}object,embed{height:100%}img{-ms-interpolation-mode:bicubic}#map_canvas img,#map_canvas embed,#map_canvas object,.map_canvas img,.map_canvas embed,.map_canvas object{max-width:none!important}
+ .left{float:left!important}.right{float:right!important}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}
+ .text-justify{text-align:justify!important}.hide{display:none}.antialiased{-webkit-font-smoothing:antialiased}img{display:inline-block;vertical-align:middle}
+ textarea{height:auto;min-height:50px}select{width:100%}.row{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:62.5em;*zoom:1}
+ .row:before,.row:after{content:" ";display:table}.row:after{clear:both}.row.collapse .column,.row.collapse .columns{position:relative;padding-left:0;padding-right:0;float:left}
+ .row .row{width:auto;margin-left:-0.9375em;margin-right:-0.9375em;margin-top:0;margin-bottom:0;max-width:none;*zoom:1}.row .row:before,.row .row:after{content:" ";display:table}
+ .row .row:after{clear:both}.row .row.collapse{width:auto;margin:0;max-width:none;*zoom:1}.row .row.collapse:before,.row .row.collapse:after{content:" ";display:table}
+ .row .row.collapse:after{clear:both}.column,.columns{position:relative;padding-left:.9375em;padding-right:.9375em;width:100%;float:left}@media only screen{.column,.columns{position:relative;padding-left:.9375em;padding-right:.9375em;float:left}
+ .small-1{position:relative;width:8.33333%}.small-2{position:relative;width:16.66667%}.small-3{position:relative;width:25%}.small-4{position:relative;width:33.33333%}
+ .small-5{position:relative;width:41.66667%}.small-6{position:relative;width:50%}.small-7{position:relative;width:58.33333%}.small-8{position:relative;width:66.66667%}
+ .small-9{position:relative;width:75%}.small-10{position:relative;width:83.33333%}.small-11{position:relative;width:91.66667%}.small-12{position:relative;width:100%}
+ .small-offset-0{position:relative;margin-left:0}.small-offset-1{position:relative;margin-left:8.33333%}.small-offset-2{position:relative;margin-left:16.66667%}
+ .small-offset-3{position:relative;margin-left:25%}.small-offset-4{position:relative;margin-left:33.33333%}.small-offset-5{position:relative;margin-left:41.66667%}
+ .small-offset-6{position:relative;margin-left:50%}.small-offset-7{position:relative;margin-left:58.33333%}.small-offset-8{position:relative;margin-left:66.66667%}
+ .small-offset-9{position:relative;margin-left:75%}.small-offset-10{position:relative;margin-left:83.33333%}[class*="column"]+[class*="column"]:last-child{float:right}
+ [class*="column"]+[class*="column"].end{float:left}.column.small-centered,.columns.small-centered{position:relative;margin-left:auto;margin-right:auto;float:none!important}
+ }@media only screen and (min-width:768px){.large-1{position:relative;width:8.33333%}.large-2{position:relative;width:16.66667%}.large-3{position:relative;width:25%}
+ .large-4{position:relative;width:33.33333%}.large-5{position:relative;width:41.66667%}.large-6{position:relative;width:50%}.large-7{position:relative;width:58.33333%}
+ .large-8{position:relative;width:66.66667%}.large-9{position:relative;width:75%}.large-10{position:relative;width:83.33333%}.large-11{position:relative;width:91.66667%}
+ .large-12{position:relative;width:100%}.row .large-offset-0{position:relative;margin-left:0}.row .large-offset-1{position:relative;margin-left:8.33333%}
+ .row .large-offset-2{position:relative;margin-left:16.66667%}.row .large-offset-3{position:relative;margin-left:25%}.row .large-offset-4{position:relative;margin-left:33.33333%}
+ .row .large-offset-5{position:relative;margin-left:41.66667%}.row .large-offset-6{position:relative;margin-left:50%}.row .large-offset-7{position:relative;margin-left:58.33333%}
+ .row .large-offset-8{position:relative;margin-left:66.66667%}.row .large-offset-9{position:relative;margin-left:75%}.row .large-offset-10{position:relative;margin-left:83.33333%}
+ .row .large-offset-11{position:relative;margin-left:91.66667%}.push-1{position:relative;left:8.33333%;right:auto}.pull-1{position:relative;right:8.33333%;left:auto}
+ .push-2{position:relative;left:16.66667%;right:auto}.pull-2{position:relative;right:16.66667%;left:auto}.push-3{position:relative;left:25%;right:auto}
+ .pull-3{position:relative;right:25%;left:auto}.push-4{position:relative;left:33.33333%;right:auto}.pull-4{position:relative;right:33.33333%;left:auto}
+ .push-5{position:relative;left:41.66667%;right:auto}.pull-5{position:relative;right:41.66667%;left:auto}.push-6{position:relative;left:50%;right:auto}
+ .pull-6{position:relative;right:50%;left:auto}.push-7{position:relative;left:58.33333%;right:auto}.pull-7{position:relative;right:58.33333%;left:auto}
+ .push-8{position:relative;left:66.66667%;right:auto}.pull-8{position:relative;right:66.66667%;left:auto}.push-9{position:relative;left:75%;right:auto}
+ .pull-9{position:relative;right:75%;left:auto}.push-10{position:relative;left:83.33333%;right:auto}.pull-10{position:relative;right:83.33333%;left:auto}
+ .push-11{position:relative;left:91.66667%;right:auto}.pull-11{position:relative;right:91.66667%;left:auto}.column.large-centered,.columns.large-centered{position:relative;margin-left:auto;margin-right:auto;float:none!important}
+ .column.large-uncentered,.columns.large-uncentered{margin-left:0;margin-right:0;float:left!important}.column.large-uncentered.opposite,.columns.large-uncentered.opposite{float:right!important}
+ }.show-for-small,.show-for-medium-down,.show-for-large-down{display:inherit!important}.show-for-medium,.show-for-medium-up,.show-for-large,.show-for-large-up,.show-for-xlarge{display:none!important}
+ .hide-for-medium,.hide-for-medium-up,.hide-for-large,.hide-for-large-up,.hide-for-xlarge{display:inherit!important}.hide-for-small,.hide-for-medium-down,.hide-for-large-down{display:none!important}
+ table.show-for-small,table.show-for-medium-down,table.show-for-large-down,table.hide-for-medium,table.hide-for-medium-up,table.hide-for-large,table.hide-for-large-up,table.hide-for-xlarge{display:table}
+ thead.show-for-small,thead.show-for-medium-down,thead.show-for-large-down,thead.hide-for-medium,thead.hide-for-medium-up,thead.hide-for-large,thead.hide-for-large-up,thead.hide-for-xlarge{display:table-header-group!important}
+ tbody.show-for-small,tbody.show-for-medium-down,tbody.show-for-large-down,tbody.hide-for-medium,tbody.hide-for-medium-up,tbody.hide-for-large,tbody.hide-for-large-up,tbody.hide-for-xlarge{display:table-row-group!important}
+ tr.show-for-small,tr.show-for-medium-down,tr.show-for-large-down,tr.hide-for-medium,tr.hide-for-medium-up,tr.hide-for-large,tr.hide-for-large-up,tr.hide-for-xlarge{display:table-row!important}
+ td.show-for-small,td.show-for-medium-down,td.show-for-large-down,td.hide-for-medium,td.hide-for-medium-up,td.hide-for-large,td.hide-for-large-up,td.hide-for-xlarge,th.show-for-small,th.show-for-medium-down,th.show-for-large-down,th.hide-for-medium,th.hide-for-medium-up,th.hide-for-large,th.hide-for-large-up,th.hide-for-xlarge{display:table-cell!important}
+ @media only screen and (min-width:768px){.show-for-medium,.show-for-medium-up{display:inherit!important}.show-for-small{display:none!important}.hide-for-small{display:inherit!important}
+ .hide-for-medium,.hide-for-medium-up{display:none!important}table.show-for-medium,table.show-for-medium-up,table.hide-for-small{display:table}thead.show-for-medium,thead.show-for-medium-up,thead.hide-for-small{display:table-header-group!important}
+ tbody.show-for-medium,tbody.show-for-medium-up,tbody.hide-for-small{display:table-row-group!important}tr.show-for-medium,tr.show-for-medium-up,tr.hide-for-small{display:table-row!important}
+ td.show-for-medium,td.show-for-medium-up,td.hide-for-small,th.show-for-medium,th.show-for-medium-up,th.hide-for-small{display:table-cell!important}}@media only screen and (min-width:1280px){.show-for-large,.show-for-large-up{display:inherit!important}
+ .show-for-medium,.show-for-medium-down{display:none!important}.hide-for-medium,.hide-for-medium-down{display:inherit!important}.hide-for-large,.hide-for-large-up{display:none!important}
+ table.show-for-large,table.show-for-large-up,table.hide-for-medium,table.hide-for-medium-down{display:table}thead.show-for-large,thead.show-for-large-up,thead.hide-for-medium,thead.hide-for-medium-down{display:table-header-group!important}
+ tbody.show-for-large,tbody.show-for-large-up,tbody.hide-for-medium,tbody.hide-for-medium-down{display:table-row-group!important}tr.show-for-large,tr.show-for-large-up,tr.hide-for-medium,tr.hide-for-medium-down{display:table-row!important}
+ td.show-for-large,td.show-for-large-up,td.hide-for-medium,td.hide-for-medium-down,th.show-for-large,th.show-for-large-up,th.hide-for-medium,th.hide-for-medium-down{display:table-cell!important}
+ }@media only screen and (min-width:1440px){.show-for-xlarge{display:inherit!important}.show-for-large,.show-for-large-down{display:none!important}.hide-for-large,.hide-for-large-down{display:inherit!important}
+ .hide-for-xlarge{display:none!important}table.show-for-xlarge,table.hide-for-large,table.hide-for-large-down{display:table}thead.show-for-xlarge,thead.hide-for-large,thead.hide-for-large-down{display:table-header-group!important}
+ tbody.show-for-xlarge,tbody.hide-for-large,tbody.hide-for-large-down{display:table-row-group!important}tr.show-for-xlarge,tr.hide-for-large,tr.hide-for-large-down{display:table-row!important}
+ td.show-for-xlarge,td.hide-for-large,td.hide-for-large-down,th.show-for-xlarge,th.hide-for-large,th.hide-for-large-down{display:table-cell!important}}
+ .show-for-landscape,.hide-for-portrait{display:inherit!important}.hide-for-landscape,.show-for-portrait{display:none!important}table.hide-for-landscape,table.show-for-portrait{display:table}
+ thead.hide-for-landscape,thead.show-for-portrait{display:table-header-group!important}tbody.hide-for-landscape,tbody.show-for-portrait{display:table-row-group!important}
+ tr.hide-for-landscape,tr.show-for-portrait{display:table-row!important}td.hide-for-landscape,td.show-for-portrait,th.hide-for-landscape,th.show-for-portrait{display:table-cell!important}
+ @media only screen and (orientation:landscape){.show-for-landscape,.hide-for-portrait{display:inherit!important}.hide-for-landscape,.show-for-portrait{display:none!important}
+ table.show-for-landscape,table.hide-for-portrait{display:table}thead.show-for-landscape,thead.hide-for-portrait{display:table-header-group!important}tbody.show-for-landscape,tbody.hide-for-portrait{display:table-row-group!important}
+ tr.show-for-landscape,tr.hide-for-portrait{display:table-row!important}td.show-for-landscape,td.hide-for-portrait,th.show-for-landscape,th.hide-for-portrait{display:table-cell!important}
+ }@media only screen and (orientation:portrait){.show-for-portrait,.hide-for-landscape{display:inherit!important}.hide-for-portrait,.show-for-landscape{display:none!important}
+ table.show-for-portrait,table.hide-for-landscape{display:table}thead.show-for-portrait,thead.hide-for-landscape{display:table-header-group!important}tbody.show-for-portrait,tbody.hide-for-landscape{display:table-row-group!important}
+ tr.show-for-portrait,tr.hide-for-landscape{display:table-row!important}td.show-for-portrait,td.hide-for-landscape,th.show-for-portrait,th.hide-for-landscape{display:table-cell!important}
+ }.show-for-touch{display:none!important}.hide-for-touch{display:inherit!important}.touch .show-for-touch{display:inherit!important}.touch .hide-for-touch{display:none!important}
+ table.hide-for-touch{display:table}.touch table.show-for-touch{display:table}thead.hide-for-touch{display:table-header-group!important}.touch thead.show-for-touch{display:table-header-group!important}
+ tbody.hide-for-touch{display:table-row-group!important}.touch tbody.show-for-touch{display:table-row-group!important}tr.hide-for-touch{display:table-row!important}
+ .touch tr.show-for-touch{display:table-row!important}td.hide-for-touch{display:table-cell!important}.touch td.show-for-touch{display:table-cell!important}
+ th.hide-for-touch{display:table-cell!important}.touch th.show-for-touch{display:table-cell!important}@media only screen{[class*="block-grid-"]{display:block;padding:0;margin:-0.625em;*zoom:1}
+ [class*="block-grid-"]:before,[class*="block-grid-"]:after{content:" ";display:table}
+ [class*="block-grid-"]:after{clear:both}[class*="block-grid-"]>li{display:inline;height:auto;float:left;padding:0 .625em 1.25em}
+ .small-block-grid-1>li{width:100%;padding:0 .625em 1.25em}.small-block-grid-1>li:nth-of-type(n){clear:none}.small-block-grid-1>li:nth-of-type(1n+1){clear:both}
+ .small-block-grid-2>li{width:50%;padding:0 .625em 1.25em}.small-block-grid-2>li:nth-of-type(n){clear:none}.small-block-grid-2>li:nth-of-type(2n+1){clear:both}
+ .small-block-grid-3>li{width:33.33333%;padding:0 .625em 1.25em}.small-block-grid-3>li:nth-of-type(n){clear:none}.small-block-grid-3>li:nth-of-type(3n+1){clear:both}
+ .small-block-grid-4>li{width:25%;padding:0 .625em 1.25em}.small-block-grid-4>li:nth-of-type(n){clear:none}.small-block-grid-4>li:nth-of-type(4n+1){clear:both}
+ .small-block-grid-5>li{width:20%;padding:0 .625em 1.25em}.small-block-grid-5>li:nth-of-type(n){clear:none}.small-block-grid-5>li:nth-of-type(5n+1){clear:both}
+ .small-block-grid-6>li{width:16.66667%;padding:0 .625em 1.25em}.small-block-grid-6>li:nth-of-type(n){clear:none}.small-block-grid-6>li:nth-of-type(6n+1){clear:both}
+ .small-block-grid-7>li{width:14.28571%;padding:0 .625em 1.25em}.small-block-grid-7>li:nth-of-type(n){clear:none}.small-block-grid-7>li:nth-of-type(7n+1){clear:both}
+ .small-block-grid-8>li{width:12.5%;padding:0 .625em 1.25em}.small-block-grid-8>li:nth-of-type(n){clear:none}.small-block-grid-8>li:nth-of-type(8n+1){clear:both}
+ .small-block-grid-9>li{width:11.11111%;padding:0 .625em 1.25em}.small-block-grid-9>li:nth-of-type(n){clear:none}.small-block-grid-9>li:nth-of-type(9n+1){clear:both}
+ .small-block-grid-10>li{width:10%;padding:0 .625em 1.25em}.small-block-grid-10>li:nth-of-type(n){clear:none}.small-block-grid-10>li:nth-of-type(10n+1){clear:both}
+ .small-block-grid-11>li{width:9.09091%;padding:0 .625em 1.25em}.small-block-grid-11>li:nth-of-type(n){clear:none}.small-block-grid-11>li:nth-of-type(11n+1){clear:both}
+ .small-block-grid-12>li{width:8.33333%;padding:0 .625em 1.25em}.small-block-grid-12>li:nth-of-type(n){clear:none}.small-block-grid-12>li:nth-of-type(12n+1){clear:both}
+ }@media only screen and (min-width:768px){.small-block-grid-1>li:nth-of-type(1n+1){clear:none}.small-block-grid-2>li:nth-of-type(2n+1){clear:none}.small-block-grid-3>li:nth-of-type(3n+1){clear:none}
+ .small-block-grid-4>li:nth-of-type(4n+1){clear:none}.small-block-grid-5>li:nth-of-type(5n+1){clear:none}.small-block-grid-6>li:nth-of-type(6n+1){clear:none}
+ .small-block-grid-7>li:nth-of-type(7n+1){clear:none}.small-block-grid-8>li:nth-of-type(8n+1){clear:none}.small-block-grid-9>li:nth-of-type(9n+1){clear:none}
+ .small-block-grid-10>li:nth-of-type(10n+1){clear:none}.small-block-grid-11>li:nth-of-type(11n+1){clear:none}.small-block-grid-12>li:nth-of-type(12n+1){clear:none}
+ .large-block-grid-1>li{width:100%;padding:0 .625em 1.25em}.large-block-grid-1>li:nth-of-type(n){clear:none}.large-block-grid-1>li:nth-of-type(1n+1){clear:both}
+ .large-block-grid-2>li{width:50%;padding:0 .625em 1.25em}.large-block-grid-2>li:nth-of-type(n){clear:none}.large-block-grid-2>li:nth-of-type(2n+1){clear:both}
+ .large-block-grid-3>li{width:33.33333%;padding:0 .625em 1.25em}.large-block-grid-3>li:nth-of-type(n){clear:none}.large-block-grid-3>li:nth-of-type(3n+1){clear:both}
+ .large-block-grid-4>li{width:25%;padding:0 .625em 1.25em}.large-block-grid-4>li:nth-of-type(n){clear:none}.large-block-grid-4>li:nth-of-type(4n+1){clear:both}
+ .large-block-grid-5>li{width:20%;padding:0 .625em 1.25em}.large-block-grid-5>li:nth-of-type(n){clear:none}.large-block-grid-5>li:nth-of-type(5n+1){clear:both}
+ .large-block-grid-6>li{width:16.66667%;padding:0 .625em 1.25em}.large-block-grid-6>li:nth-of-type(n){clear:none}.large-block-grid-6>li:nth-of-type(6n+1){clear:both}
+ .large-block-grid-7>li{width:14.28571%;padding:0 .625em 1.25em}.large-block-grid-7>li:nth-of-type(n){clear:none}.large-block-grid-7>li:nth-of-type(7n+1){clear:both}
+ .large-block-grid-8>li{width:12.5%;padding:0 .625em 1.25em}.large-block-grid-8>li:nth-of-type(n){clear:none}.large-block-grid-8>li:nth-of-type(8n+1){clear:both}
+ .large-block-grid-9>li{width:11.11111%;padding:0 .625em 1.25em}.large-block-grid-9>li:nth-of-type(n){clear:none}.large-block-grid-9>li:nth-of-type(9n+1){clear:both}
+ .large-block-grid-10>li{width:10%;padding:0 .625em 1.25em}.large-block-grid-10>li:nth-of-type(n){clear:none}.large-block-grid-10>li:nth-of-type(10n+1){clear:both}
+ .large-block-grid-11>li{width:9.09091%;padding:0 .625em 1.25em}.large-block-grid-11>li:nth-of-type(n){clear:none}.large-block-grid-11>li:nth-of-type(11n+1){clear:both}
+ .large-block-grid-12>li{width:8.33333%;padding:0 .625em 1.25em}.large-block-grid-12>li:nth-of-type(n){clear:none}.large-block-grid-12>li:nth-of-type(12n+1){clear:both}
+ }p.lead{font-size:1.21875em;line-height:1.6}.subheader{line-height:1.4;color:#6f6f6f;font-weight:300;margin-top:.2em;margin-bottom:.5em}div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,th,td{margin:0;padding:0;direction:ltr}
+ a{color:#2ba6cb;text-decoration:none;line-height:inherit}a:hover,a:focus{color:#2795b6}a img{border:0}p{font-family:inherit;font-weight:normal;font-size:1em;line-height:1.6;margin-bottom:1.25em;text-rendering:optimizeLegibility}
+ p aside{font-size:.875em;line-height:1.35;font-style:italic}h1,h2,h3,h4,h5,h6{font-family:"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;font-weight:bold;font-style:normal;color:#222;text-rendering:optimizeLegibility;margin-top:.2em;margin-bottom:.5em;line-height:1.2125em}
+ h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-size:60%;color:#6f6f6f;line-height:0}h1{font-size:2.125em}h2{font-size:1.6875em}h3{font-size:1.375em}
+ h4{font-size:1.125em}h5{font-size:1.125em}h6{font-size:1em}hr{border:solid #ddd;border-width:1px 0 0;clear:both;margin:1.25em 0 1.1875em;height:0}em,i{font-style:italic;line-height:inherit}
+ strong,b{font-weight:bold;line-height:inherit}small{font-size:60%;line-height:inherit}code{font-family:Consolas,"Liberation Mono",Courier,monospace;font-weight:bold;color:#7f0a0c}
+ ul,ol,dl{font-size:1em;line-height:1.6;margin-bottom:1.25em;list-style-position:outside;font-family:inherit}ul,ol{margin-left:1.25em}ul li ul,ul li ol{margin-left:1.25em;margin-bottom:0;font-size:1em}
+ ul.square li ul,ul.circle li ul,ul.disc li ul{list-style:inherit}ul.square{list-style-type:square}ul.circle{list-style-type:circle}ul.disc{list-style-type:disc}
+ ul.no-bullet{list-style:none}ol li ul,ol li ol{margin-left:1.25em;margin-bottom:0}dl dt{margin-bottom:.3em;font-weight:bold}dl dd{margin-bottom:.75em}
+ abbr,acronym{text-transform:uppercase;font-size:90%;color:#222;border-bottom:1px dotted #ddd;cursor:help}abbr{text-transform:none}blockquote{margin:0 0 1.25em;padding:.5625em 1.25em 0 1.1875em;border-left:1px solid #ddd}
+ blockquote cite{display:block;font-size:.8125em;color:#555}blockquote cite:before{content:"\2014 \0020"}blockquote cite a,blockquote cite a:visited{color:#555}
+ blockquote,blockquote p{line-height:1.6;color:#6f6f6f}.vcard{display:inline-block;margin:0 0 1.25em 0;border:1px solid #ddd;padding:.625em .75em}.vcard li{margin:0;display:block}
+ .vcard .fn{font-weight:bold;font-size:.9375em}.vevent .summary{font-weight:bold}.vevent abbr{cursor:default;text-decoration:none;font-weight:bold;border:0;padding:0 .0625em}
+ @media only screen and (min-width:768px){h1,h2,h3,h4,h5,h6{line-height:1.4}h1{font-size:2.75em}h2{font-size:2.3125em}h3{font-size:1.6875em}h4{font-size:1.4375em}
+ }.print-only{display:none!important}@media print{*{background:transparent!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}
+ a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}
+ .ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}
+ pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}
+ @page{margin:.5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}.hide-on-print{display:none!important}.print-only{display:block!important}.hide-for-print{display:none!important}
+ .show-for-print{display:inherit!important}}button,.button{border-style:solid;border-width:1px;cursor:pointer;font-family:inherit;font-weight:bold;line-height:1;margin:0 0 1.25em;position:relative;text-decoration:none;text-align:center;display:inline-block;padding-top:.75em;padding-right:1.5em;padding-bottom:.8125em;padding-left:1.5em;font-size:1em;background-color:#2ba6cb;border-color:#2284a1;color:white}
+ button:hover,button:focus,.button:hover,.button:focus{background-color:#2284a1}button:hover,button:focus,.button:hover,.button:focus{color:white}button.secondary,.button.secondary{background-color:#e9e9e9;border-color:#d0d0d0;color:#333}
+ button.secondary:hover,button.secondary:focus,.button.secondary:hover,.button.secondary:focus{background-color:#d0d0d0}button.secondary:hover,button.secondary:focus,.button.secondary:hover,.button.secondary:focus{color:#333}
+ button.success,.button.success{background-color:#5da423;border-color:#457a1a;color:white}button.success:hover,button.success:focus,.button.success:hover,.button.success:focus{background-color:#457a1a}
+ button.success:hover,button.success:focus,.button.success:hover,.button.success:focus{color:white}button.alert,.button.alert{background-color:#c60f13;border-color:#970b0e;color:white}
+ button.alert:hover,button.alert:focus,.button.alert:hover,.button.alert:focus{background-color:#970b0e}button.alert:hover,button.alert:focus,.button.alert:hover,.button.alert:focus{color:white}
+ button.large,.button.large{padding-top:1em;padding-right:2em;padding-bottom:1.0625em;padding-left:2em;font-size:1.25em}button.small,.button.small{padding-top:.5625em;padding-right:1.125em;padding-bottom:.625em;padding-left:1.125em;font-size:.8125em}
+ button.tiny,.button.tiny{padding-top:.4375em;padding-right:.875em;padding-bottom:.5em;padding-left:.875em;font-size:.6875em}button.expand,.button.expand{padding-right:0;padding-left:0;width:100%}
+ button.left-align,.button.left-align{text-align:left;text-indent:.75em}button.right-align,.button.right-align{text-align:right;padding-right:.75em}button.disabled,button[disabled],.button.disabled,.button[disabled]{background-color:#2ba6cb;border-color:#2284a1;color:white;cursor:default;opacity:.6;-webkit-box-shadow:none;box-shadow:none}
+ button.disabled:hover,button.disabled:focus,button[disabled]:hover,button[disabled]:focus,.button.disabled:hover,.button.disabled:focus,.button[disabled]:hover,.button[disabled]:focus{background-color:#2284a1}
+ button.disabled:hover,button.disabled:focus,button[disabled]:hover,button[disabled]:focus,.button.disabled:hover,.button.disabled:focus,.button[disabled]:hover,.button[disabled]:focus{color:white}
+ button.disabled:hover,button.disabled:focus,button[disabled]:hover,button[disabled]:focus,.button.disabled:hover,.button.disabled:focus,.button[disabled]:hover,.button[disabled]:focus{background-color:#2ba6cb}
+ button.disabled.secondary,button[disabled].secondary,.button.disabled.secondary,.button[disabled].secondary{background-color:#e9e9e9;border-color:#d0d0d0;color:#333;cursor:default;opacity:.6;-webkit-box-shadow:none;box-shadow:none}
+ button.disabled.secondary:hover,button.disabled.secondary:focus,button[disabled].secondary:hover,button[disabled].secondary:focus,.button.disabled.secondary:hover,.button.disabled.secondary:focus,.button[disabled].secondary:hover,.button[disabled].secondary:focus{background-color:#d0d0d0}
+ button.disabled.secondary:hover,button.disabled.secondary:focus,button[disabled].secondary:hover,button[disabled].secondary:focus,.button.disabled.secondary:hover,.button.disabled.secondary:focus,.button[disabled].secondary:hover,.button[disabled].secondary:focus{color:#333}
+ button.disabled.secondary:hover,button.disabled.secondary:focus,button[disabled].secondary:hover,button[disabled].secondary:focus,.button.disabled.secondary:hover,.button.disabled.secondary:focus,.button[disabled].secondary:hover,.button[disabled].secondary:focus{background-color:#e9e9e9}
+ button.disabled.success,button[disabled].success,.button.disabled.success,.button[disabled].success{background-color:#5da423;border-color:#457a1a;color:white;cursor:default;opacity:.6;-webkit-box-shadow:none;box-shadow:none}
+ button.disabled.success:hover,button.disabled.success:focus,button[disabled].success:hover,button[disabled].success:focus,.button.disabled.success:hover,.button.disabled.success:focus,.button[disabled].success:hover,.button[disabled].success:focus{background-color:#457a1a}
+ button.disabled.success:hover,button.disabled.success:focus,button[disabled].success:hover,button[disabled].success:focus,.button.disabled.success:hover,.button.disabled.success:focus,.button[disabled].success:hover,.button[disabled].success:focus{color:white}
+ button.disabled.success:hover,button.disabled.success:focus,button[disabled].success:hover,button[disabled].success:focus,.button.disabled.success:hover,.button.disabled.success:focus,.button[disabled].success:hover,.button[disabled].success:focus{background-color:#5da423}
+ button.disabled.alert,button[disabled].alert,.button.disabled.alert,.button[disabled].alert{background-color:#c60f13;border-color:#970b0e;color:white;cursor:default;opacity:.6;-webkit-box-shadow:none;box-shadow:none}
+ button.disabled.alert:hover,button.disabled.alert:focus,button[disabled].alert:hover,button[disabled].alert:focus,.button.disabled.alert:hover,.button.disabled.alert:focus,.button[disabled].alert:hover,.button[disabled].alert:focus{background-color:#970b0e}
+ button.disabled.alert:hover,button.disabled.alert:focus,button[disabled].alert:hover,button[disabled].alert:focus,.button.disabled.alert:hover,.button.disabled.alert:focus,.button[disabled].alert:hover,.button[disabled].alert:focus{color:white}
+ button.disabled.alert:hover,button.disabled.alert:focus,button[disabled].alert:hover,button[disabled].alert:focus,.button.disabled.alert:hover,.button.disabled.alert:focus,.button[disabled].alert:hover,.button[disabled].alert:focus{background-color:#c60f13}
+ button,.button{padding-top:.8125em;padding-bottom:.75em}button.tiny,.button.tiny{padding-top:.5em;padding-bottom:.4375em}button.small,.button.small{padding-top:.625em;padding-bottom:.5625em}
+ button.large,.button.large{padding-top:1.03125em;padding-bottom:1.03125em}@media only screen{button,.button{-webkit-box-shadow:0 1px 0 rgba(255,255,255,0.5) inset;box-shadow:0 1px 0 rgba(255,255,255,0.5) inset;-webkit-transition:background-color 300ms ease-out;-moz-transition:background-color 300ms ease-out;transition:background-color 300ms ease-out}
+ button:active,.button:active{-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.2) inset;box-shadow:0 1px 0 rgba(0,0,0,0.2) inset}button.radius,.button.radius{-webkit-border-radius:3px;border-radius:3px}
+ button.round,.button.round{-webkit-border-radius:1000px;border-radius:1000px}}@media only screen and (min-width:768px){button,.button{display:inline-block}
+ }form{margin:0 0 1em}form .row .row{margin:0 -0.5em}form .row .row .column,form .row .row .columns{padding:0 .5em}form .row .row.collapse{margin:0}form .row .row.collapse .column,form .row .row.collapse .columns{padding:0}
+ form .row input.column,form .row input.columns,form .row textarea.column,form .row textarea.columns{padding-left:.5em}label{font-size:.875em;color:#4d4d4d;cursor:pointer;display:block;font-weight:500;margin-bottom:.1875em}
+ label.right{float:none;text-align:right}label.inline{margin:0 0 1em 0;padding:.625em 0}.prefix,.postfix{display:block;position:relative;z-index:2;text-align:center;width:100%;padding-top:0;padding-bottom:0;border-style:solid;border-width:1px;overflow:hidden;font-size:.875em;height:2.3125em;line-height:2.3125em}
+ .postfix.button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;text-align:center;line-height:2.125em}.prefix.button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;text-align:center;line-height:2.125em}
+ .prefix.button.radius{-webkit-border-radius:0;border-radius:0;-moz-border-radius-bottomleft:3px;-moz-border-radius-topleft:3px;-webkit-border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-left-radius:3px}
+ .postfix.button.radius{-webkit-border-radius:0;border-radius:0;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px}
+ .prefix.button.round{-webkit-border-radius:0;border-radius:0;-moz-border-radius-bottomleft:1000px;-moz-border-radius-topleft:1000px;-webkit-border-bottom-left-radius:1000px;-webkit-border-top-left-radius:1000px;border-bottom-left-radius:1000px;border-top-left-radius:1000px}
+ .postfix.button.round{-webkit-border-radius:0;border-radius:0;-moz-border-radius-topright:1000px;-moz-border-radius-bottomright:1000px;-webkit-border-top-right-radius:1000px;-webkit-border-bottom-right-radius:1000px;border-top-right-radius:1000px;border-bottom-right-radius:1000px}
+ span.prefix{background:#f2f2f2;border-color:#d9d9d9;border-right:0;color:#333}span.prefix.radius{-webkit-border-radius:0;border-radius:0;-moz-border-radius-bottomleft:3px;-moz-border-radius-topleft:3px;-webkit-border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-left-radius:3px}
+ span.postfix{background:#f2f2f2;border-color:#ccc;border-left:none;color:#333}span.postfix.radius{-webkit-border-radius:0;border-radius:0;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px}
+ .input-group.radius>*:first-child,.input-group.radius>*:first-child *{-moz-border-radius-bottomleft:3px;-moz-border-radius-topleft:3px;-webkit-border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-left-radius:3px}
+ .input-group.radius>*:last-child,.input-group.radius>*:last-child *{-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px}
+ .input-group.round>*:first-child,.input-group.round>*:first-child *{-moz-border-radius-bottomleft:1000px;-moz-border-radius-topleft:1000px;-webkit-border-bottom-left-radius:1000px;-webkit-border-top-left-radius:1000px;border-bottom-left-radius:1000px;border-top-left-radius:1000px}
+ .input-group.round>*:last-child,.input-group.round>*:last-child *{-moz-border-radius-topright:1000px;-moz-border-radius-bottomright:1000px;-webkit-border-top-right-radius:1000px;-webkit-border-bottom-right-radius:1000px;border-top-right-radius:1000px;border-bottom-right-radius:1000px}
+ input[type="text"],input[type="password"],input[type="date"],input[type="datetime"],input[type="datetime-local"],input[type="month"],input[type="week"],input[type="email"],input[type="number"],input[type="search"],input[type="tel"],input[type="time"],input[type="url"],textarea{background-color:white;font-family:inherit;border:1px solid #ccc;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);color:rgba(0,0,0,0.75);display:block;font-size:.875em;margin:0 0 1em 0;padding:.5em;height:2.3125em;width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:-webkit-box-shadow .45s,border-color .45s ease-in-out;-moz-transition:-moz-box-shadow .45s,border-color .45s ease-in-out;transition:box-shadow .45s,border-color .45s ease-in-out}
+ input[type="text"]:focus,input[type="password"]:focus,input[type="date"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="month"]:focus,input[type="week"]:focus,input[type="email"]:focus,input[type="number"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="time"]:focus,input[type="url"]:focus,textarea:focus{-webkit-box-shadow:0 0 5px #999;-moz-box-shadow:0 0 5px #999;box-shadow:0 0 5px #999;border-color:#999}
+ input[type="text"]:focus,input[type="password"]:focus,input[type="date"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="month"]:focus,input[type="week"]:focus,input[type="email"]:focus,input[type="number"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="time"]:focus,input[type="url"]:focus,textarea:focus{background:#fafafa;border-color:#999;outline:0}
+ input[type="text"][disabled],input[type="password"][disabled],input[type="date"][disabled],input[type="datetime"][disabled],input[type="datetime-local"][disabled],input[type="month"][disabled],input[type="week"][disabled],input[type="email"][disabled],input[type="number"][disabled],input[type="search"][disabled],input[type="tel"][disabled],input[type="time"][disabled],input[type="url"][disabled],textarea[disabled]{background-color:#ddd}
+ input[type="file"],input[type="checkbox"],input[type="radio"],select{margin:0 0 1em 0}
+ input[type="file"]{width:100%}fieldset{border:solid 1px #ddd;padding:1.25em;margin:1.125em 0}fieldset legend{font-weight:bold;background:white;padding:0 .1875em;margin:0;margin-left:-0.1875em}
+ .error input,input.error,.error textarea,textarea.error{border-color:#c60f13;background-color:rgba(198,15,19,0.1)}.error input:focus,input.error:focus,.error textarea:focus,textarea.error:focus{background:#fafafa;border-color:#999}
+ .error label,label.error{color:#c60f13}.error small,small.error{display:block;padding:.375em .25em;margin-top:-1.3125em;margin-bottom:1em;font-size:.75em;font-weight:bold;background:#c60f13;color:white}
+ form.custom .hidden-field{margin-left:-99999px;position:absolute;visibility:hidden}form.custom .custom{display:inline-block;width:16px;height:16px;position:relative;vertical-align:middle;border:solid 1px #ccc;background:white}
+ form.custom .custom.checkbox{-webkit-border-radius:0;border-radius:0;padding:-1px}form.custom .custom.radio{-webkit-border-radius:1000px;border-radius:1000px;padding:3px}
+ form.custom .custom.checkbox:before{content:"";display:block;font-size:16px;color:white}form.custom .custom.radio.checked:before{content:"";display:block;width:8px;height:8px;-webkit-border-radius:1000px;border-radius:1000px;background:#222;position:relative}
+ form.custom .custom.checkbox.checked:before{content:"\00d7";color:#222;position:absolute;top:-50%;left:50%;margin-top:4px;margin-left:-5px}
+ form.custom .custom.dropdown{display:block;position:relative;top:0;height:2.3125em;margin-bottom:1.25em;margin-top:0;padding:0;width:100%;background:white;background:-moz-linear-gradient(top,white 0,#f3f3f3 100%);background:-webkit-linear-gradient(top,white 0,#f3f3f3 100%);-webkit-box-shadow:none;background:linear-gradient(to bottom,white 0,#f3f3f3 100%);box-shadow:none;font-size:.875em;vertical-align:top}
+ form.custom .custom.dropdown ul{overflow-y:auto;max-height:200px}form.custom .custom.dropdown .current{cursor:default;white-space:nowrap;line-height:2.25em;color:rgba(0,0,0,0.75);text-decoration:none;overflow:hidden;display:block;margin-left:.5em;margin-right:2.3125em}
+ form.custom .custom.dropdown .selector{cursor:default;position:absolute;width:2.5em;height:2.3125em;display:block;right:0;top:0}form.custom .custom.dropdown .selector:after{content:"";display:block;content:"";display:block;width:0;height:0;border:inset 5px;border-color:#aaa transparent transparent transparent;border-top-style:solid;position:absolute;left:.9375em;top:50%;margin-top:-3px}
+ form.custom .custom.dropdown:hover a.selector:after,form.custom .custom.dropdown.open a.selector:after{content:"";display:block;width:0;height:0;border:inset 5px;border-color:#222 transparent transparent transparent;border-top-style:solid}
+ form.custom .custom.dropdown .disabled{color:#888}form.custom .custom.dropdown .disabled:hover{background:transparent;color:#888}form.custom .custom.dropdown .disabled:hover:after{display:none}
+ form.custom .custom.dropdown.open ul{display:block;z-index:10;min-width:100%;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}
+ form.custom .custom.dropdown.small{max-width:134px}form.custom .custom.dropdown.medium{max-width:254px}form.custom .custom.dropdown.large{max-width:434px}
+ form.custom .custom.dropdown.expand{width:100%!important}form.custom .custom.dropdown.open.small ul{min-width:134px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}
+ form.custom .custom.dropdown.open.medium ul{min-width:254px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}form.custom .custom.dropdown.open.large ul{min-width:434px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}
+ form.custom .custom.dropdown ul{position:absolute;width:auto;display:none;margin:0;left:-1px;top:auto;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,0.1);box-shadow:0 2px 2px 0 rgba(0,0,0,0.1);margin:0;padding:0;background:white;border:solid 1px #ccc;font-size:16px}
+ form.custom .custom.dropdown ul li{color:#555;font-size:.875em;cursor:default;padding-top:.25em;padding-bottom:.25em;padding-left:.375em;padding-right:2.375em;min-height:1.5em;line-height:1.5em;margin:0;white-space:nowrap;list-style:none}
+ form.custom .custom.dropdown ul li.selected{background:#eee;color:black}form.custom .custom.dropdown ul li:hover{background-color:#e4e4e4;color:black}
+ form.custom .custom.dropdown ul li.selected:hover{background:#eee;cursor:default;color:black}form.custom .custom.dropdown ul.show{display:block}form.custom .custom.disabled{background:#ddd}
+ .button-group{list-style:none;margin:0;*zoom:1}.button-group:before,.button-group:after{content:" ";display:table}.button-group:after{clear:both}
+ .button-group>*{margin:0 0 0 -1px;float:left}.button-group>*:first-child{margin-left:0}.button-group.radius>*:first-child,.button-group.radius>*:first-child>a,.button-group.radius>*:first-child>button,.button-group.radius>*:first-child>.button{-moz-border-radius-bottomleft:3px;-moz-border-radius-topleft:3px;-webkit-border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-left-radius:3px}
+ .button-group.radius>*:last-child,.button-group.radius>*:last-child>a,.button-group.radius>*:last-child>button,.button-group.radius>*:last-child>.button{-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px}
+ .button-group.round>*:first-child,.button-group.round>*:first-child>a,.button-group.round>*:first-child>button,.button-group.round>*:first-child>.button{-moz-border-radius-bottomleft:1000px;-moz-border-radius-topleft:1000px;-webkit-border-bottom-left-radius:1000px;-webkit-border-top-left-radius:1000px;border-bottom-left-radius:1000px;border-top-left-radius:1000px}
+ .button-group.round>*:last-child,.button-group.round>*:last-child>a,.button-group.round>*:last-child>button,.button-group.round>*:last-child>.button{-moz-border-radius-topright:1000px;-moz-border-radius-bottomright:1000px;-webkit-border-top-right-radius:1000px;-webkit-border-bottom-right-radius:1000px;border-top-right-radius:1000px;border-bottom-right-radius:1000px}
+ .button-group.even-2 li{width:50%}.button-group.even-2 li button,.button-group.even-2 li .button{width:100%}.button-group.even-3 li{width:33.33333%}.button-group.even-3 li button,.button-group.even-3 li .button{width:100%}
+ .button-group.even-4 li{width:25%}.button-group.even-4 li button,.button-group.even-4 li .button{width:100%}.button-group.even-5 li{width:20%}.button-group.even-5 li button,.button-group.even-5 li .button{width:100%}
+ .button-group.even-6 li{width:16.66667%}.button-group.even-6 li button,.button-group.even-6 li .button{width:100%}.button-group.even-7 li{width:14.28571%}
+ .button-group.even-7 li button,.button-group.even-7 li .button{width:100%}.button-group.even-8 li{width:12.5%}.button-group.even-8 li button,.button-group.even-8 li .button{width:100%}
+ .button-bar{*zoom:1}.button-bar:before,.button-bar:after{content:" ";display:table}.button-bar:after{clear:both}.button-bar .button-group{float:left;margin-right:.625em}
+ .button-bar .button-group div{overflow:hidden}.dropdown.button{position:relative;padding-right:3.1875em}.dropdown.button:before{position:absolute;content:"";width:0;height:0;display:block;border-style:solid;border-color:white transparent transparent transparent;top:50%}
+ .dropdown.button:before{border-width:.5625em;right:1.5em;margin-top:-0.25em}.dropdown.button:before{border-color:white transparent transparent transparent}
+ .dropdown.button.tiny{padding-right:2.1875em}.dropdown.button.tiny:before{border-width:.4375em;right:.875em;margin-top:-0.15625em}.dropdown.button.tiny:before{border-color:white transparent transparent transparent}
+ .dropdown.button.small{padding-right:2.8125em}.dropdown.button.small:before{border-width:.5625em;right:1.125em;margin-top:-0.21875em}.dropdown.button.small:before{border-color:white transparent transparent transparent}
+ .dropdown.button.large{padding-right:4em}.dropdown.button.large:before{border-width:.625em;right:1.75em;margin-top:-0.3125em}.dropdown.button.large:before{border-color:white transparent transparent transparent}
+ .dropdown.button.secondary:before{border-color:#333 transparent transparent transparent}.split.button{position:relative;padding-right:4.8em}.split.button span{display:block;height:100%;position:absolute;right:0;top:0;border-left:solid 1px}
+ .split.button span:before{position:absolute;content:"";width:0;height:0;display:block;border-style:inset;left:50%}.split.button span:active{background-color:rgba(0,0,0,0.1)}
+ .split.button span{border-left-color:#1e728c}.split.button span{width:3em}.split.button span:before{border-top-style:solid;border-width:.5625em;top:1.125em;margin-left:-0.5625em}
+ .split.button span:before{border-color:white transparent transparent transparent}.split.button.secondary span{border-left-color:#c3c3c3}.split.button.secondary span:before{border-color:white transparent transparent transparent}
+ .split.button.alert span{border-left-color:#7f0a0c}.split.button.success span{border-left-color:#396516}.split.button.tiny{padding-right:3.9375em}.split.button.tiny span{width:2.84375em}
+ .split.button.tiny span:before{border-top-style:solid;border-width:.4375em;top:.875em;margin-left:-0.3125em}.split.button.small{padding-right:3.9375em}
+ .split.button.small span{width:2.8125em}.split.button.small span:before{border-top-style:solid;border-width:.5625em;top:.84375em;margin-left:-0.5625em}
+ .split.button.large{padding-right:6em}.split.button.large span{width:3.75em}.split.button.large span:before{border-top-style:solid;border-width:.625em;top:1.3125em;margin-left:-0.5625em}
+ .split.button.expand{padding-left:2em}.split.button.secondary span:before{border-color:#333 transparent transparent transparent}.split.button.radius span{-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px}
+ .split.button.round span{-moz-border-radius-topright:1000px;-moz-border-radius-bottomright:1000px;-webkit-border-top-right-radius:1000px;-webkit-border-bottom-right-radius:1000px;border-top-right-radius:1000px;border-bottom-right-radius:1000px}
+ .flex-video{position:relative;padding-top:1.5625em;padding-bottom:67.5%;height:0;margin-bottom:1em;overflow:hidden}.flex-video.widescreen{padding-bottom:57.25%}
+ .flex-video.vimeo{padding-top:0}.flex-video iframe,.flex-video object,.flex-video embed,.flex-video video{position:absolute;top:0;left:0;width:100%;height:100%}
+ .section-container,.section-container.auto{width:100%;display:block;margin-bottom:1.25em;border:1px solid #ccc;border-top:0}.section-container>section,.section-container>.section,.section-container.auto>section,.section-container.auto>.section{position:relative}
+ .section-container>section>.title,.section-container>.section>.title,.section-container.auto>section>.title,.section-container.auto>.section>.title{background-color:#efefef;cursor:pointer;margin-bottom:0}
+ .section-container>section>.title a,.section-container>.section>.title a,.section-container.auto>section>.title a,.section-container.auto>.section>.title a{padding:.9375em;display:inline-block;color:#333;font-size:.875em;white-space:nowrap}
+ .section-container>section>.title:hover,.section-container>.section>.title:hover,.section-container.auto>section>.title:hover,.section-container.auto>.section>.title:hover{background-color:#e2e2e2}
+ .section-container>section .content,.section-container>.section .content,.section-container.auto>section .content,.section-container.auto>.section .content{display:none;padding:.9375em;background-color:white}
+ .section-container>section .content>*:last-child,.section-container>.section .content>*:last-child,.section-container.auto>section .content>*:last-child,.section-container.auto>.section .content>*:last-child{margin-bottom:0}
+ .section-container>section .content>*:first-child,.section-container>.section .content>*:first-child,.section-container.auto>section .content>*:first-child,.section-container.auto>.section .content>*:first-child{padding-top:0}
+ .section-container>section .content>*:last-child,.section-container>.section .content>*:last-child,.section-container.auto>section .content>*:last-child,.section-container.auto>.section .content>*:last-child{padding-bottom:0}
+ .section-container>section.active>.content,.section-container>.section.active>.content,.section-container.auto>section.active>.content,.section-container.auto>.section.active>.content{display:block}
+ .section-container>section.active>.title,.section-container>.section.active>.title,.section-container.auto>section.active>.title,.section-container.auto>.section.active>.title{background:#d5d5d5}
+ .section-container>section.active>.title a,.section-container>.section.active>.title a,.section-container.auto>section.active>.title a,.section-container.auto>.section.active>.title a{color:#333}
+ .section-container>section>.title,.section-container>.section>.title,.section-container.auto>section>.title,.section-container.auto>.section>.title{top:0;width:100%;margin:0;border-top:solid 1px #ccc}
+ .section-container>section>.title a,.section-container>.section>.title a,.section-container.auto>section>.title a,.section-container.auto>.section>.title a{width:100%}
+ .section-container.tabs{border:0;position:relative}.section-container.tabs>section,.section-container.tabs>.section{border:0;position:static}.section-container.tabs>section>.title,.section-container.tabs>.section>.title{background-color:#efefef;cursor:pointer;margin-bottom:0}
+ .section-container.tabs>section>.title a,.section-container.tabs>.section>.title a{padding:.9375em;display:inline-block;color:#333;font-size:.875em;white-space:nowrap}
+ .section-container.tabs>section>.title:hover,.section-container.tabs>.section>.title:hover{background-color:#e2e2e2}.section-container.tabs>section .content,.section-container.tabs>.section .content{display:none;padding:.9375em;background-color:white}
+ .section-container.tabs>section .content>*:last-child,.section-container.tabs>.section .content>*:last-child{margin-bottom:0}.section-container.tabs>section .content>*:first-child,.section-container.tabs>.section .content>*:first-child{padding-top:0}
+ .section-container.tabs>section .content>*:last-child,.section-container.tabs>.section .content>*:last-child{padding-bottom:0}.section-container.tabs>section.active>.content,.section-container.tabs>.section.active>.content{display:block}
+ .section-container.tabs>section.active>.title,.section-container.tabs>.section.active>.title{background:white}.section-container.tabs>section.active>.title a,.section-container.tabs>.section.active>.title a{color:#333}
+ .section-container.tabs>section>.title,.section-container.tabs>.section>.title{width:auto;border:solid 1px #ccc;border-right:0;border-bottom:0;position:absolute;top:0;z-index:1}
+ .section-container.tabs>section>.title a,.section-container.tabs>.section>.title a{width:100%}.section-container.tabs>section:last-child .title,.section-container.tabs>.section:last-child .title{border-right:solid 1px #ccc}
+ .section-container.tabs>section .content,.section-container.tabs>.section .content{border:solid 1px #ccc;position:absolute;z-index:10;display:none;top:-1px}
+ .section-container.tabs>section.active>.title,.section-container.tabs>.section.active>.title{z-index:11;border-bottom:0;background-color:white}.section-container.tabs>section.active>.content,.section-container.tabs>.section.active>.content{position:relative}
+ @media only screen and (min-width:768px){.section-container.auto{border:0;position:relative}.section-container.auto>section,.section-container.auto>.section{border:0;position:static}
+ .section-container.auto>section>.title,.section-container.auto>.section>.title{background-color:#efefef;cursor:pointer;margin-bottom:0}.section-container.auto>section>.title a,.section-container.auto>.section>.title a{padding:.9375em;display:inline-block;color:#333;font-size:.875em;white-space:nowrap}
+ .section-container.auto>section>.title:hover,.section-container.auto>.section>.title:hover{background-color:#e2e2e2}.section-container.auto>section .content,.section-container.auto>.section .content{display:none;padding:.9375em;background-color:white}
+ .section-container.auto>section .content>*:last-child,.section-container.auto>.section .content>*:last-child{margin-bottom:0}.section-container.auto>section .content>*:first-child,.section-container.auto>.section .content>*:first-child{padding-top:0}
+ .section-container.auto>section .content>*:last-child,.section-container.auto>.section .content>*:last-child{padding-bottom:0}.section-container.auto>section.active>.content,.section-container.auto>.section.active>.content{display:block}
+ .section-container.auto>section.active>.title,.section-container.auto>.section.active>.title{background:white}.section-container.auto>section.active>.title a,.section-container.auto>.section.active>.title a{color:#333}
+ .section-container.auto>section>.title,.section-container.auto>.section>.title{width:auto;border:solid 1px #ccc;border-right:0;border-bottom:0;position:absolute;top:0;z-index:1}
+ .section-container.auto>section>.title a,.section-container.auto>.section>.title a{width:100%}.section-container.auto>section:last-child .title,.section-container.auto>.section:last-child .title{border-right:solid 1px #ccc}
+ .section-container.auto>section .content,.section-container.auto>.section .content{border:solid 1px #ccc;position:absolute;z-index:10;display:none;top:-1px}
+ .section-container.auto>section.active>.title,.section-container.auto>.section.active>.title{z-index:11;border-bottom:0;background-color:white}.section-container.auto>section.active>.content,.section-container.auto>.section.active>.content{position:relative}
+ .section-container.accordion .section{padding-top:0!important}.section-container.vertical-tabs{border:1px solid #ccc;position:relative}.section-container.vertical-tabs section,.section-container.vertical-tabs .section{padding-top:0!important;border:0;position:static}
+ .section-container.vertical-tabs section>.title,.section-container.vertical-tabs .section>.title{background-color:#efefef;cursor:pointer;margin-bottom:0}
+ .section-container.vertical-tabs section>.title a,.section-container.vertical-tabs .section>.title a{padding:.9375em;display:inline-block;color:#333;font-size:.875em;white-space:nowrap}
+ .section-container.vertical-tabs section>.title:hover,.section-container.vertical-tabs .section>.title:hover{background-color:#e2e2e2}.section-container.vertical-tabs section .content,.section-container.vertical-tabs .section .content{display:none;padding:.9375em;background-color:white}
+ .section-container.vertical-tabs section .content>*:last-child,.section-container.vertical-tabs .section .content>*:last-child{margin-bottom:0}.section-container.vertical-tabs section .content>*:first-child,.section-container.vertical-tabs .section .content>*:first-child{padding-top:0}
+ .section-container.vertical-tabs section .content>*:last-child,.section-container.vertical-tabs .section .content>*:last-child{padding-bottom:0}.section-container.vertical-tabs section.active>.content,.section-container.vertical-tabs .section.active>.content{display:block}
+ .section-container.vertical-tabs section.active>.title,.section-container.vertical-tabs .section.active>.title{background:#d5d5d5}.section-container.vertical-tabs section.active>.title a,.section-container.vertical-tabs .section.active>.title a{color:#333}
+ .section-container.vertical-tabs section>.title,.section-container.vertical-tabs .section>.title{position:absolute;border-top:solid 1px #ccc;width:12.5em}
+ .section-container.vertical-tabs section:first-child .title,.section-container.vertical-tabs .section:first-child .title{border-top:0}.section-container.vertical-tabs section .content,.section-container.vertical-tabs .section .content{display:block;position:relative;left:12.5em;border-left:solid 1px #ccc;z-index:10}
+ .section-container.vertical-tabs section.active>.title,.section-container.vertical-tabs .section.active>.title{background-color:#d5d5d5;width:12.5625em;border-right:solid 0 transparent;z-index:11}
+ .section-container.vertical-tabs section.active:last-child .title,.section-container.vertical-tabs .section.active:last-child .title{border-bottom:0}.section-container.vertical-nav{border:0;position:relative}
+ .section-container.vertical-nav>section,.section-container.vertical-nav>.section{padding-top:0!important;position:relative}.section-container.vertical-nav>section>.title,.section-container.vertical-nav>.section>.title{background-color:#efefef;cursor:pointer;margin-bottom:0}
+ .section-container.vertical-nav>section>.title a,.section-container.vertical-nav>.section>.title a{padding:.9375em;display:inline-block;color:#333;font-size:.875em;white-space:nowrap}
+ .section-container.vertical-nav>section>.title:hover,.section-container.vertical-nav>.section>.title:hover{background-color:#e2e2e2}.section-container.vertical-nav>section .content,.section-container.vertical-nav>.section .content{display:none;padding:.9375em;background-color:white}
+ .section-container.vertical-nav>section .content>*:last-child,.section-container.vertical-nav>.section .content>*:last-child{margin-bottom:0}.section-container.vertical-nav>section .content>*:first-child,.section-container.vertical-nav>.section .content>*:first-child{padding-top:0}
+ .section-container.vertical-nav>section .content>*:last-child,.section-container.vertical-nav>.section .content>*:last-child{padding-bottom:0}.section-container.vertical-nav>section.active>.content,.section-container.vertical-nav>.section.active>.content{display:block}
+ .section-container.vertical-nav>section.active>.title,.section-container.vertical-nav>.section.active>.title{background:#d5d5d5}.section-container.vertical-nav>section.active>.title a,.section-container.vertical-nav>.section.active>.title a{color:#333}
+ .section-container.vertical-nav>section>.title,.section-container.vertical-nav>.section>.title{border-top:0;border:solid 1px #ccc}.section-container.vertical-nav>section>.title a,.section-container.vertical-nav>.section>.title a{display:block;width:100%}
+ .section-container.vertical-nav>section .content,.section-container.vertical-nav>.section .content{display:none}.section-container.vertical-nav>section:first-child .title,.section-container.vertical-nav>.section:first-child .title{border-bottom:0}
+ .section-container.vertical-nav>section.active>.content,.section-container.vertical-nav>.section.active>.content{display:block;position:absolute;left:100%;top:0;z-index:999;min-width:12.5em;border:solid 1px #ccc}
+ .section-container.horizontal-nav{position:relative;background:#efefef;border:1px solid #ccc}.section-container.horizontal-nav>section,.section-container.horizontal-nav>.section{padding-top:0;border:0;position:static}
+ .section-container.horizontal-nav>section>.title,.section-container.horizontal-nav>.section>.title{background-color:#efefef;cursor:pointer;margin-bottom:0}
+ .section-container.horizontal-nav>section>.title a,.section-container.horizontal-nav>.section>.title a{padding:.9375em;display:inline-block;color:#333;font-size:.875em;white-space:nowrap}
+ .section-container.horizontal-nav>section>.title:hover,.section-container.horizontal-nav>.section>.title:hover{background-color:#e2e2e2}.section-container.horizontal-nav>section .content,.section-container.horizontal-nav>.section .content{display:none;padding:.9375em;background-color:white}
+ .section-container.horizontal-nav>section .content>*:last-child,.section-container.horizontal-nav>.section .content>*:last-child{margin-bottom:0}.section-container.horizontal-nav>section .content>*:first-child,.section-container.horizontal-nav>.section .content>*:first-child{padding-top:0}
+ .section-container.horizontal-nav>section .content>*:last-child,.section-container.horizontal-nav>.section .content>*:last-child{padding-bottom:0}.section-container.horizontal-nav>section.active>.content,.section-container.horizontal-nav>.section.active>.content{display:block}
+ .section-container.horizontal-nav>section.active>.title,.section-container.horizontal-nav>.section.active>.title{background:#d5d5d5}.section-container.horizontal-nav>section.active>.title a,.section-container.horizontal-nav>.section.active>.title a{color:#333}
+ .section-container.horizontal-nav>section>.title,.section-container.horizontal-nav>.section>.title{width:auto;border:solid 1px #ccc;border-left:0;top:-1px;position:absolute;z-index:1}
+ .section-container.horizontal-nav>section>.title a,.section-container.horizontal-nav>.section>.title a{width:100%}.section-container.horizontal-nav>section .content,.section-container.horizontal-nav>.section .content{display:none}
+ .section-container.horizontal-nav>section.active>.content,.section-container.horizontal-nav>.section.active>.content{display:block;position:absolute;z-index:999;left:0;top:-2px;min-width:12.5em;border:solid 1px #ccc}
+ }.no-js .section-container.auto,.no-js .section-container.accordion,.no-js .section-container.tabs,.no-js .section-container.vertical-tabs,.no-js .section-container.vertical-nav,.no-js .section-container.horizontal-nav{width:100%;display:block;margin-bottom:1.25em;border:1px solid #ccc;border-top:0}
+ .no-js .section-container.auto>section,.no-js .section-container.auto>.section,.no-js .section-container.accordion>section,.no-js .section-container.accordion>.section,.no-js .section-container.tabs>section,.no-js .section-container.tabs>.section,.no-js .section-container.vertical-tabs>section,.no-js .section-container.vertical-tabs>.section,.no-js .section-container.vertical-nav>section,.no-js .section-container.vertical-nav>.section,.no-js .section-container.horizontal-nav>section,.no-js .section-container.horizontal-nav>.section{position:relative}
+ .no-js .section-container.auto>section>.title,.no-js .section-container.auto>.section>.title,.no-js .section-container.accordion>section>.title,.no-js .section-container.accordion>.section>.title,.no-js .section-container.tabs>section>.title,.no-js .section-container.tabs>.section>.title,.no-js .section-container.vertical-tabs>section>.title,.no-js .section-container.vertical-tabs>.section>.title,.no-js .section-container.vertical-nav>section>.title,.no-js .section-container.vertical-nav>.section>.title,.no-js .section-container.horizontal-nav>section>.title,.no-js .section-container.horizontal-nav>.section>.title{background-color:#efefef;cursor:pointer;margin-bottom:0}
+ .no-js .section-container.auto>section>.title a,.no-js .section-container.auto>.section>.title a,.no-js .section-container.accordion>section>.title a,.no-js .section-container.accordion>.section>.title a,.no-js .section-container.tabs>section>.title a,.no-js .section-container.tabs>.section>.title a,.no-js .section-container.vertical-tabs>section>.title a,.no-js .section-container.vertical-tabs>.section>.title a,.no-js .section-container.vertical-nav>section>.title a,.no-js .section-container.vertical-nav>.section>.title a,.no-js .section-container.horizontal-nav>section>.title a,.no-js .section-container.horizontal-nav>.section>.title a{padding:.9375em;display:inline-block;color:#333;font-size:.875em;white-space:nowrap}
+ .no-js .section-container.auto>section>.title:hover,.no-js .section-container.auto>.section>.title:hover,.no-js .section-container.accordion>section>.title:hover,.no-js .section-container.accordion>.section>.title:hover,.no-js .section-container.tabs>section>.title:hover,.no-js .section-container.tabs>.section>.title:hover,.no-js .section-container.vertical-tabs>section>.title:hover,.no-js .section-container.vertical-tabs>.section>.title:hover,.no-js .section-container.vertical-nav>section>.title:hover,.no-js .section-container.vertical-nav>.section>.title:hover,.no-js .section-container.horizontal-nav>section>.title:hover,.no-js .section-container.horizontal-nav>.section>.title:hover{background-color:#e2e2e2}
+ .no-js .section-container.auto>section .content,.no-js .section-container.auto>.section .content,.no-js .section-container.accordion>section .content,.no-js .section-container.accordion>.section .content,.no-js .section-container.tabs>section .content,.no-js .section-container.tabs>.section .content,.no-js .section-container.vertical-tabs>section .content,.no-js .section-container.vertical-tabs>.section .content,.no-js .section-container.vertical-nav>section .content,.no-js .section-container.vertical-nav>.section .content,.no-js .section-container.horizontal-nav>section .content,.no-js .section-container.horizontal-nav>.section .content{display:none;padding:.9375em;background-color:white}
+ .no-js .section-container.auto>section .content>*:last-child,.no-js .section-container.auto>.section .content>*:last-child,.no-js .section-container.accordion>section .content>*:last-child,.no-js .section-container.accordion>.section .content>*:last-child,.no-js .section-container.tabs>section .content>*:last-child,.no-js .section-container.tabs>.section .content>*:last-child,.no-js .section-container.vertical-tabs>section .content>*:last-child,.no-js .section-container.vertical-tabs>.section .content>*:last-child,.no-js .section-container.vertical-nav>section .content>*:last-child,.no-js .section-container.vertical-nav>.section .content>*:last-child,.no-js .section-container.horizontal-nav>section .content>*:last-child,.no-js .section-container.horizontal-nav>.section .content>*:last-child{margin-bottom:0}
+ .no-js .section-container.auto>section .content>*:first-child,.no-js .section-container.auto>.section .content>*:first-child,.no-js .section-container.accordion>section .content>*:first-child,.no-js .section-container.accordion>.section .content>*:first-child,.no-js .section-container.tabs>section .content>*:first-child,.no-js .section-container.tabs>.section .content>*:first-child,.no-js .section-container.vertical-tabs>section .content>*:first-child,.no-js .section-container.vertical-tabs>.section .content>*:first-child,.no-js .section-container.vertical-nav>section .content>*:first-child,.no-js .section-container.vertical-nav>.section .content>*:first-child,.no-js .section-container.horizontal-nav>section .content>*:first-child,.no-js .section-container.horizontal-nav>.section .content>*:first-child{padding-top:0}
+ .no-js .section-container.auto>section .content>*:last-child,.no-js .section-container.auto>.section .content>*:last-child,.no-js .section-container.accordion>section .content>*:last-child,.no-js .section-container.accordion>.section .content>*:last-child,.no-js .section-container.tabs>section .content>*:last-child,.no-js .section-container.tabs>.section .content>*:last-child,.no-js .section-container.vertical-tabs>section .content>*:last-child,.no-js .section-container.vertical-tabs>.section .content>*:last-child,.no-js .section-container.vertical-nav>section .content>*:last-child,.no-js .section-container.vertical-nav>.section .content>*:last-child,.no-js .section-container.horizontal-nav>section .content>*:last-child,.no-js .section-container.horizontal-nav>.section .content>*:last-child{padding-bottom:0}
+ .no-js .section-container.auto>section.active>.content,.no-js .section-container.auto>.section.active>.content,.no-js .section-container.accordion>section.active>.content,.no-js .section-container.accordion>.section.active>.content,.no-js .section-container.tabs>section.active>.content,.no-js .section-container.tabs>.section.active>.content,.no-js .section-container.vertical-tabs>section.active>.content,.no-js .section-container.vertical-tabs>.section.active>.content,.no-js .section-container.vertical-nav>section.active>.content,.no-js .section-container.vertical-nav>.section.active>.content,.no-js .section-container.horizontal-nav>section.active>.content,.no-js .section-container.horizontal-nav>.section.active>.content{display:block}
+ .no-js .section-container.auto>section.active>.title,.no-js .section-container.auto>.section.active>.title,.no-js .section-container.accordion>section.active>.title,.no-js .section-container.accordion>.section.active>.title,.no-js .section-container.tabs>section.active>.title,.no-js .section-container.tabs>.section.active>.title,.no-js .section-container.vertical-tabs>section.active>.title,.no-js .section-container.vertical-tabs>.section.active>.title,.no-js .section-container.vertical-nav>section.active>.title,.no-js .section-container.vertical-nav>.section.active>.title,.no-js .section-container.horizontal-nav>section.active>.title,.no-js .section-container.horizontal-nav>.section.active>.title{background:#d5d5d5}
+ .no-js .section-container.auto>section.active>.title a,.no-js .section-container.auto>.section.active>.title a,.no-js .section-container.accordion>section.active>.title a,.no-js .section-container.accordion>.section.active>.title a,.no-js .section-container.tabs>section.active>.title a,.no-js .section-container.tabs>.section.active>.title a,.no-js .section-container.vertical-tabs>section.active>.title a,.no-js .section-container.vertical-tabs>.section.active>.title a,.no-js .section-container.vertical-nav>section.active>.title a,.no-js .section-container.vertical-nav>.section.active>.title a,.no-js .section-container.horizontal-nav>section.active>.title a,.no-js .section-container.horizontal-nav>.section.active>.title a{color:#333}
+ .no-js .section-container.auto>section>.title,.no-js .section-container.auto>.section>.title,.no-js .section-container.accordion>section>.title,.no-js .section-container.accordion>.section>.title,.no-js .section-container.tabs>section>.title,.no-js .section-container.tabs>.section>.title,.no-js .section-container.vertical-tabs>section>.title,.no-js .section-container.vertical-tabs>.section>.title,.no-js .section-container.vertical-nav>section>.title,.no-js .section-container.vertical-nav>.section>.title,.no-js .section-container.horizontal-nav>section>.title,.no-js .section-container.horizontal-nav>.section>.title{top:0;width:100%;margin:0;border-top:solid 1px #ccc}
+ .no-js .section-container.auto>section>.title a,.no-js .section-container.auto>.section>.title a,.no-js .section-container.accordion>section>.title a,.no-js .section-container.accordion>.section>.title a,.no-js .section-container.tabs>section>.title a,.no-js .section-container.tabs>.section>.title a,.no-js .section-container.vertical-tabs>section>.title a,.no-js .section-container.vertical-tabs>.section>.title a,.no-js .section-container.vertical-nav>section>.title a,.no-js .section-container.vertical-nav>.section>.title a,.no-js .section-container.horizontal-nav>section>.title a,.no-js .section-container.horizontal-nav>.section>.title a{width:100%}
+ .no-js .section-container.auto>section .title,.no-js .section-container.auto>.section .title,.no-js .section-container.accordion>section .title,.no-js .section-container.accordion>.section .title,.no-js .section-container.tabs>section .title,.no-js .section-container.tabs>.section .title,.no-js .section-container.vertical-tabs>section .title,.no-js .section-container.vertical-tabs>.section .title,.no-js .section-container.vertical-nav>section .title,.no-js .section-container.vertical-nav>.section .title,.no-js .section-container.horizontal-nav>section .title,.no-js .section-container.horizontal-nav>.section .title{position:static;width:100%;border-left:0;border-right:0}
+ .no-js .section-container.auto>section .content,.no-js .section-container.auto>.section .content,.no-js .section-container.accordion>section .content,.no-js .section-container.accordion>.section .content,.no-js .section-container.tabs>section .content,.no-js .section-container.tabs>.section .content,.no-js .section-container.vertical-tabs>section .content,.no-js .section-container.vertical-tabs>.section .content,.no-js .section-container.vertical-nav>section .content,.no-js .section-container.vertical-nav>.section .content,.no-js .section-container.horizontal-nav>section .content,.no-js .section-container.horizontal-nav>.section .content{position:static;display:block;width:100%;border-left:0;border-right:0;border-bottom:0}
+ .contain-to-grid{width:100%;background:#111}.contain-to-grid .top-bar{margin-bottom:0}.fixed{width:100%;left:0;position:fixed;top:0;z-index:99}.top-bar{overflow:hidden;height:45px;line-height:45px;position:relative;background:#111;margin-bottom:1.875em}
+ .top-bar ul{margin-bottom:0;list-style:none}.top-bar .row{max-width:none}.top-bar form,.top-bar input{margin-bottom:0}.top-bar input{height:2.45em}.top-bar .button{padding-top:.5em;padding-bottom:.5em;margin-bottom:0}
+ .top-bar .title-area{position:relative;margin:0}.top-bar .name{height:45px;margin:0;font-size:16px}.top-bar .name h1{line-height:45px;font-size:1.0625em;margin:0}
+ .top-bar .name h1 a{font-weight:bold;color:white;width:50%;display:block;padding:0 15px}.top-bar .toggle-topbar{position:absolute;right:0;top:0}.top-bar .toggle-topbar a{color:white;text-transform:uppercase;font-size:.8125em;font-weight:bold;position:relative;display:block;padding:0 15px;height:45px;line-height:45px}
+ .top-bar .toggle-topbar.menu-icon{right:15px;top:50%;margin-top:-16px;padding-left:40px}.top-bar .toggle-topbar.menu-icon a{text-indent:-48px;width:34px;height:34px;line-height:33px;padding:0;color:white}
+ .top-bar .toggle-topbar.menu-icon a span{position:absolute;right:0;display:block;width:16px;height:0;-webkit-box-shadow:0 10px 0 1px white,0 16px 0 1px white,0 22px 0 1px white;box-shadow:0 10px 0 1px white,0 16px 0 1px white,0 22px 0 1px white}
+ .top-bar.expanded{height:auto;background:transparent}.top-bar.expanded .title-area{background:#111}.top-bar.expanded .toggle-topbar a{color:#888}.top-bar.expanded .toggle-topbar a span{-webkit-box-shadow:0 10px 0 1px #888,0 16px 0 1px #888,0 22px 0 1px #888;box-shadow:0 10px 0 1px #888,0 16px 0 1px #888,0 22px 0 1px #888}
+ .top-bar-section{left:0;position:relative;width:auto;-webkit-transition:left 300ms ease-out;-moz-transition:left 300ms ease-out;transition:left 300ms ease-out}
+ .top-bar-section ul{width:100%;height:auto;display:block;background:#222;font-size:16px;margin:0}.top-bar-section .divider,.top-bar-section [role="separator"]{border-bottom:solid 1px #2b2b2b;border-top:solid 1px black;clear:both;height:1px;width:100%}
+ .top-bar-section ul li>a{display:block;width:100%;color:white;padding:12px 0 12px 0;padding-left:15px;font-size:.8125em;font-weight:bold;background:#222}
+ .top-bar-section ul li>a.hover{background:#090909;color:white}.top-bar-section ul li>a.button{background:#2ba6cb;font-size:.8125em}.top-bar-section ul li>a.button.hover{background:#2284a1}
+ .top-bar-section ul li>a.button.secondary{background:#e9e9e9}.top-bar-section ul li>a.button.secondary.hover{background:#d0d0d0}.top-bar-section ul li>a.button.success{background:#5da423}
+ .top-bar-section ul li>a.button.success.hover{background:#457a1a}.top-bar-section ul li>a.button.alert{background:#c60f13}.top-bar-section ul li>a.button.alert.hover{background:#970b0e}
+ .top-bar-section ul li.active>a{background:#090909;color:white}.top-bar-section .has-form{padding:15px}.top-bar-section .has-dropdown{position:relative}
+ .top-bar-section .has-dropdown>a:after{content:"";display:block;width:0;height:0;border:inset 5px;border-color:transparent transparent transparent rgba(255,255,255,0.5);border-left-style:solid;margin-right:15px;margin-top:-4.5px;position:absolute;top:50%;right:0}
+ .top-bar-section .has-dropdown.moved{position:static}.top-bar-section .has-dropdown.moved>.dropdown{visibility:visible}.top-bar-section .dropdown{position:absolute;left:100%;top:0;visibility:hidden;z-index:99}
+ .top-bar-section .dropdown li{width:100%;height:auto}.top-bar-section .dropdown li a{font-weight:normal;padding:8px 15px}.top-bar-section .dropdown li.title h5{margin-bottom:0}
+ .top-bar-section .dropdown li.title h5 a{color:white;line-height:22.5px;display:block}.top-bar-section .dropdown label{padding:8px 15px 2px;margin-bottom:0;text-transform:uppercase;color:#555;font-weight:bold;font-size:.625em}
+ .top-bar-js-breakpoint{width:58.75em!important;visibility:hidden}.js-generated{display:block}@media only screen and (min-width:58.75em){.top-bar{background:#111;*zoom:1;overflow:visible}
+ .top-bar:before,.top-bar:after{content:" ";display:table}.top-bar:after{clear:both}.top-bar .toggle-topbar{display:none}
+ .top-bar .title-area{float:left}.top-bar .name h1 a{width:auto}.top-bar input,.top-bar .button{line-height:2em;font-size:.875em;height:2em;padding:0 10px;position:relative;top:8px}
+ .top-bar.expanded{background:#111}.contain-to-grid .top-bar{max-width:62.5em;margin:0 auto}.top-bar-section{-webkit-transition:none 0 0;-moz-transition:none 0 0;transition:none 0 0;left:0!important}
+ .top-bar-section ul{width:auto;height:auto!important;display:inline}.top-bar-section ul li{float:left}.top-bar-section ul li .js-generated{display:none}
+ .top-bar-section li a:not(.button){padding:0 15px;line-height:45px;background:#111}.top-bar-section li a:not(.button).hover{background:black}.top-bar-section .has-dropdown>a{padding-right:35px!important}
+ .top-bar-section .has-dropdown>a:after{content:"";display:block;width:0;height:0;border:inset 5px;border-color:rgba(255,255,255,0.5) transparent transparent transparent;border-top-style:solid;margin-top:-2.5px;top:22.5px}
+ .top-bar-section .has-dropdown.moved{position:relative}.top-bar-section .has-dropdown.moved>.dropdown{visibility:hidden}.top-bar-section .has-dropdown.hover>.dropdown{visibility:visible}
+ .top-bar-section .has-dropdown .dropdown li.has-dropdown>a:after{border:0;content:"\00bb";margin-top:-16px;right:5px}.top-bar-section .dropdown{left:0;top:auto;background:transparent;min-width:100%}
+ .top-bar-section .dropdown li a{color:white;line-height:1;white-space:nowrap;padding:7px 15px;background:#1e1e1e}.top-bar-section .dropdown li label{white-space:nowrap;background:#1e1e1e}
+ .top-bar-section .dropdown li .dropdown{left:100%;top:0}.top-bar-section>ul>.divider,.top-bar-section>ul>[role="separator"]{border-bottom:0;border-top:0;border-right:solid 1px #2b2b2b;border-left:solid 1px black;clear:none;height:45px;width:0}
+ .top-bar-section .has-form{background:#111;padding:0 15px;height:45px}.top-bar-section ul.right li .dropdown{left:auto;right:0}.top-bar-section ul.right li .dropdown li .dropdown{right:100%}
+ }@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@-moz-keyframes rotate{from{-webkit-transform:rotate(0deg)}
+ to{-webkit-transform:rotate(360deg)}}@-o-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes rotate{from{-webkit-transform:rotate(0deg)}
+ to{-webkit-transform:rotate(360deg)}}.slideshow-wrapper{position:relative}.slideshow-wrapper ul{list-style-type:none;margin:0}.slideshow-wrapper ul li,.slideshow-wrapper ul li .orbit-caption{display:none}
+ .slideshow-wrapper ul li:first-child{display:block}.slideshow-wrapper .orbit-container{background-color:transparent}.slideshow-wrapper .orbit-container li{display:block}
+ .slideshow-wrapper .orbit-container li .orbit-caption{display:block}.preloader{display:block;width:40px;height:40px;position:absolute;top:50%;left:50%;margin-top:-20px;margin-left:-20px;border:solid 3px;border-color:#555 #fff;-webkit-border-radius:1000px;border-radius:1000px;-webkit-animation-name:rotate;-webkit-animation-duration:1.5s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;-moz-animation-name:rotate;-moz-animation-duration:1.5s;-moz-animation-iteration-count:infinite;-moz-animation-timing-function:linear;-o-animation-name:rotate;-o-animation-duration:1.5s;-o-animation-iteration-count:infinite;-o-animation-timing-function:linear;animation-name:rotate;animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear}
+ .orbit-container{overflow:hidden;width:100%;position:relative;background:whitesmoke}.orbit-container .orbit-slides-container{list-style:none;margin:0;padding:0;position:relative}
+ .orbit-container .orbit-slides-container img{display:block}.orbit-container .orbit-slides-container>*{position:relative;float:left;height:auto}.orbit-container .orbit-slides-container>* .orbit-caption{position:absolute;bottom:0;background-color:black;background-color:rgba(0,0,0,0.6);color:white;width:100%;padding:10px 14px;font-size:.875em}
+ .orbit-container .orbit-slide-number{position:absolute;top:10px;left:10px;font-size:12px;color:white;background:rgba(0,0,0,0)}.orbit-container .orbit-slide-number span{font-weight:700;padding:.3125em}
+ .orbit-container .orbit-timer{position:absolute;top:10px;right:10px;height:6px;width:100px}.orbit-container .orbit-timer .orbit-progress{height:100%;background-color:black;background-color:rgba(0,0,0,0.6);display:block;width:0}
+ .orbit-container .orbit-timer>span{display:none;position:absolute;top:10px;right:0;width:11px;height:14px;border:solid 4px #000;border-top:0;border-bottom:0}
+ .orbit-container .orbit-timer.paused>span{right:-6px;top:9px;width:11px;height:14px;border:inset 8px;border-right-style:solid;border-color:transparent transparent transparent #000}
+ .orbit-container:hover .orbit-timer>span{display:block}.orbit-container .orbit-prev,.orbit-container .orbit-next{position:absolute;top:50%;margin-top:-25px;background-color:black;background-color:rgba(0,0,0,0.6);width:50px;height:60px;line-height:50px;color:white;text-indent:-9999px!important}
+ .orbit-container .orbit-prev>span,.orbit-container .orbit-next>span{position:absolute;top:50%;margin-top:-16px;display:block;width:0;height:0;border:inset 16px}
+ .orbit-container .orbit-prev{left:0}.orbit-container .orbit-prev>span{border-right-style:solid;border-color:transparent;border-right-color:#fff}.orbit-container .orbit-prev:hover>span{border-right-color:#ccc}
+ .orbit-container .orbit-next{right:0}.orbit-container .orbit-next>span{border-color:transparent;border-left-style:solid;border-left-color:#fff;left:50%;margin-left:-8px}
+ .orbit-container .orbit-next:hover>span{border-left-color:#ccc}.orbit-bullets{margin:0 auto 30px auto;overflow:hidden;position:relative;top:10px}.orbit-bullets li{display:block;width:18px;height:18px;background:#999;float:left;margin-right:6px;border:solid 2px #222;-webkit-border-radius:1000px;border-radius:1000px}
+ .orbit-bullets li.active{background:#222}.orbit-bullets li:last-child{margin-right:0}.touch .orbit-container .orbit-prev,.touch .orbit-container .orbit-next{display:none}
+ .touch .orbit-bullets{display:none}@media only screen and (min-width:768px){.touch .orbit-container .orbit-prev,.touch .orbit-container .orbit-next{display:inherit}
+ .touch .orbit-bullets{display:block}}.reveal-modal-bg{position:fixed;height:100%;width:100%;background:black;background:rgba(0,0,0,0.45);z-index:98;display:none;top:0;left:0}
+ .reveal-modal{visibility:hidden;display:none;position:absolute;left:50%;z-index:99;height:auto;margin-left:-40%;width:80%;background-color:white;padding:1.25em;border:solid 1px #666;-webkit-box-shadow:0 0 10px rgba(0,0,0,0.4);box-shadow:0 0 10px rgba(0,0,0,0.4);top:50px}
+ .reveal-modal .column,.reveal-modal .columns{min-width:0}.reveal-modal>:first-child{margin-top:0}.reveal-modal>:last-child{margin-bottom:0}.reveal-modal .close-reveal-modal{font-size:1.375em;line-height:1;position:absolute;top:.5em;right:.6875em;color:#aaa;font-weight:bold;cursor:pointer}
+ @media only screen and (min-width:768px){.reveal-modal{padding:1.875em;top:6.25em}.reveal-modal.tiny{margin-left:-15%;width:30%}.reveal-modal.small{margin-left:-20%;width:40%}
+ .reveal-modal.medium{margin-left:-30%;width:60%}.reveal-modal.large{margin-left:-35%;width:70%}.reveal-modal.xlarge{margin-left:-47.5%;width:95%}}@media print{.reveal-modal{background:#fff!important}
+ }.joyride-list{display:none}.joyride-tip-guide{display:none;position:absolute;background:black;color:white;z-index:101;top:0;left:2.5%;font-family:inherit;font-weight:normal;width:95%}
+ .lt-ie9 .joyride-tip-guide{max-width:800px;left:50%;margin-left:-400px}.joyride-content-wrapper{width:100%;padding:1.125em 1.25em 1.5em}.joyride-content-wrapper .button{margin-bottom:0!important}
+ .joyride-tip-guide .joyride-nub{display:block;position:absolute;left:22px;width:0;height:0;border:inset 14px}.joyride-tip-guide .joyride-nub.top{border-top-style:solid;border-color:black;border-top-color:transparent!important;border-left-color:transparent!important;border-right-color:transparent!important;top:-28px}
+ .joyride-tip-guide .joyride-nub.bottom{border-bottom-style:solid;border-color:black!important;border-bottom-color:transparent!important;border-left-color:transparent!important;border-right-color:transparent!important;bottom:-28px}
+ .joyride-tip-guide .joyride-nub.right{right:-28px}.joyride-tip-guide .joyride-nub.left{left:-28px}.joyride-tip-guide h1,.joyride-tip-guide h2,.joyride-tip-guide h3,.joyride-tip-guide h4,.joyride-tip-guide h5,.joyride-tip-guide h6{line-height:1.25;margin:0;font-weight:bold;color:white}
+ .joyride-tip-guide p{margin:0 0 1.125em 0;font-size:.875em;line-height:1.3}.joyride-timer-indicator-wrap{width:50px;height:3px;border:solid 1px #555;position:absolute;right:1.0625em;bottom:1em}
+ .joyride-timer-indicator{display:block;width:0;height:inherit;background:#666}.joyride-close-tip{position:absolute;right:12px;top:10px;color:#777!important;text-decoration:none;font-size:30px;font-weight:normal;line-height:.5!important}
+ .joyride-close-tip:hover,.joyride-close-tip:focus{color:#eee!important}.joyride-modal-bg{position:fixed;height:100%;width:100%;background:transparent;background:rgba(0,0,0,0.5);z-index:100;display:none;top:0;left:0;cursor:pointer}
+ .joyride-expose-wrapper{background-color:#fff;position:absolute;border-radius:3px;z-index:102;-moz-box-shadow:0 0 30px #fff;-webkit-box-shadow:0 0 15px #fff;box-shadow:0 0 15px #fff}
+ .joyride-expose-cover{background:transparent;border-radius:3px;position:absolute;z-index:9999;top:0;left:0}@media only screen and (min-width:768px){.joyride-tip-guide{width:300px;left:inherit}
+ .joyride-tip-guide .joyride-nub.bottom{border-color:black!important;border-bottom-color:transparent!important;border-left-color:transparent!important;border-right-color:transparent!important;bottom:-28px}
+ .joyride-tip-guide .joyride-nub.right{border-color:black!important;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important;top:22px;left:auto;right:-28px}
+ .joyride-tip-guide .joyride-nub.left{border-color:black!important;border-top-color:transparent!important;border-left-color:transparent!important;border-bottom-color:transparent!important;top:22px;left:-28px;right:auto}
+ }[data-clearing]{*zoom:1;margin-bottom:0;list-style:none}[data-clearing]:before,[data-clearing]:after{content:" ";display:table}
+ [data-clearing]:after{clear:both}[data-clearing] li{float:left;margin-right:10px}.clearing-blackout{background:#111;position:fixed;width:100%;height:100%;top:0;left:0;z-index:998}
+ .clearing-blackout .clearing-close{display:block}.clearing-container{position:relative;z-index:998;height:100%;overflow:hidden;margin:0}.visible-img{height:95%;position:relative}
+ .visible-img img{position:absolute;left:50%;top:50%;margin-left:-50%;max-height:100%;max-width:100%}.clearing-caption{color:white;line-height:1.3;margin-bottom:0;text-align:center;bottom:0;background:#111;width:100%;padding:10px 30px;position:absolute;left:0}
+ .clearing-close{z-index:999;padding-left:20px;padding-top:10px;font-size:40px;line-height:1;color:white;display:none}.clearing-close:hover,.clearing-close:focus{color:#ccc}
+ .clearing-assembled .clearing-container{height:100%}.clearing-assembled .clearing-container .carousel>ul{display:none}.clearing-feature li{display:none}
+ .clearing-feature li.clearing-featured-img{display:block}@media only screen and (min-width:768px){.clearing-main-prev,.clearing-main-next{position:absolute;height:100%;width:40px;top:0}
+ .clearing-main-prev>span,.clearing-main-next>span{position:absolute;top:50%;display:block;width:0;height:0;border:solid 16px}.clearing-main-prev{left:0}
+ .clearing-main-prev>span{left:5px;border-color:transparent;border-right-color:white}.clearing-main-next{right:0}.clearing-main-next>span{border-color:transparent;border-left-color:white}
+ .clearing-main-prev.disabled,.clearing-main-next.disabled{opacity:.5}.clearing-assembled .clearing-container .carousel{background:#111;height:150px;margin-top:5px}
+ .clearing-assembled .clearing-container .carousel>ul{display:block;z-index:999;width:200%;height:100%;margin-left:0;position:relative;left:0}.clearing-assembled .clearing-container .carousel>ul li{display:block;width:175px;height:inherit;padding:0;float:left;overflow:hidden;margin-right:1px;position:relative;cursor:pointer;opacity:.4}
+ .clearing-assembled .clearing-container .carousel>ul li.fix-height img{min-height:100%;height:100%;max-width:none}.clearing-assembled .clearing-container .carousel>ul li a.th{border:0;-webkit-box-shadow:none;box-shadow:none;display:block}
+ .clearing-assembled .clearing-container .carousel>ul li img{cursor:pointer!important;min-width:100%!important}.clearing-assembled .clearing-container .carousel>ul li.visible{opacity:1}
+ .clearing-assembled .clearing-container .visible-img{background:#111;overflow:hidden;height:75%}.clearing-close{position:absolute;top:10px;right:20px;padding-left:0;padding-top:0}
+ }.alert-box{border-style:solid;border-width:1px;display:block;font-weight:bold;margin-bottom:1.25em;position:relative;padding:.6875em 1.3125em .75em .6875em;font-size:.875em;background-color:#2ba6cb;border-color:#2284a1;color:white}
+ .alert-box .close{font-size:1.375em;padding:5px 4px 4px;line-height:0;position:absolute;top:.4375em;right:.3125em;color:#333;opacity:.3}.alert-box .close:hover,.alert-box .close:focus{opacity:.5}
+ .alert-box.radius{-webkit-border-radius:3px;border-radius:3px}.alert-box.round{-webkit-border-radius:1000px;border-radius:1000px}.alert-box.success{background-color:#5da423;border-color:#457a1a;color:white}
+ .alert-box.alert{background-color:#c60f13;border-color:#970b0e;color:white}.alert-box.secondary{background-color:#e9e9e9;border-color:#d0d0d0;color:#505050}
+ .breadcrumbs{display:block;padding:.5625em .875em .5625em;overflow:hidden;margin-left:0;list-style:none;border-style:solid;border-width:1px;background-color:#f6f6f6;border-color:gainsboro;-webkit-border-radius:3px;border-radius:3px}
+ .breadcrumbs>*{margin:0;float:left;font-size:.6875em;text-transform:uppercase;color:#2ba6cb}.breadcrumbs>*:hover a,.breadcrumbs>*:focus a{text-decoration:underline}
+ .breadcrumbs>* a,.breadcrumbs>* span{text-transform:uppercase;color:#2ba6cb}.breadcrumbs>*.current{cursor:default;color:#333}.breadcrumbs>*.current a{cursor:default;color:#333}
+ .breadcrumbs>*.current:hover,.breadcrumbs>*.current:hover a,.breadcrumbs>*.current:focus,.breadcrumbs>*.current:focus a{text-decoration:none}.breadcrumbs>*.unavailable{color:#999}
+ .breadcrumbs>*.unavailable a{color:#999}.breadcrumbs>*.unavailable:hover,.breadcrumbs>*.unavailable:hover a,.breadcrumbs>*.unavailable:focus,.breadcrumbs>*.unavailable a:focus{text-decoration:none;color:#999;cursor:default}
+ .breadcrumbs>*:before{content:"/";color:#aaa;margin:0 .75em;position:relative;top:1px}.breadcrumbs>*:first-child:before{content:" ";margin:0}
+ .keystroke,kbd{background-color:#ededed;border-color:#dbdbdb;color:#222;border-style:solid;border-width:1px;margin:0;font-family:"Consolas","Menlo","Courier",monospace;font-size:.875em;padding:.125em .25em 0;-webkit-border-radius:3px;border-radius:3px}
+ .label{font-weight:bold;text-align:center;text-decoration:none;line-height:1;white-space:nowrap;display:inline-block;position:relative;padding:.1875em .625em .25em;font-size:.875em;background-color:#2ba6cb;color:white}
+ .label.radius{-webkit-border-radius:3px;border-radius:3px}.label.round{-webkit-border-radius:1000px;border-radius:1000px}.label.alert{background-color:#c60f13;color:white}
+ .label.success{background-color:#5da423;color:white}.label.secondary{background-color:#e9e9e9;color:#333}.inline-list{margin:0 auto 1.0625em auto;margin-left:-1.375em;margin-right:0;padding:0;list-style:none;overflow:hidden}
+ .inline-list>li{list-style:none;float:left;margin-left:1.375em;display:block}.inline-list>li>*{display:block}.pagination{display:block;height:1.5em;margin-left:-0.3125em}
+ .pagination li{display:block;float:left;height:1.5em;color:#222;font-size:.875em;margin-left:.3125em}.pagination li a{display:block;padding:.0625em .4375em .0625em;color:#999}
+ .pagination li:hover a,.pagination li a:focus{background:#e6e6e6}.pagination li.unavailable a{cursor:default;color:#999}.pagination li.unavailable:hover a,.pagination li.unavailable a:focus{background:transparent}
+ .pagination li.current a{background:#2ba6cb;color:white;font-weight:bold;cursor:default}.pagination li.current a:hover,.pagination li.current a:focus{background:#2ba6cb}
+ .pagination-centered{text-align:center}.pagination-centered ul>li{float:none;display:inline-block}.panel{border-style:solid;border-width:1px;border-color:#d9d9d9;margin-bottom:1.25em;padding:1.25em;background:#f2f2f2}
+ .panel h1,.panel h2,.panel h3,.panel h4,.panel h5,.panel h6,.panel p{color:#333}.panel>:first-child{margin-top:0}.panel>:last-child{margin-bottom:0}.panel h1,.panel h2,.panel h3,.panel h4,.panel h5,.panel h6{line-height:1;margin-bottom:.625em}
+ .panel h1.subheader,.panel h2.subheader,.panel h3.subheader,.panel h4.subheader,.panel h5.subheader,.panel h6.subheader{line-height:1.4}.panel.callout{border-style:solid;border-width:1px;border-color:#2284a1;margin-bottom:1.25em;padding:1.25em;background:#2ba6cb;-webkit-box-shadow:0 1px 0 rgba(255,255,255,0.5) inset;box-shadow:0 1px 0 rgba(255,255,255,0.5) inset}
+ .panel.callout h1,.panel.callout h2,.panel.callout h3,.panel.callout h4,.panel.callout h5,.panel.callout h6,.panel.callout p{color:white}.panel.callout>:first-child{margin-top:0}
+ .panel.callout>:last-child{margin-bottom:0}.panel.callout h1,.panel.callout h2,.panel.callout h3,.panel.callout h4,.panel.callout h5,.panel.callout h6{line-height:1;margin-bottom:.625em}
+ .panel.callout h1.subheader,.panel.callout h2.subheader,.panel.callout h3.subheader,.panel.callout h4.subheader,.panel.callout h5.subheader,.panel.callout h6.subheader{line-height:1.4}
+ .panel.radius{-webkit-border-radius:3px;border-radius:3px}.pricing-table{border:solid 1px #ddd;margin-left:0;margin-bottom:1.25em}.pricing-table *{list-style:none;line-height:1}
+ .pricing-table .title{background-color:#ddd;padding:.9375em 1.25em;text-align:center;color:#333;font-weight:bold;font-size:1em}.pricing-table .price{background-color:#eee;padding:.9375em 1.25em;text-align:center;color:#333;font-weight:normal;font-size:1.25em}
+ .pricing-table .description{background-color:white;padding:.9375em;text-align:center;color:#777;font-size:.75em;font-weight:normal;line-height:1.4;border-bottom:dotted 1px #ddd}
+ .pricing-table .bullet-item{background-color:white;padding:.9375em;text-align:center;color:#333;font-size:.875em;font-weight:normal;border-bottom:dotted 1px #ddd}
+ .pricing-table .cta-button{background-color:whitesmoke;text-align:center;padding:1.25em 1.25em 0}.progress{background-color:transparent;height:1.5625em;border:1px solid #ccc;padding:.125em;margin-bottom:.625em}
+ .progress .meter{background:#2ba6cb;height:100%;display:block}.progress.secondary .meter{background:#e9e9e9;height:100%;display:block}.progress.success .meter{background:#5da423;height:100%;display:block}
+ .progress.alert .meter{background:#c60f13;height:100%;display:block}.progress.radius{-webkit-border-radius:3px;border-radius:3px}.progress.radius .meter{-webkit-border-radius:2px;border-radius:2px}
+ .progress.round{-webkit-border-radius:1000px;border-radius:1000px}.progress.round .meter{-webkit-border-radius:999px;border-radius:999px}.side-nav{display:block;margin:0;padding:.875em 0;list-style-type:none;list-style-position:inside}
+ .side-nav li{margin:0 0 .4375em 0;font-size:.875em}.side-nav li a{display:block;color:#2ba6cb}.side-nav li.active>a:first-child{color:#4d4d4d;font-weight:bold}
+ .side-nav li.divider{border-top:1px solid;height:0;padding:0;list-style:none;border-top-color:#e6e6e6}.sub-nav{display:block;width:auto;overflow:hidden;margin:-0.25em 0 1.125em;padding-top:.25em;margin-right:0;margin-left:-0.5625em}
+ .sub-nav dt,.sub-nav dd{float:left;display:inline;margin-left:.5625em;margin-bottom:.625em;font-weight:normal;font-size:.875em}.sub-nav dt a,.sub-nav dd a{color:#999;text-decoration:none}
+ .sub-nav dt.active a,.sub-nav dd.active a{-webkit-border-radius:1000px;border-radius:1000px;font-weight:bold;background:#2ba6cb;padding:.1875em .5625em;cursor:default;color:white}
+ @media only screen{div.switch{position:relative;width:100%;padding:0;display:block;overflow:hidden;border-style:solid;border-width:1px;margin-bottom:1.25em;-webkit-animation:webkitSiblingBugfix infinite 1s;height:36px;background:white;border-color:#ccc}
+ div.switch label{position:relative;left:0;z-index:2;float:left;width:50%;height:100%;margin:0;font-weight:bold;text-align:left;-webkit-transition:all .1s ease-out;-moz-transition:all .1s ease-out;transition:all .1s ease-out}
+ div.switch input{position:absolute;z-index:3;opacity:0;width:100%;height:100%;-moz-appearance:none}div.switch input:hover,div.switch input:focus{cursor:pointer}
+ div.switch>span{position:absolute;top:-1px;left:-1px;z-index:1;display:block;padding:0;border-width:1px;border-style:solid;-webkit-transition:all .1s ease-out;-moz-transition:all .1s ease-out;transition:all .1s ease-out}
+ div.switch input:not(:checked)+label{opacity:0}div.switch input:checked{display:none!important}div.switch input{left:0;display:block!important}div.switch input:first-of-type+label,div.switch input:first-of-type+span+label{left:-50%}
+ div.switch input:first-of-type:checked+label,div.switch input:first-of-type:checked+span+label{left:0}div.switch input:last-of-type+label,div.switch input:last-of-type+span+label{right:-50%;left:auto;text-align:right}
+ div.switch input:last-of-type:checked+label,div.switch input:last-of-type:checked+span+label{right:0;left:auto}div.switch span.custom{display:none!important}
+ div.switch label{padding:0 .375em;line-height:2.3em;font-size:.875em}div.switch input:first-of-type:checked ~ span{left:100%;margin-left:-2.1875em}div.switch>span{width:2.25em;height:2.25em}
+ div.switch>span{border-color:#b3b3b3;background:white;background:-moz-linear-gradient(top,white 0,#f2f2f2 100%);background:-webkit-linear-gradient(top,white 0,#f2f2f2 100%);background:linear-gradient(to bottom,white 0,#f2f2f2 100%);-webkit-box-shadow:2px 0 10px 0 rgba(0,0,0,0.07),1000px 0 0 1000px #e1f5d1,-2px 0 10px 0 rgba(0,0,0,0.07),-1000px 0 0 1000px whitesmoke;box-shadow:2px 0 10px 0 rgba(0,0,0,0.07),1000px 0 0 980px #e1f5d1,-2px 0 10px 0 rgba(0,0,0,0.07),-1000px 0 0 1000px whitesmoke}
+ div.switch:hover>span,div.switch:focus>span{background:white;background:-moz-linear-gradient(top,white 0,#e6e6e6 100%);background:-webkit-linear-gradient(top,white 0,#e6e6e6 100%);background:linear-gradient(to bottom,white 0,#e6e6e6 100%)}
+ div.switch:active{background:transparent}div.switch.large{height:44px}div.switch.large label{padding:0 .375em;line-height:2.3em;font-size:1.0625em}div.switch.large input:first-of-type:checked ~ span{left:100%;margin-left:-2.6875em}
+ div.switch.large>span{width:2.75em;height:2.75em}div.switch.small{height:28px}div.switch.small label{padding:0 .375em;line-height:2.1em;font-size:.75em}
+ div.switch.small input:first-of-type:checked ~ span{left:100%;margin-left:-1.6875em}div.switch.small>span{width:1.75em;height:1.75em}div.switch.tiny{height:22px}
+ div.switch.tiny label{padding:0 .375em;line-height:1.9em;font-size:.6875em}div.switch.tiny input:first-of-type:checked ~ span{left:100%;margin-left:-1.3125em}
+ div.switch.tiny>span{width:1.375em;height:1.375em}div.switch.radius{-webkit-border-radius:4px;border-radius:4px}div.switch.radius>span{-webkit-border-radius:3px;border-radius:3px}
+ div.switch.round{-webkit-border-radius:1000px;border-radius:1000px}div.switch.round>span{-webkit-border-radius:999px;border-radius:999px}div.switch.round label{padding:0 .5625em}
+ @-webkit-keyframes webkitSiblingBugfix{from{position:relative}to{position:relative}}}[data-magellan-expedition]{background:white;z-index:50;min-width:100%;padding:10px}
+ [data-magellan-expedition] .sub-nav{margin-bottom:0}[data-magellan-expedition] .sub-nav dd{margin-bottom:0}table{background:white;margin-bottom:1.25em;border:solid 1px #ddd}
+ table thead,table tfoot{background:whitesmoke;font-weight:bold}table thead tr th,table thead tr td,table tfoot tr th,table tfoot tr td{padding:.5em .625em .625em;font-size:.875em;color:#222;text-align:left}
+ table tr th,table tr td{padding:.5625em .625em;font-size:.875em;color:#222}table tr.even,table tr.alt,table tr:nth-of-type(even){background:#f9f9f9}table thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{display:table-cell;line-height:1.125em}
+ .th{line-height:0;display:inline-block;border:solid 4px white;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,0.2);box-shadow:0 0 0 1px rgba(0,0,0,0.2);-webkit-transition:all 200ms ease-out;-moz-transition:all 200ms ease-out;transition:all 200ms ease-out}
+ .th:hover,.th:focus{-webkit-box-shadow:0 0 6px 1px rgba(43,166,203,0.5);box-shadow:0 0 6px 1px rgba(43,166,203,0.5)}.th.radius{-webkit-border-radius:3px;border-radius:3px}
+ a.th{display:inline-block}.has-tip{border-bottom:dotted 1px #ccc;cursor:help;font-weight:bold;color:#333}.has-tip:hover,.has-tip:focus{border-bottom:dotted 1px #196177;color:#2ba6cb}
+ .has-tip.tip-left,.has-tip.tip-right{float:none!important}.tooltip{display:none;position:absolute;z-index:999;font-weight:bold;font-size:.9375em;line-height:1.3;padding:.5em;max-width:85%;left:50%;width:100%;color:white;background:black;-webkit-border-radius:3px;border-radius:3px}
+ .tooltip>.nub{display:block;left:5px;position:absolute;width:0;height:0;border:solid 5px;border-color:transparent transparent black transparent;top:-10px}
+ .tooltip.opened{color:#2ba6cb!important;border-bottom:dotted 1px #196177!important}.tap-to-close{display:block;font-size:.625em;color:#888;font-weight:normal}
+ @media only screen and (min-width:768px){.tooltip>.nub{border-color:transparent transparent black transparent;top:-10px}.tooltip.tip-top>.nub{border-color:black transparent transparent transparent;top:auto;bottom:-10px}
+ .tooltip.tip-left,.tooltip.tip-right{float:none!important}.tooltip.tip-left>.nub{border-color:transparent transparent transparent black;right:-10px;left:auto;top:50%;margin-top:-5px}
+ .tooltip.tip-right>.nub{border-color:transparent black transparent transparent;right:auto;left:-10px;top:50%;margin-top:-5px}}@media only screen and (max-width:767px){.f-dropdown{max-width:100%;left:0}
+ }.f-dropdown{position:absolute;top:-9999px;list-style:none;width:100%;max-height:none;height:auto;background:white;border:solid 1px #ccc;font-size:16px;z-index:99;margin-top:2px;max-width:200px}
+ .f-dropdown>*:first-child{margin-top:0}.f-dropdown>*:last-child{margin-bottom:0}.f-dropdown:before{content:"";display:block;width:0;height:0;border:inset 6px;border-color:transparent transparent white transparent;border-bottom-style:solid;position:absolute;top:-12px;left:10px;z-index:99}
+ .f-dropdown:after{content:"";display:block;width:0;height:0;border:inset 7px;border-color:transparent transparent #ccc transparent;border-bottom-style:solid;position:absolute;top:-14px;left:9px;z-index:98}
+ .f-dropdown.right:before{left:auto;right:10px}.f-dropdown.right:after{left:auto;right:9px}.f-dropdown li{font-size:.875em;cursor:pointer;line-height:1.125em;margin:0}
+ .f-dropdown li:hover,.f-dropdown li:focus{background:#eee}.f-dropdown li a{display:block;padding:.3125em .625em;color:#555}.f-dropdown.content{position:absolute;top:-9999px;list-style:none;padding:1.25em;width:100%;height:auto;max-height:none;background:white;border:solid 1px #ccc;font-size:16px;z-index:99;max-width:200px}
+ .f-dropdown.content>*:first-child{margin-top:0}.f-dropdown.content>*:last-child{margin-bottom:0}.f-dropdown.tiny{max-width:200px}.f-dropdown.small{max-width:300px}
+ .f-dropdown.medium{max-width:500px}.f-dropdown.large{max-width:800px}
\ No newline at end of file
generators/foundation/public/stylesheets/normalize.css +89 -146
@@ @@ -1,13 +1,10 @@
- /*! normalize.css v2.1.0 | MIT License | git.io/normalize */
-
+ /* normalize.css v2.1.1 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
-
/**
* Correct `block` display not defined in IE 8/9.
*/
-
article,
aside,
details,
@@ @@ -20,276 +17,233 @@ main,
nav,
section,
summary {
- display: block;
- }
+ display: block; }
/**
* Correct `inline-block` display not defined in IE 8/9.
*/
-
audio,
canvas,
video {
- display: inline-block;
- }
+ display: inline-block; }
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
-
audio:not([controls]) {
- display: none;
- height: 0;
- }
+ display: none;
+ height: 0; }
/**
* Address styling not present in IE 8/9.
*/
-
[hidden] {
- display: none;
- }
+ display: none; }
/* ==========================================================================
Base
========================================================================== */
-
/**
- * 1. Set default font family to sans-serif.
- * 2. Prevent iOS text size adjust after orientation change, without disabling
+ * 1. Prevent system color scheme's background color being used in Firefox, IE,
+ * and Opera.
+ * 2. Prevent system color scheme's text color being used in Firefox, IE, and
+ * Opera.
+ * 3. Set default font family to sans-serif.
+ * 4. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
-
html {
- font-family: sans-serif; /* 1 */
- -webkit-text-size-adjust: 100%; /* 2 */
- -ms-text-size-adjust: 100%; /* 2 */
- }
+ background: #fff;
+ /* 1 */
+ color: #000;
+ /* 2 */
+ font-family: sans-serif;
+ /* 3 */
+ -ms-text-size-adjust: 100%;
+ /* 4 */
+ -webkit-text-size-adjust: 100%;
+ /* 4 */ }
/**
* Remove default margin.
*/
-
body {
- margin: 0;
- }
+ margin: 0; }
/* ==========================================================================
Links
========================================================================== */
-
/**
* Address `outline` inconsistency between Chrome and other browsers.
*/
-
a:focus {
- outline: thin dotted;
- }
+ outline: thin dotted; }
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
-
a:active,
a:hover {
- outline: 0;
- }
+ outline: 0; }
/* ==========================================================================
Typography
========================================================================== */
-
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari 5, and Chrome.
*/
-
h1 {
- font-size: 2em;
- margin: 0.67em 0;
- }
+ font-size: 2em;
+ margin: 0.67em 0; }
/**
* Address styling not present in IE 8/9, Safari 5, and Chrome.
*/
-
abbr[title] {
- border-bottom: 1px dotted;
- }
+ border-bottom: 1px dotted; }
/**
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
*/
-
b,
strong {
- font-weight: bold;
- }
+ font-weight: bold; }
/**
* Address styling not present in Safari 5 and Chrome.
*/
-
dfn {
- font-style: italic;
- }
+ font-style: italic; }
/**
* Address differences between Firefox and other browsers.
*/
-
hr {
- -moz-box-sizing: content-box;
- box-sizing: content-box;
- height: 0;
- }
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+ height: 0; }
/**
* Address styling not present in IE 8/9.
*/
-
mark {
- background: #ff0;
- color: #000;
- }
+ background: #ff0;
+ color: #000; }
/**
* Correct font family set oddly in Safari 5 and Chrome.
*/
-
code,
kbd,
pre,
samp {
- font-family: monospace, serif;
- font-size: 1em;
- }
+ font-family: monospace, serif;
+ font-size: 1em; }
/**
* Improve readability of pre-formatted text in all browsers.
*/
-
pre {
- white-space: pre-wrap;
- }
+ white-space: pre-wrap; }
/**
* Set consistent quote types.
*/
-
q {
- quotes: "\201C" "\201D" "\2018" "\2019";
- }
+ quotes: "\201C" "\201D" "\2018" "\2019"; }
/**
* Address inconsistent and variable font size in all browsers.
*/
-
small {
- font-size: 80%;
- }
+ font-size: 80%; }
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
-
sub,
sup {
- font-size: 75%;
- line-height: 0;
- position: relative;
- vertical-align: baseline;
- }
+ font-size: 75%;
+ line-height: 0;
+ position: relative;
+ vertical-align: baseline; }
sup {
- top: -0.5em;
- }
+ top: -0.5em; }
sub {
- bottom: -0.25em;
- }
+ bottom: -0.25em; }
/* ==========================================================================
Embedded content
========================================================================== */
-
/**
* Remove border when inside `a` element in IE 8/9.
*/
-
img {
- border: 0;
- }
+ border: 0; }
/**
* Correct overflow displayed oddly in IE 9.
*/
-
svg:not(:root) {
- overflow: hidden;
- }
+ overflow: hidden; }
/* ==========================================================================
Figures
========================================================================== */
-
/**
* Address margin not present in IE 8/9 and Safari 5.
*/
-
figure {
- margin: 0;
- }
+ margin: 0; }
/* ==========================================================================
Forms
========================================================================== */
-
/**
* Define consistent border, margin, and padding.
*/
-
fieldset {
- border: 1px solid #c0c0c0;
- margin: 0 2px;
- padding: 0.35em 0.625em 0.75em;
- }
+ border: 1px solid #c0c0c0;
+ margin: 0 2px;
+ padding: 0.35em 0.625em 0.75em; }
/**
* 1. Correct `color` not being inherited in IE 8/9.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
-
legend {
- border: 0; /* 1 */
- padding: 0; /* 2 */
- }
+ border: 0;
+ /* 1 */
+ padding: 0;
+ /* 2 */ }
/**
* 1. Correct font family not being inherited in all browsers.
* 2. Correct font size not being inherited in all browsers.
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
*/
-
button,
input,
select,
textarea {
- font-family: inherit; /* 1 */
- font-size: 100%; /* 2 */
- margin: 0; /* 3 */
- }
+ font-family: inherit;
+ /* 1 */
+ font-size: 100%;
+ /* 2 */
+ margin: 0;
+ /* 3 */ }
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
-
button,
input {
- line-height: normal;
- }
+ line-height: normal; }
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
@@ @@ -297,11 +251,9 @@ input {
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
* Correct `select` style inheritance in Firefox 4+ and Opera.
*/
-
button,
select {
- text-transform: none;
- }
+ text-transform: none; }
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
@@ @@ -310,87 +262,78 @@ select {
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
-
button,
- html input[type="button"], /* 1 */
+ html input[type="button"],
input[type="reset"],
input[type="submit"] {
- -webkit-appearance: button; /* 2 */
- cursor: pointer; /* 3 */
- }
+ -webkit-appearance: button;
+ /* 2 */
+ cursor: pointer;
+ /* 3 */ }
/**
* Re-set default cursor for disabled elements.
*/
-
button[disabled],
html input[disabled] {
- cursor: default;
- }
+ cursor: default; }
/**
* 1. Address box sizing set to `content-box` in IE 8/9.
* 2. Remove excess padding in IE 8/9.
*/
-
input[type="checkbox"],
input[type="radio"] {
- box-sizing: border-box; /* 1 */
- padding: 0; /* 2 */
- }
+ box-sizing: border-box;
+ /* 1 */
+ padding: 0;
+ /* 2 */ }
/**
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
* (include `-moz` to future-proof).
*/
-
input[type="search"] {
- -webkit-appearance: textfield; /* 1 */
- -moz-box-sizing: content-box;
- -webkit-box-sizing: content-box; /* 2 */
- box-sizing: content-box;
- }
+ -webkit-appearance: textfield;
+ /* 1 */
+ -moz-box-sizing: content-box;
+ -webkit-box-sizing: content-box;
+ /* 2 */
+ box-sizing: content-box; }
/**
* Remove inner padding and search cancel button in Safari 5 and Chrome
* on OS X.
*/
-
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
- -webkit-appearance: none;
- }
+ -webkit-appearance: none; }
/**
* Remove inner padding and border in Firefox 4+.
*/
-
button::-moz-focus-inner,
input::-moz-focus-inner {
- border: 0;
- padding: 0;
- }
+ border: 0;
+ padding: 0; }
/**
* 1. Remove default vertical scrollbar in IE 8/9.
* 2. Improve readability and alignment in all browsers.
*/
-
textarea {
- overflow: auto; /* 1 */
- vertical-align: top; /* 2 */
- }
+ overflow: auto;
+ /* 1 */
+ vertical-align: top;
+ /* 2 */ }
/* ==========================================================================
Tables
========================================================================== */
-
/**
* Remove most spacing between table cells.
*/
-
table {
- border-collapse: collapse;
- border-spacing: 0;
- }
+ border-collapse: collapse;
+ border-spacing: 0; }
locomotive/wagon/generators/site/foundation.rb b/lib/locomotive/wagon/generators/site/foundation.rb +1 -1
@@ @@ -27,7 +27,7 @@ module Locomotive
end
Locomotive::Wagon::Generators::Site.register(:foundation, Foundation, %{
- A LocomotiveCMS site powered by Foundation (v4.0.9).
+ A LocomotiveCMS site powered by Foundation (v4.2.1).
})
end
end