diff --git a/dist/index.html b/dist/index.html index b873b1e..c75e534 100644 --- a/dist/index.html +++ b/dist/index.html @@ -4,17 +4,168 @@ My JavaScript App + + + + - -
+ +
+ +
+ + + +
+

Trips

+ + +
+ +
+ +
+ + + + + + + + + + + + + +
NameContinentCategoryWeeksCost
+
+ +
+
+ +
+
+ +
-
+
+ + +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + + Don't Add +
- + + + + + diff --git a/package-lock.json b/package-lock.json index f830985..74b17bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5017,6 +5017,11 @@ "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.2.1.tgz", "integrity": "sha1-XE2d5lKvbNCncBVKYxu6ErAVx4c=" }, + "jquery-modal": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/jquery-modal/-/jquery-modal-0.9.1.tgz", + "integrity": "sha512-04C0nhhFBDkFt3VUQaZDOXWPifpJHm8JjhgydePV1drI9ZvOTkIRLVOzCy2mo5/bcWqPU8UhLq4L6Pdex//lvw==" + }, "js-base64": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.3.2.tgz", diff --git a/package.json b/package.json index 5860ddc..9035c63 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,7 @@ "dependencies": { "backbone": "^1.3.3", "jquery": "^3.2.1", + "jquery-modal": "^0.9.1", "underscore": "^1.8.3" } } diff --git a/src/app.js b/src/app.js index e7af594..8cafaa3 100644 --- a/src/app.js +++ b/src/app.js @@ -1,13 +1,277 @@ // Vendor Modules import $ from 'jquery'; import _ from 'underscore'; +import 'jquery-modal'; // CSS import './css/foundation.css'; +import './css/responsive-tables.css'; import './css/style.css'; -console.log('it loaded!'); +import './responsive-tables'; + +import Trip from './app/models/trip'; +import TripList from './app/collections/trip_list'; +import Reservation from './app/models/reservation'; + +const allTrips = new TripList(); +let filteredTrips = allTrips; + +let tripListTemplate; +let tripTemplate; + +// renders +const renderTripList = function renderTripList(tripList) { + // empty existing list and res form + const $tripList = $('#trip-list'); + $tripList.empty(); + $('#reservation').empty(); + + tripList.forEach((trip) => { + $tripList.append(tripListTemplate(trip.attributes)); + }); +}; + +const renderTrip = function renderTrip(trip) { + const $tripDetail = $('#trip-detail'); + + $tripDetail.empty(); + $tripDetail.append(tripTemplate(trip.attributes)) + $('.reservation').append(loadResForm(trip.id)); +}; + +const cancelSubmit = function cancelSubmit() { + const $form = $(this).parent(); + $form.trigger('reset'); + $form.find('p').remove(); + $form.find('input').removeClass('error'); + // $(this).parent().trigger('reset'); + // $(this).parent().find('p').remove(); + // $('.error-messages').empty(); +}; + +const readForm = function readForm(form) { + const fields = form.find(':input').not('button'); + const formData = {}; + + for (let i = 0; i < fields.length; i += 1) { + const field = fields[i]; + formData[field.name] = $(`#${field.id}`).val(); + } + + return formData; +}; + +const readTripForm = function readTripForm() { + const $tripForm = $('#add-trip-form'); + return readForm($tripForm); +}; + +const readResForm = function readResForm() { + const $resForm = $('#add-res-form'); + const tripId = $resForm.data('id'); + const resData = readForm($resForm); + + resData['trip_id'] = tripId; + + return resData +} + +const renderSuccess = function renderSuccess(message, section) { + // const $msgSection = $('main > .status-messages') + + section.addClass('success'); + section.append(`

${message}

`); + // $msgSection.delay(5000).fadeout(); +} + +const renderError = function renderError(field, error, form) { + const html = `

${error}

