que-web 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +3 -3
- data/CHANGELOG.md +7 -0
- data/README.md +0 -12
- data/docker/Gemfile.lock +7 -7
- data/examples/rack/Gemfile.lock +14 -14
- data/examples/rack/boot.rb +2 -4
- data/examples/rack/config.ru +1 -3
- data/lib/que/web.rb +9 -2
- data/lib/que/web/viewmodels.rb +2 -0
- data/lib/que/web/viewmodels/job.rb +9 -0
- data/que-web.gemspec +4 -5
- data/spec/pager_spec.rb +12 -12
- data/spec/que/web_spec.rb +63 -0
- data/spec/viewmodels/dashboard_spec.rb +1 -1
- data/spec/viewmodels/job_list_spec.rb +4 -5
- data/spec/viewmodels/job_spec.rb +16 -4
- data/spec/web_spec.rb +6 -6
- data/web/public/styles/foundation.min.css +1 -1
- data/web/public/styles/normalize.min.css +1 -0
- data/web/views/failing.erb +7 -7
- data/web/views/index.erb +1 -1
- data/web/views/layout.erb +7 -7
- data/web/views/running.erb +4 -4
- data/web/views/scheduled.erb +7 -7
- data/web/views/show.erb +6 -6
- metadata +12 -29
- data/web/public/js/foundation.min.js +0 -3651
- data/web/public/js/vendor/fastclick.js +0 -9
- data/web/public/js/vendor/jquery.cookie.js +0 -8
- data/web/public/js/vendor/modernizr.js +0 -8
- data/web/public/js/vendor/placeholder.js +0 -2
- data/web/public/styles/normalize.css +0 -427
data/spec/web_spec.rb
CHANGED
@@ -23,13 +23,13 @@ describe Que::Web::Helpers do
|
|
23
23
|
it 'returns the truncated first line of the last error' do
|
24
24
|
message = 'This is a really long exception message that should get truncated'
|
25
25
|
last_error = ([message] + caller).join("\n")
|
26
|
-
subject.format_error(
|
26
|
+
_(subject.format_error(
|
27
27
|
error_job(last_error)
|
28
|
-
).must_equal 'This is a really long exception...'
|
28
|
+
)).must_equal 'This is a really long exception...'
|
29
29
|
end
|
30
30
|
|
31
31
|
it 'handles empty strings as the last error' do
|
32
|
-
subject.format_error(error_job('')).must_equal ''
|
32
|
+
_(subject.format_error(error_job(''))).must_equal ''
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
@@ -47,7 +47,7 @@ describe Que::Web::Helpers do
|
|
47
47
|
let(:params) { {} }
|
48
48
|
|
49
49
|
it 'returns all the jobs' do
|
50
|
-
subject.search_running(jobs).must_equal(jobs)
|
50
|
+
_(subject.search_running(jobs)).must_equal(jobs)
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
@@ -55,7 +55,7 @@ describe Que::Web::Helpers do
|
|
55
55
|
let(:search) { '' }
|
56
56
|
|
57
57
|
it 'returns all the jobs' do
|
58
|
-
subject.search_running(jobs).must_equal(jobs)
|
58
|
+
_(subject.search_running(jobs)).must_equal(jobs)
|
59
59
|
end
|
60
60
|
end
|
61
61
|
|
@@ -63,7 +63,7 @@ describe Que::Web::Helpers do
|
|
63
63
|
let(:search) { 'A' }
|
64
64
|
|
65
65
|
it 'returns only the jobs whose class matches the search' do
|
66
|
-
subject.search_running(jobs).must_equal(
|
66
|
+
_(subject.search_running(jobs)).must_equal(
|
67
67
|
[
|
68
68
|
{ job_class: 'JobClassA' },
|
69
69
|
{ job_class: 'JobClassA2' }
|
@@ -1 +1 @@
|
|
1
|
-
meta.foundation-version{font-family:"/5.4.7/"}meta.foundation-mq-small{font-family:"/only screen/";width:0em}meta.foundation-mq-medium{font-family:"/only screen and (min-width:40.063em)/";width:40.063em}meta.foundation-mq-large{font-family:"/only screen and (min-width:64.063em)/";width:64.063em}meta.foundation-mq-xlarge{font-family:"/only screen and (min-width:90.063em)/";width:90.063em}meta.foundation-mq-xxlarge{font-family:"/only screen and (min-width:120.063em)/";width:120.063em}meta.foundation-data-attribute-namespace{font-family:false}html,body{height:100%}*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html,body{font-size:100%}body{background:#fff;color:#192823;padding:0;margin:0;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;font-weight:normal;font-style:normal;line-height:1.5;position:relative;cursor:auto}a:hover{cursor:pointer}img{max-width:100%;height:auto}img{-ms-interpolation-mode:bicubic}#map_canvas img,#map_canvas embed,#map_canvas object,.map_canvas img,.map_canvas embed,.map_canvas object{max-width:none !important}.left{float:left !important}.right{float:right !important}.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}.hide{display:none !important;visibility:hidden}.invisible{visibility:hidden}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}img{display:inline-block;vertical-align:middle}textarea{height:auto;min-height:50px}select{width:100%}.row{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:62.5em}.row:before,.row:after{content:" ";display:table}.row:after{clear:both}.row.collapse>.column,.row.collapse>.columns{padding-left:0;padding-right:0}.row.collapse .row{margin-left:0;margin-right:0}.row .row{width:auto;margin-left:-0.9375em;margin-right:-0.9375em;margin-top:0;margin-bottom:0;max-width:none}.row .row:before,.row .row:after{content:" ";display:table}.row .row:after{clear:both}.row .row.collapse{width:auto;margin:0;max-width:none}.row .row.collapse:before,.row .row.collapse:after{content:" ";display:table}.row .row.collapse:after{clear:both}.column,.columns{padding-left:0.9375em;padding-right:0.9375em;width:100%;float:left}[class*="column"]+[class*="column"]:last-child{float:right}[class*="column"]+[class*="column"].end{float:left}@media only screen{.small-push-0{position:relative;left:0%;right:auto}.small-pull-0{position:relative;right:0%;left:auto}.small-push-1{position:relative;left:8.33333%;right:auto}.small-pull-1{position:relative;right:8.33333%;left:auto}.small-push-2{position:relative;left:16.66667%;right:auto}.small-pull-2{position:relative;right:16.66667%;left:auto}.small-push-3{position:relative;left:25%;right:auto}.small-pull-3{position:relative;right:25%;left:auto}.small-push-4{position:relative;left:33.33333%;right:auto}.small-pull-4{position:relative;right:33.33333%;left:auto}.small-push-5{position:relative;left:41.66667%;right:auto}.small-pull-5{position:relative;right:41.66667%;left:auto}.small-push-6{position:relative;left:50%;right:auto}.small-pull-6{position:relative;right:50%;left:auto}.small-push-7{position:relative;left:58.33333%;right:auto}.small-pull-7{position:relative;right:58.33333%;left:auto}.small-push-8{position:relative;left:66.66667%;right:auto}.small-pull-8{position:relative;right:66.66667%;left:auto}.small-push-9{position:relative;left:75%;right:auto}.small-pull-9{position:relative;right:75%;left:auto}.small-push-10{position:relative;left:83.33333%;right:auto}.small-pull-10{position:relative;right:83.33333%;left:auto}.small-push-11{position:relative;left:91.66667%;right:auto}.small-pull-11{position:relative;right:91.66667%;left:auto}.column,.columns{position:relative;padding-left:0.9375em;padding-right:0.9375em;float:left}.small-1{width:8.33333%}.small-2{width:16.66667%}.small-3{width:25%}.small-4{width:33.33333%}.small-5{width:41.66667%}.small-6{width:50%}.small-7{width:58.33333%}.small-8{width:66.66667%}.small-9{width:75%}.small-10{width:83.33333%}.small-11{width:91.66667%}.small-12{width:100%}.small-offset-0{margin-left:0% !important}.small-offset-1{margin-left:8.33333% !important}.small-offset-2{margin-left:16.66667% !important}.small-offset-3{margin-left:25% !important}.small-offset-4{margin-left:33.33333% !important}.small-offset-5{margin-left:41.66667% !important}.small-offset-6{margin-left:50% !important}.small-offset-7{margin-left:58.33333% !important}.small-offset-8{margin-left:66.66667% !important}.small-offset-9{margin-left:75% !important}.small-offset-10{margin-left:83.33333% !important}.small-offset-11{margin-left:91.66667% !important}.small-reset-order{margin-left:0;margin-right:0;left:auto;right:auto;float:left}.column.small-centered,.columns.small-centered{margin-left:auto;margin-right:auto;float:none}.column.small-uncentered,.columns.small-uncentered{margin-left:0;margin-right:0;float:left}.column.small-centered:last-child,.columns.small-centered:last-child{float:none}.column.small-uncentered:last-child,.columns.small-uncentered:last-child{float:left}.column.small-uncentered.opposite,.columns.small-uncentered.opposite{float:right}}@media only screen and (min-width: 40.063em){.medium-push-0{position:relative;left:0%;right:auto}.medium-pull-0{position:relative;right:0%;left:auto}.medium-push-1{position:relative;left:8.33333%;right:auto}.medium-pull-1{position:relative;right:8.33333%;left:auto}.medium-push-2{position:relative;left:16.66667%;right:auto}.medium-pull-2{position:relative;right:16.66667%;left:auto}.medium-push-3{position:relative;left:25%;right:auto}.medium-pull-3{position:relative;right:25%;left:auto}.medium-push-4{position:relative;left:33.33333%;right:auto}.medium-pull-4{position:relative;right:33.33333%;left:auto}.medium-push-5{position:relative;left:41.66667%;right:auto}.medium-pull-5{position:relative;right:41.66667%;left:auto}.medium-push-6{position:relative;left:50%;right:auto}.medium-pull-6{position:relative;right:50%;left:auto}.medium-push-7{position:relative;left:58.33333%;right:auto}.medium-pull-7{position:relative;right:58.33333%;left:auto}.medium-push-8{position:relative;left:66.66667%;right:auto}.medium-pull-8{position:relative;right:66.66667%;left:auto}.medium-push-9{position:relative;left:75%;right:auto}.medium-pull-9{position:relative;right:75%;left:auto}.medium-push-10{position:relative;left:83.33333%;right:auto}.medium-pull-10{position:relative;right:83.33333%;left:auto}.medium-push-11{position:relative;left:91.66667%;right:auto}.medium-pull-11{position:relative;right:91.66667%;left:auto}.column,.columns{position:relative;padding-left:0.9375em;padding-right:0.9375em;float:left}.medium-1{width:8.33333%}.medium-2{width:16.66667%}.medium-3{width:25%}.medium-4{width:33.33333%}.medium-5{width:41.66667%}.medium-6{width:50%}.medium-7{width:58.33333%}.medium-8{width:66.66667%}.medium-9{width:75%}.medium-10{width:83.33333%}.medium-11{width:91.66667%}.medium-12{width:100%}.medium-offset-0{margin-left:0% !important}.medium-offset-1{margin-left:8.33333% !important}.medium-offset-2{margin-left:16.66667% !important}.medium-offset-3{margin-left:25% !important}.medium-offset-4{margin-left:33.33333% !important}.medium-offset-5{margin-left:41.66667% !important}.medium-offset-6{margin-left:50% !important}.medium-offset-7{margin-left:58.33333% !important}.medium-offset-8{margin-left:66.66667% !important}.medium-offset-9{margin-left:75% !important}.medium-offset-10{margin-left:83.33333% !important}.medium-offset-11{margin-left:91.66667% !important}.medium-reset-order{margin-left:0;margin-right:0;left:auto;right:auto;float:left}.column.medium-centered,.columns.medium-centered{margin-left:auto;margin-right:auto;float:none}.column.medium-uncentered,.columns.medium-uncentered{margin-left:0;margin-right:0;float:left}.column.medium-centered:last-child,.columns.medium-centered:last-child{float:none}.column.medium-uncentered:last-child,.columns.medium-uncentered:last-child{float:left}.column.medium-uncentered.opposite,.columns.medium-uncentered.opposite{float:right}.push-0{position:relative;left:0%;right:auto}.pull-0{position:relative;right:0%;left:auto}.push-1{position:relative;left:8.33333%;right:auto}.pull-1{position:relative;right:8.33333%;left:auto}.push-2{position:relative;left:16.66667%;right:auto}.pull-2{position:relative;right:16.66667%;left:auto}.push-3{position:relative;left:25%;right:auto}.pull-3{position:relative;right:25%;left:auto}.push-4{position:relative;left:33.33333%;right:auto}.pull-4{position:relative;right:33.33333%;left:auto}.push-5{position:relative;left:41.66667%;right:auto}.pull-5{position:relative;right:41.66667%;left:auto}.push-6{position:relative;left:50%;right:auto}.pull-6{position:relative;right:50%;left:auto}.push-7{position:relative;left:58.33333%;right:auto}.pull-7{position:relative;right:58.33333%;left:auto}.push-8{position:relative;left:66.66667%;right:auto}.pull-8{position:relative;right:66.66667%;left:auto}.push-9{position:relative;left:75%;right:auto}.pull-9{position:relative;right:75%;left:auto}.push-10{position:relative;left:83.33333%;right:auto}.pull-10{position:relative;right:83.33333%;left:auto}.push-11{position:relative;left:91.66667%;right:auto}.pull-11{position:relative;right:91.66667%;left:auto}}@media only screen and (min-width: 64.063em){.large-push-0{position:relative;left:0%;right:auto}.large-pull-0{position:relative;right:0%;left:auto}.large-push-1{position:relative;left:8.33333%;right:auto}.large-pull-1{position:relative;right:8.33333%;left:auto}.large-push-2{position:relative;left:16.66667%;right:auto}.large-pull-2{position:relative;right:16.66667%;left:auto}.large-push-3{position:relative;left:25%;right:auto}.large-pull-3{position:relative;right:25%;left:auto}.large-push-4{position:relative;left:33.33333%;right:auto}.large-pull-4{position:relative;right:33.33333%;left:auto}.large-push-5{position:relative;left:41.66667%;right:auto}.large-pull-5{position:relative;right:41.66667%;left:auto}.large-push-6{position:relative;left:50%;right:auto}.large-pull-6{position:relative;right:50%;left:auto}.large-push-7{position:relative;left:58.33333%;right:auto}.large-pull-7{position:relative;right:58.33333%;left:auto}.large-push-8{position:relative;left:66.66667%;right:auto}.large-pull-8{position:relative;right:66.66667%;left:auto}.large-push-9{position:relative;left:75%;right:auto}.large-pull-9{position:relative;right:75%;left:auto}.large-push-10{position:relative;left:83.33333%;right:auto}.large-pull-10{position:relative;right:83.33333%;left:auto}.large-push-11{position:relative;left:91.66667%;right:auto}.large-pull-11{position:relative;right:91.66667%;left:auto}.column,.columns{position:relative;padding-left:0.9375em;padding-right:0.9375em;float:left}.large-1{width:8.33333%}.large-2{width:16.66667%}.large-3{width:25%}.large-4{width:33.33333%}.large-5{width:41.66667%}.large-6{width:50%}.large-7{width:58.33333%}.large-8{width:66.66667%}.large-9{width:75%}.large-10{width:83.33333%}.large-11{width:91.66667%}.large-12{width:100%}.large-offset-0{margin-left:0% !important}.large-offset-1{margin-left:8.33333% !important}.large-offset-2{margin-left:16.66667% !important}.large-offset-3{margin-left:25% !important}.large-offset-4{margin-left:33.33333% !important}.large-offset-5{margin-left:41.66667% !important}.large-offset-6{margin-left:50% !important}.large-offset-7{margin-left:58.33333% !important}.large-offset-8{margin-left:66.66667% !important}.large-offset-9{margin-left:75% !important}.large-offset-10{margin-left:83.33333% !important}.large-offset-11{margin-left:91.66667% !important}.large-reset-order{margin-left:0;margin-right:0;left:auto;right:auto;float:left}.column.large-centered,.columns.large-centered{margin-left:auto;margin-right:auto;float:none}.column.large-uncentered,.columns.large-uncentered{margin-left:0;margin-right:0;float:left}.column.large-centered:last-child,.columns.large-centered:last-child{float:none}.column.large-uncentered:last-child,.columns.large-uncentered:last-child{float:left}.column.large-uncentered.opposite,.columns.large-uncentered.opposite{float:right}.push-0{position:relative;left:0%;right:auto}.pull-0{position:relative;right:0%;left:auto}.push-1{position:relative;left:8.33333%;right:auto}.pull-1{position:relative;right:8.33333%;left:auto}.push-2{position:relative;left:16.66667%;right:auto}.pull-2{position:relative;right:16.66667%;left:auto}.push-3{position:relative;left:25%;right:auto}.pull-3{position:relative;right:25%;left:auto}.push-4{position:relative;left:33.33333%;right:auto}.pull-4{position:relative;right:33.33333%;left:auto}.push-5{position:relative;left:41.66667%;right:auto}.pull-5{position:relative;right:41.66667%;left:auto}.push-6{position:relative;left:50%;right:auto}.pull-6{position:relative;right:50%;left:auto}.push-7{position:relative;left:58.33333%;right:auto}.pull-7{position:relative;right:58.33333%;left:auto}.push-8{position:relative;left:66.66667%;right:auto}.pull-8{position:relative;right:66.66667%;left:auto}.push-9{position:relative;left:75%;right:auto}.pull-9{position:relative;right:75%;left:auto}.push-10{position:relative;left:83.33333%;right:auto}.pull-10{position:relative;right:83.33333%;left:auto}.push-11{position:relative;left:91.66667%;right:auto}.pull-11{position:relative;right:91.66667%;left:auto}}button,.button{border-style:solid;border-width:0px;cursor:pointer;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;font-weight:normal;line-height:normal;margin:0 0 1.25rem;position:relative;text-decoration:none;text-align:center;-webkit-appearance:none;-webkit-border-radius:0;display:inline-block;padding-top:1rem;padding-right:2rem;padding-bottom:1.0625rem;padding-left:2rem;font-size:1rem;background-color:#06a2cb;border-color:#0582a2;color:#fff;transition:background-color 300ms ease-out}button:hover,button:focus,.button:hover,.button:focus{background-color:#0582a2}button:hover,button:focus,.button:hover,.button:focus{color:#fff}button.secondary,.button.secondary{background-color:#e9e9e9;border-color:#bababa;color:#333}button.secondary:hover,button.secondary:focus,.button.secondary:hover,.button.secondary:focus{background-color:#bababa}button.secondary:hover,button.secondary:focus,.button.secondary:hover,.button.secondary:focus{color:#333}button.success,.button.success{background-color:#218559;border-color:#1a6a47;color:#fff}button.success:hover,button.success:focus,.button.success:hover,.button.success:focus{background-color:#1a6a47}button.success:hover,button.success:focus,.button.success:hover,.button.success:focus{color:#fff}button.alert,.button.alert{background-color:#dd1e2f;border-color:#b11826;color:#fff}button.alert:hover,button.alert:focus,.button.alert:hover,.button.alert:focus{background-color:#b11826}button.alert:hover,button.alert:focus,.button.alert:hover,.button.alert:focus{color:#fff}button.warning,.button.warning{background-color:#f08a24;border-color:#cf6e0e;color:#fff}button.warning:hover,button.warning:focus,.button.warning:hover,.button.warning:focus{background-color:#cf6e0e}button.warning:hover,button.warning:focus,.button.warning:hover,.button.warning:focus{color:#fff}button.info,.button.info{background-color:#a0d3e8;border-color:#61b6d9;color:#333}button.info:hover,button.info:focus,.button.info:hover,.button.info:focus{background-color:#61b6d9}button.info:hover,button.info:focus,.button.info:hover,.button.info:focus{color:#fff}button.large,.button.large{padding-top:1.125rem;padding-right:2.25rem;padding-bottom:1.1875rem;padding-left:2.25rem;font-size:1.25rem}button.small,.button.small{padding-top:0.875rem;padding-right:1.75rem;padding-bottom:0.9375rem;padding-left:1.75rem;font-size:0.8125rem}button.tiny,.button.tiny{padding-top:0.625rem;padding-right:1.25rem;padding-bottom:0.6875rem;padding-left:1.25rem;font-size:0.6875rem}button.expand,.button.expand{padding-right:0;padding-left:0;width:100%}button.left-align,.button.left-align{text-align:left;text-indent:0.75rem}button.right-align,.button.right-align{text-align:right;padding-right:0.75rem}button.radius,.button.radius{border-radius:3px}button.round,.button.round{border-radius:1000px}button.disabled,button[disabled],.button.disabled,.button[disabled]{background-color:#06a2cb;border-color:#0582a2;color:#fff;cursor:default;opacity:0.7;box-shadow:none}button.disabled:hover,button.disabled:focus,button[disabled]:hover,button[disabled]:focus,.button.disabled:hover,.button.disabled:focus,.button[disabled]:hover,.button[disabled]:focus{background-color:#0582a2}button.disabled:hover,button.disabled:focus,button[disabled]:hover,button[disabled]:focus,.button.disabled:hover,.button.disabled:focus,.button[disabled]:hover,.button[disabled]:focus{color:#fff}button.disabled:hover,button.disabled:focus,button[disabled]:hover,button[disabled]:focus,.button.disabled:hover,.button.disabled:focus,.button[disabled]:hover,.button[disabled]:focus{background-color:#06a2cb}button.disabled.secondary,button[disabled].secondary,.button.disabled.secondary,.button[disabled].secondary{background-color:#e9e9e9;border-color:#bababa;color:#333;cursor:default;opacity:0.7;box-shadow:none}button.disabled.secondary:hover,button.disabled.secondary:focus,button[disabled].secondary:hover,button[disabled].secondary:focus,.button.disabled.secondary:hover,.button.disabled.secondary:focus,.button[disabled].secondary:hover,.button[disabled].secondary:focus{background-color:#bababa}button.disabled.secondary:hover,button.disabled.secondary:focus,button[disabled].secondary:hover,button[disabled].secondary:focus,.button.disabled.secondary:hover,.button.disabled.secondary:focus,.button[disabled].secondary:hover,.button[disabled].secondary:focus{color:#333}button.disabled.secondary:hover,button.disabled.secondary:focus,button[disabled].secondary:hover,button[disabled].secondary:focus,.button.disabled.secondary:hover,.button.disabled.secondary:focus,.button[disabled].secondary:hover,.button[disabled].secondary:focus{background-color:#e9e9e9}button.disabled.success,button[disabled].success,.button.disabled.success,.button[disabled].success{background-color:#218559;border-color:#1a6a47;color:#fff;cursor:default;opacity:0.7;box-shadow:none}button.disabled.success:hover,button.disabled.success:focus,button[disabled].success:hover,button[disabled].success:focus,.button.disabled.success:hover,.button.disabled.success:focus,.button[disabled].success:hover,.button[disabled].success:focus{background-color:#1a6a47}button.disabled.success:hover,button.disabled.success:focus,button[disabled].success:hover,button[disabled].success:focus,.button.disabled.success:hover,.button.disabled.success:focus,.button[disabled].success:hover,.button[disabled].success:focus{color:#fff}button.disabled.success:hover,button.disabled.success:focus,button[disabled].success:hover,button[disabled].success:focus,.button.disabled.success:hover,.button.disabled.success:focus,.button[disabled].success:hover,.button[disabled].success:focus{background-color:#218559}button.disabled.alert,button[disabled].alert,.button.disabled.alert,.button[disabled].alert{background-color:#dd1e2f;border-color:#b11826;color:#fff;cursor:default;opacity:0.7;box-shadow:none}button.disabled.alert:hover,button.disabled.alert:focus,button[disabled].alert:hover,button[disabled].alert:focus,.button.disabled.alert:hover,.button.disabled.alert:focus,.button[disabled].alert:hover,.button[disabled].alert:focus{background-color:#b11826}button.disabled.alert:hover,button.disabled.alert:focus,button[disabled].alert:hover,button[disabled].alert:focus,.button.disabled.alert:hover,.button.disabled.alert:focus,.button[disabled].alert:hover,.button[disabled].alert:focus{color:#fff}button.disabled.alert:hover,button.disabled.alert:focus,button[disabled].alert:hover,button[disabled].alert:focus,.button.disabled.alert:hover,.button.disabled.alert:focus,.button[disabled].alert:hover,.button[disabled].alert:focus{background-color:#dd1e2f}button.disabled.warning,button[disabled].warning,.button.disabled.warning,.button[disabled].warning{background-color:#f08a24;border-color:#cf6e0e;color:#fff;cursor:default;opacity:0.7;box-shadow:none}button.disabled.warning:hover,button.disabled.warning:focus,button[disabled].warning:hover,button[disabled].warning:focus,.button.disabled.warning:hover,.button.disabled.warning:focus,.button[disabled].warning:hover,.button[disabled].warning:focus{background-color:#cf6e0e}button.disabled.warning:hover,button.disabled.warning:focus,button[disabled].warning:hover,button[disabled].warning:focus,.button.disabled.warning:hover,.button.disabled.warning:focus,.button[disabled].warning:hover,.button[disabled].warning:focus{color:#fff}button.disabled.warning:hover,button.disabled.warning:focus,button[disabled].warning:hover,button[disabled].warning:focus,.button.disabled.warning:hover,.button.disabled.warning:focus,.button[disabled].warning:hover,.button[disabled].warning:focus{background-color:#f08a24}button.disabled.info,button[disabled].info,.button.disabled.info,.button[disabled].info{background-color:#a0d3e8;border-color:#61b6d9;color:#333;cursor:default;opacity:0.7;box-shadow:none}button.disabled.info:hover,button.disabled.info:focus,button[disabled].info:hover,button[disabled].info:focus,.button.disabled.info:hover,.button.disabled.info:focus,.button[disabled].info:hover,.button[disabled].info:focus{background-color:#61b6d9}button.disabled.info:hover,button.disabled.info:focus,button[disabled].info:hover,button[disabled].info:focus,.button.disabled.info:hover,.button.disabled.info:focus,.button[disabled].info:hover,.button[disabled].info:focus{color:#fff}button.disabled.info:hover,button.disabled.info:focus,button[disabled].info:hover,button[disabled].info:focus,.button.disabled.info:hover,.button.disabled.info:focus,.button[disabled].info:hover,.button[disabled].info:focus{background-color:#a0d3e8}button::-moz-focus-inner{border:0;padding:0}@media only screen and (min-width: 40.063em){button,.button{display:inline-block}}form{margin:0 0 1rem}form .row .row{margin:0 -0.5rem}form .row .row .column,form .row .row .columns{padding:0 0.5rem}form .row .row.collapse{margin:0}form .row .row.collapse .column,form .row .row.collapse .columns{padding:0}form .row .row.collapse input{-webkit-border-bottom-right-radius:0;-webkit-border-top-right-radius:0;border-bottom-right-radius:0;border-top-right-radius:0}form .row input.column,form .row input.columns,form .row textarea.column,form .row textarea.columns{padding-left:0.5rem}label{font-size:0.875rem;color:#4d4d4d;cursor:pointer;display:block;font-weight:normal;line-height:1.5;margin-bottom:0}label.right{float:none !important;text-align:right}label.inline{margin:0 0 1rem 0;padding:0.5625rem 0}label small{text-transform:capitalize;color:#676767}.prefix,.postfix{display:block;position:relative;z-index:2;text-align:center;width:100%;padding-top:0;padding-bottom:0;border-style:solid;border-width:1px;overflow:hidden;font-size:0.875rem;height:2.3125rem;line-height:2.3125rem}.postfix.button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;text-align:center;line-height:2.125rem;border:none}.prefix.button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;text-align:center;line-height:2.125rem;border:none}.prefix.button.radius{border-radius:0;-webkit-border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-left-radius:3px}.postfix.button.radius{border-radius:0;-webkit-border-bottom-right-radius:3px;-webkit-border-top-right-radius:3px;border-bottom-right-radius:3px;border-top-right-radius:3px}.prefix.button.round{border-radius:0;-webkit-border-bottom-left-radius:1000px;-webkit-border-top-left-radius:1000px;border-bottom-left-radius:1000px;border-top-left-radius:1000px}.postfix.button.round{border-radius:0;-webkit-border-bottom-right-radius:1000px;-webkit-border-top-right-radius:1000px;border-bottom-right-radius:1000px;border-top-right-radius:1000px}span.prefix,label.prefix{background:#f2f2f2;border-right:none;color:#333;border-color:#ccc}span.postfix,label.postfix{background:#f2f2f2;border-left:none;color:#333;border-color:#ccc}input[type="text"],input[type="password"],input[type="date"],input[type="datetime"],input[type="datetime-local"],input[type="month"],input[type="week"],input[type="email"],input[type="number"],input[type="search"],input[type="tel"],input[type="time"],input[type="url"],input[type="color"],textarea{-webkit-appearance:none;-webkit-border-radius:0px;background-color:#fff;font-family:inherit;border-style:solid;border-width:1px;border-color:#ccc;box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);color:rgba(0,0,0,0.75);display:block;font-size:0.875rem;margin:0 0 1rem 0;padding:0.5rem;height:2.3125rem;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;transition:box-shadow 0.45s,border-color 0.45s ease-in-out}input[type="text"]:focus,input[type="password"]:focus,input[type="date"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="month"]:focus,input[type="week"]:focus,input[type="email"]:focus,input[type="number"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="time"]:focus,input[type="url"]:focus,input[type="color"]:focus,textarea:focus{box-shadow:0 0 5px #999;border-color:#999}input[type="text"]:focus,input[type="password"]:focus,input[type="date"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="month"]:focus,input[type="week"]:focus,input[type="email"]:focus,input[type="number"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="time"]:focus,input[type="url"]:focus,input[type="color"]:focus,textarea:focus{background:#fafafa;border-color:#999;outline:none}input[type="text"]:disabled,input[type="password"]:disabled,input[type="date"]:disabled,input[type="datetime"]:disabled,input[type="datetime-local"]:disabled,input[type="month"]:disabled,input[type="week"]:disabled,input[type="email"]:disabled,input[type="number"]:disabled,input[type="search"]:disabled,input[type="tel"]:disabled,input[type="time"]:disabled,input[type="url"]:disabled,input[type="color"]:disabled,textarea:disabled{background-color:#ddd;cursor:default}input[type="text"][disabled],input[type="text"][readonly],fieldset[disabled] input[type="text"],input[type="password"][disabled],input[type="password"][readonly],fieldset[disabled] input[type="password"],input[type="date"][disabled],input[type="date"][readonly],fieldset[disabled] input[type="date"],input[type="datetime"][disabled],input[type="datetime"][readonly],fieldset[disabled] input[type="datetime"],input[type="datetime-local"][disabled],input[type="datetime-local"][readonly],fieldset[disabled] input[type="datetime-local"],input[type="month"][disabled],input[type="month"][readonly],fieldset[disabled] input[type="month"],input[type="week"][disabled],input[type="week"][readonly],fieldset[disabled] input[type="week"],input[type="email"][disabled],input[type="email"][readonly],fieldset[disabled] input[type="email"],input[type="number"][disabled],input[type="number"][readonly],fieldset[disabled] input[type="number"],input[type="search"][disabled],input[type="search"][readonly],fieldset[disabled] input[type="search"],input[type="tel"][disabled],input[type="tel"][readonly],fieldset[disabled] input[type="tel"],input[type="time"][disabled],input[type="time"][readonly],fieldset[disabled] input[type="time"],input[type="url"][disabled],input[type="url"][readonly],fieldset[disabled] input[type="url"],input[type="color"][disabled],input[type="color"][readonly],fieldset[disabled] input[type="color"],textarea[disabled],textarea[readonly],fieldset[disabled] textarea{background-color:#ddd;cursor:default}input[type="text"].radius,input[type="password"].radius,input[type="date"].radius,input[type="datetime"].radius,input[type="datetime-local"].radius,input[type="month"].radius,input[type="week"].radius,input[type="email"].radius,input[type="number"].radius,input[type="search"].radius,input[type="tel"].radius,input[type="time"].radius,input[type="url"].radius,input[type="color"].radius,textarea.radius{border-radius:3px}form .row .prefix-radius.row.collapse input,form .row .prefix-radius.row.collapse textarea,form .row .prefix-radius.row.collapse select{border-radius:0;-webkit-border-bottom-right-radius:3px;-webkit-border-top-right-radius:3px;border-bottom-right-radius:3px;border-top-right-radius:3px}form .row .prefix-radius.row.collapse .prefix{border-radius:0;-webkit-border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-left-radius:3px}form .row .postfix-radius.row.collapse input,form .row .postfix-radius.row.collapse textarea,form .row .postfix-radius.row.collapse select{border-radius:0;-webkit-border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-left-radius:3px}form .row .postfix-radius.row.collapse .postfix{border-radius:0;-webkit-border-bottom-right-radius:3px;-webkit-border-top-right-radius:3px;border-bottom-right-radius:3px;border-top-right-radius:3px}form .row .prefix-round.row.collapse input,form .row .prefix-round.row.collapse textarea,form .row .prefix-round.row.collapse select{border-radius:0;-webkit-border-bottom-right-radius:1000px;-webkit-border-top-right-radius:1000px;border-bottom-right-radius:1000px;border-top-right-radius:1000px}form .row .prefix-round.row.collapse .prefix{border-radius:0;-webkit-border-bottom-left-radius:1000px;-webkit-border-top-left-radius:1000px;border-bottom-left-radius:1000px;border-top-left-radius:1000px}form .row .postfix-round.row.collapse input,form .row .postfix-round.row.collapse textarea,form .row .postfix-round.row.collapse select{border-radius:0;-webkit-border-bottom-left-radius:1000px;-webkit-border-top-left-radius:1000px;border-bottom-left-radius:1000px;border-top-left-radius:1000px}form .row .postfix-round.row.collapse .postfix{border-radius:0;-webkit-border-bottom-right-radius:1000px;-webkit-border-top-right-radius:1000px;border-bottom-right-radius:1000px;border-top-right-radius:1000px}input[type="submit"]{-webkit-appearance:none;-webkit-border-radius:0px}textarea[rows]{height:auto}textarea{max-width:100%}select{-webkit-appearance:none !important;-webkit-border-radius:0px;background-color:#fafafa;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMTJweCIgeT0iMHB4IiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIzcHgiIHZpZXdCb3g9IjAgMCA2IDMiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDYgMyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBvbHlnb24gcG9pbnRzPSI1Ljk5MiwwIDIuOTkyLDMgLTAuMDA4LDAgIi8+PC9zdmc+);background-position:100% center;background-repeat:no-repeat;border-style:solid;border-width:1px;border-color:#ccc;padding:0.5rem;font-size:0.875rem;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;color:rgba(0,0,0,0.75);line-height:normal;border-radius:0;height:2.3125rem}select::-ms-expand{display:none}select.radius{border-radius:3px}select:hover{background-color:#f3f3f3;border-color:#999}select:disabled{background-color:#ddd;cursor:default}input[type="file"],input[type="checkbox"],input[type="radio"],select{margin:0 0 1rem 0}input[type="checkbox"]+label,input[type="radio"]+label{display:inline-block;margin-left:0.5rem;margin-right:1rem;margin-bottom:0;vertical-align:baseline}input[type="file"]{width:100%}fieldset{border:1px solid #ddd;padding:1.25rem;margin:1.125rem 0}fieldset legend{font-weight:bold;background:#fff;padding:0 0.1875rem;margin:0;margin-left:-0.1875rem}[data-abide] .error small.error,[data-abide] .error span.error,[data-abide] span.error,[data-abide] small.error{display:block;padding:0.375rem 0.5625rem 0.5625rem;margin-top:-1px;margin-bottom:1rem;font-size:0.75rem;font-weight:normal;font-style:italic;background:#dd1e2f;color:#fff}[data-abide] span.error,[data-abide] small.error{display:none}span.error,small.error{display:block;padding:0.375rem 0.5625rem 0.5625rem;margin-top:-1px;margin-bottom:1rem;font-size:0.75rem;font-weight:normal;font-style:italic;background:#dd1e2f;color:#fff}.error input,.error textarea,.error select{margin-bottom:0}.error input[type="checkbox"],.error input[type="radio"]{margin-bottom:1rem}.error label,.error label.error{color:#dd1e2f}.error small.error{display:block;padding:0.375rem 0.5625rem 0.5625rem;margin-top:-1px;margin-bottom:1rem;font-size:0.75rem;font-weight:normal;font-style:italic;background:#dd1e2f;color:#fff}.error>label>small{color:#676767;background:transparent;padding:0;text-transform:capitalize;font-style:normal;font-size:60%;margin:0;display:inline}.error span.error-message{display:block}input.error,textarea.error,select.error{margin-bottom:0}label.error{color:#dd1e2f}meta.foundation-mq-topbar{font-family:"/only screen and (min-width:40.063em)/";width:58.75em}.contain-to-grid{width:100%;background:#333}.contain-to-grid .top-bar{margin-bottom:0}.fixed{width:100%;left:0;position:fixed;top:0;z-index:99}.fixed.expanded:not(.top-bar){overflow-y:auto;height:auto;width:100%;max-height:100%}.fixed.expanded:not(.top-bar) .title-area{position:fixed;width:100%;z-index:99}.fixed.expanded:not(.top-bar) .top-bar-section{z-index:98;margin-top:45px}.top-bar{overflow:hidden;height:45px;line-height:45px;position:relative;background:#333;margin-bottom:0}.top-bar ul{margin-bottom:0;list-style:none}.top-bar .row{max-width:none}.top-bar form,.top-bar input{margin-bottom:0}.top-bar input{height:1.8rem;padding-top:.35rem;padding-bottom:.35rem;font-size:0.75rem}.top-bar .button,.top-bar button{padding-top:0.4125rem;padding-bottom:0.4125rem;margin-bottom:0;font-size:0.75rem}@media only screen and (max-width: 40em){.top-bar .button,.top-bar button{position:relative;top:-1px}}.top-bar .title-area{position:relative;margin:0}.top-bar .name{height:45px;margin:0;font-size:16px}.top-bar .name h1{line-height:45px;font-size:1.0625rem;margin:0}.top-bar .name h1 a{font-weight:normal;color:#fff;width:75%;display:block;padding:0 15px}.top-bar .toggle-topbar{position:absolute;right:0;top:0}.top-bar .toggle-topbar a{color:#fff;text-transform:uppercase;font-size:0.8125rem;font-weight:bold;position:relative;display:block;padding:0 15px;height:45px;line-height:45px}.top-bar .toggle-topbar.menu-icon{top:50%;margin-top:-16px}.top-bar .toggle-topbar.menu-icon a{height:34px;line-height:33px;padding:0 40px 0 15px;color:#fff;position:relative}.top-bar .toggle-topbar.menu-icon a span::after{content:"";position:absolute;display:block;height:0;top:50%;margin-top:-8px;right:15px;box-shadow:0 0px 0 1px #fff,0 7px 0 1px #fff,0 14px 0 1px #fff;width:16px}.top-bar .toggle-topbar.menu-icon a span:hover:after{box-shadow:0 0px 0 1px "",0 7px 0 1px "",0 14px 0 1px ""}.top-bar.expanded{height:auto;background:transparent}.top-bar.expanded .title-area{background:#333}.top-bar.expanded .toggle-topbar a{color:#888}.top-bar.expanded .toggle-topbar a span::after{box-shadow:0 0px 0 1px #888,0 7px 0 1px #888,0 14px 0 1px #888}.top-bar-section{left:0;position:relative;width:auto;transition:left 300ms ease-out}.top-bar-section ul{padding:0;width:100%;height:auto;display:block;font-size:16px;margin:0}.top-bar-section .divider,.top-bar-section [role="separator"]{border-top:solid 1px #1a1a1a;clear:both;height:1px;width:100%}.top-bar-section ul li{background:#333}.top-bar-section ul li>a{display:block;width:100%;color:#fff;padding:12px 0 12px 0;padding-left:15px;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;font-size:0.8125rem;font-weight:normal;text-transform:none}.top-bar-section ul li>a.button{font-size:0.8125rem;padding-right:15px;padding-left:15px;background-color:#06a2cb;border-color:#0582a2;color:#fff}.top-bar-section ul li>a.button:hover,.top-bar-section ul li>a.button:focus{background-color:#0582a2}.top-bar-section ul li>a.button:hover,.top-bar-section ul li>a.button:focus{color:#fff}.top-bar-section ul li>a.button.secondary{background-color:#e9e9e9;border-color:#bababa;color:#333}.top-bar-section ul li>a.button.secondary:hover,.top-bar-section ul li>a.button.secondary:focus{background-color:#bababa}.top-bar-section ul li>a.button.secondary:hover,.top-bar-section ul li>a.button.secondary:focus{color:#333}.top-bar-section ul li>a.button.success{background-color:#218559;border-color:#1a6a47;color:#fff}.top-bar-section ul li>a.button.success:hover,.top-bar-section ul li>a.button.success:focus{background-color:#1a6a47}.top-bar-section ul li>a.button.success:hover,.top-bar-section ul li>a.button.success:focus{color:#fff}.top-bar-section ul li>a.button.alert{background-color:#dd1e2f;border-color:#b11826;color:#fff}.top-bar-section ul li>a.button.alert:hover,.top-bar-section ul li>a.button.alert:focus{background-color:#b11826}.top-bar-section ul li>a.button.alert:hover,.top-bar-section ul li>a.button.alert:focus{color:#fff}.top-bar-section ul li>a.button.warning{background-color:#f08a24;border-color:#cf6e0e;color:#fff}.top-bar-section ul li>a.button.warning:hover,.top-bar-section ul li>a.button.warning:focus{background-color:#cf6e0e}.top-bar-section ul li>a.button.warning:hover,.top-bar-section ul li>a.button.warning:focus{color:#fff}.top-bar-section ul li>button{font-size:0.8125rem;padding-right:15px;padding-left:15px;background-color:#06a2cb;border-color:#0582a2;color:#fff}.top-bar-section ul li>button:hover,.top-bar-section ul li>button:focus{background-color:#0582a2}.top-bar-section ul li>button:hover,.top-bar-section ul li>button:focus{color:#fff}.top-bar-section ul li>button.secondary{background-color:#e9e9e9;border-color:#bababa;color:#333}.top-bar-section ul li>button.secondary:hover,.top-bar-section ul li>button.secondary:focus{background-color:#bababa}.top-bar-section ul li>button.secondary:hover,.top-bar-section ul li>button.secondary:focus{color:#333}.top-bar-section ul li>button.success{background-color:#218559;border-color:#1a6a47;color:#fff}.top-bar-section ul li>button.success:hover,.top-bar-section ul li>button.success:focus{background-color:#1a6a47}.top-bar-section ul li>button.success:hover,.top-bar-section ul li>button.success:focus{color:#fff}.top-bar-section ul li>button.alert{background-color:#dd1e2f;border-color:#b11826;color:#fff}.top-bar-section ul li>button.alert:hover,.top-bar-section ul li>button.alert:focus{background-color:#b11826}.top-bar-section ul li>button.alert:hover,.top-bar-section ul li>button.alert:focus{color:#fff}.top-bar-section ul li>button.warning{background-color:#f08a24;border-color:#cf6e0e;color:#fff}.top-bar-section ul li>button.warning:hover,.top-bar-section ul li>button.warning:focus{background-color:#cf6e0e}.top-bar-section ul li>button.warning:hover,.top-bar-section ul li>button.warning:focus{color:#fff}.top-bar-section ul li:hover:not(.has-form)>a{background-color:#555;background:#272727;color:#fff}.top-bar-section ul li.active>a{background:#06a2cb;color:#fff}.top-bar-section ul li.active>a:hover{background:#058baf;color:#fff}.top-bar-section .has-form{padding:15px}.top-bar-section .has-dropdown{position:relative}.top-bar-section .has-dropdown>a:after{content:"";display:block;width:0;height:0;border:inset 5px;border-color:transparent transparent transparent rgba(255,255,255,0.4);border-left-style:solid;margin-right:15px;margin-top:-4.5px;position:absolute;top:50%;right:0}.top-bar-section .has-dropdown.moved{position:static}.top-bar-section .has-dropdown.moved>.dropdown{display:block;position:static !important;height:auto;width:auto;overflow:visible;clip:auto;position:absolute !important;width:100%}.top-bar-section .has-dropdown.moved>a:after{display:none}.top-bar-section .dropdown{padding:0;position:absolute;left:100%;top:0;z-index:99;display:block;position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px, 1px, 1px, 1px)}.top-bar-section .dropdown li{width:100%;height:auto}.top-bar-section .dropdown li a{font-weight:normal;padding:8px 15px}.top-bar-section .dropdown li a.parent-link{font-weight:normal}.top-bar-section .dropdown li.title h5,.top-bar-section .dropdown li.parent-link{margin-bottom:0;margin-top:0;font-size:1.125rem}.top-bar-section .dropdown li.title h5 a,.top-bar-section .dropdown li.parent-link a{color:#fff;display:block}.top-bar-section .dropdown li.title h5 a:hover,.top-bar-section .dropdown li.parent-link a:hover{background:none}.top-bar-section .dropdown li.has-form{padding:8px 15px}.top-bar-section .dropdown li .button,.top-bar-section .dropdown li button{top:auto}.top-bar-section .dropdown label{padding:8px 15px 2px;margin-bottom:0;text-transform:uppercase;color:#777;font-weight:bold;font-size:0.625rem}.js-generated{display:block}@media only screen and (min-width: 40.063em){.top-bar{background:#333;overflow:visible}.top-bar:before,.top-bar:after{content:" ";display:table}.top-bar:after{clear:both}.top-bar .toggle-topbar{display:none}.top-bar .title-area{float:left}.top-bar .name h1 a{width:auto}.top-bar input,.top-bar .button,.top-bar button{font-size:0.875rem;position:relative;top:7px}.top-bar.expanded{background:#333}.contain-to-grid .top-bar{max-width:62.5em;margin:0 auto;margin-bottom:0}.top-bar-section{transition:none 0 0;left:0 !important}.top-bar-section ul{width:auto;height:auto !important;display:inline}.top-bar-section ul li{float:left}.top-bar-section ul li .js-generated{display:none}.top-bar-section li.hover>a:not(.button){background-color:#555;background:#272727;color:#fff}.top-bar-section li:not(.has-form) a:not(.button){padding:0 15px;line-height:45px;background:#333}.top-bar-section li:not(.has-form) a:not(.button):hover{background-color:#555;background:#272727}.top-bar-section li.active:not(.has-form) a:not(.button){padding:0 15px;line-height:45px;color:#fff;background:#06a2cb}.top-bar-section li.active:not(.has-form) a:not(.button):hover{background:#058baf;color:#fff}.top-bar-section .has-dropdown>a{padding-right:35px !important}.top-bar-section .has-dropdown>a:after{content:"";display:block;width:0;height:0;border:inset 5px;border-color:rgba(255,255,255,0.4) transparent transparent transparent;border-top-style:solid;margin-top:-2.5px;top:22.5px}.top-bar-section .has-dropdown.moved{position:relative}.top-bar-section .has-dropdown.moved>.dropdown{display:block;position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px, 1px, 1px, 1px)}.top-bar-section .has-dropdown.hover>.dropdown,.top-bar-section .has-dropdown.not-click:hover>.dropdown{display:block;position:static !important;height:auto;width:auto;overflow:visible;clip:auto;position:absolute !important}.top-bar-section .has-dropdown>a:focus+.dropdown{display:block;position:static !important;height:auto;width:auto;overflow:visible;clip:auto;position:absolute !important}.top-bar-section .has-dropdown .dropdown li.has-dropdown>a:after{border:none;content:"\00bb";top:1rem;margin-top:-1px;right:5px;line-height:1.2}.top-bar-section .dropdown{left:0;top:auto;background:transparent;min-width:100%}.top-bar-section .dropdown li a{color:#fff;line-height:45px;white-space:nowrap;padding:12px 15px;background:#333}.top-bar-section .dropdown li:not(.has-form):not(.active)>a:not(.button){color:#fff;background:#333}.top-bar-section .dropdown li:not(.has-form):not(.active):hover>a:not(.button){color:#fff;background-color:#555;background:#272727}.top-bar-section .dropdown li label{white-space:nowrap;background:#333}.top-bar-section .dropdown li .dropdown{left:100%;top:0}.top-bar-section>ul>.divider,.top-bar-section>ul>[role="separator"]{border-bottom:none;border-top:none;border-right:solid 1px #4e4e4e;clear:none;height:45px;width:0}.top-bar-section .has-form{background:#333;padding:0 15px;height:45px}.top-bar-section .right li .dropdown{left:auto;right:0}.top-bar-section .right li .dropdown li .dropdown{right:100%}.top-bar-section .left li .dropdown{right:auto;left:0}.top-bar-section .left li .dropdown li .dropdown{left:100%}.no-js .top-bar-section ul li:hover>a{background-color:#555;background:#272727;color:#fff}.no-js .top-bar-section ul li:active>a{background:#06a2cb;color:#fff}.no-js .top-bar-section .has-dropdown:hover>.dropdown{display:block;position:static !important;height:auto;width:auto;overflow:visible;clip:auto;position:absolute !important}.no-js .top-bar-section .has-dropdown>a:focus+.dropdown{display:block;position:static !important;height:auto;width:auto;overflow:visible;clip:auto;position:absolute !important}}.breadcrumbs{display:block;padding:0.5625rem 0.875rem 0.5625rem;overflow:hidden;margin-left:0;list-style:none;border-style:solid;border-width:1px;background-color:#f5f5f5;border-color:#ddd;border-radius:3px}.breadcrumbs>*{margin:0;float:left;font-size:0.6875rem;line-height:0.6875rem;text-transform:uppercase;color:#06a2cb}.breadcrumbs>*:hover a,.breadcrumbs>*:focus a{text-decoration:underline}.breadcrumbs>* a{color:#06a2cb}.breadcrumbs>*.current{cursor:default;color:#333}.breadcrumbs>*.current a{cursor:default;color:#333}.breadcrumbs>*.current:hover,.breadcrumbs>*.current:hover a,.breadcrumbs>*.current:focus,.breadcrumbs>*.current:focus a{text-decoration:none}.breadcrumbs>*.unavailable{color:#999}.breadcrumbs>*.unavailable a{color:#999}.breadcrumbs>*.unavailable:hover,.breadcrumbs>*.unavailable:hover a,.breadcrumbs>*.unavailable:focus,.breadcrumbs>*.unavailable a:focus{text-decoration:none;color:#999;cursor:default}.breadcrumbs>*:before{content:"/";color:#aaa;margin:0 0.75rem;position:relative;top:1px}.breadcrumbs>*:first-child:before{content:" ";margin:0}[aria-label="breadcrumbs"] [aria-hidden="true"]:after{content:"/"}.alert-box{border-style:solid;border-width:1px;display:block;font-weight:normal;margin-bottom:1.25rem;position:relative;padding:0.875rem 1.5rem 0.875rem 0.875rem;font-size:0.8125rem;transition:opacity 300ms ease-out;background-color:#06a2cb;border-color:#058baf;color:#fff}.alert-box .close{font-size:1.375rem;padding:9px 6px 4px;line-height:0;position:absolute;top:50%;margin-top:-0.6875rem;right:0.25rem;color:#333;opacity:0.3;background:inherit}.alert-box .close:hover,.alert-box .close:focus{opacity:0.5}.alert-box.radius{border-radius:3px}.alert-box.round{border-radius:1000px}.alert-box.success{background-color:#218559;border-color:#1c724d;color:#fff}.alert-box.alert{background-color:#dd1e2f;border-color:#be1a28;color:#fff}.alert-box.secondary{background-color:#e9e9e9;border-color:#c8c8c8;color:#4f4f4f}.alert-box.warning{background-color:#f08a24;border-color:#de770f;color:#fff}.alert-box.info{background-color:#a0d3e8;border-color:#74bfdd;color:#4f4f4f}.alert-box.alert-close{opacity:0}.inline-list{margin:0 auto 1.0625rem auto;margin-left:-1.375rem;margin-right:0;padding:0;list-style:none;overflow:hidden}.inline-list>li{list-style:none;float:left;margin-left:1.375rem;display:block}.inline-list>li>*{display:block}.button-group{list-style:none;margin:0;left:0}.button-group:before,.button-group:after{content:" ";display:table}.button-group:after{clear:both}.button-group>li{margin:0 -2px;display:inline-block}.button-group>li>button,.button-group>li .button{border-left:1px solid;border-color:rgba(255,255,255,0.5)}.button-group>li:first-child button,.button-group>li:first-child .button{border-left:0}.button-group.stack>li{margin:0 -2px;display:inline-block;display:block;margin:0;float:none}.button-group.stack>li>button,.button-group.stack>li .button{border-left:1px solid;border-color:rgba(255,255,255,0.5)}.button-group.stack>li:first-child button,.button-group.stack>li:first-child .button{border-left:0}.button-group.stack>li>button,.button-group.stack>li .button{border-top:1px solid;border-color:rgba(255,255,255,0.5);border-left-width:0px;margin:0;display:block}.button-group.stack>li:first-child button,.button-group.stack>li:first-child .button{border-top:0}.button-group.stack-for-small>li{margin:0 -2px;display:inline-block}.button-group.stack-for-small>li>button,.button-group.stack-for-small>li .button{border-left:1px solid;border-color:rgba(255,255,255,0.5)}.button-group.stack-for-small>li:first-child button,.button-group.stack-for-small>li:first-child .button{border-left:0}@media only screen and (max-width: 40em){.button-group.stack-for-small>li{margin:0 -2px;display:inline-block;display:block;margin:0}.button-group.stack-for-small>li>button,.button-group.stack-for-small>li .button{border-left:1px solid;border-color:rgba(255,255,255,0.5)}.button-group.stack-for-small>li:first-child button,.button-group.stack-for-small>li:first-child .button{border-left:0}.button-group.stack-for-small>li>button,.button-group.stack-for-small>li .button{border-top:1px solid;border-color:rgba(255,255,255,0.5);border-left-width:0px;margin:0;display:block}.button-group.stack-for-small>li:first-child button,.button-group.stack-for-small>li:first-child .button{border-top:0}}.button-group.radius>*{margin:0 -2px;display:inline-block}.button-group.radius>*>button,.button-group.radius>* .button{border-left:1px solid;border-color:rgba(255,255,255,0.5)}.button-group.radius>*:first-child button,.button-group.radius>*:first-child .button{border-left:0}.button-group.radius>*,.button-group.radius>*>a,.button-group.radius>*>button,.button-group.radius>*>.button{border-radius:0}.button-group.radius>*:first-child,.button-group.radius>*:first-child>a,.button-group.radius>*:first-child>button,.button-group.radius>*:first-child>.button{-webkit-border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-left-radius:3px}.button-group.radius>*:last-child,.button-group.radius>*:last-child>a,.button-group.radius>*:last-child>button,.button-group.radius>*:last-child>.button{-webkit-border-bottom-right-radius:3px;-webkit-border-top-right-radius:3px;border-bottom-right-radius:3px;border-top-right-radius:3px}.button-group.radius.stack>*{margin:0 -2px;display:inline-block;display:block;margin:0}.button-group.radius.stack>*>button,.button-group.radius.stack>* .button{border-left:1px solid;border-color:rgba(255,255,255,0.5)}.button-group.radius.stack>*:first-child button,.button-group.radius.stack>*:first-child .button{border-left:0}.button-group.radius.stack>*>button,.button-group.radius.stack>* .button{border-top:1px solid;border-color:rgba(255,255,255,0.5);border-left-width:0px;margin:0;display:block}.button-group.radius.stack>*:first-child button,.button-group.radius.stack>*:first-child .button{border-top:0}.button-group.radius.stack>*,.button-group.radius.stack>*>a,.button-group.radius.stack>*>button,.button-group.radius.stack>*>.button{border-radius:0}.button-group.radius.stack>*:first-child,.button-group.radius.stack>*:first-child>a,.button-group.radius.stack>*:first-child>button,.button-group.radius.stack>*:first-child>.button{-webkit-top-left-radius:3px;-webkit-top-right-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px}.button-group.radius.stack>*:last-child,.button-group.radius.stack>*:last-child>a,.button-group.radius.stack>*:last-child>button,.button-group.radius.stack>*:last-child>.button{-webkit-bottom-left-radius:3px;-webkit-bottom-right-radius:3px;border-bottom-left-radius:3px;border-bottom-right-radius:3px}@media only screen and (min-width: 40.063em){.button-group.radius.stack-for-small>*{margin:0 -2px;display:inline-block}.button-group.radius.stack-for-small>*>button,.button-group.radius.stack-for-small>* .button{border-left:1px solid;border-color:rgba(255,255,255,0.5)}.button-group.radius.stack-for-small>*:first-child button,.button-group.radius.stack-for-small>*:first-child .button{border-left:0}.button-group.radius.stack-for-small>*,.button-group.radius.stack-for-small>*>a,.button-group.radius.stack-for-small>*>button,.button-group.radius.stack-for-small>*>.button{border-radius:0}.button-group.radius.stack-for-small>*:first-child,.button-group.radius.stack-for-small>*:first-child>a,.button-group.radius.stack-for-small>*:first-child>button,.button-group.radius.stack-for-small>*:first-child>.button{-webkit-border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-left-radius:3px}.button-group.radius.stack-for-small>*:last-child,.button-group.radius.stack-for-small>*:last-child>a,.button-group.radius.stack-for-small>*:last-child>button,.button-group.radius.stack-for-small>*:last-child>.button{-webkit-border-bottom-right-radius:3px;-webkit-border-top-right-radius:3px;border-bottom-right-radius:3px;border-top-right-radius:3px}}@media only screen and (max-width: 40em){.button-group.radius.stack-for-small>*{margin:0 -2px;display:inline-block;display:block;margin:0}.button-group.radius.stack-for-small>*>button,.button-group.radius.stack-for-small>* .button{border-left:1px solid;border-color:rgba(255,255,255,0.5)}.button-group.radius.stack-for-small>*:first-child button,.button-group.radius.stack-for-small>*:first-child .button{border-left:0}.button-group.radius.stack-for-small>*>button,.button-group.radius.stack-for-small>* .button{border-top:1px solid;border-color:rgba(255,255,255,0.5);border-left-width:0px;margin:0;display:block}.button-group.radius.stack-for-small>*:first-child button,.button-group.radius.stack-for-small>*:first-child .button{border-top:0}.button-group.radius.stack-for-small>*,.button-group.radius.stack-for-small>*>a,.button-group.radius.stack-for-small>*>button,.button-group.radius.stack-for-small>*>.button{border-radius:0}.button-group.radius.stack-for-small>*:first-child,.button-group.radius.stack-for-small>*:first-child>a,.button-group.radius.stack-for-small>*:first-child>button,.button-group.radius.stack-for-small>*:first-child>.button{-webkit-top-left-radius:3px;-webkit-top-right-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px}.button-group.radius.stack-for-small>*:last-child,.button-group.radius.stack-for-small>*:last-child>a,.button-group.radius.stack-for-small>*:last-child>button,.button-group.radius.stack-for-small>*:last-child>.button{-webkit-bottom-left-radius:3px;-webkit-bottom-right-radius:3px;border-bottom-left-radius:3px;border-bottom-right-radius:3px}}.button-group.round>*{margin:0 -2px;display:inline-block}.button-group.round>*>button,.button-group.round>* .button{border-left:1px solid;border-color:rgba(255,255,255,0.5)}.button-group.round>*:first-child button,.button-group.round>*:first-child .button{border-left:0}.button-group.round>*,.button-group.round>*>a,.button-group.round>*>button,.button-group.round>*>.button{border-radius:0}.button-group.round>*:first-child,.button-group.round>*:first-child>a,.button-group.round>*:first-child>button,.button-group.round>*:first-child>.button{-webkit-border-bottom-left-radius:1000px;-webkit-border-top-left-radius:1000px;border-bottom-left-radius:1000px;border-top-left-radius:1000px}.button-group.round>*:last-child,.button-group.round>*:last-child>a,.button-group.round>*:last-child>button,.button-group.round>*:last-child>.button{-webkit-border-bottom-right-radius:1000px;-webkit-border-top-right-radius:1000px;border-bottom-right-radius:1000px;border-top-right-radius:1000px}.button-group.round.stack>*{margin:0 -2px;display:inline-block;display:block;margin:0}.button-group.round.stack>*>button,.button-group.round.stack>* .button{border-left:1px solid;border-color:rgba(255,255,255,0.5)}.button-group.round.stack>*:first-child button,.button-group.round.stack>*:first-child .button{border-left:0}.button-group.round.stack>*>button,.button-group.round.stack>* .button{border-top:1px solid;border-color:rgba(255,255,255,0.5);border-left-width:0px;margin:0;display:block}.button-group.round.stack>*:first-child button,.button-group.round.stack>*:first-child .button{border-top:0}.button-group.round.stack>*,.button-group.round.stack>*>a,.button-group.round.stack>*>button,.button-group.round.stack>*>.button{border-radius:0}.button-group.round.stack>*:first-child,.button-group.round.stack>*:first-child>a,.button-group.round.stack>*:first-child>button,.button-group.round.stack>*:first-child>.button{-webkit-top-left-radius:1rem;-webkit-top-right-radius:1rem;border-top-left-radius:1rem;border-top-right-radius:1rem}.button-group.round.stack>*:last-child,.button-group.round.stack>*:last-child>a,.button-group.round.stack>*:last-child>button,.button-group.round.stack>*:last-child>.button{-webkit-bottom-left-radius:1rem;-webkit-bottom-right-radius:1rem;border-bottom-left-radius:1rem;border-bottom-right-radius:1rem}@media only screen and (min-width: 40.063em){.button-group.round.stack-for-small>*{margin:0 -2px;display:inline-block}.button-group.round.stack-for-small>*>button,.button-group.round.stack-for-small>* .button{border-left:1px solid;border-color:rgba(255,255,255,0.5)}.button-group.round.stack-for-small>*:first-child button,.button-group.round.stack-for-small>*:first-child .button{border-left:0}.button-group.round.stack-for-small>*,.button-group.round.stack-for-small>*>a,.button-group.round.stack-for-small>*>button,.button-group.round.stack-for-small>*>.button{border-radius:0}.button-group.round.stack-for-small>*:first-child,.button-group.round.stack-for-small>*:first-child>a,.button-group.round.stack-for-small>*:first-child>button,.button-group.round.stack-for-small>*:first-child>.button{-webkit-border-bottom-left-radius:1000px;-webkit-border-top-left-radius:1000px;border-bottom-left-radius:1000px;border-top-left-radius:1000px}.button-group.round.stack-for-small>*:last-child,.button-group.round.stack-for-small>*:last-child>a,.button-group.round.stack-for-small>*:last-child>button,.button-group.round.stack-for-small>*:last-child>.button{-webkit-border-bottom-right-radius:1000px;-webkit-border-top-right-radius:1000px;border-bottom-right-radius:1000px;border-top-right-radius:1000px}}@media only screen and (max-width: 40em){.button-group.round.stack-for-small>*{margin:0 -2px;display:inline-block;display:block;margin:0}.button-group.round.stack-for-small>*>button,.button-group.round.stack-for-small>* .button{border-left:1px solid;border-color:rgba(255,255,255,0.5)}.button-group.round.stack-for-small>*:first-child button,.button-group.round.stack-for-small>*:first-child .button{border-left:0}.button-group.round.stack-for-small>*>button,.button-group.round.stack-for-small>* .button{border-top:1px solid;border-color:rgba(255,255,255,0.5);border-left-width:0px;margin:0;display:block}.button-group.round.stack-for-small>*:first-child button,.button-group.round.stack-for-small>*:first-child .button{border-top:0}.button-group.round.stack-for-small>*,.button-group.round.stack-for-small>*>a,.button-group.round.stack-for-small>*>button,.button-group.round.stack-for-small>*>.button{border-radius:0}.button-group.round.stack-for-small>*:first-child,.button-group.round.stack-for-small>*:first-child>a,.button-group.round.stack-for-small>*:first-child>button,.button-group.round.stack-for-small>*:first-child>.button{-webkit-top-left-radius:1rem;-webkit-top-right-radius:1rem;border-top-left-radius:1rem;border-top-right-radius:1rem}.button-group.round.stack-for-small>*:last-child,.button-group.round.stack-for-small>*:last-child>a,.button-group.round.stack-for-small>*:last-child>button,.button-group.round.stack-for-small>*:last-child>.button{-webkit-bottom-left-radius:1rem;-webkit-bottom-right-radius:1rem;border-bottom-left-radius:1rem;border-bottom-right-radius:1rem}}.button-group.even-2 li{margin:0 -2px;display:inline-block;width:50%}.button-group.even-2 li>button,.button-group.even-2 li .button{border-left:1px solid;border-color:rgba(255,255,255,0.5)}.button-group.even-2 li:first-child button,.button-group.even-2 li:first-child .button{border-left:0}.button-group.even-2 li button,.button-group.even-2 li .button{width:100%}.button-group.even-3 li{margin:0 -2px;display:inline-block;width:33.33333%}.button-group.even-3 li>button,.button-group.even-3 li .button{border-left:1px solid;border-color:rgba(255,255,255,0.5)}.button-group.even-3 li:first-child button,.button-group.even-3 li:first-child .button{border-left:0}.button-group.even-3 li button,.button-group.even-3 li .button{width:100%}.button-group.even-4 li{margin:0 -2px;display:inline-block;width:25%}.button-group.even-4 li>button,.button-group.even-4 li .button{border-left:1px solid;border-color:rgba(255,255,255,0.5)}.button-group.even-4 li:first-child button,.button-group.even-4 li:first-child .button{border-left:0}.button-group.even-4 li button,.button-group.even-4 li .button{width:100%}.button-group.even-5 li{margin:0 -2px;display:inline-block;width:20%}.button-group.even-5 li>button,.button-group.even-5 li .button{border-left:1px solid;border-color:rgba(255,255,255,0.5)}.button-group.even-5 li:first-child button,.button-group.even-5 li:first-child .button{border-left:0}.button-group.even-5 li button,.button-group.even-5 li .button{width:100%}.button-group.even-6 li{margin:0 -2px;display:inline-block;width:16.66667%}.button-group.even-6 li>button,.button-group.even-6 li .button{border-left:1px solid;border-color:rgba(255,255,255,0.5)}.button-group.even-6 li:first-child button,.button-group.even-6 li:first-child .button{border-left:0}.button-group.even-6 li button,.button-group.even-6 li .button{width:100%}.button-group.even-7 li{margin:0 -2px;display:inline-block;width:14.28571%}.button-group.even-7 li>button,.button-group.even-7 li .button{border-left:1px solid;border-color:rgba(255,255,255,0.5)}.button-group.even-7 li:first-child button,.button-group.even-7 li:first-child .button{border-left:0}.button-group.even-7 li button,.button-group.even-7 li .button{width:100%}.button-group.even-8 li{margin:0 -2px;display:inline-block;width:12.5%}.button-group.even-8 li>button,.button-group.even-8 li .button{border-left:1px solid;border-color:rgba(255,255,255,0.5)}.button-group.even-8 li:first-child button,.button-group.even-8 li:first-child .button{border-left:0}.button-group.even-8 li button,.button-group.even-8 li .button{width:100%}.button-bar:before,.button-bar:after{content:" ";display:table}.button-bar:after{clear:both}.button-bar .button-group{float:left;margin-right:0.625rem}.button-bar .button-group div{overflow:hidden}.panel{border-style:solid;border-width:1px;border-color:#d8d8d8;margin-bottom:1.25rem;padding:1.25rem;background:#f2f2f2;color:#333}.panel>:first-child{margin-top:0}.panel>:last-child{margin-bottom:0}.panel h1,.panel h2,.panel h3,.panel h4,.panel h5,.panel h6,.panel p,.panel li,.panel dl{color:#333}.panel h1,.panel h2,.panel h3,.panel h4,.panel h5,.panel h6{line-height:1;margin-bottom:0.625rem}.panel h1.subheader,.panel h2.subheader,.panel h3.subheader,.panel h4.subheader,.panel h5.subheader,.panel h6.subheader{line-height:1.4}.panel.callout{border-style:solid;border-width:1px;border-color:#b9effd;margin-bottom:1.25rem;padding:1.25rem;background:#edfbfe;color:#333}.panel.callout>:first-child{margin-top:0}.panel.callout>:last-child{margin-bottom:0}.panel.callout h1,.panel.callout h2,.panel.callout h3,.panel.callout h4,.panel.callout h5,.panel.callout h6,.panel.callout p,.panel.callout li,.panel.callout dl{color:#333}.panel.callout h1,.panel.callout h2,.panel.callout h3,.panel.callout h4,.panel.callout h5,.panel.callout h6{line-height:1;margin-bottom:0.625rem}.panel.callout h1.subheader,.panel.callout h2.subheader,.panel.callout h3.subheader,.panel.callout h4.subheader,.panel.callout h5.subheader,.panel.callout h6.subheader{line-height:1.4}.panel.callout a:not(.button){color:#06a2cb}.panel.radius{border-radius:3px}.dropdown.button,button.dropdown{position:relative;outline:none;padding-right:3.5625rem}.dropdown.button::after,button.dropdown::after{position:absolute;content:"";width:0;height:0;display:block;border-style:solid;border-color:#fff transparent transparent transparent;top:50%}.dropdown.button::after,button.dropdown::after{border-width:0.375rem;right:1.40625rem;margin-top:-0.15625rem}.dropdown.button::after,button.dropdown::after{border-color:#fff transparent transparent transparent}.dropdown.button.tiny,button.dropdown.tiny{padding-right:2.625rem}.dropdown.button.tiny:after,button.dropdown.tiny:after{border-width:0.375rem;right:1.125rem;margin-top:-0.125rem}.dropdown.button.tiny::after,button.dropdown.tiny::after{border-color:#fff transparent transparent transparent}.dropdown.button.small,button.dropdown.small{padding-right:3.0625rem}.dropdown.button.small::after,button.dropdown.small::after{border-width:0.4375rem;right:1.3125rem;margin-top:-0.15625rem}.dropdown.button.small::after,button.dropdown.small::after{border-color:#fff transparent transparent transparent}.dropdown.button.large,button.dropdown.large{padding-right:3.625rem}.dropdown.button.large::after,button.dropdown.large::after{border-width:0.3125rem;right:1.71875rem;margin-top:-0.15625rem}.dropdown.button.large::after,button.dropdown.large::after{border-color:#fff transparent transparent transparent}.dropdown.button.secondary:after,button.dropdown.secondary:after{border-color:#333 transparent transparent transparent}.th{line-height:0;display:inline-block;border:solid 4px #fff;max-width:100%;box-shadow:0 0 0 1px rgba(0,0,0,0.2);transition:all 200ms ease-out}.th:hover,.th:focus{box-shadow:0 0 6px 1px rgba(6,162,203,0.5)}.th.radius{border-radius:3px}.pricing-table{border:solid 1px #ddd;margin-left:0;margin-bottom:1.25rem}.pricing-table *{list-style:none;line-height:1}.pricing-table .title{background-color:#333;padding:0.9375rem 1.25rem;text-align:center;color:#eee;font-weight:normal;font-size:1rem;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif}.pricing-table .price{background-color:#f6f6f6;padding:0.9375rem 1.25rem;text-align:center;color:#333;font-weight:normal;font-size:2rem;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif}.pricing-table .description{background-color:#fff;padding:0.9375rem;text-align:center;color:#777;font-size:0.75rem;font-weight:normal;line-height:1.4;border-bottom:dotted 1px #ddd}.pricing-table .bullet-item{background-color:#fff;padding:0.9375rem;text-align:center;color:#333;font-size:0.875rem;font-weight:normal;border-bottom:dotted 1px #ddd}.pricing-table .cta-button{background-color:#fff;text-align:center;padding:1.25rem 1.25rem 0}.icon-bar{width:100%;font-size:0;display:inline-block;background:#333}.icon-bar>*{text-align:center;font-size:1rem;width:25%;margin:0 auto;display:block;padding:1.25rem;float:left}.icon-bar>* i,.icon-bar>* img{display:block;margin:0 auto}.icon-bar>* i+label,.icon-bar>* img+label{margin-top:.0625rem}.icon-bar>* i{font-size:1.875rem;vertical-align:middle}.icon-bar>* img{width:1.875rem;height:1.875rem}.icon-bar.label-right>* i,.icon-bar.label-right>* img{margin:0 .0625rem 0 0;display:inline-block}.icon-bar.label-right>* i+label,.icon-bar.label-right>* img+label{margin-top:0}.icon-bar.label-right>* label{display:inline-block}.icon-bar.vertical.label-right>*{text-align:left}.icon-bar.vertical,.icon-bar.small-vertical{height:100%;width:auto}.icon-bar.vertical .item,.icon-bar.small-vertical .item{width:auto;margin:auto;float:none}@media only screen and (min-width: 40.063em){.icon-bar.medium-vertical{height:100%;width:auto}.icon-bar.medium-vertical .item{width:auto;margin:auto;float:none}}@media only screen and (min-width: 64.063em){.icon-bar.large-vertical{height:100%;width:auto}.icon-bar.large-vertical .item{width:auto;margin:auto;float:none}}.icon-bar>*{font-size:1rem;padding:1.25rem}.icon-bar>* i+label,.icon-bar>* img+label{margin-top:.0625rem}.icon-bar>* i{font-size:1.875rem}.icon-bar>* img{width:1.875rem;height:1.875rem}.icon-bar>*:hover{background:#06a2cb}.icon-bar>* label{color:#fff}.icon-bar>* i{color:#fff}.icon-bar.two-up .item{width:50%}.icon-bar.two-up.vertical .item,.icon-bar.two-up.small-vertical .item{width:auto}@media only screen and (min-width: 40.063em){.icon-bar.two-up.medium-vertical .item{width:auto}}@media only screen and (min-width: 64.063em){.icon-bar.two-up.large-vertical .item{width:auto}}.icon-bar.three-up .item{width:33.3333%}.icon-bar.three-up.vertical .item,.icon-bar.three-up.small-vertical .item{width:auto}@media only screen and (min-width: 40.063em){.icon-bar.three-up.medium-vertical .item{width:auto}}@media only screen and (min-width: 64.063em){.icon-bar.three-up.large-vertical .item{width:auto}}.icon-bar.four-up .item{width:25%}.icon-bar.four-up.vertical .item,.icon-bar.four-up.small-vertical .item{width:auto}@media only screen and (min-width: 40.063em){.icon-bar.four-up.medium-vertical .item{width:auto}}@media only screen and (min-width: 64.063em){.icon-bar.four-up.large-vertical .item{width:auto}}.icon-bar.five-up .item{width:20%}.icon-bar.five-up.vertical .item,.icon-bar.five-up.small-vertical .item{width:auto}@media only screen and (min-width: 40.063em){.icon-bar.five-up.medium-vertical .item{width:auto}}@media only screen and (min-width: 64.063em){.icon-bar.five-up.large-vertical .item{width:auto}}.icon-bar.six-up .item{width:16.66667%}.icon-bar.six-up.vertical .item,.icon-bar.six-up.small-vertical .item{width:auto}@media only screen and (min-width: 40.063em){.icon-bar.six-up.medium-vertical .item{width:auto}}@media only screen and (min-width: 64.063em){.icon-bar.six-up.large-vertical .item{width:auto}}.tabs{margin-bottom:0 !important;margin-left:0}.tabs:before,.tabs:after{content:" ";display:table}.tabs:after{clear:both}.tabs dd,.tabs .tab-title{position:relative;margin-bottom:0 !important;list-style:none;float:left}.tabs dd>a,.tabs .tab-title>a{outline:none;display:block;background-color:#efefef;color:#222;padding:1rem 2rem;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;font-size:1rem}.tabs dd>a:hover,.tabs .tab-title>a:hover{background-color:#e1e1e1}.tabs dd.active a,.tabs .tab-title.active a{background-color:#fff;color:#222}.tabs.radius dd:first-child a,.tabs.radius .tab:first-child a{-webkit-border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-left-radius:3px}.tabs.radius dd:last-child a,.tabs.radius .tab:last-child a{-webkit-border-bottom-right-radius:3px;-webkit-border-top-right-radius:3px;border-bottom-right-radius:3px;border-top-right-radius:3px}.tabs.vertical dd,.tabs.vertical .tab-title{position:inherit;float:none;display:block;top:auto}.tabs-content{margin-bottom:1.5rem;width:100%}.tabs-content:before,.tabs-content:after{content:" ";display:table}.tabs-content:after{clear:both}.tabs-content>.content{display:none;float:left;padding:0.9375em 0;width:100%}.tabs-content>.content.active{display:block;float:none}.tabs-content>.content.contained{padding:0.9375em}.tabs-content.vertical{display:block}.tabs-content.vertical>.content{padding:0 0.9375em}@media only screen and (min-width: 40.063em){.tabs.vertical{width:20%;max-width:20%;float:left;margin:0 0 1.25rem}.tabs-content.vertical{width:80%;max-width:80%;float:left;margin-left:-1px;padding-left:1rem}}.no-js .tabs-content>.content{display:block;float:none}ul.pagination{display:block;min-height:1.5rem;margin-left:-0.3125rem}ul.pagination li{height:1.5rem;color:#222;font-size:0.875rem;margin-left:0.3125rem}ul.pagination li a,ul.pagination li button{display:block;padding:0.0625rem 0.625rem 0.0625rem;color:#999;background:none;border-radius:3px;font-weight:normal;font-size:1em;line-height:inherit;transition:background-color 300ms ease-out}ul.pagination li:hover a,ul.pagination li a:focus,ul.pagination li:hover button,ul.pagination li button:focus{background:#e6e6e6}ul.pagination li.unavailable a,ul.pagination li.unavailable button{cursor:default;color:#999}ul.pagination li.unavailable:hover a,ul.pagination li.unavailable a:focus,ul.pagination li.unavailable:hover button,ul.pagination li.unavailable button:focus{background:transparent}ul.pagination li.current a,ul.pagination li.current button{background:#06a2cb;color:#fff;font-weight:bold;cursor:default}ul.pagination li.current a:hover,ul.pagination li.current a:focus,ul.pagination li.current button:hover,ul.pagination li.current button:focus{background:#06a2cb}ul.pagination li{float:left;display:block}.pagination-centered{text-align:center}.pagination-centered ul.pagination li{float:none;display:inline-block}.side-nav{display:block;margin:0;padding:0.875rem 0;list-style-type:none;list-style-position:outside;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif}.side-nav li{margin:0 0 0.4375rem 0;font-size:0.875rem;font-weight:normal}.side-nav li a:not(.button){display:block;color:#06a2cb;margin:0;padding:0.4375rem 0.875rem}.side-nav li a:not(.button):hover,.side-nav li a:not(.button):focus{background:rgba(0,0,0,0.025);color:#32d0f9}.side-nav li.active>a:first-child:not(.button){color:#32d0f9;font-weight:normal;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif}.side-nav li.divider{border-top:1px solid;height:0;padding:0;list-style:none;border-top-color:#fff}.side-nav li.heading{color:#06a2cb;font-size:0.875rem;font-weight:bold;text-transform:uppercase}.accordion{margin-bottom:0}.accordion:before,.accordion:after{content:" ";display:table}.accordion:after{clear:both}.accordion .accordion-navigation,.accordion dd{display:block;margin-bottom:0 !important}.accordion .accordion-navigation.active>a,.accordion dd.active>a{background:#e8e8e8}.accordion .accordion-navigation>a,.accordion dd>a{background:#efefef;color:#222;padding:1rem;display:block;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;font-size:1rem}.accordion .accordion-navigation>a:hover,.accordion dd>a:hover{background:#e3e3e3}.accordion .accordion-navigation>.content,.accordion dd>.content{display:none;padding:0.9375em}.accordion .accordion-navigation>.content.active,.accordion dd>.content.active{display:block;background:#fff}.text-left{text-align:left !important}.text-right{text-align:right !important}.text-center{text-align:center !important}.text-justify{text-align:justify !important}@media only screen and (max-width: 40em){.small-only-text-left{text-align:left !important}.small-only-text-right{text-align:right !important}.small-only-text-center{text-align:center !important}.small-only-text-justify{text-align:justify !important}}@media only screen{.small-text-left{text-align:left !important}.small-text-right{text-align:right !important}.small-text-center{text-align:center !important}.small-text-justify{text-align:justify !important}}@media only screen and (min-width: 40.063em) and (max-width: 64em){.medium-only-text-left{text-align:left !important}.medium-only-text-right{text-align:right !important}.medium-only-text-center{text-align:center !important}.medium-only-text-justify{text-align:justify !important}}@media only screen and (min-width: 40.063em){.medium-text-left{text-align:left !important}.medium-text-right{text-align:right !important}.medium-text-center{text-align:center !important}.medium-text-justify{text-align:justify !important}}@media only screen and (min-width: 64.063em) and (max-width: 90em){.large-only-text-left{text-align:left !important}.large-only-text-right{text-align:right !important}.large-only-text-center{text-align:center !important}.large-only-text-justify{text-align:justify !important}}@media only screen and (min-width: 64.063em){.large-text-left{text-align:left !important}.large-text-right{text-align:right !important}.large-text-center{text-align:center !important}.large-text-justify{text-align:justify !important}}@media only screen and (min-width: 90.063em) and (max-width: 120em){.xlarge-only-text-left{text-align:left !important}.xlarge-only-text-right{text-align:right !important}.xlarge-only-text-center{text-align:center !important}.xlarge-only-text-justify{text-align:justify !important}}@media only screen and (min-width: 90.063em){.xlarge-text-left{text-align:left !important}.xlarge-text-right{text-align:right !important}.xlarge-text-center{text-align:center !important}.xlarge-text-justify{text-align:justify !important}}@media only screen and (min-width: 120.063em) and (max-width: 99999999em){.xxlarge-only-text-left{text-align:left !important}.xxlarge-only-text-right{text-align:right !important}.xxlarge-only-text-center{text-align:center !important}.xxlarge-only-text-justify{text-align:justify !important}}@media only screen and (min-width: 120.063em){.xxlarge-text-left{text-align:left !important}.xxlarge-text-right{text-align:right !important}.xxlarge-text-center{text-align:center !important}.xxlarge-text-justify{text-align:justify !important}}div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,th,td{margin:0;padding:0}a{color:#06a2cb;text-decoration:none;line-height:inherit}a:hover,a:focus{color:#058baf}a img{border:none}p{font-family:inherit;font-weight:normal;font-size:1rem;line-height:1.6;margin-bottom:1.25rem;text-rendering:optimizeLegibility}p.lead{font-size:1.21875rem;line-height:1.6}p aside{font-size:0.875rem;line-height:1.35;font-style:italic}h1,h2,h3,h4,h5,h6{font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;font-weight:normal;font-style:normal;color:#192823;text-rendering:optimizeLegibility;margin-top:0.2rem;margin-bottom:0.5rem;line-height:1.4}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-size:60%;color:#587;line-height:0}h1{font-size:2.125rem}h2{font-size:1.6875rem}h3{font-size:1.375rem}h4{font-size:1.125rem}h5{font-size:1.125rem}h6{font-size:1rem}.subheader{line-height:1.4;color:#587;font-weight:normal;margin-top:0.2rem;margin-bottom:0.5rem}hr{border:solid #ddd;border-width:1px 0 0;clear:both;margin:1.25rem 0 1.1875rem;height:0}em,i{font-style:italic;line-height:inherit}strong,b{font-weight:bold;line-height:inherit}small{font-size:60%;line-height:inherit}code{font-family:Consolas,"Liberation Mono",Courier,monospace;font-weight:normal;color:#333;background-color:#f8f8f8;border-width:1px;border-style:solid;border-color:#e0e0e0;padding:0.125rem 0.3125rem 0.0625rem}ul,ol,dl{font-size:1rem;line-height:1.6;margin-bottom:1.25rem;list-style-position:outside;font-family:inherit}ul{margin-left:1.1rem}ul.no-bullet{margin-left:0}ul.no-bullet li ul,ul.no-bullet li ol{margin-left:1.25rem;margin-bottom:0;list-style:none}ul li ul,ul li ol{margin-left:1.25rem;margin-bottom:0}ul.square li ul,ul.circle li ul,ul.disc li ul{list-style:inherit}ul.square{list-style-type:square;margin-left:1.1rem}ul.circle{list-style-type:circle;margin-left:1.1rem}ul.disc{list-style-type:disc;margin-left:1.1rem}ul.no-bullet{list-style:none}ol{margin-left:1.4rem}ol li ul,ol li ol{margin-left:1.25rem;margin-bottom:0}dl dt{margin-bottom:0.3rem;font-weight:bold}dl dd{margin-bottom:0.75rem}abbr,acronym{text-transform:uppercase;font-size:90%;color:#192823;cursor:help}abbr{text-transform:none}abbr[title]{border-bottom:1px dotted #ddd}blockquote{margin:0 0 1.25rem;padding:0.5625rem 1.25rem 0 1.1875rem;border-left:1px solid #ddd}blockquote cite{display:block;font-size:0.8125rem;color:#40675a}blockquote cite:before{content:"\2014 \0020"}blockquote cite a,blockquote cite a:visited{color:#40675a}blockquote,blockquote p{line-height:1.6;color:#587}.vcard{display:inline-block;margin:0 0 1.25rem 0;border:1px solid #ddd;padding:0.625rem 0.75rem}.vcard li{margin:0;display:block}.vcard .fn{font-weight:bold;font-size:0.9375rem}.vevent .summary{font-weight:bold}.vevent abbr{cursor:default;text-decoration:none;font-weight:bold;border:none;padding:0 0.0625rem}@media only screen and (min-width: 40.063em){h1,h2,h3,h4,h5,h6{line-height:1.4}h1{font-size:2.75rem}h2{font-size:2.3125rem}h3{font-size:1.6875rem}h4{font-size:1.4375rem}h5{font-size:1.125rem}h6{font-size:1rem}}.print-only{display:none !important}@media print{*{background:transparent !important;color:#000 !important;box-shadow:none !important;text-shadow:none !important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}@page{margin:0.5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}.hide-on-print{display:none !important}.print-only{display:block !important}.hide-for-print{display:none !important}.show-for-print{display:inherit !important}}.split.button{position:relative;padding-right:5.0625rem}.split.button span{display:block;height:100%;position:absolute;right:0;top:0;border-left:solid 1px}.split.button span:after{position:absolute;content:"";width:0;height:0;display:block;border-style:inset;top:50%;left:50%}.split.button span:active{background-color:rgba(0,0,0,0.1)}.split.button span{border-left-color:rgba(255,255,255,0.5)}.split.button span{width:3.09375rem}.split.button span:after{border-top-style:solid;border-width:0.375rem;top:48%;margin-left:-0.375rem}.split.button span:after{border-color:#fff transparent transparent transparent}.split.button.secondary span{border-left-color:rgba(255,255,255,0.5)}.split.button.secondary span:after{border-color:#fff transparent transparent transparent}.split.button.alert span{border-left-color:rgba(255,255,255,0.5)}.split.button.success span{border-left-color:rgba(255,255,255,0.5)}.split.button.tiny{padding-right:3.75rem}.split.button.tiny span{width:2.25rem}.split.button.tiny span:after{border-top-style:solid;border-width:0.375rem;top:48%;margin-left:-0.375rem}.split.button.small{padding-right:4.375rem}.split.button.small span{width:2.625rem}.split.button.small span:after{border-top-style:solid;border-width:0.4375rem;top:48%;margin-left:-0.375rem}.split.button.large{padding-right:5.5rem}.split.button.large span{width:3.4375rem}.split.button.large span:after{border-top-style:solid;border-width:0.3125rem;top:48%;margin-left:-0.375rem}.split.button.expand{padding-left:2rem}.split.button.secondary span:after{border-color:#333 transparent transparent transparent}.split.button.radius span{-webkit-border-bottom-right-radius:3px;-webkit-border-top-right-radius:3px;border-bottom-right-radius:3px;border-top-right-radius:3px}.split.button.round span{-webkit-border-bottom-right-radius:1000px;-webkit-border-top-right-radius:1000px;border-bottom-right-radius:1000px;border-top-right-radius:1000px}.reveal-modal-bg{position:fixed;top:0;bottom:0;left:0;right:0;background:#000;background:rgba(0,0,0,0.45);z-index:1004;display:none;left:0}.reveal-modal,dialog{visibility:hidden;display:none;position:absolute;z-index:1005;width:100vw;top:0;border-radius:3px;left:0;background-color:#fff;padding:1.25rem;border:solid 1px #666;box-shadow:0 0 10px rgba(0,0,0,0.4);padding:1.875rem}@media only screen and (max-width: 40em){.reveal-modal,dialog{min-height:100vh}}.reveal-modal .column,dialog .column,.reveal-modal .columns,dialog .columns{min-width:0}.reveal-modal>:first-child,dialog>:first-child{margin-top:0}.reveal-modal>:last-child,dialog>:last-child{margin-bottom:0}@media only screen and (min-width: 40.063em){.reveal-modal,dialog{width:80%;max-width:62.5em;left:0;right:0;margin:0 auto}}@media only screen and (min-width: 40.063em){.reveal-modal,dialog{top:6.25rem}}.reveal-modal.radius,dialog.radius{border-radius:3px}.reveal-modal.round,dialog.round{border-radius:1000px}.reveal-modal.collapse,dialog.collapse{padding:0}@media only screen and (min-width: 40.063em){.reveal-modal.tiny,dialog.tiny{width:30%;max-width:62.5em;left:0;right:0;margin:0 auto}}@media only screen and (min-width: 40.063em){.reveal-modal.small,dialog.small{width:40%;max-width:62.5em;left:0;right:0;margin:0 auto}}@media only screen and (min-width: 40.063em){.reveal-modal.medium,dialog.medium{width:60%;max-width:62.5em;left:0;right:0;margin:0 auto}}@media only screen and (min-width: 40.063em){.reveal-modal.large,dialog.large{width:70%;max-width:62.5em;left:0;right:0;margin:0 auto}}@media only screen and (min-width: 40.063em){.reveal-modal.xlarge,dialog.xlarge{width:95%;max-width:62.5em;left:0;right:0;margin:0 auto}}.reveal-modal.full,dialog.full{top:0;left:0;height:100%;height:100vh;min-height:100vh;max-width:none !important;margin-left:0 !important}@media only screen and (min-width: 40.063em){.reveal-modal.full,dialog.full{width:100vw;max-width:62.5em;left:0;right:0;margin:0 auto}}.reveal-modal .close-reveal-modal,dialog .close-reveal-modal{font-size:2.5rem;line-height:1;position:absolute;top:0.5rem;right:0.6875rem;color:#aaa;font-weight:bold;cursor:pointer}dialog{display:none}dialog::backdrop,dialog+.backdrop{position:fixed;top:0;bottom:0;left:0;right:0;background:#000;background:rgba(0,0,0,0.45);z-index:auto;display:none;left:0}dialog[open]{display:block}@media print{dialog,.reveal-modal,dialog{display:none;background:#fff !important}}.has-tip{border-bottom:dotted 1px #ccc;cursor:help;font-weight:bold;color:#333}.has-tip:hover,.has-tip:focus{border-bottom:dotted 1px #03495b;color:#06a2cb}.has-tip.tip-left,.has-tip.tip-right{float:none !important}.tooltip{display:none;position:absolute;z-index:1006;font-weight:normal;font-size:0.875rem;line-height:1.3;padding:0.75rem;max-width:300px;left:50%;width:100%;color:#fff;background:#333}.tooltip>.nub{display:block;left:5px;position:absolute;width:0;height:0;border:solid 5px;border-color:transparent transparent #333 transparent;top:-10px;pointer-events:none}.tooltip>.nub.rtl{left:auto;right:5px}.tooltip.radius{border-radius:3px}.tooltip.round{border-radius:1000px}.tooltip.round>.nub{left:2rem}.tooltip.opened{color:#06a2cb !important;border-bottom:dotted 1px #03495b !important}.tap-to-close{display:block;font-size:0.625rem;color:#777;font-weight:normal}@media only screen and (min-width: 40.063em){.tooltip>.nub{border-color:transparent transparent #333 transparent;top:-10px}.tooltip.tip-top>.nub{border-color:#333 transparent transparent transparent;top:auto;bottom:-10px}.tooltip.tip-left,.tooltip.tip-right{float:none !important}.tooltip.tip-left>.nub{border-color:transparent transparent transparent #333;right:-10px;left:auto;top:50%;margin-top:-5px}.tooltip.tip-right>.nub{border-color:transparent #333 transparent transparent;right:auto;left:-10px;top:50%;margin-top:-5px}}.clearing-thumbs,[data-clearing]{margin-bottom:0;margin-left:0;list-style:none}.clearing-thumbs:before,.clearing-thumbs:after,[data-clearing]:before,[data-clearing]:after{content:" ";display:table}.clearing-thumbs:after,[data-clearing]:after{clear:both}.clearing-thumbs li,[data-clearing] li{float:left;margin-right:10px}.clearing-thumbs[class*="block-grid-"] li,[data-clearing][class*="block-grid-"] li{margin-right:0}.clearing-blackout{background:#333;position:fixed;width:100%;height:100%;top:0;left:0;z-index:998}.clearing-blackout .clearing-close{display:block}.clearing-container{position:relative;z-index:998;height:100%;overflow:hidden;margin:0}.clearing-touch-label{position:absolute;top:50%;left:50%;color:#aaa;font-size:0.6em}.visible-img{height:95%;position:relative}.visible-img img{position:absolute;left:50%;top:50%;margin-left:-50%;max-height:100%;max-width:100%}.clearing-caption{color:#ccc;font-size:0.875em;line-height:1.3;margin-bottom:0;text-align:center;bottom:0;background:#333;width:100%;padding:10px 30px 20px;position:absolute;left:0}.clearing-close{z-index:999;padding-left:20px;padding-top:10px;font-size:30px;line-height:1;color:#ccc;display:none}.clearing-close:hover,.clearing-close:focus{color:#ccc}.clearing-assembled .clearing-container{height:100%}.clearing-assembled .clearing-container .carousel>ul{display:none}.clearing-feature li{display:none}.clearing-feature li.clearing-featured-img{display:block}@media only screen and (min-width: 40.063em){.clearing-main-prev,.clearing-main-next{position:absolute;height:100%;width:40px;top:0}.clearing-main-prev>span,.clearing-main-next>span{position:absolute;top:50%;display:block;width:0;height:0;border:solid 12px}.clearing-main-prev>span:hover,.clearing-main-next>span:hover{opacity:0.8}.clearing-main-prev{left:0}.clearing-main-prev>span{left:5px;border-color:transparent;border-right-color:#ccc}.clearing-main-next{right:0}.clearing-main-next>span{border-color:transparent;border-left-color:#ccc}.clearing-main-prev.disabled,.clearing-main-next.disabled{opacity:0.3}.clearing-assembled .clearing-container .carousel{background:rgba(51,51,51,0.8);height:120px;margin-top:10px;text-align:center}.clearing-assembled .clearing-container .carousel>ul{display:inline-block;z-index:999;height:100%;position:relative;float:none}.clearing-assembled .clearing-container .carousel>ul li{display:block;width:120px;min-height:inherit;float:left;overflow:hidden;margin-right:0;padding:0;position:relative;cursor:pointer;opacity:0.4;clear:none}.clearing-assembled .clearing-container .carousel>ul li.fix-height img{height:100%;max-width:none}.clearing-assembled .clearing-container .carousel>ul li a.th{border:none;box-shadow:none;display:block}.clearing-assembled .clearing-container .carousel>ul li img{cursor:pointer !important;width:100% !important}.clearing-assembled .clearing-container .carousel>ul li.visible{opacity:1}.clearing-assembled .clearing-container .carousel>ul li:hover{opacity:0.8}.clearing-assembled .clearing-container .visible-img{background:#333;overflow:hidden;height:85%}.clearing-close{position:absolute;top:10px;right:20px;padding-left:0;padding-top:0}}.progress{background-color:#f6f6f6;height:1.5625rem;border:1px solid #fff;padding:0.125rem;margin-bottom:0.625rem}.progress .meter{background:#06a2cb;height:100%;display:block}.progress.secondary .meter{background:#e9e9e9;height:100%;display:block}.progress.success .meter{background:#218559;height:100%;display:block}.progress.alert .meter{background:#dd1e2f;height:100%;display:block}.progress.radius{border-radius:3px}.progress.radius .meter{border-radius:2px}.progress.round{border-radius:1000px}.progress.round .meter{border-radius:999px}.sub-nav{display:block;width:auto;overflow:hidden;margin-bottom:-0.25rem 0 1.125rem;padding-top:0.25rem}.sub-nav dt{text-transform:uppercase}.sub-nav dt,.sub-nav dd,.sub-nav li{float:left;display:inline;margin-left:1rem;margin-bottom:0;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;font-weight:normal;font-size:0.875rem;color:#999}.sub-nav dt a,.sub-nav dd a,.sub-nav li a{text-decoration:none;color:#999;padding:0.1875rem 1rem}.sub-nav dt a:hover,.sub-nav dd a:hover,.sub-nav li a:hover{color:#737373}.sub-nav dt.active a,.sub-nav dd.active a,.sub-nav li.active a{border-radius:3px;font-weight:normal;background:#06a2cb;padding:0.1875rem 1rem;cursor:default;color:#fff}.sub-nav dt.active a:hover,.sub-nav dd.active a:hover,.sub-nav li.active a:hover{background:#058baf}.label{font-weight:normal;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;text-align:center;text-decoration:none;line-height:1;white-space:nowrap;display:inline-block;position:relative;margin-bottom:inherit;padding:0.25rem 0.5rem 0.25rem;font-size:0.6875rem;background-color:#06a2cb;color:#fff}.label.radius{border-radius:3px}.label.round{border-radius:1000px}.label.alert{background-color:#dd1e2f;color:#fff}.label.warning{background-color:#f08a24;color:#fff}.label.success{background-color:#218559;color:#fff}.label.secondary{background-color:#e9e9e9;color:#333}.label.info{background-color:#a0d3e8;color:#333}.f-dropdown{position:absolute;left:-9999px;list-style:none;margin-left:0;outline:none;width:100%;max-height:none;height:auto;background:#fff;border:solid 1px #ccc;font-size:0.875rem;z-index:89;margin-top:2px;max-width:200px}.f-dropdown>*:first-child{margin-top:0}.f-dropdown>*:last-child{margin-bottom:0}.f-dropdown:before{content:"";display:block;width:0;height:0;border:inset 6px;border-color:transparent transparent #fff transparent;border-bottom-style:solid;position:absolute;top:-12px;left:10px;z-index:89}.f-dropdown:after{content:"";display:block;width:0;height:0;border:inset 7px;border-color:transparent transparent #ccc transparent;border-bottom-style:solid;position:absolute;top:-14px;left:9px;z-index:88}.f-dropdown.right:before{left:auto;right:10px}.f-dropdown.right:after{left:auto;right:9px}.f-dropdown.drop-right{position:absolute;left:-9999px;list-style:none;margin-left:0;outline:none;width:100%;max-height:none;height:auto;background:#fff;border:solid 1px #ccc;font-size:0.875rem;z-index:89;margin-top:0;margin-left:2px;max-width:200px}.f-dropdown.drop-right>*:first-child{margin-top:0}.f-dropdown.drop-right>*:last-child{margin-bottom:0}.f-dropdown.drop-right:before{content:"";display:block;width:0;height:0;border:inset 6px;border-color:transparent #fff transparent transparent;border-right-style:solid;position:absolute;top:10px;left:-12px;z-index:89}.f-dropdown.drop-right:after{content:"";display:block;width:0;height:0;border:inset 7px;border-color:transparent #ccc transparent transparent;border-right-style:solid;position:absolute;top:9px;left:-14px;z-index:88}.f-dropdown.drop-left{position:absolute;left:-9999px;list-style:none;margin-left:0;outline:none;width:100%;max-height:none;height:auto;background:#fff;border:solid 1px #ccc;font-size:0.875rem;z-index:89;margin-top:0;margin-left:-2px;max-width:200px}.f-dropdown.drop-left>*:first-child{margin-top:0}.f-dropdown.drop-left>*:last-child{margin-bottom:0}.f-dropdown.drop-left:before{content:"";display:block;width:0;height:0;border:inset 6px;border-color:transparent transparent transparent #fff;border-left-style:solid;position:absolute;top:10px;right:-12px;left:auto;z-index:89}.f-dropdown.drop-left:after{content:"";display:block;width:0;height:0;border:inset 7px;border-color:transparent transparent transparent #ccc;border-left-style:solid;position:absolute;top:9px;right:-14px;left:auto;z-index:88}.f-dropdown.drop-top{position:absolute;left:-9999px;list-style:none;margin-left:0;outline:none;width:100%;max-height:none;height:auto;background:#fff;border:solid 1px #ccc;font-size:0.875rem;z-index:89;margin-top:-2px;margin-left:0;max-width:200px}.f-dropdown.drop-top>*:first-child{margin-top:0}.f-dropdown.drop-top>*:last-child{margin-bottom:0}.f-dropdown.drop-top:before{content:"";display:block;width:0;height:0;border:inset 6px;border-color:#fff transparent transparent transparent;border-top-style:solid;position:absolute;top:auto;bottom:-12px;left:10px;right:auto;z-index:89}.f-dropdown.drop-top:after{content:"";display:block;width:0;height:0;border:inset 7px;border-color:#ccc transparent transparent transparent;border-top-style:solid;position:absolute;top:auto;bottom:-14px;left:9px;right:auto;z-index:88}.f-dropdown li{font-size:0.875rem;cursor:pointer;line-height:1.125rem;margin:0}.f-dropdown li:hover,.f-dropdown li:focus{background:#eee}.f-dropdown li.radius{border-radius:3px}.f-dropdown li a{display:block;padding:0.5rem;color:#555}.f-dropdown.content{position:absolute;left:-9999px;list-style:none;margin-left:0;outline:none;padding:1.25rem;width:100%;height:auto;max-height:none;background:#fff;border:solid 1px #ccc;font-size:0.875rem;z-index:89;max-width:200px}.f-dropdown.content>*:first-child{margin-top:0}.f-dropdown.content>*:last-child{margin-bottom:0}.f-dropdown.tiny{max-width:200px}.f-dropdown.small{max-width:300px}.f-dropdown.medium{max-width:500px}.f-dropdown.large{max-width:800px}.f-dropdown.mega{width:100% !important;max-width:100% !important}.f-dropdown.mega.open{left:0 !important}table{background:#fff;margin-bottom:1.25rem;border:solid 1px #ddd;table-layout:auto}table caption{background:transparent;color:#222;font-size:1rem;font-weight:bold}table thead{background:#f5f5f5}table thead tr th,table thead tr td{padding:0.5rem 0.625rem 0.625rem;font-size:0.875rem;font-weight:bold;color:#222}table tfoot{background:#f5f5f5}table tfoot tr th,table tfoot tr td{padding:0.5rem 0.625rem 0.625rem;font-size:0.875rem;font-weight:bold;color:#222}table tr th,table tr td{padding:0.5625rem 0.625rem;font-size:0.875rem;color:#222;text-align:left}table tr.even,table tr.alt,table tr:nth-of-type(even){background:#f9f9f9}table thead tr th,table tfoot tr th,table tfoot tr td,table tbody tr th,table tbody tr td,table tr td{display:table-cell;line-height:1.125rem}.range-slider{display:block;position:relative;width:100%;height:1rem;border:1px solid #ddd;margin:1.25rem 0;-ms-touch-action:none;touch-action:none;background:#fafafa}.range-slider.vertical-range{display:block;position:relative;width:100%;height:1rem;border:1px solid #ddd;margin:1.25rem 0;-ms-touch-action:none;touch-action:none;display:inline-block;width:1rem;height:12.5rem}.range-slider.vertical-range .range-slider-handle{margin-top:0;margin-left:-0.5rem;position:absolute;bottom:-10.5rem}.range-slider.vertical-range .range-slider-active-segment{width:0.875rem;height:auto;bottom:0}.range-slider.radius{background:#fafafa;border-radius:3px}.range-slider.radius .range-slider-handle{background:#06a2cb;border-radius:3px}.range-slider.radius .range-slider-handle:hover{background:#058fb3}.range-slider.round{background:#fafafa;border-radius:1000px}.range-slider.round .range-slider-handle{background:#06a2cb;border-radius:1000px}.range-slider.round .range-slider-handle:hover{background:#058fb3}.range-slider.disabled,.range-slider[disabled]{background:#fafafa;cursor:default;opacity:0.7}.range-slider.disabled .range-slider-handle,.range-slider[disabled] .range-slider-handle{background:#06a2cb;cursor:default;opacity:0.7}.range-slider.disabled .range-slider-handle:hover,.range-slider[disabled] .range-slider-handle:hover{background:#058fb3}.range-slider-active-segment{display:inline-block;position:absolute;height:0.875rem;background:#e7e7e7}.range-slider-handle{display:inline-block;position:absolute;z-index:1;top:-0.3125rem;width:2rem;height:1.375rem;border:1px solid none;cursor:pointer;-ms-touch-action:manipulation;touch-action:manipulation;background:#06a2cb}.range-slider-handle:hover{background:#058fb3}[class*="block-grid-"]{display:block;padding:0;margin:0 -0.625rem}[class*="block-grid-"]:before,[class*="block-grid-"]:after{content:" ";display:table}[class*="block-grid-"]:after{clear:both}[class*="block-grid-"]>li{display:block;height:auto;float:left;padding:0 0.625rem 1.25rem}@media only screen{.small-block-grid-1>li{width:100%;list-style:none}.small-block-grid-1>li:nth-of-type(1n){clear:none}.small-block-grid-1>li:nth-of-type(1n+1){clear:both}.small-block-grid-2>li{width:50%;list-style:none}.small-block-grid-2>li:nth-of-type(1n){clear:none}.small-block-grid-2>li:nth-of-type(2n+1){clear:both}.small-block-grid-3>li{width:33.33333%;list-style:none}.small-block-grid-3>li:nth-of-type(1n){clear:none}.small-block-grid-3>li:nth-of-type(3n+1){clear:both}.small-block-grid-4>li{width:25%;list-style:none}.small-block-grid-4>li:nth-of-type(1n){clear:none}.small-block-grid-4>li:nth-of-type(4n+1){clear:both}.small-block-grid-5>li{width:20%;list-style:none}.small-block-grid-5>li:nth-of-type(1n){clear:none}.small-block-grid-5>li:nth-of-type(5n+1){clear:both}.small-block-grid-6>li{width:16.66667%;list-style:none}.small-block-grid-6>li:nth-of-type(1n){clear:none}.small-block-grid-6>li:nth-of-type(6n+1){clear:both}.small-block-grid-7>li{width:14.28571%;list-style:none}.small-block-grid-7>li:nth-of-type(1n){clear:none}.small-block-grid-7>li:nth-of-type(7n+1){clear:both}.small-block-grid-8>li{width:12.5%;list-style:none}.small-block-grid-8>li:nth-of-type(1n){clear:none}.small-block-grid-8>li:nth-of-type(8n+1){clear:both}.small-block-grid-9>li{width:11.11111%;list-style:none}.small-block-grid-9>li:nth-of-type(1n){clear:none}.small-block-grid-9>li:nth-of-type(9n+1){clear:both}.small-block-grid-10>li{width:10%;list-style:none}.small-block-grid-10>li:nth-of-type(1n){clear:none}.small-block-grid-10>li:nth-of-type(10n+1){clear:both}.small-block-grid-11>li{width:9.09091%;list-style:none}.small-block-grid-11>li:nth-of-type(1n){clear:none}.small-block-grid-11>li:nth-of-type(11n+1){clear:both}.small-block-grid-12>li{width:8.33333%;list-style:none}.small-block-grid-12>li:nth-of-type(1n){clear:none}.small-block-grid-12>li:nth-of-type(12n+1){clear:both}}@media only screen and (min-width: 40.063em){.medium-block-grid-1>li{width:100%;list-style:none}.medium-block-grid-1>li:nth-of-type(1n){clear:none}.medium-block-grid-1>li:nth-of-type(1n+1){clear:both}.medium-block-grid-2>li{width:50%;list-style:none}.medium-block-grid-2>li:nth-of-type(1n){clear:none}.medium-block-grid-2>li:nth-of-type(2n+1){clear:both}.medium-block-grid-3>li{width:33.33333%;list-style:none}.medium-block-grid-3>li:nth-of-type(1n){clear:none}.medium-block-grid-3>li:nth-of-type(3n+1){clear:both}.medium-block-grid-4>li{width:25%;list-style:none}.medium-block-grid-4>li:nth-of-type(1n){clear:none}.medium-block-grid-4>li:nth-of-type(4n+1){clear:both}.medium-block-grid-5>li{width:20%;list-style:none}.medium-block-grid-5>li:nth-of-type(1n){clear:none}.medium-block-grid-5>li:nth-of-type(5n+1){clear:both}.medium-block-grid-6>li{width:16.66667%;list-style:none}.medium-block-grid-6>li:nth-of-type(1n){clear:none}.medium-block-grid-6>li:nth-of-type(6n+1){clear:both}.medium-block-grid-7>li{width:14.28571%;list-style:none}.medium-block-grid-7>li:nth-of-type(1n){clear:none}.medium-block-grid-7>li:nth-of-type(7n+1){clear:both}.medium-block-grid-8>li{width:12.5%;list-style:none}.medium-block-grid-8>li:nth-of-type(1n){clear:none}.medium-block-grid-8>li:nth-of-type(8n+1){clear:both}.medium-block-grid-9>li{width:11.11111%;list-style:none}.medium-block-grid-9>li:nth-of-type(1n){clear:none}.medium-block-grid-9>li:nth-of-type(9n+1){clear:both}.medium-block-grid-10>li{width:10%;list-style:none}.medium-block-grid-10>li:nth-of-type(1n){clear:none}.medium-block-grid-10>li:nth-of-type(10n+1){clear:both}.medium-block-grid-11>li{width:9.09091%;list-style:none}.medium-block-grid-11>li:nth-of-type(1n){clear:none}.medium-block-grid-11>li:nth-of-type(11n+1){clear:both}.medium-block-grid-12>li{width:8.33333%;list-style:none}.medium-block-grid-12>li:nth-of-type(1n){clear:none}.medium-block-grid-12>li:nth-of-type(12n+1){clear:both}}@media only screen and (min-width: 64.063em){.large-block-grid-1>li{width:100%;list-style:none}.large-block-grid-1>li:nth-of-type(1n){clear:none}.large-block-grid-1>li:nth-of-type(1n+1){clear:both}.large-block-grid-2>li{width:50%;list-style:none}.large-block-grid-2>li:nth-of-type(1n){clear:none}.large-block-grid-2>li:nth-of-type(2n+1){clear:both}.large-block-grid-3>li{width:33.33333%;list-style:none}.large-block-grid-3>li:nth-of-type(1n){clear:none}.large-block-grid-3>li:nth-of-type(3n+1){clear:both}.large-block-grid-4>li{width:25%;list-style:none}.large-block-grid-4>li:nth-of-type(1n){clear:none}.large-block-grid-4>li:nth-of-type(4n+1){clear:both}.large-block-grid-5>li{width:20%;list-style:none}.large-block-grid-5>li:nth-of-type(1n){clear:none}.large-block-grid-5>li:nth-of-type(5n+1){clear:both}.large-block-grid-6>li{width:16.66667%;list-style:none}.large-block-grid-6>li:nth-of-type(1n){clear:none}.large-block-grid-6>li:nth-of-type(6n+1){clear:both}.large-block-grid-7>li{width:14.28571%;list-style:none}.large-block-grid-7>li:nth-of-type(1n){clear:none}.large-block-grid-7>li:nth-of-type(7n+1){clear:both}.large-block-grid-8>li{width:12.5%;list-style:none}.large-block-grid-8>li:nth-of-type(1n){clear:none}.large-block-grid-8>li:nth-of-type(8n+1){clear:both}.large-block-grid-9>li{width:11.11111%;list-style:none}.large-block-grid-9>li:nth-of-type(1n){clear:none}.large-block-grid-9>li:nth-of-type(9n+1){clear:both}.large-block-grid-10>li{width:10%;list-style:none}.large-block-grid-10>li:nth-of-type(1n){clear:none}.large-block-grid-10>li:nth-of-type(10n+1){clear:both}.large-block-grid-11>li{width:9.09091%;list-style:none}.large-block-grid-11>li:nth-of-type(1n){clear:none}.large-block-grid-11>li:nth-of-type(11n+1){clear:both}.large-block-grid-12>li{width:8.33333%;list-style:none}.large-block-grid-12>li:nth-of-type(1n){clear:none}.large-block-grid-12>li:nth-of-type(12n+1){clear:both}}.flex-video{position:relative;padding-top:1.5625rem;padding-bottom:67.5%;height:0;margin-bottom:1rem;overflow:hidden}.flex-video.widescreen{padding-bottom:56.34%}.flex-video.vimeo{padding-top:0}.flex-video iframe,.flex-video object,.flex-video embed,.flex-video video{position:absolute;top:0;left:0;width:100%;height:100%}.keystroke,kbd{background-color:#ededed;border-color:#ddd;color:#222;border-style:solid;border-width:1px;margin:0;font-family:"Consolas","Menlo","Courier",monospace;font-size:inherit;padding:0.125rem 0.25rem 0;border-radius:3px}.switch{padding:0;border:none;position:relative;outline:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.switch label{display:block;margin-bottom:1rem;position:relative;color:transparent;background:#ddd;text-indent:100%;width:4rem;height:2rem;cursor:pointer;transition:left 0.15s ease-out}.switch input{opacity:0;position:absolute;top:9px;left:10px;padding:0}.switch input+label{margin-left:0;margin-right:0}.switch label:after{content:"";display:block;background:#fff;position:absolute;top:.25rem;left:.25rem;width:1.5rem;height:1.5rem;-webkit-transition:left 0.15s ease-out;-moz-transition:left 0.15s ease-out;transition:left 0.15s ease-out;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.switch input:checked+label{background:#06a2cb}.switch input:checked+label:after{left:2.25rem}.switch label{width:4rem;height:2rem}.switch label:after{width:1.5rem;height:1.5rem}.switch input:checked+label:after{left:2.25rem}.switch label{color:transparent;background:#ddd}.switch label:after{background:#fff}.switch input:checked+label{background:#06a2cb}.switch.large label{width:5rem;height:2.5rem}.switch.large label:after{width:2rem;height:2rem}.switch.large input:checked+label:after{left:2.75rem}.switch.small label{width:3.5rem;height:1.75rem}.switch.small label:after{width:1.25rem;height:1.25rem}.switch.small input:checked+label:after{left:2rem}.switch.tiny label{width:3rem;height:1.5rem}.switch.tiny label:after{width:1rem;height:1rem}.switch.tiny input:checked+label:after{left:1.75rem}.switch.radius label{border-radius:4px}.switch.radius label:after{border-radius:3px}.switch.round{border-radius:1000px}.switch.round label{border-radius:2rem}.switch.round label:after{border-radius:2rem}@media only screen{.show-for-small-only,.show-for-small-up,.show-for-small,.show-for-small-down,.hide-for-medium-only,.hide-for-medium-up,.hide-for-medium,.show-for-medium-down,.hide-for-large-only,.hide-for-large-up,.hide-for-large,.show-for-large-down,.hide-for-xlarge-only,.hide-for-xlarge-up,.hide-for-xxlarge-only,.hide-for-xxlarge-up{display:inherit !important}.hide-for-small-only,.hide-for-small-up,.hide-for-small,.hide-for-small-down,.show-for-medium-only,.show-for-medium-up,.show-for-medium,.hide-for-medium-down,.show-for-large-only,.show-for-large-up,.show-for-large,.hide-for-large-down,.show-for-xlarge-only,.show-for-xlarge-up,.show-for-xxlarge-only,.show-for-xxlarge-up{display:none !important}.visible-for-small-only,.visible-for-small-up,.visible-for-small,.visible-for-small-down,.hidden-for-medium-only,.hidden-for-medium-up,.hidden-for-medium,.visible-for-medium-down,.hidden-for-large-only,.hidden-for-large-up,.hidden-for-large,.visible-for-large-down,.hidden-for-xlarge-only,.hidden-for-xlarge-up,.hidden-for-xxlarge-only,.hidden-for-xxlarge-up{position:static !important;height:auto;width:auto;overflow:visible;clip:auto}.hidden-for-small-only,.hidden-for-small-up,.hidden-for-small,.hidden-for-small-down,.visible-for-medium-only,.visible-for-medium-up,.visible-for-medium,.hidden-for-medium-down,.visible-for-large-only,.visible-for-large-up,.visible-for-large,.hidden-for-large-down,.visible-for-xlarge-only,.visible-for-xlarge-up,.visible-for-xxlarge-only,.visible-for-xxlarge-up{position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px, 1px, 1px, 1px)}table.show-for-small-only,table.show-for-small-up,table.show-for-small,table.show-for-small-down,table.hide-for-medium-only,table.hide-for-medium-up,table.hide-for-medium,table.show-for-medium-down,table.hide-for-large-only,table.hide-for-large-up,table.hide-for-large,table.show-for-large-down,table.hide-for-xlarge-only,table.hide-for-xlarge-up,table.hide-for-xxlarge-only,table.hide-for-xxlarge-up{display:table !important}thead.show-for-small-only,thead.show-for-small-up,thead.show-for-small,thead.show-for-small-down,thead.hide-for-medium-only,thead.hide-for-medium-up,thead.hide-for-medium,thead.show-for-medium-down,thead.hide-for-large-only,thead.hide-for-large-up,thead.hide-for-large,thead.show-for-large-down,thead.hide-for-xlarge-only,thead.hide-for-xlarge-up,thead.hide-for-xxlarge-only,thead.hide-for-xxlarge-up{display:table-header-group !important}tbody.show-for-small-only,tbody.show-for-small-up,tbody.show-for-small,tbody.show-for-small-down,tbody.hide-for-medium-only,tbody.hide-for-medium-up,tbody.hide-for-medium,tbody.show-for-medium-down,tbody.hide-for-large-only,tbody.hide-for-large-up,tbody.hide-for-large,tbody.show-for-large-down,tbody.hide-for-xlarge-only,tbody.hide-for-xlarge-up,tbody.hide-for-xxlarge-only,tbody.hide-for-xxlarge-up{display:table-row-group !important}tr.show-for-small-only,tr.show-for-small-up,tr.show-for-small,tr.show-for-small-down,tr.hide-for-medium-only,tr.hide-for-medium-up,tr.hide-for-medium,tr.show-for-medium-down,tr.hide-for-large-only,tr.hide-for-large-up,tr.hide-for-large,tr.show-for-large-down,tr.hide-for-xlarge-only,tr.hide-for-xlarge-up,tr.hide-for-xxlarge-only,tr.hide-for-xxlarge-up{display:table-row !important}th.show-for-small-only,td.show-for-small-only,th.show-for-small-up,td.show-for-small-up,th.show-for-small,td.show-for-small,th.show-for-small-down,td.show-for-small-down,th.hide-for-medium-only,td.hide-for-medium-only,th.hide-for-medium-up,td.hide-for-medium-up,th.hide-for-medium,td.hide-for-medium,th.show-for-medium-down,td.show-for-medium-down,th.hide-for-large-only,td.hide-for-large-only,th.hide-for-large-up,td.hide-for-large-up,th.hide-for-large,td.hide-for-large,th.show-for-large-down,td.show-for-large-down,th.hide-for-xlarge-only,td.hide-for-xlarge-only,th.hide-for-xlarge-up,td.hide-for-xlarge-up,th.hide-for-xxlarge-only,td.hide-for-xxlarge-only,th.hide-for-xxlarge-up,td.hide-for-xxlarge-up{display:table-cell !important}}@media only screen and (min-width: 40.063em){.hide-for-small-only,.show-for-small-up,.hide-for-small,.hide-for-small-down,.show-for-medium-only,.show-for-medium-up,.show-for-medium,.show-for-medium-down,.hide-for-large-only,.hide-for-large-up,.hide-for-large,.show-for-large-down,.hide-for-xlarge-only,.hide-for-xlarge-up,.hide-for-xxlarge-only,.hide-for-xxlarge-up{display:inherit !important}.show-for-small-only,.hide-for-small-up,.show-for-small,.show-for-small-down,.hide-for-medium-only,.hide-for-medium-up,.hide-for-medium,.hide-for-medium-down,.show-for-large-only,.show-for-large-up,.show-for-large,.hide-for-large-down,.show-for-xlarge-only,.show-for-xlarge-up,.show-for-xxlarge-only,.show-for-xxlarge-up{display:none !important}.hidden-for-small-only,.visible-for-small-up,.hidden-for-small,.hidden-for-small-down,.visible-for-medium-only,.visible-for-medium-up,.visible-for-medium,.visible-for-medium-down,.hidden-for-large-only,.hidden-for-large-up,.hidden-for-large,.visible-for-large-down,.hidden-for-xlarge-only,.hidden-for-xlarge-up,.hidden-for-xxlarge-only,.hidden-for-xxlarge-up{position:static !important;height:auto;width:auto;overflow:visible;clip:auto}.visible-for-small-only,.hidden-for-small-up,.visible-for-small,.visible-for-small-down,.hidden-for-medium-only,.hidden-for-medium-up,.hidden-for-medium,.hidden-for-medium-down,.visible-for-large-only,.visible-for-large-up,.visible-for-large,.hidden-for-large-down,.visible-for-xlarge-only,.visible-for-xlarge-up,.visible-for-xxlarge-only,.visible-for-xxlarge-up{position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px, 1px, 1px, 1px)}table.hide-for-small-only,table.show-for-small-up,table.hide-for-small,table.hide-for-small-down,table.show-for-medium-only,table.show-for-medium-up,table.show-for-medium,table.show-for-medium-down,table.hide-for-large-only,table.hide-for-large-up,table.hide-for-large,table.show-for-large-down,table.hide-for-xlarge-only,table.hide-for-xlarge-up,table.hide-for-xxlarge-only,table.hide-for-xxlarge-up{display:table !important}thead.hide-for-small-only,thead.show-for-small-up,thead.hide-for-small,thead.hide-for-small-down,thead.show-for-medium-only,thead.show-for-medium-up,thead.show-for-medium,thead.show-for-medium-down,thead.hide-for-large-only,thead.hide-for-large-up,thead.hide-for-large,thead.show-for-large-down,thead.hide-for-xlarge-only,thead.hide-for-xlarge-up,thead.hide-for-xxlarge-only,thead.hide-for-xxlarge-up{display:table-header-group !important}tbody.hide-for-small-only,tbody.show-for-small-up,tbody.hide-for-small,tbody.hide-for-small-down,tbody.show-for-medium-only,tbody.show-for-medium-up,tbody.show-for-medium,tbody.show-for-medium-down,tbody.hide-for-large-only,tbody.hide-for-large-up,tbody.hide-for-large,tbody.show-for-large-down,tbody.hide-for-xlarge-only,tbody.hide-for-xlarge-up,tbody.hide-for-xxlarge-only,tbody.hide-for-xxlarge-up{display:table-row-group !important}tr.hide-for-small-only,tr.show-for-small-up,tr.hide-for-small,tr.hide-for-small-down,tr.show-for-medium-only,tr.show-for-medium-up,tr.show-for-medium,tr.show-for-medium-down,tr.hide-for-large-only,tr.hide-for-large-up,tr.hide-for-large,tr.show-for-large-down,tr.hide-for-xlarge-only,tr.hide-for-xlarge-up,tr.hide-for-xxlarge-only,tr.hide-for-xxlarge-up{display:table-row !important}th.hide-for-small-only,td.hide-for-small-only,th.show-for-small-up,td.show-for-small-up,th.hide-for-small,td.hide-for-small,th.hide-for-small-down,td.hide-for-small-down,th.show-for-medium-only,td.show-for-medium-only,th.show-for-medium-up,td.show-for-medium-up,th.show-for-medium,td.show-for-medium,th.show-for-medium-down,td.show-for-medium-down,th.hide-for-large-only,td.hide-for-large-only,th.hide-for-large-up,td.hide-for-large-up,th.hide-for-large,td.hide-for-large,th.show-for-large-down,td.show-for-large-down,th.hide-for-xlarge-only,td.hide-for-xlarge-only,th.hide-for-xlarge-up,td.hide-for-xlarge-up,th.hide-for-xxlarge-only,td.hide-for-xxlarge-only,th.hide-for-xxlarge-up,td.hide-for-xxlarge-up{display:table-cell !important}}@media only screen and (min-width: 64.063em){.hide-for-small-only,.show-for-small-up,.hide-for-small,.hide-for-small-down,.hide-for-medium-only,.show-for-medium-up,.hide-for-medium,.hide-for-medium-down,.show-for-large-only,.show-for-large-up,.show-for-large,.show-for-large-down,.hide-for-xlarge-only,.hide-for-xlarge-up,.hide-for-xxlarge-only,.hide-for-xxlarge-up{display:inherit !important}.show-for-small-only,.hide-for-small-up,.show-for-small,.show-for-small-down,.show-for-medium-only,.hide-for-medium-up,.show-for-medium,.show-for-medium-down,.hide-for-large-only,.hide-for-large-up,.hide-for-large,.hide-for-large-down,.show-for-xlarge-only,.show-for-xlarge-up,.show-for-xxlarge-only,.show-for-xxlarge-up{display:none !important}.hidden-for-small-only,.visible-for-small-up,.hidden-for-small,.hidden-for-small-down,.hidden-for-medium-only,.visible-for-medium-up,.hidden-for-medium,.hidden-for-medium-down,.visible-for-large-only,.visible-for-large-up,.visible-for-large,.visible-for-large-down,.hidden-for-xlarge-only,.hidden-for-xlarge-up,.hidden-for-xxlarge-only,.hidden-for-xxlarge-up{position:static !important;height:auto;width:auto;overflow:visible;clip:auto}.visible-for-small-only,.hidden-for-small-up,.visible-for-small,.visible-for-small-down,.visible-for-medium-only,.hidden-for-medium-up,.visible-for-medium,.visible-for-medium-down,.hidden-for-large-only,.hidden-for-large-up,.hidden-for-large,.hidden-for-large-down,.visible-for-xlarge-only,.visible-for-xlarge-up,.visible-for-xxlarge-only,.visible-for-xxlarge-up{position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px, 1px, 1px, 1px)}table.hide-for-small-only,table.show-for-small-up,table.hide-for-small,table.hide-for-small-down,table.hide-for-medium-only,table.show-for-medium-up,table.hide-for-medium,table.hide-for-medium-down,table.show-for-large-only,table.show-for-large-up,table.show-for-large,table.show-for-large-down,table.hide-for-xlarge-only,table.hide-for-xlarge-up,table.hide-for-xxlarge-only,table.hide-for-xxlarge-up{display:table !important}thead.hide-for-small-only,thead.show-for-small-up,thead.hide-for-small,thead.hide-for-small-down,thead.hide-for-medium-only,thead.show-for-medium-up,thead.hide-for-medium,thead.hide-for-medium-down,thead.show-for-large-only,thead.show-for-large-up,thead.show-for-large,thead.show-for-large-down,thead.hide-for-xlarge-only,thead.hide-for-xlarge-up,thead.hide-for-xxlarge-only,thead.hide-for-xxlarge-up{display:table-header-group !important}tbody.hide-for-small-only,tbody.show-for-small-up,tbody.hide-for-small,tbody.hide-for-small-down,tbody.hide-for-medium-only,tbody.show-for-medium-up,tbody.hide-for-medium,tbody.hide-for-medium-down,tbody.show-for-large-only,tbody.show-for-large-up,tbody.show-for-large,tbody.show-for-large-down,tbody.hide-for-xlarge-only,tbody.hide-for-xlarge-up,tbody.hide-for-xxlarge-only,tbody.hide-for-xxlarge-up{display:table-row-group !important}tr.hide-for-small-only,tr.show-for-small-up,tr.hide-for-small,tr.hide-for-small-down,tr.hide-for-medium-only,tr.show-for-medium-up,tr.hide-for-medium,tr.hide-for-medium-down,tr.show-for-large-only,tr.show-for-large-up,tr.show-for-large,tr.show-for-large-down,tr.hide-for-xlarge-only,tr.hide-for-xlarge-up,tr.hide-for-xxlarge-only,tr.hide-for-xxlarge-up{display:table-row !important}th.hide-for-small-only,td.hide-for-small-only,th.show-for-small-up,td.show-for-small-up,th.hide-for-small,td.hide-for-small,th.hide-for-small-down,td.hide-for-small-down,th.hide-for-medium-only,td.hide-for-medium-only,th.show-for-medium-up,td.show-for-medium-up,th.hide-for-medium,td.hide-for-medium,th.hide-for-medium-down,td.hide-for-medium-down,th.show-for-large-only,td.show-for-large-only,th.show-for-large-up,td.show-for-large-up,th.show-for-large,td.show-for-large,th.show-for-large-down,td.show-for-large-down,th.hide-for-xlarge-only,td.hide-for-xlarge-only,th.hide-for-xlarge-up,td.hide-for-xlarge-up,th.hide-for-xxlarge-only,td.hide-for-xxlarge-only,th.hide-for-xxlarge-up,td.hide-for-xxlarge-up{display:table-cell !important}}@media only screen and (min-width: 90.063em){.hide-for-small-only,.show-for-small-up,.hide-for-small,.hide-for-small-down,.hide-for-medium-only,.show-for-medium-up,.hide-for-medium,.hide-for-medium-down,.hide-for-large-only,.show-for-large-up,.hide-for-large,.hide-for-large-down,.show-for-xlarge-only,.show-for-xlarge-up,.hide-for-xxlarge-only,.hide-for-xxlarge-up{display:inherit !important}.show-for-small-only,.hide-for-small-up,.show-for-small,.show-for-small-down,.show-for-medium-only,.hide-for-medium-up,.show-for-medium,.show-for-medium-down,.show-for-large-only,.hide-for-large-up,.show-for-large,.show-for-large-down,.hide-for-xlarge-only,.hide-for-xlarge-up,.show-for-xxlarge-only,.show-for-xxlarge-up{display:none !important}.hidden-for-small-only,.visible-for-small-up,.hidden-for-small,.hidden-for-small-down,.hidden-for-medium-only,.visible-for-medium-up,.hidden-for-medium,.hidden-for-medium-down,.hidden-for-large-only,.visible-for-large-up,.hidden-for-large,.hidden-for-large-down,.visible-for-xlarge-only,.visible-for-xlarge-up,.hidden-for-xxlarge-only,.hidden-for-xxlarge-up{position:static !important;height:auto;width:auto;overflow:visible;clip:auto}.visible-for-small-only,.hidden-for-small-up,.visible-for-small,.visible-for-small-down,.visible-for-medium-only,.hidden-for-medium-up,.visible-for-medium,.visible-for-medium-down,.visible-for-large-only,.hidden-for-large-up,.visible-for-large,.visible-for-large-down,.hidden-for-xlarge-only,.hidden-for-xlarge-up,.visible-for-xxlarge-only,.visible-for-xxlarge-up{position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px, 1px, 1px, 1px)}table.hide-for-small-only,table.show-for-small-up,table.hide-for-small,table.hide-for-small-down,table.hide-for-medium-only,table.show-for-medium-up,table.hide-for-medium,table.hide-for-medium-down,table.hide-for-large-only,table.show-for-large-up,table.hide-for-large,table.hide-for-large-down,table.show-for-xlarge-only,table.show-for-xlarge-up,table.hide-for-xxlarge-only,table.hide-for-xxlarge-up{display:table !important}thead.hide-for-small-only,thead.show-for-small-up,thead.hide-for-small,thead.hide-for-small-down,thead.hide-for-medium-only,thead.show-for-medium-up,thead.hide-for-medium,thead.hide-for-medium-down,thead.hide-for-large-only,thead.show-for-large-up,thead.hide-for-large,thead.hide-for-large-down,thead.show-for-xlarge-only,thead.show-for-xlarge-up,thead.hide-for-xxlarge-only,thead.hide-for-xxlarge-up{display:table-header-group !important}tbody.hide-for-small-only,tbody.show-for-small-up,tbody.hide-for-small,tbody.hide-for-small-down,tbody.hide-for-medium-only,tbody.show-for-medium-up,tbody.hide-for-medium,tbody.hide-for-medium-down,tbody.hide-for-large-only,tbody.show-for-large-up,tbody.hide-for-large,tbody.hide-for-large-down,tbody.show-for-xlarge-only,tbody.show-for-xlarge-up,tbody.hide-for-xxlarge-only,tbody.hide-for-xxlarge-up{display:table-row-group !important}tr.hide-for-small-only,tr.show-for-small-up,tr.hide-for-small,tr.hide-for-small-down,tr.hide-for-medium-only,tr.show-for-medium-up,tr.hide-for-medium,tr.hide-for-medium-down,tr.hide-for-large-only,tr.show-for-large-up,tr.hide-for-large,tr.hide-for-large-down,tr.show-for-xlarge-only,tr.show-for-xlarge-up,tr.hide-for-xxlarge-only,tr.hide-for-xxlarge-up{display:table-row !important}th.hide-for-small-only,td.hide-for-small-only,th.show-for-small-up,td.show-for-small-up,th.hide-for-small,td.hide-for-small,th.hide-for-small-down,td.hide-for-small-down,th.hide-for-medium-only,td.hide-for-medium-only,th.show-for-medium-up,td.show-for-medium-up,th.hide-for-medium,td.hide-for-medium,th.hide-for-medium-down,td.hide-for-medium-down,th.hide-for-large-only,td.hide-for-large-only,th.show-for-large-up,td.show-for-large-up,th.hide-for-large,td.hide-for-large,th.hide-for-large-down,td.hide-for-large-down,th.show-for-xlarge-only,td.show-for-xlarge-only,th.show-for-xlarge-up,td.show-for-xlarge-up,th.hide-for-xxlarge-only,td.hide-for-xxlarge-only,th.hide-for-xxlarge-up,td.hide-for-xxlarge-up{display:table-cell !important}}@media only screen and (min-width: 120.063em){.hide-for-small-only,.show-for-small-up,.hide-for-small,.hide-for-small-down,.hide-for-medium-only,.show-for-medium-up,.hide-for-medium,.hide-for-medium-down,.hide-for-large-only,.show-for-large-up,.hide-for-large,.hide-for-large-down,.hide-for-xlarge-only,.show-for-xlarge-up,.show-for-xxlarge-only,.show-for-xxlarge-up{display:inherit !important}.show-for-small-only,.hide-for-small-up,.show-for-small,.show-for-small-down,.show-for-medium-only,.hide-for-medium-up,.show-for-medium,.show-for-medium-down,.show-for-large-only,.hide-for-large-up,.show-for-large,.show-for-large-down,.show-for-xlarge-only,.hide-for-xlarge-up,.hide-for-xxlarge-only,.hide-for-xxlarge-up{display:none !important}.hidden-for-small-only,.visible-for-small-up,.hidden-for-small,.hidden-for-small-down,.hidden-for-medium-only,.visible-for-medium-up,.hidden-for-medium,.hidden-for-medium-down,.hidden-for-large-only,.visible-for-large-up,.hidden-for-large,.hidden-for-large-down,.hidden-for-xlarge-only,.visible-for-xlarge-up,.visible-for-xxlarge-only,.visible-for-xxlarge-up{position:static !important;height:auto;width:auto;overflow:visible;clip:auto}.visible-for-small-only,.hidden-for-small-up,.visible-for-small,.visible-for-small-down,.visible-for-medium-only,.hidden-for-medium-up,.visible-for-medium,.visible-for-medium-down,.visible-for-large-only,.hidden-for-large-up,.visible-for-large,.visible-for-large-down,.visible-for-xlarge-only,.hidden-for-xlarge-up,.hidden-for-xxlarge-only,.hidden-for-xxlarge-up{position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px, 1px, 1px, 1px)}table.hide-for-small-only,table.show-for-small-up,table.hide-for-small,table.hide-for-small-down,table.hide-for-medium-only,table.show-for-medium-up,table.hide-for-medium,table.hide-for-medium-down,table.hide-for-large-only,table.show-for-large-up,table.hide-for-large,table.hide-for-large-down,table.hide-for-xlarge-only,table.show-for-xlarge-up,table.show-for-xxlarge-only,table.show-for-xxlarge-up{display:table !important}thead.hide-for-small-only,thead.show-for-small-up,thead.hide-for-small,thead.hide-for-small-down,thead.hide-for-medium-only,thead.show-for-medium-up,thead.hide-for-medium,thead.hide-for-medium-down,thead.hide-for-large-only,thead.show-for-large-up,thead.hide-for-large,thead.hide-for-large-down,thead.hide-for-xlarge-only,thead.show-for-xlarge-up,thead.show-for-xxlarge-only,thead.show-for-xxlarge-up{display:table-header-group !important}tbody.hide-for-small-only,tbody.show-for-small-up,tbody.hide-for-small,tbody.hide-for-small-down,tbody.hide-for-medium-only,tbody.show-for-medium-up,tbody.hide-for-medium,tbody.hide-for-medium-down,tbody.hide-for-large-only,tbody.show-for-large-up,tbody.hide-for-large,tbody.hide-for-large-down,tbody.hide-for-xlarge-only,tbody.show-for-xlarge-up,tbody.show-for-xxlarge-only,tbody.show-for-xxlarge-up{display:table-row-group !important}tr.hide-for-small-only,tr.show-for-small-up,tr.hide-for-small,tr.hide-for-small-down,tr.hide-for-medium-only,tr.show-for-medium-up,tr.hide-for-medium,tr.hide-for-medium-down,tr.hide-for-large-only,tr.show-for-large-up,tr.hide-for-large,tr.hide-for-large-down,tr.hide-for-xlarge-only,tr.show-for-xlarge-up,tr.show-for-xxlarge-only,tr.show-for-xxlarge-up{display:table-row !important}th.hide-for-small-only,td.hide-for-small-only,th.show-for-small-up,td.show-for-small-up,th.hide-for-small,td.hide-for-small,th.hide-for-small-down,td.hide-for-small-down,th.hide-for-medium-only,td.hide-for-medium-only,th.show-for-medium-up,td.show-for-medium-up,th.hide-for-medium,td.hide-for-medium,th.hide-for-medium-down,td.hide-for-medium-down,th.hide-for-large-only,td.hide-for-large-only,th.show-for-large-up,td.show-for-large-up,th.hide-for-large,td.hide-for-large,th.hide-for-large-down,td.hide-for-large-down,th.hide-for-xlarge-only,td.hide-for-xlarge-only,th.show-for-xlarge-up,td.show-for-xlarge-up,th.show-for-xxlarge-only,td.show-for-xxlarge-only,th.show-for-xxlarge-up,td.show-for-xxlarge-up{display:table-cell !important}}.show-for-landscape,.hide-for-portrait{display:inherit !important}.hide-for-landscape,.show-for-portrait{display:none !important}table.hide-for-landscape,table.show-for-portrait{display:table !important}thead.hide-for-landscape,thead.show-for-portrait{display:table-header-group !important}tbody.hide-for-landscape,tbody.show-for-portrait{display:table-row-group !important}tr.hide-for-landscape,tr.show-for-portrait{display:table-row !important}td.hide-for-landscape,td.show-for-portrait,th.hide-for-landscape,th.show-for-portrait{display:table-cell !important}@media only screen and (orientation: landscape){.show-for-landscape,.hide-for-portrait{display:inherit !important}.hide-for-landscape,.show-for-portrait{display:none !important}table.show-for-landscape,table.hide-for-portrait{display:table !important}thead.show-for-landscape,thead.hide-for-portrait{display:table-header-group !important}tbody.show-for-landscape,tbody.hide-for-portrait{display:table-row-group !important}tr.show-for-landscape,tr.hide-for-portrait{display:table-row !important}td.show-for-landscape,td.hide-for-portrait,th.show-for-landscape,th.hide-for-portrait{display:table-cell !important}}@media only screen and (orientation: portrait){.show-for-portrait,.hide-for-landscape{display:inherit !important}.hide-for-portrait,.show-for-landscape{display:none !important}table.show-for-portrait,table.hide-for-landscape{display:table !important}thead.show-for-portrait,thead.hide-for-landscape{display:table-header-group !important}tbody.show-for-portrait,tbody.hide-for-landscape{display:table-row-group !important}tr.show-for-portrait,tr.hide-for-landscape{display:table-row !important}td.show-for-portrait,td.hide-for-landscape,th.show-for-portrait,th.hide-for-landscape{display:table-cell !important}}.show-for-touch{display:none !important}.hide-for-touch{display:inherit !important}.touch .show-for-touch{display:inherit !important}.touch .hide-for-touch{display:none !important}table.hide-for-touch{display:table !important}.touch table.show-for-touch{display:table !important}thead.hide-for-touch{display:table-header-group !important}.touch thead.show-for-touch{display:table-header-group !important}tbody.hide-for-touch{display:table-row-group !important}.touch tbody.show-for-touch{display:table-row-group !important}tr.hide-for-touch{display:table-row !important}.touch tr.show-for-touch{display:table-row !important}td.hide-for-touch{display:table-cell !important}.touch td.show-for-touch{display:table-cell !important}th.hide-for-touch{display:table-cell !important}.touch th.show-for-touch{display:table-cell !important}@media print{.show-for-print{display:block}.hide-for-print{display:none}table.show-for-print{display:table !important}thead.show-for-print{display:table-header-group !important}tbody.show-for-print{display:table-row-group !important}tr.show-for-print{display:table-row !important}td.show-for-print{display:table-cell !important}th.show-for-print{display:table-cell !important}}
|
1
|
+
/*! foundation v5.5.3 */.alert-box,body{position:relative;font-weight:400}.accordion:after,.clearfix:after,.row .row.collapse:after,.row .row:after,.row:after,[class*=block-grid-]:after{clear:both}.alert-box,.breadcrumbs{border-width:1px;border-style:solid}.alert-box,.button,body,button,label{font-weight:400}.breadcrumbs,.button-bar .button-group div,.flex-video{overflow:hidden}.invisible,.reveal-modal{visibility:hidden}meta.foundation-version{font-family:"/5.5.3/"}meta.foundation-mq-small{font-family:"/only screen/";width:0}meta.foundation-mq-small-only{font-family:"/only screen and (max-width: 40em)/";width:0}meta.foundation-mq-medium{font-family:"/only screen and (min-width:40.0625em)/";width:40.0625em}meta.foundation-mq-medium-only{font-family:"/only screen and (min-width:40.0625em) and (max-width:64em)/";width:40.0625em}meta.foundation-mq-large{font-family:"/only screen and (min-width:64.0625em)/";width:64.0625em}meta.foundation-mq-large-only{font-family:"/only screen and (min-width:64.0625em) and (max-width:90em)/";width:64.0625em}meta.foundation-mq-xlarge{font-family:"/only screen and (min-width:90.0625em)/";width:90.0625em}meta.foundation-mq-xlarge-only{font-family:"/only screen and (min-width:90.0625em) and (max-width:120em)/";width:90.0625em}meta.foundation-mq-xxlarge{font-family:"/only screen and (min-width:120.0625em)/";width:120.0625em}.row,select{width:100%}meta.foundation-data-attribute-namespace{font-family:false}.accordion .accordion-navigation>a,.accordion dd>a,.button,body,button{font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif}body,html{height:100%;font-size:100%}*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body{background:#fff;color:#222;cursor:auto;font-style:normal;line-height:1.5;margin:0;padding:0}a:hover{cursor:pointer}img{max-width:100%;height:auto;-ms-interpolation-mode:bicubic}#map_canvas embed,#map_canvas img,#map_canvas object,.map_canvas embed,.map_canvas img,.map_canvas object,.mqa-display embed,.mqa-display img,.mqa-display object{max-width:none!important}.left{float:left!important}.right{float:right!important}.clearfix:after,.clearfix:before{content:" ";display:table}.hide{display:none}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}img{display:inline-block;vertical-align:middle}.accordion:after,.accordion:before,.row .row.collapse:after,.row .row.collapse:before,.row .row:after,.row .row:before,.row:after,.row:before{display:table;content:" "}textarea{min-height:50px}.row{margin:0 auto;max-width:62.5rem}.row.collapse>.column,.row.collapse>.columns{padding-left:0;padding-right:0}.row.collapse .row{margin-left:0;margin-right:0}.row .row{margin:0 -.9375rem;max-width:none;width:auto}.row .row.collapse{margin:0;max-width:none;width:auto}.column,.columns{padding-left:.9375rem;padding-right:.9375rem;width:100%;float:left}.column+.column:last-child,.column+.columns:last-child,.columns+.column:last-child,.columns+.columns:last-child{float:right}.column+.column.end,.column+.columns.end,.columns+.column.end,.columns+.columns.end{float:left}@media only screen{.column,.columns,.small-pull-0,.small-pull-1,.small-pull-10,.small-pull-11,.small-pull-2,.small-pull-3,.small-pull-4,.small-pull-5,.small-pull-6,.small-pull-7,.small-pull-8,.small-pull-9,.small-push-0,.small-push-1,.small-push-10,.small-push-11,.small-push-2,.small-push-3,.small-push-4,.small-push-5,.small-push-7,.small-push-8,.small-push-9{position:relative}.small-push-0{left:0;right:auto}.small-pull-0{right:0;left:auto}.small-push-1{left:8.33333%;right:auto}.small-pull-1{right:8.33333%;left:auto}.small-push-2{left:16.66667%;right:auto}.small-pull-2{right:16.66667%;left:auto}.small-push-3{left:25%;right:auto}.small-pull-3{right:25%;left:auto}.small-push-4{left:33.33333%;right:auto}.small-pull-4{right:33.33333%;left:auto}.small-push-5{left:41.66667%;right:auto}.small-pull-5{right:41.66667%;left:auto}.small-push-6{position:relative;left:50%;right:auto}.small-pull-6{right:50%;left:auto}.small-push-7{left:58.33333%;right:auto}.small-pull-7{right:58.33333%;left:auto}.small-push-8{left:66.66667%;right:auto}.small-pull-8{right:66.66667%;left:auto}.small-push-9{left:75%;right:auto}.small-pull-9{right:75%;left:auto}.small-push-10{left:83.33333%;right:auto}.small-pull-10{right:83.33333%;left:auto}.small-push-11{left:91.66667%;right:auto}.small-pull-11{right:91.66667%;left:auto}.column,.columns{padding-left:.9375rem;padding-right:.9375rem;float:left}.small-1{width:8.33333%}.small-2{width:16.66667%}.small-3{width:25%}.small-4{width:33.33333%}.small-5{width:41.66667%}.small-6{width:50%}.small-7{width:58.33333%}.small-8{width:66.66667%}.small-9{width:75%}.small-10{width:83.33333%}.small-11{width:91.66667%}.small-12{width:100%}.small-offset-0{margin-left:0!important}.small-offset-1{margin-left:8.33333%!important}.small-offset-2{margin-left:16.66667%!important}.small-offset-3{margin-left:25%!important}.small-offset-4{margin-left:33.33333%!important}.small-offset-5{margin-left:41.66667%!important}.small-offset-6{margin-left:50%!important}.small-offset-7{margin-left:58.33333%!important}.small-offset-8{margin-left:66.66667%!important}.small-offset-9{margin-left:75%!important}.small-offset-10{margin-left:83.33333%!important}.small-offset-11{margin-left:91.66667%!important}.small-reset-order{float:left;left:auto;margin-left:0;margin-right:0;right:auto}.column.small-centered,.columns.small-centered{margin-left:auto;margin-right:auto;float:none}.column.small-uncentered,.columns.small-uncentered{float:left;margin-left:0;margin-right:0}.column.small-centered:last-child,.columns.small-centered:last-child{float:none}.column.small-uncentered:last-child,.columns.small-uncentered:last-child{float:left}.column.small-uncentered.opposite,.columns.small-uncentered.opposite{float:right}.row.small-collapse>.column,.row.small-collapse>.columns{padding-left:0;padding-right:0}.row.small-collapse .row{margin-left:0;margin-right:0}.row.small-uncollapse>.column,.row.small-uncollapse>.columns{padding-left:.9375rem;padding-right:.9375rem;float:left}}@media only screen and (min-width:40.0625em){.medium-pull-0,.medium-pull-1,.medium-pull-10,.medium-pull-11,.medium-pull-2,.medium-pull-3,.medium-pull-4,.medium-pull-5,.medium-pull-6,.medium-pull-7,.medium-pull-8,.medium-pull-9,.medium-push-0,.medium-push-1,.medium-push-10,.medium-push-11,.medium-push-2,.medium-push-3,.medium-push-4,.medium-push-5,.medium-push-6,.medium-push-7,.medium-push-8,.medium-push-9,.pull-0,.pull-1,.pull-10,.pull-11,.pull-2,.pull-3,.pull-4,.pull-5,.pull-6,.pull-7,.pull-8,.pull-9,.push-0,.push-1,.push-10,.push-11,.push-2,.push-3,.push-4,.push-5,.push-6,.push-7,.push-8,.push-9{position:relative}.medium-push-0{left:0;right:auto}.medium-pull-0{right:0;left:auto}.medium-push-1{left:8.33333%;right:auto}.medium-pull-1{right:8.33333%;left:auto}.medium-push-2{left:16.66667%;right:auto}.medium-pull-2{right:16.66667%;left:auto}.medium-push-3{left:25%;right:auto}.medium-pull-3{right:25%;left:auto}.medium-push-4{left:33.33333%;right:auto}.medium-pull-4{right:33.33333%;left:auto}.medium-push-5{left:41.66667%;right:auto}.medium-pull-5{right:41.66667%;left:auto}.medium-push-6{left:50%;right:auto}.medium-pull-6{right:50%;left:auto}.medium-push-7{left:58.33333%;right:auto}.medium-pull-7{right:58.33333%;left:auto}.medium-push-8{left:66.66667%;right:auto}.medium-pull-8{right:66.66667%;left:auto}.medium-push-9{left:75%;right:auto}.medium-pull-9{right:75%;left:auto}.medium-push-10{left:83.33333%;right:auto}.medium-pull-10{right:83.33333%;left:auto}.medium-push-11{left:91.66667%;right:auto}.medium-pull-11{right:91.66667%;left:auto}.column,.columns{position:relative;padding-left:.9375rem;padding-right:.9375rem;float:left}.medium-1{width:8.33333%}.medium-2{width:16.66667%}.medium-3{width:25%}.medium-4{width:33.33333%}.medium-5{width:41.66667%}.medium-6{width:50%}.medium-7{width:58.33333%}.medium-8{width:66.66667%}.medium-9{width:75%}.medium-10{width:83.33333%}.medium-11{width:91.66667%}.medium-12{width:100%}.medium-offset-0{margin-left:0!important}.medium-offset-1{margin-left:8.33333%!important}.medium-offset-2{margin-left:16.66667%!important}.medium-offset-3{margin-left:25%!important}.medium-offset-4{margin-left:33.33333%!important}.medium-offset-5{margin-left:41.66667%!important}.medium-offset-6{margin-left:50%!important}.medium-offset-7{margin-left:58.33333%!important}.medium-offset-8{margin-left:66.66667%!important}.medium-offset-9{margin-left:75%!important}.medium-offset-10{margin-left:83.33333%!important}.medium-offset-11{margin-left:91.66667%!important}.medium-reset-order{float:left;left:auto;margin-left:0;margin-right:0;right:auto}.column.medium-centered,.columns.medium-centered{margin-left:auto;margin-right:auto;float:none}.column.medium-uncentered,.columns.medium-uncentered{float:left;margin-left:0;margin-right:0}.column.medium-centered:last-child,.columns.medium-centered:last-child{float:none}.column.medium-uncentered:last-child,.columns.medium-uncentered:last-child{float:left}.column.medium-uncentered.opposite,.columns.medium-uncentered.opposite{float:right}.row.medium-collapse>.column,.row.medium-collapse>.columns{padding-left:0;padding-right:0}.row.medium-collapse .row{margin-left:0;margin-right:0}.row.medium-uncollapse>.column,.row.medium-uncollapse>.columns{padding-left:.9375rem;padding-right:.9375rem;float:left}.push-0{left:0;right:auto}.pull-0{right:0;left:auto}.push-1{left:8.33333%;right:auto}.pull-1{right:8.33333%;left:auto}.push-2{left:16.66667%;right:auto}.pull-2{right:16.66667%;left:auto}.push-3{left:25%;right:auto}.pull-3{right:25%;left:auto}.push-4{left:33.33333%;right:auto}.pull-4{right:33.33333%;left:auto}.push-5{left:41.66667%;right:auto}.pull-5{right:41.66667%;left:auto}.push-6{left:50%;right:auto}.pull-6{right:50%;left:auto}.push-7{left:58.33333%;right:auto}.pull-7{right:58.33333%;left:auto}.push-8{left:66.66667%;right:auto}.pull-8{right:66.66667%;left:auto}.push-9{left:75%;right:auto}.pull-9{right:75%;left:auto}.push-10{left:83.33333%;right:auto}.pull-10{right:83.33333%;left:auto}.push-11{left:91.66667%;right:auto}.pull-11{right:91.66667%;left:auto}}@media only screen and (min-width:64.0625em){.large-pull-0,.large-pull-1,.large-pull-10,.large-pull-11,.large-pull-2,.large-pull-3,.large-pull-4,.large-pull-5,.large-pull-6,.large-pull-7,.large-pull-8,.large-pull-9,.large-push-0,.large-push-1,.large-push-10,.large-push-11,.large-push-2,.large-push-3,.large-push-4,.large-push-5,.large-push-6,.large-push-7,.large-push-8,.large-push-9,.pull-0,.pull-1,.pull-10,.pull-11,.pull-2,.pull-3,.pull-4,.pull-5,.pull-6,.pull-7,.pull-8,.pull-9,.push-0,.push-1,.push-10,.push-11,.push-2,.push-3,.push-4,.push-5,.push-6,.push-7,.push-8,.push-9{position:relative}.large-push-0{left:0;right:auto}.large-pull-0{right:0;left:auto}.large-push-1{left:8.33333%;right:auto}.large-pull-1{right:8.33333%;left:auto}.large-push-2{left:16.66667%;right:auto}.large-pull-2{right:16.66667%;left:auto}.large-push-3{left:25%;right:auto}.large-pull-3{right:25%;left:auto}.large-push-4{left:33.33333%;right:auto}.large-pull-4{right:33.33333%;left:auto}.large-push-5{left:41.66667%;right:auto}.large-pull-5{right:41.66667%;left:auto}.large-push-6{left:50%;right:auto}.large-pull-6{right:50%;left:auto}.large-push-7{left:58.33333%;right:auto}.large-pull-7{right:58.33333%;left:auto}.large-push-8{left:66.66667%;right:auto}.large-pull-8{right:66.66667%;left:auto}.large-push-9{left:75%;right:auto}.large-pull-9{right:75%;left:auto}.large-push-10{left:83.33333%;right:auto}.large-pull-10{right:83.33333%;left:auto}.large-push-11{left:91.66667%;right:auto}.large-pull-11{right:91.66667%;left:auto}.column,.columns{position:relative;padding-left:.9375rem;padding-right:.9375rem;float:left}.large-1{width:8.33333%}.large-2{width:16.66667%}.large-3{width:25%}.large-4{width:33.33333%}.large-5{width:41.66667%}.large-6{width:50%}.large-7{width:58.33333%}.large-8{width:66.66667%}.large-9{width:75%}.large-10{width:83.33333%}.large-11{width:91.66667%}.large-12{width:100%}.large-offset-0{margin-left:0!important}.large-offset-1{margin-left:8.33333%!important}.large-offset-2{margin-left:16.66667%!important}.large-offset-3{margin-left:25%!important}.large-offset-4{margin-left:33.33333%!important}.large-offset-5{margin-left:41.66667%!important}.large-offset-6{margin-left:50%!important}.large-offset-7{margin-left:58.33333%!important}.large-offset-8{margin-left:66.66667%!important}.large-offset-9{margin-left:75%!important}.large-offset-10{margin-left:83.33333%!important}.large-offset-11{margin-left:91.66667%!important}.large-reset-order{float:left;left:auto;margin-left:0;margin-right:0;right:auto}.column.large-centered,.columns.large-centered{margin-left:auto;margin-right:auto;float:none}.column.large-uncentered,.columns.large-uncentered{float:left;margin-left:0;margin-right:0}.column.large-centered:last-child,.columns.large-centered:last-child{float:none}.column.large-uncentered:last-child,.columns.large-uncentered:last-child{float:left}.column.large-uncentered.opposite,.columns.large-uncentered.opposite{float:right}.row.large-collapse>.column,.row.large-collapse>.columns{padding-left:0;padding-right:0}.row.large-collapse .row{margin-left:0;margin-right:0}.row.large-uncollapse>.column,.row.large-uncollapse>.columns{padding-left:.9375rem;padding-right:.9375rem;float:left}.push-0{left:0;right:auto}.pull-0{right:0;left:auto}.push-1{left:8.33333%;right:auto}.pull-1{right:8.33333%;left:auto}.push-2{left:16.66667%;right:auto}.pull-2{right:16.66667%;left:auto}.push-3{left:25%;right:auto}.pull-3{right:25%;left:auto}.push-4{left:33.33333%;right:auto}.pull-4{right:33.33333%;left:auto}.push-5{left:41.66667%;right:auto}.pull-5{right:41.66667%;left:auto}.push-6{left:50%;right:auto}.pull-6{right:50%;left:auto}.push-7{left:58.33333%;right:auto}.pull-7{right:58.33333%;left:auto}.push-8{left:66.66667%;right:auto}.pull-8{right:66.66667%;left:auto}.push-9{left:75%;right:auto}.pull-9{right:75%;left:auto}.push-10{left:83.33333%;right:auto}.pull-10{right:83.33333%;left:auto}.push-11{left:91.66667%;right:auto}.pull-11{right:91.66667%;left:auto}}.accordion{margin-bottom:0;margin-left:0}.accordion .accordion-navigation,.accordion dd{display:block;margin-bottom:0!important}.accordion .accordion-navigation.active>a,.accordion dd.active>a{background:#e8e8e8;color:#222}.accordion .accordion-navigation>a,.accordion dd>a{background:#EFEFEF;color:#222;display:block;font-size:1rem;padding:1rem}.accordion .accordion-navigation>a:hover,.accordion dd>a:hover{background:#e3e3e3}.accordion .accordion-navigation>.content,.accordion dd>.content{display:none;padding:.9375rem}.accordion .accordion-navigation>.content.active,.accordion dd>.content.active{background:#FFF;display:block}.alert-box{display:block;font-size:.8125rem;margin-bottom:1.25rem;padding:.875rem 1.5rem .875rem .875rem;transition:opacity .3s ease-out;background-color:#008CBA;border-color:#0078a0;color:#FFF}.alert-box .close{right:.25rem;background:inherit;color:#333;font-size:1.375rem;line-height:.9;margin-top:-.6875rem;opacity:.3;padding:0 6px 4px;position:absolute;top:50%}.alert-box .close:focus,.alert-box .close:hover{opacity:.5}.alert-box.radius{border-radius:3px}.alert-box.round{border-radius:1000px}.alert-box.success{background-color:#43AC6A;border-color:#3a945b;color:#FFF}.alert-box.alert{background-color:#f04124;border-color:#de2d0f;color:#FFF}.alert-box.secondary{background-color:#e7e7e7;border-color:#c7c7c7;color:#4f4f4f}.alert-box.warning{background-color:#f08a24;border-color:#de770f;color:#FFF}.alert-box.info{background-color:#a0d3e8;border-color:#74bfdd;color:#4f4f4f}.alert-box.alert-close{opacity:0}[class*=block-grid-]{display:block;padding:0;margin:0 -.625rem}[class*=block-grid-]:after,[class*=block-grid-]:before{content:" ";display:table}[class*=block-grid-]>li{display:block;float:left;height:auto;padding:0 .625rem 1.25rem}@media only screen{.small-block-grid-1>li{list-style:none;width:100%}.small-block-grid-1>li:nth-of-type(1n){clear:none}.small-block-grid-1>li:nth-of-type(1n+1){clear:both}.small-block-grid-2>li{list-style:none;width:50%}.small-block-grid-2>li:nth-of-type(1n){clear:none}.small-block-grid-2>li:nth-of-type(2n+1){clear:both}.small-block-grid-3>li{list-style:none;width:33.33333%}.small-block-grid-3>li:nth-of-type(1n){clear:none}.small-block-grid-3>li:nth-of-type(3n+1){clear:both}.small-block-grid-4>li{list-style:none;width:25%}.small-block-grid-4>li:nth-of-type(1n){clear:none}.small-block-grid-4>li:nth-of-type(4n+1){clear:both}.small-block-grid-5>li{list-style:none;width:20%}.small-block-grid-5>li:nth-of-type(1n){clear:none}.small-block-grid-5>li:nth-of-type(5n+1){clear:both}.small-block-grid-6>li{list-style:none;width:16.66667%}.small-block-grid-6>li:nth-of-type(1n){clear:none}.small-block-grid-6>li:nth-of-type(6n+1){clear:both}.small-block-grid-7>li{list-style:none;width:14.28571%}.small-block-grid-7>li:nth-of-type(1n){clear:none}.small-block-grid-7>li:nth-of-type(7n+1){clear:both}.small-block-grid-8>li{list-style:none;width:12.5%}.small-block-grid-8>li:nth-of-type(1n){clear:none}.small-block-grid-8>li:nth-of-type(8n+1){clear:both}.small-block-grid-9>li{list-style:none;width:11.11111%}.small-block-grid-9>li:nth-of-type(1n){clear:none}.small-block-grid-9>li:nth-of-type(9n+1){clear:both}.small-block-grid-10>li{list-style:none;width:10%}.small-block-grid-10>li:nth-of-type(1n){clear:none}.small-block-grid-10>li:nth-of-type(10n+1){clear:both}.small-block-grid-11>li{list-style:none;width:9.09091%}.small-block-grid-11>li:nth-of-type(1n){clear:none}.small-block-grid-11>li:nth-of-type(11n+1){clear:both}.small-block-grid-12>li{list-style:none;width:8.33333%}.small-block-grid-12>li:nth-of-type(1n){clear:none}.small-block-grid-12>li:nth-of-type(12n+1){clear:both}}@media only screen and (min-width:40.0625em){.medium-block-grid-1>li{list-style:none;width:100%}.medium-block-grid-1>li:nth-of-type(1n){clear:none}.medium-block-grid-1>li:nth-of-type(1n+1){clear:both}.medium-block-grid-2>li{list-style:none;width:50%}.medium-block-grid-2>li:nth-of-type(1n){clear:none}.medium-block-grid-2>li:nth-of-type(2n+1){clear:both}.medium-block-grid-3>li{list-style:none;width:33.33333%}.medium-block-grid-3>li:nth-of-type(1n){clear:none}.medium-block-grid-3>li:nth-of-type(3n+1){clear:both}.medium-block-grid-4>li{list-style:none;width:25%}.medium-block-grid-4>li:nth-of-type(1n){clear:none}.medium-block-grid-4>li:nth-of-type(4n+1){clear:both}.medium-block-grid-5>li{list-style:none;width:20%}.medium-block-grid-5>li:nth-of-type(1n){clear:none}.medium-block-grid-5>li:nth-of-type(5n+1){clear:both}.medium-block-grid-6>li{list-style:none;width:16.66667%}.medium-block-grid-6>li:nth-of-type(1n){clear:none}.medium-block-grid-6>li:nth-of-type(6n+1){clear:both}.medium-block-grid-7>li{list-style:none;width:14.28571%}.medium-block-grid-7>li:nth-of-type(1n){clear:none}.medium-block-grid-7>li:nth-of-type(7n+1){clear:both}.medium-block-grid-8>li{list-style:none;width:12.5%}.medium-block-grid-8>li:nth-of-type(1n){clear:none}.medium-block-grid-8>li:nth-of-type(8n+1){clear:both}.medium-block-grid-9>li{list-style:none;width:11.11111%}.medium-block-grid-9>li:nth-of-type(1n){clear:none}.medium-block-grid-9>li:nth-of-type(9n+1){clear:both}.medium-block-grid-10>li{list-style:none;width:10%}.medium-block-grid-10>li:nth-of-type(1n){clear:none}.medium-block-grid-10>li:nth-of-type(10n+1){clear:both}.medium-block-grid-11>li{list-style:none;width:9.09091%}.medium-block-grid-11>li:nth-of-type(1n){clear:none}.medium-block-grid-11>li:nth-of-type(11n+1){clear:both}.medium-block-grid-12>li{list-style:none;width:8.33333%}.medium-block-grid-12>li:nth-of-type(1n){clear:none}.medium-block-grid-12>li:nth-of-type(12n+1){clear:both}}@media only screen and (min-width:64.0625em){.large-block-grid-1>li{list-style:none;width:100%}.large-block-grid-1>li:nth-of-type(1n){clear:none}.large-block-grid-1>li:nth-of-type(1n+1){clear:both}.large-block-grid-2>li{list-style:none;width:50%}.large-block-grid-2>li:nth-of-type(1n){clear:none}.large-block-grid-2>li:nth-of-type(2n+1){clear:both}.large-block-grid-3>li{list-style:none;width:33.33333%}.large-block-grid-3>li:nth-of-type(1n){clear:none}.large-block-grid-3>li:nth-of-type(3n+1){clear:both}.large-block-grid-4>li{list-style:none;width:25%}.large-block-grid-4>li:nth-of-type(1n){clear:none}.large-block-grid-4>li:nth-of-type(4n+1){clear:both}.large-block-grid-5>li{list-style:none;width:20%}.large-block-grid-5>li:nth-of-type(1n){clear:none}.large-block-grid-5>li:nth-of-type(5n+1){clear:both}.large-block-grid-6>li{list-style:none;width:16.66667%}.large-block-grid-6>li:nth-of-type(1n){clear:none}.large-block-grid-6>li:nth-of-type(6n+1){clear:both}.large-block-grid-7>li{list-style:none;width:14.28571%}.large-block-grid-7>li:nth-of-type(1n){clear:none}.large-block-grid-7>li:nth-of-type(7n+1){clear:both}.large-block-grid-8>li{list-style:none;width:12.5%}.large-block-grid-8>li:nth-of-type(1n){clear:none}.large-block-grid-8>li:nth-of-type(8n+1){clear:both}.large-block-grid-9>li{list-style:none;width:11.11111%}.large-block-grid-9>li:nth-of-type(1n){clear:none}.large-block-grid-9>li:nth-of-type(9n+1){clear:both}.large-block-grid-10>li{list-style:none;width:10%}.large-block-grid-10>li:nth-of-type(1n){clear:none}.large-block-grid-10>li:nth-of-type(10n+1){clear:both}.large-block-grid-11>li{list-style:none;width:9.09091%}.large-block-grid-11>li:nth-of-type(1n){clear:none}.large-block-grid-11>li:nth-of-type(11n+1){clear:both}.large-block-grid-12>li{list-style:none;width:8.33333%}.large-block-grid-12>li:nth-of-type(1n){clear:none}.large-block-grid-12>li:nth-of-type(12n+1){clear:both}}.button-bar:after,.button-group:after,.clearing-thumbs:after,.tabs-content:after,.tabs:after,[data-clearing]:after{clear:both}.breadcrumbs{display:block;list-style:none;margin-left:0;padding:.5625rem .875rem;background-color:#f4f4f4;border-color:#dcdcdc;border-radius:3px}.breadcrumbs>*{color:#008CBA;float:left;font-size:.6875rem;line-height:.6875rem;margin:0;text-transform:uppercase}.breadcrumbs>:focus a,.breadcrumbs>:hover a{text-decoration:underline}.breadcrumbs>.current:focus,.breadcrumbs>.current:focus a,.breadcrumbs>.current:hover,.breadcrumbs>.current:hover a,.button,button{text-decoration:none}.breadcrumbs>* a{color:#008CBA}.breadcrumbs>.current,.breadcrumbs>.current a{color:#333;cursor:default}.breadcrumbs>.unavailable,.breadcrumbs>.unavailable a{color:#999}.breadcrumbs>.unavailable a:focus,.breadcrumbs>.unavailable:focus,.breadcrumbs>.unavailable:hover,.breadcrumbs>.unavailable:hover a{color:#999;cursor:not-allowed;text-decoration:none}.breadcrumbs>:before{color:#AAA;content:"/";margin:0 .75rem;position:relative;top:1px}.breadcrumbs>:first-child:before{content:" ";margin:0}[aria-label=breadcrumbs] [aria-hidden=true]:after{content:"/"}.button,button{-webkit-appearance:none;-moz-appearance:none;border-radius:0;border-style:solid;border-width:0;cursor:pointer;line-height:normal;margin:0 0 1.25rem;position:relative;text-align:center;display:inline-block;padding:1rem 2rem 1.0625rem;font-size:1rem;background-color:#008CBA;border-color:#007095;color:#FFF;transition:background-color .3s ease-out}.joyride-tip-guide,p,select{font-family:inherit}.button:focus,.button:hover,button:focus,button:hover{background-color:#007095;color:#FFF}.button.secondary,button.secondary{background-color:#e7e7e7;border-color:#b9b9b9;color:#333}.button.secondary:focus,.button.secondary:hover,button.secondary:focus,button.secondary:hover{background-color:#b9b9b9;color:#333}.button.success,button.success{background-color:#43AC6A;border-color:#368a55;color:#FFF}.button.success:focus,.button.success:hover,button.success:focus,button.success:hover{background-color:#368a55;color:#FFF}.button.alert,button.alert{background-color:#f04124;border-color:#cf2a0e;color:#FFF}.button.alert:focus,.button.alert:hover,button.alert:focus,button.alert:hover{background-color:#cf2a0e;color:#FFF}.button.warning,button.warning{background-color:#f08a24;border-color:#cf6e0e;color:#FFF}.button.warning:focus,.button.warning:hover,button.warning:focus,button.warning:hover{background-color:#cf6e0e;color:#FFF}.button.info,button.info{background-color:#a0d3e8;border-color:#61b6d9;color:#333}.button.info:focus,.button.info:hover,button.info:focus,button.info:hover{background-color:#61b6d9;color:#FFF}.button.large,button.large{padding:1.125rem 2.25rem 1.1875rem;font-size:1.25rem}.button.small,button.small{padding:.875rem 1.75rem .9375rem;font-size:.8125rem}.button.tiny,button.tiny{padding:.625rem 1.25rem .6875rem;font-size:.6875rem}.button.expand,button.expand{padding:1rem 1rem 1.0625rem;font-size:1rem;width:100%}.button.left-align,button.left-align{text-align:left;text-indent:.75rem}.button.right-align,button.right-align{text-align:right;padding-right:.75rem}.button.radius,button.radius{border-radius:3px}.button.round,button.round{border-radius:1000px}.button.disabled,.button[disabled],button.disabled,button[disabled]{background-color:#008CBA;border-color:#007095;color:#FFF;box-shadow:none;cursor:default;opacity:.7}.button.disabled:focus,.button.disabled:hover,.button[disabled]:focus,.button[disabled]:hover,button.disabled:focus,button.disabled:hover,button[disabled]:focus,button[disabled]:hover{color:#FFF;background-color:#008CBA}.button.disabled.secondary,.button[disabled].secondary,button.disabled.secondary,button[disabled].secondary{background-color:#e7e7e7;border-color:#b9b9b9;color:#333;box-shadow:none;cursor:default;opacity:.7}.button.disabled.secondary:focus,.button.disabled.secondary:hover,.button[disabled].secondary:focus,.button[disabled].secondary:hover,button.disabled.secondary:focus,button.disabled.secondary:hover,button[disabled].secondary:focus,button[disabled].secondary:hover{color:#333;background-color:#e7e7e7}.button.disabled.success,.button[disabled].success,button.disabled.success,button[disabled].success{background-color:#43AC6A;border-color:#368a55;color:#FFF;box-shadow:none;cursor:default;opacity:.7}.button.disabled.success:focus,.button.disabled.success:hover,.button[disabled].success:focus,.button[disabled].success:hover,button.disabled.success:focus,button.disabled.success:hover,button[disabled].success:focus,button[disabled].success:hover{color:#FFF;background-color:#43AC6A}.button.disabled.alert,.button[disabled].alert,button.disabled.alert,button[disabled].alert{background-color:#f04124;border-color:#cf2a0e;color:#FFF;box-shadow:none;cursor:default;opacity:.7}.button.disabled.alert:focus,.button.disabled.alert:hover,.button[disabled].alert:focus,.button[disabled].alert:hover,button.disabled.alert:focus,button.disabled.alert:hover,button[disabled].alert:focus,button[disabled].alert:hover{color:#FFF;background-color:#f04124}.button.disabled.warning,.button[disabled].warning,button.disabled.warning,button[disabled].warning{background-color:#f08a24;border-color:#cf6e0e;color:#FFF;box-shadow:none;cursor:default;opacity:.7}.button.disabled.warning:focus,.button.disabled.warning:hover,.button[disabled].warning:focus,.button[disabled].warning:hover,button.disabled.warning:focus,button.disabled.warning:hover,button[disabled].warning:focus,button[disabled].warning:hover{color:#FFF;background-color:#f08a24}.button.disabled.info,.button[disabled].info,button.disabled.info,button[disabled].info{background-color:#a0d3e8;border-color:#61b6d9;color:#333;box-shadow:none;cursor:default;opacity:.7}.button.disabled.info:focus,.button.disabled.info:hover,.button[disabled].info:focus,.button[disabled].info:hover,button.disabled.info:focus,button.disabled.info:hover,button[disabled].info:focus,button[disabled].info:hover{color:#FFF;background-color:#a0d3e8}button::-moz-focus-inner{border:0;padding:0}@media only screen and (min-width:40.0625em){.button,button{display:inline-block}}.button-group{list-style:none;margin:0;left:0}.button-group:after,.button-group:before{content:" ";display:table}.button-group.even-2 li,.button-group.even-3 li,.button-group.even-4 li,.button-group.even-5 li,.button-group.even-6 li,.button-group.even-7 li,.button-group.even-8 li,.button-group>li{display:inline-block;margin:0 -2px}.button-group.even-2 li{width:50%}.button-group.even-2 li .button,.button-group.even-2 li>button{border-left:1px solid;border-color:rgba(255,255,255,.5)}.button-group.even-2 li:first-child .button,.button-group.even-2 li:first-child button{border-left:0}.button-group.even-2 li .button,.button-group.even-2 li button{width:100%}.button-group.even-3 li{width:33.33333%}.button-group.even-3 li .button,.button-group.even-3 li>button{border-left:1px solid;border-color:rgba(255,255,255,.5)}.button-group.even-3 li:first-child .button,.button-group.even-3 li:first-child button{border-left:0}.button-group.even-3 li .button,.button-group.even-3 li button{width:100%}.button-group.even-4 li{width:25%}.button-group.even-4 li .button,.button-group.even-4 li>button{border-left:1px solid;border-color:rgba(255,255,255,.5)}.button-group.even-4 li:first-child .button,.button-group.even-4 li:first-child button{border-left:0}.button-group.even-4 li .button,.button-group.even-4 li button{width:100%}.button-group.even-5 li{width:20%}.button-group.even-5 li .button,.button-group.even-5 li>button{border-left:1px solid;border-color:rgba(255,255,255,.5)}.button-group.even-5 li:first-child .button,.button-group.even-5 li:first-child button{border-left:0}.button-group.even-5 li .button,.button-group.even-5 li button{width:100%}.button-group.even-6 li{width:16.66667%}.button-group.even-6 li .button,.button-group.even-6 li>button{border-left:1px solid;border-color:rgba(255,255,255,.5)}.button-group.even-6 li:first-child .button,.button-group.even-6 li:first-child button{border-left:0}.button-group.even-6 li .button,.button-group.even-6 li button{width:100%}.button-group.even-7 li{width:14.28571%}.button-group.even-7 li .button,.button-group.even-7 li>button{border-left:1px solid;border-color:rgba(255,255,255,.5)}.button-group.even-7 li:first-child .button,.button-group.even-7 li:first-child button{border-left:0}.button-group.even-7 li .button,.button-group.even-7 li button{width:100%}.button-group.even-8 li{width:12.5%}.button-group.even-8 li .button,.button-group.even-8 li button,.button-group.radius.stack>*>button,.button-group.round.stack>*>button,.button-group.stack>li>button,.clearing-caption{width:100%}.button-group.even-8 li .button,.button-group.even-8 li>button{border-left:1px solid;border-color:rgba(255,255,255,.5)}.button-group.even-8 li:first-child .button,.button-group.even-8 li:first-child button{border-left:0}.button-group>li .button,.button-group>li>button{border-left:1px solid;border-color:rgba(255,255,255,.5)}.button-group>li:first-child .button,.button-group>li:first-child button{border-left:0}.button-group.stack>li{display:block;margin:0;float:none}.button-group.stack>li .button,.button-group.stack>li>button{border-left:1px solid;border-color:rgba(255,255,255,.5)}.button-group.stack>li:first-child .button,.button-group.stack>li:first-child button{border-left:0}.button-group.stack>li .button,.button-group.stack>li>button{border-left-width:0;border-top:1px solid;display:block;margin:0}.button-group.stack>li:first-child .button,.button-group.stack>li:first-child button{border-top:0}.button-group.stack-for-small>li{display:inline-block;margin:0 -2px}.button-group.stack-for-small>li .button,.button-group.stack-for-small>li>button{border-left:1px solid;border-color:rgba(255,255,255,.5)}.button-group.stack-for-small>li:first-child .button,.button-group.stack-for-small>li:first-child button{border-left:0}@media only screen and (max-width:40em){.button-group.stack-for-small>li{display:block;margin:0;width:100%}.button-group.stack-for-small>li .button,.button-group.stack-for-small>li>button{border-left:1px solid;border-color:rgba(255,255,255,.5)}.button-group.stack-for-small>li:first-child .button,.button-group.stack-for-small>li:first-child button{border-left:0}.button-group.stack-for-small>li .button,.button-group.stack-for-small>li>button{border-left-width:0;border-top:1px solid;display:block;margin:0}.button-group.stack-for-small>li>button{width:100%}.button-group.stack-for-small>li:first-child .button,.button-group.stack-for-small>li:first-child button{border-top:0}}.button-group.radius>*{display:inline-block;margin:0 -2px}.button-group.radius>* .button,.button-group.radius>*>button{border-left:1px solid;border-color:rgba(255,255,255,.5)}.button-group.radius>:first-child .button,.button-group.radius>:first-child button{border-left:0}.button-group.radius>*,.button-group.radius>*>.button,.button-group.radius>*>a,.button-group.radius>*>button{border-radius:0}.button-group.radius>:first-child,.button-group.radius>:first-child>.button,.button-group.radius>:first-child>a,.button-group.radius>:first-child>button{-webkit-border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-left-radius:3px}.button-group.radius>:last-child,.button-group.radius>:last-child>.button,.button-group.radius>:last-child>a,.button-group.radius>:last-child>button{-webkit-border-bottom-right-radius:3px;-webkit-border-top-right-radius:3px;border-bottom-right-radius:3px;border-top-right-radius:3px}.button-group.radius.stack>*{display:block;margin:0}.button-group.radius.stack>* .button,.button-group.radius.stack>*>button{border-left:1px solid;border-color:rgba(255,255,255,.5)}.button-group.radius.stack>:first-child .button,.button-group.radius.stack>:first-child button{border-left:0}.button-group.radius.stack>* .button,.button-group.radius.stack>*>button{border-left-width:0;border-top:1px solid;display:block;margin:0}.button-group.radius.stack>:first-child .button,.button-group.radius.stack>:first-child button{border-top:0}.button-group.radius.stack>*,.button-group.radius.stack>*>.button,.button-group.radius.stack>*>a,.button-group.radius.stack>*>button{border-radius:0}.button-group.radius.stack>:first-child,.button-group.radius.stack>:first-child>.button,.button-group.radius.stack>:first-child>a,.button-group.radius.stack>:first-child>button{-webkit-top-left-radius:3px;-webkit-top-right-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px}.button-group.radius.stack>:last-child,.button-group.radius.stack>:last-child>.button,.button-group.radius.stack>:last-child>a,.button-group.radius.stack>:last-child>button{-webkit-bottom-left-radius:3px;-webkit-bottom-right-radius:3px;border-bottom-left-radius:3px;border-bottom-right-radius:3px}@media only screen and (min-width:40.0625em){.button-group.radius.stack-for-small>*{display:inline-block;margin:0 -2px}.button-group.radius.stack-for-small>* .button,.button-group.radius.stack-for-small>*>button{border-left:1px solid;border-color:rgba(255,255,255,.5)}.button-group.radius.stack-for-small>:first-child .button,.button-group.radius.stack-for-small>:first-child button{border-left:0}.button-group.radius.stack-for-small>*,.button-group.radius.stack-for-small>*>.button,.button-group.radius.stack-for-small>*>a,.button-group.radius.stack-for-small>*>button{border-radius:0}.button-group.radius.stack-for-small>:first-child,.button-group.radius.stack-for-small>:first-child>.button,.button-group.radius.stack-for-small>:first-child>a,.button-group.radius.stack-for-small>:first-child>button{-webkit-border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-left-radius:3px}.button-group.radius.stack-for-small>:last-child,.button-group.radius.stack-for-small>:last-child>.button,.button-group.radius.stack-for-small>:last-child>a,.button-group.radius.stack-for-small>:last-child>button{-webkit-border-bottom-right-radius:3px;-webkit-border-top-right-radius:3px;border-bottom-right-radius:3px;border-top-right-radius:3px}}@media only screen and (max-width:40em){.button-group.radius.stack-for-small>*{display:block;margin:0}.button-group.radius.stack-for-small>* .button,.button-group.radius.stack-for-small>*>button{border-left:1px solid;border-color:rgba(255,255,255,.5)}.button-group.radius.stack-for-small>:first-child .button,.button-group.radius.stack-for-small>:first-child button{border-left:0}.button-group.radius.stack-for-small>* .button,.button-group.radius.stack-for-small>*>button{border-left-width:0;border-top:1px solid;display:block;margin:0}.button-group.radius.stack-for-small>*>button{width:100%}.button-group.radius.stack-for-small>:first-child .button,.button-group.radius.stack-for-small>:first-child button{border-top:0}.button-group.radius.stack-for-small>*,.button-group.radius.stack-for-small>*>.button,.button-group.radius.stack-for-small>*>a,.button-group.radius.stack-for-small>*>button{border-radius:0}.button-group.radius.stack-for-small>:first-child,.button-group.radius.stack-for-small>:first-child>.button,.button-group.radius.stack-for-small>:first-child>a,.button-group.radius.stack-for-small>:first-child>button{-webkit-top-left-radius:3px;-webkit-top-right-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px}.button-group.radius.stack-for-small>:last-child,.button-group.radius.stack-for-small>:last-child>.button,.button-group.radius.stack-for-small>:last-child>a,.button-group.radius.stack-for-small>:last-child>button{-webkit-bottom-left-radius:3px;-webkit-bottom-right-radius:3px;border-bottom-left-radius:3px;border-bottom-right-radius:3px}}.button-group.round>*{display:inline-block;margin:0 -2px}.button-group.round>* .button,.button-group.round>*>button{border-left:1px solid;border-color:rgba(255,255,255,.5)}.button-group.round>:first-child .button,.button-group.round>:first-child button{border-left:0}.button-group.round>*,.button-group.round>*>.button,.button-group.round>*>a,.button-group.round>*>button{border-radius:0}.button-group.round>:first-child,.button-group.round>:first-child>.button,.button-group.round>:first-child>a,.button-group.round>:first-child>button{-webkit-border-bottom-left-radius:1000px;-webkit-border-top-left-radius:1000px;border-bottom-left-radius:1000px;border-top-left-radius:1000px}.button-group.round>:last-child,.button-group.round>:last-child>.button,.button-group.round>:last-child>a,.button-group.round>:last-child>button{-webkit-border-bottom-right-radius:1000px;-webkit-border-top-right-radius:1000px;border-bottom-right-radius:1000px;border-top-right-radius:1000px}.button-group.round.stack>*{display:block;margin:0}.button-group.round.stack>* .button,.button-group.round.stack>*>button{border-left:1px solid;border-color:rgba(255,255,255,.5)}.button-group.round.stack>:first-child .button,.button-group.round.stack>:first-child button{border-left:0}.button-group.round.stack>* .button,.button-group.round.stack>*>button{border-left-width:0;border-top:1px solid;display:block;margin:0}.button-group.round.stack>:first-child .button,.button-group.round.stack>:first-child button{border-top:0}.button-group.round.stack>*,.button-group.round.stack>*>.button,.button-group.round.stack>*>a,.button-group.round.stack>*>button{border-radius:0}.button-group.round.stack>:first-child,.button-group.round.stack>:first-child>.button,.button-group.round.stack>:first-child>a,.button-group.round.stack>:first-child>button{-webkit-top-left-radius:1rem;-webkit-top-right-radius:1rem;border-top-left-radius:1rem;border-top-right-radius:1rem}.button-group.round.stack>:last-child,.button-group.round.stack>:last-child>.button,.button-group.round.stack>:last-child>a,.button-group.round.stack>:last-child>button{-webkit-bottom-left-radius:1rem;-webkit-bottom-right-radius:1rem;border-bottom-left-radius:1rem;border-bottom-right-radius:1rem}@media only screen and (min-width:40.0625em){.button-group.round.stack-for-small>*{display:inline-block;margin:0 -2px}.button-group.round.stack-for-small>* .button,.button-group.round.stack-for-small>*>button{border-left:1px solid;border-color:rgba(255,255,255,.5)}.button-group.round.stack-for-small>:first-child .button,.button-group.round.stack-for-small>:first-child button{border-left:0}.button-group.round.stack-for-small>*,.button-group.round.stack-for-small>*>.button,.button-group.round.stack-for-small>*>a,.button-group.round.stack-for-small>*>button{border-radius:0}.button-group.round.stack-for-small>:first-child,.button-group.round.stack-for-small>:first-child>.button,.button-group.round.stack-for-small>:first-child>a,.button-group.round.stack-for-small>:first-child>button{-webkit-border-bottom-left-radius:1000px;-webkit-border-top-left-radius:1000px;border-bottom-left-radius:1000px;border-top-left-radius:1000px}.button-group.round.stack-for-small>:last-child,.button-group.round.stack-for-small>:last-child>.button,.button-group.round.stack-for-small>:last-child>a,.button-group.round.stack-for-small>:last-child>button{-webkit-border-bottom-right-radius:1000px;-webkit-border-top-right-radius:1000px;border-bottom-right-radius:1000px;border-top-right-radius:1000px}}.clearing-caption,.f-dropdown.content>:last-child,.f-dropdown.drop-left>:last-child,.f-dropdown.drop-right>:last-child,.f-dropdown.drop-top>:last-child,.f-dropdown>:last-child{margin-bottom:0}@media only screen and (max-width:40em){.button-group.round.stack-for-small>*{display:block;margin:0}.button-group.round.stack-for-small>* .button,.button-group.round.stack-for-small>*>button{border-left:1px solid;border-color:rgba(255,255,255,.5)}.button-group.round.stack-for-small>:first-child .button,.button-group.round.stack-for-small>:first-child button{border-left:0}.button-group.round.stack-for-small>* .button,.button-group.round.stack-for-small>*>button{border-left-width:0;border-top:1px solid;display:block;margin:0}.button-group.round.stack-for-small>*>button{width:100%}.button-group.round.stack-for-small>:first-child .button,.button-group.round.stack-for-small>:first-child button{border-top:0}.button-group.round.stack-for-small>*,.button-group.round.stack-for-small>*>.button,.button-group.round.stack-for-small>*>a,.button-group.round.stack-for-small>*>button{border-radius:0}.button-group.round.stack-for-small>:first-child,.button-group.round.stack-for-small>:first-child>.button,.button-group.round.stack-for-small>:first-child>a,.button-group.round.stack-for-small>:first-child>button{-webkit-top-left-radius:1rem;-webkit-top-right-radius:1rem;border-top-left-radius:1rem;border-top-right-radius:1rem}.button-group.round.stack-for-small>:last-child,.button-group.round.stack-for-small>:last-child>.button,.button-group.round.stack-for-small>:last-child>a,.button-group.round.stack-for-small>:last-child>button{-webkit-bottom-left-radius:1rem;-webkit-bottom-right-radius:1rem;border-bottom-left-radius:1rem;border-bottom-right-radius:1rem}}.button-bar:after,.button-bar:before,.clearing-thumbs:after,.clearing-thumbs:before,[data-clearing]:after,[data-clearing]:before{content:" ";display:table}.button-bar .button-group{float:left;margin-right:.625rem}.clearing-thumbs,[data-clearing]{list-style:none;margin-left:0;margin-bottom:0}.clearing-thumbs li,[data-clearing] li{float:left;margin-right:10px}.clearing-thumbs[class*=block-grid-] li,[data-clearing][class*=block-grid-] li{margin-right:0}.clearing-blackout{background:#333;height:100%;position:fixed;top:0;width:100%;z-index:998;left:0}.clearing-blackout .clearing-close{display:block}.clearing-container{height:100%;margin:0;overflow:hidden;position:relative;z-index:998}.clearing-touch-label{color:#AAA;font-size:.6em;left:50%;position:absolute;top:50%}.visible-img{height:95%;position:relative}.visible-img img{position:absolute;left:50%;top:50%;-webkit-transform:translateY(-50%) translateX(-50%);-moz-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);-o-transform:translateY(-50%) translateX(-50%);transform:translateY(-50%) translateX(-50%);max-height:100%;max-width:100%}.clearing-caption{background:#333;bottom:0;color:#CCC;font-size:.875em;line-height:1.3;padding:10px 30px 20px;position:absolute;text-align:center;left:0}.clearing-close{color:#CCC;display:none;font-size:30px;line-height:1;padding-left:20px;padding-top:10px;z-index:999}.clearing-close:focus,.clearing-close:hover{color:#CCC}.clearing-assembled .clearing-container{height:100%}.clearing-assembled .clearing-container .carousel>ul,.clearing-feature li{display:none}.clearing-feature li.clearing-featured-img{display:block}@media only screen and (min-width:40.0625em){.clearing-main-next,.clearing-main-prev{height:100%;position:absolute;top:0;width:40px}.clearing-main-next>span,.clearing-main-prev>span{border:12px solid;display:block;height:0;position:absolute;top:50%;width:0}.clearing-main-next>span:hover,.clearing-main-prev>span:hover{opacity:.8}.clearing-main-prev{left:0}.clearing-main-prev>span{left:5px;border-color:transparent #CCC transparent transparent}.clearing-main-next{right:0}.clearing-main-next>span{border-color:transparent transparent transparent #CCC}.clearing-main-next.disabled,.clearing-main-prev.disabled{opacity:.3}.clearing-assembled .clearing-container .carousel{background:rgba(51,51,51,.8);height:120px;margin-top:10px;text-align:center}.clearing-assembled .clearing-container .carousel>ul{display:inline-block;z-index:999;height:100%;position:relative;float:none}.clearing-assembled .clearing-container .carousel>ul li{clear:none;cursor:pointer;display:block;float:left;margin-right:0;min-height:inherit;opacity:.4;overflow:hidden;padding:0;position:relative;width:120px}.clearing-assembled .clearing-container .carousel>ul li.fix-height img{height:100%;max-width:none}.clearing-assembled .clearing-container .carousel>ul li a.th{border:none;box-shadow:none;display:block}.clearing-assembled .clearing-container .carousel>ul li img{cursor:pointer!important;width:100%!important}.clearing-assembled .clearing-container .carousel>ul li.visible{opacity:1}.clearing-assembled .clearing-container .carousel>ul li:hover{opacity:.8}.clearing-assembled .clearing-container .visible-img{background:#333;height:85%;overflow:hidden}.clearing-close{padding-left:0;padding-top:0;position:absolute;top:10px;right:20px}}.f-dropdown{display:none;left:-9999px;list-style:none;margin-left:0;position:absolute;background:#FFF;border:1px solid #ccc;font-size:.875rem;height:auto;max-height:none;width:100%;z-index:89;margin-top:2px;max-width:200px}.f-dropdown:after,.f-dropdown:before{content:"";display:block;height:0;width:0;position:absolute}.f-dropdown.open{display:block}.f-dropdown>:first-child{margin-top:0}.f-dropdown:before{border:6px inset;border-color:transparent transparent #FFF;border-bottom-style:solid;top:-12px;left:10px;z-index:89}.f-dropdown:after{border:7px inset;border-color:transparent transparent #ccc;border-bottom-style:solid;top:-14px;left:9px;z-index:88}.f-dropdown.right:before{left:auto;right:10px}.f-dropdown.right:after{left:auto;right:9px}.f-dropdown.drop-left,.f-dropdown.drop-right{left:-9999px;list-style:none;font-size:.875rem;margin-top:0;display:none;background:#FFF;max-height:none}.f-dropdown.drop-right{position:absolute;border:1px solid #ccc;height:auto;width:100%;z-index:89;margin-left:2px;max-width:200px}.f-dropdown.drop-right:after,.f-dropdown.drop-right:before{content:"";display:block;height:0;width:0;position:absolute}.f-dropdown.drop-right.open{display:block}.f-dropdown.drop-right>:first-child{margin-top:0}.f-dropdown.drop-right:before{border:6px inset;border-color:transparent #FFF transparent transparent;border-right-style:solid;top:10px;left:-12px;z-index:89}.f-dropdown.drop-right:after{border:7px inset;border-color:transparent #ccc transparent transparent;border-right-style:solid;top:9px;left:-14px;z-index:88}.f-dropdown.drop-left{position:absolute;border:1px solid #ccc;height:auto;width:100%;z-index:89;margin-left:-2px;max-width:200px}.f-dropdown.drop-left:after,.f-dropdown.drop-left:before{content:"";display:block;height:0;width:0;left:auto;position:absolute}.f-dropdown.content,.f-dropdown.drop-top{margin-left:0;font-size:.875rem;max-width:200px;list-style:none}.f-dropdown.drop-left.open{display:block}.f-dropdown.drop-left>:first-child{margin-top:0}.f-dropdown.drop-left:before{border:6px inset;border-color:transparent transparent transparent #FFF;border-left-style:solid;top:10px;right:-12px;z-index:89}.f-dropdown.drop-left:after{border:7px inset;border-color:transparent transparent transparent #ccc;border-left-style:solid;top:9px;right:-14px;z-index:88}.f-dropdown.drop-top{display:none;left:-9999px;position:absolute;background:#FFF;border:1px solid #ccc;height:auto;max-height:none;width:100%;z-index:89;margin-top:-2px}.f-dropdown.drop-top:after,.f-dropdown.drop-top:before{height:0;width:0;top:auto;right:auto;display:block;position:absolute;content:""}.f-dropdown.content>:first-child,.f-dropdown.drop-top>:first-child{margin-top:0}.f-dropdown.drop-top.open{display:block}.f-dropdown.drop-top:before{border:6px inset;border-color:#FFF transparent transparent;border-top-style:solid;bottom:-12px;left:10px;z-index:89}.f-dropdown.drop-top:after{border:7px inset;border-color:#ccc transparent transparent;border-top-style:solid;bottom:-14px;left:9px;z-index:88}select[multiple],textarea[rows]{height:auto}.f-dropdown li{cursor:pointer;font-size:.875rem;line-height:1.125rem;margin:0}.f-dropdown li:focus,.f-dropdown li:hover{background:#EEE}.f-dropdown li a{display:block;padding:.5rem;color:#555}.f-dropdown.content{display:none;left:-9999px;position:absolute;background:#FFF;border:1px solid #ccc;height:auto;max-height:none;padding:1.25rem;width:100%;z-index:89}.f-dropdown.content.open{display:block}.f-dropdown.radius{border-radius:3px}.f-dropdown.tiny{max-width:200px}.f-dropdown.small{max-width:300px}.f-dropdown.medium{max-width:500px}.f-dropdown.large{max-width:800px}.f-dropdown.mega{width:100%!important;max-width:100%!important}.f-dropdown.mega.open{left:0!important}.dropdown.button,button.dropdown{position:relative;padding-right:3.5625rem}.dropdown.button::after,button.dropdown::after{border-style:solid;content:"";display:block;height:0;position:absolute;top:50%;width:0;border-width:.375rem;right:1.40625rem;margin-top:-.15625rem;border-color:#FFF transparent transparent}.dropdown.button.tiny,button.dropdown.tiny{padding-right:2.625rem}.dropdown.button.tiny:after,button.dropdown.tiny:after{border-width:.375rem;right:1.125rem;margin-top:-.125rem}.dropdown.button.tiny::after,button.dropdown.tiny::after{border-color:#FFF transparent transparent}.dropdown.button.small,button.dropdown.small{padding-right:3.0625rem}.dropdown.button.small::after,button.dropdown.small::after{border-width:.4375rem;right:1.3125rem;margin-top:-.15625rem;border-color:#FFF transparent transparent}.dropdown.button.large,button.dropdown.large{padding-right:3.625rem}.dropdown.button.large::after,button.dropdown.large::after{border-width:.3125rem;right:1.71875rem;margin-top:-.15625rem;border-color:#FFF transparent transparent}.dropdown.button.secondary:after,button.dropdown.secondary:after{border-color:#333 transparent transparent}.flex-video{height:0;margin-bottom:1rem;padding-bottom:67.5%;padding-top:1.5625rem;position:relative}.flex-video.widescreen{padding-bottom:56.34%}.flex-video.vimeo{padding-top:0}.flex-video embed,.flex-video iframe,.flex-video object,.flex-video video{height:100%;position:absolute;top:0;width:100%;left:0}.postfix,.prefix,select{font-size:.875rem;height:2.3125rem}form .row .row{margin:0 -.5rem}form .row .row .column,form .row .row .columns{padding:0 .5rem}form .row .row.collapse{margin:0}form .row .row.collapse .column,form .row .row.collapse .columns{padding:0}form .row .row.collapse input{-webkit-border-bottom-right-radius:0;-webkit-border-top-right-radius:0;border-bottom-right-radius:0;border-top-right-radius:0}form .row input.column,form .row input.columns,form .row textarea.column,form .row textarea.columns{padding-left:.5rem}label{color:#4d4d4d;cursor:pointer;display:block;font-size:.875rem;line-height:1.5;margin-bottom:0}input[type=file],input[type=checkbox],input[type=radio],label.inline,select{margin:0 0 1rem}label.right{float:none!important;text-align:right}label.inline{padding:.5625rem 0}label small{text-transform:capitalize;color:#676767}.postfix,.prefix{border-style:solid;border-width:1px;display:block;line-height:2.3125rem;overflow:visible;padding-bottom:0;padding-top:0;position:relative;text-align:center;width:100%;z-index:2}.postfix.button,.prefix.button{border:none;text-align:center;padding:0}.prefix.button.radius{border-radius:3px 0 0 3px;-webkit-border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px}.postfix.button.radius{border-radius:0 3px 3px 0;-webkit-border-bottom-right-radius:3px;-webkit-border-top-right-radius:3px}.prefix.button.round{border-radius:1000px 0 0 1000px;-webkit-border-bottom-left-radius:1000px;-webkit-border-top-left-radius:1000px}.postfix.button.round{border-radius:0 1000px 1000px 0;-webkit-border-bottom-right-radius:1000px;-webkit-border-top-right-radius:1000px}label.prefix,span.prefix{background:#f2f2f2;border-right:none;color:#333;border-color:#ccc}label.postfix,span.postfix{background:#f2f2f2;border-left:none;color:#333;border-color:#ccc}fieldset[disabled] input:not([type]),fieldset[disabled] input[type=text],fieldset[disabled] input[type=password],fieldset[disabled] input[type=date],fieldset[disabled] input[type=datetime],fieldset[disabled] input[type=datetime-local],fieldset[disabled] input[type=month],fieldset[disabled] input[type=week],fieldset[disabled] input[type=email],fieldset[disabled] input[type=number],fieldset[disabled] input[type=search],fieldset[disabled] input[type=tel],fieldset[disabled] input[type=time],fieldset[disabled] input[type=url],fieldset[disabled] input[type=color],fieldset[disabled] textarea,input:not([type]):disabled,input:not([type])[disabled],input:not([type])[readonly],input[type=text]:disabled,input[type=text][disabled],input[type=text][readonly],input[type=password]:disabled,input[type=password][disabled],input[type=password][readonly],input[type=date]:disabled,input[type=date][disabled],input[type=date][readonly],input[type=datetime]:disabled,input[type=datetime][disabled],input[type=datetime][readonly],input[type=datetime-local]:disabled,input[type=datetime-local][disabled],input[type=datetime-local][readonly],input[type=month]:disabled,input[type=month][disabled],input[type=month][readonly],input[type=week]:disabled,input[type=week][disabled],input[type=week][readonly],input[type=email]:disabled,input[type=email][disabled],input[type=email][readonly],input[type=number]:disabled,input[type=number][disabled],input[type=number][readonly],input[type=search]:disabled,input[type=search][disabled],input[type=search][readonly],input[type=tel]:disabled,input[type=tel][disabled],input[type=tel][readonly],input[type=time]:disabled,input[type=time][disabled],input[type=time][readonly],input[type=url]:disabled,input[type=url][disabled],input[type=url][readonly],input[type=color]:disabled,input[type=color][disabled],input[type=color][readonly],select:disabled,textarea:disabled,textarea[disabled],textarea[readonly]{background-color:#DDD;cursor:default}input:not([type]),input[type=text],input[type=password],input[type=date],input[type=datetime],input[type=datetime-local],input[type=month],input[type=week],input[type=email],input[type=number],input[type=search],input[type=tel],input[type=time],input[type=url],input[type=color],textarea{-webkit-appearance:none;-moz-appearance:none;border-radius:0;background-color:#FFF;border-style:solid;border-width:1px;border-color:#ccc;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);color:rgba(0,0,0,.75);display:block;font-family:inherit;font-size:.875rem;height:2.3125rem;margin:0 0 1rem;padding:.5rem;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:border-color .15s linear,background .15s linear;-moz-transition:border-color .15s linear,background .15s linear;-ms-transition:border-color .15s linear,background .15s linear;-o-transition:border-color .15s linear,background .15s linear;transition:border-color .15s linear,background .15s linear}input:not([type]):focus,input[type=text]:focus,input[type=password]:focus,input[type=date]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=month]:focus,input[type=week]:focus,input[type=email]:focus,input[type=number]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=time]:focus,input[type=url]:focus,input[type=color]:focus,textarea:focus{background:#fafafa;border-color:#999;outline:0}input:not([type]).radius,input[type=text].radius,input[type=password].radius,input[type=date].radius,input[type=datetime].radius,input[type=datetime-local].radius,input[type=month].radius,input[type=week].radius,input[type=email].radius,input[type=number].radius,input[type=search].radius,input[type=tel].radius,input[type=time].radius,input[type=url].radius,input[type=color].radius,textarea.radius{border-radius:3px}form .row .prefix-radius.row.collapse button,form .row .prefix-radius.row.collapse input,form .row .prefix-radius.row.collapse select,form .row .prefix-radius.row.collapse textarea{border-radius:0 3px 3px 0;-webkit-border-bottom-right-radius:3px;-webkit-border-top-right-radius:3px}form .row .postfix-radius.row.collapse button,form .row .postfix-radius.row.collapse input,form .row .postfix-radius.row.collapse select,form .row .postfix-radius.row.collapse textarea,form .row .prefix-radius.row.collapse .prefix{border-radius:3px 0 0 3px;-webkit-border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px}form .row .postfix-radius.row.collapse .postfix{border-radius:0 3px 3px 0;-webkit-border-bottom-right-radius:3px;-webkit-border-top-right-radius:3px}form .row .prefix-round.row.collapse button,form .row .prefix-round.row.collapse input,form .row .prefix-round.row.collapse select,form .row .prefix-round.row.collapse textarea{border-radius:0 1000px 1000px 0;-webkit-border-bottom-right-radius:1000px;-webkit-border-top-right-radius:1000px}form .row .postfix-round.row.collapse button,form .row .postfix-round.row.collapse input,form .row .postfix-round.row.collapse select,form .row .postfix-round.row.collapse textarea,form .row .prefix-round.row.collapse .prefix{border-radius:1000px 0 0 1000px;-webkit-border-bottom-left-radius:1000px;-webkit-border-top-left-radius:1000px}form .row .postfix-round.row.collapse .postfix{border-radius:0 1000px 1000px 0;-webkit-border-bottom-right-radius:1000px;-webkit-border-top-right-radius:1000px}input[type=submit]{-webkit-appearance:none;-moz-appearance:none;border-radius:0}textarea{max-width:100%}::-webkit-input-placeholder{color:#666}:-moz-placeholder{color:#666}::-moz-placeholder{color:#666}:-ms-input-placeholder{color:#666}select{-webkit-appearance:none!important;-moz-appearance:none!important;background-color:#FAFAFA;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMTJweCIgeT0iMHB4IiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIzcHgiIHZpZXdCb3g9IjAgMCA2IDMiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDYgMyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBvbHlnb24gcG9pbnRzPSI1Ljk5MiwwIDIuOTkyLDMgLTAuMDA4LDAgIi8+PC9zdmc+);background-position:100% center;background-repeat:no-repeat;border-style:solid;border-width:1px;border-color:#ccc;color:rgba(0,0,0,.75);line-height:normal;padding:.5rem;border-radius:0}select::-ms-expand{display:none}select.radius{border-radius:3px}select:focus{background-color:#f3f3f3;border-color:#999}.icon-bar .item.disabled,.icon-bar .item.disabled>*{opacity:.7;cursor:not-allowed}input[type=checkbox]+label,input[type=radio]+label{display:inline-block;margin-left:.5rem;margin-right:1rem;margin-bottom:0;vertical-align:baseline}input[type=file]{width:100%}fieldset{border:1px solid #DDD;margin:1.125rem 0;padding:1.25rem}fieldset legend{font-weight:700;margin:0 0 0 -.1875rem;padding:0 .1875rem}[data-abide] .error small.error,[data-abide] .error span.error,[data-abide] small.error,[data-abide] span.error{display:block;font-size:.75rem;font-style:italic;font-weight:400;margin-bottom:1rem;margin-top:-1px;padding:.375rem .5625rem .5625rem;background:#f04124;color:#FFF}[data-abide] small.error,[data-abide] span.error{display:none}.error small.error,small.error,span.error{display:block;font-size:.75rem;margin-top:-1px;padding:.375rem .5625rem .5625rem;background:#f04124;font-weight:400;font-style:italic}small.error,span.error{margin-bottom:1rem;color:#FFF}.error input,.error select,.error textarea{margin-bottom:0}.error input[type=checkbox],.error input[type=radio],.error small.error{margin-bottom:1rem}.error label,.error label.error{color:#f04124}.error small.error{color:#FFF}.error>label>small{background:0 0;color:#676767;display:inline;font-size:60%;font-style:normal;margin:0;padding:0;text-transform:capitalize}.side-nav li.heading,.sub-nav dt{text-transform:uppercase}.error span.error-message{display:block}input.error,select.error,textarea.error{margin-bottom:0}label.error{color:#f04124}.icon-bar>* i,.icon-bar>* label,.icon-bar>a.active i,.icon-bar>a.active label,.icon-bar>a:hover i,.icon-bar>a:hover label,.joyride-tip-guide{color:#FFF}.icon-bar{display:inline-block;font-size:0;width:100%;background:#333}.icon-bar>*,.icon-bar>* i,.icon-bar>* img{display:block;margin:0 auto}.icon-bar>a.active,.icon-bar>a:hover{background:#008CBA}.icon-bar>*{float:left;text-align:center;width:25%;font-size:1rem;padding:1.25rem}.icon-bar>* i+label,.icon-bar>* img+label{margin-top:.0625rem;font-size:1rem}.icon-bar>* i{vertical-align:middle;font-size:1.875rem}.icon-bar.label-right>* i,.icon-bar.label-right>* img{display:inline-block;margin:0 .0625rem 0 0}.icon-bar.label-right>* i+label,.icon-bar.label-right>* img+label{margin-top:0}.icon-bar.label-right>* label{display:inline-block}.icon-bar.vertical.label-right>*{text-align:left}.label,.orbit-bullets,.orbit-bullets-container,.pagination-centered{text-align:center}.icon-bar.small-vertical,.icon-bar.vertical{height:100%;width:auto}.icon-bar.small-vertical .item,.icon-bar.vertical .item{float:none;margin:auto;width:auto}@media only screen and (min-width:40.0625em){.icon-bar.medium-vertical{height:100%;width:auto}.icon-bar.medium-vertical .item{float:none;margin:auto;width:auto}}@media only screen and (min-width:64.0625em){.icon-bar.large-vertical{height:100%;width:auto}.icon-bar.large-vertical .item{float:none;margin:auto;width:auto}}.icon-bar>* img{height:1.875rem;width:1.875rem}.icon-bar .item.disabled{pointer-events:none}.icon-bar.two-up .item{width:50%}.icon-bar.two-up.small-vertical .item,.icon-bar.two-up.vertical .item{width:auto}@media only screen and (min-width:40.0625em){.icon-bar.two-up.medium-vertical .item{width:auto}}@media only screen and (min-width:64.0625em){.icon-bar.two-up.large-vertical .item{width:auto}}.icon-bar.three-up .item{width:33.3333%}.icon-bar.three-up.small-vertical .item,.icon-bar.three-up.vertical .item{width:auto}@media only screen and (min-width:40.0625em){.icon-bar.three-up.medium-vertical .item{width:auto}}@media only screen and (min-width:64.0625em){.icon-bar.three-up.large-vertical .item{width:auto}}.icon-bar.four-up .item{width:25%}.icon-bar.four-up.small-vertical .item,.icon-bar.four-up.vertical .item{width:auto}@media only screen and (min-width:40.0625em){.icon-bar.four-up.medium-vertical .item{width:auto}}@media only screen and (min-width:64.0625em){.icon-bar.four-up.large-vertical .item{width:auto}}.icon-bar.five-up .item{width:20%}.icon-bar.five-up.small-vertical .item,.icon-bar.five-up.vertical .item{width:auto}@media only screen and (min-width:40.0625em){.icon-bar.five-up.medium-vertical .item{width:auto}}@media only screen and (min-width:64.0625em){.icon-bar.five-up.large-vertical .item{width:auto}}.icon-bar.six-up .item{width:16.66667%}.icon-bar.six-up.small-vertical .item,.icon-bar.six-up.vertical .item{width:auto}@media only screen and (min-width:40.0625em){.icon-bar.six-up.medium-vertical .item{width:auto}}@media only screen and (min-width:64.0625em){.icon-bar.six-up.large-vertical .item{width:auto}}.icon-bar.seven-up .item{width:14.28571%}.icon-bar.seven-up.small-vertical .item,.icon-bar.seven-up.vertical .item{width:auto}@media only screen and (min-width:40.0625em){.icon-bar.seven-up.medium-vertical .item{width:auto}}@media only screen and (min-width:64.0625em){.icon-bar.seven-up.large-vertical .item{width:auto}}.icon-bar.eight-up .item{width:12.5%}.icon-bar.eight-up.small-vertical .item,.icon-bar.eight-up.vertical .item{width:auto}@media only screen and (min-width:40.0625em){.icon-bar.eight-up.medium-vertical .item{width:auto}}@media only screen and (min-width:64.0625em){.icon-bar.eight-up.large-vertical .item{width:auto}}.inline-list{list-style:none;overflow:hidden;padding:0;margin:0 0 1.0625rem -1.375rem}.inline-list>li{display:block;float:left;list-style:none;margin-left:1.375rem}.inline-list>li>*{display:block}.joyride-list{display:none}.joyride-tip-guide{background:#333;display:none;font-weight:400;position:absolute;top:0;width:95%;z-index:103;left:2.5%}.lt-ie9 .joyride-tip-guide{margin-left:-400px;max-width:800px;left:50%}.joyride-content-wrapper{padding:1.125rem 1.25rem 1.5rem;width:100%}.joyride-content-wrapper .button{margin-bottom:0!important}.joyride-content-wrapper .joyride-prev-tip{margin-right:10px}.joyride-tip-guide .joyride-nub{border:10px solid #333;display:block;height:0;position:absolute;width:0;left:22px}.joyride-tip-guide .joyride-nub.top{border-color:#333;border-top-color:transparent!important;border-top-style:solid;border-left-color:transparent!important;border-right-color:transparent!important;top:-20px}.joyride-tip-guide .joyride-nub.bottom{border-color:#333 transparent transparent!important;border-bottom-style:solid;bottom:-20px}.joyride-tip-guide .joyride-nub.right{right:-20px}.joyride-tip-guide .joyride-nub.left{left:-20px}.joyride-tip-guide h1,.joyride-tip-guide h2,.joyride-tip-guide h3,.joyride-tip-guide h4,.joyride-tip-guide h5,.joyride-tip-guide h6{color:#FFF;font-weight:700;line-height:1.25;margin:0}.joyride-close-tip,.label{font-weight:400;text-decoration:none}.joyride-tip-guide p{font-size:.875rem;line-height:1.3;margin:0 0 1.125rem}.joyride-timer-indicator-wrap{border:1px solid #555;bottom:1rem;height:3px;position:absolute;width:50px;right:1.0625rem}.joyride-timer-indicator{background:#666;display:block;height:inherit;width:0}.joyride-close-tip{color:#777!important;font-size:24px;line-height:.5!important;position:absolute;top:10px;right:12px}.joyride-close-tip:focus,.joyride-close-tip:hover{color:#EEE!important}.joyride-modal-bg{background:rgba(0,0,0,.5);cursor:pointer;display:none;height:100%;position:fixed;top:0;width:100%;z-index:100;left:0}.joyride-expose-wrapper{background-color:#FFF;border-radius:3px;box-shadow:0 0 15px #FFF;position:absolute;z-index:102}.joyride-expose-cover{background:0 0;border-radius:3px;left:0;position:absolute;top:0;z-index:9999}.label,.slideshow-wrapper{position:relative}@media only screen{.joyride-tip-guide{width:300px;left:inherit}.joyride-tip-guide .joyride-nub.bottom{border-color:#333 transparent transparent!important;bottom:-20px}.joyride-tip-guide .joyride-nub.right{border-color:transparent transparent transparent #333!important;left:auto;right:-20px;top:22px}.joyride-tip-guide .joyride-nub.left{border-color:transparent #333 transparent transparent!important;left:-20px;right:auto;top:22px}}.keystroke,kbd{background-color:#ededed;border-color:#ddd;color:#222;border-style:solid;border-width:1px;font-family:Consolas,Menlo,Courier,monospace;font-size:inherit;margin:0;padding:.125rem .25rem 0;border-radius:3px}.label{display:inline-block;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;line-height:1;margin-bottom:auto;white-space:nowrap;padding:.25rem .5rem;font-size:.6875rem;background-color:#008CBA;color:#FFF}.label.radius{border-radius:3px}.label.round{border-radius:1000px}.label.alert{background-color:#f04124;color:#FFF}.label.warning{background-color:#f08a24;color:#FFF}.label.success{background-color:#43AC6A;color:#FFF}.label.secondary{background-color:#e7e7e7;color:#333}.label.info{background-color:#a0d3e8;color:#333}[data-magellan-expedition-clone],[data-magellan-expedition]{background:#FFF;min-width:100%;padding:10px;z-index:50}[data-magellan-expedition-clone] .sub-nav,[data-magellan-expedition-clone] .sub-nav dd,[data-magellan-expedition] .sub-nav,[data-magellan-expedition] .sub-nav dd{margin-bottom:0}[data-magellan-expedition-clone] .sub-nav a,[data-magellan-expedition] .sub-nav a{line-height:1.8em}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{from{-webkit-transform:rotate(0);-moz-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}.slideshow-wrapper ul{list-style-type:none;margin:0}.slideshow-wrapper ul li,.slideshow-wrapper ul li .orbit-caption{display:none}.slideshow-wrapper .orbit-container li,.slideshow-wrapper .orbit-container li .orbit-caption,.slideshow-wrapper ul li:first-child{display:block}.slideshow-wrapper .orbit-container{background-color:transparent}.slideshow-wrapper .orbit-container .orbit-bullets li{display:inline-block}.slideshow-wrapper .preloader{border-radius:1000px;animation-duration:1.5s;animation-iteration-count:infinite;animation-name:rotate;animation-timing-function:linear;border:3px solid;display:block;height:40px;left:50%;margin-left:-20px;margin-top:-20px;position:absolute;top:50%;width:40px}.orbit-container{background:0 0;overflow:hidden;position:relative;width:100%}.orbit-container .orbit-slides-container{list-style:none;margin:0;padding:0;position:relative;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0);transform:translateZ(0)}.orbit-container .orbit-slides-container img{display:block;max-width:100%}.orbit-container .orbit-slides-container>*{position:absolute;top:0;width:100%;margin-left:100%}.orbit-container .orbit-slides-container>:first-child{margin-left:0}.orbit-container .orbit-slides-container>* .orbit-caption{bottom:0;position:absolute;background-color:rgba(51,51,51,.8);color:#FFF;font-size:.875rem;padding:.625rem .875rem;width:100%}.orbit-container .orbit-slide-number{left:10px;background:0 0;color:#FFF;font-size:12px;position:absolute;top:10px;z-index:10}.orbit-container .orbit-slide-number span{font-weight:700;padding:.3125rem}.orbit-container .orbit-timer{position:absolute;top:12px;right:10px;height:6px;width:100px;z-index:10}.orbit-container .orbit-timer .orbit-progress{height:3px;background-color:rgba(255,255,255,.3);display:block;width:0;position:relative;right:20px;top:5px}.orbit-container .orbit-timer>span{border:4px solid #FFF;border-bottom:none;border-top:none;display:none;height:14px;position:absolute;top:0;width:11px;right:0}.orbit-container .orbit-timer.paused>span{top:0;width:11px;height:14px;border:8px inset;border-left-style:solid;border-color:transparent transparent transparent #FFF;right:-4px}.orbit-container .orbit-timer.paused>span.dark{border-left-color:#333}.orbit-container:hover .orbit-timer>span{display:block}.orbit-container .orbit-next,.orbit-container .orbit-prev{background-color:transparent;color:#fff;height:60px;line-height:50px;margin-top:-25px;position:absolute;text-indent:-9999px!important;top:45%;width:36px;z-index:10}.orbit-container .orbit-next:hover,.orbit-container .orbit-prev:hover{background-color:rgba(0,0,0,.3)}.orbit-container .orbit-next>span,.orbit-container .orbit-prev>span{border:10px inset;display:block;height:0;margin-top:-10px;position:absolute;top:50%;width:0}.orbit-container .orbit-prev{left:0}.orbit-container .orbit-prev>span{border-right-style:solid;border-color:transparent #FFF transparent transparent}.orbit-container .orbit-prev:hover>span{border-right-color:#FFF}.orbit-container .orbit-next{right:0}.orbit-container .orbit-next>span{border-color:transparent transparent transparent #FFF;border-left-style:solid;left:50%;margin-left:-4px}.orbit-container .orbit-next:hover>span{border-left-color:#FFF}.orbit-bullets{display:block;float:none;margin:0 auto 30px;overflow:hidden;position:relative;top:10px}.orbit-bullets li{background:#CCC;cursor:pointer;display:inline-block;float:none;height:.5625rem;margin-right:6px;width:.5625rem;border-radius:1000px}.orbit-bullets li.active{background:#999}.orbit-bullets li:last-child{margin-right:0}.touch .orbit-bullets,.touch .orbit-container .orbit-next,.touch .orbit-container .orbit-prev{display:none}@media only screen and (min-width:40.0625em){.touch .orbit-container .orbit-next,.touch .orbit-container .orbit-prev{display:inherit}.touch .orbit-bullets{display:block}}@media only screen and (max-width:40em){.orbit-stack-on-small .orbit-slides-container{height:auto!important}.orbit-stack-on-small .orbit-slides-container>*{margin:0!important;opacity:1!important;position:relative}.orbit-bullets,.orbit-next,.orbit-prev,.orbit-stack-on-small .orbit-slide-number,.orbit-timer{display:none}}.panel.callout>:first-child,.panel>:first-child{margin-top:0}ul.pagination{display:block;margin-left:-.3125rem;min-height:1.5rem}ul.pagination li{color:#222;font-size:.875rem;height:1.5rem;margin-left:.3125rem;display:block;float:left}ul.pagination li a,ul.pagination li button{border-radius:3px;transition:background-color .3s ease-out;background:0 0;color:#999;display:block;font-size:1em;font-weight:400;line-height:inherit;padding:.0625rem .625rem}.panel,.panel.callout{border-style:solid;border-width:1px;border-color:#d8d8d8;padding:1.25rem}ul.pagination li a:focus,ul.pagination li button:focus,ul.pagination li:hover a,ul.pagination li:hover button{background:#e6e6e6}ul.pagination li.unavailable a,ul.pagination li.unavailable button{cursor:default;color:#999;pointer-events:none}ul.pagination li.unavailable a:focus,ul.pagination li.unavailable button:focus,ul.pagination li.unavailable:hover a,ul.pagination li.unavailable:hover button{background:0 0}ul.pagination li.current a,ul.pagination li.current button{background:#008CBA;color:#FFF;cursor:default;font-weight:700}.panel,.panel dl,.panel h1,.panel h2,.panel h3,.panel h4,.panel h5,.panel h6,.panel li,.panel p,.panel.callout dl,.panel.callout h1,.panel.callout h2,.panel.callout h3,.panel.callout h4,.panel.callout h5,.panel.callout h6,.panel.callout li,.panel.callout p{color:#333}ul.pagination li.current a:focus,ul.pagination li.current a:hover,ul.pagination li.current button:focus,ul.pagination li.current button:hover{background:#008CBA}.pagination-centered ul.pagination li{display:inline-block;float:none}.panel{margin-bottom:1.25rem;background:#f2f2f2}.panel>:last-child{margin-bottom:0}.panel h1,.panel h2,.panel h3,.panel h4,.panel h5,.panel h6{line-height:1;margin-bottom:.625rem}.panel h1.subheader,.panel h2.subheader,.panel h3.subheader,.panel h4.subheader,.panel h5.subheader,.panel h6.subheader{line-height:1.4}.panel.callout{margin-bottom:1.25rem;background:#ecfaff;color:#333}.pricing-table .price,.pricing-table .title{font-weight:400;padding:.9375rem 1.25rem;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif}.panel.callout>:last-child{margin-bottom:0}.panel.callout h1,.panel.callout h2,.panel.callout h3,.panel.callout h4,.panel.callout h5,.panel.callout h6{line-height:1;margin-bottom:.625rem}.panel.callout h1.subheader,.panel.callout h2.subheader,.panel.callout h3.subheader,.panel.callout h4.subheader,.panel.callout h5.subheader,.panel.callout h6.subheader{line-height:1.4}.panel.callout a:not(.button){color:#008CBA}.panel.callout a:not(.button):focus,.panel.callout a:not(.button):hover{color:#0078a0}.panel.radius{border-radius:3px}.pricing-table{border:1px solid #DDD;margin-left:0;margin-bottom:1.25rem}.pricing-table *{list-style:none;line-height:1}.pricing-table .title{background-color:#333;color:#EEE;font-size:1rem;text-align:center}.pricing-table .price{background-color:#F6F6F6;color:#333;font-size:2rem;text-align:center}.pricing-table .bullet-item,.pricing-table .description{border-bottom:dotted 1px #DDD;font-weight:400;padding:.9375rem;background-color:#FFF;text-align:center}.pricing-table .description{color:#777;font-size:.75rem;line-height:1.4}.pricing-table .bullet-item{color:#333;font-size:.875rem}.pricing-table .cta-button{background-color:#FFF;padding:1.25rem 1.25rem 0;text-align:center}.progress{background-color:#F6F6F6;border:1px solid #fff;height:1.5625rem;margin-bottom:.625rem;padding:.125rem}.progress .meter,.progress .meter.alert,.progress .meter.secondary,.progress .meter.success,.progress.alert .meter,.progress.secondary .meter,.progress.success .meter{height:100%;width:0;display:block;float:left}.progress .meter{background:#008CBA}.progress .meter.secondary{background:#e7e7e7}.progress .meter.success{background:#43AC6A}.progress .meter.alert{background:#f04124}.progress.secondary .meter{background:#e7e7e7}.progress.success .meter{background:#43AC6A}.progress.alert .meter{background:#f04124}.progress.radius{border-radius:3px}.progress.radius .meter{border-radius:2px}.progress.round{border-radius:1000px}.progress.round .meter{border-radius:999px}.range-slider,.range-slider.vertical-range{border:1px solid #DDD;margin:1.25rem 0;position:relative}.range-slider{-ms-touch-action:none;touch-action:none;display:block;height:1rem;width:100%;background:#FAFAFA}.range-slider.vertical-range{-ms-touch-action:none;touch-action:none;display:inline-block;height:12.5rem;width:1rem}.range-slider.vertical-range .range-slider-handle{bottom:-10.5rem;margin-left:-.5rem;margin-top:0;position:absolute}.range-slider.vertical-range .range-slider-active-segment{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;border-top-left-radius:initial;bottom:0;height:auto;width:.875rem}.range-slider.radius{background:#FAFAFA;border-radius:3px}.range-slider.radius .range-slider-handle{background:#008CBA;border-radius:3px}.range-slider.radius .range-slider-handle:hover{background:#007ba4}.range-slider.round{background:#FAFAFA;border-radius:1000px}.range-slider.round .range-slider-handle{background:#008CBA;border-radius:1000px}.range-slider.round .range-slider-handle:hover{background:#007ba4}.range-slider.disabled,.range-slider[disabled]{background:#FAFAFA;cursor:not-allowed;opacity:.7}.range-slider.disabled .range-slider-handle,.range-slider[disabled] .range-slider-handle{background:#008CBA;cursor:default;opacity:.7}.range-slider.disabled .range-slider-handle:hover,.range-slider[disabled] .range-slider-handle:hover{background:#007ba4}.range-slider-active-segment{background:#e5e5e5;border-bottom-left-radius:inherit;border-top-left-radius:inherit;display:inline-block;height:.875rem;position:absolute}.range-slider-handle{border:1px solid;cursor:pointer;display:inline-block;height:1.375rem;position:absolute;top:-.3125rem;width:2rem;z-index:1;-ms-touch-action:manipulation;touch-action:manipulation;background:#008CBA}.range-slider-handle:hover{background:#007ba4}.reveal-modal-bg{background:#000;background:rgba(0,0,0,.45);bottom:0;display:none;position:fixed;right:0;top:0;z-index:1004;left:0}.reveal-modal{border-radius:3px;display:none;position:absolute;top:0;width:100%;z-index:1005;left:0;background-color:#FFF;padding:1.875rem;border:1px solid #666;box-shadow:0 0 10px rgba(0,0,0,.4)}.reveal-modal .column,.reveal-modal .columns{min-width:0}.reveal-modal>:first-child{margin-top:0}.reveal-modal>:last-child{margin-bottom:0}.reveal-modal.radius{box-shadow:none;border-radius:3px}.reveal-modal.round{box-shadow:none;border-radius:1000px}.reveal-modal.collapse{padding:0;box-shadow:none}@media only screen and (min-width:40.0625em){.reveal-modal{left:0;margin:0 auto;max-width:62.5rem;right:0;width:80%;top:6.25rem}.reveal-modal.tiny{left:0;margin:0 auto;max-width:62.5rem;right:0;width:30%}.reveal-modal.small{left:0;margin:0 auto;max-width:62.5rem;right:0;width:40%}.reveal-modal.medium{left:0;margin:0 auto;max-width:62.5rem;right:0;width:60%}.reveal-modal.large{left:0;margin:0 auto;max-width:62.5rem;right:0;width:70%}.reveal-modal.xlarge{left:0;margin:0 auto;max-width:62.5rem;right:0;width:95%}}.reveal-modal.full{height:100vh;height:100%;left:0;margin-left:0!important;max-width:none!important;min-height:100vh;top:0}@media only screen and (min-width:40.0625em){.reveal-modal.full{left:0;margin:0 auto;max-width:62.5rem;right:0;width:100%}}.reveal-modal.toback{z-index:1003}.reveal-modal .close-reveal-modal{color:#AAA;cursor:pointer;font-size:2.5rem;font-weight:700;line-height:1;position:absolute;top:.625rem;right:1.375rem}.side-nav{display:block;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;list-style-position:outside;list-style-type:none;margin:0;padding:.875rem 0}.side-nav li{font-size:.875rem;font-weight:400;margin:0 0 .4375rem}.side-nav li a:not(.button){color:#008CBA;display:block;margin:0;padding:.4375rem .875rem}.split.button.large span:after,.split.button.small span:after,.split.button.tiny span:after{margin-left:-.375rem;border-top-style:solid;top:48%}.side-nav li a:not(.button):focus,.side-nav li a:not(.button):hover{background:rgba(0,0,0,.025);color:#1cc7ff}.side-nav li a:not(.button):active{color:#1cc7ff}.side-nav li.active>a:first-child:not(.button){color:#1cc7ff;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;font-weight:400}.side-nav li.divider{border-top:1px solid;height:0;list-style:none;padding:0;border-top-color:#e6e6e6}.side-nav li.heading{color:#008CBA;font-size:.875rem;font-weight:700}.split.button{position:relative;padding-right:5.0625rem}.split.button span{display:block;height:100%;position:absolute;right:0;top:0;border-left:solid 1px}.split.button span,.split.button.alert span,.split.button.secondary span,.split.button.success span{border-left-color:rgba(255,255,255,.5)}.split.button span:after{position:absolute;content:"";width:0;height:0;display:block;border-style:solid inset inset;left:50%;border-width:.375rem;margin-left:-.375rem;top:48%;border-color:#FFF transparent transparent}.split.button span:active{background-color:rgba(0,0,0,.1)}.split.button span{width:3.09375rem}.split.button.tiny{padding-right:3.75rem}.split.button.tiny span{width:2.25rem}.split.button.tiny span:after{border-width:.375rem}.split.button.small{padding-right:4.375rem}.split.button.small span{width:2.625rem}.split.button.small span:after{border-width:.4375rem}.split.button.large{padding-right:5.5rem}.split.button.large span{width:3.4375rem}.split.button.large span:after{border-width:.3125rem}.split.button.expand{padding-left:2rem}.split.button.secondary span:after{border-color:#333 transparent transparent}.split.button.radius span{-webkit-border-bottom-right-radius:3px;-webkit-border-top-right-radius:3px;border-bottom-right-radius:3px;border-top-right-radius:3px}.split.button.round span{-webkit-border-bottom-right-radius:1000px;-webkit-border-top-right-radius:1000px;border-bottom-right-radius:1000px;border-top-right-radius:1000px}.split.button.no-pip span:after,.split.button.no-pip span:before{border-style:none}.split.button.no-pip span>i{display:block;left:50%;margin-left:-.28889em;margin-top:-.48889em;position:absolute;top:50%}.sub-nav{display:block;margin:-.25rem 0 1.125rem;overflow:hidden;padding-top:.25rem;width:auto}.sub-nav dd,.sub-nav dt,.sub-nav li{color:#999;float:left;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;font-size:.875rem;font-weight:400;margin-left:1rem;margin-bottom:0}.sub-nav dd a,.sub-nav dt a,.sub-nav li a{color:#999;padding:.1875rem 1rem;text-decoration:none}.sub-nav dd a:hover,.sub-nav dt a:hover,.sub-nav li a:hover{color:#737373}.sub-nav dd.active a,.sub-nav dt.active a,.sub-nav li.active a{border-radius:3px;background:#008CBA;color:#FFF;cursor:default;font-weight:400;padding:.1875rem 1rem}.sub-nav dd.active a:hover,.sub-nav dt.active a:hover,.sub-nav li.active a:hover{background:#0078a0}.switch{border:none;margin-bottom:1.5rem;outline:0;padding:0;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.switch label{cursor:pointer;display:block;margin-bottom:1rem;position:relative;text-indent:100%;transition:left .15s ease-out;height:2rem;width:4rem;color:transparent;background:#DDD}.switch input{left:10px;opacity:0;padding:0;position:absolute;top:9px}.switch input+label{margin-left:0;margin-right:0}.switch label:after{content:"";display:block;left:.25rem;position:absolute;top:.25rem;-webkit-transition:left .15s ease-out;-moz-transition:left .15s ease-out;-o-transition:translate3d(0,0,0);transition:left .15s ease-out;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0);height:1.5rem;width:1.5rem;background:#FFF}.switch input:checked+label:after{left:2.25rem}.switch input:checked+label{background:#008CBA}.switch.large label{height:2.5rem;width:5rem}.switch.large label:after{height:2rem;width:2rem}.switch.large input:checked+label:after{left:2.75rem}.switch.small label{height:1.75rem;width:3.5rem}.switch.small label:after{height:1.25rem;width:1.25rem}.switch.small input:checked+label:after{left:2rem}.switch.tiny label{height:1.5rem;width:3rem}.switch.tiny label:after{height:1rem;width:1rem}.switch.tiny input:checked+label:after{left:1.75rem}.switch.radius label{border-radius:4px}.switch.radius label:after{border-radius:3px}.switch.round{border-radius:1000px}.switch.round label,.switch.round label:after{border-radius:2rem}table{background:#FFF;border:1px solid #DDD;margin-bottom:1.25rem;table-layout:auto}table caption{background:0 0;color:#222;font-size:1rem;font-weight:700}table tfoot,table thead{background:#F5F5F5}table tfoot tr td,table tfoot tr th,table thead tr td,table thead tr th{color:#222;font-size:.875rem;font-weight:700;padding:.5rem .625rem .625rem}table tr td,table tr th{color:#222;font-size:.875rem;padding:.5625rem .625rem;text-align:left}table tr.alt,table tr.even,table tr:nth-of-type(even){background:#F9F9F9}table tbody tr td,table tbody tr th,table tfoot tr td,table tfoot tr th,table thead tr th,table tr td{display:table-cell;line-height:1.125rem}.tabs{margin-bottom:0!important;margin-left:0}.tabs:after,.tabs:before{content:" ";display:table}.tabs .tab-title,.tabs dd{float:left;list-style:none;margin-bottom:0!important;position:relative}.tabs .tab-title>a,.tabs dd>a{display:block;background-color:#EFEFEF;color:#222;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;font-size:1rem;padding:1rem 2rem}.tabs .tab-title>a:hover,.tabs dd>a:hover{background-color:#e1e1e1}.tabs .tab-title.active>a,.tabs dd.active>a{background-color:#FFF;color:#222}.tabs.radius .tab:first-child a,.tabs.radius dd:first-child a{-webkit-border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-left-radius:3px}.tabs.radius .tab:last-child a,.tabs.radius dd:last-child a{-webkit-border-bottom-right-radius:3px;-webkit-border-top-right-radius:3px;border-bottom-right-radius:3px;border-top-right-radius:3px}.tabs.vertical .tab-title,.tabs.vertical dd{position:inherit;float:none;display:block;top:auto}.tabs-content{margin-bottom:1.5rem;width:100%}.tabs-content:after,.tabs-content:before{content:" ";display:table}.tabs-content>.content{display:none;float:left;padding:.9375rem 0;width:100%}.tabs-content>.content.active{display:block;float:none}.tabs-content>.content.contained{padding:.9375rem}.tabs-content.vertical{display:block}.tabs-content.vertical>.content{padding:0 .9375rem}@media only screen and (min-width:40.0625em){.tabs.vertical{float:left;margin:0;margin-bottom:1.25rem!important;max-width:20%;width:20%}.tabs-content.vertical{float:left;margin-left:-1px;max-width:80%;padding-left:1rem;width:80%}}.no-js .tabs-content>.content{display:block;float:none}.th{border:4px solid #FFF;box-shadow:0 0 0 1px rgba(0,0,0,.2);display:inline-block;line-height:0;max-width:100%;transition:all .2s ease-out}.th:focus,.th:hover{box-shadow:0 0 6px 1px rgba(0,140,186,.5)}.th.radius{border-radius:3px}.has-tip{border-bottom:dotted 1px #CCC;color:#333;cursor:help;font-weight:700}.has-tip:focus,.has-tip:hover{border-bottom:dotted 1px #003f54;color:#008CBA}.has-tip.tip-left,.has-tip.tip-right{float:none!important}.tooltip{background:#333;color:#FFF;display:none;font-size:.875rem;font-weight:400;line-height:1.3;max-width:300px;padding:.75rem;position:absolute;width:100%;z-index:1006;left:50%}.tooltip>.nub{border:5px solid;border-color:transparent transparent #333;display:block;height:0;pointer-events:none;position:absolute;top:-10px;width:0;left:5px}.tooltip>.nub.rtl{left:auto;right:5px}.tooltip.radius{border-radius:3px}.tooltip.round{border-radius:1000px}.tooltip.round>.nub{left:2rem}.tooltip.opened{border-bottom:dotted 1px #003f54!important;color:#008CBA!important}.tap-to-close{color:#777;display:block;font-size:.625rem;font-weight:400}@media only screen{.tooltip>.nub{border-color:transparent transparent #333;top:-10px}.tooltip.tip-top>.nub{border-color:#333 transparent transparent;bottom:-10px;top:auto}.tooltip.tip-left,.tooltip.tip-right{float:none!important}.tooltip.tip-left>.nub{border-color:transparent transparent transparent #333;left:auto;margin-top:-5px;right:-10px;top:50%}.tooltip.tip-right>.nub{border-color:transparent #333 transparent transparent;left:-10px;margin-top:-5px;right:auto;top:50%}}meta.foundation-mq-topbar{font-family:"/only screen and (min-width:40.0625em)/";width:40.0625em}.contain-to-grid{width:100%;background:#333}.contain-to-grid .top-bar{margin-bottom:0}.fixed{position:fixed;top:0;width:100%;z-index:99;left:0}.fixed.expanded:not(.top-bar){height:auto;max-height:100%;overflow-y:auto;width:100%}.fixed.expanded:not(.top-bar) .title-area{position:fixed;width:100%;z-index:99}.fixed.expanded:not(.top-bar) .top-bar-section{margin-top:2.8125rem;z-index:98}.top-bar{background:#333;height:2.8125rem;line-height:2.8125rem;margin-bottom:0;overflow:hidden;position:relative}.top-bar ul{list-style:none;margin-bottom:0}.top-bar .row{max-width:none}.top-bar form,.top-bar input,.top-bar select{margin-bottom:0}.top-bar input,.top-bar select{font-size:.75rem;height:1.75rem;padding-bottom:.35rem;padding-top:.35rem}.top-bar .button,.top-bar button{font-size:.75rem;margin-bottom:0;padding-bottom:.4125rem;padding-top:.4125rem}@media only screen and (max-width:40em){.reveal-modal{min-height:100vh}.top-bar .button,.top-bar button{position:relative;top:-1px}}.top-bar .title-area{margin:0;position:relative}.top-bar .name{font-size:16px;height:2.8125rem;margin:0}.top-bar .name h1,.top-bar .name h2,.top-bar .name h3,.top-bar .name h4,.top-bar .name p,.top-bar .name span{font-size:1.0625rem;line-height:2.8125rem;margin:0}.top-bar .name h1 a,.top-bar .name h2 a,.top-bar .name h3 a,.top-bar .name h4 a,.top-bar .name p a,.top-bar .name span a{color:#FFF;display:block;font-weight:400;padding:0 .9375rem;width:75%}.top-bar .toggle-topbar{position:absolute;right:0;top:0}.top-bar .toggle-topbar a{color:#FFF;display:block;font-size:.8125rem;font-weight:700;height:2.8125rem;line-height:2.8125rem;padding:0 .9375rem;position:relative;text-transform:uppercase}.top-bar-section .dropdown li a.parent-link,.top-bar-section ul li>a,p{font-weight:400}.top-bar .toggle-topbar.menu-icon{margin-top:-16px;top:50%}.top-bar .toggle-topbar.menu-icon a{color:#FFF;height:34px;line-height:33px;padding:0 2.5rem 0 .9375rem;position:relative}.top-bar .toggle-topbar.menu-icon a span::after{content:"";display:block;height:0;position:absolute;margin-top:-8px;top:50%;right:.9375rem;box-shadow:0 0 0 1px #FFF,0 7px 0 1px #FFF,0 14px 0 1px #FFF;width:16px}.top-bar-section,.top-bar-section .has-dropdown{position:relative}.top-bar .toggle-topbar.menu-icon a span:hover:after{box-shadow:0 0 0 1px "",0 7px 0 1px "",0 14px 0 1px ""}.top-bar.expanded{background:0 0;height:auto}.top-bar-section ul li,.top-bar.expanded .title-area{background:#333}.top-bar.expanded .toggle-topbar a{color:#888}.top-bar.expanded .toggle-topbar a span::after{box-shadow:0 0 0 1px #888,0 7px 0 1px #888,0 14px 0 1px #888}@media screen and (-webkit-min-device-pixel-ratio:0){.top-bar.expanded .top-bar-section .dropdown,.top-bar.expanded .top-bar-section .has-dropdown.moved>.dropdown{clip:initial}.top-bar.expanded .top-bar-section .has-dropdown:not(.moved)>ul{padding:0}}.top-bar-section{left:0;width:auto;transition:left .3s ease-out}.top-bar-section ul{display:block;font-size:16px;height:auto;margin:0;padding:0;width:100%}.top-bar-section .divider,.top-bar-section [role=separator]{border-top:solid 1px #1a1a1a;clear:both;height:1px;width:100%}.top-bar-section ul li>a{color:#FFF;display:block;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;font-size:.8125rem;padding:12px 0 12px .9375rem;text-transform:none;width:100%}.top-bar-section ul li>a.button,.top-bar-section ul li>button{font-size:.8125rem;padding-left:.9375rem;padding-right:.9375rem}.top-bar-section ul li>a.button{background-color:#008CBA;border-color:#007095;color:#FFF}.top-bar-section ul li>a.button:focus,.top-bar-section ul li>a.button:hover{background-color:#007095;color:#FFF}.top-bar-section ul li>a.button.secondary{background-color:#e7e7e7;border-color:#b9b9b9;color:#333}.top-bar-section ul li>a.button.secondary:focus,.top-bar-section ul li>a.button.secondary:hover{background-color:#b9b9b9;color:#333}.top-bar-section ul li>a.button.success{background-color:#43AC6A;border-color:#368a55;color:#FFF}.top-bar-section ul li>a.button.success:focus,.top-bar-section ul li>a.button.success:hover{background-color:#368a55;color:#FFF}.top-bar-section ul li>a.button.alert{background-color:#f04124;border-color:#cf2a0e;color:#FFF}.top-bar-section ul li>a.button.alert:focus,.top-bar-section ul li>a.button.alert:hover{background-color:#cf2a0e;color:#FFF}.top-bar-section ul li>a.button.warning{background-color:#f08a24;border-color:#cf6e0e;color:#FFF}.top-bar-section ul li>a.button.warning:focus,.top-bar-section ul li>a.button.warning:hover{background-color:#cf6e0e;color:#FFF}.top-bar-section ul li>a.button.info{background-color:#a0d3e8;border-color:#61b6d9;color:#333}.top-bar-section ul li>a.button.info:focus,.top-bar-section ul li>a.button.info:hover{background-color:#61b6d9;color:#FFF}.top-bar-section ul li>button{background-color:#008CBA;border-color:#007095;color:#FFF}.top-bar-section ul li>button:focus,.top-bar-section ul li>button:hover{background-color:#007095;color:#FFF}.top-bar-section ul li>button.secondary{background-color:#e7e7e7;border-color:#b9b9b9;color:#333}.top-bar-section ul li>button.secondary:focus,.top-bar-section ul li>button.secondary:hover{background-color:#b9b9b9;color:#333}.top-bar-section ul li>button.success{background-color:#43AC6A;border-color:#368a55;color:#FFF}.top-bar-section ul li>button.success:focus,.top-bar-section ul li>button.success:hover{background-color:#368a55;color:#FFF}.top-bar-section ul li>button.alert{background-color:#f04124;border-color:#cf2a0e;color:#FFF}.top-bar-section ul li>button.alert:focus,.top-bar-section ul li>button.alert:hover{background-color:#cf2a0e;color:#FFF}.top-bar-section ul li>button.warning{background-color:#f08a24;border-color:#cf6e0e;color:#FFF}.top-bar-section ul li>button.warning:focus,.top-bar-section ul li>button.warning:hover{background-color:#cf6e0e;color:#FFF}.top-bar-section ul li>button.info{background-color:#a0d3e8;border-color:#61b6d9;color:#333}.top-bar-section ul li>button.info:focus,.top-bar-section ul li>button.info:hover{background-color:#61b6d9;color:#FFF}.top-bar-section ul li:hover:not(.has-form)>a{color:#FFF;background:#222}.top-bar-section ul li.active>a{background:#008CBA;color:#FFF}.top-bar-section ul li.active>a:hover{background:#0078a0;color:#FFF}.top-bar-section .has-form{padding:.9375rem}.top-bar-section .has-dropdown>a:after{border:5px inset;content:"";display:block;height:0;width:0;border-color:transparent transparent transparent rgba(255,255,255,.4);border-left-style:solid;margin-right:.9375rem;margin-top:-4.5px;position:absolute;top:50%;right:0}.top-bar-section .has-dropdown.moved{position:static}.top-bar-section .has-dropdown.moved>.dropdown{height:auto;overflow:visible;clip:auto;display:block;position:absolute!important;width:100%}.top-bar-section .has-dropdown.moved>a:after{display:none}.top-bar-section .dropdown{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px;display:block;padding:0;top:0;z-index:99;left:100%}.top-bar-section .dropdown li{height:auto;width:100%}.top-bar-section .dropdown li a{font-weight:400;padding:8px .9375rem}.top-bar-section .dropdown li.parent-link,.top-bar-section .dropdown li.title h5{margin-bottom:0;margin-top:0;font-size:1.125rem}.top-bar-section .dropdown li.parent-link a,.top-bar-section .dropdown li.title h5 a{color:#FFF;display:block}.top-bar-section .dropdown li.parent-link a:hover,.top-bar-section .dropdown li.title h5 a:hover{background:0 0}.top-bar-section .dropdown li.has-form{padding:8px .9375rem}.top-bar-section .dropdown li .button,.top-bar-section .dropdown li button{top:auto}.top-bar-section .dropdown label{color:#777;font-size:.625rem;font-weight:700;margin-bottom:0;padding:8px .9375rem 2px;text-transform:uppercase}.js-generated{display:block}@media only screen and (min-width:40.0625em){.top-bar,.top-bar.expanded{background:#333}.top-bar .title-area,.top-bar-section ul li{float:left}.top-bar{overflow:visible}.top-bar:after,.top-bar:before{content:" ";display:table}.top-bar:after{clear:both}.top-bar .toggle-topbar{display:none}.top-bar .name h1 a,.top-bar .name h2 a,.top-bar .name h3 a,.top-bar .name h4 a,.top-bar .name h5 a,.top-bar .name h6 a{width:auto}.top-bar .button,.top-bar .has-form>.button,.top-bar .has-form>button,.top-bar button,.top-bar input,.top-bar select{font-size:.875rem;height:1.75rem;position:relative;top:.53125rem}.contain-to-grid .top-bar{margin:0 auto;max-width:62.5rem}.top-bar-section{transition:none 0 0;left:0!important}.top-bar-section ul{display:inline;height:auto!important;width:auto}.top-bar-section ul li .js-generated{display:none}.top-bar-section li.hover>a:not(.button){background:#222;color:#FFF}.top-bar-section li:not(.has-form) a:not(.button){background:#333;line-height:2.8125rem;padding:0 .9375rem}.top-bar-section li:not(.has-form) a:not(.button):hover{background:#222}.top-bar-section li.active:not(.has-form) a:not(.button){background:#008CBA;color:#FFF;line-height:2.8125rem;padding:0 .9375rem}.top-bar-section li.active:not(.has-form) a:not(.button):hover{background:#0078a0;color:#FFF}.top-bar-section .has-dropdown>a{padding-right:2.1875rem!important}.top-bar-section .has-dropdown>a:after{border:5px inset;content:"";display:block;height:0;width:0;border-color:rgba(255,255,255,.4) transparent transparent;border-top-style:solid;margin-top:-2.5px;top:1.40625rem}.top-bar-section .has-dropdown.moved{position:relative}.top-bar-section .has-dropdown.moved>.dropdown{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px;display:block}.top-bar-section .has-dropdown.hover>.dropdown,.top-bar-section .has-dropdown.not-click:hover>.dropdown,.top-bar-section .has-dropdown>a:focus+.dropdown{height:auto;width:auto;overflow:visible;clip:auto;display:block;position:absolute!important}.top-bar-section .has-dropdown .dropdown li.has-dropdown>a:after{border:none;content:"\00bb";top:.1875rem;right:5px}.top-bar-section .dropdown{left:0;background:0 0;min-width:100%;top:auto}.top-bar-section .dropdown li a{background:#333;color:#FFF;line-height:2.8125rem;padding:12px .9375rem;white-space:nowrap}.top-bar-section .dropdown li:not(.has-form):not(.active)>a:not(.button){background:#333;color:#FFF}.top-bar-section .dropdown li:not(.has-form):not(.active):hover>a:not(.button){color:#FFF;background:#222}.top-bar-section .dropdown li label{background:#333;white-space:nowrap}.top-bar-section .dropdown li .dropdown{left:100%;top:0}.top-bar-section>ul>.divider,.top-bar-section>ul>[role=separator]{border-right:solid 1px #4e4e4e;border-bottom:none;border-top:none;clear:none;height:2.8125rem;width:0}.top-bar-section .has-form{background:#333;height:2.8125rem;padding:0 .9375rem}.top-bar-section .right li .dropdown{left:auto;right:0}.top-bar-section .right li .dropdown li .dropdown{right:100%}.top-bar-section .left li .dropdown{right:auto;left:0}.top-bar-section .left li .dropdown li .dropdown{left:100%}.no-js .top-bar-section ul li:hover>a{background:#222;color:#FFF}.no-js .top-bar-section ul li:active>a{background:#008CBA;color:#FFF}.no-js .top-bar-section .has-dropdown:hover>.dropdown,.no-js .top-bar-section .has-dropdown>a:focus+.dropdown{height:auto;width:auto;overflow:visible;clip:auto;display:block;position:absolute!important}}.inner-wrap,.left-submenu{-webkit-transition:-webkit-transform .5s ease;-moz-transition:-moz-transform .5s ease;-ms-transition:-ms-transform .5s ease;-o-transition:-o-transform .5s ease}.left-small,.right-small,.tab-bar-section{top:0;position:absolute}.inner-wrap:after,hr{clear:both}.inner-wrap,.off-canvas-wrap{width:100%;position:relative}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}.text-justify{text-align:justify!important}@media only screen and (max-width:40em){.small-only-text-left{text-align:left!important}.small-only-text-right{text-align:right!important}.small-only-text-center{text-align:center!important}.small-only-text-justify{text-align:justify!important}}@media only screen{.small-text-left{text-align:left!important}.small-text-right{text-align:right!important}.small-text-center{text-align:center!important}.small-text-justify{text-align:justify!important}}@media only screen and (min-width:40.0625em) and (max-width:64em){.medium-only-text-left{text-align:left!important}.medium-only-text-right{text-align:right!important}.medium-only-text-center{text-align:center!important}.medium-only-text-justify{text-align:justify!important}}@media only screen and (min-width:40.0625em){.medium-text-left{text-align:left!important}.medium-text-right{text-align:right!important}.medium-text-center{text-align:center!important}.medium-text-justify{text-align:justify!important}}@media only screen and (min-width:64.0625em) and (max-width:90em){.large-only-text-left{text-align:left!important}.large-only-text-right{text-align:right!important}.large-only-text-center{text-align:center!important}.large-only-text-justify{text-align:justify!important}}@media only screen and (min-width:64.0625em){.large-text-left{text-align:left!important}.large-text-right{text-align:right!important}.large-text-center{text-align:center!important}.large-text-justify{text-align:justify!important}}@media only screen and (min-width:90.0625em) and (max-width:120em){.xlarge-only-text-left{text-align:left!important}.xlarge-only-text-right{text-align:right!important}.xlarge-only-text-center{text-align:center!important}.xlarge-only-text-justify{text-align:justify!important}}@media only screen and (min-width:90.0625em){.xlarge-text-left{text-align:left!important}.xlarge-text-right{text-align:right!important}.xlarge-text-center{text-align:center!important}.xlarge-text-justify{text-align:justify!important}}@media only screen and (min-width:120.0625em) and (max-width:6249999.9375em){.xxlarge-only-text-left{text-align:left!important}.xxlarge-only-text-right{text-align:right!important}.xxlarge-only-text-center{text-align:center!important}.xxlarge-only-text-justify{text-align:justify!important}}@media only screen and (min-width:120.0625em){.xxlarge-text-left{text-align:left!important}.xxlarge-text-right{text-align:right!important}.xxlarge-text-center{text-align:center!important}.xxlarge-text-justify{text-align:justify!important}}blockquote,dd,div,dl,dt,form,h1,h2,h3,h4,h5,h6,li,ol,p,pre,td,th,ul{margin:0;padding:0}a{color:#008CBA;line-height:inherit;text-decoration:none}p,p.lead{line-height:1.6}a:focus,a:hover{color:#0078a0}a img{border:none}p{font-size:1rem;margin-bottom:1.25rem;text-rendering:optimizeLegibility}.subheader,h1,h2,h3,h4,h5,h6{font-weight:400;margin-top:.2rem;margin-bottom:.5rem}p.lead{font-size:1.21875rem}p aside{font-size:.875rem;font-style:italic;line-height:1.35}h1,h2,h3,h4,h5,h6{color:#222;font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;font-style:normal;line-height:1.4;text-rendering:optimizeLegibility}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{color:#6f6f6f;font-size:60%;line-height:0}h1{font-size:2.125rem}h2{font-size:1.6875rem}h3{font-size:1.375rem}h4,h5{font-size:1.125rem}h6{font-size:1rem}.subheader{line-height:1.4;color:#6f6f6f}b,em,i,small,strong{line-height:inherit}hr{border:solid #DDD;border-width:1px 0 0;height:0;margin:1.25rem 0 1.1875rem}em,i{font-style:italic}b,strong{font-weight:700}small{font-size:60%}code{background-color:#f8f8f8;border-color:#dfdfdf;border-style:solid;border-width:1px;color:#333;font-family:Consolas,"Liberation Mono",Courier,monospace;font-weight:400;padding:.125rem .3125rem .0625rem}.vcard .fn,.vevent .summary,.vevent abbr,dl dt,ul.off-canvas-list li label{font-weight:700}dl,ol,ul{font-family:inherit;font-size:1rem;line-height:1.6;list-style-position:outside;margin-bottom:1.25rem}ul{margin-left:1.1rem}ul li ol,ul li ul{margin-left:1.25rem;margin-bottom:0}ul.circle,ul.disc,ul.square{margin-left:1.1rem}ul.circle li ul,ul.disc li ul,ul.square li ul{list-style:inherit}ul.square{list-style-type:square}ul.circle{list-style-type:circle}ul.disc{list-style-type:disc}ol{margin-left:1.4rem}ol li ol,ol li ul{margin-left:1.25rem;margin-bottom:0}.no-bullet{list-style-type:none;margin-left:0}.no-bullet li ol,.no-bullet li ul{margin-left:1.25rem;margin-bottom:0;list-style:none}dl dt{margin-bottom:.3rem}dl dd{margin-bottom:.75rem}.vcard,blockquote{margin:0 0 1.25rem}abbr,acronym{text-transform:uppercase;font-size:90%;color:#222;cursor:help}abbr{text-transform:none}abbr[title]{border-bottom:1px dotted #DDD}blockquote{padding:.5625rem 1.25rem 0 1.1875rem;border-left:1px solid #DDD}blockquote cite{display:block;font-size:.8125rem;color:#555}blockquote cite:before{content:"\2014 \0020"}blockquote cite a,blockquote cite a:visited{color:#555}blockquote,blockquote p{line-height:1.6;color:#6f6f6f}.vcard{display:inline-block;border:1px solid #DDD;padding:.625rem .75rem}.vcard li{margin:0;display:block}.vcard .fn{font-size:.9375rem}.vevent abbr{cursor:default;text-decoration:none;border:none;padding:0 .0625rem}@media only screen and (min-width:40.0625em){h1,h2,h3,h4,h5,h6{line-height:1.4}h1{font-size:2.75rem}h2{font-size:2.3125rem}h3{font-size:1.6875rem}h4{font-size:1.4375rem}h5{font-size:1.125rem}h6{font-size:1rem}}@media print{blockquote,img,pre,tr{page-break-inside:avoid}*{background:0 0!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:""}blockquote,pre{border:1px solid #999}thead{display:table-header-group}img{max-width:100%!important}@page{margin:.34in}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}}.off-canvas-wrap{-webkit-backface-visibility:hidden;overflow:hidden}.off-canvas-wrap.move-bottom,.off-canvas-wrap.move-left,.off-canvas-wrap.move-right,.off-canvas-wrap.move-top{min-height:100%;-webkit-overflow-scrolling:touch}.inner-wrap{transition:transform .5s ease}.left-small,.right-small,.tab-bar .menu-icon{height:2.8125rem;width:2.8125rem}.inner-wrap:after,.inner-wrap:before{content:" ";display:table}.tab-bar{-webkit-backface-visibility:hidden;background:#333;color:#FFF;height:2.8125rem;line-height:2.8125rem;position:relative}.tab-bar h1,.tab-bar h2,.tab-bar h3,.tab-bar h4,.tab-bar h5,.tab-bar h6{color:#FFF;font-weight:700;line-height:2.8125rem;margin:0}.tab-bar h1,.tab-bar h2,.tab-bar h3,.tab-bar h4{font-size:1.125rem}.left-small{border-right:solid 1px #1a1a1a;left:0}.right-small{border-left:solid 1px #1a1a1a;right:0}.tab-bar-section{height:2.8125rem;padding:0 .625rem;text-align:center}.tab-bar-section.left{text-align:left;left:0;right:2.8125rem}.tab-bar-section.right{text-align:right;left:2.8125rem;right:0}.tab-bar-section.middle{left:2.8125rem;right:2.8125rem}.tab-bar .menu-icon{color:#FFF;display:block;padding:0;position:relative;text-indent:2.1875rem;transform:translate3d(0,0,0)}.tab-bar .menu-icon span::after{content:"";display:block;height:0;position:absolute;top:50%;margin-top:-.5rem;left:.90625rem;box-shadow:0 0 0 1px #FFF,0 7px 0 1px #FFF,0 14px 0 1px #FFF;width:1rem}.left-off-canvas-menu,.right-off-canvas-menu{-webkit-backface-visibility:hidden;background:#333;box-sizing:content-box;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;overflow-x:hidden;overflow-y:auto;position:absolute;transition:transform .5s ease 0s;width:15.625rem;bottom:0;top:0}.tab-bar .menu-icon span:hover:after{box-shadow:0 0 0 1px #b3b3b3,0 7px 0 1px #b3b3b3,0 14px 0 1px #b3b3b3}.left-off-canvas-menu{z-index:1001;-webkit-transform:translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0);-ms-transform:translate(-100%,0);-o-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);left:0}.left-off-canvas-menu *{-webkit-backface-visibility:hidden}.right-off-canvas-menu{z-index:1001;-webkit-transform:translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0);-ms-transform:translate(100%,0);-o-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);right:0}.bottom-off-canvas-menu,.top-off-canvas-menu{-webkit-backface-visibility:hidden;background:#333;box-sizing:content-box;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;overflow-x:hidden;overflow-y:auto;position:absolute;transition:transform .5s ease 0s;z-index:1001;width:100%;height:18.75rem}.right-off-canvas-menu *{-webkit-backface-visibility:hidden}.top-off-canvas-menu{bottom:0;-webkit-transform:translate3d(0,-100%,0);-moz-transform:translate3d(0,-100%,0);-ms-transform:translate(0,-100%);-o-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);top:0}.top-off-canvas-menu *{-webkit-backface-visibility:hidden}.bottom-off-canvas-menu{-webkit-transform:translate3d(0,100%,0);-moz-transform:translate3d(0,100%,0);-ms-transform:translate(0,100%);-o-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);bottom:0}.move-bottom .exit-off-canvas,.move-left .exit-off-canvas,.move-right .exit-off-canvas,.move-top .exit-off-canvas{z-index:1002;-webkit-backface-visibility:hidden;box-shadow:-4px 0 4px rgba(0,0,0,.5),4px 0 4px rgba(0,0,0,.5);cursor:pointer;transition:background .3s ease;-webkit-tap-highlight-color:transparent;bottom:0;display:block;left:0;position:absolute;right:0;top:0}.bottom-off-canvas-menu *{-webkit-backface-visibility:hidden}ul.off-canvas-list{list-style-type:none;margin:0;padding:0}ul.off-canvas-list li label{background:#444;border-bottom:none;border-top:1px solid #5e5e5e;color:#999;display:block;font-size:.75rem;margin:0;padding:.3rem .9375rem;text-transform:uppercase}ul.off-canvas-list li a{border-bottom:1px solid #262626;color:rgba(255,255,255,.7);display:block;padding:.66667rem;transition:background .3s ease}.bottom-submenu .back>a,.left-submenu .back>a,.right-submenu .back>a,.top-submenu .back>a{color:#999;font-weight:700;padding:.3rem .9375rem;text-transform:uppercase;border-bottom:none;border-top:1px solid #5e5e5e}ul.off-canvas-list li a:active,ul.off-canvas-list li a:hover{background:#242424}.move-right>.inner-wrap{-webkit-transform:translate3d(15.625rem,0,0);-moz-transform:translate3d(15.625rem,0,0);-ms-transform:translate(15.625rem,0);-o-transform:translate3d(15.625rem,0,0);transform:translate3d(15.625rem,0,0)}.move-right .exit-off-canvas{background:rgba(255,255,255,.2)}@media only screen and (min-width:40.0625em){.move-right .exit-off-canvas:hover{background:rgba(255,255,255,.05)}}.move-left>.inner-wrap{-webkit-transform:translate3d(-15.625rem,0,0);-moz-transform:translate3d(-15.625rem,0,0);-ms-transform:translate(-15.625rem,0);-o-transform:translate3d(-15.625rem,0,0);transform:translate3d(-15.625rem,0,0)}.move-left .exit-off-canvas{background:rgba(255,255,255,.2)}@media only screen and (min-width:40.0625em){.move-left .exit-off-canvas:hover{background:rgba(255,255,255,.05)}}.move-top>.inner-wrap{-webkit-transform:translate3d(0,-18.75rem,0);-moz-transform:translate3d(0,-18.75rem,0);-ms-transform:translate(0,-18.75rem);-o-transform:translate3d(0,-18.75rem,0);transform:translate3d(0,-18.75rem,0)}.move-top .exit-off-canvas{background:rgba(255,255,255,.2)}@media only screen and (min-width:40.0625em){.move-top .exit-off-canvas:hover{background:rgba(255,255,255,.05)}}.move-bottom>.inner-wrap{-webkit-transform:translate3d(0,18.75rem,0);-moz-transform:translate3d(0,18.75rem,0);-ms-transform:translate(0,18.75rem);-o-transform:translate3d(0,18.75rem,0);transform:translate3d(0,18.75rem,0)}.move-bottom .exit-off-canvas{background:rgba(255,255,255,.2)}@media only screen and (min-width:40.0625em){.move-bottom .exit-off-canvas:hover{background:rgba(255,255,255,.05)}}.offcanvas-overlap .bottom-off-canvas-menu,.offcanvas-overlap .left-off-canvas-menu,.offcanvas-overlap .right-off-canvas-menu,.offcanvas-overlap .top-off-canvas-menu{-ms-transform:none;-webkit-transform:none;-moz-transform:none;-o-transform:none;transform:none;z-index:1003}.offcanvas-overlap .exit-off-canvas{-webkit-backface-visibility:hidden;box-shadow:-4px 0 4px rgba(0,0,0,.5),4px 0 4px rgba(0,0,0,.5);cursor:pointer;transition:background .3s ease;-webkit-tap-highlight-color:transparent;background:rgba(255,255,255,.2);bottom:0;display:block;left:0;position:absolute;right:0;top:0;z-index:1002}@media only screen and (min-width:40.0625em){.offcanvas-overlap .exit-off-canvas:hover{background:rgba(255,255,255,.05)}}.offcanvas-overlap-left .right-off-canvas-menu{-ms-transform:none;-webkit-transform:none;-moz-transform:none;-o-transform:none;transform:none;z-index:1003}.offcanvas-overlap-left .exit-off-canvas{-webkit-backface-visibility:hidden;box-shadow:-4px 0 4px rgba(0,0,0,.5),4px 0 4px rgba(0,0,0,.5);cursor:pointer;transition:background .3s ease;-webkit-tap-highlight-color:transparent;background:rgba(255,255,255,.2);bottom:0;display:block;left:0;position:absolute;right:0;top:0;z-index:1002}@media only screen and (min-width:40.0625em){.offcanvas-overlap-left .exit-off-canvas:hover{background:rgba(255,255,255,.05)}}.offcanvas-overlap-right .left-off-canvas-menu{-ms-transform:none;-webkit-transform:none;-moz-transform:none;-o-transform:none;transform:none;z-index:1003}.offcanvas-overlap-right .exit-off-canvas{-webkit-backface-visibility:hidden;box-shadow:-4px 0 4px rgba(0,0,0,.5),4px 0 4px rgba(0,0,0,.5);cursor:pointer;transition:background .3s ease;-webkit-tap-highlight-color:transparent;background:rgba(255,255,255,.2);bottom:0;display:block;left:0;position:absolute;right:0;top:0;z-index:1002}@media only screen and (min-width:40.0625em){.offcanvas-overlap-right .exit-off-canvas:hover{background:rgba(255,255,255,.05)}}.offcanvas-overlap-top .bottom-off-canvas-menu{-ms-transform:none;-webkit-transform:none;-moz-transform:none;-o-transform:none;transform:none;z-index:1003}.offcanvas-overlap-top .exit-off-canvas{-webkit-backface-visibility:hidden;box-shadow:-4px 0 4px rgba(0,0,0,.5),4px 0 4px rgba(0,0,0,.5);cursor:pointer;transition:background .3s ease;-webkit-tap-highlight-color:transparent;background:rgba(255,255,255,.2);bottom:0;display:block;left:0;position:absolute;right:0;top:0;z-index:1002}@media only screen and (min-width:40.0625em){.offcanvas-overlap-top .exit-off-canvas:hover{background:rgba(255,255,255,.05)}}.offcanvas-overlap-bottom .top-off-canvas-menu{-ms-transform:none;-webkit-transform:none;-moz-transform:none;-o-transform:none;transform:none;z-index:1003}.offcanvas-overlap-bottom .exit-off-canvas{-webkit-backface-visibility:hidden;box-shadow:-4px 0 4px rgba(0,0,0,.5),4px 0 4px rgba(0,0,0,.5);cursor:pointer;transition:background .3s ease;-webkit-tap-highlight-color:transparent;background:rgba(255,255,255,.2);bottom:0;display:block;left:0;position:absolute;right:0;top:0;z-index:1002}@media only screen and (min-width:40.0625em){.offcanvas-overlap-bottom .exit-off-canvas:hover{background:rgba(255,255,255,.05)}}.no-csstransforms .left-off-canvas-menu{left:-15.625rem}.no-csstransforms .right-off-canvas-menu{right:-15.625rem}.no-csstransforms .top-off-canvas-menu{top:-18.75rem}.no-csstransforms .bottom-off-canvas-menu{bottom:-18.75rem}.left-submenu,.right-submenu{-webkit-backface-visibility:hidden;-webkit-overflow-scrolling:touch;bottom:0;box-sizing:content-box;overflow-x:hidden;overflow-y:auto;position:absolute;top:0;width:15.625rem}.no-csstransforms .move-left>.inner-wrap{right:15.625rem}.no-csstransforms .move-right>.inner-wrap{left:15.625rem}.no-csstransforms .move-top>.inner-wrap{right:18.75rem}.no-csstransforms .move-bottom>.inner-wrap{left:18.75rem}.left-submenu{background:#333;margin:0;height:18.75rem;z-index:1002;-webkit-transform:translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0);-ms-transform:translate(-100%,0);-o-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);left:0;transition:transform .5s ease}.right-submenu,.top-submenu{-webkit-transition:-webkit-transform .5s ease;-moz-transition:-moz-transform .5s ease;-ms-transition:-ms-transform .5s ease;-o-transition:-o-transform .5s ease}.left-submenu *{-webkit-backface-visibility:hidden}.left-submenu .back>a{background:#444;margin:0}.left-submenu .back>a:hover{background:#303030;border-bottom:none;border-top:1px solid #5e5e5e}.left-submenu .back>a:before{content:"\AB";margin-right:.5rem;display:inline}.left-submenu.move-right,.left-submenu.offcanvas-overlap,.left-submenu.offcanvas-overlap-right{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate(0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.right-submenu{background:#333;margin:0;height:18.75rem;z-index:1002;-webkit-transform:translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0);-ms-transform:translate(100%,0);-o-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);right:0;transition:transform .5s ease}.bottom-submenu,.top-submenu{-webkit-overflow-scrolling:touch;box-sizing:content-box;overflow-x:hidden;overflow-y:auto;position:absolute;top:0;height:18.75rem;z-index:1002;bottom:0;width:100%;-webkit-backface-visibility:hidden}.right-submenu *{-webkit-backface-visibility:hidden}.right-submenu .back>a{background:#444;margin:0}.right-submenu .back>a:hover{background:#303030;border-bottom:none;border-top:1px solid #5e5e5e}.right-submenu .back>a:after{content:"\BB";margin-left:.5rem;display:inline}.right-submenu.move-left,.right-submenu.offcanvas-overlap,.right-submenu.offcanvas-overlap-left{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate(0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.top-submenu{background:#333;margin:0;-webkit-transform:translate3d(0,-100%,0);-moz-transform:translate3d(0,-100%,0);-ms-transform:translate(0,-100%);-o-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);transition:transform .5s ease}.top-submenu *{-webkit-backface-visibility:hidden}.top-submenu .back>a{background:#444;margin:0}.top-submenu .back>a:hover{background:#303030;border-bottom:none;border-top:1px solid #5e5e5e}.top-submenu.move-bottom,.top-submenu.offcanvas-overlap,.top-submenu.offcanvas-overlap-bottom{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate(0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.bottom-submenu{background:#333;margin:0;-webkit-transform:translate3d(0,100%,0);-moz-transform:translate3d(0,100%,0);-ms-transform:translate(0,100%);-o-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);-webkit-transition:-webkit-transform .5s ease;-moz-transition:-moz-transform .5s ease;-ms-transition:-ms-transform .5s ease;-o-transition:-o-transform .5s ease;transition:transform .5s ease}.bottom-submenu *{-webkit-backface-visibility:hidden}.bottom-submenu .back>a{background:#444;margin:0}.bottom-submenu .back>a:hover{background:#303030;border-bottom:none;border-top:1px solid #5e5e5e}.bottom-submenu.move-top,.bottom-submenu.offcanvas-overlap,.bottom-submenu.offcanvas-overlap-top{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate(0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.left-off-canvas-menu ul.off-canvas-list li.has-submenu>a:after{content:"\BB";margin-left:.5rem;display:inline}.right-off-canvas-menu ul.off-canvas-list li.has-submenu>a:before{content:"\AB";margin-right:.5rem;display:inline}@media only screen{.hide-for-large,.hide-for-large-only,.hide-for-large-up,.hide-for-medium,.hide-for-medium-only,.hide-for-medium-up,.hide-for-xlarge,.hide-for-xlarge-only,.hide-for-xlarge-up,.hide-for-xxlarge,.hide-for-xxlarge-only,.hide-for-xxlarge-up,.show-for-large-down,.show-for-medium-down,.show-for-small,.show-for-small-down,.show-for-small-only,.show-for-small-up,.show-for-xlarge-down,.show-for-xxlarge-down{display:inherit!important}.hide-for-large-down,.hide-for-medium-down,.hide-for-small,.hide-for-small-down,.hide-for-small-only,.hide-for-small-up,.hide-for-xlarge-down,.hide-for-xxlarge-down,.show-for-large,.show-for-large-only,.show-for-large-up,.show-for-medium,.show-for-medium-only,.show-for-medium-up,.show-for-xlarge,.show-for-xlarge-only,.show-for-xlarge-up,.show-for-xxlarge,.show-for-xxlarge-only,.show-for-xxlarge-up{display:none!important}.hidden-for-large,.hidden-for-large-only,.hidden-for-large-up,.hidden-for-medium,.hidden-for-medium-only,.hidden-for-medium-up,.hidden-for-xlarge,.hidden-for-xlarge-only,.hidden-for-xlarge-up,.hidden-for-xxlarge,.hidden-for-xxlarge-only,.hidden-for-xxlarge-up,.visible-for-large-down,.visible-for-medium-down,.visible-for-small,.visible-for-small-down,.visible-for-small-only,.visible-for-small-up,.visible-for-xlarge-down,.visible-for-xxlarge-down{position:static!important;height:auto;width:auto;overflow:visible;clip:auto}.hidden-for-large-down,.hidden-for-medium-down,.hidden-for-small,.hidden-for-small-down,.hidden-for-small-only,.hidden-for-small-up,.hidden-for-xlarge-down,.hidden-for-xxlarge-down,.visible-for-large,.visible-for-large-only,.visible-for-large-up,.visible-for-medium,.visible-for-medium-only,.visible-for-medium-up,.visible-for-xlarge,.visible-for-xlarge-only,.visible-for-xlarge-up,.visible-for-xxlarge,.visible-for-xxlarge-only,.visible-for-xxlarge-up{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px}table.hide-for-large,table.hide-for-large-only,table.hide-for-large-up,table.hide-for-medium,table.hide-for-medium-only,table.hide-for-medium-up,table.hide-for-xlarge,table.hide-for-xlarge-only,table.hide-for-xlarge-up,table.hide-for-xxlarge,table.hide-for-xxlarge-only,table.hide-for-xxlarge-up,table.show-for-large-down,table.show-for-medium-down,table.show-for-small,table.show-for-small-down,table.show-for-small-only,table.show-for-small-up,table.show-for-xlarge-down,table.show-for-xxlarge-down{display:table!important}thead.hide-for-large,thead.hide-for-large-only,thead.hide-for-large-up,thead.hide-for-medium,thead.hide-for-medium-only,thead.hide-for-medium-up,thead.hide-for-xlarge,thead.hide-for-xlarge-only,thead.hide-for-xlarge-up,thead.hide-for-xxlarge,thead.hide-for-xxlarge-only,thead.hide-for-xxlarge-up,thead.show-for-large-down,thead.show-for-medium-down,thead.show-for-small,thead.show-for-small-down,thead.show-for-small-only,thead.show-for-small-up,thead.show-for-xlarge-down,thead.show-for-xxlarge-down{display:table-header-group!important}tbody.hide-for-large,tbody.hide-for-large-only,tbody.hide-for-large-up,tbody.hide-for-medium,tbody.hide-for-medium-only,tbody.hide-for-medium-up,tbody.hide-for-xlarge,tbody.hide-for-xlarge-only,tbody.hide-for-xlarge-up,tbody.hide-for-xxlarge,tbody.hide-for-xxlarge-only,tbody.hide-for-xxlarge-up,tbody.show-for-large-down,tbody.show-for-medium-down,tbody.show-for-small,tbody.show-for-small-down,tbody.show-for-small-only,tbody.show-for-small-up,tbody.show-for-xlarge-down,tbody.show-for-xxlarge-down{display:table-row-group!important}tr.hide-for-large,tr.hide-for-large-only,tr.hide-for-large-up,tr.hide-for-medium,tr.hide-for-medium-only,tr.hide-for-medium-up,tr.hide-for-xlarge,tr.hide-for-xlarge-only,tr.hide-for-xlarge-up,tr.hide-for-xxlarge,tr.hide-for-xxlarge-only,tr.hide-for-xxlarge-up,tr.show-for-large-down,tr.show-for-medium-down,tr.show-for-small,tr.show-for-small-down,tr.show-for-small-only,tr.show-for-small-up,tr.show-for-xlarge-down,tr.show-for-xxlarge-down{display:table-row}td.hide-for-large,td.hide-for-large-only,td.hide-for-large-up,td.hide-for-medium,td.hide-for-medium-only,td.hide-for-medium-up,td.hide-for-xlarge,td.hide-for-xlarge-only,td.hide-for-xlarge-up,td.hide-for-xxlarge,td.hide-for-xxlarge-only,td.hide-for-xxlarge-up,td.show-for-large-down,td.show-for-medium-down,td.show-for-small,td.show-for-small-down,td.show-for-small-only,td.show-for-small-up,td.show-for-xlarge-down,td.show-for-xxlarge-down,th.hide-for-large,th.hide-for-large-only,th.hide-for-large-up,th.hide-for-medium,th.hide-for-medium-only,th.hide-for-medium-up,th.hide-for-xlarge,th.hide-for-xlarge-only,th.hide-for-xlarge-up,th.hide-for-xxlarge,th.hide-for-xxlarge-only,th.hide-for-xxlarge-up,th.show-for-large-down,th.show-for-medium-down,th.show-for-small,th.show-for-small-down,th.show-for-small-only,th.show-for-small-up,th.show-for-xlarge-down,th.show-for-xxlarge-down{display:table-cell!important}}@media only screen and (min-width:40.0625em){.hide-for-large,.hide-for-large-only,.hide-for-large-up,.hide-for-small,.hide-for-small-down,.hide-for-small-only,.hide-for-xlarge,.hide-for-xlarge-only,.hide-for-xlarge-up,.hide-for-xxlarge,.hide-for-xxlarge-only,.hide-for-xxlarge-up,.show-for-large-down,.show-for-medium,.show-for-medium-down,.show-for-medium-only,.show-for-medium-up,.show-for-small-up,.show-for-xlarge-down,.show-for-xxlarge-down{display:inherit!important}.hide-for-large-down,.hide-for-medium,.hide-for-medium-down,.hide-for-medium-only,.hide-for-medium-up,.hide-for-small-up,.hide-for-xlarge-down,.hide-for-xxlarge-down,.show-for-large,.show-for-large-only,.show-for-large-up,.show-for-small,.show-for-small-down,.show-for-small-only,.show-for-xlarge,.show-for-xlarge-only,.show-for-xlarge-up,.show-for-xxlarge,.show-for-xxlarge-only,.show-for-xxlarge-up{display:none!important}.hidden-for-large,.hidden-for-large-only,.hidden-for-large-up,.hidden-for-small,.hidden-for-small-down,.hidden-for-small-only,.hidden-for-xlarge,.hidden-for-xlarge-only,.hidden-for-xlarge-up,.hidden-for-xxlarge,.hidden-for-xxlarge-only,.hidden-for-xxlarge-up,.visible-for-large-down,.visible-for-medium,.visible-for-medium-down,.visible-for-medium-only,.visible-for-medium-up,.visible-for-small-up,.visible-for-xlarge-down,.visible-for-xxlarge-down{position:static!important;height:auto;width:auto;overflow:visible;clip:auto}.hidden-for-large-down,.hidden-for-medium,.hidden-for-medium-down,.hidden-for-medium-only,.hidden-for-medium-up,.hidden-for-small-up,.hidden-for-xlarge-down,.hidden-for-xxlarge-down,.visible-for-large,.visible-for-large-only,.visible-for-large-up,.visible-for-small,.visible-for-small-down,.visible-for-small-only,.visible-for-xlarge,.visible-for-xlarge-only,.visible-for-xlarge-up,.visible-for-xxlarge,.visible-for-xxlarge-only,.visible-for-xxlarge-up{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px}table.hide-for-large,table.hide-for-large-only,table.hide-for-large-up,table.hide-for-small,table.hide-for-small-down,table.hide-for-small-only,table.hide-for-xlarge,table.hide-for-xlarge-only,table.hide-for-xlarge-up,table.hide-for-xxlarge,table.hide-for-xxlarge-only,table.hide-for-xxlarge-up,table.show-for-large-down,table.show-for-medium,table.show-for-medium-down,table.show-for-medium-only,table.show-for-medium-up,table.show-for-small-up,table.show-for-xlarge-down,table.show-for-xxlarge-down{display:table!important}thead.hide-for-large,thead.hide-for-large-only,thead.hide-for-large-up,thead.hide-for-small,thead.hide-for-small-down,thead.hide-for-small-only,thead.hide-for-xlarge,thead.hide-for-xlarge-only,thead.hide-for-xlarge-up,thead.hide-for-xxlarge,thead.hide-for-xxlarge-only,thead.hide-for-xxlarge-up,thead.show-for-large-down,thead.show-for-medium,thead.show-for-medium-down,thead.show-for-medium-only,thead.show-for-medium-up,thead.show-for-small-up,thead.show-for-xlarge-down,thead.show-for-xxlarge-down{display:table-header-group!important}tbody.hide-for-large,tbody.hide-for-large-only,tbody.hide-for-large-up,tbody.hide-for-small,tbody.hide-for-small-down,tbody.hide-for-small-only,tbody.hide-for-xlarge,tbody.hide-for-xlarge-only,tbody.hide-for-xlarge-up,tbody.hide-for-xxlarge,tbody.hide-for-xxlarge-only,tbody.hide-for-xxlarge-up,tbody.show-for-large-down,tbody.show-for-medium,tbody.show-for-medium-down,tbody.show-for-medium-only,tbody.show-for-medium-up,tbody.show-for-small-up,tbody.show-for-xlarge-down,tbody.show-for-xxlarge-down{display:table-row-group!important}tr.hide-for-large,tr.hide-for-large-only,tr.hide-for-large-up,tr.hide-for-small,tr.hide-for-small-down,tr.hide-for-small-only,tr.hide-for-xlarge,tr.hide-for-xlarge-only,tr.hide-for-xlarge-up,tr.hide-for-xxlarge,tr.hide-for-xxlarge-only,tr.hide-for-xxlarge-up,tr.show-for-large-down,tr.show-for-medium,tr.show-for-medium-down,tr.show-for-medium-only,tr.show-for-medium-up,tr.show-for-small-up,tr.show-for-xlarge-down,tr.show-for-xxlarge-down{display:table-row}td.hide-for-large,td.hide-for-large-only,td.hide-for-large-up,td.hide-for-small,td.hide-for-small-down,td.hide-for-small-only,td.hide-for-xlarge,td.hide-for-xlarge-only,td.hide-for-xlarge-up,td.hide-for-xxlarge,td.hide-for-xxlarge-only,td.hide-for-xxlarge-up,td.show-for-large-down,td.show-for-medium,td.show-for-medium-down,td.show-for-medium-only,td.show-for-medium-up,td.show-for-small-up,td.show-for-xlarge-down,td.show-for-xxlarge-down,th.hide-for-large,th.hide-for-large-only,th.hide-for-large-up,th.hide-for-small,th.hide-for-small-down,th.hide-for-small-only,th.hide-for-xlarge,th.hide-for-xlarge-only,th.hide-for-xlarge-up,th.hide-for-xxlarge,th.hide-for-xxlarge-only,th.hide-for-xxlarge-up,th.show-for-large-down,th.show-for-medium,th.show-for-medium-down,th.show-for-medium-only,th.show-for-medium-up,th.show-for-small-up,th.show-for-xlarge-down,th.show-for-xxlarge-down{display:table-cell!important}}@media only screen and (min-width:64.0625em){.hide-for-medium,.hide-for-medium-down,.hide-for-medium-only,.hide-for-small,.hide-for-small-down,.hide-for-small-only,.hide-for-xlarge,.hide-for-xlarge-only,.hide-for-xlarge-up,.hide-for-xxlarge,.hide-for-xxlarge-only,.hide-for-xxlarge-up,.show-for-large,.show-for-large-down,.show-for-large-only,.show-for-large-up,.show-for-medium-up,.show-for-small-up,.show-for-xlarge-down,.show-for-xxlarge-down{display:inherit!important}.hide-for-large,.hide-for-large-down,.hide-for-large-only,.hide-for-large-up,.hide-for-medium-up,.hide-for-small-up,.hide-for-xlarge-down,.hide-for-xxlarge-down,.show-for-medium,.show-for-medium-down,.show-for-medium-only,.show-for-small,.show-for-small-down,.show-for-small-only,.show-for-xlarge,.show-for-xlarge-only,.show-for-xlarge-up,.show-for-xxlarge,.show-for-xxlarge-only,.show-for-xxlarge-up{display:none!important}.hidden-for-medium,.hidden-for-medium-down,.hidden-for-medium-only,.hidden-for-small,.hidden-for-small-down,.hidden-for-small-only,.hidden-for-xlarge,.hidden-for-xlarge-only,.hidden-for-xlarge-up,.hidden-for-xxlarge,.hidden-for-xxlarge-only,.hidden-for-xxlarge-up,.visible-for-large,.visible-for-large-down,.visible-for-large-only,.visible-for-large-up,.visible-for-medium-up,.visible-for-small-up,.visible-for-xlarge-down,.visible-for-xxlarge-down{position:static!important;height:auto;width:auto;overflow:visible;clip:auto}.hidden-for-large,.hidden-for-large-down,.hidden-for-large-only,.hidden-for-large-up,.hidden-for-medium-up,.hidden-for-small-up,.hidden-for-xlarge-down,.hidden-for-xxlarge-down,.visible-for-medium,.visible-for-medium-down,.visible-for-medium-only,.visible-for-small,.visible-for-small-down,.visible-for-small-only,.visible-for-xlarge,.visible-for-xlarge-only,.visible-for-xlarge-up,.visible-for-xxlarge,.visible-for-xxlarge-only,.visible-for-xxlarge-up{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px}table.hide-for-medium,table.hide-for-medium-down,table.hide-for-medium-only,table.hide-for-small,table.hide-for-small-down,table.hide-for-small-only,table.hide-for-xlarge,table.hide-for-xlarge-only,table.hide-for-xlarge-up,table.hide-for-xxlarge,table.hide-for-xxlarge-only,table.hide-for-xxlarge-up,table.show-for-large,table.show-for-large-down,table.show-for-large-only,table.show-for-large-up,table.show-for-medium-up,table.show-for-small-up,table.show-for-xlarge-down,table.show-for-xxlarge-down{display:table!important}thead.hide-for-medium,thead.hide-for-medium-down,thead.hide-for-medium-only,thead.hide-for-small,thead.hide-for-small-down,thead.hide-for-small-only,thead.hide-for-xlarge,thead.hide-for-xlarge-only,thead.hide-for-xlarge-up,thead.hide-for-xxlarge,thead.hide-for-xxlarge-only,thead.hide-for-xxlarge-up,thead.show-for-large,thead.show-for-large-down,thead.show-for-large-only,thead.show-for-large-up,thead.show-for-medium-up,thead.show-for-small-up,thead.show-for-xlarge-down,thead.show-for-xxlarge-down{display:table-header-group!important}tbody.hide-for-medium,tbody.hide-for-medium-down,tbody.hide-for-medium-only,tbody.hide-for-small,tbody.hide-for-small-down,tbody.hide-for-small-only,tbody.hide-for-xlarge,tbody.hide-for-xlarge-only,tbody.hide-for-xlarge-up,tbody.hide-for-xxlarge,tbody.hide-for-xxlarge-only,tbody.hide-for-xxlarge-up,tbody.show-for-large,tbody.show-for-large-down,tbody.show-for-large-only,tbody.show-for-large-up,tbody.show-for-medium-up,tbody.show-for-small-up,tbody.show-for-xlarge-down,tbody.show-for-xxlarge-down{display:table-row-group!important}tr.hide-for-medium,tr.hide-for-medium-down,tr.hide-for-medium-only,tr.hide-for-small,tr.hide-for-small-down,tr.hide-for-small-only,tr.hide-for-xlarge,tr.hide-for-xlarge-only,tr.hide-for-xlarge-up,tr.hide-for-xxlarge,tr.hide-for-xxlarge-only,tr.hide-for-xxlarge-up,tr.show-for-large,tr.show-for-large-down,tr.show-for-large-only,tr.show-for-large-up,tr.show-for-medium-up,tr.show-for-small-up,tr.show-for-xlarge-down,tr.show-for-xxlarge-down{display:table-row}td.hide-for-medium,td.hide-for-medium-down,td.hide-for-medium-only,td.hide-for-small,td.hide-for-small-down,td.hide-for-small-only,td.hide-for-xlarge,td.hide-for-xlarge-only,td.hide-for-xlarge-up,td.hide-for-xxlarge,td.hide-for-xxlarge-only,td.hide-for-xxlarge-up,td.show-for-large,td.show-for-large-down,td.show-for-large-only,td.show-for-large-up,td.show-for-medium-up,td.show-for-small-up,td.show-for-xlarge-down,td.show-for-xxlarge-down,th.hide-for-medium,th.hide-for-medium-down,th.hide-for-medium-only,th.hide-for-small,th.hide-for-small-down,th.hide-for-small-only,th.hide-for-xlarge,th.hide-for-xlarge-only,th.hide-for-xlarge-up,th.hide-for-xxlarge,th.hide-for-xxlarge-only,th.hide-for-xxlarge-up,th.show-for-large,th.show-for-large-down,th.show-for-large-only,th.show-for-large-up,th.show-for-medium-up,th.show-for-small-up,th.show-for-xlarge-down,th.show-for-xxlarge-down{display:table-cell!important}}@media only screen and (min-width:90.0625em){.hide-for-large,.hide-for-large-down,.hide-for-large-only,.hide-for-medium,.hide-for-medium-down,.hide-for-medium-only,.hide-for-small,.hide-for-small-down,.hide-for-small-only,.hide-for-xxlarge,.hide-for-xxlarge-only,.hide-for-xxlarge-up,.show-for-large-up,.show-for-medium-up,.show-for-small-up,.show-for-xlarge,.show-for-xlarge-down,.show-for-xlarge-only,.show-for-xlarge-up,.show-for-xxlarge-down{display:inherit!important}.hide-for-large-up,.hide-for-medium-up,.hide-for-small-up,.hide-for-xlarge,.hide-for-xlarge-down,.hide-for-xlarge-only,.hide-for-xlarge-up,.hide-for-xxlarge-down,.show-for-large,.show-for-large-down,.show-for-large-only,.show-for-medium,.show-for-medium-down,.show-for-medium-only,.show-for-small,.show-for-small-down,.show-for-small-only,.show-for-xxlarge,.show-for-xxlarge-only,.show-for-xxlarge-up{display:none!important}.hidden-for-large,.hidden-for-large-down,.hidden-for-large-only,.hidden-for-medium,.hidden-for-medium-down,.hidden-for-medium-only,.hidden-for-small,.hidden-for-small-down,.hidden-for-small-only,.hidden-for-xxlarge,.hidden-for-xxlarge-only,.hidden-for-xxlarge-up,.visible-for-large-up,.visible-for-medium-up,.visible-for-small-up,.visible-for-xlarge,.visible-for-xlarge-down,.visible-for-xlarge-only,.visible-for-xlarge-up,.visible-for-xxlarge-down{position:static!important;height:auto;width:auto;overflow:visible;clip:auto}.hidden-for-large-up,.hidden-for-medium-up,.hidden-for-small-up,.hidden-for-xlarge,.hidden-for-xlarge-down,.hidden-for-xlarge-only,.hidden-for-xlarge-up,.hidden-for-xxlarge-down,.visible-for-large,.visible-for-large-down,.visible-for-large-only,.visible-for-medium,.visible-for-medium-down,.visible-for-medium-only,.visible-for-small,.visible-for-small-down,.visible-for-small-only,.visible-for-xxlarge,.visible-for-xxlarge-only,.visible-for-xxlarge-up{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px}table.hide-for-large,table.hide-for-large-down,table.hide-for-large-only,table.hide-for-medium,table.hide-for-medium-down,table.hide-for-medium-only,table.hide-for-small,table.hide-for-small-down,table.hide-for-small-only,table.hide-for-xxlarge,table.hide-for-xxlarge-only,table.hide-for-xxlarge-up,table.show-for-large-up,table.show-for-medium-up,table.show-for-small-up,table.show-for-xlarge,table.show-for-xlarge-down,table.show-for-xlarge-only,table.show-for-xlarge-up,table.show-for-xxlarge-down{display:table!important}thead.hide-for-large,thead.hide-for-large-down,thead.hide-for-large-only,thead.hide-for-medium,thead.hide-for-medium-down,thead.hide-for-medium-only,thead.hide-for-small,thead.hide-for-small-down,thead.hide-for-small-only,thead.hide-for-xxlarge,thead.hide-for-xxlarge-only,thead.hide-for-xxlarge-up,thead.show-for-large-up,thead.show-for-medium-up,thead.show-for-small-up,thead.show-for-xlarge,thead.show-for-xlarge-down,thead.show-for-xlarge-only,thead.show-for-xlarge-up,thead.show-for-xxlarge-down{display:table-header-group!important}tbody.hide-for-large,tbody.hide-for-large-down,tbody.hide-for-large-only,tbody.hide-for-medium,tbody.hide-for-medium-down,tbody.hide-for-medium-only,tbody.hide-for-small,tbody.hide-for-small-down,tbody.hide-for-small-only,tbody.hide-for-xxlarge,tbody.hide-for-xxlarge-only,tbody.hide-for-xxlarge-up,tbody.show-for-large-up,tbody.show-for-medium-up,tbody.show-for-small-up,tbody.show-for-xlarge,tbody.show-for-xlarge-down,tbody.show-for-xlarge-only,tbody.show-for-xlarge-up,tbody.show-for-xxlarge-down{display:table-row-group!important}tr.hide-for-large,tr.hide-for-large-down,tr.hide-for-large-only,tr.hide-for-medium,tr.hide-for-medium-down,tr.hide-for-medium-only,tr.hide-for-small,tr.hide-for-small-down,tr.hide-for-small-only,tr.hide-for-xxlarge,tr.hide-for-xxlarge-only,tr.hide-for-xxlarge-up,tr.show-for-large-up,tr.show-for-medium-up,tr.show-for-small-up,tr.show-for-xlarge,tr.show-for-xlarge-down,tr.show-for-xlarge-only,tr.show-for-xlarge-up,tr.show-for-xxlarge-down{display:table-row}td.hide-for-large,td.hide-for-large-down,td.hide-for-large-only,td.hide-for-medium,td.hide-for-medium-down,td.hide-for-medium-only,td.hide-for-small,td.hide-for-small-down,td.hide-for-small-only,td.hide-for-xxlarge,td.hide-for-xxlarge-only,td.hide-for-xxlarge-up,td.show-for-large-up,td.show-for-medium-up,td.show-for-small-up,td.show-for-xlarge,td.show-for-xlarge-down,td.show-for-xlarge-only,td.show-for-xlarge-up,td.show-for-xxlarge-down,th.hide-for-large,th.hide-for-large-down,th.hide-for-large-only,th.hide-for-medium,th.hide-for-medium-down,th.hide-for-medium-only,th.hide-for-small,th.hide-for-small-down,th.hide-for-small-only,th.hide-for-xxlarge,th.hide-for-xxlarge-only,th.hide-for-xxlarge-up,th.show-for-large-up,th.show-for-medium-up,th.show-for-small-up,th.show-for-xlarge,th.show-for-xlarge-down,th.show-for-xlarge-only,th.show-for-xlarge-up,th.show-for-xxlarge-down{display:table-cell!important}}@media only screen and (min-width:120.0625em){.hide-for-large,.hide-for-large-down,.hide-for-large-only,.hide-for-medium,.hide-for-medium-down,.hide-for-medium-only,.hide-for-small,.hide-for-small-down,.hide-for-small-only,.hide-for-xlarge,.hide-for-xlarge-down,.hide-for-xlarge-only,.show-for-large-up,.show-for-medium-up,.show-for-small-up,.show-for-xlarge-up,.show-for-xxlarge,.show-for-xxlarge-down,.show-for-xxlarge-only,.show-for-xxlarge-up{display:inherit!important}.hide-for-large-up,.hide-for-medium-up,.hide-for-small-up,.hide-for-xlarge-up,.hide-for-xxlarge,.hide-for-xxlarge-down,.hide-for-xxlarge-only,.hide-for-xxlarge-up,.show-for-large,.show-for-large-down,.show-for-large-only,.show-for-medium,.show-for-medium-down,.show-for-medium-only,.show-for-small,.show-for-small-down,.show-for-small-only,.show-for-xlarge,.show-for-xlarge-down,.show-for-xlarge-only{display:none!important}.hidden-for-large,.hidden-for-large-down,.hidden-for-large-only,.hidden-for-medium,.hidden-for-medium-down,.hidden-for-medium-only,.hidden-for-small,.hidden-for-small-down,.hidden-for-small-only,.hidden-for-xlarge,.hidden-for-xlarge-down,.hidden-for-xlarge-only,.visible-for-large-up,.visible-for-medium-up,.visible-for-small-up,.visible-for-xlarge-up,.visible-for-xxlarge,.visible-for-xxlarge-down,.visible-for-xxlarge-only,.visible-for-xxlarge-up{position:static!important;height:auto;width:auto;overflow:visible;clip:auto}.hidden-for-large-up,.hidden-for-medium-up,.hidden-for-small-up,.hidden-for-xlarge-up,.hidden-for-xxlarge,.hidden-for-xxlarge-down,.hidden-for-xxlarge-only,.hidden-for-xxlarge-up,.visible-for-large,.visible-for-large-down,.visible-for-large-only,.visible-for-medium,.visible-for-medium-down,.visible-for-medium-only,.visible-for-small,.visible-for-small-down,.visible-for-small-only,.visible-for-xlarge,.visible-for-xlarge-down,.visible-for-xlarge-only{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px}table.hide-for-large,table.hide-for-large-down,table.hide-for-large-only,table.hide-for-medium,table.hide-for-medium-down,table.hide-for-medium-only,table.hide-for-small,table.hide-for-small-down,table.hide-for-small-only,table.hide-for-xlarge,table.hide-for-xlarge-down,table.hide-for-xlarge-only,table.show-for-large-up,table.show-for-medium-up,table.show-for-small-up,table.show-for-xlarge-up,table.show-for-xxlarge,table.show-for-xxlarge-down,table.show-for-xxlarge-only,table.show-for-xxlarge-up{display:table!important}thead.hide-for-large,thead.hide-for-large-down,thead.hide-for-large-only,thead.hide-for-medium,thead.hide-for-medium-down,thead.hide-for-medium-only,thead.hide-for-small,thead.hide-for-small-down,thead.hide-for-small-only,thead.hide-for-xlarge,thead.hide-for-xlarge-down,thead.hide-for-xlarge-only,thead.show-for-large-up,thead.show-for-medium-up,thead.show-for-small-up,thead.show-for-xlarge-up,thead.show-for-xxlarge,thead.show-for-xxlarge-down,thead.show-for-xxlarge-only,thead.show-for-xxlarge-up{display:table-header-group!important}tbody.hide-for-large,tbody.hide-for-large-down,tbody.hide-for-large-only,tbody.hide-for-medium,tbody.hide-for-medium-down,tbody.hide-for-medium-only,tbody.hide-for-small,tbody.hide-for-small-down,tbody.hide-for-small-only,tbody.hide-for-xlarge,tbody.hide-for-xlarge-down,tbody.hide-for-xlarge-only,tbody.show-for-large-up,tbody.show-for-medium-up,tbody.show-for-small-up,tbody.show-for-xlarge-up,tbody.show-for-xxlarge,tbody.show-for-xxlarge-down,tbody.show-for-xxlarge-only,tbody.show-for-xxlarge-up{display:table-row-group!important}tr.hide-for-large,tr.hide-for-large-down,tr.hide-for-large-only,tr.hide-for-medium,tr.hide-for-medium-down,tr.hide-for-medium-only,tr.hide-for-small,tr.hide-for-small-down,tr.hide-for-small-only,tr.hide-for-xlarge,tr.hide-for-xlarge-down,tr.hide-for-xlarge-only,tr.show-for-large-up,tr.show-for-medium-up,tr.show-for-small-up,tr.show-for-xlarge-up,tr.show-for-xxlarge,tr.show-for-xxlarge-down,tr.show-for-xxlarge-only,tr.show-for-xxlarge-up{display:table-row}td.hide-for-large,td.hide-for-large-down,td.hide-for-large-only,td.hide-for-medium,td.hide-for-medium-down,td.hide-for-medium-only,td.hide-for-small,td.hide-for-small-down,td.hide-for-small-only,td.hide-for-xlarge,td.hide-for-xlarge-down,td.hide-for-xlarge-only,td.show-for-large-up,td.show-for-medium-up,td.show-for-small-up,td.show-for-xlarge-up,td.show-for-xxlarge,td.show-for-xxlarge-down,td.show-for-xxlarge-only,td.show-for-xxlarge-up,th.hide-for-large,th.hide-for-large-down,th.hide-for-large-only,th.hide-for-medium,th.hide-for-medium-down,th.hide-for-medium-only,th.hide-for-small,th.hide-for-small-down,th.hide-for-small-only,th.hide-for-xlarge,th.hide-for-xlarge-down,th.hide-for-xlarge-only,th.show-for-large-up,th.show-for-medium-up,th.show-for-small-up,th.show-for-xlarge-up,th.show-for-xxlarge,th.show-for-xxlarge-down,th.show-for-xxlarge-only,th.show-for-xxlarge-up{display:table-cell!important}}.hide-for-portrait,.show-for-landscape{display:inherit!important}.hide-for-landscape,.show-for-portrait{display:none!important}table.hide-for-landscape,table.show-for-portrait{display:table!important}thead.hide-for-landscape,thead.show-for-portrait{display:table-header-group!important}tbody.hide-for-landscape,tbody.show-for-portrait{display:table-row-group!important}tr.hide-for-landscape,tr.show-for-portrait{display:table-row!important}td.hide-for-landscape,td.show-for-portrait,th.hide-for-landscape,th.show-for-portrait{display:table-cell!important}@media only screen and (orientation:landscape){.hide-for-portrait,.show-for-landscape{display:inherit!important}.hide-for-landscape,.show-for-portrait{display:none!important}table.hide-for-portrait,table.show-for-landscape{display:table!important}thead.hide-for-portrait,thead.show-for-landscape{display:table-header-group!important}tbody.hide-for-portrait,tbody.show-for-landscape{display:table-row-group!important}tr.hide-for-portrait,tr.show-for-landscape{display:table-row!important}td.hide-for-portrait,td.show-for-landscape,th.hide-for-portrait,th.show-for-landscape{display:table-cell!important}}@media only screen and (orientation:portrait){.hide-for-landscape,.show-for-portrait{display:inherit!important}.hide-for-portrait,.show-for-landscape{display:none!important}table.hide-for-landscape,table.show-for-portrait{display:table!important}thead.hide-for-landscape,thead.show-for-portrait{display:table-header-group!important}tbody.hide-for-landscape,tbody.show-for-portrait{display:table-row-group!important}tr.hide-for-landscape,tr.show-for-portrait{display:table-row!important}td.hide-for-landscape,td.show-for-portrait,th.hide-for-landscape,th.show-for-portrait{display:table-cell!important}}.show-for-touch{display:none!important}.hide-for-touch,.touch .show-for-touch{display:inherit!important}.touch .hide-for-touch{display:none!important}.touch table.show-for-touch,table.hide-for-touch{display:table!important}.touch thead.show-for-touch,thead.hide-for-touch{display:table-header-group!important}.touch tbody.show-for-touch,tbody.hide-for-touch{display:table-row-group!important}.touch tr.show-for-touch,tr.hide-for-touch{display:table-row!important}.touch td.show-for-touch,.touch th.show-for-touch,td.hide-for-touch,th.hide-for-touch{display:table-cell!important}.show-for-sr,.show-on-focus{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px}.show-on-focus:active,.show-on-focus:focus{position:static!important;height:auto;width:auto;overflow:visible;clip:auto}.print-only,.show-for-print{display:none!important}@media print{.print-only,.show-for-print{display:block!important}.hide-for-print,.hide-on-print{display:none!important}table.show-for-print{display:table!important}thead.show-for-print{display:table-header-group!important}tbody.show-for-print{display:table-row-group!important}tr.show-for-print{display:table-row!important}td.show-for-print,th.show-for-print{display:table-cell!important}}
|
@@ -0,0 +1 @@
|
|
1
|
+
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */img,legend{border:0}legend,td,th{padding:0}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,optgroup,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre,textarea{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}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}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}table{border-collapse:collapse;border-spacing:0}
|
data/web/views/failing.erb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
<h1><%= @list.total %> Failing Job<%= @list.total == 1 ? "" : "s" %></h1>
|
4
4
|
</div>
|
5
5
|
<div class="small-12 medium-4 columns">
|
6
|
-
|
6
|
+
<%= erb :_search %>
|
7
7
|
</div>
|
8
8
|
</div>
|
9
9
|
<div class="row">
|
@@ -25,14 +25,14 @@
|
|
25
25
|
<% @list.page_jobs.each do |job| %>
|
26
26
|
<tr>
|
27
27
|
<td><a href="<%= link_to "jobs/#{job.id}" %>">
|
28
|
-
|
29
|
-
|
28
|
+
<%= h relative_time job.run_at %></a>
|
29
|
+
<%= erb :_past_due, locals: {job: job} %>
|
30
30
|
</td>
|
31
31
|
<td><%= job.error_count %></td>
|
32
|
-
<td><%= job.
|
32
|
+
<td><%= h job.humanized_job_class %></td>
|
33
33
|
<td><%= job.queue %></td>
|
34
|
-
<td><pre><%= format_args job %></pre></td>
|
35
|
-
<td><%= format_error job %></pre></td>
|
34
|
+
<td><pre><%= h format_args job %></pre></td>
|
35
|
+
<td><pre><%= h format_error job %></pre></td>
|
36
36
|
<td>
|
37
37
|
<form action="<%= link_to "jobs/#{job.id}" %>" method="post">
|
38
38
|
<input type="hidden" name="_method" value="put" />
|
@@ -54,7 +54,7 @@
|
|
54
54
|
</div>
|
55
55
|
<div class="row">
|
56
56
|
<div class="small-8 columns">
|
57
|
-
|
57
|
+
<%= erb :_pager %>
|
58
58
|
</div>
|
59
59
|
<% if @list.total > 0 %>
|
60
60
|
<div class="small-4 columns text-right">
|
data/web/views/index.erb
CHANGED
data/web/views/layout.erb
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
<html>
|
2
2
|
<head>
|
3
3
|
<title>Que Web</title>
|
4
|
+
<link rel="stylesheet" href="<%= root_path %>styles/normalize.min.css" />
|
5
|
+
<link rel="stylesheet" href="<%= root_path %>styles/foundation.min.css" />
|
6
|
+
<link rel="stylesheet" href="<%= root_path %>styles/font-awesome.min.css" />
|
7
|
+
<link rel="stylesheet" href="<%= root_path %>styles/application.css" />
|
4
8
|
</head>
|
5
|
-
<link rel="stylesheet" href="<%= root_path %>styles/normalize.css" />
|
6
|
-
<link rel="stylesheet" href="<%= root_path %>styles/foundation.min.css" />
|
7
|
-
<link rel="stylesheet" href="<%= root_path %>styles/font-awesome.min.css" />
|
8
|
-
<link rel="stylesheet" href="<%= root_path %>styles/application.css" />
|
9
9
|
<body>
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
<%= erb :_navbar %>
|
11
|
+
<%= erb :_flash %>
|
12
|
+
<%= yield %>
|
13
13
|
<script src="<%= root_path %>js/jquery.min.js"></script>
|
14
14
|
<script src="<%= root_path %>js/jquery.timeago.min.js"></script>
|
15
15
|
<script>
|
data/web/views/running.erb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
<h1><%= @list.total %> Running Job<%= @list.total == 1 ? "" : "s" %></h1>
|
4
4
|
</div>
|
5
5
|
<div class="small-12 medium-4 columns">
|
6
|
-
|
6
|
+
<%= erb :_search %>
|
7
7
|
</div>
|
8
8
|
</div>
|
9
9
|
<div class="row">
|
@@ -20,10 +20,10 @@
|
|
20
20
|
<tbody>
|
21
21
|
<% @list.page_jobs.each do |job| %>
|
22
22
|
<tr>
|
23
|
-
<td
|
24
|
-
<td><%= job.
|
23
|
+
<td><%= relative_time job.run_at %></td>
|
24
|
+
<td><%= h job.humanized_job_class %></td>
|
25
25
|
<td><%= job.queue %></td>
|
26
|
-
<td><pre><%= job.args
|
26
|
+
<td><pre><%= h job.args %></pre></td>
|
27
27
|
</tr>
|
28
28
|
<% end %>
|
29
29
|
</tbody>
|
data/web/views/scheduled.erb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
<h1><%= @list.total %> Scheduled Job<%= @list.total == 1 ? "" : "s" %></h1>
|
4
4
|
</div>
|
5
5
|
<div class="small-12 medium-4 columns">
|
6
|
-
|
6
|
+
<%= erb :_search %>
|
7
7
|
</div>
|
8
8
|
</div>
|
9
9
|
<div class="row">
|
@@ -23,12 +23,12 @@
|
|
23
23
|
<% @list.page_jobs.each do |job| %>
|
24
24
|
<tr>
|
25
25
|
<td>
|
26
|
-
<a href="<%= link_to "jobs/#{job.id}" %>"
|
27
|
-
|
26
|
+
<a href="<%= link_to "jobs/#{job.id}" %>"><%= relative_time job.run_at %></a>
|
27
|
+
<%= erb :_past_due, locals: {job: job}%>
|
28
28
|
</td>
|
29
|
-
<td><%= job.
|
30
|
-
<td><%= job.queue %></td>
|
31
|
-
<td><pre><%= format_args
|
29
|
+
<td><%= h job.humanized_job_class %></td>
|
30
|
+
<td><%= h job.queue %></td>
|
31
|
+
<td><pre><%= h format_args(job) %></pre></td>
|
32
32
|
<td>
|
33
33
|
<form action="<%= link_to "jobs/#{job.id}" %>" method="post">
|
34
34
|
<input type="hidden" name="_method" value="put" />
|
@@ -49,7 +49,7 @@
|
|
49
49
|
</div>
|
50
50
|
<div class="row">
|
51
51
|
<div class="small-8 columns">
|
52
|
-
|
52
|
+
<%= erb :_pager %>
|
53
53
|
</div>
|
54
54
|
<% if @list.total > 0 %>
|
55
55
|
<div class="small-4 columns text-right">
|
data/web/views/show.erb
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
<tbody>
|
10
10
|
<tr>
|
11
11
|
<th>Job</th>
|
12
|
-
<td><%= @job.
|
12
|
+
<td><%= @job.humanized_job_class %></td>
|
13
13
|
</tr>
|
14
14
|
<tr>
|
15
15
|
<th>Queue</th>
|
@@ -22,8 +22,8 @@
|
|
22
22
|
<tr>
|
23
23
|
<th>Run At</th>
|
24
24
|
<td>
|
25
|
-
|
26
|
-
|
25
|
+
<%= relative_time @job.run_at %>
|
26
|
+
<%= erb :_past_due, locals: {job: @job} %>
|
27
27
|
</td>
|
28
28
|
</tr>
|
29
29
|
<tr>
|
@@ -32,13 +32,13 @@
|
|
32
32
|
</tr>
|
33
33
|
<tr>
|
34
34
|
<th>Args</th>
|
35
|
-
<td><pre><%= @job.args
|
35
|
+
<td><pre><%= h JSON.pretty_generate(@job.args) %></pre></td>
|
36
36
|
</tr>
|
37
37
|
<tr>
|
38
38
|
<th>Last Error</th>
|
39
39
|
<td>
|
40
|
-
<pre><%= @job.last_error_message %></pre>
|
41
|
-
<pre><%= @job.last_error_backtrace %></pre>
|
40
|
+
<pre><%= h @job.last_error_message %></pre>
|
41
|
+
<pre><%= h @job.last_error_backtrace %></pre>
|
42
42
|
</td>
|
43
43
|
</tr>
|
44
44
|
</tbody>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: que-web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Staten
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-03-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: que
|
@@ -39,46 +39,32 @@ dependencies:
|
|
39
39
|
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0'
|
42
|
-
- !ruby/object:Gem::Dependency
|
43
|
-
name: erubis
|
44
|
-
requirement: !ruby/object:Gem::Requirement
|
45
|
-
requirements:
|
46
|
-
- - ">="
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: '0'
|
49
|
-
type: :runtime
|
50
|
-
prerelease: false
|
51
|
-
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - ">="
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: '0'
|
56
42
|
- !ruby/object:Gem::Dependency
|
57
43
|
name: bundler
|
58
44
|
requirement: !ruby/object:Gem::Requirement
|
59
45
|
requirements:
|
60
|
-
- - "
|
46
|
+
- - ">="
|
61
47
|
- !ruby/object:Gem::Version
|
62
48
|
version: '1.6'
|
63
49
|
type: :development
|
64
50
|
prerelease: false
|
65
51
|
version_requirements: !ruby/object:Gem::Requirement
|
66
52
|
requirements:
|
67
|
-
- - "
|
53
|
+
- - ">="
|
68
54
|
- !ruby/object:Gem::Version
|
69
55
|
version: '1.6'
|
70
56
|
- !ruby/object:Gem::Dependency
|
71
57
|
name: rake
|
72
58
|
requirement: !ruby/object:Gem::Requirement
|
73
59
|
requirements:
|
74
|
-
- - "
|
60
|
+
- - ">="
|
75
61
|
- !ruby/object:Gem::Version
|
76
62
|
version: '10.0'
|
77
63
|
type: :development
|
78
64
|
prerelease: false
|
79
65
|
version_requirements: !ruby/object:Gem::Requirement
|
80
66
|
requirements:
|
81
|
-
- - "
|
67
|
+
- - ">="
|
82
68
|
- !ruby/object:Gem::Version
|
83
69
|
version: '10.0'
|
84
70
|
- !ruby/object:Gem::Dependency
|
@@ -87,14 +73,14 @@ dependencies:
|
|
87
73
|
requirements:
|
88
74
|
- - "~>"
|
89
75
|
- !ruby/object:Gem::Version
|
90
|
-
version: '5.
|
76
|
+
version: '5.6'
|
91
77
|
type: :development
|
92
78
|
prerelease: false
|
93
79
|
version_requirements: !ruby/object:Gem::Requirement
|
94
80
|
requirements:
|
95
81
|
- - "~>"
|
96
82
|
- !ruby/object:Gem::Version
|
97
|
-
version: '5.
|
83
|
+
version: '5.6'
|
98
84
|
description: A web interface for the que queue
|
99
85
|
email:
|
100
86
|
- jstaten07@gmail.com
|
@@ -128,6 +114,7 @@ files:
|
|
128
114
|
- lib/que/web/viewmodels/job_list.rb
|
129
115
|
- que-web.gemspec
|
130
116
|
- spec/pager_spec.rb
|
117
|
+
- spec/que/web_spec.rb
|
131
118
|
- spec/spec_helper.rb
|
132
119
|
- spec/viewmodels/dashboard_spec.rb
|
133
120
|
- spec/viewmodels/job_list_spec.rb
|
@@ -138,17 +125,12 @@ files:
|
|
138
125
|
- web/public/fonts/fontawesome-webfont.svg
|
139
126
|
- web/public/fonts/fontawesome-webfont.ttf
|
140
127
|
- web/public/fonts/fontawesome-webfont.woff
|
141
|
-
- web/public/js/foundation.min.js
|
142
128
|
- web/public/js/jquery.min.js
|
143
129
|
- web/public/js/jquery.timeago.min.js
|
144
|
-
- web/public/js/vendor/fastclick.js
|
145
|
-
- web/public/js/vendor/jquery.cookie.js
|
146
|
-
- web/public/js/vendor/modernizr.js
|
147
|
-
- web/public/js/vendor/placeholder.js
|
148
130
|
- web/public/styles/application.css
|
149
131
|
- web/public/styles/font-awesome.min.css
|
150
132
|
- web/public/styles/foundation.min.css
|
151
|
-
- web/public/styles/normalize.css
|
133
|
+
- web/public/styles/normalize.min.css
|
152
134
|
- web/views/_flash.erb
|
153
135
|
- web/views/_navbar.erb
|
154
136
|
- web/views/_pager.erb
|
@@ -180,12 +162,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
162
|
version: '0'
|
181
163
|
requirements: []
|
182
164
|
rubyforge_project:
|
183
|
-
rubygems_version: 2.
|
165
|
+
rubygems_version: 2.5.2.3
|
184
166
|
signing_key:
|
185
167
|
specification_version: 4
|
186
168
|
summary: A web interface for the que queue
|
187
169
|
test_files:
|
188
170
|
- spec/pager_spec.rb
|
171
|
+
- spec/que/web_spec.rb
|
189
172
|
- spec/spec_helper.rb
|
190
173
|
- spec/viewmodels/dashboard_spec.rb
|
191
174
|
- spec/viewmodels/job_list_spec.rb
|
@@ -1,3651 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Foundation Responsive Library
|
3
|
-
* http://foundation.zurb.com
|
4
|
-
* Copyright 2014, ZURB
|
5
|
-
* Free to use under the MIT license.
|
6
|
-
* http://www.opensource.org/licenses/mit-license.php
|
7
|
-
*/
|
8
|
-
|
9
|
-
(function ($, window, document, undefined) {
|
10
|
-
'use strict';
|
11
|
-
|
12
|
-
var header_helpers = function (class_array) {
|
13
|
-
var i = class_array.length;
|
14
|
-
var head = $('head');
|
15
|
-
|
16
|
-
while (i--) {
|
17
|
-
if(head.has('.' + class_array[i]).length === 0) {
|
18
|
-
head.append('<meta class="' + class_array[i] + '" />');
|
19
|
-
}
|
20
|
-
}
|
21
|
-
};
|
22
|
-
|
23
|
-
header_helpers([
|
24
|
-
'foundation-mq-small',
|
25
|
-
'foundation-mq-medium',
|
26
|
-
'foundation-mq-large',
|
27
|
-
'foundation-mq-xlarge',
|
28
|
-
'foundation-mq-xxlarge',
|
29
|
-
'foundation-data-attribute-namespace']);
|
30
|
-
|
31
|
-
// Enable FastClick if present
|
32
|
-
|
33
|
-
$(function() {
|
34
|
-
if (typeof FastClick !== 'undefined') {
|
35
|
-
// Don't attach to body if undefined
|
36
|
-
if (typeof document.body !== 'undefined') {
|
37
|
-
FastClick.attach(document.body);
|
38
|
-
}
|
39
|
-
}
|
40
|
-
});
|
41
|
-
|
42
|
-
// private Fast Selector wrapper,
|
43
|
-
// returns jQuery object. Only use where
|
44
|
-
// getElementById is not available.
|
45
|
-
var S = function (selector, context) {
|
46
|
-
if (typeof selector === 'string') {
|
47
|
-
if (context) {
|
48
|
-
var cont;
|
49
|
-
if (context.jquery) {
|
50
|
-
cont = context[0];
|
51
|
-
if (!cont) return context;
|
52
|
-
} else {
|
53
|
-
cont = context;
|
54
|
-
}
|
55
|
-
return $(cont.querySelectorAll(selector));
|
56
|
-
}
|
57
|
-
|
58
|
-
return $(document.querySelectorAll(selector));
|
59
|
-
}
|
60
|
-
|
61
|
-
return $(selector, context);
|
62
|
-
};
|
63
|
-
|
64
|
-
// Namespace functions.
|
65
|
-
|
66
|
-
var attr_name = function (init) {
|
67
|
-
var arr = [];
|
68
|
-
if (!init) arr.push('data');
|
69
|
-
if (this.namespace.length > 0) arr.push(this.namespace);
|
70
|
-
arr.push(this.name);
|
71
|
-
|
72
|
-
return arr.join('-');
|
73
|
-
};
|
74
|
-
|
75
|
-
var add_namespace = function (str) {
|
76
|
-
var parts = str.split('-'),
|
77
|
-
i = parts.length,
|
78
|
-
arr = [];
|
79
|
-
|
80
|
-
while (i--) {
|
81
|
-
if (i !== 0) {
|
82
|
-
arr.push(parts[i]);
|
83
|
-
} else {
|
84
|
-
if (this.namespace.length > 0) {
|
85
|
-
arr.push(this.namespace, parts[i]);
|
86
|
-
} else {
|
87
|
-
arr.push(parts[i]);
|
88
|
-
}
|
89
|
-
}
|
90
|
-
}
|
91
|
-
|
92
|
-
return arr.reverse().join('-');
|
93
|
-
};
|
94
|
-
|
95
|
-
// Event binding and data-options updating.
|
96
|
-
|
97
|
-
var bindings = function (method, options) {
|
98
|
-
var self = this,
|
99
|
-
should_bind_events = !S(this).data(this.attr_name(true));
|
100
|
-
|
101
|
-
|
102
|
-
if (S(this.scope).is('[' + this.attr_name() +']')) {
|
103
|
-
S(this.scope).data(this.attr_name(true) + '-init', $.extend({}, this.settings, (options || method), this.data_options(S(this.scope))));
|
104
|
-
|
105
|
-
if (should_bind_events) {
|
106
|
-
this.events(this.scope);
|
107
|
-
}
|
108
|
-
|
109
|
-
} else {
|
110
|
-
S('[' + this.attr_name() +']', this.scope).each(function () {
|
111
|
-
var should_bind_events = !S(this).data(self.attr_name(true) + '-init');
|
112
|
-
S(this).data(self.attr_name(true) + '-init', $.extend({}, self.settings, (options || method), self.data_options(S(this))));
|
113
|
-
|
114
|
-
if (should_bind_events) {
|
115
|
-
self.events(this);
|
116
|
-
}
|
117
|
-
});
|
118
|
-
}
|
119
|
-
// # Patch to fix #5043 to move this *after* the if/else clause in order for Backbone and similar frameworks to have improved control over event binding and data-options updating.
|
120
|
-
if (typeof method === 'string') {
|
121
|
-
return this[method].call(this, options);
|
122
|
-
}
|
123
|
-
|
124
|
-
};
|
125
|
-
|
126
|
-
var single_image_loaded = function (image, callback) {
|
127
|
-
function loaded () {
|
128
|
-
callback(image[0]);
|
129
|
-
}
|
130
|
-
|
131
|
-
function bindLoad () {
|
132
|
-
this.one('load', loaded);
|
133
|
-
|
134
|
-
if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)) {
|
135
|
-
var src = this.attr( 'src' ),
|
136
|
-
param = src.match( /\?/ ) ? '&' : '?';
|
137
|
-
|
138
|
-
param += 'random=' + (new Date()).getTime();
|
139
|
-
this.attr('src', src + param);
|
140
|
-
}
|
141
|
-
}
|
142
|
-
|
143
|
-
if (!image.attr('src')) {
|
144
|
-
loaded();
|
145
|
-
return;
|
146
|
-
}
|
147
|
-
|
148
|
-
if (image[0].complete || image[0].readyState === 4) {
|
149
|
-
loaded();
|
150
|
-
} else {
|
151
|
-
bindLoad.call(image);
|
152
|
-
}
|
153
|
-
};
|
154
|
-
|
155
|
-
/*
|
156
|
-
https://github.com/paulirish/matchMedia.js
|
157
|
-
*/
|
158
|
-
|
159
|
-
window.matchMedia = window.matchMedia || (function( doc ) {
|
160
|
-
|
161
|
-
"use strict";
|
162
|
-
|
163
|
-
var bool,
|
164
|
-
docElem = doc.documentElement,
|
165
|
-
refNode = docElem.firstElementChild || docElem.firstChild,
|
166
|
-
// fakeBody required for <FF4 when executed in <head>
|
167
|
-
fakeBody = doc.createElement( "body" ),
|
168
|
-
div = doc.createElement( "div" );
|
169
|
-
|
170
|
-
div.id = "mq-test-1";
|
171
|
-
div.style.cssText = "position:absolute;top:-100em";
|
172
|
-
fakeBody.style.background = "none";
|
173
|
-
fakeBody.appendChild(div);
|
174
|
-
|
175
|
-
return function (q) {
|
176
|
-
|
177
|
-
div.innerHTML = "­<style media=\"" + q + "\"> #mq-test-1 { width: 42px; }</style>";
|
178
|
-
|
179
|
-
docElem.insertBefore( fakeBody, refNode );
|
180
|
-
bool = div.offsetWidth === 42;
|
181
|
-
docElem.removeChild( fakeBody );
|
182
|
-
|
183
|
-
return {
|
184
|
-
matches: bool,
|
185
|
-
media: q
|
186
|
-
};
|
187
|
-
|
188
|
-
};
|
189
|
-
|
190
|
-
}( document ));
|
191
|
-
|
192
|
-
/*
|
193
|
-
* jquery.requestAnimationFrame
|
194
|
-
* https://github.com/gnarf37/jquery-requestAnimationFrame
|
195
|
-
* Requires jQuery 1.8+
|
196
|
-
*
|
197
|
-
* Copyright (c) 2012 Corey Frang
|
198
|
-
* Licensed under the MIT license.
|
199
|
-
*/
|
200
|
-
|
201
|
-
(function($) {
|
202
|
-
|
203
|
-
// requestAnimationFrame polyfill adapted from Erik Möller
|
204
|
-
// fixes from Paul Irish and Tino Zijdel
|
205
|
-
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
|
206
|
-
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
|
207
|
-
|
208
|
-
var animating,
|
209
|
-
lastTime = 0,
|
210
|
-
vendors = ['webkit', 'moz'],
|
211
|
-
requestAnimationFrame = window.requestAnimationFrame,
|
212
|
-
cancelAnimationFrame = window.cancelAnimationFrame,
|
213
|
-
jqueryFxAvailable = 'undefined' !== typeof jQuery.fx;
|
214
|
-
|
215
|
-
for (; lastTime < vendors.length && !requestAnimationFrame; lastTime++) {
|
216
|
-
requestAnimationFrame = window[ vendors[lastTime] + "RequestAnimationFrame" ];
|
217
|
-
cancelAnimationFrame = cancelAnimationFrame ||
|
218
|
-
window[ vendors[lastTime] + "CancelAnimationFrame" ] ||
|
219
|
-
window[ vendors[lastTime] + "CancelRequestAnimationFrame" ];
|
220
|
-
}
|
221
|
-
|
222
|
-
function raf() {
|
223
|
-
if (animating) {
|
224
|
-
requestAnimationFrame(raf);
|
225
|
-
|
226
|
-
if (jqueryFxAvailable) {
|
227
|
-
jQuery.fx.tick();
|
228
|
-
}
|
229
|
-
}
|
230
|
-
}
|
231
|
-
|
232
|
-
if (requestAnimationFrame) {
|
233
|
-
// use rAF
|
234
|
-
window.requestAnimationFrame = requestAnimationFrame;
|
235
|
-
window.cancelAnimationFrame = cancelAnimationFrame;
|
236
|
-
|
237
|
-
if (jqueryFxAvailable) {
|
238
|
-
jQuery.fx.timer = function (timer) {
|
239
|
-
if (timer() && jQuery.timers.push(timer) && !animating) {
|
240
|
-
animating = true;
|
241
|
-
raf();
|
242
|
-
}
|
243
|
-
};
|
244
|
-
|
245
|
-
jQuery.fx.stop = function () {
|
246
|
-
animating = false;
|
247
|
-
};
|
248
|
-
}
|
249
|
-
} else {
|
250
|
-
// polyfill
|
251
|
-
window.requestAnimationFrame = function (callback) {
|
252
|
-
var currTime = new Date().getTime(),
|
253
|
-
timeToCall = Math.max(0, 16 - (currTime - lastTime)),
|
254
|
-
id = window.setTimeout(function () {
|
255
|
-
callback(currTime + timeToCall);
|
256
|
-
}, timeToCall);
|
257
|
-
lastTime = currTime + timeToCall;
|
258
|
-
return id;
|
259
|
-
};
|
260
|
-
|
261
|
-
window.cancelAnimationFrame = function (id) {
|
262
|
-
clearTimeout(id);
|
263
|
-
};
|
264
|
-
|
265
|
-
}
|
266
|
-
|
267
|
-
}( jQuery ));
|
268
|
-
|
269
|
-
|
270
|
-
function removeQuotes (string) {
|
271
|
-
if (typeof string === 'string' || string instanceof String) {
|
272
|
-
string = string.replace(/^['\\/"]+|(;\s?})+|['\\/"]+$/g, '');
|
273
|
-
}
|
274
|
-
|
275
|
-
return string;
|
276
|
-
}
|
277
|
-
|
278
|
-
window.Foundation = {
|
279
|
-
name : 'Foundation',
|
280
|
-
|
281
|
-
version : '5.4.7',
|
282
|
-
|
283
|
-
media_queries : {
|
284
|
-
small : S('.foundation-mq-small').css('font-family').replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g, ''),
|
285
|
-
medium : S('.foundation-mq-medium').css('font-family').replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g, ''),
|
286
|
-
large : S('.foundation-mq-large').css('font-family').replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g, ''),
|
287
|
-
xlarge: S('.foundation-mq-xlarge').css('font-family').replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g, ''),
|
288
|
-
xxlarge: S('.foundation-mq-xxlarge').css('font-family').replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g, '')
|
289
|
-
},
|
290
|
-
|
291
|
-
stylesheet : $('<style></style>').appendTo('head')[0].sheet,
|
292
|
-
|
293
|
-
global: {
|
294
|
-
namespace: undefined
|
295
|
-
},
|
296
|
-
|
297
|
-
init : function (scope, libraries, method, options, response) {
|
298
|
-
var args = [scope, method, options, response],
|
299
|
-
responses = [];
|
300
|
-
|
301
|
-
// check RTL
|
302
|
-
this.rtl = /rtl/i.test(S('html').attr('dir'));
|
303
|
-
|
304
|
-
// set foundation global scope
|
305
|
-
this.scope = scope || this.scope;
|
306
|
-
|
307
|
-
this.set_namespace();
|
308
|
-
|
309
|
-
if (libraries && typeof libraries === 'string' && !/reflow/i.test(libraries)) {
|
310
|
-
if (this.libs.hasOwnProperty(libraries)) {
|
311
|
-
responses.push(this.init_lib(libraries, args));
|
312
|
-
}
|
313
|
-
} else {
|
314
|
-
for (var lib in this.libs) {
|
315
|
-
responses.push(this.init_lib(lib, libraries));
|
316
|
-
}
|
317
|
-
}
|
318
|
-
|
319
|
-
S(window).load(function(){
|
320
|
-
S(window)
|
321
|
-
.trigger('resize.fndtn.clearing')
|
322
|
-
.trigger('resize.fndtn.dropdown')
|
323
|
-
.trigger('resize.fndtn.equalizer')
|
324
|
-
.trigger('resize.fndtn.interchange')
|
325
|
-
.trigger('resize.fndtn.joyride')
|
326
|
-
.trigger('resize.fndtn.magellan')
|
327
|
-
.trigger('resize.fndtn.topbar')
|
328
|
-
.trigger('resize.fndtn.slider');
|
329
|
-
});
|
330
|
-
|
331
|
-
return scope;
|
332
|
-
},
|
333
|
-
|
334
|
-
init_lib : function (lib, args) {
|
335
|
-
if (this.libs.hasOwnProperty(lib)) {
|
336
|
-
this.patch(this.libs[lib]);
|
337
|
-
|
338
|
-
if (args && args.hasOwnProperty(lib)) {
|
339
|
-
if (typeof this.libs[lib].settings !== 'undefined') {
|
340
|
-
$.extend(true, this.libs[lib].settings, args[lib]);
|
341
|
-
}
|
342
|
-
else if (typeof this.libs[lib].defaults !== 'undefined') {
|
343
|
-
$.extend(true, this.libs[lib].defaults, args[lib]);
|
344
|
-
}
|
345
|
-
return this.libs[lib].init.apply(this.libs[lib], [this.scope, args[lib]]);
|
346
|
-
}
|
347
|
-
|
348
|
-
args = args instanceof Array ? args : new Array(args); // PATCH: added this line
|
349
|
-
return this.libs[lib].init.apply(this.libs[lib], args);
|
350
|
-
}
|
351
|
-
|
352
|
-
return function () {};
|
353
|
-
},
|
354
|
-
|
355
|
-
patch : function (lib) {
|
356
|
-
lib.scope = this.scope;
|
357
|
-
lib.namespace = this.global.namespace;
|
358
|
-
lib.rtl = this.rtl;
|
359
|
-
lib['data_options'] = this.utils.data_options;
|
360
|
-
lib['attr_name'] = attr_name;
|
361
|
-
lib['add_namespace'] = add_namespace;
|
362
|
-
lib['bindings'] = bindings;
|
363
|
-
lib['S'] = this.utils.S;
|
364
|
-
},
|
365
|
-
|
366
|
-
inherit : function (scope, methods) {
|
367
|
-
var methods_arr = methods.split(' '),
|
368
|
-
i = methods_arr.length;
|
369
|
-
|
370
|
-
while (i--) {
|
371
|
-
if (this.utils.hasOwnProperty(methods_arr[i])) {
|
372
|
-
scope[methods_arr[i]] = this.utils[methods_arr[i]];
|
373
|
-
}
|
374
|
-
}
|
375
|
-
},
|
376
|
-
|
377
|
-
set_namespace: function () {
|
378
|
-
|
379
|
-
// Description:
|
380
|
-
// Don't bother reading the namespace out of the meta tag
|
381
|
-
// if the namespace has been set globally in javascript
|
382
|
-
//
|
383
|
-
// Example:
|
384
|
-
// Foundation.global.namespace = 'my-namespace';
|
385
|
-
// or make it an empty string:
|
386
|
-
// Foundation.global.namespace = '';
|
387
|
-
//
|
388
|
-
//
|
389
|
-
|
390
|
-
// If the namespace has not been set (is undefined), try to read it out of the meta element.
|
391
|
-
// Otherwise use the globally defined namespace, even if it's empty ('')
|
392
|
-
var namespace = ( this.global.namespace === undefined ) ? $('.foundation-data-attribute-namespace').css('font-family') : this.global.namespace;
|
393
|
-
|
394
|
-
// Finally, if the namsepace is either undefined or false, set it to an empty string.
|
395
|
-
// Otherwise use the namespace value.
|
396
|
-
this.global.namespace = ( namespace === undefined || /false/i.test(namespace) ) ? '' : namespace;
|
397
|
-
},
|
398
|
-
|
399
|
-
libs : {},
|
400
|
-
|
401
|
-
// methods that can be inherited in libraries
|
402
|
-
utils : {
|
403
|
-
|
404
|
-
// Description:
|
405
|
-
// Fast Selector wrapper returns jQuery object. Only use where getElementById
|
406
|
-
// is not available.
|
407
|
-
//
|
408
|
-
// Arguments:
|
409
|
-
// Selector (String): CSS selector describing the element(s) to be
|
410
|
-
// returned as a jQuery object.
|
411
|
-
//
|
412
|
-
// Scope (String): CSS selector describing the area to be searched. Default
|
413
|
-
// is document.
|
414
|
-
//
|
415
|
-
// Returns:
|
416
|
-
// Element (jQuery Object): jQuery object containing elements matching the
|
417
|
-
// selector within the scope.
|
418
|
-
S : S,
|
419
|
-
|
420
|
-
// Description:
|
421
|
-
// Executes a function a max of once every n milliseconds
|
422
|
-
//
|
423
|
-
// Arguments:
|
424
|
-
// Func (Function): Function to be throttled.
|
425
|
-
//
|
426
|
-
// Delay (Integer): Function execution threshold in milliseconds.
|
427
|
-
//
|
428
|
-
// Returns:
|
429
|
-
// Lazy_function (Function): Function with throttling applied.
|
430
|
-
throttle : function (func, delay) {
|
431
|
-
var timer = null;
|
432
|
-
|
433
|
-
return function () {
|
434
|
-
var context = this, args = arguments;
|
435
|
-
|
436
|
-
if (timer == null) {
|
437
|
-
timer = setTimeout(function () {
|
438
|
-
func.apply(context, args);
|
439
|
-
timer = null;
|
440
|
-
}, delay);
|
441
|
-
}
|
442
|
-
};
|
443
|
-
},
|
444
|
-
|
445
|
-
// Description:
|
446
|
-
// Executes a function when it stops being invoked for n seconds
|
447
|
-
// Modified version of _.debounce() http://underscorejs.org
|
448
|
-
//
|
449
|
-
// Arguments:
|
450
|
-
// Func (Function): Function to be debounced.
|
451
|
-
//
|
452
|
-
// Delay (Integer): Function execution threshold in milliseconds.
|
453
|
-
//
|
454
|
-
// Immediate (Bool): Whether the function should be called at the beginning
|
455
|
-
// of the delay instead of the end. Default is false.
|
456
|
-
//
|
457
|
-
// Returns:
|
458
|
-
// Lazy_function (Function): Function with debouncing applied.
|
459
|
-
debounce : function (func, delay, immediate) {
|
460
|
-
var timeout, result;
|
461
|
-
return function () {
|
462
|
-
var context = this, args = arguments;
|
463
|
-
var later = function () {
|
464
|
-
timeout = null;
|
465
|
-
if (!immediate) result = func.apply(context, args);
|
466
|
-
};
|
467
|
-
var callNow = immediate && !timeout;
|
468
|
-
clearTimeout(timeout);
|
469
|
-
timeout = setTimeout(later, delay);
|
470
|
-
if (callNow) result = func.apply(context, args);
|
471
|
-
return result;
|
472
|
-
};
|
473
|
-
},
|
474
|
-
|
475
|
-
// Description:
|
476
|
-
// Parses data-options attribute
|
477
|
-
//
|
478
|
-
// Arguments:
|
479
|
-
// El (jQuery Object): Element to be parsed.
|
480
|
-
//
|
481
|
-
// Returns:
|
482
|
-
// Options (Javascript Object): Contents of the element's data-options
|
483
|
-
// attribute.
|
484
|
-
data_options : function (el, data_attr_name) {
|
485
|
-
data_attr_name = data_attr_name || 'options';
|
486
|
-
var opts = {}, ii, p, opts_arr,
|
487
|
-
data_options = function (el) {
|
488
|
-
var namespace = Foundation.global.namespace;
|
489
|
-
|
490
|
-
if (namespace.length > 0) {
|
491
|
-
return el.data(namespace + '-' + data_attr_name);
|
492
|
-
}
|
493
|
-
|
494
|
-
return el.data(data_attr_name);
|
495
|
-
};
|
496
|
-
|
497
|
-
var cached_options = data_options(el);
|
498
|
-
|
499
|
-
if (typeof cached_options === 'object') {
|
500
|
-
return cached_options;
|
501
|
-
}
|
502
|
-
|
503
|
-
opts_arr = (cached_options || ':').split(';');
|
504
|
-
ii = opts_arr.length;
|
505
|
-
|
506
|
-
function isNumber (o) {
|
507
|
-
return ! isNaN (o-0) && o !== null && o !== "" && o !== false && o !== true;
|
508
|
-
}
|
509
|
-
|
510
|
-
function trim (str) {
|
511
|
-
if (typeof str === 'string') return $.trim(str);
|
512
|
-
return str;
|
513
|
-
}
|
514
|
-
|
515
|
-
while (ii--) {
|
516
|
-
p = opts_arr[ii].split(':');
|
517
|
-
p = [p[0], p.slice(1).join(':')];
|
518
|
-
|
519
|
-
if (/true/i.test(p[1])) p[1] = true;
|
520
|
-
if (/false/i.test(p[1])) p[1] = false;
|
521
|
-
if (isNumber(p[1])) {
|
522
|
-
if (p[1].indexOf('.') === -1) {
|
523
|
-
p[1] = parseInt(p[1], 10);
|
524
|
-
} else {
|
525
|
-
p[1] = parseFloat(p[1]);
|
526
|
-
}
|
527
|
-
}
|
528
|
-
|
529
|
-
if (p.length === 2 && p[0].length > 0) {
|
530
|
-
opts[trim(p[0])] = trim(p[1]);
|
531
|
-
}
|
532
|
-
}
|
533
|
-
|
534
|
-
return opts;
|
535
|
-
},
|
536
|
-
|
537
|
-
// Description:
|
538
|
-
// Adds JS-recognizable media queries
|
539
|
-
//
|
540
|
-
// Arguments:
|
541
|
-
// Media (String): Key string for the media query to be stored as in
|
542
|
-
// Foundation.media_queries
|
543
|
-
//
|
544
|
-
// Class (String): Class name for the generated <meta> tag
|
545
|
-
register_media : function (media, media_class) {
|
546
|
-
if(Foundation.media_queries[media] === undefined) {
|
547
|
-
$('head').append('<meta class="' + media_class + '"/>');
|
548
|
-
Foundation.media_queries[media] = removeQuotes($('.' + media_class).css('font-family'));
|
549
|
-
}
|
550
|
-
},
|
551
|
-
|
552
|
-
// Description:
|
553
|
-
// Add custom CSS within a JS-defined media query
|
554
|
-
//
|
555
|
-
// Arguments:
|
556
|
-
// Rule (String): CSS rule to be appended to the document.
|
557
|
-
//
|
558
|
-
// Media (String): Optional media query string for the CSS rule to be
|
559
|
-
// nested under.
|
560
|
-
add_custom_rule : function (rule, media) {
|
561
|
-
if (media === undefined && Foundation.stylesheet) {
|
562
|
-
Foundation.stylesheet.insertRule(rule, Foundation.stylesheet.cssRules.length);
|
563
|
-
} else {
|
564
|
-
var query = Foundation.media_queries[media];
|
565
|
-
|
566
|
-
if (query !== undefined) {
|
567
|
-
Foundation.stylesheet.insertRule('@media ' +
|
568
|
-
Foundation.media_queries[media] + '{ ' + rule + ' }');
|
569
|
-
}
|
570
|
-
}
|
571
|
-
},
|
572
|
-
|
573
|
-
// Description:
|
574
|
-
// Performs a callback function when an image is fully loaded
|
575
|
-
//
|
576
|
-
// Arguments:
|
577
|
-
// Image (jQuery Object): Image(s) to check if loaded.
|
578
|
-
//
|
579
|
-
// Callback (Function): Function to execute when image is fully loaded.
|
580
|
-
image_loaded : function (images, callback) {
|
581
|
-
var self = this,
|
582
|
-
unloaded = images.length;
|
583
|
-
|
584
|
-
if (unloaded === 0) {
|
585
|
-
callback(images);
|
586
|
-
}
|
587
|
-
|
588
|
-
images.each(function () {
|
589
|
-
single_image_loaded(self.S(this), function () {
|
590
|
-
unloaded -= 1;
|
591
|
-
if (unloaded === 0) {
|
592
|
-
callback(images);
|
593
|
-
}
|
594
|
-
});
|
595
|
-
});
|
596
|
-
},
|
597
|
-
|
598
|
-
// Description:
|
599
|
-
// Returns a random, alphanumeric string
|
600
|
-
//
|
601
|
-
// Arguments:
|
602
|
-
// Length (Integer): Length of string to be generated. Defaults to random
|
603
|
-
// integer.
|
604
|
-
//
|
605
|
-
// Returns:
|
606
|
-
// Rand (String): Pseudo-random, alphanumeric string.
|
607
|
-
random_str : function () {
|
608
|
-
if (!this.fidx) this.fidx = 0;
|
609
|
-
this.prefix = this.prefix || [(this.name || 'F'), (+new Date).toString(36)].join('-');
|
610
|
-
|
611
|
-
return this.prefix + (this.fidx++).toString(36);
|
612
|
-
}
|
613
|
-
}
|
614
|
-
};
|
615
|
-
|
616
|
-
$.fn.foundation = function () {
|
617
|
-
var args = Array.prototype.slice.call(arguments, 0);
|
618
|
-
|
619
|
-
return this.each(function () {
|
620
|
-
Foundation.init.apply(Foundation, [this].concat(args));
|
621
|
-
return this;
|
622
|
-
});
|
623
|
-
};
|
624
|
-
|
625
|
-
}(jQuery, window, window.document));
|
626
|
-
;(function ($, window, document, undefined) {
|
627
|
-
'use strict';
|
628
|
-
|
629
|
-
Foundation.libs.abide = {
|
630
|
-
name : 'abide',
|
631
|
-
|
632
|
-
version : '5.4.7',
|
633
|
-
|
634
|
-
settings : {
|
635
|
-
live_validate : true,
|
636
|
-
focus_on_invalid : true,
|
637
|
-
error_labels: true, // labels with a for="inputId" will recieve an `error` class
|
638
|
-
error_class: 'error',
|
639
|
-
timeout : 1000,
|
640
|
-
patterns : {
|
641
|
-
alpha: /^[a-zA-Z]+$/,
|
642
|
-
alpha_numeric : /^[a-zA-Z0-9]+$/,
|
643
|
-
integer: /^[-+]?\d+$/,
|
644
|
-
number: /^[-+]?\d*(?:[\.\,]\d+)?$/,
|
645
|
-
|
646
|
-
// amex, visa, diners
|
647
|
-
card : /^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/,
|
648
|
-
cvv : /^([0-9]){3,4}$/,
|
649
|
-
|
650
|
-
// http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#valid-e-mail-address
|
651
|
-
email : /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+$/,
|
652
|
-
|
653
|
-
url: /^(https?|ftp|file|ssh):\/\/(((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/,
|
654
|
-
// abc.de
|
655
|
-
domain: /^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,6}$/,
|
656
|
-
|
657
|
-
datetime: /^([0-2][0-9]{3})\-([0-1][0-9])\-([0-3][0-9])T([0-5][0-9])\:([0-5][0-9])\:([0-5][0-9])(Z|([\-\+]([0-1][0-9])\:00))$/,
|
658
|
-
// YYYY-MM-DD
|
659
|
-
date: /(?:19|20)[0-9]{2}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-9])|(?:(?!02)(?:0[1-9]|1[0-2])-(?:30))|(?:(?:0[13578]|1[02])-31))$/,
|
660
|
-
// HH:MM:SS
|
661
|
-
time : /^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}$/,
|
662
|
-
dateISO: /^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/,
|
663
|
-
// MM/DD/YYYY
|
664
|
-
month_day_year : /^(0[1-9]|1[012])[- \/.](0[1-9]|[12][0-9]|3[01])[- \/.]\d{4}$/,
|
665
|
-
// DD/MM/YYYY
|
666
|
-
day_month_year : /^(0[1-9]|[12][0-9]|3[01])[- \/.](0[1-9]|1[012])[- \/.]\d{4}$/,
|
667
|
-
|
668
|
-
// #FFF or #FFFFFF
|
669
|
-
color: /^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/
|
670
|
-
},
|
671
|
-
validators : {
|
672
|
-
equalTo: function(el, required, parent) {
|
673
|
-
var from = document.getElementById(el.getAttribute(this.add_namespace('data-equalto'))).value,
|
674
|
-
to = el.value,
|
675
|
-
valid = (from === to);
|
676
|
-
|
677
|
-
return valid;
|
678
|
-
}
|
679
|
-
}
|
680
|
-
},
|
681
|
-
|
682
|
-
timer : null,
|
683
|
-
|
684
|
-
init : function (scope, method, options) {
|
685
|
-
this.bindings(method, options);
|
686
|
-
},
|
687
|
-
|
688
|
-
events : function (scope) {
|
689
|
-
var self = this,
|
690
|
-
form = self.S(scope).attr('novalidate', 'novalidate'),
|
691
|
-
settings = form.data(this.attr_name(true) + '-init') || {};
|
692
|
-
|
693
|
-
this.invalid_attr = this.add_namespace('data-invalid');
|
694
|
-
|
695
|
-
form
|
696
|
-
.off('.abide')
|
697
|
-
.on('submit.fndtn.abide validate.fndtn.abide', function (e) {
|
698
|
-
var is_ajax = /ajax/i.test(self.S(this).attr(self.attr_name()));
|
699
|
-
return self.validate(self.S(this).find('input, textarea, select').get(), e, is_ajax);
|
700
|
-
})
|
701
|
-
.on('reset', function() {
|
702
|
-
return self.reset($(this));
|
703
|
-
})
|
704
|
-
.find('input, textarea, select')
|
705
|
-
.off('.abide')
|
706
|
-
.on('blur.fndtn.abide change.fndtn.abide', function (e) {
|
707
|
-
self.validate([this], e);
|
708
|
-
})
|
709
|
-
.on('keydown.fndtn.abide', function (e) {
|
710
|
-
if (settings.live_validate === true) {
|
711
|
-
clearTimeout(self.timer);
|
712
|
-
self.timer = setTimeout(function () {
|
713
|
-
self.validate([this], e);
|
714
|
-
}.bind(this), settings.timeout);
|
715
|
-
}
|
716
|
-
});
|
717
|
-
},
|
718
|
-
|
719
|
-
reset : function (form) {
|
720
|
-
form.removeAttr(this.invalid_attr);
|
721
|
-
$(this.invalid_attr, form).removeAttr(this.invalid_attr);
|
722
|
-
$('.' + this.settings.error_class, form).not('small').removeClass(this.settings.error_class);
|
723
|
-
},
|
724
|
-
|
725
|
-
validate : function (els, e, is_ajax) {
|
726
|
-
var validations = this.parse_patterns(els),
|
727
|
-
validation_count = validations.length,
|
728
|
-
form = this.S(els[0]).closest('form'),
|
729
|
-
submit_event = /submit/.test(e.type);
|
730
|
-
|
731
|
-
// Has to count up to make sure the focus gets applied to the top error
|
732
|
-
for (var i=0; i < validation_count; i++) {
|
733
|
-
if (!validations[i] && (submit_event || is_ajax)) {
|
734
|
-
if (this.settings.focus_on_invalid) els[i].focus();
|
735
|
-
form.trigger('invalid');
|
736
|
-
this.S(els[i]).closest('form').attr(this.invalid_attr, '');
|
737
|
-
return false;
|
738
|
-
}
|
739
|
-
}
|
740
|
-
|
741
|
-
if (submit_event || is_ajax) {
|
742
|
-
form.trigger('valid');
|
743
|
-
}
|
744
|
-
|
745
|
-
form.removeAttr(this.invalid_attr);
|
746
|
-
|
747
|
-
if (is_ajax) return false;
|
748
|
-
|
749
|
-
return true;
|
750
|
-
},
|
751
|
-
|
752
|
-
parse_patterns : function (els) {
|
753
|
-
var i = els.length,
|
754
|
-
el_patterns = [];
|
755
|
-
|
756
|
-
while (i--) {
|
757
|
-
el_patterns.push(this.pattern(els[i]));
|
758
|
-
}
|
759
|
-
|
760
|
-
return this.check_validation_and_apply_styles(el_patterns);
|
761
|
-
},
|
762
|
-
|
763
|
-
pattern : function (el) {
|
764
|
-
var type = el.getAttribute('type'),
|
765
|
-
required = typeof el.getAttribute('required') === 'string';
|
766
|
-
|
767
|
-
var pattern = el.getAttribute('pattern') || '';
|
768
|
-
|
769
|
-
if (this.settings.patterns.hasOwnProperty(pattern) && pattern.length > 0) {
|
770
|
-
return [el, this.settings.patterns[pattern], required];
|
771
|
-
} else if (pattern.length > 0) {
|
772
|
-
return [el, new RegExp(pattern), required];
|
773
|
-
}
|
774
|
-
|
775
|
-
if (this.settings.patterns.hasOwnProperty(type)) {
|
776
|
-
return [el, this.settings.patterns[type], required];
|
777
|
-
}
|
778
|
-
|
779
|
-
pattern = /.*/;
|
780
|
-
|
781
|
-
return [el, pattern, required];
|
782
|
-
},
|
783
|
-
|
784
|
-
check_validation_and_apply_styles : function (el_patterns) {
|
785
|
-
var i = el_patterns.length,
|
786
|
-
validations = [],
|
787
|
-
form = this.S(el_patterns[0][0]).closest('[data-' + this.attr_name(true) + ']'),
|
788
|
-
settings = form.data(this.attr_name(true) + '-init') || {};
|
789
|
-
while (i--) {
|
790
|
-
var el = el_patterns[i][0],
|
791
|
-
required = el_patterns[i][2],
|
792
|
-
value = el.value.trim(),
|
793
|
-
direct_parent = this.S(el).parent(),
|
794
|
-
validator = el.getAttribute(this.add_namespace('data-abide-validator')),
|
795
|
-
is_radio = el.type === "radio",
|
796
|
-
is_checkbox = el.type === "checkbox",
|
797
|
-
label = this.S('label[for="' + el.getAttribute('id') + '"]'),
|
798
|
-
valid_length = (required) ? (el.value.length > 0) : true,
|
799
|
-
el_validations = [];
|
800
|
-
|
801
|
-
var parent, valid;
|
802
|
-
|
803
|
-
// support old way to do equalTo validations
|
804
|
-
if(el.getAttribute(this.add_namespace('data-equalto'))) { validator = "equalTo" }
|
805
|
-
|
806
|
-
if (!direct_parent.is('label')) {
|
807
|
-
parent = direct_parent;
|
808
|
-
} else {
|
809
|
-
parent = direct_parent.parent();
|
810
|
-
}
|
811
|
-
|
812
|
-
if (validator) {
|
813
|
-
valid = this.settings.validators[validator].apply(this, [el, required, parent]);
|
814
|
-
el_validations.push(valid);
|
815
|
-
}
|
816
|
-
|
817
|
-
if (is_radio && required) {
|
818
|
-
el_validations.push(this.valid_radio(el, required));
|
819
|
-
} else if (is_checkbox && required) {
|
820
|
-
el_validations.push(this.valid_checkbox(el, required));
|
821
|
-
} else {
|
822
|
-
|
823
|
-
if (el_patterns[i][1].test(value) && valid_length ||
|
824
|
-
!required && el.value.length < 1 || $(el).attr('disabled')) {
|
825
|
-
el_validations.push(true);
|
826
|
-
} else {
|
827
|
-
el_validations.push(false);
|
828
|
-
}
|
829
|
-
|
830
|
-
el_validations = [el_validations.every(function(valid){return valid;})];
|
831
|
-
|
832
|
-
if(el_validations[0]){
|
833
|
-
this.S(el).removeAttr(this.invalid_attr);
|
834
|
-
el.setAttribute('aria-invalid', 'false');
|
835
|
-
el.removeAttribute('aria-describedby');
|
836
|
-
parent.removeClass(this.settings.error_class);
|
837
|
-
if (label.length > 0 && this.settings.error_labels) {
|
838
|
-
label.removeClass(this.settings.error_class).removeAttr('role');
|
839
|
-
}
|
840
|
-
$(el).triggerHandler('valid');
|
841
|
-
} else {
|
842
|
-
this.S(el).attr(this.invalid_attr, '');
|
843
|
-
el.setAttribute('aria-invalid', 'true');
|
844
|
-
|
845
|
-
// Try to find the error associated with the input
|
846
|
-
var errorElem = parent.find('small.'+this.settings.error_class, 'span.'+this.settings.error_class);
|
847
|
-
var errorID = errorElem.length > 0 ? errorElem[0].id : "";
|
848
|
-
if (errorID.length > 0) el.setAttribute('aria-describedby', errorID);
|
849
|
-
|
850
|
-
// el.setAttribute('aria-describedby', $(el).find('.error')[0].id);
|
851
|
-
parent.addClass(this.settings.error_class);
|
852
|
-
if (label.length > 0 && this.settings.error_labels) {
|
853
|
-
label.addClass(this.settings.error_class).attr('role', 'alert');
|
854
|
-
}
|
855
|
-
$(el).triggerHandler('invalid');
|
856
|
-
}
|
857
|
-
}
|
858
|
-
validations.push(el_validations[0]);
|
859
|
-
}
|
860
|
-
validations = [validations.every(function(valid){return valid;})];
|
861
|
-
return validations;
|
862
|
-
},
|
863
|
-
|
864
|
-
valid_checkbox : function(el, required) {
|
865
|
-
var el = this.S(el),
|
866
|
-
valid = (el.is(':checked') || !required);
|
867
|
-
|
868
|
-
if (valid) {
|
869
|
-
el.removeAttr(this.invalid_attr).parent().removeClass(this.settings.error_class);
|
870
|
-
} else {
|
871
|
-
el.attr(this.invalid_attr, '').parent().addClass(this.settings.error_class);
|
872
|
-
}
|
873
|
-
|
874
|
-
return valid;
|
875
|
-
},
|
876
|
-
|
877
|
-
valid_radio : function (el, required) {
|
878
|
-
var name = el.getAttribute('name'),
|
879
|
-
group = this.S(el).closest('[data-' + this.attr_name(true) + ']').find("[name='"+name+"']"),
|
880
|
-
count = group.length,
|
881
|
-
valid = false;
|
882
|
-
|
883
|
-
// Has to count up to make sure the focus gets applied to the top error
|
884
|
-
for (var i=0; i < count; i++) {
|
885
|
-
if (group[i].checked) valid = true;
|
886
|
-
}
|
887
|
-
|
888
|
-
// Has to count up to make sure the focus gets applied to the top error
|
889
|
-
for (var i=0; i < count; i++) {
|
890
|
-
if (valid) {
|
891
|
-
this.S(group[i]).removeAttr(this.invalid_attr).parent().removeClass(this.settings.error_class);
|
892
|
-
} else {
|
893
|
-
this.S(group[i]).attr(this.invalid_attr, '').parent().addClass(this.settings.error_class);
|
894
|
-
}
|
895
|
-
}
|
896
|
-
|
897
|
-
return valid;
|
898
|
-
},
|
899
|
-
|
900
|
-
valid_equal: function(el, required, parent) {
|
901
|
-
var from = document.getElementById(el.getAttribute(this.add_namespace('data-equalto'))).value,
|
902
|
-
to = el.value,
|
903
|
-
valid = (from === to);
|
904
|
-
|
905
|
-
if (valid) {
|
906
|
-
this.S(el).removeAttr(this.invalid_attr);
|
907
|
-
parent.removeClass(this.settings.error_class);
|
908
|
-
if (label.length > 0 && settings.error_labels) label.removeClass(this.settings.error_class);
|
909
|
-
} else {
|
910
|
-
this.S(el).attr(this.invalid_attr, '');
|
911
|
-
parent.addClass(this.settings.error_class);
|
912
|
-
if (label.length > 0 && settings.error_labels) label.addClass(this.settings.error_class);
|
913
|
-
}
|
914
|
-
|
915
|
-
return valid;
|
916
|
-
},
|
917
|
-
|
918
|
-
valid_oneof: function(el, required, parent, doNotValidateOthers) {
|
919
|
-
var el = this.S(el),
|
920
|
-
others = this.S('[' + this.add_namespace('data-oneof') + ']'),
|
921
|
-
valid = others.filter(':checked').length > 0;
|
922
|
-
|
923
|
-
if (valid) {
|
924
|
-
el.removeAttr(this.invalid_attr).parent().removeClass(this.settings.error_class);
|
925
|
-
} else {
|
926
|
-
el.attr(this.invalid_attr, '').parent().addClass(this.settings.error_class);
|
927
|
-
}
|
928
|
-
|
929
|
-
if (!doNotValidateOthers) {
|
930
|
-
var _this = this;
|
931
|
-
others.each(function() {
|
932
|
-
_this.valid_oneof.call(_this, this, null, null, true);
|
933
|
-
});
|
934
|
-
}
|
935
|
-
|
936
|
-
return valid;
|
937
|
-
}
|
938
|
-
};
|
939
|
-
}(jQuery, window, window.document));
|
940
|
-
;(function ($, window, document, undefined) {
|
941
|
-
'use strict';
|
942
|
-
|
943
|
-
Foundation.libs.equalizer = {
|
944
|
-
name : 'equalizer',
|
945
|
-
|
946
|
-
version : '5.4.7',
|
947
|
-
|
948
|
-
settings : {
|
949
|
-
use_tallest: true,
|
950
|
-
before_height_change: $.noop,
|
951
|
-
after_height_change: $.noop,
|
952
|
-
equalize_on_stack: false
|
953
|
-
},
|
954
|
-
|
955
|
-
init : function (scope, method, options) {
|
956
|
-
Foundation.inherit(this, 'image_loaded');
|
957
|
-
this.bindings(method, options);
|
958
|
-
this.reflow();
|
959
|
-
},
|
960
|
-
|
961
|
-
events : function () {
|
962
|
-
this.S(window).off('.equalizer').on('resize.fndtn.equalizer', function(e){
|
963
|
-
this.reflow();
|
964
|
-
}.bind(this));
|
965
|
-
},
|
966
|
-
|
967
|
-
equalize: function(equalizer) {
|
968
|
-
var isStacked = false,
|
969
|
-
vals = equalizer.find('[' + this.attr_name() + '-watch]:visible'),
|
970
|
-
settings = equalizer.data(this.attr_name(true)+'-init');
|
971
|
-
|
972
|
-
if (vals.length === 0) return;
|
973
|
-
var firstTopOffset = vals.first().offset().top;
|
974
|
-
settings.before_height_change();
|
975
|
-
equalizer.trigger('before-height-change').trigger('before-height-change.fndth.equalizer');
|
976
|
-
vals.height('inherit');
|
977
|
-
vals.each(function(){
|
978
|
-
var el = $(this);
|
979
|
-
if (el.offset().top !== firstTopOffset) {
|
980
|
-
isStacked = true;
|
981
|
-
}
|
982
|
-
});
|
983
|
-
|
984
|
-
if (settings.equalize_on_stack === false) {
|
985
|
-
if (isStacked) return;
|
986
|
-
};
|
987
|
-
|
988
|
-
var heights = vals.map(function(){ return $(this).outerHeight(false) }).get();
|
989
|
-
|
990
|
-
if (settings.use_tallest) {
|
991
|
-
var max = Math.max.apply(null, heights);
|
992
|
-
vals.css('height', max);
|
993
|
-
} else {
|
994
|
-
var min = Math.min.apply(null, heights);
|
995
|
-
vals.css('height', min);
|
996
|
-
}
|
997
|
-
settings.after_height_change();
|
998
|
-
equalizer.trigger('after-height-change').trigger('after-height-change.fndtn.equalizer');
|
999
|
-
},
|
1000
|
-
|
1001
|
-
reflow : function () {
|
1002
|
-
var self = this;
|
1003
|
-
|
1004
|
-
this.S('[' + this.attr_name() + ']', this.scope).each(function(){
|
1005
|
-
var $eq_target = $(this);
|
1006
|
-
self.image_loaded(self.S('img', this), function(){
|
1007
|
-
self.equalize($eq_target)
|
1008
|
-
});
|
1009
|
-
});
|
1010
|
-
}
|
1011
|
-
};
|
1012
|
-
})(jQuery, window, window.document);
|
1013
|
-
|
1014
|
-
;(function ($, window, document, undefined) {
|
1015
|
-
'use strict';
|
1016
|
-
|
1017
|
-
Foundation.libs.dropdown = {
|
1018
|
-
name : 'dropdown',
|
1019
|
-
|
1020
|
-
version : '5.4.7',
|
1021
|
-
|
1022
|
-
settings : {
|
1023
|
-
active_class: 'open',
|
1024
|
-
disabled_class: 'disabled',
|
1025
|
-
mega_class: 'mega',
|
1026
|
-
align: 'bottom',
|
1027
|
-
is_hover: false,
|
1028
|
-
opened: function(){},
|
1029
|
-
closed: function(){}
|
1030
|
-
},
|
1031
|
-
|
1032
|
-
init : function (scope, method, options) {
|
1033
|
-
Foundation.inherit(this, 'throttle');
|
1034
|
-
|
1035
|
-
this.bindings(method, options);
|
1036
|
-
},
|
1037
|
-
|
1038
|
-
events : function (scope) {
|
1039
|
-
var self = this,
|
1040
|
-
S = self.S;
|
1041
|
-
|
1042
|
-
S(this.scope)
|
1043
|
-
.off('.dropdown')
|
1044
|
-
.on('click.fndtn.dropdown', '[' + this.attr_name() + ']', function (e) {
|
1045
|
-
var settings = S(this).data(self.attr_name(true) + '-init') || self.settings;
|
1046
|
-
if (!settings.is_hover || Modernizr.touch) {
|
1047
|
-
e.preventDefault();
|
1048
|
-
self.toggle($(this));
|
1049
|
-
}
|
1050
|
-
})
|
1051
|
-
.on('mouseenter.fndtn.dropdown', '[' + this.attr_name() + '], [' + this.attr_name() + '-content]', function (e) {
|
1052
|
-
var $this = S(this),
|
1053
|
-
dropdown,
|
1054
|
-
target;
|
1055
|
-
|
1056
|
-
clearTimeout(self.timeout);
|
1057
|
-
|
1058
|
-
if ($this.data(self.data_attr())) {
|
1059
|
-
dropdown = S('#' + $this.data(self.data_attr()));
|
1060
|
-
target = $this;
|
1061
|
-
} else {
|
1062
|
-
dropdown = $this;
|
1063
|
-
target = S("[" + self.attr_name() + "='" + dropdown.attr('id') + "']");
|
1064
|
-
}
|
1065
|
-
|
1066
|
-
var settings = target.data(self.attr_name(true) + '-init') || self.settings;
|
1067
|
-
|
1068
|
-
if(S(e.target).data(self.data_attr()) && settings.is_hover) {
|
1069
|
-
self.closeall.call(self);
|
1070
|
-
}
|
1071
|
-
|
1072
|
-
if (settings.is_hover) self.open.apply(self, [dropdown, target]);
|
1073
|
-
})
|
1074
|
-
.on('mouseleave.fndtn.dropdown', '[' + this.attr_name() + '], [' + this.attr_name() + '-content]', function (e) {
|
1075
|
-
var $this = S(this);
|
1076
|
-
self.timeout = setTimeout(function () {
|
1077
|
-
if ($this.data(self.data_attr())) {
|
1078
|
-
var settings = $this.data(self.data_attr(true) + '-init') || self.settings;
|
1079
|
-
if (settings.is_hover) self.close.call(self, S('#' + $this.data(self.data_attr())));
|
1080
|
-
} else {
|
1081
|
-
var target = S('[' + self.attr_name() + '="' + S(this).attr('id') + '"]'),
|
1082
|
-
settings = target.data(self.attr_name(true) + '-init') || self.settings;
|
1083
|
-
if (settings.is_hover) self.close.call(self, $this);
|
1084
|
-
}
|
1085
|
-
}.bind(this), 150);
|
1086
|
-
})
|
1087
|
-
.on('click.fndtn.dropdown', function (e) {
|
1088
|
-
var parent = S(e.target).closest('[' + self.attr_name() + '-content]');
|
1089
|
-
|
1090
|
-
if (S(e.target).closest('[' + self.attr_name() + ']').length > 0) {
|
1091
|
-
return;
|
1092
|
-
}
|
1093
|
-
if (!(S(e.target).data('revealId')) &&
|
1094
|
-
(parent.length > 0 && (S(e.target).is('[' + self.attr_name() + '-content]') ||
|
1095
|
-
$.contains(parent.first()[0], e.target)))) {
|
1096
|
-
e.stopPropagation();
|
1097
|
-
return;
|
1098
|
-
}
|
1099
|
-
|
1100
|
-
self.close.call(self, S('[' + self.attr_name() + '-content]'));
|
1101
|
-
})
|
1102
|
-
.on('opened.fndtn.dropdown', '[' + self.attr_name() + '-content]', function () {
|
1103
|
-
self.settings.opened.call(this);
|
1104
|
-
})
|
1105
|
-
.on('closed.fndtn.dropdown', '[' + self.attr_name() + '-content]', function () {
|
1106
|
-
self.settings.closed.call(this);
|
1107
|
-
});
|
1108
|
-
|
1109
|
-
S(window)
|
1110
|
-
.off('.dropdown')
|
1111
|
-
.on('resize.fndtn.dropdown', self.throttle(function () {
|
1112
|
-
self.resize.call(self);
|
1113
|
-
}, 50));
|
1114
|
-
|
1115
|
-
this.resize();
|
1116
|
-
},
|
1117
|
-
|
1118
|
-
close: function (dropdown) {
|
1119
|
-
var self = this;
|
1120
|
-
dropdown.each(function () {
|
1121
|
-
var original_target = $('[' + self.attr_name() + '=' + dropdown[0].id + ']') || $('aria-controls=' + dropdown[0].id+ ']');
|
1122
|
-
original_target.attr('aria-expanded', "false");
|
1123
|
-
if (self.S(this).hasClass(self.settings.active_class)) {
|
1124
|
-
self.S(this)
|
1125
|
-
.css(Foundation.rtl ? 'right':'left', '-99999px')
|
1126
|
-
.attr('aria-hidden', "true")
|
1127
|
-
.removeClass(self.settings.active_class)
|
1128
|
-
.prev('[' + self.attr_name() + ']')
|
1129
|
-
.removeClass(self.settings.active_class)
|
1130
|
-
.removeData('target');
|
1131
|
-
|
1132
|
-
self.S(this).trigger('closed').trigger('closed.fndtn.dropdown', [dropdown]);
|
1133
|
-
}
|
1134
|
-
});
|
1135
|
-
},
|
1136
|
-
|
1137
|
-
closeall: function() {
|
1138
|
-
var self = this;
|
1139
|
-
$.each(self.S('[' + this.attr_name() + '-content]'), function() {
|
1140
|
-
self.close.call(self, self.S(this));
|
1141
|
-
});
|
1142
|
-
},
|
1143
|
-
|
1144
|
-
open: function (dropdown, target) {
|
1145
|
-
this
|
1146
|
-
.css(dropdown
|
1147
|
-
.addClass(this.settings.active_class), target);
|
1148
|
-
dropdown.prev('[' + this.attr_name() + ']').addClass(this.settings.active_class);
|
1149
|
-
dropdown.data('target', target.get(0)).trigger('opened').trigger('opened.fndtn.dropdown', [dropdown, target]);
|
1150
|
-
dropdown.attr('aria-hidden', 'false');
|
1151
|
-
target.attr('aria-expanded', 'true');
|
1152
|
-
dropdown.focus();
|
1153
|
-
},
|
1154
|
-
|
1155
|
-
data_attr: function () {
|
1156
|
-
if (this.namespace.length > 0) {
|
1157
|
-
return this.namespace + '-' + this.name;
|
1158
|
-
}
|
1159
|
-
|
1160
|
-
return this.name;
|
1161
|
-
},
|
1162
|
-
|
1163
|
-
toggle : function (target) {
|
1164
|
-
if (target.hasClass(this.settings.disabled_class)) {
|
1165
|
-
return;
|
1166
|
-
}
|
1167
|
-
var dropdown = this.S('#' + target.data(this.data_attr()));
|
1168
|
-
if (dropdown.length === 0) {
|
1169
|
-
// No dropdown found, not continuing
|
1170
|
-
return;
|
1171
|
-
}
|
1172
|
-
|
1173
|
-
this.close.call(this, this.S('[' + this.attr_name() + '-content]').not(dropdown));
|
1174
|
-
|
1175
|
-
if (dropdown.hasClass(this.settings.active_class)) {
|
1176
|
-
this.close.call(this, dropdown);
|
1177
|
-
if (dropdown.data('target') !== target.get(0))
|
1178
|
-
this.open.call(this, dropdown, target);
|
1179
|
-
} else {
|
1180
|
-
this.open.call(this, dropdown, target);
|
1181
|
-
}
|
1182
|
-
},
|
1183
|
-
|
1184
|
-
resize : function () {
|
1185
|
-
var dropdown = this.S('[' + this.attr_name() + '-content].open'),
|
1186
|
-
target = this.S("[" + this.attr_name() + "='" + dropdown.attr('id') + "']");
|
1187
|
-
|
1188
|
-
if (dropdown.length && target.length) {
|
1189
|
-
this.css(dropdown, target);
|
1190
|
-
}
|
1191
|
-
},
|
1192
|
-
|
1193
|
-
css : function (dropdown, target) {
|
1194
|
-
var left_offset = Math.max((target.width() - dropdown.width()) / 2, 8),
|
1195
|
-
settings = target.data(this.attr_name(true) + '-init') || this.settings;
|
1196
|
-
|
1197
|
-
this.clear_idx();
|
1198
|
-
|
1199
|
-
if (this.small()) {
|
1200
|
-
var p = this.dirs.bottom.call(dropdown, target, settings);
|
1201
|
-
|
1202
|
-
dropdown.attr('style', '').removeClass('drop-left drop-right drop-top').css({
|
1203
|
-
position : 'absolute',
|
1204
|
-
width: '95%',
|
1205
|
-
'max-width': 'none',
|
1206
|
-
top: p.top
|
1207
|
-
});
|
1208
|
-
|
1209
|
-
dropdown.css(Foundation.rtl ? 'right':'left', left_offset);
|
1210
|
-
} else {
|
1211
|
-
|
1212
|
-
this.style(dropdown, target, settings);
|
1213
|
-
}
|
1214
|
-
|
1215
|
-
return dropdown;
|
1216
|
-
},
|
1217
|
-
|
1218
|
-
style : function (dropdown, target, settings) {
|
1219
|
-
var css = $.extend({position: 'absolute'},
|
1220
|
-
this.dirs[settings.align].call(dropdown, target, settings));
|
1221
|
-
|
1222
|
-
dropdown.attr('style', '').css(css);
|
1223
|
-
},
|
1224
|
-
|
1225
|
-
// return CSS property object
|
1226
|
-
// `this` is the dropdown
|
1227
|
-
dirs : {
|
1228
|
-
// Calculate target offset
|
1229
|
-
_base : function (t) {
|
1230
|
-
var o_p = this.offsetParent(),
|
1231
|
-
o = o_p.offset(),
|
1232
|
-
p = t.offset();
|
1233
|
-
|
1234
|
-
p.top -= o.top;
|
1235
|
-
p.left -= o.left;
|
1236
|
-
|
1237
|
-
return p;
|
1238
|
-
},
|
1239
|
-
top: function (t, s) {
|
1240
|
-
var self = Foundation.libs.dropdown,
|
1241
|
-
p = self.dirs._base.call(this, t);
|
1242
|
-
|
1243
|
-
this.addClass('drop-top');
|
1244
|
-
|
1245
|
-
if (t.outerWidth() < this.outerWidth() || self.small() || this.hasClass(s.mega_menu)) {
|
1246
|
-
self.adjust_pip(this,t,s,p);
|
1247
|
-
}
|
1248
|
-
|
1249
|
-
if (Foundation.rtl) {
|
1250
|
-
return {left: p.left - this.outerWidth() + t.outerWidth(),
|
1251
|
-
top: p.top - this.outerHeight()};
|
1252
|
-
}
|
1253
|
-
|
1254
|
-
return {left: p.left, top: p.top - this.outerHeight()};
|
1255
|
-
},
|
1256
|
-
bottom: function (t,s) {
|
1257
|
-
var self = Foundation.libs.dropdown,
|
1258
|
-
p = self.dirs._base.call(this, t);
|
1259
|
-
|
1260
|
-
if (t.outerWidth() < this.outerWidth() || self.small() || this.hasClass(s.mega_menu)) {
|
1261
|
-
self.adjust_pip(this,t,s,p);
|
1262
|
-
}
|
1263
|
-
|
1264
|
-
if (self.rtl) {
|
1265
|
-
return {left: p.left - this.outerWidth() + t.outerWidth(), top: p.top + t.outerHeight()};
|
1266
|
-
}
|
1267
|
-
|
1268
|
-
return {left: p.left, top: p.top + t.outerHeight()};
|
1269
|
-
},
|
1270
|
-
left: function (t, s) {
|
1271
|
-
var p = Foundation.libs.dropdown.dirs._base.call(this, t);
|
1272
|
-
|
1273
|
-
this.addClass('drop-left');
|
1274
|
-
|
1275
|
-
return {left: p.left - this.outerWidth(), top: p.top};
|
1276
|
-
},
|
1277
|
-
right: function (t, s) {
|
1278
|
-
var p = Foundation.libs.dropdown.dirs._base.call(this, t);
|
1279
|
-
|
1280
|
-
this.addClass('drop-right');
|
1281
|
-
|
1282
|
-
return {left: p.left + t.outerWidth(), top: p.top};
|
1283
|
-
}
|
1284
|
-
},
|
1285
|
-
|
1286
|
-
// Insert rule to style psuedo elements
|
1287
|
-
adjust_pip : function (dropdown,target,settings,position) {
|
1288
|
-
var sheet = Foundation.stylesheet,
|
1289
|
-
pip_offset_base = 8;
|
1290
|
-
|
1291
|
-
if (dropdown.hasClass(settings.mega_class)) {
|
1292
|
-
pip_offset_base = position.left + (target.outerWidth()/2) - 8;
|
1293
|
-
}
|
1294
|
-
else if (this.small()) {
|
1295
|
-
pip_offset_base += position.left - 8;
|
1296
|
-
}
|
1297
|
-
|
1298
|
-
this.rule_idx = sheet.cssRules.length;
|
1299
|
-
|
1300
|
-
var sel_before = '.f-dropdown.open:before',
|
1301
|
-
sel_after = '.f-dropdown.open:after',
|
1302
|
-
css_before = 'left: ' + pip_offset_base + 'px;',
|
1303
|
-
css_after = 'left: ' + (pip_offset_base - 1) + 'px;';
|
1304
|
-
|
1305
|
-
if (sheet.insertRule) {
|
1306
|
-
sheet.insertRule([sel_before, '{', css_before, '}'].join(' '), this.rule_idx);
|
1307
|
-
sheet.insertRule([sel_after, '{', css_after, '}'].join(' '), this.rule_idx + 1);
|
1308
|
-
} else {
|
1309
|
-
sheet.addRule(sel_before, css_before, this.rule_idx);
|
1310
|
-
sheet.addRule(sel_after, css_after, this.rule_idx + 1);
|
1311
|
-
}
|
1312
|
-
},
|
1313
|
-
|
1314
|
-
// Remove old dropdown rule index
|
1315
|
-
clear_idx : function () {
|
1316
|
-
var sheet = Foundation.stylesheet;
|
1317
|
-
|
1318
|
-
if (typeof this.rule_idx !== 'undefined') {
|
1319
|
-
sheet.deleteRule(this.rule_idx);
|
1320
|
-
sheet.deleteRule(this.rule_idx);
|
1321
|
-
delete this.rule_idx;
|
1322
|
-
}
|
1323
|
-
},
|
1324
|
-
|
1325
|
-
small : function () {
|
1326
|
-
return matchMedia(Foundation.media_queries.small).matches &&
|
1327
|
-
!matchMedia(Foundation.media_queries.medium).matches;
|
1328
|
-
},
|
1329
|
-
|
1330
|
-
off: function () {
|
1331
|
-
this.S(this.scope).off('.fndtn.dropdown');
|
1332
|
-
this.S('html, body').off('.fndtn.dropdown');
|
1333
|
-
this.S(window).off('.fndtn.dropdown');
|
1334
|
-
this.S('[data-dropdown-content]').off('.fndtn.dropdown');
|
1335
|
-
},
|
1336
|
-
|
1337
|
-
reflow : function () {}
|
1338
|
-
};
|
1339
|
-
}(jQuery, window, window.document));
|
1340
|
-
;(function ($, window, document, undefined) {
|
1341
|
-
'use strict';
|
1342
|
-
|
1343
|
-
Foundation.libs.accordion = {
|
1344
|
-
name : 'accordion',
|
1345
|
-
|
1346
|
-
version : '5.4.7',
|
1347
|
-
|
1348
|
-
settings : {
|
1349
|
-
content_class: 'content',
|
1350
|
-
active_class: 'active',
|
1351
|
-
multi_expand: false,
|
1352
|
-
toggleable: true,
|
1353
|
-
callback : function () {}
|
1354
|
-
},
|
1355
|
-
|
1356
|
-
init : function (scope, method, options) {
|
1357
|
-
this.bindings(method, options);
|
1358
|
-
},
|
1359
|
-
|
1360
|
-
events : function () {
|
1361
|
-
var self = this;
|
1362
|
-
var S = this.S;
|
1363
|
-
S(this.scope)
|
1364
|
-
.off('.fndtn.accordion')
|
1365
|
-
.on('click.fndtn.accordion', '[' + this.attr_name() + '] > dd > a', function (e) {
|
1366
|
-
var accordion = S(this).closest('[' + self.attr_name() + ']'),
|
1367
|
-
groupSelector = self.attr_name() + '=' + accordion.attr(self.attr_name()),
|
1368
|
-
settings = accordion.data(self.attr_name(true) + '-init'),
|
1369
|
-
target = S('#' + this.href.split('#')[1]),
|
1370
|
-
aunts = $('> dd', accordion),
|
1371
|
-
siblings = aunts.children('.'+settings.content_class),
|
1372
|
-
active_content = siblings.filter('.' + settings.active_class);
|
1373
|
-
e.preventDefault();
|
1374
|
-
|
1375
|
-
if (accordion.attr(self.attr_name())) {
|
1376
|
-
siblings = siblings.add('[' + groupSelector + '] dd > .'+settings.content_class);
|
1377
|
-
aunts = aunts.add('[' + groupSelector + '] dd');
|
1378
|
-
}
|
1379
|
-
|
1380
|
-
if (settings.toggleable && target.is(active_content)) {
|
1381
|
-
target.parent('dd').toggleClass(settings.active_class, false);
|
1382
|
-
target.toggleClass(settings.active_class, false);
|
1383
|
-
settings.callback(target);
|
1384
|
-
target.triggerHandler('toggled', [accordion]);
|
1385
|
-
accordion.triggerHandler('toggled', [target]);
|
1386
|
-
return;
|
1387
|
-
}
|
1388
|
-
|
1389
|
-
if (!settings.multi_expand) {
|
1390
|
-
siblings.removeClass(settings.active_class);
|
1391
|
-
aunts.removeClass(settings.active_class);
|
1392
|
-
}
|
1393
|
-
|
1394
|
-
target.addClass(settings.active_class).parent().addClass(settings.active_class);
|
1395
|
-
settings.callback(target);
|
1396
|
-
target.triggerHandler('toggled', [accordion]);
|
1397
|
-
accordion.triggerHandler('toggled', [target]);
|
1398
|
-
});
|
1399
|
-
},
|
1400
|
-
|
1401
|
-
off : function () {},
|
1402
|
-
|
1403
|
-
reflow : function () {}
|
1404
|
-
};
|
1405
|
-
}(jQuery, window, window.document));
|
1406
|
-
;(function ($, window, document, undefined) {
|
1407
|
-
'use strict';
|
1408
|
-
|
1409
|
-
Foundation.libs.alert = {
|
1410
|
-
name : 'alert',
|
1411
|
-
|
1412
|
-
version : '5.4.7',
|
1413
|
-
|
1414
|
-
settings : {
|
1415
|
-
callback: function (){}
|
1416
|
-
},
|
1417
|
-
|
1418
|
-
init : function (scope, method, options) {
|
1419
|
-
this.bindings(method, options);
|
1420
|
-
},
|
1421
|
-
|
1422
|
-
events : function () {
|
1423
|
-
var self = this,
|
1424
|
-
S = this.S;
|
1425
|
-
|
1426
|
-
$(this.scope).off('.alert').on('click.fndtn.alert', '[' + this.attr_name() + '] .close', function (e) {
|
1427
|
-
var alertBox = S(this).closest('[' + self.attr_name() + ']'),
|
1428
|
-
settings = alertBox.data(self.attr_name(true) + '-init') || self.settings;
|
1429
|
-
|
1430
|
-
e.preventDefault();
|
1431
|
-
if (Modernizr.csstransitions) {
|
1432
|
-
alertBox.addClass("alert-close");
|
1433
|
-
alertBox.on('transitionend webkitTransitionEnd oTransitionEnd', function(e) {
|
1434
|
-
S(this).trigger('close').trigger('close.fndtn.alert').remove();
|
1435
|
-
settings.callback();
|
1436
|
-
});
|
1437
|
-
} else {
|
1438
|
-
alertBox.fadeOut(300, function () {
|
1439
|
-
S(this).trigger('close').trigger('close.fndtn.alert').remove();
|
1440
|
-
settings.callback();
|
1441
|
-
});
|
1442
|
-
}
|
1443
|
-
});
|
1444
|
-
},
|
1445
|
-
|
1446
|
-
reflow : function () {}
|
1447
|
-
};
|
1448
|
-
}(jQuery, window, window.document));
|
1449
|
-
;(function ($, window, document, undefined) {
|
1450
|
-
'use strict';
|
1451
|
-
|
1452
|
-
Foundation.libs.clearing = {
|
1453
|
-
name : 'clearing',
|
1454
|
-
|
1455
|
-
version: '5.4.7',
|
1456
|
-
|
1457
|
-
settings : {
|
1458
|
-
templates : {
|
1459
|
-
viewing : '<a href="#" class="clearing-close">×</a>' +
|
1460
|
-
'<div class="visible-img" style="display: none"><div class="clearing-touch-label"></div><img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs%3D" alt="" />' +
|
1461
|
-
'<p class="clearing-caption"></p><a href="#" class="clearing-main-prev"><span></span></a>' +
|
1462
|
-
'<a href="#" class="clearing-main-next"><span></span></a></div>'
|
1463
|
-
},
|
1464
|
-
|
1465
|
-
// comma delimited list of selectors that, on click, will close clearing,
|
1466
|
-
// add 'div.clearing-blackout, div.visible-img' to close on background click
|
1467
|
-
close_selectors : '.clearing-close, div.clearing-blackout',
|
1468
|
-
|
1469
|
-
// Default to the entire li element.
|
1470
|
-
open_selectors : '',
|
1471
|
-
|
1472
|
-
// Image will be skipped in carousel.
|
1473
|
-
skip_selector : '',
|
1474
|
-
|
1475
|
-
touch_label : '',
|
1476
|
-
|
1477
|
-
// event initializers and locks
|
1478
|
-
init : false,
|
1479
|
-
locked : false
|
1480
|
-
},
|
1481
|
-
|
1482
|
-
init : function (scope, method, options) {
|
1483
|
-
var self = this;
|
1484
|
-
Foundation.inherit(this, 'throttle image_loaded');
|
1485
|
-
|
1486
|
-
this.bindings(method, options);
|
1487
|
-
|
1488
|
-
if (self.S(this.scope).is('[' + this.attr_name() + ']')) {
|
1489
|
-
this.assemble(self.S('li', this.scope));
|
1490
|
-
} else {
|
1491
|
-
self.S('[' + this.attr_name() + ']', this.scope).each(function () {
|
1492
|
-
self.assemble(self.S('li', this));
|
1493
|
-
});
|
1494
|
-
}
|
1495
|
-
},
|
1496
|
-
|
1497
|
-
events : function (scope) {
|
1498
|
-
var self = this,
|
1499
|
-
S = self.S,
|
1500
|
-
$scroll_container = $('.scroll-container');
|
1501
|
-
|
1502
|
-
if ($scroll_container.length > 0) {
|
1503
|
-
this.scope = $scroll_container;
|
1504
|
-
}
|
1505
|
-
|
1506
|
-
S(this.scope)
|
1507
|
-
.off('.clearing')
|
1508
|
-
.on('click.fndtn.clearing', 'ul[' + this.attr_name() + '] li ' + this.settings.open_selectors,
|
1509
|
-
function (e, current, target) {
|
1510
|
-
var current = current || S(this),
|
1511
|
-
target = target || current,
|
1512
|
-
next = current.next('li'),
|
1513
|
-
settings = current.closest('[' + self.attr_name() + ']').data(self.attr_name(true) + '-init'),
|
1514
|
-
image = S(e.target);
|
1515
|
-
|
1516
|
-
e.preventDefault();
|
1517
|
-
|
1518
|
-
if (!settings) {
|
1519
|
-
self.init();
|
1520
|
-
settings = current.closest('[' + self.attr_name() + ']').data(self.attr_name(true) + '-init');
|
1521
|
-
}
|
1522
|
-
|
1523
|
-
// if clearing is open and the current image is
|
1524
|
-
// clicked, go to the next image in sequence
|
1525
|
-
if (target.hasClass('visible') &&
|
1526
|
-
current[0] === target[0] &&
|
1527
|
-
next.length > 0 && self.is_open(current)) {
|
1528
|
-
target = next;
|
1529
|
-
image = S('img', target);
|
1530
|
-
}
|
1531
|
-
|
1532
|
-
// set current and target to the clicked li if not otherwise defined.
|
1533
|
-
self.open(image, current, target);
|
1534
|
-
self.update_paddles(target);
|
1535
|
-
})
|
1536
|
-
|
1537
|
-
.on('click.fndtn.clearing', '.clearing-main-next',
|
1538
|
-
function (e) { self.nav(e, 'next') })
|
1539
|
-
.on('click.fndtn.clearing', '.clearing-main-prev',
|
1540
|
-
function (e) { self.nav(e, 'prev') })
|
1541
|
-
.on('click.fndtn.clearing', this.settings.close_selectors,
|
1542
|
-
function (e) { Foundation.libs.clearing.close(e, this) });
|
1543
|
-
|
1544
|
-
$(document).on('keydown.fndtn.clearing',
|
1545
|
-
function (e) { self.keydown(e) });
|
1546
|
-
|
1547
|
-
S(window).off('.clearing').on('resize.fndtn.clearing',
|
1548
|
-
function () { self.resize() });
|
1549
|
-
|
1550
|
-
this.swipe_events(scope);
|
1551
|
-
},
|
1552
|
-
|
1553
|
-
swipe_events : function (scope) {
|
1554
|
-
var self = this,
|
1555
|
-
S = self.S;
|
1556
|
-
|
1557
|
-
S(this.scope)
|
1558
|
-
.on('touchstart.fndtn.clearing', '.visible-img', function(e) {
|
1559
|
-
if (!e.touches) { e = e.originalEvent; }
|
1560
|
-
var data = {
|
1561
|
-
start_page_x: e.touches[0].pageX,
|
1562
|
-
start_page_y: e.touches[0].pageY,
|
1563
|
-
start_time: (new Date()).getTime(),
|
1564
|
-
delta_x: 0,
|
1565
|
-
is_scrolling: undefined
|
1566
|
-
};
|
1567
|
-
|
1568
|
-
S(this).data('swipe-transition', data);
|
1569
|
-
e.stopPropagation();
|
1570
|
-
})
|
1571
|
-
.on('touchmove.fndtn.clearing', '.visible-img', function(e) {
|
1572
|
-
if (!e.touches) { e = e.originalEvent; }
|
1573
|
-
// Ignore pinch/zoom events
|
1574
|
-
if(e.touches.length > 1 || e.scale && e.scale !== 1) return;
|
1575
|
-
|
1576
|
-
var data = S(this).data('swipe-transition');
|
1577
|
-
|
1578
|
-
if (typeof data === 'undefined') {
|
1579
|
-
data = {};
|
1580
|
-
}
|
1581
|
-
|
1582
|
-
data.delta_x = e.touches[0].pageX - data.start_page_x;
|
1583
|
-
|
1584
|
-
if (Foundation.rtl) {
|
1585
|
-
data.delta_x = -data.delta_x;
|
1586
|
-
}
|
1587
|
-
|
1588
|
-
if (typeof data.is_scrolling === 'undefined') {
|
1589
|
-
data.is_scrolling = !!( data.is_scrolling || Math.abs(data.delta_x) < Math.abs(e.touches[0].pageY - data.start_page_y) );
|
1590
|
-
}
|
1591
|
-
|
1592
|
-
if (!data.is_scrolling && !data.active) {
|
1593
|
-
e.preventDefault();
|
1594
|
-
var direction = (data.delta_x < 0) ? 'next' : 'prev';
|
1595
|
-
data.active = true;
|
1596
|
-
self.nav(e, direction);
|
1597
|
-
}
|
1598
|
-
})
|
1599
|
-
.on('touchend.fndtn.clearing', '.visible-img', function(e) {
|
1600
|
-
S(this).data('swipe-transition', {});
|
1601
|
-
e.stopPropagation();
|
1602
|
-
});
|
1603
|
-
},
|
1604
|
-
|
1605
|
-
assemble : function ($li) {
|
1606
|
-
var $el = $li.parent();
|
1607
|
-
|
1608
|
-
if ($el.parent().hasClass('carousel')) {
|
1609
|
-
return;
|
1610
|
-
}
|
1611
|
-
|
1612
|
-
$el.after('<div id="foundationClearingHolder"></div>');
|
1613
|
-
|
1614
|
-
var grid = $el.detach(),
|
1615
|
-
grid_outerHTML = '';
|
1616
|
-
|
1617
|
-
if (grid[0] == null) {
|
1618
|
-
return;
|
1619
|
-
} else {
|
1620
|
-
grid_outerHTML = grid[0].outerHTML;
|
1621
|
-
}
|
1622
|
-
|
1623
|
-
var holder = this.S('#foundationClearingHolder'),
|
1624
|
-
settings = $el.data(this.attr_name(true) + '-init'),
|
1625
|
-
data = {
|
1626
|
-
grid: '<div class="carousel">' + grid_outerHTML + '</div>',
|
1627
|
-
viewing: settings.templates.viewing
|
1628
|
-
},
|
1629
|
-
wrapper = '<div class="clearing-assembled"><div>' + data.viewing +
|
1630
|
-
data.grid + '</div></div>',
|
1631
|
-
touch_label = this.settings.touch_label;
|
1632
|
-
|
1633
|
-
if (Modernizr.touch) {
|
1634
|
-
wrapper = $(wrapper).find('.clearing-touch-label').html(touch_label).end();
|
1635
|
-
}
|
1636
|
-
|
1637
|
-
holder.after(wrapper).remove();
|
1638
|
-
},
|
1639
|
-
|
1640
|
-
open : function ($image, current, target) {
|
1641
|
-
var self = this,
|
1642
|
-
body = $(document.body),
|
1643
|
-
root = target.closest('.clearing-assembled'),
|
1644
|
-
container = self.S('div', root).first(),
|
1645
|
-
visible_image = self.S('.visible-img', container),
|
1646
|
-
image = self.S('img', visible_image).not($image),
|
1647
|
-
label = self.S('.clearing-touch-label', container),
|
1648
|
-
error = false;
|
1649
|
-
|
1650
|
-
// Event to disable scrolling on touch devices when Clearing is activated
|
1651
|
-
$('body').on('touchmove',function(e){
|
1652
|
-
e.preventDefault();
|
1653
|
-
});
|
1654
|
-
|
1655
|
-
image.error(function () {
|
1656
|
-
error = true;
|
1657
|
-
});
|
1658
|
-
|
1659
|
-
function startLoad() {
|
1660
|
-
setTimeout(function () {
|
1661
|
-
this.image_loaded(image, function () {
|
1662
|
-
if (image.outerWidth() === 1 && !error) {
|
1663
|
-
startLoad.call(this);
|
1664
|
-
} else {
|
1665
|
-
cb.call(this, image);
|
1666
|
-
}
|
1667
|
-
}.bind(this));
|
1668
|
-
}.bind(this), 100);
|
1669
|
-
}
|
1670
|
-
|
1671
|
-
function cb (image) {
|
1672
|
-
var $image = $(image);
|
1673
|
-
$image.css('visibility', 'visible');
|
1674
|
-
// toggle the gallery
|
1675
|
-
body.css('overflow', 'hidden');
|
1676
|
-
root.addClass('clearing-blackout');
|
1677
|
-
container.addClass('clearing-container');
|
1678
|
-
visible_image.show();
|
1679
|
-
this.fix_height(target)
|
1680
|
-
.caption(self.S('.clearing-caption', visible_image), self.S('img', target))
|
1681
|
-
.center_and_label(image, label)
|
1682
|
-
.shift(current, target, function () {
|
1683
|
-
target.closest('li').siblings().removeClass('visible');
|
1684
|
-
target.closest('li').addClass('visible');
|
1685
|
-
});
|
1686
|
-
visible_image.trigger('opened.fndtn.clearing')
|
1687
|
-
}
|
1688
|
-
|
1689
|
-
if (!this.locked()) {
|
1690
|
-
visible_image.trigger('open.fndtn.clearing');
|
1691
|
-
// set the image to the selected thumbnail
|
1692
|
-
image
|
1693
|
-
.attr('src', this.load($image))
|
1694
|
-
.css('visibility', 'hidden');
|
1695
|
-
|
1696
|
-
startLoad.call(this);
|
1697
|
-
}
|
1698
|
-
},
|
1699
|
-
|
1700
|
-
close : function (e, el) {
|
1701
|
-
e.preventDefault();
|
1702
|
-
|
1703
|
-
var root = (function (target) {
|
1704
|
-
if (/blackout/.test(target.selector)) {
|
1705
|
-
return target;
|
1706
|
-
} else {
|
1707
|
-
return target.closest('.clearing-blackout');
|
1708
|
-
}
|
1709
|
-
}($(el))),
|
1710
|
-
body = $(document.body), container, visible_image;
|
1711
|
-
|
1712
|
-
if (el === e.target && root) {
|
1713
|
-
body.css('overflow', '');
|
1714
|
-
container = $('div', root).first();
|
1715
|
-
visible_image = $('.visible-img', container);
|
1716
|
-
visible_image.trigger('close.fndtn.clearing');
|
1717
|
-
this.settings.prev_index = 0;
|
1718
|
-
$('ul[' + this.attr_name() + ']', root)
|
1719
|
-
.attr('style', '').closest('.clearing-blackout')
|
1720
|
-
.removeClass('clearing-blackout');
|
1721
|
-
container.removeClass('clearing-container');
|
1722
|
-
visible_image.hide();
|
1723
|
-
visible_image.trigger('closed.fndtn.clearing');
|
1724
|
-
}
|
1725
|
-
|
1726
|
-
// Event to re-enable scrolling on touch devices
|
1727
|
-
$('body').off('touchmove');
|
1728
|
-
|
1729
|
-
return false;
|
1730
|
-
},
|
1731
|
-
|
1732
|
-
is_open : function (current) {
|
1733
|
-
return current.parent().prop('style').length > 0;
|
1734
|
-
},
|
1735
|
-
|
1736
|
-
keydown : function (e) {
|
1737
|
-
var clearing = $('.clearing-blackout ul[' + this.attr_name() + ']'),
|
1738
|
-
NEXT_KEY = this.rtl ? 37 : 39,
|
1739
|
-
PREV_KEY = this.rtl ? 39 : 37,
|
1740
|
-
ESC_KEY = 27;
|
1741
|
-
|
1742
|
-
if (e.which === NEXT_KEY) this.go(clearing, 'next');
|
1743
|
-
if (e.which === PREV_KEY) this.go(clearing, 'prev');
|
1744
|
-
if (e.which === ESC_KEY) this.S('a.clearing-close').trigger('click').trigger('click.fndtn.clearing');
|
1745
|
-
},
|
1746
|
-
|
1747
|
-
nav : function (e, direction) {
|
1748
|
-
var clearing = $('ul[' + this.attr_name() + ']', '.clearing-blackout');
|
1749
|
-
|
1750
|
-
e.preventDefault();
|
1751
|
-
this.go(clearing, direction);
|
1752
|
-
},
|
1753
|
-
|
1754
|
-
resize : function () {
|
1755
|
-
var image = $('img', '.clearing-blackout .visible-img'),
|
1756
|
-
label = $('.clearing-touch-label', '.clearing-blackout');
|
1757
|
-
|
1758
|
-
if (image.length) {
|
1759
|
-
this.center_and_label(image, label);
|
1760
|
-
image.trigger('resized.fndtn.clearing')
|
1761
|
-
}
|
1762
|
-
},
|
1763
|
-
|
1764
|
-
// visual adjustments
|
1765
|
-
fix_height : function (target) {
|
1766
|
-
var lis = target.parent().children(),
|
1767
|
-
self = this;
|
1768
|
-
|
1769
|
-
lis.each(function () {
|
1770
|
-
var li = self.S(this),
|
1771
|
-
image = li.find('img');
|
1772
|
-
|
1773
|
-
if (li.height() > image.outerHeight()) {
|
1774
|
-
li.addClass('fix-height');
|
1775
|
-
}
|
1776
|
-
})
|
1777
|
-
.closest('ul')
|
1778
|
-
.width(lis.length * 100 + '%');
|
1779
|
-
|
1780
|
-
return this;
|
1781
|
-
},
|
1782
|
-
|
1783
|
-
update_paddles : function (target) {
|
1784
|
-
target = target.closest('li');
|
1785
|
-
var visible_image = target
|
1786
|
-
.closest('.carousel')
|
1787
|
-
.siblings('.visible-img');
|
1788
|
-
|
1789
|
-
if (target.next().length > 0) {
|
1790
|
-
this.S('.clearing-main-next', visible_image).removeClass('disabled');
|
1791
|
-
} else {
|
1792
|
-
this.S('.clearing-main-next', visible_image).addClass('disabled');
|
1793
|
-
}
|
1794
|
-
|
1795
|
-
if (target.prev().length > 0) {
|
1796
|
-
this.S('.clearing-main-prev', visible_image).removeClass('disabled');
|
1797
|
-
} else {
|
1798
|
-
this.S('.clearing-main-prev', visible_image).addClass('disabled');
|
1799
|
-
}
|
1800
|
-
},
|
1801
|
-
|
1802
|
-
center_and_label : function (target, label) {
|
1803
|
-
if (!this.rtl) {
|
1804
|
-
target.css({
|
1805
|
-
marginLeft : -(target.outerWidth() / 2),
|
1806
|
-
marginTop : -(target.outerHeight() / 2)
|
1807
|
-
});
|
1808
|
-
|
1809
|
-
if (label.length > 0) {
|
1810
|
-
label.css({
|
1811
|
-
marginLeft : -(label.outerWidth() / 2),
|
1812
|
-
marginTop : -(target.outerHeight() / 2)-label.outerHeight()-10
|
1813
|
-
});
|
1814
|
-
}
|
1815
|
-
} else {
|
1816
|
-
target.css({
|
1817
|
-
marginRight : -(target.outerWidth() / 2),
|
1818
|
-
marginTop : -(target.outerHeight() / 2),
|
1819
|
-
left: 'auto',
|
1820
|
-
right: '50%'
|
1821
|
-
});
|
1822
|
-
|
1823
|
-
if (label.length > 0) {
|
1824
|
-
label.css({
|
1825
|
-
marginRight : -(label.outerWidth() / 2),
|
1826
|
-
marginTop : -(target.outerHeight() / 2)-label.outerHeight()-10,
|
1827
|
-
left: 'auto',
|
1828
|
-
right: '50%'
|
1829
|
-
});
|
1830
|
-
}
|
1831
|
-
}
|
1832
|
-
return this;
|
1833
|
-
},
|
1834
|
-
|
1835
|
-
// image loading and preloading
|
1836
|
-
|
1837
|
-
load : function ($image) {
|
1838
|
-
var href;
|
1839
|
-
|
1840
|
-
if ($image[0].nodeName === "A") {
|
1841
|
-
href = $image.attr('href');
|
1842
|
-
} else {
|
1843
|
-
href = $image.parent().attr('href');
|
1844
|
-
}
|
1845
|
-
|
1846
|
-
this.preload($image);
|
1847
|
-
|
1848
|
-
if (href) return href;
|
1849
|
-
return $image.attr('src');
|
1850
|
-
},
|
1851
|
-
|
1852
|
-
preload : function ($image) {
|
1853
|
-
this
|
1854
|
-
.img($image.closest('li').next())
|
1855
|
-
.img($image.closest('li').prev());
|
1856
|
-
},
|
1857
|
-
|
1858
|
-
img : function (img) {
|
1859
|
-
if (img.length) {
|
1860
|
-
var new_img = new Image(),
|
1861
|
-
new_a = this.S('a', img);
|
1862
|
-
|
1863
|
-
if (new_a.length) {
|
1864
|
-
new_img.src = new_a.attr('href');
|
1865
|
-
} else {
|
1866
|
-
new_img.src = this.S('img', img).attr('src');
|
1867
|
-
}
|
1868
|
-
}
|
1869
|
-
return this;
|
1870
|
-
},
|
1871
|
-
|
1872
|
-
// image caption
|
1873
|
-
|
1874
|
-
caption : function (container, $image) {
|
1875
|
-
var caption = $image.attr('data-caption');
|
1876
|
-
|
1877
|
-
if (caption) {
|
1878
|
-
container
|
1879
|
-
.html(caption)
|
1880
|
-
.show();
|
1881
|
-
} else {
|
1882
|
-
container
|
1883
|
-
.text('')
|
1884
|
-
.hide();
|
1885
|
-
}
|
1886
|
-
return this;
|
1887
|
-
},
|
1888
|
-
|
1889
|
-
// directional methods
|
1890
|
-
|
1891
|
-
go : function ($ul, direction) {
|
1892
|
-
var current = this.S('.visible', $ul),
|
1893
|
-
target = current[direction]();
|
1894
|
-
|
1895
|
-
// Check for skip selector.
|
1896
|
-
if (this.settings.skip_selector && target.find(this.settings.skip_selector).length != 0) {
|
1897
|
-
target = target[direction]();
|
1898
|
-
}
|
1899
|
-
|
1900
|
-
if (target.length) {
|
1901
|
-
this.S('img', target)
|
1902
|
-
.trigger('click', [current, target]).trigger('click.fndtn.clearing', [current, target])
|
1903
|
-
.trigger('change.fndtn.clearing');
|
1904
|
-
}
|
1905
|
-
},
|
1906
|
-
|
1907
|
-
shift : function (current, target, callback) {
|
1908
|
-
var clearing = target.parent(),
|
1909
|
-
old_index = this.settings.prev_index || target.index(),
|
1910
|
-
direction = this.direction(clearing, current, target),
|
1911
|
-
dir = this.rtl ? 'right' : 'left',
|
1912
|
-
left = parseInt(clearing.css('left'), 10),
|
1913
|
-
width = target.outerWidth(),
|
1914
|
-
skip_shift;
|
1915
|
-
|
1916
|
-
var dir_obj = {};
|
1917
|
-
|
1918
|
-
// we use jQuery animate instead of CSS transitions because we
|
1919
|
-
// need a callback to unlock the next animation
|
1920
|
-
// needs support for RTL **
|
1921
|
-
if (target.index() !== old_index && !/skip/.test(direction)){
|
1922
|
-
if (/left/.test(direction)) {
|
1923
|
-
this.lock();
|
1924
|
-
dir_obj[dir] = left + width;
|
1925
|
-
clearing.animate(dir_obj, 300, this.unlock());
|
1926
|
-
} else if (/right/.test(direction)) {
|
1927
|
-
this.lock();
|
1928
|
-
dir_obj[dir] = left - width;
|
1929
|
-
clearing.animate(dir_obj, 300, this.unlock());
|
1930
|
-
}
|
1931
|
-
} else if (/skip/.test(direction)) {
|
1932
|
-
// the target image is not adjacent to the current image, so
|
1933
|
-
// do we scroll right or not
|
1934
|
-
skip_shift = target.index() - this.settings.up_count;
|
1935
|
-
this.lock();
|
1936
|
-
|
1937
|
-
if (skip_shift > 0) {
|
1938
|
-
dir_obj[dir] = -(skip_shift * width);
|
1939
|
-
clearing.animate(dir_obj, 300, this.unlock());
|
1940
|
-
} else {
|
1941
|
-
dir_obj[dir] = 0;
|
1942
|
-
clearing.animate(dir_obj, 300, this.unlock());
|
1943
|
-
}
|
1944
|
-
}
|
1945
|
-
|
1946
|
-
callback();
|
1947
|
-
},
|
1948
|
-
|
1949
|
-
direction : function ($el, current, target) {
|
1950
|
-
var lis = this.S('li', $el),
|
1951
|
-
li_width = lis.outerWidth() + (lis.outerWidth() / 4),
|
1952
|
-
up_count = Math.floor(this.S('.clearing-container').outerWidth() / li_width) - 1,
|
1953
|
-
target_index = lis.index(target),
|
1954
|
-
response;
|
1955
|
-
|
1956
|
-
this.settings.up_count = up_count;
|
1957
|
-
|
1958
|
-
if (this.adjacent(this.settings.prev_index, target_index)) {
|
1959
|
-
if ((target_index > up_count) && target_index > this.settings.prev_index) {
|
1960
|
-
response = 'right';
|
1961
|
-
} else if ((target_index > up_count - 1) && target_index <= this.settings.prev_index) {
|
1962
|
-
response = 'left';
|
1963
|
-
} else {
|
1964
|
-
response = false;
|
1965
|
-
}
|
1966
|
-
} else {
|
1967
|
-
response = 'skip';
|
1968
|
-
}
|
1969
|
-
|
1970
|
-
this.settings.prev_index = target_index;
|
1971
|
-
|
1972
|
-
return response;
|
1973
|
-
},
|
1974
|
-
|
1975
|
-
adjacent : function (current_index, target_index) {
|
1976
|
-
for (var i = target_index + 1; i >= target_index - 1; i--) {
|
1977
|
-
if (i === current_index) return true;
|
1978
|
-
}
|
1979
|
-
return false;
|
1980
|
-
},
|
1981
|
-
|
1982
|
-
// lock management
|
1983
|
-
|
1984
|
-
lock : function () {
|
1985
|
-
this.settings.locked = true;
|
1986
|
-
},
|
1987
|
-
|
1988
|
-
unlock : function () {
|
1989
|
-
this.settings.locked = false;
|
1990
|
-
},
|
1991
|
-
|
1992
|
-
locked : function () {
|
1993
|
-
return this.settings.locked;
|
1994
|
-
},
|
1995
|
-
|
1996
|
-
off : function () {
|
1997
|
-
this.S(this.scope).off('.fndtn.clearing');
|
1998
|
-
this.S(window).off('.fndtn.clearing');
|
1999
|
-
},
|
2000
|
-
|
2001
|
-
reflow : function () {
|
2002
|
-
this.init();
|
2003
|
-
}
|
2004
|
-
};
|
2005
|
-
|
2006
|
-
}(jQuery, window, window.document));
|
2007
|
-
;(function ($, window, document, undefined) {
|
2008
|
-
'use strict';
|
2009
|
-
|
2010
|
-
Foundation.libs.reveal = {
|
2011
|
-
name : 'reveal',
|
2012
|
-
|
2013
|
-
version : '5.4.7',
|
2014
|
-
|
2015
|
-
locked : false,
|
2016
|
-
|
2017
|
-
settings : {
|
2018
|
-
animation: 'fadeAndPop',
|
2019
|
-
animation_speed: 250,
|
2020
|
-
close_on_background_click: true,
|
2021
|
-
close_on_esc: true,
|
2022
|
-
dismiss_modal_class: 'close-reveal-modal',
|
2023
|
-
bg_class: 'reveal-modal-bg',
|
2024
|
-
root_element: 'body',
|
2025
|
-
open: function(){},
|
2026
|
-
opened: function(){},
|
2027
|
-
close: function(){},
|
2028
|
-
closed: function(){},
|
2029
|
-
bg : $('.reveal-modal-bg'),
|
2030
|
-
css : {
|
2031
|
-
open : {
|
2032
|
-
'opacity': 0,
|
2033
|
-
'visibility': 'visible',
|
2034
|
-
'display' : 'block'
|
2035
|
-
},
|
2036
|
-
close : {
|
2037
|
-
'opacity': 1,
|
2038
|
-
'visibility': 'hidden',
|
2039
|
-
'display': 'none'
|
2040
|
-
}
|
2041
|
-
}
|
2042
|
-
},
|
2043
|
-
|
2044
|
-
init : function (scope, method, options) {
|
2045
|
-
$.extend(true, this.settings, method, options);
|
2046
|
-
this.bindings(method, options);
|
2047
|
-
},
|
2048
|
-
|
2049
|
-
events : function (scope) {
|
2050
|
-
var self = this,
|
2051
|
-
S = self.S;
|
2052
|
-
|
2053
|
-
S(this.scope)
|
2054
|
-
.off('.reveal')
|
2055
|
-
.on('click.fndtn.reveal', '[' + this.add_namespace('data-reveal-id') + ']:not([disabled])', function (e) {
|
2056
|
-
e.preventDefault();
|
2057
|
-
|
2058
|
-
if (!self.locked) {
|
2059
|
-
var element = S(this),
|
2060
|
-
ajax = element.data(self.data_attr('reveal-ajax'));
|
2061
|
-
|
2062
|
-
self.locked = true;
|
2063
|
-
|
2064
|
-
if (typeof ajax === 'undefined') {
|
2065
|
-
self.open.call(self, element);
|
2066
|
-
} else {
|
2067
|
-
var url = ajax === true ? element.attr('href') : ajax;
|
2068
|
-
|
2069
|
-
self.open.call(self, element, {url: url});
|
2070
|
-
}
|
2071
|
-
}
|
2072
|
-
});
|
2073
|
-
|
2074
|
-
S(document)
|
2075
|
-
.on('click.fndtn.reveal', this.close_targets(), function (e) {
|
2076
|
-
|
2077
|
-
e.preventDefault();
|
2078
|
-
|
2079
|
-
if (!self.locked) {
|
2080
|
-
var settings = S('[' + self.attr_name() + '].open').data(self.attr_name(true) + '-init') || self.settings,
|
2081
|
-
bg_clicked = S(e.target)[0] === S('.' + settings.bg_class)[0];
|
2082
|
-
|
2083
|
-
if (bg_clicked) {
|
2084
|
-
if (settings.close_on_background_click) {
|
2085
|
-
e.stopPropagation();
|
2086
|
-
} else {
|
2087
|
-
return;
|
2088
|
-
}
|
2089
|
-
}
|
2090
|
-
|
2091
|
-
self.locked = true;
|
2092
|
-
self.close.call(self, bg_clicked ? S('[' + self.attr_name() + '].open') : S(this).closest('[' + self.attr_name() + ']'));
|
2093
|
-
}
|
2094
|
-
});
|
2095
|
-
|
2096
|
-
if(S('[' + self.attr_name() + ']', this.scope).length > 0) {
|
2097
|
-
S(this.scope)
|
2098
|
-
// .off('.reveal')
|
2099
|
-
.on('open.fndtn.reveal', this.settings.open)
|
2100
|
-
.on('opened.fndtn.reveal', this.settings.opened)
|
2101
|
-
.on('opened.fndtn.reveal', this.open_video)
|
2102
|
-
.on('close.fndtn.reveal', this.settings.close)
|
2103
|
-
.on('closed.fndtn.reveal', this.settings.closed)
|
2104
|
-
.on('closed.fndtn.reveal', this.close_video);
|
2105
|
-
} else {
|
2106
|
-
S(this.scope)
|
2107
|
-
// .off('.reveal')
|
2108
|
-
.on('open.fndtn.reveal', '[' + self.attr_name() + ']', this.settings.open)
|
2109
|
-
.on('opened.fndtn.reveal', '[' + self.attr_name() + ']', this.settings.opened)
|
2110
|
-
.on('opened.fndtn.reveal', '[' + self.attr_name() + ']', this.open_video)
|
2111
|
-
.on('close.fndtn.reveal', '[' + self.attr_name() + ']', this.settings.close)
|
2112
|
-
.on('closed.fndtn.reveal', '[' + self.attr_name() + ']', this.settings.closed)
|
2113
|
-
.on('closed.fndtn.reveal', '[' + self.attr_name() + ']', this.close_video);
|
2114
|
-
}
|
2115
|
-
|
2116
|
-
return true;
|
2117
|
-
},
|
2118
|
-
|
2119
|
-
// PATCH #3: turning on key up capture only when a reveal window is open
|
2120
|
-
key_up_on : function (scope) {
|
2121
|
-
var self = this;
|
2122
|
-
|
2123
|
-
// PATCH #1: fixing multiple keyup event trigger from single key press
|
2124
|
-
self.S('body').off('keyup.fndtn.reveal').on('keyup.fndtn.reveal', function ( event ) {
|
2125
|
-
var open_modal = self.S('[' + self.attr_name() + '].open'),
|
2126
|
-
settings = open_modal.data(self.attr_name(true) + '-init') || self.settings ;
|
2127
|
-
// PATCH #2: making sure that the close event can be called only while unlocked,
|
2128
|
-
// so that multiple keyup.fndtn.reveal events don't prevent clean closing of the reveal window.
|
2129
|
-
if ( settings && event.which === 27 && settings.close_on_esc && !self.locked) { // 27 is the keycode for the Escape key
|
2130
|
-
self.close.call(self, open_modal);
|
2131
|
-
}
|
2132
|
-
});
|
2133
|
-
|
2134
|
-
return true;
|
2135
|
-
},
|
2136
|
-
|
2137
|
-
// PATCH #3: turning on key up capture only when a reveal window is open
|
2138
|
-
key_up_off : function (scope) {
|
2139
|
-
this.S('body').off('keyup.fndtn.reveal');
|
2140
|
-
return true;
|
2141
|
-
},
|
2142
|
-
|
2143
|
-
|
2144
|
-
open : function (target, ajax_settings) {
|
2145
|
-
var self = this,
|
2146
|
-
modal;
|
2147
|
-
|
2148
|
-
if (target) {
|
2149
|
-
if (typeof target.selector !== 'undefined') {
|
2150
|
-
// Find the named node; only use the first one found, since the rest of the code assumes there's only one node
|
2151
|
-
modal = self.S('#' + target.data(self.data_attr('reveal-id'))).first();
|
2152
|
-
} else {
|
2153
|
-
modal = self.S(this.scope);
|
2154
|
-
|
2155
|
-
ajax_settings = target;
|
2156
|
-
}
|
2157
|
-
} else {
|
2158
|
-
modal = self.S(this.scope);
|
2159
|
-
}
|
2160
|
-
|
2161
|
-
var settings = modal.data(self.attr_name(true) + '-init');
|
2162
|
-
settings = settings || this.settings;
|
2163
|
-
|
2164
|
-
|
2165
|
-
if (modal.hasClass('open') && target.attr('data-reveal-id') == modal.attr('id')) {
|
2166
|
-
return self.close(modal);
|
2167
|
-
}
|
2168
|
-
|
2169
|
-
if (!modal.hasClass('open')) {
|
2170
|
-
var open_modal = self.S('[' + self.attr_name() + '].open');
|
2171
|
-
|
2172
|
-
if (typeof modal.data('css-top') === 'undefined') {
|
2173
|
-
modal.data('css-top', parseInt(modal.css('top'), 10))
|
2174
|
-
.data('offset', this.cache_offset(modal));
|
2175
|
-
}
|
2176
|
-
|
2177
|
-
this.key_up_on(modal); // PATCH #3: turning on key up capture only when a reveal window is open
|
2178
|
-
modal.trigger('open').trigger('open.fndtn.reveal');
|
2179
|
-
|
2180
|
-
if (open_modal.length < 1) {
|
2181
|
-
this.toggle_bg(modal, true);
|
2182
|
-
}
|
2183
|
-
|
2184
|
-
if (typeof ajax_settings === 'string') {
|
2185
|
-
ajax_settings = {
|
2186
|
-
url: ajax_settings
|
2187
|
-
};
|
2188
|
-
}
|
2189
|
-
|
2190
|
-
if (typeof ajax_settings === 'undefined' || !ajax_settings.url) {
|
2191
|
-
if (open_modal.length > 0) {
|
2192
|
-
this.hide(open_modal, settings.css.close);
|
2193
|
-
}
|
2194
|
-
|
2195
|
-
this.show(modal, settings.css.open);
|
2196
|
-
} else {
|
2197
|
-
var old_success = typeof ajax_settings.success !== 'undefined' ? ajax_settings.success : null;
|
2198
|
-
|
2199
|
-
$.extend(ajax_settings, {
|
2200
|
-
success: function (data, textStatus, jqXHR) {
|
2201
|
-
if ( $.isFunction(old_success) ) {
|
2202
|
-
old_success(data, textStatus, jqXHR);
|
2203
|
-
}
|
2204
|
-
|
2205
|
-
modal.html(data);
|
2206
|
-
self.S(modal).foundation('section', 'reflow');
|
2207
|
-
self.S(modal).children().foundation();
|
2208
|
-
|
2209
|
-
if (open_modal.length > 0) {
|
2210
|
-
self.hide(open_modal, settings.css.close);
|
2211
|
-
}
|
2212
|
-
self.show(modal, settings.css.open);
|
2213
|
-
}
|
2214
|
-
});
|
2215
|
-
|
2216
|
-
$.ajax(ajax_settings);
|
2217
|
-
}
|
2218
|
-
}
|
2219
|
-
self.S(window).trigger('resize');
|
2220
|
-
},
|
2221
|
-
|
2222
|
-
close : function (modal) {
|
2223
|
-
var modal = modal && modal.length ? modal : this.S(this.scope),
|
2224
|
-
open_modals = this.S('[' + this.attr_name() + '].open'),
|
2225
|
-
settings = modal.data(this.attr_name(true) + '-init') || this.settings;
|
2226
|
-
|
2227
|
-
if (open_modals.length > 0) {
|
2228
|
-
this.locked = true;
|
2229
|
-
this.key_up_off(modal); // PATCH #3: turning on key up capture only when a reveal window is open
|
2230
|
-
modal.trigger('close').trigger('close.fndtn.reveal');
|
2231
|
-
this.toggle_bg(modal, false);
|
2232
|
-
this.hide(open_modals, settings.css.close, settings);
|
2233
|
-
}
|
2234
|
-
},
|
2235
|
-
|
2236
|
-
close_targets : function () {
|
2237
|
-
var base = '.' + this.settings.dismiss_modal_class;
|
2238
|
-
|
2239
|
-
if (this.settings.close_on_background_click) {
|
2240
|
-
return base + ', .' + this.settings.bg_class;
|
2241
|
-
}
|
2242
|
-
|
2243
|
-
return base;
|
2244
|
-
},
|
2245
|
-
|
2246
|
-
toggle_bg : function (modal, state) {
|
2247
|
-
if (this.S('.' + this.settings.bg_class).length === 0) {
|
2248
|
-
this.settings.bg = $('<div />', {'class': this.settings.bg_class})
|
2249
|
-
.appendTo('body').hide();
|
2250
|
-
}
|
2251
|
-
|
2252
|
-
var visible = this.settings.bg.filter(':visible').length > 0;
|
2253
|
-
if ( state != visible ) {
|
2254
|
-
if ( state == undefined ? visible : !state ) {
|
2255
|
-
this.hide(this.settings.bg);
|
2256
|
-
} else {
|
2257
|
-
this.show(this.settings.bg);
|
2258
|
-
}
|
2259
|
-
}
|
2260
|
-
},
|
2261
|
-
|
2262
|
-
show : function (el, css) {
|
2263
|
-
// is modal
|
2264
|
-
if (css) {
|
2265
|
-
var settings = el.data(this.attr_name(true) + '-init') || this.settings,
|
2266
|
-
root_element = settings.root_element;
|
2267
|
-
|
2268
|
-
if (el.parent(root_element).length === 0) {
|
2269
|
-
var placeholder = el.wrap('<div style="display: none;" />').parent();
|
2270
|
-
|
2271
|
-
el.on('closed.fndtn.reveal.wrapped', function() {
|
2272
|
-
el.detach().appendTo(placeholder);
|
2273
|
-
el.unwrap().unbind('closed.fndtn.reveal.wrapped');
|
2274
|
-
});
|
2275
|
-
|
2276
|
-
el.detach().appendTo(root_element);
|
2277
|
-
}
|
2278
|
-
|
2279
|
-
var animData = getAnimationData(settings.animation);
|
2280
|
-
if (!animData.animate) {
|
2281
|
-
this.locked = false;
|
2282
|
-
}
|
2283
|
-
if (animData.pop) {
|
2284
|
-
css.top = $(window).scrollTop() - el.data('offset') + 'px';
|
2285
|
-
var end_css = {
|
2286
|
-
top: $(window).scrollTop() + el.data('css-top') + 'px',
|
2287
|
-
opacity: 1
|
2288
|
-
};
|
2289
|
-
|
2290
|
-
return setTimeout(function () {
|
2291
|
-
return el
|
2292
|
-
.css(css)
|
2293
|
-
.animate(end_css, settings.animation_speed, 'linear', function () {
|
2294
|
-
this.locked = false;
|
2295
|
-
el.trigger('opened').trigger('opened.fndtn.reveal');
|
2296
|
-
}.bind(this))
|
2297
|
-
.addClass('open');
|
2298
|
-
}.bind(this), settings.animation_speed / 2);
|
2299
|
-
}
|
2300
|
-
|
2301
|
-
if (animData.fade) {
|
2302
|
-
css.top = $(window).scrollTop() + el.data('css-top') + 'px';
|
2303
|
-
var end_css = {opacity: 1};
|
2304
|
-
|
2305
|
-
return setTimeout(function () {
|
2306
|
-
return el
|
2307
|
-
.css(css)
|
2308
|
-
.animate(end_css, settings.animation_speed, 'linear', function () {
|
2309
|
-
this.locked = false;
|
2310
|
-
el.trigger('opened').trigger('opened.fndtn.reveal');
|
2311
|
-
}.bind(this))
|
2312
|
-
.addClass('open');
|
2313
|
-
}.bind(this), settings.animation_speed / 2);
|
2314
|
-
}
|
2315
|
-
|
2316
|
-
return el.css(css).show().css({opacity: 1}).addClass('open').trigger('opened').trigger('opened.fndtn.reveal');
|
2317
|
-
}
|
2318
|
-
|
2319
|
-
var settings = this.settings;
|
2320
|
-
|
2321
|
-
// should we animate the background?
|
2322
|
-
if (getAnimationData(settings.animation).fade) {
|
2323
|
-
return el.fadeIn(settings.animation_speed / 2);
|
2324
|
-
}
|
2325
|
-
|
2326
|
-
this.locked = false;
|
2327
|
-
|
2328
|
-
return el.show();
|
2329
|
-
},
|
2330
|
-
|
2331
|
-
hide : function (el, css) {
|
2332
|
-
// is modal
|
2333
|
-
if (css) {
|
2334
|
-
var settings = el.data(this.attr_name(true) + '-init');
|
2335
|
-
settings = settings || this.settings;
|
2336
|
-
|
2337
|
-
var animData = getAnimationData(settings.animation);
|
2338
|
-
if (!animData.animate) {
|
2339
|
-
this.locked = false;
|
2340
|
-
}
|
2341
|
-
if (animData.pop) {
|
2342
|
-
var end_css = {
|
2343
|
-
top: - $(window).scrollTop() - el.data('offset') + 'px',
|
2344
|
-
opacity: 0
|
2345
|
-
};
|
2346
|
-
|
2347
|
-
return setTimeout(function () {
|
2348
|
-
return el
|
2349
|
-
.animate(end_css, settings.animation_speed, 'linear', function () {
|
2350
|
-
this.locked = false;
|
2351
|
-
el.css(css).trigger('closed').trigger('closed.fndtn.reveal');
|
2352
|
-
}.bind(this))
|
2353
|
-
.removeClass('open');
|
2354
|
-
}.bind(this), settings.animation_speed / 2);
|
2355
|
-
}
|
2356
|
-
|
2357
|
-
if (animData.fade) {
|
2358
|
-
var end_css = {opacity: 0};
|
2359
|
-
|
2360
|
-
return setTimeout(function () {
|
2361
|
-
return el
|
2362
|
-
.animate(end_css, settings.animation_speed, 'linear', function () {
|
2363
|
-
this.locked = false;
|
2364
|
-
el.css(css).trigger('closed').trigger('closed.fndtn.reveal');
|
2365
|
-
}.bind(this))
|
2366
|
-
.removeClass('open');
|
2367
|
-
}.bind(this), settings.animation_speed / 2);
|
2368
|
-
}
|
2369
|
-
|
2370
|
-
return el.hide().css(css).removeClass('open').trigger('closed').trigger('closed.fndtn.reveal');
|
2371
|
-
}
|
2372
|
-
|
2373
|
-
var settings = this.settings;
|
2374
|
-
|
2375
|
-
// should we animate the background?
|
2376
|
-
if (getAnimationData(settings.animation).fade) {
|
2377
|
-
return el.fadeOut(settings.animation_speed / 2);
|
2378
|
-
}
|
2379
|
-
|
2380
|
-
return el.hide();
|
2381
|
-
},
|
2382
|
-
|
2383
|
-
close_video : function (e) {
|
2384
|
-
var video = $('.flex-video', e.target),
|
2385
|
-
iframe = $('iframe', video);
|
2386
|
-
|
2387
|
-
if (iframe.length > 0) {
|
2388
|
-
iframe.attr('data-src', iframe[0].src);
|
2389
|
-
iframe.attr('src', iframe.attr('src'));
|
2390
|
-
video.hide();
|
2391
|
-
}
|
2392
|
-
},
|
2393
|
-
|
2394
|
-
open_video : function (e) {
|
2395
|
-
var video = $('.flex-video', e.target),
|
2396
|
-
iframe = video.find('iframe');
|
2397
|
-
|
2398
|
-
if (iframe.length > 0) {
|
2399
|
-
var data_src = iframe.attr('data-src');
|
2400
|
-
if (typeof data_src === 'string') {
|
2401
|
-
iframe[0].src = iframe.attr('data-src');
|
2402
|
-
} else {
|
2403
|
-
var src = iframe[0].src;
|
2404
|
-
iframe[0].src = undefined;
|
2405
|
-
iframe[0].src = src;
|
2406
|
-
}
|
2407
|
-
video.show();
|
2408
|
-
}
|
2409
|
-
},
|
2410
|
-
|
2411
|
-
data_attr: function (str) {
|
2412
|
-
if (this.namespace.length > 0) {
|
2413
|
-
return this.namespace + '-' + str;
|
2414
|
-
}
|
2415
|
-
|
2416
|
-
return str;
|
2417
|
-
},
|
2418
|
-
|
2419
|
-
cache_offset : function (modal) {
|
2420
|
-
var offset = modal.show().height() + parseInt(modal.css('top'), 10);
|
2421
|
-
|
2422
|
-
modal.hide();
|
2423
|
-
|
2424
|
-
return offset;
|
2425
|
-
},
|
2426
|
-
|
2427
|
-
off : function () {
|
2428
|
-
$(this.scope).off('.fndtn.reveal');
|
2429
|
-
},
|
2430
|
-
|
2431
|
-
reflow : function () {}
|
2432
|
-
};
|
2433
|
-
|
2434
|
-
/*
|
2435
|
-
* getAnimationData('popAndFade') // {animate: true, pop: true, fade: true}
|
2436
|
-
* getAnimationData('fade') // {animate: true, pop: false, fade: true}
|
2437
|
-
* getAnimationData('pop') // {animate: true, pop: true, fade: false}
|
2438
|
-
* getAnimationData('foo') // {animate: false, pop: false, fade: false}
|
2439
|
-
* getAnimationData(null) // {animate: false, pop: false, fade: false}
|
2440
|
-
*/
|
2441
|
-
function getAnimationData(str) {
|
2442
|
-
var fade = /fade/i.test(str);
|
2443
|
-
var pop = /pop/i.test(str);
|
2444
|
-
return {
|
2445
|
-
animate: fade || pop,
|
2446
|
-
pop: pop,
|
2447
|
-
fade: fade
|
2448
|
-
};
|
2449
|
-
}
|
2450
|
-
}(jQuery, window, window.document));
|
2451
|
-
;(function ($, window, document, undefined) {
|
2452
|
-
'use strict';
|
2453
|
-
|
2454
|
-
Foundation.libs.slider = {
|
2455
|
-
name : 'slider',
|
2456
|
-
|
2457
|
-
version : '5.4.7',
|
2458
|
-
|
2459
|
-
settings: {
|
2460
|
-
start: 0,
|
2461
|
-
end: 100,
|
2462
|
-
step: 1,
|
2463
|
-
initial: null,
|
2464
|
-
display_selector: '',
|
2465
|
-
vertical: false,
|
2466
|
-
on_change: function(){}
|
2467
|
-
},
|
2468
|
-
|
2469
|
-
cache : {},
|
2470
|
-
|
2471
|
-
init : function (scope, method, options) {
|
2472
|
-
Foundation.inherit(this,'throttle');
|
2473
|
-
this.bindings(method, options);
|
2474
|
-
this.reflow();
|
2475
|
-
},
|
2476
|
-
|
2477
|
-
events : function() {
|
2478
|
-
var self = this;
|
2479
|
-
|
2480
|
-
$(this.scope)
|
2481
|
-
.off('.slider')
|
2482
|
-
.on('mousedown.fndtn.slider touchstart.fndtn.slider pointerdown.fndtn.slider',
|
2483
|
-
'[' + self.attr_name() + ']:not(.disabled, [disabled]) .range-slider-handle', function(e) {
|
2484
|
-
if (!self.cache.active) {
|
2485
|
-
e.preventDefault();
|
2486
|
-
self.set_active_slider($(e.target));
|
2487
|
-
}
|
2488
|
-
})
|
2489
|
-
.on('mousemove.fndtn.slider touchmove.fndtn.slider pointermove.fndtn.slider', function(e) {
|
2490
|
-
if (!!self.cache.active) {
|
2491
|
-
e.preventDefault();
|
2492
|
-
if ($.data(self.cache.active[0], 'settings').vertical) {
|
2493
|
-
var scroll_offset = 0;
|
2494
|
-
if (!e.pageY) {
|
2495
|
-
scroll_offset = window.scrollY;
|
2496
|
-
}
|
2497
|
-
self.calculate_position(self.cache.active, (e.pageY ||
|
2498
|
-
e.originalEvent.clientY ||
|
2499
|
-
e.originalEvent.touches[0].clientY ||
|
2500
|
-
e.currentPoint.y)
|
2501
|
-
+ scroll_offset);
|
2502
|
-
} else {
|
2503
|
-
self.calculate_position(self.cache.active, e.pageX ||
|
2504
|
-
e.originalEvent.clientX ||
|
2505
|
-
e.originalEvent.touches[0].clientX ||
|
2506
|
-
e.currentPoint.x);
|
2507
|
-
}
|
2508
|
-
}
|
2509
|
-
})
|
2510
|
-
.on('mouseup.fndtn.slider touchend.fndtn.slider pointerup.fndtn.slider', function(e) {
|
2511
|
-
self.remove_active_slider();
|
2512
|
-
})
|
2513
|
-
.on('change.fndtn.slider', function(e) {
|
2514
|
-
self.settings.on_change();
|
2515
|
-
});
|
2516
|
-
|
2517
|
-
self.S(window)
|
2518
|
-
.on('resize.fndtn.slider', self.throttle(function(e) {
|
2519
|
-
self.reflow();
|
2520
|
-
}, 300));
|
2521
|
-
},
|
2522
|
-
|
2523
|
-
set_active_slider : function($handle) {
|
2524
|
-
this.cache.active = $handle;
|
2525
|
-
},
|
2526
|
-
|
2527
|
-
remove_active_slider : function() {
|
2528
|
-
this.cache.active = null;
|
2529
|
-
},
|
2530
|
-
|
2531
|
-
calculate_position : function($handle, cursor_x) {
|
2532
|
-
var self = this,
|
2533
|
-
settings = $.data($handle[0], 'settings'),
|
2534
|
-
handle_l = $.data($handle[0], 'handle_l'),
|
2535
|
-
handle_o = $.data($handle[0], 'handle_o'),
|
2536
|
-
bar_l = $.data($handle[0], 'bar_l'),
|
2537
|
-
bar_o = $.data($handle[0], 'bar_o');
|
2538
|
-
|
2539
|
-
requestAnimationFrame(function(){
|
2540
|
-
var pct;
|
2541
|
-
|
2542
|
-
if (Foundation.rtl && !settings.vertical) {
|
2543
|
-
pct = self.limit_to(((bar_o+bar_l-cursor_x)/bar_l),0,1);
|
2544
|
-
} else {
|
2545
|
-
pct = self.limit_to(((cursor_x-bar_o)/bar_l),0,1);
|
2546
|
-
}
|
2547
|
-
|
2548
|
-
pct = settings.vertical ? 1-pct : pct;
|
2549
|
-
|
2550
|
-
var norm = self.normalized_value(pct, settings.start, settings.end, settings.step);
|
2551
|
-
|
2552
|
-
self.set_ui($handle, norm);
|
2553
|
-
});
|
2554
|
-
},
|
2555
|
-
|
2556
|
-
set_ui : function($handle, value) {
|
2557
|
-
var settings = $.data($handle[0], 'settings'),
|
2558
|
-
handle_l = $.data($handle[0], 'handle_l'),
|
2559
|
-
bar_l = $.data($handle[0], 'bar_l'),
|
2560
|
-
norm_pct = this.normalized_percentage(value, settings.start, settings.end),
|
2561
|
-
handle_offset = norm_pct*(bar_l-handle_l)-1,
|
2562
|
-
progress_bar_length = norm_pct*100;
|
2563
|
-
|
2564
|
-
if (Foundation.rtl && !settings.vertical) {
|
2565
|
-
handle_offset = -handle_offset;
|
2566
|
-
}
|
2567
|
-
|
2568
|
-
handle_offset = settings.vertical ? -handle_offset + bar_l - handle_l + 1 : handle_offset;
|
2569
|
-
this.set_translate($handle, handle_offset, settings.vertical);
|
2570
|
-
|
2571
|
-
if (settings.vertical) {
|
2572
|
-
$handle.siblings('.range-slider-active-segment').css('height', progress_bar_length + '%');
|
2573
|
-
} else {
|
2574
|
-
$handle.siblings('.range-slider-active-segment').css('width', progress_bar_length + '%');
|
2575
|
-
}
|
2576
|
-
|
2577
|
-
$handle.parent().attr(this.attr_name(), value).trigger('change').trigger('change.fndtn.slider');
|
2578
|
-
|
2579
|
-
$handle.parent().children('input[type=hidden]').val(value);
|
2580
|
-
|
2581
|
-
if (!$handle[0].hasAttribute('aria-valuemin')) {
|
2582
|
-
$handle.attr({
|
2583
|
-
'aria-valuemin': settings.start,
|
2584
|
-
'aria-valuemax': settings.end,
|
2585
|
-
});
|
2586
|
-
}
|
2587
|
-
$handle.attr('aria-valuenow', value);
|
2588
|
-
|
2589
|
-
if (settings.display_selector != '') {
|
2590
|
-
$(settings.display_selector).each(function(){
|
2591
|
-
if (this.hasOwnProperty('value')) {
|
2592
|
-
$(this).val(value);
|
2593
|
-
} else {
|
2594
|
-
$(this).text(value);
|
2595
|
-
}
|
2596
|
-
});
|
2597
|
-
}
|
2598
|
-
|
2599
|
-
},
|
2600
|
-
|
2601
|
-
normalized_percentage : function(val, start, end) {
|
2602
|
-
return Math.min(1, (val - start)/(end - start));
|
2603
|
-
},
|
2604
|
-
|
2605
|
-
normalized_value : function(val, start, end, step) {
|
2606
|
-
var range = end - start,
|
2607
|
-
point = val*range,
|
2608
|
-
mod = (point-(point%step)) / step,
|
2609
|
-
rem = point % step,
|
2610
|
-
round = ( rem >= step*0.5 ? step : 0);
|
2611
|
-
return (mod*step + round) + start;
|
2612
|
-
},
|
2613
|
-
|
2614
|
-
set_translate : function(ele, offset, vertical) {
|
2615
|
-
if (vertical) {
|
2616
|
-
$(ele)
|
2617
|
-
.css('-webkit-transform', 'translateY('+offset+'px)')
|
2618
|
-
.css('-moz-transform', 'translateY('+offset+'px)')
|
2619
|
-
.css('-ms-transform', 'translateY('+offset+'px)')
|
2620
|
-
.css('-o-transform', 'translateY('+offset+'px)')
|
2621
|
-
.css('transform', 'translateY('+offset+'px)');
|
2622
|
-
} else {
|
2623
|
-
$(ele)
|
2624
|
-
.css('-webkit-transform', 'translateX('+offset+'px)')
|
2625
|
-
.css('-moz-transform', 'translateX('+offset+'px)')
|
2626
|
-
.css('-ms-transform', 'translateX('+offset+'px)')
|
2627
|
-
.css('-o-transform', 'translateX('+offset+'px)')
|
2628
|
-
.css('transform', 'translateX('+offset+'px)');
|
2629
|
-
}
|
2630
|
-
},
|
2631
|
-
|
2632
|
-
limit_to : function(val, min, max) {
|
2633
|
-
return Math.min(Math.max(val, min), max);
|
2634
|
-
},
|
2635
|
-
|
2636
|
-
initialize_settings : function(handle) {
|
2637
|
-
var settings = $.extend({}, this.settings, this.data_options($(handle).parent()));
|
2638
|
-
|
2639
|
-
if (settings.vertical) {
|
2640
|
-
$.data(handle, 'bar_o', $(handle).parent().offset().top);
|
2641
|
-
$.data(handle, 'bar_l', $(handle).parent().outerHeight());
|
2642
|
-
$.data(handle, 'handle_o', $(handle).offset().top);
|
2643
|
-
$.data(handle, 'handle_l', $(handle).outerHeight());
|
2644
|
-
} else {
|
2645
|
-
$.data(handle, 'bar_o', $(handle).parent().offset().left);
|
2646
|
-
$.data(handle, 'bar_l', $(handle).parent().outerWidth());
|
2647
|
-
$.data(handle, 'handle_o', $(handle).offset().left);
|
2648
|
-
$.data(handle, 'handle_l', $(handle).outerWidth());
|
2649
|
-
}
|
2650
|
-
|
2651
|
-
$.data(handle, 'bar', $(handle).parent());
|
2652
|
-
$.data(handle, 'settings', settings);
|
2653
|
-
},
|
2654
|
-
|
2655
|
-
set_initial_position : function($ele) {
|
2656
|
-
var settings = $.data($ele.children('.range-slider-handle')[0], 'settings'),
|
2657
|
-
initial = (!!settings.initial ? settings.initial : Math.floor((settings.end-settings.start)*0.5/settings.step)*settings.step+settings.start),
|
2658
|
-
$handle = $ele.children('.range-slider-handle');
|
2659
|
-
this.set_ui($handle, initial);
|
2660
|
-
},
|
2661
|
-
|
2662
|
-
set_value : function(value) {
|
2663
|
-
var self = this;
|
2664
|
-
$('[' + self.attr_name() + ']', this.scope).each(function(){
|
2665
|
-
$(this).attr(self.attr_name(), value);
|
2666
|
-
});
|
2667
|
-
if (!!$(this.scope).attr(self.attr_name())) {
|
2668
|
-
$(this.scope).attr(self.attr_name(), value);
|
2669
|
-
}
|
2670
|
-
self.reflow();
|
2671
|
-
},
|
2672
|
-
|
2673
|
-
reflow : function() {
|
2674
|
-
var self = this;
|
2675
|
-
self.S('[' + this.attr_name() + ']').each(function() {
|
2676
|
-
var handle = $(this).children('.range-slider-handle')[0],
|
2677
|
-
val = $(this).attr(self.attr_name());
|
2678
|
-
self.initialize_settings(handle);
|
2679
|
-
|
2680
|
-
if (val) {
|
2681
|
-
self.set_ui($(handle), parseFloat(val));
|
2682
|
-
} else {
|
2683
|
-
self.set_initial_position($(this));
|
2684
|
-
}
|
2685
|
-
});
|
2686
|
-
}
|
2687
|
-
};
|
2688
|
-
|
2689
|
-
}(jQuery, window, window.document));
|
2690
|
-
;(function ($, window, document, undefined) {
|
2691
|
-
'use strict';
|
2692
|
-
|
2693
|
-
Foundation.libs.tab = {
|
2694
|
-
name : 'tab',
|
2695
|
-
|
2696
|
-
version : '5.4.7',
|
2697
|
-
|
2698
|
-
settings : {
|
2699
|
-
active_class: 'active',
|
2700
|
-
callback : function () {},
|
2701
|
-
deep_linking: false,
|
2702
|
-
scroll_to_content: true,
|
2703
|
-
is_hover: false
|
2704
|
-
},
|
2705
|
-
|
2706
|
-
default_tab_hashes: [],
|
2707
|
-
|
2708
|
-
init : function (scope, method, options) {
|
2709
|
-
var self = this,
|
2710
|
-
S = this.S;
|
2711
|
-
|
2712
|
-
this.bindings(method, options);
|
2713
|
-
this.handle_location_hash_change();
|
2714
|
-
|
2715
|
-
// Store the default active tabs which will be referenced when the
|
2716
|
-
// location hash is absent, as in the case of navigating the tabs and
|
2717
|
-
// returning to the first viewing via the browser Back button.
|
2718
|
-
S('[' + this.attr_name() + '] > .active > a', this.scope).each(function () {
|
2719
|
-
self.default_tab_hashes.push(this.hash);
|
2720
|
-
});
|
2721
|
-
},
|
2722
|
-
|
2723
|
-
events : function () {
|
2724
|
-
var self = this,
|
2725
|
-
S = this.S;
|
2726
|
-
|
2727
|
-
var usual_tab_behavior = function (e) {
|
2728
|
-
var settings = S(this).closest('[' + self.attr_name() +']').data(self.attr_name(true) + '-init');
|
2729
|
-
if (!settings.is_hover || Modernizr.touch) {
|
2730
|
-
e.preventDefault();
|
2731
|
-
e.stopPropagation();
|
2732
|
-
self.toggle_active_tab(S(this).parent());
|
2733
|
-
}
|
2734
|
-
};
|
2735
|
-
|
2736
|
-
S(this.scope)
|
2737
|
-
.off('.tab')
|
2738
|
-
// Click event: tab title
|
2739
|
-
.on('focus.fndtn.tab', '[' + this.attr_name() + '] > * > a', usual_tab_behavior )
|
2740
|
-
.on('click.fndtn.tab', '[' + this.attr_name() + '] > * > a', usual_tab_behavior )
|
2741
|
-
// Hover event: tab title
|
2742
|
-
.on('mouseenter.fndtn.tab', '[' + this.attr_name() + '] > * > a', function (e) {
|
2743
|
-
var settings = S(this).closest('[' + self.attr_name() +']').data(self.attr_name(true) + '-init');
|
2744
|
-
if (settings.is_hover) self.toggle_active_tab(S(this).parent());
|
2745
|
-
});
|
2746
|
-
|
2747
|
-
// Location hash change event
|
2748
|
-
S(window).on('hashchange.fndtn.tab', function (e) {
|
2749
|
-
e.preventDefault();
|
2750
|
-
self.handle_location_hash_change();
|
2751
|
-
});
|
2752
|
-
},
|
2753
|
-
|
2754
|
-
handle_location_hash_change : function () {
|
2755
|
-
|
2756
|
-
var self = this,
|
2757
|
-
S = this.S;
|
2758
|
-
|
2759
|
-
S('[' + this.attr_name() + ']', this.scope).each(function () {
|
2760
|
-
var settings = S(this).data(self.attr_name(true) + '-init');
|
2761
|
-
if (settings.deep_linking) {
|
2762
|
-
// Match the location hash to a label
|
2763
|
-
var hash;
|
2764
|
-
if (settings.scroll_to_content) {
|
2765
|
-
hash = self.scope.location.hash;
|
2766
|
-
} else {
|
2767
|
-
// prefix the hash to prevent anchor scrolling
|
2768
|
-
hash = self.scope.location.hash.replace('fndtn-', '');
|
2769
|
-
}
|
2770
|
-
if (hash != '') {
|
2771
|
-
// Check whether the location hash references a tab content div or
|
2772
|
-
// another element on the page (inside or outside the tab content div)
|
2773
|
-
var hash_element = S(hash);
|
2774
|
-
if (hash_element.hasClass('content') && hash_element.parent().hasClass('tabs-content')) {
|
2775
|
-
// Tab content div
|
2776
|
-
self.toggle_active_tab($('[' + self.attr_name() + '] > * > a[href=' + hash + ']').parent());
|
2777
|
-
} else {
|
2778
|
-
// Not the tab content div. If inside the tab content, find the
|
2779
|
-
// containing tab and toggle it as active.
|
2780
|
-
var hash_tab_container_id = hash_element.closest('.content').attr('id');
|
2781
|
-
if (hash_tab_container_id != undefined) {
|
2782
|
-
self.toggle_active_tab($('[' + self.attr_name() + '] > * > a[href=#' + hash_tab_container_id + ']').parent(), hash);
|
2783
|
-
}
|
2784
|
-
}
|
2785
|
-
} else {
|
2786
|
-
// Reference the default tab hashes which were initialized in the init function
|
2787
|
-
for (var ind = 0; ind < self.default_tab_hashes.length; ind++) {
|
2788
|
-
self.toggle_active_tab($('[' + self.attr_name() + '] > * > a[href=' + self.default_tab_hashes[ind] + ']').parent());
|
2789
|
-
}
|
2790
|
-
}
|
2791
|
-
}
|
2792
|
-
});
|
2793
|
-
},
|
2794
|
-
|
2795
|
-
toggle_active_tab: function (tab, location_hash) {
|
2796
|
-
var S = this.S,
|
2797
|
-
tabs = tab.closest('[' + this.attr_name() + ']'),
|
2798
|
-
tab_link = tab.find('a'),
|
2799
|
-
anchor = tab.children('a').first(),
|
2800
|
-
target_hash = '#' + anchor.attr('href').split('#')[1],
|
2801
|
-
target = S(target_hash),
|
2802
|
-
siblings = tab.siblings(),
|
2803
|
-
settings = tabs.data(this.attr_name(true) + '-init'),
|
2804
|
-
interpret_keyup_action = function(e) {
|
2805
|
-
// Light modification of Heydon Pickering's Practical ARIA Examples: http://heydonworks.com/practical_aria_examples/js/a11y.js
|
2806
|
-
|
2807
|
-
// define current, previous and next (possible) tabs
|
2808
|
-
|
2809
|
-
var $original = $(this);
|
2810
|
-
var $prev = $(this).parents('li').prev().children('[role="tab"]');
|
2811
|
-
var $next = $(this).parents('li').next().children('[role="tab"]');
|
2812
|
-
var $target;
|
2813
|
-
|
2814
|
-
// find the direction (prev or next)
|
2815
|
-
|
2816
|
-
switch (e.keyCode) {
|
2817
|
-
case 37:
|
2818
|
-
$target = $prev;
|
2819
|
-
break;
|
2820
|
-
case 39:
|
2821
|
-
$target = $next;
|
2822
|
-
break;
|
2823
|
-
default:
|
2824
|
-
$target = false
|
2825
|
-
break;
|
2826
|
-
}
|
2827
|
-
|
2828
|
-
if ($target.length) {
|
2829
|
-
$original.attr({
|
2830
|
-
'tabindex' : '-1',
|
2831
|
-
'aria-selected' : null
|
2832
|
-
});
|
2833
|
-
$target.attr({
|
2834
|
-
'tabindex' : '0',
|
2835
|
-
'aria-selected' : true
|
2836
|
-
}).focus();
|
2837
|
-
}
|
2838
|
-
|
2839
|
-
// Hide panels
|
2840
|
-
|
2841
|
-
$('[role="tabpanel"]')
|
2842
|
-
.attr('aria-hidden', 'true');
|
2843
|
-
|
2844
|
-
// Show panel which corresponds to target
|
2845
|
-
|
2846
|
-
$('#' + $(document.activeElement).attr('href').substring(1))
|
2847
|
-
.attr('aria-hidden', null);
|
2848
|
-
|
2849
|
-
};
|
2850
|
-
|
2851
|
-
// allow usage of data-tab-content attribute instead of href
|
2852
|
-
if (S(this).data(this.data_attr('tab-content'))) {
|
2853
|
-
target_hash = '#' + S(this).data(this.data_attr('tab-content')).split('#')[1];
|
2854
|
-
target = S(target_hash);
|
2855
|
-
}
|
2856
|
-
|
2857
|
-
if (settings.deep_linking) {
|
2858
|
-
|
2859
|
-
if (settings.scroll_to_content) {
|
2860
|
-
// retain current hash to scroll to content
|
2861
|
-
window.location.hash = location_hash || target_hash;
|
2862
|
-
if (location_hash == undefined || location_hash == target_hash) {
|
2863
|
-
tab.parent()[0].scrollIntoView();
|
2864
|
-
} else {
|
2865
|
-
S(target_hash)[0].scrollIntoView();
|
2866
|
-
}
|
2867
|
-
} else {
|
2868
|
-
// prefix the hashes so that the browser doesn't scroll down
|
2869
|
-
if (location_hash != undefined) {
|
2870
|
-
window.location.hash = 'fndtn-' + location_hash.replace('#', '');
|
2871
|
-
} else {
|
2872
|
-
window.location.hash = 'fndtn-' + target_hash.replace('#', '');
|
2873
|
-
}
|
2874
|
-
}
|
2875
|
-
}
|
2876
|
-
|
2877
|
-
// WARNING: The activation and deactivation of the tab content must
|
2878
|
-
// occur after the deep linking in order to properly refresh the browser
|
2879
|
-
// window (notably in Chrome).
|
2880
|
-
// Clean up multiple attr instances to done once
|
2881
|
-
tab.addClass(settings.active_class).triggerHandler('opened');
|
2882
|
-
tab_link.attr({"aria-selected": "true", tabindex: 0});
|
2883
|
-
siblings.removeClass(settings.active_class)
|
2884
|
-
siblings.find('a').attr({"aria-selected": "false", tabindex: -1});
|
2885
|
-
target.siblings().removeClass(settings.active_class).attr({"aria-hidden": "true", tabindex: -1});
|
2886
|
-
target.addClass(settings.active_class).attr('aria-hidden', 'false').removeAttr("tabindex");
|
2887
|
-
settings.callback(tab);
|
2888
|
-
target.triggerHandler('toggled', [tab]);
|
2889
|
-
tabs.triggerHandler('toggled', [target]);
|
2890
|
-
|
2891
|
-
tab_link.off('keydown').on('keydown', interpret_keyup_action );
|
2892
|
-
},
|
2893
|
-
|
2894
|
-
data_attr: function (str) {
|
2895
|
-
if (this.namespace.length > 0) {
|
2896
|
-
return this.namespace + '-' + str;
|
2897
|
-
}
|
2898
|
-
|
2899
|
-
return str;
|
2900
|
-
},
|
2901
|
-
|
2902
|
-
off : function () {},
|
2903
|
-
|
2904
|
-
reflow : function () {}
|
2905
|
-
};
|
2906
|
-
}(jQuery, window, window.document));
|
2907
|
-
;(function ($, window, document, undefined) {
|
2908
|
-
'use strict';
|
2909
|
-
|
2910
|
-
Foundation.libs.tooltip = {
|
2911
|
-
name : 'tooltip',
|
2912
|
-
|
2913
|
-
version : '5.4.7',
|
2914
|
-
|
2915
|
-
settings : {
|
2916
|
-
additional_inheritable_classes : [],
|
2917
|
-
tooltip_class : '.tooltip',
|
2918
|
-
append_to: 'body',
|
2919
|
-
touch_close_text: 'Tap To Close',
|
2920
|
-
disable_for_touch: false,
|
2921
|
-
hover_delay: 200,
|
2922
|
-
show_on : 'all',
|
2923
|
-
tip_template : function (selector, content) {
|
2924
|
-
return '<span data-selector="' + selector + '" id="' + selector + '" class="'
|
2925
|
-
+ Foundation.libs.tooltip.settings.tooltip_class.substring(1)
|
2926
|
-
+ '" role="tooltip">' + content + '<span class="nub"></span></span>';
|
2927
|
-
}
|
2928
|
-
},
|
2929
|
-
|
2930
|
-
cache : {},
|
2931
|
-
|
2932
|
-
init : function (scope, method, options) {
|
2933
|
-
Foundation.inherit(this, 'random_str');
|
2934
|
-
this.bindings(method, options);
|
2935
|
-
},
|
2936
|
-
|
2937
|
-
should_show: function (target, tip) {
|
2938
|
-
var settings = $.extend({}, this.settings, this.data_options(target));
|
2939
|
-
|
2940
|
-
if (settings.show_on === 'all') {
|
2941
|
-
return true;
|
2942
|
-
} else if (this.small() && settings.show_on === 'small') {
|
2943
|
-
return true;
|
2944
|
-
} else if (this.medium() && settings.show_on === 'medium') {
|
2945
|
-
return true;
|
2946
|
-
} else if (this.large() && settings.show_on === 'large') {
|
2947
|
-
return true;
|
2948
|
-
}
|
2949
|
-
return false;
|
2950
|
-
},
|
2951
|
-
|
2952
|
-
medium : function () {
|
2953
|
-
return matchMedia(Foundation.media_queries['medium']).matches;
|
2954
|
-
},
|
2955
|
-
|
2956
|
-
large : function () {
|
2957
|
-
return matchMedia(Foundation.media_queries['large']).matches;
|
2958
|
-
},
|
2959
|
-
|
2960
|
-
events : function (instance) {
|
2961
|
-
var self = this,
|
2962
|
-
S = self.S;
|
2963
|
-
|
2964
|
-
self.create(this.S(instance));
|
2965
|
-
|
2966
|
-
$(this.scope)
|
2967
|
-
.off('.tooltip')
|
2968
|
-
.on('mouseenter.fndtn.tooltip mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip',
|
2969
|
-
'[' + this.attr_name() + ']', function (e) {
|
2970
|
-
var $this = S(this),
|
2971
|
-
settings = $.extend({}, self.settings, self.data_options($this)),
|
2972
|
-
is_touch = false;
|
2973
|
-
|
2974
|
-
if (Modernizr.touch && /touchstart|MSPointerDown/i.test(e.type) && S(e.target).is('a')) {
|
2975
|
-
return false;
|
2976
|
-
}
|
2977
|
-
|
2978
|
-
if (/mouse/i.test(e.type) && self.ie_touch(e)) return false;
|
2979
|
-
|
2980
|
-
if ($this.hasClass('open')) {
|
2981
|
-
if (Modernizr.touch && /touchstart|MSPointerDown/i.test(e.type)) e.preventDefault();
|
2982
|
-
self.hide($this);
|
2983
|
-
} else {
|
2984
|
-
if (settings.disable_for_touch && Modernizr.touch && /touchstart|MSPointerDown/i.test(e.type)) {
|
2985
|
-
return;
|
2986
|
-
} else if(!settings.disable_for_touch && Modernizr.touch && /touchstart|MSPointerDown/i.test(e.type)) {
|
2987
|
-
e.preventDefault();
|
2988
|
-
S(settings.tooltip_class + '.open').hide();
|
2989
|
-
is_touch = true;
|
2990
|
-
}
|
2991
|
-
|
2992
|
-
if (/enter|over/i.test(e.type)) {
|
2993
|
-
this.timer = setTimeout(function () {
|
2994
|
-
var tip = self.showTip($this);
|
2995
|
-
}.bind(this), self.settings.hover_delay);
|
2996
|
-
} else if (e.type === 'mouseout' || e.type === 'mouseleave') {
|
2997
|
-
clearTimeout(this.timer);
|
2998
|
-
self.hide($this);
|
2999
|
-
} else {
|
3000
|
-
self.showTip($this);
|
3001
|
-
}
|
3002
|
-
}
|
3003
|
-
})
|
3004
|
-
.on('mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip', '[' + this.attr_name() + '].open', function (e) {
|
3005
|
-
if (/mouse/i.test(e.type) && self.ie_touch(e)) return false;
|
3006
|
-
|
3007
|
-
if($(this).data('tooltip-open-event-type') == 'touch' && e.type == 'mouseleave') {
|
3008
|
-
return;
|
3009
|
-
}
|
3010
|
-
else if($(this).data('tooltip-open-event-type') == 'mouse' && /MSPointerDown|touchstart/i.test(e.type)) {
|
3011
|
-
self.convert_to_touch($(this));
|
3012
|
-
} else {
|
3013
|
-
self.hide($(this));
|
3014
|
-
}
|
3015
|
-
})
|
3016
|
-
.on('DOMNodeRemoved DOMAttrModified', '[' + this.attr_name() + ']:not(a)', function (e) {
|
3017
|
-
self.hide(S(this));
|
3018
|
-
});
|
3019
|
-
},
|
3020
|
-
|
3021
|
-
ie_touch : function (e) {
|
3022
|
-
// How do I distinguish between IE11 and Windows Phone 8?????
|
3023
|
-
return false;
|
3024
|
-
},
|
3025
|
-
|
3026
|
-
showTip : function ($target) {
|
3027
|
-
var $tip = this.getTip($target);
|
3028
|
-
if (this.should_show($target, $tip)){
|
3029
|
-
return this.show($target);
|
3030
|
-
}
|
3031
|
-
return;
|
3032
|
-
},
|
3033
|
-
|
3034
|
-
getTip : function ($target) {
|
3035
|
-
var selector = this.selector($target),
|
3036
|
-
settings = $.extend({}, this.settings, this.data_options($target)),
|
3037
|
-
tip = null;
|
3038
|
-
|
3039
|
-
if (selector) {
|
3040
|
-
tip = this.S('span[data-selector="' + selector + '"]' + settings.tooltip_class);
|
3041
|
-
}
|
3042
|
-
|
3043
|
-
return (typeof tip === 'object') ? tip : false;
|
3044
|
-
},
|
3045
|
-
|
3046
|
-
selector : function ($target) {
|
3047
|
-
var id = $target.attr('id'),
|
3048
|
-
dataSelector = $target.attr(this.attr_name()) || $target.attr('data-selector');
|
3049
|
-
|
3050
|
-
if ((id && id.length < 1 || !id) && typeof dataSelector != 'string') {
|
3051
|
-
dataSelector = this.random_str(6);
|
3052
|
-
$target
|
3053
|
-
.attr('data-selector', dataSelector)
|
3054
|
-
.attr('aria-describedby', dataSelector);
|
3055
|
-
}
|
3056
|
-
|
3057
|
-
return (id && id.length > 0) ? id : dataSelector;
|
3058
|
-
},
|
3059
|
-
|
3060
|
-
create : function ($target) {
|
3061
|
-
var self = this,
|
3062
|
-
settings = $.extend({}, this.settings, this.data_options($target)),
|
3063
|
-
tip_template = this.settings.tip_template;
|
3064
|
-
|
3065
|
-
if (typeof settings.tip_template === 'string' && window.hasOwnProperty(settings.tip_template)) {
|
3066
|
-
tip_template = window[settings.tip_template];
|
3067
|
-
}
|
3068
|
-
|
3069
|
-
var $tip = $(tip_template(this.selector($target), $('<div></div>').html($target.attr('title')).html())),
|
3070
|
-
classes = this.inheritable_classes($target);
|
3071
|
-
|
3072
|
-
$tip.addClass(classes).appendTo(settings.append_to);
|
3073
|
-
|
3074
|
-
if (Modernizr.touch) {
|
3075
|
-
$tip.append('<span class="tap-to-close">'+settings.touch_close_text+'</span>');
|
3076
|
-
$tip.on('touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip', function(e) {
|
3077
|
-
self.hide($target);
|
3078
|
-
});
|
3079
|
-
}
|
3080
|
-
|
3081
|
-
$target.removeAttr('title').attr('title','');
|
3082
|
-
},
|
3083
|
-
|
3084
|
-
reposition : function (target, tip, classes) {
|
3085
|
-
var width, nub, nubHeight, nubWidth, column, objPos;
|
3086
|
-
|
3087
|
-
tip.css('visibility', 'hidden').show();
|
3088
|
-
|
3089
|
-
width = target.data('width');
|
3090
|
-
nub = tip.children('.nub');
|
3091
|
-
nubHeight = nub.outerHeight();
|
3092
|
-
nubWidth = nub.outerHeight();
|
3093
|
-
|
3094
|
-
if (this.small()) {
|
3095
|
-
tip.css({'width' : '100%' });
|
3096
|
-
} else {
|
3097
|
-
tip.css({'width' : (width) ? width : 'auto'});
|
3098
|
-
}
|
3099
|
-
|
3100
|
-
objPos = function (obj, top, right, bottom, left, width) {
|
3101
|
-
return obj.css({
|
3102
|
-
'top' : (top) ? top : 'auto',
|
3103
|
-
'bottom' : (bottom) ? bottom : 'auto',
|
3104
|
-
'left' : (left) ? left : 'auto',
|
3105
|
-
'right' : (right) ? right : 'auto'
|
3106
|
-
}).end();
|
3107
|
-
};
|
3108
|
-
|
3109
|
-
objPos(tip, (target.offset().top + target.outerHeight() + 10), 'auto', 'auto', target.offset().left);
|
3110
|
-
|
3111
|
-
if (this.small()) {
|
3112
|
-
objPos(tip, (target.offset().top + target.outerHeight() + 10), 'auto', 'auto', 12.5, $(this.scope).width());
|
3113
|
-
tip.addClass('tip-override');
|
3114
|
-
objPos(nub, -nubHeight, 'auto', 'auto', target.offset().left);
|
3115
|
-
} else {
|
3116
|
-
var left = target.offset().left;
|
3117
|
-
if (Foundation.rtl) {
|
3118
|
-
nub.addClass('rtl');
|
3119
|
-
left = target.offset().left + target.outerWidth() - tip.outerWidth();
|
3120
|
-
}
|
3121
|
-
objPos(tip, (target.offset().top + target.outerHeight() + 10), 'auto', 'auto', left);
|
3122
|
-
tip.removeClass('tip-override');
|
3123
|
-
if (classes && classes.indexOf('tip-top') > -1) {
|
3124
|
-
if (Foundation.rtl) nub.addClass('rtl');
|
3125
|
-
objPos(tip, (target.offset().top - tip.outerHeight()), 'auto', 'auto', left)
|
3126
|
-
.removeClass('tip-override');
|
3127
|
-
} else if (classes && classes.indexOf('tip-left') > -1) {
|
3128
|
-
objPos(tip, (target.offset().top + (target.outerHeight() / 2) - (tip.outerHeight() / 2)), 'auto', 'auto', (target.offset().left - tip.outerWidth() - nubHeight))
|
3129
|
-
.removeClass('tip-override');
|
3130
|
-
nub.removeClass('rtl');
|
3131
|
-
} else if (classes && classes.indexOf('tip-right') > -1) {
|
3132
|
-
objPos(tip, (target.offset().top + (target.outerHeight() / 2) - (tip.outerHeight() / 2)), 'auto', 'auto', (target.offset().left + target.outerWidth() + nubHeight))
|
3133
|
-
.removeClass('tip-override');
|
3134
|
-
nub.removeClass('rtl');
|
3135
|
-
}
|
3136
|
-
}
|
3137
|
-
|
3138
|
-
tip.css('visibility', 'visible').hide();
|
3139
|
-
},
|
3140
|
-
|
3141
|
-
small : function () {
|
3142
|
-
return matchMedia(Foundation.media_queries.small).matches &&
|
3143
|
-
!matchMedia(Foundation.media_queries.medium).matches;
|
3144
|
-
},
|
3145
|
-
|
3146
|
-
inheritable_classes : function ($target) {
|
3147
|
-
var settings = $.extend({}, this.settings, this.data_options($target)),
|
3148
|
-
inheritables = ['tip-top', 'tip-left', 'tip-bottom', 'tip-right', 'radius', 'round'].concat(settings.additional_inheritable_classes),
|
3149
|
-
classes = $target.attr('class'),
|
3150
|
-
filtered = classes ? $.map(classes.split(' '), function (el, i) {
|
3151
|
-
if ($.inArray(el, inheritables) !== -1) {
|
3152
|
-
return el;
|
3153
|
-
}
|
3154
|
-
}).join(' ') : '';
|
3155
|
-
|
3156
|
-
return $.trim(filtered);
|
3157
|
-
},
|
3158
|
-
|
3159
|
-
convert_to_touch : function($target) {
|
3160
|
-
var self = this,
|
3161
|
-
$tip = self.getTip($target),
|
3162
|
-
settings = $.extend({}, self.settings, self.data_options($target));
|
3163
|
-
|
3164
|
-
if ($tip.find('.tap-to-close').length === 0) {
|
3165
|
-
$tip.append('<span class="tap-to-close">'+settings.touch_close_text+'</span>');
|
3166
|
-
$tip.on('click.fndtn.tooltip.tapclose touchstart.fndtn.tooltip.tapclose MSPointerDown.fndtn.tooltip.tapclose', function(e) {
|
3167
|
-
self.hide($target);
|
3168
|
-
});
|
3169
|
-
}
|
3170
|
-
|
3171
|
-
$target.data('tooltip-open-event-type', 'touch');
|
3172
|
-
},
|
3173
|
-
|
3174
|
-
show : function ($target) {
|
3175
|
-
var $tip = this.getTip($target);
|
3176
|
-
|
3177
|
-
if ($target.data('tooltip-open-event-type') == 'touch') {
|
3178
|
-
this.convert_to_touch($target);
|
3179
|
-
}
|
3180
|
-
|
3181
|
-
this.reposition($target, $tip, $target.attr('class'));
|
3182
|
-
$target.addClass('open');
|
3183
|
-
$tip.fadeIn(150);
|
3184
|
-
},
|
3185
|
-
|
3186
|
-
hide : function ($target) {
|
3187
|
-
var $tip = this.getTip($target);
|
3188
|
-
|
3189
|
-
$tip.fadeOut(150, function() {
|
3190
|
-
$tip.find('.tap-to-close').remove();
|
3191
|
-
$tip.off('click.fndtn.tooltip.tapclose MSPointerDown.fndtn.tapclose');
|
3192
|
-
$target.removeClass('open');
|
3193
|
-
});
|
3194
|
-
},
|
3195
|
-
|
3196
|
-
off : function () {
|
3197
|
-
var self = this;
|
3198
|
-
this.S(this.scope).off('.fndtn.tooltip');
|
3199
|
-
this.S(this.settings.tooltip_class).each(function (i) {
|
3200
|
-
$('[' + self.attr_name() + ']').eq(i).attr('title', $(this).text());
|
3201
|
-
}).remove();
|
3202
|
-
},
|
3203
|
-
|
3204
|
-
reflow : function () {}
|
3205
|
-
};
|
3206
|
-
}(jQuery, window, window.document));
|
3207
|
-
;(function ($, window, document, undefined) {
|
3208
|
-
'use strict';
|
3209
|
-
|
3210
|
-
Foundation.libs.topbar = {
|
3211
|
-
name : 'topbar',
|
3212
|
-
|
3213
|
-
version: '5.4.7',
|
3214
|
-
|
3215
|
-
settings : {
|
3216
|
-
index : 0,
|
3217
|
-
sticky_class : 'sticky',
|
3218
|
-
custom_back_text: true,
|
3219
|
-
back_text: 'Back',
|
3220
|
-
mobile_show_parent_link: true,
|
3221
|
-
is_hover: true,
|
3222
|
-
scrolltop : true, // jump to top when sticky nav menu toggle is clicked
|
3223
|
-
sticky_on : 'all'
|
3224
|
-
},
|
3225
|
-
|
3226
|
-
init : function (section, method, options) {
|
3227
|
-
Foundation.inherit(this, 'add_custom_rule register_media throttle');
|
3228
|
-
var self = this;
|
3229
|
-
|
3230
|
-
self.register_media('topbar', 'foundation-mq-topbar');
|
3231
|
-
|
3232
|
-
this.bindings(method, options);
|
3233
|
-
|
3234
|
-
self.S('[' + this.attr_name() + ']', this.scope).each(function () {
|
3235
|
-
var topbar = $(this),
|
3236
|
-
settings = topbar.data(self.attr_name(true) + '-init'),
|
3237
|
-
section = self.S('section, .top-bar-section', this);
|
3238
|
-
topbar.data('index', 0);
|
3239
|
-
var topbarContainer = topbar.parent();
|
3240
|
-
if (topbarContainer.hasClass('fixed') || self.is_sticky(topbar, topbarContainer, settings) ) {
|
3241
|
-
self.settings.sticky_class = settings.sticky_class;
|
3242
|
-
self.settings.sticky_topbar = topbar;
|
3243
|
-
topbar.data('height', topbarContainer.outerHeight());
|
3244
|
-
topbar.data('stickyoffset', topbarContainer.offset().top);
|
3245
|
-
} else {
|
3246
|
-
topbar.data('height', topbar.outerHeight());
|
3247
|
-
}
|
3248
|
-
|
3249
|
-
if (!settings.assembled) {
|
3250
|
-
self.assemble(topbar);
|
3251
|
-
}
|
3252
|
-
|
3253
|
-
if (settings.is_hover) {
|
3254
|
-
self.S('.has-dropdown', topbar).addClass('not-click');
|
3255
|
-
} else {
|
3256
|
-
self.S('.has-dropdown', topbar).removeClass('not-click');
|
3257
|
-
}
|
3258
|
-
|
3259
|
-
// Pad body when sticky (scrolled) or fixed.
|
3260
|
-
self.add_custom_rule('.f-topbar-fixed { padding-top: ' + topbar.data('height') + 'px }');
|
3261
|
-
|
3262
|
-
if (topbarContainer.hasClass('fixed')) {
|
3263
|
-
self.S('body').addClass('f-topbar-fixed');
|
3264
|
-
}
|
3265
|
-
});
|
3266
|
-
|
3267
|
-
},
|
3268
|
-
|
3269
|
-
is_sticky: function (topbar, topbarContainer, settings) {
|
3270
|
-
var sticky = topbarContainer.hasClass(settings.sticky_class);
|
3271
|
-
|
3272
|
-
if (sticky && settings.sticky_on === 'all') {
|
3273
|
-
return true;
|
3274
|
-
} else if (sticky && this.small() && settings.sticky_on === 'small') {
|
3275
|
-
return (matchMedia(Foundation.media_queries.small).matches && !matchMedia(Foundation.media_queries.medium).matches &&
|
3276
|
-
!matchMedia(Foundation.media_queries.large).matches);
|
3277
|
-
//return true;
|
3278
|
-
} else if (sticky && this.medium() && settings.sticky_on === 'medium') {
|
3279
|
-
return (matchMedia(Foundation.media_queries.small).matches && matchMedia(Foundation.media_queries.medium).matches &&
|
3280
|
-
!matchMedia(Foundation.media_queries.large).matches);
|
3281
|
-
//return true;
|
3282
|
-
} else if(sticky && this.large() && settings.sticky_on === 'large') {
|
3283
|
-
return (matchMedia(Foundation.media_queries.small).matches && matchMedia(Foundation.media_queries.medium).matches &&
|
3284
|
-
matchMedia(Foundation.media_queries.large).matches);
|
3285
|
-
//return true;
|
3286
|
-
}
|
3287
|
-
|
3288
|
-
return false;
|
3289
|
-
},
|
3290
|
-
|
3291
|
-
toggle: function (toggleEl) {
|
3292
|
-
var self = this,
|
3293
|
-
topbar;
|
3294
|
-
|
3295
|
-
if (toggleEl) {
|
3296
|
-
topbar = self.S(toggleEl).closest('[' + this.attr_name() + ']');
|
3297
|
-
} else {
|
3298
|
-
topbar = self.S('[' + this.attr_name() + ']');
|
3299
|
-
}
|
3300
|
-
|
3301
|
-
var settings = topbar.data(this.attr_name(true) + '-init');
|
3302
|
-
|
3303
|
-
var section = self.S('section, .top-bar-section', topbar);
|
3304
|
-
|
3305
|
-
if (self.breakpoint()) {
|
3306
|
-
if (!self.rtl) {
|
3307
|
-
section.css({left: '0%'});
|
3308
|
-
$('>.name', section).css({left: '100%'});
|
3309
|
-
} else {
|
3310
|
-
section.css({right: '0%'});
|
3311
|
-
$('>.name', section).css({right: '100%'});
|
3312
|
-
}
|
3313
|
-
|
3314
|
-
self.S('li.moved', section).removeClass('moved');
|
3315
|
-
topbar.data('index', 0);
|
3316
|
-
|
3317
|
-
topbar
|
3318
|
-
.toggleClass('expanded')
|
3319
|
-
.css('height', '');
|
3320
|
-
}
|
3321
|
-
|
3322
|
-
if (settings.scrolltop) {
|
3323
|
-
if (!topbar.hasClass('expanded')) {
|
3324
|
-
if (topbar.hasClass('fixed')) {
|
3325
|
-
topbar.parent().addClass('fixed');
|
3326
|
-
topbar.removeClass('fixed');
|
3327
|
-
self.S('body').addClass('f-topbar-fixed');
|
3328
|
-
}
|
3329
|
-
} else if (topbar.parent().hasClass('fixed')) {
|
3330
|
-
if (settings.scrolltop) {
|
3331
|
-
topbar.parent().removeClass('fixed');
|
3332
|
-
topbar.addClass('fixed');
|
3333
|
-
self.S('body').removeClass('f-topbar-fixed');
|
3334
|
-
|
3335
|
-
window.scrollTo(0,0);
|
3336
|
-
} else {
|
3337
|
-
topbar.parent().removeClass('expanded');
|
3338
|
-
}
|
3339
|
-
}
|
3340
|
-
} else {
|
3341
|
-
if (self.is_sticky(topbar, topbar.parent(), settings)) {
|
3342
|
-
topbar.parent().addClass('fixed');
|
3343
|
-
}
|
3344
|
-
|
3345
|
-
if (topbar.parent().hasClass('fixed')) {
|
3346
|
-
if (!topbar.hasClass('expanded')) {
|
3347
|
-
topbar.removeClass('fixed');
|
3348
|
-
topbar.parent().removeClass('expanded');
|
3349
|
-
self.update_sticky_positioning();
|
3350
|
-
} else {
|
3351
|
-
topbar.addClass('fixed');
|
3352
|
-
topbar.parent().addClass('expanded');
|
3353
|
-
self.S('body').addClass('f-topbar-fixed');
|
3354
|
-
}
|
3355
|
-
}
|
3356
|
-
}
|
3357
|
-
},
|
3358
|
-
|
3359
|
-
timer : null,
|
3360
|
-
|
3361
|
-
events : function (bar) {
|
3362
|
-
var self = this,
|
3363
|
-
S = this.S;
|
3364
|
-
|
3365
|
-
S(this.scope)
|
3366
|
-
.off('.topbar')
|
3367
|
-
.on('click.fndtn.topbar', '[' + this.attr_name() + '] .toggle-topbar', function (e) {
|
3368
|
-
e.preventDefault();
|
3369
|
-
self.toggle(this);
|
3370
|
-
})
|
3371
|
-
.on('click.fndtn.topbar','.top-bar .top-bar-section li a[href^="#"],[' + this.attr_name() + '] .top-bar-section li a[href^="#"]',function (e) {
|
3372
|
-
var li = $(this).closest('li');
|
3373
|
-
if(self.breakpoint() && !li.hasClass('back') && !li.hasClass('has-dropdown'))
|
3374
|
-
{
|
3375
|
-
self.toggle();
|
3376
|
-
}
|
3377
|
-
})
|
3378
|
-
.on('click.fndtn.topbar', '[' + this.attr_name() + '] li.has-dropdown', function (e) {
|
3379
|
-
var li = S(this),
|
3380
|
-
target = S(e.target),
|
3381
|
-
topbar = li.closest('[' + self.attr_name() + ']'),
|
3382
|
-
settings = topbar.data(self.attr_name(true) + '-init');
|
3383
|
-
|
3384
|
-
if(target.data('revealId')) {
|
3385
|
-
self.toggle();
|
3386
|
-
return;
|
3387
|
-
}
|
3388
|
-
|
3389
|
-
if (self.breakpoint()) return;
|
3390
|
-
if (settings.is_hover && !Modernizr.touch) return;
|
3391
|
-
|
3392
|
-
e.stopImmediatePropagation();
|
3393
|
-
|
3394
|
-
if (li.hasClass('hover')) {
|
3395
|
-
li
|
3396
|
-
.removeClass('hover')
|
3397
|
-
.find('li')
|
3398
|
-
.removeClass('hover');
|
3399
|
-
|
3400
|
-
li.parents('li.hover')
|
3401
|
-
.removeClass('hover');
|
3402
|
-
} else {
|
3403
|
-
li.addClass('hover');
|
3404
|
-
|
3405
|
-
$(li).siblings().removeClass('hover');
|
3406
|
-
|
3407
|
-
if (target[0].nodeName === 'A' && target.parent().hasClass('has-dropdown')) {
|
3408
|
-
e.preventDefault();
|
3409
|
-
}
|
3410
|
-
}
|
3411
|
-
})
|
3412
|
-
.on('click.fndtn.topbar', '[' + this.attr_name() + '] .has-dropdown>a', function (e) {
|
3413
|
-
if (self.breakpoint()) {
|
3414
|
-
|
3415
|
-
e.preventDefault();
|
3416
|
-
|
3417
|
-
var $this = S(this),
|
3418
|
-
topbar = $this.closest('[' + self.attr_name() + ']'),
|
3419
|
-
section = topbar.find('section, .top-bar-section'),
|
3420
|
-
dropdownHeight = $this.next('.dropdown').outerHeight(),
|
3421
|
-
$selectedLi = $this.closest('li');
|
3422
|
-
|
3423
|
-
topbar.data('index', topbar.data('index') + 1);
|
3424
|
-
$selectedLi.addClass('moved');
|
3425
|
-
|
3426
|
-
if (!self.rtl) {
|
3427
|
-
section.css({left: -(100 * topbar.data('index')) + '%'});
|
3428
|
-
section.find('>.name').css({left: 100 * topbar.data('index') + '%'});
|
3429
|
-
} else {
|
3430
|
-
section.css({right: -(100 * topbar.data('index')) + '%'});
|
3431
|
-
section.find('>.name').css({right: 100 * topbar.data('index') + '%'});
|
3432
|
-
}
|
3433
|
-
|
3434
|
-
topbar.css('height', $this.siblings('ul').outerHeight(true) + topbar.data('height'));
|
3435
|
-
}
|
3436
|
-
});
|
3437
|
-
|
3438
|
-
S(window).off(".topbar").on("resize.fndtn.topbar", self.throttle(function() {
|
3439
|
-
self.resize.call(self);
|
3440
|
-
}, 50)).trigger("resize").trigger("resize.fndtn.topbar").load(function(){
|
3441
|
-
// Ensure that the offset is calculated after all of the pages resources have loaded
|
3442
|
-
S(this).trigger("resize.fndtn.topbar");
|
3443
|
-
});
|
3444
|
-
|
3445
|
-
S('body').off('.topbar').on('click.fndtn.topbar', function (e) {
|
3446
|
-
var parent = S(e.target).closest('li').closest('li.hover');
|
3447
|
-
|
3448
|
-
if (parent.length > 0) {
|
3449
|
-
return;
|
3450
|
-
}
|
3451
|
-
|
3452
|
-
S('[' + self.attr_name() + '] li.hover').removeClass('hover');
|
3453
|
-
});
|
3454
|
-
|
3455
|
-
// Go up a level on Click
|
3456
|
-
S(this.scope).on('click.fndtn.topbar', '[' + this.attr_name() + '] .has-dropdown .back', function (e) {
|
3457
|
-
e.preventDefault();
|
3458
|
-
|
3459
|
-
var $this = S(this),
|
3460
|
-
topbar = $this.closest('[' + self.attr_name() + ']'),
|
3461
|
-
section = topbar.find('section, .top-bar-section'),
|
3462
|
-
settings = topbar.data(self.attr_name(true) + '-init'),
|
3463
|
-
$movedLi = $this.closest('li.moved'),
|
3464
|
-
$previousLevelUl = $movedLi.parent();
|
3465
|
-
|
3466
|
-
topbar.data('index', topbar.data('index') - 1);
|
3467
|
-
|
3468
|
-
if (!self.rtl) {
|
3469
|
-
section.css({left: -(100 * topbar.data('index')) + '%'});
|
3470
|
-
section.find('>.name').css({left: 100 * topbar.data('index') + '%'});
|
3471
|
-
} else {
|
3472
|
-
section.css({right: -(100 * topbar.data('index')) + '%'});
|
3473
|
-
section.find('>.name').css({right: 100 * topbar.data('index') + '%'});
|
3474
|
-
}
|
3475
|
-
|
3476
|
-
if (topbar.data('index') === 0) {
|
3477
|
-
topbar.css('height', '');
|
3478
|
-
} else {
|
3479
|
-
topbar.css('height', $previousLevelUl.outerHeight(true) + topbar.data('height'));
|
3480
|
-
}
|
3481
|
-
|
3482
|
-
setTimeout(function () {
|
3483
|
-
$movedLi.removeClass('moved');
|
3484
|
-
}, 300);
|
3485
|
-
});
|
3486
|
-
|
3487
|
-
// Show dropdown menus when their items are focused
|
3488
|
-
S(this.scope).find('.dropdown a')
|
3489
|
-
.focus(function() {
|
3490
|
-
$(this).parents('.has-dropdown').addClass('hover');
|
3491
|
-
})
|
3492
|
-
.blur(function() {
|
3493
|
-
$(this).parents('.has-dropdown').removeClass('hover');
|
3494
|
-
});
|
3495
|
-
},
|
3496
|
-
|
3497
|
-
resize : function () {
|
3498
|
-
var self = this;
|
3499
|
-
self.S('[' + this.attr_name() + ']').each(function () {
|
3500
|
-
var topbar = self.S(this),
|
3501
|
-
settings = topbar.data(self.attr_name(true) + '-init');
|
3502
|
-
|
3503
|
-
var stickyContainer = topbar.parent('.' + self.settings.sticky_class);
|
3504
|
-
var stickyOffset;
|
3505
|
-
|
3506
|
-
if (!self.breakpoint()) {
|
3507
|
-
var doToggle = topbar.hasClass('expanded');
|
3508
|
-
topbar
|
3509
|
-
.css('height', '')
|
3510
|
-
.removeClass('expanded')
|
3511
|
-
.find('li')
|
3512
|
-
.removeClass('hover');
|
3513
|
-
|
3514
|
-
if(doToggle) {
|
3515
|
-
self.toggle(topbar);
|
3516
|
-
}
|
3517
|
-
}
|
3518
|
-
|
3519
|
-
if(self.is_sticky(topbar, stickyContainer, settings)) {
|
3520
|
-
if(stickyContainer.hasClass('fixed')) {
|
3521
|
-
// Remove the fixed to allow for correct calculation of the offset.
|
3522
|
-
stickyContainer.removeClass('fixed');
|
3523
|
-
|
3524
|
-
stickyOffset = stickyContainer.offset().top;
|
3525
|
-
if(self.S(document.body).hasClass('f-topbar-fixed')) {
|
3526
|
-
stickyOffset -= topbar.data('height');
|
3527
|
-
}
|
3528
|
-
|
3529
|
-
topbar.data('stickyoffset', stickyOffset);
|
3530
|
-
stickyContainer.addClass('fixed');
|
3531
|
-
} else {
|
3532
|
-
stickyOffset = stickyContainer.offset().top;
|
3533
|
-
topbar.data('stickyoffset', stickyOffset);
|
3534
|
-
}
|
3535
|
-
}
|
3536
|
-
|
3537
|
-
});
|
3538
|
-
},
|
3539
|
-
|
3540
|
-
breakpoint : function () {
|
3541
|
-
return !matchMedia(Foundation.media_queries['topbar']).matches;
|
3542
|
-
},
|
3543
|
-
|
3544
|
-
small : function () {
|
3545
|
-
return matchMedia(Foundation.media_queries['small']).matches;
|
3546
|
-
},
|
3547
|
-
|
3548
|
-
medium : function () {
|
3549
|
-
return matchMedia(Foundation.media_queries['medium']).matches;
|
3550
|
-
},
|
3551
|
-
|
3552
|
-
large : function () {
|
3553
|
-
return matchMedia(Foundation.media_queries['large']).matches;
|
3554
|
-
},
|
3555
|
-
|
3556
|
-
assemble : function (topbar) {
|
3557
|
-
var self = this,
|
3558
|
-
settings = topbar.data(this.attr_name(true) + '-init'),
|
3559
|
-
section = self.S('section, .top-bar-section', topbar);
|
3560
|
-
|
3561
|
-
// Pull element out of the DOM for manipulation
|
3562
|
-
section.detach();
|
3563
|
-
|
3564
|
-
self.S('.has-dropdown>a', section).each(function () {
|
3565
|
-
var $link = self.S(this),
|
3566
|
-
$dropdown = $link.siblings('.dropdown'),
|
3567
|
-
url = $link.attr('href'),
|
3568
|
-
$titleLi;
|
3569
|
-
|
3570
|
-
|
3571
|
-
if (!$dropdown.find('.title.back').length) {
|
3572
|
-
|
3573
|
-
if (settings.mobile_show_parent_link == true && url) {
|
3574
|
-
$titleLi = $('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5></li><li class="parent-link show-for-small"><a class="parent-link js-generated" href="' + url + '">' + $link.html() +'</a></li>');
|
3575
|
-
} else {
|
3576
|
-
$titleLi = $('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5>');
|
3577
|
-
}
|
3578
|
-
|
3579
|
-
// Copy link to subnav
|
3580
|
-
if (settings.custom_back_text == true) {
|
3581
|
-
$('h5>a', $titleLi).html(settings.back_text);
|
3582
|
-
} else {
|
3583
|
-
$('h5>a', $titleLi).html('« ' + $link.html());
|
3584
|
-
}
|
3585
|
-
$dropdown.prepend($titleLi);
|
3586
|
-
}
|
3587
|
-
});
|
3588
|
-
|
3589
|
-
// Put element back in the DOM
|
3590
|
-
section.appendTo(topbar);
|
3591
|
-
|
3592
|
-
// check for sticky
|
3593
|
-
this.sticky();
|
3594
|
-
|
3595
|
-
this.assembled(topbar);
|
3596
|
-
},
|
3597
|
-
|
3598
|
-
assembled : function (topbar) {
|
3599
|
-
topbar.data(this.attr_name(true), $.extend({}, topbar.data(this.attr_name(true)), {assembled: true}));
|
3600
|
-
},
|
3601
|
-
|
3602
|
-
height : function (ul) {
|
3603
|
-
var total = 0,
|
3604
|
-
self = this;
|
3605
|
-
|
3606
|
-
$('> li', ul).each(function () {
|
3607
|
-
total += self.S(this).outerHeight(true);
|
3608
|
-
});
|
3609
|
-
|
3610
|
-
return total;
|
3611
|
-
},
|
3612
|
-
|
3613
|
-
sticky : function () {
|
3614
|
-
var self = this;
|
3615
|
-
|
3616
|
-
this.S(window).on('scroll', function() {
|
3617
|
-
self.update_sticky_positioning();
|
3618
|
-
});
|
3619
|
-
},
|
3620
|
-
|
3621
|
-
update_sticky_positioning: function() {
|
3622
|
-
var klass = '.' + this.settings.sticky_class,
|
3623
|
-
$window = this.S(window),
|
3624
|
-
self = this;
|
3625
|
-
|
3626
|
-
if (self.settings.sticky_topbar && self.is_sticky(this.settings.sticky_topbar,this.settings.sticky_topbar.parent(), this.settings)) {
|
3627
|
-
var distance = this.settings.sticky_topbar.data('stickyoffset');
|
3628
|
-
if (!self.S(klass).hasClass('expanded')) {
|
3629
|
-
if ($window.scrollTop() > (distance)) {
|
3630
|
-
if (!self.S(klass).hasClass('fixed')) {
|
3631
|
-
self.S(klass).addClass('fixed');
|
3632
|
-
self.S('body').addClass('f-topbar-fixed');
|
3633
|
-
}
|
3634
|
-
} else if ($window.scrollTop() <= distance) {
|
3635
|
-
if (self.S(klass).hasClass('fixed')) {
|
3636
|
-
self.S(klass).removeClass('fixed');
|
3637
|
-
self.S('body').removeClass('f-topbar-fixed');
|
3638
|
-
}
|
3639
|
-
}
|
3640
|
-
}
|
3641
|
-
}
|
3642
|
-
},
|
3643
|
-
|
3644
|
-
off : function () {
|
3645
|
-
this.S(this.scope).off('.fndtn.topbar');
|
3646
|
-
this.S(window).off('.fndtn.topbar');
|
3647
|
-
},
|
3648
|
-
|
3649
|
-
reflow : function () {}
|
3650
|
-
};
|
3651
|
-
}(jQuery, window, window.document));
|