Royal Elementor Addons (Header Footer Builder, Mega Menu Builder, Popups, Post Grid, Woocommerce Product Grid, Slider, Parallax Image, Free Elementor Widgets & Elementor Templates. Elementor WooCommerce Builder) - Version 1.3.38

Version Description

Download this release

Release Info

Developer wproyal
Plugin Icon wp plugin Royal Elementor Addons (Header Footer Builder, Mega Menu Builder, Popups, Post Grid, Woocommerce Product Grid, Slider, Parallax Image, Free Elementor Widgets & Elementor Templates. Elementor WooCommerce Builder)
Version 1.3.38
Comparing to
See all releases

Code changes from version 1.3.37 to 1.3.38

Files changed (71) hide show
  1. admin/import/class-wordpress-importer.php +2 -1
  2. admin/includes/wpr-conditions-manager.php +157 -4
  3. admin/includes/wpr-render-templates.php +45 -29
  4. admin/includes/wpr-templates-actions.php +18 -1
  5. admin/includes/wpr-templates-loop.php +111 -56
  6. admin/includes/wpr-templates-shortcode.php +1 -1
  7. admin/plugin-options.php +19 -17
  8. admin/templates-kit.php +78 -32
  9. admin/templates/wpr-canvas.php +61 -0
  10. admin/templates/wpr-templates-data.php +74 -11
  11. admin/templates/wpr-templates-library-blocks.php +13 -1
  12. admin/theme-builder.php +43 -1
  13. assets/css/admin/plugin-options.css +67 -2
  14. assets/css/admin/templates-kit.css +46 -7
  15. assets/css/editor.css +107 -14
  16. assets/css/editor.min.css +64 -5
  17. assets/css/frontend.css +241 -42
  18. assets/css/frontend.min.css +1 -1
  19. assets/css/library-frontend.css +26 -11
  20. assets/img/theme-builder.png +0 -0
  21. assets/img/theme-builder1.png +0 -0
  22. assets/img/woo-coming-soon.jpg +0 -0
  23. assets/js/admin/plugin-options.js +29 -15
  24. assets/js/admin/templates-kit.js +3 -3
  25. assets/js/editor.min.js +12 -0
  26. assets/js/frontend.js +201 -135
  27. assets/js/frontend.min.js +1 -1
  28. assets/js/lib/confetti/confetti.min.js +1 -0
  29. assets/js/library-editor.js +1 -1
  30. assets/js/library-editor.min.js +43 -36
  31. assets/js/modal-popups.min.js +1 -1
  32. classes/plugin-update-notice.php +185 -0
  33. classes/rating-notice.php +4 -3
  34. classes/utilities.php +70 -4
  35. includes/controls/wpr-control-icons.php +61 -0
  36. includes/modules-manager.php +11 -0
  37. modules/advanced-slider/widgets/wpr-advanced-slider.php +1 -1
  38. modules/content-ticker/widgets/wpr-content-ticker.php +1 -1
  39. modules/elementor-template/module.php +21 -0
  40. modules/elementor-template/widgets/wpr-elementor-template.php +89 -0
  41. modules/grid/widgets/wpr-grid.php +100 -35
  42. modules/magazine-grid/widgets/wpr-magazine-grid.php +8 -8
  43. modules/media-grid/widgets/wpr-media-grid.php +16 -16
  44. modules/nav-menu/widgets/wpr-nav-menu.php +3 -2
  45. modules/posts-timeline/widgets/wpr-posts-timeline.php +1 -1
  46. modules/promo-box/widgets/wpr-promo-box.php +1 -1
  47. modules/search/widgets/wpr-search.php +2 -2
  48. modules/sharing-buttons/widgets/wpr-sharing-buttons.php +262 -23
  49. modules/taxonomy-list/module.php +24 -0
  50. modules/taxonomy-list/widgets/wpr-taxonomy-list.php +498 -0
  51. modules/theme-builder/archive-title/module.php +25 -0
  52. modules/theme-builder/archive-title/widgets/wpr-archive-title.php +433 -0
  53. modules/{author-box → theme-builder/author-box}/module.php +2 -1
  54. modules/{author-box → theme-builder/author-box}/widgets/wpr-author-box.php +165 -194
  55. modules/theme-builder/post-comments/module.php +25 -0
  56. modules/theme-builder/post-comments/widgets/wpr-post-comments.php +2452 -0
  57. modules/theme-builder/post-content/module.php +25 -0
  58. modules/theme-builder/post-content/widgets/wpr-post-content.php +218 -0
  59. modules/theme-builder/post-info/module.php +25 -0
  60. modules/theme-builder/post-info/widgets/wpr-post-info.php +1200 -0
  61. modules/theme-builder/post-media/module.php +25 -0
  62. modules/theme-builder/post-media/widgets/wpr-post-media.php +1675 -0
  63. modules/theme-builder/post-navigation/module.php +25 -0
  64. modules/theme-builder/post-navigation/widgets/wpr-post-navigation.php +904 -0
  65. modules/theme-builder/post-title/module.php +25 -0
  66. modules/theme-builder/post-title/widgets/wpr-post-title.php +198 -0
  67. modules/theme-builder/wpr-theme-builder.php +363 -0
  68. modules/woo-grid/widgets/wpr-woo-grid.php +14 -15
  69. plugin.php +38 -11
  70. readme.txt +18 -2
  71. wpr-addons.php +11 -4
admin/import/class-wordpress-importer.php CHANGED
@@ -707,6 +707,7 @@ class WP_Import extends WP_Importer {
707
  'menu_order' => $post['menu_order'],
708
  'post_type' => $post['post_type'],
709
  'post_password' => $post['post_password'],
 
710
  ];
711
 
712
  $original_post_id = $post['post_id'];
@@ -970,7 +971,7 @@ class WP_Import extends WP_Importer {
970
  return;
971
  }
972
 
973
- $_menu_item_menu_item_parent = $post_meta_key_value['menu_item_menu_item_parent'];
974
  if ( isset( $this->processed_menu_items[ intval( $_menu_item_menu_item_parent ) ] ) ) {
975
  $_menu_item_menu_item_parent = $this->processed_menu_items[ intval( $_menu_item_menu_item_parent ) ];
976
  } elseif ( $_menu_item_menu_item_parent ) {
707
  'menu_order' => $post['menu_order'],
708
  'post_type' => $post['post_type'],
709
  'post_password' => $post['post_password'],
710
+ 'post_date' => $post['post_date'],
711
  ];
712
 
713
  $original_post_id = $post['post_id'];
971
  return;
972
  }
973
 
974
+ $_menu_item_menu_item_parent = $post_meta_key_value['_menu_item_menu_item_parent']; // Duke - fix "_menu_item_menu_item_parent" dash was added
975
  if ( isset( $this->processed_menu_items[ intval( $_menu_item_menu_item_parent ) ] ) ) {
976
  $_menu_item_menu_item_parent = $this->processed_menu_items[ intval( $_menu_item_menu_item_parent ) ];
977
  } elseif ( $_menu_item_menu_item_parent ) {
admin/includes/wpr-conditions-manager.php CHANGED
@@ -20,16 +20,16 @@ class WPR_Conditions_Manager {
20
 
21
  // Custom
22
  if ( wpr_fs()->can_use_premium_code() && defined('WPR_ADDONS_PRO_VERSION') ) {
23
- if ( ! empty($conditions) ) {
24
 
25
  // Archive Pages (includes search)
26
- if ( ! is_null( \WprAddonsPro\Classes\Pro_Modules::archive_templates_conditions( $conditions ) ) ) {
27
  $template = \WprAddonsPro\Classes\Pro_Modules::archive_templates_conditions( $conditions );
28
  }
29
 
30
  // Single Pages
31
- if ( ! is_null( \WprAddonsPro\Classes\Pro_Modules::single_templates_conditions( $conditions, true ) ) ) {
32
- $template = \WprAddonsPro\Classes\Pro_Modules::single_templates_conditions( $conditions, true );
33
  }
34
 
35
  }
@@ -37,6 +37,159 @@ class WPR_Conditions_Manager {
37
  $template = Utilities::get_template_slug( $conditions, 'global' );
38
  }
39
 
 
 
 
 
 
 
 
 
40
  return $template;
41
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  }
20
 
21
  // Custom
22
  if ( wpr_fs()->can_use_premium_code() && defined('WPR_ADDONS_PRO_VERSION') ) {
23
+ if ( !empty($conditions) ) {
24
 
25
  // Archive Pages (includes search)
26
+ if ( !is_null( \WprAddonsPro\Classes\Pro_Modules::archive_templates_conditions( $conditions ) ) ) {
27
  $template = \WprAddonsPro\Classes\Pro_Modules::archive_templates_conditions( $conditions );
28
  }
29
 
30
  // Single Pages
31
+ if ( !is_null( \WprAddonsPro\Classes\Pro_Modules::single_templates_conditions( $conditions ) ) ) {
32
+ $template = \WprAddonsPro\Classes\Pro_Modules::single_templates_conditions( $conditions );
33
  }
34
 
35
  }
37
  $template = Utilities::get_template_slug( $conditions, 'global' );
38
  }
39
 
40
+ if ( \Elementor\Plugin::$instance->preview->is_preview_mode() ) {
41
+ $template_type = Utilities::get_wpr_template_type(get_the_ID());
42
+
43
+ if ( 'header' === $template_type || 'footer' ===$template_type ) {
44
+ $template = NULL;
45
+ }
46
+ }
47
+
48
  return $template;
49
  }
50
+
51
+ /**
52
+ ** Canvas Content Conditions
53
+ */
54
+ public static function canvas_page_content_display_conditions() {
55
+ $template = NULL;
56
+
57
+ // Get Conditions
58
+ $archives = json_decode( get_option( 'wpr_archive_conditions' ), true );
59
+ $singles = json_decode( get_option( 'wpr_single_conditions' ), true );
60
+
61
+ if ( empty($archives) && empty($singles) ) {
62
+ return NULL;
63
+ }
64
+
65
+ // Custom
66
+ if ( wpr_fs()->can_use_premium_code() && defined('WPR_ADDONS_PRO_VERSION') ) {
67
+
68
+ // Archive Pages (includes search)
69
+ if ( !is_null( \WprAddonsPro\Classes\Pro_Modules::archive_templates_conditions( $archives ) ) ) {
70
+ $template = \WprAddonsPro\Classes\Pro_Modules::archive_templates_conditions( $archives );
71
+ }
72
+
73
+ // Single Pages
74
+ if ( !is_null( \WprAddonsPro\Classes\Pro_Modules::single_templates_conditions( $singles ) ) ) {
75
+ $template = \WprAddonsPro\Classes\Pro_Modules::single_templates_conditions( $singles );
76
+ }
77
+ } else {
78
+ // Archive Pages (includes search)
79
+ if ( !is_null( WPR_Conditions_Manager::archive_templates_conditions_free($archives) ) ) {
80
+ $template = WPR_Conditions_Manager::archive_templates_conditions_free($archives);
81
+ }
82
+
83
+ // Single Pages
84
+ if ( !is_null( WPR_Conditions_Manager::single_templates_conditions_free($singles) ) ) {
85
+ $template = WPR_Conditions_Manager::single_templates_conditions_free($singles);
86
+ }
87
+ }
88
+
89
+ return $template;
90
+ }
91
+
92
+
93
+ /**
94
+ ** Archive Pages Templates Conditions Free
95
+ */
96
+ public static function archive_templates_conditions_free( $conditions ) {
97
+ $term_id = '';
98
+ $term_name = '';
99
+ $queried_object = get_queried_object();
100
+
101
+ // Get Terms
102
+ if ( ! is_null( $queried_object ) ) {
103
+ if ( isset( $queried_object->term_id ) && isset( $queried_object->taxonomy ) ) {
104
+ $term_id = $queried_object->term_id;
105
+ $term_name = $queried_object->taxonomy;
106
+ }
107
+ }
108
+
109
+ // Reset
110
+ $template = NULL;
111
+
112
+ // Archive Pages (includes search)
113
+ if ( is_archive() || is_search() ) {
114
+ if ( ! is_search() ) {
115
+ // Author
116
+ if ( is_author() ) {
117
+ $template = Utilities::get_template_slug( $conditions, 'archive/author' );
118
+ // Date
119
+ } elseif ( is_date() ) {
120
+ $template = Utilities::get_template_slug( $conditions, 'archive/date' );
121
+ // Category
122
+ } elseif ( is_category() ) {
123
+ $template = Utilities::get_template_slug( $conditions, 'archive/categories', $term_id );
124
+ // Tag
125
+ } elseif ( is_tag() ) {
126
+ $template = Utilities::get_template_slug( $conditions, 'archive/tags', $term_id );
127
+ }
128
+
129
+ // Search Page
130
+ } else {
131
+ $template = Utilities::get_template_slug( $conditions, 'archive/search' );
132
+ }
133
+
134
+ // Posts Page
135
+ } elseif ( Utilities::is_blog_archive() ) {
136
+ $template = Utilities::get_template_slug( $conditions, 'archive/posts' );
137
+ }
138
+
139
+ // Global - For All Archives
140
+ if ( is_null($template) ) {
141
+ $all_archives = Utilities::get_template_slug( $conditions, 'archive/all_archives' );
142
+
143
+ if ( ! is_null($all_archives) ) {
144
+ if ( class_exists( 'WooCommerce' ) && is_shop() ) {
145
+ $template = null;
146
+ } else {
147
+ if ( is_archive() || is_search() || Utilities::is_blog_archive() ) {
148
+ $template = $all_archives;
149
+ }
150
+ }
151
+ }
152
+ }
153
+
154
+ return $template;
155
+ }
156
+
157
+ /**
158
+ ** Single Pages Templates Conditions - Free
159
+ */
160
+ public static function single_templates_conditions_free( $conditions ) {
161
+ global $post;
162
+
163
+ // Get Posts
164
+ $post_id = is_null($post) ? '' : $post->ID;
165
+ $post_type = is_null($post) ? '' : $post->post_type;
166
+
167
+ // Reset
168
+ $template = NULL;
169
+
170
+ // Single Pages
171
+ if ( is_single() || is_front_page() || is_page() || is_404() ) {
172
+
173
+ if ( is_single() ) {
174
+ // Blog Posts
175
+ if ( 'post' == $post_type ) {
176
+ $template = Utilities::get_template_slug( $conditions, 'single/posts', $post_id );
177
+ }
178
+ } else {
179
+ // Front page
180
+ if ( is_front_page() && ! Utilities::is_blog_archive() ) {//TODO: is it a good check? - is_blog_archive()
181
+ $template = Utilities::get_template_slug( $conditions, 'single/front_page' );
182
+ // Error 404 Page
183
+ } elseif ( is_404() ) {
184
+ $template = Utilities::get_template_slug( $conditions, 'single/page_404' );
185
+ // Single Page
186
+ } elseif ( is_page() ) {
187
+ $template = Utilities::get_template_slug( $conditions, 'single/pages', $post_id );
188
+ }
189
+ }
190
+
191
+ }
192
+
193
+ return $template;
194
+ }
195
  }
admin/includes/wpr-render-templates.php CHANGED
@@ -66,8 +66,9 @@ class WPR_Render_Templates {
66
  add_action( 'elementor/page_templates/canvas/after_content', [ $this, 'add_canvas_footer' ], 9 );
67
  }
68
 
69
- // Canvas Page Content
70
- // add_action( 'elementor/page_templates/canvas/before_content', [ $this, 'replace_header' ] );
 
71
 
72
  // Scripts and Styles
73
  add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_scripts' ] );
@@ -78,10 +79,13 @@ class WPR_Render_Templates {
78
  ** Check if a Template has Conditions
79
  */
80
  public function is_template_available( $type ) {
81
- $conditions = json_decode( get_option('wpr_'. $type .'_conditions', '[]'), true );
82
- $template = WPR_Conditions_Manager::header_footer_display_conditions( $conditions );
83
-
84
- return (!empty( $conditions ) && !is_null($template)) ? true : false;
 
 
 
85
  }
86
 
87
  /**
@@ -154,32 +158,31 @@ class WPR_Render_Templates {
154
  }
155
  }
156
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  /**
158
  ** Theme Builder Content Display
159
  */
160
- // public function canvas_page_content_display() {//TODO: Change and Adapt this function (maybe move to conditions manager)
161
- // // Get Conditions
162
- // $archives = json_decode( get_option( 'wpr_archive_conditions' ), true );
163
- // $archives = is_null( $archives ) ? [] : $archives;
164
- // $singles = json_decode( get_option( 'wpr_single_conditions' ), true );
165
- // $singles = is_null( $singles ) ? [] : $singles;
166
-
167
- // // Reset
168
- // $template = '';
169
-
170
- // // Archive Pages (includes search)
171
- // if ( ! is_null( $this->archive_templates_conditions( $archives ) ) ) {
172
- // $template = $this->archive_templates_conditions( $archives );
173
- // }
174
-
175
- // // Single Pages
176
- // if ( ! is_null( $this->single_templates_conditions( $singles, false ) ) ) {
177
- // $template = $this->single_templates_conditions( $singles, false );
178
- // }
179
-
180
- // // Display Template
181
- // Utilities::render_elementor_template( $template );
182
- // }
183
 
184
  /**
185
  * Enqueue styles and scripts.
@@ -223,6 +226,19 @@ class WPR_Render_Templates {
223
 
224
  $footer_css_file->enqueue();
225
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
226
  }
227
 
228
  }
66
  add_action( 'elementor/page_templates/canvas/after_content', [ $this, 'add_canvas_footer' ], 9 );
67
  }
68
 
69
+ // Theme Builder
70
+ add_filter( 'template_include', [ $this, 'convert_to_canvas' ], 12 ); // 12 after WP Pages and WooCommerce.
71
+ add_action( 'elementor/page_templates/canvas/wpr_print_content', [ $this, 'canvas_page_content_display' ] );
72
 
73
  // Scripts and Styles
74
  add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_scripts' ] );
79
  ** Check if a Template has Conditions
80
  */
81
  public function is_template_available( $type ) {
82
+ if ( 'content' === $type ) {
83
+ return !is_null(WPR_Conditions_Manager::canvas_page_content_display_conditions()) ? true : false;
84
+ } else {
85
+ $conditions = json_decode( get_option('wpr_'. $type .'_conditions', '[]'), true );
86
+ $template = WPR_Conditions_Manager::header_footer_display_conditions( $conditions );
87
+ return (!empty( $conditions ) && !is_null($template)) ? true : false;
88
+ }
89
  }
90
 
91
  /**
158
  }
159
  }
160
 
161
+ public function convert_to_canvas( $template ) {
162
+ $is_theme_builder_edit = \Elementor\Plugin::$instance->preview->is_preview_mode() && Utilities::is_theme_builder_template() ? true : false;
163
+ $_wp_page_template = get_post_meta(get_the_ID(), '_wp_page_template', true);
164
+
165
+ if ( $this->is_template_available('content') || $is_theme_builder_edit ) {
166
+ if ( (is_page() || is_single()) && 'elementor_canvas' === $_wp_page_template && !$is_theme_builder_edit ) {
167
+ return $template;
168
+ } else {
169
+ return WPR_ADDONS_PATH . 'admin/templates/wpr-canvas.php';
170
+ }
171
+ } else {
172
+ return $template;
173
+ }
174
+ }
175
+
176
  /**
177
  ** Theme Builder Content Display
178
  */
179
+ public function canvas_page_content_display() {
180
+ // Get Template
181
+ $template = WPR_Conditions_Manager::canvas_page_content_display_conditions();
182
+
183
+ // Display Template
184
+ Utilities::render_elementor_template( $template );
185
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
186
 
187
  /**
188
  * Enqueue styles and scripts.
226
 
227
  $footer_css_file->enqueue();
228
  }
229
+
230
+ // Load Canvas Content Template CSS File
231
+ $canvas_template_id = Utilities::get_template_id(WPR_Conditions_Manager::canvas_page_content_display_conditions());
232
+
233
+ if ( false !== $canvas_template_id ) {
234
+ if ( class_exists( '\Elementor\Core\Files\CSS\Post' ) ) {
235
+ $footer_css_file = new \Elementor\Core\Files\CSS\Post( $canvas_template_id );
236
+ } elseif ( class_exists( '\Elementor\Post_CSS_File' ) ) {
237
+ $footer_css_file = new \Elementor\Post_CSS_File( $canvas_template_id );
238
+ }
239
+
240
+ $footer_css_file->enqueue();
241
+ }
242
  }
243
 
244
  }
admin/includes/wpr-templates-actions.php CHANGED
@@ -73,6 +73,16 @@ class WPR_Templates_Actions {
73
  update_option( 'wpr_single_conditions', $this->sanitize_conditions($_POST['wpr_single_conditions']) );
74
  }
75
 
 
 
 
 
 
 
 
 
 
 
76
  // Popup
77
  if ( isset($_POST['wpr_popup_conditions']) ) {
78
  update_option( 'wpr_popup_conditions', $this->sanitize_conditions($_POST['wpr_popup_conditions']) );
@@ -104,7 +114,14 @@ class WPR_Templates_Actions {
104
  if ( 'popup' === $_POST['user_template_type'] ) {
105
  update_post_meta( $template_id, '_elementor_template_type', 'wpr-popups' );
106
  } else {
107
- update_post_meta( $template_id, '_elementor_template_type', 'wpr-theme-builder' );
 
 
 
 
 
 
 
108
  update_post_meta( $template_id, '_wpr_template_type', sanitize_text_field($_POST['user_template_type']) );
109
  }
110
  } else {
73
  update_option( 'wpr_single_conditions', $this->sanitize_conditions($_POST['wpr_single_conditions']) );
74
  }
75
 
76
+ // Product Archive
77
+ if ( isset($_POST['wpr_product_archive_conditions']) ) {
78
+ update_option( 'wpr_product_archive_conditions', $this->sanitize_conditions($_POST['wpr_product_archive_conditions']) );
79
+ }
80
+
81
+ // Product Single
82
+ if ( isset($_POST['wpr_product_single_conditions']) ) {
83
+ update_option( 'wpr_product_single_conditions', $this->sanitize_conditions($_POST['wpr_product_single_conditions']) );
84
+ }
85
+
86
  // Popup
87
  if ( isset($_POST['wpr_popup_conditions']) ) {
88
  update_option( 'wpr_popup_conditions', $this->sanitize_conditions($_POST['wpr_popup_conditions']) );
114
  if ( 'popup' === $_POST['user_template_type'] ) {
115
  update_post_meta( $template_id, '_elementor_template_type', 'wpr-popups' );
116
  } else {
117
+ if ( 'header' === $_POST['user_template_type'] ) {
118
+ update_post_meta( $template_id, '_elementor_template_type', 'wpr-theme-builder-header' );
119
+ } elseif ( 'footer' === $_POST['user_template_type'] ) {
120
+ update_post_meta( $template_id, '_elementor_template_type', 'wpr-theme-builder-footer' );
121
+ } else {
122
+ update_post_meta( $template_id, '_elementor_template_type', 'wpr-theme-builder' );
123
+ }
124
+
125
  update_post_meta( $template_id, '_wpr_template_type', sanitize_text_field($_POST['user_template_type']) );
126
  }
127
  } else {
admin/includes/wpr-templates-loop.php CHANGED
@@ -94,9 +94,10 @@ class WPR_Templates_Loop {
94
 
95
  // List
96
  echo '<li>';
97
- echo '<h3>'. $user_template->post_title .'</h3>';
 
98
  echo '<span class="wpr-action-buttons">';
99
- echo '<a href="'. esc_url($edit_url) .'" class="button button-primary">'. esc_html__( 'Edit', 'wpr-addons' ) .'</a>';
100
  echo '<span class="wpr-delete-template button button-primary" data-slug="'. esc_attr($user_template->post_name) .'" data-warning="'. esc_html__( 'Are you sure you want to delete this template?', 'wpr-addons' ) .'"><span class="dashicons dashicons-no-alt"></span></span>';
101
  echo '</span>';
102
  echo '</li>';
@@ -139,36 +140,54 @@ class WPR_Templates_Loop {
139
  </select>
140
  <!-- Archive -->
141
  <select name="archives_condition_select" class="archives-condition-select">
142
- <option value="posts"><?php esc_html_e( 'Posts Archive', 'wpr-addons' ); ?></option>
143
- <option value="author"><?php esc_html_e( 'Author Archive', 'wpr-addons' ); ?></option>
144
- <option value="date"><?php esc_html_e( 'Date Archive', 'wpr-addons' ); ?></option>
145
- <option value="search"><?php esc_html_e( 'Search Results', 'wpr-addons' ); ?></option>
146
- <option value="categories" class="custom-ids"><?php esc_html_e( 'Post Categories', 'wpr-addons' ); ?></option>
147
- <option value="tags" class="custom-ids"><?php esc_html_e( 'Post Tags', 'wpr-addons' ); ?></option>
148
- <?php // Custom Taxonomies
149
- $custom_taxonomies = Utilities::get_custom_types_of( 'tax', true );
150
- foreach ($custom_taxonomies as $key => $value) {
151
- // Add Shop Archives
152
- if ( 'product_cat' === $key ) {
153
- echo '<option value="products">'. esc_html__( 'Products Archive', 'wpr-addons' ) .'</option>';
154
- }
155
- // List Taxonomies
156
- echo '<option value="'. esc_attr($key) .'" class="custom-type-ids">'. esc_html($value) .'</option>';
157
- }
158
- ?>
 
 
 
 
 
 
 
 
 
159
  </select>
160
  <!-- Single -->
161
  <select name="singles_condition_select" class="singles-condition-select">
162
- <option value="front_page"><?php esc_html_e( 'Front Page', 'wpr-addons' ); ?></option>
163
- <option value="page_404"><?php esc_html_e( '404 Page', 'wpr-addons' ); ?></option>
164
- <option value="pages" class="custom-ids"><?php esc_html_e( 'Pages', 'wpr-addons' ); ?></option>
165
- <option value="posts" class="custom-ids"><?php esc_html_e( 'Posts', 'wpr-addons' ); ?></option>
166
- <?php // Custom Post Types
167
- $custom_taxonomies = Utilities::get_custom_types_of( 'post', true );
168
- foreach ($custom_taxonomies as $key => $value) {
169
- echo '<option value="'. esc_attr($key) .'" class="custom-type-ids">'. esc_html($value) .'</option>';
170
- }
171
- ?>
 
 
 
 
 
 
 
 
 
172
  </select>
173
 
174
  <input type="text" placeholder="<?php esc_html_e( 'Enter comma separated IDs', 'wpr-addons' ); ?>" name="condition_input_ids" class="wpr-condition-input-ids">
@@ -184,36 +203,72 @@ class WPR_Templates_Loop {
184
  </select>
185
  <!-- Archive -->
186
  <select name="archives_condition_select" class="archives-condition-select">
187
- <option value="posts"><?php esc_html_e( 'Posts Archive (Pro)', 'wpr-addons' ); ?></option>
188
- <option value="author"><?php esc_html_e( 'Author Archive (Pro)', 'wpr-addons' ); ?></option>
189
- <option value="date"><?php esc_html_e( 'Date Archive (Pro)', 'wpr-addons' ); ?></option>
190
- <option value="search"><?php esc_html_e( 'Search Results (Pro)', 'wpr-addons' ); ?></option>
191
- <option value="categories" class="custom-ids"><?php esc_html_e( 'Post Categories (Pro)', 'wpr-addons' ); ?></option>
192
- <option value="tags" class="custom-ids"><?php esc_html_e( 'Post Tags (Pro)', 'wpr-addons' ); ?></option>
193
- <?php // Custom Taxonomies
194
- $custom_taxonomies = Utilities::get_custom_types_of( 'tax', true );
195
- foreach ($custom_taxonomies as $key => $value) {
196
- // Add Shop Archives
197
- if ( 'product_cat' === $key ) {
198
- echo '<option value="products">'. esc_html__( 'Products Archive (Pro)', 'wpr-addons' ) .'</option>';
199
- }
200
- // List Taxonomies
201
- echo '<option value="'. esc_attr($key) .'" class="custom-type-ids">'. esc_html($value) .' (Pro)</option>';
202
- }
203
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
204
  </select>
205
  <!-- Single -->
206
  <select name="singles_condition_select" class="singles-condition-select">
207
- <option value="front_page"><?php esc_html_e( 'Front Page (Pro)', 'wpr-addons' ); ?></option>
208
- <option value="page_404"><?php esc_html_e( '404 Page (Pro)', 'wpr-addons' ); ?></option>
209
- <option value="pages" class="custom-ids"><?php esc_html_e( 'Pages (Pro)', 'wpr-addons' ); ?></option>
210
- <option value="posts" class="custom-ids"><?php esc_html_e( 'Posts (Pro)', 'wpr-addons' ); ?></option>
211
- <?php // Custom Post Types
212
- $custom_taxonomies = Utilities::get_custom_types_of( 'post', true );
213
- foreach ($custom_taxonomies as $key => $value) {
214
- echo '<option value="'. esc_attr($key) .'" class="custom-type-ids">'. esc_html($value) .' (Pro)</option>';
215
- }
216
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
  </select>
218
 
219
  <input type="text" placeholder="<?php esc_html_e( 'Enter comma separated IDs (Pro)', 'wpr-addons' ); ?>" name="condition_input_ids" class="wpr-condition-input-ids">
94
 
95
  // List
96
  echo '<li>';
97
+ echo '<h3 class="wpr-title">'. $user_template->post_title .'</h3>';
98
+
99
  echo '<span class="wpr-action-buttons">';
100
+ echo '<a href="'. esc_url($edit_url) .'" class="wpr-edit-template button button-primary">'. esc_html__( 'Edit', 'wpr-addons' ) .'</a>';
101
  echo '<span class="wpr-delete-template button button-primary" data-slug="'. esc_attr($user_template->post_name) .'" data-warning="'. esc_html__( 'Are you sure you want to delete this template?', 'wpr-addons' ) .'"><span class="dashicons dashicons-no-alt"></span></span>';
102
  echo '</span>';
103
  echo '</li>';
140
  </select>
141
  <!-- Archive -->
142
  <select name="archives_condition_select" class="archives-condition-select">
143
+ <?php if ( 'wpr_tab_product_archive' !== $_GET['tab'] ) : ?>
144
+ <option value="all_archives"><?php esc_html_e( 'All Archives', 'wpr-addons' ); ?></option>
145
+ <option value="posts"><?php esc_html_e( 'Posts Archive', 'wpr-addons' ); ?></option>
146
+ <option value="author"><?php esc_html_e( 'Author Archive', 'wpr-addons' ); ?></option>
147
+ <option value="date"><?php esc_html_e( 'Date Archive', 'wpr-addons' ); ?></option>
148
+ <option value="search"><?php esc_html_e( 'Search Results', 'wpr-addons' ); ?></option>
149
+ <option value="categories" class="custom-ids"><?php esc_html_e( 'Post Categories', 'wpr-addons' ); ?></option>
150
+ <option value="tags" class="custom-ids"><?php esc_html_e( 'Post Tags', 'wpr-addons' ); ?></option>
151
+ <?php // Custom Taxonomies
152
+ $custom_taxonomies = Utilities::get_custom_types_of( 'tax', true );
153
+ foreach ($custom_taxonomies as $key => $value) {
154
+ if ( 'wpr_tab_header' !== $_GET['tab'] && 'wpr_tab_footer' !== $_GET['tab'] && ('product_cat' === $key || 'product_tag' === $key) ) {
155
+ continue;
156
+ } elseif ( 'product_cat' === $key ) {
157
+ echo '<option value="products">'. esc_html__( 'Products Archive', 'wpr-addons' ) .'</option>';
158
+ }
159
+
160
+ // List Taxonomies
161
+ echo '<option value="'. esc_attr($key) .'" class="custom-type-ids">'. esc_html($value) .'</option>';
162
+ }
163
+ ?>
164
+ <?php else: ?>
165
+ <option value="products"><?php esc_html_e( 'Products Archive', 'wpr-addons' ); ?></option>
166
+ <option value="product_cat" class="custom-type-ids"><?php esc_html_e( 'Products Categories', 'wpr-addons' ); ?></option>
167
+ <option value="product_tag" class="custom-type-ids"><?php esc_html_e( 'Products Tags', 'wpr-addons' ); ?></option>
168
+ <?php endif; ?>
169
  </select>
170
  <!-- Single -->
171
  <select name="singles_condition_select" class="singles-condition-select">
172
+ <?php if ( 'wpr_tab_product_single' !== $_GET['tab'] ) : ?>
173
+ <option value="front_page"><?php esc_html_e( 'Front Page', 'wpr-addons' ); ?></option>
174
+ <option value="page_404"><?php esc_html_e( '404 Page', 'wpr-addons' ); ?></option>
175
+ <option value="pages" class="custom-ids"><?php esc_html_e( 'Pages', 'wpr-addons' ); ?></option>
176
+ <option value="posts" class="custom-ids"><?php esc_html_e( 'Posts', 'wpr-addons' ); ?></option>
177
+ <?php // Custom Post Types
178
+ $custom_taxonomies = Utilities::get_custom_types_of( 'post', true );
179
+ foreach ($custom_taxonomies as $key => $value) {
180
+ if ( 'wpr_tab_header' !== $_GET['tab'] && 'wpr_tab_footer' !== $_GET['tab'] && 'product' === $key ) {
181
+ continue;
182
+ }
183
+
184
+ echo '<option value="'. esc_attr($key) .'" class="custom-type-ids">'. esc_html($value) .'</option>';
185
+ }
186
+ ?>
187
+ <?php else: ?>
188
+ <option value="product" class="custom-type-ids"><?php esc_html_e( 'Products', 'wpr-addons' ); ?></option>
189
+ <option value="productzz"><?php esc_html_e( 'Products in Category (Like Elementor Pro)', 'wpr-addons' ); ?></option>
190
+ <?php endif; ?>
191
  </select>
192
 
193
  <input type="text" placeholder="<?php esc_html_e( 'Enter comma separated IDs', 'wpr-addons' ); ?>" name="condition_input_ids" class="wpr-condition-input-ids">
203
  </select>
204
  <!-- Archive -->
205
  <select name="archives_condition_select" class="archives-condition-select">
206
+
207
+ <?php if ( 'wpr_tab_product_archive' !== $_GET['tab'] ) : ?>
208
+ <?php if ( 'wpr_tab_archive' === $_GET['tab'] ) : ?>
209
+ <option value="all_archives"><?php esc_html_e( 'All Archives', 'wpr-addons' ); ?></option>
210
+ <option value="posts"><?php esc_html_e( 'Posts Archive', 'wpr-addons' ); ?></option>
211
+ <option value="author"><?php esc_html_e( 'Author Archive', 'wpr-addons' ); ?></option>
212
+ <option value="date"><?php esc_html_e( 'Date Archive', 'wpr-addons' ); ?></option>
213
+ <option value="search"><?php esc_html_e( 'Search Results', 'wpr-addons' ); ?></option>
214
+ <option value="categories" class="custom-ids"><?php esc_html_e( 'Post Categories', 'wpr-addons' ); ?></option>
215
+ <option value="tags" class="custom-ids"><?php esc_html_e( 'Post Tags', 'wpr-addons' ); ?></option>
216
+ <?php else: ?>
217
+ <option value="all_archives"><?php esc_html_e( 'All Archives (Pro)', 'wpr-addons' ); ?></option>
218
+ <option value="posts"><?php esc_html_e( 'Posts Archive (Pro)', 'wpr-addons' ); ?></option>
219
+ <option value="author"><?php esc_html_e( 'Author Archive (Pro)', 'wpr-addons' ); ?></option>
220
+ <option value="date"><?php esc_html_e( 'Date Archive (Pro)', 'wpr-addons' ); ?></option>
221
+ <option value="search"><?php esc_html_e( 'Search Results (Pro)', 'wpr-addons' ); ?></option>
222
+ <option value="categories" class="custom-ids"><?php esc_html_e( 'Post Categories (Pro)', 'wpr-addons' ); ?></option>
223
+ <option value="tags" class="custom-ids"><?php esc_html_e( 'Post Tags (Pro)', 'wpr-addons' ); ?></option>
224
+ <?php // Custom Taxonomies
225
+ $custom_taxonomies = Utilities::get_custom_types_of( 'tax', true );
226
+ foreach ($custom_taxonomies as $key => $value) {
227
+ if ( 'wpr_tab_header' !== $_GET['tab'] && 'wpr_tab_footer' !== $_GET['tab'] && ('product_cat' === $key || 'product_tag' === $key) ) {
228
+ continue;
229
+ } elseif ( 'product_cat' === $key ) {
230
+ echo '<option value="products">'. esc_html__( 'Products Archive (Pro)', 'wpr-addons' ) .'</option>';
231
+ }
232
+
233
+ // List Taxonomies
234
+ echo '<option value="'. esc_attr($key) .'" class="custom-type-ids">'. esc_html($value) .' (Pro)</option>';
235
+ }
236
+ ?>
237
+ <?php endif; ?>
238
+ <?php else: ?>
239
+ <option value="products"><?php esc_html_e( 'Products Archive (Pro)', 'wpr-addons' ); ?></option>
240
+ <option value="product_cat" class="custom-type-ids"><?php esc_html_e( 'Products Categories (Pro)', 'wpr-addons' ); ?></option>
241
+ <option value="product_tag" class="custom-type-ids"><?php esc_html_e( 'Products Tags (Pro)', 'wpr-addons' ); ?></option>
242
+ <?php endif; ?>
243
  </select>
244
  <!-- Single -->
245
  <select name="singles_condition_select" class="singles-condition-select">
246
+ <?php if ( 'wpr_tab_product_single' !== $_GET['tab'] ) : ?>
247
+ <?php if ( 'wpr_tab_single' === $_GET['tab'] ) : ?>
248
+ <option value="front_page"><?php esc_html_e( 'Front Page', 'wpr-addons' ); ?></option>
249
+ <option value="page_404"><?php esc_html_e( '404 Page', 'wpr-addons' ); ?></option>
250
+ <option value="pages" class="custom-ids"><?php esc_html_e( 'Pages', 'wpr-addons' ); ?></option>
251
+ <option value="posts" class="custom-ids"><?php esc_html_e( 'Posts', 'wpr-addons' ); ?></option>
252
+ <?php else: ?>
253
+ <option value="front_page"><?php esc_html_e( 'Front Page (Pro)', 'wpr-addons' ); ?></option>
254
+ <option value="page_404"><?php esc_html_e( '404 Page (Pro)', 'wpr-addons' ); ?></option>
255
+ <option value="pages" class="custom-ids"><?php esc_html_e( 'Pages (Pro)', 'wpr-addons' ); ?></option>
256
+ <option value="posts" class="custom-ids"><?php esc_html_e( 'Posts (Pro)', 'wpr-addons' ); ?></option>
257
+ <?php // Custom Post Types
258
+ $custom_taxonomies = Utilities::get_custom_types_of( 'post', true );
259
+ foreach ($custom_taxonomies as $key => $value) {
260
+ if ( 'wpr_tab_header' !== $_GET['tab'] && 'wpr_tab_footer' !== $_GET['tab'] && 'product' === $key ) {
261
+ continue;
262
+ }
263
+
264
+ echo '<option value="'. esc_attr($key) .'" class="custom-type-ids">'. esc_html($value) .' (Pro)</option>';
265
+ }
266
+ ?>
267
+ <?php endif; ?>
268
+ <?php else: ?>
269
+ <option value="product" class="custom-type-ids"><?php esc_html_e( 'Products (Pro)', 'wpr-addons' ); ?></option>
270
+ <option value="productzz"><?php esc_html_e( 'Products in Category (Like Elementor Pro)', 'wpr-addons' ); ?></option>
271
+ <?php endif; ?>
272
  </select>
273
 
274
  <input type="text" placeholder="<?php esc_html_e( 'Enter comma separated IDs (Pro)', 'wpr-addons' ); ?>" name="condition_input_ids" class="wpr-condition-input-ids">
admin/includes/wpr-templates-shortcode.php CHANGED
@@ -26,7 +26,7 @@ class WPR_Templates_Shortcode {
26
 
27
  $edit_link = '<span class="wpr-template-edit-btn" data-permalink="'. get_permalink($attributes['id']) .'">Edit Template</span>';
28
 
29
- return Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $attributes['id'] ) . $edit_link;
30
  }
31
 
32
  public function extend_shortcode( $section, $section_id, $args ) {
26
 
27
  $edit_link = '<span class="wpr-template-edit-btn" data-permalink="'. get_permalink($attributes['id']) .'">Edit Template</span>';
28
 
29
+ return Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $attributes['id'], true ) . $edit_link;
30
  }
31
 
32
  public function extend_shortcode( $section, $section_id, $args ) {
admin/plugin-options.php CHANGED
@@ -21,9 +21,27 @@ function wpr_settings_link( $links ) {
21
  $settings_link = '<a href="admin.php?page=wpr-addons">Settings</a>';
22
  array_push( $links, $settings_link );
23
 
 
 
 
 
24
  return $links;
25
  }
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  // Register Settings
28
  function wpr_register_addons_settings() {
29
  // Integrations
@@ -100,8 +118,6 @@ function wpr_addons_settings_page() {
100
  $active_tab = isset( $_GET['tab'] ) ? esc_attr($_GET['tab']) : 'wpr_tab_settings';
101
  } elseif ( empty(get_option('wpr_wl_hide_white_label_tab')) ) {
102
  $active_tab = isset( $_GET['tab'] ) ? esc_attr($_GET['tab']) : 'wpr_tab_white_label';
103
- } else {
104
- $active_tab = isset( $_GET['tab'] ) ? esc_attr($_GET['tab']) : 'wpr_tab_my_templates';
105
  }
106
 
107
 
@@ -123,11 +139,7 @@ function wpr_addons_settings_page() {
123
  <?php esc_html_e( 'Extensions', 'wpr-addons' ); ?>
124
  </a>
125
  <?php endif; ?>
126
-
127
- <a href="?page=wpr-addons&tab=wpr_tab_my_templates" data-title="My Templates" class="nav-tab <?php echo $active_tab == 'wpr_tab_my_templates' ? 'nav-tab-active' : ''; ?>">
128
- <?php esc_html_e( 'My Templates', 'wpr-addons' ); ?>
129
- </a>
130
-
131
  <?php if ( empty(get_option('wpr_wl_hide_settings_tab')) ) : ?>
132
  <a href="?page=wpr-addons&tab=wpr_tab_settings" data-title="Settings" class="nav-tab <?php echo $active_tab == 'wpr_tab_settings' ? 'nav-tab-active' : ''; ?>">
133
  <?php esc_html_e( 'Settings', 'wpr-addons' ); ?>
@@ -185,16 +197,6 @@ function wpr_addons_settings_page() {
185
 
186
  <?php submit_button( '', 'wpr-options-button' ); ?>
187
 
188
- <?php elseif ( $active_tab == 'wpr_tab_my_templates' ) : ?>
189
-
190
- <!-- Custom Template -->
191
- <div class="wpr-user-template">
192
- <span><?php esc_html_e( 'Create Template', 'wpr-addons' ); ?></span>
193
- <span class="plus-icon">+</span>
194
- </div>
195
-
196
- <?php Wpr_Templates_Loop::render_elementor_saved_templates(); ?>
197
-
198
  <?php elseif ( $active_tab == 'wpr_tab_settings' ) : ?>
199
 
200
  <?php
21
  $settings_link = '<a href="admin.php?page=wpr-addons">Settings</a>';
22
  array_push( $links, $settings_link );
23
 
24
+ if ( !is_plugin_installed('wpr-addons-pro/wpr-addons-pro.php') ) {
25
+ $links[] = '<a href="https://royal-elementor-addons.com/?ref=rea-plugin-backend-wpplugindashboard-upgrade-pro#purchasepro" style="color:#93003c;font-weight:700" target="_blank">' . esc_html__('Go Pro', 'wpr-addons') . '</a>';
26
+ }
27
+
28
  return $links;
29
  }
30
 
31
+ function is_plugin_installed($file) {
32
+ $installed_plugins = [];
33
+
34
+ foreach( get_plugins() as $slug => $plugin_info ) {
35
+ array_push($installed_plugins, $slug);
36
+ }
37
+
38
+ if ( in_array($file, $installed_plugins) ) {
39
+ return true;
40
+ } else {
41
+ return false;
42
+ }
43
+ }
44
+
45
  // Register Settings
46
  function wpr_register_addons_settings() {
47
  // Integrations
118
  $active_tab = isset( $_GET['tab'] ) ? esc_attr($_GET['tab']) : 'wpr_tab_settings';
119
  } elseif ( empty(get_option('wpr_wl_hide_white_label_tab')) ) {
120
  $active_tab = isset( $_GET['tab'] ) ? esc_attr($_GET['tab']) : 'wpr_tab_white_label';
 
 
121
  }
122
 
123
 
139
  <?php esc_html_e( 'Extensions', 'wpr-addons' ); ?>
140
  </a>
141
  <?php endif; ?>
142
+
 
 
 
 
143
  <?php if ( empty(get_option('wpr_wl_hide_settings_tab')) ) : ?>
144
  <a href="?page=wpr-addons&tab=wpr_tab_settings" data-title="Settings" class="nav-tab <?php echo $active_tab == 'wpr_tab_settings' ? 'nav-tab-active' : ''; ?>">
145
  <?php esc_html_e( 'Settings', 'wpr-addons' ); ?>
197
 
198
  <?php submit_button( '', 'wpr-options-button' ); ?>
199
 
 
 
 
 
 
 
 
 
 
 
200
  <?php elseif ( $active_tab == 'wpr_tab_settings' ) : ?>
201
 
202
  <?php
admin/templates-kit.php CHANGED
@@ -8,7 +8,7 @@ use Elementor\Plugin;
8
 
9
  // Register Menus
10
  function wpr_addons_add_templates_kit_menu() {
11
- add_submenu_page( 'wpr-addons', 'Templates Kit', 'Templates Kit', 'manage_options', 'wpr-templates-kit', 'wpr_addons_templates_kit_page' );
12
  }
13
  add_action( 'admin_menu', 'wpr_addons_add_templates_kit_menu' );
14
 
@@ -63,7 +63,7 @@ function wpr_addons_templates_kit_page() {
63
  </header>
64
 
65
  <div class="wpr-templates-kit-page-title">
66
- <h1><?php _e('Royal Templates Kit', 'wpr-addons'); ?></h1>
67
  <p><?php _e('Import any Templates Kit with just a Single click', 'wpr-addons'); ?></p>
68
  </div>
69
 
@@ -82,6 +82,7 @@ function wpr_addons_templates_kit_page() {
82
  echo '</div>';
83
  echo '<footer>';
84
  echo '<h3>'. $data['name'] .'</h3>';
 
85
  echo '</footer>';
86
  echo '</div>';
87
  }
@@ -146,42 +147,39 @@ function get_theme_status() {
146
  $theme = wp_get_theme();
147
 
148
  // Theme installed and activate.
149
- if ( 'Ashe' === $theme->name || 'Ashe' === $theme->parent_theme ) {
150
- return 'ashe-active';
151
  }
152
 
153
  // Theme installed but not activate.
154
  foreach ( (array) wp_get_themes() as $theme_dir => $theme ) {
155
- if ( 'Ashe' === $theme->name || 'Ashe' === $theme->parent_theme ) {
156
- return 'ashe-inactive';
157
  }
158
  }
159
 
160
- return 'ashe-not-installed';
161
  }
162
 
163
  /**
164
  ** Install/Activate Required Theme
165
  */
166
  function wpr_activate_reuired_theme() {
167
-
168
  $theme = get_option('stylesheet');
169
 
170
- if ( 'ashe' === $theme || 'bard' === $theme
171
- || 'ashe-pro-premium' === $theme || 'bard-pro-premium' === $theme
172
- || 'vayne-pro-premium' === $theme || 'kayn-pro-premium' === $theme ) {
173
- return;
174
  }
175
-
176
- // Activate Ashe Theme
177
- switch_theme( 'ashe' );
178
  }
179
 
180
  /**
181
  ** Install/Activate Required Plugins
182
  */
183
  function wpr_install_reuired_plugins() {
184
- // Getcurrently active plugins
185
  $active_plugins = (array) get_option( 'active_plugins', array() );
186
 
187
  // Add Required Plugins
@@ -194,8 +192,15 @@ function wpr_install_reuired_plugins() {
194
  // Set Active Plugins
195
  update_option( 'active_plugins', $active_plugins );
196
 
197
- // Activate Ashe Theme
198
- switch_theme( 'ashe' );
 
 
 
 
 
 
 
199
  }
200
 
201
  /**
@@ -265,6 +270,55 @@ function download_template( $kit, $file ) {
265
  return $local_file_path;
266
  }
267
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
268
  /**
269
  ** Fix Elementor Images
270
  */
@@ -350,26 +404,18 @@ function fix_contact_form_7() {
350
  function wpr_final_settings_setup() {
351
  $kit = get_option('wpr-import-kit-id');
352
 
 
 
 
 
 
 
353
  // Fix Elementor Images
354
  wpr_fix_elementor_images();
355
 
356
  // Fix Contact Form 7
357
  fix_contact_form_7();
358
 
359
- // Set Home Page
360
- $page = get_page_by_path('home-'. $kit);
361
- update_option( 'show_on_front', 'page' );
362
- update_option( 'page_on_front', $page->ID );
363
-
364
- // Set Headers and Footers
365
- update_option('wpr_header_conditions', '{"user-header-'. $kit .'-header":["global"]}');
366
- update_post_meta( Utilities::get_template_id('user-header-'. $kit), 'wpr_header_show_on_canvas', 'true' );
367
- update_option('wpr_footer_conditions', '{"user-footer-'. $kit .'-footer":["global"]}');
368
- update_post_meta( Utilities::get_template_id('user-footer-'. $kit), 'wpr_footer_show_on_canvas', 'true' );
369
-
370
- // Set Popup
371
- update_option('wpr_popup_conditions', '{"user-popup-'. $kit .'-popup":["global"]}');
372
-
373
  // Track Kit
374
  wpr_track_imported_kit( $kit );
375
 
8
 
9
  // Register Menus
10
  function wpr_addons_add_templates_kit_menu() {
11
+ add_submenu_page( 'wpr-addons', 'Templates Kit', 'Templates Kit', 'manage_options', 'wpr-templates-kit', 'wpr_addons_templates_kit_page' );
12
  }
13
  add_action( 'admin_menu', 'wpr_addons_add_templates_kit_menu' );
14
 
63
  </header>
64
 
65
  <div class="wpr-templates-kit-page-title">
66
+ <h1><?php _e('Royal Elementor Templates Kit', 'wpr-addons'); ?></h1>
67
  <p><?php _e('Import any Templates Kit with just a Single click', 'wpr-addons'); ?></p>
68
  </div>
69
 
82
  echo '</div>';
83
  echo '<footer>';
84
  echo '<h3>'. $data['name'] .'</h3>';
85
+ echo $data['theme-builder'] ? '<span>'. esc_html__( 'Theme Builder', 'wpr-addons' ).'</span>' : '';
86
  echo '</footer>';
87
  echo '</div>';
88
  }
147
  $theme = wp_get_theme();
148
 
149
  // Theme installed and activate.
150
+ if ( 'Hello Elementor' === $theme->name || 'Hello Elementor' === $theme->parent_theme ) {
151
+ return 'req-theme-active';
152
  }
153
 
154
  // Theme installed but not activate.
155
  foreach ( (array) wp_get_themes() as $theme_dir => $theme ) {
156
+ if ( 'Hello Elementor' === $theme->name || 'Hello Elementor' === $theme->parent_theme ) {
157
+ return 'req-theme-inactive';
158
  }
159
  }
160
 
161
+ return 'req-theme-not-installed';
162
  }
163
 
164
  /**
165
  ** Install/Activate Required Theme
166
  */
167
  function wpr_activate_reuired_theme() {
168
+ // Get Current Theme
169
  $theme = get_option('stylesheet');
170
 
171
+ // Activate Hello Elementor Theme
172
+ if ( 'ashe' !== $theme && 'bard' !== $theme && 'ashe-pro-premium' !== $theme && 'bard-pro-premium' !== $theme
173
+ && 'vayne-pro-premium' !== $theme && 'kayn-pro-premium' !== $theme ) {
174
+ switch_theme( 'hello-elementor' );
175
  }
 
 
 
176
  }
177
 
178
  /**
179
  ** Install/Activate Required Plugins
180
  */
181
  function wpr_install_reuired_plugins() {
182
+ // Get currently active plugins
183
  $active_plugins = (array) get_option( 'active_plugins', array() );
184
 
185
  // Add Required Plugins
192
  // Set Active Plugins
193
  update_option( 'active_plugins', $active_plugins );
194
 
195
+ // Get Current Theme
196
+ $theme = get_option('stylesheet');
197
+
198
+ // Activate Hello Elementor Theme
199
+ if ( 'ashe' !== $theme && 'bard' !== $theme && 'ashe-pro-premium' !== $theme && 'bard-pro-premium' !== $theme
200
+ && 'vayne-pro-premium' !== $theme && 'kayn-pro-premium' !== $theme ) {
201
+ switch_theme( 'hello-elementor' );
202
+ }
203
+
204
  }
205
 
206
  /**
270
  return $local_file_path;
271
  }
272
 
273
+ /**
274
+ ** Import Elementor Site Settings
275
+ */
276
+ function import_elementor_site_settings( $kit ) {
277
+ // Avoid Cache
278
+ // $randomNum = substr(str_shuffle("0123456789abcdefghijklmnopqrstvwxyzABCDEFGHIJKLMNOPQRSTVWXYZ"), 0, 7);
279
+
280
+ // Get Remote File
281
+ $site_settings = @file_get_contents('https://royal-elementor-addons.com/library/templates-kit/'. $kit .'/site-settings.json');
282
+
283
+ if ( false !== $site_settings ) {
284
+ $site_settings = json_decode($site_settings, true);
285
+
286
+ if ( ! empty($site_settings['settings']) ) {
287
+ $default_kit = \Elementor\Plugin::$instance->documents->get_doc_for_frontend( get_option( 'elementor_active_kit' ) );
288
+
289
+ $kit_settings = $default_kit->get_settings();
290
+ $new_settings = $site_settings['settings'];
291
+ $settings = array_merge($kit_settings, $new_settings);
292
+
293
+ $default_kit->save( [ 'settings' => $settings ] );
294
+ }
295
+ }
296
+ }
297
+
298
+ /**
299
+ ** Setup WPR Templates
300
+ */
301
+ function setup_wpr_templates( $kit ) {
302
+
303
+ // Set Home Page
304
+ $page = get_page_by_path('home-'. $kit);
305
+ update_option( 'show_on_front', 'page' );
306
+ update_option( 'page_on_front', $page->ID );
307
+
308
+ // Set Headers and Footers
309
+ update_option('wpr_header_conditions', '{"user-header-'. $kit .'-header":["global"]}');
310
+ update_post_meta( Utilities::get_template_id('user-header-'. $kit), 'wpr_header_show_on_canvas', 'true' );
311
+ update_option('wpr_footer_conditions', '{"user-footer-'. $kit .'-footer":["global"]}');
312
+ update_post_meta( Utilities::get_template_id('user-footer-'. $kit), 'wpr_footer_show_on_canvas', 'true' );
313
+
314
+ // Theme Builder
315
+ update_option('wpr_archive_conditions', '{"user-archive-'. $kit .'-blog":["archive/posts"],"user-archive-'. $kit .'-author":["archive/author"],"user-archive-'. $kit .'-date":["archive/date"],"user-archive-'. $kit .'-category-tag":["archive/categories/all","archive/tags/all"],"user-archive-'. $kit .'-search":["archive/search"]}');
316
+ update_option('wpr_single_conditions', '{"user-single-'. $kit .'-404":["single/page_404"],"user-single-'. $kit .'-post":["single/posts/all"],"user-single-'. $kit .'-page":["single/pages/all"]}');
317
+
318
+ // Set Popup
319
+ update_option('wpr_popup_conditions', '{"user-popup-'. $kit .'-popup":["global"]}');
320
+ }
321
+
322
  /**
323
  ** Fix Elementor Images
324
  */
404
  function wpr_final_settings_setup() {
405
  $kit = get_option('wpr-import-kit-id');
406
 
407
+ // Elementor Site Settings
408
+ import_elementor_site_settings($kit);
409
+
410
+ // Setup WPR Templates
411
+ setup_wpr_templates($kit);
412
+
413
  // Fix Elementor Images
414
  wpr_fix_elementor_images();
415
 
416
  // Fix Contact Form 7
417
  fix_contact_form_7();
418
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
419
  // Track Kit
420
  wpr_track_imported_kit( $kit );
421
 
admin/templates/wpr-canvas.php ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ use Elementor\Utils;
4
+ use WprAddons\Classes\Utilities;
5
+
6
+ if ( ! defined( 'ABSPATH' ) ) {
7
+ exit; // Exit if accessed directly.
8
+ }
9
+
10
+ \Elementor\Plugin::$instance->frontend->add_body_class( 'elementor-template-canvas' );
11
+
12
+ ?>
13
+ <!DOCTYPE html>
14
+ <html <?php language_attributes(); ?>>
15
+ <head>
16
+ <meta charset="<?php bloginfo( 'charset' ); ?>">
17
+ <?php if ( ! current_theme_supports( 'title-tag' ) ) : ?>
18
+ <title><?php echo wp_get_document_title(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></title>
19
+ <?php endif; ?>
20
+ <?php wp_head(); ?>
21
+ <?php
22
+
23
+ // Keep the following line after `wp_head()` call, to ensure it's not overridden by another templates.
24
+ Utils::print_unescaped_internal_string( Utils::get_meta_viewport( 'canvas' ) );
25
+ ?>
26
+ </head>
27
+ <body <?php body_class(); ?>>
28
+ <?php
29
+ Elementor\Modules\PageTemplates\Module::body_open();
30
+ /**
31
+ * Before canvas page template content.
32
+ *
33
+ * Fires before the content of Elementor canvas page template.
34
+ *
35
+ * @since 1.0.0
36
+ */
37
+ do_action( 'elementor/page_templates/canvas/before_content' );
38
+
39
+ // Elementor Editor
40
+ if ( \Elementor\Plugin::$instance->preview->is_preview_mode() && Utilities::is_theme_builder_template() ) {
41
+ \Elementor\Plugin::$instance->modules_manager->get_modules( 'page-templates' )->print_content();
42
+
43
+ // Frontend
44
+ } else {
45
+ // Display Custom Elementor Templates
46
+ do_action( 'elementor/page_templates/canvas/wpr_print_content' );
47
+ }
48
+
49
+ /**
50
+ * After canvas page template content.
51
+ *
52
+ * Fires after the content of Elementor canvas page template.
53
+ *
54
+ * @since 1.0.0
55
+ */
56
+ do_action( 'elementor/page_templates/canvas/after_content' );
57
+
58
+ wp_footer();
59
+ ?>
60
+ </body>
61
+ </html>
admin/templates/wpr-templates-data.php CHANGED
@@ -12,12 +12,53 @@ class WPR_Templates_Data {
12
  $is_mla_active = is_plugin_active('media-library-assistant/index.php') ? 'true' : 'false';
13
 
14
  return [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  'nature' => [
16
  'v1' => [
17
  'name' => 'nature',
18
  'pages' => 'home,about,services,projects,contact,',
19
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
20
- 'tags' => 'nature influencer travel blogger blog content tourism influencers creator tourism tourism travel forest slider generic multipurpose national-park nature-park sanctuary wilderness hitchhiking mountain river lakes outdoors',
 
21
  'price' => $is_pro_active ? 'free' : 'free',
22
  ],
23
  ],
@@ -26,7 +67,8 @@ class WPR_Templates_Data {
26
  'name' => 'Portfolio/CV',
27
  'pages' => 'home,about,portfolio,contact,',
28
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
29
- 'tags' => 'portfolio personal cv designer ux artist artwork personal resume photographer',
 
30
  'price' => $is_pro_active ? 'free' : 'free',
31
  ],
32
  ],
@@ -35,7 +77,8 @@ class WPR_Templates_Data {
35
  'name' => 'Pizza Restaurant',
36
  'pages' => 'home,menu,about,offer,gallery,contact,',
37
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
38
- 'tags' => 'pizza italian restaurant food slider pasta fastfood fast food recipes cooking',
 
39
  'price' => $is_pro_active ? 'free' : 'pro',
40
  ],
41
  ],
@@ -44,7 +87,8 @@ class WPR_Templates_Data {
44
  'name' => 'Travel Blogger & Influencer',
45
  'pages' => 'home,about,stories,contact,',
46
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
47
- 'tags' => 'nature influencer travel blogger blog content tourism influencers creator tourism tourism travel forest slider generic multipurpose national-park nature-park sanctuary wilderness hitchhiking mountain river lakes outdoors',
 
48
  'price' => $is_pro_active ? 'free' : 'pro',
49
  ],
50
  ],
@@ -54,6 +98,7 @@ class WPR_Templates_Data {
54
  'pages' => 'home,about,services,pricing,contact,',
55
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
56
  'tags' => 'cybersecurity data protection hacker security dark digital technology cybercrime computer windows technician',
 
57
  'price' => $is_pro_active ? 'free' : 'pro',
58
  ],
59
  ],
@@ -62,14 +107,16 @@ class WPR_Templates_Data {
62
  'name' => 'Photographer Portfolio Dark',
63
  'pages' => 'home,about,services,portfolio,contact,',
64
  'plugins' => '{"contact-form-7":'. $is_cf7_active .', "media-library-assistant":'. $is_mla_active .'}',
65
- 'tags' => 'portfolio personal cv designer ux artist artwork personal resume camera fashion lens modelling photographer photography videography wedding shoot ',
 
66
  'price' => $is_pro_active ? 'free' : 'free',
67
  ],
68
  'v2' => [
69
  'name' => 'Photographer Portfolio Light',
70
  'pages' => 'home,about,services,portfolio,contact,',
71
  'plugins' => '{"contact-form-7":'. $is_cf7_active .', "media-library-assistant":'. $is_mla_active .'}',
72
- 'tags' => 'portfolio personal cv designer ux artist artwork personal resume camera fashion lens modelling photographer photography videography wedding shoot ',
 
73
  'price' => $is_pro_active ? 'free' : 'pro',
74
  ],
75
  ],
@@ -79,6 +126,7 @@ class WPR_Templates_Data {
79
  'pages' => 'home,about,services,token,pricing,contact,',
80
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
81
  'tags' => 'cryptocurrency bitcoin ethereum etherium blockchain protection nft coin corporate crypto dark startup token digital',
 
82
  'price' => $is_pro_active ? 'free' : 'pro',
83
  ],
84
  ],
@@ -88,6 +136,7 @@ class WPR_Templates_Data {
88
  'pages' => 'home,about,services,procedures,gallery,pricing,contact,',
89
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
90
  'tags' => 'skincare skin care beauty clean face skin-beauty health wellness',
 
91
  'price' => $is_pro_active ? 'free' : 'pro',
92
  ],
93
  ],
@@ -97,6 +146,7 @@ class WPR_Templates_Data {
97
  'pages' => 'home,practice,faq,reviews,attorney,contact,',
98
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
99
  'tags' => 'lawyers criminal defence lawyer firm divorce lawyer family lawyer law legal firm ',
 
100
  'price' => $is_pro_active ? 'free' : 'free',
101
  ],
102
  ],
@@ -106,6 +156,7 @@ class WPR_Templates_Data {
106
  'pages' => 'home,about,services,doctors,contact,',
107
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
108
  'tags' => 'medical clinic dental health healthcare doctor therapist wellness treatment cure',
 
109
  'price' => $is_pro_active ? 'free' : 'pro',
110
  ],
111
  ],
@@ -115,13 +166,15 @@ class WPR_Templates_Data {
115
  'pages' => 'home,about,services,contact,',
116
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
117
  'tags' => 'digital agency company corporate digital services office agency web marketing',
 
118
  'price' => $is_pro_active ? 'free' : 'free',
119
  ],
120
  'v2' => [
121
  'name' => 'Digital Agency',
122
  'pages' => 'home,about,services,pricing,contact,',
123
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
124
- 'tags' => 'digital agency company corporate digital services office agency web marketing',
 
125
  'price' => $is_pro_active ? 'free' : 'pro',
126
  ],
127
  ],
@@ -131,6 +184,7 @@ class WPR_Templates_Data {
131
  'pages' => 'home,about,gallery,services,contact,',
132
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
133
  'tags' => 'drone photography aerial photo ',
 
134
  'price' => $is_pro_active ? 'free' : 'pro',
135
  ],
136
  ],
@@ -139,7 +193,8 @@ class WPR_Templates_Data {
139
  'name' => 'Architecture',
140
  'pages' => 'home,about,portfolio,services,faq,contact,',
141
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
142
- 'tags' => 'architecture company slider interior design designer landscaping office zoning building',
 
143
  'price' => $is_pro_active ? 'free' : 'pro',
144
  ],
145
  ],
@@ -149,6 +204,7 @@ class WPR_Templates_Data {
149
  'pages' => 'home,services,blog,faq,contact,',
150
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
151
  'tags' => 'fooddelivery fast food chain restaurant service hotel italian pasta pizza pizzeria burger recipes cooking',
 
152
  'price' => $is_pro_active ? 'free' : 'pro',
153
  ],
154
  ],
@@ -158,6 +214,7 @@ class WPR_Templates_Data {
158
  'pages' => 'home,about,services,projects,pricing,contact,faq,',
159
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
160
  'tags' => 'construction architecture company interior office real estate',
 
161
  'price' => $is_pro_active ? 'free' : 'pro',
162
  ],
163
  ],
@@ -167,6 +224,7 @@ class WPR_Templates_Data {
167
  'pages' => 'home,about,services,pricing,faq,contact,',
168
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
169
  'tags' => 'ittech advanced technology it technique computer windows technician digital',
 
170
  'price' => $is_pro_active ? 'free' : 'pro',
171
  ],
172
  'v2' => [
@@ -174,6 +232,7 @@ class WPR_Templates_Data {
174
  'pages' => 'home,about,services,pricing,faq,contact,',
175
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
176
  'tags' => 'ittech advanced technology it technique computer windows technician digital',
 
177
  'price' => $is_pro_active ? 'free' : 'pro',
178
  ],
179
  ],
@@ -183,6 +242,7 @@ class WPR_Templates_Data {
183
  'pages' => 'home,properties,about,services,faq,contact,',
184
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
185
  'tags' => 'real estate agency company construction property rentals estate sales developers',
 
186
  'price' => $is_pro_active ? 'free' : 'pro',
187
  ],
188
  ],
@@ -191,7 +251,8 @@ class WPR_Templates_Data {
191
  'name' => 'Restaurant',
192
  'pages' => 'home,about,gallery,menu,contact,',
193
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
194
- 'tags' => 'restaurant fastfood slider hotel italian pizza pizzeria pasta dinner fast food wine recipe recipes cooking',
 
195
  'price' => $is_pro_active ? 'free' : 'pro',
196
  ],
197
  ],
@@ -200,7 +261,8 @@ class WPR_Templates_Data {
200
  'name' => 'Wine Bar & Restaurant',
201
  'pages' => 'home,story,wines,dishes,events,contact,',
202
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
203
- 'tags' => 'wine bar winery beer drink alcohol pub events dish wines italian restaurant food slider recipes cooking recipes',
 
204
  'price' => $is_pro_active ? 'free' : 'free',
205
  ],
206
  ],
@@ -209,7 +271,8 @@ class WPR_Templates_Data {
209
  'name' => 'Wedding',
210
  'pages' => 'home,about,services,blog,gallery,contact,',
211
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
212
- 'tags' => 'wedding party event slider invitation planner',
 
213
  'price' => $is_pro_active ? 'free' : 'pro',
214
  ],
215
  ],
12
  $is_mla_active = is_plugin_active('media-library-assistant/index.php') ? 'true' : 'false';
13
 
14
  return [
15
+ 'personal-blog' => [
16
+ 'v1' => [
17
+ 'name' => 'Personal Blog',
18
+ 'pages' => 'home,home-v1,home-v2,home-v3,lifestyle,about,contact,',
19
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
20
+ 'tags' => 'blog blogger posts personal blog lifestyle blogger theme builder grid slider news',
21
+ 'theme-builder' => true,
22
+ 'price' => $is_pro_active ? 'free' : 'free',
23
+ ],
24
+ ],
25
+ 'food-blog' => [
26
+ 'v1' => [
27
+ 'name' => 'Food Blog',
28
+ 'pages' => 'home,home-v1,home-v2,home-v3,category,about,contact,',
29
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
30
+ 'tags' => 'food blog posts food blogger theme builder recipes cooking grid slider',
31
+ 'theme-builder' => true,
32
+ 'price' => $is_pro_active ? 'free' : 'pro',
33
+ ],
34
+ ],
35
+ 'magazine-blog' => [
36
+ 'v1' => [
37
+ 'name' => 'Magazine Blog',
38
+ 'pages' => 'home,home-v1,home-v2,category,about,contact,',
39
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
40
+ 'tags' => 'blogger blog posts content news newspaper journal magazine business blog publishing theme builder sports grid slider',
41
+ 'theme-builder' => true,
42
+ 'price' => $is_pro_active ? 'free' : 'pro',
43
+ ],
44
+ ],
45
+ 'travel-blog' => [
46
+ 'v1' => [
47
+ 'name' => 'Travel Blog',
48
+ 'pages' => 'home,home-v1,home-v2,category,about,contact,',
49
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
50
+ 'tags' => 'nature influencer travel blogger blog posts content tourism influencers creator travel forest slider generic multipurpose national-park nature-park sanctuary wilderness slider hitchhiking mountain river lakes outdoors theme builder traveler hiking grid',
51
+ 'theme-builder' => true,
52
+ 'price' => $is_pro_active ? 'free' : 'pro',
53
+ ],
54
+ ],
55
  'nature' => [
56
  'v1' => [
57
  'name' => 'nature',
58
  'pages' => 'home,about,services,projects,contact,',
59
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
60
+ 'tags' => 'nature influencer travel blogger blog content slider tourism influencers creator travel forest slider generic multipurpose national-park nature-park sanctuary wilderness hitchhiking mountain river lakes outdoors',
61
+ 'theme-builder' => false,
62
  'price' => $is_pro_active ? 'free' : 'free',
63
  ],
64
  ],
67
  'name' => 'Portfolio/CV',
68
  'pages' => 'home,about,portfolio,contact,',
69
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
70
+ 'tags' => 'portfolio personal cv designer ux artist artwork personal resume photographer grid',
71
+ 'theme-builder' => false,
72
  'price' => $is_pro_active ? 'free' : 'free',
73
  ],
74
  ],
77
  'name' => 'Pizza Restaurant',
78
  'pages' => 'home,menu,about,offer,gallery,contact,',
79
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
80
+ 'tags' => 'pizza italian restaurant food slider pasta fastfood fast food recipes cooking slider',
81
+ 'theme-builder' => false,
82
  'price' => $is_pro_active ? 'free' : 'pro',
83
  ],
84
  ],
87
  'name' => 'Travel Blogger & Influencer',
88
  'pages' => 'home,about,stories,contact,',
89
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
90
+ 'tags' => 'nature influencer travel blogger blog content tourism influencers creator travel forest slider generic multipurpose national-park nature-park sanctuary wilderness hitchhiking mountain river lakes outdoors',
91
+ 'theme-builder' => false,
92
  'price' => $is_pro_active ? 'free' : 'pro',
93
  ],
94
  ],
98
  'pages' => 'home,about,services,pricing,contact,',
99
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
100
  'tags' => 'cybersecurity data protection hacker security dark digital technology cybercrime computer windows technician',
101
+ 'theme-builder' => false,
102
  'price' => $is_pro_active ? 'free' : 'pro',
103
  ],
104
  ],
107
  'name' => 'Photographer Portfolio Dark',
108
  'pages' => 'home,about,services,portfolio,contact,',
109
  'plugins' => '{"contact-form-7":'. $is_cf7_active .', "media-library-assistant":'. $is_mla_active .'}',
110
+ 'tags' => 'portfolio personal cv designer ux artist artwork personal resume camera fashion lens modelling photographer photography videography wedding shoot grid ',
111
+ 'theme-builder' => false,
112
  'price' => $is_pro_active ? 'free' : 'free',
113
  ],
114
  'v2' => [
115
  'name' => 'Photographer Portfolio Light',
116
  'pages' => 'home,about,services,portfolio,contact,',
117
  'plugins' => '{"contact-form-7":'. $is_cf7_active .', "media-library-assistant":'. $is_mla_active .'}',
118
+ 'tags' => 'portfolio personal cv designer ux artist artwork personal resume camera fashion lens modelling photographer photography videography wedding shoot grid ',
119
+ 'theme-builder' => false,
120
  'price' => $is_pro_active ? 'free' : 'pro',
121
  ],
122
  ],
126
  'pages' => 'home,about,services,token,pricing,contact,',
127
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
128
  'tags' => 'cryptocurrency bitcoin ethereum etherium blockchain protection nft coin corporate crypto dark startup token digital',
129
+ 'theme-builder' => false,
130
  'price' => $is_pro_active ? 'free' : 'pro',
131
  ],
132
  ],
136
  'pages' => 'home,about,services,procedures,gallery,pricing,contact,',
137
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
138
  'tags' => 'skincare skin care beauty clean face skin-beauty health wellness',
139
+ 'theme-builder' => false,
140
  'price' => $is_pro_active ? 'free' : 'pro',
141
  ],
142
  ],
146
  'pages' => 'home,practice,faq,reviews,attorney,contact,',
147
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
148
  'tags' => 'lawyers criminal defence lawyer firm divorce lawyer family lawyer law legal firm ',
149
+ 'theme-builder' => false,
150
  'price' => $is_pro_active ? 'free' : 'free',
151
  ],
152
  ],
156
  'pages' => 'home,about,services,doctors,contact,',
157
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
158
  'tags' => 'medical clinic dental health healthcare doctor therapist wellness treatment cure',
159
+ 'theme-builder' => false,
160
  'price' => $is_pro_active ? 'free' : 'pro',
161
  ],
162
  ],
166
  'pages' => 'home,about,services,contact,',
167
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
168
  'tags' => 'digital agency company corporate digital services office agency web marketing',
169
+ 'theme-builder' => false,
170
  'price' => $is_pro_active ? 'free' : 'free',
171
  ],
172
  'v2' => [
173
  'name' => 'Digital Agency',
174
  'pages' => 'home,about,services,pricing,contact,',
175
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
176
+ 'tags' => 'digital agency company corporate digital services office agency web marketing slider',
177
+ 'theme-builder' => false,
178
  'price' => $is_pro_active ? 'free' : 'pro',
179
  ],
180
  ],
184
  'pages' => 'home,about,gallery,services,contact,',
185
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
186
  'tags' => 'drone photography aerial photo ',
187
+ 'theme-builder' => false,
188
  'price' => $is_pro_active ? 'free' : 'pro',
189
  ],
190
  ],
193
  'name' => 'Architecture',
194
  'pages' => 'home,about,portfolio,services,faq,contact,',
195
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
196
+ 'tags' => 'architecture company slider interior design designer landscaping office zoning building slider',
197
+ 'theme-builder' => false,
198
  'price' => $is_pro_active ? 'free' : 'pro',
199
  ],
200
  ],
204
  'pages' => 'home,services,blog,faq,contact,',
205
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
206
  'tags' => 'fooddelivery fast food chain restaurant service hotel italian pasta pizza pizzeria burger recipes cooking',
207
+ 'theme-builder' => false,
208
  'price' => $is_pro_active ? 'free' : 'pro',
209
  ],
210
  ],
214
  'pages' => 'home,about,services,projects,pricing,contact,faq,',
215
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
216
  'tags' => 'construction architecture company interior office real estate',
217
+ 'theme-builder' => false,
218
  'price' => $is_pro_active ? 'free' : 'pro',
219
  ],
220
  ],
224
  'pages' => 'home,about,services,pricing,faq,contact,',
225
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
226
  'tags' => 'ittech advanced technology it technique computer windows technician digital',
227
+ 'theme-builder' => false,
228
  'price' => $is_pro_active ? 'free' : 'pro',
229
  ],
230
  'v2' => [
232
  'pages' => 'home,about,services,pricing,faq,contact,',
233
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
234
  'tags' => 'ittech advanced technology it technique computer windows technician digital',
235
+ 'theme-builder' => false,
236
  'price' => $is_pro_active ? 'free' : 'pro',
237
  ],
238
  ],
242
  'pages' => 'home,properties,about,services,faq,contact,',
243
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
244
  'tags' => 'real estate agency company construction property rentals estate sales developers',
245
+ 'theme-builder' => false,
246
  'price' => $is_pro_active ? 'free' : 'pro',
247
  ],
248
  ],
251
  'name' => 'Restaurant',
252
  'pages' => 'home,about,gallery,menu,contact,',
253
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
254
+ 'tags' => 'restaurant fastfood slider hotel italian pizza pizzeria pasta dinner fast food wine recipe recipes cooking slider',
255
+ 'theme-builder' => false,
256
  'price' => $is_pro_active ? 'free' : 'pro',
257
  ],
258
  ],
261
  'name' => 'Wine Bar & Restaurant',
262
  'pages' => 'home,story,wines,dishes,events,contact,',
263
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
264
+ 'tags' => 'wine bar winery beer drink alcohol pub events dish wines italian restaurant food slider recipes cooking recipes slider',
265
+ 'theme-builder' => false,
266
  'price' => $is_pro_active ? 'free' : 'free',
267
  ],
268
  ],
271
  'name' => 'Wedding',
272
  'pages' => 'home,about,services,blog,gallery,contact,',
273
  'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
274
+ 'tags' => 'wedding party event slider invitation planner slider photography photographer',
275
+ 'theme-builder' => false,
276
  'price' => $is_pro_active ? 'free' : 'pro',
277
  ],
278
  ],
admin/templates/wpr-templates-library-blocks.php CHANGED
@@ -58,6 +58,8 @@ class WPR_Templates_Library_Blocks {
58
  'back-to-top',
59
  'popup-trigger',
60
  'lottie-animations',
 
 
61
  ];
62
 
63
  foreach ($modules as $title => $slug) {
@@ -91,6 +93,10 @@ class WPR_Templates_Library_Blocks {
91
  $module_slug = $data[0];
92
  $blocks = WPR_Templates_Data::get_available_blocks();
93
 
 
 
 
 
94
  for ( $i=0; $i < count($blocks[$module_slug]); $i++ ) :
95
 
96
  $template_slug = array_keys($blocks[$module_slug])[$i];
@@ -138,7 +144,13 @@ class WPR_Templates_Library_Blocks {
138
  </div>
139
  </div>
140
 
141
- <?php exit();
 
 
 
 
 
 
142
  }
143
 
144
  }
58
  'back-to-top',
59
  'popup-trigger',
60
  'lottie-animations',
61
+ 'taxonomy-list',
62
+ 'elementor-template',
63
  ];
64
 
65
  foreach ($modules as $title => $slug) {
93
  $module_slug = $data[0];
94
  $blocks = WPR_Templates_Data::get_available_blocks();
95
 
96
+ if ( !isset($blocks[$module_slug]) ) {
97
+ continue;
98
+ }
99
+
100
  for ( $i=0; $i < count($blocks[$module_slug]); $i++ ) :
101
 
102
  $template_slug = array_keys($blocks[$module_slug])[$i];
144
  </div>
145
  </div>
146
 
147
+ <?php
148
+
149
+ $current_screen = get_current_screen();
150
+
151
+ if ( !(isset($current_screen) && 'royal-addons_page_wpr-premade-blocks' === $current_screen->id) ) {
152
+ exit;
153
+ }
154
  }
155
 
156
  }
admin/theme-builder.php CHANGED
@@ -7,7 +7,7 @@ use WprAddons\Classes\Utilities;
7
 
8
  // Register Menus
9
  function wpr_addons_add_theme_builder_menu() {
10
- add_submenu_page( 'wpr-addons', 'Header & Footer', 'Header & Footer', 'manage_options', 'wpr-theme-builder', 'wpr_addons_theme_builder_page' );
11
  }
12
  add_action( 'admin_menu', 'wpr_addons_add_theme_builder_menu' );
13
 
@@ -54,6 +54,22 @@ function wpr_addons_theme_builder_page() {
54
  <a href="?page=wpr-theme-builder&tab=wpr_tab_footer" data-title="Footer" class="nav-tab <?php echo $active_tab == 'wpr_tab_footer' ? 'nav-tab-active' : ''; ?>">
55
  <?php esc_html_e( 'Footer', 'wpr-addons' ); ?>
56
  </a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  </div>
58
 
59
  <?php if ( $active_tab == 'wpr_tab_header' ) : ?>
@@ -70,6 +86,32 @@ function wpr_addons_theme_builder_page() {
70
 
71
  <?php WPR_Templates_Loop::render_theme_builder_templates( 'footer' ); ?>
72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  <?php endif; ?>
74
 
75
  </form>
7
 
8
  // Register Menus
9
  function wpr_addons_add_theme_builder_menu() {
10
+ add_submenu_page( 'wpr-addons', 'Theme Builder', 'Theme Builder', 'manage_options', 'wpr-theme-builder', 'wpr_addons_theme_builder_page' );
11
  }
12
  add_action( 'admin_menu', 'wpr_addons_add_theme_builder_menu' );
13
 
54
  <a href="?page=wpr-theme-builder&tab=wpr_tab_footer" data-title="Footer" class="nav-tab <?php echo $active_tab == 'wpr_tab_footer' ? 'nav-tab-active' : ''; ?>">
55
  <?php esc_html_e( 'Footer', 'wpr-addons' ); ?>
56
  </a>
57
+ <a href="?page=wpr-theme-builder&tab=wpr_tab_archive" data-title="Archive" class="nav-tab <?php echo $active_tab == 'wpr_tab_archive' ? 'nav-tab-active' : ''; ?>">
58
+ <?php esc_html_e( 'Archive', 'wpr-addons' ); ?>
59
+ </a>
60
+ <a href="?page=wpr-theme-builder&tab=wpr_tab_single" data-title="Single" class="nav-tab <?php echo $active_tab == 'wpr_tab_single' ? 'nav-tab-active' : ''; ?>">
61
+ <?php esc_html_e( 'Single', 'wpr-addons' ); ?>
62
+ </a>
63
+ <a href="?page=wpr-theme-builder&tab=wpr_tab_my_templates" data-title="My Templates" class="nav-tab <?php echo $active_tab == 'wpr_tab_my_templates' ? 'nav-tab-active' : ''; ?>">
64
+ <?php esc_html_e( 'Saved Templates', 'wpr-addons' ); ?>
65
+ </a>
66
+
67
+ <a href="?page=wpr-theme-builder&tab=wpr_tab_product_archive" data-title="Product Archive" class="nav-tab <?php echo $active_tab == 'wpr_tab_product_archive' ? 'nav-tab-active' : ''; ?>">
68
+ <?php esc_html_e( 'Product Archive', 'wpr-addons' ); ?>
69
+ </a>
70
+ <a href="?page=wpr-theme-builder&tab=wpr_tab_product_single" data-title="Product Single" class="nav-tab <?php echo $active_tab == 'wpr_tab_product_single' ? 'nav-tab-active' : ''; ?>">
71
+ <?php esc_html_e( 'Product Single', 'wpr-addons' ); ?>
72
+ </a>
73
  </div>
74
 
75
  <?php if ( $active_tab == 'wpr_tab_header' ) : ?>
86
 
87
  <?php WPR_Templates_Loop::render_theme_builder_templates( 'footer' ); ?>
88
 
89
+ <?php elseif ( $active_tab == 'wpr_tab_archive' ) : ?>
90
+
91
+ <!-- Save Conditions -->
92
+ <input type="hidden" name="wpr_archive_conditions" id="wpr_archive_conditions" value="<?php echo esc_attr(get_option('wpr_archive_conditions', '[]')); ?>">
93
+
94
+ <?php WPR_Templates_Loop::render_theme_builder_templates( 'archive' ); ?>
95
+
96
+ <?php elseif ( $active_tab == 'wpr_tab_single' ) : ?>
97
+
98
+ <!-- Save Conditions -->
99
+ <input type="hidden" name="wpr_single_conditions" id="wpr_single_conditions" value="<?php echo esc_attr(get_option('wpr_single_conditions', '[]')); ?>">
100
+
101
+ <?php WPR_Templates_Loop::render_theme_builder_templates( 'single' ); ?>
102
+
103
+ <?php elseif ( $active_tab == 'wpr_tab_my_templates' ) : ?>
104
+
105
+ <?php Wpr_Templates_Loop::render_elementor_saved_templates(); ?>
106
+
107
+ <?php elseif ( $active_tab == 'wpr_tab_product_archive' || $active_tab == 'wpr_tab_product_single' ) : ?>
108
+ <div class="wpr-coming-soon">
109
+ <div>
110
+ <h3>WooCommerce is Comming Soon!</h3>
111
+ <p><strong>WooCommerce Builder</strong> and <strong>Templates Kit</strong> (Premade Sites) will be available very soon. You will be able to style and modify any part of WooCommerce Pages with the most advanced options available on the market. </p>
112
+ </div>
113
+ <img src="<?php echo WPR_ADDONS_ASSETS_URL .'img/woo-coming-soon.jpg' ?>" alt="">
114
+ </div>
115
  <?php endif; ?>
116
 
117
  </form>
assets/css/admin/plugin-options.css CHANGED
@@ -11,10 +11,31 @@
11
  }
12
 
13
  .wpr-settings-page-header {
 
 
 
 
 
 
 
14
  padding: 10px 30px 130px;
15
  background: #f6f6f6
16
  }
17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  .wpr-settings-page-header h1 {
19
  font-size: 42px;
20
  }
@@ -315,6 +336,11 @@
315
  background: #535353;
316
  }
317
 
 
 
 
 
 
318
  .wpr-my-templates-list .wpr-delete-template {
319
  background: #ff5a4b;
320
  }
@@ -340,8 +366,7 @@
340
  line-height: 30px;
341
  }
342
 
343
- .wpr-header-templates-list li.wpr-active-conditions-template,
344
- .wpr-footer-templates-list li.wpr-active-conditions-template {
345
  border-left: 5px solid #6A4BFF;
346
  background: #F6F7F7;
347
  }
@@ -742,6 +767,46 @@ input.wpr-user-template-title:focus {
742
  color: #a09f9f;
743
  }
744
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
745
  /*--------------------------------------------------------------
746
  == Freemius
747
  --------------------------------------------------------------*/
11
  }
12
 
13
  .wpr-settings-page-header {
14
+ display: -webkit-box;
15
+ display: -ms-flexbox;
16
+ display: flex;
17
+ -webkit-box-orient: vertical;
18
+ -webkit-box-direction: normal;
19
+ -ms-flex-direction: column;
20
+ flex-direction: column;
21
  padding: 10px 30px 130px;
22
  background: #f6f6f6
23
  }
24
 
25
+ .wpr-settings-page-header h1,
26
+ .wpr-settings-page-header p,
27
+ .wpr-settings-page-header .wpr-options-button,
28
+ .wpr-settings-page-header .wpr-user-template{
29
+ -webkit-box-ordinal-group: 3;
30
+ -ms-flex-order: 2;
31
+ order: 2;
32
+ }
33
+
34
+ .wpr-settings-page-header .wpr-options-button {
35
+ -ms-flex-item-align: start;
36
+ align-self: flex-start;
37
+ }
38
+
39
  .wpr-settings-page-header h1 {
40
  font-size: 42px;
41
  }
336
  background: #535353;
337
  }
338
 
339
+ .wpr-edit-template:focus {
340
+ -webkit-box-shadow: none !important;
341
+ box-shadow: none !important;
342
+ }
343
+
344
  .wpr-my-templates-list .wpr-delete-template {
345
  background: #ff5a4b;
346
  }
366
  line-height: 30px;
367
  }
368
 
369
+ .wpr-active-conditions-template {
 
370
  border-left: 5px solid #6A4BFF;
371
  background: #F6F7F7;
372
  }
767
  color: #a09f9f;
768
  }
769
 
770
+
771
+ /*--------------------------------------------------------------
772
+ == WooCommerce Comming Soon
773
+ --------------------------------------------------------------*/
774
+ .wpr-coming-soon {
775
+ padding: 0 30px;
776
+ background-color: #fff;
777
+ text-align: center;
778
+ }
779
+
780
+ .wpr-coming-soon div {
781
+ width: 500px;
782
+ margin: 0 auto 40px auto;
783
+ }
784
+
785
+ .wpr-coming-soon h3 {
786
+ font-size: 28px;
787
+ margin-bottom: 20px;
788
+ }
789
+
790
+ .wpr-coming-soon {
791
+ color: #555;
792
+ }
793
+
794
+ .wpr-coming-soon img {
795
+ max-width: 100%;
796
+ }
797
+
798
+ .wpr-button-lock {
799
+ width: 220px;
800
+ height: 50px;
801
+ -webkit-box-ordinal-group: 3;
802
+ -ms-flex-order: 2;
803
+ order: 2;
804
+ margin-top: -50px;
805
+ background: rgba(0,0,0,0.4);
806
+ border-radius: 5px;
807
+ }
808
+
809
+
810
  /*--------------------------------------------------------------
811
  == Freemius
812
  --------------------------------------------------------------*/
assets/css/admin/templates-kit.css CHANGED
@@ -23,8 +23,8 @@ img {
23
  -ms-flex-pack: justify;
24
  justify-content: space-between;
25
  background: #fff;
26
- -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.1);
27
- box-shadow: 0 0 5px 0 rgba(0,0,0,0.1);
28
  }
29
 
30
  .wpr-templates-kit-logo {
@@ -149,8 +149,8 @@ img {
149
 
150
  .wpr-templates-kit-page-title {
151
  text-align: center;
152
- margin-top: 50px;
153
- margin-bottom: 20px;
154
  }
155
 
156
  .wpr-templates-kit-page-title h1 {
@@ -250,6 +250,38 @@ img {
250
  text-transform: capitalize;
251
  }
252
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
253
  .wpr-templates-kit-single {
254
  display: none;
255
  }
@@ -270,10 +302,15 @@ img {
270
  left: 0;
271
  right: 0;
272
  z-index: 10;
273
- padding: 20px;
274
  background: #fff;
275
- -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,0.1);
276
- box-shadow: 0 0 3px 0 rgba(0,0,0,0.1);
 
 
 
 
 
277
  }
278
 
279
  .wpr-templates-kit-single .preview-demo .dashicons {
@@ -319,6 +356,8 @@ img {
319
 
320
  .wpr-import-kit-popup-wrap {
321
  display: none;
 
 
322
  }
323
 
324
  .wpr-import-kit-popup-wrap .overlay {
23
  -ms-flex-pack: justify;
24
  justify-content: space-between;
25
  background: #fff;
26
+ -webkit-box-shadow: 0 0 7px 0 rgba(0,0,0,0.2);
27
+ box-shadow: 0 0 7px 0 rgba(0,0,0,0.2);
28
  }
29
 
30
  .wpr-templates-kit-logo {
149
 
150
  .wpr-templates-kit-page-title {
151
  text-align: center;
152
+ margin-top: 65px;
153
+ margin-bottom: 35px;
154
  }
155
 
156
  .wpr-templates-kit-page-title h1 {
250
  text-transform: capitalize;
251
  }
252
 
253
+ .wpr-templates-kit-grid .grid-item footer span {
254
+ position: relative;
255
+ background-color: #5130ef;
256
+ color: #fff;
257
+ font-size: 12px;
258
+ padding: 2px 10px;
259
+ border-radius: 3px;
260
+ }
261
+
262
+ .wpr-templates-kit-grid .grid-item footer span:after {
263
+ content: "This Kit includes Theme Builder templates.";
264
+ display: none;
265
+ width: 125px;
266
+ position: absolute;
267
+ top: -50px;
268
+ left: 30%;
269
+ -webkit-transform: translateX(-50%);
270
+ -ms-transform: translateX(-50%);
271
+ transform: translateX(-50%);
272
+ padding: 7px 10px;
273
+ border-radius: 3px;
274
+ background-color: #333;
275
+ font-size: 12px;
276
+ line-height: 15px;
277
+ -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.4);
278
+ box-shadow: 0 0 5px rgba(0,0,0,0.4);
279
+ }
280
+
281
+ .wpr-templates-kit-grid .grid-item footer span:hover:after {
282
+ display: block;
283
+ }
284
+
285
  .wpr-templates-kit-single {
286
  display: none;
287
  }
302
  left: 0;
303
  right: 0;
304
  z-index: 10;
305
+ padding: 25px 30px;
306
  background: #fff;
307
+ -webkit-box-shadow: 0 0 7px 0 rgba(0,0,0,0.2);
308
+ box-shadow: 0 0 7px 0 rgba(0,0,0,0.2);
309
+ }
310
+
311
+ .action-buttons-wrap a,
312
+ .action-buttons-wrap button {
313
+ padding: 5px 25px !important;
314
  }
315
 
316
  .wpr-templates-kit-single .preview-demo .dashicons {
356
 
357
  .wpr-import-kit-popup-wrap {
358
  display: none;
359
+ position: relative;
360
+ z-index: 9999999;
361
  }
362
 
363
  .wpr-import-kit-popup-wrap .overlay {
assets/css/editor.css CHANGED
@@ -277,8 +277,8 @@
277
  color: red;
278
  }
279
 
280
- /* Help Button */
281
- #elementor-panel__editor__help__link[href^="https://royal-elementor-addons.com/contact/"] {
282
  display: inline-block;
283
  padding: 12px 35px;
284
  font-size: 13px;
@@ -294,22 +294,22 @@
294
  transition: all 0.2s ease-in;
295
  }
296
 
297
- #elementor-panel__editor__help__link[href^="https://royal-elementor-addons.com/contact/"]:hover {
298
  color: #fff;
299
  background: #6A4BFF;
300
  }
301
 
302
- #elementor-panel__editor__help__link[href^="https://royal-elementor-addons.com/contact/"] i {
303
  color: #fff;
304
  font-size: 14px;
305
  vertical-align: top;
306
  }
307
 
308
- #elementor-panel__editor__help__link[href^="https://royal-elementor-addons.com/contact/"]:hover i {
309
  color: #fff;
310
  }
311
 
312
- #elementor-panel__editor__help__link[href^="https://royal-elementor-addons.com/contact/"]:hover i:before {
313
  content: '\e942' !important;
314
  }
315
 
@@ -486,18 +486,21 @@
486
  padding: 0;
487
  }
488
 
489
- .elementor-control-wpr_library_buttons .elementor-control-raw-html {
 
 
 
 
 
490
  display: -webkit-box;
491
  display: -ms-flexbox;
492
  display: flex;
493
  -webkit-box-pack: center;
494
  -ms-flex-pack: center;
495
  justify-content: center;
496
- padding: 0 10px 20px 10px;
497
- border-bottom: 1px solid #efefef;
498
  }
499
 
500
- .elementor-control-wpr_library_buttons a {
501
  -webkit-box-flex: 1;
502
  -ms-flex-positive: 1;
503
  flex-grow: 1;
@@ -510,17 +513,25 @@
510
  text-overflow: ellipsis;
511
  text-align: center;
512
  }
513
- .elementor-control-wpr_library_buttons a:first-child {
514
  background-color: #1CB4E4;
515
  color: #fff;
516
  margin-right: 3px;
517
  }
518
- .elementor-control-wpr_library_buttons a:last-child {
519
  margin-left: 3px;
520
  background-color: #6A65FF;
521
  color: #fff;
522
  }
523
 
 
 
 
 
 
 
 
 
524
 
525
  /*--------------------------------------------------------------
526
  == Free/Pro Options
@@ -549,8 +560,9 @@
549
  border: none !important;
550
  }
551
 
552
- .elementor-control-slider_section_pro_notice {
553
  margin-top: -16px;
 
554
  }
555
 
556
  .elementor-control-layout_select_pro_notice + div,
@@ -615,7 +627,10 @@
615
  .elementor-control.elementor-control-popup_show_again_delay_pro_notice,
616
  .elementor-control.elementor-control-group_popup_settings_pro_notice,
617
  .elementor-control.elementor-control-which_particle_pro_notice,
618
- .elementor-control.elementor-control-paralax_repeater_pro_notice {
 
 
 
619
  padding-bottom: 0 !important;
620
  }
621
 
@@ -665,4 +680,82 @@
665
  .elementor-control-pagination_type_pro_notice .wpr-pro-notice {
666
  border-top: none !important;
667
  border-bottom: none !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
668
  }
277
  color: red;
278
  }
279
 
280
+ /* Help Button - select with referrals - [href^="https://royal-elementor-addons.com/contact/"] */
281
+ #elementor-panel__editor__help__link[href^="https://wordpress.org/support/plugin/royal-elementor-addons/"] {
282
  display: inline-block;
283
  padding: 12px 35px;
284
  font-size: 13px;
294
  transition: all 0.2s ease-in;
295
  }
296
 
297
+ #elementor-panel__editor__help__link[href^="https://wordpress.org/support/plugin/royal-elementor-addons/"]:hover {
298
  color: #fff;
299
  background: #6A4BFF;
300
  }
301
 
302
+ #elementor-panel__editor__help__link[href^="https://wordpress.org/support/plugin/royal-elementor-addons/"] i {
303
  color: #fff;
304
  font-size: 14px;
305
  vertical-align: top;
306
  }
307
 
308
+ #elementor-panel__editor__help__link[href^="https://wordpress.org/support/plugin/royal-elementor-addons/"]:hover i {
309
  color: #fff;
310
  }
311
 
312
+ #elementor-panel__editor__help__link[href^="https://wordpress.org/support/plugin/royal-elementor-addons/"]:hover i:before {
313
  content: '\e942' !important;
314
  }
315
 
486
  padding: 0;
487
  }
488
 
489
+ .elementor-control-wpr_library_buttons .elementor-control-raw-html {
490
+ padding: 0 10px 10px 10px;
491
+ border-bottom: 1px solid #efefef;
492
+ }
493
+
494
+ .elementor-control-wpr_library_buttons .elementor-control-raw-html div {
495
  display: -webkit-box;
496
  display: -ms-flexbox;
497
  display: flex;
498
  -webkit-box-pack: center;
499
  -ms-flex-pack: center;
500
  justify-content: center;
 
 
501
  }
502
 
503
+ .elementor-control-wpr_library_buttons .elementor-control-raw-html div a {
504
  -webkit-box-flex: 1;
505
  -ms-flex-positive: 1;
506
  flex-grow: 1;
513
  text-overflow: ellipsis;
514
  text-align: center;
515
  }
516
+ .elementor-control-wpr_library_buttons .elementor-control-raw-html div a:first-child {
517
  background-color: #1CB4E4;
518
  color: #fff;
519
  margin-right: 3px;
520
  }
521
+ .elementor-control-wpr_library_buttons .elementor-control-raw-html div a:last-child {
522
  margin-left: 3px;
523
  background-color: #6A65FF;
524
  color: #fff;
525
  }
526
 
527
+ .elementor-control-wpr_library_buttons .elementor-control-raw-html > a {
528
+ display: block;
529
+ margin-top: 10px;
530
+ line-height: 20px;
531
+ color: #777;
532
+ border: none !important;
533
+ }
534
+
535
 
536
  /*--------------------------------------------------------------
537
  == Free/Pro Options
560
  border: none !important;
561
  }
562
 
563
+ #elementor-controls .elementor-control-slider_section_pro_notice {
564
  margin-top: -16px;
565
+ padding-bottom: 0 !important;
566
  }
567
 
568
  .elementor-control-layout_select_pro_notice + div,
627
  .elementor-control.elementor-control-popup_show_again_delay_pro_notice,
628
  .elementor-control.elementor-control-group_popup_settings_pro_notice,
629
  .elementor-control.elementor-control-which_particle_pro_notice,
630
+ .elementor-control.elementor-control-paralax_repeater_pro_notice,
631
+ .elementor-control.elementor-control-opnepage_pro_notice,
632
+ .elementor-control.elementor-control-timeline_repeater_pro_notice,
633
+ .elementor-control.elementor-control-limit_grid_items_pro_notice {
634
  padding-bottom: 0 !important;
635
  }
636
 
680
  .elementor-control-pagination_type_pro_notice .wpr-pro-notice {
681
  border-top: none !important;
682
  border-bottom: none !important;
683
+ }
684
+
685
+ .elementor-control-pro_features_section .elementor-section-toggle,
686
+ .elementor-control-pro_features_section .elementor-section-title {
687
+ color: #f54;
688
+ }
689
+
690
+ .elementor-control-pro_features_section .elementor-section-title {
691
+ line-height: 20px;
692
+ }
693
+ .elementor-control-pro_features_section .elementor-section-title .dashicons {
694
+ line-height: 20px;
695
+ font-size: 13px;
696
+ }
697
+
698
+ .wpr-pro-features-list {
699
+ text-align: center;
700
+ }
701
+
702
+ .wpr-pro-features-list ul {
703
+ text-align: left;
704
+ }
705
+
706
+ .wpr-pro-features-list ul li {
707
+ position: relative;
708
+ line-height: 22px;
709
+ padding-left: 20px;
710
+ }
711
+
712
+ .wpr-pro-features-list ul li::before {
713
+ content: '.';
714
+ font-size: 38px;
715
+ position: absolute;
716
+ top: -11px;
717
+ left: 0;
718
+ }
719
+
720
+ .wpr-pro-features-list ul + a {
721
+ display: inline-block;
722
+ background-color: #f54;
723
+ color: #fff;
724
+ margin: 15px 15px 10px 0;
725
+ padding: 7px 12px;
726
+ border-radius: 3px;
727
+ }
728
+
729
+ .wpr-pro-features-list ul + a:hover {
730
+ color: #fff;
731
+ }
732
+
733
+ /* Video Tutorial Link */
734
+ .elementor-control[class*="video_tutorial"] {
735
+ padding-top: 0 !important;
736
+ padding-bottom: 5px !important;
737
+ }
738
+
739
+ .elementor-control[class*="video_tutorial"] a {
740
+ line-height: 16px;
741
+ font-size: 12px;
742
+ }
743
+
744
+ .elementor-control[class*="video_tutorial"] a .dashicons {
745
+ font-size: 16px;
746
+ }
747
+
748
+
749
+ /*--------------------------------------------------------------
750
+ == Elementor Search Notice
751
+ --------------------------------------------------------------*/
752
+ .wpr-elementor-search-notice {
753
+ background: #fff;
754
+ font-size: 13px;
755
+ padding: 20px;
756
+ line-height: 18px;
757
+ margin: 10px;
758
+ border-left: 3px solid #71d7f7;
759
+ -webkit-box-shadow: 0 1px 4px 0 rgb(0 0 0 / 7%);
760
+ box-shadow: 0 1px 4px 0 rgb(0 0 0 / 7%);
761
  }
assets/css/editor.min.css CHANGED
@@ -120,7 +120,8 @@
120
  .elementor-control-tax2_transition_duration,
121
  .elementor-control-filters_transition_duration,
122
  .elementor-control-pagination_older_text,
123
- .elementor-control-tooltip_position {
 
124
  padding-top: 15px !important;
125
  }
126
 
@@ -552,8 +553,12 @@
552
  --------------------------------------------------------------*/
553
  .editor-wpr-preview-update {
554
  margin: 0;
 
 
555
  display: flex;
556
- justify-content: space-between;
 
 
557
  }
558
 
559
  .editor-wpr-preview-update button {
@@ -659,7 +664,12 @@
659
  .elementor-control.elementor-control-paralax_repeater_pro_notice,
660
  .elementor-control.elementor-control-opnepage_pro_notice,
661
  .elementor-control.elementor-control-timeline_repeater_pro_notice,
662
- .elementor-control.elementor-control-limit_grid_items_pro_notice {
 
 
 
 
 
663
  padding-bottom: 0 !important;
664
  }
665
 
@@ -695,13 +705,19 @@
695
  .elementor-control-sharing_columns_pro_notice .wpr-pro-notice,
696
  .elementor-control-popup_trigger_pro_notice .wpr-pro-notice,
697
  .elementor-control-popup_show_again_delay_pro_notice .wpr-pro-notice,
698
- .elementor-control-group_popup_settings_pro_notice .wpr-pro-notice {
 
 
 
 
 
699
  border-bottom: none !important;
700
  }
701
 
702
  /* Both */
703
  .elementor-control.elementor-control-pagination_type_pro_notice,
704
- .elementor-control.elementor-control-tooltip_trigger_pro_notice {
 
705
  padding-top: 0 !important;
706
  padding-bottom: 0 !important;
707
  }
@@ -775,6 +791,36 @@
775
  }
776
 
777
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
778
  /*--------------------------------------------------------------
779
  == Elementor Search Notice
780
  --------------------------------------------------------------*/
@@ -787,4 +833,17 @@
787
  border-left: 3px solid #71d7f7;
788
  -webkit-box-shadow: 0 1px 4px 0 rgb(0 0 0 / 7%);
789
  box-shadow: 0 1px 4px 0 rgb(0 0 0 / 7%);
 
 
 
 
 
 
 
 
 
 
 
 
 
790
  }
120
  .elementor-control-tax2_transition_duration,
121
  .elementor-control-filters_transition_duration,
122
  .elementor-control-pagination_older_text,
123
+ .elementor-control-tooltip_position,
124
+ .elementor-control-post_info_comments_text_1 {
125
  padding-top: 15px !important;
126
  }
127
 
553
  --------------------------------------------------------------*/
554
  .editor-wpr-preview-update {
555
  margin: 0;
556
+ display: -webkit-box;
557
+ display: -ms-flexbox;
558
  display: flex;
559
+ -webkit-box-pack: justify;
560
+ -ms-flex-pack: justify;
561
+ justify-content: space-between;
562
  }
563
 
564
  .editor-wpr-preview-update button {
664
  .elementor-control.elementor-control-paralax_repeater_pro_notice,
665
  .elementor-control.elementor-control-opnepage_pro_notice,
666
  .elementor-control.elementor-control-timeline_repeater_pro_notice,
667
+ .elementor-control.elementor-control-limit_grid_items_pro_notice,
668
+ .elementor-control.elementor-control-post_nav_layout_pro_notice,
669
+ .elementor-control.elementor-control-author_name_links_to_pro_notice,
670
+ .elementor-control.elementor-control-author_title_links_to_pro_notice,
671
+ .elementor-control.elementor-control-comments_form_layout_pro_notice,
672
+ .elementor-control.elementor-control-sharing_repeater_pro_notice {
673
  padding-bottom: 0 !important;
674
  }
675
 
705
  .elementor-control-sharing_columns_pro_notice .wpr-pro-notice,
706
  .elementor-control-popup_trigger_pro_notice .wpr-pro-notice,
707
  .elementor-control-popup_show_again_delay_pro_notice .wpr-pro-notice,
708
+ .elementor-control-group_popup_settings_pro_notice .wpr-pro-notice,
709
+ .elementor-control-post_nav_layout_pro_notice .wpr-pro-notice,
710
+ .elementor-control-author_name_links_to_pro_notice .wpr-pro-notice,
711
+ .elementor-control-author_title_links_to_pro_notice .wpr-pro-notice,
712
+ .elementor-control-comments_form_layout_pro_notice .wpr-pro-notice,
713
+ .elementor-control-sharing_repeater_pro_notice .wpr-pro-notice {
714
  border-bottom: none !important;
715
  }
716
 
717
  /* Both */
718
  .elementor-control.elementor-control-pagination_type_pro_notice,
719
+ .elementor-control.elementor-control-tooltip_trigger_pro_notice,
720
+ .elementor-control.elementor-control-post_info_select_pro_notice {
721
  padding-top: 0 !important;
722
  padding-bottom: 0 !important;
723
  }
791
  }
792
 
793
 
794
+ /*--------------------------------------------------------------
795
+ == Theme Builder Widgets
796
+ --------------------------------------------------------------*/
797
+ #elementor-panel-categories {
798
+ display: -webkit-box;
799
+ display: -ms-flexbox;
800
+ display: flex;
801
+ -webkit-box-orient: vertical;
802
+ -webkit-box-direction: normal;
803
+ -ms-flex-direction: column;
804
+ flex-direction: column;
805
+ }
806
+
807
+ #elementor-panel-categories > div {
808
+ -webkit-box-ordinal-group: 3;
809
+ -ms-flex-order: 2;
810
+ order: 2;
811
+ }
812
+
813
+ #elementor-panel-category-wpr-theme-builder-widgets {
814
+ -webkit-box-ordinal-group: 2 !important;
815
+ -ms-flex-order: 1 !important;
816
+ order: 1 !important;
817
+ }
818
+
819
+ .elementor-editor-wpr-theme-builder #elementor-panel-footer-saver-preview {
820
+ display: none !important;
821
+ }
822
+
823
+
824
  /*--------------------------------------------------------------
825
  == Elementor Search Notice
826
  --------------------------------------------------------------*/
833
  border-left: 3px solid #71d7f7;
834
  -webkit-box-shadow: 0 1px 4px 0 rgb(0 0 0 / 7%);
835
  box-shadow: 0 1px 4px 0 rgb(0 0 0 / 7%);
836
+ }
837
+
838
+
839
+ /*--------------------------------------------------------------
840
+ == Debug
841
+ --------------------------------------------------------------*/
842
+ pre.xdebug-var-dump {
843
+ position: absolute;
844
+ z-index: 999999;
845
+ background: #fff;
846
+ border: 2px solid #000;
847
+ padding: 20px;
848
+ left: 300px;
849
  }
assets/css/frontend.css CHANGED
@@ -113,6 +113,7 @@ svg:not(:root) {
113
  button,
114
  input {
115
  overflow: visible;
 
116
  }
117
 
118
  button,
@@ -142,6 +143,15 @@ button:-moz-focusring,
142
  outline: none;
143
  }
144
 
 
 
 
 
 
 
 
 
 
145
  legend {
146
  -webkit-box-sizing: border-box;
147
  box-sizing: border-box;
@@ -160,6 +170,7 @@ progress {
160
 
161
  textarea {
162
  overflow: auto;
 
163
  }
164
 
165
  [type="checkbox"],
@@ -167,23 +178,27 @@ textarea {
167
  -webkit-box-sizing: border-box;
168
  box-sizing: border-box;
169
  padding: 0;
 
170
  }
171
 
172
  [type="number"]::-webkit-inner-spin-button,
173
  [type="number"]::-webkit-outer-spin-button {
174
  height: auto;
 
175
  }
176
 
177
  [type="search"] {
178
  -webkit-appearance: none !important;
179
  -moz-appearance: none !important;
180
  appearance: none !important;
 
181
  }
182
 
183
  [type="search"]:focus {
184
  -webkit-appearance: none !important;
185
  -moz-appearance: none !important;
186
  appearance: none !important;
 
187
  }
188
 
189
  [type="search"] {
@@ -959,7 +974,19 @@ div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after
959
  /*--------------------------------------------------------------
960
  == Single Post Elements
961
  --------------------------------------------------------------*/
 
 
 
 
 
 
 
 
 
 
 
962
 
 
963
  .wpr-featured-media-image {
964
  position: relative;
965
  display: inline-block;
@@ -979,16 +1006,20 @@ div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after
979
  display: inline-block;
980
  }
981
 
982
- .wpr-fm-image-caption-hover [data-caption="standard"] .wpr-featured-media-caption,
983
- .wpr-fm-image-caption-hover [data-caption="gallery"] .wpr-featured-media-caption {
 
 
984
  opacity: 0;
985
  -webkit-transition-property: opacity;
986
  -o-transition-property: opacity;
987
  transition-property: opacity;
988
  }
989
 
990
- .wpr-fm-image-caption-hover [data-caption="standard"]:hover .wpr-featured-media-caption,
991
- .wpr-fm-image-caption-hover [data-caption="gallery"]:hover .wpr-featured-media-caption {
 
 
992
  opacity: 1;
993
  }
994
 
@@ -1119,6 +1150,18 @@ div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after
1119
  display: flex;
1120
  }
1121
 
 
 
 
 
 
 
 
 
 
 
 
 
1122
  .wpr-post-navigation-wrap>div:last-child {
1123
  margin-right: 0 !important;
1124
  }
@@ -1144,6 +1187,7 @@ div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after
1144
  .wpr-post-nav-fixed.wpr-post-navigation img {
1145
  position: absolute;
1146
  top: 0;
 
1147
  }
1148
 
1149
  .wpr-post-nav-fixed.wpr-post-nav-prev {
@@ -1226,6 +1270,9 @@ div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after
1226
  display: -webkit-box;
1227
  display: -ms-flexbox;
1228
  display: flex;
 
 
 
1229
  }
1230
 
1231
  .wpr-post-nav-next a {
@@ -1239,6 +1286,9 @@ div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after
1239
  }
1240
 
1241
  .wpr-post-nav-labels h5 {
 
 
 
1242
  overflow: hidden;
1243
  white-space: nowrap;
1244
  -ms-text-overflow: ellipsis;
@@ -1246,17 +1296,21 @@ div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after
1246
  text-overflow: ellipsis;
1247
  }
1248
 
1249
- .wpr-post-nav-next {
1250
- text-align: right;
 
 
1251
  }
1252
 
1253
- .wpr-post-navigation i {
1254
- font-size: 20px;
1255
- text-align: center;
 
 
1256
  }
1257
 
1258
- .wpr-post-nav-labels span {
1259
- display: inline-block;
1260
  }
1261
 
1262
  .wpr-post-nav-dividers {
@@ -1303,6 +1357,11 @@ div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after
1303
 
1304
 
1305
  /* Post Info */
 
 
 
 
 
1306
  .wpr-post-info li {
1307
  position: relative;
1308
  }
@@ -1319,23 +1378,30 @@ div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after
1319
  padding-bottom: 0 !important;
1320
  }
1321
 
 
 
 
 
 
1322
  .wpr-post-info li:after {
1323
  content: ' ';
1324
  display: inline-block;
1325
  position: absolute;
1326
- top: 50%;
1327
- -webkit-transform: translateY(-50%);
1328
- -ms-transform: translateY(-50%);
1329
- transform: translateY(-50%);
1330
  }
1331
 
1332
  .wpr-post-info li:last-child:after {
1333
  display: none;
1334
  }
1335
 
1336
- .wpr-post-info li .wpr-post-info-text {
1337
- display: inline-block;
1338
- text-align: left !important;
 
 
 
 
 
 
1339
  }
1340
 
1341
  .wpr-post-info-align-left .wpr-post-info-vertical li:after {
@@ -1359,7 +1425,8 @@ div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after
1359
 
1360
  .wpr-post-info-author img {
1361
  display: inline-block;
1362
- margin-right: 10px
 
1363
  }
1364
 
1365
  .wpr-post-info-custom-field a,
@@ -1369,12 +1436,19 @@ div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after
1369
 
1370
 
1371
  /* Post Comments */
 
 
 
 
 
 
1372
  .wpr-comment-avatar {
1373
  float: left;
1374
  overflow: hidden;
1375
  }
1376
 
1377
  .wpr-comment-avatar img {
 
1378
  position: static !important;
1379
  }
1380
 
@@ -1452,7 +1526,11 @@ div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after
1452
  flex-direction: column;
1453
  }
1454
 
1455
- .wpr-contact-form-fields {
 
 
 
 
1456
  display: -webkit-box;
1457
  display: -ms-flexbox;
1458
  display: flex;
@@ -1462,32 +1540,35 @@ div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after
1462
  margin-right: 0 !important;
1463
  }
1464
 
1465
- .wpr-cf-style-1 .wpr-contact-form-fields,
1466
- .wpr-cf-style-4 .wpr-contact-form-fields {
1467
  display: block;
1468
  }
1469
 
1470
- .wpr-comment-form .wpr-contact-form-fields>div {
1471
  width: 100%;
1472
  }
1473
 
1474
- .wpr-cf-style-2 .wpr-contact-form-fields,
1475
- .wpr-cf-style-5 .wpr-contact-form-fields {
 
1476
  display: block;
1477
- width: 50%;
1478
  }
1479
 
1480
- .wpr-cf-style-2 .wpr-contact-form-fields>div,
1481
- .wpr-cf-style-5 .wpr-contact-form-fields>div {
 
1482
  margin-right: 0 !important;
1483
  }
1484
 
1485
- .wpr-cf-style-4.wpr-comment-form .wpr-comment-form-text,
1486
- .wpr-cf-style-5.wpr-comment-form .wpr-comment-form-text,
1487
- .wpr-cf-style-6.wpr-comment-form .wpr-comment-form-text {
 
1488
  -webkit-box-ordinal-group: 0;
1489
- -ms-flex-order: -1;
1490
- order: -1;
1491
  }
1492
 
1493
  .wpr-submit-comment {
@@ -2135,6 +2216,7 @@ div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after
2135
  display: inline-block;
2136
  }
2137
 
 
2138
  .wpr-grid-pagination svg {
2139
  vertical-align: middle;
2140
  }
@@ -2154,12 +2236,33 @@ div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after
2154
  text-align: center;
2155
  }
2156
 
 
 
 
 
 
 
 
 
 
2157
  .wpr-grid-pagination-left .wpr-grid-pagination {
2158
  text-align: left;
 
 
 
 
 
 
2159
  }
2160
 
2161
  .wpr-grid-pagination-right .wpr-grid-pagination {
2162
  text-align: right;
 
 
 
 
 
 
2163
  }
2164
 
2165
  .wpr-grid-pagination-infinite-scroll {
@@ -2178,8 +2281,7 @@ div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after
2178
 
2179
  .wpr-grid-pagi-left-arrows,
2180
  .wpr-grid-pagi-right-arrows,
2181
- .wpr-grid-pagination>div>a,
2182
- .wpr-grid-pagination>div>span {
2183
  display: inline-block;
2184
  }
2185
 
@@ -2189,6 +2291,24 @@ div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after
2189
  margin-right: 0 !important;
2190
  }
2191
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2192
  @media screen and ( max-width: 767px) {
2193
  .wpr-grid-pagination a,
2194
  .wpr-grid-pagination span {
@@ -2198,8 +2318,8 @@ div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after
2198
  .wpr-grid-pagination a>span {
2199
  display: none;
2200
  }
2201
- .wpr-grid-pagination span i,
2202
- .wpr-grid-pagination a i {
2203
  padding: 0 !important;
2204
  }
2205
  }
@@ -5637,7 +5757,6 @@ body:not(.elementor-editor-active) .wpr-template-popup {
5637
 
5638
 
5639
  /* Text */
5640
-
5641
  .wpr-pricing-table-text {
5642
  font-size: 13px;
5643
  line-height: 1.3;
@@ -5645,14 +5764,13 @@ body:not(.elementor-editor-active) .wpr-template-popup {
5645
 
5646
 
5647
  /* Divider */
5648
-
5649
  .wpr-pricing-table-divider {
5650
  margin: 0 auto;
 
5651
  }
5652
 
5653
 
5654
  /* Animation */
5655
-
5656
  .wpr-pricing-table-animation-slide {
5657
  -webkit-transition-property: margin;
5658
  -o-transition-property: margin;
@@ -5998,7 +6116,9 @@ body:not(.elementor-editor-active) .wpr-template-popup {
5998
 
5999
 
6000
  /* Icon */
 
6001
  .wpr-testimonial-content .wpr-testimonial-icon {
 
6002
  width: 100%;
6003
  z-index: 1;
6004
  }
@@ -11042,13 +11162,92 @@ body:not(.elementor-editor-active) .wpr-template-popup {
11042
 
11043
 
11044
  /*--------------------------------------------------------------
11045
- == Lottie Animations
11046
- --------------------------------------------------------------*/
11047
  .wpr-lottie-animations-wrapper {
11048
  min-height: 1px;
11049
  }
11050
 
11051
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11052
  /*--------------------------------------------------------------
11053
  == Section Extensions
11054
  --------------------------------------------------------------*/
113
  button,
114
  input {
115
  overflow: visible;
116
+ outline: 0;
117
  }
118
 
119
  button,
143
  outline: none;
144
  }
145
 
146
+ [type=button]:focus,
147
+ [type=button]:hover,
148
+ [type=submit]:focus,
149
+ [type=submit]:hover,
150
+ button:focus,
151
+ button:hover {
152
+ outline: 0;
153
+ }
154
+
155
  legend {
156
  -webkit-box-sizing: border-box;
157
  box-sizing: border-box;
170
 
171
  textarea {
172
  overflow: auto;
173
+ outline: 0;
174
  }
175
 
176
  [type="checkbox"],
178
  -webkit-box-sizing: border-box;
179
  box-sizing: border-box;
180
  padding: 0;
181
+ outline: 0;
182
  }
183
 
184
  [type="number"]::-webkit-inner-spin-button,
185
  [type="number"]::-webkit-outer-spin-button {
186
  height: auto;
187
+ outline: 0;
188
  }
189
 
190
  [type="search"] {
191
  -webkit-appearance: none !important;
192
  -moz-appearance: none !important;
193
  appearance: none !important;
194
+ outline: 0;
195
  }
196
 
197
  [type="search"]:focus {
198
  -webkit-appearance: none !important;
199
  -moz-appearance: none !important;
200
  appearance: none !important;
201
+ outline: 0;
202
  }
203
 
204
  [type="search"] {
974
  /*--------------------------------------------------------------
975
  == Single Post Elements
976
  --------------------------------------------------------------*/
977
+ .wpr-post-title,
978
+ .wpr-archive-title,
979
+ .wpr-author-box-name,
980
+ .wpr-author-box-title {
981
+ margin: 0;
982
+ }
983
+
984
+ .wpr-archive-title:after {
985
+ content: ' ';
986
+ display: block;
987
+ }
988
 
989
+ /* Featured Media */
990
  .wpr-featured-media-image {
991
  position: relative;
992
  display: inline-block;
1006
  display: inline-block;
1007
  }
1008
 
1009
+ /* [data-caption="standard"],
1010
+ [data-caption="gallery"]*/
1011
+ .wpr-fm-image-caption-hover .wpr-featured-media-caption,
1012
+ .wpr-fm-image-caption-hover .wpr-featured-media-caption {
1013
  opacity: 0;
1014
  -webkit-transition-property: opacity;
1015
  -o-transition-property: opacity;
1016
  transition-property: opacity;
1017
  }
1018
 
1019
+ /* [data-caption="standard"],
1020
+ [data-caption="gallery"] */
1021
+ .wpr-fm-image-caption-hover:hover .wpr-featured-media-caption,
1022
+ .wpr-fm-image-caption-hover:hover .wpr-featured-media-caption {
1023
  opacity: 1;
1024
  }
1025
 
1150
  display: flex;
1151
  }
1152
 
1153
+ .wpr-posts-navigation-svg-wrapper {
1154
+ display: -webkit-box;
1155
+ display: -ms-flexbox;
1156
+ display: flex;
1157
+ -webkit-box-align: center;
1158
+ -ms-flex-align: center;
1159
+ align-items: center;
1160
+ -webkit-box-pack: center;
1161
+ -ms-flex-pack: center;
1162
+ justify-content: center;
1163
+ }
1164
+
1165
  .wpr-post-navigation-wrap>div:last-child {
1166
  margin-right: 0 !important;
1167
  }
1187
  .wpr-post-nav-fixed.wpr-post-navigation img {
1188
  position: absolute;
1189
  top: 0;
1190
+ max-width: none;
1191
  }
1192
 
1193
  .wpr-post-nav-fixed.wpr-post-nav-prev {
1270
  display: -webkit-box;
1271
  display: -ms-flexbox;
1272
  display: flex;
1273
+ -webkit-box-align: center;
1274
+ -ms-flex-align: center;
1275
+ align-items: center;
1276
  }
1277
 
1278
  .wpr-post-nav-next a {
1286
  }
1287
 
1288
  .wpr-post-nav-labels h5 {
1289
+ display: -webkit-box;
1290
+ display: -ms-flexbox;
1291
+ display: flex;
1292
  overflow: hidden;
1293
  white-space: nowrap;
1294
  -ms-text-overflow: ellipsis;
1296
  text-overflow: ellipsis;
1297
  }
1298
 
1299
+ .wpr-post-nav-labels span {
1300
+ display: -webkit-box;
1301
+ display: -ms-flexbox;
1302
+ display: flex;
1303
  }
1304
 
1305
+ .wpr-post-nav-next .wpr-post-nav-labels > span,
1306
+ .wpr-post-nav-next .wpr-post-nav-labels h5 {
1307
+ -webkit-box-pack: end;
1308
+ -ms-flex-pack: end;
1309
+ justify-content: flex-end;
1310
  }
1311
 
1312
+ .wpr-post-navigation i {
1313
+ text-align: center;
1314
  }
1315
 
1316
  .wpr-post-nav-dividers {
1357
 
1358
 
1359
  /* Post Info */
1360
+ .wpr-post-info {
1361
+ padding: 0;
1362
+ list-style: none;
1363
+ }
1364
+
1365
  .wpr-post-info li {
1366
  position: relative;
1367
  }
1378
  padding-bottom: 0 !important;
1379
  }
1380
 
1381
+ .wpr-post-info li .wpr-post-info-text {
1382
+ display: inline-block;
1383
+ text-align: left !important;
1384
+ }
1385
+
1386
  .wpr-post-info li:after {
1387
  content: ' ';
1388
  display: inline-block;
1389
  position: absolute;
 
 
 
 
1390
  }
1391
 
1392
  .wpr-post-info li:last-child:after {
1393
  display: none;
1394
  }
1395
 
1396
+ .wpr-post-info-horizontal li:after {
1397
+ top: 50%;
1398
+ -webkit-transform: translateY(-50%);
1399
+ -ms-transform: translateY(-50%);
1400
+ transform: translateY(-50%);
1401
+ }
1402
+
1403
+ .wpr-post-info-vertical li:after {
1404
+ bottom: 0;
1405
  }
1406
 
1407
  .wpr-post-info-align-left .wpr-post-info-vertical li:after {
1425
 
1426
  .wpr-post-info-author img {
1427
  display: inline-block;
1428
+ margin-right: 10px;
1429
+ vertical-align: middle;
1430
  }
1431
 
1432
  .wpr-post-info-custom-field a,
1436
 
1437
 
1438
  /* Post Comments */
1439
+ .wpr-comments-list,
1440
+ .wpr-comments-list ul.children {
1441
+ list-style: none;
1442
+ padding: 0;
1443
+ }
1444
+
1445
  .wpr-comment-avatar {
1446
  float: left;
1447
  overflow: hidden;
1448
  }
1449
 
1450
  .wpr-comment-avatar img {
1451
+ margin: 0 !important;
1452
  position: static !important;
1453
  }
1454
 
1526
  flex-direction: column;
1527
  }
1528
 
1529
+ .wpr-comment-form label {
1530
+ margin-bottom: 10px;
1531
+ }
1532
+
1533
+ .wpr-comment-form-fields {
1534
  display: -webkit-box;
1535
  display: -ms-flexbox;
1536
  display: flex;
1540
  margin-right: 0 !important;
1541
  }
1542
 
1543
+ .wpr-cf-style-1 .wpr-comment-form-fields,
1544
+ .wpr-cf-style-4 .wpr-comment-form-fields {
1545
  display: block;
1546
  }
1547
 
1548
+ .wpr-comment-form .wpr-comment-form-fields>div {
1549
  width: 100%;
1550
  }
1551
 
1552
+ .wpr-cf-style-2 .wpr-comment-form-fields,
1553
+ .wpr-cf-style-5 .wpr-comment-form-fields,
1554
+ .wpr-comment-form[class*="wpr-cf-pro"] .wpr-comment-form-fields {
1555
  display: block;
1556
+ width: 60%;
1557
  }
1558
 
1559
+ .wpr-cf-style-2 .wpr-comment-form-fields > div,
1560
+ .wpr-cf-style-5 .wpr-comment-form-fields > div,
1561
+ .wpr-comment-form[class*="wpr-cf-pro"] > div {
1562
  margin-right: 0 !important;
1563
  }
1564
 
1565
+ .wpr-cf-style-4.wpr-comment-form .wpr-comment-form-fields,
1566
+ .wpr-cf-style-5.wpr-comment-form .wpr-comment-form-fields,
1567
+ .wpr-cf-style-6.wpr-comment-form .wpr-comment-form-fields,
1568
+ .wpr-comment-form[class*="wpr-cf-pro"] .wpr-comment-form-fields {
1569
  -webkit-box-ordinal-group: 0;
1570
+ -ms-flex-order: -1;
1571
+ order: -1;
1572
  }
1573
 
1574
  .wpr-submit-comment {
2216
  display: inline-block;
2217
  }
2218
 
2219
+ .wpr-grid-pagination i,
2220
  .wpr-grid-pagination svg {
2221
  vertical-align: middle;
2222
  }
2236
  text-align: center;
2237
  }
2238
 
2239
+ .wpr-grid-pagination-center .wpr-grid-pagination {
2240
+ display: -webkit-box;
2241
+ display: -ms-flexbox;
2242
+ display: flex;
2243
+ -webkit-box-pack: center;
2244
+ -ms-flex-pack: center;
2245
+ justify-content: center;
2246
+ }
2247
+
2248
  .wpr-grid-pagination-left .wpr-grid-pagination {
2249
  text-align: left;
2250
+ display: -webkit-box;
2251
+ display: -ms-flexbox;
2252
+ display: flex;
2253
+ -webkit-box-pack: start;
2254
+ -ms-flex-pack: start;
2255
+ justify-content: flex-start;
2256
  }
2257
 
2258
  .wpr-grid-pagination-right .wpr-grid-pagination {
2259
  text-align: right;
2260
+ display: -webkit-box;
2261
+ display: -ms-flexbox;
2262
+ display: flex;
2263
+ -webkit-box-pack: end;
2264
+ -ms-flex-pack: end;
2265
+ justify-content: flex-end;
2266
  }
2267
 
2268
  .wpr-grid-pagination-infinite-scroll {
2281
 
2282
  .wpr-grid-pagi-left-arrows,
2283
  .wpr-grid-pagi-right-arrows,
2284
+ .wpr-grid-pagination .wpr-load-more-btn {
 
2285
  display: inline-block;
2286
  }
2287
 
2291
  margin-right: 0 !important;
2292
  }
2293
 
2294
+ .wpr-grid-pagination .wpr-first-page,
2295
+ .wpr-grid-pagination .wpr-last-page,
2296
+ .wpr-grid-pagination .wpr-prev-page,
2297
+ .wpr-grid-pagination .wpr-prev-post-link,
2298
+ .wpr-grid-pagination .wpr-next-page,
2299
+ .wpr-grid-pagination .wpr-next-post-link {
2300
+ display: -webkit-inline-box;
2301
+ display: -ms-inline-flexbox;
2302
+ display: inline-flex;
2303
+ -webkit-box-pack: center;
2304
+ -ms-flex-pack: center;
2305
+ justify-content: center;
2306
+ -webkit-box-align: center;
2307
+ -ms-flex-align: center;
2308
+ align-items: center;
2309
+ height: 100%;
2310
+ }
2311
+
2312
  @media screen and ( max-width: 767px) {
2313
  .wpr-grid-pagination a,
2314
  .wpr-grid-pagination span {
2318
  .wpr-grid-pagination a>span {
2319
  display: none;
2320
  }
2321
+ .wpr-grid-pagination.wpr-grid-pagination-numbered span i,
2322
+ .wpr-grid-pagination.wpr-grid-pagination-numbered a i {
2323
  padding: 0 !important;
2324
  }
2325
  }
5757
 
5758
 
5759
  /* Text */
 
5760
  .wpr-pricing-table-text {
5761
  font-size: 13px;
5762
  line-height: 1.3;
5764
 
5765
 
5766
  /* Divider */
 
5767
  .wpr-pricing-table-divider {
5768
  margin: 0 auto;
5769
+ border: 0;
5770
  }
5771
 
5772
 
5773
  /* Animation */
 
5774
  .wpr-pricing-table-animation-slide {
5775
  -webkit-transition-property: margin;
5776
  -o-transition-property: margin;
6116
 
6117
 
6118
  /* Icon */
6119
+
6120
  .wpr-testimonial-content .wpr-testimonial-icon {
6121
+ position: absolute;
6122
  width: 100%;
6123
  z-index: 1;
6124
  }
11162
 
11163
 
11164
  /*--------------------------------------------------------------
11165
+ == Lottie Animations
11166
+ --------------------------------------------------------------*/
11167
  .wpr-lottie-animations-wrapper {
11168
  min-height: 1px;
11169
  }
11170
 
11171
 
11172
+ /*--------------------------------------------------------------
11173
+ == Taxonomy List
11174
+ --------------------------------------------------------------*/
11175
+ .wpr-taxonomy-list {
11176
+ display: -webkit-box;
11177
+ display: -ms-flexbox;
11178
+ display: flex;
11179
+ list-style: none;
11180
+ padding: 0;
11181
+ }
11182
+
11183
+ .wpr-taxonomy-list li {
11184
+ text-align: left;
11185
+ }
11186
+
11187
+ .wpr-taxonomy-list li a {
11188
+ display: inline-block;
11189
+ text-decoration: none;
11190
+ }
11191
+
11192
+ .wpr-taxonomy-list i {
11193
+ display: block;
11194
+ width: 100%;
11195
+ height: 100%;
11196
+ }
11197
+
11198
+ .wpr-taxonomy-list-vertical .wpr-taxonomy-list i,
11199
+ .wpr-taxonomy-list span {
11200
+ line-height: 1.5;
11201
+ vertical-align: middle;
11202
+ }
11203
+
11204
+ .wpr-taxonomy-list-horizontal .wpr-taxonomy-list li a,
11205
+ .wpr-taxonomy-list .wpr-tax-wrap {
11206
+ display: -webkit-inline-box;
11207
+ display: -ms-inline-flexbox;
11208
+ display: inline-flex;
11209
+ -webkit-box-pack: center;
11210
+ -ms-flex-pack: center;
11211
+ justify-content: center;
11212
+ -webkit-box-align: center;
11213
+ -ms-flex-align: center;
11214
+ align-items: center;
11215
+ }
11216
+
11217
+ .wpr-term-count {
11218
+ display: block;
11219
+ /* vertical-align: middle; */
11220
+ }
11221
+
11222
+ .wpr-taxonomy-list-horizontal .wpr-taxonomy-list {
11223
+ -ms-flex-wrap: wrap;
11224
+ flex-wrap: wrap;
11225
+ }
11226
+
11227
+ .wpr-taxonomy-list-vertical .wpr-taxonomy-list {
11228
+ -webkit-box-orient: vertical;
11229
+ -webkit-box-direction: normal;
11230
+ -ms-flex-direction: column;
11231
+ flex-direction: column;
11232
+ }
11233
+
11234
+ .wpr-taxonomy-list-vertical .wpr-taxonomy-list li a {
11235
+ display: -webkit-box;
11236
+ display: -ms-flexbox;
11237
+ display: flex;
11238
+ -webkit-box-pack: justify;
11239
+ -ms-flex-pack: justify;
11240
+ justify-content: space-between;
11241
+ -webkit-box-align: center;
11242
+ -ms-flex-align: center;
11243
+ align-items: center;
11244
+ }
11245
+
11246
+ .wpr-taxonomy-list-vertical .wpr-sub-taxonomy {
11247
+ padding-left: 20px;
11248
+ }
11249
+
11250
+
11251
  /*--------------------------------------------------------------
11252
  == Section Extensions
11253
  --------------------------------------------------------------*/
assets/css/frontend.min.css CHANGED
@@ -1 +1 @@
1
- article,aside,figcaption,figure,footer,header,main,nav,section{display:block}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible;border:0;height:1px;margin:20px 0}pre{font-family:monospace,monospace;font-size:1em}a{text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}[class*=elementor-widget-wpr-] a{text-decoration:none}abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{display:block;border-style:none}svg:not(:root){overflow:hidden;display:inline}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:0}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important}[type=search]:focus{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}.wpr-hidden-element{display:none!important}.wpr-cv-container{display:block;width:100%;height:100%;position:absolute;left:0;top:0;z-index:90}.wpr-cv-outer{display:table;width:100%;height:100%}.wpr-cv-inner{display:table-cell;vertical-align:middle}.wpr-no-transition-delay{-webkit-transition-delay:0s!important;-o-transition-delay:0s!important;transition-delay:0s!important}.wpr-enable-dropcap p:first-child:first-letter{float:left;padding-right:10px;font-size:50px;line-height:1}.wpr-tooltip{visibility:hidden;opacity:0;position:absolute;top:0;left:0;-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%);padding:6px 10px;border-radius:4px;font-size:15px;-webkit-transition:all 230ms ease-in-out 0s;-o-transition:all 230ms ease-in-out 0s;transition:all 230ms ease-in-out 0s}.wpr-tooltip:before{content:"";position:absolute;left:10px;bottom:-5px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top-style:solid;border-top-width:6px}.wpr-mobile-nav-menu,.wpr-mobile-nav-menu ul,.wpr-nav-menu,.wpr-nav-menu ul{padding:0;list-style:none;font-size:0}.wpr-nav-menu li{position:relative}.wpr-nav-menu-horizontal .wpr-nav-menu>li{display:inline-block}.wpr-nav-menu .wpr-menu-item{display:block;position:relative;z-index:1}.wpr-mobile-nav-menu li,.wpr-nav-menu li{font-size:16px;line-height:1}.wpr-nav-menu-horizontal .wpr-nav-menu>li:first-child,.wpr-pointer-line-fx .wpr-nav-menu-horizontal>li:first-child .wpr-menu-item,.wpr-pointer-none .wpr-nav-menu-horizontal>li:first-child .wpr-menu-item{padding-left:0!important;margin-left:0!important}.wpr-nav-menu-horizontal .wpr-nav-menu>li:last-child,.wpr-pointer-line-fx .wpr-nav-menu-horizontal>li:last-child .wpr-menu-item,.wpr-pointer-none .wpr-nav-menu-horizontal>li:last-child .wpr-menu-item{padding-right:0!important;margin-right:0!important}div[class*=wpr-main-menu-align-] .wpr-nav-menu-vertical .wpr-nav-menu>li>.wpr-sub-menu{left:100%}.wpr-main-menu-align-center .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,.wpr-main-menu-align-left .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon{right:0}.wpr-main-menu-align-right .wpr-nav-menu-vertical .wpr-sub-icon{left:0}.wpr-main-menu-align-left .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align-left .wpr-nav-menu-vertical .wpr-menu-item,.wpr-main-menu-align-left .wpr-nav-menu-vertical .wpr-sub-menu li a{text-align:left}.wpr-main-menu-align-center .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align-center .wpr-nav-menu-vertical .wpr-menu-item{text-align:center}.wpr-main-menu-align-right .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align-right .wpr-nav-menu-vertical .wpr-menu-item,.wpr-main-menu-align-right .wpr-nav-menu-vertical .wpr-sub-menu li a{text-align:right}@media screen and (min-width:2400px){.wpr-main-menu-align--widescreencenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,.wpr-main-menu-align--widescreenleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon{right:0}.wpr-main-menu-align--widescreenleft .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--widescreenleft .wpr-nav-menu-vertical .wpr-menu-item{text-align:left}.wpr-main-menu-align--widescreencenter .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--widescreencenter .wpr-nav-menu-vertical .wpr-menu-item{text-align:center}.wpr-main-menu-align--widescreenright .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--widescreenright .wpr-nav-menu-vertical .wpr-menu-item{text-align:right}}@media screen and (max-width:1221px){.wpr-main-menu-align--laptopcenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,.wpr-main-menu-align--laptopleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon{right:0}.wpr-main-menu-align--laptopleft .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--laptopleft .wpr-nav-menu-vertical .wpr-menu-item{text-align:left}.wpr-main-menu-align--laptopcenter .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--laptopcenter .wpr-nav-menu-vertical .wpr-menu-item{text-align:center}.wpr-main-menu-align--laptopright .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--laptopright .wpr-nav-menu-vertical .wpr-menu-item{text-align:right}}@media screen and (max-width:1200px){.wpr-main-menu-align--tablet_extracenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,.wpr-main-menu-align--tablet_extraleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon{right:0}.wpr-main-menu-align--tablet_extraleft .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--tablet_extraleft .wpr-nav-menu-vertical .wpr-menu-item{text-align:left}.wpr-main-menu-align--tablet_extracenter .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--tablet_extracenter .wpr-nav-menu-vertical .wpr-menu-item{text-align:center}.wpr-main-menu-align--tablet_extraright .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--tablet_extraright .wpr-nav-menu-vertical .wpr-menu-item{text-align:right}}@media screen and (max-width:1024px){.wpr-main-menu-align--tabletcenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,.wpr-main-menu-align--tabletleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon{right:0}.wpr-main-menu-align--tabletleft .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--tabletleft .wpr-nav-menu-vertical .wpr-menu-item{text-align:left}.wpr-main-menu-align--tabletcenter .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--tabletcenter .wpr-nav-menu-vertical .wpr-menu-item{text-align:center}.wpr-main-menu-align--tabletright .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--tabletright .wpr-nav-menu-vertical .wpr-menu-item{text-align:right}}@media screen and (max-width:880px){.wpr-main-menu-align--mobile_extracenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,.wpr-main-menu-align--mobile_extraleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon{right:0}.wpr-main-menu-align--mobile_extraleft .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--mobile_extraleft .wpr-nav-menu-vertical .wpr-menu-item{text-align:left}.wpr-main-menu-align--mobile_extracenter .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--mobile_extracenter .wpr-nav-menu-vertical .wpr-menu-item{text-align:center}.wpr-main-menu-align--mobile_extraright .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--mobile_extraright .wpr-nav-menu-vertical .wpr-menu-item{text-align:right}}@media screen and (max-width:767px){.wpr-main-menu-align--mobilecenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,.wpr-main-menu-align--mobileleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon{right:0}.wpr-main-menu-align--mobileleft .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--mobileleft .wpr-nav-menu-vertical .wpr-menu-item{text-align:left}.wpr-main-menu-align--mobilecenter .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--mobilecenter .wpr-nav-menu-vertical .wpr-menu-item{text-align:center}.wpr-main-menu-align--mobileright .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--mobileright .wpr-nav-menu-vertical .wpr-menu-item{text-align:right}}.wpr-nav-menu .wpr-sub-menu{display:none;position:absolute;z-index:999;width:180px;text-align:left;list-style:none;margin:0}.wpr-nav-menu-vertical .wpr-nav-menu>li>.wpr-sub-menu{top:0}.wpr-sub-menu-position-inline .wpr-nav-menu-vertical .wpr-sub-menu{position:static;width:100%!important;text-align:center!important;margin-left:0!important}.wpr-sub-menu-position-inline .wpr-sub-menu a{position:relative}.wpr-nav-menu .wpr-sub-menu .wpr-sub-menu{top:0;left:100%}.wpr-sub-menu .wpr-sub-menu-item{display:block;font-size:14px}.wpr-nav-menu-horizontal .wpr-menu-item .wpr-sub-icon{margin-left:7px;text-indent:0}.wpr-sub-icon{position:absolute;top:48%;transform:translateY(-50%);-ms-transform:translateY(-50%);-webkit-transform:translateY(-50%)}.wpr-sub-icon-rotate{-webkit-transform:rotate(-90deg) translateX(80%);-ms-transform:rotate(-90deg) translateX(80%);transform:rotate(-90deg) translateX(80%)}.wpr-sub-divider-yes .wpr-sub-menu li:not(:last-child){border-bottom-style:solid}.wpr-mobile-nav-menu,.wpr-mobile-nav-menu-container{display:none}.wpr-mobile-nav-menu{position:absolute;z-index:9999}.wpr-mobile-menu-drdown-align-left .wpr-mobile-nav-menu{left:0}.wpr-mobile-menu-drdown-align-center .wpr-mobile-nav-menu{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.wpr-mobile-menu-drdown-align-right .wpr-mobile-nav-menu{right:0}.wpr-mobile-menu-item,.wpr-mobile-sub-menu-item{position:relative}.wpr-mobile-menu-item,.wpr-mobile-sub-menu-item{display:block}.wpr-mobile-sub-menu{display:none}.wpr-mobile-nav-menu .menu-item-has-children>a:after{position:absolute;right:0;top:50%;transform:translateY(-50%);-ms-transform:translateY(-50%);-webkit-transform:translateY(-50%)}.wpr-mobile-menu-item-align-left .wpr-mobile-sub-menu a:before{content:' ';display:inline-block;width:10px}.wpr-mobile-menu-item-align-left .wpr-mobile-sub-menu .wpr-mobile-sub-menu a:before{width:20px}.wpr-mobile-menu-item-align-center .wpr-mobile-nav-menu{text-align:center}.wpr-mobile-menu-item-align-right .wpr-mobile-nav-menu{text-align:right}.wpr-mobile-menu-item-align-right .wpr-mobile-nav-menu .menu-item-has-children>a:after{right:auto!important;left:0}div[class*=wpr-sub-icon-] .wpr-mobile-nav-menu .menu-item-has-children>a:after{font-family:"Font Awesome 5 Free";font-size:12px;font-weight:900;font-style:normal;text-decoration:none;line-height:1;letter-spacing:0;text-rendering:auto;-webkit-font-smoothing:antialiased}.wpr-sub-icon-caret-down .wpr-mobile-nav-menu .menu-item-has-children>a:after,.wpr-sub-icon-caret-down .wpr-sub-icon:before{content:"\f0d7"}.wpr-sub-icon-angle-down .wpr-mobile-nav-menu .menu-item-has-children>a:after,.wpr-sub-icon-angle-down .wpr-sub-icon:before{content:"\f107"}.wpr-sub-icon-chevron-down .wpr-mobile-nav-menu .menu-item-has-children>a:after,.wpr-sub-icon-chevron-down .wpr-sub-icon:before{content:"\f078"}.wpr-sub-icon-plus .wpr-mobile-nav-menu .menu-item-has-children>a:after,.wpr-sub-icon-plus .wpr-sub-icon:before{content:"\f067"}.wpr-mobile-divider-yes .wpr-mobile-nav-menu a{border-bottom-style:solid}.wpr-mobile-toggle-wrap{font-size:0;line-height:0}.wpr-mobile-toggle{display:inline-block;padding:7px;cursor:pointer;border-style:solid;text-align:center}.wpr-mobile-toggle-line{display:block;width:100%}.wpr-mobile-toggle-line:last-child{margin-bottom:0!important}.wpr-mobile-toggle-text{font-size:16px;line-height:1!important}.wpr-mobile-toggle-text:last-child{display:none}.wpr-mobile-toggle-v2 .wpr-mobile-toggle-line:nth-child(2){width:78%;margin-left:24%}.wpr-mobile-toggle-v2 .wpr-mobile-toggle-line:nth-child(3){width:45%;margin-left:57%}.wpr-mobile-toggle-v3 .wpr-mobile-toggle-line:nth-child(2){width:75%;margin-left:15%}.wpr-mobile-toggle-v4 .wpr-mobile-toggle-line:nth-child(1),.wpr-mobile-toggle-v4 .wpr-mobile-toggle-line:nth-child(3){width:75%;margin-left:25%}.wpr-mobile-toggle-v4 .wpr-mobile-toggle-line:nth-child(2){width:75%;margin-right:25%}.wpr-mobile-toggle-v5 .wpr-mobile-toggle-line:nth-child(1){display:none}.wpr-nav-menu-bp-always .wpr-nav-menu-container{display:none}.wpr-nav-menu-bp-always .wpr-mobile-nav-menu-container{display:block}@media screen and (max-width:1025px){.wpr-nav-menu-bp-tablet .wpr-nav-menu-container{display:none}.wpr-nav-menu-bp-tablet .wpr-mobile-nav-menu-container{display:block}}@media screen and (max-width:767px){.wpr-nav-menu-bp-mobile .wpr-nav-menu-container,.wpr-nav-menu-bp-pro-al .wpr-nav-menu-container,.wpr-nav-menu-bp-pro-nn .wpr-nav-menu-container{display:none}.wpr-nav-menu-bp-mobile .wpr-mobile-nav-menu-container,.wpr-nav-menu-bp-pro-al .wpr-mobile-nav-menu-container,.wpr-nav-menu-bp-pro-nn .wpr-mobile-nav-menu-container{display:block}}.wpr-pointer-background-fx .wpr-active-menu-item:before,.wpr-pointer-border-fx .wpr-active-menu-item:before,.wpr-pointer-line-fx .wpr-active-menu-item:after,.wpr-pointer-line-fx .wpr-active-menu-item:before{opacity:1!important}.wpr-pointer-fx-none{-webkit-transition-duration:0s!important;-o-transition-duration:0s!important;transition-duration:0s!important}.wpr-pointer-double-line.wpr-pointer-fx-grow .wpr-active-menu-item:after,.wpr-pointer-double-line.wpr-pointer-fx-grow .wpr-active-menu-item:before,.wpr-pointer-double-line.wpr-pointer-fx-slide .wpr-active-menu-item:after,.wpr-pointer-double-line.wpr-pointer-fx-slide .wpr-active-menu-item:before,.wpr-pointer-overline.wpr-pointer-fx-grow .wpr-active-menu-item:before,.wpr-pointer-overline.wpr-pointer-fx-slide .wpr-active-menu-item:before,.wpr-pointer-underline.wpr-pointer-fx-grow .wpr-active-menu-item:after,.wpr-pointer-underline.wpr-pointer-fx-slide .wpr-active-menu-item:after{width:100%}.wpr-pointer-line-fx.wpr-pointer-fx-drop .wpr-active-menu-item:before{top:0}.wpr-pointer-line-fx.wpr-pointer-fx-drop .wpr-active-menu-item:after{bottom:0}.wpr-pointer-background-fx.wpr-pointer-fx-grow .wpr-active-menu-item:before,.wpr-pointer-background-fx.wpr-pointer-fx-shrink .wpr-active-menu-item:before,.wpr-pointer-background-fx.wpr-pointer-fx-sweep .wpr-active-menu-item:before,.wpr-pointer-border-fx.wpr-pointer-fx-grow .wpr-active-menu-item:before,.wpr-pointer-border-fx.wpr-pointer-fx-shrink .wpr-active-menu-item:before{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.wpr-pointer-background-fx.wpr-pointer-fx-skew .wpr-active-menu-item:before{-webkit-transform:perspective(600px) rotateX(0);transform:perspective(600px) rotateX(0)}.wpr-mobile-nav-menu .sub-menu-toggle{display:none!important}.elementor-widget-wpr-nav-menu .wpr-mobile-nav-menu a,.elementor-widget-wpr-nav-menu .wpr-mobile-toggle-text,.elementor-widget-wpr-nav-menu .wpr-nav-menu .wpr-menu-item{line-height:26px}.elementor-widget-wpr-nav-menu .wpr-sub-menu .wpr-sub-menu-item{font-size:14px}.wpr-onepage-nav{position:fixed;z-index:99999;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wpr-onepage-nav-item{position:relative}.wpr-onepage-nav-item:last-child{margin-bottom:0!important}.wpr-onepage-nav-vr-top .wpr-onepage-nav{top:0}.wpr-onepage-nav-vr-middle .wpr-onepage-nav{top:50%;-ms-transform:translateY(-50%);transform:translateY(-50%);-webkit-transform:translateY(-50%)}.wpr-onepage-nav-vr-bottom .wpr-onepage-nav{bottom:0}.wpr-onepage-nav-hr-left .wpr-onepage-nav{left:0}.wpr-onepage-nav-hr-right .wpr-onepage-nav{right:0}.wpr-onepage-nav-item .wpr-tooltip{text-align:center}.wpr-onepage-nav-item:hover .wpr-tooltip{opacity:1;visibility:visible}.wpr-onepage-nav-hr-left .wpr-onepage-nav-item:hover .wpr-tooltip{-ms-transform:translate(10%,-50%);transform:translate(10%,-50%);-webkit-transform:translate(10%,-50%)}.wpr-onepage-nav-hr-left .wpr-onepage-nav-item .wpr-tooltip{top:50%;left:100%;-ms-transform:translate(20%,-50%);transform:translate(20%,-50%);-webkit-transform:translate(20%,-50%)}.wpr-onepage-nav-hr-left .wpr-onepage-nav-item .wpr-tooltip:before{left:auto;left:-8px;top:50%;-webkit-transform:translateY(-50%) rotate(90deg);-ms-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg)}.wpr-onepage-nav-hr-right .wpr-onepage-nav-item:hover .wpr-tooltip{-ms-transform:translate(-110%,-50%);transform:translate(-110%,-50%);-webkit-transform:translate(-110%,-50%)}.wpr-onepage-nav-hr-right .wpr-onepage-nav-item .wpr-tooltip{top:50%;left:0;-ms-transform:translate(-120%,-50%);transform:translate(-120%,-50%);-webkit-transform:translate(-120%,-50%)}.wpr-onepage-nav-hr-right .wpr-onepage-nav-item .wpr-tooltip:before{left:auto;right:-8px;top:50%;-webkit-transform:translateY(-50%) rotate(-90deg);-ms-transform:translateY(-50%) rotate(-90deg);transform:translateY(-50%) rotate(-90deg)}.elementor-widget-wpr-onepage-nav .wpr-onepage-nav{background-color:#605be5;-webkit-box-shadow:0 0 15px 0 #d7d7d7;box-shadow:0 0 15px 0 #d7d7d7}.elementor-widget-wpr-onepage-nav .wpr-onepage-nav-item .wpr-tooltip{font-size:14px}.wpr-featured-media-image{position:relative;display:inline-block;vertical-align:middle}.wpr-featured-media-caption{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:100%}.wpr-featured-media-caption span{display:inline-block}.wpr-fm-image-caption-hover [data-caption=gallery] .wpr-featured-media-caption,.wpr-fm-image-caption-hover [data-caption=standard] .wpr-featured-media-caption{opacity:0;-webkit-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.wpr-fm-image-caption-hover [data-caption=gallery]:hover .wpr-featured-media-caption,.wpr-fm-image-caption-hover [data-caption=standard]:hover .wpr-featured-media-caption{opacity:1}.wpr-gallery-slider{opacity:0}.wpr-gallery-lightbox-yes .wpr-featured-media-image{cursor:pointer}.wpr-gallery-slide img{margin:0 auto}.wpr-gallery-slider-arrow{position:absolute;z-index:120;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;text-align:center;cursor:pointer}.wpr-gallery-slider-arrow i{display:block;width:100%;height:100%;line-height:inherit}.wpr-gallery-slider-arrow{-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-gallery-slider-nav-fade .wpr-gallery-slider-arrow{opacity:0;visibility:hidden}.wpr-gallery-slider-nav-fade .wpr-gallery-slider:hover .wpr-gallery-slider-arrow{opacity:1;visibility:visible}.wpr-gallery-slider-dots{position:absolute;display:inline-table;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:110}.wpr-gallery-slider-dots ul{list-style:none;margin:0;padding:0}.wpr-gallery-slider-dots li{float:left}.wpr-gallery-slider-dot{display:block;cursor:pointer}.wpr-gallery-slider-dots li:last-child .wpr-gallery-slider-dot{margin:0!important}.wpr-author-box-image{display:inline-block;overflow:hidden}.wpr-author-box-arrange-left .wpr-author-box{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-author-box-arrange-right .wpr-author-box{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-author-box-arrange-left .wpr-author-box-image,.wpr-author-box-arrange-right .wpr-author-box-image{-ms-flex-negative:0;flex-shrink:0}.wpr-author-box-arrange-left .wpr-author-box-text,.wpr-author-box-arrange-right .wpr-author-box-text{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.wpr-author-box-btn{display:inline-block}.wpr-post-navigation-wrap{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-post-navigation-wrap>div:last-child{margin-right:0!important}.wpr-post-nav-fixed-default-wrap{position:fixed;bottom:0;z-index:999}.wpr-post-nav-fixed.wpr-post-navigation{position:fixed;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);z-index:999}.wpr-post-nav-fixed.wpr-post-navigation a{display:block}.wpr-post-nav-fixed.wpr-post-navigation img{position:absolute;top:0}.wpr-post-nav-fixed.wpr-post-nav-prev{left:0}.wpr-post-nav-fixed.wpr-post-nav-next{right:0}.wpr-post-nav-fixed.wpr-post-nav-hover img{opacity:0}.wpr-post-nav-fixed.wpr-post-nav-hover.wpr-post-nav-prev img{-webkit-transform:perspective(600px) rotateY(90deg);transform:perspective(600px) rotateY(90deg);-webkit-transform-origin:center left 0;-ms-transform-origin:center left 0;transform-origin:center left 0}.wpr-post-nav-fixed.wpr-post-nav-hover.wpr-post-nav-next img{-webkit-transform:perspective(600px) rotateY(-90deg);transform:perspective(600px) rotateY(-90deg);-webkit-transform-origin:center right 0;-ms-transform-origin:center right 0;transform-origin:center right 0}.wpr-post-nav-fixed.wpr-post-nav-hover:hover img{opacity:1;position:absolute;-webkit-transform:none;-ms-transform:none;transform:none}.wpr-post-nav-static.wpr-post-navigation{width:50%}.wpr-post-navigation{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;background-size:cover;background-position:center center;background-repeat:no-repeat}.wpr-post-navigation{position:relative}.wpr-post-navigation a{position:relative;z-index:2}.wpr-post-nav-overlay{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transition:all .3s ease-in 0s;-o-transition:all .3s ease-in 0s;transition:all .3s ease-in 0s}.wpr-post-nav-back{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center;font-size:30px}.wpr-post-navigation a{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-post-nav-next a{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.wpr-post-nav-labels{min-width:0}.wpr-post-nav-labels h5{overflow:hidden;white-space:nowrap;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.wpr-post-nav-next{text-align:right}.wpr-post-navigation i{font-size:20px;text-align:center}.wpr-post-nav-labels span{display:inline-block}.wpr-post-nav-dividers{padding:10px 0;border-top:1px solid #000;border-bottom:1px solid #000}.wpr-post-nav-divider{-ms-flex-item-align:stretch;-ms-grid-row-align:stretch;align-self:stretch;-ms-flex-negative:0;flex-shrink:0}.wpr-post-nav-dividers.wpr-post-navigation-wrap{padding-left:0!important;padding-right:0!important}.wpr-post-nav-back a{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:0}.wpr-post-nav-back span{display:inline-block;border-style:solid}.wpr-post-nav-back span:nth-child(2n){margin-right:0!important}.wpr-post-info li{position:relative}.wpr-post-info-horizontal li{display:inline-block}.wpr-post-info-horizontal li:last-child{padding-right:0!important}.wpr-post-info-vertical li:last-child{padding-bottom:0!important}.wpr-post-info li:after{content:' ';display:inline-block;position:absolute;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-post-info li:last-child:after{display:none}.wpr-post-info li .wpr-post-info-text{display:inline-block;text-align:left!important}.wpr-post-info-align-left .wpr-post-info-vertical li:after{left:0}.wpr-post-info-align-center .wpr-post-info-vertical li:after{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.wpr-post-info-align-right .wpr-post-info-vertical li:after{right:0}.wpr-post-info-text span{display:inline-block}.wpr-post-info-author img{display:inline-block;margin-right:10px}.wpr-post-info-custom-field a,.wpr-post-info-custom-field span{display:inline-block}.wpr-comment-avatar{float:left;overflow:hidden}.wpr-comment-avatar img{position:static!important}.wpr-comment-metadata>*{display:inline-block}.wpr-comment-metadata p{display:block}.wpr-comments-wrap .comment-reply-link{float:none!important}.wpr-comment-reply-separate.wpr-comment-reply-align-right .wpr-comment-reply{text-align:right}.wpr-comment-reply-inline.wpr-comment-reply-align-right .wpr-comment-reply{float:right}.wpr-comment-reply-inline.wpr-comment-reply-align-left .wpr-comment-reply:before{content:'\00a0|\00a0'}.wpr-comment-reply a,.wpr-comments-navigation a,.wpr-comments-navigation span{display:inline-block}.wpr-comments-navigation-center,.wpr-comments-navigation-justify{text-align:center}.wpr-comments-navigation-left{text-align:left}.wpr-comments-navigation-right{text-align:right}.wpr-comments-navigation-justify a.prev{float:left}.wpr-comments-navigation-justify a.next{float:right}.wpr-comment-form .comment-notes{display:none}.wpr-comment-form-author input,.wpr-comment-form-email input,.wpr-comment-form-text,.wpr-comment-form-text textarea,.wpr-comment-form-url input{display:block;width:100%}.wpr-comment-form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-contact-form-fields{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-cf-no-url .wpr-comment-form-email{margin-right:0!important}.wpr-cf-style-1 .wpr-contact-form-fields,.wpr-cf-style-4 .wpr-contact-form-fields{display:block}.wpr-comment-form .wpr-contact-form-fields>div{width:100%}.wpr-cf-style-2 .wpr-contact-form-fields,.wpr-cf-style-5 .wpr-contact-form-fields{display:block;width:50%}.wpr-cf-style-2 .wpr-contact-form-fields>div,.wpr-cf-style-5 .wpr-contact-form-fields>div{margin-right:0!important}.wpr-cf-style-4.wpr-comment-form .wpr-comment-form-text,.wpr-cf-style-5.wpr-comment-form .wpr-comment-form-text,.wpr-cf-style-6.wpr-comment-form .wpr-comment-form-text{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.wpr-submit-comment{cursor:pointer}.wpr-comments-list .comment-respond{margin-bottom:30px}.wpr-product-media-wrap{position:relative;display:inline-block;max-width:100%}.wpr-product-media-image{display:inline-block;position:relative;vertical-align:middle;overflow:hidden}.wpr-product-media-caption{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:100%}.wpr-product-media-caption span{display:inline-block}.wpr-pd-image-caption-hover .wpr-product-media-wrap .wpr-product-media-caption{opacity:0;-webkit-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.wpr-pd-image-caption-hover .wpr-product-media-wrap:hover .wpr-product-media-caption{opacity:1}.wpr-product-thumb-nav li{overflow:hidden;cursor:pointer;opacity:.75}.wpr-product-thumb-nav li.slick-current{opacity:1}.wpr-product-thumb-nav li img{width:100%}.wpr-gallery-lightbox-yes .wpr-product-media-image{cursor:pointer}.wpr-gallery-zoom-yes .wpr-product-media-image:hover img{-webkit-transform:scale(1.5);-ms-transform:scale(1.5);transform:scale(1.5)}.wpr-product-media-onsale{position:absolute;top:0;left:0;z-index:2}.wpr-product-price-separate .wpr-product-price del,.wpr-product-price-separate .wpr-product-price ins{display:block}.wpr-grid{opacity:0}.wpr-grid-item{padding:0!important;float:left;position:relative;text-align:center}.wpr-grid-item,.wpr-grid-item *{outline:0!important}.wpr-grid-last-row{margin-bottom:0!important}.wpr-grid-item-above-content{border-bottom:0!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.wpr-grid:not([data-settings*=list]) .wpr-grid-item-below-content{border-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.wpr-grid-item-inner,.wpr-grid-media-wrap{position:relative}.wpr-grid-image-wrap{overflow:hidden}.wpr-grid-image-wrap img{display:block;width:100%}.wpr-grid-media-hover{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden}.wpr-grid-media-hover-top{position:absolute;top:0;left:0;width:100%;z-index:2}.wpr-grid-media-hover-bottom{position:absolute;bottom:0;left:0;width:100%;z-index:2}.wpr-grid-media-hover-middle{position:relative;z-index:2}.wpr-grid .wpr-cv-container,.wpr-magazine-grid .wpr-cv-container{z-index:1}.wpr-grid-item-display-block{clear:both}.wpr-grid-item-display-custom.wpr-grid-item-align-left,.wpr-grid-item-display-inline.wpr-grid-item-align-left{float:left}.wpr-grid-item-display-custom.wpr-grid-item-align-right,.wpr-grid-item-display-inline.wpr-grid-item-align-right{float:right}.wpr-grid-item-display-custom.wpr-grid-item-align-center,.wpr-grid-item-display-inline.wpr-grid-item-align-center{float:none;display:inline-block;vertical-align:middle}.wpr-grid-cf-style-1 .inner-block>a,.wpr-grid-cf-style-1 .inner-block>span,.wpr-grid-cf-style-2 .inner-block>a,.wpr-grid-cf-style-2 .inner-block>span,.wpr-grid-item-add-to-cart .inner-block>a,.wpr-grid-item-author .inner-block a,.wpr-grid-item-comments .inner-block a,.wpr-grid-item-date .inner-block>span,.wpr-grid-item-lightbox .inner-block>span,.wpr-grid-item-likes .inner-block a,.wpr-grid-item-price .inner-block>span,.wpr-grid-item-read-more .inner-block a,.wpr-grid-item-sharing .inner-block>span,.wpr-grid-item-status .inner-block>span,.wpr-grid-item-time .inner-block>span,.wpr-grid-item-title .inner-block a,.wpr-grid-product-categories .inner-block a,.wpr-grid-product-tags .inner-block a,.wpr-grid-sep-style-1 .inner-block>span,.wpr-grid-sep-style-2 .inner-block>span,.wpr-grid-tax-style-1 .inner-block a,.wpr-grid-tax-style-2 .inner-block a{display:inline-block}.wpr-grid-item-display-custom.wpr-grid-cf-style-1 .inner-block>a,.wpr-grid-item-display-custom.wpr-grid-cf-style-1 .inner-block>span,.wpr-grid-item-display-custom.wpr-grid-cf-style-2 .inner-block>a,.wpr-grid-item-display-custom.wpr-grid-cf-style-2 .inner-block>span,.wpr-grid-item-display-custom.wpr-grid-item-add-to-cart .inner-block>a,.wpr-grid-item-display-custom.wpr-grid-item-comments .inner-block a,.wpr-grid-item-display-custom.wpr-grid-item-date .inner-block>span,.wpr-grid-item-display-custom.wpr-grid-item-lightbox .inner-block>span,.wpr-grid-item-display-custom.wpr-grid-item-likes .inner-block a,.wpr-grid-item-display-custom.wpr-grid-item-product-price .inner-block>span,.wpr-grid-item-display-custom.wpr-grid-item-product-status .inner-block>span,.wpr-grid-item-display-custom.wpr-grid-item-read-more .inner-block a,.wpr-grid-item-display-custom.wpr-grid-item-sharing .inner-block>span,.wpr-grid-item-display-custom.wpr-grid-item-time .inner-block>span,.wpr-grid-item-display-custom.wpr-grid-item-title .inner-block a,.wpr-grid-item-display-custom.wpr-grid-sep-style-1 .inner-block>span,.wpr-grid-item-display-custom.wpr-grid-sep-style-2 .inner-block>span{width:100%}.wpr-grid-item-excerpt .inner-block p{margin:0!important}.wpr-grid-media-hover-bg{position:absolute}.wpr-grid-media-hover-bg img{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%) scale(1)!important;-ms-transform:translate(-50%,-50%) scale(1)!important;transform:translate(-50%,-50%) scale(1)!important;-webkit-filter:grayscale(0)!important;filter:grayscale(0)!important;-webkit-filter:blur(0px)!important;-filter:blur(0px)!important}.wpr-grid-item-author img,.wpr-grid-item-author span{display:inline-block;vertical-align:middle}.wpr-grid-item-author img{-webkit-transform:none!important;-ms-transform:none!important;transform:none!important;-webkit-filter:none!important;filter:none!important}.wpr-grid-item-likes .inner-block a{text-align:center}.wpr-likes-no-default.wpr-likes-zero i{padding:0!important}.wpr-grid-item-sharing .inner-block a{text-align:center}.wpr-grid-item-sharing .wpr-post-sharing{position:relative}.wpr-grid-item-sharing .wpr-sharing-icon{display:inline-block;position:relative}.wpr-grid-item-sharing .wpr-sharing-icon .wpr-tooltip{left:50%;-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%);-webkit-transform:translate(-50%,-100%)}.wpr-grid-item-sharing .wpr-sharing-icon:hover .wpr-tooltip{visibility:visible;opacity:1;-ms-transform:translate(-50%,-120%);transform:translate(-50%,-120%);-webkit-transform:translate(-50%,-120%)}.wpr-grid-item-sharing .wpr-tooltip:before{left:50%;-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transform:translateX(-50%)}.wpr-grid-item-sharing .wpr-sharing-trigger{cursor:pointer}.wpr-grid-item-sharing .wpr-tooltip{display:block;padding:10px}.wpr-grid-item-sharing .wpr-sharing-hidden{visibility:hidden;position:absolute;z-index:3;text-align:center}.wpr-grid-item-sharing .wpr-sharing-hidden a{opacity:0}.wpr-sharing-hidden a{position:relative;top:-5px;-webkit-transition-duration:.3s!important;-o-transition-duration:.3s!important;transition-duration:.3s!important;-webkit-transition-timing-function:cubic-bezier(.445,.050,.55,.95);-o-transition-timing-function:cubic-bezier(.445,.050,.55,.95);transition-timing-function:cubic-bezier(.445,.050,.55,.95);-webkit-transition-delay:0s;-o-transition-delay:0s;transition-delay:0s}.wpr-sharing-hidden a+a{-webkit-transition-delay:0.1s;-o-transition-delay:0.1s;transition-delay:0.1s}.wpr-sharing-hidden a+a+a{-webkit-transition-delay:0.2s;-o-transition-delay:0.2s;transition-delay:0.2s}.wpr-sharing-hidden a+a+a+a{-webkit-transition-delay:0.3s;-o-transition-delay:0.3s;transition-delay:0.3s}.wpr-sharing-hidden a+a+a+a+a{-webkit-transition-delay:0.4s;-o-transition-delay:0.4s;transition-delay:0.4s}.wpr-grid-item-sharing a:last-of-type{margin-right:0!important}.wpr-grid-item-sharing .inner-block a{-webkit-transition-property:color,background-color,border;-o-transition-property:color,background-color,border;transition-property:color,background-color,border;-webkit-transition-timing-function:linear;-o-transition-timing-function:linear;transition-timing-function:linear}.wpr-grid-item-add-to-cart .inner-block>a,.wpr-grid-item-read-more .inner-block>a{position:relative;overflow:hidden;vertical-align:middle}.wpr-grid-item-add-to-cart .inner-block>a i,.wpr-grid-item-add-to-cart .inner-block>a span,.wpr-grid-item-read-more .inner-block>a i,.wpr-grid-item-read-more .inner-block>a span{position:relative;z-index:2;opacity:1}.wpr-grid-item-add-to-cart .inner-block>a:after,.wpr-grid-item-add-to-cart .inner-block>a:before,.wpr-grid-item-read-more .inner-block>a:after,.wpr-grid-item-read-more .inner-block>a:before{z-index:1}.wpr-grid-item-lightbox .inner-block>span,.wpr-grid-lightbox-overlay{cursor:pointer}.wpr-grid-lightbox-overlay{position:absolute;top:0;left:0;z-index:10;width:100%;height:100%}.admin-bar .lg-toolbar{top:32px}.wpr-grid-item-separator .inner-block{font-size:0;line-height:0}.wpr-grid-item-separator.wpr-grid-item-display-inline span{width:100%!important}.wpr-woo-rating i{display:inline;position:relative;font-family:eicons;font-style:normal;line-height:1;overflow:hidden}.wpr-woo-rating i:before{content:'\e934';font-weight:900;display:block;position:absolute;top:0;left:0;font-size:inherit;font-family:inherit;overflow:hidden}.wpr-woo-rating-style-2 .wpr-woo-rating i:before{content:'\002605'}.wpr-woo-rating i:last-of-type{margin-right:0!important}.wpr-rating-icon-empty:before{display:none!important}.wpr-rating-icon-0:before{width:0}.wpr-rating-icon-1:before{width:10%}.wpr-rating-icon-2:before{width:20%}.wpr-rating-icon-3:before{width:30%}.wpr-rating-icon-4:before{width:40%}.wpr-rating-icon-5:before{width:50%}.wpr-rating-icon-6:before{width:60%}.wpr-rating-icon-7:before{width:70%}.wpr-rating-icon-8:before{width:80%}.wpr-rating-icon-9:before{width:90%}.wpr-rating-icon-full:before{width:100%}.wpr-grid-filters li{display:inline-block}.wpr-grid-filters li:last-of-type{margin-right:0!important}.wpr-grid-filters li span{display:inline-block;cursor:pointer;text-decoration:inherit}.wpr-grid-filters li a{display:inline-block}.wpr-grid-filters li sup{position:relative;padding-left:5px;line-height:1}.wpr-grid-filters li sup[data-brackets=yes]:before{content:'\0028'}.wpr-grid-filters li sup[data-brackets=yes]:after{content:'\0029'}.wpr-grid-filters .wpr-active-filter.wpr-pointer-item:after,.wpr-grid-filters .wpr-active-filter.wpr-pointer-item:before{opacity:1!important;width:100%!important}.wpr-grid-filters-sep{font-style:normal}.wpr-grid-filters-sep-left li:first-child .wpr-grid-filters-sep,.wpr-grid-filters-sep-right li:last-of-type .wpr-grid-filters-sep{display:none}.wpr-sub-filters{display:none}.wpr-grid-sorting{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.wpr-grid-sorting .woocommerce-ordering,.wpr-grid-sorting>div{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.wpr-grid-sorting .woocommerce-ordering{text-align:right}.wpr-grid-sorting .woocommerce-ordering select{width:auto;outline:0!important}.wpr-grid-sorting .woocommerce-ordering,.wpr-grid-sorting .woocommerce-result-count,.wpr-grid-sorting .wpr-shop-page-title{margin:0!important}.wpr-grid-pagination{margin-top:30px}.wpr-grid-pagination>a,.wpr-grid-pagination>span{display:inline-block}.wpr-grid-pagination svg{vertical-align:middle}.wpr-grid-pagination .wpr-disabled-arrow{cursor:not-allowed;opacity:.4}.wpr-pagination-finish,.wpr-pagination-loading{display:none}.wpr-grid-pagination-center .wpr-grid-pagination,.wpr-grid-pagination-justify .wpr-grid-pagination{text-align:center}.wpr-grid-pagination-left .wpr-grid-pagination{text-align:left}.wpr-grid-pagination-right .wpr-grid-pagination{text-align:right}.wpr-grid-pagination-infinite-scroll{text-align:center}.wpr-grid-pagination-justify .wpr-grid-pagi-left-arrows,.wpr-grid-pagination-justify .wpr-grid-pagination-default .wpr-prev-post-link{float:left}.wpr-grid-pagination-justify .wpr-grid-pagi-right-arrows,.wpr-grid-pagination-justify .wpr-grid-pagination-default .wpr-next-post-link{float:right}.wpr-grid-pagi-left-arrows,.wpr-grid-pagi-right-arrows,.wpr-grid-pagination>div>a,.wpr-grid-pagination>div>span{display:inline-block}.wpr-grid-pagi-right-arrows a:last-child,.wpr-grid-pagi-right-arrows span:last-child,.wpr-load-more-btn{margin-right:0!important}@media screen and (max-width:767px){.wpr-grid-pagination a,.wpr-grid-pagination span{margin-bottom:10px}.wpr-grid-pagination a>span,.wpr-grid-pagination span>span{display:none}.wpr-grid-pagination a i,.wpr-grid-pagination span i{padding:0!important}}.elementor-editor-active .wpr-grid-pagination-infinite-scroll{display:none}.wpr-grid-slider-nav-position-default .wpr-grid-slider-arrow-container{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-grid-slider-nav-position-default .wpr-grid-slider-arrow{position:static}.wpr-grid-slider-nav-position-default .wpr-grid-slider-prev-arrow{-ms-transform:none;transform:none;-webkit-transform:none}.wpr-grid-slider-nav-position-default .wpr-grid-slider-next-arrow{-ms-transform:translateY(0) rotate(180deg);transform:translateY(0) rotate(180deg);-webkit-transform:translateY(0) rotate(180deg)}.wpr-grid-slider-nav-align-bottom-center .wpr-grid-slider-arrow-container,.wpr-grid-slider-nav-align-top-center .wpr-grid-slider-arrow-container{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.wpr-grid-slider-arrow{position:absolute;z-index:120;top:50%;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;text-align:center;cursor:pointer}.wpr-grid-slider-arrow i{display:block;width:100%;height:100%}.wpr-grid-slider-prev-arrow{left:1%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-grid-slider-next-arrow{right:1%;-webkit-transform:translateY(-50%) rotate(180deg);-ms-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg)}.wpr-grid-slider-nav-fade .wpr-grid-slider-arrow-container{opacity:0;visibility:hidden}.wpr-grid-slider-nav-fade:hover .wpr-grid-slider-arrow-container{opacity:1;visibility:visible}.wpr-grid-slider-dots{display:inline-table;position:absolute;z-index:110;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.wpr-grid-slider-dots ul{list-style:none;margin:0;padding:0}.wpr-grid-slider-dots-horizontal .wpr-grid-slider-dots li,.wpr-grid-slider-dots-pro-vr .slick-dots li{float:left}.wpr-grid.slick-dotted.slick-slider{margin-bottom:0!important}.wpr-grid-slider-dots-vertical .slick-dots li{display:block;width:auto!important;height:auto!important;margin:0!important}.wpr-grid-slider-dots-horizontal .slick-dots li,.wpr-grid-slider-dots-pro-vr .slick-dots li{width:auto!important;padding-top:10px;margin:0!important}.wpr-grid-slider-dots-horizontal .slick-dots li:last-child span{margin-right:0!important}.wpr-grid-slider-dot{display:block;cursor:pointer}.wpr-grid-slider-dots li:last-child .wpr-grid-slider-dot{margin:0!important}.wpr-grid-item-protected{position:absolute;top:0;left:0;z-index:11!important;width:100%;height:100%}.wpr-grid-item-protected i{font-size:22px}.wpr-grid-item-protected input{width:50%;border:none;margin-top:10px;padding:7px 13px;font-size:13px}.elementor-widget-wpr-grid .wpr-grid-media-hover-bg,.elementor-widget-wpr-media-grid .wpr-grid-media-hover-bg,.elementor-widget-wpr-woo-grid .wpr-grid-media-hover-bg{background-color:rgba(0,0,0,.25)}.elementor-widget-wpr-magazine-grid .wpr-grid-media-hover-bg{background-image:-o-linear-gradient(top,rgba(255,255,255,0) 46%,rgba(96,91,229,.87) 100%);background-image:-webkit-gradient(linear,left top,left bottom,color-stop(46%,rgba(255,255,255,0)),to(rgba(96,91,229,.87)));background-image:linear-gradient(180deg,rgba(255,255,255,0) 46%,rgba(96,91,229,.87) 100%)}.elementor-widget-wpr-grid .wpr-grid-item-title,.elementor-widget-wpr-woo-grid .wpr-grid-item-title{font-size:21px;font-weight:700;line-height:23px;margin:0}.elementor-widget-wpr-magazine-grid .wpr-grid-item-title{font-size:22px;margin:0}.elementor-widget-wpr-media-grid .wpr-grid-item-title{font-size:15px;font-weight:500;margin:0}.elementor-widget-wpr-grid .wpr-grid-cf-style-1,.elementor-widget-wpr-grid .wpr-grid-filters li,.elementor-widget-wpr-grid .wpr-grid-item-author,.elementor-widget-wpr-grid .wpr-grid-item-content,.elementor-widget-wpr-grid .wpr-grid-item-excerpt,.elementor-widget-wpr-grid .wpr-grid-item-likes,.elementor-widget-wpr-grid .wpr-grid-item-protected p,.elementor-widget-wpr-grid .wpr-grid-item-read-more a,.elementor-widget-wpr-grid .wpr-grid-item-sharing,.elementor-widget-wpr-grid .wpr-grid-item-time,.elementor-widget-wpr-grid .wpr-grid-pagination,.elementor-widget-wpr-grid .wpr-grid-tax-style-1,.elementor-widget-wpr-magazine-grid .wpr-grid-item-content,.elementor-widget-wpr-magazine-grid .wpr-grid-item-excerpt,.elementor-widget-wpr-media-grid .wpr-grid-filters li,.elementor-widget-wpr-media-grid .wpr-grid-item-sharing,.elementor-widget-wpr-woo-grid .wpr-grid-item-add-to-cart a,.elementor-widget-wpr-woo-grid .wpr-grid-item-content,.elementor-widget-wpr-woo-grid .wpr-grid-item-lightbox,.elementor-widget-wpr-woo-grid .wpr-grid-item-likes,.elementor-widget-wpr-woo-grid .wpr-grid-item-price .inner-block>span,.elementor-widget-wpr-woo-grid .wpr-grid-item-sharing,.elementor-widget-wpr-woo-grid .wpr-grid-item-status .inner-block>span,.elementor-widget-wpr-woo-grid .wpr-grid-pagination,.elementor-widget-wpr-woo-grid .wpr-grid-product-categories,.elementor-widget-wpr-woo-grid .wpr-grid-product-tags,.elementor-widget-wpr-woo-grid .wpr-woo-rating span{font-size:14px}.elementor-widget-wpr-magazine-grid .wpr-grid-tax-style-1{font-size:12px;list-style-position:0.5px}.elementor-widget-wpr-magazine-grid .wpr-grid-item-author,.elementor-widget-wpr-magazine-grid .wpr-grid-item-date,.elementor-widget-wpr-magazine-grid .wpr-grid-item-time{font-size:12px;list-style-position:0.3px}.elementor-widget-wpr-grid .wpr-grid-item-comments,.elementor-widget-wpr-grid .wpr-grid-item-date,.elementor-widget-wpr-grid .wpr-grid-tax-style-2,.elementor-widget-wpr-media-grid .wpr-grid-item-author,.elementor-widget-wpr-media-grid .wpr-grid-item-caption,.elementor-widget-wpr-media-grid .wpr-grid-item-date,.elementor-widget-wpr-media-grid .wpr-grid-item-likes,.elementor-widget-wpr-media-grid .wpr-grid-item-time,.elementor-widget-wpr-media-grid .wpr-grid-tax-style-1,.elementor-widget-wpr-media-grid .wpr-grid-tax-style-2,.elementor-widget-wpr-media-magazine-grid .wpr-grid-tax-style-2{font-size:14px}.elementor-widget-wpr-grid .wpr-grid-item-lightbox,.elementor-widget-wpr-media-grid .wpr-grid-item-lightbox{font-size:18px}.elementor-widget-wpr-grid .wpr-grid-cf-style-2,.elementor-widget-wpr-media-grid .wpr-grid-pagination{font-size:15px}.elementor-widget-wpr-grid .wpr-grid-tax-style-2 .inner-block a{background-color:#605be5}.elementor-widget-wpr-grid .wpr-grid-tax-style-2 .inner-block a:hover{background-color:#4a45d2}.wpr-magazine-grid{display:-ms-grid;display:grid;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-ms-grid-rows:1fr 1fr;grid-template-rows:1fr 1fr}.wpr-mgzn-grid-item{padding:0!important;text-align:center}.wpr-mgzn-grid-1vh-3h{-ms-grid-rows:auto;grid-template-rows:auto}.wpr-mgzn-grid-1-1-1{-ms-grid-rows:1fr;grid-template-rows:1fr}.wpr-mgzn-grid-1-1-3,.wpr-mgzn-grid-2-3{-ms-grid-columns:(1fr)[6];grid-template-columns:repeat(6,1fr)}.wpr-mgzn-grid-2-h{-ms-grid-columns:(1fr)[2];grid-template-columns:repeat(2,1fr)}.wpr-mgzn-grid-3-h{-ms-grid-columns:(1fr)[3];grid-template-columns:repeat(3,1fr)}.wpr-mgzn-grid-4-h{-ms-grid-columns:(1fr)[4];grid-template-columns:repeat(4,1fr)}.wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(1){-ms-grid-column:1;grid-column-start:1;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:3;grid-row-end:4}.wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(2){-ms-grid-column:2;grid-column-start:2}.wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(3){-ms-grid-column:2;grid-column-start:2}.wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(4){-ms-grid-column:2;grid-column-start:2}.wpr-mgzn-grid-1-1-2 .wpr-mgzn-grid-item:nth-child(1),.wpr-mgzn-grid-1-2 .wpr-mgzn-grid-item:nth-child(1),.wpr-mgzn-grid-1-3 .wpr-mgzn-grid-item:nth-child(1),.wpr-mgzn-grid-1-4 .wpr-mgzn-grid-item:nth-child(1){-ms-grid-column:1;grid-column-start:1;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:2;grid-row-end:3}.wpr-mgzn-grid-1-1-2 .wpr-mgzn-grid-item:nth-child(2){-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:2;grid-row-end:3}.wpr-mgzn-grid-2-1-2 .wpr-mgzn-grid-item:nth-child(2){-ms-grid-column:2;grid-column-start:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:2;grid-row-end:3}.wpr-mgzn-grid-1-3 .wpr-mgzn-grid-item:nth-child(2){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:2;grid-column-end:4}.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(1),.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(2),.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(1),.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(2){-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(1){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:3;grid-column-end:4}.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(2){-ms-grid-column:4;grid-column-start:4;-ms-grid-column-span:3;grid-column-end:7}.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(1){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:4;grid-column-end:5}.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(2){-ms-grid-column:5;grid-column-start:5;-ms-grid-column-span:2;grid-column-end:7}.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(3),.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(4),.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(5),.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(3),.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(4),.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(5){-ms-grid-row:2;grid-row-start:2;-ms-grid-row-span:1;grid-row-end:3}.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(3),.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(3){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:2;grid-column-end:3}.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(4),.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(4){-ms-grid-column:3;grid-column-start:3;-ms-grid-column-span:2;grid-column-end:5}.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(5),.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(5){-ms-grid-column:5;grid-column-start:5;-ms-grid-column-span:2;grid-column-end:7}.wpr-magazine-grid .wpr-grid-image-wrap,.wpr-magazine-grid .wpr-grid-item-inner,.wpr-magazine-grid .wpr-grid-media-wrap{height:100%}.wpr-magazine-grid .wpr-grid-image-wrap{background-size:cover;background-position:center center}.wpr-magazine-grid .wpr-grid-media-hover{z-index:1}@media screen and (max-width:1024px){.wpr-magazine-grid.wpr-mgzn-grid-1-2{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:1fr 1fr 1fr;grid-template-rows:1fr 1fr 1fr}.wpr-magazine-grid.wpr-mgzn-grid-1-2>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-2>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-2>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-2>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-2>:nth-child(5){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-2>:nth-child(6){-ms-grid-row:3;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-2 article:nth-child(1){-ms-grid-column-span:3!important;grid-column-end:3!important}.wpr-magazine-grid.wpr-mgzn-grid-1-3{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:1fr 1fr 1fr!important;grid-template-rows:1fr 1fr 1fr!important}.wpr-magazine-grid.wpr-mgzn-grid-1-3>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-3>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-3>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-3>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-3>:nth-child(5){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-3>:nth-child(6){-ms-grid-row:3;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-3 article:nth-child(1){-ms-grid-column-span:3!important;grid-column-end:3!important;-ms-grid-row-span:2!important;grid-row-end:2!important}.wpr-magazine-grid.wpr-mgzn-grid-1-3 article:nth-child(2){-ms-grid-column:1!important;grid-column-start:1!important;-ms-grid-column-span:2!important;grid-column-end:3!important}.wpr-magazine-grid.wpr-mgzn-grid-1-4{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:(1fr)[3];grid-template-rows:repeat(3,1fr)}.wpr-magazine-grid.wpr-mgzn-grid-1-4>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-4>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-4>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-4>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-4>:nth-child(5){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-4>:nth-child(6){-ms-grid-row:3;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-4 article:nth-child(1){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:2;grid-column-end:3;-ms-grid-row-span:1!important;grid-row-end:1!important}.wpr-magazine-grid.wpr-mgzn-grid-1-1-2{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:1fr 1fr 1fr!important;grid-template-rows:1fr 1fr 1fr!important}.wpr-magazine-grid.wpr-mgzn-grid-1-1-2>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-1-2>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-2>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-1-2>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-2>:nth-child(5){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-1-2>:nth-child(6){-ms-grid-row:3;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-2 article:nth-child(1){-ms-grid-column-span:3;grid-column-end:3;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-2 article:nth-child(2){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:2;grid-column-end:3;-ms-grid-row:2;grid-row-start:2;-ms-grid-row-span:1;grid-row-end:3}.wpr-magazine-grid.wpr-mgzn-grid-2-1-2{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:1fr 1fr 1fr!important;grid-template-rows:1fr 1fr 1fr!important}.wpr-magazine-grid.wpr-mgzn-grid-2-1-2>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-2-1-2>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-2-1-2>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-2-1-2>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-2-1-2>:nth-child(5){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-2-1-2>:nth-child(6){-ms-grid-row:3;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-2-1-2 article:nth-child(2){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:2;grid-column-end:3;-ms-grid-row:2;grid-row-start:2}.wpr-magazine-grid.wpr-mgzn-grid-1vh-3h{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important}.wpr-magazine-grid.wpr-mgzn-grid-1-1-1{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:1fr 1fr!important;grid-template-rows:1fr 1fr!important}.wpr-magazine-grid.wpr-mgzn-grid-1-1-1>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-1-1>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-1>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-1-1>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-1 article:nth-child(2){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:2;grid-column-end:3;-ms-grid-row:1;grid-row-start:1}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:(1fr)[3];grid-template-rows:repeat(3,1fr)}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3>:nth-child(5){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3>:nth-child(6){-ms-grid-row:3;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(1){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:2;grid-column-end:3;-ms-grid-row-span:2;grid-row-end:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(2){-ms-grid-row:2;grid-row-start:2;-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(3){-ms-grid-row:2;grid-row-start:2;-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(4){-ms-grid-row:3;grid-row-start:3;-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(5){-ms-grid-row:3;grid-row-start:3;-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3}.wpr-magazine-grid.wpr-mgzn-grid-2-3{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:(1fr)[6]!important;grid-template-rows:repeat(6,1fr)!important}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(5){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(6){-ms-grid-row:3;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(7){-ms-grid-row:4;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(8){-ms-grid-row:4;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(9){-ms-grid-row:5;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(10){-ms-grid-row:5;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(11){-ms-grid-row:6;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(12){-ms-grid-row:6;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(1){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:3;grid-row-end:4}.wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(2){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:4;grid-row-start:4;-ms-grid-row-span:3;grid-row-end:7}.wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(3){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:2;grid-row-end:3}.wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(4){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:3;grid-row-start:3;-ms-grid-row-span:2;grid-row-end:5}.wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(5){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:5;grid-row-start:5;-ms-grid-row-span:2;grid-row-end:7}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:(1fr)[2]!important;grid-template-rows:repeat(2,1fr)!important}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:(1fr)[4]!important;grid-template-rows:repeat(4,1fr)!important}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>:nth-child(5){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>:nth-child(6){-ms-grid-row:3;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>:nth-child(7){-ms-grid-row:4;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>:nth-child(8){-ms-grid-row:4;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:(1fr)[6]!important;grid-template-rows:repeat(6,1fr)!important}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(5){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(6){-ms-grid-row:3;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(7){-ms-grid-row:4;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(8){-ms-grid-row:4;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(9){-ms-grid-row:5;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(10){-ms-grid-row:5;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(11){-ms-grid-row:6;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(12){-ms-grid-row:6;-ms-grid-column:2}}@media screen and (max-width:767px){.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1{-ms-grid-columns:1fr!important;grid-template-columns:1fr!important;-ms-grid-rows:(1fr)[3]!important;grid-template-rows:repeat(3,1fr)!important}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1>:nth-child(2){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1>:nth-child(3){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2{-ms-grid-columns:1fr!important;grid-template-columns:1fr!important;-ms-grid-rows:(1fr)[6]!important;grid-template-rows:repeat(6,1fr)!important}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>:nth-child(2){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>:nth-child(3){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>:nth-child(4){-ms-grid-row:4;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>:nth-child(5){-ms-grid-row:5;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>:nth-child(6){-ms-grid-row:6;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3{-ms-grid-columns:1fr!important;grid-template-columns:1fr!important;-ms-grid-rows:(1fr)[9]!important;grid-template-rows:repeat(9,1fr)!important}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>:nth-child(2){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>:nth-child(3){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>:nth-child(4){-ms-grid-row:4;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>:nth-child(5){-ms-grid-row:5;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>:nth-child(6){-ms-grid-row:6;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>:nth-child(7){-ms-grid-row:7;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>:nth-child(8){-ms-grid-row:8;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>:nth-child(9){-ms-grid-row:9;-ms-grid-column:1}}.wpr-sharing-buttons .wpr-sharing-icon{overflow:hidden;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;color:#fff!important}.wpr-sharing-buttons .wpr-sharing-icon i{display:block;text-align:center}.wpr-sharing-label{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.elementor-widget-wpr-sharing-buttons.elementor-grid-0 .wpr-sharing-buttons,.elementor-widget-wpr-sharing-buttons[class*=elementor-grid-pro-] .wpr-sharing-buttons{display:-webkit-box;display:-ms-flexbox;display:flex}.elementor-widget-wpr-sharing-buttons:not(.elementor-grid-0):not(.elementor-grid-pro-3):not(.elementor-grid-pro-4):not(.elementor-grid-pro-5):not(.elementor-grid-pro-6) .wpr-sharing-label-off .wpr-sharing-icon i{width:100%!important}.wpr-sharing-buttons.wpr-sharing-col-1 .wpr-sharing-icon{width:100%;margin-right:0!important}.wpr-sharing-buttons .wpr-sharing-icon:last-child,.wpr-sharing-col-1 .wpr-sharing-buttons .wpr-sharing-icon,.wpr-sharing-col-2 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(2n),.wpr-sharing-col-3 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(3n),.wpr-sharing-col-4 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(4n),.wpr-sharing-col-5 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(5n),.wpr-sharing-col-6 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(6n){margin-right:0!important}.wpr-sharing-buttons .wpr-sharing-icon{transition-propery:opacity,border-color;-webkit-transition-timing-function:linear;-o-transition-timing-function:linear;transition-timing-function:linear}.wpr-sharing-buttons .wpr-sharing-icon i,.wpr-sharing-buttons .wpr-sharing-icon span{transition-propery:color,background-color;-webkit-transition-timing-function:linear;-o-transition-timing-function:linear;transition-timing-function:linear}.wpr-sharing-official .wpr-sharing-icon:hover{opacity:.85}.wpr-sharing-official .wpr-sharing-facebook-f i,.wpr-sharing-official .wpr-sharing-facebook-f span{background-color:#3b5998}.wpr-sharing-official .wpr-sharing-twitter i,.wpr-sharing-official .wpr-sharing-twitter span{background-color:#1da1f2}.wpr-sharing-official .wpr-sharing-linkedin-in i,.wpr-sharing-official .wpr-sharing-linkedin-in span{background-color:#0077b5}.wpr-sharing-official .wpr-sharing-pinterest-p i,.wpr-sharing-official .wpr-sharing-pinterest-p span{background-color:#bd081c}.wpr-sharing-official .wpr-sharing-reddit i,.wpr-sharing-official .wpr-sharing-reddit span{background-color:#ff4500}.wpr-sharing-official .wpr-sharing-tumblr i,.wpr-sharing-official .wpr-sharing-tumblr span{background-color:#35465c}.wpr-sharing-official .wpr-sharing-digg i,.wpr-sharing-official .wpr-sharing-digg span{background-color:#005be2}.wpr-sharing-official .wpr-sharing-xing i,.wpr-sharing-official .wpr-sharing-xing span{background-color:#026466}.wpr-sharing-official .wpr-sharing-stumbleupon i,.wpr-sharing-official .wpr-sharing-stumbleupon span{background-color:#eb4924}.wpr-sharing-official .wpr-sharing-vk i,.wpr-sharing-official .wpr-sharing-vk span{background-color:#45668e}.wpr-sharing-official .wpr-sharing-odnoklassniki i,.wpr-sharing-official .wpr-sharing-odnoklassniki span{background-color:#f4731c}.wpr-sharing-official .wpr-sharing-get-pocket i,.wpr-sharing-official .wpr-sharing-get-pocket span{background-color:#ef3f56}.wpr-sharing-official .wpr-sharing-skype i,.wpr-sharing-official .wpr-sharing-skype span{background-color:#00aff0}.wpr-sharing-official .wpr-sharing-whatsapp i,.wpr-sharing-official .wpr-sharing-whatsapp span{background-color:#25d366}.wpr-sharing-official .wpr-sharing-telegram i,.wpr-sharing-official .wpr-sharing-telegram span{background-color:#2ca5e0}.wpr-sharing-official .wpr-sharing-delicious i,.wpr-sharing-official .wpr-sharing-delicious span{background-color:#39f}.wpr-sharing-official .wpr-sharing-envelope i,.wpr-sharing-official .wpr-sharing-envelope span{background-color:#c13b2c}.wpr-sharing-official .wpr-sharing-print i,.wpr-sharing-official .wpr-sharing-print span{background-color:#96c859}.wpr-sharing-official .wpr-sharing-facebook-f{border-color:#3b5998}.wpr-sharing-official .wpr-sharing-twitter{border-color:#1da1f2}.wpr-sharing-official .wpr-sharing-linkedin-in{border-color:#0077b5}.wpr-sharing-official .wpr-sharing-pinterest-p{border-color:#bd081c}.wpr-sharing-official .wpr-sharing-reddit{border-color:#ff4500}.wpr-sharing-official .wpr-sharing-tumblr{border-color:#35465c}.wpr-sharing-official .wpr-sharing-digg{border-color:#005be2}.wpr-sharing-official .wpr-sharing-xing{border-color:#026466}.wpr-sharing-official .wpr-sharing-stumbleupon{border-color:#eb4924}.wpr-sharing-official .wpr-sharing-vk{border-color:#45668e}.wpr-sharing-official .wpr-sharing-odnoklassniki{border-color:#f4731c}.wpr-sharing-official .wpr-sharing-get-pocket{border-color:#ef3f56}.wpr-sharing-official .wpr-sharing-skype{border-color:#00aff0}.wpr-sharing-official .wpr-sharing-whatsapp{border-color:#25d366}.wpr-sharing-official .wpr-sharing-telegram{border-color:#2ca5e0}.wpr-sharing-official .wpr-sharing-delicious{border-color:#39f}.wpr-sharing-official .wpr-sharing-envelope{border-color:#c13b2c}.wpr-sharing-official .wpr-sharing-print{border-color:#96c859}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-facebook-f i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-facebook-f span{color:#3b5998;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-twitter i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-twitter span{color:#1da1f2;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-linkedin-in i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-linkedin-in span{color:#0077b5;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-pinterest-p i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-pinterest-p span{color:#bd081c;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-reddit i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-reddit span{color:#ff4500;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-tumblr i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-tumblr span{color:#35465c;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-digg i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-digg span{color:#005be2;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-xing i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-xing span{color:#026466;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-stumbleupon i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-stumbleupon span{color:#eb4924;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-vk i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-vk span{color:#45668e;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-odnoklassniki i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-odnoklassniki span{color:#f4731c;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-get-pocket i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-get-pocket span{color:#ef3f56;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-skype i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-skype span{color:#00aff0;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-whatsapp i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-whatsapp span{color:#25d366;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-telegram i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-telegram span{color:#2ca5e0;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-delicious i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-delicious span{color:#39f;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-envelope i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-envelope span{color:#c13b2c;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-print i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-print span{color:#96c859;background-color:transparent}.wpr-countdown-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin:0 auto}.wpr-countdown-item{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;overflow:hidden;color:#fff;text-align:center}.wpr-countdown-item:first-child{margin-left:0!important}.wpr-countdown-item:last-of-type{margin-right:0!important}.wpr-countdown-number{display:block}.wpr-countdown-separator{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center}.wpr-countdown-separator span{display:block}.wpr-countdown-separator:last-of-type{display:none!important}.wpr-countdown-wrap+div:not(.wpr-countdown-message){display:none}.wpr-countdown-message+div{display:none}.elementor-widget-wpr-countdown .wpr-countdown-item{background-color:#605be5}.elementor-widget-wpr-countdown .wpr-countdown-number{font-size:70px}.elementor-widget-wpr-countdown .wpr-countdown-label{font-size:19px;line-height:45px}.wpr-google-map .gm-style-iw-c{padding:0!important}.wpr-google-map .gm-style-iw-c>button{top:0!important;right:0!important}.wpr-google-map .gm-style-iw-c .wpr-gm-iwindow h3{margin-bottom:7px}.wpr-google-map .gm-style-iw-d{overflow:hidden!important}.wpr-google-map .gm-style img{max-width:none!important}.wpr-forms-container .wpcf7-form .wpcf7-form-control-wrap{display:block!important}.wpcf7 label,.wpcf7-quiz-label{width:100%}.wpr-forms-container .wpcf7 p{margin-bottom:0}.wpr-forms-container .wpcf7-form .ajax-loader{display:block;visibility:hidden;height:0;overflow:hidden;clear:both}.wpr-forms-container .caldera-grid select.form-control,.wpr-forms-container .nf-field-container select,.wpr-forms-container .wpcf7-date,.wpr-forms-container .wpcf7-number,.wpr-forms-container .wpcf7-select,.wpr-forms-container select.wpforms-field-medium{padding:7px 10px!important}.wpr-forms-container .wpcf7-date{width:auto!important}.wpr-forms-container .wpcf7-number{width:100px!important}.wpr-forms-container .wpcf7-form .wpcf7-submit{display:block}.wpr-forms-container .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item,.wpr-forms-container .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item,.wpr-forms-container .wpcf7-form-control.wpcf7-radio .wpcf7-list-item{margin-left:0;margin-right:10px}.wpr-forms-container .wpcf7-response-output{clear:both;margin:0}.wpr-forms-container .wpforms-field:not(.wpforms-field-address) .wpforms-field-medium{display:inline-block!important;max-width:100%!important}.wpr-forms-container .wpforms-field-address,.wpr-forms-container .wpforms-field-phone,.wpr-forms-container .wpforms-page-indicator{display:inline-block}.wpr-forms-container .wpforms-field-address .wpforms-field-medium{max-width:100%!important}.wpr-forms-container .intl-tel-input.allow-dropdown input.wpforms-field-medium,.wpr-forms-container .wpforms-field-address div.wpforms-field-medium{width:100%!important;max-width:100%!important}.wpr-forms-container .intl-tel-input.allow-dropdown{display:inline-block!important;max-width:100%!important}.wpr-forms-align-left .wpr-forms-container div.wpforms-container-full .wpforms-form .wpforms-list-inline ul li:last-child{margin-right:0!important}.wpr-forms-container .caldera-grid .alert-success,.wpr-forms-container .nf-response-msg,.wpr-forms-container .wpcf7-mail-sent-ok,.wpr-forms-container .wpforms-confirmation-container-full{padding:10px 15px;border:2px solid}.wpr-forms-container label.wpforms-error a{text-decoration:underline}.wpr-forms-container .wpforms-smart-phone-field{text-indent:0!important}.wpr-forms-container select.ninja-forms-field{line-height:1!important}.wpr-forms-container .nf-form-wrap .checkbox-wrap label{display:inline-block!important}.wpr-forms-container .nf-form-wrap .starrating .stars{display:inline-block}.wpr-forms-submit-center .caldera-grid .btn-default:not(a),.wpr-forms-submit-center .submit-wrap .ninja-forms-field,.wpr-forms-submit-center .wpcf7-submit,.wpr-forms-submit-center .wpforms-page-next,.wpr-forms-submit-center .wpforms-page-previous,.wpr-forms-submit-center .wpforms-submit{display:block!important;margin-left:auto!important;margin-right:auto!important}.wpr-forms-submit-left .caldera-grid .btn-default:not(a),.wpr-forms-submit-left .submit-wrap .ninja-forms-field,.wpr-forms-submit-left .wpcf7-submit,.wpr-forms-submit-left .wpforms-page-next,.wpr-forms-submit-left .wpforms-page-previous,.wpr-forms-submit-left .wpforms-submit{float:left!important}.wpr-forms-submit-left .caldera-grid .btn-default:not(a),.wpr-forms-submit-right .submit-wrap .ninja-forms-field,.wpr-forms-submit-right .wpcf7-submit,.wpr-forms-submit-right .wpforms-page-next,.wpr-forms-submit-right .wpforms-page-previous,.wpr-forms-submit-right .wpforms-submit{float:right!important}.wpr-forms-submit-justify .caldera-grid .btn-default:not(a),.wpr-forms-submit-justify .submit-wrap .ninja-forms-field,.wpr-forms-submit-justify .wpcf7-submit,.wpr-forms-submit-justify .wpforms-page-next,.wpr-forms-submit-justify .wpforms-page-previous,.wpr-forms-submit-justify .wpforms-submit{display:block!important;width:100%!important;text-align:center!important}.wpr-custom-chk-radio .wpcf7-acceptance input,.wpr-custom-chk-radio .wpcf7-checkbox input,.wpr-custom-chk-radio .wpcf7-radio input,.wpr-custom-chk-radio .wpforms-field-checkbox input,.wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input,.wpr-custom-chk-radio .wpforms-field-radio input{display:none!important}.wpr-custom-chk-radio .wpcf7-acceptance .wpcf7-list-item-label,.wpr-custom-chk-radio .wpcf7-checkbox .wpcf7-list-item-label,.wpr-custom-chk-radio .wpcf7-radio .wpcf7-list-item-label,.wpr-custom-chk-radio .wpforms-field-checkbox input+label,.wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input+label,.wpr-custom-chk-radio .wpforms-field-radio input+label,.wpr-custom-chk-radio .wpforms-field-radio input+span{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.wpr-custom-chk-radio .wpcf7-acceptance .wpcf7-list-item-label:before,.wpr-custom-chk-radio .wpcf7-checkbox .wpcf7-list-item-label:before,.wpr-custom-chk-radio .wpcf7-radio .wpcf7-list-item-label:before,.wpr-custom-chk-radio .wpforms-field-checkbox input+label:before,.wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input+label:before,.wpr-custom-chk-radio .wpforms-field-radio input+label:before,.wpr-custom-chk-radio .wpforms-field-radio input:not(.wpforms-screen-reader-element)+span:before{content:"\2714";display:inline-block;position:relative;top:-1px;text-align:center;border:1px solid;margin-right:5px;color:transparent}.wpr-forms-align-right .wpforms-field-checkbox ul li input:first-child,.wpr-forms-align-right .wpforms-field-gdpr-checkbox input:first-child,.wpr-forms-align-right .wpforms-field-radio ul li input:first-child,.wpr-forms-align-right .wpforms-image-choices label input:first-of-type{float:right;margin-right:0!important;margin-left:10px!important}.wpr-forms-align-right .wpr-forms-container,.wpr-forms-align-right .wpr-forms-container .wpcf7-form-control{direction:rtl}.wpr-forms-align-right .nf-form-wrap .field-wrap{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.wpr-forms-align-right .label-right .nf-field-description{margin-right:0!important}.wpr-forms-align-right .nf-error.field-wrap .nf-field-element:after{right:auto!important;left:1px!important}.wpr-forms-align-right .wpr-custom-chk-radio .wpcf7-acceptance .wpcf7-list-item-label:before,.wpr-forms-align-right .wpr-custom-chk-radio .wpcf7-checkbox .wpcf7-list-item-label:before,.wpr-forms-align-right .wpr-custom-chk-radio .wpcf7-radio .wpcf7-list-item-label:before,.wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-checkbox input+label:before,.wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input+label:before,.wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-radio input+label:before,.wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-radio input:not(.wpforms-screen-reader-element)+span:before{margin-right:0;margin-left:5px}.wpr-forms-align-right .wpcf7-acceptance .wpcf7-list-item,.wpr-forms-align-right .wpcf7-list-item.last,.wpr-forms-align-right div.wpforms-container-full .wpforms-form .wpforms-list-inline ul li:first-child{margin-right:0!important}.wpr-forms-align-right .wpr-forms-container .intl-tel-input .flag-container{left:auto!important;right:0!important}.wpr-forms-align-right .caldera-grid .col-sm-4,.wpr-forms-align-right .caldera-grid .col-sm-6{float:right}.wpr-forms-align-right .wpr-forms-container .caldera-grid .checkbox label,.wpr-forms-align-right .wpr-forms-container .caldera-grid .checkbox-inline label,.wpr-forms-align-right .wpr-forms-container .caldera-grid .radio label{padding-left:0!important;padding-right:20px}.wpr-forms-align-right .wpr-forms-container .caldera-grid .checkbox input,.wpr-forms-align-right .wpr-forms-container .caldera-grid .radio input{margin-right:-20px!important;margin-left:0!important}.wpr-forms-align-right .wpr-forms-container .caldera-grid .cf-credit-card{background-position:99% center!important}.wpr-forms-align-right .wpr-forms-container .caldera-grid .live-gravatar{text-align:right!important}.wpr-forms-align-left .wpr-forms-container .caldera-grid .live-gravatar{text-align:left!important}.wpr-forms-container .nf-form-content{padding:0;max-width:none}.wpr-forms-container .nf-form-content .label-above .field-wrap{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-forms-container .nf-form-content .label-above .nf-field-label{margin-top:0}.wpr-forms-container .field-wrap:not(.textarea-wrap):not(.submit-wrap) .ninja-forms-field{border-radius:0}.wpr-forms-container .field-wrap.textarea-wrap .ninja-forms-field{display:block}.wpr-forms-container .field-wrap.submit-wrap .ninja-forms-field{cursor:pointer}.wpr-forms-container .listselect-wrap>div select.ninja-forms-field{-webkit-appearance:menulist;-moz-appearance:menulist;appearance:menulist}.wpr-forms-container .nf-form-content .list-select-wrap .nf-field-element>div,.wpr-forms-container .nf-form-content input:not([type=button]),.wpr-forms-container .nf-form-content textarea{background:0 0;border:none}.wpr-forms-container .checkbox-container.label-right .field-wrap{display:block}.wpr-forms-container .listcheckbox-wrap ul li,.wpr-forms-container .listradio-wrap ul li{display:inline-block;margin-right:10px!important;margin-bottom:7px!important}.wpr-forms-container .listcheckbox-container .nf-field-element label:after{top:1px}.wpr-forms-container .listradio-wrap .nf-field-element label{margin-left:25px!important}.wpr-forms-container .listradio-wrap .nf-field-element label:after{top:0;left:-25px}.wpr-forms-container .listradio-wrap .nf-field-element label.nf-checked-label:before{top:4px;left:-21px}.wpr-forms-container .checkbox-wrap label,.wpr-forms-container .listcheckbox-wrap label,.wpr-forms-container .listradio-wrap label{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.wpr-forms-container .nf-error.field-wrap .nf-field-element:after{top:0!important;bottom:0!important;height:auto!important}.wpr-forms-container .wpforms-form .wpforms-field,.wpr-forms-container .wpforms-submit-container{padding:0!important}.wpr-forms-container .wpforms-container,.wpr-forms-container .wpforms-field-address .wpforms-field-row:nth-last-child(2),.wpr-forms-container div.wpforms-container-full .wpforms-form .wpforms-field-row{margin-bottom:0!important}.wpr-forms-container .wpforms-submit-container:after{content:" ";clear:both;display:table}.wpr-forms-container .caldera-grid .help-block{margin-bottom:0}.wpr-forms-container .caldera-grid .caldera-forms-gdpr-field-label a{text-decoration:underline}.wpr-forms-container .caldera-grid .intl-tel-input input{text-indent:40px}.wpr-forms-container .caldera-grid input.cf-credit-card{text-indent:33px}.wpr-forms-container .caldera-grid .cf-credit-card{background-position:5px center!important}.wpr-forms-container .cf2-dropzone .form-control{height:auto}.wpr-forms-container .caldera-grid .form-group input,.wpr-forms-container .caldera-grid .form-group textarea{-webkit-box-shadow:none;box-shadow:none}.wpr-forms-container .caldera-grid .has-error .form-control{-webkit-box-shadow:none;box-shadow:none}.wpr-forms-container .caldera-grid .alert-success{text-shadow:none}.elementor-widget-wpr-forms .nf-form-title h3,.elementor-widget-wpr-forms .wpforms-head-container .wpforms-title{font-size:28px;font-weight:800}.elementor-widget-wpr-forms .nf-form-fields-required,.elementor-widget-wpr-forms .wpforms-head-container .wpforms-description{font-size:14px}.elementor-widget-wpr-forms .caldera-forms-summary-field ul li,.elementor-widget-wpr-forms .caldera-grid .caldera-forms-gdpr-field-label,.elementor-widget-wpr-forms .caldera-grid .checkbox label,.elementor-widget-wpr-forms .caldera-grid .control-label,.elementor-widget-wpr-forms .caldera-grid .radio label,.elementor-widget-wpr-forms .caldera-grid .total-line,.elementor-widget-wpr-forms .nf-field-container label,.elementor-widget-wpr-forms .wpcf7-form,.elementor-widget-wpr-forms .wpforms-captcha-equation,.elementor-widget-wpr-forms .wpforms-captcha-question,.elementor-widget-wpr-forms .wpforms-field-label,.elementor-widget-wpr-forms .wpforms-field-label-inline,.elementor-widget-wpr-forms .wpforms-image-choices-label,.elementor-widget-wpr-forms .wpforms-payment-total,.elementor-widget-wpr-forms .wpr-forms-container .nf-response-msg,.elementor-widget-wpr-forms .wpr-forms-container .wpforms-confirmation-container-full{font-size:14px}.elementor-widget-wpr-forms .caldera-grid .form-control[type=color_picker],.elementor-widget-wpr-forms .caldera-grid .form-control[type=credit_card_cvc],.elementor-widget-wpr-forms .caldera-grid .form-control[type=email],.elementor-widget-wpr-forms .caldera-grid .form-control[type=number],.elementor-widget-wpr-forms .caldera-grid .form-control[type=phone],.elementor-widget-wpr-forms .caldera-grid .form-control[type=tel],.elementor-widget-wpr-forms .caldera-grid .form-control[type=text],.elementor-widget-wpr-forms .caldera-grid .form-control[type=url],.elementor-widget-wpr-forms .caldera-grid select.form-control,.elementor-widget-wpr-forms .caldera-grid textarea.form-control,.elementor-widget-wpr-forms .ninja-forms-field,.elementor-widget-wpr-forms .wpcf7-date,.elementor-widget-wpr-forms .wpcf7-number,.elementor-widget-wpr-forms .wpcf7-quiz,.elementor-widget-wpr-forms .wpcf7-select,.elementor-widget-wpr-forms .wpcf7-text,.elementor-widget-wpr-forms .wpcf7-textarea,.elementor-widget-wpr-forms .wpforms-form input[type=date],.elementor-widget-wpr-forms .wpforms-form input[type=datetime-local],.elementor-widget-wpr-forms .wpforms-form input[type=datetime],.elementor-widget-wpr-forms .wpforms-form input[type=email],.elementor-widget-wpr-forms .wpforms-form input[type=month],.elementor-widget-wpr-forms .wpforms-form input[type=number],.elementor-widget-wpr-forms .wpforms-form input[type=password],.elementor-widget-wpr-forms .wpforms-form input[type=range],.elementor-widget-wpr-forms .wpforms-form input[type=search],.elementor-widget-wpr-forms .wpforms-form input[type=tel],.elementor-widget-wpr-forms .wpforms-form input[type=text],.elementor-widget-wpr-forms .wpforms-form input[type=time],.elementor-widget-wpr-forms .wpforms-form input[type=url],.elementor-widget-wpr-forms .wpforms-form input[type=week],.elementor-widget-wpr-forms .wpforms-form select,.elementor-widget-wpr-forms .wpforms-form textarea{font-size:13px;letter-spacing:.2px}.elementor-widget-wpr-forms .caldera-grid .btn-default,.elementor-widget-wpr-forms .caldera-grid .cf2-dropzone button,.elementor-widget-wpr-forms .submit-wrap .ninja-forms-field,.elementor-widget-wpr-forms .wpcf7-submit,.elementor-widget-wpr-forms .wpforms-page-next,.elementor-widget-wpr-forms .wpforms-page-previous,.elementor-widget-wpr-forms .wpforms-submit{background-color:#605be5}.elementor-widget-wpr-forms .caldera-grid .btn-default:hover,.elementor-widget-wpr-forms .caldera-grid .btn-success,.elementor-widget-wpr-forms .caldera-grid .cf2-dropzone button:hover,.elementor-widget-wpr-forms .submit-wrap .ninja-forms-field:hover,.elementor-widget-wpr-forms .wpcf7-submit:hover,.elementor-widget-wpr-forms .wpforms-page-next:hover,.elementor-widget-wpr-forms .wpforms-page-previous:hover,.elementor-widget-wpr-forms .wpforms-submit:hover{background-color:#4a45d2}.elementor-widget-wpr-forms .wpr-forms-container .caldera_ajax_error_block,.elementor-widget-wpr-forms .wpr-forms-container .nf-error-msg,.elementor-widget-wpr-forms .wpr-forms-container .wpcf7-not-valid-tip,.elementor-widget-wpr-forms .wpr-forms-container .wpcf7-response-output,.elementor-widget-wpr-forms .wpr-forms-container label.wpforms-error{font-size:14px}.elementor-widget-wpr-forms .caldera-forms-summary-field ul li,.elementor-widget-wpr-forms .caldera-grid .caldera-forms-gdpr-field-label,.elementor-widget-wpr-forms .caldera-grid .checkbox label,.elementor-widget-wpr-forms .caldera-grid .control-label,.elementor-widget-wpr-forms .caldera-grid .radio label,.elementor-widget-wpr-forms .caldera-grid .total-line,.elementor-widget-wpr-forms .nf-field-container label,.elementor-widget-wpr-forms .wpcf7-form,.elementor-widget-wpr-forms .wpforms-captcha-equation,.elementor-widget-wpr-forms .wpforms-captcha-question,.elementor-widget-wpr-forms .wpforms-field-label,.elementor-widget-wpr-forms .wpforms-field-label-inline,.elementor-widget-wpr-forms .wpforms-image-choices-label,.elementor-widget-wpr-forms .wpforms-payment-total,.elementor-widget-wpr-forms .wpr-forms-container .nf-response-msg,.elementor-widget-wpr-forms .wpr-forms-container .wpforms-confirmation-container-full{font-weight:400}.elementor-widget-wpr-forms.caldera-grid .help-block,.elementor-widget-wpr-forms.nf-field-description,.elementor-widget-wpr-forms.wpforms-field-description,.elementor-widget-wpr-forms.wpforms-field-sublabel{font-size:14px}.wpr-ba-image-container{position:relative;overflow:hidden}.wpr-ba-image-container *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.wpr-ba-image-1 img,.wpr-ba-image-2 img{max-width:100%;width:100%}.wpr-ba-image-2{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden}.wpr-ba-image-2 img{position:absolute;top:0}.wpr-ba-divider{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:0;left:50%;z-index:3;height:100%;cursor:pointer;-ms-touch-action:none;touch-action:none}.wpr-ba-divider-icons{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-ba-vertical .wpr-ba-divider-icons{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-ba-horizontal .wpr-ba-divider-icons i:first-child{text-align:right;padding-right:10%}.wpr-ba-horizontal .wpr-ba-divider-icons i:last-child{text-align:left;padding-left:10%}.wpr-ba-divider-icons .fa{text-align:center}.wpr-ba-vertical .wpr-ba-divider{top:50%;left:auto;width:100%;height:auto}.wpr-ba-vertical .wpr-ba-image-2 img{top:auto}.wpr-ba-horizontal .wpr-ba-divider-icons:after,.wpr-ba-horizontal .wpr-ba-divider-icons:before{content:'';display:block;position:absolute;height:100%}.wpr-ba-vertical .wpr-ba-divider-icons:after,.wpr-ba-vertical .wpr-ba-divider-icons:before{content:'';display:block;position:absolute;width:100%}.wpr-ba-label{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;padding:15px}.wpr-ba-labels-none .wpr-ba-label{display:none}.wpr-ba-labels-hover .wpr-ba-label{opacity:0;-webkit-transition:.1s ease-in;-o-transition:.1s ease-in;transition:.1s ease-in}.wpr-ba-labels-hover:hover .wpr-ba-label{opacity:1}.wpr-ba-horizontal .wpr-ba-label{top:0;height:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-ba-horizontal .wpr-ba-label-1{left:0}.wpr-ba-horizontal .wpr-ba-label-2{right:0}.wpr-ba-vertical .wpr-ba-label{left:0;width:100%}.wpr-ba-vertical .wpr-ba-label-1{top:0}.wpr-ba-vertical .wpr-ba-label-2{bottom:0}.elementor-widget-wpr-before-after .wpr-ba-label>div{background-color:#605be5;font-size:14px}body:not(.elementor-editor-active) .wpr-template-popup{display:none}.wpr-template-popup{position:fixed;top:0;left:0;width:100%;height:100%;z-index:99999999}.wpr-template-popup-inner{display:-webkit-box;display:-ms-flexbox;display:flex;position:fixed;top:0;left:0;width:100%;height:100%}.wpr-popup-container{position:relative}.wpr-popup-container-inner{display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden;position:relative;background:#fff}.wpr-popup-container-inner>div{width:100%;-ms-flex-negative:0;flex-shrink:0}.wpr-popup-container>div{width:100%}.wpr-popup-image-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#fff}.wpr-popup-overlay{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;background:rgba(0,0,0,.7)}.wpr-popup-close-btn{display:-webkit-box;display:-ms-flexbox;display:flex;position:absolute;top:0;right:0;z-index:99;text-align:center;cursor:pointer}.wpr-popup-notification .wpr-template-popup-inner,.wpr-popup-notification.wpr-template-popup{height:auto!important}.wpr-popup-notification .wpr-popup-overlay{display:none!important}.wpr-popup-container-inner.ps-container.ps-active-y>.ps-scrollbar-y-rail,.wpr-popup-container-inner.ps.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.wpr-popup-container-inner.ps-container>.ps-scrollbar-y-rail,.wpr-popup-container-inner.ps>.ps__rail-y{display:none;position:absolute;right:3px;width:3px}.wpr-popup-container-inner.ps-container>.ps-scrollbar-y-rail>.ps-scrollbar-y,.wpr-popup-container-inner.ps>.ps__rail-y>.ps__thumb-y{position:absolute;cursor:pointer;right:0;width:3px}.wpr-popup-container .ps-scrollbar-x-rail{display:none!important}.wpr-popup-notification .wpr-popup-container .slideInDown{-webkit-animation-timing-function:linear;animation-timing-function:linear}.wpr-popup-notification .wpr-popup-container{width:100%!important;-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.wpr-popup-trigger-button{display:inline-block;font-size:14px;font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;cursor:pointer}.wpr-popup-container .elementor-editor-section-settings{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);border-radius:0 0 5px 5px}.wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:first-child{border-radius:0 0 0 5px}.wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:first-child:before{top:0;border-width:0 12px 22px 0}.wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:last-child{border-radius:0 0 5px 0}.wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:last-child:after{top:0;border-width:0 0 22px 12px}.elementor-editor-active [data-elementor-type=wpr-popups] .elementor-section-wrap:not(:empty)+#elementor-add-new-section,.elementor-editor-active [data-elementor-type=wpr-popups]:not(.elementor-edit-mode){display:none}.elementor .elementor-widget-wpr-popup-trigger .wpr-popup-trigger-button{display:inline-block;font-size:14px;font-weight:500;cursor:pointer}.elementor-editor-active [data-elementor-type=wpr-popup] .elementor-section-wrap:not(:empty)+#elementor-add-new-section,.elementor-editor-active [data-elementor-type=wpr-popup]:not(.elementor-edit-mode){display:none}.wpr-template-edit-btn{position:absolute;top:0;right:40px;display:none;line-height:1;padding:8px 13px;cursor:pointer;background:#333;color:#fff;border:1px solid #000}.elementor-editor-active .wpr-template-edit-btn{display:inline-block;opacity:0;visibility:hidden}.elementor-editor-active .elementor-element-edit-mode:hover .wpr-template-edit-btn{opacity:1;visibility:visible}.wpr-mailchimp-fields{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-mailchimp-email input,.wpr-mailchimp-email label,.wpr-mailchimp-first-name input,.wpr-mailchimp-first-name label,.wpr-mailchimp-last-name input,.wpr-mailchimp-last-name label{display:block;width:100%}.wpr-mailchimp-layout-hr .wpr-mailchimp-fields{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.wpr-mailchimp-layout-vr .wpr-mailchimp-fields{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-mailchimp-layout-hr .wpr-mailchimp-email,.wpr-mailchimp-layout-hr .wpr-mailchimp-first-name,.wpr-mailchimp-layout-hr .wpr-mailchimp-last-name{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.wpr-mailchimp-subscribe-btn{width:100%;padding:0!important;outline:0!important;cursor:pointer}.wpr-mailchimp-error-message,.wpr-mailchimp-message,.wpr-mailchimp-success-message{display:none}.elementor-widget-wpr-mailchimp .wpr-mailchimp-header h3{font-size:28px;font-weight:800;margin-top:0}.elementor-widget-wpr-mailchimp .wpr-mailchimp-header p{font-size:14px}.elementor-widget-wpr-mailchimp .wpr-mailchimp-fields label{font-size:13px}.elementor-widget-wpr-mailchimp .wpr-mailchimp-subscribe-btn{background-color:#605be5}.elementor-widget-wpr-mailchimp .wpr-mailchimp-subscribe-btn:hover{background-color:#4a45d2}.wpr-advanced-slider-wrap{position:relative}.wpr-advanced-slider{position:relative;height:500px;overflow:hidden}.wpr-slider-item{position:relative;height:500px;overflow:hidden}.wpr-slider-content{position:relative;max-width:750px;width:100%;padding:10px 50px 50px 50px;z-index:90}.wpr-slider-item-bg{position:absolute;top:0;left:0;width:100%;height:100%;background-repeat:no-repeat;background-position:center}.wpr-slider-description p,.wpr-slider-sub-title h3,.wpr-slider-title h2{display:inline-block}.wpr-slider-title h2{color:#fff;font-size:40px;font-weight:600;line-height:1.5em;padding:5px 10px 5px 10px;margin:0 0 2px 0}.wpr-slider-sub-title h3{font-size:16px;padding:5px 10px 5px 10px;margin:0 0 10px 0}.wpr-slider-description p{padding:5px 10px 5px 10px;margin:0 0 30px 0}.wpr-slider-primary-btn,.wpr-slider-secondary-btn{padding:12px 25px 12px 25px;margin:0 10px 0 10px;border-style:solid;border-width:1px;border-color:#fff;border-radius:2px}.wpr-slider-btns svg,.wpr-slider-scroll-btn svg{vertical-align:bottom}@keyframes ken-burns-in{0%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(1.3);transform:scale(1.3)}}@-webkit-keyframes ken-burns-in{0%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(1.3);transform:scale(1.3)}}@keyframes ken-burns-out{0%{-webkit-transform:scale(1.3);transform:scale(1.3)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes ken-burns-out{0%{-webkit-transform:scale(1.3);transform:scale(1.3)}100%{-webkit-transform:scale(1);transform:scale(1)}}.wpr-advanced-slider .slick-slide.slick-active .wpr-slider-item-bg{-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-duration:10s;animation-duration:10s}.wpr-advanced-slider .slick-slide.slick-active .wpr-slider-item-bg.wpr-ken-burns-in{-webkit-animation-name:ken-burns-in;animation-name:ken-burns-in;-webkit-transform:scale(1.3);-ms-transform:scale(1.3);transform:scale(1.3)}.wpr-advanced-slider .slick-slide.slick-active .wpr-slider-item-bg.wpr-ken-burns-out{-webkit-animation-name:ken-burns-out;animation-name:ken-burns-out;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.wpr-ken-burns-in{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.wpr-ken-burns-out{-webkit-transform:scale(1.3);-ms-transform:scale(1.3);transform:scale(1.3)}.wpr-slider-item-url{display:block;width:100%;height:100%;position:absolute;left:0;top:0;z-index:90}.wpr-slider-nav-position-default .wpr-slider-arrow-container{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-slider-nav-position-default .wpr-slider-arrow{position:static}.wpr-slider-nav-position-default .wpr-slider-prev-arrow{-ms-transform:none;transform:none;-webkit-transform:none}.wpr-slider-nav-position-default .wpr-slider-next-arrow{-ms-transform:translateY(0) rotate(180deg);transform:translateY(0) rotate(180deg);-webkit-transform:translateY(0) rotate(180deg)}.wpr-slider-nav-align-bottom-center .wpr-slider-arrow-container,.wpr-slider-nav-align-top-center .wpr-slider-arrow-container{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.wpr-slider-arrow{position:absolute;z-index:120;top:50%;-webkit-box-sizing:content-box;box-sizing:content-box;text-align:center;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;cursor:pointer;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wpr-slider-arrow i{display:block;line-height:inherit}.wpr-slider-prev-arrow{left:1%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-slider-next-arrow{right:1%;-webkit-transform:translateY(-50%) rotate(180deg);-ms-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg)}.wpr-slider-nav-fade .wpr-slider-arrow{opacity:0;visibility:hidden}.wpr-slider-nav-fade .wpr-advanced-slider-wrap:hover .wpr-slider-arrow{opacity:1;visibility:visible}.wpr-slider-dots{display:inline-table;position:absolute;z-index:110;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.wpr-slider-dots .slick-dots{position:static!important}.wpr-slider-dots ul{list-style:none;margin:0;padding:0}.wpr-advanced-slider.slick-dotted.slick-slider{margin-bottom:0!important}.wpr-slider-dots-vertical .slick-dots li{display:block;width:auto!important;height:auto!important;margin:0!important}.wpr-slider-dots-horizontal .slick-dots li{width:auto!important;padding-top:10px;margin:0!important}.wpr-slider-dots-horizontal .slick-dots li:last-child span,.wpr-slider-dots-pro-vr .slick-dots li:last-child span{margin-right:0!important}.wpr-slider-dots-horizontal .wpr-slider-dots li,.wpr-slider-dots-pro-vr .wpr-slider-dots li{float:left}.wpr-slider-dot{display:block;cursor:pointer}.wpr-slider-dots li:last-child .wpr-slider-dot{margin:0!important}.wpr-slider-scroll-btn{position:absolute;bottom:45px;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);display:inline-block;-webkit-transition-duration:.2s;-o-transition-duration:.2s;transition-duration:.2s;line-height:1;overflow:hidden}@-webkit-keyframes wpr-scroll-animation{0%{opacity:0;-webkit-transform:translate3d(0,-60%,0);transform:translate3d(0,-60%,0)}50%{opacity:1;-webkit-transform:translate3d(0,20%,0);transform:translate3d(0,20%,0)}100%{opacity:0;-webkit-transform:translate3d(0,20%,0);transform:translate3d(0,20%,0)}}@keyframes wpr-scroll-animation{0%{opacity:0;-webkit-transform:translate3d(0,-60%,0);transform:translate3d(0,-60%,0)}50%{opacity:1;-webkit-transform:translate3d(0,20%,0);transform:translate3d(0,20%,0)}100%{opacity:0;-webkit-transform:translate3d(0,20%,0);transform:translate3d(0,20%,0)}}.wpr-scroll-animation{-webkit-animation-name:wpr-scroll-animation;animation-name:wpr-scroll-animation;-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.wpr-slider-video{position:absolute;width:100%;height:100%;top:0;left:0;z-index:90}.wpr-slider-video-btn{margin:0 auto}.wpr-slider-video-btn i{display:block}.wpr-slider-video-icon-size-none .wpr-slider-video-btn{display:none}.wpr-slider-video-icon-size-small .wpr-slider-video-btn{height:50px;width:50px;font-size:16px;padding:16px 0 0 4px;border-width:1px}.wpr-slider-video-icon-size-medium .wpr-slider-video-btn{height:80px;width:80px;font-size:26px;padding:25px 0 0 5px;border-width:2px}.wpr-slider-video-icon-size-large .wpr-slider-video-btn{height:100px;width:100px;font-size:30px;padding:33px 0 0 7px;border-width:2px}.wpr-slider-video-btn{text-align:center;border-style:solid;border-radius:50%;cursor:pointer}.wpr-slider-item-overlay{position:absolute;left:0;top:0;width:100%;height:100%;z-index:80}.slick-slider{position:relative;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list{position:relative;display:block;overflow:hidden;margin:0;padding:0}.slick-list:focus{outline:0}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-list,.slick-slider .slick-track{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.slick-track{position:relative;top:0;left:0;display:block;margin-left:auto;margin-right:auto}.slick-track:after,.slick-track:before{display:table;content:''}.slick-track:after{clear:both}.slick-loading .slick-track{visibility:hidden}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-loading .slick-slide{visibility:hidden}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden{display:none}.wpr-pricing-table{position:relative}.wpr-pricing-table-heading{text-align:center}.wpr-pricing-table-headding-inner{display:inline-block}.wpr-pricing-table-heading-left .wpr-pricing-table-headding-inner>div,.wpr-pricing-table-heading-right .wpr-pricing-table-headding-inner>div{display:inline-block;vertical-align:top}.wpr-pricing-table-heading-left .wpr-pricing-table-icon{float:left}.wpr-pricing-table-heading-right .wpr-pricing-table-icon{float:right}.wpr-pricing-table-heading-left .wpr-pricing-table-title-wrap,.wpr-pricing-table-heading-right .wpr-pricing-table-title-wrap{text-align:left}.wpr-pricing-table-heading-center .wpr-pricing-table-icon img{margin:0 auto}.wpr-pricing-table-icon img{display:block;border-style:none}.elementor-widget-wpr-pricing-table .wpr-pricing-table-title-wrap .wpr-pricing-table-title{font-size:26px;font-weight:600}.elementor-widget-wpr-pricing-table .wpr-pricing-table-title-wrap .wpr-pricing-table-sub-title{font-size:14px}.wpr-pricing-table-price{text-align:center;font-size:65px;font-weight:500;line-height:.9}.wpr-pricing-table-price-inner{-ms-box-orient:horizontal;display:-webkit-box;display:-ms-flexbox;display:-moz-flex;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wpr-pricing-table-currency,.wpr-pricing-table-old-price,.wpr-pricing-table-preiod,.wpr-pricing-table-sub-price{line-height:1}.wpr-pricing-table-preiod{font-size:17px;line-height:1.5;-webkit-align-self:flex-end;-ms-flex-item-align:end;align-self:flex-end}.wpr-pricing-table-old-price{text-decoration:line-through!important}.wpr-pricing-table-feature{position:relative;font-size:15px}.wpr-pricing-table-feature-inner{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0 auto}.wpr-pricing-table-feature-inner span{position:relative}.wpr-pricing-table-feature-inner span.wpr-pricing-table-ftext-line-yes{text-decoration:line-through}.wpr-pricing-table-feature:after{content:"";display:block;width:100%;margin:0 auto}.wpr-pricing-table section:last-of-type:after{display:none}.wpr-pricing-table-feature-icon,.wpr-pricing-table-feature-text{display:inline}.wpr-pricing-table-feature-icon{margin-right:8px}.wpr-pricing-table-feature-tooltip{position:absolute;top:0;left:50%;border-radius:4px;padding:6px 10px;visibility:hidden;opacity:0;font-size:15px;-webkit-transform:translate(-50%,-100%);-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%);-webkit-transition:all 230ms ease-in-out 0s;-o-transition:all 230ms ease-in-out 0s;transition:all 230ms ease-in-out 0s;text-align:center}.wpr-pricing-table-feature-tooltip:before{content:"";position:absolute;left:10px;bottom:-5px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top-style:solid;border-top-width:6px}.wpr-pricing-table-feature:hover .wpr-pricing-table-feature-tooltip{visibility:visible;opacity:1;top:5px;-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%);-webkit-transform:translate(-50%,-100%)}.wpr-pricing-table-feature-tooltip:before{left:50%;-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transform:translateX(-50%)!important}.wpr-pricing-table-button{text-align:center;font-size:17px}.wpr-pricing-table-btn{position:relative;overflow:hidden;display:inline-block;vertical-align:middle;cursor:pointer}.wpr-pricing-table-btn span{position:relative;z-index:2;opacity:1!important}.wpr-pricing-table-btn:after,.wpr-pricing-table-btn:before{z-index:1!important}.wpr-pricing-table-badge{position:absolute;display:inline-block;text-align:center;z-index:2}.elementor-widget-wpr-pricing-table .wpr-pricing-table-badge .wpr-pricing-table-badge-inner{font-size:15px;font-weight:900}.wpr-pricing-table-badge-left{left:0;right:auto}.wpr-pricing-table-badge-right{left:auto;right:0}.wpr-pricing-table-badge-corner{top:0;width:200px;height:200px;overflow:hidden}.wpr-pricing-table-badge-corner .wpr-pricing-table-badge-inner{width:200%}.wpr-pricing-table-badge-corner.wpr-pricing-table-badge-right{-ms-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform:rotate(90deg)}.wpr-pricing-table-badge-cyrcle{top:0}.wpr-pricing-table-badge-cyrcle .wpr-pricing-table-badge-inner{border-radius:100%}.wpr-pricing-table-badge-flag{border-right:5px}.wpr-pricing-table-badge-flag.wpr-pricing-table-badge-left{margin-left:-10px}.wpr-pricing-table-badge-flag.wpr-pricing-table-badge-right{margin-right:-10px}.wpr-pricing-table-badge-flag:before{content:"";position:absolute;z-index:1;bottom:-5px;width:0;height:0;margin-left:-10px;border-left:10px solid transparent;border-right:10px solid transparent;border-top-style:solid;border-top-width:10px}.wpr-pricing-table-badge-flag .wpr-pricing-table-badge-inner{position:relative;z-index:2;border-top-left-radius:3px;border-top-right-radius:3px}.wpr-pricing-table-badge-flag.wpr-pricing-table-badge-left:before{left:5px;-ms-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform:rotate(90deg)}.wpr-pricing-table-badge-flag.wpr-pricing-table-badge-right:before{right:-5px;-ms-transform:rotate(-90deg);transform:rotate(-90deg);-webkit-transform:rotate(-90deg)}.wpr-pricing-table-badge-flag.wpr-pricing-table-badge-left .wpr-pricing-table-badge-inner{border-bottom-right-radius:3px}.wpr-pricing-table-badge-flag.wpr-pricing-table-badge-right .wpr-pricing-table-badge-inner{border-bottom-left-radius:3px}.wpr-pricing-table-text{font-size:13px;line-height:1.3}.wpr-pricing-table-divider{margin:0 auto}.wpr-pricing-table-animation-slide{-webkit-transition-property:margin;-o-transition-property:margin;transition-property:margin;-webkit-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.wpr-pricing-table-animation-bounce{-webkit-animation-iteration-count:1;animation-iteration-count:1}.wpr-pricing-table-animation-slide:hover{margin-top:-5px}.wpr-pricing-table-animation-bounce:hover{-webkit-animation-name:bounce;animation-name:bounce}.elementor-widget-wpr-pricing-table .wpr-pricing-table-heading{background-color:#f9f9f9}.elementor-widget-wpr-pricing-table .wpr-pricing-table-price{background-color:#605be5}.elementor-widget-wpr-pricing-table .wpr-pricing-table-button{background-color:#f9f9f9}.elementor-widget-wpr-pricing-table .wpr-pricing-table-btn{background-color:#2b2b2b}.elementor-widget-wpr-pricing-table .wpr-pricing-table-btn:hover{background-color:#4a45d2}.elementor-widget-wpr-pricing-table .wpr-pricing-table-text{background-color:#f9f9f9}.wpr-logo{position:relative;display:inline-table;overflow:hidden}.wpr-logo-image img{display:block}.wpr-logo-description{margin:0}.wpr-logo-image{position:relative;display:block;width:100%;z-index:7}.wpr-logo-url{position:absolute;display:block;width:100%;height:100%;top:0;left:0;z-index:5}.wpr-logo-position-left .wpr-logo-image,.wpr-logo-position-left .wpr-logo-text{float:left}.wpr-logo-position-right .wpr-logo-image,.wpr-logo-position-right .wpr-logo-text{float:right}.wpr-logo-position-center .wpr-logo-image{margin:0 auto}.wpr-logo-position-center .wpr-logo-text{text-align:center}.wpr-logo-position-left .wpr-logo-text,.wpr-logo-position-right .wpr-logo-text{text-align:left}.elementor-widget-wpr-logo .wpr-logo-title{font-size:16px;line-height:1.5}.elementor-widget-wpr-logo .wpr-logo-description{font-size:13px}.wpr-testimonial-carousel .slick-slider{cursor:drag}.wpr-testimonial-carousel .slick-track{display:-webkit-box!important;display:flex!important;display:-ms-flexbox!important}.wpr-testimonial-carousel .slick-slide{height:inherit!important}.wpr-testimonial-carousel-wrap .slick-list{padding-right:1px!important}.wpr-testimonial-nav-position-default .wpr-testimonial-arrow-container{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-testimonial-nav-position-default .wpr-testimonial-arrow{position:static}.wpr-testimonial-nav-position-default .wpr-testimonial-prev-arrow{-ms-transform:none;transform:none;-webkit-transform:none}.wpr-testimonial-nav-position-default .wpr-testimonial-next-arrow{-ms-transform:translateY(0) rotate(180deg);transform:translateY(0) rotate(180deg);-webkit-transform:translateY(0) rotate(180deg)}.wpr-testimonial-nav-align-bottom-center .wpr-testimonial-arrow-container,.wpr-testimonial-nav-align-top-center .wpr-testimonial-arrow-container{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.wpr-testimonial-arrow{position:absolute;z-index:120;top:52%;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;cursor:pointer}.wpr-testimonial-arrow i{display:block;line-height:inherit}.wpr-testimonial-prev-arrow{left:2%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-testimonial-next-arrow{right:2%;-webkit-transform:translateY(-50%) rotate(180deg);-ms-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg)}.wpr-testimonial-nav-fade .wpr-testimonial-arrow{opacity:0}.wpr-testimonial-dots{display:inline-table;position:absolute;z-index:110;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.wpr-testimonial-dots ul{list-style:none;padding:0;margin:0}.wpr-testimonial-dots li{float:left;width:auto!important;margin:0!important}.wpr-testimonial-dot{display:block;cursor:pointer}.wpr-testimonial-dots li:last-child .wpr-testimonial-dot{margin:0!important}.wpr-testimonial-social-media{display:inline-block}.wpr-testimonial-social{display:block;float:left;width:45px;height:45px;line-height:45px;font-size:45px;-webkit-box-sizing:content-box;box-sizing:content-box;text-align:center;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;cursor:pointer}.wpr-testimonial-social i{display:block;width:100%;height:100%;line-height:inherit}.wpr-testimonial-social:last-child{margin-right:0!important}.wpr-testimonial-rating i{display:inline;position:relative;font-family:eicons;font-style:normal;line-height:1;overflow:hidden}.wpr-testimonial-rating i:before{content:'\e934';font-weight:900;display:block;position:absolute;top:0;left:0;font-size:inherit;font-family:inherit;overflow:hidden}.wpr-testimonial-rating-style_2 .wpr-testimonial-rating i:before{content:'\002605'}.wpr-testimonial-rating i:last-of-type{margin-right:0!important}.wpr-rating-icon-empty:before{display:none!important}.elementor-widget-wpr-testimonial-carousel .wpr-testimonial-content-wrap .wpr-testimonial-title{font-size:18px;font-weight:700}.wpr-testimonial-content{position:relative;font-size:15px}.wpr-testimonial-content p{position:relative;z-index:5;margin:0}.wpr-testimonial-content .wpr-testimonial-icon{width:100%;z-index:1}.wpr-testimonial-date{font-size:10px}.wpr-testimonial-content-inner{position:relative;background-color:#f9f9f9}.wpr-testimonial-triangle-yes .wpr-testimonial-content-inner:before{content:"";position:absolute;width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-top-style:solid;border-top-width:15px}.wpr-testimonial-meta-position-bottom.wpr-testimonial-meta-align-center .wpr-testimonial-content-inner:before,.wpr-testimonial-meta-position-top.wpr-testimonial-meta-align-center .wpr-testimonial-content-inner:before{right:calc(50% - 15px)}.wpr-testimonial-meta-position-bottom.wpr-testimonial-meta-align-left .wpr-testimonial-content-inner:before,.wpr-testimonial-meta-position-top.wpr-testimonial-meta-align-left .wpr-testimonial-content-inner:before{margin-left:-15px}.wpr-testimonial-meta-position-bottom.wpr-testimonial-meta-align-right .wpr-testimonial-content-inner:before,.wpr-testimonial-meta-position-top.wpr-testimonial-meta-align-right .wpr-testimonial-content-inner:before{margin-right:-15px}.wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before,.wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before{margin-top:-7.5px}.wpr-testimonial-meta-position-top .wpr-testimonial-content-inner:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.wpr-testimonial-meta-position-top .wpr-testimonial-content-inner{margin-top:15px}.wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.wpr-testimonial-meta-position-right .wpr-testimonial-content-inner{margin-right:15px}.wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.wpr-testimonial-meta-position-left .wpr-testimonial-content-inner{margin-left:15px}.wpr-testimonial-meta-position-bottom .wpr-testimonial-content-inner:before{bottom:-15px}.wpr-testimonial-meta-position-bottom .wpr-testimonial-content-inner{margin-bottom:15px}.wpr-testimonial-meta-position-extra .wpr-testimonial-content-inner:before{display:none}.wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before{left:-22px}.wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before{right:-22px}.wpr-testimonial-meta-position-top .wpr-testimonial-content-inner:before{top:-15px}.wpr-testimonial-meta-position-bottom .wpr-testimonial-content-inner:before{bottom:-15px}.wpr-testimonial-image{overflow:hidden}.elementor-widget-wpr-testimonial-carousel .wpr-testimonial-meta .wpr-testimonial-name{font-size:14px;font-weight:700}.wpr-testimonial-logo-image{display:block;overflow:hidden}.wpr-testimonial-item{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.wpr-testimonial-meta-position-extra .wpr-testimonial-item{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-testimonial-meta-position-top .wpr-testimonial-item{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-testimonial-meta-position-bottom .wpr-testimonial-item{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.wpr-testimonial-meta-position-right .wpr-testimonial-item{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-testimonial-meta-position-left .wpr-testimonial-item{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.wpr-testimonial-meta-position-left .wpr-testimonial-meta,.wpr-testimonial-meta-position-right .wpr-testimonial-meta{-ms-flex-negative:0;flex-shrink:0}@media screen and (max-width:480px){.wpr-testimonial-meta-position-left .wpr-testimonial-item,.wpr-testimonial-meta-position-right .wpr-testimonial-item{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-testimonial-meta-position-left .wpr-testimonial-content-inner,.wpr-testimonial-meta-position-right .wpr-testimonial-content-inner{margin-left:0!important}.wpr-testimonial-meta-position-left .wpr-testimonial-meta,.wpr-testimonial-meta-position-right .wpr-testimonial-meta{margin-left:0!important;margin-right:0!important;padding:0!important;margin-bottom:20px}.wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before,.wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before{display:none}}.wpr-testimonial-job{font-size:10px}.wpr-testimonial-image-position-left .wpr-testimonial-meta-inner>div,.wpr-testimonial-image-position-right .wpr-testimonial-meta-inner>div{display:inline-block;vertical-align:top}.wpr-testimonial-image-position-center.wpr-testimonial-meta-align-left .wpr-testimonial-meta img,.wpr-testimonial-image-position-left .wpr-testimonial-image,.wpr-testimonial-image-position-left .wpr-testimonial-logo-image img{float:left}.wpr-testimonial-image-position-center.wpr-testimonial-meta-align-right .wpr-testimonial-meta img,.wpr-testimonial-image-position-right .wpr-testimonial-image,.wpr-testimonial-image-position-right .wpr-testimonial-logo-image img{float:right}.wpr-testimonial-image-position-left .wpr-testimonial-meta-content-wrap,.wpr-testimonial-meta-align-left .wpr-testimonial-meta{text-align:left}.wpr-testimonial-meta-align-center .wpr-testimonial-meta{text-align:center}.wpr-testimonial-image-position-right .wpr-testimonial-meta-content-wrap,.wpr-testimonial-meta-align-right .wpr-testimonial-meta{text-align:right}.wpr-testimonial-meta-align-center .wpr-testimonial-meta img{margin:0 auto}.wpr-testimonial-meta-position-extra .wpr-testimonial-meta img{display:inline-block}.wpr-testimonial-meta-inner{display:inline-block}.wpr-testimonial-meta-position-bottom .wpr-testimonial-logo-image img,.wpr-testimonial-meta-position-bottom .wpr-testimonial-social-media,.wpr-testimonial-meta-position-top .wpr-testimonial-logo-image img,.wpr-testimonial-meta-position-top .wpr-testimonial-social-media{float:none!important;display:inline-block!important}@media screen and (min-width:480px){.wpr-testimonial-image-position-left .wpr-testimonial-image,.wpr-testimonial-image-position-right .wpr-testimonial-image{margin-bottom:0!important}}@media screen and (max-width:480px){.wpr-testimonial-meta-position-left .wpr-testimonial-image,.wpr-testimonial-meta-position-left .wpr-testimonial-meta-content-wrap,.wpr-testimonial-meta-position-right .wpr-testimonial-image,.wpr-testimonial-meta-position-right .wpr-testimonial-meta-content-wrap{display:block!important;float:none!important;text-align:center!important}.wpr-testimonial-meta-position-left.wpr-testimonial-image-position-left .wpr-testimonial-image,.wpr-testimonial-meta-position-left.wpr-testimonial-image-position-right .wpr-testimonial-image,.wpr-testimonial-meta-position-right.wpr-testimonial-image-position-left .wpr-testimonial-image,.wpr-testimonial-meta-position-right.wpr-testimonial-image-position-right .wpr-testimonial-image{margin-left:0!important;margin-right:0!important}.wpr-testimonial-meta-position-left .wpr-testimonial-image img,.wpr-testimonial-meta-position-left .wpr-testimonial-logo-image img,.wpr-testimonial-meta-position-right .wpr-testimonial-image img,.wpr-testimonial-meta-position-right .wpr-testimonial-logo-image img{display:inline-block!important;float:none!important}}.wpr-search-form-input-wrap{width:100%;overflow:hidden}.wpr-search-form .wpr-search-form-input{width:100%;height:100%;font-size:14px;background-color:transparent;border-style:solid}.wpr-search-form-style-inner .wpr-search-form-input-wrap,.wpr-search-form-style-outer .wpr-search-form{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-search-form-style-inner.wpr-search-form-position-left .wpr-search-form-input-wrap,.wpr-search-form-style-outer.wpr-search-form-position-left .wpr-search-form{-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-search-form-submit{padding:0!important;cursor:pointer;border-style:solid;-webkit-transition:all .2s;-o-transition:all .2s;transition:all .2s}.wpr-search-form-disable-submit-btn-yes .wpr-search-form-submit{pointer-events:none;cursor:default}.wpr-team-member{overflow:hidden}.wpr-member-content{overflow:hidden}.wpr-member-name{display:block;line-height:1}.elementor .elementor-widget-wpr-team-member .wpr-member-name{font-size:24px;font-weight:500}.wpr-member-job{font-size:13px}.wpr-member-description{font-size:15px;line-height:1.4}.wpr-member-media{position:relative;margin:0 auto;width:100%;overflow:hidden}.wpr-member-image{overflow:hidden}.wpr-member-overlay-content{position:relative}.wpr-member-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(255,255,255,.9)}.wpr-member-social-media{display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.wpr-member-social{display:block;width:45px;height:45px;line-height:45px;font-size:45px;-webkit-box-sizing:content-box;box-sizing:content-box;text-align:center;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;cursor:pointer}.wpr-member-social i{display:block;width:100%;height:100%;line-height:inherit}.wpr-member-social:last-child{margin-right:0!important}.wpr-team-member-social-media-left .wpr-member-social-media{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.wpr-team-member-social-media-right .wpr-member-social-media{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.wpr-team-member-social-media-center .wpr-member-social-media{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wpr-member-btn{display:inline-block;position:relative;overflow:hidden;display:inline-block;vertical-align:middle;background-color:#222;cursor:pointer;font-size:14px}.wpr-member-btn span{position:relative;z-index:2;opacity:1!important}.wpr-member-btn:after,.wpr-member-btn:before{z-index:1!important}.wpr-member-divider{overflow:hidden}.wpr-member-divider:after{content:"";display:block;width:100%;margin-top:0;overflow:hidden}.wpr-team-member-divider-left .wpr-member-divider:after{float:left}.wpr-team-member-divider-right .wpr-member-divider:after{float:right}.wpr-team-member-divider-center .wpr-member-divider:after{margin-left:auto;margin-right:auto}.wpr-button-wrap{position:relative;display:inline-table;z-index:1;width:100%}.wpr-button{display:block;position:relative;width:100%;z-index:1;overflow:hidden}.elementor .elementor-widget-wpr-button .wpr-button-text{font-size:15px;font-weight:500}.wpr-button-icon-style-block .wpr-button-text,.wpr-button-icon-style-inline-block .wpr-button-text{width:100%}.wpr-button-icon-style-block .wpr-button-icon,.wpr-button-icon-style-inline-block .wpr-button-icon{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wpr-button-content{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-button-icon,.wpr-button-text{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-button-icon-position-left .wpr-button-icon{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.wpr-button-icon-position-left .wpr-button-text{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.wpr-button-tooltip{position:absolute;border-radius:4px;visibility:hidden;opacity:0;font-size:13px;line-height:1.5;-webkit-transition-property:all;-o-transition-property:all;transition-property:all;-webkit-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;z-index:20}.wpr-button-tooltip:before{content:"";position:absolute;width:0;height:0;border-top-style:solid;border-left:6px solid transparent;border-right:6px solid transparent;border-top-width:6px}.wpr-button-tooltip p{margin:0}.wpr-button-wrap:hover .wpr-button-tooltip{visibility:visible;opacity:1}.wpr-button-tooltip-position-top .wpr-button-tooltip{top:0;left:50%;-ms-transform:translate(-50%,-120%);transform:translate(-50%,-120%);-webkit-transform:translate(-50%,-120%);margin-top:-5px}.wpr-button-tooltip-position-top .wpr-button-wrap:hover .wpr-button-tooltip{-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%);-webkit-transform:translate(-50%,-100%)}.wpr-button-tooltip-position-top .wpr-button-tooltip:before{left:50%;-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transform:translateX(-50%);bottom:-5px}.wpr-button-tooltip-position-bottom .wpr-button-tooltip{bottom:0;left:50%;-ms-transform:translate(-50%,120%);transform:translate(-50%,120%);-webkit-transform:translate(-50%,120%);margin-bottom:-5px}.wpr-button-tooltip-position-bottom .wpr-button-wrap:hover .wpr-button-tooltip{-ms-transform:translate(-50%,100%);transform:translate(-50%,100%);-webkit-transform:translate(-50%,100%)}.wpr-button-tooltip-position-bottom .wpr-button-tooltip:before{top:-5px;left:50%;-webkit-transform:translateX(-50%) rotate(180deg);-ms-transform:translateX(-50%) rotate(180deg);transform:translateX(-50%) rotate(180deg)}.wpr-button-tooltip-position-left .wpr-button-tooltip{top:50%;left:0;-ms-transform:translate(-120%,-50%);transform:translate(-120%,-50%);-webkit-transform:translate(-120%,-50%);margin-left:-5px}.wpr-button-tooltip-position-left .wpr-button-wrap:hover .wpr-button-tooltip{-ms-transform:translate(-100%,-50%);transform:translate(-100%,-50%);-webkit-transform:translate(-100%,-50%)}.wpr-button-tooltip-position-left .wpr-button-tooltip:before{right:-8px;top:50%;-webkit-transform:translateY(-50%) rotate(-90deg);-ms-transform:translateY(-50%) rotate(-90deg);transform:translateY(-50%) rotate(-90deg)}.wpr-button-tooltip-position-right .wpr-button-tooltip{top:50%;right:0;-ms-transform:translate(120%,-50%);transform:translate(120%,-50%);-webkit-transform:translate(120%,-50%);margin-right:-5px}.wpr-button-tooltip-position-right .wpr-button-wrap:hover .wpr-button-tooltip{-ms-transform:translate(100%,-50%);transform:translate(100%,-50%);-webkit-transform:translate(100%,-50%)}.wpr-button-tooltip-position-right .wpr-button-tooltip:before{left:-8px;top:50%;-ms-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg);-webkit-transform:translateY(-50%) rotate(90deg)}.elementor-widget-wpr-button .wpr-button{background-color:#605be5}.elementor-widget-wpr-button .wpr-button-none:hover,.elementor-widget-wpr-button .wpr-button::after,.elementor-widget-wpr-button .wpr-button::before,.elementor-widget-wpr-button [class*=elementor-animation]:hover{background-color:#4a45d2}.elementor-widget-wpr-button .wpr-button-text,.elementor-widget-wpr-button .wpr-button::after{font-size:14px}.wpr-dual-button{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-button-a-wrap,.wpr-button-b-wrap{position:relative;width:100%}.wpr-button-a-wrap{z-index:5}.wpr-button-b-wrap{z-index:2}.wpr-button-a,.wpr-button-b{display:block;position:relative;width:100%;z-index:1;overflow:hidden}.wpr-button-content-a,.wpr-button-content-b{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-button-icon-a,.wpr-button-icon-b,.wpr-button-text-a,.wpr-button-text-b{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-button-icon-a-position-left .wpr-button-icon-a,.wpr-button-icon-b-position-left .wpr-button-icon-b{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.wpr-button-icon-a-position-left .wpr-button-text-a,.wpr-button-icon-b-position-left .wpr-button-text-b{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.wpr-button-middle-badge{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;right:0;-webkit-transform:translate(50%,-50%);-ms-transform:translate(50%,-50%);transform:translate(50%,-50%);text-align:center;-webkit-box-sizing:content-box;box-sizing:content-box;z-index:10;border-width:3px;border-color:#00ce1b;-webkit-box-shadow:0 0 0 4px rgba(255,255,255,.3);box-shadow:0 0 0 4px rgba(255,255,255,.3)}.wpr-button-middle-badge i{line-height:inherit}.wpr-button-tooltip-a{position:absolute;border-radius:4px;visibility:hidden;opacity:0;font-size:13px;line-height:1.5;-webkit-transition-property:all;-o-transition-property:all;transition-property:all;-webkit-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;z-index:20}.wpr-button-tooltip-a:before{content:"";position:absolute;width:0;height:0;border-top-style:solid;border-left:6px solid transparent;border-right:6px solid transparent;border-top-width:6px}.wpr-button-tooltip-a p{margin:0}.wpr-button-a-wrap:hover .wpr-button-tooltip-a{visibility:visible;opacity:1}.wpr-button-tooltip-a-position-top .wpr-button-tooltip-a{top:0;left:50%;-ms-transform:translate(-50%,-120%);transform:translate(-50%,-120%);-webkit-transform:translate(-50%,-120%);margin-top:-5px}.wpr-button-tooltip-a-position-top .wpr-button-a-wrap:hover .wpr-button-tooltip-a{-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%);-webkit-transform:translate(-50%,-100%)}.wpr-button-tooltip-a-position-top .wpr-button-tooltip-a:before{left:50%;-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transform:translateX(-50%);bottom:-5px}.wpr-button-tooltip-a-position-bottom .wpr-button-tooltip-a{bottom:0;left:50%;-ms-transform:translate(-50%,120%);transform:translate(-50%,120%);-webkit-transform:translate(-50%,120%);margin-bottom:-5px}.wpr-button-tooltip-a-position-bottom .wpr-button-a-wrap:hover .wpr-button-tooltip-a{-ms-transform:translate(-50%,100%);transform:translate(-50%,100%);-webkit-transform:translate(-50%,100%)}.wpr-button-tooltip-a-position-bottom .wpr-button-tooltip-a:before{top:-5px;left:50%;-webkit-transform:translateX(-50%) rotate(180deg);-ms-transform:translateX(-50%) rotate(180deg);transform:translateX(-50%) rotate(180deg)}.wpr-button-tooltip-a-position-left .wpr-button-tooltip-a{top:50%;left:0;-ms-transform:translate(-120%,-50%);transform:translate(-120%,-50%);-webkit-transform:translate(-120%,-50%);margin-left:-5px}.wpr-button-tooltip-a-position-left .wpr-button-a-wrap:hover .wpr-button-tooltip-a{-ms-transform:translate(-100%,-50%);transform:translate(-100%,-50%);-webkit-transform:translate(-100%,-50%)}.wpr-button-tooltip-a-position-left .wpr-button-tooltip-a:before{right:-8px;top:50%;-webkit-transform:translateY(-50%) rotate(-90deg);-ms-transform:translateY(-50%) rotate(-90deg);transform:translateY(-50%) rotate(-90deg)}.wpr-button-tooltip-a-position-right .wpr-button-tooltip-a{top:50%;right:0;-ms-transform:translate(120%,-50%);transform:translate(120%,-50%);-webkit-transform:translate(120%,-50%);margin-right:-5px}.wpr-button-tooltip-a-position-right .wpr-button-a-wrap:hover .wpr-button-tooltip-a{-ms-transform:translate(100%,-50%);transform:translate(100%,-50%);-webkit-transform:translate(100%,-50%)}.wpr-button-tooltip-a-position-right .wpr-button-tooltip-a:before{left:-8px;top:50%;-webkit-transform:translateY(-50%) rotate(90deg);-ms-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg)}.wpr-button-tooltip-b{position:absolute;border-radius:4px;visibility:hidden;opacity:0;font-size:13px;line-height:1.5;-webkit-transition-property:all;-o-transition-property:all;transition-property:all;-webkit-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;z-index:20}.wpr-button-tooltip-b:before{content:"";position:absolute;width:0;height:0;border-top-style:solid;border-left:6px solid transparent;border-right:6px solid transparent;border-top-width:6px}.wpr-button-tooltip-b p{margin:0}.wpr-button-b-wrap:hover .wpr-button-tooltip-b{visibility:visible;opacity:1}.wpr-button-tooltip-b-position-top .wpr-button-tooltip-b{top:0;left:50%;-ms-transform:translate(-50%,-120%);transform:translate(-50%,-120%);-webkit-transform:translate(-50%,-120%);margin-top:-5px}.wpr-button-tooltip-b-position-top .wpr-button-b-wrap:hover .wpr-button-tooltip-b{-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%);-webkit-transform:translate(-50%,-100%)}.wpr-button-tooltip-b-position-top .wpr-button-tooltip-b:before{left:50%;-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transform:translateX(-50%);bottom:-5px}.wpr-button-tooltip-b-position-bottom .wpr-button-tooltip-b{bottom:0;left:50%;-ms-transform:translate(-50%,120%);transform:translate(-50%,120%);-webkit-transform:translate(-50%,120%);margin-bottom:-5px}.wpr-button-tooltip-b-position-bottom .wpr-button-b-wrap:hover .wpr-button-tooltip-b{-ms-transform:translate(-50%,100%);transform:translate(-50%,100%);-webkit-transform:translate(-50%,100%)}.wpr-button-tooltip-b-position-bottom .wpr-button-tooltip-b:before{top:-5px;left:50%;-webkit-transform:translateX(-50%) rotate(180deg);-ms-transform:translateX(-50%) rotate(180deg);transform:translateX(-50%) rotate(180deg)}.wpr-button-tooltip-b-position-left .wpr-button-tooltip-b{top:50%;left:0;-ms-transform:translate(-120%,-50%);transform:translate(-120%,-50%);-webkit-transform:translate(-120%,-50%);margin-left:-5px}.wpr-button-tooltip-b-position-left .wpr-button-b-wrap:hover .wpr-button-tooltip-b{-ms-transform:translate(-100%,-50%);transform:translate(-100%,-50%);-webkit-transform:translate(-100%,-50%)}.wpr-button-tooltip-b-position-left .wpr-button-tooltip-b:before{right:-8px;top:50%;-webkit-transform:translateY(-50%) rotate(-90deg);-ms-transform:translateY(-50%) rotate(-90deg);transform:translateY(-50%) rotate(-90deg)}.wpr-button-tooltip-b-position-right .wpr-button-tooltip-b{top:50%;right:0;-ms-transform:translate(120%,-50%);transform:translate(120%,-50%);-webkit-transform:translate(120%,-50%);margin-right:-5px}.wpr-button-tooltip-b-position-right .wpr-button-b-wrap:hover .wpr-button-tooltip-b{-ms-transform:translate(100%,-50%);transform:translate(100%,-50%);-webkit-transform:translate(100%,-50%)}.wpr-button-tooltip-b-position-right .wpr-button-tooltip-b:before{left:-8px;top:50%;-webkit-transform:translateY(-50%) rotate(90deg);-ms-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg)}@media screen and (max-width:480px){.wpr-button-tooltip-a-position-left .wpr-button-tooltip-a,.wpr-button-tooltip-b-position-right .wpr-button-tooltip-b,.wpr-button-tooltip-position-left .wpr-button-tooltip,.wpr-button-tooltip-position-right .wpr-button-tooltip{top:0;left:50%!important;right:auto!important;-ms-transform:translate(-50%,-120%);transform:translate(-50%,-120%);-webkit-transform:translate(-50%,-120%);margin-top:-5px}.wpr-button-tooltip-a-position-left .wpr-button-a-wrap:hover .wpr-button-tooltip-a,.wpr-button-tooltip-b-position-right .wpr-button-b-wrap:hover .wpr-button-tooltip-b,.wpr-button-tooltip-position-left .wpr-button-wrap:hover .wpr-button-tooltip,.wpr-button-tooltip-position-right .wpr-button-wrap:hover .wpr-button-tooltip{-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%);-webkit-transform:translate(-50%,-100%)}.wpr-button-tooltip-a-position-left .wpr-button-tooltip-a:before,.wpr-button-tooltip-b-position-right .wpr-button-tooltip-b:before,.wpr-button-tooltip-position-left .wpr-button-tooltip:before,.wpr-button-tooltip-position-right .wpr-button-tooltip:before{left:50%;-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transform:translateX(-50%);bottom:-5px;top:auto}}.elementor-widget-wpr-dual-button .wpr-button-a,.elementor-widget-wpr-dual-button .wpr-button-b{background-color:#605be5}.elementor-widget-wpr-dual-button .wpr-dual-button .wpr-button-effect::after,.elementor-widget-wpr-dual-button .wpr-dual-button .wpr-button-effect::before,.elementor-widget-wpr-dual-button .wpr-dual-button .wpr-button-none:hover,.elementor-widget-wpr-dual-button .wpr-dual-button [class*=elementor-animation]:hover{background-color:#4a45d2}.elementor-widget-wpr-dual-button .wpr-button-a::after,.elementor-widget-wpr-dual-button .wpr-button-b::after,.elementor-widget-wpr-dual-button .wpr-button-text-a,.elementor-widget-wpr-dual-button .wpr-button-text-b{font-size:14px}.elementor-widget-wpr-dual-button .wpr-button-middle-badge{font-size:13px}.wpr-anim-text,.wpr-clipped-text,.wpr-highlighted-text{display:inline-block;vertical-align:middle}.wpr-advanced-text-preffix,.wpr-advanced-text-suffix{vertical-align:middle}.elementor-widget-wpr-advanced-text b{font-weight:none}.elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-advanced-text-preffix,.elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-advanced-text-suffix,.elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-anim-text,.elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-anim-text b,.elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-highlighted-text{font-size:32px;font-weight:700}.wpr-advanced-text{display:block;margin:0}.wpr-clipped-text{position:relative;-ms-transform:translate(0,0);transform:translate(0,0);-webkit-transform:translate(0,0);z-index:0}.wpr-clipped-text-content{-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-clipped-text{font-size:50px;font-weight:700}.wpr-clipped-text-long-shadow{position:absolute;display:inline-block;top:0;left:0;width:100%;height:100%;z-index:-1}.wpr-highlighted-text{position:relative;text-align:left}.wpr-highlighted-text-inner{position:relative;z-index:1}.wpr-highlighted-text svg{position:absolute;top:50%;left:50%;width:100%;height:100%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);overflow:visible;z-index:auto}.wpr-highlighted-text svg path{-webkit-animation-name:wpr-anim-text;animation-name:wpr-anim-text;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;fill:none;stroke-width:4;stroke-dasharray:1500;-webkit-animation-iteration-count:1;-animation-iteration-count:1;opacity:0}.wpr-highlighted-text .wpr-highlight-curly{-webkit-transform:translate(-50%,25%);-ms-transform:translate(-50%,25%);transform:translate(-50%,25%)}.wpr-highlighted-text .wpr-highlight-x{-webkit-transform:translate(-50%,-35%);-ms-transform:translate(-50%,-35%);transform:translate(-50%,-35%)}.wpr-highlighted-text .wpr-highlight-strikethrough{-webkit-transform:translate(-50%,-47%);-ms-transform:translate(-50%,-47%);transform:translate(-50%,-47%)}.wpr-highlighted-text .wpr-highlight-underline{-webkit-transform:translate(-50%,27%);-ms-transform:translate(-50%,27%);transform:translate(-50%,27%)}.wpr-highlighted-text .wpr-highlight-double{-webkit-transform:translate(-50%,-40%);-ms-transform:translate(-50%,-40%);transform:translate(-50%,-40%)}.wpr-highlighted-text .wpr-highlight-double-underline{-webkit-transform:translate(-50%,30%);-ms-transform:translate(-50%,30%);transform:translate(-50%,30%)}.wpr-highlighted-text .wpr-highlight-diagonal{-webkit-transform:translate(-50%,-40%);-ms-transform:translate(-50%,-40%);transform:translate(-50%,-40%)}.wpr-animated-text-infinite-yes .wpr-highlighted-text svg path{-webkit-animation-name:wpr-anim-text-infinite;animation-name:wpr-anim-text-infinite}@-webkit-keyframes wpr-anim-text-infinite{0%{opacity:1;stroke-dasharray:0 1500}12%{stroke-dasharray:1500 1500}80%{opacity:1}97%{opacity:0;stroke-dasharray:1500 1500}100%{stroke-dasharray:0 1500}}@keyframes wpr-anim-text-infinite{0%{opacity:1;stroke-dasharray:0 1500}12%{stroke-dasharray:1500 1500}80%{opacity:1}97%{opacity:0;stroke-dasharray:1500 1500}100%{stroke-dasharray:0 1500}}@-webkit-keyframes wpr-anim-text{0%{opacity:1;stroke-dasharray:0 1500}12%{stroke-dasharray:1500 1500}100%{opacity:1}}@keyframes wpr-anim-text{0%{opacity:1;stroke-dasharray:0 1500}12%{stroke-dasharray:1500 1500}100%{opacity:1}}@-webkit-keyframes wpr-anim-text-infinite{0%{opacity:1;stroke-dasharray:0 1500}12%{stroke-dasharray:1500 1500}100%{opacity:1}}.wpr-anim-text-inner{float:left}.wpr-anim-text-cursor{display:inline-block;zoom:1;opacity:1;-webkit-animation-name:wpr-cursor-blink;animation-name:wpr-cursor-blink;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}@-webkit-keyframes wpr-cursor-blink{0%{opacity:1}50%{opacity:0}100%{opacity:1}}@keyframes wpr-cursor-blink{0%{opacity:1}50%{opacity:0}100%{opacity:1}}.elementor-widget-wpr-advanced-text .wpr-clipped-text-content{background-color:#605be5}.wpr-prbar-counter-value-suffix{line-height:1}.wpr-prbar-hr-line{position:relative;width:100%;overflow:hidden}.wpr-prbar-hr-line-inner{position:relative;top:0;left:0;width:0;height:100%;-webkit-transition-property:width;-o-transition-property:width;transition-property:width;overflow:hidden}.wpr-prbar-hr-line .wpr-prbar-content{position:absolute;top:0;left:0;width:100%;height:100%}.wpr-prbar-hr-line .wpr-prbar-title-wrap{position:absolute;top:50%;left:12px;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-prbar-layout-hr-line .wpr-prbar-subtitle{text-align:left}.wpr-prbar-hr-line .wpr-prbar-counter{position:absolute;top:50%;right:12px;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-prbar-layout-hr-line .wpr-prbar-title-wrap{float:left}.wpr-prbar-layout-hr-line .wpr-prbar-counter{float:right}.wpr-prbar-vr-line{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;width:100%;margin:0 auto;overflow:hidden}.wpr-prbar-vr-line-inner{position:relative;width:100%;height:0;-webkit-transition-property:height;-o-transition-property:height;transition-property:height;overflow:hidden}.wpr-prbar-circle{position:relative;display:table;width:100%;height:auto;margin:0 auto}.wpr-prbar-circle-svg{width:100%;height:auto;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);border-radius:50%}.wpr-prbar-circle-prline{-webkit-transition-property:stroke-dasharray,stroke-dashoffset;-o-transition-property:stroke-dasharray,stroke-dashoffset;transition-property:stroke-dasharray,stroke-dashoffset;stroke-linecap:butt}.wpr-prbar-circle .wpr-prbar-content{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.wpr-prbar-content{text-align:center;overflow:hidden}.wpr-prbar-counter{display:-webkit-box;display:-ms-flexbox;display:-moz-flex;display:flex;font-size:12px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wpr-prbar-subtitle,.wpr-prbar-title{font-size:12px;text-align:center}.wpr-prbar-stripe-yes .wpr-prbar-hr-line-inner:after,.wpr-prbar-stripe-yes .wpr-prbar-vr-line-inner:after{content:'';position:absolute;top:0;left:-30px;width:calc(100% + 60px);height:100%;background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:30px 30px}.wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-right .wpr-prbar-hr-line-inner:after,.wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-right .wpr-prbar-vr-line-inner:after{-webkit-animation:stripe-anim-right 2s linear infinite;animation:stripe-anim-right 2s linear infinite}.wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-left .wpr-prbar-hr-line-inner:after,.wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-left .wpr-prbar-vr-line-inner:after{-webkit-animation:stripe-anim-left 2s linear infinite;animation:stripe-anim-left 2s linear infinite}@-webkit-keyframes stripe-anim-right{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}100%{-webkit-transform:translate(30px,0);transform:translate(30px,0)}}@keyframes stripe-anim-right{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}100%{-webkit-transform:translate(30px,0);transform:translate(30px,0)}}@-webkit-keyframes stripe-anim-left{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}100%{-webkit-transform:translate(-30px,0);transform:translate(-30px,0)}}@keyframes stripe-anim-left{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}100%{-webkit-transform:translate(-30px,0);transform:translate(-30px,0)}}.elementor-widget-wpr-progress-bar .wpr-prbar-hr-line-inner,.elementor-widget-wpr-progress-bar .wpr-prbar-vr-line-inner{background-color:#605be5}.wpr-price-list-item:last-child{margin-bottom:0}.wpr-price-list-content{width:100%;overflow:hidden}.wpr-price-list-item{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.wpr-price-list-link{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10}.wpr-price-list-position-right .wpr-price-list-item{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-price-list-position-center .wpr-price-list-item{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-price-list-position-center .wpr-price-list-heading{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-price-list-position-center .wpr-price-list-separator{display:none}.wpr-price-list-position-left .wpr-price-list-price-wrap,.wpr-price-list-position-right .wpr-price-list-price-wrap{margin-left:auto}.wpr-price-list-image img{display:block;margin:0 auto}.wpr-price-list-heading{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.elementor-widget-wpr-price-list .wpr-price-list-heading .wpr-price-list-price,.elementor-widget-wpr-price-list .wpr-price-list-heading .wpr-price-list-title{font-size:17px;font-weight:700}.wpr-price-list-old-price{font-size:11px}.wpr-price-list-description{font-size:14px}.wpr-price-list-separator{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;height:0}.wpr-price-list-price-wrap{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wpr-price-list-old-position-after .wpr-price-list-price-wrap{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-price-list-old-position-after .wpr-price-list-old-price{margin-right:10px}.wpr-price-list-old-position-before .wpr-price-list-old-price{margin-left:3px}.wpr-price-list-old-price{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;text-decoration:line-through}.wpr-image-hotspots{position:relative}.wpr-hotspot-item-container{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10}.wpr-hotspot-image img{width:100%}.wpr-hotspot-item{position:absolute}.wpr-hotspot-text{font-size:15px}.wpr-hotspot-content{position:relative;z-index:15;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;text-align:center}.wpr-hotspot-icon-position-left .wpr-hotspot-content{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-hotspot-item,.wpr-hotspot-item:before{-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-play-state:running;animation-play-state:running}.wpr-hotspot-trigger-click .wpr-hotspot-item,.wpr-hotspot-trigger-hover .wpr-hotspot-item{cursor:pointer}.wpr-hotspot-tooltip{position:absolute;border-radius:4px;visibility:hidden;opacity:0;font-size:13px;line-height:1.5;-webkit-transition-property:all;-o-transition-property:all;transition-property:all;-webkit-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;z-index:20;-webkit-box-shadow:0 0 4px 0 rgba(0,0,0,.5);box-shadow:0 0 4px 0 rgba(0,0,0,.5);font-size:13px}.wpr-hotspot-tooltip:before{content:"";position:absolute;width:0;height:0}.wpr-hotspot-tooltip-position-pro-bt .wpr-hotspot-tooltip,.wpr-hotspot-tooltip-position-pro-lt .wpr-hotspot-tooltip,.wpr-hotspot-tooltip-position-pro-rt .wpr-hotspot-tooltip{top:-120%;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.wpr-hotspot-tooltip-position-bottom .wpr-hotspot-tooltip:before,.wpr-hotspot-tooltip-position-top .wpr-hotspot-tooltip:before{border-left-color:transparent;border-right-color:transparent;border-top-style:solid;border-left-style:solid;border-right-style:solid}.wpr-hotspot-tooltip-position-left .wpr-hotspot-tooltip:before,.wpr-hotspot-tooltip-position-right .wpr-hotspot-tooltip:before{border-bottom-color:transparent;border-top-color:transparent;border-right-style:solid;border-bottom-style:solid;border-top-style:solid}.wpr-hotspot-tooltip p{margin:0}.wpr-tooltip-active .wpr-hotspot-tooltip{visibility:visible;opacity:1}.wpr-hotspot-tooltip-position-top .wpr-hotspot-tooltip:before{left:50%;-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transform:translateX(-50%)}.wpr-hotspot-tooltip-position-bottom .wpr-hotspot-tooltip:before{left:50%;-webkit-transform:translateX(-50%) rotate(180deg);-ms-transform:translateX(-50%) rotate(180deg);transform:translateX(-50%) rotate(180deg)}.wpr-hotspot-tooltip-position-left .wpr-hotspot-tooltip:before{top:50%;-webkit-transform:translateY(-50%) rotate(180deg);-ms-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg)}.wpr-hotspot-tooltip-position-right .wpr-hotspot-tooltip:before{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-hotspot-tooltip-position-bottom .wpr-hotspot-tooltip,.wpr-hotspot-tooltip-position-top .wpr-hotspot-tooltip{left:50%}.wpr-hotspot-tooltip-position-left .wpr-hotspot-tooltip,.wpr-hotspot-tooltip-position-right .wpr-hotspot-tooltip{top:50%}.wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,-120%);-ms-transform:translate(-50%,-120%);transform:translate(-50%,-120%)}.wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,-100%);-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}.wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,120%);-ms-transform:translate(-50%,120%);transform:translate(-50%,120%)}.wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,100%);-ms-transform:translate(-50%,100%);transform:translate(-50%,100%)}.wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip{-webkit-transform:translate(-120%,-50%);-ms-transform:translate(-120%,-50%);transform:translate(-120%,-50%)}.wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip{-webkit-transform:translate(-100%,-50%);-ms-transform:translate(-100%,-50%);transform:translate(-100%,-50%)}.wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip{-webkit-transform:translate(120%,-50%);-ms-transform:translate(120%,-50%);transform:translate(120%,-50%)}.wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip{-webkit-transform:translate(100%,-50%);-ms-transform:translate(100%,-50%);transform:translate(100%,-50%)}.wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-fade .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,-100%);-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}.wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-fade .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,100%);-ms-transform:translate(-50%,100%);transform:translate(-50%,100%)}.wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-fade .wpr-hotspot-tooltip{-webkit-transform:translate(-100%,-50%);-ms-transform:translate(-100%,-50%);transform:translate(-100%,-50%)}.wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-fade .wpr-hotspot-tooltip{-webkit-transform:translate(100%,-50%);-ms-transform:translate(100%,-50%);transform:translate(100%,-50%)}.wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-scale .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,-100%) scale(.7);-ms-transform:translate(-50%,-100%) scale(.7);transform:translate(-50%,-100%) scale(.7)}.wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-scale .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,100%) scale(.7);-ms-transform:translate(-50%,100%) scale(.7);transform:translate(-50%,100%) scale(.7)}.wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-scale .wpr-hotspot-tooltip{-webkit-transform:translate(-100%,-50%) scale(.7);-ms-transform:translate(-100%,-50%) scale(.7);transform:translate(-100%,-50%) scale(.7)}.wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-scale .wpr-hotspot-tooltip{-webkit-transform:translate(100%,-50%) scale(.7);-ms-transform:translate(100%,-50%) scale(.7);transform:translate(100%,-50%) scale(.7)}.wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,-100%) scale(1);-ms-transform:translate(-50%,-100%) scale(1);transform:translate(-50%,-100%) scale(1)}.wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,100%) scale(1);-ms-transform:translate(-50%,100%) scale(1);transform:translate(-50%,100%) scale(1)}.wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip{-webkit-transform:translate(-100%,-50%) scale(1);-ms-transform:translate(-100%,-50%) scale(1);transform:translate(-100%,-50%) scale(1)}.wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip{-webkit-transform:translate(100%,-50%) scale(1);-ms-transform:translate(100%,-50%) scale(1);transform:translate(100%,-50%) scale(1)}@keyframes wpr-hotspot-anim-pulse{0%,100%,87%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}88%,92%,96%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}90%,94%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}}@-webkit-keyframes wpr-hotspot-anim-pulse{0%,100%,87%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}88%,92%,96%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}90%,94%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}}.wpr-hotspot-anim-pulse{-webkit-animation-name:wpr-hotspot-anim-pulse;animation-name:wpr-hotspot-anim-pulse;-webkit-animation-duration:5s;animation-duration:5s}@keyframes wpr-hotspot-anim-shake{0%,100%,87%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}88%,92%,96%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}90%,94%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}}@-webkit-keyframes wpr-hotspot-anim-shake{0%,100%,87%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}88%,92%,96%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}90%,94%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}}.wpr-hotspot-anim-shake{-webkit-animation-name:wpr-hotspot-anim-shake;animation-name:wpr-hotspot-anim-shake;-webkit-animation-duration:5s;animation-duration:5s}@keyframes wpr-hotspot-anim-swing{0%,100%,70%{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0deg)}75%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}80%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}85%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}90%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}}@-webkit-keyframes wpr-hotspot-anim-swing{0%,100%,70%{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0deg)}75%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}80%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}85%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}90%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}}.wpr-hotspot-anim-swing{-webkit-animation-name:wpr-hotspot-anim-swing;animation-name:wpr-hotspot-anim-swing;-webkit-animation-duration:5s;animation-duration:5s}@keyframes wpr-hotspot-anim-tada{0%,100%,84%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}85%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}88%,92%,96%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}90%,94%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}}@-webkit-keyframes wpr-hotspot-anim-tada{0%,100%,84%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}85%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}88%,92%,96%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}90%,94%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}}.wpr-hotspot-anim-tada{-webkit-animation-name:wpr-hotspot-anim-tada;animation-name:wpr-hotspot-anim-tada;-webkit-animation-duration:6s;animation-duration:6s}@keyframes wpr-hotspot-anim-glow{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:0}}@-webkit-keyframes wpr-hotspot-anim-glow{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:0}}.wpr-hotspot-anim-glow:before{content:'';display:block;position:absolute;left:0;top:0;height:100%;width:100%;z-index:-1;-webkit-animation-name:wpr-hotspot-anim-glow;animation-name:wpr-hotspot-anim-glow;-webkit-animation-duration:2s;animation-duration:2s}.wpr-divider-wrap{display:inline-block;width:100%;overflow:hidden}.wpr-divider{display:-ms-flexbox;display:-webkit-box;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-divider-text{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.elementor-widget-wpr-divider .wpr-divider .wpr-divider-text{font-size:21px}.wpr-divider-border-left,.wpr-divider-border-right{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.wpr-divider-border{display:block;width:100%;height:1px}.wpr-divider-align-left .wpr-divider-border-left,.wpr-divider-align-right .wpr-divider-border-right{display:none}.wpr-divider-image{display:block;overflow:hidden}.wpr-business-hours{overflow:hidden}.wpr-business-hours-item{position:relative;display:-ms-flexbox;display:-webkit-box;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transition:all .1s;-o-transition:all .1s;transition:all .1s}.wpr-business-day{-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;text-align:left}.elementor-widget-wpr-business-hours .wpr-business-hours .wpr-business-closed,.elementor-widget-wpr-business-hours .wpr-business-hours .wpr-business-day,.elementor-widget-wpr-business-hours .wpr-business-hours .wpr-business-time{font-size:16px;font-weight:500}.wpr-business-closed,.wpr-business-time{-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;text-align:right}.wpr-business-hours-item:after{content:"";display:block;position:absolute;bottom:0;left:0;width:100%}.wpr-business-hours-item:last-of-type:after{display:none}.elementor-widget-wpr-business-hours .wpr-business-closed,.elementor-widget-wpr-business-hours .wpr-business-day,.elementor-widget-wpr-business-hours .wpr-business-time{font-weight:500}.wpr-flip-box{position:relative;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease;-webkit-perspective:1000px;perspective:1000px}.wpr-flip-box-item{position:absolute;top:0;left:0;width:100%;height:100%}.wpr-flip-box-front{z-index:5}.wpr-flip-box[data-trigger=box]{cursor:pointer}.elementor-widget-wpr-flip-box .wpr-flip-box-back .wpr-flip-box-content .wpr-flip-box-title,.elementor-widget-wpr-flip-box .wpr-flip-box-front .wpr-flip-box-content .wpr-flip-box-title{font-size:23px;font-weight:600}.elementor-widget-wpr-flip-box .wpr-flip-box-back .wpr-flip-box-content .wpr-flip-box-description,.elementor-widget-wpr-flip-box .wpr-flip-box-front .wpr-flip-box-content .wpr-flip-box-description{font-size:15px}.wpr-flip-box-item{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition-property:all;-o-transition-property:all;transition-property:all}.wpr-flip-box-content{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:relative;z-index:10}.wpr-flip-box-overlay{position:absolute;width:100%;height:100%;top:0;left:0;z-index:5}.wpr-flip-box-link{display:block;position:absolute;width:100%;height:100%;top:0;left:0;z-index:20}.wpr-flip-box-btn{display:inline-table;cursor:pointer}.wpr-flip-box-btn-icon{margin-left:5px}.wpr-flip-box-btn span{position:relative;z-index:2;opacity:1!important}.wpr-flip-box-btn:after,.wpr-flip-box-btn:before{z-index:1!important}.wpr-flip-box-image img{display:block;width:100%}.wpr-flip-box-title a,.wpr-flip-box-title a:hover{color:inherit}.wpr-flip-box-back-align-left .wpr-flip-box-back .wpr-flip-box-image img,.wpr-flip-box-front-align-left .wpr-flip-box-front .wpr-flip-box-image img{float:left}.wpr-flip-box-back-align-center .wpr-flip-box-back .wpr-flip-box-image img,.wpr-flip-box-front-align-center .wpr-flip-box-front .wpr-flip-box-image img{margin:0 auto}.wpr-flip-box-back-align-right .wpr-flip-box-back .wpr-flip-box-image img,.wpr-flip-box-front-align-right .wpr-flip-box-front .wpr-flip-box-image img{float:right}.wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-front,.wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-right .wpr-flip-box-back{-webkit-transform:rotateX(0) rotateY(-180deg);transform:rotateX(0) rotateY(-180deg)}.wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-left .wpr-flip-box-back,.wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-front{-webkit-transform:rotateX(0) rotateY(180deg);transform:rotateX(0) rotateY(180deg)}.wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-front,.wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-up .wpr-flip-box-back{-webkit-transform:rotateX(-180deg) rotateY(0);transform:rotateX(-180deg) rotateY(0)}.wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-down .wpr-flip-box-back,.wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-front{-webkit-transform:rotateX(180deg) rotateY(0);transform:rotateX(180deg) rotateY(0)}.wpr-flip-box-animation-flip .wpr-flip-box-active .wpr-flip-box-back{-webkit-transform:none;-ms-transform:none;transform:none}.wpr-flip-box-animation-3d-yes .wpr-flip-box-content{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transform:translateZ(70px) scale(.93);transform:translateZ(70px) scale(.93)}.wpr-flip-box-animation-push .wpr-flip-box,.wpr-flip-box-animation-slide .wpr-flip-box{overflow:hidden}.wpr-flip-box-animation-push .wpr-flip-box-back,.wpr-flip-box-animation-slide .wpr-flip-box-back{z-index:10}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-up .wpr-flip-box-back,.wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-up .wpr-flip-box-back{top:100%}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-back,.wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-back{top:0}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-down .wpr-flip-box-back,.wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-down .wpr-flip-box-back{top:auto;bottom:100%}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-back,.wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-back{top:auto;bottom:0}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-left .wpr-flip-box-back,.wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-left .wpr-flip-box-back{left:100%}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-back,.wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-back{left:0}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-right .wpr-flip-box-back,.wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-right .wpr-flip-box-back{left:auto;right:100%}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-back,.wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-back{left:auto;right:0}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-front{top:-100%}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-front{top:100%}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-front{left:-100%}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-front{left:100%}.wpr-flip-box-animation-fade .wpr-flip-box-active .wpr-flip-box-front{opacity:0}.wpr-flip-box-animation-zoom-in .wpr-flip-box-back{opacity:0;-webkit-transform:scale(.9);-ms-transform:scale(.9);transform:scale(.9);z-index:10}.wpr-flip-box-animation-zoom-in .wpr-flip-box-active .wpr-flip-box-back{opacity:1;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.wpr-flip-box-animation-zoom-out .wpr-flip-box-active .wpr-flip-box-front{opacity:0;-webkit-transform:scale(.9);-ms-transform:scale(.9);transform:scale(.9)}.elementor-widget-wpr-flip-box .wpr-flip-box-front{background-color:#605be5}.elementor-widget-wpr-flip-box .wpr-flip-box-back{background-color:#ff348b}.wpr-promo-box{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.wpr-promo-box-image{position:relative;overflow:hidden}.wpr-promo-box-style-cover .wpr-promo-box-image,.wpr-promo-box-style-pro-cs .wpr-promo-box-image{position:absolute;top:0;left:0;height:100%;width:100%}.wpr-promo-box-bg-image{position:absolute;top:0;left:0;height:100%;width:100%;z-index:10;background-size:cover;background-position:50%}.wpr-promo-box-bg-overlay{position:absolute;top:0;left:0;height:100%;width:100%;z-index:15;-webkit-transition-property:all;-o-transition-property:all;transition-property:all}.wpr-promo-box-content{position:relative;z-index:20;width:100%;display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.elementor-widget-wpr-promo-box.wpr-promo-box-style-classic .wpr-promo-box-content{background-color:#212121}.elementor-widget-wpr-promo-box.wpr-promo-box-style-classic .wpr-promo-box:hover .wpr-promo-box-content{background-color:#ddb34f}.wpr-promo-box-image-position-right .wpr-promo-box{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-promo-box-image-position-center .wpr-promo-box{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media screen and (max-width:640px){.wpr-promo-box-style-classic .wpr-promo-box{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-promo-box-style-classic .wpr-promo-box-image{min-width:auto!important}}.wpr-promo-box-link{display:block;position:absolute;width:100%;height:100%;top:0;left:0;z-index:40}.wpr-promo-box-btn{display:inline-block}.wpr-promo-box-btn-wrap,.wpr-promo-box-description,.wpr-promo-box-icon,.wpr-promo-box-title{width:100%}.wpr-promo-box-btn-icon{margin-left:5px}.wpr-promo-box-icon img{display:inline-block}.elementor .elementor-widget-wpr-promo-box .wpr-promo-box:hover .wpr-promo-box-bg-image{-webkit-filter:brightness(100%) contrast(100%) saturate(100%) hue-rotate(0deg);filter:brightness( 100%) contrast( 100%) saturate( 100%) hue-rotate( 0deg)}.wpr-promo-box-badge{position:absolute;display:inline-block;text-align:center;z-index:35}.wpr-promo-box-badge-left{left:0;right:auto}.wpr-promo-box-badge-right{left:auto;right:0}.wpr-promo-box-badge-corner{top:0;width:200px;height:200px;overflow:hidden}.wpr-promo-box-badge-corner .wpr-promo-box-badge-inner{width:200%}.wpr-promo-box-badge-corner.wpr-promo-box-badge-right{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.wpr-promo-box-badge-cyrcle{top:0}.wpr-promo-box-badge-cyrcle.wpr-promo-box-badge-left{-webkit-transform:translateX(-40%) translateY(-40%);-ms-transform:translateX(-40%) translateY(-40%);transform:translateX(-40%) translateY(-40%)}.wpr-promo-box-badge-cyrcle.wpr-promo-box-badge-right{-webkit-transform:translateX(40%) translateY(-40%);-ms-transform:translateX(40%) translateY(-40%);transform:translateX(40%) translateY(-40%)}.wpr-promo-box-badge-cyrcle .wpr-promo-box-badge-inner{border-radius:100%}.wpr-promo-box-badge-flag{border-right:5px}.wpr-promo-box-badge-flag.wpr-promo-box-badge-left{margin-left:-10px}.wpr-promo-box-badge-flag.wpr-promo-box-badge-right{margin-right:-10px}.wpr-promo-box-badge-flag:before{content:"";position:absolute;z-index:1;bottom:-5px;width:0;height:0;margin-left:-10px;border-left:10px solid transparent;border-right:10px solid transparent;border-top-style:solid;border-top-width:10px}.wpr-promo-box-badge-flag .wpr-promo-box-badge-inner{position:relative;z-index:2;border-top-left-radius:3px;border-top-right-radius:3px}.wpr-promo-box-badge-flag.wpr-promo-box-badge-left:before{left:5px;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.wpr-promo-box-badge-flag.wpr-promo-box-badge-right:before{right:-5px;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.wpr-promo-box-badge-flag.wpr-promo-box-badge-left .wpr-promo-box-badge-inner{border-bottom-right-radius:3px}.wpr-promo-box-badge-flag.wpr-promo-box-badge-right .wpr-promo-box-badge-inner{border-bottom-left-radius:3px}.elementor-widget-wpr-promo-box .wpr-promo-box-title{font-size:24px;font-weight:600}.elementor-widget-wpr-promo-box .wpr-promo-box-description{font-size:15px}.elementor-widget-wpr-promo-box .wpr-promo-box-badge,.elementor-widget-wpr-promo-box .wpr-promo-box-btn{font-size:14px}.elementor-widget-wpr-promo-box .wpr-promo-box-badge .wpr-promo-box-badge-inner{font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:.4px}.elementor-widget-wpr-promo-box .wpr-promo-box-badge-corner .wpr-promo-box-badge-inner{line-height:1.6}.wpr-content-ticker{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.wpr-content-ticker-inner{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;z-index:20;width:100%;overflow:hidden}.wpr-ticker-arrow-position-left .wpr-content-ticker-inner{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-ticker-gradient-type-both .wpr-ticker-gradient:before,.wpr-ticker-gradient-type-left .wpr-ticker-gradient:before{content:"";position:absolute;bottom:0;top:0;left:0;width:40px;z-index:20}.wpr-ticker-gradient-type-both .wpr-ticker-gradient:after,.wpr-ticker-gradient-type-right .wpr-ticker-gradient:after{content:"";position:absolute;bottom:0;top:0;right:0;width:40px;z-index:20}.wpr-ticker-arrow-position-left .wpr-ticker-slider-controls{margin-right:20px}.wpr-ticker-arrow-position-right .wpr-ticker-slider-controls{margin-left:20px}.wpr-ticker-slider{position:relative;width:100%;overflow:hidden}.wpr-ticker-heading-position-right .wpr-content-ticker{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-ticker-title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-align-items:center;overflow:hidden;-webkit-transition-property:all;-o-transition-property:all;transition-property:all;-webkit-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-duration:.2s;-o-transition-duration:.2s;transition-duration:.2s;margin:0}.wpr-ticker-title a,.wpr-ticker-title:hover a{color:inherit}.elementor-widget-wpr-content-ticker .wpr-ticker-item .wpr-ticker-title{font-size:14px}.wpr-ticker-title-inner{-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:inline}.wpr-ticker-heading{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;z-index:25;-webkit-transition-property:all;-o-transition-property:all;transition-property:all;-webkit-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.wpr-ticker-heading-icon-position-left .wpr-ticker-heading{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.elementor-widget-wpr-content-ticker .wpr-content-ticker .wpr-ticker-heading{font-size:14px}.wpr-ticker-heading-triangle-middle .wpr-ticker-heading:before{content:"";position:absolute;width:0;height:0;background:0 0!important;border-bottom-color:transparent;border-top-color:transparent;border-right-style:solid;border-bottom-style:solid;border-top-style:solid;border-width:10px;top:50%;-webkit-transition-property:inherit;-o-transition-property:inherit;transition-property:inherit;-webkit-transition-timing-function:inherit;-o-transition-timing-function:inherit;transition-timing-function:inherit;-webkit-transition-duration:inherit;-o-transition-duration:inherit;transition-duration:inherit}.wpr-ticker-heading-triangle-bottom .wpr-ticker-heading:before,.wpr-ticker-heading-triangle-top .wpr-ticker-heading:before{content:"";position:absolute;top:0;bottom:0;width:100%;z-index:1;-webkit-transition-property:inherit;-o-transition-property:inherit;transition-property:inherit;-webkit-transition-timing-function:inherit;-o-transition-timing-function:inherit;transition-timing-function:inherit;-webkit-transition-duration:inherit;-o-transition-duration:inherit;transition-duration:inherit}.wpr-ticker-heading-icon,.wpr-ticker-heading-text{position:relative;z-index:20;-webkit-transition-property:inherit;-o-transition-property:inherit;transition-property:inherit;-webkit-transition-timing-function:inherit;-o-transition-timing-function:inherit;transition-timing-function:inherit;-webkit-transition-duration:inherit;-o-transition-duration:inherit;transition-duration:inherit}.wpr-ticker-heading-triangle-top .wpr-ticker-heading:before{-ms-transform:skew(20deg);transform:skew(20deg);-webkit-transform:skew(20deg)}.wpr-ticker-heading-triangle-bottom .wpr-ticker-heading:before{-ms-transform:skew(-20deg);transform:skew(-20deg);-webkit-transform:skew(-20deg)}.wpr-ticker-heading-position-left.wpr-ticker-heading-triangle-middle .wpr-ticker-heading:before{-webkit-transform:translateY(-50%) rotate(180deg);-ms-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg)}.wpr-ticker-heading-position-right.wpr-ticker-heading-triangle-middle .wpr-ticker-heading:before{-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-ticker-slider-controls{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-ticker-arrow-style-vertical .wpr-ticker-slider-controls{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-ticker-arrow-style-horizontal .wpr-ticker-slider-controls{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.wpr-ticker-arrow{-webkit-box-sizing:content-box;box-sizing:content-box;text-align:center;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;cursor:pointer}.wpr-ticker-arrow i{display:block;width:100%;height:100%;line-height:inherit}.wpr-ticker-next-arrow{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.wpr-content-ticker-inner .wpr-ticker-item{display:-moz-flex!important;display:-ms-flex!important;display:-o-flex!important;display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center;position:relative;overflow:hidden}.wpr-ticker-marquee{overflow:hidden}.wpr-ticker-marquee .js-marquee{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-ticker-arrow-style-vertical .wpr-ticker-slider .wpr-ticker-item{margin:1px 0}.wpr-ticker-image{margin-right:10px}.wpr-ticker-link{display:block;position:absolute;width:100%;height:100%;top:0;left:0;z-index:20}.wpr-ticker-icon-circle{display:block;border-radius:50%;-webkit-border-radius:50%;z-index:5;-webkit-transition-property:inherit;-o-transition-property:inherit;transition-property:inherit;-webkit-transition-timing-function:inherit;-o-transition-timing-function:inherit;transition-timing-function:inherit;-webkit-transition-duration:inherit;-o-transition-duration:inherit;transition-duration:inherit}.wpr-ticker-icon-circle:after,.wpr-ticker-icon-circle:before{content:"";position:absolute;top:50%;left:50%;-webkit-animation-name:wpr-ticker-icon-blink;animation-name:wpr-ticker-icon-blink;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;border-radius:50%;border-width:1px;border-style:solid;-webkit-border-radius:50%;-moz-border-radius:50%;-webkit-transition-property:inherit;-o-transition-property:inherit;transition-property:inherit;-webkit-transition-timing-function:inherit;-o-transition-timing-function:inherit;transition-timing-function:inherit;-webkit-transition-duration:inherit;-o-transition-duration:inherit;transition-duration:inherit}.wpr-ticker-icon-circle:after{-webkit-animation-delay:1s;animation-delay:1s}@-webkit-keyframes wpr-ticker-icon-blink{0%{-webkit-transform:scale(1,1);transform:scale(1,1)}100%{-webkit-transform:scale(3,3);transform:scale(3,3);opacity:0}}@keyframes wpr-ticker-icon-blink{0%{-webkit-transform:scale(1,1);transform:scale(1,1)}100%{-webkit-transform:scale(3,3);transform:scale(3,3);opacity:0}}.wpr-tabs{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-tabs-position-above>.elementor-widget-container>.wpr-tabs{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-tabs-position-left>.elementor-widget-container>.wpr-tabs{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.wpr-tabs-position-right>.elementor-widget-container>.wpr-tabs{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-tabs-wrap{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.wpr-tabs-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap,.wpr-tabs-position-right>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-tabs-hr-position-center>.elementor-widget-container>.wpr-tabs{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-tabs-hr-position-left>.elementor-widget-container>.wpr-tabs{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.wpr-tabs-hr-position-right>.elementor-widget-container>.wpr-tabs{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.wpr-tabs-hr-position-justify>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap{width:100%}.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab,.wpr-tabs-hr-position-justify>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0}.wpr-tabs-hr-position-justify>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:first-of-type{margin-left:0!important}.wpr-tabs-hr-position-justify>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:last-of-type{margin-right:0!important}.wpr-tab{position:relative;z-index:25;display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer}.wpr-tab,.wpr-tab-icon,.wpr-tab-image,.wpr-tab-title{-webkit-transition-property:all;-o-transition-property:all;transition-property:all}.wpr-tab-icon,.wpr-tab-icon i,.wpr-tab-image,.wpr-tab-title{-webkit-transition-duration:inherit;-o-transition-duration:inherit;transition-duration:inherit}.elementor-element.elementor-widget-wpr-tabs>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab .wpr-tab-title,.elementor-element.elementor-widget-wpr-tabs>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab.wpr-tab-active .wpr-tab-title,.elementor-element.elementor-widget-wpr-tabs>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:hover .wpr-tab-title{font-size:15px;font-weight:500}.wpr-tabs-content-wrap{position:relative;width:100%;-webkit-transition-property:height;-o-transition-property:height;transition-property:height;-webkit-transition-timing-function:cubic-bezier(0.5,0.9,0.6,0.95);-o-transition-timing-function:cubic-bezier(0.5,0.9,0.6,0.95);transition-timing-function:cubic-bezier(0.5,0.9,0.6,0.95);-webkit-transition-duration:.5s;-o-transition-duration:.5s;transition-duration:.5s;z-index:1;overflow:hidden}.wpr-tab-content{position:absolute;width:100%;top:0;left:0;z-index:1}.elementor-element.elementor-widget-wpr-tabs>.elementor-widget-container>.wpr-tabs>.wpr-tabs-content-wrap>.wpr-tab-content{font-size:14px}.wpr-tab-content-active{position:relative;z-index:100}.wpr-tab-content-inner{opacity:0}.wpr-tab-content-active .wpr-tab-content-inner.wpr-overlay-none{opacity:1}.wpr-tabs-icon-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab .wpr-tab-icon,.wpr-tabs-icon-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab .wpr-tab-image{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.wpr-tabs-icon-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab .wpr-tab-title{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.wpr-tabs-icon-position-center>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.wpr-tabs-triangle-yes>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before{content:"";position:absolute;width:0;height:0;-webkit-transition-property:border-color;-o-transition-property:border-color;transition-property:border-color;-webkit-transition-timing-function:ease-in;-o-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0;visibility:hidden;z-index:110}.wpr-tabs-triangle-yes>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab-active.wpr-tab:before{opacity:1;visibility:visible}.wpr-tabs-position-above>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before{border-left-color:transparent;border-right-color:transparent;border-top-color:#fff;border-top-style:solid;border-left-style:solid;border-right-style:solid}.wpr-tabs-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before,.wpr-tabs-position-right>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before{border-bottom-color:transparent;border-top-color:transparent;border-right-style:solid;border-bottom-style:solid;border-top-style:solid}.wpr-tabs-position-above.wpr-tabs-triangle-type-outer.wpr-tabs-position-above>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before{left:50%;-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transform:translateX(-50%)}.wpr-tabs-position-above.wpr-tabs-triangle-type-inner.wpr-tabs-position-above>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before{left:50%;-ms-transform:translateX(-50%) rotate(180deg);transform:translateX(-50%) rotate(180deg);-webkit-transform:translateX(-50%) rotate(180deg);bottom:-1px}.wpr-tabs-position-left.wpr-tabs-triangle-type-outer>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before,.wpr-tabs-position-right.wpr-tabs-triangle-type-inner>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before{top:50%;-ms-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg);-webkit-transform:translateY(-50%) rotate(180deg)}.wpr-tabs-position-left.wpr-tabs-triangle-type-inner>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before,.wpr-tabs-position-right.wpr-tabs-triangle-type-outer>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before{top:50%;-ms-transform:translateY(-50%);transform:translateY(-50%);-webkit-transform:translateY(-50%)}.wpr-tabs-position-left.wpr-tabs-triangle-type-inner>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before{right:0}.wpr-tabs-position-right.wpr-tabs-triangle-type-inner>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before{left:0}.wpr-ticker-effect-typing .wpr-ticker-title:after{display:inline-block;vertical-align:top;opacity:1;color:inherit;margin-left:2px}.wpr-ticker-effect-typing .slick-current .wpr-ticker-title:after{-webkit-animation-name:wpr-cursor-blink;animation-name:wpr-cursor-blink;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-duration:.5s;animation-duration:.5s}.wpr-ticker-effect-typing .slick-current .wpr-ticker-title-inner{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-animation:wpr-ticker-typing 1s steps(30,end);animation:wpr-ticker-typing 1s steps(30,end);overflow:hidden}@-webkit-keyframes wpr-ticker-typing{from{width:0}to{width:100%}}@keyframes wpr-ticker-typing{from{width:0}to{width:100%}}.wpr-switcher-container{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0 auto}.wpr-switcher-wrap{position:relative;display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-switcher{position:relative;display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;height:100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;z-index:20;cursor:pointer}.wpr-switcher-inner{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-switcher-label-style-outer>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-first{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.wpr-switcher-label-style-outer>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-second{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.wpr-switcher-icon-position-left>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-inner>.wpr-switcher-icon,.wpr-switcher-icon-position-left>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-outer>.wpr-switcher-wrap>.wpr-switcher>.wpr-switcher-inner>.wpr-switcher-icon{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.wpr-switcher-icon-position-left>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-inner>.wpr-switcher-label,.wpr-switcher-icon-position-left>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-outer>.wpr-switcher-wrap>.wpr-switcher>.wpr-switcher-inner>.wpr-switcher-label{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.wpr-switcher-content-wrap{position:relative;width:100%;-webkit-transition-property:height;-o-transition-property:height;transition-property:height;-webkit-transition-timing-function:cubic-bezier(0.5,0.9,0.6,0.95);-o-transition-timing-function:cubic-bezier(0.5,0.9,0.6,0.95);transition-timing-function:cubic-bezier(0.5,0.9,0.6,0.95);-webkit-transition-duration:.5s;-o-transition-duration:.5s;transition-duration:.5s;z-index:1;overflow:hidden}.wpr-switcher-content{position:absolute;width:100%;top:0;left:0;z-index:1}.wpr-switcher-content-active{position:relative;z-index:100}.wpr-switcher-content-inner{opacity:0}.wpr-switcher-content-active .wpr-switcher-content-inner.wpr-overlay-none{opacity:1}.wpr-switcher-bg{position:absolute;height:100%;z-index:1;-o-transition:all ease-in-out .4s;transition:all ease-in-out .4s;-webkit-transition:all ease-in-out .4s}.wpr-switcher-style-dual.wpr-switcher-label-style-outer>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container[data-active-switcher*="1"] .wpr-switcher-bg{left:0}.wpr-switcher-style-dual.wpr-switcher-label-style-outer>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container[data-active-switcher*="2"] .wpr-switcher-bg{left:100%;-ms-transform:translateX(-100%);transform:translateX(-100%);-webkit-transform:translateX(-100%)}.wpr-stt-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-stt-btn{border:none;cursor:pointer;font-size:16px;line-height:48px;text-align:center;padding:20px;max-width:5cm;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;line-height:1;-webkit-box-shadow:0 0 10px 0 rgb(0,0,0,.25);box-shadow:0 0 10px 0 rgb(0,0,0,.25)}.wpr-stt-btn-icon-left .wpr-stt-btn{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-stt-btn-icon-right .wpr-stt-btn{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-stt-btn-icon-bottom .wpr-stt-btn{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.wpr-stt-btn-icon-top .wpr-stt-btn{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-stt-btn-align-fixed .wpr-stt-btn{visibility:hidden;position:fixed;z-index:9999}.wpr-stt-btn-align-fixed-right .wpr-stt-btn{left:auto}.wpr-stt-btn-align-fixed-left .wpr-stt-btn{right:auto}.wpr-pc-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-pc-btn{border:none;cursor:pointer;font-size:16px;line-height:48px;text-align:center;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;line-height:1}.elementor a.wpr-pc-btn{-webkit-box-shadow:0 0 10px 0 rgb(0,0,0,.2);box-shadow:0 0 10px 0 rgb(0,0,0,.2)}.wpr-pc-content{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-pc-btn-icon-right .wpr-pc-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-pc-btn-icon-left .wpr-pc-content{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-pc-btn-icon-bottom .wpr-pc-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-pc-btn-icon-top .wpr-pc-content{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.wpr-pc-btn-align-fixed .wpr-pc-btn{position:fixed;z-index:9999}.wpr-pc-btn-align-fixed-right .wpr-pc-btn{left:auto}.wpr-pc-btn-align-fixed-left .wpr-pc-btn{right:auto}.wpr-timeline-outer-container{position:relative}.wpr-vertical{min-width:100%;min-height:100%;overflow:hidden}.wpr-vertical .wpr-timeline-centered .wpr-data-wrap{display:flow-root}.wpr-timeline-centered{position:relative;display:table;width:100%;height:100%}.wpr-list-style-none ul{list-style-type:none}.wpr-list-style-disc ul{list-style-type:disc}.wpr-list-style-decimal ul{list-style-type:decimal}.wpr-timeline-centered .wpr-timeline-entry:last-of-type{margin-bottom:0!important}.wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry{position:relative;width:50%;float:right;margin-bottom:70px;clear:both}.wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry.wpr-left-aligned,.wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry.wpr-left-aligned{float:left}.wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry.wpr-left-aligned{width:100%}.wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry.wpr-left-aligned .wpr-timeline-entry-inner,.wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry.wpr-left-aligned .wpr-timeline-entry-inner{margin-left:0}.wpr-wrapper .wpr-year-label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-one-sided-timeline-left .wpr-icon,.wpr-one-sided-timeline-left .wpr-middle-line,.wpr-one-sided-timeline-left .wpr-timeline-fill,.wpr-one-sided-timeline-left .wpr-year-label{left:auto}.wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner{position:relative}.wpr-timeline-centered.wpr-one-sided-timeline .wpr-timeline-entry{width:100%;float:left}.wpr-timeline-centered.wpr-one-sided-timeline .wpr-timeline-entry .wpr-timeline-entry-inner{margin-left:0}.wpr-both-sided-timeline .wpr-middle-line{left:50%}.wpr-middle-line{position:absolute;display:block;width:4px;top:20px;height:100%}.wpr-one-sided-timeline-left .wpr-icon{right:.3%}.wpr-timeline-fill{position:absolute;display:block;width:4px;left:50%;top:20px;background-color:#3d2a3d;height:0}.wpr-read-more-button{display:inline-block;font-size:14px}.wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry.wpr-left-aligned .wpr-extra-label{left:108%}.wpr-horizontal .wpr-extra-label .wpr-label,.wpr-horizontal .wpr-extra-label .wpr-sub-label{text-align:center;line-height:1}.wpr-left-aligned .wpr-extra-label .wpr-label,.wpr-left-aligned .wpr-extra-label .wpr-sub-label{text-align:right}.wpr-right-aligned .wpr-extra-label .wpr-label,.wpr-right-aligned .wpr-extra-label .wpr-sub-label{text-align:left}.wpr-both-sided-timeline .wpr-right-aligned .wpr-extra-label .wpr-label,.wpr-both-sided-timeline .wpr-right-aligned .wpr-extra-label .wpr-sub-label{text-align:right!important}.wpr-both-sided-timeline .wpr-left-aligned .wpr-extra-label .wpr-label,.wpr-both-sided-timeline .wpr-left-aligned .wpr-extra-label .wpr-sub-label{text-align:left!important}.wpr-horizontal-bottom .wpr-extra-label{position:absolute;display:table;width:100%;height:80px;overflow:hidden;text-align:center;vertical-align:middle;top:0;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.wpr-extra-label .wpr-label,.wpr-extra-label .wpr-sub-label{display:block;width:100%}.wpr-extra-label .wpr-label{font-size:15px;font-weight:600}.wpr-extra-label .wpr-sub-label{font-size:12px}.wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry.wpr-left-aligned .wpr-timeline-entry-inner .wpr-icon{position:absolute;left:calc(100%);-webkit-transform:translate(-50%);-ms-transform:translate(-50%);transform:translate(-50%)}.wpr-both-sided-timeline .wpr-right-aligned .wpr-icon{position:absolute;right:calc(100%);-webkit-transform:translate(50%);-ms-transform:translate(50%);transform:translate(50%)}.wpr-timeline-centered .wpr-timeline-entry.wpr-left-aligned .wpr-timeline-entry-inner .wpr-data-wrap:after{right:0;margin-left:0;margin-right:-9px;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.wpr-story-info,.wpr-story-info-vertical{-webkit-box-shadow:0 0 20px 1px rgb(0 0 0 / 10%);box-shadow:0 0 20px 1px rgb(0 0 0 / 10%)}.wpr-right-aligned .wpr-story-info-vertical.wpr-data-wrap:after{right:100%}.wpr-timeline-centered .wpr-timeline-entry .wpr-extra-label{position:absolute;right:108%;width:100%;height:auto;padding:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.wpr-timeline-centered.wpr-one-sided-timeline .wpr-timeline-entry .wpr-extra-label,.wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry .wpr-extra-label{position:relative;right:auto;position:static!important;-webkit-transform:none!important;-ms-transform:none!important;transform:none!important;display:block;margin-bottom:10px}.wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry .wpr-extra-label{position:static!important;text-align:right;margin-left:auto}.wpr-timeline-centered .wpr-timeline-entry .wpr-extra-label>span{display:block}.wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-icon{display:block;width:48px;height:48px;-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;text-align:center;font-size:0;float:left}.wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-icon i{font-size:22px}.wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-data-wrap{position:relative;-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-data-wrap:after{content:'';display:block;position:absolute;width:0;height:0;border-style:solid;border-width:9px 9px 9px 0;border-color:transparent;top:14px;margin-left:-9px}.wpr-title-wrap{overflow:hidden;-ms-flex-negative:0;flex-shrink:0;width:100%!important}.wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-data-wrap .wpr-title{font-weight:700;display:inline-block}.wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-data-wrap .wpr-title span{-webkit-opacity:.6;-moz-opacity:.6;opacity:.6}.wpr-timeline-centered .wpr-year-wrap .wpr-year-label{display:inline-block;text-align:center;white-space:nowrap}.wpr-timeline-centered .wpr-year-wrap{display:block;position:relative;float:left;clear:left;width:100%;margin-left:auto;margin-right:auto;padding:0;text-align:center}.wpr-timeline-centered.wpr-one-sided-timeline .wpr-year-wrap .wpr-year-label{position:absolute;-webkit-transform:translate(-50%,0);-ms-transform:translate(-50%,0);transform:translate(-50%,0)}.wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-year-wrap .wpr-year-label{position:absolute;-webkit-transform:translate(50%,0);-ms-transform:translate(50%,0);transform:translate(50%,0)}.wpr-both-sided-timeline .wpr-left-aligned .wpr-data-wrap:after,.wpr-one-sided-timeline-left .wpr-left-aligned .wpr-data-wrap:after{left:100%}.wpr-one-sided-timeline .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-icon{-webkit-transform:translate(-50%,-50%)!important;-ms-transform:translate(-50%,-50%)!important;transform:translate(-50%,-50%)!important}.wpr-wrapper .wpr-icon{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important;-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.timeline-background-image{position:absolute;left:0;top:0;width:100%;height:100%;max-width:100%!important;max-height:100%!important;opacity:.7;z-index:-1}.timeline-background-image img{width:100%;height:100%;max-width:100%!important;max-height:100%!important}.wpr-horizontal-timeline .swiper-slide-line-bottom{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.wpr-horizontal-timeline .wpr-story-info{width:98%}.story-with-background{background-image:url('');background-repeat:no-repeat;background-position:center;background-size:cover}.wpr-timeline-story-overlay{position:absolute;top:0;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;line-height:1;height:auto}.wpr-story-info{line-height:1}.wpr-horizontal-bottom.swiper-container{position:unset;overflow:hidden;z-index:10}.wpr-horizontal.swiper-container{position:unset;z-index:11;margin:0 32px}.wpr-horizontal{padding-top:10px}.wpr-horizontal-bottom{padding-bottom:10px}.wpr-horizontal-bottom .wpr-year-wrap{position:absolute;display:table;text-align:center;top:96px;left:10px;height:36px;width:72px;vertical-align:middle;border-radius:6px;overflow:hidden;z-index:1;table-layout:fixed;word-break:break-word}.wpr-horizontal-bottom .wpr-year-label{padding:2px;vertical-align:middle;display:table-cell}.wpr-horizontal-bottom .wpr-icon{color:#fff;width:40px;height:40px;text-align:center;display:block;z-index:100;border-radius:50%;-webkit-transform:translate(-50%);-ms-transform:translate(-50%);transform:translate(-50%)}.wpr-horizontal-bottom .wpr-icon i{line-height:40px;font-size:26px}.wpr-horizontal-bottom .wpr-icon:empty{width:24px;height:24px;top:102px;left:calc(50% - 12px)}.wpr-horizontal-bottom .wpr-story-info:before{content:"";display:block;position:absolute}.wpr-horizontal-bottom .wpr-story-info{padding:0;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative;-webkit-transition:all .2s ease-in;-o-transition:all .2s ease-in;transition:all .2s ease-in;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:6px}.wpr-story-info,.wpr-story-info-vertical{font-size:0}.wpr-timeline-media{overflow:hidden;position:relative;display:inline-block}.wpr-timeline-iframe-wrapper{position:relative;width:100%;height:0;padding-bottom:56.25%}.wpr-timeline-iframe-wrapper iframe,.wpr-timeline-media iframe{position:absolute;top:0;left:0;width:100%;height:100%}.wpr-horizontal-bottom .wpr-title{display:inline-block;margin:0;line-height:1.2em}.wpr-horizontal-bottom .wpr-title{padding:8px 8px 0;font-size:20px}.wpr-horizontal-bottom .wpr-description{display:inline-block;width:100%;margin:0;line-height:1.2em;padding:8px;font-size:inherit}.wpr-horizontal .wpr-description{display:inline-block;width:100%;margin:0;line-height:1.2em;padding:8px;font-size:inherit}.wpr-wrapper .wpr-description{font-size:15px;background-color:transparent!important}.wpr-horizontal-bottom .wpr-swiper-pagination.swiper-pagination-progressbar{position:absolute;left:50%;z-index:0}.wpr-horizontal-bottom .wpr-swiper-pagination.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:rgba(0,0,0,.25)}.wpr-horizontal-bottom .wpr-button-next,.wpr-horizontal-bottom .wpr-button-prev{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:40px;top:113px;cursor:pointer;line-height:0}.wpr-horizontal-bottom .wpr-button-prev{margin-left:-10px}.wpr-horizontal-bottom .wpr-button-next{margin-right:-10px}.wpr-button-next.swiper-button-disabled,.wpr-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-slide.auto-height{height:auto}.wpr-horizontal-timeline .swiper-slide{height:auto}.wpr-horizontal-bottom{height:auto}.wpr-horizontal .wpr-year-wrap{position:absolute;display:table;text-align:center;bottom:61px;left:12px;height:36px;width:72px;vertical-align:middle;border-radius:6px;overflow:hidden;z-index:1;table-layout:fixed;word-break:break-word;background:#ff00b3}.wpr-horizontal .wpr-year-label{padding:2px;vertical-align:middle;display:table-cell;background:#ff00b3}.wpr-timeline-centered .wpr-extra-label{-webkit-transform:translateY(-50%)!important;-ms-transform:translateY(-50%)!important;transform:translateY(-50%)!important}.wpr-horizontal .wpr-extra-label{position:absolute;display:table;width:100%;height:80px;overflow:hidden;text-align:center;vertical-align:middle;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.wpr-horizontal .wpr-extra-label .wpr-label,.wpr-horizontal .wpr-extra-label .wpr-sub-label{display:inline-block;width:100%}.wpr-horizontal .wpr-icon{width:40px;height:40px;left:calc(50% - 20px);text-align:center;position:absolute;display:block;z-index:100;left:50%;-webkit-transform:translate(-50%,50%);-ms-transform:translate(-50%,50%);transform:translate(-50%,50%)}.wpr-horizontal .wpr-icon i{line-height:40px;font-size:26px}.wpr-horizontal .wpr-icon:empty{width:24px;height:24px;bottom:48px;left:calc(50% - 12px)}.wpr-horizontal .wpr-story-info:before{content:"";display:block;position:absolute;left:calc(50% - 10px);left:-o-calc(50% - 10px);border-bottom-color:transparent!important;bottom:-28px}.wpr-horizontal .wpr-story-info{position:relative;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:all .2s ease-in;-o-transition:all .2s ease-in;transition:all .2s ease-in;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.wpr-horizontal .wpr-title{padding:8px 8px 0;font-size:20px}.wpr-horizontal .wpr-swiper-pagination.swiper-pagination-progressbar{position:absolute;height:2px;left:50%;z-index:0}.wpr-horizontal .wpr-button-next,.wpr-horizontal .wpr-button-prev{position:absolute;font-size:40px;cursor:pointer;line-height:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-horizontal .wpr-button-prev{margin-left:-6px}.wpr-horizontal .wpr-button-next{margin-right:-6px}.wpr-button-next.swiper-button-disabled,.wpr-button-prev.swiper-button-disabled{opacity:.55;cursor:auto;pointer-events:none}.wpr-wrapper .wpr-year{font-size:16px;font-weight:700;line-height:2.1em}.wpr-wrapper span.wpr-extra-label{font-size:15px;font-weight:400;color:#7a7a7a}.wpr-wrapper span.wpr-title{font-size:20px;font-weight:600}.wpr-horizontal-bottom .wpr-story-info{border-bottom:4px solid #23a455}.wpr-horizontal-bottom .wpr-story-info:before{border:13px solid;border-top-color:transparent;border-left-color:transparent;border-right-color:transparent}.wpr-left-aligned .wpr-data-wrap:after{border-right-color:transparent!important}.wpr-wrapper span.wpr-extra-label{font-size:15px;font-weight:400;color:#7a7a7a}.wpr-wrapper a.wpr-title{font-size:24px;font-weight:700}.wpr-horizontal .wpr-story-info{border-bottom:4px solid #23a455}.wpr-horizontal .wpr-story-info:before{border:13px solid transparent}.wpr-horizontal .wpr-timeline-prev-arrow{left:1%;-webkit-transform:translateY(50%);-ms-transform:translateY(50%);transform:translateY(50%)}.wpr-horizontal .wpr-timeline-next-arrow{right:1%;-webkit-transform:translateY(50%) rotate(180deg);-ms-transform:translateY(50%) rotate(180deg);transform:translateY(50%) rotate(180deg)}.wpr-horizontal-bottom .wpr-timeline-prev-arrow{left:1%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-horizontal-bottom .wpr-timeline-next-arrow{right:1%;-webkit-transform:translateY(-50%) rotate(180deg);-ms-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg)}@media screen and (max-width:767px){.wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry{float:none;width:100%}.wpr-timeline-centered .wpr-right-aligned .wpr-icon{-webkit-transform:translate(-50%,-50%)!important;-ms-transform:translate(-50%,-50%)!important;transform:translate(-50%,-50%)!important}.wpr-one-sided-timeline .wpr-extra-label{position:static!important;-webkit-transform:none!important;-ms-transform:none!important;transform:none!important;display:block;margin-bottom:10px}.wpr-right-aligned .wpr-extra-label .wpr-label{text-align:left!important}}.wpr-lottie-animations-wrapper{min-height:1px}.wpr-particle-wrapper{position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.wpr-particle-wrapper canvas{position:relative;z-index:-1}.wpr-jarallax{position:relative;-webkit-transition:all .9s ease-in-out;-o-transition:all .9s ease-in-out;transition:all .9s ease-in-out}.wpr-parallax-multi-layer{position:absolute;top:0;left:0;height:100%;width:100%}.wpr-parallax-ml-children{position:relative;display:none}.wpr-parallax-ml-children img{max-width:100%;width:100%}.wpr-sticky-section-yes{width:100%}.wpr-reading-progress-bar-container{position:fixed;top:0;left:0;width:100%;z-index:9999999}.wpr-reading-progress-bar{background-color:#000;width:0%}
1
+ article,aside,figcaption,figure,footer,header,main,nav,section{display:block}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible;border:0;height:1px;margin:20px 0}pre{font-family:monospace,monospace;font-size:1em}a{text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}[class*=elementor-widget-wpr-] a{text-decoration:none}abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{display:block;border-style:none}svg:not(:root){overflow:hidden;display:inline}button,input{overflow:visible;outline:0}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:0}[type=button]:focus,[type=button]:hover,[type=submit]:focus,[type=submit]:hover,button:focus,button:hover{outline:0}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto;outline:0}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0;outline:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto;outline:0}[type=search]{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;outline:0}[type=search]:focus{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;outline:0}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}.wpr-hidden-element{display:none!important}.wpr-cv-container{display:block;width:100%;height:100%;position:absolute;left:0;top:0;z-index:90}.wpr-cv-outer{display:table;width:100%;height:100%}.wpr-cv-inner{display:table-cell;vertical-align:middle}.wpr-no-transition-delay{-webkit-transition-delay:0s!important;-o-transition-delay:0s!important;transition-delay:0s!important}.wpr-enable-dropcap p:first-child:first-letter{float:left;padding-right:10px;font-size:50px;line-height:1}.wpr-tooltip{visibility:hidden;opacity:0;position:absolute;top:0;left:0;-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%);padding:6px 10px;border-radius:4px;font-size:15px;-webkit-transition:all 230ms ease-in-out 0s;-o-transition:all 230ms ease-in-out 0s;transition:all 230ms ease-in-out 0s}.wpr-tooltip:before{content:"";position:absolute;left:10px;bottom:-5px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top-style:solid;border-top-width:6px}.wpr-mobile-nav-menu,.wpr-mobile-nav-menu ul,.wpr-nav-menu,.wpr-nav-menu ul{padding:0;list-style:none;font-size:0}.wpr-nav-menu li{position:relative}.wpr-nav-menu-horizontal .wpr-nav-menu>li{display:inline-block}.wpr-nav-menu .wpr-menu-item{display:block;position:relative;z-index:1}.wpr-mobile-nav-menu li,.wpr-nav-menu li{font-size:16px;line-height:1}.wpr-nav-menu-horizontal .wpr-nav-menu>li:first-child,.wpr-pointer-line-fx .wpr-nav-menu-horizontal>li:first-child .wpr-menu-item,.wpr-pointer-none .wpr-nav-menu-horizontal>li:first-child .wpr-menu-item{padding-left:0!important;margin-left:0!important}.wpr-nav-menu-horizontal .wpr-nav-menu>li:last-child,.wpr-pointer-line-fx .wpr-nav-menu-horizontal>li:last-child .wpr-menu-item,.wpr-pointer-none .wpr-nav-menu-horizontal>li:last-child .wpr-menu-item{padding-right:0!important;margin-right:0!important}div[class*=wpr-main-menu-align-] .wpr-nav-menu-vertical .wpr-nav-menu>li>.wpr-sub-menu{left:100%}.wpr-main-menu-align-center .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,.wpr-main-menu-align-left .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon{right:0}.wpr-main-menu-align-right .wpr-nav-menu-vertical .wpr-sub-icon{left:0}.wpr-main-menu-align-left .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align-left .wpr-nav-menu-vertical .wpr-menu-item,.wpr-main-menu-align-left .wpr-nav-menu-vertical .wpr-sub-menu li a{text-align:left}.wpr-main-menu-align-center .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align-center .wpr-nav-menu-vertical .wpr-menu-item{text-align:center}.wpr-main-menu-align-right .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align-right .wpr-nav-menu-vertical .wpr-menu-item,.wpr-main-menu-align-right .wpr-nav-menu-vertical .wpr-sub-menu li a{text-align:right}@media screen and (min-width:2400px){.wpr-main-menu-align--widescreencenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,.wpr-main-menu-align--widescreenleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon{right:0}.wpr-main-menu-align--widescreenleft .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--widescreenleft .wpr-nav-menu-vertical .wpr-menu-item{text-align:left}.wpr-main-menu-align--widescreencenter .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--widescreencenter .wpr-nav-menu-vertical .wpr-menu-item{text-align:center}.wpr-main-menu-align--widescreenright .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--widescreenright .wpr-nav-menu-vertical .wpr-menu-item{text-align:right}}@media screen and (max-width:1221px){.wpr-main-menu-align--laptopcenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,.wpr-main-menu-align--laptopleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon{right:0}.wpr-main-menu-align--laptopleft .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--laptopleft .wpr-nav-menu-vertical .wpr-menu-item{text-align:left}.wpr-main-menu-align--laptopcenter .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--laptopcenter .wpr-nav-menu-vertical .wpr-menu-item{text-align:center}.wpr-main-menu-align--laptopright .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--laptopright .wpr-nav-menu-vertical .wpr-menu-item{text-align:right}}@media screen and (max-width:1200px){.wpr-main-menu-align--tablet_extracenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,.wpr-main-menu-align--tablet_extraleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon{right:0}.wpr-main-menu-align--tablet_extraleft .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--tablet_extraleft .wpr-nav-menu-vertical .wpr-menu-item{text-align:left}.wpr-main-menu-align--tablet_extracenter .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--tablet_extracenter .wpr-nav-menu-vertical .wpr-menu-item{text-align:center}.wpr-main-menu-align--tablet_extraright .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--tablet_extraright .wpr-nav-menu-vertical .wpr-menu-item{text-align:right}}@media screen and (max-width:1024px){.wpr-main-menu-align--tabletcenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,.wpr-main-menu-align--tabletleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon{right:0}.wpr-main-menu-align--tabletleft .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--tabletleft .wpr-nav-menu-vertical .wpr-menu-item{text-align:left}.wpr-main-menu-align--tabletcenter .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--tabletcenter .wpr-nav-menu-vertical .wpr-menu-item{text-align:center}.wpr-main-menu-align--tabletright .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--tabletright .wpr-nav-menu-vertical .wpr-menu-item{text-align:right}}@media screen and (max-width:880px){.wpr-main-menu-align--mobile_extracenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,.wpr-main-menu-align--mobile_extraleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon{right:0}.wpr-main-menu-align--mobile_extraleft .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--mobile_extraleft .wpr-nav-menu-vertical .wpr-menu-item{text-align:left}.wpr-main-menu-align--mobile_extracenter .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--mobile_extracenter .wpr-nav-menu-vertical .wpr-menu-item{text-align:center}.wpr-main-menu-align--mobile_extraright .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--mobile_extraright .wpr-nav-menu-vertical .wpr-menu-item{text-align:right}}@media screen and (max-width:767px){.wpr-main-menu-align--mobilecenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,.wpr-main-menu-align--mobileleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon{right:0}.wpr-main-menu-align--mobileleft .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--mobileleft .wpr-nav-menu-vertical .wpr-menu-item{text-align:left}.wpr-main-menu-align--mobilecenter .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--mobilecenter .wpr-nav-menu-vertical .wpr-menu-item{text-align:center}.wpr-main-menu-align--mobileright .wpr-nav-menu-horizontal .wpr-nav-menu,.wpr-main-menu-align--mobileright .wpr-nav-menu-vertical .wpr-menu-item{text-align:right}}.wpr-nav-menu .wpr-sub-menu{display:none;position:absolute;z-index:999;width:180px;text-align:left;list-style:none;margin:0}.wpr-nav-menu-vertical .wpr-nav-menu>li>.wpr-sub-menu{top:0}.wpr-sub-menu-position-inline .wpr-nav-menu-vertical .wpr-sub-menu{position:static;width:100%!important;text-align:center!important;margin-left:0!important}.wpr-sub-menu-position-inline .wpr-sub-menu a{position:relative}.wpr-nav-menu .wpr-sub-menu .wpr-sub-menu{top:0;left:100%}.wpr-sub-menu .wpr-sub-menu-item{display:block;font-size:14px}.wpr-nav-menu-horizontal .wpr-menu-item .wpr-sub-icon{margin-left:7px;text-indent:0}.wpr-sub-icon{position:absolute;top:48%;transform:translateY(-50%);-ms-transform:translateY(-50%);-webkit-transform:translateY(-50%)}.wpr-sub-icon-rotate{-webkit-transform:rotate(-90deg) translateX(80%);-ms-transform:rotate(-90deg) translateX(80%);transform:rotate(-90deg) translateX(80%)}.wpr-sub-divider-yes .wpr-sub-menu li:not(:last-child){border-bottom-style:solid}.wpr-mobile-nav-menu,.wpr-mobile-nav-menu-container{display:none}.wpr-mobile-nav-menu{position:absolute;z-index:9999}.wpr-mobile-menu-drdown-align-left .wpr-mobile-nav-menu{left:0}.wpr-mobile-menu-drdown-align-center .wpr-mobile-nav-menu{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.wpr-mobile-menu-drdown-align-right .wpr-mobile-nav-menu{right:0}.wpr-mobile-menu-item,.wpr-mobile-sub-menu-item{position:relative}.wpr-mobile-menu-item,.wpr-mobile-sub-menu-item{display:block}.wpr-mobile-sub-menu{display:none}.wpr-mobile-nav-menu .menu-item-has-children>a:after{position:absolute;right:0;top:50%;transform:translateY(-50%);-ms-transform:translateY(-50%);-webkit-transform:translateY(-50%)}.wpr-mobile-menu-item-align-left .wpr-mobile-sub-menu a:before{content:' ';display:inline-block;width:10px}.wpr-mobile-menu-item-align-left .wpr-mobile-sub-menu .wpr-mobile-sub-menu a:before{width:20px}.wpr-mobile-menu-item-align-center .wpr-mobile-nav-menu{text-align:center}.wpr-mobile-menu-item-align-right .wpr-mobile-nav-menu{text-align:right}.wpr-mobile-menu-item-align-right .wpr-mobile-nav-menu .menu-item-has-children>a:after{right:auto!important;left:0}div[class*=wpr-sub-icon-] .wpr-mobile-nav-menu .menu-item-has-children>a:after{font-family:"Font Awesome 5 Free";font-size:12px;font-weight:900;font-style:normal;text-decoration:none;line-height:1;letter-spacing:0;text-rendering:auto;-webkit-font-smoothing:antialiased}.wpr-sub-icon-caret-down .wpr-mobile-nav-menu .menu-item-has-children>a:after,.wpr-sub-icon-caret-down .wpr-sub-icon:before{content:"\f0d7"}.wpr-sub-icon-angle-down .wpr-mobile-nav-menu .menu-item-has-children>a:after,.wpr-sub-icon-angle-down .wpr-sub-icon:before{content:"\f107"}.wpr-sub-icon-chevron-down .wpr-mobile-nav-menu .menu-item-has-children>a:after,.wpr-sub-icon-chevron-down .wpr-sub-icon:before{content:"\f078"}.wpr-sub-icon-plus .wpr-mobile-nav-menu .menu-item-has-children>a:after,.wpr-sub-icon-plus .wpr-sub-icon:before{content:"\f067"}.wpr-mobile-divider-yes .wpr-mobile-nav-menu a{border-bottom-style:solid}.wpr-mobile-toggle-wrap{font-size:0;line-height:0}.wpr-mobile-toggle{display:inline-block;padding:7px;cursor:pointer;border-style:solid;text-align:center}.wpr-mobile-toggle-line{display:block;width:100%}.wpr-mobile-toggle-line:last-child{margin-bottom:0!important}.wpr-mobile-toggle-text{font-size:16px;line-height:1!important}.wpr-mobile-toggle-text:last-child{display:none}.wpr-mobile-toggle-v2 .wpr-mobile-toggle-line:nth-child(2){width:78%;margin-left:24%}.wpr-mobile-toggle-v2 .wpr-mobile-toggle-line:nth-child(3){width:45%;margin-left:57%}.wpr-mobile-toggle-v3 .wpr-mobile-toggle-line:nth-child(2){width:75%;margin-left:15%}.wpr-mobile-toggle-v4 .wpr-mobile-toggle-line:nth-child(1),.wpr-mobile-toggle-v4 .wpr-mobile-toggle-line:nth-child(3){width:75%;margin-left:25%}.wpr-mobile-toggle-v4 .wpr-mobile-toggle-line:nth-child(2){width:75%;margin-right:25%}.wpr-mobile-toggle-v5 .wpr-mobile-toggle-line:nth-child(1){display:none}.wpr-nav-menu-bp-always .wpr-nav-menu-container{display:none}.wpr-nav-menu-bp-always .wpr-mobile-nav-menu-container{display:block}@media screen and (max-width:1025px){.wpr-nav-menu-bp-tablet .wpr-nav-menu-container{display:none}.wpr-nav-menu-bp-tablet .wpr-mobile-nav-menu-container{display:block}}@media screen and (max-width:767px){.wpr-nav-menu-bp-mobile .wpr-nav-menu-container,.wpr-nav-menu-bp-pro-al .wpr-nav-menu-container,.wpr-nav-menu-bp-pro-nn .wpr-nav-menu-container{display:none}.wpr-nav-menu-bp-mobile .wpr-mobile-nav-menu-container,.wpr-nav-menu-bp-pro-al .wpr-mobile-nav-menu-container,.wpr-nav-menu-bp-pro-nn .wpr-mobile-nav-menu-container{display:block}}.wpr-pointer-background-fx .wpr-active-menu-item:before,.wpr-pointer-border-fx .wpr-active-menu-item:before,.wpr-pointer-line-fx .wpr-active-menu-item:after,.wpr-pointer-line-fx .wpr-active-menu-item:before{opacity:1!important}.wpr-pointer-fx-none{-webkit-transition-duration:0s!important;-o-transition-duration:0s!important;transition-duration:0s!important}.wpr-pointer-double-line.wpr-pointer-fx-grow .wpr-active-menu-item:after,.wpr-pointer-double-line.wpr-pointer-fx-grow .wpr-active-menu-item:before,.wpr-pointer-double-line.wpr-pointer-fx-slide .wpr-active-menu-item:after,.wpr-pointer-double-line.wpr-pointer-fx-slide .wpr-active-menu-item:before,.wpr-pointer-overline.wpr-pointer-fx-grow .wpr-active-menu-item:before,.wpr-pointer-overline.wpr-pointer-fx-slide .wpr-active-menu-item:before,.wpr-pointer-underline.wpr-pointer-fx-grow .wpr-active-menu-item:after,.wpr-pointer-underline.wpr-pointer-fx-slide .wpr-active-menu-item:after{width:100%}.wpr-pointer-line-fx.wpr-pointer-fx-drop .wpr-active-menu-item:before{top:0}.wpr-pointer-line-fx.wpr-pointer-fx-drop .wpr-active-menu-item:after{bottom:0}.wpr-pointer-background-fx.wpr-pointer-fx-grow .wpr-active-menu-item:before,.wpr-pointer-background-fx.wpr-pointer-fx-shrink .wpr-active-menu-item:before,.wpr-pointer-background-fx.wpr-pointer-fx-sweep .wpr-active-menu-item:before,.wpr-pointer-border-fx.wpr-pointer-fx-grow .wpr-active-menu-item:before,.wpr-pointer-border-fx.wpr-pointer-fx-shrink .wpr-active-menu-item:before{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.wpr-pointer-background-fx.wpr-pointer-fx-skew .wpr-active-menu-item:before{-webkit-transform:perspective(600px) rotateX(0);transform:perspective(600px) rotateX(0)}.wpr-mobile-nav-menu .sub-menu-toggle{display:none!important}.elementor-widget-wpr-nav-menu .wpr-mobile-nav-menu a,.elementor-widget-wpr-nav-menu .wpr-mobile-toggle-text,.elementor-widget-wpr-nav-menu .wpr-nav-menu .wpr-menu-item{line-height:26px}.elementor-widget-wpr-nav-menu .wpr-sub-menu .wpr-sub-menu-item{font-size:14px}.wpr-onepage-nav{position:fixed;z-index:99999;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wpr-onepage-nav-item{position:relative}.wpr-onepage-nav-item:last-child{margin-bottom:0!important}.wpr-onepage-nav-vr-top .wpr-onepage-nav{top:0}.wpr-onepage-nav-vr-middle .wpr-onepage-nav{top:50%;-ms-transform:translateY(-50%);transform:translateY(-50%);-webkit-transform:translateY(-50%)}.wpr-onepage-nav-vr-bottom .wpr-onepage-nav{bottom:0}.wpr-onepage-nav-hr-left .wpr-onepage-nav{left:0}.wpr-onepage-nav-hr-right .wpr-onepage-nav{right:0}.wpr-onepage-nav-item .wpr-tooltip{text-align:center}.wpr-onepage-nav-item:hover .wpr-tooltip{opacity:1;visibility:visible}.wpr-onepage-nav-hr-left .wpr-onepage-nav-item:hover .wpr-tooltip{-ms-transform:translate(10%,-50%);transform:translate(10%,-50%);-webkit-transform:translate(10%,-50%)}.wpr-onepage-nav-hr-left .wpr-onepage-nav-item .wpr-tooltip{top:50%;left:100%;-ms-transform:translate(20%,-50%);transform:translate(20%,-50%);-webkit-transform:translate(20%,-50%)}.wpr-onepage-nav-hr-left .wpr-onepage-nav-item .wpr-tooltip:before{left:auto;left:-8px;top:50%;-webkit-transform:translateY(-50%) rotate(90deg);-ms-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg)}.wpr-onepage-nav-hr-right .wpr-onepage-nav-item:hover .wpr-tooltip{-ms-transform:translate(-110%,-50%);transform:translate(-110%,-50%);-webkit-transform:translate(-110%,-50%)}.wpr-onepage-nav-hr-right .wpr-onepage-nav-item .wpr-tooltip{top:50%;left:0;-ms-transform:translate(-120%,-50%);transform:translate(-120%,-50%);-webkit-transform:translate(-120%,-50%)}.wpr-onepage-nav-hr-right .wpr-onepage-nav-item .wpr-tooltip:before{left:auto;right:-8px;top:50%;-webkit-transform:translateY(-50%) rotate(-90deg);-ms-transform:translateY(-50%) rotate(-90deg);transform:translateY(-50%) rotate(-90deg)}.elementor-widget-wpr-onepage-nav .wpr-onepage-nav{background-color:#605be5;-webkit-box-shadow:0 0 15px 0 #d7d7d7;box-shadow:0 0 15px 0 #d7d7d7}.elementor-widget-wpr-onepage-nav .wpr-onepage-nav-item .wpr-tooltip{font-size:14px}.wpr-archive-title,.wpr-author-box-name,.wpr-author-box-title,.wpr-post-title{margin:0}.wpr-archive-title:after{content:' ';display:block}.wpr-featured-media-image{position:relative;display:inline-block;vertical-align:middle}.wpr-featured-media-caption{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:100%}.wpr-featured-media-caption span{display:inline-block}.wpr-fm-image-caption-hover .wpr-featured-media-caption{opacity:0;-webkit-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.wpr-fm-image-caption-hover:hover .wpr-featured-media-caption{opacity:1}.wpr-gallery-slider{opacity:0}.wpr-gallery-lightbox-yes .wpr-featured-media-image{cursor:pointer}.wpr-gallery-slide img{margin:0 auto}.wpr-gallery-slider-arrow{position:absolute;z-index:120;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;text-align:center;cursor:pointer}.wpr-gallery-slider-arrow i{display:block;width:100%;height:100%;line-height:inherit}.wpr-gallery-slider-arrow{-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-gallery-slider-nav-fade .wpr-gallery-slider-arrow{opacity:0;visibility:hidden}.wpr-gallery-slider-nav-fade .wpr-gallery-slider:hover .wpr-gallery-slider-arrow{opacity:1;visibility:visible}.wpr-gallery-slider-dots{position:absolute;display:inline-table;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:110}.wpr-gallery-slider-dots ul{list-style:none;margin:0;padding:0}.wpr-gallery-slider-dots li{float:left}.wpr-gallery-slider-dot{display:block;cursor:pointer}.wpr-gallery-slider-dots li:last-child .wpr-gallery-slider-dot{margin:0!important}.wpr-author-box-image{display:inline-block;overflow:hidden}.wpr-author-box-arrange-left .wpr-author-box{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-author-box-arrange-right .wpr-author-box{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-author-box-arrange-left .wpr-author-box-image,.wpr-author-box-arrange-right .wpr-author-box-image{-ms-flex-negative:0;flex-shrink:0}.wpr-author-box-arrange-left .wpr-author-box-text,.wpr-author-box-arrange-right .wpr-author-box-text{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.wpr-author-box-btn{display:inline-block}.wpr-post-navigation-wrap{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-posts-navigation-svg-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wpr-post-navigation-wrap>div:last-child{margin-right:0!important}.wpr-post-nav-fixed-default-wrap{position:fixed;bottom:0;z-index:999}.wpr-post-nav-fixed.wpr-post-navigation{position:fixed;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);z-index:999}.wpr-post-nav-fixed.wpr-post-navigation a{display:block}.wpr-post-nav-fixed.wpr-post-navigation img{position:absolute;top:0;max-width:none}.wpr-post-nav-fixed.wpr-post-nav-prev{left:0}.wpr-post-nav-fixed.wpr-post-nav-next{right:0}.wpr-post-nav-fixed.wpr-post-nav-hover img{opacity:0}.wpr-post-nav-fixed.wpr-post-nav-hover.wpr-post-nav-prev img{-webkit-transform:perspective(600px) rotateY(90deg);transform:perspective(600px) rotateY(90deg);-webkit-transform-origin:center left 0;-ms-transform-origin:center left 0;transform-origin:center left 0}.wpr-post-nav-fixed.wpr-post-nav-hover.wpr-post-nav-next img{-webkit-transform:perspective(600px) rotateY(-90deg);transform:perspective(600px) rotateY(-90deg);-webkit-transform-origin:center right 0;-ms-transform-origin:center right 0;transform-origin:center right 0}.wpr-post-nav-fixed.wpr-post-nav-hover:hover img{opacity:1;position:absolute;-webkit-transform:none;-ms-transform:none;transform:none}.wpr-post-nav-static.wpr-post-navigation{width:50%}.wpr-post-navigation{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;background-size:cover;background-position:center center;background-repeat:no-repeat}.wpr-post-navigation{position:relative}.wpr-post-navigation a{position:relative;z-index:2}.wpr-post-nav-overlay{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transition:all .3s ease-in 0s;-o-transition:all .3s ease-in 0s;transition:all .3s ease-in 0s}.wpr-post-nav-back{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center;font-size:30px}.wpr-post-navigation a{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-post-nav-next a{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.wpr-post-nav-labels{min-width:0}.wpr-post-nav-labels h5{display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden;white-space:nowrap;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.wpr-post-nav-labels span{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-post-nav-next .wpr-post-nav-labels h5,.wpr-post-nav-next .wpr-post-nav-labels>span{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.wpr-post-navigation i{text-align:center}.wpr-post-nav-dividers{padding:10px 0;border-top:1px solid #000;border-bottom:1px solid #000}.wpr-post-nav-divider{-ms-flex-item-align:stretch;-ms-grid-row-align:stretch;align-self:stretch;-ms-flex-negative:0;flex-shrink:0}.wpr-post-nav-dividers.wpr-post-navigation-wrap{padding-left:0!important;padding-right:0!important}.wpr-post-nav-back a{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:0}.wpr-post-nav-back span{display:inline-block;border-style:solid}.wpr-post-nav-back span:nth-child(2n){margin-right:0!important}.wpr-post-info{padding:0;list-style:none}.wpr-post-info li{position:relative}.wpr-post-info-horizontal li{display:inline-block}.wpr-post-info-horizontal li:last-child{padding-right:0!important}.wpr-post-info-vertical li:last-child{padding-bottom:0!important}.wpr-post-info li .wpr-post-info-text{display:inline-block;text-align:left!important}.wpr-post-info li:after{content:' ';display:inline-block;position:absolute}.wpr-post-info li:last-child:after{display:none}.wpr-post-info-horizontal li:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-post-info-vertical li:after{bottom:0}.wpr-post-info-align-left .wpr-post-info-vertical li:after{left:0}.wpr-post-info-align-center .wpr-post-info-vertical li:after{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.wpr-post-info-align-right .wpr-post-info-vertical li:after{right:0}.wpr-post-info-text span{display:inline-block}.wpr-post-info-author img{display:inline-block;margin-right:10px;vertical-align:middle}.wpr-post-info-custom-field a,.wpr-post-info-custom-field span{display:inline-block}.wpr-comments-list,.wpr-comments-list ul.children{list-style:none;padding:0}.wpr-comment-avatar{float:left;overflow:hidden}.wpr-comment-avatar img{margin:0!important;position:static!important}.wpr-comment-metadata>*{display:inline-block}.wpr-comment-metadata p{display:block}.wpr-comments-wrap .comment-reply-link{float:none!important}.wpr-comment-reply-separate.wpr-comment-reply-align-right .wpr-comment-reply{text-align:right}.wpr-comment-reply-inline.wpr-comment-reply-align-right .wpr-comment-reply{float:right}.wpr-comment-reply-inline.wpr-comment-reply-align-left .wpr-comment-reply:before{content:'\00a0|\00a0'}.wpr-comment-reply a,.wpr-comments-navigation a,.wpr-comments-navigation span{display:inline-block}.wpr-comments-navigation-center,.wpr-comments-navigation-justify{text-align:center}.wpr-comments-navigation-left{text-align:left}.wpr-comments-navigation-right{text-align:right}.wpr-comments-navigation-justify a.prev{float:left}.wpr-comments-navigation-justify a.next{float:right}.wpr-comment-form .comment-notes{display:none}.wpr-comment-form-author input,.wpr-comment-form-email input,.wpr-comment-form-text,.wpr-comment-form-text textarea,.wpr-comment-form-url input{display:block;width:100%}.wpr-comment-form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-comment-form label{margin-bottom:10px}.wpr-comment-form-fields{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-cf-no-url .wpr-comment-form-email{margin-right:0!important}.wpr-cf-style-1 .wpr-comment-form-fields,.wpr-cf-style-4 .wpr-comment-form-fields{display:block}.wpr-comment-form .wpr-comment-form-fields>div{width:100%}.wpr-cf-style-2 .wpr-comment-form-fields,.wpr-cf-style-5 .wpr-comment-form-fields,.wpr-comment-form[class*=wpr-cf-pro] .wpr-comment-form-fields{display:block;width:60%}.wpr-cf-style-2 .wpr-comment-form-fields>div,.wpr-cf-style-5 .wpr-comment-form-fields>div,.wpr-comment-form[class*=wpr-cf-pro]>div{margin-right:0!important}.wpr-cf-style-4.wpr-comment-form .wpr-comment-form-fields,.wpr-cf-style-5.wpr-comment-form .wpr-comment-form-fields,.wpr-cf-style-6.wpr-comment-form .wpr-comment-form-fields,.wpr-comment-form[class*=wpr-cf-pro] .wpr-comment-form-fields{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.wpr-submit-comment{cursor:pointer}.wpr-comments-list .comment-respond{margin-bottom:30px}.wpr-product-media-wrap{position:relative;display:inline-block;max-width:100%}.wpr-product-media-image{display:inline-block;position:relative;vertical-align:middle;overflow:hidden}.wpr-product-media-caption{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:100%}.wpr-product-media-caption span{display:inline-block}.wpr-pd-image-caption-hover .wpr-product-media-wrap .wpr-product-media-caption{opacity:0;-webkit-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.wpr-pd-image-caption-hover .wpr-product-media-wrap:hover .wpr-product-media-caption{opacity:1}.wpr-product-thumb-nav li{overflow:hidden;cursor:pointer;opacity:.75}.wpr-product-thumb-nav li.slick-current{opacity:1}.wpr-product-thumb-nav li img{width:100%}.wpr-gallery-lightbox-yes .wpr-product-media-image{cursor:pointer}.wpr-gallery-zoom-yes .wpr-product-media-image:hover img{-webkit-transform:scale(1.5);-ms-transform:scale(1.5);transform:scale(1.5)}.wpr-product-media-onsale{position:absolute;top:0;left:0;z-index:2}.wpr-product-price-separate .wpr-product-price del,.wpr-product-price-separate .wpr-product-price ins{display:block}.wpr-grid{opacity:0}.wpr-grid-item{padding:0!important;float:left;position:relative;text-align:center}.wpr-grid-item,.wpr-grid-item *{outline:0!important}.wpr-grid-last-row{margin-bottom:0!important}.wpr-grid-item-above-content{border-bottom:0!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.wpr-grid:not([data-settings*=list]) .wpr-grid-item-below-content{border-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.wpr-grid-item-inner,.wpr-grid-media-wrap{position:relative}.wpr-grid-image-wrap{overflow:hidden}.wpr-grid-image-wrap img{display:block;width:100%}.wpr-grid-media-hover{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden}.wpr-grid-media-hover-top{position:absolute;top:0;left:0;width:100%;z-index:2}.wpr-grid-media-hover-bottom{position:absolute;bottom:0;left:0;width:100%;z-index:2}.wpr-grid-media-hover-middle{position:relative;z-index:2}.wpr-grid .wpr-cv-container,.wpr-magazine-grid .wpr-cv-container{z-index:1}.wpr-grid-item-display-block{clear:both}.wpr-grid-item-display-custom.wpr-grid-item-align-left,.wpr-grid-item-display-inline.wpr-grid-item-align-left{float:left}.wpr-grid-item-display-custom.wpr-grid-item-align-right,.wpr-grid-item-display-inline.wpr-grid-item-align-right{float:right}.wpr-grid-item-display-custom.wpr-grid-item-align-center,.wpr-grid-item-display-inline.wpr-grid-item-align-center{float:none;display:inline-block;vertical-align:middle}.wpr-grid-cf-style-1 .inner-block>a,.wpr-grid-cf-style-1 .inner-block>span,.wpr-grid-cf-style-2 .inner-block>a,.wpr-grid-cf-style-2 .inner-block>span,.wpr-grid-item-add-to-cart .inner-block>a,.wpr-grid-item-author .inner-block a,.wpr-grid-item-comments .inner-block a,.wpr-grid-item-date .inner-block>span,.wpr-grid-item-lightbox .inner-block>span,.wpr-grid-item-likes .inner-block a,.wpr-grid-item-price .inner-block>span,.wpr-grid-item-read-more .inner-block a,.wpr-grid-item-sharing .inner-block>span,.wpr-grid-item-status .inner-block>span,.wpr-grid-item-time .inner-block>span,.wpr-grid-item-title .inner-block a,.wpr-grid-product-categories .inner-block a,.wpr-grid-product-tags .inner-block a,.wpr-grid-sep-style-1 .inner-block>span,.wpr-grid-sep-style-2 .inner-block>span,.wpr-grid-tax-style-1 .inner-block a,.wpr-grid-tax-style-2 .inner-block a{display:inline-block}.wpr-grid-item-display-custom.wpr-grid-cf-style-1 .inner-block>a,.wpr-grid-item-display-custom.wpr-grid-cf-style-1 .inner-block>span,.wpr-grid-item-display-custom.wpr-grid-cf-style-2 .inner-block>a,.wpr-grid-item-display-custom.wpr-grid-cf-style-2 .inner-block>span,.wpr-grid-item-display-custom.wpr-grid-item-add-to-cart .inner-block>a,.wpr-grid-item-display-custom.wpr-grid-item-comments .inner-block a,.wpr-grid-item-display-custom.wpr-grid-item-date .inner-block>span,.wpr-grid-item-display-custom.wpr-grid-item-lightbox .inner-block>span,.wpr-grid-item-display-custom.wpr-grid-item-likes .inner-block a,.wpr-grid-item-display-custom.wpr-grid-item-product-price .inner-block>span,.wpr-grid-item-display-custom.wpr-grid-item-product-status .inner-block>span,.wpr-grid-item-display-custom.wpr-grid-item-read-more .inner-block a,.wpr-grid-item-display-custom.wpr-grid-item-sharing .inner-block>span,.wpr-grid-item-display-custom.wpr-grid-item-time .inner-block>span,.wpr-grid-item-display-custom.wpr-grid-item-title .inner-block a,.wpr-grid-item-display-custom.wpr-grid-sep-style-1 .inner-block>span,.wpr-grid-item-display-custom.wpr-grid-sep-style-2 .inner-block>span{width:100%}.wpr-grid-item-excerpt .inner-block p{margin:0!important}.wpr-grid-media-hover-bg{position:absolute}.wpr-grid-media-hover-bg img{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%) scale(1)!important;-ms-transform:translate(-50%,-50%) scale(1)!important;transform:translate(-50%,-50%) scale(1)!important;-webkit-filter:grayscale(0)!important;filter:grayscale(0)!important;-webkit-filter:blur(0px)!important;-filter:blur(0px)!important}.wpr-grid-item-author img,.wpr-grid-item-author span{display:inline-block;vertical-align:middle}.wpr-grid-item-author img{-webkit-transform:none!important;-ms-transform:none!important;transform:none!important;-webkit-filter:none!important;filter:none!important}.wpr-grid-item-likes .inner-block a{text-align:center}.wpr-likes-no-default.wpr-likes-zero i{padding:0!important}.wpr-grid-item-sharing .inner-block a{text-align:center}.wpr-grid-item-sharing .wpr-post-sharing{position:relative}.wpr-grid-item-sharing .wpr-sharing-icon{display:inline-block;position:relative}.wpr-grid-item-sharing .wpr-sharing-icon .wpr-tooltip{left:50%;-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%);-webkit-transform:translate(-50%,-100%)}.wpr-grid-item-sharing .wpr-sharing-icon:hover .wpr-tooltip{visibility:visible;opacity:1;-ms-transform:translate(-50%,-120%);transform:translate(-50%,-120%);-webkit-transform:translate(-50%,-120%)}.wpr-grid-item-sharing .wpr-tooltip:before{left:50%;-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transform:translateX(-50%)}.wpr-grid-item-sharing .wpr-sharing-trigger{cursor:pointer}.wpr-grid-item-sharing .wpr-tooltip{display:block;padding:10px}.wpr-grid-item-sharing .wpr-sharing-hidden{visibility:hidden;position:absolute;z-index:3;text-align:center}.wpr-grid-item-sharing .wpr-sharing-hidden a{opacity:0}.wpr-sharing-hidden a{position:relative;top:-5px;-webkit-transition-duration:.3s!important;-o-transition-duration:.3s!important;transition-duration:.3s!important;-webkit-transition-timing-function:cubic-bezier(.445,.050,.55,.95);-o-transition-timing-function:cubic-bezier(.445,.050,.55,.95);transition-timing-function:cubic-bezier(.445,.050,.55,.95);-webkit-transition-delay:0s;-o-transition-delay:0s;transition-delay:0s}.wpr-sharing-hidden a+a{-webkit-transition-delay:0.1s;-o-transition-delay:0.1s;transition-delay:0.1s}.wpr-sharing-hidden a+a+a{-webkit-transition-delay:0.2s;-o-transition-delay:0.2s;transition-delay:0.2s}.wpr-sharing-hidden a+a+a+a{-webkit-transition-delay:0.3s;-o-transition-delay:0.3s;transition-delay:0.3s}.wpr-sharing-hidden a+a+a+a+a{-webkit-transition-delay:0.4s;-o-transition-delay:0.4s;transition-delay:0.4s}.wpr-grid-item-sharing a:last-of-type{margin-right:0!important}.wpr-grid-item-sharing .inner-block a{-webkit-transition-property:color,background-color,border;-o-transition-property:color,background-color,border;transition-property:color,background-color,border;-webkit-transition-timing-function:linear;-o-transition-timing-function:linear;transition-timing-function:linear}.wpr-grid-item-add-to-cart .inner-block>a,.wpr-grid-item-read-more .inner-block>a{position:relative;overflow:hidden;vertical-align:middle}.wpr-grid-item-add-to-cart .inner-block>a i,.wpr-grid-item-add-to-cart .inner-block>a span,.wpr-grid-item-read-more .inner-block>a i,.wpr-grid-item-read-more .inner-block>a span{position:relative;z-index:2;opacity:1}.wpr-grid-item-add-to-cart .inner-block>a:after,.wpr-grid-item-add-to-cart .inner-block>a:before,.wpr-grid-item-read-more .inner-block>a:after,.wpr-grid-item-read-more .inner-block>a:before{z-index:1}.wpr-grid-item-lightbox .inner-block>span,.wpr-grid-lightbox-overlay{cursor:pointer}.wpr-grid-lightbox-overlay{position:absolute;top:0;left:0;z-index:10;width:100%;height:100%}.admin-bar .lg-toolbar{top:32px}.wpr-grid-item-separator .inner-block{font-size:0;line-height:0}.wpr-grid-item-separator.wpr-grid-item-display-inline span{width:100%!important}.wpr-woo-rating i{display:inline;position:relative;font-family:eicons;font-style:normal;line-height:1;overflow:hidden}.wpr-woo-rating i:before{content:'\e934';font-weight:900;display:block;position:absolute;top:0;left:0;font-size:inherit;font-family:inherit;overflow:hidden}.wpr-woo-rating-style-2 .wpr-woo-rating i:before{content:'\002605'}.wpr-woo-rating i:last-of-type{margin-right:0!important}.wpr-rating-icon-empty:before{display:none!important}.wpr-rating-icon-0:before{width:0}.wpr-rating-icon-1:before{width:10%}.wpr-rating-icon-2:before{width:20%}.wpr-rating-icon-3:before{width:30%}.wpr-rating-icon-4:before{width:40%}.wpr-rating-icon-5:before{width:50%}.wpr-rating-icon-6:before{width:60%}.wpr-rating-icon-7:before{width:70%}.wpr-rating-icon-8:before{width:80%}.wpr-rating-icon-9:before{width:90%}.wpr-rating-icon-full:before{width:100%}.wpr-grid-filters li{display:inline-block}.wpr-grid-filters li:last-of-type{margin-right:0!important}.wpr-grid-filters li span{display:inline-block;cursor:pointer;text-decoration:inherit}.wpr-grid-filters li a{display:inline-block}.wpr-grid-filters li sup{position:relative;padding-left:5px;line-height:1}.wpr-grid-filters li sup[data-brackets=yes]:before{content:'\0028'}.wpr-grid-filters li sup[data-brackets=yes]:after{content:'\0029'}.wpr-grid-filters .wpr-active-filter.wpr-pointer-item:after,.wpr-grid-filters .wpr-active-filter.wpr-pointer-item:before{opacity:1!important;width:100%!important}.wpr-grid-filters-sep{font-style:normal}.wpr-grid-filters-sep-left li:first-child .wpr-grid-filters-sep,.wpr-grid-filters-sep-right li:last-of-type .wpr-grid-filters-sep{display:none}.wpr-sub-filters{display:none}.wpr-grid-sorting{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.wpr-grid-sorting .woocommerce-ordering,.wpr-grid-sorting>div{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.wpr-grid-sorting .woocommerce-ordering{text-align:right}.wpr-grid-sorting .woocommerce-ordering select{width:auto;outline:0!important}.wpr-grid-sorting .woocommerce-ordering,.wpr-grid-sorting .woocommerce-result-count,.wpr-grid-sorting .wpr-shop-page-title{margin:0!important}.wpr-grid-pagination{margin-top:30px}.wpr-grid-pagination>a,.wpr-grid-pagination>span{display:inline-block}.wpr-grid-pagination i,.wpr-grid-pagination svg{vertical-align:middle}.wpr-grid-pagination .wpr-disabled-arrow{cursor:not-allowed;opacity:.4}.wpr-pagination-finish,.wpr-pagination-loading{display:none}.wpr-grid-pagination-center .wpr-grid-pagination,.wpr-grid-pagination-justify .wpr-grid-pagination{text-align:center}.wpr-grid-pagination-center .wpr-grid-pagination{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wpr-grid-pagination-left .wpr-grid-pagination{text-align:left;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.wpr-grid-pagination-right .wpr-grid-pagination{text-align:right;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.wpr-grid-pagination-infinite-scroll{text-align:center}.wpr-grid-pagination-justify .wpr-grid-pagi-left-arrows,.wpr-grid-pagination-justify .wpr-grid-pagination-default .wpr-prev-post-link{float:left}.wpr-grid-pagination-justify .wpr-grid-pagi-right-arrows,.wpr-grid-pagination-justify .wpr-grid-pagination-default .wpr-next-post-link{float:right}.wpr-grid-pagi-left-arrows,.wpr-grid-pagi-right-arrows,.wpr-grid-pagination .wpr-load-more-btn{display:inline-block}.wpr-grid-pagi-right-arrows a:last-child,.wpr-grid-pagi-right-arrows span:last-child,.wpr-load-more-btn{margin-right:0!important}.wpr-grid-pagination .wpr-first-page,.wpr-grid-pagination .wpr-last-page,.wpr-grid-pagination .wpr-next-page,.wpr-grid-pagination .wpr-next-post-link,.wpr-grid-pagination .wpr-prev-page,.wpr-grid-pagination .wpr-prev-post-link{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%}@media screen and (max-width:767px){.wpr-grid-pagination a,.wpr-grid-pagination span{margin-bottom:10px}.wpr-grid-pagination a>span,.wpr-grid-pagination span>span{display:none}.wpr-grid-pagination.wpr-grid-pagination-numbered a i,.wpr-grid-pagination.wpr-grid-pagination-numbered span i{padding:0!important}}.elementor-editor-active .wpr-grid-pagination-infinite-scroll{display:none}.wpr-grid-slider-nav-position-default .wpr-grid-slider-arrow-container{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-grid-slider-nav-position-default .wpr-grid-slider-arrow{position:static}.wpr-grid-slider-nav-position-default .wpr-grid-slider-prev-arrow{-ms-transform:none;transform:none;-webkit-transform:none}.wpr-grid-slider-nav-position-default .wpr-grid-slider-next-arrow{-ms-transform:translateY(0) rotate(180deg);transform:translateY(0) rotate(180deg);-webkit-transform:translateY(0) rotate(180deg)}.wpr-grid-slider-nav-align-bottom-center .wpr-grid-slider-arrow-container,.wpr-grid-slider-nav-align-top-center .wpr-grid-slider-arrow-container{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.wpr-grid-slider-arrow{position:absolute;z-index:120;top:50%;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;text-align:center;cursor:pointer}.wpr-grid-slider-arrow i{display:block;width:100%;height:100%}.wpr-grid-slider-prev-arrow{left:1%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-grid-slider-next-arrow{right:1%;-webkit-transform:translateY(-50%) rotate(180deg);-ms-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg)}.wpr-grid-slider-nav-fade .wpr-grid-slider-arrow-container{opacity:0;visibility:hidden}.wpr-grid-slider-nav-fade:hover .wpr-grid-slider-arrow-container{opacity:1;visibility:visible}.wpr-grid-slider-dots{display:inline-table;position:absolute;z-index:110;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.wpr-grid-slider-dots ul{list-style:none;margin:0;padding:0}.wpr-grid-slider-dots-horizontal .wpr-grid-slider-dots li,.wpr-grid-slider-dots-pro-vr .slick-dots li{float:left}.wpr-grid.slick-dotted.slick-slider{margin-bottom:0!important}.wpr-grid-slider-dots-vertical .slick-dots li{display:block;width:auto!important;height:auto!important;margin:0!important}.wpr-grid-slider-dots-horizontal .slick-dots li,.wpr-grid-slider-dots-pro-vr .slick-dots li{width:auto!important;padding-top:10px;margin:0!important}.wpr-grid-slider-dots-horizontal .slick-dots li:last-child span{margin-right:0!important}.wpr-grid-slider-dot{display:block;cursor:pointer}.wpr-grid-slider-dots li:last-child .wpr-grid-slider-dot{margin:0!important}.wpr-grid-item-protected{position:absolute;top:0;left:0;z-index:11!important;width:100%;height:100%}.wpr-grid-item-protected i{font-size:22px}.wpr-grid-item-protected input{width:50%;border:none;margin-top:10px;padding:7px 13px;font-size:13px}.elementor-widget-wpr-grid .wpr-grid-media-hover-bg,.elementor-widget-wpr-media-grid .wpr-grid-media-hover-bg,.elementor-widget-wpr-woo-grid .wpr-grid-media-hover-bg{background-color:rgba(0,0,0,.25)}.elementor-widget-wpr-magazine-grid .wpr-grid-media-hover-bg{background-image:-o-linear-gradient(top,rgba(255,255,255,0) 46%,rgba(96,91,229,.87) 100%);background-image:-webkit-gradient(linear,left top,left bottom,color-stop(46%,rgba(255,255,255,0)),to(rgba(96,91,229,.87)));background-image:linear-gradient(180deg,rgba(255,255,255,0) 46%,rgba(96,91,229,.87) 100%)}.elementor-widget-wpr-grid .wpr-grid-item-title,.elementor-widget-wpr-woo-grid .wpr-grid-item-title{font-size:21px;font-weight:700;line-height:23px;margin:0}.elementor-widget-wpr-magazine-grid .wpr-grid-item-title{font-size:22px;margin:0}.elementor-widget-wpr-media-grid .wpr-grid-item-title{font-size:15px;font-weight:500;margin:0}.elementor-widget-wpr-grid .wpr-grid-cf-style-1,.elementor-widget-wpr-grid .wpr-grid-filters li,.elementor-widget-wpr-grid .wpr-grid-item-author,.elementor-widget-wpr-grid .wpr-grid-item-content,.elementor-widget-wpr-grid .wpr-grid-item-excerpt,.elementor-widget-wpr-grid .wpr-grid-item-likes,.elementor-widget-wpr-grid .wpr-grid-item-protected p,.elementor-widget-wpr-grid .wpr-grid-item-read-more a,.elementor-widget-wpr-grid .wpr-grid-item-sharing,.elementor-widget-wpr-grid .wpr-grid-item-time,.elementor-widget-wpr-grid .wpr-grid-pagination,.elementor-widget-wpr-grid .wpr-grid-tax-style-1,.elementor-widget-wpr-magazine-grid .wpr-grid-item-content,.elementor-widget-wpr-magazine-grid .wpr-grid-item-excerpt,.elementor-widget-wpr-media-grid .wpr-grid-filters li,.elementor-widget-wpr-media-grid .wpr-grid-item-sharing,.elementor-widget-wpr-woo-grid .wpr-grid-item-add-to-cart a,.elementor-widget-wpr-woo-grid .wpr-grid-item-content,.elementor-widget-wpr-woo-grid .wpr-grid-item-lightbox,.elementor-widget-wpr-woo-grid .wpr-grid-item-likes,.elementor-widget-wpr-woo-grid .wpr-grid-item-price .inner-block>span,.elementor-widget-wpr-woo-grid .wpr-grid-item-sharing,.elementor-widget-wpr-woo-grid .wpr-grid-item-status .inner-block>span,.elementor-widget-wpr-woo-grid .wpr-grid-pagination,.elementor-widget-wpr-woo-grid .wpr-grid-product-categories,.elementor-widget-wpr-woo-grid .wpr-grid-product-tags,.elementor-widget-wpr-woo-grid .wpr-woo-rating span{font-size:14px}.elementor-widget-wpr-magazine-grid .wpr-grid-tax-style-1{font-size:12px;list-style-position:0.5px}.elementor-widget-wpr-magazine-grid .wpr-grid-item-author,.elementor-widget-wpr-magazine-grid .wpr-grid-item-date,.elementor-widget-wpr-magazine-grid .wpr-grid-item-time{font-size:12px;list-style-position:0.3px}.elementor-widget-wpr-grid .wpr-grid-item-comments,.elementor-widget-wpr-grid .wpr-grid-item-date,.elementor-widget-wpr-grid .wpr-grid-tax-style-2,.elementor-widget-wpr-media-grid .wpr-grid-item-author,.elementor-widget-wpr-media-grid .wpr-grid-item-caption,.elementor-widget-wpr-media-grid .wpr-grid-item-date,.elementor-widget-wpr-media-grid .wpr-grid-item-likes,.elementor-widget-wpr-media-grid .wpr-grid-item-time,.elementor-widget-wpr-media-grid .wpr-grid-tax-style-1,.elementor-widget-wpr-media-grid .wpr-grid-tax-style-2,.elementor-widget-wpr-media-magazine-grid .wpr-grid-tax-style-2{font-size:14px}.elementor-widget-wpr-grid .wpr-grid-item-lightbox,.elementor-widget-wpr-media-grid .wpr-grid-item-lightbox{font-size:18px}.elementor-widget-wpr-grid .wpr-grid-cf-style-2,.elementor-widget-wpr-media-grid .wpr-grid-pagination{font-size:15px}.elementor-widget-wpr-grid .wpr-grid-tax-style-2 .inner-block a{background-color:#605be5}.elementor-widget-wpr-grid .wpr-grid-tax-style-2 .inner-block a:hover{background-color:#4a45d2}.wpr-magazine-grid{display:-ms-grid;display:grid;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-ms-grid-rows:1fr 1fr;grid-template-rows:1fr 1fr}.wpr-mgzn-grid-item{padding:0!important;text-align:center}.wpr-mgzn-grid-1vh-3h{-ms-grid-rows:auto;grid-template-rows:auto}.wpr-mgzn-grid-1-1-1{-ms-grid-rows:1fr;grid-template-rows:1fr}.wpr-mgzn-grid-1-1-3,.wpr-mgzn-grid-2-3{-ms-grid-columns:(1fr)[6];grid-template-columns:repeat(6,1fr)}.wpr-mgzn-grid-2-h{-ms-grid-columns:(1fr)[2];grid-template-columns:repeat(2,1fr)}.wpr-mgzn-grid-3-h{-ms-grid-columns:(1fr)[3];grid-template-columns:repeat(3,1fr)}.wpr-mgzn-grid-4-h{-ms-grid-columns:(1fr)[4];grid-template-columns:repeat(4,1fr)}.wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(1){-ms-grid-column:1;grid-column-start:1;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:3;grid-row-end:4}.wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(2){-ms-grid-column:2;grid-column-start:2}.wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(3){-ms-grid-column:2;grid-column-start:2}.wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(4){-ms-grid-column:2;grid-column-start:2}.wpr-mgzn-grid-1-1-2 .wpr-mgzn-grid-item:nth-child(1),.wpr-mgzn-grid-1-2 .wpr-mgzn-grid-item:nth-child(1),.wpr-mgzn-grid-1-3 .wpr-mgzn-grid-item:nth-child(1),.wpr-mgzn-grid-1-4 .wpr-mgzn-grid-item:nth-child(1){-ms-grid-column:1;grid-column-start:1;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:2;grid-row-end:3}.wpr-mgzn-grid-1-1-2 .wpr-mgzn-grid-item:nth-child(2){-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:2;grid-row-end:3}.wpr-mgzn-grid-2-1-2 .wpr-mgzn-grid-item:nth-child(2){-ms-grid-column:2;grid-column-start:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:2;grid-row-end:3}.wpr-mgzn-grid-1-3 .wpr-mgzn-grid-item:nth-child(2){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:2;grid-column-end:4}.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(1),.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(2),.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(1),.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(2){-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(1){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:3;grid-column-end:4}.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(2){-ms-grid-column:4;grid-column-start:4;-ms-grid-column-span:3;grid-column-end:7}.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(1){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:4;grid-column-end:5}.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(2){-ms-grid-column:5;grid-column-start:5;-ms-grid-column-span:2;grid-column-end:7}.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(3),.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(4),.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(5),.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(3),.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(4),.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(5){-ms-grid-row:2;grid-row-start:2;-ms-grid-row-span:1;grid-row-end:3}.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(3),.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(3){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:2;grid-column-end:3}.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(4),.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(4){-ms-grid-column:3;grid-column-start:3;-ms-grid-column-span:2;grid-column-end:5}.wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(5),.wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(5){-ms-grid-column:5;grid-column-start:5;-ms-grid-column-span:2;grid-column-end:7}.wpr-magazine-grid .wpr-grid-image-wrap,.wpr-magazine-grid .wpr-grid-item-inner,.wpr-magazine-grid .wpr-grid-media-wrap{height:100%}.wpr-magazine-grid .wpr-grid-image-wrap{background-size:cover;background-position:center center}.wpr-magazine-grid .wpr-grid-media-hover{z-index:1}@media screen and (max-width:1024px){.wpr-magazine-grid.wpr-mgzn-grid-1-2{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:1fr 1fr 1fr;grid-template-rows:1fr 1fr 1fr}.wpr-magazine-grid.wpr-mgzn-grid-1-2>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-2>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-2>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-2>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-2>:nth-child(5){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-2>:nth-child(6){-ms-grid-row:3;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-2 article:nth-child(1){-ms-grid-column-span:3!important;grid-column-end:3!important}.wpr-magazine-grid.wpr-mgzn-grid-1-3{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:1fr 1fr 1fr!important;grid-template-rows:1fr 1fr 1fr!important}.wpr-magazine-grid.wpr-mgzn-grid-1-3>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-3>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-3>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-3>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-3>:nth-child(5){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-3>:nth-child(6){-ms-grid-row:3;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-3 article:nth-child(1){-ms-grid-column-span:3!important;grid-column-end:3!important;-ms-grid-row-span:2!important;grid-row-end:2!important}.wpr-magazine-grid.wpr-mgzn-grid-1-3 article:nth-child(2){-ms-grid-column:1!important;grid-column-start:1!important;-ms-grid-column-span:2!important;grid-column-end:3!important}.wpr-magazine-grid.wpr-mgzn-grid-1-4{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:(1fr)[3];grid-template-rows:repeat(3,1fr)}.wpr-magazine-grid.wpr-mgzn-grid-1-4>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-4>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-4>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-4>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-4>:nth-child(5){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-4>:nth-child(6){-ms-grid-row:3;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-4 article:nth-child(1){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:2;grid-column-end:3;-ms-grid-row-span:1!important;grid-row-end:1!important}.wpr-magazine-grid.wpr-mgzn-grid-1-1-2{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:1fr 1fr 1fr!important;grid-template-rows:1fr 1fr 1fr!important}.wpr-magazine-grid.wpr-mgzn-grid-1-1-2>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-1-2>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-2>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-1-2>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-2>:nth-child(5){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-1-2>:nth-child(6){-ms-grid-row:3;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-2 article:nth-child(1){-ms-grid-column-span:3;grid-column-end:3;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-2 article:nth-child(2){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:2;grid-column-end:3;-ms-grid-row:2;grid-row-start:2;-ms-grid-row-span:1;grid-row-end:3}.wpr-magazine-grid.wpr-mgzn-grid-2-1-2{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:1fr 1fr 1fr!important;grid-template-rows:1fr 1fr 1fr!important}.wpr-magazine-grid.wpr-mgzn-grid-2-1-2>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-2-1-2>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-2-1-2>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-2-1-2>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-2-1-2>:nth-child(5){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-2-1-2>:nth-child(6){-ms-grid-row:3;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-2-1-2 article:nth-child(2){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:2;grid-column-end:3;-ms-grid-row:2;grid-row-start:2}.wpr-magazine-grid.wpr-mgzn-grid-1vh-3h{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important}.wpr-magazine-grid.wpr-mgzn-grid-1-1-1{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:1fr 1fr!important;grid-template-rows:1fr 1fr!important}.wpr-magazine-grid.wpr-mgzn-grid-1-1-1>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-1-1>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-1>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-1-1>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-1 article:nth-child(2){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:2;grid-column-end:3;-ms-grid-row:1;grid-row-start:1}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:(1fr)[3];grid-template-rows:repeat(3,1fr)}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3>:nth-child(5){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3>:nth-child(6){-ms-grid-row:3;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(1){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:2;grid-column-end:3;-ms-grid-row-span:2;grid-row-end:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(2){-ms-grid-row:2;grid-row-start:2;-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(3){-ms-grid-row:2;grid-row-start:2;-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(4){-ms-grid-row:3;grid-row-start:3;-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2}.wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(5){-ms-grid-row:3;grid-row-start:3;-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3}.wpr-magazine-grid.wpr-mgzn-grid-2-3{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:(1fr)[6]!important;grid-template-rows:repeat(6,1fr)!important}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(5){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(6){-ms-grid-row:3;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(7){-ms-grid-row:4;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(8){-ms-grid-row:4;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(9){-ms-grid-row:5;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(10){-ms-grid-row:5;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(11){-ms-grid-row:6;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-2-3>:nth-child(12){-ms-grid-row:6;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(1){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:3;grid-row-end:4}.wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(2){-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-row:4;grid-row-start:4;-ms-grid-row-span:3;grid-row-end:7}.wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(3){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:1;grid-row-start:1;-ms-grid-row-span:2;grid-row-end:3}.wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(4){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:3;grid-row-start:3;-ms-grid-row-span:2;grid-row-end:5}.wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(5){-ms-grid-column:2;grid-column-start:2;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-row:5;grid-row-start:5;-ms-grid-row-span:2;grid-row-end:7}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:(1fr)[2]!important;grid-template-rows:repeat(2,1fr)!important}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:(1fr)[4]!important;grid-template-rows:repeat(4,1fr)!important}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>:nth-child(5){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>:nth-child(6){-ms-grid-row:3;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>:nth-child(7){-ms-grid-row:4;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>:nth-child(8){-ms-grid-row:4;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;-ms-grid-rows:(1fr)[6]!important;grid-template-rows:repeat(6,1fr)!important}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(2){-ms-grid-row:1;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(3){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(4){-ms-grid-row:2;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(5){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(6){-ms-grid-row:3;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(7){-ms-grid-row:4;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(8){-ms-grid-row:4;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(9){-ms-grid-row:5;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(10){-ms-grid-row:5;-ms-grid-column:2}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(11){-ms-grid-row:6;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>:nth-child(12){-ms-grid-row:6;-ms-grid-column:2}}@media screen and (max-width:767px){.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1{-ms-grid-columns:1fr!important;grid-template-columns:1fr!important;-ms-grid-rows:(1fr)[3]!important;grid-template-rows:repeat(3,1fr)!important}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1>:nth-child(2){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1>:nth-child(3){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2{-ms-grid-columns:1fr!important;grid-template-columns:1fr!important;-ms-grid-rows:(1fr)[6]!important;grid-template-rows:repeat(6,1fr)!important}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>:nth-child(2){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>:nth-child(3){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>:nth-child(4){-ms-grid-row:4;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>:nth-child(5){-ms-grid-row:5;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>:nth-child(6){-ms-grid-row:6;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3{-ms-grid-columns:1fr!important;grid-template-columns:1fr!important;-ms-grid-rows:(1fr)[9]!important;grid-template-rows:repeat(9,1fr)!important}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>:nth-child(2){-ms-grid-row:2;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>:nth-child(3){-ms-grid-row:3;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>:nth-child(4){-ms-grid-row:4;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>:nth-child(5){-ms-grid-row:5;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>:nth-child(6){-ms-grid-row:6;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>:nth-child(7){-ms-grid-row:7;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>:nth-child(8){-ms-grid-row:8;-ms-grid-column:1}.wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>:nth-child(9){-ms-grid-row:9;-ms-grid-column:1}}.wpr-sharing-buttons .wpr-sharing-icon{overflow:hidden;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;color:#fff!important}.wpr-sharing-buttons .wpr-sharing-icon i{display:block;text-align:center}.wpr-sharing-label{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.elementor-widget-wpr-sharing-buttons.elementor-grid-0 .wpr-sharing-buttons,.elementor-widget-wpr-sharing-buttons[class*=elementor-grid-pro-] .wpr-sharing-buttons{display:-webkit-box;display:-ms-flexbox;display:flex}.elementor-widget-wpr-sharing-buttons:not(.elementor-grid-0):not(.elementor-grid-pro-3):not(.elementor-grid-pro-4):not(.elementor-grid-pro-5):not(.elementor-grid-pro-6) .wpr-sharing-label-off .wpr-sharing-icon i{width:100%!important}.wpr-sharing-buttons.wpr-sharing-col-1 .wpr-sharing-icon{width:100%;margin-right:0!important}.wpr-sharing-buttons .wpr-sharing-icon:last-child,.wpr-sharing-col-1 .wpr-sharing-buttons .wpr-sharing-icon,.wpr-sharing-col-2 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(2n),.wpr-sharing-col-3 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(3n),.wpr-sharing-col-4 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(4n),.wpr-sharing-col-5 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(5n),.wpr-sharing-col-6 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(6n){margin-right:0!important}.wpr-sharing-buttons .wpr-sharing-icon{transition-propery:opacity,border-color;-webkit-transition-timing-function:linear;-o-transition-timing-function:linear;transition-timing-function:linear}.wpr-sharing-buttons .wpr-sharing-icon i,.wpr-sharing-buttons .wpr-sharing-icon span{transition-propery:color,background-color;-webkit-transition-timing-function:linear;-o-transition-timing-function:linear;transition-timing-function:linear}.wpr-sharing-official .wpr-sharing-icon:hover{opacity:.85}.wpr-sharing-official .wpr-sharing-facebook-f i,.wpr-sharing-official .wpr-sharing-facebook-f span{background-color:#3b5998}.wpr-sharing-official .wpr-sharing-twitter i,.wpr-sharing-official .wpr-sharing-twitter span{background-color:#1da1f2}.wpr-sharing-official .wpr-sharing-linkedin-in i,.wpr-sharing-official .wpr-sharing-linkedin-in span{background-color:#0077b5}.wpr-sharing-official .wpr-sharing-pinterest-p i,.wpr-sharing-official .wpr-sharing-pinterest-p span{background-color:#bd081c}.wpr-sharing-official .wpr-sharing-reddit i,.wpr-sharing-official .wpr-sharing-reddit span{background-color:#ff4500}.wpr-sharing-official .wpr-sharing-tumblr i,.wpr-sharing-official .wpr-sharing-tumblr span{background-color:#35465c}.wpr-sharing-official .wpr-sharing-digg i,.wpr-sharing-official .wpr-sharing-digg span{background-color:#005be2}.wpr-sharing-official .wpr-sharing-xing i,.wpr-sharing-official .wpr-sharing-xing span{background-color:#026466}.wpr-sharing-official .wpr-sharing-stumbleupon i,.wpr-sharing-official .wpr-sharing-stumbleupon span{background-color:#eb4924}.wpr-sharing-official .wpr-sharing-vk i,.wpr-sharing-official .wpr-sharing-vk span{background-color:#45668e}.wpr-sharing-official .wpr-sharing-odnoklassniki i,.wpr-sharing-official .wpr-sharing-odnoklassniki span{background-color:#f4731c}.wpr-sharing-official .wpr-sharing-get-pocket i,.wpr-sharing-official .wpr-sharing-get-pocket span{background-color:#ef3f56}.wpr-sharing-official .wpr-sharing-skype i,.wpr-sharing-official .wpr-sharing-skype span{background-color:#00aff0}.wpr-sharing-official .wpr-sharing-whatsapp i,.wpr-sharing-official .wpr-sharing-whatsapp span{background-color:#25d366}.wpr-sharing-official .wpr-sharing-telegram i,.wpr-sharing-official .wpr-sharing-telegram span{background-color:#2ca5e0}.wpr-sharing-official .wpr-sharing-delicious i,.wpr-sharing-official .wpr-sharing-delicious span{background-color:#39f}.wpr-sharing-official .wpr-sharing-envelope i,.wpr-sharing-official .wpr-sharing-envelope span{background-color:#c13b2c}.wpr-sharing-official .wpr-sharing-print i,.wpr-sharing-official .wpr-sharing-print span{background-color:#96c859}.wpr-sharing-official .wpr-sharing-facebook-f{border-color:#3b5998}.wpr-sharing-official .wpr-sharing-twitter{border-color:#1da1f2}.wpr-sharing-official .wpr-sharing-linkedin-in{border-color:#0077b5}.wpr-sharing-official .wpr-sharing-pinterest-p{border-color:#bd081c}.wpr-sharing-official .wpr-sharing-reddit{border-color:#ff4500}.wpr-sharing-official .wpr-sharing-tumblr{border-color:#35465c}.wpr-sharing-official .wpr-sharing-digg{border-color:#005be2}.wpr-sharing-official .wpr-sharing-xing{border-color:#026466}.wpr-sharing-official .wpr-sharing-stumbleupon{border-color:#eb4924}.wpr-sharing-official .wpr-sharing-vk{border-color:#45668e}.wpr-sharing-official .wpr-sharing-odnoklassniki{border-color:#f4731c}.wpr-sharing-official .wpr-sharing-get-pocket{border-color:#ef3f56}.wpr-sharing-official .wpr-sharing-skype{border-color:#00aff0}.wpr-sharing-official .wpr-sharing-whatsapp{border-color:#25d366}.wpr-sharing-official .wpr-sharing-telegram{border-color:#2ca5e0}.wpr-sharing-official .wpr-sharing-delicious{border-color:#39f}.wpr-sharing-official .wpr-sharing-envelope{border-color:#c13b2c}.wpr-sharing-official .wpr-sharing-print{border-color:#96c859}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-facebook-f i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-facebook-f span{color:#3b5998;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-twitter i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-twitter span{color:#1da1f2;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-linkedin-in i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-linkedin-in span{color:#0077b5;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-pinterest-p i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-pinterest-p span{color:#bd081c;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-reddit i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-reddit span{color:#ff4500;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-tumblr i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-tumblr span{color:#35465c;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-digg i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-digg span{color:#005be2;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-xing i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-xing span{color:#026466;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-stumbleupon i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-stumbleupon span{color:#eb4924;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-vk i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-vk span{color:#45668e;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-odnoklassniki i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-odnoklassniki span{color:#f4731c;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-get-pocket i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-get-pocket span{color:#ef3f56;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-skype i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-skype span{color:#00aff0;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-whatsapp i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-whatsapp span{color:#25d366;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-telegram i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-telegram span{color:#2ca5e0;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-delicious i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-delicious span{color:#39f;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-envelope i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-envelope span{color:#c13b2c;background-color:transparent}.wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-print i,.wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-print span{color:#96c859;background-color:transparent}.wpr-countdown-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin:0 auto}.wpr-countdown-item{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;overflow:hidden;color:#fff;text-align:center}.wpr-countdown-item:first-child{margin-left:0!important}.wpr-countdown-item:last-of-type{margin-right:0!important}.wpr-countdown-number{display:block}.wpr-countdown-separator{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center}.wpr-countdown-separator span{display:block}.wpr-countdown-separator:last-of-type{display:none!important}.wpr-countdown-wrap+div:not(.wpr-countdown-message){display:none}.wpr-countdown-message+div{display:none}.elementor-widget-wpr-countdown .wpr-countdown-item{background-color:#605be5}.elementor-widget-wpr-countdown .wpr-countdown-number{font-size:70px}.elementor-widget-wpr-countdown .wpr-countdown-label{font-size:19px;line-height:45px}.wpr-google-map .gm-style-iw-c{padding:0!important}.wpr-google-map .gm-style-iw-c>button{top:0!important;right:0!important}.wpr-google-map .gm-style-iw-c .wpr-gm-iwindow h3{margin-bottom:7px}.wpr-google-map .gm-style-iw-d{overflow:hidden!important}.wpr-google-map .gm-style img{max-width:none!important}.wpr-forms-container .wpcf7-form .wpcf7-form-control-wrap{display:block!important}.wpcf7 label,.wpcf7-quiz-label{width:100%}.wpr-forms-container .wpcf7 p{margin-bottom:0}.wpr-forms-container .wpcf7-form .ajax-loader{display:block;visibility:hidden;height:0;overflow:hidden;clear:both}.wpr-forms-container .caldera-grid select.form-control,.wpr-forms-container .nf-field-container select,.wpr-forms-container .wpcf7-date,.wpr-forms-container .wpcf7-number,.wpr-forms-container .wpcf7-select,.wpr-forms-container select.wpforms-field-medium{padding:7px 10px!important}.wpr-forms-container .wpcf7-date{width:auto!important}.wpr-forms-container .wpcf7-number{width:100px!important}.wpr-forms-container .wpcf7-form .wpcf7-submit{display:block}.wpr-forms-container .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item,.wpr-forms-container .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item,.wpr-forms-container .wpcf7-form-control.wpcf7-radio .wpcf7-list-item{margin-left:0;margin-right:10px}.wpr-forms-container .wpcf7-response-output{clear:both;margin:0}.wpr-forms-container .wpforms-field:not(.wpforms-field-address) .wpforms-field-medium{display:inline-block!important;max-width:100%!important}.wpr-forms-container .wpforms-field-address,.wpr-forms-container .wpforms-field-phone,.wpr-forms-container .wpforms-page-indicator{display:inline-block}.wpr-forms-container .wpforms-field-address .wpforms-field-medium{max-width:100%!important}.wpr-forms-container .intl-tel-input.allow-dropdown input.wpforms-field-medium,.wpr-forms-container .wpforms-field-address div.wpforms-field-medium{width:100%!important;max-width:100%!important}.wpr-forms-container .intl-tel-input.allow-dropdown{display:inline-block!important;max-width:100%!important}.wpr-forms-align-left .wpr-forms-container div.wpforms-container-full .wpforms-form .wpforms-list-inline ul li:last-child{margin-right:0!important}.wpr-forms-container .caldera-grid .alert-success,.wpr-forms-container .nf-response-msg,.wpr-forms-container .wpcf7-mail-sent-ok,.wpr-forms-container .wpforms-confirmation-container-full{padding:10px 15px;border:2px solid}.wpr-forms-container label.wpforms-error a{text-decoration:underline}.wpr-forms-container .wpforms-smart-phone-field{text-indent:0!important}.wpr-forms-container select.ninja-forms-field{line-height:1!important}.wpr-forms-container .nf-form-wrap .checkbox-wrap label{display:inline-block!important}.wpr-forms-container .nf-form-wrap .starrating .stars{display:inline-block}.wpr-forms-submit-center .caldera-grid .btn-default:not(a),.wpr-forms-submit-center .submit-wrap .ninja-forms-field,.wpr-forms-submit-center .wpcf7-submit,.wpr-forms-submit-center .wpforms-page-next,.wpr-forms-submit-center .wpforms-page-previous,.wpr-forms-submit-center .wpforms-submit{display:block!important;margin-left:auto!important;margin-right:auto!important}.wpr-forms-submit-left .caldera-grid .btn-default:not(a),.wpr-forms-submit-left .submit-wrap .ninja-forms-field,.wpr-forms-submit-left .wpcf7-submit,.wpr-forms-submit-left .wpforms-page-next,.wpr-forms-submit-left .wpforms-page-previous,.wpr-forms-submit-left .wpforms-submit{float:left!important}.wpr-forms-submit-left .caldera-grid .btn-default:not(a),.wpr-forms-submit-right .submit-wrap .ninja-forms-field,.wpr-forms-submit-right .wpcf7-submit,.wpr-forms-submit-right .wpforms-page-next,.wpr-forms-submit-right .wpforms-page-previous,.wpr-forms-submit-right .wpforms-submit{float:right!important}.wpr-forms-submit-justify .caldera-grid .btn-default:not(a),.wpr-forms-submit-justify .submit-wrap .ninja-forms-field,.wpr-forms-submit-justify .wpcf7-submit,.wpr-forms-submit-justify .wpforms-page-next,.wpr-forms-submit-justify .wpforms-page-previous,.wpr-forms-submit-justify .wpforms-submit{display:block!important;width:100%!important;text-align:center!important}.wpr-custom-chk-radio .wpcf7-acceptance input,.wpr-custom-chk-radio .wpcf7-checkbox input,.wpr-custom-chk-radio .wpcf7-radio input,.wpr-custom-chk-radio .wpforms-field-checkbox input,.wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input,.wpr-custom-chk-radio .wpforms-field-radio input{display:none!important}.wpr-custom-chk-radio .wpcf7-acceptance .wpcf7-list-item-label,.wpr-custom-chk-radio .wpcf7-checkbox .wpcf7-list-item-label,.wpr-custom-chk-radio .wpcf7-radio .wpcf7-list-item-label,.wpr-custom-chk-radio .wpforms-field-checkbox input+label,.wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input+label,.wpr-custom-chk-radio .wpforms-field-radio input+label,.wpr-custom-chk-radio .wpforms-field-radio input+span{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.wpr-custom-chk-radio .wpcf7-acceptance .wpcf7-list-item-label:before,.wpr-custom-chk-radio .wpcf7-checkbox .wpcf7-list-item-label:before,.wpr-custom-chk-radio .wpcf7-radio .wpcf7-list-item-label:before,.wpr-custom-chk-radio .wpforms-field-checkbox input+label:before,.wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input+label:before,.wpr-custom-chk-radio .wpforms-field-radio input+label:before,.wpr-custom-chk-radio .wpforms-field-radio input:not(.wpforms-screen-reader-element)+span:before{content:"\2714";display:inline-block;position:relative;top:-1px;text-align:center;border:1px solid;margin-right:5px;color:transparent}.wpr-forms-align-right .wpforms-field-checkbox ul li input:first-child,.wpr-forms-align-right .wpforms-field-gdpr-checkbox input:first-child,.wpr-forms-align-right .wpforms-field-radio ul li input:first-child,.wpr-forms-align-right .wpforms-image-choices label input:first-of-type{float:right;margin-right:0!important;margin-left:10px!important}.wpr-forms-align-right .wpr-forms-container,.wpr-forms-align-right .wpr-forms-container .wpcf7-form-control{direction:rtl}.wpr-forms-align-right .nf-form-wrap .field-wrap{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.wpr-forms-align-right .label-right .nf-field-description{margin-right:0!important}.wpr-forms-align-right .nf-error.field-wrap .nf-field-element:after{right:auto!important;left:1px!important}.wpr-forms-align-right .wpr-custom-chk-radio .wpcf7-acceptance .wpcf7-list-item-label:before,.wpr-forms-align-right .wpr-custom-chk-radio .wpcf7-checkbox .wpcf7-list-item-label:before,.wpr-forms-align-right .wpr-custom-chk-radio .wpcf7-radio .wpcf7-list-item-label:before,.wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-checkbox input+label:before,.wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input+label:before,.wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-radio input+label:before,.wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-radio input:not(.wpforms-screen-reader-element)+span:before{margin-right:0;margin-left:5px}.wpr-forms-align-right .wpcf7-acceptance .wpcf7-list-item,.wpr-forms-align-right .wpcf7-list-item.last,.wpr-forms-align-right div.wpforms-container-full .wpforms-form .wpforms-list-inline ul li:first-child{margin-right:0!important}.wpr-forms-align-right .wpr-forms-container .intl-tel-input .flag-container{left:auto!important;right:0!important}.wpr-forms-align-right .caldera-grid .col-sm-4,.wpr-forms-align-right .caldera-grid .col-sm-6{float:right}.wpr-forms-align-right .wpr-forms-container .caldera-grid .checkbox label,.wpr-forms-align-right .wpr-forms-container .caldera-grid .checkbox-inline label,.wpr-forms-align-right .wpr-forms-container .caldera-grid .radio label{padding-left:0!important;padding-right:20px}.wpr-forms-align-right .wpr-forms-container .caldera-grid .checkbox input,.wpr-forms-align-right .wpr-forms-container .caldera-grid .radio input{margin-right:-20px!important;margin-left:0!important}.wpr-forms-align-right .wpr-forms-container .caldera-grid .cf-credit-card{background-position:99% center!important}.wpr-forms-align-right .wpr-forms-container .caldera-grid .live-gravatar{text-align:right!important}.wpr-forms-align-left .wpr-forms-container .caldera-grid .live-gravatar{text-align:left!important}.wpr-forms-container .nf-form-content{padding:0;max-width:none}.wpr-forms-container .nf-form-content .label-above .field-wrap{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-forms-container .nf-form-content .label-above .nf-field-label{margin-top:0}.wpr-forms-container .field-wrap:not(.textarea-wrap):not(.submit-wrap) .ninja-forms-field{border-radius:0}.wpr-forms-container .field-wrap.textarea-wrap .ninja-forms-field{display:block}.wpr-forms-container .field-wrap.submit-wrap .ninja-forms-field{cursor:pointer}.wpr-forms-container .listselect-wrap>div select.ninja-forms-field{-webkit-appearance:menulist;-moz-appearance:menulist;appearance:menulist}.wpr-forms-container .nf-form-content .list-select-wrap .nf-field-element>div,.wpr-forms-container .nf-form-content input:not([type=button]),.wpr-forms-container .nf-form-content textarea{background:0 0;border:none}.wpr-forms-container .checkbox-container.label-right .field-wrap{display:block}.wpr-forms-container .listcheckbox-wrap ul li,.wpr-forms-container .listradio-wrap ul li{display:inline-block;margin-right:10px!important;margin-bottom:7px!important}.wpr-forms-container .listcheckbox-container .nf-field-element label:after{top:1px}.wpr-forms-container .listradio-wrap .nf-field-element label{margin-left:25px!important}.wpr-forms-container .listradio-wrap .nf-field-element label:after{top:0;left:-25px}.wpr-forms-container .listradio-wrap .nf-field-element label.nf-checked-label:before{top:4px;left:-21px}.wpr-forms-container .checkbox-wrap label,.wpr-forms-container .listcheckbox-wrap label,.wpr-forms-container .listradio-wrap label{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.wpr-forms-container .nf-error.field-wrap .nf-field-element:after{top:0!important;bottom:0!important;height:auto!important}.wpr-forms-container .wpforms-form .wpforms-field,.wpr-forms-container .wpforms-submit-container{padding:0!important}.wpr-forms-container .wpforms-container,.wpr-forms-container .wpforms-field-address .wpforms-field-row:nth-last-child(2),.wpr-forms-container div.wpforms-container-full .wpforms-form .wpforms-field-row{margin-bottom:0!important}.wpr-forms-container .wpforms-submit-container:after{content:" ";clear:both;display:table}.wpr-forms-container .caldera-grid .help-block{margin-bottom:0}.wpr-forms-container .caldera-grid .caldera-forms-gdpr-field-label a{text-decoration:underline}.wpr-forms-container .caldera-grid .intl-tel-input input{text-indent:40px}.wpr-forms-container .caldera-grid input.cf-credit-card{text-indent:33px}.wpr-forms-container .caldera-grid .cf-credit-card{background-position:5px center!important}.wpr-forms-container .cf2-dropzone .form-control{height:auto}.wpr-forms-container .caldera-grid .form-group input,.wpr-forms-container .caldera-grid .form-group textarea{-webkit-box-shadow:none;box-shadow:none}.wpr-forms-container .caldera-grid .has-error .form-control{-webkit-box-shadow:none;box-shadow:none}.wpr-forms-container .caldera-grid .alert-success{text-shadow:none}.elementor-widget-wpr-forms .nf-form-title h3,.elementor-widget-wpr-forms .wpforms-head-container .wpforms-title{font-size:28px;font-weight:800}.elementor-widget-wpr-forms .nf-form-fields-required,.elementor-widget-wpr-forms .wpforms-head-container .wpforms-description{font-size:14px}.elementor-widget-wpr-forms .caldera-forms-summary-field ul li,.elementor-widget-wpr-forms .caldera-grid .caldera-forms-gdpr-field-label,.elementor-widget-wpr-forms .caldera-grid .checkbox label,.elementor-widget-wpr-forms .caldera-grid .control-label,.elementor-widget-wpr-forms .caldera-grid .radio label,.elementor-widget-wpr-forms .caldera-grid .total-line,.elementor-widget-wpr-forms .nf-field-container label,.elementor-widget-wpr-forms .wpcf7-form,.elementor-widget-wpr-forms .wpforms-captcha-equation,.elementor-widget-wpr-forms .wpforms-captcha-question,.elementor-widget-wpr-forms .wpforms-field-label,.elementor-widget-wpr-forms .wpforms-field-label-inline,.elementor-widget-wpr-forms .wpforms-image-choices-label,.elementor-widget-wpr-forms .wpforms-payment-total,.elementor-widget-wpr-forms .wpr-forms-container .nf-response-msg,.elementor-widget-wpr-forms .wpr-forms-container .wpforms-confirmation-container-full{font-size:14px}.elementor-widget-wpr-forms .caldera-grid .form-control[type=color_picker],.elementor-widget-wpr-forms .caldera-grid .form-control[type=credit_card_cvc],.elementor-widget-wpr-forms .caldera-grid .form-control[type=email],.elementor-widget-wpr-forms .caldera-grid .form-control[type=number],.elementor-widget-wpr-forms .caldera-grid .form-control[type=phone],.elementor-widget-wpr-forms .caldera-grid .form-control[type=tel],.elementor-widget-wpr-forms .caldera-grid .form-control[type=text],.elementor-widget-wpr-forms .caldera-grid .form-control[type=url],.elementor-widget-wpr-forms .caldera-grid select.form-control,.elementor-widget-wpr-forms .caldera-grid textarea.form-control,.elementor-widget-wpr-forms .ninja-forms-field,.elementor-widget-wpr-forms .wpcf7-date,.elementor-widget-wpr-forms .wpcf7-number,.elementor-widget-wpr-forms .wpcf7-quiz,.elementor-widget-wpr-forms .wpcf7-select,.elementor-widget-wpr-forms .wpcf7-text,.elementor-widget-wpr-forms .wpcf7-textarea,.elementor-widget-wpr-forms .wpforms-form input[type=date],.elementor-widget-wpr-forms .wpforms-form input[type=datetime-local],.elementor-widget-wpr-forms .wpforms-form input[type=datetime],.elementor-widget-wpr-forms .wpforms-form input[type=email],.elementor-widget-wpr-forms .wpforms-form input[type=month],.elementor-widget-wpr-forms .wpforms-form input[type=number],.elementor-widget-wpr-forms .wpforms-form input[type=password],.elementor-widget-wpr-forms .wpforms-form input[type=range],.elementor-widget-wpr-forms .wpforms-form input[type=search],.elementor-widget-wpr-forms .wpforms-form input[type=tel],.elementor-widget-wpr-forms .wpforms-form input[type=text],.elementor-widget-wpr-forms .wpforms-form input[type=time],.elementor-widget-wpr-forms .wpforms-form input[type=url],.elementor-widget-wpr-forms .wpforms-form input[type=week],.elementor-widget-wpr-forms .wpforms-form select,.elementor-widget-wpr-forms .wpforms-form textarea{font-size:13px;letter-spacing:.2px}.elementor-widget-wpr-forms .caldera-grid .btn-default,.elementor-widget-wpr-forms .caldera-grid .cf2-dropzone button,.elementor-widget-wpr-forms .submit-wrap .ninja-forms-field,.elementor-widget-wpr-forms .wpcf7-submit,.elementor-widget-wpr-forms .wpforms-page-next,.elementor-widget-wpr-forms .wpforms-page-previous,.elementor-widget-wpr-forms .wpforms-submit{background-color:#605be5}.elementor-widget-wpr-forms .caldera-grid .btn-default:hover,.elementor-widget-wpr-forms .caldera-grid .btn-success,.elementor-widget-wpr-forms .caldera-grid .cf2-dropzone button:hover,.elementor-widget-wpr-forms .submit-wrap .ninja-forms-field:hover,.elementor-widget-wpr-forms .wpcf7-submit:hover,.elementor-widget-wpr-forms .wpforms-page-next:hover,.elementor-widget-wpr-forms .wpforms-page-previous:hover,.elementor-widget-wpr-forms .wpforms-submit:hover{background-color:#4a45d2}.elementor-widget-wpr-forms .wpr-forms-container .caldera_ajax_error_block,.elementor-widget-wpr-forms .wpr-forms-container .nf-error-msg,.elementor-widget-wpr-forms .wpr-forms-container .wpcf7-not-valid-tip,.elementor-widget-wpr-forms .wpr-forms-container .wpcf7-response-output,.elementor-widget-wpr-forms .wpr-forms-container label.wpforms-error{font-size:14px}.elementor-widget-wpr-forms .caldera-forms-summary-field ul li,.elementor-widget-wpr-forms .caldera-grid .caldera-forms-gdpr-field-label,.elementor-widget-wpr-forms .caldera-grid .checkbox label,.elementor-widget-wpr-forms .caldera-grid .control-label,.elementor-widget-wpr-forms .caldera-grid .radio label,.elementor-widget-wpr-forms .caldera-grid .total-line,.elementor-widget-wpr-forms .nf-field-container label,.elementor-widget-wpr-forms .wpcf7-form,.elementor-widget-wpr-forms .wpforms-captcha-equation,.elementor-widget-wpr-forms .wpforms-captcha-question,.elementor-widget-wpr-forms .wpforms-field-label,.elementor-widget-wpr-forms .wpforms-field-label-inline,.elementor-widget-wpr-forms .wpforms-image-choices-label,.elementor-widget-wpr-forms .wpforms-payment-total,.elementor-widget-wpr-forms .wpr-forms-container .nf-response-msg,.elementor-widget-wpr-forms .wpr-forms-container .wpforms-confirmation-container-full{font-weight:400}.elementor-widget-wpr-forms.caldera-grid .help-block,.elementor-widget-wpr-forms.nf-field-description,.elementor-widget-wpr-forms.wpforms-field-description,.elementor-widget-wpr-forms.wpforms-field-sublabel{font-size:14px}.wpr-ba-image-container{position:relative;overflow:hidden}.wpr-ba-image-container *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.wpr-ba-image-1 img,.wpr-ba-image-2 img{max-width:100%;width:100%}.wpr-ba-image-2{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden}.wpr-ba-image-2 img{position:absolute;top:0}.wpr-ba-divider{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:0;left:50%;z-index:3;height:100%;cursor:pointer;-ms-touch-action:none;touch-action:none}.wpr-ba-divider-icons{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-ba-vertical .wpr-ba-divider-icons{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-ba-horizontal .wpr-ba-divider-icons i:first-child{text-align:right;padding-right:10%}.wpr-ba-horizontal .wpr-ba-divider-icons i:last-child{text-align:left;padding-left:10%}.wpr-ba-divider-icons .fa{text-align:center}.wpr-ba-vertical .wpr-ba-divider{top:50%;left:auto;width:100%;height:auto}.wpr-ba-vertical .wpr-ba-image-2 img{top:auto}.wpr-ba-horizontal .wpr-ba-divider-icons:after,.wpr-ba-horizontal .wpr-ba-divider-icons:before{content:'';display:block;position:absolute;height:100%}.wpr-ba-vertical .wpr-ba-divider-icons:after,.wpr-ba-vertical .wpr-ba-divider-icons:before{content:'';display:block;position:absolute;width:100%}.wpr-ba-label{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;padding:15px}.wpr-ba-labels-none .wpr-ba-label{display:none}.wpr-ba-labels-hover .wpr-ba-label{opacity:0;-webkit-transition:.1s ease-in;-o-transition:.1s ease-in;transition:.1s ease-in}.wpr-ba-labels-hover:hover .wpr-ba-label{opacity:1}.wpr-ba-horizontal .wpr-ba-label{top:0;height:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-ba-horizontal .wpr-ba-label-1{left:0}.wpr-ba-horizontal .wpr-ba-label-2{right:0}.wpr-ba-vertical .wpr-ba-label{left:0;width:100%}.wpr-ba-vertical .wpr-ba-label-1{top:0}.wpr-ba-vertical .wpr-ba-label-2{bottom:0}.elementor-widget-wpr-before-after .wpr-ba-label>div{background-color:#605be5;font-size:14px}body:not(.elementor-editor-active) .wpr-template-popup{display:none}.wpr-template-popup{position:fixed;top:0;left:0;width:100%;height:100%;z-index:99999999}.wpr-template-popup-inner{display:-webkit-box;display:-ms-flexbox;display:flex;position:fixed;top:0;left:0;width:100%;height:100%}.wpr-popup-container{position:relative}.wpr-popup-container-inner{display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden;position:relative;background:#fff}.wpr-popup-container-inner>div{width:100%;-ms-flex-negative:0;flex-shrink:0}.wpr-popup-container>div{width:100%}.wpr-popup-image-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#fff}.wpr-popup-overlay{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;background:rgba(0,0,0,.7)}.wpr-popup-close-btn{display:-webkit-box;display:-ms-flexbox;display:flex;position:absolute;top:0;right:0;z-index:99;text-align:center;cursor:pointer}.wpr-popup-notification .wpr-template-popup-inner,.wpr-popup-notification.wpr-template-popup{height:auto!important}.wpr-popup-notification .wpr-popup-overlay{display:none!important}.wpr-popup-container-inner.ps-container.ps-active-y>.ps-scrollbar-y-rail,.wpr-popup-container-inner.ps.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.wpr-popup-container-inner.ps-container>.ps-scrollbar-y-rail,.wpr-popup-container-inner.ps>.ps__rail-y{display:none;position:absolute;right:3px;width:3px}.wpr-popup-container-inner.ps-container>.ps-scrollbar-y-rail>.ps-scrollbar-y,.wpr-popup-container-inner.ps>.ps__rail-y>.ps__thumb-y{position:absolute;cursor:pointer;right:0;width:3px}.wpr-popup-container .ps-scrollbar-x-rail{display:none!important}.wpr-popup-notification .wpr-popup-container .slideInDown{-webkit-animation-timing-function:linear;animation-timing-function:linear}.wpr-popup-notification .wpr-popup-container{width:100%!important;-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important}.wpr-popup-trigger-button{display:inline-block;font-size:14px;font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;cursor:pointer}.wpr-popup-container .elementor-editor-section-settings{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);border-radius:0 0 5px 5px}.wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:first-child{border-radius:0 0 0 5px}.wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:first-child:before{top:0;border-width:0 12px 22px 0}.wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:last-child{border-radius:0 0 5px 0}.wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:last-child:after{top:0;border-width:0 0 22px 12px}.elementor-editor-active [data-elementor-type=wpr-popups] .elementor-section-wrap:not(:empty)+#elementor-add-new-section,.elementor-editor-active [data-elementor-type=wpr-popups]:not(.elementor-edit-mode){display:none}.elementor .elementor-widget-wpr-popup-trigger .wpr-popup-trigger-button{display:inline-block;font-size:14px;font-weight:500;cursor:pointer}.elementor-editor-active [data-elementor-type=wpr-popup] .elementor-section-wrap:not(:empty)+#elementor-add-new-section,.elementor-editor-active [data-elementor-type=wpr-popup]:not(.elementor-edit-mode){display:none}.wpr-template-edit-btn{position:absolute;top:0;right:40px;display:none;line-height:1;padding:8px 13px;cursor:pointer;background:#333;color:#fff;border:1px solid #000}.elementor-editor-active .wpr-template-edit-btn{display:inline-block;opacity:0;visibility:hidden}.elementor-editor-active .elementor-element-edit-mode:hover .wpr-template-edit-btn{opacity:1;visibility:visible}.wpr-mailchimp-fields{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-mailchimp-email input,.wpr-mailchimp-email label,.wpr-mailchimp-first-name input,.wpr-mailchimp-first-name label,.wpr-mailchimp-last-name input,.wpr-mailchimp-last-name label{display:block;width:100%}.wpr-mailchimp-layout-hr .wpr-mailchimp-fields{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.wpr-mailchimp-layout-vr .wpr-mailchimp-fields{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-mailchimp-layout-hr .wpr-mailchimp-email,.wpr-mailchimp-layout-hr .wpr-mailchimp-first-name,.wpr-mailchimp-layout-hr .wpr-mailchimp-last-name{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.wpr-mailchimp-subscribe-btn{width:100%;padding:0!important;outline:0!important;cursor:pointer}.wpr-mailchimp-error-message,.wpr-mailchimp-message,.wpr-mailchimp-success-message{display:none}.elementor-widget-wpr-mailchimp .wpr-mailchimp-header h3{font-size:28px;font-weight:800;margin-top:0}.elementor-widget-wpr-mailchimp .wpr-mailchimp-header p{font-size:14px}.elementor-widget-wpr-mailchimp .wpr-mailchimp-fields label{font-size:13px}.elementor-widget-wpr-mailchimp .wpr-mailchimp-subscribe-btn{background-color:#605be5}.elementor-widget-wpr-mailchimp .wpr-mailchimp-subscribe-btn:hover{background-color:#4a45d2}.wpr-advanced-slider-wrap{position:relative}.wpr-advanced-slider{position:relative;height:500px;overflow:hidden}.wpr-slider-item{position:relative;height:500px;overflow:hidden}.wpr-slider-content{position:relative;max-width:750px;width:100%;padding:10px 50px 50px 50px;z-index:90}.wpr-slider-item-bg{position:absolute;top:0;left:0;width:100%;height:100%;background-repeat:no-repeat;background-position:center}.wpr-slider-description p,.wpr-slider-sub-title h3,.wpr-slider-title h2{display:inline-block}.wpr-slider-title h2{color:#fff;font-size:40px;font-weight:600;line-height:1.5em;padding:5px 10px 5px 10px;margin:0 0 2px 0}.wpr-slider-sub-title h3{font-size:16px;padding:5px 10px 5px 10px;margin:0 0 10px 0}.wpr-slider-description p{padding:5px 10px 5px 10px;margin:0 0 30px 0}.wpr-slider-primary-btn,.wpr-slider-secondary-btn{padding:12px 25px 12px 25px;margin:0 10px 0 10px;border-style:solid;border-width:1px;border-color:#fff;border-radius:2px}.wpr-slider-btns svg,.wpr-slider-scroll-btn svg{vertical-align:bottom}@keyframes ken-burns-in{0%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(1.3);transform:scale(1.3)}}@-webkit-keyframes ken-burns-in{0%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(1.3);transform:scale(1.3)}}@keyframes ken-burns-out{0%{-webkit-transform:scale(1.3);transform:scale(1.3)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes ken-burns-out{0%{-webkit-transform:scale(1.3);transform:scale(1.3)}100%{-webkit-transform:scale(1);transform:scale(1)}}.wpr-advanced-slider .slick-slide.slick-active .wpr-slider-item-bg{-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-duration:10s;animation-duration:10s}.wpr-advanced-slider .slick-slide.slick-active .wpr-slider-item-bg.wpr-ken-burns-in{-webkit-animation-name:ken-burns-in;animation-name:ken-burns-in;-webkit-transform:scale(1.3);-ms-transform:scale(1.3);transform:scale(1.3)}.wpr-advanced-slider .slick-slide.slick-active .wpr-slider-item-bg.wpr-ken-burns-out{-webkit-animation-name:ken-burns-out;animation-name:ken-burns-out;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.wpr-ken-burns-in{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.wpr-ken-burns-out{-webkit-transform:scale(1.3);-ms-transform:scale(1.3);transform:scale(1.3)}.wpr-slider-item-url{display:block;width:100%;height:100%;position:absolute;left:0;top:0;z-index:90}.wpr-slider-nav-position-default .wpr-slider-arrow-container{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-slider-nav-position-default .wpr-slider-arrow{position:static}.wpr-slider-nav-position-default .wpr-slider-prev-arrow{-ms-transform:none;transform:none;-webkit-transform:none}.wpr-slider-nav-position-default .wpr-slider-next-arrow{-ms-transform:translateY(0) rotate(180deg);transform:translateY(0) rotate(180deg);-webkit-transform:translateY(0) rotate(180deg)}.wpr-slider-nav-align-bottom-center .wpr-slider-arrow-container,.wpr-slider-nav-align-top-center .wpr-slider-arrow-container{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.wpr-slider-arrow{position:absolute;z-index:120;top:50%;-webkit-box-sizing:content-box;box-sizing:content-box;text-align:center;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;cursor:pointer;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wpr-slider-arrow i{display:block;line-height:inherit}.wpr-slider-prev-arrow{left:1%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-slider-next-arrow{right:1%;-webkit-transform:translateY(-50%) rotate(180deg);-ms-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg)}.wpr-slider-nav-fade .wpr-slider-arrow{opacity:0;visibility:hidden}.wpr-slider-nav-fade .wpr-advanced-slider-wrap:hover .wpr-slider-arrow{opacity:1;visibility:visible}.wpr-slider-dots{display:inline-table;position:absolute;z-index:110;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.wpr-slider-dots .slick-dots{position:static!important}.wpr-slider-dots ul{list-style:none;margin:0;padding:0}.wpr-advanced-slider.slick-dotted.slick-slider{margin-bottom:0!important}.wpr-slider-dots-vertical .slick-dots li{display:block;width:auto!important;height:auto!important;margin:0!important}.wpr-slider-dots-horizontal .slick-dots li{width:auto!important;padding-top:10px;margin:0!important}.wpr-slider-dots-horizontal .slick-dots li:last-child span,.wpr-slider-dots-pro-vr .slick-dots li:last-child span{margin-right:0!important}.wpr-slider-dots-horizontal .wpr-slider-dots li,.wpr-slider-dots-pro-vr .wpr-slider-dots li{float:left}.wpr-slider-dot{display:block;cursor:pointer}.wpr-slider-dots li:last-child .wpr-slider-dot{margin:0!important}.wpr-slider-scroll-btn{position:absolute;bottom:45px;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);display:inline-block;-webkit-transition-duration:.2s;-o-transition-duration:.2s;transition-duration:.2s;line-height:1;overflow:hidden}@-webkit-keyframes wpr-scroll-animation{0%{opacity:0;-webkit-transform:translate3d(0,-60%,0);transform:translate3d(0,-60%,0)}50%{opacity:1;-webkit-transform:translate3d(0,20%,0);transform:translate3d(0,20%,0)}100%{opacity:0;-webkit-transform:translate3d(0,20%,0);transform:translate3d(0,20%,0)}}@keyframes wpr-scroll-animation{0%{opacity:0;-webkit-transform:translate3d(0,-60%,0);transform:translate3d(0,-60%,0)}50%{opacity:1;-webkit-transform:translate3d(0,20%,0);transform:translate3d(0,20%,0)}100%{opacity:0;-webkit-transform:translate3d(0,20%,0);transform:translate3d(0,20%,0)}}.wpr-scroll-animation{-webkit-animation-name:wpr-scroll-animation;animation-name:wpr-scroll-animation;-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.wpr-slider-video{position:absolute;width:100%;height:100%;top:0;left:0;z-index:90}.wpr-slider-video-btn{margin:0 auto}.wpr-slider-video-btn i{display:block}.wpr-slider-video-icon-size-none .wpr-slider-video-btn{display:none}.wpr-slider-video-icon-size-small .wpr-slider-video-btn{height:50px;width:50px;font-size:16px;padding:16px 0 0 4px;border-width:1px}.wpr-slider-video-icon-size-medium .wpr-slider-video-btn{height:80px;width:80px;font-size:26px;padding:25px 0 0 5px;border-width:2px}.wpr-slider-video-icon-size-large .wpr-slider-video-btn{height:100px;width:100px;font-size:30px;padding:33px 0 0 7px;border-width:2px}.wpr-slider-video-btn{text-align:center;border-style:solid;border-radius:50%;cursor:pointer}.wpr-slider-item-overlay{position:absolute;left:0;top:0;width:100%;height:100%;z-index:80}.slick-slider{position:relative;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list{position:relative;display:block;overflow:hidden;margin:0;padding:0}.slick-list:focus{outline:0}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-list,.slick-slider .slick-track{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.slick-track{position:relative;top:0;left:0;display:block;margin-left:auto;margin-right:auto}.slick-track:after,.slick-track:before{display:table;content:''}.slick-track:after{clear:both}.slick-loading .slick-track{visibility:hidden}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-loading .slick-slide{visibility:hidden}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden{display:none}.wpr-pricing-table{position:relative}.wpr-pricing-table-heading{text-align:center}.wpr-pricing-table-headding-inner{display:inline-block}.wpr-pricing-table-heading-left .wpr-pricing-table-headding-inner>div,.wpr-pricing-table-heading-right .wpr-pricing-table-headding-inner>div{display:inline-block;vertical-align:top}.wpr-pricing-table-heading-left .wpr-pricing-table-icon{float:left}.wpr-pricing-table-heading-right .wpr-pricing-table-icon{float:right}.wpr-pricing-table-heading-left .wpr-pricing-table-title-wrap,.wpr-pricing-table-heading-right .wpr-pricing-table-title-wrap{text-align:left}.wpr-pricing-table-heading-center .wpr-pricing-table-icon img{margin:0 auto}.wpr-pricing-table-icon img{display:block;border-style:none}.elementor-widget-wpr-pricing-table .wpr-pricing-table-title-wrap .wpr-pricing-table-title{font-size:26px;font-weight:600}.elementor-widget-wpr-pricing-table .wpr-pricing-table-title-wrap .wpr-pricing-table-sub-title{font-size:14px}.wpr-pricing-table-price{text-align:center;font-size:65px;font-weight:500;line-height:.9}.wpr-pricing-table-price-inner{-ms-box-orient:horizontal;display:-webkit-box;display:-ms-flexbox;display:-moz-flex;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wpr-pricing-table-currency,.wpr-pricing-table-old-price,.wpr-pricing-table-preiod,.wpr-pricing-table-sub-price{line-height:1}.wpr-pricing-table-preiod{font-size:17px;line-height:1.5;-webkit-align-self:flex-end;-ms-flex-item-align:end;align-self:flex-end}.wpr-pricing-table-old-price{text-decoration:line-through!important}.wpr-pricing-table-feature{position:relative;font-size:15px}.wpr-pricing-table-feature-inner{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0 auto}.wpr-pricing-table-feature-inner span{position:relative}.wpr-pricing-table-feature-inner span.wpr-pricing-table-ftext-line-yes{text-decoration:line-through}.wpr-pricing-table-feature:after{content:"";display:block;width:100%;margin:0 auto}.wpr-pricing-table section:last-of-type:after{display:none}.wpr-pricing-table-feature-icon,.wpr-pricing-table-feature-text{display:inline}.wpr-pricing-table-feature-icon{margin-right:8px}.wpr-pricing-table-feature-tooltip{position:absolute;top:0;left:50%;border-radius:4px;padding:6px 10px;visibility:hidden;opacity:0;font-size:15px;-webkit-transform:translate(-50%,-100%);-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%);-webkit-transition:all 230ms ease-in-out 0s;-o-transition:all 230ms ease-in-out 0s;transition:all 230ms ease-in-out 0s;text-align:center}.wpr-pricing-table-feature-tooltip:before{content:"";position:absolute;left:10px;bottom:-5px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top-style:solid;border-top-width:6px}.wpr-pricing-table-feature:hover .wpr-pricing-table-feature-tooltip{visibility:visible;opacity:1;top:5px;-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%);-webkit-transform:translate(-50%,-100%)}.wpr-pricing-table-feature-tooltip:before{left:50%;-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transform:translateX(-50%)!important}.wpr-pricing-table-button{text-align:center;font-size:17px}.wpr-pricing-table-btn{position:relative;overflow:hidden;display:inline-block;vertical-align:middle;cursor:pointer}.wpr-pricing-table-btn span{position:relative;z-index:2;opacity:1!important}.wpr-pricing-table-btn:after,.wpr-pricing-table-btn:before{z-index:1!important}.wpr-pricing-table-badge{position:absolute;display:inline-block;text-align:center;z-index:2}.elementor-widget-wpr-pricing-table .wpr-pricing-table-badge .wpr-pricing-table-badge-inner{font-size:15px;font-weight:900}.wpr-pricing-table-badge-left{left:0;right:auto}.wpr-pricing-table-badge-right{left:auto;right:0}.wpr-pricing-table-badge-corner{top:0;width:200px;height:200px;overflow:hidden}.wpr-pricing-table-badge-corner .wpr-pricing-table-badge-inner{width:200%}.wpr-pricing-table-badge-corner.wpr-pricing-table-badge-right{-ms-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform:rotate(90deg)}.wpr-pricing-table-badge-cyrcle{top:0}.wpr-pricing-table-badge-cyrcle .wpr-pricing-table-badge-inner{border-radius:100%}.wpr-pricing-table-badge-flag{border-right:5px}.wpr-pricing-table-badge-flag.wpr-pricing-table-badge-left{margin-left:-10px}.wpr-pricing-table-badge-flag.wpr-pricing-table-badge-right{margin-right:-10px}.wpr-pricing-table-badge-flag:before{content:"";position:absolute;z-index:1;bottom:-5px;width:0;height:0;margin-left:-10px;border-left:10px solid transparent;border-right:10px solid transparent;border-top-style:solid;border-top-width:10px}.wpr-pricing-table-badge-flag .wpr-pricing-table-badge-inner{position:relative;z-index:2;border-top-left-radius:3px;border-top-right-radius:3px}.wpr-pricing-table-badge-flag.wpr-pricing-table-badge-left:before{left:5px;-ms-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform:rotate(90deg)}.wpr-pricing-table-badge-flag.wpr-pricing-table-badge-right:before{right:-5px;-ms-transform:rotate(-90deg);transform:rotate(-90deg);-webkit-transform:rotate(-90deg)}.wpr-pricing-table-badge-flag.wpr-pricing-table-badge-left .wpr-pricing-table-badge-inner{border-bottom-right-radius:3px}.wpr-pricing-table-badge-flag.wpr-pricing-table-badge-right .wpr-pricing-table-badge-inner{border-bottom-left-radius:3px}.wpr-pricing-table-text{font-size:13px;line-height:1.3}.wpr-pricing-table-divider{margin:0 auto;border:0}.wpr-pricing-table-animation-slide{-webkit-transition-property:margin;-o-transition-property:margin;transition-property:margin;-webkit-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.wpr-pricing-table-animation-bounce{-webkit-animation-iteration-count:1;animation-iteration-count:1}.wpr-pricing-table-animation-slide:hover{margin-top:-5px}.wpr-pricing-table-animation-bounce:hover{-webkit-animation-name:bounce;animation-name:bounce}.elementor-widget-wpr-pricing-table .wpr-pricing-table-heading{background-color:#f9f9f9}.elementor-widget-wpr-pricing-table .wpr-pricing-table-price{background-color:#605be5}.elementor-widget-wpr-pricing-table .wpr-pricing-table-button{background-color:#f9f9f9}.elementor-widget-wpr-pricing-table .wpr-pricing-table-btn{background-color:#2b2b2b}.elementor-widget-wpr-pricing-table .wpr-pricing-table-btn:hover{background-color:#4a45d2}.elementor-widget-wpr-pricing-table .wpr-pricing-table-text{background-color:#f9f9f9}.wpr-logo{position:relative;display:inline-table;overflow:hidden}.wpr-logo-image img{display:block}.wpr-logo-description{margin:0}.wpr-logo-image{position:relative;display:block;width:100%;z-index:7}.wpr-logo-url{position:absolute;display:block;width:100%;height:100%;top:0;left:0;z-index:5}.wpr-logo-position-left .wpr-logo-image,.wpr-logo-position-left .wpr-logo-text{float:left}.wpr-logo-position-right .wpr-logo-image,.wpr-logo-position-right .wpr-logo-text{float:right}.wpr-logo-position-center .wpr-logo-image{margin:0 auto}.wpr-logo-position-center .wpr-logo-text{text-align:center}.wpr-logo-position-left .wpr-logo-text,.wpr-logo-position-right .wpr-logo-text{text-align:left}.elementor-widget-wpr-logo .wpr-logo-title{font-size:16px;line-height:1.5}.elementor-widget-wpr-logo .wpr-logo-description{font-size:13px}.wpr-testimonial-carousel .slick-slider{cursor:drag}.wpr-testimonial-carousel .slick-track{display:-webkit-box!important;display:flex!important;display:-ms-flexbox!important}.wpr-testimonial-carousel .slick-slide{height:inherit!important}.wpr-testimonial-carousel-wrap .slick-list{padding-right:1px!important}.wpr-testimonial-nav-position-default .wpr-testimonial-arrow-container{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-testimonial-nav-position-default .wpr-testimonial-arrow{position:static}.wpr-testimonial-nav-position-default .wpr-testimonial-prev-arrow{-ms-transform:none;transform:none;-webkit-transform:none}.wpr-testimonial-nav-position-default .wpr-testimonial-next-arrow{-ms-transform:translateY(0) rotate(180deg);transform:translateY(0) rotate(180deg);-webkit-transform:translateY(0) rotate(180deg)}.wpr-testimonial-nav-align-bottom-center .wpr-testimonial-arrow-container,.wpr-testimonial-nav-align-top-center .wpr-testimonial-arrow-container{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.wpr-testimonial-arrow{position:absolute;z-index:120;top:52%;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;cursor:pointer}.wpr-testimonial-arrow i{display:block;line-height:inherit}.wpr-testimonial-prev-arrow{left:2%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-testimonial-next-arrow{right:2%;-webkit-transform:translateY(-50%) rotate(180deg);-ms-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg)}.wpr-testimonial-nav-fade .wpr-testimonial-arrow{opacity:0}.wpr-testimonial-dots{display:inline-table;position:absolute;z-index:110;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.wpr-testimonial-dots ul{list-style:none;padding:0;margin:0}.wpr-testimonial-dots li{float:left;width:auto!important;margin:0!important}.wpr-testimonial-dot{display:block;cursor:pointer}.wpr-testimonial-dots li:last-child .wpr-testimonial-dot{margin:0!important}.wpr-testimonial-social-media{display:inline-block}.wpr-testimonial-social{display:block;float:left;width:45px;height:45px;line-height:45px;font-size:45px;-webkit-box-sizing:content-box;box-sizing:content-box;text-align:center;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;cursor:pointer}.wpr-testimonial-social i{display:block;width:100%;height:100%;line-height:inherit}.wpr-testimonial-social:last-child{margin-right:0!important}.wpr-testimonial-rating i{display:inline;position:relative;font-family:eicons;font-style:normal;line-height:1;overflow:hidden}.wpr-testimonial-rating i:before{content:'\e934';font-weight:900;display:block;position:absolute;top:0;left:0;font-size:inherit;font-family:inherit;overflow:hidden}.wpr-testimonial-rating-style_2 .wpr-testimonial-rating i:before{content:'\002605'}.wpr-testimonial-rating i:last-of-type{margin-right:0!important}.wpr-rating-icon-empty:before{display:none!important}.elementor-widget-wpr-testimonial-carousel .wpr-testimonial-content-wrap .wpr-testimonial-title{font-size:18px;font-weight:700}.wpr-testimonial-content{position:relative;font-size:15px}.wpr-testimonial-content p{position:relative;z-index:5;margin:0}.wpr-testimonial-content .wpr-testimonial-icon{position:absolute;width:100%;z-index:1}.wpr-testimonial-date{font-size:10px}.wpr-testimonial-content-inner{position:relative;background-color:#f9f9f9}.wpr-testimonial-triangle-yes .wpr-testimonial-content-inner:before{content:"";position:absolute;width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-top-style:solid;border-top-width:15px}.wpr-testimonial-meta-position-bottom.wpr-testimonial-meta-align-center .wpr-testimonial-content-inner:before,.wpr-testimonial-meta-position-top.wpr-testimonial-meta-align-center .wpr-testimonial-content-inner:before{right:calc(50% - 15px)}.wpr-testimonial-meta-position-bottom.wpr-testimonial-meta-align-left .wpr-testimonial-content-inner:before,.wpr-testimonial-meta-position-top.wpr-testimonial-meta-align-left .wpr-testimonial-content-inner:before{margin-left:-15px}.wpr-testimonial-meta-position-bottom.wpr-testimonial-meta-align-right .wpr-testimonial-content-inner:before,.wpr-testimonial-meta-position-top.wpr-testimonial-meta-align-right .wpr-testimonial-content-inner:before{margin-right:-15px}.wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before,.wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before{margin-top:-7.5px}.wpr-testimonial-meta-position-top .wpr-testimonial-content-inner:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.wpr-testimonial-meta-position-top .wpr-testimonial-content-inner{margin-top:15px}.wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.wpr-testimonial-meta-position-right .wpr-testimonial-content-inner{margin-right:15px}.wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.wpr-testimonial-meta-position-left .wpr-testimonial-content-inner{margin-left:15px}.wpr-testimonial-meta-position-bottom .wpr-testimonial-content-inner:before{bottom:-15px}.wpr-testimonial-meta-position-bottom .wpr-testimonial-content-inner{margin-bottom:15px}.wpr-testimonial-meta-position-extra .wpr-testimonial-content-inner:before{display:none}.wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before{left:-22px}.wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before{right:-22px}.wpr-testimonial-meta-position-top .wpr-testimonial-content-inner:before{top:-15px}.wpr-testimonial-meta-position-bottom .wpr-testimonial-content-inner:before{bottom:-15px}.wpr-testimonial-image{overflow:hidden}.elementor-widget-wpr-testimonial-carousel .wpr-testimonial-meta .wpr-testimonial-name{font-size:14px;font-weight:700}.wpr-testimonial-logo-image{display:block;overflow:hidden}.wpr-testimonial-item{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.wpr-testimonial-meta-position-extra .wpr-testimonial-item{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-testimonial-meta-position-top .wpr-testimonial-item{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-testimonial-meta-position-bottom .wpr-testimonial-item{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.wpr-testimonial-meta-position-right .wpr-testimonial-item{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-testimonial-meta-position-left .wpr-testimonial-item{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.wpr-testimonial-meta-position-left .wpr-testimonial-meta,.wpr-testimonial-meta-position-right .wpr-testimonial-meta{-ms-flex-negative:0;flex-shrink:0}@media screen and (max-width:480px){.wpr-testimonial-meta-position-left .wpr-testimonial-item,.wpr-testimonial-meta-position-right .wpr-testimonial-item{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-testimonial-meta-position-left .wpr-testimonial-content-inner,.wpr-testimonial-meta-position-right .wpr-testimonial-content-inner{margin-left:0!important}.wpr-testimonial-meta-position-left .wpr-testimonial-meta,.wpr-testimonial-meta-position-right .wpr-testimonial-meta{margin-left:0!important;margin-right:0!important;padding:0!important;margin-bottom:20px}.wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before,.wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before{display:none}}.wpr-testimonial-job{font-size:10px}.wpr-testimonial-image-position-left .wpr-testimonial-meta-inner>div,.wpr-testimonial-image-position-right .wpr-testimonial-meta-inner>div{display:inline-block;vertical-align:top}.wpr-testimonial-image-position-center.wpr-testimonial-meta-align-left .wpr-testimonial-meta img,.wpr-testimonial-image-position-left .wpr-testimonial-image,.wpr-testimonial-image-position-left .wpr-testimonial-logo-image img{float:left}.wpr-testimonial-image-position-center.wpr-testimonial-meta-align-right .wpr-testimonial-meta img,.wpr-testimonial-image-position-right .wpr-testimonial-image,.wpr-testimonial-image-position-right .wpr-testimonial-logo-image img{float:right}.wpr-testimonial-image-position-left .wpr-testimonial-meta-content-wrap,.wpr-testimonial-meta-align-left .wpr-testimonial-meta{text-align:left}.wpr-testimonial-meta-align-center .wpr-testimonial-meta{text-align:center}.wpr-testimonial-image-position-right .wpr-testimonial-meta-content-wrap,.wpr-testimonial-meta-align-right .wpr-testimonial-meta{text-align:right}.wpr-testimonial-meta-align-center .wpr-testimonial-meta img{margin:0 auto}.wpr-testimonial-meta-position-extra .wpr-testimonial-meta img{display:inline-block}.wpr-testimonial-meta-inner{display:inline-block}.wpr-testimonial-meta-position-bottom .wpr-testimonial-logo-image img,.wpr-testimonial-meta-position-bottom .wpr-testimonial-social-media,.wpr-testimonial-meta-position-top .wpr-testimonial-logo-image img,.wpr-testimonial-meta-position-top .wpr-testimonial-social-media{float:none!important;display:inline-block!important}@media screen and (min-width:480px){.wpr-testimonial-image-position-left .wpr-testimonial-image,.wpr-testimonial-image-position-right .wpr-testimonial-image{margin-bottom:0!important}}@media screen and (max-width:480px){.wpr-testimonial-meta-position-left .wpr-testimonial-image,.wpr-testimonial-meta-position-left .wpr-testimonial-meta-content-wrap,.wpr-testimonial-meta-position-right .wpr-testimonial-image,.wpr-testimonial-meta-position-right .wpr-testimonial-meta-content-wrap{display:block!important;float:none!important;text-align:center!important}.wpr-testimonial-meta-position-left.wpr-testimonial-image-position-left .wpr-testimonial-image,.wpr-testimonial-meta-position-left.wpr-testimonial-image-position-right .wpr-testimonial-image,.wpr-testimonial-meta-position-right.wpr-testimonial-image-position-left .wpr-testimonial-image,.wpr-testimonial-meta-position-right.wpr-testimonial-image-position-right .wpr-testimonial-image{margin-left:0!important;margin-right:0!important}.wpr-testimonial-meta-position-left .wpr-testimonial-image img,.wpr-testimonial-meta-position-left .wpr-testimonial-logo-image img,.wpr-testimonial-meta-position-right .wpr-testimonial-image img,.wpr-testimonial-meta-position-right .wpr-testimonial-logo-image img{display:inline-block!important;float:none!important}}.wpr-search-form-input-wrap{width:100%;overflow:hidden}.wpr-search-form .wpr-search-form-input{width:100%;height:100%;font-size:14px;background-color:transparent;border-style:solid}.wpr-search-form-style-inner .wpr-search-form-input-wrap,.wpr-search-form-style-outer .wpr-search-form{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-search-form-style-inner.wpr-search-form-position-left .wpr-search-form-input-wrap,.wpr-search-form-style-outer.wpr-search-form-position-left .wpr-search-form{-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-search-form-submit{padding:0!important;cursor:pointer;border-style:solid;-webkit-transition:all .2s;-o-transition:all .2s;transition:all .2s}.wpr-search-form-disable-submit-btn-yes .wpr-search-form-submit{pointer-events:none;cursor:default}.wpr-team-member{overflow:hidden}.wpr-member-content{overflow:hidden}.wpr-member-name{display:block;line-height:1}.elementor .elementor-widget-wpr-team-member .wpr-member-name{font-size:24px;font-weight:500}.wpr-member-job{font-size:13px}.wpr-member-description{font-size:15px;line-height:1.4}.wpr-member-media{position:relative;margin:0 auto;width:100%;overflow:hidden}.wpr-member-image{overflow:hidden}.wpr-member-overlay-content{position:relative}.wpr-member-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(255,255,255,.9)}.wpr-member-social-media{display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.wpr-member-social{display:block;width:45px;height:45px;line-height:45px;font-size:45px;-webkit-box-sizing:content-box;box-sizing:content-box;text-align:center;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;cursor:pointer}.wpr-member-social i{display:block;width:100%;height:100%;line-height:inherit}.wpr-member-social:last-child{margin-right:0!important}.wpr-team-member-social-media-left .wpr-member-social-media{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.wpr-team-member-social-media-right .wpr-member-social-media{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.wpr-team-member-social-media-center .wpr-member-social-media{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wpr-member-btn{display:inline-block;position:relative;overflow:hidden;display:inline-block;vertical-align:middle;background-color:#222;cursor:pointer;font-size:14px}.wpr-member-btn span{position:relative;z-index:2;opacity:1!important}.wpr-member-btn:after,.wpr-member-btn:before{z-index:1!important}.wpr-member-divider{overflow:hidden}.wpr-member-divider:after{content:"";display:block;width:100%;margin-top:0;overflow:hidden}.wpr-team-member-divider-left .wpr-member-divider:after{float:left}.wpr-team-member-divider-right .wpr-member-divider:after{float:right}.wpr-team-member-divider-center .wpr-member-divider:after{margin-left:auto;margin-right:auto}.wpr-button-wrap{position:relative;display:inline-table;z-index:1;width:100%}.wpr-button{display:block;position:relative;width:100%;z-index:1;overflow:hidden}.elementor .elementor-widget-wpr-button .wpr-button-text{font-size:15px;font-weight:500}.wpr-button-icon-style-block .wpr-button-text,.wpr-button-icon-style-inline-block .wpr-button-text{width:100%}.wpr-button-icon-style-block .wpr-button-icon,.wpr-button-icon-style-inline-block .wpr-button-icon{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wpr-button-content{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-button-icon,.wpr-button-text{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-button-icon-position-left .wpr-button-icon{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.wpr-button-icon-position-left .wpr-button-text{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.wpr-button-tooltip{position:absolute;border-radius:4px;visibility:hidden;opacity:0;font-size:13px;line-height:1.5;-webkit-transition-property:all;-o-transition-property:all;transition-property:all;-webkit-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;z-index:20}.wpr-button-tooltip:before{content:"";position:absolute;width:0;height:0;border-top-style:solid;border-left:6px solid transparent;border-right:6px solid transparent;border-top-width:6px}.wpr-button-tooltip p{margin:0}.wpr-button-wrap:hover .wpr-button-tooltip{visibility:visible;opacity:1}.wpr-button-tooltip-position-top .wpr-button-tooltip{top:0;left:50%;-ms-transform:translate(-50%,-120%);transform:translate(-50%,-120%);-webkit-transform:translate(-50%,-120%);margin-top:-5px}.wpr-button-tooltip-position-top .wpr-button-wrap:hover .wpr-button-tooltip{-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%);-webkit-transform:translate(-50%,-100%)}.wpr-button-tooltip-position-top .wpr-button-tooltip:before{left:50%;-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transform:translateX(-50%);bottom:-5px}.wpr-button-tooltip-position-bottom .wpr-button-tooltip{bottom:0;left:50%;-ms-transform:translate(-50%,120%);transform:translate(-50%,120%);-webkit-transform:translate(-50%,120%);margin-bottom:-5px}.wpr-button-tooltip-position-bottom .wpr-button-wrap:hover .wpr-button-tooltip{-ms-transform:translate(-50%,100%);transform:translate(-50%,100%);-webkit-transform:translate(-50%,100%)}.wpr-button-tooltip-position-bottom .wpr-button-tooltip:before{top:-5px;left:50%;-webkit-transform:translateX(-50%) rotate(180deg);-ms-transform:translateX(-50%) rotate(180deg);transform:translateX(-50%) rotate(180deg)}.wpr-button-tooltip-position-left .wpr-button-tooltip{top:50%;left:0;-ms-transform:translate(-120%,-50%);transform:translate(-120%,-50%);-webkit-transform:translate(-120%,-50%);margin-left:-5px}.wpr-button-tooltip-position-left .wpr-button-wrap:hover .wpr-button-tooltip{-ms-transform:translate(-100%,-50%);transform:translate(-100%,-50%);-webkit-transform:translate(-100%,-50%)}.wpr-button-tooltip-position-left .wpr-button-tooltip:before{right:-8px;top:50%;-webkit-transform:translateY(-50%) rotate(-90deg);-ms-transform:translateY(-50%) rotate(-90deg);transform:translateY(-50%) rotate(-90deg)}.wpr-button-tooltip-position-right .wpr-button-tooltip{top:50%;right:0;-ms-transform:translate(120%,-50%);transform:translate(120%,-50%);-webkit-transform:translate(120%,-50%);margin-right:-5px}.wpr-button-tooltip-position-right .wpr-button-wrap:hover .wpr-button-tooltip{-ms-transform:translate(100%,-50%);transform:translate(100%,-50%);-webkit-transform:translate(100%,-50%)}.wpr-button-tooltip-position-right .wpr-button-tooltip:before{left:-8px;top:50%;-ms-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg);-webkit-transform:translateY(-50%) rotate(90deg)}.elementor-widget-wpr-button .wpr-button{background-color:#605be5}.elementor-widget-wpr-button .wpr-button-none:hover,.elementor-widget-wpr-button .wpr-button::after,.elementor-widget-wpr-button .wpr-button::before,.elementor-widget-wpr-button [class*=elementor-animation]:hover{background-color:#4a45d2}.elementor-widget-wpr-button .wpr-button-text,.elementor-widget-wpr-button .wpr-button::after{font-size:14px}.wpr-dual-button{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-button-a-wrap,.wpr-button-b-wrap{position:relative;width:100%}.wpr-button-a-wrap{z-index:5}.wpr-button-b-wrap{z-index:2}.wpr-button-a,.wpr-button-b{display:block;position:relative;width:100%;z-index:1;overflow:hidden}.wpr-button-content-a,.wpr-button-content-b{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-button-icon-a,.wpr-button-icon-b,.wpr-button-text-a,.wpr-button-text-b{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-button-icon-a-position-left .wpr-button-icon-a,.wpr-button-icon-b-position-left .wpr-button-icon-b{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.wpr-button-icon-a-position-left .wpr-button-text-a,.wpr-button-icon-b-position-left .wpr-button-text-b{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.wpr-button-middle-badge{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;right:0;-webkit-transform:translate(50%,-50%);-ms-transform:translate(50%,-50%);transform:translate(50%,-50%);text-align:center;-webkit-box-sizing:content-box;box-sizing:content-box;z-index:10;border-width:3px;border-color:#00ce1b;-webkit-box-shadow:0 0 0 4px rgba(255,255,255,.3);box-shadow:0 0 0 4px rgba(255,255,255,.3)}.wpr-button-middle-badge i{line-height:inherit}.wpr-button-tooltip-a{position:absolute;border-radius:4px;visibility:hidden;opacity:0;font-size:13px;line-height:1.5;-webkit-transition-property:all;-o-transition-property:all;transition-property:all;-webkit-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;z-index:20}.wpr-button-tooltip-a:before{content:"";position:absolute;width:0;height:0;border-top-style:solid;border-left:6px solid transparent;border-right:6px solid transparent;border-top-width:6px}.wpr-button-tooltip-a p{margin:0}.wpr-button-a-wrap:hover .wpr-button-tooltip-a{visibility:visible;opacity:1}.wpr-button-tooltip-a-position-top .wpr-button-tooltip-a{top:0;left:50%;-ms-transform:translate(-50%,-120%);transform:translate(-50%,-120%);-webkit-transform:translate(-50%,-120%);margin-top:-5px}.wpr-button-tooltip-a-position-top .wpr-button-a-wrap:hover .wpr-button-tooltip-a{-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%);-webkit-transform:translate(-50%,-100%)}.wpr-button-tooltip-a-position-top .wpr-button-tooltip-a:before{left:50%;-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transform:translateX(-50%);bottom:-5px}.wpr-button-tooltip-a-position-bottom .wpr-button-tooltip-a{bottom:0;left:50%;-ms-transform:translate(-50%,120%);transform:translate(-50%,120%);-webkit-transform:translate(-50%,120%);margin-bottom:-5px}.wpr-button-tooltip-a-position-bottom .wpr-button-a-wrap:hover .wpr-button-tooltip-a{-ms-transform:translate(-50%,100%);transform:translate(-50%,100%);-webkit-transform:translate(-50%,100%)}.wpr-button-tooltip-a-position-bottom .wpr-button-tooltip-a:before{top:-5px;left:50%;-webkit-transform:translateX(-50%) rotate(180deg);-ms-transform:translateX(-50%) rotate(180deg);transform:translateX(-50%) rotate(180deg)}.wpr-button-tooltip-a-position-left .wpr-button-tooltip-a{top:50%;left:0;-ms-transform:translate(-120%,-50%);transform:translate(-120%,-50%);-webkit-transform:translate(-120%,-50%);margin-left:-5px}.wpr-button-tooltip-a-position-left .wpr-button-a-wrap:hover .wpr-button-tooltip-a{-ms-transform:translate(-100%,-50%);transform:translate(-100%,-50%);-webkit-transform:translate(-100%,-50%)}.wpr-button-tooltip-a-position-left .wpr-button-tooltip-a:before{right:-8px;top:50%;-webkit-transform:translateY(-50%) rotate(-90deg);-ms-transform:translateY(-50%) rotate(-90deg);transform:translateY(-50%) rotate(-90deg)}.wpr-button-tooltip-a-position-right .wpr-button-tooltip-a{top:50%;right:0;-ms-transform:translate(120%,-50%);transform:translate(120%,-50%);-webkit-transform:translate(120%,-50%);margin-right:-5px}.wpr-button-tooltip-a-position-right .wpr-button-a-wrap:hover .wpr-button-tooltip-a{-ms-transform:translate(100%,-50%);transform:translate(100%,-50%);-webkit-transform:translate(100%,-50%)}.wpr-button-tooltip-a-position-right .wpr-button-tooltip-a:before{left:-8px;top:50%;-webkit-transform:translateY(-50%) rotate(90deg);-ms-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg)}.wpr-button-tooltip-b{position:absolute;border-radius:4px;visibility:hidden;opacity:0;font-size:13px;line-height:1.5;-webkit-transition-property:all;-o-transition-property:all;transition-property:all;-webkit-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;z-index:20}.wpr-button-tooltip-b:before{content:"";position:absolute;width:0;height:0;border-top-style:solid;border-left:6px solid transparent;border-right:6px solid transparent;border-top-width:6px}.wpr-button-tooltip-b p{margin:0}.wpr-button-b-wrap:hover .wpr-button-tooltip-b{visibility:visible;opacity:1}.wpr-button-tooltip-b-position-top .wpr-button-tooltip-b{top:0;left:50%;-ms-transform:translate(-50%,-120%);transform:translate(-50%,-120%);-webkit-transform:translate(-50%,-120%);margin-top:-5px}.wpr-button-tooltip-b-position-top .wpr-button-b-wrap:hover .wpr-button-tooltip-b{-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%);-webkit-transform:translate(-50%,-100%)}.wpr-button-tooltip-b-position-top .wpr-button-tooltip-b:before{left:50%;-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transform:translateX(-50%);bottom:-5px}.wpr-button-tooltip-b-position-bottom .wpr-button-tooltip-b{bottom:0;left:50%;-ms-transform:translate(-50%,120%);transform:translate(-50%,120%);-webkit-transform:translate(-50%,120%);margin-bottom:-5px}.wpr-button-tooltip-b-position-bottom .wpr-button-b-wrap:hover .wpr-button-tooltip-b{-ms-transform:translate(-50%,100%);transform:translate(-50%,100%);-webkit-transform:translate(-50%,100%)}.wpr-button-tooltip-b-position-bottom .wpr-button-tooltip-b:before{top:-5px;left:50%;-webkit-transform:translateX(-50%) rotate(180deg);-ms-transform:translateX(-50%) rotate(180deg);transform:translateX(-50%) rotate(180deg)}.wpr-button-tooltip-b-position-left .wpr-button-tooltip-b{top:50%;left:0;-ms-transform:translate(-120%,-50%);transform:translate(-120%,-50%);-webkit-transform:translate(-120%,-50%);margin-left:-5px}.wpr-button-tooltip-b-position-left .wpr-button-b-wrap:hover .wpr-button-tooltip-b{-ms-transform:translate(-100%,-50%);transform:translate(-100%,-50%);-webkit-transform:translate(-100%,-50%)}.wpr-button-tooltip-b-position-left .wpr-button-tooltip-b:before{right:-8px;top:50%;-webkit-transform:translateY(-50%) rotate(-90deg);-ms-transform:translateY(-50%) rotate(-90deg);transform:translateY(-50%) rotate(-90deg)}.wpr-button-tooltip-b-position-right .wpr-button-tooltip-b{top:50%;right:0;-ms-transform:translate(120%,-50%);transform:translate(120%,-50%);-webkit-transform:translate(120%,-50%);margin-right:-5px}.wpr-button-tooltip-b-position-right .wpr-button-b-wrap:hover .wpr-button-tooltip-b{-ms-transform:translate(100%,-50%);transform:translate(100%,-50%);-webkit-transform:translate(100%,-50%)}.wpr-button-tooltip-b-position-right .wpr-button-tooltip-b:before{left:-8px;top:50%;-webkit-transform:translateY(-50%) rotate(90deg);-ms-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg)}@media screen and (max-width:480px){.wpr-button-tooltip-a-position-left .wpr-button-tooltip-a,.wpr-button-tooltip-b-position-right .wpr-button-tooltip-b,.wpr-button-tooltip-position-left .wpr-button-tooltip,.wpr-button-tooltip-position-right .wpr-button-tooltip{top:0;left:50%!important;right:auto!important;-ms-transform:translate(-50%,-120%);transform:translate(-50%,-120%);-webkit-transform:translate(-50%,-120%);margin-top:-5px}.wpr-button-tooltip-a-position-left .wpr-button-a-wrap:hover .wpr-button-tooltip-a,.wpr-button-tooltip-b-position-right .wpr-button-b-wrap:hover .wpr-button-tooltip-b,.wpr-button-tooltip-position-left .wpr-button-wrap:hover .wpr-button-tooltip,.wpr-button-tooltip-position-right .wpr-button-wrap:hover .wpr-button-tooltip{-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%);-webkit-transform:translate(-50%,-100%)}.wpr-button-tooltip-a-position-left .wpr-button-tooltip-a:before,.wpr-button-tooltip-b-position-right .wpr-button-tooltip-b:before,.wpr-button-tooltip-position-left .wpr-button-tooltip:before,.wpr-button-tooltip-position-right .wpr-button-tooltip:before{left:50%;-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transform:translateX(-50%);bottom:-5px;top:auto}}.elementor-widget-wpr-dual-button .wpr-button-a,.elementor-widget-wpr-dual-button .wpr-button-b{background-color:#605be5}.elementor-widget-wpr-dual-button .wpr-dual-button .wpr-button-effect::after,.elementor-widget-wpr-dual-button .wpr-dual-button .wpr-button-effect::before,.elementor-widget-wpr-dual-button .wpr-dual-button .wpr-button-none:hover,.elementor-widget-wpr-dual-button .wpr-dual-button [class*=elementor-animation]:hover{background-color:#4a45d2}.elementor-widget-wpr-dual-button .wpr-button-a::after,.elementor-widget-wpr-dual-button .wpr-button-b::after,.elementor-widget-wpr-dual-button .wpr-button-text-a,.elementor-widget-wpr-dual-button .wpr-button-text-b{font-size:14px}.elementor-widget-wpr-dual-button .wpr-button-middle-badge{font-size:13px}.wpr-anim-text,.wpr-clipped-text,.wpr-highlighted-text{display:inline-block;vertical-align:middle}.wpr-advanced-text-preffix,.wpr-advanced-text-suffix{vertical-align:middle}.elementor-widget-wpr-advanced-text b{font-weight:none}.elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-advanced-text-preffix,.elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-advanced-text-suffix,.elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-anim-text,.elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-anim-text b,.elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-highlighted-text{font-size:32px;font-weight:700}.wpr-advanced-text{display:block;margin:0}.wpr-clipped-text{position:relative;-ms-transform:translate(0,0);transform:translate(0,0);-webkit-transform:translate(0,0);z-index:0}.wpr-clipped-text-content{-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-clipped-text{font-size:50px;font-weight:700}.wpr-clipped-text-long-shadow{position:absolute;display:inline-block;top:0;left:0;width:100%;height:100%;z-index:-1}.wpr-highlighted-text{position:relative;text-align:left}.wpr-highlighted-text-inner{position:relative;z-index:1}.wpr-highlighted-text svg{position:absolute;top:50%;left:50%;width:100%;height:100%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);overflow:visible;z-index:auto}.wpr-highlighted-text svg path{-webkit-animation-name:wpr-anim-text;animation-name:wpr-anim-text;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;fill:none;stroke-width:4;stroke-dasharray:1500;-webkit-animation-iteration-count:1;-animation-iteration-count:1;opacity:0}.wpr-highlighted-text .wpr-highlight-curly{-webkit-transform:translate(-50%,25%);-ms-transform:translate(-50%,25%);transform:translate(-50%,25%)}.wpr-highlighted-text .wpr-highlight-x{-webkit-transform:translate(-50%,-35%);-ms-transform:translate(-50%,-35%);transform:translate(-50%,-35%)}.wpr-highlighted-text .wpr-highlight-strikethrough{-webkit-transform:translate(-50%,-47%);-ms-transform:translate(-50%,-47%);transform:translate(-50%,-47%)}.wpr-highlighted-text .wpr-highlight-underline{-webkit-transform:translate(-50%,27%);-ms-transform:translate(-50%,27%);transform:translate(-50%,27%)}.wpr-highlighted-text .wpr-highlight-double{-webkit-transform:translate(-50%,-40%);-ms-transform:translate(-50%,-40%);transform:translate(-50%,-40%)}.wpr-highlighted-text .wpr-highlight-double-underline{-webkit-transform:translate(-50%,30%);-ms-transform:translate(-50%,30%);transform:translate(-50%,30%)}.wpr-highlighted-text .wpr-highlight-diagonal{-webkit-transform:translate(-50%,-40%);-ms-transform:translate(-50%,-40%);transform:translate(-50%,-40%)}.wpr-animated-text-infinite-yes .wpr-highlighted-text svg path{-webkit-animation-name:wpr-anim-text-infinite;animation-name:wpr-anim-text-infinite}@-webkit-keyframes wpr-anim-text-infinite{0%{opacity:1;stroke-dasharray:0 1500}12%{stroke-dasharray:1500 1500}80%{opacity:1}97%{opacity:0;stroke-dasharray:1500 1500}100%{stroke-dasharray:0 1500}}@keyframes wpr-anim-text-infinite{0%{opacity:1;stroke-dasharray:0 1500}12%{stroke-dasharray:1500 1500}80%{opacity:1}97%{opacity:0;stroke-dasharray:1500 1500}100%{stroke-dasharray:0 1500}}@-webkit-keyframes wpr-anim-text{0%{opacity:1;stroke-dasharray:0 1500}12%{stroke-dasharray:1500 1500}100%{opacity:1}}@keyframes wpr-anim-text{0%{opacity:1;stroke-dasharray:0 1500}12%{stroke-dasharray:1500 1500}100%{opacity:1}}@-webkit-keyframes wpr-anim-text-infinite{0%{opacity:1;stroke-dasharray:0 1500}12%{stroke-dasharray:1500 1500}100%{opacity:1}}.wpr-anim-text-inner{float:left}.wpr-anim-text-cursor{display:inline-block;zoom:1;opacity:1;-webkit-animation-name:wpr-cursor-blink;animation-name:wpr-cursor-blink;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}@-webkit-keyframes wpr-cursor-blink{0%{opacity:1}50%{opacity:0}100%{opacity:1}}@keyframes wpr-cursor-blink{0%{opacity:1}50%{opacity:0}100%{opacity:1}}.elementor-widget-wpr-advanced-text .wpr-clipped-text-content{background-color:#605be5}.wpr-prbar-counter-value-suffix{line-height:1}.wpr-prbar-hr-line{position:relative;width:100%;overflow:hidden}.wpr-prbar-hr-line-inner{position:relative;top:0;left:0;width:0;height:100%;-webkit-transition-property:width;-o-transition-property:width;transition-property:width;overflow:hidden}.wpr-prbar-hr-line .wpr-prbar-content{position:absolute;top:0;left:0;width:100%;height:100%}.wpr-prbar-hr-line .wpr-prbar-title-wrap{position:absolute;top:50%;left:12px;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-prbar-layout-hr-line .wpr-prbar-subtitle{text-align:left}.wpr-prbar-hr-line .wpr-prbar-counter{position:absolute;top:50%;right:12px;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-prbar-layout-hr-line .wpr-prbar-title-wrap{float:left}.wpr-prbar-layout-hr-line .wpr-prbar-counter{float:right}.wpr-prbar-vr-line{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;width:100%;margin:0 auto;overflow:hidden}.wpr-prbar-vr-line-inner{position:relative;width:100%;height:0;-webkit-transition-property:height;-o-transition-property:height;transition-property:height;overflow:hidden}.wpr-prbar-circle{position:relative;display:table;width:100%;height:auto;margin:0 auto}.wpr-prbar-circle-svg{width:100%;height:auto;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);border-radius:50%}.wpr-prbar-circle-prline{-webkit-transition-property:stroke-dasharray,stroke-dashoffset;-o-transition-property:stroke-dasharray,stroke-dashoffset;transition-property:stroke-dasharray,stroke-dashoffset;stroke-linecap:butt}.wpr-prbar-circle .wpr-prbar-content{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.wpr-prbar-content{text-align:center;overflow:hidden}.wpr-prbar-counter{display:-webkit-box;display:-ms-flexbox;display:-moz-flex;display:flex;font-size:12px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wpr-prbar-subtitle,.wpr-prbar-title{font-size:12px;text-align:center}.wpr-prbar-stripe-yes .wpr-prbar-hr-line-inner:after,.wpr-prbar-stripe-yes .wpr-prbar-vr-line-inner:after{content:'';position:absolute;top:0;left:-30px;width:calc(100% + 60px);height:100%;background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:30px 30px}.wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-right .wpr-prbar-hr-line-inner:after,.wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-right .wpr-prbar-vr-line-inner:after{-webkit-animation:stripe-anim-right 2s linear infinite;animation:stripe-anim-right 2s linear infinite}.wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-left .wpr-prbar-hr-line-inner:after,.wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-left .wpr-prbar-vr-line-inner:after{-webkit-animation:stripe-anim-left 2s linear infinite;animation:stripe-anim-left 2s linear infinite}@-webkit-keyframes stripe-anim-right{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}100%{-webkit-transform:translate(30px,0);transform:translate(30px,0)}}@keyframes stripe-anim-right{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}100%{-webkit-transform:translate(30px,0);transform:translate(30px,0)}}@-webkit-keyframes stripe-anim-left{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}100%{-webkit-transform:translate(-30px,0);transform:translate(-30px,0)}}@keyframes stripe-anim-left{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}100%{-webkit-transform:translate(-30px,0);transform:translate(-30px,0)}}.elementor-widget-wpr-progress-bar .wpr-prbar-hr-line-inner,.elementor-widget-wpr-progress-bar .wpr-prbar-vr-line-inner{background-color:#605be5}.wpr-price-list-item:last-child{margin-bottom:0}.wpr-price-list-content{width:100%;overflow:hidden}.wpr-price-list-item{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.wpr-price-list-link{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10}.wpr-price-list-position-right .wpr-price-list-item{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-price-list-position-center .wpr-price-list-item{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-price-list-position-center .wpr-price-list-heading{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-price-list-position-center .wpr-price-list-separator{display:none}.wpr-price-list-position-left .wpr-price-list-price-wrap,.wpr-price-list-position-right .wpr-price-list-price-wrap{margin-left:auto}.wpr-price-list-image img{display:block;margin:0 auto}.wpr-price-list-heading{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.elementor-widget-wpr-price-list .wpr-price-list-heading .wpr-price-list-price,.elementor-widget-wpr-price-list .wpr-price-list-heading .wpr-price-list-title{font-size:17px;font-weight:700}.wpr-price-list-old-price{font-size:11px}.wpr-price-list-description{font-size:14px}.wpr-price-list-separator{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;height:0}.wpr-price-list-price-wrap{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wpr-price-list-old-position-after .wpr-price-list-price-wrap{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-price-list-old-position-after .wpr-price-list-old-price{margin-right:10px}.wpr-price-list-old-position-before .wpr-price-list-old-price{margin-left:3px}.wpr-price-list-old-price{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;text-decoration:line-through}.wpr-image-hotspots{position:relative}.wpr-hotspot-item-container{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10}.wpr-hotspot-image img{width:100%}.wpr-hotspot-item{position:absolute}.wpr-hotspot-text{font-size:15px}.wpr-hotspot-content{position:relative;z-index:15;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;text-align:center}.wpr-hotspot-icon-position-left .wpr-hotspot-content{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-hotspot-item,.wpr-hotspot-item:before{-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-play-state:running;animation-play-state:running}.wpr-hotspot-trigger-click .wpr-hotspot-item,.wpr-hotspot-trigger-hover .wpr-hotspot-item{cursor:pointer}.wpr-hotspot-tooltip{position:absolute;border-radius:4px;visibility:hidden;opacity:0;font-size:13px;line-height:1.5;-webkit-transition-property:all;-o-transition-property:all;transition-property:all;-webkit-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;z-index:20;-webkit-box-shadow:0 0 4px 0 rgba(0,0,0,.5);box-shadow:0 0 4px 0 rgba(0,0,0,.5);font-size:13px}.wpr-hotspot-tooltip:before{content:"";position:absolute;width:0;height:0}.wpr-hotspot-tooltip-position-pro-bt .wpr-hotspot-tooltip,.wpr-hotspot-tooltip-position-pro-lt .wpr-hotspot-tooltip,.wpr-hotspot-tooltip-position-pro-rt .wpr-hotspot-tooltip{top:-120%;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.wpr-hotspot-tooltip-position-bottom .wpr-hotspot-tooltip:before,.wpr-hotspot-tooltip-position-top .wpr-hotspot-tooltip:before{border-left-color:transparent;border-right-color:transparent;border-top-style:solid;border-left-style:solid;border-right-style:solid}.wpr-hotspot-tooltip-position-left .wpr-hotspot-tooltip:before,.wpr-hotspot-tooltip-position-right .wpr-hotspot-tooltip:before{border-bottom-color:transparent;border-top-color:transparent;border-right-style:solid;border-bottom-style:solid;border-top-style:solid}.wpr-hotspot-tooltip p{margin:0}.wpr-tooltip-active .wpr-hotspot-tooltip{visibility:visible;opacity:1}.wpr-hotspot-tooltip-position-top .wpr-hotspot-tooltip:before{left:50%;-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transform:translateX(-50%)}.wpr-hotspot-tooltip-position-bottom .wpr-hotspot-tooltip:before{left:50%;-webkit-transform:translateX(-50%) rotate(180deg);-ms-transform:translateX(-50%) rotate(180deg);transform:translateX(-50%) rotate(180deg)}.wpr-hotspot-tooltip-position-left .wpr-hotspot-tooltip:before{top:50%;-webkit-transform:translateY(-50%) rotate(180deg);-ms-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg)}.wpr-hotspot-tooltip-position-right .wpr-hotspot-tooltip:before{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-hotspot-tooltip-position-bottom .wpr-hotspot-tooltip,.wpr-hotspot-tooltip-position-top .wpr-hotspot-tooltip{left:50%}.wpr-hotspot-tooltip-position-left .wpr-hotspot-tooltip,.wpr-hotspot-tooltip-position-right .wpr-hotspot-tooltip{top:50%}.wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,-120%);-ms-transform:translate(-50%,-120%);transform:translate(-50%,-120%)}.wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,-100%);-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}.wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,120%);-ms-transform:translate(-50%,120%);transform:translate(-50%,120%)}.wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,100%);-ms-transform:translate(-50%,100%);transform:translate(-50%,100%)}.wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip{-webkit-transform:translate(-120%,-50%);-ms-transform:translate(-120%,-50%);transform:translate(-120%,-50%)}.wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip{-webkit-transform:translate(-100%,-50%);-ms-transform:translate(-100%,-50%);transform:translate(-100%,-50%)}.wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip{-webkit-transform:translate(120%,-50%);-ms-transform:translate(120%,-50%);transform:translate(120%,-50%)}.wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip{-webkit-transform:translate(100%,-50%);-ms-transform:translate(100%,-50%);transform:translate(100%,-50%)}.wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-fade .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,-100%);-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}.wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-fade .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,100%);-ms-transform:translate(-50%,100%);transform:translate(-50%,100%)}.wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-fade .wpr-hotspot-tooltip{-webkit-transform:translate(-100%,-50%);-ms-transform:translate(-100%,-50%);transform:translate(-100%,-50%)}.wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-fade .wpr-hotspot-tooltip{-webkit-transform:translate(100%,-50%);-ms-transform:translate(100%,-50%);transform:translate(100%,-50%)}.wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-scale .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,-100%) scale(.7);-ms-transform:translate(-50%,-100%) scale(.7);transform:translate(-50%,-100%) scale(.7)}.wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-scale .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,100%) scale(.7);-ms-transform:translate(-50%,100%) scale(.7);transform:translate(-50%,100%) scale(.7)}.wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-scale .wpr-hotspot-tooltip{-webkit-transform:translate(-100%,-50%) scale(.7);-ms-transform:translate(-100%,-50%) scale(.7);transform:translate(-100%,-50%) scale(.7)}.wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-scale .wpr-hotspot-tooltip{-webkit-transform:translate(100%,-50%) scale(.7);-ms-transform:translate(100%,-50%) scale(.7);transform:translate(100%,-50%) scale(.7)}.wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,-100%) scale(1);-ms-transform:translate(-50%,-100%) scale(1);transform:translate(-50%,-100%) scale(1)}.wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip{-webkit-transform:translate(-50%,100%) scale(1);-ms-transform:translate(-50%,100%) scale(1);transform:translate(-50%,100%) scale(1)}.wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip{-webkit-transform:translate(-100%,-50%) scale(1);-ms-transform:translate(-100%,-50%) scale(1);transform:translate(-100%,-50%) scale(1)}.wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip{-webkit-transform:translate(100%,-50%) scale(1);-ms-transform:translate(100%,-50%) scale(1);transform:translate(100%,-50%) scale(1)}@keyframes wpr-hotspot-anim-pulse{0%,100%,87%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}88%,92%,96%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}90%,94%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}}@-webkit-keyframes wpr-hotspot-anim-pulse{0%,100%,87%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}88%,92%,96%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}90%,94%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}}.wpr-hotspot-anim-pulse{-webkit-animation-name:wpr-hotspot-anim-pulse;animation-name:wpr-hotspot-anim-pulse;-webkit-animation-duration:5s;animation-duration:5s}@keyframes wpr-hotspot-anim-shake{0%,100%,87%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}88%,92%,96%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}90%,94%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}}@-webkit-keyframes wpr-hotspot-anim-shake{0%,100%,87%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}88%,92%,96%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}90%,94%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}}.wpr-hotspot-anim-shake{-webkit-animation-name:wpr-hotspot-anim-shake;animation-name:wpr-hotspot-anim-shake;-webkit-animation-duration:5s;animation-duration:5s}@keyframes wpr-hotspot-anim-swing{0%,100%,70%{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0deg)}75%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}80%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}85%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}90%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}}@-webkit-keyframes wpr-hotspot-anim-swing{0%,100%,70%{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0deg)}75%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}80%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}85%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}90%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}}.wpr-hotspot-anim-swing{-webkit-animation-name:wpr-hotspot-anim-swing;animation-name:wpr-hotspot-anim-swing;-webkit-animation-duration:5s;animation-duration:5s}@keyframes wpr-hotspot-anim-tada{0%,100%,84%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}85%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}88%,92%,96%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}90%,94%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}}@-webkit-keyframes wpr-hotspot-anim-tada{0%,100%,84%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}85%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}88%,92%,96%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}90%,94%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}}.wpr-hotspot-anim-tada{-webkit-animation-name:wpr-hotspot-anim-tada;animation-name:wpr-hotspot-anim-tada;-webkit-animation-duration:6s;animation-duration:6s}@keyframes wpr-hotspot-anim-glow{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:0}}@-webkit-keyframes wpr-hotspot-anim-glow{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:0}}.wpr-hotspot-anim-glow:before{content:'';display:block;position:absolute;left:0;top:0;height:100%;width:100%;z-index:-1;-webkit-animation-name:wpr-hotspot-anim-glow;animation-name:wpr-hotspot-anim-glow;-webkit-animation-duration:2s;animation-duration:2s}.wpr-divider-wrap{display:inline-block;width:100%;overflow:hidden}.wpr-divider{display:-ms-flexbox;display:-webkit-box;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-divider-text{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.elementor-widget-wpr-divider .wpr-divider .wpr-divider-text{font-size:21px}.wpr-divider-border-left,.wpr-divider-border-right{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.wpr-divider-border{display:block;width:100%;height:1px}.wpr-divider-align-left .wpr-divider-border-left,.wpr-divider-align-right .wpr-divider-border-right{display:none}.wpr-divider-image{display:block;overflow:hidden}.wpr-business-hours{overflow:hidden}.wpr-business-hours-item{position:relative;display:-ms-flexbox;display:-webkit-box;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transition:all .1s;-o-transition:all .1s;transition:all .1s}.wpr-business-day{-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;text-align:left}.elementor-widget-wpr-business-hours .wpr-business-hours .wpr-business-closed,.elementor-widget-wpr-business-hours .wpr-business-hours .wpr-business-day,.elementor-widget-wpr-business-hours .wpr-business-hours .wpr-business-time{font-size:16px;font-weight:500}.wpr-business-closed,.wpr-business-time{-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;text-align:right}.wpr-business-hours-item:after{content:"";display:block;position:absolute;bottom:0;left:0;width:100%}.wpr-business-hours-item:last-of-type:after{display:none}.elementor-widget-wpr-business-hours .wpr-business-closed,.elementor-widget-wpr-business-hours .wpr-business-day,.elementor-widget-wpr-business-hours .wpr-business-time{font-weight:500}.wpr-flip-box{position:relative;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease;-webkit-perspective:1000px;perspective:1000px}.wpr-flip-box-item{position:absolute;top:0;left:0;width:100%;height:100%}.wpr-flip-box-front{z-index:5}.wpr-flip-box[data-trigger=box]{cursor:pointer}.elementor-widget-wpr-flip-box .wpr-flip-box-back .wpr-flip-box-content .wpr-flip-box-title,.elementor-widget-wpr-flip-box .wpr-flip-box-front .wpr-flip-box-content .wpr-flip-box-title{font-size:23px;font-weight:600}.elementor-widget-wpr-flip-box .wpr-flip-box-back .wpr-flip-box-content .wpr-flip-box-description,.elementor-widget-wpr-flip-box .wpr-flip-box-front .wpr-flip-box-content .wpr-flip-box-description{font-size:15px}.wpr-flip-box-item{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition-property:all;-o-transition-property:all;transition-property:all}.wpr-flip-box-content{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:relative;z-index:10}.wpr-flip-box-overlay{position:absolute;width:100%;height:100%;top:0;left:0;z-index:5}.wpr-flip-box-link{display:block;position:absolute;width:100%;height:100%;top:0;left:0;z-index:20}.wpr-flip-box-btn{display:inline-table;cursor:pointer}.wpr-flip-box-btn-icon{margin-left:5px}.wpr-flip-box-btn span{position:relative;z-index:2;opacity:1!important}.wpr-flip-box-btn:after,.wpr-flip-box-btn:before{z-index:1!important}.wpr-flip-box-image img{display:block;width:100%}.wpr-flip-box-title a,.wpr-flip-box-title a:hover{color:inherit}.wpr-flip-box-back-align-left .wpr-flip-box-back .wpr-flip-box-image img,.wpr-flip-box-front-align-left .wpr-flip-box-front .wpr-flip-box-image img{float:left}.wpr-flip-box-back-align-center .wpr-flip-box-back .wpr-flip-box-image img,.wpr-flip-box-front-align-center .wpr-flip-box-front .wpr-flip-box-image img{margin:0 auto}.wpr-flip-box-back-align-right .wpr-flip-box-back .wpr-flip-box-image img,.wpr-flip-box-front-align-right .wpr-flip-box-front .wpr-flip-box-image img{float:right}.wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-front,.wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-right .wpr-flip-box-back{-webkit-transform:rotateX(0) rotateY(-180deg);transform:rotateX(0) rotateY(-180deg)}.wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-left .wpr-flip-box-back,.wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-front{-webkit-transform:rotateX(0) rotateY(180deg);transform:rotateX(0) rotateY(180deg)}.wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-front,.wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-up .wpr-flip-box-back{-webkit-transform:rotateX(-180deg) rotateY(0);transform:rotateX(-180deg) rotateY(0)}.wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-down .wpr-flip-box-back,.wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-front{-webkit-transform:rotateX(180deg) rotateY(0);transform:rotateX(180deg) rotateY(0)}.wpr-flip-box-animation-flip .wpr-flip-box-active .wpr-flip-box-back{-webkit-transform:none;-ms-transform:none;transform:none}.wpr-flip-box-animation-3d-yes .wpr-flip-box-content{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transform:translateZ(70px) scale(.93);transform:translateZ(70px) scale(.93)}.wpr-flip-box-animation-push .wpr-flip-box,.wpr-flip-box-animation-slide .wpr-flip-box{overflow:hidden}.wpr-flip-box-animation-push .wpr-flip-box-back,.wpr-flip-box-animation-slide .wpr-flip-box-back{z-index:10}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-up .wpr-flip-box-back,.wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-up .wpr-flip-box-back{top:100%}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-back,.wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-back{top:0}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-down .wpr-flip-box-back,.wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-down .wpr-flip-box-back{top:auto;bottom:100%}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-back,.wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-back{top:auto;bottom:0}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-left .wpr-flip-box-back,.wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-left .wpr-flip-box-back{left:100%}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-back,.wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-back{left:0}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-right .wpr-flip-box-back,.wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-right .wpr-flip-box-back{left:auto;right:100%}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-back,.wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-back{left:auto;right:0}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-front{top:-100%}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-front{top:100%}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-front{left:-100%}.wpr-flip-box-animation-push.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-front{left:100%}.wpr-flip-box-animation-fade .wpr-flip-box-active .wpr-flip-box-front{opacity:0}.wpr-flip-box-animation-zoom-in .wpr-flip-box-back{opacity:0;-webkit-transform:scale(.9);-ms-transform:scale(.9);transform:scale(.9);z-index:10}.wpr-flip-box-animation-zoom-in .wpr-flip-box-active .wpr-flip-box-back{opacity:1;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.wpr-flip-box-animation-zoom-out .wpr-flip-box-active .wpr-flip-box-front{opacity:0;-webkit-transform:scale(.9);-ms-transform:scale(.9);transform:scale(.9)}.elementor-widget-wpr-flip-box .wpr-flip-box-front{background-color:#605be5}.elementor-widget-wpr-flip-box .wpr-flip-box-back{background-color:#ff348b}.wpr-promo-box{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.wpr-promo-box-image{position:relative;overflow:hidden}.wpr-promo-box-style-cover .wpr-promo-box-image,.wpr-promo-box-style-pro-cs .wpr-promo-box-image{position:absolute;top:0;left:0;height:100%;width:100%}.wpr-promo-box-bg-image{position:absolute;top:0;left:0;height:100%;width:100%;z-index:10;background-size:cover;background-position:50%}.wpr-promo-box-bg-overlay{position:absolute;top:0;left:0;height:100%;width:100%;z-index:15;-webkit-transition-property:all;-o-transition-property:all;transition-property:all}.wpr-promo-box-content{position:relative;z-index:20;width:100%;display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.elementor-widget-wpr-promo-box.wpr-promo-box-style-classic .wpr-promo-box-content{background-color:#212121}.elementor-widget-wpr-promo-box.wpr-promo-box-style-classic .wpr-promo-box:hover .wpr-promo-box-content{background-color:#ddb34f}.wpr-promo-box-image-position-right .wpr-promo-box{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-promo-box-image-position-center .wpr-promo-box{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media screen and (max-width:640px){.wpr-promo-box-style-classic .wpr-promo-box{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-promo-box-style-classic .wpr-promo-box-image{min-width:auto!important}}.wpr-promo-box-link{display:block;position:absolute;width:100%;height:100%;top:0;left:0;z-index:40}.wpr-promo-box-btn{display:inline-block}.wpr-promo-box-btn-wrap,.wpr-promo-box-description,.wpr-promo-box-icon,.wpr-promo-box-title{width:100%}.wpr-promo-box-btn-icon{margin-left:5px}.wpr-promo-box-icon img{display:inline-block}.elementor .elementor-widget-wpr-promo-box .wpr-promo-box:hover .wpr-promo-box-bg-image{-webkit-filter:brightness(100%) contrast(100%) saturate(100%) hue-rotate(0deg);filter:brightness( 100%) contrast( 100%) saturate( 100%) hue-rotate( 0deg)}.wpr-promo-box-badge{position:absolute;display:inline-block;text-align:center;z-index:35}.wpr-promo-box-badge-left{left:0;right:auto}.wpr-promo-box-badge-right{left:auto;right:0}.wpr-promo-box-badge-corner{top:0;width:200px;height:200px;overflow:hidden}.wpr-promo-box-badge-corner .wpr-promo-box-badge-inner{width:200%}.wpr-promo-box-badge-corner.wpr-promo-box-badge-right{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.wpr-promo-box-badge-cyrcle{top:0}.wpr-promo-box-badge-cyrcle.wpr-promo-box-badge-left{-webkit-transform:translateX(-40%) translateY(-40%);-ms-transform:translateX(-40%) translateY(-40%);transform:translateX(-40%) translateY(-40%)}.wpr-promo-box-badge-cyrcle.wpr-promo-box-badge-right{-webkit-transform:translateX(40%) translateY(-40%);-ms-transform:translateX(40%) translateY(-40%);transform:translateX(40%) translateY(-40%)}.wpr-promo-box-badge-cyrcle .wpr-promo-box-badge-inner{border-radius:100%}.wpr-promo-box-badge-flag{border-right:5px}.wpr-promo-box-badge-flag.wpr-promo-box-badge-left{margin-left:-10px}.wpr-promo-box-badge-flag.wpr-promo-box-badge-right{margin-right:-10px}.wpr-promo-box-badge-flag:before{content:"";position:absolute;z-index:1;bottom:-5px;width:0;height:0;margin-left:-10px;border-left:10px solid transparent;border-right:10px solid transparent;border-top-style:solid;border-top-width:10px}.wpr-promo-box-badge-flag .wpr-promo-box-badge-inner{position:relative;z-index:2;border-top-left-radius:3px;border-top-right-radius:3px}.wpr-promo-box-badge-flag.wpr-promo-box-badge-left:before{left:5px;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.wpr-promo-box-badge-flag.wpr-promo-box-badge-right:before{right:-5px;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.wpr-promo-box-badge-flag.wpr-promo-box-badge-left .wpr-promo-box-badge-inner{border-bottom-right-radius:3px}.wpr-promo-box-badge-flag.wpr-promo-box-badge-right .wpr-promo-box-badge-inner{border-bottom-left-radius:3px}.elementor-widget-wpr-promo-box .wpr-promo-box-title{font-size:24px;font-weight:600}.elementor-widget-wpr-promo-box .wpr-promo-box-description{font-size:15px}.elementor-widget-wpr-promo-box .wpr-promo-box-badge,.elementor-widget-wpr-promo-box .wpr-promo-box-btn{font-size:14px}.elementor-widget-wpr-promo-box .wpr-promo-box-badge .wpr-promo-box-badge-inner{font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:.4px}.elementor-widget-wpr-promo-box .wpr-promo-box-badge-corner .wpr-promo-box-badge-inner{line-height:1.6}.wpr-content-ticker{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.wpr-content-ticker-inner{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;z-index:20;width:100%;overflow:hidden}.wpr-ticker-arrow-position-left .wpr-content-ticker-inner{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-ticker-gradient-type-both .wpr-ticker-gradient:before,.wpr-ticker-gradient-type-left .wpr-ticker-gradient:before{content:"";position:absolute;bottom:0;top:0;left:0;width:40px;z-index:20}.wpr-ticker-gradient-type-both .wpr-ticker-gradient:after,.wpr-ticker-gradient-type-right .wpr-ticker-gradient:after{content:"";position:absolute;bottom:0;top:0;right:0;width:40px;z-index:20}.wpr-ticker-arrow-position-left .wpr-ticker-slider-controls{margin-right:20px}.wpr-ticker-arrow-position-right .wpr-ticker-slider-controls{margin-left:20px}.wpr-ticker-slider{position:relative;width:100%;overflow:hidden}.wpr-ticker-heading-position-right .wpr-content-ticker{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-ticker-title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-align-items:center;overflow:hidden;-webkit-transition-property:all;-o-transition-property:all;transition-property:all;-webkit-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-duration:.2s;-o-transition-duration:.2s;transition-duration:.2s;margin:0}.wpr-ticker-title a,.wpr-ticker-title:hover a{color:inherit}.elementor-widget-wpr-content-ticker .wpr-ticker-item .wpr-ticker-title{font-size:14px}.wpr-ticker-title-inner{-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:inline}.wpr-ticker-heading{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;z-index:25;-webkit-transition-property:all;-o-transition-property:all;transition-property:all;-webkit-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.wpr-ticker-heading-icon-position-left .wpr-ticker-heading{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.elementor-widget-wpr-content-ticker .wpr-content-ticker .wpr-ticker-heading{font-size:14px}.wpr-ticker-heading-triangle-middle .wpr-ticker-heading:before{content:"";position:absolute;width:0;height:0;background:0 0!important;border-bottom-color:transparent;border-top-color:transparent;border-right-style:solid;border-bottom-style:solid;border-top-style:solid;border-width:10px;top:50%;-webkit-transition-property:inherit;-o-transition-property:inherit;transition-property:inherit;-webkit-transition-timing-function:inherit;-o-transition-timing-function:inherit;transition-timing-function:inherit;-webkit-transition-duration:inherit;-o-transition-duration:inherit;transition-duration:inherit}.wpr-ticker-heading-triangle-bottom .wpr-ticker-heading:before,.wpr-ticker-heading-triangle-top .wpr-ticker-heading:before{content:"";position:absolute;top:0;bottom:0;width:100%;z-index:1;-webkit-transition-property:inherit;-o-transition-property:inherit;transition-property:inherit;-webkit-transition-timing-function:inherit;-o-transition-timing-function:inherit;transition-timing-function:inherit;-webkit-transition-duration:inherit;-o-transition-duration:inherit;transition-duration:inherit}.wpr-ticker-heading-icon,.wpr-ticker-heading-text{position:relative;z-index:20;-webkit-transition-property:inherit;-o-transition-property:inherit;transition-property:inherit;-webkit-transition-timing-function:inherit;-o-transition-timing-function:inherit;transition-timing-function:inherit;-webkit-transition-duration:inherit;-o-transition-duration:inherit;transition-duration:inherit}.wpr-ticker-heading-triangle-top .wpr-ticker-heading:before{-ms-transform:skew(20deg);transform:skew(20deg);-webkit-transform:skew(20deg)}.wpr-ticker-heading-triangle-bottom .wpr-ticker-heading:before{-ms-transform:skew(-20deg);transform:skew(-20deg);-webkit-transform:skew(-20deg)}.wpr-ticker-heading-position-left.wpr-ticker-heading-triangle-middle .wpr-ticker-heading:before{-webkit-transform:translateY(-50%) rotate(180deg);-ms-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg)}.wpr-ticker-heading-position-right.wpr-ticker-heading-triangle-middle .wpr-ticker-heading:before{-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-ticker-slider-controls{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-ticker-arrow-style-vertical .wpr-ticker-slider-controls{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-ticker-arrow-style-horizontal .wpr-ticker-slider-controls{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.wpr-ticker-arrow{-webkit-box-sizing:content-box;box-sizing:content-box;text-align:center;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;cursor:pointer}.wpr-ticker-arrow i{display:block;width:100%;height:100%;line-height:inherit}.wpr-ticker-next-arrow{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.wpr-content-ticker-inner .wpr-ticker-item{display:-moz-flex!important;display:-ms-flex!important;display:-o-flex!important;display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center;position:relative;overflow:hidden}.wpr-ticker-marquee{overflow:hidden}.wpr-ticker-marquee .js-marquee{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-ticker-arrow-style-vertical .wpr-ticker-slider .wpr-ticker-item{margin:1px 0}.wpr-ticker-image{margin-right:10px}.wpr-ticker-link{display:block;position:absolute;width:100%;height:100%;top:0;left:0;z-index:20}.wpr-ticker-icon-circle{display:block;border-radius:50%;-webkit-border-radius:50%;z-index:5;-webkit-transition-property:inherit;-o-transition-property:inherit;transition-property:inherit;-webkit-transition-timing-function:inherit;-o-transition-timing-function:inherit;transition-timing-function:inherit;-webkit-transition-duration:inherit;-o-transition-duration:inherit;transition-duration:inherit}.wpr-ticker-icon-circle:after,.wpr-ticker-icon-circle:before{content:"";position:absolute;top:50%;left:50%;-webkit-animation-name:wpr-ticker-icon-blink;animation-name:wpr-ticker-icon-blink;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;border-radius:50%;border-width:1px;border-style:solid;-webkit-border-radius:50%;-moz-border-radius:50%;-webkit-transition-property:inherit;-o-transition-property:inherit;transition-property:inherit;-webkit-transition-timing-function:inherit;-o-transition-timing-function:inherit;transition-timing-function:inherit;-webkit-transition-duration:inherit;-o-transition-duration:inherit;transition-duration:inherit}.wpr-ticker-icon-circle:after{-webkit-animation-delay:1s;animation-delay:1s}@-webkit-keyframes wpr-ticker-icon-blink{0%{-webkit-transform:scale(1,1);transform:scale(1,1)}100%{-webkit-transform:scale(3,3);transform:scale(3,3);opacity:0}}@keyframes wpr-ticker-icon-blink{0%{-webkit-transform:scale(1,1);transform:scale(1,1)}100%{-webkit-transform:scale(3,3);transform:scale(3,3);opacity:0}}.wpr-tabs{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-tabs-position-above>.elementor-widget-container>.wpr-tabs{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-tabs-position-left>.elementor-widget-container>.wpr-tabs{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.wpr-tabs-position-right>.elementor-widget-container>.wpr-tabs{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-tabs-wrap{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.wpr-tabs-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap,.wpr-tabs-position-right>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-tabs-hr-position-center>.elementor-widget-container>.wpr-tabs{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-tabs-hr-position-left>.elementor-widget-container>.wpr-tabs{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.wpr-tabs-hr-position-right>.elementor-widget-container>.wpr-tabs{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.wpr-tabs-hr-position-justify>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap{width:100%}.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab,.wpr-tabs-hr-position-justify>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0}.wpr-tabs-hr-position-justify>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:first-of-type{margin-left:0!important}.wpr-tabs-hr-position-justify>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:last-of-type{margin-right:0!important}.wpr-tab{position:relative;z-index:25;display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer}.wpr-tab,.wpr-tab-icon,.wpr-tab-image,.wpr-tab-title{-webkit-transition-property:all;-o-transition-property:all;transition-property:all}.wpr-tab-icon,.wpr-tab-icon i,.wpr-tab-image,.wpr-tab-title{-webkit-transition-duration:inherit;-o-transition-duration:inherit;transition-duration:inherit}.elementor-element.elementor-widget-wpr-tabs>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab .wpr-tab-title,.elementor-element.elementor-widget-wpr-tabs>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab.wpr-tab-active .wpr-tab-title,.elementor-element.elementor-widget-wpr-tabs>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:hover .wpr-tab-title{font-size:15px;font-weight:500}.wpr-tabs-content-wrap{position:relative;width:100%;-webkit-transition-property:height;-o-transition-property:height;transition-property:height;-webkit-transition-timing-function:cubic-bezier(0.5,0.9,0.6,0.95);-o-transition-timing-function:cubic-bezier(0.5,0.9,0.6,0.95);transition-timing-function:cubic-bezier(0.5,0.9,0.6,0.95);-webkit-transition-duration:.5s;-o-transition-duration:.5s;transition-duration:.5s;z-index:1;overflow:hidden}.wpr-tab-content{position:absolute;width:100%;top:0;left:0;z-index:1}.elementor-element.elementor-widget-wpr-tabs>.elementor-widget-container>.wpr-tabs>.wpr-tabs-content-wrap>.wpr-tab-content{font-size:14px}.wpr-tab-content-active{position:relative;z-index:100}.wpr-tab-content-inner{opacity:0}.wpr-tab-content-active .wpr-tab-content-inner.wpr-overlay-none{opacity:1}.wpr-tabs-icon-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab .wpr-tab-icon,.wpr-tabs-icon-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab .wpr-tab-image{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.wpr-tabs-icon-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab .wpr-tab-title{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.wpr-tabs-icon-position-center>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.wpr-tabs-triangle-yes>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before{content:"";position:absolute;width:0;height:0;-webkit-transition-property:border-color;-o-transition-property:border-color;transition-property:border-color;-webkit-transition-timing-function:ease-in;-o-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0;visibility:hidden;z-index:110}.wpr-tabs-triangle-yes>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab-active.wpr-tab:before{opacity:1;visibility:visible}.wpr-tabs-position-above>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before{border-left-color:transparent;border-right-color:transparent;border-top-color:#fff;border-top-style:solid;border-left-style:solid;border-right-style:solid}.wpr-tabs-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before,.wpr-tabs-position-right>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before{border-bottom-color:transparent;border-top-color:transparent;border-right-style:solid;border-bottom-style:solid;border-top-style:solid}.wpr-tabs-position-above.wpr-tabs-triangle-type-outer.wpr-tabs-position-above>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before{left:50%;-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transform:translateX(-50%)}.wpr-tabs-position-above.wpr-tabs-triangle-type-inner.wpr-tabs-position-above>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before{left:50%;-ms-transform:translateX(-50%) rotate(180deg);transform:translateX(-50%) rotate(180deg);-webkit-transform:translateX(-50%) rotate(180deg);bottom:-1px}.wpr-tabs-position-left.wpr-tabs-triangle-type-outer>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before,.wpr-tabs-position-right.wpr-tabs-triangle-type-inner>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before{top:50%;-ms-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg);-webkit-transform:translateY(-50%) rotate(180deg)}.wpr-tabs-position-left.wpr-tabs-triangle-type-inner>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before,.wpr-tabs-position-right.wpr-tabs-triangle-type-outer>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before{top:50%;-ms-transform:translateY(-50%);transform:translateY(-50%);-webkit-transform:translateY(-50%)}.wpr-tabs-position-left.wpr-tabs-triangle-type-inner>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before{right:0}.wpr-tabs-position-right.wpr-tabs-triangle-type-inner>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before{left:0}.wpr-ticker-effect-typing .wpr-ticker-title:after{display:inline-block;vertical-align:top;opacity:1;color:inherit;margin-left:2px}.wpr-ticker-effect-typing .slick-current .wpr-ticker-title:after{-webkit-animation-name:wpr-cursor-blink;animation-name:wpr-cursor-blink;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-duration:.5s;animation-duration:.5s}.wpr-ticker-effect-typing .slick-current .wpr-ticker-title-inner{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-animation:wpr-ticker-typing 1s steps(30,end);animation:wpr-ticker-typing 1s steps(30,end);overflow:hidden}@-webkit-keyframes wpr-ticker-typing{from{width:0}to{width:100%}}@keyframes wpr-ticker-typing{from{width:0}to{width:100%}}.wpr-switcher-container{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0 auto}.wpr-switcher-wrap{position:relative;display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-switcher{position:relative;display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;height:100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;z-index:20;cursor:pointer}.wpr-switcher-inner{display:-moz-flex;display:-ms-flex;display:-o-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-switcher-label-style-outer>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-first{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.wpr-switcher-label-style-outer>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-second{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.wpr-switcher-icon-position-left>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-inner>.wpr-switcher-icon,.wpr-switcher-icon-position-left>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-outer>.wpr-switcher-wrap>.wpr-switcher>.wpr-switcher-inner>.wpr-switcher-icon{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.wpr-switcher-icon-position-left>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-inner>.wpr-switcher-label,.wpr-switcher-icon-position-left>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-outer>.wpr-switcher-wrap>.wpr-switcher>.wpr-switcher-inner>.wpr-switcher-label{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.wpr-switcher-content-wrap{position:relative;width:100%;-webkit-transition-property:height;-o-transition-property:height;transition-property:height;-webkit-transition-timing-function:cubic-bezier(0.5,0.9,0.6,0.95);-o-transition-timing-function:cubic-bezier(0.5,0.9,0.6,0.95);transition-timing-function:cubic-bezier(0.5,0.9,0.6,0.95);-webkit-transition-duration:.5s;-o-transition-duration:.5s;transition-duration:.5s;z-index:1;overflow:hidden}.wpr-switcher-content{position:absolute;width:100%;top:0;left:0;z-index:1}.wpr-switcher-content-active{position:relative;z-index:100}.wpr-switcher-content-inner{opacity:0}.wpr-switcher-content-active .wpr-switcher-content-inner.wpr-overlay-none{opacity:1}.wpr-switcher-bg{position:absolute;height:100%;z-index:1;-o-transition:all ease-in-out .4s;transition:all ease-in-out .4s;-webkit-transition:all ease-in-out .4s}.wpr-switcher-style-dual.wpr-switcher-label-style-outer>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container[data-active-switcher*="1"] .wpr-switcher-bg{left:0}.wpr-switcher-style-dual.wpr-switcher-label-style-outer>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container[data-active-switcher*="2"] .wpr-switcher-bg{left:100%;-ms-transform:translateX(-100%);transform:translateX(-100%);-webkit-transform:translateX(-100%)}.wpr-stt-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-stt-btn{border:none;cursor:pointer;font-size:16px;line-height:48px;text-align:center;padding:20px;max-width:5cm;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;line-height:1;-webkit-box-shadow:0 0 10px 0 rgb(0,0,0,.25);box-shadow:0 0 10px 0 rgb(0,0,0,.25)}.wpr-stt-btn-icon-left .wpr-stt-btn{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-stt-btn-icon-right .wpr-stt-btn{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-stt-btn-icon-bottom .wpr-stt-btn{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.wpr-stt-btn-icon-top .wpr-stt-btn{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-stt-btn-align-fixed .wpr-stt-btn{visibility:hidden;position:fixed;z-index:9999}.wpr-stt-btn-align-fixed-right .wpr-stt-btn{left:auto}.wpr-stt-btn-align-fixed-left .wpr-stt-btn{right:auto}.wpr-pc-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-pc-btn{border:none;cursor:pointer;font-size:16px;line-height:48px;text-align:center;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;line-height:1}.elementor a.wpr-pc-btn{-webkit-box-shadow:0 0 10px 0 rgb(0,0,0,.2);box-shadow:0 0 10px 0 rgb(0,0,0,.2)}.wpr-pc-content{display:-webkit-box;display:-ms-flexbox;display:flex}.wpr-pc-btn-icon-right .wpr-pc-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-pc-btn-icon-left .wpr-pc-content{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wpr-pc-btn-icon-bottom .wpr-pc-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-pc-btn-icon-top .wpr-pc-content{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.wpr-pc-btn-align-fixed .wpr-pc-btn{position:fixed;z-index:9999}.wpr-pc-btn-align-fixed-right .wpr-pc-btn{left:auto}.wpr-pc-btn-align-fixed-left .wpr-pc-btn{right:auto}.wpr-timeline-outer-container{position:relative}.wpr-vertical{min-width:100%;min-height:100%;overflow:hidden}.wpr-vertical .wpr-timeline-centered .wpr-data-wrap{display:flow-root}.wpr-timeline-centered{position:relative;display:table;width:100%;height:100%}.wpr-list-style-none ul{list-style-type:none}.wpr-list-style-disc ul{list-style-type:disc}.wpr-list-style-decimal ul{list-style-type:decimal}.wpr-timeline-centered .wpr-timeline-entry:last-of-type{margin-bottom:0!important}.wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry{position:relative;width:50%;float:right;margin-bottom:70px;clear:both}.wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry.wpr-left-aligned,.wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry.wpr-left-aligned{float:left}.wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry.wpr-left-aligned{width:100%}.wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry.wpr-left-aligned .wpr-timeline-entry-inner,.wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry.wpr-left-aligned .wpr-timeline-entry-inner{margin-left:0}.wpr-wrapper .wpr-year-label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-one-sided-timeline-left .wpr-icon,.wpr-one-sided-timeline-left .wpr-middle-line,.wpr-one-sided-timeline-left .wpr-timeline-fill,.wpr-one-sided-timeline-left .wpr-year-label{left:auto}.wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner{position:relative}.wpr-timeline-centered.wpr-one-sided-timeline .wpr-timeline-entry{width:100%;float:left}.wpr-timeline-centered.wpr-one-sided-timeline .wpr-timeline-entry .wpr-timeline-entry-inner{margin-left:0}.wpr-both-sided-timeline .wpr-middle-line{left:50%}.wpr-middle-line{position:absolute;display:block;width:4px;top:20px;height:100%}.wpr-one-sided-timeline-left .wpr-icon{right:.3%}.wpr-timeline-fill{position:absolute;display:block;width:4px;left:50%;top:20px;background-color:#3d2a3d;height:0}.wpr-read-more-button{display:inline-block;font-size:14px}.wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry.wpr-left-aligned .wpr-extra-label{left:108%}.wpr-horizontal .wpr-extra-label .wpr-label,.wpr-horizontal .wpr-extra-label .wpr-sub-label{text-align:center;line-height:1}.wpr-left-aligned .wpr-extra-label .wpr-label,.wpr-left-aligned .wpr-extra-label .wpr-sub-label{text-align:right}.wpr-right-aligned .wpr-extra-label .wpr-label,.wpr-right-aligned .wpr-extra-label .wpr-sub-label{text-align:left}.wpr-both-sided-timeline .wpr-right-aligned .wpr-extra-label .wpr-label,.wpr-both-sided-timeline .wpr-right-aligned .wpr-extra-label .wpr-sub-label{text-align:right!important}.wpr-both-sided-timeline .wpr-left-aligned .wpr-extra-label .wpr-label,.wpr-both-sided-timeline .wpr-left-aligned .wpr-extra-label .wpr-sub-label{text-align:left!important}.wpr-horizontal-bottom .wpr-extra-label{position:absolute;display:table;width:100%;height:80px;overflow:hidden;text-align:center;vertical-align:middle;top:0;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.wpr-extra-label .wpr-label,.wpr-extra-label .wpr-sub-label{display:block;width:100%}.wpr-extra-label .wpr-label{font-size:15px;font-weight:600}.wpr-extra-label .wpr-sub-label{font-size:12px}.wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry.wpr-left-aligned .wpr-timeline-entry-inner .wpr-icon{position:absolute;left:calc(100%);-webkit-transform:translate(-50%);-ms-transform:translate(-50%);transform:translate(-50%)}.wpr-both-sided-timeline .wpr-right-aligned .wpr-icon{position:absolute;right:calc(100%);-webkit-transform:translate(50%);-ms-transform:translate(50%);transform:translate(50%)}.wpr-timeline-centered .wpr-timeline-entry.wpr-left-aligned .wpr-timeline-entry-inner .wpr-data-wrap:after{right:0;margin-left:0;margin-right:-9px;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.wpr-story-info,.wpr-story-info-vertical{-webkit-box-shadow:0 0 20px 1px rgb(0 0 0 / 10%);box-shadow:0 0 20px 1px rgb(0 0 0 / 10%)}.wpr-right-aligned .wpr-story-info-vertical.wpr-data-wrap:after{right:100%}.wpr-timeline-centered .wpr-timeline-entry .wpr-extra-label{position:absolute;right:108%;width:100%;height:auto;padding:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.wpr-timeline-centered.wpr-one-sided-timeline .wpr-timeline-entry .wpr-extra-label,.wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry .wpr-extra-label{position:relative;right:auto;position:static!important;-webkit-transform:none!important;-ms-transform:none!important;transform:none!important;display:block;margin-bottom:10px}.wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry .wpr-extra-label{position:static!important;text-align:right;margin-left:auto}.wpr-timeline-centered .wpr-timeline-entry .wpr-extra-label>span{display:block}.wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-icon{display:block;width:48px;height:48px;-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;text-align:center;font-size:0;float:left}.wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-icon i{font-size:22px}.wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-data-wrap{position:relative;-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-data-wrap:after{content:'';display:block;position:absolute;width:0;height:0;border-style:solid;border-width:9px 9px 9px 0;border-color:transparent;top:14px;margin-left:-9px}.wpr-title-wrap{overflow:hidden;-ms-flex-negative:0;flex-shrink:0;width:100%!important}.wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-data-wrap .wpr-title{font-weight:700;display:inline-block}.wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-data-wrap .wpr-title span{-webkit-opacity:.6;-moz-opacity:.6;opacity:.6}.wpr-timeline-centered .wpr-year-wrap .wpr-year-label{display:inline-block;text-align:center;white-space:nowrap}.wpr-timeline-centered .wpr-year-wrap{display:block;position:relative;float:left;clear:left;width:100%;margin-left:auto;margin-right:auto;padding:0;text-align:center}.wpr-timeline-centered.wpr-one-sided-timeline .wpr-year-wrap .wpr-year-label{position:absolute;-webkit-transform:translate(-50%,0);-ms-transform:translate(-50%,0);transform:translate(-50%,0)}.wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-year-wrap .wpr-year-label{position:absolute;-webkit-transform:translate(50%,0);-ms-transform:translate(50%,0);transform:translate(50%,0)}.wpr-both-sided-timeline .wpr-left-aligned .wpr-data-wrap:after,.wpr-one-sided-timeline-left .wpr-left-aligned .wpr-data-wrap:after{left:100%}.wpr-one-sided-timeline .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-icon{-webkit-transform:translate(-50%,-50%)!important;-ms-transform:translate(-50%,-50%)!important;transform:translate(-50%,-50%)!important}.wpr-wrapper .wpr-icon{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important;-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}.timeline-background-image{position:absolute;left:0;top:0;width:100%;height:100%;max-width:100%!important;max-height:100%!important;opacity:.7;z-index:-1}.timeline-background-image img{width:100%;height:100%;max-width:100%!important;max-height:100%!important}.wpr-horizontal-timeline .swiper-slide-line-bottom{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.wpr-horizontal-timeline .wpr-story-info{width:98%}.story-with-background{background-image:url('');background-repeat:no-repeat;background-position:center;background-size:cover}.wpr-timeline-story-overlay{position:absolute;top:0;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;line-height:1;height:auto}.wpr-story-info{line-height:1}.wpr-horizontal-bottom.swiper-container{position:unset;overflow:hidden;z-index:10}.wpr-horizontal.swiper-container{position:unset;z-index:11;margin:0 32px}.wpr-horizontal{padding-top:10px}.wpr-horizontal-bottom{padding-bottom:10px}.wpr-horizontal-bottom .wpr-year-wrap{position:absolute;display:table;text-align:center;top:96px;left:10px;height:36px;width:72px;vertical-align:middle;border-radius:6px;overflow:hidden;z-index:1;table-layout:fixed;word-break:break-word}.wpr-horizontal-bottom .wpr-year-label{padding:2px;vertical-align:middle;display:table-cell}.wpr-horizontal-bottom .wpr-icon{color:#fff;width:40px;height:40px;text-align:center;display:block;z-index:100;border-radius:50%;-webkit-transform:translate(-50%);-ms-transform:translate(-50%);transform:translate(-50%)}.wpr-horizontal-bottom .wpr-icon i{line-height:40px;font-size:26px}.wpr-horizontal-bottom .wpr-icon:empty{width:24px;height:24px;top:102px;left:calc(50% - 12px)}.wpr-horizontal-bottom .wpr-story-info:before{content:"";display:block;position:absolute}.wpr-horizontal-bottom .wpr-story-info{padding:0;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative;-webkit-transition:all .2s ease-in;-o-transition:all .2s ease-in;transition:all .2s ease-in;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:6px}.wpr-story-info,.wpr-story-info-vertical{font-size:0}.wpr-timeline-media{overflow:hidden;position:relative;display:inline-block}.wpr-timeline-iframe-wrapper{position:relative;width:100%;height:0;padding-bottom:56.25%}.wpr-timeline-iframe-wrapper iframe,.wpr-timeline-media iframe{position:absolute;top:0;left:0;width:100%;height:100%}.wpr-horizontal-bottom .wpr-title{display:inline-block;margin:0;line-height:1.2em}.wpr-horizontal-bottom .wpr-title{padding:8px 8px 0;font-size:20px}.wpr-horizontal-bottom .wpr-description{display:inline-block;width:100%;margin:0;line-height:1.2em;padding:8px;font-size:inherit}.wpr-horizontal .wpr-description{display:inline-block;width:100%;margin:0;line-height:1.2em;padding:8px;font-size:inherit}.wpr-wrapper .wpr-description{font-size:15px;background-color:transparent!important}.wpr-horizontal-bottom .wpr-swiper-pagination.swiper-pagination-progressbar{position:absolute;left:50%;z-index:0}.wpr-horizontal-bottom .wpr-swiper-pagination.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:rgba(0,0,0,.25)}.wpr-horizontal-bottom .wpr-button-next,.wpr-horizontal-bottom .wpr-button-prev{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:40px;top:113px;cursor:pointer;line-height:0}.wpr-horizontal-bottom .wpr-button-prev{margin-left:-10px}.wpr-horizontal-bottom .wpr-button-next{margin-right:-10px}.wpr-button-next.swiper-button-disabled,.wpr-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-slide.auto-height{height:auto}.wpr-horizontal-timeline .swiper-slide{height:auto}.wpr-horizontal-bottom{height:auto}.wpr-horizontal .wpr-year-wrap{position:absolute;display:table;text-align:center;bottom:61px;left:12px;height:36px;width:72px;vertical-align:middle;border-radius:6px;overflow:hidden;z-index:1;table-layout:fixed;word-break:break-word;background:#ff00b3}.wpr-horizontal .wpr-year-label{padding:2px;vertical-align:middle;display:table-cell;background:#ff00b3}.wpr-timeline-centered .wpr-extra-label{-webkit-transform:translateY(-50%)!important;-ms-transform:translateY(-50%)!important;transform:translateY(-50%)!important}.wpr-horizontal .wpr-extra-label{position:absolute;display:table;width:100%;height:80px;overflow:hidden;text-align:center;vertical-align:middle;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.wpr-horizontal .wpr-extra-label .wpr-label,.wpr-horizontal .wpr-extra-label .wpr-sub-label{display:inline-block;width:100%}.wpr-horizontal .wpr-icon{width:40px;height:40px;left:calc(50% - 20px);text-align:center;position:absolute;display:block;z-index:100;left:50%;-webkit-transform:translate(-50%,50%);-ms-transform:translate(-50%,50%);transform:translate(-50%,50%)}.wpr-horizontal .wpr-icon i{line-height:40px;font-size:26px}.wpr-horizontal .wpr-icon:empty{width:24px;height:24px;bottom:48px;left:calc(50% - 12px)}.wpr-horizontal .wpr-story-info:before{content:"";display:block;position:absolute;left:calc(50% - 10px);left:-o-calc(50% - 10px);border-bottom-color:transparent!important;bottom:-28px}.wpr-horizontal .wpr-story-info{position:relative;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:all .2s ease-in;-o-transition:all .2s ease-in;transition:all .2s ease-in;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.wpr-horizontal .wpr-title{padding:8px 8px 0;font-size:20px}.wpr-horizontal .wpr-swiper-pagination.swiper-pagination-progressbar{position:absolute;height:2px;left:50%;z-index:0}.wpr-horizontal .wpr-button-next,.wpr-horizontal .wpr-button-prev{position:absolute;font-size:40px;cursor:pointer;line-height:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-horizontal .wpr-button-prev{margin-left:-6px}.wpr-horizontal .wpr-button-next{margin-right:-6px}.wpr-button-next.swiper-button-disabled,.wpr-button-prev.swiper-button-disabled{opacity:.55;cursor:auto;pointer-events:none}.wpr-wrapper .wpr-year{font-size:16px;font-weight:700;line-height:2.1em}.wpr-wrapper span.wpr-extra-label{font-size:15px;font-weight:400;color:#7a7a7a}.wpr-wrapper span.wpr-title{font-size:20px;font-weight:600}.wpr-horizontal-bottom .wpr-story-info{border-bottom:4px solid #23a455}.wpr-horizontal-bottom .wpr-story-info:before{border:13px solid;border-top-color:transparent;border-left-color:transparent;border-right-color:transparent}.wpr-left-aligned .wpr-data-wrap:after{border-right-color:transparent!important}.wpr-wrapper span.wpr-extra-label{font-size:15px;font-weight:400;color:#7a7a7a}.wpr-wrapper a.wpr-title{font-size:24px;font-weight:700}.wpr-horizontal .wpr-story-info{border-bottom:4px solid #23a455}.wpr-horizontal .wpr-story-info:before{border:13px solid transparent}.wpr-horizontal .wpr-timeline-prev-arrow{left:1%;-webkit-transform:translateY(50%);-ms-transform:translateY(50%);transform:translateY(50%)}.wpr-horizontal .wpr-timeline-next-arrow{right:1%;-webkit-transform:translateY(50%) rotate(180deg);-ms-transform:translateY(50%) rotate(180deg);transform:translateY(50%) rotate(180deg)}.wpr-horizontal-bottom .wpr-timeline-prev-arrow{left:1%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wpr-horizontal-bottom .wpr-timeline-next-arrow{right:1%;-webkit-transform:translateY(-50%) rotate(180deg);-ms-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg)}@media screen and (max-width:767px){.wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry{float:none;width:100%}.wpr-timeline-centered .wpr-right-aligned .wpr-icon{-webkit-transform:translate(-50%,-50%)!important;-ms-transform:translate(-50%,-50%)!important;transform:translate(-50%,-50%)!important}.wpr-one-sided-timeline .wpr-extra-label{position:static!important;-webkit-transform:none!important;-ms-transform:none!important;transform:none!important;display:block;margin-bottom:10px}.wpr-right-aligned .wpr-extra-label .wpr-label{text-align:left!important}}.wpr-lottie-animations-wrapper{min-height:1px}.wpr-taxonomy-list{display:-webkit-box;display:-ms-flexbox;display:flex;list-style:none;padding:0}.wpr-taxonomy-list li{text-align:left}.wpr-taxonomy-list li a{display:inline-block;text-decoration:none}.wpr-taxonomy-list i{display:block;width:100%;height:100%}.wpr-taxonomy-list span,.wpr-taxonomy-list-vertical .wpr-taxonomy-list i{line-height:1.5;vertical-align:middle}.wpr-taxonomy-list .wpr-tax-wrap,.wpr-taxonomy-list-horizontal .wpr-taxonomy-list li a{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-term-count{display:block}.wpr-taxonomy-list-horizontal .wpr-taxonomy-list{-ms-flex-wrap:wrap;flex-wrap:wrap}.wpr-taxonomy-list-vertical .wpr-taxonomy-list{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.wpr-taxonomy-list-vertical .wpr-taxonomy-list li a{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wpr-taxonomy-list-vertical .wpr-sub-taxonomy{padding-left:20px}.wpr-particle-wrapper{position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.wpr-particle-wrapper canvas{position:relative;z-index:-1}.wpr-jarallax{position:relative;-webkit-transition:all .9s ease-in-out;-o-transition:all .9s ease-in-out;transition:all .9s ease-in-out}.wpr-parallax-multi-layer{position:absolute;top:0;left:0;height:100%;width:100%}.wpr-parallax-ml-children{position:relative;display:none}.wpr-parallax-ml-children img{max-width:100%;width:100%}.wpr-sticky-section-yes{width:100%}.wpr-reading-progress-bar-container{position:fixed;top:0;left:0;width:100%;z-index:9999999}.wpr-reading-progress-bar{background-color:#000;width:0%}
assets/css/library-frontend.css CHANGED
@@ -94,6 +94,7 @@
94
  justify-content: center;
95
  width: 100%;
96
  margin-left: -130px;
 
97
  }
98
 
99
  .wpr-tplib-header ul li {
@@ -144,6 +145,10 @@
144
  padding-left: 20px;
145
  }
146
 
 
 
 
 
147
  .wpr-tplib-header .wpr-tplib-insert-template {
148
  display: none;
149
  width: 120px;
@@ -338,6 +343,8 @@
338
  display: flex;
339
  -ms-flex-wrap: wrap;
340
  flex-wrap: wrap;
 
 
341
  }
342
 
343
  .wpr-tplib-filters-list ul li {
@@ -374,23 +381,31 @@
374
  box-shadow: 0 1px 20px 0 rgba(0,0,0,0.07);
375
  }
376
 
377
- .wpr-tplib-pro-wrap:before {
378
- content: 'Premium';
379
  display: block;
380
  position: absolute;
381
- top: 20px;
382
- right: -30px;
383
  z-index: 1;
384
- -webkit-transform: rotate(45deg);
385
- -ms-transform: rotate(45deg);
386
- transform: rotate(45deg);
387
- padding: 4px 40px;
388
  font-size: 11px;
 
 
389
  letter-spacing: 0.3px;
390
- background: #6A4BFF;
 
 
391
  color: #fff;
392
- -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.7);
393
- box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.7);
 
 
 
 
 
 
394
  }
395
 
396
  @media screen and ( max-width: 1364px ) {
94
  justify-content: center;
95
  width: 100%;
96
  margin-left: -130px;
97
+ list-style: none;
98
  }
99
 
100
  .wpr-tplib-header ul li {
145
  padding-left: 20px;
146
  }
147
 
148
+ .wpr-tplib-popup h3 {
149
+ margin: 0;
150
+ }
151
+
152
  .wpr-tplib-header .wpr-tplib-insert-template {
153
  display: none;
154
  width: 120px;
343
  display: flex;
344
  -ms-flex-wrap: wrap;
345
  flex-wrap: wrap;
346
+ list-style: none;
347
+ padding-left: 0;
348
  }
349
 
350
  .wpr-tplib-filters-list ul li {
381
  box-shadow: 0 1px 20px 0 rgba(0,0,0,0.07);
382
  }
383
 
384
+ .wpr-tplib-template-wrap:not(.wpr-tplib-pro-active):before {
385
+ content: 'Free';
386
  display: block;
387
  position: absolute;
388
+ top: 10px;
389
+ right: 10px;
390
  z-index: 1;
391
+ width: 45px;
392
+ padding: 4px;
 
 
393
  font-size: 11px;
394
+ line-height: 16px;
395
+ font-weight: bold;
396
  letter-spacing: 0.3px;
397
+ text-transform: uppercase;
398
+ text-align: center;
399
+ background: #555;
400
  color: #fff;
401
+ -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
402
+ box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
403
+ border-radius: 3px;
404
+ }
405
+
406
+ .wpr-tplib-pro-wrap:not(.wpr-tplib-pro-active):before {
407
+ content: 'Pro';
408
+ background: #6A4BFF;
409
  }
410
 
411
  @media screen and ( max-width: 1364px ) {
assets/img/theme-builder.png ADDED
Binary file
assets/img/theme-builder1.png ADDED
Binary file
assets/img/woo-coming-soon.jpg ADDED
Binary file
assets/js/admin/plugin-options.js CHANGED
@@ -14,6 +14,12 @@ jQuery(document).ready(function( $ ) {
14
  var currentTab = $('.nav-tab-active').attr( 'data-title' );
15
  currentTab = currentTab.trim().toLowerCase();
16
 
 
 
 
 
 
 
17
 
18
  /*
19
  ** Get Active Filter -------------------------
@@ -58,6 +64,7 @@ jQuery(document).ready(function( $ ) {
58
  ** Create User Template -------------------------
59
  */
60
  function craeteUserTemplate() {
 
61
  // Get Template Library
62
  var library = 'my-templates' === getActiveFilter() ? 'elementor_library' : 'wpr_templates';
63
  // Get Template Title
@@ -281,7 +288,9 @@ jQuery(document).ready(function( $ ) {
281
  $('.wpr-conditions').last().find('input').hide();//tmp -maybe remove
282
 
283
  // Show on Canvas
284
- $('.wpr-canvas-condition').show();
 
 
285
 
286
  // Run Functions
287
  popupDeleteConditions();
@@ -354,6 +363,9 @@ jQuery(document).ready(function( $ ) {
354
  // Conditions Wrap
355
  var conditionsWrap = $( '.wpr-conditions' );
356
 
 
 
 
357
  // Show Conditions
358
  if ( 'single' === currentTab ) {
359
  conditionsWrap.find(singleS).show();
@@ -361,18 +373,16 @@ jQuery(document).ready(function( $ ) {
361
  conditionsWrap.find(archiveS).show();
362
  } else {
363
  conditionsWrap.find(globalS).show();
 
 
 
 
 
364
  }
365
 
366
  // Add Current Filter Class
367
  $('.wpr-conditions-wrap').addClass( $('.template-filters .active-filter').attr('data-class') );
368
 
369
- // Show on Canvas
370
- if ( $('.wpr-conditions').length ) {
371
- $('.wpr-canvas-condition').show();
372
- } else {
373
- $('.wpr-canvas-condition').hide();
374
- }
375
-
376
  // Open Popup
377
  conditionPupup.fadeIn();
378
  }
@@ -548,9 +558,11 @@ jQuery(document).ready(function( $ ) {
548
  var conditions = getConditions( template, $( '#wpr_'+ currentTab +'_conditions' ).val() );
549
 
550
  // Don't save if not active
551
- if ( !proActive && (('global' !== conditions[template][0] && 'undefined' !== typeof conditions[template][0]) || conditions[template].length > 1) ) {
552
- alert('Please select "Entire Site" to continue! Mutiple and custom conditions are fully supported in the Pro version.');
553
- return;
 
 
554
  }
555
 
556
  // Set Conditions
@@ -596,11 +608,13 @@ jQuery(document).ready(function( $ ) {
596
  ** Highlight Templates with Active Conditions --------
597
  */
598
  if ( $('body').hasClass('royal-addons_page_wpr-theme-builder') || $('body').hasClass('royal-addons_page_wpr-popups') ) {
599
- var conditions = $( '#wpr_'+ currentTab +'_conditions' ).val(),
600
- conditions = ('' === conditions || '[]' === conditions) ? {} : JSON.parse(conditions);
 
601
 
602
- for ( var key in conditions ) {
603
- $('.wpr-delete-template[data-slug="'+ key +'"]').closest('li').addClass('wpr-active-conditions-template');
 
604
  }
605
  }
606
 
14
  var currentTab = $('.nav-tab-active').attr( 'data-title' );
15
  currentTab = currentTab.trim().toLowerCase();
16
 
17
+ /*
18
+ ** WooCommerce Comming Soon -------------------------
19
+ */
20
+ if ( 'product archive' === currentTab || 'product single' === currentTab ) {
21
+ $('.wpr-user-template').after('<div class="wpr-button-lock"></div>');
22
+ }
23
 
24
  /*
25
  ** Get Active Filter -------------------------
64
  ** Create User Template -------------------------
65
  */
66
  function craeteUserTemplate() {
67
+ console.log(getActiveFilter)
68
  // Get Template Library
69
  var library = 'my-templates' === getActiveFilter() ? 'elementor_library' : 'wpr_templates';
70
  // Get Template Title
288
  $('.wpr-conditions').last().find('input').hide();//tmp -maybe remove
289
 
290
  // Show on Canvas
291
+ if ( 'header' === currentTab || 'footer' === currentTab ) {
292
+ $('.wpr-canvas-condition').show();
293
+ }
294
 
295
  // Run Functions
296
  popupDeleteConditions();
363
  // Conditions Wrap
364
  var conditionsWrap = $( '.wpr-conditions' );
365
 
366
+ // Reset Canvas Option
367
+ $('.wpr-canvas-condition').hide();
368
+
369
  // Show Conditions
370
  if ( 'single' === currentTab ) {
371
  conditionsWrap.find(singleS).show();
373
  conditionsWrap.find(archiveS).show();
374
  } else {
375
  conditionsWrap.find(globalS).show();
376
+
377
+ // Show Canvas Option
378
+ if ( $('.wpr-conditions').length ) {
379
+ $('.wpr-canvas-condition').show();
380
+ }
381
  }
382
 
383
  // Add Current Filter Class
384
  $('.wpr-conditions-wrap').addClass( $('.template-filters .active-filter').attr('data-class') );
385
 
 
 
 
 
 
 
 
386
  // Open Popup
387
  conditionPupup.fadeIn();
388
  }
558
  var conditions = getConditions( template, $( '#wpr_'+ currentTab +'_conditions' ).val() );
559
 
560
  // Don't save if not active
561
+ if ( 'header' === currentTab || 'footer' == currentTab ) {
562
+ if ( !proActive && (('global' !== conditions[template][0] && 'undefined' !== typeof conditions[template][0]) || conditions[template].length > 1) ) {
563
+ alert('Please select "Entire Site" to continue! Mutiple and custom conditions are fully supported in the Pro version.');
564
+ return;
565
+ }
566
  }
567
 
568
  // Set Conditions
608
  ** Highlight Templates with Active Conditions --------
609
  */
610
  if ( $('body').hasClass('royal-addons_page_wpr-theme-builder') || $('body').hasClass('royal-addons_page_wpr-popups') ) {
611
+ if ( 'my templates' !== currentTab ) {
612
+ var conditions = $( '#wpr_'+ currentTab +'_conditions' ).val(),
613
+ conditions = ('' === conditions || '[]' === conditions) ? {} : JSON.parse(conditions);
614
 
615
+ for ( var key in conditions ) {
616
+ $('.wpr-delete-template[data-slug="'+ key +'"]').closest('li').addClass('wpr-active-conditions-template');
617
+ }
618
  }
619
  }
620
 
assets/js/admin/templates-kit.js CHANGED
@@ -94,10 +94,10 @@ jQuery(document).ready(function( $ ) {
94
  installRequiredTheme: function( kitID ) {
95
  var themeStatus = $('.wpr-templates-kit-grid').data('theme-status');
96
 
97
- if ( 'ashe-active' === themeStatus ) {
98
  WprTemplatesKit.requiredTheme = true;
99
  return;
100
- } else if ( 'ashe-inactive' === themeStatus ) {
101
  $.post(
102
  ajaxurl,
103
  {
@@ -110,7 +110,7 @@ jQuery(document).ready(function( $ ) {
110
  }
111
 
112
  wp.updates.installTheme({
113
- slug: 'ashe',
114
  success: function() {
115
  $.post(
116
  ajaxurl,
94
  installRequiredTheme: function( kitID ) {
95
  var themeStatus = $('.wpr-templates-kit-grid').data('theme-status');
96
 
97
+ if ( 'req-theme-active' === themeStatus ) {
98
  WprTemplatesKit.requiredTheme = true;
99
  return;
100
+ } else if ( 'req-theme-inactive' === themeStatus ) {
101
  $.post(
102
  ajaxurl,
103
  {
110
  }
111
 
112
  wp.updates.installTheme({
113
+ slug: 'hello-elementor',
114
  success: function() {
115
  $.post(
116
  ajaxurl,
assets/js/editor.min.js CHANGED
@@ -391,4 +391,16 @@
391
  });
392
  }
393
 
 
 
 
 
 
 
 
 
 
 
 
 
394
  }( jQuery ) );
391
  });
392
  }
393
 
394
+
395
+ /*--------------------------------------------------------------
396
+ == Reload Theme Builder
397
+ --------------------------------------------------------------*/
398
+ elementor.once('document:loaded', function(){
399
+ setTimeout(function(){
400
+ if ( $('body').hasClass('elementor-editor-wpr-theme-builder') ) {
401
+ elementor.reloadPreview();
402
+ }
403
+ }, 0);
404
+ });
405
+
406
  }( jQuery ) );
assets/js/frontend.js CHANGED
@@ -34,6 +34,9 @@
34
  'wpr-posts-timeline.default' : WprElements.widgetPostsTimeline,
35
  'wpr-sharing-buttons.default' : WprElements.widgetSharingButtons,
36
  'global': WprElements.widgetSection,
 
 
 
37
  };
38
 
39
  $.each( widgets, function( widget, callback ) {
@@ -41,6 +44,59 @@
41
  });
42
  },
43
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  widgetSection: function( $scope ) {
45
 
46
  readingProgressBar();
@@ -704,6 +760,12 @@
704
  // Fix Lightbox
705
  iGrid.data( 'lightGallery' ).destroy( true );
706
  iGrid.lightGallery( settings.lightbox );
 
 
 
 
 
 
707
  });
708
 
709
  pagination.find( '.wpr-load-more-btn' ).on( 'click', function() {
@@ -814,110 +876,144 @@
814
  settings = JSON.parse( iGrid.attr( 'data-slick' ) );
815
  }
816
 
817
- // Media Hover Link
818
- if ( 'yes' === iGrid.find( '.wpr-grid-media-wrap' ).attr( 'data-overlay-link' ) && ! WprElements.editorCheck() ) {
819
- iGrid.find( '.wpr-grid-media-wrap' ).css('cursor', 'pointer');
 
820
 
821
- iGrid.find( '.wpr-grid-media-wrap' ).on( 'click', function( event ) {
822
- var targetClass = event.target.className;
 
823
 
824
- if ( -1 !== targetClass.indexOf( 'inner-block' ) || -1 !== targetClass.indexOf( 'wpr-cv-inner' ) ||
825
- -1 !== targetClass.indexOf( 'wpr-grid-media-hover' ) ) {
826
- event.preventDefault();
827
 
828
- var itemUrl = $(this).find( '.wpr-grid-media-hover-bg' ).attr( 'data-url' ),
829
- itemUrl = itemUrl.replace('#new_tab', '');
830
 
831
- if ( '_blank' === iGrid.find( '.wpr-grid-item-title a' ).attr('target') ) {
832
- window.open(itemUrl, '_blank').focus();
833
- } else {
834
- window.location.href = itemUrl;
835
- }
836
  }
837
  });
838
  }
839
 
840
- // Sharing
841
- if ( $scope.find( '.wpr-sharing-trigger' ).length ) {
842
- var sharingTrigger = $scope.find( '.wpr-sharing-trigger' ),
843
- sharingInner = $scope.find( '.wpr-post-sharing-inner' ),
844
- sharingWidth = 5;
845
 
846
- // Calculate Width
847
- sharingInner.first().find( 'a' ).each(function() {
848
- sharingWidth += $(this).outerWidth() + parseInt( $(this).css('margin-right'), 10 );
849
- });
 
 
850
 
851
- // Calculate Margin
852
- var sharingMargin = parseInt( sharingInner.find( 'a' ).css('margin-right'), 10 );
 
 
853
 
854
- // Set Positions
855
- if ( 'left' === sharingTrigger.attr( 'data-direction') ) {
856
- // Set Width
857
- sharingInner.css( 'width', sharingWidth +'px' );
858
 
859
- // Set Position
860
- sharingInner.css( 'left', - ( sharingMargin + sharingWidth ) +'px' );
861
- } else if ( 'right' === sharingTrigger.attr( 'data-direction') ) {
862
- // Set Width
863
- sharingInner.css( 'width', sharingWidth +'px' );
864
 
865
- // Set Position
866
- sharingInner.css( 'right', - ( sharingMargin + sharingWidth ) +'px' );
867
- } else if ( 'top' === sharingTrigger.attr( 'data-direction') ) {
868
- // Set Margins
869
- sharingInner.find( 'a' ).css({
870
- 'margin-right' : '0',
871
- 'margin-top' : sharingMargin +'px'
872
- });
873
 
874
- // Set Position
875
- sharingInner.css({
876
- 'top' : -sharingMargin +'px',
877
- 'left' : '50%',
878
- '-webkit-transform' : 'translate(-50%, -100%)',
879
- 'transform' : 'translate(-50%, -100%)'
880
- });
881
- } else if ( 'right' === sharingTrigger.attr( 'data-direction') ) {
882
- // Set Width
883
- sharingInner.css( 'width', sharingWidth +'px' );
884
 
885
- // Set Position
886
- sharingInner.css({
887
- 'left' : sharingMargin +'px',
888
- // 'bottom' : - ( sharingInner.outerHeight() + sharingTrigger.outerHeight() ) +'px',
889
- });
890
- } else if ( 'bottom' === sharingTrigger.attr( 'data-direction') ) {
891
- // Set Margins
892
- sharingInner.find( 'a' ).css({
893
- 'margin-right' : '0',
894
- 'margin-bottom' : sharingMargin +'px'
895
- });
896
 
897
- // Set Position
898
- sharingInner.css({
899
- 'bottom' : -sharingMargin +'px',
900
- 'left' : '50%',
901
- '-webkit-transform' : 'translate(-50%, 100%)',
902
- 'transform' : 'translate(-50%, 100%)'
903
- });
904
- }
 
 
 
905
 
906
- if ( 'click' === sharingTrigger.attr( 'data-action' ) ) {
907
- sharingTrigger.on( 'click', function() {
908
- var sharingInner = $(this).next();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
909
 
910
- if ( 'hidden' === sharingInner.css( 'visibility' ) ) {
911
  sharingInner.css( 'visibility', 'visible' );
912
  sharingInner.find( 'a' ).css({
913
  'opacity' : '1',
914
- 'top' : '0'
915
  });
916
-
917
  setTimeout( function() {
918
  sharingInner.find( 'a' ).addClass( 'wpr-no-transition-delay' );
919
  }, sharingInner.find( 'a' ).length * 100 );
920
- } else {
 
 
 
921
  sharingInner.find( 'a' ).removeClass( 'wpr-no-transition-delay' );
922
 
923
  sharingInner.find( 'a' ).css({
@@ -927,61 +1023,37 @@
927
  setTimeout( function() {
928
  sharingInner.css( 'visibility', 'hidden' );
929
  }, sharingInner.find( 'a' ).length * 100 );
930
- }
931
- });
932
- } else {
933
- sharingTrigger.on( 'mouseenter', function() {
934
- var sharingInner = $(this).next();
935
-
936
- sharingInner.css( 'visibility', 'visible' );
937
- sharingInner.find( 'a' ).css({
938
- 'opacity' : '1',
939
- 'top' : '0',
940
- });
941
-
942
- setTimeout( function() {
943
- sharingInner.find( 'a' ).addClass( 'wpr-no-transition-delay' );
944
- }, sharingInner.find( 'a' ).length * 100 );
945
- });
946
- $scope.find( '.wpr-grid-item-sharing' ).on( 'mouseleave', function() {
947
- var sharingInner = $(this).find( '.wpr-post-sharing-inner' );
948
-
949
- sharingInner.find( 'a' ).removeClass( 'wpr-no-transition-delay' );
950
-
951
- sharingInner.find( 'a' ).css({
952
- 'opacity' : '0',
953
- 'top' : '-5px'
954
  });
955
- setTimeout( function() {
956
- sharingInner.css( 'visibility', 'hidden' );
957
- }, sharingInner.find( 'a' ).length * 100 );
958
- });
959
- }
960
  }
961
 
962
- // Add To Cart AJAX
963
- if ( iGrid.find( '.wpr-grid-item-add-to-cart' ).length ) {
964
- var addCartIcon = iGrid.find( '.wpr-grid-item-add-to-cart' ).find( 'i' ),
965
- addCartIconClass = addCartIcon.attr( 'class' );
966
 
967
- if ( addCartIcon.length ) {
968
- addCartIconClass = addCartIconClass.substring( addCartIconClass.indexOf('fa-'), addCartIconClass.length );
969
- }
 
970
 
971
- $( 'body' ).on( 'adding_to_cart', function( ev, button, data ) {
972
- button.fadeTo( 'slow', 0.5 );
973
- });
974
 
975
- $( 'body' ).on( 'added_to_cart', function(ev, fragments, hash, button) {
976
- button.fadeTo( 'slow', 1 );
 
977
 
978
- if ( addCartIcon.length ) {
979
- button.find( 'i' ).removeClass( addCartIconClass ).addClass( 'fa-check' );
980
- setTimeout(function() {
981
- button.find( 'i' ).removeClass( 'fa-check' ).addClass( addCartIconClass );
982
- }, 3500 );
983
- }
984
- });
 
 
 
 
985
  }
986
 
987
  // Init Lightbox
@@ -1445,7 +1517,7 @@
1445
  if ( '*' === $(this).attr( 'data-filter') ) {
1446
  $(this).find( 'sup' ).text( $scope.find( '.wpr-grid-filters' ).next().find('article').length );
1447
  } else {
1448
- $(this).find( 'sup' ).text( $( $(this).attr( 'data-filter' ) ).length );
1449
  }
1450
  });
1451
  }
@@ -3870,13 +3942,7 @@
3870
  e.preventDefault();
3871
  window.print();
3872
  });
3873
-
3874
- $scope.find('.wpr-sharing-pinterest-p');
3875
- // shareLinkSettings.url = location.href;
3876
- // shareLinkSettings.title = elementorFrontend.config.post.title;
3877
- // shareLinkSettings.text = elementorFrontend.config.post.excerpt;
3878
- // shareLinkSettings.image = elementorFrontend.config.post.featuredImage;
3879
- },
3880
 
3881
  // Editor Check
3882
  editorCheck: function() {
34
  'wpr-posts-timeline.default' : WprElements.widgetPostsTimeline,
35
  'wpr-sharing-buttons.default' : WprElements.widgetSharingButtons,
36
  'global': WprElements.widgetSection,
37
+
38
+ // Single
39
+ 'wpr-post-media.default' : WprElements.widgetPostMedia,
40
  };
41
 
42
  $.each( widgets, function( widget, callback ) {
44
  });
45
  },
46
 
47
+ widgetPostMedia: function( $scope ) {
48
+ var gallery = $scope.find( '.wpr-gallery-slider' ),
49
+ gallerySettings = gallery.attr( 'data-slick' );
50
+
51
+ gallery.animate({ 'opacity' : '1' }, 1000 );//tmp
52
+
53
+ if ( '[]' !== gallerySettings ) {
54
+ gallery.slick({
55
+ appendDots : $scope.find( '.wpr-gallery-slider-dots' ),
56
+ customPaging : function ( slider, i ) {
57
+ var slideNumber = (i + 1),
58
+ totalSlides = slider.slideCount;
59
+
60
+ return '<span class="wpr-gallery-slider-dot"></span>';
61
+ }
62
+ });
63
+ }
64
+
65
+ // Lightbox
66
+ var lightboxSettings = $( '.wpr-featured-media-image' ).attr( 'data-lightbox' );
67
+
68
+ if ( typeof lightboxSettings !== typeof undefined && lightboxSettings !== false && ! WprElements.editorCheck() ) {
69
+ var MediaWrap = $scope.find( '.wpr-featured-media-wrap' );
70
+ lightboxSettings = JSON.parse( lightboxSettings );
71
+
72
+ // Init Lightbox
73
+ MediaWrap.lightGallery( lightboxSettings );
74
+
75
+ // Show/Hide Controls
76
+ MediaWrap.on( 'onAferAppendSlide.lg, onAfterSlide.lg', function( event, prevIndex, index ) {
77
+ var lightboxControls = $( '#lg-actual-size, #lg-zoom-in, #lg-zoom-out, #lg-download' ),
78
+ lightboxDownload = $( '#lg-download' ).attr( 'href' );
79
+
80
+ if ( $( '#lg-download' ).length ) {
81
+ if ( -1 === lightboxDownload.indexOf( 'wp-content' ) ) {
82
+ lightboxControls.addClass( 'wpr-hidden-element' );
83
+ } else {
84
+ lightboxControls.removeClass( 'wpr-hidden-element' );
85
+ }
86
+ }
87
+
88
+ // Autoplay Button
89
+ if ( '' === lightboxSettings.autoplay ) {
90
+ $( '.lg-autoplay-button' ).css({
91
+ 'width' : '0',
92
+ 'height' : '0',
93
+ 'overflow' : 'hidden'
94
+ });
95
+ }
96
+ });
97
+ }
98
+ }, // End widgetFeaturedMedia
99
+
100
  widgetSection: function( $scope ) {
101
 
102
  readingProgressBar();
760
  // Fix Lightbox
761
  iGrid.data( 'lightGallery' ).destroy( true );
762
  iGrid.lightGallery( settings.lightbox );
763
+
764
+ // Init Media Hover Link
765
+ mediaHoverLink();
766
+
767
+ // Init Post Sharing
768
+ postSharing();
769
  });
770
 
771
  pagination.find( '.wpr-load-more-btn' ).on( 'click', function() {
876
  settings = JSON.parse( iGrid.attr( 'data-slick' ) );
877
  }
878
 
879
+ // Add To Cart AJAX
880
+ if ( iGrid.find( '.wpr-grid-item-add-to-cart' ).length ) {
881
+ var addCartIcon = iGrid.find( '.wpr-grid-item-add-to-cart' ).find( 'i' ),
882
+ addCartIconClass = addCartIcon.attr( 'class' );
883
 
884
+ if ( addCartIcon.length ) {
885
+ addCartIconClass = addCartIconClass.substring( addCartIconClass.indexOf('fa-'), addCartIconClass.length );
886
+ }
887
 
888
+ $( 'body' ).on( 'adding_to_cart', function( ev, button, data ) {
889
+ button.fadeTo( 'slow', 0.5 );
890
+ });
891
 
892
+ $( 'body' ).on( 'added_to_cart', function(ev, fragments, hash, button) {
893
+ button.fadeTo( 'slow', 1 );
894
 
895
+ if ( addCartIcon.length ) {
896
+ button.find( 'i' ).removeClass( addCartIconClass ).addClass( 'fa-check' );
897
+ setTimeout(function() {
898
+ button.find( 'i' ).removeClass( 'fa-check' ).addClass( addCartIconClass );
899
+ }, 3500 );
900
  }
901
  });
902
  }
903
 
904
+ // Init Post Sharing
905
+ postSharing();
 
 
 
906
 
907
+ // Post Sharing
908
+ function postSharing() {
909
+ if ( $scope.find( '.wpr-sharing-trigger' ).length ) {
910
+ var sharingTrigger = $scope.find( '.wpr-sharing-trigger' ),
911
+ sharingInner = $scope.find( '.wpr-post-sharing-inner' ),
912
+ sharingWidth = 5;
913
 
914
+ // Calculate Width
915
+ sharingInner.first().find( 'a' ).each(function() {
916
+ sharingWidth += $(this).outerWidth() + parseInt( $(this).css('margin-right'), 10 );
917
+ });
918
 
919
+ // Calculate Margin
920
+ var sharingMargin = parseInt( sharingInner.find( 'a' ).css('margin-right'), 10 );
 
 
921
 
922
+ // Set Positions
923
+ if ( 'left' === sharingTrigger.attr( 'data-direction') ) {
924
+ // Set Width
925
+ sharingInner.css( 'width', sharingWidth +'px' );
 
926
 
927
+ // Set Position
928
+ sharingInner.css( 'left', - ( sharingMargin + sharingWidth ) +'px' );
929
+ } else if ( 'right' === sharingTrigger.attr( 'data-direction') ) {
930
+ // Set Width
931
+ sharingInner.css( 'width', sharingWidth +'px' );
 
 
 
932
 
933
+ // Set Position
934
+ sharingInner.css( 'right', - ( sharingMargin + sharingWidth ) +'px' );
935
+ } else if ( 'top' === sharingTrigger.attr( 'data-direction') ) {
936
+ // Set Margins
937
+ sharingInner.find( 'a' ).css({
938
+ 'margin-right' : '0',
939
+ 'margin-top' : sharingMargin +'px'
940
+ });
 
 
941
 
942
+ // Set Position
943
+ sharingInner.css({
944
+ 'top' : -sharingMargin +'px',
945
+ 'left' : '50%',
946
+ '-webkit-transform' : 'translate(-50%, -100%)',
947
+ 'transform' : 'translate(-50%, -100%)'
948
+ });
949
+ } else if ( 'right' === sharingTrigger.attr( 'data-direction') ) {
950
+ // Set Width
951
+ sharingInner.css( 'width', sharingWidth +'px' );
 
952
 
953
+ // Set Position
954
+ sharingInner.css({
955
+ 'left' : sharingMargin +'px',
956
+ // 'bottom' : - ( sharingInner.outerHeight() + sharingTrigger.outerHeight() ) +'px',
957
+ });
958
+ } else if ( 'bottom' === sharingTrigger.attr( 'data-direction') ) {
959
+ // Set Margins
960
+ sharingInner.find( 'a' ).css({
961
+ 'margin-right' : '0',
962
+ 'margin-bottom' : sharingMargin +'px'
963
+ });
964
 
965
+ // Set Position
966
+ sharingInner.css({
967
+ 'bottom' : -sharingMargin +'px',
968
+ 'left' : '50%',
969
+ '-webkit-transform' : 'translate(-50%, 100%)',
970
+ 'transform' : 'translate(-50%, 100%)'
971
+ });
972
+ }
973
+
974
+ if ( 'click' === sharingTrigger.attr( 'data-action' ) ) {
975
+ sharingTrigger.on( 'click', function() {
976
+ var sharingInner = $(this).next();
977
+
978
+ if ( 'hidden' === sharingInner.css( 'visibility' ) ) {
979
+ sharingInner.css( 'visibility', 'visible' );
980
+ sharingInner.find( 'a' ).css({
981
+ 'opacity' : '1',
982
+ 'top' : '0'
983
+ });
984
+
985
+ setTimeout( function() {
986
+ sharingInner.find( 'a' ).addClass( 'wpr-no-transition-delay' );
987
+ }, sharingInner.find( 'a' ).length * 100 );
988
+ } else {
989
+ sharingInner.find( 'a' ).removeClass( 'wpr-no-transition-delay' );
990
+
991
+ sharingInner.find( 'a' ).css({
992
+ 'opacity' : '0',
993
+ 'top' : '-5px'
994
+ });
995
+ setTimeout( function() {
996
+ sharingInner.css( 'visibility', 'hidden' );
997
+ }, sharingInner.find( 'a' ).length * 100 );
998
+ }
999
+ });
1000
+ } else {
1001
+ sharingTrigger.on( 'mouseenter', function() {
1002
+ var sharingInner = $(this).next();
1003
 
 
1004
  sharingInner.css( 'visibility', 'visible' );
1005
  sharingInner.find( 'a' ).css({
1006
  'opacity' : '1',
1007
+ 'top' : '0',
1008
  });
1009
+
1010
  setTimeout( function() {
1011
  sharingInner.find( 'a' ).addClass( 'wpr-no-transition-delay' );
1012
  }, sharingInner.find( 'a' ).length * 100 );
1013
+ });
1014
+ $scope.find( '.wpr-grid-item-sharing' ).on( 'mouseleave', function() {
1015
+ var sharingInner = $(this).find( '.wpr-post-sharing-inner' );
1016
+
1017
  sharingInner.find( 'a' ).removeClass( 'wpr-no-transition-delay' );
1018
 
1019
  sharingInner.find( 'a' ).css({
1023
  setTimeout( function() {
1024
  sharingInner.css( 'visibility', 'hidden' );
1025
  }, sharingInner.find( 'a' ).length * 100 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1026
  });
1027
+ }
1028
+ }
 
 
 
1029
  }
1030
 
1031
+ // Init Media Hover Link
1032
+ mediaHoverLink();
 
 
1033
 
1034
+ // Media Hover Link
1035
+ function mediaHoverLink() {
1036
+ if ( 'yes' === iGrid.find( '.wpr-grid-media-wrap' ).attr( 'data-overlay-link' ) && ! WprElements.editorCheck() ) {
1037
+ iGrid.find( '.wpr-grid-media-wrap' ).css('cursor', 'pointer');
1038
 
1039
+ iGrid.find( '.wpr-grid-media-wrap' ).on( 'click', function( event ) {
1040
+ var targetClass = event.target.className;
 
1041
 
1042
+ if ( -1 !== targetClass.indexOf( 'inner-block' ) || -1 !== targetClass.indexOf( 'wpr-cv-inner' ) ||
1043
+ -1 !== targetClass.indexOf( 'wpr-grid-media-hover' ) ) {
1044
+ event.preventDefault();
1045
 
1046
+ var itemUrl = $(this).find( '.wpr-grid-media-hover-bg' ).attr( 'data-url' ),
1047
+ itemUrl = itemUrl.replace('#new_tab', '');
1048
+
1049
+ if ( '_blank' === iGrid.find( '.wpr-grid-item-title a' ).attr('target') ) {
1050
+ window.open(itemUrl, '_blank').focus();
1051
+ } else {
1052
+ window.location.href = itemUrl;
1053
+ }
1054
+ }
1055
+ });
1056
+ }
1057
  }
1058
 
1059
  // Init Lightbox
1517
  if ( '*' === $(this).attr( 'data-filter') ) {
1518
  $(this).find( 'sup' ).text( $scope.find( '.wpr-grid-filters' ).next().find('article').length );
1519
  } else {
1520
+ $(this).find( 'sup' ).text( $scope.find( $(this).attr( 'data-filter' ) ).length );
1521
  }
1522
  });
1523
  }
3942
  e.preventDefault();
3943
  window.print();
3944
  });
3945
+ }, // end widgetSharingButtons
 
 
 
 
 
 
3946
 
3947
  // Editor Check
3948
  editorCheck: function() {
assets/js/frontend.min.js CHANGED
@@ -1 +1 @@
1
- (function(t){"use strict";var e={init:function(){var i={"wpr-nav-menu.default":e.widgetNavMenu,"wpr-onepage-nav.default":e.OnepageNav,"wpr-grid.default":e.widgetGrid,"wpr-magazine-grid.default":e.widgetMagazineGrid,"wpr-media-grid.default":e.widgetGrid,"wpr-woo-grid.default":e.widgetGrid,"wpr-featured-media.default":e.widgetFeaturedMedia,"wpr-product-media.default":e.widgetProductMedia,"wpr-countdown.default":e.widgetCountDown,"wpr-google-maps.default":e.widgetGoogleMaps,"wpr-before-after.default":e.widgetBeforeAfter,"wpr-mailchimp.default":e.widgetMailchimp,"wpr-advanced-slider.default":e.widgetAdvancedSlider,"wpr-testimonial.default":e.widgetTestimonialCarousel,"wpr-search.default":e.widgetSearch,"wpr-advanced-text.default":e.widgetAdvancedText,"wpr-progress-bar.default":e.widgetProgressBar,"wpr-image-hotspots.default":e.widgetImageHotspots,"wpr-flip-box.default":e.widgetFlipBox,"wpr-content-ticker.default":e.widgetContentTicker,"wpr-tabs.default":e.widgetTabs,"wpr-content-toggle.default":e.widgetContentToogle,"wpr-back-to-top.default":e.widgetBackToTop,"wpr-lottie-animations.default":e.widgetLottieAnimations,"wpr-posts-timeline.default":e.widgetPostsTimeline,"wpr-sharing-buttons.default":e.widgetSharingButtons,global:e.widgetSection};t.each(i,function(e,t){window.elementorFrontend.hooks.addAction("frontend/element_ready/"+e,t)})},widgetSection:function(i){function r(t){var r=JSON.parse(t),a=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-quantity"):i.attr("wpr-quantity"),s=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-color")?i.find(".wpr-particle-wrapper").attr("wpr-color"):"#000000":i.attr("wpr-color")||"#000000",l=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-speed"):i.attr("wpr-speed"),n=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-shape"):i.attr("wpr-shape"),o=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-size"):i.attr("wpr-size");return r.particles.size.value=o,r.particles.number.value=a,r.particles.color.value=s,r.particles.shape.type=n,r.particles.line_linked.color=s,r.particles.move.speed=l,r}if(function(){function e(){if(document.querySelector(".wpr-mybar")){var e=document.body.scrollTop||document.documentElement.scrollTop,t=document.documentElement.scrollHeight-document.documentElement.clientHeight;document.querySelector("#wpr-mybar").style.width=100*(e/t)+"%"}}e(),window.onscroll=function(){e()},t("#wpadminbar").length&&t(".wpr-reading-progress-bar-container").length&&0===t(".wpr-reading-progress-bar-container").position().top&&t(".wpr-reading-progress-bar-container").css("top"," 32px")}(),(i.attr("data-wpr-particles")||i.find(".wpr-particle-wrapper").attr("data-wpr-particles-editor"))&&function(){var a=i.data("element_type"),s=i.data("id"),l=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("data-wpr-particles-editor"):i.attr("data-wpr-particles");"section"===a&&void 0!==l&&(e.editorCheck()?i.hasClass("wpr-particle-yes")?(particlesJS("wpr-particle-"+s,"wpr_particle_json_custom"==i.find(".wpr-particle-wrapper").attr("particle-source")?JSON.parse(l):r(l)),i.find(".elementor-column").css("z-index",9),t(window).trigger("resize")):i.find(".wpr-particle-wrapper").remove():(i.prepend("<div class=\"wpr-particle-wrapper\" id=\"wpr-particle-"+s+"\"></div>"),particlesJS("wpr-particle-"+s,"wpr_particle_json_custom"==i.attr("particle-source")?JSON.parse(l):r(l))))}(),(i.hasClass("wpr-jarallax")||i.hasClass("wpr-jarallax-yes"))&&function(){i.hasClass("wpr-jarallax-yes")&&(!e.editorCheck()&&i.hasClass("wpr-jarallax")?(i.css("background-image","url(\""+i.attr("bg-image")+"\")"),i.jarallax({type:i.attr("scroll-effect"),speed:i.attr("speed-data")})):e.editorCheck()&&(i.css("background-image","url(\""+i.find(".wpr-jarallax").attr("bg-image-editor")+"\")"),i.jarallax({type:i.find(".wpr-jarallax").attr("scroll-effect-editor"),speed:i.find(".wpr-jarallax").attr("speed-data-editor")})))}(),i.hasClass("wpr-parallax-yes")&&function(){if(i.hasClass("wpr-parallax-yes")){var r=document.getElementsByClassName("wpr-parallax-multi-layer"),a=Array.from(r).map(e=>new Parallax(e,{invertY:"yes"==e.getAttribute("direction"),invertX:"yes"==e.getAttribute("direction"),scalarX:e.getAttribute("scalar-speed"),scalarY:e.getAttribute("scalar-speed"),hoverOnly:!0,pointerEvents:!0}));a.forEach(e=>{e.friction(.2,.2)})}if(!e.editorCheck()){var s=[];document.querySelectorAll(".wpr-parallax-multi-layer").forEach(e=>{e.parentElement.style.position="relative",e.style.position="absolute",s.push(e),e.remove()}),document.querySelectorAll(".wpr-parallax-ml-children").forEach(e=>{e.style.position="absolute",e.style.top=e.getAttribute("style-top"),e.style.left=e.getAttribute("style-left")}),t(".wpr-parallax-yes").each(function(e){t(this).append(s[e])})}}(),i.hasClass("wpr-sticky-section-yes")){function r(){if(!i.hasClass("wpr-sticky-section-yes")||!i.find(".wpr-sticky-section-yes-editor"))return void(a="static");var e=[],t=[["mobile_sticky",768],["mobile_extra_sticky",881],["tablet_sticky",1025],["tablet_extra_sticky",1201],["laptop_sticky",1216],["desktop_sticky",2400],["widescreen_sticky",4e3]].filter(e=>-1!=c.indexOf(e[0])).reverse();t.forEach((t,i)=>{t[1]>d&&-1===p.indexOf(t[0])?(a=-1===c?.indexOf(t[0])?e[i-1]?e[i-1]:l:"static",e[i]=a):t[1]>d&&-1!==p.indexOf(t[0])&&(a=l)}),h()}function h(){var e=+window.innerHeight-(+i.css("top").slice(0,-2)+i.height()),t=+window.innerHeight-(+i.css("bottom").slice(0,-2)+i.height());"top"===n?(i.css({position:a}),""!==g&&g.css({position:a,top:o+"px",bottom:"auto","z-index":y,width:"100%"})):(i.css({position:a}),""!==g&&(g=g.find(".wpr-sticky-section-yes"),g.css({position:a,bottom:o+"px",top:"auto","z-index":y,width:"100%"})))}function u(){t("#wpadminbar").length&&(s=t("#wpadminbar").css("height").slice(0,t("#wpadminbar").css("height").length-2),"top"===n&&("fixed"==i.css("position")||"sticky"==i.css("position"))&&(i.css("top",+s+m+"px"),i.css("bottom","auto")))}var a,s,l=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-position-type"):i.attr("data-wpr-position-type"),n=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-position-location"):i.attr("data-wpr-position-location"),o=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-position-offset"):i.attr("data-wpr-position-offset"),d=t("body").prop("clientWidth")+17,p=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-sticky-devices"):i.attr("data-wpr-sticky-devices"),c=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-active-breakpoints"):i.attr("data-wpr-active-breakpoints"),f=!!(i.hasClass("wpr-sticky-section-yes")||i.find(".wpr-sticky-section-yes-editor")),m=+i.css("top").slice(0,-2),g=i.closest("div[data-elementor-type=\"wp-post\"]").length?i.closest("div[data-elementor-type=\"wp-post\"]"):"",y=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-z-index"):i.attr("data-wpr-z-index");if(i.find(".wpr-sticky-section-yes-editor").length||(l=i.attr("data-wpr-position-type"),n=i.attr("data-wpr-position-location"),o=i.attr("data-wpr-position-offset"),p=i.attr("data-wpr-sticky-devices"),c=i.attr("data-wpr-active-breakpoints"),y=i.attr("data-wpr-z-index")),0==p.length&&(l="static"),e.editorCheck()&&p){var w=i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-sticky-devices");i.attr("data-wpr-sticky-devices",w),p=i.attr("data-wpr-sticky-devices")}r(),u(),t(window).resize(function(){d=t("body").prop("clientWidth")+17,r()}),f||(a="static")}},widgetNavMenu:function(i){function r(){if(i.hasClass("wpr-mobile-menu-full-width")&&i.closest(".elementor-column").length){var e=i.closest(".elementor-column"),t=i.closest(".elementor-top-section").outerWidth()-2*d.offset().left,r=e.offset().left+parseInt(e.css("padding-left"),10);d.css({width:t+"px",left:-r+"px"})}}function a(e,t){!0===t?i.hasClass("wpr-sub-menu-fx-slide")?e.stop().slideDown():e.stop().fadeIn():i.hasClass("wpr-sub-menu-fx-slide")?e.stop().slideUp():e.stop().fadeOut()}var s=i.find(".wpr-nav-menu-container"),l=i.find(".wpr-mobile-nav-menu-container"),n=s.find(".wpr-nav-menu > li.menu-item-has-children"),o=s.find(".wpr-sub-menu li.menu-item-has-children");"click"===s.attr("data-trigger")?(n.children("a").on("click",function(r){var e=t(this).parent(),l=e.children(".wpr-sub-menu");n.not(e).removeClass("wpr-sub-open"),(s.hasClass("wpr-nav-menu-horizontal")||s.hasClass("wpr-nav-menu-vertical")&&i.hasClass("wpr-sub-menu-position-absolute"))&&a(n.children(".wpr-sub-menu"),!1),e.hasClass("wpr-sub-open")?(e.removeClass("wpr-sub-open"),a(l,!1)):(r.preventDefault(),e.addClass("wpr-sub-open"),a(l,!0))}),o.on("click",function(i){var e=t(this),r=e.children(".wpr-sub-menu");s.hasClass("wpr-nav-menu-horizontal")&&a(o.find(".wpr-sub-menu"),!1),e.hasClass("wpr-sub-open")?a(r,!1):(i.preventDefault(),a(r,!0))}),t(document).mouseup(function(t){n.is(t.target)||0!==n.has(t.target).length||(n.not().removeClass("wpr-sub-open"),a(n.children(".wpr-sub-menu"),!1)),o.is(t.target)||0!==o.has(t.target).length||(o.removeClass("wpr-sub-open"),a(o.children(".wpr-sub-menu"),!1))})):(n.on("mouseenter",function(){s.hasClass("wpr-nav-menu-vertical")&&i.hasClass("wpr-sub-menu-position-absolute")&&s.find("li").not(this).children(".wpr-sub-menu").hide(),a(t(this).children(".wpr-sub-menu"),!0)}),o.on("mouseenter",function(){a(t(this).children(".wpr-sub-menu"),!0)}),s.hasClass("wpr-nav-menu-horizontal")?(n.on("mouseleave",function(){a(t(this).children(".wpr-sub-menu"),!1)}),o.on("mouseleave",function(){a(t(this).children(".wpr-sub-menu"),!1)})):s.on("mouseleave",function(){a(t(this).find(".wpr-sub-menu"),!1)}));var d=l.find(".wpr-mobile-nav-menu");l.find(".wpr-mobile-toggle").on("click",function(){t(this).toggleClass("wpr-mobile-toggle-fx"),t(this).hasClass(".wpr-mobile-toggle-open")?(t(this).removeClass(".wpr-mobile-toggle-open"),t(this).trigger("focusout"),t(this).find(".wpr-mobile-toggle-text").length&&(t(this).children().eq(1).hide(),t(this).children().eq(0).show())):(t(this).addClass(".wpr-mobile-toggle-open"),t(this).find(".wpr-mobile-toggle-text").length&&(t(this).children().eq(0).hide(),t(this).children().eq(1).show())),t(this).parent().next().stop().slideToggle(),r()}),d.find(".sub-menu").removeClass("wpr-sub-menu").addClass("wpr-mobile-sub-menu"),d.find(".menu-item-has-children").children("a").on("click",function(i){var e=t(this).closest("li");e.hasClass("wpr-mobile-sub-open")?(e.removeClass("wpr-mobile-sub-open"),e.children(".wpr-mobile-sub-menu").first().stop().slideUp()):(i.preventDefault(),e.addClass("wpr-mobile-sub-open"),e.children(".wpr-mobile-sub-menu").first().stop().slideDown())}),r(),t(window).smartresize(function(){r()})},OnepageNav:function(e){function i(i){"yes"!==e.find(".wpr-onepage-nav").attr("data-highlight")||(e.find(".wpr-onepage-nav-item").children("a").removeClass("wpr-onepage-active-item"),t(".elementor-section").each(function(){var r=t(this).offset().top,a=r+t(this).outerHeight();i>=r&&i<a&&e.find(".wpr-onepage-nav-item").children("a[href=\"#"+t(this).attr("id")+"\"]").addClass("wpr-onepage-active-item")}))}e.find(".wpr-onepage-nav-item").on("click",function(e){e.preventDefault();var r=t(t(this).find("a").attr("href")),a=parseInt(t(this).parent().attr("data-speed"),10);t("body").animate({scrollTop:r.offset().top},a),i(t(window).scrollTop())}),"yes"===e.find(".wpr-onepage-nav").attr("data-highlight")&&setTimeout(function(){t(window).scroll()},10),t(window).scroll(function(){i(t(this).scrollTop())})},widgetGrid:function(r){function a(i){if(-1!==r.find(".wpr-grid-item-lightbox").length){var a=r.find(".wpr-grid-item-lightbox"),s=a.find(".wpr-grid-lightbox-overlay").first();a.each(function(){var e=t(this).find(".inner-block > span").attr("data-src"),i=t(this).closest("article").not(".slick-cloned");o.hasClass("wpr-media-grid")||i.find(".wpr-grid-image-wrap").attr("data-src",e);var r=i.find(".wpr-grid-image-wrap").attr("data-src");"undefined"!=typeof r&&!1!==r&&-1===r.indexOf("wp-content")&&i.find(".wpr-grid-image-wrap").attr("data-iframe","true")}),o.lightGallery(i.lightbox),o.on("onAfterOpen.lg",function(){t(".lg-outer").find(".lg-thumb-item").length&&t(".lg-outer").find(".lg-thumb-item").each(function(){var e=t(this).find("img").attr("src"),i=e,r=e.lastIndexOf("."),a=e.slice(r),s=e.lastIndexOf("-"),l=!!/\d{3,}x\d{3,}/.test(e.substring(r,s))&&e.substring(r,s);42<=e.substring(r,s).length&&(l=""),""!==l&&(!1===l?i=[e.slice(0,r),"-150x150",e.slice(r)].join(""):i=e.replace(l,"-150x150")),t(this).find("img").attr("src",i)})}),r.find(".wpr-grid").on("onAferAppendSlide.lg, onAfterSlide.lg",function(){var e=t("#lg-actual-size, #lg-zoom-in, #lg-zoom-out, #lg-download"),r=t("#lg-download").attr("href");t("#lg-download").length&&(-1===r.indexOf("wp-content")?e.addClass("wpr-hidden-element"):e.removeClass("wpr-hidden-element")),""===i.lightbox.autoplay&&t(".lg-autoplay-button").css({width:"0",height:"0",overflow:"hidden"})}),s.length?(r.find(".wpr-grid-media-hover-bg").after(s.remove()),r.find(".wpr-grid-lightbox-overlay").on("click",function(){e.editorCheck()?alert("Lightbox is Disabled in the Editor!"):t(this).closest("article").find(".wpr-grid-image-wrap").trigger("click")})):a.find(".inner-block > span").on("click",function(){if(!e.editorCheck()){var i=t(this).closest("article").find(".wpr-grid-image-wrap");i.trigger("click")}else alert("Lightbox is Disabled in the Editor!")})}}function s(){r.find(".wpr-post-like-button").length&&r.find(".wpr-post-like-button").on("click",function(){var e=t(this);return""!==e.attr("data-post-id")&&t.ajax({type:"POST",url:e.attr("data-ajax"),data:{action:"wpr_likes_init",post_id:e.attr("data-post-id"),nonce:e.attr("data-nonce")},beforeSend:function(){e.fadeTo(500,.5)},success:function(t){var i=e.attr("data-icon"),r=t.count;""===r.replace(/<\/?[^>]+(>|$)/g,"")?(r="<span class=\"wpr-post-like-count\">"+e.attr("data-text")+"</span>",!e.hasClass("wpr-likes-zero")&&e.addClass("wpr-likes-zero")):e.removeClass("wpr-likes-zero"),e.hasClass("wpr-already-liked")?(e.prop("title","Like"),e.removeClass("wpr-already-liked"),e.html("<i class=\""+i+"\"></i>"+r)):(e.prop("title","Unlike"),e.addClass("wpr-already-liked"),e.html("<i class=\""+i.replace("far","fas")+"\"></i>"+r)),e.fadeTo(500,1)}}),!1})}function l(e){for(var a,s,l,n,o=r.find(".wpr-grid"),d=o.find(".wpr-grid-item"),p=d.filter(":visible"),c=e.layout,f=e.media_align,m=e.media_width,g=e.media_distance,y=3,w=1,h=2,u=parseInt(e.columns_desktop,10),b=e.gutter_hr,T=e.gutter_vr,v=o.width()+b-.3,k=t("body").prop("clientWidth"),x=400,C=r.attr("class"),C=C.split(" "),S=0;S<C.length-1;S++)-1!==C[S].search(/mobile\d/)&&(w=C[S].slice(-1)),-1!==C[S].search(/mobile_extra\d/)&&(a=C[S].slice(-1)),-1!==C[S].search(/tablet\d/)&&(h=C[S].slice(-1)),-1!==C[S].search(/tablet_extra\d/)&&(s=C[S].slice(-1)),-1!==C[S].search(/widescreen\d/)&&(n=C[S].slice(-1)),-1!==C[S].search(/laptop\d/)&&(l=C[S].slice(-1));y=440>=k?w:768>=k?a?a:h:881>=k?h:1025>=k?s?s:h:1201>=k?l?l:u:1920>=k?u:2300>=k?u:2650>=k?n?n:u+1:3e3>=k?n?n:u+2:n?n:u+3,8<y&&(y=8),"string"==typeof y&&-1!==y.indexOf("pro")&&(y=3),d.outerWidth(Math.floor(v/y-b)),d.css("margin-bottom",T+"px"),1===y&&d.last().css("margin-bottom","0");var _=-1;if(p.each(function(){var e=t(this).outerHeight(),i=parseInt(t(this).css("top"),10);i>_&&(_=i)}),"fitRows"===c&&p.each(function(){parseInt(t(this).css("top"))===_&&t(this).addClass("rf-last-row")}),"list"===c){var z=d.find(".wpr-grid-image-wrap").outerHeight();if(d.find(".wpr-grid-item-below-content").css("min-height",z+"px"),480>t("body").prop("clientWidth"))d.find(".wpr-grid-media-wrap").css({float:"none",width:"100%"}),d.find(".wpr-grid-item-below-content").css({float:"none",width:"100%"}),d.find(".wpr-grid-image-wrap").css("padding","0"),d.find(".wpr-grid-item-below-content").css("min-height","0"),"zigzag"===f&&d.find("[class*=\"elementor-repeater-item\"]").css("text-align","center");else if("zigzag"!==f){d.find(".wpr-grid-media-wrap").css({float:f,width:m+"%"});var j="left"===f?"margin-right":"margin-left";d.find(".wpr-grid-media-wrap").css(j,g+"px"),d.find(".wpr-grid-item-below-content").css({float:f,width:"calc((100% - "+m+"%) - "+g+"px)"})}else d.filter(":even").find(".wpr-grid-media-wrap").css({float:"left",width:m+"%"}),d.filter(":even").find(".wpr-grid-item-below-content").css({float:"left",width:"calc((100% - "+m+"%) - "+g+"px)"}),d.filter(":even").find(".wpr-grid-media-wrap").css("margin-right",g+"px"),d.filter(":odd").find(".wpr-grid-media-wrap").css({float:"right",width:m+"%"}),d.filter(":odd").find(".wpr-grid-item-below-content").css({float:"right",width:"calc((100% - "+m+"%) - "+g+"px)"}),d.filter(":odd").find(".wpr-grid-media-wrap").css("margin-left",g+"px"),o.hasClass("wpr-grid-list-ready")||d.each(function(e){var i=t(this).find("[class*=\"elementor-repeater-item\"]");0==e%2?i.each(function(){if(!t(this).hasClass("wpr-grid-item-align-center")){"none"===t(this).css("float")?t(this).css("text-align","left"):t(this).css("float","left");t(this).find(".inner-block")}}):i.each(function(e){if(!t(this).hasClass("wpr-grid-item-align-center")){"none"===t(this).css("float")?t(this).css("text-align","right"):t(this).css("float","right");var i=t(this).find(".inner-block");"0px"!==i.css("margin-left")&&(i.css("margin-right",i.css("margin-left")),i.css("margin-left","0")),0===e&&"0px"!==i.css("margin-right")&&(i.css("margin-left",i.css("margin-right")),i.css("margin-right","0"))}})}),setTimeout(function(){o.hasClass("wpr-grid-list-ready")||o.addClass("wpr-grid-list-ready")},500)}"list"===c&&(c="fitRows"),"default"!==e.filters_animation&&(x=0);o.isotope({layoutMode:c,masonry:{comlumnWidth:v/y,gutter:b},fitRows:{comlumnWidth:v/y,gutter:b},transitionDuration:x,percentPosition:!0})}function n(e){if("yes"===e.filters_count&&r.find(".wpr-grid-filters a, .wpr-grid-filters span").each(function(){"*"===t(this).attr("data-filter")?t(this).find("sup").text(r.find(".wpr-grid-filters").next().find("article").length):t(this).find("sup").text(t(t(this).attr("data-filter")).length)}),"yes"!==e.filters_linkable){if("yes"===e.deeplinking){var i=window.location.hash.replace("#filter:",".");window.location.hash.match("#filter:all")&&(i="*");var s=r.find(".wpr-grid-filters span[data-filter=\""+i+"\"]:not(.wpr-back-filter)"),l=s.parent();"parent"===s.parent().attr("data-role")?l.parent("ul").find("ul[data-parent=\""+i+"\"]").length&&(l.parent("ul").children("li").css("display","none"),l.siblings("ul[data-parent=\""+i+"\"]").css("display","block")):"sub"===s.parent().attr("data-role")&&(l.closest(".wpr-grid-filters").children("li").css("display","none"),l.parent("ul").css("display","inline-block")),r.find(".wpr-grid-filters span").removeClass("wpr-active-filter"),s.addClass("wpr-active-filter"),r.find(".wpr-grid").isotope({filter:i}),e.lightbox.selector="*"===i?" .wpr-grid-image-wrap":i+" .wpr-grid-image-wrap",a(e)}"yes"===e.filters_hide_empty&&r.find(".wpr-grid-filters span").each(function(){var e=t(this).attr("data-filter");"*"!==e&&(0===o.find(e).length?t(this).parent("li").addClass("wpr-hidden-element"):t(this).parent("li").removeClass("wpr-hidden-element"))}),""!==e.filters_default_filter&&setTimeout(function(){r.find(".wpr-grid-filters").find("span[data-filter*=\"-"+e.filters_default_filter+"\"]")[0].click()},100),r.find(".wpr-grid-filters span").on("click",function(){var i=t(this).data("filter"),a=t(this).parent("li"),s=a.attr("data-role");if(r.find(".wpr-grid-filters span").removeClass("wpr-active-filter"),t(this).addClass("wpr-active-filter"),"parent"===s?a.parent("ul").find("ul[data-parent=\""+i+"\"]").length&&(a.parent("ul").children("li").css("display","none"),a.siblings("ul[data-parent=\""+i+"\"]").css("display","block")):"back"===s&&(a.closest(".wpr-grid-filters").children("li").css("display","inline-block"),a.parent().css("display","none")),"yes"===e.deeplinking){var l="#filter:"+i.replace(".","");"*"===i&&(l="#filter:all"),window.location.href=window.location.pathname+window.location.search+l}"infinite-scroll"===e.pagination_type&&0===o.find(t(this).attr("data-filter")).length&&r.find(".wpr-grid").infiniteScroll("loadNextPage"),"default"!==e.filters_animation&&r.find(".wpr-grid-item-inner").css({opacity:"0",transition:"none"}),"fade-slide"===e.filters_animation?r.find(".wpr-grid-item-inner").css("top","20px"):"zoom"===e.filters_animation?r.find(".wpr-grid-item-inner").css("transform","scale(0.01)"):r.find(".wpr-grid-item-inner").css({top:"0",transform:"scale(1)"}),r.find(".wpr-grid").isotope({filter:i}),e.lightbox.selector="*"===i?" .wpr-grid-image-wrap":i+" .wpr-grid-image-wrap",o.data("lightGallery").destroy(!0),o.lightGallery(e.lightbox)})}}var o=r.find(".wpr-grid"),d=o.attr("data-settings");if("undefined"==typeof d||!1===d){o.animate({opacity:"1"},1e3);var p=r.attr("class"),c=p.match(/wpr-grid-slider-columns-\d/)?p.match(/wpr-grid-slider-columns-\d/).join().slice(-1):2,f=p.match(/columns--widescreen\d/)?p.match(/columns--widescreen\d/).join().slice(-1):c,m=p.match(/columns--laptop\d/)?p.match(/columns--laptop\d/).join().slice(-1):c,g=p.match(/columns--tablet_extra\d/)?p.match(/columns--tablet_extra\d/).join().slice(-1):y,y=p.match(/columns--tablet\d/)?p.match(/columns--tablet\d/).join().slice(-1):2,w=p.match(/columns--mobile_extra\d/)?p.match(/columns--mobile_extra\d/).join().slice(-1):y,h=p.match(/columns--mobile\d/)?p.match(/columns--mobile\d/).join().slice(-1):1,u=+p.match(/wpr-grid-slides-to-scroll-\d/).join().slice(-1);if(o.slick({appendDots:r.find(".wpr-grid-slider-dots"),customPaging:function(e,t){e.slideCount;return"<span class=\"wpr-grid-slider-dot\"></span>"},slidesToShow:c,responsive:[{breakpoint:1e4,settings:{slidesToShow:f,slidesToScroll:u>f?1:u}},{breakpoint:2399,settings:{slidesToShow:c,slidesToScroll:u>c?1:u}},{breakpoint:1221,settings:{slidesToShow:m,slidesToScroll:u>m?1:u}},{breakpoint:1200,settings:{slidesToShow:g,slidesToScroll:u>g?1:u}},{breakpoint:1024,settings:{slidesToShow:y,slidesToScroll:u>y?1:u}},{breakpoint:880,settings:{slidesToShow:w,slidesToScroll:u>w?1:u}},{breakpoint:768,settings:{slidesToShow:h,slidesToScroll:u>h?1:u}}]}),r.find(".slick-dots").length&&r.hasClass("wpr-grid-slider-dots-horizontal")){var b=r.find(".slick-dots li").outerWidth()*r.find(".slick-dots li").length-parseInt(r.find(".slick-dots li span").css("margin-right"),10);r.find(".slick-dots").length&&r.find(".slick-dots").css("width",b),t(window).on("resize",function(){setTimeout(function(){var e=r.find(".slick-dots li").outerWidth()*r.find(".slick-dots li").length-parseInt(r.find(".slick-dots li span").css("margin-right"),10);r.find(".slick-dots").css("width",e)},300)})}d=JSON.parse(o.attr("data-slick"))}else if(d=JSON.parse(o.attr("data-settings")),l(d),setTimeout(function(){l(d)},100),e.editorCheck()&&(setTimeout(function(){l(d)},500),setTimeout(function(){l(d)},1e3)),t(window).on("load",function(){setTimeout(function(){l(d)},100)}),t(window).smartresize(function(){setTimeout(function(){l(d)},200)}),n(d),o.on("arrangeComplete",function(e,i){var a=0,s=0,l=d.animation_delay,n=d.animation_duration,p=d.filters_animation_duration;if(o.hasClass("grid-images-loaded"))l=0;else if(o.css("opacity","1"),"default"===d.animation&&"default"===d.filters_animation)return;for(var c in i){l+=d.animation_delay,r.find(i[c].element).find(".wpr-grid-item-inner").css({opacity:"1",top:"0",transform:"scale(1)",transition:"all "+n+"s ease-in "+l+"s"}),s+=d.filters_animation_delay,o.hasClass("grid-images-loaded")&&r.find(i[c].element).find(".wpr-grid-item-inner").css({transition:"all "+p+"s ease-in "+s+"s"});var f=window.location.hash;0<=f.indexOf("#filter:")&&0>f.indexOf("#filter:*")&&(f=f.replace("#filter:",""),r.find(i[c].element).filter(function(){if(t(this).hasClass(f))return a+=d.filters_animation_delay,t(this)}).find(".wpr-grid-item-inner").css({"transition-delay":a+"s"}))}}),o.imagesLoaded().progress(function(){"1"!==o.css("opacity")&&o.css("opacity","1"),setTimeout(function(){o.addClass("grid-images-loaded")},500)}),("load-more"===d.pagination_type||"infinite-scroll"===d.pagination_type)&&r.find(".wpr-grid-pagination").length&&!e.editorCheck()){var T=r.find(".wpr-grid-pagination"),v=".elementor-element-"+r.attr("data-id"),k=!1,x=!1;"infinite-scroll"===d.pagination_type&&(x=300,k=v+" .wpr-load-more-btn"),o.infiniteScroll({path:v+" .wpr-grid-pagination a",hideNav:k,append:!1,history:!1,scrollThreshold:x,status:v+" .page-load-status",onInit:function(){this.on("load",function(){o.removeClass("grid-images-loaded")})}}),o.on("request.infiniteScroll",function(){T.find(".wpr-load-more-btn").hide(),T.find(".wpr-pagination-loading").css("display","inline-block")});var C=0;o.on("load.infiniteScroll",function(e,i){C++;var r=t(i).find(v).find(".wpr-grid-item");o.infiniteScroll("appendItems",r),o.isotope("appended",r),r.imagesLoaded().progress(function(){l(d),setTimeout(function(){l(d),n(d)},10),setTimeout(function(){o.addClass("grid-images-loaded")},500)}),T.find(".wpr-pagination-loading").hide(),d.pagination_max_pages-1===C?(T.find(".wpr-pagination-finish").fadeIn(1e3),T.delay(2e3).fadeOut(1e3),setTimeout(function(){T.find(".wpr-pagination-loading").hide()},500)):"load-more"===d.pagination_type&&T.find(".wpr-load-more-btn").fadeIn(),setTimeout(function(){s(d)},300),a(d),o.data("lightGallery").destroy(!0),o.lightGallery(d.lightbox)}),T.find(".wpr-load-more-btn").on("click",function(){return o.infiniteScroll("loadNextPage"),!1})}if("yes"!==o.find(".wpr-grid-media-wrap").attr("data-overlay-link")||e.editorCheck()||(o.find(".wpr-grid-media-wrap").css("cursor","pointer"),o.find(".wpr-grid-media-wrap").on("click",function(e){var i=e.target.className;if(-1!==i.indexOf("inner-block")||-1!==i.indexOf("wpr-cv-inner")||-1!==i.indexOf("wpr-grid-media-hover")){e.preventDefault();var r=t(this).find(".wpr-grid-media-hover-bg").attr("data-url"),r=r.replace("#new_tab","");"_blank"===o.find(".wpr-grid-item-title a").attr("target")?window.open(r,"_blank").focus():window.location.href=r}})),r.find(".wpr-sharing-trigger").length){var S=r.find(".wpr-sharing-trigger"),_=r.find(".wpr-post-sharing-inner"),z=5;_.first().find("a").each(function(){z+=t(this).outerWidth()+parseInt(t(this).css("margin-right"),10)});var j=parseInt(_.find("a").css("margin-right"),10);"left"===S.attr("data-direction")?(_.css("width",z+"px"),_.css("left",-(j+z)+"px")):"right"===S.attr("data-direction")?(_.css("width",z+"px"),_.css("right",-(j+z)+"px")):"top"===S.attr("data-direction")?(_.find("a").css({"margin-right":"0","margin-top":j+"px"}),_.css({top:-j+"px",left:"50%","-webkit-transform":"translate(-50%, -100%)",transform:"translate(-50%, -100%)"})):"right"===S.attr("data-direction")?(_.css("width",z+"px"),_.css({left:j+"px"})):"bottom"===S.attr("data-direction")&&(_.find("a").css({"margin-right":"0","margin-bottom":j+"px"}),_.css({bottom:-j+"px",left:"50%","-webkit-transform":"translate(-50%, 100%)",transform:"translate(-50%, 100%)"})),"click"===S.attr("data-action")?S.on("click",function(){var e=t(this).next();"hidden"===e.css("visibility")?(e.css("visibility","visible"),e.find("a").css({opacity:"1",top:"0"}),setTimeout(function(){e.find("a").addClass("wpr-no-transition-delay")},100*e.find("a").length)):(e.find("a").removeClass("wpr-no-transition-delay"),e.find("a").css({opacity:"0",top:"-5px"}),setTimeout(function(){e.css("visibility","hidden")},100*e.find("a").length))}):(S.on("mouseenter",function(){var e=t(this).next();e.css("visibility","visible"),e.find("a").css({opacity:"1",top:"0"}),setTimeout(function(){e.find("a").addClass("wpr-no-transition-delay")},100*e.find("a").length)}),r.find(".wpr-grid-item-sharing").on("mouseleave",function(){var e=t(this).find(".wpr-post-sharing-inner");e.find("a").removeClass("wpr-no-transition-delay"),e.find("a").css({opacity:"0",top:"-5px"}),setTimeout(function(){e.css("visibility","hidden")},100*e.find("a").length)}))}if(o.find(".wpr-grid-item-add-to-cart").length){var O=o.find(".wpr-grid-item-add-to-cart").find("i"),q=O.attr("class");O.length&&(q=q.substring(q.indexOf("fa-"),q.length)),t("body").on("adding_to_cart",function(e,t){t.fadeTo("slow",.5)}),t("body").on("added_to_cart",function(e,t,i,r){r.fadeTo("slow",1),O.length&&(r.find("i").removeClass(q).addClass("fa-check"),setTimeout(function(){r.find("i").removeClass("fa-check").addClass(q)},3500))})}a(d),s(d)},widgetMagazineGrid:function(i){var r=i.find(".wpr-magazine-grid-wrap"),a=r.attr("data-slick"),s=r.attr("data-slide-effect");if(typeof a!="undefined"&&!1!==a&&r.slick({fade:"fade"===s}),"yes"!==r.find(".wpr-grid-media-wrap").attr("data-overlay-link")||e.editorCheck()||(r.find(".wpr-grid-media-wrap").css("cursor","pointer"),r.find(".wpr-grid-media-wrap").on("click",function(e){var i=e.target.className;(-1!==i.indexOf("inner-block")||-1!==i.indexOf("wpr-cv-inner")||-1!==i.indexOf("wpr-grid-media-hover"))&&(e.preventDefault(),window.location.href=t(this).find(".wpr-grid-media-hover-bg").attr("data-url"))})),i.find(".wpr-sharing-trigger").length){var l=i.find(".wpr-sharing-trigger"),n=i.find(".wpr-post-sharing-inner"),o=5;n.first().find("a").each(function(){o+=t(this).outerWidth()+parseInt(t(this).css("margin-right"),10)});var d=parseInt(n.find("a").css("margin-right"),10);"left"===l.attr("data-direction")?(n.css("width",o+"px"),n.css("left",-(d+o)+"px")):"right"===l.attr("data-direction")?(n.css("width",o+"px"),n.css("right",-(d+o)+"px")):"top"===l.attr("data-direction")?(n.find("a").css({"margin-right":"0","margin-top":d+"px"}),n.css({top:-d+"px",left:"50%","-webkit-transform":"translate(-50%, -100%)",transform:"translate(-50%, -100%)"})):"right"===l.attr("data-direction")?(n.css("width",o+"px"),n.css({left:d+"px"})):"bottom"===l.attr("data-direction")&&(n.find("a").css({"margin-right":"0","margin-bottom":d+"px"}),n.css({bottom:-d+"px",left:"50%","-webkit-transform":"translate(-50%, 100%)",transform:"translate(-50%, 100%)"})),"click"===l.attr("data-action")?l.on("click",function(){var e=t(this).next();"hidden"===e.css("visibility")?(e.css("visibility","visible"),e.find("a").css({opacity:"1",top:"0"}),setTimeout(function(){e.find("a").addClass("wpr-no-transition-delay")},100*e.find("a").length)):(e.find("a").removeClass("wpr-no-transition-delay"),e.find("a").css({opacity:"0",top:"-5px"}),setTimeout(function(){e.css("visibility","hidden")},100*e.find("a").length))}):(l.on("mouseenter",function(){var e=t(this).next();e.css("visibility","visible"),e.find("a").css({opacity:"1",top:"0"}),setTimeout(function(){e.find("a").addClass("wpr-no-transition-delay")},100*e.find("a").length)}),i.find(".wpr-grid-item-sharing").on("mouseleave",function(){var e=t(this).find(".wpr-post-sharing-inner");e.find("a").removeClass("wpr-no-transition-delay"),e.find("a").css({opacity:"0",top:"-5px"}),setTimeout(function(){e.css("visibility","hidden")},100*e.find("a").length)}))}i.find(".wpr-post-like-button").length&&i.find(".wpr-post-like-button").on("click",function(){var e=t(this);return""!==e.attr("data-post-id")&&t.ajax({type:"POST",url:e.attr("data-ajax"),data:{action:"wpr_likes_init",post_id:e.attr("data-post-id"),nonce:e.attr("data-nonce")},beforeSend:function(){e.fadeTo(500,.5)},success:function(t){var i=e.attr("data-icon"),r=t.count;""===r.replace(/<\/?[^>]+(>|$)/g,"")?(r="<span class=\"wpr-post-like-count\">"+e.attr("data-text")+"</span>",!e.hasClass("wpr-likes-zero")&&e.addClass("wpr-likes-zero")):e.removeClass("wpr-likes-zero"),e.hasClass("wpr-already-liked")?(e.prop("title","Like"),e.removeClass("wpr-already-liked"),e.html("<i class=\""+i+"\"></i>"+r)):(e.prop("title","Unlike"),e.addClass("wpr-already-liked"),e.html("<i class=\""+i.replace("far","fas")+"\"></i>"+r)),e.fadeTo(500,1)}}),!1})},widgetFeaturedMedia:function(i){var r=i.find(".wpr-gallery-slider"),a=r.attr("data-slick");r.animate({opacity:"1"},1e3),"[]"!==a&&r.slick({appendDots:i.find(".wpr-gallery-slider-dots"),customPaging:function(e,t){e.slideCount;return"<span class=\"wpr-gallery-slider-dot\"></span>"}});var s=t(".wpr-featured-media-image").attr("data-lightbox");if(typeof s!=typeof void 0&&!1!==s&&!e.editorCheck()){var l=i.find(".wpr-featured-media-wrap");s=JSON.parse(s),l.lightGallery(s),l.on("onAferAppendSlide.lg, onAfterSlide.lg",function(){var e=t("#lg-actual-size, #lg-zoom-in, #lg-zoom-out, #lg-download"),i=t("#lg-download").attr("href");t("#lg-download").length&&(-1===i.indexOf("wp-content")?e.addClass("wpr-hidden-element"):e.removeClass("wpr-hidden-element")),""===s.autoplay&&t(".lg-autoplay-button").css({width:"0",height:"0",overflow:"hidden"})})}},widgetProductMedia:function(i){var r=i.find(".wpr-product-media-image"),a=i.find(".wpr-gallery-slider"),s=a.attr("data-slick");if(a.animate({opacity:"1"},1e3),"[]"!==s&&a.length){var s=JSON.parse(s);if(a.slick(),"yes"===s.thumbnail_nav){var l=i.find(".wpr-product-thumb-nav");l.slick(),l.find("li").on("click",function(){var e=t(this).attr("data-slick-index");t(this).siblings().removeClass("slick-current"),t(this).addClass("slick-current"),a.slick("slickGoTo",parseInt(e,10))})}}var n=t(".wpr-product-media-image").attr("data-lightbox");if(typeof n!="undefined"&&!1!==n&&!e.editorCheck()){var o=i.find(".wpr-product-media-wrap");n=JSON.parse(n),o.lightGallery(n),o.on("onAferAppendSlide.lg, onAfterSlide.lg",function(){var e=t("#lg-actual-size, #lg-zoom-in, #lg-zoom-out, #lg-download"),i=t("#lg-download").attr("href");t("#lg-download").length&&(-1===i.indexOf("wp-content")?e.addClass("wpr-hidden-element"):e.removeClass("wpr-hidden-element")),""===n.autoplay&&t(".lg-autoplay-button").css({width:"0",height:"0",overflow:"hidden"})})}i.hasClass("wpr-gallery-zoom-yes")&&r.on("mousemove",function(e){var i=100*((e.pageX-t(this).offset().left)/t(this).width()),r=100*((e.pageY-t(this).offset().top)/t(this).height());t(this).children("img").css({"transform-origin":i+"% "+r+"%"})})},widgetCountDown:function(i){function r(){var e=d-new Date,r={days:Math.floor(e/86400000),hours:Math.floor(e/3600000%24),minutes:Math.floor(e/1e3/60%60),seconds:Math.floor(e/1e3%60)};(0>r.days||0>r.hours||0>r.minutes)&&(r={days:0,hours:0,minutes:0,seconds:0}),i.find(".wpr-countdown-number").each(function(){var e=r[t(this).attr("data-item")];1===e.toString().length&&(e="0"+e),t(this).text(e);var i=t(this).next();if(i.length&&!t(this).hasClass("wpr-countdown-seconds")){var a=i.data("text");"01"==e?i.text(a.singular):i.text(a.plural)}}),0>e&&(clearInterval(l),a())}function a(){var r=s.data("actions");e.editorCheck()||(r.hasOwnProperty("hide-timer")&&s.hide(),r.hasOwnProperty("hide-element")&&t(r["hide-element"]).hide(),r.hasOwnProperty("message")&&!i.children(".elementor-widget-container").children(".wpr-countdown-message").length&&s.after("<div class=\"wpr-countdown-message\">"+r.message+"</div>"),r.hasOwnProperty("redirect")&&(window.location.href=r.redirect),r.hasOwnProperty("load-template")&&s.parent().find(".elementor-inner").parent().show())}var s=i.children(".elementor-widget-container").children(".wpr-countdown-wrap"),l=null,n=s.data("interval"),o=s.data("show-again"),d=new Date(1e3*n);if("evergreen"===s.data("type")){var p=new Date,c=i.attr("data-id"),f=JSON.parse(localStorage.getItem("WprCountDownSettings"))||{};d=f.hasOwnProperty(c)?0===Object.keys(f).length||n!==f[c].interval?p.setSeconds(p.getSeconds()+n):f[c].endTime:p.setSeconds(p.getSeconds()+n),d+o<p.setSeconds(p.getSeconds())&&(d=p.setSeconds(p.getSeconds()+n)),f[c]={interval:n,endTime:d},localStorage.setItem("WprCountDownSettings",JSON.stringify(f))}r(),e.editorCheck()||(l=setInterval(r,1e3))},widgetGoogleMaps:function(e){function t(e,t){var i="<div class=\"wpr-gm-iwindow\"><h3>"+t.gm_location_title+"</h3><p>"+t.gm_location_description+"</p></div>",r=new google.maps.InfoWindow({content:i,maxWidth:t.gm_info_window_width.size});"load"===t.gm_show_info_window?r.open(p,e):e.addListener("click",function(){r.open(p,e)})}function r(e){var t;switch(e.style){case"simple":t=JSON.parse("[{\"featureType\":\"road\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#fffffa\"}]},{\"featureType\":\"water\",\"stylers\":[{\"lightness\":50}]},{\"featureType\":\"road\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":40}]}]");break;case"white-black":t=JSON.parse("[{\"featureType\":\"road\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"on\"}]},{\"featureType\":\"poi\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"administrative\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"},{\"weight\":1}]},{\"featureType\":\"road\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"weight\":0.8}]},{\"featureType\":\"landscape\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"water\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"stylers\":[{\"visibility\":\"off\"}]},{\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"elementType\":\"labels.text\",\"stylers\":[{\"visibility\":\"on\"}]},{\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#000000\"}]},{\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"on\"}]}]");break;case"light-silver":t=JSON.parse("[{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#e9e9e9\"},{\"lightness\":17}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#f5f5f5\"},{\"lightness\":20}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"},{\"lightness\":17}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#ffffff\"},{\"lightness\":29},{\"weight\":0.2}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#ffffff\"},{\"lightness\":18}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#ffffff\"},{\"lightness\":16}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#f5f5f5\"},{\"lightness\":21}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#dedede\"},{\"lightness\":21}]},{\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#ffffff\"},{\"lightness\":16}]},{\"elementType\":\"labels.text.fill\",\"stylers\":[{\"saturation\":36},{\"color\":\"#333333\"},{\"lightness\":40}]},{\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#f2f2f2\"},{\"lightness\":19}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#fefefe\"},{\"lightness\":20}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#fefefe\"},{\"lightness\":17},{\"weight\":1.2}]}]");break;case"light-grayscale":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"weight\":\"2.00\"}]},{\"featureType\":\"all\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#9c9c9c\"}]},{\"featureType\":\"all\",\"elementType\":\"labels.text\",\"stylers\":[{\"visibility\":\"on\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#f2f2f2\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"landscape.man_made\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"poi\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":45}]},{\"featureType\":\"road\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#eeeeee\"}]},{\"featureType\":\"road\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#7b7b7b\"}]},{\"featureType\":\"road\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#46bcec\"},{\"visibility\":\"on\"}]},{\"featureType\":\"water\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#c8d7d4\"}]},{\"featureType\":\"water\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#070707\"}]},{\"featureType\":\"water\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#ffffff\"}]}]");break;case"subtle-grayscale":t=JSON.parse("[{\"featureType\":\"administrative\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":\"-100\"}]},{\"featureType\":\"administrative.province\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":65},{\"visibility\":\"on\"}]},{\"featureType\":\"poi\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":\"50\"},{\"visibility\":\"simplified\"}]},{\"featureType\":\"road\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":\"-100\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"all\",\"stylers\":[{\"lightness\":\"30\"}]},{\"featureType\":\"road.local\",\"elementType\":\"all\",\"stylers\":[{\"lightness\":\"40\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"visibility\":\"simplified\"}]},{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"hue\":\"#ffff00\"},{\"lightness\":-25},{\"saturation\":-97}]},{\"featureType\":\"water\",\"elementType\":\"labels\",\"stylers\":[{\"lightness\":-25},{\"saturation\":-100}]}]");break;case"mostly-white":t=JSON.parse("[{\"featureType\":\"administrative\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#6195a0\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#f2f2f2\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"poi\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#e6f3d6\"},{\"visibility\":\"on\"}]},{\"featureType\":\"road\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":45},{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#f4d2c5\"},{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"labels.text\",\"stylers\":[{\"color\":\"#4e4e4e\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#f4f4f4\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#787878\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#eaf6f8\"},{\"visibility\":\"on\"}]},{\"featureType\":\"water\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#eaf6f8\"}]}]");break;case"mostly-green":t=JSON.parse("[{\"featureType\":\"landscape.man_made\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#f7f1df\"}]},{\"featureType\":\"landscape.natural\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#d0e3b4\"}]},{\"featureType\":\"landscape.natural.terrain\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi.business\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi.medical\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#fbd3da\"}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#bde6ab\"}]},{\"featureType\":\"road\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffe15f\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#efd151\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"black\"}]},{\"featureType\":\"transit.station.airport\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#cfb2db\"}]},{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#a2daf2\"}]}]");break;case"neutral-blue":t=JSON.parse("[{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#193341\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#2c5a71\"}]},{\"featureType\":\"road\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#29768a\"},{\"lightness\":-37}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#406d80\"}]},{\"featureType\":\"transit\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#406d80\"}]},{\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#3e606f\"},{\"weight\":2},{\"gamma\":0.84}]},{\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry\",\"stylers\":[{\"weight\":0.6},{\"color\":\"#1a3541\"}]},{\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#2c5a71\"}]}]");break;case"blue-water":t=JSON.parse("[{\"featureType\":\"administrative\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#444444\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#f2f2f2\"}]},{\"featureType\":\"poi\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":45}]},{\"featureType\":\"road.highway\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#46bcec\"},{\"visibility\":\"on\"}]}]");break;case"blue-essense":t=JSON.parse("[{\"featureType\":\"landscape.natural\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#e0efef\"}]},{\"featureType\":\"poi\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"visibility\":\"on\"},{\"hue\":\"#1900ff\"},{\"color\":\"#c0e8e8\"}]},{\"featureType\":\"road\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":100},{\"visibility\":\"simplified\"}]},{\"featureType\":\"road\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit.line\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"on\"},{\"lightness\":700}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#7dcdcd\"}]}]");break;case"golden-brown":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#ff7000\"},{\"lightness\":\"69\"},{\"saturation\":\"100\"},{\"weight\":\"1.17\"},{\"gamma\":\"2.04\"}]},{\"featureType\":\"all\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#cb8536\"}]},{\"featureType\":\"all\",\"elementType\":\"labels\",\"stylers\":[{\"color\":\"#ffb471\"},{\"lightness\":\"66\"},{\"saturation\":\"100\"}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"gamma\":0.01},{\"lightness\":20}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"saturation\":-31},{\"lightness\":-33},{\"weight\":2},{\"gamma\":0.8}]},{\"featureType\":\"all\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"lightness\":\"-8\"},{\"gamma\":\"0.98\"},{\"weight\":\"2.45\"},{\"saturation\":\"26\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":30},{\"saturation\":30}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"saturation\":20}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":20},{\"saturation\":-20}]},{\"featureType\":\"road\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":10},{\"saturation\":-30}]},{\"featureType\":\"road\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"saturation\":25},{\"lightness\":25}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"lightness\":-20},{\"color\":\"#ecc080\"}]}]");break;case"midnight-commander":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":13}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#144b53\"},{\"lightness\":14},{\"weight\":1.4}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#08304b\"}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#0c4152\"},{\"lightness\":5}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#0b434f\"},{\"lightness\":25}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#0b3d51\"},{\"lightness\":16}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#146474\"}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#021019\"}]}]");break;case"shades-of-grey":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"saturation\":36},{\"color\":\"#000000\"},{\"lightness\":40}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#000000\"},{\"lightness\":16}]},{\"featureType\":\"all\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":20}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17},{\"weight\":1.2}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":20}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":21}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":29},{\"weight\":0.2}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":18}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":16}]},{\"featureType\":\"transit\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":19}]},{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17}]}]");break;case"yellow-black":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"on\"}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"saturation\":36},{\"color\":\"#000000\"},{\"lightness\":40}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#000000\"},{\"lightness\":16}]},{\"featureType\":\"all\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":20}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17},{\"weight\":1.2}]},{\"featureType\":\"administrative.country\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#e5c163\"}]},{\"featureType\":\"administrative.locality\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#c4c4c4\"}]},{\"featureType\":\"administrative.neighborhood\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#e5c163\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":20}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":21},{\"visibility\":\"on\"}]},{\"featureType\":\"poi.business\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"on\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#e5c163\"},{\"lightness\":\"0\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#e5c163\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":18}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#575757\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#2c2c2c\"}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":16}]},{\"featureType\":\"road.local\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#999999\"}]},{\"featureType\":\"transit\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":19}]},{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17}]}]");break;case"custom":t=JSON.parse(e.custom_style);break;default:t="";}return t}for(var a=e.find(".wpr-google-map"),s=a.data("settings"),l=a.data("controls"),n=a.data("locations"),o=[],d=new google.maps.LatLngBounds,p=new google.maps.Map(a[0],{mapTypeId:s.type,styles:r(s),zoom:s.zoom_depth,gestureHandling:s.zoom_on_scroll,mapTypeControl:l.type,fullscreenControl:l.fullscreen,zoomControl:l.zoom,streetViewControl:l.streetview}),c=0;c<n.length;c++){var f=n[c],m="",g=f.gm_marker_icon_size_width.size,y=f.gm_marker_icon_size_height.size;if(""!=f.gm_latitude&&""!=f.gm_longtitude){"yes"===f.gm_custom_marker&&(m={url:f.gm_marker_icon.url,scaledSize:new google.maps.Size(g,y)});var w=new google.maps.Marker({map:p,position:new google.maps.LatLng(parseFloat(f.gm_latitude),parseFloat(f.gm_longtitude)),animation:google.maps.Animation[f.gm_marker_animation],icon:m});"none"!==f.gm_show_info_window&&t(w,f),o.push(w),d.extend(w.position)}}if(1<n.length?p.fitBounds(d):p.setCenter(d.getCenter()),"yes"===s.cluster_markers)new MarkerClusterer(p,o,{imagePath:s.clusters_url})},widgetBeforeAfter:function(e){function i(){var e=r.find(".wpr-ba-label-1 div"),t=r.find(".wpr-ba-label-2 div");if(e.length||t.length)if(r.hasClass("wpr-ba-horizontal")){var i=e.position().left+e.outerWidth(),a=t.position().left+t.outerWidth();i+15>=parseInt(l.css("left"),10)?e.stop().css("opacity",0):e.stop().css("opacity",1),r.outerWidth()-(a+15)<=parseInt(l.css("left"),10)?t.stop().css("opacity",0):t.stop().css("opacity",1)}else{var i=e.position().top+e.outerHeight(),a=t.position().top+t.outerHeight();i+15>=parseInt(l.css("top"),10)?e.stop().css("opacity",0):e.stop().css("opacity",1),r.outerHeight()-(a+15)<=parseInt(l.css("top"),10)?t.stop().css("opacity",0):t.stop().css("opacity",1)}}var r=e.find(".wpr-ba-image-container"),a=r.find(".wpr-ba-image-1"),s=r.find(".wpr-ba-image-2"),l=r.find(".wpr-ba-divider"),n=r.attr("data-position");r.hasClass("wpr-ba-horizontal")?(l.css("left",n+"%"),s.css("left",n+"%"),s.find("img").css("right",n+"%"),l.on("move",function(t){var e=t.pageX-r.offset().left;l.css({left:"auto",right:"auto"}),s.css({left:"auto",right:"auto"}),0<e&&e<r.outerWidth()?(l.css("left",e),s.css("left",e),s.find("img").css("right",e)):0>=e?(l.css("left",0),s.css("left",0),s.find("img").css("right",0)):e>=r.outerWidth()&&(l.css("right",-l.outerWidth()/2),s.css("right",0),s.find("img").css("right","100%")),i()})):(l.css("top",n+"%"),s.css("top",n+"%"),s.find("img").css("bottom",n+"%"),l.on("move",function(t){var e=t.pageY-r.offset().top;l.css({top:"auto",bottom:"auto"}),s.css({top:"auto",bottom:"auto"}),0<e&&e<r.outerHeight()?(l.css("top",e),s.css("top",e),s.find("img").css("bottom",e)):0>=e?(l.css("top",0),s.css("top",0),s.find("img").css("bottom",0)):e>=r.outerHeight()&&(l.css("bottom",-l.outerHeight()/2),s.css("bottom",0),s.find("img").css("bottom","100%")),i()})),"mouse"===r.attr("data-trigger")&&r.on("mousemove",function(e){if(r.hasClass("wpr-ba-horizontal")){var a=e.pageX-t(this).offset().left;l.css("left",a),s.css("left",a),s.find("img").css("right",a)}else{var a=e.pageY-t(this).offset().top;l.css("top",a),s.css("top",a),s.find("img").css("bottom",a)}i()}),i()},widgetMailchimp:function(e){var i=e.find("form");i.on("submit",function(r){r.preventDefault();var a=t(this).find("button").text();t(this).find("button").text(t(this).find("button").data("loading")),t.ajax({url:WprConfig.ajaxurl,type:"POST",data:{action:"mailchimp_subscribe",fields:t(this).serialize(),apiKey:i.data("api-key"),listId:i.data("list-id")},success:function(t){i.find("button").text(a),"subscribed"===t.status?e.find(".wpr-mailchimp-success-message").show():e.find(".wpr-mailchimp-error-message").show(),e.find(".wpr-mailchimp-message").fadeIn()}})})},widgetAdvancedSlider:function(e){function i(){var e,t,i=l.find(".wpr-slider-item").outerWidth(),r=l.find(".wpr-slider-item").outerHeight(),a=16/9,s=0,n=0;i/r>a?(t=i,e=t/a,s="-"+(e-r)/2+"px"):(e=r,t=e*a,n="-"+(t-i)/2+"px"),l.find("iframe").css({width:t+"px",height:e+"px","max-width":"none",position:"absolute",left:n+"",top:s+"",display:"block","text-align":"inherit","line-height":"0px","border-width":"0px",margin:"0px",padding:"0px"})}function r(){l.find(".slick-active").each(function(){var e=t(this).attr("data-video-src"),r=t(this).attr("data-video-autoplay");1!==t(this).find(".wpr-slider-video").length&&"yes"===r&&(1==d?t(this).find(".wpr-cv-inner").prepend("<div class=\"wpr-slider-video\"><iframe src=\""+e+"\" width=\"100%\" height=\"100%\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe></div>"):t(this).find(".wpr-cv-container").prepend("<div class=\"wpr-slider-video\"><iframe src=\""+e+"\" width=\"100%\" height=\"100%\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe></div>"),i())})}function a(){1==d&&l.find(".wpr-slider-item").not(".slick-active").find(".wpr-slider-animation").removeClass("wpr-animation-enter")}function s(){l.find(".slick-active").find(".wpr-slider-content").fadeIn(0),1==d&&l.find(".slick-active").find(".wpr-slider-animation").addClass("wpr-animation-enter")}var l=e.find(".wpr-advanced-slider"),n=l.data("slick"),o=e.attr("class"),d=o.match(/wpr-adv-slider-columns-\d/)?o.match(/wpr-adv-slider-columns-\d/).join().slice(-1):2,p=o.match(/columns--widescreen\d/)?o.match(/columns--widescreen\d/).join().slice(-1):d,c=o.match(/columns--laptop\d/)?o.match(/columns--laptop\d/).join().slice(-1):d,f=o.match(/columns--tablet_extra\d/)?o.match(/columns--tablet_extra\d/).join().slice(-1):m,m=o.match(/columns--tablet\d/)?o.match(/columns--tablet\d/).join().slice(-1):2,g=o.match(/columns--mobile_extra\d/)?o.match(/columns--mobile_extra\d/).join().slice(-1):m,y=o.match(/columns--mobile\d/)?o.match(/columns--mobile\d/).join().slice(-1):1,w=+o.match(/wpr-adv-slides-to-scroll-\d/).join().slice(-1),h=l.attr("data-slide-effect");if(l.slick({appendArrows:e.find(".wpr-slider-controls"),appendDots:e.find(".wpr-slider-dots"),customPaging:function(e,t){e.slideCount;return"<span class=\"wpr-slider-dot\"></span>"},slidesToShow:d,responsive:[{breakpoint:1e4,settings:{slidesToShow:p,slidesToScroll:w>p?1:w,fade:1==p&&"fade"===h}},{breakpoint:2399,settings:{slidesToShow:d,slidesToScroll:w>d?1:w,fade:1==d&&"fade"===h}},{breakpoint:1221,settings:{slidesToShow:c,slidesToScroll:w>c?1:w,fade:1==c&&"fade"===h}},{breakpoint:1200,settings:{slidesToShow:f,slidesToScroll:w>f?1:w,fade:1==f&&"fade"===h}},{breakpoint:1024,settings:{slidesToShow:m,slidesToScroll:w>m?1:w,fade:1==m&&"fade"===h}},{breakpoint:880,settings:{slidesToShow:g,slidesToScroll:w>g?1:w,fade:1==g&&"fade"===h}},{breakpoint:768,settings:{slidesToShow:y,slidesToScroll:w>y?1:w,fade:1==y&&"fade"===h}}]}),t(window).on("load resize",function(){i()}),r(),s(),l.find(".wpr-slider-video-btn").on("click",function(){var e=t(this).closest(".slick-active"),r=e.attr("data-video-src");1!==e.find(".wpr-slider-video").length&&(e.find(".wpr-cv-container").prepend("<div class=\"wpr-slider-video\"><iframe src=\""+r+"\" width=\"100%\" height=\"100%\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe></div>"),i(),e.find(".wpr-slider-content").fadeOut(300))}),l.on({beforeChange:function(){l.find(".wpr-slider-item").not(".slick-active").find(".wpr-slider-video").remove(),l.find(".wpr-animation-enter").find(".wpr-slider-content").fadeOut(300),a()},afterChange:function(){s(),r()}}),e.find(".slick-dots").length&&e.hasClass("wpr-slider-dots-horizontal")){var u=e.find(".slick-dots li").outerWidth()*e.find(".slick-dots li").length-parseInt(e.find(".slick-dots li span").css("margin-right"),10);e.find(".slick-dots").length&&e.find(".slick-dots").css("width",u),t(window).on("resize",function(){setTimeout(function(){var t=e.find(".slick-dots li").outerWidth()*e.find(".slick-dots li").length-parseInt(e.find(".slick-dots li span").css("margin-right"),10);e.find(".slick-dots").css("width",t)},300)})}},widgetTestimonialCarousel:function(e){var i=e.find(".wpr-testimonial-carousel"),r=e.attr("class"),a=r.match(/wpr-testimonial-slider-columns-\d/)?r.match(/wpr-testimonial-slider-columns-\d/).join().slice(-1):2,s=r.match(/columns--widescreen\d/)?r.match(/columns--widescreen\d/).join().slice(-1):a,l=r.match(/columns--laptop\d/)?r.match(/columns--laptop\d/).join().slice(-1):a,n=r.match(/columns--tablet_extra\d/)?r.match(/columns--tablet_extra\d/).join().slice(-1):o,o=r.match(/columns--tablet\d/)?r.match(/columns--tablet\d/).join().slice(-1):2,d=r.match(/columns--mobile_extra\d/)?r.match(/columns--mobile_extra\d/).join().slice(-1):o,p=r.match(/columns--mobile\d/)?r.match(/columns--mobile\d/).join().slice(-1):1,c=+r.match(/wpr-adv-slides-to-scroll-\d/).join().slice(-1),f=i.attr("data-slide-effect");if(i.slick({appendArrows:e.find(".wpr-testimonial-controls"),appendDots:e.find(".wpr-testimonial-dots"),customPaging:function(e,t){e.slideCount;return"<span class=\"wpr-testimonial-dot\"></span>"},slidesToShow:a,responsive:[{breakpoint:1e4,settings:{slidesToShow:s,slidesToScroll:c>s?1:c,fade:1==s&&"fade"===f}},{breakpoint:2399,settings:{slidesToShow:a,slidesToScroll:c>a?1:c,fade:1==a&&"fade"===f}},{breakpoint:1221,settings:{slidesToShow:l,slidesToScroll:c>l?1:c,fade:1==l&&"fade"===f}},{breakpoint:1200,settings:{slidesToShow:n,slidesToScroll:c>n?1:c,fade:1==n&&"fade"===f}},{breakpoint:1024,settings:{slidesToShow:o,slidesToScroll:c>o?1:c,fade:1==o&&"fade"===f}},{breakpoint:880,settings:{slidesToShow:d,slidesToScroll:c>d?1:c,fade:1==d&&"fade"===f}},{breakpoint:768,settings:{slidesToShow:p,slidesToScroll:c>p?1:c,fade:1==p&&"fade"===f}}]}),e.hasClass("wpr-testimonial-nav-fade")&&(e.on("mouseover",function(){e.closest("section").find(".wpr-testimonial-arrow").css({opacity:1})}),e.closest("section").on("mouseout",function(){e.find(".wpr-testimonial-arrow").css({opacity:0})})),e.find(".slick-dots").length){var m=e.find(".slick-dots li").outerWidth()*e.find(".slick-dots li").length-parseInt(e.find(".slick-dots li span").css("margin-right"),10);e.find(".slick-dots").css("width",m)}t(window).on("resize",function(){setTimeout(function(){if(e.find(".slick-dots").length){var t=e.find(".slick-dots li").outerWidth()*e.find(".slick-dots li").length-parseInt(e.find(".slick-dots li span").css("margin-right"),10);e.find(".slick-dots").css("width",t)}},300)})},widgetSearch:function(e){e.find(".wpr-search-form-input").on({focus:function(){e.addClass("wpr-search-form-input-focus")},blur:function(){e.removeClass("wpr-search-form-input-focus")}})},widgetAdvancedText:function(e){function i(){var t=e.find(".wpr-clipped-text"),i=t.data("clipped-options"),r=elementorFrontend.getCurrentDeviceMode();if(i){var a=i.longShadowSize,s=i.longShadowSizeTablet,l=i.longShadowSizeMobile;"desktop"===r&&(a=i.longShadowSize),"tablet"===r&&s&&(a=s),"mobile"===r&&l&&(a=l),t.find(".wpr-clipped-text-long-shadow").attr("style","text-shadow:"+f(i.longShadowColor,a,i.longShadowDirection))}}function r(){a(g.find("b")),s(m)}function a(e){e.each(function(){var e=t(this),r=e.text().split(""),a=e.hasClass("wpr-anim-text-visible");for(var s in r){var i=r[s].replace(/ /g,"&nbsp;");r[s]=a?"<i class=\"wpr-anim-text-in\">"+i+"</i>":"<i>"+i+"</i>"}var l=r.join("");e.html(l).css("opacity",1)})}function s(e){e.each(function(){var e=t(this),i=e.find(".wpr-anim-text-inner");if(e.hasClass("wpr-anim-text-type-clip")){var r=i.outerWidth();i.css("width",r)}setTimeout(function(){l(e.find(".wpr-anim-text-visible").eq(0))},T),e.hasClass("wpr-anim-text-type-rotate-1")&&i.find("b").each(function(){t(this).outerWidth()>i.outerWidth()&&i.css("width",t(this).outerWidth())})})}function l(e){var t=p(e);if(!("yes"!==h&&(b++,b===u)))if(e.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-typing")){var i=e.parent(".wpr-anim-text-inner");i.addClass("wpr-anim-text-selected").removeClass("waiting"),setTimeout(function(){i.removeClass("wpr-anim-text-selected"),e.removeClass("wpr-anim-text-visible").addClass("wpr-anim-text-hidden").children("i").removeClass("wpr-anim-text-in").addClass("wpr-anim-text-out")},v),setTimeout(function(){n(t,y)},k)}else if(e.parents(".wpr-anim-text").hasClass("wpr-anim-text-letters")){var r=!!(e.children("i").length>=t.children("i").length);o(e.find("i").eq(0),e,r,y),d(t.find("i").eq(0),t,r,y)}else e.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-clip")?e.parents(".wpr-anim-text-inner").animate({width:"2px"},y,function(){c(e,t),n(t)}):(c(e,t),setTimeout(function(){l(t)},T))}function n(e,t){e.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-typing")?(d(e.find("i").eq(0),e,!1,t),e.addClass("wpr-anim-text-visible").removeClass("wpr-anim-text-hidden")):e.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-clip")&&e.parents(".wpr-anim-text-inner").animate({width:e.outerWidth()},y,function(){setTimeout(function(){l(e)},T)})}function o(e,t,i,r){if(e.removeClass("wpr-anim-text-in").addClass("wpr-anim-text-out"),e.is(":last-child")?i&&setTimeout(function(){l(p(t))},T):setTimeout(function(){o(e.next(),t,i,r)},r),e.is(":last-child")){var a=p(t);c(t,a)}}function d(e,t,i,r){e.addClass("wpr-anim-text-in").removeClass("wpr-anim-text-out"),e.is(":last-child")?(t.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-typing")&&setTimeout(function(){t.parents(".wpr-anim-text-inner").addClass("waiting")},200),!i&&setTimeout(function(){l(t)},T)):setTimeout(function(){d(e.next(),t,i,r)},r)}function p(e){return e.is(":last-child")?e.parent().children().eq(0):e.next()}function c(e,t){e.removeClass("wpr-anim-text-visible").addClass("wpr-anim-text-hidden"),t.removeClass("wpr-anim-text-hidden").addClass("wpr-anim-text-visible")}function f(e,t,r){for(var a="",s=0;s<t;s++)a+="top"===r?"0 -"+s+"px 0 "+e+",":"right"===r?s+"px 0 0 "+e+",":"bottom"===r?"0 "+s+"px 0 "+e+",":"left"===r?"-"+s+"px 0 0 "+e+",":"top-left"===r?"-"+s+"px -"+s+"px 0 "+e+",":"top-right"===r?s+"px -"+s+"px 0 "+e+",":"bottom-left"===r?"-"+s+"px "+s+"px 0 "+e+",":"bottom-right"===r?s+"px "+s+"px 0 "+e+",":s+"px "+s+"px 0 "+e+",";return a=a.slice(0,-1),a}if(e.hasClass("wpr-advanced-text-style-animated")){var m=e.find(".wpr-anim-text"),g=e.find(".wpr-anim-text-letters"),y=m.attr("data-anim-duration"),w=y.split(","),h=m.attr("data-anim-loop"),u=m.find("b").length,b=0;m.find("b").first().addClass("wpr-anim-text-visible");var y=parseInt(w[0],10),T=parseInt(w[1],10),v=500,k=1300;r()}i(),t(window).on("resize",function(){i()})},widgetProgressBar:function(e){function i(e){if(e.length){var i=e.offset().top,r=i+e.outerHeight(),a=t(window).scrollTop(),s=a+t(window).height();return i>t(window).height()&&(i+=50),r>a&&i<s}}function r(){if(i(p)&&p.css({height:y+"%"}),i(d)&&d.css({width:y+"%"}),i(s)){var e=f.circleOffset;o.css({"stroke-dashoffset":e})}(i(p)||i(d)||i(s))&&setTimeout(function(){m.numerator(b)},h)}var a=e.find(".wpr-progress-bar"),s=e.find(".wpr-prbar-circle"),l=s.find(".wpr-prbar-circle-svg"),n=l.find(".wpr-prbar-circle-line"),o=e.find(".wpr-prbar-circle-prline"),d=a.find(".wpr-prbar-hr-line-inner"),p=a.find(".wpr-prbar-vr-line-inner"),c=a.data("options"),f=s.data("circle-options"),m=a.find(".wpr-prbar-counter-value"),g=c.counterValue,y=c.counterValuePersent,w=c.animDuration,h=c.animDelay,u=elementorFrontend.getCurrentDeviceMode(),b={toValue:g,duration:w};"yes"===c.counterSeparator&&(b.delimiter=",");r(),t(window).on("scroll",function(){r()})},widgetImageHotspots:function(e){var i=e.find(".wpr-image-hotspots"),r=i.data("options"),a=i.find(".wpr-hotspot-item"),s=r.tooltipTrigger;"click"===s?(a.on("click",function(){t(this).hasClass("wpr-tooltip-active")?t(this).removeClass("wpr-tooltip-active"):(a.removeClass("wpr-tooltip-active"),t(this).addClass("wpr-tooltip-active")),event.stopPropagation()}),t(window).on("click",function(){a.removeClass("wpr-tooltip-active")})):"hover"===s?a.hover(function(){t(this).toggleClass("wpr-tooltip-active")}):a.addClass("wpr-tooltip-active")},widgetFlipBox:function(e){var i=e.find(".wpr-flip-box"),r=i.data("trigger");"box"===r?(i.find(".wpr-flip-box-front").on("click",function(){t(this).closest(".wpr-flip-box").addClass("wpr-flip-box-active")}),t(window).on("click",function(){0===t(event.target).closest(".wpr-flip-box").length&&i.removeClass("wpr-flip-box-active")})):"btn"==r?(i.find(".wpr-flip-box-btn").on("click",function(){t(this).closest(".wpr-flip-box").addClass("wpr-flip-box-active")}),t(window).on("click",function(){0===t(event.target).closest(".wpr-flip-box").length&&i.removeClass("wpr-flip-box-active")})):"hover"==r&&i.hover(function(){t(this).toggleClass("wpr-flip-box-active")})},widgetContentTicker:function(e){var t=e.find(".wpr-ticker-slider"),i=e.find(".wpr-ticker-marquee"),r=i.data("options"),a=e.attr("class"),s=a.match(/wpr-ticker-slider-columns-\d/)?a.match(/wpr-ticker-slider-columns-\d/).join().slice(-1):2,l=a.match(/columns--widescreen\d/)?a.match(/columns--widescreen\d/).join().slice(-1):s,n=a.match(/columns--laptop\d/)?a.match(/columns--laptop\d/).join().slice(-1):s,o=a.match(/columns--tablet_extra\d/)?a.match(/columns--tablet_extra\d/).join().slice(-1):d,d=a.match(/columns--tablet\d/)?a.match(/columns--tablet\d/).join().slice(-1):2,p=a.match(/columns--mobile_extra\d/)?a.match(/columns--mobile_extra\d/).join().slice(-1):d,c=a.match(/columns--mobile\d/)?a.match(/columns--mobile\d/).join().slice(-1):1,f=t.attr("data-slide-effect"),m="hr-slide"===f&&a.match(/wpr-ticker-slides-to-scroll-\d/)?+a.match(/wpr-ticker-slides-to-scroll-\d/).join().slice(-1):1;t.slick({appendArrows:e.find(".wpr-ticker-slider-controls"),slidesToShow:s,responsive:[{breakpoint:1e4,settings:{slidesToShow:"typing"===f||"fade"===f?1:l,slidesToScroll:m>l?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:2399,settings:{slidesToShow:"typing"===f||"fade"===f?1:s,slidesToScroll:m>s?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:1221,settings:{slidesToShow:"typing"===f||"fade"===f?1:n,slidesToScroll:m>n?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:1200,settings:{slidesToShow:"typing"===f||"fade"===f?1:o,slidesToScroll:m>o?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:1024,settings:{slidesToShow:"typing"===f||"fade"===f?1:d,slidesToScroll:m>d?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:880,settings:{slidesToShow:"typing"===f||"fade"===f?1:p,slidesToScroll:m>p?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:768,settings:{slidesToShow:"typing"===f||"fade"===f?1:c,slidesToScroll:m>c?1:m,fade:!("typing"!==f&&"fade"!==f)}}]}),i.marquee(r)},widgetTabs:function(e){function i(e){var t=l.eq(e),i=o.eq(e),r="auto";n.css({height:n.outerHeight(!0)}),l.removeClass("wpr-tab-active"),t.addClass("wpr-tab-active"),o.removeClass("wpr-tab-content-active wpr-animation-enter"),r=i.outerHeight(!0),r+=parseInt(n.css("border-top-width"))+parseInt(n.css("border-bottom-width")),i.addClass("wpr-tab-content-active wpr-animation-enter"),n.css({height:r}),setTimeout(function(){n.css({height:"auto"})},500)}function r(){l.on("click",function(){var e=t(this).data("tab")-1;clearInterval(f),i(e)})}function a(){l.hover(function(){var e=t(this).data("tab")-1;clearInterval(f),i(e)})}var s=t(".wpr-tabs",e).first(),l=t(".wpr-tabs-wrap",s).first(),n=t(".wpr-tabs-content-wrap",s).first(),l=t("> .wpr-tab",l),o=t("> .wpr-tab-content",n),d=s.data("options"),p=d.activeTab-1;if(l.eq(p).addClass("wpr-tab-active"),o.eq(p).addClass("wpr-tab-content-active wpr-animation-enter"),d.autoplay)var c=d.activeTab-1,f=setInterval(function(){c<l.length-1?c++:c=0,i(c)},d.autoplaySpeed);"hover"===d.trigger?a():r()},widgetContentToogle:function(e){function i(t){if(!e.hasClass("wpr-switcher-label-style-outer")){var i=100/d.length;o.css({width:i+"%",left:t*i+"%"})}}function r(t){var r=d.eq(t),a=p.eq(t),l="auto";i(t),e.hasClass("wpr-switcher-label-style-outer")||(d.removeClass("wpr-switcher-active"),r.addClass("wpr-switcher-active"),e.hasClass("wpr-switcher-style-dual")&&s.attr("data-active-switcher",t+1)),n.css({height:n.outerHeight(!0)}),p.removeClass("wpr-switcher-content-active wpr-animation-enter"),l=a.outerHeight(!0),l+=parseInt(n.css("border-top-width"))+parseInt(n.css("border-bottom-width")),a.addClass("wpr-switcher-content-active wpr-animation-enter"),n.css({height:l}),setTimeout(function(){n.css({height:"auto"})},500)}var a=t(".wpr-content-toggle",e).first(),s=t(".wpr-switcher-container",a).first(),l=t(".wpr-switcher-wrap",a).first(),n=t(".wpr-switcher-content-wrap",a).first(),o=t("> .wpr-switcher-bg",l),d=t("> .wpr-switcher",l),p=t("> .wpr-switcher-content",n),c=parseInt(s.data("active-switcher"))-1;d.eq(c).addClass("wpr-switcher-active"),p.eq(c).addClass("wpr-switcher-content-active wpr-animation-enter"),i(c),function(){e.hasClass("wpr-switcher-label-style-outer")?l.on("click",function(){var e=l.find(".wpr-switcher-active");1===parseInt(e.data("switcher"),10)?(l.children(".wpr-switcher").eq(0).removeClass("wpr-switcher-active"),l.children(".wpr-switcher").eq(1).addClass("wpr-switcher-active"),l.closest(".wpr-switcher-container").attr("data-active-switcher",2),r(1)):2===parseInt(e.data("switcher"),10)&&(l.children(".wpr-switcher").eq(1).removeClass("wpr-switcher-active"),l.children(".wpr-switcher").eq(0).addClass("wpr-switcher-active"),l.closest(".wpr-switcher-container").attr("data-active-switcher",1),r(0))}):d.on("click",function(){var e=t(this).data("switcher")-1;r(e)})}()},widgetBackToTop:function(e){function i(e,t,i){e>i.animationOffset?"fade"===i.animation?r.stop().css("visibility","visible").animate({opacity:"1"},i.animationDuration):"slide"===i.animation?r.stop().css("visibility","visible").animate({opacity:"1","margin-bottom":0},i.animationDuration):r.css("visibility","visible"):"fade"===i.animation?r.stop().animate({opacity:"0"},i.animationDuration):"slide"===i.animation?r.stop().animate({"margin-bottom":"-100px",opacity:"0"},i.animationDuration):r.css("visibility","hidden")}var r=e.find(".wpr-stt-btn"),a=r.attr("data-settings");a=JSON.parse(a),"fixed"===a.fixed&&("none"!==a.animation&&(r.css({opacity:"0"}),"slide"===a.animation&&r.css({"margin-bottom":"-100px"})),i(t(window).scrollTop(),r,a),t(window).scroll(function(){i(t(this).scrollTop(),r,a)})),r.on("click",function(){return t("html, body").animate({scrollTop:0},a.scrolAnim),!1})},widgetLottieAnimations:function(e){var i=e.find(".wpr-lottie-animations"),r=e.find(".wpr-lottie-animations-wrapper"),a=JSON.parse(i.attr("data-settings")),s=lottie.loadAnimation({container:i[0],path:i.attr("data-json-url"),renderer:a.lottie_renderer,loop:!("yes"!==a.loop),autoplay:!("yes"!==a.autoplay)});s.setSpeed(a.speed),a.reverse&&s.setDirection(-1),s.addEventListener("DOMLoaded",function(){function e(){if(s.pause(),"function"==typeof i[0].getBoundingClientRect){var e=document.documentElement.clientHeight,r=100*(i[0].getBoundingClientRect().top/e),l=100*(i[0].getBoundingClientRect().bottom/e),n=r<a.scroll_end,o=l>a.scroll_start;if("viewport"===a.trigger&&(o&&n?s.play():s.pause()),"scroll"===a.trigger&&o&&n){s.pause();var d=100*t(window).scrollTop()/(t(document).height()-t(window).height()),p=Math.round(d);s.goToAndStop(4e3*(p/100))}}}"hover"!==a.trigger&&"none"!==a.trigger&&(e("load"),t(window).on("scroll",e)),"hover"===a.trigger&&(s.pause(),i.hover(function(){s.play()},function(){s.pause()}))})},widgetPostsTimeline:function(i){function r(){i.find(".wpr-centered").length&&(767>=window.innerWidth?(i.find(".wpr-wrapper .wpr-timeline-centered").removeClass("wpr-both-sided-timeline").addClass("wpr-one-sided-timeline").addClass("wpr-remove-one-sided-later"),i.find(".wpr-wrapper .wpr-left-aligned").removeClass("wpr-left-aligned").addClass("wpr-right-aligned").addClass("wpr-remove-right-aligned-later")):(i.find(".wpr-wrapper .wpr-timeline-centered.wpr-remove-one-sided-later").removeClass("wpr-one-sided-timeline").addClass("wpr-both-sided-timeline").removeClass("wpr-remove-one-sided-later"),i.find(".wpr-wrapper .wpr-remove-right-aligned-later").removeClass("wpr-right-aligned").addClass("wpr-left-aligned").removeClass("wpr-remove-right-aligned-later")))}function a(e,r){if(i.find(".wpr-timeline-fill").length&&(0<i.find(".wpr-timeline-entry:eq(0)").prev(".wpr-year-wrap").length&&(r=i.find(".wpr-year-label").eq(0)),p.length)){var a=p.css("height").slice(0,-2),s=document.documentElement.scrollTop,l=document.documentElement.clientHeight/2;s+l-r.offset().top>e.offset().top-r.offset().top+parseInt(e.css("height").slice(0,-2))||p.css("height",s+l-r.offset().top+"px"),i.find(".wpr-main-line-icon.wpr-icon").each(function(){t(this).offset().top<parseInt(r.offset().top+parseInt(a))?t(this).addClass("wpr-change-border-color"):t(this).removeClass("wpr-change-border-color")})}}function s(e,t,r,a,s){if(s=i.find(".wpr-timeline-centered"),i.find(".wpr-both-sided-timeline").length||i.find(".wpr-one-sided-timeline").length||i.find(".wpr-one-sided-timeline-left").length){0<i.find(".wpr-timeline-entry:eq(0)").prev(".wpr-year-wrap").length&&(a=i.find(".wpr-year-label").eq(0));var l=a.offset().top,n=r.offset().top,o=l-s.offset().top+"px",d=n-l+parseInt(r.css("height").slice(0,-2));e.css("top",o),e.css("height",d),""===t?"":t.css("top",o)}}var l=0<i.find(".wpr-timeline-centered").length?i.find(".wpr-timeline-centered"):"",n=0<i.find(".wpr-timeline-centered").length?i.find(".wpr-timeline-centered"):"",o=0<i.find(".wpr-grid-pagination").length?i.find(".wpr-grid-pagination"):"",d=0<i.find(".wpr-middle-line").length?i.find(".wpr-middle-line"):"",p=0<i.find(".wpr-timeline-fill").length?i.find(".wpr-timeline-fill"):"",c=0<i.find(".wpr-main-line-icon.wpr-icon:last").length?i.find(".wpr-main-line-icon.wpr-icon:last"):"",f=0<i.find(".wpr-main-line-icon.wpr-icon").length?i.find(".wpr-main-line-icon.wpr-icon").first():"",m=".elementor-element-"+i.attr("data-id"),g=i.find(".wpr-story-info-vertical").attr("data-animation-offset")?+i.find(".wpr-story-info-vertical").attr("data-animation-offset"):"",y=i.find(".wpr-story-info-vertical").attr("data-animation-duration")?+i.find(".wpr-story-info-vertical").attr("data-animation-duration"):"";if(0<i.find(".wpr-timeline-centered").length&&(t(window).resize(function(){r()}),t(window).smartresize(function(){r()}),setTimeout(function(){r(),t(window).trigger("resize")},500),s(d,p,c,f,n),setTimeout(function(){s(d,p,c,f,n),t(window).trigger("resize")},500),t(window).smartresize(function(){s(d,p,c,f,n)}),t(window).resize(function(){s(d,p,c,f,n)}),"load-more"!==l.attr("data-pagination")&&i.find(".wpr-grid-pagination").css("visibility","hidden"),AOS.init({offset:parseInt(g),duration:y,once:!0}),a(c,f),t(window).on("scroll",function(){a(c,f)}),!i.find(".elementor-repeater-items").length&&!e.editorCheck()&&("load-more"===i.find(".wpr-timeline-centered").data("pagination")||"infinite-scroll"===i.find(".wpr-timeline-centered").data("pagination")))){var w=(void 0===l||"load-more"!==l.attr("data-pagination"))&&10;l.infiniteScroll({path:m+" .wpr-grid-pagination a",hideNav:!1,append:m+".wpr-timeline-entry",history:!1,scrollThreshold:w,status:m+" .page-load-status"}),l.on("request.infiniteScroll",function(){i.find(".wpr-load-more-btn").hide(),i.find(".wpr-pagination-loading").css("display","inline-block")});var h=0;l.on("load.infiniteScroll",function(e,r){h++;var w=t(r).find(m).find(".wpr-timeline-entry");l.infiniteScroll("appendItems",w),i.find(".wpr-one-sided-timeline").length||i.find(".wpr-one-sided-timeline-left").length||(i.find(".wpr-timeline-entry").each(function(e){t(this).removeClass("wpr-right-aligned wpr-left-aligned"),0==e%2?(t(this).addClass("wpr-left-aligned"),t(this).find(".wpr-story-info-vertical").attr("data-aos",t(this).find(".wpr-story-info-vertical").attr("data-aos-left"))):(t(this).addClass("wpr-right-aligned"),t(this).find(".wpr-story-info-vertical").attr("data-aos",t(this).find(".wpr-story-info-vertical").attr("data-aos-right")))}),AOS.init({offset:parseInt(g),duration:y,once:!0})),t(window).scroll(),i.find(".wpr-pagination-loading").hide(),l.data("max-pages")-1===h?(i.find(".wpr-pagination-finish").fadeIn(1e3),o.delay(2e3).fadeOut(1e3)):"load-more"===l.attr("data-pagination")&&i.find(".wpr-load-more-btn").fadeIn(),d=i.find(".wpr-middle-line"),p=i.find(".wpr-timeline-fill"),c=i.find(".wpr-main-line-icon.wpr-icon:last"),f=i.find(".wpr-main-line-icon.wpr-icon").first(),n=i.find(".wpr-timeline-centered"),s(d,p,c,f,n),t(window).trigger("resize"),a(c,f)}),e.editorCheck()||(i.find(".wpr-load-more-btn").on("click",function(){return l.infiniteScroll("loadNextPage"),!1}),"infinite-scroll"==l.attr("data-pagination")&&l.infiniteScroll("loadNextPage"))}if(i.find(".swiper-wrapper").length){var u=function(e,t){if("undefined"==typeof Swiper){var i=elementorFrontend.utils.swiper;return new i(e,t).then(function(e){return e})}return b(e,t)},b=function(e,t){return new Promise(function(i){var r=new Swiper(e,t);i(r)})},T=i.find(".wpr-horizontal-bottom").length?".wpr-horizontal-bottom":".wpr-horizontal",v=i.find(T+".swiper-container"),k=v.data("slidestoshow");u(v,{spaceBetween:+v.data("swiper-space-between"),autoplay:"yes"===v.data("autoplay"),delay:+v.attr("data-swiper-delay"),speed:+v.attr("data-swiper-speed"),slidesPerView:v.data("slidestoshow"),direction:"horizontal",pagination:{el:".wpr-swiper-pagination",type:"progressbar"},navigation:{nextEl:".wpr-button-next",prevEl:".wpr-button-prev"},breakpoints:{320:{slidesPerView:1},480:{slidesPerView:2},740:{slidesPerView:k}}})}},widgetSharingButtons:function(e){e.find(".wpr-sharing-print").on("click",function(t){t.preventDefault(),window.print()}),e.find(".wpr-sharing-pinterest-p")},editorCheck:function(){return!!t("body").hasClass("elementor-editor-active")}};t(window).on("elementor/frontend/init",e.init)})(jQuery,window.elementorFrontend),function(e,t){var i=function(e,t,i){var r;return function(){var a=this,s=arguments;r?clearTimeout(r):i&&e.apply(a,s),r=setTimeout(function(){i||e.apply(a,s),r=null},t||100)}};jQuery.fn[t]=function(e){return e?this.bind("resize",i(e)):this.trigger(t)}}(jQuery,"smartresize");
1
+ (function(t){"use strict";var e={init:function(){var i={"wpr-nav-menu.default":e.widgetNavMenu,"wpr-onepage-nav.default":e.OnepageNav,"wpr-grid.default":e.widgetGrid,"wpr-magazine-grid.default":e.widgetMagazineGrid,"wpr-media-grid.default":e.widgetGrid,"wpr-woo-grid.default":e.widgetGrid,"wpr-featured-media.default":e.widgetFeaturedMedia,"wpr-product-media.default":e.widgetProductMedia,"wpr-countdown.default":e.widgetCountDown,"wpr-google-maps.default":e.widgetGoogleMaps,"wpr-before-after.default":e.widgetBeforeAfter,"wpr-mailchimp.default":e.widgetMailchimp,"wpr-advanced-slider.default":e.widgetAdvancedSlider,"wpr-testimonial.default":e.widgetTestimonialCarousel,"wpr-search.default":e.widgetSearch,"wpr-advanced-text.default":e.widgetAdvancedText,"wpr-progress-bar.default":e.widgetProgressBar,"wpr-image-hotspots.default":e.widgetImageHotspots,"wpr-flip-box.default":e.widgetFlipBox,"wpr-content-ticker.default":e.widgetContentTicker,"wpr-tabs.default":e.widgetTabs,"wpr-content-toggle.default":e.widgetContentToogle,"wpr-back-to-top.default":e.widgetBackToTop,"wpr-lottie-animations.default":e.widgetLottieAnimations,"wpr-posts-timeline.default":e.widgetPostsTimeline,"wpr-sharing-buttons.default":e.widgetSharingButtons,global:e.widgetSection,"wpr-post-media.default":e.widgetPostMedia};t.each(i,function(e,t){window.elementorFrontend.hooks.addAction("frontend/element_ready/"+e,t)})},widgetPostMedia:function(i){var r=i.find(".wpr-gallery-slider"),a=r.attr("data-slick");r.animate({opacity:"1"},1e3),"[]"!==a&&r.slick({appendDots:i.find(".wpr-gallery-slider-dots"),customPaging:function(e,t){e.slideCount;return"<span class=\"wpr-gallery-slider-dot\"></span>"}});var s=t(".wpr-featured-media-image").attr("data-lightbox");if(typeof s!=typeof void 0&&!1!==s&&!e.editorCheck()){var l=i.find(".wpr-featured-media-wrap");s=JSON.parse(s),l.lightGallery(s),l.on("onAferAppendSlide.lg, onAfterSlide.lg",function(){var e=t("#lg-actual-size, #lg-zoom-in, #lg-zoom-out, #lg-download"),i=t("#lg-download").attr("href");t("#lg-download").length&&(-1===i.indexOf("wp-content")?e.addClass("wpr-hidden-element"):e.removeClass("wpr-hidden-element")),""===s.autoplay&&t(".lg-autoplay-button").css({width:"0",height:"0",overflow:"hidden"})})}},widgetSection:function(i){function r(t){var r=JSON.parse(t),a=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-quantity"):i.attr("wpr-quantity"),s=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-color")?i.find(".wpr-particle-wrapper").attr("wpr-color"):"#000000":i.attr("wpr-color")||"#000000",l=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-speed"):i.attr("wpr-speed"),n=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-shape"):i.attr("wpr-shape"),o=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-size"):i.attr("wpr-size");return r.particles.size.value=o,r.particles.number.value=a,r.particles.color.value=s,r.particles.shape.type=n,r.particles.line_linked.color=s,r.particles.move.speed=l,r}if(function(){function e(){if(document.querySelector(".wpr-mybar")){var e=document.body.scrollTop||document.documentElement.scrollTop,t=document.documentElement.scrollHeight-document.documentElement.clientHeight;document.querySelector("#wpr-mybar").style.width=100*(e/t)+"%"}}e(),window.onscroll=function(){e()},t("#wpadminbar").length&&t(".wpr-reading-progress-bar-container").length&&0===t(".wpr-reading-progress-bar-container").position().top&&t(".wpr-reading-progress-bar-container").css("top"," 32px")}(),(i.attr("data-wpr-particles")||i.find(".wpr-particle-wrapper").attr("data-wpr-particles-editor"))&&function(){var a=i.data("element_type"),s=i.data("id"),l=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("data-wpr-particles-editor"):i.attr("data-wpr-particles");"section"===a&&void 0!==l&&(e.editorCheck()?i.hasClass("wpr-particle-yes")?(particlesJS("wpr-particle-"+s,"wpr_particle_json_custom"==i.find(".wpr-particle-wrapper").attr("particle-source")?JSON.parse(l):r(l)),i.find(".elementor-column").css("z-index",9),t(window).trigger("resize")):i.find(".wpr-particle-wrapper").remove():(i.prepend("<div class=\"wpr-particle-wrapper\" id=\"wpr-particle-"+s+"\"></div>"),particlesJS("wpr-particle-"+s,"wpr_particle_json_custom"==i.attr("particle-source")?JSON.parse(l):r(l))))}(),(i.hasClass("wpr-jarallax")||i.hasClass("wpr-jarallax-yes"))&&function(){i.hasClass("wpr-jarallax-yes")&&(!e.editorCheck()&&i.hasClass("wpr-jarallax")?(i.css("background-image","url(\""+i.attr("bg-image")+"\")"),i.jarallax({type:i.attr("scroll-effect"),speed:i.attr("speed-data")})):e.editorCheck()&&(i.css("background-image","url(\""+i.find(".wpr-jarallax").attr("bg-image-editor")+"\")"),i.jarallax({type:i.find(".wpr-jarallax").attr("scroll-effect-editor"),speed:i.find(".wpr-jarallax").attr("speed-data-editor")})))}(),i.hasClass("wpr-parallax-yes")&&function(){if(i.hasClass("wpr-parallax-yes")){var r=document.getElementsByClassName("wpr-parallax-multi-layer"),a=Array.from(r).map(e=>new Parallax(e,{invertY:"yes"==e.getAttribute("direction"),invertX:"yes"==e.getAttribute("direction"),scalarX:e.getAttribute("scalar-speed"),scalarY:e.getAttribute("scalar-speed"),hoverOnly:!0,pointerEvents:!0}));a.forEach(e=>{e.friction(.2,.2)})}if(!e.editorCheck()){var s=[];document.querySelectorAll(".wpr-parallax-multi-layer").forEach(e=>{e.parentElement.style.position="relative",e.style.position="absolute",s.push(e),e.remove()}),document.querySelectorAll(".wpr-parallax-ml-children").forEach(e=>{e.style.position="absolute",e.style.top=e.getAttribute("style-top"),e.style.left=e.getAttribute("style-left")}),t(".wpr-parallax-yes").each(function(e){t(this).append(s[e])})}}(),i.hasClass("wpr-sticky-section-yes")){function r(){if(!i.hasClass("wpr-sticky-section-yes")||!i.find(".wpr-sticky-section-yes-editor"))return void(a="static");var e=[],t=[["mobile_sticky",768],["mobile_extra_sticky",881],["tablet_sticky",1025],["tablet_extra_sticky",1201],["laptop_sticky",1216],["desktop_sticky",2400],["widescreen_sticky",4e3]].filter(e=>-1!=c.indexOf(e[0])).reverse();t.forEach((t,i)=>{t[1]>d&&-1===p.indexOf(t[0])?(a=-1===c?.indexOf(t[0])?e[i-1]?e[i-1]:l:"static",e[i]=a):t[1]>d&&-1!==p.indexOf(t[0])&&(a=l)}),h()}function h(){var e=+window.innerHeight-(+i.css("top").slice(0,-2)+i.height()),t=+window.innerHeight-(+i.css("bottom").slice(0,-2)+i.height());"top"===n?(i.css({position:a}),""!==g&&g.css({position:a,top:o+"px",bottom:"auto","z-index":y,width:"100%"})):(i.css({position:a}),""!==g&&(g=g.find(".wpr-sticky-section-yes"),g.css({position:a,bottom:o+"px",top:"auto","z-index":y,width:"100%"})))}function u(){t("#wpadminbar").length&&(s=t("#wpadminbar").css("height").slice(0,t("#wpadminbar").css("height").length-2),"top"===n&&("fixed"==i.css("position")||"sticky"==i.css("position"))&&(i.css("top",+s+m+"px"),i.css("bottom","auto")))}var a,s,l=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-position-type"):i.attr("data-wpr-position-type"),n=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-position-location"):i.attr("data-wpr-position-location"),o=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-position-offset"):i.attr("data-wpr-position-offset"),d=t("body").prop("clientWidth")+17,p=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-sticky-devices"):i.attr("data-wpr-sticky-devices"),c=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-active-breakpoints"):i.attr("data-wpr-active-breakpoints"),f=!!(i.hasClass("wpr-sticky-section-yes")||i.find(".wpr-sticky-section-yes-editor")),m=+i.css("top").slice(0,-2),g=i.closest("div[data-elementor-type=\"wp-post\"]").length?i.closest("div[data-elementor-type=\"wp-post\"]"):"",y=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-z-index"):i.attr("data-wpr-z-index");if(i.find(".wpr-sticky-section-yes-editor").length||(l=i.attr("data-wpr-position-type"),n=i.attr("data-wpr-position-location"),o=i.attr("data-wpr-position-offset"),p=i.attr("data-wpr-sticky-devices"),c=i.attr("data-wpr-active-breakpoints"),y=i.attr("data-wpr-z-index")),0==p.length&&(l="static"),e.editorCheck()&&p){var w=i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-sticky-devices");i.attr("data-wpr-sticky-devices",w),p=i.attr("data-wpr-sticky-devices")}r(),u(),t(window).resize(function(){d=t("body").prop("clientWidth")+17,r()}),f||(a="static")}},widgetNavMenu:function(i){function r(){if(i.hasClass("wpr-mobile-menu-full-width")&&i.closest(".elementor-column").length){var e=i.closest(".elementor-column"),t=i.closest(".elementor-top-section").outerWidth()-2*d.offset().left,r=e.offset().left+parseInt(e.css("padding-left"),10);d.css({width:t+"px",left:-r+"px"})}}function a(e,t){!0===t?i.hasClass("wpr-sub-menu-fx-slide")?e.stop().slideDown():e.stop().fadeIn():i.hasClass("wpr-sub-menu-fx-slide")?e.stop().slideUp():e.stop().fadeOut()}var s=i.find(".wpr-nav-menu-container"),l=i.find(".wpr-mobile-nav-menu-container"),n=s.find(".wpr-nav-menu > li.menu-item-has-children"),o=s.find(".wpr-sub-menu li.menu-item-has-children");"click"===s.attr("data-trigger")?(n.children("a").on("click",function(r){var e=t(this).parent(),l=e.children(".wpr-sub-menu");n.not(e).removeClass("wpr-sub-open"),(s.hasClass("wpr-nav-menu-horizontal")||s.hasClass("wpr-nav-menu-vertical")&&i.hasClass("wpr-sub-menu-position-absolute"))&&a(n.children(".wpr-sub-menu"),!1),e.hasClass("wpr-sub-open")?(e.removeClass("wpr-sub-open"),a(l,!1)):(r.preventDefault(),e.addClass("wpr-sub-open"),a(l,!0))}),o.on("click",function(i){var e=t(this),r=e.children(".wpr-sub-menu");s.hasClass("wpr-nav-menu-horizontal")&&a(o.find(".wpr-sub-menu"),!1),e.hasClass("wpr-sub-open")?a(r,!1):(i.preventDefault(),a(r,!0))}),t(document).mouseup(function(t){n.is(t.target)||0!==n.has(t.target).length||(n.not().removeClass("wpr-sub-open"),a(n.children(".wpr-sub-menu"),!1)),o.is(t.target)||0!==o.has(t.target).length||(o.removeClass("wpr-sub-open"),a(o.children(".wpr-sub-menu"),!1))})):(n.on("mouseenter",function(){s.hasClass("wpr-nav-menu-vertical")&&i.hasClass("wpr-sub-menu-position-absolute")&&s.find("li").not(this).children(".wpr-sub-menu").hide(),a(t(this).children(".wpr-sub-menu"),!0)}),o.on("mouseenter",function(){a(t(this).children(".wpr-sub-menu"),!0)}),s.hasClass("wpr-nav-menu-horizontal")?(n.on("mouseleave",function(){a(t(this).children(".wpr-sub-menu"),!1)}),o.on("mouseleave",function(){a(t(this).children(".wpr-sub-menu"),!1)})):s.on("mouseleave",function(){a(t(this).find(".wpr-sub-menu"),!1)}));var d=l.find(".wpr-mobile-nav-menu");l.find(".wpr-mobile-toggle").on("click",function(){t(this).toggleClass("wpr-mobile-toggle-fx"),t(this).hasClass(".wpr-mobile-toggle-open")?(t(this).removeClass(".wpr-mobile-toggle-open"),t(this).trigger("focusout"),t(this).find(".wpr-mobile-toggle-text").length&&(t(this).children().eq(1).hide(),t(this).children().eq(0).show())):(t(this).addClass(".wpr-mobile-toggle-open"),t(this).find(".wpr-mobile-toggle-text").length&&(t(this).children().eq(0).hide(),t(this).children().eq(1).show())),t(this).parent().next().stop().slideToggle(),r()}),d.find(".sub-menu").removeClass("wpr-sub-menu").addClass("wpr-mobile-sub-menu"),d.find(".menu-item-has-children").children("a").on("click",function(i){var e=t(this).closest("li");e.hasClass("wpr-mobile-sub-open")?(e.removeClass("wpr-mobile-sub-open"),e.children(".wpr-mobile-sub-menu").first().stop().slideUp()):(i.preventDefault(),e.addClass("wpr-mobile-sub-open"),e.children(".wpr-mobile-sub-menu").first().stop().slideDown())}),r(),t(window).smartresize(function(){r()})},OnepageNav:function(e){function i(i){"yes"!==e.find(".wpr-onepage-nav").attr("data-highlight")||(e.find(".wpr-onepage-nav-item").children("a").removeClass("wpr-onepage-active-item"),t(".elementor-section").each(function(){var r=t(this).offset().top,a=r+t(this).outerHeight();i>=r&&i<a&&e.find(".wpr-onepage-nav-item").children("a[href=\"#"+t(this).attr("id")+"\"]").addClass("wpr-onepage-active-item")}))}e.find(".wpr-onepage-nav-item").on("click",function(e){e.preventDefault();var r=t(t(this).find("a").attr("href")),a=parseInt(t(this).parent().attr("data-speed"),10);t("body").animate({scrollTop:r.offset().top},a),i(t(window).scrollTop())}),"yes"===e.find(".wpr-onepage-nav").attr("data-highlight")&&setTimeout(function(){t(window).scroll()},10),t(window).scroll(function(){i(t(this).scrollTop())})},widgetGrid:function(r){function a(){if(r.find(".wpr-sharing-trigger").length){var e=r.find(".wpr-sharing-trigger"),i=r.find(".wpr-post-sharing-inner"),a=5;i.first().find("a").each(function(){a+=t(this).outerWidth()+parseInt(t(this).css("margin-right"),10)});var s=parseInt(i.find("a").css("margin-right"),10);"left"===e.attr("data-direction")?(i.css("width",a+"px"),i.css("left",-(s+a)+"px")):"right"===e.attr("data-direction")?(i.css("width",a+"px"),i.css("right",-(s+a)+"px")):"top"===e.attr("data-direction")?(i.find("a").css({"margin-right":"0","margin-top":s+"px"}),i.css({top:-s+"px",left:"50%","-webkit-transform":"translate(-50%, -100%)",transform:"translate(-50%, -100%)"})):"right"===e.attr("data-direction")?(i.css("width",a+"px"),i.css({left:s+"px"})):"bottom"===e.attr("data-direction")&&(i.find("a").css({"margin-right":"0","margin-bottom":s+"px"}),i.css({bottom:-s+"px",left:"50%","-webkit-transform":"translate(-50%, 100%)",transform:"translate(-50%, 100%)"})),"click"===e.attr("data-action")?e.on("click",function(){var e=t(this).next();"hidden"===e.css("visibility")?(e.css("visibility","visible"),e.find("a").css({opacity:"1",top:"0"}),setTimeout(function(){e.find("a").addClass("wpr-no-transition-delay")},100*e.find("a").length)):(e.find("a").removeClass("wpr-no-transition-delay"),e.find("a").css({opacity:"0",top:"-5px"}),setTimeout(function(){e.css("visibility","hidden")},100*e.find("a").length))}):(e.on("mouseenter",function(){var e=t(this).next();e.css("visibility","visible"),e.find("a").css({opacity:"1",top:"0"}),setTimeout(function(){e.find("a").addClass("wpr-no-transition-delay")},100*e.find("a").length)}),r.find(".wpr-grid-item-sharing").on("mouseleave",function(){var e=t(this).find(".wpr-post-sharing-inner");e.find("a").removeClass("wpr-no-transition-delay"),e.find("a").css({opacity:"0",top:"-5px"}),setTimeout(function(){e.css("visibility","hidden")},100*e.find("a").length)}))}}function s(){"yes"!==p.find(".wpr-grid-media-wrap").attr("data-overlay-link")||e.editorCheck()||(p.find(".wpr-grid-media-wrap").css("cursor","pointer"),p.find(".wpr-grid-media-wrap").on("click",function(e){var i=e.target.className;if(-1!==i.indexOf("inner-block")||-1!==i.indexOf("wpr-cv-inner")||-1!==i.indexOf("wpr-grid-media-hover")){e.preventDefault();var r=t(this).find(".wpr-grid-media-hover-bg").attr("data-url"),r=r.replace("#new_tab","");"_blank"===p.find(".wpr-grid-item-title a").attr("target")?window.open(r,"_blank").focus():window.location.href=r}}))}function l(i){if(-1!==r.find(".wpr-grid-item-lightbox").length){var a=r.find(".wpr-grid-item-lightbox"),s=a.find(".wpr-grid-lightbox-overlay").first();a.each(function(){var e=t(this).find(".inner-block > span").attr("data-src"),i=t(this).closest("article").not(".slick-cloned");p.hasClass("wpr-media-grid")||i.find(".wpr-grid-image-wrap").attr("data-src",e);var r=i.find(".wpr-grid-image-wrap").attr("data-src");typeof r!="undefined"&&!1!==r&&-1===r.indexOf("wp-content")&&i.find(".wpr-grid-image-wrap").attr("data-iframe","true")}),p.lightGallery(i.lightbox),p.on("onAfterOpen.lg",function(){t(".lg-outer").find(".lg-thumb-item").length&&t(".lg-outer").find(".lg-thumb-item").each(function(){var e=t(this).find("img").attr("src"),i=e,r=e.lastIndexOf("."),a=e.slice(r),s=e.lastIndexOf("-"),l=!!/\d{3,}x\d{3,}/.test(e.substring(r,s))&&e.substring(r,s);42<=e.substring(r,s).length&&(l=""),""!==l&&(!1===l?i=[e.slice(0,r),"-150x150",e.slice(r)].join(""):i=e.replace(l,"-150x150")),t(this).find("img").attr("src",i)})}),r.find(".wpr-grid").on("onAferAppendSlide.lg, onAfterSlide.lg",function(){var e=t("#lg-actual-size, #lg-zoom-in, #lg-zoom-out, #lg-download"),r=t("#lg-download").attr("href");t("#lg-download").length&&(-1===r.indexOf("wp-content")?e.addClass("wpr-hidden-element"):e.removeClass("wpr-hidden-element")),""===i.lightbox.autoplay&&t(".lg-autoplay-button").css({width:"0",height:"0",overflow:"hidden"})}),s.length?(r.find(".wpr-grid-media-hover-bg").after(s.remove()),r.find(".wpr-grid-lightbox-overlay").on("click",function(){e.editorCheck()?alert("Lightbox is Disabled in the Editor!"):t(this).closest("article").find(".wpr-grid-image-wrap").trigger("click")})):a.find(".inner-block > span").on("click",function(){if(!e.editorCheck()){var i=t(this).closest("article").find(".wpr-grid-image-wrap");i.trigger("click")}else alert("Lightbox is Disabled in the Editor!")})}}function n(){r.find(".wpr-post-like-button").length&&r.find(".wpr-post-like-button").on("click",function(){var e=t(this);return""!==e.attr("data-post-id")&&t.ajax({type:"POST",url:e.attr("data-ajax"),data:{action:"wpr_likes_init",post_id:e.attr("data-post-id"),nonce:e.attr("data-nonce")},beforeSend:function(){e.fadeTo(500,.5)},success:function(t){var i=e.attr("data-icon"),r=t.count;""===r.replace(/<\/?[^>]+(>|$)/g,"")?(r="<span class=\"wpr-post-like-count\">"+e.attr("data-text")+"</span>",!e.hasClass("wpr-likes-zero")&&e.addClass("wpr-likes-zero")):e.removeClass("wpr-likes-zero"),e.hasClass("wpr-already-liked")?(e.prop("title","Like"),e.removeClass("wpr-already-liked"),e.html("<i class=\""+i+"\"></i>"+r)):(e.prop("title","Unlike"),e.addClass("wpr-already-liked"),e.html("<i class=\""+i.replace("far","fas")+"\"></i>"+r)),e.fadeTo(500,1)}}),!1})}function o(e){for(var a,s,l,n,o=r.find(".wpr-grid"),d=o.find(".wpr-grid-item"),p=d.filter(":visible"),c=e.layout,f=e.media_align,m=e.media_width,g=e.media_distance,y=3,w=1,h=2,u=parseInt(e.columns_desktop,10),b=e.gutter_hr,T=e.gutter_vr,v=o.width()+b-.3,k=t("body").prop("clientWidth"),x=400,C=r.attr("class"),C=C.split(" "),S=0;S<C.length-1;S++)-1!==C[S].search(/mobile\d/)&&(w=C[S].slice(-1)),-1!==C[S].search(/mobile_extra\d/)&&(a=C[S].slice(-1)),-1!==C[S].search(/tablet\d/)&&(h=C[S].slice(-1)),-1!==C[S].search(/tablet_extra\d/)&&(s=C[S].slice(-1)),-1!==C[S].search(/widescreen\d/)&&(n=C[S].slice(-1)),-1!==C[S].search(/laptop\d/)&&(l=C[S].slice(-1));y=440>=k?w:768>=k?a?a:h:881>=k?h:1025>=k?s?s:h:1201>=k?l?l:u:1920>=k?u:2300>=k?u:2650>=k?n?n:u+1:3e3>=k?n?n:u+2:n?n:u+3,8<y&&(y=8),"string"==typeof y&&-1!==y.indexOf("pro")&&(y=3),d.outerWidth(Math.floor(v/y-b)),d.css("margin-bottom",T+"px"),1===y&&d.last().css("margin-bottom","0");var _=-1;if(p.each(function(){var e=t(this).outerHeight(),i=parseInt(t(this).css("top"),10);i>_&&(_=i)}),"fitRows"===c&&p.each(function(){parseInt(t(this).css("top"))===_&&t(this).addClass("rf-last-row")}),"list"===c){var z=d.find(".wpr-grid-image-wrap").outerHeight();if(d.find(".wpr-grid-item-below-content").css("min-height",z+"px"),480>t("body").prop("clientWidth"))d.find(".wpr-grid-media-wrap").css({float:"none",width:"100%"}),d.find(".wpr-grid-item-below-content").css({float:"none",width:"100%"}),d.find(".wpr-grid-image-wrap").css("padding","0"),d.find(".wpr-grid-item-below-content").css("min-height","0"),"zigzag"===f&&d.find("[class*=\"elementor-repeater-item\"]").css("text-align","center");else if("zigzag"!==f){d.find(".wpr-grid-media-wrap").css({float:f,width:m+"%"});var j="left"===f?"margin-right":"margin-left";d.find(".wpr-grid-media-wrap").css(j,g+"px"),d.find(".wpr-grid-item-below-content").css({float:f,width:"calc((100% - "+m+"%) - "+g+"px)"})}else d.filter(":even").find(".wpr-grid-media-wrap").css({float:"left",width:m+"%"}),d.filter(":even").find(".wpr-grid-item-below-content").css({float:"left",width:"calc((100% - "+m+"%) - "+g+"px)"}),d.filter(":even").find(".wpr-grid-media-wrap").css("margin-right",g+"px"),d.filter(":odd").find(".wpr-grid-media-wrap").css({float:"right",width:m+"%"}),d.filter(":odd").find(".wpr-grid-item-below-content").css({float:"right",width:"calc((100% - "+m+"%) - "+g+"px)"}),d.filter(":odd").find(".wpr-grid-media-wrap").css("margin-left",g+"px"),o.hasClass("wpr-grid-list-ready")||d.each(function(e){var i=t(this).find("[class*=\"elementor-repeater-item\"]");0==e%2?i.each(function(){if(!t(this).hasClass("wpr-grid-item-align-center")){"none"===t(this).css("float")?t(this).css("text-align","left"):t(this).css("float","left");t(this).find(".inner-block")}}):i.each(function(e){if(!t(this).hasClass("wpr-grid-item-align-center")){"none"===t(this).css("float")?t(this).css("text-align","right"):t(this).css("float","right");var i=t(this).find(".inner-block");"0px"!==i.css("margin-left")&&(i.css("margin-right",i.css("margin-left")),i.css("margin-left","0")),0===e&&"0px"!==i.css("margin-right")&&(i.css("margin-left",i.css("margin-right")),i.css("margin-right","0"))}})}),setTimeout(function(){o.hasClass("wpr-grid-list-ready")||o.addClass("wpr-grid-list-ready")},500)}"list"===c&&(c="fitRows"),"default"!==e.filters_animation&&(x=0);o.isotope({layoutMode:c,masonry:{comlumnWidth:v/y,gutter:b},fitRows:{comlumnWidth:v/y,gutter:b},transitionDuration:x,percentPosition:!0})}function d(e){if("yes"===e.filters_count&&r.find(".wpr-grid-filters a, .wpr-grid-filters span").each(function(){"*"===t(this).attr("data-filter")?t(this).find("sup").text(r.find(".wpr-grid-filters").next().find("article").length):t(this).find("sup").text(r.find(t(this).attr("data-filter")).length)}),"yes"!==e.filters_linkable){if("yes"===e.deeplinking){var i=window.location.hash.replace("#filter:",".");window.location.hash.match("#filter:all")&&(i="*");var a=r.find(".wpr-grid-filters span[data-filter=\""+i+"\"]:not(.wpr-back-filter)"),s=a.parent();"parent"===a.parent().attr("data-role")?s.parent("ul").find("ul[data-parent=\""+i+"\"]").length&&(s.parent("ul").children("li").css("display","none"),s.siblings("ul[data-parent=\""+i+"\"]").css("display","block")):"sub"===a.parent().attr("data-role")&&(s.closest(".wpr-grid-filters").children("li").css("display","none"),s.parent("ul").css("display","inline-block")),r.find(".wpr-grid-filters span").removeClass("wpr-active-filter"),a.addClass("wpr-active-filter"),r.find(".wpr-grid").isotope({filter:i}),e.lightbox.selector="*"===i?" .wpr-grid-image-wrap":i+" .wpr-grid-image-wrap",l(e)}"yes"===e.filters_hide_empty&&r.find(".wpr-grid-filters span").each(function(){var e=t(this).attr("data-filter");"*"!==e&&(0===p.find(e).length?t(this).parent("li").addClass("wpr-hidden-element"):t(this).parent("li").removeClass("wpr-hidden-element"))}),""!==e.filters_default_filter&&setTimeout(function(){r.find(".wpr-grid-filters").find("span[data-filter*=\"-"+e.filters_default_filter+"\"]")[0].click()},100),r.find(".wpr-grid-filters span").on("click",function(){var i=t(this).data("filter"),a=t(this).parent("li"),s=a.attr("data-role");if(r.find(".wpr-grid-filters span").removeClass("wpr-active-filter"),t(this).addClass("wpr-active-filter"),"parent"===s?a.parent("ul").find("ul[data-parent=\""+i+"\"]").length&&(a.parent("ul").children("li").css("display","none"),a.siblings("ul[data-parent=\""+i+"\"]").css("display","block")):"back"===s&&(a.closest(".wpr-grid-filters").children("li").css("display","inline-block"),a.parent().css("display","none")),"yes"===e.deeplinking){var l="#filter:"+i.replace(".","");"*"===i&&(l="#filter:all"),window.location.href=window.location.pathname+window.location.search+l}"infinite-scroll"===e.pagination_type&&0===p.find(t(this).attr("data-filter")).length&&r.find(".wpr-grid").infiniteScroll("loadNextPage"),"default"!==e.filters_animation&&r.find(".wpr-grid-item-inner").css({opacity:"0",transition:"none"}),"fade-slide"===e.filters_animation?r.find(".wpr-grid-item-inner").css("top","20px"):"zoom"===e.filters_animation?r.find(".wpr-grid-item-inner").css("transform","scale(0.01)"):r.find(".wpr-grid-item-inner").css({top:"0",transform:"scale(1)"}),r.find(".wpr-grid").isotope({filter:i}),e.lightbox.selector="*"===i?" .wpr-grid-image-wrap":i+" .wpr-grid-image-wrap",p.data("lightGallery").destroy(!0),p.lightGallery(e.lightbox)})}}var p=r.find(".wpr-grid"),c=p.attr("data-settings");if(typeof c=="undefined"||!1===c){p.animate({opacity:"1"},1e3);var f=r.attr("class"),m=f.match(/wpr-grid-slider-columns-\d/)?f.match(/wpr-grid-slider-columns-\d/).join().slice(-1):2,g=f.match(/columns--widescreen\d/)?f.match(/columns--widescreen\d/).join().slice(-1):m,y=f.match(/columns--laptop\d/)?f.match(/columns--laptop\d/).join().slice(-1):m,w=f.match(/columns--tablet_extra\d/)?f.match(/columns--tablet_extra\d/).join().slice(-1):h,h=f.match(/columns--tablet\d/)?f.match(/columns--tablet\d/).join().slice(-1):2,u=f.match(/columns--mobile_extra\d/)?f.match(/columns--mobile_extra\d/).join().slice(-1):h,b=f.match(/columns--mobile\d/)?f.match(/columns--mobile\d/).join().slice(-1):1,T=+f.match(/wpr-grid-slides-to-scroll-\d/).join().slice(-1);if(p.slick({appendDots:r.find(".wpr-grid-slider-dots"),customPaging:function(e,t){e.slideCount;return"<span class=\"wpr-grid-slider-dot\"></span>"},slidesToShow:m,responsive:[{breakpoint:1e4,settings:{slidesToShow:g,slidesToScroll:T>g?1:T}},{breakpoint:2399,settings:{slidesToShow:m,slidesToScroll:T>m?1:T}},{breakpoint:1221,settings:{slidesToShow:y,slidesToScroll:T>y?1:T}},{breakpoint:1200,settings:{slidesToShow:w,slidesToScroll:T>w?1:T}},{breakpoint:1024,settings:{slidesToShow:h,slidesToScroll:T>h?1:T}},{breakpoint:880,settings:{slidesToShow:u,slidesToScroll:T>u?1:T}},{breakpoint:768,settings:{slidesToShow:b,slidesToScroll:T>b?1:T}}]}),r.find(".slick-dots").length&&r.hasClass("wpr-grid-slider-dots-horizontal")){var v=r.find(".slick-dots li").outerWidth()*r.find(".slick-dots li").length-parseInt(r.find(".slick-dots li span").css("margin-right"),10);r.find(".slick-dots").length&&r.find(".slick-dots").css("width",v),t(window).on("resize",function(){setTimeout(function(){var e=r.find(".slick-dots li").outerWidth()*r.find(".slick-dots li").length-parseInt(r.find(".slick-dots li span").css("margin-right"),10);r.find(".slick-dots").css("width",e)},300)})}c=JSON.parse(p.attr("data-slick"))}else if(c=JSON.parse(p.attr("data-settings")),o(c),setTimeout(function(){o(c)},100),e.editorCheck()&&(setTimeout(function(){o(c)},500),setTimeout(function(){o(c)},1e3)),t(window).on("load",function(){setTimeout(function(){o(c)},100)}),t(window).smartresize(function(){setTimeout(function(){o(c)},200)}),d(c),p.on("arrangeComplete",function(e,i){var a=0,s=0,l=c.animation_delay,n=c.animation_duration,o=c.filters_animation_duration;if(p.hasClass("grid-images-loaded"))l=0;else if(p.css("opacity","1"),"default"===c.animation&&"default"===c.filters_animation)return;for(var d in i){l+=c.animation_delay,r.find(i[d].element).find(".wpr-grid-item-inner").css({opacity:"1",top:"0",transform:"scale(1)",transition:"all "+n+"s ease-in "+l+"s"}),s+=c.filters_animation_delay,p.hasClass("grid-images-loaded")&&r.find(i[d].element).find(".wpr-grid-item-inner").css({transition:"all "+o+"s ease-in "+s+"s"});var f=window.location.hash;0<=f.indexOf("#filter:")&&0>f.indexOf("#filter:*")&&(f=f.replace("#filter:",""),r.find(i[d].element).filter(function(){if(t(this).hasClass(f))return a+=c.filters_animation_delay,t(this)}).find(".wpr-grid-item-inner").css({"transition-delay":a+"s"}))}}),p.imagesLoaded().progress(function(){"1"!==p.css("opacity")&&p.css("opacity","1"),setTimeout(function(){p.addClass("grid-images-loaded")},500)}),("load-more"===c.pagination_type||"infinite-scroll"===c.pagination_type)&&r.find(".wpr-grid-pagination").length&&!e.editorCheck()){var k=r.find(".wpr-grid-pagination"),x=".elementor-element-"+r.attr("data-id"),C=!1,S=!1;"infinite-scroll"===c.pagination_type&&(S=300,C=x+" .wpr-load-more-btn"),p.infiniteScroll({path:x+" .wpr-grid-pagination a",hideNav:C,append:!1,history:!1,scrollThreshold:S,status:x+" .page-load-status",onInit:function(){this.on("load",function(){p.removeClass("grid-images-loaded")})}}),p.on("request.infiniteScroll",function(){k.find(".wpr-load-more-btn").hide(),k.find(".wpr-pagination-loading").css("display","inline-block")});var _=0;p.on("load.infiniteScroll",function(e,i){_++;var r=t(i).find(x).find(".wpr-grid-item");p.infiniteScroll("appendItems",r),p.isotope("appended",r),r.imagesLoaded().progress(function(){o(c),setTimeout(function(){o(c),d(c)},10),setTimeout(function(){p.addClass("grid-images-loaded")},500)}),k.find(".wpr-pagination-loading").hide(),c.pagination_max_pages-1===_?(k.find(".wpr-pagination-finish").fadeIn(1e3),k.delay(2e3).fadeOut(1e3),setTimeout(function(){k.find(".wpr-pagination-loading").hide()},500)):"load-more"===c.pagination_type&&k.find(".wpr-load-more-btn").fadeIn(),setTimeout(function(){n(c)},300),l(c),p.data("lightGallery").destroy(!0),p.lightGallery(c.lightbox),s(),a()}),k.find(".wpr-load-more-btn").on("click",function(){return p.infiniteScroll("loadNextPage"),!1})}if(p.find(".wpr-grid-item-add-to-cart").length){var z=p.find(".wpr-grid-item-add-to-cart").find("i"),j=z.attr("class");z.length&&(j=j.substring(j.indexOf("fa-"),j.length)),t("body").on("adding_to_cart",function(e,t){t.fadeTo("slow",.5)}),t("body").on("added_to_cart",function(e,t,i,r){r.fadeTo("slow",1),z.length&&(r.find("i").removeClass(j).addClass("fa-check"),setTimeout(function(){r.find("i").removeClass("fa-check").addClass(j)},3500))})}a(),s(),l(c),n(c)},widgetMagazineGrid:function(i){var r=i.find(".wpr-magazine-grid-wrap"),a=r.attr("data-slick"),s=r.attr("data-slide-effect");if(typeof a!="undefined"&&!1!==a&&r.slick({fade:"fade"===s}),"yes"!==r.find(".wpr-grid-media-wrap").attr("data-overlay-link")||e.editorCheck()||(r.find(".wpr-grid-media-wrap").css("cursor","pointer"),r.find(".wpr-grid-media-wrap").on("click",function(e){var i=e.target.className;(-1!==i.indexOf("inner-block")||-1!==i.indexOf("wpr-cv-inner")||-1!==i.indexOf("wpr-grid-media-hover"))&&(e.preventDefault(),window.location.href=t(this).find(".wpr-grid-media-hover-bg").attr("data-url"))})),i.find(".wpr-sharing-trigger").length){var l=i.find(".wpr-sharing-trigger"),n=i.find(".wpr-post-sharing-inner"),o=5;n.first().find("a").each(function(){o+=t(this).outerWidth()+parseInt(t(this).css("margin-right"),10)});var d=parseInt(n.find("a").css("margin-right"),10);"left"===l.attr("data-direction")?(n.css("width",o+"px"),n.css("left",-(d+o)+"px")):"right"===l.attr("data-direction")?(n.css("width",o+"px"),n.css("right",-(d+o)+"px")):"top"===l.attr("data-direction")?(n.find("a").css({"margin-right":"0","margin-top":d+"px"}),n.css({top:-d+"px",left:"50%","-webkit-transform":"translate(-50%, -100%)",transform:"translate(-50%, -100%)"})):"right"===l.attr("data-direction")?(n.css("width",o+"px"),n.css({left:d+"px"})):"bottom"===l.attr("data-direction")&&(n.find("a").css({"margin-right":"0","margin-bottom":d+"px"}),n.css({bottom:-d+"px",left:"50%","-webkit-transform":"translate(-50%, 100%)",transform:"translate(-50%, 100%)"})),"click"===l.attr("data-action")?l.on("click",function(){var e=t(this).next();"hidden"===e.css("visibility")?(e.css("visibility","visible"),e.find("a").css({opacity:"1",top:"0"}),setTimeout(function(){e.find("a").addClass("wpr-no-transition-delay")},100*e.find("a").length)):(e.find("a").removeClass("wpr-no-transition-delay"),e.find("a").css({opacity:"0",top:"-5px"}),setTimeout(function(){e.css("visibility","hidden")},100*e.find("a").length))}):(l.on("mouseenter",function(){var e=t(this).next();e.css("visibility","visible"),e.find("a").css({opacity:"1",top:"0"}),setTimeout(function(){e.find("a").addClass("wpr-no-transition-delay")},100*e.find("a").length)}),i.find(".wpr-grid-item-sharing").on("mouseleave",function(){var e=t(this).find(".wpr-post-sharing-inner");e.find("a").removeClass("wpr-no-transition-delay"),e.find("a").css({opacity:"0",top:"-5px"}),setTimeout(function(){e.css("visibility","hidden")},100*e.find("a").length)}))}i.find(".wpr-post-like-button").length&&i.find(".wpr-post-like-button").on("click",function(){var e=t(this);return""!==e.attr("data-post-id")&&t.ajax({type:"POST",url:e.attr("data-ajax"),data:{action:"wpr_likes_init",post_id:e.attr("data-post-id"),nonce:e.attr("data-nonce")},beforeSend:function(){e.fadeTo(500,.5)},success:function(t){var i=e.attr("data-icon"),r=t.count;""===r.replace(/<\/?[^>]+(>|$)/g,"")?(r="<span class=\"wpr-post-like-count\">"+e.attr("data-text")+"</span>",!e.hasClass("wpr-likes-zero")&&e.addClass("wpr-likes-zero")):e.removeClass("wpr-likes-zero"),e.hasClass("wpr-already-liked")?(e.prop("title","Like"),e.removeClass("wpr-already-liked"),e.html("<i class=\""+i+"\"></i>"+r)):(e.prop("title","Unlike"),e.addClass("wpr-already-liked"),e.html("<i class=\""+i.replace("far","fas")+"\"></i>"+r)),e.fadeTo(500,1)}}),!1})},widgetFeaturedMedia:function(i){var r=i.find(".wpr-gallery-slider"),a=r.attr("data-slick");r.animate({opacity:"1"},1e3),"[]"!==a&&r.slick({appendDots:i.find(".wpr-gallery-slider-dots"),customPaging:function(e,t){e.slideCount;return"<span class=\"wpr-gallery-slider-dot\"></span>"}});var s=t(".wpr-featured-media-image").attr("data-lightbox");if(typeof s!=typeof void 0&&!1!==s&&!e.editorCheck()){var l=i.find(".wpr-featured-media-wrap");s=JSON.parse(s),l.lightGallery(s),l.on("onAferAppendSlide.lg, onAfterSlide.lg",function(){var e=t("#lg-actual-size, #lg-zoom-in, #lg-zoom-out, #lg-download"),i=t("#lg-download").attr("href");t("#lg-download").length&&(-1===i.indexOf("wp-content")?e.addClass("wpr-hidden-element"):e.removeClass("wpr-hidden-element")),""===s.autoplay&&t(".lg-autoplay-button").css({width:"0",height:"0",overflow:"hidden"})})}},widgetProductMedia:function(i){var r=i.find(".wpr-product-media-image"),a=i.find(".wpr-gallery-slider"),s=a.attr("data-slick");if(a.animate({opacity:"1"},1e3),"[]"!==s&&a.length){var s=JSON.parse(s);if(a.slick(),"yes"===s.thumbnail_nav){var l=i.find(".wpr-product-thumb-nav");l.slick(),l.find("li").on("click",function(){var e=t(this).attr("data-slick-index");t(this).siblings().removeClass("slick-current"),t(this).addClass("slick-current"),a.slick("slickGoTo",parseInt(e,10))})}}var n=t(".wpr-product-media-image").attr("data-lightbox");if(typeof n!="undefined"&&!1!==n&&!e.editorCheck()){var o=i.find(".wpr-product-media-wrap");n=JSON.parse(n),o.lightGallery(n),o.on("onAferAppendSlide.lg, onAfterSlide.lg",function(){var e=t("#lg-actual-size, #lg-zoom-in, #lg-zoom-out, #lg-download"),i=t("#lg-download").attr("href");t("#lg-download").length&&(-1===i.indexOf("wp-content")?e.addClass("wpr-hidden-element"):e.removeClass("wpr-hidden-element")),""===n.autoplay&&t(".lg-autoplay-button").css({width:"0",height:"0",overflow:"hidden"})})}i.hasClass("wpr-gallery-zoom-yes")&&r.on("mousemove",function(e){var i=100*((e.pageX-t(this).offset().left)/t(this).width()),r=100*((e.pageY-t(this).offset().top)/t(this).height());t(this).children("img").css({"transform-origin":i+"% "+r+"%"})})},widgetCountDown:function(i){function r(){var e=d-new Date,r={days:Math.floor(e/86400000),hours:Math.floor(e/3600000%24),minutes:Math.floor(e/1e3/60%60),seconds:Math.floor(e/1e3%60)};(0>r.days||0>r.hours||0>r.minutes)&&(r={days:0,hours:0,minutes:0,seconds:0}),i.find(".wpr-countdown-number").each(function(){var e=r[t(this).attr("data-item")];1===e.toString().length&&(e="0"+e),t(this).text(e);var i=t(this).next();if(i.length&&!t(this).hasClass("wpr-countdown-seconds")){var a=i.data("text");"01"==e?i.text(a.singular):i.text(a.plural)}}),0>e&&(clearInterval(l),a())}function a(){var r=s.data("actions");e.editorCheck()||(r.hasOwnProperty("hide-timer")&&s.hide(),r.hasOwnProperty("hide-element")&&t(r["hide-element"]).hide(),r.hasOwnProperty("message")&&!i.children(".elementor-widget-container").children(".wpr-countdown-message").length&&s.after("<div class=\"wpr-countdown-message\">"+r.message+"</div>"),r.hasOwnProperty("redirect")&&(window.location.href=r.redirect),r.hasOwnProperty("load-template")&&s.parent().find(".elementor-inner").parent().show())}var s=i.children(".elementor-widget-container").children(".wpr-countdown-wrap"),l=null,n=s.data("interval"),o=s.data("show-again"),d=new Date(1e3*n);if("evergreen"===s.data("type")){var p=new Date,c=i.attr("data-id"),f=JSON.parse(localStorage.getItem("WprCountDownSettings"))||{};d=f.hasOwnProperty(c)?0===Object.keys(f).length||n!==f[c].interval?p.setSeconds(p.getSeconds()+n):f[c].endTime:p.setSeconds(p.getSeconds()+n),d+o<p.setSeconds(p.getSeconds())&&(d=p.setSeconds(p.getSeconds()+n)),f[c]={interval:n,endTime:d},localStorage.setItem("WprCountDownSettings",JSON.stringify(f))}r(),e.editorCheck()||(l=setInterval(r,1e3))},widgetGoogleMaps:function(e){function t(e,t){var i="<div class=\"wpr-gm-iwindow\"><h3>"+t.gm_location_title+"</h3><p>"+t.gm_location_description+"</p></div>",r=new google.maps.InfoWindow({content:i,maxWidth:t.gm_info_window_width.size});"load"===t.gm_show_info_window?r.open(p,e):e.addListener("click",function(){r.open(p,e)})}function r(e){var t;switch(e.style){case"simple":t=JSON.parse("[{\"featureType\":\"road\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#fffffa\"}]},{\"featureType\":\"water\",\"stylers\":[{\"lightness\":50}]},{\"featureType\":\"road\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":40}]}]");break;case"white-black":t=JSON.parse("[{\"featureType\":\"road\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"on\"}]},{\"featureType\":\"poi\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"administrative\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"},{\"weight\":1}]},{\"featureType\":\"road\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"weight\":0.8}]},{\"featureType\":\"landscape\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"water\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"stylers\":[{\"visibility\":\"off\"}]},{\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"elementType\":\"labels.text\",\"stylers\":[{\"visibility\":\"on\"}]},{\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#000000\"}]},{\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"on\"}]}]");break;case"light-silver":t=JSON.parse("[{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#e9e9e9\"},{\"lightness\":17}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#f5f5f5\"},{\"lightness\":20}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"},{\"lightness\":17}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#ffffff\"},{\"lightness\":29},{\"weight\":0.2}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#ffffff\"},{\"lightness\":18}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#ffffff\"},{\"lightness\":16}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#f5f5f5\"},{\"lightness\":21}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#dedede\"},{\"lightness\":21}]},{\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#ffffff\"},{\"lightness\":16}]},{\"elementType\":\"labels.text.fill\",\"stylers\":[{\"saturation\":36},{\"color\":\"#333333\"},{\"lightness\":40}]},{\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#f2f2f2\"},{\"lightness\":19}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#fefefe\"},{\"lightness\":20}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#fefefe\"},{\"lightness\":17},{\"weight\":1.2}]}]");break;case"light-grayscale":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"weight\":\"2.00\"}]},{\"featureType\":\"all\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#9c9c9c\"}]},{\"featureType\":\"all\",\"elementType\":\"labels.text\",\"stylers\":[{\"visibility\":\"on\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#f2f2f2\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"landscape.man_made\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"poi\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":45}]},{\"featureType\":\"road\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#eeeeee\"}]},{\"featureType\":\"road\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#7b7b7b\"}]},{\"featureType\":\"road\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#46bcec\"},{\"visibility\":\"on\"}]},{\"featureType\":\"water\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#c8d7d4\"}]},{\"featureType\":\"water\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#070707\"}]},{\"featureType\":\"water\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#ffffff\"}]}]");break;case"subtle-grayscale":t=JSON.parse("[{\"featureType\":\"administrative\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":\"-100\"}]},{\"featureType\":\"administrative.province\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":65},{\"visibility\":\"on\"}]},{\"featureType\":\"poi\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":\"50\"},{\"visibility\":\"simplified\"}]},{\"featureType\":\"road\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":\"-100\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"all\",\"stylers\":[{\"lightness\":\"30\"}]},{\"featureType\":\"road.local\",\"elementType\":\"all\",\"stylers\":[{\"lightness\":\"40\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"visibility\":\"simplified\"}]},{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"hue\":\"#ffff00\"},{\"lightness\":-25},{\"saturation\":-97}]},{\"featureType\":\"water\",\"elementType\":\"labels\",\"stylers\":[{\"lightness\":-25},{\"saturation\":-100}]}]");break;case"mostly-white":t=JSON.parse("[{\"featureType\":\"administrative\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#6195a0\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#f2f2f2\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"poi\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#e6f3d6\"},{\"visibility\":\"on\"}]},{\"featureType\":\"road\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":45},{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#f4d2c5\"},{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"labels.text\",\"stylers\":[{\"color\":\"#4e4e4e\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#f4f4f4\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#787878\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#eaf6f8\"},{\"visibility\":\"on\"}]},{\"featureType\":\"water\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#eaf6f8\"}]}]");break;case"mostly-green":t=JSON.parse("[{\"featureType\":\"landscape.man_made\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#f7f1df\"}]},{\"featureType\":\"landscape.natural\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#d0e3b4\"}]},{\"featureType\":\"landscape.natural.terrain\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi.business\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi.medical\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#fbd3da\"}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#bde6ab\"}]},{\"featureType\":\"road\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffe15f\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#efd151\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"black\"}]},{\"featureType\":\"transit.station.airport\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#cfb2db\"}]},{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#a2daf2\"}]}]");break;case"neutral-blue":t=JSON.parse("[{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#193341\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#2c5a71\"}]},{\"featureType\":\"road\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#29768a\"},{\"lightness\":-37}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#406d80\"}]},{\"featureType\":\"transit\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#406d80\"}]},{\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#3e606f\"},{\"weight\":2},{\"gamma\":0.84}]},{\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry\",\"stylers\":[{\"weight\":0.6},{\"color\":\"#1a3541\"}]},{\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#2c5a71\"}]}]");break;case"blue-water":t=JSON.parse("[{\"featureType\":\"administrative\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#444444\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#f2f2f2\"}]},{\"featureType\":\"poi\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":45}]},{\"featureType\":\"road.highway\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#46bcec\"},{\"visibility\":\"on\"}]}]");break;case"blue-essense":t=JSON.parse("[{\"featureType\":\"landscape.natural\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#e0efef\"}]},{\"featureType\":\"poi\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"visibility\":\"on\"},{\"hue\":\"#1900ff\"},{\"color\":\"#c0e8e8\"}]},{\"featureType\":\"road\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":100},{\"visibility\":\"simplified\"}]},{\"featureType\":\"road\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit.line\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"on\"},{\"lightness\":700}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#7dcdcd\"}]}]");break;case"golden-brown":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#ff7000\"},{\"lightness\":\"69\"},{\"saturation\":\"100\"},{\"weight\":\"1.17\"},{\"gamma\":\"2.04\"}]},{\"featureType\":\"all\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#cb8536\"}]},{\"featureType\":\"all\",\"elementType\":\"labels\",\"stylers\":[{\"color\":\"#ffb471\"},{\"lightness\":\"66\"},{\"saturation\":\"100\"}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"gamma\":0.01},{\"lightness\":20}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"saturation\":-31},{\"lightness\":-33},{\"weight\":2},{\"gamma\":0.8}]},{\"featureType\":\"all\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"lightness\":\"-8\"},{\"gamma\":\"0.98\"},{\"weight\":\"2.45\"},{\"saturation\":\"26\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":30},{\"saturation\":30}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"saturation\":20}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":20},{\"saturation\":-20}]},{\"featureType\":\"road\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":10},{\"saturation\":-30}]},{\"featureType\":\"road\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"saturation\":25},{\"lightness\":25}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"lightness\":-20},{\"color\":\"#ecc080\"}]}]");break;case"midnight-commander":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":13}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#144b53\"},{\"lightness\":14},{\"weight\":1.4}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#08304b\"}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#0c4152\"},{\"lightness\":5}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#0b434f\"},{\"lightness\":25}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#0b3d51\"},{\"lightness\":16}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#146474\"}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#021019\"}]}]");break;case"shades-of-grey":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"saturation\":36},{\"color\":\"#000000\"},{\"lightness\":40}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#000000\"},{\"lightness\":16}]},{\"featureType\":\"all\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":20}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17},{\"weight\":1.2}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":20}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":21}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":29},{\"weight\":0.2}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":18}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":16}]},{\"featureType\":\"transit\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":19}]},{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17}]}]");break;case"yellow-black":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"on\"}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"saturation\":36},{\"color\":\"#000000\"},{\"lightness\":40}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#000000\"},{\"lightness\":16}]},{\"featureType\":\"all\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":20}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17},{\"weight\":1.2}]},{\"featureType\":\"administrative.country\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#e5c163\"}]},{\"featureType\":\"administrative.locality\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#c4c4c4\"}]},{\"featureType\":\"administrative.neighborhood\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#e5c163\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":20}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":21},{\"visibility\":\"on\"}]},{\"featureType\":\"poi.business\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"on\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#e5c163\"},{\"lightness\":\"0\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#e5c163\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":18}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#575757\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#2c2c2c\"}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":16}]},{\"featureType\":\"road.local\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#999999\"}]},{\"featureType\":\"transit\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":19}]},{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17}]}]");break;case"custom":t=JSON.parse(e.custom_style);break;default:t="";}return t}for(var a=e.find(".wpr-google-map"),s=a.data("settings"),l=a.data("controls"),n=a.data("locations"),o=[],d=new google.maps.LatLngBounds,p=new google.maps.Map(a[0],{mapTypeId:s.type,styles:r(s),zoom:s.zoom_depth,gestureHandling:s.zoom_on_scroll,mapTypeControl:l.type,fullscreenControl:l.fullscreen,zoomControl:l.zoom,streetViewControl:l.streetview}),c=0;c<n.length;c++){var f=n[c],m="",g=f.gm_marker_icon_size_width.size,y=f.gm_marker_icon_size_height.size;if(""!=f.gm_latitude&&""!=f.gm_longtitude){"yes"===f.gm_custom_marker&&(m={url:f.gm_marker_icon.url,scaledSize:new google.maps.Size(g,y)});var w=new google.maps.Marker({map:p,position:new google.maps.LatLng(parseFloat(f.gm_latitude),parseFloat(f.gm_longtitude)),animation:google.maps.Animation[f.gm_marker_animation],icon:m});"none"!==f.gm_show_info_window&&t(w,f),o.push(w),d.extend(w.position)}}if(1<n.length?p.fitBounds(d):p.setCenter(d.getCenter()),"yes"===s.cluster_markers)new MarkerClusterer(p,o,{imagePath:s.clusters_url})},widgetBeforeAfter:function(e){function i(){var e=r.find(".wpr-ba-label-1 div"),t=r.find(".wpr-ba-label-2 div");if(e.length||t.length)if(r.hasClass("wpr-ba-horizontal")){var i=e.position().left+e.outerWidth(),a=t.position().left+t.outerWidth();i+15>=parseInt(l.css("left"),10)?e.stop().css("opacity",0):e.stop().css("opacity",1),r.outerWidth()-(a+15)<=parseInt(l.css("left"),10)?t.stop().css("opacity",0):t.stop().css("opacity",1)}else{var i=e.position().top+e.outerHeight(),a=t.position().top+t.outerHeight();i+15>=parseInt(l.css("top"),10)?e.stop().css("opacity",0):e.stop().css("opacity",1),r.outerHeight()-(a+15)<=parseInt(l.css("top"),10)?t.stop().css("opacity",0):t.stop().css("opacity",1)}}var r=e.find(".wpr-ba-image-container"),a=r.find(".wpr-ba-image-1"),s=r.find(".wpr-ba-image-2"),l=r.find(".wpr-ba-divider"),n=r.attr("data-position");r.hasClass("wpr-ba-horizontal")?(l.css("left",n+"%"),s.css("left",n+"%"),s.find("img").css("right",n+"%"),l.on("move",function(t){var e=t.pageX-r.offset().left;l.css({left:"auto",right:"auto"}),s.css({left:"auto",right:"auto"}),0<e&&e<r.outerWidth()?(l.css("left",e),s.css("left",e),s.find("img").css("right",e)):0>=e?(l.css("left",0),s.css("left",0),s.find("img").css("right",0)):e>=r.outerWidth()&&(l.css("right",-l.outerWidth()/2),s.css("right",0),s.find("img").css("right","100%")),i()})):(l.css("top",n+"%"),s.css("top",n+"%"),s.find("img").css("bottom",n+"%"),l.on("move",function(t){var e=t.pageY-r.offset().top;l.css({top:"auto",bottom:"auto"}),s.css({top:"auto",bottom:"auto"}),0<e&&e<r.outerHeight()?(l.css("top",e),s.css("top",e),s.find("img").css("bottom",e)):0>=e?(l.css("top",0),s.css("top",0),s.find("img").css("bottom",0)):e>=r.outerHeight()&&(l.css("bottom",-l.outerHeight()/2),s.css("bottom",0),s.find("img").css("bottom","100%")),i()})),"mouse"===r.attr("data-trigger")&&r.on("mousemove",function(e){if(r.hasClass("wpr-ba-horizontal")){var a=e.pageX-t(this).offset().left;l.css("left",a),s.css("left",a),s.find("img").css("right",a)}else{var a=e.pageY-t(this).offset().top;l.css("top",a),s.css("top",a),s.find("img").css("bottom",a)}i()}),i()},widgetMailchimp:function(e){var i=e.find("form");i.on("submit",function(r){r.preventDefault();var a=t(this).find("button").text();t(this).find("button").text(t(this).find("button").data("loading")),t.ajax({url:WprConfig.ajaxurl,type:"POST",data:{action:"mailchimp_subscribe",fields:t(this).serialize(),apiKey:i.data("api-key"),listId:i.data("list-id")},success:function(t){i.find("button").text(a),"subscribed"===t.status?e.find(".wpr-mailchimp-success-message").show():e.find(".wpr-mailchimp-error-message").show(),e.find(".wpr-mailchimp-message").fadeIn()}})})},widgetAdvancedSlider:function(e){function i(){var e,t,i=l.find(".wpr-slider-item").outerWidth(),r=l.find(".wpr-slider-item").outerHeight(),a=16/9,s=0,n=0;i/r>a?(t=i,e=t/a,s="-"+(e-r)/2+"px"):(e=r,t=e*a,n="-"+(t-i)/2+"px"),l.find("iframe").css({width:t+"px",height:e+"px","max-width":"none",position:"absolute",left:n+"",top:s+"",display:"block","text-align":"inherit","line-height":"0px","border-width":"0px",margin:"0px",padding:"0px"})}function r(){l.find(".slick-active").each(function(){var e=t(this).attr("data-video-src"),r=t(this).attr("data-video-autoplay");1!==t(this).find(".wpr-slider-video").length&&"yes"===r&&(1==d?t(this).find(".wpr-cv-inner").prepend("<div class=\"wpr-slider-video\"><iframe src=\""+e+"\" width=\"100%\" height=\"100%\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe></div>"):t(this).find(".wpr-cv-container").prepend("<div class=\"wpr-slider-video\"><iframe src=\""+e+"\" width=\"100%\" height=\"100%\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe></div>"),i())})}function a(){1==d&&l.find(".wpr-slider-item").not(".slick-active").find(".wpr-slider-animation").removeClass("wpr-animation-enter")}function s(){l.find(".slick-active").find(".wpr-slider-content").fadeIn(0),1==d&&l.find(".slick-active").find(".wpr-slider-animation").addClass("wpr-animation-enter")}var l=e.find(".wpr-advanced-slider"),n=l.data("slick"),o=e.attr("class"),d=o.match(/wpr-adv-slider-columns-\d/)?o.match(/wpr-adv-slider-columns-\d/).join().slice(-1):2,p=o.match(/columns--widescreen\d/)?o.match(/columns--widescreen\d/).join().slice(-1):d,c=o.match(/columns--laptop\d/)?o.match(/columns--laptop\d/).join().slice(-1):d,f=o.match(/columns--tablet_extra\d/)?o.match(/columns--tablet_extra\d/).join().slice(-1):m,m=o.match(/columns--tablet\d/)?o.match(/columns--tablet\d/).join().slice(-1):2,g=o.match(/columns--mobile_extra\d/)?o.match(/columns--mobile_extra\d/).join().slice(-1):m,y=o.match(/columns--mobile\d/)?o.match(/columns--mobile\d/).join().slice(-1):1,w=+o.match(/wpr-adv-slides-to-scroll-\d/).join().slice(-1),h=l.attr("data-slide-effect");if(l.slick({appendArrows:e.find(".wpr-slider-controls"),appendDots:e.find(".wpr-slider-dots"),customPaging:function(e,t){e.slideCount;return"<span class=\"wpr-slider-dot\"></span>"},slidesToShow:d,responsive:[{breakpoint:1e4,settings:{slidesToShow:p,slidesToScroll:w>p?1:w,fade:1==p&&"fade"===h}},{breakpoint:2399,settings:{slidesToShow:d,slidesToScroll:w>d?1:w,fade:1==d&&"fade"===h}},{breakpoint:1221,settings:{slidesToShow:c,slidesToScroll:w>c?1:w,fade:1==c&&"fade"===h}},{breakpoint:1200,settings:{slidesToShow:f,slidesToScroll:w>f?1:w,fade:1==f&&"fade"===h}},{breakpoint:1024,settings:{slidesToShow:m,slidesToScroll:w>m?1:w,fade:1==m&&"fade"===h}},{breakpoint:880,settings:{slidesToShow:g,slidesToScroll:w>g?1:w,fade:1==g&&"fade"===h}},{breakpoint:768,settings:{slidesToShow:y,slidesToScroll:w>y?1:w,fade:1==y&&"fade"===h}}]}),t(window).on("load resize",function(){i()}),r(),s(),l.find(".wpr-slider-video-btn").on("click",function(){var e=t(this).closest(".slick-active"),r=e.attr("data-video-src");1!==e.find(".wpr-slider-video").length&&(e.find(".wpr-cv-container").prepend("<div class=\"wpr-slider-video\"><iframe src=\""+r+"\" width=\"100%\" height=\"100%\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe></div>"),i(),e.find(".wpr-slider-content").fadeOut(300))}),l.on({beforeChange:function(){l.find(".wpr-slider-item").not(".slick-active").find(".wpr-slider-video").remove(),l.find(".wpr-animation-enter").find(".wpr-slider-content").fadeOut(300),a()},afterChange:function(){s(),r()}}),e.find(".slick-dots").length&&e.hasClass("wpr-slider-dots-horizontal")){var u=e.find(".slick-dots li").outerWidth()*e.find(".slick-dots li").length-parseInt(e.find(".slick-dots li span").css("margin-right"),10);e.find(".slick-dots").length&&e.find(".slick-dots").css("width",u),t(window).on("resize",function(){setTimeout(function(){var t=e.find(".slick-dots li").outerWidth()*e.find(".slick-dots li").length-parseInt(e.find(".slick-dots li span").css("margin-right"),10);e.find(".slick-dots").css("width",t)},300)})}},widgetTestimonialCarousel:function(e){var i=e.find(".wpr-testimonial-carousel"),r=e.attr("class"),a=r.match(/wpr-testimonial-slider-columns-\d/)?r.match(/wpr-testimonial-slider-columns-\d/).join().slice(-1):2,s=r.match(/columns--widescreen\d/)?r.match(/columns--widescreen\d/).join().slice(-1):a,l=r.match(/columns--laptop\d/)?r.match(/columns--laptop\d/).join().slice(-1):a,n=r.match(/columns--tablet_extra\d/)?r.match(/columns--tablet_extra\d/).join().slice(-1):o,o=r.match(/columns--tablet\d/)?r.match(/columns--tablet\d/).join().slice(-1):2,d=r.match(/columns--mobile_extra\d/)?r.match(/columns--mobile_extra\d/).join().slice(-1):o,p=r.match(/columns--mobile\d/)?r.match(/columns--mobile\d/).join().slice(-1):1,c=+r.match(/wpr-adv-slides-to-scroll-\d/).join().slice(-1),f=i.attr("data-slide-effect");if(i.slick({appendArrows:e.find(".wpr-testimonial-controls"),appendDots:e.find(".wpr-testimonial-dots"),customPaging:function(e,t){e.slideCount;return"<span class=\"wpr-testimonial-dot\"></span>"},slidesToShow:a,responsive:[{breakpoint:1e4,settings:{slidesToShow:s,slidesToScroll:c>s?1:c,fade:1==s&&"fade"===f}},{breakpoint:2399,settings:{slidesToShow:a,slidesToScroll:c>a?1:c,fade:1==a&&"fade"===f}},{breakpoint:1221,settings:{slidesToShow:l,slidesToScroll:c>l?1:c,fade:1==l&&"fade"===f}},{breakpoint:1200,settings:{slidesToShow:n,slidesToScroll:c>n?1:c,fade:1==n&&"fade"===f}},{breakpoint:1024,settings:{slidesToShow:o,slidesToScroll:c>o?1:c,fade:1==o&&"fade"===f}},{breakpoint:880,settings:{slidesToShow:d,slidesToScroll:c>d?1:c,fade:1==d&&"fade"===f}},{breakpoint:768,settings:{slidesToShow:p,slidesToScroll:c>p?1:c,fade:1==p&&"fade"===f}}]}),e.hasClass("wpr-testimonial-nav-fade")&&(e.on("mouseover",function(){e.closest("section").find(".wpr-testimonial-arrow").css({opacity:1})}),e.closest("section").on("mouseout",function(){e.find(".wpr-testimonial-arrow").css({opacity:0})})),e.find(".slick-dots").length){var m=e.find(".slick-dots li").outerWidth()*e.find(".slick-dots li").length-parseInt(e.find(".slick-dots li span").css("margin-right"),10);e.find(".slick-dots").css("width",m)}t(window).on("resize",function(){setTimeout(function(){if(e.find(".slick-dots").length){var t=e.find(".slick-dots li").outerWidth()*e.find(".slick-dots li").length-parseInt(e.find(".slick-dots li span").css("margin-right"),10);e.find(".slick-dots").css("width",t)}},300)})},widgetSearch:function(e){e.find(".wpr-search-form-input").on({focus:function(){e.addClass("wpr-search-form-input-focus")},blur:function(){e.removeClass("wpr-search-form-input-focus")}})},widgetAdvancedText:function(e){function i(){var t=e.find(".wpr-clipped-text"),i=t.data("clipped-options"),r=elementorFrontend.getCurrentDeviceMode();if(i){var a=i.longShadowSize,s=i.longShadowSizeTablet,l=i.longShadowSizeMobile;"desktop"===r&&(a=i.longShadowSize),"tablet"===r&&s&&(a=s),"mobile"===r&&l&&(a=l),t.find(".wpr-clipped-text-long-shadow").attr("style","text-shadow:"+f(i.longShadowColor,a,i.longShadowDirection))}}function r(){a(g.find("b")),s(m)}function a(e){e.each(function(){var e=t(this),r=e.text().split(""),a=e.hasClass("wpr-anim-text-visible");for(var s in r){var i=r[s].replace(/ /g,"&nbsp;");r[s]=a?"<i class=\"wpr-anim-text-in\">"+i+"</i>":"<i>"+i+"</i>"}var l=r.join("");e.html(l).css("opacity",1)})}function s(e){e.each(function(){var e=t(this),i=e.find(".wpr-anim-text-inner");if(e.hasClass("wpr-anim-text-type-clip")){var r=i.outerWidth();i.css("width",r)}setTimeout(function(){l(e.find(".wpr-anim-text-visible").eq(0))},T),e.hasClass("wpr-anim-text-type-rotate-1")&&i.find("b").each(function(){t(this).outerWidth()>i.outerWidth()&&i.css("width",t(this).outerWidth())})})}function l(e){var t=p(e);if(!("yes"!==h&&(b++,b===u)))if(e.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-typing")){var i=e.parent(".wpr-anim-text-inner");i.addClass("wpr-anim-text-selected").removeClass("waiting"),setTimeout(function(){i.removeClass("wpr-anim-text-selected"),e.removeClass("wpr-anim-text-visible").addClass("wpr-anim-text-hidden").children("i").removeClass("wpr-anim-text-in").addClass("wpr-anim-text-out")},v),setTimeout(function(){n(t,y)},k)}else if(e.parents(".wpr-anim-text").hasClass("wpr-anim-text-letters")){var r=!!(e.children("i").length>=t.children("i").length);o(e.find("i").eq(0),e,r,y),d(t.find("i").eq(0),t,r,y)}else e.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-clip")?e.parents(".wpr-anim-text-inner").animate({width:"2px"},y,function(){c(e,t),n(t)}):(c(e,t),setTimeout(function(){l(t)},T))}function n(e,t){e.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-typing")?(d(e.find("i").eq(0),e,!1,t),e.addClass("wpr-anim-text-visible").removeClass("wpr-anim-text-hidden")):e.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-clip")&&e.parents(".wpr-anim-text-inner").animate({width:e.outerWidth()},y,function(){setTimeout(function(){l(e)},T)})}function o(e,t,i,r){if(e.removeClass("wpr-anim-text-in").addClass("wpr-anim-text-out"),e.is(":last-child")?i&&setTimeout(function(){l(p(t))},T):setTimeout(function(){o(e.next(),t,i,r)},r),e.is(":last-child")){var a=p(t);c(t,a)}}function d(e,t,i,r){e.addClass("wpr-anim-text-in").removeClass("wpr-anim-text-out"),e.is(":last-child")?(t.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-typing")&&setTimeout(function(){t.parents(".wpr-anim-text-inner").addClass("waiting")},200),!i&&setTimeout(function(){l(t)},T)):setTimeout(function(){d(e.next(),t,i,r)},r)}function p(e){return e.is(":last-child")?e.parent().children().eq(0):e.next()}function c(e,t){e.removeClass("wpr-anim-text-visible").addClass("wpr-anim-text-hidden"),t.removeClass("wpr-anim-text-hidden").addClass("wpr-anim-text-visible")}function f(e,t,r){for(var a="",s=0;s<t;s++)a+="top"===r?"0 -"+s+"px 0 "+e+",":"right"===r?s+"px 0 0 "+e+",":"bottom"===r?"0 "+s+"px 0 "+e+",":"left"===r?"-"+s+"px 0 0 "+e+",":"top-left"===r?"-"+s+"px -"+s+"px 0 "+e+",":"top-right"===r?s+"px -"+s+"px 0 "+e+",":"bottom-left"===r?"-"+s+"px "+s+"px 0 "+e+",":"bottom-right"===r?s+"px "+s+"px 0 "+e+",":s+"px "+s+"px 0 "+e+",";return a=a.slice(0,-1),a}if(e.hasClass("wpr-advanced-text-style-animated")){var m=e.find(".wpr-anim-text"),g=e.find(".wpr-anim-text-letters"),y=m.attr("data-anim-duration"),w=y.split(","),h=m.attr("data-anim-loop"),u=m.find("b").length,b=0;m.find("b").first().addClass("wpr-anim-text-visible");var y=parseInt(w[0],10),T=parseInt(w[1],10),v=500,k=1300;r()}i(),t(window).on("resize",function(){i()})},widgetProgressBar:function(e){function i(e){if(e.length){var i=e.offset().top,r=i+e.outerHeight(),a=t(window).scrollTop(),s=a+t(window).height();return i>t(window).height()&&(i+=50),r>a&&i<s}}function r(){if(i(p)&&p.css({height:y+"%"}),i(d)&&d.css({width:y+"%"}),i(s)){var e=f.circleOffset;o.css({"stroke-dashoffset":e})}(i(p)||i(d)||i(s))&&setTimeout(function(){m.numerator(b)},h)}var a=e.find(".wpr-progress-bar"),s=e.find(".wpr-prbar-circle"),l=s.find(".wpr-prbar-circle-svg"),n=l.find(".wpr-prbar-circle-line"),o=e.find(".wpr-prbar-circle-prline"),d=a.find(".wpr-prbar-hr-line-inner"),p=a.find(".wpr-prbar-vr-line-inner"),c=a.data("options"),f=s.data("circle-options"),m=a.find(".wpr-prbar-counter-value"),g=c.counterValue,y=c.counterValuePersent,w=c.animDuration,h=c.animDelay,u=elementorFrontend.getCurrentDeviceMode(),b={toValue:g,duration:w};"yes"===c.counterSeparator&&(b.delimiter=",");r(),t(window).on("scroll",function(){r()})},widgetImageHotspots:function(e){var i=e.find(".wpr-image-hotspots"),r=i.data("options"),a=i.find(".wpr-hotspot-item"),s=r.tooltipTrigger;"click"===s?(a.on("click",function(){t(this).hasClass("wpr-tooltip-active")?t(this).removeClass("wpr-tooltip-active"):(a.removeClass("wpr-tooltip-active"),t(this).addClass("wpr-tooltip-active")),event.stopPropagation()}),t(window).on("click",function(){a.removeClass("wpr-tooltip-active")})):"hover"===s?a.hover(function(){t(this).toggleClass("wpr-tooltip-active")}):a.addClass("wpr-tooltip-active")},widgetFlipBox:function(e){var i=e.find(".wpr-flip-box"),r=i.data("trigger");"box"===r?(i.find(".wpr-flip-box-front").on("click",function(){t(this).closest(".wpr-flip-box").addClass("wpr-flip-box-active")}),t(window).on("click",function(){0===t(event.target).closest(".wpr-flip-box").length&&i.removeClass("wpr-flip-box-active")})):"btn"==r?(i.find(".wpr-flip-box-btn").on("click",function(){t(this).closest(".wpr-flip-box").addClass("wpr-flip-box-active")}),t(window).on("click",function(){0===t(event.target).closest(".wpr-flip-box").length&&i.removeClass("wpr-flip-box-active")})):"hover"==r&&i.hover(function(){t(this).toggleClass("wpr-flip-box-active")})},widgetContentTicker:function(e){var t=e.find(".wpr-ticker-slider"),i=e.find(".wpr-ticker-marquee"),r=i.data("options"),a=e.attr("class"),s=a.match(/wpr-ticker-slider-columns-\d/)?a.match(/wpr-ticker-slider-columns-\d/).join().slice(-1):2,l=a.match(/columns--widescreen\d/)?a.match(/columns--widescreen\d/).join().slice(-1):s,n=a.match(/columns--laptop\d/)?a.match(/columns--laptop\d/).join().slice(-1):s,o=a.match(/columns--tablet_extra\d/)?a.match(/columns--tablet_extra\d/).join().slice(-1):d,d=a.match(/columns--tablet\d/)?a.match(/columns--tablet\d/).join().slice(-1):2,p=a.match(/columns--mobile_extra\d/)?a.match(/columns--mobile_extra\d/).join().slice(-1):d,c=a.match(/columns--mobile\d/)?a.match(/columns--mobile\d/).join().slice(-1):1,f=t.attr("data-slide-effect"),m="hr-slide"===f&&a.match(/wpr-ticker-slides-to-scroll-\d/)?+a.match(/wpr-ticker-slides-to-scroll-\d/).join().slice(-1):1;t.slick({appendArrows:e.find(".wpr-ticker-slider-controls"),slidesToShow:s,responsive:[{breakpoint:1e4,settings:{slidesToShow:"typing"===f||"fade"===f?1:l,slidesToScroll:m>l?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:2399,settings:{slidesToShow:"typing"===f||"fade"===f?1:s,slidesToScroll:m>s?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:1221,settings:{slidesToShow:"typing"===f||"fade"===f?1:n,slidesToScroll:m>n?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:1200,settings:{slidesToShow:"typing"===f||"fade"===f?1:o,slidesToScroll:m>o?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:1024,settings:{slidesToShow:"typing"===f||"fade"===f?1:d,slidesToScroll:m>d?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:880,settings:{slidesToShow:"typing"===f||"fade"===f?1:p,slidesToScroll:m>p?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:768,settings:{slidesToShow:"typing"===f||"fade"===f?1:c,slidesToScroll:m>c?1:m,fade:!("typing"!==f&&"fade"!==f)}}]}),i.marquee(r)},widgetTabs:function(e){function i(e){var t=l.eq(e),i=o.eq(e),r="auto";n.css({height:n.outerHeight(!0)}),l.removeClass("wpr-tab-active"),t.addClass("wpr-tab-active"),o.removeClass("wpr-tab-content-active wpr-animation-enter"),r=i.outerHeight(!0),r+=parseInt(n.css("border-top-width"))+parseInt(n.css("border-bottom-width")),i.addClass("wpr-tab-content-active wpr-animation-enter"),n.css({height:r}),setTimeout(function(){n.css({height:"auto"})},500)}function r(){l.on("click",function(){var e=t(this).data("tab")-1;clearInterval(f),i(e)})}function a(){l.hover(function(){var e=t(this).data("tab")-1;clearInterval(f),i(e)})}var s=t(".wpr-tabs",e).first(),l=t(".wpr-tabs-wrap",s).first(),n=t(".wpr-tabs-content-wrap",s).first(),l=t("> .wpr-tab",l),o=t("> .wpr-tab-content",n),d=s.data("options"),p=d.activeTab-1;if(l.eq(p).addClass("wpr-tab-active"),o.eq(p).addClass("wpr-tab-content-active wpr-animation-enter"),d.autoplay)var c=d.activeTab-1,f=setInterval(function(){c<l.length-1?c++:c=0,i(c)},d.autoplaySpeed);"hover"===d.trigger?a():r()},widgetContentToogle:function(e){function i(t){if(!e.hasClass("wpr-switcher-label-style-outer")){var i=100/d.length;o.css({width:i+"%",left:t*i+"%"})}}function r(t){var r=d.eq(t),a=p.eq(t),l="auto";i(t),e.hasClass("wpr-switcher-label-style-outer")||(d.removeClass("wpr-switcher-active"),r.addClass("wpr-switcher-active"),e.hasClass("wpr-switcher-style-dual")&&s.attr("data-active-switcher",t+1)),n.css({height:n.outerHeight(!0)}),p.removeClass("wpr-switcher-content-active wpr-animation-enter"),l=a.outerHeight(!0),l+=parseInt(n.css("border-top-width"))+parseInt(n.css("border-bottom-width")),a.addClass("wpr-switcher-content-active wpr-animation-enter"),n.css({height:l}),setTimeout(function(){n.css({height:"auto"})},500)}var a=t(".wpr-content-toggle",e).first(),s=t(".wpr-switcher-container",a).first(),l=t(".wpr-switcher-wrap",a).first(),n=t(".wpr-switcher-content-wrap",a).first(),o=t("> .wpr-switcher-bg",l),d=t("> .wpr-switcher",l),p=t("> .wpr-switcher-content",n),c=parseInt(s.data("active-switcher"))-1;d.eq(c).addClass("wpr-switcher-active"),p.eq(c).addClass("wpr-switcher-content-active wpr-animation-enter"),i(c),function(){e.hasClass("wpr-switcher-label-style-outer")?l.on("click",function(){var e=l.find(".wpr-switcher-active");1===parseInt(e.data("switcher"),10)?(l.children(".wpr-switcher").eq(0).removeClass("wpr-switcher-active"),l.children(".wpr-switcher").eq(1).addClass("wpr-switcher-active"),l.closest(".wpr-switcher-container").attr("data-active-switcher",2),r(1)):2===parseInt(e.data("switcher"),10)&&(l.children(".wpr-switcher").eq(1).removeClass("wpr-switcher-active"),l.children(".wpr-switcher").eq(0).addClass("wpr-switcher-active"),l.closest(".wpr-switcher-container").attr("data-active-switcher",1),r(0))}):d.on("click",function(){var e=t(this).data("switcher")-1;r(e)})}()},widgetBackToTop:function(e){function i(e,t,i){e>i.animationOffset?"fade"===i.animation?r.stop().css("visibility","visible").animate({opacity:"1"},i.animationDuration):"slide"===i.animation?r.stop().css("visibility","visible").animate({opacity:"1","margin-bottom":0},i.animationDuration):r.css("visibility","visible"):"fade"===i.animation?r.stop().animate({opacity:"0"},i.animationDuration):"slide"===i.animation?r.stop().animate({"margin-bottom":"-100px",opacity:"0"},i.animationDuration):r.css("visibility","hidden")}var r=e.find(".wpr-stt-btn"),a=r.attr("data-settings");a=JSON.parse(a),"fixed"===a.fixed&&("none"!==a.animation&&(r.css({opacity:"0"}),"slide"===a.animation&&r.css({"margin-bottom":"-100px"})),i(t(window).scrollTop(),r,a),t(window).scroll(function(){i(t(this).scrollTop(),r,a)})),r.on("click",function(){return t("html, body").animate({scrollTop:0},a.scrolAnim),!1})},widgetLottieAnimations:function(e){var i=e.find(".wpr-lottie-animations"),r=e.find(".wpr-lottie-animations-wrapper"),a=JSON.parse(i.attr("data-settings")),s=lottie.loadAnimation({container:i[0],path:i.attr("data-json-url"),renderer:a.lottie_renderer,loop:!("yes"!==a.loop),autoplay:!("yes"!==a.autoplay)});s.setSpeed(a.speed),a.reverse&&s.setDirection(-1),s.addEventListener("DOMLoaded",function(){function e(){if(s.pause(),"function"==typeof i[0].getBoundingClientRect){var e=document.documentElement.clientHeight,r=100*(i[0].getBoundingClientRect().top/e),l=100*(i[0].getBoundingClientRect().bottom/e),n=r<a.scroll_end,o=l>a.scroll_start;if("viewport"===a.trigger&&(o&&n?s.play():s.pause()),"scroll"===a.trigger&&o&&n){s.pause();var d=100*t(window).scrollTop()/(t(document).height()-t(window).height()),p=Math.round(d);s.goToAndStop(4e3*(p/100))}}}"hover"!==a.trigger&&"none"!==a.trigger&&(e("load"),t(window).on("scroll",e)),"hover"===a.trigger&&(s.pause(),i.hover(function(){s.play()},function(){s.pause()}))})},widgetPostsTimeline:function(i){function r(){i.find(".wpr-centered").length&&(767>=window.innerWidth?(i.find(".wpr-wrapper .wpr-timeline-centered").removeClass("wpr-both-sided-timeline").addClass("wpr-one-sided-timeline").addClass("wpr-remove-one-sided-later"),i.find(".wpr-wrapper .wpr-left-aligned").removeClass("wpr-left-aligned").addClass("wpr-right-aligned").addClass("wpr-remove-right-aligned-later")):(i.find(".wpr-wrapper .wpr-timeline-centered.wpr-remove-one-sided-later").removeClass("wpr-one-sided-timeline").addClass("wpr-both-sided-timeline").removeClass("wpr-remove-one-sided-later"),i.find(".wpr-wrapper .wpr-remove-right-aligned-later").removeClass("wpr-right-aligned").addClass("wpr-left-aligned").removeClass("wpr-remove-right-aligned-later")))}function a(e,r){if(i.find(".wpr-timeline-fill").length&&(0<i.find(".wpr-timeline-entry:eq(0)").prev(".wpr-year-wrap").length&&(r=i.find(".wpr-year-label").eq(0)),p.length)){var a=p.css("height").slice(0,-2),s=document.documentElement.scrollTop,l=document.documentElement.clientHeight/2;s+l-r.offset().top>e.offset().top-r.offset().top+parseInt(e.css("height").slice(0,-2))||p.css("height",s+l-r.offset().top+"px"),i.find(".wpr-main-line-icon.wpr-icon").each(function(){t(this).offset().top<parseInt(r.offset().top+parseInt(a))?t(this).addClass("wpr-change-border-color"):t(this).removeClass("wpr-change-border-color")})}}function s(e,t,r,a,s){if(s=i.find(".wpr-timeline-centered"),i.find(".wpr-both-sided-timeline").length||i.find(".wpr-one-sided-timeline").length||i.find(".wpr-one-sided-timeline-left").length){0<i.find(".wpr-timeline-entry:eq(0)").prev(".wpr-year-wrap").length&&(a=i.find(".wpr-year-label").eq(0));var l=a.offset().top,n=r.offset().top,o=l-s.offset().top+"px",d=n-l+parseInt(r.css("height").slice(0,-2));e.css("top",o),e.css("height",d),""===t?"":t.css("top",o)}}var l=0<i.find(".wpr-timeline-centered").length?i.find(".wpr-timeline-centered"):"",n=0<i.find(".wpr-timeline-centered").length?i.find(".wpr-timeline-centered"):"",o=0<i.find(".wpr-grid-pagination").length?i.find(".wpr-grid-pagination"):"",d=0<i.find(".wpr-middle-line").length?i.find(".wpr-middle-line"):"",p=0<i.find(".wpr-timeline-fill").length?i.find(".wpr-timeline-fill"):"",c=0<i.find(".wpr-main-line-icon.wpr-icon:last").length?i.find(".wpr-main-line-icon.wpr-icon:last"):"",f=0<i.find(".wpr-main-line-icon.wpr-icon").length?i.find(".wpr-main-line-icon.wpr-icon").first():"",m=".elementor-element-"+i.attr("data-id"),g=i.find(".wpr-story-info-vertical").attr("data-animation-offset")?+i.find(".wpr-story-info-vertical").attr("data-animation-offset"):"",y=i.find(".wpr-story-info-vertical").attr("data-animation-duration")?+i.find(".wpr-story-info-vertical").attr("data-animation-duration"):"";if(0<i.find(".wpr-timeline-centered").length&&(t(window).resize(function(){r()}),t(window).smartresize(function(){r()}),setTimeout(function(){r(),t(window).trigger("resize")},500),s(d,p,c,f,n),setTimeout(function(){s(d,p,c,f,n),t(window).trigger("resize")},500),t(window).smartresize(function(){s(d,p,c,f,n)}),t(window).resize(function(){s(d,p,c,f,n)}),"load-more"!==l.attr("data-pagination")&&i.find(".wpr-grid-pagination").css("visibility","hidden"),AOS.init({offset:parseInt(g),duration:y,once:!0}),a(c,f),t(window).on("scroll",function(){a(c,f)}),!i.find(".elementor-repeater-items").length&&!e.editorCheck()&&("load-more"===i.find(".wpr-timeline-centered").data("pagination")||"infinite-scroll"===i.find(".wpr-timeline-centered").data("pagination")))){var w=(void 0===l||"load-more"!==l.attr("data-pagination"))&&10;l.infiniteScroll({path:m+" .wpr-grid-pagination a",hideNav:!1,append:m+".wpr-timeline-entry",history:!1,scrollThreshold:w,status:m+" .page-load-status"}),l.on("request.infiniteScroll",function(){i.find(".wpr-load-more-btn").hide(),i.find(".wpr-pagination-loading").css("display","inline-block")});var h=0;l.on("load.infiniteScroll",function(e,r){h++;var w=t(r).find(m).find(".wpr-timeline-entry");l.infiniteScroll("appendItems",w),i.find(".wpr-one-sided-timeline").length||i.find(".wpr-one-sided-timeline-left").length||(i.find(".wpr-timeline-entry").each(function(e){t(this).removeClass("wpr-right-aligned wpr-left-aligned"),0==e%2?(t(this).addClass("wpr-left-aligned"),t(this).find(".wpr-story-info-vertical").attr("data-aos",t(this).find(".wpr-story-info-vertical").attr("data-aos-left"))):(t(this).addClass("wpr-right-aligned"),t(this).find(".wpr-story-info-vertical").attr("data-aos",t(this).find(".wpr-story-info-vertical").attr("data-aos-right")))}),AOS.init({offset:parseInt(g),duration:y,once:!0})),t(window).scroll(),i.find(".wpr-pagination-loading").hide(),l.data("max-pages")-1===h?(i.find(".wpr-pagination-finish").fadeIn(1e3),o.delay(2e3).fadeOut(1e3)):"load-more"===l.attr("data-pagination")&&i.find(".wpr-load-more-btn").fadeIn(),d=i.find(".wpr-middle-line"),p=i.find(".wpr-timeline-fill"),c=i.find(".wpr-main-line-icon.wpr-icon:last"),f=i.find(".wpr-main-line-icon.wpr-icon").first(),n=i.find(".wpr-timeline-centered"),s(d,p,c,f,n),t(window).trigger("resize"),a(c,f)}),e.editorCheck()||(i.find(".wpr-load-more-btn").on("click",function(){return l.infiniteScroll("loadNextPage"),!1}),"infinite-scroll"==l.attr("data-pagination")&&l.infiniteScroll("loadNextPage"))}if(i.find(".swiper-wrapper").length){var u=function(e,t){if("undefined"==typeof Swiper){var i=elementorFrontend.utils.swiper;return new i(e,t).then(function(e){return e})}return b(e,t)},b=function(e,t){return new Promise(function(i){var r=new Swiper(e,t);i(r)})},T=i.find(".wpr-horizontal-bottom").length?".wpr-horizontal-bottom":".wpr-horizontal",v=i.find(T+".swiper-container"),k=v.data("slidestoshow");u(v,{spaceBetween:+v.data("swiper-space-between"),autoplay:"yes"===v.data("autoplay"),delay:+v.attr("data-swiper-delay"),speed:+v.attr("data-swiper-speed"),slidesPerView:v.data("slidestoshow"),direction:"horizontal",pagination:{el:".wpr-swiper-pagination",type:"progressbar"},navigation:{nextEl:".wpr-button-next",prevEl:".wpr-button-prev"},breakpoints:{320:{slidesPerView:1},480:{slidesPerView:2},740:{slidesPerView:k}}})}},widgetSharingButtons:function(e){e.find(".wpr-sharing-print").on("click",function(t){t.preventDefault(),window.print()})},editorCheck:function(){return!!t("body").hasClass("elementor-editor-active")}};t(window).on("elementor/frontend/init",e.init)})(jQuery,window.elementorFrontend),function(e,t){var i=function(e,t,i){var r;return function(){var a=this,s=arguments;r?clearTimeout(r):i&&e.apply(a,s),r=setTimeout(function(){i||e.apply(a,s),r=null},t||100)}};jQuery.fn[t]=function(e){return e?this.bind("resize",i(e)):this.trigger(t)}}(jQuery,"smartresize");
assets/js/lib/confetti/confetti.min.js ADDED
@@ -0,0 +1 @@
 
1
+ var JSConfetti=function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}function n(t){return+t.replace(/px/,"")}function s(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=Math.random()*(e-t)+t;return Math.floor(n*Math.pow(10,i))/Math.pow(10,i)}function o(t){return t[s(0,t.length)]}var a=["#fcf403","#62fc03","#f4fc03","#03e7fc","#03fca5","#a503fc","#fc03ad","#fc03c2"];function r(t){return Math.log(t)/Math.log(1920)}var h=function(){function e(i){t(this,e);var n=i.initialPosition,a=i.direction,h=i.confettiRadius,c=i.confettiColors,u=i.emojis,l=i.emojiSize,d=i.canvasWidth,f=s(.9,1.7,3)*r(d);this.confettiSpeed={x:f,y:f},this.finalConfettiSpeedX=s(.2,.6,3),this.rotationSpeed=u.length?.01:s(.03,.07,3)*r(d),this.dragForceCoefficient=s(5e-4,9e-4,6),this.radius={x:h,y:h},this.initialRadius=h,this.rotationAngle="left"===a?s(0,.2,3):s(-.2,0,3),this.emojiSize=l,this.emojiRotationAngle=s(0,2*Math.PI),this.radiusYUpdateDirection="down";var m="left"===a?s(82,15)*Math.PI/180:s(-15,-82)*Math.PI/180;this.absCos=Math.abs(Math.cos(m)),this.absSin=Math.abs(Math.sin(m));var p=s(-150,0),v={x:n.x+("left"===a?-p:p)*this.absCos,y:n.y-p*this.absSin};this.currentPosition=Object.assign({},v),this.initialPosition=Object.assign({},v),this.color=u.length?null:o(c),this.emoji=u.length?o(u):null,this.createdAt=(new Date).getTime(),this.direction=a}return i(e,[{key:"draw",value:function(t){var e=this.currentPosition,i=this.radius,n=this.color,s=this.emoji,o=this.rotationAngle,a=this.emojiRotationAngle,r=this.emojiSize,h=window.devicePixelRatio;n?(t.fillStyle=n,t.beginPath(),t.ellipse(e.x*h,e.y*h,i.x*h,i.y*h,o,0,2*Math.PI),t.fill()):s&&(t.font="".concat(r,"px serif"),t.save(),t.translate(h*e.x,h*e.y),t.rotate(a),t.textAlign="center",t.fillText(s,0,0),t.restore())}},{key:"updatePosition",value:function(t,e){var i=this.confettiSpeed,n=this.dragForceCoefficient,s=this.finalConfettiSpeedX,o=this.radiusYUpdateDirection,a=this.rotationSpeed,r=this.createdAt,h=this.direction,c=e-r;i.x>s&&(this.confettiSpeed.x-=n*t),this.currentPosition.x+=i.x*("left"===h?-this.absCos:this.absCos)*t,this.currentPosition.y=this.initialPosition.y-i.y*this.absSin*c+.00125*Math.pow(c,2)/2,this.rotationSpeed-=this.emoji?1e-4:1e-5*t,this.rotationSpeed<0&&(this.rotationSpeed=0),this.emoji?this.emojiRotationAngle+=this.rotationSpeed*t%(2*Math.PI):"down"===o?(this.radius.y-=t*a,this.radius.y<=0&&(this.radius.y=0,this.radiusYUpdateDirection="up")):(this.radius.y+=t*a,this.radius.y>=this.initialRadius&&(this.radius.y=this.initialRadius,this.radiusYUpdateDirection="down"))}},{key:"getIsVisibleOnCanvas",value:function(t){return this.currentPosition.y<t+100}}]),e}();function c(){var t=document.createElement("canvas");return t.style.position="fixed",t.style.width="100%",t.style.height="100%",t.style.top="0",t.style.left="0",t.style.zIndex="1000",t.style.pointerEvents="none",document.body.appendChild(t),t}function u(t){var e=t.confettiRadius,i=void 0===e?6:e,n=t.confettiNumber,s=void 0===n?t.confettiesNumber||(t.emojis?40:250):n,o=t.confettiColors,r=void 0===o?a:o,h=t.emojis,c=void 0===h?t.emojies||[]:h,u=t.emojiSize,l=void 0===u?80:u;return t.emojies&&console.error("emojies argument is deprecated, please use emojis instead"),t.confettiesNumber&&console.error("confettiesNumber argument is deprecated, please use confettiNumber instead"),{confettiRadius:i,confettiNumber:s,confettiColors:r,emojis:c,emojiSize:l}}var l=function(){function e(i){var n=this;t(this,e),this.canvasContext=i,this.shapes=[],this.promise=new Promise((function(t){return n.resolvePromise=t}))}return i(e,[{key:"getBatchCompletePromise",value:function(){return this.promise}},{key:"addShapes",value:function(){var t;(t=this.shapes).push.apply(t,arguments)}},{key:"complete",value:function(){var t;return!this.shapes.length&&(null===(t=this.resolvePromise)||void 0===t||t.call(this),!0)}},{key:"processShapes",value:function(t,e,i){var n=this,s=t.timeDelta,o=t.currentTime;this.shapes=this.shapes.filter((function(t){return t.updatePosition(s,o),t.draw(n.canvasContext),!i||t.getIsVisibleOnCanvas(e)}))}}]),e}();return function(){function e(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t(this,e),this.activeConfettiBatches=[],this.canvas=i.canvas||c(),this.canvasContext=this.canvas.getContext("2d"),this.requestAnimationFrameRequested=!1,this.lastUpdated=(new Date).getTime(),this.iterationIndex=0,this.loop=this.loop.bind(this),requestAnimationFrame(this.loop)}return i(e,[{key:"loop",value:function(){var t,e,i,s,o;this.requestAnimationFrameRequested=!1,t=this.canvas,e=window.devicePixelRatio,i=getComputedStyle(t),s=n(i.getPropertyValue("width")),o=n(i.getPropertyValue("height")),t.setAttribute("width",(s*e).toString()),t.setAttribute("height",(o*e).toString());var a=(new Date).getTime(),r=a-this.lastUpdated,h=this.canvas.offsetHeight,c=this.iterationIndex%10==0;this.activeConfettiBatches=this.activeConfettiBatches.filter((function(t){return t.processShapes({timeDelta:r,currentTime:a},h,c),!c||!t.complete()})),this.iterationIndex++,this.queueAnimationFrameIfNeeded(a)}},{key:"queueAnimationFrameIfNeeded",value:function(t){this.requestAnimationFrameRequested||this.activeConfettiBatches.length<1||(this.requestAnimationFrameRequested=!0,this.lastUpdated=t||(new Date).getTime(),requestAnimationFrame(this.loop))}},{key:"addConfetti",value:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=u(t),i=e.confettiRadius,n=e.confettiNumber,s=e.confettiColors,o=e.emojis,a=e.emojiSize,r=this.canvas.getBoundingClientRect(),c=r.width,d=r.height,f=5*d/7,m={x:0,y:f},p={x:c,y:f},v=new l(this.canvasContext),g=0;g<n/2;g++){var y=new h({initialPosition:m,direction:"right",confettiRadius:i,confettiColors:s,confettiNumber:n,emojis:o,emojiSize:a,canvasWidth:c}),C=new h({initialPosition:p,direction:"left",confettiRadius:i,confettiColors:s,confettiNumber:n,emojis:o,emojiSize:a,canvasWidth:c});v.addShapes(y,C)}return this.activeConfettiBatches.push(v),this.queueAnimationFrameIfNeeded(),v.getBatchCompletePromise()}}]),e}()}();
assets/js/library-editor.js CHANGED
@@ -55,7 +55,7 @@
55
  'opacity' : '1',
56
  'background-color' : '#333',
57
  'box-shadow' : '1px 1px 3px 0 #000',
58
- }).html( '<i class="fas fa-times"></i>');
59
 
60
  $( '#wpr-template-editor-popup .dialog-close-button i' ).css({
61
  'font-size' : '15px',
55
  'opacity' : '1',
56
  'background-color' : '#333',
57
  'box-shadow' : '1px 1px 3px 0 #000',
58
+ }).html( '<i class="eicon-close"></i>');
59
 
60
  $( '#wpr-template-editor-popup .dialog-close-button i' ).css({
61
  'font-size' : '15px',
assets/js/library-editor.min.js CHANGED
@@ -12,6 +12,9 @@
12
  },
13
 
14
  loadPreview: function() {
 
 
 
15
  window.elementorFrontend.hooks.addAction( 'frontend/element_ready/shortcode.default', function( $scope ) {
16
  $scope.find( '.wpr-template-edit-btn' ).on( 'click', WprElementorEditorPopup.renderPopup );
17
  } );
@@ -55,7 +58,7 @@
55
  'opacity' : '1',
56
  'background-color' : '#333',
57
  'box-shadow' : '1px 1px 3px 0 #000',
58
- }).html( '<i class="fas fa-times"></i>');
59
 
60
  $( '#wpr-template-editor-popup .dialog-close-button i' ).css({
61
  'font-size' : '15px',
@@ -106,7 +109,13 @@
106
  onPreviewLoad: function() {
107
  // Open Popup Settings
108
  setTimeout(function() {
109
- $( '#elementor-panel-footer-settings' ).trigger( 'click' );
 
 
 
 
 
 
110
  }, 2000);
111
 
112
  // Popup Settings Notification
@@ -192,7 +201,7 @@
192
  var closeTime = JSON.parse( localStorage.getItem( 'WprPopupEditorNotification'+ version) ) || {};
193
 
194
  if ( closeTime + 604800000 >= Date.now() ) {
195
- // return;
196
  }
197
 
198
  // Notification HTML
@@ -221,7 +230,7 @@
221
 
222
 
223
  // Theme Builder
224
- var WprTemplateEditor = {
225
 
226
  init: function() {
227
  if ( ! $( 'body' ).hasClass( 'elementor-editor-wpr-theme-builder' ) ) {
@@ -229,43 +238,39 @@
229
  }
230
 
231
  // Load Preview
232
- window.elementor.on( 'preview:loaded', WprTemplateEditor.onPreviewLoad );
233
  },
234
 
235
  onPreviewLoad: function() {
236
 
237
- // Open Popup Settings
238
- setTimeout(function() {
239
- $( '#elementor-panel-footer-settings' ).trigger( 'click' );
240
- }, 500 );
241
-
242
  // Popup Settings Notification
243
- WprTemplateEditor.settingsNotification();
244
 
245
  // Submit Preview Changes
246
  $( '#elementor-panel-footer-settings' ).on( 'click', function() {
247
  setTimeout(function() {
248
-
249
- $( '.elementor-control-submit_preview_changes' ).on( 'click', function() {
250
- $( '#elementor-panel-saver-button-publish' ).trigger( 'click' );
251
- $( '#elementor-preview-loading' ).show();
252
-
253
-
254
- var saveChanges = setInterval(function() {
255
- if ( ! $( 'html' ).hasClass( 'nprogress-busy' ) ) {
256
- location.reload();
257
- clearInterval(saveChanges);
258
  }
259
- }, 500 );
260
  });
261
- });
262
  });
263
 
264
  },
265
 
266
  settingsNotification: function() {
 
 
 
267
  // Get Close Time
268
- var closeTime = JSON.parse( localStorage.getItem( 'WprTemplateEditorNotification') ) || {};
269
 
270
  if ( closeTime + 604800000 >= Date.now() ) {
271
  return;
@@ -282,25 +287,27 @@
282
 
283
  setTimeout(function() {
284
  // Render Notification
285
- $( 'body' ).append( nHTML ).hide().fadeIn();
 
286
 
287
- // Set Close Time
288
- $( document ).on( 'click', function() {
289
- $( '#wpr-template-settings-notification' ).fadeOut();
290
- });
291
 
292
- // Hide on Click
293
- $( '#wpr-template-settings-notification .eicon-close' ).on( 'click', function() {
294
- $( '#wpr-template-settings-notification' ).fadeOut();
295
 
296
- // Save Close Time in Browser
297
- localStorage.setItem( 'WprTemplateEditorNotification', Date.now() );
298
- });
 
299
  }, 1000 );
300
  },
301
  };
302
 
303
- $( window ).on( 'elementor:init', WprTemplateEditor.init );
304
 
305
  // Dynamic Progress Bar for Elementor Editor
306
  $(window).on('elementor:init', function () {
12
  },
13
 
14
  loadPreview: function() {
15
+ window.elementorFrontend.hooks.addAction( 'frontend/element_ready/wpr-elementor-template.default', function( $scope ) {
16
+ $scope.find( '.wpr-template-edit-btn' ).on( 'click', WprElementorEditorPopup.renderPopup );
17
+ } );
18
  window.elementorFrontend.hooks.addAction( 'frontend/element_ready/shortcode.default', function( $scope ) {
19
  $scope.find( '.wpr-template-edit-btn' ).on( 'click', WprElementorEditorPopup.renderPopup );
20
  } );
58
  'opacity' : '1',
59
  'background-color' : '#333',
60
  'box-shadow' : '1px 1px 3px 0 #000',
61
+ }).html('<i class="eicon-close"></i>');
62
 
63
  $( '#wpr-template-editor-popup .dialog-close-button i' ).css({
64
  'font-size' : '15px',
109
  onPreviewLoad: function() {
110
  // Open Popup Settings
111
  setTimeout(function() {
112
+ if ( $( '#elementor-panel-footer-settings' ).length ) {
113
+ $( '#elementor-panel-footer-settings' ).trigger( 'click' );
114
+ } else {
115
+ setTimeout(function() {
116
+ $( '#elementor-panel-footer-settings' ).trigger( 'click' );
117
+ }, 5000);
118
+ }
119
  }, 2000);
120
 
121
  // Popup Settings Notification
201
  var closeTime = JSON.parse( localStorage.getItem( 'WprPopupEditorNotification'+ version) ) || {};
202
 
203
  if ( closeTime + 604800000 >= Date.now() ) {
204
+ return;
205
  }
206
 
207
  // Notification HTML
230
 
231
 
232
  // Theme Builder
233
+ var WprThemeBuilder = {
234
 
235
  init: function() {
236
  if ( ! $( 'body' ).hasClass( 'elementor-editor-wpr-theme-builder' ) ) {
238
  }
239
 
240
  // Load Preview
241
+ window.elementor.on( 'preview:loaded', WprThemeBuilder.onPreviewLoad );
242
  },
243
 
244
  onPreviewLoad: function() {
245
 
 
 
 
 
 
246
  // Popup Settings Notification
247
+ WprThemeBuilder.settingsNotification();
248
 
249
  // Submit Preview Changes
250
  $( '#elementor-panel-footer-settings' ).on( 'click', function() {
251
  setTimeout(function() {
252
+ $( '.elementor-control-submit_preview_changes button' ).on( 'click', function() {
253
+ $e.run('document/save/auto', {
254
+ force: true,
255
+ onSuccess: function onSuccess() {
256
+ elementor.reloadPreview();
257
+ elementor.once('preview:loaded', function () {
258
+ $e.route('panel/page-settings/settings');
259
+ });
 
 
260
  }
261
+ });
262
  });
263
+ }, 500);
264
  });
265
 
266
  },
267
 
268
  settingsNotification: function() {
269
+ var version = $('#wpr-addons-editor-js-js').attr('src');
270
+ version = 'v-'+ version.substring(version .length - 6, version .length);
271
+
272
  // Get Close Time
273
+ var closeTime = JSON.parse( localStorage.getItem('WprThemeBuilderNotification'+ version) ) || {};
274
 
275
  if ( closeTime + 604800000 >= Date.now() ) {
276
  return;
287
 
288
  setTimeout(function() {
289
  // Render Notification
290
+ if ( !$('#wpr-template-settings-notification').length ) {
291
+ $('body').append(nHTML).hide().fadeIn();
292
 
293
+ // Set Close Time
294
+ $(document).on( 'click', function() {
295
+ $('#wpr-template-settings-notification').fadeOut();
296
+ });
297
 
298
+ // Hide on Click
299
+ $('#wpr-template-settings-notification .eicon-close').on( 'click', function() {
300
+ $( '#wpr-template-settings-notification' ).fadeOut();
301
 
302
+ // Save Close Time in Browser
303
+ localStorage.setItem( 'WprThemeBuilderNotification'+ version, Date.now() );
304
+ });
305
+ }
306
  }, 1000 );
307
  },
308
  };
309
 
310
+ $( window ).on( 'elementor:init', WprThemeBuilder.init );
311
 
312
  // Dynamic Progress Bar for Elementor Editor
313
  $(window).on('elementor:init', function () {
assets/js/modal-popups.min.js CHANGED
@@ -1 +1 @@
1
- !function(r){"use strict";var u={init:function(){r(document).ready(function(){r(".wpr-template-popup").length&&!u.editorCheck()&&(u.openPopupInit(),u.closePopupInit())})},openPopupInit:function(){r(".wpr-template-popup").each(function(){var e=r(this),p=u.getID(e);if(u.checkAvailability(p)&&u.checkStopShowingAfterDate(e)){u.setLocalStorage(e,"show");var o,t,n,a=JSON.parse(localStorage.getItem("WprPopupSettings"))[p];if(!u.checkAvailableDevice(e,a))return!1;u.popupTriggerInit(e),"load"===a.popup_trigger?(o=1e3*a.popup_load_delay,r(window).on("load",function(){setTimeout(function(){u.openPopup(e,a)},o)})):"scroll"===a.popup_trigger?r(window).on("scroll",function(){var p=r(window).scrollTop()/(r(document).height()-r(window).height());(p=Math.round(100*p))>=a.popup_scroll_progress&&!e.hasClass("wpr-popup-open")&&u.openPopup(e,a)}):"element-scroll"===a.popup_trigger?r(window).on("scroll",function(){var p=r(a.popup_element_scroll),o=r(window).scrollTop()+r(window).height();p.length&&p.offset().top<o&&!e.hasClass("wpr-popup-open")&&u.openPopup(e,a)}):"date"===a.popup_trigger?(p=Date.now(),Date.parse(a.popup_specific_date)<p&&setTimeout(function(){u.openPopup(e,a)},1e3)):"inactivity"===a.popup_trigger?(t=null,n=1e3*a.popup_inactivity_time,r("*").bind("mousemove click keyup scroll resize",function(){e.hasClass("wpr-popup-open")||(clearTimeout(t),t=setTimeout(function(){u.openPopup(e,a)},n))}),r("body").trigger("mousemove")):"exit"===a.popup_trigger?r(document).on("mouseleave","body",function(p){e.hasClass("wpr-popup-open")||u.openPopup(e,a)}):"custom"===a.popup_trigger&&(r(a.popup_custom_trigger).on("click",function(){u.openPopup(e,a)}),r(a.popup_custom_trigger).css("cursor","pointer")),"0px"!==e.find(".wpr-popup-container-inner").css("height")&&new PerfectScrollbar(e.find(".wpr-popup-container-inner")[0])}})},openPopup:function(p,o){"notification"===o.popup_display_as&&(p.addClass("wpr-popup-notification"),setTimeout(function(){r("body").animate({"padding-top":p.find(".wpr-popup-container").outerHeight()+"px"},1e3*o.popup_animation_duration,"linear")},10)),o.popup_disable_page_scroll&&"modal"===o.popup_display_as&&r("body").css("overflow","hidden"),p.addClass("wpr-popup-open").show(),p.find(".wpr-popup-container").addClass("animated "+o.popup_animation),r(".wpr-popup-overlay").hide().fadeIn(),p.find(".wpr-popup-close-btn").css("opacity","0"),setTimeout(function(){p.find(".wpr-popup-close-btn").animate({opacity:"1"},500)},1e3*o.popup_close_button_display_delay),!1!==o.popup_automatic_close_switch&&setTimeout(function(){u.closePopup(p)},1e3*o.popup_automatic_close_delay)},closePopupInit:function(){r(".wpr-popup-close-btn").on("click",function(){u.closePopup(r(this).closest(".wpr-template-popup"))}),r(".wpr-popup-overlay").on("click",function(){var p=r(this).closest(".wpr-template-popup"),o=u.getID(p);0==u.getLocalStorage(o).popup_overlay_disable_close&&u.closePopup(p)}),r(document).on("keyup",function(p){var o,e=r(".wpr-popup-open");e.length&&(o=u.getID(e),o=u.getLocalStorage(o),27==p.keyCode&&0==o.popup_disable_esc_key&&u.closePopup(e))})},closePopup:function(p){var o=u.getID(p),o=u.getLocalStorage(o);"notification"===o.popup_display_as&&r("body").css("padding-top",0),u.setLocalStorage(p,"hide"),"modal"===o.popup_display_as?p.fadeOut():p.hide(),r("body").css("overflow","visible")},popupTriggerInit:function(i){var p=i.find(".wpr-popup-trigger-button");p.length&&p.on("click",function(){var p=JSON.parse(localStorage.getItem("WprPopupSettings"))||{},o=r(this).attr("data-trigger"),e=r(this).attr("data-show-delay"),t=r(this).attr("data-redirect"),n=r(this).attr("data-redirect-url"),a=u.getID(i);"close"===o||"close-permanently"===o?(p[a].popup_show_again_delay=parseInt(e,10),p[a].popup_close_time=Date.now()):"back"===o&&window.history.back(),u.closePopup(i),localStorage.setItem("WprPopupSettings",JSON.stringify(p)),"back"!==o&&"yes"===t&&setTimeout(function(){window.location.href=n},100)})},getLocalStorage:function(p){var o=JSON.parse(localStorage.getItem("WprPopupSettings"));if(null==o)return!1;p=o[p];return null!=p&&p},setLocalStorage:function(p,o){var e=u.getID(p),t=JSON.parse(p.attr("data-settings")),p=JSON.parse(localStorage.getItem("WprPopupSettings"))||{};p[e]=t,p[e].popup_close_time="hide"===o&&Date.now(),localStorage.setItem("WprPopupSettings",JSON.stringify(p))},checkStopShowingAfterDate:function(p){var o=JSON.parse(p.attr("data-settings")),p=Date.now();return!("yes"===o.popup_stop_after_date&&p>=Date.parse(o.popup_stop_after_date_select))},checkAvailability:function(p){var o=r("#wpr-popup-id-"+p),e=JSON.parse(o.attr("data-settings")),t=window.location.href;if("yes"!==e.popup_show_via_referral||-1!==t.indexOf("wpr_templates=user-popup")||-1!=t.indexOf(e.popup_referral_keyword)){if(!1===u.getLocalStorage(p))return!0;var n=o.find(".wpr-popup-trigger-button"),t=n.attr("data-show-delay"),o=Date.now(),a=u.getLocalStorage(p);if(t){var i=!0;if(n.each(function(){var p=r(this).attr("data-show-delay");a.popup_show_again_delay==parseInt(p,10)&&(i=!1)}),!0===i)return!0}else if(a.popup_show_again_delay!=e.popup_show_again_delay)return!0;return!(o<=(a.popup_close_time||0)+parseInt(a.popup_show_again_delay,10))}},checkAvailableDevice:function(p,o){var e=r("body").prop("clientWidth");return 1024<e?Boolean(o.popup_show_on_device):768<e?Boolean(o.popup_show_on_device_tablet):Boolean(o.popup_show_on_device_mobile)},getID:function(p){return p.attr("id").replace("wpr-popup-id-","")},editorCheck:function(){return!!r("body").hasClass("elementor-editor-active")}};u.init()}(jQuery,window.elementorFrontend);
1
+ (function(a){"use strict";var b={init:function(){a(document).ready(function(){!a(".wpr-template-popup").length||b.editorCheck()||(b.openPopupInit(),b.closePopupInit())})},openPopupInit:function(){a(".wpr-template-popup").each(function(){var c=a(this),d=b.getID(c);if(b.checkAvailability(d)&&b.checkStopShowingAfterDate(c)){b.setLocalStorage(c,"show");var e=JSON.parse(localStorage.getItem("WprPopupSettings")),f=e[d];if(!b.checkAvailableDevice(c,f))return!1;if(b.popupTriggerInit(c),"load"===f.popup_trigger){var g=1e3*f.popup_load_delay;a(window).on("load",function(){setTimeout(function(){b.openPopup(c,f)},g)})}else if("scroll"===f.popup_trigger)a(window).on("scroll",function(){var d=a(window).scrollTop()/(a(document).height()-a(window).height()),d=Math.round(100*d);d>=f.popup_scroll_progress&&!c.hasClass("wpr-popup-open")&&b.openPopup(c,f)});else if("element-scroll"===f.popup_trigger)a(window).on("scroll",function(){var d=a(f.popup_element_scroll),e=a(window).scrollTop()+a(window).height();d.length&&(!(d.offset().top<e)||c.hasClass("wpr-popup-open")||b.openPopup(c,f))});else if("date"===f.popup_trigger){var h=Date.now(),i=Date.parse(f.popup_specific_date);i<h&&setTimeout(function(){b.openPopup(c,f)},1e3)}else if("inactivity"===f.popup_trigger){var j=null,k=1e3*f.popup_inactivity_time;a("*").bind("mousemove click keyup scroll resize",function(){c.hasClass("wpr-popup-open")||(clearTimeout(j),j=setTimeout(function(){b.openPopup(c,f)},k))}),a("body").trigger("mousemove")}else"exit"===f.popup_trigger?a(document).on("mouseleave","body",function(){c.hasClass("wpr-popup-open")||b.openPopup(c,f)}):"custom"===f.popup_trigger&&(a(f.popup_custom_trigger).on("click",function(){b.openPopup(c,f)}),a(f.popup_custom_trigger).css("cursor","pointer"));if("0px"!==c.find(".wpr-popup-container-inner").css("height")){new PerfectScrollbar(c.find(".wpr-popup-container-inner")[0])}}})},openPopup:function(c,d){"notification"===d.popup_display_as&&(c.addClass("wpr-popup-notification"),setTimeout(function(){a("body").animate({"padding-top":c.find(".wpr-popup-container").outerHeight()+"px"},1e3*d.popup_animation_duration,"linear")},10)),d.popup_disable_page_scroll&&"modal"===d.popup_display_as&&a("body").css("overflow","hidden"),c.addClass("wpr-popup-open").show(),c.find(".wpr-popup-container").addClass("animated "+d.popup_animation),a(".wpr-popup-overlay").hide().fadeIn(),c.find(".wpr-popup-close-btn").css("opacity","0"),setTimeout(function(){c.find(".wpr-popup-close-btn").animate({opacity:"1"},500)},1e3*d.popup_close_button_display_delay),!1!==d.popup_automatic_close_switch&&setTimeout(function(){b.closePopup(c)},1e3*d.popup_automatic_close_delay)},closePopupInit:function(){a(".wpr-popup-close-btn").on("click",function(){b.closePopup(a(this).closest(".wpr-template-popup"))}),a(".wpr-popup-overlay").on("click",function(){var c=a(this).closest(".wpr-template-popup"),d=b.getID(c),e=b.getLocalStorage(d);!1==e.popup_overlay_disable_close&&b.closePopup(c)}),a(document).on("keyup",function(c){var d=a(".wpr-popup-open");if(d.length){var e=b.getID(d),f=b.getLocalStorage(e);27==c.keyCode&&!1==f.popup_disable_esc_key&&b.closePopup(d)}})},closePopup:function(c){var d=b.getID(c),e=b.getLocalStorage(d);"notification"===e.popup_display_as&&a("body").css("padding-top",0),b.setLocalStorage(c,"hide"),"modal"===e.popup_display_as?c.fadeOut():c.hide(),a("body").css("overflow","visible")},popupTriggerInit:function(c){var d=c.find(".wpr-popup-trigger-button");d.length&&d.on("click",function(){var d=JSON.parse(localStorage.getItem("WprPopupSettings"))||{},e=a(this).attr("data-trigger"),f=a(this).attr("data-show-delay"),g=a(this).attr("data-redirect"),h=a(this).attr("data-redirect-url"),i=b.getID(c);"close"===e?(d[i].popup_show_again_delay=parseInt(f,10),d[i].popup_close_time=Date.now()):"close-permanently"===e?(d[i].popup_show_again_delay=parseInt(f,10),d[i].popup_close_time=Date.now()):"back"===e&&window.history.back(),b.closePopup(c),localStorage.setItem("WprPopupSettings",JSON.stringify(d)),"back"!==e&&"yes"===g&&setTimeout(function(){window.location.href=h},100)})},getLocalStorage:function(a){var b=JSON.parse(localStorage.getItem("WprPopupSettings"));if(null==b)return!1;var c=b[a];return null!=c&&c},setLocalStorage:function(a,c){var d=b.getID(a),e=JSON.parse(a.attr("data-settings")),f=JSON.parse(localStorage.getItem("WprPopupSettings"))||{};f[d]=e,f[d].popup_close_time=!("hide"!==c)&&Date.now(),localStorage.setItem("WprPopupSettings",JSON.stringify(f))},checkStopShowingAfterDate:function(a){var b=JSON.parse(a.attr("data-settings")),c=Date.now();return!("yes"===b.popup_stop_after_date&&c>=Date.parse(b.popup_stop_after_date_select))},checkAvailability:function(c){var d=a("#wpr-popup-id-"+c),e=JSON.parse(d.attr("data-settings")),f=window.location.href;if("yes"!==e.popup_show_via_referral||-1!==f.indexOf("wpr_templates=user-popup")||-1!=f.indexOf(e.popup_referral_keyword)){if(!1===b.getLocalStorage(c))return!0;var g=d.find(".wpr-popup-trigger-button"),h=g.attr("data-show-delay"),i=Date.now(),j=b.getLocalStorage(c);if(h){var k=!0;if(g.each(function(){var b=a(this).attr("data-show-delay");j.popup_show_again_delay==parseInt(b,10)&&(k=!1)}),!0==k)return!0}else if(j.popup_show_again_delay!=e.popup_show_again_delay)return!0;var l=j.popup_close_time||0,m=parseInt(j.popup_show_again_delay,10);return!(l+m>=i)}},checkAvailableDevice:function(b,c){var d=a("body").prop("clientWidth");return 1024<d?!!c.popup_show_on_device:768<d?!!c.popup_show_on_device_tablet:!!c.popup_show_on_device_mobile},getID:function(a){var b=a.attr("id");return b.replace("wpr-popup-id-","")},editorCheck:function(){return!!a("body").hasClass("elementor-editor-active")}};b.init()})(jQuery,window.elementorFrontend);
classes/plugin-update-notice.php ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Classes;
3
+
4
+ if ( ! defined( 'ABSPATH' ) ) {
5
+ exit; // Exit if accessed directly
6
+ }
7
+
8
+ class WprPluginUpdateNotice {
9
+ public function __construct() {
10
+ // delete_option('wpr_plugin_update_dismiss_notice');
11
+
12
+ if ( current_user_can('administrator') ) {
13
+ if ( !get_option('wpr_plugin_update_dismiss_notice') ) {
14
+ add_action( 'admin_init', [$this, 'render_notice'] );
15
+ }
16
+ }
17
+
18
+ if ( is_admin() ) {
19
+ add_action( 'admin_head', [$this, 'enqueue_scripts' ] );
20
+ }
21
+
22
+ add_action( 'wp_ajax_wpr_plugin_update_dismiss_notice', [$this, 'wpr_plugin_update_dismiss_notice'] );
23
+ }
24
+
25
+ public function render_notice() {
26
+ add_action( 'admin_notices', [$this, 'render_plugin_update_notice' ]);
27
+ }
28
+
29
+ public function wpr_plugin_update_dismiss_notice() {
30
+ add_option( 'wpr_plugin_update_dismiss_notice', true );
31
+ }
32
+
33
+ public function render_plugin_update_notice() {
34
+ global $current_screen;
35
+
36
+ if ( is_admin() ) {
37
+ if ( 'royal-addons_page_wpr-templates-kit' === $current_screen->id ) {
38
+ return;
39
+ }
40
+
41
+ echo '<div class="notice wpr-plugin-update-notice is-dismissible">
42
+ <div class="wpr-plugin-update-notice-logo">
43
+ <img src="'. WPR_ADDONS_ASSETS_URL .'/img/logo-128x128.png">
44
+ </div>
45
+ <div>
46
+ <h3><span>New Feature</span><br> Royal Theme Builder</h3>
47
+ <p>
48
+ Royal Elementor Theme Builder lets you customize every fundamental part of your WordPress site<br> without coding including your Header, Footer, Archives, Posts, Default Pages, 404 Pages, etc..
49
+ <br><strong>Please Note:</strong> WooCommerce Products and Product Archives Templates are comming soon!.
50
+ <br><br><strong>New Theme Builder Template Kits:</strong>
51
+ <a href="https://demosites.royal-elementor-addons.com/personal-blog-v1/?ref=rea-plugin-backend-update-notice" target="_blank">Personal Blog</a>,
52
+ <a href="https://demosites.royal-elementor-addons.com/food-blog-v1/?ref=rea-plugin-backend-update-notice" target="_blank">Food Blog</a>,
53
+ <a href="https://demosites.royal-elementor-addons.com/magazine-blog-v1/?ref=rea-plugin-backend-update-notice" target="_blank">Magazine Blog</a>,
54
+ <a href="https://demosites.royal-elementor-addons.com/travel-blog-v1/?ref=rea-plugin-backend-update-notice" target="_blank">Travel Blog</a>.
55
+ </p>
56
+ <br>
57
+ <div>
58
+ <a href="'. get_admin_url() .'admin.php?page=wpr-templates-kit" class="wpr-get-started-button button button-primary">Go to Templates Library</span></a>
59
+ <a href="'. get_admin_url() .'admin.php?page=wpr-theme-builder" class="wpr-get-started-button button button-secondary">Go to Theme Builder</span></a>
60
+ </div>
61
+ </div>
62
+ <div class="image-wrap"><img src="'. WPR_ADDONS_ASSETS_URL .'/img/theme-builder.png"></div>
63
+ <canvas id="wpr-notice-confetti"></canvas>
64
+ </div>';
65
+ }
66
+ }
67
+
68
+ public static function enqueue_scripts() {
69
+ // Load Confetti
70
+ wp_enqueue_script( 'wpr-confetti-js', WPR_ADDONS_URL .'assets/js/lib/confetti/confetti.min.js', ['jquery'] );
71
+
72
+ // Scripts & Styles
73
+ echo "
74
+ <script>
75
+ jQuery( document ).ready( function() {
76
+
77
+ if ( jQuery('#wpr-notice-confetti').length ) {
78
+ const canvas = document.getElementById('wpr-notice-confetti');
79
+ const jsConfetti = new JSConfetti({ canvas });
80
+
81
+ setTimeout(function(){
82
+ jsConfetti.addConfetti({
83
+ confettiRadius: 2,
84
+ confettiNumber: 800,
85
+ });
86
+ }, 1000);
87
+ }
88
+
89
+ jQuery(document).on( 'click', '.wpr-plugin-update-notice .notice-dismiss', function() {
90
+ jQuery(document).find('.wpr-plugin-update-notice').slideUp();
91
+ jQuery.post({
92
+ url: ajaxurl,
93
+ data: {
94
+ action: 'wpr_plugin_update_dismiss_notice',
95
+ }
96
+ });
97
+ });
98
+ });
99
+ </script>
100
+
101
+ <style>
102
+ .wpr-plugin-update-notice {
103
+ position: relative;
104
+ display: flex;
105
+ align-items: center;
106
+ margin-top: 20px;
107
+ margin-bottom: 20px;
108
+ padding: 30px;
109
+ border: 0 !important;
110
+ box-shadow: 0 0 5px rgb(0 0 0 / 0.1);
111
+
112
+ padding-left: 40px;
113
+ }
114
+
115
+ .wpr-plugin-update-notice-logo {
116
+ display: none;
117
+ margin-right: 30px;
118
+ }
119
+
120
+ .wpr-plugin-update-notice-logo img {
121
+ max-width: 100%;
122
+ }
123
+
124
+ .wpr-plugin-update-notice h3 {
125
+ font-size: 36px;
126
+ margin-top: 0;
127
+ margin-bottom: 35px;
128
+ }
129
+
130
+ .wpr-plugin-update-notice h3 span {
131
+ display: inline-block;
132
+ margin-bottom: 15px;
133
+ font-size: 12px;
134
+ color: #fff;
135
+ background-color: #f51f3d;
136
+ padding: 2px 12px 4px;
137
+ border-radius: 3px;
138
+ }
139
+
140
+ .wpr-plugin-update-notice p {
141
+ margin-top: 10px;
142
+ margin-bottom: 15px;
143
+ font-size: 14px;
144
+ }
145
+
146
+ .wpr-get-started-button {
147
+ padding: 5px 25px !important;
148
+ }
149
+
150
+ .wpr-get-started-button .dashicons {
151
+ font-size: 12px;
152
+ line-height: 28px;
153
+ }
154
+
155
+ .wpr-plugin-update-notice .image-wrap {
156
+ margin-left: auto;
157
+ }
158
+
159
+ .wpr-plugin-update-notice .image-wrap img {
160
+ zoom: 0.5;
161
+ }
162
+
163
+ @media screen and (max-width: 1366px) {
164
+ .wpr-plugin-update-notice .image-wrap img {
165
+ zoom: 0.4;
166
+ }
167
+ }
168
+
169
+ #wpr-notice-confetti {
170
+ position: absolute;
171
+ top: 50px;
172
+ left: 0;
173
+ width: 50%;
174
+ height: 200px;
175
+ pointer-events: none;
176
+ }
177
+ </style>";
178
+
179
+
180
+ }
181
+ }
182
+
183
+ if ( 'Royal Addons' === Utilities::get_plugin_name() ) {
184
+ new WprPluginUpdateNotice();
185
+ }
classes/rating-notice.php CHANGED
@@ -130,7 +130,9 @@ class WprRatingNotice {
130
 
131
  <style>
132
  .wpr-rating-notice {
133
- padding: 0 15px;
 
 
134
  }
135
 
136
  .wpr-rating-notice-logo {
@@ -165,7 +167,7 @@ class WprRatingNotice {
165
  .wpr-already-rated .dashicons,
166
  .wpr-maybe-later .dashicons,
167
  .wpr-need-support .dashicons {
168
- vertical-align: sub;
169
  }
170
 
171
  .wpr-notice-dismiss-2 .dashicons {
@@ -175,7 +177,6 @@ class WprRatingNotice {
175
  .wpr-rating-notice .notice-dismiss {
176
  display: none;
177
  }
178
-
179
  </style>
180
  ";
181
  }
130
 
131
  <style>
132
  .wpr-rating-notice {
133
+ padding: 10px 20px;
134
+ border-top: 0;
135
+ border-bottom: 0;
136
  }
137
 
138
  .wpr-rating-notice-logo {
167
  .wpr-already-rated .dashicons,
168
  .wpr-maybe-later .dashicons,
169
  .wpr-need-support .dashicons {
170
+ vertical-align: middle;
171
  }
172
 
173
  .wpr-notice-dismiss-2 .dashicons {
177
  .wpr-rating-notice .notice-dismiss {
178
  display: none;
179
  }
 
180
  </style>
181
  ";
182
  }
classes/utilities.php CHANGED
@@ -54,8 +54,9 @@ class Utilities {
54
  'Lottie Animations' => ['lottie-animations', 'https://royal-elementor-addons.com/elementor-lottie-animation-widget/?ref=rea-plugin-backend-elements-widget-prev', ''],
55
  'Site Logo' => ['logo', '', ''],
56
  'Popup Trigger' => ['popup-trigger', '', ''],
 
 
57
  // 'Random Image' => ['random-image', '', ''],
58
- // 'Author Box' => 'author-box',
59
  ];
60
  }
61
 
@@ -74,6 +75,22 @@ class Utilities {
74
  return $modules;
75
  }
76
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  /**
78
  ** Get Available Custom Post Types or Taxonomies
79
  */
@@ -233,6 +250,44 @@ class Utilities {
233
  }
234
 
235
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
236
  /**
237
  ** Render Elementor Template
238
  */
@@ -249,6 +304,16 @@ class Utilities {
249
  }
250
 
251
 
 
 
 
 
 
 
 
 
 
 
252
  /**
253
  ** Blog Archive Page Check
254
  */
@@ -257,7 +322,7 @@ class Utilities {
257
  $front_page = get_option( 'page_on_front' );
258
  $posts_page = get_option( 'page_for_posts' );
259
 
260
- if ( is_home() && '0' === $front_page && '0' === $posts_page || intval($posts_page) === get_queried_object_id() ) {
261
  $result = true;
262
  }
263
 
@@ -277,7 +342,8 @@ class Utilities {
277
  $sharing_url = 'https://www.linkedin.com/shareArticle?mini=true&url='. $args['url'] .'&title='. $args['title'] .'&summary='. $args['text'] .'&source='. $args['url'];
278
  $network_title = esc_html__( 'LinkedIn', 'wpr-addons' );
279
  } elseif ( 'pinterest-p' === $args['network'] ) {
280
- $sharing_url = 'https://www.pinterest.com/pin/find/?url='. $args['url'];
 
281
  $network_title = esc_html__( 'Pinterest', 'wpr-addons' );
282
  } elseif ( 'reddit' === $args['network'] ) {
283
  $sharing_url = 'https://reddit.com/submit?url='. $args['url'] .'&title='. $args['title'];
@@ -712,7 +778,7 @@ class Utilities {
712
  ** Check for New Free Users
713
  */
714
  public static function is_new_free_user() {
715
- return !wpr_fs()->can_use_premium_code() && intval(get_option('royal_elementor_addons_activation_time')) > 1643803820;
716
  }
717
 
718
  }
54
  'Lottie Animations' => ['lottie-animations', 'https://royal-elementor-addons.com/elementor-lottie-animation-widget/?ref=rea-plugin-backend-elements-widget-prev', ''],
55
  'Site Logo' => ['logo', '', ''],
56
  'Popup Trigger' => ['popup-trigger', '', ''],
57
+ 'Taxonomy List' => ['taxonomy-list', '', ''],
58
+ 'Template' => ['elementor-template', '', ''],
59
  // 'Random Image' => ['random-image', '', ''],
 
60
  ];
61
  }
62
 
75
  return $modules;
76
  }
77
 
78
+ /**
79
+ ** Get Theme Builder Modules
80
+ */
81
+ public static function get_theme_builder_modules() {
82
+ return [
83
+ 'post-title',
84
+ 'post-media',
85
+ 'post-content',
86
+ 'post-info',
87
+ 'post-navigation',
88
+ 'post-comments',
89
+ 'author-box',
90
+ 'archive-title',
91
+ ];
92
+ }
93
+
94
  /**
95
  ** Get Available Custom Post Types or Taxonomies
96
  */
250
  }
251
 
252
 
253
+ /**
254
+ ** Get Royal Template Type
255
+ */
256
+ public static function get_wpr_template_type( $id ) {
257
+ $post_meta = get_post_meta($id);
258
+ $template_type = isset($post_meta['_wpr_template_type'][0]) ? $post_meta['_wpr_template_type'][0] : false;
259
+
260
+ return $template_type;
261
+ }
262
+
263
+
264
+ /**
265
+ ** Theme Builder Show Widgets on Spacific Pages
266
+ */
267
+ public static function show_theme_buider_widget_on( $type ) {
268
+ global $post;
269
+ $display = false;
270
+
271
+ if ( Utilities::is_theme_builder_template() ) {
272
+ $template_type = Utilities::get_wpr_template_type(get_the_ID());
273
+
274
+ if ( $type === $template_type ) {
275
+ $display = true;
276
+ }
277
+
278
+ $conditions = json_decode(get_option('wpr_single_conditions'));
279
+ $front_page = Utilities::get_template_slug($conditions, 'single/front_page', get_the_ID());
280
+ $page_404 = Utilities::get_template_slug($conditions, 'single/page_404', get_the_ID());
281
+
282
+ if ( $post->post_name == $front_page || $post->post_name == $page_404 ) {
283
+ $display = false;
284
+ }
285
+ }
286
+
287
+ return $display;
288
+ }
289
+
290
+
291
  /**
292
  ** Render Elementor Template
293
  */
304
  }
305
 
306
 
307
+ /**
308
+ ** Theme Builder Template Check
309
+ */
310
+ public static function is_theme_builder_template() {
311
+ $current_page = get_post(get_the_ID());
312
+
313
+ return strpos($current_page->post_name, 'user-archive') !== false || strpos($current_page->post_name, 'user-single') !== false;
314
+ }
315
+
316
+
317
  /**
318
  ** Blog Archive Page Check
319
  */
322
  $front_page = get_option( 'page_on_front' );
323
  $posts_page = get_option( 'page_for_posts' );
324
 
325
+ if ( is_home() && '0' === $front_page && '0' === $posts_page || (intval($posts_page) === get_queried_object_id() && !is_404()) ) {
326
  $result = true;
327
  }
328
 
342
  $sharing_url = 'https://www.linkedin.com/shareArticle?mini=true&url='. $args['url'] .'&title='. $args['title'] .'&summary='. $args['text'] .'&source='. $args['url'];
343
  $network_title = esc_html__( 'LinkedIn', 'wpr-addons' );
344
  } elseif ( 'pinterest-p' === $args['network'] ) {
345
+ // $sharing_url = 'https://www.pinterest.com/pin/find/?url='. $args['url'];
346
+ $sharing_url = 'https://www.pinterest.com/pin/create/button/?url=' . $args['url'] . '&media=' . $args['image'];
347
  $network_title = esc_html__( 'Pinterest', 'wpr-addons' );
348
  } elseif ( 'reddit' === $args['network'] ) {
349
  $sharing_url = 'https://reddit.com/submit?url='. $args['url'] .'&title='. $args['title'];
778
  ** Check for New Free Users
779
  */
780
  public static function is_new_free_user() {
781
+ return !wpr_fs()->can_use_premium_code() && (intval(get_option('royal_elementor_addons_activation_time')) > 1649247746);
782
  }
783
 
784
  }
includes/controls/wpr-control-icons.php ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Includes\Controls;
3
+
4
+ use Elementor\Base_Data_Control;
5
+ use WprAddons\Classes\Utilities;
6
+
7
+ if ( ! defined( 'ABSPATH' ) ) {
8
+ exit; // Exit if accessed directly.
9
+ }
10
+
11
+
12
+ class WPR_Control_Arrow_Icons extends Base_Data_Control {
13
+ private static $_arrow_icons;
14
+
15
+ public function get_type() {
16
+ return 'wpr-arrow-icons';
17
+ }
18
+
19
+ public static function get_arrow_icons() {
20
+ if ( is_null( self::$_arrow_icons ) ) {
21
+ self::$_arrow_icons = [
22
+ 'Font Awesome' => [
23
+ 'fas fa-angle' => esc_html__( 'Angle', 'wpr-addons' ),
24
+ 'fas fa-angle-double' => esc_html__( 'Angle Double', 'wpr-addons' ),
25
+ 'fas fa-arrow' => esc_html__( 'Arrow', 'wpr-addons' ),
26
+ 'fas fa-arrow-alt-circle' => esc_html__( 'Arrow Circle', 'wpr-addons' ),
27
+ 'far fa-arrow-alt-circle' => esc_html__( 'Arrow Circle Alt', 'wpr-addons' ),
28
+ 'fas fa-long-arrow-alt' => esc_html__( 'Long Arrow', 'wpr-addons' ),
29
+ 'fas fa-chevron' => esc_html__( 'Chevron', 'wpr-addons' ),
30
+ ],
31
+ 'Svg' => Utilities::get_svg_icons_array( 'arrows', [] ),
32
+ ];
33
+ }
34
+
35
+ return self::$_arrow_icons;
36
+ }
37
+
38
+ public function content_template() {
39
+ $control_uid = $this->get_control_uid();
40
+ ?>
41
+ <div class="elementor-control-field">
42
+ <label for="<?php echo $control_uid; ?>" class="elementor-control-title">{{{ data.label }}}</label>
43
+ <div class="elementor-control-input-wrapper">
44
+ <select id="<?php echo $control_uid; ?>" data-setting="{{ data.name }}">
45
+ <option value="none"><?php echo esc_html__( 'None', 'wpr-addons' ); ?></option>
46
+ <?php foreach ( self::get_arrow_icons() as $arrow_icons_group_name => $arrow_icons_group ) : ?>
47
+ <optgroup label="<?php echo $arrow_icons_group_name; ?>">
48
+ <?php foreach ( $arrow_icons_group as $arrow_icon_name => $arrow_icon_title ) : ?>
49
+ <option value="<?php echo $arrow_icon_name; ?>"><?php echo $arrow_icon_title; ?></option>
50
+ <?php endforeach; ?>
51
+ </optgroup>
52
+ <?php endforeach; ?>
53
+ </select>
54
+ </div>
55
+ </div>
56
+ <# if ( data.description ) { #>
57
+ <div class="elementor-control-field-description">{{{ data.description }}}</div>
58
+ <# } #>
59
+ <?php
60
+ }
61
+ }
includes/modules-manager.php CHANGED
@@ -22,6 +22,17 @@ final class Manager {
22
 
23
  $class_name::instance();
24
  }
 
 
 
 
 
 
 
 
 
 
 
25
  }
26
 
27
  }
22
 
23
  $class_name::instance();
24
  }
25
+
26
+ // Theme Builder Modules
27
+ $theme_builder_modules = Utilities::get_theme_builder_modules();
28
+
29
+ foreach ( $theme_builder_modules as $module ) {
30
+ $class_name = str_replace( '-', ' ', $module );
31
+ $class_name = str_replace( ' ', '', ucwords( $class_name ) );
32
+ $class_name = __NAMESPACE__ . '\\Modules\\ThemeBuilder\\' . $class_name . '\Module';
33
+
34
+ $class_name::instance();
35
+ }
36
  }
37
 
38
  }
modules/advanced-slider/widgets/wpr-advanced-slider.php CHANGED
@@ -185,7 +185,7 @@ class Wpr_Advanced_Slider extends Widget_Base {
185
  'posts_slider_notice',
186
  [
187
  'type' => Controls_Manager::RAW_HTML,
188
- 'raw' => sprintf( __( 'Looking for a <strong>Post Slider or Carousel?</strong>, <ul><li>1. Search for the <strong>"Post Slider"</strong> in widgets</li><li>2. Add <strong>"Posts Grid/Slider/Carousel"</strong></li><li>3. Navigate to <strong>"Layout"</strong> section</li><li>4. Select Layout: <strong>"Slider / Carousel"</strong></li></ul>', 'wpr-addons' ), admin_url( 'nav-menus.php?action=edit&menu=0' ) ),
189
  'separator' => 'after',
190
  'content_classes' => 'elementor-panel-alert elementor-panel-alert-info',
191
  ]
185
  'posts_slider_notice',
186
  [
187
  'type' => Controls_Manager::RAW_HTML,
188
+ 'raw' => __( 'Looking for a <strong>Post Slider or Carousel?</strong>, <ul><li>1. Search for the <strong>"Post Slider"</strong> in widgets</li><li>2. Add <strong>"Posts Grid/Slider/Carousel"</strong></li><li>3. Navigate to <strong>"Layout"</strong> section</li><li>4. Select Layout: <strong>"Slider / Carousel"</strong></li></ul>', 'wpr-addons' ),
189
  'separator' => 'after',
190
  'content_classes' => 'elementor-panel-alert elementor-panel-alert-info',
191
  ]
modules/content-ticker/widgets/wpr-content-ticker.php CHANGED
@@ -34,7 +34,7 @@ class Wpr_Content_Ticker extends Widget_Base {
34
  }
35
 
36
  public function get_categories() {
37
- return [ 'wpr-widgets'];
38
  }
39
 
40
  public function get_keywords() {
34
  }
35
 
36
  public function get_categories() {
37
+ return Utilities::show_theme_buider_widget_on('archive') ? [ 'wpr-theme-builder-widgets' ] : [ 'wpr-widgets'];
38
  }
39
 
40
  public function get_keywords() {
modules/elementor-template/module.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Modules\ElementorTemplate;
3
+
4
+ use WprAddons\Base\Module_Base;
5
+
6
+ if ( ! defined( 'ABSPATH' ) ) {
7
+ exit; // Exit if accessed directly
8
+ }
9
+
10
+ class Module extends Module_Base {
11
+
12
+ public function get_widgets() {
13
+ return [
14
+ 'Wpr_Elementor_Template',
15
+ ];
16
+ }
17
+
18
+ public function get_name() {
19
+ return 'wpr-elementor-template';
20
+ }
21
+ }
modules/elementor-template/widgets/wpr-elementor-template.php ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Modules\ElementorTemplate\Widgets;
3
+
4
+ use Elementor\Controls_Manager;
5
+ use Elementor\Widget_Base;
6
+
7
+ if ( ! defined( 'ABSPATH' ) ) exit;
8
+
9
+ class Wpr_Elementor_Template extends Widget_Base {
10
+
11
+ public function get_name() {
12
+ return 'wpr-elementor-template';
13
+ }
14
+
15
+ public function get_title() {
16
+ return esc_html__( 'Template', 'wpr-addons' );
17
+ }
18
+
19
+ public function get_icon() {
20
+ return 'wpr-icon eicon-document-file';
21
+ }
22
+
23
+ public function get_categories() {
24
+ return [ 'wpr-widgets'];
25
+ }
26
+
27
+ public function get_keywords() {
28
+ return [ 'royal', 'elementor', 'template', 'load' ];
29
+ }
30
+
31
+ public function get_custom_help_url() {
32
+ if ( empty(get_option('wpr_wl_plugin_links')) )
33
+ // return 'https://royal-elementor-addons.com/contact/?ref=rea-plugin-panel-elementor-template-help-btn';
34
+ return 'https://wordpress.org/support/plugin/royal-elementor-addons/';
35
+ }
36
+
37
+ protected function register_controls() {
38
+
39
+ // Section: General ----------
40
+ $this->start_controls_section(
41
+ 'section_general',
42
+ [
43
+ 'label' => esc_html__( 'General', 'wpr-addons' ),
44
+ ]
45
+ );
46
+
47
+ $templates_select = [];
48
+
49
+ // Get All Templates
50
+ $templates = get_posts( [
51
+ 'post_type' => array( 'elementor_library' ),
52
+ 'post_status' => array( 'publish' ),
53
+ 'meta_key' => '_elementor_template_type',
54
+ 'meta_value' => ['page', 'section'],
55
+ 'numberposts' => -1
56
+ ] );
57
+
58
+ if ( ! empty( $templates ) ) {
59
+ foreach ( $templates as $template ) {
60
+ $templates_select[$template->ID] = $template->post_title;
61
+ }
62
+ }
63
+
64
+ $this->add_control(
65
+ 'select_template' ,
66
+ [
67
+ 'label' => esc_html__( 'Select Template', 'wpr-addons' ),
68
+ 'type' => Controls_Manager::SELECT2,
69
+ 'options' => $templates_select,
70
+ ]
71
+ );
72
+
73
+ // Restore original Post Data
74
+ wp_reset_postdata();
75
+
76
+ $this->end_controls_section(); // End Controls Section
77
+ }
78
+
79
+
80
+ protected function render() {
81
+ // Get Settings
82
+ $settings = $this->get_settings();
83
+
84
+ if ( '' !== $settings['select_template'] ) {
85
+ $edit_link = '<span class="wpr-template-edit-btn" data-permalink="'. get_permalink($settings['select_template']) .'">Edit Template</span>';
86
+ echo \Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $settings['select_template'], true ) . $edit_link;
87
+ }
88
+ }
89
+ }
modules/grid/widgets/wpr-grid.php CHANGED
@@ -32,7 +32,7 @@ class Wpr_Grid extends Widget_Base {
32
  }
33
 
34
  public function get_categories() {
35
- return [ 'wpr-widgets'];
36
  }
37
 
38
  public function get_keywords() {
@@ -54,16 +54,31 @@ class Wpr_Grid extends Widget_Base {
54
  }
55
 
56
  public function add_option_query_source() {
57
- $pro_query = [
58
- 'pro-rl' => 'Related Query (Pro)',
59
- 'pro-cr' => 'Current Query (Pro)',
60
- ];
61
 
62
- return array_merge(Utilities::get_custom_types_of( 'post', false ), $pro_query);
63
  }
64
 
65
  public function add_control_query_randomize() {}
66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  public function add_control_layout_select() {
68
  $this->add_control(
69
  'layout_select',
@@ -437,18 +452,29 @@ class Wpr_Grid extends Widget_Base {
437
  public function add_control_filters_default_filter() {}
438
 
439
  public function add_control_pagination_type() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
440
  $this->add_control(
441
  'pagination_type',
442
  [
443
  'label' => esc_html__( 'Select Type', 'wpr-addons' ),
444
  'type' => Controls_Manager::SELECT,
445
  'default' => 'load-more',
446
- 'options' => [
447
- 'default' => esc_html__( 'Default', 'wpr-addons' ),
448
- 'numbered' => esc_html__( 'Numbered', 'wpr-addons' ),
449
- 'load-more' => esc_html__( 'Load More Button', 'wpr-addons' ),
450
- 'pro-is' => esc_html__( 'Infinite Scrolling (Pro)', 'wpr-addons' ),
451
- ],
452
  'separator' => 'after'
453
  ]
454
  );
@@ -565,7 +591,7 @@ class Wpr_Grid extends Widget_Base {
565
  );
566
 
567
  // Upgrade to Pro Notice
568
- Utilities::upgrade_pro_notice( $this, Controls_Manager::RAW_HTML, 'grid', 'query_source', ['pro-rl', 'pro-cr'] );
569
 
570
  $this->add_control(
571
  'query_selection',
@@ -675,6 +701,8 @@ class Wpr_Grid extends Widget_Base {
675
  );
676
  }
677
 
 
 
678
  $this->add_control(
679
  'query_posts_per_page',
680
  [
@@ -682,9 +710,28 @@ class Wpr_Grid extends Widget_Base {
682
  'type' => Controls_Manager::NUMBER,
683
  'default' => 9,
684
  'min' => 0,
 
685
  ]
686
  );
687
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
688
  $this->add_control(
689
  'query_offset',
690
  [
@@ -723,6 +770,18 @@ class Wpr_Grid extends Widget_Base {
723
  ]
724
  );
725
 
 
 
 
 
 
 
 
 
 
 
 
 
726
  // if ( Utilities::is_new_free_user() && ! wpr_fs()->can_use_premium_code() ) {
727
  // $this->add_control(
728
  // 'limit_grid_items_pro_notice',
@@ -1898,7 +1957,7 @@ class Wpr_Grid extends Widget_Base {
1898
  ]
1899
  );
1900
 
1901
- $this->add_control(
1902
  'overlay_width',
1903
  [
1904
  'label' => esc_html__( 'Overlay Width', 'wpr-addons' ),
@@ -2506,7 +2565,7 @@ class Wpr_Grid extends Widget_Base {
2506
  $this->add_control_pagination_type();
2507
 
2508
  // Upgrade to Pro Notice
2509
- Utilities::upgrade_pro_notice( $this, Controls_Manager::RAW_HTML, 'grid', 'pagination_type', ['pro-is'] );
2510
 
2511
  $this->add_control(
2512
  'pagination_older_text',
@@ -7378,9 +7437,11 @@ class Wpr_Grid extends Widget_Base {
7378
  'size' => 10,
7379
  ],
7380
  'selectors' => [
7381
- '{{WRAPPER}} .wpr-grid-pagination a' => 'margin-right: {{SIZE}}{{UNIT}};',
 
7382
  '{{WRAPPER}} .wpr-grid-pagination > div > span' => 'margin-right: {{SIZE}}{{UNIT}};',
7383
- '{{WRAPPER}} .wpr-grid-pagination span.wpr-disabled-arrow' => 'margin-right: {{SIZE}}{{UNIT}};',
 
7384
  '{{WRAPPER}} .wpr-grid-pagination span.wpr-grid-current-page' => 'margin-right: {{SIZE}}{{UNIT}};',
7385
  ],
7386
  ]
@@ -7584,7 +7645,13 @@ class Wpr_Grid extends Widget_Base {
7584
  $paged = 1;
7585
  }
7586
 
7587
- $offset = ( $paged - 1 ) * $settings['query_posts_per_page'] + $settings[ 'query_offset' ];
 
 
 
 
 
 
7588
 
7589
  if ( ! wpr_fs()->can_use_premium_code() ) {
7590
  $settings[ 'query_randomize' ] = '';
@@ -7625,13 +7692,13 @@ class Wpr_Grid extends Widget_Base {
7625
  ];
7626
  }
7627
 
7628
- // Get Post Type
7629
  if ( 'current' === $settings[ 'query_source' ] ) {
7630
  global $wp_query;
7631
 
7632
  $args = $wp_query->query_vars;
7633
- $args['posts_per_page'] = $settings['query_posts_per_page'];
7634
  $args['orderby'] = $settings['query_randomize'];
 
7635
  }
7636
 
7637
  // Related
@@ -8767,6 +8834,9 @@ class Wpr_Grid extends Widget_Base {
8767
  // Get Posts
8768
  $posts = new \WP_Query( $this->get_main_query_args() );
8769
 
 
 
 
8770
  // Grid Settings
8771
  if ( 'slider' !== $settings['layout_select'] ) {
8772
  // Filters
@@ -8781,9 +8851,6 @@ class Wpr_Grid extends Widget_Base {
8781
  $render_attribute = $this->get_render_attribute_string( 'slider-settings' );
8782
  }
8783
 
8784
- // Loop: Start
8785
- if ( $posts->have_posts() ) :
8786
-
8787
  // Grid Wrap
8788
  echo '<section class="wpr-grid elementor-clearfix" '. $render_attribute .'>';
8789
 
@@ -8835,18 +8902,6 @@ class Wpr_Grid extends Widget_Base {
8835
  // reset
8836
  wp_reset_postdata();
8837
 
8838
- // No Posts Found
8839
- else:
8840
-
8841
- echo '<section class="wpr-grid elementor-clearfix" '. $render_attribute .'>';
8842
- if ( 'dynamic' === $settings['query_selection'] ) {
8843
- echo '<h2>'. $settings['query_not_found_text'] .'</h2>';
8844
- }
8845
- echo '</section>';
8846
-
8847
- // Loop: End
8848
- endif;
8849
-
8850
  if ( 'slider' === $settings['layout_select'] ) {
8851
  // Slider Navigation
8852
  echo '<div class="wpr-grid-slider-arrow-container">';
@@ -8860,6 +8915,16 @@ class Wpr_Grid extends Widget_Base {
8860
 
8861
  // Pagination
8862
  $this->render_grid_pagination( $settings );
 
 
 
 
 
 
 
 
 
 
8863
  }
8864
 
8865
  }
32
  }
33
 
34
  public function get_categories() {
35
+ return Utilities::show_theme_buider_widget_on('archive') ? [ 'wpr-theme-builder-widgets' ] : [ 'wpr-widgets'];
36
  }
37
 
38
  public function get_keywords() {
54
  }
55
 
56
  public function add_option_query_source() {
57
+ $post_types = Utilities::get_custom_types_of( 'post', false );
58
+ $post_types['current'] = esc_html__( 'Current Query', 'wpr-addons' );
59
+ $post_types['pro-rl'] = esc_html__( 'Related Query (Pro)', 'wpr-addons' );
 
60
 
61
+ return $post_types;
62
  }
63
 
64
  public function add_control_query_randomize() {}
65
 
66
+ public function add_control_query_slides_to_show() {
67
+ $this->add_control(
68
+ 'query_slides_to_show',
69
+ [
70
+ 'label' => esc_html__( 'Slides to Show', 'wpr-addons' ),
71
+ 'type' => Controls_Manager::NUMBER,
72
+ 'default' => 4,
73
+ 'min' => 0,
74
+ 'max' => 4,
75
+ 'condition' => [
76
+ 'layout_select' => 'slider',
77
+ ],
78
+ ]
79
+ );
80
+ }
81
+
82
  public function add_control_layout_select() {
83
  $this->add_control(
84
  'layout_select',
452
  public function add_control_filters_default_filter() {}
453
 
454
  public function add_control_pagination_type() {
455
+ $options = [
456
+ 'default' => esc_html__( 'Default', 'wpr-addons' ),
457
+ 'numbered' => esc_html__( 'Numbered', 'wpr-addons' ),
458
+ 'load-more' => esc_html__( 'Load More Button', 'wpr-addons' ),
459
+ 'pro-is' => esc_html__( 'Infinite Scrolling (Pro)', 'wpr-addons' ),
460
+ ];
461
+
462
+ if ( Utilities::is_new_free_user() ) {
463
+ $options = [
464
+ 'default' => esc_html__( 'Default', 'wpr-addons' ),
465
+ 'load-more' => esc_html__( 'Load More Button', 'wpr-addons' ),
466
+ 'pro-nb' => esc_html__( 'Numbered (Pro)', 'wpr-addons' ),
467
+ 'pro-is' => esc_html__( 'Infinite Scrolling (Pro)', 'wpr-addons' ),
468
+ ];
469
+ }
470
+
471
  $this->add_control(
472
  'pagination_type',
473
  [
474
  'label' => esc_html__( 'Select Type', 'wpr-addons' ),
475
  'type' => Controls_Manager::SELECT,
476
  'default' => 'load-more',
477
+ 'options' => $options,
 
 
 
 
 
478
  'separator' => 'after'
479
  ]
480
  );
591
  );
592
 
593
  // Upgrade to Pro Notice
594
+ Utilities::upgrade_pro_notice( $this, Controls_Manager::RAW_HTML, 'grid', 'query_source', ['pro-rl'] );
595
 
596
  $this->add_control(
597
  'query_selection',
701
  );
702
  }
703
 
704
+ $qqq_condition = Utilities::is_new_free_user() ? [ 'query_source!' => 'current', 'layout_select!' => 'slider', ] : [ 'query_source!' => 'current' ];
705
+
706
  $this->add_control(
707
  'query_posts_per_page',
708
  [
710
  'type' => Controls_Manager::NUMBER,
711
  'default' => 9,
712
  'min' => 0,
713
+ 'condition' => $qqq_condition,
714
  ]
715
  );
716
 
717
+ if ( Utilities::is_new_free_user() ) {
718
+
719
+ $this->add_control_query_slides_to_show();
720
+
721
+ $this->add_control(
722
+ 'limit_slides_to_show_pro_notice',
723
+ [
724
+ 'type' => Controls_Manager::RAW_HTML,
725
+ 'raw' => 'More than <strong>4 Slides</strong> are available<br>in the <strong><a href="https://royal-elementor-addons.com/?ref=rea-plugin-panel-grid-upgrade-pro#purchasepro" target="_blank">Pro version</a></strong>',
726
+ // 'raw' => 'More than 4 Slides are available<br> in the <strong><a href="'. admin_url('admin.php?page=wpr-addons-pricing') .'" target="_blank">Pro version</a></strong>',
727
+ 'content_classes' => 'wpr-pro-notice',
728
+ 'condition' => [
729
+ 'layout_select' => 'slider',
730
+ ]
731
+ ]
732
+ );
733
+ }
734
+
735
  $this->add_control(
736
  'query_offset',
737
  [
770
  ]
771
  );
772
 
773
+ $this->add_control(
774
+ 'current_query_notice',
775
+ [
776
+ 'type' => Controls_Manager::RAW_HTML,
777
+ 'raw' => sprintf( __( 'To set <strong>Posts per Page</strong> for all Blog <strong>Archive Pages</strong>, navigate to <strong><a href="%s" target="_blank">Settings > Reading<a></strong>.', 'wpr-addons' ), admin_url( 'options-reading.php' ) ),
778
+ 'content_classes' => 'elementor-panel-alert elementor-panel-alert-info',
779
+ 'condition' => [
780
+ 'query_source' => 'current',
781
+ ],
782
+ ]
783
+ );
784
+
785
  // if ( Utilities::is_new_free_user() && ! wpr_fs()->can_use_premium_code() ) {
786
  // $this->add_control(
787
  // 'limit_grid_items_pro_notice',
1957
  ]
1958
  );
1959
 
1960
+ $this->add_responsive_control(
1961
  'overlay_width',
1962
  [
1963
  'label' => esc_html__( 'Overlay Width', 'wpr-addons' ),
2565
  $this->add_control_pagination_type();
2566
 
2567
  // Upgrade to Pro Notice
2568
+ Utilities::upgrade_pro_notice( $this, Controls_Manager::RAW_HTML, 'grid', 'pagination_type', ['pro-is', 'pro-nb'] );
2569
 
2570
  $this->add_control(
2571
  'pagination_older_text',
7437
  'size' => 10,
7438
  ],
7439
  'selectors' => [
7440
+ // '{{WRAPPER}} .wpr-grid-pagination a' => 'margin-right: {{SIZE}}{{UNIT}};',
7441
+ '{{WRAPPER}} .wpr-grid-pagination a:not(:last-child)' => 'margin-right: {{SIZE}}{{UNIT}};',
7442
  '{{WRAPPER}} .wpr-grid-pagination > div > span' => 'margin-right: {{SIZE}}{{UNIT}};',
7443
+ // '{{WRAPPER}} .wpr-grid-pagination span.wpr-disabled-arrow' => 'margin-right: {{SIZE}}{{UNIT}};',
7444
+ '{{WRAPPER}} .wpr-grid-pagination span.wpr-disabled-arrow:not(:last-child)' => 'margin-right: {{SIZE}}{{UNIT}};',
7445
  '{{WRAPPER}} .wpr-grid-pagination span.wpr-grid-current-page' => 'margin-right: {{SIZE}}{{UNIT}};',
7446
  ],
7447
  ]
7645
  $paged = 1;
7646
  }
7647
 
7648
+ // Change Posts Per Page for Slider Layout
7649
+ if ( 'slider' === $settings['layout_select'] && Utilities::is_new_free_user() ) {
7650
+ $settings['query_posts_per_page'] = $settings['query_slides_to_show'];
7651
+ $settings['query_posts_per_page'] = $settings['query_posts_per_page'] > 4 ? 4 : $settings['query_posts_per_page'];
7652
+ }
7653
+
7654
+ $offset = ( $paged - 1 ) * intval($settings['query_posts_per_page']) + intval($settings[ 'query_offset' ]);
7655
 
7656
  if ( ! wpr_fs()->can_use_premium_code() ) {
7657
  $settings[ 'query_randomize' ] = '';
7692
  ];
7693
  }
7694
 
7695
+ // Current
7696
  if ( 'current' === $settings[ 'query_source' ] ) {
7697
  global $wp_query;
7698
 
7699
  $args = $wp_query->query_vars;
 
7700
  $args['orderby'] = $settings['query_randomize'];
7701
+ $args['offset'] = ( $paged - 1 ) * intval(get_option('posts_per_page')) + intval($settings[ 'query_offset' ]);
7702
  }
7703
 
7704
  // Related
8834
  // Get Posts
8835
  $posts = new \WP_Query( $this->get_main_query_args() );
8836
 
8837
+ // Loop: Start
8838
+ if ( $posts->have_posts() ) :
8839
+
8840
  // Grid Settings
8841
  if ( 'slider' !== $settings['layout_select'] ) {
8842
  // Filters
8851
  $render_attribute = $this->get_render_attribute_string( 'slider-settings' );
8852
  }
8853
 
 
 
 
8854
  // Grid Wrap
8855
  echo '<section class="wpr-grid elementor-clearfix" '. $render_attribute .'>';
8856
 
8902
  // reset
8903
  wp_reset_postdata();
8904
 
 
 
 
 
 
 
 
 
 
 
 
 
8905
  if ( 'slider' === $settings['layout_select'] ) {
8906
  // Slider Navigation
8907
  echo '<div class="wpr-grid-slider-arrow-container">';
8915
 
8916
  // Pagination
8917
  $this->render_grid_pagination( $settings );
8918
+
8919
+ // No Posts Found
8920
+ else:
8921
+
8922
+ if ( 'dynamic' === $settings['query_selection'] ) {
8923
+ echo '<h2>'. $settings['query_not_found_text'] .'</h2>';
8924
+ }
8925
+
8926
+ // Loop: End
8927
+ endif;
8928
  }
8929
 
8930
  }
modules/magazine-grid/widgets/wpr-magazine-grid.php CHANGED
@@ -33,7 +33,7 @@ class Wpr_Magazine_Grid extends Widget_Base {
33
  }
34
 
35
  public function get_categories() {
36
- return [ 'wpr-widgets'];
37
  }
38
 
39
  public function get_keywords() {
@@ -1875,13 +1875,13 @@ class Wpr_Magazine_Grid extends Widget_Base {
1875
  'size' => 38,
1876
  ],
1877
  'selectors' => [
1878
- '{{WRAPPER}} .wpr-mgzn-grid-1-2 article:nth-child(1) .wpr-grid-item-title' => 'font-size: {{SIZE}}px;',
1879
- '{{WRAPPER}} .wpr-mgzn-grid-1-3 article:nth-child(1) .wpr-grid-item-title' => 'font-size: {{SIZE}}px;',
1880
- '{{WRAPPER}} .wpr-mgzn-grid-1-4 article:nth-child(1) .wpr-grid-item-title' => 'font-size: {{SIZE}}px;',
1881
- '{{WRAPPER}} .wpr-mgzn-grid-1-1-2 article:nth-child(1) .wpr-grid-item-title' => 'font-size: {{SIZE}}px;',
1882
- '{{WRAPPER}} .wpr-mgzn-grid-2-1-2 article:nth-child(2) .wpr-grid-item-title' => 'font-size: {{SIZE}}px;',
1883
- '{{WRAPPER}} .wpr-mgzn-grid-1vh-3h article:nth-child(1) .wpr-grid-item-title' => 'font-size: {{SIZE}}px;',
1884
- '{{WRAPPER}} .wpr-mgzn-grid-1-1-1 article:nth-child(2) .wpr-grid-item-title' => 'font-size: {{SIZE}}px;',
1885
  ],
1886
  'condition' => [
1887
  'layout_select' => [ '1-2', '1-3', '1-4', '1-1-2', '2-1-2', '1vh-3h', '1-1-1' ]
33
  }
34
 
35
  public function get_categories() {
36
+ return Utilities::show_theme_buider_widget_on('archive') ? [ 'wpr-theme-builder-widgets' ] : [ 'wpr-widgets'];
37
  }
38
 
39
  public function get_keywords() {
1875
  'size' => 38,
1876
  ],
1877
  'selectors' => [
1878
+ '{{WRAPPER}} .wpr-mgzn-grid-1-2 article:nth-child(1) .wpr-grid-item-title a' => 'font-size: {{SIZE}}px;',
1879
+ '{{WRAPPER}} .wpr-mgzn-grid-1-3 article:nth-child(1) .wpr-grid-item-title a' => 'font-size: {{SIZE}}px;',
1880
+ '{{WRAPPER}} .wpr-mgzn-grid-1-4 article:nth-child(1) .wpr-grid-item-title a' => 'font-size: {{SIZE}}px;',
1881
+ '{{WRAPPER}} .wpr-mgzn-grid-1-1-2 article:nth-child(1) .wpr-grid-item-title a' => 'font-size: {{SIZE}}px;',
1882
+ '{{WRAPPER}} .wpr-mgzn-grid-2-1-2 article:nth-child(2) .wpr-grid-item-title a' => 'font-size: {{SIZE}}px;',
1883
+ '{{WRAPPER}} .wpr-mgzn-grid-1vh-3h article:nth-child(1) .wpr-grid-item-title a' => 'font-size: {{SIZE}}px;',
1884
+ '{{WRAPPER}} .wpr-mgzn-grid-1-1-1 article:nth-child(2) .wpr-grid-item-title a' => 'font-size: {{SIZE}}px;',
1885
  ],
1886
  'condition' => [
1887
  'layout_select' => [ '1-2', '1-3', '1-4', '1-1-2', '2-1-2', '1vh-3h', '1-1-1' ]
modules/media-grid/widgets/wpr-media-grid.php CHANGED
@@ -1533,7 +1533,7 @@ class Wpr_Media_Grid extends Widget_Base {
1533
  ]
1534
  );
1535
 
1536
- $this->add_control(
1537
  'overlay_width',
1538
  [
1539
  'label' => esc_html__( 'Overlay Width', 'wpr-addons' ),
@@ -1932,7 +1932,7 @@ class Wpr_Media_Grid extends Widget_Base {
1932
  $this->start_controls_section(
1933
  'section_grid_filters',
1934
  [
1935
- 'label' => esc_html__( 'Filters', 'wpr-addons' ),
1936
  'tab' => Controls_Manager::TAB_CONTENT,
1937
  'condition' => [
1938
  'layout_select!' => 'slider',
@@ -7313,6 +7313,12 @@ class Wpr_Media_Grid extends Widget_Base {
7313
  // Get Posts
7314
  $posts = new \WP_Query( $this->get_main_query_args() );
7315
 
 
 
 
 
 
 
7316
  // Grid Settings
7317
  if ( 'slider' !== $settings['layout_select'] ) {
7318
  // Filters
@@ -7330,12 +7336,6 @@ class Wpr_Media_Grid extends Widget_Base {
7330
  // Grid Wrap
7331
  echo '<section class="wpr-grid wpr-media-grid elementor-clearfix" '. $render_attribute .'>';
7332
 
7333
-
7334
- // Loop: Start
7335
- if ( $posts->have_posts() ) :
7336
-
7337
- $post_index = 0;
7338
-
7339
  while ( $posts->have_posts() ) : $posts->the_post();
7340
 
7341
  // $post_index++;
@@ -7383,14 +7383,6 @@ class Wpr_Media_Grid extends Widget_Base {
7383
  // reset
7384
  wp_reset_postdata();
7385
 
7386
- // No Posts Found
7387
- else:
7388
-
7389
- echo '<h2>'. $settings['query_not_found_text'] .'</h2>';
7390
-
7391
- // Loop: End
7392
- endif;
7393
-
7394
  // Grid Wrap
7395
  echo '</section>';
7396
 
@@ -7407,6 +7399,14 @@ class Wpr_Media_Grid extends Widget_Base {
7407
 
7408
  // Pagination
7409
  $this->render_grid_pagination( $settings );
 
 
 
 
 
 
 
 
7410
  }
7411
 
7412
  }
1533
  ]
1534
  );
1535
 
1536
+ $this->add_responsive_control(
1537
  'overlay_width',
1538
  [
1539
  'label' => esc_html__( 'Overlay Width', 'wpr-addons' ),
1932
  $this->start_controls_section(
1933
  'section_grid_filters',
1934
  [
1935
+ 'label' => 'Filters <a href="#" onclick="window.open(\'https://www.youtube.com/watch?v=WR9N8TkrtQE\',\'_blank\').focus()">Video Tutorial <span class="dashicons dashicons-video-alt3"></span></a>',
1936
  'tab' => Controls_Manager::TAB_CONTENT,
1937
  'condition' => [
1938
  'layout_select!' => 'slider',
7313
  // Get Posts
7314
  $posts = new \WP_Query( $this->get_main_query_args() );
7315
 
7316
+
7317
+ // Loop: Start
7318
+ if ( $posts->have_posts() ) :
7319
+
7320
+ $post_index = 0;
7321
+
7322
  // Grid Settings
7323
  if ( 'slider' !== $settings['layout_select'] ) {
7324
  // Filters
7336
  // Grid Wrap
7337
  echo '<section class="wpr-grid wpr-media-grid elementor-clearfix" '. $render_attribute .'>';
7338
 
 
 
 
 
 
 
7339
  while ( $posts->have_posts() ) : $posts->the_post();
7340
 
7341
  // $post_index++;
7383
  // reset
7384
  wp_reset_postdata();
7385
 
 
 
 
 
 
 
 
 
7386
  // Grid Wrap
7387
  echo '</section>';
7388
 
7399
 
7400
  // Pagination
7401
  $this->render_grid_pagination( $settings );
7402
+
7403
+ // No Posts Found
7404
+ else:
7405
+
7406
+ echo '<h2>'. $settings['query_not_found_text'] .'</h2>';
7407
+
7408
+ // Loop: End
7409
+ endif;
7410
  }
7411
 
7412
  }
modules/nav-menu/widgets/wpr-nav-menu.php CHANGED
@@ -711,8 +711,9 @@ class Wpr_Nav_Menu extends Widget_Base {
711
  ],
712
  'selectors' => [
713
  '{{WRAPPER}} .menu-item-has-children .wpr-sub-icon' => 'font-size: {{SIZE}}{{UNIT}};',
714
- '{{WRAPPER}}.wpr-pointer-background:not(.wpr-sub-icon-none) .wpr-nav-menu-horizontal .menu-item-has-children .wpr-pointer-item' => 'text-indent: -{{SIZE}}{{UNIT}};',
715
- '{{WRAPPER}}.wpr-pointer-border:not(.wpr-sub-icon-none) .wpr-nav-menu-horizontal .menu-item-has-children .wpr-pointer-item' => 'text-indent: -{{SIZE}}{{UNIT}};', ],
 
716
  'separator' => 'before'
717
  ]
718
  );
711
  ],
712
  'selectors' => [
713
  '{{WRAPPER}} .menu-item-has-children .wpr-sub-icon' => 'font-size: {{SIZE}}{{UNIT}};',
714
+ '{{WRAPPER}}.wpr-pointer-background:not(.wpr-sub-icon-none) .wpr-nav-menu-horizontal .menu-item-has-children .wpr-pointer-item' => 'padding-right: calc({{SIZE}}px + {{menu_items_padding_hr.SIZE}}px);',
715
+ '{{WRAPPER}}.wpr-pointer-border:not(.wpr-sub-icon-none) .wpr-nav-menu-horizontal .menu-item-has-children .wpr-pointer-item' => 'padding-right: calc({{SIZE}}px + {{menu_items_padding_hr.SIZE}}px);',
716
+ ],
717
  'separator' => 'before'
718
  ]
719
  );
modules/posts-timeline/widgets/wpr-posts-timeline.php CHANGED
@@ -30,7 +30,7 @@ class Wpr_Posts_Timeline extends Widget_Base {
30
  }
31
 
32
  public function get_categories() {
33
- return [ 'wpr-widgets' ];
34
  }
35
 
36
  public function get_keywords() {
30
  }
31
 
32
  public function get_categories() {
33
+ return Utilities::show_theme_buider_widget_on('archive') ? [ 'wpr-theme-builder-widgets' ] : [ 'wpr-widgets' ];
34
  }
35
 
36
  public function get_keywords() {
modules/promo-box/widgets/wpr-promo-box.php CHANGED
@@ -34,7 +34,7 @@ class Wpr_Promo_Box extends Widget_Base {
34
  }
35
 
36
  public function get_categories() {
37
- return [ 'wpr-widgets'];
38
  }
39
 
40
  public function get_keywords() {
34
  }
35
 
36
  public function get_categories() {
37
+ return Utilities::show_theme_buider_widget_on('archive') ? [ 'wpr-theme-builder-widgets' ] : [ 'wpr-widgets'];
38
  }
39
 
40
  public function get_keywords() {
modules/search/widgets/wpr-search.php CHANGED
@@ -32,7 +32,7 @@ class Wpr_Search extends Widget_Base {
32
  }
33
 
34
  public function get_categories() {
35
- return [ 'wpr-widgets'];
36
  }
37
 
38
  public function get_keywords() {
@@ -369,7 +369,7 @@ class Wpr_Search extends Widget_Base {
369
  ]
370
  );
371
 
372
- $this->add_control(
373
  'input_align',
374
  [
375
  'label' => esc_html__( 'Alignment', 'wpr-addons' ),
32
  }
33
 
34
  public function get_categories() {
35
+ return Utilities::show_theme_buider_widget_on('archive') ? [ 'wpr-theme-builder-widgets' ] : [ 'wpr-widgets'];
36
  }
37
 
38
  public function get_keywords() {
369
  ]
370
  );
371
 
372
+ $this->add_responsive_control(
373
  'input_align',
374
  [
375
  'label' => esc_html__( 'Alignment', 'wpr-addons' ),
modules/sharing-buttons/widgets/wpr-sharing-buttons.php CHANGED
@@ -73,27 +73,6 @@ class Wpr_Sharing_Buttons extends Widget_Base {
73
 
74
  public function add_control_sharing_show_label() {}
75
 
76
- public function add_section_styles_sharing_styles() {
77
- $this->start_controls_section(
78
- 'section_styles_sharing_styles',
79
- [
80
- 'label' => esc_html__( 'Styles', 'wpr-addons' ),
81
- 'tab' => Controls_Manager::TAB_STYLE,
82
- ]
83
- );
84
-
85
- $this->add_control(
86
- 'sharing_icon_bg_tr',
87
- [
88
- 'label' => esc_html__( 'Icon Background Color', 'wpr-addons' ),
89
- 'type' => Controls_Manager::SWITCHER,
90
- 'default' => 'yes',
91
- ]
92
- );
93
-
94
- $this->end_controls_section(); // End Controls Section
95
- }
96
-
97
  public function add_control_sharing_icon_border_radius() {}
98
 
99
  protected function register_controls() {
@@ -163,6 +142,18 @@ class Wpr_Sharing_Buttons extends Widget_Base {
163
  ]
164
  );
165
 
 
 
 
 
 
 
 
 
 
 
 
 
166
  $this->end_controls_section(); // End Controls Section
167
 
168
  // Tab: Content ==============
@@ -188,8 +179,8 @@ class Wpr_Sharing_Buttons extends Widget_Base {
188
 
189
  // Section: Pro Features
190
  Utilities::pro_features_list_section( $this, Controls_Manager::RAW_HTML, 'sharing-buttons', [
 
191
  'Custom Social Media Label',
192
- 'Custom Social Media Colors',
193
  'Layout Columns 1,2,3,4,5,6',
194
  'Only Labels - Show/Hide Icon',
195
  'Only Icons - Show/Hide Label',
@@ -429,7 +420,248 @@ class Wpr_Sharing_Buttons extends Widget_Base {
429
 
430
  // Tab: Styles ==============
431
  // Section: Styles ----------
432
- $this->add_section_styles_sharing_styles();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
433
 
434
  }
435
 
@@ -451,7 +683,12 @@ class Wpr_Sharing_Buttons extends Widget_Base {
451
 
452
  echo '<div class="wpr-sharing-buttons elementor-grid'. esc_attr($class) .'">';
453
 
 
454
  foreach( $settings['sharing_buttons'] as $button ) {
 
 
 
 
455
  $sharing_icon = str_replace( 'fab ', '', $button['sharing_icon'] );
456
  $sharing_icon = str_replace( 'fas ', '', $sharing_icon );
457
  $sharing_icon = str_replace( 'fa-', '', $sharing_icon );
@@ -471,6 +708,8 @@ class Wpr_Sharing_Buttons extends Widget_Base {
471
  echo '<div class="elementor-grid-item">';
472
  echo Utilities::get_post_sharing_icon( $args );
473
  echo '</div>';
 
 
474
  }
475
 
476
  echo '</div>';
73
 
74
  public function add_control_sharing_show_label() {}
75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  public function add_control_sharing_icon_border_radius() {}
77
 
78
  protected function register_controls() {
142
  ]
143
  );
144
 
145
+ if ( Utilities::is_new_free_user() ) {
146
+ $this->add_control(
147
+ 'sharing_repeater_pro_notice',
148
+ [
149
+ 'type' => Controls_Manager::RAW_HTML,
150
+ 'raw' => 'More than 4 Buttons are available<br> in the <strong><a href="https://royal-elementor-addons.com/?ref=rea-plugin-panel-sharing-buttons-upgrade-pro#purchasepro" target="_blank">Pro version</a></strong>',
151
+ // 'raw' => 'More than 4 Slides are available<br> in the <strong><a href="'. admin_url('admin.php?page=wpr-addons-pricing') .'" target="_blank">Pro version</a></strong>',
152
+ 'content_classes' => 'wpr-pro-notice',
153
+ ]
154
+ );
155
+ }
156
+
157
  $this->end_controls_section(); // End Controls Section
158
 
159
  // Tab: Content ==============
179
 
180
  // Section: Pro Features
181
  Utilities::pro_features_list_section( $this, Controls_Manager::RAW_HTML, 'sharing-buttons', [
182
+ 'Add Unlimited Social Icons',
183
  'Custom Social Media Label',
 
184
  'Layout Columns 1,2,3,4,5,6',
185
  'Only Labels - Show/Hide Icon',
186
  'Only Icons - Show/Hide Label',
420
 
421
  // Tab: Styles ==============
422
  // Section: Styles ----------
423
+ $this->start_controls_section(
424
+ 'section_styles_sharing_styles',
425
+ [
426
+ 'label' => esc_html__( 'Styles', 'wpr-addons' ),
427
+ 'tab' => Controls_Manager::TAB_STYLE,
428
+ ]
429
+ );
430
+
431
+ $this->add_control(
432
+ 'sharing_custom_colors',
433
+ [
434
+ 'label' => esc_html__( 'Use Custom Colors', 'wpr-addons' ),
435
+ 'type' => Controls_Manager::SWITCHER,
436
+ 'separator' => 'after'
437
+ ]
438
+ );
439
+
440
+ $this->add_control(
441
+ 'sharing_icon_bg_tr',
442
+ [
443
+ 'label' => esc_html__( 'Icon Background Color', 'wpr-addons' ),
444
+ 'type' => Controls_Manager::SWITCHER,
445
+ 'default' => 'yes',
446
+ 'condition' => [
447
+ 'sharing_custom_colors' => '',
448
+ ]
449
+ ]
450
+ );
451
+
452
+ $this->add_control(
453
+ 'sharing_label_bg',
454
+ [
455
+ 'label' => esc_html__( 'Label Background Color', 'wpr-addons' ),
456
+ 'type' => Controls_Manager::SWITCHER,
457
+ 'default' => 'yes',
458
+ 'condition' => [
459
+ 'sharing_show_label' => 'yes',
460
+ 'sharing_custom_colors' => '',
461
+ ]
462
+ ]
463
+ );
464
+
465
+ $this->add_control(
466
+ 'sharing_label_bg_tr',
467
+ [
468
+ 'label' => esc_html__( 'Label Background Transparency', 'wpr-addons' ),
469
+ 'type' => Controls_Manager::SWITCHER,
470
+ 'default' => 'yes',
471
+ 'selectors_dictionary' => [
472
+ '' => '1',
473
+ 'yes' => '0.92'
474
+ ],
475
+ 'selectors' => [
476
+ '{{WRAPPER}} .wpr-sharing-buttons .wpr-sharing-label' => 'opacity: {{VALUE}};',
477
+ ],
478
+ 'condition' => [
479
+ 'sharing_show_label' => 'yes',
480
+ 'sharing_custom_colors' => '',
481
+ 'sharing_label_bg' => 'yes',
482
+ ]
483
+ ]
484
+ );
485
+
486
+ $this->start_controls_tabs(
487
+ 'tabs_sharing_custom_colors', [
488
+ 'condition' => [
489
+ 'sharing_custom_colors' => 'yes',
490
+ ]
491
+ ]
492
+ );
493
+
494
+ $this->start_controls_tab(
495
+ 'tab_sharing_custom_normal',
496
+ [
497
+ 'label' => esc_html__( 'Normal', 'wpr-addons' ),
498
+ ]
499
+ );
500
+
501
+ $this->add_control(
502
+ 'sharing_icon_color',
503
+ [
504
+ 'label' => esc_html__( 'Icon Color', 'wpr-addons' ),
505
+ 'type' => Controls_Manager::COLOR,
506
+ 'default' => '#ffffff',
507
+ 'selectors' => [
508
+ '{{WRAPPER}} .wpr-sharing-buttons .wpr-sharing-icon i' => 'color: {{VALUE}}',
509
+ ],
510
+ ]
511
+ );
512
+
513
+ $this->add_control(
514
+ 'sharing_icon_bg_color',
515
+ [
516
+ 'label' => esc_html__( 'Icon Background Color', 'wpr-addons' ),
517
+ 'type' => Controls_Manager::COLOR,
518
+ 'default' => '#4A45D2',
519
+ 'selectors' => [
520
+ '{{WRAPPER}} .wpr-sharing-buttons .wpr-sharing-icon i' => 'background-color: {{VALUE}}',
521
+ ],
522
+ ]
523
+ );
524
+
525
+ $this->add_control(
526
+ 'sharing_label_color',
527
+ [
528
+ 'label' => esc_html__( 'Label Color', 'wpr-addons' ),
529
+ 'type' => Controls_Manager::COLOR,
530
+ 'default' => '#ffffff',
531
+ 'selectors' => [
532
+ '{{WRAPPER}} .wpr-sharing-buttons .wpr-sharing-label' => 'color: {{VALUE}}',
533
+ ],
534
+ 'condition' => [
535
+ 'sharing_show_label' => 'yes',
536
+ ]
537
+ ]
538
+ );
539
+
540
+ $this->add_control(
541
+ 'sharing_label_bg_color',
542
+ [
543
+ 'label' => esc_html__( 'Label Background Color', 'wpr-addons' ),
544
+ 'type' => Controls_Manager::COLOR,
545
+ 'default' => '#605BE5',
546
+ 'selectors' => [
547
+ '{{WRAPPER}} .wpr-sharing-buttons .wpr-sharing-label' => 'background-color: {{VALUE}}',
548
+ ],
549
+ 'condition' => [
550
+ 'sharing_show_label' => 'yes',
551
+ ]
552
+ ]
553
+ );
554
+
555
+ $this->add_control(
556
+ 'sharing_label_border_color',
557
+ [
558
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
559
+ 'type' => Controls_Manager::COLOR,
560
+ 'default' => '#E8E8E8',
561
+ 'selectors' => [
562
+ '{{WRAPPER}} .wpr-sharing-buttons .wpr-sharing-icon' => 'border-color: {{VALUE}}',
563
+ ],
564
+ ]
565
+ );
566
+
567
+ $this->end_controls_tab();
568
+
569
+ $this->start_controls_tab(
570
+ 'tab_sharing_custom_hover',
571
+ [
572
+ 'label' => esc_html__( 'Hover', 'wpr-addons' ),
573
+ ]
574
+ );
575
+
576
+ $this->add_control(
577
+ 'sharing_icon_color_hr',
578
+ [
579
+ 'label' => esc_html__( 'Icon Color', 'wpr-addons' ),
580
+ 'type' => Controls_Manager::COLOR,
581
+ 'default' => '#ffffff',
582
+ 'selectors' => [
583
+ '{{WRAPPER}} .wpr-sharing-buttons .wpr-sharing-icon:hover i' => 'color: {{VALUE}}',
584
+ ],
585
+ ]
586
+ );
587
+
588
+ $this->add_control(
589
+ 'sharing_icon_bg_color_hr',
590
+ [
591
+ 'label' => esc_html__( 'Icon Background Color', 'wpr-addons' ),
592
+ 'type' => Controls_Manager::COLOR,
593
+ 'default' => '#605BE5',
594
+ 'selectors' => [
595
+ '{{WRAPPER}} .wpr-sharing-buttons .wpr-sharing-icon:hover i' => 'background-color: {{VALUE}}',
596
+ ],
597
+ ]
598
+ );
599
+
600
+ $this->add_control(
601
+ 'sharing_label_color_hr',
602
+ [
603
+ 'label' => esc_html__( 'Label Color', 'wpr-addons' ),
604
+ 'type' => Controls_Manager::COLOR,
605
+ 'default' => '#ffffff',
606
+ 'selectors' => [
607
+ '{{WRAPPER}} .wpr-sharing-buttons .wpr-sharing-icon:hover .wpr-sharing-label' => 'color: {{VALUE}}',
608
+ ],
609
+ 'condition' => [
610
+ 'sharing_show_label' => 'yes',
611
+ ]
612
+ ]
613
+ );
614
+
615
+ $this->add_control(
616
+ 'sharing_label_bg_color_hr',
617
+ [
618
+ 'label' => esc_html__( 'Label Background Color', 'wpr-addons' ),
619
+ 'type' => Controls_Manager::COLOR,
620
+ 'default' => '#4A45D2',
621
+ 'selectors' => [
622
+ '{{WRAPPER}} .wpr-sharing-buttons .wpr-sharing-icon:hover .wpr-sharing-label' => 'background-color: {{VALUE}}',
623
+ ],
624
+ 'condition' => [
625
+ 'sharing_show_label' => 'yes',
626
+ ]
627
+ ]
628
+ );
629
+
630
+ $this->add_control(
631
+ 'sharing_label_border_color_hr',
632
+ [
633
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
634
+ 'type' => Controls_Manager::COLOR,
635
+ 'default' => '#E8E8E8',
636
+ 'selectors' => [
637
+ '{{WRAPPER}} .wpr-sharing-buttons .wpr-sharing-icon:hover' => 'border-color: {{VALUE}}',
638
+ ],
639
+ ]
640
+ );
641
+
642
+ $this->end_controls_tab();
643
+
644
+ $this->end_controls_tabs();
645
+
646
+ $this->add_control(
647
+ 'sharing_transition_duration',
648
+ [
649
+ 'label' => esc_html__( 'Transition Duration', 'wpr-addons' ),
650
+ 'type' => Controls_Manager::NUMBER,
651
+ 'default' => 0.1,
652
+ 'min' => 0,
653
+ 'max' => 5,
654
+ 'step' => 0.1,
655
+ 'selectors' => [
656
+ '{{WRAPPER}} .wpr-sharing-buttons .wpr-sharing-icon' => 'transition-duration: {{VALUE}}s',
657
+ '{{WRAPPER}} .wpr-sharing-buttons .wpr-sharing-icon i' => 'transition-duration: {{VALUE}}s',
658
+ '{{WRAPPER}} .wpr-sharing-buttons .wpr-sharing-icon span' => 'transition-duration: {{VALUE}}s',
659
+ ],
660
+ 'separator' => 'before',
661
+ ]
662
+ );
663
+
664
+ $this->end_controls_section(); // End Controls Section
665
 
666
  }
667
 
683
 
684
  echo '<div class="wpr-sharing-buttons elementor-grid'. esc_attr($class) .'">';
685
 
686
+ $count = 0;
687
  foreach( $settings['sharing_buttons'] as $button ) {
688
+ if ( Utilities::is_new_free_user() && $count === 4 ) {
689
+ break;
690
+ }
691
+
692
  $sharing_icon = str_replace( 'fab ', '', $button['sharing_icon'] );
693
  $sharing_icon = str_replace( 'fas ', '', $sharing_icon );
694
  $sharing_icon = str_replace( 'fa-', '', $sharing_icon );
708
  echo '<div class="elementor-grid-item">';
709
  echo Utilities::get_post_sharing_icon( $args );
710
  echo '</div>';
711
+
712
+ $count++;
713
  }
714
 
715
  echo '</div>';
modules/taxonomy-list/module.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Modules\TaxonomyList;
3
+
4
+ use WprAddons\Base\Module_Base;
5
+
6
+ class Module extends Module_Base {
7
+
8
+ public function __construct() {
9
+ parent::__construct();
10
+
11
+ // This is here for extensibility purposes - go to town and make things happen!
12
+ }
13
+
14
+ public function get_name() {
15
+ return 'wpr-taxonomy-list';
16
+ }
17
+
18
+ public function get_widgets() {
19
+ return [
20
+ 'Wpr_Taxonomy_List', // This should match the widget/element class.
21
+ ];
22
+ }
23
+
24
+ }
modules/taxonomy-list/widgets/wpr-taxonomy-list.php ADDED
@@ -0,0 +1,498 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Modules\TaxonomyList\Widgets;
3
+
4
+ use Elementor\Widget_Base;
5
+ use Elementor\Controls_Manager;
6
+ use Elementor\Core\Responsive\Responsive;
7
+ use Elementor\Group_Control_Typography;
8
+ use Elementor\Group_Control_Background;
9
+ use Elementor\Core\Schemes\Color;
10
+ use Elementor\Core\Schemes\Typography;
11
+ use Elementor\Group_Control_Image_Size;
12
+ use WprAddons\Classes\Utilities;
13
+
14
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
15
+
16
+ class Wpr_Taxonomy_List extends Widget_Base {
17
+
18
+ public function get_name() {
19
+ return 'wpr-taxonomy-list';
20
+ }
21
+
22
+ public function get_title() {
23
+ return esc_html__( 'Taxonomy List', 'wpr-addons' );
24
+ }
25
+
26
+ public function get_icon() {
27
+ return 'wpr-icon eicon-editor-list-ul';
28
+ }
29
+
30
+ public function get_categories() {
31
+ return [ 'wpr-widgets' ];
32
+ }
33
+
34
+ public function get_keywords() {
35
+ return [ 'royal', 'taxonomy-list', 'taxonomy', 'category', 'categories', 'tag', 'list'];
36
+ }
37
+
38
+ public function get_post_taxonomies() {
39
+ return [
40
+ 'category' => esc_html__( 'Categories', 'wpr-addons' ),
41
+ 'post_tag' => esc_html__( 'Tags', 'wpr-addons' ),
42
+ 'product_cat' => esc_html__( 'Product Categories', 'wpr-addons' ),
43
+ 'product_tag' => esc_html__( 'Product Tags', 'wpr-addons' ),
44
+ ];
45
+ }
46
+
47
+ protected function register_controls() {
48
+
49
+ // Tab: Content ==============
50
+ // Section: General ----------
51
+ $this->start_controls_section(
52
+ 'section_taxonomy_list_general',
53
+ [
54
+ 'label' => esc_html__( 'General', 'wpr-addons' ),
55
+ 'tab' => Controls_Manager::TAB_CONTENT,
56
+ ]
57
+ );
58
+
59
+ $this->add_control(
60
+ 'query_heading',
61
+ [
62
+ 'label' => esc_html__( 'Query', 'wpr-addons' ),
63
+ 'type' => Controls_Manager::HEADING,
64
+ ]
65
+ );
66
+
67
+ $this->add_control(
68
+ 'query_tax_selection',
69
+ [
70
+ 'label' => esc_html__( 'Select Taxonomy', 'wpr-addons' ),
71
+ 'type' => Controls_Manager::SELECT,
72
+ 'default' => 'category',
73
+ 'options' => $this->get_post_taxonomies(),
74
+ ]
75
+ );
76
+
77
+ $this->add_control(
78
+ 'query_hide_empty',
79
+ [
80
+ 'label' => esc_html__( 'Hide Empty', 'wpr-addons' ),
81
+ 'type' => Controls_Manager::SWITCHER,
82
+ 'return_value' => 'yes',
83
+ 'default' => 'yes'
84
+ ]
85
+ );
86
+
87
+ $this->add_control(
88
+ 'layout_heading',
89
+ [
90
+ 'label' => esc_html__( 'Layout', 'wpr-addons' ),
91
+ 'type' => Controls_Manager::HEADING,
92
+ 'separator' => 'before',
93
+ ]
94
+ );
95
+
96
+ $this->add_control(
97
+ 'taxonomy_list_layout',
98
+ [
99
+ 'label' => esc_html__( 'Select Layout', 'wpr-addons' ),
100
+ 'type' => Controls_Manager::CHOOSE,
101
+ 'default' => 'vertical',
102
+ 'options' => [
103
+ 'vertical' => [
104
+ 'title' => esc_html__( 'Vertical', 'wpr-addons' ),
105
+ 'icon' => 'eicon-editor-list-ul',
106
+ ],
107
+ 'horizontal' => [
108
+ 'title' => esc_html__( 'Horizontal', 'wpr-addons' ),
109
+ 'icon' => 'eicon-ellipsis-h',
110
+ ],
111
+ ],
112
+ 'prefix_class' => 'wpr-taxonomy-list-',
113
+ 'label_block' => false,
114
+ ]
115
+ );
116
+
117
+ $this->add_control(
118
+ 'show_tax_list_icon',
119
+ [
120
+ 'label' => esc_html__( 'Show Icon', 'wpr-addons' ),
121
+ 'type' => Controls_Manager::SWITCHER,
122
+ 'return_value' => 'yes',
123
+ 'label_block' => false,
124
+ 'default' => 'yes'
125
+ ]
126
+ );
127
+
128
+ $this->add_control(
129
+ 'tax_list_icon',
130
+ [
131
+ 'label' => esc_html__( 'Select Icon', 'wpr-addons' ),
132
+ 'type' => Controls_Manager::ICONS,
133
+ 'skin' => 'inline',
134
+ 'label_block' => false,
135
+ 'exclude_inline_options' => 'svg',
136
+ 'condition' => [
137
+ 'show_tax_list_icon' => 'yes'
138
+ ]
139
+ ]
140
+ );
141
+
142
+ $this->add_control(
143
+ 'show_tax_count',
144
+ [
145
+ 'label' => esc_html__( 'Show Count', 'wpr-addons' ),
146
+ 'type' => Controls_Manager::SWITCHER,
147
+ 'return_value' => 'yes',
148
+ 'label_block' => false,
149
+ 'default' => 'yes'
150
+ ]
151
+ );
152
+
153
+ $this->end_controls_section();
154
+
155
+ // Section: Pro Features
156
+ Utilities::pro_features_list_section( $this, Controls_Manager::RAW_HTML, 'taxonomy-list', [
157
+ 'Query Custom Post Type Taxonomies (categories).'
158
+ ] );
159
+
160
+ // Styles ====================
161
+ // Section: Taxonomy Style ---
162
+ $this->start_controls_section(
163
+ 'section_style_tax',
164
+ [
165
+ 'label' => esc_html__( 'Taxonomy Style', 'wpr-addons' ),
166
+ 'tab' => Controls_Manager::TAB_STYLE,
167
+ 'show_label' => false,
168
+ ]
169
+ );
170
+
171
+ $this->start_controls_tabs( 'tax_style' );
172
+
173
+ $this->start_controls_tab(
174
+ 'tax_normal',
175
+ [
176
+ 'label' => esc_html__( 'Normal', 'wpr-addons' ),
177
+ ]
178
+ );
179
+
180
+ $this->add_control(
181
+ 'tax_color',
182
+ [
183
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
184
+ 'type' => Controls_Manager::COLOR,
185
+ 'default' => '#605BE5',
186
+ 'selectors' => [
187
+ '{{WRAPPER}} .wpr-taxonomy-list li a' => 'color: {{VALUE}}',
188
+ ],
189
+ ]
190
+ );
191
+
192
+ $this->add_control(
193
+ 'tax_bg_color',
194
+ [
195
+ 'label' => esc_html__( 'Background Color', 'wpr-addons' ),
196
+ 'type' => Controls_Manager::COLOR,
197
+ 'default' => '#00000000',
198
+ 'selectors' => [
199
+ '{{WRAPPER}} .wpr-taxonomy-list li a' => 'background-color: {{VALUE}}',
200
+ ]
201
+ ]
202
+ );
203
+
204
+ $this->add_control(
205
+ 'tax_border_color',
206
+ [
207
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
208
+ 'type' => Controls_Manager::COLOR,
209
+ 'default' => '#E8E8E8',
210
+ 'selectors' => [
211
+ '{{WRAPPER}} .wpr-taxonomy-list li a' => 'border-color: {{VALUE}}',
212
+ ],
213
+ ]
214
+ );
215
+
216
+ $this->add_control(
217
+ 'tax_transition_duration',
218
+ [
219
+ 'label' => esc_html__( 'Transition Duration', 'wpr-addons' ),
220
+ 'type' => Controls_Manager::NUMBER,
221
+ 'default' => 0.5,
222
+ 'min' => 0,
223
+ 'max' => 5,
224
+ 'step' => 0.1,
225
+ 'selectors' => [
226
+ '{{WRAPPER}} .wpr-taxonomy-list li a' => 'transition-duration: {{VALUE}}s',
227
+ ],
228
+ ]
229
+ );
230
+
231
+ $this->add_group_control(
232
+ Group_Control_Typography::get_type(),
233
+ [
234
+ 'name' => 'tax_typography',
235
+ 'scheme' => Typography::TYPOGRAPHY_3,
236
+ 'selector' => '{{WRAPPER}} .wpr-taxonomy-list li a',
237
+ 'fields_options' => [
238
+ 'typography' => [
239
+ 'default' => 'custom',
240
+ ],
241
+ 'font_size' => [
242
+ 'default' => [
243
+ 'size' => '14',
244
+ 'unit' => 'px',
245
+ ],
246
+ ]
247
+ ]
248
+ ]
249
+ );
250
+
251
+ $this->end_controls_tab();
252
+
253
+ $this->start_controls_tab(
254
+ 'tax_hover',
255
+ [
256
+ 'label' => esc_html__( 'Hover', 'wpr-addons' ),
257
+ ]
258
+ );
259
+
260
+ $this->add_control(
261
+ 'tax_color_hr',
262
+ [
263
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
264
+ 'type' => Controls_Manager::COLOR,
265
+ 'selectors' => [
266
+ '{{WRAPPER}} .wpr-taxonomy-list li a:hover' => 'color: {{VALUE}}',
267
+ ],
268
+ ]
269
+ );
270
+
271
+ $this->add_control(
272
+ 'tax1_bg_color_hr',
273
+ [
274
+ 'label' => esc_html__( 'Background Color', 'wpr-addons' ),
275
+ 'type' => Controls_Manager::COLOR,
276
+ 'selectors' => [
277
+ '{{WRAPPER}} .wpr-taxonomy-list li a:hover' => 'background-color: {{VALUE}}',
278
+ ]
279
+ ]
280
+ );
281
+
282
+ $this->add_control(
283
+ 'tax1_border_color_hr',
284
+ [
285
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
286
+ 'type' => Controls_Manager::COLOR,
287
+ 'selectors' => [
288
+ '{{WRAPPER}} .wpr-taxonomy-list li a:hover' => 'border-color: {{VALUE}}',
289
+ ],
290
+ ]
291
+ );
292
+ $this->end_controls_tab();
293
+
294
+ $this->end_controls_tabs();
295
+
296
+ $this->add_responsive_control(
297
+ 'tax_padding',
298
+ [
299
+ 'label' => esc_html__( 'Padding', 'wpr-addons' ),
300
+ 'type' => Controls_Manager::DIMENSIONS,
301
+ 'size_units' => [ 'px', '%' ],
302
+ 'default' => [
303
+ 'top' => 5,
304
+ 'right' => 0,
305
+ 'bottom' => 5,
306
+ 'left' => 0,
307
+ ],
308
+ 'selectors' => [
309
+ '{{WRAPPER}} .wpr-taxonomy-list li a' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
310
+ ],
311
+ 'separator' => 'before',
312
+ ]
313
+ );
314
+
315
+ $this->add_responsive_control(
316
+ 'tax_margin',
317
+ [
318
+ 'label' => esc_html__( 'Margin', 'wpr-addons' ),
319
+ 'type' => Controls_Manager::DIMENSIONS,
320
+ 'size_units' => [ 'px', '%' ],
321
+ 'default' => [
322
+ 'top' => 5,
323
+ 'right' => 8,
324
+ 'bottom' => 0,
325
+ 'left' => 0,
326
+ ],
327
+ 'selectors' => [
328
+ '{{WRAPPER}} .wpr-taxonomy-list li' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
329
+ ],
330
+ ]
331
+ );
332
+
333
+ $this->add_control(
334
+ 'tax_border_type',
335
+ [
336
+ 'label' => esc_html__( 'Border Type', 'wpr-addons' ),
337
+ 'type' => Controls_Manager::SELECT,
338
+ 'options' => [
339
+ 'none' => esc_html__( 'None', 'wpr-addons' ),
340
+ 'solid' => esc_html__( 'Solid', 'wpr-addons' ),
341
+ 'double' => esc_html__( 'Double', 'wpr-addons' ),
342
+ 'dotted' => esc_html__( 'Dotted', 'wpr-addons' ),
343
+ 'dashed' => esc_html__( 'Dashed', 'wpr-addons' ),
344
+ 'groove' => esc_html__( 'Groove', 'wpr-addons' ),
345
+ ],
346
+ 'default' => 'solid',
347
+ 'selectors' => [
348
+ '{{WRAPPER}} .wpr-taxonomy-list li a' => 'border-style: {{VALUE}};',
349
+ ],
350
+ 'separator' => 'before',
351
+ ]
352
+ );
353
+
354
+ $this->add_control(
355
+ 'tax_border_width',
356
+ [
357
+ 'label' => esc_html__( 'Border Width', 'wpr-addons' ),
358
+ 'type' => Controls_Manager::DIMENSIONS,
359
+ 'size_units' => [ 'px' ],
360
+ 'default' => [
361
+ 'top' => 0,
362
+ 'right' => 0,
363
+ 'bottom' => 1,
364
+ 'left' => 0,
365
+ ],
366
+ 'selectors' => [
367
+ '{{WRAPPER}} .wpr-taxonomy-list li a' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
368
+ ],
369
+ 'condition' => [
370
+ 'tax_border_type!' => 'none',
371
+ ],
372
+ ]
373
+ );
374
+
375
+ $this->add_control(
376
+ 'tax_radius',
377
+ [
378
+ 'label' => esc_html__( 'Border Radius', 'wpr-addons' ),
379
+ 'type' => Controls_Manager::DIMENSIONS,
380
+ 'size_units' => [ 'px', '%' ],
381
+ 'default' => [
382
+ 'top' => 0,
383
+ 'right' => 0,
384
+ 'bottom' => 0,
385
+ 'left' => 0,
386
+ ],
387
+ 'selectors' => [
388
+ '{{WRAPPER}} .wpr-taxonomy-list li a' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
389
+ ]
390
+ ]
391
+ );
392
+
393
+ $this->end_controls_section();
394
+
395
+ // Tab: Style ==============
396
+ // Section: Content --------
397
+ $this->start_controls_section(
398
+ 'section_style_icon',
399
+ [
400
+ 'label' => esc_html__( 'Icon', 'wpr-addons' ),
401
+ 'tab' => Controls_Manager::TAB_STYLE,
402
+ 'condition' => [
403
+ 'show_tax_list_icon' => 'yes'
404
+ ]
405
+ ]
406
+ );
407
+
408
+ $this->add_control(
409
+ 'icon_color',
410
+ [
411
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
412
+ 'type' => Controls_Manager::COLOR,
413
+ 'default' => '#605BE5',
414
+ 'selectors' => [
415
+ '{{WRAPPER}} .wpr-taxonomy-list li i' => 'color: {{VALUE}}',
416
+ ],
417
+ ]
418
+ );
419
+
420
+ $this->add_responsive_control(
421
+ 'icon_size',
422
+ [
423
+ 'label' => esc_html__( 'Size', 'wpr-addons' ),
424
+ 'type' => Controls_Manager::SLIDER,
425
+ 'size_units' => ['px'],
426
+ 'range' => [
427
+ 'px' => [
428
+ 'min' => 0,
429
+ 'max' => 50,
430
+ ],
431
+ ],
432
+ 'default' => [
433
+ 'unit' => 'px',
434
+ 'size' => 15,
435
+ ],
436
+ 'selectors' => [
437
+ '{{WRAPPER}} .wpr-taxonomy-list li i' => 'font-size: {{SIZE}}{{UNIT}};',
438
+ ],
439
+ 'separator' => 'before'
440
+ ]
441
+ );
442
+
443
+ $this->add_responsive_control(
444
+ 'icon_distance',
445
+ [
446
+ 'label' => esc_html__( 'Distance', 'wpr-addons' ),
447
+ 'type' => Controls_Manager::SLIDER,
448
+ 'size_units' => ['px'],
449
+ 'range' => [
450
+ 'px' => [
451
+ 'min' => 0,
452
+ 'max' => 50,
453
+ ],
454
+ ],
455
+ 'default' => [
456
+ 'unit' => 'px',
457
+ 'size' => 5,
458
+ ],
459
+ 'selectors' => [
460
+ '{{WRAPPER}} .wpr-taxonomy-list li i' => 'margin-right: {{SIZE}}{{UNIT}};',
461
+ ],
462
+ ]
463
+ );
464
+
465
+ $this->end_controls_section();
466
+ }
467
+
468
+ protected function render() {
469
+ // Get Settings
470
+ $settings = $this->get_settings_for_display();
471
+
472
+ ob_start();
473
+ \Elementor\Icons_Manager::render_icon( $settings['tax_list_icon'], [ 'aria-hidden' => 'true' ] );
474
+ $icon = ob_get_clean();
475
+ $icon_wrapper = !empty($settings['tax_list_icon']) ? '<span>' . $icon . '</span>' : '';
476
+
477
+ // Get Taxonomies
478
+ $terms = get_terms([
479
+ 'taxonomy' => $settings['query_tax_selection'],
480
+ 'hide_empty' => 'yes' === $settings['query_hide_empty'],
481
+ ]);
482
+
483
+ echo '<ul class="wpr-taxonomy-list">';
484
+
485
+ foreach ($terms as $key => $term) {
486
+ $sub_class = $term->parent > 0 ? ' class="wpr-sub-taxonomy"' : '';
487
+
488
+ echo '<li'. $sub_class .'>';
489
+ echo '<a href="'. esc_url(get_term_link($term->term_id)) .'">';
490
+ echo '<span class="wpr-tax-wrap">' . $icon_wrapper . '<span>' . $term->name . '</span>' .'</span>';
491
+ echo $settings['show_tax_count'] ? '<span><span class="wpr-term-count">&nbsp;(' . $term->count . ')</span></span>' : '';
492
+ echo '</a>';
493
+ echo '</li>';
494
+ }
495
+
496
+ echo '</ul>';
497
+ }
498
+ }
modules/theme-builder/archive-title/module.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Modules\ThemeBuilder\ArchiveTitle;
3
+
4
+ use WprAddons\Base\Module_Base;
5
+ use WprAddons\Classes\Utilities;
6
+
7
+ class Module extends Module_Base {
8
+
9
+ public function __construct() {
10
+ parent::__construct();
11
+
12
+ // This is here for extensibility purposes - go to town and make things happen!
13
+ }
14
+
15
+ public function get_name() {
16
+ return 'wpr-archive-title';
17
+ }
18
+
19
+ public function get_widgets() {
20
+ return [
21
+ 'Wpr_Archive_Title', // This should match the widget/element class.
22
+ ];
23
+ }
24
+
25
+ }
modules/theme-builder/archive-title/widgets/wpr-archive-title.php ADDED
@@ -0,0 +1,433 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Modules\ThemeBuilder\ArchiveTitle\Widgets;
3
+
4
+ use Elementor\Widget_Base;
5
+ use Elementor\Controls_Manager;
6
+ use Elementor\Core\Responsive\Responsive;
7
+ use Elementor\Group_Control_Text_Shadow;
8
+ use Elementor\Group_Control_Text_Stroke;
9
+ use Elementor\Group_Control_Typography;
10
+ use Elementor\Core\Schemes\Typography;
11
+ use Elementor\Core\Schemes\Color;
12
+ use WprAddons\Classes\Utilities;
13
+
14
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
15
+
16
+ class Wpr_Archive_Title extends Widget_Base {
17
+
18
+ public function get_name() {
19
+ return 'wpr-archive-title';
20
+ }
21
+
22
+ public function get_title() {
23
+ return esc_html__( 'Archive Title/Desc', 'wpr-addons' );
24
+ }
25
+
26
+ public function get_icon() {
27
+ return 'wpr-icon eicon-site-title';
28
+ }
29
+
30
+ public function get_categories() {
31
+ return Utilities::show_theme_buider_widget_on('archive') ? [ 'wpr-theme-builder-widgets' ] : [];
32
+ }
33
+
34
+ public function get_keywords() {
35
+ return [ 'archive', 'title', 'description', 'category', 'tag' ];
36
+ }
37
+
38
+ public function add_control_archive_description() {}
39
+
40
+ protected function register_controls() {
41
+
42
+ // Tab: Content ==============
43
+ // Section: General ----------
44
+ $this->start_controls_section(
45
+ 'section_post_title',
46
+ [
47
+ 'label' => esc_html__( 'General', 'wpr-addons' ),
48
+ 'tab' => Controls_Manager::TAB_CONTENT,
49
+ ]
50
+ );
51
+
52
+ $this->add_responsive_control(
53
+ 'post_title_align',
54
+ [
55
+ 'label' => esc_html__( 'Alignment', 'wpr-addons' ),
56
+ 'type' => Controls_Manager::CHOOSE,
57
+ 'default' => 'center',
58
+ 'label_block' => false,
59
+ 'options' => [
60
+ 'left' => [
61
+ 'title' => __( 'Left', 'wpr-addons' ),
62
+ 'icon' => 'eicon-text-align-left',
63
+ ],
64
+ 'center' => [
65
+ 'title' => __( 'Center', 'wpr-addons' ),
66
+ 'icon' => 'eicon-text-align-center',
67
+ ],
68
+ 'right' => [
69
+ 'title' => __( 'Right', 'wpr-addons' ),
70
+ 'icon' => 'eicon-text-align-right',
71
+ ],
72
+ ],
73
+ 'selectors_dictionary' => [
74
+ 'left' => 'text-align: left;',
75
+ 'center' => 'text-align: center; margin: 0 auto;',
76
+ 'right' => 'text-align: right; margin-left: auto;',
77
+ ],
78
+ 'selectors' => [
79
+ '{{WRAPPER}} .wpr-archive-title' => '{{VALUE}}',
80
+ '{{WRAPPER}} .wpr-archive-title:after' => '{{VALUE}}',
81
+ '{{WRAPPER}} .wpr-archive-description' => '{{VALUE}}',
82
+ ],
83
+ ]
84
+ );
85
+
86
+ $this->add_control(
87
+ 'post_title_tag',
88
+ [
89
+ 'label' => esc_html__( 'Title HTML Tag', 'wpr-addons' ),
90
+ 'type' => Controls_Manager::SELECT,
91
+ 'options' => [
92
+ 'h1' => 'H1',
93
+ 'h2' => 'H2',
94
+ 'h3' => 'H3',
95
+ 'h4' => 'H4',
96
+ 'h5' => 'H5',
97
+ 'h6' => 'H6',
98
+ ],
99
+ 'default' => 'h1',
100
+ ]
101
+ );
102
+
103
+ $this->add_control(
104
+ 'post_title_before_text',
105
+ [
106
+ 'label' => esc_html__( 'Text Before Title', 'wpr-addons' ),
107
+ 'type' => Controls_Manager::TEXT,
108
+ 'default' => '',
109
+ ]
110
+ );
111
+
112
+ $this->add_control_archive_description();
113
+
114
+ $this->end_controls_section(); // End Controls Section
115
+
116
+ // Section: Pro Features
117
+ Utilities::pro_features_list_section( $this, Controls_Manager::RAW_HTML, 'archive-title', [
118
+ 'Show/Hide Taxonomy (Category) Description, also change Color and Typography.',
119
+ ] );
120
+
121
+ // Styles ====================
122
+ // Section: Title ------------
123
+ $this->start_controls_section(
124
+ 'section_style_title',
125
+ [
126
+ 'label' => esc_html__( 'Title & Description', 'wpr-addons' ),
127
+ 'tab' => Controls_Manager::TAB_STYLE,
128
+ 'show_label' => false,
129
+ ]
130
+ );
131
+
132
+ $this->add_control(
133
+ 'title_color',
134
+ [
135
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
136
+ 'type' => Controls_Manager::COLOR,
137
+ 'default' => '#333333',
138
+ 'selectors' => [
139
+ '{{WRAPPER}} .wpr-archive-title' => 'color: {{VALUE}};',
140
+ ],
141
+ ]
142
+ );
143
+
144
+ $this->add_control(
145
+ 'title_before_text_color',
146
+ [
147
+ 'label' => esc_html__( 'Before Text Color', 'wpr-addons' ),
148
+ 'type' => Controls_Manager::COLOR,
149
+ 'default' => '#555555',
150
+ 'selectors' => [
151
+ '{{WRAPPER}} .wpr-archive-title span' => 'color: {{VALUE}};',
152
+ ],
153
+ ]
154
+ );
155
+
156
+ $this->add_group_control(
157
+ Group_Control_Typography::get_type(),
158
+ [
159
+ 'name' => 'title_typography',
160
+ 'scheme' => Typography::TYPOGRAPHY_3,
161
+ 'fields_options' => [
162
+ 'typography' => [
163
+ 'default' => 'custom',
164
+ ],
165
+ 'font_size' => [
166
+ 'default' => [
167
+ 'size' => '24',
168
+ 'unit' => 'px',
169
+ ],
170
+ ],
171
+ ],
172
+ 'selector' => '{{WRAPPER}} .wpr-archive-title'
173
+ ]
174
+ );
175
+
176
+ $this->add_group_control(
177
+ Group_Control_Text_Stroke::get_type(),
178
+ [
179
+ 'name' => 'text_stroke',
180
+ 'selector' => '{{WRAPPER}} .wpr-archive-title',
181
+ ]
182
+ );
183
+
184
+ $this->add_group_control(
185
+ Group_Control_Text_Shadow::get_type(),
186
+ [
187
+ 'name' => 'title_shadow',
188
+ 'selector' => '{{WRAPPER}} .wpr-archive-title',
189
+ 'separator' => 'after',
190
+ ]
191
+ );
192
+
193
+ $this->add_control(
194
+ 'blend_mode',
195
+ [
196
+ 'label' => esc_html__( 'Blend Mode', 'wpr-addons' ),
197
+ 'type' => Controls_Manager::SELECT,
198
+ 'options' => [
199
+ '' => esc_html__( 'Normal', 'wpr-addons' ),
200
+ 'multiply' => 'Multiply',
201
+ 'screen' => 'Screen',
202
+ 'overlay' => 'Overlay',
203
+ 'darken' => 'Darken',
204
+ 'lighten' => 'Lighten',
205
+ 'color-dodge' => 'Color Dodge',
206
+ 'saturation' => 'Saturation',
207
+ 'color' => 'Color',
208
+ 'difference' => 'Difference',
209
+ 'exclusion' => 'Exclusion',
210
+ 'hue' => 'Hue',
211
+ 'luminosity' => 'Luminosity',
212
+ ],
213
+ 'selectors' => [
214
+ '{{WRAPPER}} .wpr-archive-title' => 'mix-blend-mode: {{VALUE}};',
215
+ ],
216
+ ]
217
+ );
218
+
219
+ $this->add_control(
220
+ 'title_desc_heading',
221
+ [
222
+ 'label' => esc_html__( 'Description', 'wpr-addons' ),
223
+ 'type' => Controls_Manager::HEADING,
224
+ 'separator' => 'before',
225
+ 'condition' => [
226
+ 'archive_description' => 'yes',
227
+ ],
228
+ ]
229
+ );
230
+
231
+ $this->add_control(
232
+ 'desc_color',
233
+ [
234
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
235
+ 'type' => Controls_Manager::COLOR,
236
+ 'default' => '#666666',
237
+ 'selectors' => [
238
+ '{{WRAPPER}} .wpr-archive-description' => 'color: {{VALUE}}',
239
+ ],
240
+ 'condition' => [
241
+ 'archive_description' => 'yes',
242
+ ],
243
+ ]
244
+ );
245
+
246
+ $this->add_group_control(
247
+ Group_Control_Typography::get_type(),
248
+ [
249
+ 'name' => 'desc_typography',
250
+ 'scheme' => Typography::TYPOGRAPHY_3,
251
+ 'fields_options' => [
252
+ 'typography' => [
253
+ 'default' => 'custom',
254
+ ],
255
+ 'font_size' => [
256
+ 'default' => [
257
+ 'size' => '14',
258
+ 'unit' => 'px',
259
+ ],
260
+ ],
261
+ ],
262
+ 'selector' => '{{WRAPPER}} .wpr-archive-description',
263
+ 'condition' => [
264
+ 'archive_description' => 'yes',
265
+ ],
266
+ ]
267
+ );
268
+
269
+ $this->add_control(
270
+ 'title_divider_heading',
271
+ [
272
+ 'label' => esc_html__( 'Divider', 'wpr-addons' ),
273
+ 'type' => Controls_Manager::HEADING,
274
+ 'separator' => 'before',
275
+ ]
276
+ );
277
+
278
+ $this->add_responsive_control(
279
+ 'title_divider_show',
280
+ [
281
+ 'label' => esc_html__( 'Show Divider', 'wpr-addons' ),
282
+ 'type' => Controls_Manager::SWITCHER,
283
+ 'default' => 'yes',
284
+ 'return_value' => 'yes',
285
+ ]
286
+ );
287
+
288
+ $this->add_responsive_control(
289
+ 'title_divider_color',
290
+ [
291
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
292
+ 'type' => Controls_Manager::COLOR,
293
+ 'default' => '#e8e8e8',
294
+ 'selectors' => [
295
+ '{{WRAPPER}} .wpr-archive-title:after' => 'background-color: {{VALUE}};',
296
+ ],
297
+ 'condition' => [
298
+ 'title_divider_show' => 'yes',
299
+ ],
300
+ ]
301
+ );
302
+
303
+ $this->add_responsive_control(
304
+ 'title_divider_height',
305
+ [
306
+ 'label' => esc_html__( 'Height', 'wpr-addons' ),
307
+ 'type' => Controls_Manager::SLIDER,
308
+ 'default' => [
309
+ 'size' => 1,
310
+ ],
311
+ 'range' => [
312
+ 'px' => [
313
+ 'min' => 0,
314
+ 'max' => 5,
315
+ ],
316
+ ],
317
+ 'selectors' => [
318
+ '{{WRAPPER}} .wpr-archive-title:after' => 'height: {{SIZE}}px;',
319
+ ],
320
+ 'condition' => [
321
+ 'title_divider_show' => 'yes',
322
+ ],
323
+ ]
324
+ );
325
+
326
+ $this->add_responsive_control(
327
+ 'title_divider_width',
328
+ [
329
+ 'label' => esc_html__( 'Width', 'wpr-addons' ),
330
+ 'type' => Controls_Manager::SLIDER,
331
+ 'size_units' => [ '%', 'px' ],
332
+ 'range' => [
333
+ '%' => [
334
+ 'min' => 0,
335
+ 'max' => 100,
336
+ ],
337
+ 'px' => [
338
+ 'min' => 0,
339
+ 'max' => 300,
340
+ ],
341
+ ],
342
+ 'default' => [
343
+ 'unit' => 'px',
344
+ 'size' => 100,
345
+ ],
346
+ 'selectors' => [
347
+ '{{WRAPPER}} .wpr-archive-title:after' => 'width: {{SIZE}}{{UNIT}};',
348
+ ],
349
+ 'condition' => [
350
+ 'title_divider_show' => 'yes',
351
+ ],
352
+ ]
353
+ );
354
+
355
+ $this->add_responsive_control(
356
+ 'title_divider_distance_top',
357
+ [
358
+ 'label' => esc_html__( 'Top Distance', 'wpr-addons' ),
359
+ 'type' => Controls_Manager::SLIDER,
360
+ 'default' => [
361
+ 'size' => 7,
362
+ ],
363
+ 'range' => [
364
+ 'px' => [
365
+ 'min' => 0,
366
+ 'max' => 25,
367
+ ],
368
+ ],
369
+ 'selectors' => [
370
+ '{{WRAPPER}} .wpr-archive-title:after' => 'margin-top: {{SIZE}}px;',
371
+ ],
372
+ 'condition' => [
373
+ 'title_divider_show' => 'yes',
374
+ ],
375
+ ]
376
+ );
377
+
378
+ $this->add_responsive_control(
379
+ 'title_divider_distance_bot',
380
+ [
381
+ 'label' => esc_html__( 'Bottom Distance', 'wpr-addons' ),
382
+ 'type' => Controls_Manager::SLIDER,
383
+ 'default' => [
384
+ 'size' => 5,
385
+ ],
386
+ 'range' => [
387
+ 'px' => [
388
+ 'min' => 0,
389
+ 'max' => 25,
390
+ ],
391
+ ],
392
+ 'selectors' => [
393
+ '{{WRAPPER}} .wpr-archive-title:after' => 'margin-bottom: {{SIZE}}px;',
394
+ ],
395
+ 'condition' => [
396
+ 'title_divider_show' => 'yes',
397
+ ],
398
+ ]
399
+ );
400
+
401
+ $this->end_controls_section();
402
+
403
+ }
404
+
405
+ protected function render() {
406
+ // Get Settings
407
+ $settings = $this->get_settings();
408
+ $tax = get_queried_object();
409
+
410
+ if ( !is_null($tax) ) {
411
+ $title = isset($tax->post_title) ? $tax->post_title : $tax->name;
412
+ $description = isset($tax->description) ? $tax->description : '';
413
+
414
+ if ( '' !== $title ) {
415
+ echo '<'. $settings['post_title_tag'] .' class="wpr-archive-title">';
416
+ echo '<span>'. $settings['post_title_before_text'] .'</span>' . $title;
417
+ echo '</'. $settings['post_title_tag'] .'>';
418
+ }
419
+
420
+ if ( wpr_fs()->can_use_premium_code() ) {
421
+ if ( '' !== $description && '' !== $settings['archive_description'] ) {
422
+ echo '<p class="wpr-archive-description">'. $description .'</p>';
423
+ }
424
+ }
425
+ } elseif ( is_search() ) {
426
+ echo '<'. $settings['post_title_tag'] .' class="wpr-archive-title">';
427
+ echo '<span>'. $settings['post_title_before_text'] .'</span>' . get_search_query();
428
+ echo '</'. $settings['post_title_tag'] .'>';
429
+ }
430
+
431
+ }
432
+
433
+ }
modules/{author-box → theme-builder/author-box}/module.php RENAMED
@@ -1,7 +1,8 @@
1
  <?php
2
- namespace WprAddons\Modules\AuthorBox;
3
 
4
  use WprAddons\Base\Module_Base;
 
5
 
6
  class Module extends Module_Base {
7
 
1
  <?php
2
+ namespace WprAddons\Modules\ThemeBuilder\AuthorBox;
3
 
4
  use WprAddons\Base\Module_Base;
5
+ use wpraddons\Classes\Utilities;
6
 
7
  class Module extends Module_Base {
8
 
modules/{author-box → theme-builder/author-box}/widgets/wpr-author-box.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- namespace WprAddons\Modules\AuthorBox\Widgets;
3
 
4
  use Elementor\Widget_Base;
5
  use Elementor\Controls_Manager;
@@ -28,13 +28,55 @@ class Wpr_Author_Box extends Widget_Base {
28
  }
29
 
30
  public function get_categories() {
31
- return [ 'wpr-widgets'];
32
  }
33
 
34
  public function get_keywords() {
35
- return [ 'royal', 'qq', 'author box', 'post', 'title' ];//tmp
36
  }
37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  protected function register_controls() {
39
 
40
  // Tab: Content ==============
@@ -141,35 +183,9 @@ class Wpr_Author_Box extends Widget_Base {
141
  ]
142
  );
143
 
144
- $this->add_control(
145
- 'author_name_links_to',
146
- [
147
- 'label' => esc_html__( 'Links To', 'wpr-addons' ),
148
- 'type' => Controls_Manager::SELECT,
149
- 'options' => [
150
- 'none' => esc_html__( 'Nothing', 'wpr-addons' ),
151
- 'website' => esc_html__( 'Website', 'wpr-addons' ),
152
- 'posts' => esc_html__( 'Author Posts', 'wpr-addons' ),
153
- ],
154
- 'default' => 'none',
155
- 'condition' => [
156
- 'author_name' => 'yes',
157
- ]
158
- ]
159
- );
160
 
161
- $this->add_control(
162
- 'author_link_tab',
163
- [
164
- 'label' => esc_html__( 'Open in New Tab', 'wpr-addons' ),
165
- 'type' => Controls_Manager::SWITCHER,
166
- 'return_value' => 'yes',
167
- 'condition' => [
168
- 'author_name' => 'yes',
169
- 'author_name_links_to!' => 'none',
170
- ]
171
- ]
172
- );
173
 
174
  $this->add_control(
175
  'author_title',
@@ -214,46 +230,11 @@ class Wpr_Author_Box extends Widget_Base {
214
  ]
215
  );
216
 
217
- $this->add_control(
218
- 'author_title_links_to',
219
- [
220
- 'label' => esc_html__( 'Links To', 'wpr-addons' ),
221
- 'type' => Controls_Manager::SELECT,
222
- 'options' => [
223
- 'none' => esc_html__( 'Nothing', 'wpr-addons' ),
224
- 'website' => esc_html__( 'Website', 'wpr-addons' ),
225
- 'posts' => esc_html__( 'Author Posts', 'wpr-addons' ),
226
- ],
227
- 'default' => 'none',
228
- 'condition' => [
229
- 'author_title' => 'yes',
230
- ]
231
- ]
232
- );
233
 
234
- $this->add_control(
235
- 'author_title_link_tab',
236
- [
237
- 'label' => esc_html__( 'Open in New Tab', 'wpr-addons' ),
238
- 'type' => Controls_Manager::SWITCHER,
239
- 'return_value' => 'yes',
240
- 'condition' => [
241
- 'author_title' => 'yes',
242
- 'author_title_links_to!' => 'none',
243
- ]
244
- ]
245
- );
246
 
247
- $this->add_control(
248
- 'author_bio',
249
- [
250
- 'label' => esc_html__( 'Show Biography', 'wpr-addons' ),
251
- 'type' => Controls_Manager::SWITCHER,
252
- 'default' => 'yes',
253
- 'return_value' => 'yes',
254
- 'separator' => 'before'
255
- ]
256
- );
257
 
258
  $this->add_control(
259
  'author_posts_link',
@@ -279,6 +260,12 @@ class Wpr_Author_Box extends Widget_Base {
279
 
280
  $this->end_controls_section(); // End Controls Section
281
 
 
 
 
 
 
 
282
  // Styles ====================
283
  // Section: Avatar -----------
284
  $this->start_controls_section(
@@ -312,7 +299,7 @@ class Wpr_Author_Box extends Widget_Base {
312
  'label' => esc_html__( 'Image Size', 'wpr-addons' ),
313
  'type' => Controls_Manager::SLIDER,
314
  'default' => [
315
- 'size' => 48,
316
  ],
317
  'range' => [
318
  'px' => [
@@ -333,7 +320,7 @@ class Wpr_Author_Box extends Widget_Base {
333
  'label' => esc_html__( 'Distance', 'wpr-addons' ),
334
  'type' => Controls_Manager::SLIDER,
335
  'default' => [
336
- 'size' => 20,
337
  ],
338
  'range' => [
339
  'px' => [
@@ -356,7 +343,7 @@ class Wpr_Author_Box extends Widget_Base {
356
  'name' => 'avatar_border',
357
  'fields_options' => [
358
  'border' => [
359
- 'default' => 'solid',
360
  ],
361
  'width' => [
362
  'default' => [
@@ -383,13 +370,13 @@ class Wpr_Author_Box extends Widget_Base {
383
  'type' => Controls_Manager::DIMENSIONS,
384
  'size_units' => [ 'px' ],
385
  'default' => [
386
- 'top' => 0,
387
- 'right' => 0,
388
- 'bottom' => 0,
389
- 'left' => 0,
390
  ],
391
  'selectors' => [
392
- '{{WRAPPER}} .wpr-author-box-image' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
393
  ],
394
  'separator' => 'before',
395
  ]
@@ -422,7 +409,7 @@ class Wpr_Author_Box extends Widget_Base {
422
  [
423
  'label' => esc_html__( 'Color', 'wpr-addons' ),
424
  'type' => Controls_Manager::COLOR,
425
- 'default' => '#333333',
426
  'selectors' => [
427
  '{{WRAPPER}} .wpr-author-box-name' => 'color: {{VALUE}}',
428
  '{{WRAPPER}} .wpr-author-box-name a' => 'color: {{VALUE}}',
@@ -436,7 +423,26 @@ class Wpr_Author_Box extends Widget_Base {
436
  [
437
  'name' => 'name_typography',
438
  'scheme' => Typography::TYPOGRAPHY_3,
439
- 'selector' => '{{WRAPPER}} .wpr-author-box-name'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
440
  ]
441
  );
442
 
@@ -467,7 +473,7 @@ class Wpr_Author_Box extends Widget_Base {
467
  'label' => esc_html__( 'Bottom Distance', 'wpr-addons' ),
468
  'type' => Controls_Manager::SLIDER,
469
  'default' => [
470
- 'size' => 15,
471
  ],
472
  'range' => [
473
  'px' => [
@@ -513,7 +519,21 @@ class Wpr_Author_Box extends Widget_Base {
513
  [
514
  'name' => 'title_typography',
515
  'scheme' => Typography::TYPOGRAPHY_3,
516
- 'selector' => '{{WRAPPER}} .wpr-author-box-title'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
517
  ]
518
  );
519
 
@@ -562,59 +582,7 @@ class Wpr_Author_Box extends Widget_Base {
562
 
563
  // Styles ====================
564
  // Section: Biography --------
565
- $this->start_controls_section(
566
- 'section_style_bio',
567
- [
568
- 'label' => esc_html__( 'Biography', 'wpr-addons' ),
569
- 'tab' => Controls_Manager::TAB_STYLE,
570
- 'show_label' => false,
571
- ]
572
- );
573
-
574
- $this->add_control(
575
- 'bio_color',
576
- [
577
- 'label' => esc_html__( 'Color', 'wpr-addons' ),
578
- 'type' => Controls_Manager::COLOR,
579
- 'default' => '#333333',
580
- 'selectors' => [
581
- '{{WRAPPER}} .wpr-author-box-bio' => 'color: {{VALUE}}',
582
- ],
583
- 'separator' => 'after',
584
- ]
585
- );
586
-
587
- $this->add_group_control(
588
- Group_Control_Typography::get_type(),
589
- [
590
- 'name' => 'bio_typography',
591
- 'scheme' => Typography::TYPOGRAPHY_3,
592
- 'selector' => '{{WRAPPER}} .wpr-author-box-bio'
593
- ]
594
- );
595
-
596
- $this->add_responsive_control(
597
- 'bio_distance',
598
- [
599
- 'label' => esc_html__( 'Distance', 'wpr-addons' ),
600
- 'type' => Controls_Manager::SLIDER,
601
- 'default' => [
602
- 'size' => 15,
603
- ],
604
- 'range' => [
605
- 'px' => [
606
- 'min' => 0,
607
- 'max' => 100,
608
- ],
609
- ],
610
- 'selectors' => [
611
- '{{WRAPPER}} .wpr-author-box-bio' => 'margin-bottom: {{SIZE}}px',
612
- ],
613
- 'separator' => 'before',
614
- ]
615
- );
616
-
617
- $this->end_controls_section(); // End Controls Section
618
 
619
  // Styles ====================
620
  // Section: Author Posts Link
@@ -641,7 +609,7 @@ class Wpr_Author_Box extends Widget_Base {
641
  [
642
  'label' => esc_html__( 'Color', 'wpr-addons' ),
643
  'type' => Controls_Manager::COLOR,
644
- 'default' => '#333333',
645
  'selectors' => [
646
  '{{WRAPPER}} .wpr-author-box-btn' => 'color: {{VALUE}}',
647
  ],
@@ -653,6 +621,7 @@ class Wpr_Author_Box extends Widget_Base {
653
  [
654
  'label' => esc_html__( 'Background Color', 'wpr-addons' ),
655
  'type' => Controls_Manager::COLOR,
 
656
  'selectors' => [
657
  '{{WRAPPER}} .wpr-author-box-btn' => 'background-color: {{VALUE}}',
658
  ]
@@ -667,7 +636,30 @@ class Wpr_Author_Box extends Widget_Base {
667
  'selectors' => [
668
  '{{WRAPPER}} .wpr-author-box-btn' => 'border-color: {{VALUE}}',
669
  ],
670
- 'separator' => 'after',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
671
  ]
672
  );
673
 
@@ -685,7 +677,7 @@ class Wpr_Author_Box extends Widget_Base {
685
  [
686
  'label' => esc_html__( 'Color', 'wpr-addons' ),
687
  'type' => Controls_Manager::COLOR,
688
- 'default' => '#54595f',
689
  'selectors' => [
690
  '{{WRAPPER}} .wpr-author-box-btn:hover' => 'color: {{VALUE}}',
691
  '{{WRAPPER}} .wpr-author-box-btn:hover a' => 'color: {{VALUE}}',
@@ -712,7 +704,6 @@ class Wpr_Author_Box extends Widget_Base {
712
  'selectors' => [
713
  '{{WRAPPER}} .wpr-author-box-btn:hover' => 'border-color: {{VALUE}}',
714
  ],
715
- 'separator' => 'after',
716
  ]
717
  );
718
 
@@ -720,28 +711,22 @@ class Wpr_Author_Box extends Widget_Base {
720
 
721
  $this->end_controls_tabs();
722
 
723
- $this->add_control(
724
- 'archive_link_transition_duration',
725
  [
726
- 'label' => esc_html__( 'Transition Duration', 'wpr-addons' ),
727
- 'type' => Controls_Manager::NUMBER,
728
- 'default' => 0.1,
729
- 'min' => 0,
730
- 'max' => 5,
731
- 'step' => 0.1,
 
 
 
732
  'selectors' => [
733
- '{{WRAPPER}} .wpr-author-box-btn' => 'transition-duration: {{VALUE}}s',
734
  ],
735
- 'separator' => 'after',
736
- ]
737
- );
738
-
739
- $this->add_group_control(
740
- Group_Control_Typography::get_type(),
741
- [
742
- 'name' => 'archive_link_typography',
743
- 'scheme' => Typography::TYPOGRAPHY_3,
744
- 'selector' => '{{WRAPPER}} .wpr-author-box-btn'
745
  ]
746
  );
747
 
@@ -787,24 +772,6 @@ class Wpr_Author_Box extends Widget_Base {
787
  ]
788
  );
789
 
790
- $this->add_responsive_control(
791
- 'archive_link_padding',
792
- [
793
- 'label' => esc_html__( 'Padding', 'wpr-addons' ),
794
- 'type' => Controls_Manager::DIMENSIONS,
795
- 'size_units' => [ 'px' ],
796
- 'default' => [
797
- 'top' => 0,
798
- 'right' => 0,
799
- 'bottom' => 0,
800
- 'left' => 0,
801
- ],
802
- 'selectors' => [
803
- '{{WRAPPER}} .wpr-author-box-btn' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
804
- ],
805
- ]
806
- );
807
-
808
  $this->add_control(
809
  'archive_link_radius',
810
  [
@@ -812,15 +779,14 @@ class Wpr_Author_Box extends Widget_Base {
812
  'type' => Controls_Manager::DIMENSIONS,
813
  'size_units' => [ 'px', '%' ],
814
  'default' => [
815
- 'top' => 2,
816
- 'right' => 2,
817
- 'bottom' => 2,
818
- 'left' => 2,
819
  ],
820
  'selectors' => [
821
  '{{WRAPPER}} .wpr-author-box-btn' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
822
  ],
823
- 'separator' => 'before',
824
  ]
825
  );
826
 
@@ -832,6 +798,12 @@ class Wpr_Author_Box extends Widget_Base {
832
  // Get Settings
833
  $settings = $this->get_settings();
834
 
 
 
 
 
 
 
835
  // Get Author Info
836
  $id = get_the_author_meta( 'ID' );
837
  $avatar = get_avatar( $id, 264 );
@@ -840,13 +812,12 @@ class Wpr_Author_Box extends Widget_Base {
840
  $biography = get_the_author_meta( 'description' );
841
  $website = get_the_author_meta( 'user_url' );
842
  $archive_url = get_author_posts_url( $id );
843
- $author_link = 'website' === $settings['author_name_links_to'] ? $website : $archive_url;
844
- $link_target = 'yes' === $settings['author_link_tab'] ? '_blank' : '_self';
845
- $has_website = false;
846
-
847
- if ( 'website' === $settings['author_name_links_to'] && '' !== $website ) {
848
- $has_website = true;
849
- }
850
 
851
  // HTML
852
  echo '<div class="wpr-author-box">';
@@ -854,8 +825,8 @@ class Wpr_Author_Box extends Widget_Base {
854
  // Avatar
855
  if ( '' !== $settings['author_avatar'] && false !== $avatar ) {
856
  echo '<div class="wpr-author-box-image">';
857
- if ( 'posts' === $settings['author_name_links_to'] || $has_website ) {
858
- echo '<a href="'. esc_url( $author_link ) .'" target="'. esc_attr($link_target) .'">'. $avatar .'</a>';
859
  } else {
860
  echo $avatar;
861
  }
@@ -868,8 +839,8 @@ class Wpr_Author_Box extends Widget_Base {
868
  // Author Name
869
  if ( '' !== $settings['author_name'] && '' !== $name ) {
870
  echo '<'. $settings['author_name_tag'] .' class="wpr-author-box-name">';
871
- if ( 'posts' === $settings['author_name_links_to'] || $has_website ) {
872
- echo '<a href="'. esc_url( $author_link ) .'" target="'. esc_attr($link_target) .'">'. $name .'</a>';
873
  } else {
874
  echo $name;
875
  }
@@ -877,10 +848,10 @@ class Wpr_Author_Box extends Widget_Base {
877
  }
878
 
879
  // Author Title
880
- if ( '' !== $settings['author_name'] && '' !== $title ) {
881
  echo '<'. $settings['author_title_tag'] .' class="wpr-author-box-title">';
882
- if ( 'posts' === $settings['author_title_links_to'] || $has_website ) {
883
- echo '<a href="'. esc_url( $author_link ) .'" target="'. esc_attr($link_target) .'">'. $title .'</a>';
884
  } else {
885
  echo $title;
886
  }
1
  <?php
2
+ namespace WprAddons\Modules\ThemeBuilder\AuthorBox\Widgets;
3
 
4
  use Elementor\Widget_Base;
5
  use Elementor\Controls_Manager;
28
  }
29
 
30
  public function get_categories() {
31
+ return Utilities::show_theme_buider_widget_on('single') || Utilities::show_theme_buider_widget_on('archive') ? [ 'wpr-theme-builder-widgets' ] : [];
32
  }
33
 
34
  public function get_keywords() {
35
+ return [ 'author', 'box', 'post', ];
36
  }
37
 
38
+ public function add_controls_group_author_name_links_to() {
39
+ $this->add_control(
40
+ 'author_name_links_to',
41
+ [
42
+ 'label' => esc_html__( 'Links To', 'wpr-addons' ),
43
+ 'type' => Controls_Manager::SELECT,
44
+ 'options' => [
45
+ 'none' => esc_html__( 'Nothing', 'wpr-addons' ),
46
+ 'posts' => esc_html__( 'Author Posts', 'wpr-addons' ),
47
+ 'pro-ws' => esc_html__( 'Website (Pro)', 'wpr-addons' ),
48
+ ],
49
+ 'default' => 'none',
50
+ 'condition' => [
51
+ 'author_name' => 'yes',
52
+ ]
53
+ ]
54
+ );
55
+ }
56
+
57
+ public function add_controls_group_author_title_links_to() {
58
+ $this->add_control(
59
+ 'author_title_links_to',
60
+ [
61
+ 'label' => esc_html__( 'Links To', 'wpr-addons' ),
62
+ 'type' => Controls_Manager::SELECT,
63
+ 'options' => [
64
+ 'none' => esc_html__( 'Nothing', 'wpr-addons' ),
65
+ 'posts' => esc_html__( 'Author Posts', 'wpr-addons' ),
66
+ 'pro-ws' => esc_html__( 'Website (Pro)', 'wpr-addons' ),
67
+ ],
68
+ 'default' => 'none',
69
+ 'condition' => [
70
+ 'author_title' => 'yes',
71
+ ]
72
+ ]
73
+ );
74
+ }
75
+
76
+ public function add_control_author_bio() {}
77
+
78
+ public function add_section_style_bio() {}
79
+
80
  protected function register_controls() {
81
 
82
  // Tab: Content ==============
183
  ]
184
  );
185
 
186
+ $this->add_controls_group_author_name_links_to();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
 
188
+ Utilities::upgrade_pro_notice( $this, Controls_Manager::RAW_HTML, 'author-box', 'author_name_links_to', ['pro-ws'] );
 
 
 
 
 
 
 
 
 
 
 
189
 
190
  $this->add_control(
191
  'author_title',
230
  ]
231
  );
232
 
233
+ $this->add_controls_group_author_title_links_to();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
234
 
235
+ Utilities::upgrade_pro_notice( $this, Controls_Manager::RAW_HTML, 'author-box', 'author_title_links_to', ['pro-ws'] );
 
 
 
 
 
 
 
 
 
 
 
236
 
237
+ $this->add_control_author_bio();
 
 
 
 
 
 
 
 
 
238
 
239
  $this->add_control(
240
  'author_posts_link',
260
 
261
  $this->end_controls_section(); // End Controls Section
262
 
263
+ // Section: Pro Features
264
+ Utilities::pro_features_list_section( $this, Controls_Manager::RAW_HTML, 'author-box', [
265
+ 'Link to Author Website.',
266
+ 'Show/Hide Author Biography (description).'
267
+ ] );
268
+
269
  // Styles ====================
270
  // Section: Avatar -----------
271
  $this->start_controls_section(
299
  'label' => esc_html__( 'Image Size', 'wpr-addons' ),
300
  'type' => Controls_Manager::SLIDER,
301
  'default' => [
302
+ 'size' => 65,
303
  ],
304
  'range' => [
305
  'px' => [
320
  'label' => esc_html__( 'Distance', 'wpr-addons' ),
321
  'type' => Controls_Manager::SLIDER,
322
  'default' => [
323
+ 'size' => 0,
324
  ],
325
  'range' => [
326
  'px' => [
343
  'name' => 'avatar_border',
344
  'fields_options' => [
345
  'border' => [
346
+ 'default' => '',
347
  ],
348
  'width' => [
349
  'default' => [
370
  'type' => Controls_Manager::DIMENSIONS,
371
  'size_units' => [ 'px' ],
372
  'default' => [
373
+ 'top' => 50,
374
+ 'right' => 50,
375
+ 'bottom' => 50,
376
+ 'left' => 50,
377
  ],
378
  'selectors' => [
379
+ '{{WRAPPER}} .wpr-author-box-image img' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
380
  ],
381
  'separator' => 'before',
382
  ]
409
  [
410
  'label' => esc_html__( 'Color', 'wpr-addons' ),
411
  'type' => Controls_Manager::COLOR,
412
+ 'default' => '#605BE5',
413
  'selectors' => [
414
  '{{WRAPPER}} .wpr-author-box-name' => 'color: {{VALUE}}',
415
  '{{WRAPPER}} .wpr-author-box-name a' => 'color: {{VALUE}}',
423
  [
424
  'name' => 'name_typography',
425
  'scheme' => Typography::TYPOGRAPHY_3,
426
+ 'selector' => '{{WRAPPER}} .wpr-author-box-name',
427
+ 'fields_options' => [
428
+ 'typography' => [
429
+ 'default' => 'custom',
430
+ ],
431
+ 'font_weight' => [
432
+ 'default' => '500',
433
+ ],
434
+ 'font_size' => [
435
+ 'default' => [
436
+ 'size' => '18',
437
+ 'unit' => 'px',
438
+ ],
439
+ ],
440
+ 'letter_spacing' => [
441
+ 'default' => [
442
+ 'size' => '0.2'
443
+ ]
444
+ ],
445
+ ]
446
  ]
447
  );
448
 
473
  'label' => esc_html__( 'Bottom Distance', 'wpr-addons' ),
474
  'type' => Controls_Manager::SLIDER,
475
  'default' => [
476
+ 'size' => 10,
477
  ],
478
  'range' => [
479
  'px' => [
519
  [
520
  'name' => 'title_typography',
521
  'scheme' => Typography::TYPOGRAPHY_3,
522
+ 'selector' => '{{WRAPPER}} .wpr-author-box-title',
523
+ 'fields_options' => [
524
+ 'typography' => [
525
+ 'default' => 'custom',
526
+ ],
527
+ 'font_weight' => [
528
+ 'default' => '500',
529
+ ],
530
+ 'font_size' => [
531
+ 'default' => [
532
+ 'size' => '15',
533
+ 'unit' => 'px',
534
+ ],
535
+ ],
536
+ ]
537
  ]
538
  );
539
 
582
 
583
  // Styles ====================
584
  // Section: Biography --------
585
+ $this->add_section_style_bio();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
586
 
587
  // Styles ====================
588
  // Section: Author Posts Link
609
  [
610
  'label' => esc_html__( 'Color', 'wpr-addons' ),
611
  'type' => Controls_Manager::COLOR,
612
+ 'default' => '#ffffff',
613
  'selectors' => [
614
  '{{WRAPPER}} .wpr-author-box-btn' => 'color: {{VALUE}}',
615
  ],
621
  [
622
  'label' => esc_html__( 'Background Color', 'wpr-addons' ),
623
  'type' => Controls_Manager::COLOR,
624
+ 'default' => '#605BE5',
625
  'selectors' => [
626
  '{{WRAPPER}} .wpr-author-box-btn' => 'background-color: {{VALUE}}',
627
  ]
636
  'selectors' => [
637
  '{{WRAPPER}} .wpr-author-box-btn' => 'border-color: {{VALUE}}',
638
  ],
639
+ ]
640
+ );
641
+
642
+ $this->add_group_control(
643
+ Group_Control_Typography::get_type(),
644
+ [
645
+ 'name' => 'archive_link_typography',
646
+ 'scheme' => Typography::TYPOGRAPHY_3,
647
+ 'selector' => '{{WRAPPER}} .wpr-author-box-btn'
648
+ ]
649
+ );
650
+
651
+ $this->add_control(
652
+ 'archive_link_transition_duration',
653
+ [
654
+ 'label' => esc_html__( 'Transition Duration', 'wpr-addons' ),
655
+ 'type' => Controls_Manager::NUMBER,
656
+ 'default' => 0.1,
657
+ 'min' => 0,
658
+ 'max' => 5,
659
+ 'step' => 0.1,
660
+ 'selectors' => [
661
+ '{{WRAPPER}} .wpr-author-box-btn' => 'transition-duration: {{VALUE}}s',
662
+ ],
663
  ]
664
  );
665
 
677
  [
678
  'label' => esc_html__( 'Color', 'wpr-addons' ),
679
  'type' => Controls_Manager::COLOR,
680
+ 'default' => '#ffffff',
681
  'selectors' => [
682
  '{{WRAPPER}} .wpr-author-box-btn:hover' => 'color: {{VALUE}}',
683
  '{{WRAPPER}} .wpr-author-box-btn:hover a' => 'color: {{VALUE}}',
704
  'selectors' => [
705
  '{{WRAPPER}} .wpr-author-box-btn:hover' => 'border-color: {{VALUE}}',
706
  ],
 
707
  ]
708
  );
709
 
711
 
712
  $this->end_controls_tabs();
713
 
714
+ $this->add_responsive_control(
715
+ 'archive_link_padding',
716
  [
717
+ 'label' => esc_html__( 'Padding', 'wpr-addons' ),
718
+ 'type' => Controls_Manager::DIMENSIONS,
719
+ 'size_units' => [ 'px' ],
720
+ 'default' => [
721
+ 'top' => 5,
722
+ 'right' => 15,
723
+ 'bottom' => 5,
724
+ 'left' => 15,
725
+ ],
726
  'selectors' => [
727
+ '{{WRAPPER}} .wpr-author-box-btn' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
728
  ],
729
+ 'separator' => 'before',
 
 
 
 
 
 
 
 
 
730
  ]
731
  );
732
 
772
  ]
773
  );
774
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
775
  $this->add_control(
776
  'archive_link_radius',
777
  [
779
  'type' => Controls_Manager::DIMENSIONS,
780
  'size_units' => [ 'px', '%' ],
781
  'default' => [
782
+ 'top' => 3,
783
+ 'right' => 3,
784
+ 'bottom' => 3,
785
+ 'left' => 3,
786
  ],
787
  'selectors' => [
788
  '{{WRAPPER}} .wpr-author-box-btn' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
789
  ],
 
790
  ]
791
  );
792
 
798
  // Get Settings
799
  $settings = $this->get_settings();
800
 
801
+ if ( !wpr_fs()->can_use_premium_code() ) {
802
+ $settings['author_bio'] = '';
803
+ $settings['author_name_link_tab'] = '';
804
+ $settings['author_title_link_tab'] = '';
805
+ }
806
+
807
  // Get Author Info
808
  $id = get_the_author_meta( 'ID' );
809
  $avatar = get_avatar( $id, 264 );
812
  $biography = get_the_author_meta( 'description' );
813
  $website = get_the_author_meta( 'user_url' );
814
  $archive_url = get_author_posts_url( $id );
815
+ $author_name_link = 'website' === $settings['author_name_links_to'] ? $website : $archive_url;
816
+ $author_name_target = 'yes' === $settings['author_name_link_tab'] ? '_blank' : '_self';
817
+ $author_name_has_website = 'website' === $settings['author_name_links_to'] && '' !== $website ? true : false;
818
+ $author_title_link = 'website' === $settings['author_title_links_to'] ? $website : $archive_url;
819
+ $author_title_target = 'yes' === $settings['author_title_link_tab'] ? '_blank' : '_self';
820
+ $author_title_has_website = 'website' === $settings['author_title_links_to'] && '' !== $website ? true : false;
 
821
 
822
  // HTML
823
  echo '<div class="wpr-author-box">';
825
  // Avatar
826
  if ( '' !== $settings['author_avatar'] && false !== $avatar ) {
827
  echo '<div class="wpr-author-box-image">';
828
+ if ( 'posts' === $settings['author_name_links_to'] || $author_name_has_website ) {
829
+ echo '<a href="'. esc_url( $author_name_link ) .'" target="'. esc_attr($author_name_target) .'">'. $avatar .'</a>';
830
  } else {
831
  echo $avatar;
832
  }
839
  // Author Name
840
  if ( '' !== $settings['author_name'] && '' !== $name ) {
841
  echo '<'. $settings['author_name_tag'] .' class="wpr-author-box-name">';
842
+ if ( 'posts' === $settings['author_name_links_to'] || $author_name_has_website ) {
843
+ echo '<a href="'. esc_url( $author_name_link ) .'" target="'. esc_attr($author_name_target) .'">'. $name .'</a>';
844
  } else {
845
  echo $name;
846
  }
848
  }
849
 
850
  // Author Title
851
+ if ( '' !== $title && 'yes' === $settings['author_title'] ) {
852
  echo '<'. $settings['author_title_tag'] .' class="wpr-author-box-title">';
853
+ if ( 'posts' === $settings['author_title_links_to'] || $author_title_has_website ) {
854
+ echo '<a href="'. esc_url( $author_title_link ) .'" target="'. esc_attr($author_title_target) .'">'. $title .'</a>';
855
  } else {
856
  echo $title;
857
  }
modules/theme-builder/post-comments/module.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Modules\ThemeBuilder\PostComments;
3
+
4
+ use WprAddons\Base\Module_Base;
5
+ use WprAddons\Classes\Utilities;
6
+
7
+ class Module extends Module_Base {
8
+
9
+ public function __construct() {
10
+ parent::__construct();
11
+
12
+ // This is here for extensibility purposes - go to town and make things happen!
13
+ }
14
+
15
+ public function get_name() {
16
+ return 'wpr-post-comments';
17
+ }
18
+
19
+ public function get_widgets() {
20
+ return [
21
+ 'Wpr_Post_Comments', // This should match the widget/element class.
22
+ ];
23
+ }
24
+
25
+ }
modules/theme-builder/post-comments/widgets/wpr-post-comments.php ADDED
@@ -0,0 +1,2452 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Modules\ThemeBuilder\PostComments\Widgets;
3
+
4
+ use Elementor\Widget_Base;
5
+ use Elementor\Controls_Manager;
6
+ use Elementor\Core\Responsive\Responsive;
7
+ use Elementor\Group_Control_Typography;
8
+ use Elementor\Core\Schemes\Typography;
9
+ use Elementor\Core\Schemes\Color;
10
+ use Elementor\Group_Control_Box_Shadow;
11
+ use Elementor\Group_Control_Border;
12
+ use WprAddons\Classes\Utilities;
13
+
14
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
15
+
16
+ class Wpr_Post_Comments extends Widget_Base {
17
+
18
+ public function get_name() {
19
+ return 'wpr-post-comments';
20
+ }
21
+
22
+ public function get_title() {
23
+ return esc_html__( 'Post Comments', 'wpr-addons' );
24
+ }
25
+
26
+ public function get_icon() {
27
+ return 'wpr-icon eicon-comments';
28
+ }
29
+
30
+ public function get_categories() {
31
+ return Utilities::show_theme_buider_widget_on('single') ? [ 'wpr-theme-builder-widgets' ] : [];
32
+ }
33
+
34
+ public function get_keywords() {
35
+ return [ 'comments', 'post' ];
36
+ }
37
+
38
+ public function add_control_comments_avatar_size() {}
39
+
40
+ public function add_control_avatar_gutter() {
41
+ $this->add_responsive_control(
42
+ 'avatar_gutter',
43
+ [
44
+ 'label' => esc_html__( 'Distance', 'wpr-addons' ),
45
+ 'type' => Controls_Manager::SLIDER,
46
+ 'size_units' => ['px'],
47
+ 'range' => [
48
+ 'px' => [
49
+ 'min' => 0,
50
+ 'max' => 50,
51
+ ],
52
+ ],
53
+ 'default' => [
54
+ 'unit' => 'px',
55
+ 'size' => 20,
56
+ ],
57
+ 'selectors' => [
58
+ '{{WRAPPER}} .wpr-comment-meta, .wpr-comment-content' => 'margin-left: calc(60px + {{SIZE}}{{UNIT}});',
59
+ '{{WRAPPER}}.wpr-comment-reply-separate .wpr-comment-reply' => 'margin-left: calc(60px + {{SIZE}}{{UNIT}});',
60
+ ],
61
+ 'separator' => 'after',
62
+ ]
63
+ );
64
+ }
65
+
66
+ public function add_control_comments_form_layout() {
67
+ $this->add_control(
68
+ 'comments_form_layout',
69
+ [
70
+ 'label' => esc_html__( 'Select Layout', 'wpr-addons' ),
71
+ 'type' => Controls_Manager::SELECT,
72
+ 'default' => 'style-5',
73
+ 'options' => [
74
+ 'pro-s1' => esc_html__( 'Style 1 (Pro)', 'wpr-addons' ),
75
+ 'style-2' => esc_html__( 'Style 2', 'wpr-addons' ),
76
+ 'pro-s3' => esc_html__( 'Style 3 (Pro)', 'wpr-addons' ),
77
+ 'pro-s4' => esc_html__( 'Style 4 (Pro)', 'wpr-addons' ),
78
+ 'style-5' => esc_html__( 'Style 5', 'wpr-addons' ),
79
+ 'pro-s6' => esc_html__( 'Style 6 (Pro)', 'wpr-addons' ),
80
+ ],
81
+ 'separator' => 'before'
82
+ ]
83
+ );
84
+ }
85
+
86
+ public function add_control_comment_form_placeholders() {}
87
+
88
+ protected function register_controls() {
89
+
90
+ // Tab: Content ==============
91
+ // Section: General ----------
92
+ $this->start_controls_section(
93
+ 'section_comments_general',
94
+ [
95
+ 'label' => esc_html__( 'General', 'wpr-addons' ),
96
+ 'tab' => Controls_Manager::TAB_CONTENT,
97
+ ]
98
+ );
99
+
100
+ $this->add_control(
101
+ 'section_title',
102
+ [
103
+ 'label' => esc_html__( 'Show Section Title', 'wpr-addons' ),
104
+ 'type' => Controls_Manager::SWITCHER,
105
+ 'default' => 'yes',
106
+ ]
107
+ );
108
+
109
+ $this->add_control(
110
+ 'comments_text_1',
111
+ [
112
+ 'label' => esc_html__( 'One Comment', 'wpr-addons' ),
113
+ 'type' => Controls_Manager::TEXT,
114
+ 'default' => 'Comment',
115
+ 'condition' => [
116
+ 'section_title' => 'yes'
117
+ ]
118
+ ]
119
+ );
120
+
121
+ $this->add_control(
122
+ 'comments_text_2',
123
+ [
124
+ 'label' => esc_html__( 'Multiple Comments', 'wpr-addons' ),
125
+ 'type' => Controls_Manager::TEXT,
126
+ 'default' => 'Comments',
127
+ 'condition' => [
128
+ 'section_title' => 'yes'
129
+ ]
130
+ ]
131
+ );
132
+
133
+ $this->add_control(
134
+ 'comments_avatar',
135
+ [
136
+ 'label' => esc_html__( 'Show Avatar', 'wpr-addons' ),
137
+ 'type' => Controls_Manager::SWITCHER,
138
+ 'default' => 'yes',
139
+ 'separator' => 'before',
140
+ ]
141
+ );
142
+
143
+ $this->add_control_comments_avatar_size();
144
+
145
+ $this->add_control(
146
+ 'comments_reply_location',
147
+ [
148
+ 'label' => esc_html__( 'Reply Location', 'wpr-addons' ),
149
+ 'type' => Controls_Manager::SELECT,
150
+ 'default' => 'separate',
151
+ 'options' => [
152
+ 'inline' => esc_html__( 'Inline', 'wpr-addons' ),
153
+ 'separate' => esc_html__( 'Separate', 'wpr-addons' ),
154
+ ],
155
+ 'prefix_class' => 'wpr-comment-reply-',
156
+ 'render_type' => 'template',
157
+ 'separator' => 'before'
158
+ ]
159
+ );
160
+
161
+ $this->add_control(
162
+ 'comments_navigation_align',
163
+ [
164
+ 'label' => __( 'Navigation Align', 'wpr-addons' ),
165
+ 'type' => Controls_Manager::CHOOSE,
166
+ 'label_block' => false,
167
+ 'options' => [
168
+ 'left' => [
169
+ 'title' => __( 'Left', 'wpr-addons' ),
170
+ 'icon' => 'eicon-text-align-left',
171
+ ],
172
+ 'center' => [
173
+ 'title' => __( 'Center', 'wpr-addons' ),
174
+ 'icon' => 'eicon-text-align-center',
175
+ ],
176
+ 'right' => [
177
+ 'title' => __( 'Right', 'wpr-addons' ),
178
+ 'icon' => 'eicon-text-align-right',
179
+ ],
180
+ 'justify' => [
181
+ 'title' => __( 'Justified', 'wpr-addons' ),
182
+ 'icon' => 'eicon-text-align-justify',
183
+ ],
184
+ ],
185
+ 'default' => 'center',
186
+ 'separator' => 'before',
187
+ ]
188
+ );
189
+
190
+ $this->add_control(
191
+ 'comments_navigation_arrows',
192
+ [
193
+ 'label' => esc_html__( 'Show Arrows', 'wpr-addons' ),
194
+ 'type' => Controls_Manager::SWITCHER,
195
+ 'default' => '',
196
+ 'selectors_dictionary' => [
197
+ '' => 'display: none;',
198
+ 'yes' => ''
199
+ ],
200
+ 'selectors' => [
201
+ '{{WRAPPER}} .wpr-comments-navigation a.prev' => '{{VALUE}}',
202
+ '{{WRAPPER}} .wpr-comments-navigation a.next' => '{{VALUE}}',
203
+ ],
204
+ ]
205
+ );
206
+
207
+ $this->add_control(
208
+ 'comments_navigation_numbers',
209
+ [
210
+ 'label' => esc_html__( 'Show Numbers', 'wpr-addons' ),
211
+ 'type' => Controls_Manager::SWITCHER,
212
+ 'default' => '',
213
+ 'selectors_dictionary' => [
214
+ '' => 'display: none;',
215
+ 'yes' => ''
216
+ ],
217
+ 'selectors' => [
218
+ '{{WRAPPER}} .wpr-comments-navigation .page-numbers:not(.prev):not(.next)' => '{{VALUE}}',
219
+ ],
220
+ ]
221
+ );
222
+
223
+ $this->end_controls_section();
224
+
225
+ // Tab: Content ==============
226
+ // Section: Comment Form -----
227
+ $this->start_controls_section(
228
+ 'section_comment_form',
229
+ [
230
+ 'label' => esc_html__( 'Comment Form', 'wpr-addons' ),
231
+ 'tab' => Controls_Manager::TAB_CONTENT,
232
+ ]
233
+ );
234
+
235
+ $this->add_control(
236
+ 'comment_form_title',
237
+ [
238
+ 'label' => esc_html__( 'Section Title', 'wpr-addons' ),
239
+ 'type' => Controls_Manager::TEXT,
240
+ 'default' => 'Leave a Reply',
241
+ 'condition' => [
242
+ 'section_title' => 'yes'
243
+ ]
244
+ ]
245
+ );
246
+
247
+ $this->add_control_comments_form_layout();
248
+
249
+ Utilities::upgrade_pro_notice( $this, Controls_Manager::RAW_HTML, 'post-comments', 'comments_form_layout', ['pro-s1','pro-s3','pro-s4','pro-s6'] );
250
+
251
+ $this->add_control(
252
+ 'comment_form_labels',
253
+ [
254
+ 'label' => esc_html__( 'Show Labels', 'wpr-addons' ),
255
+ 'type' => Controls_Manager::SWITCHER,
256
+ 'default' => 'yes',
257
+ 'separator' => 'before',
258
+ ]
259
+ );
260
+
261
+
262
+
263
+ $this->add_control_comment_form_placeholders();
264
+
265
+ $this->add_control(
266
+ 'comment_form_website',
267
+ [
268
+ 'label' => esc_html__( 'Show Website Field', 'wpr-addons' ),
269
+ 'type' => Controls_Manager::SWITCHER,
270
+ 'default' => 'yes',
271
+ 'separator' => 'before',
272
+ ]
273
+ );
274
+
275
+ $this->add_control(
276
+ 'comment_form_submit_text',
277
+ [
278
+ 'label' => esc_html__( 'Submit Button Text', 'wpr-addons' ),
279
+ 'type' => Controls_Manager::TEXT,
280
+ 'default' => 'Submit',
281
+ 'separator' => 'before',
282
+ ]
283
+ );
284
+
285
+ $this->end_controls_section();
286
+
287
+ // Section: Pro Features
288
+ Utilities::pro_features_list_section( $this, Controls_Manager::RAW_HTML, 'post-comments', [
289
+ '6 different Comment Form Layouts.',
290
+ 'Custom comment author Avatar Size.',
291
+ 'Comment Form - Show/Hide Input Placeholder Text (Set Placeholder Text instead of Input Labels).'
292
+ ] );
293
+
294
+ // Styles ====================
295
+ // Section: Section Title ----
296
+ $this->start_controls_section(
297
+ 'section_style_section_title',
298
+ [
299
+ 'label' => esc_html__( 'Section Title', 'wpr-addons' ),
300
+ 'tab' => Controls_Manager::TAB_STYLE,
301
+ 'show_label' => false,
302
+ 'condition' => [
303
+ 'section_title' => 'yes',
304
+ ],
305
+ ]
306
+ );
307
+
308
+ $this->add_responsive_control(
309
+ 'section_title_align',
310
+ [
311
+ 'label' => esc_html__( 'Align', 'wpr-addons' ),
312
+ 'type' => Controls_Manager::CHOOSE,
313
+ 'label_block' => false,
314
+ 'default' => 'center',
315
+ 'options' => [
316
+ 'left' => [
317
+ 'title' => esc_html__( 'Left', 'wpr-addons' ),
318
+ 'icon' => 'eicon-h-align-left',
319
+ ],
320
+ 'center' => [
321
+ 'title' => esc_html__( 'Center', 'wpr-addons' ),
322
+ 'icon' => 'eicon-h-align-center',
323
+ ],
324
+ 'right' => [
325
+ 'title' => esc_html__( 'Right', 'wpr-addons' ),
326
+ 'icon' => 'eicon-h-align-right',
327
+ ]
328
+ ],
329
+ 'selectors' => [
330
+ '{{WRAPPER}} .wpr-comments-wrap > h3' => 'text-align: {{VALUE}}',
331
+ ],
332
+ 'separator' => 'after'
333
+ ]
334
+ );
335
+
336
+ $this->add_control(
337
+ 'section_title_color',
338
+ [
339
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
340
+ 'type' => Controls_Manager::COLOR,
341
+ 'default' => '#222222',
342
+ 'selectors' => [
343
+ '{{WRAPPER}} .wpr-comments-wrap > h3' => 'color: {{VALUE}};',
344
+ ],
345
+ ]
346
+ );
347
+
348
+ $this->add_control(
349
+ 'section_title_bd_color',
350
+ [
351
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
352
+ 'type' => Controls_Manager::COLOR,
353
+ 'default' => '#e8e8e8',
354
+ 'selectors' => [
355
+ '{{WRAPPER}} .wpr-comments-wrap > h3' => 'border-color: {{VALUE}};',
356
+ ],
357
+ ]
358
+ );
359
+
360
+ $this->add_group_control(
361
+ Group_Control_Typography::get_type(),
362
+ [
363
+ 'name' => 'section_title_typography',
364
+ 'scheme' => Typography::TYPOGRAPHY_3,
365
+ 'selector' => '{{WRAPPER}} .wpr-comments-wrap > h3',
366
+ 'fields_options' => [
367
+ 'typography' => [
368
+ 'default' => 'custom',
369
+ ],
370
+ 'font_size' => [
371
+ 'default' => [
372
+ 'size' => '17',
373
+ 'unit' => 'px',
374
+ ],
375
+ ],
376
+ 'letter_spacing' => [
377
+ 'default' => [
378
+ 'size' => '0.5'
379
+ ]
380
+ ],
381
+ ]
382
+ ]
383
+ );
384
+
385
+ $this->add_control(
386
+ 'section_title_bd_type',
387
+ [
388
+ 'label' => esc_html__( 'Border Style', 'wpr-addons' ),
389
+ 'type' => Controls_Manager::SELECT,
390
+ 'options' => [
391
+ 'none' => esc_html__( 'None', 'wpr-addons' ),
392
+ 'solid' => esc_html__( 'Solid', 'wpr-addons' ),
393
+ 'double' => esc_html__( 'Double', 'wpr-addons' ),
394
+ 'dotted' => esc_html__( 'Dotted', 'wpr-addons' ),
395
+ 'dashed' => esc_html__( 'Dashed', 'wpr-addons' ),
396
+ 'groove' => esc_html__( 'Groove', 'wpr-addons' ),
397
+ ],
398
+ 'default' => 'none',
399
+ 'selectors' => [
400
+ '{{WRAPPER}} .wpr-comments-wrap > h3' => 'border-style: {{VALUE}};',
401
+ ],
402
+ 'separator' => 'before'
403
+ ]
404
+ );
405
+
406
+ $this->add_control(
407
+ 'section_title_bd_width',
408
+ [
409
+ 'label' => esc_html__( 'Border Width', 'wpr-addons' ),
410
+ 'type' => Controls_Manager::DIMENSIONS,
411
+ 'size_units' => [ 'px' ],
412
+ 'default' => [
413
+ 'top' => 1,
414
+ 'right' => 1,
415
+ 'bottom' => 1,
416
+ 'left' => 1,
417
+ ],
418
+ 'selectors' => [
419
+ '{{WRAPPER}} .wpr-comments-wrap > h3' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
420
+ ],
421
+ 'condition' => [
422
+ 'section_title_bd_type!' => 'none',
423
+ ],
424
+ ]
425
+ );
426
+
427
+ $this->add_control(
428
+ 'section_title_space',
429
+ [
430
+ 'label' => esc_html__( 'Bottom Space', 'wpr-addons' ),
431
+ 'type' => Controls_Manager::SLIDER,
432
+ 'size_units' => ['px'],
433
+ 'range' => [
434
+ 'px' => [
435
+ 'min' => 0,
436
+ 'max' => 50,
437
+ ],
438
+ ],
439
+ 'default' => [
440
+ 'unit' => 'px',
441
+ 'size' => 25,
442
+ ],
443
+ 'selectors' => [
444
+ '{{WRAPPER}} .wpr-comments-wrap > h3' => 'margin-bottom: {{SIZE}}{{UNIT}};',
445
+ ],
446
+ 'separator' => 'before',
447
+ ]
448
+ );
449
+
450
+ $this->end_controls_section();
451
+
452
+ // Styles ====================
453
+ // Section: Comments ---------
454
+ $this->start_controls_section(
455
+ 'section_style_comments',
456
+ [
457
+ 'label' => esc_html__( 'Comments', 'wpr-addons' ),
458
+ 'tab' => Controls_Manager::TAB_STYLE,
459
+ 'show_label' => false,
460
+ ]
461
+ );
462
+
463
+ $this->add_control(
464
+ 'comment_odd_color',
465
+ [
466
+ 'label' => esc_html__( 'Odd Color', 'wpr-addons' ),
467
+ 'type' => Controls_Manager::COLOR,
468
+ 'default' => '#fcfcfc',
469
+ 'selectors' => [
470
+ '{{WRAPPER}} .even .wpr-post-comment' => 'background-color: {{VALUE}};',
471
+ ],
472
+ ]
473
+ );
474
+
475
+ $this->add_control(
476
+ 'comment_even_color',
477
+ [
478
+ 'label' => esc_html__( 'Even Color', 'wpr-addons' ),
479
+ 'type' => Controls_Manager::COLOR,
480
+ 'default' => '#fcfcfc',
481
+ 'selectors' => [
482
+ '{{WRAPPER}} .odd .wpr-post-comment' => 'background-color: {{VALUE}};',
483
+ ],
484
+ ]
485
+ );
486
+
487
+ $this->add_control(
488
+ 'comment_author_color',
489
+ [
490
+ 'label' => esc_html__( 'By Post Author Color', 'wpr-addons' ),
491
+ 'type' => Controls_Manager::COLOR,
492
+ 'default' => '#EFEFEF',
493
+ 'selectors' => [
494
+ '{{WRAPPER}} .bypostauthor .wpr-post-comment' => 'background-color: {{VALUE}};',
495
+ ],
496
+ ]
497
+ );
498
+
499
+ $this->add_control(
500
+ 'comment_border_color',
501
+ [
502
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
503
+ 'type' => Controls_Manager::COLOR,
504
+ 'default' => '#e8e8e8',
505
+ 'selectors' => [
506
+ '{{WRAPPER}} .wpr-post-comment' => 'border-color: {{VALUE}};',
507
+ ],
508
+ ]
509
+ );
510
+
511
+ $this->add_group_control(
512
+ Group_Control_Box_Shadow::get_type(),
513
+ [
514
+ 'name' => 'comment_shadow',
515
+ 'selector' => '{{WRAPPER}} .wpr-post-comment',
516
+ ]
517
+ );
518
+
519
+ $this->add_responsive_control(
520
+ 'comment_padding',
521
+ [
522
+ 'label' => esc_html__( 'Padding', 'wpr-addons' ),
523
+ 'type' => Controls_Manager::DIMENSIONS,
524
+ 'size_units' => [ 'px' ],
525
+ 'default' => [
526
+ 'top' => 20,
527
+ 'right' => 20,
528
+ 'bottom' => 20,
529
+ 'left' => 20,
530
+ ],
531
+ 'selectors' => [
532
+ '{{WRAPPER}} .wpr-post-comment' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
533
+ ],
534
+ 'separator' => 'before',
535
+ ]
536
+ );
537
+
538
+ $this->add_control(
539
+ 'comment_border_type',
540
+ [
541
+ 'label' => esc_html__( 'Border Type', 'wpr-addons' ),
542
+ 'type' => Controls_Manager::SELECT,
543
+ 'options' => [
544
+ 'none' => esc_html__( 'None', 'wpr-addons' ),
545
+ 'solid' => esc_html__( 'Solid', 'wpr-addons' ),
546
+ 'double' => esc_html__( 'Double', 'wpr-addons' ),
547
+ 'dotted' => esc_html__( 'Dotted', 'wpr-addons' ),
548
+ 'dashed' => esc_html__( 'Dashed', 'wpr-addons' ),
549
+ 'groove' => esc_html__( 'Groove', 'wpr-addons' ),
550
+ ],
551
+ 'default' => 'solid',
552
+ 'selectors' => [
553
+ '{{WRAPPER}} .wpr-post-comment' => 'border-style: {{VALUE}};',
554
+ ],
555
+ 'separator' => 'before',
556
+ ]
557
+ );
558
+
559
+ $this->add_control(
560
+ 'comment_border_width',
561
+ [
562
+ 'label' => esc_html__( 'Border Width', 'wpr-addons' ),
563
+ 'type' => Controls_Manager::DIMENSIONS,
564
+ 'size_units' => [ 'px' ],
565
+ 'default' => [
566
+ 'top' => 1,
567
+ 'right' => 1,
568
+ 'bottom' => 1,
569
+ 'left' => 1,
570
+ ],
571
+ 'selectors' => [
572
+ '{{WRAPPER}} .wpr-post-comment' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
573
+ ],
574
+ 'condition' => [
575
+ 'comment_border_type!' => 'none',
576
+ ],
577
+ ]
578
+ );
579
+
580
+ $this->add_control(
581
+ 'comment_radius',
582
+ [
583
+ 'label' => esc_html__( 'Border Radius', 'wpr-addons' ),
584
+ 'type' => Controls_Manager::DIMENSIONS,
585
+ 'size_units' => [ 'px', '%' ],
586
+ 'default' => [
587
+ 'top' => 0,
588
+ 'right' => 0,
589
+ 'bottom' => 0,
590
+ 'left' => 0,
591
+ ],
592
+ 'selectors' => [
593
+ '{{WRAPPER}} .wpr-post-comment' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
594
+ ],
595
+ ]
596
+ );
597
+
598
+ $this->add_responsive_control(
599
+ 'comment_spacing',
600
+ [
601
+ 'label' => esc_html__( 'Gutter', 'wpr-addons' ),
602
+ 'type' => Controls_Manager::SLIDER,
603
+ 'size_units' => ['px'],
604
+ 'range' => [
605
+ 'px' => [
606
+ 'min' => 0,
607
+ 'max' => 50,
608
+ ],
609
+ ],
610
+ 'default' => [
611
+ 'unit' => 'px',
612
+ 'size' => 50,
613
+ ],
614
+ 'selectors' => [
615
+ '{{WRAPPER}} .wpr-post-comment' => 'margin-bottom: {{SIZE}}{{UNIT}};',
616
+ ],
617
+ 'separator' => 'before',
618
+ ]
619
+ );
620
+
621
+ $this->add_responsive_control(
622
+ 'comment_indent',
623
+ [
624
+ 'label' => esc_html__( 'Nested Indent', 'wpr-addons' ),
625
+ 'type' => Controls_Manager::SLIDER,
626
+ 'size_units' => ['px'],
627
+ 'range' => [
628
+ 'px' => [
629
+ 'min' => 0,
630
+ 'max' => 100,
631
+ ],
632
+ ],
633
+ 'default' => [
634
+ 'unit' => 'px',
635
+ 'size' => 24,
636
+ ],
637
+ 'selectors' => [
638
+ '{{WRAPPER}} .wpr-comments-list .children' => 'padding-left: {{SIZE}}{{UNIT}};',
639
+ ],
640
+ ]
641
+ );
642
+
643
+ $this->end_controls_section();
644
+
645
+ // Styles ====================
646
+ // Section: Avatar -----------
647
+ $this->start_controls_section(
648
+ 'section_style_avatar',
649
+ [
650
+ 'label' => esc_html__( 'Avatar', 'wpr-addons' ),
651
+ 'tab' => Controls_Manager::TAB_STYLE,
652
+ 'show_label' => false,
653
+ 'condition' => [
654
+ 'comments_avatar' => 'yes',
655
+ ],
656
+ ]
657
+ );
658
+
659
+ $this->add_control_avatar_gutter();
660
+
661
+ $this->add_group_control(
662
+ Group_Control_Border::get_type(),
663
+ [
664
+ 'name' => 'avatar_border',
665
+ 'fields_options' => [
666
+ 'border' => [
667
+ 'default' => '',
668
+ ],
669
+ 'width' => [
670
+ 'default' => [
671
+ 'top' => '1',
672
+ 'right' => '1',
673
+ 'bottom' => '1',
674
+ 'left' => '1',
675
+ 'isLinked' => true,
676
+ ],
677
+ ],
678
+ 'color' => [
679
+ 'default' => '#222222',
680
+ ],
681
+ ],
682
+ 'selector' => '{{WRAPPER}} .wpr-comment-avatar',
683
+ ]
684
+ );
685
+
686
+ $this->add_control(
687
+ 'avatar_radius',
688
+ [
689
+ 'label' => esc_html__( 'Border Radius', 'wpr-addons' ),
690
+ 'type' => Controls_Manager::DIMENSIONS,
691
+ 'size_units' => [ 'px', '%' ],
692
+ 'default' => [
693
+ 'top' => 0,
694
+ 'right' => 0,
695
+ 'bottom' => 0,
696
+ 'left' => 0,
697
+ ],
698
+ 'selectors' => [
699
+ '{{WRAPPER}} .wpr-comment-avatar' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
700
+ ],
701
+ ]
702
+ );
703
+
704
+ $this->end_controls_section();
705
+
706
+ // Styles ====================
707
+ // Section: Nickname ---------
708
+ $this->start_controls_section(
709
+ 'section_style_nickname',
710
+ [
711
+ 'label' => esc_html__( 'Nickname', 'wpr-addons' ),
712
+ 'tab' => Controls_Manager::TAB_STYLE,
713
+ 'show_label' => false,
714
+ ]
715
+ );
716
+
717
+ $this->start_controls_tabs( 'tabs_nickname_style' );
718
+
719
+ $this->start_controls_tab(
720
+ 'tab_nickname_normal',
721
+ [
722
+ 'label' => __( 'Normal', 'wpr-addons' ),
723
+ ]
724
+ );
725
+
726
+ $this->add_control(
727
+ 'nickname_color',
728
+ [
729
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
730
+ 'type' => Controls_Manager::COLOR,
731
+ 'default' => '#333333',
732
+ 'selectors' => [
733
+ '{{WRAPPER}} .wpr-comment-author span' => 'color: {{VALUE}}',
734
+ '{{WRAPPER}} .wpr-comment-author a' => 'color: {{VALUE}}',
735
+ ],
736
+ ]
737
+ );
738
+
739
+ $this->add_group_control(
740
+ Group_Control_Typography::get_type(),
741
+ [
742
+ 'name' => 'nickname_typography',
743
+ 'scheme' => Typography::TYPOGRAPHY_3,
744
+ 'selector' => '{{WRAPPER}} .wpr-comment-author',
745
+ 'fields_options' => [
746
+ 'typography' => [
747
+ 'default' => 'custom',
748
+ ],
749
+ 'font_size' => [
750
+ 'default' => [
751
+ 'size' => '15',
752
+ 'unit' => 'px',
753
+ ],
754
+ ]
755
+ ]
756
+ ]
757
+ );
758
+
759
+ $this->add_control(
760
+ 'nickname_transition_duration',
761
+ [
762
+ 'label' => esc_html__( 'Transition Duration', 'wpr-addons' ),
763
+ 'type' => Controls_Manager::NUMBER,
764
+ 'default' => 0.1,
765
+ 'min' => 0,
766
+ 'max' => 5,
767
+ 'step' => 0.1,
768
+ 'selectors' => [
769
+ '{{WRAPPER}} .wpr-comment-author a' => 'transition-duration: {{VALUE}}s',
770
+ ],
771
+ ]
772
+ );
773
+
774
+ $this->end_controls_tab();
775
+
776
+ $this->start_controls_tab(
777
+ 'tab_nickname_hover',
778
+ [
779
+ 'label' => __( 'Hover', 'wpr-addons' ),
780
+ ]
781
+ );
782
+
783
+ $this->add_control(
784
+ 'nickname_color_hr',
785
+ [
786
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
787
+ 'type' => Controls_Manager::COLOR,
788
+ 'selectors' => [
789
+ '{{WRAPPER}} .wpr-comment-author a:hover' => 'color: {{VALUE}}',
790
+ ],
791
+ ]
792
+ );
793
+
794
+ $this->end_controls_tab();
795
+
796
+ $this->end_controls_tabs();
797
+
798
+ $this->add_responsive_control(
799
+ 'nickname_space',
800
+ [
801
+ 'label' => esc_html__( 'Bottom Space', 'wpr-addons' ),
802
+ 'type' => Controls_Manager::SLIDER,
803
+ 'size_units' => ['px'],
804
+ 'range' => [
805
+ 'px' => [
806
+ 'min' => 0,
807
+ 'max' => 25,
808
+ ],
809
+ ],
810
+ 'default' => [
811
+ 'unit' => 'px',
812
+ 'size' => 2,
813
+ ],
814
+ 'selectors' => [
815
+ '{{WRAPPER}} .wpr-comment-author' => 'margin-bottom: {{SIZE}}{{UNIT}};',
816
+ ],
817
+ 'separator' => 'before',
818
+ ]
819
+ );
820
+
821
+ $this->end_controls_section();
822
+
823
+ // Styles ====================
824
+ // Section: Date and Time ----
825
+ $this->start_controls_section(
826
+ 'section_style_metadata',
827
+ [
828
+ 'label' => esc_html__( 'Date and Time', 'wpr-addons' ),
829
+ 'tab' => Controls_Manager::TAB_STYLE,
830
+ 'show_label' => false,
831
+ ]
832
+ );
833
+
834
+ $this->add_control(
835
+ 'metadata_color',
836
+ [
837
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
838
+ 'type' => Controls_Manager::COLOR,
839
+ 'default' => '#9B9B9B',
840
+ 'selectors' => [
841
+ '{{WRAPPER}} .wpr-comment-metadata' => 'color: {{VALUE}}',
842
+ '{{WRAPPER}} .wpr-comment-metadata a' => 'color: {{VALUE}}',
843
+ '{{WRAPPER}} .wpr-comment-reply:before' => 'color: {{VALUE}}',
844
+ ],
845
+ ]
846
+ );
847
+
848
+ $this->add_group_control(
849
+ Group_Control_Typography::get_type(),
850
+ [
851
+ 'name' => 'metadata_typography',
852
+ 'scheme' => Typography::TYPOGRAPHY_3,
853
+ 'selector' => '{{WRAPPER}} .wpr-comment-metadata',
854
+ 'fields_options' => [
855
+ 'typography' => [
856
+ 'default' => 'custom',
857
+ ],
858
+ 'font_family' => [
859
+ 'default' => 'Open Sans',
860
+ ],
861
+ 'font_size' => [
862
+ 'default' => [
863
+ 'size' => '12',
864
+ 'unit' => 'px',
865
+ ],
866
+ ]
867
+ ]
868
+ ]
869
+ );
870
+
871
+ $this->add_responsive_control(
872
+ 'metadata_space',
873
+ [
874
+ 'label' => esc_html__( 'Bottom Space', 'wpr-addons' ),
875
+ 'type' => Controls_Manager::SLIDER,
876
+ 'size_units' => ['px'],
877
+ 'range' => [
878
+ 'px' => [
879
+ 'min' => 0,
880
+ 'max' => 30,
881
+ ],
882
+ ],
883
+ 'default' => [
884
+ 'unit' => 'px',
885
+ 'size' => 5,
886
+ ],
887
+ 'selectors' => [
888
+ '{{WRAPPER}} .wpr-comment-metadata' => 'margin-bottom: {{SIZE}}{{UNIT}};',
889
+ ],
890
+ 'separator' => 'before',
891
+ ]
892
+ );
893
+
894
+ $this->end_controls_section();
895
+
896
+ // Styles ====================
897
+ // Section: Content ----------
898
+ $this->start_controls_section(
899
+ 'section_style_content',
900
+ [
901
+ 'label' => esc_html__( 'Content (Comment Text)', 'wpr-addons' ),
902
+ 'tab' => Controls_Manager::TAB_STYLE,
903
+ 'show_label' => false,
904
+ ]
905
+ );
906
+
907
+ $this->add_control(
908
+ 'content_color',
909
+ [
910
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
911
+ 'type' => Controls_Manager::COLOR,
912
+ 'default' => '#666666',
913
+ 'selectors' => [
914
+ '{{WRAPPER}} .wpr-comment-content' => 'color: {{VALUE}}',
915
+ ],
916
+ ]
917
+ );
918
+
919
+ $this->add_control(
920
+ 'content_link_color',
921
+ [
922
+ 'label' => esc_html__( 'Link Color', 'wpr-addons' ),
923
+ 'type' => Controls_Manager::COLOR,
924
+ 'default' => '#605BE5',
925
+ 'selectors' => [
926
+ '{{WRAPPER}} .wpr-comment-content a' => 'color: {{VALUE}}',
927
+ ],
928
+ ]
929
+ );
930
+
931
+ $this->add_group_control(
932
+ Group_Control_Typography::get_type(),
933
+ [
934
+ 'name' => 'content_typography',
935
+ 'scheme' => Typography::TYPOGRAPHY_3,
936
+ 'selector' => '{{WRAPPER}} .wpr-comment-content',
937
+ 'fields_options' => [
938
+ 'typography' => [
939
+ 'default' => 'custom',
940
+ ],
941
+ 'font_family' => [
942
+ 'default' => 'Open Sans',
943
+ ],
944
+ 'font_weight' => [
945
+ 'default' => '400',
946
+ ],
947
+ 'font_size' => [
948
+ 'default' => [
949
+ 'size' => '14',
950
+ 'unit' => 'px',
951
+ ],
952
+ ]
953
+ ]
954
+ ]
955
+ );
956
+
957
+ $this->end_controls_section();
958
+
959
+ // Styles ====================
960
+ // Section: Reply Link -------
961
+ $this->start_controls_section(
962
+ 'section_style_reply_link',
963
+ [
964
+ 'label' => esc_html__( 'Reply Link', 'wpr-addons' ),
965
+ 'tab' => Controls_Manager::TAB_STYLE,
966
+ 'show_label' => false,
967
+ ]
968
+ );
969
+
970
+ $this->start_controls_tabs( 'tabs_reply_link_style' );
971
+
972
+ $this->start_controls_tab(
973
+ 'tab_reply_link_normal',
974
+ [
975
+ 'label' => __( 'Normal', 'wpr-addons' ),
976
+ ]
977
+ );
978
+
979
+ $this->add_control(
980
+ 'reply_link_color',
981
+ [
982
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
983
+ 'type' => Controls_Manager::COLOR,
984
+ 'default' => '#605BE5',
985
+ 'selectors' => [
986
+ '{{WRAPPER}} .wpr-comment-reply a' => 'color: {{VALUE}}',
987
+ ],
988
+ ]
989
+ );
990
+
991
+ $this->add_control(
992
+ 'reply_link_bg_color',
993
+ [
994
+ 'label' => esc_html__( 'Background Color', 'wpr-addons' ),
995
+ 'type' => Controls_Manager::COLOR,
996
+ 'default' => '#FCFCFC',
997
+ 'selectors' => [
998
+ '{{WRAPPER}} .wpr-comment-reply a' => 'background-color: {{VALUE}}',
999
+ ]
1000
+ ]
1001
+ );
1002
+
1003
+ $this->add_control(
1004
+ 'reply_link_border_color',
1005
+ [
1006
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
1007
+ 'type' => Controls_Manager::COLOR,
1008
+ 'selectors' => [
1009
+ '{{WRAPPER}} .wpr-comment-reply a' => 'border-color: {{VALUE}}',
1010
+ ],
1011
+ ]
1012
+ );
1013
+
1014
+ $this->add_group_control(
1015
+ Group_Control_Typography::get_type(),
1016
+ [
1017
+ 'name' => 'reply_link_typography',
1018
+ 'scheme' => Typography::TYPOGRAPHY_3,
1019
+ 'selector' => '{{WRAPPER}} .wpr-comment-reply a',
1020
+ 'fields_options' => [
1021
+ 'typography' => [
1022
+ 'default' => 'custom',
1023
+ ],
1024
+ 'font_size' => [
1025
+ 'default' => [
1026
+ 'size' => '13',
1027
+ 'unit' => 'px',
1028
+ ],
1029
+ ]
1030
+ ]
1031
+ ]
1032
+ );
1033
+
1034
+ $this->add_control(
1035
+ 'reply_link_transition_duration',
1036
+ [
1037
+ 'label' => esc_html__( 'Transition Duration', 'wpr-addons' ),
1038
+ 'type' => Controls_Manager::NUMBER,
1039
+ 'default' => 0.6,
1040
+ 'min' => 0,
1041
+ 'max' => 5,
1042
+ 'step' => 0.1,
1043
+ 'selectors' => [
1044
+ '{{WRAPPER}} .wpr-comment-reply a' => 'transition-duration: {{VALUE}}s',
1045
+ ],
1046
+ ]
1047
+ );
1048
+
1049
+ $this->end_controls_tab();
1050
+
1051
+ $this->start_controls_tab(
1052
+ 'tab_reply_link_hover',
1053
+ [
1054
+ 'label' => __( 'Hover', 'wpr-addons' ),
1055
+ ]
1056
+ );
1057
+
1058
+ $this->add_control(
1059
+ 'reply_link_color_hr',
1060
+ [
1061
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
1062
+ 'type' => Controls_Manager::COLOR,
1063
+ 'default' => '#54595f',
1064
+ 'selectors' => [
1065
+ '{{WRAPPER}} .wpr-comment-reply a:hover' => 'color: {{VALUE}}',
1066
+ ],
1067
+ ]
1068
+ );
1069
+
1070
+ $this->add_control(
1071
+ 'reply_link_bg_color_hr',
1072
+ [
1073
+ 'label' => esc_html__( 'Background Color', 'wpr-addons' ),
1074
+ 'type' => Controls_Manager::COLOR,
1075
+ 'selectors' => [
1076
+ '{{WRAPPER}} .wpr-comment-reply a:hover' => 'background-color: {{VALUE}}',
1077
+ ]
1078
+ ]
1079
+ );
1080
+
1081
+ $this->add_control(
1082
+ 'reply_link_border_color_hr',
1083
+ [
1084
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
1085
+ 'type' => Controls_Manager::COLOR,
1086
+ 'selectors' => [
1087
+ '{{WRAPPER}} .wpr-comment-reply a:hover' => 'border-color: {{VALUE}}',
1088
+ ],
1089
+ ]
1090
+ );
1091
+
1092
+ $this->end_controls_tab();
1093
+
1094
+ $this->end_controls_tabs();
1095
+
1096
+ $this->add_responsive_control(
1097
+ 'reply_link_padding',
1098
+ [
1099
+ 'label' => esc_html__( 'Padding', 'wpr-addons' ),
1100
+ 'type' => Controls_Manager::DIMENSIONS,
1101
+ 'size_units' => [ 'px' ],
1102
+ 'default' => [
1103
+ 'top' => 0,
1104
+ 'right' => 0,
1105
+ 'bottom' => 0,
1106
+ 'left' => 0,
1107
+ ],
1108
+ 'selectors' => [
1109
+ '{{WRAPPER}} .wpr-comment-reply a' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1110
+ ],
1111
+ 'separator' => 'before'
1112
+ ]
1113
+ );
1114
+
1115
+ $this->add_responsive_control(
1116
+ 'reply_link_margin',
1117
+ [
1118
+ 'label' => esc_html__( 'Margin', 'wpr-addons' ),
1119
+ 'type' => Controls_Manager::DIMENSIONS,
1120
+ 'size_units' => [ 'px' ],
1121
+ 'default' => [
1122
+ 'top' => 0,
1123
+ 'right' => 0,
1124
+ 'bottom' => 0,
1125
+ 'left' => 0,
1126
+ ],
1127
+ 'selectors' => [
1128
+ '{{WRAPPER}} .wpr-comment-reply a' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1129
+ ],
1130
+ ]
1131
+ );
1132
+
1133
+ $this->add_control(
1134
+ 'reply_link_border_type',
1135
+ [
1136
+ 'label' => esc_html__( 'Border Type', 'wpr-addons' ),
1137
+ 'type' => Controls_Manager::SELECT,
1138
+ 'options' => [
1139
+ 'none' => esc_html__( 'None', 'wpr-addons' ),
1140
+ 'solid' => esc_html__( 'Solid', 'wpr-addons' ),
1141
+ 'double' => esc_html__( 'Double', 'wpr-addons' ),
1142
+ 'dotted' => esc_html__( 'Dotted', 'wpr-addons' ),
1143
+ 'dashed' => esc_html__( 'Dashed', 'wpr-addons' ),
1144
+ 'groove' => esc_html__( 'Groove', 'wpr-addons' ),
1145
+ ],
1146
+ 'default' => 'none',
1147
+ 'selectors' => [
1148
+ '{{WRAPPER}} .wpr-comment-reply a' => 'border-style: {{VALUE}};',
1149
+ ],
1150
+ 'separator' => 'before',
1151
+ ]
1152
+ );
1153
+
1154
+ $this->add_control(
1155
+ 'reply_link_border_width',
1156
+ [
1157
+ 'label' => esc_html__( 'Border Width', 'wpr-addons' ),
1158
+ 'type' => Controls_Manager::DIMENSIONS,
1159
+ 'size_units' => [ 'px' ],
1160
+ 'default' => [
1161
+ 'top' => 1,
1162
+ 'right' => 1,
1163
+ 'bottom' => 1,
1164
+ 'left' => 1,
1165
+ ],
1166
+ 'selectors' => [
1167
+ '{{WRAPPER}} .wpr-comment-reply a' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1168
+ ],
1169
+ 'condition' => [
1170
+ 'reply_link_border_type!' => 'none',
1171
+ ],
1172
+ ]
1173
+ );
1174
+
1175
+ $this->add_control(
1176
+ 'reply_link_radius',
1177
+ [
1178
+ 'label' => esc_html__( 'Border Radius', 'wpr-addons' ),
1179
+ 'type' => Controls_Manager::DIMENSIONS,
1180
+ 'size_units' => [ 'px', '%' ],
1181
+ 'default' => [
1182
+ 'top' => 0,
1183
+ 'right' => 0,
1184
+ 'bottom' => 0,
1185
+ 'left' => 0,
1186
+ ],
1187
+ 'selectors' => [
1188
+ '{{WRAPPER}} .wpr-comment-reply a' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1189
+ ],
1190
+ ]
1191
+ );
1192
+
1193
+ $this->add_control(
1194
+ 'reply_link_align',
1195
+ [
1196
+ 'label' => __( 'Alignment', 'wpr-addons' ),
1197
+ 'type' => Controls_Manager::CHOOSE,
1198
+ 'label_block' => false,
1199
+ 'options' => [
1200
+ 'left' => [
1201
+ 'title' => __( 'Left', 'wpr-addons' ),
1202
+ 'icon' => 'eicon-text-align-left',
1203
+ ],
1204
+ 'right' => [
1205
+ 'title' => __( 'Right', 'wpr-addons' ),
1206
+ 'icon' => 'eicon-text-align-right',
1207
+ ],
1208
+ ],
1209
+ 'default' => 'right',
1210
+ 'prefix_class' => 'wpr-comment-reply-align-',
1211
+ 'separator' => 'before',
1212
+ ]
1213
+ );
1214
+
1215
+ $this->end_controls_section();
1216
+
1217
+ // Styles ====================
1218
+ // Section: Navigation -------
1219
+ $this->start_controls_section(
1220
+ 'section_style_navigation',
1221
+ [
1222
+ 'label' => esc_html__( 'Navigation', 'wpr-addons' ),
1223
+ 'tab' => Controls_Manager::TAB_STYLE,
1224
+ 'show_label' => false,
1225
+ ]
1226
+ );
1227
+
1228
+ $this->start_controls_tabs( 'tabs_navigation_style' );
1229
+
1230
+ $this->start_controls_tab(
1231
+ 'tab_navigation_normal',
1232
+ [
1233
+ 'label' => __( 'Normal', 'wpr-addons' ),
1234
+ ]
1235
+ );
1236
+
1237
+ $this->add_control(
1238
+ 'navigation_color',
1239
+ [
1240
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
1241
+ 'type' => Controls_Manager::COLOR,
1242
+ 'default' => '#333333',
1243
+ 'selectors' => [
1244
+ '{{WRAPPER}} .wpr-comments-navigation a' => 'color: {{VALUE}}',
1245
+ '{{WRAPPER}} .wpr-comments-navigation span' => 'color: {{VALUE}}',
1246
+ ],
1247
+ ]
1248
+ );
1249
+
1250
+ $this->add_control(
1251
+ 'navigation_bg_color',
1252
+ [
1253
+ 'label' => esc_html__( 'Background Color', 'wpr-addons' ),
1254
+ 'type' => Controls_Manager::COLOR,
1255
+ 'selectors' => [
1256
+ '{{WRAPPER}} .wpr-comments-navigation a' => 'background-color: {{VALUE}}',
1257
+ '{{WRAPPER}} .wpr-comments-navigation span' => 'background-color: {{VALUE}}',
1258
+ ]
1259
+ ]
1260
+ );
1261
+
1262
+ $this->add_control(
1263
+ 'navigation_border_color',
1264
+ [
1265
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
1266
+ 'type' => Controls_Manager::COLOR,
1267
+ 'selectors' => [
1268
+ '{{WRAPPER}} .wpr-comments-navigation a' => 'border-color: {{VALUE}}',
1269
+ '{{WRAPPER}} .wpr-comments-navigation span' => 'border-color: {{VALUE}}',
1270
+ ],
1271
+ ]
1272
+ );
1273
+
1274
+ $this->add_group_control(
1275
+ Group_Control_Typography::get_type(),
1276
+ [
1277
+ 'name' => 'navigation_typography',
1278
+ 'scheme' => Typography::TYPOGRAPHY_3,
1279
+ 'selector' => '{{WRAPPER}} .wpr-comments-navigation a, {{WRAPPER}} .wpr-comments-navigation span',
1280
+ 'fields_options' => [
1281
+ 'typography' => [
1282
+ 'default' => 'custom',
1283
+ ],
1284
+ 'font_size' => [
1285
+ 'default' => [
1286
+ 'size' => '13',
1287
+ 'unit' => 'px',
1288
+ ],
1289
+ ]
1290
+ ]
1291
+ ]
1292
+ );
1293
+
1294
+ $this->add_control(
1295
+ 'navigation_transition_duration',
1296
+ [
1297
+ 'label' => esc_html__( 'Transition Duration', 'wpr-addons' ),
1298
+ 'type' => Controls_Manager::NUMBER,
1299
+ 'default' => 0.1,
1300
+ 'min' => 0,
1301
+ 'max' => 5,
1302
+ 'step' => 0.1,
1303
+ 'selectors' => [
1304
+ '{{WRAPPER}} .wpr-comments-navigation a' => 'transition-duration: {{VALUE}}s',
1305
+ ],
1306
+ ]
1307
+ );
1308
+
1309
+ $this->end_controls_tab();
1310
+
1311
+ $this->start_controls_tab(
1312
+ 'tab_navigation_hover',
1313
+ [
1314
+ 'label' => __( 'Hover', 'wpr-addons' ),
1315
+ ]
1316
+ );
1317
+
1318
+ $this->add_control(
1319
+ 'navigation_color_hr',
1320
+ [
1321
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
1322
+ 'type' => Controls_Manager::COLOR,
1323
+ 'default' => '#54595f',
1324
+ 'selectors' => [
1325
+ '{{WRAPPER}} .wpr-comments-navigation a:hover' => 'color: {{VALUE}}',
1326
+ '{{WRAPPER}} .wpr-comments-navigation span.current' => 'color: {{VALUE}}',
1327
+ ],
1328
+ ]
1329
+ );
1330
+
1331
+ $this->add_control(
1332
+ 'navigation_bg_color_hr',
1333
+ [
1334
+ 'label' => esc_html__( 'Background Color', 'wpr-addons' ),
1335
+ 'type' => Controls_Manager::COLOR,
1336
+ 'selectors' => [
1337
+ '{{WRAPPER}} .wpr-comments-navigation a:hover' => 'background-color: {{VALUE}}',
1338
+ '{{WRAPPER}} .wpr-comments-navigation span.current' => 'background-color: {{VALUE}}',
1339
+ ]
1340
+ ]
1341
+ );
1342
+
1343
+ $this->add_control(
1344
+ 'navigation_border_color_hr',
1345
+ [
1346
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
1347
+ 'type' => Controls_Manager::COLOR,
1348
+ 'selectors' => [
1349
+ '{{WRAPPER}} .wpr-comments-navigation a:hover' => 'border-color: {{VALUE}}',
1350
+ '{{WRAPPER}} .wpr-comments-navigation span.current' => 'border-color: {{VALUE}}',
1351
+ ],
1352
+ ]
1353
+ );
1354
+
1355
+ $this->end_controls_tab();
1356
+
1357
+ $this->end_controls_tabs();
1358
+
1359
+ $this->add_responsive_control(
1360
+ 'navigation_padding',
1361
+ [
1362
+ 'label' => esc_html__( 'Padding', 'wpr-addons' ),
1363
+ 'type' => Controls_Manager::DIMENSIONS,
1364
+ 'size_units' => [ 'px' ],
1365
+ 'default' => [
1366
+ 'top' => 0,
1367
+ 'right' => 0,
1368
+ 'bottom' => 0,
1369
+ 'left' => 0,
1370
+ ],
1371
+ 'selectors' => [
1372
+ '{{WRAPPER}} .wpr-comments-navigation a' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1373
+ '{{WRAPPER}} .wpr-comments-navigation span' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1374
+ ],
1375
+ 'separator' => 'before'
1376
+ ]
1377
+ );
1378
+
1379
+ $this->add_control(
1380
+ 'navigation_border_type',
1381
+ [
1382
+ 'label' => esc_html__( 'Border Type', 'wpr-addons' ),
1383
+ 'type' => Controls_Manager::SELECT,
1384
+ 'options' => [
1385
+ 'none' => esc_html__( 'None', 'wpr-addons' ),
1386
+ 'solid' => esc_html__( 'Solid', 'wpr-addons' ),
1387
+ 'double' => esc_html__( 'Double', 'wpr-addons' ),
1388
+ 'dotted' => esc_html__( 'Dotted', 'wpr-addons' ),
1389
+ 'dashed' => esc_html__( 'Dashed', 'wpr-addons' ),
1390
+ 'groove' => esc_html__( 'Groove', 'wpr-addons' ),
1391
+ ],
1392
+ 'default' => 'none',
1393
+ 'selectors' => [
1394
+ '{{WRAPPER}} .wpr-comments-navigation a' => 'border-style: {{VALUE}};',
1395
+ '{{WRAPPER}} .wpr-comments-navigation span' => 'border-style: {{VALUE}};',
1396
+ ],
1397
+ 'separator' => 'before',
1398
+ ]
1399
+ );
1400
+
1401
+ $this->add_control(
1402
+ 'navigation_border_width',
1403
+ [
1404
+ 'label' => esc_html__( 'Border Width', 'wpr-addons' ),
1405
+ 'type' => Controls_Manager::DIMENSIONS,
1406
+ 'size_units' => [ 'px' ],
1407
+ 'default' => [
1408
+ 'top' => 1,
1409
+ 'right' => 1,
1410
+ 'bottom' => 1,
1411
+ 'left' => 1,
1412
+ ],
1413
+ 'selectors' => [
1414
+ '{{WRAPPER}} .wpr-comments-navigation a' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1415
+ '{{WRAPPER}} .wpr-comments-navigation span' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1416
+ ],
1417
+ 'condition' => [
1418
+ 'navigation_border_type!' => 'none',
1419
+ ],
1420
+ ]
1421
+ );
1422
+
1423
+ $this->add_control(
1424
+ 'navigation_radius',
1425
+ [
1426
+ 'label' => esc_html__( 'Border Radius', 'wpr-addons' ),
1427
+ 'type' => Controls_Manager::DIMENSIONS,
1428
+ 'size_units' => [ 'px', '%' ],
1429
+ 'default' => [
1430
+ 'top' => 0,
1431
+ 'right' => 0,
1432
+ 'bottom' => 0,
1433
+ 'left' => 0,
1434
+ ],
1435
+ 'selectors' => [
1436
+ '{{WRAPPER}} .wpr-comments-navigation a' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1437
+ '{{WRAPPER}} .wpr-comments-navigation span' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1438
+ ],
1439
+ ]
1440
+ );
1441
+
1442
+ $this->end_controls_section();
1443
+
1444
+ // Styles ====================
1445
+ // Section: Comment Form Title
1446
+ $this->start_controls_section(
1447
+ 'section_style_cf_title',
1448
+ [
1449
+ 'label' => esc_html__( 'Comment Form Title', 'wpr-addons' ),
1450
+ 'tab' => Controls_Manager::TAB_STYLE,
1451
+ 'show_label' => false,
1452
+ ]
1453
+ );
1454
+
1455
+ $this->add_control(
1456
+ 'cf_title_color',
1457
+ [
1458
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
1459
+ 'type' => Controls_Manager::COLOR,
1460
+ 'default' => '#222222',
1461
+ 'selectors' => [
1462
+ '{{WRAPPER}} .wpr-comment-reply-title' => 'color: {{VALUE}};',
1463
+ ],
1464
+ ]
1465
+ );
1466
+
1467
+ $this->add_control(
1468
+ 'cf_title_bd_color',
1469
+ [
1470
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
1471
+ 'type' => Controls_Manager::COLOR,
1472
+ 'default' => '#e8e8e8',
1473
+ 'selectors' => [
1474
+ '{{WRAPPER}} .wpr-comment-reply-title' => 'border-color: {{VALUE}};',
1475
+ ],
1476
+ ]
1477
+ );
1478
+
1479
+ $this->add_group_control(
1480
+ Group_Control_Typography::get_type(),
1481
+ [
1482
+ 'name' => 'cf_title_typography',
1483
+ 'scheme' => Typography::TYPOGRAPHY_3,
1484
+ 'selector' => '{{WRAPPER}} .wpr-comment-reply-title',
1485
+ 'fields_options' => [
1486
+ 'typography' => [
1487
+ 'default' => 'custom',
1488
+ ],
1489
+ 'font_family' => [
1490
+ 'default' => 'Raleway',
1491
+ ],
1492
+ 'font_weight' => [
1493
+ 'default' => '500',
1494
+ ],
1495
+ 'letter_spacing' => [
1496
+ 'default' => [
1497
+ 'size' => '0.5'
1498
+ ]
1499
+ ],
1500
+ 'font_size' => [
1501
+ 'default' => [
1502
+ 'size' => '17',
1503
+ 'unit' => 'px',
1504
+ ],
1505
+ ]
1506
+ ]
1507
+ ]
1508
+ );
1509
+
1510
+ $this->add_control(
1511
+ 'cf_title_bd_type',
1512
+ [
1513
+ 'label' => esc_html__( 'Border Style', 'wpr-addons' ),
1514
+ 'type' => Controls_Manager::SELECT,
1515
+ 'options' => [
1516
+ 'none' => esc_html__( 'None', 'wpr-addons' ),
1517
+ 'solid' => esc_html__( 'Solid', 'wpr-addons' ),
1518
+ 'double' => esc_html__( 'Double', 'wpr-addons' ),
1519
+ 'dotted' => esc_html__( 'Dotted', 'wpr-addons' ),
1520
+ 'dashed' => esc_html__( 'Dashed', 'wpr-addons' ),
1521
+ 'groove' => esc_html__( 'Groove', 'wpr-addons' ),
1522
+ ],
1523
+ 'default' => 'none',
1524
+ 'selectors' => [
1525
+ '{{WRAPPER}} .wpr-comment-reply-title' => 'border-style: {{VALUE}};',
1526
+ ],
1527
+ 'separator' => 'before'
1528
+ ]
1529
+ );
1530
+
1531
+ $this->add_control(
1532
+ 'cf_title_bd_width',
1533
+ [
1534
+ 'label' => esc_html__( 'Border Width', 'wpr-addons' ),
1535
+ 'type' => Controls_Manager::DIMENSIONS,
1536
+ 'size_units' => [ 'px' ],
1537
+ 'default' => [
1538
+ 'top' => 1,
1539
+ 'right' => 1,
1540
+ 'bottom' => 1,
1541
+ 'left' => 1,
1542
+ ],
1543
+ 'selectors' => [
1544
+ '{{WRAPPER}} .wpr-comment-reply-title' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1545
+ ],
1546
+ 'condition' => [
1547
+ 'cf_title_bd_type!' => 'none',
1548
+ ],
1549
+ ]
1550
+ );
1551
+
1552
+ $this->add_responsive_control(
1553
+ 'cf_title_top_space',
1554
+ [
1555
+ 'label' => esc_html__( 'Top Space', 'wpr-addons' ),
1556
+ 'type' => Controls_Manager::SLIDER,
1557
+ 'size_units' => ['px'],
1558
+ 'range' => [
1559
+ 'px' => [
1560
+ 'min' => 0,
1561
+ 'max' => 100,
1562
+ ],
1563
+ ],
1564
+ 'default' => [
1565
+ 'unit' => 'px',
1566
+ 'size' => 85,
1567
+ ],
1568
+ 'selectors' => [
1569
+ '{{WRAPPER}} .wpr-comment-reply-title' => 'margin-top: {{SIZE}}{{UNIT}};',
1570
+ ],
1571
+ 'separator' => 'before',
1572
+ ]
1573
+ );
1574
+
1575
+ $this->add_responsive_control(
1576
+ 'cf_title_bottom_space',
1577
+ [
1578
+ 'label' => esc_html__( 'Bottom Space', 'wpr-addons' ),
1579
+ 'type' => Controls_Manager::SLIDER,
1580
+ 'size_units' => ['px'],
1581
+ 'range' => [
1582
+ 'px' => [
1583
+ 'min' => 0,
1584
+ 'max' => 100,
1585
+ ],
1586
+ ],
1587
+ 'default' => [
1588
+ 'unit' => 'px',
1589
+ 'size' => 20,
1590
+ ],
1591
+ 'selectors' => [
1592
+ '{{WRAPPER}} .wpr-comment-reply-title' => 'margin-bottom: {{SIZE}}{{UNIT}};',
1593
+ ],
1594
+ ]
1595
+ );
1596
+
1597
+ $this->add_responsive_control(
1598
+ 'cf_title_align',
1599
+ [
1600
+ 'label' => esc_html__( 'Align', 'wpr-addons' ),
1601
+ 'type' => Controls_Manager::CHOOSE,
1602
+ 'label_block' => false,
1603
+ 'default' => 'left',
1604
+ 'options' => [
1605
+ 'left' => [
1606
+ 'title' => esc_html__( 'Left', 'wpr-addons' ),
1607
+ 'icon' => 'eicon-h-align-left',
1608
+ ],
1609
+ 'center' => [
1610
+ 'title' => esc_html__( 'Center', 'wpr-addons' ),
1611
+ 'icon' => 'eicon-h-align-center',
1612
+ ],
1613
+ 'right' => [
1614
+ 'title' => esc_html__( 'Right', 'wpr-addons' ),
1615
+ 'icon' => 'eicon-h-align-right',
1616
+ ]
1617
+ ],
1618
+ 'selectors' => [
1619
+ '{{WRAPPER}} .wpr-comment-reply-title' => 'text-align: {{VALUE}}',
1620
+ ],
1621
+ 'separator' => 'before'
1622
+ ]
1623
+ );
1624
+
1625
+ $this->end_controls_section();
1626
+
1627
+ // Styles ====================
1628
+ // Section: Comment Form -----
1629
+ $this->start_controls_section(
1630
+ 'section_style_comment_form',
1631
+ [
1632
+ 'label' => esc_html__( 'Comment Form', 'wpr-addons' ),
1633
+ 'tab' => Controls_Manager::TAB_STYLE,
1634
+ 'show_label' => false,
1635
+ ]
1636
+ );
1637
+
1638
+ $this->start_controls_tabs( 'tabs_comment_form_style' );
1639
+
1640
+ $this->start_controls_tab(
1641
+ 'tab_comment_form_normal',
1642
+ [
1643
+ 'label' => __( 'Normal', 'wpr-addons' ),
1644
+ ]
1645
+ );
1646
+
1647
+ $this->add_control(
1648
+ 'comment_form_color',
1649
+ [
1650
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
1651
+ 'type' => Controls_Manager::COLOR,
1652
+ 'default' => '#666666',
1653
+ 'selectors' => [
1654
+ '{{WRAPPER}} .wpr-comment-form input[type=text]' => 'color: {{VALUE}};',
1655
+ '{{WRAPPER}} .wpr-comment-form textarea' => 'color: {{VALUE}};',
1656
+ '{{WRAPPER}} .wpr-comment-form label' => 'color: {{VALUE}}',
1657
+ '{{WRAPPER}} .wpr-comment-form .logged-in-as a' => 'color: {{VALUE}};',
1658
+ '{{WRAPPER}} .wpr-comment-form .logged-in-as .required-field-message' => 'color: {{VALUE}};',
1659
+ ],
1660
+ ]
1661
+ );
1662
+
1663
+ $this->add_control(
1664
+ 'comment_form_placeholder_color',
1665
+ [
1666
+ 'label' => esc_html__( 'Placeholder Color', 'wpr-addons' ),
1667
+ 'type' => Controls_Manager::COLOR,
1668
+ 'default' => '#B8B8B8',
1669
+ 'selectors' => [
1670
+ '{{WRAPPER}} .wpr-comment-form input[type=text]::placeholder' => 'color: {{VALUE}}; opacity: 1;',
1671
+ '{{WRAPPER}} .wpr-comment-form textarea::placeholder' => 'color: {{VALUE}}; opacity: 1;',
1672
+ '{{WRAPPER}} .wpr-comment-form input[type=text]::-ms-input-placeholder' => 'color: {{VALUE}};',
1673
+ '{{WRAPPER}} .wpr-comment-form textarea::-ms-input-placeholder' => 'color: {{VALUE}};',
1674
+ ],
1675
+ 'condition' => [
1676
+ 'comment_form_placeholders' => 'yes'
1677
+ ]
1678
+ ]
1679
+ );
1680
+
1681
+ $this->add_control(
1682
+ 'comment_form_bg_color',
1683
+ [
1684
+ 'label' => esc_html__( 'Background Color', 'wpr-addons' ),
1685
+ 'type' => Controls_Manager::COLOR,
1686
+ 'default' => '#ffffff',
1687
+ 'selectors' => [
1688
+ '{{WRAPPER}} .wpr-comment-form input[type=text]' => 'background-color: {{VALUE}}',
1689
+ '{{WRAPPER}} .wpr-comment-form textarea' => 'background-color: {{VALUE}}',
1690
+ ]
1691
+ ]
1692
+ );
1693
+
1694
+ $this->add_control(
1695
+ 'comment_form_border_color',
1696
+ [
1697
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
1698
+ 'type' => Controls_Manager::COLOR,
1699
+ 'default' => '#DBDBDB',
1700
+ 'selectors' => [
1701
+ '{{WRAPPER}} .wpr-comment-form input[type=text]' => 'border-color: {{VALUE}}',
1702
+ '{{WRAPPER}} .wpr-comment-form textarea' => 'border-color: {{VALUE}}',
1703
+ ],
1704
+ ]
1705
+ );
1706
+
1707
+ $this->add_group_control(
1708
+ Group_Control_Typography::get_type(),
1709
+ [
1710
+ 'name' => 'comment_form_typography',
1711
+ 'scheme' => Typography::TYPOGRAPHY_3,
1712
+ 'selector' => '{{WRAPPER}} .wpr-comment-form label, {{WRAPPER}} .wpr-comment-form input[type=text], {{WRAPPER}} .wpr-comment-form textarea, {{WRAPPER}} .wpr-comment-form .logged-in-as',
1713
+ 'fields_options' => [
1714
+ 'typography' => [
1715
+ 'default' => 'custom',
1716
+ ],
1717
+ 'font_size' => [
1718
+ 'default' => [
1719
+ 'size' => '14',
1720
+ 'unit' => 'px',
1721
+ ],
1722
+ ]
1723
+ ]
1724
+ ]
1725
+ );
1726
+
1727
+ $this->add_control(
1728
+ 'comment_form_transition_duration',
1729
+ [
1730
+ 'label' => esc_html__( 'Transition Duration', 'wpr-addons' ),
1731
+ 'type' => Controls_Manager::NUMBER,
1732
+ 'default' => 0.6,
1733
+ 'min' => 0,
1734
+ 'max' => 5,
1735
+ 'step' => 0.1,
1736
+ 'selectors' => [
1737
+ '{{WRAPPER}} .wpr-comment-form input[type=text]' => 'transition-duration: {{VALUE}}s',
1738
+ '{{WRAPPER}} .wpr-comment-form input[type=text]::placeholder' => 'transition-duration: {{VALUE}}s',
1739
+ '{{WRAPPER}} .wpr-comment-form input[type=text]::-ms-input-placeholder' => 'transition-duration: {{VALUE}}s',
1740
+ '{{WRAPPER}} .wpr-comment-form textarea' => 'transition-duration: {{VALUE}}s',
1741
+ ],
1742
+ ]
1743
+ );
1744
+
1745
+ $this->end_controls_tab();
1746
+
1747
+ $this->start_controls_tab(
1748
+ 'tab_comment_form_hover',
1749
+ [
1750
+ 'label' => __( 'Focus', 'wpr-addons' ),
1751
+ ]
1752
+ );
1753
+
1754
+ $this->add_control(
1755
+ 'comment_form_color_hr',
1756
+ [
1757
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
1758
+ 'type' => Controls_Manager::COLOR,
1759
+ 'default' => '#666666',
1760
+ 'selectors' => [
1761
+ '{{WRAPPER}} .wpr-comment-form input[type=text]:focus' => 'color: {{VALUE}};',
1762
+ '{{WRAPPER}} .wpr-comment-form textarea:focus' => 'color: {{VALUE}};',
1763
+ ],
1764
+ ]
1765
+ );
1766
+
1767
+ $this->add_control(
1768
+ 'comment_form_placeholder_color_hr',
1769
+ [
1770
+ 'label' => esc_html__( 'Placeholder Color', 'wpr-addons' ),
1771
+ 'type' => Controls_Manager::COLOR,
1772
+ 'default' => '#B8B8B8',
1773
+ 'selectors' => [
1774
+ '{{WRAPPER}} .wpr-comment-form input[type=text]:focus::placeholder' => 'color: {{VALUE}}; opacity: 1;',
1775
+ '{{WRAPPER}} .wpr-comment-form textarea:focus::placeholder' => 'color: {{VALUE}}; opacity: 1;',
1776
+ '{{WRAPPER}} .wpr-comment-form input[type=text]:focus::-ms-input-placeholder' => 'color: {{VALUE}};',
1777
+ '{{WRAPPER}} .wpr-comment-form textarea:focus::-ms-input-placeholder' => 'color: {{VALUE}};',
1778
+ ],
1779
+ 'condition' => [
1780
+ 'comment_form_placeholders' => 'yes'
1781
+ ]
1782
+ ]
1783
+ );
1784
+
1785
+ $this->add_control(
1786
+ 'comment_form_bg_color_hr',
1787
+ [
1788
+ 'label' => esc_html__( 'Background Color', 'wpr-addons' ),
1789
+ 'type' => Controls_Manager::COLOR,
1790
+ 'default' => '#ffffff',
1791
+ 'selectors' => [
1792
+ '{{WRAPPER}} .wpr-comment-form input[type=text]:focus' => 'background-color: {{VALUE}};',
1793
+ '{{WRAPPER}} .wpr-comment-form textarea:focus' => 'background-color: {{VALUE}};',
1794
+ ]
1795
+ ]
1796
+ );
1797
+
1798
+ $this->add_control(
1799
+ 'comment_form_border_color_hr',
1800
+ [
1801
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
1802
+ 'type' => Controls_Manager::COLOR,
1803
+ 'selectors' => [
1804
+ '{{WRAPPER}} .wpr-comment-form input[type=text]:focus' => 'border-color: {{VALUE}};',
1805
+ '{{WRAPPER}} .wpr-comment-form textarea:focus' => 'border-color: {{VALUE}};',
1806
+ ],
1807
+ ]
1808
+ );
1809
+
1810
+ $this->end_controls_tab();
1811
+
1812
+ $this->end_controls_tabs();
1813
+
1814
+ $this->add_responsive_control(
1815
+ 'comment_form_padding',
1816
+ [
1817
+ 'label' => esc_html__( 'Padding', 'wpr-addons' ),
1818
+ 'type' => Controls_Manager::DIMENSIONS,
1819
+ 'size_units' => [ 'px' ],
1820
+ 'default' => [
1821
+ 'top' => 10,
1822
+ 'right' => 0,
1823
+ 'bottom' => 10,
1824
+ 'left' => 10,
1825
+ ],
1826
+ 'selectors' => [
1827
+ '{{WRAPPER}} .wpr-comment-form input[type=text]' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1828
+ '{{WRAPPER}} .wpr-comment-form textarea' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1829
+ ],
1830
+ 'separator' => 'before'
1831
+ ]
1832
+ );
1833
+
1834
+ $this->add_control(
1835
+ 'comment_form_border_type',
1836
+ [
1837
+ 'label' => esc_html__( 'Border Type', 'wpr-addons' ),
1838
+ 'type' => Controls_Manager::SELECT,
1839
+ 'options' => [
1840
+ 'none' => esc_html__( 'None', 'wpr-addons' ),
1841
+ 'solid' => esc_html__( 'Solid', 'wpr-addons' ),
1842
+ 'double' => esc_html__( 'Double', 'wpr-addons' ),
1843
+ 'dotted' => esc_html__( 'Dotted', 'wpr-addons' ),
1844
+ 'dashed' => esc_html__( 'Dashed', 'wpr-addons' ),
1845
+ 'groove' => esc_html__( 'Groove', 'wpr-addons' ),
1846
+ ],
1847
+ 'default' => 'solid',
1848
+ 'selectors' => [
1849
+ '{{WRAPPER}} .wpr-comment-form input[type=text]' => 'border-style: {{VALUE}}',
1850
+ '{{WRAPPER}} .wpr-comment-form textarea' => 'border-style: {{VALUE}}',
1851
+ ],
1852
+ 'separator' => 'before',
1853
+ ]
1854
+ );
1855
+
1856
+ $this->add_control(
1857
+ 'comment_form_border_width',
1858
+ [
1859
+ 'label' => esc_html__( 'Border Width', 'wpr-addons' ),
1860
+ 'type' => Controls_Manager::DIMENSIONS,
1861
+ 'size_units' => [ 'px' ],
1862
+ 'default' => [
1863
+ 'top' => 1,
1864
+ 'right' => 1,
1865
+ 'bottom' => 1,
1866
+ 'left' => 1,
1867
+ ],
1868
+ 'selectors' => [
1869
+ '{{WRAPPER}} .wpr-comment-form input[type=text]' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1870
+ '{{WRAPPER}} .wpr-comment-form textarea' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1871
+ ],
1872
+ 'condition' => [
1873
+ 'comment_form_border_type!' => 'none',
1874
+ ],
1875
+ ]
1876
+ );
1877
+
1878
+ $this->add_control(
1879
+ 'comment_form_radius',
1880
+ [
1881
+ 'label' => esc_html__( 'Border Radius', 'wpr-addons' ),
1882
+ 'type' => Controls_Manager::DIMENSIONS,
1883
+ 'size_units' => [ 'px', '%' ],
1884
+ 'default' => [
1885
+ 'top' => 0,
1886
+ 'right' => 0,
1887
+ 'bottom' => 0,
1888
+ 'left' => 0,
1889
+ ],
1890
+ 'selectors' => [
1891
+ '{{WRAPPER}} .wpr-comment-form input[type=text]' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1892
+ '{{WRAPPER}} .wpr-comment-form textarea' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1893
+ ],
1894
+ ]
1895
+ );
1896
+
1897
+ $this->add_responsive_control(
1898
+ 'comment_form_gutter',
1899
+ [
1900
+ 'label' => esc_html__( 'Gutter', 'wpr-addons' ),
1901
+ 'type' => Controls_Manager::SLIDER,
1902
+ 'size_units' => ['px'],
1903
+ 'range' => [
1904
+ 'px' => [
1905
+ 'min' => 0,
1906
+ 'max' => 30,
1907
+ ],
1908
+ ],
1909
+ 'default' => [
1910
+ 'unit' => 'px',
1911
+ 'size' => 10,
1912
+ ],
1913
+ 'selectors' => [
1914
+ '{{WRAPPER}} .wpr-comment-form-author' => 'margin-bottom: {{SIZE}}{{UNIT}}; margin-right: {{SIZE}}{{UNIT}};',
1915
+ '{{WRAPPER}} .wpr-comment-form-email' => 'margin-bottom: {{SIZE}}{{UNIT}}; margin-right: {{SIZE}}{{UNIT}};',
1916
+ '{{WRAPPER}} .wpr-comment-form-url' => 'margin-bottom: {{SIZE}}{{UNIT}};',
1917
+ '{{WRAPPER}} .wpr-comment-form-text' => 'margin-bottom: {{SIZE}}{{UNIT}};',
1918
+ ],
1919
+ 'separator' => 'before'
1920
+ ]
1921
+ );
1922
+
1923
+ $this->end_controls_section();
1924
+
1925
+ // Styles ====================
1926
+ // Section: Submit Button ----
1927
+ $this->start_controls_section(
1928
+ 'section_style_submit_button',
1929
+ [
1930
+ 'label' => esc_html__( 'Submit Button', 'wpr-addons' ),
1931
+ 'tab' => Controls_Manager::TAB_STYLE,
1932
+ 'show_label' => false,
1933
+ ]
1934
+ );
1935
+
1936
+ $this->start_controls_tabs( 'tabs_submit_button_style' );
1937
+
1938
+ $this->start_controls_tab(
1939
+ 'tab_submit_button_normal',
1940
+ [
1941
+ 'label' => __( 'Normal', 'wpr-addons' ),
1942
+ ]
1943
+ );
1944
+
1945
+ $this->add_control(
1946
+ 'submit_button_color',
1947
+ [
1948
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
1949
+ 'type' => Controls_Manager::COLOR,
1950
+ 'default' => '#ffffff',
1951
+ 'selectors' => [
1952
+ '{{WRAPPER}} .wpr-submit-comment' => 'color: {{VALUE}}',
1953
+ ],
1954
+ ]
1955
+ );
1956
+
1957
+ $this->add_control(
1958
+ 'submit_button_bg_color',
1959
+ [
1960
+ 'label' => esc_html__( 'Background Color', 'wpr-addons' ),
1961
+ 'type' => Controls_Manager::COLOR,
1962
+ 'default' => '#605BE5',
1963
+ 'selectors' => [
1964
+ '{{WRAPPER}} .wpr-submit-comment' => 'background-color: {{VALUE}}',
1965
+ ]
1966
+ ]
1967
+ );
1968
+
1969
+ $this->add_control(
1970
+ 'submit_button_border_color',
1971
+ [
1972
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
1973
+ 'type' => Controls_Manager::COLOR,
1974
+ 'default' => '#DBDBDB',
1975
+ 'selectors' => [
1976
+ '{{WRAPPER}} .wpr-submit-comment' => 'border-color: {{VALUE}}',
1977
+ ],
1978
+ ]
1979
+ );
1980
+
1981
+ $this->add_group_control(
1982
+ Group_Control_Typography::get_type(),
1983
+ [
1984
+ 'name' => 'submit_button_typography',
1985
+ 'scheme' => Typography::TYPOGRAPHY_3,
1986
+ 'selector' => '{{WRAPPER}} .wpr-submit-comment',
1987
+ 'fields_options' => [
1988
+ 'typography' => [
1989
+ 'default' => 'custom',
1990
+ ],
1991
+ 'letter_spacing' => [
1992
+ 'default' => [
1993
+ 'size' => '0.5'
1994
+ ]
1995
+ ],
1996
+ 'font_size' => [
1997
+ 'default' => [
1998
+ 'size' => '15',
1999
+ 'unit' => 'px',
2000
+ ],
2001
+ ]
2002
+ ]
2003
+ ]
2004
+ );
2005
+
2006
+ $this->add_control(
2007
+ 'submit_button_transition_duration',
2008
+ [
2009
+ 'label' => esc_html__( 'Transition Duration', 'wpr-addons' ),
2010
+ 'type' => Controls_Manager::NUMBER,
2011
+ 'default' => 0.7,
2012
+ 'min' => 0,
2013
+ 'max' => 5,
2014
+ 'step' => 0.1,
2015
+ 'selectors' => [
2016
+ '{{WRAPPER}} .wpr-submit-comment' => 'transition-duration: {{VALUE}}s',
2017
+ ],
2018
+ ]
2019
+ );
2020
+
2021
+ $this->end_controls_tab();
2022
+
2023
+ $this->start_controls_tab(
2024
+ 'tab_submit_button_hover',
2025
+ [
2026
+ 'label' => __( 'Hover', 'wpr-addons' ),
2027
+ ]
2028
+ );
2029
+
2030
+ $this->add_control(
2031
+ 'submit_button_color_hr',
2032
+ [
2033
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
2034
+ 'type' => Controls_Manager::COLOR,
2035
+ 'default' => '#FFFFFF',
2036
+ 'selectors' => [
2037
+ '{{WRAPPER}} .wpr-submit-comment:hover' => 'color: {{VALUE}}',
2038
+ ],
2039
+ ]
2040
+ );
2041
+
2042
+ $this->add_control(
2043
+ 'submit_button_bg_color_hr',
2044
+ [
2045
+ 'label' => esc_html__( 'Background Color', 'wpr-addons' ),
2046
+ 'type' => Controls_Manager::COLOR,
2047
+ 'default' => '#4C48BD',
2048
+ 'selectors' => [
2049
+ '{{WRAPPER}} .wpr-submit-comment:hover' => 'background-color: {{VALUE}}',
2050
+ ]
2051
+ ]
2052
+ );
2053
+
2054
+ $this->add_control(
2055
+ 'submit_button_border_color_hr',
2056
+ [
2057
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
2058
+ 'type' => Controls_Manager::COLOR,
2059
+ 'selectors' => [
2060
+ '{{WRAPPER}} .wpr-submit-comment:hover' => 'border-color: {{VALUE}}',
2061
+ ],
2062
+ ]
2063
+ );
2064
+
2065
+ $this->end_controls_tab();
2066
+
2067
+ $this->end_controls_tabs();
2068
+
2069
+ $this->add_responsive_control(
2070
+ 'submit_button_padding',
2071
+ [
2072
+ 'label' => esc_html__( 'Padding', 'wpr-addons' ),
2073
+ 'type' => Controls_Manager::DIMENSIONS,
2074
+ 'size_units' => [ 'px' ],
2075
+ 'default' => [
2076
+ 'top' => 10,
2077
+ 'right' => 45,
2078
+ 'bottom' => 10,
2079
+ 'left' => 45,
2080
+ ],
2081
+ 'selectors' => [
2082
+ '{{WRAPPER}} .wpr-submit-comment' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
2083
+ ],
2084
+ 'separator' => 'before'
2085
+ ]
2086
+ );
2087
+
2088
+ $this->add_responsive_control(
2089
+ 'submit_button_margin',
2090
+ [
2091
+ 'label' => esc_html__( 'Margin', 'wpr-addons' ),
2092
+ 'type' => Controls_Manager::DIMENSIONS,
2093
+ 'size_units' => [ 'px' ],
2094
+ 'default' => [
2095
+ 'top' => 25,
2096
+ 'right' => 0,
2097
+ 'bottom' => 0,
2098
+ 'left' => 0,
2099
+ ],
2100
+ 'selectors' => [
2101
+ '{{WRAPPER}} .wpr-submit-comment' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
2102
+ ],
2103
+ ]
2104
+ );
2105
+
2106
+ $this->add_control(
2107
+ 'submit_button_border_type',
2108
+ [
2109
+ 'label' => esc_html__( 'Border Type', 'wpr-addons' ),
2110
+ 'type' => Controls_Manager::SELECT,
2111
+ 'options' => [
2112
+ 'none' => esc_html__( 'None', 'wpr-addons' ),
2113
+ 'solid' => esc_html__( 'Solid', 'wpr-addons' ),
2114
+ 'double' => esc_html__( 'Double', 'wpr-addons' ),
2115
+ 'dotted' => esc_html__( 'Dotted', 'wpr-addons' ),
2116
+ 'dashed' => esc_html__( 'Dashed', 'wpr-addons' ),
2117
+ 'groove' => esc_html__( 'Groove', 'wpr-addons' ),
2118
+ ],
2119
+ 'default' => 'none',
2120
+ 'selectors' => [
2121
+ '{{WRAPPER}} .wpr-submit-comment' => 'border-style: {{VALUE}};',
2122
+ ],
2123
+ 'separator' => 'before',
2124
+ ]
2125
+ );
2126
+
2127
+ $this->add_control(
2128
+ 'submit_button_border_width',
2129
+ [
2130
+ 'label' => esc_html__( 'Border Width', 'wpr-addons' ),
2131
+ 'type' => Controls_Manager::DIMENSIONS,
2132
+ 'size_units' => [ 'px' ],
2133
+ 'default' => [
2134
+ 'top' => 1,
2135
+ 'right' => 1,
2136
+ 'bottom' => 1,
2137
+ 'left' => 1,
2138
+ ],
2139
+ 'selectors' => [
2140
+ '{{WRAPPER}} .wpr-submit-comment' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
2141
+ ],
2142
+ 'condition' => [
2143
+ 'submit_button_border_type!' => 'none',
2144
+ ],
2145
+ ]
2146
+ );
2147
+
2148
+ $this->add_control(
2149
+ 'submit_button_radius',
2150
+ [
2151
+ 'label' => esc_html__( 'Border Radius', 'wpr-addons' ),
2152
+ 'type' => Controls_Manager::DIMENSIONS,
2153
+ 'size_units' => [ 'px', '%' ],
2154
+ 'default' => [
2155
+ 'top' => 0,
2156
+ 'right' => 0,
2157
+ 'bottom' => 0,
2158
+ 'left' => 0,
2159
+ ],
2160
+ 'selectors' => [
2161
+ '{{WRAPPER}} .wpr-submit-comment' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
2162
+ ],
2163
+ ]
2164
+ );
2165
+
2166
+ $this->add_control(
2167
+ 'submit_button_align',
2168
+ [
2169
+ 'label' => esc_html__( 'Align', 'wpr-addons' ),
2170
+ 'type' => Controls_Manager::CHOOSE,
2171
+ 'label_block' => false,
2172
+ 'default' => 'left',
2173
+ 'options' => [
2174
+ 'left' => [
2175
+ 'title' => esc_html__( 'Left', 'wpr-addons' ),
2176
+ 'icon' => 'eicon-h-align-left',
2177
+ ],
2178
+ 'center' => [
2179
+ 'title' => esc_html__( 'Center', 'wpr-addons' ),
2180
+ 'icon' => 'eicon-h-align-center',
2181
+ ],
2182
+ 'right' => [
2183
+ 'title' => esc_html__( 'Right', 'wpr-addons' ),
2184
+ 'icon' => 'eicon-h-align-right',
2185
+ ]
2186
+ ],
2187
+ 'selectors' => [
2188
+ '{{WRAPPER}} .form-submit' => 'text-align: {{VALUE}}',
2189
+ ],
2190
+ 'separator' => 'before'
2191
+ ]
2192
+ );
2193
+
2194
+ $this->end_controls_section();
2195
+
2196
+ }
2197
+
2198
+ // Outputs a comment in the HTML5 format
2199
+ public static function html5_comment( $comment, $args, $depth ) {
2200
+ // Get Settings
2201
+ $this_widget = $GLOBALS['wpr_post_comments_widget'];
2202
+ $settings = $this_widget->get_settings();
2203
+
2204
+ if ( !wpr_fs()->can_use_premium_code() ) {
2205
+ $settings['comments_avatar_size'] = 60;
2206
+ }
2207
+
2208
+ // Class, URL, Name
2209
+ $comment_class = implode( ' ', get_comment_class( $comment->has_children ? 'parent' : '', $comment ) );
2210
+ $author_url = get_comment_author_url( $comment );
2211
+ $author_name = get_comment_author( $comment );
2212
+
2213
+ // Comment HTML
2214
+ echo '<li id="comment-'. get_comment_ID() .'" class="'. esc_attr( $comment_class ) .'">';
2215
+ echo '<article class="wpr-post-comment elementor-clearfix">';
2216
+
2217
+ // Comment Avatar
2218
+ if ( 'yes' === $settings['comments_avatar'] ) {
2219
+ echo '<div class="wpr-comment-avatar">';
2220
+ echo get_avatar( $comment, $settings['comments_avatar_size'] );
2221
+ echo '</div>';
2222
+ }
2223
+
2224
+ // Comment Meta
2225
+ echo '<div class="wpr-comment-meta">';
2226
+ // Comment Author
2227
+ echo '<div class="wpr-comment-author">';
2228
+ if ( '' === $author_url ) {
2229
+ echo '<span>'. esc_html( $author_name ) .'</span>';
2230
+ } else {
2231
+ echo '<a href="'. esc_url( $author_url ) .'">'. esc_html( $author_name ) .'</a>';
2232
+ }
2233
+ echo '</div>';
2234
+
2235
+ // Comment Metadata
2236
+ echo '<div class="wpr-comment-metadata elementor-clearfix">';
2237
+ // Date and Time
2238
+ echo '<span>'. get_comment_date( '', $comment ) . esc_html__( ' at ', 'wpr-addons' ) . get_comment_time() .'</span>';
2239
+
2240
+ // Edit Link
2241
+ edit_comment_link( esc_html__( 'Edit', 'wpr-addons' ), ' | ', '' );
2242
+
2243
+ // Reply Button
2244
+ if ( 'inline' === $settings['comments_reply_location'] ) {
2245
+ comment_reply_link(
2246
+ array_merge( $args, [
2247
+ 'depth' => $depth,
2248
+ 'max_depth' => $args['max_depth'],
2249
+ 'before' => '<div class="wpr-comment-reply">',
2250
+ 'after' => '</div>',
2251
+ ] )
2252
+ );
2253
+ }
2254
+
2255
+ // Moderation
2256
+ if ( '0' == $comment->comment_approved ) {
2257
+ echo '<p>'. esc_html__( 'Your comment is awaiting moderation.', 'wpr-addons' ) .'</p>';
2258
+ }
2259
+ echo '</div>';
2260
+ echo '</div>';
2261
+
2262
+ // Comment Content
2263
+ echo '<div class="wpr-comment-content">';
2264
+ comment_text( $comment );
2265
+ echo '</div>';
2266
+
2267
+ // Reply Button
2268
+ if ( 'separate' === $settings['comments_reply_location'] ) {
2269
+ comment_reply_link(
2270
+ array_merge( $args, [
2271
+ 'depth' => $depth,
2272
+ 'max_depth' => $args['max_depth'],
2273
+ 'before' => '<div class="wpr-comment-reply">',
2274
+ 'after' => '</div>',
2275
+ ] )
2276
+ );
2277
+ }
2278
+
2279
+ echo '</article>';
2280
+ echo '</li>';
2281
+ }
2282
+
2283
+ protected function render() {
2284
+ $is_editor = \Elementor\Plugin::$instance->editor->is_edit_mode();
2285
+
2286
+ // Temp log out user
2287
+ if ( $is_editor ) {
2288
+ $store_current_user = wp_get_current_user()->ID;
2289
+ wp_set_current_user( 0 );
2290
+ }
2291
+
2292
+
2293
+ // Get Settings
2294
+ $settings = $this->get_settings();
2295
+
2296
+ $GLOBALS['wpr_post_comments_widget'] = $this;
2297
+
2298
+ if ( ! comments_open( get_the_ID() ) ) {
2299
+ return;
2300
+ }
2301
+
2302
+ // Comments Count
2303
+ $count = get_comments_number( get_the_ID() );
2304
+
2305
+ // Comments Wrapper
2306
+ echo '<div class="wpr-comments-wrap" id="comments">';
2307
+
2308
+ // If comments are open or we have at least one comment
2309
+ if ( $count ) {
2310
+
2311
+ if ( $count == 1 ) {
2312
+ $text = $count .' '. $settings['comments_text_1'];
2313
+ } elseif ( $count > 1 ) {
2314
+ $text = $count .' '. $settings['comments_text_2'];
2315
+ }
2316
+
2317
+ // Comments
2318
+ if ( 'yes' === $settings['section_title'] ) {
2319
+ echo '<h3> '. $text .'</h3>';
2320
+ }
2321
+
2322
+ // Get Post Comments
2323
+ $get_comments = get_comments( [ 'post_id' => get_the_ID() ] );
2324
+
2325
+ // Comments List HTML
2326
+ echo '<ul class="wpr-comments-list">';
2327
+ wp_list_comments( [ 'callback' => [$this, 'html5_comment'] ], $get_comments );
2328
+ echo '</ul>';
2329
+
2330
+ unset( $GLOBALS['wpr_post_comments_widget'] );
2331
+
2332
+ // Comments Navigation
2333
+ if ( get_comment_pages_count($get_comments) > 1 && get_option( 'page_comments' ) ) {
2334
+ echo '<div class="wpr-comments-navigation wpr-comments-navigation-'. $settings['comments_navigation_align'] .'">';
2335
+ paginate_comments_links([
2336
+ 'base' => add_query_arg( 'cpage', '%#%' ),
2337
+ 'format' => '',
2338
+ 'total' => get_comment_pages_count($get_comments),
2339
+ 'echo' => true,
2340
+ 'add_fragment' => '#comments',
2341
+ 'prev_text' => '<i class="eicon-arrow-left"></i> '. esc_html__( 'Previous', 'wpr-addons' ),
2342
+ 'next_text' => esc_html__( 'Next', 'wpr-addons' ) .' <i class="eicon-arrow-right"></i>',
2343
+ ]);
2344
+ echo '</div>';
2345
+ }
2346
+ }
2347
+
2348
+ // Comment Form: Author, Email and Website Fields
2349
+ add_filter( 'comment_form_default_fields', function( $defaults ) {
2350
+ $settings = $this->get_settings();
2351
+ $author_label = $email_label = $url_label = '';
2352
+ $author_ph = $email_ph = $url_ph = '';
2353
+ $req = get_option( 'require_name_email' );
2354
+
2355
+ // Labels
2356
+ if ( 'yes' === $settings['comment_form_labels'] ) {
2357
+ $author_label = '<label>'. esc_html__( 'Name', 'wpr-addons' ) . ($req ? '<span>*</span>' : '') .'</label>';
2358
+ $email_label = '<label>'. esc_html__( 'Email', 'wpr-addons' ) . ($req ? '<span>*</span>' : '') .'</label>';
2359
+ $url_label = '<label>'. esc_html__( 'Website', 'wpr-addons' ) .'</label>';
2360
+ }
2361
+
2362
+ if ( !wpr_fs()->can_use_premium_code() ) {
2363
+ $settings['comment_form_placeholders'] = '';
2364
+ }
2365
+
2366
+ // Placeholders
2367
+ if ( 'yes' === $settings['comment_form_placeholders'] ) {
2368
+ $author_ph = esc_html__( 'Name', 'wpr-addons' ) . ($req ? '*' : '');
2369
+ $email_ph = esc_html__( 'Email', 'wpr-addons' ) . ($req ? '*' : '');
2370
+ $url_ph = esc_html__( 'Website', 'wpr-addons' );
2371
+ }
2372
+
2373
+ $fields = [
2374
+ // name
2375
+ 'author' => '<div class="wpr-comment-form-fields"> <div class="wpr-comment-form-author">'. $author_label .
2376
+ '<input type="text" name="author" placeholder="'. $author_ph .'"/></div>',
2377
+ // Email
2378
+ 'email' => '<div class="wpr-comment-form-email">'. $email_label .
2379
+ '<input type="text" name="email" placeholder="'. $email_ph .'"/></div>',
2380
+ // Website
2381
+ 'url' => '<div class="wpr-comment-form-url">'. $url_label .
2382
+ '<input type="text" name="url" placeholder="'. $url_ph .'"/></div></div>',
2383
+ ];
2384
+
2385
+ // Remove Website Field
2386
+ if ( '' === $settings['comment_form_website'] ) {
2387
+ $fields['url'] = '</div>';
2388
+ }
2389
+
2390
+ return $fields;
2391
+ } );
2392
+
2393
+ // Comment Form Defaults
2394
+ add_filter( 'comment_form_defaults', function( $defaults ) {
2395
+ $settings = $this->get_settings();
2396
+ $text_label = $text_ph = '';
2397
+ $req = get_option( 'require_name_email' );
2398
+
2399
+ // Text Input Label
2400
+ if ( 'yes' === $settings['comment_form_labels'] ) {
2401
+ $text_label = '<label>'. esc_html__( 'Message', 'wpr-addons' ) . ($req ? '<span>*</span>' : '') .'</label>';
2402
+ }
2403
+
2404
+ if ( !wpr_fs()->can_use_premium_code() ) {
2405
+ $settings['comment_form_placeholders'] = '';
2406
+ }
2407
+
2408
+ // Text Input Placeholder
2409
+ if ( 'yes' === $settings['comment_form_placeholders'] ) {
2410
+ $text_ph = esc_html__( 'Message', 'wpr-addons' ) . ($req ? '*' : '');
2411
+ }
2412
+
2413
+ // Form
2414
+ $defaults['id_form'] = 'wpr-comment-form';
2415
+ $defaults['class_form'] = 'wpr-comment-form wpr-cf-'. $settings['comments_form_layout'];
2416
+
2417
+ // No Website Filed Class
2418
+ if ( '' === $settings['comment_form_website'] ) {
2419
+ $defaults['class_form'] .= ' wpr-cf-no-url';
2420
+ }
2421
+
2422
+ // Title
2423
+ $defaults['title_reply'] = $settings['comment_form_title'];
2424
+ $defaults['title_reply_before'] = '<h3 id="wpr-reply-title" class="wpr-comment-reply-title">';
2425
+ $defaults['title_reply_after'] = '</h3>';
2426
+
2427
+ // Text Field
2428
+ $defaults['comment_field'] = '<div class="wpr-comment-form-text">' . $text_label;
2429
+ $defaults['comment_field'] .= '<textarea name="comment" placeholder="'. $text_ph .'" cols="45" rows="8" maxlength="65525"></textarea>';
2430
+ $defaults['comment_field'] .= '</div>';
2431
+
2432
+ // Submit Button
2433
+ $defaults['id_submit'] = 'wpr-submit-comment';
2434
+ $defaults['class_submit'] = 'wpr-submit-comment';
2435
+ $defaults['label_submit'] = $settings['comment_form_submit_text'];
2436
+
2437
+ return $defaults;
2438
+ } );
2439
+
2440
+ // Form Output
2441
+ comment_form();
2442
+
2443
+ echo '</div>'; // End .wpr-comments-wrap
2444
+
2445
+
2446
+ // Logged-in user back.
2447
+ if ( $is_editor ) {
2448
+ wp_set_current_user( $store_current_user );
2449
+ }
2450
+ }
2451
+
2452
+ }
modules/theme-builder/post-content/module.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Modules\ThemeBuilder\PostContent;
3
+
4
+ use WprAddons\Base\Module_Base;
5
+ use WprAddons\Classes\Utilities;
6
+
7
+ class Module extends Module_Base {
8
+
9
+ public function __construct() {
10
+ parent::__construct();
11
+
12
+ // This is here for extensibility purposes - go to town and make things happen!
13
+ }
14
+
15
+ public function get_name() {
16
+ return 'wpr-post-content';
17
+ }
18
+
19
+ public function get_widgets() {
20
+ return [
21
+ 'Wpr_Post_Content', // This should match the widget/element class.
22
+ ];
23
+ }
24
+
25
+ }
modules/theme-builder/post-content/widgets/wpr-post-content.php ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Modules\ThemeBuilder\PostContent\Widgets;
3
+
4
+ use Elementor\Widget_Base;
5
+ use Elementor\Controls_Manager;
6
+ use Elementor\Core\Responsive\Responsive;
7
+ use Elementor\Group_Control_Typography;
8
+ use Elementor\Core\Schemes\Typography;
9
+ use Elementor\Core\Schemes\Color;
10
+ use WprAddons\Classes\Utilities;
11
+
12
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
13
+
14
+ class Wpr_Post_Content extends Widget_Base {
15
+
16
+ public function get_name() {
17
+ return 'wpr-post-content';
18
+ }
19
+
20
+ public function get_title() {
21
+ return esc_html__( 'Post Content', 'wpr-addons' );
22
+ }
23
+
24
+ public function get_icon() {
25
+ return 'wpr-icon eicon-post-content';
26
+ }
27
+
28
+ public function get_categories() {
29
+ return Utilities::show_theme_buider_widget_on('single') ? [ 'wpr-theme-builder-widgets' ] : [];
30
+ }
31
+
32
+ public function get_keywords() {
33
+ return [ 'post', 'content' ];
34
+ }
35
+
36
+ protected function register_controls() {
37
+
38
+ // Tab: Content ==============
39
+ // Section: General ----------
40
+ $this->start_controls_section(
41
+ 'section_post_content',
42
+ [
43
+ 'label' => esc_html__( 'General', 'wpr-addons' ),
44
+ 'tab' => Controls_Manager::TAB_CONTENT,
45
+ ]
46
+ );
47
+
48
+ $this->add_control(
49
+ 'post_content_display',
50
+ [
51
+ 'label' => esc_html__( 'Display As', 'wpr-addons' ),
52
+ 'type' => Controls_Manager::SELECT,
53
+ 'default' => 'content',
54
+ 'options' => [
55
+ 'content' => esc_html__( 'Post Content', 'wpr-addons' ),
56
+ 'excerpt' => esc_html__( 'Post Excerpt', 'wpr-addons' ),
57
+ ],
58
+ ]
59
+ );
60
+
61
+ // $this->add_control(
62
+ // 'post_content_dropcap',
63
+ // [
64
+ // 'label' => esc_html__( 'Enable Drop Cap', 'wpr-addons' ),
65
+ // 'type' => Controls_Manager::SWITCHER,
66
+ // 'return_value' => 'yes',
67
+ // 'separator' => 'before'
68
+ // ]
69
+ // );
70
+
71
+ $this->add_responsive_control(
72
+ 'post_content_align',
73
+ [
74
+ 'label' => esc_html__( 'Alignment', 'wpr-addons' ),
75
+ 'type' => Controls_Manager::CHOOSE,
76
+ 'label_block' => false,
77
+ 'options' => [
78
+ 'left' => [
79
+ 'title' => __( 'Left', 'wpr-addons' ),
80
+ 'icon' => 'eicon-text-align-left',
81
+ ],
82
+ 'center' => [
83
+ 'title' => __( 'Center', 'wpr-addons' ),
84
+ 'icon' => 'eicon-text-align-center',
85
+ ],
86
+ 'right' => [
87
+ 'title' => __( 'Right', 'wpr-addons' ),
88
+ 'icon' => 'eicon-text-align-right',
89
+ ],
90
+ 'justify' => [
91
+ 'title' => __( 'Justified', 'wpr-addons' ),
92
+ 'icon' => 'eicon-text-align-justify',
93
+ ],
94
+ ],
95
+ 'selectors' => [
96
+ '{{WRAPPER}} .wpr-post-content' => 'text-align: {{VALUE}}',
97
+ ],
98
+ 'separator' => 'before'
99
+ ]
100
+ );
101
+
102
+ $this->end_controls_section(); // End Controls Section
103
+
104
+ // Styles ====================
105
+ // Section: Content ----------
106
+ $this->start_controls_section(
107
+ 'section_style_content',
108
+ [
109
+ 'label' => esc_html__( 'Content', 'wpr-addons' ),
110
+ 'tab' => Controls_Manager::TAB_STYLE,
111
+ 'show_label' => false,
112
+ ]
113
+ );
114
+
115
+ $this->add_control(
116
+ 'title_color',
117
+ [
118
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
119
+ 'type' => Controls_Manager::COLOR,
120
+ 'default' => '#777777',
121
+ 'selectors' => [
122
+ '{{WRAPPER}} .wpr-post-content' => 'color: {{VALUE}}',
123
+ ],
124
+ ]
125
+ );
126
+
127
+ $this->add_control(
128
+ 'title_link_color',
129
+ [
130
+ 'label' => esc_html__( 'Link Color', 'wpr-addons' ),
131
+ 'type' => Controls_Manager::COLOR,
132
+ 'selectors' => [
133
+ '{{WRAPPER}} .wpr-post-content a' => 'color: {{VALUE}}',
134
+ ],
135
+ ]
136
+ );
137
+
138
+ $this->add_control(
139
+ 'title_link_hover_color',
140
+ [
141
+ 'label' => esc_html__( 'Link Hover Color', 'wpr-addons' ),
142
+ 'type' => Controls_Manager::COLOR,
143
+ 'selectors' => [
144
+ '{{WRAPPER}} .wpr-post-content a:hover' => 'color: {{VALUE}}',
145
+ ],
146
+ ]
147
+ );
148
+
149
+ $this->add_group_control(
150
+ Group_Control_Typography::get_type(),
151
+ [
152
+ 'name' => 'content_typography',
153
+ 'scheme' => Typography::TYPOGRAPHY_3,
154
+ 'selector' => '{{WRAPPER}} .wpr-post-content',
155
+ 'fields_options' => [
156
+ 'typography' => [
157
+ 'default' => 'custom',
158
+ ],
159
+ 'font_size' => [
160
+ 'default' => [
161
+ 'size' => '14',
162
+ 'unit' => 'px',
163
+ ],
164
+ ],
165
+ ]
166
+ ]
167
+ );
168
+
169
+ $this->add_control(
170
+ 'title_link_transition_duration',
171
+ [
172
+ 'label' => esc_html__( 'Transition Duration', 'wpr-addons' ),
173
+ 'type' => Controls_Manager::NUMBER,
174
+ 'default' => 0.1,
175
+ 'min' => 0,
176
+ 'max' => 5,
177
+ 'step' => 0.1,
178
+ 'selectors' => [
179
+ '{{WRAPPER}} .wpr-post-content a' => 'transition-duration: {{VALUE}}s',
180
+ ],
181
+ ]
182
+ );
183
+
184
+ // $this->add_group_control(
185
+ // Group_Control_Typography::get_type(),
186
+ // [
187
+ // 'name' => 'content_dropcap_typography',
188
+ // 'label' => esc_html__( 'Drop Cap Typography', 'wpr-addons' ),
189
+ // 'scheme' => Typography::TYPOGRAPHY_3,
190
+ // 'selector' => '{{WRAPPER}} .wpr-post-content.wpr-enable-dropcap p:first-child:first-letter'
191
+ // ]
192
+ // );
193
+
194
+ $this->end_controls_section();
195
+
196
+ }
197
+
198
+ protected function render() {
199
+ // Get Settings
200
+ $settings = $this->get_settings();
201
+
202
+ // $dropcap_class = 'yes' === $settings['post_content_dropcap'] ? ' wpr-enable-dropcap' : '';
203
+
204
+ echo '<div class="wpr-post-content">';
205
+ if ( \Elementor\Plugin::$instance->preview->is_preview_mode() ) {
206
+ \Elementor\Plugin::$instance->modules_manager->get_modules( 'page-templates' )->print_content();
207
+ } else {
208
+ if ( 'content' === $settings['post_content_display'] ) {
209
+ the_content();
210
+ } else {
211
+ the_excerpt();
212
+ }
213
+ }
214
+ echo '</div>';
215
+
216
+ }
217
+
218
+ }
modules/theme-builder/post-info/module.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Modules\ThemeBuilder\PostInfo;
3
+
4
+ use WprAddons\Base\Module_Base;
5
+ use WprAddons\Classes\Utilities;
6
+
7
+ class Module extends Module_Base {
8
+
9
+ public function __construct() {
10
+ parent::__construct();
11
+
12
+ // This is here for extensibility purposes - go to town and make things happen!
13
+ }
14
+
15
+ public function get_name() {
16
+ return 'wpr-post-info';
17
+ }
18
+
19
+ public function get_widgets() {
20
+ return [
21
+ 'Wpr_Post_Info', // This should match the widget/element class.
22
+ ];
23
+ }
24
+
25
+ }
modules/theme-builder/post-info/widgets/wpr-post-info.php ADDED
@@ -0,0 +1,1200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Modules\ThemeBuilder\PostInfo\Widgets;
3
+
4
+ use Elementor\Widget_Base;
5
+ use Elementor\Controls_Manager;
6
+ use Elementor\Core\Responsive\Responsive;
7
+ use Elementor\Group_Control_Typography;
8
+ use Elementor\Core\Schemes\Typography;
9
+ use Elementor\Core\Schemes\Color;
10
+ use Elementor\Group_Control_Border;
11
+ use Elementor\Repeater;
12
+ use WprAddons\Classes\Utilities;
13
+
14
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
15
+
16
+ class Wpr_Post_Info extends Widget_Base {
17
+
18
+ public function get_name() {
19
+ return 'wpr-post-info';
20
+ }
21
+
22
+ public function get_title() {
23
+ return esc_html__( 'Post Meta', 'wpr-addons' );
24
+ }
25
+
26
+ public function get_icon() {
27
+ return 'wpr-icon eicon-post-info';
28
+ }
29
+
30
+ public function get_categories() {
31
+ return Utilities::show_theme_buider_widget_on('single') ? [ 'wpr-theme-builder-widgets' ] : [];
32
+ }
33
+
34
+ public function get_keywords() {
35
+ return [ 'meta', 'info', 'date', 'time', 'author', 'categories', 'tags', 'comments' ];
36
+ }
37
+
38
+ public function add_options_post_info_select() {
39
+ return [
40
+ 'date' => esc_html__( 'Date', 'wpr-addons' ),
41
+ 'time' => esc_html__( 'Time', 'wpr-addons' ),
42
+ 'comments' => esc_html__( 'Comments', 'wpr-addons' ),
43
+ 'author' => esc_html__( 'Author', 'wpr-addons' ),
44
+ 'taxonomy' => esc_html__( 'Taxonomy', 'wpr-addons' ),
45
+ 'pro-cf' => esc_html__( 'Custom Field (Pro)', 'wpr-addons' ),
46
+ ];
47
+ }
48
+
49
+ public function add_section_style_custom_field() {}
50
+
51
+ public function get_post_taxonomies() {
52
+ return [
53
+ 'category' => esc_html__( 'Categories', 'wpr-addons' ),
54
+ 'post_tag' => esc_html__( 'Tags', 'wpr-addons' ),
55
+ ];
56
+ }
57
+
58
+ protected function register_controls() {
59
+
60
+ // Get Available Meta Keys
61
+ $post_meta_keys = Utilities::get_custom_meta_keys();
62
+
63
+ // Tab: Content ==============
64
+ // Section: General ----------
65
+ $this->start_controls_section(
66
+ 'section_post_info',
67
+ [
68
+ 'label' => esc_html__( 'General', 'wpr-addons' ),
69
+ 'tab' => Controls_Manager::TAB_CONTENT,
70
+ ]
71
+ );
72
+
73
+ $this->add_control(
74
+ 'post_info_layout',
75
+ [
76
+ 'label' => esc_html__( 'List Layout', 'wpr-addons' ),
77
+ 'type' => Controls_Manager::CHOOSE,
78
+ 'default' => 'vertical',
79
+ 'options' => [
80
+ 'vertical' => [
81
+ 'title' => esc_html__( 'Vertical', 'wpr-addons' ),
82
+ 'icon' => 'eicon-editor-list-ul',
83
+ ],
84
+ 'horizontal' => [
85
+ 'title' => esc_html__( 'Horizontal', 'wpr-addons' ),
86
+ 'icon' => 'eicon-ellipsis-h',
87
+ ],
88
+ ],
89
+ 'label_block' => false,
90
+ ]
91
+ );
92
+
93
+ $repeater = new Repeater();
94
+
95
+ $repeater->add_control(
96
+ 'post_info_select',
97
+ [
98
+ 'label' => esc_html__( 'Select Element', 'wpr-addons' ),
99
+ 'type' => Controls_Manager::SELECT,
100
+ 'default' => 'time',
101
+ 'options' => $this->add_options_post_info_select(),
102
+ 'separator' => 'after'
103
+ ]
104
+ );
105
+
106
+ Utilities::upgrade_pro_notice( $repeater, Controls_Manager::RAW_HTML, 'post-info', 'post_info_select', ['pro-cf'] );
107
+
108
+ $repeater->add_control(
109
+ 'post_info_comments_text_1',
110
+ [
111
+ 'label' => esc_html__( 'No Comments', 'wpr-addons' ),
112
+ 'type' => Controls_Manager::TEXT,
113
+ 'default' => ' No Comments',
114
+ 'condition' => [
115
+ 'post_info_select' => 'comments',
116
+ ]
117
+ ]
118
+ );
119
+
120
+ $repeater->add_control(
121
+ 'post_info_comments_text_2',
122
+ [
123
+ 'label' => esc_html__( 'One Comment', 'wpr-addons' ),
124
+ 'type' => Controls_Manager::TEXT,
125
+ 'default' => ' Comment',
126
+ 'condition' => [
127
+ 'post_info_select' => 'comments',
128
+ ]
129
+ ]
130
+ );
131
+
132
+ $repeater->add_control(
133
+ 'post_info_comments_text_3',
134
+ [
135
+ 'label' => esc_html__( 'Multiple Comments', 'wpr-addons' ),
136
+ 'type' => Controls_Manager::TEXT,
137
+ 'default' => ' Comments',
138
+ 'separator' => 'after',
139
+ 'condition' => [
140
+ 'post_info_select' => 'comments',
141
+ ],
142
+ ]
143
+ );
144
+
145
+ $repeater->add_control(
146
+ 'post_info_tax_select',
147
+ [
148
+ 'label' => esc_html__( 'Select Taxonomy', 'wpr-addons' ),
149
+ 'type' => Controls_Manager::SELECT,
150
+ 'default' => 'category',
151
+ 'options' => $this->get_post_taxonomies(),
152
+ 'condition' => [
153
+ 'post_info_select' => 'taxonomy',
154
+ ]
155
+ ]
156
+ );
157
+
158
+ $repeater->add_control(
159
+ 'post_info_tax_display',
160
+ [
161
+ 'label' => esc_html__( 'Display', 'wpr-addons' ),
162
+ 'type' => Controls_Manager::SELECT,
163
+ 'default' => 'inline-block',
164
+ 'options' => [
165
+ 'inline-block' => esc_html__( 'Inline', 'wpr-addons' ),
166
+ 'block' => esc_html__( 'Separate', 'wpr-addons' ),
167
+ ],
168
+ 'selectors' => [
169
+ '{{WRAPPER}} .wpr-post-info-taxonomy a' => 'display: {{VALUE}}',
170
+ '{{WRAPPER}} .wpr-post-info-taxonomy > span:not(.wpr-post-info-text)' => 'display: {{VALUE}}',
171
+ ],
172
+ 'condition' => [
173
+ 'post_info_select' => 'taxonomy',
174
+ ]
175
+ ]
176
+ );
177
+
178
+ $repeater->add_control(
179
+ 'post_info_tax_sep',
180
+ [
181
+ 'label' => esc_html__( 'Separator', 'wpr-addons' ),
182
+ 'type' => Controls_Manager::TEXT,
183
+ 'default' => ', ',
184
+ 'separator' => 'after',
185
+ 'condition' => [
186
+ 'post_info_select' => 'taxonomy',
187
+ ]
188
+ ]
189
+ );
190
+
191
+ $repeater->add_control(
192
+ 'post_info_show_avatar',
193
+ [
194
+ 'label' => esc_html__( 'Show Avatar', 'wpr-addons' ),
195
+ 'type' => Controls_Manager::SWITCHER,
196
+ 'default' => '',
197
+ 'return_value' => 'yes',
198
+ 'condition' => [
199
+ 'post_info_select' => 'author'
200
+ ]
201
+ ]
202
+ );
203
+
204
+ $repeater->add_responsive_control(
205
+ 'post_info_avatar_size',
206
+ [
207
+ 'label' => esc_html__( 'Avatar Size', 'wpr-addons' ),
208
+ 'type' => Controls_Manager::NUMBER,
209
+ 'default' => 32,
210
+ 'min' => 8,
211
+ 'selectors' => [
212
+ '{{WRAPPER}} .wpr-post-info-author img' => 'width: {{SIZE}}px;',
213
+ ],
214
+ 'render_type' => 'template',
215
+ 'condition' => [
216
+ 'post_info_select' => 'author',
217
+ 'post_info_show_avatar' => 'yes'
218
+ ],
219
+ ]
220
+ );
221
+
222
+ $repeater->add_control(
223
+ 'post_info_cf',
224
+ [
225
+ 'label' => esc_html__( 'Select Custom Field', 'wpr-addons' ),
226
+ 'type' => Controls_Manager::SELECT2,
227
+ 'label_block' => true,
228
+ 'default' => 'default',
229
+ 'options' => $post_meta_keys[1],
230
+ 'condition' => [
231
+ 'post_info_select' => 'custom-field'
232
+ ],
233
+ ]
234
+ );
235
+
236
+ $repeater->add_control(
237
+ 'post_info_cf_btn_link',
238
+ [
239
+ 'label' => esc_html__( 'Use Value as Button Link', 'wpr-addons' ),
240
+ 'type' => Controls_Manager::SWITCHER,
241
+ 'return_value' => 'yes',
242
+ 'condition' => [
243
+ 'post_info_select' => 'custom-field'
244
+ ],
245
+ ]
246
+ );
247
+
248
+ $repeater->add_control(
249
+ 'post_info_cf_new_tab',
250
+ [
251
+ 'label' => esc_html__( 'Open Link in a New Tab', 'wpr-addons' ),
252
+ 'type' => Controls_Manager::SWITCHER,
253
+ 'return_value' => 'yes',
254
+ 'condition' => [
255
+ 'post_info_select' => 'custom-field',
256
+ 'post_info_cf_btn_link' => 'yes'
257
+ ],
258
+ ]
259
+ );
260
+
261
+ $repeater->add_control(
262
+ 'post_info_cf_btn_text',
263
+ [
264
+ 'label' => esc_html__( 'Button Text', 'wpr-addons' ),
265
+ 'type' => Controls_Manager::TEXT,
266
+ 'default' => 'Click Me',
267
+ 'condition' => [
268
+ 'post_info_select' => 'custom-field',
269
+ 'post_info_cf_btn_link' => 'yes'
270
+ ],
271
+ ]
272
+ );
273
+
274
+ $repeater->add_control(
275
+ 'custom_field_wrapper_html_divider1',
276
+ [
277
+ 'type' => Controls_Manager::DIVIDER,
278
+ 'style' => 'thick',
279
+ 'condition' => [
280
+ 'post_info_select' => 'custom-field',
281
+ ],
282
+ ]
283
+ );
284
+
285
+ $repeater->add_control(
286
+ 'post_info_cf_wrapper',
287
+ [
288
+ 'label' => esc_html__( 'Wrap with HTML', 'wpr-addons' ),
289
+ 'type' => Controls_Manager::SWITCHER,
290
+ 'return_value' => 'yes',
291
+ 'condition' => [
292
+ 'post_info_select' => 'custom-field'
293
+ ],
294
+ ]
295
+ );
296
+
297
+ $repeater->add_control(
298
+ 'post_info_cf_wrapper_html',
299
+ [
300
+ 'label' => esc_html__( 'Custom HTML Wrapper', 'wpr-addons' ),
301
+ 'description' => 'Insert <strong>*cf_value*</strong> to dislpay your Custom Field.',
302
+ 'placeholder'=> 'For Ex: <span>*cf_value*</span>',
303
+ 'type' => Controls_Manager::TEXTAREA,
304
+ 'condition' => [
305
+ 'post_info_select' => 'custom-field',
306
+ 'post_info_cf_wrapper' => 'yes',
307
+ ],
308
+ ]
309
+ );
310
+
311
+ $repeater->add_control(
312
+ 'post_info_link_wrap',
313
+ [
314
+ 'label' => esc_html__( 'Wrap with Link', 'wpr-addons' ),
315
+ 'type' => Controls_Manager::SWITCHER,
316
+ 'default' => '',
317
+ 'return_value' => 'yes',
318
+ 'condition' => [
319
+ 'post_info_select!' => [ 'time', 'custom-field' ],
320
+ ]
321
+ ]
322
+ );
323
+
324
+ $repeater->add_control(
325
+ 'post_info_extra_icon',
326
+ [
327
+ 'label' => esc_html__( 'Extra Icon', 'wpr-addons' ),
328
+ 'type' => Controls_Manager::ICONS,
329
+ 'skin' => 'inline',
330
+ 'label_block' => false,
331
+ 'separator' => 'before',
332
+ ]
333
+ );
334
+
335
+ $repeater->add_control(
336
+ 'post_info_extra_text',
337
+ [
338
+ 'label' => esc_html__( 'Extra Text', 'wpr-addons' ),
339
+ 'type' => Controls_Manager::TEXT,
340
+ 'default' => '',
341
+ ]
342
+ );
343
+
344
+ $this->add_control(
345
+ 'post_info_elements',
346
+ [
347
+ 'label' => esc_html__( 'Post Info Elements', 'wpr-addons' ),
348
+ 'type' => Controls_Manager::REPEATER,
349
+ 'fields' => $repeater->get_controls(),
350
+ 'default' => [
351
+ [
352
+ 'post_info_select' => 'taxonomy',
353
+ ],
354
+ [
355
+ 'post_info_select' => 'date',
356
+ ],
357
+ ],
358
+ 'title_field' => '{{{ post_info_select.charAt(0).toUpperCase() + post_info_select.slice(1) }}}',
359
+ ]
360
+ );
361
+
362
+ $this->end_controls_section();
363
+
364
+ // Section: Pro Features
365
+ Utilities::pro_features_list_section( $this, Controls_Manager::RAW_HTML, 'post-info', [
366
+ 'Display and Style Custom Fields in and Advanced way.',
367
+ 'Query Custom Post Type Taxonomies (categories).'
368
+ ] );
369
+
370
+ // Styles ====================
371
+ // Section: List -------------
372
+ $this->start_controls_section(
373
+ 'section_style_post_info_list',
374
+ [
375
+ 'label' => esc_html__( 'List Style', 'wpr-addons' ),
376
+ 'tab' => Controls_Manager::TAB_STYLE,
377
+ 'show_label' => false,
378
+ ]
379
+ );
380
+
381
+ $this->add_control(
382
+ 'post_info_notice',
383
+ [
384
+ 'type' => Controls_Manager::RAW_HTML,
385
+ 'raw' => esc_html__( 'Some of the options will only apply if you have multiple Post Meta Elements.', 'wpr-addons' ),
386
+ 'content_classes' => 'elementor-panel-alert elementor-panel-alert-info',
387
+ ]
388
+ );
389
+
390
+ $this->add_responsive_control(
391
+ 'post_info_gutter',
392
+ [
393
+ 'label' => esc_html__( 'List Gutter', 'wpr-addons' ),
394
+ 'type' => Controls_Manager::SLIDER,
395
+ 'size_units' => ['px'],
396
+ 'range' => [
397
+ 'px' => [
398
+ 'min' => 0,
399
+ 'max' => 50,
400
+ ],
401
+ ],
402
+ 'default' => [
403
+ 'unit' => 'px',
404
+ 'size' => 0,
405
+ ],
406
+ 'selectors' => [
407
+ '{{WRAPPER}} .wpr-post-info-vertical li' => 'padding-bottom: {{SIZE}}{{UNIT}}; margin-bottom: {{SIZE}}{{UNIT}};',
408
+ '{{WRAPPER}} .wpr-post-info-horizontal li' => 'padding-right: {{SIZE}}{{UNIT}};',
409
+ '{{WRAPPER}} .wpr-post-info-horizontal li:after' => 'right: calc({{SIZE}}{{UNIT}} / 2);',
410
+ ],
411
+ ]
412
+ );
413
+
414
+ $this->add_responsive_control(
415
+ 'post_info_align',
416
+ [
417
+ 'label' => esc_html__( 'Align', 'wpr-addons' ),
418
+ 'type' => Controls_Manager::CHOOSE,
419
+ 'label_block' => false,
420
+ 'default' => 'center',
421
+ 'options' => [
422
+ 'left' => [
423
+ 'title' => esc_html__( 'Left', 'wpr-addons' ),
424
+ 'icon' => 'eicon-h-align-left',
425
+ ],
426
+ 'center' => [
427
+ 'title' => esc_html__( 'Center', 'wpr-addons' ),
428
+ 'icon' => 'eicon-h-align-center',
429
+ ],
430
+ 'right' => [
431
+ 'title' => esc_html__( 'Right', 'wpr-addons' ),
432
+ 'icon' => 'eicon-h-align-right',
433
+ ]
434
+ ],
435
+ 'selectors' => [
436
+ '{{WRAPPER}} .wpr-post-info' => 'text-align: {{VALUE}}',
437
+ ],
438
+ 'prefix_class' => 'wpr-post-info-align-',
439
+ 'separator' => 'after'
440
+ ]
441
+ );
442
+
443
+ $this->add_control(
444
+ 'post_info_divider',
445
+ [
446
+ 'label' => esc_html__( 'Show Dividers', 'wpr-addons' ),
447
+ 'type' => Controls_Manager::SWITCHER,
448
+ 'default' => '',
449
+ 'return_value' => 'yes',
450
+ ]
451
+ );
452
+
453
+ $this->add_control(
454
+ 'post_info_divider_color',
455
+ [
456
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
457
+ 'type' => Controls_Manager::COLOR,
458
+ 'default' => '#ddd',
459
+ 'scheme' => [
460
+ 'type' => Color::get_type(),
461
+ 'value' => Color::COLOR_3,
462
+ ],
463
+ 'selectors' => [
464
+ '{{WRAPPER}} .wpr-post-info li:after' => 'border-color: {{VALUE}};',
465
+ ],
466
+ 'condition' => [
467
+ 'post_info_divider' => 'yes',
468
+ ],
469
+ ]
470
+ );
471
+
472
+ $this->add_control(
473
+ 'post_info_divider_style',
474
+ [
475
+ 'label' => esc_html__( 'Style', 'wpr-addons' ),
476
+ 'type' => Controls_Manager::SELECT,
477
+ 'options' => [
478
+ 'solid' => esc_html__( 'Solid', 'wpr-addons' ),
479
+ 'double' => esc_html__( 'Double', 'wpr-addons' ),
480
+ 'dotted' => esc_html__( 'Dotted', 'wpr-addons' ),
481
+ 'dashed' => esc_html__( 'Dashed', 'wpr-addons' ),
482
+ ],
483
+ 'default' => 'solid',
484
+ 'selectors' => [
485
+ '{{WRAPPER}} .wpr-post-info-vertical li:after' => 'border-bottom-style: {{VALUE}};',
486
+ '{{WRAPPER}} .wpr-post-info-horizontal li:after' => 'border-right-style: {{VALUE}};',
487
+ ],
488
+ 'condition' => [
489
+ 'post_info_divider' => 'yes',
490
+ ],
491
+ ]
492
+ );
493
+
494
+ $this->add_control(
495
+ 'post_info_divider_weight',
496
+ [
497
+ 'label' => esc_html__( 'Weight', 'wpr-addons' ),
498
+ 'type' => Controls_Manager::SLIDER,
499
+ 'default' => [
500
+ 'size' => 1,
501
+ ],
502
+ 'range' => [
503
+ 'px' => [
504
+ 'min' => 1,
505
+ 'max' => 5,
506
+ ],
507
+ ],
508
+ 'selectors' => [
509
+ '{{WRAPPER}} .wpr-post-info-vertical li:after' => 'border-bottom-width: {{SIZE}}{{UNIT}};',
510
+ '{{WRAPPER}} .wpr-post-info-horizontal li:after' => 'border-right-width: {{SIZE}}{{UNIT}}; margin-right: calc(-{{SIZE}}px / 2);',
511
+ ],
512
+ 'condition' => [
513
+ 'post_info_divider' => 'yes',
514
+ ],
515
+ ]
516
+ );
517
+
518
+ $this->add_control(
519
+ 'post_info_divider_width',
520
+ [
521
+ 'label' => esc_html__( 'Width', 'wpr-addons' ),
522
+ 'type' => Controls_Manager::SLIDER,
523
+ 'size_units' => [ '%', 'px' ],
524
+ 'default' => [
525
+ 'unit' => 'px',
526
+ 'size' => 100,
527
+ ],
528
+ 'range' => [
529
+ 'px' => [
530
+ 'min' => 1,
531
+ 'max' => 300,
532
+ ],
533
+ '%' => [
534
+ 'min' => 1,
535
+ 'max' => 100,
536
+ ],
537
+ ],
538
+ 'selectors' => [
539
+ '{{WRAPPER}} .wpr-post-info-vertical li:after' => 'width: {{SIZE}}{{UNIT}};',
540
+ ],
541
+ 'condition' => [
542
+ 'post_info_divider' => 'yes',
543
+ 'post_info_layout!' => 'horizontal',
544
+ ],
545
+ ]
546
+ );
547
+
548
+ $this->add_control(
549
+ 'post_info_divider_height',
550
+ [
551
+ 'label' => esc_html__( 'Height', 'wpr-addons' ),
552
+ 'type' => Controls_Manager::SLIDER,
553
+ 'size_units' => [ 'px' ],
554
+ 'default' => [
555
+ 'unit' => 'px',
556
+ 'size' => 10
557
+ ],
558
+ 'range' => [
559
+ 'px' => [
560
+ 'min' => 1,
561
+ 'max' => 30,
562
+ ],
563
+ ],
564
+ 'selectors' => [
565
+ '{{WRAPPER}} .wpr-post-info-horizontal li:after' => 'height: {{SIZE}}{{UNIT}};',
566
+ ],
567
+ 'condition' => [
568
+ 'post_info_divider' => 'yes',
569
+ 'post_info_layout!' => 'vertical',
570
+ ],
571
+ ]
572
+ );
573
+
574
+ $this->end_controls_section();
575
+
576
+ // Styles ====================
577
+ // Section: Elements ---------
578
+ $this->start_controls_section(
579
+ 'section_style_post_info_elements',
580
+ [
581
+ 'label' => esc_html__( 'Elements (Date, Comments, Author)', 'wpr-addons' ),
582
+ 'tab' => Controls_Manager::TAB_STYLE,
583
+ 'show_label' => false,
584
+ ]
585
+ );
586
+
587
+ $this->start_controls_tabs( 'tabs_post_info_elements_style' );
588
+
589
+ $this->start_controls_tab(
590
+ 'tab_post_info_elements_normal',
591
+ [
592
+ 'label' => esc_html__( 'Normal', 'wpr-addons' ),
593
+ ]
594
+ );
595
+
596
+ $this->add_control(
597
+ 'post_info_elements_color',
598
+ [
599
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
600
+ 'type' => Controls_Manager::COLOR,
601
+ 'default' => '#959595',
602
+ 'selectors' => [
603
+ '{{WRAPPER}} .wpr-post-info li' => 'color: {{VALUE}}',
604
+ '{{WRAPPER}} .wpr-post-info li:not(.wpr-post-info-taxonomy):not(.wpr-post-info-custom-field) a' => 'color: {{VALUE}}',
605
+ ],
606
+ ]
607
+ );
608
+
609
+ $this->add_group_control(
610
+ Group_Control_Typography::get_type(),
611
+ [
612
+ 'name' => 'post_info_elements_typography',
613
+ 'scheme' => Typography::TYPOGRAPHY_3,
614
+ 'label' => esc_html__('Typography', 'wpr-addons'),
615
+ 'selector' => '{{WRAPPER}} .wpr-post-info li:not(.wpr-post-info-taxonomy):not(.wpr-post-info-custom-field)',
616
+ 'fields_options' => [
617
+ 'typography' => [
618
+ 'default' => 'custom',
619
+ ],
620
+ 'font_size' => [
621
+ 'default' => [
622
+ 'size' => '12',
623
+ 'unit' => 'px',
624
+ ],
625
+ ]
626
+ ]
627
+ ]
628
+ );
629
+
630
+ $this->add_control(
631
+ 'post_info_elements_transition_duration',
632
+ [
633
+ 'label' => esc_html__( 'Transition Duration', 'wpr-addons' ),
634
+ 'type' => Controls_Manager::NUMBER,
635
+ 'default' => 0.1,
636
+ 'min' => 0,
637
+ 'max' => 5,
638
+ 'step' => 0.1,
639
+ 'selectors' => [
640
+ '{{WRAPPER}} .wpr-post-info li a' => 'transition-duration: {{VALUE}}s',
641
+ ],
642
+ ]
643
+ );
644
+
645
+ $this->end_controls_tab();
646
+
647
+ $this->start_controls_tab(
648
+ 'tab_post_info_elements_hover',
649
+ [
650
+ 'label' => esc_html__( 'Hover', 'wpr-addons' ),
651
+ ]
652
+ );
653
+
654
+ $this->add_control(
655
+ 'post_info_elements_color_hr',
656
+ [
657
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
658
+ 'type' => Controls_Manager::COLOR,
659
+ 'selectors' => [
660
+ '{{WRAPPER}} .wpr-post-info li:not(.wpr-post-info-taxonomy):not(.wpr-post-info-custom-field) a:hover' => 'color: {{VALUE}}',
661
+ ],
662
+ ]
663
+ );
664
+
665
+ $this->end_controls_tab();
666
+
667
+ $this->end_controls_tabs();
668
+
669
+ $this->end_controls_section();
670
+
671
+ // Styles ====================
672
+ // Section: Taxonomy ---------
673
+ $this->start_controls_section(
674
+ 'section_style_post_info_tax',
675
+ [
676
+ 'label' => esc_html__( 'Taxonomy (Categories, Tags, etc..)', 'wpr-addons' ),
677
+ 'tab' => Controls_Manager::TAB_STYLE,
678
+ 'show_label' => false,
679
+ ]
680
+ );
681
+
682
+ $this->start_controls_tabs( 'tabs_grid_post_info_tax_style' );
683
+
684
+ $this->start_controls_tab(
685
+ 'tab_grid_post_info_tax_normal',
686
+ [
687
+ 'label' => __( 'Normal', 'wpr-addons' ),
688
+ ]
689
+ );
690
+
691
+ $this->add_control(
692
+ 'post_info_tax_color',
693
+ [
694
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
695
+ 'type' => Controls_Manager::COLOR,
696
+ 'default' => '#605BE5',
697
+ 'selectors' => [
698
+ '{{WRAPPER}} .wpr-post-info-taxonomy a' => 'color: {{VALUE}}',
699
+ '{{WRAPPER}} .wpr-post-info-taxonomy > span:not(.wpr-post-info-text)' => 'color: {{VALUE}}',
700
+ ],
701
+ ]
702
+ );
703
+
704
+ $this->add_control(
705
+ 'post_info_tax_bg_color',
706
+ [
707
+ 'label' => esc_html__( 'Background Color', 'wpr-addons' ),
708
+ 'type' => Controls_Manager::COLOR,
709
+ 'selectors' => [
710
+ '{{WRAPPER}} .wpr-post-info-taxonomy a' => 'background-color: {{VALUE}}',
711
+ '{{WRAPPER}} .wpr-post-info-taxonomy > span:not(.wpr-post-info-text)' => 'background-color: {{VALUE}}',
712
+ ]
713
+ ]
714
+ );
715
+
716
+ $this->add_control(
717
+ 'post_info_tax_border_color',
718
+ [
719
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
720
+ 'type' => Controls_Manager::COLOR,
721
+ 'selectors' => [
722
+ '{{WRAPPER}} .wpr-post-info-taxonomy a' => 'border-color: {{VALUE}}',
723
+ '{{WRAPPER}} .wpr-post-info-taxonomy > span:not(.wpr-post-info-text)' => 'border-color: {{VALUE}}',
724
+ ],
725
+ ]
726
+ );
727
+
728
+ $this->add_group_control(
729
+ Group_Control_Typography::get_type(),
730
+ [
731
+ 'name' => 'post_info_tax_typography',
732
+ 'scheme' => Typography::TYPOGRAPHY_3,
733
+ 'selector' => '{{WRAPPER}} .wpr-post-info-taxonomy a, {{WRAPPER}} .wpr-post-info-taxonomy > span:not(.wpr-post-info-text)',
734
+ 'separator' => 'before',
735
+ 'fields_options' => [
736
+ 'typography' => [
737
+ 'default' => 'custom',
738
+ ],
739
+ 'font_size' => [
740
+ 'default' => [
741
+ 'size' => '15',
742
+ 'unit' => 'px',
743
+ ],
744
+ ]
745
+ ]
746
+ ]
747
+ );
748
+
749
+ $this->end_controls_tab();
750
+
751
+ $this->start_controls_tab(
752
+ 'tab_grid_post_info_tax_hover',
753
+ [
754
+ 'label' => __( 'Hover', 'wpr-addons' ),
755
+ ]
756
+ );
757
+
758
+ $this->add_control(
759
+ 'post_info_tax_color_hr',
760
+ [
761
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
762
+ 'type' => Controls_Manager::COLOR,
763
+ 'default' => '#54595F',
764
+ 'selectors' => [
765
+ '{{WRAPPER}} .wpr-post-info-taxonomy a:hover' => 'color: {{VALUE}}',
766
+ ],
767
+ ]
768
+ );
769
+
770
+ $this->add_control(
771
+ 'post_info_tax_bg_color_hr',
772
+ [
773
+ 'label' => esc_html__( 'Background Color', 'wpr-addons' ),
774
+ 'type' => Controls_Manager::COLOR,
775
+ 'selectors' => [
776
+ '{{WRAPPER}} .wpr-post-info-taxonomy a:hover' => 'background-color: {{VALUE}}',
777
+ ]
778
+ ]
779
+ );
780
+
781
+ $this->add_control(
782
+ 'post_info_tax_border_color_hr',
783
+ [
784
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
785
+ 'type' => Controls_Manager::COLOR,
786
+ 'selectors' => [
787
+ '{{WRAPPER}} .wpr-post-info-taxonomy a:hover' => 'border-color: {{VALUE}}',
788
+ ],
789
+ ]
790
+ );
791
+
792
+ $this->end_controls_tab();
793
+
794
+ $this->end_controls_tabs();
795
+
796
+ $this->add_responsive_control(
797
+ 'post_info_tax_padding',
798
+ [
799
+ 'label' => esc_html__( 'Padding', 'wpr-addons' ),
800
+ 'type' => Controls_Manager::DIMENSIONS,
801
+ 'size_units' => [ 'px' ],
802
+ 'default' => [
803
+ 'top' => 0,
804
+ 'right' => 0,
805
+ 'bottom' => 0,
806
+ 'left' => 0,
807
+ ],
808
+ 'selectors' => [
809
+ '{{WRAPPER}} .wpr-post-info-taxonomy a' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
810
+ '{{WRAPPER}} .wpr-post-info-taxonomy > span:not(.wpr-post-info-text)' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
811
+ ],
812
+ 'separator' => 'before'
813
+ ]
814
+ );
815
+
816
+ $this->add_responsive_control(
817
+ 'post_info_tax_margin',
818
+ [
819
+ 'label' => esc_html__( 'Margin', 'wpr-addons' ),
820
+ 'type' => Controls_Manager::DIMENSIONS,
821
+ 'size_units' => [ 'px' ],
822
+ 'default' => [
823
+ 'top' => 0,
824
+ 'right' => 0,
825
+ 'bottom' => 0,
826
+ 'left' => 0,
827
+ ],
828
+ 'selectors' => [
829
+ '{{WRAPPER}} .wpr-post-info-taxonomy a' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
830
+ '{{WRAPPER}} .wpr-post-info-taxonomy > span:not(.wpr-post-info-text)' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
831
+ ],
832
+ ]
833
+ );
834
+
835
+ $this->add_control(
836
+ 'post_info_tax_border_type',
837
+ [
838
+ 'label' => esc_html__( 'Border Type', 'wpr-addons' ),
839
+ 'type' => Controls_Manager::SELECT,
840
+ 'options' => [
841
+ 'none' => esc_html__( 'None', 'wpr-addons' ),
842
+ 'solid' => esc_html__( 'Solid', 'wpr-addons' ),
843
+ 'double' => esc_html__( 'Double', 'wpr-addons' ),
844
+ 'dotted' => esc_html__( 'Dotted', 'wpr-addons' ),
845
+ 'dashed' => esc_html__( 'Dashed', 'wpr-addons' ),
846
+ 'groove' => esc_html__( 'Groove', 'wpr-addons' ),
847
+ ],
848
+ 'default' => 'none',
849
+ 'selectors' => [
850
+ '{{WRAPPER}} .wpr-post-info-taxonomy a' => 'border-style: {{VALUE}};',
851
+ '{{WRAPPER}} .wpr-post-info-taxonomy > span:not(.wpr-post-info-text)' => 'border-style: {{VALUE}};',
852
+ ],
853
+ 'separator' => 'before',
854
+ ]
855
+ );
856
+
857
+ $this->add_control(
858
+ 'post_info_tax_border_width',
859
+ [
860
+ 'label' => esc_html__( 'Border Width', 'wpr-addons' ),
861
+ 'type' => Controls_Manager::DIMENSIONS,
862
+ 'size_units' => [ 'px' ],
863
+ 'default' => [
864
+ 'top' => 1,
865
+ 'right' => 1,
866
+ 'bottom' => 1,
867
+ 'left' => 1,
868
+ ],
869
+ 'selectors' => [
870
+ '{{WRAPPER}} .wpr-post-info-taxonomy a' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
871
+ '{{WRAPPER}} .wpr-post-info-taxonomy > span:not(.wpr-post-info-text)' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
872
+ ],
873
+ 'condition' => [
874
+ 'post_info_tax_border_type!' => 'none',
875
+ ],
876
+ ]
877
+ );
878
+
879
+ $this->add_control(
880
+ 'post_info_tax_radius',
881
+ [
882
+ 'label' => esc_html__( 'Border Radius', 'wpr-addons' ),
883
+ 'type' => Controls_Manager::DIMENSIONS,
884
+ 'size_units' => [ 'px', '%' ],
885
+ 'default' => [
886
+ 'top' => 0,
887
+ 'right' => 0,
888
+ 'bottom' => 0,
889
+ 'left' => 0,
890
+ ],
891
+ 'selectors' => [
892
+ '{{WRAPPER}} .wpr-post-info-taxonomy a' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
893
+ '{{WRAPPER}} .wpr-post-info-taxonomy > span:not(.wpr-post-info-text)' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
894
+ ],
895
+ ]
896
+ );
897
+
898
+ $this->end_controls_section();
899
+
900
+ // Styles ====================
901
+ // Section: Custom Field -----
902
+ $this->add_section_style_custom_field();
903
+
904
+ // Styles ====================
905
+ // Section: Extra Icon -------
906
+ $this->start_controls_section(
907
+ 'section_style_post_info_icon',
908
+ [
909
+ 'label' => esc_html__( 'Extra Icon', 'wpr-addons' ),
910
+ 'tab' => Controls_Manager::TAB_STYLE,
911
+ 'show_label' => false,
912
+ ]
913
+ );
914
+
915
+ $this->add_control(
916
+ 'post_info_icon_color',
917
+ [
918
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
919
+ 'type' => Controls_Manager::COLOR,
920
+ 'default' => '#333333',
921
+ 'selectors' => [
922
+ '{{WRAPPER}} .wpr-post-info li:not(.wpr-post-info-custom-field) i' => 'color: {{VALUE}}',
923
+ ],
924
+ 'separator' => 'after'
925
+ ]
926
+ );
927
+
928
+ $this->add_responsive_control(
929
+ 'post_info_icon_size',
930
+ [
931
+ 'label' => esc_html__( 'Size', 'wpr-addons' ),
932
+ 'type' => Controls_Manager::SLIDER,
933
+ 'size_units' => [ 'px' ],
934
+ 'default' => [
935
+ 'unit' => 'px',
936
+ 'size' => 16
937
+ ],
938
+ 'range' => [
939
+ 'px' => [
940
+ 'min' => 1,
941
+ 'max' => 50,
942
+ ],
943
+ ],
944
+ 'selectors' => [
945
+ '{{WRAPPER}} .wpr-post-info li i' => 'font-size: {{SIZE}}{{UNIT}};',
946
+ ],
947
+ ]
948
+ );
949
+
950
+ $this->add_responsive_control(
951
+ 'post_info_icon_space',
952
+ [
953
+ 'label' => esc_html__( 'Spacing', 'wpr-addons' ),
954
+ 'type' => Controls_Manager::SLIDER,
955
+ 'size_units' => [ 'px' ],
956
+ 'default' => [
957
+ 'unit' => 'px',
958
+ 'size' => 5
959
+ ],
960
+ 'range' => [
961
+ 'px' => [
962
+ 'min' => 1,
963
+ 'max' => 25,
964
+ ],
965
+ ],
966
+ 'selectors' => [
967
+ '{{WRAPPER}} .wpr-post-info li i' => 'margin-right: {{SIZE}}{{UNIT}};',
968
+ ],
969
+ ]
970
+ );
971
+
972
+ $this->end_controls_section();
973
+
974
+ // Styles ====================
975
+ // Section: Extra Text -------
976
+ $this->start_controls_section(
977
+ 'section_style_post_info_text',
978
+ [
979
+ 'label' => esc_html__( 'Extra Text', 'wpr-addons' ),
980
+ 'tab' => Controls_Manager::TAB_STYLE,
981
+ 'show_label' => false,
982
+ ]
983
+ );
984
+
985
+ $this->add_control(
986
+ 'post_info_text_color',
987
+ [
988
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
989
+ 'type' => Controls_Manager::COLOR,
990
+ 'default' => '#333333',
991
+ 'selectors' => [
992
+ '{{WRAPPER}} .wpr-post-info li:not(.wpr-post-info-custom-field) .wpr-post-info-text' => 'color: {{VALUE}}',
993
+ ],
994
+ 'separator' => 'after'
995
+ ]
996
+ );
997
+
998
+ $this->add_responsive_control(
999
+ 'post_info_text_width',
1000
+ [
1001
+ 'label' => esc_html__( 'Distance', 'wpr-addons' ),
1002
+ 'type' => Controls_Manager::SLIDER,
1003
+ 'size_units' => [ 'px' ],
1004
+ 'default' => [
1005
+ 'unit' => 'px',
1006
+ 'size' => 10
1007
+ ],
1008
+ 'range' => [
1009
+ 'px' => [
1010
+ 'min' => 0,
1011
+ 'max' => 25,
1012
+ ],
1013
+ ],
1014
+ 'selectors' => [
1015
+ '{{WRAPPER}} .wpr-post-info li .wpr-post-info-text span' => 'margin-right: {{SIZE}}{{UNIT}};',
1016
+ ],
1017
+ ]
1018
+ );
1019
+
1020
+ $this->end_controls_section();
1021
+
1022
+ }
1023
+
1024
+ // Post Date
1025
+ public function render_post_info_date( $settings ) {
1026
+ // Extra Icon & Text
1027
+ $this->render_extra_icon_text( $settings );
1028
+
1029
+ // Wrap with Link
1030
+ if ( 'yes' === $settings['post_info_link_wrap'] ) {
1031
+ echo '<a href="'. esc_url( get_day_link( get_post_time( 'Y' ), get_post_time( 'm' ), get_post_time( 'j' ) ) ) .'">';
1032
+ }
1033
+
1034
+ // Date
1035
+ echo '<span>'. apply_filters( 'the_date', get_the_date( '' ), get_option( 'date_format' ), '', '' ) .'</span>';
1036
+
1037
+ // Wrap with Link
1038
+ if ( 'yes' === $settings['post_info_link_wrap'] ) {
1039
+ echo '</a>';
1040
+ }
1041
+ }
1042
+
1043
+ // Post Time
1044
+ public function render_post_info_time( $settings ) {
1045
+ // Extra Icon & Text
1046
+ $this->render_extra_icon_text( $settings );
1047
+
1048
+ echo '<span>'. get_the_time( '' ) .'</span>';
1049
+ }
1050
+
1051
+ // Post Comments
1052
+ public function render_post_info_comments( $settings ) {
1053
+ // Extra Icon & Text
1054
+ $this->render_extra_icon_text( $settings );
1055
+
1056
+ $count = get_comments_number();
1057
+
1058
+ if ( comments_open() ) {
1059
+ if ( $count == 1 ) {
1060
+ $text = $count . $settings['post_info_comments_text_2'];
1061
+ } elseif ( $count > 1 ) {
1062
+ $text = $count . $settings['post_info_comments_text_3'];
1063
+ } else {
1064
+ $text = $settings['post_info_comments_text_1'];
1065
+ }
1066
+
1067
+ // Wrap with Link
1068
+ if ( 'yes' === $settings['post_info_link_wrap'] ) {
1069
+ echo '<a href="'. esc_url( get_comments_link() ) .'">';
1070
+ }
1071
+
1072
+ // Comments
1073
+ echo '<span> '. $text .'</span>';
1074
+
1075
+ if ( 'yes' === $settings['post_info_link_wrap'] ) {
1076
+ echo '</a>';
1077
+ }
1078
+ }
1079
+ }
1080
+
1081
+ // Post Author
1082
+ public function render_post_info_author( $settings ) {
1083
+ $author_id = get_post_field( 'post_author' );
1084
+
1085
+ // Extra Icon & Text
1086
+ $this->render_extra_icon_text( $settings );
1087
+
1088
+ // Wrap with Link
1089
+ if ( 'yes' === $settings['post_info_link_wrap'] ) {
1090
+ echo '<a href="'. esc_url( get_author_posts_url( $author_id ) ) .'">';
1091
+ }
1092
+
1093
+ if ( 'yes' === $settings['post_info_show_avatar'] ) {
1094
+ echo get_avatar( $author_id, $settings['post_info_avatar_size'] );
1095
+ }
1096
+
1097
+ echo '<span>'. get_the_author_meta( 'display_name', $author_id ) .'</span>';
1098
+
1099
+ if ( 'yes' === $settings['post_info_link_wrap'] ) {
1100
+ echo '</a>';
1101
+ }
1102
+ }
1103
+
1104
+ // Post Taxonomy
1105
+ public function render_post_info_taxonomy( $settings ) {
1106
+ $terms = wp_get_post_terms( get_the_ID(), $settings['post_info_tax_select'] );
1107
+ $count = 0;
1108
+
1109
+ // Extra Icon & Text
1110
+ $this->render_extra_icon_text( $settings );
1111
+
1112
+ // Taxonomies
1113
+ foreach ( $terms as $term ) {
1114
+ if ( 'yes' === $settings['post_info_link_wrap'] ) {
1115
+ echo '<a href="'. get_term_link( $term->term_id ) .'">';
1116
+ // Term Name
1117
+ echo esc_html( $term->name );
1118
+
1119
+ // Separator
1120
+ if ( ++$count !== count( $terms ) ) {
1121
+ echo '<span class="tax-sep">'. $settings['post_info_tax_sep'] .'</span>';
1122
+ }
1123
+ echo '</a>';
1124
+ } else {
1125
+ echo '<span>';
1126
+ // Term Name
1127
+ echo esc_html( $term->name );
1128
+
1129
+ // Separator
1130
+ if ( ++$count !== count( $terms ) ) {
1131
+ echo '<span class="tax-sep">'. $settings['post_info_tax_sep'] .'</span>';
1132
+ }
1133
+ echo '</span>';
1134
+ }
1135
+ }
1136
+ }
1137
+
1138
+ // Post Custom Field
1139
+ public function render_post_info_custom_field( $settings ) {}
1140
+
1141
+ // Extra Icon & Text
1142
+ public function render_extra_icon_text( $settings ) {
1143
+ if ( '' !== $settings['post_info_extra_icon'] || '' !== $settings['post_info_extra_text'] ) {
1144
+ echo '<span class="wpr-post-info-text">';
1145
+ // Extra Icon
1146
+ if ( '' !== $settings['post_info_extra_icon'] ) {
1147
+ \Elementor\Icons_Manager::render_icon( $settings['post_info_extra_icon'], [ 'aria-hidden' => 'true' ] );
1148
+ }
1149
+
1150
+ // Extra Text
1151
+ if ( '' !== $settings['post_info_extra_text'] ) {
1152
+ echo '<span>'. esc_html( $settings['post_info_extra_text'] ) .'</span>';
1153
+ }
1154
+ echo '</span>';
1155
+ }
1156
+ }
1157
+
1158
+ protected function render() {
1159
+ // Get Settings
1160
+ $settings = $this->get_settings();
1161
+
1162
+ echo '<ul class="wpr-post-info wpr-post-info-'. $settings['post_info_layout'] .'">';
1163
+
1164
+ foreach( $settings['post_info_elements'] as $element_settings ) {
1165
+ echo '<li class="wpr-post-info-'. $element_settings['post_info_select'] .'">';
1166
+
1167
+ switch ( $element_settings['post_info_select'] ) {
1168
+ case 'date':
1169
+ $this->render_post_info_date( $element_settings );
1170
+ break;
1171
+
1172
+ case 'time':
1173
+ $this->render_post_info_time( $element_settings );
1174
+ break;
1175
+
1176
+ case 'comments':
1177
+ $this->render_post_info_comments( $element_settings );
1178
+ break;
1179
+
1180
+ case 'author':
1181
+ $this->render_post_info_author( $element_settings );
1182
+ break;
1183
+
1184
+ case 'taxonomy':
1185
+ $this->render_post_info_taxonomy( $element_settings );
1186
+ break;
1187
+
1188
+ case 'custom-field':
1189
+ $this->render_post_info_custom_field( $element_settings );
1190
+ break;
1191
+ }
1192
+
1193
+ echo '</li>';
1194
+ }
1195
+
1196
+ echo '</ul>';
1197
+
1198
+ }
1199
+
1200
+ }
modules/theme-builder/post-media/module.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Modules\ThemeBuilder\PostMedia;
3
+
4
+ use WprAddons\Base\Module_Base;
5
+ use WprAddons\Classes\Utilities;
6
+
7
+ class Module extends Module_Base {
8
+
9
+ public function __construct() {
10
+ parent::__construct();
11
+
12
+ // This is here for extensibility purposes - go to town and make things happen!
13
+ }
14
+
15
+ public function get_name() {
16
+ return 'wpr-post-media';
17
+ }
18
+
19
+ public function get_widgets() {
20
+ return [
21
+ 'Wpr_Post_Media', // This should match the widget/element class.
22
+ ];
23
+ }
24
+
25
+ }
modules/theme-builder/post-media/widgets/wpr-post-media.php ADDED
@@ -0,0 +1,1675 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Modules\ThemeBuilder\PostMedia\Widgets;
3
+
4
+ use Elementor\Widget_Base;
5
+ use Elementor\Controls_Manager;
6
+ use Elementor\Core\Responsive\Responsive;
7
+ use Elementor\Group_Control_Box_Shadow;
8
+ use Elementor\Group_Control_Typography;
9
+ use Elementor\Core\Schemes\Typography;
10
+ use Elementor\Core\Schemes\Color;
11
+ use Elementor\Group_Control_Image_Size;
12
+ use WprAddons\Classes\Utilities;
13
+
14
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
15
+
16
+ class Wpr_Post_Media extends Widget_Base {
17
+
18
+ public function get_name() {
19
+ return 'wpr-post-media';
20
+ }
21
+
22
+ public function get_title() {
23
+ return esc_html__( 'Post Thumbnail', 'wpr-addons' );
24
+ }
25
+
26
+ public function get_icon() {
27
+ return 'wpr-icon eicon-featured-image';
28
+ }
29
+
30
+ public function get_categories() {
31
+ return Utilities::show_theme_buider_widget_on('single') ? [ 'wpr-theme-builder-widgets' ] : [];
32
+ }
33
+
34
+ public function get_keywords() {
35
+ return [ 'image', 'media', 'post', 'thumbnail', 'video', 'gallery' ];
36
+ }
37
+
38
+ public function get_script_depends() {
39
+ return [ 'jquery-slick', 'wpr-lightgallery' ];
40
+ }
41
+
42
+ public function get_style_depends() {
43
+ return [ 'wpr-lightgallery-css' ];
44
+ }
45
+
46
+ protected function register_controls() {
47
+
48
+ // Get Available Meta Keys
49
+ $post_meta_keys = Utilities::get_custom_meta_keys();
50
+
51
+ // Tab: Content ==============
52
+ // Section: General ----------
53
+ $this->start_controls_section(
54
+ 'section_featured_media',
55
+ [
56
+ 'label' => esc_html__( 'General', 'wpr-addons' ),
57
+ 'tab' => Controls_Manager::TAB_CONTENT,
58
+ ]
59
+ );
60
+
61
+ $this->add_group_control(
62
+ Group_Control_Image_Size::get_type(),
63
+ [
64
+ 'name' => 'featured_media_image_crop',
65
+ 'default' => 'full',
66
+ ]
67
+ );
68
+
69
+ $this->add_responsive_control(
70
+ 'featured_media_align',
71
+ [
72
+ 'label' => esc_html__( 'Align', 'wpr-addons' ),
73
+ 'type' => Controls_Manager::CHOOSE,
74
+ 'default' => 'center',
75
+ 'label_block' => false,
76
+ 'options' => [
77
+ 'left' => [
78
+ 'title' => esc_html__( 'Left', 'wpr-addons' ),
79
+ 'icon' => 'eicon-text-align-left',
80
+ ],
81
+ 'center' => [
82
+ 'title' => esc_html__( 'Center', 'wpr-addons' ),
83
+ 'icon' => 'eicon-text-align-center',
84
+ ],
85
+ 'right' => [
86
+ 'title' => esc_html__( 'Right', 'wpr-addons' ),
87
+ 'icon' => 'eicon-text-align-right',
88
+ ],
89
+ ],
90
+ 'selectors' => [
91
+ '{{WRAPPER}} .wpr-featured-media-wrap' => 'text-align: {{VALUE}}',
92
+ ],
93
+ ]
94
+ );
95
+
96
+ $this->add_control(
97
+ 'featured_media_caption',
98
+ [
99
+ 'label' => esc_html__( 'Featured Image Caption', 'wpr-addons' ),
100
+ 'type' => Controls_Manager::SWITCHER,
101
+ 'return_value' => 'yes',
102
+ 'separator' => 'before'
103
+ ]
104
+ );
105
+
106
+ $this->add_control(
107
+ 'featured_media_caption_hover',
108
+ [
109
+ 'label' => esc_html__( 'Show Caption on Hover', 'wpr-addons' ),
110
+ 'type' => Controls_Manager::SWITCHER,
111
+ 'return_value' => 'hover',
112
+ 'prefix_class' => 'wpr-fm-image-caption-',
113
+ 'condition' => [
114
+ 'featured_media_caption' => 'yes',
115
+ ],
116
+ ]
117
+ );
118
+
119
+ // $this->add_control(
120
+ // 'featured_media_lightbox',
121
+ // [
122
+ // 'label' => esc_html__( 'Enable Lightbox Popup', 'wpr-addons' ),
123
+ // 'type' => Controls_Manager::SWITCHER,
124
+ // 'return_value' => 'yes',
125
+ // 'prefix_class' => 'wpr-gallery-lightbox-',
126
+ // 'separator' => 'before'
127
+ // ]
128
+ // );
129
+
130
+ // $this->add_control(
131
+ // 'featured_media_pfa_select',
132
+ // [
133
+ // 'label' => esc_html__( 'Post Format Audio', 'wpr-addons' ),
134
+ // 'type' => Controls_Manager::SELECT,
135
+ // 'default' => 'default',
136
+ // 'options' => [
137
+ // 'default' => esc_html__( 'Featured Image', 'wpr-addons' ),
138
+ // 'meta' => esc_html__( 'Meta Value', 'wpr-addons' ),
139
+ // ],
140
+ // 'separator' => 'before'
141
+ // ]
142
+ // );
143
+
144
+ // $this->add_control(
145
+ // 'featured_media_audio',
146
+ // [
147
+ // 'label' => esc_html__( 'Audio Meta Value', 'wpr-addons' ),
148
+ // 'type' => Controls_Manager::SELECT2,
149
+ // 'default' => 'default',
150
+ // 'options' => $post_meta_keys[1],
151
+ // 'condition' => [
152
+ // 'featured_media_pfa_select' => 'meta',
153
+ // ],
154
+ // ]
155
+ // );
156
+
157
+ // $this->add_control(
158
+ // 'featured_media_pfv_select',
159
+ // [
160
+ // 'label' => esc_html__( 'Post Format Video', 'wpr-addons' ),
161
+ // 'type' => Controls_Manager::SELECT,
162
+ // 'default' => 'default',
163
+ // 'options' => [
164
+ // 'default' => esc_html__( 'Featured Image', 'wpr-addons' ),
165
+ // 'meta' => esc_html__( 'Meta Value', 'wpr-addons' ),
166
+ // ],
167
+ // ]
168
+ // );
169
+
170
+ // $this->add_control(
171
+ // 'featured_media_video',
172
+ // [
173
+ // 'label' => esc_html__( 'Video Meta Value', 'wpr-addons' ),
174
+ // 'type' => Controls_Manager::SELECT2,
175
+ // 'default' => 'default',
176
+ // 'options' => $post_meta_keys[1],
177
+ // 'condition' => [
178
+ // 'featured_media_pfv_select' => 'meta',
179
+ // ],
180
+ // ]
181
+ // );
182
+
183
+ // $this->add_control(
184
+ // 'featured_media_pfg_select',
185
+ // [
186
+ // 'label' => esc_html__( 'Post Format Gallery', 'wpr-addons' ),
187
+ // 'type' => Controls_Manager::SELECT,
188
+ // 'default' => 'default',
189
+ // 'options' => [
190
+ // 'default' => esc_html__( 'Featured Image', 'wpr-addons' ),
191
+ // 'meta' => esc_html__( 'Meta Value', 'wpr-addons' ),
192
+ // ],
193
+ // ]
194
+ // );
195
+
196
+ // $this->add_control(
197
+ // 'featured_media_gallery',
198
+ // [
199
+ // 'label' => esc_html__( 'Gallery Meta Value', 'wpr-addons' ),
200
+ // 'type' => Controls_Manager::SELECT2,
201
+ // 'default' => 'default',
202
+ // 'options' => $post_meta_keys[1],
203
+ // 'condition' => [
204
+ // 'featured_media_pfg_select' => 'meta',
205
+ // ],
206
+ // ]
207
+ // );
208
+
209
+ $this->end_controls_section(); // End Controls Section
210
+
211
+ // Tab: PF Audio =============
212
+ // Section: General ----------
213
+ $this->start_controls_section(
214
+ 'section_featured_media_audio',
215
+ [
216
+ 'label' => esc_html__( 'Post Format Audio', 'wpr-addons' ),
217
+ 'tab' => Controls_Manager::TAB_CONTENT,
218
+ 'condition' => [
219
+ 'featured_media_pfa_select' => 'meta',
220
+ ]
221
+ ]
222
+ );
223
+
224
+ $this->add_control(
225
+ 'audio_visual_player',
226
+ [
227
+ 'label' => esc_html__( 'SoundCloud Visual Player', 'wpr-addons' ),
228
+ 'type' => Controls_Manager::SWITCHER,
229
+ 'return_value' => 'yes',
230
+ ]
231
+ );
232
+
233
+ $this->add_control(
234
+ 'audio_auto_play',
235
+ [
236
+ 'label' => esc_html__( 'SoundCloud Auto Play', 'wpr-addons' ),
237
+ 'type' => Controls_Manager::SWITCHER,
238
+ 'return_value' => 'yes',
239
+ ]
240
+ );
241
+
242
+ $this->add_control(
243
+ 'audio_interface_color',
244
+ [
245
+ 'label' => esc_html__( 'SoundCloud Interface Color', 'wpr-addons' ),
246
+ 'type' => Controls_Manager::COLOR,
247
+ ]
248
+ );
249
+
250
+ $this->end_controls_section(); // End Controls Section
251
+
252
+ // Tab: PF Video =============
253
+ // Section: General ----------
254
+ $this->start_controls_section(
255
+ 'section_featured_media_video',
256
+ [
257
+ 'label' => esc_html__( 'Post Format Video', 'wpr-addons' ),
258
+ 'tab' => Controls_Manager::TAB_CONTENT,
259
+ 'condition' => [
260
+ 'featured_media_pfv_select' => 'meta',
261
+ ]
262
+ ]
263
+ );
264
+
265
+ $this->add_control(
266
+ 'video_aspect_ratio',
267
+ [
268
+ 'label' => esc_html__( 'Aspect Ratio', 'wpr-addons' ),
269
+ 'type' => Controls_Manager::SELECT,
270
+ 'options' => [
271
+ '169' => '16:9',
272
+ '219' => '21:9',
273
+ '43' => '4:3',
274
+ '32' => '3:2',
275
+ '11' => '1:1',
276
+ ],
277
+ 'default' => '169',
278
+ 'prefix_class' => 'elementor-aspect-ratio-',
279
+ 'frontend_available' => true,
280
+ ]
281
+ );
282
+
283
+ $this->end_controls_section(); // End Controls Section
284
+
285
+ // Tab: PF Gallery ===========
286
+ // Section: General ----------
287
+ $this->start_controls_section(
288
+ 'section_featured_media_gallery',
289
+ [
290
+ 'label' => esc_html__( 'Post Format Gallery', 'wpr-addons' ),
291
+ 'tab' => Controls_Manager::TAB_CONTENT,
292
+ 'condition' => [
293
+ 'featured_media_pfg_select' => 'meta',
294
+ ]
295
+ ]
296
+ );
297
+
298
+ $this->add_control(
299
+ 'gallery_display_as',
300
+ [
301
+ 'label' => esc_html__( 'Display As', 'wpr-addons' ),
302
+ 'type' => Controls_Manager::SELECT,
303
+ 'options' => [
304
+ 'slider' => esc_html__( 'Slideshow Gallery', 'wpr-addons' ),
305
+ 'stacked' => esc_html__( 'Stacked Gallery', 'wpr-addons' ),
306
+ ],
307
+ 'default' => 'slider',
308
+ ]
309
+ );
310
+
311
+ $this->add_responsive_control(
312
+ 'gallery_slider_nav',
313
+ [
314
+ 'label' => esc_html__( 'Navigation', 'wpr-addons' ),
315
+ 'type' => Controls_Manager::SWITCHER,
316
+ 'desktop_default' => 'yes',
317
+ 'tablet_default' => 'yes',
318
+ 'mobile_default' => 'yes',
319
+ 'selectors_dictionary' => [
320
+ '' => 'none',
321
+ 'yes' => 'block'
322
+ ],
323
+ 'selectors' => [
324
+ '{{WRAPPER}} .wpr-gallery-slider-arrow' => 'display:{{VALUE}} !important;',
325
+ ],
326
+ 'separator' => 'before',
327
+ 'condition' => [
328
+ 'gallery_display_as' => 'slider'
329
+ ]
330
+ ]
331
+ );
332
+
333
+ $this->add_control(
334
+ 'gallery_slider_nav_hover',
335
+ [
336
+ 'label' => esc_html__( 'Show on Hover', 'wpr-addons' ),
337
+ 'type' => Controls_Manager::SWITCHER,
338
+ 'return_value' => 'fade',
339
+ 'prefix_class' => 'wpr-gallery-slider-nav-',
340
+ 'condition' => [
341
+ 'gallery_slider_nav' => 'yes',
342
+ 'gallery_display_as' => 'slider'
343
+ ]
344
+ ]
345
+ );
346
+
347
+ $this->add_responsive_control(
348
+ 'gallery_slider_dots',
349
+ [
350
+ 'label' => esc_html__( 'Pagination', 'wpr-addons' ),
351
+ 'type' => Controls_Manager::SWITCHER,
352
+ 'desktop_default' => 'yes',
353
+ 'tablet_default' => 'yes',
354
+ 'mobile_default' => 'yes',
355
+ 'selectors_dictionary' => [
356
+ '' => 'none',
357
+ 'yes' => 'inline-table'
358
+ ],
359
+ 'selectors' => [
360
+ '{{WRAPPER}} .wpr-gallery-slider-dots' => 'display:{{VALUE}};',
361
+ ],
362
+ 'condition' => [
363
+ 'gallery_display_as' => 'slider'
364
+ ]
365
+ ]
366
+ );
367
+
368
+ $this->add_control(
369
+ 'gallery_slider_autoplay',
370
+ [
371
+ 'label' => esc_html__( 'Autoplay', 'wpr-addons' ),
372
+ 'type' => Controls_Manager::SWITCHER,
373
+ 'default' => 'yes',
374
+ 'frontend_available' => true,
375
+ 'separator' => 'before',
376
+ 'condition' => [
377
+ 'gallery_display_as' => 'slider'
378
+ ]
379
+ ]
380
+ );
381
+
382
+ $this->add_control(
383
+ 'gallery_slider_autoplay_duration',
384
+ [
385
+ 'label' => esc_html__( 'Autoplay Speed', 'wpr-addons' ),
386
+ 'type' => Controls_Manager::NUMBER,
387
+ 'default' => 4,
388
+ 'min' => 0,
389
+ 'max' => 15,
390
+ 'step' => 0.5,
391
+ 'frontend_available' => true,
392
+ 'condition' => [
393
+ 'gallery_slider_autoplay' => 'yes',
394
+ 'gallery_display_as' => 'slider'
395
+ ],
396
+ ]
397
+ );
398
+
399
+ $this->add_control(
400
+ 'gallery_slider_pause_on_hover',
401
+ [
402
+ 'label' => esc_html__( 'Pause on Hover', 'wpr-addons' ),
403
+ 'type' => Controls_Manager::SWITCHER,
404
+ 'default' => 'yes',
405
+ 'condition' => [
406
+ 'gallery_slider_autoplay' => 'yes',
407
+ 'gallery_display_as' => 'slider'
408
+ ],
409
+ ]
410
+ );
411
+
412
+ $this->add_control(
413
+ 'gallery_slider_loop',
414
+ [
415
+ 'label' => esc_html__( 'Infinite Loop', 'wpr-addons' ),
416
+ 'type' => Controls_Manager::SWITCHER,
417
+ 'default' => 'yes',
418
+ 'frontend_available' => true,
419
+ 'separator' => 'after',
420
+ 'condition' => [
421
+ 'gallery_display_as' => 'slider'
422
+ ]
423
+ ]
424
+ );
425
+
426
+ $this->add_control(
427
+ 'gallery_slider_effect',
428
+ [
429
+ 'type' => Controls_Manager::SELECT,
430
+ 'label' => esc_html__( 'Effect', 'wpr-addons' ),
431
+ 'default' => 'slide',
432
+ 'options' => [
433
+ 'slide' => esc_html__( 'Slide', 'wpr-addons' ),
434
+ 'fade' => esc_html__( 'Fade', 'wpr-addons' ),
435
+ ],
436
+ 'condition' => [
437
+ 'gallery_display_as' => 'slider'
438
+ ]
439
+ ]
440
+ );
441
+
442
+ $this->add_control(
443
+ 'gallery_slider_effect_duration',
444
+ [
445
+ 'label' => esc_html__( 'Effect Duration', 'wpr-addons' ),
446
+ 'type' => Controls_Manager::NUMBER,
447
+ 'default' => 0.7,
448
+ 'min' => 0,
449
+ 'max' => 5,
450
+ 'step' => 0.1,
451
+ 'condition' => [
452
+ 'gallery_display_as' => 'slider'
453
+ ]
454
+ ]
455
+ );
456
+
457
+ $this->add_control(
458
+ 'gallery_caption',
459
+ [
460
+ 'label' => esc_html__( 'Gallery Image Caption', 'wpr-addons' ),
461
+ 'type' => Controls_Manager::SWITCHER,
462
+ 'return_value' => 'yes',
463
+ 'separator' => 'before'
464
+ ]
465
+ );
466
+
467
+ $this->add_control(
468
+ 'gallery_caption_hover',
469
+ [
470
+ 'label' => esc_html__( 'Show Caption on Hover', 'wpr-addons' ),
471
+ 'type' => Controls_Manager::SWITCHER,
472
+ 'return_value' => 'hover',
473
+ 'prefix_class' => 'wpr-fm-gallery-caption-',
474
+ 'condition' => [
475
+ 'gallery_caption' => 'yes',
476
+ ],
477
+ ]
478
+ );
479
+
480
+ $this->end_controls_section(); // End Controls Section
481
+
482
+ // Tab: Content ==============
483
+ // Section: Lightbox Popup ---
484
+ $this->start_controls_section(
485
+ 'section_lightbox_popup',
486
+ [
487
+ 'label' => esc_html__( 'Lightbox Popup', 'wpr-addons' ),
488
+ 'tab' => Controls_Manager::TAB_CONTENT,
489
+ 'condition' => [
490
+ 'featured_media_lightbox' => 'yes'
491
+ ]
492
+ ]
493
+ );
494
+
495
+ $this->add_control(
496
+ 'lightbox_popup_autoplay',
497
+ [
498
+ 'label' => esc_html__( 'Autoplay Slides', 'wpr-addons' ),
499
+ 'type' => Controls_Manager::SWITCHER,
500
+ 'default' => 'true',
501
+ 'return_value' => 'true',
502
+ ]
503
+ );
504
+
505
+ $this->add_control(
506
+ 'lightbox_popup_progressbar',
507
+ [
508
+ 'label' => esc_html__( 'Show Progress Bar', 'wpr-addons' ),
509
+ 'type' => Controls_Manager::SWITCHER,
510
+ 'default' => 'true',
511
+ 'return_value' => 'true',
512
+ 'condition' => [
513
+ 'lightbox_popup_autoplay' => 'true'
514
+ ]
515
+ ]
516
+ );
517
+
518
+ $this->add_control(
519
+ 'lightbox_popup_pause',
520
+ [
521
+ 'label' => esc_html__( 'Autoplay Speed', 'wpr-addons' ),
522
+ 'type' => Controls_Manager::NUMBER,
523
+ 'default' => 5,
524
+ 'min' => 1,
525
+ 'max' => 10,
526
+ 'step' => 1,
527
+ 'condition' => [
528
+ 'lightbox_popup_autoplay' => 'true',
529
+ ],
530
+ ]
531
+ );
532
+
533
+ $this->add_control(
534
+ 'lightbox_popup_counter',
535
+ [
536
+ 'label' => esc_html__( 'Show Counter', 'wpr-addons' ),
537
+ 'type' => Controls_Manager::SWITCHER,
538
+ 'default' => 'true',
539
+ 'return_value' => 'true',
540
+ ]
541
+ );
542
+
543
+ $this->add_control(
544
+ 'lightbox_popup_arrows',
545
+ [
546
+ 'label' => esc_html__( 'Show Arrows', 'wpr-addons' ),
547
+ 'type' => Controls_Manager::SWITCHER,
548
+ 'default' => 'true',
549
+ 'return_value' => 'true',
550
+ ]
551
+ );
552
+
553
+ $this->add_control(
554
+ 'lightbox_popup_captions',
555
+ [
556
+ 'label' => esc_html__( 'Show Captions', 'wpr-addons' ),
557
+ 'type' => Controls_Manager::SWITCHER,
558
+ 'default' => 'true',
559
+ 'return_value' => 'true',
560
+ ]
561
+ );
562
+
563
+ $this->add_control(
564
+ 'lightbox_popup_thumbnails',
565
+ [
566
+ 'label' => esc_html__( 'Show Thumbnails', 'wpr-addons' ),
567
+ 'type' => Controls_Manager::SWITCHER,
568
+ 'default' => 'true',
569
+ 'return_value' => 'true',
570
+ ]
571
+ );
572
+
573
+ $this->add_control(
574
+ 'lightbox_popup_thumbnails_default',
575
+ [
576
+ 'label' => esc_html__( 'Show Thumbs by Default', 'wpr-addons' ),
577
+ 'type' => Controls_Manager::SWITCHER,
578
+ 'default' => 'true',
579
+ 'return_value' => 'true',
580
+ 'condition' => [
581
+ 'lightbox_popup_thumbnails' => 'true'
582
+ ]
583
+ ]
584
+ );
585
+
586
+ $this->add_control(
587
+ 'lightbox_popup_sharing',
588
+ [
589
+ 'label' => esc_html__( 'Show Sharing Button', 'wpr-addons' ),
590
+ 'type' => Controls_Manager::SWITCHER,
591
+ 'default' => 'true',
592
+ 'return_value' => 'true',
593
+ ]
594
+ );
595
+
596
+ $this->add_control(
597
+ 'lightbox_popup_zoom',
598
+ [
599
+ 'label' => esc_html__( 'Show Zoom Button', 'wpr-addons' ),
600
+ 'type' => Controls_Manager::SWITCHER,
601
+ 'default' => 'true',
602
+ 'return_value' => 'true',
603
+ ]
604
+ );
605
+
606
+ $this->add_control(
607
+ 'lightbox_popup_fullscreen',
608
+ [
609
+ 'label' => esc_html__( 'Show Full Screen Button', 'wpr-addons' ),
610
+ 'type' => Controls_Manager::SWITCHER,
611
+ 'default' => 'true',
612
+ 'return_value' => 'true',
613
+ ]
614
+ );
615
+
616
+ $this->add_control(
617
+ 'lightbox_popup_download',
618
+ [
619
+ 'label' => esc_html__( 'Show Download Button', 'wpr-addons' ),
620
+ 'type' => Controls_Manager::SWITCHER,
621
+ 'default' => 'true',
622
+ 'return_value' => 'true',
623
+ ]
624
+ );
625
+
626
+ $this->end_controls_section(); // End Controls Section
627
+
628
+ // Styles ====================
629
+ // Section: Media ------------
630
+ $this->start_controls_section(
631
+ 'section_style_media',
632
+ [
633
+ 'label' => esc_html__( 'Media', 'wpr-addons' ),
634
+ 'tab' => Controls_Manager::TAB_STYLE,
635
+ 'show_label' => false,
636
+ ]
637
+ );
638
+
639
+ $this->add_control(
640
+ 'media_width',
641
+ [
642
+ 'label' => esc_html__( 'Width', 'wpr-addons' ),
643
+ 'type' => Controls_Manager::SELECT,
644
+ 'default' => 'auto',
645
+ 'options' => [
646
+ 'auto'=> esc_html__( 'Auto', 'wpr-addons' ),
647
+ 'custom' => esc_html__( 'Custom', 'wpr-addons' ),
648
+ ],
649
+ 'selectors_dictionary' => [
650
+ 'auto' => 'auto',
651
+ ],
652
+ 'selectors' => [
653
+ '{{WRAPPER}} .wpr-featured-media-image' => 'width: {{VALUE}};',
654
+ ],
655
+ ]
656
+ );
657
+
658
+ $this->add_responsive_control(
659
+ 'media_custom_width',
660
+ [
661
+ 'label' => esc_html__( 'Custom Width', 'wpr-addons' ),
662
+ 'type' => Controls_Manager::SLIDER,
663
+ 'size_units' => ['px','%'],
664
+ 'range' => [
665
+ 'px' => [
666
+ 'min' => 0,
667
+ 'max' => 1000,
668
+ ],
669
+ '%' => [
670
+ 'min' => 0,
671
+ 'max' => 100,
672
+ ],
673
+ ],
674
+ 'default' => [
675
+ 'unit' => 'px',
676
+ 'size' => 500,
677
+ ],
678
+ 'selectors' => [
679
+ '{{WRAPPER}} .wpr-featured-media-image' => 'width: {{SIZE}}{{UNIT}};',
680
+ '{{WRAPPER}} .wpr-featured-media-image img' => 'width: 100%;',
681
+ ],
682
+ 'condition' => [
683
+ 'media_width' => 'custom'
684
+ ]
685
+ ]
686
+ );
687
+
688
+ $this->end_controls_section();
689
+
690
+ // Styles ====================
691
+ // Section: Image Caption ----
692
+ $this->start_controls_section(
693
+ 'section_style_image_caption',
694
+ [
695
+ 'label' => esc_html__( 'Image Caption', 'wpr-addons' ),
696
+ 'tab' => Controls_Manager::TAB_STYLE,
697
+ 'show_label' => false,
698
+ 'conditions' => [
699
+ 'relation' => 'or',
700
+ 'terms' => [
701
+ [
702
+ 'name' => 'featured_media_caption',
703
+ 'operator' => '!=',
704
+ 'value' => '',
705
+ ],
706
+ [
707
+ 'name' => 'gallery_caption',
708
+ 'operator' => '!=',
709
+ 'value' => '',
710
+ ],
711
+ ],
712
+ ],
713
+ ]
714
+ );
715
+
716
+ $this->add_control(
717
+ 'image_caption_color',
718
+ [
719
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
720
+ 'type' => Controls_Manager::COLOR,
721
+ 'default' => '#333333',
722
+ 'selectors' => [
723
+ '{{WRAPPER}} .wpr-featured-media-caption span' => 'color: {{VALUE}}',
724
+ ],
725
+ ]
726
+ );
727
+
728
+ $this->add_control(
729
+ 'image_caption_bg_color',
730
+ [
731
+ 'label' => esc_html__( 'Background Color', 'wpr-addons' ),
732
+ 'type' => Controls_Manager::COLOR,
733
+ 'default' => '#ffffff',
734
+ 'selectors' => [
735
+ '{{WRAPPER}} .wpr-featured-media-caption span' => 'background-color: {{VALUE}}',
736
+ ],
737
+ ]
738
+ );
739
+
740
+ $this->add_control(
741
+ 'image_caption_border_color',
742
+ [
743
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
744
+ 'type' => Controls_Manager::COLOR,
745
+ 'selectors' => [
746
+ '{{WRAPPER}} .wpr-featured-media-caption span' => 'border-color: {{VALUE}}',
747
+ ],
748
+ ]
749
+ );
750
+
751
+ $this->add_group_control(
752
+ Group_Control_Box_Shadow::get_type(),
753
+ [
754
+ 'name' => 'image_caption_shadow',
755
+ 'selector' => '{{WRAPPER}} .wpr-featured-media-caption span',
756
+ ]
757
+ );
758
+
759
+ $this->add_group_control(
760
+ Group_Control_Typography::get_type(),
761
+ [
762
+ 'name' => 'image_caption_typography',
763
+ 'scheme' => Typography::TYPOGRAPHY_3,
764
+ 'selector' => '{{WRAPPER}} .wpr-featured-media-caption span'
765
+ ]
766
+ );
767
+
768
+ $this->add_control(
769
+ 'image_caption_transition_duration',
770
+ [
771
+ 'label' => esc_html__( 'Transition Duration', 'wpr-addons' ),
772
+ 'type' => Controls_Manager::NUMBER,
773
+ 'default' => 0.1,
774
+ 'min' => 0,
775
+ 'max' => 5,
776
+ 'step' => 0.1,
777
+ 'selectors' => [
778
+ '{{WRAPPER}} .wpr-featured-media-caption' => 'transition-duration: {{VALUE}}s',
779
+ ],
780
+ 'separator' => 'before',
781
+ ]
782
+ );
783
+
784
+ $this->add_control(
785
+ 'image_caption_padding',
786
+ [
787
+ 'label' => esc_html__( 'Padding', 'wpr-addons' ),
788
+ 'type' => Controls_Manager::DIMENSIONS,
789
+ 'size_units' => [ 'px' ],
790
+ 'default' => [
791
+ 'top' => 5,
792
+ 'right' => 10,
793
+ 'bottom' => 5,
794
+ 'left' => 10,
795
+ ],
796
+ 'selectors' => [
797
+ '{{WRAPPER}} .wpr-featured-media-caption span' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
798
+ ],
799
+ 'separator' => 'before',
800
+ ]
801
+ );
802
+
803
+ $this->add_control(
804
+ 'image_caption_margin',
805
+ [
806
+ 'label' => esc_html__( 'Margin', 'wpr-addons' ),
807
+ 'type' => Controls_Manager::DIMENSIONS,
808
+ 'size_units' => [ 'px' ],
809
+ 'default' => [
810
+ 'top' => 10,
811
+ 'right' => 10,
812
+ 'bottom' => 10,
813
+ 'left' => 10,
814
+ ],
815
+ 'selectors' => [
816
+ '{{WRAPPER}} .wpr-featured-media-caption span' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
817
+ ],
818
+ ]
819
+ );
820
+
821
+ $this->add_control(
822
+ 'image_caption_border_type',
823
+ [
824
+ 'label' => esc_html__( 'Border Type', 'wpr-addons' ),
825
+ 'type' => Controls_Manager::SELECT,
826
+ 'options' => [
827
+ 'none' => esc_html__( 'None', 'wpr-addons' ),
828
+ 'solid' => esc_html__( 'Solid', 'wpr-addons' ),
829
+ 'double' => esc_html__( 'Double', 'wpr-addons' ),
830
+ 'dotted' => esc_html__( 'Dotted', 'wpr-addons' ),
831
+ 'dashed' => esc_html__( 'Dashed', 'wpr-addons' ),
832
+ 'groove' => esc_html__( 'Groove', 'wpr-addons' ),
833
+ ],
834
+ 'default' => 'none',
835
+ 'selectors' => [
836
+ '{{WRAPPER}} .wpr-featured-media-caption span' => 'border-style: {{VALUE}};',
837
+ ],
838
+ 'separator' => 'before',
839
+ ]
840
+ );
841
+
842
+ $this->add_control(
843
+ 'image_caption_border_width',
844
+ [
845
+ 'label' => esc_html__( 'Border Width', 'wpr-addons' ),
846
+ 'type' => Controls_Manager::DIMENSIONS,
847
+ 'size_units' => [ 'px' ],
848
+ 'default' => [
849
+ 'top' => 1,
850
+ 'right' => 1,
851
+ 'bottom' => 1,
852
+ 'left' => 1,
853
+ ],
854
+ 'selectors' => [
855
+ '{{WRAPPER}} .wpr-featured-media-caption span' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
856
+ ],
857
+ 'condition' => [
858
+ 'image_caption_border_type!' => 'none',
859
+ ],
860
+ ]
861
+ );
862
+
863
+ $this->add_control(
864
+ 'image_caption_border_radius',
865
+ [
866
+ 'label' => esc_html__( 'Border Radius', 'wpr-addons' ),
867
+ 'type' => Controls_Manager::DIMENSIONS,
868
+ 'size_units' => [ 'px' ],
869
+ 'default' => [
870
+ 'top' => 3,
871
+ 'right' => 3,
872
+ 'bottom' => 3,
873
+ 'left' => 3,
874
+ ],
875
+ 'selectors' => [
876
+ '{{WRAPPER}} .wpr-featured-media-caption span' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
877
+ ],
878
+ ]
879
+ );
880
+
881
+ $this->add_control(
882
+ 'image_caption_align_vr',
883
+ [
884
+ 'label' => esc_html__( 'Vertical Align', 'wpr-addons' ),
885
+ 'type' => Controls_Manager::CHOOSE,
886
+ 'label_block' => false,
887
+ 'default' => 'flex-end',
888
+ 'options' => [
889
+ 'flex-start' => [
890
+ 'title' => esc_html__( 'Top', 'wpr-addons' ),
891
+ 'icon' => 'eicon-v-align-top',
892
+ ],
893
+ 'center' => [
894
+ 'title' => esc_html__( 'Middle', 'wpr-addons' ),
895
+ 'icon' => 'eicon-v-align-middle',
896
+ ],
897
+ 'flex-end' => [
898
+ 'title' => esc_html__( 'Bottom', 'wpr-addons' ),
899
+ 'icon' => 'eicon-v-align-bottom',
900
+ ],
901
+ ],
902
+ 'selectors' => [
903
+ '{{WRAPPER}} .wpr-featured-media-caption' => 'align-items: {{VALUE}}',
904
+ ],
905
+ 'separator' => 'before',
906
+ ]
907
+ );
908
+
909
+ $this->add_control(
910
+ 'image_caption_align_hr',
911
+ [
912
+ 'label' => esc_html__( 'Horizontal Align', 'wpr-addons' ),
913
+ 'type' => Controls_Manager::CHOOSE,
914
+ 'label_block' => false,
915
+ 'default' => 'center',
916
+ 'options' => [
917
+ 'flex-start' => [
918
+ 'title' => esc_html__( 'Left', 'wpr-addons' ),
919
+ 'icon' => 'eicon-h-align-left',
920
+ ],
921
+ 'center' => [
922
+ 'title' => esc_html__( 'Center', 'wpr-addons' ),
923
+ 'icon' => 'eicon-h-align-center',
924
+ ],
925
+ 'flex-end' => [
926
+ 'title' => esc_html__( 'Right', 'wpr-addons' ),
927
+ 'icon' => 'eicon-h-align-right',
928
+ ]
929
+ ],
930
+ 'selectors' => [
931
+ '{{WRAPPER}} .wpr-featured-media-caption' => 'justify-content: {{VALUE}}',
932
+ ],
933
+ ]
934
+ );
935
+
936
+ $this->end_controls_section();
937
+
938
+ // Styles ====================
939
+ // Section: Navigation -------
940
+ $this->start_controls_section(
941
+ 'wpr__section_style_gallery_slider_nav',
942
+ [
943
+ 'label' => esc_html__( 'Slider Navigation', 'wpr-addons' ),
944
+ 'tab' => Controls_Manager::TAB_STYLE,
945
+ 'condition' => [
946
+ 'featured_media_pfg_select' => 'meta',
947
+ 'gallery_display_as' => 'slider',
948
+ ],
949
+ ]
950
+ );
951
+
952
+ $this->start_controls_tabs( 'tabs_gallery_slider_nav_style' );
953
+
954
+ $this->start_controls_tab(
955
+ 'tab_gallery_slider_nav_normal',
956
+ [
957
+ 'label' => esc_html__( 'Normal', 'wpr-addons' ),
958
+ ]
959
+ );
960
+
961
+ $this->add_control(
962
+ 'gallery_slider_nav_color',
963
+ [
964
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
965
+ 'type' => Controls_Manager::COLOR,
966
+ 'default' => 'rgba(255,255,255,0.8)',
967
+ 'selectors' => [
968
+ '{{WRAPPER}} .wpr-gallery-slider-arrow' => 'color: {{VALUE}};',
969
+ ],
970
+ ]
971
+ );
972
+
973
+ $this->add_control(
974
+ 'gallery_slider_nav_bg_color',
975
+ [
976
+ 'label' => esc_html__( 'Background Color', 'wpr-addons' ),
977
+ 'type' => Controls_Manager::COLOR,
978
+ 'selectors' => [
979
+ '{{WRAPPER}} .wpr-gallery-slider-arrow' => 'background-color: {{VALUE}};',
980
+ ],
981
+ ]
982
+ );
983
+
984
+ $this->add_control(
985
+ 'gallery_slider_nav_border_color',
986
+ [
987
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
988
+ 'type' => Controls_Manager::COLOR,
989
+ 'default' => 'rgba(255,255,255,0.8)',
990
+ 'selectors' => [
991
+ '{{WRAPPER}} .wpr-gallery-slider-arrow' => 'border-color: {{VALUE}};',
992
+ ],
993
+ ]
994
+ );
995
+
996
+ $this->end_controls_tab();
997
+
998
+ $this->start_controls_tab(
999
+ 'tab_gallery_slider_nav_hover',
1000
+ [
1001
+ 'label' => esc_html__( 'Hover', 'wpr-addons' ),
1002
+ ]
1003
+ );
1004
+
1005
+ $this->add_control(
1006
+ 'gallery_slider_nav_hover_color',
1007
+ [
1008
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
1009
+ 'type' => Controls_Manager::COLOR,
1010
+ 'default' => '#ffffff',
1011
+ 'selectors' => [
1012
+ '{{WRAPPER}} .wpr-gallery-slider-arrow:hover' => 'color: {{VALUE}};',
1013
+ ],
1014
+ ]
1015
+ );
1016
+
1017
+ $this->add_control(
1018
+ 'gallery_slider_nav_hover_bg_color',
1019
+ [
1020
+ 'label' => esc_html__( 'Background Color', 'wpr-addons' ),
1021
+ 'type' => Controls_Manager::COLOR,
1022
+ 'selectors' => [
1023
+ '{{WRAPPER}} .wpr-gallery-slider-arrow:hover' => 'background-color: {{VALUE}};',
1024
+ ],
1025
+ ]
1026
+ );
1027
+
1028
+ $this->add_control(
1029
+ 'gallery_slider_nav_hover_border_color',
1030
+ [
1031
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
1032
+ 'type' => Controls_Manager::COLOR,
1033
+ 'selectors' => [
1034
+ '{{WRAPPER}} .wpr-gallery-slider-arrow:hover' => 'border-color: {{VALUE}};',
1035
+ ],
1036
+ ]
1037
+ );
1038
+
1039
+ $this->end_controls_tab();
1040
+
1041
+ $this->end_controls_tabs();
1042
+
1043
+ $this->add_control(
1044
+ 'gallery_slider_nav_transition_duration',
1045
+ [
1046
+ 'label' => esc_html__( 'Transition Duration', 'wpr-addons' ),
1047
+ 'type' => Controls_Manager::NUMBER,
1048
+ 'default' => 0.1,
1049
+ 'min' => 0,
1050
+ 'max' => 5,
1051
+ 'step' => 0.1,
1052
+ 'selectors' => [
1053
+ '{{WRAPPER}} .wpr-gallery-slider-arrow' => 'transition-duration: {{VALUE}}s',
1054
+ ],
1055
+ 'separator' => 'before',
1056
+ ]
1057
+ );
1058
+
1059
+ $this->add_responsive_control(
1060
+ 'gallery_slider_nav_font_size',
1061
+ [
1062
+ 'label' => esc_html__( 'Font Size', 'wpr-addons' ),
1063
+ 'type' => Controls_Manager::SLIDER,
1064
+ 'size_units' => [ 'px', '%' ],
1065
+ 'range' => [
1066
+ 'px' => [
1067
+ 'min' => 10,
1068
+ 'max' => 200,
1069
+ ],
1070
+ ],
1071
+ 'default' => [
1072
+ 'unit' => 'px',
1073
+ 'size' => 45,
1074
+ ],
1075
+ 'selectors' => [
1076
+ '{{WRAPPER}} .wpr-gallery-slider-arrow' => 'font-size: {{SIZE}}{{UNIT}};',
1077
+ ],
1078
+ 'separator' => 'before',
1079
+ ]
1080
+ );
1081
+
1082
+ $this->add_responsive_control(
1083
+ 'gallery_slider_nav_size',
1084
+ [
1085
+ 'label' => esc_html__( 'Box Size', 'wpr-addons' ),
1086
+ 'type' => Controls_Manager::SLIDER,
1087
+ 'size_units' => ['px', '%'],
1088
+ 'range' => [
1089
+ 'px' => [
1090
+ 'min' => 10,
1091
+ 'max' => 200,
1092
+ ],
1093
+ ],
1094
+ 'default' => [
1095
+ 'unit' => 'px',
1096
+ 'size' => 45,
1097
+ ],
1098
+ 'selectors' => [
1099
+ '{{WRAPPER}} .wpr-gallery-slider-arrow' => 'width: {{SIZE}}{{UNIT}}; height: {{SIZE}}{{UNIT}}; line-height: {{SIZE}}{{UNIT}};',
1100
+ ],
1101
+ 'separator' => 'after',
1102
+ ]
1103
+ );
1104
+
1105
+ $this->add_control(
1106
+ 'gallery_slider_nav_border_type',
1107
+ [
1108
+ 'label' => esc_html__( 'Border Type', 'wpr-addons' ),
1109
+ 'type' => Controls_Manager::SELECT,
1110
+ 'options' => [
1111
+ 'none' => esc_html__( 'None', 'wpr-addons' ),
1112
+ 'solid' => esc_html__( 'Solid', 'wpr-addons' ),
1113
+ 'double' => esc_html__( 'Double', 'wpr-addons' ),
1114
+ 'dotted' => esc_html__( 'Dotted', 'wpr-addons' ),
1115
+ 'dashed' => esc_html__( 'Dashed', 'wpr-addons' ),
1116
+ 'groove' => esc_html__( 'Groove', 'wpr-addons' ),
1117
+ ],
1118
+ 'default' => 'none',
1119
+ 'selectors' => [
1120
+ '{{WRAPPER}} .wpr-gallery-slider-arrow' => 'border-style: {{VALUE}};',
1121
+ ],
1122
+ ]
1123
+ );
1124
+
1125
+ $this->add_control(
1126
+ 'gallery_slider_nav_border_width',
1127
+ [
1128
+ 'label' => esc_html__( 'Border Width', 'wpr-addons' ),
1129
+ 'type' => Controls_Manager::DIMENSIONS,
1130
+ 'size_units' => [ 'px' ],
1131
+ 'default' => [
1132
+ 'top' => 2,
1133
+ 'right' => 2,
1134
+ 'bottom' => 0,
1135
+ 'left' => 2,
1136
+ ],
1137
+ 'selectors' => [
1138
+ '{{WRAPPER}} .wpr-gallery-slider-arrow' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1139
+ ],
1140
+ 'condition' => [
1141
+ 'gallery_slider_nav_border_type!' => 'none',
1142
+ ],
1143
+ ]
1144
+ );
1145
+
1146
+ $this->add_control(
1147
+ 'gallery_slider_nav_border_radius',
1148
+ [
1149
+ 'label' => esc_html__( 'Border Radius', 'wpr-addons' ),
1150
+ 'type' => Controls_Manager::DIMENSIONS,
1151
+ 'size_units' => [ 'px', '%' ],
1152
+ 'selectors' => [
1153
+ '{{WRAPPER}} .wpr-gallery-slider-arrow' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1154
+ ],
1155
+ 'separator' => 'after',
1156
+ ]
1157
+ );
1158
+
1159
+ $this->add_responsive_control(
1160
+ 'gallery_slider_nav_position_top',
1161
+ [
1162
+ 'type' => Controls_Manager::SLIDER,
1163
+ 'label' => esc_html__( 'Vertical Position', 'wpr-addons' ),
1164
+ 'size_units' => [ '%', 'px' ],
1165
+ 'range' => [
1166
+ '%' => [
1167
+ 'min' => -20,
1168
+ 'max' => 120,
1169
+ ],
1170
+ 'px' => [
1171
+ 'min' => -200,
1172
+ 'max' => 2000,
1173
+ ],
1174
+ ],
1175
+ 'default' => [
1176
+ 'unit' => '%',
1177
+ 'size' => 50,
1178
+ ],
1179
+ 'selectors' => [
1180
+ '{{WRAPPER}} .wpr-gallery-slider-arrow' => 'top: {{SIZE}}{{UNIT}};',
1181
+ ],
1182
+ ]
1183
+ );
1184
+
1185
+ $this->add_responsive_control(
1186
+ 'gallery_slider_nav_position_left',
1187
+ [
1188
+ 'type' => Controls_Manager::SLIDER,
1189
+ 'label' => esc_html__( 'Left Position', 'wpr-addons' ),
1190
+ 'size_units' => [ '%', 'px' ],
1191
+ 'range' => [
1192
+ '%' => [
1193
+ 'min' => -20,
1194
+ 'max' => 120,
1195
+ ],
1196
+ 'px' => [
1197
+ 'min' => -200,
1198
+ 'max' => 2000,
1199
+ ],
1200
+ ],
1201
+ 'default' => [
1202
+ 'unit' => '%',
1203
+ 'size' => 1,
1204
+ ],
1205
+ 'selectors' => [
1206
+ '{{WRAPPER}} .wpr-gallery-slider-prev-arrow' => 'left: {{SIZE}}{{UNIT}};',
1207
+ ],
1208
+ ]
1209
+ );
1210
+
1211
+ $this->add_responsive_control(
1212
+ 'gallery_slider_nav_position_right',
1213
+ [
1214
+ 'type' => Controls_Manager::SLIDER,
1215
+ 'label' => esc_html__( 'Right Position', 'wpr-addons' ),
1216
+ 'size_units' => [ '%', 'px' ],
1217
+ 'range' => [
1218
+ '%' => [
1219
+ 'min' => -20,
1220
+ 'max' => 120,
1221
+ ],
1222
+ 'px' => [
1223
+ 'min' => -200,
1224
+ 'max' => 2000,
1225
+ ],
1226
+ ],
1227
+ 'default' => [
1228
+ 'unit' => '%',
1229
+ 'size' => 1,
1230
+ ],
1231
+ 'selectors' => [
1232
+ '{{WRAPPER}} .wpr-gallery-slider-next-arrow' => 'right: {{SIZE}}{{UNIT}};',
1233
+ ],
1234
+ ]
1235
+ );
1236
+
1237
+ $this->end_controls_section(); // End Controls Section
1238
+
1239
+ // Styles ====================
1240
+ // Section: Pagination -------
1241
+ $this->start_controls_section(
1242
+ 'wpr__section_style_gallery_slider_dots',
1243
+ [
1244
+ 'label' => esc_html__( 'Slider Pagination', 'wpr-addons' ),
1245
+ 'tab' => Controls_Manager::TAB_STYLE,
1246
+ 'condition' => [
1247
+ 'featured_media_pfg_select' => 'meta',
1248
+ 'gallery_display_as' => 'slider',
1249
+ ],
1250
+ ]
1251
+ );
1252
+
1253
+ $this->start_controls_tabs( 'tabs_gallery_slider_dots' );
1254
+
1255
+ $this->start_controls_tab(
1256
+ 'tab_gallery_slider_dots_normal',
1257
+ [
1258
+ 'label' => esc_html__( 'Normal', 'wpr-addons' ),
1259
+ ]
1260
+ );
1261
+
1262
+ $this->add_control(
1263
+ 'gallery_slider_dots_bg_color',
1264
+ [
1265
+ 'label' => esc_html__( 'Background Color', 'wpr-addons' ),
1266
+ 'type' => Controls_Manager::COLOR,
1267
+ 'default' => 'rgba(0,0,0,0.35)',
1268
+ 'selectors' => [
1269
+ '{{WRAPPER}} .wpr-gallery-slider-dot' => 'background-color: {{VALUE}};',
1270
+ ],
1271
+ ]
1272
+ );
1273
+
1274
+ $this->add_control(
1275
+ 'gallery_slider_dots_border_color',
1276
+ [
1277
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
1278
+ 'type' => Controls_Manager::COLOR,
1279
+ 'selectors' => [
1280
+ '{{WRAPPER}} .wpr-gallery-slider-dot' => 'border-color: {{VALUE}}',
1281
+ ],
1282
+ ]
1283
+ );
1284
+
1285
+ $this->end_controls_tab();
1286
+
1287
+ $this->start_controls_tab(
1288
+ 'tab_gallery_slider_dots_active',
1289
+ [
1290
+ 'label' => esc_html__( 'Active', 'wpr-addons' ),
1291
+ ]
1292
+ );
1293
+
1294
+ $this->add_control(
1295
+ 'gallery_slider_dots_active_bg_color',
1296
+ [
1297
+ 'label' => esc_html__( 'Background Color', 'wpr-addons' ),
1298
+ 'type' => Controls_Manager::COLOR,
1299
+ 'default' => '#222222',
1300
+ 'selectors' => [
1301
+ '{{WRAPPER}} .wpr-gallery-slider-dots .slick-active .wpr-gallery-slider-dot' => 'background-color: {{VALUE}}',
1302
+ ],
1303
+ ]
1304
+ );
1305
+
1306
+ $this->add_control(
1307
+ 'gallery_slider_dots_active_border_color',
1308
+ [
1309
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
1310
+ 'type' => Controls_Manager::COLOR,
1311
+ 'selectors' => [
1312
+ '{{WRAPPER}} .wpr-gallery-slider-dots .slick-active .wpr-gallery-slider-dot' => 'border-color: {{VALUE}}',
1313
+ ],
1314
+ ]
1315
+ );
1316
+
1317
+ $this->end_controls_tab();
1318
+
1319
+ $this->end_controls_tabs();
1320
+
1321
+ $this->add_responsive_control(
1322
+ 'gallery_slider_dots_size',
1323
+ [
1324
+ 'label' => esc_html__( 'Box Size', 'wpr-addons' ),
1325
+ 'type' => Controls_Manager::SLIDER,
1326
+ 'size_units' => ['px', '%'],
1327
+ 'range' => [
1328
+ 'px' => [
1329
+ 'min' => 5,
1330
+ 'max' => 200,
1331
+ ],
1332
+ ],
1333
+ 'default' => [
1334
+ 'unit' => 'px',
1335
+ 'size' => 8,
1336
+ ],
1337
+ 'selectors' => [
1338
+ '{{WRAPPER}} .wpr-gallery-slider-dot' => 'width: {{SIZE}}{{UNIT}}; height: {{SIZE}}{{UNIT}};',
1339
+ ],
1340
+ 'separator' => 'before',
1341
+ ]
1342
+ );
1343
+
1344
+ $this->add_control(
1345
+ 'gallery_slider_dots_border_type',
1346
+ [
1347
+ 'label' => esc_html__( 'Border Type', 'wpr-addons' ),
1348
+ 'type' => Controls_Manager::SELECT,
1349
+ 'options' => [
1350
+ 'none' => esc_html__( 'None', 'wpr-addons' ),
1351
+ 'solid' => esc_html__( 'Solid', 'wpr-addons' ),
1352
+ 'double' => esc_html__( 'Double', 'wpr-addons' ),
1353
+ 'dotted' => esc_html__( 'Dotted', 'wpr-addons' ),
1354
+ 'dashed' => esc_html__( 'Dashed', 'wpr-addons' ),
1355
+ 'groove' => esc_html__( 'Groove', 'wpr-addons' ),
1356
+ ],
1357
+ 'default' => 'none',
1358
+ 'selectors' => [
1359
+ '{{WRAPPER}} .wpr-gallery-slider-dot' => 'border-style: {{VALUE}};',
1360
+ ],
1361
+ 'separator' => 'before',
1362
+ ]
1363
+ );
1364
+
1365
+ $this->add_control(
1366
+ 'gallery_slider_dots_border_width',
1367
+ [
1368
+ 'label' => esc_html__( 'Border Width', 'wpr-addons' ),
1369
+ 'type' => Controls_Manager::DIMENSIONS,
1370
+ 'size_units' => [ 'px' ],
1371
+ 'default' => [
1372
+ 'top' => 1,
1373
+ 'right' => 1,
1374
+ 'bottom' => 1,
1375
+ 'left' => 1,
1376
+ ],
1377
+ 'selectors' => [
1378
+ '{{WRAPPER}} .wpr-gallery-slider-dot' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1379
+ ],
1380
+ 'condition' => [
1381
+ 'gallery_slider_dots_border_type!' => 'none',
1382
+ ],
1383
+ ]
1384
+ );
1385
+
1386
+ $this->add_control(
1387
+ 'gallery_slider_dots_border_radius',
1388
+ [
1389
+ 'label' => esc_html__( 'Border Radius', 'wpr-addons' ),
1390
+ 'type' => Controls_Manager::DIMENSIONS,
1391
+ 'default' => [
1392
+ 'top' => 50,
1393
+ 'right' => 50,
1394
+ 'bottom' => 50,
1395
+ 'left' => 50,
1396
+ 'unit' => '%',
1397
+ ],
1398
+ 'size_units' => [ 'px', '%' ],
1399
+ 'selectors' => [
1400
+ '{{WRAPPER}} .wpr-gallery-slider-dot' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1401
+ ],
1402
+ 'separator' => 'before',
1403
+ ]
1404
+ );
1405
+
1406
+ $this->add_responsive_control(
1407
+ 'gallery_slider_dots_gutter',
1408
+ [
1409
+ 'type' => Controls_Manager::SLIDER,
1410
+ 'label' => esc_html__( 'Gutter', 'wpr-addons' ),
1411
+ 'size_units' => ['px' ],
1412
+ 'range' => [
1413
+ 'px' => [
1414
+ 'min' => 0,
1415
+ 'max' => 100,
1416
+ ],
1417
+ ],
1418
+ 'default' => [
1419
+ 'unit' => 'px',
1420
+ 'size' => 7,
1421
+ ],
1422
+ 'selectors' => [
1423
+ '{{WRAPPER}} .wpr-gallery-slider-dot' => 'margin-right: {{SIZE}}{{UNIT}};',
1424
+ ],
1425
+ 'separator' => 'before',
1426
+ ]
1427
+ );
1428
+
1429
+ $this->add_responsive_control(
1430
+ 'gallery_slider_dots_hr',
1431
+ [
1432
+ 'type' => Controls_Manager::SLIDER,
1433
+ 'label' => esc_html__( 'Horizontal Position', 'wpr-addons' ),
1434
+ 'size_units' => [ '%', 'px' ],
1435
+ 'range' => [
1436
+ '%' => [
1437
+ 'min' => -20,
1438
+ 'max' => 120,
1439
+ ],
1440
+ 'px' => [
1441
+ 'min' => -200,
1442
+ 'max' => 2000,
1443
+ ],
1444
+ ],
1445
+ 'default' => [
1446
+ 'unit' => '%',
1447
+ 'size' => 50,
1448
+ ],
1449
+ 'selectors' => [
1450
+ '{{WRAPPER}} .wpr-gallery-slider-dots' => 'left: {{SIZE}}{{UNIT}};',
1451
+ ],
1452
+ ]
1453
+ );
1454
+
1455
+ $this->add_responsive_control(
1456
+ 'gallery_slider_dots_vr',
1457
+ [
1458
+ 'type' => Controls_Manager::SLIDER,
1459
+ 'label' => esc_html__( 'Vertical Position', 'wpr-addons' ),
1460
+ 'size_units' => [ '%', 'px' ],
1461
+ 'range' => [
1462
+ '%' => [
1463
+ 'min' => -20,
1464
+ 'max' => 120,
1465
+ ],
1466
+ 'px' => [
1467
+ 'min' => -200,
1468
+ 'max' => 2000,
1469
+ ],
1470
+ ],
1471
+ 'default' => [
1472
+ 'unit' => '%',
1473
+ 'size' => 96,
1474
+ ],
1475
+ 'selectors' => [
1476
+ '{{WRAPPER}} .wpr-gallery-slider-dots' => 'top: {{SIZE}}{{UNIT}};',
1477
+ ],
1478
+ ]
1479
+ );
1480
+
1481
+ $this->end_controls_section(); // End Controls Section
1482
+
1483
+ }
1484
+
1485
+ public function get_lightbox_settings( $settings ) {
1486
+ $lightbox_settings = [
1487
+ 'selector' => '.slick-slide:not(.slick-cloned) .wpr-featured-media-image, .wpr-featured-media-wrap > .wpr-featured-media-image',
1488
+ 'iframeMaxWidth' => '60%',
1489
+ 'hash' => false,
1490
+ 'autoplay' => $settings['lightbox_popup_autoplay'],
1491
+ 'pause' => $settings['lightbox_popup_pause'] * 1000,
1492
+ 'progressBar' => $settings['lightbox_popup_progressbar'],
1493
+ 'counter' => $settings['lightbox_popup_counter'],
1494
+ 'controls' => $settings['lightbox_popup_arrows'],
1495
+ 'getCaptionFromTitleOrAlt' => $settings['lightbox_popup_captions'],
1496
+ 'thumbnail' => $settings['lightbox_popup_thumbnails'],
1497
+ 'showThumbByDefault' => $settings['lightbox_popup_thumbnails_default'],
1498
+ 'share' => $settings['lightbox_popup_sharing'],
1499
+ 'zoom' => $settings['lightbox_popup_zoom'],
1500
+ 'fullScreen' => $settings['lightbox_popup_fullscreen'],
1501
+ 'download' => $settings['lightbox_popup_download'],
1502
+ ];
1503
+
1504
+ return json_encode( $lightbox_settings );
1505
+ }
1506
+
1507
+ // Render Post Thumbnail
1508
+ public function render_post_thumbnail( $settings, $id ) {
1509
+ $lightbox = '';
1510
+ $src = Group_Control_Image_Size::get_attachment_image_src( $id, 'featured_media_image_crop', $settings );
1511
+ $caption = wp_get_attachment_caption( $id );
1512
+
1513
+ // Lightbox
1514
+ // if ( 'yes' === $settings['featured_media_lightbox'] ) {
1515
+ // $lightbox = ' data-lightbox="'. esc_attr( $this->get_lightbox_settings( $settings ) ) .'"';
1516
+ // }
1517
+
1518
+ // if ( $id === get_post_thumbnail_id() && false === get_post_format() ) {
1519
+ // $show_caption = $settings['featured_media_caption'];
1520
+ // } else {
1521
+ // $show_caption = $settings['gallery_caption'];
1522
+ // }
1523
+
1524
+ $show_caption = $settings['featured_media_caption'];
1525
+
1526
+ // Render Image
1527
+ if ( has_post_thumbnail() ) {
1528
+ echo '<div class="wpr-featured-media-image" data-src="'. esc_url( $src ) .'"'. $lightbox .'>';
1529
+ if ( 'yes' === $show_caption && '' !== $caption ) {
1530
+ echo '<div class="wpr-featured-media-caption">';
1531
+ echo '<span>'. esc_html( $caption ) .'</span>';
1532
+ echo '</div>';
1533
+ }
1534
+
1535
+ echo '<img src="'. esc_url( $src ) .'" alt="'. esc_attr( $caption ) .'">';
1536
+ echo '</div>';
1537
+ }
1538
+ }
1539
+
1540
+ public function render_post_audio_video( $settings, $post_format ) {
1541
+ $utilities = new Utilities();
1542
+ $meta_value = get_post_meta( get_the_ID(), $settings[ 'featured_media_'. $post_format ], true );
1543
+
1544
+ // Checks
1545
+ if ( '' === $meta_value ) {
1546
+ return;
1547
+ }
1548
+
1549
+ // URL
1550
+ if ( false === strpos( $meta_value, '<iframe ' ) ) {
1551
+ add_filter( 'oembed_result', [ $utilities, 'filter_oembed_results' ], 50, 3 );
1552
+ $track_url = wp_oembed_get( $meta_value );
1553
+ remove_filter( 'oembed_result', [ $utilities, 'filter_oembed_results' ], 50 );
1554
+
1555
+ // Iframe
1556
+ } else {
1557
+ $track_url = Utilities::filter_oembed_results( $meta_value );
1558
+ }
1559
+
1560
+ // Video
1561
+ if ( 'video' === $post_format ) {
1562
+ $track_url = str_replace( '&auto_play=true', '', $track_url );
1563
+ echo '<div class="elementor-fit-aspect-ratio">';
1564
+ echo '<iframe src="'. esc_url( $track_url ) .'"></iframe>';
1565
+ echo '</div>';
1566
+
1567
+ // Audio
1568
+ } else {
1569
+ $track_url = ( '' === $settings['audio_auto_play'] ) ? str_replace( 'auto_play=true', '', $track_url ) : $track_url;
1570
+ $audio_height = 'yes' === $settings['audio_visual_player'] ? '400' : '200';
1571
+
1572
+ // SoundCloud Color
1573
+ if ( strpos( $track_url, 'ff5500' ) ) {
1574
+ $track_url = str_replace( 'ff5500', str_replace( '#', '', $settings['audio_interface_color'] ), $track_url );
1575
+ } else {
1576
+ $track_url .= str_replace( '#', 'color=', $settings['audio_interface_color'] );
1577
+ }
1578
+
1579
+ echo '<iframe height="'. $audio_height .'" src="'. esc_url( $track_url ) .'" allow="autoplay"></iframe>';
1580
+ }
1581
+ }
1582
+
1583
+ public function render_post_gallery( $settings ) {
1584
+ $meta_value = get_post_meta( get_the_ID(), $settings[ 'featured_media_gallery' ], true );
1585
+ $slider_is_rtl = is_rtl();
1586
+ $slider_direction = $slider_is_rtl ? 'rtl' : 'ltr';
1587
+
1588
+ // Checks
1589
+ if ( empty($meta_value) || ! is_array( $meta_value ) ) {
1590
+ return;
1591
+ }
1592
+
1593
+ // Settings
1594
+ $slider_options = [
1595
+ 'rtl' => $slider_is_rtl,
1596
+ 'infinite' => ( $settings['gallery_slider_loop'] === 'yes' ),
1597
+ 'speed' => absint( $settings['gallery_slider_effect_duration'] * 1000 ),
1598
+ 'arrows' => true,
1599
+ 'dots' => true,
1600
+ 'autoplay' => ( $settings['gallery_slider_autoplay'] === 'yes' ),
1601
+ 'autoplaySpeed' => absint( $settings['gallery_slider_autoplay_duration'] * 1000 ),
1602
+ 'pauseOnHover' => $settings['gallery_slider_pause_on_hover'],
1603
+ 'prevArrow' => '<div class="wpr-gallery-slider-prev-arrow wpr-gallery-slider-arrow"><i class="eicon-arrow-left"></i></div>',
1604
+ 'nextArrow' => '<div class="wpr-gallery-slider-next-arrow wpr-gallery-slider-arrow"><i class="eicon-arrow-right"></i></div>',
1605
+ ];
1606
+
1607
+ if ( $settings['gallery_slider_effect'] === 'fade' ) {
1608
+ $slider_options['fade'] = true;
1609
+ }
1610
+
1611
+ if ( 'stacked' === $settings['gallery_display_as'] ) {
1612
+ $slider_options = [];
1613
+ }
1614
+
1615
+ // Slider Attributes
1616
+ $this->add_render_attribute( 'slider-settings', [
1617
+ 'dir' => esc_attr( $slider_direction ),
1618
+ 'data-slick' => wp_json_encode( $slider_options ),
1619
+ ] );
1620
+
1621
+ // Slider HTML
1622
+ echo '<div class="wpr-gallery-slider" '. $this->get_render_attribute_string( 'slider-settings' ) .'>';
1623
+ foreach ( $meta_value as $key => $id ) {
1624
+ echo '<div class="wpr-gallery-slide">';
1625
+ $this->render_post_thumbnail( $settings, $id );
1626
+ echo '</div>';
1627
+ }
1628
+ echo '</div>';
1629
+
1630
+ echo '<div class="wpr-gallery-slider-dots"></div>';
1631
+ }
1632
+
1633
+ protected function render() {
1634
+ // Get Settings
1635
+ $settings = $this->get_settings();
1636
+ $thumb_id = get_post_thumbnail_id();
1637
+ $post_format = 'standard';
1638
+
1639
+ echo '<div class="wpr-featured-media-wrap" data-caption="'. esc_attr( $post_format ) .'">';
1640
+
1641
+ switch ( $post_format ) {
1642
+ case 'audio':
1643
+ if ( 'meta' === $settings['featured_media_pfa_select'] ) {
1644
+ $this->render_post_audio_video( $settings, 'audio' );
1645
+ } else {
1646
+ $this->render_post_thumbnail( $settings, $thumb_id );
1647
+ }
1648
+ break;
1649
+
1650
+ case 'video':
1651
+ if ( 'meta' === $settings['featured_media_pfv_select'] ) {
1652
+ $this->render_post_audio_video( $settings, 'video' );
1653
+ } else {
1654
+ $this->render_post_thumbnail( $settings, $thumb_id );
1655
+ }
1656
+ break;
1657
+
1658
+ case 'gallery':
1659
+ if ( 'meta' === $settings['featured_media_pfg_select'] ) {
1660
+ $this->render_post_gallery( $settings );
1661
+ } else {
1662
+ $this->render_post_thumbnail( $settings, $thumb_id );
1663
+ }
1664
+ break;
1665
+
1666
+ default:
1667
+ $this->render_post_thumbnail( $settings, $thumb_id );
1668
+ break;
1669
+ }
1670
+
1671
+ echo '</div>';
1672
+
1673
+ }
1674
+
1675
+ }
modules/theme-builder/post-navigation/module.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Modules\ThemeBuilder\PostNavigation;
3
+
4
+ use WprAddons\Base\Module_Base;
5
+ use WprAddons\Classes\Utilities;
6
+
7
+ class Module extends Module_Base {
8
+
9
+ public function __construct() {
10
+ parent::__construct();
11
+
12
+ // This is here for extensibility purposes - go to town and make things happen!
13
+ }
14
+
15
+ public function get_name() {
16
+ return 'wpr-post-navigation';
17
+ }
18
+
19
+ public function get_widgets() {
20
+ return [
21
+ 'Wpr_Post_Navigation', // This should match the widget/element class.
22
+ ];
23
+ }
24
+
25
+ }
modules/theme-builder/post-navigation/widgets/wpr-post-navigation.php ADDED
@@ -0,0 +1,904 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Modules\ThemeBuilder\PostNavigation\Widgets;
3
+
4
+ use Elementor\Widget_Base;
5
+ use Elementor\Controls_Manager;
6
+ use Elementor\Core\Responsive\Responsive;
7
+ use Elementor\Group_Control_Box_Shadow;
8
+ use Elementor\Group_Control_Typography;
9
+ use Elementor\Core\Schemes\Typography;
10
+ use Elementor\Core\Schemes\Color;
11
+ use Elementor\Group_Control_Image_Size;
12
+ use Elementor\Group_Control_Border;
13
+ use Elementor\Group_Control_Css_Filter;
14
+ use WprAddons\Classes\Utilities;
15
+
16
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
17
+
18
+ class Wpr_Post_Navigation extends Widget_Base {
19
+
20
+ public function get_name() {
21
+ return 'wpr-post-navigation';
22
+ }
23
+
24
+ public function get_title() {
25
+ return esc_html__( 'Post Navigation', 'wpr-addons' );
26
+ }
27
+
28
+ public function get_icon() {
29
+ return 'wpr-icon eicon-post-navigation';
30
+ }
31
+
32
+ public function get_categories() {
33
+ return Utilities::show_theme_buider_widget_on('single') ? [ 'wpr-theme-builder-widgets' ] : [];
34
+ }
35
+
36
+ public function get_keywords() {
37
+ return [ 'navigation', 'arrows', 'pagination' ];
38
+ }
39
+
40
+ public function add_control_post_nav_layout() {
41
+ $this->add_control(
42
+ 'post_nav_layout',
43
+ [
44
+ 'label' => esc_html__( 'Layout', 'wpr-addons' ),
45
+ 'type' => Controls_Manager::SELECT,
46
+ 'default' => 'static',
47
+ 'options' => [
48
+ 'static' => esc_html__( 'Static Left/Right', 'wpr-addons' ),
49
+ 'pro-fx' => esc_html__( 'Fixed Left/Right (Pro)', 'wpr-addons' ),
50
+ 'pro-fd' => esc_html__( 'Fixed Default (Pro)', 'wpr-addons' ),
51
+ ],
52
+ ]
53
+ );
54
+ }
55
+
56
+ public function add_control_post_nav_fixed_default_align() {}
57
+
58
+ public function add_control_post_nav_fixed_vr() {}
59
+
60
+ public function add_control_post_nav_arrows_loc() {}
61
+
62
+ public function add_control_post_nav_title() {}
63
+
64
+ public function add_controls_group_post_nav_image() {}
65
+
66
+ public function add_controls_group_post_nav_back() {}
67
+
68
+ public function add_control_post_nav_query() {}
69
+
70
+ public function add_controls_group_post_nav_overlay_style() {}
71
+
72
+ public function add_control_post_nav_align_vr() {}
73
+
74
+ public function add_section_style_post_nav_back_btn() {}
75
+
76
+ public function add_section_style_post_nav_title() {}
77
+
78
+ protected function register_controls() {
79
+
80
+ // Tab: Content ==============
81
+ // Section: General ----------
82
+ $this->start_controls_section(
83
+ 'section_post_navigation',
84
+ [
85
+ 'label' => esc_html__( 'General', 'wpr-addons' ),
86
+ 'tab' => Controls_Manager::TAB_CONTENT,
87
+ ]
88
+ );
89
+
90
+ $this->add_control_post_nav_layout();
91
+
92
+ // Upgrade to Pro Notice
93
+ Utilities::upgrade_pro_notice( $this, Controls_Manager::RAW_HTML, 'post-navigation', 'post_nav_layout', ['pro-fx', 'pro-fd'] );
94
+
95
+ $this->add_control_post_nav_fixed_default_align();
96
+
97
+ $this->add_control_post_nav_fixed_vr();
98
+
99
+ $this->add_control(
100
+ 'post_nav_arrows',
101
+ [
102
+ 'label' => esc_html__( 'Show Arrows', 'wpr-addons' ),
103
+ 'type' => Controls_Manager::SWITCHER,
104
+ 'default' => 'yes',
105
+ 'return_value' => 'yes',
106
+ 'separator' => 'before'
107
+ ]
108
+ );
109
+
110
+ $this->add_control_post_nav_arrows_loc();
111
+
112
+ $this->add_control(
113
+ 'post_nav_arrow_icon',
114
+ [
115
+ 'label' => esc_html__( 'Select Icon', 'wpr-addons' ),
116
+ 'type' => 'wpr-arrow-icons',
117
+ 'default' => 'svg-angle-2-left',
118
+ 'condition' => [
119
+ 'post_nav_arrows' => 'yes',
120
+ ],
121
+ ]
122
+ );
123
+
124
+ $this->add_control(
125
+ 'post_nav_labels',
126
+ [
127
+ 'label' => esc_html__( 'Show Labels', 'wpr-addons' ),
128
+ 'type' => Controls_Manager::SWITCHER,
129
+ 'default' => 'yes',
130
+ 'return_value' => 'yes',
131
+ 'separator' => 'before',
132
+ 'condition' => [
133
+ 'post_nav_layout!' => 'fixed',
134
+ ]
135
+ ]
136
+ );
137
+
138
+ $this->add_control(
139
+ 'post_nav_prev_text',
140
+ [
141
+ 'label' => esc_html__( 'Previous Text', 'wpr-addons' ),
142
+ 'type' => Controls_Manager::TEXT,
143
+ 'default' => 'Previous Post',
144
+ 'condition' => [
145
+ 'post_nav_labels' => 'yes',
146
+ 'post_nav_layout!' => 'fixed',
147
+ ]
148
+ ]
149
+ );
150
+
151
+ $this->add_control(
152
+ 'post_nav_next_text',
153
+ [
154
+ 'label' => esc_html__( 'Next Text', 'wpr-addons' ),
155
+ 'type' => Controls_Manager::TEXT,
156
+ 'default' => 'Next Post',
157
+ 'condition' => [
158
+ 'post_nav_labels' => 'yes',
159
+ 'post_nav_layout!' => 'fixed',
160
+ ]
161
+ ]
162
+ );
163
+
164
+ $this->add_control_post_nav_title();
165
+
166
+ $this->add_controls_group_post_nav_image();
167
+
168
+ $this->add_controls_group_post_nav_back();
169
+
170
+ $this->add_control(
171
+ 'post_nav_dividers',
172
+ [
173
+ 'label' => esc_html__( 'Show Dividers', 'wpr-addons' ),
174
+ 'type' => Controls_Manager::SWITCHER,
175
+ 'return_value' => 'yes',
176
+ 'default' => 'yes',
177
+ 'separator' => 'before',
178
+ 'condition' => [
179
+ 'post_nav_layout' => 'static'
180
+ ],
181
+ ]
182
+ );
183
+
184
+ $this->add_control_post_nav_query();
185
+
186
+ $this->end_controls_section();
187
+
188
+ // Section: Pro Features
189
+ Utilities::pro_features_list_section( $this, Controls_Manager::RAW_HTML, 'post-navigation', [
190
+ 'Set Navigation Query - Force to navigate posts through specific Taxonomy (category).',
191
+ 'Advanced Layout Options - Fixed Left-Right, Fixed Bottom.',
192
+ 'Multiple Navigation Arrows Locations.',
193
+ 'Show/Hide Post Title.',
194
+ 'Show/Hide Post Thumbnail, Show on hover or set as Navigation Label Background.',
195
+ 'Show/Hide Back Button - Set custom link to any page to go back to.',
196
+ ] );
197
+
198
+ // Styles ====================
199
+ // Section: General ----------
200
+ $this->start_controls_section(
201
+ 'section_style_general',
202
+ [
203
+ 'label' => esc_html__( 'General', 'wpr-addons' ),
204
+ 'tab' => Controls_Manager::TAB_STYLE,
205
+ 'show_label' => false,
206
+ 'condition' => [
207
+ 'post_nav_layout!' => 'fixed'
208
+ ]
209
+ ]
210
+ );
211
+
212
+ $this->add_controls_group_post_nav_overlay_style();
213
+
214
+ $this->add_control(
215
+ 'post_nav_background',
216
+ [
217
+ 'label' => esc_html__( 'Section Background Color', 'wpr-addons' ),
218
+ 'type' => Controls_Manager::COLOR,
219
+ 'selectors' => [
220
+ '{{WRAPPER}} .wpr-post-navigation-wrap' => 'background-color: {{VALUE}}',
221
+ ],
222
+ ]
223
+ );
224
+
225
+ $this->add_control(
226
+ 'post_nav_divider_color',
227
+ [
228
+ 'label' => esc_html__( 'Divider Color', 'wpr-addons' ),
229
+ 'type' => Controls_Manager::COLOR,
230
+ 'default' => '#e8e8e8',
231
+ 'selectors' => [
232
+ '{{WRAPPER}} .wpr-post-navigation-wrap' => 'border-color: {{VALUE}}',
233
+ '{{WRAPPER}} .wpr-post-nav-divider' => 'background-color: {{VALUE}}',
234
+ ],
235
+ 'separator' => 'before',
236
+ 'condition' => [
237
+ 'post_nav_layout' => 'static',
238
+ 'post_nav_dividers' => 'yes'
239
+ ]
240
+ ]
241
+ );
242
+
243
+ $this->add_control(
244
+ 'post_nav_divider_width',
245
+ [
246
+ 'label' => esc_html__( 'Divider Width', 'wpr-addons' ),
247
+ 'type' => Controls_Manager::SLIDER,
248
+ 'size_units' => ['px'],
249
+ 'range' => [
250
+ 'px' => [
251
+ 'min' => 1,
252
+ 'max' => 5,
253
+ ],
254
+ ],
255
+ 'default' => [
256
+ 'unit' => 'px',
257
+ 'size' => 1,
258
+ ],
259
+ 'selectors' => [
260
+ '{{WRAPPER}} .wpr-post-nav-divider' => 'width: {{SIZE}}{{UNIT}};',
261
+ '{{WRAPPER}} .wpr-post-navigation-wrap' => 'border-width: {{SIZE}}{{UNIT}} 0 {{SIZE}}{{UNIT}} 0;',
262
+ ],
263
+ 'condition' => [
264
+ 'post_nav_layout' => 'static',
265
+ 'post_nav_dividers' => 'yes'
266
+ ]
267
+ ]
268
+ );
269
+
270
+ $this->add_responsive_control(
271
+ 'post_nav_padding',
272
+ [
273
+ 'label' => esc_html__( 'Padding', 'wpr-addons' ),
274
+ 'type' => Controls_Manager::DIMENSIONS,
275
+ 'size_units' => [ 'px' ],
276
+ 'default' => [
277
+ 'top' => 0,
278
+ 'right' => 0,
279
+ 'bottom' => 0,
280
+ 'left' => 0,
281
+ ],
282
+ 'selectors' => [
283
+ '{{WRAPPER}} .wpr-post-navigation-wrap.wpr-post-nav-dividers' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
284
+ '{{WRAPPER}} .wpr-post-nav-bg-images .wpr-post-navigation' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
285
+ ],
286
+ 'separator' => 'before',
287
+ ]
288
+ );
289
+
290
+ $this->add_control_post_nav_align_vr();
291
+
292
+ $this->end_controls_section();
293
+
294
+ // Styles ====================
295
+ // Section: Arrows -----------
296
+ $this->start_controls_section(
297
+ 'section_style_post_nav_arrow',
298
+ [
299
+ 'label' => esc_html__( 'Arrows', 'wpr-addons' ),
300
+ 'tab' => Controls_Manager::TAB_STYLE,
301
+ 'show_label' => false,
302
+ 'condition' => [
303
+ 'post_nav_arrows' => 'yes'
304
+ ]
305
+ ]
306
+ );
307
+
308
+ $this->start_controls_tabs( 'tabs_grid_post_nav_arrow_style' );
309
+
310
+ $this->start_controls_tab(
311
+ 'tab_grid_post_nav_arrow_normal',
312
+ [
313
+ 'label' => __( 'Normal', 'wpr-addons' ),
314
+ ]
315
+ );
316
+
317
+ $this->add_control(
318
+ 'post_nav_arrow_color',
319
+ [
320
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
321
+ 'type' => Controls_Manager::COLOR,
322
+ 'default' => '#605BE5',
323
+ 'selectors' => [
324
+ '{{WRAPPER}} .wpr-post-navigation i' => 'color: {{VALUE}}',
325
+ '{{WRAPPER}} .wpr-post-navigation svg path' => 'color: {{VALUE}}',
326
+ '{{WRAPPER}} .wpr-posts-navigation-svg-wrapper svg' => 'fill: {{VALUE}}',
327
+ ],
328
+ ]
329
+ );
330
+
331
+ $this->add_control(
332
+ 'post_nav_arrow_bg_color',
333
+ [
334
+ 'label' => esc_html__( 'Background Color', 'wpr-addons' ),
335
+ 'type' => Controls_Manager::COLOR,
336
+ 'selectors' => [
337
+ '{{WRAPPER}} .wpr-post-navigation i' => 'background-color: {{VALUE}}',
338
+ '{{WRAPPER}} .wpr-posts-navigation-svg-wrapper' => 'background-color: {{VALUE}};',
339
+ ]
340
+ ]
341
+ );
342
+
343
+ $this->add_control(
344
+ 'post_nav_arrow_border_color',
345
+ [
346
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
347
+ 'default' => '#E8E8E8',
348
+ 'type' => Controls_Manager::COLOR,
349
+ 'selectors' => [
350
+ '{{WRAPPER}} .wpr-post-navigation i' => 'border-color: {{VALUE}}',
351
+ '{{WRAPPER}} .wpr-posts-navigation-svg-wrapper' => 'border-color: {{VALUE}}',
352
+ ],
353
+ ]
354
+ );
355
+
356
+ $this->end_controls_tab();
357
+
358
+ $this->start_controls_tab(
359
+ 'tab_grid_post_nav_arrow_hover',
360
+ [
361
+ 'label' => __( 'Hover', 'wpr-addons' ),
362
+ ]
363
+ );
364
+
365
+ $this->add_control(
366
+ 'post_nav_arrow_color_hr',
367
+ [
368
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
369
+ 'type' => Controls_Manager::COLOR,
370
+ 'selectors' => [
371
+ '{{WRAPPER}} .wpr-post-navigation i:hover' => 'color: {{VALUE}}',
372
+ '{{WRAPPER}} .wpr-posts-navigation-svg-wrapper:hover svg' => 'fill: {{VALUE}}',
373
+ ],
374
+ ]
375
+ );
376
+
377
+ $this->add_control(
378
+ 'post_nav_arrow_bg_color_hr',
379
+ [
380
+ 'label' => esc_html__( 'Background Color', 'wpr-addons' ),
381
+ 'type' => Controls_Manager::COLOR,
382
+ 'selectors' => [
383
+ '{{WRAPPER}} .wpr-post-navigation i:hover' => 'background-color: {{VALUE}}',
384
+ '{{WRAPPER}} .wpr-posts-navigation-svg-wrapper:hover' => 'background-color: {{VALUE}}',
385
+ ]
386
+ ]
387
+ );
388
+
389
+ $this->add_control(
390
+ 'post_nav_arrow_border_color_hr',
391
+ [
392
+ 'label' => esc_html__( 'Border Color', 'wpr-addons' ),
393
+ 'type' => Controls_Manager::COLOR,
394
+ 'selectors' => [
395
+ '{{WRAPPER}} .wpr-post-navigation i:hover' => 'border-color: {{VALUE}}',
396
+ '{{WRAPPER}} .wpr-posts-navigation-svg-wrapper:hover' => 'border-color: {{VALUE}}',
397
+ ],
398
+ ]
399
+ );
400
+
401
+ $this->end_controls_tab();
402
+
403
+ $this->end_controls_tabs();
404
+
405
+ $this->add_control(
406
+ 'post_nav_arrow_transition_duration',
407
+ [
408
+ 'label' => esc_html__( 'Transition Duration', 'wpr-addons' ),
409
+ 'type' => Controls_Manager::NUMBER,
410
+ 'default' => 0.5,
411
+ 'min' => 0,
412
+ 'max' => 5,
413
+ 'step' => 0.1,
414
+ 'selectors' => [
415
+ '{{WRAPPER}} .wpr-post-navigation i' => 'transition: color {{VALUE}}s, background-color {{VALUE}}s, border-color {{VALUE}}s',
416
+ '{{WRAPPER}} .wpr-posts-navigation-svg-wrapper svg' => 'transition: fill {{VALUE}}s',
417
+ '{{WRAPPER}} .wpr-posts-navigation-svg-wrapper' => 'transition: background-color {{VALUE}}s, border-color {{VALUE}}s',
418
+ '{{WRAPPER}} .wpr-post-nav-fixed.wpr-post-nav-hover img' => 'transition: all {{VALUE}}s ease',
419
+ ],
420
+ 'separator' => 'before',
421
+ ]
422
+ );
423
+
424
+ $this->add_responsive_control(
425
+ 'post_nav_arrow_size',
426
+ [
427
+ 'label' => esc_html__( 'Icon Size', 'wpr-addons' ),
428
+ 'type' => Controls_Manager::SLIDER,
429
+ 'size_units' => ['px'],
430
+ 'range' => [
431
+ 'px' => [
432
+ 'min' => 1,
433
+ 'max' => 100,
434
+ ],
435
+ ],
436
+ 'default' => [
437
+ 'unit' => 'px',
438
+ 'size' => 7,
439
+ ],
440
+ 'selectors' => [
441
+ '{{WRAPPER}} .wpr-post-navigation i' => 'font-size: {{SIZE}}{{UNIT}};',
442
+ '{{WRAPPER}} .wpr-post-navigation svg' => 'width: {{SIZE}}{{UNIT}};',
443
+ '{{WRAPPER}} .wpr-post-navigation-wrap i' => 'font-size: {{SIZE}}{{UNIT}};',
444
+ '{{WRAPPER}} .wpr-post-navigation-wrap svg' => 'width: {{SIZE}}{{UNIT}};',
445
+ ],
446
+ 'separator' => 'before',
447
+ ]
448
+ );
449
+
450
+ $this->add_responsive_control(
451
+ 'post_nav_arrow_width',
452
+ [
453
+ 'label' => esc_html__( 'Width', 'wpr-addons' ),
454
+ 'type' => Controls_Manager::SLIDER,
455
+ 'size_units' => ['px'],
456
+ 'range' => [
457
+ 'px' => [
458
+ 'min' => 1,
459
+ 'max' => 200,
460
+ ],
461
+ ],
462
+ 'default' => [
463
+ 'unit' => 'px',
464
+ 'size' => 40,
465
+ ],
466
+ 'selectors' => [
467
+ '{{WRAPPER}} .wpr-post-navigation-wrap i' => 'width: {{SIZE}}{{UNIT}};',
468
+ '{{WRAPPER}} .wpr-post-navigation i' => 'width: {{SIZE}}{{UNIT}};',
469
+ '{{WRAPPER}} .wpr-posts-navigation-svg-wrapper' => 'width: {{SIZE}}{{UNIT}};',
470
+ '{{WRAPPER}} .wpr-post-nav-fixed.wpr-post-nav-prev img' => 'left: {{SIZE}}{{UNIT}};',
471
+ '{{WRAPPER}} .wpr-post-nav-fixed.wpr-post-nav-next img' => 'right: {{SIZE}}{{UNIT}};',
472
+ ],
473
+ ]
474
+ );
475
+
476
+ $this->add_responsive_control(
477
+ 'post_nav_arrow_height',
478
+ [
479
+ 'label' => esc_html__( 'Height', 'wpr-addons' ),
480
+ 'type' => Controls_Manager::SLIDER,
481
+ 'size_units' => ['px'],
482
+ 'range' => [
483
+ 'px' => [
484
+ 'min' => 1,
485
+ 'max' => 200,
486
+ ],
487
+ ],
488
+ 'default' => [
489
+ 'unit' => 'px',
490
+ 'size' => 50,
491
+ ],
492
+ 'selectors' => [
493
+ '{{WRAPPER}} .wpr-post-navigation-wrap i' => 'height: {{SIZE}}{{UNIT}}; line-height: {{SIZE}}{{UNIT}};',
494
+ '{{WRAPPER}} .wpr-post-navigation i' => 'height: {{SIZE}}{{UNIT}}; line-height: {{SIZE}}{{UNIT}};',
495
+ '{{WRAPPER}} .wpr-posts-navigation-svg-wrapper' => 'height: {{SIZE}}{{UNIT}};',
496
+ '{{WRAPPER}} .wpr-post-nav-fixed.wpr-post-navigation img' => 'height: {{SIZE}}{{UNIT}};',
497
+ ],
498
+ ]
499
+ );
500
+
501
+ $this->add_responsive_control(
502
+ 'post_nav_arrow_distance',
503
+ [
504
+ 'label' => esc_html__( 'Distance', 'wpr-addons' ),
505
+ 'type' => Controls_Manager::SLIDER,
506
+ 'size_units' => ['px'],
507
+ 'range' => [
508
+ 'px' => [
509
+ 'min' => 0,
510
+ 'max' => 50,
511
+ ],
512
+ ],
513
+ 'default' => [
514
+ 'unit' => 'px',
515
+ 'size' => 0,
516
+ ],
517
+ 'selectors' => [
518
+ '{{WRAPPER}} .wpr-post-nav-prev i' => 'margin-right: {{SIZE}}{{UNIT}};',
519
+ '{{WRAPPER}} .wpr-post-nav-prev .wpr-posts-navigation-svg-wrapper' => 'margin-right: {{SIZE}}{{UNIT}};',
520
+ '{{WRAPPER}} .wpr-post-nav-next i' => 'margin-left: {{SIZE}}{{UNIT}};',
521
+ '{{WRAPPER}} .wpr-post-nav-next .wpr-posts-navigation-svg-wrapper' => 'margin-left: {{SIZE}}{{UNIT}};',
522
+ ],
523
+ 'condition' => [
524
+ 'post_nav_layout!' => 'fixed',
525
+ ]
526
+ ]
527
+ );
528
+
529
+ $this->add_control(
530
+ 'post_nav_arrow_border_type',
531
+ [
532
+ 'label' => esc_html__( 'Border Type', 'wpr-addons' ),
533
+ 'type' => Controls_Manager::SELECT,
534
+ 'options' => [
535
+ 'none' => esc_html__( 'None', 'wpr-addons' ),
536
+ 'solid' => esc_html__( 'Solid', 'wpr-addons' ),
537
+ 'double' => esc_html__( 'Double', 'wpr-addons' ),
538
+ 'dotted' => esc_html__( 'Dotted', 'wpr-addons' ),
539
+ 'dashed' => esc_html__( 'Dashed', 'wpr-addons' ),
540
+ 'groove' => esc_html__( 'Groove', 'wpr-addons' ),
541
+ ],
542
+ 'default' => 'none',
543
+ 'selectors' => [
544
+ '{{WRAPPER}} .wpr-post-navigation i' => 'border-style: {{VALUE}};',
545
+ '{{WRAPPER}} .wpr-posts-navigation-svg-wrapper' => 'border-style: {{VALUE}};',
546
+ ],
547
+ 'separator' => 'before',
548
+ ]
549
+ );
550
+
551
+ $this->add_control(
552
+ 'post_nav_arrow_border_width',
553
+ [
554
+ 'label' => esc_html__( 'Border Width', 'wpr-addons' ),
555
+ 'type' => Controls_Manager::DIMENSIONS,
556
+ 'size_units' => [ 'px' ],
557
+ 'default' => [
558
+ 'top' => 1,
559
+ 'right' => 1,
560
+ 'bottom' => 1,
561
+ 'left' => 1,
562
+ ],
563
+ 'selectors' => [
564
+ '{{WRAPPER}} .wpr-post-navigation i' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
565
+ '{{WRAPPER}} .wpr-posts-navigation-svg-wrapper' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
566
+ ],
567
+ 'condition' => [
568
+ 'post_nav_arrow_border_type!' => 'none',
569
+ ],
570
+ ]
571
+ );
572
+
573
+ $this->add_control(
574
+ 'post_nav_arrow_radius',
575
+ [
576
+ 'label' => esc_html__( 'Border Radius', 'wpr-addons' ),
577
+ 'type' => Controls_Manager::DIMENSIONS,
578
+ 'size_units' => [ 'px', '%' ],
579
+ 'default' => [
580
+ 'top' => 0,
581
+ 'right' => 0,
582
+ 'bottom' => 0,
583
+ 'left' => 0,
584
+ ],
585
+ 'selectors' => [
586
+ '{{WRAPPER}} .wpr-post-navigation i' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
587
+ '{{WRAPPER}} .wpr-posts-navigation-svg-wrapper' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
588
+ ],
589
+ ]
590
+ );
591
+
592
+ $this->end_controls_section();
593
+
594
+ // Styles ====================
595
+ // Section: Back Button ------
596
+ $this->add_section_style_post_nav_back_btn();
597
+
598
+ // Styles ====================
599
+ // Section: Labels -----------
600
+ $this->start_controls_section(
601
+ 'section_style_post_nav_label',
602
+ [
603
+ 'label' => esc_html__( 'Labels', 'wpr-addons' ),
604
+ 'tab' => Controls_Manager::TAB_STYLE,
605
+ 'show_label' => false,
606
+ 'condition' => [
607
+ 'post_nav_labels' => 'yes',
608
+ 'post_nav_layout!' => 'fixed'
609
+ ]
610
+ ]
611
+ );
612
+
613
+ $this->start_controls_tabs( 'tabs_grid_post_nav_label_style' );
614
+
615
+ $this->start_controls_tab(
616
+ 'tab_grid_post_nav_label_normal',
617
+ [
618
+ 'label' => __( 'Normal', 'wpr-addons' ),
619
+ ]
620
+ );
621
+
622
+ $this->add_control(
623
+ 'post_nav_label_color',
624
+ [
625
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
626
+ 'type' => Controls_Manager::COLOR,
627
+ 'default' => '#605BE5',
628
+ 'selectors' => [
629
+ '{{WRAPPER}} .wpr-post-nav-labels span' => 'color: {{VALUE}}',
630
+ ],
631
+ ]
632
+ );
633
+
634
+ $this->add_group_control(
635
+ Group_Control_Typography::get_type(),
636
+ [
637
+ 'name' => 'content_typography',
638
+ 'scheme' => Typography::TYPOGRAPHY_3,
639
+ 'selector' => '{{WRAPPER}} .wpr-post-nav-labels span',
640
+ 'fields_options' => [
641
+ 'typography' => [
642
+ 'default' => 'custom',
643
+ ],
644
+ 'font_size' => [
645
+ 'default' => [
646
+ 'size' => '15',
647
+ 'unit' => 'px',
648
+ ],
649
+ ],
650
+ ]
651
+ ]
652
+ );
653
+
654
+ $this->add_control(
655
+ 'post_nav_label_transition_duration',
656
+ [
657
+ 'label' => esc_html__( 'Transition Duration', 'wpr-addons' ),
658
+ 'type' => Controls_Manager::NUMBER,
659
+ 'default' => 0.5,
660
+ 'min' => 0,
661
+ 'max' => 5,
662
+ 'step' => 0.1,
663
+ 'selectors' => [
664
+ '{{WRAPPER}} .wpr-post-nav-labels span' => 'transition: color {{VALUE}}s',
665
+ ],
666
+ ]
667
+ );
668
+
669
+ $this->end_controls_tab();
670
+
671
+ $this->start_controls_tab(
672
+ 'tab_grid_post_nav_label_hover',
673
+ [
674
+ 'label' => __( 'Hover', 'wpr-addons' ),
675
+ ]
676
+ );
677
+
678
+ $this->add_control(
679
+ 'post_nav_label_color_hr',
680
+ [
681
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
682
+ 'type' => Controls_Manager::COLOR,
683
+ 'default' => '#54595f',
684
+ 'selectors' => [
685
+ '{{WRAPPER}} .wpr-post-nav-labels span:hover' => 'color: {{VALUE}}',
686
+ ],
687
+ ]
688
+ );
689
+
690
+ $this->end_controls_tab();
691
+
692
+ $this->end_controls_tabs();
693
+
694
+ $this->end_controls_section();
695
+
696
+ // Styles ====================
697
+ // Section: Title ------------
698
+ $this->add_section_style_post_nav_title();
699
+
700
+ }
701
+
702
+ // Arrow Icon
703
+ public function render_arrow_by_location( $settings, $location, $dir ) {
704
+ if ( 'fixed' === $settings['post_nav_layout'] || !wpr_fs()->can_use_premium_code() ) {
705
+ $settings['post_nav_arrows_loc'] = 'separate';
706
+ }
707
+
708
+ if ( 'yes' === $settings['post_nav_arrows'] && $location === $settings['post_nav_arrows_loc'] ) {
709
+ if ( false !== strpos( $settings['post_nav_arrow_icon'], 'svg-' ) ) {
710
+ echo '<div class="wpr-posts-navigation-svg-wrapper">' . Utilities::get_wpr_icon( $settings['post_nav_arrow_icon'], $dir ) . '</div>';
711
+ } else {
712
+ echo Utilities::get_wpr_icon( $settings['post_nav_arrow_icon'], $dir );
713
+ }
714
+ }
715
+ }
716
+
717
+ protected function render() {
718
+ // Get Settings
719
+ $settings = $this->get_settings();
720
+
721
+ if ( !wpr_fs()->can_use_premium_code() ) {
722
+ $settings['post_nav_image'] = '';
723
+ $settings['post_nav_image_bg'] = '';
724
+ $settings['post_nav_back'] = '';
725
+ $settings['post_nav_title'] = '';
726
+ }
727
+
728
+ // Set Query
729
+ $nav_query = isset($settings['post_nav_query']) ? $settings['post_nav_query'] : 'all';
730
+
731
+ // Get Previous and Next Posts
732
+ if ( 'all' === $nav_query || !wpr_fs()->can_use_premium_code() ) {
733
+ $prev_post = get_adjacent_post( false, '', true );
734
+ $next_post = get_adjacent_post( false, '', false );
735
+ } else {
736
+ $prev_post = get_adjacent_post( true, '', true, $nav_query );
737
+ $next_post = get_adjacent_post( true, '', false, $nav_query );
738
+ }
739
+
740
+ // Layout Class
741
+ $layout_class = 'wpr-post-navigation wpr-post-nav-'. $settings['post_nav_layout'];
742
+
743
+ // Show Image on Hover
744
+ if ( (isset($settings['post_nav_image_hover']) && 'yes' === $settings['post_nav_image_hover']) ) {
745
+ $layout_class .= ' wpr-post-nav-hover';
746
+ }
747
+
748
+ $prev_image_url = '';
749
+ $next_image_url = '';
750
+ $prev_post_bg = '';
751
+ $next_post_bg = '';
752
+
753
+ // Image URLs
754
+ if ( ! empty($prev_post) && 'yes' === $settings['post_nav_image'] ) {
755
+ $prev_img_id = get_post_thumbnail_id( $prev_post->ID );
756
+ $prev_image_url = Group_Control_Image_Size::get_attachment_image_src( $prev_img_id, 'post_nav_image_width_crop', $settings );
757
+ }
758
+ if ( ! empty($next_post) && 'yes' === $settings['post_nav_image'] ) {
759
+ $next_img_id = get_post_thumbnail_id( $next_post->ID );
760
+ $next_image_url = Group_Control_Image_Size::get_attachment_image_src( $next_img_id, 'post_nav_image_width_crop', $settings );
761
+ }
762
+
763
+ // Background Images
764
+ if ( 'yes' === $settings['post_nav_image'] && 'yes' === $settings['post_nav_image_bg'] ) {
765
+ if ( 'fixed' !== $settings['post_nav_layout'] ) {
766
+ if ( ! empty($prev_post) ) {
767
+ $prev_post_bg = ' style="background-image: url('. $prev_image_url .')"';
768
+ }
769
+
770
+ if ( ! empty($next_post) ) {
771
+ $next_post_bg = ' style="background-image: url('. $next_image_url .')"';
772
+ }
773
+ }
774
+ }
775
+
776
+ // Navigation Wrapper
777
+ if ( 'fixed' !== $settings['post_nav_layout'] ) {
778
+ // Layout Class
779
+ $wrapper_class = 'wpr-post-nav-'. $settings['post_nav_layout'] .'-wrap';
780
+
781
+ // Dividers
782
+ if ( 'static' === $settings['post_nav_layout'] && 'yes' === $settings['post_nav_dividers'] ) {
783
+ $wrapper_class .= ' wpr-post-nav-dividers';
784
+ }
785
+
786
+ // Background Images
787
+ if ( 'yes' === $settings['post_nav_image'] && 'yes' === $settings['post_nav_image_bg'] ) {
788
+ $wrapper_class .= ' wpr-post-nav-bg-images';
789
+ }
790
+
791
+ echo '<div class="wpr-post-navigation-wrap elementor-clearfix '. $wrapper_class .'">';
792
+ }
793
+
794
+ // Previous Post
795
+ echo '<div class="wpr-post-nav-prev '. $layout_class .'"'. $prev_post_bg .'>';
796
+ if ( ! empty($prev_post) ) {
797
+ echo '<a href="'. esc_url( get_permalink($prev_post->ID) ) .'" class="elementor-clearfix">';
798
+ // Left Arrow
799
+ $this->render_arrow_by_location( $settings, 'separate', 'left' );
800
+
801
+ // Post Thumbnail
802
+ if ( 'yes' === $settings['post_nav_image'] ) {
803
+ if ( '' === $settings['post_nav_image_bg'] || 'fixed' === $settings['post_nav_layout'] ) {
804
+ echo '<img src="'. esc_url( $prev_image_url ) .'" alt="">';
805
+ }
806
+ }
807
+
808
+ // Label & Title
809
+ if ( 'fixed' !== $settings['post_nav_layout'] ) {
810
+ echo '<div class="wpr-post-nav-labels">';
811
+ // Prev Label
812
+ if ( 'yes' === $settings['post_nav_labels'] ) {
813
+ echo '<span>';
814
+ $this->render_arrow_by_location( $settings, 'label', 'left' );
815
+ echo esc_html( $settings['post_nav_prev_text'] );
816
+ echo '</span>';
817
+ }
818
+
819
+ // Post Title
820
+ if ( 'yes' === $settings['post_nav_title'] ) {
821
+ echo '<h5>';
822
+ $this->render_arrow_by_location( $settings, 'title', 'left' );
823
+ echo esc_html( get_the_title($prev_post->ID) );
824
+ echo '</h5>';
825
+ }
826
+ echo '</div>';
827
+ }
828
+ echo '</a>';
829
+
830
+ // Image Overlay
831
+ if ( 'yes' === $settings['post_nav_image_bg'] ) {
832
+ echo '<div class="wpr-post-nav-overlay"></div>';
833
+ }
834
+ }
835
+ echo '</div>';
836
+
837
+ // Back to Posts
838
+ if ( 'fixed' !== $settings['post_nav_layout'] && 'yes' === $settings['post_nav_back'] ) {
839
+ echo '<div class="wpr-post-nav-back">';
840
+ echo '<a href="'. esc_url($settings['post_nav_back_link'] ) .'">';
841
+ echo '<span></span>';
842
+ echo '<span></span>';
843
+ echo '<span></span>';
844
+ echo '<span></span>';
845
+ echo '</a>';
846
+ echo '</div>';
847
+ }
848
+
849
+ // Middle Divider
850
+ if ( 'static' === $settings['post_nav_layout'] && 'yes' === $settings['post_nav_dividers'] && '' === $settings['post_nav_back'] ) {
851
+ echo '<div class="wpr-post-nav-divider"></div>';
852
+ }
853
+
854
+ // Next Post
855
+ echo '<div class="wpr-post-nav-next '. $layout_class .'"'. $next_post_bg .'>';
856
+ if ( ! empty($next_post) ) {
857
+ echo '<a href="'. esc_url( get_permalink($next_post->ID) ) .'" class="elementor-clearfix">';
858
+ // Label & Title
859
+ if ( 'fixed' !== $settings['post_nav_layout'] ) {
860
+ echo '<div class="wpr-post-nav-labels">';
861
+ // Next Label
862
+ if ( 'yes' === $settings['post_nav_labels'] ) {
863
+ echo '<span>';
864
+ echo esc_html( $settings['post_nav_next_text'] );
865
+ $this->render_arrow_by_location( $settings, 'label', 'right' );
866
+ echo '</span>';
867
+ }
868
+
869
+ // Post Title
870
+ if ( 'yes' === $settings['post_nav_title'] ) {
871
+ echo '<h5>';
872
+ echo esc_html( get_the_title($next_post->ID) );
873
+ $this->render_arrow_by_location( $settings, 'title', 'right' );
874
+ echo '</h5>';
875
+ }
876
+ echo '</div>';
877
+ }
878
+
879
+ // Post Thumbnail
880
+ if ( 'yes' === $settings['post_nav_image'] ) {
881
+ if ( '' === $settings['post_nav_image_bg'] || 'fixed' === $settings['post_nav_layout'] ) {
882
+ echo '<img src="'. esc_url( $next_image_url ) .'" alt="">';
883
+ }
884
+ }
885
+
886
+ // Right Arrow
887
+ $this->render_arrow_by_location( $settings, 'separate', 'right' );
888
+ echo '</a>';
889
+
890
+ // Image Overlay
891
+ if ( 'yes' === $settings['post_nav_image_bg'] ) {
892
+ echo '<div class="wpr-post-nav-overlay"></div>';
893
+ }
894
+ }
895
+ echo '</div>';
896
+
897
+ // End Navigation Wrapper
898
+ if ( 'fixed' !== $settings['post_nav_layout'] ) {
899
+ echo '</div>';
900
+ }
901
+
902
+ }
903
+
904
+ }
modules/theme-builder/post-title/module.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Modules\ThemeBuilder\PostTitle;
3
+
4
+ use WprAddons\Base\Module_Base;
5
+ use wpraddons\Classes\Utilities;
6
+
7
+ class Module extends Module_Base {
8
+
9
+ public function __construct() {
10
+ parent::__construct();
11
+
12
+ // This is here for extensibility purposes - go to town and make things happen!
13
+ }
14
+
15
+ public function get_name() {
16
+ return 'wpr-post-title';
17
+ }
18
+
19
+ public function get_widgets() {
20
+ return [
21
+ 'Wpr_Post_Title', // This should match the widget/element class.
22
+ ];
23
+ }
24
+
25
+ }
modules/theme-builder/post-title/widgets/wpr-post-title.php ADDED
@@ -0,0 +1,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace WprAddons\Modules\ThemeBuilder\PostTitle\Widgets;
3
+
4
+ use Elementor\Widget_Base;
5
+ use Elementor\Controls_Manager;
6
+ use Elementor\Core\Responsive\Responsive;
7
+ use Elementor\Group_Control_Text_Shadow;
8
+ use Elementor\Group_Control_Text_Stroke;
9
+ use Elementor\Group_Control_Typography;
10
+ use Elementor\Core\Schemes\Typography;
11
+ use Elementor\Core\Schemes\Color;
12
+ use WprAddons\Classes\Utilities;
13
+
14
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
15
+
16
+ class Wpr_Post_Title extends Widget_Base {
17
+
18
+ public function get_name() {
19
+ return 'wpr-post-title';
20
+ }
21
+
22
+ public function get_title() {
23
+ return esc_html__( 'Post Title', 'wpr-addons' );
24
+ }
25
+
26
+ public function get_icon() {
27
+ return 'wpr-icon eicon-site-title';
28
+ }
29
+
30
+ public function get_categories() {
31
+ return Utilities::show_theme_buider_widget_on('single') ? [ 'wpr-theme-builder-widgets' ] : ['wpr-theme-builder-widgets'];
32
+ }
33
+
34
+ public function get_keywords() {
35
+ return [ 'post', 'title' ];
36
+ }
37
+
38
+ protected function register_controls() {
39
+
40
+ // Tab: Content ==============
41
+ // Section: General ----------
42
+ $this->start_controls_section(
43
+ 'section_post_title',
44
+ [
45
+ 'label' => esc_html__( 'General', 'wpr-addons' ),
46
+ 'tab' => Controls_Manager::TAB_CONTENT,
47
+ ]
48
+ );
49
+
50
+ $this->add_control(
51
+ 'post_title_tag',
52
+ [
53
+ 'label' => esc_html__( 'Title HTML Tag', 'wpr-addons' ),
54
+ 'type' => Controls_Manager::SELECT,
55
+ 'options' => [
56
+ 'h1' => 'H1',
57
+ 'h2' => 'H2',
58
+ 'h3' => 'H3',
59
+ 'h4' => 'H4',
60
+ 'h5' => 'H5',
61
+ 'h6' => 'H6',
62
+ ],
63
+ 'default' => 'h1',
64
+ ]
65
+ );
66
+
67
+ $this->add_responsive_control(
68
+ 'post_title_align',
69
+ [
70
+ 'label' => esc_html__( 'Alignment', 'wpr-addons' ),
71
+ 'type' => Controls_Manager::CHOOSE,
72
+ 'default' => 'center',
73
+ 'label_block' => false,
74
+ 'options' => [
75
+ 'left' => [
76
+ 'title' => __( 'Left', 'wpr-addons' ),
77
+ 'icon' => 'eicon-text-align-left',
78
+ ],
79
+ 'center' => [
80
+ 'title' => __( 'Center', 'wpr-addons' ),
81
+ 'icon' => 'eicon-text-align-center',
82
+ ],
83
+ 'right' => [
84
+ 'title' => __( 'Right', 'wpr-addons' ),
85
+ 'icon' => 'eicon-text-align-right',
86
+ ],
87
+ ],
88
+ 'selectors' => [
89
+ '{{WRAPPER}} .wpr-post-title' => 'text-align: {{VALUE}}',
90
+ ],
91
+ 'separator' => 'before'
92
+ ]
93
+ );
94
+
95
+ $this->end_controls_section(); // End Controls Section
96
+
97
+ // Styles ====================
98
+ // Section: Title ------------
99
+ $this->start_controls_section(
100
+ 'section_style_title',
101
+ [
102
+ 'label' => esc_html__( 'Title', 'wpr-addons' ),
103
+ 'tab' => Controls_Manager::TAB_STYLE,
104
+ 'show_label' => false,
105
+ ]
106
+ );
107
+
108
+ $this->add_control(
109
+ 'title_color',
110
+ [
111
+ 'label' => esc_html__( 'Color', 'wpr-addons' ),
112
+ 'type' => Controls_Manager::COLOR,
113
+ 'default' => '#333333',
114
+ 'selectors' => [
115
+ '{{WRAPPER}} .wpr-post-title' => 'color: {{VALUE}}',
116
+ ],
117
+ ]
118
+ );
119
+
120
+ $this->add_group_control(
121
+ Group_Control_Typography::get_type(),
122
+ [
123
+ 'name' => 'title_typography',
124
+ 'scheme' => Typography::TYPOGRAPHY_3,
125
+ 'selector' => '{{WRAPPER}} .wpr-post-title',
126
+ 'fields_options' => [
127
+ 'typography' => [
128
+ 'default' => 'custom',
129
+ ],
130
+ 'font_size' => [
131
+ 'default' => [
132
+ 'size' => '30',
133
+ 'unit' => 'px',
134
+ ],
135
+ ]
136
+ ]
137
+ ]
138
+ );
139
+
140
+ $this->add_group_control(
141
+ Group_Control_Text_Stroke::get_type(),
142
+ [
143
+ 'name' => 'text_stroke',
144
+ 'selector' => '{{WRAPPER}} .wpr-post-title',
145
+ ]
146
+ );
147
+
148
+ $this->add_group_control(
149
+ Group_Control_Text_Shadow::get_type(),
150
+ [
151
+ 'name' => 'title_shadow',
152
+ 'selector' => '{{WRAPPER}} .wpr-post-title',
153
+ 'separator' => 'after',
154
+ ]
155
+ );
156
+
157
+ $this->add_control(
158
+ 'blend_mode',
159
+ [
160
+ 'label' => esc_html__( 'Blend Mode', 'wpr-addons' ),
161
+ 'type' => Controls_Manager::SELECT,
162
+ 'options' => [
163
+ '' => esc_html__( 'Normal', 'wpr-addons' ),
164
+ 'multiply' => 'Multiply',
165
+ 'screen' => 'Screen',
166
+ 'overlay' => 'Overlay',
167
+ 'darken' => 'Darken',
168
+ 'lighten' => 'Lighten',
169
+ 'color-dodge' => 'Color Dodge',
170
+ 'saturation' => 'Saturation',
171
+ 'color' => 'Color',
172
+ 'difference' => 'Difference',
173
+ 'exclusion' => 'Exclusion',
174
+ 'hue' => 'Hue',
175
+ 'luminosity' => 'Luminosity',
176
+ ],
177
+ 'selectors' => [
178
+ '{{WRAPPER}} .wpr-post-title' => 'mix-blend-mode: {{VALUE}}',
179
+ ],
180
+ 'separator' => 'none',
181
+ ]
182
+ );
183
+
184
+ $this->end_controls_section();
185
+
186
+ }
187
+
188
+ protected function render() {
189
+ // Get Settings
190
+ $settings = $this->get_settings();
191
+
192
+ echo '<'. $settings['post_title_tag'] .' class="wpr-post-title">';
193
+ echo get_the_title();
194
+ echo '</'. $settings['post_title_tag'] .'>';
195
+
196
+ }
197
+
198
+ }
modules/theme-builder/wpr-theme-builder.php ADDED
@@ -0,0 +1,363 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ use Elementor\Controls_Manager;
4
+ use WprAddons\Classes\Utilities;
5
+
6
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
7
+
8
+ class Wpr_Theme_Builder extends Elementor\Core\Base\Document {
9
+
10
+ public function get_name() {
11
+ return 'wpr-theme-builder';
12
+ }
13
+
14
+ public static function get_type() {
15
+ return 'wpr-theme-builder';
16
+ }
17
+
18
+ public static function get_title() {
19
+ return esc_html__( 'WPR Theme Builder', 'wpr-addons' );
20
+ }
21
+
22
+ protected function register_controls() {
23
+ // Get Available Post Types
24
+ $post_types = Utilities::get_custom_types_of( 'post', false );
25
+
26
+ // Get Available Taxonomies
27
+ $post_taxonomies = Utilities::get_custom_types_of( 'tax', false );
28
+
29
+ $this->start_controls_section(
30
+ 'preview_settings',
31
+ [
32
+ 'label' => esc_html__( 'Preview Settings', 'wpr-addons' ),
33
+ 'tab' => Controls_Manager::TAB_SETTINGS,
34
+ ]
35
+ );
36
+
37
+ $default_archives = [
38
+ 'archive/posts' => esc_html__( 'Posts Archive', 'wpr-addons' ),
39
+ 'archive/author' => esc_html__( 'Author Archive', 'wpr-addons' ),
40
+ 'archive/date' => esc_html__( 'Date Archive', 'wpr-addons' ),
41
+ 'archive/search' => esc_html__( 'Search Results', 'wpr-addons' ),
42
+ ];
43
+
44
+ $taxonomy_archives = $post_taxonomies;
45
+
46
+ $id = get_the_ID();
47
+ $template_type = get_post_meta( $id, '_wpr_template_type', true );
48
+ $template_slug = get_post($id)->post_name;
49
+ $query = '';
50
+
51
+ if ( 0 === strpos( $template_type, 'single' ) ) {
52
+ $conds = json_decode(get_option('wpr_single_conditions'));
53
+
54
+ if ( $template_slug == Utilities::get_template_slug($conds, 'single/posts', $id) ) {
55
+ $query = 'post';
56
+ } elseif ( $template_slug == Utilities::get_template_slug($conds, 'single/pages', $id) ) {
57
+ $query = 'page';
58
+ } else {
59
+ foreach ($post_types as $post_type => $value) {
60
+ if ( 'post' === $post_type || 'page' === $post_type ) {
61
+ continue;
62
+ }
63
+
64
+ if ( $template_slug == Utilities::get_template_slug($conds, 'single/'. $post_type, $id) ) {
65
+ $query = $post_type;
66
+ }
67
+ }
68
+ }
69
+ } else {
70
+ $conds = json_decode(get_option('wpr_archive_conditions'));
71
+
72
+ if ( $template_slug == Utilities::get_template_slug($conds, 'archive/posts', $id) || $template_slug == Utilities::get_template_slug($conds, 'archive/all_archives', $id) ) {
73
+ $query = 'archive/posts';
74
+ } elseif ( $template_slug == Utilities::get_template_slug($conds, 'archive/search', $id) ) {
75
+ $query = 'archive/search';
76
+ } elseif ( $template_slug == Utilities::get_template_slug($conds, 'archive/author', $id) ) {
77
+ $query = 'archive/author';
78
+ } elseif ( $template_slug == Utilities::get_template_slug($conds, 'archive/date', $id) ) {
79
+ $query = 'archive/date';
80
+ } elseif ( $template_slug == Utilities::get_template_slug($conds, 'archive/categories', $id) ) {
81
+ $query = 'category';
82
+ } elseif ( $template_slug == Utilities::get_template_slug($conds, 'archive/tags', $id) ) {
83
+ $query = 'post_tag';
84
+ } else {
85
+ foreach ($post_taxonomies as $tax => $value) {
86
+ if ( 'category' === $tax || 'tag' === $tax ) {
87
+ continue;
88
+ }
89
+
90
+ if ( $template_slug == Utilities::get_template_slug($conds, 'archive/'. $tax, $id) ) {
91
+ $query = $tax;
92
+ }
93
+ }
94
+ }
95
+ }
96
+
97
+ $this->add_control(
98
+ 'preview_source',
99
+ [
100
+ 'label' => esc_html__( 'Preview Source', 'wpr-addons' ),
101
+ 'type' => Controls_Manager::SELECT,
102
+ 'default' => $query,
103
+ 'groups' => [
104
+ 'archive' => [
105
+ 'label' => __( 'Archives', 'wpr-addons' ),
106
+ 'options' => $default_archives + $taxonomy_archives,
107
+ ],
108
+ 'single' => [
109
+ 'label' => __( 'Singular', 'wpr-addons' ),
110
+ 'options' => $post_types
111
+ ],
112
+ ],
113
+ ]
114
+ );
115
+
116
+ $wp_users = Utilities::get_users();
117
+ reset($wp_users);
118
+ $first_user_id = key($wp_users);
119
+
120
+ $this->add_control(
121
+ 'preview_archive_author',
122
+ [
123
+ 'label' => esc_html__( 'Select Author', 'wpr-addons' ),
124
+ 'type' => Controls_Manager::SELECT2,
125
+ 'options' => Utilities::get_users(),
126
+ 'default' => $first_user_id,
127
+ 'separator' => 'before',
128
+ 'condition' => [
129
+ 'preview_source' => 'archive/author'
130
+ ]
131
+ ]
132
+ );
133
+
134
+ $this->add_control(
135
+ 'preview_archive_search',
136
+ [
137
+ 'label' => esc_html__( 'Search Keyword', 'wpr-addons' ),
138
+ 'type' => Controls_Manager::TEXT,
139
+ 'separator' => 'before',
140
+ 'default' => 'a',
141
+ 'condition' => [
142
+ 'preview_source' => 'archive/search',
143
+ ]
144
+ ]
145
+ );
146
+
147
+ // Posts
148
+ foreach ( $post_types as $slug => $title ) {
149
+ $latest_post = get_posts('post_type='. $slug .'&numberposts=1');
150
+
151
+ $this->add_control(
152
+ 'preview_single_'. $slug,
153
+ [
154
+ 'label' => 'Select '. $title,
155
+ 'type' => Controls_Manager::SELECT2,
156
+ 'label_block' => true,
157
+ 'default' => !empty($latest_post) ? $latest_post[0]->ID : '',
158
+ 'options' => Utilities::get_posts_by_post_type( $slug ),
159
+ 'separator' => 'before',
160
+ 'condition' => [
161
+ 'preview_source' => $slug,
162
+ ],
163
+ ]
164
+ );
165
+ }
166
+
167
+ // Taxonomies
168
+ foreach ( $post_taxonomies as $slug => $title ) {
169
+ if ( 'category' === $slug || 'post_tag' === $slug ) {
170
+ $title = 'Post '. $title;
171
+ }
172
+
173
+ $terms = get_terms( $slug, 'orderby=date&hide_empty=0&number=1' );
174
+
175
+ $this->add_control(
176
+ 'preview_archive_'. $slug,
177
+ [
178
+ 'label' => 'Select '. $title,
179
+ 'type' => Controls_Manager::SELECT2,
180
+ 'label_block' => true,
181
+ 'default' => !empty($terms) ? $terms[0]->term_id : '',
182
+ 'options' => Utilities::get_terms_by_taxonomy( $slug ),
183
+ 'separator' => 'before',
184
+ 'condition' => [
185
+ 'preview_source' => $slug,
186
+ ],
187
+ ]
188
+ );
189
+ }
190
+
191
+ $this->add_control(
192
+ 'submit_preview_changes',
193
+ [
194
+ 'type' => Controls_Manager::RAW_HTML,
195
+ 'raw' => '<div class="elementor-update-preview editor-wpr-preview-update"><span>Update changes to Preview</span><button class="elementor-button elementor-button-success">Apply</button>',
196
+ 'separator' => 'after'
197
+ ]
198
+ );
199
+
200
+ $this->end_controls_section();
201
+
202
+ // Default Document Settings
203
+ parent::register_controls();
204
+ }
205
+
206
+ public function get_tax_query_args( $tax, $terms ) {
207
+ $terms = empty($terms) ? [ 'all' ] : $terms;
208
+
209
+ $args = [
210
+ 'tax_query' => [
211
+ [
212
+ 'taxonomy' => $tax,
213
+ 'terms' => $terms,
214
+ 'field' => 'id',
215
+ ],
216
+ ],
217
+ ];
218
+
219
+ return $args;
220
+ }
221
+
222
+ public function get_document_query_args() {
223
+ $settings = $this->get_settings();
224
+ $source = $settings['preview_source'];
225
+ $args = false;
226
+
227
+ // Default Archives
228
+ switch ( $source ) {
229
+ case 'archive/posts':
230
+ $args = [ 'post_type' => 'post' ];
231
+ break;
232
+
233
+ case 'archive/author':
234
+ $args = [ 'author' => $settings['preview_archive_author'] ];
235
+ break;
236
+
237
+ case 'archive/search':
238
+ $args = [ 's' => $settings['preview_archive_search'] ];
239
+ break;
240
+ }
241
+
242
+ // Taxonomy Archives
243
+ foreach ( Utilities::get_custom_types_of( 'tax', false ) as $slug => $title ) {
244
+ if ( $slug === $source ) {
245
+ $args = $this->get_tax_query_args( $slug, $settings[ 'preview_archive_'. $slug ] );
246
+ }
247
+ }
248
+
249
+ // Singular Posts
250
+ foreach ( Utilities::get_custom_types_of( 'post', false ) as $slug => $title ) {
251
+ if ( $slug === $source ) {
252
+ // Get Post
253
+ $post = get_posts( [
254
+ 'post_type' => $source,
255
+ 'numberposts' => 1,
256
+ 'orderby' => 'date',
257
+ 'order' => 'DESC',
258
+ 'suppress_filters' => false,
259
+ ] );
260
+
261
+ $args = [ 'post_type' => $source ];
262
+
263
+ $post_id = $settings[ 'preview_single_'. $slug ];
264
+
265
+ if ( ! empty( $post ) && '' === $post_id ) {
266
+ $args['p'] = $post[0]->ID;
267
+ } else {
268
+ $args['p'] = $post_id;
269
+ }
270
+ }
271
+ }
272
+
273
+ // Default
274
+ if ( false === $args ) {
275
+ // Get Post
276
+ $post = get_posts( [
277
+ 'post_type' => 'post',
278
+ 'numberposts' => 1,
279
+ 'orderby' => 'date',
280
+ 'order' => 'DESC',
281
+ 'suppress_filters' => false,
282
+ ] );
283
+
284
+ $args = [ 'post_type' => 'post' ];
285
+
286
+ // Last Post for Single Pages
287
+ if ( ! empty( $post ) ) {
288
+ $args['p'] = $post[0]->ID;
289
+ }
290
+ }
291
+
292
+ return $args;
293
+ }
294
+
295
+ public function switch_to_preview_query() {
296
+ if ( 'wpr_templates' === get_post_type( get_the_ID() ) ) {
297
+ $document = Elementor\Plugin::instance()->documents->get_doc_or_auto_save( get_the_ID() );
298
+ Elementor\Plugin::instance()->db->switch_to_query( $document->get_document_query_args() );
299
+ }
300
+ }
301
+
302
+ public function get_content( $with_css = false ) {
303
+ $this->switch_to_preview_query();
304
+
305
+ $content = parent::get_content( $with_css );
306
+
307
+ Elementor\Plugin::instance()->db->restore_current_query();
308
+
309
+ return $content;
310
+ }
311
+
312
+ public function print_content() {
313
+ $plugin = Plugin::elementor();
314
+
315
+ if ( $plugin->preview->is_preview_mode( $this->get_main_id() ) ) {
316
+ echo $plugin->preview->builder_wrapper( '' );
317
+ } else {
318
+ echo $this->get_content();
319
+ }
320
+ }
321
+
322
+ public static function get_preview_as_default() {
323
+ return '';
324
+ }
325
+
326
+ public static function get_preview_as_options() {
327
+ return [];
328
+ }
329
+
330
+ public function get_elements_raw_data( $data = null, $with_html_content = false ) {
331
+
332
+ $this->switch_to_preview_query();
333
+
334
+ $editor_data = parent::get_elements_raw_data( $data, $with_html_content );
335
+
336
+ Elementor\Plugin::instance()->db->restore_current_query();
337
+
338
+ return $editor_data;
339
+ }
340
+
341
+ public function render_element( $data ) {
342
+
343
+ $this->switch_to_preview_query();
344
+
345
+ $render_html = parent::render_element( $data );
346
+
347
+ Elementor\Plugin::instance()->db->restore_current_query();
348
+
349
+ return $render_html;
350
+ }
351
+
352
+ // Add Post Class to Single Pages
353
+ public function get_container_attributes() {
354
+ $attributes = parent::get_container_attributes();
355
+
356
+ if ( is_singular() /* Not 404 */ ) {
357
+ $post_classes = get_post_class( '', get_the_ID() );
358
+ $attributes['class'] .= ' ' . implode( ' ', $post_classes );
359
+ }
360
+
361
+ return $attributes;
362
+ }
363
+ }
modules/woo-grid/widgets/wpr-woo-grid.php CHANGED
@@ -1795,7 +1795,7 @@ class Wpr_Woo_Grid extends Widget_Base {
1795
  ]
1796
  );
1797
 
1798
- $this->add_control(
1799
  'overlay_width',
1800
  [
1801
  'label' => esc_html__( 'Overlay Width', 'wpr-addons' ),
@@ -7984,6 +7984,11 @@ class Wpr_Woo_Grid extends Widget_Base {
7984
  // Get Posts
7985
  $posts = new \WP_Query( $this->get_main_query_args() );
7986
 
 
 
 
 
 
7987
  // Grid Settings
7988
  if ( 'slider' !== $settings['layout_select'] ) {
7989
  // Filters
@@ -8001,12 +8006,6 @@ class Wpr_Woo_Grid extends Widget_Base {
8001
  // Grid Wrap
8002
  echo '<section class="wpr-grid elementor-clearfix" '. $render_attribute .'>';
8003
 
8004
-
8005
- // Loop: Start
8006
- if ( $posts->have_posts() ) :
8007
-
8008
- $post_index = 0;
8009
-
8010
  while ( $posts->have_posts() ) : $posts->the_post();
8011
 
8012
  // $post_index++;
@@ -8057,14 +8056,6 @@ class Wpr_Woo_Grid extends Widget_Base {
8057
  // reset
8058
  wp_reset_postdata();
8059
 
8060
- // No Posts Found
8061
- else:
8062
-
8063
- echo '<h2>'. $settings['query_not_found_text'] .'</h2>';
8064
-
8065
- // Loop: End
8066
- endif;
8067
-
8068
  // Grid Wrap
8069
  echo '</section>';
8070
 
@@ -8082,6 +8073,14 @@ class Wpr_Woo_Grid extends Widget_Base {
8082
 
8083
  // Pagination
8084
  $this->render_grid_pagination( $settings );
 
 
 
 
 
 
 
 
8085
  }
8086
 
8087
  }
1795
  ]
1796
  );
1797
 
1798
+ $this->add_responsive_control(
1799
  'overlay_width',
1800
  [
1801
  'label' => esc_html__( 'Overlay Width', 'wpr-addons' ),
7984
  // Get Posts
7985
  $posts = new \WP_Query( $this->get_main_query_args() );
7986
 
7987
+ // Loop: Start
7988
+ if ( $posts->have_posts() ) :
7989
+
7990
+ $post_index = 0;
7991
+
7992
  // Grid Settings
7993
  if ( 'slider' !== $settings['layout_select'] ) {
7994
  // Filters
8006
  // Grid Wrap
8007
  echo '<section class="wpr-grid elementor-clearfix" '. $render_attribute .'>';
8008
 
 
 
 
 
 
 
8009
  while ( $posts->have_posts() ) : $posts->the_post();
8010
 
8011
  // $post_index++;
8056
  // reset
8057
  wp_reset_postdata();
8058
 
 
 
 
 
 
 
 
 
8059
  // Grid Wrap
8060
  echo '</section>';
8061
 
8073
 
8074
  // Pagination
8075
  $this->render_grid_pagination( $settings );
8076
+
8077
+ // No Posts Found
8078
+ else:
8079
+
8080
+ echo '<h2>'. $settings['query_not_found_text'] .'</h2>';
8081
+
8082
+ // Loop: End
8083
+ endif;
8084
  }
8085
 
8086
  }
plugin.php CHANGED
@@ -6,6 +6,7 @@ use Elementor\Controls_Manager;
6
  use WprAddons\Includes\Controls\WPR_Control_Animations;
7
  use WprAddons\Includes\Controls\WPR_Control_Animations_Alt;
8
  use WprAddons\Includes\Controls\WPR_Control_Button_Animations;
 
9
  use WprAddons\Classes\Utilities;
10
 
11
  if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly
@@ -79,6 +80,7 @@ class Plugin {
79
 
80
  // Custom Controls
81
  require WPR_ADDONS_PATH . 'includes/controls/wpr-control-animations.php';
 
82
 
83
  // Templates Library
84
  require WPR_ADDONS_PATH . 'admin/includes/wpr-templates-library.php';
@@ -110,7 +112,10 @@ class Plugin {
110
  require WPR_ADDONS_PATH . 'extensions/wpr-custom-css.php';
111
 
112
  // Rating Notice
113
- require WPR_ADDONS_PATH . 'classes/rating-notice.php';
 
 
 
114
 
115
  // Admin Files
116
  if ( is_admin() ) {
@@ -186,10 +191,16 @@ class Plugin {
186
  $controls_manager->register_control( 'wpr-animations', new WPR_Control_Animations() );
187
  $controls_manager->register_control( 'wpr-animations-alt', new WPR_Control_Animations_Alt() );
188
  $controls_manager->register_control( 'wpr-button-animations', new WPR_Control_Button_Animations() );
 
189
 
190
  }
191
 
192
  public function register_elementor_document_type( $documents_manager ) {
 
 
 
 
 
193
  require WPR_ADDONS_PATH . 'modules/popup/wpr-popup.php';
194
 
195
  if ( wpr_fs()->can_use_premium_code() && defined('WPR_ADDONS_PRO_VERSION') ) {
@@ -583,31 +594,47 @@ class Plugin {
583
 
584
  public function elementor_init() {
585
  $this->_modules_manager = new Manager();
 
586
 
 
587
  // Add element category in panel
588
  \Elementor\Plugin::instance()->elements_manager->add_category(
589
  'wpr-widgets',
590
  [
591
  'title' => Utilities::get_plugin_name(true),
592
  'icon' => 'font',
593
- ],
594
- 1
595
  );
596
 
597
  // Add Woo element category in panel
598
- \Elementor\Plugin::instance()->elements_manager->add_category(
599
- 'wpr-woo-widgets',
600
- [
601
- 'title' => sprintf(esc_html__( '%s WooCommerce', 'wpr-addons' ), Utilities::get_plugin_name()),
602
- 'icon' => 'font',
603
- ],
604
- 2
605
- );
 
 
 
 
 
 
 
 
 
 
 
606
  }
607
 
608
  protected function add_actions() {
 
609
  add_action( 'elementor/init', [ $this, 'elementor_init' ] );
610
 
 
 
 
611
  // Register Ajax Hooks
612
  $this->register_ajax_hooks();
613
 
6
  use WprAddons\Includes\Controls\WPR_Control_Animations;
7
  use WprAddons\Includes\Controls\WPR_Control_Animations_Alt;
8
  use WprAddons\Includes\Controls\WPR_Control_Button_Animations;
9
+ use WprAddons\Includes\Controls\WPR_Control_Arrow_Icons;
10
  use WprAddons\Classes\Utilities;
11
 
12
  if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly
80
 
81
  // Custom Controls
82
  require WPR_ADDONS_PATH . 'includes/controls/wpr-control-animations.php';
83
+ require WPR_ADDONS_PATH . 'includes/controls/wpr-control-icons.php';
84
 
85
  // Templates Library
86
  require WPR_ADDONS_PATH . 'admin/includes/wpr-templates-library.php';
112
  require WPR_ADDONS_PATH . 'extensions/wpr-custom-css.php';
113
 
114
  // Rating Notice
115
+ require WPR_ADDONS_PATH . 'classes/rating-notice.php';
116
+
117
+ // Theme Builder Notice
118
+ require WPR_ADDONS_PATH . 'classes/plugin-update-notice.php';
119
 
120
  // Admin Files
121
  if ( is_admin() ) {
191
  $controls_manager->register_control( 'wpr-animations', new WPR_Control_Animations() );
192
  $controls_manager->register_control( 'wpr-animations-alt', new WPR_Control_Animations_Alt() );
193
  $controls_manager->register_control( 'wpr-button-animations', new WPR_Control_Button_Animations() );
194
+ $controls_manager->register_control( 'wpr-arrow-icons', new WPR_Control_Arrow_Icons() );
195
 
196
  }
197
 
198
  public function register_elementor_document_type( $documents_manager ) {
199
+ // Theme Builder
200
+ require WPR_ADDONS_PATH . 'modules/theme-builder/wpr-theme-builder.php';
201
+ $documents_manager->register_document_type( 'wpr-theme-builder', 'Wpr_Theme_Builder' );
202
+
203
+ // Popups
204
  require WPR_ADDONS_PATH . 'modules/popup/wpr-popup.php';
205
 
206
  if ( wpr_fs()->can_use_premium_code() && defined('WPR_ADDONS_PRO_VERSION') ) {
594
 
595
  public function elementor_init() {
596
  $this->_modules_manager = new Manager();
597
+ }
598
 
599
+ public function register_widget_categories() {
600
  // Add element category in panel
601
  \Elementor\Plugin::instance()->elements_manager->add_category(
602
  'wpr-widgets',
603
  [
604
  'title' => Utilities::get_plugin_name(true),
605
  'icon' => 'font',
606
+ ]
 
607
  );
608
 
609
  // Add Woo element category in panel
610
+ if ( Utilities::is_theme_builder_template() ) {
611
+ \Elementor\Plugin::instance()->elements_manager->add_category(
612
+ 'wpr-theme-builder-widgets',
613
+ [
614
+ 'title' => sprintf(esc_html__( '%s Theme Builder', 'wpr-addons' ), Utilities::get_plugin_name()),
615
+ 'icon' => 'font',
616
+ ]
617
+ );
618
+ }
619
+
620
+
621
+ // Add Woo element category in panel
622
+ // \Elementor\Plugin::instance()->elements_manager->add_category(
623
+ // 'wpr-woo-widgets',
624
+ // [
625
+ // 'title' => sprintf(esc_html__( '%s WooCommerce', 'wpr-addons' ), Utilities::get_plugin_name()),
626
+ // 'icon' => 'font',
627
+ // ]
628
+ // );
629
  }
630
 
631
  protected function add_actions() {
632
+ // Register Widgets
633
  add_action( 'elementor/init', [ $this, 'elementor_init' ] );
634
 
635
+ // Register Categories
636
+ add_action( 'elementor/elements/categories_registered', [ $this, 'register_widget_categories' ] );
637
+
638
  // Register Ajax Hooks
639
  $this->register_ajax_hooks();
640
 
readme.txt CHANGED
@@ -1,7 +1,7 @@
1
  === Royal Elementor Addons (Header Footer Builder, Popups, Post Grid, Woocommerce Product Grid, Slider, Parallax Image, Free Elementor Widgets & Elementor Templates) ===
2
  Contributors: WP Royal, rubeushagrid13, cyberpinky, elementoraddonswpr
3
  Tags: elementor, elements, widgets for elementor, elementor addons, elementor widgets, elementor form, woocommerce elementor, page builder, elementor templates, wordpress page builder, best elementor addons, addons for elementor
4
- Stable tag: 1.3.37
5
  Requires at least: 5.0
6
  Tested up to: 5.9
7
  Requires PHP: 5.6
@@ -64,7 +64,7 @@ Comes with 40+ widgets for elementor. Creative and self-intuitive elementor widg
64
 
65
  **Elementor Extensions and Other Features**
66
 
67
- - [**Header Footer Builder**](https://royal-elementor-addons.com/?ref=rea-wpo-pp-details-tab#headerfooterbuilder)
68
  - [**Popup Builder**](https://royal-elementor-addons.com/?ref=rea-wpo-pp-details-tab#popupbuilder) (Offer Sales Banners, Subscriptions Banners, GDPR Cookie Consent & Compliance Notice, Cookie Notice, Age Verification), 20+ Premade Popup Templates included in popup library
69
  - [**Parallax Scrolling**](https://royal-elementor-addons.com/elementor-parallax-background/?ref=rea-wpo-pp-details-tab) - Elementor Parallax effect extension
70
  - [**Parallax Multi-Layer Effect**](https://royal-elementor-addons.com/elementor-parallax-background/?ref=rea-wpo-pp-details-tab#multiparallax) - elementor extension
@@ -74,6 +74,13 @@ and other custom branding related settings)
74
  - Sticky Section (Can be used for creating Sticky Header / Menu) - elementor extension
75
  - Custom CSS - Elementor free custom css , apply custom css to any section - elementor extension & other elementor enhancements coming soon.
76
 
 
 
 
 
 
 
 
77
  **Elementor Templates Kits**
78
 
79
  - [**Nature Elementor Templates Kit**](https://demosites.royal-elementor-addons.com/nature-v1/?ref=rea-wpo-pp-details-tab)
@@ -320,6 +327,15 @@ post_max_size 64M
320
 
321
  == Changelog ==
322
 
 
 
 
 
 
 
 
 
 
323
  = Royal Elementor Addons v1.3.37 - 2022-04-04 =
324
  * FIXED: Elementor Header, Elementor Footer, Elementor Popup import issue.
325
 
1
  === Royal Elementor Addons (Header Footer Builder, Popups, Post Grid, Woocommerce Product Grid, Slider, Parallax Image, Free Elementor Widgets & Elementor Templates) ===
2
  Contributors: WP Royal, rubeushagrid13, cyberpinky, elementoraddonswpr
3
  Tags: elementor, elements, widgets for elementor, elementor addons, elementor widgets, elementor form, woocommerce elementor, page builder, elementor templates, wordpress page builder, best elementor addons, addons for elementor
4
+ Stable tag: 1.3.38
5
  Requires at least: 5.0
6
  Tested up to: 5.9
7
  Requires PHP: 5.6
64
 
65
  **Elementor Extensions and Other Features**
66
 
67
+ - [**Elementor Theme Builder**](https://royal-elementor-addons.com/?ref=rea-wpo-pp-details-tab#headerfooterbuilder) - Header Footer Builder, Post Archive template builder, Single Post template builder, Single Page tamplate builder, Search, category, tags, 404, author, data page template builder.
68
  - [**Popup Builder**](https://royal-elementor-addons.com/?ref=rea-wpo-pp-details-tab#popupbuilder) (Offer Sales Banners, Subscriptions Banners, GDPR Cookie Consent & Compliance Notice, Cookie Notice, Age Verification), 20+ Premade Popup Templates included in popup library
69
  - [**Parallax Scrolling**](https://royal-elementor-addons.com/elementor-parallax-background/?ref=rea-wpo-pp-details-tab) - Elementor Parallax effect extension
70
  - [**Parallax Multi-Layer Effect**](https://royal-elementor-addons.com/elementor-parallax-background/?ref=rea-wpo-pp-details-tab#multiparallax) - elementor extension
74
  - Sticky Section (Can be used for creating Sticky Header / Menu) - elementor extension
75
  - Custom CSS - Elementor free custom css , apply custom css to any section - elementor extension & other elementor enhancements coming soon.
76
 
77
+ **Elementor Theme Builder Templates Kits**
78
+
79
+ - [**Personal Blog**](https://demosites.royal-elementor-addons.com/personal-blog-v1/?ref=rea-wpo-pp-details-tab)
80
+ - [**Blog Magazine**](https://demosites.royal-elementor-addons.com/magazine-blog-v1/?ref=rea-wpo-pp-details-tab)
81
+ - [**Food Blog**](https://demosites.royal-elementor-addons.com/food-blog-v1/?ref=rea-wpo-pp-details-tab)
82
+ - [**Blog Magazine**](https://demosites.royal-elementor-addons.com/travel-blog-v1/?ref=rea-wpo-pp-details-tab)
83
+
84
  **Elementor Templates Kits**
85
 
86
  - [**Nature Elementor Templates Kit**](https://demosites.royal-elementor-addons.com/nature-v1/?ref=rea-wpo-pp-details-tab)
327
 
328
  == Changelog ==
329
 
330
+ = Royal Elementor Addons v1.3.38 - 2022-04-06 =
331
+ * ADDED: Elementor Theme Builder. Customize every fundamental part of your WordPress site without coding including your Header, Footer, Archives, Posts, Default Pages, 404 Pages, etc...
332
+ * ADDED: Elementor Theme Builder Widgets: Post Title, Post Media, Post Meta, Post Navigation, Post Comments, Post Author, Archive Page Title.
333
+ * ADDED: Elementor Theme Builder Demos:
334
+ - [**Personal Blog**](https://demosites.royal-elementor-addons.com/personal-blog-v1/?ref=rea-wpo-pp-details-tab)
335
+ - [**Blog Magazine**](https://demosites.royal-elementor-addons.com/magazine-blog-v1/?ref=rea-wpo-pp-details-tab)
336
+ - [**Food Blog**](https://demosites.royal-elementor-addons.com/food-blog-v1/?ref=rea-wpo-pp-details-tab)
337
+ - [**Blog Magazine**](https://demosites.royal-elementor-addons.com/travel-blog-v1/?ref=rea-wpo-pp-details-tab)
338
+
339
  = Royal Elementor Addons v1.3.37 - 2022-04-04 =
340
  * FIXED: Elementor Header, Elementor Footer, Elementor Popup import issue.
341
 
wpr-addons.php CHANGED
@@ -4,10 +4,10 @@
4
  * Description: The only plugin you need for Elementor page builder.
5
  * Plugin URI: https://royal-elementor-addons.com/
6
  * Author: WP Royal
7
- * Version: 1.3.37
8
  * License: GPLv3
9
  * Author URI: https://royal-elementor-addons.com/
10
- * Elementor tested up to: 3.6.1
11
  * Elementor Pro tested up to: 3.6.4
12
  *
13
  * Text Domain: wpr-addons
@@ -15,7 +15,7 @@
15
 
16
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
17
 
18
- define( 'WPR_ADDONS_VERSION', '1.3.37' );
19
 
20
  define( 'WPR_ADDONS__FILE__', __FILE__ );
21
  define( 'WPR_ADDONS_PLUGIN_BASE', plugin_basename( WPR_ADDONS__FILE__ ) );
@@ -216,4 +216,11 @@ function royal_elementor_addons_activation_time() {//TODO: Try to locate this in
216
  }
217
  }
218
 
219
- register_activation_hook( __FILE__, 'royal_elementor_addons_activation_time' );
 
 
 
 
 
 
 
4
  * Description: The only plugin you need for Elementor page builder.
5
  * Plugin URI: https://royal-elementor-addons.com/
6
  * Author: WP Royal
7
+ * Version: 1.3.38
8
  * License: GPLv3
9
  * Author URI: https://royal-elementor-addons.com/
10
+ * Elementor tested up to: 3.6.2
11
  * Elementor Pro tested up to: 3.6.4
12
  *
13
  * Text Domain: wpr-addons
15
 
16
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
17
 
18
+ define( 'WPR_ADDONS_VERSION', '1.3.38' );
19
 
20
  define( 'WPR_ADDONS__FILE__', __FILE__ );
21
  define( 'WPR_ADDONS_PLUGIN_BASE', plugin_basename( WPR_ADDONS__FILE__ ) );
216
  }
217
  }
218
 
219
+ // Delete Plugin Update Notice
220
+ function royal_elementor_addons_deactivate() {
221
+ delete_option('wpr_plugin_update_dismiss_notice');
222
+ }
223
+
224
+ register_activation_hook( __FILE__, 'royal_elementor_addons_activation_time' );
225
+ // hook already exists with template kits notice
226
+ register_deactivation_hook( __FILE__, 'royal_elementor_addons_deactivate' );