From f86fe4a90dff78749fcc5d8827ccf141c36ad0c6 Mon Sep 17 00:00:00 2001 From: Tane Piper Date: Fri, 17 Jan 2014 12:31:34 +0000 Subject: [PATCH 01/18] Refactored code to use more events, less code --- app/public/css/ideas.css | 37 +++++- app/public/css/nav.css | 14 +-- app/public/css/popup.css | 20 ++- app/public/css/slide.css | 26 ++-- app/public/css/vote.css | 15 ++- app/public/includes/navigation.html | 15 +++ app/public/includes/new-idea.html | 28 +++++ app/public/includes/popup.html | 36 ++++++ app/public/index.html | 109 +++++------------ app/public/js/controllers/AddIdeaCtrl.js | 24 ++-- app/public/js/controllers/IdeasCtrl.js | 101 +-------------- app/public/js/controllers/PopupCtrl.js | 4 +- app/public/js/controllers/VoteCtrl.js | 75 ++++-------- app/public/js/services/IdeaService.js | 149 +++++------------------ bin/engine.js | 2 +- 15 files changed, 264 insertions(+), 391 deletions(-) create mode 100644 app/public/includes/navigation.html create mode 100644 app/public/includes/new-idea.html create mode 100644 app/public/includes/popup.html diff --git a/app/public/css/ideas.css b/app/public/css/ideas.css index 97d8a9e..2636aa5 100644 --- a/app/public/css/ideas.css +++ b/app/public/css/ideas.css @@ -1,4 +1,37 @@ -.ideas { +main[role='idea-container'] { + margin-top: 100px; +} + +main[role='idea-container'] .idea { + background: #C7C6CC; + height: 100px; + margin-bottom: 20px; +} + +main[role='idea-container'] .idea.ng-enter, +main[role='idea-container'] .idea.ng-leave { + -webkit-transition: 1000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -moz-transition: 1000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -ms-transition: 1000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -o-transition: 1000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + transition: 1000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; +} + +main[role='idea-container'] .idea.ng-enter { + bottom: -200px; +} +main[role='idea-container'] .idea.ng-enter-active { + bottom: 0; +} + +main[role='idea-container'] .idea.ng-leave { + bottom: 0; +} +main[role='idea-container'] .idea.ng-leave-active{ + bottom: -200px; +} + +/*.ideas { position: static; max-width: 1920px; margin-top: 100px; @@ -16,4 +49,4 @@ padding: 0 28px; font-weight: 500; font-size: 28px; -} \ No newline at end of file +}*/ diff --git a/app/public/css/nav.css b/app/public/css/nav.css index df7ed81..b37a092 100644 --- a/app/public/css/nav.css +++ b/app/public/css/nav.css @@ -8,24 +8,18 @@ nav[role='navigation'] { background-image: url('/images/nav-bg.svg'); background-position: bottom; background-repeat: no-repeat; - height: 150px; + min-height: 150px; max-width: 1920px; margin: 0 auto; color: #fff; } nav[role='navigation'] .logo { - width: 50%; + padding-top: 25px; height: 100px; - float: left; -} - -nav[role='navigation'] .logo a { display: block; - position: relative; - top: 50%; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); + margin: 0 auto; + } nav[role='navigation'] .logo.pebblecode { diff --git a/app/public/css/popup.css b/app/public/css/popup.css index 4821d08..1dc0795 100644 --- a/app/public/css/popup.css +++ b/app/public/css/popup.css @@ -17,11 +17,27 @@ div[role='popup'] { right: 0; z-index: 1000; height: 150px; - width: 1140px; margin: 0 auto; background-color: #29ABE2; } +div[role='popup'] .img, +div[role='popup'] .text { + text-align: center; + height: 150px; +} + +div[role='popup'] .text { + color: #fff; + font-weight: 900; + font-size: 30px; +} + +div[role='popup'] .text p { + margin: 10px auto 10px; +} + +/* div[role='popup'] .img { width: 150px; height: 150px; @@ -41,7 +57,7 @@ div[role='popup'] .text { font-weight: 900; font-size: 30px; text-align: center; -} +}*/ div[role='popup'].ng-enter, div[role='popup'].ng-leave diff --git a/app/public/css/slide.css b/app/public/css/slide.css index 60ce6a3..ae44119 100644 --- a/app/public/css/slide.css +++ b/app/public/css/slide.css @@ -1,11 +1,11 @@ -.vote-caster { +/*.vote .container { position: fixed; width: 100%; height: 100%; -} +}*/ -.vote-caster.ng-enter, -.vote-caster.ng-leave +.vote .container.ng-enter, +.vote .container.ng-leave { -webkit-transition: 1000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; -moz-transition: 1000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; @@ -14,30 +14,30 @@ transition: 1000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; } -.vote-caster.yes.ng-enter { +.vote .container.ng-enter { left: 2000px; } -.vote-caster.yes.ng-enter-active { +.vote .container.ng-enter-active { left: 0; } -.vote-caster.yes.ng-leave { +.vote .container.ng-leave { left: 0; } -.vote-caster.yes.ng-leave-active{ +.vote .container.ng-leave-active{ left: 2000px; } -.vote-caster.no.ng-enter { +.vote .container.ng-enter { right: 2000px; } -.vote-caster.no.ng-enter-active { +.vote .container.ng-enter-active { right: 0; } -.vote-caster.no.ng-leave { +.vote .container.ng-leave { right: 0; } -.vote-caster.no.ng-leave-active{ +.vote .container.ng-leave-active{ right: 2000px; -} \ No newline at end of file +} diff --git a/app/public/css/vote.css b/app/public/css/vote.css index 23e6a37..e0313bd 100644 --- a/app/public/css/vote.css +++ b/app/public/css/vote.css @@ -1,7 +1,13 @@ -.vote { +/*.vote { position: static; max-width: 1920px; } +*/ + +.vote .vote-caster { + width: 100%; + position: relative; +} .vote .idea-text { background-color: #EE5080; @@ -16,6 +22,9 @@ .vote .vote-button { height: 200px; + width: 150px; + position: absolute; + } .vote .vote-button.no { @@ -23,6 +32,7 @@ background-image: url('/images/no-2.svg'); background-repeat: no-repeat; background-position: 12px center; + left: 280px; } .vote .vote-button.yes { @@ -30,4 +40,5 @@ background-image: url('/images/yes-2.svg'); background-repeat: no-repeat; background-position: -12px center; -} \ No newline at end of file + right: 240px; +} diff --git a/app/public/includes/navigation.html b/app/public/includes/navigation.html new file mode 100644 index 0000000..da3ebee --- /dev/null +++ b/app/public/includes/navigation.html @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/app/public/includes/new-idea.html b/app/public/includes/new-idea.html new file mode 100644 index 0000000..6dafc15 --- /dev/null +++ b/app/public/includes/new-idea.html @@ -0,0 +1,28 @@ + \ No newline at end of file diff --git a/app/public/includes/popup.html b/app/public/includes/popup.html new file mode 100644 index 0000000..3f7be28 --- /dev/null +++ b/app/public/includes/popup.html @@ -0,0 +1,36 @@ + \ No newline at end of file diff --git a/app/public/index.html b/app/public/index.html index b66a780..3d5f67e 100755 --- a/app/public/index.html +++ b/app/public/index.html @@ -29,98 +29,47 @@ - - -
-
-
{{idea.text}}
-
+
+ -
-
-
- -
- {{voteItem.text}} +
+
+
+
+ +
+
+
+ {{voteItem.text}} +
+
+
- -
- - - diff --git a/app/public/js/controllers/AddIdeaCtrl.js b/app/public/js/controllers/AddIdeaCtrl.js index aeaf30a..c5e90bf 100644 --- a/app/public/js/controllers/AddIdeaCtrl.js +++ b/app/public/js/controllers/AddIdeaCtrl.js @@ -4,18 +4,18 @@ angular.module('pebbleidea') function($scope, $modalInstance) { 'use strict'; - $scope.form = { - submittedDisplay: '', - submittedFrom: '+44', - text: '' - }; + // $scope.form = { + // submittedDisplay: '', + // submittedFrom: '+44', + // text: '' + // }; - $scope.ok = function () { - $modalInstance.close($scope.form); - }; + // $scope.ok = function () { + // $modalInstance.close($scope.form); + // }; - $scope.cancel = function () { - $modalInstance.dismiss('cancel'); - }; + // $scope.cancel = function () { + // $modalInstance.dismiss('cancel'); + // }; - }]); \ No newline at end of file + }]); diff --git a/app/public/js/controllers/IdeasCtrl.js b/app/public/js/controllers/IdeasCtrl.js index 2bea286..ac20391 100644 --- a/app/public/js/controllers/IdeasCtrl.js +++ b/app/public/js/controllers/IdeasCtrl.js @@ -4,109 +4,16 @@ angular.module('pebbleidea') function($scope, $rootScope, $Ideas) { 'use strict'; - $scope.currentIndex = 1; - $scope.totalIdeasToDisplay = 4; $scope.displayIdeas = []; - $scope.getDisplayItems = function() { - return $scope.displayIdeas; - } - - - // This variable tells us if we've recieved a new idea or not - $rootScope.$on('castVote', function(event, data) { - $scope.currentIndex++; - }); - - $scope.$watch('currentIndex', function(newValue, oldValue) { - if (newValue !== oldValue) { - $scope.displayIdeas = $Ideas.getIdeas($scope.currentIndex, $scope.totalIdeasToDisplay); - } - }); - $rootScope.$on('dataLoaded', function() { - $scope.displayIdeas = $Ideas.getIdeas($scope.currentIndex, $scope.totalIdeasToDisplay); + $scope.displayIdeas = $Ideas.getDisplayIdeas($scope.totalIdeasToDisplay); }); - - // $scope.currentIdeaIndex = 0; - - // $scope.totalIdeasToDisplay = 3; - - // $scope.ideas = $Ideas.getAll; - - // $scope.newIdeaRecieved = false; - - // $scope.newIdeaAdded = {}; - - // $scope.slideDirection = ''; - - // $scope.currentIdea = function() { - // var idea = $scope.ideas()[$scope.currentIdeaIndex]; - // if (!idea) { - // idea = $scope.ideas()[0]; - // } - // return idea; - // }; - - // $scope.recievedNewIdea = function(event, idea) { - // $scope.newIdeaRecieved = true; - // $scope.newIdeaAdded = idea; - // $timeout(function() { - // $scope.newIdeaRecieved = false; - // $scope.newIdeaAdded = {}; - // }, 5000); - // }; - - // $scope.$on('insert', $scope.recievedNewIdea); - - // $scope.fullScreen = function() { - // document.getElementById('app').webkitRequestFullScreen(); - // } - - // $scope.displayItems = function() { - // var items = $scope.ideas().slice($scope.currentIdeaIndex + 1, $scope.currentIdeaIndex + ($scope.totalIdeasToDisplay + 1)); - // if (items.length < $scope.totalIdeasToDisplay) { - // var itemsFromBeginningOfList = $scope.ideas().slice(0, $scope.totalIdeasToDisplay - items.length); - // items = items.concat(itemsFromBeginningOfList); - // } - // return items.reverse(); - // }; - - // $scope.addNewIdea = function() { - - // // Open a modal instance to add an new idea from the front end - // var modalInstance = $modal.open({ - // templateUrl: 'add-new-idea-form.html', - // controller: 'AddIdeaCtrl' - // }); - - // // Get the result form and pass to the ideas service - // modalInstance.result.then(function(form) { - // $Ideas.addNewIdeaFromForm(form); - // }); - // }; - - // // TODO: Add functionality to skip though ideas without voting - - // $scope.nextIdea = function() { - // if ($scope.currentIdeaIndex++ >= $scope.ideas().length - 1) { - // $scope.currentIdeaIndex = 0; - // } - // }; - - // $scope.prevIdea = function() { - // if ($scope.currentIdeaIndex-- < 0) { - // $scope.currentIdeaIndex = $scope.ideas().length - 1; - // } - // }; - - // $scope.$on('castVote', function(event, data) { - // $Vote.castVote(data).then(function(updatedVote) { - // $scope.nextIdea(); - // }); - // }); + $rootScope.$on('castVote', function() { + $scope.displayIdeas = $Ideas.getDisplayIdeas($scope.totalIdeasToDisplay); + }); }]); diff --git a/app/public/js/controllers/PopupCtrl.js b/app/public/js/controllers/PopupCtrl.js index 7b84f6f..1bef1a7 100644 --- a/app/public/js/controllers/PopupCtrl.js +++ b/app/public/js/controllers/PopupCtrl.js @@ -3,8 +3,6 @@ angular.module('pebbleidea') $scope.newIdea = false; - $scope.newIdea = false; - $scope.$on('insert', function(event, idea) { $scope.newIdea = idea; $timeout(function() { @@ -12,4 +10,4 @@ angular.module('pebbleidea') }, 5000); }); - }]) + }]); diff --git a/app/public/js/controllers/VoteCtrl.js b/app/public/js/controllers/VoteCtrl.js index 16b0bbb..ec7db5c 100644 --- a/app/public/js/controllers/VoteCtrl.js +++ b/app/public/js/controllers/VoteCtrl.js @@ -3,63 +3,42 @@ angular.module('pebbleidea') ['$scope', '$rootScope', '$Vote', '$Ideas', '$timeout', function($scope, $rootScope, $Vote, $Ideas, $timeout) { - // We always start at the beginning of the available ideas - $scope.voteItemIndex = $Ideas.getCurrentVoteIndex(); - $scope.voteItem = {}; - $scope.voteCast = false; - - $scope.votedYes = false; - $scope.votedNo = false; - - - $scope.getVoteItem = function() { - return $scope.voteItem; - } - - $scope.nextIdea = function() { - $Ideas.nextVoteIndex(); - $scope.voteItemIndex = $Ideas.getCurrentVoteIndex(); - } - - $scope.previousIdea = function() { - $Ideas.prevVoteIndex; - $scope.voteItemIndex = $Ideas.getCurrentVoteIndex(); - } + $rootScope.$on('dataLoaded', function() { + $scope.voteItem = $Ideas.getCurrentVoteItem(); + }); $scope.voteYes = function() { - $rootScope.$emit('castVote', { vote: 'Yes', idea: $scope.voteItem}); - $scope.voteCast = true; - $scope.votedYes = true; - $timeout(function() { - $scope.nextIdea(); - $scope.voteCast = false; - $scope.votedYes = false; - }, 2000); + // We need to register the vote cast + $Vote.castVote({ vote: 'Yes', idea: $scope.voteItem}) + .then(function() { + $Ideas.nextVoteItem(); + $rootScope.$emit('castVote', { vote: 'Yes', idea: $scope.voteItem}); + $scope.voteItem = $Ideas.getCurrentVoteItem(); + }); } $scope.voteNo = function() { - $rootScope.$emit('castVote', { vote: 'No', idea: $scope.voteItem}); - $scope.voteCast = true; - $scope.votedNo = true; - $timeout(function() { - $scope.nextIdea(); - $scope.voteCast = false; - $scope.votedNo = false; - }, 2000); + // We need to register the vote cast + $Vote.castVote({ vote: 'No', idea: $scope.voteItem}) + .then(function() { + $Ideas.nextVoteItem(); + $rootScope.$emit('castVote', { vote: 'No', idea: $scope.voteItem}); + $scope.voteItem = $Ideas.getCurrentVoteItem(); + }); } + $scope.skipVoteNext = function() { + $Ideas.nextVoteItem(); + $rootScope.$emit('castVote'); + $scope.voteItem = $Ideas.getCurrentVoteItem(); + } - $scope.$watch('voteItemIndex', function(newValue, oldValue) { - if (newValue !== oldValue) { - $scope.voteItem = $Ideas.getIdea($scope.voteItemIndex); - } - }); - - $rootScope.$on('dataLoaded', function() { - $scope.voteItem = $Ideas.getIdea($scope.voteItemIndex); - }) - + $scope.skipVotePrev = function() { + $Ideas.prevVoteItem(); + $rootScope.$emit('castVote'); + $scope.voteItem = $Ideas.getCurrentVoteItem(); + } }]); diff --git a/app/public/js/services/IdeaService.js b/app/public/js/services/IdeaService.js index 8e80cb9..d1dd2a2 100644 --- a/app/public/js/services/IdeaService.js +++ b/app/public/js/services/IdeaService.js @@ -10,144 +10,51 @@ angular.module('pebbleidea') IdeasService.currentVoteIndex = 0; - - // Increment the currentVote Index or reset to 0 - IdeasService.nextVoteIndex = function() { - IdeasService.currentVoteIndex++; - if (IdeasService.currentVoteIndex > IdeasService.ideas.length) { - IdeasService.currentVoteIndex = 0; - } - } - - IdeasService.prevVoteIndex = function() { - IdeasService.currentVoteIndex--; - if (IdeasService.currentVoteIndex < 0) { - IdeasService.currentVoteIndex = IdeasService.ideas.length - 1; - } - } - - IdeasService.getCurrentVoteIndex = function() { - return IdeasService.currentVoteIndex; - } - IdeasService.setAllIdeas = function(ideas) { IdeasService.ideas = ideas; $rootScope.$broadcast('dataLoaded'); - } + }; - IdeasService.getAllIdeas = function() { - return IdeasService.ideas; - } + $Primus.on('initData', function(ideas) { + IdeasService.setAllIdeas(ideas); + }); - IdeasService.getIdea = function(index) { - var idea = IdeasService.ideas[index]; - console.log(idea) - return idea; - } + $Primus.on('insert', function(idea) { + IdeasService.addIdea(idea); + $rootScope.$broadcast('insert', idea); + }); - IdeasService.getIdeas = function(start, count, reverse) { - var ideas = IdeasService.ideas.slice(start, count + 1); + IdeasService.getDisplayIdeas = function(count) { + var ideas = IdeasService.ideas.slice(IdeasService.currentVoteIndex + 1, IdeasService.currentVoteIndex + 1 + count); if (ideas.length < count) { ideas = ideas.concat(IdeasService.ideas.slice(0, count - ideas.length)) } - if (reverse) { - ideas = ideas.reverse(); - } - - return ideas; - } + return ideas.reverse(); + }; - IdeasService.addIdea = function(idea) { - IdeasService.ideas.push(idea); - } - - IdeasService.getNextIdea = function(index) { - var idea = IdeasService.ideas.slice(index, 1)[0]; - - // No idea because we're at the end of the list + // This is the item currently in the vote section + IdeasService.getCurrentVoteItem = function() { + var idea = IdeasService.ideas[IdeasService.currentVoteIndex]; if (!idea) { - idea = IdeasService.ideas[0]; + IdeasService.currentVoteIndex = 0; + idea = IdeasService.ideas[IdeasService.currentVoteIndex]; } - return idea; - } - - IdeasService.getPrevIdea = function(index) { - var idea = IdeasService.ideas.slice(index - 2, 1)[0]; + }; - // At beginning of the list, so go to the end - if (!idea) { - idea = IdeasService.ideas[IdeasService.ideas.length - 1]; + IdeasService.nextVoteItem = function() { + if (IdeasService.currentVoteIndex++ > IdeasService.ideas.length) { + IdeasService.currentVoteIndex = 0; } + }; - return idea; - } - - - // Listener to initialise service with data - $Primus.on('initData', function(ideas) { - IdeasService.setAllIdeas(ideas); - }); - - $Primus.on('insert', function(idea) { - IdeasService.addIdea(idea[0]); - $rootScope.$broadcast('insert', idea[0]); - }); - - - // IdeasService.totalToDisplay = 5; - - // IdeasService.displayIndex = 0; - - // IdeasService.newIdea = {}; - - - // IdeasService.set = function(ideas) { - // IdeasService.ideas = ideas; - // }; - - // IdeasService.getAll = function() { - // return IdeasService.ideas; - // }; - - // IdeasService.getNext = function() { - // if (IdeasService.displayIndex++ >= IdeasService.ideas.length - 1) { - // IdeasService.displayIndex = 0; - // } - - // return Idea.ideas[IdeasService.displayIndex]; - // } - - // IdeasService.getPrev = function() { - // if (IdeasService.displayIndex-- < 0) { - // IdeasService.displayIndex = IdeasService.ideas().length - 1; - // } - - // return Idea.ideas[IdeasService.displayIndex]; - // } - - // IdeasService.add = function(idea) { - // IdeasService.ideas.push(idea); - // }; - - // IdeasService.del = function(index) { - // IdeasService.ideas.slice(index, 1); - // }; - - // IdeasService.addNewIdeaFromForm = function(form) { - // $Primus.send('newIdea', form); - // }; - - // $Primus.on('findAll', function(ideas) { - // IdeasService.set(ideas); - // }); - - // // Event when a new idea is added via the frontend or via SMS - // $Primus.on('insert', function(idea) { - // IdeasService.add(idea[0]); - // $rootScope.$broadcast('insert', idea[0]); - // }); + IdeasService.prevVoteItem = function() { + IdeasService.currentVoteIndex = IdeasService.currentVoteIndex - 1; + if (IdeasService.currentVoteIndex < 0) { + IdeasService.currentVoteIndex = IdeasService.ideas.length - 1; + } + }; return IdeasService; diff --git a/bin/engine.js b/bin/engine.js index 0c3399d..2692101 100644 --- a/bin/engine.js +++ b/bin/engine.js @@ -52,7 +52,7 @@ module.exports = function(app, db, collection, clients) { } clients.forEach(function(client) { - client.send('insert', docs); + client.send('insert', docs[0]); }); }); }); From e1c3c7586c9ea1cb308542d5cb54e9dde43dde41 Mon Sep 17 00:00:00 2001 From: Tane Piper Date: Fri, 17 Jan 2014 12:34:19 +0000 Subject: [PATCH 02/18] Changed insert to direct array access --- app/public/js/services/IdeaService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/public/js/services/IdeaService.js b/app/public/js/services/IdeaService.js index d1dd2a2..ae14d03 100644 --- a/app/public/js/services/IdeaService.js +++ b/app/public/js/services/IdeaService.js @@ -20,7 +20,7 @@ angular.module('pebbleidea') }); $Primus.on('insert', function(idea) { - IdeasService.addIdea(idea); + IdeasService.ideas.push(idea); $rootScope.$broadcast('insert', idea); }); From aa62c94358d63c37a5bb39ead7fac9d625f3cdf4 Mon Sep 17 00:00:00 2001 From: Tane Piper Date: Fri, 17 Jan 2014 12:36:27 +0000 Subject: [PATCH 03/18] Testing my idea text is missing --- app/public/js/services/IdeaService.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/public/js/services/IdeaService.js b/app/public/js/services/IdeaService.js index ae14d03..0bbf320 100644 --- a/app/public/js/services/IdeaService.js +++ b/app/public/js/services/IdeaService.js @@ -20,6 +20,7 @@ angular.module('pebbleidea') }); $Primus.on('insert', function(idea) { + console.log(idea); IdeasService.ideas.push(idea); $rootScope.$broadcast('insert', idea); }); From d97f8aeb477432372cad4cb448d02d07dcd5cfcd Mon Sep 17 00:00:00 2001 From: Tane Piper Date: Fri, 17 Jan 2014 12:39:07 +0000 Subject: [PATCH 04/18] Idea should be object, not array - testing --- app/public/js/services/IdeaService.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/public/js/services/IdeaService.js b/app/public/js/services/IdeaService.js index 0bbf320..6c71f99 100644 --- a/app/public/js/services/IdeaService.js +++ b/app/public/js/services/IdeaService.js @@ -20,9 +20,9 @@ angular.module('pebbleidea') }); $Primus.on('insert', function(idea) { - console.log(idea); - IdeasService.ideas.push(idea); - $rootScope.$broadcast('insert', idea); + console.log(idea[0]); + IdeasService.ideas.push(idea[0]); + $rootScope.$broadcast('insert', idea[0]); }); IdeasService.getDisplayIdeas = function(count) { From cae085929ac02521a0ffb921cac3547ccfd62170 Mon Sep 17 00:00:00 2001 From: Tane Piper Date: Fri, 17 Jan 2014 12:43:10 +0000 Subject: [PATCH 05/18] Removed debug line --- app/public/js/services/IdeaService.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app/public/js/services/IdeaService.js b/app/public/js/services/IdeaService.js index 6c71f99..dc74215 100644 --- a/app/public/js/services/IdeaService.js +++ b/app/public/js/services/IdeaService.js @@ -20,7 +20,6 @@ angular.module('pebbleidea') }); $Primus.on('insert', function(idea) { - console.log(idea[0]); IdeasService.ideas.push(idea[0]); $rootScope.$broadcast('insert', idea[0]); }); From d248c46e1efb567ccd63ec852c1e4672d949610a Mon Sep 17 00:00:00 2001 From: Tane Piper Date: Fri, 17 Jan 2014 13:29:51 +0000 Subject: [PATCH 06/18] Some intro animations --- app/public/css/ideas.css | 16 +++++++++ app/public/css/nav.css | 18 +++++++++++ app/public/css/popup.css | 17 ++++++++++ app/public/includes/ideas-list.html | 7 ++++ app/public/includes/navigation.html | 26 +++++++-------- app/public/includes/popup.html | 50 ++++++++++++++--------------- app/public/index.html | 14 ++------ 7 files changed, 97 insertions(+), 51 deletions(-) create mode 100644 app/public/includes/ideas-list.html diff --git a/app/public/css/ideas.css b/app/public/css/ideas.css index 2636aa5..3e47633 100644 --- a/app/public/css/ideas.css +++ b/app/public/css/ideas.css @@ -31,6 +31,22 @@ main[role='idea-container'] .idea.ng-leave-active{ bottom: -200px; } +.ideas-include.ng-enter { + -webkit-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -moz-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -ms-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -o-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; +} + +.ideas-include.ng-enter { + opacity: 0; +} + +.ideas-include.ng-enter-active { + opacity: 1; +} + /*.ideas { position: static; max-width: 1920px; diff --git a/app/public/css/nav.css b/app/public/css/nav.css index b37a092..b8a71d5 100644 --- a/app/public/css/nav.css +++ b/app/public/css/nav.css @@ -29,3 +29,21 @@ nav[role='navigation'] .logo.pebblecode { nav[role='navigation'] .logo.az { text-align: right; } + +.nav-include.ng-enter { + -webkit-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -moz-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -ms-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -o-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; +} + +.nav-include.ng-enter { + opacity: 0; + top: -300px; +} + +.nav-include.ng-enter-active { + opacity: 1; + top: 0; +} diff --git a/app/public/css/popup.css b/app/public/css/popup.css index 1dc0795..d130d74 100644 --- a/app/public/css/popup.css +++ b/app/public/css/popup.css @@ -37,6 +37,23 @@ div[role='popup'] .text p { margin: 10px auto 10px; } +.popup-container.ng-enter { + -webkit-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -moz-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -ms-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -o-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; +} + +.popup-container.ng-enter { + bottom: -400px; + opacity: 0; +} + +.popup-container.ng-enter-active { + bottom: 0; + opacity: 1; +} /* div[role='popup'] .img { width: 150px; diff --git a/app/public/includes/ideas-list.html b/app/public/includes/ideas-list.html new file mode 100644 index 0000000..4b1b038 --- /dev/null +++ b/app/public/includes/ideas-list.html @@ -0,0 +1,7 @@ +
+
+
+

{{idea.text}}

+
+
+
\ No newline at end of file diff --git a/app/public/includes/navigation.html b/app/public/includes/navigation.html index da3ebee..81b7869 100644 --- a/app/public/includes/navigation.html +++ b/app/public/includes/navigation.html @@ -1,15 +1,13 @@ - \ No newline at end of file +
+ +
+ diff --git a/app/public/includes/popup.html b/app/public/includes/popup.html index 3f7be28..7ca7f06 100644 --- a/app/public/includes/popup.html +++ b/app/public/includes/popup.html @@ -1,36 +1,34 @@ - \ No newline at end of file + diff --git a/app/public/index.html b/app/public/index.html index 3d5f67e..48c74f8 100755 --- a/app/public/index.html +++ b/app/public/index.html @@ -30,19 +30,11 @@ - + -
-
-
-
-

{{idea.text}}

-
-
-
-
+
@@ -67,7 +59,7 @@ - + From fcb9227d934cdb71791548254c0488e94c8684ca Mon Sep 17 00:00:00 2001 From: Tane Piper Date: Fri, 17 Jan 2014 15:24:28 +0000 Subject: [PATCH 07/18] Working on display animations --- app/public/css/ideas.css | 59 +++++++++++++++++---------- app/public/css/vote.css | 16 ++++++++ app/public/includes/ideas-list.html | 4 +- app/public/includes/vote-caster.html | 14 +++++++ app/public/index.html | 17 +------- app/public/js/services/IdeaService.js | 8 ++++ 6 files changed, 79 insertions(+), 39 deletions(-) create mode 100644 app/public/includes/vote-caster.html diff --git a/app/public/css/ideas.css b/app/public/css/ideas.css index 3e47633..89a6300 100644 --- a/app/public/css/ideas.css +++ b/app/public/css/ideas.css @@ -2,14 +2,35 @@ main[role='idea-container'] { margin-top: 100px; } +main[role='idea-container'] .ideas { + overflow: hidden; + max-height: 480px; +} + main[role='idea-container'] .idea { background: #C7C6CC; height: 100px; margin-bottom: 20px; } -main[role='idea-container'] .idea.ng-enter, -main[role='idea-container'] .idea.ng-leave { +.ideas-include.ng-enter { + -webkit-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -moz-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -ms-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -o-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; +} + +.ideas-include.ng-enter { + opacity: 0; +} + +.ideas-include.ng-enter-active { + opacity: 1; +} + +.idea-inner.ng-enter, +.idea-inner.ng-leave { -webkit-transition: 1000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; -moz-transition: 1000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; -ms-transition: 1000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; @@ -17,35 +38,31 @@ main[role='idea-container'] .idea.ng-leave { transition: 1000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; } -main[role='idea-container'] .idea.ng-enter { - bottom: -200px; -} -main[role='idea-container'] .idea.ng-enter-active { - bottom: 0; +.idea-inner.ng-enter { + opacity: 0; + height: 0; } -main[role='idea-container'] .idea.ng-leave { - bottom: 0; +.idea-inner.ng-enter-active { + opacity: 1; + height: 100px; } -main[role='idea-container'] .idea.ng-leave-active{ - bottom: -200px; + +.idea-inner.ng-enter-stagger { + -webkit-transition-delay: 3s; + transition-delay: 3s; } -.ideas-include.ng-enter { - -webkit-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; - -moz-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; - -ms-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; - -o-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; - transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; +.idea-inner.ng-leave { + opacity: 1; + height: 100px; } -.ideas-include.ng-enter { +.idea-inner.ng-leave-active { opacity: 0; + height: 0; } -.ideas-include.ng-enter-active { - opacity: 1; -} /*.ideas { position: static; diff --git a/app/public/css/vote.css b/app/public/css/vote.css index e0313bd..11eb967 100644 --- a/app/public/css/vote.css +++ b/app/public/css/vote.css @@ -4,6 +4,22 @@ } */ +.vote.ng-enter { + -webkit-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -moz-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -ms-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -o-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; +} + +.vote.ng-enter { + opacity: 0; +} + +.vote.ng-enter-active { + opacity: 1; +} + .vote .vote-caster { width: 100%; position: relative; diff --git a/app/public/includes/ideas-list.html b/app/public/includes/ideas-list.html index 4b1b038..56c3b28 100644 --- a/app/public/includes/ideas-list.html +++ b/app/public/includes/ideas-list.html @@ -1,7 +1,7 @@
-
+

{{idea.text}}

-
\ No newline at end of file + diff --git a/app/public/includes/vote-caster.html b/app/public/includes/vote-caster.html new file mode 100644 index 0000000..dac4be8 --- /dev/null +++ b/app/public/includes/vote-caster.html @@ -0,0 +1,14 @@ +
+
+
+
+ +
+
+
+ {{voteItem.text}} +
+
+
+
+
\ No newline at end of file diff --git a/app/public/index.html b/app/public/index.html index 48c74f8..986337d 100755 --- a/app/public/index.html +++ b/app/public/index.html @@ -38,24 +38,9 @@ -
- -
-
-
-
- -
-
-
- {{voteItem.text}} -
-
-
-
-
diff --git a/app/public/js/services/IdeaService.js b/app/public/js/services/IdeaService.js index dc74215..b008ae0 100644 --- a/app/public/js/services/IdeaService.js +++ b/app/public/js/services/IdeaService.js @@ -33,6 +33,14 @@ angular.module('pebbleidea') return ideas.reverse(); }; + IdeasService.getNextDisplayIdea = function(count) { + var idea = IdeasService.ideas[IdeasService.currentVoteIndex + 1 + count]; + if (!idea) { + idea = IdeasService.ideas[0]; + } + return idea; + } + // This is the item currently in the vote section IdeasService.getCurrentVoteItem = function() { var idea = IdeasService.ideas[IdeasService.currentVoteIndex]; From 0326893fadc4fc8c7025a2ad21970bda56c507f2 Mon Sep 17 00:00:00 2001 From: Tane Piper Date: Fri, 17 Jan 2014 16:39:52 +0000 Subject: [PATCH 08/18] YAY! Animation --- app/public/css/vote.css | 94 ++++++++++++++++++++++++++- app/public/index.html | 2 +- app/public/js/controllers/VoteCtrl.js | 11 ++++ 3 files changed, 103 insertions(+), 4 deletions(-) diff --git a/app/public/css/vote.css b/app/public/css/vote.css index 11eb967..44236f6 100644 --- a/app/public/css/vote.css +++ b/app/public/css/vote.css @@ -4,22 +4,110 @@ } */ -.vote.ng-enter { +.vote { + width: 100%; + position: fixed; + right: 0; +} +.vote.ng-enter, +.vote.ng-leave { -webkit-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; -moz-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; -ms-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; -o-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; } - .vote.ng-enter { opacity: 0; } - .vote.ng-enter-active { opacity: 1; } +.yes-vote, +.no-vote { + -webkit-transition: 1000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -moz-transition: 1000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -ms-transition: 1000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + -o-transition: 1000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; + transition: 1000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; +} + +.yes-vote { + opacity: 0; + right: -1700px; +} + +.no-vote { + opacity: 0; + right: 1700px; +} + +/*.yes-vote-add { + opacity: 1; + right: 0 +} + +.yes-vote-add-active { + opacity: 0; + right: -1700px; +} + +.yes-vote-remove { + opacity: 0; + right: -1700px; +} + +.yes-vote-remove-active { + opacity: 1; + right: 0 +} + +.no-vote-add { + opacity: 0; + right: 1700px; +} + +.no-vote-add-active { + opacity: 1; + right: 0; +}*/ + +/*.yes-vote.yes-vote-add { + opacity: 0; + right: -1700px; +} +.yes-vote.yes-vote-add-active { + opacity: 1; + right: 0; +} +.yes-vote.yes-vote-remove { + opacity: 1; + right: 0; +} +.yes-vote.yes-vote-remove-active { + opacity: 0; + right: -1700px; +} + +.yes-vote.ng-enter { + opacity: 0; + right: -1700px; +} +.yes-vote.ng-enter-active { + opacity: 1; + right: 0; +} +.yes-vote.ng-leave { + opacity: 1; + right: 0; +} +.yes-vote.ng-leave-active { + opacity: 0; + right: -1700px; +}*/ + + .vote .vote-caster { width: 100%; position: relative; diff --git a/app/public/index.html b/app/public/index.html index 986337d..5575cbe 100755 --- a/app/public/index.html +++ b/app/public/index.html @@ -40,7 +40,7 @@
+ leap-swipe-right="voteNo()" leap-swipe-left="voteYes()" ng-class="{'yes-vote':'yes-vote','no-vote':'no-vote', '': ''}[voteType]">
diff --git a/app/public/js/controllers/VoteCtrl.js b/app/public/js/controllers/VoteCtrl.js index ec7db5c..df5a56a 100644 --- a/app/public/js/controllers/VoteCtrl.js +++ b/app/public/js/controllers/VoteCtrl.js @@ -5,27 +5,38 @@ angular.module('pebbleidea') $scope.voteItem = {}; + $scope.voteType = true; + $rootScope.$on('dataLoaded', function() { $scope.voteItem = $Ideas.getCurrentVoteItem(); }); $scope.voteYes = function() { // We need to register the vote cast + $scope.voteType = 'yes-vote'; $Vote.castVote({ vote: 'Yes', idea: $scope.voteItem}) .then(function() { $Ideas.nextVoteItem(); $rootScope.$emit('castVote', { vote: 'Yes', idea: $scope.voteItem}); $scope.voteItem = $Ideas.getCurrentVoteItem(); + $timeout(function() { + $scope.voteType = ''; + }, 2000); + }); } $scope.voteNo = function() { // We need to register the vote cast + $scope.voteType = 'no-vote'; $Vote.castVote({ vote: 'No', idea: $scope.voteItem}) .then(function() { $Ideas.nextVoteItem(); $rootScope.$emit('castVote', { vote: 'No', idea: $scope.voteItem}); $scope.voteItem = $Ideas.getCurrentVoteItem(); + $timeout(function() { + $scope.voteType = ''; + }, 2000); }); } From 38eccb7a3c61212c68701935b52105fef512fe0c Mon Sep 17 00:00:00 2001 From: Tane Piper Date: Mon, 20 Jan 2014 09:40:24 +0000 Subject: [PATCH 09/18] Added secret delete button --- app/public/css/ideas.css | 9 ++ app/public/includes/ideas-list.html | 4 + app/public/js/controllers/IdeasCtrl.js | 7 ++ app/public/js/services/IdeaService.js | 21 ++++- app/public/vendor/responsive/.bower.json | 22 ++--- app/public/vendor/responsive/bower.json | 10 ++- .../vendor/responsive/rel/responsive.css | 23 +++-- .../vendor/responsive/rel/responsive.js | 79 +++++++++++++++--- .../vendor/responsive/rel/responsive.min.css | 4 +- .../vendor/responsive/rel/responsive.min.js | 4 +- .../vendor/responsive/rel/responsive.zip | Bin 119119 -> 120138 bytes bin/engine.js | 9 ++ 12 files changed, 151 insertions(+), 41 deletions(-) diff --git a/app/public/css/ideas.css b/app/public/css/ideas.css index 89a6300..6aba89d 100644 --- a/app/public/css/ideas.css +++ b/app/public/css/ideas.css @@ -13,6 +13,15 @@ main[role='idea-container'] .idea { margin-bottom: 20px; } +main[role='idea-container'] .idea .delete { + position: absolute; + top: 0; + right: 0; + font-size: 0.5em; + color: #C7C6CC; + text-decoration: none; +} + .ideas-include.ng-enter { -webkit-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; -moz-transition: 4000ms cubic-bezier(0.445, 0.050, 0.550, 0.950) all; diff --git a/app/public/includes/ideas-list.html b/app/public/includes/ideas-list.html index 56c3b28..af12756 100644 --- a/app/public/includes/ideas-list.html +++ b/app/public/includes/ideas-list.html @@ -2,6 +2,10 @@

{{idea.text}}

+ + X
+ +
diff --git a/app/public/js/controllers/IdeasCtrl.js b/app/public/js/controllers/IdeasCtrl.js index ac20391..11dfeeb 100644 --- a/app/public/js/controllers/IdeasCtrl.js +++ b/app/public/js/controllers/IdeasCtrl.js @@ -16,4 +16,11 @@ angular.module('pebbleidea') $scope.displayIdeas = $Ideas.getDisplayIdeas($scope.totalIdeasToDisplay); }); + $scope.delete = function(index, idea) { + $Ideas.delete(index, idea) + .then(function() { + $scope.displayIdeas = $Ideas.getDisplayIdeas($scope.totalIdeasToDisplay); + }) + } + }]); diff --git a/app/public/js/services/IdeaService.js b/app/public/js/services/IdeaService.js index b008ae0..d59f6eb 100644 --- a/app/public/js/services/IdeaService.js +++ b/app/public/js/services/IdeaService.js @@ -1,7 +1,7 @@ angular.module('pebbleidea') .factory('$Ideas', - ['$Primus', '$rootScope', - function($Primus, $rootScope) { + ['$Primus', '$rootScope', '$q', + function($Primus, $rootScope, $q) { 'use strict'; var IdeasService = {}; @@ -64,6 +64,23 @@ angular.module('pebbleidea') } }; + IdeasService.delete = function(index, idea) { + var deferred = $q.defer(); + + $Primus.send('deleteIdea', idea, function(err) { + if (err) { + deferred.reject(err); + return; + } + + IdeasService.ideas.splice(index, 1); + + deferred.resolve(); + }); + + return deferred.promise; + } + return IdeasService; }]); diff --git a/app/public/vendor/responsive/.bower.json b/app/public/vendor/responsive/.bower.json index 550b2f8..672aa92 100644 --- a/app/public/vendor/responsive/.bower.json +++ b/app/public/vendor/responsive/.bower.json @@ -1,14 +1,16 @@ { - "name": "Responsive", - "version": "2.3.1", - "homepage": "https://github.com/JimBobSquarePants/Responsive", + "name": "responsive", + "version": "2.3.3", + "homepage": "https://responsivebp.com", "authors": [ "James South" ], "license": "MIT", "main": [ "./rel/responsive.js", - "./rel/responsive.css" + "./rel/responsive.min.js", + "./rel/responsive.css", + "./rel/responsive.min.css" ], "ignore": [ "**/.*", @@ -24,14 +26,14 @@ "jquery-legacy": "jquery#1.10", "respond": "1.4.2" }, - "_release": "2.3.1", + "_release": "2.3.3", "_resolution": { "type": "version", - "tag": "2.3.1", - "commit": "3ea9edcae6f61d5124d9ef8b533efb0c9ac6d0d4" + "tag": "2.3.3", + "commit": "f6cef90f8962cf4f7d766caedcab1c6689afafe4" }, - "_source": "git://github.com/JimBobSquarePants/Responsive.git", - "_target": "~2.3.1", - "_originalSource": "responsive", + "_source": "https://github.com/ResponsiveBP/Responsive.git", + "_target": "~2.3.3", + "_originalSource": "https://github.com/ResponsiveBP/Responsive.git", "_direct": true } \ No newline at end of file diff --git a/app/public/vendor/responsive/bower.json b/app/public/vendor/responsive/bower.json index 97f17aa..5127ab4 100644 --- a/app/public/vendor/responsive/bower.json +++ b/app/public/vendor/responsive/bower.json @@ -1,14 +1,16 @@ { - "name": "Responsive", - "version": "2.2.0", - "homepage": "https://github.com/JimBobSquarePants/Responsive", + "name": "responsive", + "version": "2.3.3", + "homepage": "https://responsivebp.com", "authors": [ "James South" ], "license": "MIT", "main": [ "./rel/responsive.js", - "./rel/responsive.css" + "./rel/responsive.min.js", + "./rel/responsive.css", + "./rel/responsive.min.css" ], "ignore": [ "**/.*", diff --git a/app/public/vendor/responsive/rel/responsive.css b/app/public/vendor/responsive/rel/responsive.css index 045f842..600d84d 100644 --- a/app/public/vendor/responsive/rel/responsive.css +++ b/app/public/vendor/responsive/rel/responsive.css @@ -19,7 +19,7 @@ Licensed under the MIT License. ============================================================================== */ -/*! Responsive v2.3.1 | MIT License | git.io/rRNRLA */ +/*! Responsive v2.3.3 | MIT License | git.io/rRNRLA */ /* All CSS files combined. This should be ran through a preprocessor */ /*! normalize.css v2.1.3 | MIT License | git.io/normalize */ @@ -439,6 +439,14 @@ table { box-sizing: border-box !important; } +/* + * IE10 in Windows (Phone) 8 + * Support for responsive views via media queries do not work in IE10 on mobile for + * versions prior to WP8 Update 3 (GDR3). + */ +@-ms-viewport { + width: device-width; +} /* * 1. Use the iOS devices hardware accelerator to provide native scrolling. @@ -3647,19 +3655,19 @@ pre { display: block; } -/* Responsive LightBox Base */ +/* Responsive LightBox */ .lightbox-on, -.lightbox-on body { +.lightbox-lock-body > body { height: 100%; overflow: hidden; } - /* * 1: Average browser max z-index. * 2: IE8 transparent background. * 3. Use the iOS devices hardware accelerator to provide native scrolling. + * 4. Prevent font rendering issues on webkit. */ .lightbox-overlay { position: fixed; @@ -3675,6 +3683,7 @@ pre { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQI12NgYGDYDAAAuAC0TCbBxgAAAABJRU5ErkJggg=='); background-repeat: repeat; -webkit-overflow-scrolling: touch; /* 3 */ + -webkit-backface-visibility: hidden; /* 4 */ } /* @@ -3684,7 +3693,6 @@ pre { padding: 1px 1em; /* 1 */ margin: -1px 0; /* 1 */ width: 100%; - background-color: #111; color: #fff; position: fixed; top: 0; @@ -3765,10 +3773,6 @@ pre { overflow: auto; } -.lightbox > .media { - background-color: #111; -} - .lightbox > img { max-height: 100%; max-width: none\9; @@ -3780,6 +3784,7 @@ pre { } .lightbox > .media { + background-color: #111; margin: 0 auto; } diff --git a/app/public/vendor/responsive/rel/responsive.js b/app/public/vendor/responsive/rel/responsive.js index 6a05b90..dd897e7 100644 --- a/app/public/vendor/responsive/rel/responsive.js +++ b/app/public/vendor/responsive/rel/responsive.js @@ -19,7 +19,7 @@ Licensed under the MIT License. ============================================================================== */ -/*! Responsive v2.3.1 | MIT License | git.io/rRNRLA */ +/*! Responsive v2.3.3 | MIT License | git.io/rRNRLA */ /* * Responsive Utils @@ -31,6 +31,23 @@ "use strict"; + $(function () { + + // IE10 in Windows (Phone) 8 + // Support for responsive views via media queries do not work in IE10 on mobile for + // versions prior to WP8 Update 3 (GDR3). + if (navigator.userAgent.match(/IEMobile\/10\.0/)) { + var msViewportStyle = document.createElement("style"); + msViewportStyle.appendChild( + document.createTextNode( + "@-ms-viewport{width:auto!important}" + ) + ); + document.querySelector("head"). + appendChild(msViewportStyle); + } + }); + $.support.getVendorPrefix = (function () { /// Gets the correct vendor prefix for the current browser. /// The property to return the name for. @@ -111,10 +128,10 @@ $this = $(this), callback = function () { if (!called) { $this.trigger($.support.transition.end); } }; - $this.one($.support.transition.end, function () { called = true; }); + $this.one($.support.transition.end, function () { called = true; }); w.setTimeout(callback, duration); return this; - } + }; $.fn.swipe = function (options) { /// Adds swiping functionality to the given element. @@ -404,7 +421,6 @@ if (classes) { self.$clone.removeData(classes); } - }; $.when(clone()).then(this.size()); @@ -772,7 +788,7 @@ } // Ensure that transition end is triggered. - if (this.$element.find(".next, .prev").length && $.support.transition.end) { + if (this.$element.find(".next, .prev").length && $.support.transition) { this.$element.trigger($.support.transition.end); this.cycle(true); } @@ -1295,6 +1311,7 @@ $previous = $("").attr({ "href": "#", "title": "Previous (Left Arrow)" }).addClass("lightbox-direction left hidden"), $next = $("").attr({ "href": "#", "title": "Next (Right Arrow)" }).addClass("lightbox-direction right hidden"), $placeholder = $("
").addClass("lightbox-placeholder"), + scrollbarWidth = 0, lastScroll = 0, supportTransition = $.support.transition, keys = { @@ -1565,6 +1582,16 @@ else if ($content) { $lightbox.css("max-height", childHeight); $content.css("max-height", childHeight); + + // Prevent IEMobile10 scrolling when content overflows the lightbox. + // This causes the content to jump behind the model but it's all I can + // find for now. + if ($content && navigator.userAgent.match(/IEMobile\/10\.0/)) { + + if ($content.children("*:first")[0].scrollHeight > $lightbox.height()) { + $html.addClass("lightbox-lock-body"); + } + } } else { @@ -1604,8 +1631,20 @@ bottom = top + $child.height(); + var getTopMargin = function () { + if (bottomHeight > 1 && top > margin && windowHeight - bottom < bottomHeight) { + var newMargin = ((top - margin) * -2) + 4; + + if ((newMargin * -1) + childHeight < windowHeight - bottom) { + return newMargin; + } + } + + return fallback; + }; + $lightbox.css({ - "margin-top": bottomHeight > 1 && top > margin && windowHeight - bottom < bottomHeight ? ((top - margin) * -2) + 4 : fallback + "margin-top": getTopMargin() }); } }; @@ -1635,17 +1674,29 @@ var fade = event === "show" ? "addClass" : "removeClass", self = this, + getScrollbarWidth = function () { + var $scroll = $("
").css({ width: 99, height: 99, overflow: "scroll", position: "absolute", top: -9999 }); + $body.append($scroll); + scrollbarWidth = $scroll[0].offsetWidth - $scroll[0].clientWidth; + $scroll.remove(); + + return scrollbarWidth; + }, complete = function () { if (event === "hide") { $overlay.addClass("hidden"); - $html.removeClass("lightbox-on"); + $html.removeClass("lightbox-on") + .css("margin-right", ""); - if (lastScroll !== $window.scrollTop) { - $window.scrollTop(lastScroll); - lastScroll = 0; - } + if ($html.hasClass("lightbox-lock-body")) { + $html.removeClass("lightbox-lock-body"); + if (lastScroll !== $window.scrollTop()) { + $window.scrollTop(lastScroll); + lastScroll = 0; + } + } return; } @@ -1675,7 +1726,10 @@ if (lastScroll === 0) { lastScroll = $window.scrollTop(); } - $html.addClass("lightbox-on"); + + // Remove the scrollbar. + $html.addClass("lightbox-on") + .css("margin-right", getScrollbarWidth()); $overlay.removeClass("hidden") .redraw()[fade]("fade-in") @@ -1798,6 +1852,7 @@ newTarget.length ? newTarget.focus() : $close.focus(); return false; } + return true; }); }; diff --git a/app/public/vendor/responsive/rel/responsive.min.css b/app/public/vendor/responsive/rel/responsive.min.css index fda83a0..7bc1ad9 100644 --- a/app/public/vendor/responsive/rel/responsive.min.css +++ b/app/public/vendor/responsive/rel/responsive.min.css @@ -1,3 +1,3 @@ -/*! Responsive v2.3.1 | MIT License | git.io/rRNRLA */ +/*! Responsive v2.3.3 | MIT License | git.io/rRNRLA */ /*! normalize.css v2.1.3 | MIT License | git.io/normalize */ -article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a{background:transparent}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"“" "”" "‘" "’"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}*,*:before,*:after{-webkit-box-sizing:border-box!important;-moz-box-sizing:border-box!important;-ms-box-sizing:border-box!important;box-sizing:border-box!important}html{-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;font-size:16px;line-height:1.4;font-family:Arial,sans-serif}html,button,input,select,textarea{color:#222}h1,h2,h3,h4,h5,h6{text-rendering:optimizeLegibility;page-break-after:avoid}::-moz-selection{background:#b3d4fc;text-shadow:none}::selection{background:#b3d4fc;text-shadow:none}hr{display:block;height:1px;border:0;border-top:1px solid silver;margin:1em 0;padding:0}abbr{cursor:help}button,[type="submit"],[type="button"],[type="reset"],[role="button"]{-ms-touch-action:none;touch-action:none}.container{margin:0 auto;width:95%;max-width:1140px}.fixed .container,.container.fixed{width:1140px}.row:before,.row:after{content:"";display:table}.row:after{clear:both}[class*="col-"]{position:relative;display:block;min-height:1px;float:left;width:100%}.row [class*="col-"]+[class*="col-"]{margin-left:2%}.row.no-gutter>[class*="col-"]+[class*="col-"],.row [class*="col-"]+[class*="col-s"],.row [class*="col-"]+[class*="col-m"],.row [class*="col-"]+[class*="col-l"]{margin-left:0}.row.no-gutter.pad-gutter [class*="col-"]{padding:0 1%}@media(max-width:47.99em){.row [class*="col-"].reset-xs-only{margin-left:0!important;clear:both}.row [class*="col-"][class*="push-xs-right-only"]{float:right}}.row [class*="col-"].reset-xs{margin-left:0!important;clear:both}.row [class*="col-"][class*="push-xs-right"]{float:right}.col-xs-12{width:100%;margin-left:0}.col-xs-11{width:91.5%}.col-xs-10{width:83%}.col-xs-9{width:74.5%}.col-xs-8{width:66%}.col-xs-7{width:57.5%}.col-xs-6{width:49%}.col-xs-5{width:40.5%}.col-xs-4{width:32%}.col-xs-3{width:23.5%}.col-xs-2{width:15%}.col-xs-1{width:6.5%}.no-gutter .col-xs-11{width:91.6667%}.no-gutter .col-xs-10{width:83.3333%}.no-gutter .col-xs-9{width:75%}.no-gutter .col-xs-8{width:66.6667%}.no-gutter .col-xs-7{width:58.3333%}.no-gutter .col-xs-6{width:50%}.no-gutter .col-xs-5{width:41.6667%}.no-gutter .col-xs-4{width:33.3333%}.no-gutter .col-xs-3{width:25%}.no-gutter .col-xs-2{width:16.6667%}.no-gutter .col-xs-1{width:8.3333%}.offset-xs-11{margin-left:93.5%}.row [class*="col-"]+.offset-xs-11{margin-left:95.5%}.offset-xs-10{margin-left:85%}.row [class*="col-"]+.offset-xs-10{margin-left:87%}.offset-xs-9{margin-left:76.5%}.row [class*="col-"]+.offset-xs-9{margin-left:78.5%}.offset-xs-8{margin-left:68%}.row [class*="col-"]+.offset-xs-8{margin-left:70%}.offset-xs-7{margin-left:59.5%}.row [class*="col-"]+.offset-xs-7{margin-left:61.5%}.offset-xs-6{margin-left:51%}.row [class*="col-"]+.offset-xs-6{margin-left:53%}.offset-xs-5{margin-left:42.5%}.row [class*="col-"]+.offset-xs-5{margin-left:44.5%}.offset-xs-4{margin-left:34%}.row [class*="col-"]+.offset-xs-4{margin-left:36%}.offset-xs-3{margin-left:25.5%}.row [class*="col-"]+.offset-xs-3{margin-left:27.5%}.offset-xs-2{margin-left:17%}.row [class*="col-"]+.offset-xs-2{margin-left:19%}.offset-xs-1{margin-left:8.5%}.row [class*="col-"]+.offset-xs-1{margin-left:10.5%}.no-gutter .offset-xs-11,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-11{margin-left:91.6667%}.no-gutter .offset-xs-10,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-10{margin-left:83.3333%}.no-gutter .offset-xs-9,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-9{margin-left:75%}.no-gutter .offset-xs-8,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-8{margin-left:66.6667%}.no-gutter .offset-xs-7,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-7{margin-left:58.3333%}.no-gutter .offset-xs-6,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-6{margin-left:50%}.no-gutter .offset-xs-5,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-5{margin-left:41.6667%}.no-gutter .offset-xs-4,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-4{margin-left:33.3333%}.no-gutter .offset-xs-3,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-3{margin-left:25%}.no-gutter .offset-xs-2,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-2{margin-left:16.6667%}.no-gutter .offset-xs-1,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-1{margin-left:8.3333%}.push-xs-11{left:93.5%}.push-xs-10{left:85%}.push-xs-9{left:76.5%}.push-xs-8{left:68%}.push-xs-7{left:59.5%}.push-xs-6{left:51%}.push-xs-5{left:42.5%}.push-xs-4{left:34%}.push-xs-3{left:25.5%}.push-xs-2{left:17%}.push-xs-1{left:8.5%}.no-gutter .push-xs-11{left:91.6667%}.no-gutter .push-xs-10{left:83.3333%}.no-gutter .push-xs-9{left:75%}.no-gutter .push-xs-8{left:66.6667%}.no-gutter .push-xs-7{left:58.3333%}.no-gutter .push-xs-6{left:50%}.no-gutter .push-xs-5{left:41.6667%}.no-gutter .push-xs-4{left:33.3333%}.no-gutter .push-xs-3{left:25%}.no-gutter .push-xs-2{left:16.6667%}.no-gutter .push-xs-1{left:8.3333%}.pull-xs-11{right:93.5%}.pull-xs-10{right:85%}.pull-xs-9{right:76.5%}.pull-xs-8{right:68%}.pull-xs-7{right:59.5%}.pull-xs-6{right:51%}.pull-xs-5{right:42.5%}.pull-xs-4{right:34%}.pull-xs-3{right:25.5%}.pull-xs-2{right:17%}.pull-xs-1{right:8.5%}.no-gutter .pull-xs-11{right:91.6667%}.no-gutter .pull-xs-10{right:83.3333%}.no-gutter .pull-xs-9{right:75%}.no-gutter .pull-xs-8{right:66.6667%}.no-gutter .pull-xs-7{right:58.3333%}.no-gutter .pull-xs-6{right:50%}.no-gutter .pull-xs-5{right:41.6667%}.no-gutter .pull-xs-4{right:33.3333%}.no-gutter .pull-xs-3{right:25%}.no-gutter .pull-xs-2{right:16.6667%}.no-gutter .pull-xs-1{right:8.3333%}@media(min-width:48em)and (max-width:61.99em){.row [class*="col-"].reset-s-only{margin-left:0!important;clear:both}.row [class*="col-"][class*="push-s-right-only"]{float:right}}@media(min-width:48em){.row [class*="col-"].reset-s{margin-left:0!important;clear:both}.row [class*="col-"][class*="push-s-right"]{float:right}.row [class*="col-"]+[class*="col-s"]{margin-left:2%}.col-s-12{width:100%;margin-left:0}.col-s-11{width:91.5%}.col-s-10{width:83%}.col-s-9{width:74.5%}.col-s-8{width:66%}.col-s-7{width:57.5%}.col-s-6{width:49%}.col-s-5{width:40.5%}.col-s-4{width:32%}.col-s-3{width:23.5%}.col-s-2{width:15%}.col-s-1{width:6.5%}.no-gutter .col-s-11{width:91.6667%}.no-gutter .col-s-10{width:83.3333%}.no-gutter .col-s-9{width:75%}.no-gutter .col-s-8{width:66.6667%}.no-gutter .col-s-7{width:58.3333%}.no-gutter .col-s-6{width:50%}.no-gutter .col-s-5{width:41.6667%}.no-gutter .col-s-4{width:33.3333%}.no-gutter .col-s-3{width:25%}.no-gutter .col-s-2{width:16.6667%}.no-gutter .col-s-1{width:8.3333%}.offset-s-11{margin-left:93.5%}.row [class*="col-"]+.offset-s-11{margin-left:95.5%}.offset-s-10{margin-left:85%}.row [class*="col-"]+.offset-s-10{margin-left:87%}.offset-s-9{margin-left:76.5%}.row [class*="col-"]+.offset-s-9{margin-left:78.5%}.offset-s-8{margin-left:68%}.row [class*="col-"]+.offset-s-8{margin-left:70%}.offset-s-7{margin-left:59.5%}.row [class*="col-"]+.offset-s-7{margin-left:61.5%}.offset-s-6{margin-left:51%}.row [class*="col-"]+.offset-s-6{margin-left:53%}.offset-s-5{margin-left:42.5%}.row [class*="col-"]+.offset-s-5{margin-left:44.5%}.offset-s-4{margin-left:34%}.row [class*="col-"]+.offset-s-4{margin-left:36%}.offset-s-3{margin-left:25.5%}.row [class*="col-"]+.offset-s-3{margin-left:27.5%}.offset-s-2{margin-left:17%}.row [class*="col-"]+.offset-s-2{margin-left:19%}.offset-s-1{margin-left:8.5%}.row [class*="col-"]+.offset-s-1{margin-left:10.5%}.no-gutter .offset-s-11,.no-gutter [class*="col-"]+[class*="col-"].offset-s-11{margin-left:91.6667%}.no-gutter .offset-s-10,.no-gutter [class*="col-"]+[class*="col-"].offset-s-10{margin-left:83.3333%}.no-gutter .offset-s-9,.no-gutter [class*="col-"]+[class*="col-"].offset-s-9{margin-left:75%}.no-gutter .offset-s-8,.no-gutter [class*="col-"]+[class*="col-"].offset-s-8{margin-left:66.6667%}.no-gutter .offset-s-7,.no-gutter [class*="col-"]+[class*="col-"].offset-s-7{margin-left:58.3333%}.no-gutter .offset-s-6,.no-gutter [class*="col-"]+[class*="col-"].offset-s-6{margin-left:50%}.no-gutter .offset-s-5,.no-gutter [class*="col-"]+[class*="col-"].offset-s-5{margin-left:41.6667%}.no-gutter .offset-s-4,.no-gutter [class*="col-"]+[class*="col-"].offset-s-4{margin-left:33.3333%}.no-gutter .offset-s-3,.no-gutter [class*="col-"]+[class*="col-"].offset-s-3{margin-left:25%}.no-gutter .offset-s-2,.no-gutter [class*="col-"]+[class*="col-"].offset-s-2{margin-left:16.6667%}.no-gutter .offset-s-1,.no-gutter [class*="col-"]+[class*="col-"].offset-s-1{margin-left:8.3333%}.push-s-11{left:93.5%}.push-s-10{left:85%}.push-s-9{left:76.5%}.push-s-8{left:68%}.push-s-7{left:59.5%}.push-s-6{left:51%}.push-s-5{left:42.5%}.push-s-4{left:34%}.push-s-3{left:25.5%}.push-s-2{left:17%}.push-s-1{left:8.5%}.no-gutter .push-s-11{left:91.6667%}.no-gutter .push-s-10{left:83.3333%}.no-gutter .push-s-9{left:75%}.no-gutter .push-s-8{left:66.6667%}.no-gutter .push-s-7{left:58.3333%}.no-gutter .push-s-6{left:50%}.no-gutter .push-s-5{left:41.6667%}.no-gutter .push-s-4{left:33.3333%}.no-gutter .push-s-3{left:25%}.no-gutter .push-s-2{left:16.6667%}.no-gutter .push-s-1{left:8.3333%}.pull-s-11{right:93.5%}.pull-s-10{right:85%}.pull-s-9{right:76.5%}.pull-s-8{right:68%}.pull-s-7{right:59.5%}.pull-s-6{right:51%}.pull-s-5{right:42.5%}.pull-s-4{right:34%}.pull-s-3{right:25.5%}.pull-s-2{right:17%}.pull-s-1{right:8.5%}.no-gutter .pull-s-11{right:91.6667%}.no-gutter .pull-s-10{right:83.3333%}.no-gutter .pull-s-9{right:75%}.no-gutter .pull-s-8{right:66.6667%}.no-gutter .pull-s-7{right:58.3333%}.no-gutter .pull-s-6{right:50%}.no-gutter .pull-s-5{right:41.6667%}.no-gutter .pull-s-4{right:33.3333%}.no-gutter .pull-s-3{right:25%}.no-gutter .pull-s-2{right:16.6667%}.no-gutter .pull-s-1{right:8.3333%}}@media(min-width:62em)and (max-width:74.99em){.row [class*="col-"].reset-m-only{margin-left:0!important;clear:both}.row [class*="col-"][class*="push-m-right-only"]{float:right}}@media(min-width:62em){.row [class*="col-"].reset-m{margin-left:0!important;clear:both}.row [class*="col-"][class*="push-m-right"]{float:right}.row [class*="col-"]+[class*="col-m"]{margin-left:2%}.col-m-12{width:100%;margin-left:0}.col-m-11{width:91.5%}.col-m-10{width:83%}.col-m-9{width:74.5%}.col-m-8{width:66%}.col-m-7{width:57.5%}.col-m-6{width:49%}.col-m-5{width:40.5%}.col-m-4{width:32%}.col-m-3{width:23.5%}.col-m-2{width:15%}.col-m-1{width:6.5%}.no-gutter .col-m-11{width:91.6667%}.no-gutter .col-m-10{width:83.3333%}.no-gutter .col-m-9{width:75%}.no-gutter .col-m-8{width:66.6667%}.no-gutter .col-m-7{width:58.3333%}.no-gutter .col-m-6{width:50%}.no-gutter .col-m-5{width:41.6667%}.no-gutter .col-m-4{width:33.3333%}.no-gutter .col-m-3{width:25%}.no-gutter .col-m-2{width:16.6667%}.no-gutter .col-m-1{width:8.3333%}.offset-m-11{margin-left:93.5%}.row [class*="col-"]+.offset-m-11{margin-left:95.5%}.offset-m-10{margin-left:85%}.row [class*="col-"]+.offset-m-10{margin-left:87%}.offset-m-9{margin-left:76.5%}.row [class*="col-"]+.offset-m-9{margin-left:78.5%}.offset-m-8{margin-left:68%}.row [class*="col-"]+.offset-m-8{margin-left:70%}.offset-m-7{margin-left:59.5%}.row [class*="col-"]+.offset-m-7{margin-left:61.5%}.offset-m-6{margin-left:51%}.row [class*="col-"]+.offset-m-6{margin-left:53%}.offset-m-5{margin-left:42.5%}.row [class*="col-"]+.offset-m-5{margin-left:44.5%}.offset-m-4{margin-left:34%}.row [class*="col-"]+.offset-m-4{margin-left:36%}.offset-m-3{margin-left:25.5%}.row [class*="col-"]+.offset-m-3{margin-left:27.5%}.offset-m-2{margin-left:17%}.row [class*="col-"]+.offset-m-2{margin-left:19%}.offset-m-1{margin-left:8.5%}.row [class*="col-"]+.offset-m-1{margin-left:10.5%}.no-gutter .offset-m-11,.no-gutter [class*="col-"]+[class*="col-"].offset-m-11{margin-left:91.6667%}.no-gutter .offset-m-10,.no-gutter [class*="col-"]+[class*="col-"].offset-m-10{margin-left:83.3333%}.no-gutter .offset-m-9,.no-gutter [class*="col-"]+[class*="col-"].offset-m-9{margin-left:75%}.no-gutter .offset-m-8,.no-gutter [class*="col-"]+[class*="col-"].offset-m-8{margin-left:66.6667%}.no-gutter .offset-m-7,.no-gutter [class*="col-"]+[class*="col-"].offset-m-7{margin-left:58.3333%}.no-gutter .offset-m-6,.no-gutter [class*="col-"]+[class*="col-"].offset-m-6{margin-left:50%}.no-gutter .offset-m-5,.no-gutter [class*="col-"]+[class*="col-"].offset-m-5{margin-left:41.6667%}.no-gutter .offset-m-4,.no-gutter [class*="col-"]+[class*="col-"].offset-m-4{margin-left:33.3333%}.no-gutter .offset-m-3,.no-gutter [class*="col-"]+[class*="col-"].offset-m-3{margin-left:25%}.no-gutter .offset-m-2,.no-gutter [class*="col-"]+[class*="col-"].offset-m-2{margin-left:16.6667%}.no-gutter .offset-m-1,.no-gutter [class*="col-"]+[class*="col-"].offset-m-1{margin-left:8.3333%}.push-m-11{left:93.5%}.push-m-10{left:85%}.push-m-9{left:76.5%}.push-m-8{left:68%}.push-m-7{left:59.5%}.push-m-6{left:51%}.push-m-5{left:42.5%}.push-m-4{left:34%}.push-m-3{left:25.5%}.push-m-2{left:17%}.push-m-1{left:8.5%}.no-gutter .push-m-11{left:91.6667%}.no-gutter .push-m-10{left:83.3333%}.no-gutter .push-m-9{left:75%}.no-gutter .push-m-8{left:66.6667%}.no-gutter .push-m-7{left:58.3333%}.no-gutter .push-m-6{left:50%}.no-gutter .push-m-5{left:41.6667%}.no-gutter .push-m-4{left:33.3333%}.no-gutter .push-m-3{left:25%}.no-gutter .push-m-2{left:16.6667%}.no-gutter .push-m-1{left:8.3333%}.pull-m-11{right:93.5%}.pull-m-10{right:85%}.pull-m-9{right:76.5%}.pull-m-8{right:68%}.pull-m-7{right:59.5%}.pull-m-6{right:51%}.pull-m-5{right:42.5%}.pull-m-4{right:34%}.pull-m-3{right:25.5%}.pull-m-2{right:17%}.pull-m-1{right:8.5%}.no-gutter .pull-m-11{right:91.6667%}.no-gutter .pull-m-10{right:83.3333%}.no-gutter .pull-m-9{right:75%}.no-gutter .pull-m-8{right:66.6667%}.no-gutter .pull-m-7{right:58.3333%}.no-gutter .pull-m-6{right:50%}.no-gutter .pull-m-5{right:41.6667%}.no-gutter .pull-m-4{right:33.3333%}.no-gutter .pull-m-3{right:25%}.no-gutter .pull-m-2{right:16.6667%}.no-gutter .pull-m-1{right:8.3333%}}@media(min-width:75em){.row [class*="col-"].reset-l{margin-left:0!important;clear:both}.row [class*="col-"][class*="push-l-right"]{float:right}.row [class*="col-"]+[class*="col-l"]{margin-left:2%}.col-l-12{width:100%;margin-left:0}.col-l-11{width:91.5%}.col-l-10{width:83%}.col-l-9{width:74.5%}.col-l-8{width:66%}.col-l-7{width:57.5%}.col-l-6{width:49%}.col-l-5{width:40.5%}.col-l-4{width:32%}.col-l-3{width:23.5%}.col-l-2{width:15%}.col-l-1{width:6.5%}.no-gutter .col-l-11{width:91.6667%}.no-gutter .col-l-10{width:83.3333%}.no-gutter .col-l-9{width:75%}.no-gutter .col-l-8{width:66.6667%}.no-gutter .col-l-7{width:58.3333%}.no-gutter .col-l-6{width:50%}.no-gutter .col-l-5{width:41.6667%}.no-gutter .col-l-4{width:33.3333%}.no-gutter .col-l-3{width:25%}.no-gutter .col-l-2{width:16.6667%}.no-gutter .col-l-1{width:8.3333%}.offset-l-11{margin-left:93.5%}.row [class*="col-"]+.offset-l-11{margin-left:95.5%}.offset-l-10{margin-left:85%}.row [class*="col-"]+.offset-l-10{margin-left:87%}.offset-l-9{margin-left:76.5%}.row [class*="col-"]+.offset-l-9{margin-left:78.5%}.offset-l-8{margin-left:68%}.row [class*="col-"]+.offset-l-8{margin-left:70%}.offset-l-7{margin-left:59.5%}.row [class*="col-"]+.offset-l-7{margin-left:61.5%}.offset-l-6{margin-left:51%}.row [class*="col-"]+.offset-l-6{margin-left:53%}.offset-l-5{margin-left:42.5%}.row [class*="col-"]+.offset-l-5{margin-left:44.5%}.offset-l-4{margin-left:34%}.row [class*="col-"]+.offset-l-4{margin-left:36%}.offset-l-3{margin-left:25.5%}.row [class*="col-"]+.offset-l-3{margin-left:27.5%}.offset-l-2{margin-left:17%}.row [class*="col-"]+.offset-l-2{margin-left:19%}.offset-l-1{margin-left:8.5%}.row [class*="col-"]+.offset-l-1{margin-left:10.5%}.no-gutter .offset-l-11,.no-gutter [class*="col-"]+[class*="col-"].offset-l-11{margin-left:91.6667%}.no-gutter .offset-l-10,.no-gutter [class*="col-"]+[class*="col-"].offset-l-10{margin-left:83.3333%}.no-gutter .offset-l-9,.no-gutter [class*="col-"]+[class*="col-"].offset-l-9{margin-left:75%}.no-gutter .offset-l-8,.no-gutter [class*="col-"]+[class*="col-"].offset-l-8{margin-left:66.6667%}.no-gutter .offset-l-7,.no-gutter [class*="col-"]+[class*="col-"].offset-l-7{margin-left:58.3333%}.no-gutter .offset-l-6,.no-gutter [class*="col-"]+[class*="col-"].offset-l-6{margin-left:50%}.no-gutter .offset-l-5,.no-gutter [class*="col-"]+[class*="col-"].offset-l-5{margin-left:41.6667%}.no-gutter .offset-l-4,.no-gutter [class*="col-"]+[class*="col-"].offset-l-4{margin-left:33.3333%}.no-gutter .offset-l-3,.no-gutter [class*="col-"]+[class*="col-"].offset-l-3{margin-left:25%}.no-gutter .offset-l-2,.no-gutter [class*="col-"]+[class*="col-"].offset-l-2{margin-left:16.6667%}.no-gutter .offset-l-1,.no-gutter [class*="col-"]+[class*="col-"].offset-l-1{margin-left:8.3333%}.push-l-11{left:93.5%}.push-l-10{left:85%}.push-l-9{left:76.5%}.push-l-8{left:68%}.push-l-7{left:59.5%}.push-l-6{left:51%}.push-l-5{left:42.5%}.push-l-4{left:34%}.push-l-3{left:25.5%}.push-l-2{left:17%}.push-l-1{left:8.5%}.no-gutter .push-l-11{left:91.6667%}.no-gutter .push-l-10{left:83.3333%}.no-gutter .push-l-9{left:75%}.no-gutter .push-l-8{left:66.6667%}.no-gutter .push-l-7{left:58.3333%}.no-gutter .push-l-6{left:50%}.no-gutter .push-l-5{left:41.6667%}.no-gutter .push-l-4{left:33.3333%}.no-gutter .push-l-3{left:25%}.no-gutter .push-l-2{left:16.6667%}.no-gutter .push-l-1{left:8.3333%}.pull-l-11{right:93.5%}.pull-l-10{right:85%}.pull-l-9{right:76.5%}.pull-l-8{right:68%}.pull-l-7{right:59.5%}.pull-l-6{right:51%}.pull-l-5{right:42.5%}.pull-l-4{right:34%}.pull-l-3{right:25.5%}.pull-l-2{right:17%}.pull-l-1{right:8.5%}.no-gutter .pull-l-11{right:91.6667%}.no-gutter .pull-l-10{right:83.3333%}.no-gutter .pull-l-9{right:75%}.no-gutter .pull-l-8{right:66.6667%}.no-gutter .pull-l-7{right:58.3333%}.no-gutter .pull-l-6{right:50%}.no-gutter .pull-l-5{right:41.6667%}.no-gutter .pull-l-4{right:33.3333%}.no-gutter .pull-l-3{right:25%}.no-gutter .pull-l-2{right:16.6667%}.no-gutter .pull-l-1{right:8.3333%}}ul,ol{margin:1em 0;padding-left:2.5em}ul ul,ol ol{margin:0}ul.no-bullets,ol.no-bullets{padding-left:0}ul.no-bullets>li,ol.no-bullets>li{list-style:none}ul.colored,ol.colored{padding-left:40px}ul.colored>li,ol.colored>li{list-style-type:none;position:relative}ul.colored>li:before,ol.colored>li:before{content:"●";color:#00a9ec;font-weight:bold;font-size:1em;text-align:right;position:absolute;left:-1em;top:0;text-decoration:none;-webkit-margin-start:-.25em}ol.colored{counter-reset:foo}ol.colored>li{counter-increment:foo}ol.colored>li:before{content:counter(foo)".";left:-3.125em;font-weight:normal;width:2.5em;-webkit-margin-start:0}dt,dd{min-height:1.4em}@media(min-width:48em){.dl-horizontal>dt{float:left;clear:left;width:150px;overflow:hidden;text-align:right;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal>dd{margin-left:166px}}table{max-width:100%;width:100%;margin:1em 0}table th,table td{padding:.5em;text-align:left;vertical-align:top}.table-bordered{border-collapse:separate;border:solid 1px silver;border-left-width:0}.table-bordered th,.table-bordered td{border-top:1px solid silver;border-left:1px solid silver}.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top-width:0}.table-striped tbody>tr:nth-child(odd)>td,.table-striped tbody>tr:nth-child(odd)>th,.table-row-alt>td,.table-row-alt>th{background-color:#e7e7e7}.table-scrollable{width:100%;margin:1em 0;overflow:auto;overflow-y:hidden}.table-scrollable table{margin:0}@media(max-width:47.99em){[data-table-list]{opacity:0}.table-list{display:block}.table-list thead,.table-list tfoot,.table-list th{display:none}.table-list tbody,.table-list tr,.table-list td,.table-list th[scope="row"]{display:block}.table-list tr:before,.table-list tr:after{content:"";display:table}.table-list tr:after{clear:both}.table-list td,.table-list th[scope="row"]{float:left;width:100%}.table-list td:before,.table-list td:after,.table-list th[scope="row"]:before,.table-list th[scope="row"]:after{content:attr(data-thead);font-weight:bold;display:block;padding:.5em 0}.table-list td:after,.table-list th[scope="row"]:after{content:attr(data-tfoot)}.table-list.table-bordered{border-top-style:none}}.alert{background-color:#fcf8e3;border:1px solid #f2e187;color:#9c8611;margin:1em 0;padding:0 2.17em 0 1em}.alert:before,.alert:after{content:"";display:table}.alert:after{clear:both}.alert-heading{color:inherit}.alert .close{color:inherit;float:right;font-size:1.17em;font-weight:bold;line-height:1em;position:relative;right:-1.17em;text-decoration:none;top:.33em}.alert .close:hover{text-decoration:underline}.alert-success{background-color:#c5e6c5;border:1px solid #a2d6a2;color:#347834}.alert-warning{background-color:#fee7c7;border:1px solid #fcd296;color:#c17305}.alert-error{background-color:#f4cac8;border:1px solid #eba19e;color:#da4f49}.alert-info{background-color:#d9edf7;border:1px solid #85c5e5;color:#247fad}audio,canvas,img,video{vertical-align:middle}img{max-width:100%;height:auto}a img{border:none}.media{position:relative;padding-top:30px;padding-bottom:56.25%;height:0;height:auto;max-width:100%;margin-bottom:1em;overflow:hidden}.media-scroll{overflow-y:auto;-webkit-overflow-scrolling:touch}.media.widescreen{padding-bottom:45%}.media.vimeo{padding-top:0}.media.instagram{height:auto;max-width:none;padding-bottom:120%}.media.vine{height:auto;max-width:none;padding-bottom:100%}.media.video{padding-top:0}.media iframe,.media object,.media embed,.media video{position:absolute;top:0;left:0;width:100%;height:100%;padding:0;margin:0;border:0;outline:none;background-color:transparent}.media img{position:absolute;top:-1000000%;right:-1000000%;bottom:-1000000%;left:-1000000%;margin:auto;width:100%}.form{margin:1em 0}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;font-size:1.17em;margin-bottom:1em}label[for]{cursor:pointer}select,textarea,input,.no-edit{font-family:inherit;padding:.25em;background-color:#fff;border-radius:0;border:1px solid silver;width:100%;display:block;margin-bottom:1em}label,.input-group{display:block;margin-bottom:1em}input[type="color"]{max-width:105px}input[type="range"]{padding:.25em 0;padding:.25em \9;background-color:#fff \9;border:1px solid transparent;border:1px solid silver \9}x::-ms-reveal,input[type="range"]{border:1px solid transparent;padding:.25em 0}select,textarea,input[type="text"],input[type="search"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="week"],input[type="month"],input[type="time"],input[type="number"],input[type="password"],input[type="tel"],input[type="email"],input[type="url"],input[type="color"]{-webkit-appearance:none}@media(-webkit-min-device-pixel-ratio:0){select{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMC4wMzEiIGhlaWdodD0iMTAuNSI+PHBvbHlnb24gZmlsbD0iIzIyMiIgcG9pbnRzPSIxMSwwIDUuNSw5IDAsMCIvPjwvc3ZnPg==);background-repeat:no-repeat;background-position:right center}input[type="datetime-local"],input[type="date"],input[type="week"],input[type="month"],input[type="time"]{min-height:2em}input[type="color"]{min-height:1.8em}input[type="color"]{padding:0}input[type="color"]::-webkit-color-swatch-wrapper{padding:0}input[type="color"]::-webkit-color-swatch{border:none}}input[type="radio"],input[type="checkbox"]{padding:0;display:block;margin:.1875em .1875em .1875em 0;width:auto;min-height:1em;min-width:1em;line-height:inherit}input[type="radio"]{border-color:transparent \9;border-radius:1em}textarea{height:auto;resize:both;min-height:5.25em}textarea.horizontal{resize:horizontal}textarea.vertical{resize:vertical}textarea.no-resize{resize:none}select option{height:100%}textarea:focus,input:focus,select:focus,.no-edit:focus{border:1px solid #00a9ec;outline:0}input[type="range"]:focus,input[type="checkbox"]:focus,input[type="radio"]:focus,input[type="checkbox"]:checked{border-color:transparent;outline:1px solid #00a9ec;outline-offset:-1px}input[type="checkbox"]:focus,input[type="checkbox"]:checked{border-color:silver}.no-edit,[readonly]{cursor:not-allowed;border-color:#ebebeb}input[disabled],select[disabled],textarea[disabled]{cursor:not-allowed!important;background-color:#ebebeb;border-color:silver;color:silver;outline:0!important;opacity:1}label>input,label>select{display:inline-block}::-webkit-input-placeholder{color:silver}:-moz-placeholder{color:silver}::-moz-placeholder{color:silver}:-ms-input-placeholder{color:silver}.full-width{max-width:100%!important;width:100%!important}input.inline-block,select.inline-block{width:auto}.form-actions{margin:1em 0;padding:1em 0}.form-no-grid select,.form-no-grid textarea,.form-no-grid input,.form-no-grid .no-edit{max-width:210px}.form-no-grid input[type="color"]{max-width:105px}.form-no-grid textarea{width:auto;min-width:210px;max-width:100%}@media(min-width:30em){.form-horizontal label{float:left;clear:left;width:160px;overflow:hidden;text-align:right;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;position:relative;z-index:1}.form-horizontal input,.form-horizontal select,.form-horizontal textarea,.form-horizontal .no-edit,.form-horizontal .input-group{margin-left:176px;margin-bottom:1em}.form-horizontal .input-group *{margin-left:0}.form-horizontal .form-actions{padding-left:176px}.form-horizontal .form-actions input{margin-left:0}}button,[type="submit"],[type="button"],[type="reset"],[role="button"]{-webkit-appearance:none;border-radius:0;display:inline-block;padding:.5em 1em;margin-bottom:0;line-height:normal;text-decoration:none!important;font-size:1em;border:solid 1px silver;background-color:#dadada;color:#222;cursor:pointer;position:relative}[type="submit"],[type="reset"],[type="button"],.form-no-grid [type="submit"],.form-no-grid [type="reset"],.form-no-grid [type="button"]{width:auto;max-width:none}button:hover,[type="submit"]:hover,[type="button"]:hover,[type="reset"]:hover,[role="button"]:hover{color:#222;background-color:#cdcdcd}button:focus,[type="submit"]:focus,[type="button"]:focus,[type="reset"]:focus,[role="button"]:focus{color:#222;outline:1px solid #00a9ec;outline-offset:-1px}button:active,[type="submit"]:active,[type="button"]:active,[type="reset"]:active,[role="button"]:active{color:#222;background-color:#e7e7e7;outline:none}button[disabled],[type="submit"][disabled],[type="button"][disabled],[type="reset"][disabled],[role="button"].disabled{color:#5d5d5d;background-color:#e7e7e7;cursor:not-allowed;opacity:1}button.btn-inline,[type="submit"].btn-inline,[type="button"].btn-inline,[type="reset"].btn-inline,[role="button"].btn-inline{margin-left:-.27em;padding:.25em 1em}.btn-group:before,.btn-group:after{content:"";display:table}.btn-group:after{clear:both}.btn-group{position:relative;display:inline-block;white-space:nowrap;vertical-align:middle}.btn-group>*{float:left}pre,code,samp,kbd{background-color:#f7f7f9;border:1px solid silver;color:#ad0d36;padding:.5em}code,samp,kbd{padding:.067em .25em}kbd{white-space:nowrap}pre code,pre samp{border:none;padding:0}pre{overflow-x:auto}pre code{-ms-word-wrap:normal;word-wrap:normal;white-space:pre}.pre-scrollable{max-height:20em;overflow-y:scroll}.accordion{border:solid 1px silver;margin-bottom:.125em}.accordion-head{display:block;padding:.5em;cursor:pointer;border-bottom:solid 1px silver}.accordion-head a{outline:none}.accordion-body{padding:0 .5em}.accordion-body.collapse{margin-top:-1px}.trans,.collapse{-moz-transition:height .5s ease,width .5s ease;-o-transition:height .5s ease,width .5s ease;-webkit-transition:height .5s ease,width .5s ease;transition:height .5s ease,width .5s ease}.expand,.collapse{position:relative;display:block;height:auto;width:auto;overflow:hidden;margin-top:0}.collapse{height:0}.collapse.width{height:auto;width:0}.autosize,[data-autosize]{overflow:hidden;-webkit-transition:height .3s linear;-moz-transition:height .3s linear;-o-transition:height .3s linear;transition:height .3s linear}.carousel{position:relative;overflow:hidden;margin-bottom:1em}.carousel>figure{display:none;position:relative;-webkit-transition:.7s ease-in-out -webkit-transform,.7s ease-in-out left;-moz-transition:.7s ease-in-out -moz-transform,.7s ease-in-out left;-o-transition:.7s ease-in-out -o-transform,.7s ease-in-out left;transition:.7s ease-in-out transform,.7s ease-in-out left}.carousel>figure>img{display:block;width:100%}.carousel .no-transition{-moz-transition-duration:0!important;-o-transition-duration:0!important;-webkit-transition-duration:0!important;transition-duration:0!important}.carousel .carousel-active,.carousel .next,.carousel .prev,.carousel .swipe{display:block}.carousel .carousel-active,.carousel .next.left,.carousel .prev.right{-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);-o-transform:translateX(0);transform:translateX(0);left:0\9}.carousel .carousel-active{position:relative!important;z-index:1}.carousel .next,.carousel .prev,.carousel .swipe{position:absolute;top:0;z-index:0;width:100%}.carousel .next,.carousel .carousel-active.right{-webkit-transform:translateX(100%);-moz-transform:translateX(100%);-ms-transform:translateX(100%);-o-transform:translateX(100%);transform:translateX(100%);left:100%\9}.carousel .prev,.carousel .carousel-active.left{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);-ms-transform:translateX(-100%);-o-transform:translateX(-100%);transform:translateX(-100%);left:-100%\9}x::-ms-reveal,.carousel .next,.carousel .prev,.carousel .carousel-active.left,.carousel .carousel-active.right{left:0}.carousel-control,.carousel-control:visited{position:absolute;display:block;width:2em;top:40%;left:0;padding:.5em;margin-top:-1em;font-size:2em;font-weight:bold;text-align:center;color:#fff;text-decoration:none;z-index:3}.carousel-control.right{left:auto;right:0}.carousel-control,.carousel-control:visited,.carousel-control:focus{outline:0}.carousel-control:hover{text-decoration:underline}.carousel>figure>figcaption{padding:1px 1em;background:#111;color:#fff}.carousel-fade>figure,.carousel[data-carousel-mode="fade"]>figure{-webkit-transition:opacity .7s ease-in-out;-moz-transition:opacity .7s ease-in-out;-o-transition:opacity .7s ease-in-out;transition:opacity .7s ease-in-out;position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;-moz-opacity:0;opacity:0}.carousel-fade .carousel-active,.carousel[data-carousel-mode="fade"] .carousel-active{-moz-opacity:1;opacity:1}.carousel-fade .carousel-active.left,.carousel-fade .carousel-active.right,.carousel[data-carousel-mode="fade"] .carousel-active.left,.carousel[data-carousel-mode="fade"] .carousel-active.right{-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);-o-transform:translateX(0);transform:translateX(0);left:0\9;-moz-opacity:0;opacity:0;z-index:2}.carousel-fade>figure.next,.carousel-fade>figure.prev,.carousel[data-carousel-mode="fade"]>figure.next,.carousel[data-carousel-mode="fade"]>figure.prev{-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);-o-transform:translateX(0);transform:translateX(0);left:0\9;z-index:1;-moz-opacity:1;opacity:1}.carousel-fade>figure .carousel-active,.carousel[data-carousel-mode="fade"]>figure .carousel-active{position:relative}.carousel[data-carousel-mode="fade"] .carousel-control,.carousel-fade .carousel-control:visited{z-index:3}.carousel>ol{position:absolute;top:1em;left:0;right:0;z-index:3;margin:0;padding:0;text-align:center;list-style:none}.carousel>ol li{display:inline-block;width:1em;height:1em;margin:1px;text-indent:-9999px;cursor:pointer;border:2px solid #111;background-color:transparent}.carousel>ol .active{background-color:#fff}[data-tabs]{position:relative}[data-tabs]>ul{list-style:none;border-bottom:1px solid silver;padding:0;margin-top:0}[data-tabs]>ul:before,[data-tabs]>ul:after{content:"";display:table}[data-tabs]>ul:after{clear:both}[data-tabs]>ul>li{float:left;margin-bottom:-1px}[data-tabs]>ul>li>a{text-decoration:none;display:block;cursor:pointer;padding:0 1em;line-height:2em;border:1px solid transparent;margin-right:.2em;outline:none}[data-tabs]>ul>li>a:hover{background:#ebebeb;border-color:silver}[data-tabs]>ul>li.tab-active>a,[data-tabs]>ul>li.tab-active>a:hover{color:#454545;cursor:default;background:#fff;border:1px solid silver;border-bottom-color:transparent}[data-tabs]>*{display:none}[data-tabs]>ul,[data-tabs]>*.tab-pane-active{display:block}.lightbox-on,.lightbox-on body{height:100%;overflow:hidden}.lightbox-overlay{position:fixed;overflow:hidden;z-index:2147483647;left:0;top:0;right:0;bottom:0;height:100%;width:100%;text-align:center;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQI12NgYGDYDAAAuAC0TCbBxgAAAABJRU5ErkJggg==');background-repeat:repeat;-webkit-overflow-scrolling:touch}.lightbox-header,.lightbox-footer{padding:1px 1em;margin:-1px 0;width:100%;background-color:#111;color:#fff;position:fixed;top:0;left:0;right:0;z-index:1;overflow:hidden}.lightbox-header{padding-right:4.555em}.lightbox-footer{top:auto;bottom:0}.lightbox-overlay:before{content:"";display:inline-block;height:100%;vertical-align:middle;width:1px;margin-right:-1px;margin-left:-.25em}.lightbox-overlay.lightbox-loader:after{position:absolute;width:28px;height:28px;border-radius:100%;margin:auto;top:0;right:0;bottom:0;left:0;background-image:url(data:image/gif;base64,R0lGODlhHAAcAPMAAEpKSldXV2VlZXl5eYmJiZiYmKamprW1tcjIyNnZ2enp6fj4+AAAAAAAAAAAAAAAACH5BAAFAAAAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAHAAcAAAE5hDISau9OGttUKFGcmxWgJxUogZkdZyDNKhIWxHnB4SJrgkHwkRwqgFUCcEkFHOdDCzACzGYJYxEhSJhKRQPMZyH9yFotSPLYOoBGgRABPCsEGLiMItZmyR5D1EUAQkKBjYAAoEVAk0XBQeQkT4XCQuWl1xSkZsal54LEo+bB5MWlZ+ZF4kYAYobBAYFrjIDShsBBQa6toJVVbMTA7q6BLjFAQPFjL68FLDDSgMFBVUEBErIzF26shIE04nWdgC+jUPUE7jT3taBjMAV0ujk1s023wW2AeKHEuqT/PqRmyeDgDmB/SIAACH5BAAFAAAALAAAAAAcABwAg0pKSlhYWGdnZ3Z2doaGhpWVlaenp7i4uMjIyNbW1uPj4/X19QAAAAAAAAAAAAAAAATsEMhJq704a21QoUZibFaAnFSiBmR1nIM0qEdbEecHhImuCQfCxIQCIFSCSSERcx0OBhbghRDMEjWASaFIWArPZwznWfYAhARXka0MwocC0CAAVg1rhRAjMISbFARrVSRgB1IUAWojNgKIFQFJGAUGlZY+FwgLm5wIEpagjBicpAsSlKGYFpqlnnyPFFY2aAYFsFqbbRkBqHRfnAqSFwO9AwEEBAEBA8kHpKoSBJdJxAUDAshJBKSuFKjJ0QW2xwRNAgmbChYC1kPiOsjgnwqAGeztAMwEwrME4pLk6rXgJS4QslkTiNXDJhAhwggAIfkEAAUAAAAsAAAAABwAHACDSk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2trp6en39/cAAAAAAAAAAAAAAAAE6xDISau9OGt9kqGHcmxWkJyUogZkhZyDNKhIWxXnB4RKQQoIn0RwSkhUCsHEoIi5EIgDC/BKDGaKGoC4WCgsBig0hksUmD0AQdFdjCwEcRB4EAg69/ZCeLmLnRQEbQlKGwVQUxQBbFI2AokVAoBgclA6GFeZmRKVYhqamhJhlZcXoJsYjxgBkBsEBwatEgQEk6kGB7m2W7S0shMDubkEAQXEAQQFAQO9BIU3wnUAAwYGVwUFMQLNu7gHyhJnBnbYBBLLvRYCBubn1TrY4EPEJNTsMtjPNgDihQLl+9xVoxDvlwYC94BlC8iQQgQAOw==);background-position:center center;background-repeat:no-repeat;content:" ";z-index:3}.lightbox{display:inline-block;vertical-align:middle;max-height:100%;max-width:100%;margin:0 auto;overflow:auto}.lightbox.lightbox-ajax{width:100%;max-width:1140px}.lightbox.lightbox-iframe{width:100%;max-width:900px;overflow:hidden}.lightbox.lightbox-image{overflow:hidden}.lightbox-content{background-color:#fff;padding:1em;text-align:left;max-height:100%;overflow:auto}.lightbox>.media{background-color:#111}.lightbox>img{max-height:100%;max-width:none\9;width:auto\9}.lightbox>img:nth-of-type(1n){max-width:100%\9}.lightbox>.media{margin:0 auto}.lightbox-close{position:fixed;right:0;top:0;z-index:2;display:inline-block;padding:.83em;color:#fff;font-size:1.5em;font-weight:bold;text-decoration:none}.lightbox-close:hover{text-decoration:underline}.lightbox-direction,.lightbox-direction:visited{position:fixed;display:block;width:2em;top:49%;left:0;padding:.5em;font-size:2em;font-weight:bold;text-align:center;color:#fff;text-decoration:none;z-index:2}.lightbox-direction.right{left:auto;right:0}.lightbox-direction:hover{text-decoration:underline}.ir{background-color:transparent;border:0;overflow:hidden}.ir:before{content:"";display:block;width:0;height:150%}.hidden{display:none!important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}.push-left{float:left!important}.push-right{float:right!important}.block{display:block!important}.inline-block{display:inline-block!important}.inline{display:inline!important}.fade-out{-moz-opacity:0!important;opacity:0!important}.fade-in{-moz-opacity:1!important;opacity:1!important}.fade-out,.fade-in{-moz-transition:opacity .3s linear 0s;-o-transition:opacity .3s linear 0s;-webkit-transition:opacity .3s linear 0s;transition:opacity .3s linear 0s}.hidden-xs,.visible-s,.visible-m,.visible-l{display:none!important}@media(min-width:48em)and (max-width:61.99em){.hidden-xs,.visible-s{display:block!important}table.hidden-xs,table.visible-s{display:table!important}thead.hidden-xs,thead.visible-s{display:table-header-group!important}tfoot.hidden-xs,tfoot.visible-s{display:table-footer-group!important}tr.hidden-xs,tr.visible-s{display:table-row!important}th.hidden-xs,th.visible-s,td.hidden-xs,td.visible-s{display:table-cell!important}col.hidden-xs,col.visible-s{display:table-column!important}caption.hidden-xs,caption.visible-s{display:table-caption!important}.visible-xs,.hidden-s{display:none!important}}@media(min-width:62em)and (max-width:74.99em){.hidden-xs,.visible-m{display:block!important}table.hidden-xs,table.visible-m{display:table!important}thead.hidden-xs,thead.visible-m{display:table-header-group!important}tfoot.hidden-xs,tfoot.visible-m{display:table-footer-group!important}tr.hidden-xs,tr.visible-m{display:table-row!important}th.hidden-xs,th.visible-m,td.hidden-xs,td.visible-m{display:table-cell!important}col.hidden-xs,col.visible-m{display:table-column!important}caption.hidden-xs,caption.visible-m{display:table-caption!important}.visible-xs,.hidden-m{display:none!important}}@media(min-width:75em){.hidden-xs,.visible-l{display:block!important}table.hidden-xs,table.visible-l{display:table!important}thead.hidden-xs,thead.visible-l{display:table-header-group!important}tfoot.hidden-xs,tfoot.visible-l{display:table-footer-group!important}tr.hidden-xs,tr.visible-l{display:table-row!important}th.hidden-xs,th.visible-l,td.hidden-xs,td.visible-l{display:table-cell!important}col.hidden-xs,col.visible-l{display:table-column!important}caption.hidden-xs,caption.visible-l{display:table-caption!important}.visible-xs,.hidden-l{display:none!important}}@media print{*{background:transparent!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}p,h2,h3{orphans:3;widows:3}} \ No newline at end of file +article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a{background:transparent}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"“" "”" "‘" "’"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}*,*:before,*:after{-webkit-box-sizing:border-box!important;-moz-box-sizing:border-box!important;-ms-box-sizing:border-box!important;box-sizing:border-box!important}@-ms-viewport{width:device-width;}html{-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;font-size:16px;line-height:1.4;font-family:Arial,sans-serif}html,button,input,select,textarea{color:#222}h1,h2,h3,h4,h5,h6{text-rendering:optimizeLegibility;page-break-after:avoid}::-moz-selection{background:#b3d4fc;text-shadow:none}::selection{background:#b3d4fc;text-shadow:none}hr{display:block;height:1px;border:0;border-top:1px solid silver;margin:1em 0;padding:0}abbr{cursor:help}button,[type="submit"],[type="button"],[type="reset"],[role="button"]{-ms-touch-action:none;touch-action:none}.container{margin:0 auto;width:95%;max-width:1140px}.fixed .container,.container.fixed{width:1140px}.row:before,.row:after{content:"";display:table}.row:after{clear:both}[class*="col-"]{position:relative;display:block;min-height:1px;float:left;width:100%}.row [class*="col-"]+[class*="col-"]{margin-left:2%}.row.no-gutter>[class*="col-"]+[class*="col-"],.row [class*="col-"]+[class*="col-s"],.row [class*="col-"]+[class*="col-m"],.row [class*="col-"]+[class*="col-l"]{margin-left:0}.row.no-gutter.pad-gutter [class*="col-"]{padding:0 1%}@media(max-width:47.99em){.row [class*="col-"].reset-xs-only{margin-left:0!important;clear:both}.row [class*="col-"][class*="push-xs-right-only"]{float:right}}.row [class*="col-"].reset-xs{margin-left:0!important;clear:both}.row [class*="col-"][class*="push-xs-right"]{float:right}.col-xs-12{width:100%;margin-left:0}.col-xs-11{width:91.5%}.col-xs-10{width:83%}.col-xs-9{width:74.5%}.col-xs-8{width:66%}.col-xs-7{width:57.5%}.col-xs-6{width:49%}.col-xs-5{width:40.5%}.col-xs-4{width:32%}.col-xs-3{width:23.5%}.col-xs-2{width:15%}.col-xs-1{width:6.5%}.no-gutter .col-xs-11{width:91.6667%}.no-gutter .col-xs-10{width:83.3333%}.no-gutter .col-xs-9{width:75%}.no-gutter .col-xs-8{width:66.6667%}.no-gutter .col-xs-7{width:58.3333%}.no-gutter .col-xs-6{width:50%}.no-gutter .col-xs-5{width:41.6667%}.no-gutter .col-xs-4{width:33.3333%}.no-gutter .col-xs-3{width:25%}.no-gutter .col-xs-2{width:16.6667%}.no-gutter .col-xs-1{width:8.3333%}.offset-xs-11{margin-left:93.5%}.row [class*="col-"]+.offset-xs-11{margin-left:95.5%}.offset-xs-10{margin-left:85%}.row [class*="col-"]+.offset-xs-10{margin-left:87%}.offset-xs-9{margin-left:76.5%}.row [class*="col-"]+.offset-xs-9{margin-left:78.5%}.offset-xs-8{margin-left:68%}.row [class*="col-"]+.offset-xs-8{margin-left:70%}.offset-xs-7{margin-left:59.5%}.row [class*="col-"]+.offset-xs-7{margin-left:61.5%}.offset-xs-6{margin-left:51%}.row [class*="col-"]+.offset-xs-6{margin-left:53%}.offset-xs-5{margin-left:42.5%}.row [class*="col-"]+.offset-xs-5{margin-left:44.5%}.offset-xs-4{margin-left:34%}.row [class*="col-"]+.offset-xs-4{margin-left:36%}.offset-xs-3{margin-left:25.5%}.row [class*="col-"]+.offset-xs-3{margin-left:27.5%}.offset-xs-2{margin-left:17%}.row [class*="col-"]+.offset-xs-2{margin-left:19%}.offset-xs-1{margin-left:8.5%}.row [class*="col-"]+.offset-xs-1{margin-left:10.5%}.no-gutter .offset-xs-11,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-11{margin-left:91.6667%}.no-gutter .offset-xs-10,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-10{margin-left:83.3333%}.no-gutter .offset-xs-9,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-9{margin-left:75%}.no-gutter .offset-xs-8,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-8{margin-left:66.6667%}.no-gutter .offset-xs-7,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-7{margin-left:58.3333%}.no-gutter .offset-xs-6,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-6{margin-left:50%}.no-gutter .offset-xs-5,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-5{margin-left:41.6667%}.no-gutter .offset-xs-4,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-4{margin-left:33.3333%}.no-gutter .offset-xs-3,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-3{margin-left:25%}.no-gutter .offset-xs-2,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-2{margin-left:16.6667%}.no-gutter .offset-xs-1,.no-gutter [class*="col-"]+[class*="col-"].offset-xs-1{margin-left:8.3333%}.push-xs-11{left:93.5%}.push-xs-10{left:85%}.push-xs-9{left:76.5%}.push-xs-8{left:68%}.push-xs-7{left:59.5%}.push-xs-6{left:51%}.push-xs-5{left:42.5%}.push-xs-4{left:34%}.push-xs-3{left:25.5%}.push-xs-2{left:17%}.push-xs-1{left:8.5%}.no-gutter .push-xs-11{left:91.6667%}.no-gutter .push-xs-10{left:83.3333%}.no-gutter .push-xs-9{left:75%}.no-gutter .push-xs-8{left:66.6667%}.no-gutter .push-xs-7{left:58.3333%}.no-gutter .push-xs-6{left:50%}.no-gutter .push-xs-5{left:41.6667%}.no-gutter .push-xs-4{left:33.3333%}.no-gutter .push-xs-3{left:25%}.no-gutter .push-xs-2{left:16.6667%}.no-gutter .push-xs-1{left:8.3333%}.pull-xs-11{right:93.5%}.pull-xs-10{right:85%}.pull-xs-9{right:76.5%}.pull-xs-8{right:68%}.pull-xs-7{right:59.5%}.pull-xs-6{right:51%}.pull-xs-5{right:42.5%}.pull-xs-4{right:34%}.pull-xs-3{right:25.5%}.pull-xs-2{right:17%}.pull-xs-1{right:8.5%}.no-gutter .pull-xs-11{right:91.6667%}.no-gutter .pull-xs-10{right:83.3333%}.no-gutter .pull-xs-9{right:75%}.no-gutter .pull-xs-8{right:66.6667%}.no-gutter .pull-xs-7{right:58.3333%}.no-gutter .pull-xs-6{right:50%}.no-gutter .pull-xs-5{right:41.6667%}.no-gutter .pull-xs-4{right:33.3333%}.no-gutter .pull-xs-3{right:25%}.no-gutter .pull-xs-2{right:16.6667%}.no-gutter .pull-xs-1{right:8.3333%}@media(min-width:48em) and (max-width:61.99em){.row [class*="col-"].reset-s-only{margin-left:0!important;clear:both}.row [class*="col-"][class*="push-s-right-only"]{float:right}}@media(min-width:48em){.row [class*="col-"].reset-s{margin-left:0!important;clear:both}.row [class*="col-"][class*="push-s-right"]{float:right}.row [class*="col-"]+[class*="col-s"]{margin-left:2%}.col-s-12{width:100%;margin-left:0}.col-s-11{width:91.5%}.col-s-10{width:83%}.col-s-9{width:74.5%}.col-s-8{width:66%}.col-s-7{width:57.5%}.col-s-6{width:49%}.col-s-5{width:40.5%}.col-s-4{width:32%}.col-s-3{width:23.5%}.col-s-2{width:15%}.col-s-1{width:6.5%}.no-gutter .col-s-11{width:91.6667%}.no-gutter .col-s-10{width:83.3333%}.no-gutter .col-s-9{width:75%}.no-gutter .col-s-8{width:66.6667%}.no-gutter .col-s-7{width:58.3333%}.no-gutter .col-s-6{width:50%}.no-gutter .col-s-5{width:41.6667%}.no-gutter .col-s-4{width:33.3333%}.no-gutter .col-s-3{width:25%}.no-gutter .col-s-2{width:16.6667%}.no-gutter .col-s-1{width:8.3333%}.offset-s-11{margin-left:93.5%}.row [class*="col-"]+.offset-s-11{margin-left:95.5%}.offset-s-10{margin-left:85%}.row [class*="col-"]+.offset-s-10{margin-left:87%}.offset-s-9{margin-left:76.5%}.row [class*="col-"]+.offset-s-9{margin-left:78.5%}.offset-s-8{margin-left:68%}.row [class*="col-"]+.offset-s-8{margin-left:70%}.offset-s-7{margin-left:59.5%}.row [class*="col-"]+.offset-s-7{margin-left:61.5%}.offset-s-6{margin-left:51%}.row [class*="col-"]+.offset-s-6{margin-left:53%}.offset-s-5{margin-left:42.5%}.row [class*="col-"]+.offset-s-5{margin-left:44.5%}.offset-s-4{margin-left:34%}.row [class*="col-"]+.offset-s-4{margin-left:36%}.offset-s-3{margin-left:25.5%}.row [class*="col-"]+.offset-s-3{margin-left:27.5%}.offset-s-2{margin-left:17%}.row [class*="col-"]+.offset-s-2{margin-left:19%}.offset-s-1{margin-left:8.5%}.row [class*="col-"]+.offset-s-1{margin-left:10.5%}.no-gutter .offset-s-11,.no-gutter [class*="col-"]+[class*="col-"].offset-s-11{margin-left:91.6667%}.no-gutter .offset-s-10,.no-gutter [class*="col-"]+[class*="col-"].offset-s-10{margin-left:83.3333%}.no-gutter .offset-s-9,.no-gutter [class*="col-"]+[class*="col-"].offset-s-9{margin-left:75%}.no-gutter .offset-s-8,.no-gutter [class*="col-"]+[class*="col-"].offset-s-8{margin-left:66.6667%}.no-gutter .offset-s-7,.no-gutter [class*="col-"]+[class*="col-"].offset-s-7{margin-left:58.3333%}.no-gutter .offset-s-6,.no-gutter [class*="col-"]+[class*="col-"].offset-s-6{margin-left:50%}.no-gutter .offset-s-5,.no-gutter [class*="col-"]+[class*="col-"].offset-s-5{margin-left:41.6667%}.no-gutter .offset-s-4,.no-gutter [class*="col-"]+[class*="col-"].offset-s-4{margin-left:33.3333%}.no-gutter .offset-s-3,.no-gutter [class*="col-"]+[class*="col-"].offset-s-3{margin-left:25%}.no-gutter .offset-s-2,.no-gutter [class*="col-"]+[class*="col-"].offset-s-2{margin-left:16.6667%}.no-gutter .offset-s-1,.no-gutter [class*="col-"]+[class*="col-"].offset-s-1{margin-left:8.3333%}.push-s-11{left:93.5%}.push-s-10{left:85%}.push-s-9{left:76.5%}.push-s-8{left:68%}.push-s-7{left:59.5%}.push-s-6{left:51%}.push-s-5{left:42.5%}.push-s-4{left:34%}.push-s-3{left:25.5%}.push-s-2{left:17%}.push-s-1{left:8.5%}.no-gutter .push-s-11{left:91.6667%}.no-gutter .push-s-10{left:83.3333%}.no-gutter .push-s-9{left:75%}.no-gutter .push-s-8{left:66.6667%}.no-gutter .push-s-7{left:58.3333%}.no-gutter .push-s-6{left:50%}.no-gutter .push-s-5{left:41.6667%}.no-gutter .push-s-4{left:33.3333%}.no-gutter .push-s-3{left:25%}.no-gutter .push-s-2{left:16.6667%}.no-gutter .push-s-1{left:8.3333%}.pull-s-11{right:93.5%}.pull-s-10{right:85%}.pull-s-9{right:76.5%}.pull-s-8{right:68%}.pull-s-7{right:59.5%}.pull-s-6{right:51%}.pull-s-5{right:42.5%}.pull-s-4{right:34%}.pull-s-3{right:25.5%}.pull-s-2{right:17%}.pull-s-1{right:8.5%}.no-gutter .pull-s-11{right:91.6667%}.no-gutter .pull-s-10{right:83.3333%}.no-gutter .pull-s-9{right:75%}.no-gutter .pull-s-8{right:66.6667%}.no-gutter .pull-s-7{right:58.3333%}.no-gutter .pull-s-6{right:50%}.no-gutter .pull-s-5{right:41.6667%}.no-gutter .pull-s-4{right:33.3333%}.no-gutter .pull-s-3{right:25%}.no-gutter .pull-s-2{right:16.6667%}.no-gutter .pull-s-1{right:8.3333%}}@media(min-width:62em) and (max-width:74.99em){.row [class*="col-"].reset-m-only{margin-left:0!important;clear:both}.row [class*="col-"][class*="push-m-right-only"]{float:right}}@media(min-width:62em){.row [class*="col-"].reset-m{margin-left:0!important;clear:both}.row [class*="col-"][class*="push-m-right"]{float:right}.row [class*="col-"]+[class*="col-m"]{margin-left:2%}.col-m-12{width:100%;margin-left:0}.col-m-11{width:91.5%}.col-m-10{width:83%}.col-m-9{width:74.5%}.col-m-8{width:66%}.col-m-7{width:57.5%}.col-m-6{width:49%}.col-m-5{width:40.5%}.col-m-4{width:32%}.col-m-3{width:23.5%}.col-m-2{width:15%}.col-m-1{width:6.5%}.no-gutter .col-m-11{width:91.6667%}.no-gutter .col-m-10{width:83.3333%}.no-gutter .col-m-9{width:75%}.no-gutter .col-m-8{width:66.6667%}.no-gutter .col-m-7{width:58.3333%}.no-gutter .col-m-6{width:50%}.no-gutter .col-m-5{width:41.6667%}.no-gutter .col-m-4{width:33.3333%}.no-gutter .col-m-3{width:25%}.no-gutter .col-m-2{width:16.6667%}.no-gutter .col-m-1{width:8.3333%}.offset-m-11{margin-left:93.5%}.row [class*="col-"]+.offset-m-11{margin-left:95.5%}.offset-m-10{margin-left:85%}.row [class*="col-"]+.offset-m-10{margin-left:87%}.offset-m-9{margin-left:76.5%}.row [class*="col-"]+.offset-m-9{margin-left:78.5%}.offset-m-8{margin-left:68%}.row [class*="col-"]+.offset-m-8{margin-left:70%}.offset-m-7{margin-left:59.5%}.row [class*="col-"]+.offset-m-7{margin-left:61.5%}.offset-m-6{margin-left:51%}.row [class*="col-"]+.offset-m-6{margin-left:53%}.offset-m-5{margin-left:42.5%}.row [class*="col-"]+.offset-m-5{margin-left:44.5%}.offset-m-4{margin-left:34%}.row [class*="col-"]+.offset-m-4{margin-left:36%}.offset-m-3{margin-left:25.5%}.row [class*="col-"]+.offset-m-3{margin-left:27.5%}.offset-m-2{margin-left:17%}.row [class*="col-"]+.offset-m-2{margin-left:19%}.offset-m-1{margin-left:8.5%}.row [class*="col-"]+.offset-m-1{margin-left:10.5%}.no-gutter .offset-m-11,.no-gutter [class*="col-"]+[class*="col-"].offset-m-11{margin-left:91.6667%}.no-gutter .offset-m-10,.no-gutter [class*="col-"]+[class*="col-"].offset-m-10{margin-left:83.3333%}.no-gutter .offset-m-9,.no-gutter [class*="col-"]+[class*="col-"].offset-m-9{margin-left:75%}.no-gutter .offset-m-8,.no-gutter [class*="col-"]+[class*="col-"].offset-m-8{margin-left:66.6667%}.no-gutter .offset-m-7,.no-gutter [class*="col-"]+[class*="col-"].offset-m-7{margin-left:58.3333%}.no-gutter .offset-m-6,.no-gutter [class*="col-"]+[class*="col-"].offset-m-6{margin-left:50%}.no-gutter .offset-m-5,.no-gutter [class*="col-"]+[class*="col-"].offset-m-5{margin-left:41.6667%}.no-gutter .offset-m-4,.no-gutter [class*="col-"]+[class*="col-"].offset-m-4{margin-left:33.3333%}.no-gutter .offset-m-3,.no-gutter [class*="col-"]+[class*="col-"].offset-m-3{margin-left:25%}.no-gutter .offset-m-2,.no-gutter [class*="col-"]+[class*="col-"].offset-m-2{margin-left:16.6667%}.no-gutter .offset-m-1,.no-gutter [class*="col-"]+[class*="col-"].offset-m-1{margin-left:8.3333%}.push-m-11{left:93.5%}.push-m-10{left:85%}.push-m-9{left:76.5%}.push-m-8{left:68%}.push-m-7{left:59.5%}.push-m-6{left:51%}.push-m-5{left:42.5%}.push-m-4{left:34%}.push-m-3{left:25.5%}.push-m-2{left:17%}.push-m-1{left:8.5%}.no-gutter .push-m-11{left:91.6667%}.no-gutter .push-m-10{left:83.3333%}.no-gutter .push-m-9{left:75%}.no-gutter .push-m-8{left:66.6667%}.no-gutter .push-m-7{left:58.3333%}.no-gutter .push-m-6{left:50%}.no-gutter .push-m-5{left:41.6667%}.no-gutter .push-m-4{left:33.3333%}.no-gutter .push-m-3{left:25%}.no-gutter .push-m-2{left:16.6667%}.no-gutter .push-m-1{left:8.3333%}.pull-m-11{right:93.5%}.pull-m-10{right:85%}.pull-m-9{right:76.5%}.pull-m-8{right:68%}.pull-m-7{right:59.5%}.pull-m-6{right:51%}.pull-m-5{right:42.5%}.pull-m-4{right:34%}.pull-m-3{right:25.5%}.pull-m-2{right:17%}.pull-m-1{right:8.5%}.no-gutter .pull-m-11{right:91.6667%}.no-gutter .pull-m-10{right:83.3333%}.no-gutter .pull-m-9{right:75%}.no-gutter .pull-m-8{right:66.6667%}.no-gutter .pull-m-7{right:58.3333%}.no-gutter .pull-m-6{right:50%}.no-gutter .pull-m-5{right:41.6667%}.no-gutter .pull-m-4{right:33.3333%}.no-gutter .pull-m-3{right:25%}.no-gutter .pull-m-2{right:16.6667%}.no-gutter .pull-m-1{right:8.3333%}}@media(min-width:75em){.row [class*="col-"].reset-l{margin-left:0!important;clear:both}.row [class*="col-"][class*="push-l-right"]{float:right}.row [class*="col-"]+[class*="col-l"]{margin-left:2%}.col-l-12{width:100%;margin-left:0}.col-l-11{width:91.5%}.col-l-10{width:83%}.col-l-9{width:74.5%}.col-l-8{width:66%}.col-l-7{width:57.5%}.col-l-6{width:49%}.col-l-5{width:40.5%}.col-l-4{width:32%}.col-l-3{width:23.5%}.col-l-2{width:15%}.col-l-1{width:6.5%}.no-gutter .col-l-11{width:91.6667%}.no-gutter .col-l-10{width:83.3333%}.no-gutter .col-l-9{width:75%}.no-gutter .col-l-8{width:66.6667%}.no-gutter .col-l-7{width:58.3333%}.no-gutter .col-l-6{width:50%}.no-gutter .col-l-5{width:41.6667%}.no-gutter .col-l-4{width:33.3333%}.no-gutter .col-l-3{width:25%}.no-gutter .col-l-2{width:16.6667%}.no-gutter .col-l-1{width:8.3333%}.offset-l-11{margin-left:93.5%}.row [class*="col-"]+.offset-l-11{margin-left:95.5%}.offset-l-10{margin-left:85%}.row [class*="col-"]+.offset-l-10{margin-left:87%}.offset-l-9{margin-left:76.5%}.row [class*="col-"]+.offset-l-9{margin-left:78.5%}.offset-l-8{margin-left:68%}.row [class*="col-"]+.offset-l-8{margin-left:70%}.offset-l-7{margin-left:59.5%}.row [class*="col-"]+.offset-l-7{margin-left:61.5%}.offset-l-6{margin-left:51%}.row [class*="col-"]+.offset-l-6{margin-left:53%}.offset-l-5{margin-left:42.5%}.row [class*="col-"]+.offset-l-5{margin-left:44.5%}.offset-l-4{margin-left:34%}.row [class*="col-"]+.offset-l-4{margin-left:36%}.offset-l-3{margin-left:25.5%}.row [class*="col-"]+.offset-l-3{margin-left:27.5%}.offset-l-2{margin-left:17%}.row [class*="col-"]+.offset-l-2{margin-left:19%}.offset-l-1{margin-left:8.5%}.row [class*="col-"]+.offset-l-1{margin-left:10.5%}.no-gutter .offset-l-11,.no-gutter [class*="col-"]+[class*="col-"].offset-l-11{margin-left:91.6667%}.no-gutter .offset-l-10,.no-gutter [class*="col-"]+[class*="col-"].offset-l-10{margin-left:83.3333%}.no-gutter .offset-l-9,.no-gutter [class*="col-"]+[class*="col-"].offset-l-9{margin-left:75%}.no-gutter .offset-l-8,.no-gutter [class*="col-"]+[class*="col-"].offset-l-8{margin-left:66.6667%}.no-gutter .offset-l-7,.no-gutter [class*="col-"]+[class*="col-"].offset-l-7{margin-left:58.3333%}.no-gutter .offset-l-6,.no-gutter [class*="col-"]+[class*="col-"].offset-l-6{margin-left:50%}.no-gutter .offset-l-5,.no-gutter [class*="col-"]+[class*="col-"].offset-l-5{margin-left:41.6667%}.no-gutter .offset-l-4,.no-gutter [class*="col-"]+[class*="col-"].offset-l-4{margin-left:33.3333%}.no-gutter .offset-l-3,.no-gutter [class*="col-"]+[class*="col-"].offset-l-3{margin-left:25%}.no-gutter .offset-l-2,.no-gutter [class*="col-"]+[class*="col-"].offset-l-2{margin-left:16.6667%}.no-gutter .offset-l-1,.no-gutter [class*="col-"]+[class*="col-"].offset-l-1{margin-left:8.3333%}.push-l-11{left:93.5%}.push-l-10{left:85%}.push-l-9{left:76.5%}.push-l-8{left:68%}.push-l-7{left:59.5%}.push-l-6{left:51%}.push-l-5{left:42.5%}.push-l-4{left:34%}.push-l-3{left:25.5%}.push-l-2{left:17%}.push-l-1{left:8.5%}.no-gutter .push-l-11{left:91.6667%}.no-gutter .push-l-10{left:83.3333%}.no-gutter .push-l-9{left:75%}.no-gutter .push-l-8{left:66.6667%}.no-gutter .push-l-7{left:58.3333%}.no-gutter .push-l-6{left:50%}.no-gutter .push-l-5{left:41.6667%}.no-gutter .push-l-4{left:33.3333%}.no-gutter .push-l-3{left:25%}.no-gutter .push-l-2{left:16.6667%}.no-gutter .push-l-1{left:8.3333%}.pull-l-11{right:93.5%}.pull-l-10{right:85%}.pull-l-9{right:76.5%}.pull-l-8{right:68%}.pull-l-7{right:59.5%}.pull-l-6{right:51%}.pull-l-5{right:42.5%}.pull-l-4{right:34%}.pull-l-3{right:25.5%}.pull-l-2{right:17%}.pull-l-1{right:8.5%}.no-gutter .pull-l-11{right:91.6667%}.no-gutter .pull-l-10{right:83.3333%}.no-gutter .pull-l-9{right:75%}.no-gutter .pull-l-8{right:66.6667%}.no-gutter .pull-l-7{right:58.3333%}.no-gutter .pull-l-6{right:50%}.no-gutter .pull-l-5{right:41.6667%}.no-gutter .pull-l-4{right:33.3333%}.no-gutter .pull-l-3{right:25%}.no-gutter .pull-l-2{right:16.6667%}.no-gutter .pull-l-1{right:8.3333%}}ul,ol{margin:1em 0;padding-left:2.5em}ul ul,ol ol{margin:0}ul.no-bullets,ol.no-bullets{padding-left:0}ul.no-bullets>li,ol.no-bullets>li{list-style:none}ul.colored,ol.colored{padding-left:40px}ul.colored>li,ol.colored>li{list-style-type:none;position:relative}ul.colored>li:before,ol.colored>li:before{content:"●";color:#00a9ec;font-weight:bold;font-size:1em;text-align:right;position:absolute;left:-1em;top:0;text-decoration:none;-webkit-margin-start:-.25em}ol.colored{counter-reset:foo}ol.colored>li{counter-increment:foo}ol.colored>li:before{content:counter(foo)".";left:-3.125em;font-weight:normal;width:2.5em;-webkit-margin-start:0}dt,dd{min-height:1.4em}@media(min-width:48em){.dl-horizontal>dt{float:left;clear:left;width:150px;overflow:hidden;text-align:right;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal>dd{margin-left:166px}}table{max-width:100%;width:100%;margin:1em 0}table th,table td{padding:.5em;text-align:left;vertical-align:top}.table-bordered{border-collapse:separate;border:solid 1px silver;border-left-width:0}.table-bordered th,.table-bordered td{border-top:1px solid silver;border-left:1px solid silver}.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top-width:0}.table-striped tbody>tr:nth-child(odd)>td,.table-striped tbody>tr:nth-child(odd)>th,.table-row-alt>td,.table-row-alt>th{background-color:#e7e7e7}.table-scrollable{width:100%;margin:1em 0;overflow:auto;overflow-y:hidden}.table-scrollable table{margin:0}@media(max-width:47.99em){[data-table-list]{opacity:0}.table-list{display:block}.table-list thead,.table-list tfoot,.table-list th{display:none}.table-list tbody,.table-list tr,.table-list td,.table-list th[scope="row"]{display:block}.table-list tr:before,.table-list tr:after{content:"";display:table}.table-list tr:after{clear:both}.table-list td,.table-list th[scope="row"]{float:left;width:100%}.table-list td:before,.table-list td:after,.table-list th[scope="row"]:before,.table-list th[scope="row"]:after{content:attr(data-thead);font-weight:bold;display:block;padding:.5em 0}.table-list td:after,.table-list th[scope="row"]:after{content:attr(data-tfoot)}.table-list.table-bordered{border-top-style:none}}.alert{background-color:#fcf8e3;border:1px solid #f2e187;color:#9c8611;margin:1em 0;padding:0 2.17em 0 1em}.alert:before,.alert:after{content:"";display:table}.alert:after{clear:both}.alert-heading{color:inherit}.alert .close{color:inherit;float:right;font-size:1.17em;font-weight:bold;line-height:1em;position:relative;right:-1.17em;text-decoration:none;top:.33em}.alert .close:hover{text-decoration:underline}.alert-success{background-color:#c5e6c5;border:1px solid #a2d6a2;color:#347834}.alert-warning{background-color:#fee7c7;border:1px solid #fcd296;color:#c17305}.alert-error{background-color:#f4cac8;border:1px solid #eba19e;color:#da4f49}.alert-info{background-color:#d9edf7;border:1px solid #85c5e5;color:#247fad}audio,canvas,img,video{vertical-align:middle}img{max-width:100%;height:auto}a img{border:none}.media{position:relative;padding-top:30px;padding-bottom:56.25%;height:0;height:auto;max-width:100%;margin-bottom:1em;overflow:hidden}.media-scroll{overflow-y:auto;-webkit-overflow-scrolling:touch}.media.widescreen{padding-bottom:45%}.media.vimeo{padding-top:0}.media.instagram{height:auto;max-width:none;padding-bottom:120%}.media.vine{height:auto;max-width:none;padding-bottom:100%}.media.video{padding-top:0}.media iframe,.media object,.media embed,.media video{position:absolute;top:0;left:0;width:100%;height:100%;padding:0;margin:0;border:0;outline:none;background-color:transparent}.media img{position:absolute;top:-1000000%;right:-1000000%;bottom:-1000000%;left:-1000000%;margin:auto;width:100%}.form{margin:1em 0}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;font-size:1.17em;margin-bottom:1em}label[for]{cursor:pointer}select,textarea,input,.no-edit{font-family:inherit;padding:.25em;background-color:#fff;border-radius:0;border:1px solid silver;width:100%;display:block;margin-bottom:1em}label,.input-group{display:block;margin-bottom:1em}input[type="color"]{max-width:105px}input[type="range"]{padding:.25em 0;padding:.25em \9;background-color:#fff \9;border:1px solid transparent;border:1px solid silver \9}x::-ms-reveal,input[type="range"]{border:1px solid transparent;padding:.25em 0}select,textarea,input[type="text"],input[type="search"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="week"],input[type="month"],input[type="time"],input[type="number"],input[type="password"],input[type="tel"],input[type="email"],input[type="url"],input[type="color"]{-webkit-appearance:none}@media(-webkit-min-device-pixel-ratio:0){select{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMC4wMzEiIGhlaWdodD0iMTAuNSI+PHBvbHlnb24gZmlsbD0iIzIyMiIgcG9pbnRzPSIxMSwwIDUuNSw5IDAsMCIvPjwvc3ZnPg==);background-repeat:no-repeat;background-position:right center}input[type="datetime-local"],input[type="date"],input[type="week"],input[type="month"],input[type="time"]{min-height:2em}input[type="color"]{min-height:1.8em}input[type="color"]{padding:0}input[type="color"]::-webkit-color-swatch-wrapper{padding:0}input[type="color"]::-webkit-color-swatch{border:none}}input[type="radio"],input[type="checkbox"]{padding:0;display:block;margin:.1875em .1875em .1875em 0;width:auto;min-height:1em;min-width:1em;line-height:inherit}input[type="radio"]{border-color:transparent \9;border-radius:1em}textarea{height:auto;resize:both;min-height:5.25em}textarea.horizontal{resize:horizontal}textarea.vertical{resize:vertical}textarea.no-resize{resize:none}select option{height:100%}textarea:focus,input:focus,select:focus,.no-edit:focus{border:1px solid #00a9ec;outline:0}input[type="range"]:focus,input[type="checkbox"]:focus,input[type="radio"]:focus,input[type="checkbox"]:checked{border-color:transparent;outline:1px solid #00a9ec;outline-offset:-1px}input[type="checkbox"]:focus,input[type="checkbox"]:checked{border-color:silver}.no-edit,[readonly]{cursor:not-allowed;border-color:#ebebeb}input[disabled],select[disabled],textarea[disabled]{cursor:not-allowed!important;background-color:#ebebeb;border-color:silver;color:silver;outline:0!important;opacity:1}label>input,label>select{display:inline-block}::-webkit-input-placeholder{color:silver}:-moz-placeholder{color:silver}::-moz-placeholder{color:silver}:-ms-input-placeholder{color:silver}.full-width{max-width:100%!important;width:100%!important}input.inline-block,select.inline-block{width:auto}.form-actions{margin:1em 0;padding:1em 0}.form-no-grid select,.form-no-grid textarea,.form-no-grid input,.form-no-grid .no-edit{max-width:210px}.form-no-grid input[type="color"]{max-width:105px}.form-no-grid textarea{width:auto;min-width:210px;max-width:100%}@media(min-width:30em){.form-horizontal label{float:left;clear:left;width:160px;overflow:hidden;text-align:right;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;position:relative;z-index:1}.form-horizontal input,.form-horizontal select,.form-horizontal textarea,.form-horizontal .no-edit,.form-horizontal .input-group{margin-left:176px;margin-bottom:1em}.form-horizontal .input-group *{margin-left:0}.form-horizontal .form-actions{padding-left:176px}.form-horizontal .form-actions input{margin-left:0}}button,[type="submit"],[type="button"],[type="reset"],[role="button"]{-webkit-appearance:none;border-radius:0;display:inline-block;padding:.5em 1em;margin-bottom:0;line-height:normal;text-decoration:none!important;font-size:1em;border:solid 1px silver;background-color:#dadada;color:#222;cursor:pointer;position:relative}[type="submit"],[type="reset"],[type="button"],.form-no-grid [type="submit"],.form-no-grid [type="reset"],.form-no-grid [type="button"]{width:auto;max-width:none}button:hover,[type="submit"]:hover,[type="button"]:hover,[type="reset"]:hover,[role="button"]:hover{color:#222;background-color:#cdcdcd}button:focus,[type="submit"]:focus,[type="button"]:focus,[type="reset"]:focus,[role="button"]:focus{color:#222;outline:1px solid #00a9ec;outline-offset:-1px}button:active,[type="submit"]:active,[type="button"]:active,[type="reset"]:active,[role="button"]:active{color:#222;background-color:#e7e7e7;outline:none}button[disabled],[type="submit"][disabled],[type="button"][disabled],[type="reset"][disabled],[role="button"].disabled{color:#5d5d5d;background-color:#e7e7e7;cursor:not-allowed;opacity:1}button.btn-inline,[type="submit"].btn-inline,[type="button"].btn-inline,[type="reset"].btn-inline,[role="button"].btn-inline{margin-left:-.27em;padding:.25em 1em}.btn-group:before,.btn-group:after{content:"";display:table}.btn-group:after{clear:both}.btn-group{position:relative;display:inline-block;white-space:nowrap;vertical-align:middle}.btn-group>*{float:left}pre,code,samp,kbd{background-color:#f7f7f9;border:1px solid silver;color:#ad0d36;padding:.5em}code,samp,kbd{padding:.067em .25em}kbd{white-space:nowrap}pre code,pre samp{border:none;padding:0}pre{overflow-x:auto}pre code{-ms-word-wrap:normal;word-wrap:normal;white-space:pre}.pre-scrollable{max-height:20em;overflow-y:scroll}.accordion{border:solid 1px silver;margin-bottom:.125em}.accordion-head{display:block;padding:.5em;cursor:pointer;border-bottom:solid 1px silver}.accordion-head a{outline:none}.accordion-body{padding:0 .5em}.accordion-body.collapse{margin-top:-1px}.trans,.collapse{-moz-transition:height .5s ease,width .5s ease;-o-transition:height .5s ease,width .5s ease;-webkit-transition:height .5s ease,width .5s ease;transition:height .5s ease,width .5s ease}.expand,.collapse{position:relative;display:block;height:auto;width:auto;overflow:hidden;margin-top:0}.collapse{height:0}.collapse.width{height:auto;width:0}.autosize,[data-autosize]{overflow:hidden;-webkit-transition:height .3s linear;-moz-transition:height .3s linear;-o-transition:height .3s linear;transition:height .3s linear}.carousel{position:relative;overflow:hidden;margin-bottom:1em}.carousel>figure{display:none;position:relative;-webkit-transition:.7s ease-in-out -webkit-transform,.7s ease-in-out left;-moz-transition:.7s ease-in-out -moz-transform,.7s ease-in-out left;-o-transition:.7s ease-in-out -o-transform,.7s ease-in-out left;transition:.7s ease-in-out transform,.7s ease-in-out left}.carousel>figure>img{display:block;width:100%}.carousel .no-transition{-moz-transition-duration:0!important;-o-transition-duration:0!important;-webkit-transition-duration:0!important;transition-duration:0!important}.carousel .carousel-active,.carousel .next,.carousel .prev,.carousel .swipe{display:block}.carousel .carousel-active,.carousel .next.left,.carousel .prev.right{-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);-o-transform:translateX(0);transform:translateX(0);left:0\9}.carousel .carousel-active{position:relative!important;z-index:1}.carousel .next,.carousel .prev,.carousel .swipe{position:absolute;top:0;z-index:0;width:100%}.carousel .next,.carousel .carousel-active.right{-webkit-transform:translateX(100%);-moz-transform:translateX(100%);-ms-transform:translateX(100%);-o-transform:translateX(100%);transform:translateX(100%);left:100%\9}.carousel .prev,.carousel .carousel-active.left{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);-ms-transform:translateX(-100%);-o-transform:translateX(-100%);transform:translateX(-100%);left:-100%\9}x::-ms-reveal,.carousel .next,.carousel .prev,.carousel .carousel-active.left,.carousel .carousel-active.right{left:0}.carousel-control,.carousel-control:visited{position:absolute;display:block;width:2em;top:40%;left:0;padding:.5em;margin-top:-1em;font-size:2em;font-weight:bold;text-align:center;color:#fff;text-decoration:none;z-index:3}.carousel-control.right{left:auto;right:0}.carousel-control,.carousel-control:visited,.carousel-control:focus{outline:0}.carousel-control:hover{text-decoration:underline}.carousel>figure>figcaption{padding:1px 1em;background:#111;color:#fff}.carousel-fade>figure,.carousel[data-carousel-mode="fade"]>figure{-webkit-transition:opacity .7s ease-in-out;-moz-transition:opacity .7s ease-in-out;-o-transition:opacity .7s ease-in-out;transition:opacity .7s ease-in-out;position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;-moz-opacity:0;opacity:0}.carousel-fade .carousel-active,.carousel[data-carousel-mode="fade"] .carousel-active{-moz-opacity:1;opacity:1}.carousel-fade .carousel-active.left,.carousel-fade .carousel-active.right,.carousel[data-carousel-mode="fade"] .carousel-active.left,.carousel[data-carousel-mode="fade"] .carousel-active.right{-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);-o-transform:translateX(0);transform:translateX(0);left:0\9;-moz-opacity:0;opacity:0;z-index:2}.carousel-fade>figure.next,.carousel-fade>figure.prev,.carousel[data-carousel-mode="fade"]>figure.next,.carousel[data-carousel-mode="fade"]>figure.prev{-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);-o-transform:translateX(0);transform:translateX(0);left:0\9;z-index:1;-moz-opacity:1;opacity:1}.carousel-fade>figure .carousel-active,.carousel[data-carousel-mode="fade"]>figure .carousel-active{position:relative}.carousel[data-carousel-mode="fade"] .carousel-control,.carousel-fade .carousel-control:visited{z-index:3}.carousel>ol{position:absolute;top:1em;left:0;right:0;z-index:3;margin:0;padding:0;text-align:center;list-style:none}.carousel>ol li{display:inline-block;width:1em;height:1em;margin:1px;text-indent:-9999px;cursor:pointer;border:2px solid #111;background-color:transparent}.carousel>ol .active{background-color:#fff}[data-tabs]{position:relative}[data-tabs]>ul{list-style:none;border-bottom:1px solid silver;padding:0;margin-top:0}[data-tabs]>ul:before,[data-tabs]>ul:after{content:"";display:table}[data-tabs]>ul:after{clear:both}[data-tabs]>ul>li{float:left;margin-bottom:-1px}[data-tabs]>ul>li>a{text-decoration:none;display:block;cursor:pointer;padding:0 1em;line-height:2em;border:1px solid transparent;margin-right:.2em;outline:none}[data-tabs]>ul>li>a:hover{background:#ebebeb;border-color:silver}[data-tabs]>ul>li.tab-active>a,[data-tabs]>ul>li.tab-active>a:hover{color:#454545;cursor:default;background:#fff;border:1px solid silver;border-bottom-color:transparent}[data-tabs]>*{display:none}[data-tabs]>ul,[data-tabs]>*.tab-pane-active{display:block}.lightbox-on,.lightbox-lock-body>body{height:100%;overflow:hidden}.lightbox-overlay{position:fixed;overflow:hidden;z-index:2147483647;left:0;top:0;right:0;bottom:0;height:100%;width:100%;text-align:center;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQI12NgYGDYDAAAuAC0TCbBxgAAAABJRU5ErkJggg==');background-repeat:repeat;-webkit-overflow-scrolling:touch;-webkit-backface-visibility:hidden}.lightbox-header,.lightbox-footer{padding:1px 1em;margin:-1px 0;width:100%;color:#fff;position:fixed;top:0;left:0;right:0;z-index:1;overflow:hidden}.lightbox-header{padding-right:4.555em}.lightbox-footer{top:auto;bottom:0}.lightbox-overlay:before{content:"";display:inline-block;height:100%;vertical-align:middle;width:1px;margin-right:-1px;margin-left:-.25em}.lightbox-overlay.lightbox-loader:after{position:absolute;width:28px;height:28px;border-radius:100%;margin:auto;top:0;right:0;bottom:0;left:0;background-image:url(data:image/gif;base64,R0lGODlhHAAcAPMAAEpKSldXV2VlZXl5eYmJiZiYmKamprW1tcjIyNnZ2enp6fj4+AAAAAAAAAAAAAAAACH5BAAFAAAAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAHAAcAAAE5hDISau9OGttUKFGcmxWgJxUogZkdZyDNKhIWxHnB4SJrgkHwkRwqgFUCcEkFHOdDCzACzGYJYxEhSJhKRQPMZyH9yFotSPLYOoBGgRABPCsEGLiMItZmyR5D1EUAQkKBjYAAoEVAk0XBQeQkT4XCQuWl1xSkZsal54LEo+bB5MWlZ+ZF4kYAYobBAYFrjIDShsBBQa6toJVVbMTA7q6BLjFAQPFjL68FLDDSgMFBVUEBErIzF26shIE04nWdgC+jUPUE7jT3taBjMAV0ujk1s023wW2AeKHEuqT/PqRmyeDgDmB/SIAACH5BAAFAAAALAAAAAAcABwAg0pKSlhYWGdnZ3Z2doaGhpWVlaenp7i4uMjIyNbW1uPj4/X19QAAAAAAAAAAAAAAAATsEMhJq704a21QoUZibFaAnFSiBmR1nIM0qEdbEecHhImuCQfCxIQCIFSCSSERcx0OBhbghRDMEjWASaFIWArPZwznWfYAhARXka0MwocC0CAAVg1rhRAjMISbFARrVSRgB1IUAWojNgKIFQFJGAUGlZY+FwgLm5wIEpagjBicpAsSlKGYFpqlnnyPFFY2aAYFsFqbbRkBqHRfnAqSFwO9AwEEBAEBA8kHpKoSBJdJxAUDAshJBKSuFKjJ0QW2xwRNAgmbChYC1kPiOsjgnwqAGeztAMwEwrME4pLk6rXgJS4QslkTiNXDJhAhwggAIfkEAAUAAAAsAAAAABwAHACDSkpKWFhYaGhoenp6iYmJl5eXp6entbW1yMjI2tra6urq+Pj4AAAAAAAAAAAAAAAABOgQyEmrvThrXVChnbFZAYIclIkEY2WYgjSYa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/BKDGaKGoC4WCgsBig0hksUmD0AQdFdjCwEcRB4EAg69/ZCeLmLnRQEbQlKGwVQUxQBbFI2AokVAoBgclA6GFeZmRKVYhqamhJhlZcXoJsYjxgBkBsEBwatEgQEk6kGB7m2W7S0shMDubkEAQXEAQQFAQO9BIU3wnUAAwYGVwUFMQLNu7gHyhJnBnbYBBLLvRYCBubn1TrY4EPEJNTsMtjPNgDihQLl+9xVoxDvlwYC94BlC8iQQgQAOw==);background-position:center center;background-repeat:no-repeat;content:" ";z-index:3}.lightbox{display:inline-block;vertical-align:middle;max-height:100%;max-width:100%;margin:0 auto;overflow:auto}.lightbox.lightbox-ajax{width:100%;max-width:1140px}.lightbox.lightbox-iframe{width:100%;max-width:900px;overflow:hidden}.lightbox.lightbox-image{overflow:hidden}.lightbox-content{background-color:#fff;padding:1em;text-align:left;max-height:100%;overflow:auto}.lightbox>img{max-height:100%;max-width:none\9;width:auto\9}.lightbox>img:nth-of-type(1n){max-width:100%\9}.lightbox>.media{background-color:#111;margin:0 auto}.lightbox-close{position:fixed;right:0;top:0;z-index:2;display:inline-block;padding:.83em;color:#fff;font-size:1.5em;font-weight:bold;text-decoration:none}.lightbox-close:hover{text-decoration:underline}.lightbox-direction,.lightbox-direction:visited{position:fixed;display:block;width:2em;top:49%;left:0;padding:.5em;font-size:2em;font-weight:bold;text-align:center;color:#fff;text-decoration:none;z-index:2}.lightbox-direction.right{left:auto;right:0}.lightbox-direction:hover{text-decoration:underline}.ir{background-color:transparent;border:0;overflow:hidden}.ir:before{content:"";display:block;width:0;height:150%}.hidden{display:none!important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}.push-left{float:left!important}.push-right{float:right!important}.block{display:block!important}.inline-block{display:inline-block!important}.inline{display:inline!important}.fade-out{-moz-opacity:0!important;opacity:0!important}.fade-in{-moz-opacity:1!important;opacity:1!important}.fade-out,.fade-in{-moz-transition:opacity .3s linear 0s;-o-transition:opacity .3s linear 0s;-webkit-transition:opacity .3s linear 0s;transition:opacity .3s linear 0s}.hidden-xs,.visible-s,.visible-m,.visible-l{display:none!important}@media(min-width:48em) and (max-width:61.99em){.hidden-xs,.visible-s{display:block!important}table.hidden-xs,table.visible-s{display:table!important}thead.hidden-xs,thead.visible-s{display:table-header-group!important}tfoot.hidden-xs,tfoot.visible-s{display:table-footer-group!important}tr.hidden-xs,tr.visible-s{display:table-row!important}th.hidden-xs,th.visible-s,td.hidden-xs,td.visible-s{display:table-cell!important}col.hidden-xs,col.visible-s{display:table-column!important}caption.hidden-xs,caption.visible-s{display:table-caption!important}.visible-xs,.hidden-s{display:none!important}}@media(min-width:62em) and (max-width:74.99em){.hidden-xs,.visible-m{display:block!important}table.hidden-xs,table.visible-m{display:table!important}thead.hidden-xs,thead.visible-m{display:table-header-group!important}tfoot.hidden-xs,tfoot.visible-m{display:table-footer-group!important}tr.hidden-xs,tr.visible-m{display:table-row!important}th.hidden-xs,th.visible-m,td.hidden-xs,td.visible-m{display:table-cell!important}col.hidden-xs,col.visible-m{display:table-column!important}caption.hidden-xs,caption.visible-m{display:table-caption!important}.visible-xs,.hidden-m{display:none!important}}@media(min-width:75em){.hidden-xs,.visible-l{display:block!important}table.hidden-xs,table.visible-l{display:table!important}thead.hidden-xs,thead.visible-l{display:table-header-group!important}tfoot.hidden-xs,tfoot.visible-l{display:table-footer-group!important}tr.hidden-xs,tr.visible-l{display:table-row!important}th.hidden-xs,th.visible-l,td.hidden-xs,td.visible-l{display:table-cell!important}col.hidden-xs,col.visible-l{display:table-column!important}caption.hidden-xs,caption.visible-l{display:table-caption!important}.visible-xs,.hidden-l{display:none!important}}@media print{*{background:transparent!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}p,h2,h3{orphans:3;widows:3}} \ No newline at end of file diff --git a/app/public/vendor/responsive/rel/responsive.min.js b/app/public/vendor/responsive/rel/responsive.min.js index 7e3d8ec..c0c24ce 100644 --- a/app/public/vendor/responsive/rel/responsive.min.js +++ b/app/public/vendor/responsive/rel/responsive.min.js @@ -1,2 +1,2 @@ -/*! Responsive v2.3.1 | MIT License | git.io/rRNRLA */ -(function(n,t){"use strict";n.support.getVendorPrefix=function(){var i=/^(Moz|Webkit|O|ms)(?=[A-Z])/,r=document.createElement("div"),n,t;for(n in r.style)if(i.test(n))return t=n.match(i)[0],{js:t,css:"-"+t.toLowerCase()+"-"};return"WebkitOpacity"in r.style?{js:"Webkit",css:"-webkit-"}:{js:"",css:""}}();n.support.transition=function(){var n=function(){var i=document.createElement("div"),t={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},n;for(n in t)if(i.style[n]!==undefined)return{end:t[n]};return!1};return n()}();n.fn.ensureTransitionEnd=function(i){var r=!1,u=n(this),f=function(){r||u.trigger(n.support.transition.end)};u.one(n.support.transition.end,function(){r=!0});return t.setTimeout(f,i),this};n.fn.swipe=function(t){var r=n.extend({},{namespace:null,timeLimit:1e3},t),i=r.namespace&&"."+r.namespace,o="swipestart"+i,s="swipemove"+i,h="swipeend"+i,u="touchstart"+i+" pointerdown"+i+" MSPointerDown"+i,f="touchmove"+i+" pointermove"+i+" MSPointerMove"+i,e="touchend"+i+" pointerup"+i+" MSPointerUp"+i,c="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0||window.DocumentTouch&&document instanceof DocumentTouch;return this.each(function(){var i;if(c){i=n(this);i.css({"-ms-touch-action":"none","touch-action":"none"});var l={},t,a=function(r){var f=r.type!=="touchmove",u=r.originalEvent,e,o,h;if(f){if(u.pointerType&&u.pointerType!==2)return}else if(u.touches.length>1)return;r.scale&&r.scale!==1||(o=(f?u.clientX:u.touches[0].pageX)-l.x,h=(f?u.clientY:u.touches[0].pageY)-l.y,e=n.Event(s,{delta:{x:o,y:h}}),i.trigger(e),e.isDefaultPrevented())||(t={x:o,y:h})},v=function(){var u=+new Date-l.time,o,s=(Number(u)20||Math.abs(t.y)>20||Math.abs(t.x)>i[0].clientWidth/2||Math.abs(t.y)>i[0].clientHeight/2);if(s){var c=t.x<0?"left":"right",a=t.y<0?"up":"down",v=Math.abs(t.x)>Math.abs(t.y)?c:a;o=n.Event(h,{delta:t,direction:v,duration:u});i.trigger(o)}i.off(f).off(e)};i.off(u).on(u,function(r){var s=r.type!=="touchstart",u=r.originalEvent,h=n.Event(o);if(i.trigger(h),!h.isDefaultPrevented()){l={x:s?u.clientX:u.touches[0].pageX,y:s?u.clientY:u.touches[0].pageY,time:+new Date};t={};i.on(f,a).on(e,v)}})}})};n.fn.removeSwipe=function(t){var i=t&&"."+t,r="touchstart"+i+" pointerdown"+i+" MSPointerDown"+i,u="touchmove"+i+" pointermove"+i+" MSPointerMove"+i,f="touchend"+i+" pointerup"+i+" MSPointerUp"+i;return this.each(function(){n(this).css({"-ms-touch-action":"","touch-action":""}).off(r).off(u).off(f)})};n.fn.redraw=function(){var n;return this.each(function(){n=this.offsetWidth})};n.extend(n.expr[":"],{attrStart:function(t,i,r){var u=!1;return n.each(t.attributes,function(){return this.name.indexOf(r[3])===0?(u=!0,!1):!0}),u}});n.buildDataOptions=function(t,i,r,u){return n.each(t.data(),function(n,u){if(n.indexOf(r)===0&&n.length>r.length){var f=r.length,e=n.charAt(f).toLowerCase()+n.substring(f+1);i[e]=u;t.removeData(n)}}),u?t.data(u+"."+r+"Options",i):t.data(r+"Options",i),i}})(jQuery,window),function(n,t,i){"use strict";var e;if(!t.RESPONSIVE_AUTOSIZE){var r,o="ready"+i,s="resize"+i+" orientationchange"+i,h="keyup"+i,c="paste"+i,l="cut"+i,f="size"+i,a="sized"+i,v=function(){this.$element.on(h+" "+c+" "+l,function(i){var u=n(this),r=0;(i.type==="paste"||i.type==="cut")&&(r=5);t.setTimeout(function(){u.autoSize("size")},r)})},y=function(){var t=this,r=this.options.removeAttributes,i=this.options.removeClasses,u=this.$element,f=function(){t.$clone=t.$element.clone().css({position:"absolute",top:"-99999px",left:"-99999px",visibility:"hidden",overflow:"hidden"}).attr({tabindex:-1,rows:2}).removeAttr("id name data-autosize "+r).removeClass(i).insertAfter(u);i&&t.$clone.removeData(i)};n.when(f()).then(this.size())},u=function(t,i){this.$element=n(t);this.defaults={removeAttributes:null,removeClasses:null};this.options=n.extend({},this.defaults,i);this.$clone=null;this.sizing=null;v.call(this);y.call(this)};u.prototype.size=function(){var e=n.support.transition,c=this,i=this.$element,l=this.$element[0],r=this.$clone,t=r[0],o=0,u,s,v=n.Event(f),h=function(){c.sizing=!1;i.trigger(n.Event(a))};for(r.width(i.width()),r.val(i.val()),u=r.height(),i.height(u);t.rows>1&&t.scrollHeightt.offsetHeight&&o!==t.offsetHeight)o=l.offsetHeight,t.rows+=1;if(t.rows+=1,s=r.height(),u!==s){if(i.trigger(n.Event(f)),this.sizing||v.isDefaultPrevented())return;this.sizing=!0;i.height(r.height());e?i.one(e.end,h).ensureTransitionEnd(i.css("transition-duration").slice(0,-1)*1e3):h()}};n.fn.autoSize=function(t){return this.each(function(){var r=n(this),i=r.data("r.autosize"),f=typeof t=="object"?t:null;i||r.data("r.autosize",i=new u(this,f));typeof t=="string"&&i[t]()})};n.fn.autoSize.Constructor=u;e=n.fn.autoSize;n.fn.autoSize.noConflict=function(){return n.fn.autoSize=e,this};n(document).on(o,function(){n("textarea[data-autosize]").each(function(){var t=n(this),i=t.data("r.autosizeOptions"),r=i||n.buildDataOptions(t,{},"autosize","r");t.autoSize(r)})});n(t).on(s,function(){r&&t.clearTimeout(r);var i=function(){n("textarea[data-autosize]").each(function(){var t=n(this).data("r.autosize");t&&t.size()})};r=t.setTimeout(i,5)});t.RESPONSIVE_AUTOSIZE=!0}}(jQuery,window,".r.autosize"),function(n,t,i){"use strict";var s;if(!t.RESPONSIVE_CAROUSEL){var f=n.support.transition,o=n.support.getVendorPrefix,h=/\d+(.\d+)/,c="mouseenter"+i,l="mouseleave"+i,a="click"+i,v="ready"+i,y="slide"+i,e="slid"+i,u=function(){var n=this.$element.find(".carousel-active");return this.$items=n.parent().children("figure"),this.$items.index(n)},p=function(){this.$element.swipe({namespace:"r.carousel",timeLimit:0}).on("swipemove.r.carousel",n.proxy(function(t){if(this.options.mode==="slide"&&!this.sliding){this.pause();var r=t.delta.x<0,o=r?"next":"prev",s=r?"first":"last",h=u.call(this),f=n(this.$items[h]),e=f[o]("figure");if(!e.length){if(!this.options.wrap)return;e=this.$element.children("figure:not(.carousel-active)")[s]()}var c=f.width(),i=parseInt(t.delta.x/c*100,10),l=r?100:-100;i>-100&&i<100&&(i<-10||i>10)&&(f.addClass("no-transition").css({transform:"translateX("+i+"%)"}),e.addClass("no-transition swipe").css({transform:"translateX("+(i+l)+"%)"}))}},this)).on("swipeend.r.carousel",n.proxy(function(t){var r,i;if(!this.sliding){if(r=t.direction,i=null,r==="left"?i="next":r==="right"&&(i="prev"),this.$items.each(function(){n(this).removeClass("no-transition")}),f){var h=u.call(this),e=n(this.$items[h]),s=o.css+"transition-duration";this.translationDuration||(this.translationDuration=parseFloat(e.css(s)));var c=e.css(o.css+"transform"),l=c.match(/-?[0-9\.]+/g)[4],a=e.width(),v=parseInt(Math.abs(l)/a*100,10),y=(100-v)/100*this.translationDuration;this.$items.each(function(){n(this).css(s,y+"s")})}this.cycle();this[i]()}},this))},r=function(t,i){if(this.$element=n(t),this.defaults={interval:5e3,mode:"slide",pause:"hover",wrap:!0,enabletouch:!0},this.options=n.extend({},this.defaults,i),this.$indicators=this.$element.children("ol:first"),this.paused=null,this.interval=null,this.sliding=null,this.$items=null,this.translationDuration=null,this.options.pause==="hover")this.$element.on(c,n.proxy(this.pause,this)).on(l,n.proxy(this.cycle,this));this.options.enabletouch&&this.options.mode==="slide"&&p.call(this)};r.prototype.cycle=function(i){return i||(this.paused=!1),this.interval&&t.clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=t.setInterval(n.proxy(this.next,this),this.options.interval)),this};r.prototype.to=function(t){var i=u.call(this),r=this;return t>this.$items.length-1||t<0?!1:this.sliding?this.$element.one(e,function(){r.to(t)}):i===t?this.pause().cycle():this.slide(t>i?"next":"prev",n(this.$items[t]))};r.prototype.pause=function(i){return i||(this.paused=!0),this.$element.find(".next, .prev").length&&n.support.transition.end&&(this.$element.trigger(n.support.transition.end),this.cycle(!0)),this.interval=t.clearInterval(this.interval),this};r.prototype.next=function(){return this.sliding?!1:this.slide("next")};r.prototype.prev=function(){return this.sliding?!1:this.slide("prev")};r.prototype.slide=function(t,i){var s=this.$element.children("figure.carousel-active"),r=i||s[t]("figure"),p=this.interval,w=t==="next",c=w?"left":"right",b=w?"first":"last",o=this,k=n.Event(e),l=this.options.mode==="slide",d=this.options.mode==="fade",a,v;if(p&&this.pause(),!r.length){if(!this.options.wrap)return!1;r=this.$element.children("figure")[b]()}if(r.hasClass("carousel-active")||(this.interval&&this.pause(),a=n.Event(y,{relatedTarget:r[0],direction:c}),this.$element.trigger(a),this.sliding||a.isDefaultPrevented()))return!1;if(this.sliding=!0,this.$indicators.length){this.$indicators.find(".active").removeClass("active");this.$element.one(e,function(){var t=n(o.$indicators.children()[u.call(o)]);t&&t.addClass("active")})}return v=function(){l&&o.$items&&o.$items.each(function(){n(this).css({transition:""})});s.removeClass(["carousel-active",c].join(" "));r.removeClass([t,c].join(" ")).addClass("carousel-active");o.sliding=!1;o.$element.trigger(k)},r.addClass(t).redraw(),s.addClass(c),r.addClass(c),l&&this.$items&&this.$items.each(function(){n(this).removeClass("swipe").css({transform:""})}),f&&(l||d)?s.one(f.end,v).ensureTransitionEnd(s.css("transition-duration").match(h)[0]*1e3):v(),p&&this.cycle(),this};n.fn.carousel=function(t){return this.each(function(){var u=n(this),i=u.data("r.carousel"),f=typeof t=="object"?t:null;i||u.data("r.carousel",i=new r(this,f));typeof t=="number"?i.to(t):typeof t=="string"||(t=f.slide)?i[t]():i.options.interval&&i.cycle()})};n.fn.carousel.Constructor=r;s=n.fn.carousel;n.fn.carousel.noConflict=function(){return n.fn.carousel=s,this};n(document).on(a,":attrStart(data-carousel-slide)",function(t){t.preventDefault();var r=n(this),e=r.data("r.carouselOptions"),i=e||n.buildDataOptions(r,{},"carousel","r"),o=n(i.target||(i.target=r.attr("href"))),f=i.slideTo,u=o.data("r.carousel");u&&(typeof f=="number"?u.to(f):u[i.slide]())}).on(v,function(){n(".carousel").each(function(){var t=n(this),i=t.data("r.carouselOptions"),r=i||n.buildDataOptions(t,{},"carousel","r");t.carousel(r)})});t.RESPONSIVE_CAROUSEL=!0}}(jQuery,window,".r.carousel"),function(n,t,i){"use strict";var u;if(!t.RESPONSIVE_DISMISS){var f="click"+i,e="dismiss"+i,o="dismissed"+i,r=function(t,i){this.$element=n(t);this.$target=this.$element.parents(i);this.dismissing=null};r.prototype.close=function(){var i=n.support.transition,r=n.Event(e),t=this.$target,f=this,u=function(){f.dismissing=!1;t.addClass("hidden").trigger(n.Event(o))};(t.trigger(r),this.dismissing||r.isDefaultPrevented())||(this.dismissing=!0,t.addClass("fade-in fade-out").redraw().removeClass("fade-in"),i?this.$target.one(i.end,u).ensureTransitionEnd(this.$target.css("transition-duration").slice(0,-1)*1e3):u())};n.fn.dismiss=function(t){return this.each(function(){var u=n(this),i=u.data("dismiss");i||u.data("dismiss",i=new r(this,t+":first"));i.close()})};n.fn.dismiss.Constructor=r;u=n.fn.dismiss;n.fn.dismiss.noConflict=function(){return n.fn.dismiss=u,this};n("body").on(f,":attrStart(data-dismiss)",function(t){t.preventDefault();var i=n(this),u=i.data("r.dismissOptions"),r=u||n.buildDataOptions(i,{},"dismiss","r"),f=r.target||(r.target=i.attr("href"));f&&n(this).dismiss(r.target)});t.RESPONSIVE_DISMISS=!0}}(jQuery,window,".r.dismiss"),function(n,t,i){"use strict";var e;if(!t.RESPONSIVE_DROPDOWN){var u=t.getComputedStyle&&n.support.transition,o=/\d+(.\d+)/,s="click"+i,h="show"+i,c="shown"+i,l="hide"+i,a="hidden"+i,f=function(t,i,r){var f=this,e=function(){var t=n.Event(r);f.$element.removeClass("trans")[f.options.dimension]("");f.transitioning=!1;f.$element.trigger(t)};this.transitioning||i.isDefaultPrevented()||(this.transitioning=!0,this.$element.trigger(i)[t]("collapse"),this.$element[i.type==="show"?"addClass":"removeClass"]("expand trans"),u?this.$element.one(u.end,e).ensureTransitionEnd(this.$element.css("transition-duration").match(o)[0]*1e3):e())},r=function(t,i){this.$element=n(t);this.defaults={toggle:!0,dimension:"height"};this.options=n.extend({},this.defaults,i);this.$parent=null;this.transitioning=null;this.endSize=null;this.options.parent&&(this.$parent=this.$element.parents(this.options.parent+":first"));this.options.toggle&&this.toggle()};r.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("expand")){var i=this.options.dimension,r=this.$parent&&this.$parent.find(".dropdown-group:not(.collapse)"),e;r&&r.length&&(e=r.data("r.dropdown"),r.dropdown("hide"),e||r.data("r.dropdown",null));this.$element[i](0);u&&(this.$element[i]("auto"),this.endSize=t.getComputedStyle(this.$element[0])[i],this.$element[i](0).redraw());this.$element[i](this.endSize||"auto");f.call(this,"removeClass",n.Event(h),c)}};r.prototype.hide=function(){if(!this.transitioning&&!this.$element.hasClass("collapse")){var i=this.options.dimension,r;u&&(r=t.getComputedStyle(this.$element[0])[i],this.$element[i](r).redraw());this.$element.removeClass("expand");this.$element[i](0);f.call(this,"addClass",n.Event(l),a)}};r.prototype.toggle=function(){this[this.$element.hasClass("collapse")?"show":"hide"]()};n.fn.dropdown=function(t){return this.each(function(){var u=n(this),i=u.data("r.dropdown"),f=typeof t=="object"?t:null;i||u.data("r.dropdown",i=new r(this,f));typeof t=="string"&&i[t]()})};n.fn.dropdown.Constructor=r;e=n.fn.dropdown;n.fn.dropdown.noConflict=function(){return n.fn.dropdown=e,this};n("body").on(s,":attrStart(data-dropdown)",function(t){t.preventDefault();var i=n(this),f=i.data("r.dropdownOptions"),r=f||n.buildDataOptions(i,{},"dropdown","r"),e=r.target||(r.target=i.attr("href")),u=n(e),o=u.data("r.dropdown")?"toggle":r;u.dropdown(o)});t.RESPONSIVE_DROPDOWN=!0}}(jQuery,window,".r.dropdown"),function(n,t,i){"use strict";var bt;if(!t.RESPONSIVE_LIGHTBOX){var l=n(t),rt=n("html"),p=n("body"),u=n("
").addClass("lightbox-overlay lightbox-loader fade-out"),r=n("
").addClass("lightbox fade-out").appendTo(u),w=n("
").addClass("lightbox-header fade-out"),b=n("
").addClass("lightbox-footer fade-out"),f=null,o=null,e=null,a=n("").attr({href:"#",title:"Close (Esc)"}).addClass("lightbox-close fade-out").html("x"),k=n("").attr({href:"#",title:"Previous (Left Arrow)"}).addClass("lightbox-direction left hidden"),d=n("").attr({href:"#",title:"Next (Right Arrow)"}).addClass("lightbox-direction right hidden"),g=n("
").addClass("lightbox-placeholder"),v=0,s=n.support.transition,nt={ESCAPE:27,LEFT:37,RIGHT:39},ut=t.location.protocol.indexOf("http")===0?t.location.protocol:"http:",kt=new RegExp("//"+t.location.host+"($|/)"),ft=/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|ti(f|ff)|webp|svg)((\?|#).*)?$)/,et=/^#.*$/,ot=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,dt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,st=/vimeo|vine|instagram|instagr\.am/i,h="click"+i,tt="keyup"+i,gt="show"+i,ni="shown"+i,ti="hide"+i,ii="hidden"+i,ht="resize"+i+" orientationchange"+i,it="focusin"+i,ct=function(n){var t=ot.exec(n)||ot.exec(ut+n);return t===undefined||et.test(n)?!1:!t||!t[2]||dt.test(t[1])?!1:!kt.test(t[2])},ri=function(){var i,it,rt;this.options.external=!et.test(this.options.target);var c=this,s=this.options.title,l=this.options.description,v=this.options.close,t=this.options.target,p=!this.options.external&&!ct(t),ot=this.options.group,ht=this.options.next,lt=this.options.previous,nt=this.options.iframeScroll,at=this.options.iframe||!p?ct(t)&&!ft.test(t):!1,tt=n("
").addClass(nt?"media media-scroll":"media");e=n("
").addClass("lightbox-content");o=n("