`; + const $errorInput = form.find(`input[name=${field}]`); + + $errorInput.before(html); + $errorInput.addClass('error'); +}; + +const handleValidationErrors = function handleValidationErrors(errors, form) { + Object.keys(errors).forEach((field) => { + errors[field].forEach((error) => { + renderError(field, error, form); + }); + }); +}; + +const getTrip = function getTrip(event) { + const tripId = event.currentTarget.id; + let trip = new Trip({id: tripId}); + + trip.fetch({ + success: function(trip, response, options) { + + // render error if no content + if (options.xhr.status === 204) { + const html = '

Trip Not Found

'; + $('.detail.status-messages').append(html); + } else { + renderTrip(trip); + } + }, + // how is this handled??? + error: function(trip) { + console.log(trip); + } + }); +}; + +// const successfulSave = function successfulSave(trip) { +// $('.error-messages').empty(); +// +// tripList.add(trip); +// $.modal.close(); +// }; + +const addTrip = function addTrip(event) { + event.preventDefault(); + const trip = new Trip(readTripForm()); + + // client side validations + if (trip.isValid()) { + trip.save({}, { + success: () => { + if ($('#add-trip-form p').length) { + $('#add-trip-form p').remove(); + } + + allTrips.add(trip); + $.modal.close(); + + renderSuccess('Trip successfully added', $('main > .status-messages')); + }, + // success: successfulSave, + error: (model, response) => { + handleValidationErrors(response.responseJSON.errors, $('#add-trip-form')); + } + // error: failedSave + }); + } else { + handleValidationErrors(trip.validationError, $('#add-trip-form')); + } +}; + +const loadResForm = function loadTripForm(tripId) { + const html = ` +
+
+
+
+ + +
+ +
+ + +
+ +
+ + +
+ + + +
`; + + $('.reservation').append(html); +}; + +const addRes = function addRes(event) { + event.preventDefault(); + + const res = new Reservation(readResForm()); + + // client-side validations + if (res.isValid()) { + res.save({}, { + success: () => { + // if ($('#add-res-form p').length) { + $('#add-res-form p').remove(); + // } + renderSuccess('Spot reserved', $('#add-res-form .status-messages')); + $('#add-res-form').trigger('reset'); + }, + error: (model, response) => { + handleValidationErrors(response.responseJSON.errors, $('#add-res-form')); + } + }); + } + else { + handleValidationErrors(res.validationError, $('#add-res-form')); + } +}; + +const sortTrips = function sortTrips() { + const fields = ['id', 'name', 'continent', 'category', 'cost', 'weeks']; + + $('.current-sort-field').removeClass('current-sort-field'); + $(this).addClass('current-sort-field'); + + const classes = $(this).attr('class').split(/\s+/); + + classes.forEach((className) => { + // if already sorted, sort desc + if (fields.includes(className)) { + if (className === allTrips.comparator) { + allTrips.models.reverse(); + allTrips.trigger('sort', allTrips); + // sort asc + } else { + allTrips.comparator = className; + allTrips.sort(); + } + } + }); +}; + +const filterTrips = function filterTrips() { + const $filter = $('#filter-by option:checked').val(); + // make empty string if undefined + const $search = $('#search').val() || ""; + filteredTrips = allTrips.filterBy($filter, $search); + renderTripList(filteredTrips); +}; + +const init = () => { + $('body').removeClass('init'); + $('div.init').hide(); + $('header').addClass('grid-x'); + $('header').show(); + $('main').addClass('grid-x grid-padding-x') + $('main').show(); + + allTrips.fetch(); +}; $(document).ready( () => { - $('main').html('

Hello World!

'); + // load templates + tripListTemplate = _.template($('#trip-list-template').html()); + tripTemplate = _.template($('#trip-template').html()); + + $('.start').on('click', init); + + allTrips.on('update', renderTripList, allTrips); + allTrips.on('sort', renderTripList, allTrips); + // filteredTrips.on('update', renderTripList, filteredTrips); + + $('#trip-list').on('mouseover', 'tr', getTrip, this); + $('.all-trips th').on('click', sortTrips); + + $('.cancel').on('click', cancelSubmit); + $('#add-trip-form').on('submit', addTrip); + + $('#trip-detail').on('submit', '#add-res-form', addRes); + $('#filter').on('change keyup', 'input, select', filterTrips); + // $('#filter').on('change', 'select', filterTrips); + + // allTrips.fetch(); }); diff --git a/src/app/collections/trip_list.js b/src/app/collections/trip_list.js new file mode 100644 index 0000000..0e3d799 --- /dev/null +++ b/src/app/collections/trip_list.js @@ -0,0 +1,44 @@ +import Backbone from 'backbone'; +import Trip from '../models/trip'; + +const TripList = Backbone.Collection.extend({ + model: Trip, + url: 'https://ada-backtrek-api.herokuapp.com/trips', + comparator: 'id', + greaterThan(field, value) { + let models = this.select(function(model) { + return model.get(`${field}`) > value; + }); + return new TripList(models); + }, + includes(field, value) { + if (field === undefined || field === '') { + let models = this.select(function(model) { + const attributes = Object.keys(model.attributes); + + for (let i = 0; i < attributes.length; i += 1) { + if (typeof model.get(attributes[i]) === 'number') { + if (model.get(attributes[i]).toString().includes(value)) return true; + // return model.get(attributes[i]).toString().includes(value); + } else { + if (model.get(attributes[i]).toLowerCase().includes(value.toLowerCase())) return true; + } + } + return false; + }); + return new TripList(models); + } else { + let models = this.select(function(model) { + return model.get(`${field}`).toLowerCase().includes(value.toLowerCase()); + }); + return new TripList(models); + } + }, + filterBy(field, value) { + if (field === 'cost' || field === 'weeks') return this.greaterThan(field, value); + + return this.includes(field, value); + } +}); + +export default TripList; diff --git a/src/app/models/reservation.js b/src/app/models/reservation.js new file mode 100644 index 0000000..15473e7 --- /dev/null +++ b/src/app/models/reservation.js @@ -0,0 +1,28 @@ +import Backbone from 'backbone'; + +const Reservation = Backbone.Model.extend({ + urlRoot: '/trips', + + initialize(attributes) { + this.url = 'https://ada-backtrek-api.herokuapp.com/trips/' + attributes.trip_id + '/reservations'; + }, + + validate(attributes) { + const errors = {}; + + if (!attributes.name) { + errors['name'] = ['Cannot be blank']; + } + + if (!attributes.email) { + errors['email'] = ['Cannot be blank']; + } + + if (Object.keys(errors).length > 0) { + return errors; + } + return false; + }, +}); + +export default Reservation; diff --git a/src/app/models/trip.js b/src/app/models/trip.js new file mode 100644 index 0000000..d17f54d --- /dev/null +++ b/src/app/models/trip.js @@ -0,0 +1,48 @@ +import Backbone from 'backbone'; + +const Trip = Backbone.Model.extend({ + urlRoot: 'https://ada-backtrek-api.herokuapp.com/trips', + + validate(attributes) { + const errors = {}; + + const continents = ['Africa', 'Antartica', 'Asia', 'Australasia', 'Europe', 'North America', 'South America']; + + if (!attributes.name) { + errors['name']= ['Cannot be blank']; + } + + if (!attributes.continent) { + errors['continent'] = ['Cannot be blank']; + } else if (!continents.includes(attributes.continent)) { + errors['continent'] =['Is not a continent in the list']; + } + + if (!attributes.category) { + errors['category'] = ['Cannot be blank']; + } + + if (!attributes.weeks) { + errors['weeks'] = ['Cannot be blank']; + } else if (isNaN(attributes.weeks)) { + errors['weeks'] = ['Must be a number']; + } else if (attributes.weeks <= 0) { + errors['weeks']= ['Must be greater than 0']; + } + + if (!attributes.cost) { + errors['cost']= ['Cannot be blank']; + } else if (isNaN(attributes.cost)) { + errors['cost'] = ['Must be a number']; + } else if (attributes.weeks <= 0) { + errors['cost'] = ['Must be greater than 0']; + } + + if (Object.keys(errors).length > 0) { + return errors; + } + return false; + }, +}); + +export default Trip; diff --git a/src/css/favicon.png b/src/css/favicon.png new file mode 100644 index 0000000..b823905 Binary files /dev/null and b/src/css/favicon.png differ diff --git a/src/css/foundation.css b/src/css/foundation.css index c59eaf5..ac6648c 100644 --- a/src/css/foundation.css +++ b/src/css/foundation.css @@ -1,143 +1,188 @@ @charset "UTF-8"; /** * Foundation for Sites by ZURB - * Version 6.2.4 + * Version 6.4.2 * foundation.zurb.com * Licensed under MIT Open Source */ -/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ +@media print, screen and (min-width: 40em) { + .reveal, .reveal.tiny, .reveal.small, .reveal.large { + right: auto; + left: auto; + margin: 0 auto; } } + +/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */ +/* Document + ========================================================================== */ /** - * 1. Set default font family to sans-serif. - * 2. Prevent iOS and IE text size adjust after device orientation change, - * without disabling user zoom. - */ + * 1. Change the default font family in all browsers (opinionated). + * 2. Correct the line height in all browsers. + * 3. Prevent adjustments of font size after orientation changes in + * IE on Windows Phone and in iOS. + */ html { font-family: sans-serif; /* 1 */ - -ms-text-size-adjust: 100%; + line-height: 1.15; /* 2 */ + -ms-text-size-adjust: 100%; + /* 3 */ -webkit-text-size-adjust: 100%; - /* 2 */ } + /* 3 */ } +/* Sections + ========================================================================== */ /** - * Remove default margin. - */ + * Remove the margin in all browsers (opinionated). + */ body { margin: 0; } -/* HTML5 display definitions - ========================================================================== */ /** - * Correct `block` display not defined for any HTML5 element in IE 8/9. - * Correct `block` display not defined for `details` or `summary` in IE 10/11 - * and Firefox. - * Correct `block` display not defined for `main` in IE 11. - */ + * Add the correct display in IE 9-. + */ article, aside, -details, -figcaption, -figure, footer, header, -hgroup, -main, -menu, nav, -section, -summary { +section { display: block; } /** - * 1. Correct `inline-block` display not defined in IE 8/9. - * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. - */ -audio, -canvas, -progress, -video { - display: inline-block; + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ +h1 { + font-size: 2em; + margin: 0.67em 0; } + +/* Grouping content + ========================================================================== */ +/** + * Add the correct display in IE 9-. + */ +figcaption, +figure { + display: block; } + +/** + * Add the correct margin in IE 8. + */ +figure { + margin: 1em 40px; } + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ +hr { + box-sizing: content-box; /* 1 */ - vertical-align: baseline; + height: 0; + /* 1 */ + overflow: visible; /* 2 */ } /** - * Prevent modern browsers from displaying `audio` without controls. - * Remove excess height in iOS 5 devices. - */ -audio:not([controls]) { - display: none; - height: 0; } + * Add the correct display in IE. + */ +main { + display: block; } /** - * Address `[hidden]` styling not present in IE 8/9/10. - * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22. - */ -[hidden], -template { - display: none; } + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ +pre { + font-family: monospace, monospace; + /* 1 */ + font-size: 1em; + /* 2 */ } /* Links - ========================================================================== */ + ========================================================================== */ /** - * Remove the gray background color from active links in IE 10. - */ + * 1. Remove the gray background on active links in IE 10. + * 2. Remove gaps in links underline in iOS 8+ and Safari 8+. + */ a { - background-color: transparent; } + background-color: transparent; + /* 1 */ + -webkit-text-decoration-skip: objects; + /* 2 */ } /** - * Improve readability of focused elements when they are also in an - * active/hover state. - */ + * Remove the outline on focused links when they are also active or hovered + * in all browsers (opinionated). + */ a:active, a:hover { - outline: 0; } + outline-width: 0; } /* Text-level semantics - ========================================================================== */ + ========================================================================== */ /** - * Address styling not present in IE 8/9/10/11, Safari, and Chrome. - */ + * 1. Remove the bottom border in Firefox 39-. + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ abbr[title] { - border-bottom: 1px dotted; } + border-bottom: none; + /* 1 */ + text-decoration: underline; + /* 2 */ + text-decoration: underline dotted; + /* 2 */ } /** - * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. - */ + * Prevent the duplicate application of `bolder` by the next rule in Safari 6. + */ b, strong { - font-weight: bold; } + font-weight: inherit; } /** - * Address styling not present in Safari and Chrome. - */ -dfn { - font-style: italic; } + * Add the correct font weight in Chrome, Edge, and Safari. + */ +b, +strong { + font-weight: bolder; } /** - * Address variable `h1` font-size and margin within `section` and `article` - * contexts in Firefox 4+, Safari, and Chrome. - */ -h1 { - font-size: 2em; - margin: 0.67em 0; } + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ +code, +kbd, +samp { + font-family: monospace, monospace; + /* 1 */ + font-size: 1em; + /* 2 */ } /** - * Address styling not present in IE 8/9. - */ + * Add the correct font style in Android 4.3-. + */ +dfn { + font-style: italic; } + +/** + * Add the correct background and color in IE 9-. + */ mark { - background: #ff0; + background-color: #ff0; color: #000; } /** - * Address inconsistent and variable font size in all browsers. - */ + * Add the correct font size in all browsers. + */ small { font-size: 80%; } /** - * Prevent `sub` and `sup` affecting `line-height` in all browsers. - */ + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ sub, sup { font-size: 75%; @@ -145,228 +190,250 @@ sup { position: relative; vertical-align: baseline; } -sup { - top: -0.5em; } - sub { bottom: -0.25em; } -/* Embedded content - ========================================================================== */ -/** - * Remove border when inside `a` element in IE 8/9/10. - */ -img { - border: 0; } - -/** - * Correct overflow not hidden in IE 9/10/11. - */ -svg:not(:root) { - overflow: hidden; } +sup { + top: -0.5em; } -/* Grouping content - ========================================================================== */ +/* Embedded content + ========================================================================== */ /** - * Address margin not present in IE 8/9 and Safari. - */ -figure { - margin: 1em 40px; } + * Add the correct display in IE 9-. + */ +audio, +video { + display: inline-block; } /** - * Address differences between Firefox and other browsers. - */ -hr { - box-sizing: content-box; + * Add the correct display in iOS 4-7. + */ +audio:not([controls]) { + display: none; height: 0; } /** - * Contain overflow in all browsers. - */ -pre { - overflow: auto; } + * Remove the border on images inside links in IE 10-. + */ +img { + border-style: none; } /** - * Address odd `em`-unit font size rendering in all browsers. - */ -code, -kbd, -pre, -samp { - font-family: monospace, monospace; - font-size: 1em; } + * Hide the overflow in IE. + */ +svg:not(:root) { + overflow: hidden; } /* Forms - ========================================================================== */ -/** - * Known limitation: by default, Chrome and Safari on OS X allow very limited - * styling of `select`, unless a `border` property is set. - */ + ========================================================================== */ /** - * 1. Correct color not being inherited. - * Known issue: affects color of disabled elements. - * 2. Correct font properties not being inherited. - * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. - */ + * 1. Change the font styles in all browsers (opinionated). + * 2. Remove the margin in Firefox and Safari. + */ button, input, optgroup, select, textarea { - color: inherit; + font-family: sans-serif; + /* 1 */ + font-size: 100%; + /* 1 */ + line-height: 1.15; /* 1 */ - font: inherit; - /* 2 */ margin: 0; - /* 3 */ } + /* 2 */ } /** - * Address `overflow` set to `hidden` in IE 8/9/10/11. - */ + * Show the overflow in IE. + */ button { overflow: visible; } /** - * Address inconsistent `text-transform` inheritance for `button` and `select`. - * All other form control elements do not inherit `text-transform` values. - * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. - * Correct `select` style inheritance in Firefox. - */ + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ button, select { + /* 1 */ text-transform: none; } /** - * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` - * and `video` controls. - * 2. Correct inability to style clickable `input` types in iOS. - * 3. Improve usability and consistency of cursor style between image-type - * `input` and others. - */ + * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` + * controls in Android 4. + * 2. Correct the inability to style clickable types in iOS and Safari. + */ button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { +html [type="button"], +[type="reset"], +[type="submit"] { -webkit-appearance: button; - /* 2 */ - cursor: pointer; - /* 3 */ } - -/** - * Re-set default cursor for disabled elements. - */ -button[disabled], -html input[disabled] { - cursor: not-allowed; } + /* 2 */ } -/** - * Remove inner padding and border in Firefox 4+. - */ -button::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; } +button, +[type="button"], +[type="reset"], +[type="submit"] { + /** + * Remove the inner border and padding in Firefox. + */ + /** + * Restore the focus styles unset by the previous rule. + */ } + button::-moz-focus-inner, + [type="button"]::-moz-focus-inner, + [type="reset"]::-moz-focus-inner, + [type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; } + button:-moz-focusring, + [type="button"]:-moz-focusring, + [type="reset"]:-moz-focusring, + [type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; } /** - * Address Firefox 4+ setting `line-height` on `input` using `!important` in - * the UA stylesheet. - */ + * Show the overflow in Edge. + */ input { - line-height: normal; } + overflow: visible; } /** - * It's recommended that you don't attempt to style these elements. - * Firefox's implementation doesn't respect box-sizing, padding, or width. - * - * 1. Address box sizing set to `content-box` in IE 8/9/10. - * 2. Remove excess padding in IE 8/9/10. - */ -input[type="checkbox"], -input[type="radio"] { + * 1. Add the correct box sizing in IE 10-. + * 2. Remove the padding in IE 10-. + */ +[type="checkbox"], +[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } /** - * Fix the cursor style for Chrome's increment/decrement buttons. For certain - * `font-size` values of the `input`, it causes the cursor style of the - * decrement button to change from `default` to `text`. - */ -input[type="number"]::-webkit-inner-spin-button, -input[type="number"]::-webkit-outer-spin-button { + * Correct the cursor style of increment and decrement buttons in Chrome. + */ +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { height: auto; } /** - * 1. Address `appearance` set to `searchfield` in Safari and Chrome. - * 2. Address `box-sizing` set to `border-box` in Safari and Chrome. - */ -input[type="search"] { + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ +[type="search"] { -webkit-appearance: textfield; /* 1 */ - box-sizing: content-box; - /* 2 */ } + outline-offset: -2px; + /* 2 */ + /** + * Remove the inner padding and cancel buttons in Chrome and Safari on macOS. + */ } + [type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration { + -webkit-appearance: none; } /** - * Remove inner padding and search cancel button in Safari and Chrome on OS X. - * Safari (but not Chrome) clips the cancel button when the search input has - * padding (and `textfield` appearance). - */ -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; } + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ +::-webkit-file-upload-button { + -webkit-appearance: button; + /* 1 */ + font: inherit; + /* 2 */ } /** - * Define consistent border, margin, and padding. - * [NOTE] We don't enable this ruleset in Foundation, because we want the
element to have plain styling. - */ -/* fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; - } */ + * Change the border, margin, and padding in all browsers (opinionated). + */ +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; } + /** - * 1. Correct `color` not being inherited in IE 8/9/10/11. - * 2. Remove padding so people aren't caught out if they zero out fieldsets. - */ + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ legend { - border: 0; + box-sizing: border-box; + /* 1 */ + display: table; + /* 1 */ + max-width: 100%; /* 1 */ padding: 0; + /* 3 */ + color: inherit; + /* 2 */ + white-space: normal; + /* 1 */ } + +/** + * 1. Add the correct display in IE 9-. + * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ +progress { + display: inline-block; + /* 1 */ + vertical-align: baseline; /* 2 */ } /** - * Remove default vertical scrollbar in IE 8/9/10/11. - */ + * Remove the default vertical scrollbar in IE. + */ textarea { overflow: auto; } +/* Interactive + ========================================================================== */ +/* + * Add the correct display in Edge, IE, and Firefox. + */ +details { + display: block; } + +/* + * Add the correct display in all browsers. + */ +summary { + display: list-item; } + +/* + * Add the correct display in IE 9-. + */ +menu { + display: block; } + +/* Scripting + ========================================================================== */ /** - * Don't inherit the `font-weight` (applied by a rule above). - * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. - */ -optgroup { - font-weight: bold; } + * Add the correct display in IE 9-. + */ +canvas { + display: inline-block; } -/* Tables - ========================================================================== */ /** - * Remove most spacing between table cells. - */ -table { - border-collapse: collapse; - border-spacing: 0; } + * Add the correct display in IE. + */ +template { + display: none; } -td, -th { - padding: 0; } +/* Hidden + ========================================================================== */ +/** + * Add the correct display in IE 10-. + */ +[hidden] { + display: none; } .foundation-mq { font-family: "small=0em&medium=40em&large=64em&xlarge=75em&xxlarge=90em"; } html { - font-size: 100%; - box-sizing: border-box; } + box-sizing: border-box; + font-size: 100%; } *, *::before, @@ -374,22 +441,22 @@ html { box-sizing: inherit; } body { - padding: 0; margin: 0; + padding: 0; + background: #fefefe; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-weight: normal; line-height: 1.5; color: #0a0a0a; - background: #fefefe; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } img { + display: inline-block; + vertical-align: middle; max-width: 100%; height: auto; - -ms-interpolation-mode: bicubic; - display: inline-block; - vertical-align: middle; } + -ms-interpolation-mode: bicubic; } textarea { height: auto; @@ -397,12 +464,10 @@ textarea { border-radius: 0; } select { + box-sizing: border-box; width: 100%; border-radius: 0; } -#map_canvas img, -#map_canvas embed, -#map_canvas object, .map_canvas img, .map_canvas embed, .map_canvas object, @@ -412,769 +477,1705 @@ select { max-width: none !important; } button { - -webkit-appearance: none; - -moz-appearance: none; - background: transparent; padding: 0; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; border: 0; border-radius: 0; - line-height: 1; } + background: transparent; + line-height: 1; + cursor: auto; } [data-whatinput='mouse'] button { outline: 0; } +pre { + overflow: auto; } + +button, +input, +optgroup, +select, +textarea { + font-family: inherit; } + .is-visible { display: block !important; } .is-hidden { display: none !important; } -.row { +.grid-container { + padding-right: 0.625rem; + padding-left: 0.625rem; max-width: 75rem; - margin-left: auto; - margin-right: auto; } - .row::before, .row::after { - content: ' '; - display: table; } - .row::after { - clear: both; } - .row.collapse > .column, .row.collapse > .columns { + margin: 0 auto; } + @media print, screen and (min-width: 40em) { + .grid-container { + padding-right: 0.9375rem; + padding-left: 0.9375rem; } } + .grid-container.fluid { + padding-right: 0.625rem; + padding-left: 0.625rem; + max-width: 100%; + margin: 0 auto; } + @media print, screen and (min-width: 40em) { + .grid-container.fluid { + padding-right: 0.9375rem; + padding-left: 0.9375rem; } } + .grid-container.full { + padding-right: 0; padding-left: 0; - padding-right: 0; } - .row .row { - margin-left: -0.625rem; - margin-right: -0.625rem; } - @media screen and (min-width: 40em) { - .row .row { - margin-left: -0.9375rem; - margin-right: -0.9375rem; } } - .row .row.collapse { - margin-left: 0; - margin-right: 0; } - .row.expanded { - max-width: none; } - .row.expanded .row { - margin-left: auto; - margin-right: auto; } - -.column, .columns { - width: 100%; - float: left; - padding-left: 0.625rem; - padding-right: 0.625rem; } - @media screen and (min-width: 40em) { - .column, .columns { - padding-left: 0.9375rem; - padding-right: 0.9375rem; } } - .column:last-child:not(:first-child), .columns:last-child:not(:first-child) { - float: right; } - .column.end:last-child:last-child, .end.columns:last-child:last-child { - float: left; } - -.column.row.row, .row.row.columns { - float: none; } - -.row .column.row.row, .row .row.row.columns { - padding-left: 0; - padding-right: 0; - margin-left: 0; - margin-right: 0; } - -.small-1 { + max-width: 100%; + margin: 0 auto; } + +.grid-x { + display: -ms-flexbox; + display: flex; + -ms-flex-flow: row wrap; + flex-flow: row wrap; } + +.cell { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + min-height: 0px; + min-width: 0px; + width: 100%; } + .cell.auto { + -ms-flex: 1 1 0px; + flex: 1 1 0px; } + .cell.shrink { + -ms-flex: 0 0 auto; + flex: 0 0 auto; } + +.grid-x > .auto { + width: auto; } + +.grid-x > .shrink { + width: auto; } + +.grid-x > .small-shrink, .grid-x > .small-full, .grid-x > .small-1, .grid-x > .small-2, .grid-x > .small-3, .grid-x > .small-4, .grid-x > .small-5, .grid-x > .small-6, .grid-x > .small-7, .grid-x > .small-8, .grid-x > .small-9, .grid-x > .small-10, .grid-x > .small-11, .grid-x > .small-12 { + -ms-flex-preferred-size: auto; + flex-basis: auto; } + +@media print, screen and (min-width: 40em) { + .grid-x > .medium-shrink, .grid-x > .medium-full, .grid-x > .medium-1, .grid-x > .medium-2, .grid-x > .medium-3, .grid-x > .medium-4, .grid-x > .medium-5, .grid-x > .medium-6, .grid-x > .medium-7, .grid-x > .medium-8, .grid-x > .medium-9, .grid-x > .medium-10, .grid-x > .medium-11, .grid-x > .medium-12 { + -ms-flex-preferred-size: auto; + flex-basis: auto; } } + +@media print, screen and (min-width: 64em) { + .grid-x > .large-shrink, .grid-x > .large-full, .grid-x > .large-1, .grid-x > .large-2, .grid-x > .large-3, .grid-x > .large-4, .grid-x > .large-5, .grid-x > .large-6, .grid-x > .large-7, .grid-x > .large-8, .grid-x > .large-9, .grid-x > .large-10, .grid-x > .large-11, .grid-x > .large-12 { + -ms-flex-preferred-size: auto; + flex-basis: auto; } } + +.grid-x > .small-1 { width: 8.33333%; } -.small-push-1 { - position: relative; - left: 8.33333%; } +.grid-x > .small-2 { + width: 16.66667%; } -.small-pull-1 { - position: relative; - left: -8.33333%; } +.grid-x > .small-3 { + width: 25%; } -.small-offset-0 { - margin-left: 0%; } +.grid-x > .small-4 { + width: 33.33333%; } -.small-2 { - width: 16.66667%; } +.grid-x > .small-5 { + width: 41.66667%; } -.small-push-2 { - position: relative; - left: 16.66667%; } +.grid-x > .small-6 { + width: 50%; } -.small-pull-2 { - position: relative; - left: -16.66667%; } +.grid-x > .small-7 { + width: 58.33333%; } -.small-offset-1 { - margin-left: 8.33333%; } +.grid-x > .small-8 { + width: 66.66667%; } -.small-3 { - width: 25%; } +.grid-x > .small-9 { + width: 75%; } -.small-push-3 { - position: relative; - left: 25%; } +.grid-x > .small-10 { + width: 83.33333%; } -.small-pull-3 { - position: relative; - left: -25%; } +.grid-x > .small-11 { + width: 91.66667%; } -.small-offset-2 { - margin-left: 16.66667%; } +.grid-x > .small-12 { + width: 100%; } -.small-4 { - width: 33.33333%; } +@media print, screen and (min-width: 40em) { + .grid-x > .medium-auto { + -ms-flex: 1 1 0px; + flex: 1 1 0px; + width: auto; } + .grid-x > .medium-shrink { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; } + .grid-x > .medium-1 { + width: 8.33333%; } + .grid-x > .medium-2 { + width: 16.66667%; } + .grid-x > .medium-3 { + width: 25%; } + .grid-x > .medium-4 { + width: 33.33333%; } + .grid-x > .medium-5 { + width: 41.66667%; } + .grid-x > .medium-6 { + width: 50%; } + .grid-x > .medium-7 { + width: 58.33333%; } + .grid-x > .medium-8 { + width: 66.66667%; } + .grid-x > .medium-9 { + width: 75%; } + .grid-x > .medium-10 { + width: 83.33333%; } + .grid-x > .medium-11 { + width: 91.66667%; } + .grid-x > .medium-12 { + width: 100%; } } -.small-push-4 { - position: relative; - left: 33.33333%; } +@media print, screen and (min-width: 64em) { + .grid-x > .large-auto { + -ms-flex: 1 1 0px; + flex: 1 1 0px; + width: auto; } + .grid-x > .large-shrink { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; } + .grid-x > .large-1 { + width: 8.33333%; } + .grid-x > .large-2 { + width: 16.66667%; } + .grid-x > .large-3 { + width: 25%; } + .grid-x > .large-4 { + width: 33.33333%; } + .grid-x > .large-5 { + width: 41.66667%; } + .grid-x > .large-6 { + width: 50%; } + .grid-x > .large-7 { + width: 58.33333%; } + .grid-x > .large-8 { + width: 66.66667%; } + .grid-x > .large-9 { + width: 75%; } + .grid-x > .large-10 { + width: 83.33333%; } + .grid-x > .large-11 { + width: 91.66667%; } + .grid-x > .large-12 { + width: 100%; } } -.small-pull-4 { - position: relative; - left: -33.33333%; } +.grid-margin-x:not(.grid-x) > .cell { + width: auto; } -.small-offset-3 { - margin-left: 25%; } +.grid-margin-y:not(.grid-y) > .cell { + height: auto; } -.small-5 { - width: 41.66667%; } +.grid-margin-x { + margin-left: -0.625rem; + margin-right: -0.625rem; } + @media print, screen and (min-width: 40em) { + .grid-margin-x { + margin-left: -0.9375rem; + margin-right: -0.9375rem; } } + .grid-margin-x > .cell { + width: calc(100% - 1.25rem); + margin-left: 0.625rem; + margin-right: 0.625rem; } + @media print, screen and (min-width: 40em) { + .grid-margin-x > .cell { + width: calc(100% - 1.875rem); + margin-left: 0.9375rem; + margin-right: 0.9375rem; } } + .grid-margin-x > .auto { + width: auto; } + .grid-margin-x > .shrink { + width: auto; } + .grid-margin-x > .small-1 { + width: calc(8.33333% - 1.25rem); } + .grid-margin-x > .small-2 { + width: calc(16.66667% - 1.25rem); } + .grid-margin-x > .small-3 { + width: calc(25% - 1.25rem); } + .grid-margin-x > .small-4 { + width: calc(33.33333% - 1.25rem); } + .grid-margin-x > .small-5 { + width: calc(41.66667% - 1.25rem); } + .grid-margin-x > .small-6 { + width: calc(50% - 1.25rem); } + .grid-margin-x > .small-7 { + width: calc(58.33333% - 1.25rem); } + .grid-margin-x > .small-8 { + width: calc(66.66667% - 1.25rem); } + .grid-margin-x > .small-9 { + width: calc(75% - 1.25rem); } + .grid-margin-x > .small-10 { + width: calc(83.33333% - 1.25rem); } + .grid-margin-x > .small-11 { + width: calc(91.66667% - 1.25rem); } + .grid-margin-x > .small-12 { + width: calc(100% - 1.25rem); } + @media print, screen and (min-width: 40em) { + .grid-margin-x > .auto { + width: auto; } + .grid-margin-x > .shrink { + width: auto; } + .grid-margin-x > .small-1 { + width: calc(8.33333% - 1.875rem); } + .grid-margin-x > .small-2 { + width: calc(16.66667% - 1.875rem); } + .grid-margin-x > .small-3 { + width: calc(25% - 1.875rem); } + .grid-margin-x > .small-4 { + width: calc(33.33333% - 1.875rem); } + .grid-margin-x > .small-5 { + width: calc(41.66667% - 1.875rem); } + .grid-margin-x > .small-6 { + width: calc(50% - 1.875rem); } + .grid-margin-x > .small-7 { + width: calc(58.33333% - 1.875rem); } + .grid-margin-x > .small-8 { + width: calc(66.66667% - 1.875rem); } + .grid-margin-x > .small-9 { + width: calc(75% - 1.875rem); } + .grid-margin-x > .small-10 { + width: calc(83.33333% - 1.875rem); } + .grid-margin-x > .small-11 { + width: calc(91.66667% - 1.875rem); } + .grid-margin-x > .small-12 { + width: calc(100% - 1.875rem); } + .grid-margin-x > .medium-auto { + width: auto; } + .grid-margin-x > .medium-shrink { + width: auto; } + .grid-margin-x > .medium-1 { + width: calc(8.33333% - 1.875rem); } + .grid-margin-x > .medium-2 { + width: calc(16.66667% - 1.875rem); } + .grid-margin-x > .medium-3 { + width: calc(25% - 1.875rem); } + .grid-margin-x > .medium-4 { + width: calc(33.33333% - 1.875rem); } + .grid-margin-x > .medium-5 { + width: calc(41.66667% - 1.875rem); } + .grid-margin-x > .medium-6 { + width: calc(50% - 1.875rem); } + .grid-margin-x > .medium-7 { + width: calc(58.33333% - 1.875rem); } + .grid-margin-x > .medium-8 { + width: calc(66.66667% - 1.875rem); } + .grid-margin-x > .medium-9 { + width: calc(75% - 1.875rem); } + .grid-margin-x > .medium-10 { + width: calc(83.33333% - 1.875rem); } + .grid-margin-x > .medium-11 { + width: calc(91.66667% - 1.875rem); } + .grid-margin-x > .medium-12 { + width: calc(100% - 1.875rem); } } + @media print, screen and (min-width: 64em) { + .grid-margin-x > .large-auto { + width: auto; } + .grid-margin-x > .large-shrink { + width: auto; } + .grid-margin-x > .large-1 { + width: calc(8.33333% - 1.875rem); } + .grid-margin-x > .large-2 { + width: calc(16.66667% - 1.875rem); } + .grid-margin-x > .large-3 { + width: calc(25% - 1.875rem); } + .grid-margin-x > .large-4 { + width: calc(33.33333% - 1.875rem); } + .grid-margin-x > .large-5 { + width: calc(41.66667% - 1.875rem); } + .grid-margin-x > .large-6 { + width: calc(50% - 1.875rem); } + .grid-margin-x > .large-7 { + width: calc(58.33333% - 1.875rem); } + .grid-margin-x > .large-8 { + width: calc(66.66667% - 1.875rem); } + .grid-margin-x > .large-9 { + width: calc(75% - 1.875rem); } + .grid-margin-x > .large-10 { + width: calc(83.33333% - 1.875rem); } + .grid-margin-x > .large-11 { + width: calc(91.66667% - 1.875rem); } + .grid-margin-x > .large-12 { + width: calc(100% - 1.875rem); } } + +.grid-padding-x .grid-padding-x { + margin-right: -0.625rem; + margin-left: -0.625rem; } + @media print, screen and (min-width: 40em) { + .grid-padding-x .grid-padding-x { + margin-right: -0.9375rem; + margin-left: -0.9375rem; } } + +.grid-container:not(.full) > .grid-padding-x { + margin-right: -0.625rem; + margin-left: -0.625rem; } + @media print, screen and (min-width: 40em) { + .grid-container:not(.full) > .grid-padding-x { + margin-right: -0.9375rem; + margin-left: -0.9375rem; } } + +.grid-padding-x > .cell { + padding-right: 0.625rem; + padding-left: 0.625rem; } + @media print, screen and (min-width: 40em) { + .grid-padding-x > .cell { + padding-right: 0.9375rem; + padding-left: 0.9375rem; } } + +.small-up-1 > .cell { + width: 100%; } -.small-push-5 { - position: relative; - left: 41.66667%; } +.small-up-2 > .cell { + width: 50%; } -.small-pull-5 { - position: relative; - left: -41.66667%; } +.small-up-3 > .cell { + width: 33.33333%; } -.small-offset-4 { - margin-left: 33.33333%; } +.small-up-4 > .cell { + width: 25%; } -.small-6 { - width: 50%; } +.small-up-5 > .cell { + width: 20%; } -.small-push-6 { - position: relative; - left: 50%; } +.small-up-6 > .cell { + width: 16.66667%; } -.small-pull-6 { - position: relative; - left: -50%; } +.small-up-7 > .cell { + width: 14.28571%; } -.small-offset-5 { - margin-left: 41.66667%; } +.small-up-8 > .cell { + width: 12.5%; } -.small-7 { - width: 58.33333%; } +@media print, screen and (min-width: 40em) { + .medium-up-1 > .cell { + width: 100%; } + .medium-up-2 > .cell { + width: 50%; } + .medium-up-3 > .cell { + width: 33.33333%; } + .medium-up-4 > .cell { + width: 25%; } + .medium-up-5 > .cell { + width: 20%; } + .medium-up-6 > .cell { + width: 16.66667%; } + .medium-up-7 > .cell { + width: 14.28571%; } + .medium-up-8 > .cell { + width: 12.5%; } } -.small-push-7 { - position: relative; - left: 58.33333%; } +@media print, screen and (min-width: 64em) { + .large-up-1 > .cell { + width: 100%; } + .large-up-2 > .cell { + width: 50%; } + .large-up-3 > .cell { + width: 33.33333%; } + .large-up-4 > .cell { + width: 25%; } + .large-up-5 > .cell { + width: 20%; } + .large-up-6 > .cell { + width: 16.66667%; } + .large-up-7 > .cell { + width: 14.28571%; } + .large-up-8 > .cell { + width: 12.5%; } } + +.grid-margin-x.small-up-1 > .cell { + width: calc(100% - 1.25rem); } + +.grid-margin-x.small-up-2 > .cell { + width: calc(50% - 1.25rem); } + +.grid-margin-x.small-up-3 > .cell { + width: calc(33.33333% - 1.25rem); } + +.grid-margin-x.small-up-4 > .cell { + width: calc(25% - 1.25rem); } + +.grid-margin-x.small-up-5 > .cell { + width: calc(20% - 1.25rem); } + +.grid-margin-x.small-up-6 > .cell { + width: calc(16.66667% - 1.25rem); } + +.grid-margin-x.small-up-7 > .cell { + width: calc(14.28571% - 1.25rem); } + +.grid-margin-x.small-up-8 > .cell { + width: calc(12.5% - 1.25rem); } + +@media print, screen and (min-width: 40em) { + .grid-margin-x.small-up-1 > .cell { + width: calc(100% - 1.25rem); } + .grid-margin-x.small-up-2 > .cell { + width: calc(50% - 1.25rem); } + .grid-margin-x.small-up-3 > .cell { + width: calc(33.33333% - 1.25rem); } + .grid-margin-x.small-up-4 > .cell { + width: calc(25% - 1.25rem); } + .grid-margin-x.small-up-5 > .cell { + width: calc(20% - 1.25rem); } + .grid-margin-x.small-up-6 > .cell { + width: calc(16.66667% - 1.25rem); } + .grid-margin-x.small-up-7 > .cell { + width: calc(14.28571% - 1.25rem); } + .grid-margin-x.small-up-8 > .cell { + width: calc(12.5% - 1.25rem); } + .grid-margin-x.medium-up-1 > .cell { + width: calc(100% - 1.875rem); } + .grid-margin-x.medium-up-2 > .cell { + width: calc(50% - 1.875rem); } + .grid-margin-x.medium-up-3 > .cell { + width: calc(33.33333% - 1.875rem); } + .grid-margin-x.medium-up-4 > .cell { + width: calc(25% - 1.875rem); } + .grid-margin-x.medium-up-5 > .cell { + width: calc(20% - 1.875rem); } + .grid-margin-x.medium-up-6 > .cell { + width: calc(16.66667% - 1.875rem); } + .grid-margin-x.medium-up-7 > .cell { + width: calc(14.28571% - 1.875rem); } + .grid-margin-x.medium-up-8 > .cell { + width: calc(12.5% - 1.875rem); } } + +@media print, screen and (min-width: 64em) { + .grid-margin-x.large-up-1 > .cell { + width: calc(100% - 1.875rem); } + .grid-margin-x.large-up-2 > .cell { + width: calc(50% - 1.875rem); } + .grid-margin-x.large-up-3 > .cell { + width: calc(33.33333% - 1.875rem); } + .grid-margin-x.large-up-4 > .cell { + width: calc(25% - 1.875rem); } + .grid-margin-x.large-up-5 > .cell { + width: calc(20% - 1.875rem); } + .grid-margin-x.large-up-6 > .cell { + width: calc(16.66667% - 1.875rem); } + .grid-margin-x.large-up-7 > .cell { + width: calc(14.28571% - 1.875rem); } + .grid-margin-x.large-up-8 > .cell { + width: calc(12.5% - 1.875rem); } } + +.small-margin-collapse { + margin-right: 0; + margin-left: 0; } + .small-margin-collapse > .cell { + margin-right: 0; + margin-left: 0; } + .small-margin-collapse > .small-1 { + width: 8.33333%; } + .small-margin-collapse > .small-2 { + width: 16.66667%; } + .small-margin-collapse > .small-3 { + width: 25%; } + .small-margin-collapse > .small-4 { + width: 33.33333%; } + .small-margin-collapse > .small-5 { + width: 41.66667%; } + .small-margin-collapse > .small-6 { + width: 50%; } + .small-margin-collapse > .small-7 { + width: 58.33333%; } + .small-margin-collapse > .small-8 { + width: 66.66667%; } + .small-margin-collapse > .small-9 { + width: 75%; } + .small-margin-collapse > .small-10 { + width: 83.33333%; } + .small-margin-collapse > .small-11 { + width: 91.66667%; } + .small-margin-collapse > .small-12 { + width: 100%; } + @media print, screen and (min-width: 40em) { + .small-margin-collapse > .medium-1 { + width: 8.33333%; } + .small-margin-collapse > .medium-2 { + width: 16.66667%; } + .small-margin-collapse > .medium-3 { + width: 25%; } + .small-margin-collapse > .medium-4 { + width: 33.33333%; } + .small-margin-collapse > .medium-5 { + width: 41.66667%; } + .small-margin-collapse > .medium-6 { + width: 50%; } + .small-margin-collapse > .medium-7 { + width: 58.33333%; } + .small-margin-collapse > .medium-8 { + width: 66.66667%; } + .small-margin-collapse > .medium-9 { + width: 75%; } + .small-margin-collapse > .medium-10 { + width: 83.33333%; } + .small-margin-collapse > .medium-11 { + width: 91.66667%; } + .small-margin-collapse > .medium-12 { + width: 100%; } } + @media print, screen and (min-width: 64em) { + .small-margin-collapse > .large-1 { + width: 8.33333%; } + .small-margin-collapse > .large-2 { + width: 16.66667%; } + .small-margin-collapse > .large-3 { + width: 25%; } + .small-margin-collapse > .large-4 { + width: 33.33333%; } + .small-margin-collapse > .large-5 { + width: 41.66667%; } + .small-margin-collapse > .large-6 { + width: 50%; } + .small-margin-collapse > .large-7 { + width: 58.33333%; } + .small-margin-collapse > .large-8 { + width: 66.66667%; } + .small-margin-collapse > .large-9 { + width: 75%; } + .small-margin-collapse > .large-10 { + width: 83.33333%; } + .small-margin-collapse > .large-11 { + width: 91.66667%; } + .small-margin-collapse > .large-12 { + width: 100%; } } -.small-pull-7 { - position: relative; - left: -58.33333%; } +.small-padding-collapse { + margin-right: 0; + margin-left: 0; } + .small-padding-collapse > .cell { + padding-right: 0; + padding-left: 0; } -.small-offset-6 { - margin-left: 50%; } +@media print, screen and (min-width: 40em) { + .medium-margin-collapse { + margin-right: 0; + margin-left: 0; } + .medium-margin-collapse > .cell { + margin-right: 0; + margin-left: 0; } } -.small-8 { - width: 66.66667%; } +@media print, screen and (min-width: 40em) { + .medium-margin-collapse > .small-1 { + width: 8.33333%; } + .medium-margin-collapse > .small-2 { + width: 16.66667%; } + .medium-margin-collapse > .small-3 { + width: 25%; } + .medium-margin-collapse > .small-4 { + width: 33.33333%; } + .medium-margin-collapse > .small-5 { + width: 41.66667%; } + .medium-margin-collapse > .small-6 { + width: 50%; } + .medium-margin-collapse > .small-7 { + width: 58.33333%; } + .medium-margin-collapse > .small-8 { + width: 66.66667%; } + .medium-margin-collapse > .small-9 { + width: 75%; } + .medium-margin-collapse > .small-10 { + width: 83.33333%; } + .medium-margin-collapse > .small-11 { + width: 91.66667%; } + .medium-margin-collapse > .small-12 { + width: 100%; } } -.small-push-8 { - position: relative; - left: 66.66667%; } +@media print, screen and (min-width: 40em) { + .medium-margin-collapse > .medium-1 { + width: 8.33333%; } + .medium-margin-collapse > .medium-2 { + width: 16.66667%; } + .medium-margin-collapse > .medium-3 { + width: 25%; } + .medium-margin-collapse > .medium-4 { + width: 33.33333%; } + .medium-margin-collapse > .medium-5 { + width: 41.66667%; } + .medium-margin-collapse > .medium-6 { + width: 50%; } + .medium-margin-collapse > .medium-7 { + width: 58.33333%; } + .medium-margin-collapse > .medium-8 { + width: 66.66667%; } + .medium-margin-collapse > .medium-9 { + width: 75%; } + .medium-margin-collapse > .medium-10 { + width: 83.33333%; } + .medium-margin-collapse > .medium-11 { + width: 91.66667%; } + .medium-margin-collapse > .medium-12 { + width: 100%; } } -.small-pull-8 { - position: relative; - left: -66.66667%; } +@media print, screen and (min-width: 64em) { + .medium-margin-collapse > .large-1 { + width: 8.33333%; } + .medium-margin-collapse > .large-2 { + width: 16.66667%; } + .medium-margin-collapse > .large-3 { + width: 25%; } + .medium-margin-collapse > .large-4 { + width: 33.33333%; } + .medium-margin-collapse > .large-5 { + width: 41.66667%; } + .medium-margin-collapse > .large-6 { + width: 50%; } + .medium-margin-collapse > .large-7 { + width: 58.33333%; } + .medium-margin-collapse > .large-8 { + width: 66.66667%; } + .medium-margin-collapse > .large-9 { + width: 75%; } + .medium-margin-collapse > .large-10 { + width: 83.33333%; } + .medium-margin-collapse > .large-11 { + width: 91.66667%; } + .medium-margin-collapse > .large-12 { + width: 100%; } } -.small-offset-7 { - margin-left: 58.33333%; } +@media print, screen and (min-width: 40em) { + .medium-padding-collapse { + margin-right: 0; + margin-left: 0; } + .medium-padding-collapse > .cell { + padding-right: 0; + padding-left: 0; } } -.small-9 { - width: 75%; } +@media print, screen and (min-width: 64em) { + .large-margin-collapse { + margin-right: 0; + margin-left: 0; } + .large-margin-collapse > .cell { + margin-right: 0; + margin-left: 0; } } -.small-push-9 { - position: relative; - left: 75%; } +@media print, screen and (min-width: 64em) { + .large-margin-collapse > .small-1 { + width: 8.33333%; } + .large-margin-collapse > .small-2 { + width: 16.66667%; } + .large-margin-collapse > .small-3 { + width: 25%; } + .large-margin-collapse > .small-4 { + width: 33.33333%; } + .large-margin-collapse > .small-5 { + width: 41.66667%; } + .large-margin-collapse > .small-6 { + width: 50%; } + .large-margin-collapse > .small-7 { + width: 58.33333%; } + .large-margin-collapse > .small-8 { + width: 66.66667%; } + .large-margin-collapse > .small-9 { + width: 75%; } + .large-margin-collapse > .small-10 { + width: 83.33333%; } + .large-margin-collapse > .small-11 { + width: 91.66667%; } + .large-margin-collapse > .small-12 { + width: 100%; } } -.small-pull-9 { - position: relative; - left: -75%; } +@media print, screen and (min-width: 64em) { + .large-margin-collapse > .medium-1 { + width: 8.33333%; } + .large-margin-collapse > .medium-2 { + width: 16.66667%; } + .large-margin-collapse > .medium-3 { + width: 25%; } + .large-margin-collapse > .medium-4 { + width: 33.33333%; } + .large-margin-collapse > .medium-5 { + width: 41.66667%; } + .large-margin-collapse > .medium-6 { + width: 50%; } + .large-margin-collapse > .medium-7 { + width: 58.33333%; } + .large-margin-collapse > .medium-8 { + width: 66.66667%; } + .large-margin-collapse > .medium-9 { + width: 75%; } + .large-margin-collapse > .medium-10 { + width: 83.33333%; } + .large-margin-collapse > .medium-11 { + width: 91.66667%; } + .large-margin-collapse > .medium-12 { + width: 100%; } } -.small-offset-8 { - margin-left: 66.66667%; } +@media print, screen and (min-width: 64em) { + .large-margin-collapse > .large-1 { + width: 8.33333%; } + .large-margin-collapse > .large-2 { + width: 16.66667%; } + .large-margin-collapse > .large-3 { + width: 25%; } + .large-margin-collapse > .large-4 { + width: 33.33333%; } + .large-margin-collapse > .large-5 { + width: 41.66667%; } + .large-margin-collapse > .large-6 { + width: 50%; } + .large-margin-collapse > .large-7 { + width: 58.33333%; } + .large-margin-collapse > .large-8 { + width: 66.66667%; } + .large-margin-collapse > .large-9 { + width: 75%; } + .large-margin-collapse > .large-10 { + width: 83.33333%; } + .large-margin-collapse > .large-11 { + width: 91.66667%; } + .large-margin-collapse > .large-12 { + width: 100%; } } -.small-10 { - width: 83.33333%; } +@media print, screen and (min-width: 64em) { + .large-padding-collapse { + margin-right: 0; + margin-left: 0; } + .large-padding-collapse > .cell { + padding-right: 0; + padding-left: 0; } } -.small-push-10 { - position: relative; - left: 83.33333%; } +.small-offset-0 { + margin-left: 0%; } -.small-pull-10 { - position: relative; - left: -83.33333%; } +.grid-margin-x > .small-offset-0 { + margin-left: calc(0% + 0.625rem); } -.small-offset-9 { - margin-left: 75%; } +.small-offset-1 { + margin-left: 8.33333%; } -.small-11 { - width: 91.66667%; } +.grid-margin-x > .small-offset-1 { + margin-left: calc(8.33333% + 0.625rem); } -.small-push-11 { - position: relative; - left: 91.66667%; } +.small-offset-2 { + margin-left: 16.66667%; } -.small-pull-11 { - position: relative; - left: -91.66667%; } +.grid-margin-x > .small-offset-2 { + margin-left: calc(16.66667% + 0.625rem); } -.small-offset-10 { - margin-left: 83.33333%; } +.small-offset-3 { + margin-left: 25%; } -.small-12 { - width: 100%; } +.grid-margin-x > .small-offset-3 { + margin-left: calc(25% + 0.625rem); } -.small-offset-11 { - margin-left: 91.66667%; } +.small-offset-4 { + margin-left: 33.33333%; } -.small-up-1 > .column, .small-up-1 > .columns { - width: 100%; - float: left; } - .small-up-1 > .column:nth-of-type(1n), .small-up-1 > .columns:nth-of-type(1n) { - clear: none; } - .small-up-1 > .column:nth-of-type(1n+1), .small-up-1 > .columns:nth-of-type(1n+1) { - clear: both; } - .small-up-1 > .column:last-child, .small-up-1 > .columns:last-child { - float: left; } +.grid-margin-x > .small-offset-4 { + margin-left: calc(33.33333% + 0.625rem); } -.small-up-2 > .column, .small-up-2 > .columns { - width: 50%; - float: left; } - .small-up-2 > .column:nth-of-type(1n), .small-up-2 > .columns:nth-of-type(1n) { - clear: none; } - .small-up-2 > .column:nth-of-type(2n+1), .small-up-2 > .columns:nth-of-type(2n+1) { - clear: both; } - .small-up-2 > .column:last-child, .small-up-2 > .columns:last-child { - float: left; } +.small-offset-5 { + margin-left: 41.66667%; } -.small-up-3 > .column, .small-up-3 > .columns { - width: 33.33333%; - float: left; } - .small-up-3 > .column:nth-of-type(1n), .small-up-3 > .columns:nth-of-type(1n) { - clear: none; } - .small-up-3 > .column:nth-of-type(3n+1), .small-up-3 > .columns:nth-of-type(3n+1) { - clear: both; } - .small-up-3 > .column:last-child, .small-up-3 > .columns:last-child { - float: left; } +.grid-margin-x > .small-offset-5 { + margin-left: calc(41.66667% + 0.625rem); } -.small-up-4 > .column, .small-up-4 > .columns { - width: 25%; - float: left; } - .small-up-4 > .column:nth-of-type(1n), .small-up-4 > .columns:nth-of-type(1n) { - clear: none; } - .small-up-4 > .column:nth-of-type(4n+1), .small-up-4 > .columns:nth-of-type(4n+1) { - clear: both; } - .small-up-4 > .column:last-child, .small-up-4 > .columns:last-child { - float: left; } +.small-offset-6 { + margin-left: 50%; } -.small-up-5 > .column, .small-up-5 > .columns { - width: 20%; - float: left; } - .small-up-5 > .column:nth-of-type(1n), .small-up-5 > .columns:nth-of-type(1n) { - clear: none; } - .small-up-5 > .column:nth-of-type(5n+1), .small-up-5 > .columns:nth-of-type(5n+1) { - clear: both; } - .small-up-5 > .column:last-child, .small-up-5 > .columns:last-child { - float: left; } +.grid-margin-x > .small-offset-6 { + margin-left: calc(50% + 0.625rem); } + +.small-offset-7 { + margin-left: 58.33333%; } -.small-up-6 > .column, .small-up-6 > .columns { - width: 16.66667%; - float: left; } - .small-up-6 > .column:nth-of-type(1n), .small-up-6 > .columns:nth-of-type(1n) { - clear: none; } - .small-up-6 > .column:nth-of-type(6n+1), .small-up-6 > .columns:nth-of-type(6n+1) { - clear: both; } - .small-up-6 > .column:last-child, .small-up-6 > .columns:last-child { - float: left; } +.grid-margin-x > .small-offset-7 { + margin-left: calc(58.33333% + 0.625rem); } -.small-up-7 > .column, .small-up-7 > .columns { - width: 14.28571%; - float: left; } - .small-up-7 > .column:nth-of-type(1n), .small-up-7 > .columns:nth-of-type(1n) { - clear: none; } - .small-up-7 > .column:nth-of-type(7n+1), .small-up-7 > .columns:nth-of-type(7n+1) { - clear: both; } - .small-up-7 > .column:last-child, .small-up-7 > .columns:last-child { - float: left; } +.small-offset-8 { + margin-left: 66.66667%; } -.small-up-8 > .column, .small-up-8 > .columns { - width: 12.5%; - float: left; } - .small-up-8 > .column:nth-of-type(1n), .small-up-8 > .columns:nth-of-type(1n) { - clear: none; } - .small-up-8 > .column:nth-of-type(8n+1), .small-up-8 > .columns:nth-of-type(8n+1) { - clear: both; } - .small-up-8 > .column:last-child, .small-up-8 > .columns:last-child { - float: left; } +.grid-margin-x > .small-offset-8 { + margin-left: calc(66.66667% + 0.625rem); } -.small-collapse > .column, .small-collapse > .columns { - padding-left: 0; - padding-right: 0; } +.small-offset-9 { + margin-left: 75%; } -.small-collapse .row { - margin-left: 0; - margin-right: 0; } +.grid-margin-x > .small-offset-9 { + margin-left: calc(75% + 0.625rem); } -.expanded.row .small-collapse.row { - margin-left: 0; - margin-right: 0; } +.small-offset-10 { + margin-left: 83.33333%; } -.small-uncollapse > .column, .small-uncollapse > .columns { - padding-left: 0.625rem; - padding-right: 0.625rem; } +.grid-margin-x > .small-offset-10 { + margin-left: calc(83.33333% + 0.625rem); } -.small-centered { - margin-left: auto; - margin-right: auto; } - .small-centered, .small-centered:last-child:not(:first-child) { - float: none; - clear: both; } +.small-offset-11 { + margin-left: 91.66667%; } -.small-uncentered, -.small-push-0, -.small-pull-0 { - position: static; - margin-left: 0; - margin-right: 0; - float: left; } +.grid-margin-x > .small-offset-11 { + margin-left: calc(91.66667% + 0.625rem); } -@media screen and (min-width: 40em) { - .medium-1 { - width: 8.33333%; } - .medium-push-1 { - position: relative; - left: 8.33333%; } - .medium-pull-1 { - position: relative; - left: -8.33333%; } +@media print, screen and (min-width: 40em) { .medium-offset-0 { margin-left: 0%; } - .medium-2 { - width: 16.66667%; } - .medium-push-2 { - position: relative; - left: 16.66667%; } - .medium-pull-2 { - position: relative; - left: -16.66667%; } + .grid-margin-x > .medium-offset-0 { + margin-left: calc(0% + 0.9375rem); } .medium-offset-1 { margin-left: 8.33333%; } - .medium-3 { - width: 25%; } - .medium-push-3 { - position: relative; - left: 25%; } - .medium-pull-3 { - position: relative; - left: -25%; } + .grid-margin-x > .medium-offset-1 { + margin-left: calc(8.33333% + 0.9375rem); } .medium-offset-2 { margin-left: 16.66667%; } - .medium-4 { - width: 33.33333%; } - .medium-push-4 { - position: relative; - left: 33.33333%; } - .medium-pull-4 { - position: relative; - left: -33.33333%; } + .grid-margin-x > .medium-offset-2 { + margin-left: calc(16.66667% + 0.9375rem); } .medium-offset-3 { margin-left: 25%; } - .medium-5 { - width: 41.66667%; } - .medium-push-5 { - position: relative; - left: 41.66667%; } - .medium-pull-5 { - position: relative; - left: -41.66667%; } + .grid-margin-x > .medium-offset-3 { + margin-left: calc(25% + 0.9375rem); } .medium-offset-4 { margin-left: 33.33333%; } - .medium-6 { - width: 50%; } - .medium-push-6 { - position: relative; - left: 50%; } - .medium-pull-6 { - position: relative; - left: -50%; } + .grid-margin-x > .medium-offset-4 { + margin-left: calc(33.33333% + 0.9375rem); } .medium-offset-5 { margin-left: 41.66667%; } - .medium-7 { - width: 58.33333%; } - .medium-push-7 { - position: relative; - left: 58.33333%; } - .medium-pull-7 { - position: relative; - left: -58.33333%; } + .grid-margin-x > .medium-offset-5 { + margin-left: calc(41.66667% + 0.9375rem); } .medium-offset-6 { margin-left: 50%; } - .medium-8 { - width: 66.66667%; } - .medium-push-8 { - position: relative; - left: 66.66667%; } - .medium-pull-8 { - position: relative; - left: -66.66667%; } + .grid-margin-x > .medium-offset-6 { + margin-left: calc(50% + 0.9375rem); } .medium-offset-7 { margin-left: 58.33333%; } - .medium-9 { - width: 75%; } - .medium-push-9 { - position: relative; - left: 75%; } - .medium-pull-9 { - position: relative; - left: -75%; } + .grid-margin-x > .medium-offset-7 { + margin-left: calc(58.33333% + 0.9375rem); } .medium-offset-8 { margin-left: 66.66667%; } - .medium-10 { - width: 83.33333%; } - .medium-push-10 { - position: relative; - left: 83.33333%; } - .medium-pull-10 { - position: relative; - left: -83.33333%; } + .grid-margin-x > .medium-offset-8 { + margin-left: calc(66.66667% + 0.9375rem); } .medium-offset-9 { margin-left: 75%; } - .medium-11 { - width: 91.66667%; } - .medium-push-11 { - position: relative; - left: 91.66667%; } - .medium-pull-11 { - position: relative; - left: -91.66667%; } + .grid-margin-x > .medium-offset-9 { + margin-left: calc(75% + 0.9375rem); } .medium-offset-10 { margin-left: 83.33333%; } - .medium-12 { - width: 100%; } + .grid-margin-x > .medium-offset-10 { + margin-left: calc(83.33333% + 0.9375rem); } .medium-offset-11 { margin-left: 91.66667%; } - .medium-up-1 > .column, .medium-up-1 > .columns { - width: 100%; - float: left; } - .medium-up-1 > .column:nth-of-type(1n), .medium-up-1 > .columns:nth-of-type(1n) { - clear: none; } - .medium-up-1 > .column:nth-of-type(1n+1), .medium-up-1 > .columns:nth-of-type(1n+1) { - clear: both; } - .medium-up-1 > .column:last-child, .medium-up-1 > .columns:last-child { - float: left; } - .medium-up-2 > .column, .medium-up-2 > .columns { - width: 50%; - float: left; } - .medium-up-2 > .column:nth-of-type(1n), .medium-up-2 > .columns:nth-of-type(1n) { - clear: none; } - .medium-up-2 > .column:nth-of-type(2n+1), .medium-up-2 > .columns:nth-of-type(2n+1) { - clear: both; } - .medium-up-2 > .column:last-child, .medium-up-2 > .columns:last-child { - float: left; } - .medium-up-3 > .column, .medium-up-3 > .columns { - width: 33.33333%; - float: left; } - .medium-up-3 > .column:nth-of-type(1n), .medium-up-3 > .columns:nth-of-type(1n) { - clear: none; } - .medium-up-3 > .column:nth-of-type(3n+1), .medium-up-3 > .columns:nth-of-type(3n+1) { - clear: both; } - .medium-up-3 > .column:last-child, .medium-up-3 > .columns:last-child { - float: left; } - .medium-up-4 > .column, .medium-up-4 > .columns { - width: 25%; - float: left; } - .medium-up-4 > .column:nth-of-type(1n), .medium-up-4 > .columns:nth-of-type(1n) { - clear: none; } - .medium-up-4 > .column:nth-of-type(4n+1), .medium-up-4 > .columns:nth-of-type(4n+1) { - clear: both; } - .medium-up-4 > .column:last-child, .medium-up-4 > .columns:last-child { - float: left; } - .medium-up-5 > .column, .medium-up-5 > .columns { - width: 20%; - float: left; } - .medium-up-5 > .column:nth-of-type(1n), .medium-up-5 > .columns:nth-of-type(1n) { - clear: none; } - .medium-up-5 > .column:nth-of-type(5n+1), .medium-up-5 > .columns:nth-of-type(5n+1) { - clear: both; } - .medium-up-5 > .column:last-child, .medium-up-5 > .columns:last-child { - float: left; } - .medium-up-6 > .column, .medium-up-6 > .columns { - width: 16.66667%; - float: left; } - .medium-up-6 > .column:nth-of-type(1n), .medium-up-6 > .columns:nth-of-type(1n) { - clear: none; } - .medium-up-6 > .column:nth-of-type(6n+1), .medium-up-6 > .columns:nth-of-type(6n+1) { - clear: both; } - .medium-up-6 > .column:last-child, .medium-up-6 > .columns:last-child { - float: left; } - .medium-up-7 > .column, .medium-up-7 > .columns { - width: 14.28571%; - float: left; } - .medium-up-7 > .column:nth-of-type(1n), .medium-up-7 > .columns:nth-of-type(1n) { - clear: none; } - .medium-up-7 > .column:nth-of-type(7n+1), .medium-up-7 > .columns:nth-of-type(7n+1) { - clear: both; } - .medium-up-7 > .column:last-child, .medium-up-7 > .columns:last-child { - float: left; } - .medium-up-8 > .column, .medium-up-8 > .columns { - width: 12.5%; - float: left; } - .medium-up-8 > .column:nth-of-type(1n), .medium-up-8 > .columns:nth-of-type(1n) { - clear: none; } - .medium-up-8 > .column:nth-of-type(8n+1), .medium-up-8 > .columns:nth-of-type(8n+1) { - clear: both; } - .medium-up-8 > .column:last-child, .medium-up-8 > .columns:last-child { - float: left; } - .medium-collapse > .column, .medium-collapse > .columns { - padding-left: 0; - padding-right: 0; } - .medium-collapse .row { - margin-left: 0; - margin-right: 0; } - .expanded.row .medium-collapse.row { - margin-left: 0; - margin-right: 0; } - .medium-uncollapse > .column, .medium-uncollapse > .columns { - padding-left: 0.9375rem; - padding-right: 0.9375rem; } - .medium-centered { - margin-left: auto; - margin-right: auto; } - .medium-centered, .medium-centered:last-child:not(:first-child) { - float: none; - clear: both; } - .medium-uncentered, - .medium-push-0, - .medium-pull-0 { - position: static; - margin-left: 0; - margin-right: 0; - float: left; } } + .grid-margin-x > .medium-offset-11 { + margin-left: calc(91.66667% + 0.9375rem); } } -@media screen and (min-width: 64em) { - .large-1 { - width: 8.33333%; } - .large-push-1 { - position: relative; - left: 8.33333%; } - .large-pull-1 { - position: relative; - left: -8.33333%; } +@media print, screen and (min-width: 64em) { .large-offset-0 { margin-left: 0%; } - .large-2 { - width: 16.66667%; } - .large-push-2 { - position: relative; - left: 16.66667%; } - .large-pull-2 { - position: relative; - left: -16.66667%; } + .grid-margin-x > .large-offset-0 { + margin-left: calc(0% + 0.9375rem); } .large-offset-1 { margin-left: 8.33333%; } - .large-3 { - width: 25%; } - .large-push-3 { - position: relative; - left: 25%; } - .large-pull-3 { - position: relative; - left: -25%; } + .grid-margin-x > .large-offset-1 { + margin-left: calc(8.33333% + 0.9375rem); } .large-offset-2 { margin-left: 16.66667%; } - .large-4 { - width: 33.33333%; } - .large-push-4 { - position: relative; - left: 33.33333%; } - .large-pull-4 { - position: relative; - left: -33.33333%; } + .grid-margin-x > .large-offset-2 { + margin-left: calc(16.66667% + 0.9375rem); } .large-offset-3 { margin-left: 25%; } - .large-5 { - width: 41.66667%; } - .large-push-5 { - position: relative; - left: 41.66667%; } - .large-pull-5 { - position: relative; - left: -41.66667%; } + .grid-margin-x > .large-offset-3 { + margin-left: calc(25% + 0.9375rem); } .large-offset-4 { margin-left: 33.33333%; } - .large-6 { - width: 50%; } - .large-push-6 { - position: relative; - left: 50%; } - .large-pull-6 { - position: relative; - left: -50%; } + .grid-margin-x > .large-offset-4 { + margin-left: calc(33.33333% + 0.9375rem); } .large-offset-5 { margin-left: 41.66667%; } - .large-7 { - width: 58.33333%; } - .large-push-7 { - position: relative; - left: 58.33333%; } - .large-pull-7 { - position: relative; - left: -58.33333%; } + .grid-margin-x > .large-offset-5 { + margin-left: calc(41.66667% + 0.9375rem); } .large-offset-6 { margin-left: 50%; } - .large-8 { - width: 66.66667%; } - .large-push-8 { - position: relative; - left: 66.66667%; } - .large-pull-8 { - position: relative; - left: -66.66667%; } + .grid-margin-x > .large-offset-6 { + margin-left: calc(50% + 0.9375rem); } .large-offset-7 { margin-left: 58.33333%; } - .large-9 { - width: 75%; } - .large-push-9 { - position: relative; - left: 75%; } - .large-pull-9 { - position: relative; - left: -75%; } + .grid-margin-x > .large-offset-7 { + margin-left: calc(58.33333% + 0.9375rem); } .large-offset-8 { margin-left: 66.66667%; } - .large-10 { - width: 83.33333%; } - .large-push-10 { - position: relative; - left: 83.33333%; } - .large-pull-10 { - position: relative; - left: -83.33333%; } + .grid-margin-x > .large-offset-8 { + margin-left: calc(66.66667% + 0.9375rem); } .large-offset-9 { margin-left: 75%; } - .large-11 { - width: 91.66667%; } - .large-push-11 { - position: relative; - left: 91.66667%; } - .large-pull-11 { - position: relative; - left: -91.66667%; } + .grid-margin-x > .large-offset-9 { + margin-left: calc(75% + 0.9375rem); } .large-offset-10 { margin-left: 83.33333%; } - .large-12 { - width: 100%; } + .grid-margin-x > .large-offset-10 { + margin-left: calc(83.33333% + 0.9375rem); } .large-offset-11 { margin-left: 91.66667%; } - .large-up-1 > .column, .large-up-1 > .columns { - width: 100%; - float: left; } - .large-up-1 > .column:nth-of-type(1n), .large-up-1 > .columns:nth-of-type(1n) { - clear: none; } - .large-up-1 > .column:nth-of-type(1n+1), .large-up-1 > .columns:nth-of-type(1n+1) { - clear: both; } - .large-up-1 > .column:last-child, .large-up-1 > .columns:last-child { - float: left; } - .large-up-2 > .column, .large-up-2 > .columns { - width: 50%; - float: left; } - .large-up-2 > .column:nth-of-type(1n), .large-up-2 > .columns:nth-of-type(1n) { - clear: none; } - .large-up-2 > .column:nth-of-type(2n+1), .large-up-2 > .columns:nth-of-type(2n+1) { - clear: both; } - .large-up-2 > .column:last-child, .large-up-2 > .columns:last-child { - float: left; } - .large-up-3 > .column, .large-up-3 > .columns { - width: 33.33333%; - float: left; } - .large-up-3 > .column:nth-of-type(1n), .large-up-3 > .columns:nth-of-type(1n) { - clear: none; } - .large-up-3 > .column:nth-of-type(3n+1), .large-up-3 > .columns:nth-of-type(3n+1) { - clear: both; } - .large-up-3 > .column:last-child, .large-up-3 > .columns:last-child { - float: left; } - .large-up-4 > .column, .large-up-4 > .columns { - width: 25%; - float: left; } - .large-up-4 > .column:nth-of-type(1n), .large-up-4 > .columns:nth-of-type(1n) { - clear: none; } - .large-up-4 > .column:nth-of-type(4n+1), .large-up-4 > .columns:nth-of-type(4n+1) { - clear: both; } - .large-up-4 > .column:last-child, .large-up-4 > .columns:last-child { - float: left; } - .large-up-5 > .column, .large-up-5 > .columns { - width: 20%; - float: left; } - .large-up-5 > .column:nth-of-type(1n), .large-up-5 > .columns:nth-of-type(1n) { - clear: none; } - .large-up-5 > .column:nth-of-type(5n+1), .large-up-5 > .columns:nth-of-type(5n+1) { - clear: both; } - .large-up-5 > .column:last-child, .large-up-5 > .columns:last-child { - float: left; } - .large-up-6 > .column, .large-up-6 > .columns { - width: 16.66667%; - float: left; } - .large-up-6 > .column:nth-of-type(1n), .large-up-6 > .columns:nth-of-type(1n) { - clear: none; } - .large-up-6 > .column:nth-of-type(6n+1), .large-up-6 > .columns:nth-of-type(6n+1) { - clear: both; } - .large-up-6 > .column:last-child, .large-up-6 > .columns:last-child { - float: left; } - .large-up-7 > .column, .large-up-7 > .columns { - width: 14.28571%; - float: left; } - .large-up-7 > .column:nth-of-type(1n), .large-up-7 > .columns:nth-of-type(1n) { - clear: none; } - .large-up-7 > .column:nth-of-type(7n+1), .large-up-7 > .columns:nth-of-type(7n+1) { - clear: both; } - .large-up-7 > .column:last-child, .large-up-7 > .columns:last-child { - float: left; } - .large-up-8 > .column, .large-up-8 > .columns { - width: 12.5%; - float: left; } - .large-up-8 > .column:nth-of-type(1n), .large-up-8 > .columns:nth-of-type(1n) { - clear: none; } - .large-up-8 > .column:nth-of-type(8n+1), .large-up-8 > .columns:nth-of-type(8n+1) { - clear: both; } - .large-up-8 > .column:last-child, .large-up-8 > .columns:last-child { - float: left; } - .large-collapse > .column, .large-collapse > .columns { - padding-left: 0; - padding-right: 0; } - .large-collapse .row { - margin-left: 0; - margin-right: 0; } - .expanded.row .large-collapse.row { - margin-left: 0; - margin-right: 0; } - .large-uncollapse > .column, .large-uncollapse > .columns { - padding-left: 0.9375rem; - padding-right: 0.9375rem; } - .large-centered { - margin-left: auto; - margin-right: auto; } - .large-centered, .large-centered:last-child:not(:first-child) { - float: none; - clear: both; } - .large-uncentered, - .large-push-0, - .large-pull-0 { - position: static; - margin-left: 0; - margin-right: 0; - float: left; } } + .grid-margin-x > .large-offset-11 { + margin-left: calc(91.66667% + 0.9375rem); } } + +.grid-y { + display: -ms-flexbox; + display: flex; + -ms-flex-flow: column nowrap; + flex-flow: column nowrap; } + .grid-y > .cell { + width: auto; } + .grid-y > .auto { + height: auto; } + .grid-y > .shrink { + height: auto; } + .grid-y > .small-shrink, .grid-y > .small-full, .grid-y > .small-1, .grid-y > .small-2, .grid-y > .small-3, .grid-y > .small-4, .grid-y > .small-5, .grid-y > .small-6, .grid-y > .small-7, .grid-y > .small-8, .grid-y > .small-9, .grid-y > .small-10, .grid-y > .small-11, .grid-y > .small-12 { + -ms-flex-preferred-size: auto; + flex-basis: auto; } + @media print, screen and (min-width: 40em) { + .grid-y > .medium-shrink, .grid-y > .medium-full, .grid-y > .medium-1, .grid-y > .medium-2, .grid-y > .medium-3, .grid-y > .medium-4, .grid-y > .medium-5, .grid-y > .medium-6, .grid-y > .medium-7, .grid-y > .medium-8, .grid-y > .medium-9, .grid-y > .medium-10, .grid-y > .medium-11, .grid-y > .medium-12 { + -ms-flex-preferred-size: auto; + flex-basis: auto; } } + @media print, screen and (min-width: 64em) { + .grid-y > .large-shrink, .grid-y > .large-full, .grid-y > .large-1, .grid-y > .large-2, .grid-y > .large-3, .grid-y > .large-4, .grid-y > .large-5, .grid-y > .large-6, .grid-y > .large-7, .grid-y > .large-8, .grid-y > .large-9, .grid-y > .large-10, .grid-y > .large-11, .grid-y > .large-12 { + -ms-flex-preferred-size: auto; + flex-basis: auto; } } + .grid-y > .small-1 { + height: 8.33333%; } + .grid-y > .small-2 { + height: 16.66667%; } + .grid-y > .small-3 { + height: 25%; } + .grid-y > .small-4 { + height: 33.33333%; } + .grid-y > .small-5 { + height: 41.66667%; } + .grid-y > .small-6 { + height: 50%; } + .grid-y > .small-7 { + height: 58.33333%; } + .grid-y > .small-8 { + height: 66.66667%; } + .grid-y > .small-9 { + height: 75%; } + .grid-y > .small-10 { + height: 83.33333%; } + .grid-y > .small-11 { + height: 91.66667%; } + .grid-y > .small-12 { + height: 100%; } + @media print, screen and (min-width: 40em) { + .grid-y > .medium-auto { + -ms-flex: 1 1 0px; + flex: 1 1 0px; + height: auto; } + .grid-y > .medium-shrink { + height: auto; } + .grid-y > .medium-1 { + height: 8.33333%; } + .grid-y > .medium-2 { + height: 16.66667%; } + .grid-y > .medium-3 { + height: 25%; } + .grid-y > .medium-4 { + height: 33.33333%; } + .grid-y > .medium-5 { + height: 41.66667%; } + .grid-y > .medium-6 { + height: 50%; } + .grid-y > .medium-7 { + height: 58.33333%; } + .grid-y > .medium-8 { + height: 66.66667%; } + .grid-y > .medium-9 { + height: 75%; } + .grid-y > .medium-10 { + height: 83.33333%; } + .grid-y > .medium-11 { + height: 91.66667%; } + .grid-y > .medium-12 { + height: 100%; } } + @media print, screen and (min-width: 64em) { + .grid-y > .large-auto { + -ms-flex: 1 1 0px; + flex: 1 1 0px; + height: auto; } + .grid-y > .large-shrink { + height: auto; } + .grid-y > .large-1 { + height: 8.33333%; } + .grid-y > .large-2 { + height: 16.66667%; } + .grid-y > .large-3 { + height: 25%; } + .grid-y > .large-4 { + height: 33.33333%; } + .grid-y > .large-5 { + height: 41.66667%; } + .grid-y > .large-6 { + height: 50%; } + .grid-y > .large-7 { + height: 58.33333%; } + .grid-y > .large-8 { + height: 66.66667%; } + .grid-y > .large-9 { + height: 75%; } + .grid-y > .large-10 { + height: 83.33333%; } + .grid-y > .large-11 { + height: 91.66667%; } + .grid-y > .large-12 { + height: 100%; } } + +.grid-padding-y .grid-padding-y { + margin-top: -0.625rem; + margin-bottom: -0.625rem; } + @media print, screen and (min-width: 40em) { + .grid-padding-y .grid-padding-y { + margin-top: -0.9375rem; + margin-bottom: -0.9375rem; } } + +.grid-padding-y > .cell { + padding-top: 0.625rem; + padding-bottom: 0.625rem; } + @media print, screen and (min-width: 40em) { + .grid-padding-y > .cell { + padding-top: 0.9375rem; + padding-bottom: 0.9375rem; } } + +.grid-margin-y { + margin-top: -0.625rem; + margin-bottom: -0.625rem; } + @media print, screen and (min-width: 40em) { + .grid-margin-y { + margin-top: -0.9375rem; + margin-bottom: -0.9375rem; } } + .grid-margin-y > .cell { + height: calc(100% - 1.25rem); + margin-top: 0.625rem; + margin-bottom: 0.625rem; } + @media print, screen and (min-width: 40em) { + .grid-margin-y > .cell { + height: calc(100% - 1.875rem); + margin-top: 0.9375rem; + margin-bottom: 0.9375rem; } } + .grid-margin-y > .auto { + height: auto; } + .grid-margin-y > .shrink { + height: auto; } + .grid-margin-y > .small-1 { + height: calc(8.33333% - 1.25rem); } + .grid-margin-y > .small-2 { + height: calc(16.66667% - 1.25rem); } + .grid-margin-y > .small-3 { + height: calc(25% - 1.25rem); } + .grid-margin-y > .small-4 { + height: calc(33.33333% - 1.25rem); } + .grid-margin-y > .small-5 { + height: calc(41.66667% - 1.25rem); } + .grid-margin-y > .small-6 { + height: calc(50% - 1.25rem); } + .grid-margin-y > .small-7 { + height: calc(58.33333% - 1.25rem); } + .grid-margin-y > .small-8 { + height: calc(66.66667% - 1.25rem); } + .grid-margin-y > .small-9 { + height: calc(75% - 1.25rem); } + .grid-margin-y > .small-10 { + height: calc(83.33333% - 1.25rem); } + .grid-margin-y > .small-11 { + height: calc(91.66667% - 1.25rem); } + .grid-margin-y > .small-12 { + height: calc(100% - 1.25rem); } + @media print, screen and (min-width: 40em) { + .grid-margin-y > .auto { + height: auto; } + .grid-margin-y > .shrink { + height: auto; } + .grid-margin-y > .small-1 { + height: calc(8.33333% - 1.875rem); } + .grid-margin-y > .small-2 { + height: calc(16.66667% - 1.875rem); } + .grid-margin-y > .small-3 { + height: calc(25% - 1.875rem); } + .grid-margin-y > .small-4 { + height: calc(33.33333% - 1.875rem); } + .grid-margin-y > .small-5 { + height: calc(41.66667% - 1.875rem); } + .grid-margin-y > .small-6 { + height: calc(50% - 1.875rem); } + .grid-margin-y > .small-7 { + height: calc(58.33333% - 1.875rem); } + .grid-margin-y > .small-8 { + height: calc(66.66667% - 1.875rem); } + .grid-margin-y > .small-9 { + height: calc(75% - 1.875rem); } + .grid-margin-y > .small-10 { + height: calc(83.33333% - 1.875rem); } + .grid-margin-y > .small-11 { + height: calc(91.66667% - 1.875rem); } + .grid-margin-y > .small-12 { + height: calc(100% - 1.875rem); } + .grid-margin-y > .medium-auto { + height: auto; } + .grid-margin-y > .medium-shrink { + height: auto; } + .grid-margin-y > .medium-1 { + height: calc(8.33333% - 1.875rem); } + .grid-margin-y > .medium-2 { + height: calc(16.66667% - 1.875rem); } + .grid-margin-y > .medium-3 { + height: calc(25% - 1.875rem); } + .grid-margin-y > .medium-4 { + height: calc(33.33333% - 1.875rem); } + .grid-margin-y > .medium-5 { + height: calc(41.66667% - 1.875rem); } + .grid-margin-y > .medium-6 { + height: calc(50% - 1.875rem); } + .grid-margin-y > .medium-7 { + height: calc(58.33333% - 1.875rem); } + .grid-margin-y > .medium-8 { + height: calc(66.66667% - 1.875rem); } + .grid-margin-y > .medium-9 { + height: calc(75% - 1.875rem); } + .grid-margin-y > .medium-10 { + height: calc(83.33333% - 1.875rem); } + .grid-margin-y > .medium-11 { + height: calc(91.66667% - 1.875rem); } + .grid-margin-y > .medium-12 { + height: calc(100% - 1.875rem); } } + @media print, screen and (min-width: 64em) { + .grid-margin-y > .large-auto { + height: auto; } + .grid-margin-y > .large-shrink { + height: auto; } + .grid-margin-y > .large-1 { + height: calc(8.33333% - 1.875rem); } + .grid-margin-y > .large-2 { + height: calc(16.66667% - 1.875rem); } + .grid-margin-y > .large-3 { + height: calc(25% - 1.875rem); } + .grid-margin-y > .large-4 { + height: calc(33.33333% - 1.875rem); } + .grid-margin-y > .large-5 { + height: calc(41.66667% - 1.875rem); } + .grid-margin-y > .large-6 { + height: calc(50% - 1.875rem); } + .grid-margin-y > .large-7 { + height: calc(58.33333% - 1.875rem); } + .grid-margin-y > .large-8 { + height: calc(66.66667% - 1.875rem); } + .grid-margin-y > .large-9 { + height: calc(75% - 1.875rem); } + .grid-margin-y > .large-10 { + height: calc(83.33333% - 1.875rem); } + .grid-margin-y > .large-11 { + height: calc(91.66667% - 1.875rem); } + .grid-margin-y > .large-12 { + height: calc(100% - 1.875rem); } } + +.grid-frame { + overflow: hidden; + position: relative; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -ms-flex-align: stretch; + align-items: stretch; + width: 100vw; } + +.cell .grid-frame { + width: 100%; } + +.cell-block { + overflow-x: auto; + max-width: 100%; + -webkit-overflow-scrolling: touch; + -ms-overflow-stype: -ms-autohiding-scrollbar; } + +.cell-block-y { + overflow-y: auto; + max-height: 100%; + -webkit-overflow-scrolling: touch; + -ms-overflow-stype: -ms-autohiding-scrollbar; } + +.cell-block-container { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + max-height: 100%; } + .cell-block-container > .grid-x { + max-height: 100%; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } + +@media print, screen and (min-width: 40em) { + .medium-grid-frame { + overflow: hidden; + position: relative; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -ms-flex-align: stretch; + align-items: stretch; + width: 100vw; } + .cell .medium-grid-frame { + width: 100%; } + .medium-cell-block { + overflow-x: auto; + max-width: 100%; + -webkit-overflow-scrolling: touch; + -ms-overflow-stype: -ms-autohiding-scrollbar; } + .medium-cell-block-container { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + max-height: 100%; } + .medium-cell-block-container > .grid-x { + max-height: 100%; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } + .medium-cell-block-y { + overflow-y: auto; + max-height: 100%; + -webkit-overflow-scrolling: touch; + -ms-overflow-stype: -ms-autohiding-scrollbar; } } + +@media print, screen and (min-width: 64em) { + .large-grid-frame { + overflow: hidden; + position: relative; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -ms-flex-align: stretch; + align-items: stretch; + width: 100vw; } + .cell .large-grid-frame { + width: 100%; } + .large-cell-block { + overflow-x: auto; + max-width: 100%; + -webkit-overflow-scrolling: touch; + -ms-overflow-stype: -ms-autohiding-scrollbar; } + .large-cell-block-container { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + max-height: 100%; } + .large-cell-block-container > .grid-x { + max-height: 100%; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } + .large-cell-block-y { + overflow-y: auto; + max-height: 100%; + -webkit-overflow-scrolling: touch; + -ms-overflow-stype: -ms-autohiding-scrollbar; } } + +.grid-y.grid-frame { + width: auto; + overflow: hidden; + position: relative; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -ms-flex-align: stretch; + align-items: stretch; + height: 100vh; } + +@media print, screen and (min-width: 40em) { + .grid-y.medium-grid-frame { + width: auto; + overflow: hidden; + position: relative; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -ms-flex-align: stretch; + align-items: stretch; + height: 100vh; } } + +@media print, screen and (min-width: 64em) { + .grid-y.large-grid-frame { + width: auto; + overflow: hidden; + position: relative; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -ms-flex-align: stretch; + align-items: stretch; + height: 100vh; } } + +.cell .grid-y.grid-frame { + height: 100%; } + +@media print, screen and (min-width: 40em) { + .cell .grid-y.medium-grid-frame { + height: 100%; } } + +@media print, screen and (min-width: 64em) { + .cell .grid-y.large-grid-frame { + height: 100%; } } + +.grid-margin-y { + margin-top: -0.625rem; + margin-bottom: -0.625rem; } + @media print, screen and (min-width: 40em) { + .grid-margin-y { + margin-top: -0.9375rem; + margin-bottom: -0.9375rem; } } + .grid-margin-y > .cell { + height: calc(100% - 1.25rem); + margin-top: 0.625rem; + margin-bottom: 0.625rem; } + @media print, screen and (min-width: 40em) { + .grid-margin-y > .cell { + height: calc(100% - 1.875rem); + margin-top: 0.9375rem; + margin-bottom: 0.9375rem; } } + .grid-margin-y > .auto { + height: auto; } + .grid-margin-y > .shrink { + height: auto; } + .grid-margin-y > .small-1 { + height: calc(8.33333% - 1.25rem); } + .grid-margin-y > .small-2 { + height: calc(16.66667% - 1.25rem); } + .grid-margin-y > .small-3 { + height: calc(25% - 1.25rem); } + .grid-margin-y > .small-4 { + height: calc(33.33333% - 1.25rem); } + .grid-margin-y > .small-5 { + height: calc(41.66667% - 1.25rem); } + .grid-margin-y > .small-6 { + height: calc(50% - 1.25rem); } + .grid-margin-y > .small-7 { + height: calc(58.33333% - 1.25rem); } + .grid-margin-y > .small-8 { + height: calc(66.66667% - 1.25rem); } + .grid-margin-y > .small-9 { + height: calc(75% - 1.25rem); } + .grid-margin-y > .small-10 { + height: calc(83.33333% - 1.25rem); } + .grid-margin-y > .small-11 { + height: calc(91.66667% - 1.25rem); } + .grid-margin-y > .small-12 { + height: calc(100% - 1.25rem); } + @media print, screen and (min-width: 40em) { + .grid-margin-y > .auto { + height: auto; } + .grid-margin-y > .shrink { + height: auto; } + .grid-margin-y > .small-1 { + height: calc(8.33333% - 1.875rem); } + .grid-margin-y > .small-2 { + height: calc(16.66667% - 1.875rem); } + .grid-margin-y > .small-3 { + height: calc(25% - 1.875rem); } + .grid-margin-y > .small-4 { + height: calc(33.33333% - 1.875rem); } + .grid-margin-y > .small-5 { + height: calc(41.66667% - 1.875rem); } + .grid-margin-y > .small-6 { + height: calc(50% - 1.875rem); } + .grid-margin-y > .small-7 { + height: calc(58.33333% - 1.875rem); } + .grid-margin-y > .small-8 { + height: calc(66.66667% - 1.875rem); } + .grid-margin-y > .small-9 { + height: calc(75% - 1.875rem); } + .grid-margin-y > .small-10 { + height: calc(83.33333% - 1.875rem); } + .grid-margin-y > .small-11 { + height: calc(91.66667% - 1.875rem); } + .grid-margin-y > .small-12 { + height: calc(100% - 1.875rem); } + .grid-margin-y > .medium-auto { + height: auto; } + .grid-margin-y > .medium-shrink { + height: auto; } + .grid-margin-y > .medium-1 { + height: calc(8.33333% - 1.875rem); } + .grid-margin-y > .medium-2 { + height: calc(16.66667% - 1.875rem); } + .grid-margin-y > .medium-3 { + height: calc(25% - 1.875rem); } + .grid-margin-y > .medium-4 { + height: calc(33.33333% - 1.875rem); } + .grid-margin-y > .medium-5 { + height: calc(41.66667% - 1.875rem); } + .grid-margin-y > .medium-6 { + height: calc(50% - 1.875rem); } + .grid-margin-y > .medium-7 { + height: calc(58.33333% - 1.875rem); } + .grid-margin-y > .medium-8 { + height: calc(66.66667% - 1.875rem); } + .grid-margin-y > .medium-9 { + height: calc(75% - 1.875rem); } + .grid-margin-y > .medium-10 { + height: calc(83.33333% - 1.875rem); } + .grid-margin-y > .medium-11 { + height: calc(91.66667% - 1.875rem); } + .grid-margin-y > .medium-12 { + height: calc(100% - 1.875rem); } } + @media print, screen and (min-width: 64em) { + .grid-margin-y > .large-auto { + height: auto; } + .grid-margin-y > .large-shrink { + height: auto; } + .grid-margin-y > .large-1 { + height: calc(8.33333% - 1.875rem); } + .grid-margin-y > .large-2 { + height: calc(16.66667% - 1.875rem); } + .grid-margin-y > .large-3 { + height: calc(25% - 1.875rem); } + .grid-margin-y > .large-4 { + height: calc(33.33333% - 1.875rem); } + .grid-margin-y > .large-5 { + height: calc(41.66667% - 1.875rem); } + .grid-margin-y > .large-6 { + height: calc(50% - 1.875rem); } + .grid-margin-y > .large-7 { + height: calc(58.33333% - 1.875rem); } + .grid-margin-y > .large-8 { + height: calc(66.66667% - 1.875rem); } + .grid-margin-y > .large-9 { + height: calc(75% - 1.875rem); } + .grid-margin-y > .large-10 { + height: calc(83.33333% - 1.875rem); } + .grid-margin-y > .large-11 { + height: calc(91.66667% - 1.875rem); } + .grid-margin-y > .large-12 { + height: calc(100% - 1.875rem); } } + +.grid-frame.grid-margin-y { + height: calc(100vh + 1.25rem); } + @media print, screen and (min-width: 40em) { + .grid-frame.grid-margin-y { + height: calc(100vh + 1.875rem); } } + @media print, screen and (min-width: 64em) { + .grid-frame.grid-margin-y { + height: calc(100vh + 1.875rem); } } + +@media print, screen and (min-width: 40em) { + .grid-margin-y.medium-grid-frame { + height: calc(100vh + 1.875rem); } } + +@media print, screen and (min-width: 64em) { + .grid-margin-y.large-grid-frame { + height: calc(100vh + 1.875rem); } } + +.align-right { + -ms-flex-pack: end; + justify-content: flex-end; } + +.align-center { + -ms-flex-pack: center; + justify-content: center; } + +.align-justify { + -ms-flex-pack: justify; + justify-content: space-between; } + +.align-spaced { + -ms-flex-pack: distribute; + justify-content: space-around; } + +.align-right.vertical.menu > li > a { + -ms-flex-pack: end; + justify-content: flex-end; } + +.align-center.vertical.menu > li > a { + -ms-flex-pack: center; + justify-content: center; } + +.align-top { + -ms-flex-align: start; + align-items: flex-start; } + +.align-self-top { + -ms-flex-item-align: start; + align-self: flex-start; } + +.align-bottom { + -ms-flex-align: end; + align-items: flex-end; } + +.align-self-bottom { + -ms-flex-item-align: end; + align-self: flex-end; } + +.align-middle { + -ms-flex-align: center; + align-items: center; } + +.align-self-middle { + -ms-flex-item-align: center; + -ms-grid-row-align: center; + align-self: center; } + +.align-stretch { + -ms-flex-align: stretch; + align-items: stretch; } + +.align-self-stretch { + -ms-flex-item-align: stretch; + -ms-grid-row-align: stretch; + align-self: stretch; } + +.align-center-middle { + -ms-flex-pack: center; + justify-content: center; + -ms-flex-align: center; + align-items: center; + -ms-flex-line-pack: center; + align-content: center; } + +.small-order-1 { + -ms-flex-order: 1; + order: 1; } + +.small-order-2 { + -ms-flex-order: 2; + order: 2; } + +.small-order-3 { + -ms-flex-order: 3; + order: 3; } + +.small-order-4 { + -ms-flex-order: 4; + order: 4; } + +.small-order-5 { + -ms-flex-order: 5; + order: 5; } + +.small-order-6 { + -ms-flex-order: 6; + order: 6; } + +@media print, screen and (min-width: 40em) { + .medium-order-1 { + -ms-flex-order: 1; + order: 1; } + .medium-order-2 { + -ms-flex-order: 2; + order: 2; } + .medium-order-3 { + -ms-flex-order: 3; + order: 3; } + .medium-order-4 { + -ms-flex-order: 4; + order: 4; } + .medium-order-5 { + -ms-flex-order: 5; + order: 5; } + .medium-order-6 { + -ms-flex-order: 6; + order: 6; } } + +@media print, screen and (min-width: 64em) { + .large-order-1 { + -ms-flex-order: 1; + order: 1; } + .large-order-2 { + -ms-flex-order: 2; + order: 2; } + .large-order-3 { + -ms-flex-order: 3; + order: 3; } + .large-order-4 { + -ms-flex-order: 4; + order: 4; } + .large-order-5 { + -ms-flex-order: 5; + order: 5; } + .large-order-6 { + -ms-flex-order: 6; + order: 6; } } + +.flex-container { + display: -ms-flexbox; + display: flex; } + +.flex-child-auto { + -ms-flex: 1 1 auto; + flex: 1 1 auto; } + +.flex-child-grow { + -ms-flex: 1 0 auto; + flex: 1 0 auto; } + +.flex-child-shrink { + -ms-flex: 0 1 auto; + flex: 0 1 auto; } + +.flex-dir-row { + -ms-flex-direction: row; + flex-direction: row; } + +.flex-dir-row-reverse { + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; } + +.flex-dir-column { + -ms-flex-direction: column; + flex-direction: column; } + +.flex-dir-column-reverse { + -ms-flex-direction: column-reverse; + flex-direction: column-reverse; } + +@media print, screen and (min-width: 40em) { + .medium-flex-container { + display: -ms-flexbox; + display: flex; } + .medium-flex-child-auto { + -ms-flex: 1 1 auto; + flex: 1 1 auto; } + .medium-flex-child-grow { + -ms-flex: 1 0 auto; + flex: 1 0 auto; } + .medium-flex-child-shrink { + -ms-flex: 0 1 auto; + flex: 0 1 auto; } + .medium-flex-dir-row { + -ms-flex-direction: row; + flex-direction: row; } + .medium-flex-dir-row-reverse { + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; } + .medium-flex-dir-column { + -ms-flex-direction: column; + flex-direction: column; } + .medium-flex-dir-column-reverse { + -ms-flex-direction: column-reverse; + flex-direction: column-reverse; } } + +@media print, screen and (min-width: 64em) { + .large-flex-container { + display: -ms-flexbox; + display: flex; } + .large-flex-child-auto { + -ms-flex: 1 1 auto; + flex: 1 1 auto; } + .large-flex-child-grow { + -ms-flex: 1 0 auto; + flex: 1 0 auto; } + .large-flex-child-shrink { + -ms-flex: 0 1 auto; + flex: 0 1 auto; } + .large-flex-dir-row { + -ms-flex-direction: row; + flex-direction: row; } + .large-flex-dir-row-reverse { + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; } + .large-flex-dir-column { + -ms-flex-direction: column; + flex-direction: column; } + .large-flex-dir-column-reverse { + -ms-flex-direction: column-reverse; + flex-direction: column-reverse; } } div, dl, @@ -1199,9 +2200,9 @@ td { padding: 0; } p { + margin-bottom: 1rem; font-size: inherit; line-height: 1.6; - margin-bottom: 1rem; text-rendering: optimizeLegibility; } em, @@ -1218,94 +2219,109 @@ small { font-size: 80%; line-height: inherit; } -h1, -h2, -h3, -h4, -h5, -h6 { +h1, .h1, +h2, .h2, +h3, .h3, +h4, .h4, +h5, .h5, +h6, .h6 { font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; - font-weight: normal; font-style: normal; + font-weight: normal; color: inherit; - text-rendering: optimizeLegibility; + text-rendering: optimizeLegibility; } + h1 small, .h1 small, + h2 small, .h2 small, + h3 small, .h3 small, + h4 small, .h4 small, + h5 small, .h5 small, + h6 small, .h6 small { + line-height: 0; + color: #cacaca; } + +h1, .h1 { + font-size: 1.5rem; + line-height: 1.4; margin-top: 0; - margin-bottom: 0.5rem; - line-height: 1.4; } - h1 small, - h2 small, - h3 small, - h4 small, - h5 small, - h6 small { - color: #cacaca; - line-height: 0; } - -h1 { - font-size: 1.5rem; } + margin-bottom: 0.5rem; } -h2 { - font-size: 1.25rem; } +h2, .h2 { + font-size: 1.25rem; + line-height: 1.4; + margin-top: 0; + margin-bottom: 0.5rem; } -h3 { - font-size: 1.1875rem; } +h3, .h3 { + font-size: 1.1875rem; + line-height: 1.4; + margin-top: 0; + margin-bottom: 0.5rem; } -h4 { - font-size: 1.125rem; } +h4, .h4 { + font-size: 1.125rem; + line-height: 1.4; + margin-top: 0; + margin-bottom: 0.5rem; } -h5 { - font-size: 1.0625rem; } +h5, .h5 { + font-size: 1.0625rem; + line-height: 1.4; + margin-top: 0; + margin-bottom: 0.5rem; } -h6 { - font-size: 1rem; } +h6, .h6 { + font-size: 1rem; + line-height: 1.4; + margin-top: 0; + margin-bottom: 0.5rem; } -@media screen and (min-width: 40em) { - h1 { +@media print, screen and (min-width: 40em) { + h1, .h1 { font-size: 3rem; } - h2 { + h2, .h2 { font-size: 2.5rem; } - h3 { + h3, .h3 { font-size: 1.9375rem; } - h4 { + h4, .h4 { font-size: 1.5625rem; } - h5 { + h5, .h5 { font-size: 1.25rem; } - h6 { + h6, .h6 { font-size: 1rem; } } a { - color: #2199e8; - text-decoration: none; line-height: inherit; + color: #1779ba; + text-decoration: none; cursor: pointer; } a:hover, a:focus { - color: #1585cf; } + color: #1468a0; } a img { border: 0; } hr { + clear: both; max-width: 75rem; height: 0; - border-right: 0; + margin: 1.25rem auto; border-top: 0; + border-right: 0; border-bottom: 1px solid #cacaca; - border-left: 0; - margin: 1.25rem auto; - clear: both; } + border-left: 0; } ul, ol, dl { - line-height: 1.6; margin-bottom: 1rem; - list-style-position: outside; } + list-style-position: outside; + line-height: 1.6; } li { font-size: inherit; } ul { - list-style-type: disc; - margin-left: 1.25rem; } + margin-left: 1.25rem; + list-style-type: disc; } ol { margin-left: 1.25rem; } @@ -1333,27 +2349,30 @@ cite { font-size: 0.8125rem; color: #8a8a8a; } cite:before { - content: '\2014 \0020'; } + content: "— "; } -abbr { - color: #0a0a0a; +abbr, abbr[title] { + border-bottom: 1px dotted #0a0a0a; cursor: help; - border-bottom: 1px dotted #0a0a0a; } + text-decoration: none; } + +figure { + margin: 0; } code { + padding: 0.125rem 0.3125rem 0.0625rem; + border: 1px solid #cacaca; + background-color: #e6e6e6; font-family: Consolas, "Liberation Mono", Courier, monospace; font-weight: normal; - color: #0a0a0a; - background-color: #e6e6e6; - border: 1px solid #cacaca; - padding: 0.125rem 0.3125rem 0.0625rem; } + color: #0a0a0a; } kbd { - padding: 0.125rem 0.25rem 0; margin: 0; + padding: 0.125rem 0.25rem 0; background-color: #e6e6e6; - color: #0a0a0a; - font-family: Consolas, "Liberation Mono", Courier, monospace; } + font-family: Consolas, "Liberation Mono", Courier, monospace; + color: #0a0a0a; } .subheader { margin-top: 0.2rem; @@ -1372,7 +2391,7 @@ kbd { p + .stat { margin-top: -1rem; } -.no-bullet { +ul.no-bullet, ol.no-bullet { margin-left: 0; list-style: none; } @@ -1388,7 +2407,7 @@ kbd { .text-justify { text-align: justify; } -@media screen and (min-width: 40em) { +@media print, screen and (min-width: 40em) { .medium-text-left { text-align: left; } .medium-text-right { @@ -1398,7 +2417,7 @@ kbd { .medium-text-justify { text-align: justify; } } -@media screen and (min-width: 64em) { +@media print, screen and (min-width: 64em) { .large-text-left { text-align: left; } .large-text-right { @@ -1414,8 +2433,8 @@ kbd { @media print { * { background: transparent !important; - color: black !important; box-shadow: none !important; + color: black !important; text-shadow: none !important; } .show-for-print { display: block !important; } @@ -1464,27 +2483,30 @@ kbd { widows: 3; } h2, h3 { - page-break-after: avoid; } } + page-break-after: avoid; } + .print-break-inside { + page-break-inside: auto; } } .button { display: inline-block; - text-align: center; - line-height: 1; - cursor: pointer; - -webkit-appearance: none; - transition: background-color 0.25s ease-out, color 0.25s ease-out; vertical-align: middle; + margin: 0 0 1rem 0; + font-family: inherit; + padding: 0.85em 1em; + -webkit-appearance: none; border: 1px solid transparent; border-radius: 0; - padding: 0.85em 1em; - margin: 0 0 1rem 0; + transition: background-color 0.25s ease-out, color 0.25s ease-out; font-size: 0.9rem; - background-color: #2199e8; + line-height: 1; + text-align: center; + cursor: pointer; + background-color: #1779ba; color: #fefefe; } [data-whatinput='mouse'] .button { outline: 0; } .button:hover, .button:focus { - background-color: #1583cc; + background-color: #14679e; color: #fefefe; } .button.tiny { font-size: 0.6rem; } @@ -1495,130 +2517,235 @@ kbd { .button.expanded { display: block; width: 100%; - margin-left: 0; - margin-right: 0; } + margin-right: 0; + margin-left: 0; } .button.primary { - background-color: #2199e8; + background-color: #1779ba; color: #fefefe; } .button.primary:hover, .button.primary:focus { - background-color: #147cc0; + background-color: #126195; color: #fefefe; } .button.secondary { - background-color: #777; + background-color: #767676; color: #fefefe; } .button.secondary:hover, .button.secondary:focus { - background-color: #5f5f5f; + background-color: #5e5e5e; color: #fefefe; } .button.success { background-color: #3adb76; - color: #fefefe; } + color: #0a0a0a; } .button.success:hover, .button.success:focus { background-color: #22bb5b; - color: #fefefe; } + color: #0a0a0a; } .button.warning { background-color: #ffae00; - color: #fefefe; } + color: #0a0a0a; } .button.warning:hover, .button.warning:focus { background-color: #cc8b00; - color: #fefefe; } + color: #0a0a0a; } .button.alert { - background-color: #ec5840; + background-color: #cc4b37; color: #fefefe; } .button.alert:hover, .button.alert:focus { - background-color: #da3116; + background-color: #a53b2a; color: #fefefe; } - .button.hollow { - border: 1px solid #2199e8; - color: #2199e8; } - .button.hollow, .button.hollow:hover, .button.hollow:focus { - background-color: transparent; } - .button.hollow:hover, .button.hollow:focus { - border-color: #0c4d78; - color: #0c4d78; } - .button.hollow.primary { - border: 1px solid #2199e8; - color: #2199e8; } - .button.hollow.primary:hover, .button.hollow.primary:focus { - border-color: #0c4d78; - color: #0c4d78; } - .button.hollow.secondary { - border: 1px solid #777; - color: #777; } - .button.hollow.secondary:hover, .button.hollow.secondary:focus { - border-color: #3c3c3c; - color: #3c3c3c; } - .button.hollow.success { - border: 1px solid #3adb76; - color: #3adb76; } - .button.hollow.success:hover, .button.hollow.success:focus { - border-color: #157539; - color: #157539; } - .button.hollow.warning { - border: 1px solid #ffae00; - color: #ffae00; } - .button.hollow.warning:hover, .button.hollow.warning:focus { - border-color: #805700; - color: #805700; } - .button.hollow.alert { - border: 1px solid #ec5840; - color: #ec5840; } - .button.hollow.alert:hover, .button.hollow.alert:focus { - border-color: #881f0e; - color: #881f0e; } .button.disabled, .button[disabled] { opacity: 0.25; cursor: not-allowed; } - .button.disabled:hover, .button.disabled:focus, .button[disabled]:hover, .button[disabled]:focus { - background-color: #2199e8; + .button.disabled, .button.disabled:hover, .button.disabled:focus, .button[disabled], .button[disabled]:hover, .button[disabled]:focus { + background-color: #1779ba; color: #fefefe; } .button.disabled.primary, .button[disabled].primary { opacity: 0.25; cursor: not-allowed; } - .button.disabled.primary:hover, .button.disabled.primary:focus, .button[disabled].primary:hover, .button[disabled].primary:focus { - background-color: #2199e8; + .button.disabled.primary, .button.disabled.primary:hover, .button.disabled.primary:focus, .button[disabled].primary, .button[disabled].primary:hover, .button[disabled].primary:focus { + background-color: #1779ba; color: #fefefe; } .button.disabled.secondary, .button[disabled].secondary { opacity: 0.25; cursor: not-allowed; } - .button.disabled.secondary:hover, .button.disabled.secondary:focus, .button[disabled].secondary:hover, .button[disabled].secondary:focus { - background-color: #777; + .button.disabled.secondary, .button.disabled.secondary:hover, .button.disabled.secondary:focus, .button[disabled].secondary, .button[disabled].secondary:hover, .button[disabled].secondary:focus { + background-color: #767676; color: #fefefe; } .button.disabled.success, .button[disabled].success { opacity: 0.25; cursor: not-allowed; } - .button.disabled.success:hover, .button.disabled.success:focus, .button[disabled].success:hover, .button[disabled].success:focus { + .button.disabled.success, .button.disabled.success:hover, .button.disabled.success:focus, .button[disabled].success, .button[disabled].success:hover, .button[disabled].success:focus { background-color: #3adb76; - color: #fefefe; } + color: #0a0a0a; } .button.disabled.warning, .button[disabled].warning { opacity: 0.25; cursor: not-allowed; } - .button.disabled.warning:hover, .button.disabled.warning:focus, .button[disabled].warning:hover, .button[disabled].warning:focus { + .button.disabled.warning, .button.disabled.warning:hover, .button.disabled.warning:focus, .button[disabled].warning, .button[disabled].warning:hover, .button[disabled].warning:focus { background-color: #ffae00; - color: #fefefe; } + color: #0a0a0a; } .button.disabled.alert, .button[disabled].alert { opacity: 0.25; cursor: not-allowed; } - .button.disabled.alert:hover, .button.disabled.alert:focus, .button[disabled].alert:hover, .button[disabled].alert:focus { - background-color: #ec5840; + .button.disabled.alert, .button.disabled.alert:hover, .button.disabled.alert:focus, .button[disabled].alert, .button[disabled].alert:hover, .button[disabled].alert:focus { + background-color: #cc4b37; color: #fefefe; } + .button.hollow { + border: 1px solid #1779ba; + color: #1779ba; } + .button.hollow, .button.hollow:hover, .button.hollow:focus { + background-color: transparent; } + .button.hollow.disabled, .button.hollow.disabled:hover, .button.hollow.disabled:focus, .button.hollow[disabled], .button.hollow[disabled]:hover, .button.hollow[disabled]:focus { + background-color: transparent; } + .button.hollow:hover, .button.hollow:focus { + border-color: #0c3d5d; + color: #0c3d5d; } + .button.hollow:hover.disabled, .button.hollow:hover[disabled], .button.hollow:focus.disabled, .button.hollow:focus[disabled] { + border: 1px solid #1779ba; + color: #1779ba; } + .button.hollow.primary { + border: 1px solid #1779ba; + color: #1779ba; } + .button.hollow.primary:hover, .button.hollow.primary:focus { + border-color: #0c3d5d; + color: #0c3d5d; } + .button.hollow.primary:hover.disabled, .button.hollow.primary:hover[disabled], .button.hollow.primary:focus.disabled, .button.hollow.primary:focus[disabled] { + border: 1px solid #1779ba; + color: #1779ba; } + .button.hollow.secondary { + border: 1px solid #767676; + color: #767676; } + .button.hollow.secondary:hover, .button.hollow.secondary:focus { + border-color: #3b3b3b; + color: #3b3b3b; } + .button.hollow.secondary:hover.disabled, .button.hollow.secondary:hover[disabled], .button.hollow.secondary:focus.disabled, .button.hollow.secondary:focus[disabled] { + border: 1px solid #767676; + color: #767676; } + .button.hollow.success { + border: 1px solid #3adb76; + color: #3adb76; } + .button.hollow.success:hover, .button.hollow.success:focus { + border-color: #157539; + color: #157539; } + .button.hollow.success:hover.disabled, .button.hollow.success:hover[disabled], .button.hollow.success:focus.disabled, .button.hollow.success:focus[disabled] { + border: 1px solid #3adb76; + color: #3adb76; } + .button.hollow.warning { + border: 1px solid #ffae00; + color: #ffae00; } + .button.hollow.warning:hover, .button.hollow.warning:focus { + border-color: #805700; + color: #805700; } + .button.hollow.warning:hover.disabled, .button.hollow.warning:hover[disabled], .button.hollow.warning:focus.disabled, .button.hollow.warning:focus[disabled] { + border: 1px solid #ffae00; + color: #ffae00; } + .button.hollow.alert { + border: 1px solid #cc4b37; + color: #cc4b37; } + .button.hollow.alert:hover, .button.hollow.alert:focus { + border-color: #67251a; + color: #67251a; } + .button.hollow.alert:hover.disabled, .button.hollow.alert:hover[disabled], .button.hollow.alert:focus.disabled, .button.hollow.alert:focus[disabled] { + border: 1px solid #cc4b37; + color: #cc4b37; } + .button.clear { + border: 1px solid #1779ba; + color: #1779ba; } + .button.clear, .button.clear:hover, .button.clear:focus { + background-color: transparent; } + .button.clear.disabled, .button.clear.disabled:hover, .button.clear.disabled:focus, .button.clear[disabled], .button.clear[disabled]:hover, .button.clear[disabled]:focus { + background-color: transparent; } + .button.clear:hover, .button.clear:focus { + border-color: #0c3d5d; + color: #0c3d5d; } + .button.clear:hover.disabled, .button.clear:hover[disabled], .button.clear:focus.disabled, .button.clear:focus[disabled] { + border: 1px solid #1779ba; + color: #1779ba; } + .button.clear, .button.clear.disabled, .button.clear[disabled], .button.clear:hover, .button.clear:hover.disabled, .button.clear:hover[disabled], .button.clear:focus, .button.clear:focus.disabled, .button.clear:focus[disabled] { + border-color: transparent; } + .button.clear.primary { + border: 1px solid #1779ba; + color: #1779ba; } + .button.clear.primary:hover, .button.clear.primary:focus { + border-color: #0c3d5d; + color: #0c3d5d; } + .button.clear.primary:hover.disabled, .button.clear.primary:hover[disabled], .button.clear.primary:focus.disabled, .button.clear.primary:focus[disabled] { + border: 1px solid #1779ba; + color: #1779ba; } + .button.clear.primary, .button.clear.primary.disabled, .button.clear.primary[disabled], .button.clear.primary:hover, .button.clear.primary:hover.disabled, .button.clear.primary:hover[disabled], .button.clear.primary:focus, .button.clear.primary:focus.disabled, .button.clear.primary:focus[disabled] { + border-color: transparent; } + .button.clear.secondary { + border: 1px solid #767676; + color: #767676; } + .button.clear.secondary:hover, .button.clear.secondary:focus { + border-color: #3b3b3b; + color: #3b3b3b; } + .button.clear.secondary:hover.disabled, .button.clear.secondary:hover[disabled], .button.clear.secondary:focus.disabled, .button.clear.secondary:focus[disabled] { + border: 1px solid #767676; + color: #767676; } + .button.clear.secondary, .button.clear.secondary.disabled, .button.clear.secondary[disabled], .button.clear.secondary:hover, .button.clear.secondary:hover.disabled, .button.clear.secondary:hover[disabled], .button.clear.secondary:focus, .button.clear.secondary:focus.disabled, .button.clear.secondary:focus[disabled] { + border-color: transparent; } + .button.clear.success { + border: 1px solid #3adb76; + color: #3adb76; } + .button.clear.success:hover, .button.clear.success:focus { + border-color: #157539; + color: #157539; } + .button.clear.success:hover.disabled, .button.clear.success:hover[disabled], .button.clear.success:focus.disabled, .button.clear.success:focus[disabled] { + border: 1px solid #3adb76; + color: #3adb76; } + .button.clear.success, .button.clear.success.disabled, .button.clear.success[disabled], .button.clear.success:hover, .button.clear.success:hover.disabled, .button.clear.success:hover[disabled], .button.clear.success:focus, .button.clear.success:focus.disabled, .button.clear.success:focus[disabled] { + border-color: transparent; } + .button.clear.warning { + border: 1px solid #ffae00; + color: #ffae00; } + .button.clear.warning:hover, .button.clear.warning:focus { + border-color: #805700; + color: #805700; } + .button.clear.warning:hover.disabled, .button.clear.warning:hover[disabled], .button.clear.warning:focus.disabled, .button.clear.warning:focus[disabled] { + border: 1px solid #ffae00; + color: #ffae00; } + .button.clear.warning, .button.clear.warning.disabled, .button.clear.warning[disabled], .button.clear.warning:hover, .button.clear.warning:hover.disabled, .button.clear.warning:hover[disabled], .button.clear.warning:focus, .button.clear.warning:focus.disabled, .button.clear.warning:focus[disabled] { + border-color: transparent; } + .button.clear.alert { + border: 1px solid #cc4b37; + color: #cc4b37; } + .button.clear.alert:hover, .button.clear.alert:focus { + border-color: #67251a; + color: #67251a; } + .button.clear.alert:hover.disabled, .button.clear.alert:hover[disabled], .button.clear.alert:focus.disabled, .button.clear.alert:focus[disabled] { + border: 1px solid #cc4b37; + color: #cc4b37; } + .button.clear.alert, .button.clear.alert.disabled, .button.clear.alert[disabled], .button.clear.alert:hover, .button.clear.alert:hover.disabled, .button.clear.alert:hover[disabled], .button.clear.alert:focus, .button.clear.alert:focus.disabled, .button.clear.alert:focus[disabled] { + border-color: transparent; } .button.dropdown::after { - content: ''; display: block; width: 0; height: 0; border: inset 0.4em; - border-color: #fefefe transparent transparent; - border-top-style: solid; + content: ''; border-bottom-width: 0; + border-top-style: solid; + border-color: #fefefe transparent transparent; position: relative; top: 0.4em; + display: inline-block; float: right; - margin-left: 1em; - display: inline-block; } + margin-left: 1em; } + .button.dropdown.hollow::after { + border-top-color: #1779ba; } + .button.dropdown.hollow.primary::after { + border-top-color: #1779ba; } + .button.dropdown.hollow.secondary::after { + border-top-color: #767676; } + .button.dropdown.hollow.success::after { + border-top-color: #3adb76; } + .button.dropdown.hollow.warning::after { + border-top-color: #ffae00; } + .button.dropdown.hollow.alert::after { + border-top-color: #cc4b37; } .button.arrow-only::after { - margin-left: 0; + top: -0.1em; float: none; - top: -0.1em; } + margin-left: 0; } + +a.button:hover, a.button:focus { + text-decoration: none; } [type='text'], [type='password'], [type='date'], [type='datetime'], [type='datetime-local'], [type='month'], [type='week'], [type='email'], [type='number'], [type='search'], [type='tel'], [type='time'], [type='url'], [type='color'], textarea { @@ -1626,23 +2753,26 @@ textarea { box-sizing: border-box; width: 100%; height: 2.4375rem; + margin: 0 0 1rem; padding: 0.5rem; border: 1px solid #cacaca; - margin: 0 0 1rem; + border-radius: 0; + background-color: #fefefe; + box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1); font-family: inherit; font-size: 1rem; + font-weight: normal; + line-height: 1.5; color: #0a0a0a; - background-color: #fefefe; - box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1); - border-radius: 0; transition: box-shadow 0.5s, border-color 0.25s ease-in-out; -webkit-appearance: none; - -moz-appearance: none; } + -moz-appearance: none; + appearance: none; } [type='text']:focus, [type='password']:focus, [type='date']:focus, [type='datetime']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='week']:focus, [type='email']:focus, [type='number']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='url']:focus, [type='color']:focus, textarea:focus { + outline: none; border: 1px solid #8a8a8a; background-color: #fefefe; - outline: none; box-shadow: 0 0 5px #cacaca; transition: box-shadow 0.5s, border-color 0.25s ease-in-out; } @@ -1675,9 +2805,10 @@ textarea[readonly] { [type='submit'], [type='button'] { - border-radius: 0; -webkit-appearance: none; - -moz-appearance: none; } + -moz-appearance: none; + appearance: none; + border-radius: 0; } input[type='search'] { box-sizing: border-box; } @@ -1690,10 +2821,10 @@ input[type='search'] { [type='checkbox'] + label, [type='radio'] + label { display: inline-block; + vertical-align: baseline; margin-left: 0.5rem; margin-right: 1rem; - margin-bottom: 0; - vertical-align: baseline; } + margin-bottom: 0; } [type='checkbox'] + label[for], [type='radio'] + label[for] { cursor: pointer; } @@ -1723,29 +2854,37 @@ label { color: #0a0a0a; } .input-group { - display: table; + display: -ms-flexbox; + display: flex; width: 100%; - margin-bottom: 1rem; } + margin-bottom: 1rem; + -ms-flex-align: stretch; + align-items: stretch; } .input-group > :first-child { border-radius: 0 0 0 0; } .input-group > :last-child > * { border-radius: 0 0 0 0; } -.input-group-label, .input-group-field, .input-group-button { +.input-group-label, .input-group-field, .input-group-button, .input-group-button a, +.input-group-button input, +.input-group-button button, +.input-group-button label { margin: 0; - white-space: nowrap; - display: table-cell; - vertical-align: middle; } + white-space: nowrap; } .input-group-label { - text-align: center; padding: 0 1rem; + border: 1px solid #cacaca; background: #e6e6e6; color: #0a0a0a; - border: 1px solid #cacaca; + text-align: center; white-space: nowrap; - width: 1%; - height: 100%; } + display: -ms-flexbox; + display: flex; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + -ms-flex-align: center; + align-items: center; } .input-group-label:first-child { border-right: 0; } .input-group-label:last-child { @@ -1753,63 +2892,80 @@ label { .input-group-field { border-radius: 0; - height: 2.5rem; } + -ms-flex: 1 1 0px; + flex: 1 1 0px; + height: auto; + min-width: 0; } .input-group-button { padding-top: 0; padding-bottom: 0; text-align: center; - height: 100%; - width: 1%; } + display: -ms-flexbox; + display: flex; + -ms-flex: 0 0 auto; + flex: 0 0 auto; } .input-group-button a, .input-group-button input, - .input-group-button button { - margin: 0; } - -.input-group .input-group-button { - display: table-cell; } + .input-group-button button, + .input-group-button label { + height: auto; + -ms-flex-item-align: stretch; + -ms-grid-row-align: stretch; + align-self: stretch; + padding-top: 0; + padding-bottom: 0; + font-size: 1rem; } fieldset { - border: 0; + margin: 0; padding: 0; - margin: 0; } + border: 0; } legend { - margin-bottom: 0.5rem; - max-width: 100%; } + max-width: 100%; + margin-bottom: 0.5rem; } .fieldset { - border: 1px solid #cacaca; + margin: 1.125rem 0; padding: 1.25rem; - margin: 1.125rem 0; } + border: 1px solid #cacaca; } .fieldset legend { - background: #fefefe; - padding: 0 0.1875rem; margin: 0; - margin-left: -0.1875rem; } + margin-left: -0.1875rem; + padding: 0 0.1875rem; } select { height: 2.4375rem; + margin: 0 0 1rem; padding: 0.5rem; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; border: 1px solid #cacaca; - margin: 0 0 1rem; - font-size: 1rem; + border-radius: 0; + background-color: #fefefe; font-family: inherit; - line-height: normal; + font-size: 1rem; + font-weight: normal; + line-height: 1.5; color: #0a0a0a; - background-color: #fefefe; - border-radius: 0; - -webkit-appearance: none; - -moz-appearance: none; background-image: url("data:image/svg+xml;utf8,"); - background-size: 9px 6px; - background-position: right -1rem center; background-origin: content-box; + background-position: right -1rem center; background-repeat: no-repeat; - padding-right: 1.5rem; } + background-size: 9px 6px; + padding-right: 1.5rem; + transition: box-shadow 0.5s, border-color 0.25s ease-in-out; } @media screen and (min-width: 0\0) { select { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAYCAYAAACbU/80AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIpJREFUeNrEkckNgDAMBBfRkEt0ObRBBdsGXUDgmQfK4XhH2m8czQAAy27R3tsw4Qfe2x8uOO6oYLb6GlOor3GF+swURAOmUJ+RwtEJs9WvTGEYxBXqI1MQAZhCfUQKRzDMVj+TwrAIV6jvSUEkYAr1LSkcyTBb/V+KYfX7xAeusq3sLDtGH3kEGACPWIflNZfhRQAAAABJRU5ErkJggg=="); } } + select:focus { + outline: none; + border: 1px solid #8a8a8a; + background-color: #fefefe; + box-shadow: 0 0 5px #cacaca; + transition: box-shadow 0.5s, border-color 0.25s ease-in-out; } select:disabled { background-color: #e6e6e6; cursor: not-allowed; } @@ -1820,11 +2976,19 @@ select { background-image: none; } .is-invalid-input:not(:focus) { - background-color: rgba(236, 88, 64, 0.1); - border-color: #ec5840; } + border-color: #cc4b37; + background-color: #f9ecea; } + .is-invalid-input:not(:focus)::-webkit-input-placeholder { + color: #cc4b37; } + .is-invalid-input:not(:focus)::-moz-placeholder { + color: #cc4b37; } + .is-invalid-input:not(:focus):-ms-input-placeholder { + color: #cc4b37; } + .is-invalid-input:not(:focus)::placeholder { + color: #cc4b37; } .is-invalid-label { - color: #ec5840; } + color: #cc4b37; } .form-error { display: none; @@ -1832,14 +2996,16 @@ select { margin-bottom: 1rem; font-size: 0.75rem; font-weight: bold; - color: #ec5840; } + color: #cc4b37; } .form-error.is-visible { display: block; } .accordion { - list-style-type: none; + margin-left: 0; background: #fefefe; - margin-left: 0; } + list-style-type: none; } + .accordion[disabled] .accordion-title { + cursor: not-allowed; } .accordion-item:first-child > :first-child { border-radius: 0 0 0 0; } @@ -1848,31 +3014,31 @@ select { border-radius: 0 0 0 0; } .accordion-title { + position: relative; display: block; padding: 1.25rem 1rem; - line-height: 1; - font-size: 0.75rem; - color: #2199e8; - position: relative; border: 1px solid #e6e6e6; - border-bottom: 0; } + border-bottom: 0; + font-size: 0.75rem; + line-height: 1; + color: #1779ba; } :last-child:not(.is-active) > .accordion-title { - border-radius: 0 0 0 0; - border-bottom: 1px solid #e6e6e6; } + border-bottom: 1px solid #e6e6e6; + border-radius: 0 0 0 0; } .accordion-title:hover, .accordion-title:focus { background-color: #e6e6e6; } .accordion-title::before { - content: '+'; position: absolute; - right: 1rem; top: 50%; - margin-top: -0.5rem; } + right: 1rem; + margin-top: -0.5rem; + content: '+'; } .is-active > .accordion-title::before { - content: '–'; } + content: '\2013'; } .accordion-content { - padding: 1rem; display: none; + padding: 1rem; border: 1px solid #e6e6e6; border-bottom: 0; background-color: #fefefe; @@ -1880,75 +3046,148 @@ select { :last-child > .accordion-content:last-child { border-bottom: 1px solid #e6e6e6; } -.is-accordion-submenu-parent > a { +.accordion-menu li { + width: 100%; } + +.accordion-menu a { + padding: 0.7rem 1rem; } + +.accordion-menu .is-accordion-submenu a { + padding: 0.7rem 1rem; } + +.accordion-menu .nested.is-accordion-submenu { + margin-right: 0; + margin-left: 1rem; } + +.accordion-menu.align-right .nested.is-accordion-submenu { + margin-right: 1rem; + margin-left: 0; } + +.accordion-menu .is-accordion-submenu-parent:not(.has-submenu-toggle) > a { position: relative; } - .is-accordion-submenu-parent > a::after { - content: ''; + .accordion-menu .is-accordion-submenu-parent:not(.has-submenu-toggle) > a::after { display: block; width: 0; height: 0; border: inset 6px; - border-color: #2199e8 transparent transparent; - border-top-style: solid; + content: ''; border-bottom-width: 0; + border-top-style: solid; + border-color: #1779ba transparent transparent; position: absolute; top: 50%; - margin-top: -4px; + margin-top: -3px; right: 1rem; } -.is-accordion-submenu-parent[aria-expanded='true'] > a::after { - -webkit-transform-origin: 50% 50%; - -ms-transform-origin: 50% 50%; - transform-origin: 50% 50%; - -webkit-transform: scaleY(-1); - -ms-transform: scaleY(-1); - transform: scaleY(-1); } +.accordion-menu.align-left .is-accordion-submenu-parent > a::after { + left: auto; + right: 1rem; } + +.accordion-menu.align-right .is-accordion-submenu-parent > a::after { + right: auto; + left: 1rem; } + +.accordion-menu .is-accordion-submenu-parent[aria-expanded='true'] > a::after { + -ms-transform: rotate(180deg); + transform: rotate(180deg); + -ms-transform-origin: 50% 50%; + transform-origin: 50% 50%; } + +.is-accordion-submenu-parent { + position: relative; } + +.has-submenu-toggle > a { + margin-right: 40px; } + +.submenu-toggle { + position: absolute; + top: 0; + right: 0; + cursor: pointer; + width: 40px; + height: 40px; } + .submenu-toggle::after { + display: block; + width: 0; + height: 0; + border: inset 6px; + content: ''; + border-bottom-width: 0; + border-top-style: solid; + border-color: #1779ba transparent transparent; + top: 0; + bottom: 0; + margin: auto; } + +.submenu-toggle[aria-expanded='true']::after { + -ms-transform: scaleY(-1); + transform: scaleY(-1); + -ms-transform-origin: 50% 50%; + transform-origin: 50% 50%; } + +.submenu-toggle-text { + position: absolute !important; + width: 1px; + height: 1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + -webkit-clip-path: inset(50%); + clip-path: inset(50%); + border: 0; } .badge { display: inline-block; - padding: 0.3em; min-width: 2.1em; + padding: 0.3em; + border-radius: 50%; font-size: 0.6rem; text-align: center; - border-radius: 50%; - background: #2199e8; + background: #1779ba; color: #fefefe; } + .badge.primary { + background: #1779ba; + color: #fefefe; } .badge.secondary { - background: #777; + background: #767676; color: #fefefe; } .badge.success { background: #3adb76; - color: #fefefe; } + color: #0a0a0a; } .badge.warning { background: #ffae00; - color: #fefefe; } + color: #0a0a0a; } .badge.alert { - background: #ec5840; + background: #cc4b37; color: #fefefe; } .breadcrumbs { - list-style: none; - margin: 0 0 1rem 0; } + margin: 0 0 1rem 0; + list-style: none; } .breadcrumbs::before, .breadcrumbs::after { + display: table; content: ' '; - display: table; } + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-order: 1; + order: 1; } .breadcrumbs::after { clear: both; } .breadcrumbs li { float: left; - color: #0a0a0a; font-size: 0.6875rem; + color: #0a0a0a; cursor: default; text-transform: uppercase; } .breadcrumbs li:not(:last-child)::after { - color: #cacaca; - content: "/"; - margin: 0 0.75rem; position: relative; - top: 1px; - opacity: 1; } + margin: 0 0.75rem; + opacity: 1; + content: "/"; + color: #cacaca; } .breadcrumbs a { - color: #2199e8; } + color: #1779ba; } .breadcrumbs a:hover { text-decoration: underline; } .breadcrumbs .disabled { @@ -1957,17 +3196,28 @@ select { .button-group { margin-bottom: 1rem; - font-size: 0; } + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -ms-flex-align: stretch; + align-items: stretch; } .button-group::before, .button-group::after { + display: table; content: ' '; - display: table; } + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-order: 1; + order: 1; } .button-group::after { clear: both; } .button-group .button { margin: 0; margin-right: 1px; margin-bottom: 1px; - font-size: 0.9rem; } + font-size: 0.9rem; + -ms-flex: 0 0 auto; + flex: 0 0 auto; } .button-group .button:last-child { margin-right: 0; } .button-group.tiny .button { @@ -1976,81 +3226,56 @@ select { font-size: 0.75rem; } .button-group.large .button { font-size: 1.25rem; } - .button-group.expanded { - margin-right: -1px; } - .button-group.expanded::before, .button-group.expanded::after { - display: none; } - .button-group.expanded .button:first-child:nth-last-child(2), .button-group.expanded .button:first-child:nth-last-child(2):first-child:nth-last-child(2) ~ .button { - display: inline-block; - width: calc(50% - 1px); - margin-right: 1px; } - .button-group.expanded .button:first-child:nth-last-child(2):last-child, .button-group.expanded .button:first-child:nth-last-child(2):first-child:nth-last-child(2) ~ .button:last-child { - margin-right: -6px; } - .button-group.expanded .button:first-child:nth-last-child(3), .button-group.expanded .button:first-child:nth-last-child(3):first-child:nth-last-child(3) ~ .button { - display: inline-block; - width: calc(33.33333% - 1px); - margin-right: 1px; } - .button-group.expanded .button:first-child:nth-last-child(3):last-child, .button-group.expanded .button:first-child:nth-last-child(3):first-child:nth-last-child(3) ~ .button:last-child { - margin-right: -6px; } - .button-group.expanded .button:first-child:nth-last-child(4), .button-group.expanded .button:first-child:nth-last-child(4):first-child:nth-last-child(4) ~ .button { - display: inline-block; - width: calc(25% - 1px); - margin-right: 1px; } - .button-group.expanded .button:first-child:nth-last-child(4):last-child, .button-group.expanded .button:first-child:nth-last-child(4):first-child:nth-last-child(4) ~ .button:last-child { - margin-right: -6px; } - .button-group.expanded .button:first-child:nth-last-child(5), .button-group.expanded .button:first-child:nth-last-child(5):first-child:nth-last-child(5) ~ .button { - display: inline-block; - width: calc(20% - 1px); - margin-right: 1px; } - .button-group.expanded .button:first-child:nth-last-child(5):last-child, .button-group.expanded .button:first-child:nth-last-child(5):first-child:nth-last-child(5) ~ .button:last-child { - margin-right: -6px; } - .button-group.expanded .button:first-child:nth-last-child(6), .button-group.expanded .button:first-child:nth-last-child(6):first-child:nth-last-child(6) ~ .button { - display: inline-block; - width: calc(16.66667% - 1px); - margin-right: 1px; } - .button-group.expanded .button:first-child:nth-last-child(6):last-child, .button-group.expanded .button:first-child:nth-last-child(6):first-child:nth-last-child(6) ~ .button:last-child { - margin-right: -6px; } + .button-group.expanded .button { + -ms-flex: 1 1 0px; + flex: 1 1 0px; } .button-group.primary .button { - background-color: #2199e8; + background-color: #1779ba; color: #fefefe; } .button-group.primary .button:hover, .button-group.primary .button:focus { - background-color: #147cc0; + background-color: #126195; color: #fefefe; } .button-group.secondary .button { - background-color: #777; + background-color: #767676; color: #fefefe; } .button-group.secondary .button:hover, .button-group.secondary .button:focus { - background-color: #5f5f5f; + background-color: #5e5e5e; color: #fefefe; } .button-group.success .button { background-color: #3adb76; - color: #fefefe; } + color: #0a0a0a; } .button-group.success .button:hover, .button-group.success .button:focus { background-color: #22bb5b; - color: #fefefe; } + color: #0a0a0a; } .button-group.warning .button { background-color: #ffae00; - color: #fefefe; } + color: #0a0a0a; } .button-group.warning .button:hover, .button-group.warning .button:focus { background-color: #cc8b00; - color: #fefefe; } + color: #0a0a0a; } .button-group.alert .button { - background-color: #ec5840; + background-color: #cc4b37; color: #fefefe; } .button-group.alert .button:hover, .button-group.alert .button:focus { - background-color: #da3116; + background-color: #a53b2a; color: #fefefe; } - .button-group.stacked .button, .button-group.stacked-for-small .button, .button-group.stacked-for-medium .button { - width: 100%; } - .button-group.stacked .button:last-child, .button-group.stacked-for-small .button:last-child, .button-group.stacked-for-medium .button:last-child { - margin-bottom: 0; } - @media screen and (min-width: 40em) { + .button-group.stacked, .button-group.stacked-for-small, .button-group.stacked-for-medium { + -ms-flex-wrap: wrap; + flex-wrap: wrap; } + .button-group.stacked .button, .button-group.stacked-for-small .button, .button-group.stacked-for-medium .button { + -ms-flex: 0 0 100%; + flex: 0 0 100%; } + .button-group.stacked .button:last-child, .button-group.stacked-for-small .button:last-child, .button-group.stacked-for-medium .button:last-child { + margin-bottom: 0; } + @media print, screen and (min-width: 40em) { .button-group.stacked-for-small .button { - width: auto; + -ms-flex: 1 1 0px; + flex: 1 1 0px; margin-bottom: 0; } } - @media screen and (min-width: 64em) { + @media print, screen and (min-width: 64em) { .button-group.stacked-for-medium .button { - width: auto; + -ms-flex: 1 1 0px; + flex: 1 1 0px; margin-bottom: 0; } } @media screen and (max-width: 39.9375em) { .button-group.stacked-for-small.expanded { @@ -2059,28 +3284,70 @@ select { display: block; margin-right: 0; } } +.card { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + -ms-flex-positive: 1; + flex-grow: 1; + margin-bottom: 1rem; + border: 1px solid #e6e6e6; + border-radius: 0; + background: #fefefe; + box-shadow: none; + overflow: hidden; + color: #0a0a0a; } + .card > :last-child { + margin-bottom: 0; } + +.card-divider { + -ms-flex: 0 1 auto; + flex: 0 1 auto; + display: -ms-flexbox; + display: flex; + padding: 1rem; + background: #e6e6e6; } + .card-divider > :last-child { + margin-bottom: 0; } + +.card-section { + -ms-flex: 1 0 auto; + flex: 1 0 auto; + padding: 1rem; } + .card-section > :last-child { + margin-bottom: 0; } + +.card-image { + min-height: 1px; } + .callout { + position: relative; margin: 0 0 1rem 0; padding: 1rem; border: 1px solid rgba(10, 10, 10, 0.25); border-radius: 0; - position: relative; - color: #0a0a0a; - background-color: white; } + background-color: white; + color: #0a0a0a; } .callout > :first-child { margin-top: 0; } .callout > :last-child { margin-bottom: 0; } .callout.primary { - background-color: #def0fc; } + background-color: #d7ecfa; + color: #0a0a0a; } .callout.secondary { - background-color: #ebebeb; } + background-color: #eaeaea; + color: #0a0a0a; } .callout.success { - background-color: #e1faea; } + background-color: #e1faea; + color: #0a0a0a; } .callout.warning { - background-color: #fff3d9; } + background-color: #fff3d9; + color: #0a0a0a; } .callout.alert { - background-color: #fce6e2; } + background-color: #f7e4e1; + color: #0a0a0a; } .callout.small { padding-top: 0.5rem; padding-right: 0.5rem; @@ -2095,103 +3362,195 @@ select { .close-button { position: absolute; color: #8a8a8a; - right: 1rem; - top: 0.5rem; - font-size: 2em; - line-height: 1; cursor: pointer; } [data-whatinput='mouse'] .close-button { outline: 0; } .close-button:hover, .close-button:focus { color: #0a0a0a; } + .close-button.small { + right: 0.66rem; + top: 0.33em; + font-size: 1.5em; + line-height: 1; } + .close-button, .close-button.medium { + right: 1rem; + top: 0.5rem; + font-size: 2em; + line-height: 1; } .menu { + padding: 0; margin: 0; - list-style-type: none; } - .menu > li { - display: table-cell; - vertical-align: middle; } - [data-whatinput='mouse'] .menu > li { - outline: 0; } - .menu > li > a { + list-style: none; + position: relative; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; } + [data-whatinput='mouse'] .menu li { + outline: 0; } + .menu a, + .menu .button { + line-height: 1; + text-decoration: none; display: block; - padding: 0.7rem 1rem; - line-height: 1; } + padding: 0.7rem 1rem; } .menu input, + .menu select, .menu a, .menu button { - margin-bottom: 0; } - .menu > li > a img, - .menu > li > a i, - .menu > li > a svg { - vertical-align: middle; } - .menu > li > a img + span, - .menu > li > a i + span, - .menu > li > a svg + span { - vertical-align: middle; } - .menu > li > a img, - .menu > li > a i, - .menu > li > a svg { - margin-right: 0.25rem; - display: inline-block; } - .menu > li { - display: table-cell; } - .menu.vertical > li { - display: block; } - @media screen and (min-width: 40em) { - .menu.medium-horizontal > li { - display: table-cell; } - .menu.medium-vertical > li { - display: block; } } - @media screen and (min-width: 64em) { - .menu.large-horizontal > li { - display: table-cell; } - .menu.large-vertical > li { - display: block; } } - .menu.simple li { - line-height: 1; - display: inline-block; - margin-right: 1rem; } - .menu.simple a { - padding: 0; } - .menu.align-right::before, .menu.align-right::after { - content: ' '; - display: table; } - .menu.align-right::after { - clear: both; } - .menu.align-right > li { - float: right; } - .menu.expanded { - width: 100%; - display: table; - table-layout: fixed; } - .menu.expanded > li:first-child:last-child { - width: 100%; } - .menu.icon-top > li > a { - text-align: center; } - .menu.icon-top > li > a img, - .menu.icon-top > li > a i, - .menu.icon-top > li > a svg { - display: block; - margin: 0 auto 0.25rem; } - .menu.nested { - margin-left: 1rem; } - .menu .active > a { - color: #fefefe; - background: #2199e8; } - -.menu-text { - font-weight: bold; - color: inherit; - line-height: 1; - padding-top: 0; - padding-bottom: 0; - padding: 0.7rem 1rem; } - -.menu-centered { - text-align: center; } - .menu-centered > .menu { + margin-bottom: 0; } + .menu input { display: inline-block; } + .menu, .menu.horizontal { + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -ms-flex-direction: row; + flex-direction: row; } + .menu.vertical { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -ms-flex-direction: column; + flex-direction: column; } + .menu.expanded li { + -ms-flex: 1 1 0px; + flex: 1 1 0px; } + .menu.simple { + -ms-flex-align: center; + align-items: center; } + .menu.simple li + li { + margin-left: 1rem; } + .menu.simple a { + padding: 0; } + @media print, screen and (min-width: 40em) { + .menu.medium-horizontal { + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -ms-flex-direction: row; + flex-direction: row; } + .menu.medium-vertical { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -ms-flex-direction: column; + flex-direction: column; } + .menu.medium-expanded li { + -ms-flex: 1 1 0px; + flex: 1 1 0px; } + .menu.medium-simple li { + -ms-flex: 1 1 0px; + flex: 1 1 0px; } } + @media print, screen and (min-width: 64em) { + .menu.large-horizontal { + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -ms-flex-direction: row; + flex-direction: row; } + .menu.large-vertical { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -ms-flex-direction: column; + flex-direction: column; } + .menu.large-expanded li { + -ms-flex: 1 1 0px; + flex: 1 1 0px; } + .menu.large-simple li { + -ms-flex: 1 1 0px; + flex: 1 1 0px; } } + .menu.nested { + margin-right: 0; + margin-left: 1rem; } + .menu.icons a { + display: -ms-flexbox; + display: flex; } + .menu.icon-top a, .menu.icon-right a, .menu.icon-bottom a, .menu.icon-left a { + display: -ms-flexbox; + display: flex; } + .menu.icon-left li a { + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; } + .menu.icon-left li a img, + .menu.icon-left li a i, + .menu.icon-left li a svg { + margin-right: 0.25rem; } + .menu.icon-right li a { + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; } + .menu.icon-right li a img, + .menu.icon-right li a i, + .menu.icon-right li a svg { + margin-left: 0.25rem; } + .menu.icon-top li a { + -ms-flex-flow: column nowrap; + flex-flow: column nowrap; } + .menu.icon-top li a img, + .menu.icon-top li a i, + .menu.icon-top li a svg { + -ms-flex-item-align: stretch; + -ms-grid-row-align: stretch; + align-self: stretch; + margin-bottom: 0.25rem; + text-align: center; } + .menu.icon-bottom li a { + -ms-flex-flow: column nowrap; + flex-flow: column nowrap; } + .menu.icon-bottom li a img, + .menu.icon-bottom li a i, + .menu.icon-bottom li a svg { + -ms-flex-item-align: stretch; + -ms-grid-row-align: stretch; + align-self: stretch; + margin-bottom: 0.25rem; + text-align: center; } + .menu .is-active > a { + background: #1779ba; + color: #fefefe; } + .menu .active > a { + background: #1779ba; + color: #fefefe; } + .menu.align-left { + -ms-flex-pack: start; + justify-content: flex-start; } + .menu.align-right li { + display: -ms-flexbox; + display: flex; + -ms-flex-pack: end; + justify-content: flex-end; } + .menu.align-right li .submenu li { + -ms-flex-pack: start; + justify-content: flex-start; } + .menu.align-right.vertical li { + display: block; + text-align: right; } + .menu.align-right.vertical li .submenu li { + text-align: right; } + .menu.align-right .nested { + margin-right: 1rem; + margin-left: 0; } + .menu.align-center li { + display: -ms-flexbox; + display: flex; + -ms-flex-pack: center; + justify-content: center; } + .menu.align-center li .submenu li { + -ms-flex-pack: start; + justify-content: flex-start; } + .menu .menu-text { + padding: 0.7rem 1rem; + font-weight: bold; + line-height: 1; + color: inherit; } + +.menu-centered > .menu { + -ms-flex-pack: center; + justify-content: center; } + .menu-centered > .menu li { + display: -ms-flexbox; + display: flex; + -ms-flex-pack: center; + justify-content: center; } + .menu-centered > .menu li .submenu li { + -ms-flex-pack: start; + justify-content: flex-start; } .no-js [data-responsive-menu] ul { display: none; } @@ -2200,19 +3559,19 @@ select { position: relative; display: inline-block; vertical-align: middle; - cursor: pointer; width: 20px; - height: 16px; } + height: 16px; + cursor: pointer; } .menu-icon::after { - content: ''; position: absolute; + top: 0; + left: 0; display: block; width: 100%; height: 2px; background: #fefefe; - top: 0; - left: 0; - box-shadow: 0 7px 0 #fefefe, 0 14px 0 #fefefe; } + box-shadow: 0 7px 0 #fefefe, 0 14px 0 #fefefe; + content: ''; } .menu-icon:hover::after { background: #cacaca; box-shadow: 0 7px 0 #cacaca, 0 14px 0 #cacaca; } @@ -2221,19 +3580,19 @@ select { position: relative; display: inline-block; vertical-align: middle; - cursor: pointer; width: 20px; - height: 16px; } + height: 16px; + cursor: pointer; } .menu-icon.dark::after { - content: ''; position: absolute; + top: 0; + left: 0; display: block; width: 100%; height: 2px; background: #0a0a0a; - top: 0; - left: 0; - box-shadow: 0 7px 0 #0a0a0a, 0 14px 0 #0a0a0a; } + box-shadow: 0 7px 0 #0a0a0a, 0 14px 0 #0a0a0a; + content: ''; } .menu-icon.dark:hover::after { background: #8a8a8a; box-shadow: 0 7px 0 #8a8a8a, 0 14px 0 #8a8a8a; } @@ -2242,71 +3601,111 @@ select { position: relative; overflow: hidden; } .is-drilldown li { - display: block !important; } + display: block; } + .is-drilldown.animate-height { + transition: height 0.5s; } -.is-drilldown-submenu { +.drilldown a { + padding: 0.7rem 1rem; + background: #fefefe; } + +.drilldown .is-drilldown-submenu { position: absolute; top: 0; left: 100%; z-index: -1; width: 100%; background: #fefefe; - transition: -webkit-transform 0.15s linear; transition: transform 0.15s linear; } - .is-drilldown-submenu.is-active { + .drilldown .is-drilldown-submenu.is-active { z-index: 1; display: block; - -webkit-transform: translateX(-100%); - -ms-transform: translateX(-100%); - transform: translateX(-100%); } - .is-drilldown-submenu.is-closing { - -webkit-transform: translateX(100%); - -ms-transform: translateX(100%); - transform: translateX(100%); } - -.is-drilldown-submenu-parent > a { + -ms-transform: translateX(-100%); + transform: translateX(-100%); } + .drilldown .is-drilldown-submenu.is-closing { + -ms-transform: translateX(100%); + transform: translateX(100%); } + .drilldown .is-drilldown-submenu a { + padding: 0.7rem 1rem; } + +.drilldown .nested.is-drilldown-submenu { + margin-right: 0; + margin-left: 0; } + +.drilldown .drilldown-submenu-cover-previous { + min-height: 100%; } + +.drilldown .is-drilldown-submenu-parent > a { position: relative; } - .is-drilldown-submenu-parent > a::after { - content: ''; + .drilldown .is-drilldown-submenu-parent > a::after { + position: absolute; + top: 50%; + margin-top: -6px; + right: 1rem; display: block; width: 0; height: 0; border: inset 6px; - border-color: transparent transparent transparent #2199e8; - border-left-style: solid; + content: ''; border-right-width: 0; - position: absolute; - top: 50%; - margin-top: -6px; - right: 1rem; } + border-left-style: solid; + border-color: transparent transparent transparent #1779ba; } -.js-drilldown-back > a::before { +.drilldown.align-left .is-drilldown-submenu-parent > a::after { + left: auto; + right: 1rem; + display: block; + width: 0; + height: 0; + border: inset 6px; content: ''; + border-right-width: 0; + border-left-style: solid; + border-color: transparent transparent transparent #1779ba; } + +.drilldown.align-right .is-drilldown-submenu-parent > a::after { + right: auto; + left: 1rem; display: block; width: 0; height: 0; border: inset 6px; - border-color: transparent #2199e8 transparent transparent; + content: ''; + border-left-width: 0; border-right-style: solid; + border-color: transparent #1779ba transparent transparent; } + +.drilldown .js-drilldown-back > a::before { + display: block; + width: 0; + height: 0; + border: inset 6px; + content: ''; border-left-width: 0; + border-right-style: solid; + border-color: transparent #1779ba transparent transparent; border-left-width: 0; display: inline-block; vertical-align: middle; - margin-right: 0.75rem; } + margin-right: 0.75rem; + border-left-width: 0; } .dropdown-pane { - background-color: #fefefe; - border: 1px solid #cacaca; - border-radius: 0; - display: block; - font-size: 1rem; - padding: 1rem; position: absolute; - visibility: hidden; + z-index: 10; width: 300px; - z-index: 10; } + padding: 1rem; + visibility: hidden; + display: none; + border: 1px solid #cacaca; + border-radius: 0; + background-color: #fefefe; + font-size: 1rem; } + .dropdown-pane.is-opening { + display: block; } .dropdown-pane.is-open { - visibility: visible; } + visibility: visible; + display: block; } .dropdown-pane.tiny { width: 100px; } @@ -2318,182 +3717,201 @@ select { width: 400px; } .dropdown.menu > li.opens-left > .is-dropdown-submenu { - left: auto; + top: 100%; right: 0; - top: 100%; } + left: auto; } .dropdown.menu > li.opens-right > .is-dropdown-submenu { + top: 100%; right: auto; - left: 0; - top: 100%; } + left: 0; } .dropdown.menu > li.is-dropdown-submenu-parent > a { - padding-right: 1.5rem; - position: relative; } + position: relative; + padding-right: 1.5rem; } .dropdown.menu > li.is-dropdown-submenu-parent > a::after { - content: ''; display: block; width: 0; height: 0; - border: inset 5px; - border-color: #2199e8 transparent transparent; - border-top-style: solid; + border: inset 6px; + content: ''; border-bottom-width: 0; + border-top-style: solid; + border-color: #1779ba transparent transparent; right: 5px; - margin-top: -2px; } + left: auto; + margin-top: -3px; } -[data-whatinput='mouse'] .dropdown.menu a { - outline: 0; } +.dropdown.menu a { + padding: 0.7rem 1rem; } + [data-whatinput='mouse'] .dropdown.menu a { + outline: 0; } + +.dropdown.menu .is-active > a { + background: transparent; + color: #1779ba; } .no-js .dropdown.menu ul { display: none; } +.dropdown.menu .nested.is-dropdown-submenu { + margin-right: 0; + margin-left: 0; } + .dropdown.menu.vertical > li .is-dropdown-submenu { top: 0; } .dropdown.menu.vertical > li.opens-left > .is-dropdown-submenu { + right: 100%; left: auto; - right: 100%; } + top: 0; } .dropdown.menu.vertical > li.opens-right > .is-dropdown-submenu { right: auto; left: 100%; } .dropdown.menu.vertical > li > a::after { - right: 14px; - margin-top: -3px; } + right: 14px; } .dropdown.menu.vertical > li.opens-left > a::after { - content: ''; + right: auto; + left: 5px; display: block; width: 0; height: 0; - border: inset 5px; - border-color: transparent #2199e8 transparent transparent; + border: inset 6px; + content: ''; + border-left-width: 0; border-right-style: solid; - border-left-width: 0; } + border-color: transparent #1779ba transparent transparent; } .dropdown.menu.vertical > li.opens-right > a::after { - content: ''; display: block; width: 0; height: 0; - border: inset 5px; - border-color: transparent transparent transparent #2199e8; + border: inset 6px; + content: ''; + border-right-width: 0; border-left-style: solid; - border-right-width: 0; } + border-color: transparent transparent transparent #1779ba; } -@media screen and (min-width: 40em) { +@media print, screen and (min-width: 40em) { .dropdown.menu.medium-horizontal > li.opens-left > .is-dropdown-submenu { - left: auto; + top: 100%; right: 0; - top: 100%; } + left: auto; } .dropdown.menu.medium-horizontal > li.opens-right > .is-dropdown-submenu { + top: 100%; right: auto; - left: 0; - top: 100%; } + left: 0; } .dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a { - padding-right: 1.5rem; - position: relative; } + position: relative; + padding-right: 1.5rem; } .dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a::after { - content: ''; display: block; width: 0; height: 0; - border: inset 5px; - border-color: #2199e8 transparent transparent; - border-top-style: solid; + border: inset 6px; + content: ''; border-bottom-width: 0; + border-top-style: solid; + border-color: #1779ba transparent transparent; right: 5px; - margin-top: -2px; } + left: auto; + margin-top: -3px; } .dropdown.menu.medium-vertical > li .is-dropdown-submenu { top: 0; } .dropdown.menu.medium-vertical > li.opens-left > .is-dropdown-submenu { + right: 100%; left: auto; - right: 100%; } + top: 0; } .dropdown.menu.medium-vertical > li.opens-right > .is-dropdown-submenu { right: auto; left: 100%; } .dropdown.menu.medium-vertical > li > a::after { - right: 14px; - margin-top: -3px; } + right: 14px; } .dropdown.menu.medium-vertical > li.opens-left > a::after { - content: ''; + right: auto; + left: 5px; display: block; width: 0; height: 0; - border: inset 5px; - border-color: transparent #2199e8 transparent transparent; + border: inset 6px; + content: ''; + border-left-width: 0; border-right-style: solid; - border-left-width: 0; } + border-color: transparent #1779ba transparent transparent; } .dropdown.menu.medium-vertical > li.opens-right > a::after { - content: ''; display: block; width: 0; height: 0; - border: inset 5px; - border-color: transparent transparent transparent #2199e8; + border: inset 6px; + content: ''; + border-right-width: 0; border-left-style: solid; - border-right-width: 0; } } + border-color: transparent transparent transparent #1779ba; } } -@media screen and (min-width: 64em) { +@media print, screen and (min-width: 64em) { .dropdown.menu.large-horizontal > li.opens-left > .is-dropdown-submenu { - left: auto; + top: 100%; right: 0; - top: 100%; } + left: auto; } .dropdown.menu.large-horizontal > li.opens-right > .is-dropdown-submenu { + top: 100%; right: auto; - left: 0; - top: 100%; } + left: 0; } .dropdown.menu.large-horizontal > li.is-dropdown-submenu-parent > a { - padding-right: 1.5rem; - position: relative; } + position: relative; + padding-right: 1.5rem; } .dropdown.menu.large-horizontal > li.is-dropdown-submenu-parent > a::after { - content: ''; display: block; width: 0; height: 0; - border: inset 5px; - border-color: #2199e8 transparent transparent; - border-top-style: solid; + border: inset 6px; + content: ''; border-bottom-width: 0; + border-top-style: solid; + border-color: #1779ba transparent transparent; right: 5px; - margin-top: -2px; } + left: auto; + margin-top: -3px; } .dropdown.menu.large-vertical > li .is-dropdown-submenu { top: 0; } .dropdown.menu.large-vertical > li.opens-left > .is-dropdown-submenu { + right: 100%; left: auto; - right: 100%; } + top: 0; } .dropdown.menu.large-vertical > li.opens-right > .is-dropdown-submenu { right: auto; left: 100%; } .dropdown.menu.large-vertical > li > a::after { - right: 14px; - margin-top: -3px; } + right: 14px; } .dropdown.menu.large-vertical > li.opens-left > a::after { - content: ''; + right: auto; + left: 5px; display: block; width: 0; height: 0; - border: inset 5px; - border-color: transparent #2199e8 transparent transparent; + border: inset 6px; + content: ''; + border-left-width: 0; border-right-style: solid; - border-left-width: 0; } + border-color: transparent #1779ba transparent transparent; } .dropdown.menu.large-vertical > li.opens-right > a::after { - content: ''; display: block; width: 0; height: 0; - border: inset 5px; - border-color: transparent transparent transparent #2199e8; + border: inset 6px; + content: ''; + border-right-width: 0; border-left-style: solid; - border-right-width: 0; } } + border-color: transparent transparent transparent #1779ba; } } .dropdown.menu.align-right .is-dropdown-submenu.first-sub { top: 100%; - left: auto; - right: 0; } + right: 0; + left: auto; } .is-dropdown-menu.vertical { width: 100px; } @@ -2506,47 +3924,51 @@ select { position: absolute; top: 50%; right: 5px; - margin-top: -2px; } + left: auto; + margin-top: -6px; } .is-dropdown-submenu-parent.opens-inner > .is-dropdown-submenu { top: 100%; left: auto; } .is-dropdown-submenu-parent.opens-left > .is-dropdown-submenu { - left: auto; - right: 100%; } + right: 100%; + left: auto; } .is-dropdown-submenu-parent.opens-right > .is-dropdown-submenu { right: auto; left: 100%; } .is-dropdown-submenu { - display: none; position: absolute; top: 0; left: 100%; - min-width: 200px; z-index: 1; - background: #fefefe; - border: 1px solid #cacaca; } + display: none; + min-width: 200px; + border: 1px solid #cacaca; + background: #fefefe; } + .dropdown .is-dropdown-submenu a { + padding: 0.7rem 1rem; } .is-dropdown-submenu .is-dropdown-submenu-parent > a::after { - right: 14px; - margin-top: -3px; } + right: 14px; } .is-dropdown-submenu .is-dropdown-submenu-parent.opens-left > a::after { - content: ''; + right: auto; + left: 5px; display: block; width: 0; height: 0; - border: inset 5px; - border-color: transparent #2199e8 transparent transparent; + border: inset 6px; + content: ''; + border-left-width: 0; border-right-style: solid; - border-left-width: 0; } + border-color: transparent #1779ba transparent transparent; } .is-dropdown-submenu .is-dropdown-submenu-parent.opens-right > a::after { - content: ''; display: block; width: 0; height: 0; - border: inset 5px; - border-color: transparent transparent transparent #2199e8; + border: inset 6px; + content: ''; + border-right-width: 0; border-left-style: solid; - border-right-width: 0; } + border-color: transparent transparent transparent #1779ba; } .is-dropdown-submenu .is-dropdown-submenu { margin-top: -1px; } .is-dropdown-submenu > li { @@ -2554,12 +3976,17 @@ select { .is-dropdown-submenu.js-dropdown-active { display: block; } +.responsive-embed, .flex-video { position: relative; height: 0; - padding-bottom: 75%; margin-bottom: 1rem; + padding-bottom: 75%; overflow: hidden; } + .responsive-embed iframe, + .responsive-embed object, + .responsive-embed embed, + .responsive-embed video, .flex-video iframe, .flex-video object, .flex-video embed, @@ -2569,176 +3996,403 @@ select { left: 0; width: 100%; height: 100%; } + .responsive-embed.widescreen, .flex-video.widescreen { padding-bottom: 56.25%; } - .flex-video.vimeo { - padding-top: 0; } .label { display: inline-block; padding: 0.33333rem 0.5rem; + border-radius: 0; font-size: 0.8rem; line-height: 1; white-space: nowrap; cursor: default; - border-radius: 0; - background: #2199e8; + background: #1779ba; color: #fefefe; } + .label.primary { + background: #1779ba; + color: #fefefe; } .label.secondary { - background: #777; + background: #767676; color: #fefefe; } .label.success { background: #3adb76; - color: #fefefe; } + color: #0a0a0a; } .label.warning { background: #ffae00; - color: #fefefe; } + color: #0a0a0a; } .label.alert { - background: #ec5840; + background: #cc4b37; color: #fefefe; } .media-object { + display: -ms-flexbox; + display: flex; margin-bottom: 1rem; - display: block; } + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } .media-object img { max-width: none; } + @media screen and (max-width: 39.9375em) { + .media-object.stack-for-small { + -ms-flex-wrap: wrap; + flex-wrap: wrap; } } @media screen and (max-width: 39.9375em) { .media-object.stack-for-small .media-object-section { padding: 0; padding-bottom: 1rem; - display: block; } + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + max-width: 100%; } .media-object.stack-for-small .media-object-section img { width: 100%; } } .media-object-section { - display: table-cell; - vertical-align: top; } + -ms-flex: 0 1 auto; + flex: 0 1 auto; } .media-object-section:first-child { padding-right: 1rem; } .media-object-section:last-child:not(:nth-child(2)) { padding-left: 1rem; } .media-object-section > :last-child { margin-bottom: 0; } - .media-object-section.middle { - vertical-align: middle; } - .media-object-section.bottom { - vertical-align: bottom; } + .media-object-section.main-section { + -ms-flex: 1 1 0px; + flex: 1 1 0px; } -html, -body { - height: 100%; } +.is-off-canvas-open { + overflow: hidden; } -.off-canvas-wrapper { +.js-off-canvas-overlay { + position: absolute; + top: 0; + left: 0; + z-index: 11; width: 100%; - overflow-x: hidden; - position: relative; - -webkit-backface-visibility: hidden; - backface-visibility: hidden; - -webkit-overflow-scrolling: auto; } + height: 100%; + transition: opacity 0.5s ease, visibility 0.5s ease; + background: rgba(254, 254, 254, 0.25); + opacity: 0; + visibility: hidden; + overflow: hidden; } + .js-off-canvas-overlay.is-visible { + opacity: 1; + visibility: visible; } + .js-off-canvas-overlay.is-closable { + cursor: pointer; } + .js-off-canvas-overlay.is-overlay-absolute { + position: absolute; } + .js-off-canvas-overlay.is-overlay-fixed { + position: fixed; } -.off-canvas-wrapper-inner { +.off-canvas-wrapper { position: relative; - width: 100%; - min-height: 100%; - transition: -webkit-transform 0.5s ease; - transition: transform 0.5s ease; } - .off-canvas-wrapper-inner::before, .off-canvas-wrapper-inner::after { - content: ' '; - display: table; } - .off-canvas-wrapper-inner::after { - clear: both; } + overflow: hidden; } -.off-canvas-content, -.off-canvas-content { - min-height: 100%; - background: #fefefe; - transition: -webkit-transform 0.5s ease; +.off-canvas { + position: fixed; + z-index: 12; transition: transform 0.5s ease; -webkit-backface-visibility: hidden; backface-visibility: hidden; - z-index: 1; - padding-bottom: 0.1px; - box-shadow: 0 0 10px rgba(10, 10, 10, 0.5); } - -.js-off-canvas-exit { - display: none; + background: #e6e6e6; } + [data-whatinput='mouse'] .off-canvas { + outline: 0; } + .off-canvas.is-transition-push { + z-index: 12; } + .off-canvas.is-closed { + visibility: hidden; } + .off-canvas.is-transition-overlap { + z-index: 13; } + .off-canvas.is-transition-overlap.is-open { + box-shadow: 0 0 10px rgba(10, 10, 10, 0.7); } + .off-canvas.is-open { + -ms-transform: translate(0, 0); + transform: translate(0, 0); } + +.off-canvas-absolute { position: absolute; + z-index: 12; + transition: transform 0.5s ease; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + background: #e6e6e6; } + [data-whatinput='mouse'] .off-canvas-absolute { + outline: 0; } + .off-canvas-absolute.is-transition-push { + z-index: 12; } + .off-canvas-absolute.is-closed { + visibility: hidden; } + .off-canvas-absolute.is-transition-overlap { + z-index: 13; } + .off-canvas-absolute.is-transition-overlap.is-open { + box-shadow: 0 0 10px rgba(10, 10, 10, 0.7); } + .off-canvas-absolute.is-open { + -ms-transform: translate(0, 0); + transform: translate(0, 0); } + +.position-left { top: 0; left: 0; - width: 100%; height: 100%; - background: rgba(254, 254, 254, 0.25); - cursor: pointer; - transition: background 0.5s ease; } - -.off-canvas { - position: absolute; - background: #e6e6e6; - z-index: -1; - max-height: 100%; overflow-y: auto; - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); } - [data-whatinput='mouse'] .off-canvas { - outline: 0; } - .off-canvas.position-left { - left: -250px; - top: 0; - width: 250px; } - .is-open-left { - -webkit-transform: translateX(250px); - -ms-transform: translateX(250px); - transform: translateX(250px); } - .off-canvas.position-right { - right: -250px; - top: 0; - width: 250px; } - .is-open-right { - -webkit-transform: translateX(-250px); - -ms-transform: translateX(-250px); - transform: translateX(-250px); } + width: 250px; + -ms-transform: translateX(-250px); + transform: translateX(-250px); } + .off-canvas-content .off-canvas.position-left { + -ms-transform: translateX(-250px); + transform: translateX(-250px); } + .off-canvas-content .off-canvas.position-left.is-transition-overlap.is-open { + -ms-transform: translate(0, 0); + transform: translate(0, 0); } + .off-canvas-content.is-open-left.has-transition-push { + -ms-transform: translateX(250px); + transform: translateX(250px); } + .position-left.is-transition-push { + box-shadow: inset -13px 0 20px -13px rgba(10, 10, 10, 0.25); } + +.position-right { + top: 0; + right: 0; + height: 100%; + overflow-y: auto; + width: 250px; + -ms-transform: translateX(250px); + transform: translateX(250px); } + .off-canvas-content .off-canvas.position-right { + -ms-transform: translateX(250px); + transform: translateX(250px); } + .off-canvas-content .off-canvas.position-right.is-transition-overlap.is-open { + -ms-transform: translate(0, 0); + transform: translate(0, 0); } + .off-canvas-content.is-open-right.has-transition-push { + -ms-transform: translateX(-250px); + transform: translateX(-250px); } + .position-right.is-transition-push { + box-shadow: inset 13px 0 20px -13px rgba(10, 10, 10, 0.25); } + +.position-top { + top: 0; + left: 0; + width: 100%; + overflow-x: auto; + height: 250px; + -ms-transform: translateY(-250px); + transform: translateY(-250px); } + .off-canvas-content .off-canvas.position-top { + -ms-transform: translateY(-250px); + transform: translateY(-250px); } + .off-canvas-content .off-canvas.position-top.is-transition-overlap.is-open { + -ms-transform: translate(0, 0); + transform: translate(0, 0); } + .off-canvas-content.is-open-top.has-transition-push { + -ms-transform: translateY(250px); + transform: translateY(250px); } + .position-top.is-transition-push { + box-shadow: inset 0 -13px 20px -13px rgba(10, 10, 10, 0.25); } + +.position-bottom { + bottom: 0; + left: 0; + width: 100%; + overflow-x: auto; + height: 250px; + -ms-transform: translateY(250px); + transform: translateY(250px); } + .off-canvas-content .off-canvas.position-bottom { + -ms-transform: translateY(250px); + transform: translateY(250px); } + .off-canvas-content .off-canvas.position-bottom.is-transition-overlap.is-open { + -ms-transform: translate(0, 0); + transform: translate(0, 0); } + .off-canvas-content.is-open-bottom.has-transition-push { + -ms-transform: translateY(-250px); + transform: translateY(-250px); } + .position-bottom.is-transition-push { + box-shadow: inset 0 13px 20px -13px rgba(10, 10, 10, 0.25); } -@media screen and (min-width: 40em) { +.off-canvas-content { + -ms-transform: none; + transform: none; + transition: transform 0.5s ease; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; } + .off-canvas-content.has-transition-push { + -ms-transform: translate(0, 0); + transform: translate(0, 0); } + .off-canvas-content .off-canvas.is-open { + -ms-transform: translate(0, 0); + transform: translate(0, 0); } + +@media print, screen and (min-width: 40em) { .position-left.reveal-for-medium { - left: 0; - z-index: auto; - position: fixed; } + -ms-transform: none; + transform: none; + z-index: 12; + transition: none; + visibility: visible; } + .position-left.reveal-for-medium .close-button { + display: none; } + .off-canvas-content .position-left.reveal-for-medium { + -ms-transform: none; + transform: none; } + .off-canvas-content.has-reveal-left { + margin-left: 250px; } .position-left.reveal-for-medium ~ .off-canvas-content { margin-left: 250px; } .position-right.reveal-for-medium { - right: 0; - z-index: auto; - position: fixed; } + -ms-transform: none; + transform: none; + z-index: 12; + transition: none; + visibility: visible; } + .position-right.reveal-for-medium .close-button { + display: none; } + .off-canvas-content .position-right.reveal-for-medium { + -ms-transform: none; + transform: none; } + .off-canvas-content.has-reveal-right { + margin-right: 250px; } .position-right.reveal-for-medium ~ .off-canvas-content { - margin-right: 250px; } } - -@media screen and (min-width: 64em) { + margin-right: 250px; } + .position-top.reveal-for-medium { + -ms-transform: none; + transform: none; + z-index: 12; + transition: none; + visibility: visible; } + .position-top.reveal-for-medium .close-button { + display: none; } + .off-canvas-content .position-top.reveal-for-medium { + -ms-transform: none; + transform: none; } + .off-canvas-content.has-reveal-top { + margin-top: 250px; } + .position-top.reveal-for-medium ~ .off-canvas-content { + margin-top: 250px; } + .position-bottom.reveal-for-medium { + -ms-transform: none; + transform: none; + z-index: 12; + transition: none; + visibility: visible; } + .position-bottom.reveal-for-medium .close-button { + display: none; } + .off-canvas-content .position-bottom.reveal-for-medium { + -ms-transform: none; + transform: none; } + .off-canvas-content.has-reveal-bottom { + margin-bottom: 250px; } + .position-bottom.reveal-for-medium ~ .off-canvas-content { + margin-bottom: 250px; } } + +@media print, screen and (min-width: 64em) { .position-left.reveal-for-large { - left: 0; - z-index: auto; - position: fixed; } + -ms-transform: none; + transform: none; + z-index: 12; + transition: none; + visibility: visible; } + .position-left.reveal-for-large .close-button { + display: none; } + .off-canvas-content .position-left.reveal-for-large { + -ms-transform: none; + transform: none; } + .off-canvas-content.has-reveal-left { + margin-left: 250px; } .position-left.reveal-for-large ~ .off-canvas-content { margin-left: 250px; } .position-right.reveal-for-large { - right: 0; - z-index: auto; - position: fixed; } + -ms-transform: none; + transform: none; + z-index: 12; + transition: none; + visibility: visible; } + .position-right.reveal-for-large .close-button { + display: none; } + .off-canvas-content .position-right.reveal-for-large { + -ms-transform: none; + transform: none; } + .off-canvas-content.has-reveal-right { + margin-right: 250px; } .position-right.reveal-for-large ~ .off-canvas-content { - margin-right: 250px; } } + margin-right: 250px; } + .position-top.reveal-for-large { + -ms-transform: none; + transform: none; + z-index: 12; + transition: none; + visibility: visible; } + .position-top.reveal-for-large .close-button { + display: none; } + .off-canvas-content .position-top.reveal-for-large { + -ms-transform: none; + transform: none; } + .off-canvas-content.has-reveal-top { + margin-top: 250px; } + .position-top.reveal-for-large ~ .off-canvas-content { + margin-top: 250px; } + .position-bottom.reveal-for-large { + -ms-transform: none; + transform: none; + z-index: 12; + transition: none; + visibility: visible; } + .position-bottom.reveal-for-large .close-button { + display: none; } + .off-canvas-content .position-bottom.reveal-for-large { + -ms-transform: none; + transform: none; } + .off-canvas-content.has-reveal-bottom { + margin-bottom: 250px; } + .position-bottom.reveal-for-large ~ .off-canvas-content { + margin-bottom: 250px; } } + +@media print, screen and (min-width: 40em) { + .off-canvas.in-canvas-for-medium { + visibility: visible; + height: auto; + position: static; + background: inherit; + width: inherit; + overflow: inherit; + transition: inherit; } + .off-canvas.in-canvas-for-medium.position-left, .off-canvas.in-canvas-for-medium.position-right, .off-canvas.in-canvas-for-medium.position-top, .off-canvas.in-canvas-for-medium.position-bottom { + box-shadow: none; + -ms-transform: none; + transform: none; } + .off-canvas.in-canvas-for-medium .close-button { + display: none; } } + +@media print, screen and (min-width: 64em) { + .off-canvas.in-canvas-for-large { + visibility: visible; + height: auto; + position: static; + background: inherit; + width: inherit; + overflow: inherit; + transition: inherit; } + .off-canvas.in-canvas-for-large.position-left, .off-canvas.in-canvas-for-large.position-right, .off-canvas.in-canvas-for-large.position-top, .off-canvas.in-canvas-for-large.position-bottom { + box-shadow: none; + -ms-transform: none; + transform: none; } + .off-canvas.in-canvas-for-large .close-button { + display: none; } } .orbit { position: relative; } .orbit-container { position: relative; + height: 0; margin: 0; - overflow: hidden; - list-style: none; } + list-style: none; + overflow: hidden; } .orbit-slide { - width: 100%; - max-height: 100%; } + width: 100%; } .orbit-slide.no-motionui.is-active { top: 0; left: 0; } @@ -2747,25 +4401,24 @@ body { margin: 0; } .orbit-image { - margin: 0; width: 100%; - max-width: 100%; } + max-width: 100%; + margin: 0; } .orbit-caption { position: absolute; bottom: 0; width: 100%; - padding: 1rem; margin-bottom: 0; - color: #fefefe; - background-color: rgba(10, 10, 10, 0.5); } + padding: 1rem; + background-color: rgba(10, 10, 10, 0.5); + color: #fefefe; } .orbit-previous, .orbit-next { position: absolute; top: 50%; - -webkit-transform: translateY(-50%); - -ms-transform: translateY(-50%); - transform: translateY(-50%); + -ms-transform: translateY(-50%); + transform: translateY(-50%); z-index: 10; padding: 1rem; color: #fefefe; } @@ -2792,8 +4445,8 @@ body { width: 1.2rem; height: 1.2rem; margin: 0.1rem; - background-color: #cacaca; - border-radius: 50%; } + border-radius: 50%; + background-color: #cacaca; } .orbit-bullets button:hover { background-color: #8a8a8a; } .orbit-bullets button.is-active { @@ -2803,32 +4456,36 @@ body { margin-left: 0; margin-bottom: 1rem; } .pagination::before, .pagination::after { + display: table; content: ' '; - display: table; } + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-order: 1; + order: 1; } .pagination::after { clear: both; } .pagination li { - font-size: 0.875rem; margin-right: 0.0625rem; border-radius: 0; + font-size: 0.875rem; display: none; } .pagination li:last-child, .pagination li:first-child { display: inline-block; } - @media screen and (min-width: 40em) { + @media print, screen and (min-width: 40em) { .pagination li { display: inline-block; } } .pagination a, .pagination button { - color: #0a0a0a; display: block; padding: 0.1875rem 0.625rem; - border-radius: 0; } + border-radius: 0; + color: #0a0a0a; } .pagination a:hover, .pagination button:hover { background: #e6e6e6; } .pagination .current { padding: 0.1875rem 0.625rem; - background: #2199e8; + background: #1779ba; color: #fefefe; cursor: default; } .pagination .disabled { @@ -2838,52 +4495,51 @@ body { .pagination .disabled:hover { background: transparent; } .pagination .ellipsis::after { - content: '\2026'; padding: 0.1875rem 0.625rem; + content: '\2026'; color: #0a0a0a; } .pagination-previous a::before, .pagination-previous.disabled::before { - content: '\00ab'; display: inline-block; - margin-right: 0.5rem; } + margin-right: 0.5rem; + content: '\00ab'; } .pagination-next a::after, .pagination-next.disabled::after { - content: '\00bb'; display: inline-block; - margin-left: 0.5rem; } + margin-left: 0.5rem; + content: '\00bb'; } .progress { - background-color: #cacaca; height: 1rem; margin-bottom: 1rem; - border-radius: 0; } + border-radius: 0; + background-color: #cacaca; } .progress.primary .progress-meter { - background-color: #2199e8; } + background-color: #1779ba; } .progress.secondary .progress-meter { - background-color: #777; } + background-color: #767676; } .progress.success .progress-meter { background-color: #3adb76; } .progress.warning .progress-meter { background-color: #ffae00; } .progress.alert .progress-meter { - background-color: #ec5840; } + background-color: #cc4b37; } .progress-meter { position: relative; display: block; width: 0%; height: 100%; - background-color: #2199e8; } + background-color: #1779ba; } .progress-meter-text { position: absolute; top: 50%; left: 50%; - -webkit-transform: translate(-50%, -50%); - -ms-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); + -ms-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); position: absolute; margin: 0; font-size: 0.75rem; @@ -2898,64 +4554,61 @@ html.is-reveal-open, html.is-reveal-open body { min-height: 100%; overflow: hidden; + position: fixed; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .reveal-overlay { - display: none; position: fixed; top: 0; + right: 0; bottom: 0; left: 0; - right: 0; z-index: 1005; + display: none; background-color: rgba(10, 10, 10, 0.45); overflow-y: scroll; } .reveal { - display: none; z-index: 1006; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + display: none; padding: 1rem; border: 1px solid #cacaca; - background-color: #fefefe; border-radius: 0; + background-color: #fefefe; position: relative; top: 100px; - margin-left: auto; margin-right: auto; + margin-left: auto; overflow-y: auto; } [data-whatinput='mouse'] .reveal { outline: 0; } - @media screen and (min-width: 40em) { + @media print, screen and (min-width: 40em) { .reveal { min-height: 0; } } - .reveal .column, .reveal .columns, - .reveal .columns { + .reveal .column { min-width: 0; } .reveal > :last-child { margin-bottom: 0; } - @media screen and (min-width: 40em) { + @media print, screen and (min-width: 40em) { .reveal { width: 600px; max-width: 75rem; } } - @media screen and (min-width: 40em) { - .reveal .reveal { - left: auto; - right: auto; - margin: 0 auto; } } .reveal.collapse { padding: 0; } - @media screen and (min-width: 40em) { + @media print, screen and (min-width: 40em) { .reveal.tiny { width: 30%; max-width: 75rem; } } - @media screen and (min-width: 40em) { + @media print, screen and (min-width: 40em) { .reveal.small { width: 50%; max-width: 75rem; } } - @media screen and (min-width: 40em) { + @media print, screen and (min-width: 40em) { .reveal.large { width: 90%; max-width: 75rem; } } @@ -2963,10 +4616,10 @@ html.is-reveal-open body { top: 0; left: 0; width: 100%; + max-width: none; height: 100%; height: 100vh; min-height: 100vh; - max-width: none; margin-left: 0; border: 0; border-radius: 0; } @@ -2975,10 +4628,10 @@ html.is-reveal-open body { top: 0; left: 0; width: 100%; + max-width: none; height: 100%; height: 100vh; min-height: 100vh; - max-width: none; margin-left: 0; border: 0; border-radius: 0; } } @@ -3014,24 +4667,22 @@ html.is-reveal-open body { .slider-handle { position: absolute; top: 50%; - -webkit-transform: translateY(-50%); - -ms-transform: translateY(-50%); - transform: translateY(-50%); - position: absolute; + -ms-transform: translateY(-50%); + transform: translateY(-50%); left: 0; z-index: 1; display: inline-block; width: 1.4rem; height: 1.4rem; - background-color: #2199e8; + border-radius: 0; + background-color: #1779ba; transition: all 0.2s ease-in-out; -ms-touch-action: manipulation; - touch-action: manipulation; - border-radius: 0; } + touch-action: manipulation; } [data-whatinput='mouse'] .slider-handle { outline: 0; } .slider-handle:hover { - background-color: #1583cc; } + background-color: #14679e; } .slider-handle.is-dragging { transition: all 0s linear; } @@ -3045,9 +4696,8 @@ html.is-reveal-open body { width: 0.5rem; height: 12.5rem; margin: 0 1.25rem; - -webkit-transform: scale(1, -1); - -ms-transform: scale(1, -1); - transform: scale(1, -1); } + -ms-transform: scale(1, -1); + transform: scale(1, -1); } .slider.vertical .slider-fill { top: 0; width: 0.5rem; @@ -3058,80 +4708,78 @@ html.is-reveal-open body { left: 50%; width: 1.4rem; height: 1.4rem; - -webkit-transform: translateX(-50%); - -ms-transform: translateX(-50%); - transform: translateX(-50%); } + -ms-transform: translateX(-50%); + transform: translateX(-50%); } .sticky-container { position: relative; } .sticky { - position: absolute; + position: relative; z-index: 0; - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); } + transform: translate3d(0, 0, 0); } .sticky.is-stuck { position: fixed; - z-index: 5; } + z-index: 5; + width: 100%; } .sticky.is-stuck.is-at-top { top: 0; } .sticky.is-stuck.is-at-bottom { bottom: 0; } .sticky.is-anchored { - position: absolute; - left: auto; - right: auto; } + position: relative; + right: auto; + left: auto; } .sticky.is-anchored.is-at-bottom { bottom: 0; } .switch { height: 2rem; + position: relative; margin-bottom: 1rem; outline: 0; - position: relative; + font-size: 0.875rem; + font-weight: bold; + color: #fefefe; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; - user-select: none; - color: #fefefe; - font-weight: bold; - font-size: 0.875rem; } + user-select: none; } .switch-input { - opacity: 0; position: absolute; - margin-bottom: 0; } + margin-bottom: 0; + opacity: 0; } .switch-paddle { - background: #cacaca; - cursor: pointer; - display: block; position: relative; + display: block; width: 4rem; height: 2rem; - transition: all 0.25s ease-out; border-radius: 0; + background: #cacaca; + transition: all 0.25s ease-out; + font-weight: inherit; color: inherit; - font-weight: inherit; } + cursor: pointer; } input + .switch-paddle { margin: 0; } .switch-paddle::after { - background: #fefefe; - content: ''; - display: block; position: absolute; - height: 1.5rem; - left: 0.25rem; top: 0.25rem; + left: 0.25rem; + display: block; width: 1.5rem; + height: 1.5rem; + transform: translate3d(0, 0, 0); + border-radius: 0; + background: #fefefe; transition: all 0.25s ease-out; - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - border-radius: 0; } + content: ''; } input:checked ~ .switch-paddle { - background: #2199e8; } + background: #1779ba; } input:checked ~ .switch-paddle::after { left: 2.25rem; } [data-whatinput='mouse'] input:focus ~ .switch-paddle { @@ -3140,9 +4788,8 @@ html.is-reveal-open body { .switch-active, .switch-inactive { position: absolute; top: 50%; - -webkit-transform: translateY(-50%); - -ms-transform: translateY(-50%); - transform: translateY(-50%); } + -ms-transform: translateY(-50%); + transform: translateY(-50%); } .switch-active { left: 8%; @@ -3162,6 +4809,8 @@ html.is-reveal-open body { height: 1.5rem; font-size: 0.625rem; } .switch.tiny .switch-paddle::after { + top: 0.25rem; + left: 0.25rem; width: 1rem; height: 1rem; } .switch.tiny input:checked ~ .switch-paddle::after { @@ -3174,6 +4823,8 @@ html.is-reveal-open body { height: 1.75rem; font-size: 0.75rem; } .switch.small .switch-paddle::after { + top: 0.25rem; + left: 0.25rem; width: 1.25rem; height: 1.25rem; } .switch.small input:checked ~ .switch-paddle::after { @@ -3186,12 +4837,15 @@ html.is-reveal-open body { height: 2.5rem; font-size: 1rem; } .switch.large .switch-paddle::after { + top: 0.25rem; + left: 0.25rem; width: 2rem; height: 2rem; } .switch.large input:checked ~ .switch-paddle::after { left: 2.75rem; } table { + border-collapse: collapse; width: 100%; margin-bottom: 1rem; border-radius: 0; } @@ -3201,8 +4855,8 @@ table { border: 1px solid #f1f1f1; background-color: #fefefe; } table caption { - font-weight: bold; - padding: 0.5rem 0.625rem 0.625rem; } + padding: 0.5rem 0.625rem 0.625rem; + font-weight: bold; } table thead { background: #f8f8f8; color: #0a0a0a; } @@ -3219,11 +4873,18 @@ table { padding: 0.5rem 0.625rem 0.625rem; font-weight: bold; text-align: left; } - table tbody tr:nth-child(even) { - background-color: #f1f1f1; } table tbody th, table tbody td { padding: 0.5rem 0.625rem 0.625rem; } + table tbody tr:nth-child(even) { + border-bottom: 0; + background-color: #f1f1f1; } + table.unstriped tbody { + background-color: #fefefe; } + table.unstriped tbody tr { + border-bottom: 0; + border-bottom: 1px solid #f1f1f1; + background-color: #fefefe; } @media screen and (max-width: 63.9375em) { table.stack thead { @@ -3251,7 +4912,7 @@ table.hover tfoot tr:hover { table.hover tbody tr:hover { background-color: #f9f9f9; } -table.hover tbody tr:nth-of-type(even):hover { +table.hover:not(.unstriped) tr:nth-of-type(even):hover { background-color: #ececec; } .table-scroll { @@ -3261,19 +4922,23 @@ table.hover tbody tr:nth-of-type(even):hover { .tabs { margin: 0; - list-style-type: none; + border: 1px solid #e6e6e6; background: #fefefe; - border: 1px solid #e6e6e6; } + list-style-type: none; } .tabs::before, .tabs::after { + display: table; content: ' '; - display: table; } + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-order: 1; + order: 1; } .tabs::after { clear: both; } .tabs.vertical > li { - width: auto; + display: block; float: none; - display: block; } + width: auto; } .tabs.simple > li > a { padding: 0; } @@ -3281,29 +4946,33 @@ table.hover tbody tr:nth-of-type(even):hover { background: transparent; } .tabs.primary { - background: #2199e8; } + background: #1779ba; } .tabs.primary > li > a { color: #fefefe; } .tabs.primary > li > a:hover, .tabs.primary > li > a:focus { - background: #1893e4; } + background: #1673b1; } .tabs-title { float: left; } .tabs-title > a { display: block; padding: 1.25rem 1.5rem; + font-size: 0.75rem; line-height: 1; - font-size: 0.75rem; } + color: #1779ba; } .tabs-title > a:hover { - background: #fefefe; } + background: #fefefe; + color: #1468a0; } .tabs-title > a:focus, .tabs-title > a[aria-selected='true'] { - background: #e6e6e6; } + background: #e6e6e6; + color: #1779ba; } .tabs-content { - background: #fefefe; - transition: all 0.5s ease; border: 1px solid #e6e6e6; - border-top: 0; } + border-top: 0; + background: #fefefe; + color: #0a0a0a; + transition: all 0.5s ease; } .tabs-content.vertical { border: 1px solid #e6e6e6; @@ -3316,124 +4985,152 @@ table.hover tbody tr:nth-of-type(even):hover { display: block; } .thumbnail { - border: solid 4px #fefefe; - box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.2); display: inline-block; - line-height: 0; max-width: 100%; - transition: box-shadow 200ms ease-out; + margin-bottom: 1rem; + border: solid 4px #fefefe; border-radius: 0; - margin-bottom: 1rem; } - .thumbnail:hover, .thumbnail:focus { - box-shadow: 0 0 6px 1px rgba(33, 153, 232, 0.5); } + box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.2); + line-height: 0; } + +a.thumbnail { + transition: box-shadow 200ms ease-out; } + a.thumbnail:hover, a.thumbnail:focus { + box-shadow: 0 0 6px 1px rgba(23, 121, 186, 0.5); } + a.thumbnail image { + box-shadow: none; } .title-bar { + padding: 0.5rem; background: #0a0a0a; color: #fefefe; - padding: 0.5rem; } - .title-bar::before, .title-bar::after { - content: ' '; - display: table; } - .title-bar::after { - clear: both; } + display: -ms-flexbox; + display: flex; + -ms-flex-pack: start; + justify-content: flex-start; + -ms-flex-align: center; + align-items: center; } .title-bar .menu-icon { margin-left: 0.25rem; margin-right: 0.25rem; } -.title-bar-left { - float: left; } +.title-bar-left, +.title-bar-right { + -ms-flex: 1 1 0px; + flex: 1 1 0px; } .title-bar-right { - float: right; text-align: right; } .title-bar-title { - font-weight: bold; + display: inline-block; vertical-align: middle; - display: inline-block; } + font-weight: bold; } .has-tip { - border-bottom: dotted 1px #8a8a8a; - font-weight: bold; position: relative; display: inline-block; + border-bottom: dotted 1px #8a8a8a; + font-weight: bold; cursor: help; } .tooltip { - background-color: #0a0a0a; - color: #fefefe; - font-size: 80%; - padding: 0.75rem; position: absolute; - z-index: 10; top: calc(100% + 0.6495rem); - max-width: 10rem !important; - border-radius: 0; } + z-index: 1200; + max-width: 10rem; + padding: 0.75rem; + border-radius: 0; + background-color: #0a0a0a; + font-size: 80%; + color: #fefefe; } .tooltip::before { - content: ''; + position: absolute; } + .tooltip.bottom::before { display: block; width: 0; height: 0; border: inset 0.75rem; - border-color: transparent transparent #0a0a0a; - border-bottom-style: solid; + content: ''; border-top-width: 0; - bottom: 100%; - position: absolute; + border-bottom-style: solid; + border-color: transparent transparent #0a0a0a; + bottom: 100%; } + .tooltip.bottom.align-center::before { left: 50%; - -webkit-transform: translateX(-50%); - -ms-transform: translateX(-50%); - transform: translateX(-50%); } + -ms-transform: translateX(-50%); + transform: translateX(-50%); } .tooltip.top::before { - content: ''; display: block; width: 0; height: 0; border: inset 0.75rem; - border-color: #0a0a0a transparent transparent; - border-top-style: solid; + content: ''; border-bottom-width: 0; + border-top-style: solid; + border-color: #0a0a0a transparent transparent; top: 100%; bottom: auto; } + .tooltip.top.align-center::before { + left: 50%; + -ms-transform: translateX(-50%); + transform: translateX(-50%); } .tooltip.left::before { - content: ''; display: block; width: 0; height: 0; border: inset 0.75rem; - border-color: transparent transparent transparent #0a0a0a; - border-left-style: solid; + content: ''; border-right-width: 0; + border-left-style: solid; + border-color: transparent transparent transparent #0a0a0a; + left: 100%; } + .tooltip.left.align-center::before { bottom: auto; - left: 100%; top: 50%; - -webkit-transform: translateY(-50%); - -ms-transform: translateY(-50%); - transform: translateY(-50%); } + -ms-transform: translateY(-50%); + transform: translateY(-50%); } .tooltip.right::before { - content: ''; display: block; width: 0; height: 0; border: inset 0.75rem; - border-color: transparent #0a0a0a transparent transparent; - border-right-style: solid; + content: ''; border-left-width: 0; - bottom: auto; - left: auto; + border-right-style: solid; + border-color: transparent #0a0a0a transparent transparent; right: 100%; + left: auto; } + .tooltip.right.align-center::before { + bottom: auto; top: 50%; - -webkit-transform: translateY(-50%); - -ms-transform: translateY(-50%); - transform: translateY(-50%); } + -ms-transform: translateY(-50%); + transform: translateY(-50%); } + .tooltip.align-top::before { + bottom: auto; + top: 10%; } + .tooltip.align-bottom::before { + bottom: 10%; + top: auto; } + .tooltip.align-left::before { + left: 10%; + right: auto; } + .tooltip.align-right::before { + left: auto; + right: 10%; } .top-bar { - padding: 0.5rem; } - .top-bar::before, .top-bar::after { - content: ' '; - display: table; } - .top-bar::after { - clear: both; } + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -ms-flex-pack: justify; + justify-content: space-between; + -ms-flex-align: center; + align-items: center; + padding: 0.5rem; + -ms-flex-wrap: wrap; + flex-wrap: wrap; } .top-bar, .top-bar ul { background-color: #e6e6e6; } @@ -3447,29 +5144,49 @@ table.hover tbody tr:nth-of-type(even):hover { width: auto; } .top-bar .top-bar-left, .top-bar .top-bar-right { - width: 100%; } - @media screen and (min-width: 40em) { - .top-bar .top-bar-left, - .top-bar .top-bar-right { - width: auto; } } + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; } + @media print, screen and (min-width: 40em) { + .top-bar { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } + .top-bar .top-bar-left { + -ms-flex: 1 1 auto; + flex: 1 1 auto; + margin-right: auto; } + .top-bar .top-bar-right { + -ms-flex: 0 1 auto; + flex: 0 1 auto; + margin-left: auto; } } @media screen and (max-width: 63.9375em) { - .top-bar.stacked-for-medium .top-bar-left, - .top-bar.stacked-for-medium .top-bar-right { - width: 100%; } } + .top-bar.stacked-for-medium { + -ms-flex-wrap: wrap; + flex-wrap: wrap; } + .top-bar.stacked-for-medium .top-bar-left, + .top-bar.stacked-for-medium .top-bar-right { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; } } @media screen and (max-width: 74.9375em) { - .top-bar.stacked-for-large .top-bar-left, - .top-bar.stacked-for-large .top-bar-right { - width: 100%; } } + .top-bar.stacked-for-large { + -ms-flex-wrap: wrap; + flex-wrap: wrap; } + .top-bar.stacked-for-large .top-bar-left, + .top-bar.stacked-for-large .top-bar-right { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; } } .top-bar-title { - float: left; - margin-right: 1rem; } - -.top-bar-left { - float: left; } + -ms-flex: 0 0 auto; + flex: 0 0 auto; + margin: 0.5rem 1rem 0.5rem 0; } +.top-bar-left, .top-bar-right { - float: right; } + -ms-flex: 0 0 auto; + flex: 0 0 auto; } .hide { display: none !important; } @@ -3485,7 +5202,7 @@ table.hover tbody tr:nth-of-type(even):hover { .show-for-small-only { display: none !important; } } -@media screen and (min-width: 40em) { +@media print, screen and (min-width: 40em) { .hide-for-medium { display: none !important; } } @@ -3501,7 +5218,7 @@ table.hover tbody tr:nth-of-type(even):hover { .show-for-medium-only { display: none !important; } } -@media screen and (min-width: 64em) { +@media print, screen and (min-width: 64em) { .hide-for-large { display: none !important; } } @@ -3522,15 +5239,23 @@ table.hover tbody tr:nth-of-type(even):hover { position: absolute !important; width: 1px; height: 1px; + padding: 0; overflow: hidden; - clip: rect(0, 0, 0, 0); } + clip: rect(0, 0, 0, 0); + white-space: nowrap; + -webkit-clip-path: inset(50%); + clip-path: inset(50%); + border: 0; } .show-on-focus:active, .show-on-focus:focus { position: static !important; - height: auto; width: auto; + height: auto; overflow: visible; - clip: auto; } + clip: auto; + white-space: normal; + -webkit-clip-path: none; + clip-path: none; } .show-for-landscape, .hide-for-portrait { @@ -3564,12 +5289,16 @@ table.hover tbody tr:nth-of-type(even):hover { .float-center { display: block; - margin-left: auto; - margin-right: auto; } + margin-right: auto; + margin-left: auto; } .clearfix::before, .clearfix::after { + display: table; content: ' '; - display: table; } + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-order: 1; + order: 1; } .clearfix::after { clear: both; } @@ -3577,130 +5306,106 @@ table.hover tbody tr:nth-of-type(even):hover { .slide-in-down.mui-enter { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: translateY(-100%); - -ms-transform: translateY(-100%); - transform: translateY(-100%); - transition-property: -webkit-transform, opacity; + -ms-transform: translateY(-100%); + transform: translateY(-100%); transition-property: transform, opacity; -webkit-backface-visibility: hidden; backface-visibility: hidden; } .slide-in-down.mui-enter.mui-enter-active { - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); } + -ms-transform: translateY(0); + transform: translateY(0); } .slide-in-left.mui-enter { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: translateX(-100%); - -ms-transform: translateX(-100%); - transform: translateX(-100%); - transition-property: -webkit-transform, opacity; + -ms-transform: translateX(-100%); + transform: translateX(-100%); transition-property: transform, opacity; -webkit-backface-visibility: hidden; backface-visibility: hidden; } .slide-in-left.mui-enter.mui-enter-active { - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); } + -ms-transform: translateX(0); + transform: translateX(0); } .slide-in-up.mui-enter { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: translateY(100%); - -ms-transform: translateY(100%); - transform: translateY(100%); - transition-property: -webkit-transform, opacity; + -ms-transform: translateY(100%); + transform: translateY(100%); transition-property: transform, opacity; -webkit-backface-visibility: hidden; backface-visibility: hidden; } .slide-in-up.mui-enter.mui-enter-active { - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); } + -ms-transform: translateY(0); + transform: translateY(0); } .slide-in-right.mui-enter { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: translateX(100%); - -ms-transform: translateX(100%); - transform: translateX(100%); - transition-property: -webkit-transform, opacity; + -ms-transform: translateX(100%); + transform: translateX(100%); transition-property: transform, opacity; -webkit-backface-visibility: hidden; backface-visibility: hidden; } .slide-in-right.mui-enter.mui-enter-active { - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); } + -ms-transform: translateX(0); + transform: translateX(0); } .slide-out-down.mui-leave { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); - transition-property: -webkit-transform, opacity; + -ms-transform: translateY(0); + transform: translateY(0); transition-property: transform, opacity; -webkit-backface-visibility: hidden; backface-visibility: hidden; } .slide-out-down.mui-leave.mui-leave-active { - -webkit-transform: translateY(100%); - -ms-transform: translateY(100%); - transform: translateY(100%); } + -ms-transform: translateY(100%); + transform: translateY(100%); } .slide-out-right.mui-leave { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - transition-property: -webkit-transform, opacity; + -ms-transform: translateX(0); + transform: translateX(0); transition-property: transform, opacity; -webkit-backface-visibility: hidden; backface-visibility: hidden; } .slide-out-right.mui-leave.mui-leave-active { - -webkit-transform: translateX(100%); - -ms-transform: translateX(100%); - transform: translateX(100%); } + -ms-transform: translateX(100%); + transform: translateX(100%); } .slide-out-up.mui-leave { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); - transition-property: -webkit-transform, opacity; + -ms-transform: translateY(0); + transform: translateY(0); transition-property: transform, opacity; -webkit-backface-visibility: hidden; backface-visibility: hidden; } .slide-out-up.mui-leave.mui-leave-active { - -webkit-transform: translateY(-100%); - -ms-transform: translateY(-100%); - transform: translateY(-100%); } + -ms-transform: translateY(-100%); + transform: translateY(-100%); } .slide-out-left.mui-leave { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - transition-property: -webkit-transform, opacity; + -ms-transform: translateX(0); + transform: translateX(0); transition-property: transform, opacity; -webkit-backface-visibility: hidden; backface-visibility: hidden; } .slide-out-left.mui-leave.mui-leave-active { - -webkit-transform: translateX(-100%); - -ms-transform: translateX(-100%); - transform: translateX(-100%); } + -ms-transform: translateX(-100%); + transform: translateX(-100%); } .fade-in.mui-enter { transition-duration: 500ms; @@ -3723,333 +5428,261 @@ table.hover tbody tr:nth-of-type(even):hover { .hinge-in-from-top.mui-enter { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: perspective(2000px) rotateX(-90deg); - transform: perspective(2000px) rotateX(-90deg); - -webkit-transform-origin: top; - -ms-transform-origin: top; - transform-origin: top; - transition-property: -webkit-transform, opacity; + transform: perspective(2000px) rotateX(-90deg); + -ms-transform-origin: top; + transform-origin: top; transition-property: transform, opacity; opacity: 0; } .hinge-in-from-top.mui-enter.mui-enter-active { - -webkit-transform: perspective(2000px) rotate(0deg); - transform: perspective(2000px) rotate(0deg); + transform: perspective(2000px) rotate(0deg); opacity: 1; } .hinge-in-from-right.mui-enter { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: perspective(2000px) rotateY(-90deg); - transform: perspective(2000px) rotateY(-90deg); - -webkit-transform-origin: right; - -ms-transform-origin: right; - transform-origin: right; - transition-property: -webkit-transform, opacity; + transform: perspective(2000px) rotateY(-90deg); + -ms-transform-origin: right; + transform-origin: right; transition-property: transform, opacity; opacity: 0; } .hinge-in-from-right.mui-enter.mui-enter-active { - -webkit-transform: perspective(2000px) rotate(0deg); - transform: perspective(2000px) rotate(0deg); + transform: perspective(2000px) rotate(0deg); opacity: 1; } .hinge-in-from-bottom.mui-enter { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: perspective(2000px) rotateX(90deg); - transform: perspective(2000px) rotateX(90deg); - -webkit-transform-origin: bottom; - -ms-transform-origin: bottom; - transform-origin: bottom; - transition-property: -webkit-transform, opacity; + transform: perspective(2000px) rotateX(90deg); + -ms-transform-origin: bottom; + transform-origin: bottom; transition-property: transform, opacity; opacity: 0; } .hinge-in-from-bottom.mui-enter.mui-enter-active { - -webkit-transform: perspective(2000px) rotate(0deg); - transform: perspective(2000px) rotate(0deg); + transform: perspective(2000px) rotate(0deg); opacity: 1; } .hinge-in-from-left.mui-enter { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: perspective(2000px) rotateY(90deg); - transform: perspective(2000px) rotateY(90deg); - -webkit-transform-origin: left; - -ms-transform-origin: left; - transform-origin: left; - transition-property: -webkit-transform, opacity; + transform: perspective(2000px) rotateY(90deg); + -ms-transform-origin: left; + transform-origin: left; transition-property: transform, opacity; opacity: 0; } .hinge-in-from-left.mui-enter.mui-enter-active { - -webkit-transform: perspective(2000px) rotate(0deg); - transform: perspective(2000px) rotate(0deg); + transform: perspective(2000px) rotate(0deg); opacity: 1; } .hinge-in-from-middle-x.mui-enter { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: perspective(2000px) rotateX(-90deg); - transform: perspective(2000px) rotateX(-90deg); - -webkit-transform-origin: center; - -ms-transform-origin: center; - transform-origin: center; - transition-property: -webkit-transform, opacity; + transform: perspective(2000px) rotateX(-90deg); + -ms-transform-origin: center; + transform-origin: center; transition-property: transform, opacity; opacity: 0; } .hinge-in-from-middle-x.mui-enter.mui-enter-active { - -webkit-transform: perspective(2000px) rotate(0deg); - transform: perspective(2000px) rotate(0deg); + transform: perspective(2000px) rotate(0deg); opacity: 1; } .hinge-in-from-middle-y.mui-enter { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: perspective(2000px) rotateY(-90deg); - transform: perspective(2000px) rotateY(-90deg); - -webkit-transform-origin: center; - -ms-transform-origin: center; - transform-origin: center; - transition-property: -webkit-transform, opacity; + transform: perspective(2000px) rotateY(-90deg); + -ms-transform-origin: center; + transform-origin: center; transition-property: transform, opacity; opacity: 0; } .hinge-in-from-middle-y.mui-enter.mui-enter-active { - -webkit-transform: perspective(2000px) rotate(0deg); - transform: perspective(2000px) rotate(0deg); + transform: perspective(2000px) rotate(0deg); opacity: 1; } .hinge-out-from-top.mui-leave { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: perspective(2000px) rotate(0deg); - transform: perspective(2000px) rotate(0deg); - -webkit-transform-origin: top; - -ms-transform-origin: top; - transform-origin: top; - transition-property: -webkit-transform, opacity; + transform: perspective(2000px) rotate(0deg); + -ms-transform-origin: top; + transform-origin: top; transition-property: transform, opacity; opacity: 1; } .hinge-out-from-top.mui-leave.mui-leave-active { - -webkit-transform: perspective(2000px) rotateX(-90deg); - transform: perspective(2000px) rotateX(-90deg); + transform: perspective(2000px) rotateX(-90deg); opacity: 0; } .hinge-out-from-right.mui-leave { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: perspective(2000px) rotate(0deg); - transform: perspective(2000px) rotate(0deg); - -webkit-transform-origin: right; - -ms-transform-origin: right; - transform-origin: right; - transition-property: -webkit-transform, opacity; + transform: perspective(2000px) rotate(0deg); + -ms-transform-origin: right; + transform-origin: right; transition-property: transform, opacity; opacity: 1; } .hinge-out-from-right.mui-leave.mui-leave-active { - -webkit-transform: perspective(2000px) rotateY(-90deg); - transform: perspective(2000px) rotateY(-90deg); + transform: perspective(2000px) rotateY(-90deg); opacity: 0; } .hinge-out-from-bottom.mui-leave { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: perspective(2000px) rotate(0deg); - transform: perspective(2000px) rotate(0deg); - -webkit-transform-origin: bottom; - -ms-transform-origin: bottom; - transform-origin: bottom; - transition-property: -webkit-transform, opacity; + transform: perspective(2000px) rotate(0deg); + -ms-transform-origin: bottom; + transform-origin: bottom; transition-property: transform, opacity; opacity: 1; } .hinge-out-from-bottom.mui-leave.mui-leave-active { - -webkit-transform: perspective(2000px) rotateX(90deg); - transform: perspective(2000px) rotateX(90deg); + transform: perspective(2000px) rotateX(90deg); opacity: 0; } .hinge-out-from-left.mui-leave { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: perspective(2000px) rotate(0deg); - transform: perspective(2000px) rotate(0deg); - -webkit-transform-origin: left; - -ms-transform-origin: left; - transform-origin: left; - transition-property: -webkit-transform, opacity; + transform: perspective(2000px) rotate(0deg); + -ms-transform-origin: left; + transform-origin: left; transition-property: transform, opacity; opacity: 1; } .hinge-out-from-left.mui-leave.mui-leave-active { - -webkit-transform: perspective(2000px) rotateY(90deg); - transform: perspective(2000px) rotateY(90deg); + transform: perspective(2000px) rotateY(90deg); opacity: 0; } .hinge-out-from-middle-x.mui-leave { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: perspective(2000px) rotate(0deg); - transform: perspective(2000px) rotate(0deg); - -webkit-transform-origin: center; - -ms-transform-origin: center; - transform-origin: center; - transition-property: -webkit-transform, opacity; + transform: perspective(2000px) rotate(0deg); + -ms-transform-origin: center; + transform-origin: center; transition-property: transform, opacity; opacity: 1; } .hinge-out-from-middle-x.mui-leave.mui-leave-active { - -webkit-transform: perspective(2000px) rotateX(-90deg); - transform: perspective(2000px) rotateX(-90deg); + transform: perspective(2000px) rotateX(-90deg); opacity: 0; } .hinge-out-from-middle-y.mui-leave { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: perspective(2000px) rotate(0deg); - transform: perspective(2000px) rotate(0deg); - -webkit-transform-origin: center; - -ms-transform-origin: center; - transform-origin: center; - transition-property: -webkit-transform, opacity; + transform: perspective(2000px) rotate(0deg); + -ms-transform-origin: center; + transform-origin: center; transition-property: transform, opacity; opacity: 1; } .hinge-out-from-middle-y.mui-leave.mui-leave-active { - -webkit-transform: perspective(2000px) rotateY(-90deg); - transform: perspective(2000px) rotateY(-90deg); + transform: perspective(2000px) rotateY(-90deg); opacity: 0; } .scale-in-up.mui-enter { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: scale(0.5); - -ms-transform: scale(0.5); - transform: scale(0.5); - transition-property: -webkit-transform, opacity; + -ms-transform: scale(0.5); + transform: scale(0.5); transition-property: transform, opacity; opacity: 0; } .scale-in-up.mui-enter.mui-enter-active { - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); opacity: 1; } .scale-in-down.mui-enter { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: scale(1.5); - -ms-transform: scale(1.5); - transform: scale(1.5); - transition-property: -webkit-transform, opacity; + -ms-transform: scale(1.5); + transform: scale(1.5); transition-property: transform, opacity; opacity: 0; } .scale-in-down.mui-enter.mui-enter-active { - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); opacity: 1; } .scale-out-up.mui-leave { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - transition-property: -webkit-transform, opacity; + -ms-transform: scale(1); + transform: scale(1); transition-property: transform, opacity; opacity: 1; } .scale-out-up.mui-leave.mui-leave-active { - -webkit-transform: scale(1.5); - -ms-transform: scale(1.5); - transform: scale(1.5); + -ms-transform: scale(1.5); + transform: scale(1.5); opacity: 0; } .scale-out-down.mui-leave { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - transition-property: -webkit-transform, opacity; + -ms-transform: scale(1); + transform: scale(1); transition-property: transform, opacity; opacity: 1; } .scale-out-down.mui-leave.mui-leave-active { - -webkit-transform: scale(0.5); - -ms-transform: scale(0.5); - transform: scale(0.5); + -ms-transform: scale(0.5); + transform: scale(0.5); opacity: 0; } .spin-in.mui-enter { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: rotate(-0.75turn); - -ms-transform: rotate(-0.75turn); - transform: rotate(-0.75turn); - transition-property: -webkit-transform, opacity; + -ms-transform: rotate(-0.75turn); + transform: rotate(-0.75turn); transition-property: transform, opacity; opacity: 0; } .spin-in.mui-enter.mui-enter-active { - -webkit-transform: rotate(0); - -ms-transform: rotate(0); - transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); opacity: 1; } .spin-out.mui-leave { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: rotate(0); - -ms-transform: rotate(0); - transform: rotate(0); - transition-property: -webkit-transform, opacity; + -ms-transform: rotate(0); + transform: rotate(0); transition-property: transform, opacity; opacity: 1; } .spin-out.mui-leave.mui-leave-active { - -webkit-transform: rotate(0.75turn); - -ms-transform: rotate(0.75turn); - transform: rotate(0.75turn); + -ms-transform: rotate(0.75turn); + transform: rotate(0.75turn); opacity: 0; } .spin-in-ccw.mui-enter { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: rotate(0.75turn); - -ms-transform: rotate(0.75turn); - transform: rotate(0.75turn); - transition-property: -webkit-transform, opacity; + -ms-transform: rotate(0.75turn); + transform: rotate(0.75turn); transition-property: transform, opacity; opacity: 0; } .spin-in-ccw.mui-enter.mui-enter-active { - -webkit-transform: rotate(0); - -ms-transform: rotate(0); - transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); opacity: 1; } .spin-out-ccw.mui-leave { transition-duration: 500ms; transition-timing-function: linear; - -webkit-transform: rotate(0); - -ms-transform: rotate(0); - transform: rotate(0); - transition-property: -webkit-transform, opacity; + -ms-transform: rotate(0); + transform: rotate(0); transition-property: transform, opacity; opacity: 1; } .spin-out-ccw.mui-leave.mui-leave-active { - -webkit-transform: rotate(-0.75turn); - -ms-transform: rotate(-0.75turn); - transform: rotate(-0.75turn); + -ms-transform: rotate(-0.75turn); + transform: rotate(-0.75turn); opacity: 0; } .slow { @@ -4089,138 +5722,84 @@ table.hover tbody tr:nth-of-type(even):hover { transition-delay: 700ms !important; } .shake { - -webkit-animation-name: shake-7; - animation-name: shake-7; } - -@-webkit-keyframes shake-7 { - 0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90% { - -webkit-transform: translateX(7%); - transform: translateX(7%); } - 5%, 15%, 25%, 35%, 45%, 55%, 65%, 75%, 85%, 95% { - -webkit-transform: translateX(-7%); - transform: translateX(-7%); } } + animation-name: shake-7; } @keyframes shake-7 { 0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90% { - -webkit-transform: translateX(7%); - transform: translateX(7%); } + transform: translateX(7%); } 5%, 15%, 25%, 35%, 45%, 55%, 65%, 75%, 85%, 95% { - -webkit-transform: translateX(-7%); - transform: translateX(-7%); } } + transform: translateX(-7%); } } .spin-cw { - -webkit-animation-name: spin-cw-1turn; - animation-name: spin-cw-1turn; } - -@-webkit-keyframes spin-cw-1turn { - 0% { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); } - 100% { - -webkit-transform: rotate(0); - transform: rotate(0); } } + animation-name: spin-cw-1turn; } @keyframes spin-cw-1turn { 0% { - -webkit-transform: rotate(-1turn); - transform: rotate(-1turn); } + transform: rotate(-1turn); } 100% { - -webkit-transform: rotate(0); - transform: rotate(0); } } + transform: rotate(0); } } .spin-ccw { - -webkit-animation-name: spin-cw-1turn; - animation-name: spin-cw-1turn; } + animation-name: spin-cw-1turn; } @keyframes spin-cw-1turn { 0% { - -webkit-transform: rotate(0); - transform: rotate(0); } + transform: rotate(0); } 100% { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); } } + transform: rotate(1turn); } } .wiggle { - -webkit-animation-name: wiggle-7deg; - animation-name: wiggle-7deg; } - -@-webkit-keyframes wiggle-7deg { - 40%, 50%, 60% { - -webkit-transform: rotate(7deg); - transform: rotate(7deg); } - 35%, 45%, 55%, 65% { - -webkit-transform: rotate(-7deg); - transform: rotate(-7deg); } - 0%, 30%, 70%, 100% { - -webkit-transform: rotate(0); - transform: rotate(0); } } + animation-name: wiggle-7deg; } @keyframes wiggle-7deg { 40%, 50%, 60% { - -webkit-transform: rotate(7deg); - transform: rotate(7deg); } + transform: rotate(7deg); } 35%, 45%, 55%, 65% { - -webkit-transform: rotate(-7deg); - transform: rotate(-7deg); } + transform: rotate(-7deg); } 0%, 30%, 70%, 100% { - -webkit-transform: rotate(0); - transform: rotate(0); } } + transform: rotate(0); } } .shake, .spin-cw, .spin-ccw, .wiggle { - -webkit-animation-duration: 500ms; - animation-duration: 500ms; } + animation-duration: 500ms; } .infinite { - -webkit-animation-iteration-count: infinite; - animation-iteration-count: infinite; } + animation-iteration-count: infinite; } .slow { - -webkit-animation-duration: 750ms !important; - animation-duration: 750ms !important; } + animation-duration: 750ms !important; } .fast { - -webkit-animation-duration: 250ms !important; - animation-duration: 250ms !important; } + animation-duration: 250ms !important; } .linear { - -webkit-animation-timing-function: linear !important; - animation-timing-function: linear !important; } + animation-timing-function: linear !important; } .ease { - -webkit-animation-timing-function: ease !important; - animation-timing-function: ease !important; } + animation-timing-function: ease !important; } .ease-in { - -webkit-animation-timing-function: ease-in !important; - animation-timing-function: ease-in !important; } + animation-timing-function: ease-in !important; } .ease-out { - -webkit-animation-timing-function: ease-out !important; - animation-timing-function: ease-out !important; } + animation-timing-function: ease-out !important; } .ease-in-out { - -webkit-animation-timing-function: ease-in-out !important; - animation-timing-function: ease-in-out !important; } + animation-timing-function: ease-in-out !important; } .bounce-in { - -webkit-animation-timing-function: cubic-bezier(0.485, 0.155, 0.24, 1.245) !important; - animation-timing-function: cubic-bezier(0.485, 0.155, 0.24, 1.245) !important; } + animation-timing-function: cubic-bezier(0.485, 0.155, 0.24, 1.245) !important; } .bounce-out { - -webkit-animation-timing-function: cubic-bezier(0.485, 0.155, 0.515, 0.845) !important; - animation-timing-function: cubic-bezier(0.485, 0.155, 0.515, 0.845) !important; } + animation-timing-function: cubic-bezier(0.485, 0.155, 0.515, 0.845) !important; } .bounce-in-out { - -webkit-animation-timing-function: cubic-bezier(0.76, -0.245, 0.24, 1.245) !important; - animation-timing-function: cubic-bezier(0.76, -0.245, 0.24, 1.245) !important; } + animation-timing-function: cubic-bezier(0.76, -0.245, 0.24, 1.245) !important; } .short-delay { - -webkit-animation-delay: 300ms !important; - animation-delay: 300ms !important; } + animation-delay: 300ms !important; } .long-delay { - -webkit-animation-delay: 700ms !important; - animation-delay: 700ms !important; } + animation-delay: 700ms !important; } diff --git a/src/css/mt-detail.jpeg b/src/css/mt-detail.jpeg new file mode 100644 index 0000000..e2ea76d Binary files /dev/null and b/src/css/mt-detail.jpeg differ diff --git a/src/css/mts-cow.jpg b/src/css/mts-cow.jpg new file mode 100644 index 0000000..57f9a7d Binary files /dev/null and b/src/css/mts-cow.jpg differ diff --git a/src/css/responsive-tables.css b/src/css/responsive-tables.css new file mode 100755 index 0000000..f0a905c --- /dev/null +++ b/src/css/responsive-tables.css @@ -0,0 +1,38 @@ +/* Foundation v2.1.4 http://foundation.zurb.com */ +/* Artfully masterminded by ZURB */ + +/* -------------------------------------------------- + Table of Contents +----------------------------------------------------- +:: Shared Styles +:: Page Name 1 +:: Page Name 2 +*/ + + +/* ----------------------------------------- + Shared Styles +----------------------------------------- */ + +table th { font-weight: bold; } +table td, table th { padding: 9px 10px; text-align: left; } + +/* Mobile */ +@media only screen and (max-width: 767px) { + + table.responsive { margin-bottom: 0; } + + .pinned { position: absolute; left: 0; top: 0; background: #fff; width: 35%; overflow: hidden; overflow-x: scroll; border-right: 1px solid #ccc; border-left: 1px solid #ccc; } + .pinned table { border-right: none; border-left: none; width: 100%; } + .pinned table th, .pinned table td { white-space: nowrap; } + .pinned td:last-child { border-bottom: 0; } + + div.table-wrapper { position: relative; margin-bottom: 20px; overflow: hidden; border-right: 1px solid #ccc; } + div.table-wrapper div.scrollable { margin-left: 35%; } + div.table-wrapper div.scrollable { overflow: scroll; overflow-y: hidden; } + + table.responsive td, table.responsive th { position: relative; white-space: nowrap; overflow: hidden; } + table.responsive th:first-child, table.responsive td:first-child, table.responsive td:first-child, table.responsive.pinned td { display: none; } + + +} diff --git a/src/css/style.css b/src/css/style.css index b7b2d44..3415b9a 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -1,2 +1,134 @@ /* Your styles go here! */ + + +/* ==== HOME PAGE ==== */ +body.init { + background: linear-gradient( + rgba(0, 0, 0, 0.4), + rgba(0, 0, 0, 0.4) + ), url('./mts-cow.jpg'); + /*background-image: url('./mts-cow.jpg');*/ + background-size: cover; + background-attachment: fixed; + background-position: center; + height: 100vh; +} + +body > div.init { + margin: 0 auto; + position: relative; + top: 50%; + transform: translateY(-50%); +} + +button.start { + margin: 0; + text-align: center; + padding: 1.5rem 3.5rem; + font-size: 3rem; + font-weight: bold; + color: white; + background-color: transparent; + border: 2px solid white; + border-radius: 5px; + font-family: "Roboto", sans-serif; +} + +button.start:hover { + background-color: rgba(255, 255, 255, .3) +} + +header { + background: linear-gradient( + rgba(0, 0, 0, 0.4), + rgba(0, 0, 0, 0.4) + ), url('./mts-cow.jpg'); + background-size: cover; + background-position: center; + /*text-align: center;*/ + color: white; +} + +/*div.wrapper-left { + margin-left: 15px; +}*/ + +#filter { + margin-right: 5px; +} + +/* ==== FONTS ==== */ +h1 { + font-family: "Roboto", sans-serif; +} + +h2, h3, h4, p, a, a[href], table td, table th, button { + font-family: "Kanit", sans-serif; +} + +/* ==== TABLE ==== */ +/*th.weeks { + width: 100px; +}*/ +/*th:nth-of-type(4), tr:nth-of-type(4) { + width: 100px +}*/ + +.all-trips { + overflow-x: scroll; +} +.all-trips table { + /*overflow: auto;*/ +} + +table { + overflow: auto; + overflow-y: scroll; + width: 100%; + table-layout: fixed; +} + +@media screen and (min-width: 64em) { + table { + table-layout: fixed; + overflow: auto; + width: 100%; + } +} + +input[type], select, textarea { + border-radius: 5px; +} + +a[href] { + color: white; +} + +#trip-list > tr:focus, #trip-list > tr:hover { + background-color: darkgrey; + cursor: pointer; +} + +.current-sort-field { + background-color: darkgrey; + color: white; +} + +.current-sort-field:hover { + cursor: pointer; +} + + +.error { + border: solid 2px red; +} + +.error-message { + color: red; + text-align: right; +} + +.success { + color: green; +} diff --git a/src/responsive-tables.js b/src/responsive-tables.js new file mode 100755 index 0000000..2e6a598 --- /dev/null +++ b/src/responsive-tables.js @@ -0,0 +1,69 @@ +import $ from 'jquery'; + +$(document).ready(function() { + var switched = false; + var updateTables = function() { + if (($(window).width() < 767) && !switched ){ + switched = true; + $("table.responsive").each(function(i, element) { + splitTable($(element)); + }); + return true; + } + else if (switched && ($(window).width() > 767)) { + switched = false; + $("table.responsive").each(function(i, element) { + unsplitTable($(element)); + }); + } + }; + + $(window).on('load', updateTables); + $(window).on("redraw",function(){switched=false;updateTables();}); // An event to listen for + $(window).on("resize", updateTables); + + + function splitTable(original) + { + original.wrap("
"); + + var copy = original.clone(); + copy.find("td:not(:first-child), th:not(:first-child)").css("display", "none"); + copy.removeClass("responsive"); + + original.closest(".table-wrapper").append(copy); + copy.wrap("
"); + original.wrap("
"); + + setCellHeights(original, copy); + } + + function unsplitTable(original) { + original.closest(".table-wrapper").find(".pinned").remove(); + original.unwrap(); + original.unwrap(); + } + + function setCellHeights(original, copy) { + var tr = original.find('tr'), + tr_copy = copy.find('tr'), + heights = []; + + tr.each(function (index) { + var self = $(this), + tx = self.find('th, td'); + + tx.each(function () { + var height = $(this).outerHeight(true); + heights[index] = heights[index] || 0; + if (height > heights[index]) heights[index] = height; + }); + + }); + + tr_copy.each(function (index) { + $(this).height(heights[index]); + }); + } + +});