Photo Gallery by Envira – Responsive Image Gallery for WordPress - Version 1.6.1.3

Version Description

  • Fix: Compress CSS files.
  • Fix: External URL in Lightbox.
  • Fix: Minor bug fixes
Download this release

Release Info

Developer chrisakelley
Plugin Icon 128x128 Photo Gallery by Envira – Responsive Image Gallery for WordPress
Version 1.6.1.3
Comparing to
See all releases

Code changes from version 1.6.1.2 to 1.6.1.3

assets/css/admin.css CHANGED
@@ -1,623 +1 @@
1
- /* ==========================================================================
2
- admin.css loads on all Envira Administration Screens:
3
- - WP_List_Tables
4
- - Add New
5
- - Albums
6
- - Settings
7
- - NextGEN Import
8
-
9
- Any styles that will be used by all of the above (or are useful to be included
10
- for future use) should be added to this file:
11
- - Header and Logo
12
- - WordPress Red Button
13
- ========================================================================== */
14
- /* ==========================================================================
15
- Imports
16
- ========================================================================== */
17
- /* ==========================================================================
18
- Variables SCSS
19
- ========================================================================== */
20
- /* ==========================================================================
21
- Mixins
22
- ========================================================================== */
23
- /**
24
- * Media Query
25
- */
26
- /**
27
- * Border-Radius
28
- */
29
- body.post-type-envira,
30
- body.post-type-envira_album {
31
- /**
32
- * Subheading
33
- */
34
- /**
35
- * Wrapper
36
- */
37
- /* ==========================================================================
38
- Button Styles
39
- ========================================================================== */
40
- /* ==========================================================================
41
- Thickbox (used for choosing a Default Gallery/Album)
42
- ========================================================================== */ }
43
- body.post-type-envira #wpcontent,
44
- body.post-type-envira_album #wpcontent {
45
- padding-left: 0; }
46
- body.post-type-envira .update-nag,
47
- body.post-type-envira_album .update-nag {
48
- margin-left: 20px;
49
- margin-bottom: 20px; }
50
- body.post-type-envira .subheading,
51
- body.post-type-envira_album .subheading {
52
- background-color: #ffffff;
53
- height: 45px;
54
- margin-left: -20px; }
55
- @media (min-width: 600px) and (max-width: 767px) {
56
- body.post-type-envira .subheading,
57
- body.post-type-envira_album .subheading {
58
- height: auto;
59
- padding-bottom: 20px; } }
60
- body.post-type-envira .subheading h1,
61
- body.post-type-envira_album .subheading h1 {
62
- font-size: 20px;
63
- font-weight: 400;
64
- line-height: 45px;
65
- margin: 0 0 0 20px;
66
- padding-left: 20px; }
67
- body.post-type-envira div.wrap,
68
- body.post-type-envira_album div.wrap {
69
- margin: 0;
70
- /**
71
- * Page Title Action (i.e. Add New)
72
- */
73
- /**
74
- * Screen Title
75
- * - h1 used from WordPress 4.3+
76
- * - h2 used in WordPress 4.2-
77
- */
78
- /**
79
- * Tab Panels
80
- * - By default, they're hidden and the .envira-active class displays them
81
- */
82
- /**
83
- * Code Snippets
84
- */ }
85
- body.post-type-envira div.wrap a.page-title-action,
86
- body.post-type-envira_album div.wrap a.page-title-action {
87
- position: relative;
88
- top: -55px;
89
- left: 185px;
90
- /* default - English */
91
- /* display: none; */
92
- /* Trying To Prevent The "Shift" Upload Page Load Before JS can move the button */
93
- /* margin-left: 10px; */
94
- /* Change WordPress 4.7 */ }
95
- body.post-type-envira div.wrap a.page-title-action:hover,
96
- body.post-type-envira_album div.wrap a.page-title-action:hover {
97
- background: #95dc5e;
98
- border-color: #95dc5e;
99
- color: #ffffff; }
100
- body.post-type-envira div.wrap > h1,
101
- body.post-type-envira div.wrap > h2,
102
- body.post-type-envira_album div.wrap > h1,
103
- body.post-type-envira_album div.wrap > h2 {
104
- margin: 0 0 20px 0;
105
- padding: 15px 0 10px;
106
- background: #ffffff;
107
- font-weight: 600;
108
- font-size: 20px;
109
- width: 100%;
110
- text-indent: 20px;
111
- /**
112
- * Page Title Action (i.e. Add New)
113
- */
114
- /**
115
- * Subtitle (search results title)
116
- */ }
117
- body.post-type-envira div.wrap > h1 a.page-title-action,
118
- body.post-type-envira div.wrap > h2 a.page-title-action,
119
- body.post-type-envira_album div.wrap > h1 a.page-title-action,
120
- body.post-type-envira_album div.wrap > h2 a.page-title-action {
121
- top: -3px;
122
- left: auto;
123
- /* display: none; */
124
- /* Trying To Prevent The "Shift" Upload Page Load Before JS can move the button */
125
- /* margin-left: 10px; */
126
- /* Change WordPress 4.7 */ }
127
- body.post-type-envira div.wrap > h1 a.page-title-action:hover,
128
- body.post-type-envira div.wrap > h2 a.page-title-action:hover,
129
- body.post-type-envira_album div.wrap > h1 a.page-title-action:hover,
130
- body.post-type-envira_album div.wrap > h2 a.page-title-action:hover {
131
- background: #95dc5e;
132
- border-color: #95dc5e;
133
- color: #ffffff; }
134
- body.post-type-envira div.wrap > h1 span.subtitle,
135
- body.post-type-envira div.wrap > h2 span.subtitle,
136
- body.post-type-envira_album div.wrap > h1 span.subtitle,
137
- body.post-type-envira_album div.wrap > h2 span.subtitle {
138
- float: right; }
139
- body.post-type-envira div.wrap .envira-tab,
140
- body.post-type-envira_album div.wrap .envira-tab {
141
- display: none;
142
- /**
143
- * Active Tab
144
- */ }
145
- body.post-type-envira div.wrap .envira-tab.envira-active,
146
- body.post-type-envira_album div.wrap .envira-tab.envira-active {
147
- display: block; }
148
- body.post-type-envira div.wrap div.envira-code,
149
- body.post-type-envira_album div.wrap div.envira-code {
150
- position: relative;
151
- margin: 0 0 10px 0;
152
- /**
153
- * Clearfix
154
- */
155
- /**
156
- * Copy to Clipboard
157
- */ }
158
- body.post-type-envira div.wrap div.envira-code:after,
159
- body.post-type-envira_album div.wrap div.envira-code:after {
160
- content: "";
161
- display: table;
162
- clear: both; }
163
- body.post-type-envira div.wrap div.envira-code code,
164
- body.post-type-envira_album div.wrap div.envira-code code {
165
- display: block;
166
- font-size: 11px;
167
- padding: 5px 20px 5px 5px; }
168
- body.post-type-envira div.wrap div.envira-code a.envira-clipboard,
169
- body.post-type-envira_album div.wrap div.envira-code a.envira-clipboard {
170
- position: absolute;
171
- top: 5px;
172
- right: 5px;
173
- color: #23282d; }
174
- body.post-type-envira div.wrap div.envira-code a.envira-clipboard span,
175
- body.post-type-envira_album div.wrap div.envira-code a.envira-clipboard span {
176
- display: block;
177
- text-indent: -9999px; }
178
- body.post-type-envira .button,
179
- body.post-type-envira_album .button {
180
- -webkit-border-radius: 2px;
181
- -moz-border-radius: 2px;
182
- -o-border-radius: 2px;
183
- border-radius: 2px;
184
- padding: 0 16px 1px;
185
- height: 33px;
186
- line-height: 30px;
187
- text-decoration: none;
188
- text-shadow: none;
189
- font-weight: 600;
190
- -webkit-box-shadow: none;
191
- box-shadow: none;
192
- /**
193
- * Small
194
- */
195
- /**
196
- * Extra Large
197
- * (.button-large is used on publish actions in WordPress, so we don't want to affect that)
198
- */
199
- /**
200
- * Screen Options
201
- * - Don't set a height
202
- */
203
- /**
204
- * Green Button
205
- * - Replaces WordPress' default primary button style
206
- */
207
- /**
208
- * Red Button
209
- */ }
210
- body.post-type-envira .button.button-small,
211
- body.post-type-envira_album .button.button-small {
212
- padding: 0 8px 1px;
213
- line-height: 22px;
214
- height: 24px; }
215
- body.post-type-envira .button.button-x-large,
216
- body.post-type-envira_album .button.button-x-large {
217
- padding: 0 32px 1px;
218
- line-height: 48px;
219
- height: 50px;
220
- font-size: 18px;
221
- text-transform: uppercase; }
222
- @media (min-width: 600px) and (max-width: 767px) {
223
- body.post-type-envira .button,
224
- body.post-type-envira_album .button {
225
- margin-top: 10px; } }
226
- body.post-type-envira .button.show-settings,
227
- body.post-type-envira_album .button.show-settings {
228
- height: auto; }
229
- body.post-type-envira .button.button-primary,
230
- body.post-type-envira_album .button.button-primary {
231
- background: #7cc048;
232
- border-color: #7cc048;
233
- -webkit-box-shadow: none;
234
- box-shadow: none;
235
- color: #ffffff; }
236
- body.post-type-envira .button.button-primary:hover,
237
- body.post-type-envira_album .button.button-primary:hover {
238
- background: #95dc5e;
239
- border-color: #95dc5e;
240
- color: #ffffff; }
241
- body.post-type-envira .button.button-danger,
242
- body.post-type-envira_album .button.button-danger {
243
- background: #e02626;
244
- border-color: #e02626;
245
- -webkit-box-shadow: none;
246
- box-shadow: none;
247
- color: #ffffff; }
248
- body.post-type-envira .button.button-danger:hover,
249
- body.post-type-envira_album .button.button-danger:hover {
250
- background: #f85959;
251
- border-color: #f85959;
252
- color: #ffffff; }
253
- body.post-type-envira div#TB_window div.wrap,
254
- body.post-type-envira_album div#TB_window div.wrap {
255
- margin: 10px 20px 0 2px; }
256
-
257
- /* ==========================================================================
258
- Language Specific
259
- ========================================================================== */
260
- body.post-type-envira.locale-fr-fr,
261
- body.post-type-envira_album.locale-fr-fr {
262
- /**
263
- * Wrapper
264
- */ }
265
- body.post-type-envira.locale-fr-fr div.wrap,
266
- body.post-type-envira_album.locale-fr-fr div.wrap {
267
- /**
268
- * Page Title Action (i.e. Add New)
269
- */ }
270
- body.post-type-envira.locale-fr-fr div.wrap a.page-title-action,
271
- body.post-type-envira_album.locale-fr-fr div.wrap a.page-title-action {
272
- left: 220px; }
273
-
274
- /* ==========================================================================
275
- Header
276
- ========================================================================== */
277
- #envira-header-temp {
278
- position: relative; }
279
-
280
- #envira-header {
281
- background-color: #7cc048;
282
- height: 120px; }
283
- @media (max-width: 599px) {
284
- #envira-header {
285
- padding-top: 46px; } }
286
- #envira-header h1.envira-logo {
287
- margin: 0;
288
- line-height: 120px;
289
- margin-left: 20px; }
290
- #envira-header h1.envira-logo img {
291
- /**
292
- * Image width and height (image is 2x so this ensures it displays correctly)
293
- */
294
- max-width: 339px;
295
- height: auto;
296
- width: 90%;
297
- /**
298
- * Responsive - ensure the logo doesn't exceed the header dimensions
299
- */ }
300
- @media (min-width: 600px) and (max-width: 767px) {
301
- #envira-header h1.envira-logo img {
302
- width: 90%; } }
303
-
304
- @media (max-width: 599px) {
305
- #wpbody {
306
- padding-top: 0; } }
307
-
308
- body.post-type-envira_album div.wrap {
309
- /**
310
- * Page Title Action (i.e. Add New)
311
- */ }
312
- body.post-type-envira_album div.wrap a.page-title-action {
313
- left: 180px !important; }
314
- body.post-type-envira_album div.wrap > h1 a.page-title-action,
315
- body.post-type-envira_album div.wrap > h2 a.page-title-action {
316
- top: -3px !important;
317
- left: auto !important; }
318
-
319
- body.post-php.post-type-envira_album div.wrap {
320
- /**
321
- * Page Title Action (i.e. Add New)
322
- */ }
323
- body.post-php.post-type-envira_album div.wrap a.page-title-action {
324
- left: 200px !important; }
325
- body.post-php.post-type-envira_album div.wrap > h1 a.page-title-action,
326
- body.post-php.post-type-envira_album div.wrap > h2 a.page-title-action {
327
- top: -3px !important;
328
- left: auto !important; }
329
-
330
- body.post-php.post-type-envira div.wrap {
331
- /**
332
- * Page Title Action (i.e. Add New)
333
- */ }
334
- body.post-php.post-type-envira div.wrap a.page-title-action {
335
- left: 215px !important; }
336
- body.post-php.post-type-envira div.wrap > h1 a.page-title-action,
337
- body.post-php.post-type-envira div.wrap > h2 a.page-title-action {
338
- top: -3px !important;
339
- left: auto !important; }
340
-
341
- /* ==========================================================================
342
- Inline Notices
343
- - These are Envira-specific notices with custom styling for e.g. Instagram oAuth,
344
- upgrade / upsells.
345
- ========================================================================== */
346
- .envira-notice {
347
- position: relative;
348
- margin: 0 0 20px 0;
349
- padding: 20px;
350
- -webkit-border-radius: 2px;
351
- -moz-border-radius: 2px;
352
- -o-border-radius: 2px;
353
- border-radius: 2px;
354
- /**
355
- * Heading
356
- */
357
- /**
358
- * Close Button
359
- */
360
- /**
361
- * Success
362
- */
363
- /**
364
- * Warning
365
- */
366
- /**
367
- * Error
368
- */ }
369
- .envira-notice p.envira-intro {
370
- border: none !important;
371
- margin: 0 0 20px 0 !important;
372
- padding: 0 !important; }
373
- .envira-notice .notice-dismiss {
374
- top: 10px;
375
- right: 10px;
376
- color: #ffffff; }
377
- .envira-notice .notice-dismiss:before {
378
- color: #ffffff;
379
- width: 26px;
380
- height: 26px;
381
- font-size: 22px; }
382
- .envira-notice.success {
383
- background: #7cc048;
384
- color: #ffffff;
385
- border: none;
386
- /**
387
- * Button background color needs to be adjusted so it displays over the green background
388
- * of the success message
389
- */ }
390
- .envira-notice.success .button.button-primary {
391
- background-color: #95dc5e;
392
- border-color: #95dc5e; }
393
- .envira-notice.warning {
394
- background: #fcf8e3;
395
- border: 1px solid #faebcc; }
396
- .envira-notice.warning .notice-dismiss {
397
- color: #000000; }
398
- .envira-notice.warning .notice-dismiss:before {
399
- color: #000000; }
400
- .envira-notice.error {
401
- border-top: 1px solid #dc3232;
402
- border-right: 1px solid #dc3232;
403
- border-bottom: 1px solid #dc3232; }
404
-
405
- /* ==========================================================================
406
- Table, Add, Edit Screens
407
- ========================================================================== */
408
- body.post-type-envira.edit-php div.wrap,
409
- body.post-type-envira.post-new-php div.wrap,
410
- body.post-type-envira.post-php div.wrap,
411
- body.post-type-envira_album.edit-php div.wrap,
412
- body.post-type-envira_album.post-new-php div.wrap,
413
- body.post-type-envira_album.post-php div.wrap {
414
- /**
415
- * Remove the margin on the wrapper
416
- */
417
- margin: 0;
418
- /**
419
- * Add margin to notices
420
- */ }
421
- body.post-type-envira.edit-php div.wrap > div.error,
422
- body.post-type-envira.edit-php div.wrap > div.notice,
423
- body.post-type-envira.edit-php div.wrap > div.updated,
424
- body.post-type-envira.post-new-php div.wrap > div.error,
425
- body.post-type-envira.post-new-php div.wrap > div.notice,
426
- body.post-type-envira.post-new-php div.wrap > div.updated,
427
- body.post-type-envira.post-php div.wrap > div.error,
428
- body.post-type-envira.post-php div.wrap > div.notice,
429
- body.post-type-envira.post-php div.wrap > div.updated,
430
- body.post-type-envira_album.edit-php div.wrap > div.error,
431
- body.post-type-envira_album.edit-php div.wrap > div.notice,
432
- body.post-type-envira_album.edit-php div.wrap > div.updated,
433
- body.post-type-envira_album.post-new-php div.wrap > div.error,
434
- body.post-type-envira_album.post-new-php div.wrap > div.notice,
435
- body.post-type-envira_album.post-new-php div.wrap > div.updated,
436
- body.post-type-envira_album.post-php div.wrap > div.error,
437
- body.post-type-envira_album.post-php div.wrap > div.notice,
438
- body.post-type-envira_album.post-php div.wrap > div.updated {
439
- margin-left: 20px;
440
- margin-right: 20px; }
441
-
442
- /* ==========================================================================
443
- Taxonomy Screens
444
- ========================================================================== */
445
- body.post-type-envira.edit-tags-php div.wrap,
446
- body.post-type-envira.taxonomy-envira-tag div.wrap {
447
- margin: 0;
448
- /**
449
- * Add margin to notices
450
- */
451
- /**
452
- * Reduce our global custom button sizes so they align with inputs
453
- */ }
454
- body.post-type-envira.edit-tags-php div.wrap > div.error,
455
- body.post-type-envira.edit-tags-php div.wrap > div.notice,
456
- body.post-type-envira.edit-tags-php div.wrap > div.updated,
457
- body.post-type-envira.taxonomy-envira-tag div.wrap > div.error,
458
- body.post-type-envira.taxonomy-envira-tag div.wrap > div.notice,
459
- body.post-type-envira.taxonomy-envira-tag div.wrap > div.updated {
460
- margin-left: 20px;
461
- margin-right: 20px; }
462
- body.post-type-envira.edit-tags-php div.wrap form.search-form,
463
- body.post-type-envira.edit-tags-php div.wrap form#edittag,
464
- body.post-type-envira.edit-tags-php div.wrap #col-container,
465
- body.post-type-envira.taxonomy-envira-tag div.wrap form.search-form,
466
- body.post-type-envira.taxonomy-envira-tag div.wrap form#edittag,
467
- body.post-type-envira.taxonomy-envira-tag div.wrap #col-container {
468
- /**
469
- * Re-establish the left and right margins, so there's spacing between the Admin Menu
470
- * and the content
471
- */
472
- margin: 0 20px; }
473
- body.post-type-envira.edit-tags-php div.wrap .button,
474
- body.post-type-envira.taxonomy-envira-tag div.wrap .button {
475
- height: 28px;
476
- line-height: 26px; }
477
-
478
- /* ==========================================================================
479
- Third Party Screens
480
- ========================================================================== */
481
- body.post-type-envira div.wrap {
482
- /**
483
- * Re-establish the left and right margins, so there's spacing between the Admin Menu
484
- * and the content for any third party plugins which add sections / pages within Envira
485
- */
486
- margin: 0 20px; }
487
-
488
- /* ==========================================================================
489
- Gallery / Album Selection Media Modal
490
- ========================================================================== */
491
- .media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor {
492
- /**
493
- * Error
494
- * - Position below the search bar
495
- */
496
- /**
497
- * Grid
498
- */
499
- /**
500
- * Sidebar
501
- */ }
502
- .media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor div.envira-gallery-error {
503
- position: absolute;
504
- top: 50px;
505
- left: 0;
506
- right: 300px; }
507
- .media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment {
508
- width: 20%; }
509
- .media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail {
510
- /**
511
- * Thumbnail Image
512
- */
513
- /**
514
- * Title
515
- */
516
- /**
517
- * Shortcode
518
- */ }
519
- .media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail img {
520
- position: absolute;
521
- z-index: 1;
522
- top: 0;
523
- left: 0;
524
- width: 100%;
525
- height: 100%;
526
- opacity: 0.2; }
527
- .media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail strong {
528
- position: absolute;
529
- z-index: 2;
530
- height: 50%;
531
- top: 0;
532
- left: 0;
533
- right: 0;
534
- padding: 10px;
535
- text-align: center;
536
- overflow: hidden;
537
- -webkit-box-sizing: border-box;
538
- -moz-box-sizing: border-box;
539
- box-sizing: border-box;
540
- vertical-align: bottom;
541
- background: rgba(0, 0, 0, 0.07);
542
- text-shadow: 1px 1px #ddd; }
543
- .media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail strong span {
544
- display: block;
545
- position: absolute;
546
- bottom: 10px;
547
- left: 0;
548
- right: 0;
549
- padding: 0 10px;
550
- text-align: center; }
551
- .media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail code {
552
- position: absolute;
553
- z-index: 2;
554
- height: 50%;
555
- bottom: 0;
556
- left: 0;
557
- right: 0;
558
- padding: 10px;
559
- text-align: center;
560
- -webkit-box-sizing: border-box;
561
- -moz-box-sizing: border-box;
562
- box-sizing: border-box;
563
- vertical-align: middle;
564
- text-shadow: 1px 1px #ddd; }
565
- .media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor div.media-sidebar div.settings .name {
566
- text-align: left; }
567
-
568
- /* ==========================================================================
569
- Gallery List
570
- ========================================================================== */
571
- @media screen and (max-width: 782px) {
572
- body.post-type-envira .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) {
573
- display: table-cell; } }
574
- /* ==========================================================================
575
- Responsive
576
- ========================================================================== */
577
- @media screen and (max-width: 640px) {
578
- body.post-type-envira,
579
- body.post-type-envira_album {
580
- /**
581
- * Wrapper
582
- */ }
583
- body.post-type-envira div.wrap,
584
- body.post-type-envira_album div.wrap {
585
- /**
586
- * Screen Title
587
- */ }
588
- body.post-type-envira div.wrap h1,
589
- body.post-type-envira_album div.wrap h1 {
590
- /**
591
- * Allow space for the "Search results for..." text to display, when searching
592
- */
593
- padding-bottom: 40px;
594
- /**
595
- * Subtitle (search results title)
596
- */ }
597
- body.post-type-envira div.wrap h1 span.subtitle,
598
- body.post-type-envira_album div.wrap h1 span.subtitle {
599
- clear: both;
600
- width: 100%;
601
- padding: 0; } }
602
- @media screen and (max-width: 340px) {
603
- body.post-type-envira,
604
- body.post-type-envira_album {
605
- /**
606
- * Wrapper
607
- */ }
608
- body.post-type-envira div.wrap,
609
- body.post-type-envira_album div.wrap {
610
- /**
611
- * Screen Title
612
- */ }
613
- body.post-type-envira div.wrap h1,
614
- body.post-type-envira_album div.wrap h1 {
615
- text-align: center;
616
- /**
617
- * Page Title Action (i.e. Add New)
618
- */ }
619
- body.post-type-envira div.wrap h1 a.page-title-action,
620
- body.post-type-envira_album div.wrap h1 a.page-title-action {
621
- display: block;
622
- text-align: center;
623
- margin: 10px 0 0 0; } }
1
+ body.post-type-envira #wpcontent,body.post-type-envira_album #wpcontent{padding-left:0}body.post-type-envira .update-nag,body.post-type-envira_album .update-nag{margin-left:20px;margin-bottom:20px}body.post-type-envira .subheading,body.post-type-envira_album .subheading{background-color:#fff;height:45px;margin-left:-20px}@media (min-width: 600px) and (max-width: 767px){body.post-type-envira .subheading,body.post-type-envira_album .subheading{height:auto;padding-bottom:20px}}body.post-type-envira .subheading h1,body.post-type-envira_album .subheading h1{font-size:20px;font-weight:400;line-height:45px;margin:0 0 0 20px;padding-left:20px}body.post-type-envira div.wrap,body.post-type-envira_album div.wrap{margin:0}body.post-type-envira div.wrap a.page-title-action,body.post-type-envira_album div.wrap a.page-title-action{position:relative;top:-55px;left:185px}body.post-type-envira div.wrap a.page-title-action:hover,body.post-type-envira_album div.wrap a.page-title-action:hover{background:#95dc5e;border-color:#95dc5e;color:#fff}body.post-type-envira div.wrap>h1,body.post-type-envira div.wrap>h2,body.post-type-envira_album div.wrap>h1,body.post-type-envira_album div.wrap>h2{margin:0 0 20px 0;padding:15px 0 10px;background:#fff;font-weight:600;font-size:20px;width:100%;text-indent:20px}body.post-type-envira div.wrap>h1 a.page-title-action,body.post-type-envira div.wrap>h2 a.page-title-action,body.post-type-envira_album div.wrap>h1 a.page-title-action,body.post-type-envira_album div.wrap>h2 a.page-title-action{top:-3px;left:auto}body.post-type-envira div.wrap>h1 a.page-title-action:hover,body.post-type-envira div.wrap>h2 a.page-title-action:hover,body.post-type-envira_album div.wrap>h1 a.page-title-action:hover,body.post-type-envira_album div.wrap>h2 a.page-title-action:hover{background:#95dc5e;border-color:#95dc5e;color:#fff}body.post-type-envira div.wrap>h1 span.subtitle,body.post-type-envira div.wrap>h2 span.subtitle,body.post-type-envira_album div.wrap>h1 span.subtitle,body.post-type-envira_album div.wrap>h2 span.subtitle{float:right}body.post-type-envira div.wrap .envira-tab,body.post-type-envira_album div.wrap .envira-tab{display:none}body.post-type-envira div.wrap .envira-tab.envira-active,body.post-type-envira_album div.wrap .envira-tab.envira-active{display:block}body.post-type-envira div.wrap div.envira-code,body.post-type-envira_album div.wrap div.envira-code{position:relative;margin:0 0 10px 0}body.post-type-envira div.wrap div.envira-code:after,body.post-type-envira_album div.wrap div.envira-code:after{content:"";display:table;clear:both}body.post-type-envira div.wrap div.envira-code code,body.post-type-envira_album div.wrap div.envira-code code{display:block;font-size:11px;padding:5px 20px 5px 5px}body.post-type-envira div.wrap div.envira-code a.envira-clipboard,body.post-type-envira_album div.wrap div.envira-code a.envira-clipboard{position:absolute;top:5px;right:5px;color:#23282d}body.post-type-envira div.wrap div.envira-code a.envira-clipboard span,body.post-type-envira_album div.wrap div.envira-code a.envira-clipboard span{display:block;text-indent:-9999px}body.post-type-envira .button,body.post-type-envira_album .button{-webkit-border-radius:2px;-moz-border-radius:2px;-o-border-radius:2px;border-radius:2px;padding:0 16px 1px;height:33px;line-height:30px;text-decoration:none;text-shadow:none;font-weight:600;-webkit-box-shadow:none;box-shadow:none}body.post-type-envira .button.button-small,body.post-type-envira_album .button.button-small{padding:0 8px 1px;line-height:22px;height:24px}body.post-type-envira .button.button-x-large,body.post-type-envira_album .button.button-x-large{padding:0 32px 1px;line-height:48px;height:50px;font-size:18px;text-transform:uppercase}@media (min-width: 600px) and (max-width: 767px){body.post-type-envira .button,body.post-type-envira_album .button{margin-top:10px}}body.post-type-envira .button.show-settings,body.post-type-envira_album .button.show-settings{height:auto}body.post-type-envira .button.button-primary,body.post-type-envira_album .button.button-primary{background:#7cc048;border-color:#7cc048;-webkit-box-shadow:none;box-shadow:none;color:#fff}body.post-type-envira .button.button-primary:hover,body.post-type-envira_album .button.button-primary:hover{background:#95dc5e;border-color:#95dc5e;color:#fff}body.post-type-envira .button.button-danger,body.post-type-envira_album .button.button-danger{background:#e02626;border-color:#e02626;-webkit-box-shadow:none;box-shadow:none;color:#fff}body.post-type-envira .button.button-danger:hover,body.post-type-envira_album .button.button-danger:hover{background:#f85959;border-color:#f85959;color:#fff}body.post-type-envira div#TB_window div.wrap,body.post-type-envira_album div#TB_window div.wrap{margin:10px 20px 0 2px}body.post-type-envira.locale-fr-fr div.wrap a.page-title-action,body.post-type-envira_album.locale-fr-fr div.wrap a.page-title-action{left:220px}#envira-header-temp{position:relative}#envira-header{background-color:#7cc048;height:120px}@media (max-width: 599px){#envira-header{padding-top:46px}}#envira-header h1.envira-logo{margin:0;line-height:120px;margin-left:20px}#envira-header h1.envira-logo img{max-width:339px;height:auto;width:90%}@media (min-width: 600px) and (max-width: 767px){#envira-header h1.envira-logo img{width:90%}}@media (max-width: 599px){#wpbody{padding-top:0}}body.post-type-envira_album div.wrap a.page-title-action{left:180px !important}body.post-type-envira_album div.wrap>h1 a.page-title-action,body.post-type-envira_album div.wrap>h2 a.page-title-action{top:-3px !important;left:auto !important}body.post-php.post-type-envira_album div.wrap a.page-title-action{left:200px !important}body.post-php.post-type-envira_album div.wrap>h1 a.page-title-action,body.post-php.post-type-envira_album div.wrap>h2 a.page-title-action{top:-3px !important;left:auto !important}body.post-php.post-type-envira div.wrap a.page-title-action{left:215px !important}body.post-php.post-type-envira div.wrap>h1 a.page-title-action,body.post-php.post-type-envira div.wrap>h2 a.page-title-action{top:-3px !important;left:auto !important}.envira-notice{position:relative;margin:0 0 20px 0;padding:20px;-webkit-border-radius:2px;-moz-border-radius:2px;-o-border-radius:2px;border-radius:2px}.envira-notice p.envira-intro{border:none !important;margin:0 0 20px 0 !important;padding:0 !important}.envira-notice .notice-dismiss{top:10px;right:10px;color:#fff}.envira-notice .notice-dismiss:before{color:#fff;width:26px;height:26px;font-size:22px}.envira-notice.success{background:#7cc048;color:#fff;border:none}.envira-notice.success .button.button-primary{background-color:#95dc5e;border-color:#95dc5e}.envira-notice.warning{background:#fcf8e3;border:1px solid #faebcc}.envira-notice.warning .notice-dismiss{color:#000}.envira-notice.warning .notice-dismiss:before{color:#000}.envira-notice.error{border-top:1px solid #dc3232;border-right:1px solid #dc3232;border-bottom:1px solid #dc3232}body.post-type-envira.edit-php div.wrap,body.post-type-envira.post-new-php div.wrap,body.post-type-envira.post-php div.wrap,body.post-type-envira_album.edit-php div.wrap,body.post-type-envira_album.post-new-php div.wrap,body.post-type-envira_album.post-php div.wrap{margin:0}body.post-type-envira.edit-php div.wrap>div.error,body.post-type-envira.edit-php div.wrap>div.notice,body.post-type-envira.edit-php div.wrap>div.updated,body.post-type-envira.post-new-php div.wrap>div.error,body.post-type-envira.post-new-php div.wrap>div.notice,body.post-type-envira.post-new-php div.wrap>div.updated,body.post-type-envira.post-php div.wrap>div.error,body.post-type-envira.post-php div.wrap>div.notice,body.post-type-envira.post-php div.wrap>div.updated,body.post-type-envira_album.edit-php div.wrap>div.error,body.post-type-envira_album.edit-php div.wrap>div.notice,body.post-type-envira_album.edit-php div.wrap>div.updated,body.post-type-envira_album.post-new-php div.wrap>div.error,body.post-type-envira_album.post-new-php div.wrap>div.notice,body.post-type-envira_album.post-new-php div.wrap>div.updated,body.post-type-envira_album.post-php div.wrap>div.error,body.post-type-envira_album.post-php div.wrap>div.notice,body.post-type-envira_album.post-php div.wrap>div.updated{margin-left:20px;margin-right:20px}body.post-type-envira.edit-tags-php div.wrap,body.post-type-envira.taxonomy-envira-tag div.wrap{margin:0}body.post-type-envira.edit-tags-php div.wrap>div.error,body.post-type-envira.edit-tags-php div.wrap>div.notice,body.post-type-envira.edit-tags-php div.wrap>div.updated,body.post-type-envira.taxonomy-envira-tag div.wrap>div.error,body.post-type-envira.taxonomy-envira-tag div.wrap>div.notice,body.post-type-envira.taxonomy-envira-tag div.wrap>div.updated{margin-left:20px;margin-right:20px}body.post-type-envira.edit-tags-php div.wrap form.search-form,body.post-type-envira.edit-tags-php div.wrap form#edittag,body.post-type-envira.edit-tags-php div.wrap #col-container,body.post-type-envira.taxonomy-envira-tag div.wrap form.search-form,body.post-type-envira.taxonomy-envira-tag div.wrap form#edittag,body.post-type-envira.taxonomy-envira-tag div.wrap #col-container{margin:0 20px}body.post-type-envira.edit-tags-php div.wrap .button,body.post-type-envira.taxonomy-envira-tag div.wrap .button{height:28px;line-height:26px}body.post-type-envira div.wrap{margin:0 20px}.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor div.envira-gallery-error{position:absolute;top:50px;left:0;right:300px}.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment{width:20%}.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail img{position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;opacity:0.2}.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail strong{position:absolute;z-index:2;height:50%;top:0;left:0;right:0;padding:10px;text-align:center;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:bottom;background:rgba(0,0,0,0.07);text-shadow:1px 1px #ddd}.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail strong span{display:block;position:absolute;bottom:10px;left:0;right:0;padding:0 10px;text-align:center}.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail code{position:absolute;z-index:2;height:50%;bottom:0;left:0;right:0;padding:10px;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:middle;text-shadow:1px 1px #ddd}.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor div.media-sidebar div.settings .name{text-align:left}@media screen and (max-width: 782px){body.post-type-envira .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column){display:table-cell}}@media screen and (max-width: 640px){body.post-type-envira div.wrap h1,body.post-type-envira_album div.wrap h1{padding-bottom:40px}body.post-type-envira div.wrap h1 span.subtitle,body.post-type-envira_album div.wrap h1 span.subtitle{clear:both;width:100%;padding:0}}@media screen and (max-width: 340px){body.post-type-envira div.wrap h1,body.post-type-envira_album div.wrap h1{text-align:center}body.post-type-envira div.wrap h1 a.page-title-action,body.post-type-envira_album div.wrap h1 a.page-title-action{display:block;text-align:center;margin:10px 0 0 0}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/envira.css CHANGED
@@ -1,1012 +1 @@
1
- /* ==========================================================================
2
- Envira Gallery Styles
3
- ========================================================================== */
4
- /**
5
- * Envira Gallery - Reset
6
- */
7
- .envira-gallery-wrap,
8
- .envira-gallery-wrap *,
9
- .envira-tags-filter-list,
10
- .envira-tags-filter-list * {
11
- background: none;
12
- border: 0 none;
13
- border-radius: 0;
14
- -webkit-border-radius: 0;
15
- -moz-border-radius: 0;
16
- float: none;
17
- font-size: 100%;
18
- height: auto;
19
- letter-spacing: normal;
20
- list-style: none;
21
- outline: none;
22
- position: static;
23
- text-decoration: none;
24
- text-indent: 0;
25
- text-shadow: none;
26
- text-transform: none;
27
- width: auto;
28
- visibility: visible;
29
- overflow: visible;
30
- margin: 0;
31
- padding: 0;
32
- line-height: 1;
33
- box-sizing: border-box;
34
- -webkit-box-sizing: border-box;
35
- -moz-box-sizing: border-box;
36
- -webkit-box-shadow: none;
37
- -moz-box-shadow: none;
38
- -ms-box-shadow: none;
39
- -o-box-shadow: none;
40
- box-shadow: none;
41
- -webkit-appearance: none;
42
- transition: none;
43
- -webkit-transition: none;
44
- -moz-transition: none;
45
- -o-transition: none;
46
- -ms-transition: none; }
47
-
48
- /**
49
- * Tags Addon
50
- */
51
- .envira-tags-filter-list {
52
- clear: both;
53
- margin: 0 0 10px 0; }
54
- .envira-tags-filter-list li.envira-tags-filter,
55
- .envira-tags-filter-list li.envira-tag-filter {
56
- float: left;
57
- margin: 0 20px 10px 0; }
58
- .envira-tags-filter-list .envira-tag-filter-link {
59
- font-size: 13px;
60
- font-weight: bold; }
61
-
62
- /**
63
- * Breadcrumbs Addon
64
- */
65
- .envira-breadcrumbs {
66
- display: block;
67
- margin: 0 0 20px 0;
68
- padding: 10px;
69
- background: #eee; }
70
- .envira-breadcrumbs a {
71
- text-decoration: none; }
72
-
73
- /**
74
- * Main Wrapper
75
- */
76
- .envira-gallery-wrap {
77
- width: 100%;
78
- margin: 0 auto 20px auto;
79
- /**
80
- * Pagination Addon
81
- */
82
- /**
83
- * Description
84
- */
85
- /**
86
- * Inner Wrapper
87
- */ }
88
- .envira-gallery-wrap .envira-pagination {
89
- margin: 0 0 20px 0; }
90
- .envira-gallery-wrap .envira-gallery-description {
91
- clear: both; }
92
- .envira-gallery-wrap .envira-gallery-public {
93
- width: 100%;
94
- margin: 0 auto 20px auto;
95
- -webkit-box-sizing: border-box;
96
- -moz-box-sizing: border-box;
97
- box-sizing: border-box;
98
- /**
99
- * Clearing
100
- */
101
- /**
102
- * Inner
103
- */
104
- /**
105
- * Gallery Item
106
- */
107
- /**
108
- * Column Widths and Clearing
109
- */
110
- /**
111
- * Optional: Isotope
112
- * - if enabled, .enviratope is added to .envira-gallery-public
113
- * - no clearing on gallery items
114
- */
115
- /**
116
- * Optional: CSS Animations
117
- * - if enabled, .envira-gallery-css-animations is added to .envira-gallery-public
118
- */ }
119
- .envira-gallery-wrap .envira-gallery-public.envira-clear {
120
- clear: both; }
121
- .envira-gallery-wrap .envira-gallery-public.envira-clear:after {
122
- clear: both;
123
- content: '.';
124
- display: block;
125
- height: 0;
126
- line-height: 0;
127
- overflow: auto;
128
- visibility: hidden;
129
- zoom: 1; }
130
- .envira-gallery-wrap .envira-gallery-public .envira-gallery-item-inner {
131
- position: relative;
132
- /**
133
- * Dynamic Positioning
134
- */ }
135
- .envira-gallery-wrap .envira-gallery-public .envira-gallery-item-inner .envira-gallery-position-overlay {
136
- box-sizing: border-box;
137
- position: absolute;
138
- overflow: visible;
139
- z-index: 999;
140
- /**
141
- * Top Left
142
- */
143
- /**
144
- * Top Right
145
- */
146
- /**
147
- * Bottom Left
148
- */
149
- /**
150
- * Bottom Right
151
- */ }
152
- .envira-gallery-wrap .envira-gallery-public .envira-gallery-item-inner .envira-gallery-position-overlay.envira-gallery-top-left {
153
- top: 0;
154
- left: 0;
155
- padding: 5px 0 0 5px; }
156
- .envira-gallery-wrap .envira-gallery-public .envira-gallery-item-inner .envira-gallery-position-overlay.envira-gallery-top-right {
157
- top: 0;
158
- right: 0;
159
- padding: 5px 5px 0 0;
160
- text-align: right; }
161
- .envira-gallery-wrap .envira-gallery-public .envira-gallery-item-inner .envira-gallery-position-overlay.envira-gallery-bottom-left {
162
- bottom: 0;
163
- left: 0;
164
- padding: 0 0 5px 5px; }
165
- .envira-gallery-wrap .envira-gallery-public .envira-gallery-item-inner .envira-gallery-position-overlay.envira-gallery-bottom-right {
166
- bottom: 0;
167
- right: 0;
168
- padding: 0 5px 5px 0;
169
- text-align: right; }
170
- .envira-gallery-wrap .envira-gallery-public .envira-gallery-item {
171
- float: left;
172
- /**
173
- * Link
174
- */
175
- /**
176
- * Image
177
- */
178
- /**
179
- * Videos
180
- */ }
181
- .envira-gallery-wrap .envira-gallery-public .envira-gallery-item > .envira-gallery-link {
182
- display: block;
183
- outline: none;
184
- border: 0 none;
185
- position: relative; }
186
- .envira-gallery-wrap .envira-gallery-public .envira-gallery-item img {
187
- float: none;
188
- display: block;
189
- margin: 0 auto;
190
- padding: 0;
191
- max-width: 100%; }
192
- .envira-gallery-wrap .envira-gallery-public .envira-gallery-item iframe, .envira-gallery-wrap .envira-gallery-public .envira-gallery-item video {
193
- display: block;
194
- margin: 0 auto;
195
- width: 100%; }
196
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-1-columns .envira-gallery-item {
197
- clear: both;
198
- width: 100%; }
199
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item {
200
- width: 50%; }
201
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(2n+1) {
202
- clear: both; }
203
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item {
204
- width: 33.33%; }
205
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(3n+1) {
206
- clear: both; }
207
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item {
208
- width: 25%;
209
- margin: 0;
210
- padding: 0;
211
- box-sizing: border-box; }
212
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(4n+1) {
213
- clear: both; }
214
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item {
215
- width: 20%; }
216
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(5n+1) {
217
- clear: both; }
218
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item {
219
- width: 16.66%; }
220
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(6n+1) {
221
- clear: both; }
222
- .envira-gallery-wrap .envira-gallery-public.enviratope .envira-gallery-item {
223
- clear: none !important; }
224
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-css-animations {
225
- /**
226
- * Gallery Item
227
- */ }
228
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-css-animations .envira-gallery-item {
229
- /**
230
- * Image
231
- */
232
- /**
233
- * Image Hover
234
- * - Always force opacity: 1, as the CSS Opacity setting for images may be less e.g. 0.5
235
- */ }
236
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-css-animations .envira-gallery-item img {
237
- opacity: 0;
238
- transition: all .2s ease-in-out; }
239
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-css-animations .envira-gallery-item a:hover img {
240
- opacity: 1 !important; }
241
-
242
- /**
243
- * Main Wrapper
244
- */
245
- .envira-gallery-public.justified-gallery {
246
- /**
247
- * Inner
248
- */
249
- /* .envira-gallery-description {
250
- &.envira-gallery-description-above {
251
- display: table;
252
- }
253
- }*/ }
254
- .envira-gallery-public.justified-gallery .envira-gallery-item-inner {
255
- position: absolute; }
256
-
257
- /**
258
- * RTL Support
259
- */
260
- .envira-gallery-wrap.envira-gallery-rtl {
261
- /**
262
- * Inner Wrapper
263
- */ }
264
- .envira-gallery-wrap.envira-gallery-rtl .envira-gallery-public {
265
- /**
266
- * Gallery Item
267
- */ }
268
- .envira-gallery-wrap.envira-gallery-rtl .envira-gallery-public .envira-gallery-item {
269
- float: right; }
270
-
271
- /**
272
- * Mobile Landscape Size to Tablet Portrait (devices and browsers)
273
- * - Envira Gallery Columns: If 4, 5 or 6, reduce to 3 columns. Isotope will detect change + resize automatically.
274
- */
275
- @media only screen and (max-width: 768px) {
276
- /**
277
- * Main Wrapper
278
- */
279
- .envira-gallery-wrap {
280
- /**
281
- * Inner Wrapper
282
- */ }
283
- .envira-gallery-wrap .envira-gallery-public {
284
- /**
285
- * Column Widths and Clearing
286
- */
287
- /**
288
- * Optional: Isotope
289
- * - if enabled, .enviratope is added to .envira-gallery-public
290
- * - no clearing on gallery items
291
- */ }
292
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item {
293
- width: 33%; }
294
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(4n+1) {
295
- clear: none; }
296
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(3n+1) {
297
- clear: both; }
298
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item {
299
- width: 33%; }
300
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(5n+1) {
301
- clear: none; }
302
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(3n+1) {
303
- clear: both; }
304
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item {
305
- width: 33%; }
306
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(6n+1) {
307
- clear: none; }
308
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(3n+1) {
309
- clear: both; }
310
- .envira-gallery-wrap .envira-gallery-public.enviratope .envira-gallery-item {
311
- clear: none !important; } }
312
- /**
313
- * Mobile Landscape (devices and browsers)
314
- * - Envira Gallery Columns: Reduce to 2 column. Isotope will detect change + resize automatically.
315
- */
316
- @media only screen and (max-width: 459px) {
317
- /**
318
- * Main Wrapper
319
- */
320
- .envira-gallery-wrap {
321
- /**
322
- * Inner Wrapper
323
- */ }
324
- .envira-gallery-wrap .envira-gallery-public {
325
- /**
326
- * Column Widths and Clearing
327
- */
328
- /**
329
- * Optional: Isotope
330
- * - if enabled, .enviratope is added to .envira-gallery-public
331
- * - no clearing on gallery items
332
- */ }
333
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item, .envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item, .envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item, .envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item, .envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item {
334
- width: 50% !important; }
335
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(3n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(4n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(5n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(6n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(3n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(4n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(5n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(6n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(3n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(4n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(5n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(6n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(3n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(4n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(5n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(6n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(3n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(4n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(5n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(6n+1) {
336
- clear: none !important; }
337
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(2n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(2n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(2n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(2n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(2n+1) {
338
- clear: both !important; }
339
- .envira-gallery-wrap .envira-gallery-public.enviratope .envira-gallery-item {
340
- clear: none !important; } }
341
- /**
342
- * Mobile Portrait (devices and browsers)
343
- * - Envira Gallery Columns: Reduce to 1 column. Isotope will detect change + resize automatically.
344
- */
345
- @media only screen and (max-width: 320px) {
346
- /**
347
- * Main Wrapper
348
- */
349
- .envira-gallery-wrap {
350
- /**
351
- * Inner Wrapper
352
- */ }
353
- .envira-gallery-wrap .envira-gallery-public {
354
- /**
355
- * Column Widths and Clearing
356
- */
357
- /**
358
- * Optional: Isotope
359
- * - if enabled, .enviratope is added to .envira-gallery-public
360
- * - no clearing on gallery items
361
- */ }
362
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-1-columns .envira-gallery-item, .envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item, .envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item, .envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item, .envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item, .envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item {
363
- width: 100% !important; }
364
- .envira-gallery-wrap .envira-gallery-public.envira-gallery-1-columns .envira-gallery-item:nth-child(2n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-1-columns .envira-gallery-item:nth-child(3n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-1-columns .envira-gallery-item:nth-child(4n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-1-columns .envira-gallery-item:nth-child(5n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-1-columns .envira-gallery-item:nth-child(6n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(2n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(3n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(4n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(5n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(6n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(2n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(3n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(4n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(5n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(6n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(2n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(3n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(4n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(5n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(6n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(2n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(3n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(4n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(5n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(6n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(2n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(3n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(4n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(5n+1), .envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(6n+1) {
365
- clear: both; }
366
- .envira-gallery-wrap .envira-gallery-public.enviratope .envira-gallery-item {
367
- clear: none !important; } }
368
- /* ==========================================================================
369
- Envira Lightbox Gallery Styles
370
- ========================================================================== */
371
- .envirabox-wrap,
372
- .envirabox-skin,
373
- .envirabox-outer,
374
- .envirabox-inner,
375
- .envirabox-image,
376
- .envirabox-wrap iframe,
377
- .envirabox-wrap object,
378
- .envirabox-nav,
379
- .envirabox-nav span,
380
- .envirabox-tmp,
381
- .envirabox-buttons,
382
- .envirabox-thumbs,
383
- .envirabox-wrap *,
384
- .envirabox-thumbs *,
385
- .envirabox-buttons * {
386
- background: none;
387
- border: 0 none;
388
- border-radius: 0;
389
- -webkit-border-radius: 0;
390
- -moz-border-radius: 0;
391
- float: none;
392
- font-size: 100%;
393
- height: auto;
394
- letter-spacing: normal;
395
- list-style: none;
396
- outline: none;
397
- position: static;
398
- text-decoration: none;
399
- text-indent: 0;
400
- text-shadow: none;
401
- text-transform: none;
402
- width: auto;
403
- visibility: visible;
404
- overflow: visible;
405
- margin: 0;
406
- padding: 0;
407
- line-height: 1;
408
- box-sizing: border-box;
409
- -webkit-box-sizing: border-box;
410
- -moz-box-sizing: border-box;
411
- -webkit-box-shadow: none;
412
- -moz-box-shadow: none;
413
- -ms-box-shadow: none;
414
- -o-box-shadow: none;
415
- box-shadow: none;
416
- -webkit-appearance: none;
417
- transition: none;
418
- -webkit-transition: none;
419
- -moz-transition: none;
420
- -o-transition: none;
421
- -ms-transition: none; }
422
-
423
- .envirabox-wrap {
424
- position: absolute;
425
- top: 0;
426
- left: 0;
427
- z-index: 988020; }
428
-
429
- .envirabox-skin {
430
- position: relative;
431
- background: #f9f9f9;
432
- color: #444;
433
- text-shadow: none;
434
- -webkit-border-radius: 4px;
435
- -moz-border-radius: 4px;
436
- border-radius: 4px; }
437
-
438
- .envirabox-opened {
439
- z-index: 988030; }
440
-
441
- .envirabox-opened .envirabox-skin {
442
- -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
443
- -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
444
- box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); }
445
-
446
- .envirabox-outer, .envirabox-inner {
447
- position: relative; }
448
-
449
- .envirabox-inner {
450
- overflow: hidden;
451
- /**
452
- * Dynamic Positioning
453
- */ }
454
- .envirabox-inner .envirabox-position-overlay {
455
- box-sizing: border-box;
456
- position: absolute;
457
- overflow: visible;
458
- z-index: 988041;
459
- /* Beat the prev/next controls */
460
- padding: 0;
461
- /**
462
- * Top Left
463
- */
464
- /**
465
- * Top Right
466
- */
467
- /**
468
- * Bottom Left
469
- */
470
- /**
471
- * Bottom Right
472
- */ }
473
- .envirabox-inner .envirabox-position-overlay.envira-gallery-top-left {
474
- top: 0;
475
- left: 0; }
476
- .envirabox-inner .envirabox-position-overlay.envira-gallery-top-right {
477
- top: 0;
478
- right: 0;
479
- text-align: right; }
480
- .envirabox-inner .envirabox-position-overlay.envira-gallery-bottom-left {
481
- bottom: 0;
482
- left: 0; }
483
- .envirabox-inner .envirabox-position-overlay.envira-gallery-bottom-right {
484
- bottom: 0;
485
- right: 0;
486
- text-align: right; }
487
-
488
- .envirabox-type-iframe .envirabox-inner {
489
- -webkit-overflow-scrolling: touch; }
490
-
491
- .envirabox-error {
492
- color: #444;
493
- font: 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
494
- margin: 0;
495
- padding: 15px;
496
- white-space: nowrap; }
497
-
498
- .envirabox-image, .envirabox-iframe {
499
- display: block;
500
- width: 100%;
501
- height: 100%; }
502
-
503
- .envirabox-image {
504
- max-width: 100%;
505
- max-height: 100%; }
506
-
507
- #envirabox-loading, .envirabox-close, .envirabox-prev span, .envirabox-next span {
508
- background-image: url("images/envirabox_sprite.png"); }
509
-
510
- #envirabox-loading {
511
- position: fixed;
512
- top: 50%;
513
- left: 50%;
514
- margin-top: -22px;
515
- margin-left: -22px;
516
- background-position: 0 -108px;
517
- opacity: 0.8;
518
- cursor: pointer;
519
- z-index: 988060; }
520
-
521
- #envirabox-loading div {
522
- width: 44px;
523
- height: 44px;
524
- background: url("images/envirabox_loading.gif") center center no-repeat; }
525
-
526
- .envirabox-close {
527
- position: absolute;
528
- top: -18px;
529
- right: -18px;
530
- width: 36px;
531
- height: 36px;
532
- cursor: pointer;
533
- z-index: 988040; }
534
-
535
- .envirabox-nav {
536
- position: absolute;
537
- top: 0;
538
- width: 40%;
539
- height: 100%;
540
- cursor: pointer;
541
- text-decoration: none;
542
- background: transparent url("images/blank.gif");
543
- /* helps IE */
544
- -webkit-tap-highlight-color: transparent;
545
- z-index: 988040; }
546
-
547
- .envirabox-prev {
548
- left: 0; }
549
-
550
- .envirabox-next {
551
- right: 0; }
552
-
553
- .envirabox-prev.envirabox-arrows-outside {
554
- left: -100px; }
555
-
556
- .envirabox-next.envirabox-arrows-outside {
557
- right: -100px; }
558
-
559
- .envirabox-nav span {
560
- position: absolute;
561
- top: 50%;
562
- width: 36px;
563
- height: 34px;
564
- margin-top: -18px;
565
- cursor: pointer;
566
- z-index: 988040;
567
- visibility: hidden; }
568
-
569
- body.envira-touch .envirabox-nav span {
570
- visibility: visible; }
571
-
572
- .envirabox-prev span {
573
- left: 10px;
574
- background-position: 0 -36px; }
575
-
576
- .envirabox-next span {
577
- right: 10px;
578
- background-position: 0 -72px; }
579
-
580
- .envirabox-nav:hover span {
581
- visibility: visible; }
582
-
583
- .envirabox-tmp {
584
- position: absolute;
585
- top: -99999px;
586
- left: -99999px;
587
- max-width: 99999px;
588
- max-height: 99999px;
589
- overflow: visible !important; }
590
-
591
- a.envirabox-close,
592
- a.envirabox-nav,
593
- a.fancy-close:hover,
594
- a.envirabox-nav:hover {
595
- border: 0; }
596
-
597
- /* Overlay helper */
598
- .envirabox-lock {
599
- overflow: visible !important;
600
- width: auto; }
601
-
602
- .envirabox-lock body {
603
- overflow: hidden !important; }
604
-
605
- .envirabox-lock-test {
606
- overflow-y: hidden !important; }
607
-
608
- .envirabox-overlay {
609
- position: absolute;
610
- top: 0;
611
- left: 0;
612
- overflow: hidden;
613
- display: none;
614
- z-index: 988010;
615
- background: url("images/envirabox_overlay.png"); }
616
-
617
- .envirabox-overlay-fixed {
618
- position: fixed;
619
- bottom: 0;
620
- right: 0; }
621
-
622
- .envirabox-lock .envirabox-overlay {
623
- overflow: auto;
624
- overflow-y: scroll; }
625
-
626
- /* Title helper */
627
- .envirabox-title {
628
- visibility: hidden;
629
- font-size: 13px;
630
- line-height: 20px;
631
- font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
632
- position: relative;
633
- text-shadow: none;
634
- z-index: 988090; }
635
-
636
- .envirabox-opened .envirabox-title {
637
- visibility: visible; }
638
-
639
- .envirabox-title-float-wrap {
640
- position: absolute;
641
- bottom: auto;
642
- right: 50%;
643
- margin-top: 20px;
644
- z-index: 988050;
645
- text-align: center; }
646
-
647
- .envirabox-title-float-wrap .child {
648
- display: inline-block;
649
- margin-right: -100%;
650
- padding: 2px 20px;
651
- background: transparent;
652
- /* Fallback for web browsers that doesn't support RGBa */
653
- background: rgba(0, 0, 0, 0.8);
654
- -webkit-border-radius: 15px;
655
- -moz-border-radius: 15px;
656
- border-radius: 15px;
657
- text-shadow: 0 1px 2px #222;
658
- color: #FFF;
659
- line-height: 24px;
660
- white-space: nowrap; }
661
-
662
- .envirabox-title-float-wrap.envirabox-title-text-wrap .child {
663
- white-space: normal; }
664
-
665
- .envirabox-title-outside-wrap {
666
- position: relative;
667
- margin-top: 10px;
668
- color: #fff; }
669
-
670
- .envirabox-title-inside-wrap {
671
- padding-top: 10px; }
672
-
673
- .envirabox-title-over-wrap {
674
- position: absolute;
675
- bottom: 0;
676
- left: 0;
677
- color: #fff;
678
- padding: 10px;
679
- background: #000;
680
- background: rgba(0, 0, 0, 0.8); }
681
-
682
- #envirabox-buttons {
683
- position: fixed;
684
- left: 0;
685
- width: 100%;
686
- z-index: 988050; }
687
-
688
- #envirabox-buttons.top {
689
- top: 10px; }
690
-
691
- #envirabox-buttons.bottom {
692
- bottom: 10px; }
693
-
694
- /* Allows for thumbnails to be displayed */
695
- #envirabox-buttons.bottom.has-padding {
696
- bottom: 80px; }
697
-
698
- #envirabox-buttons.top.has-padding {
699
- top: 80px; }
700
-
701
- #envirabox-buttons ul {
702
- display: block;
703
- width: auto;
704
- height: 30px;
705
- margin: 0 auto;
706
- padding: 0;
707
- list-style: none;
708
- border: 1px solid #111;
709
- border-radius: 3px;
710
- -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
711
- -moz-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
712
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
713
- background: #323232;
714
- background: -moz-linear-gradient(top, #444444 0%, #343434 50%, #292929 50%, #333333 100%);
715
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #444444), color-stop(50%, #343434), color-stop(50%, #292929), color-stop(100%, #333333));
716
- background: -webkit-linear-gradient(top, #444444 0%, #343434 50%, #292929 50%, #333333 100%);
717
- background: -o-linear-gradient(top, #444444 0%, #343434 50%, #292929 50%, #333333 100%);
718
- background: -ms-linear-gradient(top, #444444 0%, #343434 50%, #292929 50%, #333333 100%);
719
- background: linear-gradient(top, #444444 0%, #343434 50%, #292929 50%, #333333 100%);
720
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#222222',GradientType=0 ); }
721
-
722
- #envirabox-buttons ul li {
723
- float: left;
724
- margin: 0;
725
- padding: 0; }
726
-
727
- #envirabox-buttons ul li#envirabox-buttons-title span {
728
- display: block;
729
- font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
730
- font-size: 13px;
731
- line-height: 30px;
732
- padding: 0 10px;
733
- color: #fff; }
734
-
735
- #envirabox-buttons a {
736
- display: block;
737
- width: 30px;
738
- height: 30px;
739
- text-indent: -9999px;
740
- background-color: transparent;
741
- background-image: url("images/envirabox_buttons.png");
742
- background-repeat: no-repeat;
743
- outline: none;
744
- opacity: 0.8; }
745
-
746
- #envirabox-buttons a:hover {
747
- opacity: 1; }
748
-
749
- #envirabox-buttons a.btnPrev {
750
- background-position: 5px 0; }
751
-
752
- #envirabox-buttons a.btnNext {
753
- background-position: -33px 0;
754
- border-right: 1px solid #3e3e3e; }
755
-
756
- #envirabox-buttons a.btnPlay {
757
- background-position: 0 -30px; }
758
-
759
- #envirabox-buttons a.btnPlayOn {
760
- background-position: -30px -30px; }
761
-
762
- #envirabox-buttons a.btnToggle,
763
- #envirabox-buttons a.btnFullscreen {
764
- background-position: 3px -60px;
765
- border-left: 1px solid #111;
766
- border-right: 1px solid #3e3e3e;
767
- width: 35px; }
768
-
769
- #envirabox-buttons a.btnToggleOn,
770
- #envirabox-buttons a.btnFullscreenOn {
771
- background-position: -27px -60px; }
772
-
773
- #envirabox-buttons a.btnClose {
774
- border-left: 1px solid #111;
775
- width: 35px;
776
- background-position: -56px 0px; }
777
-
778
- #envirabox-buttons a.btnDisabled {
779
- opacity: 0.4;
780
- cursor: default; }
781
-
782
- /**
783
- * Lightbox: Thumbnails Helper
784
- */
785
- #envirabox-thumbs {
786
- position: fixed;
787
- left: 0;
788
- width: 100%;
789
- overflow: hidden;
790
- z-index: 988050;
791
- box-sizing: border-box; }
792
- #envirabox-thumbs.top {
793
- top: 2px; }
794
- #envirabox-thumbs.top.has-other-content {
795
- top: 50px; }
796
- #envirabox-thumbs.bottom {
797
- bottom: 2px; }
798
- #envirabox-thumbs.bottom.has-other-content {
799
- bottom: 50px; }
800
- #envirabox-thumbs.inline {
801
- position: absolute; }
802
- #envirabox-thumbs * {
803
- box-sizing: border-box; }
804
-
805
- #envirabox-thumbs ul {
806
- position: relative;
807
- list-style: none;
808
- margin: 0;
809
- padding: 0; }
810
-
811
- #envirabox-thumbs ul li {
812
- border: 3px solid #fff;
813
- float: left;
814
- margin: 5px;
815
- opacity: 1; }
816
-
817
- #envirabox-thumbs ul li.active {
818
- opacity: 0.75;
819
- border: 3px solid #888; }
820
-
821
- #envirabox-thumbs ul li:hover {
822
- opacity: 0.75; }
823
-
824
- #envirabox-thumbs ul li a {
825
- display: block;
826
- position: relative;
827
- overflow: hidden;
828
- border: 1px solid #222;
829
- background: #111;
830
- outline: none; }
831
-
832
- #envirabox-thumbs ul li img {
833
- display: block;
834
- position: relative;
835
- border: 0;
836
- padding: 0;
837
- max-width: none; }
838
-
839
- /* Retina stuff */
840
- @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
841
- #envirabox-loading, .envirabox-close, .envirabox-prev span, .envirabox-next span {
842
- background-image: url("images/envirabox_sprite@2x.png");
843
- background-size: 44px 152px; }
844
-
845
- #envirabox-loading div {
846
- background-image: url("images/envirabox_loading@2x.gif");
847
- background-size: 24px 24px; } }
848
- /*
849
- #content img{
850
- height: 0;
851
- width: 0;
852
- padding: 35px 120px; // adjust that depend on your image size
853
- background-image: url('YOUR_IMAGE_PATH');
854
- background-repeat: no-repeat;
855
- }*/
856
- /*.envira-gallery-public a.envira-gallery-link {
857
- background-image: url("../images/placeholders/spinner.gif");
858
- background-repeat: no-repeat;
859
- background-position: center;
860
- background-size: 25%;
861
- display: inline-block;
862
- background-color: #f1f1f1;
863
- color: transparent; }*/
864
- /*.envira-gallery-public img.envira-gallery-image {
865
- opacity: 0.0; }*/
866
- /*
867
-
868
-
869
-
870
- .meter {
871
- box-sizing: unset;
872
- height: 20px;
873
- position: relative;
874
- margin: 10px 0 10px 0;
875
- background: #555;
876
- -moz-border-radius: 25px;
877
- -webkit-border-radius: 25px;
878
- border-radius: 25px;
879
- padding: 10px;
880
- -webkit-box-shadow: inset 0 -1px 1px rgba(255,255,255,0.3);
881
- -moz-box-shadow : inset 0 -1px 1px rgba(255,255,255,0.3);
882
- box-shadow : inset 0 -1px 1px rgba(255,255,255,0.3);
883
- }
884
- .meter > span {
885
- display: block;
886
- height: 100%;
887
- -webkit-border-top-right-radius: 8px;
888
- -webkit-border-bottom-right-radius: 8px;
889
- -moz-border-radius-topright: 8px;
890
- -moz-border-radius-bottomright: 8px;
891
- border-top-right-radius: 8px;
892
- border-bottom-right-radius: 8px;
893
- -webkit-border-top-left-radius: 20px;
894
- -webkit-border-bottom-left-radius: 20px;
895
- -moz-border-radius-topleft: 20px;
896
- -moz-border-radius-bottomleft: 20px;
897
- border-top-left-radius: 20px;
898
- border-bottom-left-radius: 20px;
899
- background-color: rgb(43,194,83);
900
- background-image: -webkit-gradient(
901
- linear,
902
- left bottom,
903
- left top,
904
- color-stop(0, rgb(43,194,83)),
905
- color-stop(1, rgb(84,240,84))
906
- );
907
- background-image: -moz-linear-gradient(
908
- center bottom,
909
- rgb(43,194,83) 37%,
910
- rgb(84,240,84) 69%
911
- );
912
- -webkit-box-shadow:
913
- inset 0 2px 9px rgba(255,255,255,0.3),
914
- inset 0 -2px 6px rgba(0,0,0,0.4);
915
- -moz-box-shadow:
916
- inset 0 2px 9px rgba(255,255,255,0.3),
917
- inset 0 -2px 6px rgba(0,0,0,0.4);
918
- box-shadow:
919
- inset 0 2px 9px rgba(255,255,255,0.3),
920
- inset 0 -2px 6px rgba(0,0,0,0.4);
921
- position: relative;
922
- overflow: hidden;
923
- }
924
- .meter > span:after, .animate > span > span {
925
- content: "";
926
- position: absolute;
927
- top: 0; left: 0; bottom: 0; right: 0;
928
- background-image:
929
- -webkit-gradient(linear, 0 0, 100% 100%,
930
- color-stop(.25, rgba(255, 255, 255, .2)),
931
- color-stop(.25, transparent), color-stop(.5, transparent),
932
- color-stop(.5, rgba(255, 255, 255, .2)),
933
- color-stop(.75, rgba(255, 255, 255, .2)),
934
- color-stop(.75, transparent), to(transparent)
935
- );
936
- background-image:
937
- -moz-linear-gradient(
938
- -45deg,
939
- rgba(255, 255, 255, .2) 25%,
940
- transparent 25%,
941
- transparent 50%,
942
- rgba(255, 255, 255, .2) 50%,
943
- rgba(255, 255, 255, .2) 75%,
944
- transparent 75%,
945
- transparent
946
- );
947
- z-index: 1;
948
- -webkit-background-size: 50px 50px;
949
- -moz-background-size: 50px 50px;
950
- background-size: 50px 50px;
951
- -webkit-animation: move 2s linear infinite;
952
- -moz-animation: move 2s linear infinite;
953
- -webkit-border-top-right-radius: 8px;
954
- -webkit-border-bottom-right-radius: 8px;
955
- -moz-border-radius-topright: 8px;
956
- -moz-border-radius-bottomright: 8px;
957
- border-top-right-radius: 8px;
958
- border-bottom-right-radius: 8px;
959
- -webkit-border-top-left-radius: 20px;
960
- -webkit-border-bottom-left-radius: 20px;
961
- -moz-border-radius-topleft: 20px;
962
- -moz-border-radius-bottomleft: 20px;
963
- border-top-left-radius: 20px;
964
- border-bottom-left-radius: 20px;
965
- overflow: hidden;
966
- }
967
-
968
- .animate > span:after {
969
- display: none;
970
- }
971
-
972
- @-webkit-keyframes move {
973
- 0% {
974
- background-position: 0 0;
975
- }
976
- 100% {
977
- background-position: 50px 50px;
978
- }
979
- }
980
-
981
- @-moz-keyframes move {
982
- 0% {
983
- background-position: 0 0;
984
- }
985
- 100% {
986
- background-position: 50px 50px;
987
- }
988
- }
989
-
990
-
991
- .orange > span {
992
- background-color: #f1a165;
993
- background-image: -moz-linear-gradient(top, #f1a165, #f36d0a);
994
- background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #f1a165),color-stop(1, #f36d0a));
995
- background-image: -webkit-linear-gradient(#f1a165, #f36d0a);
996
- }
997
-
998
- .red > span {
999
- background-color: #f0a3a3;
1000
- background-image: -moz-linear-gradient(top, #f0a3a3, #f42323);
1001
- background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #f0a3a3),color-stop(1, #f42323));
1002
- background-image: -webkit-linear-gradient(#f0a3a3, #f42323);
1003
- }
1004
-
1005
- .nostripes > span > span, .nostripes > span:after {
1006
- -webkit-animation: none;
1007
- -moz-animation: none;
1008
- background-image: none;
1009
- }
1010
-
1011
-
1012
- */
1
+ .envira-gallery-wrap,.envira-gallery-wrap *,.envira-tags-filter-list,.envira-tags-filter-list *{background:none;border:0 none;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;float:none;font-size:100%;height:auto;letter-spacing:normal;list-style:none;outline:none;position:static;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;width:auto;visibility:visible;overflow:visible;margin:0;padding:0;line-height:1;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-shadow:none;-moz-box-shadow:none;-ms-box-shadow:none;-o-box-shadow:none;box-shadow:none;-webkit-appearance:none;transition:none;-webkit-transition:none;-moz-transition:none;-o-transition:none;-ms-transition:none}.envira-tags-filter-list{clear:both;margin:0 0 10px 0}.envira-tags-filter-list li.envira-tags-filter,.envira-tags-filter-list li.envira-tag-filter{float:left;margin:0 20px 10px 0}.envira-tags-filter-list .envira-tag-filter-link{font-size:13px;font-weight:bold}.envira-breadcrumbs{display:block;margin:0 0 20px 0;padding:10px;background:#eee}.envira-breadcrumbs a{text-decoration:none}.envira-gallery-wrap{width:100%;margin:0 auto 20px auto}.envira-gallery-wrap .envira-pagination{margin:0 0 20px 0}.envira-gallery-wrap .envira-gallery-description{clear:both}.envira-gallery-wrap .envira-gallery-public{width:100%;margin:0 auto 20px auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.envira-gallery-wrap .envira-gallery-public.envira-clear{clear:both}.envira-gallery-wrap .envira-gallery-public.envira-clear:after{clear:both;content:'.';display:block;height:0;line-height:0;overflow:auto;visibility:hidden;zoom:1}.envira-gallery-wrap .envira-gallery-public .envira-gallery-item-inner{position:relative}.envira-gallery-wrap .envira-gallery-public .envira-gallery-item-inner .envira-gallery-position-overlay{box-sizing:border-box;position:absolute;overflow:visible;z-index:999}.envira-gallery-wrap .envira-gallery-public .envira-gallery-item-inner .envira-gallery-position-overlay.envira-gallery-top-left{top:0;left:0;padding:5px 0 0 5px}.envira-gallery-wrap .envira-gallery-public .envira-gallery-item-inner .envira-gallery-position-overlay.envira-gallery-top-right{top:0;right:0;padding:5px 5px 0 0;text-align:right}.envira-gallery-wrap .envira-gallery-public .envira-gallery-item-inner .envira-gallery-position-overlay.envira-gallery-bottom-left{bottom:0;left:0;padding:0 0 5px 5px}.envira-gallery-wrap .envira-gallery-public .envira-gallery-item-inner .envira-gallery-position-overlay.envira-gallery-bottom-right{bottom:0;right:0;padding:0 5px 5px 0;text-align:right}.envira-gallery-wrap .envira-gallery-public .envira-gallery-item{float:left}.envira-gallery-wrap .envira-gallery-public .envira-gallery-item>.envira-gallery-link{display:block;outline:none;border:0 none;position:relative}.envira-gallery-wrap .envira-gallery-public .envira-gallery-item img{float:none;display:block;margin:0 auto;padding:0;max-width:100%}.envira-gallery-wrap .envira-gallery-public .envira-gallery-item iframe,.envira-gallery-wrap .envira-gallery-public .envira-gallery-item video{display:block;margin:0 auto;width:100%}.envira-gallery-wrap .envira-gallery-public.envira-gallery-1-columns .envira-gallery-item{clear:both;width:100%}.envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item{width:50%}.envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(2n+1){clear:both}.envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item{width:33.33%}.envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(3n+1){clear:both}.envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item{width:25%;margin:0;padding:0;box-sizing:border-box}.envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(4n+1){clear:both}.envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item{width:20%}.envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(5n+1){clear:both}.envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item{width:16.66%}.envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(6n+1){clear:both}.envira-gallery-wrap .envira-gallery-public.enviratope .envira-gallery-item{clear:none !important}.envira-gallery-wrap .envira-gallery-public.envira-gallery-css-animations .envira-gallery-item img{opacity:0;transition:all .2s ease-in-out}.envira-gallery-wrap .envira-gallery-public.envira-gallery-css-animations .envira-gallery-item a:hover img{opacity:1 !important}.envira-gallery-public.justified-gallery .envira-gallery-item-inner{position:absolute}.envira-gallery-wrap.envira-gallery-rtl .envira-gallery-public .envira-gallery-item{float:right}@media only screen and (max-width: 768px){.envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item{width:33%}.envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(4n+1){clear:none}.envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(3n+1){clear:both}.envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item{width:33%}.envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(5n+1){clear:none}.envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(3n+1){clear:both}.envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item{width:33%}.envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(6n+1){clear:none}.envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(3n+1){clear:both}.envira-gallery-wrap .envira-gallery-public.enviratope .envira-gallery-item{clear:none !important}}@media only screen and (max-width: 459px){.envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item,.envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item,.envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item,.envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item,.envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item{width:50% !important}.envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(3n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(4n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(5n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(6n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(3n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(4n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(5n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(6n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(3n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(4n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(5n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(6n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(3n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(4n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(5n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(6n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(3n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(4n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(5n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(6n+1){clear:none !important}.envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(2n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(2n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(2n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(2n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(2n+1){clear:both !important}.envira-gallery-wrap .envira-gallery-public.enviratope .envira-gallery-item{clear:none !important}}@media only screen and (max-width: 320px){.envira-gallery-wrap .envira-gallery-public.envira-gallery-1-columns .envira-gallery-item,.envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item,.envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item,.envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item,.envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item,.envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item{width:100% !important}.envira-gallery-wrap .envira-gallery-public.envira-gallery-1-columns .envira-gallery-item:nth-child(2n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-1-columns .envira-gallery-item:nth-child(3n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-1-columns .envira-gallery-item:nth-child(4n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-1-columns .envira-gallery-item:nth-child(5n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-1-columns .envira-gallery-item:nth-child(6n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(2n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(3n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(4n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(5n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-2-columns .envira-gallery-item:nth-child(6n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(2n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(3n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(4n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(5n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-3-columns .envira-gallery-item:nth-child(6n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(2n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(3n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(4n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(5n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-4-columns .envira-gallery-item:nth-child(6n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(2n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(3n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(4n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(5n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-5-columns .envira-gallery-item:nth-child(6n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(2n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(3n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(4n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(5n+1),.envira-gallery-wrap .envira-gallery-public.envira-gallery-6-columns .envira-gallery-item:nth-child(6n+1){clear:both}.envira-gallery-wrap .envira-gallery-public.enviratope .envira-gallery-item{clear:none !important}}.envirabox-wrap,.envirabox-skin,.envirabox-outer,.envirabox-inner,.envirabox-image,.envirabox-wrap iframe,.envirabox-wrap object,.envirabox-nav,.envirabox-nav span,.envirabox-tmp,.envirabox-buttons,.envirabox-thumbs,.envirabox-wrap *,.envirabox-thumbs *,.envirabox-buttons *{background:none;border:0 none;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;float:none;font-size:100%;height:auto;letter-spacing:normal;list-style:none;outline:none;position:static;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;width:auto;visibility:visible;overflow:visible;margin:0;padding:0;line-height:1;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-shadow:none;-moz-box-shadow:none;-ms-box-shadow:none;-o-box-shadow:none;box-shadow:none;-webkit-appearance:none;transition:none;-webkit-transition:none;-moz-transition:none;-o-transition:none;-ms-transition:none}.envirabox-wrap{position:absolute;top:0;left:0;z-index:988020}.envirabox-skin{position:relative;background:#f9f9f9;color:#444;text-shadow:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.envirabox-opened{z-index:988030}.envirabox-opened .envirabox-skin{-webkit-box-shadow:0 10px 25px rgba(0,0,0,0.5);-moz-box-shadow:0 10px 25px rgba(0,0,0,0.5);box-shadow:0 10px 25px rgba(0,0,0,0.5)}.envirabox-outer,.envirabox-inner{position:relative}.envirabox-inner{overflow:hidden}.envirabox-inner .envirabox-position-overlay{box-sizing:border-box;position:absolute;overflow:visible;z-index:988041;padding:0}.envirabox-inner .envirabox-position-overlay.envira-gallery-top-left{top:0;left:0}.envirabox-inner .envirabox-position-overlay.envira-gallery-top-right{top:0;right:0;text-align:right}.envirabox-inner .envirabox-position-overlay.envira-gallery-bottom-left{bottom:0;left:0}.envirabox-inner .envirabox-position-overlay.envira-gallery-bottom-right{bottom:0;right:0;text-align:right}.envirabox-type-iframe .envirabox-inner{-webkit-overflow-scrolling:touch}.envirabox-error{color:#444;font:13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;margin:0;padding:15px;white-space:nowrap}.envirabox-image,.envirabox-iframe{display:block;width:100%;height:100%}.envirabox-image{max-width:100%;max-height:100%}#envirabox-loading,.envirabox-close,.envirabox-prev span,.envirabox-next span{background-image:url("images/envirabox_sprite.png")}#envirabox-loading{position:fixed;top:50%;left:50%;margin-top:-22px;margin-left:-22px;background-position:0 -108px;opacity:0.8;cursor:pointer;z-index:988060}#envirabox-loading div{width:44px;height:44px;background:url("images/envirabox_loading.gif") center center no-repeat}.envirabox-close{position:absolute;top:-18px;right:-18px;width:36px;height:36px;cursor:pointer;z-index:988040}.envirabox-nav{position:absolute;top:0;width:40%;height:100%;cursor:pointer;text-decoration:none;background:transparent url("images/blank.gif");-webkit-tap-highlight-color:transparent;z-index:988040}.envirabox-prev{left:0}.envirabox-next{right:0}.envirabox-prev.envirabox-arrows-outside{left:-100px}.envirabox-next.envirabox-arrows-outside{right:-100px}.envirabox-nav span{position:absolute;top:50%;width:36px;height:34px;margin-top:-18px;cursor:pointer;z-index:988040;visibility:hidden}body.envira-touch .envirabox-nav span{visibility:visible}.envirabox-prev span{left:10px;background-position:0 -36px}.envirabox-next span{right:10px;background-position:0 -72px}.envirabox-nav:hover span{visibility:visible}.envirabox-tmp{position:absolute;top:-99999px;left:-99999px;max-width:99999px;max-height:99999px;overflow:visible !important}a.envirabox-close,a.envirabox-nav,a.fancy-close:hover,a.envirabox-nav:hover{border:0}.envirabox-lock{overflow:visible !important;width:auto}.envirabox-lock body{overflow:hidden !important}.envirabox-lock-test{overflow-y:hidden !important}.envirabox-overlay{position:absolute;top:0;left:0;overflow:hidden;display:none;z-index:988010;background:url("images/envirabox_overlay.png")}.envirabox-overlay-fixed{position:fixed;bottom:0;right:0}.envirabox-lock .envirabox-overlay{overflow:auto;overflow-y:scroll}.envirabox-title{visibility:hidden;font-size:13px;line-height:20px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;position:relative;text-shadow:none;z-index:988090}.envirabox-opened .envirabox-title{visibility:visible}.envirabox-title-float-wrap{position:absolute;bottom:auto;right:50%;margin-top:20px;z-index:988050;text-align:center}.envirabox-title-float-wrap .child{display:inline-block;margin-right:-100%;padding:2px 20px;background:transparent;background:rgba(0,0,0,0.8);-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;text-shadow:0 1px 2px #222;color:#FFF;line-height:24px;white-space:normal}.envirabox-title-float-wrap.envirabox-title-text-wrap .child{white-space:normal}.envirabox-title-outside-wrap{position:relative;margin-top:10px;color:#fff}.envirabox-title-inside-wrap{padding-top:10px}.envirabox-title-over-wrap{position:absolute;bottom:0;left:0;color:#fff;padding:10px;background:#000;background:rgba(0,0,0,0.8)}#envirabox-buttons{position:fixed;left:0;width:100%;z-index:988050}#envirabox-buttons.top{top:10px}#envirabox-buttons.bottom{bottom:10px}#envirabox-buttons.bottom.has-padding{bottom:80px}#envirabox-buttons.top.has-padding{top:80px}#envirabox-buttons ul{display:block;width:auto;height:30px;margin:0 auto;padding:0;list-style:none;border:1px solid #111;border-radius:3px;-webkit-box-shadow:inset 0 0 0 1px rgba(255,255,255,0.05);-moz-box-shadow:inset 0 0 0 1px rgba(255,255,255,0.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,0.05);background:#323232;background:-moz-linear-gradient(top, #444 0%, #343434 50%, #292929 50%, #333 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #444), color-stop(50%, #343434), color-stop(50%, #292929), color-stop(100%, #333));background:-webkit-linear-gradient(top, #444 0%, #343434 50%, #292929 50%, #333 100%);background:-o-linear-gradient(top, #444 0%, #343434 50%, #292929 50%, #333 100%);background:-ms-linear-gradient(top, #444 0%, #343434 50%, #292929 50%, #333 100%);background:linear-gradient(top, #444 0%, #343434 50%, #292929 50%, #333 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#222222',GradientType=0 )}#envirabox-buttons ul li{float:left;margin:0;padding:0}#envirabox-buttons ul li#envirabox-buttons-title span{display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:30px;padding:0 10px;color:#fff}#envirabox-buttons a{display:block;width:30px;height:30px;text-indent:-9999px;background-color:transparent;background-image:url("images/envirabox_buttons.png");background-repeat:no-repeat;outline:none;opacity:0.8}#envirabox-buttons a:hover{opacity:1}#envirabox-buttons a.btnPrev{background-position:5px 0}#envirabox-buttons a.btnNext{background-position:-33px 0;border-right:1px solid #3e3e3e}#envirabox-buttons a.btnPlay{background-position:0 -30px}#envirabox-buttons a.btnPlayOn{background-position:-30px -30px}#envirabox-buttons a.btnToggle,#envirabox-buttons a.btnFullscreen{background-position:3px -60px;border-left:1px solid #111;border-right:1px solid #3e3e3e;width:35px}#envirabox-buttons a.btnToggleOn,#envirabox-buttons a.btnFullscreenOn{background-position:-27px -60px}#envirabox-buttons a.btnClose{border-left:1px solid #111;width:35px;background-position:-56px 0px}#envirabox-buttons a.btnDisabled{opacity:0.4;cursor:default}#envirabox-thumbs{position:fixed;left:0;width:100%;overflow:hidden;z-index:988050;box-sizing:border-box}#envirabox-thumbs.top{top:2px}#envirabox-thumbs.top.has-other-content{top:50px}#envirabox-thumbs.bottom{bottom:2px}#envirabox-thumbs.bottom.has-other-content{bottom:50px}#envirabox-thumbs.inline{position:absolute}#envirabox-thumbs *{box-sizing:border-box}#envirabox-thumbs ul{position:relative;list-style:none;margin:0;padding:0}#envirabox-thumbs ul li{border:3px solid #fff;float:left;margin:5px;opacity:1}#envirabox-thumbs ul li.active{opacity:0.75;border:3px solid #888}#envirabox-thumbs ul li:hover{opacity:0.75}#envirabox-thumbs ul li a{display:block;position:relative;overflow:hidden;border:1px solid #222;background:#111;outline:none}#envirabox-thumbs ul li img{display:block;position:relative;border:0;padding:0;max-width:none}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx){#envirabox-loading,.envirabox-close,.envirabox-prev span,.envirabox-next span{background-image:url("images/envirabox_sprite@2x.png");background-size:44px 152px}#envirabox-loading div{background-image:url("images/envirabox_loading@2x.gif");background-size:24px 24px}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/metabox.css CHANGED
@@ -1,1298 +1 @@
1
- /* ==========================================================================
2
- metabox.css loads on any Envira Gallery and Album Create/Edit Screen
3
-
4
- Any styles that will be used by the main Gallery / Album editor screen should be
5
- added to this file
6
- ========================================================================== */
7
- /* ==========================================================================
8
- Imports
9
- ========================================================================== */
10
- /* ==========================================================================
11
- Variables SCSS
12
- ========================================================================== */
13
- /* ==========================================================================
14
- Mixins
15
- ========================================================================== */
16
- /**
17
- * Media Query
18
- */
19
- /**
20
- * Border-Radius
21
- */
22
- /* ==========================================================================
23
- Messages
24
- ========================================================================== */
25
- body.post-type-envira,
26
- body.post-type-envira_album {
27
- /**
28
- * Add left and right margins to ensure the message notification horizontally lines up
29
- * with the metaboxes
30
- */ }
31
- body.post-type-envira #message,
32
- body.post-type-envira_album #message {
33
- margin: 5px 20px 15px 20px; }
34
- body.post-type-envira #wp-link-wrap,
35
- body.post-type-envira_album #wp-link-wrap {
36
- z-index: 180105 !important; }
37
- body.post-type-envira #wp-link-backdrop,
38
- body.post-type-envira_album #wp-link-backdrop {
39
- z-index: 160105 !important; }
40
-
41
- /* ==========================================================================
42
- Form
43
- - The envira-gallery class is assigned to the Gallery and Album Add/Edit screens form.
44
- ========================================================================== */
45
- form#post.envira-gallery {
46
- /**
47
- * Re-establish the left and right margins, so there's spacing between the Admin Menu
48
- * and the content
49
- */
50
- margin: 0 20px;
51
- /**
52
- * Defined so we override WordPress' default styles
53
- */ }
54
- form#post.envira-gallery #poststuff {
55
- /* ==========================================================================
56
- Envira Gallery Shared Styles for Types and Settings
57
- ========================================================================== */
58
- /**
59
- * Intro Text
60
- */
61
- /**
62
- * Help Video
63
- * - Can be placed inside p.envira-intro by JS, or outside p.envira-intro when
64
- * viewing the Images tab for a Dynamic or Default Gallery
65
- */
66
- /**
67
- * Image Grid
68
- * - Used on the Images tab for Default Galleries, as well as the Preview Metabox
69
- */
70
- /* ==========================================================================
71
- Envira Gallery Type
72
- Envira Album Type
73
- ========================================================================== */
74
- /* ==========================================================================
75
- Envira Albums Drag & Drop Area
76
- ========================================================================== */
77
- /* ==========================================================================
78
- Envira Gallery Settings
79
- Envira Albums Settings
80
- ========================================================================== */
81
- /* ==========================================================================
82
- Envira Gallery Preview Metabox
83
- ========================================================================== */ }
84
- form#post.envira-gallery #poststuff p.envira-intro {
85
- margin: 0;
86
- padding: 0 0 30px 0;
87
- border-bottom: 1px solid #ddd;
88
- font-size: 16px;
89
- font-weight: 700; }
90
- form#post.envira-gallery #poststuff p.envira-intro small {
91
- margin: 5px 0 0 0;
92
- display: block;
93
- font-weight: 400; }
94
- form#post.envira-gallery #poststuff p.envira-intro small a {
95
- text-decoration: none;
96
- font-weight: 600; }
97
- form#post.envira-gallery #poststuff div.envira-video-help {
98
- position: relative;
99
- z-index: 1;
100
- width: 100%;
101
- margin: 20px 0 0 0; }
102
- form#post.envira-gallery #poststuff div.envira-video-help iframe {
103
- position: relative;
104
- z-index: 1;
105
- width: 100%;
106
- height: auto;
107
- min-height: 300px; }
108
- form#post.envira-gallery #poststuff div.envira-video-help a.envira-video-close {
109
- position: absolute;
110
- z-index: 2;
111
- top: -12px;
112
- right: -12px;
113
- width: 24px;
114
- height: 24px;
115
- line-height: 24px;
116
- -webkit-border-radius: 50%;
117
- -moz-border-radius: 50%;
118
- -o-border-radius: 50%;
119
- border-radius: 50%;
120
- background: #f5f5f5;
121
- color: #000;
122
- text-align: center;
123
- text-decoration: none; }
124
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output {
125
- width: 100%;
126
- /**
127
- * List View
128
- */ }
129
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output li {
130
- position: relative;
131
- display: inline-block;
132
- width: 150px;
133
- margin: 0 20px 20px 0;
134
- padding: 0;
135
- list-style: none;
136
- vertical-align: top;
137
- -moz-background-clip: padding;
138
- -webkit-background-clip: padding-box;
139
- background-clip: padding-box;
140
- background: #f7f7f7;
141
- /**
142
- * If, for some reason, the image doesn't exist or fails to load,
143
- * the placeholder logo is displayed
144
- */
145
- /**
146
- * Metadata
147
- */
148
- /**
149
- * Tick Icon
150
- */
151
- /**
152
- * Edit / Delete Buttons
153
- */
154
- /**
155
- * Selected state
156
- */
157
- /**
158
- * Multiple selection sorting - stacks images when the user has selected more than one image + dragged them
159
- */ }
160
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output li img {
161
- display: block;
162
- width: 150px;
163
- height: 150px; }
164
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.placeholder-image {
165
- display: block;
166
- width: 148px;
167
- height: 149px;
168
- background: url(images/icons/leaf.svg) center no-repeat;
169
- background-size: 64px 64px;
170
- border-left: 1px solid #dfdfdf;
171
- border-top: 1px solid #dfdfdf;
172
- border-right: 1px solid #dfdfdf; }
173
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta {
174
- width: 148px;
175
- overflow: hidden;
176
- text-align: center;
177
- border-left: 1px solid #dfdfdf;
178
- border-bottom: 1px solid #dfdfdf;
179
- border-right: 1px solid #dfdfdf;
180
- /**
181
- * Title
182
- */
183
- /**
184
- * Additional metadata
185
- */ }
186
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta div.title {
187
- font-size: 12px;
188
- font-weight: 700;
189
- width: 138px;
190
- height: 18px;
191
- line-height: 18px;
192
- margin: 8px 5px;
193
- overflow: hidden;
194
- /**
195
- * Hint
196
- * - Displays the full title on hover
197
- */ }
198
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta div.title a.hint {
199
- position: absolute;
200
- display: inline-block;
201
- bottom: 10px;
202
- right: 10px;
203
- width: 16px;
204
- height: 16px;
205
- background: #f7f7f7; }
206
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta div.title a.hint.hidden {
207
- display: none; }
208
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta div.additional {
209
- display: none;
210
- margin: 5px 0 0 0;
211
- font-weight: 400; }
212
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.check {
213
- display: none;
214
- position: absolute;
215
- right: 5px;
216
- top: 5px;
217
- width: 24px;
218
- height: 24px;
219
- background-color: #eee;
220
- -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba(0, 0, 0, 0.15);
221
- box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba(0, 0, 0, 0.15); }
222
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.check div.media-modal-icon {
223
- display: none;
224
- width: 15px;
225
- height: 15px;
226
- margin: 5px 0 0 5px;
227
- background-position: -21px 0; }
228
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.dashicons {
229
- position: absolute;
230
- display: block;
231
- top: 5px;
232
- left: 5px;
233
- width: 25px;
234
- height: 25px;
235
- line-height: 25px;
236
- font-size: 18px;
237
- /* Controls the icon size */
238
- outline: none;
239
- z-index: 20;
240
- border-radius: 2px;
241
- -moz-border-radius: 2px;
242
- -webkit-border-radius: 2px; }
243
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.dashicons.envira-gallery-modify-image {
244
- background: #0085ba;
245
- color: #ffffff; }
246
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.dashicons.envira-gallery-remove-image {
247
- left: 35px;
248
- background: #e02626;
249
- color: #ffffff; }
250
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.selected {
251
- width: 148px;
252
- border: 2px solid #7cc048 !important; }
253
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.selected a.check {
254
- display: block;
255
- background-color: #7cc048;
256
- -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #7cc048;
257
- box-shadow: 0 0 0 1px #fff, 0 0 0 2px #7cc048; }
258
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.selected a.check div.media-modal-icon {
259
- display: block; }
260
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.selected div.meta {
261
- width: 146px; }
262
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.ui-sortable-helper li {
263
- position: absolute;
264
- top: 0;
265
- left: 0; }
266
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li {
267
- position: relative;
268
- z-index: 2;
269
- display: block;
270
- width: 100%;
271
- margin: 0 0 10px 0;
272
- padding: 10px 15px;
273
- background: #fff;
274
- border: 1px solid #ddd;
275
- -webkit-box-sizing: border-box;
276
- -moz-box-sizing: border-box;
277
- box-sizing: border-box;
278
- border-radius: 2px;
279
- -moz-border-radius: 2px;
280
- -webkit-border-radius: 2px;
281
- /**
282
- * Metadata
283
- */
284
- /**
285
- * Checkbox
286
- * - Always display
287
- */ }
288
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li img {
289
- display: inline-block;
290
- width: 75px;
291
- margin-left: 45px; }
292
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li div.meta {
293
- position: absolute;
294
- z-index: 1;
295
- left: 0;
296
- display: inline-block;
297
- width: 100%;
298
- padding: 0 80px 0 150px;
299
- border: none;
300
- font-weight: 700;
301
- text-align: left;
302
- -webkit-box-sizing: border-box;
303
- -moz-box-sizing: border-box;
304
- box-sizing: border-box;
305
- /**
306
- * Title
307
- */
308
- /**
309
- * Additional metadata
310
- * - Displayed in list view
311
- */ }
312
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li div.meta div.title {
313
- display: block;
314
- width: 100%;
315
- height: auto;
316
- font-size: 16px;
317
- margin: 0;
318
- padding: 0; }
319
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li div.meta div.title a.hint {
320
- display: none; }
321
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li div.meta div.additional {
322
- display: block; }
323
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li a.check {
324
- display: block;
325
- position: absolute;
326
- left: 15px;
327
- top: 35px; }
328
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li a.envira-gallery-remove-image {
329
- left: auto;
330
- top: 10px;
331
- right: 10px; }
332
- form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li a.envira-gallery-modify-image {
333
- left: auto;
334
- top: 10px;
335
- right: 40px; }
336
- form#post.envira-gallery #poststuff #envira-gallery {
337
- margin: 60px 0 20px 0; }
338
- form#post.envira-gallery #poststuff #envira-gallery,
339
- form#post.envira-gallery #poststuff #envira-albums {
340
- /**
341
- * Hide the title bar of the metabox, so we have a seamless style
342
- */
343
- /**
344
- * Tabs
345
- * - Move up vertically so they sit above the metabox
346
- */
347
- /**
348
- * Tab Settings
349
- */ }
350
- form#post.envira-gallery #poststuff #envira-gallery .handlediv,
351
- form#post.envira-gallery #poststuff #envira-albums .handlediv {
352
- display: none; }
353
- form#post.envira-gallery #poststuff #envira-gallery .hndle,
354
- form#post.envira-gallery #poststuff #envira-albums .hndle {
355
- display: none; }
356
- form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper,
357
- form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper {
358
- margin: -56px 0 0 -1px;
359
- /* The height of the tab */
360
- padding: 0;
361
- border-bottom: none;
362
- /**
363
- * Increase tab sizes and style
364
- */ }
365
- form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab,
366
- form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab {
367
- display: inline-block;
368
- width: 49%;
369
- margin: 0;
370
- padding: 15px 0;
371
- text-align: center;
372
- font-size: 16px;
373
- border-color: #e5e5e5;
374
- /* Matches the metabox border for a seamless UI */
375
- background: #f5f5f5;
376
- /**
377
- * Envira Gallery Icon
378
- */
379
- /**
380
- * External Gallery Tab
381
- */
382
- /**
383
- * Hover and Active States
384
- */
385
- /**
386
- * Focus State
387
- * - Remove WordPress' blue focus box from tabs
388
- */
389
- /**
390
- * Hides the radio input on a label
391
- * The radio input will be selected when the label is clicked
392
- */ }
393
- form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab.nav-tab-native-envira-gallery span,
394
- form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab.nav-tab-native-envira-gallery span {
395
- display: inline-block;
396
- background: url(images/icons/leaf.svg) 0 5px no-repeat;
397
- background-size: 14px 14px;
398
- text-indent: 20px; }
399
- form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab.nav-tab-external-gallery,
400
- form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab.nav-tab-external-gallery {
401
- margin-right: -1px; }
402
- form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab:hover, form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab.envira-active,
403
- form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab:hover,
404
- form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab.envira-active {
405
- background: #ffffff;
406
- border-bottom: 1px solid #ffffff; }
407
- form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab:focus,
408
- form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab:focus {
409
- -webkit-box-shadow: none;
410
- -moz-box-shadow: none;
411
- box-shadow: none; }
412
- form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab:last-child,
413
- form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab:last-child {
414
- float: right; }
415
- form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab input[type=radio],
416
- form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab input[type=radio] {
417
- display: none; }
418
- form#post.envira-gallery #poststuff #envira-gallery .inside,
419
- form#post.envira-gallery #poststuff #envira-albums .inside {
420
- margin: 0;
421
- padding: 0;
422
- /**
423
- * Native Envira Gallery Uploader / Select Files
424
- * - Styles the pluploader instance to look the way we want it
425
- * - Also see responsive styles at the end of this file
426
- */ }
427
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui,
428
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui {
429
- /* Reserves the space needed for the drag-drop-area, which is loaded using JS */
430
- height: 210px;
431
- /**
432
- * A drag-drop-area div is always output, whether we're on a touch
433
- * device or not. WordPress will only style this div if its parent
434
- * has the .drag-drop class (i.e. touch devices won't get any CSS styling)
435
- *
436
- * The below CSS ensures that the drag drop area looks consistent
437
- * regardless of device used, and then adjusts the layout if drag-drop is supported.
438
- */
439
- /**
440
- * Select Files from Other Sources Button
441
- */
442
- /**
443
- * When the uploader supports drag and drop, a .drag-drop
444
- * class is appended to #drag-drop-area by WordPress
445
- *
446
- * We use this to show certain descriptions
447
- */
448
- /**
449
- * Upload Progress Bar
450
- */ }
451
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area,
452
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area {
453
- display: none;
454
- border: 4px dashed #b4b9be;
455
- height: 200px; }
456
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside,
457
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside {
458
- margin: 0 auto 0 auto; }
459
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p,
460
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p {
461
- display: block;
462
- text-align: center;
463
- color: #a0a5aa;
464
- position: absolute;
465
- top: 50%;
466
- left: 50%;
467
- margin: -10px 0 0 -10px;
468
- /**
469
- * "Drop Files here"
470
- */ }
471
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p.drag-drop-info,
472
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p.drag-drop-info {
473
- display: none;
474
- font-size: 20px; }
475
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p.drag-drop-buttons,
476
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p.drag-drop-buttons {
477
- text-align: center;
478
- position: relative;
479
- top: 20px;
480
- left: 0;
481
- margin: 0; }
482
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui a.envira-media-library.button,
483
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui a.envira-media-library.button {
484
- display: none;
485
- position: absolute;
486
- margin: 0 auto;
487
- left: 280px;
488
- right: 0;
489
- width: 230px;
490
- top: 115px;
491
- text-align: center; }
492
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside,
493
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside {
494
- width: 520px;
495
- margin: 50px auto 0 auto; }
496
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p,
497
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p {
498
- position: relative;
499
- top: 0;
500
- left: 0;
501
- margin: 0; }
502
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-info,
503
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-info {
504
- display: block; }
505
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-buttons,
506
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-buttons {
507
- margin: 10px 0 0 0;
508
- text-align: left; }
509
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar,
510
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar {
511
- display: none;
512
- width: 100%;
513
- position: relative;
514
- height: 10px;
515
- width: 100%;
516
- margin: 10px auto;
517
- border-radius: 10px;
518
- background: #dfdfdf;
519
- background: rgba(0, 0, 0, 0.1); }
520
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-inner,
521
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-inner {
522
- height: 10px;
523
- min-width: 20px;
524
- width: 0;
525
- background: #aaa;
526
- background: rgba(0, 0, 0, 0.2);
527
- border-radius: 10px;
528
- -webkit-transition: width 300ms;
529
- -moz-transition: width 300ms;
530
- -ms-transition: width 300ms;
531
- -o-transition: width 300ms;
532
- transition: width 300ms; }
533
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-status,
534
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-status {
535
- clear: both;
536
- position: absolute;
537
- right: 0;
538
- width: 50%;
539
- height: 30px;
540
- margin: 12px 0 0 0;
541
- text-align: right; }
542
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-status .done,
543
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-status .done {
544
- display: none; }
545
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui p.upload-flash-bypass,
546
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui p.upload-flash-bypass {
547
- display: none; }
548
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab,
549
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab {
550
- padding: 20px;
551
- /**
552
- * External Gallery Tab Area
553
- */ }
554
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external,
555
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external {
556
- text-align: center;
557
- /**
558
- * Header
559
- */
560
- /**
561
- * External Gallery Types
562
- */
563
- /**
564
- * Upgrade Button
565
- */ }
566
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external p.envira-intro,
567
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external p.envira-intro {
568
- margin: 0 0 20px 0;
569
- padding: 0;
570
- border: none; }
571
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav,
572
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav {
573
- margin: 0 0 40px 0;
574
- text-align: center; }
575
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li,
576
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li {
577
- display: inline-block;
578
- margin: 0 20px 0 0;
579
- vertical-align: top;
580
- /**
581
- * Pro uses a <label> element so the user can select the Gallery Type
582
- * Lite uses an <a> element so the user can go to the Upgrade URL
583
- */
584
- /**
585
- * Hover State
586
- * Selected State
587
- */
588
- /**
589
- * Featured Content
590
- */
591
- /**
592
- * Instagram
593
- */ }
594
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:last-child,
595
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:last-child {
596
- margin: 0; }
597
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label,
598
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a,
599
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label,
600
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a {
601
- float: left;
602
- width: 110px; }
603
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label input,
604
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a input,
605
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label input,
606
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a input {
607
- display: none; }
608
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label div.icon,
609
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a div.icon,
610
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label div.icon,
611
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a div.icon {
612
- width: 110px;
613
- height: 110px;
614
- margin: 0 0 10px 0;
615
- border: 1px solid #ddd;
616
- background-size: 64px 64px;
617
- background-position: center;
618
- background-repeat: no-repeat; }
619
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label div.title,
620
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a div.title,
621
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label div.title,
622
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a div.title {
623
- font-weight: 700; }
624
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:hover label div.icon,
625
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:hover a div.icon, form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li.envira-active label div.icon,
626
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li.envira-active a div.icon,
627
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:hover label div.icon,
628
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:hover a div.icon,
629
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li.envira-active label div.icon,
630
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li.envira-active a div.icon {
631
- background-color: #f7fcf3;
632
- border-color: #7cc048; }
633
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-fc label div.icon,
634
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-fc a div.icon,
635
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-fc label div.icon,
636
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-fc a div.icon {
637
- background-image: url(../images/types/fc.png); }
638
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-instagram label div.icon,
639
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-instagram a div.icon,
640
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-instagram label div.icon,
641
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-instagram a div.icon {
642
- background-image: url(../images/types/instagram.png); }
643
- form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external a.button.button-x-large,
644
- form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external a.button.button-x-large {
645
- margin-top: 30px; }
646
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native {
647
- position: relative;
648
- /**
649
- * Galleries (Drop Target)
650
- */
651
- /**
652
- * Drag & Drop Instructions
653
- */ }
654
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native ul#envira-album-drag-drop-area {
655
- z-index: 2;
656
- min-height: 200px;
657
- margin: 0;
658
- padding: 20px;
659
- border: 4px dashed #b4b9be;
660
- -webkit-box-sizing: border-box;
661
- -moz-box-sizing: border-box;
662
- box-sizing: border-box; }
663
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native ul#envira-album-drag-drop-area li {
664
- cursor: move; }
665
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native p.drag-drop-info {
666
- position: absolute;
667
- top: 80px;
668
- z-index: 1;
669
- margin: 0 auto;
670
- left: 0;
671
- right: 0;
672
- text-align: center;
673
- color: #a0a5aa;
674
- font-size: 20px;
675
- -webkit-box-sizing: border-box;
676
- -moz-box-sizing: border-box;
677
- box-sizing: border-box; }
678
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native p.drag-drop-info span {
679
- display: block; }
680
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native p.drag-drop-info span.click {
681
- font-size: 18px; }
682
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native p.drag-drop-info small {
683
- display: block;
684
- margin: 5px 0;
685
- font-size: 14px; }
686
- form#post.envira-gallery #poststuff #envira-gallery-settings,
687
- form#post.envira-gallery #poststuff #envira-albums-settings {
688
- background: #f7f7f7;
689
- /* The background for tabs, full height */
690
- /**
691
- * Clearfix
692
- */
693
- /**
694
- * Hide the title bar of the metabox, so we have a seamless style
695
- */
696
- /**
697
- * Tabs
698
- */
699
- /**
700
- * Settings
701
- */ }
702
- form#post.envira-gallery #poststuff #envira-gallery-settings:after,
703
- form#post.envira-gallery #poststuff #envira-albums-settings:after {
704
- content: "";
705
- display: table;
706
- clear: both; }
707
- form#post.envira-gallery #poststuff #envira-gallery-settings .handlediv,
708
- form#post.envira-gallery #poststuff #envira-albums-settings .handlediv {
709
- display: none; }
710
- form#post.envira-gallery #poststuff #envira-gallery-settings .hndle,
711
- form#post.envira-gallery #poststuff #envira-albums-settings .hndle {
712
- display: none; }
713
- form#post.envira-gallery #poststuff #envira-gallery-settings .inside,
714
- form#post.envira-gallery #poststuff #envira-albums-settings .inside {
715
- margin: 0;
716
- padding: 0; }
717
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav,
718
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav {
719
- width: 160px;
720
- margin: 0;
721
- padding: 0;
722
- border-right: 1px solid #ddd; }
723
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li,
724
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li {
725
- float: left;
726
- width: 100%;
727
- margin: 0;
728
- padding: 0;
729
- /**
730
- * Last Item
731
- */
732
- /**
733
- * Tab Icons
734
- */ }
735
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a,
736
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a {
737
- float: left;
738
- width: 120px;
739
- margin: 0 20px;
740
- padding: 20px 0 20px 25px;
741
- text-decoration: none;
742
- color: #999;
743
- border-bottom: 1px solid #ddd;
744
- background-position: left center;
745
- background-repeat: no-repeat;
746
- -webkit-box-sizing: border-box;
747
- -moz-box-sizing: border-box;
748
- box-sizing: border-box;
749
- transition: none;
750
- -webkit-transition: none;
751
- /**
752
- * Hover and Active States
753
- */
754
- /**
755
- * Focus State
756
- * - Remove WordPress' blue focus box from tabs
757
- */ }
758
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a:hover, form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a.envira-active,
759
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a:hover,
760
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a.envira-active {
761
- width: 161px;
762
- margin: -1px 0 0 0;
763
- padding: 20px 20px 20px 45px;
764
- text-decoration: none;
765
- color: #444;
766
- border-top: 1px solid #ddd;
767
- border-bottom: 1px solid #ddd;
768
- border-right: 1px solid #ffffff;
769
- background-color: #ffffff;
770
- background-position: 20px center; }
771
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a:focus,
772
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a:focus {
773
- -webkit-box-shadow: none;
774
- -moz-box-shadow: none;
775
- box-shadow: none; }
776
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li:last-child a,
777
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li:last-child a {
778
- border-bottom: none; }
779
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li:last-child a:hover,
780
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li:last-child a:hover {
781
- border-bottom: none; }
782
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-images a, form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-galleries a,
783
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-images a,
784
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-galleries a {
785
- background-image: url(images/icons/leaf.svg);
786
- background-size: 16px 16px; }
787
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-config a,
788
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-config a {
789
- background-image: url(images/icons/configuration.svg);
790
- background-size: 16px 16px; }
791
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-lightbox a,
792
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-lightbox a {
793
- background-image: url(images/icons/lightbox.svg);
794
- background-size: 16px 16px; }
795
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-mobile a,
796
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-mobile a {
797
- background-image: url(images/icons/mobile.svg);
798
- background-size: 16px 16px; }
799
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-breadcrumbs a,
800
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-breadcrumbs a {
801
- background-image: url(images/icons/breadcrumbs.svg);
802
- background-size: 16px 16px; }
803
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-comments a,
804
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-comments a {
805
- background-image: url(images/icons/comments.svg);
806
- background-size: 16px 16px; }
807
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-downloads a,
808
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-downloads a {
809
- background-image: url(images/icons/downloads.svg);
810
- background-size: 16px 16px; }
811
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-exif a,
812
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-exif a {
813
- background-image: url(images/icons/exif.svg);
814
- background-size: 16px 16px; }
815
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-pagination a,
816
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-pagination a {
817
- background-image: url(images/icons/pagination.svg);
818
- background-size: 16px 16px; }
819
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-pinterest a,
820
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-pinterest a {
821
- background-image: url(images/icons/pinterest.svg);
822
- background-size: 16px 16px; }
823
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-proofing a,
824
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-proofing a {
825
- background-image: url(images/icons/proofing.svg);
826
- background-size: 16px 16px; }
827
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-printing a,
828
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-printing a {
829
- background-image: url(images/icons/printing.svg);
830
- background-size: 16px 16px; }
831
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-slideshow a,
832
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-slideshow a {
833
- background-image: url(images/icons/slideshow.svg);
834
- background-size: 16px 16px; }
835
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-standalone a,
836
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-standalone a {
837
- background-image: url(images/icons/standalone.svg);
838
- background-size: 16px 16px; }
839
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-social a,
840
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-social a {
841
- background-image: url(images/icons/social.svg);
842
- background-size: 16px 16px; }
843
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-tags a,
844
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-tags a {
845
- background-image: url(images/icons/tags.svg);
846
- background-size: 16px 16px; }
847
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-videos a,
848
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-videos a {
849
- background-image: url(images/icons/video.svg);
850
- background-size: 16px 16px; }
851
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-watermarking a,
852
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-watermarking a {
853
- background-image: url(images/icons/watermark.svg);
854
- background-size: 16px 16px; }
855
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-woocommerce a,
856
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-woocommerce a {
857
- background-image: url(images/icons/woocommerce.svg);
858
- background-size: 16px 16px; }
859
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-zoom a,
860
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-zoom a {
861
- background-image: url(images/icons/zoom.svg);
862
- background-size: 16px 16px; }
863
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-misc a,
864
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-misc a {
865
- background-image: url(images/icons/misc.svg);
866
- background-size: 16px 16px; }
867
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs,
868
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs {
869
- margin: 0 0 0 160px;
870
- /* Must match #ul#envira-tabs-nav width */
871
- padding: 20px;
872
- -webkit-box-sizing: border-box;
873
- -moz-box-sizing: border-box;
874
- box-sizing: border-box;
875
- background: #ffffff;
876
- border-left: 1px solid #ddd;
877
- /**
878
- * Headings
879
- */
880
- /**
881
- * All Tabs
882
- */
883
- /**
884
- * Tab: Images
885
- */
886
- /**
887
- * Tab: Galleries
888
- * - Used on Albums
889
- */
890
- /**
891
- * Clearfix
892
- */ }
893
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs h2,
894
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs h2 {
895
- clear: none; }
896
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table,
897
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table {
898
- clear: none;
899
- margin: 0 0 40px 0;
900
- /**
901
- * Row padding
902
- */
903
- /**
904
- * Sub Headings
905
- * - Used to denote an Addon's settings within a settings tab e.g. the Mobile tab
906
- */
907
- /**
908
- * Full width labels (used for checkboxes that we don't want to be inline)
909
- */
910
- /**
911
- * Full width textareas
912
- */
913
- /**
914
- * Checkbox alignment
915
- */
916
- /**
917
- * Descriptions
918
- */ }
919
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table.no-margin,
920
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table.no-margin {
921
- margin: 0; }
922
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table th, form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table td,
923
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table th,
924
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table td {
925
- padding-top: 20px;
926
- padding-bottom: 20px; }
927
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table tr.sub-heading th,
928
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table tr.sub-heading th {
929
- margin: 0;
930
- padding: 20px 0 0 0;
931
- font-style: italic;
932
- font-weight: 400;
933
- font-size: 16px; }
934
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table label.full-width,
935
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table label.full-width {
936
- display: block;
937
- margin: 0 0 5px 0; }
938
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table label.full-width:first-child,
939
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table label.full-width:first-child {
940
- margin-top: 5px; }
941
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table textarea,
942
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table textarea {
943
- width: 100%; }
944
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table input[type=checkbox],
945
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table input[type=checkbox] {
946
- margin-bottom: 2px; }
947
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table p.description,
948
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table span.description,
949
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table p.description,
950
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table span.description {
951
- font-size: 13px;
952
- font-style: italic;
953
- color: #666; }
954
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images,
955
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images {
956
- /**
957
- * Inline Navigation
958
- * - Select All
959
- * - List View / Grid View
960
- * - Edit / Delete Selected Items
961
- */
962
- /**
963
- * Images
964
- * - Show move cursor
965
- */ }
966
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav,
967
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav {
968
- width: 100%;
969
- /**
970
- * Edit / Delete Selected
971
- * - Hidden by default, shown by JS when image(s) are selected
972
- */ }
973
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav.envira-tab-options,
974
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav.envira-tab-options {
975
- margin: 20px 0; }
976
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons,
977
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons {
978
- position: absolute;
979
- color: #999; }
980
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons.dashicons-grid-view,
981
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons.dashicons-grid-view {
982
- right: 20px; }
983
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons.dashicons-list-view,
984
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons.dashicons-list-view {
985
- right: 50px; }
986
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons.selected,
987
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons.selected {
988
- color: #23282d; }
989
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons span,
990
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons span {
991
- display: inline-block;
992
- text-indent: -9999px; }
993
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav.envira-select-options,
994
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav.envira-select-options {
995
- display: none; }
996
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images ul#envira-gallery-output li,
997
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images ul#envira-gallery-output li {
998
- cursor: move; }
999
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries,
1000
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries {
1001
- /**
1002
- * Inline Navigation
1003
- * - Search
1004
- */
1005
- /**
1006
- * Images
1007
- * - Show move cursor
1008
- * - Hide Edit & Delete icons, as these are only displayed when the gallery is assigned to the Album
1009
- */ }
1010
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav,
1011
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav {
1012
- width: 100%;
1013
- /**
1014
- * Bulk Action Buttons
1015
- * - Hidden by default, shown by JS when galleries(s) are selected
1016
- */ }
1017
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options,
1018
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options {
1019
- height: 40px;
1020
- margin: 20px 0;
1021
- position: relative;
1022
- /**
1023
- * Add Galleries to Album Button
1024
- */
1025
- /**
1026
- * Search
1027
- */ }
1028
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options a.envira-galleries-add,
1029
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options a.envira-galleries-add {
1030
- display: none;
1031
- /* Displayed via JS when Galleries selected */
1032
- position: absolute;
1033
- top: 0;
1034
- left: 0; }
1035
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options input#envira-albums-gallery-search,
1036
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options input#envira-albums-gallery-search {
1037
- position: absolute;
1038
- top: 0;
1039
- right: 0; }
1040
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav.envira-select-options,
1041
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav.envira-select-options {
1042
- display: none; }
1043
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li,
1044
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li {
1045
- cursor: move; }
1046
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li a.envira-gallery-remove-image,
1047
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li a.envira-gallery-modify-image,
1048
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li a.envira-gallery-remove-image,
1049
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li a.envira-gallery-modify-image {
1050
- display: none; }
1051
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs:after,
1052
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs:after {
1053
- content: "";
1054
- display: table;
1055
- clear: both; }
1056
- form#post.envira-gallery #poststuff #envira-gallery-preview {
1057
- /**
1058
- * Clearfix
1059
- */
1060
- /**
1061
- * Hide the title bar of the metabox, so we have a seamless style
1062
- */ }
1063
- form#post.envira-gallery #poststuff #envira-gallery-preview:after {
1064
- content: "";
1065
- display: table;
1066
- clear: both; }
1067
- form#post.envira-gallery #poststuff #envira-gallery-preview button.handlediv {
1068
- display: none; }
1069
- form#post.envira-gallery #poststuff #envira-gallery-preview h2.hndle {
1070
- display: none; }
1071
- form#post.envira-gallery #poststuff #envira-gallery-preview .inside {
1072
- margin: 0;
1073
- padding: 20px; }
1074
-
1075
- /* ==========================================================================
1076
- Media Modal (Insert Images and Edit Metadata)
1077
- ========================================================================== */
1078
- .media-modal {
1079
- /**
1080
- * Header Buttons
1081
- */
1082
- /**
1083
- * Upload
1084
- */
1085
- /**
1086
- * Insert
1087
- */
1088
- /**
1089
- * Attachments
1090
- * - Ensures that images fill each <li> attachment block, providing compatibility from WordPress 4.0 upwards
1091
- * - Removed as breaks 4.4, 4.5
1092
- ul.attachments {
1093
- li.attachment {
1094
- width: 20%;
1095
-
1096
- img {
1097
- width: 100%;
1098
- height: 100%;
1099
- }
1100
- }
1101
- }
1102
- */
1103
- /**
1104
- * Albums: Select Gallery Cover Image
1105
- * - Add some top spacing so that a selected cover image that's on the first line of the results
1106
- * doesn't have its checkmark cut off
1107
- */
1108
- /**
1109
- * Bulk Edit Attachments
1110
- * - Restore cursor to default, so the user doesn't think they can click an image
1111
- */
1112
- /**
1113
- * Edit
1114
- */ }
1115
- .media-modal .edit-attachment-frame .edit-media-header button.right {
1116
- border-right: 1px solid #ddd; }
1117
- .media-modal .uploader-inline {
1118
- /**
1119
- * Don't display the 'Select Files from Other Sources' button that we add to plupload
1120
- * when we're in a modal.
1121
- */ }
1122
- .media-modal .uploader-inline a.envira-media-library.button {
1123
- display: none; }
1124
- .media-modal .envira-progress-bar .envira-progress-bar-status {
1125
- display: none; }
1126
- .media-modal .attachment.details {
1127
- -webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #7cc048;
1128
- box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #7cc048; }
1129
- .media-modal .attachment.details .check {
1130
- background-color: #7cc048;
1131
- -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #7cc048;
1132
- box-shadow: 0 0 0 1px #fff, 0 0 0 2px #7cc048; }
1133
- .media-modal ul.attachments.envira-albums-gallery-cover-image {
1134
- padding: 10px; }
1135
- .media-modal ul.attachments.envira-bulk-edit li.attachment {
1136
- cursor: default; }
1137
- .media-modal ul.attachments.envira-bulk-edit li.attachment .attachment-preview {
1138
- cursor: default; }
1139
- .media-modal .attachment-details .attachment-info {
1140
- padding: 16px;
1141
- /**
1142
- * Settings
1143
- * - Contains one or more setting elements (Title, Alt etc)
1144
- */
1145
- /**
1146
- * Actions
1147
- * - Save Button
1148
- * - Spinner
1149
- */ }
1150
- .media-modal .attachment-details .attachment-info .settings {
1151
- margin: 0;
1152
- padding: 0;
1153
- border: none;
1154
- /**
1155
- * Individual Setting (Title, Alt etc)
1156
- */ }
1157
- .media-modal .attachment-details .attachment-info .settings .setting {
1158
- margin: 0 0 20px 0;
1159
- padding: 0 0 20px 0;
1160
- border-bottom: 1px solid #ddd;
1161
- /**
1162
- * Input
1163
- */ }
1164
- .media-modal .attachment-details .attachment-info .settings .setting input[type="text"],
1165
- .media-modal .attachment-details .attachment-info .settings .setting textarea {
1166
- display: block;
1167
- width: 100%;
1168
- min-width: 100%;
1169
- margin: 0; }
1170
- .media-modal .attachment-details .attachment-info .settings .setting input[type="checkbox"] {
1171
- float: left;
1172
- margin: 0 5px 0 0; }
1173
- .media-modal .attachment-details .attachment-info .settings .setting select {
1174
- margin: 0; }
1175
- .media-modal .attachment-details .attachment-info .settings .setting span {
1176
- /**
1177
- * Title
1178
- */
1179
- /**
1180
- * Description
1181
- */ }
1182
- .media-modal .attachment-details .attachment-info .settings .setting span.name {
1183
- display: block;
1184
- width: 100%;
1185
- min-width: 100%;
1186
- margin: 0;
1187
- padding: 0;
1188
- text-align: left;
1189
- font-weight: 700;
1190
- font-size: 14px; }
1191
- .media-modal .attachment-details .attachment-info .settings .setting span.description {
1192
- text-align: left;
1193
- font-style: normal;
1194
- font-size: 13px;
1195
- font-style: italic;
1196
- color: #666; }
1197
- .media-modal .attachment-details .attachment-info .settings .setting div.description {
1198
- clear: both;
1199
- float: left;
1200
- margin: 5px 0 0 0;
1201
- text-align: left;
1202
- font-size: 13px;
1203
- font-style: italic;
1204
- color: #666; }
1205
- .media-modal .attachment-details .attachment-info div.actions {
1206
- /**
1207
- * Ensure button renders at correct height
1208
- */ }
1209
- .media-modal .attachment-details .attachment-info div.actions a.button {
1210
- display: inline-block; }
1211
-
1212
- /* ==========================================================================
1213
- Retina
1214
- ========================================================================== */
1215
- @media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
1216
- /**
1217
- * WP media-views.css doesn't use .wp-core-ui for the x2 icons, therefore they never get applied
1218
- */
1219
- .wp-core-ui a.check .media-modal-icon {
1220
- background-image: url(../../../../../wp-includes/images/uploader-icons-2x.png) !important;
1221
- -webkit-background-size: 134px 15px;
1222
- background-size: 134px 15px; } }
1223
- /* ==========================================================================
1224
- Responsive
1225
- ========================================================================== */
1226
- @media screen and (max-width: 1100px) {
1227
- /* ==========================================================================
1228
- Form
1229
- - The envira-gallery class is assigned to the Gallery and Album Add/Edit screens form.
1230
- ========================================================================== */
1231
- form#post.envira-gallery #poststuff #envira-gallery,
1232
- form#post.envira-gallery #poststuff #envira-albums {
1233
- /**
1234
- * Tab Settings
1235
- */ }
1236
- form#post.envira-gallery #poststuff #envira-gallery .inside,
1237
- form#post.envira-gallery #poststuff #envira-albums .inside {
1238
- /**
1239
- * Native Envira Gallery
1240
- */ }
1241
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area,
1242
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area {
1243
- border-color: #d5d5d5; }
1244
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside,
1245
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside {
1246
- width: 100%;
1247
- margin-top: 20px; }
1248
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-buttons,
1249
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-buttons {
1250
- text-align: center; }
1251
- form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui a.envira-media-library.button,
1252
- form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui a.envira-media-library.button {
1253
- left: 0;
1254
- right: 0;
1255
- width: 235px;
1256
- top: 145px; } }
1257
- @media screen and (max-width: 768px) {
1258
- /* ==========================================================================
1259
- Form
1260
- - The envira-gallery class is assigned to the Gallery and Album Add/Edit screens form.
1261
- ========================================================================== */
1262
- form#post.envira-gallery #poststuff {
1263
- /* ==========================================================================
1264
- Envira Gallery Settings
1265
- Envira Albums Settings
1266
- ========================================================================== */ }
1267
- form#post.envira-gallery #poststuff #envira-gallery-settings,
1268
- form#post.envira-gallery #poststuff #envira-albums-settings {
1269
- /**
1270
- * Tabs
1271
- */
1272
- /**
1273
- * Settings
1274
- */ }
1275
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav,
1276
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav {
1277
- width: 60px; }
1278
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a,
1279
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a {
1280
- width: 60px;
1281
- height: 60px;
1282
- margin: 0;
1283
- padding: 0;
1284
- text-indent: -9999px;
1285
- background-position: center; }
1286
- form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a:hover, form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a.envira-active,
1287
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a:hover,
1288
- form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a.envira-active {
1289
- width: 60px;
1290
- height: 60px;
1291
- margin: 0;
1292
- padding: 0;
1293
- text-indent: -9999px;
1294
- background-position: center; }
1295
- form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs,
1296
- form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs {
1297
- margin: 0 0 0 60px;
1298
- /* Must match #ul#envira-tabs-nav width */ } }
1
+ body.post-type-envira #message,body.post-type-envira_album #message{margin:5px 20px 15px 20px}body.post-type-envira #wp-link-wrap,body.post-type-envira_album #wp-link-wrap{z-index:180105 !important}body.post-type-envira #wp-link-backdrop,body.post-type-envira_album #wp-link-backdrop{z-index:160105 !important}form#post.envira-gallery{margin:0 20px}form#post.envira-gallery #poststuff p.envira-intro{margin:0;padding:0 0 30px 0;border-bottom:1px solid #ddd;font-size:16px;font-weight:700}form#post.envira-gallery #poststuff p.envira-intro small{margin:5px 0 0 0;display:block;font-weight:400}form#post.envira-gallery #poststuff p.envira-intro small a{text-decoration:none;font-weight:600}form#post.envira-gallery #poststuff div.envira-video-help{position:relative;z-index:1;width:100%;margin:20px 0 0 0}form#post.envira-gallery #poststuff div.envira-video-help iframe{position:relative;z-index:1;width:100%;height:auto;min-height:300px}form#post.envira-gallery #poststuff div.envira-video-help a.envira-video-close{position:absolute;z-index:2;top:-12px;right:-12px;width:24px;height:24px;line-height:24px;-webkit-border-radius:50%;-moz-border-radius:50%;-o-border-radius:50%;border-radius:50%;background:#f5f5f5;color:#000;text-align:center;text-decoration:none}form#post.envira-gallery #poststuff ul.envira-gallery-images-output{width:100%}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li{position:relative;display:inline-block;width:150px;margin:0 20px 20px 0;padding:0;list-style:none;vertical-align:top;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#f7f7f7}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li img{display:block;width:150px;height:150px}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.placeholder-image{display:block;width:148px;height:149px;background:url(images/icons/leaf.svg) center no-repeat;background-size:64px 64px;border-left:1px solid #dfdfdf;border-top:1px solid #dfdfdf;border-right:1px solid #dfdfdf}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta{width:148px;overflow:hidden;text-align:center;border-left:1px solid #dfdfdf;border-bottom:1px solid #dfdfdf;border-right:1px solid #dfdfdf}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta div.title{font-size:12px;font-weight:700;width:138px;height:18px;line-height:18px;margin:8px 5px;overflow:hidden}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta div.title a.hint{position:absolute;display:inline-block;bottom:10px;right:10px;width:16px;height:16px;background:#f7f7f7}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta div.title a.hint.hidden{display:none}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta div.additional{display:none;margin:5px 0 0 0;font-weight:400}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.check{display:none;position:absolute;right:5px;top:5px;width:24px;height:24px;background-color:#eee;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px rgba(0,0,0,0.15);box-shadow:0 0 0 1px #fff,0 0 0 2px rgba(0,0,0,0.15)}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.check div.media-modal-icon{display:none;width:15px;height:15px;margin:5px 0 0 5px;background-position:-21px 0}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.dashicons{position:absolute;display:block;top:5px;left:5px;width:25px;height:25px;line-height:25px;font-size:18px;outline:none;z-index:20;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.dashicons.envira-gallery-modify-image{background:#0085ba;color:#fff}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.dashicons.envira-gallery-remove-image{left:35px;background:#e02626;color:#fff}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.selected{width:148px;border:2px solid #7cc048 !important}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.selected a.check{display:block;background-color:#7cc048;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #7cc048;box-shadow:0 0 0 1px #fff,0 0 0 2px #7cc048}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.selected a.check div.media-modal-icon{display:block}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.selected div.meta{width:146px}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.ui-sortable-helper li{position:absolute;top:0;left:0}form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li{position:relative;z-index:2;display:block;width:100%;margin:0 0 10px 0;padding:10px 15px;background:#fff;border:1px solid #ddd;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px}form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li img{display:inline-block;width:75px;margin-left:45px}form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li div.meta{position:absolute;z-index:1;left:0;display:inline-block;width:100%;padding:0 80px 0 150px;border:none;font-weight:700;text-align:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li div.meta div.title{display:block;width:100%;height:auto;font-size:16px;margin:0;padding:0}form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li div.meta div.title a.hint{display:none}form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li div.meta div.additional{display:block}form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li a.check{display:block;position:absolute;left:15px;top:35px}form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li a.envira-gallery-remove-image{left:auto;top:10px;right:10px}form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li a.envira-gallery-modify-image{left:auto;top:10px;right:40px}form#post.envira-gallery #poststuff #envira-gallery{margin:60px 0 20px 0}form#post.envira-gallery #poststuff #envira-gallery .handlediv,form#post.envira-gallery #poststuff #envira-albums .handlediv{display:none}form#post.envira-gallery #poststuff #envira-gallery .hndle,form#post.envira-gallery #poststuff #envira-albums .hndle{display:none}form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper,form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper{margin:-56px 0 0 -1px;padding:0;border-bottom:none}form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab,form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab{display:inline-block;width:49%;margin:0;padding:15px 0;text-align:center;font-size:16px;border-color:#e5e5e5;background:#f5f5f5}form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab.nav-tab-native-envira-gallery span,form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab.nav-tab-native-envira-gallery span{display:inline-block;background:url(images/icons/leaf.svg) 0 5px no-repeat;background-size:14px 14px;text-indent:20px}form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab.nav-tab-external-gallery,form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab.nav-tab-external-gallery{margin-right:-1px}form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab:hover,form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab.envira-active,form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab:hover,form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab.envira-active{background:#fff;border-bottom:1px solid #fff}form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab:focus,form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab:last-child,form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab:last-child{float:right}form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab input[type=radio],form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab input[type=radio]{display:none}form#post.envira-gallery #poststuff #envira-gallery .inside,form#post.envira-gallery #poststuff #envira-albums .inside{margin:0;padding:0}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui{height:210px}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area{display:none;border:4px dashed #b4b9be;height:200px}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside{margin:0 auto 0 auto}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p{display:block;text-align:center;color:#a0a5aa;position:absolute;top:50%;left:50%;margin:-10px 0 0 -10px}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p.drag-drop-info,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p.drag-drop-info{display:none;font-size:20px}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p.drag-drop-buttons,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p.drag-drop-buttons{text-align:center;position:relative;top:20px;left:0;margin:0}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui a.envira-media-library.button,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui a.envira-media-library.button{display:none;position:absolute;margin:0 auto;left:280px;right:0;width:230px;top:115px;text-align:center}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside{width:520px;margin:50px auto 0 auto}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p{position:relative;top:0;left:0;margin:0}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-info,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-info{display:block}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-buttons,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-buttons{margin:10px 0 0 0;text-align:left}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar{display:none;width:100%;position:relative;height:10px;width:100%;margin:10px auto;border-radius:10px;background:#dfdfdf;background:rgba(0,0,0,0.1)}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-inner,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-inner{height:10px;min-width:20px;width:0;background:#aaa;background:rgba(0,0,0,0.2);border-radius:10px;-webkit-transition:width 300ms;-moz-transition:width 300ms;-ms-transition:width 300ms;-o-transition:width 300ms;transition:width 300ms}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-status,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-status{clear:both;position:absolute;right:0;width:50%;height:30px;margin:12px 0 0 0;text-align:right}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-status .done,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-status .done{display:none}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui p.upload-flash-bypass,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui p.upload-flash-bypass{display:none}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab{padding:20px}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external{text-align:center}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external p.envira-intro,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external p.envira-intro{margin:0 0 20px 0;padding:0;border:none}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav{margin:0 0 40px 0;text-align:center}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li{display:inline-block;margin:0 20px 0 0;vertical-align:top}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:last-child,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:last-child{margin:0}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label,form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a{float:left;width:110px}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label input,form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a input,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label input,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a input{display:none}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label div.icon,form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a div.icon{width:110px;height:110px;margin:0 0 10px 0;border:1px solid #ddd;background-size:64px 64px;background-position:center;background-repeat:no-repeat}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label div.title,form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a div.title,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label div.title,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a div.title{font-weight:700}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:hover label div.icon,form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:hover a div.icon,form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li.envira-active label div.icon,form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li.envira-active a div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:hover label div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:hover a div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li.envira-active label div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li.envira-active a div.icon{background-color:#f7fcf3;border-color:#7cc048}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-fc label div.icon,form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-fc a div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-fc label div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-fc a div.icon{background-image:url(../images/types/fc.png)}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-instagram label div.icon,form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-instagram a div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-instagram label div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-instagram a div.icon{background-image:url(../images/types/instagram.png)}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external a.button.button-x-large,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external a.button.button-x-large{margin-top:30px}form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native{position:relative}form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native ul#envira-album-drag-drop-area{z-index:2;min-height:200px;margin:0;padding:20px;border:4px dashed #b4b9be;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native ul#envira-album-drag-drop-area li{cursor:move}form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native p.drag-drop-info{position:absolute;top:80px;z-index:1;margin:0 auto;left:0;right:0;text-align:center;color:#a0a5aa;font-size:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native p.drag-drop-info span{display:block}form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native p.drag-drop-info span.click{font-size:18px}form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native p.drag-drop-info small{display:block;margin:5px 0;font-size:14px}form#post.envira-gallery #poststuff #envira-gallery-settings,form#post.envira-gallery #poststuff #envira-albums-settings{background:#f7f7f7}form#post.envira-gallery #poststuff #envira-gallery-settings:after,form#post.envira-gallery #poststuff #envira-albums-settings:after{content:"";display:table;clear:both}form#post.envira-gallery #poststuff #envira-gallery-settings .handlediv,form#post.envira-gallery #poststuff #envira-albums-settings .handlediv{display:none}form#post.envira-gallery #poststuff #envira-gallery-settings .hndle,form#post.envira-gallery #poststuff #envira-albums-settings .hndle{display:none}form#post.envira-gallery #poststuff #envira-gallery-settings .inside,form#post.envira-gallery #poststuff #envira-albums-settings .inside{margin:0;padding:0}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav{width:160px;margin:0;padding:0;border-right:1px solid #ddd}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li{float:left;width:100%;margin:0;padding:0}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a{float:left;width:120px;margin:0 20px;padding:20px 0 20px 25px;text-decoration:none;color:#999;border-bottom:1px solid #ddd;background-position:left center;background-repeat:no-repeat;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;transition:none;-webkit-transition:none}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a:hover,form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a.envira-active,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a:hover,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a.envira-active{width:161px;margin:-1px 0 0 0;padding:20px 20px 20px 45px;text-decoration:none;color:#444;border-top:1px solid #ddd;border-bottom:1px solid #ddd;border-right:1px solid #fff;background-color:#fff;background-position:20px center}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a:focus,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li:last-child a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li:last-child a{border-bottom:none}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li:last-child a:hover,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li:last-child a:hover{border-bottom:none}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-images a,form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-galleries a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-images a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-galleries a{background-image:url(images/icons/leaf.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-config a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-config a{background-image:url(images/icons/configuration.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-lightbox a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-lightbox a{background-image:url(images/icons/lightbox.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-mobile a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-mobile a{background-image:url(images/icons/mobile.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-breadcrumbs a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-breadcrumbs a{background-image:url(images/icons/breadcrumbs.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-comments a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-comments a{background-image:url(images/icons/comments.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-downloads a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-downloads a{background-image:url(images/icons/downloads.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-exif a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-exif a{background-image:url(images/icons/exif.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-pagination a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-pagination a{background-image:url(images/icons/pagination.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-pinterest a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-pinterest a{background-image:url(images/icons/pinterest.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-proofing a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-proofing a{background-image:url(images/icons/proofing.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-printing a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-printing a{background-image:url(images/icons/printing.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-slideshow a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-slideshow a{background-image:url(images/icons/slideshow.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-standalone a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-standalone a{background-image:url(images/icons/standalone.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-social a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-social a{background-image:url(images/icons/social.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-tags a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-tags a{background-image:url(images/icons/tags.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-videos a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-videos a{background-image:url(images/icons/video.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-watermarking a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-watermarking a{background-image:url(images/icons/watermark.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-woocommerce a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-woocommerce a{background-image:url(images/icons/woocommerce.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-zoom a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-zoom a{background-image:url(images/icons/zoom.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-misc a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-misc a{background-image:url(images/icons/misc.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs{margin:0 0 0 160px;padding:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;background:#fff;border-left:1px solid #ddd}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs h2,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs h2{clear:none}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table{clear:none;margin:0 0 40px 0}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table.no-margin,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table.no-margin{margin:0}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table th,form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table td,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table th,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table td{padding-top:20px;padding-bottom:20px}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table tr.sub-heading th,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table tr.sub-heading th{margin:0;padding:20px 0 0 0;font-style:italic;font-weight:400;font-size:16px}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table label.full-width,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table label.full-width{display:block;margin:0 0 5px 0}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table label.full-width:first-child,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table label.full-width:first-child{margin-top:5px}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table textarea,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table textarea{width:100%}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table input[type=checkbox],form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table input[type=checkbox]{margin-bottom:2px}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table p.description,form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table span.description,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table p.description,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table span.description{font-size:13px;font-style:italic;color:#666}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav{width:100%}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav.envira-tab-options,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav.envira-tab-options{margin:20px 0}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons{position:absolute;color:#999}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons.dashicons-grid-view,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons.dashicons-grid-view{right:20px}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons.dashicons-list-view,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons.dashicons-list-view{right:50px}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons.selected,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons.selected{color:#23282d}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons span,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons span{display:inline-block;text-indent:-9999px}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav.envira-select-options,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav.envira-select-options{display:none}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images ul#envira-gallery-output li,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images ul#envira-gallery-output li{cursor:move}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav{width:100%}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options{height:40px;margin:20px 0;position:relative}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options a.envira-galleries-add,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options a.envira-galleries-add{display:none;position:absolute;top:0;left:0}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options input#envira-albums-gallery-search,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options input#envira-albums-gallery-search{position:absolute;top:0;right:0}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav.envira-select-options,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav.envira-select-options{display:none}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li{cursor:move}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li a.envira-gallery-remove-image,form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li a.envira-gallery-modify-image,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li a.envira-gallery-remove-image,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li a.envira-gallery-modify-image{display:none}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs:after,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs:after{content:"";display:table;clear:both}form#post.envira-gallery #poststuff #envira-gallery-preview:after{content:"";display:table;clear:both}form#post.envira-gallery #poststuff #envira-gallery-preview button.handlediv{display:none}form#post.envira-gallery #poststuff #envira-gallery-preview h2.hndle{display:none}form#post.envira-gallery #poststuff #envira-gallery-preview .inside{margin:0;padding:20px}.media-modal .edit-attachment-frame .edit-media-header button.right{border-right:1px solid #ddd}.media-modal .uploader-inline a.envira-media-library.button{display:none}.media-modal .envira-progress-bar .envira-progress-bar-status{display:none}.media-modal .attachment.details{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #7cc048;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #7cc048}.media-modal .attachment.details .check{background-color:#7cc048;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #7cc048;box-shadow:0 0 0 1px #fff,0 0 0 2px #7cc048}.media-modal ul.attachments.envira-albums-gallery-cover-image{padding:10px}.media-modal ul.attachments.envira-bulk-edit li.attachment{cursor:default}.media-modal ul.attachments.envira-bulk-edit li.attachment .attachment-preview{cursor:default}.media-modal .attachment-details .attachment-info{padding:16px}.media-modal .attachment-details .attachment-info .settings{margin:0;padding:0;border:none}.media-modal .attachment-details .attachment-info .settings .setting{margin:0 0 20px 0;padding:0 0 20px 0;border-bottom:1px solid #ddd}.media-modal .attachment-details .attachment-info .settings .setting input[type="text"],.media-modal .attachment-details .attachment-info .settings .setting textarea{display:block;width:100%;min-width:100%;margin:0}.media-modal .attachment-details .attachment-info .settings .setting input[type="checkbox"]{float:left;margin:0 5px 0 0}.media-modal .attachment-details .attachment-info .settings .setting select{margin:0}.media-modal .attachment-details .attachment-info .settings .setting span.name{display:block;width:100%;min-width:100%;margin:0;padding:0;text-align:left;font-weight:700;font-size:14px}.media-modal .attachment-details .attachment-info .settings .setting span.description{text-align:left;font-style:normal;font-size:13px;font-style:italic;color:#666}.media-modal .attachment-details .attachment-info .settings .setting div.description{clear:both;float:left;margin:5px 0 0 0;text-align:left;font-size:13px;font-style:italic;color:#666}.media-modal .attachment-details .attachment-info div.actions a.button{display:inline-block}@media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi){.wp-core-ui a.check .media-modal-icon{background-image:url(../../../../../wp-includes/images/uploader-icons-2x.png) !important;-webkit-background-size:134px 15px;background-size:134px 15px}}@media screen and (max-width: 1100px){form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area{border-color:#d5d5d5}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside{width:100%;margin-top:20px}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-buttons,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-buttons{text-align:center}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui a.envira-media-library.button,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui a.envira-media-library.button{left:0;right:0;width:235px;top:145px}}@media screen and (max-width: 768px){form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav{width:60px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a{width:60px;height:60px;margin:0;padding:0;text-indent:-9999px;background-position:center}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a:hover,form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a.envira-active,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a:hover,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a.envira-active{width:60px;height:60px;margin:0;padding:0;text-indent:-9999px;background-position:center}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs{margin:0 0 0 60px}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/responsivelyLazy.css CHANGED
@@ -10,17 +10,12 @@
10
  height: 0;
11
  display: block;
12
  overflow: hidden;
13
- /* margin-left: auto;
14
- margin-right: auto;*/
15
- /*width: auto;*/
16
  }
17
 
18
  .envira-lazy:not(img) img {
19
  position: absolute;
20
  top: 0;
21
  left: 0;
22
- /* width: 100%;
23
- height: 100%;*/
24
  }
25
 
26
  .envira-gallery-1-columns .envira-lazy:not(img) img,
@@ -30,10 +25,6 @@
30
  .envira-gallery-5-columns .envira-lazy:not(img) img,
31
  .envira-gallery-6-columns .envira-lazy:not(img) img {
32
  position: relative;
33
- /* width: 100%;
34
- height: 100%;*/
35
- /* margin-left: auto;
36
- margin-right: auto;*/
37
  }
38
 
39
  img.envira-lazy{
@@ -52,24 +43,3 @@ img.envira-lazy{
52
  .envira-gallery-item.envira-lazy-load .envira-caption {
53
  visibility: hidden;
54
  }
55
-
56
- /*
57
-
58
- .envira-gallery-link {
59
- display: block;
60
- position: relative;
61
- height: 0;
62
- }
63
-
64
- .envira-gallery-link {
65
-
66
-
67
- }
68
-
69
- .envira-gallery-link img {
70
- position: absolute;
71
- top: 0;
72
- left: 0;
73
- width: 100%;
74
- height: 100%;
75
- }*/
10
  height: 0;
11
  display: block;
12
  overflow: hidden;
 
 
 
13
  }
14
 
15
  .envira-lazy:not(img) img {
16
  position: absolute;
17
  top: 0;
18
  left: 0;
 
 
19
  }
20
 
21
  .envira-gallery-1-columns .envira-lazy:not(img) img,
25
  .envira-gallery-5-columns .envira-lazy:not(img) img,
26
  .envira-gallery-6-columns .envira-lazy:not(img) img {
27
  position: relative;
 
 
 
 
28
  }
29
 
30
  img.envira-lazy{
43
  .envira-gallery-item.envira-lazy-load .envira-caption {
44
  visibility: hidden;
45
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/table.css CHANGED
@@ -1,178 +1 @@
1
- /* ==========================================================================
2
- table.css loads on any Envira WP_List_Table Screen:
3
- - Galleries
4
- - Albums
5
-
6
- Any styles that will be used by these list tables should be added to this
7
- file:
8
- - Quick Edit
9
- ========================================================================== */
10
- /* ==========================================================================
11
- Imports
12
- ========================================================================== */
13
- /* ==========================================================================
14
- Variables SCSS
15
- ========================================================================== */
16
- /* ==========================================================================
17
- Mixins
18
- ========================================================================== */
19
- /**
20
- * Media Query
21
- */
22
- /**
23
- * Border-Radius
24
- */
25
- body.post-type-envira,
26
- body.post-type-envira_album {
27
- /* ==========================================================================
28
- Post Filters
29
- ========================================================================== */
30
- /* ==========================================================================
31
- Post Table Form
32
- ========================================================================== */
33
- /* ==========================================================================
34
- Quick Edit
35
- ========================================================================== */ }
36
- body.post-type-envira ul.subsubsub,
37
- body.post-type-envira_album ul.subsubsub {
38
- /**
39
- * Re-establish the left and right margins, so there's spacing between the Admin Menu
40
- * and the content
41
- */
42
- margin: 0 0 20px 0;
43
- padding-left: 20px; }
44
- body.post-type-envira .column-image,
45
- body.post-type-envira_album .column-image {
46
- width: 85px !important; }
47
- body.post-type-envira form#posts-filter,
48
- body.post-type-envira_album form#posts-filter {
49
- /**
50
- * Re-establish the left and right margins, so there's spacing between the Admin Menu
51
- * and the content
52
- */
53
- margin: 0 20px;
54
- /**
55
- * Table Navigation (Bulk Actions, Dates, SEO Score dropdowns etc)
56
- */
57
- /**
58
- * Reduce our global custom button sizes so they align with inputs
59
- */ }
60
- body.post-type-envira form#posts-filter div.tablenav.top,
61
- body.post-type-envira_album form#posts-filter div.tablenav.top {
62
- margin: 0 0 8px 0; }
63
- body.post-type-envira form#posts-filter .button,
64
- body.post-type-envira_album form#posts-filter .button {
65
- height: 28px;
66
- line-height: 26px; }
67
- body.post-type-envira #wpbody-content td.colspanchange,
68
- body.post-type-envira_album #wpbody-content td.colspanchange {
69
- /**
70
- * Left Col (Title, Slug, Date, Password)
71
- */
72
- /**
73
- * Category Column
74
- */
75
- /**
76
- * Right Column (Comments + Status)
77
- */
78
- /**
79
- * Envira Gallery Col
80
- */
81
- /**
82
- * Submit
83
- */ }
84
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-left,
85
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-left {
86
- width: 40%; }
87
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-left fieldset.inline-edit-date,
88
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-left fieldset.inline-edit-date {
89
- display: none; }
90
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-left div.inline-edit-group:last-child,
91
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-left div.inline-edit-group:last-child {
92
- display: none; }
93
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-center.inline-edit-categories,
94
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-center.inline-edit-categories {
95
- display: none; }
96
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-right,
97
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-right {
98
- margin: 30px 0 0 0; }
99
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-right label.inline-edit-status.alignleft,
100
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-right label.inline-edit-status.alignleft {
101
- width: 100%; }
102
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-right,
103
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery,
104
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-right,
105
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery {
106
- width: 60%;
107
- /* Fill the remainder of the width */ }
108
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-right .inline-edit-group,
109
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group,
110
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-right .inline-edit-group,
111
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group {
112
- clear: none;
113
- float: left;
114
- width: 50%;
115
- /**
116
- * Label
117
- */
118
- /**
119
- * Inputs
120
- */ }
121
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-right .inline-edit-group span.title,
122
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group span.title,
123
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-right .inline-edit-group span.title,
124
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group span.title {
125
- width: 40%;
126
- padding-right: 0.5em; }
127
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-right .inline-edit-group input[type=number],
128
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group input[type=number],
129
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-right .inline-edit-group input[type=number],
130
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group input[type=number] {
131
- width: 60px;
132
- line-height: normal; }
133
- body.post-type-envira #wpbody-content td.colspanchange p.submit.inline-edit-save,
134
- body.post-type-envira_album #wpbody-content td.colspanchange p.submit.inline-edit-save {
135
- margin-bottom: 20px; }
136
-
137
- /* ==========================================================================
138
- Responsive
139
- ========================================================================== */
140
- @media screen and (max-width: 940px) {
141
- body.post-type-envira,
142
- body.post-type-envira_album {
143
- /* ==========================================================================
144
- Quick Edit
145
- ========================================================================== */
146
- /* ==========================================================================
147
- Search Box
148
- ========================================================================== */ }
149
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-left
150
- fieldset.inline-edit-col-right,
151
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery,
152
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-left
153
- fieldset.inline-edit-col-right,
154
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery {
155
- clear: both;
156
- width: 100%; }
157
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-left
158
- fieldset.inline-edit-col-right .inline-edit-group,
159
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group,
160
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-left
161
- fieldset.inline-edit-col-right .inline-edit-group,
162
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group {
163
- clear: both;
164
- float: left;
165
- width: 100%;
166
- /**
167
- * Label
168
- */ }
169
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-left
170
- fieldset.inline-edit-col-right .inline-edit-group span.title,
171
- body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group span.title,
172
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-left
173
- fieldset.inline-edit-col-right .inline-edit-group span.title,
174
- body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group span.title {
175
- width: 100%; }
176
- body.post-type-envira p.search-box,
177
- body.post-type-envira_album p.search-box {
178
- width: 94%; } }
1
+ body.post-type-envira ul.subsubsub,body.post-type-envira_album ul.subsubsub{margin:0 0 20px 0;padding-left:20px}body.post-type-envira .column-image,body.post-type-envira_album .column-image{width:85px !important}body.post-type-envira form#posts-filter,body.post-type-envira_album form#posts-filter{margin:0 20px}body.post-type-envira form#posts-filter div.tablenav.top,body.post-type-envira_album form#posts-filter div.tablenav.top{margin:0 0 8px 0}body.post-type-envira form#posts-filter .button,body.post-type-envira_album form#posts-filter .button{height:28px;line-height:26px}body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-left,body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-left{width:40%}body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-left fieldset.inline-edit-date,body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-left fieldset.inline-edit-date{display:none}body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-left div.inline-edit-group:last-child,body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-left div.inline-edit-group:last-child{display:none}body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-center.inline-edit-categories,body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-center.inline-edit-categories{display:none}body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-right,body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-right{margin:30px 0 0 0}body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-right label.inline-edit-status.alignleft,body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-right label.inline-edit-status.alignleft{width:100%}body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-right,body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery,body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-right,body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery{width:60%}body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-right .inline-edit-group,body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group,body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-right .inline-edit-group,body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group{clear:none;float:left;width:50%}body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-right .inline-edit-group span.title,body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group span.title,body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-right .inline-edit-group span.title,body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group span.title{width:40%;padding-right:0.5em}body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-right .inline-edit-group input[type=number],body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group input[type=number],body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-right .inline-edit-group input[type=number],body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group input[type=number]{width:60px;line-height:normal}body.post-type-envira #wpbody-content td.colspanchange p.submit.inline-edit-save,body.post-type-envira_album #wpbody-content td.colspanchange p.submit.inline-edit-save{margin-bottom:20px}@media screen and (max-width: 940px){body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-left fieldset.inline-edit-col-right,body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery,body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-left fieldset.inline-edit-col-right,body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery{clear:both;width:100%}body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-left fieldset.inline-edit-col-right .inline-edit-group,body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group,body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-left fieldset.inline-edit-col-right .inline-edit-group,body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group{clear:both;float:left;width:100%}body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-col-left fieldset.inline-edit-col-right .inline-edit-group span.title,body.post-type-envira #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group span.title,body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-col-left fieldset.inline-edit-col-right .inline-edit-group span.title,body.post-type-envira_album #wpbody-content td.colspanchange fieldset.inline-edit-envira-gallery .inline-edit-group span.title{width:100%}body.post-type-envira p.search-box,body.post-type-envira_album p.search-box{width:94%}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/lib/fancybox.js CHANGED
@@ -59,6 +59,11 @@
59
  if ((/^(?:javascript)/i).test(W) || W == "#") {
60
  W = null
61
  }
 
 
 
 
 
62
  if (H.type) {
63
  Y = H.type;
64
  if (!W) {
@@ -787,6 +792,12 @@
787
  B('<iframe id="envirabox-hide-sel-frame" src="' + (/^https/i.test(window.location.href || "") ? "javascript:void(false)" : "about:blank") + '" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(d)
788
  }
789
  };
 
 
 
 
 
 
790
  B.fn.envirabox.defaults = {
791
  padding: 10,
792
  margin: 40,
59
  if ((/^(?:javascript)/i).test(W) || W == "#") {
60
  W = null
61
  }
62
+ /* is href/W a link? */
63
+ if ( typeof W === 'string' && B.envirabox.isUrl(W) && !B.envirabox.isImage(W) ) {
64
+ document.getElementById("envirabox-loading").style.visibility = "hidden";
65
+ window.location.href = W;
66
+ }
67
  if (H.type) {
68
  Y = H.type;
69
  if (!W) {
792
  B('<iframe id="envirabox-hide-sel-frame" src="' + (/^https/i.test(window.location.href || "") ? "javascript:void(false)" : "about:blank") + '" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(d)
793
  }
794
  };
795
+ B.envirabox.isUrl = function(str) {
796
+ return str.match(/^(https?):\/\/((?:[a-z0-9.-]|%[0-9A-F]{2}){3,})(?::(\d+))?((?:\/(?:[a-z0-9-._~!$&'()*+,;=:@]|%[0-9A-F]{2})*)*)(?:\?((?:[a-z0-9-._~!$&'()*+,;=:\/?@]|%[0-9A-F]{2})*))?(?:#((?:[a-z0-9-._~!$&'()*+,;=:\/?@]|%[0-9A-F]{2})*))?$/i);
797
+ };
798
+ B.envirabox.isImage = function(str) {
799
+ return str.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i);
800
+ };
801
  B.fn.envirabox.defaults = {
802
  padding: 10,
803
  margin: 40,
assets/js/min/envira-min.js CHANGED
@@ -1,4 +1,4 @@
1
- function jg_effect_desaturate(t){var e=!!document.createElement("canvas").getContext;if(e){var i=document.createElement("canvas"),n=i.getContext("2d"),o,r,s,a=0,h,l=new Image;for(l.src=t,i.width=l.width,i.height=l.height,n.drawImage(l,0,0),o=n.getImageData(0,0,i.width,i.height),r=o.data,s=r.length;s>a;a+=4)h=.3*r[a]+.59*r[a+1]+.11*r[a+2],r[a]=r[a+1]=r[a+2]=h;return n.putImageData(o,0,0),i.toDataURL()}return t}function jg_effect_threshold(t){var e=!!document.createElement("canvas").getContext;if(e){var i=document.createElement("canvas"),n=i.getContext("2d"),o,r,s,a=0,h,l=new Image;l.src=t,i.width=l.width,i.height=l.height,n.drawImage(l,0,0),o=n.getImageData(0,0,i.width,i.height),r=o.data,s=r.length,threshold=120;for(var a=0;s>a;a+=4){var u=r[a],d=r[a+1],c=r[a+2],f=.2126*u+.7152*d+.0722*c>=threshold?255:0;r[a]=r[a+1]=r[a+2]=f}return n.putImageData(o,0,0),i.toDataURL()}return t}function jg_effect_blur(t){var e=!!document.createElement("canvas").getContext;if(e){var i=document.createElement("canvas"),n=i.getContext("2d"),o,r,s,a=0,h,l=0,u=0,d=30,c=1;img=new Image,img.src=t,i.width=img.width,i.height=img.height,n.drawImage(img,0,0);var o,f=img.width,g=img.height;o=n.getImageData(l,u,f,g);for(var p=o.data,m,v,y,w,b,x,a,I,S,E,_,z,R,T,C=f-1,j=g-1,O=f*g,L=d+1,A=[],D=[],M=[],H=mul_table[d],k=shg_table[d],W=[],B=[];c-- >0;){for(R=z=0,x=0;g>x;x++){for(m=p[R]*L,v=p[R+1]*L,y=p[R+2]*L,a=1;d>=a;a++)I=R+((a>C?C:a)<<2),m+=p[I++],v+=p[I++],y+=p[I++];for(b=0;f>b;b++)A[z]=m,D[z]=v,M[z]=y,0==x&&(W[b]=((I=b+L)<C?I:C)<<2,B[b]=(I=b-d)>0?I<<2:0),S=R+W[b],E=R+B[b],m+=p[S++]-p[E++],v+=p[S++]-p[E++],y+=p[S++]-p[E++],z++;R+=f<<2}for(b=0;f>b;b++){for(_=b,m=A[_]*L,v=D[_]*L,y=M[_]*L,a=1;d>=a;a++)_+=a>j?0:f,m+=A[_],v+=D[_],y+=M[_];for(z=b<<2,x=0;g>x;x++)p[z]=m*H>>>k,p[z+1]=v*H>>>k,p[z+2]=y*H>>>k,0==b&&(W[x]=((I=x+L)<j?I:j)*f,B[x]=(I=x-d)>0?I*f:0),S=b+W[x],E=b+B[x],m+=A[S]-A[E],v+=D[S]-D[E],y+=M[S]-M[E],z+=f<<2}}return n.putImageData(o,l,u),i.toDataURL()}return t}function jg_effect_vintage(t){var e={onError:function(){alert("ERROR")}},i={vignette:1,sepia:!0,noise:50,desaturate:.2,lighten:.1};new VintageJS(t,e,i)}function boxBlurImage(t,e,i,n,o){var r=document.getElementById(t),s=r.naturalWidth,a=r.naturalHeight,h=document.getElementById(e);h.style.width=s+"px",h.style.height=a+"px",h.width=s,h.height=a;var l=h.getContext("2d");l.clearRect(0,0,s,a),l.drawImage(r,0,0),isNaN(i)||1>i||(n?boxBlurCanvasRGBA(e,0,0,s,a,i,o):boxBlurCanvasRGB(e,0,0,s,a,i,o))}function boxBlurCanvasRGBA(t,e,i,n,o,r,s){if(!(isNaN(r)||1>r)){r|=0,isNaN(s)&&(s=1),s|=0,s>3&&(s=3),1>s&&(s=1);var a=document.getElementById(t),h=a.getContext("2d"),l;try{try{l=h.getImageData(e,i,n,o)}catch(u){try{netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"),l=h.getImageData(e,i,n,o)}catch(u){throw alert("Cannot access local image"),new Error("unable to access local image data: "+u);return}}}catch(u){throw alert("Cannot access image"),new Error("unable to access image data: "+u);return}for(var d=l.data,c,f,g,p,m,v,y,w,b,x,I,S,E,_,z,R=n-1,T=o-1,C=n*o,j=r+1,O=mul_table[r],L=shg_table[r],A=[],D=[],M=[],H=[],k=[],W=[];s-- >0;){for(E=S=0,v=0;o>v;v++){for(c=d[E]*j,f=d[E+1]*j,g=d[E+2]*j,p=d[E+3]*j,y=1;r>=y;y++)w=E+((y>R?R:y)<<2),c+=d[w++],f+=d[w++],g+=d[w++],p+=d[w];for(m=0;n>m;m++)A[S]=c,D[S]=f,M[S]=g,H[S]=p,0==v&&(k[m]=((w=m+j)<R?w:R)<<2,W[m]=(w=m-r)>0?w<<2:0),b=E+k[m],x=E+W[m],c+=d[b++]-d[x++],f+=d[b++]-d[x++],g+=d[b++]-d[x++],p+=d[b]-d[x],S++;E+=n<<2}for(m=0;n>m;m++){for(I=m,c=A[I]*j,f=D[I]*j,g=M[I]*j,p=H[I]*j,y=1;r>=y;y++)I+=y>T?0:n,c+=A[I],f+=D[I],g+=M[I],p+=H[I];for(S=m<<2,v=0;o>v;v++)d[S+3]=z=p*O>>>L,z>0?(z=255/z,d[S]=(c*O>>>L)*z,d[S+1]=(f*O>>>L)*z,d[S+2]=(g*O>>>L)*z):d[S]=d[S+1]=d[S+2]=0,0==m&&(k[v]=((w=v+j)<T?w:T)*n,W[v]=(w=v-r)>0?w*n:0),b=m+k[v],x=m+W[v],c+=A[b]-A[x],f+=D[b]-D[x],g+=M[b]-M[x],p+=H[b]-H[x],S+=n<<2}}h.putImageData(l,e,i)}}function boxBlurCanvasRGB(t,e,i,n,o,r,s){if(!(isNaN(r)||1>r)){r|=0,isNaN(s)&&(s=1),s|=0,s>3&&(s=3),1>s&&(s=1);var a=t,h=a.getContext("2d"),l;try{try{l=h.getImageData(e,i,n,o)}catch(u){try{netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"),l=h.getImageData(e,i,n,o)}catch(u){throw alert("Cannot access local image"),new Error("unable to access local image data: "+u);return}}}catch(u){throw alert("Cannot access image"),new Error("unable to access image data: "+u);return}for(var d=l.data,c,f,g,p,m,v,y,w,b,x,I,S,E,_,z=n-1,R=o-1,T=n*o,C=r+1,j=[],O=[],L=[],A=mul_table[r],D=shg_table[r],M=[],H=[];s-- >0;){for(E=S=0,v=0;o>v;v++){for(c=d[E]*C,f=d[E+1]*C,g=d[E+2]*C,y=1;r>=y;y++)w=E+((y>z?z:y)<<2),c+=d[w++],f+=d[w++],g+=d[w++];for(m=0;n>m;m++)j[S]=c,O[S]=f,L[S]=g,0==v&&(M[m]=((w=m+C)<z?w:z)<<2,H[m]=(w=m-r)>0?w<<2:0),b=E+M[m],x=E+H[m],c+=d[b++]-d[x++],f+=d[b++]-d[x++],g+=d[b++]-d[x++],S++;E+=n<<2}for(m=0;n>m;m++){for(I=m,c=j[I]*C,f=O[I]*C,g=L[I]*C,y=1;r>=y;y++)I+=y>R?0:n,c+=j[I],f+=O[I],g+=L[I];for(S=m<<2,v=0;o>v;v++)d[S]=c*A>>>D,d[S+1]=f*A>>>D,d[S+2]=g*A>>>D,0==m&&(M[v]=((w=v+C)<R?w:R)*n,H[v]=(w=v-r)>0?w*n:0),b=m+M[v],x=m+H[v],c+=j[b]-j[x],f+=O[b]-O[x],g+=L[b]-L[x],S+=n<<2}}h.putImageData(l,e,i)}}jQuery(document).ready(function($){$("body").on("click",'div.envirabox-title a[href*="#"]:not([href="#"])',function(t){return location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname?($.envirabox.close(),!1):void 0}),$(document).on("envira_image_lazy_load_complete",function(t){if(void 0!==t&&void 0!==t.image_id&&null!==t.image_id){var e=$("div.envira-gallery-public").find("img#"+t.image_id);if($("div.envira-gallery-public").hasClass("envira-gallery-0-columns"))$(e).closest("div.envira-gallery-item-inner").find("div.envira-gallery-position-overlay").delay(100).show();else{$(e).closest("div.envira-gallery-item-inner").find("div.envira-gallery-position-overlay").delay(100).show();var i=$(e).closest("div.envira-gallery-item-inner").find(".envira-lazy").width(),n=t.naturalHeight/t.naturalWidth,o=t.naturalHeight/i;if(n>o)var r=o;else var r=n;var s=100*r;$(e).closest("div.envira-gallery-item-inner").find(".envira-lazy").css("padding-bottom",s+"%"),$(e).closest("div.envira-gallery-item-inner").find(".envira-lazy").data("envira-changed","true"),void 0!==window["envira_container_"+t.gallery_id]&&window["envira_container_"+t.gallery_id].on("layoutComplete",function(t,i){$(e).closest("div.envira-gallery-item-inner").find("span.envira-title").delay(1e3).css("visibility","visible"),$(e).closest("div.envira-gallery-item-inner").find("span.envira-caption").delay(1e3).css("visibility","visible")}),$("#envira-gallery-"+t.gallery_id).enviratope("layout")}}})}),function($){function t(){return $("body").height()>$(window).height()}var e=function(t,e){this.settings=e,this.checkSettings(),this.imgAnalyzerTimeout=null,this.entries=null,this.buildingRow={entriesBuff:[],width:0,height:0,aspectRatio:0},this.lastAnalyzedIndex=-1,this["yield"]={every:2,flushed:0},this.border=e.border>=0?e.border:e.margins,this.maxRowHeight=this.retrieveMaxRowHeight(),this.suffixRanges=this.retrieveSuffixRanges(),this.offY=this.border,this.rows=0,this.spinner={phase:0,timeSlot:150,$el:$('<div class="spinner"><span></span><span></span><span></span></div>'),intervalId:null},this.checkWidthIntervalId=null,this.galleryWidth=t.width(),this.$gallery=t};e.prototype.getSuffix=function(t,e){var i,n;for(i=t>e?t:e,n=0;n<this.suffixRanges.length;n++)if(i<=this.suffixRanges[n])return this.settings.sizeRangeSuffixes[this.suffixRanges[n]];return this.settings.sizeRangeSuffixes[this.suffixRanges[n-1]]},e.prototype.removeSuffix=function(t,e){return t.substring(0,t.length-e.length)},e.prototype.endsWith=function(t,e){return-1!==t.indexOf(e,t.length-e.length)},e.prototype.getUsedSuffix=function(t){for(var e in this.settings.sizeRangeSuffixes)if(this.settings.sizeRangeSuffixes.hasOwnProperty(e)){if(0===this.settings.sizeRangeSuffixes[e].length)continue;if(this.endsWith(t,this.settings.sizeRangeSuffixes[e]))return this.settings.sizeRangeSuffixes[e]}return""},e.prototype.newSrc=function(t,e,i){var n;if(this.settings.thumbnailPath)n=this.settings.thumbnailPath(t,e,i);else{var o=t.match(this.settings.extension),r=null!==o?o[0]:"";n=t.replace(this.settings.extension,""),n=this.removeSuffix(n,this.getUsedSuffix(n)),n+=this.getSuffix(e,i)+r}return n},e.prototype.showImg=function(t,e){this.settings.cssAnimation?(t.addClass("entry-visible"),e&&e()):t.stop().fadeTo(this.settings.imagesAnimationDuration,1,e)},e.prototype.extractImgSrcFromImage=function(t){var e="undefined"!=typeof t.data("safe-src")?t.data("safe-src"):t.attr("src");return t.data("jg.originalSrc",e),e},e.prototype.imgFromEntry=function(t){var e=t.find("> img");return 0===e.length&&(e=t.find("> a > img")),0===e.length?null:e},e.prototype.captionFromEntry=function(t){var e=t.find("> .caption");return 0===e.length?null:e},e.prototype.displayEntry=function(t,e,i,n,o,r){t.width(n),t.height(r),t.css("top",i),t.css("left",e);var s=this.imgFromEntry(t);if(null!==s){s.css("width",n),s.css("height",o),s.css("margin-left",-n/2),s.css("margin-top",-o/2);var a=s.attr("src"),h=this.newSrc(a,n,o);s.one("error",function(){s.attr("src",s.data("jg.originalSrc"))});var l=function(){a!==h&&s.attr("src",h)};"skipped"===t.data("jg.loaded")?this.onImageEvent(a,$.proxy(function(){this.showImg(t,l),t.data("jg.loaded",!0)},this)):this.showImg(t,l)}else this.showImg(t);this.displayEntryCaption(t)},e.prototype.displayEntryCaption=function(t){var e=this.imgFromEntry(t);if(null!==e&&this.settings.captions){var i=this.captionFromEntry(t);if(null===i){var n=e.attr("alt");this.isValidCaption(n)||(n=t.attr("title")),this.isValidCaption(n)&&(i=$('<div class="caption">'+n+"</div>"),t.append(i),t.data("jg.createdCaption",!0))}null!==i&&(this.settings.cssAnimation||i.stop().fadeTo(0,this.settings.captionSettings.nonVisibleOpacity),this.addCaptionEventsHandlers(t))}else this.removeCaptionEventsHandlers(t)},e.prototype.isValidCaption=function(t){return"undefined"!=typeof t&&t.length>0},e.prototype.onEntryMouseEnterForCaption=function(t){var e=this.captionFromEntry($(t.currentTarget));this.settings.cssAnimation?e.addClass("caption-visible").removeClass("caption-hidden"):e.stop().fadeTo(this.settings.captionSettings.animationDuration,this.settings.captionSettings.visibleOpacity)},e.prototype.onEntryMouseLeaveForCaption=function(t){var e=this.captionFromEntry($(t.currentTarget));this.settings.cssAnimation?e.removeClass("caption-visible").removeClass("caption-hidden"):e.stop().fadeTo(this.settings.captionSettings.animationDuration,this.settings.captionSettings.nonVisibleOpacity)},e.prototype.addCaptionEventsHandlers=function(t){var e=t.data("jg.captionMouseEvents");"undefined"==typeof e&&(e={mouseenter:$.proxy(this.onEntryMouseEnterForCaption,this),mouseleave:$.proxy(this.onEntryMouseLeaveForCaption,this)},t.on("mouseenter",void 0,void 0,e.mouseenter),t.on("mouseleave",void 0,void 0,e.mouseleave),t.data("jg.captionMouseEvents",e))},e.prototype.removeCaptionEventsHandlers=function(t){var e=t.data("jg.captionMouseEvents");"undefined"!=typeof e&&(t.off("mouseenter",void 0,e.mouseenter),t.off("mouseleave",void 0,e.mouseleave),t.removeData("jg.captionMouseEvents"))},e.prototype.prepareBuildingRow=function(t){var e,i,n,o,r,s=!0,a=0,h=this.galleryWidth-2*this.border-(this.buildingRow.entriesBuff.length-1)*this.settings.margins,l=h/this.buildingRow.aspectRatio,u=this.settings.rowHeight,d=this.buildingRow.width/h>this.settings.justifyThreshold;if(t&&"hide"===this.settings.lastRow&&!d){for(e=0;e<this.buildingRow.entriesBuff.length;e++)i=this.buildingRow.entriesBuff[e],this.settings.cssAnimation?i.removeClass("entry-visible"):i.stop().fadeTo(0,0);return-1}for(t&&!d&&"justify"!==this.settings.lastRow&&"hide"!==this.settings.lastRow&&(s=!1,this.rows>0&&(u=(this.offY-this.border-this.settings.margins*this.rows)/this.rows,s=u*this.buildingRow.aspectRatio/h>this.settings.justifyThreshold?!0:!1)),e=0;e<this.buildingRow.entriesBuff.length;e++)i=this.buildingRow.entriesBuff[e],n=i.data("jg.width")/i.data("jg.height"),s?(o=e===this.buildingRow.entriesBuff.length-1?h:l*n,r=l):(o=u*n,r=u),h-=Math.round(o),i.data("jg.jwidth",Math.round(o)),i.data("jg.jheight",Math.ceil(r)),(0===e||a>r)&&(a=r);return this.settings.fixedHeight&&a>this.settings.rowHeight&&(a=this.settings.rowHeight),this.buildingRow.height=a,s},e.prototype.clearBuildingRow=function(){this.buildingRow.entriesBuff=[],this.buildingRow.aspectRatio=0,this.buildingRow.width=0},e.prototype.flushRow=function(t){var e=this.settings,i,n,o=this.border,r;if(n=this.prepareBuildingRow(t),t&&"hide"===e.lastRow&&-1===n)return void this.clearBuildingRow();if(this.maxRowHeight.isPercentage?this.maxRowHeight.value*e.rowHeight<this.buildingRow.height&&(this.buildingRow.height=this.maxRowHeight.value*e.rowHeight):this.maxRowHeight.value>0&&this.maxRowHeight.value<this.buildingRow.height&&(this.buildingRow.height=this.maxRowHeight.value),"center"===e.lastRow||"right"===e.lastRow){var s=this.galleryWidth-2*this.border-(this.buildingRow.entriesBuff.length-1)*e.margins;for(r=0;r<this.buildingRow.entriesBuff.length;r++)i=this.buildingRow.entriesBuff[r],s-=i.data("jg.jwidth");"center"===e.lastRow?o+=s/2:"right"===e.lastRow&&(o+=s)}for(r=0;r<this.buildingRow.entriesBuff.length;r++)i=this.buildingRow.entriesBuff[r],this.displayEntry(i,o,this.offY,i.data("jg.jwidth"),i.data("jg.jheight"),this.buildingRow.height),o+=i.data("jg.jwidth")+e.margins;this.galleryHeightToSet=this.offY+this.buildingRow.height+this.border,this.$gallery.height(this.galleryHeightToSet+this.getSpinnerHeight()),(!t||this.buildingRow.height<=e.rowHeight&&n)&&(this.offY+=this.buildingRow.height+e.margins,this.rows+=1,this.clearBuildingRow(),this.$gallery.trigger("jg.rowflush"))};var i=!1;e.prototype.checkWidth=function(){this.checkWidthIntervalId=setInterval($.proxy(function(){var e=parseFloat(this.$gallery.width());t()===i?Math.abs(e-this.galleryWidth)>this.settings.refreshSensitivity&&(this.galleryWidth=e,this.rewind(),this.startImgAnalyzer(!0)):(i=t(),this.galleryWidth=e)},this),this.settings.refreshTime)},e.prototype.isSpinnerActive=function(){return null!==this.spinner.intervalId},e.prototype.getSpinnerHeight=function(){return this.spinner.$el.innerHeight()},e.prototype.stopLoadingSpinnerAnimation=function(){clearInterval(this.spinner.intervalId),this.spinner.intervalId=null,this.$gallery.height(this.$gallery.height()-this.getSpinnerHeight()),this.spinner.$el.detach()},e.prototype.startLoadingSpinnerAnimation=function(){var t=this.spinner,e=t.$el.find("span");clearInterval(t.intervalId),this.$gallery.append(t.$el),this.$gallery.height(this.offY+this.buildingRow.height+this.getSpinnerHeight()),t.intervalId=setInterval(function(){t.phase<e.length?e.eq(t.phase).fadeTo(t.timeSlot,1):e.eq(t.phase-e.length).fadeTo(t.timeSlot,0),t.phase=(t.phase+1)%(2*e.length)},t.timeSlot)},e.prototype.rewind=function(){this.lastAnalyzedIndex=-1,this.offY=this.border,this.rows=0,this.clearBuildingRow()},e.prototype.updateEntries=function(t){return this.entries=this.$gallery.find(this.settings.selector).toArray(),0===this.entries.length?!1:(this.settings.filter?this.modifyEntries(this.filterArray,t):this.modifyEntries(this.resetFilters,t),$.isFunction(this.settings.sort)?this.modifyEntries(this.sortArray,t):this.settings.randomize&&this.modifyEntries(this.shuffleArray,t),!0)},e.prototype.insertToGallery=function(t){var e=this;$.each(t,function(){$(this).appendTo(e.$gallery)})},e.prototype.shuffleArray=function(t){var e,i,n;for(e=t.length-1;e>0;e--)i=Math.floor(Math.random()*(e+1)),n=t[e],t[e]=t[i],t[i]=n;return this.insertToGallery(t),t},e.prototype.sortArray=function(t){return t.sort(this.settings.sort),this.insertToGallery(t),t},e.prototype.resetFilters=function(t){for(var e=0;e<t.length;e++)$(t[e]).removeClass("jg-filtered");return t},e.prototype.filterArray=function(t){var e=this.settings;return"string"===$.type(e.filter)?t.filter(function(t){var i=$(t);return i.is(e.filter)?(i.removeClass("jg-filtered"),!0):(i.addClass("jg-filtered"),!1)}):$.isFunction(e.filter)?t.filter(e.filter):void 0},e.prototype.modifyEntries=function(t,e){var i=e?this.entries.splice(this.lastAnalyzedIndex+1,this.entries.length-this.lastAnalyzedIndex-1):this.entries;i=t.call(this,i),this.entries=e?this.entries.concat(i):i},e.prototype.destroy=function(){clearInterval(this.checkWidthIntervalId),$.each(this.entries,$.proxy(function(t,e){var i=$(e);i.css("width",""),i.css("height",""),i.css("top",""),i.css("left",""),i.data("jg.loaded",void 0),i.removeClass("jg-entry");var n=this.imgFromEntry(i);n.css("width",""),n.css("height",""),n.css("margin-left",""),n.css("margin-top",""),n.attr("src",n.data("jg.originalSrc")),n.data("jg.originalSrc",void 0),this.removeCaptionEventsHandlers(i);var o=this.captionFromEntry(i);i.data("jg.createdCaption")?(i.data("jg.createdCaption",void 0),null!==o&&o.remove()):null!==o&&o.fadeTo(0,1)},this)),this.$gallery.css("height",""),this.$gallery.removeClass("justified-gallery"),this.$gallery.data("jg.controller",void 0)},e.prototype.analyzeImages=function(t){for(var e=this.lastAnalyzedIndex+1;e<this.entries.length;e++){var i=$(this.entries[e]);if(i.data("jg.loaded")===!0||"skipped"===i.data("jg.loaded")){var n=this.galleryWidth-2*this.border-(this.buildingRow.entriesBuff.length-1)*this.settings.margins,o=i.data("jg.width")/i.data("jg.height");if(n/(this.buildingRow.aspectRatio+o)<this.settings.rowHeight&&(this.flushRow(!1),++this["yield"].flushed>=this["yield"].every))return void this.startImgAnalyzer(t);this.buildingRow.entriesBuff.push(i),this.buildingRow.aspectRatio+=o,this.buildingRow.width+=o*this.settings.rowHeight,this.lastAnalyzedIndex=e}else if("error"!==i.data("jg.loaded"))return}this.buildingRow.entriesBuff.length>0&&this.flushRow(!0),this.isSpinnerActive()&&this.stopLoadingSpinnerAnimation(),this.stopImgAnalyzerStarter(),this.$gallery.trigger(t?"jg.resize":"jg.complete"),this.$gallery.height(this.galleryHeightToSet)},e.prototype.stopImgAnalyzerStarter=function(){this["yield"].flushed=0,null!==this.imgAnalyzerTimeout&&clearTimeout(this.imgAnalyzerTimeout)},e.prototype.startImgAnalyzer=function(t){var e=this;this.stopImgAnalyzerStarter(),this.imgAnalyzerTimeout=setTimeout(function(){e.analyzeImages(t)},.001)},e.prototype.onImageEvent=function(t,e,i){if(e||i){var n=new Image,o=$(n);e&&o.one("load",function(){o.off("load error"),e(n)}),i&&o.one("error",function(){o.off("load error"),i(n)}),n.src=t}},e.prototype.init=function(){var t=!1,e=!1,i=this;$.each(this.entries,function(n,o){var r=$(o),s=i.imgFromEntry(r);if(r.addClass("jg-entry"),r.data("jg.loaded")!==!0&&"skipped"!==r.data("jg.loaded"))if(null!==i.settings.rel&&r.attr("rel",i.settings.rel),null!==i.settings.target&&r.attr("target",i.settings.target),null!==s){var a=i.extractImgSrcFromImage(s);if(s.attr("src",a),i.settings.waitThumbnailsLoad===!1){var h=parseFloat(s.attr("width")),l=parseFloat(s.attr("height"));if(!isNaN(h)&&!isNaN(l))return r.data("jg.width",h),r.data("jg.height",l),r.data("jg.loaded","skipped"),e=!0,i.startImgAnalyzer(!1),!0}r.data("jg.loaded",!1),t=!0,i.isSpinnerActive()||i.startLoadingSpinnerAnimation(),i.onImageEvent(a,function(t){r.data("jg.width",r.find(".envira-gallery-image").data("envira-width")),r.data("jg.height",r.find(".envira-gallery-image").data("envira-height")),r.data("jg.loaded",!0),i.startImgAnalyzer(!1)},function(){r.data("jg.loaded","error"),i.startImgAnalyzer(!1)})}else r.data("jg.loaded",!0),r.data("jg.width",r.width()|parseFloat(r.css("width"))|1),r.data("jg.height",r.height()|parseFloat(r.css("height"))|1)}),t||e||this.startImgAnalyzer(!1),this.checkWidth()},e.prototype.checkOrConvertNumber=function(t,e){if("string"===$.type(t[e])&&(t[e]=parseFloat(t[e])),"number"!==$.type(t[e]))throw e+" must be a number";if(isNaN(t[e]))throw"invalid number for "+e},e.prototype.checkSizeRangesSuffixes=function(){if("object"!==$.type(this.settings.sizeRangeSuffixes))throw"sizeRangeSuffixes must be defined and must be an object";var t=[];for(var e in this.settings.sizeRangeSuffixes)this.settings.sizeRangeSuffixes.hasOwnProperty(e)&&t.push(e);for(var i={0:""},n=0;n<t.length;n++)if("string"===$.type(t[n]))try{var o=parseInt(t[n].replace(/^[a-z]+/,""),10);i[o]=this.settings.sizeRangeSuffixes[t[n]]}catch(r){throw"sizeRangeSuffixes keys must contains correct numbers ("+r+")"}else i[t[n]]=this.settings.sizeRangeSuffixes[t[n]];this.settings.sizeRangeSuffixes=i},e.prototype.retrieveMaxRowHeight=function(){var t={};if("string"===$.type(this.settings.maxRowHeight))this.settings.maxRowHeight.match(/^[0-9]+%$/)?(t.value=parseFloat(this.settings.maxRowHeight.match(/^([0-9]+)%$/)[1])/100,t.isPercentage=!1):(t.value=parseFloat(this.settings.maxRowHeight),t.isPercentage=!0);else{if("number"!==$.type(this.settings.maxRowHeight))throw"maxRowHeight must be a number or a percentage";t.value=this.settings.maxRowHeight,t.isPercentage=!1}if(isNaN(t.value))throw"invalid number for maxRowHeight";return t.isPercentage?t.value<100&&(t.value=100):t.value>0&&t.value<this.settings.rowHeight&&(t.value=this.settings.rowHeight),t},e.prototype.checkSettings=function(){this.checkSizeRangesSuffixes(),this.checkOrConvertNumber(this.settings,"rowHeight"),this.checkOrConvertNumber(this.settings,"margins"),this.checkOrConvertNumber(this.settings,"border");var t=["justify","nojustify","left","center","right","hide"];if(-1===t.indexOf(this.settings.lastRow))throw"lastRow must be one of: "+t.join(", ");if(this.checkOrConvertNumber(this.settings,"justifyThreshold"),this.settings.justifyThreshold<0||this.settings.justifyThreshold>1)throw"justifyThreshold must be in the interval [0,1]";if("boolean"!==$.type(this.settings.cssAnimation))throw"cssAnimation must be a boolean";if("boolean"!==$.type(this.settings.captions))throw"captions must be a boolean";if(this.checkOrConvertNumber(this.settings.captionSettings,"animationDuration"),this.checkOrConvertNumber(this.settings.captionSettings,"visibleOpacity"),this.settings.captionSettings.visibleOpacity<0||this.settings.captionSettings.visibleOpacity>1)throw"captionSettings.visibleOpacity must be in the interval [0, 1]";if(this.checkOrConvertNumber(this.settings.captionSettings,"nonVisibleOpacity"),this.settings.captionSettings.nonVisibleOpacity<0||this.settings.captionSettings.nonVisibleOpacity>1)throw"captionSettings.nonVisibleOpacity must be in the interval [0, 1]";if("boolean"!==$.type(this.settings.fixedHeight))throw"fixedHeight must be a boolean";if(this.checkOrConvertNumber(this.settings,"imagesAnimationDuration"),this.checkOrConvertNumber(this.settings,"refreshTime"),this.checkOrConvertNumber(this.settings,"refreshSensitivity"),"boolean"!==$.type(this.settings.randomize))throw"randomize must be a boolean";if("string"!==$.type(this.settings.selector))throw"selector must be a string";if(this.settings.sort!==!1&&!$.isFunction(this.settings.sort))throw"sort must be false or a comparison function";if(this.settings.filter!==!1&&!$.isFunction(this.settings.filter)&&"string"!==$.type(this.settings.filter))throw"filter must be false, a string or a filter function"},e.prototype.retrieveSuffixRanges=function(){var t=[];for(var e in this.settings.sizeRangeSuffixes)this.settings.sizeRangeSuffixes.hasOwnProperty(e)&&t.push(parseInt(e,10));return t.sort(function(t,e){return t>e?1:e>t?-1:0}),t},e.prototype.updateSettings=function(t){this.settings=$.extend({},this.settings,t),this.checkSettings(),this.border=this.settings.border>=0?this.settings.border:this.settings.margins,this.maxRowHeight=this.retrieveMaxRowHeight(),this.suffixRanges=this.retrieveSuffixRanges()},$.fn.justifiedGallery=function(t){return this.each(function(i,n){var o=$(n);o.addClass("justified-gallery");var r=o.data("jg.controller");if("undefined"==typeof r){if("undefined"!=typeof t&&null!==t&&"object"!==$.type(t)){if("destroy"===t)return;throw"The argument must be an object"}r=new e(o,$.extend({},$.fn.justifiedGallery.defaults,t)),o.data("jg.controller",r)}else if("norewind"===t);else{if("destroy"===t)return void r.destroy();r.updateSettings(t),r.rewind()}r.updateEntries("norewind"===t)&&r.init()})},$.fn.justifiedGallery.defaults={sizeRangeSuffixes:{},thumbnailPath:void 0,rowHeight:120,maxRowHeight:-1,margins:1,border:-1,lastRow:"nojustify",justifyThreshold:.9,fixedHeight:!1,waitThumbnailsLoad:!0,captions:!0,cssAnimation:!1,imagesAnimationDuration:500,captionSettings:{animationDuration:500,visibleOpacity:.7,nonVisibleOpacity:0},rel:null,target:null,extension:/\.[^.\\/]+$/,refreshTime:200,refreshSensitivity:0,randomize:!1,sort:!1,filter:!1,selector:"> a, > div:not(.spinner)"}}(jQuery),function($){var t=$.fn.justifiedGallery,e={};$.fn.enviraJustifiedGallery=function(){var i=t.apply(this,arguments);return e=i.data("jg.controller"),void 0!==e?(e.displayEntryCaption=function(t){var e=this.imgFromEntry(t);if(null!==e&&this.settings.captions){var i=this.captionFromEntry(t);if(null===i){var n=e.data("envira-caption");n=n.replace("<","&lt;"),this.isValidCaption(n)&&(i=$('<div class="caption">'+n+"</div>"),t.append(i),t.data("jg.createdCaption",!0))}null!==i&&(this.settings.cssAnimation||i.stop().fadeTo(0,this.settings.captionSettings.nonVisibleOpacity),this.addCaptionEventsHandlers(t))}else this.removeCaptionEventsHandlers(t)},e):void 0}}(jQuery),/*!
2
  * vintageJS
3
  * Add a retro/vintage effect to images using the HTML5 canvas element
4
  *
@@ -6,6 +6,6 @@ function jg_effect_desaturate(t){var e=!!document.createElement("canvas").getCon
6
  * @author Robert Fleischmann <rendro87@gmail.com>
7
  * @version 1.1.5
8
  */
9
- !function(t,e){"function"==typeof define&&define.amd?define("vintagejs",["jquery"],function(i){return t.VintageJS=e(i)}):"object"==typeof exports?module.exports=e(require("jquery")):t.VintageJS=e(jQuery)}(this,function(t){var e=function(t,e,i){if(0==t instanceof HTMLImageElement)throw"The element (1st parameter) must be an instance of HTMLImageElement";var n,o,r,s,a,h,l,u,d,c=new Image,f=new Image,g=document.createElement("canvas"),p=g.getContext("2d"),m={onStart:function(){},onStop:function(){},onError:function(){},mime:"image/jpeg"},v={curves:!1,screen:!1,desaturate:!1,vignette:!1,lighten:!1,noise:!1,viewFinder:!1,sepia:!1,brightness:!1,contrast:!1};c.onerror=m.onError,c.onload=function(){h=g.width=c.width,l=g.height=c.height,n()},f.onerror=m.onError,f.onload=function(){p.clearRect(0,0,h,l),p.drawImage(f,0,0,h,l),(window.vjsImageCache||(window.vjsImageCache={}))[d]=p.getImageData(0,0,h,l).data,n()},o=function(t){m.onStart(),u={};for(var e in v)u[e]=t[e]||v[e];s=[],u.viewFinder&&s.push(u.viewFinder),c.src==a?n():c.src=a},n=function(){if(0===s.length)return r();var t=s.pop();return d=[h,l,t].join("-"),window.vjsImageCache&&window.vjsImageCache[d]?n():void(f.src=t)},r=function(){var e,i,n;p.clearRect(0,0,h,l),p.drawImage(c,0,0,h,l),(u.vignette||u.lighten)&&(e=Math.sqrt(Math.pow(h/2,2)+Math.pow(l/2,2))),u.vignette&&(p.globalCompositeOperation="source-over",i=p.createRadialGradient(h/2,l/2,0,h/2,l/2,e),i.addColorStop(0,"rgba(0,0,0,0)"),i.addColorStop(.5,"rgba(0,0,0,0)"),i.addColorStop(1,["rgba(0,0,0,",u.vignette,")"].join("")),p.fillStyle=i,p.fillRect(0,0,h,l)),u.lighten&&(p.globalCompositeOperation="lighter",i=p.createRadialGradient(h/2,l/2,0,h/2,l/2,e),i.addColorStop(0,["rgba(255,255,255,",u.lighten,")"].join("")),i.addColorStop(.5,"rgba(255,255,255,0)"),i.addColorStop(1,"rgba(0,0,0,0)"),p.fillStyle=i,p.fillRect(0,0,h,l)),n=p.getImageData(0,0,h,l);var o,r,s,a,d,f,g,v,y,w=n.data;u.contrast&&(y=259*(u.contrast+255)/(255*(259-u.contrast))),u.viewFinder&&(v=window.vjsImageCache[[h,l,u.viewFinder].join("-")]);for(var b=h*l;b>=0;--b)for(o=b<<2,u.curves&&(w[o]=u.curves.r[w[o]],w[o+1]=u.curves.g[w[o+1]],w[o+2]=u.curves.b[w[o+2]]),u.contrast&&(w[o]=y*(w[o]-128)+128,w[o+1]=y*(w[o+1]-128)+128,w[o+2]=y*(w[o+2]-128)+128),u.brightness&&(w[o]+=u.brightness,w[o+1]+=u.brightness,w[o+2]+=u.brightness),u.screen&&(w[o]=255-(255-w[o])*(255-u.screen.r*u.screen.a)/255,w[o+1]=255-(255-w[o+1])*(255-u.screen.g*u.screen.a)/255,w[o+2]=255-(255-w[o+2])*(255-u.screen.b*u.screen.a)/255),u.noise&&(g=u.noise-Math.random()*u.noise/2,w[o]+=g,w[o+1]+=g,w[o+2]+=g),u.viewFinder&&(w[o]=w[o]*v[o]/255,w[o+1]=w[o+1]*v[o+1]/255,w[o+2]=w[o+2]*v[o+2]/255),u.sepia&&(s=w[o],a=w[o+1],d=w[o+2],w[o]=.393*s+.769*a+.189*d,w[o+1]=.349*s+.686*a+.168*d,w[o+2]=.272*s+.534*a+.131*d),u.desaturate&&(f=(w[o]+w[o+1]+w[o+2])/3,w[o]+=(f-w[o])*u.desaturate,w[o+1]+=(f-w[o+1])*u.desaturate,w[o+2]+=(f-w[o+2])*u.desaturate),r=2;r>=0;--r)w[o+r]=~~(w[o+r]>255?255:w[o+r]<0?0:w[o+r]);p.putImageData(n,0,0),t.src=p.canvas.toDataURL(m.mime),m.onStop()},a=t.src,e=e||{};for(var y in m)m[y]=e[y]||m[y];return i&&o(i),{apply:function(){a=t.src},reset:function(){t.src=a},vintage:o}};return t.fn.vintage=function(i,n){return this.each(function(){t.data(this,"vintageJS")||t.data(this,"vintageJS",new e(this,i,n))})},e});var mul_table=[1,57,41,21,203,34,97,73,227,91,149,62,105,45,39,137,241,107,3,173,39,71,65,238,219,101,187,87,81,151,141,133,249,117,221,209,197,187,177,169,5,153,73,139,133,127,243,233,223,107,103,99,191,23,177,171,165,159,77,149,9,139,135,131,253,245,119,231,224,109,211,103,25,195,189,23,45,175,171,83,81,79,155,151,147,9,141,137,67,131,129,251,123,30,235,115,113,221,217,53,13,51,50,49,193,189,185,91,179,175,43,169,83,163,5,79,155,19,75,147,145,143,35,69,17,67,33,65,255,251,247,243,239,59,29,229,113,111,219,27,213,105,207,51,201,199,49,193,191,47,93,183,181,179,11,87,43,85,167,165,163,161,159,157,155,77,19,75,37,73,145,143,141,35,138,137,135,67,33,131,129,255,63,250,247,61,121,239,237,117,29,229,227,225,111,55,109,216,213,211,209,207,205,203,201,199,197,195,193,48,190,47,93,185,183,181,179,178,176,175,173,171,85,21,167,165,41,163,161,5,79,157,78,154,153,19,75,149,74,147,73,144,143,71,141,140,139,137,17,135,134,133,66,131,65,129,1],shg_table=[0,9,10,10,14,12,14,14,16,15,16,15,16,15,15,17,18,17,12,18,16,17,17,19,19,18,19,18,18,19,19,19,20,19,20,20,20,20,20,20,15,20,19,20,20,20,21,21,21,20,20,20,21,18,21,21,21,21,20,21,17,21,21,21,22,22,21,22,22,21,22,21,19,22,22,19,20,22,22,21,21,21,22,22,22,18,22,22,21,22,22,23,22,20,23,22,22,23,23,21,19,21,21,21,23,23,23,22,23,23,21,23,22,23,18,22,23,20,22,23,23,23,21,22,20,22,21,22,24,24,24,24,24,22,21,24,23,23,24,21,24,23,24,22,24,24,22,24,24,22,23,24,24,24,20,23,22,23,24,24,24,24,24,24,24,23,21,23,22,23,24,24,24,22,24,24,24,23,22,24,24,25,23,25,25,23,24,25,25,24,22,25,25,25,24,23,24,25,25,25,25,25,25,25,25,25,25,25,25,23,25,23,24,25,25,25,25,25,25,25,25,25,24,22,25,25,23,25,25,20,24,25,24,25,25,22,24,25,24,25,24,25,25,24,25,25,25,25,22,25,25,25,24,25,24,25,18];if(jQuery(document).ready(function($){var t="ontouchstart"in document.documentElement;t&&$("body").addClass("envira-touch")}),function(t){"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],t):t(jQuery)}(function($){"use strict";function t(t){return!t||void 0!==t.allowPageScroll||void 0===t.swipe&&void 0===t.swipeStatus||(t.allowPageScroll=h),void 0!==t.click&&void 0===t.tap&&(t.tap=t.click),t||(t={}),t=$.extend({},$.fn.swipe.defaults,t),this.each(function(){var i=$(this),n=i.data(R);n||(n=new e(this,t),i.data(R,n))})}function e(t,e){function p(t){if(!(lt()||$(t.target).closest(e.excludedElements,Qt).length>0)){var i=t.originalEvent?t.originalEvent:t,n,o=E?i.touches[0]:i;return Yt=b,E?Ut=i.touches.length:t.preventDefault(),Mt=0,Ht=null,Nt=null,kt=0,Wt=0,Bt=0,Ft=1,Pt=0,$t=gt(),qt=vt(),at(),!E||Ut===e.fingers||e.fingers===y||N()?(dt(0,o),Gt=zt(),2==Ut&&(dt(1,i.touches[1]),Wt=Bt=bt($t[0].start,$t[1].start)),(e.swipeStatus||e.pinchStatus)&&(n=D(i,Yt))):n=!1,n===!1?(Yt=S,D(i,Yt),n):(e.hold&&(te=setTimeout($.proxy(function(){Qt.trigger("hold",[i.target]),e.hold&&(n=e.hold.call(Qt,i,i.target))},this),e.longTapThreshold)),ut(!0),null)}}function T(t){var i=t.originalEvent?t.originalEvent:t;if(Yt!==I&&Yt!==S&&!ht()){var n,o=E?i.touches[0]:i,r=ct(o);if(Vt=zt(),E&&(Ut=i.touches.length),e.hold&&clearTimeout(te),Yt=x,2==Ut&&(0==Wt?(dt(1,i.touches[1]),Wt=Bt=bt($t[0].start,$t[1].start)):(ct(i.touches[1]),Bt=bt($t[0].end,$t[1].end),Nt=It($t[0].end,$t[1].end)),Ft=xt(Wt,Bt),Pt=Math.abs(Wt-Bt)),Ut===e.fingers||e.fingers===y||!E||N()){if(Ht=_t(r.start,r.end),F(t,Ht),Mt=St(r.start,r.end),kt=wt(),pt(Ht,Mt),(e.swipeStatus||e.pinchStatus)&&(n=D(i,Yt)),!e.triggerOnTouchEnd||e.triggerOnTouchLeave){var s=!0;if(e.triggerOnTouchLeave){var a=Rt(this);s=Tt(r.end,a)}!e.triggerOnTouchEnd&&s?Yt=A(x):e.triggerOnTouchLeave&&!s&&(Yt=A(I)),(Yt==S||Yt==I)&&D(i,Yt)}}else Yt=S,D(i,Yt);n===!1&&(Yt=S,D(i,Yt))}}function C(t){var i=t.originalEvent;return E&&i.touches.length>0?(st(),!0):(ht()&&(Ut=Jt),Vt=zt(),kt=wt(),k()||!H()?(Yt=S,D(i,Yt)):e.triggerOnTouchEnd||0==e.triggerOnTouchEnd&&Yt===x?(t.preventDefault(),Yt=I,D(i,Yt)):!e.triggerOnTouchEnd&&X()?(Yt=I,M(i,Yt,c)):Yt===x&&(Yt=S,D(i,Yt)),ut(!1),null)}function j(){Ut=0,Vt=0,Gt=0,Wt=0,Bt=0,Ft=1,at(),ut(!1)}function O(t){var i=t.originalEvent;e.triggerOnTouchLeave&&(Yt=A(I),D(i,Yt))}function L(){Qt.unbind(jt,p),Qt.unbind(Dt,j),Qt.unbind(Ot,T),Qt.unbind(Lt,C),At&&Qt.unbind(At,O),ut(!1)}function A(t){var i=t,n=B(),o=H(),r=k();return!n||r?i=S:!o||t!=x||e.triggerOnTouchEnd&&!e.triggerOnTouchLeave?!o&&t==I&&e.triggerOnTouchLeave&&(i=S):i=I,i}function D(t,e){var i=void 0;return U()||Y()?i=M(t,e,u):(q()||N())&&i!==!1&&(i=M(t,e,d)),ot()&&i!==!1?i=M(t,e,f):rt()&&i!==!1?i=M(t,e,g):nt()&&i!==!1&&(i=M(t,e,c)),e===S&&j(t),e===I&&(E?0==t.touches.length&&j(t):j(t)),i}function M(t,h,l){var p=void 0;if(l==u){if(Qt.trigger("swipeStatus",[h,Ht||null,Mt||0,kt||0,Ut,$t]),e.swipeStatus&&(p=e.swipeStatus.call(Qt,t,h,Ht||null,Mt||0,kt||0,Ut,$t),p===!1))return!1;if(h==I&&Q()){if(Qt.trigger("swipe",[Ht,Mt,kt,Ut,$t]),e.swipe&&(p=e.swipe.call(Qt,t,Ht,Mt,kt,Ut,$t),p===!1))return!1;switch(Ht){case i:Qt.trigger("swipeLeft",[Ht,Mt,kt,Ut,$t]),e.swipeLeft&&(p=e.swipeLeft.call(Qt,t,Ht,Mt,kt,Ut,$t));break;case n:Qt.trigger("swipeRight",[Ht,Mt,kt,Ut,$t]),e.swipeRight&&(p=e.swipeRight.call(Qt,t,Ht,Mt,kt,Ut,$t));break;case o:Qt.trigger("swipeUp",[Ht,Mt,kt,Ut,$t]),e.swipeUp&&(p=e.swipeUp.call(Qt,t,Ht,Mt,kt,Ut,$t));break;case r:Qt.trigger("swipeDown",[Ht,Mt,kt,Ut,$t]),e.swipeDown&&(p=e.swipeDown.call(Qt,t,Ht,Mt,kt,Ut,$t))}}}if(l==d){if(Qt.trigger("pinchStatus",[h,Nt||null,Pt||0,kt||0,Ut,Ft,$t]),e.pinchStatus&&(p=e.pinchStatus.call(Qt,t,h,Nt||null,Pt||0,kt||0,Ut,Ft,$t),p===!1))return!1;if(h==I&&P())switch(Nt){case s:Qt.trigger("pinchIn",[Nt||null,Pt||0,kt||0,Ut,Ft,$t]),e.pinchIn&&(p=e.pinchIn.call(Qt,t,Nt||null,Pt||0,kt||0,Ut,Ft,$t));break;case a:Qt.trigger("pinchOut",[Nt||null,Pt||0,kt||0,Ut,Ft,$t]),e.pinchOut&&(p=e.pinchOut.call(Qt,t,Nt||null,Pt||0,kt||0,Ut,Ft,$t))}}return l==c?(h===S||h===I)&&(clearTimeout(Kt),clearTimeout(te),J()&&!tt()?(Zt=zt(),Kt=setTimeout($.proxy(function(){Zt=null,Qt.trigger("tap",[t.target]),e.tap&&(p=e.tap.call(Qt,t,t.target))},this),e.doubleTapThreshold)):(Zt=null,Qt.trigger("tap",[t.target]),e.tap&&(p=e.tap.call(Qt,t,t.target)))):l==f?(h===S||h===I)&&(clearTimeout(Kt),Zt=null,Qt.trigger("doubletap",[t.target]),e.doubleTap&&(p=e.doubleTap.call(Qt,t,t.target))):l==g&&(h===S||h===I)&&(clearTimeout(Kt),Zt=null,Qt.trigger("longtap",[t.target]),e.longTap&&(p=e.longTap.call(Qt,t,t.target))),p}function H(){var t=!0;return null!==e.threshold&&(t=Mt>=e.threshold),t}function k(){var t=!1;return null!==e.cancelThreshold&&null!==Ht&&(t=mt(Ht)-Mt>=e.cancelThreshold),t}function W(){return null!==e.pinchThreshold?Pt>=e.pinchThreshold:!0}function B(){var t;return t=e.maxTimeThreshold&&kt>=e.maxTimeThreshold?!1:!0}function F(t,s){if(e.allowPageScroll===h||N())t.preventDefault();else{var a=e.allowPageScroll===l;switch(s){case i:(e.swipeLeft&&a||!a&&e.allowPageScroll!=m)&&t.preventDefault();break;case n:(e.swipeRight&&a||!a&&e.allowPageScroll!=m)&&t.preventDefault();break;case o:(e.swipeUp&&a||!a&&e.allowPageScroll!=v)&&t.preventDefault();break;case r:(e.swipeDown&&a||!a&&e.allowPageScroll!=v)&&t.preventDefault()}}}function P(){var t=G(),e=V(),i=W();return t&&e&&i}function N(){return!!(e.pinchStatus||e.pinchIn||e.pinchOut)}function q(){return!(!P()||!N())}function Q(){var t=B(),e=H(),i=G(),n=V(),o=k(),r=!o&&n&&i&&e&&t;return r}function Y(){return!!(e.swipe||e.swipeStatus||e.swipeLeft||e.swipeRight||e.swipeUp||e.swipeDown)}function U(){return!(!Q()||!Y())}function G(){return Ut===e.fingers||e.fingers===y||!E}function V(){return 0!==$t[0].end.x}function X(){return!!e.tap}function J(){return!!e.doubleTap}function Z(){return!!e.longTap}function K(){if(null==Zt)return!1;var t=zt();return J()&&t-Zt<=e.doubleTapThreshold}function tt(){return K()}function et(){return(1===Ut||!E)&&(isNaN(Mt)||Mt<e.threshold)}function it(){return kt>e.longTapThreshold&&w>Mt}function nt(){return!(!et()||!X())}function ot(){return!(!K()||!J())}function rt(){return!(!it()||!Z())}function st(){Xt=zt(),Jt=event.touches.length+1}function at(){Xt=0,Jt=0}function ht(){var t=!1;if(Xt){var i=zt()-Xt;i<=e.fingerReleaseThreshold&&(t=!0)}return t}function lt(){return!(Qt.data(R+"_intouch")!==!0)}function ut(t){t===!0?(Qt.bind(Ot,T),Qt.bind(Lt,C),At&&Qt.bind(At,O)):(Qt.unbind(Ot,T,!1),Qt.unbind(Lt,C,!1),At&&Qt.unbind(At,O,!1)),Qt.data(R+"_intouch",t===!0)}function dt(t,e){var i=void 0!==e.identifier?e.identifier:0;return $t[t].identifier=i,$t[t].start.x=$t[t].end.x=e.pageX||e.clientX,$t[t].start.y=$t[t].end.y=e.pageY||e.clientY,$t[t]}function ct(t){var e=void 0!==t.identifier?t.identifier:0,i=ft(e);return i.end.x=t.pageX||t.clientX,i.end.y=t.pageY||t.clientY,i}function ft(t){for(var e=0;e<$t.length;e++)if($t[e].identifier==t)return $t[e]}function gt(){for(var t=[],e=0;5>=e;e++)t.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0});return t}function pt(t,e){e=Math.max(e,mt(t)),qt[t].distance=e}function mt(t){return qt[t]?qt[t].distance:void 0}function vt(){var t={};return t[i]=yt(i),t[n]=yt(n),t[o]=yt(o),t[r]=yt(r),t}function yt(t){return{direction:t,distance:0}}function wt(){return Vt-Gt}function bt(t,e){var i=Math.abs(t.x-e.x),n=Math.abs(t.y-e.y);return Math.round(Math.sqrt(i*i+n*n))}function xt(t,e){var i=e/t*1;return i.toFixed(2)}function It(){return 1>Ft?a:s}function St(t,e){return Math.round(Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)))}function Et(t,e){var i=t.x-e.x,n=e.y-t.y,o=Math.atan2(n,i),r=Math.round(180*o/Math.PI);return 0>r&&(r=360-Math.abs(r)),r}function _t(t,e){var s=Et(t,e);return 45>=s&&s>=0?i:360>=s&&s>=315?i:s>=135&&225>=s?n:s>45&&135>s?r:o}function zt(){var t=new Date;return t.getTime()}function Rt(t){t=$(t);var e=t.offset(),i={left:e.left,right:e.left+t.outerWidth(),top:e.top,bottom:e.top+t.outerHeight()};return i}function Tt(t,e){return t.x>e.left&&t.x<e.right&&t.y>e.top&&t.y<e.bottom}var Ct=E||z||!e.fallbackToMouseEvents,jt=Ct?z?_?"MSPointerDown":"pointerdown":"touchstart":"mousedown",Ot=Ct?z?_?"MSPointerMove":"pointermove":"touchmove":"mousemove",Lt=Ct?z?_?"MSPointerUp":"pointerup":"touchend":"mouseup",At=Ct?null:"mouseleave",Dt=z?_?"MSPointerCancel":"pointercancel":"touchcancel",Mt=0,Ht=null,kt=0,Wt=0,Bt=0,Ft=1,Pt=0,Nt=0,qt=null,Qt=$(t),Yt="start",Ut=0,$t=null,Gt=0,Vt=0,Xt=0,Jt=0,Zt=0,Kt=null,te=null;try{Qt.bind(jt,p),Qt.bind(Dt,j)}catch(ee){$.error("events not supported "+jt+","+Dt+" on jQuery.swipe")}this.enable=function(){return Qt.bind(jt,p),Qt.bind(Dt,j),Qt},this.disable=function(){return L(),Qt},this.destroy=function(){L(),Qt.data(R,null),Qt=null},this.option=function(t,i){if(void 0!==e[t]){if(void 0===i)return e[t];e[t]=i}else $.error("Option "+t+" does not exist on jQuery.swipe.options");return null}}var i="left",n="right",o="up",r="down",s="in",a="out",h="none",l="auto",u="swipe",d="pinch",c="tap",f="doubletap",g="longtap",p="hold",m="horizontal",v="vertical",y="all",w=10,b="start",x="move",I="end",S="cancel",E="ontouchstart"in window,_=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,z=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,R="TouchSwipe",T={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:"label, button, input, select, textarea, a, .noSwipe"};$.fn.swipe=function(e){var i=$(this),n=i.data(R);if(n&&"string"==typeof e){if(n[e])return n[e].apply(this,Array.prototype.slice.call(arguments,1));$.error("Method "+e+" does not exist on jQuery.swipe")}else if(!(n||"object"!=typeof e&&e))return t.apply(this,arguments);return i},$.fn.swipe.defaults=T,$.fn.swipe.phases={PHASE_START:b,PHASE_MOVE:x,PHASE_END:I,PHASE_CANCEL:S},$.fn.swipe.directions={LEFT:i,RIGHT:n,UP:o,DOWN:r,IN:s,OUT:a},$.fn.swipe.pageScroll={NONE:h,HORIZONTAL:m,VERTICAL:v,AUTO:l},$.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,ALL:y}}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t:t(jQuery)}(function($){function t(t){var n=t||window.event,o=r.call(arguments,1),h=0,u=0,d=0,c=0,f=0,g=0;if(t=$.event.fix(n),t.type="mousewheel","detail"in n&&(d=-1*n.detail),"wheelDelta"in n&&(d=n.wheelDelta),"wheelDeltaY"in n&&(d=n.wheelDeltaY),"wheelDeltaX"in n&&(u=-1*n.wheelDeltaX),"axis"in n&&n.axis===n.HORIZONTAL_AXIS&&(u=-1*d,d=0),h=0===d?u:d,"deltaY"in n&&(d=-1*n.deltaY,h=d),"deltaX"in n&&(u=n.deltaX,0===d&&(h=-1*u)),0!==d||0!==u){if(1===n.deltaMode){var p=$.data(this,"mousewheel-line-height");h*=p,d*=p,u*=p}else if(2===n.deltaMode){var m=$.data(this,"mousewheel-page-height");h*=m,d*=m,u*=m}if(c=Math.max(Math.abs(d),Math.abs(u)),(!a||a>c)&&(a=c,i(n,c)&&(a/=40)),i(n,c)&&(h/=40,u/=40,d/=40),h=Math[h>=1?"floor":"ceil"](h/a),u=Math[u>=1?"floor":"ceil"](u/a),d=Math[d>=1?"floor":"ceil"](d/a),l.settings.normalizeOffset&&this.getBoundingClientRect){var v=this.getBoundingClientRect();f=t.clientX-v.left,g=t.clientY-v.top}return t.deltaX=u,t.deltaY=d,t.deltaFactor=a,t.offsetX=f,t.offsetY=g,t.deltaMode=0,o.unshift(t,h,u,d),s&&clearTimeout(s),s=setTimeout(e,200),($.event.dispatch||$.event.handle).apply(this,o)}}function e(){a=null}function i(t,e){return l.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120===0}var n=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],o="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],r=Array.prototype.slice,s,a;if($.event.fixHooks)for(var h=n.length;h;)$.event.fixHooks[n[--h]]=$.event.mouseHooks;var l=$.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=o.length;e;)this.addEventListener(o[--e],t,!1);else this.onmousewheel=t;$.data(this,"mousewheel-line-height",l.getLineHeight(this)),$.data(this,"mousewheel-page-height",l.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=o.length;e;)this.removeEventListener(o[--e],t,!1);else this.onmousewheel=null;$.removeData(this,"mousewheel-line-height"),$.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var e=$(t),i=e["offsetParent"in $.fn?"offsetParent":"parent"]();return i.length||(i=$("body")),parseInt(i.css("fontSize"),10)||parseInt(e.css("fontSize"),10)||16},getPageHeight:function(t){return $(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};$.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}(this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},n=i[t]=i[t]||[];return n[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=0,o=i[n];e=e||[];for(var r=this._onceEvents&&this._onceEvents[t];o;){var s=r&&r[o];s&&(this.off(t,o),delete r[o]),o.apply(this,e),n+=s?0:1,o=i[n]}return this}},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.enviraImagesLoaded=e(t,t.EvEmitter)}(window,function t(e,i){function n(t,e){for(var i in e)t[i]=e[i];return t}function o(t){var e=[];if(Array.isArray(t))e=t;else if("number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e}function r(t,e,i){return this instanceof r?("string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=o(t),this.options=n({},this.options),"function"==typeof e?i=e:n(this.options,e),i&&this.on("always",i),this.getImages(),$&&(this.jqDeferred=new $.Deferred),void setTimeout(function(){this.check()}.bind(this))):new r(t,e,i)}function s(t){this.img=t}function a(t,e){this.url=t,this.element=e,this.img=new Image}var $=e.jQuery,h=e.console;r.prototype=Object.create(i.prototype),r.prototype.options={},r.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},r.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),this.options.background===!0&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&l[e]){for(var i=t.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var r=t.querySelectorAll(this.options.background);for(n=0;n<r.length;n++){var s=r[n];this.addElementBackgroundImages(s)}}}};var l={1:!0,9:!0,11:!0};return r.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,t),n=i.exec(e.backgroundImage)}},r.prototype.addImage=function(t){var e=new s(t);this.images.push(e)},r.prototype.addBackground=function(t,e){var i=new a(t,e);this.images.push(i)},r.prototype.check=function(){function t(t,i,n){setTimeout(function(){e.progress(t,i,n)})}var e=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(e){e.once("progress",t),e.check()}):void this.complete()},r.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&h&&h.log("progress: "+i,t,e)},r.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},s.prototype=Object.create(i.prototype),s.prototype.check=function(){var t=this.getIsImageComplete();return t?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},s.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},s.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},s.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},s.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},s.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},s.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},a.prototype=Object.create(s.prototype),a.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url;var t=this.getIsImageComplete();t&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},a.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},a.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},r.makeJQueryPlugin=function(t){t=t||e.jQuery,t&&($=t,$.fn.enviraImagesLoaded=function(t,e){var i=new r(this,t,e);return i.jqDeferred.promise($(this))})},r.makeJQueryPlugin(),r}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function e(t,i){"use strict";function n(e,n,$){function s(t,i,n){var o,r="$()."+e+'("'+i+'")';return t.each(function(t,s){var h=$.data(s,e);if(!h)return void a(e+" not initialized. Cannot call methods, i.e. "+r);var l=h[i];if(!l||"_"==i.charAt(0))return void a(r+" is not a valid method");var u=l.apply(h,n);o=void 0===o?u:o}),void 0!==o?o:t}function h(t,i){t.each(function(t,o){var r=$.data(o,e);r?(r.option(i),r._init()):(r=new n(o,i),$.data(o,e,r))})}$=$||i||t.jQuery,$&&(n.prototype.option||(n.prototype.option=function(t){$.isPlainObject(t)&&(this.options=$.extend(!0,this.options,t))}),$.fn[e]=function(t){if("string"==typeof t){var e=r.call(arguments,1);return s(this,t,e)}return h(this,t),this},o($))}function o($){!$||$&&$.bridget||($.bridget=n)}var r=Array.prototype.slice,s=t.console,a="undefined"==typeof s?function(){}:function(t){s.error(t)};return o(i||t.jQuery),n}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}(this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},n=i[t]=i[t]||{};return n[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=0,o=i[n];e=e||[];for(var r=this._onceEvents&&this._onceEvents[t];o;){var s=r&&r[o];s&&(this.off(t,o),delete r[o]),o.apply(this,e),n+=s?0:1,o=i[n]}return this}},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],function(){return e()}):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function i(){"use strict";function t(t){var e=parseFloat(t),i=-1==t.indexOf("%")&&!isNaN(e);return i&&e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;h>e;e++){var i=a[e];t[i]=0}return t}function n(t){var e=getComputedStyle(t);return e||s("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e}function o(){if(!l){l=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var o=n(e);r.isBoxSizeOuter=u=200==t(o.width),i.removeChild(e)}}function r(e){if(o(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var r=n(e);if("none"==r.display)return i();var s={};s.width=e.offsetWidth,s.height=e.offsetHeight;for(var l=s.isBorderBox="border-box"==r.boxSizing,d=0;h>d;d++){var c=a[d],f=r[c],g=parseFloat(f);s[c]=isNaN(g)?0:g}var p=s.paddingLeft+s.paddingRight,m=s.paddingTop+s.paddingBottom,v=s.marginLeft+s.marginRight,y=s.marginTop+s.marginBottom,w=s.borderLeftWidth+s.borderRightWidth,b=s.borderTopWidth+s.borderBottomWidth,x=l&&u,I=t(r.width);I!==!1&&(s.width=I+(x?0:p+w));var S=t(r.height);return S!==!1&&(s.height=S+(x?0:m+b)),s.innerWidth=s.width-(p+w),s.innerHeight=s.height-(m+b),s.outerWidth=s.width+v,s.outerHeight=s.height+y,s}}var s="undefined"==typeof console?e:function(t){console.error(t)},a=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],h=a.length,l=!1,u;return r}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function n(){"use strict";var t=function(){var t=Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i],o=n+"MatchesSelector";if(t[o])return o}}();return function e(i,n){return i[t](n)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function o(t,e){var i={};i.extend=function(t,e){for(var i in e)t[i]=e[i];return t},i.modulo=function(t,e){return(t%e+e)%e},i.makeArray=function(t){var e=[];if(Array.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!n)return void o.push(t);e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),r=0;r<i.length;r++)o.push(i[r])}}),o},i.debounceMethod=function(t,e,i){var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];t&&clearTimeout(t);var e=arguments,r=this;this[o]=setTimeout(function(){n.apply(r,e),delete r[o]},i||100)}},i.docReady=function(t){"complete"==document.readyState?t():document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var n=t.console;return i.htmlInit=function(e,o){i.docReady(function(){var r=i.toDashed(o),s="data-"+r,a=document.querySelectorAll("["+s+"]"),h=document.querySelectorAll(".js-"+r),l=i.makeArray(a).concat(i.makeArray(h)),u=s+"-options",d=t.jQuery;l.forEach(function(t){var i=t.getAttribute(s)||t.getAttribute(u),r;try{r=i&&JSON.parse(i)}catch(a){return void(n&&n.error("Error parsing "+s+" on "+t.className+": "+a))}var h=new e(t,r);d&&d.data(t,o,h)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function r(t,e){"use strict";function i(t){for(var e in t)return!1;return e=null,!0}function n(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function o(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var r=document.documentElement.style,s="string"==typeof r.transition?"transition":"WebkitTransition",a="string"==typeof r.transform?"transform":"WebkitTransform",h={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[s],l={transform:a,transition:s,transitionDuration:s+"Duration",transitionProperty:s+"Property",transitionDelay:s+"Delay"},u=n.prototype=Object.create(t.prototype);u.constructor=n,u._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},u.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.getSize=function(){this.size=e(this.element)},u.css=function(t){var e=this.element.style;for(var i in t){var n=l[i]||i;e[n]=t[i]}},u.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],o=t[i?"top":"bottom"],r=this.layout.size,s=-1!=n.indexOf("%")?parseFloat(n)/100*r.width:parseInt(n,10),a=-1!=o.indexOf("%")?parseFloat(o)/100*r.height:parseInt(o,10);s=isNaN(s)?0:s,a=isNaN(a)?0:a,s-=e?r.paddingLeft:r.paddingRight,a-=i?r.paddingTop:r.paddingBottom,this.position.x=s,this.position.y=a},u.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"paddingLeft":"paddingRight",r=i?"left":"right",s=i?"right":"left",a=this.position.x+t[o];e[r]=this.getXValue(a),e[s]="";var h=n?"paddingTop":"paddingBottom",l=n?"top":"bottom",u=n?"bottom":"top",d=this.position.y+t[h];e[l]=this.getYValue(d),e[u]="",this.css(e),this.emitEvent("layout",[this])},u.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px";
10
- },u.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},u._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=parseInt(t,10),r=parseInt(e,10),s=o===this.position.x&&r===this.position.y;if(this.setPosition(t,e),s&&!this.isTransitioning)return void this.layoutPosition();var a=t-i,h=e-n,l={};l.transform=this.getTranslate(a,h),this.transition({to:l,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},u.getTranslate=function(t,e){var i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop");return t=i?t:-t,e=n?e:-e,"translate3d("+t+"px, "+e+"px, 0)"},u.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},u.moveTo=u._transitionTo,u.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},u._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},u.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var n=this.element.offsetHeight;n=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var d="opacity,"+o(a);u.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:d,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(h,this,!1)}},u.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},u.onotransitionend=function(t){this.ontransitionend(t)};var c={"-webkit-transform":"transform"};u.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=c[t.propertyName]||t.propertyName;if(delete e.ingProperties[n],i(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd){var o=e.onEnd[n];o.call(this),delete e.onEnd[n]}this.emitEvent("transitionEnd",[this])}},u.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(h,this,!1),this.isTransitioning=!1},u._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var f={transitionProperty:"",transitionDuration:"",transitionDelay:""};return u.removeTransitionStyles=function(){this.css(f)},u.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},u.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},u.remove=function(){return s&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},u.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("visibleStyle");e[i]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},u.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},u.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},u.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("hiddenStyle");e[i]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},u.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},u.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},n}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,o,r){return e(t,i,n,o,r)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function s(t,e,i,n,o){"use strict";function r(t,e){var i=n.getQueryElement(t);if(!i)return void(h&&h.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,l&&(this.$element=l(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e);var o=++d;this.element.outlayerGUID=o,c[o]=this,this._create();var r=this._getOption("initLayout");r&&this.layout()}function s(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}function a(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],n=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var o=g[n]||1;return i*o}var h=t.console,l=t.jQuery,u=function(){},d=0,c={};r.namespace="outlayer",r.Item=o,r.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var f=r.prototype;n.extend(f,e.prototype),f.option=function(t){n.extend(this.options,t)},f._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},r.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},f._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle);var t=this._getOption("resize");t&&this.bindResize()},f.reloadItems=function(){this.items=this._itemize(this.element.children)},f._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var r=e[o],s=new i(r,this);n.push(s)}return n},f._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},f.getItemElements=function(){return this.items.map(function(t){return t.element})},f.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},f._init=f.layout,f._resetLayout=function(){this.getSize()},f.getSize=function(){this.size=i(this.element)},f._getMeasurement=function(t,e){var n=this.options[t],o;n?("string"==typeof n?o=this.element.querySelector(n):n instanceof HTMLElement&&(o=n),this[t]=o?i(o)[e]:n):this[t]=0},f.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},f._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},f._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var n=this._getItemLayoutPosition(t);n.item=t,n.isInstant=e||t.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i)}},f._getItemLayoutPosition=function(){return{x:0,y:0}},f._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},f.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=a(t),this.stagger)},f._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},f._postLayout=function(){this.resizeContainer()},f.resizeContainer=function(){var t=this._getOption("resizeContainer");if(t){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},f._getContainerSize=u,f._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},f._emitCompleteOnItems=function(t,e){function i(){o.dispatchEvent(t+"Complete",null,[e])}function n(){s++,s==r&&i()}var o=this,r=e.length;if(!e||!r)return void i();var s=0;e.forEach(function(e){e.once(t,n)})},f.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),l)if(this.$element=this.$element||l(this.element),e){var o=l.Event(e);o.type=t,this.$element.trigger(o,i)}else this.$element.trigger(t,i)},f.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},f.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},f.stamp=function(t){t=this._find(t),t&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},f.unstamp=function(t){t=this._find(t),t&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},f._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=n.makeArray(t)):void 0},f._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},f._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},f._manageStamp=u,f._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,o=i(t),r={left:e.left-n.left-o.marginLeft,top:e.top-n.top-o.marginTop,right:n.right-e.right-o.marginRight,bottom:n.bottom-e.bottom-o.marginBottom};return r},f.handleEvent=n.handleEvent,f.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},f.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},f.onresize=function(){this.resize()},n.debounceMethod(r,"onresize",100),f.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},f.needsResizeLayout=function(){var t=i(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},f.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},f.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},f.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},f.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},f.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},f.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},f.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},f.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},f.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},f.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},f.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete c[e],delete this.element.outlayerGUID,l&&l.removeData(this.element,this.constructor.namespace)},r.data=function(t){t=n.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&c[e]},r.create=function(t,e){var i=s(r);return i.defaults=n.extend({},r.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},r.compatOptions),i.namespace=t,i.data=r.data,i.Item=s(o),n.htmlInit(i,t),l&&l.bridget&&l.bridget(t,i),i};var g={ms:1,s:1e3};return r.Item=o,r}),function(t,e){"function"==typeof define&&define.amd?define("enviratope/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Enviratope=t.Enviratope||{},t.Enviratope.Item=e(t.Outlayer))}(window,function a(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),n=i._create;i._create=function(){this.id=this.layout.itemGUID++,n.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var n=e[i];this.sortData[i]=n(this.element,this)}}};var o=i.destroy;return i.destroy=function(){o.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("enviratope/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Enviratope=t.Enviratope||{},t.Enviratope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function h(t,e){"use strict";function i(t){this.enviratope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var n=i.prototype,o=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"];return o.forEach(function(t){n[t]=function(){return e.prototype[t].apply(this.enviratope,arguments)}}),n.needsVerticalResizeLayout=function(){var e=t(this.enviratope.element),i=this.enviratope.size&&e;return i&&e.innerHeight!=this.enviratope.size.innerHeight},n._getMeasurement=function(){this.enviratope._getMeasurement.apply(this,arguments)},n.getColumnWidth=function(){this.getSegmentSize("column","Width")},n.getRowHeight=function(){this.getSegmentSize("row","Height")},n.getSegmentSize=function(t,e){var i=t+e,n="outer"+e;if(this._getMeasurement(i,n),!this[i]){var o=this.getFirstItemSize();this[i]=o&&o[n]||this.enviratope.size["inner"+e]}},n.getFirstItemSize=function(){var e=this.enviratope.filteredItems[0];return e&&e.element&&t(e.element)},n.layout=function(){this.enviratope.layout.apply(this.enviratope,arguments)},n.getSize=function(){this.enviratope.getSize(),this.size=this.enviratope.size},i.modes={},i.create=function(t,e){function o(){i.apply(this,arguments)}return o.prototype=Object.create(n),o.prototype.constructor=o,e&&(o.options=e),o.prototype.namespace=t,i.modes[t]=o,o},i}),function(t,e){"function"==typeof define&&define.amd?define("masonry/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function l(t,e){var i=t.create("masonry");return i.compatOptions.fitWidth="isFitWidth",i.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0},i.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,r=o/n,s=n-o%n,a=s&&1>s?"round":"floor";r=Math[a](r),this.cols=Math.max(r,1)},i.prototype.getContainerWidth=function(){var t=this._getOption("fitWidth"),i=t?this.element.parentNode:this.element,n=e(i);this.containerWidth=n&&n.innerWidth},i.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&&1>e?"round":"ceil",n=Math[i](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var o=this._getColGroup(n),r=Math.min.apply(Math,o),s=o.indexOf(r),a={x:this.columnWidth*s,y:r},h=r+t.size.outerHeight,l=this.cols+1-o.length,u=0;l>u;u++)this.colYs[s+u]=h;return a},i.prototype._getColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;i>n;n++){var o=this.colYs.slice(n,n+t);e[n]=Math.max.apply(Math,o)}return e},i.prototype._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft"),r=o?n.left:n.right,s=r+i.outerWidth,a=Math.floor(r/this.columnWidth);a=Math.max(0,a);var h=Math.floor(s/this.columnWidth);h-=s%this.columnWidth?0:1,h=Math.min(this.cols-1,h);for(var l=this._getOption("originTop"),u=(l?n.top:n.bottom)+i.outerHeight,d=a;h>=d;d++)this.colYs[d]=Math.max(u,this.colYs[d])},i.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},i.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},i.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("enviratope/layout-modes/masonry",["../layout-mode","masonry/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Enviratope.LayoutMode,t.Masonry)}(window,function u(t,e){"use strict";var i=t.create("masonry"),n=i.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var r in e.prototype)o[r]||(n[r]=e.prototype[r]);var s=n.measureColumns;n.measureColumns=function(){this.items=this.enviratope.filteredItems,s.call(this)};var a=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.enviratope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("enviratope/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Enviratope.LayoutMode)}(window,function d(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.enviratope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,n},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("enviratope/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Enviratope.LayoutMode)}(window,function c(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.enviratope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","./item","./layout-mode","./layout-modes/masonry","./layout-modes/fit-rows","./layout-modes/vertical"],function(i,n,o,r,s,a){return e(t,i,n,o,r,s,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("./item"),require("./layout-mode"),require("./layout-modes/masonry"),require("./layout-modes/fit-rows"),require("./layout-modes/vertical")):t.Enviratope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Enviratope.Item,t.Enviratope.LayoutMode)}(window,function f(t,e,i,n,o,r,s){function a(t,e){return function i(n,o){for(var r=0;r<t.length;r++){var s=t[r],a=n.sortData[s],h=o.sortData[s];if(a>h||h>a){var l=void 0!==e[s]?e[s]:e,u=l?1:-1;return(a>h?1:-1)*u}}return 0}}var h=t.jQuery,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},u=e.create("enviratope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});u.Item=r,u.LayoutMode=s;var d=u.prototype;d._create=function(){this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"];for(var t in s.modes)this._initLayoutMode(t)},d.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},d._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++){var n=t[i];n.id=this.itemGUID++}return this._updateItemsSortData(t),t},d._initLayoutMode=function(t){var e=s.modes[t],i=this.options[t]||{};this.options[t]=e.options?o.extend(e.options,i):i,this.modes[t]=new e(this)},d.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},d._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},d.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},d._init=d.arrange,d._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},d._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},d._bindArrangeComplete=function(){function t(){e&&i&&n&&o.dispatchEvent("arrangeComplete",null,[o.filteredItems])}var e,i,n,o=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){n=!0,t()})},d._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],n=[],o=[],r=this._getFilterTest(e),s=0;s<t.length;s++){var a=t[s];if(!a.isIgnored){var h=r(a);h&&i.push(a),h&&a.isHidden?n.push(a):h||a.isHidden||o.push(a)}}return{matches:i,needReveal:n,needHide:o}},d._getFilterTest=function(t){return h&&this.options.isJQueryFiltering?function(e){return h(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return n(e.element,t)}},d.updateSortData=function(t){var e;t?(t=o.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},d._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=c(i)}},d._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&e>i;i++){var n=t[i];n.updateSortData()}};var c=function(){function t(t){if("string"!=typeof t)return t;var i=l(t).split(" "),n=i[0],o=n.match(/^\[(.+)\]$/),r=o&&o[1],s=e(r,n),a=u.sortDataParsers[i[1]];return t=a?function(t){return t&&a(s(t))}:function(t){return t&&s(t)}}function e(t,e){return t?function i(e){return e.getAttribute(t)}:function n(t){var i=t.querySelector(e);return i&&i.textContent}}return t}();u.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},d._sort=function(){var t=this.options.sortBy;if(t){var e=[].concat.apply(t,this.sortHistory),i=a(e,this.options.sortAscending);this.filteredItems.sort(i),t!=this.sortHistory[0]&&this.sortHistory.unshift(t)}},d._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},d._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},d._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},d._manageStamp=function(t){this._mode()._manageStamp(t)},d._getContainerSize=function(){return this._mode()._getContainerSize()},d.needsResizeLayout=function(){return this._mode().needsResizeLayout()},d.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},d.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},d._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},d.insert=function(t){var e=this.addItems(t);if(e.length){var i,n,o=e.length;for(i=0;o>i;i++)n=e[i],this.element.appendChild(n.element);var r=this._filter(e).matches;for(i=0;o>i;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;o>i;i++)delete e[i].isLayoutInstant;this.reveal(r)}};var f=d.remove;return d.remove=function(t){t=o.makeArray(t);var e=this.getItems(t);f.call(this,t);for(var i=e&&e.length,n=0;i&&i>n;n++){var r=e[n];o.removeFrom(this.filteredItems,r)}},d.shuffle=function(){for(var t=0;t<this.items.length;t++){var e=this.items[t];e.sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},d._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var n=t.apply(this,e);return this.options.transitionDuration=i,n},d.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},u}),function(t){var e,i,n,o,r,s,a,h,l,u,d=0,c={},f=[],g=0,p={},m=[],v=null,y=new Image,w=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,b=/[^\.]\.(swf)\s*$/i,x,I=1,S=0,E="",_,z,R=!1,T=t.extend(t("<div/>")[0],{prop:0}),C=!1,j=function(){i.hide(),y.onerror=y.onload=null,v&&v.abort(),e.empty()},O=function(){return!1===c.onError(f,d,c)?(i.hide(),void(R=!1)):(c.titleShow=!1,c.width="auto",c.height="auto",e.html('<p id="envirabox-error">The requested content cannot be loaded.<br />Please try again later.</p>'),void A())},L=function(){var n=f[d],o,r,a,h,l,u;if(j(),c=t.extend({},t.fn.envirabox.defaults,"undefined"==typeof t(n).data("envirabox")?c:t(n).data("envirabox")),u=c.onStart(f,d,c),u===!1)return void(R=!1);if("object"==typeof u&&(c=t.extend(c,u)),a=c.title||(n.nodeName?t(n).attr("title"):n.title)||"",n.nodeName&&!c.orig&&(c.orig=t(n).children("img:first").length?t(n).children("img:first"):t(n)),""===a&&c.orig&&c.titleFromAlt&&(a=c.orig.attr("alt")),o=c.href||(n.nodeName?t(n).attr("href"):n.href)||null,(/^(?:javascript)/i.test(o)||"#"==o)&&(o=null),c.type?(r=c.type,o||(o=c.content)):c.content?r="html":o&&(r=o.match(w)?"image":o.match(b)?"swf":t(n).hasClass("iframe")?"iframe":0===o.indexOf("#")?"inline":"ajax"),!r)return void O();switch("inline"==r&&(n=o.substr(o.indexOf("#")),r=t(n).length>0?"inline":"ajax"),c.type=r,c.href=o,c.title=a,c.autoDimensions&&("html"==c.type||"inline"==c.type||"ajax"==c.type?(c.width="auto",c.height="auto"):c.autoDimensions=!1),c.modal&&(c.overlayShow=!0,c.hideOnOverlayClick=!1,c.hideOnContentClick=!1,c.enableEscapeButton=!1,c.showCloseButton=!1),c.padding=parseInt(c.padding,10),c.margin=parseInt(c.margin,10),e.css("padding",c.padding+c.margin),t(".envirabox-inline-tmp").unbind("envirabox-cancel").bind("envirabox-change",function(){t(this).replaceWith(s.children())}),r){case"html":e.html(c.content),A();break;case"inline":if(t(n).parent().is("#envirabox-content")===!0)return void(R=!1);t('<div class="envirabox-inline-tmp" />').hide().insertBefore(t(n)).bind("envirabox-cleanup",function(){t(this).replaceWith(s.children())}).bind("envirabox-cancel",function(){t(this).replaceWith(e.children())}),t(n).appendTo(e),A();break;case"image":R=!1,t.envirabox.showActivity(),y=new Image,y.onerror=function(){O()},y.onload=function(){R=!0,y.onerror=y.onload=null,D()},y.src=o;break;case"swf":c.scrolling="no",h='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+c.width+'" height="'+c.height+'"><param name="movie" value="'+o+'"></param>',l="",t.each(c.swf,function(t,e){h+='<param name="'+t+'" value="'+e+'"></param>',l+=" "+t+'="'+e+'"'}),h+='<embed src="'+o+'" type="application/x-shockwave-flash" width="'+c.width+'" height="'+c.height+'"'+l+"></embed></object>",e.html(h),A();break;case"ajax":R=!1,t.envirabox.showActivity(),c.ajax.win=c.ajax.success,v=t.ajax(t.extend({},c.ajax,{url:o,data:c.ajax.data||{},error:function(t,e,i){t.status>0&&O()},success:function(t,n,r){var s="object"==typeof r?r:v;if(200==s.status){if("function"==typeof c.ajax.win){if(u=c.ajax.win(o,t,n,r),u===!1)return void i.hide();("string"==typeof u||"object"==typeof u)&&(t=u)}e.html(t),A()}}}));break;case"iframe":M()}},A=function(){var i=c.width,n=c.height;i=i.toString().indexOf("%")>-1?parseInt((t(window).width()-2*c.margin)*parseFloat(i)/100,10)+"px":"auto"==i?"auto":i+"px",n=n.toString().indexOf("%")>-1?parseInt((t(window).height()-2*c.margin)*parseFloat(n)/100,10)+"px":"auto"==n?"auto":n+"px",e.wrapInner('<div style="width:'+i+";height:"+n+";overflow: "+("auto"==c.scrolling?"auto":"yes"==c.scrolling?"scroll":"hidden")+';position:relative;"></div>'),c.width=e.width(),c.height=e.height(),M()},D=function(){c.width=y.width,c.height=y.height,t("<img />").attr({id:"envirabox-img",src:y.src,alt:c.title}).appendTo(e),M()},M=function(){var r,v;return i.hide(),o.is(":visible")&&!1===p.onCleanup(m,g,p)?(t.event.trigger("envirabox-cancel"),void(R=!1)):(R=!0,t(s.add(n)).unbind(),t(window).unbind("resize.fb scroll.fb"),t(document).unbind("keydown.fb"),o.is(":visible")&&"outside"!==p.titlePosition&&o.css("height",o.height()),m=f,g=d,p=c,p.overlayShow?(n.css({"background-color":p.overlayColor,opacity:p.overlayOpacity,cursor:p.hideOnOverlayClick?"pointer":"auto",height:t(document).height()}),n.is(":visible")||(C&&t("select:not(#envirabox-tmp select)").filter(function(){return"hidden"!==this.style.visibility}).css({visibility:"hidden"}).one("envirabox-cleanup",function(){this.style.visibility="inherit"}),n.show())):n.hide(),z=q(),k(),o.is(":visible")?(t(a.add(l).add(u)).hide(),r=o.position(),_={top:r.top,left:r.left,width:o.width(),height:o.height()},v=_.width==z.width&&_.height==z.height,void s.fadeTo(p.changeFade,.3,function(){var i=function(){s.html(e.contents()).fadeTo(p.changeFade,1,B)};t.event.trigger("envirabox-change"),s.empty().removeAttr("filter").css({"border-width":p.padding,width:z.width-2*p.padding,height:c.autoDimensions?"auto":z.height-S-2*p.padding}),v?i():(T.prop=0,t(T).animate({prop:1},{duration:p.changeSpeed,easing:p.easingChange,step:P,complete:i}))})):(o.removeAttr("style"),s.css("border-width",p.padding),"elastic"==p.transitionIn?(_=Y(),s.html(e.contents()),o.show(),p.opacity&&(z.opacity=0),T.prop=0,void t(T).animate({prop:1},{duration:p.speedIn,easing:p.easingIn,step:P,complete:B})):("inside"==p.titlePosition&&S>0&&h.show(),s.css({width:z.width-2*p.padding,height:c.autoDimensions?"auto":z.height-S-2*p.padding}).html(e.contents()),void o.css(z).fadeIn("none"==p.transitionIn?0:p.speedIn,B))))},H=function(t){return t&&t.length?"float"==p.titlePosition?'<table id="envirabox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="envirabox-title-float-left"></td><td id="envirabox-title-float-main">'+t+'</td><td id="envirabox-title-float-right"></td></tr></table>':'<div id="envirabox-title-'+p.titlePosition+'">'+t+"</div>":!1},k=function(){if(E=p.title||"",S=0,h.empty().removeAttr("style").removeClass(),p.titleShow===!1)return void h.hide();if(E=t.isFunction(p.titleFormat)?p.titleFormat(E,m,g,p):H(E),!E||""===E)return void h.hide();switch(h.addClass("envirabox-title-"+p.titlePosition).html(E).appendTo("body").show(),p.titlePosition){case"inside":h.css({width:z.width-2*p.padding,marginLeft:p.padding,marginRight:p.padding}),S=h.outerHeight(!0),h.appendTo(r),z.height+=S;break;case"over":
11
- h.css({marginLeft:p.padding,width:z.width-2*p.padding,bottom:p.padding}).appendTo(r);break;case"float":h.css("left",-1*parseInt((h.width()-z.width-40)/2,10)).appendTo(o);break;default:h.css({width:z.width-2*p.padding,paddingLeft:p.padding,paddingRight:p.padding}).appendTo(o)}h.hide()},W=function(){return(p.enableEscapeButton||p.enableKeyboardNav)&&t(document).bind("keydown.fb",function(e){27==e.keyCode&&p.enableEscapeButton?(e.preventDefault(),t.envirabox.close()):37!=e.keyCode&&39!=e.keyCode||!p.enableKeyboardNav||"INPUT"===e.target.tagName||"TEXTAREA"===e.target.tagName||"SELECT"===e.target.tagName||(e.preventDefault(),t.envirabox[37==e.keyCode?"prev":"next"]())}),p.showNavArrows?((p.cyclic&&m.length>1||0!==g)&&l.show(),void((p.cyclic&&m.length>1||g!=m.length-1)&&u.show())):(l.hide(),void u.hide())},B=function(){t.support.opacity||(s.get(0).style.removeAttribute("filter"),o.get(0).style.removeAttribute("filter")),c.autoDimensions&&s.css("height","auto"),o.css("height","auto"),E&&E.length&&h.show(),p.showCloseButton&&a.show(),W(),p.hideOnContentClick&&s.bind("click",t.envirabox.close),p.hideOnOverlayClick&&n.bind("click",t.envirabox.close),t(window).bind("resize.fb",t.envirabox.resize),p.centerOnScroll&&t(window).bind("scroll.fb",t.envirabox.center),"iframe"==p.type&&t('<iframe id="envirabox-frame" name="envirabox-frame'+(new Date).getTime()+'" frameborder="0" hspace="0" scrolling="'+c.scrolling+'" src="'+p.href+'"></iframe>').appendTo(s),o.show(),R=!1,t.envirabox.center(),p.onComplete(m,g,p),F()},F=function(){var t,e;m.length-1>g&&(t=m[g+1].href,"undefined"!=typeof t&&t.match(w)&&(e=new Image,e.src=t)),g>0&&(t=m[g-1].href,"undefined"!=typeof t&&t.match(w)&&(e=new Image,e.src=t))},P=function(t){var e={width:parseInt(_.width+(z.width-_.width)*t,10),height:parseInt(_.height+(z.height-_.height)*t,10),top:parseInt(_.top+(z.top-_.top)*t,10),left:parseInt(_.left+(z.left-_.left)*t,10)};"undefined"!=typeof z.opacity&&(e.opacity=.5>t?.5:t),o.css(e),s.css({width:e.width-2*p.padding,height:e.height-S*t-2*p.padding})},N=function(){return[t(window).width()-2*p.margin,t(window).height()-2*p.margin,t(document).scrollLeft()+p.margin,t(document).scrollTop()+p.margin]},q=function(){var t=N(),e={},i=p.autoScale,n=2*p.padding,o;return p.width.toString().indexOf("%")>-1?e.width=parseInt(t[0]*parseFloat(p.width)/100,10):e.width=p.width+n,p.height.toString().indexOf("%")>-1?e.height=parseInt(t[1]*parseFloat(p.height)/100,10):e.height=p.height+n,i&&(e.width>t[0]||e.height>t[1])&&("image"==c.type||"swf"==c.type?(o=p.width/p.height,e.width>t[0]&&(e.width=t[0],e.height=parseInt((e.width-n)/o+n,10)),e.height>t[1]&&(e.height=t[1],e.width=parseInt((e.height-n)*o+n,10))):(e.width=Math.min(e.width,t[0]),e.height=Math.min(e.height,t[1]))),e.top=parseInt(Math.max(t[3]-20,t[3]+.5*(t[1]-e.height-40)),10),e.left=parseInt(Math.max(t[2]-20,t[2]+.5*(t[0]-e.width-40)),10),e},Q=function(t){var e=t.offset();return e.top+=parseInt(t.css("paddingTop"),10)||0,e.left+=parseInt(t.css("paddingLeft"),10)||0,e.top+=parseInt(t.css("border-top-width"),10)||0,e.left+=parseInt(t.css("border-left-width"),10)||0,e.width=t.width(),e.height=t.height(),e},Y=function(){var e=c.orig?t(c.orig):!1,i={},n,o;return e&&e.length?(n=Q(e),i={width:n.width+2*p.padding,height:n.height+2*p.padding,top:n.top-p.padding-20,left:n.left-p.padding-20}):(o=N(),i={width:2*p.padding,height:2*p.padding,top:parseInt(o[3]+.5*o[1],10),left:parseInt(o[2]+.5*o[0],10)}),i},U=function(){return i.is(":visible")?(t("div",i).css("top",-40*I+"px"),void(I=(I+1)%12)):void clearInterval(x)};t.fn.envirabox=function(e){return t(this).length?(t(this).data("envirabox",t.extend({},e,t.metadata?t(this).metadata():{})).unbind("click.fb").bind("click.fb",function(e){if(e.preventDefault(),!R){R=!0,t(this).blur(),f=[],d=0;var i=t(this).attr("rel")||"";i&&""!=i&&"nofollow"!==i?(f=t("a[rel="+i+"], area[rel="+i+"]"),d=f.index(this)):f.push(this),L()}}),this):this},t.envirabox=function(e){var i;if(!R){if(R=!0,i="undefined"!=typeof arguments[1]?arguments[1]:{},f=[],d=parseInt(i.index,10)||0,t.isArray(e)){for(var n=0,o=e.length;o>n;n++)"object"==typeof e[n]?t(e[n]).data("envirabox",t.extend({},i,e[n])):e[n]=t({}).data("envirabox",t.extend({content:e[n]},i));f=jQuery.merge(f,e)}else"object"==typeof e?t(e).data("envirabox",t.extend({},i,e)):e=t({}).data("envirabox",t.extend({content:e},i)),f.push(e);(d>f.length||0>d)&&(d=0),L()}},t.envirabox.showActivity=function(){clearInterval(x),i.show(),x=setInterval(U,66)},t.envirabox.hideActivity=function(){i.hide()},t.envirabox.next=function(){return t.envirabox.pos(g+1)},t.envirabox.prev=function(){return t.envirabox.pos(g-1)},t.envirabox.pos=function(t){R||(t=parseInt(t),f=m,t>-1&&t<m.length?(d=t,L()):p.cyclic&&m.length>1&&(d=t>=m.length?0:m.length-1,L()))},t.envirabox.cancel=function(){R||(R=!0,t.event.trigger("envirabox-cancel"),j(),c.onCancel(f,d,c),R=!1)},t.envirabox.close=function(){function e(){n.fadeOut("fast"),h.empty().hide(),o.hide(),t.event.trigger("envirabox-cleanup"),s.empty(),p.onClosed(m,g,p),m=c=[],g=d=0,p=c={},R=!1}if(!R&&!o.is(":hidden")){if(R=!0,p&&!1===p.onCleanup(m,g,p))return void(R=!1);if(j(),t(a.add(l).add(u)).hide(),t(s.add(n)).unbind(),t(window).unbind("resize.fb scroll.fb"),t(document).unbind("keydown.fb"),s.find("iframe").attr("src",C&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank"),"inside"!==p.titlePosition&&h.empty(),o.stop(),"elastic"==p.transitionOut){_=Y();var i=o.position();z={top:i.top,left:i.left,width:o.width(),height:o.height()},p.opacity&&(z.opacity=1),h.empty().hide(),T.prop=1,t(T).animate({prop:0},{duration:p.speedOut,easing:p.easingOut,step:P,complete:e})}else o.fadeOut("none"==p.transitionOut?0:p.speedOut,e)}},t.envirabox.resize=function(){n.is(":visible")&&n.css("height",t(document).height());var e,i;z=q(),k(),h.show(),e=o.position(),_={top:e.top,left:e.left,width:o.width(),height:o.height()},i=_.width==z.width&&_.height==z.height,i||(T.prop=0,t(T).animate({prop:1},{duration:p.changeSpeed,easing:p.easingChange,step:P})),s.css({width:z.width-2*p.padding,height:c.autoDimensions?"auto":z.height-S-2*p.padding}),o.css(z),t.envirabox.center(!0)},t.envirabox.center=function(){var t,e;R||(e=arguments[0]===!0?1:0,t=N(),(e||!(o.width()>t[0]||o.height()>t[1]))&&o.stop().animate({top:parseInt(Math.max(t[3]-20,t[3]+.5*(t[1]-s.height()-40)-p.padding)),left:parseInt(Math.max(t[2]-20,t[2]+.5*(t[0]-s.width()-40)-p.padding))},"number"==typeof arguments[0]?arguments[0]:200))},t.envirabox.init=function(){t("#envirabox-wrap").length||(t("body").append(e=t('<div id="envirabox-tmp"></div>'),i=t('<div id="envirabox-loading"><div></div></div>'),n=t('<div id="envirabox-overlay"></div>'),o=t('<div id="envirabox-wrap"></div>')),r=t('<div id="envirabox-outer"></div>').append('<div class="envirabox-bg" id="envirabox-bg-n"></div><div class="envirabox-bg" id="envirabox-bg-ne"></div><div class="envirabox-bg" id="envirabox-bg-e"></div><div class="envirabox-bg" id="envirabox-bg-se"></div><div class="envirabox-bg" id="envirabox-bg-s"></div><div class="envirabox-bg" id="envirabox-bg-sw"></div><div class="envirabox-bg" id="envirabox-bg-w"></div><div class="envirabox-bg" id="envirabox-bg-nw"></div>').appendTo(o),r.append(s=t('<div id="envirabox-content"></div>'),a=t('<a id="envirabox-close"></a>'),h=t('<div id="envirabox-title"></div>'),l=t('<a href="javascript:;" id="envirabox-left"><span class="fancy-ico" id="envirabox-left-ico"></span></a>'),u=t('<a href="javascript:;" id="envirabox-right"><span class="fancy-ico" id="envirabox-right-ico"></span></a>')),a.click(t.envirabox.close),i.click(t.envirabox.cancel),l.click(function(e){e.preventDefault(),t.envirabox.prev()}),u.click(function(e){e.preventDefault(),t.envirabox.next()}),t.fn.mousewheel&&o.bind("mousewheel.fb",function(e,i){R?e.preventDefault():(0==t(e.target).get(0).clientHeight||t(e.target).get(0).scrollHeight===t(e.target).get(0).clientHeight)&&(e.preventDefault(),t.envirabox[i>0?"prev":"next"]())}),t.support.opacity||o.addClass("envirabox-ie"),C&&(i.addClass("envirabox-ie6"),o.addClass("envirabox-ie6"),t('<iframe id="envirabox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(r)))},t.fn.envirabox.defaults={padding:10,margin:40,opacity:!1,modal:!1,cyclic:!1,scrolling:"auto",width:560,height:340,autoScale:!0,autoDimensions:!0,centerOnScroll:!1,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:!0,hideOnContentClick:!1,overlayShow:!0,overlayOpacity:.9,overlayColor:"#777",titleShow:!0,titlePosition:"float",titleFormat:null,titleFromAlt:!1,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:!0,showNavArrows:!0,enableEscapeButton:!0,enableKeyboardNav:!0,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}},t(document).ready(function(){t.envirabox.init()})}(jQuery),"undefined"!=typeof envira_lazy_load&&"true"==envira_lazy_load)var responsivelyLazy=function(){var t=!1,e=null,i=null,n=!1,o=!1,r="undefined"!=typeof IntersectionObserver,s=function(t){if(null===e&&(e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,i=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,null===e))return!1;var n=t.getBoundingClientRect(),o=n.top,r=n.left,s=n.width,a=n.height,h=i>o&&o+a>0&&e>r&&r+s>0;return h};jQuery.fn.exists=function(){return this.length>0};var a=function(e,i){var n=i.getAttribute("data-envira-srcset");if(null!==n)if(n=n.trim(),n.length>0){n=n.split(",");for(var o=[],r=n.length,s=0;r>s;s++){var a=n[s].trim();if(0!==a.length){var h=a.lastIndexOf(" ");if(-1===h)var l=a,u=999998;else var l=a.substr(0,h),u=parseInt(a.substr(h+1,a.length-h-2),10);var d=!1;-1!==l.indexOf(".webp",l.length-5)?t&&(d=!0):d=!0,d&&o.push([l,u])}}o.sort(function(t,e){if(t[1]<e[1])return-1;if(t[1]>e[1])return 1;if(t[1]===e[1]){if(-1!==e[0].indexOf(".webp",e[0].length-5))return 1;if(-1!==t[0].indexOf(".webp",t[0].length-5))return-1}return 0}),n=o}else n=[];else n=[];for(var c=e.offsetWidth*window.devicePixelRatio,f=null,r=n.length,s=0;r>s;s++){var g=n[s];if(g[1]>=c){f=g;break}}if(null===f&&(f=[i.getAttribute("data-envira-src"),999999]),"undefined"==typeof e.lastSetOption&&(e.lastSetOption=["",0]),e.lastSetOption[1]<f[1]){var p=0===e.lastSetOption[1],m=f[0],v=new Image;v.addEventListener("load",function(){if(i.setAttribute("srcset",m),i.setAttribute("src",m),p){var t=e.getAttribute("data-onlazyload");null!==t&&new Function(t).bind(e)()}},!1),v.addEventListener("error",function(){e.lastSetOption=["",0]},!1),v.onload=function(){if("envira-lazy"==e.getAttribute("class"))var t=e.firstElementChild,i=e,n=t.id,o=t.src,r=jQuery(t).data("envira-gallery-id"),s=this.naturalWidth,a=this.naturalHeight;else var t=v,i=e,n=e.id,o=e.src,r=jQuery(t).data("envira-gallery-id"),s=this.naturalWidth,a=this.naturalHeight;(void 0===r||null===r)&&(r=0),jQuery(document).trigger({type:"envira_image_lazy_load_complete",container:i,image_src:o,image_id:n,gallery_id:r,naturalWidth:s,naturalHeight:a})},v.onerror=function(){},v.src=null,v.src=m,e.lastSetOption=f}},h=function(){e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,i=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},l=function(t){o=t},u=function(t){if("undefined"!=typeof t){var e=function(t,e){for(var i=t.length,n=0;i>n;n++){var o=t[n],r=e?o:o.parentNode;s(r)===!0&&a(r,o)}};if(t){if("string"!=typeof t)return;("undefined"===envira_lazy_load_delay||envira_lazy_load_initial===!1||"undefined"===envira_lazy_load_initial)&&(envira_lazy_load_delay=0),myVar=setTimeout(function(){jQuery(t+" .envira-lazy > img").exists()?e(document.querySelectorAll(t+" .envira-lazy > img"),!1):jQuery(t+" img.envira-lazy").exists()&&e(document.querySelectorAll(t+" img.envira-lazy"),!0),1==envira_lazy_load_initial},envira_lazy_load_delay)}}};if("srcset"in document.createElement("img")&&"undefined"!=typeof window.devicePixelRatio&&"undefined"!=typeof window.addEventListener&&"undefined"!=typeof document.querySelectorAll){h();var d=new Image;d.src="data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoCAAEADMDOJaQAA3AA/uuuAAA=",d.onload=d.onerror=function(){if(t=2===d.width,r){var e=function(){for(var t=document.querySelectorAll(".envira-lazy"),e=t.length,n=0;e>n;n++){var o=t[n];"undefined"==typeof o.responsivelyLazyObserverAttached&&(o.responsivelyLazyObserverAttached=!0,i.observe(o))}},i=new IntersectionObserver(function(t){for(var e in t){var i=t[e];if(i.intersectionRatio>0){var n=i.target;if("img"!==n.tagName.toLowerCase()){var o=n.querySelector("img");null!==o&&a(n,o)}else a(n,n)}}});u()}else var n=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)},o=!0,s=function(){o&&(o=!1),n.call(null,s)},l=function(){o=!0,s()},c=function(){for(var t=document.querySelectorAll(".envira-lazy"),e=t.length,i=0;e>i;i++)for(var n=t[i].parentNode;n&&"html"!==n.tagName.toLowerCase();)"undefined"==typeof n.responsivelyLazyScrollAttached&&(n.responsivelyLazyScrollAttached=!0,n.addEventListener("scroll",l)),n=n.parentNode};var f=function(){if(r)var t=null;if(window.addEventListener("resize",function(){h(),r?(window.clearTimeout(t),t=window.setTimeout(function(){u()},300)):l()}),r?(window.addEventListener("load",u),e()):(window.addEventListener("scroll",l),window.addEventListener("load",l),c()),"undefined"!=typeof MutationObserver){var i=new MutationObserver(function(){r?(e(),u()):(c(),l())});i.observe(document.querySelector("body"),{childList:!0,subtree:!0})}};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",f):f()}}return{run:u,isVisible:s,setGalleryClass:l}}();
1
+ function jg_effect_desaturate(t){var e=!!document.createElement("canvas").getContext;if(e){var i=document.createElement("canvas"),n=i.getContext("2d"),o,r,s,a=0,h,l=new Image;for(l.src=t,i.width=l.width,i.height=l.height,n.drawImage(l,0,0),o=n.getImageData(0,0,i.width,i.height),r=o.data,s=r.length;s>a;a+=4)h=.3*r[a]+.59*r[a+1]+.11*r[a+2],r[a]=r[a+1]=r[a+2]=h;return n.putImageData(o,0,0),i.toDataURL()}return t}function jg_effect_threshold(t){var e=!!document.createElement("canvas").getContext;if(e){var i=document.createElement("canvas"),n=i.getContext("2d"),o,r,s,a=0,h,l=new Image;l.src=t,i.width=l.width,i.height=l.height,n.drawImage(l,0,0),o=n.getImageData(0,0,i.width,i.height),r=o.data,s=r.length,threshold=120;for(var a=0;s>a;a+=4){var u=r[a],d=r[a+1],c=r[a+2],f=.2126*u+.7152*d+.0722*c>=threshold?255:0;r[a]=r[a+1]=r[a+2]=f}return n.putImageData(o,0,0),i.toDataURL()}return t}function jg_effect_blur(t){var e=!!document.createElement("canvas").getContext;if(e){var i=document.createElement("canvas"),n=i.getContext("2d"),o,r,s,a=0,h,l=0,u=0,d=30,c=1;img=new Image,img.src=t,i.width=img.width,i.height=img.height,n.drawImage(img,0,0);var o,f=img.width,g=img.height;o=n.getImageData(l,u,f,g);for(var p=o.data,m,v,y,w,b,x,a,I,S,E,_,z,R,T,C=f-1,j=g-1,O=f*g,L=d+1,A=[],D=[],M=[],H=mul_table[d],k=shg_table[d],W=[],F=[];c-- >0;){for(R=z=0,x=0;g>x;x++){for(m=p[R]*L,v=p[R+1]*L,y=p[R+2]*L,a=1;d>=a;a++)I=R+((a>C?C:a)<<2),m+=p[I++],v+=p[I++],y+=p[I++];for(b=0;f>b;b++)A[z]=m,D[z]=v,M[z]=y,0==x&&(W[b]=((I=b+L)<C?I:C)<<2,F[b]=(I=b-d)>0?I<<2:0),S=R+W[b],E=R+F[b],m+=p[S++]-p[E++],v+=p[S++]-p[E++],y+=p[S++]-p[E++],z++;R+=f<<2}for(b=0;f>b;b++){for(_=b,m=A[_]*L,v=D[_]*L,y=M[_]*L,a=1;d>=a;a++)_+=a>j?0:f,m+=A[_],v+=D[_],y+=M[_];for(z=b<<2,x=0;g>x;x++)p[z]=m*H>>>k,p[z+1]=v*H>>>k,p[z+2]=y*H>>>k,0==b&&(W[x]=((I=x+L)<j?I:j)*f,F[x]=(I=x-d)>0?I*f:0),S=b+W[x],E=b+F[x],m+=A[S]-A[E],v+=D[S]-D[E],y+=M[S]-M[E],z+=f<<2}}return n.putImageData(o,l,u),i.toDataURL()}return t}function jg_effect_vintage(t){var e={onError:function(){alert("ERROR")}},i={vignette:1,sepia:!0,noise:50,desaturate:.2,lighten:.1};new VintageJS(t,e,i)}function boxBlurImage(t,e,i,n,o){var r=document.getElementById(t),s=r.naturalWidth,a=r.naturalHeight,h=document.getElementById(e);h.style.width=s+"px",h.style.height=a+"px",h.width=s,h.height=a;var l=h.getContext("2d");l.clearRect(0,0,s,a),l.drawImage(r,0,0),isNaN(i)||1>i||(n?boxBlurCanvasRGBA(e,0,0,s,a,i,o):boxBlurCanvasRGB(e,0,0,s,a,i,o))}function boxBlurCanvasRGBA(t,e,i,n,o,r,s){if(!(isNaN(r)||1>r)){r|=0,isNaN(s)&&(s=1),s|=0,s>3&&(s=3),1>s&&(s=1);var a=document.getElementById(t),h=a.getContext("2d"),l;try{try{l=h.getImageData(e,i,n,o)}catch(u){try{netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"),l=h.getImageData(e,i,n,o)}catch(u){throw alert("Cannot access local image"),new Error("unable to access local image data: "+u);return}}}catch(u){throw alert("Cannot access image"),new Error("unable to access image data: "+u);return}for(var d=l.data,c,f,g,p,m,v,y,w,b,x,I,S,E,_,z,R=n-1,T=o-1,C=n*o,j=r+1,O=mul_table[r],L=shg_table[r],A=[],D=[],M=[],H=[],k=[],W=[];s-- >0;){for(E=S=0,v=0;o>v;v++){for(c=d[E]*j,f=d[E+1]*j,g=d[E+2]*j,p=d[E+3]*j,y=1;r>=y;y++)w=E+((y>R?R:y)<<2),c+=d[w++],f+=d[w++],g+=d[w++],p+=d[w];for(m=0;n>m;m++)A[S]=c,D[S]=f,M[S]=g,H[S]=p,0==v&&(k[m]=((w=m+j)<R?w:R)<<2,W[m]=(w=m-r)>0?w<<2:0),b=E+k[m],x=E+W[m],c+=d[b++]-d[x++],f+=d[b++]-d[x++],g+=d[b++]-d[x++],p+=d[b]-d[x],S++;E+=n<<2}for(m=0;n>m;m++){for(I=m,c=A[I]*j,f=D[I]*j,g=M[I]*j,p=H[I]*j,y=1;r>=y;y++)I+=y>T?0:n,c+=A[I],f+=D[I],g+=M[I],p+=H[I];for(S=m<<2,v=0;o>v;v++)d[S+3]=z=p*O>>>L,z>0?(z=255/z,d[S]=(c*O>>>L)*z,d[S+1]=(f*O>>>L)*z,d[S+2]=(g*O>>>L)*z):d[S]=d[S+1]=d[S+2]=0,0==m&&(k[v]=((w=v+j)<T?w:T)*n,W[v]=(w=v-r)>0?w*n:0),b=m+k[v],x=m+W[v],c+=A[b]-A[x],f+=D[b]-D[x],g+=M[b]-M[x],p+=H[b]-H[x],S+=n<<2}}h.putImageData(l,e,i)}}function boxBlurCanvasRGB(t,e,i,n,o,r,s){if(!(isNaN(r)||1>r)){r|=0,isNaN(s)&&(s=1),s|=0,s>3&&(s=3),1>s&&(s=1);var a=t,h=a.getContext("2d"),l;try{try{l=h.getImageData(e,i,n,o)}catch(u){try{netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"),l=h.getImageData(e,i,n,o)}catch(u){throw alert("Cannot access local image"),new Error("unable to access local image data: "+u);return}}}catch(u){throw alert("Cannot access image"),new Error("unable to access image data: "+u);return}for(var d=l.data,c,f,g,p,m,v,y,w,b,x,I,S,E,_,z=n-1,R=o-1,T=n*o,C=r+1,j=[],O=[],L=[],A=mul_table[r],D=shg_table[r],M=[],H=[];s-- >0;){for(E=S=0,v=0;o>v;v++){for(c=d[E]*C,f=d[E+1]*C,g=d[E+2]*C,y=1;r>=y;y++)w=E+((y>z?z:y)<<2),c+=d[w++],f+=d[w++],g+=d[w++];for(m=0;n>m;m++)j[S]=c,O[S]=f,L[S]=g,0==v&&(M[m]=((w=m+C)<z?w:z)<<2,H[m]=(w=m-r)>0?w<<2:0),b=E+M[m],x=E+H[m],c+=d[b++]-d[x++],f+=d[b++]-d[x++],g+=d[b++]-d[x++],S++;E+=n<<2}for(m=0;n>m;m++){for(I=m,c=j[I]*C,f=O[I]*C,g=L[I]*C,y=1;r>=y;y++)I+=y>R?0:n,c+=j[I],f+=O[I],g+=L[I];for(S=m<<2,v=0;o>v;v++)d[S]=c*A>>>D,d[S+1]=f*A>>>D,d[S+2]=g*A>>>D,0==m&&(M[v]=((w=v+C)<R?w:R)*n,H[v]=(w=v-r)>0?w*n:0),b=m+M[v],x=m+H[v],c+=j[b]-j[x],f+=O[b]-O[x],g+=L[b]-L[x],S+=n<<2}}h.putImageData(l,e,i)}}jQuery(document).ready(function($){$("body").on("click",'div.envirabox-title a[href*="#"]:not([href="#"])',function(t){return location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname?($.envirabox.close(),!1):void 0}),$(document).on("envira_image_lazy_load_complete",function(t){if(void 0!==t&&void 0!==t.image_id&&null!==t.image_id){var e=$("div.envira-gallery-public").find("img#"+t.image_id);if($("div.envira-gallery-public").hasClass("envira-gallery-0-columns"))$(e).closest("div.envira-gallery-item-inner").find("div.envira-gallery-position-overlay").delay(100).show();else{$(e).closest("div.envira-gallery-item-inner").find("div.envira-gallery-position-overlay").delay(100).show();var i=$(e).closest("div.envira-gallery-item-inner").find(".envira-lazy").width(),n=t.naturalHeight/t.naturalWidth,o=t.naturalHeight/i;if(n>o)var r=o;else var r=n;var s=100*r;$(e).closest("div.envira-gallery-item-inner").find(".envira-lazy").css("padding-bottom",s+"%"),$(e).closest("div.envira-gallery-item-inner").find(".envira-lazy").data("envira-changed","true"),void 0!==window["envira_container_"+t.gallery_id]&&window["envira_container_"+t.gallery_id].on("layoutComplete",function(t,i){$(e).closest("div.envira-gallery-item-inner").find("span.envira-title").delay(1e3).css("visibility","visible"),$(e).closest("div.envira-gallery-item-inner").find("span.envira-caption").delay(1e3).css("visibility","visible")}),$("#envira-gallery-"+t.gallery_id).enviratope("layout")}}})}),function($){function t(){return $("body").height()>$(window).height()}var e=function(t,e){this.settings=e,this.checkSettings(),this.imgAnalyzerTimeout=null,this.entries=null,this.buildingRow={entriesBuff:[],width:0,height:0,aspectRatio:0},this.lastAnalyzedIndex=-1,this["yield"]={every:2,flushed:0},this.border=e.border>=0?e.border:e.margins,this.maxRowHeight=this.retrieveMaxRowHeight(),this.suffixRanges=this.retrieveSuffixRanges(),this.offY=this.border,this.rows=0,this.spinner={phase:0,timeSlot:150,$el:$('<div class="spinner"><span></span><span></span><span></span></div>'),intervalId:null},this.checkWidthIntervalId=null,this.galleryWidth=t.width(),this.$gallery=t};e.prototype.getSuffix=function(t,e){var i,n;for(i=t>e?t:e,n=0;n<this.suffixRanges.length;n++)if(i<=this.suffixRanges[n])return this.settings.sizeRangeSuffixes[this.suffixRanges[n]];return this.settings.sizeRangeSuffixes[this.suffixRanges[n-1]]},e.prototype.removeSuffix=function(t,e){return t.substring(0,t.length-e.length)},e.prototype.endsWith=function(t,e){return-1!==t.indexOf(e,t.length-e.length)},e.prototype.getUsedSuffix=function(t){for(var e in this.settings.sizeRangeSuffixes)if(this.settings.sizeRangeSuffixes.hasOwnProperty(e)){if(0===this.settings.sizeRangeSuffixes[e].length)continue;if(this.endsWith(t,this.settings.sizeRangeSuffixes[e]))return this.settings.sizeRangeSuffixes[e]}return""},e.prototype.newSrc=function(t,e,i){var n;if(this.settings.thumbnailPath)n=this.settings.thumbnailPath(t,e,i);else{var o=t.match(this.settings.extension),r=null!==o?o[0]:"";n=t.replace(this.settings.extension,""),n=this.removeSuffix(n,this.getUsedSuffix(n)),n+=this.getSuffix(e,i)+r}return n},e.prototype.showImg=function(t,e){this.settings.cssAnimation?(t.addClass("entry-visible"),e&&e()):t.stop().fadeTo(this.settings.imagesAnimationDuration,1,e)},e.prototype.extractImgSrcFromImage=function(t){var e="undefined"!=typeof t.data("safe-src")?t.data("safe-src"):t.attr("src");return t.data("jg.originalSrc",e),e},e.prototype.imgFromEntry=function(t){var e=t.find("> img");return 0===e.length&&(e=t.find("> a > img")),0===e.length?null:e},e.prototype.captionFromEntry=function(t){var e=t.find("> .caption");return 0===e.length?null:e},e.prototype.displayEntry=function(t,e,i,n,o,r){t.width(n),t.height(r),t.css("top",i),t.css("left",e);var s=this.imgFromEntry(t);if(null!==s){s.css("width",n),s.css("height",o),s.css("margin-left",-n/2),s.css("margin-top",-o/2);var a=s.attr("src"),h=this.newSrc(a,n,o);s.one("error",function(){s.attr("src",s.data("jg.originalSrc"))});var l=function(){a!==h&&s.attr("src",h)};"skipped"===t.data("jg.loaded")?this.onImageEvent(a,$.proxy(function(){this.showImg(t,l),t.data("jg.loaded",!0)},this)):this.showImg(t,l)}else this.showImg(t);this.displayEntryCaption(t)},e.prototype.displayEntryCaption=function(t){var e=this.imgFromEntry(t);if(null!==e&&this.settings.captions){var i=this.captionFromEntry(t);if(null===i){var n=e.attr("alt");this.isValidCaption(n)||(n=t.attr("title")),this.isValidCaption(n)&&(i=$('<div class="caption">'+n+"</div>"),t.append(i),t.data("jg.createdCaption",!0))}null!==i&&(this.settings.cssAnimation||i.stop().fadeTo(0,this.settings.captionSettings.nonVisibleOpacity),this.addCaptionEventsHandlers(t))}else this.removeCaptionEventsHandlers(t)},e.prototype.isValidCaption=function(t){return"undefined"!=typeof t&&t.length>0},e.prototype.onEntryMouseEnterForCaption=function(t){var e=this.captionFromEntry($(t.currentTarget));this.settings.cssAnimation?e.addClass("caption-visible").removeClass("caption-hidden"):e.stop().fadeTo(this.settings.captionSettings.animationDuration,this.settings.captionSettings.visibleOpacity)},e.prototype.onEntryMouseLeaveForCaption=function(t){var e=this.captionFromEntry($(t.currentTarget));this.settings.cssAnimation?e.removeClass("caption-visible").removeClass("caption-hidden"):e.stop().fadeTo(this.settings.captionSettings.animationDuration,this.settings.captionSettings.nonVisibleOpacity)},e.prototype.addCaptionEventsHandlers=function(t){var e=t.data("jg.captionMouseEvents");"undefined"==typeof e&&(e={mouseenter:$.proxy(this.onEntryMouseEnterForCaption,this),mouseleave:$.proxy(this.onEntryMouseLeaveForCaption,this)},t.on("mouseenter",void 0,void 0,e.mouseenter),t.on("mouseleave",void 0,void 0,e.mouseleave),t.data("jg.captionMouseEvents",e))},e.prototype.removeCaptionEventsHandlers=function(t){var e=t.data("jg.captionMouseEvents");"undefined"!=typeof e&&(t.off("mouseenter",void 0,e.mouseenter),t.off("mouseleave",void 0,e.mouseleave),t.removeData("jg.captionMouseEvents"))},e.prototype.prepareBuildingRow=function(t){var e,i,n,o,r,s=!0,a=0,h=this.galleryWidth-2*this.border-(this.buildingRow.entriesBuff.length-1)*this.settings.margins,l=h/this.buildingRow.aspectRatio,u=this.settings.rowHeight,d=this.buildingRow.width/h>this.settings.justifyThreshold;if(t&&"hide"===this.settings.lastRow&&!d){for(e=0;e<this.buildingRow.entriesBuff.length;e++)i=this.buildingRow.entriesBuff[e],this.settings.cssAnimation?i.removeClass("entry-visible"):i.stop().fadeTo(0,0);return-1}for(t&&!d&&"justify"!==this.settings.lastRow&&"hide"!==this.settings.lastRow&&(s=!1,this.rows>0&&(u=(this.offY-this.border-this.settings.margins*this.rows)/this.rows,s=u*this.buildingRow.aspectRatio/h>this.settings.justifyThreshold?!0:!1)),e=0;e<this.buildingRow.entriesBuff.length;e++)i=this.buildingRow.entriesBuff[e],n=i.data("jg.width")/i.data("jg.height"),s?(o=e===this.buildingRow.entriesBuff.length-1?h:l*n,r=l):(o=u*n,r=u),h-=Math.round(o),i.data("jg.jwidth",Math.round(o)),i.data("jg.jheight",Math.ceil(r)),(0===e||a>r)&&(a=r);return this.settings.fixedHeight&&a>this.settings.rowHeight&&(a=this.settings.rowHeight),this.buildingRow.height=a,s},e.prototype.clearBuildingRow=function(){this.buildingRow.entriesBuff=[],this.buildingRow.aspectRatio=0,this.buildingRow.width=0},e.prototype.flushRow=function(t){var e=this.settings,i,n,o=this.border,r;if(n=this.prepareBuildingRow(t),t&&"hide"===e.lastRow&&-1===n)return void this.clearBuildingRow();if(this.maxRowHeight.isPercentage?this.maxRowHeight.value*e.rowHeight<this.buildingRow.height&&(this.buildingRow.height=this.maxRowHeight.value*e.rowHeight):this.maxRowHeight.value>0&&this.maxRowHeight.value<this.buildingRow.height&&(this.buildingRow.height=this.maxRowHeight.value),"center"===e.lastRow||"right"===e.lastRow){var s=this.galleryWidth-2*this.border-(this.buildingRow.entriesBuff.length-1)*e.margins;for(r=0;r<this.buildingRow.entriesBuff.length;r++)i=this.buildingRow.entriesBuff[r],s-=i.data("jg.jwidth");"center"===e.lastRow?o+=s/2:"right"===e.lastRow&&(o+=s)}for(r=0;r<this.buildingRow.entriesBuff.length;r++)i=this.buildingRow.entriesBuff[r],this.displayEntry(i,o,this.offY,i.data("jg.jwidth"),i.data("jg.jheight"),this.buildingRow.height),o+=i.data("jg.jwidth")+e.margins;this.galleryHeightToSet=this.offY+this.buildingRow.height+this.border,this.$gallery.height(this.galleryHeightToSet+this.getSpinnerHeight()),(!t||this.buildingRow.height<=e.rowHeight&&n)&&(this.offY+=this.buildingRow.height+e.margins,this.rows+=1,this.clearBuildingRow(),this.$gallery.trigger("jg.rowflush"))};var i=!1;e.prototype.checkWidth=function(){this.checkWidthIntervalId=setInterval($.proxy(function(){var e=parseFloat(this.$gallery.width());t()===i?Math.abs(e-this.galleryWidth)>this.settings.refreshSensitivity&&(this.galleryWidth=e,this.rewind(),this.startImgAnalyzer(!0)):(i=t(),this.galleryWidth=e)},this),this.settings.refreshTime)},e.prototype.isSpinnerActive=function(){return null!==this.spinner.intervalId},e.prototype.getSpinnerHeight=function(){return this.spinner.$el.innerHeight()},e.prototype.stopLoadingSpinnerAnimation=function(){clearInterval(this.spinner.intervalId),this.spinner.intervalId=null,this.$gallery.height(this.$gallery.height()-this.getSpinnerHeight()),this.spinner.$el.detach()},e.prototype.startLoadingSpinnerAnimation=function(){var t=this.spinner,e=t.$el.find("span");clearInterval(t.intervalId),this.$gallery.append(t.$el),this.$gallery.height(this.offY+this.buildingRow.height+this.getSpinnerHeight()),t.intervalId=setInterval(function(){t.phase<e.length?e.eq(t.phase).fadeTo(t.timeSlot,1):e.eq(t.phase-e.length).fadeTo(t.timeSlot,0),t.phase=(t.phase+1)%(2*e.length)},t.timeSlot)},e.prototype.rewind=function(){this.lastAnalyzedIndex=-1,this.offY=this.border,this.rows=0,this.clearBuildingRow()},e.prototype.updateEntries=function(t){return this.entries=this.$gallery.find(this.settings.selector).toArray(),0===this.entries.length?!1:(this.settings.filter?this.modifyEntries(this.filterArray,t):this.modifyEntries(this.resetFilters,t),$.isFunction(this.settings.sort)?this.modifyEntries(this.sortArray,t):this.settings.randomize&&this.modifyEntries(this.shuffleArray,t),!0)},e.prototype.insertToGallery=function(t){var e=this;$.each(t,function(){$(this).appendTo(e.$gallery)})},e.prototype.shuffleArray=function(t){var e,i,n;for(e=t.length-1;e>0;e--)i=Math.floor(Math.random()*(e+1)),n=t[e],t[e]=t[i],t[i]=n;return this.insertToGallery(t),t},e.prototype.sortArray=function(t){return t.sort(this.settings.sort),this.insertToGallery(t),t},e.prototype.resetFilters=function(t){for(var e=0;e<t.length;e++)$(t[e]).removeClass("jg-filtered");return t},e.prototype.filterArray=function(t){var e=this.settings;return"string"===$.type(e.filter)?t.filter(function(t){var i=$(t);return i.is(e.filter)?(i.removeClass("jg-filtered"),!0):(i.addClass("jg-filtered"),!1)}):$.isFunction(e.filter)?t.filter(e.filter):void 0},e.prototype.modifyEntries=function(t,e){var i=e?this.entries.splice(this.lastAnalyzedIndex+1,this.entries.length-this.lastAnalyzedIndex-1):this.entries;i=t.call(this,i),this.entries=e?this.entries.concat(i):i},e.prototype.destroy=function(){clearInterval(this.checkWidthIntervalId),$.each(this.entries,$.proxy(function(t,e){var i=$(e);i.css("width",""),i.css("height",""),i.css("top",""),i.css("left",""),i.data("jg.loaded",void 0),i.removeClass("jg-entry");var n=this.imgFromEntry(i);n.css("width",""),n.css("height",""),n.css("margin-left",""),n.css("margin-top",""),n.attr("src",n.data("jg.originalSrc")),n.data("jg.originalSrc",void 0),this.removeCaptionEventsHandlers(i);var o=this.captionFromEntry(i);i.data("jg.createdCaption")?(i.data("jg.createdCaption",void 0),null!==o&&o.remove()):null!==o&&o.fadeTo(0,1)},this)),this.$gallery.css("height",""),this.$gallery.removeClass("justified-gallery"),this.$gallery.data("jg.controller",void 0)},e.prototype.analyzeImages=function(t){for(var e=this.lastAnalyzedIndex+1;e<this.entries.length;e++){var i=$(this.entries[e]);if(i.data("jg.loaded")===!0||"skipped"===i.data("jg.loaded")){var n=this.galleryWidth-2*this.border-(this.buildingRow.entriesBuff.length-1)*this.settings.margins,o=i.data("jg.width")/i.data("jg.height");if(n/(this.buildingRow.aspectRatio+o)<this.settings.rowHeight&&(this.flushRow(!1),++this["yield"].flushed>=this["yield"].every))return void this.startImgAnalyzer(t);this.buildingRow.entriesBuff.push(i),this.buildingRow.aspectRatio+=o,this.buildingRow.width+=o*this.settings.rowHeight,this.lastAnalyzedIndex=e}else if("error"!==i.data("jg.loaded"))return}this.buildingRow.entriesBuff.length>0&&this.flushRow(!0),this.isSpinnerActive()&&this.stopLoadingSpinnerAnimation(),this.stopImgAnalyzerStarter(),this.$gallery.trigger(t?"jg.resize":"jg.complete"),this.$gallery.height(this.galleryHeightToSet)},e.prototype.stopImgAnalyzerStarter=function(){this["yield"].flushed=0,null!==this.imgAnalyzerTimeout&&clearTimeout(this.imgAnalyzerTimeout)},e.prototype.startImgAnalyzer=function(t){var e=this;this.stopImgAnalyzerStarter(),this.imgAnalyzerTimeout=setTimeout(function(){e.analyzeImages(t)},.001)},e.prototype.onImageEvent=function(t,e,i){if(e||i){var n=new Image,o=$(n);e&&o.one("load",function(){o.off("load error"),e(n)}),i&&o.one("error",function(){o.off("load error"),i(n)}),n.src=t}},e.prototype.init=function(){var t=!1,e=!1,i=this;$.each(this.entries,function(n,o){var r=$(o),s=i.imgFromEntry(r);if(r.addClass("jg-entry"),r.data("jg.loaded")!==!0&&"skipped"!==r.data("jg.loaded"))if(null!==i.settings.rel&&r.attr("rel",i.settings.rel),null!==i.settings.target&&r.attr("target",i.settings.target),null!==s){var a=i.extractImgSrcFromImage(s);if(s.attr("src",a),i.settings.waitThumbnailsLoad===!1){var h=parseFloat(s.attr("width")),l=parseFloat(s.attr("height"));if(!isNaN(h)&&!isNaN(l))return r.data("jg.width",h),r.data("jg.height",l),r.data("jg.loaded","skipped"),e=!0,i.startImgAnalyzer(!1),!0}r.data("jg.loaded",!1),t=!0,i.isSpinnerActive()||i.startLoadingSpinnerAnimation(),i.onImageEvent(a,function(t){r.data("jg.width",r.find(".envira-gallery-image").data("envira-width")),r.data("jg.height",r.find(".envira-gallery-image").data("envira-height")),r.data("jg.loaded",!0),i.startImgAnalyzer(!1)},function(){r.data("jg.loaded","error"),i.startImgAnalyzer(!1)})}else r.data("jg.loaded",!0),r.data("jg.width",r.width()|parseFloat(r.css("width"))|1),r.data("jg.height",r.height()|parseFloat(r.css("height"))|1)}),t||e||this.startImgAnalyzer(!1),this.checkWidth()},e.prototype.checkOrConvertNumber=function(t,e){if("string"===$.type(t[e])&&(t[e]=parseFloat(t[e])),"number"!==$.type(t[e]))throw e+" must be a number";if(isNaN(t[e]))throw"invalid number for "+e},e.prototype.checkSizeRangesSuffixes=function(){if("object"!==$.type(this.settings.sizeRangeSuffixes))throw"sizeRangeSuffixes must be defined and must be an object";var t=[];for(var e in this.settings.sizeRangeSuffixes)this.settings.sizeRangeSuffixes.hasOwnProperty(e)&&t.push(e);for(var i={0:""},n=0;n<t.length;n++)if("string"===$.type(t[n]))try{var o=parseInt(t[n].replace(/^[a-z]+/,""),10);i[o]=this.settings.sizeRangeSuffixes[t[n]]}catch(r){throw"sizeRangeSuffixes keys must contains correct numbers ("+r+")"}else i[t[n]]=this.settings.sizeRangeSuffixes[t[n]];this.settings.sizeRangeSuffixes=i},e.prototype.retrieveMaxRowHeight=function(){var t={};if("string"===$.type(this.settings.maxRowHeight))this.settings.maxRowHeight.match(/^[0-9]+%$/)?(t.value=parseFloat(this.settings.maxRowHeight.match(/^([0-9]+)%$/)[1])/100,t.isPercentage=!1):(t.value=parseFloat(this.settings.maxRowHeight),t.isPercentage=!0);else{if("number"!==$.type(this.settings.maxRowHeight))throw"maxRowHeight must be a number or a percentage";t.value=this.settings.maxRowHeight,t.isPercentage=!1}if(isNaN(t.value))throw"invalid number for maxRowHeight";return t.isPercentage?t.value<100&&(t.value=100):t.value>0&&t.value<this.settings.rowHeight&&(t.value=this.settings.rowHeight),t},e.prototype.checkSettings=function(){this.checkSizeRangesSuffixes(),this.checkOrConvertNumber(this.settings,"rowHeight"),this.checkOrConvertNumber(this.settings,"margins"),this.checkOrConvertNumber(this.settings,"border");var t=["justify","nojustify","left","center","right","hide"];if(-1===t.indexOf(this.settings.lastRow))throw"lastRow must be one of: "+t.join(", ");if(this.checkOrConvertNumber(this.settings,"justifyThreshold"),this.settings.justifyThreshold<0||this.settings.justifyThreshold>1)throw"justifyThreshold must be in the interval [0,1]";if("boolean"!==$.type(this.settings.cssAnimation))throw"cssAnimation must be a boolean";if("boolean"!==$.type(this.settings.captions))throw"captions must be a boolean";if(this.checkOrConvertNumber(this.settings.captionSettings,"animationDuration"),this.checkOrConvertNumber(this.settings.captionSettings,"visibleOpacity"),this.settings.captionSettings.visibleOpacity<0||this.settings.captionSettings.visibleOpacity>1)throw"captionSettings.visibleOpacity must be in the interval [0, 1]";if(this.checkOrConvertNumber(this.settings.captionSettings,"nonVisibleOpacity"),this.settings.captionSettings.nonVisibleOpacity<0||this.settings.captionSettings.nonVisibleOpacity>1)throw"captionSettings.nonVisibleOpacity must be in the interval [0, 1]";if("boolean"!==$.type(this.settings.fixedHeight))throw"fixedHeight must be a boolean";if(this.checkOrConvertNumber(this.settings,"imagesAnimationDuration"),this.checkOrConvertNumber(this.settings,"refreshTime"),this.checkOrConvertNumber(this.settings,"refreshSensitivity"),"boolean"!==$.type(this.settings.randomize))throw"randomize must be a boolean";if("string"!==$.type(this.settings.selector))throw"selector must be a string";if(this.settings.sort!==!1&&!$.isFunction(this.settings.sort))throw"sort must be false or a comparison function";if(this.settings.filter!==!1&&!$.isFunction(this.settings.filter)&&"string"!==$.type(this.settings.filter))throw"filter must be false, a string or a filter function"},e.prototype.retrieveSuffixRanges=function(){var t=[];for(var e in this.settings.sizeRangeSuffixes)this.settings.sizeRangeSuffixes.hasOwnProperty(e)&&t.push(parseInt(e,10));return t.sort(function(t,e){return t>e?1:e>t?-1:0}),t},e.prototype.updateSettings=function(t){this.settings=$.extend({},this.settings,t),this.checkSettings(),this.border=this.settings.border>=0?this.settings.border:this.settings.margins,this.maxRowHeight=this.retrieveMaxRowHeight(),this.suffixRanges=this.retrieveSuffixRanges()},$.fn.justifiedGallery=function(t){return this.each(function(i,n){var o=$(n);o.addClass("justified-gallery");var r=o.data("jg.controller");if("undefined"==typeof r){if("undefined"!=typeof t&&null!==t&&"object"!==$.type(t)){if("destroy"===t)return;throw"The argument must be an object"}r=new e(o,$.extend({},$.fn.justifiedGallery.defaults,t)),o.data("jg.controller",r)}else if("norewind"===t);else{if("destroy"===t)return void r.destroy();r.updateSettings(t),r.rewind()}r.updateEntries("norewind"===t)&&r.init()})},$.fn.justifiedGallery.defaults={sizeRangeSuffixes:{},thumbnailPath:void 0,rowHeight:120,maxRowHeight:-1,margins:1,border:-1,lastRow:"nojustify",justifyThreshold:.9,fixedHeight:!1,waitThumbnailsLoad:!0,captions:!0,cssAnimation:!1,imagesAnimationDuration:500,captionSettings:{animationDuration:500,visibleOpacity:.7,nonVisibleOpacity:0},rel:null,target:null,extension:/\.[^.\\/]+$/,refreshTime:200,refreshSensitivity:0,randomize:!1,sort:!1,filter:!1,selector:"> a, > div:not(.spinner)"}}(jQuery),function($){var t=$.fn.justifiedGallery,e={};$.fn.enviraJustifiedGallery=function(){var i=t.apply(this,arguments);return e=i.data("jg.controller"),void 0!==e?(e.displayEntryCaption=function(t){var e=this.imgFromEntry(t);if(null!==e&&this.settings.captions){var i=this.captionFromEntry(t);if(null===i){var n=e.data("envira-caption");n=n.replace("<","&lt;"),this.isValidCaption(n)&&(i=$('<div class="caption">'+n+"</div>"),t.append(i),t.data("jg.createdCaption",!0))}null!==i&&(this.settings.cssAnimation||i.stop().fadeTo(0,this.settings.captionSettings.nonVisibleOpacity),this.addCaptionEventsHandlers(t))}else this.removeCaptionEventsHandlers(t)},e):void 0}}(jQuery),/*!
2
  * vintageJS
3
  * Add a retro/vintage effect to images using the HTML5 canvas element
4
  *
6
  * @author Robert Fleischmann <rendro87@gmail.com>
7
  * @version 1.1.5
8
  */
9
+ !function(t,e){"function"==typeof define&&define.amd?define("vintagejs",["jquery"],function(i){return t.VintageJS=e(i)}):"object"==typeof exports?module.exports=e(require("jquery")):t.VintageJS=e(jQuery)}(this,function(t){var e=function(t,e,i){if(0==t instanceof HTMLImageElement)throw"The element (1st parameter) must be an instance of HTMLImageElement";var n,o,r,s,a,h,l,u,d,c=new Image,f=new Image,g=document.createElement("canvas"),p=g.getContext("2d"),m={onStart:function(){},onStop:function(){},onError:function(){},mime:"image/jpeg"},v={curves:!1,screen:!1,desaturate:!1,vignette:!1,lighten:!1,noise:!1,viewFinder:!1,sepia:!1,brightness:!1,contrast:!1};c.onerror=m.onError,c.onload=function(){h=g.width=c.width,l=g.height=c.height,n()},f.onerror=m.onError,f.onload=function(){p.clearRect(0,0,h,l),p.drawImage(f,0,0,h,l),(window.vjsImageCache||(window.vjsImageCache={}))[d]=p.getImageData(0,0,h,l).data,n()},o=function(t){m.onStart(),u={};for(var e in v)u[e]=t[e]||v[e];s=[],u.viewFinder&&s.push(u.viewFinder),c.src==a?n():c.src=a},n=function(){if(0===s.length)return r();var t=s.pop();return d=[h,l,t].join("-"),window.vjsImageCache&&window.vjsImageCache[d]?n():void(f.src=t)},r=function(){var e,i,n;p.clearRect(0,0,h,l),p.drawImage(c,0,0,h,l),(u.vignette||u.lighten)&&(e=Math.sqrt(Math.pow(h/2,2)+Math.pow(l/2,2))),u.vignette&&(p.globalCompositeOperation="source-over",i=p.createRadialGradient(h/2,l/2,0,h/2,l/2,e),i.addColorStop(0,"rgba(0,0,0,0)"),i.addColorStop(.5,"rgba(0,0,0,0)"),i.addColorStop(1,["rgba(0,0,0,",u.vignette,")"].join("")),p.fillStyle=i,p.fillRect(0,0,h,l)),u.lighten&&(p.globalCompositeOperation="lighter",i=p.createRadialGradient(h/2,l/2,0,h/2,l/2,e),i.addColorStop(0,["rgba(255,255,255,",u.lighten,")"].join("")),i.addColorStop(.5,"rgba(255,255,255,0)"),i.addColorStop(1,"rgba(0,0,0,0)"),p.fillStyle=i,p.fillRect(0,0,h,l)),n=p.getImageData(0,0,h,l);var o,r,s,a,d,f,g,v,y,w=n.data;u.contrast&&(y=259*(u.contrast+255)/(255*(259-u.contrast))),u.viewFinder&&(v=window.vjsImageCache[[h,l,u.viewFinder].join("-")]);for(var b=h*l;b>=0;--b)for(o=b<<2,u.curves&&(w[o]=u.curves.r[w[o]],w[o+1]=u.curves.g[w[o+1]],w[o+2]=u.curves.b[w[o+2]]),u.contrast&&(w[o]=y*(w[o]-128)+128,w[o+1]=y*(w[o+1]-128)+128,w[o+2]=y*(w[o+2]-128)+128),u.brightness&&(w[o]+=u.brightness,w[o+1]+=u.brightness,w[o+2]+=u.brightness),u.screen&&(w[o]=255-(255-w[o])*(255-u.screen.r*u.screen.a)/255,w[o+1]=255-(255-w[o+1])*(255-u.screen.g*u.screen.a)/255,w[o+2]=255-(255-w[o+2])*(255-u.screen.b*u.screen.a)/255),u.noise&&(g=u.noise-Math.random()*u.noise/2,w[o]+=g,w[o+1]+=g,w[o+2]+=g),u.viewFinder&&(w[o]=w[o]*v[o]/255,w[o+1]=w[o+1]*v[o+1]/255,w[o+2]=w[o+2]*v[o+2]/255),u.sepia&&(s=w[o],a=w[o+1],d=w[o+2],w[o]=.393*s+.769*a+.189*d,w[o+1]=.349*s+.686*a+.168*d,w[o+2]=.272*s+.534*a+.131*d),u.desaturate&&(f=(w[o]+w[o+1]+w[o+2])/3,w[o]+=(f-w[o])*u.desaturate,w[o+1]+=(f-w[o+1])*u.desaturate,w[o+2]+=(f-w[o+2])*u.desaturate),r=2;r>=0;--r)w[o+r]=~~(w[o+r]>255?255:w[o+r]<0?0:w[o+r]);p.putImageData(n,0,0),t.src=p.canvas.toDataURL(m.mime),m.onStop()},a=t.src,e=e||{};for(var y in m)m[y]=e[y]||m[y];return i&&o(i),{apply:function(){a=t.src},reset:function(){t.src=a},vintage:o}};return t.fn.vintage=function(i,n){return this.each(function(){t.data(this,"vintageJS")||t.data(this,"vintageJS",new e(this,i,n))})},e});var mul_table=[1,57,41,21,203,34,97,73,227,91,149,62,105,45,39,137,241,107,3,173,39,71,65,238,219,101,187,87,81,151,141,133,249,117,221,209,197,187,177,169,5,153,73,139,133,127,243,233,223,107,103,99,191,23,177,171,165,159,77,149,9,139,135,131,253,245,119,231,224,109,211,103,25,195,189,23,45,175,171,83,81,79,155,151,147,9,141,137,67,131,129,251,123,30,235,115,113,221,217,53,13,51,50,49,193,189,185,91,179,175,43,169,83,163,5,79,155,19,75,147,145,143,35,69,17,67,33,65,255,251,247,243,239,59,29,229,113,111,219,27,213,105,207,51,201,199,49,193,191,47,93,183,181,179,11,87,43,85,167,165,163,161,159,157,155,77,19,75,37,73,145,143,141,35,138,137,135,67,33,131,129,255,63,250,247,61,121,239,237,117,29,229,227,225,111,55,109,216,213,211,209,207,205,203,201,199,197,195,193,48,190,47,93,185,183,181,179,178,176,175,173,171,85,21,167,165,41,163,161,5,79,157,78,154,153,19,75,149,74,147,73,144,143,71,141,140,139,137,17,135,134,133,66,131,65,129,1],shg_table=[0,9,10,10,14,12,14,14,16,15,16,15,16,15,15,17,18,17,12,18,16,17,17,19,19,18,19,18,18,19,19,19,20,19,20,20,20,20,20,20,15,20,19,20,20,20,21,21,21,20,20,20,21,18,21,21,21,21,20,21,17,21,21,21,22,22,21,22,22,21,22,21,19,22,22,19,20,22,22,21,21,21,22,22,22,18,22,22,21,22,22,23,22,20,23,22,22,23,23,21,19,21,21,21,23,23,23,22,23,23,21,23,22,23,18,22,23,20,22,23,23,23,21,22,20,22,21,22,24,24,24,24,24,22,21,24,23,23,24,21,24,23,24,22,24,24,22,24,24,22,23,24,24,24,20,23,22,23,24,24,24,24,24,24,24,23,21,23,22,23,24,24,24,22,24,24,24,23,22,24,24,25,23,25,25,23,24,25,25,24,22,25,25,25,24,23,24,25,25,25,25,25,25,25,25,25,25,25,25,23,25,23,24,25,25,25,25,25,25,25,25,25,24,22,25,25,23,25,25,20,24,25,24,25,25,22,24,25,24,25,24,25,25,24,25,25,25,25,22,25,25,25,24,25,24,25,18];if(jQuery(document).ready(function($){var t="ontouchstart"in document.documentElement;t&&$("body").addClass("envira-touch")}),function(t){"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],t):t(jQuery)}(function($){"use strict";function t(t){return!t||void 0!==t.allowPageScroll||void 0===t.swipe&&void 0===t.swipeStatus||(t.allowPageScroll=h),void 0!==t.click&&void 0===t.tap&&(t.tap=t.click),t||(t={}),t=$.extend({},$.fn.swipe.defaults,t),this.each(function(){var i=$(this),n=i.data(R);n||(n=new e(this,t),i.data(R,n))})}function e(t,e){function p(t){if(!(lt()||$(t.target).closest(e.excludedElements,Qt).length>0)){var i=t.originalEvent?t.originalEvent:t,n,o=E?i.touches[0]:i;return $t=b,E?Ut=i.touches.length:t.preventDefault(),Mt=0,Ht=null,Nt=null,kt=0,Wt=0,Ft=0,Bt=1,Pt=0,Yt=gt(),qt=vt(),at(),!E||Ut===e.fingers||e.fingers===y||N()?(dt(0,o),Gt=zt(),2==Ut&&(dt(1,i.touches[1]),Wt=Ft=bt(Yt[0].start,Yt[1].start)),(e.swipeStatus||e.pinchStatus)&&(n=D(i,$t))):n=!1,n===!1?($t=S,D(i,$t),n):(e.hold&&(te=setTimeout($.proxy(function(){Qt.trigger("hold",[i.target]),e.hold&&(n=e.hold.call(Qt,i,i.target))},this),e.longTapThreshold)),ut(!0),null)}}function T(t){var i=t.originalEvent?t.originalEvent:t;if($t!==I&&$t!==S&&!ht()){var n,o=E?i.touches[0]:i,r=ct(o);if(Vt=zt(),E&&(Ut=i.touches.length),e.hold&&clearTimeout(te),$t=x,2==Ut&&(0==Wt?(dt(1,i.touches[1]),Wt=Ft=bt(Yt[0].start,Yt[1].start)):(ct(i.touches[1]),Ft=bt(Yt[0].end,Yt[1].end),Nt=It(Yt[0].end,Yt[1].end)),Bt=xt(Wt,Ft),Pt=Math.abs(Wt-Ft)),Ut===e.fingers||e.fingers===y||!E||N()){if(Ht=_t(r.start,r.end),B(t,Ht),Mt=St(r.start,r.end),kt=wt(),pt(Ht,Mt),(e.swipeStatus||e.pinchStatus)&&(n=D(i,$t)),!e.triggerOnTouchEnd||e.triggerOnTouchLeave){var s=!0;if(e.triggerOnTouchLeave){var a=Rt(this);s=Tt(r.end,a)}!e.triggerOnTouchEnd&&s?$t=A(x):e.triggerOnTouchLeave&&!s&&($t=A(I)),($t==S||$t==I)&&D(i,$t)}}else $t=S,D(i,$t);n===!1&&($t=S,D(i,$t))}}function C(t){var i=t.originalEvent;return E&&i.touches.length>0?(st(),!0):(ht()&&(Ut=Jt),Vt=zt(),kt=wt(),k()||!H()?($t=S,D(i,$t)):e.triggerOnTouchEnd||0==e.triggerOnTouchEnd&&$t===x?(t.preventDefault(),$t=I,D(i,$t)):!e.triggerOnTouchEnd&&X()?($t=I,M(i,$t,c)):$t===x&&($t=S,D(i,$t)),ut(!1),null)}function j(){Ut=0,Vt=0,Gt=0,Wt=0,Ft=0,Bt=1,at(),ut(!1)}function O(t){var i=t.originalEvent;e.triggerOnTouchLeave&&($t=A(I),D(i,$t))}function L(){Qt.unbind(jt,p),Qt.unbind(Dt,j),Qt.unbind(Ot,T),Qt.unbind(Lt,C),At&&Qt.unbind(At,O),ut(!1)}function A(t){var i=t,n=F(),o=H(),r=k();return!n||r?i=S:!o||t!=x||e.triggerOnTouchEnd&&!e.triggerOnTouchLeave?!o&&t==I&&e.triggerOnTouchLeave&&(i=S):i=I,i}function D(t,e){var i=void 0;return Y()||U()?i=M(t,e,u):(q()||N())&&i!==!1&&(i=M(t,e,d)),ot()&&i!==!1?i=M(t,e,f):rt()&&i!==!1?i=M(t,e,g):nt()&&i!==!1&&(i=M(t,e,c)),e===S&&j(t),e===I&&(E?0==t.touches.length&&j(t):j(t)),i}function M(t,h,l){var p=void 0;if(l==u){if(Qt.trigger("swipeStatus",[h,Ht||null,Mt||0,kt||0,Ut,Yt]),e.swipeStatus&&(p=e.swipeStatus.call(Qt,t,h,Ht||null,Mt||0,kt||0,Ut,Yt),p===!1))return!1;if(h==I&&Q()){if(Qt.trigger("swipe",[Ht,Mt,kt,Ut,Yt]),e.swipe&&(p=e.swipe.call(Qt,t,Ht,Mt,kt,Ut,Yt),p===!1))return!1;switch(Ht){case i:Qt.trigger("swipeLeft",[Ht,Mt,kt,Ut,Yt]),e.swipeLeft&&(p=e.swipeLeft.call(Qt,t,Ht,Mt,kt,Ut,Yt));break;case n:Qt.trigger("swipeRight",[Ht,Mt,kt,Ut,Yt]),e.swipeRight&&(p=e.swipeRight.call(Qt,t,Ht,Mt,kt,Ut,Yt));break;case o:Qt.trigger("swipeUp",[Ht,Mt,kt,Ut,Yt]),e.swipeUp&&(p=e.swipeUp.call(Qt,t,Ht,Mt,kt,Ut,Yt));break;case r:Qt.trigger("swipeDown",[Ht,Mt,kt,Ut,Yt]),e.swipeDown&&(p=e.swipeDown.call(Qt,t,Ht,Mt,kt,Ut,Yt))}}}if(l==d){if(Qt.trigger("pinchStatus",[h,Nt||null,Pt||0,kt||0,Ut,Bt,Yt]),e.pinchStatus&&(p=e.pinchStatus.call(Qt,t,h,Nt||null,Pt||0,kt||0,Ut,Bt,Yt),p===!1))return!1;if(h==I&&P())switch(Nt){case s:Qt.trigger("pinchIn",[Nt||null,Pt||0,kt||0,Ut,Bt,Yt]),e.pinchIn&&(p=e.pinchIn.call(Qt,t,Nt||null,Pt||0,kt||0,Ut,Bt,Yt));break;case a:Qt.trigger("pinchOut",[Nt||null,Pt||0,kt||0,Ut,Bt,Yt]),e.pinchOut&&(p=e.pinchOut.call(Qt,t,Nt||null,Pt||0,kt||0,Ut,Bt,Yt))}}return l==c?(h===S||h===I)&&(clearTimeout(Kt),clearTimeout(te),J()&&!tt()?(Zt=zt(),Kt=setTimeout($.proxy(function(){Zt=null,Qt.trigger("tap",[t.target]),e.tap&&(p=e.tap.call(Qt,t,t.target))},this),e.doubleTapThreshold)):(Zt=null,Qt.trigger("tap",[t.target]),e.tap&&(p=e.tap.call(Qt,t,t.target)))):l==f?(h===S||h===I)&&(clearTimeout(Kt),Zt=null,Qt.trigger("doubletap",[t.target]),e.doubleTap&&(p=e.doubleTap.call(Qt,t,t.target))):l==g&&(h===S||h===I)&&(clearTimeout(Kt),Zt=null,Qt.trigger("longtap",[t.target]),e.longTap&&(p=e.longTap.call(Qt,t,t.target))),p}function H(){var t=!0;return null!==e.threshold&&(t=Mt>=e.threshold),t}function k(){var t=!1;return null!==e.cancelThreshold&&null!==Ht&&(t=mt(Ht)-Mt>=e.cancelThreshold),t}function W(){return null!==e.pinchThreshold?Pt>=e.pinchThreshold:!0}function F(){var t;return t=e.maxTimeThreshold&&kt>=e.maxTimeThreshold?!1:!0}function B(t,s){if(e.allowPageScroll===h||N())t.preventDefault();else{var a=e.allowPageScroll===l;switch(s){case i:(e.swipeLeft&&a||!a&&e.allowPageScroll!=m)&&t.preventDefault();break;case n:(e.swipeRight&&a||!a&&e.allowPageScroll!=m)&&t.preventDefault();break;case o:(e.swipeUp&&a||!a&&e.allowPageScroll!=v)&&t.preventDefault();break;case r:(e.swipeDown&&a||!a&&e.allowPageScroll!=v)&&t.preventDefault()}}}function P(){var t=G(),e=V(),i=W();return t&&e&&i}function N(){return!!(e.pinchStatus||e.pinchIn||e.pinchOut)}function q(){return!(!P()||!N())}function Q(){var t=F(),e=H(),i=G(),n=V(),o=k(),r=!o&&n&&i&&e&&t;return r}function U(){return!!(e.swipe||e.swipeStatus||e.swipeLeft||e.swipeRight||e.swipeUp||e.swipeDown)}function Y(){return!(!Q()||!U())}function G(){return Ut===e.fingers||e.fingers===y||!E}function V(){return 0!==Yt[0].end.x}function X(){return!!e.tap}function J(){return!!e.doubleTap}function Z(){return!!e.longTap}function K(){if(null==Zt)return!1;var t=zt();return J()&&t-Zt<=e.doubleTapThreshold}function tt(){return K()}function et(){return(1===Ut||!E)&&(isNaN(Mt)||Mt<e.threshold)}function it(){return kt>e.longTapThreshold&&w>Mt}function nt(){return!(!et()||!X())}function ot(){return!(!K()||!J())}function rt(){return!(!it()||!Z())}function st(){Xt=zt(),Jt=event.touches.length+1}function at(){Xt=0,Jt=0}function ht(){var t=!1;if(Xt){var i=zt()-Xt;i<=e.fingerReleaseThreshold&&(t=!0)}return t}function lt(){return!(Qt.data(R+"_intouch")!==!0)}function ut(t){t===!0?(Qt.bind(Ot,T),Qt.bind(Lt,C),At&&Qt.bind(At,O)):(Qt.unbind(Ot,T,!1),Qt.unbind(Lt,C,!1),At&&Qt.unbind(At,O,!1)),Qt.data(R+"_intouch",t===!0)}function dt(t,e){var i=void 0!==e.identifier?e.identifier:0;return Yt[t].identifier=i,Yt[t].start.x=Yt[t].end.x=e.pageX||e.clientX,Yt[t].start.y=Yt[t].end.y=e.pageY||e.clientY,Yt[t]}function ct(t){var e=void 0!==t.identifier?t.identifier:0,i=ft(e);return i.end.x=t.pageX||t.clientX,i.end.y=t.pageY||t.clientY,i}function ft(t){for(var e=0;e<Yt.length;e++)if(Yt[e].identifier==t)return Yt[e]}function gt(){for(var t=[],e=0;5>=e;e++)t.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0});return t}function pt(t,e){e=Math.max(e,mt(t)),qt[t].distance=e}function mt(t){return qt[t]?qt[t].distance:void 0}function vt(){var t={};return t[i]=yt(i),t[n]=yt(n),t[o]=yt(o),t[r]=yt(r),t}function yt(t){return{direction:t,distance:0}}function wt(){return Vt-Gt}function bt(t,e){var i=Math.abs(t.x-e.x),n=Math.abs(t.y-e.y);return Math.round(Math.sqrt(i*i+n*n))}function xt(t,e){var i=e/t*1;return i.toFixed(2)}function It(){return 1>Bt?a:s}function St(t,e){return Math.round(Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)))}function Et(t,e){var i=t.x-e.x,n=e.y-t.y,o=Math.atan2(n,i),r=Math.round(180*o/Math.PI);return 0>r&&(r=360-Math.abs(r)),r}function _t(t,e){var s=Et(t,e);return 45>=s&&s>=0?i:360>=s&&s>=315?i:s>=135&&225>=s?n:s>45&&135>s?r:o}function zt(){var t=new Date;return t.getTime()}function Rt(t){t=$(t);var e=t.offset(),i={left:e.left,right:e.left+t.outerWidth(),top:e.top,bottom:e.top+t.outerHeight()};return i}function Tt(t,e){return t.x>e.left&&t.x<e.right&&t.y>e.top&&t.y<e.bottom}var Ct=E||z||!e.fallbackToMouseEvents,jt=Ct?z?_?"MSPointerDown":"pointerdown":"touchstart":"mousedown",Ot=Ct?z?_?"MSPointerMove":"pointermove":"touchmove":"mousemove",Lt=Ct?z?_?"MSPointerUp":"pointerup":"touchend":"mouseup",At=Ct?null:"mouseleave",Dt=z?_?"MSPointerCancel":"pointercancel":"touchcancel",Mt=0,Ht=null,kt=0,Wt=0,Ft=0,Bt=1,Pt=0,Nt=0,qt=null,Qt=$(t),$t="start",Ut=0,Yt=null,Gt=0,Vt=0,Xt=0,Jt=0,Zt=0,Kt=null,te=null;try{Qt.bind(jt,p),Qt.bind(Dt,j)}catch(ee){$.error("events not supported "+jt+","+Dt+" on jQuery.swipe")}this.enable=function(){return Qt.bind(jt,p),Qt.bind(Dt,j),Qt},this.disable=function(){return L(),Qt},this.destroy=function(){L(),Qt.data(R,null),Qt=null},this.option=function(t,i){if(void 0!==e[t]){if(void 0===i)return e[t];e[t]=i}else $.error("Option "+t+" does not exist on jQuery.swipe.options");return null}}var i="left",n="right",o="up",r="down",s="in",a="out",h="none",l="auto",u="swipe",d="pinch",c="tap",f="doubletap",g="longtap",p="hold",m="horizontal",v="vertical",y="all",w=10,b="start",x="move",I="end",S="cancel",E="ontouchstart"in window,_=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,z=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,R="TouchSwipe",T={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:"label, button, input, select, textarea, a, .noSwipe"};$.fn.swipe=function(e){var i=$(this),n=i.data(R);if(n&&"string"==typeof e){if(n[e])return n[e].apply(this,Array.prototype.slice.call(arguments,1));$.error("Method "+e+" does not exist on jQuery.swipe")}else if(!(n||"object"!=typeof e&&e))return t.apply(this,arguments);return i},$.fn.swipe.defaults=T,$.fn.swipe.phases={PHASE_START:b,PHASE_MOVE:x,PHASE_END:I,PHASE_CANCEL:S},$.fn.swipe.directions={LEFT:i,RIGHT:n,UP:o,DOWN:r,IN:s,OUT:a},$.fn.swipe.pageScroll={NONE:h,HORIZONTAL:m,VERTICAL:v,AUTO:l},$.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,ALL:y}}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t:t(jQuery)}(function($){function t(t){var n=t||window.event,o=r.call(arguments,1),h=0,u=0,d=0,c=0,f=0,g=0;if(t=$.event.fix(n),t.type="mousewheel","detail"in n&&(d=-1*n.detail),"wheelDelta"in n&&(d=n.wheelDelta),"wheelDeltaY"in n&&(d=n.wheelDeltaY),"wheelDeltaX"in n&&(u=-1*n.wheelDeltaX),"axis"in n&&n.axis===n.HORIZONTAL_AXIS&&(u=-1*d,d=0),h=0===d?u:d,"deltaY"in n&&(d=-1*n.deltaY,h=d),"deltaX"in n&&(u=n.deltaX,0===d&&(h=-1*u)),0!==d||0!==u){if(1===n.deltaMode){var p=$.data(this,"mousewheel-line-height");h*=p,d*=p,u*=p}else if(2===n.deltaMode){var m=$.data(this,"mousewheel-page-height");h*=m,d*=m,u*=m}if(c=Math.max(Math.abs(d),Math.abs(u)),(!a||a>c)&&(a=c,i(n,c)&&(a/=40)),i(n,c)&&(h/=40,u/=40,d/=40),h=Math[h>=1?"floor":"ceil"](h/a),u=Math[u>=1?"floor":"ceil"](u/a),d=Math[d>=1?"floor":"ceil"](d/a),l.settings.normalizeOffset&&this.getBoundingClientRect){var v=this.getBoundingClientRect();f=t.clientX-v.left,g=t.clientY-v.top}return t.deltaX=u,t.deltaY=d,t.deltaFactor=a,t.offsetX=f,t.offsetY=g,t.deltaMode=0,o.unshift(t,h,u,d),s&&clearTimeout(s),s=setTimeout(e,200),($.event.dispatch||$.event.handle).apply(this,o)}}function e(){a=null}function i(t,e){return l.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120===0}var n=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],o="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],r=Array.prototype.slice,s,a;if($.event.fixHooks)for(var h=n.length;h;)$.event.fixHooks[n[--h]]=$.event.mouseHooks;var l=$.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=o.length;e;)this.addEventListener(o[--e],t,!1);else this.onmousewheel=t;$.data(this,"mousewheel-line-height",l.getLineHeight(this)),$.data(this,"mousewheel-page-height",l.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=o.length;e;)this.removeEventListener(o[--e],t,!1);else this.onmousewheel=null;$.removeData(this,"mousewheel-line-height"),$.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var e=$(t),i=e["offsetParent"in $.fn?"offsetParent":"parent"]();return i.length||(i=$("body")),parseInt(i.css("fontSize"),10)||parseInt(e.css("fontSize"),10)||16},getPageHeight:function(t){return $(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};$.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}(this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},n=i[t]=i[t]||[];return n[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=0,o=i[n];e=e||[];for(var r=this._onceEvents&&this._onceEvents[t];o;){var s=r&&r[o];s&&(this.off(t,o),delete r[o]),o.apply(this,e),n+=s?0:1,o=i[n]}return this}},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.enviraImagesLoaded=e(t,t.EvEmitter)}(window,function t(e,i){function n(t,e){for(var i in e)t[i]=e[i];return t}function o(t){var e=[];if(Array.isArray(t))e=t;else if("number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e}function r(t,e,i){return this instanceof r?("string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=o(t),this.options=n({},this.options),"function"==typeof e?i=e:n(this.options,e),i&&this.on("always",i),this.getImages(),$&&(this.jqDeferred=new $.Deferred),void setTimeout(function(){this.check()}.bind(this))):new r(t,e,i)}function s(t){this.img=t}function a(t,e){this.url=t,this.element=e,this.img=new Image}var $=e.jQuery,h=e.console;r.prototype=Object.create(i.prototype),r.prototype.options={},r.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},r.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),this.options.background===!0&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&l[e]){for(var i=t.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var r=t.querySelectorAll(this.options.background);for(n=0;n<r.length;n++){var s=r[n];this.addElementBackgroundImages(s)}}}};var l={1:!0,9:!0,11:!0};return r.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,t),n=i.exec(e.backgroundImage)}},r.prototype.addImage=function(t){var e=new s(t);this.images.push(e)},r.prototype.addBackground=function(t,e){var i=new a(t,e);this.images.push(i)},r.prototype.check=function(){function t(t,i,n){setTimeout(function(){e.progress(t,i,n)})}var e=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(e){e.once("progress",t),e.check()}):void this.complete()},r.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&h&&h.log("progress: "+i,t,e)},r.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},s.prototype=Object.create(i.prototype),s.prototype.check=function(){var t=this.getIsImageComplete();return t?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},s.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},s.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},s.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},s.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},s.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},s.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},a.prototype=Object.create(s.prototype),a.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url;var t=this.getIsImageComplete();t&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},a.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},a.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},r.makeJQueryPlugin=function(t){t=t||e.jQuery,t&&($=t,$.fn.enviraImagesLoaded=function(t,e){var i=new r(this,t,e);return i.jqDeferred.promise($(this))})},r.makeJQueryPlugin(),r}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function e(t,i){"use strict";function n(e,n,$){function s(t,i,n){var o,r="$()."+e+'("'+i+'")';return t.each(function(t,s){var h=$.data(s,e);if(!h)return void a(e+" not initialized. Cannot call methods, i.e. "+r);var l=h[i];if(!l||"_"==i.charAt(0))return void a(r+" is not a valid method");var u=l.apply(h,n);o=void 0===o?u:o}),void 0!==o?o:t}function h(t,i){t.each(function(t,o){var r=$.data(o,e);r?(r.option(i),r._init()):(r=new n(o,i),$.data(o,e,r))})}$=$||i||t.jQuery,$&&(n.prototype.option||(n.prototype.option=function(t){$.isPlainObject(t)&&(this.options=$.extend(!0,this.options,t))}),$.fn[e]=function(t){if("string"==typeof t){var e=r.call(arguments,1);return s(this,t,e)}return h(this,t),this},o($))}function o($){!$||$&&$.bridget||($.bridget=n)}var r=Array.prototype.slice,s=t.console,a="undefined"==typeof s?function(){}:function(t){s.error(t)};return o(i||t.jQuery),n}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}(this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},n=i[t]=i[t]||{};return n[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=0,o=i[n];e=e||[];for(var r=this._onceEvents&&this._onceEvents[t];o;){var s=r&&r[o];s&&(this.off(t,o),delete r[o]),o.apply(this,e),n+=s?0:1,o=i[n]}return this}},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],function(){return e()}):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function i(){"use strict";function t(t){var e=parseFloat(t),i=-1==t.indexOf("%")&&!isNaN(e);return i&&e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;h>e;e++){var i=a[e];t[i]=0}return t}function n(t){var e=getComputedStyle(t);return e||s("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e}function o(){if(!l){l=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var o=n(e);r.isBoxSizeOuter=u=200==t(o.width),i.removeChild(e)}}function r(e){if(o(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var r=n(e);if("none"==r.display)return i();var s={};s.width=e.offsetWidth,s.height=e.offsetHeight;for(var l=s.isBorderBox="border-box"==r.boxSizing,d=0;h>d;d++){var c=a[d],f=r[c],g=parseFloat(f);s[c]=isNaN(g)?0:g}var p=s.paddingLeft+s.paddingRight,m=s.paddingTop+s.paddingBottom,v=s.marginLeft+s.marginRight,y=s.marginTop+s.marginBottom,w=s.borderLeftWidth+s.borderRightWidth,b=s.borderTopWidth+s.borderBottomWidth,x=l&&u,I=t(r.width);I!==!1&&(s.width=I+(x?0:p+w));var S=t(r.height);return S!==!1&&(s.height=S+(x?0:m+b)),s.innerWidth=s.width-(p+w),s.innerHeight=s.height-(m+b),s.outerWidth=s.width+v,s.outerHeight=s.height+y,s}}var s="undefined"==typeof console?e:function(t){console.error(t)},a=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],h=a.length,l=!1,u;return r}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function n(){"use strict";var t=function(){var t=Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i],o=n+"MatchesSelector";if(t[o])return o}}();return function e(i,n){return i[t](n)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function o(t,e){var i={};i.extend=function(t,e){for(var i in e)t[i]=e[i];return t},i.modulo=function(t,e){return(t%e+e)%e},i.makeArray=function(t){var e=[];if(Array.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!n)return void o.push(t);e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),r=0;r<i.length;r++)o.push(i[r])}}),o},i.debounceMethod=function(t,e,i){var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];t&&clearTimeout(t);var e=arguments,r=this;this[o]=setTimeout(function(){n.apply(r,e),delete r[o]},i||100)}},i.docReady=function(t){"complete"==document.readyState?t():document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var n=t.console;return i.htmlInit=function(e,o){i.docReady(function(){var r=i.toDashed(o),s="data-"+r,a=document.querySelectorAll("["+s+"]"),h=document.querySelectorAll(".js-"+r),l=i.makeArray(a).concat(i.makeArray(h)),u=s+"-options",d=t.jQuery;l.forEach(function(t){var i=t.getAttribute(s)||t.getAttribute(u),r;try{r=i&&JSON.parse(i)}catch(a){return void(n&&n.error("Error parsing "+s+" on "+t.className+": "+a))}var h=new e(t,r);d&&d.data(t,o,h)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function r(t,e){"use strict";function i(t){for(var e in t)return!1;return e=null,!0}function n(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function o(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var r=document.documentElement.style,s="string"==typeof r.transition?"transition":"WebkitTransition",a="string"==typeof r.transform?"transform":"WebkitTransform",h={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[s],l={transform:a,transition:s,transitionDuration:s+"Duration",transitionProperty:s+"Property",transitionDelay:s+"Delay"},u=n.prototype=Object.create(t.prototype);u.constructor=n,u._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},u.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.getSize=function(){this.size=e(this.element)},u.css=function(t){var e=this.element.style;for(var i in t){var n=l[i]||i;e[n]=t[i]}},u.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],o=t[i?"top":"bottom"],r=this.layout.size,s=-1!=n.indexOf("%")?parseFloat(n)/100*r.width:parseInt(n,10),a=-1!=o.indexOf("%")?parseFloat(o)/100*r.height:parseInt(o,10);s=isNaN(s)?0:s,a=isNaN(a)?0:a,s-=e?r.paddingLeft:r.paddingRight,a-=i?r.paddingTop:r.paddingBottom,this.position.x=s,this.position.y=a},u.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"paddingLeft":"paddingRight",r=i?"left":"right",s=i?"right":"left",a=this.position.x+t[o];e[r]=this.getXValue(a),e[s]="";var h=n?"paddingTop":"paddingBottom",l=n?"top":"bottom",u=n?"bottom":"top",d=this.position.y+t[h];e[l]=this.getYValue(d),e[u]="",this.css(e),this.emitEvent("layout",[this])},u.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px";
10
+ },u.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},u._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=parseInt(t,10),r=parseInt(e,10),s=o===this.position.x&&r===this.position.y;if(this.setPosition(t,e),s&&!this.isTransitioning)return void this.layoutPosition();var a=t-i,h=e-n,l={};l.transform=this.getTranslate(a,h),this.transition({to:l,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},u.getTranslate=function(t,e){var i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop");return t=i?t:-t,e=n?e:-e,"translate3d("+t+"px, "+e+"px, 0)"},u.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},u.moveTo=u._transitionTo,u.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},u._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},u.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var n=this.element.offsetHeight;n=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var d="opacity,"+o(a);u.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:d,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(h,this,!1)}},u.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},u.onotransitionend=function(t){this.ontransitionend(t)};var c={"-webkit-transform":"transform"};u.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=c[t.propertyName]||t.propertyName;if(delete e.ingProperties[n],i(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd){var o=e.onEnd[n];o.call(this),delete e.onEnd[n]}this.emitEvent("transitionEnd",[this])}},u.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(h,this,!1),this.isTransitioning=!1},u._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var f={transitionProperty:"",transitionDuration:"",transitionDelay:""};return u.removeTransitionStyles=function(){this.css(f)},u.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},u.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},u.remove=function(){return s&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},u.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("visibleStyle");e[i]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},u.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},u.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},u.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("hiddenStyle");e[i]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},u.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},u.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},n}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,o,r){return e(t,i,n,o,r)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function s(t,e,i,n,o){"use strict";function r(t,e){var i=n.getQueryElement(t);if(!i)return void(h&&h.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,l&&(this.$element=l(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e);var o=++d;this.element.outlayerGUID=o,c[o]=this,this._create();var r=this._getOption("initLayout");r&&this.layout()}function s(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}function a(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],n=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var o=g[n]||1;return i*o}var h=t.console,l=t.jQuery,u=function(){},d=0,c={};r.namespace="outlayer",r.Item=o,r.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var f=r.prototype;n.extend(f,e.prototype),f.option=function(t){n.extend(this.options,t)},f._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},r.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},f._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle);var t=this._getOption("resize");t&&this.bindResize()},f.reloadItems=function(){this.items=this._itemize(this.element.children)},f._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var r=e[o],s=new i(r,this);n.push(s)}return n},f._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},f.getItemElements=function(){return this.items.map(function(t){return t.element})},f.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},f._init=f.layout,f._resetLayout=function(){this.getSize()},f.getSize=function(){this.size=i(this.element)},f._getMeasurement=function(t,e){var n=this.options[t],o;n?("string"==typeof n?o=this.element.querySelector(n):n instanceof HTMLElement&&(o=n),this[t]=o?i(o)[e]:n):this[t]=0},f.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},f._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},f._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var n=this._getItemLayoutPosition(t);n.item=t,n.isInstant=e||t.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i)}},f._getItemLayoutPosition=function(){return{x:0,y:0}},f._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},f.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=a(t),this.stagger)},f._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},f._postLayout=function(){this.resizeContainer()},f.resizeContainer=function(){var t=this._getOption("resizeContainer");if(t){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},f._getContainerSize=u,f._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},f._emitCompleteOnItems=function(t,e){function i(){o.dispatchEvent(t+"Complete",null,[e])}function n(){s++,s==r&&i()}var o=this,r=e.length;if(!e||!r)return void i();var s=0;e.forEach(function(e){e.once(t,n)})},f.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),l)if(this.$element=this.$element||l(this.element),e){var o=l.Event(e);o.type=t,this.$element.trigger(o,i)}else this.$element.trigger(t,i)},f.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},f.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},f.stamp=function(t){t=this._find(t),t&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},f.unstamp=function(t){t=this._find(t),t&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},f._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=n.makeArray(t)):void 0},f._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},f._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},f._manageStamp=u,f._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,o=i(t),r={left:e.left-n.left-o.marginLeft,top:e.top-n.top-o.marginTop,right:n.right-e.right-o.marginRight,bottom:n.bottom-e.bottom-o.marginBottom};return r},f.handleEvent=n.handleEvent,f.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},f.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},f.onresize=function(){this.resize()},n.debounceMethod(r,"onresize",100),f.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},f.needsResizeLayout=function(){var t=i(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},f.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},f.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},f.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},f.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},f.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},f.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},f.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},f.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},f.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},f.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},f.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete c[e],delete this.element.outlayerGUID,l&&l.removeData(this.element,this.constructor.namespace)},r.data=function(t){t=n.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&c[e]},r.create=function(t,e){var i=s(r);return i.defaults=n.extend({},r.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},r.compatOptions),i.namespace=t,i.data=r.data,i.Item=s(o),n.htmlInit(i,t),l&&l.bridget&&l.bridget(t,i),i};var g={ms:1,s:1e3};return r.Item=o,r}),function(t,e){"function"==typeof define&&define.amd?define("enviratope/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Enviratope=t.Enviratope||{},t.Enviratope.Item=e(t.Outlayer))}(window,function a(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),n=i._create;i._create=function(){this.id=this.layout.itemGUID++,n.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var n=e[i];this.sortData[i]=n(this.element,this)}}};var o=i.destroy;return i.destroy=function(){o.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("enviratope/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Enviratope=t.Enviratope||{},t.Enviratope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function h(t,e){"use strict";function i(t){this.enviratope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var n=i.prototype,o=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"];return o.forEach(function(t){n[t]=function(){return e.prototype[t].apply(this.enviratope,arguments)}}),n.needsVerticalResizeLayout=function(){var e=t(this.enviratope.element),i=this.enviratope.size&&e;return i&&e.innerHeight!=this.enviratope.size.innerHeight},n._getMeasurement=function(){this.enviratope._getMeasurement.apply(this,arguments)},n.getColumnWidth=function(){this.getSegmentSize("column","Width")},n.getRowHeight=function(){this.getSegmentSize("row","Height")},n.getSegmentSize=function(t,e){var i=t+e,n="outer"+e;if(this._getMeasurement(i,n),!this[i]){var o=this.getFirstItemSize();this[i]=o&&o[n]||this.enviratope.size["inner"+e]}},n.getFirstItemSize=function(){var e=this.enviratope.filteredItems[0];return e&&e.element&&t(e.element)},n.layout=function(){this.enviratope.layout.apply(this.enviratope,arguments)},n.getSize=function(){this.enviratope.getSize(),this.size=this.enviratope.size},i.modes={},i.create=function(t,e){function o(){i.apply(this,arguments)}return o.prototype=Object.create(n),o.prototype.constructor=o,e&&(o.options=e),o.prototype.namespace=t,i.modes[t]=o,o},i}),function(t,e){"function"==typeof define&&define.amd?define("masonry/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function l(t,e){var i=t.create("masonry");return i.compatOptions.fitWidth="isFitWidth",i.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0},i.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,r=o/n,s=n-o%n,a=s&&1>s?"round":"floor";r=Math[a](r),this.cols=Math.max(r,1)},i.prototype.getContainerWidth=function(){var t=this._getOption("fitWidth"),i=t?this.element.parentNode:this.element,n=e(i);this.containerWidth=n&&n.innerWidth},i.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&&1>e?"round":"ceil",n=Math[i](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var o=this._getColGroup(n),r=Math.min.apply(Math,o),s=o.indexOf(r),a={x:this.columnWidth*s,y:r},h=r+t.size.outerHeight,l=this.cols+1-o.length,u=0;l>u;u++)this.colYs[s+u]=h;return a},i.prototype._getColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;i>n;n++){var o=this.colYs.slice(n,n+t);e[n]=Math.max.apply(Math,o)}return e},i.prototype._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft"),r=o?n.left:n.right,s=r+i.outerWidth,a=Math.floor(r/this.columnWidth);a=Math.max(0,a);var h=Math.floor(s/this.columnWidth);h-=s%this.columnWidth?0:1,h=Math.min(this.cols-1,h);for(var l=this._getOption("originTop"),u=(l?n.top:n.bottom)+i.outerHeight,d=a;h>=d;d++)this.colYs[d]=Math.max(u,this.colYs[d])},i.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},i.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},i.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("enviratope/layout-modes/masonry",["../layout-mode","masonry/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Enviratope.LayoutMode,t.Masonry)}(window,function u(t,e){"use strict";var i=t.create("masonry"),n=i.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var r in e.prototype)o[r]||(n[r]=e.prototype[r]);var s=n.measureColumns;n.measureColumns=function(){this.items=this.enviratope.filteredItems,s.call(this)};var a=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.enviratope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("enviratope/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Enviratope.LayoutMode)}(window,function d(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.enviratope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,n},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("enviratope/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Enviratope.LayoutMode)}(window,function c(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.enviratope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","./item","./layout-mode","./layout-modes/masonry","./layout-modes/fit-rows","./layout-modes/vertical"],function(i,n,o,r,s,a){return e(t,i,n,o,r,s,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("./item"),require("./layout-mode"),require("./layout-modes/masonry"),require("./layout-modes/fit-rows"),require("./layout-modes/vertical")):t.Enviratope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Enviratope.Item,t.Enviratope.LayoutMode)}(window,function f(t,e,i,n,o,r,s){function a(t,e){return function i(n,o){for(var r=0;r<t.length;r++){var s=t[r],a=n.sortData[s],h=o.sortData[s];if(a>h||h>a){var l=void 0!==e[s]?e[s]:e,u=l?1:-1;return(a>h?1:-1)*u}}return 0}}var h=t.jQuery,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},u=e.create("enviratope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});u.Item=r,u.LayoutMode=s;var d=u.prototype;d._create=function(){this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"];for(var t in s.modes)this._initLayoutMode(t)},d.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},d._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++){var n=t[i];n.id=this.itemGUID++}return this._updateItemsSortData(t),t},d._initLayoutMode=function(t){var e=s.modes[t],i=this.options[t]||{};this.options[t]=e.options?o.extend(e.options,i):i,this.modes[t]=new e(this)},d.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},d._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},d.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},d._init=d.arrange,d._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},d._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},d._bindArrangeComplete=function(){function t(){e&&i&&n&&o.dispatchEvent("arrangeComplete",null,[o.filteredItems])}var e,i,n,o=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){n=!0,t()})},d._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],n=[],o=[],r=this._getFilterTest(e),s=0;s<t.length;s++){var a=t[s];if(!a.isIgnored){var h=r(a);h&&i.push(a),h&&a.isHidden?n.push(a):h||a.isHidden||o.push(a)}}return{matches:i,needReveal:n,needHide:o}},d._getFilterTest=function(t){return h&&this.options.isJQueryFiltering?function(e){return h(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return n(e.element,t)}},d.updateSortData=function(t){var e;t?(t=o.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},d._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=c(i)}},d._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&e>i;i++){var n=t[i];n.updateSortData()}};var c=function(){function t(t){if("string"!=typeof t)return t;var i=l(t).split(" "),n=i[0],o=n.match(/^\[(.+)\]$/),r=o&&o[1],s=e(r,n),a=u.sortDataParsers[i[1]];return t=a?function(t){return t&&a(s(t))}:function(t){return t&&s(t)}}function e(t,e){return t?function i(e){return e.getAttribute(t)}:function n(t){var i=t.querySelector(e);return i&&i.textContent}}return t}();u.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},d._sort=function(){var t=this.options.sortBy;if(t){var e=[].concat.apply(t,this.sortHistory),i=a(e,this.options.sortAscending);this.filteredItems.sort(i),t!=this.sortHistory[0]&&this.sortHistory.unshift(t)}},d._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},d._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},d._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},d._manageStamp=function(t){this._mode()._manageStamp(t)},d._getContainerSize=function(){return this._mode()._getContainerSize()},d.needsResizeLayout=function(){return this._mode().needsResizeLayout()},d.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},d.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},d._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},d.insert=function(t){var e=this.addItems(t);if(e.length){var i,n,o=e.length;for(i=0;o>i;i++)n=e[i],this.element.appendChild(n.element);var r=this._filter(e).matches;for(i=0;o>i;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;o>i;i++)delete e[i].isLayoutInstant;this.reveal(r)}};var f=d.remove;return d.remove=function(t){t=o.makeArray(t);var e=this.getItems(t);f.call(this,t);for(var i=e&&e.length,n=0;i&&i>n;n++){var r=e[n];o.removeFrom(this.filteredItems,r)}},d.shuffle=function(){for(var t=0;t<this.items.length;t++){var e=this.items[t];e.sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},d._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var n=t.apply(this,e);return this.options.transitionDuration=i,n},d.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},u}),function(t){var e,i,n,o,r,s,a,h,l,u,d=0,c={},f=[],g=0,p={},m=[],v=null,y=new Image,w=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,b=/[^\.]\.(swf)\s*$/i,x,I=1,S=0,E="",_,z,R=!1,T=t.extend(t("<div/>")[0],{prop:0}),C=!1,j=function(){i.hide(),y.onerror=y.onload=null,v&&v.abort(),e.empty()},O=function(){return!1===c.onError(f,d,c)?(i.hide(),void(R=!1)):(c.titleShow=!1,c.width="auto",c.height="auto",e.html('<p id="envirabox-error">The requested content cannot be loaded.<br />Please try again later.</p>'),void A())},L=function(){var n=f[d],o,r,a,h,l,u;if(j(),c=t.extend({},t.fn.envirabox.defaults,"undefined"==typeof t(n).data("envirabox")?c:t(n).data("envirabox")),u=c.onStart(f,d,c),u===!1)return void(R=!1);if("object"==typeof u&&(c=t.extend(c,u)),a=c.title||(n.nodeName?t(n).attr("title"):n.title)||"",n.nodeName&&!c.orig&&(c.orig=t(n).children("img:first").length?t(n).children("img:first"):t(n)),""===a&&c.orig&&c.titleFromAlt&&(a=c.orig.attr("alt")),o=c.href||(n.nodeName?t(n).attr("href"):n.href)||null,(/^(?:javascript)/i.test(o)||"#"==o)&&(o=null),"string"==typeof o&&t.envirabox.isUrl(o)&&!t.envirabox.isImage(o)&&(document.getElementById("envirabox-loading").style.visibility="hidden",window.location.href=o),c.type?(r=c.type,o||(o=c.content)):c.content?r="html":o&&(r=o.match(w)?"image":o.match(b)?"swf":t(n).hasClass("iframe")?"iframe":0===o.indexOf("#")?"inline":"ajax"),!r)return void O();switch("inline"==r&&(n=o.substr(o.indexOf("#")),r=t(n).length>0?"inline":"ajax"),c.type=r,c.href=o,c.title=a,c.autoDimensions&&("html"==c.type||"inline"==c.type||"ajax"==c.type?(c.width="auto",c.height="auto"):c.autoDimensions=!1),c.modal&&(c.overlayShow=!0,c.hideOnOverlayClick=!1,c.hideOnContentClick=!1,c.enableEscapeButton=!1,c.showCloseButton=!1),c.padding=parseInt(c.padding,10),c.margin=parseInt(c.margin,10),e.css("padding",c.padding+c.margin),t(".envirabox-inline-tmp").unbind("envirabox-cancel").bind("envirabox-change",function(){t(this).replaceWith(s.children())}),r){case"html":e.html(c.content),A();break;case"inline":if(t(n).parent().is("#envirabox-content")===!0)return void(R=!1);t('<div class="envirabox-inline-tmp" />').hide().insertBefore(t(n)).bind("envirabox-cleanup",function(){t(this).replaceWith(s.children())}).bind("envirabox-cancel",function(){t(this).replaceWith(e.children())}),t(n).appendTo(e),A();break;case"image":R=!1,t.envirabox.showActivity(),y=new Image,y.onerror=function(){O()},y.onload=function(){R=!0,y.onerror=y.onload=null,D()},y.src=o;break;case"swf":c.scrolling="no",h='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+c.width+'" height="'+c.height+'"><param name="movie" value="'+o+'"></param>',l="",t.each(c.swf,function(t,e){h+='<param name="'+t+'" value="'+e+'"></param>',l+=" "+t+'="'+e+'"'}),h+='<embed src="'+o+'" type="application/x-shockwave-flash" width="'+c.width+'" height="'+c.height+'"'+l+"></embed></object>",e.html(h),A();break;case"ajax":R=!1,t.envirabox.showActivity(),c.ajax.win=c.ajax.success,v=t.ajax(t.extend({},c.ajax,{url:o,data:c.ajax.data||{},error:function(t,e,i){t.status>0&&O()},success:function(t,n,r){var s="object"==typeof r?r:v;if(200==s.status){if("function"==typeof c.ajax.win){if(u=c.ajax.win(o,t,n,r),u===!1)return void i.hide();("string"==typeof u||"object"==typeof u)&&(t=u)}e.html(t),A()}}}));break;case"iframe":M()}},A=function(){var i=c.width,n=c.height;i=i.toString().indexOf("%")>-1?parseInt((t(window).width()-2*c.margin)*parseFloat(i)/100,10)+"px":"auto"==i?"auto":i+"px",n=n.toString().indexOf("%")>-1?parseInt((t(window).height()-2*c.margin)*parseFloat(n)/100,10)+"px":"auto"==n?"auto":n+"px",e.wrapInner('<div style="width:'+i+";height:"+n+";overflow: "+("auto"==c.scrolling?"auto":"yes"==c.scrolling?"scroll":"hidden")+';position:relative;"></div>'),c.width=e.width(),c.height=e.height(),M()},D=function(){c.width=y.width,c.height=y.height,t("<img />").attr({id:"envirabox-img",src:y.src,alt:c.title}).appendTo(e),M()},M=function(){var r,v;return i.hide(),o.is(":visible")&&!1===p.onCleanup(m,g,p)?(t.event.trigger("envirabox-cancel"),void(R=!1)):(R=!0,t(s.add(n)).unbind(),t(window).unbind("resize.fb scroll.fb"),t(document).unbind("keydown.fb"),o.is(":visible")&&"outside"!==p.titlePosition&&o.css("height",o.height()),m=f,g=d,p=c,p.overlayShow?(n.css({"background-color":p.overlayColor,opacity:p.overlayOpacity,cursor:p.hideOnOverlayClick?"pointer":"auto",height:t(document).height()}),n.is(":visible")||(C&&t("select:not(#envirabox-tmp select)").filter(function(){return"hidden"!==this.style.visibility}).css({visibility:"hidden"}).one("envirabox-cleanup",function(){this.style.visibility="inherit"}),n.show())):n.hide(),z=q(),k(),o.is(":visible")?(t(a.add(l).add(u)).hide(),r=o.position(),_={top:r.top,left:r.left,width:o.width(),height:o.height()},v=_.width==z.width&&_.height==z.height,void s.fadeTo(p.changeFade,.3,function(){var i=function(){s.html(e.contents()).fadeTo(p.changeFade,1,F)};t.event.trigger("envirabox-change"),s.empty().removeAttr("filter").css({"border-width":p.padding,width:z.width-2*p.padding,height:c.autoDimensions?"auto":z.height-S-2*p.padding}),v?i():(T.prop=0,t(T).animate({prop:1},{duration:p.changeSpeed,easing:p.easingChange,step:P,complete:i}))})):(o.removeAttr("style"),s.css("border-width",p.padding),"elastic"==p.transitionIn?(_=U(),s.html(e.contents()),o.show(),p.opacity&&(z.opacity=0),T.prop=0,void t(T).animate({prop:1},{duration:p.speedIn,easing:p.easingIn,step:P,complete:F})):("inside"==p.titlePosition&&S>0&&h.show(),s.css({width:z.width-2*p.padding,height:c.autoDimensions?"auto":z.height-S-2*p.padding}).html(e.contents()),void o.css(z).fadeIn("none"==p.transitionIn?0:p.speedIn,F))))},H=function(t){return t&&t.length?"float"==p.titlePosition?'<table id="envirabox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="envirabox-title-float-left"></td><td id="envirabox-title-float-main">'+t+'</td><td id="envirabox-title-float-right"></td></tr></table>':'<div id="envirabox-title-'+p.titlePosition+'">'+t+"</div>":!1},k=function(){if(E=p.title||"",S=0,h.empty().removeAttr("style").removeClass(),p.titleShow===!1)return void h.hide();if(E=t.isFunction(p.titleFormat)?p.titleFormat(E,m,g,p):H(E),!E||""===E)return void h.hide();switch(h.addClass("envirabox-title-"+p.titlePosition).html(E).appendTo("body").show(),p.titlePosition){
11
+ case"inside":h.css({width:z.width-2*p.padding,marginLeft:p.padding,marginRight:p.padding}),S=h.outerHeight(!0),h.appendTo(r),z.height+=S;break;case"over":h.css({marginLeft:p.padding,width:z.width-2*p.padding,bottom:p.padding}).appendTo(r);break;case"float":h.css("left",-1*parseInt((h.width()-z.width-40)/2,10)).appendTo(o);break;default:h.css({width:z.width-2*p.padding,paddingLeft:p.padding,paddingRight:p.padding}).appendTo(o)}h.hide()},W=function(){return(p.enableEscapeButton||p.enableKeyboardNav)&&t(document).bind("keydown.fb",function(e){27==e.keyCode&&p.enableEscapeButton?(e.preventDefault(),t.envirabox.close()):37!=e.keyCode&&39!=e.keyCode||!p.enableKeyboardNav||"INPUT"===e.target.tagName||"TEXTAREA"===e.target.tagName||"SELECT"===e.target.tagName||(e.preventDefault(),t.envirabox[37==e.keyCode?"prev":"next"]())}),p.showNavArrows?((p.cyclic&&m.length>1||0!==g)&&l.show(),void((p.cyclic&&m.length>1||g!=m.length-1)&&u.show())):(l.hide(),void u.hide())},F=function(){t.support.opacity||(s.get(0).style.removeAttribute("filter"),o.get(0).style.removeAttribute("filter")),c.autoDimensions&&s.css("height","auto"),o.css("height","auto"),E&&E.length&&h.show(),p.showCloseButton&&a.show(),W(),p.hideOnContentClick&&s.bind("click",t.envirabox.close),p.hideOnOverlayClick&&n.bind("click",t.envirabox.close),t(window).bind("resize.fb",t.envirabox.resize),p.centerOnScroll&&t(window).bind("scroll.fb",t.envirabox.center),"iframe"==p.type&&t('<iframe id="envirabox-frame" name="envirabox-frame'+(new Date).getTime()+'" frameborder="0" hspace="0" scrolling="'+c.scrolling+'" src="'+p.href+'"></iframe>').appendTo(s),o.show(),R=!1,t.envirabox.center(),p.onComplete(m,g,p),B()},B=function(){var t,e;m.length-1>g&&(t=m[g+1].href,"undefined"!=typeof t&&t.match(w)&&(e=new Image,e.src=t)),g>0&&(t=m[g-1].href,"undefined"!=typeof t&&t.match(w)&&(e=new Image,e.src=t))},P=function(t){var e={width:parseInt(_.width+(z.width-_.width)*t,10),height:parseInt(_.height+(z.height-_.height)*t,10),top:parseInt(_.top+(z.top-_.top)*t,10),left:parseInt(_.left+(z.left-_.left)*t,10)};"undefined"!=typeof z.opacity&&(e.opacity=.5>t?.5:t),o.css(e),s.css({width:e.width-2*p.padding,height:e.height-S*t-2*p.padding})},N=function(){return[t(window).width()-2*p.margin,t(window).height()-2*p.margin,t(document).scrollLeft()+p.margin,t(document).scrollTop()+p.margin]},q=function(){var t=N(),e={},i=p.autoScale,n=2*p.padding,o;return p.width.toString().indexOf("%")>-1?e.width=parseInt(t[0]*parseFloat(p.width)/100,10):e.width=p.width+n,p.height.toString().indexOf("%")>-1?e.height=parseInt(t[1]*parseFloat(p.height)/100,10):e.height=p.height+n,i&&(e.width>t[0]||e.height>t[1])&&("image"==c.type||"swf"==c.type?(o=p.width/p.height,e.width>t[0]&&(e.width=t[0],e.height=parseInt((e.width-n)/o+n,10)),e.height>t[1]&&(e.height=t[1],e.width=parseInt((e.height-n)*o+n,10))):(e.width=Math.min(e.width,t[0]),e.height=Math.min(e.height,t[1]))),e.top=parseInt(Math.max(t[3]-20,t[3]+.5*(t[1]-e.height-40)),10),e.left=parseInt(Math.max(t[2]-20,t[2]+.5*(t[0]-e.width-40)),10),e},Q=function(t){var e=t.offset();return e.top+=parseInt(t.css("paddingTop"),10)||0,e.left+=parseInt(t.css("paddingLeft"),10)||0,e.top+=parseInt(t.css("border-top-width"),10)||0,e.left+=parseInt(t.css("border-left-width"),10)||0,e.width=t.width(),e.height=t.height(),e},U=function(){var e=c.orig?t(c.orig):!1,i={},n,o;return e&&e.length?(n=Q(e),i={width:n.width+2*p.padding,height:n.height+2*p.padding,top:n.top-p.padding-20,left:n.left-p.padding-20}):(o=N(),i={width:2*p.padding,height:2*p.padding,top:parseInt(o[3]+.5*o[1],10),left:parseInt(o[2]+.5*o[0],10)}),i},Y=function(){return i.is(":visible")?(t("div",i).css("top",-40*I+"px"),void(I=(I+1)%12)):void clearInterval(x)};t.fn.envirabox=function(e){return t(this).length?(t(this).data("envirabox",t.extend({},e,t.metadata?t(this).metadata():{})).unbind("click.fb").bind("click.fb",function(e){if(e.preventDefault(),!R){R=!0,t(this).blur(),f=[],d=0;var i=t(this).attr("rel")||"";i&&""!=i&&"nofollow"!==i?(f=t("a[rel="+i+"], area[rel="+i+"]"),d=f.index(this)):f.push(this),L()}}),this):this},t.envirabox=function(e){var i;if(!R){if(R=!0,i="undefined"!=typeof arguments[1]?arguments[1]:{},f=[],d=parseInt(i.index,10)||0,t.isArray(e)){for(var n=0,o=e.length;o>n;n++)"object"==typeof e[n]?t(e[n]).data("envirabox",t.extend({},i,e[n])):e[n]=t({}).data("envirabox",t.extend({content:e[n]},i));f=jQuery.merge(f,e)}else"object"==typeof e?t(e).data("envirabox",t.extend({},i,e)):e=t({}).data("envirabox",t.extend({content:e},i)),f.push(e);(d>f.length||0>d)&&(d=0),L()}},t.envirabox.showActivity=function(){clearInterval(x),i.show(),x=setInterval(Y,66)},t.envirabox.hideActivity=function(){i.hide()},t.envirabox.next=function(){return t.envirabox.pos(g+1)},t.envirabox.prev=function(){return t.envirabox.pos(g-1)},t.envirabox.pos=function(t){R||(t=parseInt(t),f=m,t>-1&&t<m.length?(d=t,L()):p.cyclic&&m.length>1&&(d=t>=m.length?0:m.length-1,L()))},t.envirabox.cancel=function(){R||(R=!0,t.event.trigger("envirabox-cancel"),j(),c.onCancel(f,d,c),R=!1)},t.envirabox.close=function(){function e(){n.fadeOut("fast"),h.empty().hide(),o.hide(),t.event.trigger("envirabox-cleanup"),s.empty(),p.onClosed(m,g,p),m=c=[],g=d=0,p=c={},R=!1}if(!R&&!o.is(":hidden")){if(R=!0,p&&!1===p.onCleanup(m,g,p))return void(R=!1);if(j(),t(a.add(l).add(u)).hide(),t(s.add(n)).unbind(),t(window).unbind("resize.fb scroll.fb"),t(document).unbind("keydown.fb"),s.find("iframe").attr("src",C&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank"),"inside"!==p.titlePosition&&h.empty(),o.stop(),"elastic"==p.transitionOut){_=U();var i=o.position();z={top:i.top,left:i.left,width:o.width(),height:o.height()},p.opacity&&(z.opacity=1),h.empty().hide(),T.prop=1,t(T).animate({prop:0},{duration:p.speedOut,easing:p.easingOut,step:P,complete:e})}else o.fadeOut("none"==p.transitionOut?0:p.speedOut,e)}},t.envirabox.resize=function(){n.is(":visible")&&n.css("height",t(document).height());var e,i;z=q(),k(),h.show(),e=o.position(),_={top:e.top,left:e.left,width:o.width(),height:o.height()},i=_.width==z.width&&_.height==z.height,i||(T.prop=0,t(T).animate({prop:1},{duration:p.changeSpeed,easing:p.easingChange,step:P})),s.css({width:z.width-2*p.padding,height:c.autoDimensions?"auto":z.height-S-2*p.padding}),o.css(z),t.envirabox.center(!0)},t.envirabox.center=function(){var t,e;R||(e=arguments[0]===!0?1:0,t=N(),(e||!(o.width()>t[0]||o.height()>t[1]))&&o.stop().animate({top:parseInt(Math.max(t[3]-20,t[3]+.5*(t[1]-s.height()-40)-p.padding)),left:parseInt(Math.max(t[2]-20,t[2]+.5*(t[0]-s.width()-40)-p.padding))},"number"==typeof arguments[0]?arguments[0]:200))},t.envirabox.init=function(){t("#envirabox-wrap").length||(t("body").append(e=t('<div id="envirabox-tmp"></div>'),i=t('<div id="envirabox-loading"><div></div></div>'),n=t('<div id="envirabox-overlay"></div>'),o=t('<div id="envirabox-wrap"></div>')),r=t('<div id="envirabox-outer"></div>').append('<div class="envirabox-bg" id="envirabox-bg-n"></div><div class="envirabox-bg" id="envirabox-bg-ne"></div><div class="envirabox-bg" id="envirabox-bg-e"></div><div class="envirabox-bg" id="envirabox-bg-se"></div><div class="envirabox-bg" id="envirabox-bg-s"></div><div class="envirabox-bg" id="envirabox-bg-sw"></div><div class="envirabox-bg" id="envirabox-bg-w"></div><div class="envirabox-bg" id="envirabox-bg-nw"></div>').appendTo(o),r.append(s=t('<div id="envirabox-content"></div>'),a=t('<a id="envirabox-close"></a>'),h=t('<div id="envirabox-title"></div>'),l=t('<a href="javascript:;" id="envirabox-left"><span class="fancy-ico" id="envirabox-left-ico"></span></a>'),u=t('<a href="javascript:;" id="envirabox-right"><span class="fancy-ico" id="envirabox-right-ico"></span></a>')),a.click(t.envirabox.close),i.click(t.envirabox.cancel),l.click(function(e){e.preventDefault(),t.envirabox.prev()}),u.click(function(e){e.preventDefault(),t.envirabox.next()}),t.fn.mousewheel&&o.bind("mousewheel.fb",function(e,i){R?e.preventDefault():(0==t(e.target).get(0).clientHeight||t(e.target).get(0).scrollHeight===t(e.target).get(0).clientHeight)&&(e.preventDefault(),t.envirabox[i>0?"prev":"next"]())}),t.support.opacity||o.addClass("envirabox-ie"),C&&(i.addClass("envirabox-ie6"),o.addClass("envirabox-ie6"),t('<iframe id="envirabox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(r)))},t.envirabox.isUrl=function(t){return t.match(/^(https?):\/\/((?:[a-z0-9.-]|%[0-9A-F]{2}){3,})(?::(\d+))?((?:\/(?:[a-z0-9-._~!$&'()*+,;=:@]|%[0-9A-F]{2})*)*)(?:\?((?:[a-z0-9-._~!$&'()*+,;=:\/?@]|%[0-9A-F]{2})*))?(?:#((?:[a-z0-9-._~!$&'()*+,;=:\/?@]|%[0-9A-F]{2})*))?$/i)},t.envirabox.isImage=function(t){return t.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},t.fn.envirabox.defaults={padding:10,margin:40,opacity:!1,modal:!1,cyclic:!1,scrolling:"auto",width:560,height:340,autoScale:!0,autoDimensions:!0,centerOnScroll:!1,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:!0,hideOnContentClick:!1,overlayShow:!0,overlayOpacity:.9,overlayColor:"#777",titleShow:!0,titlePosition:"float",titleFormat:null,titleFromAlt:!1,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:!0,showNavArrows:!0,enableEscapeButton:!0,enableKeyboardNav:!0,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}},t(document).ready(function(){t.envirabox.init()})}(jQuery),"undefined"!=typeof envira_lazy_load&&"true"==envira_lazy_load)var responsivelyLazy=function(){var t=!1,e=null,i=null,n=!1,o=!1,r="undefined"!=typeof IntersectionObserver,s=function(t){if(null===e&&(e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,i=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,null===e))return!1;var n=t.getBoundingClientRect(),o=n.top,r=n.left,s=n.width,a=n.height,h=i>o&&o+a>0&&e>r&&r+s>0;return h};jQuery.fn.exists=function(){return this.length>0};var a=function(e,i){var n=i.getAttribute("data-envira-srcset");if(null!==n)if(n=n.trim(),n.length>0){n=n.split(",");for(var o=[],r=n.length,s=0;r>s;s++){var a=n[s].trim();if(0!==a.length){var h=a.lastIndexOf(" ");if(-1===h)var l=a,u=999998;else var l=a.substr(0,h),u=parseInt(a.substr(h+1,a.length-h-2),10);var d=!1;-1!==l.indexOf(".webp",l.length-5)?t&&(d=!0):d=!0,d&&o.push([l,u])}}o.sort(function(t,e){if(t[1]<e[1])return-1;if(t[1]>e[1])return 1;if(t[1]===e[1]){if(-1!==e[0].indexOf(".webp",e[0].length-5))return 1;if(-1!==t[0].indexOf(".webp",t[0].length-5))return-1}return 0}),n=o}else n=[];else n=[];for(var c=e.offsetWidth*window.devicePixelRatio,f=null,r=n.length,s=0;r>s;s++){var g=n[s];if(g[1]>=c){f=g;break}}if(null===f&&(f=[i.getAttribute("data-envira-src"),999999]),"undefined"==typeof e.lastSetOption&&(e.lastSetOption=["",0]),e.lastSetOption[1]<f[1]){var p=0===e.lastSetOption[1],m=f[0],v=new Image;v.addEventListener("load",function(){if(i.setAttribute("srcset",m),i.setAttribute("src",m),p){var t=e.getAttribute("data-onlazyload");null!==t&&new Function(t).bind(e)()}},!1),v.addEventListener("error",function(){e.lastSetOption=["",0]},!1),v.onload=function(){if("envira-lazy"==e.getAttribute("class"))var t=e.firstElementChild,i=e,n=t.id,o=t.src,r=jQuery(t).data("envira-gallery-id"),s=this.naturalWidth,a=this.naturalHeight;else var t=v,i=e,n=e.id,o=e.src,r=jQuery(t).data("envira-gallery-id"),s=this.naturalWidth,a=this.naturalHeight;(void 0===r||null===r)&&(r=0),jQuery(document).trigger({type:"envira_image_lazy_load_complete",container:i,image_src:o,image_id:n,gallery_id:r,naturalWidth:s,naturalHeight:a})},v.onerror=function(){},v.src=null,v.src=m,e.lastSetOption=f}},h=function(){e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,i=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},l=function(t){o=t},u=function(t){if("undefined"!=typeof t){var e=function(t,e){for(var i=t.length,n=0;i>n;n++){var o=t[n],r=e?o:o.parentNode;s(r)===!0&&a(r,o)}};if(t){if("string"!=typeof t)return;("undefined"===envira_lazy_load_delay||envira_lazy_load_initial===!1||"undefined"===envira_lazy_load_initial)&&(envira_lazy_load_delay=0),myVar=setTimeout(function(){jQuery(t+" .envira-lazy > img").exists()?e(document.querySelectorAll(t+" .envira-lazy > img"),!1):jQuery(t+" img.envira-lazy").exists()&&e(document.querySelectorAll(t+" img.envira-lazy"),!0),1==envira_lazy_load_initial},envira_lazy_load_delay)}}};if("srcset"in document.createElement("img")&&"undefined"!=typeof window.devicePixelRatio&&"undefined"!=typeof window.addEventListener&&"undefined"!=typeof document.querySelectorAll){h();var d=new Image;d.src="data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoCAAEADMDOJaQAA3AA/uuuAAA=",d.onload=d.onerror=function(){if(t=2===d.width,r){var e=function(){for(var t=document.querySelectorAll(".envira-lazy"),e=t.length,n=0;e>n;n++){var o=t[n];"undefined"==typeof o.responsivelyLazyObserverAttached&&(o.responsivelyLazyObserverAttached=!0,i.observe(o))}},i=new IntersectionObserver(function(t){for(var e in t){var i=t[e];if(i.intersectionRatio>0){var n=i.target;if("img"!==n.tagName.toLowerCase()){var o=n.querySelector("img");null!==o&&a(n,o)}else a(n,n)}}});u()}else var n=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)},o=!0,s=function(){o&&(o=!1),n.call(null,s)},l=function(){o=!0,s()},c=function(){for(var t=document.querySelectorAll(".envira-lazy"),e=t.length,i=0;e>i;i++)for(var n=t[i].parentNode;n&&"html"!==n.tagName.toLowerCase();)"undefined"==typeof n.responsivelyLazyScrollAttached&&(n.responsivelyLazyScrollAttached=!0,n.addEventListener("scroll",l)),n=n.parentNode};var f=function(){if(r)var t=null;if(window.addEventListener("resize",function(){h(),r?(window.clearTimeout(t),t=window.setTimeout(function(){u()},300)):l()}),r?(window.addEventListener("load",u),e()):(window.addEventListener("scroll",l),window.addEventListener("load",l),c()),"undefined"!=typeof MutationObserver){var i=new MutationObserver(function(){r?(e(),u()):(c(),l())});i.observe(document.querySelector("body"),{childList:!0,subtree:!0})}};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",f):f()}}return{run:u,isVisible:s,setGalleryClass:l}}();
assets/scss/envira.scss CHANGED
@@ -74,20 +74,12 @@
74
  margin: 0 0 20px 0;
75
  padding: 10px;
76
  background: #eee;
77
- clear: both;
78
 
79
  a {
80
  text-decoration: none;
81
  }
82
  }
83
 
84
- /**
85
- * WooCommerce Addon
86
- */
87
- .envira-hidden {
88
- display: none;
89
- }
90
-
91
  /**
92
  * Main Wrapper
93
  */
@@ -334,7 +326,7 @@
334
  /**
335
  * Main Wrapper
336
  */
337
- .envira-gallery-public.envira-justified-gallery {
338
  /**
339
  * Inner
340
  */
@@ -373,7 +365,7 @@
373
  * Mobile Landscape Size to Tablet Portrait (devices and browsers)
374
  * - Envira Gallery Columns: If 4, 5 or 6, reduce to 3 columns. Isotope will detect change + resize automatically.
375
  */
376
- @media only screen and (max-width: 767px) {
377
  /**
378
  * Main Wrapper
379
  */
@@ -462,17 +454,17 @@
462
  &.envira-gallery-5-columns,
463
  &.envira-gallery-6-columns {
464
  .envira-gallery-item {
465
- width: 50% ;
466
 
467
  &:nth-child(3n+1),
468
  &:nth-child(4n+1),
469
  &:nth-child(5n+1),
470
  &:nth-child(6n+1) {
471
- clear: none;
472
  }
473
 
474
  &:nth-child(2n+1) {
475
- clear: both;
476
  }
477
  }
478
  }
@@ -516,7 +508,7 @@
516
  &.envira-gallery-5-columns,
517
  &.envira-gallery-6-columns {
518
  .envira-gallery-item {
519
- width: 100% ;
520
 
521
  &:nth-child(2n+1),
522
  &:nth-child(3n+1),
@@ -546,7 +538,6 @@
546
  Envira Lightbox Gallery Styles
547
  ========================================================================== */
548
 
549
- /*! envirabox v2.1.5 fancyapps.com | fancyapps.com/envirabox/#license */
550
  .envirabox-wrap,
551
  .envirabox-skin,
552
  .envirabox-outer,
@@ -635,15 +626,6 @@
635
  .envirabox-inner {
636
  overflow: hidden;
637
 
638
- /**
639
- * Actions
640
- */
641
-
642
- .envirabox-actions {
643
- position: absolute;
644
- z-index: 988050;
645
- }
646
-
647
  /**
648
  * Dynamic Positioning
649
  */
@@ -660,7 +642,6 @@
660
  &.envira-gallery-top-left {
661
  top: 0;
662
  left: 0;
663
- text-align: left;
664
  }
665
 
666
  /**
@@ -678,7 +659,6 @@
678
  &.envira-gallery-bottom-left {
679
  bottom: 0;
680
  left: 0;
681
- text-align: left;
682
  }
683
 
684
  /**
@@ -695,11 +675,6 @@
695
 
696
  .envirabox-type-iframe .envirabox-inner {
697
  -webkit-overflow-scrolling: touch;
698
- height: 100%;
699
- .envirabox-iframe {
700
- width: 100%;
701
- height: 100%;
702
- }
703
  }
704
 
705
  .envirabox-error {
@@ -726,7 +701,7 @@
726
  }
727
 
728
  #envirabox-loading {
729
- position: absolute;
730
  top: 50%;
731
  left: 50%;
732
  margin-top: -22px;
@@ -765,10 +740,6 @@
765
  z-index: 988040;
766
  }
767
 
768
- .envirabox-nav:focus {
769
- outline:none;
770
- }
771
-
772
  .envirabox-prev {
773
  left: 0;
774
  }
@@ -861,7 +832,8 @@ a.envirabox-nav:hover {
861
  }
862
 
863
  .envirabox-lock .envirabox-overlay {
864
- // overflow: auto;
 
865
  }
866
 
867
  /* Title helper */
@@ -1118,8 +1090,6 @@ a.envirabox-nav:hover {
1118
  border: 0;
1119
  padding: 0;
1120
  max-width: none;
1121
- width: 100%;
1122
- height: auto;
1123
  }
1124
 
1125
 
@@ -1144,35 +1114,6 @@ only screen and ( min-resolution: 2dppx) {
1144
 
1145
  }
1146
 
1147
-
1148
-
1149
-
1150
-
1151
-
1152
-
1153
-
1154
-
1155
-
1156
-
1157
- @media only screen and (max-width: 600px) {
1158
-
1159
- .envirabox-prev.envirabox-arrows-outside {
1160
- left: -75px;
1161
- width: 12%;
1162
- }
1163
- .envirabox-next.envirabox-arrows-outside {
1164
- right: -75px;
1165
- width: 12%;
1166
- }
1167
-
1168
- }
1169
-
1170
-
1171
-
1172
-
1173
-
1174
-
1175
-
1176
  /*
1177
  #content img{
1178
  height: 0;
@@ -1341,4 +1282,4 @@ only screen and ( min-resolution: 2dppx) {
1341
  }
1342
 
1343
 
1344
- */
74
  margin: 0 0 20px 0;
75
  padding: 10px;
76
  background: #eee;
 
77
 
78
  a {
79
  text-decoration: none;
80
  }
81
  }
82
 
 
 
 
 
 
 
 
83
  /**
84
  * Main Wrapper
85
  */
326
  /**
327
  * Main Wrapper
328
  */
329
+ .envira-gallery-public.justified-gallery {
330
  /**
331
  * Inner
332
  */
365
  * Mobile Landscape Size to Tablet Portrait (devices and browsers)
366
  * - Envira Gallery Columns: If 4, 5 or 6, reduce to 3 columns. Isotope will detect change + resize automatically.
367
  */
368
+ @media only screen and (max-width: 768px) {
369
  /**
370
  * Main Wrapper
371
  */
454
  &.envira-gallery-5-columns,
455
  &.envira-gallery-6-columns {
456
  .envira-gallery-item {
457
+ width: 50% !important;
458
 
459
  &:nth-child(3n+1),
460
  &:nth-child(4n+1),
461
  &:nth-child(5n+1),
462
  &:nth-child(6n+1) {
463
+ clear: none !important;
464
  }
465
 
466
  &:nth-child(2n+1) {
467
+ clear: both !important;
468
  }
469
  }
470
  }
508
  &.envira-gallery-5-columns,
509
  &.envira-gallery-6-columns {
510
  .envira-gallery-item {
511
+ width: 100% !important;
512
 
513
  &:nth-child(2n+1),
514
  &:nth-child(3n+1),
538
  Envira Lightbox Gallery Styles
539
  ========================================================================== */
540
 
 
541
  .envirabox-wrap,
542
  .envirabox-skin,
543
  .envirabox-outer,
626
  .envirabox-inner {
627
  overflow: hidden;
628
 
 
 
 
 
 
 
 
 
 
629
  /**
630
  * Dynamic Positioning
631
  */
642
  &.envira-gallery-top-left {
643
  top: 0;
644
  left: 0;
 
645
  }
646
 
647
  /**
659
  &.envira-gallery-bottom-left {
660
  bottom: 0;
661
  left: 0;
 
662
  }
663
 
664
  /**
675
 
676
  .envirabox-type-iframe .envirabox-inner {
677
  -webkit-overflow-scrolling: touch;
 
 
 
 
 
678
  }
679
 
680
  .envirabox-error {
701
  }
702
 
703
  #envirabox-loading {
704
+ position: fixed;
705
  top: 50%;
706
  left: 50%;
707
  margin-top: -22px;
740
  z-index: 988040;
741
  }
742
 
 
 
 
 
743
  .envirabox-prev {
744
  left: 0;
745
  }
832
  }
833
 
834
  .envirabox-lock .envirabox-overlay {
835
+ overflow: auto;
836
+ overflow-y: scroll;
837
  }
838
 
839
  /* Title helper */
1090
  border: 0;
1091
  padding: 0;
1092
  max-width: none;
 
 
1093
  }
1094
 
1095
 
1114
 
1115
  }
1116
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1117
  /*
1118
  #content img{
1119
  height: 0;
1282
  }
1283
 
1284
 
1285
+ */
envira-gallery-lite.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Envira Gallery is best responsive WordPress gallery plugin. This is the lite version.
6
  * Author: Envira Gallery Team
7
  * Author URI: http://enviragallery.com
8
- * Version: 1.6.1.2
9
  * Text Domain: envira-gallery
10
  *
11
  * Envira Gallery is free software: you can redistribute it and/or modify
@@ -53,7 +53,7 @@ class Envira_Gallery_Lite {
53
  *
54
  * @var string
55
  */
56
- public $version = '1.6.1.2';
57
 
58
  /**
59
  * The name of the plugin.
5
  * Description: Envira Gallery is best responsive WordPress gallery plugin. This is the lite version.
6
  * Author: Envira Gallery Team
7
  * Author URI: http://enviragallery.com
8
+ * Version: 1.6.1.3
9
  * Text Domain: envira-gallery
10
  *
11
  * Envira Gallery is free software: you can redistribute it and/or modify
53
  *
54
  * @var string
55
  */
56
+ public $version = '1.6.1.3';
57
 
58
  /**
59
  * The name of the plugin.
includes/global/shortcode.php CHANGED
@@ -1487,25 +1487,19 @@ class Envira_Gallery_Shortcode {
1487
  // Check gallery config
1488
  $image_size = $this->get_config( 'lightbox_image_size', $data );
1489
 
1490
- // Return if we are serving a full size image
1491
- if ( $image_size == 'default' || $image_size == 'full_width' ) {
1492
  return $item;
1493
  }
1494
 
1495
- // Check the link is a well formed URL
1496
- // If it isn't, it'll be a video, which we don't need to do anything with
1497
- if ( ! filter_var( $item['link'], FILTER_VALIDATE_URL ) ) {
1498
- return $item;
1499
- }
1500
-
1501
- // Return if the link isn't an image
1502
- // This ensures images with links set to webpages remain that way
1503
- if ( ! @getimagesize( $item['link'] ) ) {
1504
  return $item;
1505
  }
1506
 
1507
  // Get media library attachment at requested size
1508
  $image = wp_get_attachment_image_src( $id, $image_size );
 
1509
  if ( ! is_array( $image ) ) {
1510
  return $item;
1511
  }
@@ -1976,6 +1970,36 @@ class Envira_Gallery_Shortcode {
1976
 
1977
  }
1978
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1979
  /**
1980
  * Returns the singleton instance of the class.
1981
  *
1487
  // Check gallery config
1488
  $image_size = $this->get_config( 'lightbox_image_size', $data );
1489
 
1490
+ //check if the url is a valid image if not return it
1491
+ if (! $this->is_image( $item['link'] ) ) {
1492
  return $item;
1493
  }
1494
 
1495
+ // Return if we are serving a full size image
1496
+ if ( $image_size == 'default' || $image_size == 'full_width' ) {
 
 
 
 
 
 
 
1497
  return $item;
1498
  }
1499
 
1500
  // Get media library attachment at requested size
1501
  $image = wp_get_attachment_image_src( $id, $image_size );
1502
+
1503
  if ( ! is_array( $image ) ) {
1504
  return $item;
1505
  }
1970
 
1971
  }
1972
 
1973
+ /**
1974
+ * isImage function.
1975
+ *
1976
+ * @access public
1977
+ * @param mixed $url
1978
+ * @return void
1979
+ */
1980
+ function is_image( $url ) {
1981
+
1982
+ $p = strrpos( $url, ".");
1983
+
1984
+ if ( $p === false ){
1985
+
1986
+ return false;
1987
+
1988
+ }
1989
+
1990
+ $extension = strtolower( trim( substr( $url, $p ) ) );
1991
+
1992
+ $img_extensions = array('.gif', '.jpg', '.jpeg', '.png', '.tiff', '.tif');
1993
+
1994
+ if ( in_array( $extension, $img_extensions ) ){
1995
+
1996
+ return true;
1997
+
1998
+ }
1999
+
2000
+ return false;
2001
+ }
2002
+
2003
  /**
2004
  * Returns the singleton instance of the class.
2005
  *
readme.txt CHANGED
@@ -229,6 +229,11 @@ Also, I'm an <a href="https://thomasgriffin.io" rel="me" title="WordPress Develo
229
 
230
  == Changelog ==
231
 
 
 
 
 
 
232
 
233
  = 1.6.1.2 =
234
 
229
 
230
  == Changelog ==
231
 
232
+ = 1.6.1.3 =
233
+
234
+ * Fix: Compress CSS files.
235
+ * Fix: External URL in Lightbox.
236
+ * Fix: Minor bug fixes
237
 
238
  = 1.6.1.2 =
239