Page Builder: Live Composer – drag and drop website builder (visual front end site editor) - Version 1.1.4

Version Description

  • September 12th 2016 =

  • Please, report any bugs on GitHub

  • You can download any previous version here

  • See the latest major changes in details with animated gifs and videos

Download this release

Release Info

Developer LiveComposer
Plugin Icon 128x128 Page Builder: Live Composer – drag and drop website builder (visual front end site editor)
Version 1.1.4
Comparing to
See all releases

Code changes from version 1.1.3 to 1.1.4

Files changed (46) hide show
  1. css/builder.min.css +1 -1
  2. css/builder/builder.main.css +8 -0
  3. css/frontend.min.css +1 -1
  4. css/frontend/main.css +40 -1
  5. css/frontend/modules.css +24 -16
  6. ds-live-composer.php +2 -2
  7. images/livecomposer-pattern.png +0 -0
  8. includes/ajax.php +12 -1
  9. includes/archive-templates.php +15 -6
  10. includes/display-functions.php +1 -0
  11. includes/editing-screen.php +6 -2
  12. includes/editorinterface.class.php +91 -60
  13. includes/header-footer.php +2 -2
  14. includes/plugin-options-framework/css/main.css +186 -3
  15. includes/plugin-options-framework/css/main.min.css +1 -1
  16. includes/plugin-options-framework/tab-getting-started.php +47 -1
  17. includes/post-options-framework/post-options-framework.php +6 -6
  18. includes/scripts.php +17 -3
  19. includes/single-templates-framework/inc/filters.php +3 -5
  20. includes/single-templates-framework/inc/functions.php +1 -1
  21. includes/upgrade.class.php +16 -24
  22. js/builder.all.min.js +4 -4
  23. js/builder/builder.module.functions.js +7 -13
  24. js/builder/builder.modulearea.class.js +4 -9
  25. js/builder/builder.plugins.js +7 -1
  26. js/builder/builder.row.functions.js +1 -1
  27. js/builder/builder.scroller.functions.js +10 -1
  28. js/builder/builder.settings.panel.functions.js +14 -4
  29. js/builder/builder.uigeneral.functions.js +23 -22
  30. js/frontend.all.min.js +1 -1
  31. js/frontend/main.js +24 -11
  32. modules/blog/module.php +16 -5
  33. modules/downloads/module.php +18 -7
  34. modules/galleries/module.php +117 -105
  35. modules/icon/module.php +20 -21
  36. modules/infobox/module.php +8 -8
  37. modules/navigation/module.php +2 -1
  38. modules/partners/module.php +2 -3
  39. modules/posts/module.php +71 -20
  40. modules/projects/module.php +2 -3
  41. modules/staff/functions.php +24 -18
  42. modules/staff/module.php +106 -106
  43. modules/testimonials/module.php +2 -3
  44. modules/woocommerce/module.php +132 -124
  45. readme.txt +66 -11
  46. templates/dslc-404.php +1 -3
css/builder.min.css CHANGED
@@ -1 +1 @@
1
- .dslc-clear,.dslc-clearfix:after,.dslc-module-heading:after,.sp-cf:after{clear:both}html{top:-32px;position:relative}body{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body.toplevel_page_livecomposer_editor{background:#464646}body div.mce-inline-toolbar-grp.mce-arrow-up{margin-top:48px}.dslca-editable-content,.dslca-editable-content *,.inline-editor,.inline-editor *,a[contenteditable=true],div[contenteditable=true],h1[contenteditable=true],h2[contenteditable=true],h3[contenteditable=true],h4[contenteditable=true],h5[contenteditable=true],h6[contenteditable=true],span[contenteditable=true]{-webkit-touch-callout:text;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}body .dslca-editable-content:hover,body .dslca-editable-content:hover *,body .inline-editor:hover,body .inline-editor:hover *{cursor:text}div:hover,div>span:hover,span>span:hover{cursor:default}body a{text-decoration:none}body a:focus{color:inherit;box-shadow:none}#dslc-preview-error{text-align:center;padding:160px 0 0;text-transform:uppercase;letter-spacing:2px}.dslc-clearfix:after,.dslc-clearfix:before,.dslc-module-heading:after,.dslc-module-heading:before{content:" ";display:table}.dslc-fl{float:left}.dslc-fr{float:right}.dslc-no-float{float:none!important}.dslca-container *{padding:0;margin:0;border:none;outline:0}.dslca-disable-selection{-ms-user-select:none!important;-moz-user-select:-moz-none!important;-khtml-user-select:none!important;-webkit-user-select:none!important;user-select:none!important}.dslca-container p{margin-bottom:20px}.dslca-container input[type=text],.dslca-container input[type=number],.dslca-container select,.dslca-container textarea{background:rgba(255,255,255,.1);border:0;color:#fff;padding:7px 10px;font-family:'Open Sans',sans-serif;font-size:12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dslca-container,.dslca-container *,.dslca-container ::after,.dslca-container ::before,.dslca-module-manage,.dslca-module-manage *,.dslca-module-manage ::after,.dslca-module-manage ::before,.dslca-sections{box-sizing:border-box}.dslca-container .dslca-module-edit-option-slider input[type=number]{padding-right:30px}.dslca-container input[type=text],.dslca-container input[type=number],.dslca-container input[type=email]{height:auto}.dslca-container select{line-height:12px;padding:6px 10px;min-height:32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.dslca-module-edit-option-select .dslca-icon,.dslca-modules-section-edit-option-select .dslca-icon{position:absolute;right:40px;top:64px;cursor:pointer}.dslca-container input[type=submit]{background:#6ba253;border:0;color:#fff;cursor:pointer;padding:8px 10px;line-height:17px}.dslca-container{font-family:'Open Sans',sans-serif;bottom:0;color:#fff;left:0;position:fixed;right:0;z-index:99999;-webkit-transition:bottom .3s;-moz-transition:bottom .3s;transition:bottom .3s}.dslca-show-js-error-hook{padding:10px;bottom:-1px;display:inline-block;color:rgba(199,199,199,.64)!important;visibility:hidden;float:left}.dslca-show-js-error-hook:hover{color:#ff4040}.dslca-show-js-error-hook .dslca-icon{color:#ff4040;margin-right:5px;margin-left:8px}#dslca-js-errors-report{display:none}.dslca-error-report{display:block;overflow:scroll;text-align:left;white-space:nowrap;font-size:12px;max-height:120px;-webkit-touch-callout:text;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.dslca-error-report:hover{cursor:text}.dslca-header{position:absolute;z-index:100;min-height:38px;bottom:100%;left:0}.dslca-header .dslca-currently-editing{position:absolute;bottom:45px;left:5px;background-color:rgba(71,70,70,.49);color:rgba(255,255,255,.5);padding:6px 10px;border-radius:3px;font-weight:400;font-family:'Open Sans',sans-serif;font-size:10px;line-height:1;display:none;white-space:nowrap;letter-spacing:.4px;text-transform:uppercase;cursor:pointer}.dslca-header .dslca-currently-editing .dslca-icon{margin-right:5px}.dslca-header .dslca-currently-editing strong{color:#fff}.dslca-header .dslca-go-to-section-hook,.dslca-header .dslca-options-filter-hook,.dslca-header .dslca-row-options-filter-hook,.dslca-pseudo-header .dslca-pseudo-options-filter-hook{bottom:0;background:#313131;border-radius:3px 3px 0 0;color:#adadad;cursor:pointer;display:block;float:left;font-size:13px;font-family:'Open Sans',sans-serif;font-weight:600;line-height:1;padding:13px 15px;position:relative}.dslca-header .dslca-options-filter-hook,.dslca-header .dslca-row-pseudo-options-filter-hook,.dslca-pseudo-options-filter-hook{display:none;margin-right:3px}.dslca-header .dslca-go-to-section-hook.dslca-active,.dslca-header .dslca-options-filter-hook.dslca-active,.dslca-header .dslca-row-options-filter-hook.dslca-active,.dslca-pseudo-header .dslca-pseudo-options-filter-hook.dslca-active{border-top-color:#4777c2;background:#3b6fbe;color:#fff;cursor:default}.dslca-header .dslca-options-filter-hook .dslca-icon,.dslca-header .dslca-row-options-filter-hook .dslca-icon,.dslca-pseudo-header .dslca-pseudo-options-filter-hook .dslca-icon{margin-right:4px}.dslca-header .dslca-options-filter-hook.dslca-active,.dslca-header .dslca-row-options-filter-hook.dslca-active,.dslca-pseudo-header .dslca-pseudo-options-filter-hook.dslca-active{background:#5890e5}.dslca-header .dslca-go-to-section-templates.dslca-active{border-top-color:#bf7671;background:#a94640}.dslca-header .dslca-go-to-section-hook .dslca-icon{font-weight:400}.dslca-module-edit-actions,.dslca-pseudo-module-edit-actions,.dslca-row-edit-actions{display:none;float:left;margin-left:4px;margin-top:1px}.dslca-module-edit-cancel,.dslca-module-edit-save,.dslca-prompt-modal-cancel-hook,.dslca-prompt-modal-confirm-hook,.dslca-pseudo-module-edit-cancel,.dslca-pseudo-module-edit-save,.dslca-row-edit-cancel,.dslca-row-edit-save,.dslca-wp-editor-cancel-hook,.dslca-wp-editor-save-hook{background:#78ca4f;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:13px;font-family:'Open Sans',sans-serif;font-weight:600;line-height:1;padding:10px 12px;margin-right:6px;text-decoration:none}.dslca-module-edit-cancel,.dslca-prompt-modal-cancel-hook,.dslca-pseudo-module-edit-cancel,.dslca-row-edit-cancel,.dslca-wp-editor-cancel-hook{background:#e55f5f}.dslca-module-edit-save:hover,.dslca-prompt-modal-confirm-hook:hover,.dslca-pseudo-module-edit-save:hover,.dslca-row-edit-save:hover,.dslca-wp-editor-save-hook:hover{background:#91dc1e;color:#fff}.dslca-module-edit-cancel:hover,.dslca-prompt-modal-cancel-hook:hover,.dslca-pseudo-module-edit-cancel:hover,.dslca-row-edit-cancel:hover,.dslca-wp-editor-cancel-hook:hover{background:#f27562;color:#fff}.dslca-actions,.dslca-pseudo-actions{position:absolute;bottom:100%;right:0;padding-bottom:5px;padding-right:5px}.dslca-sections{background:#4A7AC3}.dslca-pseudo-section,.dslca-section.dslca-module-edit,.dslca-section.dslca-modules-section-edit{background:#5890e5}.dslca-modal.dslca-modal-templates-export,.dslca-modal.dslca-modal-templates-import,.dslca-modal.dslca-modal-templates-save,.dslca-section.dslca-templates,.dslca-section.dslca-templates-load{background:#ca564f}.dslca-section{display:none;position:relative}.dslca-section-back{display:block;float:left;width:32px;line-height:74px;text-align:center;color:#fff}.dslca-section-back:hover{background:#e25c54;color:#fff}.dslca-section-title{display:block;float:left;background:#3b6fbe;color:#fff;font-family:'Open Sans',sans-serif;font-size:17px;line-height:1;padding:28px 25px}.dslca-section-title:hover,.dslca-section-title:hover *{cursor:pointer}.dslca-templates .dslca-section-title,.dslca-templates-load .dslca-section-title,.dslca-templates-save .dslca-section-title{background:#a94640}.dslca-section-title-filter{position:relative;cursor:pointer}.dslca-section-title-filter .dslca-icon{color:rgba(255,255,255,.5);margin-left:10px;vertical-align:top}.dslca-section-title-filter-options{background:#5890E5;border-radius:3px 3px 0 0;bottom:35px;display:none;min-width:100px;left:-10px;position:absolute;z-index:999999;box-shadow:0 2px 8px 0 rgba(0,0,0,.21)}.dslca-section-title-filter-options a{display:block;cursor:pointer;margin:1px 0 0;padding:10px 13px;border-top:1px solid rgba(0,0,0,.09);font-size:13px;white-space:nowrap;color:#fff}.dslca-section-title-filter-options a:hover{background:#5890E5}.dslca-section.dslca-templates-load .dslca-section-title-filter-options{background:#CA564F}.dslca-section.dslca-templates-load .dslca-section-title-filter-options a:hover{background:#e25c54}.dslca-subsection{display:none}.dslca-module{color:#fff;display:inline-block;font-family:'Roboto Condensed',sans-serif;font-size:15px;font-weight:400;line-height:1;padding:2px 12px 9px;background:#5890e5;margin:4px 2px;box-shadow:0 1px 3px 0 rgba(0,0,0,.15),-1px 1px 0 0 rgba(255,255,255,.05) inset;border-radius:2px;text-align:center;min-width:70px;transition:transform 50ms linear 10ms;z-index:1;position:relative}.dslca-module[data-id=DSLC_Sliders],.dslca-module[data-id=DSLC_Staff],.dslca-module[data-id=DSLC_Separator],.dslca-module[data-id=DSLC_Notification]{margin-right:14px}.dslca-module[data-id=DSLC_M_A]{margin-left:5px;margin-right:14px;background:#b2b7bc;box-shadow:none}.dslca-module[data-id=DSLC_M_A] .dslca-icon{color:#fff}.dslca-module[data-id=DSLC_M_A]:hover{background:#BDC3C9}.dslca-module:hover{background:#6b9ff1;box-shadow:-2px 4px 3px 0 rgba(0,0,0,.19),-1px 1px 0 0 rgba(255,255,255,.05) inset;transform:translate(1px,-2px)}div.dslca-module:hover,div.dslca-module:hover *{color:#fff;cursor:grab;cursor:-webkit-grab}div.dslca-module.dslca-module-dragging{position:relative;opacity:1}.dslc-module-front.dslca-module-dragging{box-shadow:none!important;animation:none!important}.dslc-module-front.dslca-module-ghost{background:rgba(229,163,88,.28)}div.dslca-module.dslca-module-dragging,div.dslca-module.dslca-module-dragging *,div.dslca-module.dslca-module-dragging:hover,div.dslca-module.dslca-module-dragging:hover *{cursor:grabbing;cursor:-webkit-grabbing}.dslca-manage-action.dslca-move-module-hook:hover,.dslca-manage-action.dslca-move-module-hook:hover *,.dslca-manage-action.dslca-move-modules-area-hook:hover,.dslca-manage-action.dslca-move-modules-area-hook:hover *,.dslca-manage-action.dslca-move-modules-section-hook:hover,.dslca-manage-action.dslca-move-modules-section-hook:hover *{cursor:grab;cursor:-webkit-grab}.dslca-module .dslca-icon{color:#AECEF9;vertical-align:top;font-size:20px;display:block;line-height:41px;text-align:center;text-shadow:0 1px rgba(0,0,0,.05)}.dslca-module.ui-draggable-dragging .dslca-icon{margin-right:0}.dslca-module-edit{overflow:hidden;position:relative}.dslca-module-edit-options,.dslca-modules-section-edit-options,.dslca-pseudo-module-edit-options{padding:16px 15px 5px;overflow-x:auto;min-height:58px;transform:translate(0,0)}.dslca-module-edit-option,.dslca-modules-section-edit-option,.dslca-pseudo-module-edit-option{display:table-cell;padding-bottom:20px;padding-right:30px;padding-top:30px;min-width:180px;position:relative}.dslca-module-edit-option-hidden{display:none!important}.dslca-module-edit-option input[type=text],.dslca-module-edit-option input[type=text]:focus,.dslca-module-edit-option input[type=number],.dslca-module-edit-option input[type=number]:focus,.dslca-module-edit-option input[type=email],.dslca-module-edit-option input[type=email]:focus,.dslca-module-edit-option select,.dslca-module-edit-option select:focus,.dslca-module-edit-option textarea,.dslca-module-edit-option textarea:focus,.dslca-pseudo-module-edit-field{background:#6c9fed;border:1px solid #447bce;border-radius:3px;width:100%;min-width:140px;height:auto}.dslca-module-edit-option-text,.dslca-pseudo-module-edit-option{width:235px}.dslca-module-edit-option-textarea{width:500px}.dslca-module-edit-label,.dslca-modules-section-edit-label,.dslca-pseudo-module-edit-label{color:#fff;display:block;font-family:'Open Sans',sans-serif;font-weight:400;font-size:13px;line-height:1;margin-bottom:10px;padding-right:40px;white-space:nowrap;position:relative}.dslca-module-edit-field-font{min-width:140px}.dslca-module-edit-field-font-wrapper,.dslca-module-edit-field-icon-wrapper{display:table-cell;padding-right:5px;position:relative}.dslca-module-edit-field-font,.dslca-module-edit-field-icon{vertical-align:middle}.dslca-options-iconbutton{background:#3b6fbe;border:1px solid #3565ad;border-radius:3px;cursor:pointer;display:table-cell;height:32px;text-align:center;vertical-align:middle;padding:0 10px}.dslca-options-iconbutton.dslca-module-edit-field-font-prev{border-top-right-radius:0;border-bottom-right-radius:0}.dslca-options-iconbutton.dslca-module-edit-field-font-next{border-top-left-radius:0;border-bottom-left-radius:0;border-left-width:0}.dslca-options-iconbutton .dslca-icon{color:#8db6f3;font-size:12px;line-height:30px}.dslca-module-edit-field-font-suggest,.dslca-module-edit-field-icon-suggest{color:#fff;color:rgba(255,255,255,.5);position:absolute;left:11px;top:0;line-height:32px;font-family:"Open Sans",HelveticaNeue,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px}.dslca-module-edit-option-checkbox{white-space:nowrap;width:auto}.dslca-module-edit-option-checkbox input[type=checkbox]{display:none}.dslca-module-edit-option-checkbox-wrapper{display:table-cell;background:#3b6fbe;border-radius:3px;border:1px solid #3565ad;padding:0 10px}.dslca-module-edit-option-checkbox-single{padding:6px 8px;display:table-cell}.dslca-module-edit-option-checkbox-hook{cursor:pointer;font-size:13px;font-weight:400;font-family:'Open Sans',sans-serif}.dslca-module-edit-option-checkbox-hook .dslca-icon{margin-right:10px}.dslca-module-edit-option-radio{width:auto}.dslca-module-edit-option-radio input[type=radio]{vertical-align:bottom}.dslca-module-edit-option-radio-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px}.dslca-module-edit-option-radio-single{margin:6px;display:inline-block;font-size:12px;font-weight:400;font-family:'Open Sans',sans-serif}.dslca-module-edit-field-icon-switch-set{position:absolute;margin-top:8px;font-size:10px;line-height:13px;cursor:pointer}.dslca-module-edit-field-icon-switch-set .dslca-icon{color:rgba(255,255,255,.7);margin-right:4px}.dslca-module-edit-field-icon-switch-sets{background:#fff;color:#8a8a8a;font-family:'Open Sans',sans-serif;font-size:13px;display:none;border-radius:3px;padding:20px 25px;border:1px solid rgba(0,0,0,.12);position:absolute;-moz-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);text-align:center;z-index:999999}.dslca-module-edit-field-icon-switch-sets span{display:block;padding:5px 10px;cursor:pointer;border-radius:3px}.dslca-module-edit-field-icon-switch-sets span:hover{background:rgba(0,0,0,.1)}.dslca-module-edit-field-icon-switch-sets span.dslca-active{background:#5890e5;color:#fff}.dslca-module-edit-option-box_shadow,.dslca-module-edit-option-text_shadow{width:auto}.dslca-module-edit-option-box-shadow-wrapper,.dslca-module-edit-option-text-shadow-wrapper{display:table-cell;background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:2px 10px;font-size:0}.dslca-module-edit-option-box-shadow-single,.dslca-module-edit-option-text-shadow-single{display:table-cell;width:auto;line-height:1;vertical-align:middle;white-space:nowrap;padding-left:20px;position:relative}.dslca-module-edit-option-box-shadow-single input[type=checkbox],.dslca-module-edit-option-text-align input[type=checkbox]{display:none}.dslca-module-edit-option-box-shadow-single:first-child,.dslca-module-edit-option-text-shadow-single:first-child{padding-left:0}.dslca-module-edit-option-box-shadow-single span,.dslca-module-edit-option-text-shadow-single span{font-size:12px;margin-right:10px;vertical-align:middle}.dslca-module-edit-option-box-shadow-single input[type=text],.dslca-module-edit-option-box-shadow-single input[type=text]:focus,.dslca-module-edit-option-box-shadow-single input[type=number],.dslca-module-edit-option-box-shadow-single input[type=number]:focus,.dslca-module-edit-option-text-shadow-single input[type=text],.dslca-module-edit-option-text-shadow-single input[type=text]:focus,.dslca-module-edit-option-text-shadow-single input[type=number],.dslca-module-edit-option-text-shadow-single input[type=number]:focus{width:60px!important;min-width:auto;padding:3px 7px;vertical-align:middle}.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook{margin-right:0}.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook .dslca-icon{margin-left:10px;margin-right:0;font-size:13px;font-weight:400}.dslca-module-edit-option-text-align{width:auto}.dslca-module-edit-option-text-align-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px;font-size:0;display:table-cell}.dslca-module-edit-option-text-align-single{display:table-cell;font-size:14px;text-align:center;line-height:1;vertical-align:middle;padding:5px 12px}.dslca-module-edit-option-text-align-hook{cursor:pointer;opacity:.6;line-height:20px}.dslca-module-edit-option-text-align-hook:hover{opacity:.8}.dslca-module-edit-option-text-align-hook.dslca-active{opacity:1}.dslca-module-edit-options-tab-hook,.dslca-pseudo-module-edit-options-tab-hook{color:#fff;cursor:pointer;font-family:'Open Sans',sans-serif;font-size:12px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;padding:6px 10px;border-radius:3px;float:left}.dslca-module-edit-options-tab-hook.dslca-active,.dslca-module-edit-options-tab-hook.dslca-active:hover{background:rgba(0,0,0,.11);box-shadow:-1px 1px 1px 0 rgba(0,0,0,.22) inset}.dslca-module-edit-options-tab-hook:hover,.dslca-pseudo-module-edit-options-tab-hook:hover{background:rgba(169,239,255,.17);color:#fff}.dslca-module-edit-options-tab-hook[data-id=animation_styling],.dslca-module-edit-options-tab-hook[data-id=presets_styling]{float:right}.dslca-clear-styling-button{border:1px solid rgba(255,255,255,.4);border-radius:4px;display:inline-block!important;float:right;padding:4px 6px;position:absolute;right:0;top:15px;color:#a0c0f0;cursor:pointer;font-size:11px;font-weight:900;margin-right:18px}.dslca-clear-styling-button:hover{color:#fff}.dslca-modules-section-edit{overflow:hidden;position:relative}.dslca-modules-section-edit-option-hidden{display:none!important}.dslca-modules-section-edit-option input[type=text],.dslca-modules-section-edit-option input[type=number],.dslca-modules-section-edit-option input[type=email],.dslca-modules-section-edit-option select,.dslca-modules-section-edit-option textarea{background:#6c9fed;border:1px solid #447bce;width:100%;height:auto}.dslca-modules-section-edit-option-text{width:235px}.dslca-modules-section-edit-option-textarea{width:500px}.dslca-modules-section-edit-option-checkbox{width:auto}.dslca-modules-section-edit-option-checkbox input[type=checkbox]{display:none}.dslca-modules-section-edit-option-checkbox-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px}.dslca-modules-section-edit-option-checkbox-single{margin:6px;display:table-cell;white-space:nowrap;padding:8px}.dslca-modules-section-edit-option-checkbox-hook{cursor:pointer;font-size:12px;font-weight:400;font-family:'Open Sans',sans-serif}.dslca-modules-section-edit-option-checkbox-hook .dslca-icon{margin-right:10px}.dslca-modules-section-settings{display:none}.dslca-templates{position:relative}.dslca-template,.dslca-templates .dslca-go-to-section-hook,.dslca-templates .dslca-open-modal-hook{border-right:1px solid rgba(0,0,0,.12);color:#fff;cursor:pointer;display:block;float:left;font-family:'Open Sans',sans-serif;font-size:15px;line-height:1;padding:29px 29px 27px}.dslca-template:hover,.dslca-templates .dslca-go-to-section-hook:hover,.dslca-templates .dslca-open-modal-hook:hover{background:#e25c54;color:#fff}.dslca-templates .dslca-go-to-section-hook .dslca-icon,.dslca-templates .dslca-open-modal-hook .dslca-icon{color:rgba(255,255,255,.5);margin-right:9px;vertical-align:top;line-height:14px}.dslca-templates-load{border-top:1px solid #d8827d}.dslca-template-origin-user{padding-right:50px}.dslca-template .dslca-delete-template-hook{background:rgba(0,0,0,.2);border-radius:3px;display:inline-block;margin-top:-6px;margin-left:7px;padding:5px 7px;cursor:pointer}.dslca-template-save-form input[type=text]{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;margin-bottom:15px;width:224px}#dslca-export-code,#dslca-import-code{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;height:150px;margin-bottom:15px;overflow:hidden;width:224px}.dslca-template-export-form .dslca-close-modal-hook{display:block;width:auto}.dslca-switch{background:#1783bc;border-radius:50%;bottom:-50px;cursor:pointer;height:100px;left:45%;position:fixed;width:100px}.dslca-cancel,.dslca-submit,.dslca-submit-secondary{color:#fff;cursor:pointer;font-size:14px;font-weight:700;line-height:34px;width:110px;display:inline-block;border-radius:3px;font-family:'Open Sans',sans-serif;text-align:center}.dslca-submit{background:#4cc12d;position:relative}.dslca-submit-secondary{background:#5890e5}.dslca-cancel{background:#e55f5f}.dslca-module-reloading{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(255,255,255,.8);color:#5890e5}.dslca-module-reloading .dslca-icon{font-size:20px;position:absolute;top:50%;left:50%;margin-left:-10px}.dslca-module-placeholder{position:relative;background:#5890e5;height:40px;float:left}.dslc-modules-area.dslc-modules-area-empty{margin-bottom:25px;min-height:120px;box-shadow:0 0 0 2px rgba(173,175,179,.4);text-align:center;vertical-align:middle}.dslc-modules-area-empty::after{content:"Drop modules here";display:inline-block;opacity:1;color:rgba(173,175,179,.4);left:0;right:0;top:50%;margin-top:-10px;position:absolute;font-size:15px;font-family:'Open Sans',sans-serif}.dslc-module-front{position:relative;min-height:30px}body.module-editing-in-progress .dslc-module-front:not(.dslca-module-being-edited),body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-section-being-edited){opacity:.5;cursor:default!important}body.module-editing-in-progress .dslc-module-front:not(.dslca-module-being-edited):before,body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-section-being-edited):before{content:"";position:absolute;height:100%;width:100%;z-index:199999}.dslc-module-front:hover,.dslc-module-front:hover *{cursor:pointer}.dslc-modules-area:hover{box-shadow:0 0 0 2px rgba(173,175,179,.4)}.dslc-modules-area:hover .dslc-module-front:hover{box-shadow:0 0 0 2px #5890e5}.dslc-modules-area.dslca-options-hovered .dslc-module-front{box-shadow:0 0 0 0 transparent}.dslc-control-toggle{cursor:pointer;font-size:15px;opacity:.5;position:absolute;right:0}.dslc-control-toggle:hover{opacity:1}.dslca-option-off{opacity:.5}.dslc-control-toggle:before{content:"\f205"}.dslca-option-off .dslc-control-toggle:before{content:"\f204"}.dslc-modules-area{outline:0}.dslc-modules-area-empty.dslc-modules-area.dslca-options-hovered,.dslc-modules-area.dslca-options-hovered{box-shadow:0 0 0 2px rgba(173,175,179,.4)}.dslc-modules-area-empty.dslca-options-hovered{outline:0!important}.dslc-module-front.ui-sortable-helper{background:#5890e5;border-radius:3px;height:0!important;width:0!important;overflow:hidden;opacity:1!important;cursor:move;padding:0!important;border:0!important;outline:0!important}.dslc-module-front.ui-sortable-helper *{opacity:0}.dslc-module-front .dslc-sortable-helper-icon{display:none;position:absolute;left:25px;top:25px;color:rgba(255,255,255,.5)}.dslc-module-front.ui-sortable-helper .dslc-sortable-helper-icon{display:block;opacity:1}.dslc-modules-area.ui-sortable-helper{cursor:move;border:0!important;outline:0!important}.dslc-modules-area.ui-sortable-helper *{opacity:0}.dslc-modules-section.ui-sortable-helper{max-height:0!important;width:100%!important;overflow:hidden!important;opacity:0!important;padding:0!important;outline:0!important;border:0!important}.dslca-save-composer,.dslca-save-draft-composer{background:#313131;border-radius:3px 6px 6px 3px;cursor:pointer;font-size:13px;font-weight:400;font-family:'Open Sans',sans-serif;float:left;line-height:1;opacity:0;display:none;padding:10px 43px 10px 12px;text-decoration:none;position:relative;margin-right:6px}.dslca-save-composer-helptext{color:#adadad;white-space:nowrap}.dslca-save-composer .dslca-save-composer-icon,.dslca-save-draft-composer .dslca-save-draft-composer-icon{background:#78ca4f;bottom:0;border-radius:0 3px 3px 0;border-top:1px solid #b8e3a2;cursor:pointer;color:#fff;display:block;position:absolute;right:0;top:0;text-align:center;width:30px}.dslca-save-composer .dslca-save-composer-icon .dslca-icon{color:#fff;margin:0;position:relative;top:10px}.dslca-save-draft-composer-helptext{color:#adadad;white-space:nowrap}.dslca-save-draft-composer .dslca-save-draft-composer-icon .dslca-icon{color:#fff;margin:0;position:relative;top:10px}.dslca-no-content{position:absolute;display:none;border:2px dashed #5890e5;padding:35px 10px;width:100%;text-align:center}.dslca-add-modules-section-hook,.dslca-import-modules-section-hook,.dslca-no-content-primary{border-radius:3px;font-size:15px;line-height:1;font-family:'Open Sans',sans-serif}.dslc-modules-area-empty .dslca-no-content{display:block}.dslca-no-content-primary{color:#5890e5;display:inline-block;background:rgba(255,255,255,.75);margin:0;padding:13px}.dslca-no-content .dslca-icon{margin-right:10px}.dslc-modules-area.dslc-1-col .dslca-no-content-help-text,.dslc-modules-area.dslc-2-col .dslca-no-content-help-text{display:none}.dslc-modules-area.dslc-1-col .dslca-icon,.dslc-modules-area.dslc-2-col .dslca-icon{margin-right:0}.dslca-templates-actions{background:rgba(0,0,0,.3);position:absolute;bottom:0;left:0;right:0}.dslca-add-modules-section{text-align:center;width:1180px;max-width:100%;overflow:hidden;margin:30px auto 120px}.dslca-add-modules-section-hook,.dslca-import-modules-section-hook{background:#e5855f;color:#fff!important;cursor:pointer;display:block;float:left;padding:14px 0;text-decoration:none;width:80%}.dslca-add-modules-section-hook:hover,.dslca-import-modules-section-hook:hover{background:#FF9162;color:#fff}.dslca-add-modules-section .dslca-icon,.dslca-import-modules-section .dslca-icon{margin-right:10px;color:rgba(255,255,255,.5)}.dslca-import-modules-section-hook{float:right;width:18%}.dslc-modules-section{position:relative}.dslc-modules-section:hover{box-shadow:0 0 0 2px #eabba9}.dslca-manage-action{color:#fff;display:inline-block;text-decoration:none;font-size:12px;line-height:15px;text-align:center;padding:5px 6px;min-width:20px;margin-right:-2px}.dslca-icon{vertical-align:middle}.dslca-manage-action:first-child{padding-left:8px;border-radius:3px 0 0 3px}.dslca-manage-action:last-child{padding-right:8px;border-radius:0 3px 3px 0}.dslca-modules-section-manage{bottom:0;left:0;right:0;visibility:hidden;margin-bottom:-13px;padding-right:0;position:absolute;z-index:99998;width:100%;text-align:center}.dslca-modules-section-manage:hover{z-index:99999}.dslc-modules-section:hover .dslca-modules-section-manage{visibility:visible!important}.dslca-module-manage-inner,.dslca-modules-section-manage-inner{background:#e5855f;border-radius:3px;display:inline-block;line-height:1;position:relative;z-index:99999;vertical-align:middle;opacity:0;cursor:pointer}.dslca-modules-section-manage .dslca-manage-action:hover{background:#da7348}.dslca-module-manage-inner .dslca-manage-action:hover{background:#507FC9}.dslca-modules-section-placeholder{position:relative;background:#E5855F;height:2px;width:100%;margin:10px 0}.dslca-modules-section-placeholder .dslca-placeholder-help-text-inner{background:#E5855F}.dslca-placeholder-help-text{position:absolute;left:0;bottom:0;right:0;text-align:center}.dslca-placeholder-help-text-inner{background:#5890e5;border-radius:3px 3px 0 0;color:#fff;font-family:'Open Sans',sans-serif;font-style:12px;font-weight:700;display:inline-block;padding:5px 10px}.dslca-add-modules-area-hook{background:#5fb7e5;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:11px;font-family:'Open Sans',sans-serif;font-weight:700;line-height:1;margin-right:7px;padding:7px 10px;text-decoration:none;vertical-align:middle}.dslca-add-modules-area-hook:hover{color:#fff}.dslca-add-modules-area-hook .dslca-icon{margin-right:5px;color:rgba(255,255,255,.5);position:relative;top:1px}.dslc-modules-area{position:relative}.dslca-modules-area-drag-in-progress .dslc-modules-area{margin-right:1%!important;clear:none}.dslca-modules-area-manage{visibility:hidden;opacity:.5;-webkit-transition:opacity .2s ease-in-out;-moz-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;bottom:0;position:absolute;left:auto;right:100%;top:0;margin-right:0;text-align:center;z-index:999999}.dslc-modules-area:hover .dslca-modules-area-manage{visibility:visible;opacity:.5}.dslc-modules-area .dslca-modules-area-manage:hover{opacity:1}.dslca-modules-area-manage.dslca-horizontal{top:50%}.dslc-modules-section.dslc-full .dslca-modules-area-manage{right:auto;left:0;margin-right:0}.dslca-modules-area-manage-inner{background:#b2b7bc;border-radius:3px 0 0 3px;border-right-width:0;display:inline-block;margin-top:10px;position:relative;z-index:99999}.dslca-horizontal .dslca-modules-area-manage-inner{margin-top:-47px}.dslc-modules-section.dslc-full .dslca-modules-area-manage-inner{border-radius:0 3px 3px 0}.dslca-modules-area-manage .dslca-manage-action{color:#fff;display:block;text-decoration:none;font-size:12px;line-height:16px;text-align:center;margin:0}.dslca-modules-area-manage-inner .dslca-manage-action:first-child{margin-left:0;margin-top:0;padding-top:6px;border-radius:3px 0 0}.dslca-modules-area-manage .dslca-manage-action:last-child{padding-bottom:6px;border-radius:0 0 0 3px}#dslc-content .dslca-modules-area-manage .dslca-manage-action:hover{color:#fff;background:#a4a5a9}#dslc-content .dslca-modules-area-manage .dslca-change-width-modules-area-hook{position:relative}#dslc-content .dslca-modules-area-manage .dslca-icon{font-size:12px}.dslca-change-width-module-options,.dslca-change-width-modules-area-options{background:#fff;border:1px solid #d9dcdf;border-radius:3px;display:none;padding:7px;position:absolute;top:-10px;left:22px;z-index:99999;width:120px}.dslca-change-width-module-options{top:30px}.dslca-change-width-modules-area-options:after,.dslca-change-width-modules-area-options:before{right:100%;top:18px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-change-width-modules-area-options:after{border-color:rgba(255,255,255,0);border-right-color:#fff;border-width:10px;margin-top:-10px}.dslca-change-width-modules-area-options:before{border-color:rgba(205,205,205,0);border-right-color:#cdcdcd;border-width:11px;margin-top:-11px}.dslca-change-width-module-options span,.dslca-change-width-modules-area-options span{background:#4785db;border-radius:3px;display:inline-block;font-family:'Open Sans',sans-serif;font-size:13px;font-weight:400;line-height:24px;max-width:44px;margin:1px;text-align:center;width:44px}.dslca-change-width-module-options span:hover,.dslca-change-width-modules-area-options span:hover{background:#6B9FF1}.dslca-change-width-module-options span:first-child,.dslca-change-width-modules-area-options span:first-child{background:0 0;color:#5e636a;display:inline-block;font-size:13px;margin-bottom:5px;max-width:none;width:auto}#dslc-content .dslca-module-manage .dslca-module-manage-hook:hover,.dslca-section-scroller-next .dslca-icon,.dslca-section-scroller-prev .dslca-icon{color:#fff}.dslc-module-front.dslc-1-col .dslca-change-width-module-options span[data-size="1"],.dslc-module-front.dslc-10-col .dslca-change-width-module-options span[data-size="10"],.dslc-module-front.dslc-11-col .dslca-change-width-module-options span[data-size="11"],.dslc-module-front.dslc-12-col .dslca-change-width-module-options span[data-size="12"],.dslc-module-front.dslc-2-col .dslca-change-width-module-options span[data-size="2"],.dslc-module-front.dslc-3-col .dslca-change-width-module-options span[data-size="3"],.dslc-module-front.dslc-4-col .dslca-change-width-module-options span[data-size="4"],.dslc-module-front.dslc-5-col .dslca-change-width-module-options span[data-size="5"],.dslc-module-front.dslc-6-col .dslca-change-width-module-options span[data-size="6"],.dslc-module-front.dslc-7-col .dslca-change-width-module-options span[data-size="7"],.dslc-module-front.dslc-8-col .dslca-change-width-module-options span[data-size="8"],.dslc-module-front.dslc-9-col .dslca-change-width-module-options span[data-size="9"],.dslc-modules-area.dslc-1-col .dslca-change-width-modules-area-options span[data-size="1"],.dslc-modules-area.dslc-10-col .dslca-change-width-modules-area-options span[data-size="10"],.dslc-modules-area.dslc-11-col .dslca-change-width-modules-area-options span[data-size="11"],.dslc-modules-area.dslc-12-col .dslca-change-width-modules-area-options span[data-size="12"],.dslc-modules-area.dslc-2-col .dslca-change-width-modules-area-options span[data-size="2"],.dslc-modules-area.dslc-3-col .dslca-change-width-modules-area-options span[data-size="3"],.dslc-modules-area.dslc-4-col .dslca-change-width-modules-area-options span[data-size="4"],.dslc-modules-area.dslc-5-col .dslca-change-width-modules-area-options span[data-size="5"],.dslc-modules-area.dslc-6-col .dslca-change-width-modules-area-options span[data-size="6"],.dslc-modules-area.dslc-7-col .dslca-change-width-modules-area-options span[data-size="7"],.dslc-modules-area.dslc-8-col .dslca-change-width-modules-area-options span[data-size="8"],.dslc-modules-area.dslc-9-col .dslca-change-width-modules-area-options span[data-size="9"]{background:#3B6FBE;box-shadow:1px 1px 3px rgba(0,0,0,.28) inset;cursor:default}.dslc-modules-area-empty .dslca-modules-area-manage{top:12px;bottom:auto}.dslc-modules-area-empty .dslca-modules-area-manage-inner{margin-top:0}.dslca-modules-area-placeholder{position:relative;background:#5890e5;height:2px;margin:10px;float:left}body.rtl .dslca-modules-area-placeholder{float:right}.dslca-module-manage{display:block;position:absolute;left:50%;margin-left:-47px;top:-2px;text-align:center;z-index:99999;overflow:hidden;line-height:1}.dslca-module-manage.dslca-module-manage-change-width-active{z-index:100000}.dslca-module-manage-inner{background:#5890e5}.dslca-module-manage-inner.dslca-dev-mode{background:#444;border-color:#333}#dslc-content .dslc-modules-area.dslc-1-col .dslca-module-manage .dslca-module-manage-hook,#dslc-content .dslc-modules-area.dslc-2-col .dslca-module-manage .dslca-module-manage-hook{margin-right:-2px}#dslc-content .dslca-module-manage .dslca-module-manage-hook:first-child{margin-top:0;border-radius:0 0 0 3px}#dslc-content .dslca-module-manage .dslca-module-manage-hook:last-child{margin-right:0!important;border-radius:0 0 3px}.dslca-section-scroller{position:relative;height:74px;margin-right:80px;overflow:hidden}.dslca-section-scroller-inner{position:absolute;top:0;left:0;bottom:0;width:999999px;text-align:left;-webkit-transition:left .3s ease-in-out;-moz-transition:left .3s ease-in-out;transition:left .3s ease-in-out}.dslca-prompt-modal-actions,.dslca-prompt-modal-msg{text-align:center}.dslca-section-scroller-content{display:inline-block;padding-right:80px}.dslca-section-scroller-fade{background:-moz-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(88,144,229,0)),color-stop(100%,rgba(70,116,185,1)));background:-webkit-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:-o-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:-ms-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:linear-gradient(to right,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#00004799', endColorstr='#5890e5', GradientType=1 );position:absolute;right:80px;width:20px;bottom:0;top:0;z-index:1}.dslca-section-scroller-nav{position:absolute;right:0;top:0;bottom:0;overflow:hidden;width:80px;font-size:30px}.dslca-section-scroller-nav>a{cursor:pointer;display:flex;justify-content:center;align-items:center;width:40px;position:absolute;left:0;top:0;bottom:0;text-decoration:none;outline:0!important;background:rgba(0,0,0,.2)}.dslca-section-scroller-nav>a:hover{background:rgba(0,0,0,.15)}.dslca-section-scroller-nav>a:active{background:rgba(0,0,0,.25)}.dslca-section-scroller-nav .dslca-section-scroller-next{left:auto;right:0}.dslca-modal{background:#fff;border-radius:3px;color:#444;display:none;padding:14px 17px;position:absolute;bottom:55px;-moz-box-shadow:0 1px 6px rgba(0,0,0,.2);-webkit-box-shadow:0 1px 6px rgba(0,0,0,.2);box-shadow:0 1px 6px rgba(0,0,0,.2);z-index:9999991}.dslca-modal:after{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-color:rgba(255,255,255,0);border-top-color:#fff;border-width:7px;left:50%;margin-left:-7px}.dslca-prompt-modal-msg textarea.js-error-text{width:100%;min-height:80px;padding:5px;line-height:1.6em;font-size:13px;color:#848484}.dslca-prompt-modal-confirm-hook{margin-right:7px}.dslca-prompt-modal{background:rgba(255,255,255,.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999;height:100%}.dslca-prompt-modal-content{background:#fff;border-radius:3px;top:50%;position:relative;width:400px;margin:-123px auto 0;padding:30px 20px;-moz-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12)}.dslca-prompt-modal-descr,.dslca-prompt-modal-title{display:block;font-family:'Open Sans',sans-serif;margin-bottom:22px}.dslca-prompt-modal-title{color:#424242;font-size:16px;font-weight:700;line-height:1}.dslca-prompt-modal-descr{color:#8a8a8a;font-size:13px;font-weight:400;line-height:22px}.dslca-prompt-modal-descr textarea{width:100%;min-height:80px;padding:5px;font-size:11px}.dslca-prompt-modal-actions .dslc-icon{color:rgba(255,255,255,.5);margin-right:6px}.dslca-accordion-plain-content,.dslca-module-options-front,.dslca-module-options-front-backup,.dslca-tab-plain-content{display:none}#dslca-code,#dslca-content-for-search,.dslca-module-code,.dslca-module-edit-option-size{display:none!important}#dslca-wysiwyg-actions-cancel-hook,#dslca-wysiwyg-actions-save-hook{border-radius:3px;display:inline-block;padding:13px 10px;position:relative;color:#fff;font-size:12px;font-family:'Open Sans',sans-serif;font-weight:700;cursor:pointer;line-height:1}#dslca-wysiwyg{position:absolute;top:0;left:-110%;z-index:99999;height:200px;padding-bottom:60px}#dslcawysiwyg{overflow:hidden;height:100px}#wp-dslcawysiwyg-editor-container{height:82%}#dslc-content .dslc-module-front.dslca-module-wysiwyg-active{opacity:0;min-height:200px}#dslca-wysiwyg-actions{bottom:0;position:absolute;color:#fff;left:0;line-height:1;right:0;text-align:right}#dslca-wysiwyg-actions-save-hook{background:#5bd63b;text-align:center}#dslca-wysiwyg-actions-cancel-hook{background:#e55858;text-align:center}#dslc-content .dslca-wysiwyg-actions-edit{position:absolute;top:0;right:0;overflow:hidden}#dslc-content .dslca-wysiwyg-actions-edit-hook{background:#5890e5;color:#fff;cursor:pointer;display:block;font-size:12px;font-family:'Open Sans',sans-serif;line-height:1;font-weight:700;position:relative;top:-50px;padding:7px 10px;border-radius:0 0 0 3px;letter-spacing:0}#dslc-content .dslca-wysiwyg-actions-edit-hook:hover{background:#5080C9}body.dslca-enabled #mce-modal-block,body.dslca-enabled #mceModalBlocker,body.dslca-enabled #wp-link-backdrop,body.dslca-enabled .ui-dialog,body.dslca-enabled .ui-widget-overlay{z-index:99999999!important}body.dslca-enabled #dslcawpeditor_forecolor_menu,body.dslca-enabled #menu_dslcawpeditor_dslcawpeditor_formatselect_menu,body.dslca-enabled #wp-link-wrap,body.dslca-enabled .clearlooks2,body.dslca-enabled .mce-menu,body.dslca-enabled .mce-panel{z-index:999999991!important}body.dslca-enabled .mce_fullscreen{display:none}@keyframes dslcBounceIn{0%{-webkit-transform:scale(0);-moz-transform:scale(0);transform:scale(0);opacity:0}70%{-webkit-transform:scale(1.05);-moz-transform:scale(1.05);transform:scale(1.05)}90%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}100%{opacity:1}}@-moz-keyframes dslcBounceIn{0%{-moz-transform:scale(0);transform:scale(0);filter:alpha(opacity=0);opacity:0}70%{-moz-transform:scale(1.05);transform:scale(1.05)}90%{-moz-transform:scale(1);transform:scale(1)}100%{filter:alpha(opacity=100);opacity:1}}@-webkit-keyframes dslcBounceIn{0%{-webkit-transform:scale(0);transform:scale(0);filter:alpha(opacity=0);opacity:0}70%{-webkit-transform:scale(1.05);transform:scale(1.05)}90%{-webkit-transform:scale(1);transform:scale(1)}100%{filter:alpha(opacity=100);opacity:1}}@keyframes dslcBounceOut{0%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(.9);-moz-transform:scale(.9);transform:scale(.9)}}@-moz-keyframes dslcBounceOut{0%{-moz-transform:scale(1);transform:scale(1)}100%{-moz-transform:scale(.9);transform:scale(.9)}}@-webkit-keyframes dslcBounceOut{0%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(.9);transform:scale(.9)}}@keyframes dslcBounceOut2{0%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scale(1.01);-moz-transform:scale(1.01);transform:scale(1.01)}100%{-webkit-transform:scale(.9);-moz-transform:scale(.9);transform:scale(.9)}}@-moz-keyframes dslcBounceOut2{0%{-moz-transform:scale(1);transform:scale(1)}30%{-moz-transform:scale(1.01);transform:scale(1.01)}100%{-moz-transform:scale(.9);transform:scale(.9)}}@-webkit-keyframes dslcBounceOut2{0%{-webkit-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scale(1.01);transform:scale(1.01)}100%{-webkit-transform:scale(.9);transform:scale(.9)}}@keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:.7}}@-moz-keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:.7}}@-webkit-keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:.7}}@keyframes dslcRotate{0%{-webkit-transform:rotate(0);-moz-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dslcRotate{0%{-moz-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dslcRotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.dslc-modules-area.dslca-init-animation,.dslca-save-composer.dslca-init-animation,.dslca-save-draft-composer.dslca-init-animation{display:block;opacity:1;-webkit-animation-name:dslcBounceIn;-moz-animation-name:dslcBounceIn;animation-name:dslcBounceIn;animation-duration:.6s;-webkit-animation-duration:.6s}.dslc-editable-content.dslc-pen,.dslc-editable-content:focus{outline:rgba(0,0,0,.2) dashed 1px}span.dslca-manage-action,span.dslca-manage-action:hover,span.dslca-manage-action:hover *{cursor:pointer}.dslca-module-being-edited .dslca-module-manage{display:none!important}.dslc-notification .dslca-refresh-module-hook{right:35px}.dslca-container .dslca-module-edit-option-slider,.dslca-container .dslca-modules-section-edit-option-slider{position:relative}.dslca-container .dslca-module-edit-field-slider,.dslca-container .dslca-modules-section-edit-field-slider{background:#6c9fed;border-radius:5px;position:relative;height:5px;margin-top:20px}.dslca-container .dslca-module-edit-field-slider .ui-slider-handle,.dslca-container .dslca-modules-section-edit-field-slider .ui-slider-handle{background:#3b6fbe;border:1px solid #3565ad;border-radius:50%;top:-6px;position:absolute;width:15px;height:15px;margin-left:-7px}.dslca-container .dslca-module-edit-field-slider-tooltip,.dslca-container .dslca-modules-section-edit-field-slider-tooltip{display:none;position:absolute;background:#fff;border-radius:3px;bottom:20px;line-height:1;padding:10px;color:#838383;margin-left:-15px;font-size:14px}.dslca-container .dslca-module-edit-field-slider-tooltip:after,.dslca-container .dslca-modules-section-edit-field-slider-tooltip:after{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-color:#fff transparent transparent;border-width:6px;left:50%;margin-left:-6px}.dslca-module-edit-option-slider input,.dslca-modules-section-edit-option-slider input{cursor:ew-resize}.dslca-module-edit-option-slider:hover:after,.dslca-modules-section-edit-option-slider:hover:after{content:"click and drag";display:block;font-size:11px;margin-top:5px;opacity:.4;position:absolute}.dslca-module-edit-field-numeric-wrap,.dslca-modules-section-edit-field-numeric-wrap{position:relative}.dslca-module-edit-field-numeric-ext,.dslca-modules-section-edit-field-numeric-ext{position:absolute;color:rgba(255,255,255,.8);font-size:12px;right:15px;top:50%;margin-top:-5px;line-height:1}.dslca-module-edit-option-slider .dslca-module-edit-field-numeric-ext{right:10px;top:14px}.dslca-separator-empty{height:1px;line-height:0;border-bottom:1px solid rgba(0,0,0,.06);text-align:center;position:absolute;top:50%;left:0;right:0}.dslca-separator-empty span{background:#fff;border-radius:3px;color:#a0a0a0;display:inline-block;font-family:"Open Sans",sans-serif;font-size:10px;line-height:1;padding:3px 6px;position:relative;top:-7px}.dslca-wp-editor{background:rgba(0,0,0,.7);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999}.dslca-wp-editor-inner{background:#fff;position:fixed;top:30px;left:30px;right:30px;bottom:30px;padding:50px}.dslca-wp-editor-actions,.dslca-wp-editor-notification{margin-top:30px}#wp-dslcawpeditor-editor-container{border:1px solid #ddd}.dslca-invisible-overlay{display:block;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99998}.dslca-disable-selection .dslca-invisible-overlay{display:block}.dslca-loading-modal{background:rgba(0,0,0,.75);position:fixed;top:0;left:0;right:0;bottom:200px;z-index:999999}.dslca-loading-modal-content{position:relative;top:200px;width:580px;margin:0 auto}.dslca-loading-modal-msg{background:#fff;border-radius:3px;color:#707070;font-size:14px;font-family:'Open Sans',sans-serif;font-weight:400;line-height:1.5;padding:35px 25px;text-align:center;margin-bottom:10px;-moz-box-shadow:0 0 7px #000;-webkit-box-shadow:0 0 7px #000;box-shadow:0 0 7px #000}.dslca-loading-modal-actions{text-align:right}.dslca-loading-modal-cancel-hook,.dslca-loading-modal-confirm-hook{background:#e55f5f;border-radius:3px;cursor:pointer;color:#fff;display:inline-block;font-size:14px;font-family:'Open Sans',sans-serif;font-weight:700;line-height:1;padding:13px 15px}.dslca-loading-modal-confirm-hook{background:#4cc12d;margin-right:7px}.dslca-module-edit-field-ttip-content{display:none}.dslca-module-edit-field-icon-ttip-hook,.dslca-module-edit-field-ttip-hook{background:#3b6fbe;color:#5890e5;cursor:pointer;border-radius:50%;position:relative;display:inline-block;width:13px;height:13px;margin-left:10px;vertical-align:bottom}.dslca-module-edit-field-icon-ttip-hook .dslca-icon,.dslca-module-edit-field-ttip-hook .dslca-icon{position:absolute;left:5px;font-weight:400;font-size:10px;top:1px}.dslca-module-edit-field-icon-ttip,.dslca-module-edit-field-ttip{background:#fff;color:#8a8a8a;font-family:'Opens Sans',sans-serif;font-size:13px;line-height:1.4;display:none;border-radius:3px;padding:20px 25px;border:1px solid rgba(0,0,0,.12);position:absolute;-moz-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);text-align:center;z-index:999999}.dslca-module-edit-field-icon-ttip a,.dslca-module-edit-field-ttip a{color:#5890e5;font-weight:700;text-decoration:none}.dslca-module-edit-field-icon-ttip:after,.dslca-module-edit-field-icon-ttip:before,.dslca-module-edit-field-ttip:after,.dslca-module-edit-field-ttip:before{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-module-edit-field-icon-ttip:after,.dslca-module-edit-field-ttip:after{border-color:rgba(255,255,255,0);border-top-color:#fff;border-width:8px;left:50%;margin-left:-8px}.dslca-module-edit-field-icon-ttip:before,.dslca-module-edit-field-ttip:before{border-color:rgba(224,224,224,0);border-top-color:#d2d2d2;border-width:9px;left:50%;margin-left:-9px}.dslca-module-edit-field-ttip-close{cursor:pointer;position:absolute;background:#e55f5f;top:-9px;right:-9px;width:18px;line-height:18px;border-radius:18px;color:#fff;font-size:11px}.dslca-module-edit-option-image,.dslca-modules-section-edit-option-upload{min-width:auto}.dslca-module-edit-field-image-add-hook,.dslca-module-edit-field-image-remove-hook,.dslca-modules-section-edit-field-image-add-hook,.dslca-modules-section-edit-field-image-remove-hook{background:#3b6fbe;border:1px solid #3565ad;border-radius:3px;color:#a0c0f0;cursor:pointer;display:inline-block;font-size:12px;font-family:'Open Sans',sans-serif;font-weight:400;padding:9px 12px;line-height:1;white-space:nowrap}.dslca-module-edit-field-image-add-hook .dslca-icon,.dslca-module-edit-field-image-remove-hook .dslca-icon,.dslca-modules-section-edit-field-image-add-hook .dslca-icon,.dslca-modules-section-edit-field-image-remove-hook .dslca-icon{margin-right:7px}#dslc-footer,#dslc-header{position:relative}.dslc-hf-block-overlay{display:flex;justify-content:center;align-items:center;flex-direction:column;position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(88,144,229,.9);z-index:99999;text-align:center;opacity:0;-webkit-transition:opacity .2s ease-in-out;-moz-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.dslc-hf-block-overlay:hover{opacity:1}.dslc-hf-block-overlay-button,.dslc-hf-block-overlay-text{display:inline-block;color:#fff;font-size:20px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;text-decoration:none}.dslc-hf-block-overlay-text{font-size:13px;opacity:.5;margin-top:5px}body.dslca-composer-hidden .dslc-module-front,body.dslca-composer-hidden .dslc-modules-area,body.dslca-composer-hidden .dslc-modules-section{box-shadow:none!important;border:none!important}.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage,.dslca-composer-hidden .dslca-add-modules-section,body.dslca-composer-hidden .dslc-modules-section .dslca-modules-section-manage,body.dslca-composer-hidden .dslca-module-manage,body.dslca-composer-hidden .dslca-modules-area-manage{display:none!important}.dslca-loading{position:absolute;top:15px;left:25px;display:none}.followingBallsGWrap{width:64px;height:5px}.followingBallsG{background-color:rgba(255,255,255,.5);position:absolute;top:0;left:0;width:5px;height:5px;-moz-border-radius:3px;-moz-animation-name:bounce_followingBallsG;-moz-animation-duration:2.3s;-moz-animation-iteration-count:infinite;-moz-animation-direction:linear;-webkit-border-radius:3px;-webkit-animation-name:bounce_followingBallsG;-webkit-animation-duration:2.3s;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:linear;-ms-border-radius:3px;-ms-animation-name:bounce_followingBallsG;-ms-animation-duration:2.3s;-ms-animation-iteration-count:infinite;-ms-animation-direction:linear;-o-border-radius:3px;-o-animation-name:bounce_followingBallsG;-o-animation-duration:2.3s;-o-animation-iteration-count:infinite;-o-animation-direction:linear;border-radius:3px;animation-name:bounce_followingBallsG;animation-duration:2.3s;animation-iteration-count:infinite;animation-direction:linear}.followingBallsG_1{-moz-animation-delay:0s;-webkit-animation-delay:0s;-ms-animation-delay:0s;-o-animation-delay:0s;animation-delay:0s}.followingBallsG_2{-moz-animation-delay:.23s;-webkit-animation-delay:.23s;-ms-animation-delay:.23s;-o-animation-delay:.23s;animation-delay:.23s}.followingBallsG_3{-moz-animation-delay:.46s;-webkit-animation-delay:.46s;-ms-animation-delay:.46s;-o-animation-delay:.46s;animation-delay:.46s}.followingBallsG_4{-moz-animation-delay:.69s;-webkit-animation-delay:.69s;-ms-animation-delay:.69s;-o-animation-delay:.69s;animation-delay:.69s}@-moz-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@-webkit-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@-ms-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@-o-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}.dslca-container-loader{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,.2);display:none}.dslca-container-loader-inner{position:absolute;top:10px;left:15px}body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Excerpt],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Meta],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Downloads_Button],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Gallery_Slider],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Project_Slider],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Staff_Social]{display:none!important}.media-modal{z-index:999999999!important}.media-modal-backdrop{z-index:999999998!important}.dslca-container .dslca-activate-composer-hook,.dslca-container .dslca-close-composer-hook,.dslca-container .dslca-hide-composer-hook,.dslca-container .dslca-show-composer-hook,.dslca-pseudo-panel .dslca-pseudo-close-composer-hook,.dslca-pseudo-panel .dslca-pseudo-hide-composer-hook{background:#e55f5f;border-radius:3px;bottom:4px;color:#fff;cursor:pointer;display:block;font-size:11px;font-family:Roboto,sans-serif;font-weight:900;line-height:1;padding:11px 12px;text-transform:uppercase;text-decoration:none;white-space:nowrap;float:left;margin-left:5px}.dslca-container .dslca-close-composer-hook:hover{background:#f27562}.dslca-container .dslca-hide-composer-hook,.dslca-pseudo-panel .dslca-pseudo-hide-composer-hook{background:#06b2ac}.dslca-container .dslca-show-composer-hook{background:#9268a9;display:none}.dslca-activate-composer-hook:hover,.dslca-activate-composer-hook:visited,.dslca-close-composer-hook:hover,.dslca-close-composer-hook:visited{color:#fff}.dslca-activate-composer-hook{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;background:#54c13f;color:#fff;position:fixed;z-index:99999;right:5px;bottom:5px}.dslca-activate-composer-hook:hover{background:#40D71F}.dslca-activate-composer-hook.dslca-position-left{right:auto;left:5px}.dslca-activate-composer-hook .dslca-icon,.dslca-container .dslca-close-composer-hook .dslca-icon,.dslca-container .dslca-hide-composer-hook .dslca-icon,.dslca-container .dslca-show-composer-hook .dslca-icon,.dslca-pseudo-close-composer-hook .dslca-icon,.dslca-pseudo-hide-composer-hook .dslca-icon{color:rgba(255,255,255,.66);margin-right:5px}body.rtl .dslca-templates .dslca-go-to-section-hook .dslca-icon,body.rtl .dslca-templates .dslca-open-modal-hook .dslca-icon{margin-right:0;margin-left:9px}body.rtl .dslca-section-title-filter .dslca-icon{margin-left:0;margin-right:10px}body.rtl .dslca-activate-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-close-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-hide-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-show-composer-hook .dslca-icon{margin-right:0;margin-left:5px}body.rtl .dslca-module .dslca-icon{margin-right:0;margin-left:11px}body.rtl .dslca-header .dslca-options-filter-hook .dslca-icon{margin-right:0;margin-left:4px}body.rtl .dslca-prompt-modal-actions .dslc-icon{margin-right:0;margin-left:6px}body.rtl .dslca-module-edit-option-checkbox-hook .dslca-icon,body.rtl .dslca-no-content .dslca-icon{margin-right:0;margin-left:10px}body.rtl .dslca-module-edit-options-inner,body.rtl .dslca-modules-section-edit-options-inner{overflow-x:auto}body.rtl .dslca-module-edit-option,body.rtl .dslca-modules-section-edit-option{float:right}.dslca-module-edit-options-wrapper,.dslca-modules-section-edit-options-wrapper,.dslca-pseudo-module-edit-options-wrapper{display:table-cell;padding:0 0 20px}.dslca-module-edit-options-inner,.dslca-modules-section-edit-options-inner{overflow-x:scroll}.dslca-styling-presets{position:absolute;top:0;right:0;margin-right:15px;margin-top:15px}.dslca-drag-not-in-progress .dslc-modules-section .dslca-modules-section-manage-inner{-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.dslca-drag-not-in-progress .dslc-modules-section:hover .dslca-modules-section-manage-inner{opacity:1}.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage-inner{opacity:0}.dslca-drag-not-in-progress .dslc-module-front .dslca-module-manage{overflow:hidden}.dslca-drag-not-in-progress .dslc-module-front:hover .dslca-module-manage.dslca-module-manage-change-width-active{overflow:visible}.dslca-drag-not-in-progress #dslc-content .dslc-module-front .dslca-module-manage-inner,.dslca-drag-not-in-progress #dslc-content .dslc-module-front .dslca-wysiwyg-actions-edit-hook{top:0;opacity:0;-webkit-transition:opacity .1s ease-in-out;-moz-transition:opacity .1s ease-in-out;transition:opacity .1s ease-in-out}.dslca-drag-not-in-progress #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,.dslca-drag-not-in-progress #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit-hook{top:0;opacity:1}.dslca-drag-not-in-progress .dslc-modules-area .dslca-modules-area-manage-inner{opacity:0}.dslca-drag-not-in-progress .dslc-modules-area:hover .dslca-modules-area-manage-inner{opacity:1}.dslca-modal.dslca-modal-icons{width:70%;position:fixed;padding:0;overflow:scroll;top:2%;left:50%!important;visibility:visible;transform:translate(-50%,0);z-index:100001}.dslca-prompt-modal-custom{background:rgba(255,255,255,.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:100000;height:100%}.dslca-modal-icons .modal-content{height:100%}.dslca-modal-icons .dslc-icons-grid{list-style:none;margin:0;padding:0;text-align:left}.dslca-modal-icons .icon-item{display:inline-block;width:12.4%;min-height:120px;padding:0;margin:0 0 0 -1px;vertical-align:top;text-align:center;border-left:1px solid rgba(155,155,155,.05);border-bottom:1px solid rgba(155,155,155,.05)}.dslca-modal-icons .icon-item:hover{-webkit-box-shadow:0 1px 5px 0 rgba(68,68,68,.52);-moz-box-shadow:0 1px 5px 0 rgba(68,68,68,.52);box-shadow:0 1px 5px 0 rgba(68,68,68,.52);cursor:pointer}.dslca-modal-icons .icon-item:active{-webkit-box-shadow:0 1px 5px 0 #5890e5 inset;-moz-box-shadow:0 1px 5px 0 #5890e5 inset;box-shadow:0 1px 5px 0 #5890e5 inset}.dslca-modal-icons .icon-item_icon{display:inline-block;width:100%;padding:28px 0 16px;font-size:24px;opacity:.7}.dslca-modal-icons .icon-item:hover .icon-item_icon{opacity:1}.dslca-modal-icons .icon-item_name{opacity:.35;display:inline-block;font-family:'Open Sans',sans-serif;font-size:12px;line-height:1.25;padding:5px 8px 12px}body.dslca-enabled.dslc-res-phone #page-builder-preview-area,body.dslca-enabled.dslc-res-tablet #page-builder-preview-area{display:block;margin:0 auto;position:relative;border:14px solid #000;border-top-width:60px;border-radius:16px;top:40px}body.dslca-enabled.dslc-res-phone #page-builder-preview-area{width:480px;max-width:767px}body.dslca-enabled.dslc-res-tablet #page-builder-preview-area{width:768px;min-width:768px;max-width:1024px}body.dslca-enabled.dslc-res-phone #page-builder-frame,body.dslca-enabled.dslc-res-tablet #page-builder-frame{display:block;position:relative}html.dslc-responsive-preview{background:#61666A}#page-builder-preview-area.ui-resizable-resizing .ui-resizable-e{width:100%}#page-builder-preview-area .ui-resizable-e{cursor:e-resize;height:100%;right:-14px;width:14px;top:0}#page-builder-preview-area .ui-resizable-handle{display:block;font-size:.1px;position:absolute}.dslca-module-edit-field-colorpicker,.dslca-modules-section-edit-field-colorpicker{display:block!important;cursor:pointer;position:relative;z-index:1}.dslca-module-edit-option-box-shadow-color,.dslca-module-edit-option-text-shadow-color{display:inline-block!important;cursor:pointer;position:relative;z-index:1;width:auto}body .sp-palette-container{border-right:1px solid #3e3e3e}body .sp-palette .sp-thumb-el{border:none;height:25px;margin:1px;width:25px}.dslca-pseudo-panel{bottom:0;left:0;position:fixed;right:0;z-index:99999;-webkit-transition:bottom .3s;-moz-transition:bottom .3s;transition:bottom .3s}.dslca-pseudo-header{position:absolute;z-index:100;min-height:38px;bottom:100%;left:0}.dslca-pseudo-module-edit-label{width:80px;background:#6c9fed;border-radius:3px}.dslca-pseudo-module-edit-field{border:0;width:100%;height:33px}.dslca-pseudo-module-edit-option{opacity:0;transition:opacity .3s 0s ease-in}.dslca-pseudo-module-edit-option:nth-child(2){transition-delay:.15s}.dslca-pseudo-module-edit-option:nth-child(3){transition-delay:.25s}.dslca-pseudo-module-edit-option:nth-child(4){transition-delay:.5s}.dslca-pseudo-module-edit-option:nth-child(5){transition-delay:.75s}.dslca-pseudo-panel.show .dslca-pseudo-module-edit-option{opacity:1}.lc-shake-effect.active{animation:shake .82s cubic-bezier(.36,.07,.19,.97) both;transform:translate3d(0,0,0);backface-visibility:hidden;perspective:1000px}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}body.dslca-drag-in-progress .lc-scroll-top-area,body.dslca-new-module-drag-in-progress .lc-scroll-top-area{position:fixed;top:0;z-index:99999;left:0;width:100%;height:80px}body.dslca-drag-in-progress .lc-scroll-bottom-area,body.dslca-new-module-drag-in-progress .lc-scroll-bottom-area{position:fixed;bottom:0;left:0;z-index:99999;width:100%;height:140px}.sp-container.sp-flat,.sp-top{position:relative}.sp-clear-enabled .sp-hue,.sp-hue{height:100%;top:0}.sp-container{top:0;left:0;display:inline-block;overflow:hidden}.sp-container,.sp-container *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.sp-top{width:100%;display:inline-block}.sp-alpha-handle,.sp-color,.sp-dragger,.sp-hue,.sp-sat,.sp-slider,.sp-top-inner,.sp-val{position:absolute}.sp-top-inner{top:0;left:0;bottom:0;right:0}.sp-color{top:0;left:0;bottom:0;right:20%}.sp-hue{right:0;bottom:0;left:84%}.sp-fill{padding-top:80%}.sp-sat,.sp-val{top:0;left:0;right:0;bottom:0}.sp-alpha-enabled .sp-top{margin-bottom:18px}.sp-alpha-enabled .sp-alpha{display:block}.sp-alpha,.sp-clear,.sp-container.sp-buttons-disabled .sp-button-container,.sp-container.sp-input-disabled .sp-input-container,.sp-initial-disabled .sp-initial,.sp-palette-disabled .sp-palette-container,.sp-palette-only .sp-picker-container{display:none}.sp-alpha-handle{top:-4px;bottom:-4px;width:6px;left:50%;cursor:pointer;border:1px solid #000;background:#fff;opacity:.8}.sp-alpha{bottom:-14px;right:0;left:0;height:8px}.sp-alpha-inner{border:1px solid #333}.sp-clear.sp-clear-display{background-position:center}.sp-clear-enabled .sp-clear{display:none;position:absolute;top:0;right:0;bottom:0;left:84%;height:28px}.sp-alpha,.sp-alpha-handle,.sp-clear,.sp-container,.sp-container button,.sp-container.sp-dragging .sp-input,.sp-dragger,.sp-preview,.sp-replacer,.sp-slider{-webkit-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;user-select:none}.sp-sat{background-image:-webkit-gradient(linear,0 0,100% 0,from(#FFF),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(left,#FFF,rgba(204,154,129,0));background-image:-moz-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-o-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-ms-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:linear-gradient(to right,#fff,rgba(204,154,129,0));-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";filter:progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81')}.sp-val{background-image:-webkit-gradient(linear,0 100%,0 0,from(#000),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-moz-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-o-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-ms-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:linear-gradient(to top,#000,rgba(204,154,129,0));-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000')}.sp-hue{background:-moz-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:-ms-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:-o-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:-webkit-gradient(linear,left top,left bottom,from(red),color-stop(.17,#ff0),color-stop(.33,#0f0),color-stop(.5,#0ff),color-stop(.67,#00f),color-stop(.83,#f0f),to(red));background:-webkit-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}.sp-1{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00')}.sp-2{height:16%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00')}.sp-3{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff')}.sp-4{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff')}.sp-5{height:16%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff')}.sp-6{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000')}.sp-hidden{display:none!important}.sp-cf:after,.sp-cf:before{content:"";display:table}@media (max-device-width:480px){.sp-color{right:40%}.sp-hue{left:63%}.sp-fill{padding-top:60%}}.sp-dragger{border-radius:5px;height:5px;width:5px;border:1px solid #fff;background:#000;cursor:pointer;top:0;left:0}.sp-slider{top:0;cursor:pointer;height:3px;left:-1px;right:-1px;border:1px solid #000;background:#fff;opacity:.8}.sp-container{border-radius:0;padding:0}.sp-clear,.sp-color,.sp-container,.sp-container button,.sp-container input,.sp-hue{font:400 12px "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Verdana,sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.sp-top{margin-bottom:3px}.sp-clear,.sp-color,.sp-hue{border:1px solid #666}.sp-input-container{float:right;width:100px}.sp-initial-disabled .sp-input-container,.sp-input{width:100%}.sp-input{font-size:12px!important;border:1px inset;padding:4px 5px;margin:0;background:0 0;border-radius:3px;color:#222}.sp-input:focus{border:1px solid orange}.sp-input.sp-validation-error{border:1px solid red;background:#fdd}.sp-palette-container,.sp-picker-container{float:left;position:relative;padding:10px 10px 300px;margin-bottom:-290px}.sp-picker-container{width:172px}.sp-palette-container{border-right:solid 1px #ccc}.sp-palette .sp-thumb-el{display:block;position:relative;float:left;cursor:pointer}.sp-palette .sp-thumb-el.sp-thumb-active,.sp-palette .sp-thumb-el:hover{border-color:orange}.sp-initial{float:left;border:1px solid #333}.sp-initial span{width:30px;height:25px;border:0;display:block;float:left;margin:0}.sp-initial .sp-clear-display{background-position:center}.sp-replacer{margin:0;overflow:hidden;cursor:pointer;padding:4px;display:inline-block;border:1px solid #91765d;background:#eee;color:#333;vertical-align:middle}.sp-replacer.sp-active,.sp-replacer:hover{border-color:#F0C49B;color:#111}.sp-replacer.sp-disabled{cursor:default;border-color:silver;color:silver}.sp-dd{padding:2px 0;height:16px;line-height:16px;float:left;font-size:10px}.sp-preview{width:25px;height:20px;border:1px solid #222;margin-right:5px;float:left;z-index:0}.sp-palette{max-width:220px}.sp-palette .sp-thumb-el{width:16px;height:16px;margin:2px 1px;border:1px solid #d0d0d0}.sp-container{padding-bottom:0}.sp-container button{background-color:#eee;background-image:-webkit-linear-gradient(top,#eee,#ccc);background-image:-moz-linear-gradient(top,#eee,#ccc);background-image:-ms-linear-gradient(top,#eee,#ccc);background-image:-o-linear-gradient(top,#eee,#ccc);background-image:linear-gradient(to bottom,#eee,#ccc);border:1px solid #ccc;border-bottom:1px solid #bbb;border-radius:3px;color:#333;font-size:14px;line-height:1;padding:5px 4px;text-align:center;text-shadow:0 1px 0 #eee;vertical-align:middle}.sp-container button:hover{background-color:#ddd;background-image:-webkit-linear-gradient(top,#ddd,#bbb);background-image:-moz-linear-gradient(top,#ddd,#bbb);background-image:-ms-linear-gradient(top,#ddd,#bbb);background-image:-o-linear-gradient(top,#ddd,#bbb);background-image:linear-gradient(to bottom,#ddd,#bbb);border:1px solid #bbb;border-bottom:1px solid #999;cursor:pointer;text-shadow:0 1px 0 #ddd}.sp-container button:active{border:1px solid #aaa;border-bottom:1px solid #888;-webkit-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-moz-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-ms-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-o-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee}.sp-cancel{font-size:11px;color:#d93f3f!important;margin:0 5px 0 0;padding:2px;vertical-align:middle;text-decoration:none}.sp-cancel:hover{color:#d93f3f!important;text-decoration:underline}.sp-palette span.sp-thumb-active,.sp-palette span:hover{border-color:#000}.sp-alpha,.sp-preview,.sp-thumb-el{position:relative;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.sp-alpha-inner,.sp-preview-inner,.sp-thumb-inner{display:block;position:absolute;top:0;left:0;bottom:0;right:0}.sp-palette .sp-thumb-inner{background-position:50% 50%;background-repeat:no-repeat}.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=)}.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=)}.sp-clear-display{background-repeat:no-repeat;background-position:center;background-image:url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==)}.sp-container{position:fixed;z-index:99999999!important;background:#313131;border:0}.sp-picker-container{border:0}.sp-clear,.sp-color,.sp-hue{border-color:#000}.sp-button-container{float:none;text-align:right;clear:both;margin-top:10px}.dslca-container .sp-dd{display:none}.dslca-container .sp-preview{width:100%;height:15px;border:1px solid #3565ad;border-radius:4px;overflow:hidden}.dslca-sp-revert,.sp-cancel.dslc-icon,.sp-choose.dslc-icon{padding:0;margin:0;background:#e55f5f;display:inline-block;width:24px;height:24px;line-height:24px;font-size:12px;color:#fff!important;border-radius:3px;text-align:center;text-decoration:none!important;cursor:pointer;vertical-align:baseline}.sp-choose.dslc-icon{background:#78ca4f;margin-left:5px}.dslca-sp-revert{background:#06b2ac;float:left}.sp-input-container{margin-top:5px;margin-bottom:10px}body input[type=text].sp-input{background:#444!important;padding:5px;border:0;border-radius:0;color:#fff}.dslca-container .sp-replacer{opacity:0;visibility:hidden;display:inline-block!important;width:1px;vertical-align:middle;position:absolute;left:0;top:50px}.dslca-module-edit-option-box-shadow-single .sp-replacer{top:0}
1
+ .dslc-clear,.dslc-clearfix:after,.dslc-module-heading:after,.sp-cf:after{clear:both}html{top:-32px;position:relative}body{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body.toplevel_page_livecomposer_editor{background:#464646}body div.mce-inline-toolbar-grp.mce-arrow-up{margin-top:48px}.dslca-editable-content,.dslca-editable-content *,.inline-editor,.inline-editor *,a[contenteditable=true],div[contenteditable=true],h1[contenteditable=true],h2[contenteditable=true],h3[contenteditable=true],h4[contenteditable=true],h5[contenteditable=true],h6[contenteditable=true],span[contenteditable=true]{-webkit-touch-callout:text;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}body .dslca-editable-content:hover,body .dslca-editable-content:hover *,body .inline-editor:hover,body .inline-editor:hover *{cursor:text}div:hover,div>span:hover,span>span:hover{cursor:default}body a{text-decoration:none}body a:focus{color:inherit;box-shadow:none}#dslc-preview-error{text-align:center;padding:160px 0 0;text-transform:uppercase;letter-spacing:2px}.dslc-clearfix:after,.dslc-clearfix:before,.dslc-module-heading:after,.dslc-module-heading:before{content:" ";display:table}.dslc-fl{float:left}.dslc-fr{float:right}.dslc-no-float{float:none!important}.dslca-container *{padding:0;margin:0;border:none;outline:0}.dslca-disable-selection{-ms-user-select:none!important;-moz-user-select:-moz-none!important;-khtml-user-select:none!important;-webkit-user-select:none!important;user-select:none!important}.dslca-container p{margin-bottom:20px}.dslca-container input[type=text],.dslca-container input[type=number],.dslca-container select,.dslca-container textarea{background:rgba(255,255,255,.1);border:0;color:#fff;padding:7px 10px;font-family:'Open Sans',sans-serif;font-size:12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dslca-container,.dslca-container *,.dslca-container ::after,.dslca-container ::before,.dslca-module-manage,.dslca-module-manage *,.dslca-module-manage ::after,.dslca-module-manage ::before,.dslca-sections{box-sizing:border-box}.dslca-container .dslca-module-edit-option-slider input[type=number]{padding-right:30px}.dslca-container input[type=text],.dslca-container input[type=number],.dslca-container input[type=email]{height:auto}.dslca-container select{line-height:12px;padding:6px 10px;min-height:32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.dslca-module-edit-option-select .dslca-icon,.dslca-modules-section-edit-option-select .dslca-icon{position:absolute;right:40px;top:64px;cursor:pointer}.dslca-container input[type=submit]{background:#6ba253;border:0;color:#fff;cursor:pointer;padding:8px 10px;line-height:17px}.dslca-container{font-family:'Open Sans',sans-serif;bottom:0;color:#fff;left:0;position:fixed;right:0;z-index:99999;-webkit-transition:bottom .3s;-moz-transition:bottom .3s;transition:bottom .3s}.dslca-show-js-error-hook{padding:10px;bottom:-1px;display:inline-block;color:rgba(199,199,199,.64)!important;visibility:hidden;float:left}.dslca-show-js-error-hook:hover{color:#ff4040}.dslca-show-js-error-hook .dslca-icon{color:#ff4040;margin-right:5px;margin-left:8px}#dslca-js-errors-report{display:none}.dslca-error-report{display:block;overflow:scroll;text-align:left;white-space:nowrap;font-size:12px;max-height:120px;-webkit-touch-callout:text;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.dslca-error-report:hover{cursor:text}.dslca-header{position:absolute;z-index:100;min-height:38px;bottom:100%;left:0}.dslca-header .dslca-currently-editing{position:absolute;bottom:45px;left:5px;background-color:rgba(71,70,70,.49);color:rgba(255,255,255,.5);padding:6px 10px;border-radius:3px;font-weight:400;font-family:'Open Sans',sans-serif;font-size:10px;line-height:1;display:none;white-space:nowrap;letter-spacing:.4px;text-transform:uppercase;cursor:pointer}.dslca-header .dslca-currently-editing .dslca-icon{margin-right:5px}.dslca-header .dslca-currently-editing strong{color:#fff}.dslca-header .dslca-go-to-section-hook,.dslca-header .dslca-options-filter-hook,.dslca-header .dslca-row-options-filter-hook,.dslca-pseudo-header .dslca-pseudo-options-filter-hook{bottom:0;background:#313131;border-radius:3px 3px 0 0;color:#adadad;cursor:pointer;display:block;float:left;font-size:13px;font-family:'Open Sans',sans-serif;font-weight:600;line-height:1;padding:13px 15px;position:relative}.dslca-header .dslca-options-filter-hook,.dslca-header .dslca-row-pseudo-options-filter-hook,.dslca-pseudo-options-filter-hook{display:none;margin-right:3px}.dslca-header .dslca-go-to-section-hook.dslca-active,.dslca-header .dslca-options-filter-hook.dslca-active,.dslca-header .dslca-row-options-filter-hook.dslca-active,.dslca-pseudo-header .dslca-pseudo-options-filter-hook.dslca-active{border-top-color:#4777c2;background:#3b6fbe;color:#fff;cursor:default}.dslca-header .dslca-options-filter-hook .dslca-icon,.dslca-header .dslca-row-options-filter-hook .dslca-icon,.dslca-pseudo-header .dslca-pseudo-options-filter-hook .dslca-icon{margin-right:4px}.dslca-header .dslca-options-filter-hook.dslca-active,.dslca-header .dslca-row-options-filter-hook.dslca-active,.dslca-pseudo-header .dslca-pseudo-options-filter-hook.dslca-active{background:#5890e5}.dslca-header .dslca-go-to-section-templates.dslca-active{border-top-color:#bf7671;background:#a94640}.dslca-header .dslca-go-to-section-hook .dslca-icon{font-weight:400}.dslca-module-edit-actions,.dslca-pseudo-module-edit-actions,.dslca-row-edit-actions{display:none;float:left;margin-left:4px;margin-top:1px}.dslca-module-edit-cancel,.dslca-module-edit-save,.dslca-prompt-modal-cancel-hook,.dslca-prompt-modal-confirm-hook,.dslca-pseudo-module-edit-cancel,.dslca-pseudo-module-edit-save,.dslca-row-edit-cancel,.dslca-row-edit-save,.dslca-wp-editor-cancel-hook,.dslca-wp-editor-save-hook{background:#78ca4f;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:13px;font-family:'Open Sans',sans-serif;font-weight:600;line-height:1;padding:10px 12px;margin-right:6px;text-decoration:none}.dslca-module-edit-cancel,.dslca-prompt-modal-cancel-hook,.dslca-pseudo-module-edit-cancel,.dslca-row-edit-cancel,.dslca-wp-editor-cancel-hook{background:#e55f5f}.dslca-module-edit-save:hover,.dslca-prompt-modal-confirm-hook:hover,.dslca-pseudo-module-edit-save:hover,.dslca-row-edit-save:hover,.dslca-wp-editor-save-hook:hover{background:#91dc1e;color:#fff}.dslca-module-edit-cancel:hover,.dslca-prompt-modal-cancel-hook:hover,.dslca-pseudo-module-edit-cancel:hover,.dslca-row-edit-cancel:hover,.dslca-wp-editor-cancel-hook:hover{background:#f27562;color:#fff}.dslca-actions,.dslca-pseudo-actions{position:absolute;bottom:100%;right:0;padding-bottom:5px;padding-right:5px}.dslca-sections{background:#4A7AC3}.dslca-pseudo-section,.dslca-section.dslca-module-edit,.dslca-section.dslca-modules-section-edit{background:#5890e5}.dslca-modal.dslca-modal-templates-export,.dslca-modal.dslca-modal-templates-import,.dslca-modal.dslca-modal-templates-save,.dslca-section.dslca-templates,.dslca-section.dslca-templates-load{background:#ca564f}.dslca-section{display:none;position:relative}.dslca-section-back{display:block;float:left;width:32px;line-height:74px;text-align:center;color:#fff}.dslca-section-back:hover{background:#e25c54;color:#fff}.dslca-section-title{display:block;float:left;background:#3b6fbe;color:#fff;font-family:'Open Sans',sans-serif;font-size:17px;line-height:1;padding:28px 25px}.dslca-section-title:hover,.dslca-section-title:hover *{cursor:pointer}.dslca-templates .dslca-section-title,.dslca-templates-load .dslca-section-title,.dslca-templates-save .dslca-section-title{background:#a94640}.dslca-section-title-filter{position:relative;cursor:pointer}.dslca-section-title-filter .dslca-icon{color:rgba(255,255,255,.5);margin-left:10px;vertical-align:top}.dslca-section-title-filter-options{background:#5890E5;border-radius:3px 3px 0 0;bottom:35px;display:none;min-width:100px;left:-10px;position:absolute;z-index:999999;box-shadow:0 2px 8px 0 rgba(0,0,0,.21)}.dslca-section-title-filter-options a{display:block;cursor:pointer;margin:1px 0 0;padding:10px 13px;border-top:1px solid rgba(0,0,0,.09);font-size:13px;white-space:nowrap;color:#fff}.dslca-section-title-filter-options a:hover{background:#5890E5}.dslca-section.dslca-templates-load .dslca-section-title-filter-options{background:#CA564F}.dslca-section.dslca-templates-load .dslca-section-title-filter-options a:hover{background:#e25c54}.dslca-subsection{display:none}.dslca-module{color:#fff;display:inline-block;font-family:'Roboto Condensed',sans-serif;font-size:15px;font-weight:400;line-height:1;padding:2px 12px 9px;background:#5890e5;margin:4px 2px;box-shadow:0 1px 3px 0 rgba(0,0,0,.15),-1px 1px 0 0 rgba(255,255,255,.05) inset;border-radius:2px;text-align:center;min-width:70px;transition:transform 50ms linear 10ms;z-index:1;position:relative}.dslca-module[data-id=DSLC_Sliders],.dslca-module[data-id=DSLC_Staff],.dslca-module[data-id=DSLC_Separator],.dslca-module[data-id=DSLC_Notification]{margin-right:14px}.dslca-module[data-id=DSLC_M_A]{margin-left:5px;margin-right:14px;background:#b2b7bc;box-shadow:none}.dslca-module[data-id=DSLC_M_A] .dslca-icon{color:#fff}.dslca-module[data-id=DSLC_M_A]:hover{background:#BDC3C9}.dslca-module:hover{background:#6b9ff1;box-shadow:-2px 4px 3px 0 rgba(0,0,0,.19),-1px 1px 0 0 rgba(255,255,255,.05) inset;transform:translate(1px,-2px)}div.dslca-module:hover,div.dslca-module:hover *{color:#fff;cursor:grab;cursor:-webkit-grab}div.dslca-module.dslca-module-dragging{position:relative;opacity:1}.dslc-module-front.dslca-module-dragging{box-shadow:none!important;animation:none!important}.dslc-module-front.dslca-module-ghost{background:rgba(229,163,88,.28)}div.dslca-module.dslca-module-dragging,div.dslca-module.dslca-module-dragging *,div.dslca-module.dslca-module-dragging:hover,div.dslca-module.dslca-module-dragging:hover *{cursor:grabbing;cursor:-webkit-grabbing}.dslca-manage-action.dslca-move-module-hook:hover,.dslca-manage-action.dslca-move-module-hook:hover *,.dslca-manage-action.dslca-move-modules-area-hook:hover,.dslca-manage-action.dslca-move-modules-area-hook:hover *,.dslca-manage-action.dslca-move-modules-section-hook:hover,.dslca-manage-action.dslca-move-modules-section-hook:hover *{cursor:grab;cursor:-webkit-grab}.dslca-module .dslca-icon{color:#AECEF9;vertical-align:top;font-size:20px;display:block;line-height:41px;text-align:center;text-shadow:0 1px rgba(0,0,0,.05)}.dslca-module.ui-draggable-dragging .dslca-icon{margin-right:0}.dslca-module-edit{overflow:hidden;position:relative}.dslca-module-edit-options,.dslca-modules-section-edit-options,.dslca-pseudo-module-edit-options{padding:16px 15px 5px;overflow-x:auto;min-height:58px;transform:translate(0,0)}.dslca-module-edit-option,.dslca-modules-section-edit-option,.dslca-pseudo-module-edit-option{display:table-cell;padding-bottom:20px;padding-right:30px;padding-top:30px;min-width:180px;position:relative}.dslca-module-edit-option-hidden{display:none!important}.dslca-module-edit-option input[type=text],.dslca-module-edit-option input[type=text]:focus,.dslca-module-edit-option input[type=number],.dslca-module-edit-option input[type=number]:focus,.dslca-module-edit-option input[type=email],.dslca-module-edit-option input[type=email]:focus,.dslca-module-edit-option select,.dslca-module-edit-option select:focus,.dslca-module-edit-option textarea,.dslca-module-edit-option textarea:focus,.dslca-pseudo-module-edit-field{background:#6c9fed;border:1px solid #447bce;border-radius:3px;width:100%;min-width:140px;height:auto}.dslca-module-edit-option-text,.dslca-pseudo-module-edit-option{width:235px}.dslca-module-edit-option-textarea{width:500px}.dslca-module-edit-label,.dslca-modules-section-edit-label,.dslca-pseudo-module-edit-label{color:#fff;display:block;font-family:'Open Sans',sans-serif;font-weight:400;font-size:13px;line-height:1;margin-bottom:10px;padding-right:40px;white-space:nowrap;position:relative}.dslca-module-edit-field-font{min-width:140px}.dslca-module-edit-field-font-wrapper,.dslca-module-edit-field-icon-wrapper{display:table-cell;padding-right:5px;position:relative}.dslca-module-edit-field-font,.dslca-module-edit-field-icon{vertical-align:middle}.dslca-options-iconbutton{background:#3b6fbe;border:1px solid #3565ad;border-radius:3px;cursor:pointer;display:table-cell;height:32px;text-align:center;vertical-align:middle;padding:0 10px}.dslca-options-iconbutton.dslca-module-edit-field-font-prev{border-top-right-radius:0;border-bottom-right-radius:0}.dslca-options-iconbutton.dslca-module-edit-field-font-next{border-top-left-radius:0;border-bottom-left-radius:0;border-left-width:0}.dslca-options-iconbutton .dslca-icon{color:#8db6f3;font-size:12px;line-height:30px}.dslca-module-edit-field-font-suggest,.dslca-module-edit-field-icon-suggest{color:#fff;color:rgba(255,255,255,.5);position:absolute;left:11px;top:0;line-height:32px;font-family:"Open Sans",HelveticaNeue,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px}.dslca-module-edit-option-checkbox{white-space:nowrap;width:auto}.dslca-module-edit-option-checkbox input[type=checkbox]{display:none}.dslca-module-edit-option-checkbox-wrapper{display:table-cell;background:#3b6fbe;border-radius:3px;border:1px solid #3565ad;padding:0 10px}.dslca-module-edit-option-checkbox-single{padding:6px 8px;display:table-cell}.dslca-module-edit-option-checkbox-hook{cursor:pointer;font-size:13px;font-weight:400;font-family:'Open Sans',sans-serif}.dslca-module-edit-option-checkbox-hook .dslca-icon{margin-right:10px}.dslca-module-edit-option-radio{width:auto}.dslca-module-edit-option-radio input[type=radio]{vertical-align:bottom}.dslca-module-edit-option-radio-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px}.dslca-module-edit-option-radio-single{margin:6px;display:inline-block;font-size:12px;font-weight:400;font-family:'Open Sans',sans-serif}.dslca-module-edit-field-icon-switch-set{position:absolute;margin-top:8px;font-size:10px;line-height:13px;cursor:pointer}.dslca-module-edit-field-icon-switch-set .dslca-icon{color:rgba(255,255,255,.7);margin-right:4px}.dslca-module-edit-field-icon-switch-sets{background:#fff;color:#8a8a8a;font-family:'Open Sans',sans-serif;font-size:13px;display:none;border-radius:3px;padding:20px 25px;border:1px solid rgba(0,0,0,.12);position:absolute;-moz-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);text-align:center;z-index:999999}.dslca-module-edit-field-icon-switch-sets span{display:block;padding:5px 10px;cursor:pointer;border-radius:3px}.dslca-module-edit-field-icon-switch-sets span:hover{background:rgba(0,0,0,.1)}.dslca-module-edit-field-icon-switch-sets span.dslca-active{background:#5890e5;color:#fff}.dslca-module-edit-option-box_shadow,.dslca-module-edit-option-text_shadow{width:auto}.dslca-module-edit-option-box-shadow-wrapper,.dslca-module-edit-option-text-shadow-wrapper{display:table-cell;background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:2px 10px;font-size:0}.dslca-module-edit-option-box-shadow-single,.dslca-module-edit-option-text-shadow-single{display:table-cell;width:auto;line-height:1;vertical-align:middle;white-space:nowrap;padding-left:20px;position:relative}.dslca-module-edit-option-box-shadow-single input[type=checkbox],.dslca-module-edit-option-text-align input[type=checkbox]{display:none}.dslca-module-edit-option-box-shadow-single:first-child,.dslca-module-edit-option-text-shadow-single:first-child{padding-left:0}.dslca-module-edit-option-box-shadow-single span,.dslca-module-edit-option-text-shadow-single span{font-size:12px;margin-right:10px;vertical-align:middle}.dslca-module-edit-option-box-shadow-single input[type=text],.dslca-module-edit-option-box-shadow-single input[type=text]:focus,.dslca-module-edit-option-box-shadow-single input[type=number],.dslca-module-edit-option-box-shadow-single input[type=number]:focus,.dslca-module-edit-option-text-shadow-single input[type=text],.dslca-module-edit-option-text-shadow-single input[type=text]:focus,.dslca-module-edit-option-text-shadow-single input[type=number],.dslca-module-edit-option-text-shadow-single input[type=number]:focus{width:60px!important;min-width:auto;padding:3px 7px;vertical-align:middle}.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook{margin-right:0}.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook .dslca-icon{margin-left:10px;margin-right:0;font-size:13px;font-weight:400}.dslca-module-edit-option-text-align{width:auto}.dslca-module-edit-option-text-align-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px;font-size:0;display:table-cell}.dslca-module-edit-option-text-align-single{display:table-cell;font-size:14px;text-align:center;line-height:1;vertical-align:middle;padding:5px 12px}.dslca-module-edit-option-text-align-hook{cursor:pointer;opacity:.6;line-height:20px}.dslca-module-edit-option-text-align-hook:hover{opacity:.8}.dslca-module-edit-option-text-align-hook.dslca-active{opacity:1}.dslca-module-edit-options-tab-hook,.dslca-pseudo-module-edit-options-tab-hook{color:#fff;cursor:pointer;font-family:'Open Sans',sans-serif;font-size:12px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;padding:6px 10px;border-radius:3px;float:left}.dslca-module-edit-options-tab-hook.dslca-active,.dslca-module-edit-options-tab-hook.dslca-active:hover{background:rgba(0,0,0,.11);box-shadow:-1px 1px 1px 0 rgba(0,0,0,.22) inset}.dslca-module-edit-options-tab-hook:hover,.dslca-pseudo-module-edit-options-tab-hook:hover{background:rgba(169,239,255,.17);color:#fff}.dslca-module-edit-options-tab-hook[data-id=animation_styling],.dslca-module-edit-options-tab-hook[data-id=presets_styling]{float:right}.dslca-clear-styling-button{border:1px solid rgba(255,255,255,.4);border-radius:4px;display:inline-block!important;float:right;padding:4px 6px;position:absolute;right:0;top:15px;color:#a0c0f0;cursor:pointer;font-size:11px;font-weight:900;margin-right:18px}.dslca-clear-styling-button:hover{color:#fff}.dslca-modules-section-edit{overflow:hidden;position:relative}.dslca-modules-section-edit-option-hidden{display:none!important}.dslca-modules-section-edit-option input[type=text],.dslca-modules-section-edit-option input[type=number],.dslca-modules-section-edit-option input[type=email],.dslca-modules-section-edit-option select,.dslca-modules-section-edit-option textarea{background:#6c9fed;border:1px solid #447bce;width:100%;height:auto}.dslca-modules-section-edit-option-text{width:235px}.dslca-modules-section-edit-option-textarea{width:500px}.dslca-modules-section-edit-option-checkbox{width:auto}.dslca-modules-section-edit-option-checkbox input[type=checkbox]{display:none}.dslca-modules-section-edit-option-checkbox-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px}.dslca-modules-section-edit-option-checkbox-single{margin:6px;display:table-cell;white-space:nowrap;padding:8px}.dslca-modules-section-edit-option-checkbox-hook{cursor:pointer;font-size:12px;font-weight:400;font-family:'Open Sans',sans-serif}.dslca-modules-section-edit-option-checkbox-hook .dslca-icon{margin-right:10px}.dslca-modules-section-settings{display:none}.dslca-templates{position:relative}.dslca-template,.dslca-templates .dslca-go-to-section-hook,.dslca-templates .dslca-open-modal-hook{border-right:1px solid rgba(0,0,0,.12);color:#fff;cursor:pointer;display:block;float:left;font-family:'Open Sans',sans-serif;font-size:15px;line-height:1;padding:29px 29px 27px}.dslca-template:hover,.dslca-templates .dslca-go-to-section-hook:hover,.dslca-templates .dslca-open-modal-hook:hover{background:#e25c54;color:#fff}.dslca-templates .dslca-go-to-section-hook .dslca-icon,.dslca-templates .dslca-open-modal-hook .dslca-icon{color:rgba(255,255,255,.5);margin-right:9px;vertical-align:top;line-height:14px}.dslca-templates-load{border-top:1px solid #d8827d}.dslca-template-origin-user{padding-right:50px}.dslca-template .dslca-delete-template-hook{background:rgba(0,0,0,.2);border-radius:3px;display:inline-block;margin-top:-6px;margin-left:7px;padding:5px 7px;cursor:pointer}.dslca-template-save-form input[type=text]{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;margin-bottom:15px;width:224px}#dslca-export-code,#dslca-import-code{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;height:150px;margin-bottom:15px;overflow:hidden;width:224px}.dslca-template-export-form .dslca-close-modal-hook{display:block;width:auto}.dslca-switch{background:#1783bc;border-radius:50%;bottom:-50px;cursor:pointer;height:100px;left:45%;position:fixed;width:100px}.dslca-cancel,.dslca-submit,.dslca-submit-secondary{color:#fff;cursor:pointer;font-size:14px;font-weight:700;line-height:34px;width:110px;display:inline-block;border-radius:3px;font-family:'Open Sans',sans-serif;text-align:center}.dslca-submit{background:#4cc12d;position:relative}.dslca-submit-secondary{background:#5890e5}.dslca-cancel{background:#e55f5f}.dslca-module-reloading{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(255,255,255,.8);color:#5890e5}.dslca-module-reloading .dslca-icon{font-size:20px;position:absolute;top:50%;left:50%;margin-left:-10px}.dslca-module-placeholder{position:relative;background:#5890e5;height:40px;float:left}.dslc-modules-area.dslc-modules-area-empty{margin-bottom:25px;min-height:120px;box-shadow:0 0 0 2px rgba(173,175,179,.4);text-align:center;vertical-align:middle}.dslc-modules-area-empty::after{content:"Drop modules here";display:inline-block;opacity:1;color:rgba(173,175,179,.4);left:0;right:0;top:50%;margin-top:-10px;position:absolute;font-size:15px;font-family:'Open Sans',sans-serif}.dslc-module-front{position:relative;min-height:30px}body.module-editing-in-progress .dslc-module-front:not(.dslca-module-being-edited),body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-section-being-edited){opacity:.5;cursor:default!important}body.module-editing-in-progress .dslc-module-front:not(.dslca-module-being-edited):before,body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-section-being-edited):before{content:"";position:absolute;height:100%;width:100%;z-index:199999}.dslc-module-front:hover,.dslc-module-front:hover *{cursor:pointer}.dslc-modules-area:hover{box-shadow:0 0 0 2px rgba(173,175,179,.4)}.dslc-modules-area:hover .dslc-module-front:hover{box-shadow:0 0 0 2px #5890e5}.dslc-modules-area.dslca-options-hovered .dslc-module-front{box-shadow:0 0 0 0 transparent}.dslc-control-toggle{cursor:pointer;font-size:15px;opacity:.5;position:absolute;right:0}.dslc-control-toggle:hover{opacity:1}.dslca-option-off{opacity:.5}.dslc-control-toggle:before{content:"\f205"}.dslca-option-off .dslc-control-toggle:before{content:"\f204"}.dslc-modules-area{outline:0}.dslc-modules-area-empty.dslc-modules-area.dslca-options-hovered,.dslc-modules-area.dslca-options-hovered{box-shadow:0 0 0 2px rgba(173,175,179,.4)}.dslc-modules-area-empty.dslca-options-hovered{outline:0!important}.dslc-module-front.ui-sortable-helper{background:#5890e5;border-radius:3px;height:0!important;width:0!important;overflow:hidden;opacity:1!important;cursor:move;padding:0!important;border:0!important;outline:0!important}.dslc-module-front.ui-sortable-helper *{opacity:0}.dslc-module-front .dslc-sortable-helper-icon{display:none;position:absolute;left:25px;top:25px;color:rgba(255,255,255,.5)}.dslc-module-front.ui-sortable-helper .dslc-sortable-helper-icon{display:block;opacity:1}.dslc-modules-area.ui-sortable-helper{cursor:move;border:0!important;outline:0!important}.dslc-modules-area.ui-sortable-helper *{opacity:0}.dslc-modules-section.ui-sortable-helper{max-height:0!important;width:100%!important;overflow:hidden!important;opacity:0!important;padding:0!important;outline:0!important;border:0!important}.dslca-save-composer,.dslca-save-draft-composer{background:#313131;border-radius:3px 6px 6px 3px;cursor:pointer;font-size:13px;font-weight:400;font-family:'Open Sans',sans-serif;float:left;line-height:1;opacity:0;display:none;padding:10px 43px 10px 12px;text-decoration:none;position:relative;margin-right:6px}.dslca-save-composer-helptext{color:#adadad;white-space:nowrap}.dslca-save-composer .dslca-save-composer-icon,.dslca-save-draft-composer .dslca-save-draft-composer-icon{background:#78ca4f;bottom:0;border-radius:0 3px 3px 0;border-top:1px solid #b8e3a2;cursor:pointer;color:#fff;display:block;position:absolute;right:0;top:0;text-align:center;width:30px}.dslca-save-composer .dslca-save-composer-icon .dslca-icon{color:#fff;margin:0;position:relative;top:10px}.dslca-save-draft-composer-helptext{color:#adadad;white-space:nowrap}.dslca-save-draft-composer .dslca-save-draft-composer-icon .dslca-icon{color:#fff;margin:0;position:relative;top:10px}.dslca-no-content{position:absolute;display:none;border:2px dashed #5890e5;padding:35px 10px;width:100%;text-align:center}.dslca-add-modules-section-hook,.dslca-import-modules-section-hook,.dslca-no-content-primary{border-radius:3px;font-size:15px;line-height:1;font-family:'Open Sans',sans-serif}.dslc-modules-area-empty .dslca-no-content{display:block}.dslca-no-content-primary{color:#5890e5;display:inline-block;background:rgba(255,255,255,.75);margin:0;padding:13px}.dslca-no-content .dslca-icon{margin-right:10px}.dslc-modules-area.dslc-1-col .dslca-no-content-help-text,.dslc-modules-area.dslc-2-col .dslca-no-content-help-text{display:none}.dslc-modules-area.dslc-1-col .dslca-icon,.dslc-modules-area.dslc-2-col .dslca-icon{margin-right:0}.dslca-templates-actions{background:rgba(0,0,0,.3);position:absolute;bottom:0;left:0;right:0}.dslca-add-modules-section{text-align:center;width:1180px;max-width:100%;overflow:hidden;margin:30px auto 120px}.dslca-add-modules-section-hook,.dslca-import-modules-section-hook{background:#e5855f;color:#fff!important;cursor:pointer;display:block;float:left;padding:14px 0;text-decoration:none;width:80%}.dslca-add-modules-section-hook:hover,.dslca-import-modules-section-hook:hover{background:#FF9162;color:#fff}.dslca-add-modules-section .dslca-icon,.dslca-import-modules-section .dslca-icon{margin-right:10px;color:rgba(255,255,255,.5)}.dslca-import-modules-section-hook{float:right;width:18%}.dslc-modules-section{position:relative}.dslc-modules-section:hover{box-shadow:0 0 0 2px #eabba9}.dslca-manage-action{color:#fff;display:inline-block;text-decoration:none;font-size:12px;line-height:15px;text-align:center;padding:5px 6px;min-width:20px;margin-right:-2px}.dslca-icon{vertical-align:middle}.dslca-manage-action:first-child{padding-left:8px;border-radius:3px 0 0 3px}.dslca-manage-action:last-child{padding-right:8px;border-radius:0 3px 3px 0}.dslca-modules-section-manage{bottom:0;left:0;right:0;visibility:hidden;margin-bottom:-13px;padding-right:0;position:absolute;z-index:99998;width:100%;text-align:center}.dslca-modules-section-manage:hover{z-index:99999}.dslc-modules-section:hover .dslca-modules-section-manage{visibility:visible!important}.dslca-module-manage-inner,.dslca-modules-section-manage-inner{background:#e5855f;border-radius:3px;display:inline-block;line-height:1;position:relative;z-index:99999;vertical-align:middle;opacity:0;cursor:pointer}.dslca-modules-section-manage .dslca-manage-action:hover{background:#da7348}.dslca-module-manage-inner .dslca-manage-action:hover{background:#507FC9}.dslca-modules-section-placeholder{position:relative;background:#E5855F;height:2px;width:100%;margin:10px 0}.dslca-modules-section-placeholder .dslca-placeholder-help-text-inner{background:#E5855F}.dslca-placeholder-help-text{position:absolute;left:0;bottom:0;right:0;text-align:center}.dslca-placeholder-help-text-inner{background:#5890e5;border-radius:3px 3px 0 0;color:#fff;font-family:'Open Sans',sans-serif;font-style:12px;font-weight:700;display:inline-block;padding:5px 10px}.dslca-add-modules-area-hook{background:#5fb7e5;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:11px;font-family:'Open Sans',sans-serif;font-weight:700;line-height:1;margin-right:7px;padding:7px 10px;text-decoration:none;vertical-align:middle}.dslca-add-modules-area-hook:hover{color:#fff}.dslca-add-modules-area-hook .dslca-icon{margin-right:5px;color:rgba(255,255,255,.5);position:relative;top:1px}.dslc-modules-area{position:relative}.dslca-modules-area-drag-in-progress .dslc-modules-area{margin-right:1%!important;clear:none}.dslca-modules-area-manage{visibility:hidden;opacity:.5;-webkit-transition:opacity .2s ease-in-out;-moz-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;bottom:0;position:absolute;left:auto;right:100%;top:0;margin-right:0;text-align:center;z-index:999999}.dslc-modules-area:hover .dslca-modules-area-manage{visibility:visible;opacity:.5}.dslc-modules-area .dslca-modules-area-manage:hover{opacity:1}.dslca-modules-area-manage.dslca-horizontal{top:50%}.dslc-modules-section.dslc-full .dslca-modules-area-manage{right:auto;left:0;margin-right:0}.dslca-modules-area-manage-inner{background:#b2b7bc;border-radius:3px 0 0 3px;border-right-width:0;display:inline-block;margin-top:10px;position:relative;z-index:99999}.dslca-horizontal .dslca-modules-area-manage-inner{margin-top:-47px}.dslc-modules-section.dslc-full .dslca-modules-area-manage-inner{border-radius:0 3px 3px 0}.dslca-modules-area-manage .dslca-manage-action{color:#fff;display:block;text-decoration:none;font-size:12px;line-height:16px;text-align:center;margin:0}.dslca-modules-area-manage-inner .dslca-manage-action:first-child{margin-left:0;margin-top:0;padding-top:6px;border-radius:3px 0 0}.dslca-modules-area-manage .dslca-manage-action:last-child{padding-bottom:6px;border-radius:0 0 0 3px}#dslc-content .dslca-modules-area-manage .dslca-manage-action:hover{color:#fff;background:#a4a5a9}#dslc-content .dslca-modules-area-manage .dslca-change-width-modules-area-hook{position:relative}#dslc-content .dslca-modules-area-manage .dslca-icon{font-size:12px}.dslca-change-width-module-options,.dslca-change-width-modules-area-options{background:#fff;border:1px solid #d9dcdf;border-radius:3px;display:none;padding:7px;position:absolute;top:-10px;left:22px;z-index:99999;width:120px}.dslca-change-width-module-options{top:30px}.dslca-change-width-modules-area-options:after,.dslca-change-width-modules-area-options:before{right:100%;top:18px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-change-width-modules-area-options:after{border-color:rgba(255,255,255,0);border-right-color:#fff;border-width:10px;margin-top:-10px}.dslca-change-width-modules-area-options:before{border-color:rgba(205,205,205,0);border-right-color:#cdcdcd;border-width:11px;margin-top:-11px}.dslca-change-width-module-options span,.dslca-change-width-modules-area-options span{background:#4785db;border-radius:3px;display:inline-block;font-family:'Open Sans',sans-serif;font-size:13px;font-weight:400;line-height:24px;max-width:44px;margin:1px;text-align:center;width:44px}.dslca-change-width-module-options span:hover,.dslca-change-width-modules-area-options span:hover{background:#6B9FF1}.dslca-change-width-module-options span:first-child,.dslca-change-width-modules-area-options span:first-child{background:0 0;color:#5e636a;display:inline-block;font-size:13px;margin-bottom:5px;max-width:none;width:auto}#dslc-content .dslca-module-manage .dslca-module-manage-hook:hover,.dslca-section-scroller-next .dslca-icon,.dslca-section-scroller-prev .dslca-icon{color:#fff}.dslc-module-front.dslc-1-col .dslca-change-width-module-options span[data-size="1"],.dslc-module-front.dslc-10-col .dslca-change-width-module-options span[data-size="10"],.dslc-module-front.dslc-11-col .dslca-change-width-module-options span[data-size="11"],.dslc-module-front.dslc-12-col .dslca-change-width-module-options span[data-size="12"],.dslc-module-front.dslc-2-col .dslca-change-width-module-options span[data-size="2"],.dslc-module-front.dslc-3-col .dslca-change-width-module-options span[data-size="3"],.dslc-module-front.dslc-4-col .dslca-change-width-module-options span[data-size="4"],.dslc-module-front.dslc-5-col .dslca-change-width-module-options span[data-size="5"],.dslc-module-front.dslc-6-col .dslca-change-width-module-options span[data-size="6"],.dslc-module-front.dslc-7-col .dslca-change-width-module-options span[data-size="7"],.dslc-module-front.dslc-8-col .dslca-change-width-module-options span[data-size="8"],.dslc-module-front.dslc-9-col .dslca-change-width-module-options span[data-size="9"],.dslc-modules-area.dslc-1-col .dslca-change-width-modules-area-options span[data-size="1"],.dslc-modules-area.dslc-10-col .dslca-change-width-modules-area-options span[data-size="10"],.dslc-modules-area.dslc-11-col .dslca-change-width-modules-area-options span[data-size="11"],.dslc-modules-area.dslc-12-col .dslca-change-width-modules-area-options span[data-size="12"],.dslc-modules-area.dslc-2-col .dslca-change-width-modules-area-options span[data-size="2"],.dslc-modules-area.dslc-3-col .dslca-change-width-modules-area-options span[data-size="3"],.dslc-modules-area.dslc-4-col .dslca-change-width-modules-area-options span[data-size="4"],.dslc-modules-area.dslc-5-col .dslca-change-width-modules-area-options span[data-size="5"],.dslc-modules-area.dslc-6-col .dslca-change-width-modules-area-options span[data-size="6"],.dslc-modules-area.dslc-7-col .dslca-change-width-modules-area-options span[data-size="7"],.dslc-modules-area.dslc-8-col .dslca-change-width-modules-area-options span[data-size="8"],.dslc-modules-area.dslc-9-col .dslca-change-width-modules-area-options span[data-size="9"]{background:#3B6FBE;box-shadow:1px 1px 3px rgba(0,0,0,.28) inset;cursor:default}.dslc-modules-area-empty .dslca-modules-area-manage{top:12px;bottom:auto}.dslc-modules-area-empty .dslca-modules-area-manage-inner{margin-top:0}.dslca-modules-area-placeholder{position:relative;background:#5890e5;height:2px;margin:10px;float:left}body.rtl .dslca-modules-area-placeholder{float:right}.dslca-module-manage{display:block;position:absolute;left:50%;margin-left:-47px;top:-2px;text-align:center;z-index:99999;overflow:hidden;line-height:1}.dslca-module-manage.dslca-module-manage-change-width-active{z-index:100000}.dslca-module-manage-inner{background:#5890e5}.dslca-module-manage-inner.dslca-dev-mode{background:#444;border-color:#333}#dslc-content .dslc-modules-area.dslc-1-col .dslca-module-manage .dslca-module-manage-hook,#dslc-content .dslc-modules-area.dslc-2-col .dslca-module-manage .dslca-module-manage-hook{margin-right:-2px}#dslc-content .dslca-module-manage .dslca-module-manage-hook:first-child{margin-top:0;border-radius:0 0 0 3px}#dslc-content .dslca-module-manage .dslca-module-manage-hook:last-child{margin-right:0!important;border-radius:0 0 3px}.dslca-section-scroller{position:relative;height:74px;margin-right:80px;overflow:hidden}.dslca-section-scroller-inner{position:absolute;top:0;left:0;bottom:0;width:999999px;text-align:left;-webkit-transition:left .3s ease-in-out;-moz-transition:left .3s ease-in-out;transition:left .3s ease-in-out}.dslca-prompt-modal-actions,.dslca-prompt-modal-msg{text-align:center}.dslca-section-scroller-content{display:inline-block;padding-right:80px}.dslca-section-scroller-fade{background:-moz-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(88,144,229,0)),color-stop(100%,rgba(70,116,185,1)));background:-webkit-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:-o-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:-ms-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:linear-gradient(to right,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#00004799', endColorstr='#5890e5', GradientType=1 );position:absolute;right:80px;width:20px;bottom:0;top:0;z-index:1}.dslca-section-scroller-nav{position:absolute;right:0;top:0;bottom:0;overflow:hidden;width:80px;font-size:30px}.dslca-section-scroller-nav>a{cursor:pointer;display:flex;justify-content:center;align-items:center;width:40px;position:absolute;left:0;top:0;bottom:0;text-decoration:none;outline:0!important;background:rgba(0,0,0,.2)}.dslca-section-scroller-nav>a:hover{background:rgba(0,0,0,.15)}.dslca-section-scroller-nav>a:active{background:rgba(0,0,0,.25)}.dslca-section-scroller-nav .dslca-section-scroller-next{left:auto;right:0}.dslca-modal{background:#fff;border-radius:3px;color:#444;display:none;padding:14px 17px;position:absolute;bottom:55px;-moz-box-shadow:0 1px 6px rgba(0,0,0,.2);-webkit-box-shadow:0 1px 6px rgba(0,0,0,.2);box-shadow:0 1px 6px rgba(0,0,0,.2);z-index:9999991}.dslca-modal:after{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-color:rgba(255,255,255,0);border-top-color:#fff;border-width:7px;left:50%;margin-left:-7px}.dslca-prompt-modal-msg textarea.js-error-text{width:100%;min-height:80px;padding:5px;line-height:1.6em;font-size:13px;color:#848484}.dslca-prompt-modal-confirm-hook{margin-right:7px}.dslca-prompt-modal{background:rgba(255,255,255,.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999;height:100%}.dslca-prompt-modal-content{background:#fff;border-radius:3px;top:50%;position:relative;width:400px;margin:-123px auto 0;padding:30px 20px;-moz-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12)}.dslca-prompt-modal-descr,.dslca-prompt-modal-title{display:block;font-family:'Open Sans',sans-serif;margin-bottom:22px}.dslca-prompt-modal-title{color:#424242;font-size:16px;font-weight:700;line-height:1}.dslca-prompt-modal-descr{color:#8a8a8a;font-size:13px;font-weight:400;line-height:22px}.dslca-prompt-modal-descr textarea{width:100%;min-height:80px;padding:5px;font-size:11px}.dslca-prompt-modal-actions .dslc-icon{color:rgba(255,255,255,.5);margin-right:6px}.dslca-accordion-plain-content,.dslca-module-options-front,.dslca-module-options-front-backup,.dslca-tab-plain-content{display:none}#dslca-code,#dslca-content-for-search,.dslca-module-code,.dslca-module-edit-option-size{display:none!important}#dslca-wysiwyg-actions-cancel-hook,#dslca-wysiwyg-actions-save-hook{border-radius:3px;display:inline-block;padding:13px 10px;position:relative;color:#fff;font-size:12px;font-family:'Open Sans',sans-serif;font-weight:700;cursor:pointer;line-height:1}#dslca-wysiwyg{position:absolute;top:0;left:-110%;z-index:99999;height:200px;padding-bottom:60px}#dslcawysiwyg{overflow:hidden;height:100px}#wp-dslcawysiwyg-editor-container{height:82%}#dslc-content .dslc-module-front.dslca-module-wysiwyg-active{opacity:0;min-height:200px}#dslca-wysiwyg-actions{bottom:0;position:absolute;color:#fff;left:0;line-height:1;right:0;text-align:right}#dslca-wysiwyg-actions-save-hook{background:#5bd63b;text-align:center}#dslca-wysiwyg-actions-cancel-hook{background:#e55858;text-align:center}#dslc-content .dslca-wysiwyg-actions-edit{position:absolute;top:0;right:0;overflow:hidden}#dslc-content .dslca-wysiwyg-actions-edit-hook{background:#5890e5;color:#fff;cursor:pointer;display:block;font-size:12px;font-family:'Open Sans',sans-serif;line-height:1;font-weight:700;position:relative;top:-50px;padding:7px 10px;border-radius:0 0 0 3px;letter-spacing:0}#dslc-content .dslca-wysiwyg-actions-edit-hook:hover{background:#5080C9}body.dslca-enabled #mce-modal-block,body.dslca-enabled #mceModalBlocker,body.dslca-enabled #wp-link-backdrop,body.dslca-enabled .ui-dialog,body.dslca-enabled .ui-widget-overlay{z-index:99999999!important}body.dslca-enabled #dslcawpeditor_forecolor_menu,body.dslca-enabled #menu_dslcawpeditor_dslcawpeditor_formatselect_menu,body.dslca-enabled #wp-link-wrap,body.dslca-enabled .clearlooks2,body.dslca-enabled .mce-menu,body.dslca-enabled .mce-panel{z-index:999999991!important}body.dslca-enabled .mce_fullscreen{display:none}@keyframes dslcBounceIn{0%{-webkit-transform:scale(0);-moz-transform:scale(0);transform:scale(0);opacity:0}70%{-webkit-transform:scale(1.05);-moz-transform:scale(1.05);transform:scale(1.05)}90%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}100%{opacity:1}}@-moz-keyframes dslcBounceIn{0%{-moz-transform:scale(0);transform:scale(0);filter:alpha(opacity=0);opacity:0}70%{-moz-transform:scale(1.05);transform:scale(1.05)}90%{-moz-transform:scale(1);transform:scale(1)}100%{filter:alpha(opacity=100);opacity:1}}@-webkit-keyframes dslcBounceIn{0%{-webkit-transform:scale(0);transform:scale(0);filter:alpha(opacity=0);opacity:0}70%{-webkit-transform:scale(1.05);transform:scale(1.05)}90%{-webkit-transform:scale(1);transform:scale(1)}100%{filter:alpha(opacity=100);opacity:1}}@keyframes dslcBounceOut{0%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(.9);-moz-transform:scale(.9);transform:scale(.9)}}@-moz-keyframes dslcBounceOut{0%{-moz-transform:scale(1);transform:scale(1)}100%{-moz-transform:scale(.9);transform:scale(.9)}}@-webkit-keyframes dslcBounceOut{0%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(.9);transform:scale(.9)}}@keyframes dslcBounceOut2{0%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scale(1.01);-moz-transform:scale(1.01);transform:scale(1.01)}100%{-webkit-transform:scale(.9);-moz-transform:scale(.9);transform:scale(.9)}}@-moz-keyframes dslcBounceOut2{0%{-moz-transform:scale(1);transform:scale(1)}30%{-moz-transform:scale(1.01);transform:scale(1.01)}100%{-moz-transform:scale(.9);transform:scale(.9)}}@-webkit-keyframes dslcBounceOut2{0%{-webkit-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scale(1.01);transform:scale(1.01)}100%{-webkit-transform:scale(.9);transform:scale(.9)}}@keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:.7}}@-moz-keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:.7}}@-webkit-keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:.7}}@keyframes dslcRotate{0%{-webkit-transform:rotate(0);-moz-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dslcRotate{0%{-moz-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dslcRotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.dslc-modules-area.dslca-init-animation,.dslca-save-composer.dslca-init-animation,.dslca-save-draft-composer.dslca-init-animation{display:block;opacity:1;-webkit-animation-name:dslcBounceIn;-moz-animation-name:dslcBounceIn;animation-name:dslcBounceIn;animation-duration:.6s;-webkit-animation-duration:.6s}.dslc-editable-content.dslc-pen,.dslc-editable-content:focus{outline:rgba(0,0,0,.2) dashed 1px}span.dslca-manage-action,span.dslca-manage-action:hover,span.dslca-manage-action:hover *{cursor:pointer}.dslca-module-being-edited .dslca-module-manage{display:none!important}.dslc-notification .dslca-refresh-module-hook{right:35px}.dslca-container .dslca-module-edit-option-slider,.dslca-container .dslca-modules-section-edit-option-slider{position:relative}.dslca-container .dslca-module-edit-field-slider,.dslca-container .dslca-modules-section-edit-field-slider{background:#6c9fed;border-radius:5px;position:relative;height:5px;margin-top:20px}.dslca-container .dslca-module-edit-field-slider .ui-slider-handle,.dslca-container .dslca-modules-section-edit-field-slider .ui-slider-handle{background:#3b6fbe;border:1px solid #3565ad;border-radius:50%;top:-6px;position:absolute;width:15px;height:15px;margin-left:-7px}.dslca-container .dslca-module-edit-field-slider-tooltip,.dslca-container .dslca-modules-section-edit-field-slider-tooltip{display:none;position:absolute;background:#fff;border-radius:3px;bottom:20px;line-height:1;padding:10px;color:#838383;margin-left:-15px;font-size:14px}.dslca-container .dslca-module-edit-field-slider-tooltip:after,.dslca-container .dslca-modules-section-edit-field-slider-tooltip:after{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-color:#fff transparent transparent;border-width:6px;left:50%;margin-left:-6px}.dslca-module-edit-option-slider input,.dslca-modules-section-edit-option-slider input{cursor:ew-resize}.dslca-module-edit-option-slider:hover:after,.dslca-modules-section-edit-option-slider:hover:after{content:"click and drag";display:block;font-size:11px;margin-top:5px;opacity:.4;position:absolute}.dslca-module-edit-field-numeric-wrap,.dslca-modules-section-edit-field-numeric-wrap{position:relative}.dslca-module-edit-field-numeric-ext,.dslca-modules-section-edit-field-numeric-ext{position:absolute;color:rgba(255,255,255,.8);font-size:12px;right:15px;top:50%;margin-top:-5px;line-height:1}.dslca-module-edit-option-slider .dslca-module-edit-field-numeric-ext{right:10px;top:14px}.dslca-separator-empty{height:1px;line-height:0;border-bottom:1px solid rgba(0,0,0,.06);text-align:center;position:absolute;top:50%;left:0;right:0}.dslca-separator-empty span{background:#fff;border-radius:3px;color:#a0a0a0;display:inline-block;font-family:"Open Sans",sans-serif;font-size:10px;line-height:1;padding:3px 6px;position:relative;top:-7px}.dslca-wp-editor{background:rgba(0,0,0,.7);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999}.dslca-wp-editor-inner{background:#fff;position:fixed;top:30px;left:30px;right:30px;bottom:30px;padding:50px}.dslca-wp-editor-actions,.dslca-wp-editor-notification{margin-top:30px}#wp-dslcawpeditor-editor-container{border:1px solid #ddd}.dslca-invisible-overlay{display:block;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99998}.dslca-disable-selection .dslca-invisible-overlay{display:block}.dslca-loading-modal{background:rgba(0,0,0,.75);position:fixed;top:0;left:0;right:0;bottom:200px;z-index:999999}.dslca-loading-modal-content{position:relative;top:200px;width:580px;margin:0 auto}.dslca-loading-modal-msg{background:#fff;border-radius:3px;color:#707070;font-size:14px;font-family:'Open Sans',sans-serif;font-weight:400;line-height:1.5;padding:35px 25px;text-align:center;margin-bottom:10px;-moz-box-shadow:0 0 7px #000;-webkit-box-shadow:0 0 7px #000;box-shadow:0 0 7px #000}.dslca-loading-modal-actions{text-align:right}.dslca-loading-modal-cancel-hook,.dslca-loading-modal-confirm-hook{background:#e55f5f;border-radius:3px;cursor:pointer;color:#fff;display:inline-block;font-size:14px;font-family:'Open Sans',sans-serif;font-weight:700;line-height:1;padding:13px 15px}.dslca-loading-modal-confirm-hook{background:#4cc12d;margin-right:7px}.dslca-module-edit-field-ttip-content{display:none}.dslca-module-edit-field-icon-ttip-hook,.dslca-module-edit-field-ttip-hook{background:#3b6fbe;color:#5890e5;cursor:pointer;border-radius:50%;position:relative;display:inline-block;width:13px;height:13px;margin-left:10px;vertical-align:bottom}.dslca-module-edit-field-icon-ttip-hook .dslca-icon,.dslca-module-edit-field-ttip-hook .dslca-icon{position:absolute;left:5px;font-weight:400;font-size:10px;top:1px}.dslca-module-edit-field-icon-ttip,.dslca-module-edit-field-ttip{background:#fff;color:#8a8a8a;font-family:'Opens Sans',sans-serif;font-size:13px;line-height:1.4;display:none;border-radius:3px;padding:20px 25px;border:1px solid rgba(0,0,0,.12);position:absolute;-moz-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);text-align:center;z-index:999999}.dslca-module-edit-field-icon-ttip a,.dslca-module-edit-field-ttip a{color:#5890e5;font-weight:700;text-decoration:none}.dslca-module-edit-field-icon-ttip:after,.dslca-module-edit-field-icon-ttip:before,.dslca-module-edit-field-ttip:after,.dslca-module-edit-field-ttip:before{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-module-edit-field-icon-ttip:after,.dslca-module-edit-field-ttip:after{border-color:rgba(255,255,255,0);border-top-color:#fff;border-width:8px;left:50%;margin-left:-8px}.dslca-module-edit-field-icon-ttip:before,.dslca-module-edit-field-ttip:before{border-color:rgba(224,224,224,0);border-top-color:#d2d2d2;border-width:9px;left:50%;margin-left:-9px}.dslca-module-edit-field-ttip-close{cursor:pointer;position:absolute;background:#e55f5f;top:-9px;right:-9px;width:18px;line-height:18px;border-radius:18px;color:#fff;font-size:11px}.dslca-module-edit-option-image,.dslca-modules-section-edit-option-upload{min-width:auto}.dslca-module-edit-field-image-add-hook,.dslca-module-edit-field-image-remove-hook,.dslca-modules-section-edit-field-image-add-hook,.dslca-modules-section-edit-field-image-remove-hook{background:#3b6fbe;border:1px solid #3565ad;border-radius:3px;color:#a0c0f0;cursor:pointer;display:inline-block;font-size:12px;font-family:'Open Sans',sans-serif;font-weight:400;padding:9px 12px;line-height:1;white-space:nowrap}.dslca-module-edit-field-image-add-hook .dslca-icon,.dslca-module-edit-field-image-remove-hook .dslca-icon,.dslca-modules-section-edit-field-image-add-hook .dslca-icon,.dslca-modules-section-edit-field-image-remove-hook .dslca-icon{margin-right:7px}#dslc-footer,#dslc-header{position:relative}.dslc-hf-block-overlay{display:flex;justify-content:center;align-items:center;flex-direction:column;position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(88,144,229,.9);z-index:99999;text-align:center;opacity:0;-webkit-transition:opacity .2s ease-in-out;-moz-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.dslc-hf-block-overlay:hover{opacity:1}.dslc-hf-block-overlay-button,.dslc-hf-block-overlay-text{display:inline-block;color:#fff;font-size:20px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;text-decoration:none}.dslc-hf-block-overlay-text{font-size:13px;opacity:.5;margin-top:5px}body.dslca-composer-hidden .dslc-module-front,body.dslca-composer-hidden .dslc-modules-area,body.dslca-composer-hidden .dslc-modules-section{box-shadow:none!important;border:none!important}.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage,.dslca-composer-hidden .dslca-add-modules-section,body.dslca-composer-hidden .dslc-modules-section .dslca-modules-section-manage,body.dslca-composer-hidden .dslca-module-manage,body.dslca-composer-hidden .dslca-modules-area-manage{display:none!important}.dslca-loading{position:absolute;top:15px;left:25px;display:none}.followingBallsGWrap{width:64px;height:5px}.followingBallsG{background-color:rgba(255,255,255,.5);position:absolute;top:0;left:0;width:5px;height:5px;-moz-border-radius:3px;-moz-animation-name:bounce_followingBallsG;-moz-animation-duration:2.3s;-moz-animation-iteration-count:infinite;-moz-animation-direction:linear;-webkit-border-radius:3px;-webkit-animation-name:bounce_followingBallsG;-webkit-animation-duration:2.3s;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:linear;-ms-border-radius:3px;-ms-animation-name:bounce_followingBallsG;-ms-animation-duration:2.3s;-ms-animation-iteration-count:infinite;-ms-animation-direction:linear;-o-border-radius:3px;-o-animation-name:bounce_followingBallsG;-o-animation-duration:2.3s;-o-animation-iteration-count:infinite;-o-animation-direction:linear;border-radius:3px;animation-name:bounce_followingBallsG;animation-duration:2.3s;animation-iteration-count:infinite;animation-direction:linear}.followingBallsG_1{-moz-animation-delay:0s;-webkit-animation-delay:0s;-ms-animation-delay:0s;-o-animation-delay:0s;animation-delay:0s}.followingBallsG_2{-moz-animation-delay:.23s;-webkit-animation-delay:.23s;-ms-animation-delay:.23s;-o-animation-delay:.23s;animation-delay:.23s}.followingBallsG_3{-moz-animation-delay:.46s;-webkit-animation-delay:.46s;-ms-animation-delay:.46s;-o-animation-delay:.46s;animation-delay:.46s}.followingBallsG_4{-moz-animation-delay:.69s;-webkit-animation-delay:.69s;-ms-animation-delay:.69s;-o-animation-delay:.69s;animation-delay:.69s}@-moz-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@-webkit-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@-ms-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@-o-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}.dslca-container-loader{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,.2);display:none}.dslca-container-loader-inner{position:absolute;top:10px;left:15px}body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Excerpt],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Meta],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Downloads_Button],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Gallery_Slider],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Project_Slider],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Staff_Social]{display:none!important}.media-modal{z-index:999999999!important}.media-modal-backdrop{z-index:999999998!important}.dslca-container .dslca-activate-composer-hook,.dslca-container .dslca-close-composer-hook,.dslca-container .dslca-hide-composer-hook,.dslca-container .dslca-show-composer-hook,.dslca-pseudo-panel .dslca-pseudo-close-composer-hook,.dslca-pseudo-panel .dslca-pseudo-hide-composer-hook{background:#e55f5f;border-radius:3px;bottom:4px;color:#fff;cursor:pointer;display:block;font-size:11px;font-family:Roboto,sans-serif;font-weight:900;line-height:1;padding:11px 12px;text-transform:uppercase;text-decoration:none;white-space:nowrap;float:left;margin-left:5px}.dslca-container .dslca-close-composer-hook:hover{background:#f27562}.dslca-container .dslca-hide-composer-hook,.dslca-pseudo-panel .dslca-pseudo-hide-composer-hook{background:#06b2ac}.dslca-container .dslca-show-composer-hook{background:#9268a9;display:none}.dslca-activate-composer-hook:hover,.dslca-activate-composer-hook:visited,.dslca-close-composer-hook:hover,.dslca-close-composer-hook:visited{color:#fff}.dslca-activate-composer-hook{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;background:#54c13f;color:#fff;position:fixed;z-index:99999;right:5px;bottom:5px}.dslca-activate-composer-hook:hover{background:#40D71F}.dslca-activate-composer-hook.dslca-position-left{right:auto;left:5px}.dslca-activate-composer-hook .dslca-icon,.dslca-container .dslca-close-composer-hook .dslca-icon,.dslca-container .dslca-hide-composer-hook .dslca-icon,.dslca-container .dslca-show-composer-hook .dslca-icon,.dslca-pseudo-close-composer-hook .dslca-icon,.dslca-pseudo-hide-composer-hook .dslca-icon{color:rgba(255,255,255,.66);margin-right:5px}body.rtl .dslca-templates .dslca-go-to-section-hook .dslca-icon,body.rtl .dslca-templates .dslca-open-modal-hook .dslca-icon{margin-right:0;margin-left:9px}body.rtl .dslca-section-title-filter .dslca-icon{margin-left:0;margin-right:10px}body.rtl .dslca-activate-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-close-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-hide-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-show-composer-hook .dslca-icon{margin-right:0;margin-left:5px}body.rtl .dslca-module .dslca-icon{margin-right:0;margin-left:11px}body.rtl .dslca-header .dslca-options-filter-hook .dslca-icon{margin-right:0;margin-left:4px}body.rtl .dslca-prompt-modal-actions .dslc-icon{margin-right:0;margin-left:6px}body.rtl .dslca-module-edit-option-checkbox-hook .dslca-icon,body.rtl .dslca-no-content .dslca-icon{margin-right:0;margin-left:10px}body.rtl .dslca-module-edit-options-inner,body.rtl .dslca-modules-section-edit-options-inner{overflow-x:auto}body.rtl .dslca-module-edit-option,body.rtl .dslca-modules-section-edit-option{float:right}.dslca-module-edit-options-wrapper,.dslca-modules-section-edit-options-wrapper,.dslca-pseudo-module-edit-options-wrapper{display:table-cell;padding:0 0 20px}.dslca-module-edit-options-inner,.dslca-modules-section-edit-options-inner{overflow-x:scroll}.dslca-styling-presets{position:absolute;top:0;right:0;margin-right:15px;margin-top:15px}.dslca-drag-not-in-progress .dslc-modules-section .dslca-modules-section-manage-inner{-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.dslca-drag-not-in-progress .dslc-modules-section:hover .dslca-modules-section-manage-inner{opacity:1}.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage-inner{opacity:0}.dslca-drag-not-in-progress .dslc-module-front .dslca-module-manage{overflow:hidden}.dslca-drag-not-in-progress .dslc-module-front:hover .dslca-module-manage.dslca-module-manage-change-width-active{overflow:visible}.dslca-drag-not-in-progress #dslc-content .dslc-module-front .dslca-module-manage-inner,.dslca-drag-not-in-progress #dslc-content .dslc-module-front .dslca-wysiwyg-actions-edit-hook{top:0;opacity:0;-webkit-transition:opacity .1s ease-in-out;-moz-transition:opacity .1s ease-in-out;transition:opacity .1s ease-in-out}.dslca-drag-not-in-progress #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,.dslca-drag-not-in-progress #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit-hook{top:0;opacity:1}.dslca-drag-not-in-progress .dslc-modules-area .dslca-modules-area-manage-inner{opacity:0}.dslca-drag-not-in-progress .dslc-modules-area:hover .dslca-modules-area-manage-inner{opacity:1}.dslca-modal.dslca-modal-icons{width:70%;position:fixed;padding:0;overflow:scroll;top:2%;left:50%!important;visibility:visible;transform:translate(-50%,0);z-index:100001}.dslca-prompt-modal-custom{background:rgba(255,255,255,.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:100000;height:100%}.dslca-modal-icons .modal-content{height:100%}.dslca-modal-icons .dslc-icons-grid{list-style:none;margin:0;padding:0;text-align:left}.dslca-modal-icons .icon-item{display:inline-block;width:12.4%;min-height:120px;padding:0;margin:0 0 0 -1px;vertical-align:top;text-align:center;border-left:1px solid rgba(155,155,155,.05);border-bottom:1px solid rgba(155,155,155,.05)}.dslca-modal-icons .icon-item:hover{-webkit-box-shadow:0 1px 5px 0 rgba(68,68,68,.52);-moz-box-shadow:0 1px 5px 0 rgba(68,68,68,.52);box-shadow:0 1px 5px 0 rgba(68,68,68,.52);cursor:pointer}.dslca-modal-icons .icon-item:active{-webkit-box-shadow:0 1px 5px 0 #5890e5 inset;-moz-box-shadow:0 1px 5px 0 #5890e5 inset;box-shadow:0 1px 5px 0 #5890e5 inset}.dslca-modal-icons .icon-item_icon{display:inline-block;width:100%;padding:28px 0 16px;font-size:24px;opacity:.7}.dslca-modal-icons .icon-item:hover .icon-item_icon{opacity:1}.dslca-modal-icons .icon-item_name{opacity:.35;display:inline-block;font-family:'Open Sans',sans-serif;font-size:12px;line-height:1.25;padding:5px 8px 12px}body.dslca-enabled.dslc-res-phone #page-builder-preview-area,body.dslca-enabled.dslc-res-tablet #page-builder-preview-area{display:block;margin:0 auto;position:relative;border:14px solid #000;border-top-width:60px;border-radius:16px;top:40px}body.dslca-enabled.dslc-res-phone #page-builder-preview-area{width:480px;max-width:767px}body.dslca-enabled.dslc-res-tablet #page-builder-preview-area{width:768px;min-width:768px;max-width:1024px}body.dslca-enabled.dslc-res-phone #page-builder-frame,body.dslca-enabled.dslc-res-tablet #page-builder-frame{display:block;position:relative}html.dslc-responsive-preview{background:#61666A}#page-builder-preview-area.ui-resizable-resizing .ui-resizable-e{width:100%}#page-builder-preview-area .ui-resizable-e{cursor:e-resize;height:100%;right:-14px;width:14px;top:0}#page-builder-preview-area .ui-resizable-handle{display:block;font-size:.1px;position:absolute}.dslca-module-edit-field-colorpicker,.dslca-modules-section-edit-field-colorpicker{display:block!important;cursor:pointer;position:relative;z-index:1}.dslca-module-edit-option-box-shadow-color,.dslca-module-edit-option-text-shadow-color{display:inline-block!important;cursor:pointer;position:relative;z-index:1;width:auto}body .sp-palette-container{border-right:1px solid #3e3e3e}body .sp-palette .sp-thumb-el{border:none;height:25px;margin:1px;width:25px}.dslca-pseudo-panel{bottom:0;left:0;position:fixed;right:0;z-index:99999;-webkit-transition:bottom .3s;-moz-transition:bottom .3s;transition:bottom .3s}.dslca-pseudo-header{position:absolute;z-index:100;min-height:38px;bottom:100%;left:0}.dslca-pseudo-module-edit-label{width:80px;background:#6c9fed;border-radius:3px}.dslca-pseudo-module-edit-field{border:0;width:100%;height:33px}.dslca-pseudo-module-edit-option{opacity:0;transition:opacity .3s 0s ease-in}.dslca-pseudo-module-edit-option:nth-child(2){transition-delay:.15s}.dslca-pseudo-module-edit-option:nth-child(3){transition-delay:.25s}.dslca-pseudo-module-edit-option:nth-child(4){transition-delay:.5s}.dslca-pseudo-module-edit-option:nth-child(5){transition-delay:.75s}.dslca-pseudo-panel.show .dslca-pseudo-module-edit-option{opacity:1}.lc-shake-effect.active{animation:shake .82s cubic-bezier(.36,.07,.19,.97) both;transform:translate3d(0,0,0);backface-visibility:hidden;perspective:1000px}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}body.dslca-drag-in-progress .lc-scroll-top-area,body.dslca-new-module-drag-in-progress .lc-scroll-top-area{position:fixed;top:0;z-index:99999;left:0;width:100%;height:80px}body.dslca-drag-in-progress .lc-scroll-bottom-area,body.dslca-new-module-drag-in-progress .lc-scroll-bottom-area{position:fixed;bottom:0;left:0;z-index:99999;width:100%;height:140px}div#scroller-stopper{position:absolute;bottom:-33px;left:0;width:100%;height:83px}.sp-container.sp-flat,.sp-top{position:relative}.sp-clear-enabled .sp-hue,.sp-hue{height:100%;top:0}.sp-container{top:0;left:0;display:inline-block;overflow:hidden}.sp-container,.sp-container *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.sp-top{width:100%;display:inline-block}.sp-alpha-handle,.sp-color,.sp-dragger,.sp-hue,.sp-sat,.sp-slider,.sp-top-inner,.sp-val{position:absolute}.sp-top-inner{top:0;left:0;bottom:0;right:0}.sp-color{top:0;left:0;bottom:0;right:20%}.sp-hue{right:0;bottom:0;left:84%}.sp-fill{padding-top:80%}.sp-sat,.sp-val{top:0;left:0;right:0;bottom:0}.sp-alpha-enabled .sp-top{margin-bottom:18px}.sp-alpha-enabled .sp-alpha{display:block}.sp-alpha,.sp-clear,.sp-container.sp-buttons-disabled .sp-button-container,.sp-container.sp-input-disabled .sp-input-container,.sp-initial-disabled .sp-initial,.sp-palette-disabled .sp-palette-container,.sp-palette-only .sp-picker-container{display:none}.sp-alpha-handle{top:-4px;bottom:-4px;width:6px;left:50%;cursor:pointer;border:1px solid #000;background:#fff;opacity:.8}.sp-alpha{bottom:-14px;right:0;left:0;height:8px}.sp-alpha-inner{border:1px solid #333}.sp-clear.sp-clear-display{background-position:center}.sp-clear-enabled .sp-clear{display:none;position:absolute;top:0;right:0;bottom:0;left:84%;height:28px}.sp-alpha,.sp-alpha-handle,.sp-clear,.sp-container,.sp-container button,.sp-container.sp-dragging .sp-input,.sp-dragger,.sp-preview,.sp-replacer,.sp-slider{-webkit-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;user-select:none}.sp-sat{background-image:-webkit-gradient(linear,0 0,100% 0,from(#FFF),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(left,#FFF,rgba(204,154,129,0));background-image:-moz-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-o-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-ms-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:linear-gradient(to right,#fff,rgba(204,154,129,0));-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";filter:progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81')}.sp-val{background-image:-webkit-gradient(linear,0 100%,0 0,from(#000),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-moz-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-o-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-ms-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:linear-gradient(to top,#000,rgba(204,154,129,0));-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000')}.sp-hue{background:-moz-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:-ms-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:-o-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:-webkit-gradient(linear,left top,left bottom,from(red),color-stop(.17,#ff0),color-stop(.33,#0f0),color-stop(.5,#0ff),color-stop(.67,#00f),color-stop(.83,#f0f),to(red));background:-webkit-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}.sp-1{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00')}.sp-2{height:16%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00')}.sp-3{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff')}.sp-4{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff')}.sp-5{height:16%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff')}.sp-6{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000')}.sp-hidden{display:none!important}.sp-cf:after,.sp-cf:before{content:"";display:table}@media (max-device-width:480px){.sp-color{right:40%}.sp-hue{left:63%}.sp-fill{padding-top:60%}}.sp-dragger{border-radius:5px;height:5px;width:5px;border:1px solid #fff;background:#000;cursor:pointer;top:0;left:0}.sp-slider{top:0;cursor:pointer;height:3px;left:-1px;right:-1px;border:1px solid #000;background:#fff;opacity:.8}.sp-container{border-radius:0;padding:0}.sp-clear,.sp-color,.sp-container,.sp-container button,.sp-container input,.sp-hue{font:400 12px "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Verdana,sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.sp-top{margin-bottom:3px}.sp-clear,.sp-color,.sp-hue{border:1px solid #666}.sp-input-container{float:right;width:100px}.sp-initial-disabled .sp-input-container,.sp-input{width:100%}.sp-input{font-size:12px!important;border:1px inset;padding:4px 5px;margin:0;background:0 0;border-radius:3px;color:#222}.sp-input:focus{border:1px solid orange}.sp-input.sp-validation-error{border:1px solid red;background:#fdd}.sp-palette-container,.sp-picker-container{float:left;position:relative;padding:10px 10px 300px;margin-bottom:-290px}.sp-picker-container{width:172px}.sp-palette-container{border-right:solid 1px #ccc}.sp-palette .sp-thumb-el{display:block;position:relative;float:left;cursor:pointer}.sp-palette .sp-thumb-el.sp-thumb-active,.sp-palette .sp-thumb-el:hover{border-color:orange}.sp-initial{float:left;border:1px solid #333}.sp-initial span{width:30px;height:25px;border:0;display:block;float:left;margin:0}.sp-initial .sp-clear-display{background-position:center}.sp-replacer{margin:0;overflow:hidden;cursor:pointer;padding:4px;display:inline-block;border:1px solid #91765d;background:#eee;color:#333;vertical-align:middle}.sp-replacer.sp-active,.sp-replacer:hover{border-color:#F0C49B;color:#111}.sp-replacer.sp-disabled{cursor:default;border-color:silver;color:silver}.sp-dd{padding:2px 0;height:16px;line-height:16px;float:left;font-size:10px}.sp-preview{width:25px;height:20px;border:1px solid #222;margin-right:5px;float:left;z-index:0}.sp-palette{max-width:220px}.sp-palette .sp-thumb-el{width:16px;height:16px;margin:2px 1px;border:1px solid #d0d0d0}.sp-container{padding-bottom:0}.sp-container button{background-color:#eee;background-image:-webkit-linear-gradient(top,#eee,#ccc);background-image:-moz-linear-gradient(top,#eee,#ccc);background-image:-ms-linear-gradient(top,#eee,#ccc);background-image:-o-linear-gradient(top,#eee,#ccc);background-image:linear-gradient(to bottom,#eee,#ccc);border:1px solid #ccc;border-bottom:1px solid #bbb;border-radius:3px;color:#333;font-size:14px;line-height:1;padding:5px 4px;text-align:center;text-shadow:0 1px 0 #eee;vertical-align:middle}.sp-container button:hover{background-color:#ddd;background-image:-webkit-linear-gradient(top,#ddd,#bbb);background-image:-moz-linear-gradient(top,#ddd,#bbb);background-image:-ms-linear-gradient(top,#ddd,#bbb);background-image:-o-linear-gradient(top,#ddd,#bbb);background-image:linear-gradient(to bottom,#ddd,#bbb);border:1px solid #bbb;border-bottom:1px solid #999;cursor:pointer;text-shadow:0 1px 0 #ddd}.sp-container button:active{border:1px solid #aaa;border-bottom:1px solid #888;-webkit-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-moz-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-ms-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-o-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee}.sp-cancel{font-size:11px;color:#d93f3f!important;margin:0 5px 0 0;padding:2px;vertical-align:middle;text-decoration:none}.sp-cancel:hover{color:#d93f3f!important;text-decoration:underline}.sp-palette span.sp-thumb-active,.sp-palette span:hover{border-color:#000}.sp-alpha,.sp-preview,.sp-thumb-el{position:relative;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.sp-alpha-inner,.sp-preview-inner,.sp-thumb-inner{display:block;position:absolute;top:0;left:0;bottom:0;right:0}.sp-palette .sp-thumb-inner{background-position:50% 50%;background-repeat:no-repeat}.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=)}.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=)}.sp-clear-display{background-repeat:no-repeat;background-position:center;background-image:url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==)}.sp-container{position:fixed;z-index:99999999!important;background:#313131;border:0}.sp-picker-container{border:0}.sp-clear,.sp-color,.sp-hue{border-color:#000}.sp-button-container{float:none;text-align:right;clear:both;margin-top:10px}.dslca-container .sp-dd{display:none}.dslca-container .sp-preview{width:100%;height:15px;border:1px solid #3565ad;border-radius:4px;overflow:hidden}.dslca-sp-revert,.sp-cancel.dslc-icon,.sp-choose.dslc-icon{padding:0;margin:0;background:#e55f5f;display:inline-block;width:24px;height:24px;line-height:24px;font-size:12px;color:#fff!important;border-radius:3px;text-align:center;text-decoration:none!important;cursor:pointer;vertical-align:baseline}.sp-choose.dslc-icon{background:#78ca4f;margin-left:5px}.dslca-sp-revert{background:#06b2ac;float:left}.sp-input-container{margin-top:5px;margin-bottom:10px}body input[type=text].sp-input{background:#444!important;padding:5px;border:0;border-radius:0;color:#fff}.dslca-container .sp-replacer{opacity:0;visibility:hidden;display:inline-block!important;width:1px;vertical-align:middle;position:absolute;left:0;top:50px}.dslca-module-edit-option-box-shadow-single .sp-replacer{top:0}
css/builder/builder.main.css CHANGED
@@ -4193,4 +4193,12 @@ body.dslca-new-module-drag-in-progress .lc-scroll-bottom-area{
4193
  z-index: 99999;
4194
  width: 100%;
4195
  height: 140px;
 
 
 
 
 
 
 
 
4196
  }
4193
  z-index: 99999;
4194
  width: 100%;
4195
  height: 140px;
4196
+ }
4197
+
4198
+ div#scroller-stopper {
4199
+ position: absolute;
4200
+ bottom: -33px;
4201
+ left: 0px;
4202
+ width: 100%;
4203
+ height: 83px;
4204
  }
css/frontend.min.css CHANGED
@@ -1 +1 @@
1
- .dslc-clear,.dslc-clearfix:after,.dslc-first-col,.dslc-module-heading:after{clear:both}.dslc-tp-comment-form textarea,.mfp-container{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mfp-arrow,.owl-controls{-webkit-tap-highlight-color:transparent}#dslc-content blockquote p:last-child{margin-bottom:0!important}#dslc-header{position:relative}#dslc-header.dslc-header-pos-absolute{position:absolute;top:0;left:0;right:0;z-index:999999}#dslc-header.dslc-header-pos-fixed{position:fixed;top:0;left:0;right:0;z-index:999999}body.admin-bar:not(.dslca-enabled) #dslc-header.dslc-header-pos-fixed{top:32px}#dslc-footer,body.dslca-enabled:not(.dslca-composer-hidden) #dslc-header.dslc-header-pos-absolute,body.dslca-enabled:not(.dslca-composer-hidden) #dslc-header.dslc-header-pos-fixed{position:relative}#dslc-footer.dslc-footer-pos-absolute{position:absolute;bottom:0;left:0;right:0;z-index:999999}#dslc-footer.dslc-footer-pos-fixed{position:fixed;bottom:0;left:0;right:0;z-index:999999}.dslc-modules-section{border:0 solid transparent;position:relative}.dslc-modules-section.dslc-init-parallax{background-attachment:fixed}.dslc-modules-section-wrapper{max-width:100%;margin:0 auto}.dslc-modules-section.dslc-full .dslc-modules-section-wrapper{width:100%}.dslc-module-front{position:relative}.dslc-col{display:block;float:left;margin-right:2.12766%;min-height:1px}body.rtl .dslc-col{float:right;margin-left:2.12766%;margin-right:0}.dslc-1-col{width:6.38297%}.dslc-2-col{width:14.89361%}.dslc-3-col{width:23.40425%}.dslc-4-col{width:31.91489%}.dslc-5-col{width:40.42553%}.dslc-6-col{width:48.93617%}.dslc-7-col{width:57.4468%}.dslc-8-col{width:65.95744%}.dslc-9-col{width:74.46808%}.dslc-10-col{width:82.97872%}.dslc-11-col{width:91.48936%}.dslc-12-col{width:100%}.dslc-last-col{margin-right:0}body.rtl .dslc-last-col{margin-left:0}.dslc-no-columns-spacing .dslc-col{margin:0}.dslc-no-columns-spacing .dslc-1-col{width:8.33333%}.dslc-no-columns-spacing .dslc-2-col{width:16.66666%}.dslc-no-columns-spacing .dslc-3-col{width:25%}.dslc-no-columns-spacing .dslc-4-col{width:33.33333%}.dslc-no-columns-spacing .dslc-5-col{width:41.66666%}.dslc-no-columns-spacing .dslc-6-col{width:50%}.dslc-no-columns-spacing .dslc-7-col{width:58.33333%}.dslc-no-columns-spacing .dslc-8-col{width:66.66666%}.dslc-no-columns-spacing .dslc-9-col{width:75%}.dslc-no-columns-spacing .dslc-10-col{width:83.33333%}.dslc-no-columns-spacing .dslc-11-col{width:91.66666%}.dslc-no-columns-spacing .dslc-12-col,.dslc-no-columns-spacing .dslc-carousel .dslc-col,.dslc-no-columns-spacing .dslc-carousel .dslc-first-col,.dslc-no-columns-spacing .dslc-carousel .dslc-last-col{width:100%}.dslc-clearfix:after,.dslc-clearfix:before,.dslc-module-heading:after,.dslc-module-heading:before{content:" ";display:table}.dslc-fl{float:left}.dslc-fr{float:right}.dslc-no-float{float:none!important}.dslc-posts{overflow:hidden}.dslc-carousel .dslc-col,.dslc-carousel .dslc-first-col,.dslc-carousel .dslc-last-col{float:none;clear:none;margin:0}.dslc-carousel-item{width:auto}.dslc-carousel-nav{float:right}.dslc-carousel-nav-inner{display:block}.dslc-carousel-nav-next,.dslc-carousel-nav-prev{background:#c9c9c9;border:0 solid transparent;border-radius:3px;display:inline-flex;justify-content:center;align-items:center;height:23px;position:relative;width:23px;text-decoration:none;vertical-align:bottom}.dslc-carousel-nav-prev{margin-right:7px}.dslc-carousel-nav-next span,.dslc-carousel-nav-prev span{color:#fff;font-size:10px;text-align:center;font-weight:400}#dslc-content .dslc-carousel .owl-pagination .owl-page span{margin:0;filter:Alpha(Opacity=100);opacity:1}#dslc-content .dslc-slider{padding-bottom:1px;opacity:0;max-height:10px}#dslc-content .dslc-slider img{max-width:100%}#dslc-content .dslc-slider .owl-pagination .owl-page span{margin:0;filter:Alpha(Opacity=100);opacity:1}.dslc-carousel{opacity:0;max-height:100px}.dslca-activate-composer-hook{background:#54c13f;color:#fff;border-radius:3px;position:fixed;z-index:99999;right:5px;bottom:5px;cursor:pointer;display:block;font-size:11px;font-family:'Open Sans',sans-serif;font-weight:900;line-height:1;padding:11px 12px;text-transform:uppercase;text-decoration:none;white-space:nowrap;float:left;margin-left:5px}.dslca-activate-composer-hook:hover{background:#40D71F}.dslca-activate-composer-hook:visited{color:#fff}.dslca-activate-composer-hook.dslca-position-left{right:auto;left:5px}.dslca-activate-composer-hook .dslca-icon{color:rgba(255,255,255,.66);margin-right:5px}@keyframes dslcSpin{0%{-webkit-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dslcSpin{0%{-moz-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dslcSpin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-ms-keyframes "dslcSpin"{0%{-ms-transform:rotate(0);transform:rotate(0)}100%{-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes dslcSpin{0%{-o-transform:rotate(0);transform:rotate(0)}100%{-o-transform:rotate(360deg);transform:rotate(360deg)}}.dslc-loader{position:relative;width:20px;height:20px;border:2px solid #0cf;border-radius:50%;-webkit-animation:dslcSpin .75s infinite linear;-moz-animation:dslcSpin .75s infinite linear;-ms-animation:dslcSpin .75s infinite linear;-o-animation:dslcSpin .75s infinite linear;animation:dslcSpin .75s infinite linear;margin-left:48%}.dslc-loader::after,.dslc-loader::before{left:-2px;top:-2px;display:none;position:absolute;content:'';width:inherit;height:inherit;border:inherit;border-radius:inherit}.dslc-loader,.dslc-loader::before{display:inline-block;border-color:#0cf transparent transparent}.dslc-loader::before{-webkit-animation:dslcSpin 1.5s infinite ease;-moz-animation:dslcSpin 1.5s infinite ease;-ms-animation:dslcSpin 1.5s infinite ease;-o-animation:dslcSpin 1.5s infinite ease;animation:dslcSpin 1.5s infinite ease}.dslc-notification{background:#fff;border:1px solid #e8e8e8;border-radius:3px;color:#979797;margin-bottom:20px;padding:15px;position:relative;font-size:14px;line-height:25px}.dslc-notification.dslc-green,.dslc-notification.dslc-red,.dslc-notification.dslc-yellow{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.14)}.dslc-module-DSLC_Image .dslc-notification{font-family:'Open Sans',sans-serif}.dslc-notification .dslc-icon{cursor:pointer;position:absolute;right:14px;top:21px}.dslc-notification.dslc-red{background:#f65757;border-color:#e43737}.dslc-notification.dslc-yellow{background:#fac841;border-color:#eab72e}.dslc-notification.dslc-green{background:#8ccb25;border-color:#77b01a}#dslc-content .dslc-module-heading{overflow:hidden;position:relative}#dslc-content .dslc-module-heading h2{display:block;float:left;font-size:17px;font-weight:400;line-height:1;margin:0 15px 0 0;padding:0}#dslc-content .dslc-module-heading-view-all{display:block;float:left;font-size:11px;line-height:1;margin:3px 20px 3px 0}#dslc-content .dslc-module-heading-view-all a{display:block;padding-left:15px;border-left:1px dotted #4f4f4f;font-weight:600;line-height:1;text-decoration:none}.dslc-masonry-item{margin-bottom:30px;margin-right:0}.dslc-masonry-item-animate{-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.dslc-post-separator{clear:both;height:1px;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #ededed}.dslc-pagination{border:0 solid transparent;overflow:hidden;margin-top:30px}.dslc-pagination ul{margin:0;padding:0}.dslc-pagination li{display:inline-block;margin:0 10px 0 0;padding:0}.dslc-pagination li:last-child{margin-right:0!important}.dslc-pagination-load-more .dslc-icon,.dslc-post-filter{margin-right:10px}.dslc-pagination li a{background:#eee;border:0 solid transparent;color:#000;display:block;line-height:1;padding:10px;text-decoration:none}.dslc-pagination li.current a{background:#000;color:#fff}.dslc-pagination li.dslc-pagination-load-more{width:auto;display:block}.dslc-pagination li.dslc-pagination-load-more.dslc-inactive a{cursor:default}.dslc-load-more-temp{display:none}.dslc-init-center{display:flex;align-items:center;justify-content:center}.dslc-init-topleft .dslc-init-target{position:absolute!important;top:0!important;left:0!important;bottom:auto!important;right:auto!important}.dslc-init-topright .dslc-init-target{position:absolute!important;top:0!important;right:0!important;bottom:auto!important;left:auto!important}.dslc-init-bottomleft .dslc-init-target{position:absolute!important;bottom:0!important;left:0!important;top:auto!important;right:auto!important}.dslc-init-bottomright .dslc-init-target{position:absolute!important;bottom:0!important;right:0!important;top:auto!important;left:auto!important}.dslc-post-filters{overflow:hidden;font-size:0}.dslc-post-filter{background:#fff;border:1px solid #e8e8e8;border-radius:3px;color:#979797;cursor:pointer;display:inline-block;font-size:11px;font-weight:700;line-height:1;padding:12px}.dslc-post-filter.dslc-active{color:#ff4e01}.dslc-post-filter:last-child{margin-right:0!important}#dslc-content .dslc-bg-video{background:0 0;position:absolute;left:0;right:0;bottom:0;top:0;opacity:0}#dslc-content .dslc-bg-video.dslc-force-show{opacity:1}#dslc-content .dslc-bg-video .mejs-container{background:0 0;position:absolute;left:0;right:0;bottom:0;top:0;width:100%!important;height:auto!important;overflow:hidden}#dslc-content .dslc-bg-video video{min-width:100%;height:auto!important;min-height:100%}#dslc-content .dslc-bg-video .mejs-controls{display:none!important}#dslc-content .dslc-bg-video-overlay{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;background:#000}.dslc-trigger-lightbox-gallery{cursor:pointer}@media only screen and (min-device-width :768px) and (max-device-width :1024px){.dslc-modules-section.dslc-init-parallax{background-attachment:scroll!important;background-position:0 0!important}}@media only screen and (max-width:767px){.dslc-modules-section.dslc-init-parallax{background-attachment:scroll!important;background-position:0 0!important}}@keyframes dslcFadeIn{to{opacity:1}}@keyframes dslcSlideUp{to{transform:translateY(0)}}@keyframes dslcSlideDown{to{transform:translateY(0)}}@keyframes dslcSlideRight{to{transform:translateX(0)}}@keyframes dslcSlideLeft{to{transform:translateX(0)}}@keyframes dslcSlideUpFadeIn{to{transform:translateY(0);opacity:1}}@keyframes dslcSlideDownFadeIn{to{transform:translateY(0);opacity:1}}@keyframes dslcSlideRightFadeIn{to{transform:translateX(0);opacity:1}}@keyframes dslcSlideLeftFadeIn{to{transform:translateX(0);opacity:1}}@media only screen and (min-width:768px){@-webkit-keyframes dslcFadeIn{to{opacity:1}}@-moz-keyframes dslcFadeIn{to{opacity:1}}.dslc-in-viewport-anim-dslcFadeIn.dslc-in-viewport-check{opacity:0}@-webkit-keyframes dslcSlideUp{to{-webkit-transform:translateY(0)}}@-moz-keyframes dslcSlideUp{to{-moz-transform:translateY(0)}}.dslc-in-viewport-anim-dslcSlideUp.dslc-in-viewport-check{-webkit-transform:translateY(100px);-moz-transform:translateY(100px);transform:translateY(100px)}@-webkit-keyframes dslcSlideDown{to{-webkit-transform:translateY(0)}}@-moz-keyframes dslcSlideDown{to{-moz-transform:translateY(0)}}.dslc-in-viewport-anim-dslcSlideDown.dslc-in-viewport-check{-webkit-transform:translateY(-100px);-moz-transform:translateY(-100px);transform:translateY(-100px)}@-webkit-keyframes dslcSlideRight{to{-webkit-transform:translateX(0)}}@-moz-keyframes dslcSlideRight{to{-moz-transform:translateX(0)}}.dslc-in-viewport-anim-dslcSlideRight.dslc-in-viewport-check{-webkit-transform:translateX(-100px);-moz-transform:translateX(-100px);transform:translateX(-100px)}@-webkit-keyframes dslcSlideLeft{to{-webkit-transform:translateX(0)}}@-moz-keyframes dslcSlideLeft{to{-moz-transform:translateX(0)}}.dslc-in-viewport-anim-dslcSlideLeft.dslc-in-viewport-check{-webkit-transform:translateX(100px);-moz-transform:translateX(100px);transform:translateX(100px)}@-webkit-keyframes dslcSlideUpFadeIn{to{-webkit-transform:translateY(0);opacity:1}}@-moz-keyframes dslcSlideUpFadeIn{to{-moz-transform:translateY(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideUpFadeIn.dslc-in-viewport-check{-webkit-transform:translateY(100px);-moz-transform:translateY(100px);transform:translateY(100px);opacity:0}@-webkit-keyframes dslcSlideDownFadeIn{to{-webkit-transform:translateY(0);opacity:1}}@-moz-keyframes dslcSlideDownFadeIn{to{-moz-transform:translateY(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideDownFadeIn.dslc-in-viewport-check{-webkit-transform:translateY(-100px);-moz-transform:translateY(-100px);transform:translateY(-100px);opacity:0}@-webkit-keyframes dslcSlideRightFadeIn{to{-webkit-transform:translateX(0);opacity:1}}@-moz-keyframes dslcSlideRightFadeIn{to{-moz-transform:translateX(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideRightFadeIn.dslc-in-viewport-check{-webkit-transform:translateX(-100px);-moz-transform:translateX(-100px);transform:translateX(-100px);opacity:0}@-webkit-keyframes dslcSlideLeftFadeIn{to{-webkit-transform:translateX(0);opacity:1}}@-moz-keyframes dslcSlideLeftFadeIn{to{-moz-transform:translateX(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideLeftFadeIn.dslc-in-viewport-check{-webkit-transform:translateX(100px);-moz-transform:translateX(100px);transform:translateX(100px);opacity:0}}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-post-thumb .dslc-on-hover-anim-target{opacity:1!important;-webkit-transform:translateY(0)!important;-moz-transform:translateY(0)!important;transform:translateY(0)!important;-webkit-transform:translateX(0)!important;-moz-transform:translateX(0)!important;transform:translateX(0)!important}.dslc-anim-dslcFadeIn,.dslc-anim-dslcSlideDownFadeIn,.dslc-anim-dslcSlideLeftFadeIn,.dslc-anim-dslcSlideRightFadeIn,.dslc-anim-dslcSlideUpFadeIn{opacity:0}.dslc-on-hover-anim:hover .dslc-anim-dslcFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn{opacity:1}.dslc-anim-dslcSlideDown,.dslc-anim-dslcSlideDownFadeIn{-webkit-transform:translateY(-100%);-moz-transform:translateY(-100%);transform:translateY(-100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDown,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn{-webkit-transform:translateY(0);-moz-transform:translateY(0);transform:translateY(0)}.dslc-anim-dslcSlideUp,.dslc-anim-dslcSlideUpFadeIn{-webkit-transform:translateY(100%);-moz-transform:translateY(100%);transform:translateY(100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUp,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn{-webkit-transform:translateY(0);-moz-transform:translateY(0);transform:translateY(0)}.dslc-anim-dslcSlideRight,.dslc-anim-dslcSlideRightFadeIn{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRight,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0)}.dslc-anim-dslcSlideLeft,.dslc-anim-dslcSlideLeftFadeIn{-webkit-transform:translateX(100%);-moz-transform:translateX(100%);transform:translateX(100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeft,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0)}.dslc-anim-none{opacity:0;-webkit-transition:all 0s ease-out!important}.dslc-on-hover-anim:hover .dslc-anim-none{opacity:1}#dslc-content{position:relative}.alignnone{margin:5px 20px 20px 0}.aligncenter,div.aligncenter{display:block;margin:5px auto}.alignright{float:right;margin:5px 0 20px 20px}.alignleft{float:left;margin:5px 20px 20px 0}.aligncenter{display:block;margin:5px auto}a img.alignright{float:right;margin:5px 0 20px 20px}#dslc-content .dslc-cpt-post-meta-author,a img.alignleft{float:left}a img.alignleft,a img.alignnone{margin:5px 20px 20px 0}a img.aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-caption{background:#fff;border:1px solid #f0f0f0;max-width:96%;padding:5px 3px 10px;text-align:center}.wp-caption.alignleft,.wp-caption.alignnone{margin:5px 20px 20px 0}.wp-caption.alignright{margin:5px 0 20px 20px}.wp-caption img{border:0;height:auto;margin:0;max-width:98.5%;padding:0;width:auto}.wp-caption p.wp-caption-text{font-size:11px;line-height:17px;margin:0;padding:0 4px 5px}.gallery-caption{font-weight:700}.dslc-content b,.dslc-content strong{font-weight:bolder}.dslc-content em,.dslc-content i{font-style:italic}@media only screen and (min-width :1025px){.dslc-hide-on-desktop{display:none!important}.dslca-enabled .dslc-hide-on-desktop{display:block!important}.dslca-composer-hidden .dslc-hide-on-desktop{display:none!important}}@media only screen and (min-width :768px) and (max-width :1024px){body.dslca-enabled.dslc-res-tablet{padding-bottom:200px}.dslc-hide-on-tablet{display:none!important}}@media only screen and (max-width:767px){body.dslca-enabled.dslc-res-phone{padding-bottom:200px}.dslc-col,.dslc-no-columns-spacing .dslc-col{width:100%;margin:0;min-width:0}.dslc-module-front.dslc-col{margin-bottom:0}.dslc-hide-on-phone{display:none!important}}.dslc-module-front a{text-decoration:none}#dslc-content .dslc-cpt-post-main{border:0 solid transparent}#dslc-content .dslc-cpt-post-thumb{margin-bottom:20px;overflow:hidden;position:relative;line-height:0}#dslc-content .dslc-cpt-post-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-cpt-post-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-cpt-post-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main.dslc-cpt-post-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-cpt-post-thumb .dslc-cpt-post-main{opacity:1}#dslc-content .dslc-cpt-post-meta{border:1px solid #e5e5e5;border-left:0;border-right:0;margin-bottom:20px;overflow:hidden;padding:13px 0;font-size:11px;line-height:1}#dslc-content .dslc-cpt-post-meta-author a{text-decoration:none}#dslc-content .dslc-cpt-post-meta-date{float:right}#dslc-content .dslc-cpt-post-title{margin-bottom:13px}#dslc-content .dslc-cpt-post-title h2{font-weight:600;font-size:15px;line-height:26px;margin:0;padding:0}#dslc-content .dslc-cpt-post-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-cpt-post-excerpt{margin-bottom:22px;font-size:13px;line-height:22px}#dslc-content .dslc-cpt-post-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-thumb{float:left;margin-right:20px;width:200px}#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-main,.dslc-post-thumb{overflow:hidden}#dslc-content .dslc-blog-post-main{border:0 solid transparent}#dslc-content .dslc-blog-post-thumb{margin-bottom:20px;overflow:hidden;position:relative;line-height:0}#dslc-content .dslc-blog-post-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-blog-post-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-blog-post-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main.dslc-blog-post-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-blog-post-thumb .dslc-blog-post-main{opacity:1}#dslc-content .dslc-blog-post-meta{border:1px solid #e5e5e5;border-left:0;border-right:0;margin-bottom:20px;overflow:hidden;padding:13px 0;font-size:11px;line-height:1}#dslc-content .dslc-blog-post-meta-author{float:left}#dslc-content .dslc-blog-post-meta-avatar{margin-right:10px;width:30px;display:inline-block}#dslc-content .dslc-blog-post-meta-avatar img{vertical-align:middle;width:100%;height:auto;border-radius:50%}#dslc-content .dslc-blog-post-meta-author a{text-decoration:none}#dslc-content .dslc-blog-post-meta-date{float:right}#dslc-content .dslc-blog-post-title{margin-bottom:13px}#dslc-content .dslc-blog-post-title h2{font-weight:600;font-size:15px;line-height:26px;margin:0;padding:0}#dslc-content .dslc-blog-post-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-blog-post-excerpt{margin-bottom:22px;font-size:13px;line-height:22px}#dslc-content .dslc-blog-post-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}.dslc-posts-orientation-horizontal .dslc-post-thumb{float:left;margin-right:20px;width:200px}#dslc-content .dslc-posts-orientation-horizontal .dslc-post-main{overflow:hidden}#dslc-content .dslc-download-thumb{position:relative;line-height:0}#dslc-content .dslc-download-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-download-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-download-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-download-download a,#dslc-content .dslc-download-main{border:0 solid transparent;text-align:center}#dslc-content .dslc-download-thumb .dslc-download-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-download-thumb .dslc-download-main.dslc-download-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-download-thumb .dslc-download-main{opacity:1}#dslc-content .dslc-download-title{margin-bottom:13px}#dslc-content .dslc-download-title h2{font-size:15px;line-height:1.7;margin:0;padding:0}#dslc-content .dslc-download-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-download-tags{border:1px solid #e5e5e5;border-width:1px 0;font-size:12px;padding:8px 0;line-height:1;margin-bottom:22px}#dslc-content .dslc-download-excerpt{margin-bottom:22px;font-size:13px;line-height:22px;font-weight:400}#dslc-content .dslc-download-download{margin-bottom:10px}#dslc-content .dslc-download-download a{background:#ff4e01;border-radius:3px;color:#fff;display:block;font-size:13px;font-weight:700;line-height:1;padding:15px 0;text-decoration:none}#dslc-content .dslc-download-download .dslc-icon{margin-right:10px}#dslc-content .dslc-download-info{font-size:10px;font-style:italic}#dslc-content .dslc-gallery-thumb{position:relative;line-height:0}#dslc-content .dslc-gallery-thumb-inner{border:0 solid transparent;position:relative;overflow:hidden}#dslc-content .dslc-gallery-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-gallery-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;display:block;box-shadow:none;max-width:100%;height:auto}#dslc-content .dslc-gallery-images-count{background:0 0;border:0 solid transparent;border-radius:50%;position:absolute;top:40%;left:35%;text-align:center;text-decoration:none}#dslc-content .dslc-gallery-images-count-bg{background:0 0;border:0 solid transparent;position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-gallery-images-count-main{position:relative}#dslc-content .dslc-gallery-images-count-num{color:#fff;display:block;font-size:25px;font-weight:200;line-height:1;margin-bottom:8px}#dslc-content .dslc-gallery-images-count-txt{color:#7d7d7d;display:block;font-size:11px;line-height:1}#dslc-content .dslc-gallery-thumb .dslc-gallery-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-gallery-thumb .dslc-gallery-main.dslc-gallery-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-gallery-thumb .dslc-gallery-main{opacity:1}#dslc-content .dslc-gallery-main{border:0 solid transparent;text-align:center}#dslc-content .dslc-gallery-title{margin-bottom:15px}#dslc-content .dslc-gallery-title h2{font-size:11px;line-height:1;margin:0;padding:0}#dslc-content .dslc-gallery-title h2 a{display:block;color:#7d7d7d;text-decoration:none}#dslc-content .dslc-gallery-sep{display:block;height:1px;border-bottom:1px solid #4a4a4a;margin-bottom:15px}#dslc-content .dslc-gallery-excerpt{font-size:12px;border-width:1px 0 0}#dslc-content .dslc-gallery-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}#dslc-content .dslc-gallery .dslc-lightbox-gallery{display:none}#dslc-content .dslc-info-box{text-align:center;border:0 solid transparent}#dslc-content .dslc-info-box-image{margin-bottom:25px;position:relative;font-size:0}#dslc-content .dslc-info-box-image-link{position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-info-box-icon-pos-aside .dslc-info-box-main{overflow:hidden}#dslc-content .dslc-info-box-icon-pos-aside .dslc-info-box-image{float:left;margin-right:20px}#dslc-content .dslc-info-box-image-inner{display:inline-flex;justify-content:center;align-items:center;position:relative;border:0 solid transparent}#dslc-content .dslc-info-box-image-inner .dslc-icon{color:#fff;line-height:1;font-size:40px}#dslc-content .dslc-info-box-title{margin-bottom:25px}#dslc-content .dslc-info-box-title h4{font-size:17px;line-height:1;margin:0;padding:0;font-weight:400}#dslc-content .dslc-info-box-title h4 a{color:inherit;text-decoration:none}#dslc-content .dslc-info-box-content{margin-bottom:25px}#dslc-content .dslc-info-box-button{font-size:0}#dslc-content .dslc-info-box-button a{display:inline-block;line-height:1;text-decoration:none}#dslc-content .dslc-info-box-button-aside{float:right}#dslc-content .dslc-partner .dslc-partner-thumb{position:relative;line-height:0}#dslc-content .dslc-partner .dslc-partner-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-partner .dslc-partner-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:inline-block;vertical-align:bottom;width:auto;max-width:100%;height:auto}#dslc-content .dslc-partner-thumb .dslc-partner-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-partner-thumb .dslc-partner-main.dslc-partner-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-partner-thumb .dslc-partner-main{opacity:1}#dslc-content .dslc-partner-title{margin-bottom:10px}#dslc-content .dslc-partner-title h2{margin:0;padding:0}#dslc-content .dslc-partner-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-project-thumb{margin-bottom:24px;position:relative;line-height:0}#dslc-content .dslc-project-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-project-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-project-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-project-thumb .dslc-project-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-project-thumb .dslc-project-main.dslc-project-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-projects .dslc-post:first-child .dslc-project-thumb .dslc-project-main{opacity:1}#dslc-content .dslc-project-main{border:0 solid transparent}#dslc-content .dslc-project-title{margin-bottom:10px}#dslc-content .dslc-project-title h2{font-weight:700;font-size:12px;line-height:1;margin:0;padding:0}#dslc-content .dslc-project-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-project-cats{font-size:10px;font-style:italic;line-height:1}#dslc-content .dslc-project-excerpt{margin-bottom:22px;font-size:13px;line-height:22px;border-top:0 solid #000}#dslc-content .dslc-project-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}.dslc-separator-wrapper{padding-bottom:1px}.dslc-separator{clear:both;height:1px;padding-bottom:25px;margin-bottom:25px;width:100%}.dslc-module-front.dslc-module-DSLC_Separator{min-height:auto}.dslc-separator.dslc-separator-style-solid{border-bottom:1px solid #ededed}.dslc-separator.dslc-separator-style-dashed{border-bottom:1px dashed #ededed}.dslc-separator.dslc-separator-style-dotted{border-bottom:1px dotted #ededed}#dslc-content .dslc-staff-member-thumb{position:relative;line-height:0}#dslc-content .dslc-staff-member-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-staff-member-thumb img{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main.dslc-staff-member-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-staff-member-thumb .dslc-staff-member-main{opacity:1}#dslc-content .dslc-staff-member-social a{margin:0 6px;text-decoration:none}#dslc-content .dslc-staff-member-title h2{margin:0;padding:0}#dslc-content .dslc-staff-member-title h2 a{display:block;text-decoration:none;color:inherit}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-nav{float:left;margin-bottom:0!important}#dslc-content .dslc-tabs-nav-pos-above .dslc-tabs-nav{margin-right:0!important}#dslc-content .dslc-tabs-nav-hook{background:#fbfbfb;border:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8;border-radius:3px 3px 0 0;bottom:-1px;cursor:pointer;display:inline-block;padding:10px;position:relative;line-height:1;margin-left:-1px}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-nav-hook{display:block;margin-left:0!important}#dslc-content .dslc-tabs-nav-pos-above .dslc-tabs-nav-hook{margin-bottom:0!important}#dslc-content .dslc-tabs-nav-hook:first-child{margin-left:0!important}#dslc-content .dslc-tabs-nav-hook.dslc-active{background:#fff}#dslc-content .dslc-tabs-content{background:#fff;border:1px solid #e8e8e8;border-radius:0 3px 3px}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-content{overflow:hidden}#dslc-content .dslc-tabs-tab-content{padding:35px;display:none;position:relative}#dslc-content .dslc-tabs-tab-content.dslc-active{display:block}.dslca-add-new-tab-hook,.dslca-delete-tab-hook{display:inline-block;margin-left:10px;cursor:pointer}.dslca-add-new-tab-hook{background:#78CA4F;border-radius:50%;color:#fff;font-size:11px;height:20px;text-align:center;line-height:22px;margin-top:8px;width:20px;position:relative}.dslca-add-new-tab-hook .dslca-icon{position:absolute;line-height:1;top:5px;right:6px}.dslca-delete-tab-hook{color:#E55F5F;font-size:12px;line-height:1;vertical-align:top}.dslc-tabs-content .dslc-tabs-nav-hook{display:none!important}#dslc-content .dslc-testimonials{border:0 solid transparent}#dslc-content .dslc-testimonial-main{border:0 solid transparent;border-radius:4px;padding:25px;overflow:hidden}#dslc-content .dslc-widget-wrap,#dslc-content .dslc-widgets-wrap,.dslc-text-module-content{border:0 solid transparent}#dslc-content .dslc-testimonial-quote{border-bottom:0 solid transparent}#dslc-content .dslc-testimonial-author-pos-outside-left{float:left}#dslc-content .dslc-testimonial-author-pos-outside-right{float:right}#dslc-content .dslc-testimonial-author-avatar{border:0 solid transparent;float:left}#dslc-content .dslc-testimonial-author-avatar img{display:block;height:auto}#dslc-content .dslc-testimonial-author-main{overflow:hidden;float:left}#dslc-content .dslc-testimonial-author-name{line-height:1}#dslc-content .dslc-testimonial-author-position{line-height:1.1}#dslc-content .dslc-widget{margin-bottom:30px;width:100%}#dslc-content .dslc-widget:last-child{margin-bottom:0!important}#dslc-content .dslc-widget-title{font-size:15px;font-weight:600;border-bottom:1px solid #e5e5e5;margin-bottom:10px;padding-bottom:10px;line-height:1}#dslc-content .dslc-widget-title-inner{display:block}#dslc-content .dslc-widgets-2-col .dslc-col{width:14.89361%}#dslc-content .dslc-widgets-3-col .dslc-col{width:23.40425%}#dslc-content .dslc-widgets-4-col .dslc-col{width:31.91489%}#dslc-content .dslc-widgets-5-col .dslc-col{width:40.42553%}#dslc-content .dslc-widgets-6-col .dslc-col{width:48.93617%}#dslc-content .dslc-widgets-7-col .dslc-col{width:57.4468%}#dslc-content .dslc-widgets-8-col .dslc-col{width:65.95744%}#dslc-content .dslc-widgets-9-col .dslc-col{width:74.46808%}#dslc-content .dslc-widgets-10-col .dslc-col{width:82.97872%}#dslc-content .dslc-widgets-11-col .dslc-col{width:91.48936%}#dslc-content .dslc-widgets-12-col .dslc-col{width:100%;margin-right:0}#dslc-content .dslc-widgets-2-col .dslc-col:nth-child(6n),#dslc-content .dslc-widgets-3-col .dslc-col:nth-child(4n),#dslc-content .dslc-widgets-4-col .dslc-col:nth-child(3n),#dslc-content .dslc-widgets-6-col .dslc-col:nth-child(2n){margin-right:0}#dslc-content .dslc-widget li{border-style:solid}#dslc-content .dslc-product-thumb{position:relative;line-height:0}#dslc-content .dslc-product-thumb-inner{bottom:0 solid transparent;overflow:hidden}#dslc-content .dslc-product-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-product-thumb img{-moz-box-shadow:none;-webkit-box-shadow:none;display:block;border-radius:3px 3px 0 0;box-shadow:none;max-width:100%;height:auto}#dslc-content .dslc-product-thumb .dslc-product-price{background:0 0;color:#fff;display:block;font-weight:400;font-size:25px;left:35%;line-height:1;position:absolute;top:40%;text-decoration:none;text-align:center}#dslc-content .dslc-product-thumb .dslc-product-price .from,#dslc-content .dslc-product-thumb .dslc-product-price del{display:none}#dslc-content .dslc-product-price-bg{background:0 0;border:0 solid transparent;position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-product-price-main{position:relative}#dslc-content .dslc-product-thumb .dslc-product-price ins{text-decoration:none;background:0 0}#dslc-content .dslc-product-thumb .dslc-product-price .amount{vertical-align:middle}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main.dslc-product-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-products .dslc-post:first-child .dslc-product-thumb .dslc-product-main{opacity:1}#dslc-content .dslc-product-main{background:#1d1d1d;border-radius:0 0 3px 3px;padding:20px;text-align:center;border:0 solid transparent}#dslc-content .dslc-product-title{margin-bottom:15px}#dslc-content .dslc-product-price-secondary{color:#fff;float:left;font-size:20px;line-height:1}#dslc-content .dslc-product-price-secondary ins{text-decoration:none;background:0 0}#dslc-content .dslc-product-title h2{clear:none;font-size:11px;line-height:1;vertical-align:middle;margin:0;padding:0}#dslc-content .dslc-product-title h2 a{display:block;color:#7d7d7d;text-decoration:none}#dslc-content .dslc-product-excerpt{border-bottom:0 solid transparent}#dslc-content .dslc-product-sep{display:block;border-bottom:1px solid #4a4a4a;height:1px;margin-bottom:15px}#dslc-content .dslc-product-extra .dslc-product-add-to-cart{color:#8d8d8d;font-size:12px;line-height:1;text-decoration:none;float:left}#dslc-content .dslc-product-extra .dslc-product-details{color:#8d8d8d;font-size:12px;text-decoration:none;line-height:1;float:right}#dslc-content .dslc-product-extra .dslc-icon{margin-right:5px}#dslc-content .dslc-tp-content,#dslc-content .dslc-tp-meta,#dslc-content .dslc-tp-title{border:0 solid transparent}#dslc-content .dslc-tp-meta ul{margin:0;list-style-type:none;font-size:0}#dslc-content .dslc-tp-meta-horizontal li{display:inline-block;margin-top:0!important;margin-bottom:0!important;list-style-type:none}#dslc-content .dslc-tp-meta-horizontal li:first-child{margin-left:0!important}#dslc-content .dslc-tp-meta-horizontal li:last-child{margin-right:0!important}#dslc-content .dslc-tp-meta-vertical li{margin-left:0!important;margin-right:0!important}#dslc-content .dslc-tp-meta-vertical li:first-child{margin-top:0!important}#dslc-content .dslc-tp-meta-vertical li:last-child{margin-bottom:0!important}#dslc-content .dslc-tp-meta-avatar{margin-right:10px;width:30px;display:inline-block}#dslc-content .dslc-tp-meta-avatar img{vertical-align:middle;width:100%;height:auto;border-radius:50%}#dslc-content .dslc-tp-download-button a,#dslc-content .dslc-tp-gallery-slider,#dslc-content .dslc-tp-gallery-slider-main,#dslc-content .dslc-tp-gallery-slider-nav{border:0 solid transparent}#dslc-content .dslc-tp-download-button a{display:block;line-height:1;text-decoration:none;text-align:center}#dslc-content .dslc-tp-thumbnail{bottom:0 solid transparent;overflow:hidden}#dslc-content .dslc-tp-thumbnail img{display:inline-block;vertical-align:middle;max-width:100%;height:auto}#dslc-content .dslc-tp-gallery-slider-main li{overflow:hidden}#dslc-content .dslc-tp-gallery-slider-nav li{margin-right:10px;padding:5px;border:1px solid red;cursor:pointer;opacity:.7}#dslc-content .dslc-tp-gallery-slider-nav li.flex-active-slide{opacity:1}#dslc-content ul.dslc-social{margin:0;padding:0;list-style-type:none;font-size:0;line-height:1}#dslc-content ul.dslc-social li{margin:0 10px 0 0;padding:0;line-height:1;display:inline-block;overflow:hidden}#dslc-content ul.dslc-social a.dslc-social-icon{border:0 solid transparent;background:#40bde6;text-decoration:none;color:#fff;width:30px;height:30px;border-radius:15px;font-size:15px;position:relative;float:left;display:inline-flex;justify-content:center;align-items:center}#dslc-content ul.dslc-social .dslc-icon{line-height:1}#dslc-content ul.dslc-social .dslc-social-label{float:left;display:block}#dslc-content ul.dslc-staff-social{margin:0;padding:0;list-style-type:none;font-size:0;line-height:1}#dslc-content ul.dslc-staff-social li{margin:0;padding:0;line-height:1;display:inline-block;overflow:hidden}#dslc-content ul.dslc-staff-social a{border:0 solid transparent;text-decoration:none;position:relative;float:left;display:inline-flex;justify-content:center;align-items:center}#dslc-content ul.dslc-staff-social .dslc-icon{line-height:1}#dslc-content ul.dslc-staff-social .dslc-social-label{float:left;display:block}#dslc-content .dslc-notification-box{background:#f65757;padding:15px;border:1px solid #e43737;border-radius:3px;color:#fff}.dslc-notification-box-has-timeout{display:none}body.dslca-enabled .dslc-notification-box-has-timeout{display:block}#dslc-content .dslc-notification-box-content p:last-child{margin-bottom:0}#dslc-content .dslc-notification-box-close{display:flex;justify-content:center;align-items:center;position:absolute;right:15px;top:20px;cursor:pointer;background:#fff;color:#f65757;border-radius:50%;width:15px;height:15px}.dslc-comment,.dslc-tp-comments{border:0 solid transparent}#dslc-content .dslc-notification-box-close .dslc-icon{color:#f65757;font-size:12px;text-align:center}#dslc-content .dslc-button{overflow:hidden}#dslc-content .dslc-button a{display:inline-block;text-decoration:none;line-height:1}.dslc-tp-comments li,.dslc-tp-comments ol,.dslc-tp-comments ul{list-style-type:none}.dslc-tp-comments ol{margin-left:0}.dslc-comment{margin:0}.dslc-comment-inner{border:1px solid #ddd;padding:10px;margin-bottom:20px}.dslc-comment-info{margin-bottom:10px;border-bottom:1px solid #ddd}.dslc-tp-comment-form,.dslc-tp-comment-form input,.dslc-tp-comment-form textarea{border:0 solid transparent}.dslc-comment-meta{float:left;margin:0}.dslc-comment-meta-author{display:inline-block;margin-right:15px;line-height:1}.dslc-comment-author-avatar{margin-right:5px}.dslc-comment-meta-author a{color:inherit;text-decoration:none}.dslc-comment-author-avatar img{vertical-align:middle}.dslc-comment-meta-date{display:inline-block;line-height:1}.dslc-comment-reply{float:right}.dslc-comment-reply a{text-decoration:none}.dslc-comment .dslc-comment{margin-left:50px}.dslc-tp-comment-form input[type=email]::-moz-placeholder,.dslc-tp-comment-form input[type=text]::-moz-placeholder,.dslc-tp-comment-form input[type=url]::-moz-placeholder,.dslc-tp-comment-form textarea::-moz-placeholder{opacity:1}.dslc-tp-comment-form input[type=text]{line-height:1}.dslc-tp-comment-form textarea{width:100%;height:130px;box-sizing:border-box}.dslc-tp-comment-form .logged-in-as{margin-bottom:15px}.dslc-tp-comment-form #submit{cursor:pointer}#dslc-content .dslc-image,#dslc-content .dslc-image>a{display:inline-block}#dslc-content .dslc-image img{max-width:100%;display:inline-block;vertical-align:middle;box-shadow:none;border-radius:none}#dslc-content .dslc-accordion,#dslc-content .dslc-accordion-header,#dslc-content .dslc-accordion-title,#dslc-content .dslc-progress-bar{border:0 solid transparent}#dslc-content .dslc-progress-bar-label{margin:0;padding:0;line-height:1}#dslc-content .dslc-progress-bar-loader{background:#666;display:block;height:18px}#dslc-content .dslc-progress-bar-loader-inner{display:block;float:left;overflow:hidden;white-space:nowrap}#dslc-content .dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:0}#dslc-content .dslca-enabled .dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:1}#dslc-content .dslc-accordion-item:first-child{margin-top:0!important}#dslc-content .dslc-accordion-header{display:block;font-weight:700;font-size:11px;line-height:1;position:relative}#dslc-content .dslc-accordion-title{display:block}#dslc-content .dslc-accordion-hook{cursor:pointer}#dslc-content .dslc-accordion-toggle{display:block;position:absolute;left:0;top:0;bottom:0}#dslc-content .dslc-accordion-content{position:relative;border:0 solid transparent}#dslc-content .dslca-add-accordion{text-align:center}#dslc-content .dslca-add-accordion-hook{background:#78CA4F;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;font-size:12px;height:20px;text-align:center;line-height:22px;width:20px;position:relative;margin-top:10px}#dslc-content .dslca-accordion-action-hooks{position:absolute;right:14px;top:14px}#dslc-content .dslca-move-down-accordion-hook,#dslc-content .dslca-move-up-accordion-hook{color:#5890e5}#dslc-content .dslca-move-down-accordion-hook:hover,#dslc-content .dslca-move-up-accordion-hook:hover{color:#3b6fbe}#dslc-content .dslca-delete-accordion-hook{color:#E55F5F;cursor:pointer;display:inline-block;font-size:12px;margin-left:10px;line-height:1;vertical-align:top}#dslc-content .dslc-icon-module{position:relative;display:inline-block}#dslc-content .dslc-navigation{z-index:99998;position:relative;text-align:right;font-size:0}#dslc-content .dslc-navigation-inner{display:inline-block}#dslc-content .dslc-navigation .menu{list-style:none;margin:0;padding:0}#dslc-content .dslc-navigation.dslc-navigation-orientation-horizontal .menu>li,#dslc-content .dslc-navigation.dslc-navigation-orientation-vertical .menu>li:first-child{margin-top:0!important}#dslc-content .dslc-navigation .menu>li{display:inline-block;position:relative;z-index:99998}#dslc-content .dslc-navigation.dslc-navigation-orientation-vertical .menu>li{display:block;margin-left:0!important}#dslc-content .dslc-navigation .menu>li:first-child{margin-left:0!important}#dslc-content .dslc-navigation .menu>li>a{display:inline-block;text-decoration:none;vertical-align:middle}#dslc-content .dslc-navigation-arrow{display:inline-block;margin-left:5px;vertical-align:middle}#dslc-content .dslc-navigation .menu ul{border-style:solid;display:none;list-style-type:none;margin:0;opacity:0;position:absolute;top:100%;left:-28px}#dslc-content .dslc-navigation.dslc-navigation-sub-position-left .menu ul{left:0;right:auto}#dslc-content .dslc-navigation.dslc-navigation-sub-position-right .menu ul{right:0;left:auto}#dslc-content .dslc-navigation.dslc-navigation-sub-position-center .menu ul{left:auto;right:auto}#dslc-content .dslc-navigation-orientation-vertical .menu ul{top:0;left:100%}#dslc-content .dslc-navigation .menu ul.dslc-navigation-invert-subnav{left:auto;right:0}#dslc-content .dslc-navigation .menu ul li{display:block;white-space:nowrap;margin:0}#dslc-content .dslc-navigation .menu ul li a{display:block;line-height:1;text-decoration:none}#dslc-content .dslc-navigation .menu ul li:last-child a{border-bottom:0!important}#dslc-content .dslc-navigation .dt-icon.dt-subnav-arrow{display:none;color:#bfbfbf;font-size:8px;margin-left:10px;vertical-align:middle;position:relative;top:-3px;margin-right:0}#dslc-content .dslc-navigation li.current-menu-item .dt-icon.dt-subnav-arrow{color:#878787}#dslc-content .dslc-navigation .menu ul ul{left:100%;margin-left:-10px;top:-1px}#dslc-content .dslc-navigation .menu ul ul.dslc-navigation-invert-subnav{left:auto;right:100%}#dslc-content .dslc-navigation .menu li:hover>ul{display:block}#dslc-content .dslc-mobile-navigation{position:relative;text-align:right;display:none}#dslc-content .dslc-mobile-navigation select{cursor:pointer;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;position:absolute;right:0;top:0;padding-top:0;padding-bottom:0;z-index:10;height:38px;width:100%}#dslc-content .dslc-mobile-navigation-hook{color:#555;font-size:24px;line-height:22px}.dslc-post-main-inner-link-cover{display:none;position:absolute;top:0;left:0;right:0;bottom:0}.dslc-posts-social-share{line-height:1}.dslc-posts-social-share a:last-child{margin-right:0!important}.dslc-posts-social-share-count{display:inline-block;border-style:solid}.dslc-center-elem{top:50%;position:relative;left:50%;visibility:visible;transform:translate(-50%,-50%)}@media only screen and (min-width :768px) and (max-width :1024px){#dslc-content .dslc-mobile-navigation.dslc-navigation-res-t-enabled{display:block}#dslc-content .dslc-navigation.dslc-navigation-res-t-enabled{display:none}.dslc-post-main-inner-link-cover{display:block}}@media only screen and (max-width:767px){.dslc-tabs-nav{display:none}.dslc-tabs-tab-content{display:block!important}.dslc-tabs-content .dslc-tabs-nav-hook{display:block!important;float:none!important;margin-bottom:20px}.dslc-comment .dslc-comment{margin-left:0}.dslc-comment .children{margin-left:0;padding-left:0}#dslc-content .dslc-mobile-navigation.dslc-navigation-res-p-enabled{display:block}#dslc-content .dslc-navigation.dslc-navigation-res-p-enabled{display:none}.dslc-post-main-inner-link-cover{display:block}}.owl-carousel .owl-wrapper:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.mfp-container:before,.mfp-figure:after{content:''}.owl-carousel,.owl-carousel .owl-wrapper{display:none;position:relative}.owl-carousel{width:100%;-ms-touch-action:pan-y}.owl-carousel .owl-wrapper-outer{overflow:hidden;position:relative;width:100%}.mfp-bg,.mfp-wrap{position:fixed;left:0;top:0}.owl-carousel .owl-wrapper-outer.autoHeight{-webkit-transition:height .5s ease-in-out;-moz-transition:height .5s ease-in-out;-ms-transition:height .5s ease-in-out;-o-transition:height .5s ease-in-out;transition:height .5s ease-in-out}.owl-carousel .owl-item{float:left}.owl-controls .owl-buttons div,.owl-controls .owl-page{cursor:pointer}.owl-controls{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.owl-origin{-webkit-perspective:1200px;-webkit-perspective-origin-x:50%;-webkit-perspective-origin-y:50%;-moz-perspective:1200px;-moz-perspective-origin-x:50%;-moz-perspective-origin-y:50%;perspective:1200px}.owl-fade-out{z-index:10;-webkit-animation:fadeOut .7s both ease;-moz-animation:fadeOut .7s both ease;animation:fadeOut .7s both ease}.owl-fade-in{-webkit-animation:fadeIn .7s both ease;-moz-animation:fadeIn .7s both ease;animation:fadeIn .7s both ease}.owl-backSlide-out{-webkit-animation:backSlideOut 1s both ease;-moz-animation:backSlideOut 1s both ease;animation:backSlideOut 1s both ease}.owl-backSlide-in{-webkit-animation:backSlideIn 1s both ease;-moz-animation:backSlideIn 1s both ease;animation:backSlideIn 1s both ease}.owl-goDown-out{-webkit-animation:scaleToFade .7s ease both;-moz-animation:scaleToFade .7s ease both;animation:scaleToFade .7s ease both}.owl-goDown-in{-webkit-animation:goDown .6s ease both;-moz-animation:goDown .6s ease both;animation:goDown .6s ease both}.owl-fadeUp-in{-webkit-animation:scaleUpFrom .5s ease both;-moz-animation:scaleUpFrom .5s ease both;animation:scaleUpFrom .5s ease both}.owl-fadeUp-out{-webkit-animation:scaleUpTo .5s ease both;-moz-animation:scaleUpTo .5s ease both;animation:scaleUpTo .5s ease both}@-webkit-keyframes empty{0%{opacity:1}}@-moz-keyframes empty{0%{opacity:1}}@keyframes empty{0%{opacity:1}}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-moz-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes backSlideOut{25%{opacity:.5;-webkit-transform:translateZ(-500px)}100%,75%{opacity:.5;-webkit-transform:translateZ(-500px) translateX(-200%)}}@-moz-keyframes backSlideOut{25%{opacity:.5;-moz-transform:translateZ(-500px)}100%,75%{opacity:.5;-moz-transform:translateZ(-500px) translateX(-200%)}}@keyframes backSlideOut{25%{opacity:.5;transform:translateZ(-500px)}100%,75%{opacity:.5;transform:translateZ(-500px) translateX(-200%)}}@-webkit-keyframes backSlideIn{0%,25%{opacity:.5;-webkit-transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;-webkit-transform:translateZ(-500px)}100%{opacity:1;-webkit-transform:translateZ(0) translateX(0)}}@-moz-keyframes backSlideIn{0%,25%{opacity:.5;-moz-transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;-moz-transform:translateZ(-500px)}100%{opacity:1;-moz-transform:translateZ(0) translateX(0)}}@keyframes backSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;transform:translateZ(-500px)}100%{opacity:1;transform:translateZ(0) translateX(0)}}@-webkit-keyframes scaleToFade{to{opacity:0;-webkit-transform:scale(.8)}}@-moz-keyframes scaleToFade{to{opacity:0;-moz-transform:scale(.8)}}@keyframes scaleToFade{to{opacity:0;transform:scale(.8)}}@-webkit-keyframes goDown{from{-webkit-transform:translateY(-100%)}}@-moz-keyframes goDown{from{-moz-transform:translateY(-100%)}}@keyframes goDown{from{transform:translateY(-100%)}}@-webkit-keyframes scaleUpFrom{from{opacity:0;-webkit-transform:scale(1.5)}}@-moz-keyframes scaleUpFrom{from{opacity:0;-moz-transform:scale(1.5)}}@keyframes scaleUpFrom{from{opacity:0;transform:scale(1.5)}}@-webkit-keyframes scaleUpTo{to{opacity:0;-webkit-transform:scale(1.5)}}@-moz-keyframes scaleUpTo{to{opacity:0;-moz-transform:scale(1.5)}}@keyframes scaleUpTo{to{opacity:0;transform:scale(1.5)}}.owl-theme .owl-controls{margin-top:10px;text-align:center}.owl-theme .owl-controls .owl-buttons div{color:#FFF;display:inline-block;zoom:1;margin:5px;padding:3px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px;background:#869791;filter:Alpha(Opacity=50);opacity:.5}.owl-theme .owl-controls.clickable .owl-buttons div:hover{filter:Alpha(Opacity=100);opacity:1;text-decoration:none}.owl-theme .owl-controls .owl-page{display:inline-block;zoom:1}.owl-theme .owl-controls .owl-page span{display:block;width:12px;height:12px;margin:5px 7px;filter:Alpha(Opacity=50);opacity:.5;-webkit-border-radius:20px;-moz-border-radius:20px;border-radius:20px;background:#869791}.owl-theme .owl-controls .owl-page.active span,.owl-theme .owl-controls.clickable .owl-page:hover span{filter:Alpha(Opacity=100);opacity:1}.owl-theme .owl-controls .owl-page span.owl-numbers{height:auto;width:auto;color:#FFF;padding:2px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px}.mfp-bg,.mfp-container,.mfp-wrap{height:100%;width:100%}.owl-item.loading{min-height:150px;background:url(AjaxLoader.gif) center center no-repeat}.mfp-bg{z-index:99999;overflow:hidden;background:#0b0b0b;opacity:.8;filter:alpha(opacity=80)}.mfp-wrap{z-index:100000;outline:0!important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;left:0;top:0;padding:0 8px;box-sizing:border-box}.mfp-container:before{display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:100001}.mfp-close,.mfp-preloader{text-align:center;position:absolute}.mfp-ajax-holder .mfp-content,.mfp-inline-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:-moz-zoom-out;cursor:-webkit-zoom-out;cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-arrow,.mfp-close,.mfp-counter,.mfp-preloader{-webkit-user-select:none;-moz-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.mfp-preloader{color:#ccc;top:50%;width:auto;margin-top:-.8em;left:8px;right:8px;z-index:100000}.mfp-preloader a{color:#ccc}.mfp-close,.mfp-preloader a:hover{color:#fff}.mfp-s-error .mfp-content,.mfp-s-ready .mfp-preloader{display:none}button.mfp-arrow,button.mfp-close{overflow:visible;cursor:pointer;background:0 0;border:0;-webkit-appearance:none;display:block;outline:0;padding:0;z-index:100002;-webkit-box-shadow:none;box-shadow:none}button::-moz-focus-inner{padding:0;border:0}.mfp-close{width:44px;height:44px;line-height:44px;right:0;top:0;text-decoration:none;opacity:.65;filter:alpha(opacity=65);padding:0 0 18px 10px;font-style:normal;font-size:28px;font-family:Arial,Baskerville,monospace}.mfp-close:focus,.mfp-close:hover{opacity:1;filter:alpha(opacity=100)}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#333}.mfp-iframe-holder .mfp-close,.mfp-image-holder .mfp-close{color:#fff;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#ccc;font-size:12px;line-height:18px}.mfp-figure,img.mfp-img{line-height:0}.mfp-arrow{position:absolute;opacity:.65;filter:alpha(opacity=65);margin:-55px 0 0;top:50%;padding:0;width:90px;height:110px}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:focus,.mfp-arrow:hover{opacity:1;filter:alpha(opacity=100)}.mfp-arrow .mfp-a,.mfp-arrow .mfp-b,.mfp-arrow:after,.mfp-arrow:before{content:'';display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:inset transparent}.mfp-arrow .mfp-a,.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow .mfp-b,.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{left:0}.mfp-arrow-left .mfp-a,.mfp-arrow-left:after{border-right:17px solid #fff;margin-left:31px}.mfp-arrow-left .mfp-b,.mfp-arrow-left:before{margin-left:25px;border-right:27px solid #3f3f3f}.mfp-arrow-right{right:0}.mfp-arrow-right .mfp-a,.mfp-arrow-right:after{border-left:17px solid #fff;margin-left:39px}.mfp-arrow-right .mfp-b,.mfp-arrow-right:before{border-left:27px solid #3f3f3f}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-image-holder .mfp-content,img.mfp-img{max-width:100%}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}.mfp-figure:after,img.mfp-img{width:auto;height:auto;display:block}img.mfp-img{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:40px 0;margin:0 auto}.mfp-figure:after{position:absolute;left:0;top:40px;bottom:40px;right:0;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6);background:#444}.mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-title{text-align:left;line-height:18px;color:#f3f3f3;word-wrap:break-word;padding-right:36px}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-width:800px) and (orientation:landscape),screen and (max-height:300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,.6);position:fixed;text-align:center;padding:0}}@media all and (max-width:900px){.mfp-arrow{-webkit-transform:scale(.75);transform:scale(.75)}.mfp-arrow-left{-webkit-transform-origin:0;transform-origin:0}.mfp-arrow-right{-webkit-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}.mfp-ie7 .mfp-img{padding:0}.mfp-ie7 .mfp-bottom-bar{width:600px;left:50%;margin-left:-300px;margin-top:5px;padding-bottom:5px}.mfp-ie7 .mfp-container{padding:0}.mfp-ie7 .mfp-content{padding-top:44px}.mfp-ie7 .mfp-close{top:0;right:0;padding-top:0}.mfp-close:hover{background:0 0}
1
+ .dslc-clear,.dslc-clearfix:after,.dslc-first-col,.dslc-module-heading:after{clear:both}.dslc-tp-comment-form textarea,.mfp-container{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mfp-arrow,.owl-controls{-webkit-tap-highlight-color:transparent}#dslc-content blockquote p:last-child{margin-bottom:0!important}#dslc-header{position:relative}#dslc-header.dslc-header-pos-absolute{position:absolute;top:0;left:0;right:0;z-index:999999}#dslc-header.dslc-header-pos-fixed{position:fixed;top:0;left:0;right:0;z-index:999999}body.admin-bar:not(.dslca-enabled) #dslc-header.dslc-header-pos-fixed{top:32px}#dslc-footer,body.dslca-enabled:not(.dslca-composer-hidden) #dslc-header.dslc-header-pos-absolute,body.dslca-enabled:not(.dslca-composer-hidden) #dslc-header.dslc-header-pos-fixed{position:relative}#dslc-footer.dslc-footer-pos-absolute{position:absolute;bottom:0;left:0;right:0;z-index:999999}#dslc-footer.dslc-footer-pos-fixed{position:fixed;bottom:0;left:0;right:0;z-index:999999}.dslc-modules-section{border:0 solid transparent;position:relative}.dslc-modules-section.dslc-init-parallax{background-attachment:fixed}.dslc-modules-section-wrapper{max-width:100%;margin:0 auto}.dslc-modules-section.dslc-full .dslc-modules-section-wrapper{width:100%}.dslc-module-front{position:relative;z-index:0}.dslc-col{display:block;float:left;margin-right:2.12766%;min-height:1px}body.rtl .dslc-col{float:right;margin-left:2.12766%;margin-right:0}.dslc-1-col{width:6.38297%}.dslc-2-col{width:14.89361%}.dslc-3-col{width:23.40425%}.dslc-4-col{width:31.91489%}.dslc-5-col{width:40.42553%}.dslc-6-col{width:48.93617%}.dslc-7-col{width:57.4468%}.dslc-8-col{width:65.95744%}.dslc-9-col{width:74.46808%}.dslc-10-col{width:82.97872%}.dslc-11-col{width:91.48936%}.dslc-12-col{width:100%}.dslc-last-col{margin-right:0}body.rtl .dslc-last-col{margin-left:0}.dslc-no-columns-spacing .dslc-col{margin:0}.dslc-no-columns-spacing .dslc-1-col{width:8.33333%}.dslc-no-columns-spacing .dslc-2-col{width:16.66666%}.dslc-no-columns-spacing .dslc-3-col{width:25%}.dslc-no-columns-spacing .dslc-4-col{width:33.33333%}.dslc-no-columns-spacing .dslc-5-col{width:41.66666%}.dslc-no-columns-spacing .dslc-6-col{width:50%}.dslc-no-columns-spacing .dslc-7-col{width:58.33333%}.dslc-no-columns-spacing .dslc-8-col{width:66.66666%}.dslc-no-columns-spacing .dslc-9-col{width:75%}.dslc-no-columns-spacing .dslc-10-col{width:83.33333%}.dslc-no-columns-spacing .dslc-11-col{width:91.66666%}.dslc-no-columns-spacing .dslc-12-col,.dslc-no-columns-spacing .dslc-carousel .dslc-col,.dslc-no-columns-spacing .dslc-carousel .dslc-first-col,.dslc-no-columns-spacing .dslc-carousel .dslc-last-col{width:100%}.dslc-clearfix:after,.dslc-clearfix:before,.dslc-module-heading:after,.dslc-module-heading:before{content:" ";display:table}.dslc-fl{float:left}.dslc-fr{float:right}.dslc-no-float{float:none!important}.dslc-carousel .dslc-col,.dslc-carousel .dslc-first-col,.dslc-carousel .dslc-last-col{float:none;clear:none;margin:0}.dslc-carousel-item{width:auto}.dslc-carousel-nav{float:right}.dslc-carousel-nav-inner{display:block}.dslc-carousel-nav-next,.dslc-carousel-nav-prev{background:#c9c9c9;border:0 solid transparent;border-radius:3px;display:inline-flex;justify-content:center;align-items:center;height:23px;position:relative;width:23px;text-decoration:none;vertical-align:bottom}.dslc-carousel-nav-prev{margin-right:7px}.dslc-carousel-nav-next span,.dslc-carousel-nav-prev span{color:#fff;font-size:10px;text-align:center;font-weight:400}#dslc-content .dslc-carousel .owl-pagination .owl-page span{margin:0;filter:Alpha(Opacity=100);opacity:1}#dslc-content .dslc-slider{padding-bottom:1px;opacity:0;max-height:10px}#dslc-content .dslc-slider img{max-width:100%}#dslc-content .dslc-slider .owl-pagination .owl-page span{margin:0;filter:Alpha(Opacity=100);opacity:1}.dslc-carousel{opacity:0;max-height:100px;overflow:hidden}.dslc-carousel.owl-carousel .owl-wrapper-outer{overflow:visible}.dslca-activate-composer-hook{background:#54c13f;color:#fff;border-radius:3px;position:fixed;z-index:99999;right:5px;bottom:5px;cursor:pointer;display:block;font-size:11px;font-family:'Open Sans',sans-serif;font-weight:900;line-height:1;padding:11px 12px;text-transform:uppercase;text-decoration:none;white-space:nowrap;float:left;margin-left:5px}.dslca-activate-composer-hook:hover{background:#40D71F}.dslca-activate-composer-hook:visited{color:#fff}.dslca-activate-composer-hook.dslca-position-left{right:auto;left:5px}.dslca-activate-composer-hook .dslca-icon{color:rgba(255,255,255,.66);margin-right:5px}@keyframes dslcSpin{0%{-webkit-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dslcSpin{0%{-moz-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dslcSpin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-ms-keyframes "dslcSpin"{0%{-ms-transform:rotate(0);transform:rotate(0)}100%{-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes dslcSpin{0%{-o-transform:rotate(0);transform:rotate(0)}100%{-o-transform:rotate(360deg);transform:rotate(360deg)}}.dslc-loader{position:relative;width:20px;height:20px;border:2px solid #0cf;border-radius:50%;-webkit-animation:dslcSpin .75s infinite linear;-moz-animation:dslcSpin .75s infinite linear;-ms-animation:dslcSpin .75s infinite linear;-o-animation:dslcSpin .75s infinite linear;animation:dslcSpin .75s infinite linear;margin-left:48%}.dslc-loader::after,.dslc-loader::before{left:-2px;top:-2px;display:none;position:absolute;content:'';width:inherit;height:inherit;border:inherit;border-radius:inherit}.dslc-loader,.dslc-loader::before{display:inline-block;border-color:#0cf transparent transparent}.dslc-loader::before{-webkit-animation:dslcSpin 1.5s infinite ease;-moz-animation:dslcSpin 1.5s infinite ease;-ms-animation:dslcSpin 1.5s infinite ease;-o-animation:dslcSpin 1.5s infinite ease;animation:dslcSpin 1.5s infinite ease}.dslc-notification{background:#fff;border:1px solid #e8e8e8;border-radius:3px;color:#979797;margin-bottom:20px;padding:15px;position:relative;font-size:14px;line-height:25px}.dslc-notification.dslc-green,.dslc-notification.dslc-red,.dslc-notification.dslc-yellow{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.14)}.dslc-module-DSLC_Image .dslc-notification{font-family:'Open Sans',sans-serif}.dslc-notification .dslc-icon{cursor:pointer;position:absolute;right:14px;top:21px}.dslc-notification.dslc-red{background:#f65757;border-color:#e43737}.dslc-notification.dslc-yellow{background:#fac841;border-color:#eab72e}.dslc-notification.dslc-green{background:#8ccb25;border-color:#77b01a}#dslc-content .dslc-module-heading{overflow:hidden;position:relative}#dslc-content .dslc-module-heading h2{display:block;float:left;font-size:17px;font-weight:400;line-height:1;margin:0 15px 0 0;padding:0}#dslc-content .dslc-module-heading-view-all{display:block;float:left;font-size:11px;line-height:1;margin:3px 20px 3px 0}#dslc-content .dslc-module-heading-view-all a{display:block;padding-left:15px;border-left:1px dotted #4f4f4f;font-weight:600;line-height:1;text-decoration:none}.dslc-masonry-item{margin-bottom:30px;margin-right:0}.dslc-masonry-item-animate{-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.dslc-post-separator{clear:both;height:1px;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #ededed}.dslc-pagination{border:0 solid transparent;overflow:hidden;margin-top:30px}.dslc-pagination ul{margin:0;padding:0}.dslc-pagination li{display:inline-block;margin:0 10px 0 0;padding:0}.dslc-pagination li:last-child{margin-right:0!important}.dslc-pagination-load-more .dslc-icon,.dslc-post-filter{margin-right:10px}.dslc-pagination li a{background:#eee;border:0 solid transparent;color:#000;display:block;line-height:1;padding:10px;text-decoration:none}.dslc-pagination li.current a{background:#000;color:#fff}.dslc-pagination li.dslc-pagination-load-more{width:auto;display:block}.dslc-pagination li.dslc-pagination-load-more.dslc-inactive a{cursor:default}.dslc-load-more-temp{display:none}.dslc-init-center{display:flex;align-items:center;justify-content:center}.dslc-init-topleft .dslc-init-target{position:absolute!important;top:0!important;left:0!important;bottom:auto!important;right:auto!important}.dslc-init-topright .dslc-init-target{position:absolute!important;top:0!important;right:0!important;bottom:auto!important;left:auto!important}.dslc-init-bottomleft .dslc-init-target{position:absolute!important;bottom:0!important;left:0!important;top:auto!important;right:auto!important}.dslc-init-bottomright .dslc-init-target{position:absolute!important;bottom:0!important;right:0!important;top:auto!important;left:auto!important}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-topleft{position:absolute;top:0;left:0;bottom:auto;right:auto}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-topright{position:absolute;top:0;right:0;bottom:auto;left:auto}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-bottomleft{position:absolute;bottom:0;left:0;top:auto;right:auto}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-bottomright{position:absolute;bottom:0;right:0;top:auto;left:auto}.dslc-post-filters{overflow:hidden;font-size:0}.dslc-post-filter{background:#fff;border:1px solid #e8e8e8;border-radius:3px;color:#979797;cursor:pointer;display:inline-block;font-size:11px;font-weight:700;line-height:1;padding:12px}.dslc-post-filter.dslc-active{color:#ff4e01}.dslc-post-filter:last-child{margin-right:0!important}#dslc-content .dslc-bg-video{background:0 0;position:absolute;left:0;right:0;bottom:0;top:0;opacity:0}#dslc-content .dslc-bg-video.dslc-force-show{opacity:1}#dslc-content .dslc-bg-video .mejs-container{background:0 0;position:absolute;left:0;right:0;bottom:0;top:0;width:100%!important;height:auto!important;overflow:hidden}#dslc-content .dslc-bg-video video{min-width:100%;height:auto!important;min-height:100%}#dslc-content .dslc-bg-video .mejs-controls{display:none!important}#dslc-content .dslc-bg-video-overlay{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;background:#000}.dslc-trigger-lightbox-gallery{cursor:pointer}@media only screen and (min-device-width :768px) and (max-device-width :1024px){.dslc-modules-section.dslc-init-parallax{background-attachment:scroll!important;background-position:0 0!important}}@media only screen and (max-width:767px){.dslc-modules-section.dslc-init-parallax{background-attachment:scroll!important;background-position:0 0!important}}@keyframes dslcFadeIn{to{opacity:1}}@keyframes dslcSlideUp{to{transform:translateY(0)}}@keyframes dslcSlideDown{to{transform:translateY(0)}}@keyframes dslcSlideRight{to{transform:translateX(0)}}@keyframes dslcSlideLeft{to{transform:translateX(0)}}@keyframes dslcSlideUpFadeIn{to{transform:translateY(0);opacity:1}}@keyframes dslcSlideDownFadeIn{to{transform:translateY(0);opacity:1}}@keyframes dslcSlideRightFadeIn{to{transform:translateX(0);opacity:1}}@keyframes dslcSlideLeftFadeIn{to{transform:translateX(0);opacity:1}}@media only screen and (min-width:768px){@-webkit-keyframes dslcFadeIn{to{opacity:1}}@-moz-keyframes dslcFadeIn{to{opacity:1}}.dslc-in-viewport-anim-dslcFadeIn.dslc-in-viewport-check{opacity:0}@-webkit-keyframes dslcSlideUp{to{-webkit-transform:translateY(0)}}@-moz-keyframes dslcSlideUp{to{-moz-transform:translateY(0)}}.dslc-in-viewport-anim-dslcSlideUp.dslc-in-viewport-check{-webkit-transform:translateY(100px);-moz-transform:translateY(100px);transform:translateY(100px)}@-webkit-keyframes dslcSlideDown{to{-webkit-transform:translateY(0)}}@-moz-keyframes dslcSlideDown{to{-moz-transform:translateY(0)}}.dslc-in-viewport-anim-dslcSlideDown.dslc-in-viewport-check{-webkit-transform:translateY(-100px);-moz-transform:translateY(-100px);transform:translateY(-100px)}@-webkit-keyframes dslcSlideRight{to{-webkit-transform:translateX(0)}}@-moz-keyframes dslcSlideRight{to{-moz-transform:translateX(0)}}.dslc-in-viewport-anim-dslcSlideRight.dslc-in-viewport-check{-webkit-transform:translateX(-100px);-moz-transform:translateX(-100px);transform:translateX(-100px)}@-webkit-keyframes dslcSlideLeft{to{-webkit-transform:translateX(0)}}@-moz-keyframes dslcSlideLeft{to{-moz-transform:translateX(0)}}.dslc-in-viewport-anim-dslcSlideLeft.dslc-in-viewport-check{-webkit-transform:translateX(100px);-moz-transform:translateX(100px);transform:translateX(100px)}@-webkit-keyframes dslcSlideUpFadeIn{to{-webkit-transform:translateY(0);opacity:1}}@-moz-keyframes dslcSlideUpFadeIn{to{-moz-transform:translateY(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideUpFadeIn.dslc-in-viewport-check{-webkit-transform:translateY(100px);-moz-transform:translateY(100px);transform:translateY(100px);opacity:0}@-webkit-keyframes dslcSlideDownFadeIn{to{-webkit-transform:translateY(0);opacity:1}}@-moz-keyframes dslcSlideDownFadeIn{to{-moz-transform:translateY(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideDownFadeIn.dslc-in-viewport-check{-webkit-transform:translateY(-100px);-moz-transform:translateY(-100px);transform:translateY(-100px);opacity:0}@-webkit-keyframes dslcSlideRightFadeIn{to{-webkit-transform:translateX(0);opacity:1}}@-moz-keyframes dslcSlideRightFadeIn{to{-moz-transform:translateX(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideRightFadeIn.dslc-in-viewport-check{-webkit-transform:translateX(-100px);-moz-transform:translateX(-100px);transform:translateX(-100px);opacity:0}@-webkit-keyframes dslcSlideLeftFadeIn{to{-webkit-transform:translateX(0);opacity:1}}@-moz-keyframes dslcSlideLeftFadeIn{to{-moz-transform:translateX(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideLeftFadeIn.dslc-in-viewport-check{-webkit-transform:translateX(100px);-moz-transform:translateX(100px);transform:translateX(100px);opacity:0}}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-post-thumb .dslc-on-hover-anim-target{opacity:1!important;-webkit-transform:translateY(0)!important;-moz-transform:translateY(0)!important;transform:translateY(0)!important;-webkit-transform:translateX(0)!important;-moz-transform:translateX(0)!important;transform:translateX(0)!important}.dslc-anim-dslcFadeIn,.dslc-anim-dslcSlideDownFadeIn,.dslc-anim-dslcSlideLeftFadeIn,.dslc-anim-dslcSlideRightFadeIn,.dslc-anim-dslcSlideUpFadeIn{opacity:0}.dslc-on-hover-anim:hover .dslc-anim-dslcFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn{opacity:1}.dslc-anim-dslcSlideDown,.dslc-anim-dslcSlideDownFadeIn{-webkit-transform:translateY(-100%);-moz-transform:translateY(-100%);transform:translateY(-100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDown,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn{-webkit-transform:translateY(0);-moz-transform:translateY(0);transform:translateY(0)}.dslc-anim-dslcSlideUp,.dslc-anim-dslcSlideUpFadeIn{-webkit-transform:translateY(100%);-moz-transform:translateY(100%);transform:translateY(100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUp,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn{-webkit-transform:translateY(0);-moz-transform:translateY(0);transform:translateY(0)}.dslc-anim-dslcSlideRight,.dslc-anim-dslcSlideRightFadeIn{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRight,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0)}.dslc-anim-dslcSlideLeft,.dslc-anim-dslcSlideLeftFadeIn{-webkit-transform:translateX(100%);-moz-transform:translateX(100%);transform:translateX(100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeft,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0)}.dslc-anim-none{opacity:0;-webkit-transition:all 0s ease-out!important}.dslc-on-hover-anim:hover .dslc-anim-none{opacity:1}#dslc-content{position:relative}.alignnone{margin:5px 20px 20px 0}.aligncenter,div.aligncenter{display:block;margin:5px auto}.alignright{float:right;margin:5px 0 20px 20px}.alignleft{float:left;margin:5px 20px 20px 0}.aligncenter{display:block;margin:5px auto}a img.alignright{float:right;margin:5px 0 20px 20px}#dslc-content .dslc-cpt-post-meta-author,a img.alignleft{float:left}a img.alignleft,a img.alignnone{margin:5px 20px 20px 0}a img.aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-caption{background:#fff;border:1px solid #f0f0f0;max-width:96%;padding:5px 3px 10px;text-align:center}.wp-caption.alignleft,.wp-caption.alignnone{margin:5px 20px 20px 0}.wp-caption.alignright{margin:5px 0 20px 20px}.wp-caption img{border:0;height:auto;margin:0;max-width:98.5%;padding:0;width:auto}.wp-caption p.wp-caption-text{font-size:11px;line-height:17px;margin:0;padding:0 4px 5px}.gallery-caption{font-weight:700}.dslc-content b,.dslc-content strong{font-weight:bolder}.dslc-content em,.dslc-content i{font-style:italic}@media only screen and (min-width :1025px){.dslc-hide-on-desktop{display:none!important}.dslca-enabled .dslc-hide-on-desktop{display:block!important}.dslca-composer-hidden .dslc-hide-on-desktop{display:none!important}}@media only screen and (min-width :768px) and (max-width :1024px){body.dslca-enabled.dslc-res-tablet{padding-bottom:200px}.dslc-hide-on-tablet{display:none!important}}@media only screen and (max-width:767px){body.dslca-enabled.dslc-res-phone{padding-bottom:200px}.dslc-col,.dslc-no-columns-spacing .dslc-col{width:100%;margin:0;min-width:0}.dslc-module-front.dslc-col{margin-bottom:0}.dslc-hide-on-phone{display:none!important}}.dslc-module-front a{text-decoration:none}#dslc-content .dslc-post{overflow:hidden}#dslc-content .dslc-cpt-post-main{border:0 solid transparent}#dslc-content .dslc-cpt-post-thumb{margin-bottom:20px;overflow:hidden;position:relative;line-height:0}#dslc-content .dslc-cpt-post-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-cpt-post-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-cpt-post-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main.dslc-cpt-post-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-cpt-post-thumb .dslc-cpt-post-main{opacity:1}#dslc-content .dslc-cpt-post-meta{border:1px solid #e5e5e5;border-left:0;border-right:0;margin-bottom:20px;overflow:hidden;padding:13px 0;font-size:11px;line-height:1}#dslc-content .dslc-cpt-post-meta-author a{text-decoration:none}#dslc-content .dslc-cpt-post-meta-date{float:right}#dslc-content .dslc-cpt-post-title{margin-bottom:13px}#dslc-content .dslc-cpt-post-title h2{font-weight:600;font-size:15px;line-height:26px;margin:0;padding:0}#dslc-content .dslc-cpt-post-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-cpt-post-excerpt{margin-bottom:22px;font-size:13px;line-height:22px}#dslc-content .dslc-cpt-post-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-thumb{float:left;margin-right:20px;width:200px}#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-main,.dslc-post-thumb{overflow:hidden}#dslc-content .dslc-blog-post-main{border:0 solid transparent}#dslc-content .dslc-blog-post-thumb{margin-bottom:20px;overflow:hidden;position:relative;line-height:0}#dslc-content .dslc-blog-post-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-blog-post-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-blog-post-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main.dslc-blog-post-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-blog-post-thumb .dslc-blog-post-main{opacity:1}#dslc-content .dslc-blog-post-meta{border:1px solid #e5e5e5;border-left:0;border-right:0;margin-bottom:20px;overflow:hidden;padding:13px 0;font-size:11px;line-height:1}#dslc-content .dslc-blog-post-meta-author{float:left}#dslc-content .dslc-blog-post-meta-avatar{margin-right:10px;width:30px;display:inline-block}#dslc-content .dslc-blog-post-meta-avatar img{vertical-align:middle;width:100%;height:auto;border-radius:50%}#dslc-content .dslc-blog-post-meta-author a{text-decoration:none}#dslc-content .dslc-blog-post-meta-date{float:right}#dslc-content .dslc-blog-post-title{margin-bottom:13px}#dslc-content .dslc-blog-post-title h2{font-weight:600;font-size:15px;line-height:26px;margin:0;padding:0}#dslc-content .dslc-blog-post-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-blog-post-excerpt{margin-bottom:22px;font-size:13px;line-height:22px}#dslc-content .dslc-blog-post-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}.dslc-posts-orientation-horizontal .dslc-post-thumb{float:left;margin-right:20px;width:200px}#dslc-content .dslc-posts-orientation-horizontal .dslc-post-main{overflow:hidden}#dslc-content .dslc-download-thumb{position:relative;line-height:0}#dslc-content .dslc-download-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-download-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-download-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-download-download a,#dslc-content .dslc-download-main{border:0 solid transparent;text-align:center}#dslc-content .dslc-download-thumb .dslc-download-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-download-thumb .dslc-download-main.dslc-download-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-download-thumb .dslc-download-main{opacity:1}#dslc-content .dslc-download-title{margin-bottom:13px}#dslc-content .dslc-download-title h2{font-size:15px;line-height:1.7;margin:0;padding:0}#dslc-content .dslc-download-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-download-tags{border:1px solid #e5e5e5;border-width:1px 0;font-size:12px;padding:8px 0;line-height:1;margin-bottom:22px}#dslc-content .dslc-download-excerpt{margin-bottom:22px;font-size:13px;line-height:22px;font-weight:400}#dslc-content .dslc-download-download{margin-bottom:10px}#dslc-content .dslc-download-download a{background:#ff4e01;border-radius:3px;color:#fff;display:block;font-size:13px;font-weight:700;line-height:1;padding:15px 0;text-decoration:none}#dslc-content .dslc-download-download .dslc-icon{margin-right:10px}#dslc-content .dslc-download-info{font-size:10px;font-style:italic}#dslc-content .dslc-gallery-thumb{position:relative;line-height:0}#dslc-content .dslc-gallery-thumb-inner{border:0 solid transparent;position:relative;overflow:hidden}#dslc-content .dslc-gallery-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;display:block;box-shadow:none;max-width:100%;height:auto}#dslc-content .dslc-gallery-thumb .dslc-gallery-images-count{position:absolute;left:0;top:0;width:100%;height:100%;text-align:center;text-decoration:none}#dslc-content .dslc-gallery-images-count-bg{background:0 0;border:0 solid transparent;position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-gallery-images-count-main{position:relative}#dslc-content .dslc-gallery-images-count-num{color:#fff;display:block;font-size:25px;font-weight:200;line-height:1;margin-bottom:8px}#dslc-content .dslc-gallery-images-count-txt{color:#7d7d7d;display:block;font-size:11px;line-height:1}#dslc-content .dslc-gallery-thumb .dslc-gallery-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-gallery-thumb .dslc-gallery-main.dslc-gallery-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-gallery-thumb .dslc-gallery-main{opacity:1}#dslc-content .dslc-gallery-main{border:0 solid transparent;text-align:center}#dslc-content .dslc-gallery-title{margin-bottom:15px}#dslc-content .dslc-gallery-title h2{font-size:11px;line-height:1;margin:0;padding:0}#dslc-content .dslc-gallery-title h2 a{display:block;color:#7d7d7d;text-decoration:none}#dslc-content .dslc-gallery-sep{display:block;height:1px;border-bottom:1px solid #4a4a4a;margin-bottom:15px}#dslc-content .dslc-gallery-excerpt{font-size:12px;border-width:1px 0 0}#dslc-content .dslc-gallery-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}#dslc-content .dslc-gallery .dslc-lightbox-gallery{display:none}#dslc-content .dslc-info-box{text-align:center;border:0 solid transparent}#dslc-content .dslc-info-box-image{margin-bottom:25px;position:relative;font-size:0}#dslc-content .dslc-info-box-image-link{position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-info-box-icon-pos-aside .dslc-info-box-main{overflow:hidden}#dslc-content .dslc-info-box-icon-pos-aside .dslc-info-box-image{float:left;margin-right:20px}#dslc-content .dslc-info-box-image-inner{display:inline-flex;justify-content:center;align-items:center;position:relative;border:0 solid transparent}#dslc-content .dslc-info-box-image-inner .dslc-icon{color:#fff;line-height:1;font-size:40px}#dslc-content .dslc-info-box-title{margin-bottom:25px}#dslc-content .dslc-info-box-title h4{font-size:17px;line-height:1;margin:0;padding:0;font-weight:400}#dslc-content .dslc-info-box-title h4 a{color:inherit;text-decoration:none}#dslc-content .dslc-info-box-content{margin-bottom:25px}#dslc-content .dslc-info-box-button{font-size:0}#dslc-content .dslc-info-box-button a{display:inline-block;line-height:1;text-decoration:none}#dslc-content .dslc-info-box-button-aside{float:right}#dslc-content .dslc-partner .dslc-partner-thumb{position:relative;line-height:0}#dslc-content .dslc-partner .dslc-partner-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-partner .dslc-partner-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:inline-block;vertical-align:bottom;width:auto;max-width:100%;height:auto}#dslc-content .dslc-partner-thumb .dslc-partner-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-partner-thumb .dslc-partner-main.dslc-partner-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-partner-thumb .dslc-partner-main{opacity:1}#dslc-content .dslc-partner-title{margin-bottom:10px}#dslc-content .dslc-partner-title h2{margin:0;padding:0}#dslc-content .dslc-partner-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-project-thumb{margin-bottom:24px;position:relative;line-height:0}#dslc-content .dslc-project-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-project-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-project-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-project-thumb .dslc-project-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-project-thumb .dslc-project-main.dslc-project-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-projects .dslc-post:first-child .dslc-project-thumb .dslc-project-main{opacity:1}#dslc-content .dslc-project-main{border:0 solid transparent}#dslc-content .dslc-project-title{margin-bottom:10px}#dslc-content .dslc-project-title h2{font-weight:700;font-size:12px;line-height:1;margin:0;padding:0}#dslc-content .dslc-project-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-project-cats{font-size:10px;font-style:italic;line-height:1}#dslc-content .dslc-project-excerpt{margin-bottom:22px;font-size:13px;line-height:22px;border-top:0 solid #000}#dslc-content .dslc-project-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}.dslc-separator-wrapper{padding-bottom:1px}.dslc-separator{clear:both;height:1px;padding-bottom:25px;margin-bottom:25px;width:100%}.dslc-module-front.dslc-module-DSLC_Separator{min-height:auto}.dslc-separator.dslc-separator-style-solid{border-bottom:1px solid #ededed}.dslc-separator.dslc-separator-style-dashed{border-bottom:1px dashed #ededed}.dslc-separator.dslc-separator-style-dotted{border-bottom:1px dotted #ededed}#dslc-content .dslc-staff-member-thumb{position:relative;line-height:0}#dslc-content .dslc-staff-member-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-staff-member-thumb img{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main.dslc-staff-member-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-staff-member-thumb .dslc-staff-member-main{opacity:1}#dslc-content .dslc-staff-member-social a{margin:0 6px;text-decoration:none}#dslc-content .dslc-staff-member-title h2{margin:0;padding:0}#dslc-content .dslc-staff-member-title h2 a{display:block;text-decoration:none;color:inherit}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-nav{float:left;margin-bottom:0!important}#dslc-content .dslc-tabs-nav-pos-above .dslc-tabs-nav{margin-right:0!important}#dslc-content .dslc-tabs-nav-hook{background:#fbfbfb;border:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8;border-radius:3px 3px 0 0;bottom:-1px;cursor:pointer;display:inline-block;padding:10px;position:relative;line-height:1;margin-left:-1px}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-nav-hook{display:block;margin-left:0!important}#dslc-content .dslc-tabs-nav-pos-above .dslc-tabs-nav-hook{margin-bottom:0!important}#dslc-content .dslc-tabs-nav-hook:first-child{margin-left:0!important}#dslc-content .dslc-tabs-nav-hook.dslc-active{background:#fff}#dslc-content .dslc-tabs-content{background:#fff;border:1px solid #e8e8e8;border-radius:0 3px 3px}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-content{overflow:hidden}#dslc-content .dslc-tabs-tab-content{padding:35px;display:none;position:relative}#dslc-content .dslc-tabs-tab-content.dslc-active{display:block}.dslca-add-new-tab-hook,.dslca-delete-tab-hook{display:inline-block;margin-left:10px;cursor:pointer}.dslca-add-new-tab-hook{background:#78CA4F;border-radius:50%;color:#fff;font-size:11px;height:20px;text-align:center;line-height:22px;margin-top:8px;width:20px;position:relative}.dslca-add-new-tab-hook .dslca-icon{position:absolute;line-height:1;top:5px;right:6px}.dslca-delete-tab-hook{color:#E55F5F;font-size:12px;line-height:1;vertical-align:top}.dslc-tabs-content .dslc-tabs-nav-hook{display:none!important}#dslc-content .dslc-testimonials{border:0 solid transparent}#dslc-content .dslc-testimonial-main{border:0 solid transparent;border-radius:4px;padding:25px;overflow:hidden}#dslc-content .dslc-widget-wrap,#dslc-content .dslc-widgets-wrap,.dslc-text-module-content{border:0 solid transparent}#dslc-content .dslc-testimonial-quote{border-bottom:0 solid transparent}#dslc-content .dslc-testimonial-author-pos-outside-left{float:left}#dslc-content .dslc-testimonial-author-pos-outside-right{float:right}#dslc-content .dslc-testimonial-author-avatar{border:0 solid transparent;float:left}#dslc-content .dslc-testimonial-author-avatar img{display:block;height:auto}#dslc-content .dslc-testimonial-author-main{overflow:hidden;float:left}#dslc-content .dslc-testimonial-author-name{line-height:1}#dslc-content .dslc-testimonial-author-position{line-height:1.1}#dslc-content .dslc-widget{margin-bottom:30px;width:100%}#dslc-content .dslc-widget:last-child{margin-bottom:0!important}#dslc-content .dslc-widget-title{font-size:15px;font-weight:600;border-bottom:1px solid #e5e5e5;margin-bottom:10px;padding-bottom:10px;line-height:1}#dslc-content .dslc-widget-title-inner{display:block}#dslc-content .dslc-widgets-2-col .dslc-col{width:14.89361%}#dslc-content .dslc-widgets-3-col .dslc-col{width:23.40425%}#dslc-content .dslc-widgets-4-col .dslc-col{width:31.91489%}#dslc-content .dslc-widgets-5-col .dslc-col{width:40.42553%}#dslc-content .dslc-widgets-6-col .dslc-col{width:48.93617%}#dslc-content .dslc-widgets-7-col .dslc-col{width:57.4468%}#dslc-content .dslc-widgets-8-col .dslc-col{width:65.95744%}#dslc-content .dslc-widgets-9-col .dslc-col{width:74.46808%}#dslc-content .dslc-widgets-10-col .dslc-col{width:82.97872%}#dslc-content .dslc-widgets-11-col .dslc-col{width:91.48936%}#dslc-content .dslc-widgets-12-col .dslc-col{width:100%;margin-right:0}#dslc-content .dslc-widgets-2-col .dslc-col:nth-child(6n),#dslc-content .dslc-widgets-3-col .dslc-col:nth-child(4n),#dslc-content .dslc-widgets-4-col .dslc-col:nth-child(3n),#dslc-content .dslc-widgets-6-col .dslc-col:nth-child(2n){margin-right:0}#dslc-content .dslc-widget li{border-style:solid}#dslc-content .dslc-product-thumb{position:relative;line-height:0}#dslc-content .dslc-product-thumb-inner{bottom:0 solid transparent;overflow:hidden}#dslc-content .dslc-product-thumb img{-moz-box-shadow:none;-webkit-box-shadow:none;display:block;border-radius:3px 3px 0 0;box-shadow:none;max-width:100%;height:auto}#dslc-content .dslc-product-thumb .dslc-product-price .from,#dslc-content .dslc-product-thumb .dslc-product-price del{display:none}#dslc-content .dslc-product-thumb .dslc-product-price{background:0 0;color:#fff;font-weight:400;font-size:25px;line-height:1;position:absolute;left:0;top:0;width:100%;height:100%;text-decoration:none;text-align:center}#dslc-content .dslc-product-price-bg{background:0 0;border:0 solid transparent;position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-product-price-main{position:relative}#dslc-content .dslc-product-thumb .dslc-product-price ins{text-decoration:none;background:0 0}#dslc-content .dslc-product-thumb .dslc-product-price .amount{vertical-align:middle}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main.dslc-product-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-products .dslc-post:first-child .dslc-product-thumb .dslc-product-main{opacity:1}#dslc-content .dslc-product-main{background:#1d1d1d;border-radius:0 0 3px 3px;padding:20px;text-align:center;border:0 solid transparent}#dslc-content .dslc-product-title{margin-bottom:15px}#dslc-content .dslc-product-price-secondary{color:#fff;float:left;font-size:20px;line-height:1}#dslc-content .dslc-product-price-secondary ins{text-decoration:none;background:0 0}#dslc-content .dslc-product-title h2{clear:none;font-size:11px;line-height:1;vertical-align:middle;margin:0;padding:0}#dslc-content .dslc-product-title h2 a{display:block;color:#7d7d7d;text-decoration:none}#dslc-content .dslc-product-excerpt{border-bottom:0 solid transparent}#dslc-content .dslc-product-sep{display:block;border-bottom:1px solid #4a4a4a;height:1px;margin-bottom:15px}#dslc-content .dslc-product-extra .dslc-product-add-to-cart{color:#8d8d8d;font-size:12px;line-height:1;text-decoration:none;float:left}#dslc-content .dslc-product-extra .dslc-product-details{color:#8d8d8d;font-size:12px;text-decoration:none;line-height:1;float:right}#dslc-content .dslc-product-extra .dslc-icon{margin-right:5px}#dslc-content .dslc-tp-content,#dslc-content .dslc-tp-meta,#dslc-content .dslc-tp-title{border:0 solid transparent}#dslc-content .dslc-tp-meta ul{margin:0;list-style-type:none;font-size:0}#dslc-content .dslc-tp-meta-horizontal li{display:inline-block;margin-top:0!important;margin-bottom:0!important;list-style-type:none}#dslc-content .dslc-tp-meta-horizontal li:first-child{margin-left:0!important}#dslc-content .dslc-tp-meta-horizontal li:last-child{margin-right:0!important}#dslc-content .dslc-tp-meta-vertical li{margin-left:0!important;margin-right:0!important}#dslc-content .dslc-tp-meta-vertical li:first-child{margin-top:0!important}#dslc-content .dslc-tp-meta-vertical li:last-child{margin-bottom:0!important}#dslc-content .dslc-tp-meta-avatar{margin-right:10px;width:30px;display:inline-block}#dslc-content .dslc-tp-meta-avatar img{vertical-align:middle;width:100%;height:auto;border-radius:50%}#dslc-content .dslc-tp-download-button a,#dslc-content .dslc-tp-gallery-slider,#dslc-content .dslc-tp-gallery-slider-main,#dslc-content .dslc-tp-gallery-slider-nav{border:0 solid transparent}#dslc-content .dslc-tp-download-button a{display:block;line-height:1;text-decoration:none;text-align:center}#dslc-content .dslc-tp-thumbnail{bottom:0 solid transparent;overflow:hidden}#dslc-content .dslc-tp-thumbnail img{display:inline-block;vertical-align:middle;max-width:100%;height:auto}#dslc-content .dslc-tp-gallery-slider-main li{overflow:hidden}#dslc-content .dslc-tp-gallery-slider-nav li{margin-right:10px;padding:5px;border:1px solid red;cursor:pointer;opacity:.7}#dslc-content .dslc-tp-gallery-slider-nav li.flex-active-slide{opacity:1}#dslc-content ul.dslc-social{margin:0;padding:0;list-style-type:none;font-size:0;line-height:1}#dslc-content ul.dslc-social li{margin:0 10px 0 0;padding:0;line-height:1;display:inline-block;overflow:hidden}#dslc-content ul.dslc-social a.dslc-social-icon{border:0 solid transparent;background:#40bde6;text-decoration:none;color:#fff;width:30px;height:30px;border-radius:15px;font-size:15px;position:relative;float:left;display:inline-flex;justify-content:center;align-items:center}#dslc-content ul.dslc-social .dslc-icon{line-height:1}#dslc-content ul.dslc-social .dslc-social-label{float:left;display:block}#dslc-content ul.dslc-staff-social{margin:0;padding:0;list-style-type:none;font-size:0;line-height:1}#dslc-content ul.dslc-staff-social li{margin:0;padding:0;line-height:1;display:inline-block;overflow:hidden}#dslc-content ul.dslc-staff-social a{border:0 solid transparent;text-decoration:none;position:relative;float:left;display:inline-flex;justify-content:center;align-items:center}#dslc-content ul.dslc-staff-social .dslc-icon{line-height:1}#dslc-content ul.dslc-staff-social .dslc-social-label{float:left;display:block}#dslc-content .dslc-notification-box{background:#f65757;padding:15px;border:1px solid #e43737;border-radius:3px;color:#fff}.dslc-notification-box-has-timeout{display:none}body.dslca-enabled .dslc-notification-box-has-timeout{display:block}#dslc-content .dslc-notification-box-content p:last-child{margin-bottom:0}#dslc-content .dslc-notification-box-close{display:flex;justify-content:center;align-items:center;position:absolute;right:15px;top:20px;cursor:pointer;background:#fff;color:#f65757;border-radius:50%;width:15px;height:15px}.dslc-comment,.dslc-tp-comments{border:0 solid transparent}#dslc-content .dslc-notification-box-close .dslc-icon{color:#f65757;font-size:12px;text-align:center}#dslc-content .dslc-button a{display:inline-block;text-decoration:none;line-height:1}.dslc-tp-comments li,.dslc-tp-comments ol,.dslc-tp-comments ul{list-style-type:none}.dslc-tp-comments ol{margin-left:0}.dslc-comment{margin:0}.dslc-comment-inner{border:1px solid #ddd;padding:10px;margin-bottom:20px}.dslc-comment-info{margin-bottom:10px;border-bottom:1px solid #ddd}.dslc-tp-comment-form,.dslc-tp-comment-form input,.dslc-tp-comment-form textarea{border:0 solid transparent}.dslc-comment-meta{float:left;margin:0}.dslc-comment-meta-author{display:inline-block;margin-right:15px;line-height:1}.dslc-comment-author-avatar{margin-right:5px}.dslc-comment-meta-author a{color:inherit;text-decoration:none}.dslc-comment-author-avatar img{vertical-align:middle}.dslc-comment-meta-date{display:inline-block;line-height:1}.dslc-comment-reply{float:right}.dslc-comment-reply a{text-decoration:none}.dslc-comment .dslc-comment{margin-left:50px}.dslc-tp-comment-form input[type=email]::-moz-placeholder,.dslc-tp-comment-form input[type=text]::-moz-placeholder,.dslc-tp-comment-form input[type=url]::-moz-placeholder,.dslc-tp-comment-form textarea::-moz-placeholder{opacity:1}.dslc-tp-comment-form input[type=text]{line-height:1}.dslc-tp-comment-form textarea{width:100%;height:130px;box-sizing:border-box}.dslc-tp-comment-form .logged-in-as{margin-bottom:15px}.dslc-tp-comment-form #submit{cursor:pointer}#dslc-content .dslc-image,#dslc-content .dslc-image>a{display:inline-block}#dslc-content .dslc-image img{max-width:100%;display:inline-block;vertical-align:middle;box-shadow:none;border-radius:none;position:relative;z-index:-1}#dslc-content .dslc-accordion,#dslc-content .dslc-accordion-header,#dslc-content .dslc-accordion-title,#dslc-content .dslc-progress-bar{border:0 solid transparent}#dslc-content .dslc-progress-bar-label{margin:0;padding:0;line-height:1}#dslc-content .dslc-progress-bar-loader{background:#666;display:block;height:18px}#dslc-content .dslc-progress-bar-loader-inner{display:block;float:left;overflow:hidden;white-space:nowrap}#dslc-content .dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:0}#dslc-content .dslca-enabled .dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:1}#dslc-content .dslc-accordion-item:first-child{margin-top:0!important}#dslc-content .dslc-accordion-header{display:block;font-weight:700;font-size:11px;line-height:1;position:relative}#dslc-content .dslc-accordion-title{display:block}#dslc-content .dslc-accordion-hook{cursor:pointer}#dslc-content .dslc-accordion-toggle{display:block;position:absolute;left:0;top:0;bottom:0}#dslc-content .dslc-accordion-content{position:relative;border:0 solid transparent}#dslc-content .dslca-add-accordion{text-align:center}#dslc-content .dslca-add-accordion-hook{background:#78CA4F;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;font-size:12px;height:20px;text-align:center;line-height:22px;width:20px;position:relative;margin-top:10px}#dslc-content .dslca-accordion-action-hooks{position:absolute;right:14px;top:14px}#dslc-content .dslca-move-down-accordion-hook,#dslc-content .dslca-move-up-accordion-hook{color:#5890e5}#dslc-content .dslca-move-down-accordion-hook:hover,#dslc-content .dslca-move-up-accordion-hook:hover{color:#3b6fbe}#dslc-content .dslca-delete-accordion-hook{color:#E55F5F;cursor:pointer;display:inline-block;font-size:12px;margin-left:10px;line-height:1;vertical-align:top}#dslc-content .dslc-icon-module{position:relative;display:inline-block}#dslc-content .dslc-navigation{z-index:99998;position:relative;text-align:right;font-size:0}#dslc-content .dslc-navigation-inner{display:inline-block}#dslc-content .dslc-navigation .menu{list-style:none;margin:0;padding:0}#dslc-content .dslc-navigation.dslc-navigation-orientation-horizontal .menu>li,#dslc-content .dslc-navigation.dslc-navigation-orientation-vertical .menu>li:first-child{margin-top:0!important}#dslc-content .dslc-navigation .menu>li{display:inline-block;position:relative;z-index:99998}#dslc-content .dslc-navigation.dslc-navigation-orientation-vertical .menu>li{display:block;margin-left:0!important}#dslc-content .dslc-navigation .menu>li:first-child{margin-left:0!important}#dslc-content .dslc-navigation .menu>li>a{display:inline-block;text-decoration:none;vertical-align:middle}#dslc-content .dslc-navigation-arrow{display:inline-block;margin-left:5px;vertical-align:middle}#dslc-content .dslc-navigation .menu ul{border-style:solid;display:none;list-style-type:none;margin:0;opacity:0;position:absolute;top:100%;left:-28px}#dslc-content .dslc-navigation.dslc-navigation-sub-position-left .menu ul{left:0;right:auto}#dslc-content .dslc-navigation.dslc-navigation-sub-position-right .menu ul{right:0;left:auto}#dslc-content .dslc-navigation.dslc-navigation-sub-position-center .menu ul{left:auto;right:auto}#dslc-content .dslc-navigation-orientation-vertical .menu ul{top:0;left:100%}#dslc-content .dslc-navigation .menu ul.dslc-navigation-invert-subnav{left:auto;right:0}#dslc-content .dslc-navigation .menu ul li{display:block;white-space:nowrap;margin:0}#dslc-content .dslc-navigation .menu ul li a{display:block;line-height:1;text-decoration:none}#dslc-content .dslc-navigation .menu ul li:last-child a{border-bottom:0!important}#dslc-content .dslc-navigation .dt-icon.dt-subnav-arrow{display:none;color:#bfbfbf;font-size:8px;margin-left:10px;vertical-align:middle;position:relative;top:-3px;margin-right:0}#dslc-content .dslc-navigation li.current-menu-item .dt-icon.dt-subnav-arrow{color:#878787}#dslc-content .dslc-navigation .menu ul ul{left:100%;margin-left:-10px;top:-1px}#dslc-content .dslc-navigation .menu ul ul.dslc-navigation-invert-subnav{left:auto;right:100%}#dslc-content .dslc-navigation .menu li:hover>ul{display:block}#dslc-content .dslc-mobile-navigation{position:relative;text-align:right;display:none}#dslc-content .dslc-mobile-navigation select{cursor:pointer;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;position:absolute;right:0;top:0;padding-top:0;padding-bottom:0;z-index:10;height:38px;width:100%}#dslc-content .dslc-mobile-navigation-hook{color:#555;font-size:24px;line-height:22px}.dslc-post-main-inner-link-cover{display:none;position:absolute;top:0;left:0;right:0;bottom:0}.dslc-posts-social-share{line-height:1}.dslc-posts-social-share a:last-child{margin-right:0!important}.dslc-posts-social-share-count{display:inline-block;border-style:solid}.dslc-center-elem{top:50%;position:relative;left:50%;visibility:visible;transform:translate(-50%,-50%)}@media only screen and (min-width :768px) and (max-width :1024px){#dslc-content .dslc-mobile-navigation.dslc-navigation-res-t-enabled{display:block}#dslc-content .dslc-navigation.dslc-navigation-res-t-enabled{display:none}.dslc-post-main-inner-link-cover{display:block}}@media only screen and (max-width:767px){.dslc-tabs-nav{display:none}.dslc-tabs-tab-content{display:block!important}.dslc-tabs-content .dslc-tabs-nav-hook{display:block!important;float:none!important;margin-bottom:20px}.dslc-comment .dslc-comment{margin-left:0}.dslc-comment .children{margin-left:0;padding-left:0}#dslc-content .dslc-mobile-navigation.dslc-navigation-res-p-enabled{display:block}#dslc-content .dslc-navigation.dslc-navigation-res-p-enabled{display:none}.dslc-post-main-inner-link-cover{display:block}}.owl-carousel .owl-wrapper:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.mfp-container:before,.mfp-figure:after{content:''}.owl-carousel,.owl-carousel .owl-wrapper{display:none;position:relative}.owl-carousel{width:100%;-ms-touch-action:pan-y}.owl-carousel .owl-wrapper-outer{overflow:hidden;position:relative;width:100%}.mfp-bg,.mfp-wrap{position:fixed;left:0;top:0}.owl-carousel .owl-wrapper-outer.autoHeight{-webkit-transition:height .5s ease-in-out;-moz-transition:height .5s ease-in-out;-ms-transition:height .5s ease-in-out;-o-transition:height .5s ease-in-out;transition:height .5s ease-in-out}.owl-carousel .owl-item{float:left}.owl-controls .owl-buttons div,.owl-controls .owl-page{cursor:pointer}.owl-controls{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.owl-origin{-webkit-perspective:1200px;-webkit-perspective-origin-x:50%;-webkit-perspective-origin-y:50%;-moz-perspective:1200px;-moz-perspective-origin-x:50%;-moz-perspective-origin-y:50%;perspective:1200px}.owl-fade-out{z-index:10;-webkit-animation:fadeOut .7s both ease;-moz-animation:fadeOut .7s both ease;animation:fadeOut .7s both ease}.owl-fade-in{-webkit-animation:fadeIn .7s both ease;-moz-animation:fadeIn .7s both ease;animation:fadeIn .7s both ease}.owl-backSlide-out{-webkit-animation:backSlideOut 1s both ease;-moz-animation:backSlideOut 1s both ease;animation:backSlideOut 1s both ease}.owl-backSlide-in{-webkit-animation:backSlideIn 1s both ease;-moz-animation:backSlideIn 1s both ease;animation:backSlideIn 1s both ease}.owl-goDown-out{-webkit-animation:scaleToFade .7s ease both;-moz-animation:scaleToFade .7s ease both;animation:scaleToFade .7s ease both}.owl-goDown-in{-webkit-animation:goDown .6s ease both;-moz-animation:goDown .6s ease both;animation:goDown .6s ease both}.owl-fadeUp-in{-webkit-animation:scaleUpFrom .5s ease both;-moz-animation:scaleUpFrom .5s ease both;animation:scaleUpFrom .5s ease both}.owl-fadeUp-out{-webkit-animation:scaleUpTo .5s ease both;-moz-animation:scaleUpTo .5s ease both;animation:scaleUpTo .5s ease both}@-webkit-keyframes empty{0%{opacity:1}}@-moz-keyframes empty{0%{opacity:1}}@keyframes empty{0%{opacity:1}}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-moz-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes backSlideOut{25%{opacity:.5;-webkit-transform:translateZ(-500px)}100%,75%{opacity:.5;-webkit-transform:translateZ(-500px) translateX(-200%)}}@-moz-keyframes backSlideOut{25%{opacity:.5;-moz-transform:translateZ(-500px)}100%,75%{opacity:.5;-moz-transform:translateZ(-500px) translateX(-200%)}}@keyframes backSlideOut{25%{opacity:.5;transform:translateZ(-500px)}100%,75%{opacity:.5;transform:translateZ(-500px) translateX(-200%)}}@-webkit-keyframes backSlideIn{0%,25%{opacity:.5;-webkit-transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;-webkit-transform:translateZ(-500px)}100%{opacity:1;-webkit-transform:translateZ(0) translateX(0)}}@-moz-keyframes backSlideIn{0%,25%{opacity:.5;-moz-transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;-moz-transform:translateZ(-500px)}100%{opacity:1;-moz-transform:translateZ(0) translateX(0)}}@keyframes backSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;transform:translateZ(-500px)}100%{opacity:1;transform:translateZ(0) translateX(0)}}@-webkit-keyframes scaleToFade{to{opacity:0;-webkit-transform:scale(.8)}}@-moz-keyframes scaleToFade{to{opacity:0;-moz-transform:scale(.8)}}@keyframes scaleToFade{to{opacity:0;transform:scale(.8)}}@-webkit-keyframes goDown{from{-webkit-transform:translateY(-100%)}}@-moz-keyframes goDown{from{-moz-transform:translateY(-100%)}}@keyframes goDown{from{transform:translateY(-100%)}}@-webkit-keyframes scaleUpFrom{from{opacity:0;-webkit-transform:scale(1.5)}}@-moz-keyframes scaleUpFrom{from{opacity:0;-moz-transform:scale(1.5)}}@keyframes scaleUpFrom{from{opacity:0;transform:scale(1.5)}}@-webkit-keyframes scaleUpTo{to{opacity:0;-webkit-transform:scale(1.5)}}@-moz-keyframes scaleUpTo{to{opacity:0;-moz-transform:scale(1.5)}}@keyframes scaleUpTo{to{opacity:0;transform:scale(1.5)}}.owl-theme .owl-controls{margin-top:10px;text-align:center}.owl-theme .owl-controls .owl-buttons div{color:#FFF;display:inline-block;zoom:1;margin:5px;padding:3px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px;background:#869791;filter:Alpha(Opacity=50);opacity:.5}.owl-theme .owl-controls.clickable .owl-buttons div:hover{filter:Alpha(Opacity=100);opacity:1;text-decoration:none}.owl-theme .owl-controls .owl-page{display:inline-block;zoom:1}.owl-theme .owl-controls .owl-page span{display:block;width:12px;height:12px;margin:5px 7px;filter:Alpha(Opacity=50);opacity:.5;-webkit-border-radius:20px;-moz-border-radius:20px;border-radius:20px;background:#869791}.owl-theme .owl-controls .owl-page.active span,.owl-theme .owl-controls.clickable .owl-page:hover span{filter:Alpha(Opacity=100);opacity:1}.owl-theme .owl-controls .owl-page span.owl-numbers{height:auto;width:auto;color:#FFF;padding:2px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px}.mfp-bg,.mfp-container,.mfp-wrap{height:100%;width:100%}.owl-item.loading{min-height:150px;background:url(AjaxLoader.gif) center center no-repeat}.mfp-bg{z-index:99999;overflow:hidden;background:#0b0b0b;opacity:.8;filter:alpha(opacity=80)}.mfp-wrap{z-index:100000;outline:0!important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;left:0;top:0;padding:0 8px;box-sizing:border-box}.mfp-container:before{display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:100001}.mfp-close,.mfp-preloader{text-align:center;position:absolute}.mfp-ajax-holder .mfp-content,.mfp-inline-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:-moz-zoom-out;cursor:-webkit-zoom-out;cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-arrow,.mfp-close,.mfp-counter,.mfp-preloader{-webkit-user-select:none;-moz-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.mfp-preloader{color:#ccc;top:50%;width:auto;margin-top:-.8em;left:8px;right:8px;z-index:100000}.mfp-preloader a{color:#ccc}.mfp-close,.mfp-preloader a:hover{color:#fff}.mfp-s-error .mfp-content,.mfp-s-ready .mfp-preloader{display:none}button.mfp-arrow,button.mfp-close{overflow:visible;cursor:pointer;background:0 0;border:0;-webkit-appearance:none;display:block;outline:0;padding:0;z-index:100002;-webkit-box-shadow:none;box-shadow:none}button::-moz-focus-inner{padding:0;border:0}.mfp-close{width:44px;height:44px;line-height:44px;right:0;top:0;text-decoration:none;opacity:.65;filter:alpha(opacity=65);padding:0 0 18px 10px;font-style:normal;font-size:28px;font-family:Arial,Baskerville,monospace}.mfp-close:focus,.mfp-close:hover{opacity:1;filter:alpha(opacity=100)}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#333}.mfp-iframe-holder .mfp-close,.mfp-image-holder .mfp-close{color:#fff;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#ccc;font-size:12px;line-height:18px}.mfp-figure,img.mfp-img{line-height:0}.mfp-arrow{position:absolute;opacity:.65;filter:alpha(opacity=65);margin:-55px 0 0;top:50%;padding:0;width:90px;height:110px}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:focus,.mfp-arrow:hover{opacity:1;filter:alpha(opacity=100)}.mfp-arrow .mfp-a,.mfp-arrow .mfp-b,.mfp-arrow:after,.mfp-arrow:before{content:'';display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:inset transparent}.mfp-arrow .mfp-a,.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow .mfp-b,.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{left:0}.mfp-arrow-left .mfp-a,.mfp-arrow-left:after{border-right:17px solid #fff;margin-left:31px}.mfp-arrow-left .mfp-b,.mfp-arrow-left:before{margin-left:25px;border-right:27px solid #3f3f3f}.mfp-arrow-right{right:0}.mfp-arrow-right .mfp-a,.mfp-arrow-right:after{border-left:17px solid #fff;margin-left:39px}.mfp-arrow-right .mfp-b,.mfp-arrow-right:before{border-left:27px solid #3f3f3f}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-image-holder .mfp-content,img.mfp-img{max-width:100%}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}.mfp-figure:after,img.mfp-img{width:auto;height:auto;display:block}img.mfp-img{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:40px 0;margin:0 auto}.mfp-figure:after{position:absolute;left:0;top:40px;bottom:40px;right:0;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6);background:#444}.mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-title{text-align:left;line-height:18px;color:#f3f3f3;word-wrap:break-word;padding-right:36px}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-width:800px) and (orientation:landscape),screen and (max-height:300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,.6);position:fixed;text-align:center;padding:0}}@media all and (max-width:900px){.mfp-arrow{-webkit-transform:scale(.75);transform:scale(.75)}.mfp-arrow-left{-webkit-transform-origin:0;transform-origin:0}.mfp-arrow-right{-webkit-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}.mfp-ie7 .mfp-img{padding:0}.mfp-ie7 .mfp-bottom-bar{width:600px;left:50%;margin-left:-300px;margin-top:5px;padding-bottom:5px}.mfp-ie7 .mfp-container{padding:0}.mfp-ie7 .mfp-content{padding-top:44px}.mfp-ie7 .mfp-close{top:0;right:0;padding-top:0}.mfp-close:hover{background:0 0}
css/frontend/main.css CHANGED
@@ -74,6 +74,7 @@ body.dslca-enabled:not(.dslca-composer-hidden) #dslc-header.dslc-header-pos-abso
74
 
75
  .dslc-module-front {
76
  position: relative;
 
77
  }
78
 
79
  /**
@@ -167,7 +168,8 @@ body.rtl .dslc-last-col {
167
  }
168
 
169
  .dslc-posts {
170
- overflow: hidden; /* Eliminate scroller ( due to negat. margin and width increase ) */
 
171
  }
172
 
173
  .dslc-carousel .dslc-col,
@@ -279,6 +281,11 @@ body.rtl .dslc-last-col {
279
  .dslc-carousel {
280
  opacity: 0;
281
  max-height: 100px;
 
 
 
 
 
282
  }
283
 
284
 
@@ -638,6 +645,38 @@ body.rtl .dslc-last-col {
638
  left: auto !important;
639
  }
640
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
641
  /**
642
  * Post Filters
643
  */
74
 
75
  .dslc-module-front {
76
  position: relative;
77
+ z-index: 0;
78
  }
79
 
80
  /**
168
  }
169
 
170
  .dslc-posts {
171
+ /*overflow: hidden; Eliminate scroller ( due to negat. margin and width increase ) */
172
+ /* <- disabled to not affect box-shadow. Carousels have their own overflow hidden. */
173
  }
174
 
175
  .dslc-carousel .dslc-col,
281
  .dslc-carousel {
282
  opacity: 0;
283
  max-height: 100px;
284
+ overflow: hidden; /* Moved here from .owl-wrapper-outer */
285
+ }
286
+
287
+ .dslc-carousel.owl-carousel .owl-wrapper-outer {
288
+ overflow: visible; /* Do not crop box-shadows. */
289
  }
290
 
291
 
645
  left: auto !important;
646
  }
647
 
648
+ #dslc-content .dslc-products .dslc-product-thumb .dslc-init-topleft {
649
+ position: absolute;
650
+ top: 0;
651
+ left: 0;
652
+ bottom: auto;
653
+ right: auto;
654
+ }
655
+
656
+ #dslc-content .dslc-products .dslc-product-thumb .dslc-init-topright {
657
+ position: absolute;
658
+ top: 0;
659
+ right: 0;
660
+ bottom: auto;
661
+ left: auto;
662
+ }
663
+
664
+ #dslc-content .dslc-products .dslc-product-thumb .dslc-init-bottomleft {
665
+ position: absolute;
666
+ bottom: 0;
667
+ left: 0;
668
+ top: auto;
669
+ right: auto;
670
+ }
671
+
672
+ #dslc-content .dslc-products .dslc-product-thumb .dslc-init-bottomright {
673
+ position: absolute;
674
+ bottom: 0;
675
+ right: 0;
676
+ top: auto;
677
+ left: auto;
678
+ }
679
+
680
  /**
681
  * Post Filters
682
  */
css/frontend/modules.css CHANGED
@@ -3,12 +3,16 @@
3
  text-decoration: none;
4
  }
5
 
 
 
 
 
 
6
  /**
7
  * CPT MODULE
8
  */
9
 
10
  #dslc-content .dslc-cpt-post {
11
-
12
  }
13
 
14
  #dslc-content .dslc-cpt-post-main {
@@ -435,10 +439,10 @@
435
  overflow: hidden;
436
  }
437
 
438
- #dslc-content .dslc-gallery-thumb a {
439
  display: inline-block;
440
  max-width: 100%;
441
- }
442
 
443
  #dslc-content .dslc-gallery-thumb img {
444
  border-radius: 0;
@@ -451,13 +455,12 @@
451
  height: auto;
452
  }
453
 
454
- #dslc-content .dslc-gallery-images-count {
455
- background: transparent;
456
- border: 0px solid transparent;
457
- border-radius: 50%;
458
  position: absolute;
459
- top: 40%;
460
- left: 35%;
 
 
461
  text-align: center;
462
  text-decoration: none;
463
  }
@@ -1199,12 +1202,12 @@
1199
  bottom: 0 solid transparent;
1200
  overflow: hidden;
1201
  }
1202
-
1203
  #dslc-content .dslc-product-thumb a {
1204
  display: inline-block;
1205
  max-width: 100%;
1206
  }
1207
-
1208
  #dslc-content .dslc-product-thumb img {
1209
  border-radius: 0;
1210
  -moz-box-shadow: none;
@@ -1220,14 +1223,17 @@
1220
  #dslc-content .dslc-product-thumb .dslc-product-price {
1221
  background: transparent;
1222
  color: #fff;
1223
- display: block;
1224
  font-weight: 400;
1225
  font-size: 25px;
1226
- /*font-family: '';*/
1227
- left: 35%;
1228
  line-height: 1;
 
1229
  position: absolute;
1230
- top: 40%;
 
 
 
 
1231
  text-decoration: none;
1232
  text-align: center;
1233
  }
@@ -1621,7 +1627,7 @@
1621
  */
1622
 
1623
  #dslc-content .dslc-button {
1624
- overflow: hidden;
1625
  }
1626
 
1627
  #dslc-content .dslc-button a {
@@ -1769,6 +1775,8 @@
1769
  vertical-align: middle;
1770
  box-shadow: none;
1771
  border-radius: none;
 
 
1772
  }
1773
 
1774
  /**
3
  text-decoration: none;
4
  }
5
 
6
+
7
+ #dslc-content .dslc-post {
8
+ overflow: hidden; /* <- Makes sure border radius crops inner content. */
9
+ }
10
+
11
  /**
12
  * CPT MODULE
13
  */
14
 
15
  #dslc-content .dslc-cpt-post {
 
16
  }
17
 
18
  #dslc-content .dslc-cpt-post-main {
439
  overflow: hidden;
440
  }
441
 
442
+ /*#dslc-content .dslc-gallery-thumb a {
443
  display: inline-block;
444
  max-width: 100%;
445
+ }*/
446
 
447
  #dslc-content .dslc-gallery-thumb img {
448
  border-radius: 0;
455
  height: auto;
456
  }
457
 
458
+ #dslc-content .dslc-gallery-thumb .dslc-gallery-images-count {
 
 
 
459
  position: absolute;
460
+ left: 0;
461
+ top: 0;
462
+ width: 100%;
463
+ height: 100%;
464
  text-align: center;
465
  text-decoration: none;
466
  }
1202
  bottom: 0 solid transparent;
1203
  overflow: hidden;
1204
  }
1205
+ /*
1206
  #dslc-content .dslc-product-thumb a {
1207
  display: inline-block;
1208
  max-width: 100%;
1209
  }
1210
+ */
1211
  #dslc-content .dslc-product-thumb img {
1212
  border-radius: 0;
1213
  -moz-box-shadow: none;
1223
  #dslc-content .dslc-product-thumb .dslc-product-price {
1224
  background: transparent;
1225
  color: #fff;
1226
+ /*display: block;*/
1227
  font-weight: 400;
1228
  font-size: 25px;
 
 
1229
  line-height: 1;
1230
+
1231
  position: absolute;
1232
+ left: 0;
1233
+ top: 0;
1234
+ width: 100%;
1235
+ height: 100%;
1236
+
1237
  text-decoration: none;
1238
  text-align: center;
1239
  }
1627
  */
1628
 
1629
  #dslc-content .dslc-button {
1630
+ /*overflow: hidden;*/ /* <- Crops box-shadow. Not sure why we have it here. */
1631
  }
1632
 
1633
  #dslc-content .dslc-button a {
1775
  vertical-align: middle;
1776
  box-shadow: none;
1777
  border-radius: none;
1778
+ position: relative;
1779
+ z-index: -1;
1780
  }
1781
 
1782
  /**
ds-live-composer.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://www.livecomposerplugin.com
5
  * Description: Front-end page builder for WordPress with drag and drop editing. Build PRO responsive websites and landing pages. Visually customize any page element.
6
  * Author: Live Composer Team
7
- * Version: 1.1.3
8
  * Author URI: https://livecomposerplugin.com
9
  * License: GPL2
10
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -42,7 +42,7 @@ if ( ! defined( 'DS_LIVE_COMPOSER_VER' ) ):
42
  * Constants
43
  */
44
 
45
- define( 'DS_LIVE_COMPOSER_VER', '1.1.3' );
46
 
47
  define( 'DS_LIVE_COMPOSER_SHORTNAME', __( 'Live Composer', 'live-composer-page-builder' ) );
48
  define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) );
4
  * Plugin URI: https://www.livecomposerplugin.com
5
  * Description: Front-end page builder for WordPress with drag and drop editing. Build PRO responsive websites and landing pages. Visually customize any page element.
6
  * Author: Live Composer Team
7
+ * Version: 1.1.4
8
  * Author URI: https://livecomposerplugin.com
9
  * License: GPL2
10
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
42
  * Constants
43
  */
44
 
45
+ define( 'DS_LIVE_COMPOSER_VER', '1.1.4' );
46
 
47
  define( 'DS_LIVE_COMPOSER_SHORTNAME', __( 'Live Composer', 'live-composer-page-builder' ) );
48
  define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) );
images/livecomposer-pattern.png ADDED
Binary file
includes/ajax.php CHANGED
@@ -435,6 +435,7 @@ function dslc_ajax_display_module_options( $atts ) {
435
  'elements',
436
  'post_elements',
437
  'carousel_elements',
 
438
  'thumb_resize_width',
439
  'thumb_resize_width_manual',
440
  'button_icon_id',
@@ -481,7 +482,7 @@ function dslc_ajax_display_module_options( $atts ) {
481
  data-tab="<?php echo esc_attr( $tab_id ); ?>">
482
 
483
  <?php if ( isset( $module_option['help'] ) ) : ?>
484
- <div class="dslca-module-edit-field-ttip-content"><?php echo esc_html( $module_option['help'] ); ?></div>
485
  <?php endif; ?>
486
 
487
  <span class="dslca-module-edit-label">
@@ -685,10 +686,20 @@ function dslc_ajax_display_module_options( $atts ) {
685
 
686
  <div class="dslca-module-edit-option-box-shadow-wrapper">
687
 
 
 
 
 
 
 
 
 
 
688
  <div class="dslca-module-edit-option-box-shadow-single">
689
  <span class="dslca-module-edit-option-checkbox-hook"><?php esc_html_e( 'Inner', 'live-composer-page-builder' ); ?><span class="dslca-icon <?php if ( $box_shadow_inset_val == 'inset' ) echo 'dslc-icon-check'; else echo 'dslc-icon-check-empty'; ?>"></span></span>
690
  <input type="checkbox" class="dslca-module-edit-field-checkbox dslca-module-edit-option-box-shadow-inset" <?php if ( $box_shadow_inset_val == 'inset' ) echo 'checked="checked"'; ?> />
691
  </div>
 
692
  <div class="dslca-module-edit-option-box-shadow-single">
693
  <span><?php esc_html_e( 'Hor', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-box-shadow-hor" step="0.1" type="number" value="<?php echo $box_shadow_hor_val; ?>" />
694
  </div>
435
  'elements',
436
  'post_elements',
437
  'carousel_elements',
438
+ 'thumb_resize_height',
439
  'thumb_resize_width',
440
  'thumb_resize_width_manual',
441
  'button_icon_id',
482
  data-tab="<?php echo esc_attr( $tab_id ); ?>">
483
 
484
  <?php if ( isset( $module_option['help'] ) ) : ?>
485
+ <div class="dslca-module-edit-field-ttip-content"><?php echo $module_option['help']; ?></div>
486
  <?php endif; ?>
487
 
488
  <span class="dslca-module-edit-label">
686
 
687
  <div class="dslca-module-edit-option-box-shadow-wrapper">
688
 
689
+ <?php
690
+
691
+ $show_inner_shadow = true;
692
+
693
+ if ( isset( $module_option['wihtout_inner_shadow'] ) && true === $module_option['wihtout_inner_shadow'] ) {
694
+ $show_inner_shadow = false;
695
+ }
696
+
697
+ if ( $show_inner_shadow ) : ?>
698
  <div class="dslca-module-edit-option-box-shadow-single">
699
  <span class="dslca-module-edit-option-checkbox-hook"><?php esc_html_e( 'Inner', 'live-composer-page-builder' ); ?><span class="dslca-icon <?php if ( $box_shadow_inset_val == 'inset' ) echo 'dslc-icon-check'; else echo 'dslc-icon-check-empty'; ?>"></span></span>
700
  <input type="checkbox" class="dslca-module-edit-field-checkbox dslca-module-edit-option-box-shadow-inset" <?php if ( $box_shadow_inset_val == 'inset' ) echo 'checked="checked"'; ?> />
701
  </div>
702
+ <?php endif; ?>
703
  <div class="dslca-module-edit-option-box-shadow-single">
704
  <span><?php esc_html_e( 'Hor', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-box-shadow-hor" step="0.1" type="number" value="<?php echo $box_shadow_hor_val; ?>" />
705
  </div>
includes/archive-templates.php CHANGED
@@ -123,18 +123,27 @@ function dslc_search_template_redirect( $search_template ) {
123
  *
124
  * @since 1.0
125
  */
126
- function dslc_404_template_redirect( $not_found_template ) {
127
 
128
- $template = dslc_get_option( '404_page', 'dslc_plugin_options_archives' );
 
 
 
 
 
 
 
 
129
 
130
- if ( ! $template || 'none' === $template ) {
131
  return $not_found_template;
132
  }
133
 
134
- $not_found_template = DS_LIVE_COMPOSER_ABS . '/templates/dslc-404.php';
135
- return $not_found_template;
 
 
 
136
 
137
- } add_filter( '404_template', 'dslc_404_template_redirect' );
138
 
139
  /**
140
  * Register 'Archives and Search' options panel fields.
123
  *
124
  * @since 1.0
125
  */
126
+ function dslc_404_template_redirect( $template ) {
127
 
128
+ if ( is_404() ) {
129
+
130
+ $template = dslc_get_option( '404_page', 'dslc_plugin_options_archives' );
131
+
132
+ if ( ! $template || 'none' === $template ) {
133
+ return $template;
134
+ }
135
+
136
+ $not_found_template = DS_LIVE_COMPOSER_ABS . '/templates/dslc-404.php';
137
 
 
138
  return $not_found_template;
139
  }
140
 
141
+ return $template;
142
+
143
+ } add_filter( 'template_include', 'dslc_404_template_redirect' );
144
+ // add_filter( '404_template', 'dslc_404_template_redirect' );
145
+
146
 
 
147
 
148
  /**
149
  * Register 'Archives and Search' options panel fields.
includes/display-functions.php CHANGED
@@ -320,6 +320,7 @@ function dslc_display_composer() {
320
  </div>
321
 
322
  <div class="dslca-invisible-overlay"></div>
 
323
  <script id="pseudo-panel" type="template">
324
  <div class="dslca-pseudo-panel">
325
 
320
  </div>
321
 
322
  <div class="dslca-invisible-overlay"></div>
323
+ <div id="scroller-stopper"></div>
324
  <script id="pseudo-panel" type="template">
325
  <div class="dslca-pseudo-panel">
326
 
includes/editing-screen.php CHANGED
@@ -134,6 +134,10 @@ function dslc_editing_screen_head() {
134
 
135
  $screen = get_current_screen();
136
 
 
 
 
 
137
  // Proceed only if current page is Live Composer editing page in WP Admin.
138
  if ( 'toplevel_page_livecomposer_editor' !== $screen->id || ! current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
139
  return;
@@ -235,11 +239,11 @@ add_action( 'wp_head', 'dslc_preview_area_head' );
235
  *
236
  * @since 1.1
237
  */
238
- function dslc_editing_screen_title() {
239
  $screen = get_current_screen();
240
 
241
  if ( 'toplevel_page_livecomposer_editor' !== $screen->id || ! isset( $_GET['page_id'] ) ) {
242
- return;
243
  }
244
 
245
  $title = 'Edit: ' . get_the_title( intval( $_GET['page_id'] ) );
134
 
135
  $screen = get_current_screen();
136
 
137
+ if ( ! $screen ) {
138
+ return;
139
+ }
140
+
141
  // Proceed only if current page is Live Composer editing page in WP Admin.
142
  if ( 'toplevel_page_livecomposer_editor' !== $screen->id || ! current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
143
  return;
239
  *
240
  * @since 1.1
241
  */
242
+ function dslc_editing_screen_title($title) {
243
  $screen = get_current_screen();
244
 
245
  if ( 'toplevel_page_livecomposer_editor' !== $screen->id || ! isset( $_GET['page_id'] ) ) {
246
+ return $title;
247
  }
248
 
249
  $title = 'Edit: ' . get_the_title( intval( $_GET['page_id'] ) );
includes/editorinterface.class.php CHANGED
@@ -23,11 +23,11 @@ class DSLC_EditorInterface{
23
  }
24
 
25
  /**
26
- * Returns editor link
27
  *
28
  * @return string
29
  */
30
- static function get_editor_link( $page_id, $preview_id = '' ) {
31
 
32
  if ( '' !== $preview_id ) {
33
 
@@ -37,6 +37,28 @@ class DSLC_EditorInterface{
37
  return admin_url( 'admin.php?page=livecomposer_editor&page_id=' . $page_id . $preview_id);
38
  }
39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  /**
41
  * Shows button on front
42
  *
@@ -47,7 +69,6 @@ class DSLC_EditorInterface{
47
  $dslc_admin_interface_on = apply_filters( 'dslc_admin_interface_on_frontend', true );
48
 
49
  if ( true !== $dslc_admin_interface_on ) {
50
-
51
  return;
52
  }
53
 
@@ -62,95 +83,105 @@ class DSLC_EditorInterface{
62
  }
63
 
64
  // LC and WP Customizer do not work well together, don't proceed if customizer active.
65
- if ( ( ! function_exists( 'is_customize_preview' ) || ! is_customize_preview() ) ) :
 
 
 
 
 
 
 
66
 
67
- // If editor not active and user can access the editor.
68
- if ( ! DS_LIVE_COMPOSER_ACTIVE && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) :
69
 
70
- // If a singular page ( posts and pages ).
71
- if ( is_singular() ) {
72
 
73
- // If a page or a template go ahead normally.
74
- if ( is_page() || get_post_type() === 'dslc_templates' || ! isset( $dslc_var_templates_pt[ get_post_type() ] ) ) {
75
 
76
- ?><a href="<?php echo self::get_editor_link( get_the_ID() ); ?>" class="dslca-activate-composer-hook dslca-position-<?php echo $activate_button_position; ?>"><?php _e( 'Activate Live Composer', 'live-composer-page-builder' ); ?></a><?php
 
77
 
78
- // If not a page or a template post type.
79
- } else {
80
 
81
- // Check if it has a template attached to it.
82
- $template = dslc_st_get_template_id( get_the_ID() );
83
 
84
- if ( $template ) {
 
85
 
86
- ?><a target="_blank" href="<?php echo self::get_editor_link( $template, get_the_ID() ); ?>" class="dslca-activate-composer-hook"><?php _e( 'Edit Template', 'live-composer-page-builder' ); ?></a><?php
87
 
88
- } else {
 
89
 
90
- ?><a target="_blank" href="<?php echo admin_url( 'post-new.php?post_type=dslc_templates' ); ?>" class="dslca-activate-composer-hook"><?php _e( 'Create Template', 'live-composer-page-builder' ); ?></a><?php
91
 
92
- }
 
93
 
94
- }
 
95
 
96
- // If a 404 page.
97
- } elseif ( is_404() ) {
98
 
99
- // Get ID of the page set to power the 404 page.
100
- $template_id = dslc_get_option( '404_page', 'dslc_plugin_options_archives' );
101
 
102
- // If there is a page that powers it.
103
- if ( $template_id != 'none' ) {
104
 
105
- // Output the button
106
- ?><a href="<?php echo self::get_editor_link( $template_id ); ?>" class="dslca-activate-composer-hook dslca-position-<?php echo $activate_button_position; ?>"><?php _e( 'Activate Live Composer', 'live-composer-page-builder' ); ?></a><?php
107
 
108
- }
109
 
110
- // If a search results page.
111
- } elseif ( is_search() ) {
112
 
113
- // Get ID of the page set to power the search results page.
114
- $template_id = dslc_get_option( 'search_results', 'dslc_plugin_options_archives' );
115
 
116
- // If there is a page that powers it?
117
- if ( $template_id != 'none' ) {
118
 
119
- // Output the button.
120
- ?><a href="<?php echo esc_attr( self::get_editor_link( $template_id, get_the_ID() ) ); ?>" class="dslca-activate-composer-hook dslca-position-<?php echo $activate_button_position; ?>"><?php _e( 'Activate Live Composer', 'live-composer-page-builder' ); ?></a><?php
121
 
122
- }
123
 
124
- // If authors archives page?
125
- } elseif ( is_author() ) {
126
 
127
- // Get ID of the page set to power the author archives
128
- $template_id = dslc_get_option( 'author', 'dslc_plugin_options_archives' );
129
 
130
- // If there is a page that powers it?
131
- if ( 'none' !== $template_id ) {
132
 
133
- // Output the button.
134
- ?><a href="<?php echo esc_attr( self::get_editor_link( $template_id, get_the_ID() ) ); ?>" class="dslca-activate-composer-hook dslca-position-<?php echo $activate_button_position; ?>"><?php _e( 'Activate Live Composer', 'live-composer-page-builder' ); ?></a><?php
135
 
136
- }
137
- // If other archives ( not author )?
138
- } elseif ( is_archive() ) {
139
- // Get ID of the page set to power the archives of the shown post type.
140
- $template_id = dslc_get_option( get_post_type(), 'dslc_plugin_options_archives' );
141
 
142
- // If there is a page that powers it?
143
- if ( 'none' !== $template_id ) {
144
 
145
- // Output the button.
146
- ?><a href="<?php echo esc_attr( self::get_editor_link( $template_id, get_the_ID() ) ); ?>" class="dslca-activate-composer-hook dslca-position-<?php echo esc_attr( $activate_button_position ); ?>"><?php esc_html_e( 'Activate Live Composer', 'live-composer-page-builder' ); ?></a><?php
147
 
148
- }
149
- }
150
 
151
- endif;
 
152
 
153
- endif;
 
154
 
155
  if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) :
156
 
23
  }
24
 
25
  /**
26
+ * Returns editor link URL
27
  *
28
  * @return string
29
  */
30
+ static function get_editor_link_url( $page_id, $preview_id = '' ) {
31
 
32
  if ( '' !== $preview_id ) {
33
 
37
  return admin_url( 'admin.php?page=livecomposer_editor&page_id=' . $page_id . $preview_id);
38
  }
39
 
40
+ /**
41
+ * Print prepared editor link
42
+ *
43
+ * @return void
44
+ */
45
+ static function the_editor_link( $link_url, $link_text ) {
46
+
47
+ // Get the position of the activation button.
48
+ $activate_button_position = dslc_get_option( 'lc_module_activate_button_pos', 'dslc_plugin_options_other' );
49
+
50
+ if ( empty( $activate_button_position ) ) {
51
+
52
+ $activate_button_position = 'right';
53
+ }
54
+
55
+ ?>
56
+ <a href="<?php echo esc_url( $link_url ); ?>" class="dslca-position-<?php echo esc_attr( $activate_button_position ); ?> dslca-activate-composer-hook">
57
+ <?php echo esc_html( $link_text ); ?>
58
+ </a>
59
+ <?php
60
+ }
61
+
62
  /**
63
  * Shows button on front
64
  *
69
  $dslc_admin_interface_on = apply_filters( 'dslc_admin_interface_on_frontend', true );
70
 
71
  if ( true !== $dslc_admin_interface_on ) {
 
72
  return;
73
  }
74
 
83
  }
84
 
85
  // LC and WP Customizer do not work well together, don't proceed if customizer active.
86
+ if ( function_exists( 'is_customize_preview' ) && is_customize_preview() ) {
87
+ return;
88
+ }
89
+
90
+ // If editor not active and user can access the editor.
91
+ if ( DS_LIVE_COMPOSER_ACTIVE || ! is_user_logged_in() || ! current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
92
+ return;
93
+ }
94
 
95
+ // If a singular page ( posts and pages ).
96
+ if ( is_singular() ) {
97
 
98
+ // If a page go ahead normally.
99
+ if ( is_page() ) {
100
 
101
+ // Output the button.
102
+ self::the_editor_link( self::get_editor_link_url( get_the_ID() ), __( 'Activate Live Composer', 'live-composer-page-builder' ) );
103
 
104
+ // If a template post type go ahead normally.
105
+ } elseif ( 'dslc_templates' === get_post_type() ) {
106
 
107
+ // Output the button.
108
+ self::the_editor_link( self::get_editor_link_url( get_the_ID() ), __( 'Edit Template', 'live-composer-page-builder' ) );
109
 
110
+ // If a post of the CPT managed by LC templates.
111
+ } elseif ( isset( $dslc_var_templates_pt[ get_post_type() ] ) ) {
112
 
113
+ // Check if it has a template attached to it.
114
+ $template = dslc_st_get_template_id( get_the_ID() );
115
 
116
+ if ( $template ) {
117
 
118
+ // Output the button.
119
+ self::the_editor_link( self::get_editor_link_url( $template, get_the_ID() ), __( 'Edit Template', 'live-composer-page-builder' ) );
120
 
121
+ } else {
122
 
123
+ // Output the button.
124
+ self::the_editor_link( admin_url( 'post-new.php?post_type=dslc_templates' ) , __( 'Create Template', 'live-composer-page-builder' ) );
125
 
126
+ }
127
+ }
128
 
129
+ // If a 404 page.
130
+ } elseif ( is_404() ) {
131
 
132
+ // Get ID of the page set to power the 404 page.
133
+ $template_id = dslc_get_option( '404_page', 'dslc_plugin_options_archives' );
134
 
135
+ // If there is a page that powers it.
136
+ if ( 'none' !== $template_id ) {
137
 
138
+ // Output the button.
139
+ self::the_editor_link( self::get_editor_link_url( $template_id ), __( 'Activate Live Composer', 'live-composer-page-builder' ) );
140
 
141
+ }
142
 
143
+ // If a search results page.
144
+ } elseif ( is_search() ) {
145
 
146
+ // Get ID of the page set to power the search results page.
147
+ $template_id = dslc_get_option( 'search_results', 'dslc_plugin_options_archives' );
148
 
149
+ // If there is a page that powers it?
150
+ if ( 'none' !== $template_id ) {
151
 
152
+ // Output the button.
153
+ self::the_editor_link( self::get_editor_link_url( $template_id, get_the_ID() ), __( 'Activate Live Composer', 'live-composer-page-builder' ) );
154
 
155
+ }
156
 
157
+ // If authors archives page?
158
+ } elseif ( is_author() ) {
159
 
160
+ // Get ID of the page set to power the author archives.
161
+ $template_id = dslc_get_option( 'author', 'dslc_plugin_options_archives' );
162
 
163
+ // If there is a page that powers it?
164
+ if ( 'none' !== $template_id ) {
165
 
166
+ // Output the button.
167
+ self::the_editor_link( self::get_editor_link_url( $template_id, get_the_ID() ), __( 'Activate Live Composer', 'live-composer-page-builder' ) );
168
 
169
+ }
 
 
 
 
170
 
171
+ // If other archives ( not author )?
172
+ } elseif ( is_archive() && isset( $dslc_var_templates_pt[ get_post_type() ] ) ) {
173
 
174
+ // Get ID of the page set to power the archives of the shown post type.
175
+ $template_id = dslc_get_option( get_post_type() . '_archive', 'dslc_plugin_options_archives' );
176
 
177
+ // If there is a page that powers it?
178
+ if ( 'none' !== $template_id ) {
179
 
180
+ // Output the button.
181
+ self::the_editor_link( self::get_editor_link_url( $template_id, get_the_ID() ), __( 'Activate Live Composer', 'live-composer-page-builder' ) );
182
 
183
+ }
184
+ }
185
 
186
  if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) :
187
 
includes/header-footer.php CHANGED
@@ -588,7 +588,7 @@ function dslc_hf_get_header( $post_ID = false ) {
588
  // If editor active? Add a link to the header editing.
589
  if ( dslc_is_editor_active( 'access' ) ) {
590
 
591
- $header_link = DSLC_EditorInterface::get_editor_link( $header_footer['header'] );
592
 
593
  // Set the HTML for the edit overlay.
594
  $append = '<div class="dslc-hf-block-overlay"><a target="_blank" href="' . $header_link . '" class="dslc-hf-block-overlay-button dslca-link">' . __( 'Edit Header','live-composer-page-builder' ) . '</a>';
@@ -664,7 +664,7 @@ function dslc_hf_get_footer( $post_ID = false ) {
664
  // If editor active? Add a link to the footer editing.
665
  if ( dslc_is_editor_active( 'access' ) ) {
666
 
667
- $footer_link = DSLC_EditorInterface::get_editor_link( $header_footer['footer'] );
668
 
669
  // Set the HTML for the edit overlay.
670
  $append = '<div class="dslc-hf-block-overlay"><a target="_blank" href="' . $footer_link . '" class="dslc-hf-block-overlay-button dslca-link">' . __( 'Edit Footer','live-composer-page-builder' ) . '</a>';
588
  // If editor active? Add a link to the header editing.
589
  if ( dslc_is_editor_active( 'access' ) ) {
590
 
591
+ $header_link = DSLC_EditorInterface::get_editor_link_url( $header_footer['header'] );
592
 
593
  // Set the HTML for the edit overlay.
594
  $append = '<div class="dslc-hf-block-overlay"><a target="_blank" href="' . $header_link . '" class="dslc-hf-block-overlay-button dslca-link">' . __( 'Edit Header','live-composer-page-builder' ) . '</a>';
664
  // If editor active? Add a link to the footer editing.
665
  if ( dslc_is_editor_active( 'access' ) ) {
666
 
667
+ $footer_link = DSLC_EditorInterface::get_editor_link_url( $header_footer['footer'] );
668
 
669
  // Set the HTML for the edit overlay.
670
  $append = '<div class="dslc-hf-block-overlay"><a target="_blank" href="' . $footer_link . '" class="dslc-hf-block-overlay-button dslca-link">' . __( 'Edit Footer','live-composer-page-builder' ) . '</a>';
includes/plugin-options-framework/css/main.css CHANGED
@@ -204,7 +204,7 @@
204
  line-height: 2.1em;
205
  margin: 16px 0;
206
  overflow: auto;
207
- padding: 23px 10px;
208
  position: relative;
209
  }
210
 
@@ -212,7 +212,7 @@
212
  font-size: 21px;
213
  font-weight: normal;
214
  line-height: 1.2;
215
- margin: 0;
216
  }
217
 
218
  .dslc-panel h3 {
@@ -229,12 +229,24 @@
229
  clear: both;
230
  position: relative;
231
  }
 
 
 
 
 
 
 
232
  .dslc-panel .dslc-panel-column {
233
  float: left;
234
  min-width: 200px;
235
  width: 30%;
236
- padding-right: 2%;
 
 
 
 
237
  }
 
238
  .ie8 .dslc-panel .dslc-panel-column {
239
  min-width: 230px;
240
  }
@@ -381,6 +393,177 @@ display: inline-block;
381
  width: 80px;
382
  }
383
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
384
  /*
385
 
386
 
204
  line-height: 2.1em;
205
  margin: 16px 0;
206
  overflow: auto;
207
+ padding: 36px 3% 23px 3%;
208
  position: relative;
209
  }
210
 
212
  font-size: 21px;
213
  font-weight: normal;
214
  line-height: 1.2;
215
+ margin: 0;
216
  }
217
 
218
  .dslc-panel h3 {
229
  clear: both;
230
  position: relative;
231
  }
232
+
233
+ .dslc-panel .dslc-panel-column-container:after {
234
+ display: table;
235
+ content: '';
236
+ clear: both;
237
+ }
238
+
239
  .dslc-panel .dslc-panel-column {
240
  float: left;
241
  min-width: 200px;
242
  width: 30%;
243
+ padding-right: 4.5%;
244
+ }
245
+
246
+ .dslc-panel .dslc-panel-column-container .dslc-panel-column:last-child {
247
+ padding-right: 0;
248
  }
249
+
250
  .ie8 .dslc-panel .dslc-panel-column {
251
  min-width: 230px;
252
  }
393
  width: 80px;
394
  }
395
 
396
+
397
+ /**
398
+ * ----------------------------------------------------------------------
399
+ * Promo Panel: New Products are Coming
400
+ */
401
+
402
+ #new-products-coming {
403
+
404
+ border-color: #46b3e4 #237fbd #237fbd;
405
+ color: #fff;
406
+ margin-bottom: -17px;
407
+ border-radius: 4px 4px 0 0;
408
+ border-top: none;
409
+ padding-bottom: 40px;
410
+ position: relative;
411
+ background: #2E97E0;
412
+
413
+ }
414
+
415
+ #new-products-coming:before {
416
+ position: absolute;
417
+ background: url('../../../images/livecomposer-pattern.png') no-repeat right -139px;
418
+ background-size: 113%;
419
+ opacity: .15;
420
+ content: '';
421
+ left: 0;
422
+ top: 0;
423
+ right: 0;
424
+ bottom: 0;
425
+
426
+ }
427
+
428
+ .dslc-panel-content {
429
+ z-index: 1;
430
+ position: relative;
431
+ }
432
+
433
+ #new-products-coming .label {
434
+ display: inline-block;
435
+ color: rgba(255, 255, 255, 0.62);
436
+ padding: 7px 0px;
437
+ line-height: 1;
438
+ border-radius: 5px;
439
+ text-transform: uppercase;
440
+ letter-spacing: 1px;
441
+ font-size: 11px;
442
+ margin-top: 20px;
443
+ }
444
+
445
+ #new-products-coming .price {
446
+ display: inline-block;
447
+ /*background: rgb(255, 255, 255);*/
448
+ padding: 7px 11px;
449
+ line-height: 1;
450
+ border-radius: 5px;
451
+ text-transform: uppercase;
452
+ letter-spacing: 1px;
453
+ font-size: 11px;
454
+ /*color: #207ab9;*/
455
+ /*margin-top: 20px;*/
456
+ }
457
+
458
+ #new-products-coming .price.original {
459
+ padding-left: 0;
460
+ margin-right: 10px;
461
+ /*text-decoration: line-through;*/
462
+
463
+ /*border-top-right-radius: 0;*/
464
+ /*border-bottom-right-radius: 0;*/
465
+ }
466
+
467
+ #new-products-coming .price.promo {
468
+ background: #9fe02c;
469
+ color: #2f4606;
470
+
471
+ /*border-top-left-radius: 0;*/
472
+ /*border-bottom-left-radius: 0;*/
473
+ }
474
+
475
+ #new-products-coming h2 {
476
+ font-size: 27px;
477
+ color: #fff;
478
+ text-align: left;
479
+ width: 34%;
480
+ margin: 24px 0 0;
481
+ display: inline-block;
482
+ line-height: 1;
483
+ vertical-align: top;
484
+ }
485
+
486
+ #new-products-coming h3 {
487
+ color: #fff;
488
+ margin-top: 0;
489
+ margin-bottom: 7px;
490
+ font-size: 21px;
491
+ line-height: 1.2;
492
+ }
493
+
494
+ #new-products-coming h4 {
495
+ color: #fff;
496
+ margin-top: 0;
497
+ margin-bottom: 20px;
498
+ font-weight: normal;
499
+ font-size: 16px;
500
+ line-height: 1.3;
501
+ opacity: .7;
502
+ }
503
+
504
+ #new-products-coming h3 .dashicons {
505
+ color: rgba(236, 236, 236, 0.57);
506
+ }
507
+
508
+ #new-products-coming p {
509
+ color: rgba(0, 0, 0, 0.65);
510
+ margin: 0 0 20px;
511
+ min-height: 50px;
512
+ }
513
+
514
+ #new-products-coming hr {
515
+ margin-top: 20px;
516
+ border-color: rgba(0, 0, 0, 0.16) transparent rgba(255, 255, 255, 0.2);
517
+ opacity: .3;
518
+
519
+ }
520
+
521
+ #new-products-coming .button-hero {
522
+ background: #9FE02C;
523
+ border-color: #a8ea32;
524
+ box-shadow: 0 2px 0 #2c8ac5;
525
+ font-size: 18px;
526
+ line-height: 20px;
527
+ height: auto;
528
+ color: #2d400b;
529
+ padding: 16px 26px 16px 56px;
530
+ vertical-align: top;
531
+ margin: 10px 0 0px;
532
+ position: relative;
533
+ text-shadow: none;
534
+ display: inline-block;
535
+ max-width: 30%;
536
+ white-space: normal;
537
+ }
538
+
539
+ #new-products-coming .button-hero .dashicons {
540
+ font-size: 150%;
541
+ left: 18px;
542
+ vertical-align: text-top;
543
+ position: absolute;
544
+ top: 50%;
545
+ margin-top: -14px;
546
+ }
547
+
548
+ #new-products-coming .button-hero:active {
549
+ box-shadow: 0 3px 0 #26805d inset;
550
+ }
551
+
552
+ #new-products-coming p.about-description {
553
+ color: rgba(2, 2, 2, 0.6);
554
+ line-height: 1.3;
555
+ width: 28%;
556
+ margin: 20px 6% 0 0;
557
+ display: inline-block;
558
+ vertical-align: top;
559
+ }
560
+
561
+ #new-products-coming .mink-illustration {
562
+ position: absolute;
563
+ bottom: -1px;
564
+ width: 100px;
565
+ }
566
+
567
  /*
568
 
569
 
includes/plugin-options-framework/css/main.min.css CHANGED
@@ -1 +1 @@
1
- .dslc-panel a,.dslc-subsection-title a{text-decoration:none}.dslc-settigns-notice{background:#fff;border-left:4px solid #fff;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);padding:10px 12px;margin-top:16px}.dslc-settigns-notice-heading{margin-left:4px;margin-right:20px}.dslc-settigns-notice.red .dashicons,.dslc-settigns-notice.red .dslc-settigns-notice-heading{color:#d86c48}.dslc-settigns-notice .dashicons{vertical-align:text-bottom}#dslc-main-title{min-height:50px;padding-left:10px;padding-top:26px;width:50%}#dslc-main-title .dslc-ver{font-size:17px;font-weight:300;opacity:.4}.dslc-subsection-title{font-size:21px;font-weight:400;margin-bottom:40px;margin-top:30px}.dslc-tab-heading{margin-bottom:30px!important;margin-top:20px!important}.dslca-plugin-opts-notification{margin-top:20px;border-left:4px solid #5184bd;background:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);padding:15px 10px}.dslca-plugin-opts-list{width:300px;margin-bottom:10px}.dslca-plugin-opts-list-item{display:block;padding:7px 10px;border:1px solid rgba(0,0,0,.2);border-radius:3px;margin-bottom:5px;position:relative;font-weight:700}.dslca-plugin-opts-list-delete-hook{position:absolute;right:7px;top:6px;font-size:.9em;font-weight:400;font-style:italic}.dslca-plugin-opts-list-error{display:none;color:#db7171;margin-top:15px;font-weight:700}.lc-wrap{padding-left:10px;overflow:hidden}.lc-wrap .clear{clear:both;padding-bottom:40px;border-bottom:1px solid #ccc;margin-bottom:15px}.changelog,.lc-social,.lc-subscribe{width:45%;float:left;margin-right:50px}.lc-wrap h3{margin:1.25em 0 .6em;font-size:1.25em;line-height:1.5em}.lc-wrap h4{margin:1.4em 0 .6em;font-size:1em}.lc-wrap p{line-height:1.6em;font-size:14px}.activecampaign_form input[type=text]{border-color:#dcdddd;color:#000;border-width:1px;border-style:solid;border-radius:4px;font-size:14px;font-weight:300;margin:0 22px 10px 0;padding:8px 12px;width:97%;max-width:290px}.activecampaign_form button.button-primary{padding:3px 12px;height:auto}.activecampaign_form .add_thank_you:before{content:"\f147";display:inline-block;font-family:dashicons;font-size:22px;padding-right:3px;vertical-align:top;padding-top:1px;color:#54c13f}.activecampaign_form .add_thank_you{font-size:15px;display:block;position:relative;top:-130px}.activecampaign_form ._error{display:table;max-width:550px;padding:14px 18px;background:rgba(255,0,0,.09);border-radius:3px;margin-top:10px;border:1px solid #FCB6AC}#share-buttons span.dslc_social_text{margin-left:10px;font-size:15px}.dslc-panel{background:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);font-size:13px;line-height:2.1em;margin:16px 0;overflow:auto;padding:23px 10px;position:relative}.dslc-panel h2{font-size:21px;font-weight:400;line-height:1.2;margin:0}.dslc-panel h3{font-size:16px;margin:1.33em 0 0}.dslc-panel h3 .dashicons{color:#82878c;font-size:170%;margin-right:12px}.dslc-panel .dslc-panel-column-container{clear:both;position:relative}.dslc-panel .dslc-panel-column{float:left;min-width:200px;width:30%;padding-right:2%}.ie8 .dslc-panel .dslc-panel-column{min-width:230px}.dslc-panel-column p.hide-if-no-customize{margin-top:10px}.dslc-panel-column p{color:#444;margin-top:7px}.dslc-panel li{font-size:14px}.dslc-panel p{color:#72777c}.dslc-panel .about-description{font-size:16px;margin:0}.dslc-panel-content{margin-left:13px;max-width:1500px}.dslc-panel .dslc-panel-column ul{margin:.8em 1em 1em 0}.dslc-panel .dslc-panel-column li{line-height:16px;list-style-type:none;padding:0 0 8px}.dslc-panel .dslc-panel-icon{background:0 0!important}.dslc-panel .dslc-panel-icon:before,.dslc-panel li .dashicons{-moz-osx-font-smoothing:grayscale;color:#82878c;display:inline-block;font:20px/1 dashicons;padding:0 10px 0 0;position:relative;text-decoration:none!important;vertical-align:top;top:-2px}.dslc-panel .dslc-panel-twitter:before{content:"\f301"}.dslc-panel .dslc-panel-facebook:before{content:"\f304"}.dslc-panel .dslc-panel-facebook-page:before{content:"\f305"}.dslc-panel .dslc-panel-show-work:before{content:"\f529"}#new-lc-coming{background:#4AC496;border-color:#47a380 #35b484 #35b484;color:#fff;margin-top:-17px}#new-lc-coming h2{color:#fff;margin-top:16px;width:50%;margin-left:100px}#new-lc-coming h3{color:#2E3432}#new-lc-coming h3 .dashicons{color:#279168}#new-lc-coming p{color:#1F523F}#new-lc-coming hr{margin-top:30px;border-color:#3fb085 #4ac496 #6dcfaa}#new-lc-coming .button-hero{background:#2fab7c;border-color:#34a077;box-shadow:0 2px 0 #26805d;font-size:18px;height:auto;left:64%;padding:4px 26px;position:absolute;text-shadow:none;top:37px}#new-lc-coming .button-hero .dashicons{display:inline-block;font-size:150%;margin-right:14px;vertical-align:text-top}#new-lc-coming .button-hero:active{box-shadow:0 3px 0 #26805d inset}#new-lc-coming p.about-description{color:#a0e4ca;line-height:1.3;width:50%;margin-left:100px}#new-lc-coming .mink-illustration{position:absolute;top:28px;width:80px}.extension-browser .extensions{clear:both}.extensions-php .wrap h1{float:left;margin-bottom:15px}.network-admin.extensions-php .wrap h1{margin-bottom:0}.extensions-php .wrap h1 .button{margin-left:20px}.extensions-php .wp-filter-search{font-size:16px;font-weight:300;left:20px;line-height:1.5;margin:0;position:relative;top:-2px;width:280px}.extensions-php div.error,.extensions-php div.notice,.extensions-php div.updated{clear:both;margin:0 0 20px}.extension-browser .extension{border:1px solid #ddd;box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-sizing:border-box;cursor:pointer;float:left;margin:0 4% 4% 0;position:relative;width:30.6%}.ie8 .extension-browser .extension{margin:0 3% 4% 0;width:30%}.extension-browser .extension:nth-child(3n){margin-right:0}.extension-browser .extension:focus,.extension-browser .extension:hover{cursor:default}.extension-browser .extension .extension-name{background:rgba(255,255,255,.65);box-shadow:0 1px 0 rgba(0,0,0,.1) inset;font-size:15px;font-weight:600;height:18px;margin:0;overflow:hidden;padding:15px;text-overflow:ellipsis;white-space:nowrap}.extension-browser .extension .extension-name em{font-size:75%;font-style:normal;font-weight:400;margin-right:3px;opacity:.5;text-transform:uppercase;vertical-align:top}.extension-browser .extension .extension-name .price{color:#0073aa;display:inline-block;position:absolute;right:20px}.extension-browser .extension .extension-name .price .dashicons{opacity:.9}.extension-browser .extension .extension-actions{background:rgba(244,244,244,.7);border-left:1px solid rgba(0,0,0,.05);bottom:0;height:38px;opacity:0;padding:9px 10px 0;position:absolute;right:0;transition:opacity .1s ease-in-out 0s}.extension-browser .extension.focus .extension-actions,.extension-browser .extension:focus .extension-actions,.extension-browser .extension:hover .extension-actions{opacity:1}.extension-browser .extension .extension-actions .button-primary{margin-right:3px}.extension-browser .extension .extension-actions .button-secondary{float:none;margin-left:3px}.extension-browser .extension .extension-screenshot{display:block;overflow:hidden;position:relative;transition:opacity .2s ease-in-out 0s}.extension-browser .extension .extension-screenshot::after{content:"";display:block;padding-top:65.6667%}.extension-browser .extension .extension-screenshot img{height:auto;left:0;position:absolute;top:0;transition:opacity .2s ease-in-out 0s;width:100%}.extension-browser .extension:focus .extension-screenshot,.extension-browser .extension:hover .extension-screenshot{background:#fff}.extension-browser.rendered .extension:focus .extension-screenshot img,.extension-browser.rendered .extension:hover .extension-screenshot img{opacity:.4}.extension-browser .extension .more-details{background:rgba(0,0,0,.7);border-radius:3px;color:#fff;font-size:15px;font-weight:600;left:25%;opacity:0;padding:15px 12px;position:absolute;right:25%;text-align:center;text-decoration:none;text-shadow:0 1px 0 rgba(0,0,0,.6);top:35%;transition:opacity .1s ease-in-out 0s}.extension-browser .extension:focus .more-details,.extension-browser.rendered .extension:focus .more-details,.extension-browser.rendered .extension:hover .more-details{opacity:1}.extension-browser .extension:focus{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8)}.extension-browser .extension.active:focus .extension-actions{display:block}.extension-browser .extension .extension-installed,.extension-browser .extension .extension-update{background:rgba(213,78,33,.95);border-bottom:1px solid rgba(0,0,0,.25);color:#fff;display:block;font-size:13px;font-weight:400;height:48px;left:0;line-height:48px;overflow:hidden;padding:0 10px;position:absolute;right:0;top:0}.extension-browser .extension .extension-installed::before,.extension-browser .extension .extension-update::before{content:"";display:inline-block;font:20px/1 dashicons;margin:0 6px 0 0;opacity:.8;position:relative;top:5px}.extension-browser .extension.active .extension-name{background:#23282d;box-shadow:0 1px 1px rgba(0,0,0,.5) inset;color:#fff;font-weight:300;padding-right:110px}.extension-browser .customize-control .extension.active .extension-name{padding-right:15px}.extension-browser .extension.active .extension-name span{font-weight:600}.extension-browser .extension.active .extension-actions{background:rgba(49,49,49,.7);border-left:medium none;opacity:1}.extension-browser .extension.active .extension-actions .button-primary{margin-right:0}.extension-browser .extension .extension-author{background:#23282d;bottom:56px;color:#eee;display:none;font-size:14px;margin:0 10px;padding:5px 10px;position:absolute}.extension-browser .extension.display-author .extension-author{display:block}.extension-browser .extension.display-author .extension-author a{color:inherit;text-decoration:none}.extension-browser .extension.add-new-extension{border:none;box-shadow:none}.extension-browser .extension.add-new-extension a{display:block;position:relative;text-decoration:none;z-index:1}.extension-browser .extension.add-new-extension a::after{background:rgba(0,0,0,0);border:5px dashed rgba(0,0,0,.1);bottom:0;box-sizing:border-box;content:"";display:block;left:0;padding:0;position:absolute;right:0;text-shadow:none;top:0}.extension-browser .extension.add-new-extension span::after{background:rgba(153,153,153,.1);border-radius:50%;color:#999;content:"\f106";display:inline-block;font:74px/115px dashicons;height:100px;left:50%;margin-left:-50px;padding:0;position:absolute;text-align:center;text-indent:-4px;text-shadow:none;top:30%;vertical-align:middle;width:100px;z-index:4}.extension-browser .extension.add-new-extension.add-new-theme span::after{content:"\f100"}.rtl .extension-browser .extension.add-new-extension span::after{text-indent:4px}.extension-browser .extension.add-new-extension a:focus .extension-screenshot,.extension-browser .extension.add-new-extension a:hover .extension-screenshot{background:rgba(0,0,0,0)}.extension-browser .extension.add-new-extension a:focus span::after,.extension-browser .extension.add-new-extension a:hover span::after{background:#fff;color:#0073aa}.extension-browser .extension.add-new-extension a:focus::after,.extension-browser .extension.add-new-extension a:hover::after{background:#0073aa;border-color:transparent;color:#fff;content:""}.extension-browser .extension.add-new-extension .extension-name{background:rgba(0,0,0,0);box-shadow:none;font-weight:400;margin-top:-18px;padding-bottom:48px;padding-top:0;position:relative;text-align:center;top:0}.extension-browser .extension.add-new-extension a:focus .extension-name,.extension-browser .extension.add-new-extension a:hover .extension-name{color:#fff;z-index:2}.extension-overlay .extension-backdrop{background:rgba(238,238,238,.9);bottom:0;left:-20px;position:absolute;right:0;top:0;z-index:10000}.extension-overlay .extension-header .close,.extension-overlay .extension-header .left,.extension-overlay .extension-header .right{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-right-colors:none;-moz-border-top-colors:none;background-color:transparent;cursor:pointer;height:48px;text-align:center;transition:color .1s ease-in-out 0s,background .1s ease-in-out 0s;border-image:none}.extension-overlay .extension-header{border-bottom:1px solid #ddd;height:48px;left:0;position:absolute;right:0;top:0}.extension-overlay .extension-header button{padding:0}.extension-overlay .extension-header .close{border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color #ddd;border-style:none none none solid;border-width:0 0 0 1px;float:right;width:50px}.extension-overlay .extension-header .close::before{color:#72777c;content:"";display:inline-block;font:22px/50px dashicons!important}.extension-overlay .extension-header .left,.extension-overlay .extension-header .right{border-color:-moz-use-text-color #ddd -moz-use-text-color -moz-use-text-color;border-style:none solid none none;border-width:0 1px 0 0;color:#72777c;float:left;width:54px}.extension-overlay .extension-header .close:focus,.extension-overlay .extension-header .close:hover,.extension-overlay .extension-header .left:focus,.extension-overlay .extension-header .left:hover,.extension-overlay .extension-header .right:focus,.extension-overlay .extension-header .right:hover{background:#ddd;border-color:#ccc;color:#000}.extension-overlay .extension-header .close:focus::before,.extension-overlay .extension-header .close:hover::before{color:#000}.extension-overlay .extension-header .close:focus,.extension-overlay .extension-header .left:focus,.extension-overlay .extension-header .right:focus{box-shadow:none;outline:0}.extension-overlay .extension-header .left.disabled,.extension-overlay .extension-header .left.disabled:hover,.extension-overlay .extension-header .right.disabled,.extension-overlay .extension-header .right.disabled:hover{background:inherit;color:#ccc;cursor:inherit}.extension-overlay .extension-header .left::before,.extension-overlay .extension-header .right::before{display:inline;font:20px/50px dashicons!important}.customize-support .extension-overlay .extension-actions a[href="extensions.php?page=custom-header"],.customize-support .extension-overlay .extension-actions a[href="extensions.php?page=custom-background"],.extension-overlay .extension-actions .active-extension,.extension-overlay.active .extension-actions .inactive-extension{display:none}.extension-overlay .extension-header .left::before{content:""}.extension-overlay .extension-header .right::before{content:""}.extension-overlay .extension-wrap{background:#fff;bottom:3%;box-shadow:0 1px 20px 5px rgba(0,0,0,.1);box-sizing:border-box;clear:both;left:190px;position:fixed;right:30px;top:9%;z-index:10000}body.folded .extension-overlay .extension-wrap{left:70px}.extension-overlay .extension-about{bottom:57px;left:0;overflow:auto;padding:2% 4%;position:absolute;right:0;top:49px}.extension-overlay .extension-actions{background:#f3f3f3;border-top:1px solid #eee;bottom:0;box-sizing:border-box;left:0;padding:10px 25px 5px;position:absolute;right:0;text-align:center;z-index:30}.ie8 .extension-overlay .extension-actions{border:1px solid #eee}.extension-overlay .extension-actions a{margin-bottom:5px;margin-right:5px}.broken-extensions a.delete-extension,.extension-overlay .extension-actions .delete-extension{background:0 0;border-color:transparent;box-shadow:none;color:#a00;text-decoration:none}.extension-overlay .extension-actions .delete-extension{bottom:5px;position:absolute;right:10px}.broken-extensions a.delete-extension:focus,.broken-extensions a.delete-extension:hover,.extension-overlay .extension-actions .delete-extension:focus,.extension-overlay .extension-actions .delete-extension:hover{background:#d54e21;border-color:#d54e21;color:#fff}.extension-overlay .extension-actions .inactive-extension,.extension-overlay.active .extension-actions .active-extension{display:block}.extension-overlay .extension-screenshots{float:left;margin:0 30px 0 0;max-width:880px;text-align:center;width:55%}.extension-overlay .screenshot{border:1px solid #fff;box-shadow:0 0 0 1px rgba(0,0,0,.2);box-sizing:border-box;overflow:hidden;position:relative}.extension-overlay .screenshot::after{content:"";display:block;padding-top:75%}.extension-overlay .screenshot img{height:auto;left:0;position:absolute;top:0;width:100%}.extension-overlay.small-screenshot .extension-screenshots{position:absolute;width:302px}.extension-overlay.small-screenshot .extension-info{margin-left:350px;width:auto}.extension-overlay .screenshot.thumb{background:#ccc;border:1px solid #eee;cursor:pointer;display:inline-block;float:none;height:80px;margin:10px 5px 0;width:140px}.extension-overlay .screenshot.thumb::after{content:"";display:block;padding-top:100%}.extension-overlay .screenshot.thumb img{cursor:pointer;height:auto;left:0;position:absolute;top:0;width:100%}.extension-overlay .screenshot.selected{background:0 0;border:2px solid #00a0d2}.extension-overlay .screenshot.selected img{opacity:.8}.extension-browser .extension .extension-screenshot.blank,.extension-overlay .screenshot.blank{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=)}.extension-overlay .extension-info{float:left;width:40%}.extension-overlay .current-label{-moz-user-select:none;background:#32373c;border-radius:2px;color:#fff;display:inline-block;font-size:11px;margin:0 0 -10px;padding:2px 8px}.extension-overlay .extension-name{color:#23282d;font-size:32px;font-weight:100;line-height:1.3;margin:10px 0 0}.extension-overlay .extension-version{color:#72777c;display:inline-block;float:none;font-size:13px;font-weight:400;margin-left:10px}.extension-overlay .extension-author{color:#72777c;font-size:16px;font-weight:400;line-height:inherit;margin:15px 0 25px}.extension-overlay .extension-author a{text-decoration:none}.extension-overlay .extension-description{color:#555;font-size:15px;font-weight:400;line-height:1.5;margin:30px 0 0}.extension-overlay .extension-tags{border-top:3px solid #eee;color:#82878c;font-size:13px;font-weight:400;margin:30px 0 0;padding-top:20px}.extension-overlay .extension-tags span{color:#444;font-weight:700;margin-right:5px}.extension-overlay .parent-extension{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-right-colors:none;-moz-border-top-colors:none;background:#f7fcfe;border-color:#eee #eee #eee #00a0d2;border-image:none;border-style:solid;border-width:1px 1px 1px 4px;font-size:14px;font-weight:400;margin-top:30px;padding:10px 10px 10px 20px}.extension-overlay .parent-extension strong{font-weight:700}.single-extension .extension,.single-extension .extension-overlay .extension-backdrop,.single-extension .extension-overlay .extension-header{display:none}.single-extension .extension-overlay .extension-wrap{bottom:auto;clear:both;left:auto;min-height:330px;position:relative;right:auto;top:auto;z-index:10}.single-extension .extension-overlay .extension-about{padding:30px 30px 70px;position:static}.single-extension .extension-overlay .extension-actions{position:absolute}@media only screen and (min-width:2000px){#wpwrap .extension-browser .extension{margin:0 3% 3% 0;width:17.6%}#wpwrap .extension-browser .extension:nth-child(3n),#wpwrap .extension-browser .extension:nth-child(4n){margin-right:3%}#wpwrap .extension-browser .extension:nth-child(5n){margin-right:0}}@media only screen and (min-width:1680px){.extension-overlay .extension-wrap{margin:0 auto;width:1450px}}@media only screen and (min-width:1640px){.extension-browser .extension{margin:0 3% 3% 0;width:22.7%}.extension-browser .extension .extension-screenshot::after{padding-top:75%}.extension-browser .extension:nth-child(3n){margin-right:3%}.extension-browser .extension:nth-child(4n){margin-right:0}}@media only screen and (max-width:1120px){.extension-browser .extension{margin-right:0;width:47.5%}.extension-browser .extension:nth-child(2n){margin-right:0}.extension-browser .extension:nth-child(2n+1){margin-right:5%}}@media only screen and (max-width:900px){.extension-overlay .extension-wrap{left:65px}}@media only screen and (max-width:780px){.extension-browser .extension.active .extension-name span,.extension:focus .more-details,.extension:focus:not(.active) .extension-actions,.extension:hover .more-details,.extension:hover:not(.active) .extension-actions{display:none}.extension-overlay .extension-wrap,body.folded .extension-overlay .extension-wrap{border:none;bottom:0;left:0;padding:70px 20px 20px;position:fixed;right:0;top:0;z-index:100000}.extension-overlay .extension-screenshots{width:40%}.extension-overlay .extension-info{width:50%}.single-extension .extension-wrap{padding:10px}.extension-browser .extension .extension-actions{padding:5px 10px 4px}.extension-overlay.small-screenshot .extension-screenshots{float:none;max-width:302px;position:static}.extension-overlay.small-screenshot .extension-info{margin-left:0;width:auto}.extension-browser.rendered .extension:focus .extension-screenshot img,.extension-browser.rendered .extension:hover .extension-screenshot img{opacity:1}}@media only screen and (max-width:480px){.extension-browser .extension{margin-right:0;width:100%}.extension-browser .extension:nth-child(2n),.extension-browser .extension:nth-child(3n){margin-right:0}}@media only screen and (max-width:650px){.extension-overlay .extension-description,.extension-overlay .extension-update{margin-left:0}.extension-overlay .extension-actions .delete-extension{bottom:auto;position:relative;right:auto}.extension-overlay .extension-actions .inactive-extension{display:inline}.extension-overlay .extension-screenshots{float:none;width:100%}.extension-overlay .extension-info{width:100%}.extension-overlay .extension-author{margin:5px 0 15px}.extension-overlay .current-label{font-size:13px;margin-top:10px}.extensions-php .wp-filter-search{clear:both;float:none;left:0;margin:10px 0;max-width:280px;right:0;top:0;width:100%}.extension-browser .extension.add-new-extension span::after{font:60px/90px dashicons;height:80px;left:50%;margin-left:-40px;text-indent:0;top:30%;width:80px}.single-extension .extension-wrap{margin:0 -12px 0 -10px;padding:10px}.single-extension .extension-overlay .extension-about{overflow:visible;padding:10px}.single-extension .current-label{display:none}.single-extension .extension-overlay .extension-actions{position:static}}.broken-extensions{clear:both}.broken-extensions table{border-spacing:3px;padding:3px;text-align:left;width:50%}.extension-browser .extension .extension-installed{background:#0073aa}.extension-browser .extension .extension-installed::before{content:""}.extension-browser .extension.is-installed .extension-actions .button-primary{display:none!important}.extension-install-php .wp-filter{padding:0 20px}.extension-install-php a.browse-extensions,.extension-install-php a.upload{cursor:pointer}.extension-install-php a.browse-extensions,.extension-install-php.show-upload-extension a.upload{display:none}.extension-install-php.show-upload-extension a.browse-extensions{display:inline}.upload-extension,.upload-plugin{box-sizing:border-box;display:none;margin:0;overflow:hidden;padding:0;position:relative;top:10px;width:100%}.wp-full-overlay,.wp-full-overlay-sidebar{position:fixed;height:100%;bottom:0;left:0}.upload-plugin,body.show-upload-extension .upload-extension{display:block}.upload-extension .wp-upload-form,.upload-plugin .wp-upload-form{background:#fafafa;border:1px solid #e5e5e5;margin:30px auto;max-width:380px;padding:30px}.upload-extension .install-help,.upload-plugin .install-help{color:#555d66;font-size:18px;font-style:normal;margin:0;padding:40px 0 0;text-align:center}body.show-upload-extension .upload-extension+.wp-filter,body.show-upload-extension .upload-extension+.wp-filter+.extension-browser{display:none}p.no-extensions{clear:both;color:#666;display:none;font-size:18px;font-style:normal;margin:0;padding:100px 0;text-align:center}body.no-results p.no-extensions{display:block}.extension-install-php .add-new-extension,body.show-upload-extension p.no-extensions{display:none!important}@media only screen and (max-width:1120px){.upload-extension .wp-upload-form{margin:20px 0;max-width:100%}.upload-extension .install-help{font-size:15px;padding:20px 0 0;text-align:left}}.extension-details .extension-rating{line-height:23px}.extension-details .star-rating{display:inline}.extension-details .no-rating,.extension-details .num-ratings{color:#72777c;font-size:11px}.extension-details .no-rating{display:block;line-height:20px}.appearance_page_custom-header #headimg{border:1px solid #ddd;overflow:hidden;width:100%}.appearance_page_custom-header #upload-form p label{font-size:12px}.appearance_page_custom-header .available-headers .default-header{float:left;margin:0 20px 20px 0}.appearance_page_custom-header .random-header{clear:both;margin:0 20px 20px 0;vertical-align:middle}.appearance_page_custom-header .available-headers label input,.appearance_page_custom-header .random-header label input{margin-right:10px}.appearance_page_custom-header .available-headers label img{vertical-align:middle}div#custom-background-image{border:1px solid #ddd;min-height:100px}div#custom-background-image img{max-height:300px;max-width:400px}body.full-overlay-active{overflow:hidden}.wp-full-overlay{min-width:0;overflow:visible;right:0;top:0;z-index:500000}.wp-full-overlay-sidebar{background:#eee;border-right:medium none;box-sizing:border-box;margin:0;padding:0;top:0;width:300px;z-index:10}.wp-full-overlay.collapsed,.wp-full-overlay.expanded .wp-full-overlay-sidebar{margin-left:0!important}.wp-full-overlay.expanded{margin-left:300px}.wp-full-overlay.collapsed .wp-full-overlay-sidebar{overflow:visible;margin-left:-300px}.wp-full-overlay-sidebar::after{bottom:0;content:"";display:block;position:absolute;right:0;top:0;width:3px;z-index:1000}.wp-full-overlay-main{bottom:0;height:100%;left:0;position:absolute;right:0;top:0}.wp-full-overlay-sidebar .wp-full-overlay-header{border-top:medium none;box-shadow:none;height:45px;left:0;line-height:45px;margin:0;padding:0 15px;position:absolute;right:0;z-index:10}.wp-full-overlay-sidebar .wp-full-overlay-header a.back{margin-top:9px}.wp-full-overlay-sidebar .wp-full-overlay-footer{border-bottom:medium none;border-top:medium none;bottom:0;box-shadow:none}.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content{bottom:45px;left:0;overflow:auto;position:absolute;right:0;top:45px}.extension-install-overlay .wp-full-overlay-sidebar .wp-full-overlay-header{padding:0}.extension-install-overlay .close-full-overlay,.extension-install-overlay .next-extension,.extension-install-overlay .previous-extension{background:#eee;border-right:1px solid #ddd;color:#444;cursor:pointer;display:block;float:left;height:45px;padding-right:2px;position:relative;text-decoration:none;transition:color .1s ease-in-out 0s,background .1s ease-in-out 0s;width:45px}.extension-install-overlay .close-full-overlay:focus,.extension-install-overlay .close-full-overlay:hover,.extension-install-overlay .next-extension:focus,.extension-install-overlay .next-extension:hover,.extension-install-overlay .previous-extension:focus,.extension-install-overlay .previous-extension:hover{background:#ddd;border-color:#ccc;box-shadow:none;color:#000;outline:0}.extension-install-overlay .close-full-overlay::before{content:"";font:22px/1 dashicons;left:13px;position:relative;top:7px}.extension-install-overlay .previous-extension::before{content:"";font:20px/1 dashicons;left:14px;position:relative;top:6px}.extension-install-overlay .next-extension::before{content:"";font:20px/1 dashicons;left:13px;position:relative;top:6px}.extension-install-overlay .next-extension.disabled,.extension-install-overlay .next-extension.disabled:focus,.extension-install-overlay .next-extension.disabled:hover,.extension-install-overlay .previous-extension.disabled,.extension-install-overlay .previous-extension.disabled:focus,.extension-install-overlay .previous-extension.disabled:hover{background:#eee;color:#b4b9be;cursor:default;pointer-events:none}.wp-core-ui .wp-full-overlay .collapse-sidebar{background-color:transparent!important;border:none!important;border-radius:0!important;bottom:8px;box-shadow:none!important;color:#656a6f;left:10px;line-height:1;outline:0;padding:0;position:fixed}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#0073aa}.wp-full-overlay .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar-label{display:inline-block;line-height:20px;vertical-align:middle}.wp-full-overlay .collapse-sidebar-arrow{border-radius:50%;height:20px;margin:0 2px;overflow:hidden;width:20px}.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-full-overlay .collapse-sidebar-label{margin-left:3px}.wp-full-overlay.collapsed .collapse-sidebar-label{display:none}.wp-full-overlay .collapse-sidebar-arrow::before{-moz-osx-font-smoothing:grayscale;background:#eee;content:"";display:block;font:20px/1 dashicons;padding:0}.rtl .wp-full-overlay .collapse-sidebar-arrow::before,.wp-full-overlay.collapsed .collapse-sidebar-arrow::before{transform:rotate(180.001deg)}.rtl .wp-full-overlay.collapsed .collapse-sidebar-arrow::before{transform:none}.wp-full-overlay,.wp-full-overlay .collapse-sidebar,.wp-full-overlay-main,.wp-full-overlay-sidebar{transition-duration:.2s;transition-property:left,right,top,bottom,width,margin}.wp-full-overlay{background:#191e23}.wp-full-overlay-main{background-color:#f1f1f1}.expanded .wp-full-overlay-footer{border-top:1px solid #ddd;bottom:0;height:45px;left:0;position:fixed;width:300px}.wp-full-overlay-footer .devices{float:right}.wp-full-overlay-footer .devices button{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-right-colors:none;-moz-border-top-colors:none;background:0 0;border-color:transparent -moz-use-text-color;border-image:none;border-style:solid none;border-width:1px medium 4px;box-shadow:none;cursor:pointer;height:45px;margin:0 0 0 -4px;padding:0 3px;transition:background .1s ease-in-out 0s}.wp-full-overlay-footer .devices button::before{color:#656a6f;display:inline-block;font:20px/30px dashicons;margin:3px 0;padding:4px 8px;vertical-align:top}.collapsed .wp-full-overlay-footer .devices button::before,.customize-support .hide-if-customize,.customize-support .wp-core-ui .hide-if-customize,.customize-support.wp-core-ui .hide-if-customize,.no-customize-support .hide-if-no-customize,.no-customize-support .wp-core-ui .hide-if-no-customize,.no-customize-support.wp-core-ui .hide-if-no-customize{display:none}.wp-full-overlay-footer .devices button.active{border-bottom-color:#191e23}.wp-full-overlay-footer .devices button:focus,.wp-full-overlay-footer .devices button:hover{background-color:#fff}.wp-full-overlay-footer .devices button:focus{box-shadow:none;outline:0;border-bottom-color:#0073aa}.wp-full-overlay-footer .devices button.active::before,.wp-full-overlay-footer .devices button:focus::before,.wp-full-overlay-footer .devices button:hover::before{color:#191e23}.wp-full-overlay-footer .devices .preview-desktop::before{content:""}.wp-full-overlay-footer .devices .preview-tablet::before{content:""}.wp-full-overlay-footer .devices .preview-mobile::before{content:""}@media screen and (max-width:1024px){.wp-full-overlay-footer .devices{display:none}}.preview-mobile .wp-full-overlay-main{height:480px;left:50%;margin:auto 0 auto -160px;max-height:100%;max-width:100%;width:320px}.preview-tablet .wp-full-overlay-main{height:1080px;left:50%;margin:auto 0 auto -360px;max-height:100%;max-width:100%;width:720px}#customize-container{background:#fff;bottom:0;display:none;height:100%;left:0;overflow:visible;position:fixed;right:0;top:0;z-index:500000}.customize-active #customize-container{display:block}.customize-loading #customize-container iframe{opacity:0}#customize-container iframe,.extension-install-overlay iframe{height:100%;transition:opacity .3s ease 0s;width:100%;z-index:20}#customize-controls{margin-top:0}.extension-install-overlay{display:none}.extension-install-overlay.single-extension{display:block}.install-extension-info{display:none;padding:10px 20px 60px}.single-extension .install-extension-info{padding-top:15px}.extension-install-overlay .install-extension-info{display:block}.install-extension-info .extension-install{float:right;margin-top:18px}.install-extension-info .extension-name{font-size:16px;line-height:24px;margin-bottom:0;margin-top:0}.install-extension-info .extension-screenshot{border:1px solid #ccc;margin:15px 0;width:258px}.install-extension-info .extension-details{overflow:hidden}.extension-details .extension-version{margin:15px 0}.extension-details .extension-description{color:#72777c;float:left;line-height:20px;max-width:100%}.extension-install-overlay .wp-full-overlay-header .extension-install{float:right;line-height:26px;margin:8px 10px 0 0}.extension-install-overlay .wp-full-overlay-sidebar{background:#eee;border-right:1px solid #ddd}.extension-install-overlay .wp-full-overlay-sidebar-content{background:#fff;border-bottom:1px solid #ddd;border-top:1px solid #ddd}.extension-install-overlay .wp-full-overlay-main{background-color:#f1f1f1;position:absolute;z-index:0}.customize-loading #customize-container{background-color:#f1f1f1}#customize-preview.wp-full-overlay-main::before,.customize-loading #customize-container::before,.extension-install-overlay .wp-full-overlay-main::before{background:url(../images/spinner.gif) center center/20px 20px no-repeat;content:"";display:block;height:20px;left:50%;margin:-10px 0 0 -10px;position:absolute;top:50%;transform:translateZ(0);width:20px;z-index:-1}#customize-preview.wp-full-overlay-main.iframe-ready::before,.extension-install-overlay.iframe-ready .wp-full-overlay-main::before{background-image:none}@media print,not all,(min-resolution:120dpi){.wp-full-overlay .collapse-sidebar-arrow{background-image:url(../images/arrows-2x.png);background-size:15px 123px}#customize-preview.wp-full-overlay-main::before,.customize-loading #customize-container::before,.extension-install-overlay .wp-full-overlay-main::before{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){.available-extension .action-links .delete-extension{clear:both;float:none;margin:0;padding:0}.available-extension .action-links .delete-extension a{padding:0}.broken-extensions table{width:100%}.extension-install-overlay .wp-full-overlay-header .extension-install{line-height:normal;margin-top:6px}}.docs-search-form button .dashicons{opacity:.75;vertical-align:text-bottom}.docs-search-form .search-query{border-radius:3px;height:46px;padding:10px 17px}#dslc-docssearch{padding:30px 0 20px}#dslc-docssearch .search-query{min-width:64%}#dslc-headersearch{position:absolute;right:40px;top:30px}#dslc-headersearch .hssearch{padding:0 16px!important}.dslc-settigns-tabs .nav-tab .tag{background:#d54e21;border-radius:4px;color:#fff;display:inline-block;font-size:10px;letter-spacing:.5px;line-height:1;margin-left:5px;padding:4px 6px;text-transform:uppercase;opacity:.8}.dslc-scroll-back{margin-left:-90px;margin-top:44px;position:absolute;text-decoration:none;text-transform:uppercase}.dslc-scroll-back .dashicons{font-size:17px}#dslc-settings-column{clear:both;display:inline;float:left;margin-left:-300px;padding-top:0;width:281px}.dslc-settings-form .dslc-panel{padding:40px;margin-top:10px;max-width:640px}.dslc-settings-form .dslc-panel h2{margin-bottom:30px}.dslc-submenu-section{border-bottom:1px solid #ddd;margin:0}.dslc-submenu-section:hover{background:#f5f5f5;color:#23282d}.dslc-submenu-section a{-moz-user-select:none;border-left:1px solid #ddd;border-right:1px solid #ddd;margin:0;padding:12px 15px 15px;position:relative;font-size:14px;line-height:21px;font-weight:700;color:#23282D!important;text-decoration:none;display:block}.dslc-submenu-section .dashicons{margin-bottom:-1px;margin-right:6px;margin-top:1px;opacity:.4}#dslc-setings-liquid{float:left;margin-top:3px;min-width:100%}#dslc-settings-frame{margin-left:300px;margin-top:23px}
1
+ .dslc-panel a,.dslc-subsection-title a{text-decoration:none}.dslc-settigns-notice{background:#fff;border-left:4px solid #fff;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);padding:10px 12px;margin-top:16px}.dslc-settigns-notice-heading{margin-left:4px;margin-right:20px}.dslc-settigns-notice.red .dashicons,.dslc-settigns-notice.red .dslc-settigns-notice-heading{color:#d86c48}.dslc-settigns-notice .dashicons{vertical-align:text-bottom}#dslc-main-title{min-height:50px;padding-left:10px;padding-top:26px;width:50%}#dslc-main-title .dslc-ver{font-size:17px;font-weight:300;opacity:.4}.dslc-subsection-title{font-size:21px;font-weight:400;margin-bottom:40px;margin-top:30px}.dslc-tab-heading{margin-bottom:30px!important;margin-top:20px!important}.dslca-plugin-opts-notification{margin-top:20px;border-left:4px solid #5184bd;background:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);padding:15px 10px}.dslca-plugin-opts-list{width:300px;margin-bottom:10px}.dslca-plugin-opts-list-item{display:block;padding:7px 10px;border:1px solid rgba(0,0,0,.2);border-radius:3px;margin-bottom:5px;position:relative;font-weight:700}.dslca-plugin-opts-list-delete-hook{position:absolute;right:7px;top:6px;font-size:.9em;font-weight:400;font-style:italic}.dslca-plugin-opts-list-error{display:none;color:#db7171;margin-top:15px;font-weight:700}.lc-wrap{padding-left:10px;overflow:hidden}.lc-wrap .clear{clear:both;padding-bottom:40px;border-bottom:1px solid #ccc;margin-bottom:15px}.changelog,.lc-social,.lc-subscribe{width:45%;float:left;margin-right:50px}.lc-wrap h3{margin:1.25em 0 .6em;font-size:1.25em;line-height:1.5em}.lc-wrap h4{margin:1.4em 0 .6em;font-size:1em}.lc-wrap p{line-height:1.6em;font-size:14px}.activecampaign_form input[type=text]{border-color:#dcdddd;color:#000;border-width:1px;border-style:solid;border-radius:4px;font-size:14px;font-weight:300;margin:0 22px 10px 0;padding:8px 12px;width:97%;max-width:290px}.activecampaign_form button.button-primary{padding:3px 12px;height:auto}.activecampaign_form .add_thank_you:before{content:"\f147";display:inline-block;font-family:dashicons;font-size:22px;padding-right:3px;vertical-align:top;padding-top:1px;color:#54c13f}.activecampaign_form .add_thank_you{font-size:15px;display:block;position:relative;top:-130px}.activecampaign_form ._error{display:table;max-width:550px;padding:14px 18px;background:rgba(255,0,0,.09);border-radius:3px;margin-top:10px;border:1px solid #FCB6AC}#share-buttons span.dslc_social_text{margin-left:10px;font-size:15px}.dslc-panel{background:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);font-size:13px;line-height:2.1em;margin:16px 0;overflow:auto;padding:36px 3% 23px;position:relative}.dslc-panel h2{font-size:21px;font-weight:400;line-height:1.2;margin:0}.dslc-panel h3{font-size:16px;margin:1.33em 0 0}.dslc-panel h3 .dashicons{color:#82878c;font-size:170%;margin-right:12px}.dslc-panel .dslc-panel-column-container{clear:both;position:relative}.dslc-panel .dslc-panel-column-container:after{display:table;content:'';clear:both}.dslc-panel .dslc-panel-column{float:left;min-width:200px;width:30%;padding-right:4.5%}.dslc-panel .dslc-panel-column-container .dslc-panel-column:last-child{padding-right:0}.ie8 .dslc-panel .dslc-panel-column{min-width:230px}.dslc-panel-column p.hide-if-no-customize{margin-top:10px}.dslc-panel-column p{color:#444;margin-top:7px}.dslc-panel li{font-size:14px}.dslc-panel p{color:#72777c}.dslc-panel .about-description{font-size:16px;margin:0}.dslc-panel-content{margin-left:13px;max-width:1500px}.dslc-panel .dslc-panel-column ul{margin:.8em 1em 1em 0}.dslc-panel .dslc-panel-column li{line-height:16px;list-style-type:none;padding:0 0 8px}.dslc-panel .dslc-panel-icon{background:0 0!important}.dslc-panel .dslc-panel-icon:before,.dslc-panel li .dashicons{-moz-osx-font-smoothing:grayscale;color:#82878c;display:inline-block;font:20px/1 dashicons;padding:0 10px 0 0;position:relative;text-decoration:none!important;vertical-align:top;top:-2px}.dslc-panel .dslc-panel-twitter:before{content:"\f301"}.dslc-panel .dslc-panel-facebook:before{content:"\f304"}.dslc-panel .dslc-panel-facebook-page:before{content:"\f305"}.dslc-panel .dslc-panel-show-work:before{content:"\f529"}#new-lc-coming{background:#4AC496;border-color:#47a380 #35b484 #35b484;color:#fff;margin-top:-17px}#new-lc-coming h2{color:#fff;margin-top:16px;width:50%;margin-left:100px}#new-lc-coming h3{color:#2E3432}#new-lc-coming h3 .dashicons{color:#279168}#new-lc-coming p{color:#1F523F}#new-lc-coming hr{margin-top:30px;border-color:#3fb085 #4ac496 #6dcfaa}#new-lc-coming .button-hero{background:#2fab7c;border-color:#34a077;box-shadow:0 2px 0 #26805d;font-size:18px;height:auto;left:64%;padding:4px 26px;position:absolute;text-shadow:none;top:37px}#new-lc-coming .button-hero .dashicons{display:inline-block;font-size:150%;margin-right:14px;vertical-align:text-top}#new-lc-coming .button-hero:active{box-shadow:0 3px 0 #26805d inset}#new-lc-coming p.about-description{color:#a0e4ca;line-height:1.3;width:50%;margin-left:100px}#new-lc-coming .mink-illustration{position:absolute;top:28px;width:80px}#new-products-coming{border-color:#46b3e4 #237fbd #237fbd;color:#fff;margin-bottom:-17px;border-radius:4px 4px 0 0;border-top:none;padding-bottom:40px;position:relative;background:#2E97E0}#new-products-coming .label,#new-products-coming .price{border-radius:5px;letter-spacing:1px;font-size:11px;line-height:1;display:inline-block;text-transform:uppercase}#new-products-coming:before{position:absolute;background:url(../../../images/livecomposer-pattern.png) right -139px no-repeat;background-size:113%;opacity:.15;content:'';left:0;top:0;right:0;bottom:0}.dslc-panel-content{z-index:1;position:relative}#new-products-coming .label{color:rgba(255,255,255,.62);padding:7px 0;margin-top:20px}#new-products-coming .price{padding:7px 11px}#new-products-coming .price.original{padding-left:0;margin-right:10px}#new-products-coming .price.promo{background:#9fe02c;color:#2f4606}#new-products-coming h2{font-size:27px;color:#fff;text-align:left;width:34%;margin:24px 0 0;display:inline-block;line-height:1;vertical-align:top}#new-products-coming h3{color:#fff;margin-top:0;margin-bottom:7px;font-size:21px;line-height:1.2}#new-products-coming h4{color:#fff;margin-top:0;margin-bottom:20px;font-weight:400;font-size:16px;line-height:1.3;opacity:.7}#new-products-coming h3 .dashicons{color:rgba(236,236,236,.57)}#new-products-coming p{color:rgba(0,0,0,.65);margin:0 0 20px;min-height:50px}#new-products-coming hr{margin-top:20px;border-color:rgba(0,0,0,.16) transparent rgba(255,255,255,.2);opacity:.3}#new-products-coming .button-hero{background:#9FE02C;border-color:#a8ea32;box-shadow:0 2px 0 #2c8ac5;font-size:18px;line-height:20px;height:auto;color:#2d400b;padding:16px 26px 16px 56px;vertical-align:top;margin:10px 0 0;position:relative;text-shadow:none;display:inline-block;max-width:30%;white-space:normal}#new-products-coming .button-hero .dashicons{font-size:150%;left:18px;vertical-align:text-top;position:absolute;top:50%;margin-top:-14px}#new-products-coming .button-hero:active{box-shadow:0 3px 0 #26805d inset}#new-products-coming p.about-description{color:rgba(2,2,2,.6);line-height:1.3;width:28%;margin:20px 6% 0 0;display:inline-block;vertical-align:top}#new-products-coming .mink-illustration{position:absolute;bottom:-1px;width:100px}.extension-browser .extensions{clear:both}.extensions-php .wrap h1{float:left;margin-bottom:15px}.network-admin.extensions-php .wrap h1{margin-bottom:0}.extensions-php .wrap h1 .button{margin-left:20px}.extensions-php .wp-filter-search{font-size:16px;font-weight:300;left:20px;line-height:1.5;margin:0;position:relative;top:-2px;width:280px}.extensions-php div.error,.extensions-php div.notice,.extensions-php div.updated{clear:both;margin:0 0 20px}.extension-browser .extension{border:1px solid #ddd;box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-sizing:border-box;cursor:pointer;float:left;margin:0 4% 4% 0;position:relative;width:30.6%}.ie8 .extension-browser .extension{margin:0 3% 4% 0;width:30%}.extension-browser .extension:nth-child(3n){margin-right:0}.extension-browser .extension:focus,.extension-browser .extension:hover{cursor:default}.extension-browser .extension .extension-name{background:rgba(255,255,255,.65);box-shadow:0 1px 0 rgba(0,0,0,.1) inset;font-size:15px;font-weight:600;height:18px;margin:0;overflow:hidden;padding:15px;text-overflow:ellipsis;white-space:nowrap}.extension-browser .extension .extension-name em{font-size:75%;font-style:normal;font-weight:400;margin-right:3px;opacity:.5;text-transform:uppercase;vertical-align:top}.extension-browser .extension .extension-name .price{color:#0073aa;display:inline-block;position:absolute;right:20px}.extension-browser .extension .extension-name .price .dashicons{opacity:.9}.extension-browser .extension .extension-actions{background:rgba(244,244,244,.7);border-left:1px solid rgba(0,0,0,.05);bottom:0;height:38px;opacity:0;padding:9px 10px 0;position:absolute;right:0;transition:opacity .1s ease-in-out 0s}.extension-browser .extension.focus .extension-actions,.extension-browser .extension:focus .extension-actions,.extension-browser .extension:hover .extension-actions{opacity:1}.extension-browser .extension .extension-actions .button-primary{margin-right:3px}.extension-browser .extension .extension-actions .button-secondary{float:none;margin-left:3px}.extension-browser .extension .extension-screenshot{display:block;overflow:hidden;position:relative;transition:opacity .2s ease-in-out 0s}.extension-browser .extension .extension-screenshot::after{content:"";display:block;padding-top:65.6667%}.extension-browser .extension .extension-screenshot img{height:auto;left:0;position:absolute;top:0;transition:opacity .2s ease-in-out 0s;width:100%}.extension-browser .extension:focus .extension-screenshot,.extension-browser .extension:hover .extension-screenshot{background:#fff}.extension-browser.rendered .extension:focus .extension-screenshot img,.extension-browser.rendered .extension:hover .extension-screenshot img{opacity:.4}.extension-browser .extension .more-details{background:rgba(0,0,0,.7);border-radius:3px;color:#fff;font-size:15px;font-weight:600;left:25%;opacity:0;padding:15px 12px;position:absolute;right:25%;text-align:center;text-decoration:none;text-shadow:0 1px 0 rgba(0,0,0,.6);top:35%;transition:opacity .1s ease-in-out 0s}.extension-browser .extension:focus .more-details,.extension-browser.rendered .extension:focus .more-details,.extension-browser.rendered .extension:hover .more-details{opacity:1}.extension-browser .extension:focus{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8)}.extension-browser .extension.active:focus .extension-actions{display:block}.extension-browser .extension .extension-installed,.extension-browser .extension .extension-update{background:rgba(213,78,33,.95);border-bottom:1px solid rgba(0,0,0,.25);color:#fff;display:block;font-size:13px;font-weight:400;height:48px;left:0;line-height:48px;overflow:hidden;padding:0 10px;position:absolute;right:0;top:0}.extension-browser .extension .extension-installed::before,.extension-browser .extension .extension-update::before{content:"";display:inline-block;font:20px/1 dashicons;margin:0 6px 0 0;opacity:.8;position:relative;top:5px}.extension-browser .extension.active .extension-name{background:#23282d;box-shadow:0 1px 1px rgba(0,0,0,.5) inset;color:#fff;font-weight:300;padding-right:110px}.extension-browser .customize-control .extension.active .extension-name{padding-right:15px}.extension-browser .extension.active .extension-name span{font-weight:600}.extension-browser .extension.active .extension-actions{background:rgba(49,49,49,.7);border-left:medium none;opacity:1}.extension-browser .extension.active .extension-actions .button-primary{margin-right:0}.extension-browser .extension .extension-author{background:#23282d;bottom:56px;color:#eee;display:none;font-size:14px;margin:0 10px;padding:5px 10px;position:absolute}.extension-browser .extension.display-author .extension-author{display:block}.extension-browser .extension.display-author .extension-author a{color:inherit;text-decoration:none}.extension-browser .extension.add-new-extension{border:none;box-shadow:none}.extension-browser .extension.add-new-extension a{display:block;position:relative;text-decoration:none;z-index:1}.extension-browser .extension.add-new-extension a::after{background:rgba(0,0,0,0);border:5px dashed rgba(0,0,0,.1);bottom:0;box-sizing:border-box;content:"";display:block;left:0;padding:0;position:absolute;right:0;text-shadow:none;top:0}.extension-browser .extension.add-new-extension span::after{background:rgba(153,153,153,.1);border-radius:50%;color:#999;content:"\f106";display:inline-block;font:74px/115px dashicons;height:100px;left:50%;margin-left:-50px;padding:0;position:absolute;text-align:center;text-indent:-4px;text-shadow:none;top:30%;vertical-align:middle;width:100px;z-index:4}.extension-browser .extension.add-new-extension.add-new-theme span::after{content:"\f100"}.rtl .extension-browser .extension.add-new-extension span::after{text-indent:4px}.extension-browser .extension.add-new-extension a:focus .extension-screenshot,.extension-browser .extension.add-new-extension a:hover .extension-screenshot{background:rgba(0,0,0,0)}.extension-browser .extension.add-new-extension a:focus span::after,.extension-browser .extension.add-new-extension a:hover span::after{background:#fff;color:#0073aa}.extension-browser .extension.add-new-extension a:focus::after,.extension-browser .extension.add-new-extension a:hover::after{background:#0073aa;border-color:transparent;color:#fff;content:""}.extension-browser .extension.add-new-extension .extension-name{background:rgba(0,0,0,0);box-shadow:none;font-weight:400;margin-top:-18px;padding-bottom:48px;padding-top:0;position:relative;text-align:center;top:0}.extension-browser .extension.add-new-extension a:focus .extension-name,.extension-browser .extension.add-new-extension a:hover .extension-name{color:#fff;z-index:2}.extension-overlay .extension-backdrop{background:rgba(238,238,238,.9);bottom:0;left:-20px;position:absolute;right:0;top:0;z-index:10000}.extension-overlay .extension-header .close,.extension-overlay .extension-header .left,.extension-overlay .extension-header .right{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-right-colors:none;-moz-border-top-colors:none;background-color:transparent;cursor:pointer;height:48px;text-align:center;transition:color .1s ease-in-out 0s,background .1s ease-in-out 0s;border-image:none}.extension-overlay .extension-header{border-bottom:1px solid #ddd;height:48px;left:0;position:absolute;right:0;top:0}.extension-overlay .extension-header button{padding:0}.extension-overlay .extension-header .close{border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color #ddd;border-style:none none none solid;border-width:0 0 0 1px;float:right;width:50px}.extension-overlay .extension-header .close::before{color:#72777c;content:"";display:inline-block;font:22px/50px dashicons!important}.extension-overlay .extension-header .left,.extension-overlay .extension-header .right{border-color:-moz-use-text-color #ddd -moz-use-text-color -moz-use-text-color;border-style:none solid none none;border-width:0 1px 0 0;color:#72777c;float:left;width:54px}.extension-overlay .extension-header .close:focus,.extension-overlay .extension-header .close:hover,.extension-overlay .extension-header .left:focus,.extension-overlay .extension-header .left:hover,.extension-overlay .extension-header .right:focus,.extension-overlay .extension-header .right:hover{background:#ddd;border-color:#ccc;color:#000}.extension-overlay .extension-header .close:focus::before,.extension-overlay .extension-header .close:hover::before{color:#000}.extension-overlay .extension-header .close:focus,.extension-overlay .extension-header .left:focus,.extension-overlay .extension-header .right:focus{box-shadow:none;outline:0}.extension-overlay .extension-header .left.disabled,.extension-overlay .extension-header .left.disabled:hover,.extension-overlay .extension-header .right.disabled,.extension-overlay .extension-header .right.disabled:hover{background:inherit;color:#ccc;cursor:inherit}.extension-overlay .extension-header .left::before,.extension-overlay .extension-header .right::before{display:inline;font:20px/50px dashicons!important}.customize-support .extension-overlay .extension-actions a[href="extensions.php?page=custom-header"],.customize-support .extension-overlay .extension-actions a[href="extensions.php?page=custom-background"],.extension-overlay .extension-actions .active-extension,.extension-overlay.active .extension-actions .inactive-extension{display:none}.extension-overlay .extension-header .left::before{content:""}.extension-overlay .extension-header .right::before{content:""}.extension-overlay .extension-wrap{background:#fff;bottom:3%;box-shadow:0 1px 20px 5px rgba(0,0,0,.1);box-sizing:border-box;clear:both;left:190px;position:fixed;right:30px;top:9%;z-index:10000}body.folded .extension-overlay .extension-wrap{left:70px}.extension-overlay .extension-about{bottom:57px;left:0;overflow:auto;padding:2% 4%;position:absolute;right:0;top:49px}.extension-overlay .extension-actions{background:#f3f3f3;border-top:1px solid #eee;bottom:0;box-sizing:border-box;left:0;padding:10px 25px 5px;position:absolute;right:0;text-align:center;z-index:30}.ie8 .extension-overlay .extension-actions{border:1px solid #eee}.extension-overlay .extension-actions a{margin-bottom:5px;margin-right:5px}.broken-extensions a.delete-extension,.extension-overlay .extension-actions .delete-extension{background:0 0;border-color:transparent;box-shadow:none;color:#a00;text-decoration:none}.extension-overlay .extension-actions .delete-extension{bottom:5px;position:absolute;right:10px}.broken-extensions a.delete-extension:focus,.broken-extensions a.delete-extension:hover,.extension-overlay .extension-actions .delete-extension:focus,.extension-overlay .extension-actions .delete-extension:hover{background:#d54e21;border-color:#d54e21;color:#fff}.extension-overlay .extension-actions .inactive-extension,.extension-overlay.active .extension-actions .active-extension{display:block}.extension-overlay .extension-screenshots{float:left;margin:0 30px 0 0;max-width:880px;text-align:center;width:55%}.extension-overlay .screenshot{border:1px solid #fff;box-shadow:0 0 0 1px rgba(0,0,0,.2);box-sizing:border-box;overflow:hidden;position:relative}.extension-overlay .screenshot::after{content:"";display:block;padding-top:75%}.extension-overlay .screenshot img{height:auto;left:0;position:absolute;top:0;width:100%}.extension-overlay.small-screenshot .extension-screenshots{position:absolute;width:302px}.extension-overlay.small-screenshot .extension-info{margin-left:350px;width:auto}.extension-overlay .screenshot.thumb{background:#ccc;border:1px solid #eee;cursor:pointer;display:inline-block;float:none;height:80px;margin:10px 5px 0;width:140px}.extension-overlay .screenshot.thumb::after{content:"";display:block;padding-top:100%}.extension-overlay .screenshot.thumb img{cursor:pointer;height:auto;left:0;position:absolute;top:0;width:100%}.extension-overlay .screenshot.selected{background:0 0;border:2px solid #00a0d2}.extension-overlay .screenshot.selected img{opacity:.8}.extension-browser .extension .extension-screenshot.blank,.extension-overlay .screenshot.blank{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=)}.extension-overlay .extension-info{float:left;width:40%}.extension-overlay .current-label{-moz-user-select:none;background:#32373c;border-radius:2px;color:#fff;display:inline-block;font-size:11px;margin:0 0 -10px;padding:2px 8px}.extension-overlay .extension-name{color:#23282d;font-size:32px;font-weight:100;line-height:1.3;margin:10px 0 0}.extension-overlay .extension-version{color:#72777c;display:inline-block;float:none;font-size:13px;font-weight:400;margin-left:10px}.extension-overlay .extension-author{color:#72777c;font-size:16px;font-weight:400;line-height:inherit;margin:15px 0 25px}.extension-overlay .extension-author a{text-decoration:none}.extension-overlay .extension-description{color:#555;font-size:15px;font-weight:400;line-height:1.5;margin:30px 0 0}.extension-overlay .extension-tags{border-top:3px solid #eee;color:#82878c;font-size:13px;font-weight:400;margin:30px 0 0;padding-top:20px}.extension-overlay .extension-tags span{color:#444;font-weight:700;margin-right:5px}.extension-overlay .parent-extension{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-right-colors:none;-moz-border-top-colors:none;background:#f7fcfe;border-color:#eee #eee #eee #00a0d2;border-image:none;border-style:solid;border-width:1px 1px 1px 4px;font-size:14px;font-weight:400;margin-top:30px;padding:10px 10px 10px 20px}.extension-overlay .parent-extension strong{font-weight:700}.single-extension .extension,.single-extension .extension-overlay .extension-backdrop,.single-extension .extension-overlay .extension-header{display:none}.single-extension .extension-overlay .extension-wrap{bottom:auto;clear:both;left:auto;min-height:330px;position:relative;right:auto;top:auto;z-index:10}.single-extension .extension-overlay .extension-about{padding:30px 30px 70px;position:static}.single-extension .extension-overlay .extension-actions{position:absolute}@media only screen and (min-width:2000px){#wpwrap .extension-browser .extension{margin:0 3% 3% 0;width:17.6%}#wpwrap .extension-browser .extension:nth-child(3n),#wpwrap .extension-browser .extension:nth-child(4n){margin-right:3%}#wpwrap .extension-browser .extension:nth-child(5n){margin-right:0}}@media only screen and (min-width:1680px){.extension-overlay .extension-wrap{margin:0 auto;width:1450px}}@media only screen and (min-width:1640px){.extension-browser .extension{margin:0 3% 3% 0;width:22.7%}.extension-browser .extension .extension-screenshot::after{padding-top:75%}.extension-browser .extension:nth-child(3n){margin-right:3%}.extension-browser .extension:nth-child(4n){margin-right:0}}@media only screen and (max-width:1120px){.extension-browser .extension{margin-right:0;width:47.5%}.extension-browser .extension:nth-child(2n){margin-right:0}.extension-browser .extension:nth-child(2n+1){margin-right:5%}}@media only screen and (max-width:900px){.extension-overlay .extension-wrap{left:65px}}@media only screen and (max-width:780px){.extension-browser .extension.active .extension-name span,.extension:focus .more-details,.extension:focus:not(.active) .extension-actions,.extension:hover .more-details,.extension:hover:not(.active) .extension-actions{display:none}.extension-overlay .extension-wrap,body.folded .extension-overlay .extension-wrap{border:none;bottom:0;left:0;padding:70px 20px 20px;position:fixed;right:0;top:0;z-index:100000}.extension-overlay .extension-screenshots{width:40%}.extension-overlay .extension-info{width:50%}.single-extension .extension-wrap{padding:10px}.extension-browser .extension .extension-actions{padding:5px 10px 4px}.extension-overlay.small-screenshot .extension-screenshots{float:none;max-width:302px;position:static}.extension-overlay.small-screenshot .extension-info{margin-left:0;width:auto}.extension-browser.rendered .extension:focus .extension-screenshot img,.extension-browser.rendered .extension:hover .extension-screenshot img{opacity:1}}@media only screen and (max-width:480px){.extension-browser .extension{margin-right:0;width:100%}.extension-browser .extension:nth-child(2n),.extension-browser .extension:nth-child(3n){margin-right:0}}@media only screen and (max-width:650px){.extension-overlay .extension-description,.extension-overlay .extension-update{margin-left:0}.extension-overlay .extension-actions .delete-extension{bottom:auto;position:relative;right:auto}.extension-overlay .extension-actions .inactive-extension{display:inline}.extension-overlay .extension-screenshots{float:none;width:100%}.extension-overlay .extension-info{width:100%}.extension-overlay .extension-author{margin:5px 0 15px}.extension-overlay .current-label{font-size:13px;margin-top:10px}.extensions-php .wp-filter-search{clear:both;float:none;left:0;margin:10px 0;max-width:280px;right:0;top:0;width:100%}.extension-browser .extension.add-new-extension span::after{font:60px/90px dashicons;height:80px;left:50%;margin-left:-40px;text-indent:0;top:30%;width:80px}.single-extension .extension-wrap{margin:0 -12px 0 -10px;padding:10px}.single-extension .extension-overlay .extension-about{overflow:visible;padding:10px}.single-extension .current-label{display:none}.single-extension .extension-overlay .extension-actions{position:static}}.broken-extensions{clear:both}.broken-extensions table{border-spacing:3px;padding:3px;text-align:left;width:50%}.extension-browser .extension .extension-installed{background:#0073aa}.extension-browser .extension .extension-installed::before{content:""}.extension-browser .extension.is-installed .extension-actions .button-primary{display:none!important}.extension-install-php .wp-filter{padding:0 20px}.extension-install-php a.browse-extensions,.extension-install-php a.upload{cursor:pointer}.extension-install-php a.browse-extensions,.extension-install-php.show-upload-extension a.upload{display:none}.extension-install-php.show-upload-extension a.browse-extensions{display:inline}.upload-extension,.upload-plugin{box-sizing:border-box;display:none;margin:0;overflow:hidden;padding:0;position:relative;top:10px;width:100%}.wp-full-overlay,.wp-full-overlay-sidebar{position:fixed;height:100%;bottom:0;left:0}.upload-plugin,body.show-upload-extension .upload-extension{display:block}.upload-extension .wp-upload-form,.upload-plugin .wp-upload-form{background:#fafafa;border:1px solid #e5e5e5;margin:30px auto;max-width:380px;padding:30px}.upload-extension .install-help,.upload-plugin .install-help{color:#555d66;font-size:18px;font-style:normal;margin:0;padding:40px 0 0;text-align:center}body.show-upload-extension .upload-extension+.wp-filter,body.show-upload-extension .upload-extension+.wp-filter+.extension-browser{display:none}p.no-extensions{clear:both;color:#666;display:none;font-size:18px;font-style:normal;margin:0;padding:100px 0;text-align:center}body.no-results p.no-extensions{display:block}.extension-install-php .add-new-extension,body.show-upload-extension p.no-extensions{display:none!important}@media only screen and (max-width:1120px){.upload-extension .wp-upload-form{margin:20px 0;max-width:100%}.upload-extension .install-help{font-size:15px;padding:20px 0 0;text-align:left}}.extension-details .extension-rating{line-height:23px}.extension-details .star-rating{display:inline}.extension-details .no-rating,.extension-details .num-ratings{color:#72777c;font-size:11px}.extension-details .no-rating{display:block;line-height:20px}.appearance_page_custom-header #headimg{border:1px solid #ddd;overflow:hidden;width:100%}.appearance_page_custom-header #upload-form p label{font-size:12px}.appearance_page_custom-header .available-headers .default-header{float:left;margin:0 20px 20px 0}.appearance_page_custom-header .random-header{clear:both;margin:0 20px 20px 0;vertical-align:middle}.appearance_page_custom-header .available-headers label input,.appearance_page_custom-header .random-header label input{margin-right:10px}.appearance_page_custom-header .available-headers label img{vertical-align:middle}div#custom-background-image{border:1px solid #ddd;min-height:100px}div#custom-background-image img{max-height:300px;max-width:400px}body.full-overlay-active{overflow:hidden}.wp-full-overlay{min-width:0;overflow:visible;right:0;top:0;z-index:500000}.wp-full-overlay-sidebar{background:#eee;border-right:medium none;box-sizing:border-box;margin:0;padding:0;top:0;width:300px;z-index:10}.wp-full-overlay.collapsed,.wp-full-overlay.expanded .wp-full-overlay-sidebar{margin-left:0!important}.wp-full-overlay.expanded{margin-left:300px}.wp-full-overlay.collapsed .wp-full-overlay-sidebar{overflow:visible;margin-left:-300px}.wp-full-overlay-sidebar::after{bottom:0;content:"";display:block;position:absolute;right:0;top:0;width:3px;z-index:1000}.wp-full-overlay-main{bottom:0;height:100%;left:0;position:absolute;right:0;top:0}.wp-full-overlay-sidebar .wp-full-overlay-header{border-top:medium none;box-shadow:none;height:45px;left:0;line-height:45px;margin:0;padding:0 15px;position:absolute;right:0;z-index:10}.wp-full-overlay-sidebar .wp-full-overlay-header a.back{margin-top:9px}.wp-full-overlay-sidebar .wp-full-overlay-footer{border-bottom:medium none;border-top:medium none;bottom:0;box-shadow:none}.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content{bottom:45px;left:0;overflow:auto;position:absolute;right:0;top:45px}.extension-install-overlay .wp-full-overlay-sidebar .wp-full-overlay-header{padding:0}.extension-install-overlay .close-full-overlay,.extension-install-overlay .next-extension,.extension-install-overlay .previous-extension{background:#eee;border-right:1px solid #ddd;color:#444;cursor:pointer;display:block;float:left;height:45px;padding-right:2px;position:relative;text-decoration:none;transition:color .1s ease-in-out 0s,background .1s ease-in-out 0s;width:45px}.extension-install-overlay .close-full-overlay:focus,.extension-install-overlay .close-full-overlay:hover,.extension-install-overlay .next-extension:focus,.extension-install-overlay .next-extension:hover,.extension-install-overlay .previous-extension:focus,.extension-install-overlay .previous-extension:hover{background:#ddd;border-color:#ccc;box-shadow:none;color:#000;outline:0}.extension-install-overlay .close-full-overlay::before{content:"";font:22px/1 dashicons;left:13px;position:relative;top:7px}.extension-install-overlay .previous-extension::before{content:"";font:20px/1 dashicons;left:14px;position:relative;top:6px}.extension-install-overlay .next-extension::before{content:"";font:20px/1 dashicons;left:13px;position:relative;top:6px}.extension-install-overlay .next-extension.disabled,.extension-install-overlay .next-extension.disabled:focus,.extension-install-overlay .next-extension.disabled:hover,.extension-install-overlay .previous-extension.disabled,.extension-install-overlay .previous-extension.disabled:focus,.extension-install-overlay .previous-extension.disabled:hover{background:#eee;color:#b4b9be;cursor:default;pointer-events:none}.wp-core-ui .wp-full-overlay .collapse-sidebar{background-color:transparent!important;border:none!important;border-radius:0!important;bottom:8px;box-shadow:none!important;color:#656a6f;left:10px;line-height:1;outline:0;padding:0;position:fixed}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#0073aa}.wp-full-overlay .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar-label{display:inline-block;line-height:20px;vertical-align:middle}.wp-full-overlay .collapse-sidebar-arrow{border-radius:50%;height:20px;margin:0 2px;overflow:hidden;width:20px}.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-full-overlay .collapse-sidebar-label{margin-left:3px}.wp-full-overlay.collapsed .collapse-sidebar-label{display:none}.wp-full-overlay .collapse-sidebar-arrow::before{-moz-osx-font-smoothing:grayscale;background:#eee;content:"";display:block;font:20px/1 dashicons;padding:0}.rtl .wp-full-overlay .collapse-sidebar-arrow::before,.wp-full-overlay.collapsed .collapse-sidebar-arrow::before{transform:rotate(180.001deg)}.rtl .wp-full-overlay.collapsed .collapse-sidebar-arrow::before{transform:none}.wp-full-overlay,.wp-full-overlay .collapse-sidebar,.wp-full-overlay-main,.wp-full-overlay-sidebar{transition-duration:.2s;transition-property:left,right,top,bottom,width,margin}.wp-full-overlay{background:#191e23}.wp-full-overlay-main{background-color:#f1f1f1}.expanded .wp-full-overlay-footer{border-top:1px solid #ddd;bottom:0;height:45px;left:0;position:fixed;width:300px}.wp-full-overlay-footer .devices{float:right}.wp-full-overlay-footer .devices button{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-right-colors:none;-moz-border-top-colors:none;background:0 0;border-color:transparent -moz-use-text-color;border-image:none;border-style:solid none;border-width:1px medium 4px;box-shadow:none;cursor:pointer;height:45px;margin:0 0 0 -4px;padding:0 3px;transition:background .1s ease-in-out 0s}.wp-full-overlay-footer .devices button::before{color:#656a6f;display:inline-block;font:20px/30px dashicons;margin:3px 0;padding:4px 8px;vertical-align:top}.collapsed .wp-full-overlay-footer .devices button::before,.customize-support .hide-if-customize,.customize-support .wp-core-ui .hide-if-customize,.customize-support.wp-core-ui .hide-if-customize,.no-customize-support .hide-if-no-customize,.no-customize-support .wp-core-ui .hide-if-no-customize,.no-customize-support.wp-core-ui .hide-if-no-customize{display:none}.wp-full-overlay-footer .devices button.active{border-bottom-color:#191e23}.wp-full-overlay-footer .devices button:focus,.wp-full-overlay-footer .devices button:hover{background-color:#fff}.wp-full-overlay-footer .devices button:focus{box-shadow:none;outline:0;border-bottom-color:#0073aa}.wp-full-overlay-footer .devices button.active::before,.wp-full-overlay-footer .devices button:focus::before,.wp-full-overlay-footer .devices button:hover::before{color:#191e23}.wp-full-overlay-footer .devices .preview-desktop::before{content:""}.wp-full-overlay-footer .devices .preview-tablet::before{content:""}.wp-full-overlay-footer .devices .preview-mobile::before{content:""}@media screen and (max-width:1024px){.wp-full-overlay-footer .devices{display:none}}.preview-mobile .wp-full-overlay-main{height:480px;left:50%;margin:auto 0 auto -160px;max-height:100%;max-width:100%;width:320px}.preview-tablet .wp-full-overlay-main{height:1080px;left:50%;margin:auto 0 auto -360px;max-height:100%;max-width:100%;width:720px}#customize-container{background:#fff;bottom:0;display:none;height:100%;left:0;overflow:visible;position:fixed;right:0;top:0;z-index:500000}.customize-active #customize-container{display:block}.customize-loading #customize-container iframe{opacity:0}#customize-container iframe,.extension-install-overlay iframe{height:100%;transition:opacity .3s ease 0s;width:100%;z-index:20}#customize-controls{margin-top:0}.extension-install-overlay{display:none}.extension-install-overlay.single-extension{display:block}.install-extension-info{display:none;padding:10px 20px 60px}.single-extension .install-extension-info{padding-top:15px}.extension-install-overlay .install-extension-info{display:block}.install-extension-info .extension-install{float:right;margin-top:18px}.install-extension-info .extension-name{font-size:16px;line-height:24px;margin-bottom:0;margin-top:0}.install-extension-info .extension-screenshot{border:1px solid #ccc;margin:15px 0;width:258px}.install-extension-info .extension-details{overflow:hidden}.extension-details .extension-version{margin:15px 0}.extension-details .extension-description{color:#72777c;float:left;line-height:20px;max-width:100%}.extension-install-overlay .wp-full-overlay-header .extension-install{float:right;line-height:26px;margin:8px 10px 0 0}.extension-install-overlay .wp-full-overlay-sidebar{background:#eee;border-right:1px solid #ddd}.extension-install-overlay .wp-full-overlay-sidebar-content{background:#fff;border-bottom:1px solid #ddd;border-top:1px solid #ddd}.extension-install-overlay .wp-full-overlay-main{background-color:#f1f1f1;position:absolute;z-index:0}.customize-loading #customize-container{background-color:#f1f1f1}#customize-preview.wp-full-overlay-main::before,.customize-loading #customize-container::before,.extension-install-overlay .wp-full-overlay-main::before{background:url(../images/spinner.gif) center center/20px 20px no-repeat;content:"";display:block;height:20px;left:50%;margin:-10px 0 0 -10px;position:absolute;top:50%;transform:translateZ(0);width:20px;z-index:-1}#customize-preview.wp-full-overlay-main.iframe-ready::before,.extension-install-overlay.iframe-ready .wp-full-overlay-main::before{background-image:none}@media print,not all,(min-resolution:120dpi){.wp-full-overlay .collapse-sidebar-arrow{background-image:url(../images/arrows-2x.png);background-size:15px 123px}#customize-preview.wp-full-overlay-main::before,.customize-loading #customize-container::before,.extension-install-overlay .wp-full-overlay-main::before{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){.available-extension .action-links .delete-extension{clear:both;float:none;margin:0;padding:0}.available-extension .action-links .delete-extension a{padding:0}.broken-extensions table{width:100%}.extension-install-overlay .wp-full-overlay-header .extension-install{line-height:normal;margin-top:6px}}.docs-search-form button .dashicons{opacity:.75;vertical-align:text-bottom}.docs-search-form .search-query{border-radius:3px;height:46px;padding:10px 17px}#dslc-docssearch{padding:30px 0 20px}#dslc-docssearch .search-query{min-width:64%}#dslc-headersearch{position:absolute;right:40px;top:30px}#dslc-headersearch .hssearch{padding:0 16px!important}.dslc-settigns-tabs .nav-tab .tag{background:#d54e21;border-radius:4px;color:#fff;display:inline-block;font-size:10px;letter-spacing:.5px;line-height:1;margin-left:5px;padding:4px 6px;text-transform:uppercase;opacity:.8}.dslc-scroll-back{margin-left:-90px;margin-top:44px;position:absolute;text-decoration:none;text-transform:uppercase}.dslc-scroll-back .dashicons{font-size:17px}#dslc-settings-column{clear:both;display:inline;float:left;margin-left:-300px;padding-top:0;width:281px}.dslc-settings-form .dslc-panel{padding:40px;margin-top:10px;max-width:640px}.dslc-settings-form .dslc-panel h2{margin-bottom:30px}.dslc-submenu-section{border-bottom:1px solid #ddd;margin:0}.dslc-submenu-section:hover{background:#f5f5f5;color:#23282d}.dslc-submenu-section a{-moz-user-select:none;border-left:1px solid #ddd;border-right:1px solid #ddd;margin:0;padding:12px 15px 15px;position:relative;font-size:14px;line-height:21px;font-weight:700;color:#23282D!important;text-decoration:none;display:block}.dslc-submenu-section .dashicons{margin-bottom:-1px;margin-right:6px;margin-top:1px;opacity:.4}#dslc-setings-liquid{float:left;margin-top:3px;min-width:100%}#dslc-settings-frame{margin-left:300px;margin-top:23px}
includes/plugin-options-framework/tab-getting-started.php CHANGED
@@ -57,9 +57,53 @@ if ( ! defined( 'ABSPATH' ) ) {
57
  </div>
58
  <?php endif;?>
59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  <div class="dslc-panel" id="keep-it-secure">
61
  <div class="dslc-panel-content">
62
- <h2><?php _e( 'Keep Your Website Secure', 'live-composer-page-builder' ); ?></h2>
63
  <p class="about-description"><?php _e( 'Security updates', 'live-composer-page-builder' ); ?> &#8226; <?php _e( 'New features', 'live-composer-page-builder' ); ?> &#8226; <?php _e( 'Extension releases', 'live-composer-page-builder' ); ?></p>
64
 
65
  <div class="dslc-panel-column-container">
@@ -118,6 +162,7 @@ if ( ! defined( 'ABSPATH' ) ) {
118
  </div>
119
  </div>
120
 
 
121
  <div class="dslc-panel" id="new-lc-coming">
122
  <div class="dslc-panel-content">
123
  <img src="<?php echo DS_LIVE_COMPOSER_URL; ?>/images/livecomposer-mink-curious.png" class="mink-illustration">
@@ -143,6 +188,7 @@ if ( ! defined( 'ABSPATH' ) ) {
143
  </div>
144
  </div>
145
  </div>
 
146
 
147
  <br>
148
  <hr>
57
  </div>
58
  <?php endif;?>
59
 
60
+
61
+ <div class="dslc-panel" id="new-products-coming">
62
+ <div class="dslc-panel-content">
63
+ <h2><?php esc_attr_e( 'Upcoming Releases', 'live-composer-page-builder' ); ?></h2>
64
+ <p class="about-description"><?php _e( 'Get our paid extensions <b>half-price</b> on&nbsp;the&nbsp;day of&nbsp;release.', 'live-composer-page-builder' ); ?></p>
65
+ <a href="https://livecomposerplugin.com/halfprice-coupon/?utm_source=wp-admin&utm_medium=welcome-promo-block-herobutton&utm_campaign=50off-new-releases" class="button button-primary button-hero" target="_blank"><span class="dashicons dashicons-tickets"></span> Get 50% OFF coupon</a>
66
+ <hr>
67
+
68
+ <div class="dslc-panel-column-container">
69
+ <div class="dslc-panel-column">
70
+ <span class="label"><?php _e( 'Premium Extension', 'live-composer-page-builder' ); ?></span>
71
+ <h3><?php esc_attr_e( 'WooCommerce Integration', 'live-composer-page-builder' ); ?></h3>
72
+ <h4><span class="dashicons dashicons-cart"></span> <?php _e( 'Drag and Drop E-Commerce', 'live-composer-page-builder' ); ?></h4>
73
+ <p><?php esc_attr_e( 'Create a fully customizable WooCoomerce website using drag and drop builder.', 'live-composer-page-builder' ); ?></p>
74
+ <!-- <p><span class="dashicons dashicons-yes"></span> <?php _e( 'Custom Design = Higher Conversion', 'live-composer-page-builder' ); ?></p> -->
75
+ <span class="price original"><?php _e( 'Regular Price: <b>$60</b>', 'live-composer-page-builder' ); ?></span><a href="https://livecomposerplugin.com/halfprice-coupon/?utm_source=wp-admin&utm_medium=welcome-promo-block-pricelink&utm_campaign=50off-new-releases" class="price promo" target="_blank"><?php _e( 'On Release Day: $29', 'live-composer-page-builder' ); ?></a>
76
+ </div>
77
+ <div class="dslc-panel-column dslc-panel-last">
78
+ <span class="label"><?php _e( 'Premium Extension', 'live-composer-page-builder' ); ?></span>
79
+ <h3><?php _e( "bbPress&nbsp;Forums Integration", 'live-composer-page-builder' ); ?></h3>
80
+ <h4><span class="dashicons dashicons-format-chat"></span> <?php _e( "New Level of&nbsp;Customization", 'live-composer-page-builder' ); ?></h4>
81
+ <p><?php _e( 'No other page builder provides this level of integration with bbPress. ', 'live-composer-page-builder' ); ?></p>
82
+ <span class="price original"><?php _e( 'Regular Price: <b>$40</b>', 'live-composer-page-builder' ); ?></span><a href="https://livecomposerplugin.com/halfprice-coupon/?utm_source=wp-admin&utm_medium=welcome-promo-block-pricelink&utm_campaign=50off-new-releases" class="price promo" target="_blank"><?php _e( 'On Release Day: $19', 'live-composer-page-builder' ); ?></a>
83
+ </div>
84
+ <div class="dslc-panel-column">
85
+ <span class="label"><?php _e( 'Premium Theme', 'live-composer-page-builder' ); ?></span>
86
+ <h3><?php _e( "Digital Marketer &amp;&nbsp;SEO&nbsp;Pro", 'live-composer-page-builder' ); ?></h3>
87
+ <h4><span class="dashicons dashicons-art"></span> <?php _e( "Flexible Drag and Drop Theme", 'live-composer-page-builder' ); ?></h4>
88
+ <p><?php _e( 'Specially designed for SEO, Digital Marketing Agencies and Social Media professionals.', 'live-composer-page-builder' ); ?></p>
89
+ <span class="price original"><?php _e( 'Regular Price: <b>$80</b>', 'live-composer-page-builder' ); ?></span><a href="https://livecomposerplugin.com/halfprice-coupon/?utm_source=wp-admin&utm_medium=welcome-promo-block-pricelink&utm_campaign=50off-new-releases" class="price promo" target="_blank"><?php _e( 'On Release Day: $39', 'live-composer-page-builder' ); ?></a>
90
+ </div>
91
+ </div>
92
+
93
+ <!--
94
+ <img src="<?php echo DS_LIVE_COMPOSER_URL; ?>/images/livecomposer-mink-curious.png" class="mink-illustration">
95
+
96
+ <div style="text-align:center;">
97
+ <a href="//livecomposerplugin.com/live-composer-2-coming/?utm_source=wp-admin&utm_medium=lc2-iscoming-block&utm_campaign=bethefirsttogetit" class="button button-primary button-hero load-customize hide-if-no-customize" target="_blank"><span class="dashicons dashicons-tickets"></span> Generate 50% OFF coupon</a>
98
+ </div>
99
+ -->
100
+
101
+ </div>
102
+ </div>
103
+
104
  <div class="dslc-panel" id="keep-it-secure">
105
  <div class="dslc-panel-content">
106
+ <h2><span class="dashicons dashicons-lock"></span> <?php _e( 'Keep Your Website Secure', 'live-composer-page-builder' ); ?></h2>
107
  <p class="about-description"><?php _e( 'Security updates', 'live-composer-page-builder' ); ?> &#8226; <?php _e( 'New features', 'live-composer-page-builder' ); ?> &#8226; <?php _e( 'Extension releases', 'live-composer-page-builder' ); ?></p>
108
 
109
  <div class="dslc-panel-column-container">
162
  </div>
163
  </div>
164
 
165
+ <!--
166
  <div class="dslc-panel" id="new-lc-coming">
167
  <div class="dslc-panel-content">
168
  <img src="<?php echo DS_LIVE_COMPOSER_URL; ?>/images/livecomposer-mink-curious.png" class="mink-illustration">
188
  </div>
189
  </div>
190
  </div>
191
+ -->
192
 
193
  <br>
194
  <hr>
includes/post-options-framework/post-options-framework.php CHANGED
@@ -451,7 +451,7 @@ function dslc_page_add_row_action( $actions, $page_object ) {
451
 
452
  if ( true === $dslc_admin_interface_on && $page_status != 'trash' ) {
453
 
454
- $url = DSLC_EditorInterface::get_editor_link( $id );
455
 
456
  $actions = array('edit-in-live-composer' => '<a href="' . $url . '">' . __( 'Edit in Live Composer', 'live-composer-page-builder' ) . '</a>') + $actions;
457
  }
@@ -481,7 +481,7 @@ function dslc_post_add_row_action( $actions, $post ) {
481
  if ( array_key_exists( $post_type, $dslc_var_templates_pt ) ) {
482
 
483
  $template_id = dslc_st_get_template_id( $post->ID );
484
- $url = DSLC_EditorInterface::get_editor_link( $template_id, $post->ID );
485
 
486
  // If default template for current CPT exists.
487
  if ( $template_id ) {
@@ -491,7 +491,7 @@ function dslc_post_add_row_action( $actions, $post ) {
491
  }
492
  } else {
493
 
494
- $url = DSLC_EditorInterface::get_editor_link( $post->ID );
495
 
496
  $actions = array( 'edit-in-live-composer' => '<a href="'. $url . '">'. __( 'Edit in Live Composer', 'live-composer-page-builder' ) .'</a>' ) + $actions;
497
  }
@@ -518,7 +518,7 @@ function dslc_add_button_permalink( $return, $id, $new_title, $new_slug ) {
518
  ! array_key_exists( $current_post_type, $dslc_var_templates_pt ) &&
519
  $current_post_type != 'dslc_testimonials' ) {
520
 
521
- $url = DSLC_EditorInterface::get_editor_link( $id );
522
 
523
  $return .= '<a class="button button-small" target="_blank" href="' . $url . '">' . __( 'Open in Live Composer', 'live-composer-page-builder' ) . '</a>';
524
  }
@@ -539,7 +539,7 @@ function dslc_post_submitbox_add_button() {
539
 
540
  if ( true === $dslc_admin_interface_on && $current_screen->action != 'add' && ! array_key_exists( $current_post_type, $dslc_var_templates_pt ) && $current_post_type != 'dslc_testimonials' ) {
541
 
542
- $url = DSLC_EditorInterface::get_editor_link( get_the_ID() );
543
 
544
  echo '<a class="button button-hero" target="_blank" href="' . $url . '">' . __( 'Open in Live Composer', 'live-composer-page-builder' ) . '</a>';
545
  }
@@ -554,7 +554,7 @@ function dslc_tab_content( $content ) {
554
 
555
  if ( get_post_type( get_the_ID() ) == 'page' && is_admin() ) {
556
 
557
- $url = DSLC_EditorInterface::get_editor_link( get_the_ID() );
558
  ?>
559
  <div id="lc_content_wrap">
560
  <h2> <?php _e( 'Edit this page in Live Composer', 'live-composer-page-builder' ); ?></h2>
451
 
452
  if ( true === $dslc_admin_interface_on && $page_status != 'trash' ) {
453
 
454
+ $url = DSLC_EditorInterface::get_editor_link_url( $id );
455
 
456
  $actions = array('edit-in-live-composer' => '<a href="' . $url . '">' . __( 'Edit in Live Composer', 'live-composer-page-builder' ) . '</a>') + $actions;
457
  }
481
  if ( array_key_exists( $post_type, $dslc_var_templates_pt ) ) {
482
 
483
  $template_id = dslc_st_get_template_id( $post->ID );
484
+ $url = DSLC_EditorInterface::get_editor_link_url( $template_id, $post->ID );
485
 
486
  // If default template for current CPT exists.
487
  if ( $template_id ) {
491
  }
492
  } else {
493
 
494
+ $url = DSLC_EditorInterface::get_editor_link_url( $post->ID );
495
 
496
  $actions = array( 'edit-in-live-composer' => '<a href="'. $url . '">'. __( 'Edit in Live Composer', 'live-composer-page-builder' ) .'</a>' ) + $actions;
497
  }
518
  ! array_key_exists( $current_post_type, $dslc_var_templates_pt ) &&
519
  $current_post_type != 'dslc_testimonials' ) {
520
 
521
+ $url = DSLC_EditorInterface::get_editor_link_url( $id );
522
 
523
  $return .= '<a class="button button-small" target="_blank" href="' . $url . '">' . __( 'Open in Live Composer', 'live-composer-page-builder' ) . '</a>';
524
  }
539
 
540
  if ( true === $dslc_admin_interface_on && $current_screen->action != 'add' && ! array_key_exists( $current_post_type, $dslc_var_templates_pt ) && $current_post_type != 'dslc_testimonials' ) {
541
 
542
+ $url = DSLC_EditorInterface::get_editor_link_url( get_the_ID() );
543
 
544
  echo '<a class="button button-hero" target="_blank" href="' . $url . '">' . __( 'Open in Live Composer', 'live-composer-page-builder' ) . '</a>';
545
  }
554
 
555
  if ( get_post_type( get_the_ID() ) == 'page' && is_admin() ) {
556
 
557
+ $url = DSLC_EditorInterface::get_editor_link_url( get_the_ID() );
558
  ?>
559
  <div id="lc_content_wrap">
560
  <h2> <?php _e( 'Edit this page in Live Composer', 'live-composer-page-builder' ); ?></h2>
includes/scripts.php CHANGED
@@ -94,6 +94,8 @@ final class DSLC_Scripts{
94
  */
95
  if ( $dslc_active && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
96
 
 
 
97
  ob_start();
98
  wp_editor( '', 'enqueue_tinymce_scripts' );
99
  ob_end_clean();
@@ -109,7 +111,6 @@ final class DSLC_Scripts{
109
 
110
  wp_enqueue_style( 'dslc-builder-main-css', DS_LIVE_COMPOSER_URL . 'css/builder/builder.main.css', array(), DS_LIVE_COMPOSER_VER );
111
  wp_enqueue_style( 'dslc-builder-plugins-css', DS_LIVE_COMPOSER_URL . 'css/builder/builder.plugins.css', array(), DS_LIVE_COMPOSER_VER );
112
-
113
  }
114
 
115
  /**
@@ -128,6 +129,19 @@ final class DSLC_Scripts{
128
  }
129
  }
130
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
  /**
132
  * Load CSS and JS files in wp-admin area
133
  *
@@ -200,8 +214,8 @@ final class DSLC_Scripts{
200
  wp_enqueue_script( 'jquery-ui-resizable' );
201
 
202
  wp_enqueue_script( 'wp-mediaelement' );
203
- wp_enqueue_script( 'imagesloaded' ); // Need this for Masonry.
204
- wp_enqueue_script( 'jquery-masonry' );
205
 
206
  wp_enqueue_script( 'dslc-builder-plugins-js', DS_LIVE_COMPOSER_URL . 'js/builder/builder.plugins.js', array( 'jquery' ), DS_LIVE_COMPOSER_VER );
207
 
94
  */
95
  if ( $dslc_active && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
96
 
97
+ add_action( 'after_wp_tiny_mce', array( __CLASS__, 'callback_tinymce' ) );
98
+
99
  ob_start();
100
  wp_editor( '', 'enqueue_tinymce_scripts' );
101
  ob_end_clean();
111
 
112
  wp_enqueue_style( 'dslc-builder-main-css', DS_LIVE_COMPOSER_URL . 'css/builder/builder.main.css', array(), DS_LIVE_COMPOSER_VER );
113
  wp_enqueue_style( 'dslc-builder-plugins-css', DS_LIVE_COMPOSER_URL . 'css/builder/builder.plugins.css', array(), DS_LIVE_COMPOSER_VER );
 
114
  }
115
 
116
  /**
129
  }
130
  }
131
 
132
+ /**
133
+ * Fires after tinyMCE included
134
+ */
135
+ public static function callback_tinymce() {
136
+
137
+ ?>
138
+ <script type="text/javascript">
139
+ window.parent.previewAreaTinyMCELoaded.call(window);
140
+ </script>
141
+ <?php
142
+ }
143
+
144
+
145
  /**
146
  * Load CSS and JS files in wp-admin area
147
  *
214
  wp_enqueue_script( 'jquery-ui-resizable' );
215
 
216
  wp_enqueue_script( 'wp-mediaelement' );
217
+ //wp_enqueue_script( 'imagesloaded' ); // Need this for Masonry.
218
+ //wp_enqueue_script( 'jquery-masonry' );
219
 
220
  wp_enqueue_script( 'dslc-builder-plugins-js', DS_LIVE_COMPOSER_URL . 'js/builder/builder.plugins.js', array( 'jquery' ), DS_LIVE_COMPOSER_VER );
221
 
includes/single-templates-framework/inc/filters.php CHANGED
@@ -86,14 +86,13 @@ function dslc_st_template_switch() {
86
  $return_template = DS_LIVE_COMPOSER_ABS . '/templates/dslc-single.php';
87
  }
88
 
89
- // Redirect
90
  include( $return_template );
91
 
92
- // Bye bye
93
- exit();
94
 
95
  }
96
-
97
  }
98
 
99
  } add_action( 'template_redirect', 'dslc_st_template_switch' );
@@ -101,7 +100,6 @@ function dslc_st_template_switch() {
101
  /**
102
  * Add columns to the Templates Listing table.
103
  */
104
-
105
  function dslc_templates_col_title( $defaults ) {
106
 
107
  unset( $defaults['date'] );
86
  $return_template = DS_LIVE_COMPOSER_ABS . '/templates/dslc-single.php';
87
  }
88
 
89
+ // Redirect.
90
  include( $return_template );
91
 
92
+ // Bye bye.
93
+ exit();
94
 
95
  }
 
96
  }
97
 
98
  } add_action( 'template_redirect', 'dslc_st_template_switch' );
100
  /**
101
  * Add columns to the Templates Listing table.
102
  */
 
103
  function dslc_templates_col_title( $defaults ) {
104
 
105
  unset( $defaults['date'] );
includes/single-templates-framework/inc/functions.php CHANGED
@@ -33,7 +33,7 @@ function dslc_st_init() {
33
  'parent' => __( 'Parent Template', 'live-composer-page-builder' ),
34
  ),
35
  'public' => true,
36
- // 'exclude_from_search' => true, // 404 page is broken with this parameter.
37
  'publicly_queryable' => true,
38
  'supports' => array( 'title', 'custom-fields', 'thumbnail' ),
39
  'capabilities' => array(
33
  'parent' => __( 'Parent Template', 'live-composer-page-builder' ),
34
  ),
35
  'public' => true,
36
+ 'exclude_from_search' => true, // 404 page is broken with this parameter.
37
  'publicly_queryable' => true,
38
  'supports' => array( 'title', 'custom-fields', 'thumbnail' ),
39
  'capabilities' => array(
includes/upgrade.class.php CHANGED
@@ -13,46 +13,38 @@ final class DSLC_Upgrade {
13
 
14
  public static function init() {
15
 
16
- $curr_version = get_option( 'dslc_version' );
 
17
 
18
- if ( ! is_array( $curr_version ) ) {
 
19
 
20
- $curr_version = array();
 
21
  }
22
 
23
  /** Migration usage example
24
 
25
- if ( ! in_array( '1', $curr_version ) ) {
26
 
27
- self::update_1();
28
- $curr_version[] = 1;
29
  }
30
 
31
- if ( ! in_array( '1.3', $curr_version ) ) {
32
-
33
- self::update_1_3();
34
- $curr_version[] = '1.3';
35
- }*/
36
 
37
- if ( ! in_array( DS_LIVE_COMPOSER_VER, $curr_version ) ) {
 
38
 
39
- $curr_version[] = DS_LIVE_COMPOSER_VER;
40
- }
41
 
42
- $curr_version = sort( $curr_version );
43
 
44
- // Updated ro current version.
45
- update_option( 'dslc_version', $curr_version );
 
46
  }
47
 
48
  /**
49
- * 1 version migration example
50
-
51
- public static function update_1() {
52
-
53
- // Some code on version 1.
54
- // Update_option( 'dslc_version', 1 );
55
- }
56
  * 1.3 version migration example
57
 
58
  public static function update_1_3() {
13
 
14
  public static function init() {
15
 
16
+ $curr_version = DS_LIVE_COMPOSER_VER;
17
+ $versions_log = get_option( 'dslc_version', array() );
18
 
19
+ // Make sure $versions_log is array.
20
+ if ( $versions_log && ! is_array( $versions_log ) ) {
21
 
22
+ $versions_log = array();
23
+ $versions_log[] = get_option( 'dslc_version', array() );
24
  }
25
 
26
  /** Migration usage example
27
 
28
+ if ( ! in_array( '1.3', $versions_log ) ) {
29
 
30
+ self::update_1_3();
 
31
  }
32
 
33
+ */
 
 
 
 
34
 
35
+ // Update versions update history with new version.
36
+ if ( ! in_array( $curr_version, $versions_log ) ) {
37
 
38
+ $versions_log[] = $curr_version;
 
39
 
40
+ usort( $versions_log, 'version_compare' );
41
 
42
+ // Updated to current version.
43
+ update_option( 'dslc_version', $versions_log );
44
+ }
45
  }
46
 
47
  /**
 
 
 
 
 
 
 
48
  * 1.3 version migration example
49
 
50
  public static function update_1_3() {
js/builder.all.min.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";function dslc_ui_animations(){if(dslcDebug)console.log("dslc_ui_animations");jQuery(document).on("mouseenter",".dslca-modules-area-manage",function(){jQuery(this).closest(".dslc-modules-area").addClass("dslca-options-hovered")}).on("mouseleave",".dslca-modules-area-manage",function(){jQuery(this).closest(".dslc-modules-area").removeClass("dslca-options-hovered")});jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-module-front",function(a){if(!jQuery("body").hasClass("dslca-composer-hidden")){if(jQuery(this).height()<190)jQuery(".dslca-module-manage",this).addClass("dslca-horizontal");else jQuery(".dslca-module-manage",this).removeClass("dslca-horizontal")}}).on("mouseleave",".dslca-drag-not-in-progress .dslc-module-front",function(a){if(!jQuery("body").hasClass("dslca-composer-hidden")){jQuery(this).find(".dslca-change-width-module-options").hide()}jQuery(this).find(".dslca-module-manage").removeClass("dslca-module-manage-change-width-active")});jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-modules-area",function(a){var b=jQuery(this);if(!jQuery("body").hasClass("dslca-composer-hidden")){if(jQuery(this).height()<130)jQuery(".dslca-modules-area-manage",this).addClass("dslca-horizontal");else jQuery(".dslca-modules-area-manage",this).removeClass("dslca-horizontal")}}).on("mouseleave",".dslca-drag-not-in-progress .dslc-modules-area",function(a){var b=jQuery(this);if(!jQuery("body").hasClass("dslca-composer-hidden")){}})}jQuery(document).ready(function(){dslc_ui_animations()});"use strict";function dslc_save_composer(){if(dslcDebug)console.log("dslc_save_composer");dslc_generate_code();dslca_gen_content_for_search();var a=jQuery("#dslca-code").val(),b=jQuery("#dslca-content-for-search").val(),c=jQuery(".dslca-container").data("post-id");jQuery("body").addClass("dslca-saving-in-progress");jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-ok").addClass("dslc-icon-spin dslc-icon-spinner");jQuery.ajax({method:"POST",type:"POST",url:DSLCAjax.ajaxurl,data:{action:"dslc-ajax-save-composer",dslc:"active",dslc_post_id:c,dslc_code:a,dslc_content_for_search:b},timeout:1e4}).done(function(a){if(a.status=="success"){jQuery(".dslca-save-composer").fadeOut(250);jQuery(".dslca-save-draft-composer").fadeOut(250)}else{alert("Something went wrong, please try to save again. Are you sure to make any changes? Error Code: "+a.status)}}).fail(function(a){if(a.statusText=="timeout"){alert("The request timed out after 10 seconds. Server do not respond in time. Please try again.")}else{alert("Something went wrong. Please try again. Error Code: "+a.statusText)}}).always(function(a){jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-ok");jQuery("body").removeClass("dslca-saving-in-progress")})}function dslc_save_draft_composer(){if(dslcDebug)console.log("dslc_save_draft_composer");var a=jQuery("#dslca-code").val(),b=jQuery(".dslca-container").data("post-id");jQuery("body").addClass("dslca-saving-in-progress");jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-ok").addClass("dslc-icon-spin dslc-icon-spinner");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-draft-composer",dslc:"active",dslc_post_id:b,dslc_code:a},function(a){jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-save");if(a.status=="success"){jQuery(".dslca-save-draft-composer").fadeOut(250)}else{alert("Something went wrong, please try to save again.")}jQuery("body").removeClass("dslca-saving-in-progress")})}function dslc_generate_code(){if(dslcDebug)console.log("dslc_generate_code");var a="",b,c="",d=12,e=12,f=0,g=0,h,i,j,k,l,m="";jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(jQuery(".dslc-module-front",this).length){jQuery(this).removeClass("dslc-modules-area-empty").addClass("dslc-modules-area-not-empty");jQuery(".dslca-no-content",this).hide()}else{jQuery(this).removeClass("dslc-modules-area-not-empty").addClass("dslc-modules-area-empty");jQuery(".dslca-no-content:not(:visible)",this).show().css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",padding:0}).animate({padding:"35px 0"},300)}});jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(jQuery(".dslc-modules-area",this).length){jQuery(this).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty")}else{jQuery(this).removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")}jQuery(".dslc-modules-area.dslc-last-col, .dslc-modules-area.dslc-first-col",this).removeClass("dslc-last-col dslc-first-col");jQuery(".dslc-module-front.dslc-last-col, .dslc-module-front.dslc-first-col",this).removeClass("dslc-last-col dslc-first-col");g=0;l=jQuery(this);m="";jQuery(".dslca-modules-section-settings input",l).each(function(){m=m+jQuery(this).data("id")+'="'+jQuery(this).val()+'" '});c=c+"[dslc_modules_section "+m+"] ";jQuery(".dslc-modules-area",l).each(function(){f=0;i=jQuery(this);h=parseInt(i.data("size"));j="no";k="no";g+=h;if(g==e){jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col");g=0;j="yes"}else if(g>e){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");g=h;k="yes"}if(g==h){k="yes"}c=c+'[dslc_modules_area last="'+j+'" first="'+k+'" size="'+h+'"] ';jQuery(".dslc-module-front",i).each(function(){var e=jQuery(this);b=parseInt(e[0].getAttribute("data-dslc-module-size"));var g="no";var h="no";f+=b;if(f==d){jQuery(this).addClass("dslc-last-col");jQuery(this).next(".dslc-module-front").addClass("dslc-first-col");f=0;g="yes";h="yes"}else if(f>d){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");f=b;h="yes"}try{a=e[0].querySelector(".dslca-module-code").value}catch(i){console.info("No DSLC code found in module: "+e[0].getAttribute("id"))}if(""!==a){c=c+'[dslc_module last="'+g+'"]'+a+"[/dslc_module] "}a=""});c=c+"[/dslc_modules_area] "});c=c+"[/dslc_modules_section] "});jQuery("#dslca-code").val(c);jQuery("#dslca-export-code").val(c)}function dslc_generate_section_code(a){if(dslcDebug)console.log("dslc_generate_section_code");var b,c,d="",e=12,f=12,g=0,h=0,i,j,k,l,m,n="";h=0;var m=a;jQuery(".dslca-modules-section-settings input",m).each(function(){n=n+jQuery(this).data("id")+'="'+jQuery(this).val()+'" '});d=d+"[dslc_modules_section "+n+"] ";jQuery(".dslc-modules-area",m).each(function(){j=jQuery(this);i=parseInt(j.data("size"));k="no";l="no";h+=i;if(h==f){jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col");h=0;k="yes"}else if(h>f){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");h=i;l="yes"}if(h==i){l="yes"}d=d+'[dslc_modules_area last="'+k+'" first="'+l+'" size="'+i+'"] ';jQuery(".dslc-module-front",j).each(function(){c=parseInt(jQuery(this).data("dslc-module-size"));g+=c;if(g==i){jQuery(this).addClass("dslc-last-col").next(".dslc-module-front").addClass("dslc-first-col");g=0}b=jQuery(this).find(".dslca-module-code").val();d=d+"[dslc_module]"+b+"[/dslc_module] "});d=d+"[/dslc_modules_area] "});d=d+"[/dslc_modules_section] ";return d}jQuery(document).ready(function(a){a(document).on("click",".dslca-save-composer-hook",function(b){b.preventDefault();if(!a("body").hasClass("dslca-module-saving-in-progress")&&!a("body").hasClass("dslca-saving-in-progress")){dslc_save_composer()}});a(document).on("click",".dslca-save-draft-composer-hook",function(b){b.preventDefault();if(!a("body").hasClass("dslca-module-saving-in-progress")&&!a("body").hasClass("dslca-saving-in-progress")){dslc_save_draft_composer()}})});function dslca_gen_content_for_search(){if(dslcDebug)console.log("dslca_gen_content_for_search");var a=document.getElementById("dslca-content-for-search");if(null===a){return}var b=a.value;var c="";var d=LiveComposer.Builder.PreviewAreaWindow.document.querySelectorAll("#dslc-main .dslc-module-front [data-exportable-content]");if(undefined!==d){Array.prototype.forEach.call(d,function(a,b){var d;if(a.getAttribute("data-exportable-content")!==""){var e=a.getAttribute("data-exportable-content");d="<"+e+">"+a.innerHTML+"</"+e+">"}else{d=a.innerHTML}if(d!==null){c+=d.replace(/\s+/g," ").trim()+"\n"}})}a.value=c;if(b!==c){dslc_show_publish_button()}}"use strict";var dslcRegularFontsArray=DSLCFonts.regular;var dslcGoogleFontsArray=DSLCFonts.google;var dslcAllFontsArray=dslcRegularFontsArray.concat(dslcGoogleFontsArray);var dslcIconsCurrentSet=DSLCIcons.fontawesome;var dslcDebug=false;var LiveComposer={Builder:{Elements:{},UI:{},Actions:{},Flags:{},PreviewFrame:{},Helpers:{}},Production:{},Utils:{}};(function(){LiveComposer.Builder.Flags={windowScroller:false,panelOpened:false,generate_code_after_row_changed:true};LiveComposer.Builder.Actions={postponed_actions_queue:{},add_postponed_action:function(a){if(a===undefined){return}if(isNaN(this.postponed_actions_queue[a])){this.postponed_actions_queue[a]=0}this.postponed_actions_queue[a]+=1},release_postponed_actions:function(){var a=this;jQuery.each(this.postponed_actions_queue,function(b,c){if(1<c){a.postponed_actions_queue[b]-=1}else if(1==c){window[b]();a.postponed_actions_queue[b]-=1}})}};LiveComposer.Builder.Helpers.insertModule=function(a,b){var c=jQuery(a),b=jQuery(b);var d=[];c.find("script").each(function(){d.push(this.innerHTML);this.parentNode.removeChild(this)});b.after(c).remove();d.forEach(function(a){var b=LiveComposer.Builder.PreviewAreaDocument[0].createElement("script");b.innerHTML=a;b.type="text/javascript";LiveComposer.Builder.PreviewAreaDocument[0].getElementById(c[0].id).appendChild(b)});return c}})();"use strict";LiveComposer.Builder.UI.CModalWindow=function(a){if(typeof a!="object"||this.instancesExists===true)return false;var b=this;var c='<div class="dslca-prompt-modal dslca-prompt-modal-active">'+'<div class="dslca-prompt-modal-content"><div class="dslca-prompt-modal-msg">'+'<span class="dslca-prompt-modal-title">'+a.title+"</span>"+'<span class="dslca-prompt-modal-descr">'+a.content+"</span></div>";var d="";if(a.confirm||a.cancel){d='<div class="dslca-prompt-modal-actions">'+'<a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok">'+"</span>"+(a.confirm_title?a.confirm_title:"Confirm")+'</a><span class="dslca-prompt-modal-cancel-hook"><span class="dslc-icon dslc-icon-remove">'+"</span>"+(a.cancel_title?a.cancel_title:"Cancel")+"</span></div>"}else{d='<div class="dslca-prompt-modal-actions">'+'<a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok">'+"</span>"+(a.ok_title?a.ok_title:"OK")+"</a></div>"}c+=d+"</div>";c=jQuery(c);if(typeof a.confirm!="function")a.confirm=function(){};if(typeof a.cancel!="function")a.cancel=function(){};c.find(".dslca-prompt-modal-confirm-hook").click(function(d){d.stopPropagation();c.find(".dslca-prompt-modal-content").animate({top:"55%"},400);c.animate({opacity:0},400,function(){a.confirm();b.instancesExists=false;jQuery(this).remove()});return false});c.find(".dslca-prompt-modal-cancel-hook").click(function(d){d.stopPropagation();c.find(".dslca-prompt-modal-content").animate({top:"55%"},400);c.animate({opacity:0},400,function(){jQuery(this).remove();b.instancesExists=false;a.cancel()});return false});c.hide();jQuery("body").append(c);c.css({opacity:0}).show().animate({opacity:1},400);c.find(".dslca-prompt-modal-content").css({top:"55%"}).animate({top:"50%"},400);this.instancesExists=true};"use strict";function dslc_show_modal(a,b){if(dslcDebug)console.log("dslc_show_modal");dslc_hide_modal("",jQuery(".dslca-modal:visible"));var b=jQuery(b);var c=jQuery(".dslca-container").height();b.outerHide({clbk:function(){dslc_hide_modal("",jQuery(".dslca-modal:visible"))}});var d=jQuery(a).position(),e=b.outerWidth()/2-a.outerWidth()/2,f=d.left-e;b.css({left:f}).show();jQuery(".dslca-prompt-modal-custom").insertAfter(b);jQuery(".dslca-prompt-modal-custom").length>0&&jQuery(".dslca-prompt-modal-custom").fadeIn();b.addClass("dslca-modal-open");b.css({}).fadeIn(600)}function dslc_hide_modal(a,b){if(dslcDebug)console.log("dslc_hide_modal");var b=jQuery(b);b.outerHide("destroy");b.hide();jQuery(".dslca-prompt-modal-custom").length>0&&jQuery(".dslca-prompt-modal-custom").fadeOut();b.removeClass("dslca-modal-open")}jQuery(document).ready(function(a){a(document).on("click",".dslca-open-modal-hook",function(a){a.preventDefault();var b=jQuery(this).data("modal");dslc_show_modal(jQuery(this),b)});jQuery(document).on("click",".dslca-close-modal-hook",function(a){a.preventDefault();if(!jQuery(this).hasClass("dslca-action-disabled")){var b=jQuery(this).data("modal");dslc_hide_modal(jQuery(this),b)}})});function dslc_js_confirm(a,b,c){if(dslcDebug)console.log("dslc_js_confirm");jQuery(".dslca-prompt-modal").addClass("dslca-prompt-modal-active");jQuery(".dslca-prompt-modal").data("id",a);jQuery(".dslca-prompt-modal").data("target",c);jQuery(".dslca-prompt-modal-msg").html(b);jQuery(".dslca-prompt-modal").css({opacity:0}).show().animate({opacity:1},400);jQuery(".dslca-prompt-modal-content").css({top:"55%"}).animate({top:"50%"},400)}function dslc_js_confirm_close(){if(dslcDebug)console.log("dslc_js_confirm_close");jQuery(".dslca-prompt-modal").removeClass("dslca-prompt-modal-active");jQuery(".dslca-prompt-modal").animate({opacity:0},400,function(){jQuery(this).hide();jQuery(".dslca-prompt-modal-cancel-hook").show();jQuery(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_confirm)});jQuery(".dslca-prompt-modal-content").animate({top:"55%"},400)}function dslc_modal_keypress_events(a){if(a.which==13){if(jQuery(".dslca-prompt-modal-active").length){jQuery(".dslca-prompt-modal-confirm-hook").trigger("click")}}else if(a.which==27){if(jQuery(".dslca-prompt-modal-active").length){jQuery(".dslca-prompt-modal-cancel-hook").trigger("click")}}}jQuery(document).ready(function(a){a(document).on("click",".dslca-prompt-modal-cancel-hook",function(a){a.preventDefault();var b=jQuery(".dslca-prompt-modal").data("id");var c=jQuery(".dslca-prompt-modal").data("target");if(b=="edit_in_progress"){dslc_module_options_cancel_changes(function(){c.trigger("click")})}else if(b=="delete_module"){}dslc_js_confirm_close();jQuery(".dslca-prompt-modal").data("id","")});a(document).on("click",".dslca-prompt-modal-confirm-hook",function(b){b.preventDefault();var c=jQuery(".dslca-prompt-modal").data("id");var d=jQuery(".dslca-prompt-modal").data("target");var e=true;if(c=="edit_in_progress"){dslc_module_options_confirm_changes(function(){d.trigger("click")})}else if(c=="disable_lc"){window.location=d}else if("delete_module"===c){var f=d.closest(".dslc-module-front");dslc_delete_module(f)}else if("delete_modules_area"===c){var g=d.closest(".dslc-modules-area");var h=g.closest(".dslc-modules-section-inner");dslc_modules_area_delete(g)}else if(c=="delete_modules_section"){dslc_row_delete(d.closest(".dslc-modules-section"))}else if(c=="export_modules_section"){}else if(c=="import_modules_section"){dslc_row_import(a(".dslca-prompt-modal textarea").val());a(".dslca-prompt-modal-confirm-hook span").css({opacity:0});a(".dslca-prompt-modal-confirm-hook .dslca-loading").show();e=false}if(e)dslc_js_confirm_close();jQuery(".dslca-prompt-modal").data("id","")})});"use strict";jQuery(document).on("editorFrameLoaded",function(){var a=jQuery;var b=function(){if(LiveComposer.Builder.Flags.panelOpened){LiveComposer.Builder.UI.shakePanelConfirmButton();return false}return true};LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-module-hook",function(c){c.preventDefault();if(!b())return false;if(!a(this).hasClass("dslca-action-disabled")){dslc_module_copy(a(this).closest(".dslc-module-front"))}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-module-hook",function(c){c.preventDefault();if(!b())return false;var d=this;if(!a(this).hasClass("dslca-action-disabled")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_del_module_title,content:DSLCString.str_del_module_descr,confirm:function(){var a=jQuery(d).closest(".dslc-module-front");dslc_delete_module(a)}})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-module-edit-hook, .dslc-module-front > div:not(.dslca-module-manage)",function(b){if(dslcDebug)console.log("dslca-module-edit-hook");b.preventDefault();var c=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;var d=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(a("body").hasClass("dslca-composer-hidden")||c>0||d>0){if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument)[0]!=jQuery(this).closest(".dslc-module-front")[0]){LiveComposer.Builder.UI.shakePanelConfirmButton()}return false}var e=a(this).closest(".dslc-module-front"),f=e.data("dslc-module-id");a(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");e.addClass("dslca-module-being-edited");dslc_module_options_show(f);jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("module-editing-in-progress")});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-module-hook",function(c){c.preventDefault();if(!b())return false;if(!a(this).hasClass("dslca-action-disabled")){a(".dslca-change-width-module-options",this).toggle();a(this).closest(".dslca-module-manage").toggleClass("dslca-module-manage-change-width-active")}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-module-options span",function(){dslc_module_width_set(jQuery(this).closest(".dslc-module-front"),jQuery(this).data("size"))});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-wysiwyg-actions-edit-hook",function(){var a=jQuery(this).parent().siblings(".dslca-editable-content");var b=a.closest(".dslc-module-front");if(b.hasClass("dslc-module-handle-like-accordion")){LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(b.find(".dslc-accordion"));var c=b.find('.dslca-module-option-front[data-id="accordion_content"]').val();var d=c.split("(dslc_sep)");var e=a.closest(".dslc-accordion-item").index();var f=d[e].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else if(b.hasClass("dslc-module-handle-like-tabs")){LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(b.find(".dslc-tabs"));var c=b.find('.dslca-module-option-front[data-id="tabs_content"]').val();var d=c.split("(dslc_sep)");var e=a.closest(".dslc-tabs-tab-content").index();var f=d[e].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else{var f=b.find('.dslca-module-option-front[data-id="'+a.data("id")+'"]').val().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}if(typeof tinymce!="undefined"){var g=tinymce.get("dslcawpeditor");if(jQuery("#wp-dslcawpeditor-wrap").hasClass("tmce-active")){g.setContent(f,{format:"html"})}else{jQuery("textarea#dslcawpeditor").val(f)}if(!b.hasClass("dslca-module-being-edited")){b.find(".dslca-module-edit-hook").trigger("click")}jQuery(".dslca-wp-editor").show();a.addClass("dslca-wysiwyg-active");jQuery("#dslcawpeditor_ifr, #dslcawpeditor").css({height:jQuery(".dslca-wp-editor").height()-300})}else{console.info("Live Composer: TinyMCE is undefined.")}});LiveComposer.Builder.PreviewAreaDocument.on("blur",".dslca-editable-content",function(){if(!jQuery("body").hasClass("dslca-composer-hidden")&&jQuery(this).data("type")=="simple"){dslc_editable_content_gen_code(jQuery(this))}}).on("paste",".dslca-editable-content",function(){if(!jQuery("body").hasClass("dslca-composer-hidden")&&jQuery(this).data("type")=="simple"){var a=jQuery(this);setTimeout(function(){if(a.data("type")=="simple"){a.html(a.text())}dslc_editable_content_gen_code(jQuery(this))},1)}}).on("focus",".dslca-editable-content",function(){if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length>0&&!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).trigger("blur")}}).on("keyup",".dslca-editable-content",function(){if(jQuery(this).data("type")=="simple"){jQuery(this).closest(".dslc-module-front").addClass("dslca-module-change-made")}})});function dslc_module_delete(a){if(dslcDebug)console.log("dslc_delete_module");a.addClass("dslca-module-being-deleted");if(a.hasClass("dslca-module-being-edited")){dslc_show_section(".dslca-modules")}setTimeout(function(){a.remove();dslc_generate_code();dslc_show_publish_button()},1e3);a.css({"-webkit-animation-name":"dslcBounceOut2","-moz-animation-name":"dslcBounceOut2","animation-name":"dslcBounceOut2","animation-duration":"0.6s","-webkit-animation-duration":"0.6s"}).animate({opacity:0},500,function(){a.css({marginBottom:0}).animate({height:0},400,"easeOutQuart")})}function dslc_module_copy(a){if(dslcDebug)console.log("dslc_copy_module");jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");var b=a[0].cloneNode(true);jQuery(b).appendTo(a.closest(".dslc-modules-area")).css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).addClass("dslca-module-being-edited");dslc_module_new_id(b);dslc_generate_code();jQuery(b).css({opacity:0}).removeClass("dslca-module-being-edited").animate({opacity:1},300);dslc_show_publish_button()}function dslc_module_new_id(a){var b=LiveComposer.Utils.get_unique_id();var c=a.getAttribute("id");a.setAttribute("data-module-id",b);a.setAttribute("id","dslc-module-"+b);var d=a.getElementsByTagName("style")[0];var e=d.textContent;d.setAttribute("id","#css-for-dslc-module-"+b);e=e.split(c).join("dslc-module-"+b);d.textContent=e;LiveComposer.Utils.update_module_property_raw(a,"module_instance_id",b)}function dslc_module_width_set(a,b){if(dslcDebug)console.log("dslc_module_width_set");var c="dslc-"+b+"-col";a.removeClass("dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col").addClass(c);a[0].setAttribute("data-dslc-module-size",b);LiveComposer.Utils.update_module_property_raw(a[0],"dslc_m_size",b);dslc_generate_code();dslc_show_publish_button()}function dslc_module_options_show(a){if(dslcDebug)console.log("dslc_module_options_show");var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),c=jQuery(".dslca-module-options-front textarea",b),d=jQuery(".dslca-header").data("default-section"),e=jQuery(jQuery("#pseudo-panel").html());jQuery("#wpwrap").append(e);var f={};f["action"]="dslc-ajax-display-module-options";f["dslc"]="active";f["dslc_module_id"]=a;f["dslc_post_id"]=jQuery(".dslca-container").data("data-post-id");f.dslc_url_vars=LiveComposer.Utils.get_page_params();c.each(function(){var a=jQuery(this),b=a.data("id"),c=a.val();f[b]=c});jQuery(".dslca-wp-editor-actions").hide();jQuery(".dslca-wp-editor-notification").show();dslc_hide_publish_button();LiveComposer.Builder.UI.initInlineEditors();var g=jQuery(".dslca-module-options-front",b).children().clone();LiveComposer.Builder.moduleBackup=g;LiveComposer.Builder.Flags.panelOpened=true;e.show();e.addClass("show");jQuery.post(DSLCAjax.ajaxurl,f,function(a){e.remove();dslc_show_section(".dslca-module-edit");if(!jQuery("body").hasClass("rtl")){jQuery(".dslca-module-edit-options-inner").html(a.output)}else{jQuery(".dslca-module-edit-options-inner").html(a.output)}jQuery(".dslca-module-edit-options-tabs").html(a.output_tabs);jQuery(".dslca-header .dslca-options-filter-hook").show();if(jQuery('.dslca-module-edit-option[data-section="'+d+'"]').length){jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+d+'"]').show();jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+d+'"]').trigger("click")}else{jQuery(".dslca-header .dslca-options-filter-hook:first").hide();jQuery(".dslca-header .dslca-options-filter-hook:first").next(".dslca-options-filter-hook").trigger("click")}jQuery(".dslca-module-edit-actions").show();jQuery(".dslca-wp-editor-notification").hide();jQuery(".dslca-wp-editor-actions").show();jQuery(".dslca-header .dslca-go-to-section-hook").hide();jQuery(".dslca-row-edit-actions").hide();LiveComposer.Builder.UI.loadOptionsDeps()})}function dslc_module_output_default(a,b){if(dslcDebug)console.log("dslc_module_output_default");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-module",dslc:"active",dslc_module_id:a,dslc_post_id:jQuery(".dslca-container").data("post-id"),dslc_url_vars:LiveComposer.Utils.get_page_params()},function(a){b(a)})}function dslc_module_output_altered(a){if(dslcDebug)console.log("dslc_module_output_altered");a=typeof a!=="undefined"?a:false;var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),c=b.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",b),e=b.data("module-id");var f={};f["action"]="dslc-ajax-add-module";f["dslc"]="active";f["dslc_module_id"]=c;f["dslc_module_instance_id"]=e;f["dslc_post_id"]=jQuery(".dslca-container").data("post-id");if(b.hasClass("dslca-preload-preset"))f["dslc_preload_preset"]="enabled";else f["dslc_preload_preset"]="disabled";b.removeClass("dslca-preload-preset");d.each(function(){var a=jQuery(this);var b=a.data("id");var c=a.val();f[b]=c});f.dslc_url_vars=LiveComposer.Utils.get_page_params();jQuery.post(DSLCAjax.ajaxurl,f,function(c){LiveComposer.Builder.UI.clearUtils();var d=LiveComposer.Builder.Helpers.insertModule(c.output,b);d.addClass("dslca-module-being-edited");dslc_generate_code();LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument));jQuery(".dslca-module-being-edited img",LiveComposer.Builder.PreviewAreaDocument).load(function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument))});LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();if(a){a(c)}})}function dslc_module_output_reload(a,b){if(dslcDebug)console.log("dslc_module_output_reload");b=typeof b!=="undefined"?b:false;var c=a.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",a),e=a.data("module-id");var f={};f["action"]="dslc-ajax-add-module";f["dslc"]="active";f["dslc_module_id"]=c;f["dslc_module_instance_id"]=e;f["dslc_post_id"]=jQuery(".dslca-container").data("post-id");f["dslc_preload_preset"]="enabled";a.removeClass("dslca-preload-preset");d.each(function(){var a=jQuery(this);var b=a.data("id");var c=a.val();f[b]=c});a.append('<div class="dslca-module-reloading"><span class="dslca-icon dslc-icon-spin dslc-icon-refresh"></span></div>');jQuery.post(DSLCAjax.ajaxurl,f,function(c){a.after(c.output).next().addClass("dslca-module-being-edited");a.remove();dslc_generate_code();dslc_show_publish_button();LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument));jQuery(".dslca-module-being-edited img",LiveComposer.Builder.PreviewAreaDocument).load(function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument))});LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();if(b){b(c)}jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")})}function dslc_delete_module(a){dslc_module_delete(a)}function dslc_copy_module(a){dslc_module_copy(a)}function dslc_display_module_options(a){dslc_module_options_show(a)}function dslc_get_module_output(a,b){dslc_module_output_default(a,b)}function dslc_preview_change(a){dslc_module_output_altered(a)}function dslc_reload_module(a,b){dslc_module_output_reload(a,b)}"use strict";LiveComposer.Builder.Elements.CModuleArea=function(a){var b=this;this.section=jQuery(a).closest(".dslc-modules-section");this.elem=a;this.observer=new mqMutationObserver(a,function(){var c=b.elem.classList;if(a.querySelectorAll(".dslc-module-front").length==0){c.add("dslc-modules-area-empty");c.remove("dslc-modules-area-not-empty")}else{c.remove("dslc-modules-area-empty");c.add("dslc-modules-area-not-empty")}},{childList:true});this.sortable=Sortable.create(a,{group:"modules",animation:350,handle:".dslca-move-module-hook",draggable:".dslc-module-front",ghostClass:"dslca-module-ghost",chosenClass:"dslca-module-dragging",scroll:true,scrollSensitivity:150,scrollSpeed:15,setData:function(a,b){a.setData(LiveComposer.Utils.msieversion()!==false?"Text":"text/html",b.innerHTML)},onStart:function(a){a.oldIndex;jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress")},onEnd:function(a){a.oldIndex;a.newIndex;a.preventDefault();dslc_generate_code();LiveComposer.Builder.UI.stopScroller();jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress")},onAdd:function(a){var c=a.item;a.from;if(jQuery(c).data("id")=="DSLC_M_A"){dslc_modules_area_add(jQuery(b.section).find(".dslc-modules-section-wrapper .dslc-modules-section-inner"));c.remove()}},onUpdate:function(a){var b=a.item;dslc_show_publish_button()},onSort:function(a){},onRemove:function(a){},onFilter:function(a){var b=a.item},onMove:function(a){a.dragged;a.draggedRect;a.related;a.relatedRect;if(jQuery(".dslc-modules-area-empty").find(".dslc-module-front").length>0){jQuery(this).removeClass("dslc-modules-area-empty").addClass("dslc-modules-area-not-empty");jQuery(".dslca-no-content:not(:visible)",this).show().css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",padding:0}).animate({padding:"35px 0"},300,function(){})}}});jQuery(a).attr("data-jsinit","initialized")};"use strict";jQuery(document).on("editorFrameLoaded",function(){function a(){var a=jQuery(".dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument);jQuery(a).each(function(a,b){new LiveComposer.Builder.Elements.CModuleArea(b)})}var b=function(){if(LiveComposer.Builder.Flags.panelOpened){LiveComposer.Builder.UI.shakePanelConfirmButton();return false}return true};if(!jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).length&&!jQuery("#dslca-tut-page",LiveComposer.Builder.PreviewAreaDocument).length){dslc_row_add().then(function(b){a()})}else{a()}LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-area-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){var c=jQuery(this).closest(".dslc-modules-area");dslc_copy_modules_area(c)}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-area-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){var c=jQuery(this).closest(".dslc-modules-area").hasClass("dslc-modules-area-empty");if(!c){var d=jQuery(this);LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_del_area_title,content:DSLCString.str_del_area_descr,confirm:function(){var a=d.closest(".dslc-modules-area");dslc_modules_area_delete(a)}})}else{var e=jQuery(this).closest(".dslc-modules-area");dslc_delete_modules_area(e);
2
- }}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-modules-area-options span",function(){if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){dslc_modules_area_width_set(jQuery(this).closest(".dslc-modules-area"),jQuery(this).data("size"))}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-modules-area-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){if(jQuery(".dslca-change-width-modules-area-options:visible",this).length){jQuery(".dslca-change-width-modules-area-options",this).hide()}else{jQuery(".dslca-change-width-modules-area-options",this).show()}}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-area-hook",function(a){a.preventDefault();if(!b())return false;dslc_modules_area_add(jQuery(this).closest(".dslc-modules-section").find(".dslc-modules-section-inner"))})});function dslc_modules_area_add(a){if(dslcDebug)console.log("dslc_add_modules_area");var b='<div class="dslc-modules-area dslc-col dslc-12-col dslc-modules-area-empty " data-size="12">'+'<div class="dslca-modules-area-manage"> <div class="dslca-modules-area-manage-inner">'+'<span class="dslca-manage-action dslca-copy-modules-area-hook" title="Duplicate" ><span class="dslca-icon dslc-icon-copy">'+'</span></span> <span class="dslca-manage-action dslca-move-modules-area-hook" title="Drag to move" >'+'<span class="dslca-icon dslc-icon-move"></span></span>'+'<span class="dslca-manage-action dslca-change-width-modules-area-hook" title="Change width" >'+'<span class="dslca-icon dslc-icon-columns"></span> <div class="dslca-change-width-modules-area-options">'+'<span>Container Width</span><span data-size="1">1/12</span><span data-size="2">2/12</span>'+'<span data-size="3">3/12</span><span data-size="4">4/12</span> <span data-size="5">5/12</span><span data-size="6">6/12</span>'+'<span data-size="7">7/12</span><span data-size="8">8/12</span> <span data-size="9">9/12</span><span data-size="10">10/12</span>'+'<span data-size="11">11/12</span><span data-size="12">12/12</span> </div> </span>'+'<span class="dslca-manage-action dslca-delete-modules-area-hook" title="Delete" ><span class="dslca-icon dslc-icon-remove"></span></span> </div> </div>'+"</div>";jQuery(b).appendTo(a).css({height:0}).animate({height:99},300,function(){jQuery(this).css({height:"auto"})}).addClass("dslca-init-animation");var c=jQuery(".dslc-modules-area-empty",LiveComposer.Builder.PreviewAreaDocument);jQuery(c).each(function(a,b){new LiveComposer.Builder.Elements.CModuleArea(b)});dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button()}function dslc_modules_area_delete(a){if(dslcDebug)console.log("dslc_delete_modules_area");var b=a.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),c=false;a.addClass("dslca-modules-area-being-deleted");if(b.find(".dslc-modules-area").length<2){c=true}if(a.find(".dslca-module-being-edited").length){jQuery(".dslca-header .dslca-options-filter-hook",LiveComposer.Builder.PreviewAreaDocument).hide();jQuery(".dslca-module-edit-actions",LiveComposer.Builder.PreviewAreaDocument).hide();jQuery(".dslca-header .dslca-go-to-section-hook",LiveComposer.Builder.PreviewAreaDocument).show();dslc_show_section(".dslca-modules")}setTimeout(function(){if(c){var d=a.closest(".dslc-modules-section-inner");if(2<=a.closest("#dslc-main").find(".dslc-modules-section").length){dslc_row_delete(a.closest(".dslc-modules-section"))}else{a.remove();dslc_modules_area_add(b)}}a.remove();dslc_generate_code();dslc_show_publish_button()},900);a.css({"-webkit-animation-name":"dslcBounceOut","-moz-animation-name":"dslcBounceOut","animation-name":"dslcBounceOut","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",overflow:"hidden"}).animate({opacity:0},600).animate({height:0,marginBottom:0},300,function(){a.remove();dslc_generate_code();dslc_show_publish_button()})}function dslc_modules_area_copy(a){if(dslcDebug)console.log("dslc_copy_modules_area");var b,c=a.closest(".dslc-modules-section").find(".dslc-modules-section-inner");var d=a.clone().appendTo(c);new LiveComposer.Builder.Elements.CModuleArea(d[0]);d.find(".dslca-modules-area-manage").trigger("mouseleave");d.data("size",a.data("size")).find(".dslc-module-front").css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).each(function(){var a=jQuery(this);dslc_module_new_id(a[0]);jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");dslc_generate_code();a.animate({opacity:1},300)});dslc_drag_and_drop();dslc_show_publish_button();dslc_generate_code()}function dslc_modules_area_width_set(a,b){if(dslcDebug)console.log("dslc_modules_area_width_set");var c="dslc-"+b+"-col";a.removeClass("dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col").addClass(c).data("size",b);LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();if(LiveComposer.Builder.Flags.panelOpened){return false}dslc_generate_code();dslc_show_publish_button()}LiveComposer.Builder.moduleareas_init=function(){jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(jQuery(this).data("jsinit")!=="initialized"){new LiveComposer.Builder.Elements.CModuleArea(this)}})};function dslc_add_modules_area(a){dslc_modules_area_add(a)}function dslc_delete_modules_area(a){dslc_modules_area_delete(a)}function dslc_copy_modules_area(a){dslc_modules_area_copy(a)}"use strict";function dslc_update_preset(){if(dslcDebug)console.log("dslc_update_preset");var a=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),b=a.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),c=a.find(".dslca-module-code").val(),d=a.data("dslc-module-id");if(b!=="none"){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-preset",dslc_preset_name:b,dslc_preset_code:c,dslc_module_id:d},function(b){jQuery(".dslc-module-front:not(#"+a.attr("id")+')[data-dslc-module-id="'+a.data("dslc-module-id")+'"][data-dslc-preset="'+a.data("dslc-preset")+'"]',LiveComposer.Builder.PreviewAreaDocument).each(function(){dslc_module_output_reload(jQuery(this))})})}}jQuery(document).ready(function(a){a(document).on("keypress",'.dslca-module-edit-field[name="css_save_preset"]',function(b){if(b.which==13){var c=a(this).val(),d=c.toLowerCase().replace(/\s/g,"-");a("body").addClass("dslca-new-preset-added");a('.dslca-module-edit-field[name="css_load_preset"]').append('<option value="'+d+'">'+d+"</option>").val(d).trigger("change");a(this).val("")}});a(document).on("change",'.dslca-module-edit-field[name="css_load_preset"]',function(b){a(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-preload-preset")})});"use strict";LiveComposer.Builder.Elements.CRow=function(a){var b=this;this.elem=a;var c=jQuery(a).find(".dslc-modules-section-wrapper .dslc-modules-section-inner").eq(0)[0];jQuery(a).droppable({drop:function(a,b){var c=jQuery(this).find(".dslc-modules-section-inner");var d=b.draggable.data("id");if(d=="DSLC_M_A"){dslc_modules_area_add(c)}}});this.sortable=jQuery(c).sortable({connectWith:".dslc-modules-section-inner",items:".dslc-modules-area",handle:'.dslca-move-modules-area-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-area-placeholder",cursorAt:{top:0,left:0},tolerance:"intersect",scroll:true,scrollSensitivity:100,scrollSpeed:15,sort:function(){jQuery(this).removeClass("ui-state-default")},over:function(a,b){var c=b.placeholder.closest(".dslc-modules-section");jQuery(c).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty");c.siblings(".dslc-modules-section").each(function(){if(jQuery(".dslc-modules-area:not(.ui-sortable-helper)",jQuery(this)).length){jQuery(this).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty")}else{jQuery(this).removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")}})},remove:function(){jQuery(b.elem).find(".dslc-modules-area").length==0&&dslc_modules_area_add(jQuery(c))},update:function(a,b){dslc_generate_code();dslc_show_publish_button()},start:function(a,b){b.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_area_helper_text+"</span></span>");if(!jQuery(b.item).hasClass("dslc-12-col")){b.placeholder.width(b.item.width()-10)}else{b.placeholder.width(b.item.width()).css({margin:0})}jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress dslca-modules-area-drag-in-progress");jQuery(".dslc-modules-section-inner").sortable("refreshPositions")},stop:function(a,b){LiveComposer.Builder.UI.stopScroller();jQuery("body").removeClass("dslca-drag-in-progress dslca-modules-area-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop")},change:function(a,b){}});jQuery(a).attr("data-jsinit","initialized");jQuery(document).on("LC.sortableOff",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",true)}});jQuery(document).on("LC.sortableOn",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",false)}})};"use strict";jQuery(document).on("editorFrameLoaded",function(){var a=jQuery;var b=function(){if(LiveComposer.Builder.Flags.panelOpened){LiveComposer.Builder.UI.shakePanelConfirmButton();return false}return true};jQuery(".dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each(function(){new LiveComposer.Builder.Elements.CRow(this)});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-section-hook",function(c){if(!b())return false;c.preventDefault();var d=this;if(!a(this).hasClass("dslca-action-disabled")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_del_row_title,content:DSLCString.str_del_row_descr,confirm:function(){dslc_row_delete(a(d).closest(".dslc-modules-section"))}})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-import-modules-section-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_import_row_title,content:DSLCString.str_import_row_descr+"<br><br><textarea></textarea>",confirm:function(){dslc_row_import(jQuery(".dslca-prompt-modal textarea").val());jQuery(".dslca-prompt-modal-confirm-hook span").css({opacity:0});jQuery(".dslca-prompt-modal-confirm-hook .dslca-loading").show()},confirm_title:DSLCString.str_import})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-export-modules-section-hook",function(c){c.preventDefault();if(!b())return false;if(!a(this).hasClass("dslca-action-disabled")){a(".dslca-prompt-modal-cancel-hook").hide();a(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_ok);LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_export_row_title,content:DSLCString.str_export_row_descr+"<br><br><textarea>"+dslc_generate_section_code(a(this).closest(".dslc-modules-section"))+"</textarea></span>"})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-section-hook",function(){if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){dslc_row_copy(jQuery(this).closest(".dslc-modules-section"))}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-section-hook",function(c){c.preventDefault();if(!b())return false;var d=a(this);if(!a(this).hasClass("dslca-action-disabled")){d.find(".dslca-icon").removeClass("dslc-icon-align-justify").addClass("dslc-icon-spinner dslc-icon-spin");dslc_row_add(function(){d.find(".dslca-icon").removeClass("dslc-icon-spinner dslc-icon-spin").addClass("dslc-icon-align-justify")})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-edit-modules-section-hook",function(){if(!b())return false;var c=this;var d=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;var e=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(a("body").hasClass("dslca-composer-hidden")||d>0||e>0)return false;if(!a(this).hasClass("dslca-action-disabled")){dslc_row_edit(a(this).closest(".dslc-modules-section"))}jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("section-editing-in-progress")})});function dslc_row_add(a){if(dslcDebug)console.log("dslc_row_add");a=typeof a!=="undefined"?a:false;var b=jQuery.Deferred();jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-section",dslc:"active"},function(c){var d=jQuery(c.output);d.appendTo(LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main"));dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button();new LiveComposer.Builder.Elements.CRow(d);new LiveComposer.Builder.Elements.CModuleArea(d.find(".dslc-modules-area").eq(0)[0]);if(a){a()}d.find(".dslc-modules-area").addClass("dslc-modules-area-empty dslc-last-col");b.resolve(d[0])});return b}function dslc_row_delete(a){if(dslcDebug)console.log("dslc_row_delete");if(a.find(".dslca-module-being-edited")){jQuery(".dslca-header .dslca-options-filter-hook").hide();jQuery(".dslca-module-edit-actions").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();dslc_show_section(".dslca-modules")}a.trigger("mouseleave").remove();dslc_generate_code();dslc_show_publish_button()}function dslc_row_edit(a){if(dslcDebug)console.log("dslc_row_edit");var b,c;jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited").removeClass("dslca-modules-section-change-made");a.addClass("dslca-modules-section-being-edited");jQuery(".dslca-header .dslca-go-to-section-hook").hide();jQuery('.dslca-row-options-filter-hook[data-section="styling"], .dslca-row-options-filter-hook[data-section="responsive"]').show();jQuery('.dslca-row-options-filter-hook[data-section="styling"]').trigger("click");jQuery(".dslca-header .dslca-options-filter-hook").hide();jQuery(".dslca-module-edit-actions").hide();jQuery(".dslca-row-edit-actions").show();jQuery(".dslca-modules-section-edit-field").each(function(){if("type"===jQuery(this).data("id")){if(""===jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="type"]',LiveComposer.Builder.PreviewAreaDocument).val()||"wrapped"===jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="type"]',LiveComposer.Builder.PreviewAreaDocument).val()){jQuery('select[data-id="type"]').val("wrapper").change()}}if(jQuery(this).data("id")=="border-top"){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("top")>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else if(jQuery(this).data("id")=="border-right"){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("right")>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else if(jQuery(this).data("id")=="border-bottom"){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("bottom")>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else if(jQuery(this).data("id")=="border-left"){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("left")>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else if(jQuery(this).hasClass("dslca-modules-section-edit-field-checkbox")){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf(jQuery(this).data("val"))>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else{jQuery(this).val(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]',LiveComposer.Builder.PreviewAreaDocument).val());if(jQuery(this).hasClass("dslca-modules-section-edit-field-colorpicker")){var a=jQuery(this);jQuery(this).closest(".dslca-modules-section-edit-option").find(".sp-preview-inner").removeClass("sp-clear-display").css({"background-color":a.val()});jQuery(this).css({"background-color":a.val()})}}});jQuery(".dslca-modules-section-edit-field-upload").each(function(){var a=jQuery(this).closest(".dslca-modules-section-edit-option");if(jQuery(this).val()&&jQuery(this).val()!=="disabled"){jQuery(".dslca-modules-section-edit-field-image-add-hook",a).hide();jQuery(".dslca-modules-section-edit-field-image-remove-hook",a).show()}else{jQuery(".dslca-modules-section-edit-field-image-remove-hook",a).hide();jQuery(".dslca-modules-section-edit-field-image-add-hook",a).show()}});dslc_show_section(".dslca-modules-section-edit");LiveComposer.Builder.Flags.panelOpened=true;dslc_hide_publish_button()}function dslc_row_edit_cancel(a){if(dslcDebug)console.log("dslc_row_cancel_changes");a=typeof a!=="undefined"?a:false;LiveComposer.Builder.Flags.generate_code_after_row_changed=false;jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input",LiveComposer.Builder.PreviewAreaDocument).each(function(){jQuery(this).val(jQuery(this).data("def"));jQuery('.dslca-modules-section-edit-field[data-id="'+jQuery(this).data("id")+'"]').val(jQuery(this).data("def")).trigger("change")});LiveComposer.Builder.Flags.generate_code_after_row_changed=true;dslc_generate_code();dslc_show_publish_button();dslc_show_section(".dslca-modules");jQuery(".dslca-row-edit-actions").hide();jQuery(".dslca-row-options-filter-hook").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();dslc_show_publish_button;jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made");if(a){a()}LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress")}function dslc_row_edit_confirm(a){if(dslcDebug)console.log("dslc_confirm_row_changes");a=typeof a!=="undefined"?a:false;jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input",LiveComposer.Builder.PreviewAreaDocument).each(function(){jQuery(this).data("def",jQuery(this).val())});dslc_show_section(".dslca-modules");jQuery(".dslca-row-edit-actions").hide();jQuery(".dslca-row-options-filter-hook").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made");dslc_generate_code();dslc_show_publish_button();if(a){a()}LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress")}function dslc_row_copy(a){if(dslcDebug)console.log("dslc_row_copy");var b,c,d;c=a.clone().appendTo(jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument));c[0].removeAttribute("data-jsinit");c.find(".dslc-modules-area").each(function(){var b=jQuery(this).index();jQuery(this).data("size",a.find(".dslc-modules-area:eq( "+b+" )").data("size"));this.removeAttribute("data-jsinit")});new LiveComposer.Builder.Elements.CRow(c);c.find(".dslc-module-front").css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).each(function(){var a=jQuery(this);dslc_module_new_id(a[0]);LiveComposer.Builder.rows_init();LiveComposer.Builder.moduleareas_init();dslc_generate_code();dslc_drag_and_drop();jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");a.animate({opacity:1},300);dslc_show_publish_button()})}function dslc_row_import(a){if(dslcDebug)console.log("dslc_row_import");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-modules-section",dslc:"active",dslc_modules_section_code:a},function(a){dslc_js_confirm_close();jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).append(a.output);LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video();LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).find(".dslc-modules-section:last-child"));LiveComposer.Builder.rows_init();LiveComposer.Builder.moduleareas_init();dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button()})}function dslc_add_modules_section(){dslc_row_add()}function dslc_delete_modules_section(a){dslc_row_delete(a)}function dslc_edit_modules_section(a){dslc_row_edit(a)}function dslc_copy_modules_section(a){dslc_row_copy(a)}function dslc_import_modules_section(a){dslc_row_import(a)}jQuery(document).ready(function(a){a(document).on("click",".dslca-row-edit-save",function(){dslc_row_edit_confirm();a(".dslca-currently-editing").removeAttr("style");a(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active");LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(true)});a(document).on("click",".dslca-row-edit-cancel",function(){dslc_row_edit_cancel();a(".dslca-currently-editing").removeAttr("style");a(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active");LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(true)})});LiveComposer.Builder.rows_init=function(){jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(jQuery(this).data("jsinit")!=="initialized"){new LiveComposer.Builder.Elements.CRow(this)}})};jQuery(document).ready(function(a){var b=function(a){var b=.75;var c=500;var d=100;var e=jQuery(".dslca-section-scroller",a);var f=jQuery(".dslca-section-scroller-inner",a)[0];e.on("wheel",function(a){g(a.originalEvent.deltaY||a.originalEvent.deltaX);return false});function g(a){if(a<0){a=-d}else{a=d}a=a*b;var c=e.find(".dslca-section-scroller-content").width();var g=e.width();if(c<=g)return false;var h=c-g+10;a=parseInt(f.style.left||0)-a;a=a>=0?0:a;a=a<=-h?-h:a;f.style.left=a+"px"}jQuery(".dslca-section-scroller-prev",a).click(function(a){a.preventDefault();g(-c)});jQuery(".dslca-section-scroller-next",a).click(function(a){a.preventDefault();g(c)});jQuery(window).load(function(){jQuery(window).resize(function(){g(0)})})};b(jQuery(".dslca-section.dslca-modules"));b(jQuery(".dslca-section.dslca-templates-load"))});jQuery(document).ready(function(a){LiveComposer.Builder.UI.initPreviewAreaScroller=function(){var a=5;var b=6;LiveComposer.Builder.Flags.windowScroller=false;jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragleave",".lc-scroll-top-area, .lc-scroll-bottom-area",function(a){LiveComposer.Builder.UI.stopScroller()});jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter",".lc-scroll-bottom-area",function(c){LiveComposer.Utils.publish("LC.sortableOff",{});LiveComposer.Builder.Flags.windowScroller=setInterval(function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,a)},b)});jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter",".lc-scroll-top-area",function(c){LiveComposer.Utils.publish("LC.sortableOff",{});LiveComposer.Builder.Flags.windowScroller=setInterval(function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,-a)},b)});jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragend mouseup","body",function(a){LiveComposer.Builder.Flags.windowScroller&&LiveComposer.Builder.UI.stopScroller()})};LiveComposer.Builder.UI.stopScroller=function(){LiveComposer.Utils.publish("LC.sortableOn",{});clearInterval(LiveComposer.Builder.Flags.windowScroller);LiveComposer.Builder.Flags.windowScroller=false}});"use strict";LiveComposer.Builder.Elements.CSectionsContainer=function(a){var b=this;this.sortable=jQuery(a).sortable({items:".dslc-modules-section",handle:'.dslca-move-modules-section-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-section-placeholder",tolerance:"intersect",cursorAt:{bottom:10},axis:"y",scroll:true,scrollSensitivity:140,scrollSpeed:5,sort:function(){jQuery(this).removeClass("ui-state-default")},update:function(a,b){dslc_show_publish_button()},start:function(a,b){jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress");b.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_row_helper_text+"</span></span>");jQuery(".dslc-content").sortable("refreshPositions")},stop:function(a,b){dslc_generate_code();LiveComposer.Builder.UI.stopScroller();jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop")}});jQuery(document).on("LC.sortableOff",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",true)}});jQuery(document).on("LC.sortableOn",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",false)}})};"use strict";jQuery(document).ready(function(a){dslc_module_options_tooltip();dslc_module_options_font();dslc_module_options_icon();dslc_module_options_icon_returnid();dslc_module_options_text_align();dslc_module_options_checkbox();dslc_module_options_box_shadow();dslc_module_options_text_shadow();var b="";b+=".dslca-module-edit-field-colorpicker";b+=", .dslca-modules-section-edit-field-colorpicker";b+=", .dslca-module-edit-option-box-shadow-color";b+=", .dslca-module-edit-option-text-shadow-color";jQuery(document).on("click",b,function(){dslc_module_options_color(this);jQuery(this).next().click()});jQuery(".dslca-container").on("hover",".dslca-module-edit-option-slider .dslca-module-edit-field-numeric",function(){dslc_module_options_numeric(this)});jQuery(".dslca-container").on("hover",".dslca-modules-section-edit-option-slider .dslca-modules-section-edit-field",function(){dslc_module_options_numeric(this)});jQuery(".dslca-module-edit-form").submit(function(a){a.preventDefault();dslc_module_output_altered()});a(document).on("click",".dslca-module-edit-options-tab-hook",function(b){b.preventDefault();dslc_module_options_tab_filter(a(this))});a(document).on("click",".dslca-options-filter-hook",function(b){b.preventDefault();var c=jQuery(".dslca-options-filter-hook.dslca-active").data("section");var d=jQuery(this).data("section");a(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active");a(this).addClass("dslca-active");dslc_module_options_section_filter(d);if(c=="responsive"){jQuery(".dslca-container-loader").show();LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes();dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()});jQuery("#page-builder-preview-area").resizable("destroy").attr("style","")}if(d=="responsive"){jQuery("#page-builder-preview-area").resizable()}});jQuery(document).on("click",".dslca-module-edit-save",function(a){a.preventDefault();dslc_module_options_confirm_changes(function(){LiveComposer.Builder.UI.initInlineEditors();LiveComposer.Builder.UI.unloadOptionsDeps();LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")});jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active");dslc_disable_responsive_view()});jQuery(document).on("click",".dslca-module-edit-cancel",function(a){a.preventDefault();dslc_module_options_cancel_changes(function(){LiveComposer.Builder.UI.initInlineEditors();LiveComposer.Builder.UI.unloadOptionsDeps();LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")});jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active");dslc_disable_responsive_view()});jQuery(document).on("click",".dslca-module-edit-field-icon-switch-set",function(){var a=jQuery(".dslca-module-edit-field-icon-switch-sets");var b=jQuery(this);jQuery(".dslca-module-edit-field-icon-switch-set.dslca-active").removeClass("dslca-active");b.addClass("dslca-active");if(a.is(":visible")){jQuery(".dslca-module-edit-field-icon-switch-sets").hide()}else{var c=b.find(".dslca-module-edit-field-icon-curr-set").text();jQuery(".dslca-module-edit-field-icon-switch-sets span.dslca-active").removeClass("dslca-active");jQuery('.dslca-module-edit-field-icon-switch-sets span[data-set="'+c+'"]').addClass("dslca-active");var d=b.offset(),e=a.outerHeight(),f=a.outerWidth(),g=d.left-f/2+6,h="50%";if(g<0){h=f/2+g+"px";g=0}jQuery(".dslca-module-edit-field-icon-switch-sets").show().css({top:d.top-e-20,left:g});jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-switch-sets:after, .dslca-module-edit-field-icon-switch-sets:before { left: "+h+" }</style>"))}});jQuery(document).on("click",".dslca-module-edit-field-icon-switch-sets span",function(){var b=a(this).data("set");dslcIconsCurrentSet=DSLCIcons[b];a('.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]').data("modal",".dslc-list-icons-"+b);a(this).addClass("dslca-active").siblings(".dslca-active").removeClass("dslca-active");a(".dslca-module-edit-field-icon-switch-set.dslca-active .dslca-module-edit-field-icon-curr-set").text(b);a(".dslca-module-edit-field-icon-switch-set.dslca-active").closest(".dslca-module-edit-option").find(".dslca-module-edit-field-icon-next").trigger("click");
3
- a(".dslca-module-edit-field-icon-switch-sets").hide()});jQuery(document).on("mouseenter",".dslca-module-edit-option-icon",function(){var b=a(this).find(".dslca-module-edit-field-icon-curr-set").text();dslcIconsCurrentSet=DSLCIcons[b];a('.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]').data("modal",".dslc-list-icons-"+b)})});(function(){var a=jQuery;var b=LiveComposer.Builder;LiveComposer.Builder.Helpers.colorpickers=[];LiveComposer.Builder.UI.initInlineEditors=function(){LiveComposer.Builder.PreviewAreaWindow.tinyMCE.init({selector:".inline-editor.dslca-editable-content",editor_deselector:"mce-content-body",menubar:false,inline:true,plugins:"link",style_formats:[{title:"Paragraph",format:"p"},{title:"Header 2",format:"h2"},{title:"Header 3",format:"h3"},{title:"Header 4",format:"h4"},{title:"Header 5",format:"h5"},{title:"Header 6",format:"h6"}],toolbar:"styleselect | bold italic blockquote | removeformat | link unlink | bullist numlist "})};LiveComposer.Builder.UI.clearUtils=function(){if(Array.isArray(b.Helpers.colorpickers)){b.Helpers.colorpickers.forEach(function(a){a.spectrum("destroy")});b.Helpers.colorpickers=[]}jQuery(".temp-styles-for-module",LiveComposer.Builder.PreviewAreaDocument).remove();jQuery(".sp-container").remove()};LiveComposer.Builder.Helpers.depsHandlers=[];LiveComposer.Builder.UI.loadOptionsDeps=function(){var b=this;a(".dslca-module-edit-option").each(function(){var c=this;var d=true;try{var e=JSON.parse(LiveComposer.Utils.b64_to_utf8(a(this).data("dep")))}catch(f){d=false}if(d){var g=function(){var b=this;var c={};if((b.type=="radio"||b.type=="checkbox")&&e[b.value]==undefined){return false}if(b.type=="checkbox"&&e[b.value]!=undefined){c[b.value]=e[b.value]}else{c=e}Object.keys(c).forEach(function(d){c[d].split(",").forEach(function(c){var e=a(".dslca-module-edit-option-"+c.trim()).closest(".dslca-module-edit-option");var f=true;if(b.type=="radio"||b.type=="checkbox"){f=a(b).is(":checked")}if(b.value==d&&f){e.show()}else{e.hide()}})})};a(document).on("change dslc-init-deps",'.dslca-module-edit-option *[data-id="'+a(this).data("id")+'"]',g);b.Helpers.depsHandlers.push(g)}});a(".dslca-module-edit-option input, .dslca-module-edit-option select").trigger("dslc-init-deps")};LiveComposer.Builder.UI.unloadOptionsDeps=function(){b.Helpers.depsHandlers.forEach(function(b){a(document).unbind("change",b);a(document).unbind("dslc-init-deps",b)});b.Helpers.depsHandlers=[]};LiveComposer.Builder.Helpers.processInlineStyleTag=function(a){if(typeof a!="object")return false;var b="",c="";if(a.context.closest(".dslca-module-edit-option").data("tab")=="tablet_responsive"){b="@media only screen and (max-width: 1024px) and (min-width: 768px) {";c="}"}else if(a.context.closest(".dslca-module-edit-option").data("tab")=="phone_responsive"){b="@media only screen and (max-width: 767px) {";c="}"}a.styleContent=b+a.styleContent+c;var d=b+a.rule+a.elems;d=d.replace(/ /gi,"");if(LiveComposer.Builder.PreviewAreaDocument[0].getElementById(d)==null){var e=document.createElement("style");e.innerHTML=a.styleContent;e.id=d;e.className="temp-styles-for-module";LiveComposer.Builder.PreviewAreaDocument[0].body.appendChild(e)}else{LiveComposer.Builder.PreviewAreaDocument[0].getElementById(d).innerHTML=a.styleContent}};LiveComposer.Builder.UI.shakePanelConfirmButton=function(){jQuery(".dslca-module-edit-save").addClass("lc-shake-effect active");setTimeout(function(){jQuery(".dslca-module-edit-save").removeClass("lc-shake-effect active")},1e3)}})();function dslc_module_options_section_filter(a){if(dslcDebug)console.log("dslc_module_options_section_filter");jQuery(".dslca-module-edit-option").hide();jQuery('.dslca-module-edit-option[data-section="'+a+'"]').show();dslc_module_options_tab_filter()}function dslc_module_options_tab_filter(a){if(dslcDebug)console.log("dslc_module_options_tab_filter");var b=jQuery(".dslca-options-filter-hook.dslca-active").data("section");a=typeof a!=="undefined"?a:jQuery('.dslca-module-edit-options-tab-hook[data-section="'+b+'"]:first');var c=a.data("id");jQuery(".dslca-module-edit-options-tab-hook").removeClass("dslca-active");a.addClass("dslca-active");jQuery(".dslca-module-edit-options-tabs").show();jQuery(".dslca-module-edit-options-tab-hook").hide();jQuery('.dslca-module-edit-options-tab-hook[data-section="'+b+'"]').show();if(c){jQuery(".dslca-module-edit-option").hide();jQuery('.dslca-module-edit-option[data-tab="'+c+'"]').show();dslc_module_options_hideshow_tabs();if(jQuery(".dslca-module-edit-options-tab-hook:visible").length<2){jQuery(".dslca-module-edit-options-tabs").hide()}else{jQuery(".dslca-module-edit-options-tabs").show()}dslc_disable_responsive_view();if(c==DSLCString.str_res_tablet.toLowerCase()+"_responsive"){jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet");jQuery("body").addClass("dslc-res-tablet");jQuery("html").addClass("dslc-responsive-preview")}if(c==DSLCString.str_res_phone.toLowerCase()+"_responsive"){jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet");jQuery("body").addClass("dslc-res-phone");jQuery("html").addClass("dslc-responsive-preview")}if(c==DSLCString.str_res_tablet.toLowerCase()+"_responsive"||c==DSLCString.str_res_phone.toLowerCase()+"_responsive"){jQuery(".dslca-container-loader").show();dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()})}}}function dslc_module_options_hideshow_tabs(){if(dslcDebug)console.log("dslc_module_options_hideshow_tabs");var a=jQuery(".dslca-options-filter-hook.dslca-active").data("section");if(a=="styling"){var b=jQuery(".dslca-module-edit"),c=true,d=true,e=true,f=true,g=true,h=true,i=true,j=true,k=true,l=true,m=true,n=true,o=true,p=true,q=true,r=true,s=true,t=true,u=true,v=true,w=true,x=true,y=true,z=true,A=true;if(!jQuery('.dslca-module-edit-field[value="main_heading"]').is(":checked"))c=false;if(!jQuery('.dslca-module-edit-field[value="filters"]').is(":checked"))d=false;if(!jQuery('.dslca-module-edit-field[value="arrows"]').is(":checked"))e=false;if(!jQuery('.dslca-module-edit-field[value="circles"]').is(":checked"))f=false;if(jQuery('.dslca-module-edit-field[data-id="type"]').val()!="carousel"){e=false;f=false}if(jQuery('.dslca-module-edit-field[data-id="pagination_type"]').val()=="disabled"){g=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="thumbnail"]').is(":checked")){h=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="title"]').is(":checked")){i=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="excerpt"]').is(":checked")){j=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="meta"]').is(":checked")){k=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').is(":checked")){l=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="categories"]').is(":checked")){m=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="separator"]').is(":checked")){o=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="count"]').is(":checked")){n=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="tags"]').is(":checked")){p=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="social"]').is(":checked")){q=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="position"]').is(":checked")){r=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').is(":checked")){s=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').is(":checked")){t=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="price"]').is(":checked")){u=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="price_2"]').is(":checked")){v=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="addtocart"]').is(":checked")){w=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="details"]').is(":checked")){x=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="quote"]').is(":checked")){y=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_name"]').is(":checked")){z=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_position"]').is(":checked")){A=false}if(c)jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').hide();if(d)jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').hide();if(e)jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').hide();if(f)jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').hide();if(g)jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').hide();if(h)jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').hide();if(i)jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').hide();if(j)jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').hide();if(k)jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').hide();if(l)jQuery('.dslca-module-edit-options-tab-hook[data-id="button_styling"], .dslca-module-edit-options-tab-hook[data-id="primary_button_styling"],'+' .dslca-module-edit-options-tab-hook[data-id="secondary_button_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="button_styling"], .dslca-module-edit-options-tab-hook[data-id="primary_button_styling"],'+' .dslca-module-edit-options-tab-hook[data-id="secondary_button_styling"]').hide();if(m)jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').hide();if(o)jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').hide();if(n)jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').hide();if(p)jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').hide();if(r)jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').hide();if(q)jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').hide();if(s)jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').hide();if(t)jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').hide();if(u)jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').hide();if(v)jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').hide();if(w||x)jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').hide();if(y)jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').hide();if(z)jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').hide();if(A)jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').hide()}if(jQuery('.dslca-options-filter-hook[data-section="styling"]').hasClass("dslca-active")){if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).data("dslc-module-id")=="DSLC_Text_Simple"||jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).data("dslc-module-id")=="DSLC_TP_Content"||jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).data("dslc-module-id")=="DSLC_Html"){var B=jQuery('.dslca-module-edit-option[data-id="css_custom"]'),C=B.find("select").val();if(C=="enabled"){jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"visible"});jQuery(".dslca-module-edit-options-tabs").show()}else{jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"hidden"});jQuery(".dslca-module-edit-options-tabs").hide();B.css({visibility:"visible"})}}}else{jQuery(".dslca-module-edit-options-tabs").show()}if(jQuery('select.dslca-module-edit-field[data-id="css_res_t"]').val()=="disabled"){jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","hidden")}else{jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","visible")}if(jQuery('select.dslca-module-edit-field[data-id="css_res_p"]').val()=="disabled"){jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","hidden")}else{jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","visible")}jQuery('.dslca-module-edit-option[data-id="css_res_p"], .dslca-module-edit-option[data-id="css_res_t"]').css("visibility","visible")}function dslc_module_options_confirm_changes(a){if(dslcDebug)console.log("dslc_module_options_confirm_changes");a=typeof a!=="undefined"?a:false;if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).hasClass("dslc-module-DSLC_Sliders")){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")}else{jQuery("body").addClass("dslca-module-saving-in-progress");dslc_module_output_altered(function(){dslc_update_preset();dslc_generate_code();jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");jQuery("body").removeClass("dslca-module-saving-in-progress");if(!jQuery("body").hasClass("rtl")){jQuery(".dslca-module-edit-options-inner").html("")}else{jQuery(".dslca-module-edit-options-inner").html("")}jQuery(".dslca-module-edit-options-tabs").html("");if(a){a()}})}dslc_show_section(".dslca-modules");jQuery(".dslca-header .dslca-options-filter-hook").hide();jQuery(".dslca-module-edit-actions").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();dslc_show_publish_button()}function dslc_module_options_cancel_changes(a){if(dslcDebug)console.log("dslc_module_options_cancel_changes");a=typeof a!=="undefined"?a:false;var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);jQuery(".dslca-module-options-front",b).html("").append(LiveComposer.Builder.moduleBackup);LiveComposer.Builder.moduleBackup=false;dslc_module_output_altered(function(){dslc_generate_code();jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");if(!jQuery("body").hasClass("rtl")){jQuery(".dslca-module-edit-options-inner").html("")}else{jQuery(".dslca-module-edit-options-inner").html("")}jQuery(".dslca-module-edit-options-tabs").html("");if(a){a()}});dslc_show_section(".dslca-modules");jQuery(".dslca-header .dslca-options-filter-hook").hide();jQuery(".dslca-module-edit-actions").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();dslc_show_publish_button()}function dslc_module_options_tooltip(){jQuery(document).on("click",".dslca-module-edit-field-ttip-close",function(){jQuery(".dslca-module-edit-field-ttip, .dslca-module-edit-field-icon-ttip").hide()});jQuery(document).on("click",".dslca-module-edit-field-ttip-hook",function(){var a=jQuery(".dslca-module-edit-field-ttip"),b=a.find(".dslca-module-edit-field-ttip-inner"),c=jQuery(this),d=c.closest(".dslca-module-edit-option").find(".dslca-module-edit-field-ttip-content").html();if(a.is(":visible")){jQuery(".dslca-module-edit-field-ttip").hide()}else{b.html(d);var e=c.offset();var f=a.outerHeight();var g=a.outerWidth();var h=e.left-g/2+6;var i="50%";if(h<0){i=g/2+h+"px";h=0}jQuery(".dslca-module-edit-field-ttip").show().css({top:e.top-f-20,left:h});jQuery("head").append(jQuery("<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: "+i+" }</style>"))}});jQuery(document).on("click",".dslca-module-edit-field-icon-ttip-hook",function(){var a=jQuery(".dslca-module-edit-field-icon-ttip");var b=jQuery(this);if(a.is(":visible")){jQuery(".dslca-module-edit-field-icon-ttip").hide()}else{var c=b.offset();var d=a.outerHeight();var e=a.outerWidth();var f=c.left-e/2+6;var g="50%";if(f<0){g=e/2+f+"px";f=0}jQuery(".dslca-module-edit-field-icon-ttip").show().css({top:c.top-d-20,left:f});jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-ttip:after, .dslca-module-edit-field-icon-ttip:before { left: "+g+" }</style>"))}})}function dslc_module_options_font(){jQuery(document).on("click",".dslca-module-edit-field-font-next",function(a){a.preventDefault();if(!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var b=jQuery(this).closest(".dslca-module-edit-option-font");var c=jQuery(".dslca-module-edit-field-font",b);var d=dslcAllFontsArray.indexOf(c.val());var e=d+1;jQuery(".dslca-module-edit-field-font-suggest",b).text("");c.val(dslcAllFontsArray[e]).trigger("change");jQuery(this).addClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-chevron-right").addClass("dslc-icon-refresh dslc-icon-spin")}});jQuery(document).on("click",".dslca-module-edit-field-font-prev",function(a){a.preventDefault();if(!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var b=jQuery(this).closest(".dslca-module-edit-option-font");var c=jQuery(".dslca-module-edit-field-font",b);var d=dslcAllFontsArray.indexOf(c.val());var e=d-1;jQuery(".dslca-module-edit-field-font-suggest",b).text("");if(e<0){e=dslcAllFontsArray.length-1}c.val(dslcAllFontsArray[e]).trigger("change");jQuery(this).addClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-chevron-left").addClass("dslc-icon-refresh dslc-icon-spin")}});jQuery(document).on("keyup",".dslca-module-edit-field-font",function(a){var b,c,d,e=false,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");if(a.which==38){jQuery(".dslca-module-edit-field-font-prev",c).click()}if(a.which==40){jQuery(".dslca-module-edit-field-font-next",c).click()}if(a.which!=13&&a.which!=38&&a.which!=40){d=b.val();var g=[];var h=new RegExp("^"+d,"i");var i=dslcAllFontsArray.length;var j=0;do{if(h.test(dslcAllFontsArray[j])){if(!e){var e=dslcAllFontsArray[j]}}j++}while(j<i);if(!e){f=d;jQuery(".dslca-module-edit-field-font-suggest",c).hide()}else{f=e;jQuery(".dslca-module-edit-field-font-suggest",c).show()}jQuery(".dslca-module-edit-field-font-suggest",c).text(f);if(f.length){b.val(f.substring(0,b.val().length))}}});jQuery(document).on("keypress",".dslca-module-edit-field-font",function(a){if(a.which==13){a.preventDefault();var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");jQuery(this).val(jQuery(".dslca-module-edit-field-font-suggest",c).text()).trigger("change");jQuery(".dslca-module-edit-field-font-suggest",c).text("")}})}function dslc_list_icon(a,b){var c=jQuery(a).closest(".dslca-module-edit-option-icon");var d=jQuery(".dslca-module-edit-field-icon",c);var e=dslcIconsCurrentSet.indexOf(d.val());if(b=="previous"){var f=e-1}else{var f=e+1}jQuery(".dslca-module-edit-field-icon-suggest",c).text("");if(f<0){f=dslcIconsCurrentSet.length-1}d.val(dslcIconsCurrentSet[f]).trigger("change")}function dslc_module_options_icon(){jQuery(document).on("keyup",".dslca-module-edit-field-icon",function(a){var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");if(a.which==38){dslc_list_icon(b,"previous")}if(a.which==40){dslc_list_icon(b,"next")}if(a.which!=13&&a.which!=38&&a.which!=40){d=b.val().toLowerCase();b.val(d);e=jQuery.grep(dslcIconsCurrentSet,function(a,b){return a.indexOf(d)==0});f=e[0];jQuery(".dslca-module-edit-field-icon-suggest",c).text(f)}});jQuery(document).on("keypress",".dslca-module-edit-field-icon",function(a){if(a.which==13){a.preventDefault();var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");jQuery(this).val(jQuery(".dslca-module-edit-field-icon-suggest",c).text()).trigger("change");jQuery(".dslca-module-edit-field-icon-suggest",c).text("")}})}function dslc_module_options_icon_returnid(){jQuery(document).on("click",'.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]',function(a){jQuery(this).closest(".dslca-module-edit-option-icon").find("input").addClass("icon-modal-active")});jQuery(document).on("click",".dslca-modal-icons .icon-item",function(a){var b=jQuery(this).find(".icon-item_name").text();jQuery("input.icon-modal-active").val(b).change();dslc_hide_modal("",jQuery(".dslca-modal:visible"));jQuery("input.icon-modal-active").removeClass("icon-modal-active")})}function dslc_module_options_text_align(){jQuery(document).on("click",".dslca-module-edit-option-text-align-hook",function(){var a=jQuery(this),b=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").find(".dslca-module-edit-option-text-align-hook"),c=a.data("val"),d=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").siblings("input.dslca-module-edit-field");b.removeClass("dslca-active");a.addClass("dslca-active");d.val(c).trigger("change")})}function dslc_module_options_checkbox(){jQuery(document).on("click",".dslca-module-edit-option-checkbox-hook, .dslca-modules-section-edit-option-checkbox-hook",function(){var a=jQuery(this);var b=a.siblings('input[type="checkbox"]');if(b.prop("checked")){b.prop("checked",false);a.find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}else{b.prop("checked",true);a.find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}b.change()})}function dslc_module_options_box_shadow(){if(dslcDebug)console.log("dslc_module_options_box_shadow");jQuery(document).on("change",".dslca-module-edit-option-box-shadow-hor, "+".dslca-module-edit-option-box-shadow-ver, .dslca-module-edit-option-box-shadow-blur, .dslca-module-edit-option-box-shadow-spread,"+" .dslca-module-edit-option-box-shadow-color, .dslca-module-edit-option-box-shadow-inset",function(){var a=jQuery(this).closest(".dslca-module-edit-option"),b=a.find(".dslca-module-edit-field"),c=a.find(".dslca-module-edit-option-box-shadow-hor").val(),d=a.find(".dslca-module-edit-option-box-shadow-ver").val(),e=a.find(".dslca-module-edit-option-box-shadow-blur").val(),f=a.find(".dslca-module-edit-option-box-shadow-spread").val(),g=a.find(".dslca-module-edit-option-box-shadow-color").val(),h=a.find(".dslca-module-edit-option-box-shadow-inset").is(":checked");if(h){h=" inset"}else{h=""}var i=c+"px "+d+"px "+e+"px "+f+"px "+g+h;b.val(i).trigger("change")})}function dslc_module_options_text_shadow(){if(dslcDebug)console.log("dslc_module_options_text_shadow");jQuery(document).on("change",".dslca-module-edit-option-text-shadow-hor, .dslca-module-edit-option-text-shadow-ver,"+".dslca-module-edit-option-text-shadow-blur, .dslca-module-edit-option-text-shadow-color",function(){var a=jQuery(this).closest(".dslca-module-edit-option"),b=a.find(".dslca-module-edit-field"),c=a.find(".dslca-module-edit-option-text-shadow-hor").val(),d=a.find(".dslca-module-edit-option-text-shadow-ver").val(),e=a.find(".dslca-module-edit-option-text-shadow-blur").val(),f=a.find(".dslca-module-edit-option-text-shadow-color").val();var g=c+"px "+d+"px "+e+"px "+f;b.val(g).trigger("change")})}function dslc_module_options_color(a){if(dslcDebug)console.log("dslc_module_options_color");var b,c,d,e,f,g,h;var i=[],j,k;i[0]=[];i[1]=[];i[2]=[];i[3]=[];if(localStorage["dslcColorpickerPalleteStorage"]==undefined){}else{j=JSON.parse(localStorage["dslcColorpickerPalleteStorage"]);for(k=0;k<j.length;k++){var l=Math.floor(k/3);if(l<4){i[l].push(j[k])}}}var m=a;jQuery(m).each(function(){h=jQuery(this).val();jQuery(this).spectrum({color:h,showInput:true,allowEmpty:true,showAlpha:true,clickoutFiresChange:true,cancelText:"",chooseText:"",preferredFormat:"rgb",showPalette:true,palette:i,move:function(a){b=jQuery(this);if(a==null){e=""}else{e=a.toRgbString().replace(/ /g,"")}b.val(e).trigger("change");b.css("background",e);c=b.data("affect-on-change-el");d=b.data("affect-on-change-rule");if(null!=c){jQuery(c,".dslca-module-being-edited").css(d,e)}f=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);g=b.data("id");jQuery('.dslca-module-option-front[data-id="'+g+'"]',f).val(e);f.addClass("dslca-module-change-made")},change:function(a){b=jQuery(this);if(a==null){e=""}else{e=a.toRgbString().replace(/ /g,"")}b.val(e).trigger("change");c=b.data("affect-on-change-el");d=b.data("affect-on-change-rule");if(null!=c){jQuery(c,".dslca-module-being-edited").css(d,e)}f=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);g=b.data("id");jQuery('.dslca-module-option-front[data-id="'+g+'"]',f).val(e);f.addClass("dslca-module-change-made");if(localStorage["dslcColorpickerPalleteStorage"]==undefined){var h=[e];localStorage["dslcColorpickerPalleteStorage"]=JSON.stringify(h)}else{var h=JSON.parse(localStorage["dslcColorpickerPalleteStorage"]);if(h.indexOf(e)==-1){h.unshift(e)}localStorage["dslcColorpickerPalleteStorage"]=JSON.stringify(h)}},show:function(a){jQuery("body").addClass("dslca-disable-selection")},hide:function(){jQuery("body").removeClass("dslca-disable-selection")}});LiveComposer.Builder.Helpers.colorpickers.push(jQuery(this))});jQuery(".dslca-sp-revert").click(function(){var a=jQuery(".sp-replacer.sp-active").closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("default");jQuery(this).closest(".sp-container").find(".sp-input").val(a).trigger("change")})}function dslc_module_options_numeric(a){var b=jQuery;if(dslcDebug)console.log("dslc_module_options_numeric");var c=a||".dslca-module-edit-option-slider .dslca-module-edit-field-numeric";jQuery(c).each(function(){if(this.classList.contains("slider-initiated"))return;var a=false;var c=false;var d=0;var e=this;var f=0;var g=parseFloat(jQuery(this).data("max"))>0?parseFloat(b(this).data("max")):2e3;var h=parseFloat(jQuery(this).data("min"))>-2e3?parseFloat(b(this).data("min")):0;var i=parseFloat(jQuery(this).data("increment"))>0?parseFloat(b(this).data("increment")):1;var j,k,l,m,n,o,p,q,r,s,t,u,v;e.classList.add("slider-initiated");jQuery(e).keyup(function(a){if(undefined===a){return false}if(a.shiftKey){if(a.keyCode==38){this.value=(parseInt(this.value)||0)+9;jQuery(this).trigger("change")}if(a.keyCode==40){this.value=parseInt(this.value)+0-9;jQuery(this).trigger("change")}}if(a.keyCode==8||a.keyCode==45){jQuery(this).trigger("change")}if(a.keyCode>=48&&a.keyCode<=57||a.keyCode>=96&&a.keyCode<=105){jQuery(this).trigger("change")}if(!a.key.match(/\d/)&&a.keyCode!=8&&a.keyCode!=39&&a.keyCode!=37&&a.keyCode!=46){return false}});jQuery(e).unbind("change");jQuery(e).change(function(a){if(this.value>g){this.value=g}if(this.value<h){this.value=h}s=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);s.addClass("dslca-module-change-made")});jQuery(document).mouseup(function(){a=false});jQuery(e).mousedown(function(b){a=parseFloat(b.pageX);d=parseFloat(e.value&&e.value!=""?e.value:0);f=0});jQuery(".dslca-section").mousemove(function(b){if(a!==false){b=b||window.event;var c=b.clientX;var d=c-f;if(0<d){e.value=Math.round((parseFloat(e.value)+i)*100)/100}else{e.value=Math.round((parseFloat(e.value)-i)*100)/100}f=c;jQuery(e).trigger("change")}});return false})}function dslc_disable_responsive_view(){jQuery("html").removeClass("dslc-responsive-preview");jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet")}function dslc_filter_module_options(a){dslc_module_options_section_filter(a)}function dslc_show_module_options_tab(a){dslc_module_options_tab_filter(a)}function dslc_confirm_changes(a){dslc_module_options_confirm_changes(a)}function dslc_cancel_changes(a){dslc_module_options_cancel_changes(a)}function dslc_init_colorpicker(){dslc_module_options_color()}function dslc_init_options_slider(){dslc_module_options_numeric()}function dslc_module_edit_options_hideshow_tabs(){dslc_module_options_hideshow_tabs()}"use strict";function dslc_template_load(a){if(dslcDebug)console.log("dslc_load_template");var b,c;jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-load-template",dslc:"active",dslc_template_id:a},function(a){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(a.output);LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();dslc_drag_and_drop();dslc_show_publish_button();dslc_generate_code()})}function dslc_template_import(){if(dslcDebug)console.log("dslc_import_template");var a,b;jQuery(".dslca-modal-templates-import .dslca-modal-title").css({opacity:0});jQuery(".dslca-modal-templates-import .dslca-loading").show();jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-template",dslc:"active",dslc_template_code:jQuery("#dslca-import-code").val()},function(a){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(a.output);jQuery(".dslca-modal-templates-import .dslca-loading").hide();jQuery(".dslca-modal-templates-import .dslca-modal-title").css({opacity:1});dslc_hide_modal("",".dslca-modal-templates-import");LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video();dslc_drag_and_drop();dslc_show_publish_button();dslc_generate_code()})}function dslc_template_save(){if(dslcDebug)console.log("dslc_save_template");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-template",dslc:"active",dslc_template_code:jQuery("#dslca-code").val(),dslc_template_title:jQuery("#dslca-save-template-title").val()},function(a){dslc_hide_modal("",".dslca-modal-templates-save")})}function dslc_template_delete(a){if(dslcDebug)console.log("dslc_delete_template");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-template",dslc:"active",dslc_template_id:a},function(b){jQuery('.dslca-template[data-id="'+a+'"]').fadeOut(200,function(){jQuery(this).remove()})})}function dslc_load_template(a){dslc_template_load(a)}function dslc_import_template(){dslc_template_import()}function dslc_save_template(){dslc_template_save()}function dslc_delete_template(a){dslc_template_delete(a)}jQuery(document).ready(function(a){jQuery(document).on("click",".dslca-template",function(a){a.preventDefault();dslc_template_load(jQuery(this).data("id"))});a(".dslca-template-import-form").submit(function(a){a.preventDefault();
4
- dslc_template_import()});a(".dslca-template-save-form").submit(function(a){a.preventDefault();dslc_template_save()});a(document).on("click",".dslca-delete-template-hook",function(b){b.stopPropagation();dslc_template_delete(a(this).data("id"))})});"use strict";window.onerror=function(a,b,c,d){dslca_generate_error_report(a,b,c,d)};jQuery(document).on("click",".dslca-show-js-error-hook",function(a){a.preventDefault();var b=document.getElementById("dslca-js-errors-report");if(!jQuery("body").hasClass("dslca-saving-in-progress")){LiveComposer.Builder.UI.CModalWindow({title:'<a href="https://livecomposerplugin.com/support/support-request/" target="_blank"><span class="dslca-icon dslc-icon-comment"></span> &nbsp; Open Support Ticket</a>',content:'<span class="dslca-error-report">'+b.value+"</span>"})}});jQuery(document).ready(function(a){jQuery("#page-builder-frame")[0].contentWindow.onerror=function(a,b,c,d){dslca_generate_error_report(a,b,c,d)};dslca_update_report_log();jQuery("#page-builder-frame").on("load",function(){var a=this;LiveComposer.Builder.PreviewAreaWindow=this.contentWindow;LiveComposer.Builder.PreviewAreaDocument=jQuery(this).contents();jQuery("#wpadminbar",LiveComposer.Builder.PreviewAreaDocument).remove();LiveComposer.Builder.UI.initInlineEditors();dslc_fix_contenteditable();var b=LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main").eq(0)[0];new LiveComposer.Builder.Elements.CSectionsContainer(b);jQuery(document).trigger("editorFrameLoaded");dslc_drag_and_drop();dslc_generate_code();dslc_keypress_events();LiveComposer.Builder.UI.initPreviewAreaScroller()});jQuery("body").addClass("dslca-enabled dslca-drag-not-in-progress");jQuery(".dslca-invisible-overlay").hide();jQuery(".dslca-section").eq(0).show()});jQuery(document).on("click",".dslca-currently-editing",function(){var a=false,b=false,c;if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length){a=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);c="#5890e5"}else if(jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length){a=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument);c="#eabba9"}if(a){b=a.offset().top-100;if(b<0){b=0}var d=[];jQuery("html, body",LiveComposer.Builder.PreviewAreaDocument).animate({scrollTop:b},300,function(){a.removeAttr("style")})}});jQuery(window).keypress(function(a){if((a.metaKey||a.ctrlKey)&&a.keyCode==83){dslc_ajax_save_composer();a.preventDefault();return false}});jQuery(document).on("click",".dslca-hide-composer-hook",function(a){a.preventDefault();dslc_hide_composer()});jQuery(document).on("click",".dslca-show-composer-hook",function(a){a.preventDefault();dslc_show_composer()});jQuery(document).on("click",".dslca-go-to-modules-hook",function(a){a.preventDefault();dslc_show_section(".dslca-modules")});jQuery(document).on("click",".dslca-go-to-section-hook",function(a){a.preventDefault();if(jQuery(this).hasClass("dslca-active")){return}var b=jQuery(this).data("section");dslc_show_section(b);if(jQuery(this).hasClass("dslca-go-to-section-modules")||jQuery(this).hasClass("dslca-go-to-section-templates")){jQuery(this).addClass("dslca-active").siblings(".dslca-go-to-section-hook").removeClass("dslca-active")}});jQuery(document).on("click",".dslca-close-composer-hook",function(a){a.preventDefault();var b=jQuery(this).attr("href");if(!jQuery("body").hasClass("dslca-saving-in-progress")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_exit_title,content:DSLCString.str_exit_descr,confirm:function(){window.location=b}})}});jQuery(document).on("click",".dslca-submit",function(){jQuery(this).closest("form").submit()});jQuery(document).on("click",".dslca-section-title",function(a){a.stopPropagation();if(jQuery(".dslca-section-title-filter",this).length){dslc_generate_filters();jQuery(".dslca-section-title-filter-options").slideToggle(300)}});jQuery(document).on("click",".dslca-section-title-filter-options a",function(a){a.preventDefault();a.stopPropagation();var b=jQuery(this).data("origin");var c=jQuery(this).closest(".dslca-section");if(c.hasClass("dslca-templates-load")){jQuery(".dslca-section-title-filter-curr",c).text(jQuery(this).text())}else{jQuery(".dslca-section-title-filter-curr",c).text(jQuery(this).text())}jQuery(".dslca-section-scroller-inner").css({left:0});dslc_filter_origin(b,c);jQuery(".dslca-section-title-filter-options").slideToggle(300)});function dslc_hide_composer(){if(dslcDebug)console.log("dslc_hide_composer");jQuery(".dslca-hide-composer-hook").hide();jQuery(".dslca-show-composer-hook").show();jQuery("body").addClass("dslca-composer-hidden");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-composer-hidden");jQuery(".dslca-container").css({bottom:jQuery(".dslca-container").outerHeight()*-1});jQuery(".dslca-header").hide()}function dslc_show_composer(){if(dslcDebug)console.log("dslc_show_composer");jQuery(".dslca-show-composer-hook").hide();jQuery(".dslca-hide-composer-hook").show();jQuery("body").removeClass("dslca-composer-hidden");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-composer-hidden");jQuery(".dslca-container").css({bottom:0});jQuery(".dslca-header").show()}function dslc_show_publish_button(){if(dslcDebug)console.log("dslc_show_publish_button");jQuery(".dslca-save-composer").show().addClass("dslca-init-animation");jQuery(".dslca-save-draft-composer").show().addClass("dslca-init-animation")}function dslc_hide_publish_button(){if(dslcDebug)console.log("dslc_hide_publish_button");jQuery(".dslca-save-composer").hide();jQuery(".dslca-save-draft-composer").hide()}function dslc_show_section(a){if(dslcDebug)console.log("dslc_show_section");var b=jQuery(a).data("title"),c=jQuery(a).data("bg");jQuery(".dslca-container").css({bottom:-500});jQuery(".dslca-section").hide();jQuery(a).show();if(a==".dslca-module-edit"){jQuery(".dslca-currently-editing").show().find("strong").text(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).attr("title")+" element")}else if(a==".dslca-modules-section-edit"){jQuery(".dslca-currently-editing").show().css("background-color","#e5855f").find("strong").text("Row")}else{jQuery(".dslca-currently-editing").hide().find("strong").text("")}dslc_module_options_tab_filter();jQuery(".dslca-container").css({bottom:0})}function dslc_generate_filters(){if(dslcDebug)console.log("dslc_generate_filters");var a,b=[],c='<a html="#" data-origin="">Show All</a>',d=jQuery(".dslca-section:visible .dslca-origin");d.each(function(){a=jQuery(this);if(jQuery.inArray(a.data("origin"),b)==-1){b.push(a.data("origin"));c+='<a href="#" data-origin="'+a.data("origin")+'">'+a.data("origin")+"</a>"}});jQuery(".dslca-section:visible .dslca-section-title-filter-options").html(c).css("background",jQuery(".dslca-section:visible").data("bg"))}function dslc_filter_origin(a,b){if(dslcDebug)console.log("dslc_filter_origin");jQuery(".dslca-origin",b).hide();jQuery('.dslca-origin[data-origin="'+a+'"]',b).show();if(a==""){jQuery(".dslca-origin",b).show()}}function dslc_drag_and_drop(){if(dslcDebug)console.log("dslc_drag_and_drop");var a,b,c,d;var e=jQuery(".dslca-modules .dslca-section-scroller-content");if(e.length==0){e=[document.createElement("div")]}var f=Sortable.create(e[0],{sort:false,group:{name:"modules",pull:"clone",put:false},animation:150,handle:".dslca-module",draggable:".dslca-module",chosenClass:"dslca-module-dragging",scroll:true,scrollSensitivity:150,scrollSpeed:15,setData:function(a,b){a.setData(LiveComposer.Utils.msieversion()!==false?"Text":"text/html",b.innerHTML)},onStart:function(a){a.oldIndex;jQuery("body").removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress");jQuery("#dslc-header").addClass("dslca-header-low-z-index")},onEnd:function(a){a.oldIndex;a.newIndex;var e=a.item;a.preventDefault();if(jQuery(e).closest(".dslca-section-scroller-content").length>0)return false;jQuery(".dslca-options-hovered",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-options-hovered");b=jQuery(e.parentNode);c=e.dataset.id;dslc_generate_code();if(c=="DSLC_M_A"||jQuery("body").hasClass("dslca-module-drop-in-progress")||b.closest("#dslc-header").length||b.closest("#dslc-footer").length){}else{jQuery("body").addClass("dslca-module-drop-in-progress");dslc_module_output_default(c,function(a){d=a.output;var c=LiveComposer.Builder.Helpers.insertModule(d,jQuery(".dslca-module",b));setTimeout(function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(c);jQuery("body").removeClass("dslca-module-drop-in-progress")},700);jQuery(".dslca-no-content-primary",b).css({opacity:1});jQuery(".dslca-modules-area-manage",b).css({visibility:"visible"});LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();dslc_generate_code();dslc_show_publish_button();LiveComposer.Builder.UI.initInlineEditors()});jQuery(e).find(".dslca-icon").attr("class","").attr("class","dslca-icon dslc-icon-refresh dslc-icon-spin");jQuery(".dslca-no-content-primary",b).css({opacity:0});jQuery(".dslca-modules-area-manage",b).css({visibility:"hidden"})}LiveComposer.Builder.UI.stopScroller();jQuery("body").removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress");jQuery("#dslc-header").removeClass("dslca-header-low-z-index")},onAdd:function(a){var b=a.item;a.from},onUpdate:function(a){var b=a.item;dslc_show_publish_button()},onSort:function(a){a.preventDefault()},onRemove:function(a){},onFilter:function(a){var b=a.item},onMove:function(a){a.dragged;a.draggedRect;a.related;a.relatedRect;jQuery(a.to).addClass("dslca-options-hovered")}})}function dslc_option_changed(){dslc_show_publish_button()}function dslc_module_dragdrop_init(){dslc_drag_and_drop()}function dslc_fix_contenteditable(){LiveComposer.Builder.PreviewAreaDocument.on("dragstart",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",function(a){jQuery("[contenteditable]",LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",false)});LiveComposer.Builder.PreviewAreaDocument.on("dragend mousedown",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",function(a){jQuery("[contenteditable]",LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",true)})}function dslc_toogle_control(a){if(a===undefined)a=false;if(!a)return;var b=jQuery(".dslca-module-edit-option-"+a);var c=b.find(".dslca-module-edit-field");var d=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);var e=d[0].id;var f="";if("tablet_responsive"===b.data("tab")){f="body.dslc-res-tablet "}else if("phone_responsive"===b.data("tab")){f="body.dslc-res-phone "}var g=c.data("affect-on-change-el");if(g===undefined)return;var h=g.split(",");g="";for(var i=0;i<h.length;i++){if(i>0){g+=", "}g+=f+"#"+e+" "+h[i]}var j=c.data("affect-on-change-rule").replace(/ /g,"");var k=j.split(",");var l;var m=c.data("ext");b.toggleClass("dslca-option-off");if(b.hasClass("dslca-option-off")){l=dslc_get_control_value(a);c.data("val-bckp",l);for(var i=0;i<k.length;i++){jQuery(g,LiveComposer.Builder.PreviewAreaDocument).css(k[i],"");disable_css_rule(g,k[i],e)}c.val("").trigger("change")}else{c.val(c.data("val-bckp")).trigger("change");l=dslc_get_control_value(a);l=dslc_combine_value_and_extension(l,m||"");for(var i=0;i<k.length;i++){var n=g+"{"+k[i]+": "+l+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:b,rule:k[i],elems:g.replace(new RegExp("#"+e,"gi"),"").trim(),styleContent:n})}}}jQuery(document).ready(function(a){jQuery(document).on("click",".dslca-module-edit-option .dslc-control-toggle",function(b){b.preventDefault();var c=a(b.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id");dslc_toogle_control(c)});jQuery(document).on("mousedown",".dslca-module-edit-option",function(b){var c=a(".dslc-control-toggle");if(!c.is(b.target)&&c.has(b.target).length===0){if(a(b.target).closest(".dslca-module-edit-option").hasClass("dslca-option-off")){var d=a(b.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id");dslc_toogle_control(d)}}})});function disable_css_rule(a,b,c){var d;var e="css-for-"+c;var f=document.getElementById("page-builder-frame").contentWindow.document.getElementById(e);a=a.replace(/\s\s+/g," ");if(f){f=f.sheet;if(f["rules"]){d="rules"}else if(f["cssRules"]){d="cssRules"}else{}for(var g=0;g<f[d].length;g++){if(f[d][g].selectorText==a){if(f[d][g].style[b]){f[d][g].style[b]="";break}}}}}function dslc_combine_value_and_extension(a,b){if(""===a||null===a){return a}if(a.indexOf(b)==-1){a=a+b}return a}function dslc_get_control_value(a){var b=jQuery(".dslca-module-edit-option-"+a);var c="text";var d=b.find(".dslca-module-edit-field");var e;e=d.val();return e}function dslc_keypress_events(){jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind("keydown").bind("keydown",function(a){dslc_modal_keypress_events(a);dslc_disable_backspace_navigation(a);dslc_notice_on_refresh(a)})}function dslc_disable_backspace_navigation(a){var b=false;if(a.keyCode===8){var c=a.srcElement||a.target;if(c.tagName.toUpperCase()==="INPUT"&&(c.type.toUpperCase()==="TEXT"||c.type.toUpperCase()==="PASSWORD"||c.type.toUpperCase()==="NUMBER"||c.type.toUpperCase()==="FILE")||c.tagName.toUpperCase()==="TEXTAREA"||jQuery(c).hasClass("dslca-editable-content")||jQuery(c).hasClass("dslc-tabs-nav-hook-title")||jQuery(c).hasClass("dslc-accordion-title")){b=c.readOnly||c.disabled}else{b=true}}if(b){a.preventDefault()}}function dslc_notice_on_refresh(a){if(a.which==116||a.which===82&&a.metaKey){if(jQuery(".dslca-save-composer-hook").offsetParent!==null||jQuery(".dslca-module-edit-save").offsetParent!==null){a.preventDefault();LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_refresh_title,content:DSLCString.str_refresh_descr,confirm:function(){window.location.reload()}})}}}function dslca_generate_error_report(a,b,c,d){var e="JavaScript error detected in a third-party plugin";if(b.match("wp-content/plugins/live-composer-page-builder/js")!=null){e="Live Composer returned JS error"}var f="";f+='<br /><strong style="color:#E55F5F;">'+e+"</strong><br />";f+=a+'<br /> File "'+b+'", line '+c+", char "+d+"<br />";if("undefined"!==typeof Storage){localStorage.setItem("js_errors_report",f)}}function dslca_update_report_log(){var a=document.getElementById("dslca-js-errors-report");var b=localStorage.getItem("js_errors_report");if(null!==b){a.value=b;localStorage.removeItem("js_errors_report");document.querySelector(".dslca-show-js-error-hook").setAttribute("style","visibility:visible")}}"use strict";LiveComposer.Utils={addslashes:function(a){a=a.replace(/\\/g,"\\\\");a=a.replace(/\'/g,"\\'");a=a.replace(/\"/g,'\\"');a=a.replace(/\0/g,"\\0");return a},basename:function(a){return a.split(/[\\/]/).pop()},msieversion:function(){var a=window.navigator.userAgent;var b=a.indexOf("MSIE ");if(b>0||!!navigator.userAgent.match(/Trident.*rv\:11\./)){return parseInt(a.substring(b+5,a.indexOf(".",b)))}else{return false}},checkParams:function(a){if(!Array.isArray(a)){throw"Param is not array"}var b={integer:function(a){return isNaN(parseInt(a))},"float":function(a){return isNaN(parseFloat(a))},string:function(a){return a!=null&&a!=undefined&&typeof a=="string"},array:function(a){return Array.isArray(a)},object:function(a){return typeof a=="object"}};a.map(function(a){if(!b[a[1]](a[0])){throw"Param "+a[0]+" is not "+a[1]}})},utf8_to_b64:function(a){return window.btoa(unescape(encodeURIComponent(a)))},b64_to_utf8:function(a){return decodeURIComponent(escape(window.atob(a)))},get_page_params:function(){return decodeURIComponent(window.location.search.slice(1)).split("&").reduce(function a(b,c){c=c.split("=");b[c[0]]=c[1];return b},{})},get_unique_id:function(){return Math.random().toString(32).slice(2)},encode:function(a){a=dslc_serialize(a);a=LiveComposer.Utils.utf8_to_b64(a);return a},decode:function(a){a=LiveComposer.Utils.b64_to_utf8(a);a=dslc_unserialize(a);return a},update_module_property_raw:function(a,b,c){var d=a.getElementsByClassName("dslca-module-code")[0];var e=a.querySelector('.dslca-module-option-front[data-id="'+b+'"]');var f=d.value;f=LiveComposer.Utils.decode(f);f[b]=c;f=LiveComposer.Utils.encode(f);d.value=f;d.innerHTML=f;e.value=c;e.innerHTML=c},publish:function(a,b){b=b?b:{};this.checkParams([[a,"string"],[b,"object"]]);jQuery.event.trigger({type:a,message:{details:b}})}};"use strict";function dslc_dm_get_defaults(a){if(dslcDebug)console.log("dslc_dm_get_defaults");var b=a.find(".dslca-module-code").val();jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-dm-module-defaults",dslc:"active",dslc_modules_options:b},function(a){jQuery(".dslca-prompt-modal textarea").val(a.output)})}function dslc_editable_content_gen_code(a){if(dslcDebug)console.log("dslc_editable_content_gen_code");if(undefined===a){return false}var b,c,d;b=a.closest(".dslc-module-front");c=a.html().trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");d=a.data("id");jQuery('.dslca-module-option-front[data-id="'+d+'"]',b).val(c)}jQuery(document).ready(function(a){a(document).on("click",".dslca-module-get-defaults-hook",function(){var b=jQuery(this).closest(".dslc-module-front");var c=dslc_dm_get_defaults(b);var d='<span class="dslca-prompt-modal-title">Module Defaults</span>'+'<span class="dslca-prompt-modal-descr">The code bellow is used to alter the defaults.</span>'+"<textarea></textarea><br><br>";a(".dslca-prompt-modal-cancel-hook").hide();a(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>OK');dslc_js_confirm("dev_mode_get_default",d,b)});a(document).on("click",".dslca-refresh-module-hook",function(a){jQuery(this).css({"-webkit-animation-name":"dslcRotate","-moz-animation-name":"dslcRotate","animation-name":"dslcRotate","animation-duration":"0.6s","-webkit-animation-duration":"0.6s","animation-iteration-count":"infinite","-webkit-animation-iteration-count":"infinite"});jQuery(this).closest(".dslc-module-front").addClass("dslca-module-being-edited");dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")})})});window.onbeforeunload=function(){return};jQuery(document).ready(function(a){jQuery(document).on("change",".dslca-modules-section-edit-field",function(){var b,c,d,e,f,g,h,i,j,k,l;b=a(this);c=b.data("id");f=b.val();g=f;h=f+b.data("ext");i=b.data("css-rule");d=a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument);k=d;j=a('.dslca-modules-section-settings input[data-id="'+c+'"]',d);d.addClass("dslca-modules-section-change-made");if(b.hasClass("dslca-modules-section-edit-field-upload")){if(f&&f.length){f=a('.dslca-modules-section-settings input[data-id="dslca-img-url"]',d).val()}}if(i=="background-image"){f='url("'+f+'")';LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}if(c=="bg_image_attachment"){d.removeClass("dslc-init-parallax")}if(c=="border-top"||c=="border-right"||c=="border-bottom"||c=="border-left"){var m=a('.dslca-modules-section-settings input[data-id="border_style"]').val();j=a('.dslca-modules-section-settings input[data-id="border"]',d);g="";var n=b.closest(".dslca-modules-section-edit-option-checkbox-wrapper");n.find(".dslca-modules-section-edit-field-checkbox").each(function(){if(a(this).is(":checked")){if(a(this).data("id")=="border-top"){g+="top "}else if(a(this).data("id")=="border-right"){g+="right "}else if(a(this).data("id")=="border-bottom"){g+="bottom "}else if(a(this).data("id")=="border-left"){g+="left "}}});if(b.is(":checked")){if(b.data("id")=="border-top"){d.css({"border-top-style":m})}else if(b.data("id")=="border-right"){d.css({"border-right-style":m})}else if(b.data("id")=="border-bottom"){d.css({"border-bottom-style":m})}else if(b.data("id")=="border-left"){d.css({"border-left-style":m})}}else{if(b.data("id")=="border-top"){d.css({"border-top-style":"hidden"})}else if(b.data("id")=="border-right"){d.css({"border-right-style":"hidden"})}else if(b.data("id")=="border-bottom"){d.css({"border-bottom-style":"hidden"})}else if(b.data("id")=="border-left"){d.css({"border-left-style":"hidden"})}}}else if(b.hasClass("dslca-modules-section-edit-field-checkbox")){var o=a(this).closest(".dslca-modules-section-edit-option-checkbox-wrapper").find(".dslca-modules-section-edit-field-checkbox");var p="";o.each(function(){if(a(this).prop("checked")){p+=a(this).data("val")+" "}});var g=p;if(b.data("id")=="show_on"){if(p.indexOf("desktop")!==-1){a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-desktop")}else{a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-desktop")}if(p.indexOf("tablet")!==-1){a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-tablet")}else{a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-tablet")}if(p.indexOf("phone")!==-1){a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-phone")}else{a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-phone")}}}else if(c=="bg_image_attachment"&&f=="parallax"||c=="type"){if(c=="bg_image_attachment"){d.addClass("dslc-init-parallax");LiveComposer.Builder.PreviewAreaWindow.dslc_parallax()}else if(c=="type"){if(f=="full"){d.addClass("dslc-full")}else{d.removeClass("dslc-full")}LiveComposer.Builder.PreviewAreaWindow.dslc_masonry()}}else if(c=="columns_spacing"){if(f=="nospacing"){d.addClass("dslc-no-columns-spacing")}else{d.removeClass("dslc-no-columns-spacing")}}else if(c=="custom_class"){}else if(c=="custom_id"){}else if(c=="bg_video"){jQuery(".dslc-bg-video video",d).remove();if(f&&f.length){var q=f;q=q.replace(".webm","");q=q.replace(".mp4","");jQuery(".dslc-bg-video-inner",d).html('<video><source type="video/mp4" src="'+q+'.mp4" /><source type="video/webm" src="'+q+'.webm" /></video>');LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}}else if(c=="bg_image_thumb"){if(g=="enabled"){if(jQuery("#dslca-post-data-thumb").length){var r="url('"+jQuery("#dslca-post-data-thumb").val()+"')";k.css(i,r)}}else if(g=="disabled"){k.css(i,"none")}}else{if(b.data("css-element")){k=jQuery(b.data("css-element"),d)}i=i.replace(/ /g,"").split(",");var s;if(null!=b.data("ext")){s=h}else{s=f}for(var t=0;t<i.length;t++){k.css(i[t],s)}}j.val(g);if(!LiveComposer.Builder.Flags.generate_code_after_row_changed)return false});jQuery(document).on("blur",".dslc-editable-area",function(b){var c=a(this).closest(".dslc-module-front");var d=a(this).data("dslc-option-id");var e=a(this).html();jQuery('.dslca-module-options-front textarea[data-id="'+d+'"]',c).val(e);dslc_module_output_altered()});jQuery(document).on("change",".dslca-module-edit-field",function(){if(dslcDebug)console.log("on change event for .dslca-module-edit-field");var b="",c="",d=jQuery(this),e=d.data("id"),f=d.closest(".dslca-module-edit-option"),g=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),h=g.data("dslc-module-id"),i=jQuery(".dslca-module-options-front textarea",g);g.addClass("dslca-module-change-made");if(f.hasClass("dslca-module-edit-option-select")||f.hasClass("dslca-module-edit-option-checkbox")){dslc_module_options_hideshow_tabs()}if(jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")=="active"){if(f.find(".dslca-module-edit-option-checkbox-wrapper").length){var j=jQuery('input[type="checkbox"]',f);j.each(function(){if(a(this).prop("checked")){b=b+jQuery(this).val()+" "}})}else if(d.hasClass("dslca-module-edit-option-radio")){var b=jQuery(".dslca-module-edit-field:checked",d).val()}else{var b=d.val();if(e=="orientation"&&b=="horizontal"){var k=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field");k.val("40").trigger("change")}else if(e=="orientation"&&b=="vertical"){var k=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field");k.val("100").trigger("change")}}jQuery('.dslca-module-options-front textarea[data-id="'+e+'"]',g).val(b);jQuery(".dslca-container-loader").show();dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-module-change-made");if(e=="css_load_preset"&&!jQuery("body").hasClass("dslca-new-preset-added")){dslc_module_options_show(h);jQuery(".dslca-container-loader").hide()}else{jQuery(".dslca-container-loader").hide()}jQuery("body").removeClass("dslca-new-preset-added")})}else{if(d.hasClass("dslca-module-edit-field-font")){var l=d.val();l=l+":400,100,200,300,500,600,700,800,900";var m=d.data("affect-on-change-el");var n=d.data("affect-on-change-rule");var o=d.val();var p=o;var q=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);if(d.val().length&&dslcGoogleFontsArray.indexOf(d.val())!==-1){document.getElementById("page-builder-frame").contentWindow.WebFont.load({google:{families:[l]},active:function(a,b){if(jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length){jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right")}else{jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}var c=m.split(",");var e="#"+q[0].id+" "+c.join(", #"+q[0].id+" ")+" {"+n+": "+o+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:d,rule:n,elems:m,styleContent:e})},inactive:function(a,b){if(jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length){jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right")}else{jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}}})}else{setTimeout(function(){if(jQuery(".dslca-font-loading.dslca-module-edit-field-font-next").length){jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right")}else{jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}var a=m.split(",");var b="#"+q[0].id+" "+a.join(", #"+q[0].id+" ")+" {"+n+": "+o+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:d,rule:n,elems:m,styleContent:b})},100)}}else if(d.hasClass("dslca-module-edit-field-checkbox")){var j=jQuery('input[type="checkbox"]',f);j.each(function(){if(jQuery(this).prop("checked")){b=b+"solid ";c=c+a(this).val()+" "}else{b=b+"none "}})}if(!d.hasClass("dslca-module-edit-field-font")&&d.data("affect-on-change-el")!=null&&d.data("affect-on-change-rule")!=null){var r=d.data("ext")||"";var m=d.data("affect-on-change-el");var n=d.data("affect-on-change-rule");var o=d.val();var p=o;if(d.hasClass("dslca-module-edit-field-checkbox")){o=b;p=c}if(d.hasClass("dslca-module-edit-field-image")){o='url("'+o+'")'}if(null!==o&&o.length<1&&(n=="background-color"||n=="background")){o="transparent"}n.split(",").forEach(function(a){a=a.replace(/\s+/g,"");var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);var c=m.split(",");var e="#"+b[0].id+" "+c.join(", #"+b[0].id+" ")+" {"+a+": "+o+r+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:d,rule:a,elems:m,styleContent:e})})}var s="";if(e.indexOf("css_")!==-1){s=p}else{s=d.val()}jQuery('.dslca-module-option-front[data-id="'+e+'"]',g).val(s);LiveComposer.Utils.publish("moduleChanged",{moduleId:g[0].id,optionID:e,optionVal:p||d.val()})}});a(document).on("keyup, blur",".dslca-module-edit-field-numeric",function(){return false;var b="",c=a(this),d=c.data("id"),e=c.closest(".dslca-module-edit-option"),f=a(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),g=f.data("dslc-module-id"),h=jQuery(".dslca-module-options-front textarea",f),i=c.data("affect-on-change-el"),j=c.data("affect-on-change-rule"),k=c.val(),l=k+c.data("ext"),m;f.addClass("dslca-module-change-made");if(jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")!="active"){m=j.replace(/ /g,"").split(",");jQuery('.dslca-module-option-front[data-id="'+d+'"]',f).val(k)}})});jQuery(document).ready(function(a){var b;jQuery(document).on("click",".dslca-module-edit-field-image-add-hook, .dslca-modules-section-edit-field-image-add-hook",function(){var a=jQuery(this);if(a.hasClass("dslca-module-edit-field-image-add-hook")){var c=a.siblings(".dslca-module-edit-field-image");var d=a.siblings(".dslca-module-edit-field-image-remove-hook")}else{var c=a.siblings(".dslca-modules-section-edit-field-upload");var d=a.siblings(".dslca-modules-section-edit-field-image-remove-hook")}var e=false;b=wp.media.frames.file_frame=wp.media({title:"Choose Image",button:{text:"Confirm"},multiple:e});b.on("select",function(){var e=b.state().get("selection").first().toJSON();c.val(e.id);jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).find('.dslca-modules-section-settings input[data-id="dslca-img-url"]').val(e.url);c.trigger("change");a.hide();d.show()});b.open()});jQuery(document).on("click",".dslca-module-edit-field-image-remove-hook, .dslca-modules-section-edit-field-image-remove-hook",function(){var a=jQuery(this);if(a.hasClass("dslca-module-edit-field-image-remove-hook")){var b=a.siblings(".dslca-module-edit-field-image");var c=a.siblings(".dslca-module-edit-field-image-add-hook")}else{var b=a.siblings(".dslca-modules-section-edit-field-upload");var c=a.siblings(".dslca-modules-section-edit-field-image-add-hook")}b.val("").trigger("change");a.hide();c.show()});jQuery(document).on("click",".dslca-wp-editor-save-hook",function(){var a=jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).closest(".dslc-module-front");if(typeof tinymce!="undefined"){if(jQuery("#wp-dslcawpeditor-wrap").hasClass("tmce-active")){var b=tinymce.get("dslcawpeditor");var c=b.getContent()}else{var c=jQuery("#dslcawpeditor").val()}jQuery(".dslca-wp-editor").hide();jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).html(c);if(a.hasClass("dslc-module-handle-like-accordion")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-accordion-plain-content").val(c);var d=a.find(".dslc-accordion");LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(d)}else if(a.hasClass("dslc-module-handle-like-tabs")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-tab-plain-content").val(c);var e=a.find(".dslc-tabs");LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(e)}dslc_editable_content_gen_code(jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument));jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-wysiwyg-active")}else{console.info("Live Composer: TinyMCE is undefined.")}});jQuery(document).on("click",".dslca-wp-editor-cancel-hook",function(){a(".dslca-wp-editor").hide();a(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-wysiwyg-active")})});
1
+ "use strict";function dslc_ui_animations(){if(dslcDebug)console.log("dslc_ui_animations");jQuery(document).on("mouseenter",".dslca-modules-area-manage",function(){jQuery(this).closest(".dslc-modules-area").addClass("dslca-options-hovered")}).on("mouseleave",".dslca-modules-area-manage",function(){jQuery(this).closest(".dslc-modules-area").removeClass("dslca-options-hovered")});jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-module-front",function(a){if(!jQuery("body").hasClass("dslca-composer-hidden")){if(jQuery(this).height()<190)jQuery(".dslca-module-manage",this).addClass("dslca-horizontal");else jQuery(".dslca-module-manage",this).removeClass("dslca-horizontal")}}).on("mouseleave",".dslca-drag-not-in-progress .dslc-module-front",function(a){if(!jQuery("body").hasClass("dslca-composer-hidden")){jQuery(this).find(".dslca-change-width-module-options").hide()}jQuery(this).find(".dslca-module-manage").removeClass("dslca-module-manage-change-width-active")});jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-modules-area",function(a){var b=jQuery(this);if(!jQuery("body").hasClass("dslca-composer-hidden")){if(jQuery(this).height()<130)jQuery(".dslca-modules-area-manage",this).addClass("dslca-horizontal");else jQuery(".dslca-modules-area-manage",this).removeClass("dslca-horizontal")}}).on("mouseleave",".dslca-drag-not-in-progress .dslc-modules-area",function(a){var b=jQuery(this);if(!jQuery("body").hasClass("dslca-composer-hidden")){}})}jQuery(document).ready(function(){dslc_ui_animations()});"use strict";function dslc_save_composer(){if(dslcDebug)console.log("dslc_save_composer");dslc_generate_code();dslca_gen_content_for_search();var a=jQuery("#dslca-code").val(),b=jQuery("#dslca-content-for-search").val(),c=jQuery(".dslca-container").data("post-id");jQuery("body").addClass("dslca-saving-in-progress");jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-ok").addClass("dslc-icon-spin dslc-icon-spinner");jQuery.ajax({method:"POST",type:"POST",url:DSLCAjax.ajaxurl,data:{action:"dslc-ajax-save-composer",dslc:"active",dslc_post_id:c,dslc_code:a,dslc_content_for_search:b},timeout:1e4}).done(function(a){if(a.status=="success"){jQuery(".dslca-save-composer").fadeOut(250);jQuery(".dslca-save-draft-composer").fadeOut(250)}else{alert("Something went wrong, please try to save again. Are you sure to make any changes? Error Code: "+a.status)}}).fail(function(a){if(a.statusText=="timeout"){alert("The request timed out after 10 seconds. Server do not respond in time. Please try again.")}else{alert("Something went wrong. Please try again. Error Code: "+a.statusText)}}).always(function(a){jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-ok");jQuery("body").removeClass("dslca-saving-in-progress")})}function dslc_save_draft_composer(){if(dslcDebug)console.log("dslc_save_draft_composer");var a=jQuery("#dslca-code").val(),b=jQuery(".dslca-container").data("post-id");jQuery("body").addClass("dslca-saving-in-progress");jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-ok").addClass("dslc-icon-spin dslc-icon-spinner");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-draft-composer",dslc:"active",dslc_post_id:b,dslc_code:a},function(a){jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-save");if(a.status=="success"){jQuery(".dslca-save-draft-composer").fadeOut(250)}else{alert("Something went wrong, please try to save again.")}jQuery("body").removeClass("dslca-saving-in-progress")})}function dslc_generate_code(){if(dslcDebug)console.log("dslc_generate_code");var a="",b,c="",d=12,e=12,f=0,g=0,h,i,j,k,l,m="";jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(jQuery(".dslc-module-front",this).length){jQuery(this).removeClass("dslc-modules-area-empty").addClass("dslc-modules-area-not-empty");jQuery(".dslca-no-content",this).hide()}else{jQuery(this).removeClass("dslc-modules-area-not-empty").addClass("dslc-modules-area-empty");jQuery(".dslca-no-content:not(:visible)",this).show().css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",padding:0}).animate({padding:"35px 0"},300)}});jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(jQuery(".dslc-modules-area",this).length){jQuery(this).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty")}else{jQuery(this).removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")}jQuery(".dslc-modules-area.dslc-last-col, .dslc-modules-area.dslc-first-col",this).removeClass("dslc-last-col dslc-first-col");jQuery(".dslc-module-front.dslc-last-col, .dslc-module-front.dslc-first-col",this).removeClass("dslc-last-col dslc-first-col");g=0;l=jQuery(this);m="";jQuery(".dslca-modules-section-settings input",l).each(function(){m=m+jQuery(this).data("id")+'="'+jQuery(this).val()+'" '});c=c+"[dslc_modules_section "+m+"] ";jQuery(".dslc-modules-area",l).each(function(){f=0;i=jQuery(this);h=parseInt(i.data("size"));j="no";k="no";g+=h;if(g==e){jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col");g=0;j="yes"}else if(g>e){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");g=h;k="yes"}if(g==h){k="yes"}c=c+'[dslc_modules_area last="'+j+'" first="'+k+'" size="'+h+'"] ';jQuery(".dslc-module-front",i).each(function(){var e=jQuery(this);b=parseInt(e[0].getAttribute("data-dslc-module-size"));var g="no";var h="no";f+=b;if(f==d){jQuery(this).addClass("dslc-last-col");jQuery(this).next(".dslc-module-front").addClass("dslc-first-col");f=0;g="yes";h="yes"}else if(f>d){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");f=b;h="yes"}try{a=e[0].querySelector(".dslca-module-code").value}catch(i){console.info("No DSLC code found in module: "+e[0].getAttribute("id"))}if(""!==a){c=c+'[dslc_module last="'+g+'"]'+a+"[/dslc_module] "}a=""});c=c+"[/dslc_modules_area] "});c=c+"[/dslc_modules_section] "});jQuery("#dslca-code").val(c);jQuery("#dslca-export-code").val(c)}function dslc_generate_section_code(a){if(dslcDebug)console.log("dslc_generate_section_code");var b,c,d="",e=12,f=12,g=0,h=0,i,j,k,l,m,n="";h=0;var m=a;jQuery(".dslca-modules-section-settings input",m).each(function(){n=n+jQuery(this).data("id")+'="'+jQuery(this).val()+'" '});d=d+"[dslc_modules_section "+n+"] ";jQuery(".dslc-modules-area",m).each(function(){j=jQuery(this);i=parseInt(j.data("size"));k="no";l="no";h+=i;if(h==f){jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col");h=0;k="yes"}else if(h>f){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");h=i;l="yes"}if(h==i){l="yes"}d=d+'[dslc_modules_area last="'+k+'" first="'+l+'" size="'+i+'"] ';jQuery(".dslc-module-front",j).each(function(){c=parseInt(jQuery(this).data("dslc-module-size"));g+=c;if(g==i){jQuery(this).addClass("dslc-last-col").next(".dslc-module-front").addClass("dslc-first-col");g=0}b=jQuery(this).find(".dslca-module-code").val();d=d+"[dslc_module]"+b+"[/dslc_module] "});d=d+"[/dslc_modules_area] "});d=d+"[/dslc_modules_section] ";return d}jQuery(document).ready(function(a){a(document).on("click",".dslca-save-composer-hook",function(b){b.preventDefault();if(!a("body").hasClass("dslca-module-saving-in-progress")&&!a("body").hasClass("dslca-saving-in-progress")){dslc_save_composer()}});a(document).on("click",".dslca-save-draft-composer-hook",function(b){b.preventDefault();if(!a("body").hasClass("dslca-module-saving-in-progress")&&!a("body").hasClass("dslca-saving-in-progress")){dslc_save_draft_composer()}})});function dslca_gen_content_for_search(){if(dslcDebug)console.log("dslca_gen_content_for_search");var a=document.getElementById("dslca-content-for-search");if(null===a){return}var b=a.value;var c="";var d=LiveComposer.Builder.PreviewAreaWindow.document.querySelectorAll("#dslc-main .dslc-module-front [data-exportable-content]");if(undefined!==d){Array.prototype.forEach.call(d,function(a,b){var d;if(a.getAttribute("data-exportable-content")!==""){var e=a.getAttribute("data-exportable-content");d="<"+e+">"+a.innerHTML+"</"+e+">"}else{d=a.innerHTML}if(d!==null){c+=d.replace(/\s+/g," ").trim()+"\n"}})}a.value=c;if(b!==c){dslc_show_publish_button()}}"use strict";var dslcRegularFontsArray=DSLCFonts.regular;var dslcGoogleFontsArray=DSLCFonts.google;var dslcAllFontsArray=dslcRegularFontsArray.concat(dslcGoogleFontsArray);var dslcIconsCurrentSet=DSLCIcons.fontawesome;var dslcDebug=false;var LiveComposer={Builder:{Elements:{},UI:{},Actions:{},Flags:{},PreviewFrame:{},Helpers:{}},Production:{},Utils:{}};(function(){LiveComposer.Builder.Flags={windowScroller:false,panelOpened:false,generate_code_after_row_changed:true};LiveComposer.Builder.Actions={postponed_actions_queue:{},add_postponed_action:function(a){if(a===undefined){return}if(isNaN(this.postponed_actions_queue[a])){this.postponed_actions_queue[a]=0}this.postponed_actions_queue[a]+=1},release_postponed_actions:function(){var a=this;jQuery.each(this.postponed_actions_queue,function(b,c){if(1<c){a.postponed_actions_queue[b]-=1}else if(1==c){window[b]();a.postponed_actions_queue[b]-=1}})}};LiveComposer.Builder.Helpers.insertModule=function(a,b){var c=jQuery(a),b=jQuery(b);var d=[];c.find("script").each(function(){d.push(this.innerHTML);this.parentNode.removeChild(this)});b.after(c).remove();d.forEach(function(a){var b=LiveComposer.Builder.PreviewAreaDocument[0].createElement("script");b.innerHTML=a;b.type="text/javascript";LiveComposer.Builder.PreviewAreaDocument[0].getElementById(c[0].id).appendChild(b)});return c}})();"use strict";LiveComposer.Builder.UI.CModalWindow=function(a){if(typeof a!="object"||this.instancesExists===true)return false;var b=this;var c='<div class="dslca-prompt-modal dslca-prompt-modal-active">'+'<div class="dslca-prompt-modal-content"><div class="dslca-prompt-modal-msg">'+'<span class="dslca-prompt-modal-title">'+a.title+"</span>"+'<span class="dslca-prompt-modal-descr">'+a.content+"</span></div>";var d="";if(a.confirm||a.cancel){d='<div class="dslca-prompt-modal-actions">'+'<a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok">'+"</span>"+(a.confirm_title?a.confirm_title:"Confirm")+'</a><span class="dslca-prompt-modal-cancel-hook"><span class="dslc-icon dslc-icon-remove">'+"</span>"+(a.cancel_title?a.cancel_title:"Cancel")+"</span></div>"}else{d='<div class="dslca-prompt-modal-actions">'+'<a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok">'+"</span>"+(a.ok_title?a.ok_title:"OK")+"</a></div>"}c+=d+"</div>";c=jQuery(c);if(typeof a.confirm!="function")a.confirm=function(){};if(typeof a.cancel!="function")a.cancel=function(){};c.find(".dslca-prompt-modal-confirm-hook").click(function(d){d.stopPropagation();c.find(".dslca-prompt-modal-content").animate({top:"55%"},400);c.animate({opacity:0},400,function(){a.confirm();b.instancesExists=false;jQuery(this).remove()});return false});c.find(".dslca-prompt-modal-cancel-hook").click(function(d){d.stopPropagation();c.find(".dslca-prompt-modal-content").animate({top:"55%"},400);c.animate({opacity:0},400,function(){jQuery(this).remove();b.instancesExists=false;a.cancel()});return false});c.hide();jQuery("body").append(c);c.css({opacity:0}).show().animate({opacity:1},400);c.find(".dslca-prompt-modal-content").css({top:"55%"}).animate({top:"50%"},400);this.instancesExists=true};"use strict";function dslc_show_modal(a,b){if(dslcDebug)console.log("dslc_show_modal");dslc_hide_modal("",jQuery(".dslca-modal:visible"));var b=jQuery(b);var c=jQuery(".dslca-container").height();b.outerHide({clbk:function(){dslc_hide_modal("",jQuery(".dslca-modal:visible"))}});var d=jQuery(a).position(),e=b.outerWidth()/2-a.outerWidth()/2,f=d.left-e;b.css({left:f}).show();jQuery(".dslca-prompt-modal-custom").insertAfter(b);jQuery(".dslca-prompt-modal-custom").length>0&&jQuery(".dslca-prompt-modal-custom").fadeIn();b.addClass("dslca-modal-open");b.css({}).fadeIn(600)}function dslc_hide_modal(a,b){if(dslcDebug)console.log("dslc_hide_modal");var b=jQuery(b);b.outerHide("destroy");b.hide();jQuery(".dslca-prompt-modal-custom").length>0&&jQuery(".dslca-prompt-modal-custom").fadeOut();b.removeClass("dslca-modal-open")}jQuery(document).ready(function(a){a(document).on("click",".dslca-open-modal-hook",function(a){a.preventDefault();var b=jQuery(this).data("modal");dslc_show_modal(jQuery(this),b)});jQuery(document).on("click",".dslca-close-modal-hook",function(a){a.preventDefault();if(!jQuery(this).hasClass("dslca-action-disabled")){var b=jQuery(this).data("modal");dslc_hide_modal(jQuery(this),b)}})});function dslc_js_confirm(a,b,c){if(dslcDebug)console.log("dslc_js_confirm");jQuery(".dslca-prompt-modal").addClass("dslca-prompt-modal-active");jQuery(".dslca-prompt-modal").data("id",a);jQuery(".dslca-prompt-modal").data("target",c);jQuery(".dslca-prompt-modal-msg").html(b);jQuery(".dslca-prompt-modal").css({opacity:0}).show().animate({opacity:1},400);jQuery(".dslca-prompt-modal-content").css({top:"55%"}).animate({top:"50%"},400)}function dslc_js_confirm_close(){if(dslcDebug)console.log("dslc_js_confirm_close");jQuery(".dslca-prompt-modal").removeClass("dslca-prompt-modal-active");jQuery(".dslca-prompt-modal").animate({opacity:0},400,function(){jQuery(this).hide();jQuery(".dslca-prompt-modal-cancel-hook").show();jQuery(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_confirm)});jQuery(".dslca-prompt-modal-content").animate({top:"55%"},400)}function dslc_modal_keypress_events(a){if(a.which==13){if(jQuery(".dslca-prompt-modal-active").length){jQuery(".dslca-prompt-modal-confirm-hook").trigger("click")}}else if(a.which==27){if(jQuery(".dslca-prompt-modal-active").length){jQuery(".dslca-prompt-modal-cancel-hook").trigger("click")}}}jQuery(document).ready(function(a){a(document).on("click",".dslca-prompt-modal-cancel-hook",function(a){a.preventDefault();var b=jQuery(".dslca-prompt-modal").data("id");var c=jQuery(".dslca-prompt-modal").data("target");if(b=="edit_in_progress"){dslc_module_options_cancel_changes(function(){c.trigger("click")})}else if(b=="delete_module"){}dslc_js_confirm_close();jQuery(".dslca-prompt-modal").data("id","")});a(document).on("click",".dslca-prompt-modal-confirm-hook",function(b){b.preventDefault();var c=jQuery(".dslca-prompt-modal").data("id");var d=jQuery(".dslca-prompt-modal").data("target");var e=true;if(c=="edit_in_progress"){dslc_module_options_confirm_changes(function(){d.trigger("click")})}else if(c=="disable_lc"){window.location=d}else if("delete_module"===c){var f=d.closest(".dslc-module-front");dslc_delete_module(f)}else if("delete_modules_area"===c){var g=d.closest(".dslc-modules-area");var h=g.closest(".dslc-modules-section-inner");dslc_modules_area_delete(g)}else if(c=="delete_modules_section"){dslc_row_delete(d.closest(".dslc-modules-section"))}else if(c=="export_modules_section"){}else if(c=="import_modules_section"){dslc_row_import(a(".dslca-prompt-modal textarea").val());a(".dslca-prompt-modal-confirm-hook span").css({opacity:0});a(".dslca-prompt-modal-confirm-hook .dslca-loading").show();e=false}if(e)dslc_js_confirm_close();jQuery(".dslca-prompt-modal").data("id","")})});"use strict";jQuery(document).on("editorFrameLoaded",function(){var a=jQuery;var b=function(){if(LiveComposer.Builder.Flags.panelOpened){LiveComposer.Builder.UI.shakePanelConfirmButton();return false}return true};LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-module-hook",function(c){c.preventDefault();if(!b())return false;if(!a(this).hasClass("dslca-action-disabled")){dslc_module_copy(a(this).closest(".dslc-module-front"))}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-module-hook",function(c){c.preventDefault();if(!b())return false;var d=this;if(!a(this).hasClass("dslca-action-disabled")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_del_module_title,content:DSLCString.str_del_module_descr,confirm:function(){var a=jQuery(d).closest(".dslc-module-front");dslc_delete_module(a)}})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-module-edit-hook, .dslc-module-front > div:not(.dslca-module-manage)",function(b){if(dslcDebug)console.log("dslca-module-edit-hook");b.preventDefault();var c=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;var d=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(a("body").hasClass("dslca-composer-hidden")||c>0||d>0){if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument)[0]!=jQuery(this).closest(".dslc-module-front")[0]){LiveComposer.Builder.UI.shakePanelConfirmButton()}return false}var e=a(this).closest(".dslc-module-front"),f=e.data("dslc-module-id");a(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");e.addClass("dslca-module-being-edited");dslc_module_options_show(f);jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("module-editing-in-progress")});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-module-hook",function(c){c.preventDefault();if(!b())return false;if(!a(this).hasClass("dslca-action-disabled")){a(".dslca-change-width-module-options",this).toggle();a(this).closest(".dslca-module-manage").toggleClass("dslca-module-manage-change-width-active")}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-module-options span",function(){dslc_module_width_set(jQuery(this).closest(".dslc-module-front"),jQuery(this).data("size"))});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-wysiwyg-actions-edit-hook",function(){var a=jQuery(this).parent().siblings(".dslca-editable-content");var b=a.closest(".dslc-module-front");if(b.hasClass("dslc-module-handle-like-accordion")){LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(b.find(".dslc-accordion"));var c=b.find('.dslca-module-option-front[data-id="accordion_content"]').val();var d=c.split("(dslc_sep)");var e=a.closest(".dslc-accordion-item").index();var f=d[e].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else if(b.hasClass("dslc-module-handle-like-tabs")){LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(b.find(".dslc-tabs"));var c=b.find('.dslca-module-option-front[data-id="tabs_content"]').val();var d=c.split("(dslc_sep)");var e=a.closest(".dslc-tabs-tab-content").index();var f=d[e].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else{var f=b.find('.dslca-module-option-front[data-id="'+a.data("id")+'"]').val().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}if(typeof tinymce!="undefined"){var g=tinymce.get("dslcawpeditor");if(jQuery("#wp-dslcawpeditor-wrap").hasClass("tmce-active")){g.setContent(f,{format:"html"})}else{jQuery("textarea#dslcawpeditor").val(f)}if(!b.hasClass("dslca-module-being-edited")){b.find(".dslca-module-edit-hook").trigger("click")}jQuery(".dslca-wp-editor").show();a.addClass("dslca-wysiwyg-active");jQuery("#dslcawpeditor_ifr, #dslcawpeditor").css({height:jQuery(".dslca-wp-editor").height()-300})}else{console.info("Live Composer: TinyMCE is undefined.")}});LiveComposer.Builder.PreviewAreaDocument.on("blur",".dslca-editable-content",function(){if(!jQuery("body").hasClass("dslca-composer-hidden")&&jQuery(this).data("type")=="simple"){dslc_editable_content_gen_code(jQuery(this))}}).on("paste",".dslca-editable-content:not(.inline-editor)",function(){if(!jQuery("body").hasClass("dslca-composer-hidden")&&jQuery(this).data("type")=="simple"){var a=jQuery(this);setTimeout(function(){if(a.data("type")=="simple"){a.html(a.text())}dslc_editable_content_gen_code(a)},100)}}).on("focus",".dslca-editable-content",function(){if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length>0&&!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).trigger("blur")}}).on("keyup",".dslca-editable-content",function(){if(jQuery(this).data("type")=="simple"){jQuery(this).closest(".dslc-module-front").addClass("dslca-module-change-made")}})});function dslc_module_delete(a){if(dslcDebug)console.log("dslc_delete_module");a.addClass("dslca-module-being-deleted");if(a.hasClass("dslca-module-being-edited")){dslc_show_section(".dslca-modules")}setTimeout(function(){a.remove();dslc_generate_code();dslc_show_publish_button()},1e3);a.css({"-webkit-animation-name":"dslcBounceOut2","-moz-animation-name":"dslcBounceOut2","animation-name":"dslcBounceOut2","animation-duration":"0.6s","-webkit-animation-duration":"0.6s"}).animate({opacity:0},500,function(){a.css({marginBottom:0}).animate({height:0},400,"easeOutQuart")})}function dslc_module_copy(a){if(dslcDebug)console.log("dslc_copy_module");jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");var b=a[0].cloneNode(true);jQuery(b).appendTo(a.closest(".dslc-modules-area")).css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).addClass("dslca-module-being-edited");dslc_module_new_id(b);dslc_generate_code();jQuery(b).css({opacity:0}).removeClass("dslca-module-being-edited").animate({opacity:1},300);dslc_show_publish_button()}function dslc_module_new_id(a){var b=LiveComposer.Utils.get_unique_id();var c=a.getAttribute("id");a.setAttribute("data-module-id",b);a.setAttribute("id","dslc-module-"+b);var d=a.getElementsByTagName("style")[0];var e=d.textContent;d.setAttribute("id","#css-for-dslc-module-"+b);e=e.split(c).join("dslc-module-"+b);d.textContent=e;LiveComposer.Utils.update_module_property_raw(a,"module_instance_id",b)}function dslc_module_width_set(a,b){if(dslcDebug)console.log("dslc_module_width_set");var c="dslc-"+b+"-col";a.removeClass("dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col").addClass(c);a[0].setAttribute("data-dslc-module-size",b);LiveComposer.Utils.update_module_property_raw(a[0],"dslc_m_size",b);LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();dslc_generate_code();dslc_show_publish_button()}function dslc_module_options_show(a){if(dslcDebug)console.log("dslc_module_options_show");var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),c=jQuery(".dslca-module-options-front textarea",b),d=jQuery(".dslca-header").data("default-section"),e=jQuery(jQuery("#pseudo-panel").html());jQuery("#wpwrap").append(e);var f={};f["action"]="dslc-ajax-display-module-options";f["dslc"]="active";f["dslc_module_id"]=a;f["dslc_post_id"]=jQuery(".dslca-container").data("data-post-id");f.dslc_url_vars=LiveComposer.Utils.get_page_params();c.each(function(){var a=jQuery(this),b=a.data("id"),c=a.val();f[b]=c});jQuery(".dslca-wp-editor-actions").hide();jQuery(".dslca-wp-editor-notification").show();dslc_hide_publish_button();LiveComposer.Builder.UI.initInlineEditors();var g=jQuery(".dslca-module-options-front",b).children().clone();LiveComposer.Builder.moduleBackup=g;LiveComposer.Builder.Flags.panelOpened=true;e.show();e.addClass("show");jQuery.post(DSLCAjax.ajaxurl,f,function(a){e.remove();dslc_show_section(".dslca-module-edit");if(!jQuery("body").hasClass("rtl")){jQuery(".dslca-module-edit-options-inner").html(a.output)}else{jQuery(".dslca-module-edit-options-inner").html(a.output)}jQuery(".dslca-module-edit-options-tabs").html(a.output_tabs);jQuery(".dslca-header .dslca-options-filter-hook").show();if(jQuery('.dslca-module-edit-option[data-section="'+d+'"]').length){jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+d+'"]').show();jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+d+'"]').trigger("click")}else{jQuery(".dslca-header .dslca-options-filter-hook:first").hide();jQuery(".dslca-header .dslca-options-filter-hook:first").next(".dslca-options-filter-hook").trigger("click")}jQuery(".dslca-module-edit-actions").show();jQuery(".dslca-wp-editor-notification").hide();jQuery(".dslca-wp-editor-actions").show();jQuery(".dslca-header .dslca-go-to-section-hook").hide();jQuery(".dslca-row-edit-actions").hide();LiveComposer.Builder.UI.loadOptionsDeps()})}function dslc_module_output_default(a,b){if(dslcDebug)console.log("dslc_module_output_default");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-module",dslc:"active",dslc_module_id:a,dslc_post_id:jQuery(".dslca-container").data("post-id"),dslc_url_vars:LiveComposer.Utils.get_page_params()},function(a){b(a)})}function dslc_module_output_altered(a){if(dslcDebug)console.log("dslc_module_output_altered");a=typeof a!=="undefined"?a:false;var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),c=b.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",b),e=b.data("module-id");var f={};f["action"]="dslc-ajax-add-module";f["dslc"]="active";f["dslc_module_id"]=c;f["dslc_module_instance_id"]=e;f["dslc_post_id"]=jQuery(".dslca-container").data("post-id");if(b.hasClass("dslca-preload-preset"))f["dslc_preload_preset"]="enabled";else f["dslc_preload_preset"]="disabled";b.removeClass("dslca-preload-preset");d.each(function(){var a=jQuery(this);var b=a.data("id");var c=a.val();f[b]=c});f.dslc_url_vars=LiveComposer.Utils.get_page_params();jQuery.post(DSLCAjax.ajaxurl,f,function(c){LiveComposer.Builder.UI.clearUtils();var d=LiveComposer.Builder.Helpers.insertModule(c.output,b);d.addClass("dslca-module-being-edited");dslc_generate_code();LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();if(a){a(c)}})}function dslc_module_output_reload(a,b){if(dslcDebug)console.log("dslc_module_output_reload");b=typeof b!=="undefined"?b:false;var c=a.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",a),e=a.data("module-id");var f={};f["action"]="dslc-ajax-add-module";f["dslc"]="active";f["dslc_module_id"]=c;f["dslc_module_instance_id"]=e;f["dslc_post_id"]=jQuery(".dslca-container").data("post-id");f["dslc_preload_preset"]="enabled";a.removeClass("dslca-preload-preset");d.each(function(){var a=jQuery(this);var b=a.data("id");var c=a.val();f[b]=c});a.append('<div class="dslca-module-reloading"><span class="dslca-icon dslc-icon-spin dslc-icon-refresh"></span></div>');jQuery.post(DSLCAjax.ajaxurl,f,function(c){a.after(c.output).next().addClass("dslca-module-being-edited");a.remove();dslc_generate_code();dslc_show_publish_button();LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();if(b){b(c)}jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")})}function dslc_delete_module(a){dslc_module_delete(a)}function dslc_copy_module(a){dslc_module_copy(a)}function dslc_display_module_options(a){dslc_module_options_show(a)}function dslc_get_module_output(a,b){dslc_module_output_default(a,b)}function dslc_preview_change(a){dslc_module_output_altered(a)}function dslc_reload_module(a,b){dslc_module_output_reload(a,b)}"use strict";LiveComposer.Builder.Elements.CModuleArea=function(a){var b=this;this.section=jQuery(a).closest(".dslc-modules-section");this.elem=a;this.observer=new mqMutationObserver(a,function(){var c=b.elem.classList;if(a.querySelectorAll(".dslc-module-front").length==0){c.add("dslc-modules-area-empty");c.remove("dslc-modules-area-not-empty")}else{c.remove("dslc-modules-area-empty");c.add("dslc-modules-area-not-empty")}},{childList:true});this.sortable=Sortable.create(a,{group:"modules",animation:350,handle:".dslca-move-module-hook",draggable:".dslc-module-front",ghostClass:"dslca-module-ghost",chosenClass:"dslca-module-dragging",scroll:true,scrollSensitivity:150,scrollSpeed:15,setData:function(a,b){a.setData(LiveComposer.Utils.msieversion()!==false?"Text":"text/html",b.innerHTML)},onStart:function(a){a.oldIndex;jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress")},onEnd:function(a){a.oldIndex;a.newIndex;a.preventDefault();dslc_generate_code();LiveComposer.Builder.UI.stopScroller();jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress")},onAdd:function(a){var c=a.item;a.from;if(jQuery(c).data("id")=="DSLC_M_A"){dslc_modules_area_add(jQuery(b.section).find(".dslc-modules-section-wrapper .dslc-modules-section-inner"));c.remove()}},onUpdate:function(a){var b=a.item;dslc_show_publish_button()},onSort:function(a){},onRemove:function(a){},onFilter:function(a){var b=a.item},onMove:function(a){a.dragged;a.draggedRect;a.related;a.relatedRect;if(jQuery(".dslc-modules-area-empty").find(".dslc-module-front").length>0){jQuery(this).removeClass("dslc-modules-area-empty").addClass("dslc-modules-area-not-empty");jQuery(".dslca-no-content:not(:visible)",this).show().css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",padding:0}).animate({padding:"35px 0"},300,function(){})}}});jQuery(a).attr("data-jsinit","initialized");jQuery(document).on("LC.sortableOff",function(){b.sortable&&b.sortable.option&&b.sortable.option("disabled",true)});jQuery(document).on("LC.sortableOn",function(){b.sortable&&b.sortable.option&&b.sortable.option("disabled",false)})};"use strict";jQuery(document).on("editorFrameLoaded",function(){function a(){var a=jQuery(".dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument);jQuery(a).each(function(a,b){new LiveComposer.Builder.Elements.CModuleArea(b)})}var b=function(){if(LiveComposer.Builder.Flags.panelOpened){LiveComposer.Builder.UI.shakePanelConfirmButton();return false}return true};if(!jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).length&&!jQuery("#dslca-tut-page",LiveComposer.Builder.PreviewAreaDocument).length){dslc_row_add().then(function(b){a()})}else{a()}LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-area-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){var c=jQuery(this).closest(".dslc-modules-area");dslc_copy_modules_area(c)}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-area-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){var c=jQuery(this).closest(".dslc-modules-area").hasClass("dslc-modules-area-empty");if(!c){var d=jQuery(this);LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_del_area_title,content:DSLCString.str_del_area_descr,confirm:function(){var a=d.closest(".dslc-modules-area");dslc_modules_area_delete(a)}})}else{var e=jQuery(this).closest(".dslc-modules-area");dslc_delete_modules_area(e)}}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-modules-area-options span",function(){if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){dslc_modules_area_width_set(jQuery(this).closest(".dslc-modules-area"),jQuery(this).data("size"))}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-modules-area-hook",function(a){
2
+ a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){if(jQuery(".dslca-change-width-modules-area-options:visible",this).length){jQuery(".dslca-change-width-modules-area-options",this).hide()}else{jQuery(".dslca-change-width-modules-area-options",this).show()}}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-area-hook",function(a){a.preventDefault();if(!b())return false;dslc_modules_area_add(jQuery(this).closest(".dslc-modules-section").find(".dslc-modules-section-inner"))})});function dslc_modules_area_add(a){if(dslcDebug)console.log("dslc_add_modules_area");var b='<div class="dslc-modules-area dslc-col dslc-12-col dslc-modules-area-empty " data-size="12">'+'<div class="dslca-modules-area-manage"> <div class="dslca-modules-area-manage-inner">'+'<span class="dslca-manage-action dslca-copy-modules-area-hook" title="Duplicate" ><span class="dslca-icon dslc-icon-copy">'+'</span></span> <span class="dslca-manage-action dslca-move-modules-area-hook" title="Drag to move" >'+'<span class="dslca-icon dslc-icon-move"></span></span>'+'<span class="dslca-manage-action dslca-change-width-modules-area-hook" title="Change width" >'+'<span class="dslca-icon dslc-icon-columns"></span> <div class="dslca-change-width-modules-area-options">'+'<span>Container Width</span><span data-size="1">1/12</span><span data-size="2">2/12</span>'+'<span data-size="3">3/12</span><span data-size="4">4/12</span> <span data-size="5">5/12</span><span data-size="6">6/12</span>'+'<span data-size="7">7/12</span><span data-size="8">8/12</span> <span data-size="9">9/12</span><span data-size="10">10/12</span>'+'<span data-size="11">11/12</span><span data-size="12">12/12</span> </div> </span>'+'<span class="dslca-manage-action dslca-delete-modules-area-hook" title="Delete" ><span class="dslca-icon dslc-icon-remove"></span></span> </div> </div>'+"</div>";jQuery(b).appendTo(a).css({height:0}).animate({height:99},300,function(){jQuery(this).css({height:"auto"})}).addClass("dslca-init-animation");var c=jQuery(".dslc-modules-area-empty",LiveComposer.Builder.PreviewAreaDocument);jQuery(c).each(function(a,b){new LiveComposer.Builder.Elements.CModuleArea(b)});dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button()}function dslc_modules_area_delete(a){if(dslcDebug)console.log("dslc_delete_modules_area");var b=a.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),c=false;a.addClass("dslca-modules-area-being-deleted");if(b.find(".dslc-modules-area").length<2){c=true}if(a.find(".dslca-module-being-edited").length){jQuery(".dslca-header .dslca-options-filter-hook",LiveComposer.Builder.PreviewAreaDocument).hide();jQuery(".dslca-module-edit-actions",LiveComposer.Builder.PreviewAreaDocument).hide();jQuery(".dslca-header .dslca-go-to-section-hook",LiveComposer.Builder.PreviewAreaDocument).show();dslc_show_section(".dslca-modules")}setTimeout(function(){if(c){var d=a.closest(".dslc-modules-section-inner");if(2<=a.closest("#dslc-main").find(".dslc-modules-section").length){dslc_row_delete(a.closest(".dslc-modules-section"))}else{a.remove();dslc_modules_area_add(b)}}a.remove();dslc_generate_code();dslc_show_publish_button()},900);a.css({"-webkit-animation-name":"dslcBounceOut","-moz-animation-name":"dslcBounceOut","animation-name":"dslcBounceOut","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",overflow:"hidden"}).animate({opacity:0},600).animate({height:0,marginBottom:0},300,function(){a.remove();dslc_generate_code();dslc_show_publish_button()})}function dslc_modules_area_copy(a){if(dslcDebug)console.log("dslc_copy_modules_area");var b,c=a.closest(".dslc-modules-section").find(".dslc-modules-section-inner");var d=a.clone().appendTo(c);new LiveComposer.Builder.Elements.CModuleArea(d[0]);d.find(".dslca-modules-area-manage").trigger("mouseleave");d.data("size",a.data("size")).find(".dslc-module-front").css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).each(function(){var a=jQuery(this);dslc_module_new_id(a[0]);jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");dslc_generate_code();a.animate({opacity:1},300)});dslc_drag_and_drop();dslc_show_publish_button();dslc_generate_code()}function dslc_modules_area_width_set(a,b){if(dslcDebug)console.log("dslc_modules_area_width_set");var c="dslc-"+b+"-col";a.removeClass("dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col").addClass(c).data("size",b);LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();if(LiveComposer.Builder.Flags.panelOpened){return false}dslc_generate_code();dslc_show_publish_button()}LiveComposer.Builder.moduleareas_init=function(){jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(jQuery(this).data("jsinit")!=="initialized"){new LiveComposer.Builder.Elements.CModuleArea(this)}})};function dslc_add_modules_area(a){dslc_modules_area_add(a)}function dslc_delete_modules_area(a){dslc_modules_area_delete(a)}function dslc_copy_modules_area(a){dslc_modules_area_copy(a)}"use strict";function dslc_update_preset(){if(dslcDebug)console.log("dslc_update_preset");var a=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),b=a.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),c=a.find(".dslca-module-code").val(),d=a.data("dslc-module-id");if(b!=="none"){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-preset",dslc_preset_name:b,dslc_preset_code:c,dslc_module_id:d},function(b){jQuery(".dslc-module-front:not(#"+a.attr("id")+')[data-dslc-module-id="'+a.data("dslc-module-id")+'"][data-dslc-preset="'+a.data("dslc-preset")+'"]',LiveComposer.Builder.PreviewAreaDocument).each(function(){dslc_module_output_reload(jQuery(this))})})}}jQuery(document).ready(function(a){a(document).on("keypress",'.dslca-module-edit-field[name="css_save_preset"]',function(b){if(b.which==13){var c=a(this).val(),d=c.toLowerCase().replace(/\s/g,"-");a("body").addClass("dslca-new-preset-added");a('.dslca-module-edit-field[name="css_load_preset"]').append('<option value="'+d+'">'+d+"</option>").val(d).trigger("change");a(this).val("")}});a(document).on("change",'.dslca-module-edit-field[name="css_load_preset"]',function(b){a(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-preload-preset")})});"use strict";LiveComposer.Builder.Elements.CRow=function(a){var b=this;this.elem=a;var c=jQuery(a).find(".dslc-modules-section-wrapper .dslc-modules-section-inner").eq(0)[0];jQuery(a).droppable({drop:function(a,b){var c=jQuery(this).find(".dslc-modules-section-inner");var d=b.draggable.data("id");if(d=="DSLC_M_A"){dslc_modules_area_add(c)}}});this.sortable=jQuery(c).sortable({connectWith:".dslc-modules-section-inner",items:".dslc-modules-area",handle:'.dslca-move-modules-area-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-area-placeholder",cursorAt:{top:0,left:0},tolerance:"intersect",scroll:true,scrollSensitivity:100,scrollSpeed:15,sort:function(){jQuery(this).removeClass("ui-state-default")},over:function(a,b){var c=b.placeholder.closest(".dslc-modules-section");jQuery(c).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty");c.siblings(".dslc-modules-section").each(function(){if(jQuery(".dslc-modules-area:not(.ui-sortable-helper)",jQuery(this)).length){jQuery(this).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty")}else{jQuery(this).removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")}})},remove:function(){jQuery(b.elem).find(".dslc-modules-area").length==0&&dslc_modules_area_add(jQuery(c))},update:function(a,b){dslc_generate_code();dslc_show_publish_button()},start:function(a,b){b.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_area_helper_text+"</span></span>");if(!jQuery(b.item).hasClass("dslc-12-col")){b.placeholder.width(b.item.width()-10)}else{b.placeholder.width(b.item.width()).css({margin:0})}jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress dslca-modules-area-drag-in-progress");jQuery(".dslc-modules-section-inner").sortable("refreshPositions")},stop:function(a,b){LiveComposer.Builder.UI.stopScroller();jQuery("body").removeClass("dslca-drag-in-progress dslca-modules-area-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop")},change:function(a,b){}});jQuery(a).attr("data-jsinit","initialized");jQuery(document).on("LC.sortableOff",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",true)}});jQuery(document).on("LC.sortableOn",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",false)}})};"use strict";jQuery(document).on("editorFrameLoaded",function(){var a=jQuery;var b=function(){if(LiveComposer.Builder.Flags.panelOpened){LiveComposer.Builder.UI.shakePanelConfirmButton();return false}return true};jQuery(".dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each(function(){new LiveComposer.Builder.Elements.CRow(this)});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-section-hook",function(c){if(!b())return false;c.preventDefault();var d=this;if(!a(this).hasClass("dslca-action-disabled")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_del_row_title,content:DSLCString.str_del_row_descr,confirm:function(){dslc_row_delete(a(d).closest(".dslc-modules-section"))}})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-import-modules-section-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_import_row_title,content:DSLCString.str_import_row_descr+"<br><br><textarea></textarea>",confirm:function(){dslc_row_import(jQuery(".dslca-prompt-modal textarea").val());jQuery(".dslca-prompt-modal-confirm-hook span").css({opacity:0});jQuery(".dslca-prompt-modal-confirm-hook .dslca-loading").show()},confirm_title:DSLCString.str_import})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-export-modules-section-hook",function(c){c.preventDefault();if(!b())return false;if(!a(this).hasClass("dslca-action-disabled")){a(".dslca-prompt-modal-cancel-hook").hide();a(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_ok);LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_export_row_title,content:DSLCString.str_export_row_descr+"<br><br><textarea>"+dslc_generate_section_code(a(this).closest(".dslc-modules-section"))+"</textarea></span>"})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-section-hook",function(){if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){dslc_row_copy(jQuery(this).closest(".dslc-modules-section"))}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-section-hook",function(c){c.preventDefault();if(!b())return false;var d=a(this);if(!a(this).hasClass("dslca-action-disabled")){d.find(".dslca-icon").removeClass("dslc-icon-align-justify").addClass("dslc-icon-spinner dslc-icon-spin");dslc_row_add(function(){d.find(".dslca-icon").removeClass("dslc-icon-spinner dslc-icon-spin").addClass("dslc-icon-align-justify")})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-edit-modules-section-hook",function(){if(!b())return false;var c=this;var d=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;var e=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(a("body").hasClass("dslca-composer-hidden")||d>0||e>0)return false;if(!a(this).hasClass("dslca-action-disabled")){dslc_row_edit(a(this).closest(".dslc-modules-section"))}jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("section-editing-in-progress")})});function dslc_row_add(a){if(dslcDebug)console.log("dslc_row_add");a=typeof a!=="undefined"?a:false;var b=jQuery.Deferred();jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-section",dslc:"active"},function(c){var d=jQuery(c.output);d.appendTo(LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main"));dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button();new LiveComposer.Builder.Elements.CRow(d);new LiveComposer.Builder.Elements.CModuleArea(d.find(".dslc-modules-area").eq(0)[0]);if(a){a()}d.find(".dslc-modules-area").addClass("dslc-modules-area-empty dslc-last-col");b.resolve(d[0])});return b}function dslc_row_delete(a){if(dslcDebug)console.log("dslc_row_delete");if(a.find(".dslca-module-being-edited")){jQuery(".dslca-header .dslca-options-filter-hook").hide();jQuery(".dslca-module-edit-actions").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();dslc_show_section(".dslca-modules")}a.trigger("mouseleave").remove();dslc_generate_code();dslc_show_publish_button()}function dslc_row_edit(a){if(dslcDebug)console.log("dslc_row_edit");var b,c;jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited").removeClass("dslca-modules-section-change-made");a.addClass("dslca-modules-section-being-edited");jQuery(".dslca-header .dslca-go-to-section-hook").hide();jQuery('.dslca-row-options-filter-hook[data-section="styling"], .dslca-row-options-filter-hook[data-section="responsive"]').show();jQuery('.dslca-row-options-filter-hook[data-section="styling"]').trigger("click");jQuery(".dslca-header .dslca-options-filter-hook").hide();jQuery(".dslca-module-edit-actions").hide();jQuery(".dslca-row-edit-actions").show();jQuery(".dslca-modules-section-edit-field").each(function(){if("type"===jQuery(this).data("id")){if(""===jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="type"]',LiveComposer.Builder.PreviewAreaDocument).val()||"wrapped"===jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="type"]',LiveComposer.Builder.PreviewAreaDocument).val()){jQuery('select[data-id="type"]').val("wrapper").change()}}if(jQuery(this).data("id")=="border-top"){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("top")>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else if(jQuery(this).data("id")=="border-right"){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("right")>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else if(jQuery(this).data("id")=="border-bottom"){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("bottom")>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else if(jQuery(this).data("id")=="border-left"){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("left")>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else if(jQuery(this).hasClass("dslca-modules-section-edit-field-checkbox")){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf(jQuery(this).data("val"))>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else{jQuery(this).val(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]',LiveComposer.Builder.PreviewAreaDocument).val());if(jQuery(this).hasClass("dslca-modules-section-edit-field-colorpicker")){var a=jQuery(this);jQuery(this).closest(".dslca-modules-section-edit-option").find(".sp-preview-inner").removeClass("sp-clear-display").css({"background-color":a.val()});jQuery(this).css({"background-color":a.val()})}}});jQuery(".dslca-modules-section-edit-field-upload").each(function(){var a=jQuery(this).closest(".dslca-modules-section-edit-option");if(jQuery(this).val()&&jQuery(this).val()!=="disabled"){jQuery(".dslca-modules-section-edit-field-image-add-hook",a).hide();jQuery(".dslca-modules-section-edit-field-image-remove-hook",a).show()}else{jQuery(".dslca-modules-section-edit-field-image-remove-hook",a).hide();jQuery(".dslca-modules-section-edit-field-image-add-hook",a).show()}});dslc_show_section(".dslca-modules-section-edit");LiveComposer.Builder.Flags.panelOpened=true;dslc_hide_publish_button()}function dslc_row_edit_cancel(a){if(dslcDebug)console.log("dslc_row_cancel_changes");a=typeof a!=="undefined"?a:false;LiveComposer.Builder.Flags.generate_code_after_row_changed=false;jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input",LiveComposer.Builder.PreviewAreaDocument).each(function(){jQuery(this).val(jQuery(this).data("def"));jQuery('.dslca-modules-section-edit-field[data-id="'+jQuery(this).data("id")+'"]').val(jQuery(this).data("def")).trigger("change")});LiveComposer.Builder.Flags.generate_code_after_row_changed=true;dslc_generate_code();dslc_show_publish_button();dslc_show_section(".dslca-modules");jQuery(".dslca-row-edit-actions").hide();jQuery(".dslca-row-options-filter-hook").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();dslc_show_publish_button;jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made");if(a){a()}LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress")}function dslc_row_edit_confirm(a){if(dslcDebug)console.log("dslc_confirm_row_changes");a=typeof a!=="undefined"?a:false;jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input",LiveComposer.Builder.PreviewAreaDocument).each(function(){jQuery(this).data("def",jQuery(this).val())});dslc_show_section(".dslca-modules");jQuery(".dslca-row-edit-actions").hide();jQuery(".dslca-row-options-filter-hook").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made");dslc_generate_code();dslc_show_publish_button();if(a){a()}LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress")}function dslc_row_copy(a){if(dslcDebug)console.log("dslc_row_copy");var b,c,d;c=a.clone().appendTo(jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument));c[0].removeAttribute("data-jsinit");c.find(".dslc-modules-area").each(function(){var b=jQuery(this).index();jQuery(this).data("size",a.find(".dslc-modules-area:eq( "+b+" )").data("size"));this.removeAttribute("data-jsinit")});new LiveComposer.Builder.Elements.CRow(c);c.find(".dslc-module-front").css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).each(function(){var a=jQuery(this);dslc_module_new_id(a[0]);LiveComposer.Builder.rows_init();LiveComposer.Builder.moduleareas_init();dslc_generate_code();dslc_drag_and_drop();jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");a.animate({opacity:1},300);dslc_show_publish_button()})}function dslc_row_import(a){if(dslcDebug)console.log("dslc_row_import");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-modules-section",dslc:"active",dslc_modules_section_code:a},function(a){dslc_js_confirm_close();jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).append(a.output);LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video();LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();LiveComposer.Builder.rows_init();LiveComposer.Builder.moduleareas_init();dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button()})}function dslc_add_modules_section(){dslc_row_add()}function dslc_delete_modules_section(a){dslc_row_delete(a)}function dslc_edit_modules_section(a){dslc_row_edit(a)}function dslc_copy_modules_section(a){dslc_row_copy(a)}function dslc_import_modules_section(a){dslc_row_import(a)}jQuery(document).ready(function(a){a(document).on("click",".dslca-row-edit-save",function(){dslc_row_edit_confirm();a(".dslca-currently-editing").removeAttr("style");a(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active");LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(true)});a(document).on("click",".dslca-row-edit-cancel",function(){dslc_row_edit_cancel();a(".dslca-currently-editing").removeAttr("style");a(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active");LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(true)})});LiveComposer.Builder.rows_init=function(){jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(jQuery(this).data("jsinit")!=="initialized"){new LiveComposer.Builder.Elements.CRow(this)}})};jQuery(document).ready(function(a){var b=function(a){var b=.75;var c=500;var d=100;var e=jQuery(".dslca-section-scroller",a);var f=jQuery(".dslca-section-scroller-inner",a)[0];e.on("wheel",function(a){g(a.originalEvent.deltaY||a.originalEvent.deltaX);return false});function g(a){if(a<0){a=-d}else{a=d}a=a*b;var c=e.find(".dslca-section-scroller-content").width();var g=e.width();if(c<=g)return false;var h=c-g+10;a=parseInt(f.style.left||0)-a;a=a>=0?0:a;a=a<=-h?-h:a;f.style.left=a+"px"}jQuery(".dslca-section-scroller-prev",a).click(function(a){a.preventDefault();g(-c)});jQuery(".dslca-section-scroller-next",a).click(function(a){a.preventDefault();g(c)});jQuery(window).load(function(){jQuery(window).resize(function(){g(0)})})};b(jQuery(".dslca-section.dslca-modules"));b(jQuery(".dslca-section.dslca-templates-load"))});jQuery(document).ready(function(a){LiveComposer.Builder.UI.initPreviewAreaScroller=function(){var a=5;var b=6;LiveComposer.Builder.Flags.windowScroller=false;jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragleave",".lc-scroll-top-area, .lc-scroll-bottom-area",function(a){LiveComposer.Builder.UI.stopScroller()});jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter dragover",".lc-scroll-bottom-area",function(c){if(LiveComposer.Builder.Flags.windowScroller!==false)return false;LiveComposer.Utils.publish("LC.sortableOff",{});LiveComposer.Builder.Flags.windowScroller=setInterval(function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,a)},b)});jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter",".lc-scroll-top-area",function(c){if(LiveComposer.Builder.Flags.windowScroller!==false)return false;LiveComposer.Utils.publish("LC.sortableOff",{});LiveComposer.Builder.Flags.windowScroller=setInterval(function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,-a)},b)});jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragend mouseup","body",function(a){LiveComposer.Builder.Flags.windowScroller&&LiveComposer.Builder.UI.stopScroller()})};LiveComposer.Builder.UI.stopScroller=function(){LiveComposer.Utils.publish("LC.sortableOn",{});clearInterval(LiveComposer.Builder.Flags.windowScroller);LiveComposer.Builder.Flags.windowScroller=false};jQuery("#scroller-stopper").on("dragover",function(){LiveComposer.Builder.UI.stopScroller()})});"use strict";LiveComposer.Builder.Elements.CSectionsContainer=function(a){var b=this;this.sortable=jQuery(a).sortable({items:".dslc-modules-section",handle:'.dslca-move-modules-section-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-section-placeholder",tolerance:"intersect",cursorAt:{bottom:10},axis:"y",scroll:true,scrollSensitivity:140,scrollSpeed:5,sort:function(){jQuery(this).removeClass("ui-state-default")},update:function(a,b){dslc_show_publish_button()},start:function(a,b){jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress");b.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_row_helper_text+"</span></span>");jQuery(".dslc-content").sortable("refreshPositions")},stop:function(a,b){dslc_generate_code();LiveComposer.Builder.UI.stopScroller();jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop")}});jQuery(document).on("LC.sortableOff",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",true)}});jQuery(document).on("LC.sortableOn",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",false)}})};"use strict";jQuery(document).ready(function(a){dslc_module_options_tooltip();dslc_module_options_font();dslc_module_options_icon();dslc_module_options_icon_returnid();dslc_module_options_text_align();dslc_module_options_checkbox();dslc_module_options_box_shadow();dslc_module_options_text_shadow();var b="";b+=".dslca-module-edit-field-colorpicker";b+=", .dslca-modules-section-edit-field-colorpicker";b+=", .dslca-module-edit-option-box-shadow-color";b+=", .dslca-module-edit-option-text-shadow-color";jQuery(document).on("click",b,function(){dslc_module_options_color(this);jQuery(this).next().click()});jQuery(".dslca-container").on("hover",".dslca-module-edit-option-slider .dslca-module-edit-field-numeric",function(){dslc_module_options_numeric(this)});jQuery(".dslca-container").on("hover",".dslca-modules-section-edit-option-slider .dslca-modules-section-edit-field",function(){dslc_module_options_numeric(this)});jQuery(".dslca-module-edit-form").submit(function(a){a.preventDefault();dslc_module_output_altered()});a(document).on("click",".dslca-module-edit-options-tab-hook",function(b){b.preventDefault();dslc_module_options_tab_filter(a(this))});a(document).on("click",".dslca-options-filter-hook",function(b){b.preventDefault();var c=jQuery(".dslca-options-filter-hook.dslca-active").data("section");var d=jQuery(this).data("section");a(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active");a(this).addClass("dslca-active");dslc_module_options_section_filter(d);if(c=="responsive"){jQuery(".dslca-container-loader").show();LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes();dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()});jQuery("#page-builder-preview-area").resizable("destroy").attr("style","")}if(d=="responsive"){jQuery("#page-builder-preview-area").resizable()}});jQuery(document).on("click",".dslca-module-edit-save",function(a){a.preventDefault();dslc_module_options_confirm_changes(function(){LiveComposer.Builder.UI.initInlineEditors({withRemove:true});LiveComposer.Builder.UI.unloadOptionsDeps();LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")});jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active");dslc_disable_responsive_view()});jQuery(document).on("click",".dslca-module-edit-cancel",function(a){a.preventDefault();dslc_module_options_cancel_changes(function(){LiveComposer.Builder.UI.initInlineEditors({withRemove:true});LiveComposer.Builder.UI.unloadOptionsDeps();LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")});jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active");dslc_disable_responsive_view()});jQuery(document).on("click",".dslca-module-edit-field-icon-switch-set",function(){var a=jQuery(".dslca-module-edit-field-icon-switch-sets");var b=jQuery(this);jQuery(".dslca-module-edit-field-icon-switch-set.dslca-active").removeClass("dslca-active");b.addClass("dslca-active");if(a.is(":visible")){jQuery(".dslca-module-edit-field-icon-switch-sets").hide()}else{var c=b.find(".dslca-module-edit-field-icon-curr-set").text();jQuery(".dslca-module-edit-field-icon-switch-sets span.dslca-active").removeClass("dslca-active");jQuery('.dslca-module-edit-field-icon-switch-sets span[data-set="'+c+'"]').addClass("dslca-active");var d=b.offset(),e=a.outerHeight(),f=a.outerWidth(),g=d.left-f/2+6,h="50%";if(g<0){h=f/2+g+"px";g=0}jQuery(".dslca-module-edit-field-icon-switch-sets").show().css({top:d.top-e-20,left:g});jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-switch-sets:after, .dslca-module-edit-field-icon-switch-sets:before { left: "+h+" }</style>"))}});jQuery(document).on("click",".dslca-module-edit-field-icon-switch-sets span",function(){var b=a(this).data("set");dslcIconsCurrentSet=DSLCIcons[b];a('.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]').data("modal",".dslc-list-icons-"+b);a(this).addClass("dslca-active").siblings(".dslca-active").removeClass("dslca-active");a(".dslca-module-edit-field-icon-switch-set.dslca-active .dslca-module-edit-field-icon-curr-set").text(b);a(".dslca-module-edit-field-icon-switch-set.dslca-active").closest(".dslca-module-edit-option").find(".dslca-module-edit-field-icon-next").trigger("click");a(".dslca-module-edit-field-icon-switch-sets").hide()});jQuery(document).on("mouseenter",".dslca-module-edit-option-icon",function(){var b=a(this).find(".dslca-module-edit-field-icon-curr-set").text();
3
+ dslcIconsCurrentSet=DSLCIcons[b];a('.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]').data("modal",".dslc-list-icons-"+b)})});(function(){var a=jQuery;var b=LiveComposer.Builder;LiveComposer.Builder.Helpers.colorpickers=[];LiveComposer.Builder.UI.initInlineEditors=function(a){a=a||{};if(a.withRemove==true){LiveComposer.Builder.PreviewAreaWindow.tinyMCE.remove()}LiveComposer.Builder.PreviewAreaWindow.tinyMCE.init({selector:".inline-editor.dslca-editable-content",editor_deselector:"mce-content-body",menubar:false,inline:true,plugins:["link lists paste"],style_formats:[{title:"Paragraph",format:"p"},{title:"Header 2",format:"h2"},{title:"Header 3",format:"h3"},{title:"Header 4",format:"h4"},{title:"Header 5",format:"h5"},{title:"Header 6",format:"h6"}],toolbar:"styleselect | bold italic blockquote | removeformat | link unlink | bullist numlist "})};LiveComposer.Builder.UI.clearUtils=function(){if(Array.isArray(b.Helpers.colorpickers)){b.Helpers.colorpickers.forEach(function(a){a.spectrum("destroy")});b.Helpers.colorpickers=[]}jQuery(".temp-styles-for-module",LiveComposer.Builder.PreviewAreaDocument).remove();jQuery(".sp-container").remove();jQuery(".mce-tinymce",LiveComposer.Builder.PreviewAreaDocument).hide()};LiveComposer.Builder.Helpers.depsHandlers=[];LiveComposer.Builder.UI.loadOptionsDeps=function(){var b=this;a(".dslca-module-edit-option").each(function(){var c=this;var d=true;try{var e=JSON.parse(LiveComposer.Utils.b64_to_utf8(a(this).data("dep")))}catch(f){d=false}if(d){var g=function(){var b=this;var c={};if((b.type=="radio"||b.type=="checkbox")&&e[b.value]==undefined){return false}if(b.type=="checkbox"&&e[b.value]!=undefined){c[b.value]=e[b.value]}else{c=e}Object.keys(c).forEach(function(d){c[d].split(",").forEach(function(c){var e=a(".dslca-module-edit-option-"+c.trim()).closest(".dslca-module-edit-option");var f=true;if(b.type=="radio"||b.type=="checkbox"){f=a(b).is(":checked")}if(b.value==d&&f){e.show()}else{e.hide()}})})};a(document).on("change dslc-init-deps",'.dslca-module-edit-option *[data-id="'+a(this).data("id")+'"]',g);b.Helpers.depsHandlers.push(g)}});a(".dslca-module-edit-option input, .dslca-module-edit-option select").trigger("dslc-init-deps")};LiveComposer.Builder.UI.unloadOptionsDeps=function(){b.Helpers.depsHandlers.forEach(function(b){a(document).unbind("change",b);a(document).unbind("dslc-init-deps",b)});b.Helpers.depsHandlers=[]};LiveComposer.Builder.Helpers.processInlineStyleTag=function(a){if(typeof a!="object")return false;var b="",c="";if(a.context.closest(".dslca-module-edit-option").data("tab")=="tablet_responsive"){b="@media only screen and (max-width: 1024px) and (min-width: 768px) {";c="}"}else if(a.context.closest(".dslca-module-edit-option").data("tab")=="phone_responsive"){b="@media only screen and (max-width: 767px) {";c="}"}a.styleContent=b+a.styleContent+c;var d=b+a.rule+a.elems;d=d.replace(/ /gi,"");if(LiveComposer.Builder.PreviewAreaDocument[0].getElementById(d)==null){var e=document.createElement("style");e.innerHTML=a.styleContent;e.id=d;e.className="temp-styles-for-module";LiveComposer.Builder.PreviewAreaDocument[0].body.appendChild(e)}else{LiveComposer.Builder.PreviewAreaDocument[0].getElementById(d).innerHTML=a.styleContent}};LiveComposer.Builder.UI.shakePanelConfirmButton=function(){jQuery(".dslca-module-edit-save").addClass("lc-shake-effect active");setTimeout(function(){jQuery(".dslca-module-edit-save").removeClass("lc-shake-effect active")},1e3)}})();function dslc_module_options_section_filter(a){if(dslcDebug)console.log("dslc_module_options_section_filter");jQuery(".dslca-module-edit-option").hide();jQuery('.dslca-module-edit-option[data-section="'+a+'"]').show();dslc_module_options_tab_filter()}function dslc_module_options_tab_filter(a){if(dslcDebug)console.log("dslc_module_options_tab_filter");var b=jQuery(".dslca-options-filter-hook.dslca-active").data("section");a=typeof a!=="undefined"?a:jQuery('.dslca-module-edit-options-tab-hook[data-section="'+b+'"]:first');var c=a.data("id");jQuery(".dslca-module-edit-options-tab-hook").removeClass("dslca-active");a.addClass("dslca-active");jQuery(".dslca-module-edit-options-tabs").show();jQuery(".dslca-module-edit-options-tab-hook").hide();jQuery('.dslca-module-edit-options-tab-hook[data-section="'+b+'"]').show();if(c){jQuery(".dslca-module-edit-option").hide();jQuery('.dslca-module-edit-option[data-tab="'+c+'"]').show();dslc_module_options_hideshow_tabs();if(jQuery(".dslca-module-edit-options-tab-hook:visible").length<2){jQuery(".dslca-module-edit-options-tabs").hide()}else{jQuery(".dslca-module-edit-options-tabs").show()}dslc_disable_responsive_view();if(c==DSLCString.str_res_tablet.toLowerCase()+"_responsive"){jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet");jQuery("body").addClass("dslc-res-tablet");jQuery("html").addClass("dslc-responsive-preview")}if(c==DSLCString.str_res_phone.toLowerCase()+"_responsive"){jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet");jQuery("body").addClass("dslc-res-phone");jQuery("html").addClass("dslc-responsive-preview")}if(c==DSLCString.str_res_tablet.toLowerCase()+"_responsive"||c==DSLCString.str_res_phone.toLowerCase()+"_responsive"){jQuery(".dslca-container-loader").show();dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()})}}}function dslc_module_options_hideshow_tabs(){if(dslcDebug)console.log("dslc_module_options_hideshow_tabs");var a=jQuery(".dslca-options-filter-hook.dslca-active").data("section");if(a=="styling"){var b=jQuery(".dslca-module-edit"),c=true,d=true,e=true,f=true,g=true,h=true,i=true,j=true,k=true,l=true,m=true,n=true,o=true,p=true,q=true,r=true,s=true,t=true,u=true,v=true,w=true,x=true,y=true,z=true,A=true;if(!jQuery('.dslca-module-edit-field[value="main_heading"]').is(":checked"))c=false;if(!jQuery('.dslca-module-edit-field[value="filters"]').is(":checked"))d=false;if(!jQuery('.dslca-module-edit-field[value="arrows"]').is(":checked"))e=false;if(!jQuery('.dslca-module-edit-field[value="circles"]').is(":checked"))f=false;if(jQuery('.dslca-module-edit-field[data-id="type"]').val()!="carousel"){e=false;f=false}if(jQuery('.dslca-module-edit-field[data-id="pagination_type"]').val()=="disabled"){g=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="thumbnail"]').is(":checked")){h=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="title"]').is(":checked")){i=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="excerpt"]').is(":checked")){j=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="meta"]').is(":checked")){k=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').is(":checked")){l=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="categories"]').is(":checked")){m=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="separator"]').is(":checked")){o=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="count"]').is(":checked")){n=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="tags"]').is(":checked")){p=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="social"]').is(":checked")){q=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="position"]').is(":checked")){r=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').is(":checked")){s=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').is(":checked")){t=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="price"]').is(":checked")){u=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="price_2"]').is(":checked")){v=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="addtocart"]').is(":checked")){w=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="details"]').is(":checked")){x=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="quote"]').is(":checked")){y=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_name"]').is(":checked")){z=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_position"]').is(":checked")){A=false}if(c)jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').hide();if(d)jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').hide();if(e)jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').hide();if(f)jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').hide();if(g)jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').hide();if(h)jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').hide();if(i)jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').hide();if(j)jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').hide();if(k)jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').hide();if(l)jQuery('.dslca-module-edit-options-tab-hook[data-id="button_styling"], .dslca-module-edit-options-tab-hook[data-id="primary_button_styling"],'+' .dslca-module-edit-options-tab-hook[data-id="secondary_button_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="button_styling"], .dslca-module-edit-options-tab-hook[data-id="primary_button_styling"],'+' .dslca-module-edit-options-tab-hook[data-id="secondary_button_styling"]').hide();if(m)jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').hide();if(o)jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').hide();if(n)jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').hide();if(p)jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').hide();if(r)jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').hide();if(q)jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').hide();if(s)jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').hide();if(t)jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').hide();if(u)jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').hide();if(v)jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').hide();if(w||x)jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').hide();if(y)jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').hide();if(z)jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').hide();if(A)jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').hide()}if(jQuery('.dslca-options-filter-hook[data-section="styling"]').hasClass("dslca-active")){if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).data("dslc-module-id")=="DSLC_Text_Simple"||jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).data("dslc-module-id")=="DSLC_TP_Content"||jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).data("dslc-module-id")=="DSLC_Html"){var B=jQuery('.dslca-module-edit-option[data-id="css_custom"]'),C=B.find("select").val();if(C=="enabled"){jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"visible"});jQuery(".dslca-module-edit-options-tabs").show()}else{jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"hidden"});jQuery(".dslca-module-edit-options-tabs").hide();B.css({visibility:"visible"})}}}else{jQuery(".dslca-module-edit-options-tabs").show()}if(jQuery('select.dslca-module-edit-field[data-id="css_res_t"]').val()=="disabled"){jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","hidden")}else{jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","visible")}if(jQuery('select.dslca-module-edit-field[data-id="css_res_p"]').val()=="disabled"){jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","hidden")}else{jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","visible")}jQuery('.dslca-module-edit-option[data-id="css_res_p"], .dslca-module-edit-option[data-id="css_res_t"]').css("visibility","visible")}function dslc_module_options_confirm_changes(a){if(dslcDebug)console.log("dslc_module_options_confirm_changes");a=typeof a!=="undefined"?a:false;if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).hasClass("dslc-module-DSLC_Sliders")){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")}else{jQuery("body").addClass("dslca-module-saving-in-progress");dslc_module_output_altered(function(){dslc_update_preset();dslc_generate_code();jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");jQuery("body").removeClass("dslca-module-saving-in-progress");if(!jQuery("body").hasClass("rtl")){jQuery(".dslca-module-edit-options-inner").html("")}else{jQuery(".dslca-module-edit-options-inner").html("")}jQuery(".dslca-module-edit-options-tabs").html("");if(a){a()}})}dslc_show_section(".dslca-modules");jQuery(".dslca-header .dslca-options-filter-hook").hide();jQuery(".dslca-module-edit-actions").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();dslc_show_publish_button()}function dslc_module_options_cancel_changes(a){if(dslcDebug)console.log("dslc_module_options_cancel_changes");a=typeof a!=="undefined"?a:false;var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);jQuery(".dslca-module-options-front",b).html("").append(LiveComposer.Builder.moduleBackup);LiveComposer.Builder.moduleBackup=false;dslc_module_output_altered(function(){dslc_generate_code();jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");if(!jQuery("body").hasClass("rtl")){jQuery(".dslca-module-edit-options-inner").html("")}else{jQuery(".dslca-module-edit-options-inner").html("")}jQuery(".dslca-module-edit-options-tabs").html("");if(a){a()}});dslc_show_section(".dslca-modules");jQuery(".dslca-header .dslca-options-filter-hook").hide();jQuery(".dslca-module-edit-actions").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();dslc_show_publish_button()}function dslc_module_options_tooltip(){jQuery(document).on("click",".dslca-module-edit-field-ttip-close",function(){jQuery(".dslca-module-edit-field-ttip, .dslca-module-edit-field-icon-ttip").hide()});jQuery(document).on("click",".dslca-module-edit-field-ttip-hook",function(){var a=jQuery(".dslca-module-edit-field-ttip"),b=a.find(".dslca-module-edit-field-ttip-inner"),c=jQuery(this),d=c.closest(".dslca-module-edit-option").find(".dslca-module-edit-field-ttip-content").html();if(a.is(":visible")){jQuery(".dslca-module-edit-field-ttip").hide()}else{b.html(d);var e=c.offset();var f=a.outerHeight();var g=a.outerWidth();var h=e.left-g/2+6;var i="50%";if(h<0){i=g/2+h+"px";h=0}jQuery(".dslca-module-edit-field-ttip").show().css({top:e.top-f-20,left:h});jQuery("head").append(jQuery("<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: "+i+" }</style>"))}});jQuery(document).on("click",".dslca-module-edit-field-icon-ttip-hook",function(){var a=jQuery(".dslca-module-edit-field-icon-ttip");var b=jQuery(this);if(a.is(":visible")){jQuery(".dslca-module-edit-field-icon-ttip").hide()}else{var c=b.offset();var d=a.outerHeight();var e=a.outerWidth();var f=c.left-e/2+6;var g="50%";if(f<0){g=e/2+f+"px";f=0}jQuery(".dslca-module-edit-field-icon-ttip").show().css({top:c.top-d-20,left:f});jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-ttip:after, .dslca-module-edit-field-icon-ttip:before { left: "+g+" }</style>"))}})}function dslc_module_options_font(){jQuery(document).on("click",".dslca-module-edit-field-font-next",function(a){a.preventDefault();if(!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var b=jQuery(this).closest(".dslca-module-edit-option-font");var c=jQuery(".dslca-module-edit-field-font",b);var d=dslcAllFontsArray.indexOf(c.val());var e=d+1;jQuery(".dslca-module-edit-field-font-suggest",b).text("");c.val(dslcAllFontsArray[e]).trigger("change");jQuery(this).addClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-chevron-right").addClass("dslc-icon-refresh dslc-icon-spin")}});jQuery(document).on("click",".dslca-module-edit-field-font-prev",function(a){a.preventDefault();if(!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var b=jQuery(this).closest(".dslca-module-edit-option-font");var c=jQuery(".dslca-module-edit-field-font",b);var d=dslcAllFontsArray.indexOf(c.val());var e=d-1;jQuery(".dslca-module-edit-field-font-suggest",b).text("");if(e<0){e=dslcAllFontsArray.length-1}c.val(dslcAllFontsArray[e]).trigger("change");jQuery(this).addClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-chevron-left").addClass("dslc-icon-refresh dslc-icon-spin")}});jQuery(document).on("keyup",".dslca-module-edit-field-font",function(a){var b,c,d,e=false,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");if(a.which==38){jQuery(".dslca-module-edit-field-font-prev",c).click()}if(a.which==40){jQuery(".dslca-module-edit-field-font-next",c).click()}if(a.which!=13&&a.which!=38&&a.which!=40){d=b.val();var g=[];var h=new RegExp("^"+d,"i");var i=dslcAllFontsArray.length;var j=0;do{if(h.test(dslcAllFontsArray[j])){if(!e){var e=dslcAllFontsArray[j]}}j++}while(j<i);if(!e){f=d;jQuery(".dslca-module-edit-field-font-suggest",c).hide()}else{f=e;jQuery(".dslca-module-edit-field-font-suggest",c).show()}jQuery(".dslca-module-edit-field-font-suggest",c).text(f);if(f.length){b.val(f.substring(0,b.val().length))}}});jQuery(document).on("keypress",".dslca-module-edit-field-font",function(a){if(a.which==13){a.preventDefault();var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");jQuery(this).val(jQuery(".dslca-module-edit-field-font-suggest",c).text()).trigger("change");jQuery(".dslca-module-edit-field-font-suggest",c).text("")}})}function dslc_list_icon(a,b){var c=jQuery(a).closest(".dslca-module-edit-option-icon");var d=jQuery(".dslca-module-edit-field-icon",c);var e=dslcIconsCurrentSet.indexOf(d.val());if(b=="previous"){var f=e-1}else{var f=e+1}jQuery(".dslca-module-edit-field-icon-suggest",c).text("");if(f<0){f=dslcIconsCurrentSet.length-1}d.val(dslcIconsCurrentSet[f]).trigger("change")}function dslc_module_options_icon(){jQuery(document).on("keyup",".dslca-module-edit-field-icon",function(a){var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");if(a.which==38){dslc_list_icon(b,"previous")}if(a.which==40){dslc_list_icon(b,"next")}if(a.which!=13&&a.which!=38&&a.which!=40){d=b.val().toLowerCase();b.val(d);e=jQuery.grep(dslcIconsCurrentSet,function(a,b){return a.indexOf(d)==0});f=e[0];jQuery(".dslca-module-edit-field-icon-suggest",c).text(f)}});jQuery(document).on("keypress",".dslca-module-edit-field-icon",function(a){if(a.which==13){a.preventDefault();var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");jQuery(this).val(jQuery(".dslca-module-edit-field-icon-suggest",c).text()).trigger("change");jQuery(".dslca-module-edit-field-icon-suggest",c).text("")}})}function dslc_module_options_icon_returnid(){jQuery(document).on("click",'.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]',function(a){jQuery(this).closest(".dslca-module-edit-option-icon").find("input").addClass("icon-modal-active")});jQuery(document).on("click",".dslca-modal-icons .icon-item",function(a){var b=jQuery(this).find(".icon-item_name").text();jQuery("input.icon-modal-active").val(b).change();dslc_hide_modal("",jQuery(".dslca-modal:visible"));jQuery("input.icon-modal-active").removeClass("icon-modal-active")})}function dslc_module_options_text_align(){jQuery(document).on("click",".dslca-module-edit-option-text-align-hook",function(){var a=jQuery(this),b=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").find(".dslca-module-edit-option-text-align-hook"),c=a.data("val"),d=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").siblings("input.dslca-module-edit-field");b.removeClass("dslca-active");a.addClass("dslca-active");d.val(c).trigger("change")})}function dslc_module_options_checkbox(){jQuery(document).on("click",".dslca-module-edit-option-checkbox-hook, .dslca-modules-section-edit-option-checkbox-hook",function(){var a=jQuery(this);var b=a.siblings('input[type="checkbox"]');if(b.prop("checked")){b.prop("checked",false);a.find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}else{b.prop("checked",true);a.find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}b.change()})}function dslc_module_options_box_shadow(){if(dslcDebug)console.log("dslc_module_options_box_shadow");jQuery(document).on("change",".dslca-module-edit-option-box-shadow-hor, "+".dslca-module-edit-option-box-shadow-ver, .dslca-module-edit-option-box-shadow-blur, .dslca-module-edit-option-box-shadow-spread,"+" .dslca-module-edit-option-box-shadow-color, .dslca-module-edit-option-box-shadow-inset",function(){var a=jQuery(this).closest(".dslca-module-edit-option"),b=a.find(".dslca-module-edit-field"),c=a.find(".dslca-module-edit-option-box-shadow-hor").val(),d=a.find(".dslca-module-edit-option-box-shadow-ver").val(),e=a.find(".dslca-module-edit-option-box-shadow-blur").val(),f=a.find(".dslca-module-edit-option-box-shadow-spread").val(),g=a.find(".dslca-module-edit-option-box-shadow-color").val(),h=a.find(".dslca-module-edit-option-box-shadow-inset").is(":checked");if(h){h=" inset"}else{h=""}var i=c+"px "+d+"px "+e+"px "+f+"px "+g+h;b.val(i).trigger("change")})}function dslc_module_options_text_shadow(){if(dslcDebug)console.log("dslc_module_options_text_shadow");jQuery(document).on("change",".dslca-module-edit-option-text-shadow-hor, .dslca-module-edit-option-text-shadow-ver,"+".dslca-module-edit-option-text-shadow-blur, .dslca-module-edit-option-text-shadow-color",function(){var a=jQuery(this).closest(".dslca-module-edit-option"),b=a.find(".dslca-module-edit-field"),c=a.find(".dslca-module-edit-option-text-shadow-hor").val(),d=a.find(".dslca-module-edit-option-text-shadow-ver").val(),e=a.find(".dslca-module-edit-option-text-shadow-blur").val(),f=a.find(".dslca-module-edit-option-text-shadow-color").val();var g=c+"px "+d+"px "+e+"px "+f;b.val(g).trigger("change")})}function dslc_module_options_color(a){if(dslcDebug)console.log("dslc_module_options_color");var b,c,d,e,f,g,h;var i=[],j,k;i[0]=[];i[1]=[];i[2]=[];i[3]=[];if(localStorage["dslcColorpickerPalleteStorage"]==undefined){}else{j=JSON.parse(localStorage["dslcColorpickerPalleteStorage"]);for(k=0;k<j.length;k++){var l=Math.floor(k/3);if(l<4){i[l].push(j[k])}}}var m=a;jQuery(m).each(function(){h=jQuery(this).val();jQuery(this).spectrum({color:h,showInput:true,allowEmpty:true,showAlpha:true,clickoutFiresChange:true,cancelText:"",chooseText:"",preferredFormat:"rgb",showPalette:true,palette:i,move:function(a){b=jQuery(this);if(a==null){e=""}else{e=a.toRgbString().replace(/ /g,"")}b.val(e).trigger("change");b.css("background",e);c=b.data("affect-on-change-el");d=b.data("affect-on-change-rule");if(null!=c){jQuery(c,".dslca-module-being-edited").css(d,e)}f=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);g=b.data("id");jQuery('.dslca-module-option-front[data-id="'+g+'"]',f).val(e);f.addClass("dslca-module-change-made")},change:function(a){b=jQuery(this);if(a==null){e=""}else{e=a.toRgbString().replace(/ /g,"")}b.val(e).trigger("change");c=b.data("affect-on-change-el");d=b.data("affect-on-change-rule");if(null!=c){jQuery(c,".dslca-module-being-edited").css(d,e)}f=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);g=b.data("id");jQuery('.dslca-module-option-front[data-id="'+g+'"]',f).val(e);f.addClass("dslca-module-change-made");if(localStorage["dslcColorpickerPalleteStorage"]==undefined){var h=[e];localStorage["dslcColorpickerPalleteStorage"]=JSON.stringify(h)}else{var h=JSON.parse(localStorage["dslcColorpickerPalleteStorage"]);if(h.indexOf(e)==-1){h.unshift(e)}localStorage["dslcColorpickerPalleteStorage"]=JSON.stringify(h)}},show:function(a){jQuery("body").addClass("dslca-disable-selection")},hide:function(){jQuery("body").removeClass("dslca-disable-selection")}});LiveComposer.Builder.Helpers.colorpickers.push(jQuery(this))});jQuery(".dslca-sp-revert").click(function(){var a=jQuery(".sp-replacer.sp-active").closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("default");jQuery(this).closest(".sp-container").find(".sp-input").val(a).trigger("change")})}function dslc_module_options_numeric(a){var b=jQuery;if(dslcDebug)console.log("dslc_module_options_numeric");var c=a||".dslca-module-edit-option-slider .dslca-module-edit-field-numeric";jQuery(c).each(function(){if(this.classList.contains("slider-initiated"))return;var a=false;var c=false;var d=0;var e=this;var f=0;var g=parseFloat(jQuery(this).data("max"))>0?parseFloat(b(this).data("max")):2e3;var h=parseFloat(jQuery(this).data("min"))>-2e3?parseFloat(b(this).data("min")):0;var i=parseFloat(jQuery(this).data("increment"))>0?parseFloat(b(this).data("increment")):1;var j,k,l,m,n,o,p,q,r,s,t,u,v;e.classList.add("slider-initiated");jQuery(e).keyup(function(a){if(undefined===a){return false}if(a.shiftKey){if(a.keyCode==38){this.value=(parseInt(this.value)||0)+9;jQuery(this).trigger("change")}if(a.keyCode==40){this.value=parseInt(this.value)+0-9;jQuery(this).trigger("change")}}if(a.keyCode==8||a.keyCode==45){jQuery(this).trigger("change")}if(a.keyCode>=48&&a.keyCode<=57||a.keyCode>=96&&a.keyCode<=105){jQuery(this).trigger("change")}if(!a.key.match(/\d/)&&a.keyCode!=8&&a.keyCode!=39&&a.keyCode!=37&&a.keyCode!=46){return false}});jQuery(e).unbind("change");jQuery(e).change(function(a){if(this.value>g){this.value=g}if(this.value<h){this.value=h}s=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);s.addClass("dslca-module-change-made")});jQuery(document).mouseup(function(){a=false});jQuery(e).mousedown(function(b){a=parseFloat(b.pageX);d=parseFloat(e.value&&e.value!=""?e.value:0);f=0});jQuery(".dslca-section").mousemove(function(b){if(a!==false){b=b||window.event;var c=b.clientX;var d=c-f;if(0<d){e.value=Math.round((parseFloat(e.value)+i)*100)/100}else{e.value=Math.round((parseFloat(e.value)-i)*100)/100}f=c;jQuery(e).trigger("change")}});return false})}function dslc_disable_responsive_view(){jQuery("html").removeClass("dslc-responsive-preview");jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet")}function dslc_filter_module_options(a){dslc_module_options_section_filter(a)}function dslc_show_module_options_tab(a){dslc_module_options_tab_filter(a)}function dslc_confirm_changes(a){dslc_module_options_confirm_changes(a)}function dslc_cancel_changes(a){dslc_module_options_cancel_changes(a)}function dslc_init_colorpicker(){dslc_module_options_color()}function dslc_init_options_slider(){dslc_module_options_numeric()}function dslc_module_edit_options_hideshow_tabs(){dslc_module_options_hideshow_tabs()}"use strict";function dslc_template_load(a){if(dslcDebug)console.log("dslc_load_template");var b,c;jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-load-template",dslc:"active",dslc_template_id:a},function(a){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(a.output);LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();dslc_drag_and_drop();dslc_show_publish_button();dslc_generate_code()})}function dslc_template_import(){if(dslcDebug)console.log("dslc_import_template");var a,b;jQuery(".dslca-modal-templates-import .dslca-modal-title").css({opacity:0});jQuery(".dslca-modal-templates-import .dslca-loading").show();jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-template",dslc:"active",dslc_template_code:jQuery("#dslca-import-code").val()},function(a){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(a.output);jQuery(".dslca-modal-templates-import .dslca-loading").hide();jQuery(".dslca-modal-templates-import .dslca-modal-title").css({opacity:1});dslc_hide_modal("",".dslca-modal-templates-import");LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video();dslc_drag_and_drop();dslc_show_publish_button();dslc_generate_code()})}function dslc_template_save(){if(dslcDebug)console.log("dslc_save_template");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-template",dslc:"active",dslc_template_code:jQuery("#dslca-code").val(),dslc_template_title:jQuery("#dslca-save-template-title").val()},function(a){dslc_hide_modal("",".dslca-modal-templates-save")})}function dslc_template_delete(a){if(dslcDebug)console.log("dslc_delete_template");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-template",dslc:"active",dslc_template_id:a},function(b){jQuery('.dslca-template[data-id="'+a+'"]').fadeOut(200,function(){jQuery(this).remove()})})}function dslc_load_template(a){dslc_template_load(a)}function dslc_import_template(){dslc_template_import()}function dslc_save_template(){dslc_template_save()}function dslc_delete_template(a){dslc_template_delete(a)}jQuery(document).ready(function(a){jQuery(document).on("click",".dslca-template",function(a){a.preventDefault();dslc_template_load(jQuery(this).data("id"))});a(".dslca-template-import-form").submit(function(a){a.preventDefault();dslc_template_import();
4
+ });a(".dslca-template-save-form").submit(function(a){a.preventDefault();dslc_template_save()});a(document).on("click",".dslca-delete-template-hook",function(b){b.stopPropagation();dslc_template_delete(a(this).data("id"))})});"use strict";window.onerror=function(a,b,c,d){dslca_generate_error_report(a,b,c,d)};jQuery(document).on("click",".dslca-show-js-error-hook",function(a){a.preventDefault();var b=document.getElementById("dslca-js-errors-report");if(!jQuery("body").hasClass("dslca-saving-in-progress")){LiveComposer.Builder.UI.CModalWindow({title:'<a href="https://livecomposerplugin.com/support/support-request/" target="_blank"><span class="dslca-icon dslc-icon-comment"></span> &nbsp; Open Support Ticket</a>',content:'<span class="dslca-error-report">'+b.value+"</span>"})}});jQuery(document).ready(function(a){jQuery("#page-builder-frame")[0].contentWindow.onerror=function(a,b,c,d){dslca_generate_error_report(a,b,c,d)};dslca_update_report_log();jQuery("body").addClass("dslca-enabled dslca-drag-not-in-progress");jQuery(".dslca-invisible-overlay").hide();jQuery(".dslca-section").eq(0).show();window.previewAreaTinyMCELoaded=function(){var a=this;LiveComposer.Builder.PreviewAreaWindow=this;LiveComposer.Builder.PreviewAreaDocument=jQuery(this.document);jQuery("#wpadminbar",LiveComposer.Builder.PreviewAreaDocument).remove();LiveComposer.Builder.UI.initInlineEditors();dslc_fix_contenteditable();var b=LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main").eq(0)[0];new LiveComposer.Builder.Elements.CSectionsContainer(b);jQuery(document).trigger("editorFrameLoaded");dslc_drag_and_drop();dslc_generate_code();dslc_keypress_events();LiveComposer.Builder.UI.initPreviewAreaScroller()}});jQuery(document).on("click",".dslca-currently-editing",function(){var a=false,b=false,c;if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length){a=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);c="#5890e5"}else if(jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length){a=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument);c="#eabba9"}if(a){b=a.offset().top-100;if(b<0){b=0}var d=[];jQuery("html, body",LiveComposer.Builder.PreviewAreaDocument).animate({scrollTop:b},300,function(){a.removeAttr("style")})}});jQuery(window).keypress(function(a){if((a.metaKey||a.ctrlKey)&&a.keyCode==83){dslc_ajax_save_composer();a.preventDefault();return false}});jQuery(document).on("click",".dslca-hide-composer-hook",function(a){a.preventDefault();dslc_hide_composer()});jQuery(document).on("click",".dslca-show-composer-hook",function(a){a.preventDefault();dslc_show_composer()});jQuery(document).on("click",".dslca-go-to-modules-hook",function(a){a.preventDefault();dslc_show_section(".dslca-modules")});jQuery(document).on("click",".dslca-go-to-section-hook",function(a){a.preventDefault();if(jQuery(this).hasClass("dslca-active")){return}var b=jQuery(this).data("section");dslc_show_section(b);if(jQuery(this).hasClass("dslca-go-to-section-modules")||jQuery(this).hasClass("dslca-go-to-section-templates")){jQuery(this).addClass("dslca-active").siblings(".dslca-go-to-section-hook").removeClass("dslca-active")}});jQuery(document).on("click",".dslca-close-composer-hook",function(a){a.preventDefault();var b=jQuery(this).attr("href");if(!jQuery("body").hasClass("dslca-saving-in-progress")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_exit_title,content:DSLCString.str_exit_descr,confirm:function(){window.location=b}})}});jQuery(document).on("click",".dslca-submit",function(){jQuery(this).closest("form").submit()});jQuery(document).on("click",".dslca-section-title",function(a){a.stopPropagation();if(jQuery(".dslca-section-title-filter",this).length){dslc_generate_filters();jQuery(".dslca-section-title-filter-options").slideToggle(300)}});jQuery(document).on("click",".dslca-section-title-filter-options a",function(a){a.preventDefault();a.stopPropagation();var b=jQuery(this).data("origin");var c=jQuery(this).closest(".dslca-section");if(c.hasClass("dslca-templates-load")){jQuery(".dslca-section-title-filter-curr",c).text(jQuery(this).text())}else{jQuery(".dslca-section-title-filter-curr",c).text(jQuery(this).text())}jQuery(".dslca-section-scroller-inner").css({left:0});dslc_filter_origin(b,c);jQuery(".dslca-section-title-filter-options").slideToggle(300)});function dslc_hide_composer(){if(dslcDebug)console.log("dslc_hide_composer");jQuery(".dslca-hide-composer-hook").hide();jQuery(".dslca-show-composer-hook").show();jQuery("body").addClass("dslca-composer-hidden");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-composer-hidden");jQuery(".dslca-container").css({bottom:jQuery(".dslca-container").outerHeight()*-1});jQuery(".dslca-header").hide()}function dslc_show_composer(){if(dslcDebug)console.log("dslc_show_composer");jQuery(".dslca-show-composer-hook").hide();jQuery(".dslca-hide-composer-hook").show();jQuery("body").removeClass("dslca-composer-hidden");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-composer-hidden");jQuery(".dslca-container").css({bottom:0});jQuery(".dslca-header").show()}function dslc_show_publish_button(){if(dslcDebug)console.log("dslc_show_publish_button");jQuery(".dslca-save-composer").show().addClass("dslca-init-animation");jQuery(".dslca-save-draft-composer").show().addClass("dslca-init-animation")}function dslc_hide_publish_button(){if(dslcDebug)console.log("dslc_hide_publish_button");jQuery(".dslca-save-composer").hide();jQuery(".dslca-save-draft-composer").hide()}function dslc_show_section(a){if(dslcDebug)console.log("dslc_show_section");var b=jQuery(a).data("title"),c=jQuery(a).data("bg");jQuery(".dslca-container").css({bottom:-500});jQuery(".dslca-section").hide();jQuery(a).show();if(a==".dslca-module-edit"){jQuery(".dslca-currently-editing").show().find("strong").text(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).attr("title")+" element")}else if(a==".dslca-modules-section-edit"){jQuery(".dslca-currently-editing").show().css("background-color","#e5855f").find("strong").text("Row")}else{jQuery(".dslca-currently-editing").hide().find("strong").text("")}dslc_module_options_tab_filter();jQuery(".dslca-container").css({bottom:0})}function dslc_generate_filters(){if(dslcDebug)console.log("dslc_generate_filters");var a,b=[],c='<a html="#" data-origin="">Show All</a>',d=jQuery(".dslca-section:visible .dslca-origin");d.each(function(){a=jQuery(this);if(jQuery.inArray(a.data("origin"),b)==-1){b.push(a.data("origin"));c+='<a href="#" data-origin="'+a.data("origin")+'">'+a.data("origin")+"</a>"}});jQuery(".dslca-section:visible .dslca-section-title-filter-options").html(c).css("background",jQuery(".dslca-section:visible").data("bg"))}function dslc_filter_origin(a,b){if(dslcDebug)console.log("dslc_filter_origin");jQuery(".dslca-origin",b).hide();jQuery('.dslca-origin[data-origin="'+a+'"]',b).show();if(a==""){jQuery(".dslca-origin",b).show()}}function dslc_drag_and_drop(){if(dslcDebug)console.log("dslc_drag_and_drop");var a,b,c,d;var e=jQuery(".dslca-modules .dslca-section-scroller-content");if(e.length==0){e=[document.createElement("div")]}var f=Sortable.create(e[0],{sort:false,group:{name:"modules",pull:"clone",put:false},animation:150,handle:".dslca-module",draggable:".dslca-module",chosenClass:"dslca-module-dragging",scroll:true,scrollSensitivity:150,scrollSpeed:15,setData:function(a,b){a.setData(LiveComposer.Utils.msieversion()!==false?"Text":"text/html",b.innerHTML)},onStart:function(a){a.oldIndex;jQuery("body").removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress");jQuery("#dslc-header").addClass("dslca-header-low-z-index")},onEnd:function(a){a.oldIndex;a.newIndex;var e=a.item;a.preventDefault();if(jQuery(e).closest(".dslca-section-scroller-content").length>0)return false;jQuery(".dslca-options-hovered",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-options-hovered");b=jQuery(e.parentNode);c=e.dataset.id;dslc_generate_code();if(c=="DSLC_M_A"||jQuery("body").hasClass("dslca-module-drop-in-progress")||b.closest("#dslc-header").length||b.closest("#dslc-footer").length){}else{jQuery("body").addClass("dslca-module-drop-in-progress");dslc_module_output_default(c,function(a){d=a.output;var c=LiveComposer.Builder.Helpers.insertModule(d,jQuery(".dslca-module",b));setTimeout(function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();jQuery("body").removeClass("dslca-module-drop-in-progress")},700);jQuery(".dslca-no-content-primary",b).css({opacity:1});jQuery(".dslca-modules-area-manage",b).css({visibility:"visible"});LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();dslc_generate_code();dslc_show_publish_button();LiveComposer.Builder.UI.initInlineEditors()});jQuery(e).find(".dslca-icon").attr("class","").attr("class","dslca-icon dslc-icon-refresh dslc-icon-spin");jQuery(".dslca-no-content-primary",b).css({opacity:0});jQuery(".dslca-modules-area-manage",b).css({visibility:"hidden"})}LiveComposer.Builder.UI.stopScroller();jQuery("body").removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress");jQuery("#dslc-header").removeClass("dslca-header-low-z-index")},onAdd:function(a){var b=a.item;a.from},onUpdate:function(a){var b=a.item;dslc_show_publish_button()},onSort:function(a){a.preventDefault()},onRemove:function(a){},onFilter:function(a){var b=a.item},onMove:function(a){a.dragged;a.draggedRect;a.related;a.relatedRect;jQuery(a.to).addClass("dslca-options-hovered")}})}function dslc_option_changed(){dslc_show_publish_button()}function dslc_module_dragdrop_init(){dslc_drag_and_drop()}function dslc_fix_contenteditable(){LiveComposer.Builder.PreviewAreaDocument.on("dragstart",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",function(a){jQuery("[contenteditable]",LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",false)});LiveComposer.Builder.PreviewAreaDocument.on("dragend mousedown",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",function(a){jQuery("[contenteditable]",LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",true)})}function dslc_toogle_control(a){if(a===undefined)a=false;if(!a)return;var b=jQuery(".dslca-module-edit-option-"+a);var c=b.find(".dslca-module-edit-field");var d=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);var e=d[0].id;var f="";if("tablet_responsive"===b.data("tab")){f="body.dslc-res-tablet "}else if("phone_responsive"===b.data("tab")){f="body.dslc-res-phone "}var g=c.data("affect-on-change-el");if(g===undefined)return;var h=g.split(",");g="";for(var i=0;i<h.length;i++){if(i>0){g+=", "}g+=f+"#"+e+" "+h[i]}var j=c.data("affect-on-change-rule").replace(/ /g,"");var k=j.split(",");var l;var m=c.data("ext");b.toggleClass("dslca-option-off");if(b.hasClass("dslca-option-off")){l=dslc_get_control_value(a);c.data("val-bckp",l);for(var i=0;i<k.length;i++){jQuery(g,LiveComposer.Builder.PreviewAreaDocument).css(k[i],"");disable_css_rule(g,k[i],e)}c.val("").trigger("change")}else{c.val(c.data("val-bckp")).trigger("change");l=dslc_get_control_value(a);l=dslc_combine_value_and_extension(l,m||"");for(var i=0;i<k.length;i++){var n=g+"{"+k[i]+": "+l+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:b,rule:k[i],elems:g.replace(new RegExp("#"+e,"gi"),"").trim(),styleContent:n})}}}jQuery(document).ready(function(a){jQuery(document).on("click",".dslca-module-edit-option .dslc-control-toggle",function(b){b.preventDefault();var c=a(b.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id");dslc_toogle_control(c)});jQuery(document).on("mousedown",".dslca-module-edit-option",function(b){var c=a(".dslc-control-toggle");if(!c.is(b.target)&&c.has(b.target).length===0){if(a(b.target).closest(".dslca-module-edit-option").hasClass("dslca-option-off")){var d=a(b.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id");dslc_toogle_control(d)}}})});function disable_css_rule(a,b,c){var d;var e="css-for-"+c;var f=document.getElementById("page-builder-frame").contentWindow.document.getElementById(e);a=a.replace(/\s\s+/g," ");if(f){f=f.sheet;if(f["rules"]){d="rules"}else if(f["cssRules"]){d="cssRules"}else{}for(var g=0;g<f[d].length;g++){if(f[d][g].selectorText==a){if(f[d][g].style[b]){f[d][g].style[b]="";break}}}}}function dslc_combine_value_and_extension(a,b){if(""===a||null===a){return a}if(a.indexOf(b)==-1){a=a+b}return a}function dslc_get_control_value(a){var b=jQuery(".dslca-module-edit-option-"+a);var c="text";var d=b.find(".dslca-module-edit-field");var e;e=d.val();return e}function dslc_keypress_events(){jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind("keydown").bind("keydown",function(a){dslc_modal_keypress_events(a);dslc_disable_backspace_navigation(a);dslc_notice_on_refresh(a)})}function dslc_disable_backspace_navigation(a){var b=false;if(a.keyCode===8){var c=a.srcElement||a.target;if(c.tagName.toUpperCase()==="INPUT"&&(c.type.toUpperCase()==="TEXT"||c.type.toUpperCase()==="PASSWORD"||c.type.toUpperCase()==="NUMBER"||c.type.toUpperCase()==="FILE")||c.tagName.toUpperCase()==="TEXTAREA"||jQuery(c).hasClass("dslca-editable-content")||jQuery(c).hasClass("dslc-tabs-nav-hook-title")||jQuery(c).hasClass("dslc-accordion-title")){b=c.readOnly||c.disabled}else{b=true}}if(b){a.preventDefault()}}function dslc_notice_on_refresh(a){if(a.which==116||a.which===82&&a.metaKey){if(jQuery(".dslca-save-composer-hook").offsetParent!==null||jQuery(".dslca-module-edit-save").offsetParent!==null){a.preventDefault();LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_refresh_title,content:DSLCString.str_refresh_descr,confirm:function(){window.location.reload()}})}}}function dslca_generate_error_report(a,b,c,d){var e="JavaScript error detected in a third-party plugin";if(b.match("wp-content/plugins/live-composer-page-builder/js")!=null){e="Live Composer returned JS error"}var f="";f+='<br /><strong style="color:#E55F5F;">'+e+"</strong><br />";f+=a+'<br /> File "'+b+'", line '+c+", char "+d+"<br />";if("undefined"!==typeof Storage){localStorage.setItem("js_errors_report",f)}}function dslca_update_report_log(){var a=document.getElementById("dslca-js-errors-report");var b=localStorage.getItem("js_errors_report");if(null!==b){a.value=b;localStorage.removeItem("js_errors_report");document.querySelector(".dslca-show-js-error-hook").setAttribute("style","visibility:visible")}}"use strict";LiveComposer.Utils={addslashes:function(a){a=a.replace(/\\/g,"\\\\");a=a.replace(/\'/g,"\\'");a=a.replace(/\"/g,'\\"');a=a.replace(/\0/g,"\\0");return a},basename:function(a){return a.split(/[\\/]/).pop()},msieversion:function(){var a=window.navigator.userAgent;var b=a.indexOf("MSIE ");if(b>0||!!navigator.userAgent.match(/Trident.*rv\:11\./)){return parseInt(a.substring(b+5,a.indexOf(".",b)))}else{return false}},checkParams:function(a){if(!Array.isArray(a)){throw"Param is not array"}var b={integer:function(a){return isNaN(parseInt(a))},"float":function(a){return isNaN(parseFloat(a))},string:function(a){return a!=null&&a!=undefined&&typeof a=="string"},array:function(a){return Array.isArray(a)},object:function(a){return typeof a=="object"}};a.map(function(a){if(!b[a[1]](a[0])){throw"Param "+a[0]+" is not "+a[1]}})},utf8_to_b64:function(a){return window.btoa(unescape(encodeURIComponent(a)))},b64_to_utf8:function(a){return decodeURIComponent(escape(window.atob(a)))},get_page_params:function(){return decodeURIComponent(window.location.search.slice(1)).split("&").reduce(function a(b,c){c=c.split("=");b[c[0]]=c[1];return b},{})},get_unique_id:function(){return Math.random().toString(32).slice(2)},encode:function(a){a=dslc_serialize(a);a=LiveComposer.Utils.utf8_to_b64(a);return a},decode:function(a){a=LiveComposer.Utils.b64_to_utf8(a);a=dslc_unserialize(a);return a},update_module_property_raw:function(a,b,c){var d=a.getElementsByClassName("dslca-module-code")[0];var e=a.querySelector('.dslca-module-option-front[data-id="'+b+'"]');var f=d.value;f=LiveComposer.Utils.decode(f);f[b]=c;f=LiveComposer.Utils.encode(f);d.value=f;d.innerHTML=f;e.value=c;e.innerHTML=c},publish:function(a,b){b=b?b:{};this.checkParams([[a,"string"],[b,"object"]]);jQuery.event.trigger({type:a,message:{details:b}})}};"use strict";function dslc_dm_get_defaults(a){if(dslcDebug)console.log("dslc_dm_get_defaults");var b=a.find(".dslca-module-code").val();jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-dm-module-defaults",dslc:"active",dslc_modules_options:b},function(a){jQuery(".dslca-prompt-modal textarea").val(a.output)})}function dslc_editable_content_gen_code(a){if(dslcDebug)console.log("dslc_editable_content_gen_code");if(undefined===a){return false}var b,c,d;b=a.closest(".dslc-module-front");c=a.html().trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");d=a.data("id");jQuery('.dslca-module-option-front[data-id="'+d+'"]',b).val(c)}jQuery(document).ready(function(a){a(document).on("click",".dslca-module-get-defaults-hook",function(){var b=jQuery(this).closest(".dslc-module-front");var c=dslc_dm_get_defaults(b);var d='<span class="dslca-prompt-modal-title">Module Defaults</span>'+'<span class="dslca-prompt-modal-descr">The code bellow is used to alter the defaults.</span>'+"<textarea></textarea><br><br>";a(".dslca-prompt-modal-cancel-hook").hide();a(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>OK');dslc_js_confirm("dev_mode_get_default",d,b)});a(document).on("click",".dslca-refresh-module-hook",function(a){jQuery(this).css({"-webkit-animation-name":"dslcRotate","-moz-animation-name":"dslcRotate","animation-name":"dslcRotate","animation-duration":"0.6s","-webkit-animation-duration":"0.6s","animation-iteration-count":"infinite","-webkit-animation-iteration-count":"infinite"});jQuery(this).closest(".dslc-module-front").addClass("dslca-module-being-edited");dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")})})});window.onbeforeunload=function(){return};jQuery(document).ready(function(a){jQuery(document).on("change",".dslca-modules-section-edit-field",function(){var b,c,d,e,f,g,h,i,j,k,l;b=a(this);c=b.data("id");f=b.val();g=f;h=f+b.data("ext");i=b.data("css-rule");d=a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument);k=d;j=a('.dslca-modules-section-settings input[data-id="'+c+'"]',d);d.addClass("dslca-modules-section-change-made");if(b.hasClass("dslca-modules-section-edit-field-upload")){if(f&&f.length){f=a('.dslca-modules-section-settings input[data-id="dslca-img-url"]',d).val()}}if(i=="background-image"){f='url("'+f+'")';LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}if(c=="bg_image_attachment"){d.removeClass("dslc-init-parallax")}if(c=="border-top"||c=="border-right"||c=="border-bottom"||c=="border-left"){var m=a('.dslca-modules-section-settings input[data-id="border_style"]').val();j=a('.dslca-modules-section-settings input[data-id="border"]',d);g="";var n=b.closest(".dslca-modules-section-edit-option-checkbox-wrapper");n.find(".dslca-modules-section-edit-field-checkbox").each(function(){if(a(this).is(":checked")){if(a(this).data("id")=="border-top"){g+="top "}else if(a(this).data("id")=="border-right"){g+="right "}else if(a(this).data("id")=="border-bottom"){g+="bottom "}else if(a(this).data("id")=="border-left"){g+="left "}}});if(b.is(":checked")){if(b.data("id")=="border-top"){d.css({"border-top-style":m})}else if(b.data("id")=="border-right"){d.css({"border-right-style":m})}else if(b.data("id")=="border-bottom"){d.css({"border-bottom-style":m})}else if(b.data("id")=="border-left"){d.css({"border-left-style":m})}}else{if(b.data("id")=="border-top"){d.css({"border-top-style":"hidden"})}else if(b.data("id")=="border-right"){d.css({"border-right-style":"hidden"})}else if(b.data("id")=="border-bottom"){d.css({"border-bottom-style":"hidden"})}else if(b.data("id")=="border-left"){d.css({"border-left-style":"hidden"})}}}else if(b.hasClass("dslca-modules-section-edit-field-checkbox")){var o=a(this).closest(".dslca-modules-section-edit-option-checkbox-wrapper").find(".dslca-modules-section-edit-field-checkbox");var p="";o.each(function(){if(a(this).prop("checked")){p+=a(this).data("val")+" "}});var g=p;if(b.data("id")=="show_on"){if(p.indexOf("desktop")!==-1){a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-desktop")}else{a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-desktop")}if(p.indexOf("tablet")!==-1){a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-tablet")}else{a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-tablet")}if(p.indexOf("phone")!==-1){a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-phone")}else{a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-phone")}}}else if(c=="bg_image_attachment"&&f=="parallax"||c=="type"){if(c=="bg_image_attachment"){d.addClass("dslc-init-parallax");LiveComposer.Builder.PreviewAreaWindow.dslc_parallax()}else if(c=="type"){if(f=="full"){d.addClass("dslc-full")}else{d.removeClass("dslc-full")}LiveComposer.Builder.PreviewAreaWindow.dslc_masonry()}}else if(c=="columns_spacing"){if(f=="nospacing"){d.addClass("dslc-no-columns-spacing")}else{d.removeClass("dslc-no-columns-spacing")}}else if(c=="custom_class"){}else if(c=="custom_id"){}else if(c=="bg_video"){jQuery(".dslc-bg-video video",d).remove();if(f&&f.length){var q=f;q=q.replace(".webm","");q=q.replace(".mp4","");jQuery(".dslc-bg-video-inner",d).html('<video><source type="video/mp4" src="'+q+'.mp4" /><source type="video/webm" src="'+q+'.webm" /></video>');LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}}else if(c=="bg_image_thumb"){if(g=="enabled"){if(jQuery("#dslca-post-data-thumb").length){var r="url('"+jQuery("#dslca-post-data-thumb").val()+"')";k.css(i,r)}}else if(g=="disabled"){k.css(i,"none")}}else{if(b.data("css-element")){k=jQuery(b.data("css-element"),d)}i=i.replace(/ /g,"").split(",");var s;if(null!=b.data("ext")){s=h}else{s=f}for(var t=0;t<i.length;t++){k.css(i[t],s)}}j.val(g);if(!LiveComposer.Builder.Flags.generate_code_after_row_changed)return false});jQuery(document).on("blur",".dslc-editable-area",function(b){var c=a(this).closest(".dslc-module-front");var d=a(this).data("dslc-option-id");var e=a(this).html();jQuery('.dslca-module-options-front textarea[data-id="'+d+'"]',c).val(e);dslc_module_output_altered()});jQuery(document).on("change",".dslca-module-edit-field",function(){if(dslcDebug)console.log("on change event for .dslca-module-edit-field");var b="",c="",d=jQuery(this),e=d.data("id"),f=d.closest(".dslca-module-edit-option"),g=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),h=g.data("dslc-module-id"),i=jQuery(".dslca-module-options-front textarea",g);g.addClass("dslca-module-change-made");if(f.hasClass("dslca-module-edit-option-select")||f.hasClass("dslca-module-edit-option-checkbox")){dslc_module_options_hideshow_tabs()}if(jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")=="active"){if(f.find(".dslca-module-edit-option-checkbox-wrapper").length){var j=jQuery('input[type="checkbox"]',f);j.each(function(){if(a(this).prop("checked")){b=b+jQuery(this).val()+" "}})}else if(d.hasClass("dslca-module-edit-option-radio")){var b=jQuery(".dslca-module-edit-field:checked",d).val()}else{var b=d.val();if(e=="orientation"&&b=="horizontal"){var k=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field");k.val("40").trigger("change")}else if(e=="orientation"&&b=="vertical"){var k=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field");k.val("100").trigger("change")}}jQuery('.dslca-module-options-front textarea[data-id="'+e+'"]',g).val(b);jQuery(".dslca-container-loader").show();dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-module-change-made");if(e=="css_load_preset"&&!jQuery("body").hasClass("dslca-new-preset-added")){dslc_module_options_show(h);jQuery(".dslca-container-loader").hide()}else{jQuery(".dslca-container-loader").hide()}jQuery("body").removeClass("dslca-new-preset-added")})}else{if(d.hasClass("dslca-module-edit-field-font")){var l=d.val();l=l+":400,100,200,300,500,600,700,800,900";var m=d.data("affect-on-change-el");var n=d.data("affect-on-change-rule");var o=d.val();var p=o;var q=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);if(d.val().length&&dslcGoogleFontsArray.indexOf(d.val())!==-1){document.getElementById("page-builder-frame").contentWindow.WebFont.load({google:{families:[l]},active:function(a,b){if(jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length){jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right")}else{jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}var c=m.split(",");var e="#"+q[0].id+" "+c.join(", #"+q[0].id+" ")+" {"+n+": "+o+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:d,rule:n,elems:m,styleContent:e})},inactive:function(a,b){if(jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length){jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right")}else{jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}}})}else{setTimeout(function(){if(jQuery(".dslca-font-loading.dslca-module-edit-field-font-next").length){jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right")}else{jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}var a=m.split(",");var b="#"+q[0].id+" "+a.join(", #"+q[0].id+" ")+" {"+n+": "+o+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:d,rule:n,elems:m,styleContent:b})},100)}}else if(d.hasClass("dslca-module-edit-field-checkbox")){var j=jQuery('input[type="checkbox"]',f);j.each(function(){if(jQuery(this).prop("checked")){b=b+"solid ";c=c+a(this).val()+" "}else{b=b+"none "}})}if(!d.hasClass("dslca-module-edit-field-font")&&d.data("affect-on-change-el")!=null&&d.data("affect-on-change-rule")!=null){var r=d.data("ext")||"";var m=d.data("affect-on-change-el");var n=d.data("affect-on-change-rule");var o=d.val();var p=o;if(d.hasClass("dslca-module-edit-field-checkbox")){o=b;p=c}if(d.hasClass("dslca-module-edit-field-image")){o='url("'+o+'")'}if(null!==o&&o.length<1&&(n=="background-color"||n=="background")){o="transparent"}n.split(",").forEach(function(a){a=a.replace(/\s+/g,"");var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);var c=m.split(",");var e="#"+b[0].id+" "+c.join(", #"+b[0].id+" ")+" {"+a+": "+o+r+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:d,rule:a,elems:m,styleContent:e})})}var s="";if(e.indexOf("css_")!==-1){s=p}else{s=d.val()}jQuery('.dslca-module-option-front[data-id="'+e+'"]',g).val(s);LiveComposer.Utils.publish("moduleChanged",{moduleId:g[0].id,optionID:e,optionVal:p||d.val()})}});a(document).on("keyup, blur",".dslca-module-edit-field-numeric",function(){return false;var b="",c=a(this),d=c.data("id"),e=c.closest(".dslca-module-edit-option"),f=a(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),g=f.data("dslc-module-id"),h=jQuery(".dslca-module-options-front textarea",f),i=c.data("affect-on-change-el"),j=c.data("affect-on-change-rule"),k=c.val(),l=k+c.data("ext"),m;f.addClass("dslca-module-change-made");if(jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")!="active"){m=j.replace(/ /g,"").split(",");jQuery('.dslca-module-option-front[data-id="'+d+'"]',f).val(k)}})});jQuery(document).ready(function(a){var b;jQuery(document).on("click",".dslca-module-edit-field-image-add-hook, .dslca-modules-section-edit-field-image-add-hook",function(){var a=jQuery(this);if(a.hasClass("dslca-module-edit-field-image-add-hook")){var c=a.siblings(".dslca-module-edit-field-image");var d=a.siblings(".dslca-module-edit-field-image-remove-hook")}else{var c=a.siblings(".dslca-modules-section-edit-field-upload");var d=a.siblings(".dslca-modules-section-edit-field-image-remove-hook")}var e=false;b=wp.media.frames.file_frame=wp.media({title:"Choose Image",button:{text:"Confirm"},multiple:e});b.on("select",function(){var e=b.state().get("selection").first().toJSON();c.val(e.id);jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).find('.dslca-modules-section-settings input[data-id="dslca-img-url"]').val(e.url);c.trigger("change");a.hide();d.show()});b.open()});jQuery(document).on("click",".dslca-module-edit-field-image-remove-hook, .dslca-modules-section-edit-field-image-remove-hook",function(){var a=jQuery(this);if(a.hasClass("dslca-module-edit-field-image-remove-hook")){var b=a.siblings(".dslca-module-edit-field-image");var c=a.siblings(".dslca-module-edit-field-image-add-hook")}else{var b=a.siblings(".dslca-modules-section-edit-field-upload");var c=a.siblings(".dslca-modules-section-edit-field-image-add-hook")}b.val("").trigger("change");a.hide();c.show()});jQuery(document).on("click",".dslca-wp-editor-save-hook",function(){var a=jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).closest(".dslc-module-front");if(typeof tinymce!="undefined"){if(jQuery("#wp-dslcawpeditor-wrap").hasClass("tmce-active")){var b=tinymce.get("dslcawpeditor");var c=b.getContent()}else{var c=jQuery("#dslcawpeditor").val()}jQuery(".dslca-wp-editor").hide();jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).html(c);if(a.hasClass("dslc-module-handle-like-accordion")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-accordion-plain-content").val(c);var d=a.find(".dslc-accordion");LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(d)}else if(a.hasClass("dslc-module-handle-like-tabs")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-tab-plain-content").val(c);var e=a.find(".dslc-tabs");LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(e)}dslc_editable_content_gen_code(jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument));jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-wysiwyg-active")}else{console.info("Live Composer: TinyMCE is undefined.")}});jQuery(document).on("click",".dslca-wp-editor-cancel-hook",function(){a(".dslca-wp-editor").hide();a(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-wysiwyg-active")})});
js/builder/builder.module.functions.js CHANGED
@@ -221,7 +221,7 @@
221
 
222
  dslc_editable_content_gen_code( jQuery(this) );
223
  }
224
- }).on( 'paste', '.dslca-editable-content', function(){
225
 
226
  if ( ! jQuery('body').hasClass( 'dslca-composer-hidden' ) && jQuery(this).data('type') == 'simple' ) {
227
 
@@ -233,8 +233,8 @@
233
  dslcRealInput.html( dslcRealInput.text() );
234
  }
235
 
236
- dslc_editable_content_gen_code( jQuery(this) );
237
- }, 1);
238
  }
239
  }).on('focus', '.dslca-editable-content', function() {
240
 
@@ -385,6 +385,8 @@ function dslc_module_width_set( module, new_width ) {
385
  // Update module size in raw base64 code (dslc_code) of the module
386
  LiveComposer.Utils.update_module_property_raw( module[0], 'dslc_m_size', new_width );
387
 
 
 
388
  dslc_generate_code();
389
  dslc_show_publish_button();
390
  }
@@ -588,12 +590,8 @@ function dslc_module_output_altered( callback ) {
588
  dslc_generate_code(); // Do not delete. It refresh classes on "option preview refresh -> true"
589
  // dslc_show_publish_button();
590
  LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();
591
- LiveComposer.Builder.PreviewAreaWindow.dslc_masonry( jQuery('.dslca-module-being-edited', LiveComposer.Builder.PreviewAreaDocument) );
592
-
593
- jQuery( '.dslca-module-being-edited img' , LiveComposer.Builder.PreviewAreaDocument).load( function(){
594
 
595
- LiveComposer.Builder.PreviewAreaWindow.dslc_masonry( jQuery('.dslca-module-being-edited', LiveComposer.Builder.PreviewAreaDocument) );
596
- });
597
 
598
  LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();
599
  LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();
@@ -662,11 +660,7 @@ function dslc_module_output_reload( dslcModule, callback ) {
662
  dslc_show_publish_button();
663
 
664
  LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();
665
- LiveComposer.Builder.PreviewAreaWindow.dslc_masonry( jQuery('.dslca-module-being-edited', LiveComposer.Builder.PreviewAreaDocument) );
666
-
667
- jQuery( '.dslca-module-being-edited img' , LiveComposer.Builder.PreviewAreaDocument).load( function(){
668
- LiveComposer.Builder.PreviewAreaWindow.dslc_masonry( jQuery('.dslca-module-being-edited', LiveComposer.Builder.PreviewAreaDocument) );
669
- });
670
 
671
  LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();
672
  LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();
221
 
222
  dslc_editable_content_gen_code( jQuery(this) );
223
  }
224
+ }).on( 'paste', '.dslca-editable-content:not(.inline-editor)', function(){
225
 
226
  if ( ! jQuery('body').hasClass( 'dslca-composer-hidden' ) && jQuery(this).data('type') == 'simple' ) {
227
 
233
  dslcRealInput.html( dslcRealInput.text() );
234
  }
235
 
236
+ dslc_editable_content_gen_code( dslcRealInput );
237
+ }, 100);
238
  }
239
  }).on('focus', '.dslca-editable-content', function() {
240
 
385
  // Update module size in raw base64 code (dslc_code) of the module
386
  LiveComposer.Utils.update_module_property_raw( module[0], 'dslc_m_size', new_width );
387
 
388
+ LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();
389
+
390
  dslc_generate_code();
391
  dslc_show_publish_button();
392
  }
590
  dslc_generate_code(); // Do not delete. It refresh classes on "option preview refresh -> true"
591
  // dslc_show_publish_button();
592
  LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();
 
 
 
593
 
594
+ LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();
 
595
 
596
  LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();
597
  LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();
660
  dslc_show_publish_button();
661
 
662
  LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();
663
+ LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();
 
 
 
 
664
 
665
  LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();
666
  LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();
js/builder/builder.modulearea.class.js CHANGED
@@ -146,18 +146,13 @@ LiveComposer.Builder.Elements.CModuleArea = function(elem) {
146
  jQuery( elem ).attr('data-jsinit', 'initialized');
147
 
148
  /** Sort option setter */
149
- /* why it's here? Sortable by pybaxa doesn't have .sortable option
150
-
151
  jQuery(document).on('LC.sortableOff', function(){
152
- if ( undefined !== self.sortable.sortable( "instance" ) ) {
153
- self.sortable.sortable('option','disabled', true);
154
- }
155
  });
156
 
157
  jQuery(document).on('LC.sortableOn', function(){
158
- if ( undefined !== self.sortable.sortable( "instance" ) ) {
159
- self.sortable.sortable('option','disabled', false);
160
- }
161
  });
162
- */
163
  }
146
  jQuery( elem ).attr('data-jsinit', 'initialized');
147
 
148
  /** Sort option setter */
 
 
149
  jQuery(document).on('LC.sortableOff', function(){
150
+
151
+ self.sortable && self.sortable.option && self.sortable.option('disabled', true);
 
152
  });
153
 
154
  jQuery(document).on('LC.sortableOn', function(){
155
+
156
+ self.sortable && self.sortable.option && self.sortable.option('disabled', false);
 
157
  });
 
158
  }
js/builder/builder.plugins.js CHANGED
@@ -5,7 +5,7 @@
5
  (function(e,t,n){function l(e,t,n){var r=[];for(var i=0;i<e.length;i++){var s=e[i];if(s){var u=tinycolor(s);var a=u.toHsl().l<.5?"sp-thumb-el sp-thumb-dark":"sp-thumb-el sp-thumb-light";a+=tinycolor.equals(t,s)?" sp-thumb-active":"";var f=o?"background-color:"+u.toRgbString():"filter:"+u.toFilter();r.push('<span title="'+u.toRgbString()+'" data-color="'+u.toRgbString()+'" class="'+a+'"><span class="sp-thumb-inner" style="'+f+';" /></span>')}else{var l="sp-clear-display";r.push('<span title="No Color Selected" data-color="" style="background-color:transparent;" class="'+l+'"></span>')}}return"<div class='sp-cf "+n+"'>"+r.join("")+"</div>"}function c(){for(var e=0;e<i.length;e++){if(i[e]){i[e].hide()}}}function h(e,n){var i=t.extend({},r,e);i.callbacks={move:g(i.move,n),change:g(i.change,n),show:g(i.show,n),hide:g(i.hide,n),beforeShow:g(i.beforeShow,n)};return i}function p(r,p){function St(){if(v.showPaletteOnly){v.showPalette=true}if(v.palette){F=v.palette.slice(0);I=t.isArray(F[0])?F:[F]}K.toggleClass("sp-flat",g);K.toggleClass("sp-input-disabled",!v.showInput);K.toggleClass("sp-alpha-enabled",v.showAlpha);K.toggleClass("sp-clear-enabled",Et);K.toggleClass("sp-buttons-disabled",!v.showButtons);K.toggleClass("sp-palette-disabled",!v.showPalette);K.toggleClass("sp-palette-only",v.showPaletteOnly);K.toggleClass("sp-initial-disabled",!v.showInitial);K.addClass(v.className);Ut()}function xt(){function o(e){if(e.data&&e.data.ignore){Ht(t(this).data("color"));Ft()}else{Ht(t(this).data("color"));Rt(true);Ft();Dt()}return false}if(s){K.find("*:not(input)").attr("unselectable","on")}St();if(ct){V.after(ht).hide()}if(!Et){ut.hide()}if(g){V.after(K).hide()}else{var n=v.appendTo==="parent"?V.parent():t(v.appendTo);if(n.length!==1){n=t("body")}n.append(K)}if(E&&e.localStorage){try{var r=e.localStorage[E].split(",#");if(r.length>1){delete e.localStorage[E];t.each(r,function(e,t){Tt(t)})}}catch(i){}try{q=e.localStorage[E].split(";")}catch(i){}}pt.bind("click.spectrum touchstart.spectrum",function(e){if(!J){Mt()}e.stopPropagation();if(!t(e.target).is("input")){e.preventDefault()}});if(V.is(":disabled")||v.disabled===true){Vt()}K.click(m);rt.change(Ot);rt.bind("paste",function(){setTimeout(Ot,1)});rt.keydown(function(e){if(e.keyCode==13){Ot()}});ot.text(v.cancelText);ot.bind("click.spectrum",function(e){e.stopPropagation();e.preventDefault();Dt("cancel")});ut.attr("title",v.clearText);ut.bind("click.spectrum",function(e){e.stopPropagation();e.preventDefault();wt=true;Ft();if(g){Rt(true)}});at.text(v.chooseText);at.bind("click.spectrum",function(e){e.stopPropagation();e.preventDefault();if(jt()){Rt(true);Dt()}});y(tt,function(e,t,n){j=e/M;wt=false;if(n.shiftKey){j=Math.round(j*10)/10}Ft()},Lt,At);y(Y,function(e,t){P=parseFloat(t/A);wt=false;if(!v.showAlpha){j=1}Ft()},Lt,At);y(Q,function(e,t,n){if(!n.shiftKey){z=null}else if(!z){var r=H*C;var i=k-B*k;var s=Math.abs(e-r)>Math.abs(t-i);z=s?"x":"y"}var o=!z||z==="x";var u=!z||z==="y";if(o){H=parseFloat(e/C)}if(u){B=parseFloat((k-t)/k)}wt=false;if(!v.showAlpha){j=1}Ft()},Lt,At);if(!!vt){Ht(vt);It();yt=gt||tinycolor(vt).format;Tt(vt)}else{It()}if(g){_t()}var u=s?"mousedown.spectrum":"click.spectrum touchstart.spectrum";it.delegate(".sp-thumb-el",u,o);st.delegate(".sp-thumb-el:nth-child(1)",u,{ignore:true},o)}function Tt(n){if(w){var r=tinycolor(n).toRgbString();if(t.inArray(r,q)===-1){q.push(r);while(q.length>R){q.shift()}}if(E&&e.localStorage){try{e.localStorage[E]=q.join(";")}catch(i){}}}}function Nt(){var e=[];var t=q;var n={};var r;if(v.showPalette){for(var i=0;i<I.length;i++){for(var s=0;s<I[i].length;s++){r=tinycolor(I[i][s]).toRgbString();n[r]=true}}for(i=0;i<t.length;i++){r=tinycolor(t[i]).toRgbString();if(!n.hasOwnProperty(r)){e.push(t[i]);n[r]=true}}}return e.reverse().slice(0,v.maxSelectionSize)}function Ct(){var e=Bt();var n=t.map(I,function(t,n){return l(t,e,"sp-palette-row sp-palette-row-"+n)});if(q){n.push(l(Nt(),e,"sp-palette-row sp-palette-row-selection"))}it.html(n.join(""))}function kt(){if(v.showInitial){var e=mt;var t=Bt();st.html(l([e,t],t,"sp-palette-row-initial"))}}function Lt(){if(k<=0||C<=0||A<=0){Ut()}K.addClass(U);z=null;V.trigger("dragstart.spectrum",[Bt()])}function At(){K.removeClass(U);V.trigger("dragstop.spectrum",[Bt()])}function Ot(){var e=rt.val();if((e===null||e==="")&&Et){Ht(null);Rt(true)}else{var t=tinycolor(e);if(t.ok){Ht(t);Rt(true)}else{rt.addClass("sp-validation-error")}}}function Mt(){if(N){Dt()}else{_t()}}function _t(){var n=t.Event("beforeShow.spectrum");if(N){Ut();return}V.trigger(n,[Bt()]);if(x.beforeShow(Bt())===false||n.isDefaultPrevented()){return}c();N=true;t(W).bind("click.spectrum",Dt);t(e).bind("resize.spectrum",T);ht.addClass("sp-active");K.removeClass("sp-hidden");Ut();It();mt=Bt();kt();x.show(mt);V.trigger("show.spectrum",[mt])}function Dt(n){if(n&&n.type=="click"&&n.button==2){return}if(!N||g){return}N=false;t(W).unbind("click.spectrum",Dt);t(e).unbind("resize.spectrum",T);ht.removeClass("sp-active");K.addClass("sp-hidden");var r=!tinycolor.equals(Bt(),mt);if(r){if(bt&&n!=="cancel"){Rt(true)}else{Pt()}}x.hide(Bt());V.trigger("hide.spectrum",[Bt()])}function Pt(){Ht(mt,true);x.change(mt);V.trigger("change",[mt])}function Ht(e,t){if(tinycolor.equals(e,Bt())){It();return}var n,r;if(!e&&Et){wt=true}else{wt=false;n=tinycolor(e);r=n.toHsv();P=r.h%360/360;H=r.s;B=r.v;j=r.a}It();if(n&&n.ok&&!t){yt=gt||n.format}}function Bt(e){e=e||{};if(Et&&wt){return null}return tinycolor.fromRatio({h:P,s:H,v:B,a:Math.round(j*100)/100},{format:e.format||yt})}function jt(){return!rt.hasClass("sp-validation-error")}function Ft(){It();x.move(Bt());V.trigger("move.spectrum",[Bt()])}function It(){rt.removeClass("sp-validation-error");qt();var e=tinycolor.fromRatio({h:P,s:1,v:1});Q.css("background-color",e.toHexString());var t=yt;if(j<1&&!(j===0&&t==="name")){if(t==="hex"||t==="hex3"||t==="hex6"||t==="name"){t="rgb"}}var n=Bt({format:t}),r="";dt.removeClass("sp-clear-display");dt.css("background-color","transparent");if(!n&&Et){dt.addClass("sp-clear-display")}else{var i=n.toHexString(),u=n.toRgbString();if(o||n.alpha===1){dt.css("background-color",u)}else{dt.css("background-color","transparent");dt.css("filter",n.toFilter())}if(v.showAlpha){var a=n.toRgb();a.a=0;var f=tinycolor(a).toRgbString();var l="linear-gradient(left, "+f+", "+i+")";if(s){et.css("filter",tinycolor(f).toFilter({gradientType:1},i))}else{et.css("background","-webkit-"+l);et.css("background","-moz-"+l);et.css("background","-ms-"+l);et.css("background",l)}}r=n.toString(t)}if(v.showInput){rt.val(r)}if(v.showPalette){Ct()}kt()}function qt(){var e=H;var t=B;if(Et&&wt){nt.hide();Z.hide();G.hide()}else{nt.show();Z.show();G.show();var n=e*C;var r=k-t*k;n=Math.max(-L,Math.min(C-L,n-L));r=Math.max(-L,Math.min(k-L,r-L));G.css({top:r+"px",left:n+"px"});var i=j*M;nt.css({left:i-_/2+"px"});var s=P*A;Z.css({top:s-D+"px"})}}function Rt(e){var t=Bt(),n="",r=!tinycolor.equals(t,mt);if(t){n=t.toString(yt);Tt(t)}if(ft){V.val(n)}mt=t;if(e&&r){x.change(t);V.trigger("change",[t])}}function Ut(){C=Q.width();k=Q.height();L=G.height();O=Y.width();A=Y.height();D=Z.height();M=tt.width();_=nt.width();if(!g){K.css("position","absolute");K.offset(d(K,pt))}qt();if(v.showPalette){Ct()}V.trigger("reflow.spectrum")}function zt(){V.show();pt.unbind("click.spectrum touchstart.spectrum");K.remove();ht.remove();i[$t.id]=null}function Wt(e,r){if(e===n){return t.extend({},v)}if(r===n){return v[e]}v[e]=r;St()}function Xt(){J=false;V.attr("disabled",false);pt.removeClass("sp-disabled")}function Vt(){Dt();J=true;V.attr("disabled",true);pt.addClass("sp-disabled")}var v=h(p,r),g=v.flat,w=v.showSelectionPalette,E=v.localStorageKey,S=v.theme,x=v.callbacks,T=b(Ut,10),N=false,C=0,k=0,L=0,A=0,O=0,M=0,_=0,D=0,P=0,H=0,B=0,j=1,F=[],I=[],q=v.selectionPalette.slice(0),R=v.maxSelectionSize,U="sp-dragging",z=null;var W=r.ownerDocument,X=W.body,V=t(r),J=false,K=t(f,W).addClass(S),Q=K.find(".sp-color"),G=K.find(".sp-dragger"),Y=K.find(".sp-hue"),Z=K.find(".sp-slider"),et=K.find(".sp-alpha-inner"),tt=K.find(".sp-alpha"),nt=K.find(".sp-alpha-handle"),rt=K.find(".sp-input"),it=K.find(".sp-palette"),st=K.find(".sp-initial"),ot=K.find(".sp-cancel"),ut=K.find(".sp-clear"),at=K.find(".sp-choose"),ft=V.is("input"),lt=ft&&u&&V.attr("type")==="color",ct=ft&&!g,ht=ct?t(a).addClass(S).addClass(v.className):t([]),pt=ct?ht:V,dt=ht.find(".sp-preview-inner"),vt=v.color||ft&&V.val(),mt=false,gt=v.preferredFormat,yt=gt,bt=!v.showButtons||v.clickoutFiresChange,wt=!vt,Et=v.allowEmpty&&!lt;xt();var $t={show:_t,hide:Dt,toggle:Mt,reflow:Ut,option:Wt,enable:Xt,disable:Vt,set:function(e){Ht(e);Rt()},get:Bt,destroy:zt,container:K};$t.id=i.push($t)-1;return $t}function d(e,n){var r=0;var i=e.outerWidth();var s=e.outerHeight();var o=n.outerHeight();var u=e[0].ownerDocument;var a=u.documentElement;var f=a.clientWidth+t(u).scrollLeft();var l=a.clientHeight+t(u).scrollTop();var c=n.offset();c.top+=o;c.left-=Math.min(c.left,c.left+i>f&&f>i?Math.abs(c.left+i-f):0);c.top-=Math.min(c.top,c.top+s>l&&l>s?Math.abs(s+o-r):r);return c}function v(){}function m(e){e.stopPropagation()}function g(e,t){var n=Array.prototype.slice;var r=n.call(arguments,2);return function(){return e.apply(t,r.concat(n.call(arguments)))}}function y(n,r,i,o){function d(e){if(e.stopPropagation){e.stopPropagation()}if(e.preventDefault){e.preventDefault()}e.returnValue=false}function v(e){if(a){if(s&&document.documentMode<9&&!e.button){return g()}var t=e.originalEvent.touches;var i=t?t[0].pageX:e.pageX;var o=t?t[0].pageY:e.pageY;var u=Math.max(0,Math.min(i-f.left,c));var p=Math.max(0,Math.min(o-f.top,l));if(h){d(e)}r.apply(n,[u,p,e])}}function m(e){var r=e.which?e.which==3:e.button==2;var s=e.originalEvent.touches;if(!r&&!a){if(i.apply(n,arguments)!==false){a=true;l=t(n).height();c=t(n).width();f=t(n).offset();t(u).bind(p);t(u.body).addClass("sp-dragging");if(!h){v(e)}d(e)}}}function g(){if(a){t(u).unbind(p);t(u.body).removeClass("sp-dragging");o.apply(n,arguments)}a=false}r=r||function(){};i=i||function(){};o=o||function(){};var u=n.ownerDocument||document;var a=false;var f={};var l=0;var c=0;var h="ontouchstart"in e;var p={};p["selectstart"]=d;p["dragstart"]=d;p["touchmove mousemove"]=v;p["touchend mouseup"]=g;t(n).bind("touchstart mousedown",m)}function b(e,t,n){var r;return function(){var i=this,s=arguments;var o=function(){r=null;e.apply(i,s)};if(n)clearTimeout(r);if(n||!r)r=setTimeout(o,t)}}function w(){if(e.console){if(Function.prototype.bind)w=Function.prototype.bind.call(console.log,console);else w=function(){Function.prototype.apply.call(console.log,console,arguments)};w.apply(this,arguments)}}var r={beforeShow:v,move:v,change:v,show:v,hide:v,color:false,flat:false,showInput:false,allowEmpty:false,showButtons:true,clickoutFiresChange:false,showInitial:false,showPalette:false,showPaletteOnly:false,showSelectionPalette:true,localStorageKey:false,appendTo:"body",maxSelectionSize:7,cancelText:"cancel",chooseText:"choose",clearText:"Clear Color Selection",preferredFormat:false,className:"",showAlpha:false,theme:"sp-light",palette:["fff","000"],selectionPalette:[],disabled:false},i=[],s=!!/msie/i.exec(e.navigator.userAgent),o=function(){function e(e,t){return!!~(""+e).indexOf(t)}var t=document.createElement("div");var n=t.style;n.cssText="background-color:rgba(0,0,0,.5)";return e(n.backgroundColor,"rgba")||e(n.backgroundColor,"hsla")}(),u=function(){var e=t("<input type='color' value='!' />")[0];return e.type==="color"&&e.value!=="!"}(),a=["<div class='sp-replacer'>","<div class='sp-preview'><div class='sp-preview-inner'></div></div>","<div class='sp-dd'>&#9660;</div>","</div>"].join(""),f=function(){var e="";if(s){for(var t=1;t<=6;t++){e+="<div class='sp-"+t+"'></div>"}}return["<div class='sp-container sp-hidden'>","<div class='sp-palette-container'>","<div class='sp-palette sp-thumb sp-cf'></div>","</div>","<div class='sp-picker-container'>","<div class='sp-top sp-cf'>","<div class='sp-fill'></div>","<div class='sp-top-inner'>","<div class='sp-color'>","<div class='sp-sat'>","<div class='sp-val'>","<div class='sp-dragger'></div>","</div>","</div>","</div>","<div class='sp-clear sp-clear-display'>","</div>","<div class='sp-hue'>","<div class='sp-slider'></div>",e,"</div>","</div>","<div class='sp-alpha'><div class='sp-alpha-inner'><div class='sp-alpha-handle'></div></div></div>","</div>","<div class='sp-input-container sp-cf'>","<input class='sp-input' type='text' spellcheck='false' />","</div>","<div class='sp-initial sp-thumb sp-cf'></div>","<div class='sp-button-container sp-cf'>","<span class='dslca-sp-revert dslc-icon dslc-icon-undo' title='Revert to default'></span>","<span class='sp-cancel dslc-icon dslc-icon-remove' title='Cancel'></span>","<span class='sp-choose dslc-icon dslc-icon-ok' title='Confirm'></span>","</div>","</div>","</div>"].join("")}();var E="spectrum.id";t.fn.spectrum=function(e,n){if(typeof e=="string"){var r=this;var s=Array.prototype.slice.call(arguments,1);this.each(function(){var n=i[t(this).data(E)];if(n){var o=n[e];if(!o){throw new Error("Spectrum: no such method: '"+e+"'")}if(e=="get"){r=n.get()}else if(e=="container"){r=n.container}else if(e=="option"){r=n.option.apply(n,s)}else if(e=="destroy"){n.destroy();t(this).removeData(E)}else{o.apply(n,s)}}});return r}return this.spectrum("destroy").each(function(){var n=t.extend({},e,t(this).data());var r=p(this,n);t(this).data(E,r.id)})};t.fn.spectrum.load=true;t.fn.spectrum.loadOpts={};t.fn.spectrum.draggable=y;t.fn.spectrum.defaults=r;t.spectrum={};t.spectrum.localization={};t.spectrum.palettes={};t.fn.spectrum.processNativeColorInputs=function(){if(!u){t("input[type=color]").spectrum({preferredFormat:"hex6"})}};(function(){function f(e,t){e=e?e:"";t=t||{};if(typeof e=="object"&&e.hasOwnProperty("_tc_id")){return e}var n=l(e);var i=n.r,o=n.g,u=n.b,a=n.a,c=s(100*a)/100,p=t.format||n.format;if(i<1){i=s(i)}if(o<1){o=s(o)}if(u<1){u=s(u)}return{ok:n.ok,format:p,_tc_id:r++,alpha:a,getAlpha:function(){return a},setAlpha:function(e){a=E(e);c=s(100*a)/100},toHsv:function(){var e=d(i,o,u);return{h:e.h*360,s:e.s,v:e.v,a:a}},toHsvString:function(){var e=d(i,o,u);var t=s(e.h*360),n=s(e.s*100),r=s(e.v*100);return a==1?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+c+")"},toHsl:function(){var e=h(i,o,u);return{h:e.h*360,s:e.s,l:e.l,a:a}},toHslString:function(){var e=h(i,o,u);var t=s(e.h*360),n=s(e.s*100),r=s(e.l*100);return a==1?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+c+")"},toHex:function(e){return m(i,o,u,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(){return g(i,o,u,a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:s(i),g:s(o),b:s(u),a:a}},toRgbString:function(){return a==1?"rgb("+s(i)+", "+s(o)+", "+s(u)+")":"rgba("+s(i)+", "+s(o)+", "+s(u)+", "+c+")"},toPercentageRgb:function(){return{r:s(S(i,255)*100)+"%",g:s(S(o,255)*100)+"%",b:s(S(u,255)*100)+"%",a:a}},toPercentageRgbString:function(){return a==1?"rgb("+s(S(i,255)*100)+"%, "+s(S(o,255)*100)+"%, "+s(S(u,255)*100)+"%)":"rgba("+s(S(i,255)*100)+"%, "+s(S(o,255)*100)+"%, "+s(S(u,255)*100)+"%, "+c+")"},toName:function(){if(a===0){return"transparent"}return b[m(i,o,u,true)]||false},toFilter:function(e){var n="#"+g(i,o,u,a);var r=n;var s=t&&t.gradientType?"GradientType = 1, ":"";if(e){var l=f(e);r=l.toHex8String()}return"progid:DXImageTransform.Microsoft.gradient("+s+"startColorstr="+n+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this.format;var n=false;var r=!t&&a<1&&a>0;var i=r&&(e==="hex"||e==="hex6"||e==="hex3"||e==="name");if(e==="rgb"){n=this.toRgbString()}if(e==="prgb"){n=this.toPercentageRgbString()}if(e==="hex"||e==="hex6"){n=this.toHexString()}if(e==="hex3"){n=this.toHexString(true)}if(e==="hex8"){n=this.toHex8String()}if(e==="name"){n=this.toName()}if(e==="hsl"){n=this.toHslString()}if(e==="hsv"){n=this.toHsvString()}if(i){return this.toRgbString()}return n||this.toHexString()}}}function l(e){var t={r:0,g:0,b:0};var n=1;var r=false;var i=false;if(typeof e=="string"){e=_(e)}if(typeof e=="object"){if(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b")){t=c(e.r,e.g,e.b);r=true;i=String(e.r).substr(-1)==="%"?"prgb":"rgb"}else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("v")){e.s=L(e.s);e.v=L(e.v);t=v(e.h,e.s,e.v);r=true;i="hsv"}else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("l")){e.s=L(e.s);e.l=L(e.l);t=p(e.h,e.s,e.l);r=true;i="hsl"}if(e.hasOwnProperty("a")){n=e.a}}n=E(n);return{ok:r,format:e.format||i,r:o(255,u(t.r,0)),g:o(255,u(t.g,0)),b:o(255,u(t.b,0)),a:n}}function c(e,t,n){return{r:S(e,255)*255,g:S(t,255)*255,b:S(n,255)*255}}function h(e,t,n){e=S(e,255);t=S(t,255);n=S(n,255);var r=u(e,t,n),i=o(e,t,n);var s,a,f=(r+i)/2;if(r==i){s=a=0}else{var l=r-i;a=f>.5?l/(2-r-i):l/(r+i);switch(r){case e:s=(t-n)/l+(t<n?6:0);break;case t:s=(n-e)/l+2;break;case n:s=(e-t)/l+4;break}s/=6}return{h:s,s:a,l:f}}function p(e,t,n){function o(e,t,n){if(n<0)n+=1;if(n>1)n-=1;if(n<1/6)return e+(t-e)*6*n;if(n<1/2)return t;if(n<2/3)return e+(t-e)*(2/3-n)*6;return e}var r,i,s;e=S(e,360);t=S(t,100);n=S(n,100);if(t===0){r=i=s=n}else{var u=n<.5?n*(1+t):n+t-n*t;var a=2*n-u;r=o(a,u,e+1/3);i=o(a,u,e);s=o(a,u,e-1/3)}return{r:r*255,g:i*255,b:s*255}}function d(e,t,n){e=S(e,255);t=S(t,255);n=S(n,255);var r=u(e,t,n),i=o(e,t,n);var s,a,f=r;var l=r-i;a=r===0?0:l/r;if(r==i){s=0}else{switch(r){case e:s=(t-n)/l+(t<n?6:0);break;case t:s=(n-e)/l+2;break;case n:s=(e-t)/l+4;break}s/=6}return{h:s,s:a,v:f}}function v(e,t,n){e=S(e,360)*6;t=S(t,100);n=S(n,100);var r=i.floor(e),s=e-r,o=n*(1-t),u=n*(1-s*t),a=n*(1-(1-s)*t),f=r%6,l=[n,u,o,o,a,n][f],c=[a,n,n,u,o,o][f],h=[o,o,a,n,n,u][f];return{r:l*255,g:c*255,b:h*255}}function m(e,t,n,r){var i=[k(s(e).toString(16)),k(s(t).toString(16)),k(s(n).toString(16))];if(r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)){return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)}return i.join("")}function g(e,t,n,r){var i=[k(A(r)),k(s(e).toString(16)),k(s(t).toString(16)),k(s(n).toString(16))];return i.join("")}function w(e){var t={};for(var n in e){if(e.hasOwnProperty(n)){t[e[n]]=n}}return t}function E(e){e=parseFloat(e);if(isNaN(e)||e<0||e>1){e=1}return e}function S(e,t){if(N(e)){e="100%"}var n=C(e);e=o(t,u(0,parseFloat(e)));if(n){e=parseInt(e*t,10)/100}if(i.abs(e-t)<1e-6){return 1}return e%t/parseFloat(t)}function x(e){return o(1,u(0,e))}function T(e){return parseInt(e,16)}function N(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function C(e){return typeof e==="string"&&e.indexOf("%")!=-1}function k(e){return e.length==1?"0"+e:""+e}function L(e){if(e<=1){e=e*100+"%"}return e}function A(e){return Math.round(parseFloat(e)*255).toString(16)}function O(e){return T(e)/255}function _(e){e=e.replace(t,"").replace(n,"").toLowerCase();var r=false;if(y[e]){e=y[e];r=true}else if(e=="transparent"){return{r:0,g:0,b:0,a:0,format:"name"}}var i;if(i=M.rgb.exec(e)){return{r:i[1],g:i[2],b:i[3]}}if(i=M.rgba.exec(e)){return{r:i[1],g:i[2],b:i[3],a:i[4]}}if(i=M.hsl.exec(e)){return{h:i[1],s:i[2],l:i[3]}}if(i=M.hsla.exec(e)){return{h:i[1],s:i[2],l:i[3],a:i[4]}}if(i=M.hsv.exec(e)){return{h:i[1],s:i[2],v:i[3]}}if(i=M.hex8.exec(e)){return{a:O(i[1]),r:T(i[2]),g:T(i[3]),b:T(i[4]),format:r?"name":"hex8"}}if(i=M.hex6.exec(e)){return{r:T(i[1]),g:T(i[2]),b:T(i[3]),format:r?"name":"hex"}}if(i=M.hex3.exec(e)){return{r:T(i[1]+""+i[1]),g:T(i[2]+""+i[2]),b:T(i[3]+""+i[3]),format:r?"name":"hex"}}return false}var t=/^[\s,#]+/,n=/\s+$/,r=0,i=Math,s=i.round,o=i.min,u=i.max,a=i.random;f.fromRatio=function(e,t){if(typeof e=="object"){var n={};for(var r in e){if(e.hasOwnProperty(r)){if(r==="a"){n[r]=e[r]}else{n[r]=L(e[r])}}}e=n}return f(e,t)};f.equals=function(e,t){if(!e||!t){return false}return f(e).toRgbString()==f(t).toRgbString()};f.random=function(){return f.fromRatio({r:a(),g:a(),b:a()})};f.desaturate=function(e,t){t=t===0?0:t||10;var n=f(e).toHsl();n.s-=t/100;n.s=x(n.s);return f(n)};f.saturate=function(e,t){t=t===0?0:t||10;var n=f(e).toHsl();n.s+=t/100;n.s=x(n.s);return f(n)};f.greyscale=function(e){return f.desaturate(e,100)};f.lighten=function(e,t){t=t===0?0:t||10;var n=f(e).toHsl();n.l+=t/100;n.l=x(n.l);return f(n)};f.darken=function(e,t){t=t===0?0:t||10;var n=f(e).toHsl();n.l-=t/100;n.l=x(n.l);return f(n)};f.complement=function(e){var t=f(e).toHsl();t.h=(t.h+180)%360;return f(t)};f.triad=function(e){var t=f(e).toHsl();var n=t.h;return[f(e),f({h:(n+120)%360,s:t.s,l:t.l}),f({h:(n+240)%360,s:t.s,l:t.l})]};f.tetrad=function(e){var t=f(e).toHsl();var n=t.h;return[f(e),f({h:(n+90)%360,s:t.s,l:t.l}),f({h:(n+180)%360,s:t.s,l:t.l}),f({h:(n+270)%360,s:t.s,l:t.l})]};f.splitcomplement=function(e){var t=f(e).toHsl();var n=t.h;return[f(e),f({h:(n+72)%360,s:t.s,l:t.l}),f({h:(n+216)%360,s:t.s,l:t.l})]};f.analogous=function(e,t,n){t=t||6;n=n||30;var r=f(e).toHsl();var i=360/n;var s=[f(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;){r.h=(r.h+i)%360;s.push(f(r))}return s};f.monochromatic=function(e,t){t=t||6;var n=f(e).toHsv();var r=n.h,i=n.s,s=n.v;var o=[];var u=1/t;while(t--){o.push(f({h:r,s:i,v:s}));s=(s+u)%1}return o};f.readability=function(e,t){var n=f(e).toRgb();var r=f(t).toRgb();var i=(n.r*299+n.g*587+n.b*114)/1e3;var s=(r.r*299+r.g*587+r.b*114)/1e3;var o=Math.max(n.r,r.r)-Math.min(n.r,r.r)+Math.max(n.g,r.g)-Math.min(n.g,r.g)+Math.max(n.b,r.b)-Math.min(n.b,r.b);return{brightness:Math.abs(i-s),color:o}};f.readable=function(e,t){var n=f.readability(e,t);return n.brightness>125&&n.color>500};f.mostReadable=function(e,t){var n=null;var r=0;var i=false;for(var s=0;s<t.length;s++){var o=f.readability(e,t[s]);var u=o.brightness>125&&o.color>500;var a=3*(o.brightness/125)+o.color/500;if(u&&!i||u&&i&&a>r||!u&&!i&&a>r){i=u;r=a;n=f(t[s])}}return n};var y=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var b=f.hexNames=w(y);var M=function(){var e="[-\\+]?\\d+%?";var t="[-\\+]?\\d*\\.\\d+%?";var n="(?:"+t+")|(?:"+e+")";var r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";var i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();e.tinycolor=f})();t(function(){if(t.fn.spectrum.load){t.fn.spectrum.processNativeColorInputs()}})})(window,jQuery);
6
 
7
  /*! Sortable 1.4.2 - MIT | git://github.com/rubaxa/Sortable.git */
8
- !function(a){"use strict";"function"==typeof define&&define.amd?define(a):"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=a():"undefined"!=typeof Package?Sortable=a():window.Sortable=a()}(function(){"use strict";function F(a,b){if(!a||!a.nodeType||1!==a.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(a);this.el=a,this.options=b=X({},b),a[t]=this;var c={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(a.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",ignore:"a, img",filter:null,animation:0,setData:function(a,b){a.setData("Text",b.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1};for(var d in c)!(d in b)&&(b[d]=c[d]);E(b);for(var e in this)"_"===e.charAt(0)&&(this[e]=this[e].bind(this));this.nativeDraggable=!b.forceFallback&&x,J(a,"mousedown",this._onTapStart),J(a,"touchstart",this._onTapStart),this.nativeDraggable&&(J(a,"dragover",this),J(a,"dragenter",this)),C.push(this._onDragOver),b.store&&this.sort(b.store.get(this))}function G(b){d&&d.state!==b&&(M(d,"display",b?"none":""),!b&&d.state&&e.insertBefore(d,a),d.state=b)}function H(a,b,c){if(a){c=c||v;do if(">*"===b&&a.parentNode===c||V(a,b))return a;while(a!==c&&(a=a.parentNode))}return null}function I(a){a.dataTransfer&&(a.dataTransfer.dropEffect="move"),a.preventDefault()}function J(a,b,c){a.addEventListener(b,c,!1)}function K(a,b,c){a.removeEventListener(b,c,!1)}function L(a,b,c){if(a)if(a.classList)a.classList[c?"add":"remove"](b);else{var d=(" "+a.className+" ").replace(s," ").replace(" "+b+" "," ");a.className=(d+(c?" "+b:"")).replace(s," ")}}function M(a,b,c){var d=a&&a.style;if(d){if(void 0===c)return v.defaultView&&v.defaultView.getComputedStyle?c=v.defaultView.getComputedStyle(a,""):a.currentStyle&&(c=a.currentStyle),void 0===b?c:c[b];b in d||(b="-webkit-"+b),d[b]=c+("string"==typeof c?"":"px")}}function N(a,b,c){if(a){var d=a.getElementsByTagName(b),e=0,f=d.length;if(c)for(;e<f;e++)c(d[e],e);return d}return[]}function O(a,b,c,e,f,g,h){var i=v.createEvent("Event"),j=(a||b[t]).options,k="on"+c.charAt(0).toUpperCase()+c.substr(1);i.initEvent(c,!0,!0),i.to=b,i.from=f||b,i.item=e||b,i.clone=d,i.oldIndex=g,i.newIndex=h,b.dispatchEvent(i),j[k]&&j[k].call(a,i)}function P(a,b,c,d,e,f){var g,j,h=a[t],i=h.options.onMove;return g=v.createEvent("Event"),g.initEvent("move",!0,!0),g.to=b,g.from=a,g.dragged=c,g.draggedRect=d,g.related=e||b,g.relatedRect=f||b.getBoundingClientRect(),a.dispatchEvent(g),i&&(j=i.call(h,g)),j}function Q(a){a.draggable=!1}function R(){z=!1}function S(a,b){var c=a.lastElementChild,d=c.getBoundingClientRect();return(b.clientY-(d.top+d.height)>5||b.clientX-(d.right+d.width)>5)&&c}function T(a){for(var b=a.tagName+a.className+a.src+a.href+a.textContent,c=b.length,d=0;c--;)d+=b.charCodeAt(c);return d.toString(36)}function U(a,b){var c=0;if(!a||!a.parentNode)return-1;for(;a&&(a=a.previousElementSibling);)"TEMPLATE"!==a.nodeName.toUpperCase()&&V(a,b)&&c++;return c}function V(a,b){if(a){b=b.split(".");var c=b.shift().toUpperCase(),d=new RegExp("\\s("+b.join("|")+")(?=\\s)","g");return!(""!==c&&a.nodeName.toUpperCase()!=c||b.length&&((" "+a.className+" ").match(d)||[]).length!=b.length)}return!1}function W(a,b){var c,d;return function(){void 0===c&&(c=arguments,d=this,setTimeout(function(){1===c.length?a.call(d,c[0]):a.apply(d,c),c=void 0},b))}}function X(a,b){if(a&&b)for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}if("undefined"==typeof window||"undefined"==typeof window.document)return function(){throw new Error("Sortable.js requires a window with a document")};var a,b,c,d,e,f,g,h,i,j,k,l,m,n,p,q,r,o={},s=/\s+/g,t="Sortable"+(new Date).getTime(),u=window,v=u.document,w=u.parseInt,x=!!("draggable"in v.createElement("div")),y=function(a){return a=v.createElement("x"),a.style.cssText="pointer-events:auto","auto"===a.style.pointerEvents}(),z=!1,A=Math.abs,C=([].slice,[]),D=W(function(a,b,c){if(c&&b.scroll){var d,e,n,p,f=b.scrollSensitivity,i=b.scrollSpeed,j=a.clientX,k=a.clientY,l=window.innerWidth,m=window.innerHeight;if(h!==c&&(g=b.scroll,h=c,g===!0)){g=c;do if(g.offsetWidth<g.scrollWidth||g.offsetHeight<g.scrollHeight)break;while(g=g.parentNode)}g&&(d=g,e=void 0==g.parentNode?g.document.body.getBoundingClientRect():g.getBoundingClientRect(),n=(A(e.right-j)<=f)-(A(e.left-j)<=f),p=(A(e.bottom-k)<=f)-(A(e.top-k)<=f)),n||p||(n=(l-j<=f)-(j<=f),p=(m-k<=f)-(k<=f),(n||p)&&(d=u)),o.vx===n&&o.vy===p&&o.el===d||(o.el=d,o.vx=n,o.vy=p,clearInterval(o.pid),d&&(o.pid=setInterval(function(){d===u?u.scrollTo(u.pageXOffset+n*i,u.pageYOffset+p*i):(p&&(d.scrollTop+=p*i),n&&(d.scrollLeft+=n*i))},24)))}},30),E=function(a){var b=a.group;b&&"object"==typeof b||(b=a.group={name:b}),["pull","put"].forEach(function(a){a in b||(b[a]=!0)}),a.groups=" "+b.name+(b.put.join?" "+b.put.join(" "):"")+" "};return F.prototype={constructor:F,_onTapStart:function(a){var b=this,c=this.el,d=this.options,e=a.type,f=a.touches&&a.touches[0],g=(f||a).target,h=g,i=d.filter;if(!("mousedown"===e&&0!==a.button||d.disabled)&&(g=H(g,d.draggable,c))){if(l=U(g,d.draggable),"function"==typeof i){if(i.call(this,a,g,this))return O(b,h,"filter",g,c,l),void a.preventDefault()}else if(i&&(i=i.split(",").some(function(a){if(a=H(h,a.trim(),c))return O(b,a,"filter",g,c,l),!0})))return void a.preventDefault();d.handle&&!H(h,d.handle,c)||this._prepareDragStart(a,f,g)}},_prepareDragStart:function(c,d,g){var l,h=this,i=h.el,j=h.options,k=i.ownerDocument;g&&!a&&g.parentNode===i&&(p=c,e=i,a=g,b=a.parentNode,f=a.nextSibling,n=j.group,a.style["will-change"]="transform",l=function(){h._disableDelayedDrag(),a.draggable=!0,L(a,h.options.chosenClass,!0),h._triggerDragStart(d)},j.ignore.split(",").forEach(function(b){N(a,b.trim(),Q)}),J(k,"mouseup",h._onDrop),J(k,"touchend",h._onDrop),J(k,"touchcancel",h._onDrop),j.delay?(J(k,"mouseup",h._disableDelayedDrag),J(k,"touchend",h._disableDelayedDrag),J(k,"touchcancel",h._disableDelayedDrag),J(k,"mousemove",h._disableDelayedDrag),J(k,"touchmove",h._disableDelayedDrag),h._dragStartTimer=setTimeout(l,j.delay)):l())},_disableDelayedDrag:function(){var a=this.el.ownerDocument;clearTimeout(this._dragStartTimer),K(a,"mouseup",this._disableDelayedDrag),K(a,"touchend",this._disableDelayedDrag),K(a,"touchcancel",this._disableDelayedDrag),K(a,"mousemove",this._disableDelayedDrag),K(a,"touchmove",this._disableDelayedDrag)},_triggerDragStart:function(b){b?(p={target:a,clientX:b.clientX,clientY:b.clientY},this._onDragStart(p,"touch")):this.nativeDraggable?(J(a,"dragend",this),J(e,"dragstart",this._onDragStart)):this._onDragStart(p,!0);try{v.selection?setTimeout(function(){v.selection.empty()}):window.getSelection().removeAllRanges()}catch(a){}},_dragStarted:function(){e&&a&&(L(a,this.options.ghostClass,!0),F.active=this,O(this,e,"start",a,e,l))},_emulateDragOver:function(){if(q){if(this._lastX===q.clientX&&this._lastY===q.clientY)return;this._lastX=q.clientX,this._lastY=q.clientY,y||M(c,"display","none");var a=v.elementFromPoint(q.clientX,q.clientY),b=a,d=" "+this.options.group.name,e=C.length;if(b)do{if(b[t]&&b[t].options.groups.indexOf(d)>-1){for(;e--;)C[e]({clientX:q.clientX,clientY:q.clientY,target:a,rootEl:b});break}a=b}while(b=b.parentNode);y||M(c,"display","")}},_onTouchMove:function(a){if(p){F.active||this._dragStarted(),this._appendGhost();var b=a.touches?a.touches[0]:a,d=b.clientX-p.clientX,e=b.clientY-p.clientY,f=a.touches?"translate3d("+d+"px,"+e+"px,0)":"translate("+d+"px,"+e+"px)";r=!0,q=b,M(c,"webkitTransform",f),M(c,"mozTransform",f),M(c,"msTransform",f),M(c,"transform",f),a.preventDefault()}},_appendGhost:function(){if(!c){var g,b=a.getBoundingClientRect(),d=M(a),f=this.options;c=a.cloneNode(!0),L(c,f.ghostClass,!1),L(c,f.fallbackClass,!0),M(c,"top",b.top-w(d.marginTop,10)),M(c,"left",b.left-w(d.marginLeft,10)),M(c,"width",b.width),M(c,"height",b.height),M(c,"opacity","0.8"),M(c,"position","fixed"),M(c,"zIndex","100000"),M(c,"pointerEvents","none"),f.fallbackOnBody&&v.body.appendChild(c)||e.appendChild(c),g=c.getBoundingClientRect(),M(c,"width",2*b.width-g.width),M(c,"height",2*b.height-g.height)}},_onDragStart:function(b,c){var f=b.dataTransfer,g=this.options;this._offUpEvents(),"clone"==n.pull&&(d=a.cloneNode(!0),M(d,"display","none"),e.insertBefore(d,a)),c?("touch"===c?(J(v,"touchmove",this._onTouchMove),J(v,"touchend",this._onDrop),J(v,"touchcancel",this._onDrop)):(J(v,"mousemove",this._onTouchMove),J(v,"mouseup",this._onDrop)),this._loopId=setInterval(this._emulateDragOver,50)):(f&&(f.effectAllowed="move",g.setData&&g.setData.call(this,f,a)),J(v,"drop",this),setTimeout(this._dragStarted,0))},_onDragOver:function(g){var l,m,o,h=this.el,p=this.options,q=p.group,s=q.put,u=n===q,v=p.sort;if(void 0!==g.preventDefault&&(g.preventDefault(),!p.dragoverBubble&&g.stopPropagation()),r=!0,n&&!p.disabled&&(u?v||(o=!e.contains(a)):n.pull&&s&&(n.name===q.name||s.indexOf&&~s.indexOf(n.name)))&&(void 0===g.rootEl||g.rootEl===this.el)){if(D(g,p,this.el),z)return;if(l=H(g.target,p.draggable,h),m=a.getBoundingClientRect(),o)return G(!0),void(d||f?e.insertBefore(a,d||f):v||e.appendChild(a));if(0===h.children.length||h.children[0]===c||h===g.target&&(l=S(h,g))){if(l){if(l.animated)return;w=l.getBoundingClientRect()}G(u),P(e,h,a,m,l,w)!==!1&&(a.contains(h)||(h.appendChild(a),b=h),this._animate(m,a),l&&this._animate(w,l))}else if(l&&!l.animated&&l!==a&&void 0!==l.parentNode[t]){i!==l&&(i=l,j=M(l),k=M(l.parentNode));var J,w=l.getBoundingClientRect(),x=w.right-w.left,y=w.bottom-w.top,A=/left|right|inline/.test(j.cssFloat+j.display)||"flex"==k.display&&0===k["flex-direction"].indexOf("row"),B=l.offsetWidth>a.offsetWidth,C=l.offsetHeight>a.offsetHeight,E=(A?(g.clientX-w.left)/x:(g.clientY-w.top)/y)>.5,F=l.nextElementSibling,I=P(e,h,a,m,l,w);if(I!==!1){if(z=!0,setTimeout(R,30),G(u),1===I||I===-1)J=1===I;else if(A){var K=a.offsetTop,L=l.offsetTop;J=K===L?l.previousElementSibling===a&&!B||E&&B:l.previousElementSibling===a||a.previousElementSibling===l?(g.clientY-w.top)/y>.5:L>K}else J=F!==a&&!C||E&&C;a.contains(h)||(J&&!F?h.appendChild(a):l.parentNode.insertBefore(a,J?F:l)),b=a.parentNode,this._animate(m,a),this._animate(w,l)}}}},_animate:function(a,b){var c=this.options.animation;if(c){var d=b.getBoundingClientRect();M(b,"transition","none"),M(b,"transform","translate3d("+(a.left-d.left)+"px,"+(a.top-d.top)+"px,0)"),b.offsetWidth,M(b,"transition","all "+c+"ms"),M(b,"transform","translate3d(0,0,0)"),clearTimeout(b.animated),b.animated=setTimeout(function(){M(b,"transition",""),M(b,"transform",""),b.animated=!1},c)}},_offUpEvents:function(){var a=this.el.ownerDocument;K(v,"touchmove",this._onTouchMove),K(a,"mouseup",this._onDrop),K(a,"touchend",this._onDrop),K(a,"touchcancel",this._onDrop)},_onDrop:function(g){var h=this.el,i=this.options;clearInterval(this._loopId),clearInterval(o.pid),clearTimeout(this._dragStartTimer),K(v,"mousemove",this._onTouchMove),this.nativeDraggable&&(K(v,"drop",this),K(h,"dragstart",this._onDragStart)),this._offUpEvents(),g&&(r&&(g.preventDefault(),!i.dropBubble&&g.stopPropagation()),c&&c.parentNode.removeChild(c),a&&(this.nativeDraggable&&K(a,"dragend",this),Q(a),a.style["will-change"]="",L(a,this.options.ghostClass,!1),L(a,this.options.chosenClass,!1),e!==b?(m=U(a,i.draggable),m>=0&&(O(null,b,"sort",a,e,l,m),O(this,e,"sort",a,e,l,m),O(null,b,"add",a,e,l,m),O(this,e,"remove",a,e,l,m))):(d&&d.parentNode.removeChild(d),a.nextSibling!==f&&(m=U(a,i.draggable),m>=0&&(O(this,e,"update",a,e,l,m),O(this,e,"sort",a,e,l,m)))),F.active&&(null!=m&&m!==-1||(m=l),O(this,e,"end",a,e,l,m),this.save()))),this._nulling()},_nulling:function(){F.active===this&&(e=a=b=c=f=d=g=h=p=q=r=m=i=j=n=F.active=null)},handleEvent:function(b){var c=b.type;"dragover"===c||"dragenter"===c?a&&(this._onDragOver(b),I(b)):"drop"!==c&&"dragend"!==c||this._onDrop(b)},toArray:function(){for(var b,a=[],c=this.el.children,d=0,e=c.length,f=this.options;d<e;d++)b=c[d],H(b,f.draggable,this.el)&&a.push(b.getAttribute(f.dataIdAttr)||T(b));return a},sort:function(a){var b={},c=this.el;this.toArray().forEach(function(a,d){var e=c.children[d];H(e,this.options.draggable,c)&&(b[a]=e)},this),a.forEach(function(a){b[a]&&(c.removeChild(b[a]),c.appendChild(b[a]))})},save:function(){var a=this.options.store;a&&a.set(this)},closest:function(a,b){return H(a,b||this.options.draggable,this.el)},option:function(a,b){var c=this.options;return void 0===b?c[a]:(c[a]=b,void("group"===a&&E(c)))},destroy:function(){var a=this.el;a[t]=null,K(a,"mousedown",this._onTapStart),K(a,"touchstart",this._onTapStart),this.nativeDraggable&&(K(a,"dragover",this),K(a,"dragenter",this)),Array.prototype.forEach.call(a.querySelectorAll("[draggable]"),function(a){a.removeAttribute("draggable")}),C.splice(C.indexOf(this._onDragOver),1),this._onDrop(),this.el=a=null}},F.utils={on:J,off:K,css:M,find:N,is:function(a,b){return!!H(a,b,a)},extend:X,throttle:W,closest:H,toggleClass:L,index:U},F.create=function(a,b){return new F(a,b)},F.version="1.4.2",F});
9
  /**
10
  * If update sortable library test:
11
  * – bug when inner content disappear in sortable while dragging
@@ -25,6 +25,12 @@
25
 
26
  var observerClass = function(element, callback, config) {
27
 
 
 
 
 
 
 
28
  if( ! element || typeof callback != 'function' || ( typeof config != 'object' && config ) ) {
29
 
30
  console.error('mq_mutation_obs:: invalid arguments in class constructor');
5
  (function(e,t,n){function l(e,t,n){var r=[];for(var i=0;i<e.length;i++){var s=e[i];if(s){var u=tinycolor(s);var a=u.toHsl().l<.5?"sp-thumb-el sp-thumb-dark":"sp-thumb-el sp-thumb-light";a+=tinycolor.equals(t,s)?" sp-thumb-active":"";var f=o?"background-color:"+u.toRgbString():"filter:"+u.toFilter();r.push('<span title="'+u.toRgbString()+'" data-color="'+u.toRgbString()+'" class="'+a+'"><span class="sp-thumb-inner" style="'+f+';" /></span>')}else{var l="sp-clear-display";r.push('<span title="No Color Selected" data-color="" style="background-color:transparent;" class="'+l+'"></span>')}}return"<div class='sp-cf "+n+"'>"+r.join("")+"</div>"}function c(){for(var e=0;e<i.length;e++){if(i[e]){i[e].hide()}}}function h(e,n){var i=t.extend({},r,e);i.callbacks={move:g(i.move,n),change:g(i.change,n),show:g(i.show,n),hide:g(i.hide,n),beforeShow:g(i.beforeShow,n)};return i}function p(r,p){function St(){if(v.showPaletteOnly){v.showPalette=true}if(v.palette){F=v.palette.slice(0);I=t.isArray(F[0])?F:[F]}K.toggleClass("sp-flat",g);K.toggleClass("sp-input-disabled",!v.showInput);K.toggleClass("sp-alpha-enabled",v.showAlpha);K.toggleClass("sp-clear-enabled",Et);K.toggleClass("sp-buttons-disabled",!v.showButtons);K.toggleClass("sp-palette-disabled",!v.showPalette);K.toggleClass("sp-palette-only",v.showPaletteOnly);K.toggleClass("sp-initial-disabled",!v.showInitial);K.addClass(v.className);Ut()}function xt(){function o(e){if(e.data&&e.data.ignore){Ht(t(this).data("color"));Ft()}else{Ht(t(this).data("color"));Rt(true);Ft();Dt()}return false}if(s){K.find("*:not(input)").attr("unselectable","on")}St();if(ct){V.after(ht).hide()}if(!Et){ut.hide()}if(g){V.after(K).hide()}else{var n=v.appendTo==="parent"?V.parent():t(v.appendTo);if(n.length!==1){n=t("body")}n.append(K)}if(E&&e.localStorage){try{var r=e.localStorage[E].split(",#");if(r.length>1){delete e.localStorage[E];t.each(r,function(e,t){Tt(t)})}}catch(i){}try{q=e.localStorage[E].split(";")}catch(i){}}pt.bind("click.spectrum touchstart.spectrum",function(e){if(!J){Mt()}e.stopPropagation();if(!t(e.target).is("input")){e.preventDefault()}});if(V.is(":disabled")||v.disabled===true){Vt()}K.click(m);rt.change(Ot);rt.bind("paste",function(){setTimeout(Ot,1)});rt.keydown(function(e){if(e.keyCode==13){Ot()}});ot.text(v.cancelText);ot.bind("click.spectrum",function(e){e.stopPropagation();e.preventDefault();Dt("cancel")});ut.attr("title",v.clearText);ut.bind("click.spectrum",function(e){e.stopPropagation();e.preventDefault();wt=true;Ft();if(g){Rt(true)}});at.text(v.chooseText);at.bind("click.spectrum",function(e){e.stopPropagation();e.preventDefault();if(jt()){Rt(true);Dt()}});y(tt,function(e,t,n){j=e/M;wt=false;if(n.shiftKey){j=Math.round(j*10)/10}Ft()},Lt,At);y(Y,function(e,t){P=parseFloat(t/A);wt=false;if(!v.showAlpha){j=1}Ft()},Lt,At);y(Q,function(e,t,n){if(!n.shiftKey){z=null}else if(!z){var r=H*C;var i=k-B*k;var s=Math.abs(e-r)>Math.abs(t-i);z=s?"x":"y"}var o=!z||z==="x";var u=!z||z==="y";if(o){H=parseFloat(e/C)}if(u){B=parseFloat((k-t)/k)}wt=false;if(!v.showAlpha){j=1}Ft()},Lt,At);if(!!vt){Ht(vt);It();yt=gt||tinycolor(vt).format;Tt(vt)}else{It()}if(g){_t()}var u=s?"mousedown.spectrum":"click.spectrum touchstart.spectrum";it.delegate(".sp-thumb-el",u,o);st.delegate(".sp-thumb-el:nth-child(1)",u,{ignore:true},o)}function Tt(n){if(w){var r=tinycolor(n).toRgbString();if(t.inArray(r,q)===-1){q.push(r);while(q.length>R){q.shift()}}if(E&&e.localStorage){try{e.localStorage[E]=q.join(";")}catch(i){}}}}function Nt(){var e=[];var t=q;var n={};var r;if(v.showPalette){for(var i=0;i<I.length;i++){for(var s=0;s<I[i].length;s++){r=tinycolor(I[i][s]).toRgbString();n[r]=true}}for(i=0;i<t.length;i++){r=tinycolor(t[i]).toRgbString();if(!n.hasOwnProperty(r)){e.push(t[i]);n[r]=true}}}return e.reverse().slice(0,v.maxSelectionSize)}function Ct(){var e=Bt();var n=t.map(I,function(t,n){return l(t,e,"sp-palette-row sp-palette-row-"+n)});if(q){n.push(l(Nt(),e,"sp-palette-row sp-palette-row-selection"))}it.html(n.join(""))}function kt(){if(v.showInitial){var e=mt;var t=Bt();st.html(l([e,t],t,"sp-palette-row-initial"))}}function Lt(){if(k<=0||C<=0||A<=0){Ut()}K.addClass(U);z=null;V.trigger("dragstart.spectrum",[Bt()])}function At(){K.removeClass(U);V.trigger("dragstop.spectrum",[Bt()])}function Ot(){var e=rt.val();if((e===null||e==="")&&Et){Ht(null);Rt(true)}else{var t=tinycolor(e);if(t.ok){Ht(t);Rt(true)}else{rt.addClass("sp-validation-error")}}}function Mt(){if(N){Dt()}else{_t()}}function _t(){var n=t.Event("beforeShow.spectrum");if(N){Ut();return}V.trigger(n,[Bt()]);if(x.beforeShow(Bt())===false||n.isDefaultPrevented()){return}c();N=true;t(W).bind("click.spectrum",Dt);t(e).bind("resize.spectrum",T);ht.addClass("sp-active");K.removeClass("sp-hidden");Ut();It();mt=Bt();kt();x.show(mt);V.trigger("show.spectrum",[mt])}function Dt(n){if(n&&n.type=="click"&&n.button==2){return}if(!N||g){return}N=false;t(W).unbind("click.spectrum",Dt);t(e).unbind("resize.spectrum",T);ht.removeClass("sp-active");K.addClass("sp-hidden");var r=!tinycolor.equals(Bt(),mt);if(r){if(bt&&n!=="cancel"){Rt(true)}else{Pt()}}x.hide(Bt());V.trigger("hide.spectrum",[Bt()])}function Pt(){Ht(mt,true);x.change(mt);V.trigger("change",[mt])}function Ht(e,t){if(tinycolor.equals(e,Bt())){It();return}var n,r;if(!e&&Et){wt=true}else{wt=false;n=tinycolor(e);r=n.toHsv();P=r.h%360/360;H=r.s;B=r.v;j=r.a}It();if(n&&n.ok&&!t){yt=gt||n.format}}function Bt(e){e=e||{};if(Et&&wt){return null}return tinycolor.fromRatio({h:P,s:H,v:B,a:Math.round(j*100)/100},{format:e.format||yt})}function jt(){return!rt.hasClass("sp-validation-error")}function Ft(){It();x.move(Bt());V.trigger("move.spectrum",[Bt()])}function It(){rt.removeClass("sp-validation-error");qt();var e=tinycolor.fromRatio({h:P,s:1,v:1});Q.css("background-color",e.toHexString());var t=yt;if(j<1&&!(j===0&&t==="name")){if(t==="hex"||t==="hex3"||t==="hex6"||t==="name"){t="rgb"}}var n=Bt({format:t}),r="";dt.removeClass("sp-clear-display");dt.css("background-color","transparent");if(!n&&Et){dt.addClass("sp-clear-display")}else{var i=n.toHexString(),u=n.toRgbString();if(o||n.alpha===1){dt.css("background-color",u)}else{dt.css("background-color","transparent");dt.css("filter",n.toFilter())}if(v.showAlpha){var a=n.toRgb();a.a=0;var f=tinycolor(a).toRgbString();var l="linear-gradient(left, "+f+", "+i+")";if(s){et.css("filter",tinycolor(f).toFilter({gradientType:1},i))}else{et.css("background","-webkit-"+l);et.css("background","-moz-"+l);et.css("background","-ms-"+l);et.css("background",l)}}r=n.toString(t)}if(v.showInput){rt.val(r)}if(v.showPalette){Ct()}kt()}function qt(){var e=H;var t=B;if(Et&&wt){nt.hide();Z.hide();G.hide()}else{nt.show();Z.show();G.show();var n=e*C;var r=k-t*k;n=Math.max(-L,Math.min(C-L,n-L));r=Math.max(-L,Math.min(k-L,r-L));G.css({top:r+"px",left:n+"px"});var i=j*M;nt.css({left:i-_/2+"px"});var s=P*A;Z.css({top:s-D+"px"})}}function Rt(e){var t=Bt(),n="",r=!tinycolor.equals(t,mt);if(t){n=t.toString(yt);Tt(t)}if(ft){V.val(n)}mt=t;if(e&&r){x.change(t);V.trigger("change",[t])}}function Ut(){C=Q.width();k=Q.height();L=G.height();O=Y.width();A=Y.height();D=Z.height();M=tt.width();_=nt.width();if(!g){K.css("position","absolute");K.offset(d(K,pt))}qt();if(v.showPalette){Ct()}V.trigger("reflow.spectrum")}function zt(){V.show();pt.unbind("click.spectrum touchstart.spectrum");K.remove();ht.remove();i[$t.id]=null}function Wt(e,r){if(e===n){return t.extend({},v)}if(r===n){return v[e]}v[e]=r;St()}function Xt(){J=false;V.attr("disabled",false);pt.removeClass("sp-disabled")}function Vt(){Dt();J=true;V.attr("disabled",true);pt.addClass("sp-disabled")}var v=h(p,r),g=v.flat,w=v.showSelectionPalette,E=v.localStorageKey,S=v.theme,x=v.callbacks,T=b(Ut,10),N=false,C=0,k=0,L=0,A=0,O=0,M=0,_=0,D=0,P=0,H=0,B=0,j=1,F=[],I=[],q=v.selectionPalette.slice(0),R=v.maxSelectionSize,U="sp-dragging",z=null;var W=r.ownerDocument,X=W.body,V=t(r),J=false,K=t(f,W).addClass(S),Q=K.find(".sp-color"),G=K.find(".sp-dragger"),Y=K.find(".sp-hue"),Z=K.find(".sp-slider"),et=K.find(".sp-alpha-inner"),tt=K.find(".sp-alpha"),nt=K.find(".sp-alpha-handle"),rt=K.find(".sp-input"),it=K.find(".sp-palette"),st=K.find(".sp-initial"),ot=K.find(".sp-cancel"),ut=K.find(".sp-clear"),at=K.find(".sp-choose"),ft=V.is("input"),lt=ft&&u&&V.attr("type")==="color",ct=ft&&!g,ht=ct?t(a).addClass(S).addClass(v.className):t([]),pt=ct?ht:V,dt=ht.find(".sp-preview-inner"),vt=v.color||ft&&V.val(),mt=false,gt=v.preferredFormat,yt=gt,bt=!v.showButtons||v.clickoutFiresChange,wt=!vt,Et=v.allowEmpty&&!lt;xt();var $t={show:_t,hide:Dt,toggle:Mt,reflow:Ut,option:Wt,enable:Xt,disable:Vt,set:function(e){Ht(e);Rt()},get:Bt,destroy:zt,container:K};$t.id=i.push($t)-1;return $t}function d(e,n){var r=0;var i=e.outerWidth();var s=e.outerHeight();var o=n.outerHeight();var u=e[0].ownerDocument;var a=u.documentElement;var f=a.clientWidth+t(u).scrollLeft();var l=a.clientHeight+t(u).scrollTop();var c=n.offset();c.top+=o;c.left-=Math.min(c.left,c.left+i>f&&f>i?Math.abs(c.left+i-f):0);c.top-=Math.min(c.top,c.top+s>l&&l>s?Math.abs(s+o-r):r);return c}function v(){}function m(e){e.stopPropagation()}function g(e,t){var n=Array.prototype.slice;var r=n.call(arguments,2);return function(){return e.apply(t,r.concat(n.call(arguments)))}}function y(n,r,i,o){function d(e){if(e.stopPropagation){e.stopPropagation()}if(e.preventDefault){e.preventDefault()}e.returnValue=false}function v(e){if(a){if(s&&document.documentMode<9&&!e.button){return g()}var t=e.originalEvent.touches;var i=t?t[0].pageX:e.pageX;var o=t?t[0].pageY:e.pageY;var u=Math.max(0,Math.min(i-f.left,c));var p=Math.max(0,Math.min(o-f.top,l));if(h){d(e)}r.apply(n,[u,p,e])}}function m(e){var r=e.which?e.which==3:e.button==2;var s=e.originalEvent.touches;if(!r&&!a){if(i.apply(n,arguments)!==false){a=true;l=t(n).height();c=t(n).width();f=t(n).offset();t(u).bind(p);t(u.body).addClass("sp-dragging");if(!h){v(e)}d(e)}}}function g(){if(a){t(u).unbind(p);t(u.body).removeClass("sp-dragging");o.apply(n,arguments)}a=false}r=r||function(){};i=i||function(){};o=o||function(){};var u=n.ownerDocument||document;var a=false;var f={};var l=0;var c=0;var h="ontouchstart"in e;var p={};p["selectstart"]=d;p["dragstart"]=d;p["touchmove mousemove"]=v;p["touchend mouseup"]=g;t(n).bind("touchstart mousedown",m)}function b(e,t,n){var r;return function(){var i=this,s=arguments;var o=function(){r=null;e.apply(i,s)};if(n)clearTimeout(r);if(n||!r)r=setTimeout(o,t)}}function w(){if(e.console){if(Function.prototype.bind)w=Function.prototype.bind.call(console.log,console);else w=function(){Function.prototype.apply.call(console.log,console,arguments)};w.apply(this,arguments)}}var r={beforeShow:v,move:v,change:v,show:v,hide:v,color:false,flat:false,showInput:false,allowEmpty:false,showButtons:true,clickoutFiresChange:false,showInitial:false,showPalette:false,showPaletteOnly:false,showSelectionPalette:true,localStorageKey:false,appendTo:"body",maxSelectionSize:7,cancelText:"cancel",chooseText:"choose",clearText:"Clear Color Selection",preferredFormat:false,className:"",showAlpha:false,theme:"sp-light",palette:["fff","000"],selectionPalette:[],disabled:false},i=[],s=!!/msie/i.exec(e.navigator.userAgent),o=function(){function e(e,t){return!!~(""+e).indexOf(t)}var t=document.createElement("div");var n=t.style;n.cssText="background-color:rgba(0,0,0,.5)";return e(n.backgroundColor,"rgba")||e(n.backgroundColor,"hsla")}(),u=function(){var e=t("<input type='color' value='!' />")[0];return e.type==="color"&&e.value!=="!"}(),a=["<div class='sp-replacer'>","<div class='sp-preview'><div class='sp-preview-inner'></div></div>","<div class='sp-dd'>&#9660;</div>","</div>"].join(""),f=function(){var e="";if(s){for(var t=1;t<=6;t++){e+="<div class='sp-"+t+"'></div>"}}return["<div class='sp-container sp-hidden'>","<div class='sp-palette-container'>","<div class='sp-palette sp-thumb sp-cf'></div>","</div>","<div class='sp-picker-container'>","<div class='sp-top sp-cf'>","<div class='sp-fill'></div>","<div class='sp-top-inner'>","<div class='sp-color'>","<div class='sp-sat'>","<div class='sp-val'>","<div class='sp-dragger'></div>","</div>","</div>","</div>","<div class='sp-clear sp-clear-display'>","</div>","<div class='sp-hue'>","<div class='sp-slider'></div>",e,"</div>","</div>","<div class='sp-alpha'><div class='sp-alpha-inner'><div class='sp-alpha-handle'></div></div></div>","</div>","<div class='sp-input-container sp-cf'>","<input class='sp-input' type='text' spellcheck='false' />","</div>","<div class='sp-initial sp-thumb sp-cf'></div>","<div class='sp-button-container sp-cf'>","<span class='dslca-sp-revert dslc-icon dslc-icon-undo' title='Revert to default'></span>","<span class='sp-cancel dslc-icon dslc-icon-remove' title='Cancel'></span>","<span class='sp-choose dslc-icon dslc-icon-ok' title='Confirm'></span>","</div>","</div>","</div>"].join("")}();var E="spectrum.id";t.fn.spectrum=function(e,n){if(typeof e=="string"){var r=this;var s=Array.prototype.slice.call(arguments,1);this.each(function(){var n=i[t(this).data(E)];if(n){var o=n[e];if(!o){throw new Error("Spectrum: no such method: '"+e+"'")}if(e=="get"){r=n.get()}else if(e=="container"){r=n.container}else if(e=="option"){r=n.option.apply(n,s)}else if(e=="destroy"){n.destroy();t(this).removeData(E)}else{o.apply(n,s)}}});return r}return this.spectrum("destroy").each(function(){var n=t.extend({},e,t(this).data());var r=p(this,n);t(this).data(E,r.id)})};t.fn.spectrum.load=true;t.fn.spectrum.loadOpts={};t.fn.spectrum.draggable=y;t.fn.spectrum.defaults=r;t.spectrum={};t.spectrum.localization={};t.spectrum.palettes={};t.fn.spectrum.processNativeColorInputs=function(){if(!u){t("input[type=color]").spectrum({preferredFormat:"hex6"})}};(function(){function f(e,t){e=e?e:"";t=t||{};if(typeof e=="object"&&e.hasOwnProperty("_tc_id")){return e}var n=l(e);var i=n.r,o=n.g,u=n.b,a=n.a,c=s(100*a)/100,p=t.format||n.format;if(i<1){i=s(i)}if(o<1){o=s(o)}if(u<1){u=s(u)}return{ok:n.ok,format:p,_tc_id:r++,alpha:a,getAlpha:function(){return a},setAlpha:function(e){a=E(e);c=s(100*a)/100},toHsv:function(){var e=d(i,o,u);return{h:e.h*360,s:e.s,v:e.v,a:a}},toHsvString:function(){var e=d(i,o,u);var t=s(e.h*360),n=s(e.s*100),r=s(e.v*100);return a==1?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+c+")"},toHsl:function(){var e=h(i,o,u);return{h:e.h*360,s:e.s,l:e.l,a:a}},toHslString:function(){var e=h(i,o,u);var t=s(e.h*360),n=s(e.s*100),r=s(e.l*100);return a==1?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+c+")"},toHex:function(e){return m(i,o,u,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(){return g(i,o,u,a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:s(i),g:s(o),b:s(u),a:a}},toRgbString:function(){return a==1?"rgb("+s(i)+", "+s(o)+", "+s(u)+")":"rgba("+s(i)+", "+s(o)+", "+s(u)+", "+c+")"},toPercentageRgb:function(){return{r:s(S(i,255)*100)+"%",g:s(S(o,255)*100)+"%",b:s(S(u,255)*100)+"%",a:a}},toPercentageRgbString:function(){return a==1?"rgb("+s(S(i,255)*100)+"%, "+s(S(o,255)*100)+"%, "+s(S(u,255)*100)+"%)":"rgba("+s(S(i,255)*100)+"%, "+s(S(o,255)*100)+"%, "+s(S(u,255)*100)+"%, "+c+")"},toName:function(){if(a===0){return"transparent"}return b[m(i,o,u,true)]||false},toFilter:function(e){var n="#"+g(i,o,u,a);var r=n;var s=t&&t.gradientType?"GradientType = 1, ":"";if(e){var l=f(e);r=l.toHex8String()}return"progid:DXImageTransform.Microsoft.gradient("+s+"startColorstr="+n+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this.format;var n=false;var r=!t&&a<1&&a>0;var i=r&&(e==="hex"||e==="hex6"||e==="hex3"||e==="name");if(e==="rgb"){n=this.toRgbString()}if(e==="prgb"){n=this.toPercentageRgbString()}if(e==="hex"||e==="hex6"){n=this.toHexString()}if(e==="hex3"){n=this.toHexString(true)}if(e==="hex8"){n=this.toHex8String()}if(e==="name"){n=this.toName()}if(e==="hsl"){n=this.toHslString()}if(e==="hsv"){n=this.toHsvString()}if(i){return this.toRgbString()}return n||this.toHexString()}}}function l(e){var t={r:0,g:0,b:0};var n=1;var r=false;var i=false;if(typeof e=="string"){e=_(e)}if(typeof e=="object"){if(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b")){t=c(e.r,e.g,e.b);r=true;i=String(e.r).substr(-1)==="%"?"prgb":"rgb"}else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("v")){e.s=L(e.s);e.v=L(e.v);t=v(e.h,e.s,e.v);r=true;i="hsv"}else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("l")){e.s=L(e.s);e.l=L(e.l);t=p(e.h,e.s,e.l);r=true;i="hsl"}if(e.hasOwnProperty("a")){n=e.a}}n=E(n);return{ok:r,format:e.format||i,r:o(255,u(t.r,0)),g:o(255,u(t.g,0)),b:o(255,u(t.b,0)),a:n}}function c(e,t,n){return{r:S(e,255)*255,g:S(t,255)*255,b:S(n,255)*255}}function h(e,t,n){e=S(e,255);t=S(t,255);n=S(n,255);var r=u(e,t,n),i=o(e,t,n);var s,a,f=(r+i)/2;if(r==i){s=a=0}else{var l=r-i;a=f>.5?l/(2-r-i):l/(r+i);switch(r){case e:s=(t-n)/l+(t<n?6:0);break;case t:s=(n-e)/l+2;break;case n:s=(e-t)/l+4;break}s/=6}return{h:s,s:a,l:f}}function p(e,t,n){function o(e,t,n){if(n<0)n+=1;if(n>1)n-=1;if(n<1/6)return e+(t-e)*6*n;if(n<1/2)return t;if(n<2/3)return e+(t-e)*(2/3-n)*6;return e}var r,i,s;e=S(e,360);t=S(t,100);n=S(n,100);if(t===0){r=i=s=n}else{var u=n<.5?n*(1+t):n+t-n*t;var a=2*n-u;r=o(a,u,e+1/3);i=o(a,u,e);s=o(a,u,e-1/3)}return{r:r*255,g:i*255,b:s*255}}function d(e,t,n){e=S(e,255);t=S(t,255);n=S(n,255);var r=u(e,t,n),i=o(e,t,n);var s,a,f=r;var l=r-i;a=r===0?0:l/r;if(r==i){s=0}else{switch(r){case e:s=(t-n)/l+(t<n?6:0);break;case t:s=(n-e)/l+2;break;case n:s=(e-t)/l+4;break}s/=6}return{h:s,s:a,v:f}}function v(e,t,n){e=S(e,360)*6;t=S(t,100);n=S(n,100);var r=i.floor(e),s=e-r,o=n*(1-t),u=n*(1-s*t),a=n*(1-(1-s)*t),f=r%6,l=[n,u,o,o,a,n][f],c=[a,n,n,u,o,o][f],h=[o,o,a,n,n,u][f];return{r:l*255,g:c*255,b:h*255}}function m(e,t,n,r){var i=[k(s(e).toString(16)),k(s(t).toString(16)),k(s(n).toString(16))];if(r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)){return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)}return i.join("")}function g(e,t,n,r){var i=[k(A(r)),k(s(e).toString(16)),k(s(t).toString(16)),k(s(n).toString(16))];return i.join("")}function w(e){var t={};for(var n in e){if(e.hasOwnProperty(n)){t[e[n]]=n}}return t}function E(e){e=parseFloat(e);if(isNaN(e)||e<0||e>1){e=1}return e}function S(e,t){if(N(e)){e="100%"}var n=C(e);e=o(t,u(0,parseFloat(e)));if(n){e=parseInt(e*t,10)/100}if(i.abs(e-t)<1e-6){return 1}return e%t/parseFloat(t)}function x(e){return o(1,u(0,e))}function T(e){return parseInt(e,16)}function N(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function C(e){return typeof e==="string"&&e.indexOf("%")!=-1}function k(e){return e.length==1?"0"+e:""+e}function L(e){if(e<=1){e=e*100+"%"}return e}function A(e){return Math.round(parseFloat(e)*255).toString(16)}function O(e){return T(e)/255}function _(e){e=e.replace(t,"").replace(n,"").toLowerCase();var r=false;if(y[e]){e=y[e];r=true}else if(e=="transparent"){return{r:0,g:0,b:0,a:0,format:"name"}}var i;if(i=M.rgb.exec(e)){return{r:i[1],g:i[2],b:i[3]}}if(i=M.rgba.exec(e)){return{r:i[1],g:i[2],b:i[3],a:i[4]}}if(i=M.hsl.exec(e)){return{h:i[1],s:i[2],l:i[3]}}if(i=M.hsla.exec(e)){return{h:i[1],s:i[2],l:i[3],a:i[4]}}if(i=M.hsv.exec(e)){return{h:i[1],s:i[2],v:i[3]}}if(i=M.hex8.exec(e)){return{a:O(i[1]),r:T(i[2]),g:T(i[3]),b:T(i[4]),format:r?"name":"hex8"}}if(i=M.hex6.exec(e)){return{r:T(i[1]),g:T(i[2]),b:T(i[3]),format:r?"name":"hex"}}if(i=M.hex3.exec(e)){return{r:T(i[1]+""+i[1]),g:T(i[2]+""+i[2]),b:T(i[3]+""+i[3]),format:r?"name":"hex"}}return false}var t=/^[\s,#]+/,n=/\s+$/,r=0,i=Math,s=i.round,o=i.min,u=i.max,a=i.random;f.fromRatio=function(e,t){if(typeof e=="object"){var n={};for(var r in e){if(e.hasOwnProperty(r)){if(r==="a"){n[r]=e[r]}else{n[r]=L(e[r])}}}e=n}return f(e,t)};f.equals=function(e,t){if(!e||!t){return false}return f(e).toRgbString()==f(t).toRgbString()};f.random=function(){return f.fromRatio({r:a(),g:a(),b:a()})};f.desaturate=function(e,t){t=t===0?0:t||10;var n=f(e).toHsl();n.s-=t/100;n.s=x(n.s);return f(n)};f.saturate=function(e,t){t=t===0?0:t||10;var n=f(e).toHsl();n.s+=t/100;n.s=x(n.s);return f(n)};f.greyscale=function(e){return f.desaturate(e,100)};f.lighten=function(e,t){t=t===0?0:t||10;var n=f(e).toHsl();n.l+=t/100;n.l=x(n.l);return f(n)};f.darken=function(e,t){t=t===0?0:t||10;var n=f(e).toHsl();n.l-=t/100;n.l=x(n.l);return f(n)};f.complement=function(e){var t=f(e).toHsl();t.h=(t.h+180)%360;return f(t)};f.triad=function(e){var t=f(e).toHsl();var n=t.h;return[f(e),f({h:(n+120)%360,s:t.s,l:t.l}),f({h:(n+240)%360,s:t.s,l:t.l})]};f.tetrad=function(e){var t=f(e).toHsl();var n=t.h;return[f(e),f({h:(n+90)%360,s:t.s,l:t.l}),f({h:(n+180)%360,s:t.s,l:t.l}),f({h:(n+270)%360,s:t.s,l:t.l})]};f.splitcomplement=function(e){var t=f(e).toHsl();var n=t.h;return[f(e),f({h:(n+72)%360,s:t.s,l:t.l}),f({h:(n+216)%360,s:t.s,l:t.l})]};f.analogous=function(e,t,n){t=t||6;n=n||30;var r=f(e).toHsl();var i=360/n;var s=[f(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;){r.h=(r.h+i)%360;s.push(f(r))}return s};f.monochromatic=function(e,t){t=t||6;var n=f(e).toHsv();var r=n.h,i=n.s,s=n.v;var o=[];var u=1/t;while(t--){o.push(f({h:r,s:i,v:s}));s=(s+u)%1}return o};f.readability=function(e,t){var n=f(e).toRgb();var r=f(t).toRgb();var i=(n.r*299+n.g*587+n.b*114)/1e3;var s=(r.r*299+r.g*587+r.b*114)/1e3;var o=Math.max(n.r,r.r)-Math.min(n.r,r.r)+Math.max(n.g,r.g)-Math.min(n.g,r.g)+Math.max(n.b,r.b)-Math.min(n.b,r.b);return{brightness:Math.abs(i-s),color:o}};f.readable=function(e,t){var n=f.readability(e,t);return n.brightness>125&&n.color>500};f.mostReadable=function(e,t){var n=null;var r=0;var i=false;for(var s=0;s<t.length;s++){var o=f.readability(e,t[s]);var u=o.brightness>125&&o.color>500;var a=3*(o.brightness/125)+o.color/500;if(u&&!i||u&&i&&a>r||!u&&!i&&a>r){i=u;r=a;n=f(t[s])}}return n};var y=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var b=f.hexNames=w(y);var M=function(){var e="[-\\+]?\\d+%?";var t="[-\\+]?\\d*\\.\\d+%?";var n="(?:"+t+")|(?:"+e+")";var r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";var i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();e.tinycolor=f})();t(function(){if(t.fn.spectrum.load){t.fn.spectrum.processNativeColorInputs()}})})(window,jQuery);
6
 
7
  /*! Sortable 1.4.2 - MIT | git://github.com/rubaxa/Sortable.git */
8
+ !function(a){"use strict";"function"==typeof define&&define.amd?define(a):"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=a():"undefined"!=typeof Package?Sortable=a():window.Sortable=a()}(function(){"use strict";function F(a,b){if(!a||!a.nodeType||1!==a.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(a);this.el=a,this.options=b=X({},b),a[t]=this;var c={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(a.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",ignore:"a, img",filter:null,animation:0,setData:function(a,b){a.setData("Text",b.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1};for(var d in c)!(d in b)&&(b[d]=c[d]);E(b);for(var e in this)"_"===e.charAt(0)&&(this[e]=this[e].bind(this));this.nativeDraggable=!b.forceFallback&&x,J(a,"mousedown",this._onTapStart),J(a,"touchstart",this._onTapStart),this.nativeDraggable&&(J(a,"dragover",this),J(a,"dragenter",this)),C.push(this._onDragOver),b.store&&this.sort(b.store.get(this))}function G(b){d&&d.state!==b&&(M(d,"display",b?"none":""),!b&&d.state&&e.insertBefore(d,a),d.state=b)}function H(a,b,c){if(a){c=c||v;do if(">*"===b&&a.parentNode===c||V(a,b))return a;while(a!==c&&(a=a.parentNode))}return null}function I(a){a.dataTransfer&&(a.dataTransfer.dropEffect="move"),a.preventDefault()}function J(a,b,c){a.addEventListener(b,c,!1)}function K(a,b,c){a.removeEventListener(b,c,!1)}function L(a,b,c){if(a)if(a.classList)a.classList[c?"add":"remove"](b);else{var d=(" "+a.className+" ").replace(s," ").replace(" "+b+" "," ");a.className=(d+(c?" "+b:"")).replace(s," ")}}function M(a,b,c){var d=a&&a.style;if(d){if(void 0===c)return v.defaultView&&v.defaultView.getComputedStyle?c=v.defaultView.getComputedStyle(a,""):a.currentStyle&&(c=a.currentStyle),void 0===b?c:c[b];b in d||(b="-webkit-"+b),d[b]=c+("string"==typeof c?"":"px")}}function N(a,b,c){if(a){var d=a.getElementsByTagName(b),e=0,f=d.length;if(c)for(;e<f;e++)c(d[e],e);return d}return[]}function O(a,b,c,e,f,g,h){var i=v.createEvent("Event"),j=(a||b[t]).options,k="on"+c.charAt(0).toUpperCase()+c.substr(1);i.initEvent(c,!0,!0),i.to=b,i.from=f||b,i.item=e||b,i.clone=d,i.oldIndex=g,i.newIndex=h,b.dispatchEvent(i),j[k]&&j[k].call(a,i)}function P(a,b,c,d,e,f){var g,j,h=a[t],i=h.options.onMove;return g=v.createEvent("Event"),g.initEvent("move",!0,!0),g.to=b,g.from=a,g.dragged=c,g.draggedRect=d,g.related=e||b,g.relatedRect=f||b.getBoundingClientRect(),a.dispatchEvent(g),i&&(j=i.call(h,g)),j}function Q(a){a.draggable=!1}function R(){z=!1}function S(a,b){var c=a.lastElementChild,d=c.getBoundingClientRect();return(b.clientY-(d.top+d.height)>5||b.clientX-(d.right+d.width)>5)&&c}function T(a){for(var b=a.tagName+a.className+a.src+a.href+a.textContent,c=b.length,d=0;c--;)d+=b.charCodeAt(c);return d.toString(36)}function U(a,b){var c=0;if(!a||!a.parentNode)return-1;for(;a&&(a=a.previousElementSibling);)"TEMPLATE"!==a.nodeName.toUpperCase()&&V(a,b)&&c++;return c}function V(a,b){if(a){b=b.split(".");var c=b.shift().toUpperCase(),d=new RegExp("\\s("+b.join("|")+")(?=\\s)","g");return!(""!==c&&a.nodeName.toUpperCase()!=c||b.length&&((" "+a.className+" ").match(d)||[]).length!=b.length)}return!1}function W(a,b){var c,d;return function(){void 0===c&&(c=arguments,d=this,setTimeout(function(){1===c.length?a.call(d,c[0]):a.apply(d,c),c=void 0},b))}}function X(a,b){if(a&&b)for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}if("undefined"==typeof window||"undefined"==typeof window.document)return function(){throw new Error("Sortable.js requires a window with a document")};var a,b,c,d,e,f,g,h,i,j,k,l,m,n,p,q,r,o={},s=/\s+/g,t="Sortable"+(new Date).getTime(),u=window,v=u.document,w=u.parseInt,x=!!("draggable"in v.createElement("div")),y=function(a){return a=v.createElement("x"),a.style.cssText="pointer-events:auto","auto"===a.style.pointerEvents}(),z=!1,A=Math.abs,C=([].slice,[]),D=W(function(a,b,c){if(c&&b.scroll){var d,e,n,p,f=b.scrollSensitivity,i=b.scrollSpeed,j=a.clientX,k=a.clientY,l=window.innerWidth,m=window.innerHeight;if(h!==c&&(g=b.scroll,h=c,g===!0)){g=c;do if(g.offsetWidth<g.scrollWidth||g.offsetHeight<g.scrollHeight)break;while(g=g.parentNode)}g&&(d=g,e=void 0==g.parentNode?g.document.body.getBoundingClientRect():g.getBoundingClientRect(),n=(A(e.right-j)<=f)-(A(e.left-j)<=f),p=(A(e.bottom-k)<=f)-(A(e.top-k)<=f)),n||p||(n=(l-j<=f)-(j<=f),p=(m-k<=f)-(k<=f),(n||p)&&(d=u)),o.vx===n&&o.vy===p&&o.el===d||(o.el=d,o.vx=n,o.vy=p,clearInterval(o.pid),d&&(o.pid=setInterval(function(){d===u?u.scrollTo(u.pageXOffset+n*i,u.pageYOffset+p*i):(p&&(d.scrollTop+=p*i),n&&(d.scrollLeft+=n*i))},24)))}},30),E=function(a){var b=a.group;b&&"object"==typeof b||(b=a.group={name:b}),["pull","put"].forEach(function(a){a in b||(b[a]=!0)}),a.groups=" "+b.name+(b.put.join?" "+b.put.join(" "):"")+" "};return F.prototype={constructor:F,_onTapStart:function(a){var b=this,c=this.el,d=this.options,e=a.type,f=a.touches&&a.touches[0],g=(f||a).target,h=g,i=d.filter;if(!("mousedown"===e&&0!==a.button||d.disabled)&&(g=H(g,d.draggable,c))){if(l=U(g,d.draggable),"function"==typeof i){if(i.call(this,a,g,this))return O(b,h,"filter",g,c,l),void a.preventDefault()}else if(i&&(i=i.split(",").some(function(a){if(a=H(h,a.trim(),c))return O(b,a,"filter",g,c,l),!0})))return void a.preventDefault();d.handle&&!H(h,d.handle,c)||this._prepareDragStart(a,f,g)}},_prepareDragStart:function(c,d,g){var l,h=this,i=h.el,j=h.options,k=i.ownerDocument;g&&!a&&g.parentNode===i&&(p=c,e=i,a=g,b=a.parentNode,f=a.nextSibling,n=j.group,a.style["will-change"]="transform",l=function(){h._disableDelayedDrag(),a.draggable=!0,L(a,h.options.chosenClass,!0),h._triggerDragStart(d)},j.ignore.split(",").forEach(function(b){N(a,b.trim(),Q)}),J(k,"mouseup",h._onDrop),J(k,"touchend",h._onDrop),J(k,"touchcancel",h._onDrop),j.delay?(J(k,"mouseup",h._disableDelayedDrag),J(k,"touchend",h._disableDelayedDrag),J(k,"touchcancel",h._disableDelayedDrag),J(k,"mousemove",h._disableDelayedDrag),J(k,"touchmove",h._disableDelayedDrag),h._dragStartTimer=setTimeout(l,j.delay)):l())},_disableDelayedDrag:function(){var a=this.el.ownerDocument;clearTimeout(this._dragStartTimer),K(a,"mouseup",this._disableDelayedDrag),K(a,"touchend",this._disableDelayedDrag),K(a,"touchcancel",this._disableDelayedDrag),K(a,"mousemove",this._disableDelayedDrag),K(a,"touchmove",this._disableDelayedDrag)},_triggerDragStart:function(b){b?(p={target:a,clientX:b.clientX,clientY:b.clientY},this._onDragStart(p,"touch")):this.nativeDraggable?(J(a,"dragend",this),J(e,"dragstart",this._onDragStart)):this._onDragStart(p,!0);try{v.selection?setTimeout(function(){v.selection.empty()}):window.getSelection().removeAllRanges()}catch(a){}},_dragStarted:function(){e&&a&&(L(a,this.options.ghostClass,!0),F.active=this,O(this,e,"start",a,e,l))},_emulateDragOver:function(){if(q){if(this._lastX===q.clientX&&this._lastY===q.clientY)return;this._lastX=q.clientX,this._lastY=q.clientY,y||M(c,"display","none");var a=v.elementFromPoint(q.clientX,q.clientY),b=a,d=" "+this.options.group.name,e=C.length;if(b)do{if(b[t]&&b[t].options.groups.indexOf(d)>-1){for(;e--;)C[e]({clientX:q.clientX,clientY:q.clientY,target:a,rootEl:b});break}a=b}while(b=b.parentNode);y||M(c,"display","")}},_onTouchMove:function(a){if(p){F.active||this._dragStarted(),this._appendGhost();var b=a.touches?a.touches[0]:a,d=b.clientX-p.clientX,e=b.clientY-p.clientY,f=a.touches?"translate3d("+d+"px,"+e+"px,0)":"translate("+d+"px,"+e+"px)";r=!0,q=b,M(c,"webkitTransform",f),M(c,"mozTransform",f),M(c,"msTransform",f),M(c,"transform",f),a.preventDefault()}},_appendGhost:function(){if(!c){var g,b=a.getBoundingClientRect(),d=M(a),f=this.options;c=a.cloneNode(!0),L(c,f.ghostClass,!1),L(c,f.fallbackClass,!0),M(c,"top",b.top-w(d.marginTop,10)),M(c,"left",b.left-w(d.marginLeft,10)),M(c,"width",b.width),M(c,"height",b.height),M(c,"opacity","0.8"),M(c,"position","fixed"),M(c,"zIndex","100000"),M(c,"pointerEvents","none"),f.fallbackOnBody&&v.body.appendChild(c)||e.appendChild(c),g=c.getBoundingClientRect(),M(c,"width",2*b.width-g.width),M(c,"height",2*b.height-g.height)}},_onDragStart:function(b,c){var f=b.dataTransfer,g=this.options;this._offUpEvents(),"clone"==n.pull&&(d=a.cloneNode(!0),M(d,"display","none"),e.insertBefore(d,a)),c?("touch"===c?(J(v,"touchmove",this._onTouchMove),J(v,"touchend",this._onDrop),J(v,"touchcancel",this._onDrop)):(J(v,"mousemove",this._onTouchMove),J(v,"mouseup",this._onDrop)),this._loopId=setInterval(this._emulateDragOver,50)):(f&&(f.effectAllowed="move",g.setData&&g.setData.call(this,f,a)),J(v,"drop",this),setTimeout(this._dragStarted,0))},_onDragOver:function(g){var l,m,o,h=this.el,p=this.options,q=p.group,s=q.put,u=n===q,v=p.sort;if(void 0!==g.preventDefault&&(g.preventDefault(),!p.dragoverBubble&&g.stopPropagation()),r=!0,n&&!p.disabled&&(u?v||(o=!e.contains(a)):n.pull&&s&&(n.name===q.name||s.indexOf&&~s.indexOf(n.name)))&&(void 0===g.rootEl||g.rootEl===this.el)){if(D(g,p,this.el),z)return;if(l=H(g.target,p.draggable,h),m=a.getBoundingClientRect(),o)return G(!0),void(d||f?e.insertBefore(a,d||f):v||e.appendChild(a));if(0===h.children.length||h.children[0]===c||h===g.target&&(l=S(h,g))){if(l){if(l.animated)return;w=l.getBoundingClientRect()}G(u),P(e,h,a,m,l,w)!==!1&&(a.contains(h)||(h.appendChild(a),b=h),this._animate(m,a),l&&this._animate(w,l))}else if(l&&!l.animated&&l!==a&&void 0!==l.parentNode[t]){i!==l&&(i=l,j=M(l),k=M(l.parentNode));var J,w=l.getBoundingClientRect(),x=w.right-w.left,y=w.bottom-w.top,A=/left|right|inline/.test(j.cssFloat+j.display)||"flex"==k.display&&0===k["flex-direction"].indexOf("row"),B=l.offsetWidth>a.offsetWidth,C=l.offsetHeight>a.offsetHeight,E=(A?(g.clientX-w.left)/x:(g.clientY-w.top)/y)>.5,F=l.nextElementSibling,I=P(e,h,a,m,l,w);if(I!==!1){if(z=!0,setTimeout(R,30),G(u),1===I||I===-1)J=1===I;else if(A){var K=a.offsetTop,L=l.offsetTop;J=K===L?l.previousElementSibling===a&&!B||E&&B:l.previousElementSibling===a||a.previousElementSibling===l?(g.clientY-w.top)/y>.5:L>K}else J=F!==a&&!C||E&&C;a.contains(h)||(J&&!F?h.appendChild(a):l.parentNode.insertBefore(a,J?F:l)),b=a.parentNode,this._animate(m,a),this._animate(w,l)}}}},_animate:function(a,b){var c=this.options.animation;if(c){var d=b.getBoundingClientRect();M(b,"transition","none"),M(b,"transform","translate3d("+(a.left-d.left)+"px,"+(a.top-d.top)+"px,0)"),b.offsetWidth,M(b,"transition","all "+c+"ms"),M(b,"transform","translate3d(0,0,0)"),clearTimeout(b.animated),b.animated=setTimeout(function(){M(b,"transition",""),M(b,"transform",""),b.animated=!1},c)}},_offUpEvents:function(){var a=this.el.ownerDocument;K(v,"touchmove",this._onTouchMove),K(a,"mouseup",this._onDrop),K(a,"touchend",this._onDrop),K(a,"touchcancel",this._onDrop)},_onDrop:function(g){var h=this.el,i=this.options;clearInterval(this._loopId),clearInterval(o.pid),clearTimeout(this._dragStartTimer),K(v,"mousemove",this._onTouchMove),this.nativeDraggable&&(K(v,"drop",this),K(h,"dragstart",this._onDragStart)),this._offUpEvents(),g&&(r&&(g.preventDefault(),!i.dropBubble&&g.stopPropagation()),c&&c.parentNode.removeChild(c),a&&(this.nativeDraggable&&K(a,"dragend",this),Q(a),a.style["will-change"]="",L(a,this.options.ghostClass,!1),L(a,this.options.chosenClass,!1),e!==b?(m=U(a,i.draggable),m>=0&&(O(null,b,"sort",a,e,l,m),O(this,e,"sort",a,e,l,m),O(null,b,"add",a,e,l,m),O(this,e,"remove",a,e,l,m))):(d&&d.parentNode.removeChild(d),a.nextSibling!==f&&(m=U(a,i.draggable),m>=0&&(O(this,e,"update",a,e,l,m),O(this,e,"sort",a,e,l,m)))),F.active&&(null!=m&&m!==-1||(m=l),O(this,e,"end",a,e,l,m),this.save()))),this._nulling()},_nulling:function(){(F.active===this||!F.active)&&(e=a=b=c=f=d=g=h=p=q=r=m=i=j=n=F.active=null)},handleEvent:function(b){var c=b.type;"dragover"===c||"dragenter"===c?a&&(this._onDragOver(b),I(b)):"drop"!==c&&"dragend"!==c||this._onDrop(b)},toArray:function(){for(var b,a=[],c=this.el.children,d=0,e=c.length,f=this.options;d<e;d++)b=c[d],H(b,f.draggable,this.el)&&a.push(b.getAttribute(f.dataIdAttr)||T(b));return a},sort:function(a){var b={},c=this.el;this.toArray().forEach(function(a,d){var e=c.children[d];H(e,this.options.draggable,c)&&(b[a]=e)},this),a.forEach(function(a){b[a]&&(c.removeChild(b[a]),c.appendChild(b[a]))})},save:function(){var a=this.options.store;a&&a.set(this)},closest:function(a,b){return H(a,b||this.options.draggable,this.el)},option:function(a,b){var c=this.options;return void 0===b?c[a]:(c[a]=b,void("group"===a&&E(c)))},destroy:function(){var a=this.el;a[t]=null,K(a,"mousedown",this._onTapStart),K(a,"touchstart",this._onTapStart),this.nativeDraggable&&(K(a,"dragover",this),K(a,"dragenter",this)),Array.prototype.forEach.call(a.querySelectorAll("[draggable]"),function(a){a.removeAttribute("draggable")}),C.splice(C.indexOf(this._onDragOver),1),this._onDrop(),this.el=a=null}},F.utils={on:J,off:K,css:M,find:N,is:function(a,b){return!!H(a,b,a)},extend:X,throttle:W,closest:H,toggleClass:L,index:U},F.create=function(a,b){return new F(a,b)},F.version="1.4.2",F});
9
  /**
10
  * If update sortable library test:
11
  * – bug when inner content disappear in sortable while dragging
25
 
26
  var observerClass = function(element, callback, config) {
27
 
28
+ if ( ! window.MutationObserver ) {
29
+
30
+ console.error('mq_mutation_obs:: Browser does not support mutations! Please, install IE11+ or update your current browser to newest version.' );
31
+ return false;
32
+ }
33
+
34
  if( ! element || typeof callback != 'function' || ( typeof config != 'object' && config ) ) {
35
 
36
  console.error('mq_mutation_obs:: invalid arguments in class constructor');
js/builder/builder.row.functions.js CHANGED
@@ -596,7 +596,7 @@ function dslc_row_import( rowCode ) {
596
  // Call other functions
597
  LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video();
598
  LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();
599
- LiveComposer.Builder.PreviewAreaWindow.dslc_masonry( jQuery('#dslc-main', LiveComposer.Builder.PreviewAreaDocument).find('.dslc-modules-section:last-child') );
600
 
601
  // Check init for rows and module areas
602
  LiveComposer.Builder.rows_init();
596
  // Call other functions
597
  LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video();
598
  LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();
599
+ LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();
600
 
601
  // Check init for rows and module areas
602
  LiveComposer.Builder.rows_init();
js/builder/builder.scroller.functions.js CHANGED
@@ -108,7 +108,9 @@ jQuery(document).ready(function($){
108
  });
109
 
110
  /** Scroll bottom */
111
- jQuery(LiveComposer.Builder.PreviewAreaDocument).on('dragenter','.lc-scroll-bottom-area', function(e) {
 
 
112
 
113
  LiveComposer.Utils.publish('LC.sortableOff', {});
114
 
@@ -121,6 +123,8 @@ jQuery(document).ready(function($){
121
  /** Scroll top */
122
  jQuery(LiveComposer.Builder.PreviewAreaDocument).on('dragenter','.lc-scroll-top-area', function(e) {
123
 
 
 
124
  LiveComposer.Utils.publish('LC.sortableOff', {});
125
 
126
  LiveComposer.Builder.Flags.windowScroller = setInterval(function(){
@@ -146,4 +150,9 @@ jQuery(document).ready(function($){
146
  clearInterval(LiveComposer.Builder.Flags.windowScroller);
147
  LiveComposer.Builder.Flags.windowScroller = false;
148
  }
 
 
 
 
 
149
  });
108
  });
109
 
110
  /** Scroll bottom */
111
+ jQuery(LiveComposer.Builder.PreviewAreaDocument).on('dragenter dragover','.lc-scroll-bottom-area', function(e) {
112
+
113
+ if( LiveComposer.Builder.Flags.windowScroller !== false ) return false;
114
 
115
  LiveComposer.Utils.publish('LC.sortableOff', {});
116
 
123
  /** Scroll top */
124
  jQuery(LiveComposer.Builder.PreviewAreaDocument).on('dragenter','.lc-scroll-top-area', function(e) {
125
 
126
+ if( LiveComposer.Builder.Flags.windowScroller !== false ) return false;
127
+
128
  LiveComposer.Utils.publish('LC.sortableOff', {});
129
 
130
  LiveComposer.Builder.Flags.windowScroller = setInterval(function(){
150
  clearInterval(LiveComposer.Builder.Flags.windowScroller);
151
  LiveComposer.Builder.Flags.windowScroller = false;
152
  }
153
+
154
+ jQuery("#scroller-stopper").on('dragover', function(){
155
+
156
+ LiveComposer.Builder.UI.stopScroller();
157
+ });
158
  });
js/builder/builder.settings.panel.functions.js CHANGED
@@ -124,7 +124,7 @@ jQuery(document).ready(function($){
124
 
125
  dslc_module_options_confirm_changes(function(){
126
 
127
- LiveComposer.Builder.UI.initInlineEditors();
128
  LiveComposer.Builder.UI.unloadOptionsDeps();
129
  LiveComposer.Builder.Flags.panelOpened = false;
130
 
@@ -147,7 +147,7 @@ jQuery(document).ready(function($){
147
 
148
  dslc_module_options_cancel_changes(function(){
149
 
150
- LiveComposer.Builder.UI.initInlineEditors();
151
  LiveComposer.Builder.UI.unloadOptionsDeps();
152
  LiveComposer.Builder.Flags.panelOpened = false;
153
 
@@ -255,14 +255,21 @@ jQuery(document).ready(function($){
255
 
256
  LiveComposer.Builder.Helpers.colorpickers = [];
257
 
258
- LiveComposer.Builder.UI.initInlineEditors = function(){
 
 
 
 
 
 
 
259
 
260
  LiveComposer.Builder.PreviewAreaWindow.tinyMCE.init({
261
  selector: '.inline-editor.dslca-editable-content',
262
  editor_deselector: 'mce-content-body',
263
  menubar: false,
264
  inline: true,
265
- plugins: 'link',
266
  style_formats: [
267
  {title: 'Paragraph', format: 'p'},
268
  {title: 'Header 2', format: 'h2'},
@@ -290,6 +297,9 @@ jQuery(document).ready(function($){
290
 
291
  jQuery('.temp-styles-for-module', LiveComposer.Builder.PreviewAreaDocument).remove();
292
  jQuery('.sp-container').remove();
 
 
 
293
  }
294
 
295
  /** Options dependencies */
124
 
125
  dslc_module_options_confirm_changes(function(){
126
 
127
+ LiveComposer.Builder.UI.initInlineEditors({withRemove:true});
128
  LiveComposer.Builder.UI.unloadOptionsDeps();
129
  LiveComposer.Builder.Flags.panelOpened = false;
130
 
147
 
148
  dslc_module_options_cancel_changes(function(){
149
 
150
+ LiveComposer.Builder.UI.initInlineEditors({withRemove:true});
151
  LiveComposer.Builder.UI.unloadOptionsDeps();
152
  LiveComposer.Builder.Flags.panelOpened = false;
153
 
255
 
256
  LiveComposer.Builder.Helpers.colorpickers = [];
257
 
258
+ LiveComposer.Builder.UI.initInlineEditors = function(params){
259
+
260
+ params = params || {};
261
+
262
+ if ( params.withRemove == true ) {
263
+
264
+ LiveComposer.Builder.PreviewAreaWindow.tinyMCE.remove();
265
+ }
266
 
267
  LiveComposer.Builder.PreviewAreaWindow.tinyMCE.init({
268
  selector: '.inline-editor.dslca-editable-content',
269
  editor_deselector: 'mce-content-body',
270
  menubar: false,
271
  inline: true,
272
+ plugins: ['link lists paste'],
273
  style_formats: [
274
  {title: 'Paragraph', format: 'p'},
275
  {title: 'Header 2', format: 'h2'},
297
 
298
  jQuery('.temp-styles-for-module', LiveComposer.Builder.PreviewAreaDocument).remove();
299
  jQuery('.sp-container').remove();
300
+
301
+ // Hide inline editor panel if on [Confirm] or [Cancel] button click.
302
+ jQuery('.mce-tinymce', LiveComposer.Builder.PreviewAreaDocument).hide();
303
  }
304
 
305
  /** Options dependencies */
js/builder/builder.uigeneral.functions.js CHANGED
@@ -58,36 +58,37 @@ jQuery(document).ready(function($) {
58
  // Put JS error log data in a hidden textarea.
59
  dslca_update_report_log();
60
 
61
- // On iframe loaded
62
- jQuery("#page-builder-frame").on('load', function(){
63
 
64
- var self = this;
65
- LiveComposer.Builder.PreviewAreaWindow = this.contentWindow;
66
- LiveComposer.Builder.PreviewAreaDocument = jQuery(this).contents();
67
 
68
- // Disable WP admin bar in editing mode
69
- jQuery('#wpadminbar', LiveComposer.Builder.PreviewAreaDocument).remove();
70
 
71
- LiveComposer.Builder.UI.initInlineEditors();
72
- dslc_fix_contenteditable();
73
 
74
- var mainDraggable = LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main").eq(0)[0];
75
- new LiveComposer.Builder.Elements.CSectionsContainer( mainDraggable );
 
76
 
77
- jQuery(document).trigger('editorFrameLoaded');
 
78
 
79
- dslc_drag_and_drop();
80
- dslc_generate_code();
81
 
82
- // Catch keypress events (from both parent and iframe) to add keyboard support
83
- dslc_keypress_events();
84
- LiveComposer.Builder.UI.initPreviewAreaScroller();
85
- });
86
 
87
- jQuery('body').addClass('dslca-enabled dslca-drag-not-in-progress');
88
- jQuery('.dslca-invisible-overlay').hide();
89
- jQuery('.dslca-section').eq(0).show();
 
90
 
 
 
 
 
91
  });
92
 
93
  /**
@@ -541,7 +542,7 @@ function dslc_drag_and_drop() {
541
 
542
 
543
  setTimeout( function(){
544
- LiveComposer.Builder.PreviewAreaWindow.dslc_masonry( dslcJustAdded );
545
  jQuery('body').removeClass('dslca-module-drop-in-progress');
546
  }, 700 );
547
 
58
  // Put JS error log data in a hidden textarea.
59
  dslca_update_report_log();
60
 
 
 
61
 
62
+ jQuery('body').addClass('dslca-enabled dslca-drag-not-in-progress');
63
+ jQuery('.dslca-invisible-overlay').hide();
64
+ jQuery('.dslca-section').eq(0).show();
65
 
 
 
66
 
67
+ /** Wait till tinyMCE loaded */
68
+ window.previewAreaTinyMCELoaded = function(){
69
 
70
+ var self = this;
71
+ LiveComposer.Builder.PreviewAreaWindow = this;
72
+ LiveComposer.Builder.PreviewAreaDocument = jQuery(this.document);
73
 
74
+ // Disable WP admin bar in editing mode
75
+ jQuery('#wpadminbar', LiveComposer.Builder.PreviewAreaDocument).remove();
76
 
77
+ LiveComposer.Builder.UI.initInlineEditors();
78
+ dslc_fix_contenteditable();
79
 
80
+ var mainDraggable = LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main").eq(0)[0];
81
+ new LiveComposer.Builder.Elements.CSectionsContainer( mainDraggable );
 
 
82
 
83
+ jQuery(document).trigger('editorFrameLoaded');
84
+
85
+ dslc_drag_and_drop();
86
+ dslc_generate_code();
87
 
88
+ // Catch keypress events (from both parent and iframe) to add keyboard support
89
+ dslc_keypress_events();
90
+ LiveComposer.Builder.UI.initPreviewAreaScroller();
91
+ };
92
  });
93
 
94
  /**
542
 
543
 
544
  setTimeout( function(){
545
+ LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();
546
  jQuery('body').removeClass('dslca-module-drop-in-progress');
547
  }, 700 );
548
 
js/frontend.all.min.js CHANGED
@@ -1,3 +1,3 @@
1
- function dslc_responsive_classes(a){if(a===undefined)a=false;var b=jQuery(window).width();var c=jQuery("body");if(a==true||!c.hasClass("dslc-res-disabled")&&!jQuery('.dslca-module-edit-options-tab-hook.dslca-active[data-section="responsive"]').length){c.removeClass("dslc-res-phone dslc-res-tablet dslc-res-smaller-monitor dslc-res-big");if(b>=1024&&b<1280){c.addClass("dslc-res-smaller-monitor")}else if(b>=768&&b<1024){c.addClass("dslc-res-tablet")}else if(b<768){c.addClass("dslc-res-phone")}else{c.addClass("dslc-res-big")}}dslc_masonry()}function dslc_init_accordion(){jQuery(".dslc-accordion").each(function(){var a=jQuery(this),b=a.data("open")-1,c=jQuery(".dslc-accordion-item:eq("+b+")",a),d=c.siblings(".dslc-accordion-item"),e=jQuery(".dslc-accordion-item",a);if(b>=0){c.addClass("dslc-active");d.addClass("dslc-inactive");jQuery(".dslc-accordion-content",d).hide()}else{e.addClass("dslc-inactive");jQuery(".dslc-accordion-content",e).hide()}})}function dslc_init_lightbox(){var a;jQuery(".dslc-lightbox-image").each(function(){a="image";if(jQuery(this).attr("href").indexOf("youtube.com")>=0||jQuery(this).attr("href").indexOf("vimeo.com")>=0){a="iframe"}jQuery(this).magnificPopup({type:a})});jQuery(".dslc-lightbox-gallery").each(function(){jQuery(this).magnificPopup({delegate:"a",type:"image",gallery:{enabled:true}})})}function dslc_carousel(){jQuery(".dslc-carousel, .dslc-slider").each(function(){var a,b,c,d,e;a=jQuery(this);b=a.closest(".dslc-module-front");if(b.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")){var f=0}else{var f=b.width()/100*2.12766/2}if(a.hasClass("dslc-carousel")){a.find(".dslc-col").css({"margin-left":f,"margin-right":f});a.css({"margin-left":f*-1,width:a.width()+f*2})}c={items:4,pagination:true,singleItem:false,itemsScaleUp:false,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:false,stopOnHover:false,lazyLoad:false,lazyFollow:true,autoHeight:false,mouseDrag:true,touchDrag:true,addClassActive:true,transitionStyle:"fade",scrollPerPage:true};d={items:a.data("columns"),pagination:a.data("pagination"),itemsScaleUp:a.data("scale-up"),slideSpeed:a.data("slide-speed"),paginationSpeed:a.data("pagination-speed"),rewindSpeed:a.data("rewind-speed"),autoPlay:a.data("autoplay"),stopOnHover:a.data("stop-on-hover"),lazyLoad:a.data("lazy-load"),lazyFollow:a.data("lazy-follow"),autoHeight:a.data("flexible-height"),mouseDrag:a.data("mouse-drag"),touchDrag:a.data("touch-drag"),addClassActive:a.data("active-class"),transitionStyle:a.data("animation"),scrollPerPage:a.data("scroll-per-page")};e=jQuery.extend({},c,d);if(a.hasClass("dslc-slider")||e.items==1){e.singleItem=true}if(e.autoPlay==0){e.autoPlay=false}a.owlCarousel({items:e.items,pagination:e.pagination,singleItem:e.singleItem,itemsScaleUp:e.itemsScaleUp,slideSpeed:e.slideSpeed,paginationSpeed:e.paginationSpeed,rewindSpeed:e.rewindSpeed,autoPlay:e.autoPlay,stopOnHover:e.stopOnHover,lazyLoad:e.lazyLoad,lazyFollow:e.lazyFollow,mouseDrag:e.mouseDrag,touchDrag:e.touchDrag,scrollPerPage:e.scrollPerPage,transitionStyle:e.transitionStyle,autoHeight:e.autoHeight,itemsDesktop:false,itemsDesktopSmall:false,itemsTablet:false,itemsMobile:[766,1],afterInit:function(){a.prev(".dslc-loader").remove();a.css({opacity:1,maxHeight:"none"})},afterAction:function(){var b=this.owl.visibleItems;a.find(".dslc-carousel-item-visible").removeClass("dslc-carousel-item-visible");a.find(".owl-item").filter(function(a){return b.indexOf(a)>-1}).addClass("dslc-carousel-item-visible")}});jQuery(".dslc-carousel-nav-next",b).click(function(b){b.preventDefault();a.data("owlCarousel").next()});jQuery(".dslc-carousel-nav-prev",b).click(function(b){b.preventDefault();a.data("owlCarousel").prev()})})}function dslc_carousel_responsive(){jQuery(".dslc-carousel").each(function(){var a,b;a=jQuery(this);b=a.closest(".dslc-module-front");a.css({"margin-left":0,width:"auto"});if(b.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")){var c=0}else{var c=b.width()/100*2.12766/2}if(a.hasClass("dslc-carousel")){a.find(".dslc-col").css({"margin-left":c,"margin-right":c});a.css({"margin-left":c*-1,width:a.width()+c*2})}})}function dslc_bg_video(){jQuery(".dslc-bg-video").each(function(){if(!jQuery(this).find("video").length){jQuery(this).css({opacity:1})}});jQuery(".dslc-bg-video video").mediaelementplayer({loop:true,pauseOtherPlayers:false,success:function(a,b){a.addEventListener("loadeddata",function(a){jQuery(b).closest(".dslc-bg-video").animate({opacity:1},400)});a.play()}})}function dslc_parallax(){jQuery(".dslc-init-parallax").each(function(){var a=4,b=jQuery(this).css("background-position").split(" "),c=b[0],d=c+" "+-1*(window.pageYOffset-jQuery(this).offset().top)/a+"px";jQuery(this).css({backgroundPosition:d})});window.onscroll=function(){jQuery(".dslc-init-parallax").each(function(){var a=4,b=jQuery(this).css("background-position").split(" "),c=b[0],d=c+" "+-1*(window.pageYOffset-jQuery(this).offset().top)/a+"px";jQuery(this).css({backgroundPosition:d})})}}function dslc_masonry(a,b){a=typeof a!=="undefined"?a:jQuery("body");b=typeof b!=="undefined"?b:false;jQuery(".dslc-init-masonry",a).each(function(){var a,c,d,e,f,g;if(jQuery(this).find(".dslc-posts-inner").length){a=jQuery(this).find(".dslc-posts-inner")}else{a=jQuery(this)}c=".dslc-masonry-item";e=jQuery(c,a).width();f=jQuery(a).width();if(jQuery(this).closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")){g=0}else{g=f/100*2.05}if(a.data("masonry")){jQuery(a).imagesLoaded(function(){jQuery(a).masonry("destroy").masonry({gutter:g,itemSelector:c});jQuery(a).find(".dslc-post:not(.dslc-masonry-item)").hide();if(b){jQuery(c,a).css({scale:"0.2"}).animate({scale:"1"},500)}})}else{jQuery(c).css({marginRight:0});jQuery(a).imagesLoaded(function(){jQuery(a).masonry({gutter:g,itemSelector:c})})}})}function dslc_tabs_generate_code(a){var b=a.closest(".dslc-module-front");dslcTabsNav=jQuery(".dslc-tabs-nav",a);dslcTabsContent=jQuery(".dslc-tabs-content",a);dslcTabContent=jQuery(".dslc-tabs-tab-content",a);var c="";var d="";var e=0;var f=0;jQuery(".dslc-tabs-nav-hook",dslcTabsNav).each(function(){e++;if(e>1){c+=" (dslc_sep) "}c+=jQuery(this).find(".dslc-tabs-nav-hook-title").text()});dslcTabContent.each(function(){f++;if(f>1){d+=" (dslc_sep) "}d+=jQuery(this).find(".dslca-tab-plain-content").val()});d=d.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");jQuery('.dslca-module-option-front[data-id="tabs_nav"]',b).val(c);jQuery('.dslca-module-option-front[data-id="tabs_content"]',b).val(d);parent.dslc_option_changed()}function dslc_accordion_generate_code(a){var b=a.closest(".dslc-module-front"),c=0,d="",e="";jQuery(".dslc-accordion-item",a).each(function(){c++;if(c>1){d+=" (dslc_sep) ";e+=" (dslc_sep) "}d+=jQuery(this).find(".dslc-accordion-title").text();e+=jQuery(this).find(".dslc-accordion-content").find(".dslca-accordion-plain-content").val()});e=e.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");jQuery('.dslca-module-option-front[data-id="accordion_nav"]',b).val(d);jQuery('.dslca-module-option-front[data-id="accordion_content"]',b).val(e);parent.dslc_option_changed()}function dslc_tabs(){var a,b,c,d;jQuery(".dslc-tabs").each(function(){a=jQuery(this);b=jQuery(".dslc-tabs-nav",a);c=jQuery(".dslc-tabs-content",a);d=jQuery(".dslc-tabs-tab-content",a);d.eq(0).addClass("dslc-active");jQuery(".dslc-tabs-nav-hook",b).eq(0).addClass("dslc-active")})}function dslc_download_count_increment(a){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-download-count-increment",dslc_post_id:a},function(a){})}function dslc_check_viewport(){var a=false||!!document.documentMode;if(!a){jQuery(".dslc-in-viewport-check:in-viewport:not(.dslc-in-viewport)").each(function(){var a=jQuery(this);var b=a.data("dslc-anim");var c=parseInt(a.data("dslc-anim-duration"))/1e3;var d=c+"s";if(jQuery(window).width()<768){d="0s"}var e=parseInt(a.data("dslc-anim-delay"));var f=a.data("dslc-anim-easing");var g=b+" "+d+" "+f+" forwards";jQuery(this).addClass("dslc-in-viewport");if(e>0){setTimeout(function(){a.css({"-webkit-animation":g,"-moz-animation":g,animation:g})},e)}else{jQuery(this).css({"-webkit-animation":g,"-moz-animation":g,animation:g})}})}else{jQuery(".dslc-in-viewport-check").css("opacity",1)}}function dslc_el_anim_hover(){jQuery(".dslc-on-hover-anim-target").each(function(){var a=parseInt(jQuery(this).data("dslc-anim-speed"))/1e3;var b="all "+a+"s ease-out";jQuery(this).css({"-webkit-transition":b,"-moz-transition":b,transition:b})})}function dslc_check_progress_bar_viewport(){jQuery(".dslc-progress-bar-animated:in-viewport:not(.dslc-progress-bar-in-viewport)").each(function(){var a=jQuery(this),b=a.find(".dslc-progress-bar-loader-inner"),c=b.data("amount")+"%",d=b.data("speed");a.addClass("dslc-progress-bar-in-viewport");b.css({width:0,opacity:1}).animate({width:c},d)})}function dslc_validate_comment_form(a){var b=a.find("#author"),c=a.find("#email"),d=a.find("#url"),e=a.find("#comment"),f=true;if(b.length&&b.val().length==0){b.css({borderColor:"#e55f5f"});f=false}else{b.attr("style","")}if(c.length&&(c.val().length==0||c.val().indexOf("@")===-1)){c.css({borderColor:"#e55f5f"});f=false}else{c.attr("style","")}if(e.val().length==0){e.css({borderColor:"#e55f5f"});f=false}else{e.attr("style","")}return f}function dslc_social_share(a,b,c){var d,e,f,g;d=window.screen.width/2-(a/2+10);e=window.screen.height/2-(b/2+50);var h="status=no,height="+b+",width="+a+",resizable=yes,left="+d+",top="+e+",screenX="+d+",screenY="+e+",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no";f=location.href;g=document.title;window.open(c,"sharer",h);return false}jQuery(document).ready(function(a){dslc_el_anim_hover();dslc_bg_video();dslc_tabs();a(document).on("click",".dslc-pagination-load-more a",function(b){b.preventDefault();if(a(this).parent().hasClass("dslc-active")){var c=a(this),d=a(this).closest(".dslc-module-front"),e=d.find(".dslc-pagination"),f=d.find(".dslc-posts-inner"),g=d.attr("id"),h=c.attr("href"),i=d.find(".dslc-load-more-temp");c.find(".dslc-icon").addClass("dslc-icon-spin");i.load(h+" #"+g,function(){f.append('<div class="dslc-post-separator"></div>');f.append(i.find(".dslc-posts-inner").html());d.find(".dslc-pagination").html(i.find(".dslc-pagination").html());e.replaceWith(i.find(".dslc-pagination"));i.html("");f.imagesLoaded(function(){if(d.find(".dslc-init-masonry").length){d.find(".dslc-init-masonry .dslc-posts-inner").masonry("reloadItems").masonry()}})})}});a(".dslc-tp-comment-form form").submit(function(a){if(!dslc_validate_comment_form(jQuery(this))){a.preventDefault()}});jQuery(".dslc-mobile-navigation select").change(function(){window.location=a(this).val()});jQuery(document).on("click",".dslca-add-new-tab-hook",function(){var a=jQuery(this).closest(".dslc-tabs"),b=jQuery(".dslc-tabs-nav .dslc-tabs-nav-hook:last",a),c=jQuery(".dslc-tabs-content",a),d=jQuery(".dslc-tabs-tab-content:last",a);b.after('<span class="dslc-tabs-nav-hook"><span class="dslc-tabs-nav-hook-title" contenteditable="true">Click to edit title</span><span class="dslca-delete-tab-hook"><span class="dslca-icon dslc-icon-remove"></span></span></span>');d.after('<div class="dslc-tabs-tab-content"><div class="dslca-editable-content">This is just placeholder text.</div><textarea class="dslca-tab-plain-content">This is just placeholder text.</textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook">Open in WP Editor</span></div></div>');jQuery(".dslc-tabs-nav-hook:last",a).click();dslc_tabs_generate_code(a);if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});jQuery(document).on("click",".dslca-delete-tab-hook",function(a){var b=jQuery(this).closest(".dslc-tabs");var c=jQuery(this).closest(".dslc-tabs-nav-hook");var d=c.index();var e=jQuery(".dslc-tabs-tab-content",b).eq(d);if(jQuery(".dslc-tabs-nav-hook",b).length>1){c.remove();e.remove();if(!jQuery(".dslc-tabs-tab-content.dslc-active",b).length){jQuery(".dslc-tabs-nav-hook:first",b).trigger("click")}dslc_tabs_generate_code(b)}else{alert("You can not delete the last remaining tab")}a.stopPropagation()});jQuery(document).on("click",".dslc-tabs-nav-hook",function(a){if(!jQuery(this).hasClass("dslc-active")){dslcTabs=jQuery(this).closest(".dslc-tabs");dslcTabsNav=jQuery(".dslc-tabs-nav",dslcTabs);dslcTabsContent=jQuery(".dslc-tabs-content",dslcTabs);dslcTabContent=jQuery(".dslc-tabs-tab-content",dslcTabs);dslcTabIndex=jQuery(this).index();jQuery(".dslc-tabs-nav-hook.dslc-active",dslcTabs).removeClass("dslc-active");jQuery(this).addClass("dslc-active");if(jQuery(".dslc-tabs-tab-content.dslc-active",dslcTabs).length){jQuery(".dslc-tabs-tab-content.dslc-active",dslcTabs).animate({opacity:0},250,function(){jQuery(this).removeClass("dslc-active");dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass("dslc-active").show().animate({opacity:1},250)})}else{dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass("dslc-active").show().animate({opacity:1},250)}}});jQuery(document).on("blur paste",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",function(){dslc_tabs_generate_code(jQuery(this).closest(".dslc-tabs"))}).on("focus",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",function(){if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});a(document).on("click",".dslc-notification-close",function(b){a(this).closest(".dslc-notification").slideUp(200,function(){a(this).remove()})});a(document).on("click",".dslc-post-filter",function(){var b=a(this).data("id");var c=a(this).closest(".dslc-module-front").find(".dslc-post");var d=a(this).closest(".dslc-module-front").find('.dslc-post[data-cats*="'+b+'"]');var e=a(this).closest(".dslc-module-front").find('.dslc-post:not([data-cats*="'+b+'"])');var f=c.closest(".dslc-posts");var g=a(this).closest(".dslc-module-front");a(this).removeClass("dslc-inactive").addClass("dslc-active").siblings(".dslc-active").removeClass("dslc-active").addClass("dslc-inactive");if(f.hasClass("dslc-init-grid")){d.stop().animate({opacity:1},300);e.stop().animate({opacity:.3},300)}else{e.removeClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"hidden"});d.addClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"visible"}).show();dslc_masonry(g,true)}});a(document).on("click",".dslc-download-count-hook",function(b){dslc_download_count_increment(a(this).data("post-id"))});a(".dslc-notification-box-has-timeout").each(function(){var b=a(this);nTimeout="none",moduleID=b.closest(".dslc-module-front").data("module-id"),cookieID="nBox"+moduleID;if(b.data("notification-timeout")){if(Cookies.get(cookieID)==undefined){b.show()}}});a(document).on("click",".dslc-notification-box-close",function(){var b=a(this).closest(".dslc-notification-box"),c="none",d=b.closest(".dslc-module-front").data("module-id"),e="nBox"+d;if(b.data("notification-timeout")){c=b.data("notification-timeout")}if(c!=="none"){Cookies.set(e,"closed",{expires:c})}b.animate({opacity:0},400,function(){a(this).remove()})});dslc_init_lightbox();dslc_init_accordion();a(document).on("click",".dslc-accordion-hook",function(){var b=a(this).closest(".dslc-accordion-item"),c=b.siblings(".dslc-accordion-item");if(b.hasClass("dslc-active")){c=b}else{b.removeClass("dslc-inactive").addClass("dslc-active")}c.removeClass("dslc-active").addClass("dslc-inactive");a(".dslc-accordion-content",b).slideDown(300);a(".dslc-accordion-content",c).slideUp(300)});jQuery(document).on("click",".dslca-add-accordion-hook",function(){var a=jQuery(this).closest(".dslc-accordion"),b=jQuery(".dslc-accordion-item:last",a),c=b.clone().insertAfter(b);jQuery(".dslc-accordion-title",c).html("CLICK TO EDIT");jQuery(".dslc-accordion-content",c).html('<div class="dslca-editable-content">Placeholder content, click to edit. Lorem ipsum dolor sit amet, consectetur tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div><textarea class="dslca-accordion-plain-content"></textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook">Edit Content</span></div>');jQuery(".dslc-accordion-hook",c).click();dslc_accordion_generate_code(a);if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});jQuery(document).on("click",".dslca-delete-accordion-hook",function(a){var b=jQuery(this).closest(".dslc-accordion"),c=jQuery(this).closest(".dslc-accordion-item");if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}if(jQuery(".dslc-accordion-item",b).length>1){c.remove();if(!jQuery(".dslc-accordion-item.dslc-active",b).length){jQuery(".dslc-accordion-hook:first",b).trigger("click")}dslc_accordion_generate_code(b)}else{alert("You can not delete the last remaining accordion item.")}a.stopPropagation()});jQuery(document).on("click",".dslca-move-up-accordion-hook, .dslca-move-down-accordion-hook",function(a){var b=jQuery(this).closest(".dslc-accordion"),c=jQuery(this).closest(".dslc-accordion-item"),d=c.next(".dslc-accordion-item"),e=c.prev(".dslc-accordion-item");if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}if(jQuery(this).hasClass("dslca-move-down-accordion-hook")){c.insertAfter(d);dslc_accordion_generate_code(b)}else{c.insertBefore(e);dslc_accordion_generate_code(b)}a.stopPropagation()});jQuery(document).on("blur paste keyup",".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]",function(){dslc_accordion_generate_code(jQuery(this).closest(".dslc-accordion"))}).on("focus",".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]",function(){if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});a(document).on("click",".dslc-trigger-lightbox-gallery",function(a){a.preventDefault();if(jQuery(this).closest(".dslc-post").length){jQuery(this).closest(".dslc-post").find(".dslc-lightbox-gallery a:first-child").trigger("click")}else if(jQuery(this).closest(".dslc-col")){var b=jQuery(this).closest(".dslc-col").index();jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:eq("+b+")").trigger("click")}else{jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:first-child").trigger("click")}});a(".dslc-navigation li").mouseenter(function(){var b=a(this).children("ul");if(b.length){if(a(this).closest(".dslc-navigation").hasClass("dslc-navigation-sub-position-center")){var c=a(this).closest("li").width(),d=b.outerWidth(),e=parseInt(c)/2-parseInt(d)/2+"px";b.css({left:e})}b.css({display:"block"});var f=b.offset().left;var g=b.outerWidth();var h=a("body").width();if(h<f+g){b.addClass("dslc-navigation-invert-subnav")}a(this).children("ul").stop().animate({opacity:1},300)}}).mouseleave(function(){a(this).children("ul").stop().animate({opacity:0},300,function(){a(this).css({display:"none"}).children("ul").removeClass("dslc-navigation-invert-subnav")})});dslc_check_viewport();dslc_check_progress_bar_viewport();a(document).on("scroll",function(){dslc_check_viewport();dslc_check_progress_bar_viewport()})});jQuery(window).load(function(){dslc_responsive_classes();dslc_carousel();dslc_parallax();dslc_init_lightbox()});jQuery(window).resize(function(){dslc_responsive_classes();dslc_carousel_responsive()});"function"!=typeof Object.create&&(Object.create=function(a){function b(){}return b.prototype=a,new b}),function(a,b,c){var d={init:function(b,c){var d=this;d.$elem=a(c),d.options=a.extend({},a.fn.owlCarousel.options,d.$elem.data(),b),d.userOptions=b,d.loadContent()},loadContent:function(){function b(a){var b,c="";if("function"==typeof d.options.jsonSuccess)d.options.jsonSuccess.apply(this,[a]);else{for(b in a.owl)a.owl.hasOwnProperty(b)&&(c+=a.owl[b].item);d.$elem.html(c)}d.logIn()}var c,d=this;"function"==typeof d.options.beforeInit&&d.options.beforeInit.apply(this,[d.$elem]),"string"==typeof d.options.jsonPath?(c=d.options.jsonPath,a.getJSON(c,b)):d.logIn()},logIn:function(){var a=this;a.$elem.data({"owl-originalStyles":a.$elem.attr("style"),"owl-originalClasses":a.$elem.attr("class")}),a.$elem.css({opacity:0}),a.orignalItems=a.options.items,a.checkBrowser(),a.wrapperWidth=0,a.checkVisible=null,a.setVars()},setVars:function(){var a=this;return 0===a.$elem.children().length?!1:(a.baseClass(),a.eventTypes(),a.$userItems=a.$elem.children(),a.itemsAmount=a.$userItems.length,a.wrapItems(),a.$owlItems=a.$elem.find(".owl-item"),a.$owlWrapper=a.$elem.find(".owl-wrapper"),a.playDirection="next",a.prevItem=0,a.prevArr=[0],a.currentItem=0,a.customEvents(),void a.onStartup())},onStartup:function(){var a=this;a.updateItems(),a.calculateAll(),a.buildControls(),a.updateControls(),a.response(),a.moveEvents(),a.stopOnHover(),a.owlStatus(),a.options.transitionStyle!==!1&&a.transitionTypes(a.options.transitionStyle),a.options.autoPlay===!0&&(a.options.autoPlay=5e3),a.play(),a.$elem.find(".owl-wrapper").css("display","block"),a.$elem.is(":visible")?a.$elem.css("opacity",1):a.watchVisibility(),a.onstartup=!1,a.eachMoveUpdate(),"function"==typeof a.options.afterInit&&a.options.afterInit.apply(this,[a.$elem])},eachMoveUpdate:function(){var a=this;a.options.lazyLoad===!0&&a.lazyLoad(),a.options.autoHeight===!0&&a.autoHeight(),a.onVisibleItems(),"function"==typeof a.options.afterAction&&a.options.afterAction.apply(this,[a.$elem])},updateVars:function(){var a=this;"function"==typeof a.options.beforeUpdate&&a.options.beforeUpdate.apply(this,[a.$elem]),a.watchVisibility(),a.updateItems(),a.calculateAll(),a.updatePosition(),a.updateControls(),a.eachMoveUpdate(),"function"==typeof a.options.afterUpdate&&a.options.afterUpdate.apply(this,[a.$elem])},reload:function(){var a=this;b.setTimeout(function(){a.updateVars()},0)},watchVisibility:function(){var a=this;return a.$elem.is(":visible")!==!1?!1:(a.$elem.css({opacity:0}),b.clearInterval(a.autoPlayInterval),b.clearInterval(a.checkVisible),void(a.checkVisible=b.setInterval(function(){a.$elem.is(":visible")&&(a.reload(),a.$elem.animate({opacity:1},200),b.clearInterval(a.checkVisible))},500)))},wrapItems:function(){var a=this;a.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>'),a.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">'),a.wrapperOuter=a.$elem.find(".owl-wrapper-outer"),a.$elem.css("display","block")},baseClass:function(){var a=this,b=a.$elem.hasClass(a.options.baseClass),c=a.$elem.hasClass(a.options.theme);b||a.$elem.addClass(a.options.baseClass),c||a.$elem.addClass(a.options.theme)},updateItems:function(){var b,c,d=this;if(d.options.responsive===!1)return!1;if(d.options.singleItem===!0)return d.options.items=d.orignalItems=1,d.options.itemsCustom=!1,d.options.itemsDesktop=!1,d.options.itemsDesktopSmall=!1,d.options.itemsTablet=!1,d.options.itemsTabletSmall=!1,d.options.itemsMobile=!1,!1;if(b=a(d.options.responsiveBaseWidth).width(),b>(d.options.itemsDesktop[0]||d.orignalItems)&&(d.options.items=d.orignalItems),d.options.itemsCustom!==!1)for(d.options.itemsCustom.sort(function(a,b){return a[0]-b[0]}),c=0;c<d.options.itemsCustom.length;c+=1)d.options.itemsCustom[c][0]<=b&&(d.options.items=d.options.itemsCustom[c][1]);else b<=d.options.itemsDesktop[0]&&d.options.itemsDesktop!==!1&&(d.options.items=d.options.itemsDesktop[1]),b<=d.options.itemsDesktopSmall[0]&&d.options.itemsDesktopSmall!==!1&&(d.options.items=d.options.itemsDesktopSmall[1]),b<=d.options.itemsTablet[0]&&d.options.itemsTablet!==!1&&(d.options.items=d.options.itemsTablet[1]),b<=d.options.itemsTabletSmall[0]&&d.options.itemsTabletSmall!==!1&&(d.options.items=d.options.itemsTabletSmall[1]),b<=d.options.itemsMobile[0]&&d.options.itemsMobile!==!1&&(d.options.items=d.options.itemsMobile[1]);d.options.items>d.itemsAmount&&d.options.itemsScaleUp===!0&&(d.options.items=d.itemsAmount)},response:function(){var c,d,e=this;return e.options.responsive!==!0?!1:(d=a(b).width(),e.resizer=function(){a(b).width()!==d&&(e.options.autoPlay!==!1&&b.clearInterval(e.autoPlayInterval),b.clearTimeout(c),c=b.setTimeout(function(){d=a(b).width(),e.updateVars()},e.options.responsiveRefreshRate))},void a(b).resize(e.resizer))},updatePosition:function(){var a=this;a.jumpTo(a.currentItem),a.options.autoPlay!==!1&&a.checkAp()},appendItemsSizes:function(){var b=this,c=0,d=b.itemsAmount-b.options.items;b.$owlItems.each(function(e){var f=a(this);f.css({width:b.itemWidth}).data("owl-item",Number(e)),(e%b.options.items===0||e===d)&&(e>d||(c+=1)),f.data("owl-roundPages",c)})},appendWrapperSizes:function(){var a=this,b=a.$owlItems.length*a.itemWidth;a.$owlWrapper.css({width:2*b,left:0}),a.appendItemsSizes()},calculateAll:function(){var a=this;a.calculateWidth(),a.appendWrapperSizes(),a.loops(),a.max()},calculateWidth:function(){var a=this;a.itemWidth=Math.round(a.$elem.width()/a.options.items)},max:function(){var a=this,b=-1*(a.itemsAmount*a.itemWidth-a.options.items*a.itemWidth);return a.options.items>a.itemsAmount?(a.maximumItem=0,b=0,a.maximumPixels=0):(a.maximumItem=a.itemsAmount-a.options.items,a.maximumPixels=b),b},min:function(){return 0},loops:function(){var b,c,d,e=this,f=0,g=0;for(e.positionsInArray=[0],e.pagesInArray=[],b=0;b<e.itemsAmount;b+=1)g+=e.itemWidth,e.positionsInArray.push(-g),e.options.scrollPerPage===!0&&(c=a(e.$owlItems[b]),d=c.data("owl-roundPages"),d!==f&&(e.pagesInArray[f]=e.positionsInArray[b],f=d))},buildControls:function(){var b=this;(b.options.navigation===!0||b.options.pagination===!0)&&(b.owlControls=a('<div class="owl-controls"/>').toggleClass("clickable",!b.browser.isTouch).appendTo(b.$elem)),b.options.pagination===!0&&b.buildPagination(),b.options.navigation===!0&&b.buildButtons()},buildButtons:function(){var b=this,c=a('<div class="owl-buttons"/>');b.owlControls.append(c),b.buttonPrev=a("<div/>",{"class":"owl-prev",html:b.options.navigationText[0]||""}),b.buttonNext=a("<div/>",{"class":"owl-next",html:b.options.navigationText[1]||""}),c.append(b.buttonPrev).append(b.buttonNext),c.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',function(a){a.preventDefault()}),c.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',function(c){c.preventDefault(),a(this).hasClass("owl-next")?b.next():b.prev()})},buildPagination:function(){var b=this;b.paginationWrapper=a('<div class="owl-pagination"/>'),b.owlControls.append(b.paginationWrapper),b.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(c){c.preventDefault(),Number(a(this).data("owl-page"))!==b.currentItem&&b.goTo(Number(a(this).data("owl-page")),!0)})},updatePagination:function(){var b,c,d,e,f,g,h=this;if(h.options.pagination===!1)return!1;for(h.paginationWrapper.html(""),b=0,c=h.itemsAmount-h.itemsAmount%h.options.items,e=0;e<h.itemsAmount;e+=1)e%h.options.items===0&&(b+=1,c===e&&(d=h.itemsAmount-h.options.items),f=a("<div/>",{"class":"owl-page"}),g=a("<span></span>",{text:h.options.paginationNumbers===!0?b:"","class":h.options.paginationNumbers===!0?"owl-numbers":""}),f.append(g),f.data("owl-page",c===e?d:e),f.data("owl-roundPages",b),h.paginationWrapper.append(f));h.checkPagination()},checkPagination:function(){var b=this;return b.options.pagination===!1?!1:void b.paginationWrapper.find(".owl-page").each(function(){a(this).data("owl-roundPages")===a(b.$owlItems[b.currentItem]).data("owl-roundPages")&&(b.paginationWrapper.find(".owl-page").removeClass("active"),a(this).addClass("active"))})},checkNavigation:function(){var a=this;return a.options.navigation===!1?!1:void(a.options.rewindNav===!1&&(0===a.currentItem&&0===a.maximumItem?(a.buttonPrev.addClass("disabled"),a.buttonNext.addClass("disabled")):0===a.currentItem&&0!==a.maximumItem?(a.buttonPrev.addClass("disabled"),a.buttonNext.removeClass("disabled")):a.currentItem===a.maximumItem?(a.buttonPrev.removeClass("disabled"),a.buttonNext.addClass("disabled")):0!==a.currentItem&&a.currentItem!==a.maximumItem&&(a.buttonPrev.removeClass("disabled"),a.buttonNext.removeClass("disabled"))))},updateControls:function(){var a=this;a.updatePagination(),a.checkNavigation(),a.owlControls&&(a.options.items>=a.itemsAmount?a.owlControls.hide():a.owlControls.show())},destroyControls:function(){var a=this;a.owlControls&&a.owlControls.remove()},next:function(a){var b=this;if(b.isTransition)return!1;if(b.currentItem+=b.options.scrollPerPage===!0?b.options.items:1,b.currentItem>b.maximumItem+(b.options.scrollPerPage===!0?b.options.items-1:0)){if(b.options.rewindNav!==!0)return b.currentItem=b.maximumItem,!1;b.currentItem=0,a="rewind"}b.goTo(b.currentItem,a)},prev:function(a){var b=this;if(b.isTransition)return!1;if(b.options.scrollPerPage===!0&&b.currentItem>0&&b.currentItem<b.options.items?b.currentItem=0:b.currentItem-=b.options.scrollPerPage===!0?b.options.items:1,b.currentItem<0){if(b.options.rewindNav!==!0)return b.currentItem=0,!1;b.currentItem=b.maximumItem,a="rewind"}b.goTo(b.currentItem,a)},goTo:function(a,c,d){var e,f=this;return f.isTransition?!1:("function"==typeof f.options.beforeMove&&f.options.beforeMove.apply(this,[f.$elem]),a>=f.maximumItem?a=f.maximumItem:0>=a&&(a=0),f.currentItem=f.owl.currentItem=a,f.options.transitionStyle!==!1&&"drag"!==d&&1===f.options.items&&f.browser.support3d===!0?(f.swapSpeed(0),f.browser.support3d===!0?f.transition3d(f.positionsInArray[a]):f.css2slide(f.positionsInArray[a],1),f.afterGo(),f.singleItemTransition(),!1):(e=f.positionsInArray[a],f.browser.support3d===!0?(f.isCss3Finish=!1,c===!0?(f.swapSpeed("paginationSpeed"),b.setTimeout(function(){f.isCss3Finish=!0},f.options.paginationSpeed)):"rewind"===c?(f.swapSpeed(f.options.rewindSpeed),b.setTimeout(function(){f.isCss3Finish=!0},f.options.rewindSpeed)):(f.swapSpeed("slideSpeed"),b.setTimeout(function(){f.isCss3Finish=!0},f.options.slideSpeed)),f.transition3d(e)):c===!0?f.css2slide(e,f.options.paginationSpeed):"rewind"===c?f.css2slide(e,f.options.rewindSpeed):f.css2slide(e,f.options.slideSpeed),void f.afterGo()))},jumpTo:function(a){var b=this;"function"==typeof b.options.beforeMove&&b.options.beforeMove.apply(this,[b.$elem]),a>=b.maximumItem||-1===a?a=b.maximumItem:0>=a&&(a=0),b.swapSpeed(0),b.browser.support3d===!0?b.transition3d(b.positionsInArray[a]):b.css2slide(b.positionsInArray[a],1),b.currentItem=b.owl.currentItem=a,b.afterGo()},afterGo:function(){var a=this;a.prevArr.push(a.currentItem),a.prevItem=a.owl.prevItem=a.prevArr[a.prevArr.length-2],a.prevArr.shift(0),a.prevItem!==a.currentItem&&(a.checkPagination(),a.checkNavigation(),a.eachMoveUpdate(),a.options.autoPlay!==!1&&a.checkAp()),"function"==typeof a.options.afterMove&&a.prevItem!==a.currentItem&&a.options.afterMove.apply(this,[a.$elem])},stop:function(){var a=this;a.apStatus="stop",b.clearInterval(a.autoPlayInterval)},checkAp:function(){var a=this;"stop"!==a.apStatus&&a.play()},play:function(){var a=this;return a.apStatus="play",a.options.autoPlay===!1?!1:(b.clearInterval(a.autoPlayInterval),void(a.autoPlayInterval=b.setInterval(function(){a.next(!0)},a.options.autoPlay)))},swapSpeed:function(a){var b=this;"slideSpeed"===a?b.$owlWrapper.css(b.addCssSpeed(b.options.slideSpeed)):"paginationSpeed"===a?b.$owlWrapper.css(b.addCssSpeed(b.options.paginationSpeed)):"string"!=typeof a&&b.$owlWrapper.css(b.addCssSpeed(a));
2
  },addCssSpeed:function(a){return{"-webkit-transition":"all "+a+"ms ease","-moz-transition":"all "+a+"ms ease","-o-transition":"all "+a+"ms ease",transition:"all "+a+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(a){return{"-webkit-transform":"translate3d("+a+"px, 0px, 0px)","-moz-transform":"translate3d("+a+"px, 0px, 0px)","-o-transform":"translate3d("+a+"px, 0px, 0px)","-ms-transform":"translate3d("+a+"px, 0px, 0px)",transform:"translate3d("+a+"px, 0px,0px)"}},transition3d:function(a){var b=this;b.$owlWrapper.css(b.doTranslate(a))},css2move:function(a){var b=this;b.$owlWrapper.css({left:a})},css2slide:function(a,b){var c=this;c.isCssFinish=!1,c.$owlWrapper.stop(!0,!0).animate({left:a},{duration:b||c.options.slideSpeed,complete:function(){c.isCssFinish=!0}})},checkBrowser:function(){var a,d,e,f,g=this,h="translate3d(0px, 0px, 0px)",i=c.createElement("div");i.style.cssText=" -moz-transform:"+h+"; -ms-transform:"+h+"; -o-transform:"+h+"; -webkit-transform:"+h+"; transform:"+h,a=/translate3d\(0px, 0px, 0px\)/g,d=i.style.cssText.match(a),e=null!==d&&1===d.length,f="ontouchstart"in b||b.navigator.msMaxTouchPoints,g.browser={support3d:e,isTouch:f}},moveEvents:function(){var a=this;(a.options.mouseDrag!==!1||a.options.touchDrag!==!1)&&(a.gestures(),a.disabledEvents())},eventTypes:function(){var a=this,b=["s","e","x"];a.ev_types={},a.options.mouseDrag===!0&&a.options.touchDrag===!0?b=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]:a.options.mouseDrag===!1&&a.options.touchDrag===!0?b=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]:a.options.mouseDrag===!0&&a.options.touchDrag===!1&&(b=["mousedown.owl","mousemove.owl","mouseup.owl"]),a.ev_types.start=b[0],a.ev_types.move=b[1],a.ev_types.end=b[2]},disabledEvents:function(){var b=this;b.$elem.on("dragstart.owl",function(a){a.preventDefault()}),b.$elem.on("mousedown.disableTextSelect",function(b){return a(b.target).is("input, textarea, select, option")})},gestures:function(){function d(a){if(void 0!==a.touches)return{x:a.touches[0].pageX,y:a.touches[0].pageY};if(void 0===a.touches){if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY};if(void 0===a.pageX)return{x:a.clientX,y:a.clientY}}}function e(b){"on"===b?(a(c).on(i.ev_types.move,g),a(c).on(i.ev_types.end,h)):"off"===b&&(a(c).off(i.ev_types.move),a(c).off(i.ev_types.end))}function f(c){var f,g=c.originalEvent||c||b.event;if(3===g.which)return!1;if(!(i.itemsAmount<=i.options.items)){if(i.isCssFinish===!1&&!i.options.dragBeforeAnimFinish)return!1;if(i.isCss3Finish===!1&&!i.options.dragBeforeAnimFinish)return!1;i.options.autoPlay!==!1&&b.clearInterval(i.autoPlayInterval),i.browser.isTouch===!0||i.$owlWrapper.hasClass("grabbing")||i.$owlWrapper.addClass("grabbing"),i.newPosX=0,i.newRelativeX=0,a(this).css(i.removeTransition()),f=a(this).position(),j.relativePos=f.left,j.offsetX=d(g).x-f.left,j.offsetY=d(g).y-f.top,e("on"),j.sliding=!1,j.targetElement=g.target||g.srcElement}}function g(e){var f,g,h=e.originalEvent||e||b.event;i.newPosX=d(h).x-j.offsetX,i.newPosY=d(h).y-j.offsetY,i.newRelativeX=i.newPosX-j.relativePos,"function"==typeof i.options.startDragging&&j.dragging!==!0&&0!==i.newRelativeX&&(j.dragging=!0,i.options.startDragging.apply(i,[i.$elem])),(i.newRelativeX>8||i.newRelativeX<-8)&&i.browser.isTouch===!0&&(void 0!==h.preventDefault?h.preventDefault():h.returnValue=!1,j.sliding=!0),(i.newPosY>10||i.newPosY<-10)&&j.sliding===!1&&a(c).off("touchmove.owl"),f=function(){return i.newRelativeX/5},g=function(){return i.maximumPixels+i.newRelativeX/5},i.newPosX=Math.max(Math.min(i.newPosX,f()),g()),i.browser.support3d===!0?i.transition3d(i.newPosX):i.css2move(i.newPosX)}function h(c){var d,f,g,h=c.originalEvent||c||b.event;h.target=h.target||h.srcElement,j.dragging=!1,i.browser.isTouch!==!0&&i.$owlWrapper.removeClass("grabbing"),i.newRelativeX<0?i.dragDirection=i.owl.dragDirection="left":i.dragDirection=i.owl.dragDirection="right",0!==i.newRelativeX&&(d=i.getNewPosition(),i.goTo(d,!1,"drag"),j.targetElement===h.target&&i.browser.isTouch!==!0&&(a(h.target).on("click.disable",function(b){b.stopImmediatePropagation(),b.stopPropagation(),b.preventDefault(),a(b.target).off("click.disable")}),f=a._data(h.target,"events").click,g=f.pop(),f.splice(0,0,g))),e("off")}var i=this,j={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};i.isCssFinish=!0,i.$elem.on(i.ev_types.start,".owl-wrapper",f)},getNewPosition:function(){var a=this,b=a.closestItem();return b>a.maximumItem?(a.currentItem=a.maximumItem,b=a.maximumItem):a.newPosX>=0&&(b=0,a.currentItem=0),b},closestItem:function(){var b=this,c=b.options.scrollPerPage===!0?b.pagesInArray:b.positionsInArray,d=b.newPosX,e=null;return a.each(c,function(f,g){d-b.itemWidth/20>c[f+1]&&d-b.itemWidth/20<g&&"left"===b.moveDirection()?(e=g,b.options.scrollPerPage===!0?b.currentItem=a.inArray(e,b.positionsInArray):b.currentItem=f):d+b.itemWidth/20<g&&d+b.itemWidth/20>(c[f+1]||c[f]-b.itemWidth)&&"right"===b.moveDirection()&&(b.options.scrollPerPage===!0?(e=c[f+1]||c[c.length-1],b.currentItem=a.inArray(e,b.positionsInArray)):(e=c[f+1],b.currentItem=f+1))}),b.currentItem},moveDirection:function(){var a,b=this;return b.newRelativeX<0?(a="right",b.playDirection="next"):(a="left",b.playDirection="prev"),a},customEvents:function(){var a=this;a.$elem.on("owl.next",function(){a.next()}),a.$elem.on("owl.prev",function(){a.prev()}),a.$elem.on("owl.play",function(b,c){a.options.autoPlay=c,a.play(),a.hoverStatus="play"}),a.$elem.on("owl.stop",function(){a.stop(),a.hoverStatus="stop"}),a.$elem.on("owl.goTo",function(b,c){a.goTo(c)}),a.$elem.on("owl.jumpTo",function(b,c){a.jumpTo(c)})},stopOnHover:function(){var a=this;a.options.stopOnHover===!0&&a.browser.isTouch!==!0&&a.options.autoPlay!==!1&&(a.$elem.on("mouseover",function(){a.stop()}),a.$elem.on("mouseout",function(){"stop"!==a.hoverStatus&&a.play()}))},lazyLoad:function(){var b,c,d,e,f,g=this;if(g.options.lazyLoad===!1)return!1;for(b=0;b<g.itemsAmount;b+=1)c=a(g.$owlItems[b]),"loaded"!==c.data("owl-loaded")&&(d=c.data("owl-item"),e=c.find(".lazyOwl"),"string"==typeof e.data("src")?(void 0===c.data("owl-loaded")&&(e.hide(),c.addClass("loading").data("owl-loaded","checked")),f=g.options.lazyFollow===!0?d>=g.currentItem:!0,f&&d<g.currentItem+g.options.items&&e.length&&e.each(function(){g.lazyPreload(c,a(this))})):c.data("owl-loaded","loaded"))},lazyPreload:function(a,c){function d(){a.data("owl-loaded","loaded").removeClass("loading"),c.removeAttr("data-src"),"fade"===g.options.lazyEffect?c.fadeIn(400):c.show(),"function"==typeof g.options.afterLazyLoad&&g.options.afterLazyLoad.apply(this,[g.$elem])}function e(){h+=1,g.completeImg(c.get(0))||f===!0?d():100>=h?b.setTimeout(e,100):d()}var f,g=this,h=0;"DIV"===c.prop("tagName")?(c.css("background-image","url("+c.data("src")+")"),f=!0):c[0].src=c.data("src"),e()},autoHeight:function(){function c(){var c=a(f.$owlItems[f.currentItem]).height();f.wrapperOuter.css("height",c+"px"),f.wrapperOuter.hasClass("autoHeight")||b.setTimeout(function(){f.wrapperOuter.addClass("autoHeight")},0)}function d(){e+=1,f.completeImg(g.get(0))?c():100>=e?b.setTimeout(d,100):f.wrapperOuter.css("height","")}var e,f=this,g=a(f.$owlItems[f.currentItem]).find("img");void 0!==g.get(0)?(e=0,d()):c()},completeImg:function(a){var b;return a.complete?(b=typeof a.naturalWidth,"undefined"!==b&&0===a.naturalWidth?!1:!0):!1},onVisibleItems:function(){var b,c=this;for(c.options.addClassActive===!0&&c.$owlItems.removeClass("active"),c.visibleItems=[],b=c.currentItem;b<c.currentItem+c.options.items;b+=1)c.visibleItems.push(b),c.options.addClassActive===!0&&a(c.$owlItems[b]).addClass("active");c.owl.visibleItems=c.visibleItems},transitionTypes:function(a){var b=this;b.outClass="owl-"+a+"-out",b.inClass="owl-"+a+"-in"},singleItemTransition:function(){function a(a){return{position:"relative",left:a+"px"}}var b=this,c=b.outClass,d=b.inClass,e=b.$owlItems.eq(b.currentItem),f=b.$owlItems.eq(b.prevItem),g=Math.abs(b.positionsInArray[b.currentItem])+b.positionsInArray[b.prevItem],h=Math.abs(b.positionsInArray[b.currentItem])+b.itemWidth/2,i="webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend";b.isTransition=!0,b.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":h+"px","-moz-perspective-origin":h+"px","perspective-origin":h+"px"}),f.css(a(g,10)).addClass(c).on(i,function(){b.endPrev=!0,f.off(i),b.clearTransStyle(f,c)}),e.addClass(d).on(i,function(){b.endCurrent=!0,e.off(i),b.clearTransStyle(e,d)})},clearTransStyle:function(a,b){var c=this;a.css({position:"",left:""}).removeClass(b),c.endPrev&&c.endCurrent&&(c.$owlWrapper.removeClass("owl-origin"),c.endPrev=!1,c.endCurrent=!1,c.isTransition=!1)},owlStatus:function(){var a=this;a.owl={userOptions:a.userOptions,baseElement:a.$elem,userItems:a.$userItems,owlItems:a.$owlItems,currentItem:a.currentItem,prevItem:a.prevItem,visibleItems:a.visibleItems,isTouch:a.browser.isTouch,browser:a.browser,dragDirection:a.dragDirection}},clearEvents:function(){var d=this;d.$elem.off(".owl owl mousedown.disableTextSelect"),a(c).off(".owl owl"),a(b).off("resize",d.resizer)},unWrap:function(){var a=this;0!==a.$elem.children().length&&(a.$owlWrapper.unwrap(),a.$userItems.unwrap().unwrap(),a.owlControls&&a.owlControls.remove()),a.clearEvents(),a.$elem.attr({style:a.$elem.data("owl-originalStyles")||"","class":a.$elem.data("owl-originalClasses")})},destroy:function(){var a=this;a.stop(),b.clearInterval(a.checkVisible),a.unWrap(),a.$elem.removeData()},reinit:function(b){var c=this,d=a.extend({},c.userOptions,b);c.unWrap(),c.init(d,c.$elem)},addItem:function(a,b){var c,d=this;return a?0===d.$elem.children().length?(d.$elem.append(a),d.setVars(),!1):(d.unWrap(),c=void 0===b||-1===b?-1:b,c>=d.$userItems.length||-1===c?d.$userItems.eq(-1).after(a):d.$userItems.eq(c).before(a),void d.setVars()):!1},removeItem:function(a){var b,c=this;return 0===c.$elem.children().length?!1:(b=void 0===a||-1===a?-1:a,c.unWrap(),c.$userItems.eq(b).remove(),void c.setVars())}};a.fn.owlCarousel=function(b){return this.each(function(){if(a(this).data("owl-init")===!0)return!1;a(this).data("owl-init",!0);var c=Object.create(d);c.init(b,this),a.data(this,"owlCarousel",c)})},a.fn.owlCarousel.options={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:b,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}}(jQuery,window,document);!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isLowIE=b.isIE8=document.all&&!document.addEventListener,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=" mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):n.overflow="hidden");var r=b.st.mainClass;return b.isIE7&&(r+=" mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var c=r+" "+q+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:""};b.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}d.off("keyup"+p+" focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b.st.autoFocusLast&&b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||v.height();b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var f=b.st[d]?b.st[d].markup:!1;y("FirstMarkupParse",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y(k),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||!(2===c.which||c.ctrlKey||c.metaKey||c.altKey||c.shiftKey)){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};y("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(c,d){if(void 0===d||d===!1)return!0;if(e=c.split("_"),e.length>1){var f=b.find(p+"-"+e[0]);if(f.length>0){var g=e[1];"replaceWith"===g?f[0]!==d[0]&&f.replaceWith(d):"img"===g?f.is("img")?f.attr("src",d):f.replaceWith(a("<img>").attr("src",d).attr("class",f.attr("class"))):f.attr(e[1],d)}}else b.find(p+"-"+c).html(d)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery";return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),A()});(function(a){a.belowthefold=function(b,c){var d=a(window).height()+a(window).scrollTop();return d<=a(b).offset().top-c.threshold};a.abovethetop=function(b,c){var d=a(window).scrollTop();return d>=a(b).offset().top+a(b).height()-c.threshold};a.rightofscreen=function(b,c){var d=a(window).width()+a(window).scrollLeft();return d<=a(b).offset().left-c.threshold};a.leftofscreen=function(b,c){var d=a(window).scrollLeft();return d>=a(b).offset().left+a(b).width()-c.threshold};a.inviewport=function(b,c){return!a.rightofscreen(b,c)&&!a.leftofscreen(b,c)&&!a.belowthefold(b,c)&&!a.abovethetop(b,c)};a.extend(a.expr[":"],{"below-the-fold":function(b,c,d){return a.belowthefold(b,{threshold:0})},"above-the-top":function(b,c,d){
3
  return a.abovethetop(b,{threshold:0})},"left-of-screen":function(b,c,d){return a.leftofscreen(b,{threshold:0})},"right-of-screen":function(b,c,d){return a.rightofscreen(b,{threshold:0})},"in-viewport":function(b,c,d){return a.inviewport(b,{threshold:0})}})})(jQuery);!function(a){if("function"==typeof define&&define.amd)define(a);else if("object"==typeof exports)module.exports=a();else{var b=window.Cookies,c=window.Cookies=a();c.noConflict=function(){return window.Cookies=b,c}}}(function(){function a(){for(var a=0,b={};a<arguments.length;a++){var c=arguments[a];for(var d in c)b[d]=c[d]}return b}function b(c){function d(b,e,f){var g;if(arguments.length>1){if(f=a({path:"/"},d.defaults,f),"number"==typeof f.expires){var h=new Date;h.setMilliseconds(h.getMilliseconds()+864e5*f.expires),f.expires=h}try{g=JSON.stringify(e),/^[\{\[]/.test(g)&&(e=g)}catch(i){}return e=c.write?c.write(e,b):encodeURIComponent(String(e)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),b=encodeURIComponent(String(b)),b=b.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),b=b.replace(/[\(\)]/g,escape),document.cookie=[b,"=",e,f.expires&&"; expires="+f.expires.toUTCString(),f.path&&"; path="+f.path,f.domain&&"; domain="+f.domain,f.secure?"; secure":""].join("")}b||(g={});for(var j=document.cookie?document.cookie.split("; "):[],k=/(%[0-9A-Z]{2})+/g,l=0;l<j.length;l++){var m=j[l].split("="),n=m[0].replace(k,decodeURIComponent),o=m.slice(1).join("=");'"'===o.charAt(0)&&(o=o.slice(1,-1));try{if(o=c.read?c.read(o,n):c(o,n)||o.replace(k,decodeURIComponent),this.json)try{o=JSON.parse(o)}catch(i){}if(b===n){g=o;break}b||(g[n]=o)}catch(i){}}return g}return d.get=d.set=d,d.getJSON=function(){return d.apply({json:!0},[].slice.call(arguments))},d.defaults={},d.remove=function(b,c){d(b,"",a(c,{expires:-1}))},d.withConverter=b,d}return b(function(){})});
1
+ function dslc_responsive_classes(a){if(a===undefined)a=false;var b=jQuery(window).width();var c=jQuery("body");if(a==true||!c.hasClass("dslc-res-disabled")&&!jQuery('.dslca-module-edit-options-tab-hook.dslca-active[data-section="responsive"]').length){c.removeClass("dslc-res-phone dslc-res-tablet dslc-res-smaller-monitor dslc-res-big");if(b>=1024&&b<1280){c.addClass("dslc-res-smaller-monitor")}else if(b>=768&&b<1024){c.addClass("dslc-res-tablet")}else if(b<768){c.addClass("dslc-res-phone")}else{c.addClass("dslc-res-big")}}}function dslc_init_accordion(){jQuery(".dslc-accordion").each(function(){var a=jQuery(this),b=a.data("open")-1,c=jQuery(".dslc-accordion-item:eq("+b+")",a),d=c.siblings(".dslc-accordion-item"),e=jQuery(".dslc-accordion-item",a);if(b>=0){c.addClass("dslc-active");d.addClass("dslc-inactive");jQuery(".dslc-accordion-content",d).hide()}else{e.addClass("dslc-inactive");jQuery(".dslc-accordion-content",e).hide()}})}function dslc_init_lightbox(){var a;jQuery(".dslc-lightbox-image").each(function(){a="image";if(jQuery(this).attr("href").indexOf("youtube.com")>=0||jQuery(this).attr("href").indexOf("vimeo.com")>=0){a="iframe"}jQuery(this).magnificPopup({type:a})});jQuery(".dslc-lightbox-gallery").each(function(){jQuery(this).magnificPopup({delegate:"a",type:"image",gallery:{enabled:true}})})}function dslc_carousel(){jQuery(".dslc-carousel, .dslc-slider").each(function(){var a,b,c,d,e;a=jQuery(this);b=a.closest(".dslc-module-front");if(b.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")){var f=0}else{var f=b.width()/100*2.12766/2}if(a.hasClass("dslc-carousel")){a.find(".dslc-col").css({"margin-left":f,"margin-right":f});a.css({"margin-left":f*-1,width:a.width()+f*2})}c={items:4,pagination:true,singleItem:false,itemsScaleUp:false,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:false,stopOnHover:false,lazyLoad:false,lazyFollow:true,autoHeight:false,mouseDrag:true,touchDrag:true,addClassActive:true,transitionStyle:"fade",scrollPerPage:true};d={items:a.data("columns"),pagination:a.data("pagination"),itemsScaleUp:a.data("scale-up"),slideSpeed:a.data("slide-speed"),paginationSpeed:a.data("pagination-speed"),rewindSpeed:a.data("rewind-speed"),autoPlay:a.data("autoplay"),stopOnHover:a.data("stop-on-hover"),lazyLoad:a.data("lazy-load"),lazyFollow:a.data("lazy-follow"),autoHeight:a.data("flexible-height"),mouseDrag:a.data("mouse-drag"),touchDrag:a.data("touch-drag"),addClassActive:a.data("active-class"),transitionStyle:a.data("animation"),scrollPerPage:a.data("scroll-per-page")};e=jQuery.extend({},c,d);if(a.hasClass("dslc-slider")||e.items==1){e.singleItem=true}if(e.autoPlay==0){e.autoPlay=false}a.owlCarousel({items:e.items,pagination:e.pagination,singleItem:e.singleItem,itemsScaleUp:e.itemsScaleUp,slideSpeed:e.slideSpeed,paginationSpeed:e.paginationSpeed,rewindSpeed:e.rewindSpeed,autoPlay:e.autoPlay,stopOnHover:e.stopOnHover,lazyLoad:e.lazyLoad,lazyFollow:e.lazyFollow,mouseDrag:e.mouseDrag,touchDrag:e.touchDrag,scrollPerPage:e.scrollPerPage,transitionStyle:e.transitionStyle,autoHeight:e.autoHeight,itemsDesktop:false,itemsDesktopSmall:false,itemsTablet:false,itemsMobile:[766,1],afterInit:function(){a.prev(".dslc-loader").remove();a.css({opacity:1,maxHeight:"none"})},afterAction:function(){var b=this.owl.visibleItems;a.find(".dslc-carousel-item-visible").removeClass("dslc-carousel-item-visible");a.find(".owl-item").filter(function(a){return b.indexOf(a)>-1}).addClass("dslc-carousel-item-visible")}});jQuery(".dslc-carousel-nav-next",b).click(function(b){b.preventDefault();a.data("owlCarousel").next()});jQuery(".dslc-carousel-nav-prev",b).click(function(b){b.preventDefault();a.data("owlCarousel").prev()})})}function dslc_carousel_responsive(){jQuery(".dslc-carousel").each(function(){var a,b;a=jQuery(this);b=a.closest(".dslc-module-front");a.css({"margin-left":0,width:"auto"});if(b.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")){var c=0}else{var c=b.width()/100*2.12766/2}if(a.hasClass("dslc-carousel")){a.find(".dslc-col").css({"margin-left":c,"margin-right":c});a.css({"margin-left":c*-1,width:a.width()+c*2})}})}function dslc_bg_video(){jQuery(".dslc-bg-video").each(function(){if(!jQuery(this).find("video").length){jQuery(this).css({opacity:1})}});jQuery(".dslc-bg-video video").mediaelementplayer({loop:true,pauseOtherPlayers:false,success:function(a,b){a.addEventListener("loadeddata",function(a){jQuery(b).closest(".dslc-bg-video").animate({opacity:1},400)});a.play()}})}function dslc_parallax(){jQuery(".dslc-init-parallax").each(function(){var a=4,b=jQuery(this).css("background-position").split(" "),c=b[0],d=c+" "+-1*(window.pageYOffset-jQuery(this).offset().top)/a+"px";jQuery(this).css({backgroundPosition:d})});window.onscroll=function(){jQuery(".dslc-init-parallax").each(function(){var a=4,b=jQuery(this).css("background-position").split(" "),c=b[0],d=c+" "+-1*(window.pageYOffset-jQuery(this).offset().top)/a+"px";jQuery(this).css({backgroundPosition:d})})}}function dslc_masonry(a,b){a=typeof a!=="undefined"?a:jQuery("body");b=typeof b!=="undefined"?b:false;jQuery(".dslc-init-masonry",a).each(function(){var a,c,d,e,f,g;if(jQuery(this).find(".dslc-posts-inner").length){a=jQuery(this).find(".dslc-posts-inner")}else{a=jQuery(this)}c=".dslc-masonry-item";e=jQuery(c,a).width();f=jQuery(a).width();if(jQuery(this).closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")){g=0}else{g=f/100*2.05}if(a.data("masonry")){jQuery(a).imagesLoaded(function(){jQuery(a).masonry("destroy").masonry({gutter:g,itemSelector:c});jQuery(a).find(".dslc-post:not(.dslc-masonry-item)").hide();if(b){jQuery(c,a).css({scale:"0.2"}).animate({scale:"1"},500)}})}else{jQuery(c).css({marginRight:0});jQuery(a).imagesLoaded(function(){jQuery(a).masonry({gutter:g,itemSelector:c})})}})}function dslc_tabs_generate_code(a){var b=a.closest(".dslc-module-front");dslcTabsNav=jQuery(".dslc-tabs-nav",a);dslcTabsContent=jQuery(".dslc-tabs-content",a);dslcTabContent=jQuery(".dslc-tabs-tab-content",a);var c="";var d="";var e=0;var f=0;jQuery(".dslc-tabs-nav-hook",dslcTabsNav).each(function(){e++;if(e>1){c+=" (dslc_sep) "}c+=jQuery(this).find(".dslc-tabs-nav-hook-title").text()});dslcTabContent.each(function(){f++;if(f>1){d+=" (dslc_sep) "}d+=jQuery(this).find(".dslca-tab-plain-content").val()});d=d.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");jQuery('.dslca-module-option-front[data-id="tabs_nav"]',b).val(c);jQuery('.dslca-module-option-front[data-id="tabs_content"]',b).val(d);parent.dslc_option_changed()}function dslc_accordion_generate_code(a){var b=a.closest(".dslc-module-front"),c=0,d="",e="";jQuery(".dslc-accordion-item",a).each(function(){c++;if(c>1){d+=" (dslc_sep) ";e+=" (dslc_sep) "}d+=jQuery(this).find(".dslc-accordion-title").text();e+=jQuery(this).find(".dslc-accordion-content").find(".dslca-accordion-plain-content").val()});e=e.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");jQuery('.dslca-module-option-front[data-id="accordion_nav"]',b).val(d);jQuery('.dslca-module-option-front[data-id="accordion_content"]',b).val(e);parent.dslc_option_changed()}function dslc_tabs(){var a,b,c,d;jQuery(".dslc-tabs").each(function(){a=jQuery(this);b=jQuery(".dslc-tabs-nav",a);c=jQuery(".dslc-tabs-content",a);d=jQuery(".dslc-tabs-tab-content",a);d.eq(0).addClass("dslc-active");jQuery(".dslc-tabs-nav-hook",b).eq(0).addClass("dslc-active")})}function dslc_download_count_increment(a){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-download-count-increment",dslc_post_id:a},function(a){})}function dslc_check_viewport(){var a=false||!!document.documentMode;if(!a){jQuery(".dslc-in-viewport-check:in-viewport:not(.dslc-in-viewport)").each(function(){var a=jQuery(this);var b=a.data("dslc-anim");var c=parseInt(a.data("dslc-anim-duration"))/1e3;var d=c+"s";if(jQuery(window).width()<768){d="0s"}var e=parseInt(a.data("dslc-anim-delay"));var f=a.data("dslc-anim-easing");var g=b+" "+d+" "+f+" forwards";jQuery(this).addClass("dslc-in-viewport");if(e>0){setTimeout(function(){a.css({"-webkit-animation":g,"-moz-animation":g,animation:g})},e)}else{jQuery(this).css({"-webkit-animation":g,"-moz-animation":g,animation:g})}})}else{jQuery(".dslc-in-viewport-check").css("opacity",1)}}function dslc_el_anim_hover(){jQuery(".dslc-on-hover-anim-target").each(function(){var a=parseInt(jQuery(this).data("dslc-anim-speed"))/1e3;var b="all "+a+"s ease-out";jQuery(this).css({"-webkit-transition":b,"-moz-transition":b,transition:b})})}function dslc_check_progress_bar_viewport(){jQuery(".dslc-progress-bar-animated:in-viewport:not(.dslc-progress-bar-in-viewport)").each(function(){var a=jQuery(this),b=a.find(".dslc-progress-bar-loader-inner"),c=b.data("amount")+"%",d=b.data("speed");a.addClass("dslc-progress-bar-in-viewport");b.css({width:0,opacity:1}).animate({width:c},d)})}function dslc_validate_comment_form(a){var b=a.find("#author"),c=a.find("#email"),d=a.find("#url"),e=a.find("#comment"),f=true;if(b.length&&b.val().length==0){b.css({borderColor:"#e55f5f"});f=false}else{b.attr("style","")}if(c.length&&(c.val().length==0||c.val().indexOf("@")===-1)){c.css({borderColor:"#e55f5f"});f=false}else{c.attr("style","")}if(e.val().length==0){e.css({borderColor:"#e55f5f"});f=false}else{e.attr("style","")}return f}function dslc_social_share(a,b,c){var d,e,f,g;d=window.screen.width/2-(a/2+10);e=window.screen.height/2-(b/2+50);var h="status=no,height="+b+",width="+a+",resizable=yes,left="+d+",top="+e+",screenX="+d+",screenY="+e+",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no";f=location.href;g=document.title;window.open(c,"sharer",h);return false}jQuery(document).ready(function(a){dslc_el_anim_hover();dslc_bg_video();dslc_tabs();a(document).on("click",".dslc-pagination-load-more a",function(b){b.preventDefault();if(a(this).parent().hasClass("dslc-active")){var c=a(this),d=a(this).closest(".dslc-module-front"),e=d.find(".dslc-pagination"),f=d.find(".dslc-posts-inner"),g=d.attr("id"),h=c.attr("href"),i=d.find(".dslc-load-more-temp");c.find(".dslc-icon").addClass("dslc-icon-spin");i.load(h+" #"+g,function(){f.append('<div class="dslc-post-separator"></div>');f.append(i.find(".dslc-posts-inner").html());d.find(".dslc-pagination").html(i.find(".dslc-pagination").html());e.replaceWith(i.find(".dslc-pagination"));i.html("");f.imagesLoaded(function(){if(d.find(".dslc-init-masonry").length){d.find(".dslc-init-masonry .dslc-posts-inner").masonry("reloadItems").masonry()}})})}});a(".dslc-tp-comment-form form").submit(function(a){if(!dslc_validate_comment_form(jQuery(this))){a.preventDefault()}});jQuery(".dslc-mobile-navigation select").change(function(){window.location=a(this).val()});jQuery(document).on("click",".dslca-add-new-tab-hook",function(){var a=jQuery(this).closest(".dslc-tabs"),b=jQuery(".dslc-tabs-nav .dslc-tabs-nav-hook:last",a),c=jQuery(".dslc-tabs-content",a),d=jQuery(".dslc-tabs-tab-content:last",a);b.after('<span class="dslc-tabs-nav-hook"><span class="dslc-tabs-nav-hook-title" contenteditable="true">Click to edit title</span><span class="dslca-delete-tab-hook"><span class="dslca-icon dslc-icon-remove"></span></span></span>');d.after('<div class="dslc-tabs-tab-content"><div class="dslca-editable-content">This is just placeholder text.</div><textarea class="dslca-tab-plain-content">This is just placeholder text.</textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook">Open in WP Editor</span></div></div>');jQuery(".dslc-tabs-nav-hook:last",a).click();dslc_tabs_generate_code(a);if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});jQuery(document).on("click",".dslca-delete-tab-hook",function(a){var b=jQuery(this).closest(".dslc-tabs");var c=jQuery(this).closest(".dslc-tabs-nav-hook");var d=c.index();var e=jQuery(".dslc-tabs-tab-content",b).eq(d);if(jQuery(".dslc-tabs-nav-hook",b).length>1){c.remove();e.remove();if(!jQuery(".dslc-tabs-tab-content.dslc-active",b).length){jQuery(".dslc-tabs-nav-hook:first",b).trigger("click")}dslc_tabs_generate_code(b)}else{alert("You can not delete the last remaining tab")}a.stopPropagation()});jQuery(document).on("click",".dslc-tabs-nav-hook",function(a){if(!jQuery(this).hasClass("dslc-active")){dslcTabs=jQuery(this).closest(".dslc-tabs");dslcTabsNav=jQuery(".dslc-tabs-nav",dslcTabs);dslcTabsContent=jQuery(".dslc-tabs-content",dslcTabs);dslcTabContent=jQuery(".dslc-tabs-tab-content",dslcTabs);dslcTabIndex=jQuery(this).index();jQuery(".dslc-tabs-nav-hook.dslc-active",dslcTabs).removeClass("dslc-active");jQuery(this).addClass("dslc-active");if(jQuery(".dslc-tabs-tab-content.dslc-active",dslcTabs).length){jQuery(".dslc-tabs-tab-content.dslc-active",dslcTabs).animate({opacity:0},250,function(){jQuery(this).removeClass("dslc-active");dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass("dslc-active").show().animate({opacity:1},250)})}else{dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass("dslc-active").show().animate({opacity:1},250)}}});jQuery(document).on("blur paste",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",function(){dslc_tabs_generate_code(jQuery(this).closest(".dslc-tabs"))}).on("focus",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",function(){if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});a(document).on("click",".dslc-notification-close",function(b){a(this).closest(".dslc-notification").slideUp(200,function(){a(this).remove()})});a(document).on("click",".dslc-post-filter",function(){var b=a(this);var c=b.closest(".dslc-module-front").find(".dslc-posts");var d=b.closest(".dslc-module-front");var e=b.data("filter-id");var f=a();var g=a();if(e==="show-all"){f=c.closest(".dslc-module-front").find(".dslc-post");g=a()}else{f=c.closest(".dslc-module-front").find('.dslc-post[data-cats*="'+e+'"]');g=c.closest(".dslc-module-front").find('.dslc-post:not([data-cats*="'+e+'"])')}b.removeClass("dslc-inactive").addClass("dslc-active").siblings(".dslc-active").removeClass("dslc-active").addClass("dslc-inactive");if(c.hasClass("dslc-init-grid")){f.stop().animate({opacity:1},300);g.stop().animate({opacity:.3},300)}else{g.removeClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"hidden"});f.addClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"visible"}).show();dslc_masonry(d,true)}});a(document).on("click",".dslc-download-count-hook",function(b){dslc_download_count_increment(a(this).data("post-id"))});a(".dslc-notification-box-has-timeout").each(function(){var b=a(this);nTimeout="none",moduleID=b.closest(".dslc-module-front").data("module-id"),cookieID="nBox"+moduleID;if(b.data("notification-timeout")){if(Cookies.get(cookieID)==undefined){b.show()}}});a(document).on("click",".dslc-notification-box-close",function(){var b=a(this).closest(".dslc-notification-box"),c="none",d=b.closest(".dslc-module-front").data("module-id"),e="nBox"+d;if(b.data("notification-timeout")){c=b.data("notification-timeout")}if(c!=="none"){Cookies.set(e,"closed",{expires:c})}b.animate({opacity:0},400,function(){a(this).remove()})});dslc_init_lightbox();dslc_init_accordion();a(document).on("click",".dslc-accordion-hook",function(){var b=a(this).closest(".dslc-accordion-item"),c=b.siblings(".dslc-accordion-item");if(b.hasClass("dslc-active")){c=b}else{b.removeClass("dslc-inactive").addClass("dslc-active")}c.removeClass("dslc-active").addClass("dslc-inactive");a(".dslc-accordion-content",b).slideDown(300);a(".dslc-accordion-content",c).slideUp(300)});jQuery(document).on("click",".dslca-add-accordion-hook",function(){var a=jQuery(this).closest(".dslc-accordion"),b=jQuery(".dslc-accordion-item:last",a),c=b.clone().insertAfter(b);jQuery(".dslc-accordion-title",c).html("CLICK TO EDIT");jQuery(".dslc-accordion-content",c).html('<div class="dslca-editable-content">Placeholder content, click to edit. Lorem ipsum dolor sit amet, consectetur tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div><textarea class="dslca-accordion-plain-content"></textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook">Edit Content</span></div>');jQuery(".dslc-accordion-hook",c).click();dslc_accordion_generate_code(a);if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});jQuery(document).on("click",".dslca-delete-accordion-hook",function(a){var b=jQuery(this).closest(".dslc-accordion"),c=jQuery(this).closest(".dslc-accordion-item");if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}if(jQuery(".dslc-accordion-item",b).length>1){c.remove();if(!jQuery(".dslc-accordion-item.dslc-active",b).length){jQuery(".dslc-accordion-hook:first",b).trigger("click")}dslc_accordion_generate_code(b)}else{alert("You can not delete the last remaining accordion item.")}a.stopPropagation()});jQuery(document).on("click",".dslca-move-up-accordion-hook, .dslca-move-down-accordion-hook",function(a){var b=jQuery(this).closest(".dslc-accordion"),c=jQuery(this).closest(".dslc-accordion-item"),d=c.next(".dslc-accordion-item"),e=c.prev(".dslc-accordion-item");if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}if(jQuery(this).hasClass("dslca-move-down-accordion-hook")){c.insertAfter(d);dslc_accordion_generate_code(b)}else{c.insertBefore(e);dslc_accordion_generate_code(b)}a.stopPropagation()});jQuery(document).on("blur paste keyup",".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]",function(){dslc_accordion_generate_code(jQuery(this).closest(".dslc-accordion"))}).on("focus",".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]",function(){if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});a(document).on("click",".dslc-trigger-lightbox-gallery",function(a){a.preventDefault();if(jQuery(this).closest(".dslc-post").length){jQuery(this).closest(".dslc-post").find(".dslc-lightbox-gallery a:first-child").trigger("click")}else if(jQuery(this).closest(".dslc-col")){var b=jQuery(this).closest(".dslc-col").index();jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:eq("+b+")").trigger("click")}else{jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:first-child").trigger("click")}});a(".dslc-navigation li").mouseenter(function(){var b=a(this).children("ul");if(b.length){if(a(this).closest(".dslc-navigation").hasClass("dslc-navigation-sub-position-center")){var c=a(this).closest("li").width(),d=b.outerWidth(),e=parseInt(c)/2-parseInt(d)/2+"px";b.css({left:e})}b.css({display:"block"});var f=b.offset().left;var g=b.outerWidth();var h=a("body").width();if(h<f+g){b.addClass("dslc-navigation-invert-subnav")}a(this).children("ul").stop().animate({opacity:1},300)}}).mouseleave(function(){a(this).children("ul").stop().animate({opacity:0},300,function(){a(this).css({display:"none"}).children("ul").removeClass("dslc-navigation-invert-subnav")})});dslc_check_viewport();dslc_check_progress_bar_viewport();a(document).on("scroll",function(){dslc_check_viewport();dslc_check_progress_bar_viewport()})});jQuery(window).load(function(){dslc_responsive_classes();dslc_masonry();dslc_carousel();dslc_parallax();dslc_init_lightbox()});jQuery(window).resize(function(){dslc_responsive_classes();dslc_carousel_responsive()});"function"!=typeof Object.create&&(Object.create=function(a){function b(){}return b.prototype=a,new b}),function(a,b,c){var d={init:function(b,c){var d=this;d.$elem=a(c),d.options=a.extend({},a.fn.owlCarousel.options,d.$elem.data(),b),d.userOptions=b,d.loadContent()},loadContent:function(){function b(a){var b,c="";if("function"==typeof d.options.jsonSuccess)d.options.jsonSuccess.apply(this,[a]);else{for(b in a.owl)a.owl.hasOwnProperty(b)&&(c+=a.owl[b].item);d.$elem.html(c)}d.logIn()}var c,d=this;"function"==typeof d.options.beforeInit&&d.options.beforeInit.apply(this,[d.$elem]),"string"==typeof d.options.jsonPath?(c=d.options.jsonPath,a.getJSON(c,b)):d.logIn()},logIn:function(){var a=this;a.$elem.data({"owl-originalStyles":a.$elem.attr("style"),"owl-originalClasses":a.$elem.attr("class")}),a.$elem.css({opacity:0}),a.orignalItems=a.options.items,a.checkBrowser(),a.wrapperWidth=0,a.checkVisible=null,a.setVars()},setVars:function(){var a=this;return 0===a.$elem.children().length?!1:(a.baseClass(),a.eventTypes(),a.$userItems=a.$elem.children(),a.itemsAmount=a.$userItems.length,a.wrapItems(),a.$owlItems=a.$elem.find(".owl-item"),a.$owlWrapper=a.$elem.find(".owl-wrapper"),a.playDirection="next",a.prevItem=0,a.prevArr=[0],a.currentItem=0,a.customEvents(),void a.onStartup())},onStartup:function(){var a=this;a.updateItems(),a.calculateAll(),a.buildControls(),a.updateControls(),a.response(),a.moveEvents(),a.stopOnHover(),a.owlStatus(),a.options.transitionStyle!==!1&&a.transitionTypes(a.options.transitionStyle),a.options.autoPlay===!0&&(a.options.autoPlay=5e3),a.play(),a.$elem.find(".owl-wrapper").css("display","block"),a.$elem.is(":visible")?a.$elem.css("opacity",1):a.watchVisibility(),a.onstartup=!1,a.eachMoveUpdate(),"function"==typeof a.options.afterInit&&a.options.afterInit.apply(this,[a.$elem])},eachMoveUpdate:function(){var a=this;a.options.lazyLoad===!0&&a.lazyLoad(),a.options.autoHeight===!0&&a.autoHeight(),a.onVisibleItems(),"function"==typeof a.options.afterAction&&a.options.afterAction.apply(this,[a.$elem])},updateVars:function(){var a=this;"function"==typeof a.options.beforeUpdate&&a.options.beforeUpdate.apply(this,[a.$elem]),a.watchVisibility(),a.updateItems(),a.calculateAll(),a.updatePosition(),a.updateControls(),a.eachMoveUpdate(),"function"==typeof a.options.afterUpdate&&a.options.afterUpdate.apply(this,[a.$elem])},reload:function(){var a=this;b.setTimeout(function(){a.updateVars()},0)},watchVisibility:function(){var a=this;return a.$elem.is(":visible")!==!1?!1:(a.$elem.css({opacity:0}),b.clearInterval(a.autoPlayInterval),b.clearInterval(a.checkVisible),void(a.checkVisible=b.setInterval(function(){a.$elem.is(":visible")&&(a.reload(),a.$elem.animate({opacity:1},200),b.clearInterval(a.checkVisible))},500)))},wrapItems:function(){var a=this;a.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>'),a.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">'),a.wrapperOuter=a.$elem.find(".owl-wrapper-outer"),a.$elem.css("display","block")},baseClass:function(){var a=this,b=a.$elem.hasClass(a.options.baseClass),c=a.$elem.hasClass(a.options.theme);b||a.$elem.addClass(a.options.baseClass),c||a.$elem.addClass(a.options.theme)},updateItems:function(){var b,c,d=this;if(d.options.responsive===!1)return!1;if(d.options.singleItem===!0)return d.options.items=d.orignalItems=1,d.options.itemsCustom=!1,d.options.itemsDesktop=!1,d.options.itemsDesktopSmall=!1,d.options.itemsTablet=!1,d.options.itemsTabletSmall=!1,d.options.itemsMobile=!1,!1;if(b=a(d.options.responsiveBaseWidth).width(),b>(d.options.itemsDesktop[0]||d.orignalItems)&&(d.options.items=d.orignalItems),d.options.itemsCustom!==!1)for(d.options.itemsCustom.sort(function(a,b){return a[0]-b[0]}),c=0;c<d.options.itemsCustom.length;c+=1)d.options.itemsCustom[c][0]<=b&&(d.options.items=d.options.itemsCustom[c][1]);else b<=d.options.itemsDesktop[0]&&d.options.itemsDesktop!==!1&&(d.options.items=d.options.itemsDesktop[1]),b<=d.options.itemsDesktopSmall[0]&&d.options.itemsDesktopSmall!==!1&&(d.options.items=d.options.itemsDesktopSmall[1]),b<=d.options.itemsTablet[0]&&d.options.itemsTablet!==!1&&(d.options.items=d.options.itemsTablet[1]),b<=d.options.itemsTabletSmall[0]&&d.options.itemsTabletSmall!==!1&&(d.options.items=d.options.itemsTabletSmall[1]),b<=d.options.itemsMobile[0]&&d.options.itemsMobile!==!1&&(d.options.items=d.options.itemsMobile[1]);d.options.items>d.itemsAmount&&d.options.itemsScaleUp===!0&&(d.options.items=d.itemsAmount)},response:function(){var c,d,e=this;return e.options.responsive!==!0?!1:(d=a(b).width(),e.resizer=function(){a(b).width()!==d&&(e.options.autoPlay!==!1&&b.clearInterval(e.autoPlayInterval),b.clearTimeout(c),c=b.setTimeout(function(){d=a(b).width(),e.updateVars()},e.options.responsiveRefreshRate))},void a(b).resize(e.resizer))},updatePosition:function(){var a=this;a.jumpTo(a.currentItem),a.options.autoPlay!==!1&&a.checkAp()},appendItemsSizes:function(){var b=this,c=0,d=b.itemsAmount-b.options.items;b.$owlItems.each(function(e){var f=a(this);f.css({width:b.itemWidth}).data("owl-item",Number(e)),(e%b.options.items===0||e===d)&&(e>d||(c+=1)),f.data("owl-roundPages",c)})},appendWrapperSizes:function(){var a=this,b=a.$owlItems.length*a.itemWidth;a.$owlWrapper.css({width:2*b,left:0}),a.appendItemsSizes()},calculateAll:function(){var a=this;a.calculateWidth(),a.appendWrapperSizes(),a.loops(),a.max()},calculateWidth:function(){var a=this;a.itemWidth=Math.round(a.$elem.width()/a.options.items)},max:function(){var a=this,b=-1*(a.itemsAmount*a.itemWidth-a.options.items*a.itemWidth);return a.options.items>a.itemsAmount?(a.maximumItem=0,b=0,a.maximumPixels=0):(a.maximumItem=a.itemsAmount-a.options.items,a.maximumPixels=b),b},min:function(){return 0},loops:function(){var b,c,d,e=this,f=0,g=0;for(e.positionsInArray=[0],e.pagesInArray=[],b=0;b<e.itemsAmount;b+=1)g+=e.itemWidth,e.positionsInArray.push(-g),e.options.scrollPerPage===!0&&(c=a(e.$owlItems[b]),d=c.data("owl-roundPages"),d!==f&&(e.pagesInArray[f]=e.positionsInArray[b],f=d))},buildControls:function(){var b=this;(b.options.navigation===!0||b.options.pagination===!0)&&(b.owlControls=a('<div class="owl-controls"/>').toggleClass("clickable",!b.browser.isTouch).appendTo(b.$elem)),b.options.pagination===!0&&b.buildPagination(),b.options.navigation===!0&&b.buildButtons()},buildButtons:function(){var b=this,c=a('<div class="owl-buttons"/>');b.owlControls.append(c),b.buttonPrev=a("<div/>",{"class":"owl-prev",html:b.options.navigationText[0]||""}),b.buttonNext=a("<div/>",{"class":"owl-next",html:b.options.navigationText[1]||""}),c.append(b.buttonPrev).append(b.buttonNext),c.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',function(a){a.preventDefault()}),c.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',function(c){c.preventDefault(),a(this).hasClass("owl-next")?b.next():b.prev()})},buildPagination:function(){var b=this;b.paginationWrapper=a('<div class="owl-pagination"/>'),b.owlControls.append(b.paginationWrapper),b.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(c){c.preventDefault(),Number(a(this).data("owl-page"))!==b.currentItem&&b.goTo(Number(a(this).data("owl-page")),!0)})},updatePagination:function(){var b,c,d,e,f,g,h=this;if(h.options.pagination===!1)return!1;for(h.paginationWrapper.html(""),b=0,c=h.itemsAmount-h.itemsAmount%h.options.items,e=0;e<h.itemsAmount;e+=1)e%h.options.items===0&&(b+=1,c===e&&(d=h.itemsAmount-h.options.items),f=a("<div/>",{"class":"owl-page"}),g=a("<span></span>",{text:h.options.paginationNumbers===!0?b:"","class":h.options.paginationNumbers===!0?"owl-numbers":""}),f.append(g),f.data("owl-page",c===e?d:e),f.data("owl-roundPages",b),h.paginationWrapper.append(f));h.checkPagination()},checkPagination:function(){var b=this;return b.options.pagination===!1?!1:void b.paginationWrapper.find(".owl-page").each(function(){a(this).data("owl-roundPages")===a(b.$owlItems[b.currentItem]).data("owl-roundPages")&&(b.paginationWrapper.find(".owl-page").removeClass("active"),a(this).addClass("active"))})},checkNavigation:function(){var a=this;return a.options.navigation===!1?!1:void(a.options.rewindNav===!1&&(0===a.currentItem&&0===a.maximumItem?(a.buttonPrev.addClass("disabled"),a.buttonNext.addClass("disabled")):0===a.currentItem&&0!==a.maximumItem?(a.buttonPrev.addClass("disabled"),a.buttonNext.removeClass("disabled")):a.currentItem===a.maximumItem?(a.buttonPrev.removeClass("disabled"),a.buttonNext.addClass("disabled")):0!==a.currentItem&&a.currentItem!==a.maximumItem&&(a.buttonPrev.removeClass("disabled"),a.buttonNext.removeClass("disabled"))))},updateControls:function(){var a=this;a.updatePagination(),a.checkNavigation(),a.owlControls&&(a.options.items>=a.itemsAmount?a.owlControls.hide():a.owlControls.show())},destroyControls:function(){var a=this;a.owlControls&&a.owlControls.remove()},next:function(a){var b=this;if(b.isTransition)return!1;if(b.currentItem+=b.options.scrollPerPage===!0?b.options.items:1,b.currentItem>b.maximumItem+(b.options.scrollPerPage===!0?b.options.items-1:0)){if(b.options.rewindNav!==!0)return b.currentItem=b.maximumItem,!1;b.currentItem=0,a="rewind"}b.goTo(b.currentItem,a)},prev:function(a){var b=this;if(b.isTransition)return!1;if(b.options.scrollPerPage===!0&&b.currentItem>0&&b.currentItem<b.options.items?b.currentItem=0:b.currentItem-=b.options.scrollPerPage===!0?b.options.items:1,b.currentItem<0){if(b.options.rewindNav!==!0)return b.currentItem=0,!1;b.currentItem=b.maximumItem,a="rewind"}b.goTo(b.currentItem,a)},goTo:function(a,c,d){var e,f=this;return f.isTransition?!1:("function"==typeof f.options.beforeMove&&f.options.beforeMove.apply(this,[f.$elem]),a>=f.maximumItem?a=f.maximumItem:0>=a&&(a=0),f.currentItem=f.owl.currentItem=a,f.options.transitionStyle!==!1&&"drag"!==d&&1===f.options.items&&f.browser.support3d===!0?(f.swapSpeed(0),f.browser.support3d===!0?f.transition3d(f.positionsInArray[a]):f.css2slide(f.positionsInArray[a],1),f.afterGo(),f.singleItemTransition(),!1):(e=f.positionsInArray[a],f.browser.support3d===!0?(f.isCss3Finish=!1,c===!0?(f.swapSpeed("paginationSpeed"),b.setTimeout(function(){f.isCss3Finish=!0},f.options.paginationSpeed)):"rewind"===c?(f.swapSpeed(f.options.rewindSpeed),b.setTimeout(function(){f.isCss3Finish=!0},f.options.rewindSpeed)):(f.swapSpeed("slideSpeed"),b.setTimeout(function(){f.isCss3Finish=!0},f.options.slideSpeed)),f.transition3d(e)):c===!0?f.css2slide(e,f.options.paginationSpeed):"rewind"===c?f.css2slide(e,f.options.rewindSpeed):f.css2slide(e,f.options.slideSpeed),void f.afterGo()))},jumpTo:function(a){var b=this;"function"==typeof b.options.beforeMove&&b.options.beforeMove.apply(this,[b.$elem]),a>=b.maximumItem||-1===a?a=b.maximumItem:0>=a&&(a=0),b.swapSpeed(0),b.browser.support3d===!0?b.transition3d(b.positionsInArray[a]):b.css2slide(b.positionsInArray[a],1),b.currentItem=b.owl.currentItem=a,b.afterGo()},afterGo:function(){var a=this;a.prevArr.push(a.currentItem),a.prevItem=a.owl.prevItem=a.prevArr[a.prevArr.length-2],a.prevArr.shift(0),a.prevItem!==a.currentItem&&(a.checkPagination(),a.checkNavigation(),a.eachMoveUpdate(),a.options.autoPlay!==!1&&a.checkAp()),"function"==typeof a.options.afterMove&&a.prevItem!==a.currentItem&&a.options.afterMove.apply(this,[a.$elem])},stop:function(){var a=this;a.apStatus="stop",b.clearInterval(a.autoPlayInterval)},checkAp:function(){var a=this;"stop"!==a.apStatus&&a.play()},play:function(){var a=this;return a.apStatus="play",a.options.autoPlay===!1?!1:(b.clearInterval(a.autoPlayInterval),void(a.autoPlayInterval=b.setInterval(function(){a.next(!0)},a.options.autoPlay)))},swapSpeed:function(a){var b=this;"slideSpeed"===a?b.$owlWrapper.css(b.addCssSpeed(b.options.slideSpeed)):"paginationSpeed"===a?b.$owlWrapper.css(b.addCssSpeed(b.options.paginationSpeed)):"string"!=typeof a&&b.$owlWrapper.css(b.addCssSpeed(a));
2
  },addCssSpeed:function(a){return{"-webkit-transition":"all "+a+"ms ease","-moz-transition":"all "+a+"ms ease","-o-transition":"all "+a+"ms ease",transition:"all "+a+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(a){return{"-webkit-transform":"translate3d("+a+"px, 0px, 0px)","-moz-transform":"translate3d("+a+"px, 0px, 0px)","-o-transform":"translate3d("+a+"px, 0px, 0px)","-ms-transform":"translate3d("+a+"px, 0px, 0px)",transform:"translate3d("+a+"px, 0px,0px)"}},transition3d:function(a){var b=this;b.$owlWrapper.css(b.doTranslate(a))},css2move:function(a){var b=this;b.$owlWrapper.css({left:a})},css2slide:function(a,b){var c=this;c.isCssFinish=!1,c.$owlWrapper.stop(!0,!0).animate({left:a},{duration:b||c.options.slideSpeed,complete:function(){c.isCssFinish=!0}})},checkBrowser:function(){var a,d,e,f,g=this,h="translate3d(0px, 0px, 0px)",i=c.createElement("div");i.style.cssText=" -moz-transform:"+h+"; -ms-transform:"+h+"; -o-transform:"+h+"; -webkit-transform:"+h+"; transform:"+h,a=/translate3d\(0px, 0px, 0px\)/g,d=i.style.cssText.match(a),e=null!==d&&1===d.length,f="ontouchstart"in b||b.navigator.msMaxTouchPoints,g.browser={support3d:e,isTouch:f}},moveEvents:function(){var a=this;(a.options.mouseDrag!==!1||a.options.touchDrag!==!1)&&(a.gestures(),a.disabledEvents())},eventTypes:function(){var a=this,b=["s","e","x"];a.ev_types={},a.options.mouseDrag===!0&&a.options.touchDrag===!0?b=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]:a.options.mouseDrag===!1&&a.options.touchDrag===!0?b=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]:a.options.mouseDrag===!0&&a.options.touchDrag===!1&&(b=["mousedown.owl","mousemove.owl","mouseup.owl"]),a.ev_types.start=b[0],a.ev_types.move=b[1],a.ev_types.end=b[2]},disabledEvents:function(){var b=this;b.$elem.on("dragstart.owl",function(a){a.preventDefault()}),b.$elem.on("mousedown.disableTextSelect",function(b){return a(b.target).is("input, textarea, select, option")})},gestures:function(){function d(a){if(void 0!==a.touches)return{x:a.touches[0].pageX,y:a.touches[0].pageY};if(void 0===a.touches){if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY};if(void 0===a.pageX)return{x:a.clientX,y:a.clientY}}}function e(b){"on"===b?(a(c).on(i.ev_types.move,g),a(c).on(i.ev_types.end,h)):"off"===b&&(a(c).off(i.ev_types.move),a(c).off(i.ev_types.end))}function f(c){var f,g=c.originalEvent||c||b.event;if(3===g.which)return!1;if(!(i.itemsAmount<=i.options.items)){if(i.isCssFinish===!1&&!i.options.dragBeforeAnimFinish)return!1;if(i.isCss3Finish===!1&&!i.options.dragBeforeAnimFinish)return!1;i.options.autoPlay!==!1&&b.clearInterval(i.autoPlayInterval),i.browser.isTouch===!0||i.$owlWrapper.hasClass("grabbing")||i.$owlWrapper.addClass("grabbing"),i.newPosX=0,i.newRelativeX=0,a(this).css(i.removeTransition()),f=a(this).position(),j.relativePos=f.left,j.offsetX=d(g).x-f.left,j.offsetY=d(g).y-f.top,e("on"),j.sliding=!1,j.targetElement=g.target||g.srcElement}}function g(e){var f,g,h=e.originalEvent||e||b.event;i.newPosX=d(h).x-j.offsetX,i.newPosY=d(h).y-j.offsetY,i.newRelativeX=i.newPosX-j.relativePos,"function"==typeof i.options.startDragging&&j.dragging!==!0&&0!==i.newRelativeX&&(j.dragging=!0,i.options.startDragging.apply(i,[i.$elem])),(i.newRelativeX>8||i.newRelativeX<-8)&&i.browser.isTouch===!0&&(void 0!==h.preventDefault?h.preventDefault():h.returnValue=!1,j.sliding=!0),(i.newPosY>10||i.newPosY<-10)&&j.sliding===!1&&a(c).off("touchmove.owl"),f=function(){return i.newRelativeX/5},g=function(){return i.maximumPixels+i.newRelativeX/5},i.newPosX=Math.max(Math.min(i.newPosX,f()),g()),i.browser.support3d===!0?i.transition3d(i.newPosX):i.css2move(i.newPosX)}function h(c){var d,f,g,h=c.originalEvent||c||b.event;h.target=h.target||h.srcElement,j.dragging=!1,i.browser.isTouch!==!0&&i.$owlWrapper.removeClass("grabbing"),i.newRelativeX<0?i.dragDirection=i.owl.dragDirection="left":i.dragDirection=i.owl.dragDirection="right",0!==i.newRelativeX&&(d=i.getNewPosition(),i.goTo(d,!1,"drag"),j.targetElement===h.target&&i.browser.isTouch!==!0&&(a(h.target).on("click.disable",function(b){b.stopImmediatePropagation(),b.stopPropagation(),b.preventDefault(),a(b.target).off("click.disable")}),f=a._data(h.target,"events").click,g=f.pop(),f.splice(0,0,g))),e("off")}var i=this,j={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};i.isCssFinish=!0,i.$elem.on(i.ev_types.start,".owl-wrapper",f)},getNewPosition:function(){var a=this,b=a.closestItem();return b>a.maximumItem?(a.currentItem=a.maximumItem,b=a.maximumItem):a.newPosX>=0&&(b=0,a.currentItem=0),b},closestItem:function(){var b=this,c=b.options.scrollPerPage===!0?b.pagesInArray:b.positionsInArray,d=b.newPosX,e=null;return a.each(c,function(f,g){d-b.itemWidth/20>c[f+1]&&d-b.itemWidth/20<g&&"left"===b.moveDirection()?(e=g,b.options.scrollPerPage===!0?b.currentItem=a.inArray(e,b.positionsInArray):b.currentItem=f):d+b.itemWidth/20<g&&d+b.itemWidth/20>(c[f+1]||c[f]-b.itemWidth)&&"right"===b.moveDirection()&&(b.options.scrollPerPage===!0?(e=c[f+1]||c[c.length-1],b.currentItem=a.inArray(e,b.positionsInArray)):(e=c[f+1],b.currentItem=f+1))}),b.currentItem},moveDirection:function(){var a,b=this;return b.newRelativeX<0?(a="right",b.playDirection="next"):(a="left",b.playDirection="prev"),a},customEvents:function(){var a=this;a.$elem.on("owl.next",function(){a.next()}),a.$elem.on("owl.prev",function(){a.prev()}),a.$elem.on("owl.play",function(b,c){a.options.autoPlay=c,a.play(),a.hoverStatus="play"}),a.$elem.on("owl.stop",function(){a.stop(),a.hoverStatus="stop"}),a.$elem.on("owl.goTo",function(b,c){a.goTo(c)}),a.$elem.on("owl.jumpTo",function(b,c){a.jumpTo(c)})},stopOnHover:function(){var a=this;a.options.stopOnHover===!0&&a.browser.isTouch!==!0&&a.options.autoPlay!==!1&&(a.$elem.on("mouseover",function(){a.stop()}),a.$elem.on("mouseout",function(){"stop"!==a.hoverStatus&&a.play()}))},lazyLoad:function(){var b,c,d,e,f,g=this;if(g.options.lazyLoad===!1)return!1;for(b=0;b<g.itemsAmount;b+=1)c=a(g.$owlItems[b]),"loaded"!==c.data("owl-loaded")&&(d=c.data("owl-item"),e=c.find(".lazyOwl"),"string"==typeof e.data("src")?(void 0===c.data("owl-loaded")&&(e.hide(),c.addClass("loading").data("owl-loaded","checked")),f=g.options.lazyFollow===!0?d>=g.currentItem:!0,f&&d<g.currentItem+g.options.items&&e.length&&e.each(function(){g.lazyPreload(c,a(this))})):c.data("owl-loaded","loaded"))},lazyPreload:function(a,c){function d(){a.data("owl-loaded","loaded").removeClass("loading"),c.removeAttr("data-src"),"fade"===g.options.lazyEffect?c.fadeIn(400):c.show(),"function"==typeof g.options.afterLazyLoad&&g.options.afterLazyLoad.apply(this,[g.$elem])}function e(){h+=1,g.completeImg(c.get(0))||f===!0?d():100>=h?b.setTimeout(e,100):d()}var f,g=this,h=0;"DIV"===c.prop("tagName")?(c.css("background-image","url("+c.data("src")+")"),f=!0):c[0].src=c.data("src"),e()},autoHeight:function(){function c(){var c=a(f.$owlItems[f.currentItem]).height();f.wrapperOuter.css("height",c+"px"),f.wrapperOuter.hasClass("autoHeight")||b.setTimeout(function(){f.wrapperOuter.addClass("autoHeight")},0)}function d(){e+=1,f.completeImg(g.get(0))?c():100>=e?b.setTimeout(d,100):f.wrapperOuter.css("height","")}var e,f=this,g=a(f.$owlItems[f.currentItem]).find("img");void 0!==g.get(0)?(e=0,d()):c()},completeImg:function(a){var b;return a.complete?(b=typeof a.naturalWidth,"undefined"!==b&&0===a.naturalWidth?!1:!0):!1},onVisibleItems:function(){var b,c=this;for(c.options.addClassActive===!0&&c.$owlItems.removeClass("active"),c.visibleItems=[],b=c.currentItem;b<c.currentItem+c.options.items;b+=1)c.visibleItems.push(b),c.options.addClassActive===!0&&a(c.$owlItems[b]).addClass("active");c.owl.visibleItems=c.visibleItems},transitionTypes:function(a){var b=this;b.outClass="owl-"+a+"-out",b.inClass="owl-"+a+"-in"},singleItemTransition:function(){function a(a){return{position:"relative",left:a+"px"}}var b=this,c=b.outClass,d=b.inClass,e=b.$owlItems.eq(b.currentItem),f=b.$owlItems.eq(b.prevItem),g=Math.abs(b.positionsInArray[b.currentItem])+b.positionsInArray[b.prevItem],h=Math.abs(b.positionsInArray[b.currentItem])+b.itemWidth/2,i="webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend";b.isTransition=!0,b.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":h+"px","-moz-perspective-origin":h+"px","perspective-origin":h+"px"}),f.css(a(g,10)).addClass(c).on(i,function(){b.endPrev=!0,f.off(i),b.clearTransStyle(f,c)}),e.addClass(d).on(i,function(){b.endCurrent=!0,e.off(i),b.clearTransStyle(e,d)})},clearTransStyle:function(a,b){var c=this;a.css({position:"",left:""}).removeClass(b),c.endPrev&&c.endCurrent&&(c.$owlWrapper.removeClass("owl-origin"),c.endPrev=!1,c.endCurrent=!1,c.isTransition=!1)},owlStatus:function(){var a=this;a.owl={userOptions:a.userOptions,baseElement:a.$elem,userItems:a.$userItems,owlItems:a.$owlItems,currentItem:a.currentItem,prevItem:a.prevItem,visibleItems:a.visibleItems,isTouch:a.browser.isTouch,browser:a.browser,dragDirection:a.dragDirection}},clearEvents:function(){var d=this;d.$elem.off(".owl owl mousedown.disableTextSelect"),a(c).off(".owl owl"),a(b).off("resize",d.resizer)},unWrap:function(){var a=this;0!==a.$elem.children().length&&(a.$owlWrapper.unwrap(),a.$userItems.unwrap().unwrap(),a.owlControls&&a.owlControls.remove()),a.clearEvents(),a.$elem.attr({style:a.$elem.data("owl-originalStyles")||"","class":a.$elem.data("owl-originalClasses")})},destroy:function(){var a=this;a.stop(),b.clearInterval(a.checkVisible),a.unWrap(),a.$elem.removeData()},reinit:function(b){var c=this,d=a.extend({},c.userOptions,b);c.unWrap(),c.init(d,c.$elem)},addItem:function(a,b){var c,d=this;return a?0===d.$elem.children().length?(d.$elem.append(a),d.setVars(),!1):(d.unWrap(),c=void 0===b||-1===b?-1:b,c>=d.$userItems.length||-1===c?d.$userItems.eq(-1).after(a):d.$userItems.eq(c).before(a),void d.setVars()):!1},removeItem:function(a){var b,c=this;return 0===c.$elem.children().length?!1:(b=void 0===a||-1===a?-1:a,c.unWrap(),c.$userItems.eq(b).remove(),void c.setVars())}};a.fn.owlCarousel=function(b){return this.each(function(){if(a(this).data("owl-init")===!0)return!1;a(this).data("owl-init",!0);var c=Object.create(d);c.init(b,this),a.data(this,"owlCarousel",c)})},a.fn.owlCarousel.options={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:b,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}}(jQuery,window,document);!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isLowIE=b.isIE8=document.all&&!document.addEventListener,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=" mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):n.overflow="hidden");var r=b.st.mainClass;return b.isIE7&&(r+=" mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var c=r+" "+q+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:""};b.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}d.off("keyup"+p+" focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b.st.autoFocusLast&&b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||v.height();b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var f=b.st[d]?b.st[d].markup:!1;y("FirstMarkupParse",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y(k),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||!(2===c.which||c.ctrlKey||c.metaKey||c.altKey||c.shiftKey)){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};y("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(c,d){if(void 0===d||d===!1)return!0;if(e=c.split("_"),e.length>1){var f=b.find(p+"-"+e[0]);if(f.length>0){var g=e[1];"replaceWith"===g?f[0]!==d[0]&&f.replaceWith(d):"img"===g?f.is("img")?f.attr("src",d):f.replaceWith(a("<img>").attr("src",d).attr("class",f.attr("class"))):f.attr(e[1],d)}}else b.find(p+"-"+c).html(d)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery";return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),A()});(function(a){a.belowthefold=function(b,c){var d=a(window).height()+a(window).scrollTop();return d<=a(b).offset().top-c.threshold};a.abovethetop=function(b,c){var d=a(window).scrollTop();return d>=a(b).offset().top+a(b).height()-c.threshold};a.rightofscreen=function(b,c){var d=a(window).width()+a(window).scrollLeft();return d<=a(b).offset().left-c.threshold};a.leftofscreen=function(b,c){var d=a(window).scrollLeft();return d>=a(b).offset().left+a(b).width()-c.threshold};a.inviewport=function(b,c){return!a.rightofscreen(b,c)&&!a.leftofscreen(b,c)&&!a.belowthefold(b,c)&&!a.abovethetop(b,c)};a.extend(a.expr[":"],{"below-the-fold":function(b,c,d){return a.belowthefold(b,{threshold:0})},"above-the-top":function(b,c,d){
3
  return a.abovethetop(b,{threshold:0})},"left-of-screen":function(b,c,d){return a.leftofscreen(b,{threshold:0})},"right-of-screen":function(b,c,d){return a.rightofscreen(b,{threshold:0})},"in-viewport":function(b,c,d){return a.inviewport(b,{threshold:0})}})})(jQuery);!function(a){if("function"==typeof define&&define.amd)define(a);else if("object"==typeof exports)module.exports=a();else{var b=window.Cookies,c=window.Cookies=a();c.noConflict=function(){return window.Cookies=b,c}}}(function(){function a(){for(var a=0,b={};a<arguments.length;a++){var c=arguments[a];for(var d in c)b[d]=c[d]}return b}function b(c){function d(b,e,f){var g;if(arguments.length>1){if(f=a({path:"/"},d.defaults,f),"number"==typeof f.expires){var h=new Date;h.setMilliseconds(h.getMilliseconds()+864e5*f.expires),f.expires=h}try{g=JSON.stringify(e),/^[\{\[]/.test(g)&&(e=g)}catch(i){}return e=c.write?c.write(e,b):encodeURIComponent(String(e)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),b=encodeURIComponent(String(b)),b=b.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),b=b.replace(/[\(\)]/g,escape),document.cookie=[b,"=",e,f.expires&&"; expires="+f.expires.toUTCString(),f.path&&"; path="+f.path,f.domain&&"; domain="+f.domain,f.secure?"; secure":""].join("")}b||(g={});for(var j=document.cookie?document.cookie.split("; "):[],k=/(%[0-9A-Z]{2})+/g,l=0;l<j.length;l++){var m=j[l].split("="),n=m[0].replace(k,decodeURIComponent),o=m.slice(1).join("=");'"'===o.charAt(0)&&(o=o.slice(1,-1));try{if(o=c.read?c.read(o,n):c(o,n)||o.replace(k,decodeURIComponent),this.json)try{o=JSON.parse(o)}catch(i){}if(b===n){g=o;break}b||(g[n]=o)}catch(i){}}return g}return d.get=d.set=d,d.getJSON=function(){return d.apply({json:!0},[].slice.call(arguments))},d.defaults={},d.remove=function(b,c){d(b,"",a(c,{expires:-1}))},d.withConverter=b,d}return b(function(){})});
js/frontend/main.js CHANGED
@@ -49,8 +49,6 @@ function dslc_responsive_classes( force ) {
49
  body.addClass( 'dslc-res-big' );
50
  }
51
  }
52
-
53
- dslc_masonry();
54
  }
55
 
56
  /**
@@ -368,7 +366,7 @@ function dslc_masonry( dslcWrapper, dslcAnimate ) {
368
 
369
  if ( dslcContainer.data('masonry') ) {
370
 
371
- jQuery(dslcContainer).imagesLoaded(function() {
372
 
373
  jQuery(dslcContainer).masonry('destroy').masonry({
374
  gutter : dslcGutterWidth,
@@ -384,6 +382,7 @@ function dslc_masonry( dslcWrapper, dslcAnimate ) {
384
  }, 500);
385
  }
386
  });
 
387
  } else {
388
 
389
  jQuery(dslcSelector).css({ marginRight : 0 });
@@ -832,16 +831,29 @@ jQuery(document).ready(function($){
832
  */
833
  $(document).on( 'click', '.dslc-post-filter', function(){
834
 
835
- // Get info
836
- var dslcCat = $(this).data('id');
837
- var dslcPosts = $(this).closest('.dslc-module-front').find('.dslc-post');
838
- var dslcFilterPosts = $(this).closest('.dslc-module-front').find('.dslc-post[data-cats*="' + dslcCat + '"]');
839
- var dslcNotFilterPosts = $(this).closest('.dslc-module-front').find('.dslc-post:not([data-cats*="' + dslcCat + '"])');
840
- var dslcContainer = dslcPosts.closest('.dslc-posts');
841
- var dslcWrapper = $(this).closest('.dslc-module-front');
 
 
 
 
 
 
 
 
 
 
 
 
 
842
 
843
  // Set active
844
- $(this).removeClass('dslc-inactive').addClass('dslc-active').siblings('.dslc-active').removeClass('dslc-active').addClass('dslc-inactive');
845
 
846
  if ( dslcContainer.hasClass('dslc-init-grid' ) ) {
847
 
@@ -1099,6 +1111,7 @@ jQuery(document).ready(function($){
1099
  jQuery(window).load(function(){
1100
 
1101
  dslc_responsive_classes();
 
1102
  dslc_carousel();
1103
  dslc_parallax();
1104
  dslc_init_lightbox();
49
  body.addClass( 'dslc-res-big' );
50
  }
51
  }
 
 
52
  }
53
 
54
  /**
366
 
367
  if ( dslcContainer.data('masonry') ) {
368
 
369
+ jQuery(dslcContainer).imagesLoaded(function() {
370
 
371
  jQuery(dslcContainer).masonry('destroy').masonry({
372
  gutter : dslcGutterWidth,
382
  }, 500);
383
  }
384
  });
385
+
386
  } else {
387
 
388
  jQuery(dslcSelector).css({ marginRight : 0 });
831
  */
832
  $(document).on( 'click', '.dslc-post-filter', function(){
833
 
834
+ // Get info.
835
+ var selectedFilterEl = $(this);
836
+ var dslcContainer = selectedFilterEl.closest('.dslc-module-front').find('.dslc-posts');
837
+ var dslcWrapper = selectedFilterEl.closest('.dslc-module-front');
838
+
839
+ // Filter posts according to selected filter.
840
+ var dslcCat = selectedFilterEl.data('filter-id');
841
+ var dslcFilterPosts = $(); // Empty jQuery object.
842
+ var dslcNotFilterPosts = $();
843
+
844
+ if ( dslcCat === 'show-all' ) {
845
+
846
+ dslcFilterPosts = dslcContainer.closest('.dslc-module-front').find('.dslc-post');
847
+ dslcNotFilterPosts = $(); // Empty jQuery object.
848
+
849
+ } else {
850
+
851
+ dslcFilterPosts = dslcContainer.closest('.dslc-module-front').find('.dslc-post[data-cats*="' + dslcCat + '"]');
852
+ dslcNotFilterPosts = dslcContainer.closest('.dslc-module-front').find('.dslc-post:not([data-cats*="' + dslcCat + '"])');
853
+ }
854
 
855
  // Set active
856
+ selectedFilterEl.removeClass('dslc-inactive').addClass('dslc-active').siblings('.dslc-active').removeClass('dslc-active').addClass('dslc-inactive');
857
 
858
  if ( dslcContainer.hasClass('dslc-init-grid' ) ) {
859
 
1111
  jQuery(window).load(function(){
1112
 
1113
  dslc_responsive_classes();
1114
+ dslc_masonry();
1115
  dslc_carousel();
1116
  dslc_parallax();
1117
  dslc_init_lightbox();
modules/blog/module.php CHANGED
@@ -862,7 +862,6 @@ class DSLC_Blog extends DSLC_Module {
862
  'min' => 0,
863
  'max' => 10,
864
  'increment' => 1,
865
-
866
  'std' => '1',
867
  'type' => 'slider',
868
  'refresh_on_change' => false,
@@ -910,7 +909,7 @@ class DSLC_Blog extends DSLC_Module {
910
  'std' => '0',
911
  'type' => 'slider',
912
  'refresh_on_change' => false,
913
- 'affect_on_change_el' => '.dslc-blog-post-main',
914
  'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius',
915
  'min' => 0,
916
  'max' => 100,
@@ -928,7 +927,7 @@ class DSLC_Blog extends DSLC_Module {
928
  'std' => '4',
929
  'type' => 'slider',
930
  'refresh_on_change' => false,
931
- 'affect_on_change_el' => '.dslc-blog-post-main',
932
  'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius',
933
  'min' => 0,
934
  'max' => 100,
@@ -992,6 +991,18 @@ class DSLC_Blog extends DSLC_Module {
992
  'section' => 'styling',
993
  'tab' => __( 'Main', 'live-composer-page-builder' ),
994
  ),
 
 
 
 
 
 
 
 
 
 
 
 
995
 
996
  /**
997
  * Main Inner
@@ -3344,10 +3355,10 @@ class DSLC_Blog extends DSLC_Module {
3344
  ?>
3345
 
3346
  <div class="dslc-post-filters">
3347
- <span class="dslc-post-filter dslc-active dslca-editable-content" data-id="<?php if ( $dslc_is_admin ){ echo 'main_filter_title_all'; } else { echo ''; } ?>" data-type="simple" <?php if ( $dslc_is_admin ) echo 'contenteditable'; ?> ><?php echo $options['main_filter_title_all']; ?></span>
3348
 
3349
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
3350
- <span class="dslc-post-filter dslc-inactive" data-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
3351
  <?php endforeach; ?>
3352
 
3353
  </div><!-- .dslc-post-filters -->
862
  'min' => 0,
863
  'max' => 10,
864
  'increment' => 1,
 
865
  'std' => '1',
866
  'type' => 'slider',
867
  'refresh_on_change' => false,
909
  'std' => '0',
910
  'type' => 'slider',
911
  'refresh_on_change' => false,
912
+ 'affect_on_change_el' => '.dslc-post',
913
  'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius',
914
  'min' => 0,
915
  'max' => 100,
927
  'std' => '4',
928
  'type' => 'slider',
929
  'refresh_on_change' => false,
930
+ 'affect_on_change_el' => '.dslc-post',
931
  'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius',
932
  'min' => 0,
933
  'max' => 100,
991
  'section' => 'styling',
992
  'tab' => __( 'Main', 'live-composer-page-builder' ),
993
  ),
994
+ array(
995
+ 'label' => __( 'Box Shadow', 'live-composer-page-builder' ),
996
+ 'id' => 'css_main_box_shadow',
997
+ 'std' => '',
998
+ 'type' => 'box_shadow',
999
+ 'wihtout_inner_shadow' => true,
1000
+ 'refresh_on_change' => false,
1001
+ 'affect_on_change_el' => '.dslc-post',
1002
+ 'affect_on_change_rule' => 'box-shadow',
1003
+ 'section' => 'styling',
1004
+ 'tab' => __( 'Main', 'live-composer-page-builder' ),
1005
+ ),
1006
 
1007
  /**
1008
  * Main Inner
3355
  ?>
3356
 
3357
  <div class="dslc-post-filters">
3358
+ <span class="dslc-post-filter dslc-active dslca-editable-content" data-filter-id="show-all" <?php if ( $dslc_is_admin ){ echo 'data-id="main_filter_title_all" data-type="simple" contenteditable '; } ?>><?php echo $options['main_filter_title_all']; ?></span>
3359
 
3360
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
3361
+ <span class="dslc-post-filter dslc-inactive" data-filter-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
3362
  <?php endforeach; ?>
3363
 
3364
  </div><!-- .dslc-post-filters -->
modules/downloads/module.php CHANGED
@@ -770,7 +770,7 @@ class DSLC_Downloads extends DSLC_Module {
770
  'std' => '0',
771
  'type' => 'slider',
772
  'refresh_on_change' => false,
773
- 'affect_on_change_el' => '.dslc-download-main',
774
  'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius',
775
  'min' => 0,
776
  'max' => 100,
@@ -788,7 +788,7 @@ class DSLC_Downloads extends DSLC_Module {
788
  'std' => '3',
789
  'type' => 'slider',
790
  'refresh_on_change' => false,
791
- 'affect_on_change_el' => '.dslc-download-main',
792
  'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius',
793
  'min' => 0,
794
  'max' => 100,
@@ -852,6 +852,18 @@ class DSLC_Downloads extends DSLC_Module {
852
  'section' => 'styling',
853
  'tab' => __( 'Main', 'live-composer-page-builder' ),
854
  ),
 
 
 
 
 
 
 
 
 
 
 
 
855
 
856
  /**
857
  * Main Inner
@@ -2707,11 +2719,10 @@ class DSLC_Downloads extends DSLC_Module {
2707
  ?>
2708
 
2709
  <div class="dslc-post-filters">
2710
-
2711
- <span class="dslc-post-filter dslc-active" data-id=" "><?php _ex( 'All', 'Post Filter', 'live-composer-page-builder' ); ?></span>
2712
 
2713
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
2714
- <span class="dslc-post-filter dslc-inactive" data-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
2715
  <?php endforeach; ?>
2716
 
2717
  </div><!-- .dslc-post-filters -->
@@ -2858,9 +2869,9 @@ class DSLC_Downloads extends DSLC_Module {
2858
 
2859
  <?php if ( ( $options['main_location'] == 'inside' || $options['main_location'] == 'inside_visible' ) && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'tags', $post_elements ) || in_array( 'excerpt', $post_elements ) || in_array( 'button', $post_elements ) || in_array( 'count', $post_elements ) ) ) : ?>
2860
 
2861
- <div class="dslc-post-main dslc-download-main dslc-init-<?php echo $options['main_position']; ?> <?php if ( $options['main_location'] == 'inside_visible' ) echo 'dslc-download-main-visible'; ?>">
2862
 
2863
- <div class="dslc-download-main-inner dslc-init-target dslc-on-hover-anim-target dslc-anim-<?php echo $options['css_anim_hover']; ?>" data-dslc-anim="<?php echo $options['css_anim_hover'] ?>" data-dslc-anim-speed="<?php echo $options['css_anim_speed']; ?>">
2864
 
2865
  <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
2866
 
770
  'std' => '0',
771
  'type' => 'slider',
772
  'refresh_on_change' => false,
773
+ 'affect_on_change_el' => '.dslc-post',
774
  'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius',
775
  'min' => 0,
776
  'max' => 100,
788
  'std' => '3',
789
  'type' => 'slider',
790
  'refresh_on_change' => false,
791
+ 'affect_on_change_el' => '.dslc-post',
792
  'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius',
793
  'min' => 0,
794
  'max' => 100,
852
  'section' => 'styling',
853
  'tab' => __( 'Main', 'live-composer-page-builder' ),
854
  ),
855
+ array(
856
+ 'label' => __( 'Box Shadow', 'live-composer-page-builder' ),
857
+ 'id' => 'css_main_box_shadow',
858
+ 'std' => '',
859
+ 'type' => 'box_shadow',
860
+ 'wihtout_inner_shadow' => true,
861
+ 'refresh_on_change' => false,
862
+ 'affect_on_change_el' => '.dslc-post',
863
+ 'affect_on_change_rule' => 'box-shadow',
864
+ 'section' => 'styling',
865
+ 'tab' => __( 'Main', 'live-composer-page-builder' ),
866
+ ),
867
 
868
  /**
869
  * Main Inner
2719
  ?>
2720
 
2721
  <div class="dslc-post-filters">
2722
+ <span class="dslc-post-filter dslc-active dslca-editable-content" data-filter-id="show-all" <?php if ( $dslc_is_admin ){ echo 'data-id="main_filter_title_all" data-type="simple" contenteditable '; } ?>><?php echo $options['main_filter_title_all']; ?></span>
 
2723
 
2724
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
2725
+ <span class="dslc-post-filter dslc-inactive" data-filter-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
2726
  <?php endforeach; ?>
2727
 
2728
  </div><!-- .dslc-post-filters -->
2869
 
2870
  <?php if ( ( $options['main_location'] == 'inside' || $options['main_location'] == 'inside_visible' ) && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'tags', $post_elements ) || in_array( 'excerpt', $post_elements ) || in_array( 'button', $post_elements ) || in_array( 'count', $post_elements ) ) ) : ?>
2871
 
2872
+ <div class="dslc-download-main dslc-init-<?php echo $options['main_position']; ?> <?php if ( $options['main_location'] == 'inside_visible' ) echo 'dslc-download-main-visible'; ?> dslc-on-hover-anim-target dslc-anim-<?php echo $options['css_anim_hover']; ?>" data-dslc-anim="<?php echo $options['css_anim_hover'] ?>" data-dslc-anim-speed="<?php echo $options['css_anim_speed']; ?>">
2873
 
2874
+ <div class="dslc-download-main-inner dslc-init-target">
2875
 
2876
  <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
2877
 
modules/galleries/module.php CHANGED
@@ -48,7 +48,7 @@ class DSLC_Galleries extends DSLC_Module {
48
  foreach ( $cats as $cat ) {
49
  $cats_choices[] = array(
50
  'label' => $cat->name,
51
- 'value' => $cat->slug
52
  );
53
  }
54
 
@@ -62,15 +62,15 @@ class DSLC_Galleries extends DSLC_Module {
62
  'choices' => array(
63
  array(
64
  'label' => __( 'Desktop', 'live-composer-page-builder' ),
65
- 'value' => 'desktop'
66
  ),
67
  array(
68
  'label' => __( 'Tablet', 'live-composer-page-builder' ),
69
- 'value' => 'tablet'
70
  ),
71
  array(
72
  'label' => __( 'Phone', 'live-composer-page-builder' ),
73
- 'value' => 'phone'
74
  ),
75
  ),
76
  ),
@@ -82,17 +82,17 @@ class DSLC_Galleries extends DSLC_Module {
82
  'choices' => array(
83
  array(
84
  'label' => __( 'Grid', 'live-composer-page-builder' ),
85
- 'value' => 'grid'
86
  ),
87
  array(
88
  'label' => __( 'Masonry Grid', 'live-composer-page-builder' ),
89
- 'value' => 'masonry'
90
  ),
91
  array(
92
  'label' => __( 'Carousel', 'live-composer-page-builder' ),
93
- 'value' => 'carousel'
94
- )
95
- )
96
  ),
97
  array(
98
  'label' => __( 'Orientation', 'live-composer-page-builder' ),
@@ -102,13 +102,13 @@ class DSLC_Galleries extends DSLC_Module {
102
  'choices' => array(
103
  array(
104
  'label' => __( 'Vertical', 'live-composer-page-builder' ),
105
- 'value' => 'vertical'
106
  ),
107
  array(
108
  'label' => __( 'Horizontal', 'live-composer-page-builder' ),
109
- 'value' => 'horizontal'
110
- )
111
- )
112
  ),
113
  array(
114
  'label' => __( 'Posts Per Page', 'live-composer-page-builder' ),
@@ -152,7 +152,7 @@ class DSLC_Galleries extends DSLC_Module {
152
  'id' => 'categories',
153
  'std' => '',
154
  'type' => 'checkbox',
155
- 'choices' => $cats_choices
156
  ),
157
  array(
158
  'label' => __( 'Categories Operator', 'live-composer-page-builder' ),
@@ -173,7 +173,7 @@ class DSLC_Galleries extends DSLC_Module {
173
  'label' => __( 'NOT IN', 'live-composer-page-builder' ),
174
  'value' => 'NOT IN',
175
  ),
176
- )
177
  ),
178
  array(
179
  'label' => __( 'Order By', 'live-composer-page-builder' ),
@@ -183,25 +183,25 @@ class DSLC_Galleries extends DSLC_Module {
183
  'choices' => array(
184
  array(
185
  'label' => __( 'Publish Date', 'live-composer-page-builder' ),
186
- 'value' => 'date'
187
  ),
188
  array(
189
  'label' => __( 'Modified Date', 'live-composer-page-builder' ),
190
- 'value' => 'modified'
191
  ),
192
  array(
193
  'label' => __( 'Random', 'live-composer-page-builder' ),
194
- 'value' => 'rand'
195
  ),
196
  array(
197
  'label' => __( 'Alphabetic', 'live-composer-page-builder' ),
198
- 'value' => 'title'
199
  ),
200
  array(
201
  'label' => __( 'Comment Count', 'live-composer-page-builder' ),
202
- 'value' => 'comment_count'
203
  ),
204
- )
205
  ),
206
  array(
207
  'label' => __( 'Order', 'live-composer-page-builder' ),
@@ -211,13 +211,13 @@ class DSLC_Galleries extends DSLC_Module {
211
  'choices' => array(
212
  array(
213
  'label' => __( 'Ascending', 'live-composer-page-builder' ),
214
- 'value' => 'ASC'
215
  ),
216
  array(
217
  'label' => __( 'Descending', 'live-composer-page-builder' ),
218
- 'value' => 'DESC'
219
  )
220
- )
221
  ),
222
  array(
223
  'label' => __( 'Offset', 'live-composer-page-builder' ),
@@ -246,12 +246,12 @@ class DSLC_Galleries extends DSLC_Module {
246
  'choices' => array(
247
  array(
248
  'label' => __( 'Normal', 'live-composer-page-builder' ),
249
- 'value' => 'regular'
250
  ),
251
  array(
252
  'label' => __( 'Lightbox', 'live-composer-page-builder' ),
253
- 'value' => 'lightbox'
254
- )
255
  ),
256
  'tab' => __( 'Other', 'live-composer-page-builder' ),
257
  ),
@@ -263,17 +263,17 @@ class DSLC_Galleries extends DSLC_Module {
263
  'choices' => array(
264
  array(
265
  'label' => __( 'Normal', 'live-composer-page-builder' ),
266
- 'value' => 'regular'
267
  ),
268
  array(
269
  'label' => __( 'Lightbox', 'live-composer-page-builder' ),
270
- 'value' => 'lightbox'
271
- )
272
  ),
273
  'tab' => __( 'Other', 'live-composer-page-builder' ),
274
  ),
275
 
276
- // Archive Listinging
277
  array(
278
  'label' => __( 'Archive/Search Listing', 'live-composer-page-builder' ),
279
  'id' => 'query_alter',
@@ -282,11 +282,11 @@ class DSLC_Galleries extends DSLC_Module {
282
  'choices' => array(
283
  array(
284
  'label' => __( 'Apply Page Query', 'live-composer-page-builder' ),
285
- 'value' => 'enabled'
286
  ),
287
  array(
288
  'label' => __( 'Ignore Page Query', 'live-composer-page-builder' ),
289
- 'value' => 'disabled'
290
  ),
291
  ),
292
  'help' => __( 'Apply Page Query – show posts according to the selected tag, category, author or search query.<br /> Ignore Page Query – ignore the page query and list posts as on any other page.', 'live-composer-page-builder' ),
@@ -304,11 +304,11 @@ class DSLC_Galleries extends DSLC_Module {
304
  'choices' => array(
305
  array(
306
  'label' => __( 'Heading', 'live-composer-page-builder' ),
307
- 'value' => 'main_heading'
308
  ),
309
  array(
310
  'label' => __( 'Filters', 'live-composer-page-builder' ),
311
- 'value' => 'filters'
312
  ),
313
  ),
314
  'section' => 'styling',
@@ -334,16 +334,16 @@ class DSLC_Galleries extends DSLC_Module {
334
  ),
335
  array(
336
  'label' => __( 'Separator', 'live-composer-page-builder' ),
337
- 'value' => 'separator'
338
  ),
339
  array(
340
  'label' => __( 'Excerpt', 'live-composer-page-builder' ),
341
- 'value' => 'excerpt'
342
  ),
343
  array(
344
  'label' => __( 'Button', 'live-composer-page-builder' ),
345
- 'value' => 'button'
346
- )
347
  ),
348
  'section' => 'styling',
349
  ),
@@ -356,11 +356,11 @@ class DSLC_Galleries extends DSLC_Module {
356
  'choices' => array(
357
  array(
358
  'label' => __( 'Arrows', 'live-composer-page-builder' ),
359
- 'value' => 'arrows'
360
  ),
361
  array(
362
  'label' => __( 'Circles', 'live-composer-page-builder' ),
363
- 'value' => 'circles'
364
  ),
365
  ),
366
  'section' => 'styling',
@@ -391,7 +391,7 @@ class DSLC_Galleries extends DSLC_Module {
391
  'ext' => 'px',
392
  'min' => 0,
393
  'max' => 1000,
394
- 'increment' => 5
395
  ),
396
 
397
  /**
@@ -406,11 +406,11 @@ class DSLC_Galleries extends DSLC_Module {
406
  'choices' => array(
407
  array(
408
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
409
- 'value' => 'enabled'
410
  ),
411
  array(
412
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
413
- 'value' => 'disabled'
414
  ),
415
  ),
416
  'section' => 'styling',
@@ -463,19 +463,19 @@ class DSLC_Galleries extends DSLC_Module {
463
  'choices' => array(
464
  array(
465
  'label' => __( 'Invisible', 'live-composer-page-builder' ),
466
- 'value' => 'none'
467
  ),
468
  array(
469
  'label' => __( 'Solid', 'live-composer-page-builder' ),
470
- 'value' => 'solid'
471
  ),
472
  array(
473
  'label' => __( 'Dashed', 'live-composer-page-builder' ),
474
- 'value' => 'dashed'
475
  ),
476
  array(
477
  'label' => __( 'Dotted', 'live-composer-page-builder' ),
478
- 'value' => 'dotted'
479
  ),
480
  ),
481
  'refresh_on_change' => false,
@@ -528,7 +528,7 @@ class DSLC_Galleries extends DSLC_Module {
528
  'min' => 0,
529
  'max' => 10,
530
  'increment' => 1,
531
-
532
  'std' => '1',
533
  'type' => 'slider',
534
  'refresh_on_change' => false,
@@ -546,19 +546,19 @@ class DSLC_Galleries extends DSLC_Module {
546
  'choices' => array(
547
  array(
548
  'label' => __( 'Top', 'live-composer-page-builder' ),
549
- 'value' => 'top'
550
  ),
551
  array(
552
  'label' => __( 'Right', 'live-composer-page-builder' ),
553
- 'value' => 'right'
554
  ),
555
  array(
556
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
557
- 'value' => 'bottom'
558
  ),
559
  array(
560
  'label' => __( 'Left', 'live-composer-page-builder' ),
561
- 'value' => 'left'
562
  ),
563
  ),
564
  'refresh_on_change' => false,
@@ -671,7 +671,7 @@ class DSLC_Galleries extends DSLC_Module {
671
  'type' => 'text',
672
  'section' => 'styling',
673
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
674
- 'visibility' => 'hidden'
675
  ),
676
  array(
677
  'label' => __( 'Width', 'live-composer-page-builder' ),
@@ -737,19 +737,19 @@ class DSLC_Galleries extends DSLC_Module {
737
  'choices' => array(
738
  array(
739
  'label' => __( 'Top', 'live-composer-page-builder' ),
740
- 'value' => 'top'
741
  ),
742
  array(
743
  'label' => __( 'Right', 'live-composer-page-builder' ),
744
- 'value' => 'right'
745
  ),
746
  array(
747
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
748
- 'value' => 'bottom'
749
  ),
750
  array(
751
  'label' => __( 'Left', 'live-composer-page-builder' ),
752
- 'value' => 'left'
753
  ),
754
  ),
755
  'refresh_on_change' => false,
@@ -785,12 +785,13 @@ class DSLC_Galleries extends DSLC_Module {
785
  'std' => '0',
786
  'type' => 'slider',
787
  'refresh_on_change' => false,
788
- 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count',
789
  'affect_on_change_rule' => 'margin',
790
  'section' => 'styling',
791
  'tab' => __( 'Count', 'live-composer-page-builder' ),
792
  'ext' => 'px',
793
  ),
 
794
  array(
795
  'label' => __( 'Opacity', 'live-composer-page-builder' ),
796
  'id' => 'css_count_bg_opacity',
@@ -805,6 +806,7 @@ class DSLC_Galleries extends DSLC_Module {
805
  'max' => 1,
806
  'increment' => 0.01
807
  ),
 
808
  array(
809
  'label' => __( 'Position', 'live-composer-page-builder' ),
810
  'id' => 'count_pos',
@@ -815,25 +817,25 @@ class DSLC_Galleries extends DSLC_Module {
815
  'choices' => array(
816
  array(
817
  'label' => __( 'Top Left', 'live-composer-page-builder' ),
818
- 'value' => 'topleft'
819
  ),
820
  array(
821
  'label' => __( 'Top Right', 'live-composer-page-builder' ),
822
- 'value' => 'topright'
823
  ),
824
  array(
825
  'label' => __( 'Center', 'live-composer-page-builder' ),
826
- 'value' => 'center'
827
  ),
828
  array(
829
  'label' => __( 'Bottom Left', 'live-composer-page-builder' ),
830
- 'value' => 'bottomleft'
831
  ),
832
  array(
833
  'label' => __( 'Bottom Right', 'live-composer-page-builder' ),
834
- 'value' => 'bottomright'
835
  ),
836
- )
837
  ),
838
  array(
839
  'label' => __( 'Padding', 'live-composer-page-builder' ),
@@ -841,7 +843,7 @@ class DSLC_Galleries extends DSLC_Module {
841
  'std' => '20',
842
  'type' => 'slider',
843
  'refresh_on_change' => false,
844
- 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count',
845
  'affect_on_change_rule' => 'padding',
846
  'section' => 'styling',
847
  'ext' => 'px',
@@ -1059,15 +1061,15 @@ class DSLC_Galleries extends DSLC_Module {
1059
  'choices' => array(
1060
  array(
1061
  'label' => __( 'Bellow Thumbnail', 'live-composer-page-builder' ),
1062
- 'value' => 'bellow'
1063
  ),
1064
  array(
1065
  'label' => __( 'Inside Thumbnail ( hover )', 'live-composer-page-builder' ),
1066
- 'value' => 'inside'
1067
  ),
1068
  array(
1069
  'label' => __( 'Inside Thumbnail ( always visible )', 'live-composer-page-builder' ),
1070
- 'value' => 'inside_visible'
1071
  ),
1072
  ),
1073
  ),
@@ -1099,7 +1101,7 @@ class DSLC_Galleries extends DSLC_Module {
1099
  'min' => 0,
1100
  'max' => 10,
1101
  'increment' => 1,
1102
-
1103
  'std' => '1',
1104
  'type' => 'slider',
1105
  'refresh_on_change' => false,
@@ -1117,19 +1119,19 @@ class DSLC_Galleries extends DSLC_Module {
1117
  'choices' => array(
1118
  array(
1119
  'label' => __( 'Top', 'live-composer-page-builder' ),
1120
- 'value' => 'top'
1121
  ),
1122
  array(
1123
  'label' => __( 'Right', 'live-composer-page-builder' ),
1124
- 'value' => 'right'
1125
  ),
1126
  array(
1127
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
1128
- 'value' => 'bottom'
1129
  ),
1130
  array(
1131
  'label' => __( 'Left', 'live-composer-page-builder' ),
1132
- 'value' => 'left'
1133
  ),
1134
  ),
1135
  'refresh_on_change' => false,
@@ -1147,7 +1149,7 @@ class DSLC_Galleries extends DSLC_Module {
1147
  'std' => '0',
1148
  'type' => 'slider',
1149
  'refresh_on_change' => false,
1150
- 'affect_on_change_el' => '.dslc-gallery-main',
1151
  'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius',
1152
  'min' => 0,
1153
  'max' => 100,
@@ -1165,7 +1167,7 @@ class DSLC_Galleries extends DSLC_Module {
1165
  'std' => '3',
1166
  'type' => 'slider',
1167
  'refresh_on_change' => false,
1168
- 'affect_on_change_el' => '.dslc-gallery-main',
1169
  'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius',
1170
  'min' => 0,
1171
  'max' => 100,
@@ -1186,7 +1188,7 @@ class DSLC_Galleries extends DSLC_Module {
1186
  'ext' => 'px',
1187
  'tab' => __( 'Main', 'live-composer-page-builder' ),
1188
  'min' => 0,
1189
- 'max' => 500
1190
  ),
1191
  array(
1192
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -1229,6 +1231,18 @@ class DSLC_Galleries extends DSLC_Module {
1229
  'section' => 'styling',
1230
  'tab' => __( 'Main', 'live-composer-page-builder' ),
1231
  ),
 
 
 
 
 
 
 
 
 
 
 
 
1232
 
1233
  /**
1234
  * Main Inner
@@ -1244,23 +1258,23 @@ class DSLC_Galleries extends DSLC_Module {
1244
  'choices' => array(
1245
  array(
1246
  'label' => __( 'Top Left', 'live-composer-page-builder' ),
1247
- 'value' => 'topleft'
1248
  ),
1249
  array(
1250
  'label' => __( 'Top Right', 'live-composer-page-builder' ),
1251
- 'value' => 'topright'
1252
  ),
1253
  array(
1254
  'label' => __( 'Center', 'live-composer-page-builder' ),
1255
- 'value' => 'center'
1256
  ),
1257
  array(
1258
  'label' => __( 'Bottom Left', 'live-composer-page-builder' ),
1259
- 'value' => 'bottomleft'
1260
  ),
1261
  array(
1262
  'label' => __( 'Bottom Right', 'live-composer-page-builder' ),
1263
- 'value' => 'bottomright'
1264
  ),
1265
  )
1266
  ),
@@ -1432,19 +1446,19 @@ class DSLC_Galleries extends DSLC_Module {
1432
  'choices' => array(
1433
  array(
1434
  'label' => __( 'None', 'live-composer-page-builder' ),
1435
- 'value' => 'none'
1436
  ),
1437
  array(
1438
  'label' => __( 'Capitalize', 'live-composer-page-builder' ),
1439
- 'value' => 'capitalize'
1440
  ),
1441
  array(
1442
  'label' => __( 'Uppercase', 'live-composer-page-builder' ),
1443
- 'value' => 'uppercase'
1444
  ),
1445
  array(
1446
  'label' => __( 'Lowercase', 'live-composer-page-builder' ),
1447
- 'value' => 'lowercase'
1448
  ),
1449
  ),
1450
  'refresh_on_change' => false,
@@ -1497,11 +1511,11 @@ class DSLC_Galleries extends DSLC_Module {
1497
  'choices' => array(
1498
  array(
1499
  'label' => __( 'Excerpt', 'live-composer-page-builder' ),
1500
- 'value' => 'excerpt'
1501
  ),
1502
  array(
1503
  'label' => __( 'Content', 'live-composer-page-builder' ),
1504
- 'value' => 'content'
1505
  ),
1506
  ),
1507
  'section' => 'styling',
@@ -1698,19 +1712,19 @@ class DSLC_Galleries extends DSLC_Module {
1698
  'choices' => array(
1699
  array(
1700
  'label' => __( 'Top', 'live-composer-page-builder' ),
1701
- 'value' => 'top'
1702
  ),
1703
  array(
1704
  'label' => __( 'Right', 'live-composer-page-builder' ),
1705
- 'value' => 'right'
1706
  ),
1707
  array(
1708
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
1709
- 'value' => 'bottom'
1710
  ),
1711
  array(
1712
  'label' => __( 'Left', 'live-composer-page-builder' ),
1713
- 'value' => 'left'
1714
  ),
1715
  ),
1716
  'refresh_on_change' => false,
@@ -1945,11 +1959,11 @@ class DSLC_Galleries extends DSLC_Module {
1945
  'choices' => array(
1946
  array(
1947
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
1948
- 'value' => 'disabled'
1949
  ),
1950
  array(
1951
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
1952
- 'value' => 'enabled'
1953
  ),
1954
  ),
1955
  'section' => 'responsive',
@@ -2038,7 +2052,7 @@ class DSLC_Galleries extends DSLC_Module {
2038
  'std' => '0',
2039
  'type' => 'slider',
2040
  'refresh_on_change' => false,
2041
- 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count',
2042
  'affect_on_change_rule' => 'margin',
2043
  'section' => 'responsive',
2044
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
@@ -2050,7 +2064,7 @@ class DSLC_Galleries extends DSLC_Module {
2050
  'std' => '20',
2051
  'type' => 'slider',
2052
  'refresh_on_change' => false,
2053
- 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count',
2054
  'affect_on_change_rule' => 'padding',
2055
  'section' => 'responsive',
2056
  'ext' => 'px',
@@ -2233,11 +2247,11 @@ class DSLC_Galleries extends DSLC_Module {
2233
  'choices' => array(
2234
  array(
2235
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
2236
- 'value' => 'disabled'
2237
  ),
2238
  array(
2239
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
2240
- 'value' => 'enabled'
2241
  ),
2242
  ),
2243
  'section' => 'responsive',
@@ -2326,7 +2340,7 @@ class DSLC_Galleries extends DSLC_Module {
2326
  'std' => '0',
2327
  'type' => 'slider',
2328
  'refresh_on_change' => false,
2329
- 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count',
2330
  'affect_on_change_rule' => 'margin',
2331
  'section' => 'responsive',
2332
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
@@ -2338,7 +2352,7 @@ class DSLC_Galleries extends DSLC_Module {
2338
  'std' => '20',
2339
  'type' => 'slider',
2340
  'refresh_on_change' => false,
2341
- 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count',
2342
  'affect_on_change_rule' => 'padding',
2343
  'section' => 'responsive',
2344
  'ext' => 'px',
@@ -2793,11 +2807,10 @@ class DSLC_Galleries extends DSLC_Module {
2793
  ?>
2794
 
2795
  <div class="dslc-post-filters">
2796
-
2797
- <span class="dslc-post-filter dslc-active" data-id=" "><?php _ex( 'All', 'Post Filter', 'live-composer-page-builder' ); ?></span>
2798
 
2799
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
2800
- <span class="dslc-post-filter dslc-inactive" data-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
2801
  <?php endforeach; ?>
2802
 
2803
  </div><!-- .dslc-post-filters -->
@@ -2937,8 +2950,7 @@ class DSLC_Galleries extends DSLC_Module {
2937
 
2938
  <?php if ( $post_elements == 'all' || in_array( 'count', $post_elements ) ) : ?>
2939
  <a href="<?php echo $the_permalink; ?>" class="<?php echo $thumb_anchor_class; ?> dslc-gallery-images-count dslc-init-square dslc-init-<?php echo $options['count_pos']; ?>">
2940
- <span class="dslc-gallery-images-count-bg"></span>
2941
- <span class="dslc-gallery-images-count-main">
2942
  <span class="dslc-gallery-images-count-num"><?php echo $gallery_images_count; ?></span>
2943
  <span class="dslc-gallery-images-count-txt"><?php echo $options['count_text']; ?></span>
2944
  </span>
48
  foreach ( $cats as $cat ) {
49
  $cats_choices[] = array(
50
  'label' => $cat->name,
51
+ 'value' => $cat->slug,
52
  );
53
  }
54
 
62
  'choices' => array(
63
  array(
64
  'label' => __( 'Desktop', 'live-composer-page-builder' ),
65
+ 'value' => 'desktop',
66
  ),
67
  array(
68
  'label' => __( 'Tablet', 'live-composer-page-builder' ),
69
+ 'value' => 'tablet',
70
  ),
71
  array(
72
  'label' => __( 'Phone', 'live-composer-page-builder' ),
73
+ 'value' => 'phone',
74
  ),
75
  ),
76
  ),
82
  'choices' => array(
83
  array(
84
  'label' => __( 'Grid', 'live-composer-page-builder' ),
85
+ 'value' => 'grid',
86
  ),
87
  array(
88
  'label' => __( 'Masonry Grid', 'live-composer-page-builder' ),
89
+ 'value' => 'masonry',
90
  ),
91
  array(
92
  'label' => __( 'Carousel', 'live-composer-page-builder' ),
93
+ 'value' => 'carousel',
94
+ ),
95
+ ),
96
  ),
97
  array(
98
  'label' => __( 'Orientation', 'live-composer-page-builder' ),
102
  'choices' => array(
103
  array(
104
  'label' => __( 'Vertical', 'live-composer-page-builder' ),
105
+ 'value' => 'vertical',
106
  ),
107
  array(
108
  'label' => __( 'Horizontal', 'live-composer-page-builder' ),
109
+ 'value' => 'horizontal',
110
+ ),
111
+ ),
112
  ),
113
  array(
114
  'label' => __( 'Posts Per Page', 'live-composer-page-builder' ),
152
  'id' => 'categories',
153
  'std' => '',
154
  'type' => 'checkbox',
155
+ 'choices' => $cats_choices,
156
  ),
157
  array(
158
  'label' => __( 'Categories Operator', 'live-composer-page-builder' ),
173
  'label' => __( 'NOT IN', 'live-composer-page-builder' ),
174
  'value' => 'NOT IN',
175
  ),
176
+ ),
177
  ),
178
  array(
179
  'label' => __( 'Order By', 'live-composer-page-builder' ),
183
  'choices' => array(
184
  array(
185
  'label' => __( 'Publish Date', 'live-composer-page-builder' ),
186
+ 'value' => 'date',
187
  ),
188
  array(
189
  'label' => __( 'Modified Date', 'live-composer-page-builder' ),
190
+ 'value' => 'modified',
191
  ),
192
  array(
193
  'label' => __( 'Random', 'live-composer-page-builder' ),
194
+ 'value' => 'rand',
195
  ),
196
  array(
197
  'label' => __( 'Alphabetic', 'live-composer-page-builder' ),
198
+ 'value' => 'title',
199
  ),
200
  array(
201
  'label' => __( 'Comment Count', 'live-composer-page-builder' ),
202
+ 'value' => 'comment_count',
203
  ),
204
+ ),
205
  ),
206
  array(
207
  'label' => __( 'Order', 'live-composer-page-builder' ),
211
  'choices' => array(
212
  array(
213
  'label' => __( 'Ascending', 'live-composer-page-builder' ),
214
+ 'value' => 'ASC',
215
  ),
216
  array(
217
  'label' => __( 'Descending', 'live-composer-page-builder' ),
218
+ 'value' => 'DESC',
219
  )
220
+ ),
221
  ),
222
  array(
223
  'label' => __( 'Offset', 'live-composer-page-builder' ),
246
  'choices' => array(
247
  array(
248
  'label' => __( 'Normal', 'live-composer-page-builder' ),
249
+ 'value' => 'regular',
250
  ),
251
  array(
252
  'label' => __( 'Lightbox', 'live-composer-page-builder' ),
253
+ 'value' => 'lightbox',
254
+ ),
255
  ),
256
  'tab' => __( 'Other', 'live-composer-page-builder' ),
257
  ),
263
  'choices' => array(
264
  array(
265
  'label' => __( 'Normal', 'live-composer-page-builder' ),
266
+ 'value' => 'regular',
267
  ),
268
  array(
269
  'label' => __( 'Lightbox', 'live-composer-page-builder' ),
270
+ 'value' => 'lightbox',
271
+ ),
272
  ),
273
  'tab' => __( 'Other', 'live-composer-page-builder' ),
274
  ),
275
 
276
+ // Archive Listinging.
277
  array(
278
  'label' => __( 'Archive/Search Listing', 'live-composer-page-builder' ),
279
  'id' => 'query_alter',
282
  'choices' => array(
283
  array(
284
  'label' => __( 'Apply Page Query', 'live-composer-page-builder' ),
285
+ 'value' => 'enabled',
286
  ),
287
  array(
288
  'label' => __( 'Ignore Page Query', 'live-composer-page-builder' ),
289
+ 'value' => 'disabled',
290
  ),
291
  ),
292
  'help' => __( 'Apply Page Query – show posts according to the selected tag, category, author or search query.<br /> Ignore Page Query – ignore the page query and list posts as on any other page.', 'live-composer-page-builder' ),
304
  'choices' => array(
305
  array(
306
  'label' => __( 'Heading', 'live-composer-page-builder' ),
307
+ 'value' => 'main_heading',
308
  ),
309
  array(
310
  'label' => __( 'Filters', 'live-composer-page-builder' ),
311
+ 'value' => 'filters',
312
  ),
313
  ),
314
  'section' => 'styling',
334
  ),
335
  array(
336
  'label' => __( 'Separator', 'live-composer-page-builder' ),
337
+ 'value' => 'separator',
338
  ),
339
  array(
340
  'label' => __( 'Excerpt', 'live-composer-page-builder' ),
341
+ 'value' => 'excerpt',
342
  ),
343
  array(
344
  'label' => __( 'Button', 'live-composer-page-builder' ),
345
+ 'value' => 'button',
346
+ ),
347
  ),
348
  'section' => 'styling',
349
  ),
356
  'choices' => array(
357
  array(
358
  'label' => __( 'Arrows', 'live-composer-page-builder' ),
359
+ 'value' => 'arrows',
360
  ),
361
  array(
362
  'label' => __( 'Circles', 'live-composer-page-builder' ),
363
+ 'value' => 'circles',
364
  ),
365
  ),
366
  'section' => 'styling',
391
  'ext' => 'px',
392
  'min' => 0,
393
  'max' => 1000,
394
+ 'increment' => 5,
395
  ),
396
 
397
  /**
406
  'choices' => array(
407
  array(
408
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
409
+ 'value' => 'enabled',
410
  ),
411
  array(
412
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
413
+ 'value' => 'disabled',
414
  ),
415
  ),
416
  'section' => 'styling',
463
  'choices' => array(
464
  array(
465
  'label' => __( 'Invisible', 'live-composer-page-builder' ),
466
+ 'value' => 'none',
467
  ),
468
  array(
469
  'label' => __( 'Solid', 'live-composer-page-builder' ),
470
+ 'value' => 'solid',
471
  ),
472
  array(
473
  'label' => __( 'Dashed', 'live-composer-page-builder' ),
474
+ 'value' => 'dashed',
475
  ),
476
  array(
477
  'label' => __( 'Dotted', 'live-composer-page-builder' ),
478
+ 'value' => 'dotted',
479
  ),
480
  ),
481
  'refresh_on_change' => false,
528
  'min' => 0,
529
  'max' => 10,
530
  'increment' => 1,
531
+
532
  'std' => '1',
533
  'type' => 'slider',
534
  'refresh_on_change' => false,
546
  'choices' => array(
547
  array(
548
  'label' => __( 'Top', 'live-composer-page-builder' ),
549
+ 'value' => 'top',
550
  ),
551
  array(
552
  'label' => __( 'Right', 'live-composer-page-builder' ),
553
+ 'value' => 'right',
554
  ),
555
  array(
556
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
557
+ 'value' => 'bottom',
558
  ),
559
  array(
560
  'label' => __( 'Left', 'live-composer-page-builder' ),
561
+ 'value' => 'left',
562
  ),
563
  ),
564
  'refresh_on_change' => false,
671
  'type' => 'text',
672
  'section' => 'styling',
673
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
674
+ 'visibility' => 'hidden',
675
  ),
676
  array(
677
  'label' => __( 'Width', 'live-composer-page-builder' ),
737
  'choices' => array(
738
  array(
739
  'label' => __( 'Top', 'live-composer-page-builder' ),
740
+ 'value' => 'top',
741
  ),
742
  array(
743
  'label' => __( 'Right', 'live-composer-page-builder' ),
744
+ 'value' => 'right',
745
  ),
746
  array(
747
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
748
+ 'value' => 'bottom',
749
  ),
750
  array(
751
  'label' => __( 'Left', 'live-composer-page-builder' ),
752
+ 'value' => 'left',
753
  ),
754
  ),
755
  'refresh_on_change' => false,
785
  'std' => '0',
786
  'type' => 'slider',
787
  'refresh_on_change' => false,
788
+ 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count .dslc-gallery-images-count-main',
789
  'affect_on_change_rule' => 'margin',
790
  'section' => 'styling',
791
  'tab' => __( 'Count', 'live-composer-page-builder' ),
792
  'ext' => 'px',
793
  ),
794
+ /*
795
  array(
796
  'label' => __( 'Opacity', 'live-composer-page-builder' ),
797
  'id' => 'css_count_bg_opacity',
806
  'max' => 1,
807
  'increment' => 0.01
808
  ),
809
+ */
810
  array(
811
  'label' => __( 'Position', 'live-composer-page-builder' ),
812
  'id' => 'count_pos',
817
  'choices' => array(
818
  array(
819
  'label' => __( 'Top Left', 'live-composer-page-builder' ),
820
+ 'value' => 'topleft',
821
  ),
822
  array(
823
  'label' => __( 'Top Right', 'live-composer-page-builder' ),
824
+ 'value' => 'topright',
825
  ),
826
  array(
827
  'label' => __( 'Center', 'live-composer-page-builder' ),
828
+ 'value' => 'center',
829
  ),
830
  array(
831
  'label' => __( 'Bottom Left', 'live-composer-page-builder' ),
832
+ 'value' => 'bottomleft',
833
  ),
834
  array(
835
  'label' => __( 'Bottom Right', 'live-composer-page-builder' ),
836
+ 'value' => 'bottomright',
837
  ),
838
+ ),
839
  ),
840
  array(
841
  'label' => __( 'Padding', 'live-composer-page-builder' ),
843
  'std' => '20',
844
  'type' => 'slider',
845
  'refresh_on_change' => false,
846
+ 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count .dslc-gallery-images-count-main',
847
  'affect_on_change_rule' => 'padding',
848
  'section' => 'styling',
849
  'ext' => 'px',
1061
  'choices' => array(
1062
  array(
1063
  'label' => __( 'Bellow Thumbnail', 'live-composer-page-builder' ),
1064
+ 'value' => 'bellow',
1065
  ),
1066
  array(
1067
  'label' => __( 'Inside Thumbnail ( hover )', 'live-composer-page-builder' ),
1068
+ 'value' => 'inside',
1069
  ),
1070
  array(
1071
  'label' => __( 'Inside Thumbnail ( always visible )', 'live-composer-page-builder' ),
1072
+ 'value' => 'inside_visible',
1073
  ),
1074
  ),
1075
  ),
1101
  'min' => 0,
1102
  'max' => 10,
1103
  'increment' => 1,
1104
+
1105
  'std' => '1',
1106
  'type' => 'slider',
1107
  'refresh_on_change' => false,
1119
  'choices' => array(
1120
  array(
1121
  'label' => __( 'Top', 'live-composer-page-builder' ),
1122
+ 'value' => 'top',
1123
  ),
1124
  array(
1125
  'label' => __( 'Right', 'live-composer-page-builder' ),
1126
+ 'value' => 'right',
1127
  ),
1128
  array(
1129
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
1130
+ 'value' => 'bottom',
1131
  ),
1132
  array(
1133
  'label' => __( 'Left', 'live-composer-page-builder' ),
1134
+ 'value' => 'left',
1135
  ),
1136
  ),
1137
  'refresh_on_change' => false,
1149
  'std' => '0',
1150
  'type' => 'slider',
1151
  'refresh_on_change' => false,
1152
+ 'affect_on_change_el' => '.dslc-post',
1153
  'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius',
1154
  'min' => 0,
1155
  'max' => 100,
1167
  'std' => '3',
1168
  'type' => 'slider',
1169
  'refresh_on_change' => false,
1170
+ 'affect_on_change_el' => '.dslc-post',
1171
  'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius',
1172
  'min' => 0,
1173
  'max' => 100,
1188
  'ext' => 'px',
1189
  'tab' => __( 'Main', 'live-composer-page-builder' ),
1190
  'min' => 0,
1191
+ 'max' => 500,
1192
  ),
1193
  array(
1194
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1231
  'section' => 'styling',
1232
  'tab' => __( 'Main', 'live-composer-page-builder' ),
1233
  ),
1234
+ array(
1235
+ 'label' => __( 'Box Shadow', 'live-composer-page-builder' ),
1236
+ 'id' => 'css_main_box_shadow',
1237
+ 'std' => '',
1238
+ 'type' => 'box_shadow',
1239
+ 'wihtout_inner_shadow' => true,
1240
+ 'refresh_on_change' => false,
1241
+ 'affect_on_change_el' => '.dslc-post',
1242
+ 'affect_on_change_rule' => 'box-shadow',
1243
+ 'section' => 'styling',
1244
+ 'tab' => __( 'Main', 'live-composer-page-builder' ),
1245
+ ),
1246
 
1247
  /**
1248
  * Main Inner
1258
  'choices' => array(
1259
  array(
1260
  'label' => __( 'Top Left', 'live-composer-page-builder' ),
1261
+ 'value' => 'topleft',
1262
  ),
1263
  array(
1264
  'label' => __( 'Top Right', 'live-composer-page-builder' ),
1265
+ 'value' => 'topright',
1266
  ),
1267
  array(
1268
  'label' => __( 'Center', 'live-composer-page-builder' ),
1269
+ 'value' => 'center',
1270
  ),
1271
  array(
1272
  'label' => __( 'Bottom Left', 'live-composer-page-builder' ),
1273
+ 'value' => 'bottomleft',
1274
  ),
1275
  array(
1276
  'label' => __( 'Bottom Right', 'live-composer-page-builder' ),
1277
+ 'value' => 'bottomright',
1278
  ),
1279
  )
1280
  ),
1446
  'choices' => array(
1447
  array(
1448
  'label' => __( 'None', 'live-composer-page-builder' ),
1449
+ 'value' => 'none',
1450
  ),
1451
  array(
1452
  'label' => __( 'Capitalize', 'live-composer-page-builder' ),
1453
+ 'value' => 'capitalize',
1454
  ),
1455
  array(
1456
  'label' => __( 'Uppercase', 'live-composer-page-builder' ),
1457
+ 'value' => 'uppercase',
1458
  ),
1459
  array(
1460
  'label' => __( 'Lowercase', 'live-composer-page-builder' ),
1461
+ 'value' => 'lowercase',
1462
  ),
1463
  ),
1464
  'refresh_on_change' => false,
1511
  'choices' => array(
1512
  array(
1513
  'label' => __( 'Excerpt', 'live-composer-page-builder' ),
1514
+ 'value' => 'excerpt',
1515
  ),
1516
  array(
1517
  'label' => __( 'Content', 'live-composer-page-builder' ),
1518
+ 'value' => 'content',
1519
  ),
1520
  ),
1521
  'section' => 'styling',
1712
  'choices' => array(
1713
  array(
1714
  'label' => __( 'Top', 'live-composer-page-builder' ),
1715
+ 'value' => 'top',
1716
  ),
1717
  array(
1718
  'label' => __( 'Right', 'live-composer-page-builder' ),
1719
+ 'value' => 'right',
1720
  ),
1721
  array(
1722
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
1723
+ 'value' => 'bottom',
1724
  ),
1725
  array(
1726
  'label' => __( 'Left', 'live-composer-page-builder' ),
1727
+ 'value' => 'left',
1728
  ),
1729
  ),
1730
  'refresh_on_change' => false,
1959
  'choices' => array(
1960
  array(
1961
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
1962
+ 'value' => 'disabled',
1963
  ),
1964
  array(
1965
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
1966
+ 'value' => 'enabled',
1967
  ),
1968
  ),
1969
  'section' => 'responsive',
2052
  'std' => '0',
2053
  'type' => 'slider',
2054
  'refresh_on_change' => false,
2055
+ 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count .dslc-gallery-images-count-main',
2056
  'affect_on_change_rule' => 'margin',
2057
  'section' => 'responsive',
2058
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2064
  'std' => '20',
2065
  'type' => 'slider',
2066
  'refresh_on_change' => false,
2067
+ 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count .dslc-gallery-images-count-main',
2068
  'affect_on_change_rule' => 'padding',
2069
  'section' => 'responsive',
2070
  'ext' => 'px',
2247
  'choices' => array(
2248
  array(
2249
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
2250
+ 'value' => 'disabled',
2251
  ),
2252
  array(
2253
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
2254
+ 'value' => 'enabled',
2255
  ),
2256
  ),
2257
  'section' => 'responsive',
2340
  'std' => '0',
2341
  'type' => 'slider',
2342
  'refresh_on_change' => false,
2343
+ 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count .dslc-gallery-images-count-main',
2344
  'affect_on_change_rule' => 'margin',
2345
  'section' => 'responsive',
2346
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2352
  'std' => '20',
2353
  'type' => 'slider',
2354
  'refresh_on_change' => false,
2355
+ 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count .dslc-gallery-images-count-main',
2356
  'affect_on_change_rule' => 'padding',
2357
  'section' => 'responsive',
2358
  'ext' => 'px',
2807
  ?>
2808
 
2809
  <div class="dslc-post-filters">
2810
+ <span class="dslc-post-filter dslc-active dslca-editable-content" data-filter-id="show-all" <?php if ( $dslc_is_admin ){ echo 'data-id="main_filter_title_all" data-type="simple" contenteditable '; } ?>><?php echo $options['main_filter_title_all']; ?></span>
 
2811
 
2812
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
2813
+ <span class="dslc-post-filter dslc-inactive" data-filter-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
2814
  <?php endforeach; ?>
2815
 
2816
  </div><!-- .dslc-post-filters -->
2950
 
2951
  <?php if ( $post_elements == 'all' || in_array( 'count', $post_elements ) ) : ?>
2952
  <a href="<?php echo $the_permalink; ?>" class="<?php echo $thumb_anchor_class; ?> dslc-gallery-images-count dslc-init-square dslc-init-<?php echo $options['count_pos']; ?>">
2953
+ <span class="dslc-gallery-images-count-main dslc-gallery-images-count-bg dslc-init-target">
 
2954
  <span class="dslc-gallery-images-count-num"><?php echo $gallery_images_count; ?></span>
2955
  <span class="dslc-gallery-images-count-txt"><?php echo $options['count_text']; ?></span>
2956
  </span>
modules/icon/module.php CHANGED
@@ -49,15 +49,15 @@ class DSLC_Icon extends DSLC_Module {
49
  'choices' => array(
50
  array(
51
  'label' => __( 'Desktop', 'live-composer-page-builder' ),
52
- 'value' => 'desktop'
53
  ),
54
  array(
55
  'label' => __( 'Tablet', 'live-composer-page-builder' ),
56
- 'value' => 'tablet'
57
  ),
58
  array(
59
  'label' => __( 'Phone', 'live-composer-page-builder' ),
60
- 'value' => 'phone'
61
  ),
62
  ),
63
  ),
@@ -144,19 +144,19 @@ class DSLC_Icon extends DSLC_Module {
144
  'choices' => array(
145
  array(
146
  'label' => __( 'Top', 'live-composer-page-builder' ),
147
- 'value' => 'top'
148
  ),
149
  array(
150
  'label' => __( 'Right', 'live-composer-page-builder' ),
151
- 'value' => 'right'
152
  ),
153
  array(
154
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
155
- 'value' => 'bottom'
156
  ),
157
  array(
158
  'label' => __( 'Left', 'live-composer-page-builder' ),
159
- 'value' => 'left'
160
  ),
161
  ),
162
  'refresh_on_change' => false,
@@ -207,7 +207,7 @@ class DSLC_Icon extends DSLC_Module {
207
  'ext' => 'px',
208
  'min' => 0,
209
  'max' => 1000,
210
- 'increment' => 5
211
  ),
212
  array(
213
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -251,7 +251,7 @@ class DSLC_Icon extends DSLC_Module {
251
  'affect_on_change_el' => '.dslc-icon',
252
  'affect_on_change_rule' => 'color',
253
  'section' => 'styling',
254
- 'tab' => __( 'Icon', 'live-composer-page-builder' )
255
  ),
256
  array(
257
  'label' => __( 'Color - Hover', 'live-composer-page-builder' ),
@@ -262,7 +262,7 @@ class DSLC_Icon extends DSLC_Module {
262
  'affect_on_change_el' => '.dslc-micon-module:hover .dslc-icon',
263
  'affect_on_change_rule' => 'color',
264
  'section' => 'styling',
265
- 'tab' => __( 'Icon', 'live-composer-page-builder' )
266
  ),
267
  array(
268
  'label' => __( 'Size', 'live-composer-page-builder' ),
@@ -274,7 +274,7 @@ class DSLC_Icon extends DSLC_Module {
274
  'affect_on_change_rule' => 'font-size',
275
  'section' => 'styling',
276
  'ext' => 'px',
277
- 'tab' => __( 'Icon', 'live-composer-page-builder' )
278
  ),
279
  array(
280
  'label' => __( 'Icon Shadow', 'live-composer-page-builder' ),
@@ -300,11 +300,11 @@ class DSLC_Icon extends DSLC_Module {
300
  'choices' => array(
301
  array(
302
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
303
- 'value' => 'disabled'
304
  ),
305
  array(
306
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
307
- 'value' => 'enabled'
308
  ),
309
  ),
310
  'section' => 'responsive',
@@ -367,11 +367,11 @@ class DSLC_Icon extends DSLC_Module {
367
  'choices' => array(
368
  array(
369
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
370
- 'value' => 'disabled'
371
  ),
372
  array(
373
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
374
- 'value' => 'enabled'
375
  ),
376
  ),
377
  'section' => 'responsive',
@@ -421,10 +421,9 @@ class DSLC_Icon extends DSLC_Module {
421
  'ext' => 'px',
422
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
423
  ),
424
-
425
-
426
  );
427
 
 
428
  $dslc_options = array_merge( $dslc_options, $this->presets_options() );
429
 
430
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
@@ -440,10 +439,11 @@ class DSLC_Icon extends DSLC_Module {
440
 
441
  global $dslc_active;
442
 
443
- if ( $dslc_active && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) )
444
  $dslc_is_admin = true;
445
- else
446
  $dslc_is_admin = false;
 
447
 
448
  $this->module_start( $options );
449
 
@@ -462,5 +462,4 @@ class DSLC_Icon extends DSLC_Module {
462
  $this->module_end( $options );
463
 
464
  }
465
-
466
- }
49
  'choices' => array(
50
  array(
51
  'label' => __( 'Desktop', 'live-composer-page-builder' ),
52
+ 'value' => 'desktop',
53
  ),
54
  array(
55
  'label' => __( 'Tablet', 'live-composer-page-builder' ),
56
+ 'value' => 'tablet',
57
  ),
58
  array(
59
  'label' => __( 'Phone', 'live-composer-page-builder' ),
60
+ 'value' => 'phone',
61
  ),
62
  ),
63
  ),
144
  'choices' => array(
145
  array(
146
  'label' => __( 'Top', 'live-composer-page-builder' ),
147
+ 'value' => 'top',
148
  ),
149
  array(
150
  'label' => __( 'Right', 'live-composer-page-builder' ),
151
+ 'value' => 'right',
152
  ),
153
  array(
154
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
155
+ 'value' => 'bottom',
156
  ),
157
  array(
158
  'label' => __( 'Left', 'live-composer-page-builder' ),
159
+ 'value' => 'left',
160
  ),
161
  ),
162
  'refresh_on_change' => false,
207
  'ext' => 'px',
208
  'min' => 0,
209
  'max' => 1000,
210
+ 'increment' => 5,
211
  ),
212
  array(
213
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
251
  'affect_on_change_el' => '.dslc-icon',
252
  'affect_on_change_rule' => 'color',
253
  'section' => 'styling',
254
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
255
  ),
256
  array(
257
  'label' => __( 'Color - Hover', 'live-composer-page-builder' ),
262
  'affect_on_change_el' => '.dslc-micon-module:hover .dslc-icon',
263
  'affect_on_change_rule' => 'color',
264
  'section' => 'styling',
265
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
266
  ),
267
  array(
268
  'label' => __( 'Size', 'live-composer-page-builder' ),
274
  'affect_on_change_rule' => 'font-size',
275
  'section' => 'styling',
276
  'ext' => 'px',
277
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
278
  ),
279
  array(
280
  'label' => __( 'Icon Shadow', 'live-composer-page-builder' ),
300
  'choices' => array(
301
  array(
302
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
303
+ 'value' => 'disabled',
304
  ),
305
  array(
306
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
307
+ 'value' => 'enabled',
308
  ),
309
  ),
310
  'section' => 'responsive',
367
  'choices' => array(
368
  array(
369
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
370
+ 'value' => 'disabled',
371
  ),
372
  array(
373
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
374
+ 'value' => 'enabled',
375
  ),
376
  ),
377
  'section' => 'responsive',
421
  'ext' => 'px',
422
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
423
  ),
 
 
424
  );
425
 
426
+ $dslc_options = array_merge( $dslc_options, $this->shared_options( 'animation_options', array( 'hover_opts' => false ) ) );
427
  $dslc_options = array_merge( $dslc_options, $this->presets_options() );
428
 
429
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
439
 
440
  global $dslc_active;
441
 
442
+ if ( $dslc_active && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
443
  $dslc_is_admin = true;
444
+ } else {
445
  $dslc_is_admin = false;
446
+ }
447
 
448
  $this->module_start( $options );
449
 
462
  $this->module_end( $options );
463
 
464
  }
465
+ }
 
modules/infobox/module.php CHANGED
@@ -2910,7 +2910,7 @@ class DSLC_Info_Box extends DSLC_Module {
2910
  <?php if ( $options['button_pos'] == 'aside' && in_array( 'button', $elements ) ) : ?>
2911
  <div class="dslc-info-box-button dslc-info-box-button-aside">
2912
  <?php if ( isset( $options['button_link'] ) && ! empty( $options['button_link'] ) ) : ?>
2913
- <a href="<?php echo $options['button_link']; ?>" target="<?php echo $options['button_target']; ?>" class="dslc-primary">
2914
  <?php if ( isset( $options['button_icon_id'] ) && $options['button_icon_id'] != '' ) : ?>
2915
  <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
2916
  <?php endif; ?>
@@ -2920,7 +2920,7 @@ class DSLC_Info_Box extends DSLC_Module {
2920
  </a>
2921
  <?php endif; ?>
2922
  <?php if ( isset( $options['button_2_link'] ) && ! empty( $options['button_2_link'] ) ) : ?>
2923
- <a href="<?php echo $options['button_2_link']; ?>" target="<?php echo $options['button_2_target']; ?>" class="dslc-secondary">
2924
  <?php if ( isset( $options['button_2_icon_id'] ) && $options['button_2_icon_id'] != '' ) : ?>
2925
  <span class="dslc-icon dslc-icon-<?php echo $options['button_2_icon_id']; ?>"></span>
2926
  <?php endif; ?>
@@ -2939,7 +2939,7 @@ class DSLC_Info_Box extends DSLC_Module {
2939
  <div class="dslc-info-box-image-inner">
2940
  <span class="dslc-icon dslc-icon-<?php echo $options['icon_id'];?>"></span>
2941
  <?php if ( ! empty( $options['icon_link'] ) ) : ?>
2942
- <a class="dslc-info-box-image-link" href="<?php echo $options['icon_link']; ?>" target="<?php echo $options['icon_link_target']; ?>"></a>
2943
  <?php endif; ?>
2944
  </div><!-- .dslc-info-box-image-inner -->
2945
  </div><!-- .dslc-info-box-image -->
@@ -2951,7 +2951,7 @@ class DSLC_Info_Box extends DSLC_Module {
2951
  <?php if ( ! $image_alt_link_url) : ?>
2952
  <img src="<?php echo esc_url($image_alt);?>">
2953
  <?php else : ?>
2954
- <a href="<?php echo esc_url($image_alt_link_url);?>"><img src="<?php echo esc_url($image_alt);?>"></a>
2955
  <?php endif; ?>
2956
  </div><!-- .dslc-info-box-image-alt-inner -->
2957
  </div><!-- .dslc-info-box-image-alt -->
@@ -2965,7 +2965,7 @@ class DSLC_Info_Box extends DSLC_Module {
2965
  <h4 class="dslca-editable-content" data-id="title" data-type="simple" <?php if ( $dslc_is_admin ) echo 'contenteditable'; ?>><?php echo stripslashes( $options['title'] ); ?></h4>
2966
  <?php else : ?>
2967
  <?php if ( $options['title_link'] != '' ) : ?>
2968
- <h4><a href="<?php echo $options['title_link']; ?>" target="<?php echo $options['title_link_target']; ?>"><?php echo stripslashes( $options['title'] ); ?></a></h4>
2969
  <?php else : ?>
2970
  <h4><?php echo stripslashes( $options['title'] ); ?></h4>
2971
  <?php endif; ?>
@@ -2976,7 +2976,7 @@ class DSLC_Info_Box extends DSLC_Module {
2976
  <?php if ( in_array( 'content', $elements ) ) : ?>
2977
  <div class="dslc-info-box-content">
2978
  <?php if ( $dslc_is_admin ) : ?>
2979
- <div class="dslca-editable-content inline-editor" data-id="content">
2980
  <?php echo stripslashes( $options['content'] ); ?>
2981
  </div><!-- .dslca-editable-content -->
2982
  <div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook"><?php _e( 'Open in WP Editor', 'live-composer-page-builder' ); ?></span></div>
@@ -2989,7 +2989,7 @@ class DSLC_Info_Box extends DSLC_Module {
2989
  <?php if ( $options['button_pos'] == 'bellow' && in_array( 'button', $elements ) ) : ?>
2990
  <div class="dslc-info-box-button">
2991
  <?php if ( isset( $options['button_link'] ) && ! empty( $options['button_link'] ) ) : ?>
2992
- <a href="<?php echo $options['button_link']; ?>" target="<?php echo $options['button_target']; ?>" class="dslc-primary">
2993
  <?php if ( isset( $options['button_icon_id'] ) && $options['button_icon_id'] != '' ) : ?>
2994
  <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
2995
  <?php endif; ?>
@@ -2999,7 +2999,7 @@ class DSLC_Info_Box extends DSLC_Module {
2999
  </a>
3000
  <?php endif; ?>
3001
  <?php if ( isset( $options['button_2_link'] ) && ! empty( $options['button_2_link'] ) ) : ?>
3002
- <a href="<?php echo $options['button_2_link']; ?>" target="<?php echo $options['button_2_target']; ?>" class="dslc-secondary">
3003
  <?php if ( isset( $options['button_2_icon_id'] ) && $options['button_2_icon_id'] != '' ) : ?>
3004
  <span class="dslc-icon dslc-icon-<?php echo $options['button_2_icon_id']; ?>"></span>
3005
  <?php endif; ?>
2910
  <?php if ( $options['button_pos'] == 'aside' && in_array( 'button', $elements ) ) : ?>
2911
  <div class="dslc-info-box-button dslc-info-box-button-aside">
2912
  <?php if ( isset( $options['button_link'] ) && ! empty( $options['button_link'] ) ) : ?>
2913
+ <a href="<?php echo $options['button_link']; ?>" target="<?php echo $options['button_target']; ?>" <?php if ( $options['link_nofollow'] ) echo 'rel="nofollow"'; ?> class="dslc-primary">
2914
  <?php if ( isset( $options['button_icon_id'] ) && $options['button_icon_id'] != '' ) : ?>
2915
  <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
2916
  <?php endif; ?>
2920
  </a>
2921
  <?php endif; ?>
2922
  <?php if ( isset( $options['button_2_link'] ) && ! empty( $options['button_2_link'] ) ) : ?>
2923
+ <a href="<?php echo $options['button_2_link']; ?>" target="<?php echo $options['button_2_target']; ?>" <?php if ( $options['link_nofollow'] ) echo 'rel="nofollow"'; ?> class="dslc-secondary">
2924
  <?php if ( isset( $options['button_2_icon_id'] ) && $options['button_2_icon_id'] != '' ) : ?>
2925
  <span class="dslc-icon dslc-icon-<?php echo $options['button_2_icon_id']; ?>"></span>
2926
  <?php endif; ?>
2939
  <div class="dslc-info-box-image-inner">
2940
  <span class="dslc-icon dslc-icon-<?php echo $options['icon_id'];?>"></span>
2941
  <?php if ( ! empty( $options['icon_link'] ) ) : ?>
2942
+ <a class="dslc-info-box-image-link" href="<?php echo $options['icon_link']; ?>" <?php if ( $options['link_nofollow'] ) echo 'rel="nofollow"'; ?> target="<?php echo $options['icon_link_target']; ?>"></a>
2943
  <?php endif; ?>
2944
  </div><!-- .dslc-info-box-image-inner -->
2945
  </div><!-- .dslc-info-box-image -->
2951
  <?php if ( ! $image_alt_link_url) : ?>
2952
  <img src="<?php echo esc_url($image_alt);?>">
2953
  <?php else : ?>
2954
+ <a href="<?php echo esc_url($image_alt_link_url);?>" <?php if ( $options['link_nofollow'] ) echo 'rel="nofollow"'; ?>><img src="<?php echo esc_url($image_alt);?>"></a>
2955
  <?php endif; ?>
2956
  </div><!-- .dslc-info-box-image-alt-inner -->
2957
  </div><!-- .dslc-info-box-image-alt -->
2965
  <h4 class="dslca-editable-content" data-id="title" data-type="simple" <?php if ( $dslc_is_admin ) echo 'contenteditable'; ?>><?php echo stripslashes( $options['title'] ); ?></h4>
2966
  <?php else : ?>
2967
  <?php if ( $options['title_link'] != '' ) : ?>
2968
+ <h4><a href="<?php echo $options['title_link']; ?>" <?php if ( $options['link_nofollow'] ) echo 'rel="nofollow"'; ?> target="<?php echo $options['title_link_target']; ?>"><?php echo stripslashes( $options['title'] ); ?></a></h4>
2969
  <?php else : ?>
2970
  <h4><?php echo stripslashes( $options['title'] ); ?></h4>
2971
  <?php endif; ?>
2976
  <?php if ( in_array( 'content', $elements ) ) : ?>
2977
  <div class="dslc-info-box-content">
2978
  <?php if ( $dslc_is_admin ) : ?>
2979
+ <div class="dslca-editable-content inline-editor" data-type="simple" data-id="content">
2980
  <?php echo stripslashes( $options['content'] ); ?>
2981
  </div><!-- .dslca-editable-content -->
2982
  <div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook"><?php _e( 'Open in WP Editor', 'live-composer-page-builder' ); ?></span></div>
2989
  <?php if ( $options['button_pos'] == 'bellow' && in_array( 'button', $elements ) ) : ?>
2990
  <div class="dslc-info-box-button">
2991
  <?php if ( isset( $options['button_link'] ) && ! empty( $options['button_link'] ) ) : ?>
2992
+ <a href="<?php echo $options['button_link']; ?>" <?php if ( $options['link_nofollow'] ) echo 'rel="nofollow"'; ?> target="<?php echo $options['button_target']; ?>" class="dslc-primary">
2993
  <?php if ( isset( $options['button_icon_id'] ) && $options['button_icon_id'] != '' ) : ?>
2994
  <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
2995
  <?php endif; ?>
2999
  </a>
3000
  <?php endif; ?>
3001
  <?php if ( isset( $options['button_2_link'] ) && ! empty( $options['button_2_link'] ) ) : ?>
3002
+ <a href="<?php echo $options['button_2_link']; ?>" <?php if ( $options['link_nofollow'] ) echo 'rel="nofollow"'; ?> target="<?php echo $options['button_2_target']; ?>" class="dslc-secondary">
3003
  <?php if ( isset( $options['button_2_icon_id'] ) && $options['button_2_icon_id'] != '' ) : ?>
3004
  <span class="dslc-icon dslc-icon-<?php echo $options['button_2_icon_id']; ?>"></span>
3005
  <?php endif; ?>
modules/navigation/module.php CHANGED
@@ -1664,10 +1664,11 @@ class DSLC_Navigation extends DSLC_Module {
1664
  <?php /* Add chevron icon */ ?>
1665
 
1666
  <script type="text/javascript">
1667
- var menuItems = document.querySelectorAll( '.dslc-navigation .menu > li.menu-item-has-children:not(.dslc-navigation-arrow) > a' );
1668
 
1669
  for (var i = 0, len = menuItems.length; i < len; i++) {
1670
  menuItems[i].insertAdjacentHTML('afterend', '<span class="dslc-navigation-arrow dslc-icon dslc-icon-chevron-down"></span>');
 
1671
  }
1672
  </script>
1673
  <?php
1664
  <?php /* Add chevron icon */ ?>
1665
 
1666
  <script type="text/javascript">
1667
+ var menuItems = document.querySelectorAll( '.dslc-navigation .menu > li.menu-item-has-children:not(.menu-with-arrow) > a' );
1668
 
1669
  for (var i = 0, len = menuItems.length; i < len; i++) {
1670
  menuItems[i].insertAdjacentHTML('afterend', '<span class="dslc-navigation-arrow dslc-icon dslc-icon-chevron-down"></span>');
1671
+ menuItems[i].parentElement.className += " menu-with-arrow";
1672
  }
1673
  </script>
1674
  <?php
modules/partners/module.php CHANGED
@@ -1785,11 +1785,10 @@ class DSLC_Partners extends DSLC_Module {
1785
  ?>
1786
 
1787
  <div class="dslc-post-filters">
1788
-
1789
- <span class="dslc-post-filter dslc-active" data-id=" "><?php _ex( 'All', 'Post Filter', 'live-composer-page-builder' ); ?></span>
1790
 
1791
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
1792
- <span class="dslc-post-filter dslc-inactive" data-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
1793
  <?php endforeach; ?>
1794
 
1795
  </div><!-- .dslc-post-filters -->
1785
  ?>
1786
 
1787
  <div class="dslc-post-filters">
1788
+ <span class="dslc-post-filter dslc-active dslca-editable-content" data-filter-id="show-all" <?php if ( $dslc_is_admin ){ echo 'data-id="main_filter_title_all" data-type="simple" contenteditable '; } ?>><?php echo $options['main_filter_title_all']; ?></span>
 
1789
 
1790
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
1791
+ <span class="dslc-post-filter dslc-inactive" data-filter-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
1792
  <?php endforeach; ?>
1793
 
1794
  </div><!-- .dslc-post-filters -->
modules/posts/module.php CHANGED
@@ -43,12 +43,23 @@ class DSLC_Posts extends DSLC_Module {
43
  $post_types = get_post_types( array('public' => true), 'objects' );
44
  $post_types_choices = array();
45
 
 
 
 
 
 
 
 
46
  // Generate usable array of post types.
47
  foreach ( $post_types as $post_type_id => $post_type ) {
48
- $post_types_choices[] = array(
49
- 'label' => $post_type->labels->name,
50
- 'value' => $post_type_id
51
- );
 
 
 
 
52
  }
53
 
54
  // Options.
@@ -75,11 +86,12 @@ class DSLC_Posts extends DSLC_Module {
75
  ),
76
  ),
77
  array(
78
- 'label' => __( 'Post Type', 'live-composer-page-builder' ),
79
  'id' => 'post_type',
80
  'std' => 'post',
81
- 'type' => 'select',
82
- 'choices' => $post_types_choices
 
83
  ),
84
 
85
  array(
@@ -102,6 +114,13 @@ class DSLC_Posts extends DSLC_Module {
102
  )
103
  )
104
  ),
 
 
 
 
 
 
 
105
  array(
106
  'label' => __( 'Orientation', 'live-composer-page-builder' ),
107
  'id' => 'orientation',
@@ -123,6 +142,7 @@ class DSLC_Posts extends DSLC_Module {
123
  'id' => 'amount',
124
  'std' => '4',
125
  'type' => 'text',
 
126
  ),
127
  array(
128
  'label' => __( 'Pagination', 'live-composer-page-builder' ),
@@ -147,13 +167,7 @@ class DSLC_Posts extends DSLC_Module {
147
  'value' => 'loadmore',
148
  ),
149
  ),
150
- ),
151
- array(
152
- 'label' => __( 'Posts Per Row', 'live-composer-page-builder' ),
153
- 'id' => 'columns',
154
- 'std' => '3',
155
- 'type' => 'select',
156
- 'choices' => $this->shared_options( 'posts_per_row_choices' ),
157
  ),
158
  array(
159
  'label' => __( 'Order By', 'live-composer-page-builder' ),
@@ -204,6 +218,7 @@ class DSLC_Posts extends DSLC_Module {
204
  'id' => 'offset',
205
  'std' => '0',
206
  'type' => 'text',
 
207
  ),
208
  array(
209
  'label' => __( 'Sticky Posts', 'live-composer-page-builder' ),
@@ -220,19 +235,22 @@ class DSLC_Posts extends DSLC_Module {
220
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
221
  'value' => 'disabled'
222
  )
223
- )
 
224
  ),
225
  array(
226
  'label' => __( 'Include (IDs)', 'live-composer-page-builder' ),
227
  'id' => 'query_post_in',
228
  'std' => '',
229
  'type' => 'text',
 
230
  ),
231
  array(
232
  'label' => __( 'Exclude (IDs)', 'live-composer-page-builder' ),
233
  'id' => 'query_post_not_in',
234
  'std' => '',
235
  'type' => 'text',
 
236
  ),
237
 
238
  // Archive Listinging
@@ -251,6 +269,7 @@ class DSLC_Posts extends DSLC_Module {
251
  'value' => 'disabled'
252
  ),
253
  ),
 
254
  'help' => __( 'Apply Page Query – show posts according to the selected tag, category, author or search query.<br /> Ignore Page Query – ignore the page query and list posts as on any other page.', 'live-composer-page-builder' ),
255
  ),
256
 
@@ -888,7 +907,7 @@ class DSLC_Posts extends DSLC_Module {
888
  'std' => '0',
889
  'type' => 'slider',
890
  'refresh_on_change' => false,
891
- 'affect_on_change_el' => '.dslc-cpt-post-main',
892
  'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius',
893
  'min' => 0,
894
  'max' => 100,
@@ -906,7 +925,7 @@ class DSLC_Posts extends DSLC_Module {
906
  'std' => '4',
907
  'type' => 'slider',
908
  'refresh_on_change' => false,
909
- 'affect_on_change_el' => '.dslc-cpt-post-main',
910
  'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius',
911
  'min' => 0,
912
  'max' => 100,
@@ -970,6 +989,18 @@ class DSLC_Posts extends DSLC_Module {
970
  'section' => 'styling',
971
  'tab' => __( 'Main', 'live-composer-page-builder' ),
972
  ),
 
 
 
 
 
 
 
 
 
 
 
 
973
 
974
  /**
975
  * Main Inner
@@ -2588,6 +2619,7 @@ class DSLC_Posts extends DSLC_Module {
2588
  */
2589
  function output( $options ) {
2590
 
 
2591
  if ( is_feed() ) {
2592
  // Prevent category/tag feeds to stuck in an infinite loop.
2593
  return false;
@@ -2614,6 +2646,24 @@ class DSLC_Posts extends DSLC_Module {
2614
  $options['excerpt_length'] = 20;
2615
  }
2616
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2617
  /**
2618
  * Query
2619
  */
@@ -2631,7 +2681,7 @@ class DSLC_Posts extends DSLC_Module {
2631
  // General args.
2632
  $args = array(
2633
  'paged' => $paged,
2634
- 'post_type' => $options['post_type'],
2635
  'posts_per_page' => $options['amount'],
2636
  'order' => $options['order'],
2637
  'orderby' => $options['orderby'],
@@ -2705,6 +2755,7 @@ class DSLC_Posts extends DSLC_Module {
2705
  $dslc_query = new WP_Query( $args );
2706
  }
2707
 
 
2708
  /**
2709
  * Unnamed
2710
  */
@@ -2874,10 +2925,10 @@ class DSLC_Posts extends DSLC_Module {
2874
  ?>
2875
 
2876
  <div class="dslc-post-filters">
2877
- <span class="dslc-post-filter dslc-active dslca-editable-content" data-id="<?php if ( $dslc_is_admin ){ echo 'main_filter_title_all'; } else { echo ''; } ?>" data-type="simple" <?php if ( $dslc_is_admin ) echo 'contenteditable'; ?> ><?php echo $options['main_filter_title_all']; ?></span>
2878
 
2879
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
2880
- <span class="dslc-post-filter dslc-inactive" data-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
2881
  <?php endforeach; ?>
2882
 
2883
  </div><!-- .dslc-post-filters -->
43
  $post_types = get_post_types( array('public' => true), 'objects' );
44
  $post_types_choices = array();
45
 
46
+ // System post types that should not appear in selector.
47
+ $post_types_to_ignore = array(
48
+ 'dslc_templates',
49
+ 'dslc_hf',
50
+ 'attachment',
51
+ );
52
+
53
  // Generate usable array of post types.
54
  foreach ( $post_types as $post_type_id => $post_type ) {
55
+
56
+ // Do not output system post-types.
57
+ if ( ! in_array( $post_type_id, $post_types_to_ignore ) ) {
58
+ $post_types_choices[] = array(
59
+ 'label' => $post_type->labels->name,
60
+ 'value' => $post_type_id
61
+ );
62
+ }
63
  }
64
 
65
  // Options.
86
  ),
87
  ),
88
  array(
89
+ 'label' => __( 'Post Types', 'live-composer-page-builder' ),
90
  'id' => 'post_type',
91
  'std' => 'post',
92
+ 'type' => 'checkbox',
93
+ 'choices' => $post_types_choices,
94
+ 'tab' => 'posts query',
95
  ),
96
 
97
  array(
114
  )
115
  )
116
  ),
117
+ array(
118
+ 'label' => __( 'Posts Per Row', 'live-composer-page-builder' ),
119
+ 'id' => 'columns',
120
+ 'std' => '3',
121
+ 'type' => 'select',
122
+ 'choices' => $this->shared_options( 'posts_per_row_choices' ),
123
+ ),
124
  array(
125
  'label' => __( 'Orientation', 'live-composer-page-builder' ),
126
  'id' => 'orientation',
142
  'id' => 'amount',
143
  'std' => '4',
144
  'type' => 'text',
145
+ 'tab' => 'pagination',
146
  ),
147
  array(
148
  'label' => __( 'Pagination', 'live-composer-page-builder' ),
167
  'value' => 'loadmore',
168
  ),
169
  ),
170
+ 'tab' => 'pagination',
 
 
 
 
 
 
171
  ),
172
  array(
173
  'label' => __( 'Order By', 'live-composer-page-builder' ),
218
  'id' => 'offset',
219
  'std' => '0',
220
  'type' => 'text',
221
+ 'tab' => 'posts query',
222
  ),
223
  array(
224
  'label' => __( 'Sticky Posts', 'live-composer-page-builder' ),
235
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
236
  'value' => 'disabled'
237
  )
238
+ ),
239
+ 'tab' => 'pagination',
240
  ),
241
  array(
242
  'label' => __( 'Include (IDs)', 'live-composer-page-builder' ),
243
  'id' => 'query_post_in',
244
  'std' => '',
245
  'type' => 'text',
246
+ 'tab' => 'posts query',
247
  ),
248
  array(
249
  'label' => __( 'Exclude (IDs)', 'live-composer-page-builder' ),
250
  'id' => 'query_post_not_in',
251
  'std' => '',
252
  'type' => 'text',
253
+ 'tab' => 'posts query',
254
  ),
255
 
256
  // Archive Listinging
269
  'value' => 'disabled'
270
  ),
271
  ),
272
+ 'tab' => 'posts query',
273
  'help' => __( 'Apply Page Query – show posts according to the selected tag, category, author or search query.<br /> Ignore Page Query – ignore the page query and list posts as on any other page.', 'live-composer-page-builder' ),
274
  ),
275
 
907
  'std' => '0',
908
  'type' => 'slider',
909
  'refresh_on_change' => false,
910
+ 'affect_on_change_el' => '.dslc-post',
911
  'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius',
912
  'min' => 0,
913
  'max' => 100,
925
  'std' => '4',
926
  'type' => 'slider',
927
  'refresh_on_change' => false,
928
+ 'affect_on_change_el' => '.dslc-post',
929
  'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius',
930
  'min' => 0,
931
  'max' => 100,
989
  'section' => 'styling',
990
  'tab' => __( 'Main', 'live-composer-page-builder' ),
991
  ),
992
+ array(
993
+ 'label' => __( 'Box Shadow', 'live-composer-page-builder' ),
994
+ 'id' => 'css_main_box_shadow',
995
+ 'std' => '',
996
+ 'type' => 'box_shadow',
997
+ 'wihtout_inner_shadow' => true,
998
+ 'refresh_on_change' => false,
999
+ 'affect_on_change_el' => '.dslc-post',
1000
+ 'affect_on_change_rule' => 'box-shadow',
1001
+ 'section' => 'styling',
1002
+ 'tab' => __( 'Main', 'live-composer-page-builder' ),
1003
+ ),
1004
 
1005
  /**
1006
  * Main Inner
2619
  */
2620
  function output( $options ) {
2621
 
2622
+
2623
  if ( is_feed() ) {
2624
  // Prevent category/tag feeds to stuck in an infinite loop.
2625
  return false;
2646
  $options['excerpt_length'] = 20;
2647
  }
2648
 
2649
+ $post_type = array();
2650
+
2651
+ if ( isset( $options['post_type'] ) ) {
2652
+
2653
+ $post_type_str = trim( $options['post_type'] );
2654
+
2655
+ if ( stristr( $post_type_str , ' ' ) ) {
2656
+
2657
+ // Many post types selected.
2658
+ $post_type = explode( ' ', trim( $options['post_type'] ) );
2659
+
2660
+ } else {
2661
+
2662
+ // Single post type selected
2663
+ $post_type[] = $post_type_str;
2664
+ }
2665
+ }
2666
+
2667
  /**
2668
  * Query
2669
  */
2681
  // General args.
2682
  $args = array(
2683
  'paged' => $paged,
2684
+ 'post_type' => $post_type,
2685
  'posts_per_page' => $options['amount'],
2686
  'order' => $options['order'],
2687
  'orderby' => $options['orderby'],
2755
  $dslc_query = new WP_Query( $args );
2756
  }
2757
 
2758
+
2759
  /**
2760
  * Unnamed
2761
  */
2925
  ?>
2926
 
2927
  <div class="dslc-post-filters">
2928
+ <span class="dslc-post-filter dslc-active dslca-editable-content" data-filter-id="show-all" <?php if ( $dslc_is_admin ){ echo 'data-id="main_filter_title_all" data-type="simple" contenteditable '; } ?>><?php echo $options['main_filter_title_all']; ?></span>
2929
 
2930
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
2931
+ <span class="dslc-post-filter dslc-inactive" data-filter-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
2932
  <?php endforeach; ?>
2933
 
2934
  </div><!-- .dslc-post-filters -->
modules/projects/module.php CHANGED
@@ -2614,11 +2614,10 @@ class DSLC_Projects extends DSLC_Module {
2614
  ?>
2615
 
2616
  <div class="dslc-post-filters">
2617
-
2618
- <span class="dslc-post-filter dslc-active" data-id=" "><?php _ex( 'All', 'Post Filter', 'live-composer-page-builder' ); ?></span>
2619
 
2620
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
2621
- <span class="dslc-post-filter dslc-inactive" data-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
2622
  <?php endforeach; ?>
2623
 
2624
  </div><!-- .dslc-post-filters -->
2614
  ?>
2615
 
2616
  <div class="dslc-post-filters">
2617
+ <span class="dslc-post-filter dslc-active dslca-editable-content" data-filter-id="show-all" <?php if ( $dslc_is_admin ){ echo 'data-id="main_filter_title_all" data-type="simple" contenteditable '; } ?>><?php echo $options['main_filter_title_all']; ?></span>
 
2618
 
2619
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
2620
+ <span class="dslc-post-filter dslc-inactive" data-filter-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
2621
  <?php endforeach; ?>
2622
 
2623
  </div><!-- .dslc-post-filters -->
modules/staff/functions.php CHANGED
@@ -24,6 +24,12 @@ $dslc_var_post_options['dslc-staff-post-options'] = array(
24
  'id' => 'dslc_staff_social_twitter',
25
  'type' => 'text',
26
  ),
 
 
 
 
 
 
27
  array(
28
  'label' => 'Social - Facebook',
29
  'std' => '',
@@ -47,7 +53,7 @@ $dslc_var_post_options['dslc-staff-post-options'] = array(
47
  'std' => '',
48
  'id' => 'dslc_staff_social_email',
49
  'type' => 'text',
50
- )
51
  )
52
  );
53
 
@@ -58,15 +64,15 @@ $dslc_var_post_options['dslc-staff-post-options'] = array(
58
  */
59
  function dslc_staff_module_cpt() {
60
 
61
- // If module not active return
62
  if ( ! dslc_is_module_active( 'DSLC_Staff', true ) )
63
  return;
64
 
65
- // Get capability
66
  $capability = dslc_get_option( 'lc_min_capability_staff_m', 'dslc_plugin_options_access_control' );
67
  if ( ! $capability ) $capability = 'publish_posts';
68
 
69
- // With Front
70
  $with_front = dslc_get_option( 'with_front', 'dslc_plugin_options_cpt_slugs' );
71
  if ( empty ( $with_front ) ) $with_front = 'disabled';
72
  if ( $with_front == 'enabled' ) $with_front = true; else $with_front = false;
@@ -75,7 +81,7 @@ function dslc_staff_module_cpt() {
75
  * Register Post Type
76
  */
77
 
78
- // Arguments
79
  $cpt_args = array(
80
  'menu_icon' => 'dashicons-id',
81
  'labels' => array(
@@ -109,18 +115,18 @@ function dslc_staff_module_cpt() {
109
  ),
110
  );
111
 
112
- // Apply filters
113
  $cpt_args = apply_filters( 'dslc_staff_cpt_args', $cpt_args );
114
 
115
- // Register post type
116
  register_post_type( 'dslc_staff', $cpt_args );
117
-
118
  /**
119
  * Register Taxonomy ( Category )
120
  */
121
 
122
- // Arguments
123
- $cats_args = array(
124
  'labels' => array(
125
  'name' => __( 'Staff Categories', 'live-composer-page-builder' ),
126
  'singular_name' => __( 'Category', 'live-composer-page-builder' ),
@@ -134,18 +140,18 @@ function dslc_staff_module_cpt() {
134
  'new_item_name' => __( 'New Category Name', 'live-composer-page-builder' ),
135
  'menu_name' => __( 'Categories', 'live-composer-page-builder' ),
136
  ),
137
- 'hierarchical' => true,
138
- 'public' => true,
139
- 'rewrite' => array(
140
  'slug' => dslc_get_option( 'staff_cats_slug', 'dslc_plugin_options_cpt_slugs' ),
141
- 'with_front' => $with_front
142
- )
143
  );
144
 
145
- // Apply filters
146
  $cats_args = apply_filters( 'dslc_staff_cats_args', $cats_args );
147
 
148
- // Register taxonomy
149
  register_taxonomy( 'dslc_staff_cats', 'dslc_staff', $cats_args );
150
 
151
- } add_action( 'init', 'dslc_staff_module_cpt' );
24
  'id' => 'dslc_staff_social_twitter',
25
  'type' => 'text',
26
  ),
27
+ array(
28
+ 'label' => 'Social - Instagram',
29
+ 'std' => '',
30
+ 'id' => 'dslc_staff_social_instagram',
31
+ 'type' => 'text',
32
+ ),
33
  array(
34
  'label' => 'Social - Facebook',
35
  'std' => '',
53
  'std' => '',
54
  'id' => 'dslc_staff_social_email',
55
  'type' => 'text',
56
+ ),
57
  )
58
  );
59
 
64
  */
65
  function dslc_staff_module_cpt() {
66
 
67
+ // If module not active return.
68
  if ( ! dslc_is_module_active( 'DSLC_Staff', true ) )
69
  return;
70
 
71
+ // Get capability.
72
  $capability = dslc_get_option( 'lc_min_capability_staff_m', 'dslc_plugin_options_access_control' );
73
  if ( ! $capability ) $capability = 'publish_posts';
74
 
75
+ // With Front.
76
  $with_front = dslc_get_option( 'with_front', 'dslc_plugin_options_cpt_slugs' );
77
  if ( empty ( $with_front ) ) $with_front = 'disabled';
78
  if ( $with_front == 'enabled' ) $with_front = true; else $with_front = false;
81
  * Register Post Type
82
  */
83
 
84
+ // Arguments.
85
  $cpt_args = array(
86
  'menu_icon' => 'dashicons-id',
87
  'labels' => array(
115
  ),
116
  );
117
 
118
+ // Apply filters.
119
  $cpt_args = apply_filters( 'dslc_staff_cpt_args', $cpt_args );
120
 
121
+ // Register post type.
122
  register_post_type( 'dslc_staff', $cpt_args );
123
+
124
  /**
125
  * Register Taxonomy ( Category )
126
  */
127
 
128
+ // Arguments.
129
+ $cats_args = array(
130
  'labels' => array(
131
  'name' => __( 'Staff Categories', 'live-composer-page-builder' ),
132
  'singular_name' => __( 'Category', 'live-composer-page-builder' ),
140
  'new_item_name' => __( 'New Category Name', 'live-composer-page-builder' ),
141
  'menu_name' => __( 'Categories', 'live-composer-page-builder' ),
142
  ),
143
+ 'hierarchical' => true,
144
+ 'public' => true,
145
+ 'rewrite' => array(
146
  'slug' => dslc_get_option( 'staff_cats_slug', 'dslc_plugin_options_cpt_slugs' ),
147
+ 'with_front' => $with_front,
148
+ ),
149
  );
150
 
151
+ // Apply filters.
152
  $cats_args = apply_filters( 'dslc_staff_cats_args', $cats_args );
153
 
154
+ // Register taxonomy.
155
  register_taxonomy( 'dslc_staff_cats', 'dslc_staff', $cats_args );
156
 
157
+ } add_action( 'init', 'dslc_staff_module_cpt' );
modules/staff/module.php CHANGED
@@ -62,15 +62,15 @@ class DSLC_Staff extends DSLC_Module {
62
  'choices' => array(
63
  array(
64
  'label' => __( 'Desktop', 'live-composer-page-builder' ),
65
- 'value' => 'desktop'
66
  ),
67
  array(
68
  'label' => __( 'Tablet', 'live-composer-page-builder' ),
69
- 'value' => 'tablet'
70
  ),
71
  array(
72
  'label' => __( 'Phone', 'live-composer-page-builder' ),
73
- 'value' => 'phone'
74
  ),
75
  ),
76
  ),
@@ -82,13 +82,13 @@ class DSLC_Staff extends DSLC_Module {
82
  'choices' => array(
83
  array(
84
  'label' => __( 'Link to staff member page', 'live-composer-page-builder' ),
85
- 'value' => 'enabled'
86
  ),
87
  array(
88
  'label' => __( 'Do NOT link to staff member page', 'live-composer-page-builder' ),
89
- 'value' => 'disabled'
90
  ),
91
- )
92
  ),
93
  array(
94
  'label' => __( 'Type', 'live-composer-page-builder' ),
@@ -98,17 +98,17 @@ class DSLC_Staff extends DSLC_Module {
98
  'choices' => array(
99
  array(
100
  'label' => __( 'Grid', 'live-composer-page-builder' ),
101
- 'value' => 'grid'
102
  ),
103
  array(
104
  'label' => __( 'Masonry Grid', 'live-composer-page-builder' ),
105
- 'value' => 'masonry'
106
  ),
107
  array(
108
  'label' => __( 'Carousel', 'live-composer-page-builder' ),
109
- 'value' => 'carousel'
110
- )
111
- )
112
  ),
113
  array(
114
  'label' => __( 'Posts Per Page', 'live-composer-page-builder' ),
@@ -152,7 +152,7 @@ class DSLC_Staff extends DSLC_Module {
152
  'id' => 'categories',
153
  'std' => '',
154
  'type' => 'checkbox',
155
- 'choices' => $cats_choices
156
  ),
157
  array(
158
  'label' => __( 'Categories Operator', 'live-composer-page-builder' ),
@@ -173,7 +173,7 @@ class DSLC_Staff extends DSLC_Module {
173
  'label' => __( 'NOT IN', 'live-composer-page-builder' ),
174
  'value' => 'NOT IN',
175
  ),
176
- )
177
  ),
178
  array(
179
  'label' => __( 'Order By', 'live-composer-page-builder' ),
@@ -183,25 +183,25 @@ class DSLC_Staff extends DSLC_Module {
183
  'choices' => array(
184
  array(
185
  'label' => __( 'Publish Date', 'live-composer-page-builder' ),
186
- 'value' => 'date'
187
  ),
188
  array(
189
  'label' => __( 'Modified Date', 'live-composer-page-builder' ),
190
- 'value' => 'modified'
191
  ),
192
  array(
193
  'label' => __( 'Random', 'live-composer-page-builder' ),
194
- 'value' => 'rand'
195
  ),
196
  array(
197
  'label' => __( 'Alphabetic', 'live-composer-page-builder' ),
198
- 'value' => 'title'
199
  ),
200
  array(
201
  'label' => __( 'Comment Count', 'live-composer-page-builder' ),
202
- 'value' => 'comment_count'
203
  ),
204
- )
205
  ),
206
  array(
207
  'label' => __( 'Order', 'live-composer-page-builder' ),
@@ -211,13 +211,13 @@ class DSLC_Staff extends DSLC_Module {
211
  'choices' => array(
212
  array(
213
  'label' => __( 'Ascending', 'live-composer-page-builder' ),
214
- 'value' => 'ASC'
215
  ),
216
  array(
217
  'label' => __( 'Descending', 'live-composer-page-builder' ),
218
- 'value' => 'DESC'
219
- )
220
- )
221
  ),
222
  array(
223
  'label' => __( 'Offset', 'live-composer-page-builder' ),
@@ -245,12 +245,12 @@ class DSLC_Staff extends DSLC_Module {
245
  'choices' => array(
246
  array(
247
  'label' => __( 'Open in same tab', 'live-composer-page-builder' ),
248
- 'value' => '_self'
249
  ),
250
  array(
251
  'label' => __( 'Open in new tab', 'live-composer-page-builder' ),
252
- 'value' => '_blank'
253
- )
254
  ),
255
  'tab' => __( 'Other', 'live-composer-page-builder' ),
256
  ),
@@ -267,11 +267,11 @@ class DSLC_Staff extends DSLC_Module {
267
  'choices' => array(
268
  array(
269
  'label' => __( 'Heading', 'live-composer-page-builder' ),
270
- 'value' => 'main_heading'
271
  ),
272
  array(
273
  'label' => __( 'Filters', 'live-composer-page-builder' ),
274
- 'value' => 'filters'
275
  ),
276
  ),
277
  'section' => 'styling',
@@ -315,11 +315,11 @@ class DSLC_Staff extends DSLC_Module {
315
  'choices' => array(
316
  array(
317
  'label' => __( 'Arrows', 'live-composer-page-builder' ),
318
- 'value' => 'arrows'
319
  ),
320
  array(
321
  'label' => __( 'Circles', 'live-composer-page-builder' ),
322
- 'value' => 'circles'
323
  ),
324
  ),
325
  'section' => 'styling',
@@ -350,7 +350,7 @@ class DSLC_Staff extends DSLC_Module {
350
  'ext' => 'px',
351
  'min' => 0,
352
  'max' => 1000,
353
- 'increment' => 5
354
  ),
355
 
356
  /**
@@ -365,11 +365,11 @@ class DSLC_Staff extends DSLC_Module {
365
  'choices' => array(
366
  array(
367
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
368
- 'value' => 'enabled'
369
  ),
370
  array(
371
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
372
- 'value' => 'disabled'
373
  ),
374
  ),
375
  'section' => 'styling',
@@ -422,19 +422,19 @@ class DSLC_Staff extends DSLC_Module {
422
  'choices' => array(
423
  array(
424
  'label' => __( 'Invisible', 'live-composer-page-builder' ),
425
- 'value' => 'none'
426
  ),
427
  array(
428
  'label' => __( 'Solid', 'live-composer-page-builder' ),
429
- 'value' => 'solid'
430
  ),
431
  array(
432
  'label' => __( 'Dashed', 'live-composer-page-builder' ),
433
- 'value' => 'dashed'
434
  ),
435
  array(
436
  'label' => __( 'Dotted', 'live-composer-page-builder' ),
437
- 'value' => 'dotted'
438
  ),
439
  ),
440
  'refresh_on_change' => false,
@@ -504,19 +504,19 @@ class DSLC_Staff extends DSLC_Module {
504
  'choices' => array(
505
  array(
506
  'label' => __( 'Top', 'live-composer-page-builder' ),
507
- 'value' => 'top'
508
  ),
509
  array(
510
  'label' => __( 'Right', 'live-composer-page-builder' ),
511
- 'value' => 'right'
512
  ),
513
  array(
514
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
515
- 'value' => 'bottom'
516
  ),
517
  array(
518
  'label' => __( 'Left', 'live-composer-page-builder' ),
519
- 'value' => 'left'
520
  ),
521
  ),
522
  'refresh_on_change' => false,
@@ -629,7 +629,7 @@ class DSLC_Staff extends DSLC_Module {
629
  'type' => 'text',
630
  'section' => 'styling',
631
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
632
- 'visibility' => 'hidden'
633
  ),
634
 
635
  /**
@@ -692,19 +692,19 @@ class DSLC_Staff extends DSLC_Module {
692
  'choices' => array(
693
  array(
694
  'label' => __( 'Top', 'live-composer-page-builder' ),
695
- 'value' => 'top'
696
  ),
697
  array(
698
  'label' => __( 'Right', 'live-composer-page-builder' ),
699
- 'value' => 'right'
700
  ),
701
  array(
702
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
703
- 'value' => 'bottom'
704
  ),
705
  array(
706
  'label' => __( 'Left', 'live-composer-page-builder' ),
707
- 'value' => 'left'
708
  ),
709
  ),
710
  'refresh_on_change' => false,
@@ -835,15 +835,15 @@ class DSLC_Staff extends DSLC_Module {
835
  'choices' => array(
836
  array(
837
  'label' => __( 'Bellow Thumbnail', 'live-composer-page-builder' ),
838
- 'value' => 'bellow'
839
  ),
840
  array(
841
  'label' => __( 'Inside Thumbnail ( hover )', 'live-composer-page-builder' ),
842
- 'value' => 'inside'
843
  ),
844
  array(
845
  'label' => __( 'Inside Thumbnail ( always visible )', 'live-composer-page-builder' ),
846
- 'value' => 'inside_visible'
847
  ),
848
  ),
849
  ),
@@ -875,7 +875,7 @@ class DSLC_Staff extends DSLC_Module {
875
  'min' => 0,
876
  'max' => 10,
877
  'increment' => 1,
878
-
879
  'std' => '1',
880
  'type' => 'slider',
881
  'refresh_on_change' => false,
@@ -893,19 +893,19 @@ class DSLC_Staff extends DSLC_Module {
893
  'choices' => array(
894
  array(
895
  'label' => __( 'Top', 'live-composer-page-builder' ),
896
- 'value' => 'top'
897
  ),
898
  array(
899
  'label' => __( 'Right', 'live-composer-page-builder' ),
900
- 'value' => 'right'
901
  ),
902
  array(
903
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
904
- 'value' => 'bottom'
905
  ),
906
  array(
907
  'label' => __( 'Left', 'live-composer-page-builder' ),
908
- 'value' => 'left'
909
  ),
910
  ),
911
  'refresh_on_change' => false,
@@ -962,7 +962,7 @@ class DSLC_Staff extends DSLC_Module {
962
  'ext' => 'px',
963
  'tab' => __( 'Main', 'live-composer-page-builder' ),
964
  'min' => 0,
965
- 'max' => 500
966
  ),
967
  array(
968
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -1020,25 +1020,25 @@ class DSLC_Staff extends DSLC_Module {
1020
  'choices' => array(
1021
  array(
1022
  'label' => __( 'Top Left', 'live-composer-page-builder' ),
1023
- 'value' => 'topleft'
1024
  ),
1025
  array(
1026
  'label' => __( 'Top Right', 'live-composer-page-builder' ),
1027
- 'value' => 'topright'
1028
  ),
1029
  array(
1030
  'label' => __( 'Center', 'live-composer-page-builder' ),
1031
- 'value' => 'center'
1032
  ),
1033
  array(
1034
  'label' => __( 'Bottom Left', 'live-composer-page-builder' ),
1035
- 'value' => 'bottomleft'
1036
  ),
1037
  array(
1038
  'label' => __( 'Bottom Right', 'live-composer-page-builder' ),
1039
- 'value' => 'bottomright'
1040
  ),
1041
- )
1042
  ),
1043
  array(
1044
  'label' => __( 'Margin', 'live-composer-page-builder' ),
@@ -1068,7 +1068,6 @@ class DSLC_Staff extends DSLC_Module {
1068
  'tab' => __( 'Main Inner', 'live-composer-page-builder' ),
1069
  ),
1070
 
1071
-
1072
  /**
1073
  * Title
1074
  */
@@ -1209,19 +1208,19 @@ class DSLC_Staff extends DSLC_Module {
1209
  'choices' => array(
1210
  array(
1211
  'label' => __( 'None', 'live-composer-page-builder' ),
1212
- 'value' => 'none'
1213
  ),
1214
  array(
1215
  'label' => __( 'Capitalize', 'live-composer-page-builder' ),
1216
- 'value' => 'capitalize'
1217
  ),
1218
  array(
1219
  'label' => __( 'Uppercase', 'live-composer-page-builder' ),
1220
- 'value' => 'uppercase'
1221
  ),
1222
  array(
1223
  'label' => __( 'Lowercase', 'live-composer-page-builder' ),
1224
- 'value' => 'lowercase'
1225
  ),
1226
  ),
1227
  'refresh_on_change' => false,
@@ -1252,7 +1251,7 @@ class DSLC_Staff extends DSLC_Module {
1252
  'min' => 0,
1253
  'max' => 10,
1254
  'increment' => 1,
1255
-
1256
  'std' => '1',
1257
  'type' => 'slider',
1258
  'refresh_on_change' => false,
@@ -1270,19 +1269,19 @@ class DSLC_Staff extends DSLC_Module {
1270
  'choices' => array(
1271
  array(
1272
  'label' => __( 'Top', 'live-composer-page-builder' ),
1273
- 'value' => 'top'
1274
  ),
1275
  array(
1276
  'label' => __( 'Right', 'live-composer-page-builder' ),
1277
- 'value' => 'right'
1278
  ),
1279
  array(
1280
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
1281
- 'value' => 'bottom'
1282
  ),
1283
  array(
1284
  'label' => __( 'Left', 'live-composer-page-builder' ),
1285
- 'value' => 'left'
1286
  ),
1287
  ),
1288
  'refresh_on_change' => false,
@@ -1397,7 +1396,7 @@ class DSLC_Staff extends DSLC_Module {
1397
  'label' => __( 'Italic', 'live-composer-page-builder' ),
1398
  'value' => 'italic',
1399
  ),
1400
- )
1401
  ),
1402
  array(
1403
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1442,11 +1441,11 @@ class DSLC_Staff extends DSLC_Module {
1442
  'choices' => array(
1443
  array(
1444
  'label' => __( 'Excerpt', 'live-composer-page-builder' ),
1445
- 'value' => 'excerpt'
1446
  ),
1447
  array(
1448
  'label' => __( 'Content', 'live-composer-page-builder' ),
1449
- 'value' => 'content'
1450
  ),
1451
  ),
1452
  'section' => 'styling',
@@ -1575,11 +1574,11 @@ class DSLC_Staff extends DSLC_Module {
1575
  'choices' => array(
1576
  array(
1577
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
1578
- 'value' => 'disabled'
1579
  ),
1580
  array(
1581
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
1582
- 'value' => 'enabled'
1583
  ),
1584
  ),
1585
  'section' => 'responsive',
@@ -1882,11 +1881,11 @@ class DSLC_Staff extends DSLC_Module {
1882
  'choices' => array(
1883
  array(
1884
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
1885
- 'value' => 'disabled'
1886
  ),
1887
  array(
1888
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
1889
- 'value' => 'enabled'
1890
  ),
1891
  ),
1892
  'section' => 'responsive',
@@ -2214,10 +2213,10 @@ class DSLC_Staff extends DSLC_Module {
2214
 
2215
  if ( is_front_page() ) { $paged = ( get_query_var( 'page' ) ) ? get_query_var( 'page' ) : 1; } else { $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1; }
2216
 
2217
- // Fix for pagination from other modules affecting this one when pag disabled
2218
  if ( $options['pagination_type'] == 'disabled' ) $paged = 1;
2219
 
2220
- // Fix for offset braking pagination
2221
  $query_offset = $options['offset'];
2222
  if ( $query_offset > 0 && $paged > 1 ) $query_offset = ( $paged - 1 ) * $options['amount'] + $options['offset'];
2223
 
@@ -2229,7 +2228,7 @@ class DSLC_Staff extends DSLC_Module {
2229
  'orderby' => $options['orderby'],
2230
  );
2231
 
2232
- // Add offset
2233
  if ( $query_offset > 0 ) {
2234
  $args['offset'] = $query_offset;
2235
  }
@@ -2247,41 +2246,41 @@ class DSLC_Staff extends DSLC_Module {
2247
  'taxonomy' => 'dslc_staff_cats',
2248
  'field' => 'slug',
2249
  'terms' => $cats_array,
2250
- 'operator' => $options['categories_operator']
2251
- )
2252
  );
2253
 
2254
  }
2255
 
2256
- // Exlcude and Include arrays
2257
  $exclude = array();
2258
  $include = array();
2259
 
2260
- // Exclude current post
2261
  if ( is_singular( get_post_type() ) )
2262
  $exclude[] = get_the_ID();
2263
 
2264
- // Exclude posts ( option )
2265
  if ( $options['query_post_not_in'] )
2266
  $exclude = array_merge( $exclude, explode( ' ', $options['query_post_not_in'] ) );
2267
 
2268
- // Include posts ( option )
2269
  if ( $options['query_post_in'] )
2270
  $include = array_merge( $include, explode( ' ', $options['query_post_in'] ) );
2271
 
2272
- // Include query parameter
2273
  if ( ! empty( $include ) )
2274
  $args['post__in'] = $include;
2275
 
2276
- // Exclude query parameter
2277
  if ( ! empty( $exclude ) )
2278
  $args['post__not_in'] = $exclude;
2279
 
2280
- // No paging
2281
- if ( $options['pagination_type'] == 'disabled' )
2282
  $args['no_found_rows'] = true;
2283
 
2284
- // Do the query
2285
  if ( is_category() || is_tax() || is_search() ) {
2286
  global $wp_query;
2287
  $dslc_query = $wp_query;
@@ -2299,7 +2298,7 @@ class DSLC_Staff extends DSLC_Module {
2299
  * Elements to show
2300
  */
2301
 
2302
- // Main Elements
2303
  $elements = $options['elements'];
2304
  if ( ! empty( $elements ) )
2305
  $elements = explode( ' ', trim( $elements ) );
@@ -2307,14 +2306,14 @@ class DSLC_Staff extends DSLC_Module {
2307
  $elements = array();
2308
 
2309
 
2310
- // Post Elements
2311
  $post_elements = $options['post_elements'];
2312
  if ( ! empty( $post_elements ) )
2313
  $post_elements = explode( ' ', trim( $post_elements ) );
2314
  else
2315
  $post_elements = 'all';
2316
 
2317
- // Carousel Elements
2318
  $carousel_elements = $options['carousel_elements'];
2319
  if ( ! empty( $carousel_elements ) )
2320
  $carousel_elements = explode( ' ', trim( $carousel_elements ) );
@@ -2448,11 +2447,10 @@ class DSLC_Staff extends DSLC_Module {
2448
  ?>
2449
 
2450
  <div class="dslc-post-filters">
2451
-
2452
- <span class="dslc-post-filter dslc-active" data-id=" "><?php _ex( 'All', 'Post Filter', 'live-composer-page-builder' ); ?></span>
2453
 
2454
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
2455
- <span class="dslc-post-filter dslc-inactive" data-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
2456
  <?php endforeach; ?>
2457
 
2458
  </div><!-- .dslc-post-filters -->
@@ -2511,6 +2509,7 @@ class DSLC_Staff extends DSLC_Module {
2511
 
2512
  $position = get_post_meta( get_the_ID(), 'dslc_staff_position', true );
2513
  $social_twitter = get_post_meta( get_the_ID(), 'dslc_staff_social_twitter', true );
 
2514
  $social_facebook = get_post_meta( get_the_ID(), 'dslc_staff_social_facebook', true );
2515
  $social_googleplus = get_post_meta( get_the_ID(), 'dslc_staff_social_googleplus', true );
2516
  $social_linkedin = get_post_meta( get_the_ID(), 'dslc_staff_social_linkedin', true );
@@ -2647,7 +2646,7 @@ class DSLC_Staff extends DSLC_Module {
2647
 
2648
  <?php if ( $post_elements == 'all' || in_array( 'social', $post_elements ) ) : ?>
2649
 
2650
- <?php if ( $social_twitter || $social_facebook || $social_googleplus || $social_linkedin || $social_email ) : ?>
2651
 
2652
  <div class="dslc-staff-member-social">
2653
 
@@ -2655,6 +2654,10 @@ class DSLC_Staff extends DSLC_Module {
2655
  <a target="<?php echo $options['social_link_target']; ?>" href="<?php echo $social_twitter; ?>"><span class="dslc-icon dslc-icon-twitter"></span></a>
2656
  <?php endif; ?>
2657
 
 
 
 
 
2658
  <?php if ( $social_facebook ) : ?>
2659
  <a target="<?php echo $options['social_link_target']; ?>" href="<?php echo $social_facebook; ?>"><span class="dslc-icon dslc-icon-facebook"></span></a>
2660
  <?php endif; ?>
@@ -2733,15 +2736,14 @@ class DSLC_Staff extends DSLC_Module {
2733
 
2734
  <?php
2735
 
2736
- // Row Separator
2737
- if ( $options['type'] == 'grid' && $count == 0 && $real_count != $dslc_query->found_posts && $real_count != $options['amount'] && $options['separator_enabled'] == 'enabled' ) {
2738
  echo '<div class="dslc-post-separator"></div>';
2739
  }
2740
 
2741
-
2742
  endwhile;
2743
 
2744
- if ( $options['type'] == 'carousel' ) :
2745
 
2746
  ?></div><?php
2747
 
@@ -2774,9 +2776,7 @@ class DSLC_Staff extends DSLC_Module {
2774
  wp_reset_postdata();
2775
 
2776
  /* Module output ends here */
2777
-
2778
  $this->module_end( $options );
2779
 
2780
  }
2781
-
2782
- }
62
  'choices' => array(
63
  array(
64
  'label' => __( 'Desktop', 'live-composer-page-builder' ),
65
+ 'value' => 'desktop',
66
  ),
67
  array(
68
  'label' => __( 'Tablet', 'live-composer-page-builder' ),
69
+ 'value' => 'tablet',
70
  ),
71
  array(
72
  'label' => __( 'Phone', 'live-composer-page-builder' ),
73
+ 'value' => 'phone',
74
  ),
75
  ),
76
  ),
82
  'choices' => array(
83
  array(
84
  'label' => __( 'Link to staff member page', 'live-composer-page-builder' ),
85
+ 'value' => 'enabled',
86
  ),
87
  array(
88
  'label' => __( 'Do NOT link to staff member page', 'live-composer-page-builder' ),
89
+ 'value' => 'disabled',
90
  ),
91
+ ),
92
  ),
93
  array(
94
  'label' => __( 'Type', 'live-composer-page-builder' ),
98
  'choices' => array(
99
  array(
100
  'label' => __( 'Grid', 'live-composer-page-builder' ),
101
+ 'value' => 'grid',
102
  ),
103
  array(
104
  'label' => __( 'Masonry Grid', 'live-composer-page-builder' ),
105
+ 'value' => 'masonry',
106
  ),
107
  array(
108
  'label' => __( 'Carousel', 'live-composer-page-builder' ),
109
+ 'value' => 'carousel',
110
+ ),
111
+ ),
112
  ),
113
  array(
114
  'label' => __( 'Posts Per Page', 'live-composer-page-builder' ),
152
  'id' => 'categories',
153
  'std' => '',
154
  'type' => 'checkbox',
155
+ 'choices' => $cats_choices,
156
  ),
157
  array(
158
  'label' => __( 'Categories Operator', 'live-composer-page-builder' ),
173
  'label' => __( 'NOT IN', 'live-composer-page-builder' ),
174
  'value' => 'NOT IN',
175
  ),
176
+ ),
177
  ),
178
  array(
179
  'label' => __( 'Order By', 'live-composer-page-builder' ),
183
  'choices' => array(
184
  array(
185
  'label' => __( 'Publish Date', 'live-composer-page-builder' ),
186
+ 'value' => 'date',
187
  ),
188
  array(
189
  'label' => __( 'Modified Date', 'live-composer-page-builder' ),
190
+ 'value' => 'modified',
191
  ),
192
  array(
193
  'label' => __( 'Random', 'live-composer-page-builder' ),
194
+ 'value' => 'rand',
195
  ),
196
  array(
197
  'label' => __( 'Alphabetic', 'live-composer-page-builder' ),
198
+ 'value' => 'title',
199
  ),
200
  array(
201
  'label' => __( 'Comment Count', 'live-composer-page-builder' ),
202
+ 'value' => 'comment_count',
203
  ),
204
+ ),
205
  ),
206
  array(
207
  'label' => __( 'Order', 'live-composer-page-builder' ),
211
  'choices' => array(
212
  array(
213
  'label' => __( 'Ascending', 'live-composer-page-builder' ),
214
+ 'value' => 'ASC',
215
  ),
216
  array(
217
  'label' => __( 'Descending', 'live-composer-page-builder' ),
218
+ 'value' => 'DESC',
219
+ ),
220
+ ),
221
  ),
222
  array(
223
  'label' => __( 'Offset', 'live-composer-page-builder' ),
245
  'choices' => array(
246
  array(
247
  'label' => __( 'Open in same tab', 'live-composer-page-builder' ),
248
+ 'value' => '_self',
249
  ),
250
  array(
251
  'label' => __( 'Open in new tab', 'live-composer-page-builder' ),
252
+ 'value' => '_blank',
253
+ ),
254
  ),
255
  'tab' => __( 'Other', 'live-composer-page-builder' ),
256
  ),
267
  'choices' => array(
268
  array(
269
  'label' => __( 'Heading', 'live-composer-page-builder' ),
270
+ 'value' => 'main_heading',
271
  ),
272
  array(
273
  'label' => __( 'Filters', 'live-composer-page-builder' ),
274
+ 'value' => 'filters',
275
  ),
276
  ),
277
  'section' => 'styling',
315
  'choices' => array(
316
  array(
317
  'label' => __( 'Arrows', 'live-composer-page-builder' ),
318
+ 'value' => 'arrows',
319
  ),
320
  array(
321
  'label' => __( 'Circles', 'live-composer-page-builder' ),
322
+ 'value' => 'circles',
323
  ),
324
  ),
325
  'section' => 'styling',
350
  'ext' => 'px',
351
  'min' => 0,
352
  'max' => 1000,
353
+ 'increment' => 5,
354
  ),
355
 
356
  /**
365
  'choices' => array(
366
  array(
367
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
368
+ 'value' => 'enabled',
369
  ),
370
  array(
371
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
372
+ 'value' => 'disabled',
373
  ),
374
  ),
375
  'section' => 'styling',
422
  'choices' => array(
423
  array(
424
  'label' => __( 'Invisible', 'live-composer-page-builder' ),
425
+ 'value' => 'none',
426
  ),
427
  array(
428
  'label' => __( 'Solid', 'live-composer-page-builder' ),
429
+ 'value' => 'solid',
430
  ),
431
  array(
432
  'label' => __( 'Dashed', 'live-composer-page-builder' ),
433
+ 'value' => 'dashed',
434
  ),
435
  array(
436
  'label' => __( 'Dotted', 'live-composer-page-builder' ),
437
+ 'value' => 'dotted',
438
  ),
439
  ),
440
  'refresh_on_change' => false,
504
  'choices' => array(
505
  array(
506
  'label' => __( 'Top', 'live-composer-page-builder' ),
507
+ 'value' => 'top',
508
  ),
509
  array(
510
  'label' => __( 'Right', 'live-composer-page-builder' ),
511
+ 'value' => 'right',
512
  ),
513
  array(
514
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
515
+ 'value' => 'bottom',
516
  ),
517
  array(
518
  'label' => __( 'Left', 'live-composer-page-builder' ),
519
+ 'value' => 'left',
520
  ),
521
  ),
522
  'refresh_on_change' => false,
629
  'type' => 'text',
630
  'section' => 'styling',
631
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
632
+ 'visibility' => 'hidden',
633
  ),
634
 
635
  /**
692
  'choices' => array(
693
  array(
694
  'label' => __( 'Top', 'live-composer-page-builder' ),
695
+ 'value' => 'top',
696
  ),
697
  array(
698
  'label' => __( 'Right', 'live-composer-page-builder' ),
699
+ 'value' => 'right',
700
  ),
701
  array(
702
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
703
+ 'value' => 'bottom',
704
  ),
705
  array(
706
  'label' => __( 'Left', 'live-composer-page-builder' ),
707
+ 'value' => 'left',
708
  ),
709
  ),
710
  'refresh_on_change' => false,
835
  'choices' => array(
836
  array(
837
  'label' => __( 'Bellow Thumbnail', 'live-composer-page-builder' ),
838
+ 'value' => 'bellow',
839
  ),
840
  array(
841
  'label' => __( 'Inside Thumbnail ( hover )', 'live-composer-page-builder' ),
842
+ 'value' => 'inside',
843
  ),
844
  array(
845
  'label' => __( 'Inside Thumbnail ( always visible )', 'live-composer-page-builder' ),
846
+ 'value' => 'inside_visible',
847
  ),
848
  ),
849
  ),
875
  'min' => 0,
876
  'max' => 10,
877
  'increment' => 1,
878
+
879
  'std' => '1',
880
  'type' => 'slider',
881
  'refresh_on_change' => false,
893
  'choices' => array(
894
  array(
895
  'label' => __( 'Top', 'live-composer-page-builder' ),
896
+ 'value' => 'top',
897
  ),
898
  array(
899
  'label' => __( 'Right', 'live-composer-page-builder' ),
900
+ 'value' => 'right',
901
  ),
902
  array(
903
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
904
+ 'value' => 'bottom',
905
  ),
906
  array(
907
  'label' => __( 'Left', 'live-composer-page-builder' ),
908
+ 'value' => 'left',
909
  ),
910
  ),
911
  'refresh_on_change' => false,
962
  'ext' => 'px',
963
  'tab' => __( 'Main', 'live-composer-page-builder' ),
964
  'min' => 0,
965
+ 'max' => 500,
966
  ),
967
  array(
968
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1020
  'choices' => array(
1021
  array(
1022
  'label' => __( 'Top Left', 'live-composer-page-builder' ),
1023
+ 'value' => 'topleft',
1024
  ),
1025
  array(
1026
  'label' => __( 'Top Right', 'live-composer-page-builder' ),
1027
+ 'value' => 'topright',
1028
  ),
1029
  array(
1030
  'label' => __( 'Center', 'live-composer-page-builder' ),
1031
+ 'value' => 'center',
1032
  ),
1033
  array(
1034
  'label' => __( 'Bottom Left', 'live-composer-page-builder' ),
1035
+ 'value' => 'bottomleft',
1036
  ),
1037
  array(
1038
  'label' => __( 'Bottom Right', 'live-composer-page-builder' ),
1039
+ 'value' => 'bottomright',
1040
  ),
1041
+ ),
1042
  ),
1043
  array(
1044
  'label' => __( 'Margin', 'live-composer-page-builder' ),
1068
  'tab' => __( 'Main Inner', 'live-composer-page-builder' ),
1069
  ),
1070
 
 
1071
  /**
1072
  * Title
1073
  */
1208
  'choices' => array(
1209
  array(
1210
  'label' => __( 'None', 'live-composer-page-builder' ),
1211
+ 'value' => 'none',
1212
  ),
1213
  array(
1214
  'label' => __( 'Capitalize', 'live-composer-page-builder' ),
1215
+ 'value' => 'capitalize',
1216
  ),
1217
  array(
1218
  'label' => __( 'Uppercase', 'live-composer-page-builder' ),
1219
+ 'value' => 'uppercase',
1220
  ),
1221
  array(
1222
  'label' => __( 'Lowercase', 'live-composer-page-builder' ),
1223
+ 'value' => 'lowercase',
1224
  ),
1225
  ),
1226
  'refresh_on_change' => false,
1251
  'min' => 0,
1252
  'max' => 10,
1253
  'increment' => 1,
1254
+
1255
  'std' => '1',
1256
  'type' => 'slider',
1257
  'refresh_on_change' => false,
1269
  'choices' => array(
1270
  array(
1271
  'label' => __( 'Top', 'live-composer-page-builder' ),
1272
+ 'value' => 'top',
1273
  ),
1274
  array(
1275
  'label' => __( 'Right', 'live-composer-page-builder' ),
1276
+ 'value' => 'right',
1277
  ),
1278
  array(
1279
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
1280
+ 'value' => 'bottom',
1281
  ),
1282
  array(
1283
  'label' => __( 'Left', 'live-composer-page-builder' ),
1284
+ 'value' => 'left',
1285
  ),
1286
  ),
1287
  'refresh_on_change' => false,
1396
  'label' => __( 'Italic', 'live-composer-page-builder' ),
1397
  'value' => 'italic',
1398
  ),
1399
+ ),
1400
  ),
1401
  array(
1402
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1441
  'choices' => array(
1442
  array(
1443
  'label' => __( 'Excerpt', 'live-composer-page-builder' ),
1444
+ 'value' => 'excerpt',
1445
  ),
1446
  array(
1447
  'label' => __( 'Content', 'live-composer-page-builder' ),
1448
+ 'value' => 'content',
1449
  ),
1450
  ),
1451
  'section' => 'styling',
1574
  'choices' => array(
1575
  array(
1576
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
1577
+ 'value' => 'disabled',
1578
  ),
1579
  array(
1580
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
1581
+ 'value' => 'enabled',
1582
  ),
1583
  ),
1584
  'section' => 'responsive',
1881
  'choices' => array(
1882
  array(
1883
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
1884
+ 'value' => 'disabled',
1885
  ),
1886
  array(
1887
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
1888
+ 'value' => 'enabled',
1889
  ),
1890
  ),
1891
  'section' => 'responsive',
2213
 
2214
  if ( is_front_page() ) { $paged = ( get_query_var( 'page' ) ) ? get_query_var( 'page' ) : 1; } else { $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1; }
2215
 
2216
+ // Fix for pagination from other modules affecting this one when pag disabled.
2217
  if ( $options['pagination_type'] == 'disabled' ) $paged = 1;
2218
 
2219
+ // Fix for offset braking pagination.
2220
  $query_offset = $options['offset'];
2221
  if ( $query_offset > 0 && $paged > 1 ) $query_offset = ( $paged - 1 ) * $options['amount'] + $options['offset'];
2222
 
2228
  'orderby' => $options['orderby'],
2229
  );
2230
 
2231
+ // Add offset.
2232
  if ( $query_offset > 0 ) {
2233
  $args['offset'] = $query_offset;
2234
  }
2246
  'taxonomy' => 'dslc_staff_cats',
2247
  'field' => 'slug',
2248
  'terms' => $cats_array,
2249
+ 'operator' => $options['categories_operator'],
2250
+ ),
2251
  );
2252
 
2253
  }
2254
 
2255
+ // Exlcude and Include arrays.
2256
  $exclude = array();
2257
  $include = array();
2258
 
2259
+ // Exclude current post.
2260
  if ( is_singular( get_post_type() ) )
2261
  $exclude[] = get_the_ID();
2262
 
2263
+ // Exclude posts ( option ).
2264
  if ( $options['query_post_not_in'] )
2265
  $exclude = array_merge( $exclude, explode( ' ', $options['query_post_not_in'] ) );
2266
 
2267
+ // Include posts ( option ).
2268
  if ( $options['query_post_in'] )
2269
  $include = array_merge( $include, explode( ' ', $options['query_post_in'] ) );
2270
 
2271
+ // Include query parameter.
2272
  if ( ! empty( $include ) )
2273
  $args['post__in'] = $include;
2274
 
2275
+ // Exclude query parameter.
2276
  if ( ! empty( $exclude ) )
2277
  $args['post__not_in'] = $exclude;
2278
 
2279
+ // No paging.
2280
+ if ( 'disabled' === $options['pagination_type'] )
2281
  $args['no_found_rows'] = true;
2282
 
2283
+ // Do the query.
2284
  if ( is_category() || is_tax() || is_search() ) {
2285
  global $wp_query;
2286
  $dslc_query = $wp_query;
2298
  * Elements to show
2299
  */
2300
 
2301
+ // Main Elements.
2302
  $elements = $options['elements'];
2303
  if ( ! empty( $elements ) )
2304
  $elements = explode( ' ', trim( $elements ) );
2306
  $elements = array();
2307
 
2308
 
2309
+ // Post Elements.
2310
  $post_elements = $options['post_elements'];
2311
  if ( ! empty( $post_elements ) )
2312
  $post_elements = explode( ' ', trim( $post_elements ) );
2313
  else
2314
  $post_elements = 'all';
2315
 
2316
+ // Carousel Elements.
2317
  $carousel_elements = $options['carousel_elements'];
2318
  if ( ! empty( $carousel_elements ) )
2319
  $carousel_elements = explode( ' ', trim( $carousel_elements ) );
2447
  ?>
2448
 
2449
  <div class="dslc-post-filters">
2450
+ <span class="dslc-post-filter dslc-active dslca-editable-content" data-filter-id="show-all" <?php if ( $dslc_is_admin ){ echo 'data-id="main_filter_title_all" data-type="simple" contenteditable '; } ?>><?php echo $options['main_filter_title_all']; ?></span>
 
2451
 
2452
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
2453
+ <span class="dslc-post-filter dslc-inactive" data-filter-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
2454
  <?php endforeach; ?>
2455
 
2456
  </div><!-- .dslc-post-filters -->
2509
 
2510
  $position = get_post_meta( get_the_ID(), 'dslc_staff_position', true );
2511
  $social_twitter = get_post_meta( get_the_ID(), 'dslc_staff_social_twitter', true );
2512
+ $social_instagram = get_post_meta( get_the_ID(), 'dslc_staff_social_instagram', true );
2513
  $social_facebook = get_post_meta( get_the_ID(), 'dslc_staff_social_facebook', true );
2514
  $social_googleplus = get_post_meta( get_the_ID(), 'dslc_staff_social_googleplus', true );
2515
  $social_linkedin = get_post_meta( get_the_ID(), 'dslc_staff_social_linkedin', true );
2646
 
2647
  <?php if ( $post_elements == 'all' || in_array( 'social', $post_elements ) ) : ?>
2648
 
2649
+ <?php if ( $social_twitter || $social_instagram || $social_facebook || $social_googleplus || $social_linkedin || $social_email ) : ?>
2650
 
2651
  <div class="dslc-staff-member-social">
2652
 
2654
  <a target="<?php echo $options['social_link_target']; ?>" href="<?php echo $social_twitter; ?>"><span class="dslc-icon dslc-icon-twitter"></span></a>
2655
  <?php endif; ?>
2656
 
2657
+ <?php if ( $social_instagram ) : ?>
2658
+ <a target="<?php echo $options['social_link_target']; ?>" href="<?php echo $social_instagram; ?>"><span class="dslc-icon dslc-icon-instagram"></span></a>
2659
+ <?php endif; ?>
2660
+
2661
  <?php if ( $social_facebook ) : ?>
2662
  <a target="<?php echo $options['social_link_target']; ?>" href="<?php echo $social_facebook; ?>"><span class="dslc-icon dslc-icon-facebook"></span></a>
2663
  <?php endif; ?>
2736
 
2737
  <?php
2738
 
2739
+ // Row Separator.
2740
+ if ( 'grid' === $options['type'] && $count == 0 && $real_count != $dslc_query->found_posts && $real_count != $options['amount'] && $options['separator_enabled'] == 'enabled' ) {
2741
  echo '<div class="dslc-post-separator"></div>';
2742
  }
2743
 
 
2744
  endwhile;
2745
 
2746
+ if ( 'carousel' === $options['type'] ) :
2747
 
2748
  ?></div><?php
2749
 
2776
  wp_reset_postdata();
2777
 
2778
  /* Module output ends here */
 
2779
  $this->module_end( $options );
2780
 
2781
  }
2782
+ }
 
modules/testimonials/module.php CHANGED
@@ -2183,11 +2183,10 @@ class DSLC_Testimonials extends DSLC_Module {
2183
  ?>
2184
 
2185
  <div class="dslc-post-filters">
2186
-
2187
- <span class="dslc-post-filter dslc-active" data-id=" "><?php _ex( 'All', 'Post Filter', 'live-composer-page-builder' ); ?></span>
2188
 
2189
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
2190
- <span class="dslc-post-filter dslc-inactive" data-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
2191
  <?php endforeach; ?>
2192
 
2193
  </div><!-- .dslc-post-filters -->
2183
  ?>
2184
 
2185
  <div class="dslc-post-filters">
2186
+ <span class="dslc-post-filter dslc-active dslca-editable-content" data-filter-id="show-all" <?php if ( $dslc_is_admin ){ echo 'data-id="main_filter_title_all" data-type="simple" contenteditable '; } ?>><?php echo $options['main_filter_title_all']; ?></span>
 
2187
 
2188
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
2189
+ <span class="dslc-post-filter dslc-inactive" data-filter-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
2190
  <?php endforeach; ?>
2191
 
2192
  </div><!-- .dslc-post-filters -->
modules/woocommerce/module.php CHANGED
@@ -61,15 +61,15 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
61
  'choices' => array(
62
  array(
63
  'label' => __( 'Desktop', 'live-composer-page-builder' ),
64
- 'value' => 'desktop'
65
  ),
66
  array(
67
  'label' => __( 'Tablet', 'live-composer-page-builder' ),
68
- 'value' => 'tablet'
69
  ),
70
  array(
71
  'label' => __( 'Phone', 'live-composer-page-builder' ),
72
- 'value' => 'phone'
73
  ),
74
  ),
75
  ),
@@ -85,7 +85,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
85
  ),
86
  array(
87
  'label' => __( 'Masonry Grid', 'live-composer-page-builder' ),
88
- 'value' => 'masonry'
89
  ),
90
  array(
91
  'label' => __( 'Carousel', 'live-composer-page-builder' ),
@@ -101,13 +101,13 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
101
  'choices' => array(
102
  array(
103
  'label' => __( 'Vertical', 'live-composer-page-builder' ),
104
- 'value' => 'vertical'
105
  ),
106
  array(
107
  'label' => __( 'Horizontal', 'live-composer-page-builder' ),
108
- 'value' => 'horizontal'
109
- )
110
- )
111
  ),
112
  array(
113
  'label' => __( 'Posts Per Page', 'live-composer-page-builder' ),
@@ -151,7 +151,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
151
  'id' => 'categories',
152
  'std' => '',
153
  'type' => 'checkbox',
154
- 'choices' => $cats_choices
155
  ),
156
  array(
157
  'label' => __( 'Categories Operator', 'live-composer-page-builder' ),
@@ -182,27 +182,27 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
182
  'choices' => array(
183
  array(
184
  'label' => __( 'Publish Date', 'live-composer-page-builder' ),
185
- 'value' => 'date'
186
  ),
187
  array(
188
  'label' => __( 'Modified Date', 'live-composer-page-builder' ),
189
- 'value' => 'modified'
190
  ),
191
  array(
192
  'label' => __( 'Random', 'live-composer-page-builder' ),
193
- 'value' => 'rand'
194
  ),
195
  array(
196
  'label' => __( 'Alphabetic', 'live-composer-page-builder' ),
197
- 'value' => 'title'
198
  ),
199
  array(
200
  'label' => __( 'Comment Count', 'live-composer-page-builder' ),
201
- 'value' => 'comment_count'
202
  ),
203
  array(
204
  'label' => __( 'Price', 'live-composer-page-builder' ),
205
- 'value' => 'price'
206
  ),
207
  )
208
  ),
@@ -214,12 +214,12 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
214
  'choices' => array(
215
  array(
216
  'label' => __( 'Ascending', 'live-composer-page-builder' ),
217
- 'value' => 'ASC'
218
  ),
219
  array(
220
  'label' => __( 'Descending', 'live-composer-page-builder' ),
221
  'value' => 'DESC'
222
- )
223
  )
224
  ),
225
  array(
@@ -236,13 +236,13 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
236
  'choices' => array(
237
  array(
238
  'label' => __( 'Display out of stock products', 'live-composer-page-builder' ),
239
- 'value' => 'enabled'
240
  ),
241
  array(
242
  'label' => __( 'Do not display out of stock products', 'live-composer-page-builder' ),
243
- 'value' => 'disabled'
244
- )
245
- )
246
  ),
247
  array(
248
  'label' => __( 'Include (IDs)', 'live-composer-page-builder' ),
@@ -257,7 +257,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
257
  'type' => 'text',
258
  ),
259
 
260
- // Archive Listinging
261
  array(
262
  'label' => __( 'Archive/Search Listing', 'live-composer-page-builder' ),
263
  'id' => 'query_alter',
@@ -266,11 +266,11 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
266
  'choices' => array(
267
  array(
268
  'label' => __( 'Apply Page Query', 'live-composer-page-builder' ),
269
- 'value' => 'enabled'
270
  ),
271
  array(
272
  'label' => __( 'Ignore Page Query', 'live-composer-page-builder' ),
273
- 'value' => 'disabled'
274
  ),
275
  ),
276
  'help' => __( 'Apply Page Query – show posts according to the selected tag, category, author or search query.<br /> Ignore Page Query – ignore the page query and list posts as on any other page.', 'live-composer-page-builder' ),
@@ -288,11 +288,11 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
288
  'choices' => array(
289
  array(
290
  'label' => __( 'Heading', 'live-composer-page-builder' ),
291
- 'value' => 'main_heading'
292
  ),
293
  array(
294
  'label' => __( 'Filters', 'live-composer-page-builder' ),
295
- 'value' => 'filters'
296
  ),
297
  ),
298
  'section' => 'styling',
@@ -348,11 +348,11 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
348
  'choices' => array(
349
  array(
350
  'label' => __( 'Arrows', 'live-composer-page-builder' ),
351
- 'value' => 'arrows'
352
  ),
353
  array(
354
  'label' => __( 'Circles', 'live-composer-page-builder' ),
355
- 'value' => 'circles'
356
  ),
357
  ),
358
  'section' => 'styling',
@@ -383,7 +383,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
383
  'ext' => 'px',
384
  'min' => 0,
385
  'max' => 1000,
386
- 'increment' => 5
387
  ),
388
 
389
  /**
@@ -398,11 +398,11 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
398
  'choices' => array(
399
  array(
400
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
401
- 'value' => 'enabled'
402
  ),
403
  array(
404
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
405
- 'value' => 'disabled'
406
  ),
407
  ),
408
  'section' => 'styling',
@@ -455,19 +455,19 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
455
  'choices' => array(
456
  array(
457
  'label' => __( 'Invisible', 'live-composer-page-builder' ),
458
- 'value' => 'none'
459
  ),
460
  array(
461
  'label' => __( 'Solid', 'live-composer-page-builder' ),
462
- 'value' => 'solid'
463
  ),
464
  array(
465
  'label' => __( 'Dashed', 'live-composer-page-builder' ),
466
- 'value' => 'dashed'
467
  ),
468
  array(
469
  'label' => __( 'Dotted', 'live-composer-page-builder' ),
470
- 'value' => 'dotted'
471
  ),
472
  ),
473
  'refresh_on_change' => false,
@@ -537,19 +537,19 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
537
  'choices' => array(
538
  array(
539
  'label' => __( 'Top', 'live-composer-page-builder' ),
540
- 'value' => 'top'
541
  ),
542
  array(
543
  'label' => __( 'Right', 'live-composer-page-builder' ),
544
- 'value' => 'right'
545
  ),
546
  array(
547
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
548
- 'value' => 'bottom'
549
  ),
550
  array(
551
  'label' => __( 'Left', 'live-composer-page-builder' ),
552
- 'value' => 'left'
553
  ),
554
  ),
555
  'refresh_on_change' => false,
@@ -728,19 +728,19 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
728
  'choices' => array(
729
  array(
730
  'label' => __( 'Top', 'live-composer-page-builder' ),
731
- 'value' => 'top'
732
  ),
733
  array(
734
  'label' => __( 'Right', 'live-composer-page-builder' ),
735
- 'value' => 'right'
736
  ),
737
  array(
738
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
739
- 'value' => 'bottom'
740
  ),
741
  array(
742
  'label' => __( 'Left', 'live-composer-page-builder' ),
743
- 'value' => 'left'
744
  ),
745
  ),
746
  'refresh_on_change' => false,
@@ -755,7 +755,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
755
  'std' => '#ffffff',
756
  'type' => 'color',
757
  'refresh_on_change' => false,
758
- 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price',
759
  'affect_on_change_rule' => 'color',
760
  'section' => 'styling',
761
  'tab' => __( 'Price', 'live-composer-page-builder' ),
@@ -787,7 +787,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
787
  'std' => '25',
788
  'type' => 'slider',
789
  'refresh_on_change' => false,
790
- 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price',
791
  'affect_on_change_rule' => 'font-size',
792
  'section' => 'styling',
793
  'tab' => __( 'Price', 'live-composer-page-builder' ),
@@ -837,7 +837,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
837
  ),
838
  ),
839
  'refresh_on_change' => false,
840
- 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price',
841
  'affect_on_change_rule' => 'font-weight',
842
  'section' => 'styling',
843
  'tab' => __( 'Price', 'live-composer-page-builder' ),
@@ -849,7 +849,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
849
  'std' => 'Oswald',
850
  'type' => 'font',
851
  'refresh_on_change' => false,
852
- 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price',
853
  'affect_on_change_rule' => 'font-family',
854
  'section' => 'styling',
855
  'tab' => __( 'Price', 'live-composer-page-builder' ),
@@ -863,12 +863,13 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
863
  'std' => '0',
864
  'type' => 'slider',
865
  'refresh_on_change' => false,
866
- 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price',
867
  'affect_on_change_rule' => 'margin',
868
  'section' => 'styling',
869
  'tab' => __( 'Price', 'live-composer-page-builder' ),
870
  'ext' => 'px',
871
  ),
 
872
  array(
873
  'label' => __( 'Opacity', 'live-composer-page-builder' ),
874
  'id' => 'css_price_bg_opacity',
@@ -883,13 +884,14 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
883
  'max' => 1,
884
  'increment' => 0.01
885
  ),
 
886
  array(
887
  'label' => __( 'Padding', 'live-composer-page-builder' ),
888
  'id' => 'css_price_padding',
889
  'std' => '24',
890
  'type' => 'slider',
891
  'refresh_on_change' => false,
892
- 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price',
893
  'affect_on_change_rule' => 'padding',
894
  'section' => 'styling',
895
  'tab' => __( 'Price', 'live-composer-page-builder' ),
@@ -905,23 +907,23 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
905
  'choices' => array(
906
  array(
907
  'label' => __( 'Top Left', 'live-composer-page-builder' ),
908
- 'value' => 'topleft'
909
  ),
910
  array(
911
  'label' => __( 'Top Right', 'live-composer-page-builder' ),
912
- 'value' => 'topright'
913
  ),
914
  array(
915
  'label' => __( 'Center', 'live-composer-page-builder' ),
916
- 'value' => 'center'
917
  ),
918
  array(
919
  'label' => __( 'Bottom Left', 'live-composer-page-builder' ),
920
- 'value' => 'bottomleft'
921
  ),
922
  array(
923
  'label' => __( 'Bottom Right', 'live-composer-page-builder' ),
924
- 'value' => 'bottomright'
925
  ),
926
  )
927
  ),
@@ -940,15 +942,15 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
940
  'choices' => array(
941
  array(
942
  'label' => __( 'Bellow Thumbnail', 'live-composer-page-builder' ),
943
- 'value' => 'bellow'
944
  ),
945
  array(
946
  'label' => __( 'Inside Thumbnail ( hover )', 'live-composer-page-builder' ),
947
- 'value' => 'inside'
948
  ),
949
  array(
950
  'label' => __( 'Inside Thumbnail ( always visible )', 'live-composer-page-builder' ),
951
- 'value' => 'inside_visible'
952
  ),
953
  ),
954
  ),
@@ -998,19 +1000,19 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
998
  'choices' => array(
999
  array(
1000
  'label' => __( 'Top', 'live-composer-page-builder' ),
1001
- 'value' => 'top'
1002
  ),
1003
  array(
1004
  'label' => __( 'Right', 'live-composer-page-builder' ),
1005
- 'value' => 'right'
1006
  ),
1007
  array(
1008
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
1009
- 'value' => 'bottom'
1010
  ),
1011
  array(
1012
  'label' => __( 'Left', 'live-composer-page-builder' ),
1013
- 'value' => 'left'
1014
  ),
1015
  ),
1016
  'refresh_on_change' => false,
@@ -1114,23 +1116,23 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1114
  'choices' => array(
1115
  array(
1116
  'label' => __( 'Top Left', 'live-composer-page-builder' ),
1117
- 'value' => 'topleft'
1118
  ),
1119
  array(
1120
  'label' => __( 'Top Right', 'live-composer-page-builder' ),
1121
- 'value' => 'topright'
1122
  ),
1123
  array(
1124
  'label' => __( 'Center', 'live-composer-page-builder' ),
1125
- 'value' => 'center'
1126
  ),
1127
  array(
1128
  'label' => __( 'Bottom Left', 'live-composer-page-builder' ),
1129
- 'value' => 'bottomleft'
1130
  ),
1131
  array(
1132
  'label' => __( 'Bottom Right', 'live-composer-page-builder' ),
1133
- 'value' => 'bottomright'
1134
  ),
1135
  )
1136
  ),
@@ -1208,7 +1210,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1208
  'std' => '12',
1209
  'type' => 'slider',
1210
  'refresh_on_change' => false,
1211
- 'affect_on_change_el' => '.dslc-product-title h2,.dslc-product-title h2 a',
1212
  'affect_on_change_rule' => 'font-size',
1213
  'section' => 'styling',
1214
  'tab' => __( 'Title', 'live-composer-page-builder' ),
@@ -1258,7 +1260,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1258
  ),
1259
  ),
1260
  'refresh_on_change' => false,
1261
- 'affect_on_change_el' => '.dslc-product-title h2,.dslc-product-title h2 a',
1262
  'affect_on_change_rule' => 'font-weight',
1263
  'section' => 'styling',
1264
  'tab' => __( 'Title', 'live-composer-page-builder' ),
@@ -1270,7 +1272,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1270
  'std' => 'Lato',
1271
  'type' => 'font',
1272
  'refresh_on_change' => false,
1273
- 'affect_on_change_el' => '.dslc-product-title h2,.dslc-product-title h2 a',
1274
  'affect_on_change_rule' => 'font-family',
1275
  'section' => 'styling',
1276
  'tab' => __( 'Title', 'live-composer-page-builder' ),
@@ -1284,7 +1286,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1284
  'std' => '15',
1285
  'type' => 'slider',
1286
  'refresh_on_change' => false,
1287
- 'affect_on_change_el' => '.dslc-product-title h2,.dslc-product-title h2 a',
1288
  'affect_on_change_rule' => 'line-height',
1289
  'section' => 'styling',
1290
  'tab' => __( 'Title', 'live-composer-page-builder' ),
@@ -1325,19 +1327,19 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1325
  'choices' => array(
1326
  array(
1327
  'label' => __( 'None', 'live-composer-page-builder' ),
1328
- 'value' => 'none'
1329
  ),
1330
  array(
1331
  'label' => __( 'Capitalize', 'live-composer-page-builder' ),
1332
- 'value' => 'capitalize'
1333
  ),
1334
  array(
1335
  'label' => __( 'Uppercase', 'live-composer-page-builder' ),
1336
- 'value' => 'uppercase'
1337
  ),
1338
  array(
1339
  'label' => __( 'Lowercase', 'live-composer-page-builder' ),
1340
- 'value' => 'lowercase'
1341
  ),
1342
  ),
1343
  'refresh_on_change' => false,
@@ -1359,11 +1361,11 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1359
  'choices' => array(
1360
  array(
1361
  'label' => __( 'Excerpt', 'live-composer-page-builder' ),
1362
- 'value' => 'excerpt'
1363
  ),
1364
  array(
1365
  'label' => __( 'Content', 'live-composer-page-builder' ),
1366
- 'value' => 'content'
1367
  ),
1368
  ),
1369
  'section' => 'styling',
@@ -1907,11 +1909,11 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1907
  'choices' => array(
1908
  array(
1909
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
1910
- 'value' => 'disabled'
1911
  ),
1912
  array(
1913
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
1914
- 'value' => 'enabled'
1915
  ),
1916
  ),
1917
  'section' => 'responsive',
@@ -1985,7 +1987,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1985
  'std' => '25',
1986
  'type' => 'slider',
1987
  'refresh_on_change' => false,
1988
- 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price',
1989
  'affect_on_change_rule' => 'font-size',
1990
  'section' => 'responsive',
1991
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
@@ -2000,7 +2002,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2000
  'std' => '0',
2001
  'type' => 'slider',
2002
  'refresh_on_change' => false,
2003
- 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price',
2004
  'affect_on_change_rule' => 'margin',
2005
  'section' => 'responsive',
2006
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
@@ -2012,7 +2014,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2012
  'std' => '24',
2013
  'type' => 'slider',
2014
  'refresh_on_change' => false,
2015
- 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price',
2016
  'affect_on_change_rule' => 'padding',
2017
  'section' => 'responsive',
2018
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
@@ -2057,7 +2059,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2057
  'std' => '12',
2058
  'type' => 'slider',
2059
  'refresh_on_change' => false,
2060
- 'affect_on_change_el' => '.dslc-product-title h2',
2061
  'affect_on_change_rule' => 'font-size',
2062
  'section' => 'responsive',
2063
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
@@ -2072,7 +2074,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2072
  'std' => '15',
2073
  'type' => 'slider',
2074
  'refresh_on_change' => false,
2075
- 'affect_on_change_el' => '.dslc-product-title h2',
2076
  'affect_on_change_rule' => 'line-height',
2077
  'section' => 'responsive',
2078
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
@@ -2235,11 +2237,11 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2235
  'choices' => array(
2236
  array(
2237
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
2238
- 'value' => 'disabled'
2239
  ),
2240
  array(
2241
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
2242
- 'value' => 'enabled'
2243
  ),
2244
  ),
2245
  'section' => 'responsive',
@@ -2313,7 +2315,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2313
  'std' => '25',
2314
  'type' => 'slider',
2315
  'refresh_on_change' => false,
2316
- 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price',
2317
  'affect_on_change_rule' => 'font-size',
2318
  'section' => 'responsive',
2319
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
@@ -2328,7 +2330,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2328
  'std' => '0',
2329
  'type' => 'slider',
2330
  'refresh_on_change' => false,
2331
- 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price',
2332
  'affect_on_change_rule' => 'margin',
2333
  'section' => 'responsive',
2334
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
@@ -2340,7 +2342,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2340
  'std' => '24',
2341
  'type' => 'slider',
2342
  'refresh_on_change' => false,
2343
- 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price',
2344
  'affect_on_change_rule' => 'padding',
2345
  'section' => 'responsive',
2346
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
@@ -2385,7 +2387,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2385
  'std' => '12',
2386
  'type' => 'slider',
2387
  'refresh_on_change' => false,
2388
- 'affect_on_change_el' => '.dslc-product-title h2',
2389
  'affect_on_change_rule' => 'font-size',
2390
  'section' => 'responsive',
2391
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
@@ -2400,7 +2402,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2400
  'std' => '15',
2401
  'type' => 'slider',
2402
  'refresh_on_change' => false,
2403
- 'affect_on_change_el' => '.dslc-product-title h2',
2404
  'affect_on_change_rule' => 'line-height',
2405
  'section' => 'responsive',
2406
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
@@ -2862,11 +2864,10 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2862
  ?>
2863
 
2864
  <div class="dslc-post-filters">
2865
-
2866
- <span class="dslc-post-filter dslc-active" data-id=" "><?php _ex( 'All', 'Post Filter', 'live-composer-page-builder' ); ?></span>
2867
 
2868
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
2869
- <span class="dslc-post-filter dslc-inactive" data-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
2870
  <?php endforeach; ?>
2871
 
2872
  </div><!-- .dslc-post-filters -->
@@ -2903,7 +2904,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2903
 
2904
  ?><div class="dslc-posts-inner"><?php
2905
 
2906
- if ( $options['type'] == 'carousel' ) :
2907
 
2908
  ?><div class="dslc-loader"></div><div class="dslc-carousel" data-stop-on-hover="<?php echo $options['carousel_autoplay_hover']; ?>" data-autoplay="<?php echo $options['carousel_autoplay']; ?>" data-columns="<?php echo $carousel_items; ?>" data-pagination="<?php if ( in_array( 'circles', $carousel_elements ) ) echo 'true'; else echo 'false'; ?>" data-slide-speed="<?php echo $options['arrows_slide_speed']; ?>" data-pagination-speed="<?php echo $options['circles_slide_speed']; ?>"><?php
2909
 
@@ -2922,12 +2923,13 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2922
  $extra_class = '';
2923
  }
2924
 
2925
- if ( ! has_post_thumbnail() )
2926
  $extra_class .= ' dslc-post-no-thumb';
2927
-
2928
 
2929
  $post_cats = get_the_terms( get_the_ID(), 'product_cat' );
2930
  $post_cats_data = '';
 
2931
  if ( ! empty( $post_cats ) ) {
2932
  foreach ( $post_cats as $post_cat ) {
2933
  $post_cats_data .= $post_cat->slug . ' ';
@@ -2945,32 +2947,34 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2945
  <div class="dslc-post-thumb dslc-product-thumb dslc-on-hover-anim">
2946
 
2947
  <?php
2948
- /**
2949
- * Manual Resize
2950
- */
2951
 
2952
- $manual_resize = false;
2953
- if ( isset( $options['thumb_resize_height'] ) && ! empty( $options['thumb_resize_height'] ) || isset( $options['thumb_resize_width_manual'] ) && ! empty( $options['thumb_resize_width_manual'] ) ) {
2954
 
2955
- $manual_resize = true;
2956
- $thumb_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full' );
2957
- $thumb_url = $thumb_url[0];
2958
 
2959
- $thumb_alt = get_post_meta( get_post_thumbnail_id(), '_wp_attachment_image_alt', true );
2960
- if ( ! $thumb_alt ) $thumb_alt = '';
2961
 
2962
- $resize_width = false;
2963
- $resize_height = false;
 
2964
 
2965
- if ( isset( $options['thumb_resize_width_manual'] ) && ! empty( $options['thumb_resize_width_manual'] ) ) {
2966
- $resize_width = $options['thumb_resize_width_manual'];
2967
- }
2968
 
2969
- if ( isset( $options['thumb_resize_height'] ) && ! empty( $options['thumb_resize_height'] ) ) {
2970
- $resize_height = $options['thumb_resize_height'];
2971
- }
2972
 
 
 
2973
  }
 
2974
  ?>
2975
 
2976
 
@@ -2983,7 +2987,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2983
  <?php endif; ?>
2984
 
2985
  <?php if ( $post_elements == 'all' || in_array( 'price', $post_elements ) ) : ?>
2986
- <a href="<?php echo do_shortcode( '[add_to_cart_url id="' . get_the_ID() . '"]' ); ?>" class="dslc-product-price dslc-init-square dslc-init-<?php echo $options['price_pos']; ?>"><span class="dslc-product-price-bg"></span><span class="dslc-product-price-main"><?php echo $product->get_price_html(); ?></span></a>
2987
  <?php endif; ?>
2988
 
2989
  </div><!-- .dslc-product-thumb-inner -->
@@ -3018,17 +3022,21 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
3018
  <?php the_content(); ?>
3019
  <?php else : ?>
3020
  <?php
3021
- if ( $options['excerpt_length'] > 0 ) {
3022
- if ( has_excerpt() )
3023
- echo do_shortcode( wp_trim_words( get_the_excerpt(), $options['excerpt_length'] ) );
3024
- else
3025
- echo do_shortcode( wp_trim_words( get_the_content(), $options['excerpt_length'] ) );
 
 
 
 
 
 
3026
  } else {
3027
- if ( has_excerpt() )
3028
- echo do_shortcode( get_the_excerpt() );
3029
- else
3030
- echo do_shortcode( get_the_content() );
3031
  }
 
3032
  ?>
3033
  <?php endif; ?>
3034
  </div><!-- .dslc-product-excerpt -->
61
  'choices' => array(
62
  array(
63
  'label' => __( 'Desktop', 'live-composer-page-builder' ),
64
+ 'value' => 'desktop',
65
  ),
66
  array(
67
  'label' => __( 'Tablet', 'live-composer-page-builder' ),
68
+ 'value' => 'tablet',
69
  ),
70
  array(
71
  'label' => __( 'Phone', 'live-composer-page-builder' ),
72
+ 'value' => 'phone',
73
  ),
74
  ),
75
  ),
85
  ),
86
  array(
87
  'label' => __( 'Masonry Grid', 'live-composer-page-builder' ),
88
+ 'value' => 'masonry',
89
  ),
90
  array(
91
  'label' => __( 'Carousel', 'live-composer-page-builder' ),
101
  'choices' => array(
102
  array(
103
  'label' => __( 'Vertical', 'live-composer-page-builder' ),
104
+ 'value' => 'vertical',
105
  ),
106
  array(
107
  'label' => __( 'Horizontal', 'live-composer-page-builder' ),
108
+ 'value' => 'horizontal',
109
+ ),
110
+ ),
111
  ),
112
  array(
113
  'label' => __( 'Posts Per Page', 'live-composer-page-builder' ),
151
  'id' => 'categories',
152
  'std' => '',
153
  'type' => 'checkbox',
154
+ 'choices' => $cats_choices,
155
  ),
156
  array(
157
  'label' => __( 'Categories Operator', 'live-composer-page-builder' ),
182
  'choices' => array(
183
  array(
184
  'label' => __( 'Publish Date', 'live-composer-page-builder' ),
185
+ 'value' => 'date',
186
  ),
187
  array(
188
  'label' => __( 'Modified Date', 'live-composer-page-builder' ),
189
+ 'value' => 'modified',
190
  ),
191
  array(
192
  'label' => __( 'Random', 'live-composer-page-builder' ),
193
+ 'value' => 'rand',
194
  ),
195
  array(
196
  'label' => __( 'Alphabetic', 'live-composer-page-builder' ),
197
+ 'value' => 'title',
198
  ),
199
  array(
200
  'label' => __( 'Comment Count', 'live-composer-page-builder' ),
201
+ 'value' => 'comment_count',
202
  ),
203
  array(
204
  'label' => __( 'Price', 'live-composer-page-builder' ),
205
+ 'value' => 'price',
206
  ),
207
  )
208
  ),
214
  'choices' => array(
215
  array(
216
  'label' => __( 'Ascending', 'live-composer-page-builder' ),
217
+ 'value' => 'ASC',
218
  ),
219
  array(
220
  'label' => __( 'Descending', 'live-composer-page-builder' ),
221
  'value' => 'DESC'
222
+ ),
223
  )
224
  ),
225
  array(
236
  'choices' => array(
237
  array(
238
  'label' => __( 'Display out of stock products', 'live-composer-page-builder' ),
239
+ 'value' => 'enabled',
240
  ),
241
  array(
242
  'label' => __( 'Do not display out of stock products', 'live-composer-page-builder' ),
243
+ 'value' => 'disabled',
244
+ ),
245
+ ),
246
  ),
247
  array(
248
  'label' => __( 'Include (IDs)', 'live-composer-page-builder' ),
257
  'type' => 'text',
258
  ),
259
 
260
+ // Archive Listinging.
261
  array(
262
  'label' => __( 'Archive/Search Listing', 'live-composer-page-builder' ),
263
  'id' => 'query_alter',
266
  'choices' => array(
267
  array(
268
  'label' => __( 'Apply Page Query', 'live-composer-page-builder' ),
269
+ 'value' => 'enabled',
270
  ),
271
  array(
272
  'label' => __( 'Ignore Page Query', 'live-composer-page-builder' ),
273
+ 'value' => 'disabled',
274
  ),
275
  ),
276
  'help' => __( 'Apply Page Query – show posts according to the selected tag, category, author or search query.<br /> Ignore Page Query – ignore the page query and list posts as on any other page.', 'live-composer-page-builder' ),
288
  'choices' => array(
289
  array(
290
  'label' => __( 'Heading', 'live-composer-page-builder' ),
291
+ 'value' => 'main_heading',
292
  ),
293
  array(
294
  'label' => __( 'Filters', 'live-composer-page-builder' ),
295
+ 'value' => 'filters',
296
  ),
297
  ),
298
  'section' => 'styling',
348
  'choices' => array(
349
  array(
350
  'label' => __( 'Arrows', 'live-composer-page-builder' ),
351
+ 'value' => 'arrows',
352
  ),
353
  array(
354
  'label' => __( 'Circles', 'live-composer-page-builder' ),
355
+ 'value' => 'circles',
356
  ),
357
  ),
358
  'section' => 'styling',
383
  'ext' => 'px',
384
  'min' => 0,
385
  'max' => 1000,
386
+ 'increment' => 5,
387
  ),
388
 
389
  /**
398
  'choices' => array(
399
  array(
400
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
401
+ 'value' => 'enabled',
402
  ),
403
  array(
404
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
405
+ 'value' => 'disabled',
406
  ),
407
  ),
408
  'section' => 'styling',
455
  'choices' => array(
456
  array(
457
  'label' => __( 'Invisible', 'live-composer-page-builder' ),
458
+ 'value' => 'none',
459
  ),
460
  array(
461
  'label' => __( 'Solid', 'live-composer-page-builder' ),
462
+ 'value' => 'solid',
463
  ),
464
  array(
465
  'label' => __( 'Dashed', 'live-composer-page-builder' ),
466
+ 'value' => 'dashed',
467
  ),
468
  array(
469
  'label' => __( 'Dotted', 'live-composer-page-builder' ),
470
+ 'value' => 'dotted',
471
  ),
472
  ),
473
  'refresh_on_change' => false,
537
  'choices' => array(
538
  array(
539
  'label' => __( 'Top', 'live-composer-page-builder' ),
540
+ 'value' => 'top',
541
  ),
542
  array(
543
  'label' => __( 'Right', 'live-composer-page-builder' ),
544
+ 'value' => 'right',
545
  ),
546
  array(
547
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
548
+ 'value' => 'bottom',
549
  ),
550
  array(
551
  'label' => __( 'Left', 'live-composer-page-builder' ),
552
+ 'value' => 'left',
553
  ),
554
  ),
555
  'refresh_on_change' => false,
728
  'choices' => array(
729
  array(
730
  'label' => __( 'Top', 'live-composer-page-builder' ),
731
+ 'value' => 'top',
732
  ),
733
  array(
734
  'label' => __( 'Right', 'live-composer-page-builder' ),
735
+ 'value' => 'right',
736
  ),
737
  array(
738
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
739
+ 'value' => 'bottom',
740
  ),
741
  array(
742
  'label' => __( 'Left', 'live-composer-page-builder' ),
743
+ 'value' => 'left',
744
  ),
745
  ),
746
  'refresh_on_change' => false,
755
  'std' => '#ffffff',
756
  'type' => 'color',
757
  'refresh_on_change' => false,
758
+ 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price .dslc-product-price-main',
759
  'affect_on_change_rule' => 'color',
760
  'section' => 'styling',
761
  'tab' => __( 'Price', 'live-composer-page-builder' ),
787
  'std' => '25',
788
  'type' => 'slider',
789
  'refresh_on_change' => false,
790
+ 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price .dslc-product-price-main',
791
  'affect_on_change_rule' => 'font-size',
792
  'section' => 'styling',
793
  'tab' => __( 'Price', 'live-composer-page-builder' ),
837
  ),
838
  ),
839
  'refresh_on_change' => false,
840
+ 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price .dslc-product-price-main',
841
  'affect_on_change_rule' => 'font-weight',
842
  'section' => 'styling',
843
  'tab' => __( 'Price', 'live-composer-page-builder' ),
849
  'std' => 'Oswald',
850
  'type' => 'font',
851
  'refresh_on_change' => false,
852
+ 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price .dslc-product-price-main',
853
  'affect_on_change_rule' => 'font-family',
854
  'section' => 'styling',
855
  'tab' => __( 'Price', 'live-composer-page-builder' ),
863
  'std' => '0',
864
  'type' => 'slider',
865
  'refresh_on_change' => false,
866
+ 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price .dslc-product-price-main',
867
  'affect_on_change_rule' => 'margin',
868
  'section' => 'styling',
869
  'tab' => __( 'Price', 'live-composer-page-builder' ),
870
  'ext' => 'px',
871
  ),
872
+ /*
873
  array(
874
  'label' => __( 'Opacity', 'live-composer-page-builder' ),
875
  'id' => 'css_price_bg_opacity',
884
  'max' => 1,
885
  'increment' => 0.01
886
  ),
887
+ */
888
  array(
889
  'label' => __( 'Padding', 'live-composer-page-builder' ),
890
  'id' => 'css_price_padding',
891
  'std' => '24',
892
  'type' => 'slider',
893
  'refresh_on_change' => false,
894
+ 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price .dslc-product-price-main',
895
  'affect_on_change_rule' => 'padding',
896
  'section' => 'styling',
897
  'tab' => __( 'Price', 'live-composer-page-builder' ),
907
  'choices' => array(
908
  array(
909
  'label' => __( 'Top Left', 'live-composer-page-builder' ),
910
+ 'value' => 'topleft',
911
  ),
912
  array(
913
  'label' => __( 'Top Right', 'live-composer-page-builder' ),
914
+ 'value' => 'topright',
915
  ),
916
  array(
917
  'label' => __( 'Center', 'live-composer-page-builder' ),
918
+ 'value' => 'center',
919
  ),
920
  array(
921
  'label' => __( 'Bottom Left', 'live-composer-page-builder' ),
922
+ 'value' => 'bottomleft',
923
  ),
924
  array(
925
  'label' => __( 'Bottom Right', 'live-composer-page-builder' ),
926
+ 'value' => 'bottomright',
927
  ),
928
  )
929
  ),
942
  'choices' => array(
943
  array(
944
  'label' => __( 'Bellow Thumbnail', 'live-composer-page-builder' ),
945
+ 'value' => 'bellow',
946
  ),
947
  array(
948
  'label' => __( 'Inside Thumbnail ( hover )', 'live-composer-page-builder' ),
949
+ 'value' => 'inside',
950
  ),
951
  array(
952
  'label' => __( 'Inside Thumbnail ( always visible )', 'live-composer-page-builder' ),
953
+ 'value' => 'inside_visible',
954
  ),
955
  ),
956
  ),
1000
  'choices' => array(
1001
  array(
1002
  'label' => __( 'Top', 'live-composer-page-builder' ),
1003
+ 'value' => 'top',
1004
  ),
1005
  array(
1006
  'label' => __( 'Right', 'live-composer-page-builder' ),
1007
+ 'value' => 'right',
1008
  ),
1009
  array(
1010
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
1011
+ 'value' => 'bottom',
1012
  ),
1013
  array(
1014
  'label' => __( 'Left', 'live-composer-page-builder' ),
1015
+ 'value' => 'left',
1016
  ),
1017
  ),
1018
  'refresh_on_change' => false,
1116
  'choices' => array(
1117
  array(
1118
  'label' => __( 'Top Left', 'live-composer-page-builder' ),
1119
+ 'value' => 'topleft',
1120
  ),
1121
  array(
1122
  'label' => __( 'Top Right', 'live-composer-page-builder' ),
1123
+ 'value' => 'topright',
1124
  ),
1125
  array(
1126
  'label' => __( 'Center', 'live-composer-page-builder' ),
1127
+ 'value' => 'center',
1128
  ),
1129
  array(
1130
  'label' => __( 'Bottom Left', 'live-composer-page-builder' ),
1131
+ 'value' => 'bottomleft',
1132
  ),
1133
  array(
1134
  'label' => __( 'Bottom Right', 'live-composer-page-builder' ),
1135
+ 'value' => 'bottomright',
1136
  ),
1137
  )
1138
  ),
1210
  'std' => '12',
1211
  'type' => 'slider',
1212
  'refresh_on_change' => false,
1213
+ 'affect_on_change_el' => '.dslc-product-title h2, .dslc-product-title h2 a',
1214
  'affect_on_change_rule' => 'font-size',
1215
  'section' => 'styling',
1216
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1260
  ),
1261
  ),
1262
  'refresh_on_change' => false,
1263
+ 'affect_on_change_el' => '.dslc-product-title h2, .dslc-product-title h2 a',
1264
  'affect_on_change_rule' => 'font-weight',
1265
  'section' => 'styling',
1266
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1272
  'std' => 'Lato',
1273
  'type' => 'font',
1274
  'refresh_on_change' => false,
1275
+ 'affect_on_change_el' => '.dslc-product-title h2, .dslc-product-title h2 a',
1276
  'affect_on_change_rule' => 'font-family',
1277
  'section' => 'styling',
1278
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1286
  'std' => '15',
1287
  'type' => 'slider',
1288
  'refresh_on_change' => false,
1289
+ 'affect_on_change_el' => '.dslc-product-title h2, .dslc-product-title h2 a',
1290
  'affect_on_change_rule' => 'line-height',
1291
  'section' => 'styling',
1292
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1327
  'choices' => array(
1328
  array(
1329
  'label' => __( 'None', 'live-composer-page-builder' ),
1330
+ 'value' => 'none',
1331
  ),
1332
  array(
1333
  'label' => __( 'Capitalize', 'live-composer-page-builder' ),
1334
+ 'value' => 'capitalize',
1335
  ),
1336
  array(
1337
  'label' => __( 'Uppercase', 'live-composer-page-builder' ),
1338
+ 'value' => 'uppercase',
1339
  ),
1340
  array(
1341
  'label' => __( 'Lowercase', 'live-composer-page-builder' ),
1342
+ 'value' => 'lowercase',
1343
  ),
1344
  ),
1345
  'refresh_on_change' => false,
1361
  'choices' => array(
1362
  array(
1363
  'label' => __( 'Excerpt', 'live-composer-page-builder' ),
1364
+ 'value' => 'excerpt',
1365
  ),
1366
  array(
1367
  'label' => __( 'Content', 'live-composer-page-builder' ),
1368
+ 'value' => 'content',
1369
  ),
1370
  ),
1371
  'section' => 'styling',
1909
  'choices' => array(
1910
  array(
1911
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
1912
+ 'value' => 'disabled',
1913
  ),
1914
  array(
1915
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
1916
+ 'value' => 'enabled',
1917
  ),
1918
  ),
1919
  'section' => 'responsive',
1987
  'std' => '25',
1988
  'type' => 'slider',
1989
  'refresh_on_change' => false,
1990
+ 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price .dslc-product-price-main',
1991
  'affect_on_change_rule' => 'font-size',
1992
  'section' => 'responsive',
1993
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2002
  'std' => '0',
2003
  'type' => 'slider',
2004
  'refresh_on_change' => false,
2005
+ 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price .dslc-product-price-main',
2006
  'affect_on_change_rule' => 'margin',
2007
  'section' => 'responsive',
2008
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2014
  'std' => '24',
2015
  'type' => 'slider',
2016
  'refresh_on_change' => false,
2017
+ 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price .dslc-product-price-main',
2018
  'affect_on_change_rule' => 'padding',
2019
  'section' => 'responsive',
2020
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2059
  'std' => '12',
2060
  'type' => 'slider',
2061
  'refresh_on_change' => false,
2062
+ 'affect_on_change_el' => '.dslc-product-title h2, .dslc-product-title h2 a',
2063
  'affect_on_change_rule' => 'font-size',
2064
  'section' => 'responsive',
2065
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2074
  'std' => '15',
2075
  'type' => 'slider',
2076
  'refresh_on_change' => false,
2077
+ 'affect_on_change_el' => '.dslc-product-title h2, .dslc-product-title h2 a',
2078
  'affect_on_change_rule' => 'line-height',
2079
  'section' => 'responsive',
2080
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2237
  'choices' => array(
2238
  array(
2239
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
2240
+ 'value' => 'disabled',
2241
  ),
2242
  array(
2243
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
2244
+ 'value' => 'enabled',
2245
  ),
2246
  ),
2247
  'section' => 'responsive',
2315
  'std' => '25',
2316
  'type' => 'slider',
2317
  'refresh_on_change' => false,
2318
+ 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price .dslc-product-price-main',
2319
  'affect_on_change_rule' => 'font-size',
2320
  'section' => 'responsive',
2321
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2330
  'std' => '0',
2331
  'type' => 'slider',
2332
  'refresh_on_change' => false,
2333
+ 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price .dslc-product-price-main',
2334
  'affect_on_change_rule' => 'margin',
2335
  'section' => 'responsive',
2336
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2342
  'std' => '24',
2343
  'type' => 'slider',
2344
  'refresh_on_change' => false,
2345
+ 'affect_on_change_el' => '.dslc-product-thumb .dslc-product-price .dslc-product-price-main',
2346
  'affect_on_change_rule' => 'padding',
2347
  'section' => 'responsive',
2348
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2387
  'std' => '12',
2388
  'type' => 'slider',
2389
  'refresh_on_change' => false,
2390
+ 'affect_on_change_el' => '.dslc-product-title h2, .dslc-product-title h2 a',
2391
  'affect_on_change_rule' => 'font-size',
2392
  'section' => 'responsive',
2393
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2402
  'std' => '15',
2403
  'type' => 'slider',
2404
  'refresh_on_change' => false,
2405
+ 'affect_on_change_el' => '.dslc-product-title h2, .dslc-product-title h2 a',
2406
  'affect_on_change_rule' => 'line-height',
2407
  'section' => 'responsive',
2408
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2864
  ?>
2865
 
2866
  <div class="dslc-post-filters">
2867
+ <span class="dslc-post-filter dslc-active dslca-editable-content" data-filter-id="show-all" <?php if ( $dslc_is_admin ){ echo 'data-id="main_filter_title_all" data-type="simple" contenteditable '; } ?>><?php echo $options['main_filter_title_all']; ?></span>
 
2868
 
2869
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
2870
+ <span class="dslc-post-filter dslc-inactive" data-filter-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
2871
  <?php endforeach; ?>
2872
 
2873
  </div><!-- .dslc-post-filters -->
2904
 
2905
  ?><div class="dslc-posts-inner"><?php
2906
 
2907
+ if ( 'carousel' === $options['type'] ) :
2908
 
2909
  ?><div class="dslc-loader"></div><div class="dslc-carousel" data-stop-on-hover="<?php echo $options['carousel_autoplay_hover']; ?>" data-autoplay="<?php echo $options['carousel_autoplay']; ?>" data-columns="<?php echo $carousel_items; ?>" data-pagination="<?php if ( in_array( 'circles', $carousel_elements ) ) echo 'true'; else echo 'false'; ?>" data-slide-speed="<?php echo $options['arrows_slide_speed']; ?>" data-pagination-speed="<?php echo $options['circles_slide_speed']; ?>"><?php
2910
 
2923
  $extra_class = '';
2924
  }
2925
 
2926
+ if ( ! has_post_thumbnail() ) {
2927
  $extra_class .= ' dslc-post-no-thumb';
2928
+ }
2929
 
2930
  $post_cats = get_the_terms( get_the_ID(), 'product_cat' );
2931
  $post_cats_data = '';
2932
+
2933
  if ( ! empty( $post_cats ) ) {
2934
  foreach ( $post_cats as $post_cat ) {
2935
  $post_cats_data .= $post_cat->slug . ' ';
2947
  <div class="dslc-post-thumb dslc-product-thumb dslc-on-hover-anim">
2948
 
2949
  <?php
2950
+ /**
2951
+ * Manual Resize
2952
+ */
2953
 
2954
+ $manual_resize = false;
2955
+ if ( isset( $options['thumb_resize_height'] ) && ! empty( $options['thumb_resize_height'] ) || isset( $options['thumb_resize_width_manual'] ) && ! empty( $options['thumb_resize_width_manual'] ) ) {
2956
 
2957
+ $manual_resize = true;
2958
+ $thumb_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full' );
2959
+ $thumb_url = $thumb_url[0];
2960
 
2961
+ $thumb_alt = get_post_meta( get_post_thumbnail_id(), '_wp_attachment_image_alt', true );
 
2962
 
2963
+ if ( ! $thumb_alt ) {
2964
+ $thumb_alt = '';
2965
+ }
2966
 
2967
+ $resize_width = false;
2968
+ $resize_height = false;
 
2969
 
2970
+ if ( isset( $options['thumb_resize_width_manual'] ) && ! empty( $options['thumb_resize_width_manual'] ) ) {
2971
+ $resize_width = $options['thumb_resize_width_manual'];
2972
+ }
2973
 
2974
+ if ( isset( $options['thumb_resize_height'] ) && ! empty( $options['thumb_resize_height'] ) ) {
2975
+ $resize_height = $options['thumb_resize_height'];
2976
  }
2977
+ }
2978
  ?>
2979
 
2980
 
2987
  <?php endif; ?>
2988
 
2989
  <?php if ( $post_elements == 'all' || in_array( 'price', $post_elements ) ) : ?>
2990
+ <a href="<?php echo do_shortcode( '[add_to_cart_url id="' . get_the_ID() . '"]' ); ?>" class="dslc-product-price dslc-init-<?php echo $options['price_pos']; ?>"><span class="dslc-product-price-main dslc-product-price-bg dslc-init-target"><?php echo $product->get_price_html(); ?></span></a>
2991
  <?php endif; ?>
2992
 
2993
  </div><!-- .dslc-product-thumb-inner -->
3022
  <?php the_content(); ?>
3023
  <?php else : ?>
3024
  <?php
3025
+ if ( $options['excerpt_length'] > 0 ) {
3026
+
3027
+ if ( has_excerpt() ) {
3028
+ echo do_shortcode( wp_trim_words( get_the_excerpt(), $options['excerpt_length'] ) );
3029
+ } else {
3030
+ echo do_shortcode( wp_trim_words( get_the_content(), $options['excerpt_length'] ) );
3031
+ }
3032
+ } else {
3033
+
3034
+ if ( has_excerpt() ) {
3035
+ echo do_shortcode( get_the_excerpt() );
3036
  } else {
3037
+ echo do_shortcode( get_the_content() );
 
 
 
3038
  }
3039
+ }
3040
  ?>
3041
  <?php endif; ?>
3042
  </div><!-- .dslc-product-excerpt -->
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: LiveComposer
3
  Tags: page builder, visual composer, visual editor, visual builder, drag and drop builder, landing page builder, frontend editor, frontend builder, landing pages, landing page, website builder, theme builder, site-builder, layout builder, drag-and-drop, builder, editor, responsive, mobile, layout, front end, frontend, Page Layout, squeeze page, page builder plugin, drag-n-drop page builder
4
  Requires at least: 4.3
5
  Tested up to: 4.6
6
- Stable tag: 1.1.2
7
  License: GPLv3
8
 
9
  Front-end page builder for WordPress with drag and drop editing. Build PRO responsive websites and landing pages. Visually customize any page element.
@@ -129,11 +129,69 @@ The Page Builder Sandwich available on WordPress.org is a light version of Page
129
 
130
  == Changelog ==
131
 
132
- = 1.1.3 - August 19th 2016 =
 
 
 
 
 
 
 
 
 
 
 
 
 
133
 
134
- * [Report any bugs on GitHub](https://github.com/livecomposer/live-composer-page-builder/issues/)
135
- * [Here you can download any previous verison](https://wordpress.org/plugins/live-composer-page-builder/developers/)
136
- * [See latest changes in details with animated gifs and videos](https://livecomposerplugin.com/blog/live-composer-1-1-released/)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
 
138
  = Bug fixes: =
139
 
@@ -149,6 +207,8 @@ The Page Builder Sandwich available on WordPress.org is a light version of Page
149
  * Issue [#196](https://github.com/livecomposer/live-composer-page-builder/issues/196): Uncaught Error – cannot call methods on sortable prior to initialization; attempted to call method 'option'
150
  * Issue [#202](https://github.com/livecomposer/live-composer-page-builder/issues/202): Inline Editor – Bold, Italic text styling do not apply in some themes.
151
  * Issue [#193](https://github.com/livecomposer/live-composer-page-builder/issues/193): Navigation Module – Chevron not showing when enabled in navigation module
 
 
152
  * Presets: Fixed presets auto-reload on module options change. (Thank you Paul!)
153
  * Presets: Removed Infobox > Image and Infobox > Image Url form synchronization. (Thank you Paul!)
154
  * Post Grids: Wrong post title centering over thumbnail. (Thank you Jacob!)
@@ -166,10 +226,8 @@ The Page Builder Sandwich available on WordPress.org is a light version of Page
166
 
167
 
168
 
169
- = 1.1.2 - August 17th 2016 =
170
 
171
- * [Report any bugs on GitHub](https://github.com/livecomposer/live-composer-page-builder/issues/)
172
- * [See latest changes in details with animated gifs and videos](https://livecomposerplugin.com/blog/live-composer-1-1-released/)
173
 
174
  = Bug fixes: =
175
 
@@ -180,9 +238,6 @@ The Page Builder Sandwich available on WordPress.org is a light version of Page
180
 
181
  = 1.1.1 - August 17th 2016 =
182
 
183
- [Report any bugs on GitHub](https://github.com/livecomposer/live-composer-page-builder/issues/)
184
- [See latest changes in details with animated gifs and videos](https://livecomposerplugin.com/blog/live-composer-1-1-released/)
185
-
186
  = Bug fixes: =
187
 
188
  * Infobox Title Editing is broken #162
3
  Tags: page builder, visual composer, visual editor, visual builder, drag and drop builder, landing page builder, frontend editor, frontend builder, landing pages, landing page, website builder, theme builder, site-builder, layout builder, drag-and-drop, builder, editor, responsive, mobile, layout, front end, frontend, Page Layout, squeeze page, page builder plugin, drag-n-drop page builder
4
  Requires at least: 4.3
5
  Tested up to: 4.6
6
+ Stable tag: 1.1.3
7
  License: GPLv3
8
 
9
  Front-end page builder for WordPress with drag and drop editing. Build PRO responsive websites and landing pages. Visually customize any page element.
129
 
130
  == Changelog ==
131
 
132
+ Upcoming Releases:
133
+
134
+ * PREMIUM EXTENSION: WooCommerce Integration > [Get 50% off coupon](https://livecomposerplugin.com/halfprice-coupon/?utm_source=changelog)
135
+ * PREMIUM EXTENSION: bbPress Forums Integration > [Get 50% off coupon](https://livecomposerplugin.com/halfprice-coupon/?utm_source=changelog)
136
+ * PREMIUM THEME: Digital Marketer & SEO Theme > [Get 50% off coupon](https://livecomposerplugin.com/halfprice-coupon/?utm_source=changelog)
137
+
138
+
139
+ = 1.1.4 - September 12th 2016 =
140
+
141
+ * [Please, report any bugs on GitHub](https://github.com/livecomposer/live-composer-page-builder/issues/)
142
+ * [You can download any previous version here](https://wordpress.org/plugins/live-composer-page-builder/developers/)
143
+ * [See the latest major changes in details with animated gifs and videos](https://livecomposerplugin.com/blog/live-composer-1-1-released/)
144
+
145
+ = Improved: =
146
 
147
+ * Issue [#253](https://github.com/livecomposer/live-composer-page-builder/issues/253): Added animations for the ICON module.
148
+ * Add Instagram as a social option to STAFF module. Thank you [Mario Zigliotto](https://github.com/mariozig).
149
+ * Issue [#261](https://github.com/livecomposer/live-composer-page-builder/issues/261): Shadows for posts in the BLOG and POSTS module
150
+
151
+ = Bug fixes: =
152
+
153
+ * [JS Bug](https://wordpress.org/support/topic/js-error-when-editing?replies=1#post-8788982): TypeError: a.html(...) is undefined
154
+ * Issue [#198](https://github.com/livecomposer/live-composer-page-builder/issues/198): [JS] Inline Editor do not disappear on module CONFIRM click ( Firefox )
155
+ * Issue [#207](https://github.com/livecomposer/live-composer-page-builder/issues/207): [JS] Cick on module (in the modules list) freezes the Live Composer
156
+ * Issue [#223](https://github.com/livecomposer/live-composer-page-builder/issues/223): Link to editing archive listing template is broken.
157
+ * Issue [#224](https://github.com/livecomposer/live-composer-page-builder/issues/224): Posts Module showing error when Media post type selected.
158
+ * Issue [#225](https://github.com/livecomposer/live-composer-page-builder/issues/225): WooCommerce Module – settings broken for the title and price position.
159
+ * Issue [#226](https://github.com/livecomposer/live-composer-page-builder/issues/226): Galleries Module – Styling -> Count -> Position is not work.
160
+ * Issue [#228](https://github.com/livecomposer/live-composer-page-builder/issues/228): Grids of posts with masonry grid will not refresh the grid properly on options change.
161
+ * Issue [#232](https://github.com/livecomposer/live-composer-page-builder/issues/232): Broken Resize Height Control
162
+ * Issue [#233](https://github.com/livecomposer/live-composer-page-builder/issues/233): Module Downloads - Main -> Location contol is broken
163
+ * Issue [#240](https://github.com/livecomposer/live-composer-page-builder/issues/240): [JS] tinyMCE multiple instances
164
+ * Issue [#246](https://github.com/livecomposer/live-composer-page-builder/issues/246): [JS Bug] – Cannot read property 'init' of undefined
165
+ * Issue [#249](https://github.com/livecomposer/live-composer-page-builder/issues/249): [JS] Copy/Paste does not work in-line. Thank you [Luke Perrie](https://github.com/lukeperrie).
166
+ * Issue [#260](https://github.com/livecomposer/live-composer-page-builder/issues/260): Chevrons doubling up in Navigation Module. Thank you [Luke Perrie](https://github.com/lukeperrie).
167
+ * Issue [#262](https://github.com/livecomposer/live-composer-page-builder/issues/262): The LC templates are listed on WordPress search listing
168
+ * Issue [#276](https://github.com/livecomposer/live-composer-page-builder/issues/276): Posts and Blog module filtering bug
169
+ * Issue [#279](https://github.com/livecomposer/live-composer-page-builder/issues/279): Module Image - Box shadow ( Inner ) does not work
170
+ * Infobox inline-editor in "content": https://github.com/livecomposer/live-composer-page-builder/commit/a964e976b54e5e3bff498e5af861350beda61f04
171
+
172
+
173
+ Thanks to the next contributors for helping with this update:
174
+
175
+ * [Luke Perrie](https://github.com/lukeperrie)
176
+ * [Mario Zigliotto](https://github.com/mariozig)
177
+ * [tristanleboss](https://github.com/tristanleboss)
178
+ * [Aleksej Vukomanovic](https://github.com/zutigrm)
179
+ * [Deanphillips](https://github.com/Deanphillips)
180
+ * [menachemshapiro](https://github.com/menachemshapiro)
181
+ * [Slobodan Kustrimovic](https://github.com/BobaWebDev)
182
+ * [branislavs](https://github.com/branislavs)
183
+ * [galschjodt](https://github.com/galschjodt)
184
+ * [tbenci](https://github.com/tbenci)
185
+ * [elfomaniac](https://github.com/elfomaniac)
186
+ * [Jessica Hawkins](https://github.com/jessicahawkins3344)
187
+ * [Christian Seiler](https://github.com/Christian-Seiler)
188
+
189
+
190
+
191
+
192
+
193
+
194
+ = 1.1.3 - August 19th 2016 =
195
 
196
  = Bug fixes: =
197
 
207
  * Issue [#196](https://github.com/livecomposer/live-composer-page-builder/issues/196): Uncaught Error – cannot call methods on sortable prior to initialization; attempted to call method 'option'
208
  * Issue [#202](https://github.com/livecomposer/live-composer-page-builder/issues/202): Inline Editor – Bold, Italic text styling do not apply in some themes.
209
  * Issue [#193](https://github.com/livecomposer/live-composer-page-builder/issues/193): Navigation Module – Chevron not showing when enabled in navigation module
210
+ * Issue [#276](https://github.com/livecomposer/live-composer-page-builder/issues/276): Post Filters – "All" button instead showing all the posts, is hiding them at all
211
+
212
  * Presets: Fixed presets auto-reload on module options change. (Thank you Paul!)
213
  * Presets: Removed Infobox > Image and Infobox > Image Url form synchronization. (Thank you Paul!)
214
  * Post Grids: Wrong post title centering over thumbnail. (Thank you Jacob!)
226
 
227
 
228
 
 
229
 
230
+ = 1.1.2 - August 17th 2016 =
 
231
 
232
  = Bug fixes: =
233
 
238
 
239
  = 1.1.1 - August 17th 2016 =
240
 
 
 
 
241
  = Bug fixes: =
242
 
243
  * Infobox Title Editing is broken #162
templates/dslc-404.php CHANGED
@@ -13,11 +13,10 @@ if ( ! defined( 'ABSPATH' ) ) {
13
 
14
  get_header();
15
  ?>
16
-
17
  <?php
18
  $args = array(
19
  'page_id' => dslc_get_option( '404_page', 'dslc_plugin_options_archives' ),
20
- 'post_type'=> 'any', // Allow 3-rd party themes to set 404 page using custom content types.
21
  'ignore_sticky_posts' => true
22
  );
23
  $adslc_query = new WP_Query( $args );
@@ -26,5 +25,4 @@ if ( ! defined( 'ABSPATH' ) ) {
26
  the_content();
27
  endwhile; endif; wp_reset_query();
28
  ?>
29
-
30
  <?php get_footer(); ?>
13
 
14
  get_header();
15
  ?>
 
16
  <?php
17
  $args = array(
18
  'page_id' => dslc_get_option( '404_page', 'dslc_plugin_options_archives' ),
19
+ 'post_type'=> 'dslc_templates', // @todo: Allow 3-rd party themes to set 404 page using custom content types.
20
  'ignore_sticky_posts' => true
21
  );
22
  $adslc_query = new WP_Query( $args );
25
  the_content();
26
  endwhile; endif; wp_reset_query();
27
  ?>
 
28
  <?php get_footer(); ?>