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.46

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.46
Comparing to
See all releases

Code changes from version 1.3.45 to 1.3.46

admin/import/class-wordpress-importer.php CHANGED
@@ -1,1339 +1,1339 @@
1
- <?php
2
-
3
- if ( ! defined( 'ABSPATH' ) ) {
4
- exit; // Exit if accessed directly.
5
- }
6
-
7
- if ( ! defined( 'WP_LOAD_IMPORTERS' ) )
8
- return;
9
-
10
- /** Display verbose errors */
11
- define( 'IMPORT_DEBUG', false );
12
-
13
- // Load Importer API
14
- require_once ABSPATH . 'wp-admin/includes/import.php';
15
-
16
- if ( ! class_exists( 'WP_Importer' ) ) {
17
- $class_wp_importer = ABSPATH . 'wp-admin/includes/class-wp-importer.php';
18
- if ( file_exists( $class_wp_importer ) )
19
- require $class_wp_importer;
20
- }
21
-
22
- // include WXR file parsers
23
- require WPR_ADDONS_PATH .'admin/import/class-parsers.php';
24
-
25
- class WP_Import extends WP_Importer {
26
- const DEFAULT_BUMP_REQUEST_TIMEOUT = 60;
27
- const DEFAULT_ALLOW_CREATE_USERS = true;
28
- const DEFAULT_IMPORT_ATTACHMENT_SIZE_LIMIT = 0; // 0 = unlimited.
29
-
30
- /**
31
- * @var string
32
- */
33
- private $requested_file_path;
34
-
35
- /**
36
- * @var array
37
- */
38
- private $args;
39
-
40
- /**
41
- * @var array
42
- */
43
- private $output = [
44
- 'status' => 'failed',
45
- 'errors' => [],
46
- ];
47
-
48
- /*
49
- * WXR attachment ID
50
- */
51
- private $id;
52
-
53
- // Information to import from WXR file.
54
- private $version;
55
- private $authors = [];
56
- private $posts = [];
57
- private $terms = [];
58
- private $categories = [];
59
- private $tags = [];
60
- private $base_url = '';
61
- private $page_on_front;
62
-
63
- // Mappings from old information to new.
64
- private $processed_authors = [];
65
- private $author_mapping = [];
66
- private $processed_terms = [];
67
- private $processed_posts = [];
68
- private $post_orphans = [];
69
- private $processed_menu_items = [];
70
- private $menu_item_orphans = [];
71
- private $missing_menu_items = [];
72
-
73
- private $fetch_attachments = false;
74
- private $url_remap = [];
75
- private $featured_images = [];
76
-
77
- /**
78
- * Parses filename from a Content-Disposition header value.
79
- *
80
- * As per RFC6266:
81
- *
82
- * content-disposition = "Content-Disposition" ":"
83
- * disposition-type *( ";" disposition-parm )
84
- *
85
- * disposition-type = "inline" | "attachment" | disp-ext-type
86
- * ; case-insensitive
87
- * disp-ext-type = token
88
- *
89
- * disposition-parm = filename-parm | disp-ext-parm
90
- *
91
- * filename-parm = "filename" "=" value
92
- * | "filename*" "=" ext-value
93
- *
94
- * disp-ext-parm = token "=" value
95
- * | ext-token "=" ext-value
96
- * ext-token = <the characters in token, followed by "*">
97
- *
98
- * @param string[] $disposition_header List of Content-Disposition header values.
99
- *
100
- * @return string|null Filename if available, or null if not found.
101
- * @link http://tools.ietf.org/html/rfc2388
102
- * @link http://tools.ietf.org/html/rfc6266
103
- *
104
- * @see WP_REST_Attachments_Controller::get_filename_from_disposition()
105
- *
106
- */
107
- protected static function get_filename_from_disposition( $disposition_header ) {
108
- // Get the filename.
109
- $filename = null;
110
-
111
- foreach ( $disposition_header as $value ) {
112
- $value = trim( $value );
113
-
114
- if ( strpos( $value, ';' ) === false ) {
115
- continue;
116
- }
117
-
118
- list( $type, $attr_parts ) = explode( ';', $value, 2 );
119
-
120
- $attr_parts = explode( ';', $attr_parts );
121
- $attributes = [];
122
-
123
- foreach ( $attr_parts as $part ) {
124
- if ( strpos( $part, '=' ) === false ) {
125
- continue;
126
- }
127
-
128
- list( $key, $value ) = explode( '=', $part, 2 );
129
-
130
- $attributes[ trim( $key ) ] = trim( $value );
131
- }
132
-
133
- if ( empty( $attributes['filename'] ) ) {
134
- continue;
135
- }
136
-
137
- $filename = trim( $attributes['filename'] );
138
-
139
- // Unquote quoted filename, but after trimming.
140
- if ( substr( $filename, 0, 1 ) === '"' && substr( $filename, -1, 1 ) === '"' ) {
141
- $filename = substr( $filename, 1, -1 );
142
- }
143
- }
144
-
145
- return $filename;
146
- }
147
-
148
- /**
149
- * Retrieves file extension by mime type.
150
- *
151
- * @param string $mime_type Mime type to search extension for.
152
- *
153
- * @return string|null File extension if available, or null if not found.
154
- */
155
- protected static function get_file_extension_by_mime_type( $mime_type ) {
156
- static $map = null;
157
-
158
- if ( is_array( $map ) ) {
159
- return isset( $map[ $mime_type ] ) ? $map[ $mime_type ] : null;
160
- }
161
-
162
- $mime_types = wp_get_mime_types();
163
- $map = array_flip( $mime_types );
164
-
165
- // Some types have multiple extensions, use only the first one.
166
- foreach ( $map as $type => $extensions ) {
167
- $map[ $type ] = strtok( $extensions, '|' );
168
- }
169
-
170
- return isset( $map[ $mime_type ] ) ? $map[ $mime_type ] : null;
171
- }
172
-
173
- /**
174
- * The main controller for the actual import stage.
175
- *
176
- * @param string $file Path to the WXR file for importing
177
- */
178
- private function import( $file ) {
179
- add_filter( 'import_post_meta_key', function ( $key ) {
180
- return $this->is_valid_meta_key( $key );
181
- } );
182
- add_filter( 'http_request_timeout', function () {
183
- return self::DEFAULT_BUMP_REQUEST_TIMEOUT;
184
- } );
185
-
186
- if ( ! $this->import_start( $file ) ) {
187
- return;
188
- }
189
-
190
- $this->set_author_mapping();
191
-
192
- wp_suspend_cache_invalidation( true );
193
- $imported_summary = [
194
- 'categories' => $this->process_categories(),
195
- 'tags' => $this->process_tags(),
196
- 'terms' => $this->process_terms(),
197
- 'posts' => $this->process_posts(),
198
- ];
199
- wp_suspend_cache_invalidation( false );
200
-
201
- // Update incorrect/missing information in the DB.
202
- $this->backfill_parents();
203
- $this->backfill_attachment_urls();
204
- $this->remap_featured_images();
205
-
206
- $this->import_end();
207
-
208
- $is_some_succeed = false;
209
- foreach ( $imported_summary as $item ) {
210
- if ( $item > 0 ) {
211
- $is_some_succeed = true;
212
- break;
213
- }
214
- }
215
-
216
- if ( $is_some_succeed ) {
217
- $this->output['status'] = 'success';
218
- $this->output['summary'] = $imported_summary;
219
- }
220
- }
221
-
222
- /**
223
- * Parses the WXR file and prepares us for the task of processing parsed data.
224
- *
225
- * @param string $file Path to the WXR file for importing
226
- */
227
- private function import_start( $file ) {
228
- if ( ! is_file( $file ) ) {
229
- $this->output['errors'] = [ esc_html__( 'The file does not exist, please try again.', 'wpr-addons' ) ];
230
-
231
- return false;
232
- }
233
-
234
- $import_data = $this->parse( $file );
235
-
236
- if ( is_wp_error( $import_data ) ) {
237
- $this->output['errors'] = [ $import_data->get_error_message() ];
238
-
239
- return false;
240
- }
241
-
242
- $this->version = $import_data['version'];
243
- $this->set_authors_from_import( $import_data );
244
- $this->posts = $import_data['posts'];
245
- $this->terms = $import_data['terms'];
246
- $this->categories = $import_data['categories'];
247
- $this->tags = $import_data['tags'];
248
- $this->base_url = esc_url( $import_data['base_url'] );
249
- $this->page_on_front = $import_data['page_on_front'];
250
-
251
- wp_defer_term_counting( true );
252
- wp_defer_comment_counting( true );
253
-
254
- do_action( 'import_start' );
255
-
256
- return true;
257
- }
258
-
259
- /**
260
- * Performs post-import cleanup of files and the cache
261
- */
262
- private function import_end() {
263
- wp_import_cleanup( $this->id );
264
-
265
- wp_cache_flush();
266
-
267
- foreach ( get_taxonomies() as $tax ) {
268
- delete_option( "{$tax}_children" );
269
- _get_term_hierarchy( $tax );
270
- }
271
-
272
- wp_defer_term_counting( false );
273
- wp_defer_comment_counting( false );
274
-
275
- do_action( 'import_end' );
276
- }
277
-
278
- /**
279
- * Retrieve authors from parsed WXR data and set it to `$this->>authors`.
280
- *
281
- * Uses the provided author information from WXR 1.1 files
282
- * or extracts info from each post for WXR 1.0 files
283
- *
284
- * @param array $import_data Data returned by a WXR parser
285
- */
286
- private function set_authors_from_import( $import_data ) {
287
- if ( ! empty( $import_data['authors'] ) ) {
288
- $this->authors = $import_data['authors'];
289
- // No author information, grab it from the posts.
290
- } else {
291
- foreach ( $import_data['posts'] as $post ) {
292
- $login = sanitize_user( $post['post_author'], true );
293
-
294
- if ( empty( $login ) ) {
295
- /* translators: %s: Post author. */
296
- $this->output['errors'][] = sprintf( esc_html__( 'Failed to import author %s. Their posts will be attributed to the current user.', 'wpr-addons' ), $post['post_author'] );
297
- continue;
298
- }
299
-
300
- if ( ! isset( $this->authors[ $login ] ) ) {
301
- $this->authors[ $login ] = [
302
- 'author_login' => $login,
303
- 'author_display_name' => $post['post_author'],
304
- ];
305
- }
306
- }
307
- }
308
- }
309
-
310
- /**
311
- * Map old author logins to local user IDs based on decisions made
312
- * in import options form. Can map to an existing user, create a new user
313
- * or falls back to the current user in case of error with either of the previous
314
- */
315
- private function set_author_mapping() {
316
- if ( ! isset( $this->args['imported_authors'] ) ) {
317
- return;
318
- }
319
-
320
- $create_users = apply_filters( 'import_allow_create_users', self::DEFAULT_ALLOW_CREATE_USERS );
321
-
322
- foreach ( (array) $this->args['imported_authors'] as $i => $old_login ) {
323
- // Multisite adds strtolower to sanitize_user. Need to sanitize here to stop breakage in process_posts.
324
- $santized_old_login = sanitize_user( $old_login, true );
325
- $old_id = isset( $this->authors[ $old_login ]['author_id'] ) ? intval( $this->authors[ $old_login ]['author_id'] ) : false;
326
-
327
- if ( ! empty( $this->args['user_map'][ $i ] ) ) {
328
- $user = get_userdata( intval( $this->args['user_map'][ $i ] ) );
329
- if ( isset( $user->ID ) ) {
330
- if ( $old_id ) {
331
- $this->processed_authors[ $old_id ] = $user->ID;
332
- }
333
- $this->author_mapping[ $santized_old_login ] = $user->ID;
334
- }
335
- } elseif ( $create_users ) {
336
- $user_id = 0;
337
- if ( ! empty( $this->args['user_new'][ $i ] ) ) {
338
- $user_id = wp_create_user( $this->args['user_new'][ $i ], wp_generate_password() );
339
- } elseif ( '1.0' !== $this->version ) {
340
- $user_data = [
341
- 'user_login' => $old_login,
342
- 'user_pass' => wp_generate_password(),
343
- 'user_email' => isset( $this->authors[ $old_login ]['author_email'] ) ? $this->authors[ $old_login ]['author_email'] : '',
344
- 'display_name' => $this->authors[ $old_login ]['author_display_name'],
345
- 'first_name' => isset( $this->authors[ $old_login ]['author_first_name'] ) ? $this->authors[ $old_login ]['author_first_name'] : '',
346
- 'last_name' => isset( $this->authors[ $old_login ]['author_last_name'] ) ? $this->authors[ $old_login ]['author_last_name'] : '',
347
- ];
348
- $user_id = wp_insert_user( $user_data );
349
- }
350
-
351
- if ( ! is_wp_error( $user_id ) ) {
352
- if ( $old_id ) {
353
- $this->processed_authors[ $old_id ] = $user_id;
354
- }
355
- $this->author_mapping[ $santized_old_login ] = $user_id;
356
- } else {
357
- /* translators: %s: Author display name. */
358
- $error = sprintf( esc_html__( 'Failed to create new user for %s. Their posts will be attributed to the current user.', 'wpr-addons' ), $this->authors[ $old_login ]['author_display_name'] );
359
-
360
- if ( defined( 'IMPORT_DEBUG' ) && IMPORT_DEBUG ) {
361
- $error .= PHP_EOL . $user_id->get_error_message();
362
- }
363
-
364
- $this->output['errors'][] = $error;
365
- }
366
- }
367
-
368
- // Failsafe: if the user_id was invalid, default to the current user.
369
- if ( ! isset( $this->author_mapping[ $santized_old_login ] ) ) {
370
- if ( $old_id ) {
371
- $this->processed_authors[ $old_id ] = (int) get_current_user_id();
372
- }
373
- $this->author_mapping[ $santized_old_login ] = (int) get_current_user_id();
374
- }
375
- }
376
- }
377
-
378
- /**
379
- * Create new categories based on import information
380
- *
381
- * Doesn't create a new category if its slug already exists
382
- *
383
- * @return int number of imported categories.
384
- */
385
- private function process_categories() {
386
- $result = 0;
387
-
388
- $this->categories = apply_filters( 'wp_import_categories', $this->categories );
389
-
390
- if ( empty( $this->categories ) ) {
391
- return $result;
392
- }
393
-
394
- foreach ( $this->categories as $cat ) {
395
- // if the category already exists leave it alone
396
- $term_id = term_exists( $cat['category_nicename'], 'category' );
397
- if ( $term_id ) {
398
- if ( is_array( $term_id ) ) {
399
- $term_id = $term_id['term_id'];
400
- }
401
- if ( isset( $cat['term_id'] ) ) {
402
- $this->processed_terms[ intval( $cat['term_id'] ) ] = (int) $term_id;
403
- }
404
- continue;
405
- }
406
-
407
- $parent = empty( $cat['category_parent'] ) ? 0 : category_exists( $cat['category_parent'] );
408
- $description = isset( $cat['category_description'] ) ? $cat['category_description'] : '';
409
-
410
- $data = [
411
- 'category_nicename' => $cat['category_nicename'],
412
- 'category_parent' => $parent,
413
- 'cat_name' => wp_slash( $cat['cat_name'] ),
414
- 'category_description' => wp_slash( $description ),
415
- ];
416
-
417
- $id = wp_insert_category( $data );
418
- if ( ! is_wp_error( $id ) && $id > 0 ) {
419
- if ( isset( $cat['term_id'] ) ) {
420
- $this->processed_terms[ intval( $cat['term_id'] ) ] = $id;
421
- }
422
- $result++;
423
- } else {
424
- /* translators: %s: Category name. */
425
- $error = sprintf( esc_html__( 'Failed to import category %s', 'wpr-addons' ), $cat['category_nicename'] );
426
-
427
- if ( defined( 'IMPORT_DEBUG' ) && IMPORT_DEBUG ) {
428
- $error .= PHP_EOL . $id->get_error_message();
429
- }
430
-
431
- $this->output['errors'][] = $error;
432
- continue;
433
- }
434
-
435
- $this->process_termmeta( $cat, $id );
436
- }
437
-
438
- unset( $this->categories );
439
-
440
- return $result;
441
- }
442
-
443
- /**
444
- * Create new post tags based on import information
445
- *
446
- * Doesn't create a tag if its slug already exists
447
- *
448
- * @return int number of imported tags.
449
- */
450
- private function process_tags() {
451
- $result = 0;
452
-
453
- $this->tags = apply_filters( 'wp_import_tags', $this->tags );
454
-
455
- if ( empty( $this->tags ) ) {
456
- return $result;
457
- }
458
-
459
- foreach ( $this->tags as $tag ) {
460
- // if the tag already exists leave it alone
461
- $term_id = term_exists( $tag['tag_slug'], 'post_tag' );
462
- if ( $term_id ) {
463
- if ( is_array( $term_id ) ) {
464
- $term_id = $term_id['term_id'];
465
- }
466
- if ( isset( $tag['term_id'] ) ) {
467
- $this->processed_terms[ intval( $tag['term_id'] ) ] = (int) $term_id;
468
- }
469
- continue;
470
- }
471
-
472
- $description = isset( $tag['tag_description'] ) ? $tag['tag_description'] : '';
473
- $args = [
474
- 'slug' => $tag['tag_slug'],
475
- 'description' => wp_slash( $description ),
476
- ];
477
-
478
- $id = wp_insert_term( wp_slash( $tag['tag_name'] ), 'post_tag', $args );
479
- if ( ! is_wp_error( $id ) ) {
480
- if ( isset( $tag['term_id'] ) ) {
481
- $this->processed_terms[ intval( $tag['term_id'] ) ] = $id['term_id'];
482
- }
483
- $result++;
484
- } else {
485
- /* translators: %s: Tag name. */
486
- $error = sprintf( esc_html__( 'Failed to import post tag %s', 'wpr-addons' ), $tag['tag_name'] );
487
-
488
- if ( defined( 'IMPORT_DEBUG' ) && IMPORT_DEBUG ) {
489
- $error .= PHP_EOL . $id->get_error_message();
490
- }
491
-
492
- $this->output['errors'][] = $error;
493
- continue;
494
- }
495
-
496
- $this->process_termmeta( $tag, $id['term_id'] );
497
- }
498
-
499
- unset( $this->tags );
500
-
501
- return $result;
502
- }
503
-
504
- /**
505
- * Create new terms based on import information
506
- *
507
- * Doesn't create a term its slug already exists
508
- *
509
- * @return int number of imported terms.
510
- */
511
- private function process_terms() {
512
- $result = 0;
513
-
514
- $this->terms = apply_filters( 'wp_import_terms', $this->terms );
515
-
516
- if ( empty( $this->terms ) ) {
517
- return $result;
518
- }
519
-
520
- foreach ( $this->terms as $term ) {
521
- // if the term already exists in the correct taxonomy leave it alone
522
- $term_id = term_exists( $term['slug'], $term['term_taxonomy'] );
523
- if ( $term_id ) {
524
- if ( is_array( $term_id ) ) {
525
- $term_id = $term_id['term_id'];
526
- }
527
- if ( isset( $term['term_id'] ) ) {
528
- $this->processed_terms[ intval( $term['term_id'] ) ] = (int) $term_id;
529
- }
530
- continue;
531
- }
532
-
533
- if ( empty( $term['term_parent'] ) ) {
534
- $parent = 0;
535
- } else {
536
- $parent = term_exists( $term['term_parent'], $term['term_taxonomy'] );
537
- if ( is_array( $parent ) ) {
538
- $parent = $parent['term_id'];
539
- }
540
- }
541
-
542
- $description = isset( $term['term_description'] ) ? $term['term_description'] : '';
543
- $args = [
544
- 'slug' => $term['slug'],
545
- 'description' => wp_slash( $description ),
546
- 'parent' => (int) $parent,
547
- ];
548
-
549
- $id = wp_insert_term( wp_slash( $term['term_name'] ), $term['term_taxonomy'], $args );
550
- if ( ! is_wp_error( $id ) ) {
551
- if ( isset( $term['term_id'] ) ) {
552
- $this->processed_terms[ intval( $term['term_id'] ) ] = $id['term_id'];
553
- }
554
- $result++;
555
- } else {
556
- /* translators: 1: Term taxonomy, 2: Term name. */
557
- $error = sprintf( esc_html__( 'Failed to import %1$s %2$s', 'wpr-addons' ), $term['term_taxonomy'], $term['term_name'] );
558
-
559
- if ( defined( 'IMPORT_DEBUG' ) && IMPORT_DEBUG ) {
560
- $error .= PHP_EOL . $id->get_error_message();
561
- }
562
-
563
- $this->output['errors'][] = $error;
564
- continue;
565
- }
566
-
567
- $this->process_termmeta( $term, $id['term_id'] );
568
- }
569
-
570
- unset( $this->terms );
571
-
572
- return $result;
573
- }
574
-
575
- /**
576
- * Add metadata to imported term.
577
- *
578
- * @param array $term Term data from WXR import.
579
- * @param int $term_id ID of the newly created term.
580
- */
581
- private function process_termmeta( $term, $term_id ) {
582
- if ( ! function_exists( 'add_term_meta' ) ) {
583
- return;
584
- }
585
-
586
- if ( ! isset( $term['termmeta'] ) ) {
587
- $term['termmeta'] = [];
588
- }
589
-
590
- /**
591
- * Filters the metadata attached to an imported term.
592
- *
593
- * @param array $termmeta Array of term meta.
594
- * @param int $term_id ID of the newly created term.
595
- * @param array $term Term data from the WXR import.
596
- */
597
- $term['termmeta'] = apply_filters( 'wp_import_term_meta', $term['termmeta'], $term_id, $term );
598
-
599
- if ( empty( $term['termmeta'] ) ) {
600
- return;
601
- }
602
-
603
- foreach ( $term['termmeta'] as $meta ) {
604
- /**
605
- * Filters the meta key for an imported piece of term meta.
606
- *
607
- * @param string $meta_key Meta key.
608
- * @param int $term_id ID of the newly created term.
609
- * @param array $term Term data from the WXR import.
610
- */
611
- $key = apply_filters( 'import_term_meta_key', $meta['key'], $term_id, $term );
612
- if ( ! $key ) {
613
- continue;
614
- }
615
-
616
- // Export gets meta straight from the DB so could have a serialized string
617
- $value = maybe_unserialize( $meta['value'] );
618
-
619
- add_term_meta( $term_id, wp_slash( $key ), wp_slash_strings_only( $value ) );
620
-
621
- /**
622
- * Fires after term meta is imported.
623
- *
624
- * @param int $term_id ID of the newly created term.
625
- * @param string $key Meta key.
626
- * @param mixed $value Meta value.
627
- */
628
- do_action( 'import_term_meta', $term_id, $key, $value );
629
- }
630
- }
631
-
632
- /**
633
- * Create new posts based on import information
634
- *
635
- * Posts marked as having a parent which doesn't exist will become top level items.
636
- * Doesn't create a new post if: the post type doesn't exist, the given post ID
637
- * is already noted as imported or a post with the same title and date already exists.
638
- * Note that new/updated terms, comments and meta are imported for the last of the above.
639
- *
640
- * @return array the ids of succeed/failed imported posts.
641
- */
642
- private function process_posts() {
643
- $result = [
644
- 'succeed' => [],
645
- 'failed' => [],
646
- ];
647
-
648
- $this->posts = apply_filters( 'wp_import_posts', $this->posts );
649
-
650
- foreach ( $this->posts as $post ) {
651
- $post = apply_filters( 'wp_import_post_data_raw', $post );
652
-
653
- if ( ! post_type_exists( $post['post_type'] ) ) {
654
- /* translators: 1: Post title, 2: Post type. */
655
- $this->output['errors'][] = sprintf( esc_html__( 'Failed to import %1$s: Invalid post type %2$s', 'wpr-addons' ), $post['post_title'], $post['post_type'] );
656
- do_action( 'wp_import_post_exists', $post );
657
- continue;
658
- }
659
-
660
- if ( isset( $this->processed_posts[ $post['post_id'] ] ) && ! empty( $post['post_id'] ) ) {
661
- continue;
662
- }
663
-
664
- if ( 'auto-draft' === $post['status'] ) {
665
- continue;
666
- }
667
-
668
- if ( 'nav_menu_item' === $post['post_type'] ) {
669
- $this->process_menu_item( $post );
670
- continue;
671
- }
672
-
673
- $post_type_object = get_post_type_object( $post['post_type'] );
674
-
675
- $post_parent = (int) $post['post_parent'];
676
- if ( $post_parent ) {
677
- // if we already know the parent, map it to the new local ID.
678
- if ( isset( $this->processed_posts[ $post_parent ] ) ) {
679
- $post_parent = $this->processed_posts[ $post_parent ];
680
- // otherwise record the parent for later.
681
- } else {
682
- $this->post_orphans[ intval( $post['post_id'] ) ] = $post_parent;
683
- $post_parent = 0;
684
- }
685
- }
686
-
687
- // Map the post author.
688
- $author = sanitize_user( $post['post_author'], true );
689
- if ( isset( $this->author_mapping[ $author ] ) ) {
690
- $author = $this->author_mapping[ $author ];
691
- } else {
692
- $author = (int) get_current_user_id();
693
- }
694
-
695
- $postdata = [
696
- 'import_id' => $post['post_id'],
697
- 'post_author' => $author,
698
- 'post_content' => $post['post_content'],
699
- 'post_excerpt' => $post['post_excerpt'],
700
- 'post_title' => $post['post_title'],
701
- 'post_status' => $post['status'],
702
- 'post_name' => $post['post_name'],
703
- 'comment_status' => $post['comment_status'],
704
- 'ping_status' => $post['ping_status'],
705
- 'guid' => $post['guid'],
706
- 'post_parent' => $post_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'];
714
- $postdata = apply_filters( 'wp_import_post_data_processed', $postdata, $post );
715
-
716
- $postdata = wp_slash( $postdata );
717
-
718
- if ( 'attachment' === $postdata['post_type'] ) {
719
- $remote_url = ! empty( $post['attachment_url'] ) ? $post['attachment_url'] : $post['guid'];
720
-
721
- // try to use _wp_attached file for upload folder placement to ensure the same location as the export site
722
- // e.g. location is 2003/05/image.jpg but the attachment post_date is 2010/09, see media_handle_upload()
723
- $postdata['upload_date'] = $post['post_date'];
724
- if ( isset( $post['postmeta'] ) ) {
725
- foreach ( $post['postmeta'] as $meta ) {
726
- if ( '_wp_attached_file' === $meta['key'] ) {
727
- if ( preg_match( '%^[0-9]{4}/[0-9]{2}%', $meta['value'], $matches ) ) {
728
- $postdata['upload_date'] = $matches[0];
729
- }
730
- break;
731
- }
732
- }
733
- }
734
-
735
- $post_id = $this->process_attachment( $postdata, $remote_url );
736
- $comment_post_id = $post_id;
737
- } else {
738
- $post_id = wp_insert_post( $postdata, true );
739
- $comment_post_id = $post_id;
740
- do_action( 'wp_import_insert_post', $post_id, $original_post_id, $postdata, $post );
741
- }
742
-
743
- if ( is_wp_error( $post_id ) ) {
744
- /* translators: 1: Post type singular label, 2: Post title. */
745
- $error = sprintf( __( 'Failed to import %1$s %2$s', 'wpr-addons' ), $post_type_object->labels->singular_name, $post['post_title'] );
746
-
747
- if ( defined( 'IMPORT_DEBUG' ) && IMPORT_DEBUG ) {
748
- $error .= PHP_EOL . $post_id->get_error_message();
749
- }
750
-
751
- $result['failed'][] = $original_post_id;
752
-
753
- $this->output['errors'][] = $error;
754
-
755
- continue;
756
- }
757
-
758
- $result['succeed'][ $original_post_id ] = $post_id;
759
-
760
- if ( 1 === $post['is_sticky'] ) {
761
- stick_post( $post_id );
762
- }
763
-
764
- if ( $this->page_on_front === $original_post_id ) {
765
- update_option( 'page_on_front', $post_id );
766
- }
767
-
768
- // Map pre-import ID to local ID.
769
- $this->processed_posts[ intval( $post['post_id'] ) ] = (int) $post_id;
770
-
771
- if ( ! isset( $post['terms'] ) ) {
772
- $post['terms'] = [];
773
- }
774
-
775
- $post['terms'] = apply_filters( 'wp_import_post_terms', $post['terms'], $post_id, $post );
776
-
777
- // add categories, tags and other terms
778
- if ( ! empty( $post['terms'] ) ) {
779
- $terms_to_set = [];
780
- foreach ( $post['terms'] as $term ) {
781
- // back compat with WXR 1.0 map 'tag' to 'post_tag'
782
- $taxonomy = ( 'tag' === $term['domain'] ) ? 'post_tag' : $term['domain'];
783
- $term_exists = term_exists( $term['slug'], $taxonomy );
784
- $term_id = is_array( $term_exists ) ? $term_exists['term_id'] : $term_exists;
785
- if ( ! $term_id ) {
786
- $t = wp_insert_term( $term['name'], $taxonomy, [ 'slug' => $term['slug'] ] );
787
- if ( ! is_wp_error( $t ) ) {
788
- $term_id = $t['term_id'];
789
- do_action( 'wp_import_insert_term', $t, $term, $post_id, $post );
790
- } else {
791
- /* translators: 1: Taxonomy name, 2: Term name. */
792
- $error = sprintf( esc_html__( 'Failed to import %1$s %2$s', 'wpr-addons' ), $taxonomy, $term['name'] );
793
-
794
- if ( defined( 'IMPORT_DEBUG' ) && IMPORT_DEBUG ) {
795
- $error .= PHP_EOL . $t->get_error_message();
796
- }
797
-
798
- $this->output['errors'][] = $error;
799
-
800
- do_action( 'wp_import_insert_term_failed', $t, $term, $post_id, $post );
801
- continue;
802
- }
803
- }
804
- $terms_to_set[ $taxonomy ][] = intval( $term_id );
805
- }
806
-
807
- foreach ( $terms_to_set as $tax => $ids ) {
808
- $tt_ids = wp_set_post_terms( $post_id, $ids, $tax );
809
- do_action( 'wp_import_set_post_terms', $tt_ids, $ids, $tax, $post_id, $post );
810
- }
811
- unset( $post['terms'], $terms_to_set );
812
- }
813
-
814
- if ( ! isset( $post['comments'] ) ) {
815
- $post['comments'] = [];
816
- }
817
-
818
- $post['comments'] = apply_filters( 'wp_import_post_comments', $post['comments'], $post_id, $post );
819
-
820
- // Add/update comments.
821
- if ( ! empty( $post['comments'] ) ) {
822
- $num_comments = 0;
823
- $inserted_comments = [];
824
- foreach ( $post['comments'] as $comment ) {
825
- $comment_id = $comment['comment_id'];
826
- $newcomments[ $comment_id ]['comment_post_ID'] = $comment_post_id;
827
- $newcomments[ $comment_id ]['comment_author'] = $comment['comment_author'];
828
- $newcomments[ $comment_id ]['comment_author_email'] = $comment['comment_author_email'];
829
- $newcomments[ $comment_id ]['comment_author_IP'] = $comment['comment_author_IP'];
830
- $newcomments[ $comment_id ]['comment_author_url'] = $comment['comment_author_url'];
831
- $newcomments[ $comment_id ]['comment_date'] = $comment['comment_date'];
832
- $newcomments[ $comment_id ]['comment_date_gmt'] = $comment['comment_date_gmt'];
833
- $newcomments[ $comment_id ]['comment_content'] = $comment['comment_content'];
834
- $newcomments[ $comment_id ]['comment_approved'] = $comment['comment_approved'];
835
- $newcomments[ $comment_id ]['comment_type'] = $comment['comment_type'];
836
- $newcomments[ $comment_id ]['comment_parent'] = $comment['comment_parent'];
837
- $newcomments[ $comment_id ]['commentmeta'] = isset( $comment['commentmeta'] ) ? $comment['commentmeta'] : [];
838
- if ( isset( $this->processed_authors[ $comment['comment_user_id'] ] ) ) {
839
- $newcomments[ $comment_id ]['user_id'] = $this->processed_authors[ $comment['comment_user_id'] ];
840
- }
841
- }
842
-
843
- ksort( $newcomments );
844
-
845
- foreach ( $newcomments as $key => $comment ) {
846
- if ( isset( $inserted_comments[ $comment['comment_parent'] ] ) ) {
847
- $comment['comment_parent'] = $inserted_comments[ $comment['comment_parent'] ];
848
- }
849
-
850
- $comment_data = wp_slash( $comment );
851
- unset( $comment_data['commentmeta'] ); // Handled separately, wp_insert_comment() also expects `comment_meta`.
852
- $comment_data = wp_filter_comment( $comment_data );
853
-
854
- $inserted_comments[ $key ] = wp_insert_comment( $comment_data );
855
-
856
- do_action( 'wp_import_insert_comment', $inserted_comments[ $key ], $comment, $comment_post_id, $post );
857
-
858
- foreach ( $comment['commentmeta'] as $meta ) {
859
- $value = maybe_unserialize( $meta['value'] );
860
-
861
- add_comment_meta( $inserted_comments[ $key ], wp_slash( $meta['key'] ), wp_slash_strings_only( $value ) );
862
- }
863
-
864
- $num_comments++;
865
- }
866
- unset( $newcomments, $inserted_comments, $post['comments'] );
867
- }
868
-
869
- if ( ! isset( $post['postmeta'] ) ) {
870
- $post['postmeta'] = [];
871
- }
872
-
873
- $post['postmeta'] = apply_filters( 'wp_import_post_meta', $post['postmeta'], $post_id, $post );
874
-
875
- // Add/update post meta.
876
- if ( ! empty( $post['postmeta'] ) ) {
877
- foreach ( $post['postmeta'] as $meta ) {
878
- $key = apply_filters( 'import_post_meta_key', $meta['key'], $post_id, $post );
879
- $value = false;
880
-
881
- if ( '_edit_last' === $key ) {
882
- if ( isset( $this->processed_authors[ intval( $meta['value'] ) ] ) ) {
883
- $value = $this->processed_authors[ intval( $meta['value'] ) ];
884
- } else {
885
- $key = false;
886
- }
887
- }
888
-
889
- if ( $key ) {
890
- // Export gets meta straight from the DB so could have a serialized string.
891
- if ( ! $value ) {
892
- $value = maybe_unserialize( $meta['value'] );
893
- }
894
-
895
- add_post_meta( $post_id, wp_slash( $key ), wp_slash_strings_only( $value ) );
896
-
897
- do_action( 'import_post_meta', $post_id, $key, $value );
898
-
899
- // If the post has a featured image, take note of this in case of remap.
900
- if ( '_thumbnail_id' === $key ) {
901
- $this->featured_images[ $post_id ] = (int) $value;
902
- }
903
- }
904
- }
905
- }
906
- }
907
-
908
- unset( $this->posts );
909
-
910
- return $result;
911
- }
912
-
913
- /**
914
- * Attempt to create a new menu item from import data
915
- *
916
- * Fails for draft, orphaned menu items and those without an associated nav_menu
917
- * or an invalid nav_menu term. If the post type or term object which the menu item
918
- * represents doesn't exist then the menu item will not be imported (waits until the
919
- * end of the import to retry again before discarding).
920
- *
921
- * @param array $item Menu item details from WXR file
922
- */
923
- private function process_menu_item( $item ) {
924
- // Skip draft, orphaned menu items.
925
- if ( 'draft' === $item['status'] ) {
926
- return;
927
- }
928
-
929
- $menu_slug = false;
930
- if ( isset( $item['terms'] ) ) {
931
- // Loop through terms, assume first nav_menu term is correct menu.
932
- foreach ( $item['terms'] as $term ) {
933
- if ( 'nav_menu' === $term['domain'] ) {
934
- $menu_slug = $term['slug'];
935
- break;
936
- }
937
- }
938
- }
939
-
940
- // No nav_menu term associated with this menu item.
941
- if ( ! $menu_slug ) {
942
- $this->output['errors'][] = esc_html__( 'Menu item skipped due to missing menu slug', 'wpr-addons' );
943
-
944
- return;
945
- }
946
-
947
- $menu_id = term_exists( $menu_slug, 'nav_menu' );
948
- if ( ! $menu_id ) {
949
- /* translators: %s: Menu slug. */
950
- $this->output['errors'][] = sprintf( esc_html__( 'Menu item skipped due to invalid menu slug: %s', 'wpr-addons' ), $menu_slug );
951
-
952
- return;
953
- } else {
954
- $menu_id = is_array( $menu_id ) ? $menu_id['term_id'] : $menu_id;
955
- }
956
-
957
- $post_meta_key_value = [];
958
- foreach ( $item['postmeta'] as $meta ) {
959
- $post_meta_key_value[ $meta['key'] ] = $meta['value'];
960
- }
961
-
962
- $_menu_item_object_id = $post_meta_key_value['_menu_item_object_id'];
963
- if ( 'taxonomy' === $post_meta_key_value['_menu_item_type'] && isset( $this->processed_terms[ intval( $_menu_item_object_id ) ] ) ) {
964
- $_menu_item_object_id = $this->processed_terms[ intval( $_menu_item_object_id ) ];
965
- } elseif ( 'post_type' === $post_meta_key_value['_menu_item_type'] && isset( $this->processed_posts[ intval( $_menu_item_object_id ) ] ) ) {
966
- $_menu_item_object_id = $this->processed_posts[ intval( $_menu_item_object_id ) ];
967
- } elseif ( 'custom' !== $post_meta_key_value['_menu_item_type'] ) {
968
- // Associated object is missing or not imported yet, we'll retry later.
969
- $this->missing_menu_items[] = $item;
970
-
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 ) {
978
- $this->menu_item_orphans[ intval( $item['post_id'] ) ] = (int) $_menu_item_menu_item_parent;
979
- $_menu_item_menu_item_parent = 0;
980
- }
981
-
982
- // wp_update_nav_menu_item expects CSS classes as a space separated string
983
- $_menu_item_classes = maybe_unserialize( $post_meta_key_value['_menu_item_classes'] );
984
- if ( is_array( $_menu_item_classes ) ) {
985
- $_menu_item_classes = implode( ' ', $_menu_item_classes );
986
- }
987
-
988
- $args = [
989
- 'menu-item-object-id' => $_menu_item_object_id,
990
- 'menu-item-object' => $post_meta_key_value['_menu_item_object'],
991
- 'menu-item-parent-id' => $_menu_item_menu_item_parent,
992
- 'menu-item-position' => intval( $item['menu_order'] ),
993
- 'menu-item-type' => $post_meta_key_value['_menu_item_type'],
994
- 'menu-item-title' => $item['post_title'],
995
- 'menu-item-url' => $post_meta_key_value['_menu_item_url'],
996
- 'menu-item-description' => $item['post_content'],
997
- 'menu-item-attr-title' => $item['post_excerpt'],
998
- 'menu-item-target' => $post_meta_key_value['_menu_item_target'],
999
- 'menu-item-classes' => $_menu_item_classes,
1000
- 'menu-item-xfn' => $post_meta_key_value['_menu_item_xfn'],
1001
- 'menu-item-status' => $item['status'],
1002
- ];
1003
-
1004
- $id = wp_update_nav_menu_item( $menu_id, 0, $args );
1005
- if ( $id && ! is_wp_error( $id ) ) {
1006
- $this->processed_menu_items[ intval( $item['post_id'] ) ] = (int) $id;
1007
- }
1008
- }
1009
-
1010
- /**
1011
- * If fetching attachments is enabled then attempt to create a new attachment
1012
- *
1013
- * @param array $post Attachment post details from WXR
1014
- * @param string $url URL to fetch attachment from
1015
- *
1016
- * @return int|WP_Error Post ID on success, WP_Error otherwise
1017
- */
1018
- private function process_attachment( $post, $url ) {
1019
-
1020
- if ( ! $this->fetch_attachments ) {
1021
- return new WP_Error( 'attachment_processing_error', esc_html__( 'Fetching attachments is not enabled', 'wpr-addons' ) );
1022
- }
1023
-
1024
- // if the URL is absolute, but does not contain address, then upload it assuming base_site_url.
1025
- if ( preg_match( '|^/[\w\W]+$|', $url ) ) {
1026
- $url = rtrim( $this->base_url, '/' ) . $url;
1027
- }
1028
-
1029
- $upload = $this->fetch_remote_file( $url, $post );
1030
- if ( is_wp_error( $upload ) ) {
1031
- return $upload;
1032
- }
1033
-
1034
- $info = wp_check_filetype( $upload['file'] );
1035
- if ( $info ) {
1036
- $post['post_mime_type'] = $info['type'];
1037
- } else {
1038
- return new WP_Error( 'attachment_processing_error', esc_html__( 'Invalid file type', 'wpr-addons' ) );
1039
- }
1040
-
1041
- $post['guid'] = $upload['url'];
1042
-
1043
- // As per wp-admin/includes/upload.php.
1044
- $post_id = wp_insert_attachment( $post, $upload['file'] );
1045
- wp_update_attachment_metadata( $post_id, wp_generate_attachment_metadata( $post_id, $upload['file'] ) );
1046
-
1047
- // Remap resized image URLs, works by stripping the extension and remapping the URL stub.
1048
- if ( preg_match( '!^image/!', $info['type'] ) ) {
1049
- $parts = pathinfo( $url );
1050
- $name = basename( $parts['basename'], ".{$parts['extension']}" ); // PATHINFO_FILENAME in PHP 5.2
1051
-
1052
- $parts_new = pathinfo( $upload['url'] );
1053
- $name_new = basename( $parts_new['basename'], ".{$parts_new['extension']}" );
1054
-
1055
- $this->url_remap[ $parts['dirname'] . '/' . $name ] = $parts_new['dirname'] . '/' . $name_new;
1056
- }
1057
-
1058
- return $post_id;
1059
- }
1060
-
1061
- /**
1062
- * Attempt to download a remote file attachment
1063
- *
1064
- * @param string $url URL of item to fetch
1065
- * @param array $post Attachment details
1066
- *
1067
- * @return array|WP_Error Local file location details on success, WP_Error otherwise
1068
- */
1069
- private function fetch_remote_file( $url, $post ) {
1070
- // Extract the file name from the URL.
1071
- $file_name = basename( parse_url( $url, PHP_URL_PATH ) );
1072
-
1073
- if ( ! $file_name ) {
1074
- $file_name = md5( $url );
1075
- }
1076
-
1077
- $tmp_file_name = wp_tempnam( $file_name );
1078
- if ( ! $tmp_file_name ) {
1079
- return new WP_Error( 'import_no_file', esc_html__( 'Could not create temporary file.', 'wpr-addons' ) );
1080
- }
1081
-
1082
- // Fetch the remote URL and write it to the placeholder file.
1083
- $remote_response = wp_safe_remote_get( $url, [
1084
- 'timeout' => 300,
1085
- 'stream' => true,
1086
- 'filename' => $tmp_file_name,
1087
- 'headers' => [
1088
- 'Accept-Encoding' => 'identity',
1089
- ],
1090
- ] );
1091
-
1092
- if ( is_wp_error( $remote_response ) ) {
1093
- @unlink( $tmp_file_name );
1094
-
1095
- return new WP_Error( 'import_file_error', sprintf( /* translators: 1: WordPress error message, 2: WordPress error code. */ esc_html__( 'Request failed due to an error: %1$s (%2$s)', 'wpr-addons' ), esc_html( $remote_response->get_error_message() ), esc_html( $remote_response->get_error_code() ) ) );
1096
- }
1097
-
1098
- $remote_response_code = (int) wp_remote_retrieve_response_code( $remote_response );
1099
-
1100
- // Make sure the fetch was successful.
1101
- if ( 200 !== $remote_response_code ) {
1102
- @unlink( $tmp_file_name );
1103
-
1104
- return new WP_Error( 'import_file_error', sprintf( /* translators: 1: HTTP error message, 2: HTTP error code. */ esc_html__( 'Remote server returned the following unexpected result: %1$s (%2$s)', 'wpr-addons' ), get_status_header_desc( $remote_response_code ), esc_html( $remote_response_code ) ) );
1105
- }
1106
-
1107
- $headers = wp_remote_retrieve_headers( $remote_response );
1108
-
1109
- // Request failed.
1110
- if ( ! $headers ) {
1111
- @unlink( $tmp_file_name );
1112
-
1113
- return new WP_Error( 'import_file_error', esc_html__( 'Remote server did not respond', 'wpr-addons' ) );
1114
- }
1115
-
1116
- $filesize = (int) filesize( $tmp_file_name );
1117
-
1118
- if ( 0 === $filesize ) {
1119
- @unlink( $tmp_file_name );
1120
-
1121
- return new WP_Error( 'import_file_error', esc_html__( 'Zero size file downloaded', 'wpr-addons' ) );
1122
- }
1123
-
1124
- if ( ! isset( $headers['content-encoding'] ) && isset( $headers['content-length'] ) && $filesize !== (int) $headers['content-length'] ) {
1125
- @unlink( $tmp_file_name );
1126
-
1127
- return new WP_Error( 'import_file_error', esc_html__( 'Downloaded file has incorrect size', 'wpr-addons' ) );
1128
- }
1129
-
1130
- $max_size = (int) apply_filters( 'import_attachment_size_limit', self::DEFAULT_IMPORT_ATTACHMENT_SIZE_LIMIT );
1131
- if ( ! empty( $max_size ) && $filesize > $max_size ) {
1132
- @unlink( $tmp_file_name );
1133
-
1134
- /* translators: %s: Max file size. */
1135
- return new WP_Error( 'import_file_error', sprintf( esc_html__( 'Remote file is too large, limit is %s', 'wpr-addons' ), size_format( $max_size ) ) );
1136
- }
1137
-
1138
- // Override file name with Content-Disposition header value.
1139
- if ( ! empty( $headers['content-disposition'] ) ) {
1140
- $file_name_from_disposition = self::get_filename_from_disposition( (array) $headers['content-disposition'] );
1141
- if ( $file_name_from_disposition ) {
1142
- $file_name = $file_name_from_disposition;
1143
- }
1144
- }
1145
-
1146
- // Set file extension if missing.
1147
- $file_ext = pathinfo( $file_name, PATHINFO_EXTENSION );
1148
- if ( ! $file_ext && ! empty( $headers['content-type'] ) ) {
1149
- $extension = self::get_file_extension_by_mime_type( $headers['content-type'] );
1150
- if ( $extension ) {
1151
- $file_name = "{$file_name}.{$extension}";
1152
- }
1153
- }
1154
-
1155
- // Handle the upload like _wp_handle_upload() does.
1156
- $wp_filetype = wp_check_filetype_and_ext( $tmp_file_name, $file_name );
1157
- $ext = empty( $wp_filetype['ext'] ) ? '' : $wp_filetype['ext'];
1158
- $type = empty( $wp_filetype['type'] ) ? '' : $wp_filetype['type'];
1159
- $proper_filename = empty( $wp_filetype['proper_filename'] ) ? '' : $wp_filetype['proper_filename'];
1160
-
1161
- // Check to see if wp_check_filetype_and_ext() determined the filename was incorrect.
1162
- if ( $proper_filename ) {
1163
- $file_name = $proper_filename;
1164
- }
1165
-
1166
- if ( ( ! $type || ! $ext ) && ! current_user_can( 'unfiltered_upload' ) ) {
1167
- return new WP_Error( 'import_file_error', esc_html__( 'Sorry, this file type is not permitted for security reasons.', 'wpr-addons' ) );
1168
- }
1169
-
1170
- $uploads = wp_upload_dir( $post['upload_date'] );
1171
- if ( ! ( $uploads && false === $uploads['error'] ) ) {
1172
- return new WP_Error( 'upload_dir_error', $uploads['error'] );
1173
- }
1174
-
1175
- // Move the file to the uploads dir.
1176
- $file_name = wp_unique_filename( $uploads['path'], $file_name );
1177
- $new_file = $uploads['path'] . "/$file_name";
1178
- $move_new_file = copy( $tmp_file_name, $new_file );
1179
-
1180
- if ( ! $move_new_file ) {
1181
- @unlink( $tmp_file_name );
1182
-
1183
- return new WP_Error( 'import_file_error', esc_html__( 'The uploaded file could not be moved', 'wpr-addons' ) );
1184
- }
1185
-
1186
- // Set correct file permissions.
1187
- $stat = stat( dirname( $new_file ) );
1188
- $perms = $stat['mode'] & 0000666;
1189
- chmod( $new_file, $perms );
1190
-
1191
- $upload = [
1192
- 'file' => $new_file,
1193
- 'url' => $uploads['url'] . "/$file_name",
1194
- 'type' => $wp_filetype['type'],
1195
- 'error' => false,
1196
- ];
1197
-
1198
- // Keep track of the old and new urls so we can substitute them later.
1199
- $this->url_remap[ $url ] = $upload['url'];
1200
- $this->url_remap[ $post['guid'] ] = $upload['url']; // r13735, really needed?
1201
- // Keep track of the destination if the remote url is redirected somewhere else.
1202
- if ( isset( $headers['x-final-location'] ) && $headers['x-final-location'] !== $url ) {
1203
- $this->url_remap[ $headers['x-final-location'] ] = $upload['url'];
1204
- }
1205
-
1206
- return $upload;
1207
- }
1208
-
1209
- /**
1210
- * Attempt to associate posts and menu items with previously missing parents
1211
- *
1212
- * An imported post's parent may not have been imported when it was first created
1213
- * so try again. Similarly for child menu items and menu items which were missing
1214
- * the object (e.g. post) they represent in the menu
1215
- */
1216
- private function backfill_parents() {
1217
- global $wpdb;
1218
-
1219
- // Find parents for post orphans.
1220
- foreach ( $this->post_orphans as $child_id => $parent_id ) {
1221
- $local_child_id = false;
1222
- $local_parent_id = false;
1223
-
1224
- if ( isset( $this->processed_posts[ $child_id ] ) ) {
1225
- $local_child_id = $this->processed_posts[ $child_id ];
1226
- }
1227
- if ( isset( $this->processed_posts[ $parent_id ] ) ) {
1228
- $local_parent_id = $this->processed_posts[ $parent_id ];
1229
- }
1230
-
1231
- if ( $local_child_id && $local_parent_id ) {
1232
- $wpdb->update( $wpdb->posts, [ 'post_parent' => $local_parent_id ], [ 'ID' => $local_child_id ], '%d', '%d' );
1233
- clean_post_cache( $local_child_id );
1234
- }
1235
- }
1236
-
1237
- // All other posts/terms are imported, retry menu items with missing associated object.
1238
- $missing_menu_items = $this->missing_menu_items;
1239
- foreach ( $missing_menu_items as $item ) {
1240
- $this->process_menu_item( $item );
1241
- }
1242
-
1243
- // Find parents for menu item orphans.
1244
- foreach ( $this->menu_item_orphans as $child_id => $parent_id ) {
1245
- $local_child_id = 0;
1246
- $local_parent_id = 0;
1247
- if ( isset( $this->processed_menu_items[ $child_id ] ) ) {
1248
- $local_child_id = $this->processed_menu_items[ $child_id ];
1249
- }
1250
- if ( isset( $this->processed_menu_items[ $parent_id ] ) ) {
1251
- $local_parent_id = $this->processed_menu_items[ $parent_id ];
1252
- }
1253
-
1254
- if ( $local_child_id && $local_parent_id ) {
1255
- update_post_meta( $local_child_id, '_menu_item_menu_item_parent', (int) $local_parent_id );
1256
- }
1257
- }
1258
- }
1259
-
1260
- /**
1261
- * Use stored mapping information to update old attachment URLs
1262
- */
1263
- private function backfill_attachment_urls() {
1264
- global $wpdb;
1265
- // Make sure we do the longest urls first, in case one is a substring of another.
1266
- uksort( $this->url_remap, function ( $a, $b ) {
1267
- // Return the difference in length between two strings.
1268
- return strlen( $b ) - strlen( $a );
1269
- } );
1270
-
1271
- foreach ( $this->url_remap as $from_url => $to_url ) {
1272
- // Remap urls in post_content.
1273
- $wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->posts} SET post_content = REPLACE(post_content, %s, %s)", $from_url, $to_url ) );
1274
- // Remap enclosure urls.
1275
- $wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->postmeta} SET meta_value = REPLACE(meta_value, %s, %s) WHERE meta_key='enclosure'", $from_url, $to_url ) );
1276
- }
1277
- }
1278
-
1279
- /**
1280
- * Update _thumbnail_id meta to new, imported attachment IDs
1281
- */
1282
- private function remap_featured_images() {
1283
- // Cycle through posts that have a featured image.
1284
- foreach ( $this->featured_images as $post_id => $value ) {
1285
- if ( isset( $this->processed_posts[ $value ] ) ) {
1286
- $new_id = $this->processed_posts[ $value ];
1287
- // Only update if there's a difference.
1288
- if ( $new_id !== $value ) {
1289
- update_post_meta( $post_id, '_thumbnail_id', $new_id );
1290
- }
1291
- }
1292
- }
1293
- }
1294
-
1295
- /**
1296
- * Parse a WXR file
1297
- *
1298
- * @param string $file Path to WXR file for parsing
1299
- *
1300
- * @return array Information gathered from the WXR file
1301
- */
1302
- private function parse( $file ) {
1303
- $parser = new WXR_Parser();
1304
-
1305
- return $parser->parse( $file );
1306
- }
1307
-
1308
- /**
1309
- * Decide if the given meta key maps to information we will want to import
1310
- *
1311
- * @param string $key The meta key to check
1312
- *
1313
- * @return string|bool The key if we do want to import, false if not
1314
- */
1315
- private function is_valid_meta_key( $key ) {
1316
- // Skip attachment metadata since we'll regenerate it from scratch.
1317
- // Skip _edit_lock as not relevant for import
1318
- if ( in_array( $key, [ '_wp_attached_file', '_wp_attachment_metadata', '_edit_lock' ] ) ) {
1319
- return false;
1320
- }
1321
-
1322
- return $key;
1323
- }
1324
-
1325
- public function run() {
1326
- $this->import( $this->requested_file_path );
1327
-
1328
- return $this->output;
1329
- }
1330
-
1331
- public function __construct( $file, $args = [] ) {
1332
- $this->requested_file_path = $file;
1333
- $this->args = $args;
1334
-
1335
- if ( ! empty( $this->args['fetch_attachments'] ) ) {
1336
- $this->fetch_attachments = true;
1337
- }
1338
- }
1339
- }
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ if ( ! defined( 'WP_LOAD_IMPORTERS' ) )
8
+ return;
9
+
10
+ /** Display verbose errors */
11
+ define( 'IMPORT_DEBUG', false );
12
+
13
+ // Load Importer API
14
+ require_once ABSPATH . 'wp-admin/includes/import.php';
15
+
16
+ if ( ! class_exists( 'WP_Importer' ) ) {
17
+ $class_wp_importer = ABSPATH . 'wp-admin/includes/class-wp-importer.php';
18
+ if ( file_exists( $class_wp_importer ) )
19
+ require $class_wp_importer;
20
+ }
21
+
22
+ // include WXR file parsers
23
+ require WPR_ADDONS_PATH .'admin/import/class-parsers.php';
24
+
25
+ class WP_Import extends WP_Importer {
26
+ const DEFAULT_BUMP_REQUEST_TIMEOUT = 60;
27
+ const DEFAULT_ALLOW_CREATE_USERS = true;
28
+ const DEFAULT_IMPORT_ATTACHMENT_SIZE_LIMIT = 0; // 0 = unlimited.
29
+
30
+ /**
31
+ * @var string
32
+ */
33
+ private $requested_file_path;
34
+
35
+ /**
36
+ * @var array
37
+ */
38
+ private $args;
39
+
40
+ /**
41
+ * @var array
42
+ */
43
+ private $output = [
44
+ 'status' => 'failed',
45
+ 'errors' => [],
46
+ ];
47
+
48
+ /*
49
+ * WXR attachment ID
50
+ */
51
+ private $id;
52
+
53
+ // Information to import from WXR file.
54
+ private $version;
55
+ private $authors = [];
56
+ private $posts = [];
57
+ private $terms = [];
58
+ private $categories = [];
59
+ private $tags = [];
60
+ private $base_url = '';
61
+ private $page_on_front;
62
+
63
+ // Mappings from old information to new.
64
+ private $processed_authors = [];
65
+ private $author_mapping = [];
66
+ private $processed_terms = [];
67
+ private $processed_posts = [];
68
+ private $post_orphans = [];
69
+ private $processed_menu_items = [];
70
+ private $menu_item_orphans = [];
71
+ private $missing_menu_items = [];
72
+
73
+ private $fetch_attachments = false;
74
+ private $url_remap = [];
75
+ private $featured_images = [];
76
+
77
+ /**
78
+ * Parses filename from a Content-Disposition header value.
79
+ *
80
+ * As per RFC6266:
81
+ *
82
+ * content-disposition = "Content-Disposition" ":"
83
+ * disposition-type *( ";" disposition-parm )
84
+ *
85
+ * disposition-type = "inline" | "attachment" | disp-ext-type
86
+ * ; case-insensitive
87
+ * disp-ext-type = token
88
+ *
89
+ * disposition-parm = filename-parm | disp-ext-parm
90
+ *
91
+ * filename-parm = "filename" "=" value
92
+ * | "filename*" "=" ext-value
93
+ *
94
+ * disp-ext-parm = token "=" value
95
+ * | ext-token "=" ext-value
96
+ * ext-token = <the characters in token, followed by "*">
97
+ *
98
+ * @param string[] $disposition_header List of Content-Disposition header values.
99
+ *
100
+ * @return string|null Filename if available, or null if not found.
101
+ * @link http://tools.ietf.org/html/rfc2388
102
+ * @link http://tools.ietf.org/html/rfc6266
103
+ *
104
+ * @see WP_REST_Attachments_Controller::get_filename_from_disposition()
105
+ *
106
+ */
107
+ protected static function get_filename_from_disposition( $disposition_header ) {
108
+ // Get the filename.
109
+ $filename = null;
110
+
111
+ foreach ( $disposition_header as $value ) {
112
+ $value = trim( $value );
113
+
114
+ if ( strpos( $value, ';' ) === false ) {
115
+ continue;
116
+ }
117
+
118
+ list( $type, $attr_parts ) = explode( ';', $value, 2 );
119
+
120
+ $attr_parts = explode( ';', $attr_parts );
121
+ $attributes = [];
122
+
123
+ foreach ( $attr_parts as $part ) {
124
+ if ( strpos( $part, '=' ) === false ) {
125
+ continue;
126
+ }
127
+
128
+ list( $key, $value ) = explode( '=', $part, 2 );
129
+
130
+ $attributes[ trim( $key ) ] = trim( $value );
131
+ }
132
+
133
+ if ( empty( $attributes['filename'] ) ) {
134
+ continue;
135
+ }
136
+
137
+ $filename = trim( $attributes['filename'] );
138
+
139
+ // Unquote quoted filename, but after trimming.
140
+ if ( substr( $filename, 0, 1 ) === '"' && substr( $filename, -1, 1 ) === '"' ) {
141
+ $filename = substr( $filename, 1, -1 );
142
+ }
143
+ }
144
+
145
+ return $filename;
146
+ }
147
+
148
+ /**
149
+ * Retrieves file extension by mime type.
150
+ *
151
+ * @param string $mime_type Mime type to search extension for.
152
+ *
153
+ * @return string|null File extension if available, or null if not found.
154
+ */
155
+ protected static function get_file_extension_by_mime_type( $mime_type ) {
156
+ static $map = null;
157
+
158
+ if ( is_array( $map ) ) {
159
+ return isset( $map[ $mime_type ] ) ? $map[ $mime_type ] : null;
160
+ }
161
+
162
+ $mime_types = wp_get_mime_types();
163
+ $map = array_flip( $mime_types );
164
+
165
+ // Some types have multiple extensions, use only the first one.
166
+ foreach ( $map as $type => $extensions ) {
167
+ $map[ $type ] = strtok( $extensions, '|' );
168
+ }
169
+
170
+ return isset( $map[ $mime_type ] ) ? $map[ $mime_type ] : null;
171
+ }
172
+
173
+ /**
174
+ * The main controller for the actual import stage.
175
+ *
176
+ * @param string $file Path to the WXR file for importing
177
+ */
178
+ private function import( $file ) {
179
+ add_filter( 'import_post_meta_key', function ( $key ) {
180
+ return $this->is_valid_meta_key( $key );
181
+ } );
182
+ add_filter( 'http_request_timeout', function () {
183
+ return self::DEFAULT_BUMP_REQUEST_TIMEOUT;
184
+ } );
185
+
186
+ if ( ! $this->import_start( $file ) ) {
187
+ return;
188
+ }
189
+
190
+ $this->set_author_mapping();
191
+
192
+ wp_suspend_cache_invalidation( true );
193
+ $imported_summary = [
194
+ 'categories' => $this->process_categories(),
195
+ 'tags' => $this->process_tags(),
196
+ 'terms' => $this->process_terms(),
197
+ 'posts' => $this->process_posts(),
198
+ ];
199
+ wp_suspend_cache_invalidation( false );
200
+
201
+ // Update incorrect/missing information in the DB.
202
+ $this->backfill_parents();
203
+ $this->backfill_attachment_urls();
204
+ $this->remap_featured_images();
205
+
206
+ $this->import_end();
207
+
208
+ $is_some_succeed = false;
209
+ foreach ( $imported_summary as $item ) {
210
+ if ( $item > 0 ) {
211
+ $is_some_succeed = true;
212
+ break;
213
+ }
214
+ }
215
+
216
+ if ( $is_some_succeed ) {
217
+ $this->output['status'] = 'success';
218
+ $this->output['summary'] = $imported_summary;
219
+ }
220
+ }
221
+
222
+ /**
223
+ * Parses the WXR file and prepares us for the task of processing parsed data.
224
+ *
225
+ * @param string $file Path to the WXR file for importing
226
+ */
227
+ private function import_start( $file ) {
228
+ if ( ! is_file( $file ) ) {
229
+ $this->output['errors'] = [ esc_html__( 'The file does not exist, please try again.', 'wpr-addons' ) ];
230
+
231
+ return false;
232
+ }
233
+
234
+ $import_data = $this->parse( $file );
235
+
236
+ if ( is_wp_error( $import_data ) ) {
237
+ $this->output['errors'] = [ $import_data->get_error_message() ];
238
+
239
+ return false;
240
+ }
241
+
242
+ $this->version = $import_data['version'];
243
+ $this->set_authors_from_import( $import_data );
244
+ $this->posts = $import_data['posts'];
245
+ $this->terms = $import_data['terms'];
246
+ $this->categories = $import_data['categories'];
247
+ $this->tags = $import_data['tags'];
248
+ $this->base_url = esc_url( $import_data['base_url'] );
249
+ $this->page_on_front = $import_data['page_on_front'];
250
+
251
+ wp_defer_term_counting( true );
252
+ wp_defer_comment_counting( true );
253
+
254
+ do_action( 'import_start' );
255
+
256
+ return true;
257
+ }
258
+
259
+ /**
260
+ * Performs post-import cleanup of files and the cache
261
+ */
262
+ private function import_end() {
263
+ wp_import_cleanup( $this->id );
264
+
265
+ wp_cache_flush();
266
+
267
+ foreach ( get_taxonomies() as $tax ) {
268
+ delete_option( "{$tax}_children" );
269
+ _get_term_hierarchy( $tax );
270
+ }
271
+
272
+ wp_defer_term_counting( false );
273
+ wp_defer_comment_counting( false );
274
+
275
+ do_action( 'import_end' );
276
+ }
277
+
278
+ /**
279
+ * Retrieve authors from parsed WXR data and set it to `$this->>authors`.
280
+ *
281
+ * Uses the provided author information from WXR 1.1 files
282
+ * or extracts info from each post for WXR 1.0 files
283
+ *
284
+ * @param array $import_data Data returned by a WXR parser
285
+ */
286
+ private function set_authors_from_import( $import_data ) {
287
+ if ( ! empty( $import_data['authors'] ) ) {
288
+ $this->authors = $import_data['authors'];
289
+ // No author information, grab it from the posts.
290
+ } else {
291
+ foreach ( $import_data['posts'] as $post ) {
292
+ $login = sanitize_user( $post['post_author'], true );
293
+
294
+ if ( empty( $login ) ) {
295
+ /* translators: %s: Post author. */
296
+ $this->output['errors'][] = sprintf( esc_html__( 'Failed to import author %s. Their posts will be attributed to the current user.', 'wpr-addons' ), $post['post_author'] );
297
+ continue;
298
+ }
299
+
300
+ if ( ! isset( $this->authors[ $login ] ) ) {
301
+ $this->authors[ $login ] = [
302
+ 'author_login' => $login,
303
+ 'author_display_name' => $post['post_author'],
304
+ ];
305
+ }
306
+ }
307
+ }
308
+ }
309
+
310
+ /**
311
+ * Map old author logins to local user IDs based on decisions made
312
+ * in import options form. Can map to an existing user, create a new user
313
+ * or falls back to the current user in case of error with either of the previous
314
+ */
315
+ private function set_author_mapping() {
316
+ if ( ! isset( $this->args['imported_authors'] ) ) {
317
+ return;
318
+ }
319
+
320
+ $create_users = apply_filters( 'import_allow_create_users', self::DEFAULT_ALLOW_CREATE_USERS );
321
+
322
+ foreach ( (array) $this->args['imported_authors'] as $i => $old_login ) {
323
+ // Multisite adds strtolower to sanitize_user. Need to sanitize here to stop breakage in process_posts.
324
+ $santized_old_login = sanitize_user( $old_login, true );
325
+ $old_id = isset( $this->authors[ $old_login ]['author_id'] ) ? intval( $this->authors[ $old_login ]['author_id'] ) : false;
326
+
327
+ if ( ! empty( $this->args['user_map'][ $i ] ) ) {
328
+ $user = get_userdata( intval( $this->args['user_map'][ $i ] ) );
329
+ if ( isset( $user->ID ) ) {
330
+ if ( $old_id ) {
331
+ $this->processed_authors[ $old_id ] = $user->ID;
332
+ }
333
+ $this->author_mapping[ $santized_old_login ] = $user->ID;
334
+ }
335
+ } elseif ( $create_users ) {
336
+ $user_id = 0;
337
+ if ( ! empty( $this->args['user_new'][ $i ] ) ) {
338
+ $user_id = wp_create_user( $this->args['user_new'][ $i ], wp_generate_password() );
339
+ } elseif ( '1.0' !== $this->version ) {
340
+ $user_data = [
341
+ 'user_login' => $old_login,
342
+ 'user_pass' => wp_generate_password(),
343
+ 'user_email' => isset( $this->authors[ $old_login ]['author_email'] ) ? $this->authors[ $old_login ]['author_email'] : '',
344
+ 'display_name' => $this->authors[ $old_login ]['author_display_name'],
345
+ 'first_name' => isset( $this->authors[ $old_login ]['author_first_name'] ) ? $this->authors[ $old_login ]['author_first_name'] : '',
346
+ 'last_name' => isset( $this->authors[ $old_login ]['author_last_name'] ) ? $this->authors[ $old_login ]['author_last_name'] : '',
347
+ ];
348
+ $user_id = wp_insert_user( $user_data );
349
+ }
350
+
351
+ if ( ! is_wp_error( $user_id ) ) {
352
+ if ( $old_id ) {
353
+ $this->processed_authors[ $old_id ] = $user_id;
354
+ }
355
+ $this->author_mapping[ $santized_old_login ] = $user_id;
356
+ } else {
357
+ /* translators: %s: Author display name. */
358
+ $error = sprintf( esc_html__( 'Failed to create new user for %s. Their posts will be attributed to the current user.', 'wpr-addons' ), $this->authors[ $old_login ]['author_display_name'] );
359
+
360
+ if ( defined( 'IMPORT_DEBUG' ) && IMPORT_DEBUG ) {
361
+ $error .= PHP_EOL . $user_id->get_error_message();
362
+ }
363
+
364
+ $this->output['errors'][] = $error;
365
+ }
366
+ }
367
+
368
+ // Failsafe: if the user_id was invalid, default to the current user.
369
+ if ( ! isset( $this->author_mapping[ $santized_old_login ] ) ) {
370
+ if ( $old_id ) {
371
+ $this->processed_authors[ $old_id ] = (int) get_current_user_id();
372
+ }
373
+ $this->author_mapping[ $santized_old_login ] = (int) get_current_user_id();
374
+ }
375
+ }
376
+ }
377
+
378
+ /**
379
+ * Create new categories based on import information
380
+ *
381
+ * Doesn't create a new category if its slug already exists
382
+ *
383
+ * @return int number of imported categories.
384
+ */
385
+ private function process_categories() {
386
+ $result = 0;
387
+
388
+ $this->categories = apply_filters( 'wp_import_categories', $this->categories );
389
+
390
+ if ( empty( $this->categories ) ) {
391
+ return $result;
392
+ }
393
+
394
+ foreach ( $this->categories as $cat ) {
395
+ // if the category already exists leave it alone
396
+ $term_id = term_exists( $cat['category_nicename'], 'category' );
397
+ if ( $term_id ) {
398
+ if ( is_array( $term_id ) ) {
399
+ $term_id = $term_id['term_id'];
400
+ }
401
+ if ( isset( $cat['term_id'] ) ) {
402
+ $this->processed_terms[ intval( $cat['term_id'] ) ] = (int) $term_id;
403
+ }
404
+ continue;
405
+ }
406
+
407
+ $parent = empty( $cat['category_parent'] ) ? 0 : category_exists( $cat['category_parent'] );
408
+ $description = isset( $cat['category_description'] ) ? $cat['category_description'] : '';
409
+
410
+ $data = [
411
+ 'category_nicename' => $cat['category_nicename'],
412
+ 'category_parent' => $parent,
413
+ 'cat_name' => wp_slash( $cat['cat_name'] ),
414
+ 'category_description' => wp_slash( $description ),
415
+ ];
416
+
417
+ $id = wp_insert_category( $data );
418
+ if ( ! is_wp_error( $id ) && $id > 0 ) {
419
+ if ( isset( $cat['term_id'] ) ) {
420
+ $this->processed_terms[ intval( $cat['term_id'] ) ] = $id;
421
+ }
422
+ $result++;
423
+ } else {
424
+ /* translators: %s: Category name. */
425
+ $error = sprintf( esc_html__( 'Failed to import category %s', 'wpr-addons' ), $cat['category_nicename'] );
426
+
427
+ if ( defined( 'IMPORT_DEBUG' ) && IMPORT_DEBUG ) {
428
+ $error .= PHP_EOL . $id->get_error_message();
429
+ }
430
+
431
+ $this->output['errors'][] = $error;
432
+ continue;
433
+ }
434
+
435
+ $this->process_termmeta( $cat, $id );
436
+ }
437
+
438
+ unset( $this->categories );
439
+
440
+ return $result;
441
+ }
442
+
443
+ /**
444
+ * Create new post tags based on import information
445
+ *
446
+ * Doesn't create a tag if its slug already exists
447
+ *
448
+ * @return int number of imported tags.
449
+ */
450
+ private function process_tags() {
451
+ $result = 0;
452
+
453
+ $this->tags = apply_filters( 'wp_import_tags', $this->tags );
454
+
455
+ if ( empty( $this->tags ) ) {
456
+ return $result;
457
+ }
458
+
459
+ foreach ( $this->tags as $tag ) {
460
+ // if the tag already exists leave it alone
461
+ $term_id = term_exists( $tag['tag_slug'], 'post_tag' );
462
+ if ( $term_id ) {
463
+ if ( is_array( $term_id ) ) {
464
+ $term_id = $term_id['term_id'];
465
+ }
466
+ if ( isset( $tag['term_id'] ) ) {
467
+ $this->processed_terms[ intval( $tag['term_id'] ) ] = (int) $term_id;
468
+ }
469
+ continue;
470
+ }
471
+
472
+ $description = isset( $tag['tag_description'] ) ? $tag['tag_description'] : '';
473
+ $args = [
474
+ 'slug' => $tag['tag_slug'],
475
+ 'description' => wp_slash( $description ),
476
+ ];
477
+
478
+ $id = wp_insert_term( wp_slash( $tag['tag_name'] ), 'post_tag', $args );
479
+ if ( ! is_wp_error( $id ) ) {
480
+ if ( isset( $tag['term_id'] ) ) {
481
+ $this->processed_terms[ intval( $tag['term_id'] ) ] = $id['term_id'];
482
+ }
483
+ $result++;
484
+ } else {
485
+ /* translators: %s: Tag name. */
486
+ $error = sprintf( esc_html__( 'Failed to import post tag %s', 'wpr-addons' ), $tag['tag_name'] );
487
+
488
+ if ( defined( 'IMPORT_DEBUG' ) && IMPORT_DEBUG ) {
489
+ $error .= PHP_EOL . $id->get_error_message();
490
+ }
491
+
492
+ $this->output['errors'][] = $error;
493
+ continue;
494
+ }
495
+
496
+ $this->process_termmeta( $tag, $id['term_id'] );
497
+ }
498
+
499
+ unset( $this->tags );
500
+
501
+ return $result;
502
+ }
503
+
504
+ /**
505
+ * Create new terms based on import information
506
+ *
507
+ * Doesn't create a term its slug already exists
508
+ *
509
+ * @return int number of imported terms.
510
+ */
511
+ private function process_terms() {
512
+ $result = 0;
513
+
514
+ $this->terms = apply_filters( 'wp_import_terms', $this->terms );
515
+
516
+ if ( empty( $this->terms ) ) {
517
+ return $result;
518
+ }
519
+
520
+ foreach ( $this->terms as $term ) {
521
+ // if the term already exists in the correct taxonomy leave it alone
522
+ $term_id = term_exists( $term['slug'], $term['term_taxonomy'] );
523
+ if ( $term_id ) {
524
+ if ( is_array( $term_id ) ) {
525
+ $term_id = $term_id['term_id'];
526
+ }
527
+ if ( isset( $term['term_id'] ) ) {
528
+ $this->processed_terms[ intval( $term['term_id'] ) ] = (int) $term_id;
529
+ }
530
+ continue;
531
+ }
532
+
533
+ if ( empty( $term['term_parent'] ) ) {
534
+ $parent = 0;
535
+ } else {
536
+ $parent = term_exists( $term['term_parent'], $term['term_taxonomy'] );
537
+ if ( is_array( $parent ) ) {
538
+ $parent = $parent['term_id'];
539
+ }
540
+ }
541
+
542
+ $description = isset( $term['term_description'] ) ? $term['term_description'] : '';
543
+ $args = [
544
+ 'slug' => $term['slug'],
545
+ 'description' => wp_slash( $description ),
546
+ 'parent' => (int) $parent,
547
+ ];
548
+
549
+ $id = wp_insert_term( wp_slash( $term['term_name'] ), $term['term_taxonomy'], $args );
550
+ if ( ! is_wp_error( $id ) ) {
551
+ if ( isset( $term['term_id'] ) ) {
552
+ $this->processed_terms[ intval( $term['term_id'] ) ] = $id['term_id'];
553
+ }
554
+ $result++;
555
+ } else {
556
+ /* translators: 1: Term taxonomy, 2: Term name. */
557
+ $error = sprintf( esc_html__( 'Failed to import %1$s %2$s', 'wpr-addons' ), $term['term_taxonomy'], $term['term_name'] );
558
+
559
+ if ( defined( 'IMPORT_DEBUG' ) && IMPORT_DEBUG ) {
560
+ $error .= PHP_EOL . $id->get_error_message();
561
+ }
562
+
563
+ $this->output['errors'][] = $error;
564
+ continue;
565
+ }
566
+
567
+ $this->process_termmeta( $term, $id['term_id'] );
568
+ }
569
+
570
+ unset( $this->terms );
571
+
572
+ return $result;
573
+ }
574
+
575
+ /**
576
+ * Add metadata to imported term.
577
+ *
578
+ * @param array $term Term data from WXR import.
579
+ * @param int $term_id ID of the newly created term.
580
+ */
581
+ private function process_termmeta( $term, $term_id ) {
582
+ if ( ! function_exists( 'add_term_meta' ) ) {
583
+ return;
584
+ }
585
+
586
+ if ( ! isset( $term['termmeta'] ) ) {
587
+ $term['termmeta'] = [];
588
+ }
589
+
590
+ /**
591
+ * Filters the metadata attached to an imported term.
592
+ *
593
+ * @param array $termmeta Array of term meta.
594
+ * @param int $term_id ID of the newly created term.
595
+ * @param array $term Term data from the WXR import.
596
+ */
597
+ $term['termmeta'] = apply_filters( 'wp_import_term_meta', $term['termmeta'], $term_id, $term );
598
+
599
+ if ( empty( $term['termmeta'] ) ) {
600
+ return;
601
+ }
602
+
603
+ foreach ( $term['termmeta'] as $meta ) {
604
+ /**
605
+ * Filters the meta key for an imported piece of term meta.
606
+ *
607
+ * @param string $meta_key Meta key.
608
+ * @param int $term_id ID of the newly created term.
609
+ * @param array $term Term data from the WXR import.
610
+ */
611
+ $key = apply_filters( 'import_term_meta_key', $meta['key'], $term_id, $term );
612
+ if ( ! $key ) {
613
+ continue;
614
+ }
615
+
616
+ // Export gets meta straight from the DB so could have a serialized string
617
+ $value = maybe_unserialize( $meta['value'] );
618
+
619
+ add_term_meta( $term_id, wp_slash( $key ), wp_slash_strings_only( $value ) );
620
+
621
+ /**
622
+ * Fires after term meta is imported.
623
+ *
624
+ * @param int $term_id ID of the newly created term.
625
+ * @param string $key Meta key.
626
+ * @param mixed $value Meta value.
627
+ */
628
+ do_action( 'import_term_meta', $term_id, $key, $value );
629
+ }
630
+ }
631
+
632
+ /**
633
+ * Create new posts based on import information
634
+ *
635
+ * Posts marked as having a parent which doesn't exist will become top level items.
636
+ * Doesn't create a new post if: the post type doesn't exist, the given post ID
637
+ * is already noted as imported or a post with the same title and date already exists.
638
+ * Note that new/updated terms, comments and meta are imported for the last of the above.
639
+ *
640
+ * @return array the ids of succeed/failed imported posts.
641
+ */
642
+ private function process_posts() {
643
+ $result = [
644
+ 'succeed' => [],
645
+ 'failed' => [],
646
+ ];
647
+
648
+ $this->posts = apply_filters( 'wp_import_posts', $this->posts );
649
+
650
+ foreach ( $this->posts as $post ) {
651
+ $post = apply_filters( 'wp_import_post_data_raw', $post );
652
+
653
+ if ( ! post_type_exists( $post['post_type'] ) ) {
654
+ /* translators: 1: Post title, 2: Post type. */
655
+ $this->output['errors'][] = sprintf( esc_html__( 'Failed to import %1$s: Invalid post type %2$s', 'wpr-addons' ), $post['post_title'], $post['post_type'] );
656
+ do_action( 'wp_import_post_exists', $post );
657
+ continue;
658
+ }
659
+
660
+ if ( isset( $this->processed_posts[ $post['post_id'] ] ) && ! empty( $post['post_id'] ) ) {
661
+ continue;
662
+ }
663
+
664
+ if ( 'auto-draft' === $post['status'] ) {
665
+ continue;
666
+ }
667
+
668
+ if ( 'nav_menu_item' === $post['post_type'] ) {
669
+ $this->process_menu_item( $post );
670
+ continue;
671
+ }
672
+
673
+ $post_type_object = get_post_type_object( $post['post_type'] );
674
+
675
+ $post_parent = (int) $post['post_parent'];
676
+ if ( $post_parent ) {
677
+ // if we already know the parent, map it to the new local ID.
678
+ if ( isset( $this->processed_posts[ $post_parent ] ) ) {
679
+ $post_parent = $this->processed_posts[ $post_parent ];
680
+ // otherwise record the parent for later.
681
+ } else {
682
+ $this->post_orphans[ intval( $post['post_id'] ) ] = $post_parent;
683
+ $post_parent = 0;
684
+ }
685
+ }
686
+
687
+ // Map the post author.
688
+ $author = sanitize_user( $post['post_author'], true );
689
+ if ( isset( $this->author_mapping[ $author ] ) ) {
690
+ $author = $this->author_mapping[ $author ];
691
+ } else {
692
+ $author = (int) get_current_user_id();
693
+ }
694
+
695
+ $postdata = [
696
+ 'import_id' => $post['post_id'],
697
+ 'post_author' => $author,
698
+ 'post_content' => $post['post_content'],
699
+ 'post_excerpt' => $post['post_excerpt'],
700
+ 'post_title' => $post['post_title'],
701
+ 'post_status' => $post['status'],
702
+ 'post_name' => $post['post_name'],
703
+ 'comment_status' => $post['comment_status'],
704
+ 'ping_status' => $post['ping_status'],
705
+ 'guid' => $post['guid'],
706
+ 'post_parent' => $post_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'];
714
+ $postdata = apply_filters( 'wp_import_post_data_processed', $postdata, $post );
715
+
716
+ $postdata = wp_slash( $postdata );
717
+
718
+ if ( 'attachment' === $postdata['post_type'] ) {
719
+ $remote_url = ! empty( $post['attachment_url'] ) ? $post['attachment_url'] : $post['guid'];
720
+
721
+ // try to use _wp_attached file for upload folder placement to ensure the same location as the export site
722
+ // e.g. location is 2003/05/image.jpg but the attachment post_date is 2010/09, see media_handle_upload()
723
+ $postdata['upload_date'] = $post['post_date'];
724
+ if ( isset( $post['postmeta'] ) ) {
725
+ foreach ( $post['postmeta'] as $meta ) {
726
+ if ( '_wp_attached_file' === $meta['key'] ) {
727
+ if ( preg_match( '%^[0-9]{4}/[0-9]{2}%', $meta['value'], $matches ) ) {
728
+ $postdata['upload_date'] = $matches[0];
729
+ }
730
+ break;
731
+ }
732
+ }
733
+ }
734
+
735
+ $post_id = $this->process_attachment( $postdata, $remote_url );
736
+ $comment_post_id = $post_id;
737
+ } else {
738
+ $post_id = wp_insert_post( $postdata, true );
739
+ $comment_post_id = $post_id;
740
+ do_action( 'wp_import_insert_post', $post_id, $original_post_id, $postdata, $post );
741
+ }
742
+
743
+ if ( is_wp_error( $post_id ) ) {
744
+ /* translators: 1: Post type singular label, 2: Post title. */
745
+ $error = sprintf( __( 'Failed to import %1$s %2$s', 'wpr-addons' ), $post_type_object->labels->singular_name, $post['post_title'] );
746
+
747
+ if ( defined( 'IMPORT_DEBUG' ) && IMPORT_DEBUG ) {
748
+ $error .= PHP_EOL . $post_id->get_error_message();
749
+ }
750
+
751
+ $result['failed'][] = $original_post_id;
752
+
753
+ $this->output['errors'][] = $error;
754
+
755
+ continue;
756
+ }
757
+
758
+ $result['succeed'][ $original_post_id ] = $post_id;
759
+
760
+ if ( 1 === $post['is_sticky'] ) {
761
+ stick_post( $post_id );
762
+ }
763
+
764
+ if ( $this->page_on_front === $original_post_id ) {
765
+ update_option( 'page_on_front', $post_id );
766
+ }
767
+
768
+ // Map pre-import ID to local ID.
769
+ $this->processed_posts[ intval( $post['post_id'] ) ] = (int) $post_id;
770
+
771
+ if ( ! isset( $post['terms'] ) ) {
772
+ $post['terms'] = [];
773
+ }
774
+
775
+ $post['terms'] = apply_filters( 'wp_import_post_terms', $post['terms'], $post_id, $post );
776
+
777
+ // add categories, tags and other terms
778
+ if ( ! empty( $post['terms'] ) ) {
779
+ $terms_to_set = [];
780
+ foreach ( $post['terms'] as $term ) {
781
+ // back compat with WXR 1.0 map 'tag' to 'post_tag'
782
+ $taxonomy = ( 'tag' === $term['domain'] ) ? 'post_tag' : $term['domain'];
783
+ $term_exists = term_exists( $term['slug'], $taxonomy );
784
+ $term_id = is_array( $term_exists ) ? $term_exists['term_id'] : $term_exists;
785
+ if ( ! $term_id ) {
786
+ $t = wp_insert_term( $term['name'], $taxonomy, [ 'slug' => $term['slug'] ] );
787
+ if ( ! is_wp_error( $t ) ) {
788
+ $term_id = $t['term_id'];
789
+ do_action( 'wp_import_insert_term', $t, $term, $post_id, $post );
790
+ } else {
791
+ /* translators: 1: Taxonomy name, 2: Term name. */
792
+ $error = sprintf( esc_html__( 'Failed to import %1$s %2$s', 'wpr-addons' ), $taxonomy, $term['name'] );
793
+
794
+ if ( defined( 'IMPORT_DEBUG' ) && IMPORT_DEBUG ) {
795
+ $error .= PHP_EOL . $t->get_error_message();
796
+ }
797
+
798
+ $this->output['errors'][] = $error;
799
+
800
+ do_action( 'wp_import_insert_term_failed', $t, $term, $post_id, $post );
801
+ continue;
802
+ }
803
+ }
804
+ $terms_to_set[ $taxonomy ][] = intval( $term_id );
805
+ }
806
+
807
+ foreach ( $terms_to_set as $tax => $ids ) {
808
+ $tt_ids = wp_set_post_terms( $post_id, $ids, $tax );
809
+ do_action( 'wp_import_set_post_terms', $tt_ids, $ids, $tax, $post_id, $post );
810
+ }
811
+ unset( $post['terms'], $terms_to_set );
812
+ }
813
+
814
+ if ( ! isset( $post['comments'] ) ) {
815
+ $post['comments'] = [];
816
+ }
817
+
818
+ $post['comments'] = apply_filters( 'wp_import_post_comments', $post['comments'], $post_id, $post );
819
+
820
+ // Add/update comments.
821
+ if ( ! empty( $post['comments'] ) ) {
822
+ $num_comments = 0;
823
+ $inserted_comments = [];
824
+ foreach ( $post['comments'] as $comment ) {
825
+ $comment_id = $comment['comment_id'];
826
+ $newcomments[ $comment_id ]['comment_post_ID'] = $comment_post_id;
827
+ $newcomments[ $comment_id ]['comment_author'] = $comment['comment_author'];
828
+ $newcomments[ $comment_id ]['comment_author_email'] = $comment['comment_author_email'];
829
+ $newcomments[ $comment_id ]['comment_author_IP'] = $comment['comment_author_IP'];
830
+ $newcomments[ $comment_id ]['comment_author_url'] = $comment['comment_author_url'];
831
+ $newcomments[ $comment_id ]['comment_date'] = $comment['comment_date'];
832
+ $newcomments[ $comment_id ]['comment_date_gmt'] = $comment['comment_date_gmt'];
833
+ $newcomments[ $comment_id ]['comment_content'] = $comment['comment_content'];
834
+ $newcomments[ $comment_id ]['comment_approved'] = $comment['comment_approved'];
835
+ $newcomments[ $comment_id ]['comment_type'] = $comment['comment_type'];
836
+ $newcomments[ $comment_id ]['comment_parent'] = $comment['comment_parent'];
837
+ $newcomments[ $comment_id ]['commentmeta'] = isset( $comment['commentmeta'] ) ? $comment['commentmeta'] : [];
838
+ if ( isset( $this->processed_authors[ $comment['comment_user_id'] ] ) ) {
839
+ $newcomments[ $comment_id ]['user_id'] = $this->processed_authors[ $comment['comment_user_id'] ];
840
+ }
841
+ }
842
+
843
+ ksort( $newcomments );
844
+
845
+ foreach ( $newcomments as $key => $comment ) {
846
+ if ( isset( $inserted_comments[ $comment['comment_parent'] ] ) ) {
847
+ $comment['comment_parent'] = $inserted_comments[ $comment['comment_parent'] ];
848
+ }
849
+
850
+ $comment_data = wp_slash( $comment );
851
+ unset( $comment_data['commentmeta'] ); // Handled separately, wp_insert_comment() also expects `comment_meta`.
852
+ $comment_data = wp_filter_comment( $comment_data );
853
+
854
+ $inserted_comments[ $key ] = wp_insert_comment( $comment_data );
855
+
856
+ do_action( 'wp_import_insert_comment', $inserted_comments[ $key ], $comment, $comment_post_id, $post );
857
+
858
+ foreach ( $comment['commentmeta'] as $meta ) {
859
+ $value = maybe_unserialize( $meta['value'] );
860
+
861
+ add_comment_meta( $inserted_comments[ $key ], wp_slash( $meta['key'] ), wp_slash_strings_only( $value ) );
862
+ }
863
+
864
+ $num_comments++;
865
+ }
866
+ unset( $newcomments, $inserted_comments, $post['comments'] );
867
+ }
868
+
869
+ if ( ! isset( $post['postmeta'] ) ) {
870
+ $post['postmeta'] = [];
871
+ }
872
+
873
+ $post['postmeta'] = apply_filters( 'wp_import_post_meta', $post['postmeta'], $post_id, $post );
874
+
875
+ // Add/update post meta.
876
+ if ( ! empty( $post['postmeta'] ) ) {
877
+ foreach ( $post['postmeta'] as $meta ) {
878
+ $key = apply_filters( 'import_post_meta_key', $meta['key'], $post_id, $post );
879
+ $value = false;
880
+
881
+ if ( '_edit_last' === $key ) {
882
+ if ( isset( $this->processed_authors[ intval( $meta['value'] ) ] ) ) {
883
+ $value = $this->processed_authors[ intval( $meta['value'] ) ];
884
+ } else {
885
+ $key = false;
886
+ }
887
+ }
888
+
889
+ if ( $key ) {
890
+ // Export gets meta straight from the DB so could have a serialized string.
891
+ if ( ! $value ) {
892
+ $value = maybe_unserialize( $meta['value'] );
893
+ }
894
+
895
+ add_post_meta( $post_id, wp_slash( $key ), wp_slash_strings_only( $value ) );
896
+
897
+ do_action( 'import_post_meta', $post_id, $key, $value );
898
+
899
+ // If the post has a featured image, take note of this in case of remap.
900
+ if ( '_thumbnail_id' === $key ) {
901
+ $this->featured_images[ $post_id ] = (int) $value;
902
+ }
903
+ }
904
+ }
905
+ }
906
+ }
907
+
908
+ unset( $this->posts );
909
+
910
+ return $result;
911
+ }
912
+
913
+ /**
914
+ * Attempt to create a new menu item from import data
915
+ *
916
+ * Fails for draft, orphaned menu items and those without an associated nav_menu
917
+ * or an invalid nav_menu term. If the post type or term object which the menu item
918
+ * represents doesn't exist then the menu item will not be imported (waits until the
919
+ * end of the import to retry again before discarding).
920
+ *
921
+ * @param array $item Menu item details from WXR file
922
+ */
923
+ private function process_menu_item( $item ) {
924
+ // Skip draft, orphaned menu items.
925
+ if ( 'draft' === $item['status'] ) {
926
+ return;
927
+ }
928
+
929
+ $menu_slug = false;
930
+ if ( isset( $item['terms'] ) ) {
931
+ // Loop through terms, assume first nav_menu term is correct menu.
932
+ foreach ( $item['terms'] as $term ) {
933
+ if ( 'nav_menu' === $term['domain'] ) {
934
+ $menu_slug = $term['slug'];
935
+ break;
936
+ }
937
+ }
938
+ }
939
+
940
+ // No nav_menu term associated with this menu item.
941
+ if ( ! $menu_slug ) {
942
+ $this->output['errors'][] = esc_html__( 'Menu item skipped due to missing menu slug', 'wpr-addons' );
943
+
944
+ return;
945
+ }
946
+
947
+ $menu_id = term_exists( $menu_slug, 'nav_menu' );
948
+ if ( ! $menu_id ) {
949
+ /* translators: %s: Menu slug. */
950
+ $this->output['errors'][] = sprintf( esc_html__( 'Menu item skipped due to invalid menu slug: %s', 'wpr-addons' ), $menu_slug );
951
+
952
+ return;
953
+ } else {
954
+ $menu_id = is_array( $menu_id ) ? $menu_id['term_id'] : $menu_id;
955
+ }
956
+
957
+ $post_meta_key_value = [];
958
+ foreach ( $item['postmeta'] as $meta ) {
959
+ $post_meta_key_value[ $meta['key'] ] = $meta['value'];
960
+ }
961
+
962
+ $_menu_item_object_id = $post_meta_key_value['_menu_item_object_id'];
963
+ if ( 'taxonomy' === $post_meta_key_value['_menu_item_type'] && isset( $this->processed_terms[ intval( $_menu_item_object_id ) ] ) ) {
964
+ $_menu_item_object_id = $this->processed_terms[ intval( $_menu_item_object_id ) ];
965
+ } elseif ( 'post_type' === $post_meta_key_value['_menu_item_type'] && isset( $this->processed_posts[ intval( $_menu_item_object_id ) ] ) ) {
966
+ $_menu_item_object_id = $this->processed_posts[ intval( $_menu_item_object_id ) ];
967
+ } elseif ( 'custom' !== $post_meta_key_value['_menu_item_type'] ) {
968
+ // Associated object is missing or not imported yet, we'll retry later.
969
+ $this->missing_menu_items[] = $item;
970
+
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 ) {
978
+ $this->menu_item_orphans[ intval( $item['post_id'] ) ] = (int) $_menu_item_menu_item_parent;
979
+ $_menu_item_menu_item_parent = 0;
980
+ }
981
+
982
+ // wp_update_nav_menu_item expects CSS classes as a space separated string
983
+ $_menu_item_classes = maybe_unserialize( $post_meta_key_value['_menu_item_classes'] );
984
+ if ( is_array( $_menu_item_classes ) ) {
985
+ $_menu_item_classes = implode( ' ', $_menu_item_classes );
986
+ }
987
+
988
+ $args = [
989
+ 'menu-item-object-id' => $_menu_item_object_id,
990
+ 'menu-item-object' => $post_meta_key_value['_menu_item_object'],
991
+ 'menu-item-parent-id' => $_menu_item_menu_item_parent,
992
+ 'menu-item-position' => intval( $item['menu_order'] ),
993
+ 'menu-item-type' => $post_meta_key_value['_menu_item_type'],
994
+ 'menu-item-title' => $item['post_title'],
995
+ 'menu-item-url' => $post_meta_key_value['_menu_item_url'],
996
+ 'menu-item-description' => $item['post_content'],
997
+ 'menu-item-attr-title' => $item['post_excerpt'],
998
+ 'menu-item-target' => $post_meta_key_value['_menu_item_target'],
999
+ 'menu-item-classes' => $_menu_item_classes,
1000
+ 'menu-item-xfn' => $post_meta_key_value['_menu_item_xfn'],
1001
+ 'menu-item-status' => $item['status'],
1002
+ ];
1003
+
1004
+ $id = wp_update_nav_menu_item( $menu_id, 0, $args );
1005
+ if ( $id && ! is_wp_error( $id ) ) {
1006
+ $this->processed_menu_items[ intval( $item['post_id'] ) ] = (int) $id;
1007
+ }
1008
+ }
1009
+
1010
+ /**
1011
+ * If fetching attachments is enabled then attempt to create a new attachment
1012
+ *
1013
+ * @param array $post Attachment post details from WXR
1014
+ * @param string $url URL to fetch attachment from
1015
+ *
1016
+ * @return int|WP_Error Post ID on success, WP_Error otherwise
1017
+ */
1018
+ private function process_attachment( $post, $url ) {
1019
+
1020
+ if ( ! $this->fetch_attachments ) {
1021
+ return new WP_Error( 'attachment_processing_error', esc_html__( 'Fetching attachments is not enabled', 'wpr-addons' ) );
1022
+ }
1023
+
1024
+ // if the URL is absolute, but does not contain address, then upload it assuming base_site_url.
1025
+ if ( preg_match( '|^/[\w\W]+$|', $url ) ) {
1026
+ $url = rtrim( $this->base_url, '/' ) . $url;
1027
+ }
1028
+
1029
+ $upload = $this->fetch_remote_file( $url, $post );
1030
+ if ( is_wp_error( $upload ) ) {
1031
+ return $upload;
1032
+ }
1033
+
1034
+ $info = wp_check_filetype( $upload['file'] );
1035
+ if ( $info ) {
1036
+ $post['post_mime_type'] = $info['type'];
1037
+ } else {
1038
+ return new WP_Error( 'attachment_processing_error', esc_html__( 'Invalid file type', 'wpr-addons' ) );
1039
+ }
1040
+
1041
+ $post['guid'] = $upload['url'];
1042
+
1043
+ // As per wp-admin/includes/upload.php.
1044
+ $post_id = wp_insert_attachment( $post, $upload['file'] );
1045
+ wp_update_attachment_metadata( $post_id, wp_generate_attachment_metadata( $post_id, $upload['file'] ) );
1046
+
1047
+ // Remap resized image URLs, works by stripping the extension and remapping the URL stub.
1048
+ if ( preg_match( '!^image/!', $info['type'] ) ) {
1049
+ $parts = pathinfo( $url );
1050
+ $name = basename( $parts['basename'], ".{$parts['extension']}" ); // PATHINFO_FILENAME in PHP 5.2
1051
+
1052
+ $parts_new = pathinfo( $upload['url'] );
1053
+ $name_new = basename( $parts_new['basename'], ".{$parts_new['extension']}" );
1054
+
1055
+ $this->url_remap[ $parts['dirname'] . '/' . $name ] = $parts_new['dirname'] . '/' . $name_new;
1056
+ }
1057
+
1058
+ return $post_id;
1059
+ }
1060
+
1061
+ /**
1062
+ * Attempt to download a remote file attachment
1063
+ *
1064
+ * @param string $url URL of item to fetch
1065
+ * @param array $post Attachment details
1066
+ *
1067
+ * @return array|WP_Error Local file location details on success, WP_Error otherwise
1068
+ */
1069
+ private function fetch_remote_file( $url, $post ) {
1070
+ // Extract the file name from the URL.
1071
+ $file_name = basename( parse_url( $url, PHP_URL_PATH ) );
1072
+
1073
+ if ( ! $file_name ) {
1074
+ $file_name = md5( $url );
1075
+ }
1076
+
1077
+ $tmp_file_name = wp_tempnam( $file_name );
1078
+ if ( ! $tmp_file_name ) {
1079
+ return new WP_Error( 'import_no_file', esc_html__( 'Could not create temporary file.', 'wpr-addons' ) );
1080
+ }
1081
+
1082
+ // Fetch the remote URL and write it to the placeholder file.
1083
+ $remote_response = wp_safe_remote_get( $url, [
1084
+ 'timeout' => 300,
1085
+ 'stream' => true,
1086
+ 'filename' => $tmp_file_name,
1087
+ 'headers' => [
1088
+ 'Accept-Encoding' => 'identity',
1089
+ ],
1090
+ ] );
1091
+
1092
+ if ( is_wp_error( $remote_response ) ) {
1093
+ @unlink( $tmp_file_name );
1094
+
1095
+ return new WP_Error( 'import_file_error', sprintf( /* translators: 1: WordPress error message, 2: WordPress error code. */ esc_html__( 'Request failed due to an error: %1$s (%2$s)', 'wpr-addons' ), esc_html( $remote_response->get_error_message() ), esc_html( $remote_response->get_error_code() ) ) );
1096
+ }
1097
+
1098
+ $remote_response_code = (int) wp_remote_retrieve_response_code( $remote_response );
1099
+
1100
+ // Make sure the fetch was successful.
1101
+ if ( 200 !== $remote_response_code ) {
1102
+ @unlink( $tmp_file_name );
1103
+
1104
+ return new WP_Error( 'import_file_error', sprintf( /* translators: 1: HTTP error message, 2: HTTP error code. */ esc_html__( 'Remote server returned the following unexpected result: %1$s (%2$s)', 'wpr-addons' ), get_status_header_desc( $remote_response_code ), esc_html( $remote_response_code ) ) );
1105
+ }
1106
+
1107
+ $headers = wp_remote_retrieve_headers( $remote_response );
1108
+
1109
+ // Request failed.
1110
+ if ( ! $headers ) {
1111
+ @unlink( $tmp_file_name );
1112
+
1113
+ return new WP_Error( 'import_file_error', esc_html__( 'Remote server did not respond', 'wpr-addons' ) );
1114
+ }
1115
+
1116
+ $filesize = (int) filesize( $tmp_file_name );
1117
+
1118
+ if ( 0 === $filesize ) {
1119
+ @unlink( $tmp_file_name );
1120
+
1121
+ return new WP_Error( 'import_file_error', esc_html__( 'Zero size file downloaded', 'wpr-addons' ) );
1122
+ }
1123
+
1124
+ if ( ! isset( $headers['content-encoding'] ) && isset( $headers['content-length'] ) && $filesize !== (int) $headers['content-length'] ) {
1125
+ @unlink( $tmp_file_name );
1126
+
1127
+ return new WP_Error( 'import_file_error', esc_html__( 'Downloaded file has incorrect size', 'wpr-addons' ) );
1128
+ }
1129
+
1130
+ $max_size = (int) apply_filters( 'import_attachment_size_limit', self::DEFAULT_IMPORT_ATTACHMENT_SIZE_LIMIT );
1131
+ if ( ! empty( $max_size ) && $filesize > $max_size ) {
1132
+ @unlink( $tmp_file_name );
1133
+
1134
+ /* translators: %s: Max file size. */
1135
+ return new WP_Error( 'import_file_error', sprintf( esc_html__( 'Remote file is too large, limit is %s', 'wpr-addons' ), size_format( $max_size ) ) );
1136
+ }
1137
+
1138
+ // Override file name with Content-Disposition header value.
1139
+ if ( ! empty( $headers['content-disposition'] ) ) {
1140
+ $file_name_from_disposition = self::get_filename_from_disposition( (array) $headers['content-disposition'] );
1141
+ if ( $file_name_from_disposition ) {
1142
+ $file_name = $file_name_from_disposition;
1143
+ }
1144
+ }
1145
+
1146
+ // Set file extension if missing.
1147
+ $file_ext = pathinfo( $file_name, PATHINFO_EXTENSION );
1148
+ if ( ! $file_ext && ! empty( $headers['content-type'] ) ) {
1149
+ $extension = self::get_file_extension_by_mime_type( $headers['content-type'] );
1150
+ if ( $extension ) {
1151
+ $file_name = "{$file_name}.{$extension}";
1152
+ }
1153
+ }
1154
+
1155
+ // Handle the upload like _wp_handle_upload() does.
1156
+ $wp_filetype = wp_check_filetype_and_ext( $tmp_file_name, $file_name );
1157
+ $ext = empty( $wp_filetype['ext'] ) ? '' : $wp_filetype['ext'];
1158
+ $type = empty( $wp_filetype['type'] ) ? '' : $wp_filetype['type'];
1159
+ $proper_filename = empty( $wp_filetype['proper_filename'] ) ? '' : $wp_filetype['proper_filename'];
1160
+
1161
+ // Check to see if wp_check_filetype_and_ext() determined the filename was incorrect.
1162
+ if ( $proper_filename ) {
1163
+ $file_name = $proper_filename;
1164
+ }
1165
+
1166
+ if ( ( ! $type || ! $ext ) && ! current_user_can( 'unfiltered_upload' ) ) {
1167
+ return new WP_Error( 'import_file_error', esc_html__( 'Sorry, this file type is not permitted for security reasons.', 'wpr-addons' ) );
1168
+ }
1169
+
1170
+ $uploads = wp_upload_dir( $post['upload_date'] );
1171
+ if ( ! ( $uploads && false === $uploads['error'] ) ) {
1172
+ return new WP_Error( 'upload_dir_error', $uploads['error'] );
1173
+ }
1174
+
1175
+ // Move the file to the uploads dir.
1176
+ $file_name = wp_unique_filename( $uploads['path'], $file_name );
1177
+ $new_file = $uploads['path'] . "/$file_name";
1178
+ $move_new_file = copy( $tmp_file_name, $new_file );
1179
+
1180
+ if ( ! $move_new_file ) {
1181
+ @unlink( $tmp_file_name );
1182
+
1183
+ return new WP_Error( 'import_file_error', esc_html__( 'The uploaded file could not be moved', 'wpr-addons' ) );
1184
+ }
1185
+
1186
+ // Set correct file permissions.
1187
+ $stat = stat( dirname( $new_file ) );
1188
+ $perms = $stat['mode'] & 0000666;
1189
+ chmod( $new_file, $perms );
1190
+
1191
+ $upload = [
1192
+ 'file' => $new_file,
1193
+ 'url' => $uploads['url'] . "/$file_name",
1194
+ 'type' => $wp_filetype['type'],
1195
+ 'error' => false,
1196
+ ];
1197
+
1198
+ // Keep track of the old and new urls so we can substitute them later.
1199
+ $this->url_remap[ $url ] = $upload['url'];
1200
+ $this->url_remap[ $post['guid'] ] = $upload['url']; // r13735, really needed?
1201
+ // Keep track of the destination if the remote url is redirected somewhere else.
1202
+ if ( isset( $headers['x-final-location'] ) && $headers['x-final-location'] !== $url ) {
1203
+ $this->url_remap[ $headers['x-final-location'] ] = $upload['url'];
1204
+ }
1205
+
1206
+ return $upload;
1207
+ }
1208
+
1209
+ /**
1210
+ * Attempt to associate posts and menu items with previously missing parents
1211
+ *
1212
+ * An imported post's parent may not have been imported when it was first created
1213
+ * so try again. Similarly for child menu items and menu items which were missing
1214
+ * the object (e.g. post) they represent in the menu
1215
+ */
1216
+ private function backfill_parents() {
1217
+ global $wpdb;
1218
+
1219
+ // Find parents for post orphans.
1220
+ foreach ( $this->post_orphans as $child_id => $parent_id ) {
1221
+ $local_child_id = false;
1222
+ $local_parent_id = false;
1223
+
1224
+ if ( isset( $this->processed_posts[ $child_id ] ) ) {
1225
+ $local_child_id = $this->processed_posts[ $child_id ];
1226
+ }
1227
+ if ( isset( $this->processed_posts[ $parent_id ] ) ) {
1228
+ $local_parent_id = $this->processed_posts[ $parent_id ];
1229
+ }
1230
+
1231
+ if ( $local_child_id && $local_parent_id ) {
1232
+ $wpdb->update( $wpdb->posts, [ 'post_parent' => $local_parent_id ], [ 'ID' => $local_child_id ], '%d', '%d' );
1233
+ clean_post_cache( $local_child_id );
1234
+ }
1235
+ }
1236
+
1237
+ // All other posts/terms are imported, retry menu items with missing associated object.
1238
+ $missing_menu_items = $this->missing_menu_items;
1239
+ foreach ( $missing_menu_items as $item ) {
1240
+ $this->process_menu_item( $item );
1241
+ }
1242
+
1243
+ // Find parents for menu item orphans.
1244
+ foreach ( $this->menu_item_orphans as $child_id => $parent_id ) {
1245
+ $local_child_id = 0;
1246
+ $local_parent_id = 0;
1247
+ if ( isset( $this->processed_menu_items[ $child_id ] ) ) {
1248
+ $local_child_id = $this->processed_menu_items[ $child_id ];
1249
+ }
1250
+ if ( isset( $this->processed_menu_items[ $parent_id ] ) ) {
1251
+ $local_parent_id = $this->processed_menu_items[ $parent_id ];
1252
+ }
1253
+
1254
+ if ( $local_child_id && $local_parent_id ) {
1255
+ update_post_meta( $local_child_id, '_menu_item_menu_item_parent', (int) $local_parent_id );
1256
+ }
1257
+ }
1258
+ }
1259
+
1260
+ /**
1261
+ * Use stored mapping information to update old attachment URLs
1262
+ */
1263
+ private function backfill_attachment_urls() {
1264
+ global $wpdb;
1265
+ // Make sure we do the longest urls first, in case one is a substring of another.
1266
+ uksort( $this->url_remap, function ( $a, $b ) {
1267
+ // Return the difference in length between two strings.
1268
+ return strlen( $b ) - strlen( $a );
1269
+ } );
1270
+
1271
+ foreach ( $this->url_remap as $from_url => $to_url ) {
1272
+ // Remap urls in post_content.
1273
+ $wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->posts} SET post_content = REPLACE(post_content, %s, %s)", $from_url, $to_url ) );
1274
+ // Remap enclosure urls.
1275
+ $wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->postmeta} SET meta_value = REPLACE(meta_value, %s, %s) WHERE meta_key='enclosure'", $from_url, $to_url ) );
1276
+ }
1277
+ }
1278
+
1279
+ /**
1280
+ * Update _thumbnail_id meta to new, imported attachment IDs
1281
+ */
1282
+ private function remap_featured_images() {
1283
+ // Cycle through posts that have a featured image.
1284
+ foreach ( $this->featured_images as $post_id => $value ) {
1285
+ if ( isset( $this->processed_posts[ $value ] ) ) {
1286
+ $new_id = $this->processed_posts[ $value ];
1287
+ // Only update if there's a difference.
1288
+ if ( $new_id !== $value ) {
1289
+ update_post_meta( $post_id, '_thumbnail_id', $new_id );
1290
+ }
1291
+ }
1292
+ }
1293
+ }
1294
+
1295
+ /**
1296
+ * Parse a WXR file
1297
+ *
1298
+ * @param string $file Path to WXR file for parsing
1299
+ *
1300
+ * @return array Information gathered from the WXR file
1301
+ */
1302
+ private function parse( $file ) {
1303
+ $parser = new WXR_Parser();
1304
+
1305
+ return $parser->parse( $file );
1306
+ }
1307
+
1308
+ /**
1309
+ * Decide if the given meta key maps to information we will want to import
1310
+ *
1311
+ * @param string $key The meta key to check
1312
+ *
1313
+ * @return string|bool The key if we do want to import, false if not
1314
+ */
1315
+ private function is_valid_meta_key( $key ) {
1316
+ // Skip attachment metadata since we'll regenerate it from scratch.
1317
+ // Skip _edit_lock as not relevant for import
1318
+ if ( in_array( $key, [ '_wp_attached_file', '_wp_attachment_metadata', '_edit_lock' ] ) ) {
1319
+ return false;
1320
+ }
1321
+
1322
+ return $key;
1323
+ }
1324
+
1325
+ public function run() {
1326
+ $this->import( $this->requested_file_path );
1327
+
1328
+ return $this->output;
1329
+ }
1330
+
1331
+ public function __construct( $file, $args = [] ) {
1332
+ $this->requested_file_path = $file;
1333
+ $this->args = $args;
1334
+
1335
+ if ( ! empty( $this->args['fetch_attachments'] ) ) {
1336
+ $this->fetch_attachments = true;
1337
+ }
1338
+ }
1339
+ }
admin/includes/wpr-conditions-manager.php CHANGED
@@ -1,207 +1,207 @@
1
- <?php
2
- namespace WprAddons\Admin\Includes;
3
-
4
- use WprAddons\Classes\Utilities;
5
-
6
- if ( ! defined( 'ABSPATH' ) ) {
7
- exit; // Exit if accessed directly.
8
- }
9
-
10
- /**
11
- * WPR_Conditions_Manager setup
12
- *
13
- * @since 1.0
14
- */
15
- class WPR_Conditions_Manager {
16
-
17
- /**
18
- ** Header & Footer Conditions
19
- */
20
- public static function header_footer_display_conditions( $conditions ) {
21
- $template = NULL;
22
-
23
- // Custom
24
- if ( wpr_fs()->can_use_premium_code() && defined('WPR_ADDONS_PRO_VERSION') ) {
25
- if ( !empty($conditions) ) {
26
-
27
- // Archive Pages (includes search)
28
- if ( !is_null( \WprAddonsPro\Classes\Pro_Modules::archive_templates_conditions( $conditions ) ) ) {
29
- $template = \WprAddonsPro\Classes\Pro_Modules::archive_templates_conditions( $conditions );
30
- }
31
-
32
- // Single Pages
33
- if ( !is_null( \WprAddonsPro\Classes\Pro_Modules::single_templates_conditions( $conditions ) ) ) {
34
- $template = \WprAddonsPro\Classes\Pro_Modules::single_templates_conditions( $conditions );
35
- }
36
-
37
- }
38
- } else {
39
- $template = Utilities::get_template_slug( $conditions, 'global' );
40
- }
41
-
42
- if ( \Elementor\Plugin::$instance->preview->is_preview_mode() ) {
43
- $template_type = Utilities::get_wpr_template_type(get_the_ID());
44
-
45
- if ( 'header' === $template_type || 'footer' ===$template_type ) {
46
- $template = NULL;
47
- }
48
- }
49
-
50
- return $template;
51
- }
52
-
53
- /**
54
- ** Canvas Content Conditions
55
- */
56
- public static function canvas_page_content_display_conditions() {
57
- $template = NULL;
58
-
59
- // Get Conditions
60
- if ( class_exists( 'WooCommerce' ) && is_woocommerce() ) {
61
- $archives = json_decode( get_option( 'wpr_product_archive_conditions' ), true );
62
- $singles = json_decode( get_option( 'wpr_product_single_conditions' ), true );
63
- } else {
64
- $archives = json_decode( get_option( 'wpr_archive_conditions' ), true );
65
- $singles = json_decode( get_option( 'wpr_single_conditions' ), true );
66
- }
67
-
68
- if ( empty($archives) && empty($singles) ) {
69
- return NULL;
70
- }
71
-
72
- // Custom
73
- if ( wpr_fs()->can_use_premium_code() && defined('WPR_ADDONS_PRO_VERSION') ) {
74
-
75
- // Archive Pages (includes search)
76
- if ( !is_null( \WprAddonsPro\Classes\Pro_Modules::archive_templates_conditions( $archives ) ) ) {
77
- $template = \WprAddonsPro\Classes\Pro_Modules::archive_templates_conditions( $archives );
78
- }
79
-
80
- // Single Pages
81
- if ( !is_null( \WprAddonsPro\Classes\Pro_Modules::single_templates_conditions( $singles ) ) ) {
82
- $template = \WprAddonsPro\Classes\Pro_Modules::single_templates_conditions( $singles );
83
- }
84
- } else {
85
- // Archive Pages (includes search)
86
- if ( !is_null( WPR_Conditions_Manager::archive_templates_conditions_free($archives) ) ) {
87
- $template = WPR_Conditions_Manager::archive_templates_conditions_free($archives);
88
- }
89
-
90
- // Single Pages
91
- if ( !is_null( WPR_Conditions_Manager::single_templates_conditions_free($singles) ) ) {
92
- $template = WPR_Conditions_Manager::single_templates_conditions_free($singles);
93
- }
94
- }
95
-
96
- return $template;
97
- }
98
-
99
-
100
- /**
101
- ** Archive Pages Templates Conditions Free
102
- */
103
- public static function archive_templates_conditions_free( $conditions ) {
104
- $term_id = '';
105
- $term_name = '';
106
- $queried_object = get_queried_object();
107
-
108
- // Get Terms
109
- if ( ! is_null( $queried_object ) ) {
110
- if ( isset( $queried_object->term_id ) && isset( $queried_object->taxonomy ) ) {
111
- $term_id = $queried_object->term_id;
112
- $term_name = $queried_object->taxonomy;
113
- }
114
- }
115
-
116
- // Reset
117
- $template = NULL;
118
-
119
- // Archive Pages (includes search)
120
- if ( is_archive() || is_search() ) {
121
- if ( ! is_search() ) {
122
- // Author
123
- if ( is_author() ) {
124
- $template = Utilities::get_template_slug( $conditions, 'archive/author' );
125
- // Date
126
- } elseif ( is_date() ) {
127
- $template = Utilities::get_template_slug( $conditions, 'archive/date' );
128
- // Category
129
- } elseif ( is_category() ) {
130
- $template = Utilities::get_template_slug( $conditions, 'archive/categories', $term_id );
131
- // Tag
132
- } elseif ( is_tag() ) {
133
- $template = Utilities::get_template_slug( $conditions, 'archive/tags', $term_id );
134
- // Products
135
- } elseif ( class_exists( 'WooCommerce' ) && is_woocommerce() ) {
136
- $template = Utilities::get_template_slug( $conditions, 'product_archive/products' );
137
- }
138
-
139
- // Search Page
140
- } else {
141
- $template = Utilities::get_template_slug( $conditions, 'archive/search' );
142
- }
143
-
144
- // Posts Page
145
- } elseif ( Utilities::is_blog_archive() ) {
146
- $template = Utilities::get_template_slug( $conditions, 'archive/posts' );
147
- }
148
-
149
- // Global - For All Archives
150
- if ( is_null($template) ) {
151
- $all_archives = Utilities::get_template_slug( $conditions, 'archive/all_archives' );
152
-
153
- if ( ! is_null($all_archives) ) {
154
- if ( class_exists( 'WooCommerce' ) && is_shop() ) {
155
- $template = null;
156
- } else {
157
- if ( is_archive() || is_search() || Utilities::is_blog_archive() ) {
158
- $template = $all_archives;
159
- }
160
- }
161
- }
162
- }
163
-
164
- return $template;
165
- }
166
-
167
- /**
168
- ** Single Pages Templates Conditions - Free
169
- */
170
- public static function single_templates_conditions_free( $conditions ) {
171
- global $post;
172
-
173
- // Get Posts
174
- $post_id = is_null($post) ? '' : $post->ID;
175
- $post_type = is_null($post) ? '' : $post->post_type;
176
-
177
- // Reset
178
- $template = NULL;
179
-
180
- // Single Pages
181
- if ( is_single() || is_front_page() || is_page() || is_404() ) {
182
-
183
- if ( is_single() ) {
184
- // Blog Posts
185
- if ( 'post' == $post_type ) {
186
- $template = Utilities::get_template_slug( $conditions, 'single/posts', $post_id );
187
- } elseif ( 'product' == $post_type ) {
188
- $template = Utilities::get_template_slug( $conditions, 'product_single/product', $post_id );
189
- }
190
- } else {
191
- // Front page
192
- if ( is_front_page() && ! Utilities::is_blog_archive() ) {//TODO: is it a good check? - is_blog_archive()
193
- $template = Utilities::get_template_slug( $conditions, 'single/front_page' );
194
- // Error 404 Page
195
- } elseif ( is_404() ) {
196
- $template = Utilities::get_template_slug( $conditions, 'single/page_404' );
197
- // Single Page
198
- } elseif ( is_page() ) {
199
- $template = Utilities::get_template_slug( $conditions, 'single/pages', $post_id );
200
- }
201
- }
202
-
203
- }
204
-
205
- return $template;
206
- }
207
  }
1
+ <?php
2
+ namespace WprAddons\Admin\Includes;
3
+
4
+ use WprAddons\Classes\Utilities;
5
+
6
+ if ( ! defined( 'ABSPATH' ) ) {
7
+ exit; // Exit if accessed directly.
8
+ }
9
+
10
+ /**
11
+ * WPR_Conditions_Manager setup
12
+ *
13
+ * @since 1.0
14
+ */
15
+ class WPR_Conditions_Manager {
16
+
17
+ /**
18
+ ** Header & Footer Conditions
19
+ */
20
+ public static function header_footer_display_conditions( $conditions ) {
21
+ $template = NULL;
22
+
23
+ // Custom
24
+ if ( wpr_fs()->can_use_premium_code() && defined('WPR_ADDONS_PRO_VERSION') ) {
25
+ if ( !empty($conditions) ) {
26
+
27
+ // Archive Pages (includes search)
28
+ if ( !is_null( \WprAddonsPro\Classes\Pro_Modules::archive_templates_conditions( $conditions ) ) ) {
29
+ $template = \WprAddonsPro\Classes\Pro_Modules::archive_templates_conditions( $conditions );
30
+ }
31
+
32
+ // Single Pages
33
+ if ( !is_null( \WprAddonsPro\Classes\Pro_Modules::single_templates_conditions( $conditions ) ) ) {
34
+ $template = \WprAddonsPro\Classes\Pro_Modules::single_templates_conditions( $conditions );
35
+ }
36
+
37
+ }
38
+ } else {
39
+ $template = Utilities::get_template_slug( $conditions, 'global' );
40
+ }
41
+
42
+ if ( \Elementor\Plugin::$instance->preview->is_preview_mode() ) {
43
+ $template_type = Utilities::get_wpr_template_type(get_the_ID());
44
+
45
+ if ( 'header' === $template_type || 'footer' ===$template_type ) {
46
+ $template = NULL;
47
+ }
48
+ }
49
+
50
+ return $template;
51
+ }
52
+
53
+ /**
54
+ ** Canvas Content Conditions
55
+ */
56
+ public static function canvas_page_content_display_conditions() {
57
+ $template = NULL;
58
+
59
+ // Get Conditions
60
+ if ( class_exists( 'WooCommerce' ) && is_woocommerce() ) {
61
+ $archives = json_decode( get_option( 'wpr_product_archive_conditions' ), true );
62
+ $singles = json_decode( get_option( 'wpr_product_single_conditions' ), true );
63
+ } else {
64
+ $archives = json_decode( get_option( 'wpr_archive_conditions' ), true );
65
+ $singles = json_decode( get_option( 'wpr_single_conditions' ), true );
66
+ }
67
+
68
+ if ( empty($archives) && empty($singles) ) {
69
+ return NULL;
70
+ }
71
+
72
+ // Custom
73
+ if ( wpr_fs()->can_use_premium_code() && defined('WPR_ADDONS_PRO_VERSION') ) {
74
+
75
+ // Archive Pages (includes search)
76
+ if ( !is_null( \WprAddonsPro\Classes\Pro_Modules::archive_templates_conditions( $archives ) ) ) {
77
+ $template = \WprAddonsPro\Classes\Pro_Modules::archive_templates_conditions( $archives );
78
+ }
79
+
80
+ // Single Pages
81
+ if ( !is_null( \WprAddonsPro\Classes\Pro_Modules::single_templates_conditions( $singles ) ) ) {
82
+ $template = \WprAddonsPro\Classes\Pro_Modules::single_templates_conditions( $singles );
83
+ }
84
+ } else {
85
+ // Archive Pages (includes search)
86
+ if ( !is_null( WPR_Conditions_Manager::archive_templates_conditions_free($archives) ) ) {
87
+ $template = WPR_Conditions_Manager::archive_templates_conditions_free($archives);
88
+ }
89
+
90
+ // Single Pages
91
+ if ( !is_null( WPR_Conditions_Manager::single_templates_conditions_free($singles) ) ) {
92
+ $template = WPR_Conditions_Manager::single_templates_conditions_free($singles);
93
+ }
94
+ }
95
+
96
+ return $template;
97
+ }
98
+
99
+
100
+ /**
101
+ ** Archive Pages Templates Conditions Free
102
+ */
103
+ public static function archive_templates_conditions_free( $conditions ) {
104
+ $term_id = '';
105
+ $term_name = '';
106
+ $queried_object = get_queried_object();
107
+
108
+ // Get Terms
109
+ if ( ! is_null( $queried_object ) ) {
110
+ if ( isset( $queried_object->term_id ) && isset( $queried_object->taxonomy ) ) {
111
+ $term_id = $queried_object->term_id;
112
+ $term_name = $queried_object->taxonomy;
113
+ }
114
+ }
115
+
116
+ // Reset
117
+ $template = NULL;
118
+
119
+ // Archive Pages (includes search)
120
+ if ( is_archive() || is_search() ) {
121
+ if ( ! is_search() ) {
122
+ // Author
123
+ if ( is_author() ) {
124
+ $template = Utilities::get_template_slug( $conditions, 'archive/author' );
125
+ // Date
126
+ } elseif ( is_date() ) {
127
+ $template = Utilities::get_template_slug( $conditions, 'archive/date' );
128
+ // Category
129
+ } elseif ( is_category() ) {
130
+ $template = Utilities::get_template_slug( $conditions, 'archive/categories', $term_id );
131
+ // Tag
132
+ } elseif ( is_tag() ) {
133
+ $template = Utilities::get_template_slug( $conditions, 'archive/tags', $term_id );
134
+ // Products
135
+ } elseif ( class_exists( 'WooCommerce' ) && is_woocommerce() ) {
136
+ $template = Utilities::get_template_slug( $conditions, 'product_archive/products' );
137
+ }
138
+
139
+ // Search Page
140
+ } else {
141
+ $template = Utilities::get_template_slug( $conditions, 'archive/search' );
142
+ }
143
+
144
+ // Posts Page
145
+ } elseif ( Utilities::is_blog_archive() ) {
146
+ $template = Utilities::get_template_slug( $conditions, 'archive/posts' );
147
+ }
148
+
149
+ // Global - For All Archives
150
+ if ( is_null($template) ) {
151
+ $all_archives = Utilities::get_template_slug( $conditions, 'archive/all_archives' );
152
+
153
+ if ( ! is_null($all_archives) ) {
154
+ if ( class_exists( 'WooCommerce' ) && is_shop() ) {
155
+ $template = null;
156
+ } else {
157
+ if ( is_archive() || is_search() || Utilities::is_blog_archive() ) {
158
+ $template = $all_archives;
159
+ }
160
+ }
161
+ }
162
+ }
163
+
164
+ return $template;
165
+ }
166
+
167
+ /**
168
+ ** Single Pages Templates Conditions - Free
169
+ */
170
+ public static function single_templates_conditions_free( $conditions ) {
171
+ global $post;
172
+
173
+ // Get Posts
174
+ $post_id = is_null($post) ? '' : $post->ID;
175
+ $post_type = is_null($post) ? '' : $post->post_type;
176
+
177
+ // Reset
178
+ $template = NULL;
179
+
180
+ // Single Pages
181
+ if ( is_single() || is_front_page() || is_page() || is_404() ) {
182
+
183
+ if ( is_single() ) {
184
+ // Blog Posts
185
+ if ( 'post' == $post_type ) {
186
+ $template = Utilities::get_template_slug( $conditions, 'single/posts', $post_id );
187
+ } elseif ( 'product' == $post_type ) {
188
+ $template = Utilities::get_template_slug( $conditions, 'product_single/product', $post_id );
189
+ }
190
+ } else {
191
+ // Front page
192
+ if ( is_front_page() && ! Utilities::is_blog_archive() ) {//TODO: is it a good check? - is_blog_archive()
193
+ $template = Utilities::get_template_slug( $conditions, 'single/front_page' );
194
+ // Error 404 Page
195
+ } elseif ( is_404() ) {
196
+ $template = Utilities::get_template_slug( $conditions, 'single/page_404' );
197
+ // Single Page
198
+ } elseif ( is_page() ) {
199
+ $template = Utilities::get_template_slug( $conditions, 'single/pages', $post_id );
200
+ }
201
+ }
202
+
203
+ }
204
+
205
+ return $template;
206
+ }
207
  }
admin/includes/wpr-render-templates.php CHANGED
@@ -1,251 +1,251 @@
1
- <?php
2
- namespace WprAddons\Admin\Includes;
3
-
4
- use WprAddons\Classes\Utilities;
5
-
6
- if ( ! defined( 'ABSPATH' ) ) {
7
- exit; // Exit if accessed directly.
8
- }
9
-
10
- /**
11
- * WPR_Render_Templates setup
12
- *
13
- * @since 1.0
14
- */
15
- class WPR_Render_Templates {
16
-
17
- /**
18
- ** Instance of Elemenntor Frontend class.
19
- *
20
- ** @var \Elementor\Frontend()
21
- */
22
- private static $elementor_instance;
23
-
24
- /**
25
- ** Get Current Theme.
26
- */
27
- public $current_theme;
28
-
29
- /**
30
- ** Royal Themes Array.
31
- */
32
- public $royal_themes;
33
-
34
-
35
- /**
36
- ** Constructor
37
- */
38
- public function __construct( $only_hf = false ) {
39
-
40
- // Elementor Frontend
41
- self::$elementor_instance = \Elementor\Plugin::instance();
42
-
43
- // Ative Theme
44
- $this->current_theme = get_template();
45
-
46
- // Royal Themes
47
- $this->royal_themes = ['ashe', 'ashe-pro', 'ashe-pro-premium', 'bard', 'bard-pro', 'bard-pro-premium'];
48
-
49
- // Popular Themes
50
- if ( 'astra' === $this->current_theme ) {
51
- require_once(__DIR__ . '/../templates/views/astra/class-astra-compat.php');
52
-
53
- } elseif ( 'generatepress' === $this->current_theme ) {
54
- require_once(__DIR__ . '/../templates/views/generatepress/class-generatepress-compat.php');
55
-
56
- } elseif ( 'oceanwp' === $this->current_theme ) {
57
- require_once(__DIR__ . '/../templates/views/oceanwp/class-oceanwp-compat.php');
58
-
59
- } elseif ( 'storefront' === $this->current_theme ) {
60
- require_once(__DIR__ . '/../templates/views/storefront/class-storefront-compat.php');
61
-
62
- // Other Themes
63
- } else {
64
- add_action( 'wp', [ $this, 'global_compatibility' ] );
65
- }
66
-
67
- // Scripts and Styles
68
- add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_scripts' ] );
69
-
70
- // Theme Builder
71
- if ( !$only_hf ) { // Prevent Loading in Header or Footer Templates
72
- add_filter( 'template_include', [ $this, 'convert_to_canvas' ], 12 ); // 12 after WP Pages and WooCommerce.
73
- add_action( 'elementor/page_templates/canvas/wpr_print_content', [ $this, 'canvas_page_content_display' ] );
74
- }
75
- }
76
-
77
- public function global_compatibility() {
78
- add_action( 'get_header', [ $this, 'replace_header' ] );
79
- add_action( 'elementor/page_templates/canvas/before_content', [ $this, 'add_canvas_header' ] );
80
-
81
- add_action( 'get_footer', [ $this, 'replace_footer' ] );
82
- add_action( 'elementor/page_templates/canvas/after_content', [ $this, 'add_canvas_footer' ], 9 );
83
- }
84
-
85
- /**
86
- ** Check if a Template has Conditions
87
- */
88
- public function is_template_available( $type ) {
89
- if ( 'content' === $type ) {
90
- return !is_null(WPR_Conditions_Manager::canvas_page_content_display_conditions()) ? true : false;
91
- } else {
92
- $conditions = json_decode( get_option('wpr_'. $type .'_conditions', '[]'), true );
93
- $template = WPR_Conditions_Manager::header_footer_display_conditions( $conditions );
94
- return (!empty( $conditions ) && !is_null($template)) ? true : false;
95
- }
96
- }
97
-
98
- /**
99
- ** Header
100
- */
101
- public function replace_header() {
102
- if ( $this->is_template_available('header') ) {
103
- if ( ! in_array($this->current_theme, $this->royal_themes) ) {
104
- require __DIR__ . '/../templates/views/theme-header.php';
105
- } else {
106
- require __DIR__ . '/../templates/views/royal/theme-header-royal.php';
107
- }
108
-
109
- $templates = [];
110
- $templates[] = 'header.php';
111
-
112
- remove_all_actions( 'wp_head' ); // Avoid running wp_head hooks again.
113
-
114
- ob_start();
115
- locate_template( $templates, true );
116
- ob_get_clean();
117
- }
118
- }
119
-
120
- public function add_canvas_header() {
121
- if ( $this->is_template_available('header') ) {
122
- $conditions = json_decode( get_option('wpr_header_conditions', '[]'), true );
123
- $template_slug = WPR_Conditions_Manager::header_footer_display_conditions($conditions);
124
- $template_id = Utilities::get_template_id($template_slug);
125
- $show_on_canvas = get_post_meta($template_id, 'wpr_header_show_on_canvas', true);
126
-
127
- if ( !empty($show_on_canvas) && 'true' === $show_on_canvas && 0 === strpos($template_slug, 'user-header-') ) {
128
- Utilities::render_elementor_template($template_slug);
129
- }
130
- }
131
- }
132
-
133
- /**
134
- ** Footer
135
- */
136
- public function replace_footer() {
137
- if ( $this->is_template_available('footer') ) {
138
- if ( ! in_array($this->current_theme, $this->royal_themes) ) {
139
- require __DIR__ . '/../templates/views/theme-footer.php';
140
- } else {
141
- require __DIR__ . '/../templates/views/royal/theme-footer-royal.php';
142
- }
143
-
144
- $templates = [];
145
- $templates[] = 'footer.php';
146
-
147
- remove_all_actions( 'wp_footer' ); // Avoid running wp_footer hooks again.
148
-
149
- ob_start();
150
- locate_template( $templates, true );
151
- ob_get_clean();
152
- }
153
- }
154
-
155
- public function add_canvas_footer() {
156
- if ( $this->is_template_available('footer') ) {
157
- $conditions = json_decode( get_option('wpr_footer_conditions', '[]'), true );
158
- $template_slug = WPR_Conditions_Manager::header_footer_display_conditions($conditions);
159
- $template_id = Utilities::get_template_id($template_slug);
160
- $show_on_canvas = get_post_meta($template_id, 'wpr_footer_show_on_canvas', true);
161
-
162
- if ( !empty($show_on_canvas) && 'true' === $show_on_canvas && 0 === strpos($template_slug, 'user-footer-') ) {
163
- Utilities::render_elementor_template($template_slug);
164
- }
165
- }
166
- }
167
-
168
- public function convert_to_canvas( $template ) {
169
- $is_theme_builder_edit = \Elementor\Plugin::$instance->preview->is_preview_mode() && Utilities::is_theme_builder_template() ? true : false;
170
- $_wp_page_template = get_post_meta(get_the_ID(), '_wp_page_template', true);
171
-
172
- if ( $this->is_template_available('content') || $is_theme_builder_edit ) {
173
- if ( (is_page() || is_single()) && 'elementor_canvas' === $_wp_page_template && !$is_theme_builder_edit ) {
174
- return $template;
175
- } else {
176
- return WPR_ADDONS_PATH . 'admin/templates/wpr-canvas.php';
177
- }
178
- } else {
179
- return $template;
180
- }
181
- }
182
-
183
- /**
184
- ** Theme Builder Content Display
185
- */
186
- public function canvas_page_content_display() {
187
- // Get Template
188
- $template = WPR_Conditions_Manager::canvas_page_content_display_conditions();
189
-
190
- // Display Template
191
- Utilities::render_elementor_template( $template );
192
- }
193
-
194
- /**
195
- * Enqueue styles and scripts.
196
- */
197
- public function enqueue_scripts() {
198
-
199
- if ( class_exists( '\Elementor\Plugin' ) ) {
200
- $elementor = \Elementor\Plugin::instance();
201
- $elementor->frontend->enqueue_styles();
202
- }
203
-
204
- if ( class_exists( '\ElementorPro\Plugin' ) ) {
205
- $elementor_pro = \ElementorPro\Plugin::instance();
206
- $elementor_pro->enqueue_styles();
207
- }
208
-
209
- // Load Header Template CSS File
210
- $heder_conditions = json_decode( get_option('wpr_header_conditions', '[]'), true );
211
- $header_template_id = Utilities::get_template_id(WPR_Conditions_Manager::header_footer_display_conditions($heder_conditions));
212
-
213
- if ( false !== $header_template_id ) {
214
- if ( class_exists( '\Elementor\Core\Files\CSS\Post' ) ) {
215
- $header_css_file = new \Elementor\Core\Files\CSS\Post( $header_template_id );
216
- } elseif ( class_exists( '\Elementor\Post_CSS_File' ) ) {
217
- $header_css_file = new \Elementor\Post_CSS_File( $header_template_id );
218
- }
219
-
220
- $header_css_file->enqueue();
221
- }
222
-
223
- // Load Footer Template CSS File
224
- $footer_conditions = json_decode( get_option('wpr_footer_conditions', '[]'), true );
225
- $footer_template_id = Utilities::get_template_id(WPR_Conditions_Manager::header_footer_display_conditions($footer_conditions));
226
-
227
- if ( false !== $footer_template_id ) {
228
- if ( class_exists( '\Elementor\Core\Files\CSS\Post' ) ) {
229
- $footer_css_file = new \Elementor\Core\Files\CSS\Post( $footer_template_id );
230
- } elseif ( class_exists( '\Elementor\Post_CSS_File' ) ) {
231
- $footer_css_file = new \Elementor\Post_CSS_File( $footer_template_id );
232
- }
233
-
234
- $footer_css_file->enqueue();
235
- }
236
-
237
- // Load Canvas Content Template CSS File
238
- $canvas_template_id = Utilities::get_template_id(WPR_Conditions_Manager::canvas_page_content_display_conditions());
239
-
240
- if ( false !== $canvas_template_id ) {
241
- if ( class_exists( '\Elementor\Core\Files\CSS\Post' ) ) {
242
- $footer_css_file = new \Elementor\Core\Files\CSS\Post( $canvas_template_id );
243
- } elseif ( class_exists( '\Elementor\Post_CSS_File' ) ) {
244
- $footer_css_file = new \Elementor\Post_CSS_File( $canvas_template_id );
245
- }
246
-
247
- $footer_css_file->enqueue();
248
- }
249
- }
250
-
251
  }
1
+ <?php
2
+ namespace WprAddons\Admin\Includes;
3
+
4
+ use WprAddons\Classes\Utilities;
5
+
6
+ if ( ! defined( 'ABSPATH' ) ) {
7
+ exit; // Exit if accessed directly.
8
+ }
9
+
10
+ /**
11
+ * WPR_Render_Templates setup
12
+ *
13
+ * @since 1.0
14
+ */
15
+ class WPR_Render_Templates {
16
+
17
+ /**
18
+ ** Instance of Elemenntor Frontend class.
19
+ *
20
+ ** @var \Elementor\Frontend()
21
+ */
22
+ private static $elementor_instance;
23
+
24
+ /**
25
+ ** Get Current Theme.
26
+ */
27
+ public $current_theme;
28
+
29
+ /**
30
+ ** Royal Themes Array.
31
+ */
32
+ public $royal_themes;
33
+
34
+
35
+ /**
36
+ ** Constructor
37
+ */
38
+ public function __construct( $only_hf = false ) {
39
+
40
+ // Elementor Frontend
41
+ self::$elementor_instance = \Elementor\Plugin::instance();
42
+
43
+ // Ative Theme
44
+ $this->current_theme = get_template();
45
+
46
+ // Royal Themes
47
+ $this->royal_themes = ['ashe', 'ashe-pro', 'ashe-pro-premium', 'bard', 'bard-pro', 'bard-pro-premium'];
48
+
49
+ // Popular Themes
50
+ if ( 'astra' === $this->current_theme ) {
51
+ require_once(__DIR__ . '/../templates/views/astra/class-astra-compat.php');
52
+
53
+ } elseif ( 'generatepress' === $this->current_theme ) {
54
+ require_once(__DIR__ . '/../templates/views/generatepress/class-generatepress-compat.php');
55
+
56
+ } elseif ( 'oceanwp' === $this->current_theme ) {
57
+ require_once(__DIR__ . '/../templates/views/oceanwp/class-oceanwp-compat.php');
58
+
59
+ } elseif ( 'storefront' === $this->current_theme ) {
60
+ require_once(__DIR__ . '/../templates/views/storefront/class-storefront-compat.php');
61
+
62
+ // Other Themes
63
+ } else {
64
+ add_action( 'wp', [ $this, 'global_compatibility' ] );
65
+ }
66
+
67
+ // Scripts and Styles
68
+ add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_scripts' ] );
69
+
70
+ // Theme Builder
71
+ if ( !$only_hf ) { // Prevent Loading in Header or Footer Templates
72
+ add_filter( 'template_include', [ $this, 'convert_to_canvas' ], 12 ); // 12 after WP Pages and WooCommerce.
73
+ add_action( 'elementor/page_templates/canvas/wpr_print_content', [ $this, 'canvas_page_content_display' ] );
74
+ }
75
+ }
76
+
77
+ public function global_compatibility() {
78
+ add_action( 'get_header', [ $this, 'replace_header' ] );
79
+ add_action( 'elementor/page_templates/canvas/before_content', [ $this, 'add_canvas_header' ] );
80
+
81
+ add_action( 'get_footer', [ $this, 'replace_footer' ] );
82
+ add_action( 'elementor/page_templates/canvas/after_content', [ $this, 'add_canvas_footer' ], 9 );
83
+ }
84
+
85
+ /**
86
+ ** Check if a Template has Conditions
87
+ */
88
+ public function is_template_available( $type ) {
89
+ if ( 'content' === $type ) {
90
+ return !is_null(WPR_Conditions_Manager::canvas_page_content_display_conditions()) ? true : false;
91
+ } else {
92
+ $conditions = json_decode( get_option('wpr_'. $type .'_conditions', '[]'), true );
93
+ $template = WPR_Conditions_Manager::header_footer_display_conditions( $conditions );
94
+ return (!empty( $conditions ) && !is_null($template)) ? true : false;
95
+ }
96
+ }
97
+
98
+ /**
99
+ ** Header
100
+ */
101
+ public function replace_header() {
102
+ if ( $this->is_template_available('header') ) {
103
+ if ( ! in_array($this->current_theme, $this->royal_themes) ) {
104
+ require __DIR__ . '/../templates/views/theme-header.php';
105
+ } else {
106
+ require __DIR__ . '/../templates/views/royal/theme-header-royal.php';
107
+ }
108
+
109
+ $templates = [];
110
+ $templates[] = 'header.php';
111
+
112
+ remove_all_actions( 'wp_head' ); // Avoid running wp_head hooks again.
113
+
114
+ ob_start();
115
+ locate_template( $templates, true );
116
+ ob_get_clean();
117
+ }
118
+ }
119
+
120
+ public function add_canvas_header() {
121
+ if ( $this->is_template_available('header') ) {
122
+ $conditions = json_decode( get_option('wpr_header_conditions', '[]'), true );
123
+ $template_slug = WPR_Conditions_Manager::header_footer_display_conditions($conditions);
124
+ $template_id = Utilities::get_template_id($template_slug);
125
+ $show_on_canvas = get_post_meta($template_id, 'wpr_header_show_on_canvas', true);
126
+
127
+ if ( !empty($show_on_canvas) && 'true' === $show_on_canvas && 0 === strpos($template_slug, 'user-header-') ) {
128
+ Utilities::render_elementor_template($template_slug);
129
+ }
130
+ }
131
+ }
132
+
133
+ /**
134
+ ** Footer
135
+ */
136
+ public function replace_footer() {
137
+ if ( $this->is_template_available('footer') ) {
138
+ if ( ! in_array($this->current_theme, $this->royal_themes) ) {
139
+ require __DIR__ . '/../templates/views/theme-footer.php';
140
+ } else {
141
+ require __DIR__ . '/../templates/views/royal/theme-footer-royal.php';
142
+ }
143
+
144
+ $templates = [];
145
+ $templates[] = 'footer.php';
146
+
147
+ remove_all_actions( 'wp_footer' ); // Avoid running wp_footer hooks again.
148
+
149
+ ob_start();
150
+ locate_template( $templates, true );
151
+ ob_get_clean();
152
+ }
153
+ }
154
+
155
+ public function add_canvas_footer() {
156
+ if ( $this->is_template_available('footer') ) {
157
+ $conditions = json_decode( get_option('wpr_footer_conditions', '[]'), true );
158
+ $template_slug = WPR_Conditions_Manager::header_footer_display_conditions($conditions);
159
+ $template_id = Utilities::get_template_id($template_slug);
160
+ $show_on_canvas = get_post_meta($template_id, 'wpr_footer_show_on_canvas', true);
161
+
162
+ if ( !empty($show_on_canvas) && 'true' === $show_on_canvas && 0 === strpos($template_slug, 'user-footer-') ) {
163
+ Utilities::render_elementor_template($template_slug);
164
+ }
165
+ }
166
+ }
167
+
168
+ public function convert_to_canvas( $template ) {
169
+ $is_theme_builder_edit = \Elementor\Plugin::$instance->preview->is_preview_mode() && Utilities::is_theme_builder_template() ? true : false;
170
+ $_wp_page_template = get_post_meta(get_the_ID(), '_wp_page_template', true);
171
+
172
+ if ( $this->is_template_available('content') || $is_theme_builder_edit ) {
173
+ if ( (is_page() || is_single()) && 'elementor_canvas' === $_wp_page_template && !$is_theme_builder_edit ) {
174
+ return $template;
175
+ } else {
176
+ return WPR_ADDONS_PATH . 'admin/templates/wpr-canvas.php';
177
+ }
178
+ } else {
179
+ return $template;
180
+ }
181
+ }
182
+
183
+ /**
184
+ ** Theme Builder Content Display
185
+ */
186
+ public function canvas_page_content_display() {
187
+ // Get Template
188
+ $template = WPR_Conditions_Manager::canvas_page_content_display_conditions();
189
+
190
+ // Display Template
191
+ Utilities::render_elementor_template( $template );
192
+ }
193
+
194
+ /**
195
+ * Enqueue styles and scripts.
196
+ */
197
+ public function enqueue_scripts() {
198
+
199
+ if ( class_exists( '\Elementor\Plugin' ) ) {
200
+ $elementor = \Elementor\Plugin::instance();
201
+ $elementor->frontend->enqueue_styles();
202
+ }
203
+
204
+ if ( class_exists( '\ElementorPro\Plugin' ) ) {
205
+ $elementor_pro = \ElementorPro\Plugin::instance();
206
+ $elementor_pro->enqueue_styles();
207
+ }
208
+
209
+ // Load Header Template CSS File
210
+ $heder_conditions = json_decode( get_option('wpr_header_conditions', '[]'), true );
211
+ $header_template_id = Utilities::get_template_id(WPR_Conditions_Manager::header_footer_display_conditions($heder_conditions));
212
+
213
+ if ( false !== $header_template_id ) {
214
+ if ( class_exists( '\Elementor\Core\Files\CSS\Post' ) ) {
215
+ $header_css_file = new \Elementor\Core\Files\CSS\Post( $header_template_id );
216
+ } elseif ( class_exists( '\Elementor\Post_CSS_File' ) ) {
217
+ $header_css_file = new \Elementor\Post_CSS_File( $header_template_id );
218
+ }
219
+
220
+ $header_css_file->enqueue();
221
+ }
222
+
223
+ // Load Footer Template CSS File
224
+ $footer_conditions = json_decode( get_option('wpr_footer_conditions', '[]'), true );
225
+ $footer_template_id = Utilities::get_template_id(WPR_Conditions_Manager::header_footer_display_conditions($footer_conditions));
226
+
227
+ if ( false !== $footer_template_id ) {
228
+ if ( class_exists( '\Elementor\Core\Files\CSS\Post' ) ) {
229
+ $footer_css_file = new \Elementor\Core\Files\CSS\Post( $footer_template_id );
230
+ } elseif ( class_exists( '\Elementor\Post_CSS_File' ) ) {
231
+ $footer_css_file = new \Elementor\Post_CSS_File( $footer_template_id );
232
+ }
233
+
234
+ $footer_css_file->enqueue();
235
+ }
236
+
237
+ // Load Canvas Content Template CSS File
238
+ $canvas_template_id = Utilities::get_template_id(WPR_Conditions_Manager::canvas_page_content_display_conditions());
239
+
240
+ if ( false !== $canvas_template_id ) {
241
+ if ( class_exists( '\Elementor\Core\Files\CSS\Post' ) ) {
242
+ $footer_css_file = new \Elementor\Core\Files\CSS\Post( $canvas_template_id );
243
+ } elseif ( class_exists( '\Elementor\Post_CSS_File' ) ) {
244
+ $footer_css_file = new \Elementor\Post_CSS_File( $canvas_template_id );
245
+ }
246
+
247
+ $footer_css_file->enqueue();
248
+ }
249
+ }
250
+
251
  }
admin/includes/wpr-templates-library.php CHANGED
@@ -1,134 +1,134 @@
1
- <?php
2
-
3
- if ( ! defined( 'ABSPATH' ) ) {
4
- exit; // Exit if accessed directly.
5
- }
6
-
7
- use WprAddons\Admin\Includes\WPR_Render_Templates;
8
- use WprAddons\Admin\Includes\WPR_Templates_Shortcode;
9
- use WprAddons\Admin\Includes\WPR_Templates_Modal_Popups;
10
- use WprAddons\Admin\Includes\WPR_Templates_Actions;
11
- use WprAddons\Admin\Templates\WPR_Templates_Library_Blocks;
12
- use WprAddons\Admin\Templates\WPR_Templates_Library_Popups;
13
- use WprAddons\Admin\Templates\WPR_Templates_Library_Pages;
14
- use WprAddons\Classes\Utilities;
15
-
16
- /**
17
- * WPR_Templates_Library setup
18
- *
19
- * @since 1.0
20
- */
21
- class WPR_Templates_Library {
22
-
23
- /**
24
- ** Constructor
25
- */
26
- public function __construct() {
27
-
28
- // Register CPTs
29
- add_action( 'init', [ $this, 'register_templates_library_cpt' ] );
30
- add_action( 'template_redirect', [ $this, 'block_template_frontend' ] );
31
- add_action( 'current_screen', [ $this, 'redirect_to_options_page' ] );
32
-
33
- // Templates Shortcode
34
- new WPR_Templates_Shortcode();
35
-
36
- // Init Popups
37
- new WPR_Templates_Modal_Popups();
38
-
39
- // Init Theme Builder
40
- new WPR_Render_Templates();
41
-
42
- // Template Actions
43
- new WPR_Templates_Actions();
44
-
45
- // Add Blocks to Library
46
- new WPR_Templates_Library_Blocks();
47
-
48
- // Add Popups to Library
49
- new WPR_Templates_Library_Popups();
50
-
51
- // Add Pages to Library
52
- // new WPR_Templates_Library_Pages();
53
-
54
- // Enable Elementor for 'wpr_templates'
55
- $this->add_elementor_cpt_support();
56
-
57
- }
58
-
59
- /**
60
- ** Register Templates Library
61
- */
62
- public function redirect_to_options_page() {
63
- if ( get_current_screen()->post_type == 'wpr_templates' && isset($_GET['action']) && $_GET['action'] == 'edit' ) {
64
- $elementor_template_type = isset($_GET['post']) ? sanitize_text_field(wp_unslash($_GET['post'])) : '';
65
-
66
- if ( 'wpr-popups' === Utilities::get_elementor_template_type( $elementor_template_type ) ) {
67
- wp_redirect('admin.php?page=wpr-popups');
68
- } else {
69
- wp_redirect('admin.php?page=wpr-theme-builder');
70
- }
71
- }
72
- }
73
-
74
- public function register_templates_library_cpt() {
75
-
76
- $args = array(
77
- 'label' => esc_html__( 'Royal Templates', 'wpr-addons' ),
78
- 'public' => true,
79
- 'rewrite' => false,
80
- 'show_ui' => true,
81
- 'show_in_menu' => false,
82
- 'show_in_nav_menus' => false,
83
- 'exclude_from_search' => true,
84
- 'capability_type' => 'post',
85
- 'hierarchical' => false,
86
- );
87
-
88
- register_post_type( 'wpr_templates', $args );
89
-
90
- $tax_args = [
91
- 'hierarchical' => true,
92
- 'show_ui' => true,
93
- 'show_in_nav_menus' => false,
94
- 'show_admin_column' => true,
95
- 'query_var' => is_admin(),
96
- 'rewrite' => false,
97
- 'public' => false,
98
- ];
99
-
100
- register_taxonomy( 'wpr_template_type', 'wpr_templates', $tax_args );
101
-
102
- }
103
-
104
- /**
105
- ** Don't display on the frontend for non edit_posts capable users
106
- */
107
- public function block_template_frontend() {
108
- if ( is_singular( 'wpr_templates' ) && ! current_user_can( 'edit_posts' ) ) {
109
- wp_redirect( site_url(), 301 );
110
- die;
111
- }
112
- }
113
-
114
- /**
115
- *** Add elementor support for wpr_templates.
116
- **/
117
- function add_elementor_cpt_support() {
118
- if ( ! is_admin() ) {
119
- return;
120
- }
121
-
122
- $cpt_support = get_option( 'elementor_cpt_support' );
123
-
124
- if ( ! $cpt_support ) {
125
- update_option( 'elementor_cpt_support', ['post', 'page', 'wpr_templates'] );
126
- } elseif ( ! in_array( 'wpr_templates', $cpt_support ) ) {
127
- $cpt_support[] = 'wpr_templates';
128
- update_option( 'elementor_cpt_support', $cpt_support );
129
- }
130
- }
131
-
132
- }
133
-
134
  new WPR_Templates_Library();
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ use WprAddons\Admin\Includes\WPR_Render_Templates;
8
+ use WprAddons\Admin\Includes\WPR_Templates_Shortcode;
9
+ use WprAddons\Admin\Includes\WPR_Templates_Modal_Popups;
10
+ use WprAddons\Admin\Includes\WPR_Templates_Actions;
11
+ use WprAddons\Admin\Templates\WPR_Templates_Library_Blocks;
12
+ use WprAddons\Admin\Templates\WPR_Templates_Library_Popups;
13
+ use WprAddons\Admin\Templates\WPR_Templates_Library_Pages;
14
+ use WprAddons\Classes\Utilities;
15
+
16
+ /**
17
+ * WPR_Templates_Library setup
18
+ *
19
+ * @since 1.0
20
+ */
21
+ class WPR_Templates_Library {
22
+
23
+ /**
24
+ ** Constructor
25
+ */
26
+ public function __construct() {
27
+
28
+ // Register CPTs
29
+ add_action( 'init', [ $this, 'register_templates_library_cpt' ] );
30
+ add_action( 'template_redirect', [ $this, 'block_template_frontend' ] );
31
+ add_action( 'current_screen', [ $this, 'redirect_to_options_page' ] );
32
+
33
+ // Templates Shortcode
34
+ new WPR_Templates_Shortcode();
35
+
36
+ // Init Popups
37
+ new WPR_Templates_Modal_Popups();
38
+
39
+ // Init Theme Builder
40
+ new WPR_Render_Templates();
41
+
42
+ // Template Actions
43
+ new WPR_Templates_Actions();
44
+
45
+ // Add Blocks to Library
46
+ new WPR_Templates_Library_Blocks();
47
+
48
+ // Add Popups to Library
49
+ new WPR_Templates_Library_Popups();
50
+
51
+ // Add Pages to Library
52
+ // new WPR_Templates_Library_Pages();
53
+
54
+ // Enable Elementor for 'wpr_templates'
55
+ $this->add_elementor_cpt_support();
56
+
57
+ }
58
+
59
+ /**
60
+ ** Register Templates Library
61
+ */
62
+ public function redirect_to_options_page() {
63
+ if ( get_current_screen()->post_type == 'wpr_templates' && isset($_GET['action']) && $_GET['action'] == 'edit' ) {
64
+ $elementor_template_type = isset($_GET['post']) ? sanitize_text_field(wp_unslash($_GET['post'])) : '';
65
+
66
+ if ( 'wpr-popups' === Utilities::get_elementor_template_type( $elementor_template_type ) ) {
67
+ wp_redirect('admin.php?page=wpr-popups');
68
+ } else {
69
+ wp_redirect('admin.php?page=wpr-theme-builder');
70
+ }
71
+ }
72
+ }
73
+
74
+ public function register_templates_library_cpt() {
75
+
76
+ $args = array(
77
+ 'label' => esc_html__( 'Royal Templates', 'wpr-addons' ),
78
+ 'public' => true,
79
+ 'rewrite' => false,
80
+ 'show_ui' => true,
81
+ 'show_in_menu' => false,
82
+ 'show_in_nav_menus' => false,
83
+ 'exclude_from_search' => true,
84
+ 'capability_type' => 'post',
85
+ 'hierarchical' => false,
86
+ );
87
+
88
+ register_post_type( 'wpr_templates', $args );
89
+
90
+ $tax_args = [
91
+ 'hierarchical' => true,
92
+ 'show_ui' => true,
93
+ 'show_in_nav_menus' => false,
94
+ 'show_admin_column' => true,
95
+ 'query_var' => is_admin(),
96
+ 'rewrite' => false,
97
+ 'public' => false,
98
+ ];
99
+
100
+ register_taxonomy( 'wpr_template_type', 'wpr_templates', $tax_args );
101
+
102
+ }
103
+
104
+ /**
105
+ ** Don't display on the frontend for non edit_posts capable users
106
+ */
107
+ public function block_template_frontend() {
108
+ if ( is_singular( 'wpr_templates' ) && ! current_user_can( 'edit_posts' ) ) {
109
+ wp_redirect( site_url(), 301 );
110
+ die;
111
+ }
112
+ }
113
+
114
+ /**
115
+ *** Add elementor support for wpr_templates.
116
+ **/
117
+ function add_elementor_cpt_support() {
118
+ if ( ! is_admin() ) {
119
+ return;
120
+ }
121
+
122
+ $cpt_support = get_option( 'elementor_cpt_support' );
123
+
124
+ if ( ! $cpt_support ) {
125
+ update_option( 'elementor_cpt_support', ['post', 'page', 'wpr_templates'] );
126
+ } elseif ( ! in_array( 'wpr_templates', $cpt_support ) ) {
127
+ $cpt_support[] = 'wpr_templates';
128
+ update_option( 'elementor_cpt_support', $cpt_support );
129
+ }
130
+ }
131
+
132
+ }
133
+
134
  new WPR_Templates_Library();
admin/includes/wpr-templates-loop.php CHANGED
@@ -1,365 +1,365 @@
1
- <?php
2
-
3
- namespace WprAddons\Admin\Includes;
4
-
5
- if ( ! defined( 'ABSPATH' ) ) {
6
- exit; // Exit if accessed directly.
7
- }
8
-
9
- use WprAddons\Classes\Utilities;
10
-
11
- /**
12
- ** WPR_Templates_Loop setup
13
- */
14
- class WPR_Templates_Loop {
15
-
16
- /**
17
- ** Loop Through Custom Templates
18
- */
19
- public static function render_theme_builder_templates( $template ) {
20
- // WP_Query arguments
21
- $args = array (
22
- 'post_type' => array( 'wpr_templates' ),
23
- 'post_status' => array( 'publish' ),
24
- 'posts_per_page' => -1,
25
- 'tax_query' => array(
26
- array(
27
- 'taxonomy' => 'wpr_template_type',
28
- 'field' => 'slug',
29
- 'terms' => [ $template, 'user' ],
30
- 'operator' => 'AND'
31
- )
32
- )
33
- );
34
-
35
- // The Query
36
- $user_templates = get_posts( $args );
37
-
38
- // The Loop
39
- echo '<ul class="wpr-'. esc_attr($template) .'-templates-list wpr-my-templates-list" data-pro="'. esc_attr(wpr_fs()->can_use_premium_code()) .'">';
40
-
41
- if ( ! empty( $user_templates ) ) {
42
- foreach ( $user_templates as $user_template ) {
43
- $slug = $user_template->post_name;
44
- $edit_url = str_replace( 'edit', 'elementor', get_edit_post_link( $user_template->ID ) );
45
- $show_on_canvas = get_post_meta(Utilities::get_template_id($slug), 'wpr_'. $template .'_show_on_canvas', true);
46
-
47
- echo '<li>';
48
- echo '<h3 class="wpr-title">'. esc_html($user_template->post_title) .'</h3>';
49
-
50
- echo '<div class="wpr-action-buttons">';
51
- // Activate
52
- echo '<span class="wpr-template-conditions button button-primary" data-slug="'. esc_attr($slug) .'" data-show-on-canvas="'. esc_attr($show_on_canvas) .'">'. esc_html__( 'Manage Conditions', 'wpr-addons' ) .'</span>';
53
- // Edit
54
- echo '<a href="'. esc_url($edit_url) .'" class="wpr-edit-template button button-primary">'. esc_html__( 'Edit Template', 'wpr-addons' ) .'</a>';
55
- // Delete
56
- echo '<span class="wpr-delete-template button button-primary" data-slug="'. esc_attr($slug) .'" data-warning="'. esc_html__( 'Are you sure you want to delete this template?', 'wpr-addons' ) .'"><span class="dashicons dashicons-no-alt"></span></span>';
57
- echo '</div>';
58
- echo '</li>';
59
- }
60
- } else {
61
- echo '<li class="wpr-no-templates">You don\'t have any templates yet!</li>';
62
- }
63
-
64
- echo '</ul>';
65
-
66
- // Restore original Post Data
67
- wp_reset_postdata();
68
-
69
- }
70
-
71
- /**
72
- ** Loop Through My Templates
73
- */
74
- public static function render_elementor_saved_templates() {
75
-
76
- // WP_Query arguments
77
- $args = array (
78
- 'post_type' => array( 'elementor_library' ),
79
- 'post_status' => array( 'publish' ),
80
- 'meta_key' => '_elementor_template_type',
81
- 'meta_value' => ['page', 'section'],
82
- 'numberposts' => -1
83
- );
84
-
85
- // The Query
86
- $user_templates = get_posts( $args );
87
-
88
- // My Templates List
89
- echo '<ul class="wpr-my-templates-list striped">';
90
-
91
- // The Loop
92
- if ( ! empty( $user_templates ) ) {
93
- foreach ( $user_templates as $user_template ) {
94
- // Edit URL
95
- $edit_url = str_replace( 'edit', 'elementor', get_edit_post_link( $user_template->ID ) );
96
-
97
- // List
98
- echo '<li>';
99
- echo '<h3 class="wpr-title">'. esc_html($user_template->post_title) .'</h3>';
100
-
101
- echo '<span class="wpr-action-buttons">';
102
- echo '<a href="'. esc_url($edit_url) .'" class="wpr-edit-template button button-primary">'. esc_html__( 'Edit', 'wpr-addons' ) .'</a>';
103
- 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>';
104
- echo '</span>';
105
- echo '</li>';
106
- }
107
- } else {
108
- echo '<li class="wpr-no-templates">You don\'t have any templates yet!</li>';
109
- }
110
-
111
- echo '</ul>';
112
-
113
- // Restore original Post Data
114
- wp_reset_postdata();
115
- }
116
-
117
- /**
118
- ** Render Conditions Popup
119
- */
120
- public static function render_conditions_popup( $canvas = false ) {
121
-
122
- // Active Tab
123
- $active_tab = isset( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'wpr_tab_header';
124
-
125
- ?>
126
-
127
- <div class="wpr-condition-popup-wrap wpr-admin-popup-wrap">
128
- <div class="wpr-condition-popup wpr-admin-popup">
129
- <header>
130
- <h2><?php esc_html_e( 'Where Do You Want to Display Your Template?', 'wpr-addons' ); ?></h2>
131
- <p>
132
- <?php esc_html_e( 'Set the conditions that determine where your Template is used throughout your site.', 'wpr-addons' ); ?><br>
133
- <?php esc_html_e( 'For example, choose \'Entire Site\' to display the template across your site.', 'wpr-addons' ); ?>
134
- </p>
135
- </header>
136
- <span class="close-popup dashicons dashicons-no-alt"></span>
137
-
138
- <!-- Conditions -->
139
- <div class="wpr-conditions-wrap">
140
- <div class="wpr-conditions-sample">
141
- <?php if ( wpr_fs()->can_use_premium_code() ) : ?>
142
- <!-- Global -->
143
- <select name="global_condition_select" class="global-condition-select">
144
- <option value="global"><?php esc_html_e( 'Entire Site', 'wpr-addons' ); ?></option>
145
- <option value="archive"><?php esc_html_e( 'Archives', 'wpr-addons' ); ?></option>
146
- <option value="single"><?php esc_html_e( 'Singular', 'wpr-addons' ); ?></option>
147
- </select>
148
-
149
- <!-- Archive -->
150
- <select name="archives_condition_select" class="archives-condition-select">
151
- <?php if ( 'wpr_tab_header' === $active_tab || 'wpr_tab_footer' === $active_tab ) : ?>
152
- <option value="all_archives"><?php esc_html_e( 'All Archives', 'wpr-addons' ); ?></option>
153
- <option value="posts"><?php esc_html_e( 'Posts Archive', 'wpr-addons' ); ?></option>
154
- <option value="author"><?php esc_html_e( 'Author Archive', 'wpr-addons' ); ?></option>
155
- <option value="date"><?php esc_html_e( 'Date Archive', 'wpr-addons' ); ?></option>
156
- <option value="search"><?php esc_html_e( 'Search Results', 'wpr-addons' ); ?></option>
157
- <option value="categories" class="custom-ids"><?php esc_html_e( 'Post Categories', 'wpr-addons' ); ?></option>
158
- <option value="tags" class="custom-ids"><?php esc_html_e( 'Post Tags', 'wpr-addons' ); ?></option>
159
- <?php // Custom Taxonomies
160
- $custom_taxonomies = Utilities::get_custom_types_of( 'tax', true );
161
- foreach ($custom_taxonomies as $key => $value) {
162
- if ( class_exists( 'WooCommerce' ) && 'product_cat' === $key ) {
163
- echo '<option value="products">'. esc_html__( 'Products Archive', 'wpr-addons' ) .'</option>';
164
- }
165
-
166
- // List Taxonomies
167
- echo '<option value="'. esc_attr($key) .'" class="custom-type-ids">'. esc_html($value) .'</option>';
168
- }
169
- ?>
170
- <?php else: ?>
171
- <?php if ( 'wpr_tab_archive' === $active_tab ) : ?>
172
- <option value="all_archives"><?php esc_html_e( 'All Archives', 'wpr-addons' ); ?></option>
173
- <option value="posts"><?php esc_html_e( 'Posts Archive', 'wpr-addons' ); ?></option>
174
- <option value="author"><?php esc_html_e( 'Author Archive', 'wpr-addons' ); ?></option>
175
- <option value="date"><?php esc_html_e( 'Date Archive', 'wpr-addons' ); ?></option>
176
- <option value="search"><?php esc_html_e( 'Search Results', 'wpr-addons' ); ?></option>
177
- <option value="categories" class="custom-ids"><?php esc_html_e( 'Post Categories', 'wpr-addons' ); ?></option>
178
- <option value="tags" class="custom-ids"><?php esc_html_e( 'Post Tags', 'wpr-addons' ); ?></option>
179
- <?php elseif ( 'wpr_tab_product_archive' === $active_tab ): ?>
180
- <option value="products"><?php esc_html_e( 'Products Archive', 'wpr-addons' ); ?></option>
181
- <option value="product_cat" class="custom-type-ids"><?php esc_html_e( 'Products Categories', 'wpr-addons' ); ?></option>
182
- <option value="product_tag" class="custom-type-ids"><?php esc_html_e( 'Products Tags', 'wpr-addons' ); ?></option>
183
- <?php endif; ?>
184
- <?php endif; ?>
185
- </select>
186
-
187
- <!-- Single -->
188
- <select name="singles_condition_select" class="singles-condition-select">
189
- <?php if ( 'wpr_tab_header' === $active_tab || 'wpr_tab_footer' === $active_tab ) : ?>
190
- <option value="front_page"><?php esc_html_e( 'Front Page', 'wpr-addons' ); ?></option>
191
- <option value="page_404"><?php esc_html_e( '404 Page', 'wpr-addons' ); ?></option>
192
- <option value="pages" class="custom-ids"><?php esc_html_e( 'Pages', 'wpr-addons' ); ?></option>
193
- <option value="posts" class="custom-ids"><?php esc_html_e( 'Posts', 'wpr-addons' ); ?></option>
194
- <?php // Custom Post Types
195
- $custom_taxonomies = Utilities::get_custom_types_of( 'post', true );
196
- foreach ($custom_taxonomies as $key => $value) {
197
- echo '<option value="'. esc_attr($key) .'" class="custom-type-ids">'. esc_html($value) .'</option>';
198
- }
199
- ?>
200
- <?php else: ?>
201
- <?php if ( 'wpr_tab_single' === $active_tab ) : ?>
202
- <option value="front_page"><?php esc_html_e( 'Front Page', 'wpr-addons' ); ?></option>
203
- <option value="page_404"><?php esc_html_e( '404 Page', 'wpr-addons' ); ?></option>
204
- <option value="pages" class="custom-ids"><?php esc_html_e( 'Pages', 'wpr-addons' ); ?></option>
205
- <option value="posts" class="custom-ids"><?php esc_html_e( 'Posts', 'wpr-addons' ); ?></option>
206
- <?php elseif ( 'wpr_tab_product_single' === $active_tab ): ?>
207
- <option value="product" class="custom-type-ids"><?php esc_html_e( 'Products', 'wpr-addons' ); ?></option>
208
- <?php endif; ?>
209
- <?php endif; ?>
210
- </select>
211
-
212
- <input type="text" placeholder="<?php esc_html_e( 'Enter comma separated IDs', 'wpr-addons' ); ?>" name="condition_input_ids" class="wpr-condition-input-ids">
213
- <span class="wpr-delete-template-conditions dashicons dashicons-no-alt"></span>
214
-
215
- <?php else: // Free user conditions ?>
216
-
217
- <!-- Global -->
218
- <select name="global_condition_select" class="global-condition-select">
219
- <option value="global"><?php esc_html_e( 'Entire Site', 'wpr-addons' ); ?></option>
220
- <option value="archive"><?php esc_html_e( 'Archives (Pro)', 'wpr-addons' ); ?></option>
221
- <option value="single"><?php esc_html_e( 'Singular (Pro)', 'wpr-addons' ); ?></option>
222
- </select>
223
-
224
- <!-- Archive -->
225
- <select name="archives_condition_select" class="archives-condition-select">
226
- <?php if ( 'wpr_tab_header' === $active_tab || 'wpr_tab_footer' === $active_tab ) : ?>
227
- <option value="all_archives"><?php esc_html_e( 'All Archives (Pro)', 'wpr-addons' ); ?></option>
228
- <option value="posts"><?php esc_html_e( 'Posts Archive (Pro)', 'wpr-addons' ); ?></option>
229
- <option value="author"><?php esc_html_e( 'Author Archive (Pro)', 'wpr-addons' ); ?></option>
230
- <option value="date"><?php esc_html_e( 'Date Archive (Pro)', 'wpr-addons' ); ?></option>
231
- <option value="search"><?php esc_html_e( 'Search Results (Pro)', 'wpr-addons' ); ?></option>
232
- <option value="categories" class="custom-ids"><?php esc_html_e( 'Post Categories (Pro)', 'wpr-addons' ); ?></option>
233
- <option value="tags" class="custom-ids"><?php esc_html_e( 'Post Tags (Pro)', 'wpr-addons' ); ?></option>
234
- <?php // Custom Taxonomies
235
- $custom_taxonomies = Utilities::get_custom_types_of( 'tax', true );
236
- foreach ($custom_taxonomies as $key => $value) {
237
- if ( class_exists( 'WooCommerce' ) && 'product_cat' === $key ) {
238
- echo '<option value="products">'. esc_html__( 'Products Archive (Pro)', 'wpr-addons' ) .'</option>';
239
- }
240
-
241
- // List Taxonomies
242
- echo '<option value="'. esc_attr($key) .'" class="custom-type-ids">'. esc_html($value) .' (Pro)</option>';
243
- }
244
- ?>
245
- <?php else: ?>
246
- <?php if ( 'wpr_tab_archive' === $active_tab ) : ?>
247
- <option value="all_archives"><?php esc_html_e( 'All Archives', 'wpr-addons' ); ?></option>
248
- <option value="posts"><?php esc_html_e( 'Posts Archive', 'wpr-addons' ); ?></option>
249
- <option value="author"><?php esc_html_e( 'Author Archive', 'wpr-addons' ); ?></option>
250
- <option value="date"><?php esc_html_e( 'Date Archive', 'wpr-addons' ); ?></option>
251
- <option value="search"><?php esc_html_e( 'Search Results', 'wpr-addons' ); ?></option>
252
- <option value="categories" class="custom-ids"><?php esc_html_e( 'Post Categories', 'wpr-addons' ); ?></option>
253
- <option value="tags" class="custom-ids"><?php esc_html_e( 'Post Tags', 'wpr-addons' ); ?></option>
254
- <?php elseif ( 'wpr_tab_product_archive' === $active_tab ): ?>
255
- <option value="products"><?php esc_html_e( 'Products Archive', 'wpr-addons' ); ?></option>
256
- <option value="product_cat" class="custom-type-ids"><?php esc_html_e( 'Products Categories (Pro)', 'wpr-addons' ); ?></option>
257
- <option value="product_tag" class="custom-type-ids"><?php esc_html_e( 'Products Tags (Pro)', 'wpr-addons' ); ?></option>
258
- <?php endif; ?>
259
- <?php endif; ?>
260
- </select>
261
-
262
- <!-- Single -->
263
- <select name="singles_condition_select" class="singles-condition-select">
264
- <?php if ( 'wpr_tab_header' === $active_tab || 'wpr_tab_footer' === $active_tab ) : ?>
265
- <option value="front_page"><?php esc_html_e( 'Front Page (Pro)', 'wpr-addons' ); ?></option>
266
- <option value="page_404"><?php esc_html_e( '404 Page (Pro)', 'wpr-addons' ); ?></option>
267
- <option value="pages" class="custom-ids"><?php esc_html_e( 'Pages (Pro)', 'wpr-addons' ); ?></option>
268
- <option value="posts" class="custom-ids"><?php esc_html_e( 'Posts (Pro)', 'wpr-addons' ); ?></option>
269
- <?php // Custom Post Types
270
- $custom_taxonomies = Utilities::get_custom_types_of( 'post', true );
271
- foreach ($custom_taxonomies as $key => $value) {
272
- echo '<option value="'. esc_attr($key) .'" class="custom-type-ids">'. esc_html($value) .' (Pro)</option>';
273
- }
274
- ?>
275
- <?php else: ?>
276
- <?php if ( 'wpr_tab_single' === $active_tab ) : ?>
277
- <option value="front_page"><?php esc_html_e( 'Front Page', 'wpr-addons' ); ?></option>
278
- <option value="page_404"><?php esc_html_e( '404 Page', 'wpr-addons' ); ?></option>
279
- <option value="pages" class="custom-ids"><?php esc_html_e( 'Pages', 'wpr-addons' ); ?></option>
280
- <option value="posts" class="custom-ids"><?php esc_html_e( 'Posts', 'wpr-addons' ); ?></option>
281
- <?php elseif ( 'wpr_tab_product_single' === $active_tab ): ?>
282
- <option value="product" class="custom-type-ids"><?php esc_html_e( 'Products', 'wpr-addons' ); ?></option>
283
- <?php endif; ?>
284
- <?php endif; ?>
285
- </select>
286
-
287
- <input type="text" placeholder="<?php esc_html_e( 'Enter comma separated IDs (Pro)', 'wpr-addons' ); ?>" name="condition_input_ids" class="wpr-condition-input-ids">
288
- <span class="wpr-delete-template-conditions dashicons dashicons-no-alt"></span>
289
-
290
- <?php endif; ?>
291
- </div>
292
- </div>
293
-
294
- <?php if ( $canvas ) : ?>
295
- <div class="wpr-canvas-condition wpr-setting-custom-ckbox">
296
- <span><?php esc_html_e( 'Show this template on Elementor Canvas pages', 'wpr-addons' ); ?></span>
297
- <input type="checkbox" name="wpr-show-on-canvas" id="wpr-show-on-canvas">
298
- <label for="wpr-show-on-canvas"></label>
299
- </div>
300
- <?php endif; ?>
301
-
302
- <?php
303
-
304
-
305
- // Pro Notice
306
- if ( ! wpr_fs()->can_use_premium_code() ) {
307
- echo '<span style="color: #7f8b96;"><br>Conditions are fully suppoted in the <strong><a href="https://royal-elementor-addons.com/?ref=rea-plugin-backend-conditions-upgrade-pro#purchasepro" target="_blank">Pro version</a></strong></span>';
308
- // echo '<span style="color: #7f8b96;"><br>Conditions are fully suppoted in the <strong><a href="'. admin_url('admin.php?page=wpr-addons-pricing') .'" target="_blank">Pro version</a></strong></span>';
309
- }
310
-
311
- ?>
312
-
313
- <!-- Action Buttons -->
314
- <span class="wpr-add-conditions"><?php esc_html_e( 'Add Conditions', 'wpr-addons' ); ?></span>
315
- <span class="wpr-save-conditions"><?php esc_html_e( 'Save Conditions', 'wpr-addons' ); ?></span>
316
-
317
- </div>
318
- </div>
319
-
320
- <?php
321
- }
322
-
323
-
324
- /**
325
- ** Render Create Template Popup
326
- */
327
- public static function render_create_template_popup() {
328
- ?>
329
-
330
- <!-- Custom Template Popup -->
331
- <div class="wpr-user-template-popup-wrap wpr-admin-popup-wrap">
332
- <div class="wpr-user-template-popup wpr-admin-popup">
333
- <header>
334
- <h2><?php esc_html_e( 'Templates Help You Work Efficiently!', 'wpr-addons' ); ?></h2>
335
- <p><?php esc_html_e( 'Use templates to create the different pieces of your site, and reuse them with one click whenever needed.', 'wpr-addons' ); ?></p>
336
- </header>
337
-
338
- <input type="text" name="user_template_title" class="wpr-user-template-title" placeholder="<?php esc_html_e( 'Enter Template Title', 'wpr-addons' ); ?>">
339
- <input type="hidden" name="user_template_type" class="user-template-type">
340
- <span class="wpr-create-template"><?php esc_html_e( 'Create Template', 'wpr-addons' ); ?></span>
341
- <span class="close-popup dashicons dashicons-no-alt"></span>
342
- </div>
343
- </div>
344
-
345
- <?php
346
- }
347
-
348
- /**
349
- ** Check if Library Template Exists
350
- */
351
- public static function template_exists( $slug ) {
352
- $result = false;
353
- $wpr_templates = get_posts( ['post_type' => 'wpr_templates', 'posts_per_page' => '-1'] );
354
-
355
- foreach ( $wpr_templates as $post ) {
356
-
357
- if ( $slug === $post->post_name ) {
358
- $result = true;
359
- }
360
- }
361
-
362
- return $result;
363
- }
364
-
365
  }
1
+ <?php
2
+
3
+ namespace WprAddons\Admin\Includes;
4
+
5
+ if ( ! defined( 'ABSPATH' ) ) {
6
+ exit; // Exit if accessed directly.
7
+ }
8
+
9
+ use WprAddons\Classes\Utilities;
10
+
11
+ /**
12
+ ** WPR_Templates_Loop setup
13
+ */
14
+ class WPR_Templates_Loop {
15
+
16
+ /**
17
+ ** Loop Through Custom Templates
18
+ */
19
+ public static function render_theme_builder_templates( $template ) {
20
+ // WP_Query arguments
21
+ $args = array (
22
+ 'post_type' => array( 'wpr_templates' ),
23
+ 'post_status' => array( 'publish' ),
24
+ 'posts_per_page' => -1,
25
+ 'tax_query' => array(
26
+ array(
27
+ 'taxonomy' => 'wpr_template_type',
28
+ 'field' => 'slug',
29
+ 'terms' => [ $template, 'user' ],
30
+ 'operator' => 'AND'
31
+ )
32
+ )
33
+ );
34
+
35
+ // The Query
36
+ $user_templates = get_posts( $args );
37
+
38
+ // The Loop
39
+ echo '<ul class="wpr-'. esc_attr($template) .'-templates-list wpr-my-templates-list" data-pro="'. esc_attr(wpr_fs()->can_use_premium_code()) .'">';
40
+
41
+ if ( ! empty( $user_templates ) ) {
42
+ foreach ( $user_templates as $user_template ) {
43
+ $slug = $user_template->post_name;
44
+ $edit_url = str_replace( 'edit', 'elementor', get_edit_post_link( $user_template->ID ) );
45
+ $show_on_canvas = get_post_meta(Utilities::get_template_id($slug), 'wpr_'. $template .'_show_on_canvas', true);
46
+
47
+ echo '<li>';
48
+ echo '<h3 class="wpr-title">'. esc_html($user_template->post_title) .'</h3>';
49
+
50
+ echo '<div class="wpr-action-buttons">';
51
+ // Activate
52
+ echo '<span class="wpr-template-conditions button button-primary" data-slug="'. esc_attr($slug) .'" data-show-on-canvas="'. esc_attr($show_on_canvas) .'">'. esc_html__( 'Manage Conditions', 'wpr-addons' ) .'</span>';
53
+ // Edit
54
+ echo '<a href="'. esc_url($edit_url) .'" class="wpr-edit-template button button-primary">'. esc_html__( 'Edit Template', 'wpr-addons' ) .'</a>';
55
+ // Delete
56
+ echo '<span class="wpr-delete-template button button-primary" data-slug="'. esc_attr($slug) .'" data-warning="'. esc_html__( 'Are you sure you want to delete this template?', 'wpr-addons' ) .'"><span class="dashicons dashicons-no-alt"></span></span>';
57
+ echo '</div>';
58
+ echo '</li>';
59
+ }
60
+ } else {
61
+ echo '<li class="wpr-no-templates">You don\'t have any templates yet!</li>';
62
+ }
63
+
64
+ echo '</ul>';
65
+
66
+ // Restore original Post Data
67
+ wp_reset_postdata();
68
+
69
+ }
70
+
71
+ /**
72
+ ** Loop Through My Templates
73
+ */
74
+ public static function render_elementor_saved_templates() {
75
+
76
+ // WP_Query arguments
77
+ $args = array (
78
+ 'post_type' => array( 'elementor_library' ),
79
+ 'post_status' => array( 'publish' ),
80
+ 'meta_key' => '_elementor_template_type',
81
+ 'meta_value' => ['page', 'section'],
82
+ 'numberposts' => -1
83
+ );
84
+
85
+ // The Query
86
+ $user_templates = get_posts( $args );
87
+
88
+ // My Templates List
89
+ echo '<ul class="wpr-my-templates-list striped">';
90
+
91
+ // The Loop
92
+ if ( ! empty( $user_templates ) ) {
93
+ foreach ( $user_templates as $user_template ) {
94
+ // Edit URL
95
+ $edit_url = str_replace( 'edit', 'elementor', get_edit_post_link( $user_template->ID ) );
96
+
97
+ // List
98
+ echo '<li>';
99
+ echo '<h3 class="wpr-title">'. esc_html($user_template->post_title) .'</h3>';
100
+
101
+ echo '<span class="wpr-action-buttons">';
102
+ echo '<a href="'. esc_url($edit_url) .'" class="wpr-edit-template button button-primary">'. esc_html__( 'Edit', 'wpr-addons' ) .'</a>';
103
+ 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>';
104
+ echo '</span>';
105
+ echo '</li>';
106
+ }
107
+ } else {
108
+ echo '<li class="wpr-no-templates">You don\'t have any templates yet!</li>';
109
+ }
110
+
111
+ echo '</ul>';
112
+
113
+ // Restore original Post Data
114
+ wp_reset_postdata();
115
+ }
116
+
117
+ /**
118
+ ** Render Conditions Popup
119
+ */
120
+ public static function render_conditions_popup( $canvas = false ) {
121
+
122
+ // Active Tab
123
+ $active_tab = isset( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'wpr_tab_header';
124
+
125
+ ?>
126
+
127
+ <div class="wpr-condition-popup-wrap wpr-admin-popup-wrap">
128
+ <div class="wpr-condition-popup wpr-admin-popup">
129
+ <header>
130
+ <h2><?php esc_html_e( 'Where Do You Want to Display Your Template?', 'wpr-addons' ); ?></h2>
131
+ <p>
132
+ <?php esc_html_e( 'Set the conditions that determine where your Template is used throughout your site.', 'wpr-addons' ); ?><br>
133
+ <?php esc_html_e( 'For example, choose \'Entire Site\' to display the template across your site.', 'wpr-addons' ); ?>
134
+ </p>
135
+ </header>
136
+ <span class="close-popup dashicons dashicons-no-alt"></span>
137
+
138
+ <!-- Conditions -->
139
+ <div class="wpr-conditions-wrap">
140
+ <div class="wpr-conditions-sample">
141
+ <?php if ( wpr_fs()->can_use_premium_code() ) : ?>
142
+ <!-- Global -->
143
+ <select name="global_condition_select" class="global-condition-select">
144
+ <option value="global"><?php esc_html_e( 'Entire Site', 'wpr-addons' ); ?></option>
145
+ <option value="archive"><?php esc_html_e( 'Archives', 'wpr-addons' ); ?></option>
146
+ <option value="single"><?php esc_html_e( 'Singular', 'wpr-addons' ); ?></option>
147
+ </select>
148
+
149
+ <!-- Archive -->
150
+ <select name="archives_condition_select" class="archives-condition-select">
151
+ <?php if ( 'wpr_tab_header' === $active_tab || 'wpr_tab_footer' === $active_tab ) : ?>
152
+ <option value="all_archives"><?php esc_html_e( 'All Archives', 'wpr-addons' ); ?></option>
153
+ <option value="posts"><?php esc_html_e( 'Posts Archive', 'wpr-addons' ); ?></option>
154
+ <option value="author"><?php esc_html_e( 'Author Archive', 'wpr-addons' ); ?></option>
155
+ <option value="date"><?php esc_html_e( 'Date Archive', 'wpr-addons' ); ?></option>
156
+ <option value="search"><?php esc_html_e( 'Search Results', 'wpr-addons' ); ?></option>
157
+ <option value="categories" class="custom-ids"><?php esc_html_e( 'Post Categories', 'wpr-addons' ); ?></option>
158
+ <option value="tags" class="custom-ids"><?php esc_html_e( 'Post Tags', 'wpr-addons' ); ?></option>
159
+ <?php // Custom Taxonomies
160
+ $custom_taxonomies = Utilities::get_custom_types_of( 'tax', true );
161
+ foreach ($custom_taxonomies as $key => $value) {
162
+ if ( class_exists( 'WooCommerce' ) && 'product_cat' === $key ) {
163
+ echo '<option value="products">'. esc_html__( 'Products Archive', 'wpr-addons' ) .'</option>';
164
+ }
165
+
166
+ // List Taxonomies
167
+ echo '<option value="'. esc_attr($key) .'" class="custom-type-ids">'. esc_html($value) .'</option>';
168
+ }
169
+ ?>
170
+ <?php else: ?>
171
+ <?php if ( 'wpr_tab_archive' === $active_tab ) : ?>
172
+ <option value="all_archives"><?php esc_html_e( 'All Archives', 'wpr-addons' ); ?></option>
173
+ <option value="posts"><?php esc_html_e( 'Posts Archive', 'wpr-addons' ); ?></option>
174
+ <option value="author"><?php esc_html_e( 'Author Archive', 'wpr-addons' ); ?></option>
175
+ <option value="date"><?php esc_html_e( 'Date Archive', 'wpr-addons' ); ?></option>
176
+ <option value="search"><?php esc_html_e( 'Search Results', 'wpr-addons' ); ?></option>
177
+ <option value="categories" class="custom-ids"><?php esc_html_e( 'Post Categories', 'wpr-addons' ); ?></option>
178
+ <option value="tags" class="custom-ids"><?php esc_html_e( 'Post Tags', 'wpr-addons' ); ?></option>
179
+ <?php elseif ( 'wpr_tab_product_archive' === $active_tab ): ?>
180
+ <option value="products"><?php esc_html_e( 'Products Archive', 'wpr-addons' ); ?></option>
181
+ <option value="product_cat" class="custom-type-ids"><?php esc_html_e( 'Products Categories', 'wpr-addons' ); ?></option>
182
+ <option value="product_tag" class="custom-type-ids"><?php esc_html_e( 'Products Tags', 'wpr-addons' ); ?></option>
183
+ <?php endif; ?>
184
+ <?php endif; ?>
185
+ </select>
186
+
187
+ <!-- Single -->
188
+ <select name="singles_condition_select" class="singles-condition-select">
189
+ <?php if ( 'wpr_tab_header' === $active_tab || 'wpr_tab_footer' === $active_tab ) : ?>
190
+ <option value="front_page"><?php esc_html_e( 'Front Page', 'wpr-addons' ); ?></option>
191
+ <option value="page_404"><?php esc_html_e( '404 Page', 'wpr-addons' ); ?></option>
192
+ <option value="pages" class="custom-ids"><?php esc_html_e( 'Pages', 'wpr-addons' ); ?></option>
193
+ <option value="posts" class="custom-ids"><?php esc_html_e( 'Posts', 'wpr-addons' ); ?></option>
194
+ <?php // Custom Post Types
195
+ $custom_taxonomies = Utilities::get_custom_types_of( 'post', true );
196
+ foreach ($custom_taxonomies as $key => $value) {
197
+ echo '<option value="'. esc_attr($key) .'" class="custom-type-ids">'. esc_html($value) .'</option>';
198
+ }
199
+ ?>
200
+ <?php else: ?>
201
+ <?php if ( 'wpr_tab_single' === $active_tab ) : ?>
202
+ <option value="front_page"><?php esc_html_e( 'Front Page', 'wpr-addons' ); ?></option>
203
+ <option value="page_404"><?php esc_html_e( '404 Page', 'wpr-addons' ); ?></option>
204
+ <option value="pages" class="custom-ids"><?php esc_html_e( 'Pages', 'wpr-addons' ); ?></option>
205
+ <option value="posts" class="custom-ids"><?php esc_html_e( 'Posts', 'wpr-addons' ); ?></option>
206
+ <?php elseif ( 'wpr_tab_product_single' === $active_tab ): ?>
207
+ <option value="product" class="custom-type-ids"><?php esc_html_e( 'Products', 'wpr-addons' ); ?></option>
208
+ <?php endif; ?>
209
+ <?php endif; ?>
210
+ </select>
211
+
212
+ <input type="text" placeholder="<?php esc_html_e( 'Enter comma separated IDs', 'wpr-addons' ); ?>" name="condition_input_ids" class="wpr-condition-input-ids">
213
+ <span class="wpr-delete-template-conditions dashicons dashicons-no-alt"></span>
214
+
215
+ <?php else: // Free user conditions ?>
216
+
217
+ <!-- Global -->
218
+ <select name="global_condition_select" class="global-condition-select">
219
+ <option value="global"><?php esc_html_e( 'Entire Site', 'wpr-addons' ); ?></option>
220
+ <option value="archive"><?php esc_html_e( 'Archives (Pro)', 'wpr-addons' ); ?></option>
221
+ <option value="single"><?php esc_html_e( 'Singular (Pro)', 'wpr-addons' ); ?></option>
222
+ </select>
223
+
224
+ <!-- Archive -->
225
+ <select name="archives_condition_select" class="archives-condition-select">
226
+ <?php if ( 'wpr_tab_header' === $active_tab || 'wpr_tab_footer' === $active_tab ) : ?>
227
+ <option value="all_archives"><?php esc_html_e( 'All Archives (Pro)', 'wpr-addons' ); ?></option>
228
+ <option value="posts"><?php esc_html_e( 'Posts Archive (Pro)', 'wpr-addons' ); ?></option>
229
+ <option value="author"><?php esc_html_e( 'Author Archive (Pro)', 'wpr-addons' ); ?></option>
230
+ <option value="date"><?php esc_html_e( 'Date Archive (Pro)', 'wpr-addons' ); ?></option>
231
+ <option value="search"><?php esc_html_e( 'Search Results (Pro)', 'wpr-addons' ); ?></option>
232
+ <option value="categories" class="custom-ids"><?php esc_html_e( 'Post Categories (Pro)', 'wpr-addons' ); ?></option>
233
+ <option value="tags" class="custom-ids"><?php esc_html_e( 'Post Tags (Pro)', 'wpr-addons' ); ?></option>
234
+ <?php // Custom Taxonomies
235
+ $custom_taxonomies = Utilities::get_custom_types_of( 'tax', true );
236
+ foreach ($custom_taxonomies as $key => $value) {
237
+ if ( class_exists( 'WooCommerce' ) && 'product_cat' === $key ) {
238
+ echo '<option value="products">'. esc_html__( 'Products Archive (Pro)', 'wpr-addons' ) .'</option>';
239
+ }
240
+
241
+ // List Taxonomies
242
+ echo '<option value="'. esc_attr($key) .'" class="custom-type-ids">'. esc_html($value) .' (Pro)</option>';
243
+ }
244
+ ?>
245
+ <?php else: ?>
246
+ <?php if ( 'wpr_tab_archive' === $active_tab ) : ?>
247
+ <option value="all_archives"><?php esc_html_e( 'All Archives', 'wpr-addons' ); ?></option>
248
+ <option value="posts"><?php esc_html_e( 'Posts Archive', 'wpr-addons' ); ?></option>
249
+ <option value="author"><?php esc_html_e( 'Author Archive', 'wpr-addons' ); ?></option>
250
+ <option value="date"><?php esc_html_e( 'Date Archive', 'wpr-addons' ); ?></option>
251
+ <option value="search"><?php esc_html_e( 'Search Results', 'wpr-addons' ); ?></option>
252
+ <option value="categories" class="custom-ids"><?php esc_html_e( 'Post Categories', 'wpr-addons' ); ?></option>
253
+ <option value="tags" class="custom-ids"><?php esc_html_e( 'Post Tags', 'wpr-addons' ); ?></option>
254
+ <?php elseif ( 'wpr_tab_product_archive' === $active_tab ): ?>
255
+ <option value="products"><?php esc_html_e( 'Products Archive', 'wpr-addons' ); ?></option>
256
+ <option value="product_cat" class="custom-type-ids"><?php esc_html_e( 'Products Categories (Pro)', 'wpr-addons' ); ?></option>
257
+ <option value="product_tag" class="custom-type-ids"><?php esc_html_e( 'Products Tags (Pro)', 'wpr-addons' ); ?></option>
258
+ <?php endif; ?>
259
+ <?php endif; ?>
260
+ </select>
261
+
262
+ <!-- Single -->
263
+ <select name="singles_condition_select" class="singles-condition-select">
264
+ <?php if ( 'wpr_tab_header' === $active_tab || 'wpr_tab_footer' === $active_tab ) : ?>
265
+ <option value="front_page"><?php esc_html_e( 'Front Page (Pro)', 'wpr-addons' ); ?></option>
266
+ <option value="page_404"><?php esc_html_e( '404 Page (Pro)', 'wpr-addons' ); ?></option>
267
+ <option value="pages" class="custom-ids"><?php esc_html_e( 'Pages (Pro)', 'wpr-addons' ); ?></option>
268
+ <option value="posts" class="custom-ids"><?php esc_html_e( 'Posts (Pro)', 'wpr-addons' ); ?></option>
269
+ <?php // Custom Post Types
270
+ $custom_taxonomies = Utilities::get_custom_types_of( 'post', true );
271
+ foreach ($custom_taxonomies as $key => $value) {
272
+ echo '<option value="'. esc_attr($key) .'" class="custom-type-ids">'. esc_html($value) .' (Pro)</option>';
273
+ }
274
+ ?>
275
+ <?php else: ?>
276
+ <?php if ( 'wpr_tab_single' === $active_tab ) : ?>
277
+ <option value="front_page"><?php esc_html_e( 'Front Page', 'wpr-addons' ); ?></option>
278
+ <option value="page_404"><?php esc_html_e( '404 Page', 'wpr-addons' ); ?></option>
279
+ <option value="pages" class="custom-ids"><?php esc_html_e( 'Pages', 'wpr-addons' ); ?></option>
280
+ <option value="posts" class="custom-ids"><?php esc_html_e( 'Posts', 'wpr-addons' ); ?></option>
281
+ <?php elseif ( 'wpr_tab_product_single' === $active_tab ): ?>
282
+ <option value="product" class="custom-type-ids"><?php esc_html_e( 'Products', 'wpr-addons' ); ?></option>
283
+ <?php endif; ?>
284
+ <?php endif; ?>
285
+ </select>
286
+
287
+ <input type="text" placeholder="<?php esc_html_e( 'Enter comma separated IDs (Pro)', 'wpr-addons' ); ?>" name="condition_input_ids" class="wpr-condition-input-ids">
288
+ <span class="wpr-delete-template-conditions dashicons dashicons-no-alt"></span>
289
+
290
+ <?php endif; ?>
291
+ </div>
292
+ </div>
293
+
294
+ <?php if ( $canvas ) : ?>
295
+ <div class="wpr-canvas-condition wpr-setting-custom-ckbox">
296
+ <span><?php esc_html_e( 'Show this template on Elementor Canvas pages', 'wpr-addons' ); ?></span>
297
+ <input type="checkbox" name="wpr-show-on-canvas" id="wpr-show-on-canvas">
298
+ <label for="wpr-show-on-canvas"></label>
299
+ </div>
300
+ <?php endif; ?>
301
+
302
+ <?php
303
+
304
+
305
+ // Pro Notice
306
+ if ( ! wpr_fs()->can_use_premium_code() ) {
307
+ echo '<span style="color: #7f8b96;"><br>Conditions are fully suppoted in the <strong><a href="https://royal-elementor-addons.com/?ref=rea-plugin-backend-conditions-upgrade-pro#purchasepro" target="_blank">Pro version</a></strong></span>';
308
+ // echo '<span style="color: #7f8b96;"><br>Conditions are fully suppoted in the <strong><a href="'. admin_url('admin.php?page=wpr-addons-pricing') .'" target="_blank">Pro version</a></strong></span>';
309
+ }
310
+
311
+ ?>
312
+
313
+ <!-- Action Buttons -->
314
+ <span class="wpr-add-conditions"><?php esc_html_e( 'Add Conditions', 'wpr-addons' ); ?></span>
315
+ <span class="wpr-save-conditions"><?php esc_html_e( 'Save Conditions', 'wpr-addons' ); ?></span>
316
+
317
+ </div>
318
+ </div>
319
+
320
+ <?php
321
+ }
322
+
323
+
324
+ /**
325
+ ** Render Create Template Popup
326
+ */
327
+ public static function render_create_template_popup() {
328
+ ?>
329
+
330
+ <!-- Custom Template Popup -->
331
+ <div class="wpr-user-template-popup-wrap wpr-admin-popup-wrap">
332
+ <div class="wpr-user-template-popup wpr-admin-popup">
333
+ <header>
334
+ <h2><?php esc_html_e( 'Templates Help You Work Efficiently!', 'wpr-addons' ); ?></h2>
335
+ <p><?php esc_html_e( 'Use templates to create the different pieces of your site, and reuse them with one click whenever needed.', 'wpr-addons' ); ?></p>
336
+ </header>
337
+
338
+ <input type="text" name="user_template_title" class="wpr-user-template-title" placeholder="<?php esc_html_e( 'Enter Template Title', 'wpr-addons' ); ?>">
339
+ <input type="hidden" name="user_template_type" class="user-template-type">
340
+ <span class="wpr-create-template"><?php esc_html_e( 'Create Template', 'wpr-addons' ); ?></span>
341
+ <span class="close-popup dashicons dashicons-no-alt"></span>
342
+ </div>
343
+ </div>
344
+
345
+ <?php
346
+ }
347
+
348
+ /**
349
+ ** Check if Library Template Exists
350
+ */
351
+ public static function template_exists( $slug ) {
352
+ $result = false;
353
+ $wpr_templates = get_posts( ['post_type' => 'wpr_templates', 'posts_per_page' => '-1'] );
354
+
355
+ foreach ( $wpr_templates as $post ) {
356
+
357
+ if ( $slug === $post->post_name ) {
358
+ $result = true;
359
+ }
360
+ }
361
+
362
+ return $result;
363
+ }
364
+
365
  }
admin/includes/wpr-templates-shortcode.php CHANGED
@@ -1,67 +1,67 @@
1
- <?php
2
-
3
- namespace WprAddons\Admin\Includes;
4
-
5
- use Elementor;
6
-
7
- if ( ! defined( 'ABSPATH' ) ) {
8
- exit; // Exit if accessed directly.
9
- }
10
-
11
- /**
12
- * WPR_Templates_Shortcode setup
13
- *
14
- * @since 1.0
15
- */
16
- class WPR_Templates_Shortcode {
17
-
18
- public function __construct() {
19
- add_shortcode( 'wpr-template', [ $this, 'shortcode' ] );
20
-
21
- add_action('elementor/element/after_section_start', [ $this, 'extend_shortcode' ], 10, 3 );
22
- }
23
-
24
- public function shortcode( $attributes = [] ) {
25
- if ( empty( $attributes['id'] ) ) {
26
- return '';
27
- }
28
-
29
- $edit_link = '<span class="wpr-template-edit-btn" data-permalink="'. esc_url(get_permalink($attributes['id'])) .'">Edit Template</span>';
30
-
31
- return Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $attributes['id'], true ) . $edit_link;
32
- }
33
-
34
- public function extend_shortcode( $section, $section_id, $args ) {
35
- if ( $section->get_name() == 'shortcode' && $section_id == 'section_shortcode' ) {
36
- $templates_select = [];
37
-
38
- // Get All Templates
39
- $templates = get_posts( [
40
- 'post_type' => array( 'elementor_library' ),
41
- 'post_status' => array( 'publish' ),
42
- 'meta_key' => '_elementor_template_type',
43
- 'meta_value' => ['page', 'section'],
44
- 'numberposts' => -1
45
- ] );
46
-
47
- if ( ! empty( $templates ) ) {
48
- foreach ( $templates as $template ) {
49
- $templates_select[$template->ID] = $template->post_title;
50
- }
51
- }
52
-
53
- $section->add_control(
54
- 'select_template' ,
55
- [
56
- 'label' => esc_html__( 'Select Template', 'wpr-addons' ),
57
- 'type' => Elementor\Controls_Manager::SELECT2,
58
- 'options' => $templates_select,
59
- ]
60
- );
61
-
62
- // Restore original Post Data
63
- wp_reset_postdata();
64
- }
65
- }
66
-
67
  }
1
+ <?php
2
+
3
+ namespace WprAddons\Admin\Includes;
4
+
5
+ use Elementor;
6
+
7
+ if ( ! defined( 'ABSPATH' ) ) {
8
+ exit; // Exit if accessed directly.
9
+ }
10
+
11
+ /**
12
+ * WPR_Templates_Shortcode setup
13
+ *
14
+ * @since 1.0
15
+ */
16
+ class WPR_Templates_Shortcode {
17
+
18
+ public function __construct() {
19
+ add_shortcode( 'wpr-template', [ $this, 'shortcode' ] );
20
+
21
+ add_action('elementor/element/after_section_start', [ $this, 'extend_shortcode' ], 10, 3 );
22
+ }
23
+
24
+ public function shortcode( $attributes = [] ) {
25
+ if ( empty( $attributes['id'] ) ) {
26
+ return '';
27
+ }
28
+
29
+ $edit_link = '<span class="wpr-template-edit-btn" data-permalink="'. esc_url(get_permalink($attributes['id'])) .'">Edit Template</span>';
30
+
31
+ return Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $attributes['id'], true ) . $edit_link;
32
+ }
33
+
34
+ public function extend_shortcode( $section, $section_id, $args ) {
35
+ if ( $section->get_name() == 'shortcode' && $section_id == 'section_shortcode' ) {
36
+ $templates_select = [];
37
+
38
+ // Get All Templates
39
+ $templates = get_posts( [
40
+ 'post_type' => array( 'elementor_library' ),
41
+ 'post_status' => array( 'publish' ),
42
+ 'meta_key' => '_elementor_template_type',
43
+ 'meta_value' => ['page', 'section'],
44
+ 'numberposts' => -1
45
+ ] );
46
+
47
+ if ( ! empty( $templates ) ) {
48
+ foreach ( $templates as $template ) {
49
+ $templates_select[$template->ID] = $template->post_title;
50
+ }
51
+ }
52
+
53
+ $section->add_control(
54
+ 'select_template' ,
55
+ [
56
+ 'label' => esc_html__( 'Select Template', 'wpr-addons' ),
57
+ 'type' => Elementor\Controls_Manager::SELECT2,
58
+ 'options' => $templates_select,
59
+ ]
60
+ );
61
+
62
+ // Restore original Post Data
63
+ wp_reset_postdata();
64
+ }
65
+ }
66
+
67
  }
admin/plugin-options.php CHANGED
@@ -1,529 +1,547 @@
1
- <?php
2
-
3
- if ( ! defined( 'ABSPATH' ) ) {
4
- exit; // Exit if accessed directly.
5
- }
6
-
7
- use WprAddons\Admin\Includes\WPR_Templates_Loop;
8
- use WprAddonsPro\Admin\Wpr_White_Label;
9
- use WprAddons\Classes\Utilities;
10
-
11
- // Register Menus
12
- function wpr_addons_add_admin_menu() {
13
- $menu_icon = !empty(get_option('wpr_wl_plugin_logo')) ? 'dashicons-admin-generic' : 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTciIGhlaWdodD0iNzUiIHZpZXdCb3g9IjAgMCA5NyA3NSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTAuMDM2NDA4NiAyMy4yODlDLTAuNTc1NDkgMTguNTIxIDYuNjg4NzMgMTYuMzY2NiA5LjU0OSAyMC40Njc4TDQyLjgzNjUgNjguMTk3MkM0NC45MTgxIDcxLjE4MiA0Mi40NDk0IDc1IDM4LjQzNzggNzVIMTEuMjc1NkM4LjY1NDc1IDc1IDYuNDUyNjQgNzMuMjg1NSA2LjE2MTcgNzEuMDE4NEwwLjAzNjQwODYgMjMuMjg5WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTk2Ljk2MzYgMjMuMjg5Qzk3LjU3NTUgMTguNTIxIDkwLjMxMTMgMTYuMzY2NiA4Ny40NTEgMjAuNDY3OEw1NC4xNjM1IDY4LjE5NzJDNTIuMDgxOCA3MS4xODIgNTQuNTUwNiA3NSA1OC41NjIyIDc1SDg1LjcyNDRDODguMzQ1MiA3NSA5MC41NDc0IDczLjI4NTUgOTAuODM4MyA3MS4wMTg0TDk2Ljk2MzYgMjMuMjg5WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTUzLjI0MTIgNC40ODUyN0M1My4yNDEyIC0wLjI3MDc2MSA0NS44NDg1IC0xLjc0ODAzIDQzLjQ2NTEgMi41MzE3NEw2LjY4OTkxIDY4LjU2NzdDNS4wMzM0OSA3MS41NDIxIDcuNTIyNzIgNzUgMTEuMzIwMyA3NUg0OC4wOTU1QzUwLjkzNzQgNzUgNTMuMjQxMiA3Mi45OTQ4IDUzLjI0MTIgNzAuNTIxMlY0LjQ4NTI3WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTQzLjc1ODggNC40ODUyN0M0My43NTg4IC0wLjI3MDc2MSA1MS4xNTE1IC0xLjc0ODAzIDUzLjUzNDkgMi41MzE3NEw5MC4zMTAxIDY4LjU2NzdDOTEuOTY2NSA3MS41NDIxIDg5LjQ3NzMgNzUgODUuNjc5NyA3NUg0OC45MDQ1QzQ2LjA2MjYgNzUgNDMuNzU4OCA3Mi45OTQ4IDQzLjc1ODggNzAuNTIxMlY0LjQ4NTI3WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==';
14
- add_menu_page( Utilities::get_plugin_name(), Utilities::get_plugin_name(), 'manage_options', 'wpr-addons', 'wpr_addons_settings_page', $menu_icon, '58.6' );
15
-
16
- add_action( 'admin_init', 'wpr_register_addons_settings' );
17
- add_filter( 'plugin_action_links_royal-elementor-addons/wpr-addons.php', 'wpr_settings_link' );
18
- }
19
- add_action( 'admin_menu', 'wpr_addons_add_admin_menu' );
20
-
21
- // Add Settings page link to plugins screen
22
- function wpr_settings_link( $links ) {
23
- $settings_link = '<a href="admin.php?page=wpr-addons">Settings</a>';
24
- array_push( $links, $settings_link );
25
-
26
- if ( !is_plugin_installed('wpr-addons-pro/wpr-addons-pro.php') ) {
27
- $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>';
28
- }
29
-
30
- return $links;
31
- }
32
-
33
- function is_plugin_installed($file) {
34
- $installed_plugins = [];
35
-
36
- foreach( get_plugins() as $slug => $plugin_info ) {
37
- array_push($installed_plugins, $slug);
38
- }
39
-
40
- if ( in_array($file, $installed_plugins) ) {
41
- return true;
42
- } else {
43
- return false;
44
- }
45
- }
46
-
47
- // Register Settings
48
- function wpr_register_addons_settings() {
49
- // WooCommerce
50
- register_setting( 'wpr-settings', 'wpr_woo_shop_ppp' );
51
- register_setting( 'wpr-settings', 'wpr_woo_shop_cat_ppp' );
52
- register_setting( 'wpr-settings', 'wpr_woo_shop_tag_ppp' );
53
-
54
- // Integrations
55
- register_setting( 'wpr-settings', 'wpr_google_map_api_key' );
56
- register_setting( 'wpr-settings', 'wpr_mailchimp_api_key' );
57
-
58
- // Lightbox
59
- register_setting( 'wpr-settings', 'wpr_lb_bg_color' );
60
- register_setting( 'wpr-settings', 'wpr_lb_toolbar_color' );
61
- register_setting( 'wpr-settings', 'wpr_lb_caption_color' );
62
- register_setting( 'wpr-settings', 'wpr_lb_gallery_color' );
63
- register_setting( 'wpr-settings', 'wpr_lb_pb_color' );
64
- register_setting( 'wpr-settings', 'wpr_lb_ui_color' );
65
- register_setting( 'wpr-settings', 'wpr_lb_ui_hr_color' );
66
- register_setting( 'wpr-settings', 'wpr_lb_text_color' );
67
- register_setting( 'wpr-settings', 'wpr_lb_icon_size' );
68
- register_setting( 'wpr-settings', 'wpr_lb_arrow_size' );
69
- register_setting( 'wpr-settings', 'wpr_lb_text_size' );
70
-
71
- // White Label
72
- register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_logo' );
73
- register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_name' );
74
- register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_desc' );
75
- register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_author' );
76
- register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_website' );
77
- register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_links' );
78
- register_setting( 'wpr-wh-settings', 'wpr_wl_hide_elements_tab' );
79
- register_setting( 'wpr-wh-settings', 'wpr_wl_hide_extensions_tab' );
80
- register_setting( 'wpr-wh-settings', 'wpr_wl_hide_settings_tab' );
81
- register_setting( 'wpr-wh-settings', 'wpr_wl_hide_white_label_tab' );
82
-
83
- // Extensions
84
- register_setting('wpr-extension-settings', 'wpr-particles');
85
- register_setting('wpr-extension-settings', 'wpr-parallax-background');
86
- register_setting('wpr-extension-settings', 'wpr-parallax-multi-layer');
87
- register_setting('wpr-extension-settings', 'wpr-sticky-section');
88
- // register_setting('wpr-extension-settings', 'wpr-reading-progress-bar');
89
-
90
- // Element Toggle
91
- register_setting( 'wpr-elements-settings', 'wpr-element-toggle-all', [ 'default' => 'on' ] );
92
-
93
- // Widgets
94
- foreach ( Utilities::get_registered_modules() as $title => $data ) {
95
- $slug = $data[0];
96
- register_setting( 'wpr-elements-settings', 'wpr-element-'. $slug, [ 'default' => 'on' ] );
97
- }
98
-
99
- // Theme Builder
100
- foreach ( Utilities::get_theme_builder_modules() as $title => $data ) {
101
- $slug = $data[0];
102
- register_setting( 'wpr-elements-settings', 'wpr-element-'. $slug, [ 'default' => 'on' ] );
103
- }
104
-
105
-
106
- // WooCommerce Builder
107
- foreach ( Utilities::get_woocommerce_builder_modules() as $title => $data ) {
108
- $slug = $data[0];
109
- register_setting( 'wpr-elements-settings', 'wpr-element-'. $slug, [ 'default' => 'on' ] );
110
- }
111
-
112
- }
113
-
114
- function wpr_addons_settings_page() {
115
-
116
- ?>
117
-
118
- <div class="wrap wpr-settings-page-wrap">
119
-
120
- <div class="wpr-settings-page-header">
121
- <h1><?php echo esc_html(Utilities::get_plugin_name(true)); ?></h1>
122
- <p><?php esc_html_e( 'The most powerful Elementor Addons in the universe.', 'wpr-addons' ); ?></p>
123
-
124
- <?php if ( empty(get_option('wpr_wl_plugin_links')) ) : ?>
125
- <div class="wpr-preview-buttons">
126
- <a href="https://royal-elementor-addons.com/?ref=rea-plugin-backend-plugin-prev-btn#widgets" target="_blank" class="button wpr-options-button">
127
- <span><?php echo esc_html__( 'View Plugin Demo', 'wpr-addons' ); ?></span>
128
- <span class="dashicons dashicons-external"></span>
129
- </a>
130
-
131
- <a href="https://www.youtube.com/watch?v=rkYQfn3tUc0" class="wpr-options-button button" target="_blank">
132
- <?php echo esc_html__( 'How to use Widgets', 'wpr-addons' ); ?>
133
- <span class="dashicons dashicons-video-alt3"></span>
134
- </a>
135
- </div>
136
- <?php endif; ?>
137
- </div>
138
-
139
- <div class="wpr-settings-page">
140
- <form method="post" action="options.php">
141
- <?php
142
-
143
- // Active Tab
144
- if ( empty(get_option('wpr_wl_hide_elements_tab')) ) {
145
- $active_tab = isset( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'wpr_tab_elements';
146
- } elseif ( empty(get_option('wpr_wl_hide_extensions_tab')) ) {
147
- $active_tab = isset( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'wpr_tab_extensions';
148
- } elseif ( empty(get_option('wpr_wl_hide_settings_tab')) ) {
149
- $active_tab = isset( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'wpr_tab_settings';
150
- } elseif ( empty(get_option('wpr_wl_hide_white_label_tab')) ) {
151
- $active_tab = isset( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'wpr_tab_white_label';
152
- }
153
-
154
-
155
- // Render Create Templte Popup
156
- WPR_Templates_Loop::render_create_template_popup();
157
-
158
- ?>
159
-
160
- <!-- Tabs -->
161
- <div class="nav-tab-wrapper wpr-nav-tab-wrapper">
162
- <?php if ( empty(get_option('wpr_wl_hide_elements_tab')) ) : ?>
163
- <a href="?page=wpr-addons&tab=wpr_tab_elements" data-title="Elements" class="nav-tab <?php echo ($active_tab == 'wpr_tab_elements') ? 'nav-tab-active' : ''; ?>">
164
- <?php esc_html_e( 'Widgets', 'wpr-addons' ); ?>
165
- </a>
166
- <?php endif; ?>
167
-
168
- <?php if ( empty(get_option('wpr_wl_hide_extensions_tab')) ) : ?>
169
- <a href="?page=wpr-addons&tab=wpr_tab_extensions" data-title="Extensions" class="nav-tab <?php echo ($active_tab == 'wpr_tab_extensions') ? 'nav-tab-active' : ''; ?>">
170
- <?php esc_html_e( 'Extensions', 'wpr-addons' ); ?>
171
- </a>
172
- <?php endif; ?>
173
-
174
- <?php if ( empty(get_option('wpr_wl_hide_settings_tab')) ) : ?>
175
- <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' : ''; ?>">
176
- <?php esc_html_e( 'Settings', 'wpr-addons' ); ?>
177
- </a>
178
- <?php endif; ?>
179
-
180
- <?php // White Label
181
- echo !empty(get_option('wpr_wl_hide_white_label_tab')) ? '<div style="display: none;">' : '<div>';
182
- do_action('wpr_white_label_tab');
183
- echo '</div>';
184
- ?>
185
- </div>
186
-
187
- <?php if ( $active_tab == 'wpr_tab_elements' ) : ?>
188
-
189
- <?php
190
-
191
- // Settings
192
- settings_fields( 'wpr-elements-settings' );
193
- do_settings_sections( 'wpr-elements-settings' );
194
-
195
- ?>
196
-
197
- <div class="wpr-elements-toggle">
198
- <div>
199
- <h3><?php esc_html_e( 'Toggle all Widgets', 'wpr-addons' ); ?></h3>
200
- <input type="checkbox" name="wpr-element-toggle-all" id="wpr-element-toggle-all" <?php checked( get_option('wpr-element-toggle-all', 'on'), 'on', true ); ?>>
201
- <label for="wpr-element-toggle-all"></label>
202
- </div>
203
- <p><?php esc_html_e( 'You can disable some widgets for faster page speed.', 'wpr-addons' ); ?></p>
204
- </div>
205
- <div class="wpr-elements">
206
- <?php
207
- foreach ( Utilities::get_registered_modules() as $title => $data ) {
208
- $slug = $data[0];
209
- $url = $data[1];
210
- $reff = '?ref=rea-plugin-backend-elements-widget-prev'. $data[2];
211
- $class = 'new' === $data[3] ? ' wpr-new-element' : '';
212
-
213
- echo '<div class="wpr-element'. esc_attr($class) .'">';
214
- echo '<div class="wpr-element-info">';
215
- echo '<h3>'. esc_html($title) .'</h3>';
216
- echo '<input type="checkbox" name="wpr-element-'. esc_attr($slug) .'" id="wpr-element-'. esc_attr($slug) .'" '. checked( get_option('wpr-element-'. $slug, 'on'), 'on', false ) .'>';
217
- echo '<label for="wpr-element-'. esc_attr($slug) .'"></label>';
218
- echo ( '' !== $url && empty(get_option('wpr_wl_plugin_links')) ) ? '<a href="'. esc_url($url . $reff) .'" target="_blank">'. esc_html__('View Widget Demo', 'wpr-addons') .'</a>' : '';
219
- echo '</div>';
220
- echo '</div>';
221
- }
222
- ?>
223
- </div>
224
-
225
- <div class="wpr-elements-heading">
226
- <h3><?php esc_html_e( 'Theme Builder Widgets', 'wpr-addons' ); ?></h3>
227
- <p><?php esc_html_e( 'Post (CPT) Archive Pages, Post (CPT) Single Pages', 'wpr-addons' ); ?></p>
228
- </div>
229
- <div class="wpr-elements">
230
- <?php
231
- foreach ( Utilities::get_theme_builder_modules() as $title => $data ) {
232
- $slug = $data[0];
233
- $url = $data[1];
234
- $reff = '?ref=rea-plugin-backend-elements-widget-prev'. $data[2];
235
- $class = 'new' === $data[3] ? ' wpr-new-element' : '';
236
-
237
- echo '<div class="wpr-element'. esc_attr($class) .'">';
238
- echo '<div class="wpr-element-info">';
239
- echo '<h3>'. esc_html($title) .'</h3>';
240
- echo '<input type="checkbox" name="wpr-element-'. esc_attr($slug) .'" id="wpr-element-'. esc_attr($slug) .'" '. checked( get_option('wpr-element-'. $slug, 'on'), 'on', false ) .'>';
241
- echo '<label for="wpr-element-'. esc_attr($slug) .'"></label>';
242
- echo ( '' !== $url && empty(get_option('wpr_wl_plugin_links')) ) ? '<a href="'. esc_url($url . $reff) .'" target="_blank">'. esc_html__('View Widget Demo', 'wpr-addons') .'</a>' : '';
243
- echo '</div>';
244
- echo '</div>';
245
- }
246
- ?>
247
- </div>
248
-
249
- <div class="wpr-elements-heading">
250
- <h3><?php esc_html_e( 'WooCommerce Builder Widgets', 'wpr-addons' ); ?></h3>
251
- <p><?php esc_html_e( 'Product Archive Pages, Product Single Pages. Cart, Checkout and My Account Pages', 'wpr-addons' ); ?></p>
252
- </div>
253
- <div class="wpr-elements">
254
- <?php
255
- $woocommerce_builder_modules = Utilities::get_woocommerce_builder_modules();
256
- $premium_woo_modules = [
257
- 'Product Filters' => ['product-filters-pro', 'https://royal-elementor-addons.com/?ref=rea-plugin-backend-elements-woo-prodfilter-widgets-pro#purchasepro', '', 'pro'],
258
- 'Product Breadcrumbs' => ['product-breadcrumbs-pro', 'https://royal-elementor-addons.com/?ref=rea-plugin-backend-elements-woo-breadcru-widgets-pro#purchasepro', '', 'pro'],
259
- 'Page My Account' => ['page-my-account-pro', 'https://royal-elementor-addons.com/?ref=rea-plugin-backend-elements-woo-myacc-widgets-pro#purchasepro', '', 'pro'],
260
- 'Woo Category Grid' => ['woo-category-grid-pro', 'https://royal-elementor-addons.com/?ref=rea-plugin-backend-elements-woo-catgrid-widgets-pro#purchasepro', '', 'pro'],
261
- ];
262
-
263
- foreach ( array_merge($woocommerce_builder_modules, $premium_woo_modules) as $title => $data ) {
264
- $slug = $data[0];
265
- $url = $data[1];
266
- $reff = '?ref=rea-plugin-backend-elements-widget-prev'. $data[1];
267
- $class = 'new' === $data[3] ? 'wpr-new-element' : '';
268
- $class = ('pro' === $data[3] && !wpr_fs()->can_use_premium_code()) ? 'wpr-pro-element' : '';
269
- $default_value = class_exists( 'WooCommerce' ) ? 'on' : 'off';
270
-
271
- if ( 'wpr-pro-element' === $class ) {
272
- $default_value = 'off';
273
- $reff = '';
274
- }
275
-
276
- echo '<div class="wpr-element '. esc_attr($class) .'">';
277
- echo '<a href="'. esc_url($url . $reff) .'" target="_blank"></a>';
278
- echo '<div class="wpr-element-info">';
279
- echo '<h3>'. esc_html($title) .'</h3>';
280
- echo '<input type="checkbox" name="wpr-element-'. esc_attr($slug) .'" id="wpr-element-'. esc_attr($slug) .'" '. checked( get_option('wpr-element-'. $slug, $default_value), 'on', false ) .'>';
281
- echo '<label for="wpr-element-'. esc_attr($slug) .'"></label>';
282
- // echo ( '' !== $url && empty(get_option('wpr_wl_plugin_links')) ) ? '<a href="'. esc_url($url . $reff) .'" target="_blank">'. esc_html__('View Widget Demo', 'wpr-addons') .'</a>' : '';
283
- echo '</div>';
284
- echo '</div>';
285
- }
286
- ?>
287
- </div>
288
-
289
- <?php submit_button( '', 'wpr-options-button' ); ?>
290
-
291
- <?php elseif ( $active_tab == 'wpr_tab_settings' ) : ?>
292
-
293
- <?php
294
-
295
- // Settings
296
- settings_fields( 'wpr-settings' );
297
- do_settings_sections( 'wpr-settings' );
298
-
299
- ?>
300
-
301
- <div class="wpr-settings">
302
-
303
- <?php submit_button( '', 'wpr-options-button' ); ?>
304
-
305
- <div class="wpr-settings-group">
306
- <h3 class="wpr-settings-group-title"><?php esc_html_e( 'WooCommerce', 'wpr-addons' ); ?></h3>
307
-
308
- <?php if ( !wpr_fs()->can_use_premium_code() ) : ?>
309
- <a href="https://royal-elementor-addons.com/?ref=rea-plugin-backend-settings-woo-pro#purchasepro" class="wpr-settings-pro-overlay" target="_blank">
310
- <span class="dashicons dashicons-lock"></span>
311
- <span class="dashicons dashicons-unlock"></span>
312
- <span><?php esc_html_e( 'Upgrade to Pro', 'wpr-addons' ); ?></span>
313
- </a>
314
- <div class="wpr-setting">
315
- <h4>
316
- <span><?php esc_html_e( 'Shop Page: Products Per Page', 'wpr-addons' ); ?></span>
317
- <br>
318
- </h4>
319
- <input type="text" value="9">
320
- </div>
321
- <div class="wpr-setting">
322
- <h4>
323
- <span><?php esc_html_e( 'Product Category: Products Per Page', 'wpr-addons' ); ?></span>
324
- <br>
325
- </h4>
326
- <input type="text" value="9">
327
- </div>
328
- <div class="wpr-setting">
329
- <h4>
330
- <span><?php esc_html_e( 'Product Tag: Products Per Page', 'wpr-addons' ); ?></span>
331
- <br>
332
- </h4>
333
- <input type="text" value="9">
334
- </div>
335
- <?php else: ?>
336
- <?php do_action('wpr_woocommerce_settings'); ?>
337
- <?php endif; ?>
338
- </div>
339
-
340
- <div class="wpr-settings-group">
341
- <h3 class="wpr-settings-group-title"><?php esc_html_e( 'Integrations', 'wpr-addons' ); ?></h3>
342
-
343
- <div class="wpr-setting">
344
- <h4>
345
- <span><?php esc_html_e( 'Google Map API Key', 'wpr-addons' ); ?></span>
346
- <br>
347
- <a href="https://www.youtube.com/watch?v=O5cUoVpVUjU" target="_blank"><?php esc_html_e( 'How to get Google Map API Key?', 'wpr-addons' ); ?></a>
348
- </h4>
349
-
350
- <input type="text" name="wpr_google_map_api_key" id="wpr_google_map_api_key" value="<?php echo esc_attr(get_option('wpr_google_map_api_key')); ?>">
351
- </div>
352
-
353
- <div class="wpr-setting">
354
- <h4>
355
- <span><?php esc_html_e( 'MailChimp API Key', 'wpr-addons' ); ?></span>
356
- <br>
357
- <a href="https://mailchimp.com/help/about-api-keys/" target="_blank"><?php esc_html_e( 'How to get MailChimp API Key?', 'wpr-addons' ); ?></a>
358
- </h4>
359
-
360
- <input type="text" name="wpr_mailchimp_api_key" id="wpr_mailchimp_api_key" value="<?php echo esc_attr(get_option('wpr_mailchimp_api_key')); ?>">
361
- </div>
362
- </div>
363
-
364
- <div class="wpr-settings-group">
365
- <h3 class="wpr-settings-group-title"><?php esc_html_e( 'Lightbox', 'wpr-addons' ); ?></h3>
366
-
367
- <div class="wpr-setting">
368
- <h4><?php esc_html_e( 'Background Color', 'wpr-addons' ); ?></h4>
369
- <input type="text" name="wpr_lb_bg_color" id="wpr_lb_bg_color" data-alpha="true" value="<?php echo esc_attr(get_option('wpr_lb_bg_color','rgba(0,0,0,0.6)')); ?>">
370
- </div>
371
-
372
- <div class="wpr-setting">
373
- <h4><?php esc_html_e( 'Toolbar BG Color', 'wpr-addons' ); ?></h4>
374
- <input type="text" name="wpr_lb_toolbar_color" id="wpr_lb_toolbar_color" data-alpha="true" value="<?php echo esc_attr(get_option('wpr_lb_toolbar_color','rgba(0,0,0,0.8)')); ?>">
375
- </div>
376
-
377
- <div class="wpr-setting">
378
- <h4><?php esc_html_e( 'Caption BG Color', 'wpr-addons' ); ?></h4>
379
- <input type="text" name="wpr_lb_caption_color" id="wpr_lb_caption_color" data-alpha="true" value="<?php echo esc_attr(get_option('wpr_lb_caption_color','rgba(0,0,0,0.8)')); ?>">
380
- </div>
381
-
382
- <div class="wpr-setting">
383
- <h4><?php esc_html_e( 'Gallery BG Color', 'wpr-addons' ); ?></h4>
384
- <input type="text" name="wpr_lb_gallery_color" id="wpr_lb_gallery_color" data-alpha="true" value="<?php echo esc_attr(get_option('wpr_lb_gallery_color','#444444')); ?>">
385
- </div>
386
-
387
- <div class="wpr-setting">
388
- <h4><?php esc_html_e( 'Progress Bar Color', 'wpr-addons' ); ?></h4>
389
- <input type="text" name="wpr_lb_pb_color" id="wpr_lb_pb_color" data-alpha="true" value="<?php echo esc_attr(get_option('wpr_lb_pb_color','#a90707')); ?>">
390
- </div>
391
-
392
- <div class="wpr-setting">
393
- <h4><?php esc_html_e( 'UI Color', 'wpr-addons' ); ?></h4>
394
- <input type="text" name="wpr_lb_ui_color" id="wpr_lb_ui_color" data-alpha="true" value="<?php echo esc_attr(get_option('wpr_lb_ui_color','#efefef')); ?>">
395
- </div>
396
-
397
- <div class="wpr-setting">
398
- <h4><?php esc_html_e( 'UI Hover Color', 'wpr-addons' ); ?></h4>
399
- <input type="text" name="wpr_lb_ui_hr_color" id="wpr_lb_ui_hr_color" data-alpha="true" value="<?php echo esc_attr(get_option('wpr_lb_ui_hr_color','#ffffff')); ?>">
400
- </div>
401
-
402
- <div class="wpr-setting">
403
- <h4><?php esc_html_e( 'Text Color', 'wpr-addons' ); ?></h4>
404
- <input type="text" name="wpr_lb_text_color" id="wpr_lb_text_color" data-alpha="true" value="<?php echo esc_attr(get_option('wpr_lb_text_color','#efefef')); ?>">
405
- </div>
406
-
407
- <div class="wpr-setting">
408
- <h4><?php esc_html_e( 'UI Icon Size', 'wpr-addons' ); ?></h4>
409
- <input type="number" name="wpr_lb_icon_size" id="wpr_lb_icon_size" value="<?php echo esc_attr(get_option('wpr_lb_icon_size','20')); ?>">
410
- </div>
411
-
412
- <div class="wpr-setting">
413
- <h4><?php esc_html_e( 'Navigation Arrow Size', 'wpr-addons' ); ?></h4>
414
- <input type="number" name="wpr_lb_arrow_size" id="wpr_lb_arrow_size" value="<?php echo esc_attr(get_option('wpr_lb_arrow_size','35')); ?>">
415
- </div>
416
-
417
- <div class="wpr-setting">
418
- <h4><?php esc_html_e( 'Text Size', 'wpr-addons' ); ?></h4>
419
- <input type="number" name="wpr_lb_text_size" id="wpr_lb_text_size" value="<?php echo esc_attr(get_option('wpr_lb_text_size','14')); ?>">
420
- </div>
421
- </div>
422
-
423
- <?php submit_button( '', 'wpr-options-button' ); ?>
424
-
425
- </div>
426
-
427
- <?php elseif ( $active_tab == 'wpr_tab_extensions' ) :
428
-
429
- // Extensions
430
- settings_fields( 'wpr-extension-settings' );
431
- do_settings_sections( 'wpr-extension-settings' );
432
-
433
- global $new_allowed_options;
434
-
435
- // array of option names
436
- $option_names = $new_allowed_options[ 'wpr-extension-settings' ];
437
-
438
- echo '<div class="wpr-elements">';
439
-
440
- foreach ($option_names as $option_name) {
441
- $option_title = ucwords( preg_replace( '/-/i', ' ', preg_replace('/wpr-||-toggle/i', '', $option_name ) ));
442
-
443
- echo '<div class="wpr-element">';
444
- echo '<div class="wpr-element-info">';
445
- echo '<h3>'. esc_html($option_title) .'</h3>';
446
- echo '<input type="checkbox" name="'. esc_attr($option_name) .'" id="'. esc_attr($option_name) .'" '. checked( get_option(''. $option_name .'', 'on'), 'on', false ) .'>';
447
- echo '<label for="'. esc_attr($option_name) .'"></label>';
448
-
449
- if ( 'wpr-parallax-background' === $option_name ) {
450
- echo '<br><span>Tip: Edit any Section > Navigate to Style tab</span>';
451
- echo '<a href="https://www.youtube.com/watch?v=DcDeQ__lJbw" target="_blank">Watch Video Tutorial</a>';
452
- } elseif ( 'wpr-parallax-multi-layer' === $option_name ) {
453
- echo '<br><span>Tip: Edit any Section > Navigate to Style tab</span>';
454
- echo '<a href="https://youtu.be/DcDeQ__lJbw?t=121" target="_blank">Watch Video Tutorial</a>';
455
- } elseif ( 'wpr-particles' === $option_name ) {
456
- echo '<br><span>Tip: Edit any Section > Navigate to Style tab</span>';
457
- echo '<a href="https://www.youtube.com/watch?v=8OdnaoFSj94" target="_blank">Watch Video Tutorial</a>';
458
- } elseif ( 'wpr-sticky-section' === $option_name ) {
459
- echo '<br><span>Tip: Edit any Section > Navigate to Advanced tab</span>';
460
- echo '<a href="https://www.youtube.com/watch?v=at0CPKtklF0&t=375s" target="_blank">Watch Video Tutorial</a>';
461
- }
462
-
463
- // echo '<a href="https://royal-elementor-addons.com/elementor-particle-effects/?ref=rea-plugin-backend-extentions-prev">'. esc_html('View Extension Demo', 'wpr-addons') .'</a>';
464
- echo '</div>';
465
- echo '</div>';
466
- }
467
-
468
- echo '</div>';
469
-
470
- submit_button( '', 'wpr-options-button' );
471
-
472
- elseif ( $active_tab == 'wpr_tab_white_label' ) :
473
-
474
- do_action('wpr_white_label_tab_content');
475
-
476
- endif; ?>
477
-
478
- </form>
479
- </div>
480
-
481
- </div>
482
-
483
-
484
- <?php
485
-
486
- } // End wpr_addons_settings_page()
487
-
488
-
489
-
490
- // Add Support Sub Menu item that will redirect to wp.org
491
- function wpr_addons_add_support_menu() {
492
- add_submenu_page( 'wpr-addons', 'Support', 'Support', 'manage_options', 'wpr-support', 'wpr_addons_support_page', 99 );
493
- }
494
- add_action( 'admin_menu', 'wpr_addons_add_support_menu', 99 );
495
-
496
- function wpr_addons_support_page() {}
497
-
498
- function wpr_redirect_support_page() {
499
- ?>
500
- <script type="text/javascript">
501
- jQuery(document).ready( function($) {
502
- $( 'ul#adminmenu a[href*="page=wpr-support"]' ).attr('href', 'https://wordpress.org/support/plugin/royal-elementor-addons/').attr( 'target', '_blank' );
503
- });
504
- </script>
505
- <?php
506
- }
507
- add_action( 'admin_head', 'wpr_redirect_support_page' );
508
-
509
-
510
- // Add Upgrade Sub Menu item that will redirect to royal-elementor-addons.com
511
- function wpr_addons_add_upgrade_menu() {
512
- if ( defined('WPR_ADDONS_PRO_VERSION') ) return;
513
- add_submenu_page( 'wpr-addons', 'Upgrade', 'Upgrade', 'manage_options', 'wpr-upgrade', 'wpr_addons_upgrade_page', 99 );
514
- }
515
- add_action( 'admin_menu', 'wpr_addons_add_upgrade_menu', 99 );
516
-
517
- function wpr_addons_upgrade_page() {}
518
-
519
- function wpr_redirect_upgrade_page() {
520
- ?>
521
- <script type="text/javascript">
522
- jQuery(document).ready( function($) {
523
- $( 'ul#adminmenu a[href*="page=wpr-upgrade"]' ).attr('href', 'https://royal-elementor-addons.com/?ref=rea-plugin-backend-menu-upgrade-pro#purchasepro').attr( 'target', '_blank' );
524
- $( 'ul#adminmenu a[href*="#purchasepro"]' ).css('color', 'greenyellow');
525
- });
526
- </script>
527
- <?php
528
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
529
  add_action( 'admin_head', 'wpr_redirect_upgrade_page' );
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ use WprAddons\Admin\Includes\WPR_Templates_Loop;
8
+ use WprAddonsPro\Admin\Wpr_White_Label;
9
+ use WprAddons\Classes\Utilities;
10
+
11
+ // Register Menus
12
+ function wpr_addons_add_admin_menu() {
13
+ $menu_icon = !empty(get_option('wpr_wl_plugin_logo')) ? 'dashicons-admin-generic' : 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTciIGhlaWdodD0iNzUiIHZpZXdCb3g9IjAgMCA5NyA3NSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTAuMDM2NDA4NiAyMy4yODlDLTAuNTc1NDkgMTguNTIxIDYuNjg4NzMgMTYuMzY2NiA5LjU0OSAyMC40Njc4TDQyLjgzNjUgNjguMTk3MkM0NC45MTgxIDcxLjE4MiA0Mi40NDk0IDc1IDM4LjQzNzggNzVIMTEuMjc1NkM4LjY1NDc1IDc1IDYuNDUyNjQgNzMuMjg1NSA2LjE2MTcgNzEuMDE4NEwwLjAzNjQwODYgMjMuMjg5WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTk2Ljk2MzYgMjMuMjg5Qzk3LjU3NTUgMTguNTIxIDkwLjMxMTMgMTYuMzY2NiA4Ny40NTEgMjAuNDY3OEw1NC4xNjM1IDY4LjE5NzJDNTIuMDgxOCA3MS4xODIgNTQuNTUwNiA3NSA1OC41NjIyIDc1SDg1LjcyNDRDODguMzQ1MiA3NSA5MC41NDc0IDczLjI4NTUgOTAuODM4MyA3MS4wMTg0TDk2Ljk2MzYgMjMuMjg5WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTUzLjI0MTIgNC40ODUyN0M1My4yNDEyIC0wLjI3MDc2MSA0NS44NDg1IC0xLjc0ODAzIDQzLjQ2NTEgMi41MzE3NEw2LjY4OTkxIDY4LjU2NzdDNS4wMzM0OSA3MS41NDIxIDcuNTIyNzIgNzUgMTEuMzIwMyA3NUg0OC4wOTU1QzUwLjkzNzQgNzUgNTMuMjQxMiA3Mi45OTQ4IDUzLjI0MTIgNzAuNTIxMlY0LjQ4NTI3WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTQzLjc1ODggNC40ODUyN0M0My43NTg4IC0wLjI3MDc2MSA1MS4xNTE1IC0xLjc0ODAzIDUzLjUzNDkgMi41MzE3NEw5MC4zMTAxIDY4LjU2NzdDOTEuOTY2NSA3MS41NDIxIDg5LjQ3NzMgNzUgODUuNjc5NyA3NUg0OC45MDQ1QzQ2LjA2MjYgNzUgNDMuNzU4OCA3Mi45OTQ4IDQzLjc1ODggNzAuNTIxMlY0LjQ4NTI3WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==';
14
+ add_menu_page( Utilities::get_plugin_name(), Utilities::get_plugin_name(), 'manage_options', 'wpr-addons', 'wpr_addons_settings_page', $menu_icon, '58.6' );
15
+
16
+ add_action( 'admin_init', 'wpr_register_addons_settings' );
17
+ add_filter( 'plugin_action_links_royal-elementor-addons/wpr-addons.php', 'wpr_settings_link' );
18
+ }
19
+ add_action( 'admin_menu', 'wpr_addons_add_admin_menu' );
20
+
21
+ // Add Settings page link to plugins screen
22
+ function wpr_settings_link( $links ) {
23
+ $settings_link = '<a href="admin.php?page=wpr-addons">Settings</a>';
24
+ array_push( $links, $settings_link );
25
+
26
+ if ( !is_plugin_installed('wpr-addons-pro/wpr-addons-pro.php') ) {
27
+ $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>';
28
+ }
29
+
30
+ return $links;
31
+ }
32
+
33
+ function is_plugin_installed($file) {
34
+ $installed_plugins = [];
35
+
36
+ foreach( get_plugins() as $slug => $plugin_info ) {
37
+ array_push($installed_plugins, $slug);
38
+ }
39
+
40
+ if ( in_array($file, $installed_plugins) ) {
41
+ return true;
42
+ } else {
43
+ return false;
44
+ }
45
+ }
46
+
47
+ // Register Settings
48
+ function wpr_register_addons_settings() {
49
+ // WooCommerce
50
+ register_setting( 'wpr-settings', 'wpr_override_woo_templates' );
51
+ register_setting( 'wpr-settings', 'wpr_woo_shop_ppp' );
52
+ register_setting( 'wpr-settings', 'wpr_woo_shop_cat_ppp' );
53
+ register_setting( 'wpr-settings', 'wpr_woo_shop_tag_ppp' );
54
+
55
+ // Integrations
56
+ register_setting( 'wpr-settings', 'wpr_google_map_api_key' );
57
+ register_setting( 'wpr-settings', 'wpr_mailchimp_api_key' );
58
+
59
+ // Lightbox
60
+ register_setting( 'wpr-settings', 'wpr_lb_bg_color' );
61
+ register_setting( 'wpr-settings', 'wpr_lb_toolbar_color' );
62
+ register_setting( 'wpr-settings', 'wpr_lb_caption_color' );
63
+ register_setting( 'wpr-settings', 'wpr_lb_gallery_color' );
64
+ register_setting( 'wpr-settings', 'wpr_lb_pb_color' );
65
+ register_setting( 'wpr-settings', 'wpr_lb_ui_color' );
66
+ register_setting( 'wpr-settings', 'wpr_lb_ui_hr_color' );
67
+ register_setting( 'wpr-settings', 'wpr_lb_text_color' );
68
+ register_setting( 'wpr-settings', 'wpr_lb_icon_size' );
69
+ register_setting( 'wpr-settings', 'wpr_lb_arrow_size' );
70
+ register_setting( 'wpr-settings', 'wpr_lb_text_size' );
71
+
72
+ // White Label
73
+ register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_logo' );
74
+ register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_name' );
75
+ register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_desc' );
76
+ register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_author' );
77
+ register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_website' );
78
+ register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_links' );
79
+ register_setting( 'wpr-wh-settings', 'wpr_wl_hide_elements_tab' );
80
+ register_setting( 'wpr-wh-settings', 'wpr_wl_hide_extensions_tab' );
81
+ register_setting( 'wpr-wh-settings', 'wpr_wl_hide_settings_tab' );
82
+ register_setting( 'wpr-wh-settings', 'wpr_wl_hide_white_label_tab' );
83
+
84
+ // Extensions
85
+ register_setting('wpr-extension-settings', 'wpr-particles');
86
+ register_setting('wpr-extension-settings', 'wpr-parallax-background');
87
+ register_setting('wpr-extension-settings', 'wpr-parallax-multi-layer');
88
+ register_setting('wpr-extension-settings', 'wpr-sticky-section');
89
+ // register_setting('wpr-extension-settings', 'wpr-reading-progress-bar');
90
+
91
+ // Element Toggle
92
+ register_setting( 'wpr-elements-settings', 'wpr-element-toggle-all', [ 'default' => 'on' ] );
93
+
94
+ // Widgets
95
+ foreach ( Utilities::get_registered_modules() as $title => $data ) {
96
+ $slug = $data[0];
97
+ register_setting( 'wpr-elements-settings', 'wpr-element-'. $slug, [ 'default' => 'on' ] );
98
+ }
99
+
100
+ // Theme Builder
101
+ foreach ( Utilities::get_theme_builder_modules() as $title => $data ) {
102
+ $slug = $data[0];
103
+ register_setting( 'wpr-elements-settings', 'wpr-element-'. $slug, [ 'default' => 'on' ] );
104
+ }
105
+
106
+
107
+ // WooCommerce Builder
108
+ foreach ( Utilities::get_woocommerce_builder_modules() as $title => $data ) {
109
+ $slug = $data[0];
110
+ register_setting( 'wpr-elements-settings', 'wpr-element-'. $slug, [ 'default' => 'on' ] );
111
+ }
112
+
113
+ }
114
+
115
+ function wpr_addons_settings_page() {
116
+
117
+ ?>
118
+
119
+ <div class="wrap wpr-settings-page-wrap">
120
+
121
+ <div class="wpr-settings-page-header">
122
+ <h1><?php echo esc_html(Utilities::get_plugin_name(true)); ?></h1>
123
+ <p><?php esc_html_e( 'The most powerful Elementor Addons in the universe.', 'wpr-addons' ); ?></p>
124
+
125
+ <?php if ( empty(get_option('wpr_wl_plugin_links')) ) : ?>
126
+ <div class="wpr-preview-buttons">
127
+ <a href="https://royal-elementor-addons.com/?ref=rea-plugin-backend-plugin-prev-btn#widgets" target="_blank" class="button wpr-options-button">
128
+ <span><?php echo esc_html__( 'View Plugin Demo', 'wpr-addons' ); ?></span>
129
+ <span class="dashicons dashicons-external"></span>
130
+ </a>
131
+
132
+ <a href="https://www.youtube.com/watch?v=rkYQfn3tUc0" class="wpr-options-button button" target="_blank">
133
+ <?php echo esc_html__( 'How to use Widgets', 'wpr-addons' ); ?>
134
+ <span class="dashicons dashicons-video-alt3"></span>
135
+ </a>
136
+ </div>
137
+ <?php endif; ?>
138
+ </div>
139
+
140
+ <div class="wpr-settings-page">
141
+ <form method="post" action="options.php">
142
+ <?php
143
+
144
+ // Active Tab
145
+ if ( empty(get_option('wpr_wl_hide_elements_tab')) ) {
146
+ $active_tab = isset( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'wpr_tab_elements';
147
+ } elseif ( empty(get_option('wpr_wl_hide_extensions_tab')) ) {
148
+ $active_tab = isset( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'wpr_tab_extensions';
149
+ } elseif ( empty(get_option('wpr_wl_hide_settings_tab')) ) {
150
+ $active_tab = isset( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'wpr_tab_settings';
151
+ } elseif ( empty(get_option('wpr_wl_hide_white_label_tab')) ) {
152
+ $active_tab = isset( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'wpr_tab_white_label';
153
+ }
154
+
155
+
156
+ // Render Create Templte Popup
157
+ WPR_Templates_Loop::render_create_template_popup();
158
+
159
+ ?>
160
+
161
+ <!-- Tabs -->
162
+ <div class="nav-tab-wrapper wpr-nav-tab-wrapper">
163
+ <?php if ( empty(get_option('wpr_wl_hide_elements_tab')) ) : ?>
164
+ <a href="?page=wpr-addons&tab=wpr_tab_elements" data-title="Elements" class="nav-tab <?php echo ($active_tab == 'wpr_tab_elements') ? 'nav-tab-active' : ''; ?>">
165
+ <?php esc_html_e( 'Widgets', 'wpr-addons' ); ?>
166
+ </a>
167
+ <?php endif; ?>
168
+
169
+ <?php if ( empty(get_option('wpr_wl_hide_extensions_tab')) ) : ?>
170
+ <a href="?page=wpr-addons&tab=wpr_tab_extensions" data-title="Extensions" class="nav-tab <?php echo ($active_tab == 'wpr_tab_extensions') ? 'nav-tab-active' : ''; ?>">
171
+ <?php esc_html_e( 'Extensions', 'wpr-addons' ); ?>
172
+ </a>
173
+ <?php endif; ?>
174
+
175
+ <?php if ( empty(get_option('wpr_wl_hide_settings_tab')) ) : ?>
176
+ <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' : ''; ?>">
177
+ <?php esc_html_e( 'Settings', 'wpr-addons' ); ?>
178
+ </a>
179
+ <?php endif; ?>
180
+
181
+ <?php // White Label
182
+ echo !empty(get_option('wpr_wl_hide_white_label_tab')) ? '<div style="display: none;">' : '<div>';
183
+ do_action('wpr_white_label_tab');
184
+ echo '</div>';
185
+ ?>
186
+ </div>
187
+
188
+ <?php if ( $active_tab == 'wpr_tab_elements' ) : ?>
189
+
190
+ <?php
191
+
192
+ // Settings
193
+ settings_fields( 'wpr-elements-settings' );
194
+ do_settings_sections( 'wpr-elements-settings' );
195
+
196
+ ?>
197
+
198
+ <div class="wpr-elements-toggle">
199
+ <div>
200
+ <h3><?php esc_html_e( 'Toggle all Widgets', 'wpr-addons' ); ?></h3>
201
+ <input type="checkbox" name="wpr-element-toggle-all" id="wpr-element-toggle-all" <?php checked( get_option('wpr-element-toggle-all', 'on'), 'on', true ); ?>>
202
+ <label for="wpr-element-toggle-all"></label>
203
+ </div>
204
+ <p><?php esc_html_e( 'You can disable some widgets for faster page speed.', 'wpr-addons' ); ?></p>
205
+ </div>
206
+ <div class="wpr-elements">
207
+ <?php
208
+ foreach ( Utilities::get_registered_modules() as $title => $data ) {
209
+ $slug = $data[0];
210
+ $url = $data[1];
211
+ $reff = '?ref=rea-plugin-backend-elements-widget-prev'. $data[2];
212
+ $class = 'new' === $data[3] ? ' wpr-new-element' : '';
213
+
214
+ echo '<div class="wpr-element'. esc_attr($class) .'">';
215
+ echo '<div class="wpr-element-info">';
216
+ echo '<h3>'. esc_html($title) .'</h3>';
217
+ echo '<input type="checkbox" name="wpr-element-'. esc_attr($slug) .'" id="wpr-element-'. esc_attr($slug) .'" '. checked( get_option('wpr-element-'. $slug, 'on'), 'on', false ) .'>';
218
+ echo '<label for="wpr-element-'. esc_attr($slug) .'"></label>';
219
+ echo ( '' !== $url && empty(get_option('wpr_wl_plugin_links')) ) ? '<a href="'. esc_url($url . $reff) .'" target="_blank">'. esc_html__('View Widget Demo', 'wpr-addons') .'</a>' : '';
220
+ echo '</div>';
221
+ echo '</div>';
222
+ }
223
+ ?>
224
+ </div>
225
+
226
+ <div class="wpr-elements-heading">
227
+ <h3><?php esc_html_e( 'Theme Builder Widgets', 'wpr-addons' ); ?></h3>
228
+ <p><?php esc_html_e( 'Post (CPT) Archive Pages, Post (CPT) Single Pages', 'wpr-addons' ); ?></p>
229
+ </div>
230
+ <div class="wpr-elements">
231
+ <?php
232
+ foreach ( Utilities::get_theme_builder_modules() as $title => $data ) {
233
+ $slug = $data[0];
234
+ $url = $data[1];
235
+ $reff = '?ref=rea-plugin-backend-elements-widget-prev'. $data[2];
236
+ $class = 'new' === $data[3] ? ' wpr-new-element' : '';
237
+
238
+ echo '<div class="wpr-element'. esc_attr($class) .'">';
239
+ echo '<div class="wpr-element-info">';
240
+ echo '<h3>'. esc_html($title) .'</h3>';
241
+ echo '<input type="checkbox" name="wpr-element-'. esc_attr($slug) .'" id="wpr-element-'. esc_attr($slug) .'" '. checked( get_option('wpr-element-'. $slug, 'on'), 'on', false ) .'>';
242
+ echo '<label for="wpr-element-'. esc_attr($slug) .'"></label>';
243
+ echo ( '' !== $url && empty(get_option('wpr_wl_plugin_links')) ) ? '<a href="'. esc_url($url . $reff) .'" target="_blank">'. esc_html__('View Widget Demo', 'wpr-addons') .'</a>' : '';
244
+ echo '</div>';
245
+ echo '</div>';
246
+ }
247
+ ?>
248
+ </div>
249
+
250
+ <div class="wpr-elements-heading">
251
+ <h3><?php esc_html_e( 'WooCommerce Builder Widgets', 'wpr-addons' ); ?></h3>
252
+ <p><?php esc_html_e( 'Product Archive Pages, Product Single Pages. Cart, Checkout and My Account Pages', 'wpr-addons' ); ?></p>
253
+ <?php if (!class_exists('WooCommerce')) : ?>
254
+ <p class='wpr-install-activate-woocommerce'><span class="dashicons dashicons-info-outline"></span> <?php esc_html_e( 'Install/Activate WooCommerce to use these widgets', 'wpr-addons' ); ?></p>
255
+ <?php endif; ?>
256
+ </div>
257
+ <div class="wpr-elements">
258
+ <?php
259
+ $woocommerce_builder_modules = Utilities::get_woocommerce_builder_modules();
260
+ $premium_woo_modules = [
261
+ 'Product Filters' => ['product-filters-pro', 'https://royal-elementor-addons.com/?ref=rea-plugin-backend-elements-woo-prodfilter-widgets-pro#purchasepro', '', 'pro'],
262
+ 'Product Breadcrumbs' => ['product-breadcrumbs-pro', 'https://royal-elementor-addons.com/?ref=rea-plugin-backend-elements-woo-breadcru-widgets-pro#purchasepro', '', 'pro'],
263
+ 'Page My Account' => ['page-my-account-pro', 'https://royal-elementor-addons.com/?ref=rea-plugin-backend-elements-woo-myacc-widgets-pro#purchasepro', '', 'pro'],
264
+ 'Woo Category Grid' => ['woo-category-grid-pro', 'https://royal-elementor-addons.com/?ref=rea-plugin-backend-elements-woo-catgrid-widgets-pro#purchasepro', '', 'pro'],
265
+ ];
266
+
267
+ foreach ( array_merge($woocommerce_builder_modules, $premium_woo_modules) as $title => $data ) {
268
+ $slug = $data[0];
269
+ $url = $data[1];
270
+ $reff = '?ref=rea-plugin-backend-elements-widget-prev'. $data[1];
271
+ $class = 'new' === $data[3] ? 'wpr-new-element' : '';
272
+ $class = ('pro' === $data[3] && !wpr_fs()->can_use_premium_code()) ? 'wpr-pro-element' : '';
273
+ $default_value = class_exists( 'WooCommerce' ) ? 'on' : 'off';
274
+
275
+ if ( 'wpr-pro-element' === $class ) {
276
+ $default_value = 'off';
277
+ $reff = '';
278
+ }
279
+
280
+ echo '<div class="wpr-element '. esc_attr($class) .'">';
281
+ echo '<a href="'. esc_url($url . $reff) .'" target="_blank"></a>';
282
+ echo '<div class="wpr-element-info">';
283
+ echo '<h3>'. esc_html($title) .'</h3>';
284
+ echo '<input type="checkbox" name="wpr-element-'. esc_attr($slug) .'" id="wpr-element-'. esc_attr($slug) .'" '. checked( get_option('wpr-element-'. $slug, $default_value), 'on', false ) .'>';
285
+ echo '<label for="wpr-element-'. esc_attr($slug) .'"></label>';
286
+ // echo ( '' !== $url && empty(get_option('wpr_wl_plugin_links')) ) ? '<a href="'. esc_url($url . $reff) .'" target="_blank">'. esc_html__('View Widget Demo', 'wpr-addons') .'</a>' : '';
287
+ echo '</div>';
288
+ echo '</div>';
289
+ }
290
+ ?>
291
+ </div>
292
+
293
+ <?php submit_button( '', 'wpr-options-button' ); ?>
294
+
295
+ <?php elseif ( $active_tab == 'wpr_tab_settings' ) : ?>
296
+
297
+ <?php
298
+
299
+ // Settings
300
+ settings_fields( 'wpr-settings' );
301
+ do_settings_sections( 'wpr-settings' );
302
+
303
+ ?>
304
+
305
+ <div class="wpr-settings">
306
+
307
+ <?php submit_button( '', 'wpr-options-button' ); ?>
308
+
309
+ <div class="wpr-settings-group wpr-settings-group-woo">
310
+ <h3 class="wpr-settings-group-title"><?php esc_html_e( 'WooCommerce', 'wpr-addons' ); ?></h3>
311
+
312
+ <div class="wpr-settings-group-inner" style="position: relative;">
313
+
314
+ <?php if ( !wpr_fs()->can_use_premium_code() ) : ?>
315
+ <a href="https://royal-elementor-addons.com/?ref=rea-plugin-backend-settings-woo-pro#purchasepro" class="wpr-settings-pro-overlay" target="_blank">
316
+ <span class="dashicons dashicons-lock"></span>
317
+ <span class="dashicons dashicons-unlock"></span>
318
+ <span><?php esc_html_e( 'Upgrade to Pro', 'wpr-addons' ); ?></span>
319
+ </a>
320
+ <div class="wpr-setting">
321
+ <h4>
322
+ <span><?php esc_html_e( 'Shop Page: Products Per Page', 'wpr-addons' ); ?></span>
323
+ <br>
324
+ </h4>
325
+ <input type="text" value="9">
326
+ </div>
327
+ <div class="wpr-setting">
328
+ <h4>
329
+ <span><?php esc_html_e( 'Product Category: Products Per Page', 'wpr-addons' ); ?></span>
330
+ <br>
331
+ </h4>
332
+ <input type="text" value="9">
333
+ </div>
334
+ <div class="wpr-setting">
335
+ <h4>
336
+ <span><?php esc_html_e( 'Product Tag: Products Per Page', 'wpr-addons' ); ?></span>
337
+ <br>
338
+ </h4>
339
+ <input type="text" value="9">
340
+ </div>
341
+ <?php else: ?>
342
+ <?php do_action('wpr_woocommerce_settings'); ?>
343
+ <?php endif; ?>
344
+
345
+ </div>
346
+
347
+ <div class="wpr-woo-template-info">
348
+ <div class="wpr-woo-template-title">
349
+ <h3>Royal Templates</h3>
350
+ <span>Enable/Disable Royal addons Cart, Minicart, Notifications Templates</span>
351
+ </div>
352
+ <input type="checkbox" name="wpr_override_woo_templates" id="wpr_override_woo_templates" <?php echo checked( get_option('wpr_override_woo_templates', 'on'), 'on', false ); ?>>
353
+ <label for="wpr_override_woo_templates"></label>
354
+ </div>
355
+
356
+ </div>
357
+
358
+ <div class="wpr-settings-group">
359
+ <h3 class="wpr-settings-group-title"><?php esc_html_e( 'Integrations', 'wpr-addons' ); ?></h3>
360
+
361
+ <div class="wpr-setting">
362
+ <h4>
363
+ <span><?php esc_html_e( 'Google Map API Key', 'wpr-addons' ); ?></span>
364
+ <br>
365
+ <a href="https://www.youtube.com/watch?v=O5cUoVpVUjU" target="_blank"><?php esc_html_e( 'How to get Google Map API Key?', 'wpr-addons' ); ?></a>
366
+ </h4>
367
+
368
+ <input type="text" name="wpr_google_map_api_key" id="wpr_google_map_api_key" value="<?php echo esc_attr(get_option('wpr_google_map_api_key')); ?>">
369
+ </div>
370
+
371
+ <div class="wpr-setting">
372
+ <h4>
373
+ <span><?php esc_html_e( 'MailChimp API Key', 'wpr-addons' ); ?></span>
374
+ <br>
375
+ <a href="https://mailchimp.com/help/about-api-keys/" target="_blank"><?php esc_html_e( 'How to get MailChimp API Key?', 'wpr-addons' ); ?></a>
376
+ </h4>
377
+
378
+ <input type="text" name="wpr_mailchimp_api_key" id="wpr_mailchimp_api_key" value="<?php echo esc_attr(get_option('wpr_mailchimp_api_key')); ?>">
379
+ </div>
380
+ </div>
381
+
382
+ <div class="wpr-settings-group">
383
+ <h3 class="wpr-settings-group-title"><?php esc_html_e( 'Lightbox', 'wpr-addons' ); ?></h3>
384
+
385
+ <div class="wpr-setting">
386
+ <h4><?php esc_html_e( 'Background Color', 'wpr-addons' ); ?></h4>
387
+ <input type="text" name="wpr_lb_bg_color" id="wpr_lb_bg_color" data-alpha="true" value="<?php echo esc_attr(get_option('wpr_lb_bg_color','rgba(0,0,0,0.6)')); ?>">
388
+ </div>
389
+
390
+ <div class="wpr-setting">
391
+ <h4><?php esc_html_e( 'Toolbar BG Color', 'wpr-addons' ); ?></h4>
392
+ <input type="text" name="wpr_lb_toolbar_color" id="wpr_lb_toolbar_color" data-alpha="true" value="<?php echo esc_attr(get_option('wpr_lb_toolbar_color','rgba(0,0,0,0.8)')); ?>">
393
+ </div>
394
+
395
+ <div class="wpr-setting">
396
+ <h4><?php esc_html_e( 'Caption BG Color', 'wpr-addons' ); ?></h4>
397
+ <input type="text" name="wpr_lb_caption_color" id="wpr_lb_caption_color" data-alpha="true" value="<?php echo esc_attr(get_option('wpr_lb_caption_color','rgba(0,0,0,0.8)')); ?>">
398
+ </div>
399
+
400
+ <div class="wpr-setting">
401
+ <h4><?php esc_html_e( 'Gallery BG Color', 'wpr-addons' ); ?></h4>
402
+ <input type="text" name="wpr_lb_gallery_color" id="wpr_lb_gallery_color" data-alpha="true" value="<?php echo esc_attr(get_option('wpr_lb_gallery_color','#444444')); ?>">
403
+ </div>
404
+
405
+ <div class="wpr-setting">
406
+ <h4><?php esc_html_e( 'Progress Bar Color', 'wpr-addons' ); ?></h4>
407
+ <input type="text" name="wpr_lb_pb_color" id="wpr_lb_pb_color" data-alpha="true" value="<?php echo esc_attr(get_option('wpr_lb_pb_color','#a90707')); ?>">
408
+ </div>
409
+
410
+ <div class="wpr-setting">
411
+ <h4><?php esc_html_e( 'UI Color', 'wpr-addons' ); ?></h4>
412
+ <input type="text" name="wpr_lb_ui_color" id="wpr_lb_ui_color" data-alpha="true" value="<?php echo esc_attr(get_option('wpr_lb_ui_color','#efefef')); ?>">
413
+ </div>
414
+
415
+ <div class="wpr-setting">
416
+ <h4><?php esc_html_e( 'UI Hover Color', 'wpr-addons' ); ?></h4>
417
+ <input type="text" name="wpr_lb_ui_hr_color" id="wpr_lb_ui_hr_color" data-alpha="true" value="<?php echo esc_attr(get_option('wpr_lb_ui_hr_color','#ffffff')); ?>">
418
+ </div>
419
+
420
+ <div class="wpr-setting">
421
+ <h4><?php esc_html_e( 'Text Color', 'wpr-addons' ); ?></h4>
422
+ <input type="text" name="wpr_lb_text_color" id="wpr_lb_text_color" data-alpha="true" value="<?php echo esc_attr(get_option('wpr_lb_text_color','#efefef')); ?>">
423
+ </div>
424
+
425
+ <div class="wpr-setting">
426
+ <h4><?php esc_html_e( 'UI Icon Size', 'wpr-addons' ); ?></h4>
427
+ <input type="number" name="wpr_lb_icon_size" id="wpr_lb_icon_size" value="<?php echo esc_attr(get_option('wpr_lb_icon_size','20')); ?>">
428
+ </div>
429
+
430
+ <div class="wpr-setting">
431
+ <h4><?php esc_html_e( 'Navigation Arrow Size', 'wpr-addons' ); ?></h4>
432
+ <input type="number" name="wpr_lb_arrow_size" id="wpr_lb_arrow_size" value="<?php echo esc_attr(get_option('wpr_lb_arrow_size','35')); ?>">
433
+ </div>
434
+
435
+ <div class="wpr-setting">
436
+ <h4><?php esc_html_e( 'Text Size', 'wpr-addons' ); ?></h4>
437
+ <input type="number" name="wpr_lb_text_size" id="wpr_lb_text_size" value="<?php echo esc_attr(get_option('wpr_lb_text_size','14')); ?>">
438
+ </div>
439
+ </div>
440
+
441
+ <?php submit_button( '', 'wpr-options-button' ); ?>
442
+
443
+ </div>
444
+
445
+ <?php elseif ( $active_tab == 'wpr_tab_extensions' ) :
446
+
447
+ // Extensions
448
+ settings_fields( 'wpr-extension-settings' );
449
+ do_settings_sections( 'wpr-extension-settings' );
450
+
451
+ global $new_allowed_options;
452
+
453
+ // array of option names
454
+ $option_names = $new_allowed_options[ 'wpr-extension-settings' ];
455
+
456
+ echo '<div class="wpr-elements">';
457
+
458
+ foreach ($option_names as $option_name) {
459
+ $option_title = ucwords( preg_replace( '/-/i', ' ', preg_replace('/wpr-||-toggle/i', '', $option_name ) ));
460
+
461
+ echo '<div class="wpr-element">';
462
+ echo '<div class="wpr-element-info">';
463
+ echo '<h3>'. esc_html($option_title) .'</h3>';
464
+ echo '<input type="checkbox" name="'. esc_attr($option_name) .'" id="'. esc_attr($option_name) .'" '. checked( get_option(''. $option_name .'', 'on'), 'on', false ) .'>';
465
+ echo '<label for="'. esc_attr($option_name) .'"></label>';
466
+
467
+ if ( 'wpr-parallax-background' === $option_name ) {
468
+ echo '<br><span>Tip: Edit any Section > Navigate to Style tab</span>';
469
+ echo '<a href="https://www.youtube.com/watch?v=DcDeQ__lJbw" target="_blank">Watch Video Tutorial</a>';
470
+ } elseif ( 'wpr-parallax-multi-layer' === $option_name ) {
471
+ echo '<br><span>Tip: Edit any Section > Navigate to Style tab</span>';
472
+ echo '<a href="https://youtu.be/DcDeQ__lJbw?t=121" target="_blank">Watch Video Tutorial</a>';
473
+ } elseif ( 'wpr-particles' === $option_name ) {
474
+ echo '<br><span>Tip: Edit any Section > Navigate to Style tab</span>';
475
+ echo '<a href="https://www.youtube.com/watch?v=8OdnaoFSj94" target="_blank">Watch Video Tutorial</a>';
476
+ } elseif ( 'wpr-sticky-section' === $option_name ) {
477
+ echo '<br><span>Tip: Edit any Section > Navigate to Advanced tab</span>';
478
+ echo '<a href="https://www.youtube.com/watch?v=at0CPKtklF0&t=375s" target="_blank">Watch Video Tutorial</a>';
479
+ }
480
+
481
+ // echo '<a href="https://royal-elementor-addons.com/elementor-particle-effects/?ref=rea-plugin-backend-extentions-prev">'. esc_html('View Extension Demo', 'wpr-addons') .'</a>';
482
+ echo '</div>';
483
+ echo '</div>';
484
+ }
485
+
486
+ echo '</div>';
487
+
488
+ submit_button( '', 'wpr-options-button' );
489
+
490
+ elseif ( $active_tab == 'wpr_tab_white_label' ) :
491
+
492
+ do_action('wpr_white_label_tab_content');
493
+
494
+ endif; ?>
495
+
496
+ </form>
497
+ </div>
498
+
499
+ </div>
500
+
501
+
502
+ <?php
503
+
504
+ } // End wpr_addons_settings_page()
505
+
506
+
507
+
508
+ // Add Support Sub Menu item that will redirect to wp.org
509
+ function wpr_addons_add_support_menu() {
510
+ add_submenu_page( 'wpr-addons', 'Support', 'Support', 'manage_options', 'wpr-support', 'wpr_addons_support_page', 99 );
511
+ }
512
+ add_action( 'admin_menu', 'wpr_addons_add_support_menu', 99 );
513
+
514
+ function wpr_addons_support_page() {}
515
+
516
+ function wpr_redirect_support_page() {
517
+ ?>
518
+ <script type="text/javascript">
519
+ jQuery(document).ready( function($) {
520
+ $( 'ul#adminmenu a[href*="page=wpr-support"]' ).attr('href', 'https://wordpress.org/support/plugin/royal-elementor-addons/').attr( 'target', '_blank' );
521
+ });
522
+ </script>
523
+ <?php
524
+ }
525
+ add_action( 'admin_head', 'wpr_redirect_support_page' );
526
+
527
+
528
+ // Add Upgrade Sub Menu item that will redirect to royal-elementor-addons.com
529
+ function wpr_addons_add_upgrade_menu() {
530
+ if ( defined('WPR_ADDONS_PRO_VERSION') ) return;
531
+ add_submenu_page( 'wpr-addons', 'Upgrade', 'Upgrade', 'manage_options', 'wpr-upgrade', 'wpr_addons_upgrade_page', 99 );
532
+ }
533
+ add_action( 'admin_menu', 'wpr_addons_add_upgrade_menu', 99 );
534
+
535
+ function wpr_addons_upgrade_page() {}
536
+
537
+ function wpr_redirect_upgrade_page() {
538
+ ?>
539
+ <script type="text/javascript">
540
+ jQuery(document).ready( function($) {
541
+ $( 'ul#adminmenu a[href*="page=wpr-upgrade"]' ).attr('href', 'https://royal-elementor-addons.com/?ref=rea-plugin-backend-menu-upgrade-pro#purchasepro').attr( 'target', '_blank' );
542
+ $( 'ul#adminmenu a[href*="#purchasepro"]' ).css('color', 'greenyellow');
543
+ });
544
+ </script>
545
+ <?php
546
+ }
547
  add_action( 'admin_head', 'wpr_redirect_upgrade_page' );
admin/premade-blocks.php CHANGED
@@ -1,39 +1,39 @@
1
- <?php
2
-
3
- if ( ! defined( 'ABSPATH' ) ) {
4
- exit; // Exit if accessed directly.
5
- }
6
-
7
- use WprAddons\Admin\Templates\WPR_Templates_Data;
8
- use WprAddons\Admin\Templates\WPR_Templates_Library_Blocks;
9
- use WprAddons\Classes\Utilities;
10
- use Elementor\Plugin;
11
-
12
- // Register Menus
13
- function wpr_addons_add_premade_blocks_menu() {
14
- add_submenu_page( 'wpr-addons', 'Premade Blocks', 'Premade Blocks', 'manage_options', 'wpr-premade-blocks', 'wpr_addons_premade_blocks_page' );
15
- }
16
- add_action( 'admin_menu', 'wpr_addons_add_premade_blocks_menu' );
17
-
18
- /**
19
- ** Render Premade Blocks Page
20
- */
21
- function wpr_addons_premade_blocks_page() {
22
-
23
- ?>
24
-
25
- <div class="wpr-premade-blocks-page">
26
-
27
- <div class="wpr-settings-page-header">
28
- <h1><?php echo esc_html(Utilities::get_plugin_name(true)); ?></h1>
29
- <p><?php esc_html_e( 'The most powerful Elementor Addons in the universe.', 'wpr-addons' ); ?></p>
30
- </div>
31
-
32
- <?php WPR_Templates_Library_Blocks::render_library_templates_blocks(); ?>
33
-
34
- </div>
35
-
36
-
37
- <?php
38
-
39
- } // End wpr_addons_premade_blocks_page()
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ use WprAddons\Admin\Templates\WPR_Templates_Data;
8
+ use WprAddons\Admin\Templates\WPR_Templates_Library_Blocks;
9
+ use WprAddons\Classes\Utilities;
10
+ use Elementor\Plugin;
11
+
12
+ // Register Menus
13
+ function wpr_addons_add_premade_blocks_menu() {
14
+ add_submenu_page( 'wpr-addons', 'Premade Blocks', 'Premade Blocks', 'manage_options', 'wpr-premade-blocks', 'wpr_addons_premade_blocks_page' );
15
+ }
16
+ add_action( 'admin_menu', 'wpr_addons_add_premade_blocks_menu' );
17
+
18
+ /**
19
+ ** Render Premade Blocks Page
20
+ */
21
+ function wpr_addons_premade_blocks_page() {
22
+
23
+ ?>
24
+
25
+ <div class="wpr-premade-blocks-page">
26
+
27
+ <div class="wpr-settings-page-header">
28
+ <h1><?php echo esc_html(Utilities::get_plugin_name(true)); ?></h1>
29
+ <p><?php esc_html_e( 'The most powerful Elementor Addons in the universe.', 'wpr-addons' ); ?></p>
30
+ </div>
31
+
32
+ <?php WPR_Templates_Library_Blocks::render_library_templates_blocks(); ?>
33
+
34
+ </div>
35
+
36
+
37
+ <?php
38
+
39
+ } // End wpr_addons_premade_blocks_page()
admin/templates-kit.php CHANGED
@@ -1,619 +1,619 @@
1
- <?php
2
-
3
- if ( ! defined( 'ABSPATH' ) ) {
4
- exit; // Exit if accessed directly.
5
- }
6
-
7
- use WprAddons\Admin\Templates\WPR_Templates_Data;
8
- use WprAddons\Classes\Utilities;
9
- use Elementor\Plugin;
10
-
11
- // Register Menus
12
- function wpr_addons_add_templates_kit_menu() {
13
- add_submenu_page( 'wpr-addons', 'Templates Kit', 'Templates Kit', 'manage_options', 'wpr-templates-kit', 'wpr_addons_templates_kit_page' );
14
- }
15
- add_action( 'admin_menu', 'wpr_addons_add_templates_kit_menu' );
16
-
17
- // Import Template Kit
18
- add_action( 'wp_ajax_wpr_activate_required_theme', 'wpr_activate_required_theme' );
19
- add_action( 'wp_ajax_wpr_activate_required_plugins', 'wpr_activate_required_plugins' );
20
- add_action( 'wp_ajax_wpr_fix_royal_compatibility', 'wpr_fix_royal_compatibility' );
21
- add_action( 'wp_ajax_wpr_import_templates_kit', 'wpr_import_templates_kit' );
22
- add_action( 'wp_ajax_wpr_final_settings_setup', 'wpr_final_settings_setup' );
23
- add_action( 'wp_ajax_wpr_search_query_results', 'wpr_search_query_results' );
24
- add_action( 'init', 'disable_default_woo_pages_creation', 2 );
25
-
26
-
27
- /**
28
- ** Render Templates Kit Page
29
- */
30
- function wpr_addons_templates_kit_page() {
31
-
32
- ?>
33
-
34
- <div class="wpr-templates-kit-page">
35
-
36
- <header>
37
- <div class="wpr-templates-kit-logo">
38
- <div><img src="<?php echo !empty(get_option('wpr_wl_plugin_logo')) ? esc_url(wp_get_attachment_image_src(get_option('wpr_wl_plugin_logo'), 'full')[0]) : esc_url(WPR_ADDONS_ASSETS_URL .'img/logo-40x40.png'); ?>"></div>
39
- <div class="back-btn"><?php printf( esc_html__('%s Back to Library', 'wpr-addons'), '<span class="dashicons dashicons-arrow-left-alt2"></span>'); ?></div>
40
- </div>
41
-
42
- <div class="wpr-templates-kit-search">
43
- <input type="text" autocomplete="off" placeholder="<?php esc_html_e('Search Templates Kit...', 'wpr-addons'); ?>">
44
- <span class="dashicons dashicons-search"></span>
45
- </div>
46
-
47
- <div class="wpr-templates-kit-price-filter">
48
- <span data-price="mixed"><?php esc_html_e('Price: Mixed', 'wpr-addons'); ?></span>
49
- <span class="dashicons dashicons-arrow-down-alt2"></span>
50
- <ul>
51
- <li><?php esc_html_e('Mixed', 'wpr-addons'); ?></li>
52
- <li><?php esc_html_e('Free', 'wpr-addons'); ?></li>
53
- <li><?php esc_html_e('Premium', 'wpr-addons'); ?></li>
54
- </ul>
55
- </div>
56
-
57
- <div class="wpr-templates-kit-filters">
58
- <div>Filter: All</div>
59
- <ul>
60
- <li data-filter="all">Blog</li>
61
- <li data-filter="blog">Blog</li>
62
- <li data-filter="business">Business</li>
63
- <li data-filter="ecommerce">eCommerce</li>
64
- <li data-filter="beauty">Beauty</li>
65
- </ul>
66
- </div>
67
- </header>
68
-
69
- <div class="wpr-templates-kit-page-title">
70
- <h1><?php esc_html_e('Royal Elementor Templates Kit', 'wpr-addons'); ?></h1>
71
- <p><?php esc_html_e('Import any Templates Kit with just a Single click', 'wpr-addons'); ?></p>
72
- <p>
73
- <a href="https://www.youtube.com/watch?v=kl2xBoWW81o" class="wpr-options-button button" target="_blank">
74
- <?php esc_html_e('Video Tutorial', 'wpr-addons'); ?>
75
- <span class="dashicons dashicons-video-alt3"></span>
76
- </a>
77
- </p>
78
- </div>
79
-
80
- <div class="wpr-templates-kit-grid main-grid" data-theme-status="<?php echo esc_attr(get_theme_status()); ?>">
81
- <?php
82
- $kits = WPR_Templates_Data::get_available_kits();
83
- $sorted_kits = [];
84
-
85
- foreach ($kits as $slug => $kit) {
86
- foreach ($kit as $version => $data ) {
87
- $sorted_kits[$slug .'-'. $version] = $data;
88
- }
89
- }
90
-
91
- // Sort by Priority
92
- uasort($sorted_kits, function ($item1, $item2) {
93
- if ($item1['priority'] == $item2['priority']) return 0;
94
- return $item1['priority'] < $item2['priority'] ? -1 : 1;
95
- });
96
-
97
- // Loop
98
- foreach ($sorted_kits as $kit_id => $data) {
99
- echo '<div class="grid-item" data-kit-id="'. esc_attr($kit_id) .'" data-tags="'. esc_attr($data['tags']) .'" data-plugins="'. esc_attr($data['plugins']) .'" data-pages="'. esc_attr($data['pages']) .'" data-price="'. esc_attr($data['price']) .'">';
100
- echo '<div class="image-wrap">';
101
- echo '<img src="'. esc_url('https://royal-elementor-addons.com/library/templates-kit/'. $kit_id .'/home.jpg') .'">';
102
- echo '<div class="image-overlay"><span class="dashicons dashicons-search"></span></div>';
103
- echo '</div>';
104
- echo '<footer>';
105
- echo '<h3>'. esc_html($data['name']) .'</h3>';
106
- if ( $data['woo-builder'] ) {
107
- echo '<span class="wpr-woo-builder-label">'. esc_html__( 'Woo Builder', 'wpr-addons' ) .'</span>';
108
- } elseif ( $data['theme-builder'] ) {
109
- echo '<span class="wpr-theme-builder-label">'. esc_html__( 'Theme Builder', 'wpr-addons' ) .'</span>';
110
- }
111
- echo '</footer>';
112
- echo '</div>';
113
- }
114
-
115
- ?>
116
-
117
- </div>
118
-
119
- <div class="wpr-templates-kit-single">
120
- <div class="wpr-templates-kit-grid single-grid"></div>
121
-
122
- <footer class="action-buttons-wrap">
123
- <a href="https://royal-elementor-addons.com/" class="preview-demo button" target="_blank"><?php esc_html_e('Preview Demo', 'wpr-addons'); ?> <span class="dashicons dashicons-external"></span></a>
124
-
125
- <div class="import-template-buttons">
126
- <?php
127
- echo '<button class="import-kit button">'. esc_html__('Import Templates Kit', 'wpr-addons') .' <span class="dashicons dashicons-download"></span></button>';
128
- echo '<a href="https://royal-elementor-addons.com/?ref=rea-plugin-backend-templates-upgrade-pro#purchasepro" class="get-access button" target="_blank">'. esc_html__('Get Access', 'wpr-addons') .' <span class="dashicons dashicons-external"></span></a>';
129
- ?>
130
- <button class="import-template button"><?php printf( esc_html__( 'Import %s Template', 'wpr-addons' ), '<strong></strong>' ); ?></button>
131
-
132
- </div>
133
- </footer>
134
- </div>
135
-
136
- <div class="wpr-import-kit-popup-wrap">
137
- <div class="overlay"></div>
138
- <div class="wpr-import-kit-popup">
139
- <header>
140
- <h3><?php esc_html_e('Template Kit is being imported', 'wpr-addons'); ?><span>.</span></h3>
141
- <span class="dashicons dashicons-no-alt close-btn"></span>
142
- </header>
143
- <div class="content">
144
- <p><?php esc_html_e('The import process can take a few seconds depending on the size of the kit you are importing and speed of the connection.', 'wpr-addons'); ?></p>
145
- <p><?php esc_html_e('Please do NOT close this browser window until import is completed.', 'wpr-addons'); ?></p>
146
-
147
- <div class="progress-wrap">
148
- <div class="progress-bar"></div>
149
- <strong></strong>
150
- </div>
151
- </div>
152
- </div>
153
- </div>
154
-
155
- <div class="wpr-templates-kit-not-found">
156
- <img src="<?php echo esc_url(WPR_ADDONS_ASSETS_URL .'img/not-found.png'); ?>">
157
- <h1><?php esc_html_e('No Search Results Found.', 'wpr-addons'); ?></h1>
158
- <p><?php esc_html_e('Cant find a Templates Kit you are looking for?', 'wpr-addons'); ?></p>
159
- <a href="https://royal-elementor-addons.com/library/request-new-kit-red.html" target="_blank"><?php esc_html_e('Request Templates Kit.', 'wpr-addons'); ?></a>
160
- </div>
161
-
162
- </div>
163
-
164
-
165
- <?php
166
-
167
- } // End wpr_addons_templates_kit_page()
168
-
169
- /**
170
- ** Get Theme Status
171
- */
172
- function get_theme_status() {
173
- $theme = wp_get_theme();
174
-
175
- // Theme installed and activate.
176
- if ( 'Royal Elementor Kit' === $theme->name || 'Royal Elementor Kit' === $theme->parent_theme ) {
177
- return 'req-theme-active';
178
- }
179
-
180
- // Theme installed but not activate.
181
- foreach ( (array) wp_get_themes() as $theme_dir => $theme ) {
182
- if ( 'Royal Elementor Kit' === $theme->name || 'Royal Elementor Kit' === $theme->parent_theme ) {
183
- return 'req-theme-inactive';
184
- }
185
- }
186
-
187
- return 'req-theme-not-installed';
188
- }
189
-
190
- /**
191
- ** Install/Activate Required Theme
192
- */
193
- function wpr_activate_required_theme() {
194
- // Get Current Theme
195
- $theme = get_option('stylesheet');
196
-
197
- // Activate Royal Elementor Kit Theme
198
- if ( 'ashe-pro-premium' !== $theme && 'bard-pro-premium' !== $theme
199
- && 'vayne-pro-premium' !== $theme && 'kayn-pro-premium' !== $theme ) {
200
- switch_theme( 'royal-elementor-kit' );
201
- set_transient( 'royal-elementor-kit_activation_notice', true );
202
- }
203
-
204
- // TODO: maybe return back - 'ashe' !== $theme && 'bard' !== $theme &&
205
- }
206
-
207
- /**
208
- ** Activate Required Plugins
209
- */
210
- function wpr_activate_required_plugins() {
211
- if ( isset($_POST['plugin']) ) {
212
- if ( 'contact-form-7' == $_POST['plugin'] ) {
213
- if ( !is_plugin_active( 'contact-form-7/wp-contact-form-7.php' ) ) {
214
- activate_plugin( 'contact-form-7/wp-contact-form-7.php' );
215
- }
216
- } elseif ( 'woocommerce' == $_POST['plugin'] ) {
217
- if ( !is_plugin_active( 'woocommerce/woocommerce.php' ) ) {
218
- activate_plugin( 'woocommerce/woocommerce.php' );
219
- }
220
- } elseif ( 'media-library-assistant' == $_POST['plugin'] ) {
221
- if ( !is_plugin_active( 'media-library-assistant/index.php' ) ) {
222
- activate_plugin( 'media-library-assistant/index.php' );
223
- }
224
- }
225
- }
226
- }
227
-
228
- /**
229
- ** Deactivate Extra Plugins
230
- */
231
- function wpr_fix_royal_compatibility() {
232
- // Get currently active plugins
233
- $active_plugins = (array) get_option( 'active_plugins', array() );
234
- $active_plugins = array_values($active_plugins);
235
-
236
- // Deactivate Extra Import Plugins
237
- $ashe_extra_key = array_search('ashe-extra/ashe-extra.php', $active_plugins);
238
- $bard_extra_key = array_search('bard-extra/bard-extra.php', $active_plugins);
239
-
240
- if ( false !== $ashe_extra_key && array_key_exists($ashe_extra_key, $active_plugins) ) {
241
- unset($active_plugins[$ashe_extra_key]);
242
- }
243
-
244
- if ( false !== $bard_extra_key && array_key_exists($bard_extra_key, $active_plugins) ) {
245
- unset($active_plugins[$bard_extra_key]);
246
- }
247
-
248
- // Set Active Plugins
249
- update_option( 'active_plugins', array_values($active_plugins) );
250
-
251
- // Get Current Theme
252
- $theme = get_option('stylesheet');
253
-
254
- // Activate Royal Elementor Kit Theme
255
- if ( 'ashe-pro-premium' !== $theme && 'bard-pro-premium' !== $theme
256
- && 'vayne-pro-premium' !== $theme && 'kayn-pro-premium' !== $theme ) {
257
- switch_theme( 'royal-elementor-kit' );
258
- set_transient( 'royal-elementor-kit_activation_notice', true );
259
- }
260
- }
261
-
262
- /**
263
- ** Import Template Kit
264
- */
265
- function wpr_import_templates_kit() {
266
-
267
- // Temp Define Importers
268
- if ( ! defined('WP_LOAD_IMPORTERS') ) {
269
- define('WP_LOAD_IMPORTERS', true);
270
- }
271
-
272
- // Include if Class Does NOT Exist
273
- if ( ! class_exists( 'WP_Import' ) ) {
274
- $class_wp_importer = WPR_ADDONS_PATH .'admin/import/class-wordpress-importer.php';
275
- if ( file_exists( $class_wp_importer ) ) {
276
- require $class_wp_importer;
277
- }
278
- }
279
-
280
- if ( class_exists( 'WP_Import' ) ) {
281
- $kit = isset($_POST['wpr_templates_kit']) ? sanitize_file_name(wp_unslash($_POST['wpr_templates_kit'])) : '';
282
- $file = isset($_POST['wpr_templates_kit_single']) ? sanitize_file_name(wp_unslash($_POST['wpr_templates_kit_single'])) : '';
283
-
284
- // Tmp
285
- update_option( 'wpr-import-kit-id', $kit );
286
-
287
- // Download Import File
288
- $local_file_path = download_template( $kit, $file );
289
-
290
- // Prepare for Import
291
- $wp_import = new WP_Import( $local_file_path, ['fetch_attachments' => true] );
292
-
293
- // Import
294
- ob_start();
295
- $wp_import->run();
296
- ob_end_clean();
297
-
298
- // Delete Import File
299
- unlink( $local_file_path );
300
-
301
- // Send to JS
302
- echo esc_html(serialize( $wp_import ));
303
- }
304
-
305
- }
306
-
307
- /**
308
- ** Download Template
309
- */
310
- function download_template( $kit, $file ) {
311
- $file = ! $file ? 'main' : $file;
312
-
313
- // Avoid Cache
314
- $randomNum = substr(str_shuffle("0123456789abcdefghijklmnopqrstvwxyzABCDEFGHIJKLMNOPQRSTVWXYZ"), 0, 7);
315
-
316
- // Remote and Local Files
317
- $remote_file_url = 'https://royal-elementor-addons.com/library/templates-kit/'. $kit .'/main.xml?='. $randomNum;
318
- $local_file_path = WPR_ADDONS_PATH .'admin/import/tmp.xml';
319
-
320
- // No Limit for Execution
321
- set_time_limit(0);
322
-
323
- // Copy File From Server
324
- copy( $remote_file_url, $local_file_path );
325
-
326
- return $local_file_path;
327
- }
328
-
329
- /**
330
- ** Import Elementor Site Settings
331
- */
332
- function import_elementor_site_settings( $kit ) {
333
- // Avoid Cache
334
- // $randomNum = substr(str_shuffle("0123456789abcdefghijklmnopqrstvwxyzABCDEFGHIJKLMNOPQRSTVWXYZ"), 0, 7);
335
-
336
- // Get Remote File
337
- $site_settings = @file_get_contents('https://royal-elementor-addons.com/library/templates-kit/'. $kit .'/site-settings.json');
338
-
339
- if ( false !== $site_settings ) {
340
- $site_settings = json_decode($site_settings, true);
341
-
342
- if ( ! empty($site_settings['settings']) ) {
343
- $default_kit = \Elementor\Plugin::$instance->documents->get_doc_for_frontend( get_option( 'elementor_active_kit' ) );
344
-
345
- $kit_settings = $default_kit->get_settings();
346
- $new_settings = $site_settings['settings'];
347
- $settings = array_merge($kit_settings, $new_settings);
348
-
349
- $default_kit->save( [ 'settings' => $settings ] );
350
- }
351
- }
352
- }
353
-
354
- /**
355
- ** Setup WPR Templates
356
- */
357
- function setup_wpr_templates( $kit ) {
358
- $kit = isset($kit) ? sanitize_text_field(wp_unslash($kit)) : '';
359
-
360
- // Check if kit has Theme Builder templates
361
- $kit_name = substr($kit, 0, strripos($kit, '-v'));
362
- $kit_version = substr($kit, (strripos($kit, '-v') + 1), strlen($kit));
363
- $get_available_kits = WPR_Templates_Data::get_available_kits();
364
- $has_theme_builder = $get_available_kits[$kit_name][$kit_version]['theme-builder'];
365
- $has_woo_builder = $get_available_kits[$kit_name][$kit_version]['woo-builder'];
366
- $has_off_canvas = $get_available_kits[$kit_name][$kit_version]['off-canvas'];
367
-
368
- // Set Home & Blog Pages
369
- $home_page = get_page_by_path('home-'. $kit);
370
- $blog_page = get_page_by_path('blog-'. $kit);
371
-
372
- if ( $home_page ) {
373
- update_option( 'show_on_front', 'page' );
374
- update_option( 'page_on_front', $home_page->ID );
375
-
376
- if ( $blog_page ) {
377
- update_option( 'page_for_posts', $blog_page->ID );
378
- }
379
- }
380
-
381
- // Set Headers and Footers
382
- update_option('wpr_header_conditions', '{"user-header-'. $kit .'-header":["global"]}');
383
- update_post_meta( Utilities::get_template_id('user-header-'. $kit), 'wpr_header_show_on_canvas', 'true' );
384
- update_option('wpr_footer_conditions', '{"user-footer-'. $kit .'-footer":["global"]}');
385
- update_post_meta( Utilities::get_template_id('user-footer-'. $kit), 'wpr_footer_show_on_canvas', 'true' );
386
-
387
- // Theme Builder
388
- if ( $has_theme_builder ) {
389
- 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"]}');
390
- 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"]}');
391
- }
392
-
393
- // WooCommerce Builder
394
- if ( $has_woo_builder ) {
395
- update_option('wpr_product_archive_conditions', '{"user-product_archive-'. $kit .'-shop":["product_archive/products"],"user-product_archive-'. $kit .'-product-category-tag":["product_archive/product_cat/all","product_archive/product_tag/all"]}');
396
- update_option('wpr_product_single_conditions', '{"user-product_single-'. $kit .'-product":["product_single/product"]}');
397
-
398
- $shop_id = get_page_by_path('shop-'. $kit) ? get_page_by_path('shop-'. $kit)->ID : '';
399
- $cart_id = get_page_by_path('cart-'. $kit) ? get_page_by_path('cart-'. $kit)->ID : '';
400
- $checkout_id = get_page_by_path('checkout-'. $kit) ? get_page_by_path('checkout-'. $kit)->ID : '';
401
- $myaccount_id = get_page_by_path('my-account-'. $kit) ? get_page_by_path('my-account-'. $kit)->ID : '';
402
-
403
- update_option('woocommerce_shop_page_id', $shop_id);
404
- update_option('woocommerce_cart_page_id', $cart_id);
405
- update_option('woocommerce_checkout_page_id', $checkout_id);
406
-
407
- if ( '' !== $myaccount_id ) {
408
- update_option('woocommerce_myaccount_page_id', $myaccount_id);
409
- }
410
-
411
- // Update Options
412
- update_option( 'woocommerce_queue_flush_rewrite_rules', 'yes' );
413
-
414
- // Enable Elementor Builder for WooCommerce CPT
415
- // $cpt_support = get_option( 'elementor_cpt_support' );
416
-
417
- // if ( ! in_array( 'product', $cpt_support ) ) {
418
- // $cpt_support[] = 'product';
419
- // update_option( 'elementor_cpt_support', $cpt_support );
420
- // }
421
- }
422
-
423
- // Set Popups
424
- if ( $has_off_canvas ) {
425
- update_option('wpr_popup_conditions', '{"user-popup-'. $kit .'-off-canvas":["global"],"user-popup-'. $kit .'-popup":["global"]}');
426
- } else {
427
- update_option('wpr_popup_conditions', '{"user-popup-'. $kit .'-popup":["global"]}');
428
- }
429
- }
430
-
431
- /**
432
- ** Fix Elementor Images
433
- */
434
- function wpr_fix_elementor_images() {
435
- $args = array(
436
- 'post_type' => ['wpr_templates', 'page'],
437
- 'posts_per_page' => '-1',
438
- 'meta_key' => '_elementor_version'
439
- );
440
- $elementor_pages = new WP_Query ( $args );
441
-
442
- // Check that we have query results.
443
- if ( $elementor_pages->have_posts() ) {
444
-
445
- // Start looping over the query results.
446
- while ( $elementor_pages->have_posts() ) {
447
-
448
- $elementor_pages->the_post();
449
-
450
- // Replace Demo with Current
451
- $site_url = get_site_url();
452
- $site_url = str_replace( '/', '\/', $site_url );
453
- $demo_site_url = 'https://demosites.royal-elementor-addons.com/'. get_option('wpr-import-kit-id');
454
- $demo_site_url = str_replace( '/', '\/', $demo_site_url );
455
-
456
- // Elementor Data
457
- $data = get_post_meta( get_the_ID(), '_elementor_data', true );
458
-
459
- if ( ! empty( $data ) ) {
460
- $data = preg_replace('/\\\{1}\/sites\\\{1}\/\d+/', '', $data);
461
- $data = str_replace( $demo_site_url, $site_url, $data );
462
- $data = json_decode( $data, true );
463
- }
464
-
465
- update_metadata( 'post', get_the_ID(), '_elementor_data', $data );
466
-
467
- // Elementor Page Settings
468
- $page_settings = get_post_meta( get_the_ID(), '_elementor_page_settings', true );
469
- $page_settings = json_encode($page_settings);
470
-
471
- if ( ! empty( $page_settings ) ) {
472
- $page_settings = preg_replace('/\\\{1}\/sites\\\{1}\/\d+/', '', $page_settings);
473
- $page_settings = str_replace( $demo_site_url, $site_url, $page_settings );
474
- $page_settings = json_decode( $page_settings, true );
475
- }
476
-
477
- update_metadata( 'post', get_the_ID(), '_elementor_page_settings', $page_settings );
478
-
479
- }
480
-
481
- }
482
-
483
- // Clear Elementor Cache
484
- Plugin::$instance->files_manager->clear_cache();
485
- }
486
-
487
- /**
488
- ** Final Settings Setup
489
- */
490
- function wpr_final_settings_setup() {
491
- $kit = !empty(get_option('wpr-import-kit-id')) ? esc_html(get_option('wpr-import-kit-id')) : '';
492
-
493
- // Elementor Site Settings
494
- import_elementor_site_settings($kit);
495
-
496
- // Setup WPR Templates
497
- setup_wpr_templates($kit);
498
-
499
- // Fix Elementor Images
500
- wpr_fix_elementor_images();
501
-
502
- // Track Kit
503
- wpr_track_imported_kit( $kit );
504
-
505
- // Clear DB
506
- delete_option('wpr-import-kit-id');
507
-
508
- // Delete Hello World Post
509
- $post = get_page_by_path('hello-world', OBJECT, 'post');
510
- if ( $post ) {
511
- wp_delete_post($post->ID,true);
512
- }
513
- }
514
-
515
- /**
516
- ** Prevent WooCommerce creating default pages
517
- */
518
- function disable_default_woo_pages_creation() {
519
- add_filter( 'woocommerce_create_pages', '__return_empty_array' );
520
- }
521
-
522
- /**
523
- * Allow SVG Import - Add Mime Types
524
- */
525
- function wpr_svgs_upload_mimes( $mimes = array() ) {
526
-
527
- // allow SVG file upload
528
- $mimes['svg'] = 'image/svg+xml';
529
- $mimes['svgz'] = 'image/svg+xml';
530
-
531
- // allow JSON file upload
532
- $mimes['json'] = 'text/plain';
533
-
534
- return $mimes;
535
-
536
- }
537
- add_filter( 'upload_mimes', 'wpr_svgs_upload_mimes', 99 );
538
-
539
- /**
540
- * Check Mime Types
541
- */
542
- function wpr_svgs_upload_check( $checked, $file, $filename, $mimes ) {
543
-
544
- if ( ! $checked['type'] ) {
545
-
546
- $check_filetype = wp_check_filetype( $filename, $mimes );
547
- $ext = $check_filetype['ext'];
548
- $type = $check_filetype['type'];
549
- $proper_filename = $filename;
550
-
551
- if ( $type && 0 === strpos( $type, 'image/' ) && $ext !== 'svg' ) {
552
- $ext = $type = false;
553
- }
554
-
555
- $checked = compact( 'ext','type','proper_filename' );
556
- }
557
-
558
- return $checked;
559
-
560
- }
561
- add_filter( 'wp_check_filetype_and_ext', 'wpr_svgs_upload_check', 10, 4 );
562
-
563
- /**
564
- * Mime Check fix for WP 4.7.1 / 4.7.2
565
- *
566
- * Fixes uploads for these 2 version of WordPress.
567
- * Issue was fixed in 4.7.3 core.
568
- */
569
- function wpr_svgs_allow_svg_upload( $data, $file, $filename, $mimes ) {
570
-
571
- global $wp_version;
572
- if ( $wp_version !== '4.7.1' || $wp_version !== '4.7.2' ) {
573
- return $data;
574
- }
575
-
576
- $filetype = wp_check_filetype( $filename, $mimes );
577
-
578
- return [
579
- 'ext' => $filetype['ext'],
580
- 'type' => $filetype['type'],
581
- 'proper_filename' => $data['proper_filename']
582
- ];
583
-
584
- }
585
- add_filter( 'wp_check_filetype_and_ext', 'wpr_svgs_allow_svg_upload', 10, 4 );
586
-
587
- /**
588
- ** Search Query Results
589
- */
590
- function wpr_search_query_results() {
591
- // Freemius OptIn
592
- if ( ! ( wpr_fs()->is_registered() && wpr_fs()->is_tracking_allowed() || wpr_fs()->is_pending_activation() ) ) {
593
- return;
594
- }
595
-
596
- $search_query = isset($_POST['search_query']) ? sanitize_text_field(wp_unslash($_POST['search_query'])) : '';
597
-
598
- wp_remote_post( 'http://reastats.kinsta.cloud/wp-json/templates-kit-search/data', [
599
- 'body' => [
600
- 'search_query' => $search_query
601
- ]
602
- ] );
603
- }
604
-
605
- /**
606
- ** Search Query Results
607
- */
608
- function wpr_track_imported_kit( $kit ) {
609
- // Freemius OptIn
610
- if ( ! ( wpr_fs()->is_registered() && wpr_fs()->is_tracking_allowed() || wpr_fs()->is_pending_activation() ) ) {
611
- return;
612
- }
613
-
614
- wp_remote_post( 'http://reastats.kinsta.cloud/wp-json/templates-kit-import/data', [
615
- 'body' => [
616
- 'imported_kit' => $kit
617
- ]
618
- ] );
619
  }
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ use WprAddons\Admin\Templates\WPR_Templates_Data;
8
+ use WprAddons\Classes\Utilities;
9
+ use Elementor\Plugin;
10
+
11
+ // Register Menus
12
+ function wpr_addons_add_templates_kit_menu() {
13
+ add_submenu_page( 'wpr-addons', 'Templates Kit', 'Templates Kit', 'manage_options', 'wpr-templates-kit', 'wpr_addons_templates_kit_page' );
14
+ }
15
+ add_action( 'admin_menu', 'wpr_addons_add_templates_kit_menu' );
16
+
17
+ // Import Template Kit
18
+ add_action( 'wp_ajax_wpr_activate_required_theme', 'wpr_activate_required_theme' );
19
+ add_action( 'wp_ajax_wpr_activate_required_plugins', 'wpr_activate_required_plugins' );
20
+ add_action( 'wp_ajax_wpr_fix_royal_compatibility', 'wpr_fix_royal_compatibility' );
21
+ add_action( 'wp_ajax_wpr_import_templates_kit', 'wpr_import_templates_kit' );
22
+ add_action( 'wp_ajax_wpr_final_settings_setup', 'wpr_final_settings_setup' );
23
+ add_action( 'wp_ajax_wpr_search_query_results', 'wpr_search_query_results' );
24
+ add_action( 'init', 'disable_default_woo_pages_creation', 2 );
25
+
26
+
27
+ /**
28
+ ** Render Templates Kit Page
29
+ */
30
+ function wpr_addons_templates_kit_page() {
31
+
32
+ ?>
33
+
34
+ <div class="wpr-templates-kit-page">
35
+
36
+ <header>
37
+ <div class="wpr-templates-kit-logo">
38
+ <div><img src="<?php echo !empty(get_option('wpr_wl_plugin_logo')) ? esc_url(wp_get_attachment_image_src(get_option('wpr_wl_plugin_logo'), 'full')[0]) : esc_url(WPR_ADDONS_ASSETS_URL .'img/logo-40x40.png'); ?>"></div>
39
+ <div class="back-btn"><?php printf( esc_html__('%s Back to Library', 'wpr-addons'), '<span class="dashicons dashicons-arrow-left-alt2"></span>'); ?></div>
40
+ </div>
41
+
42
+ <div class="wpr-templates-kit-search">
43
+ <input type="text" autocomplete="off" placeholder="<?php esc_html_e('Search Templates Kit...', 'wpr-addons'); ?>">
44
+ <span class="dashicons dashicons-search"></span>
45
+ </div>
46
+
47
+ <div class="wpr-templates-kit-price-filter">
48
+ <span data-price="mixed"><?php esc_html_e('Price: Mixed', 'wpr-addons'); ?></span>
49
+ <span class="dashicons dashicons-arrow-down-alt2"></span>
50
+ <ul>
51
+ <li><?php esc_html_e('Mixed', 'wpr-addons'); ?></li>
52
+ <li><?php esc_html_e('Free', 'wpr-addons'); ?></li>
53
+ <li><?php esc_html_e('Premium', 'wpr-addons'); ?></li>
54
+ </ul>
55
+ </div>
56
+
57
+ <div class="wpr-templates-kit-filters">
58
+ <div>Filter: All</div>
59
+ <ul>
60
+ <li data-filter="all">Blog</li>
61
+ <li data-filter="blog">Blog</li>
62
+ <li data-filter="business">Business</li>
63
+ <li data-filter="ecommerce">eCommerce</li>
64
+ <li data-filter="beauty">Beauty</li>
65
+ </ul>
66
+ </div>
67
+ </header>
68
+
69
+ <div class="wpr-templates-kit-page-title">
70
+ <h1><?php esc_html_e('Royal Elementor Templates Kit', 'wpr-addons'); ?></h1>
71
+ <p><?php esc_html_e('Import any Templates Kit with just a Single click', 'wpr-addons'); ?></p>
72
+ <p>
73
+ <a href="https://www.youtube.com/watch?v=kl2xBoWW81o" class="wpr-options-button button" target="_blank">
74
+ <?php esc_html_e('Video Tutorial', 'wpr-addons'); ?>
75
+ <span class="dashicons dashicons-video-alt3"></span>
76
+ </a>
77
+ </p>
78
+ </div>
79
+
80
+ <div class="wpr-templates-kit-grid main-grid" data-theme-status="<?php echo esc_attr(get_theme_status()); ?>">
81
+ <?php
82
+ $kits = WPR_Templates_Data::get_available_kits();
83
+ $sorted_kits = [];
84
+
85
+ foreach ($kits as $slug => $kit) {
86
+ foreach ($kit as $version => $data ) {
87
+ $sorted_kits[$slug .'-'. $version] = $data;
88
+ }
89
+ }
90
+
91
+ // Sort by Priority
92
+ uasort($sorted_kits, function ($item1, $item2) {
93
+ if ($item1['priority'] == $item2['priority']) return 0;
94
+ return $item1['priority'] < $item2['priority'] ? -1 : 1;
95
+ });
96
+
97
+ // Loop
98
+ foreach ($sorted_kits as $kit_id => $data) {
99
+ echo '<div class="grid-item" data-kit-id="'. esc_attr($kit_id) .'" data-tags="'. esc_attr($data['tags']) .'" data-plugins="'. esc_attr($data['plugins']) .'" data-pages="'. esc_attr($data['pages']) .'" data-price="'. esc_attr($data['price']) .'">';
100
+ echo '<div class="image-wrap">';
101
+ echo '<img src="'. esc_url('https://royal-elementor-addons.com/library/templates-kit/'. $kit_id .'/home.jpg') .'">';
102
+ echo '<div class="image-overlay"><span class="dashicons dashicons-search"></span></div>';
103
+ echo '</div>';
104
+ echo '<footer>';
105
+ echo '<h3>'. esc_html($data['name']) .'</h3>';
106
+ if ( $data['woo-builder'] ) {
107
+ echo '<span class="wpr-woo-builder-label">'. esc_html__( 'Woo Builder', 'wpr-addons' ) .'</span>';
108
+ } elseif ( $data['theme-builder'] ) {
109
+ echo '<span class="wpr-theme-builder-label">'. esc_html__( 'Theme Builder', 'wpr-addons' ) .'</span>';
110
+ }
111
+ echo '</footer>';
112
+ echo '</div>';
113
+ }
114
+
115
+ ?>
116
+
117
+ </div>
118
+
119
+ <div class="wpr-templates-kit-single">
120
+ <div class="wpr-templates-kit-grid single-grid"></div>
121
+
122
+ <footer class="action-buttons-wrap">
123
+ <a href="https://royal-elementor-addons.com/" class="preview-demo button" target="_blank"><?php esc_html_e('Preview Demo', 'wpr-addons'); ?> <span class="dashicons dashicons-external"></span></a>
124
+
125
+ <div class="import-template-buttons">
126
+ <?php
127
+ echo '<button class="import-kit button">'. esc_html__('Import Templates Kit', 'wpr-addons') .' <span class="dashicons dashicons-download"></span></button>';
128
+ echo '<a href="https://royal-elementor-addons.com/?ref=rea-plugin-backend-templates-upgrade-pro#purchasepro" class="get-access button" target="_blank">'. esc_html__('Get Access', 'wpr-addons') .' <span class="dashicons dashicons-external"></span></a>';
129
+ ?>
130
+ <button class="import-template button"><?php printf( esc_html__( 'Import %s Template', 'wpr-addons' ), '<strong></strong>' ); ?></button>
131
+
132
+ </div>
133
+ </footer>
134
+ </div>
135
+
136
+ <div class="wpr-import-kit-popup-wrap">
137
+ <div class="overlay"></div>
138
+ <div class="wpr-import-kit-popup">
139
+ <header>
140
+ <h3><?php esc_html_e('Template Kit is being imported', 'wpr-addons'); ?><span>.</span></h3>
141
+ <span class="dashicons dashicons-no-alt close-btn"></span>
142
+ </header>
143
+ <div class="content">
144
+ <p><?php esc_html_e('The import process can take a few seconds depending on the size of the kit you are importing and speed of the connection.', 'wpr-addons'); ?></p>
145
+ <p><?php esc_html_e('Please do NOT close this browser window until import is completed.', 'wpr-addons'); ?></p>
146
+
147
+ <div class="progress-wrap">
148
+ <div class="progress-bar"></div>
149
+ <strong></strong>
150
+ </div>
151
+ </div>
152
+ </div>
153
+ </div>
154
+
155
+ <div class="wpr-templates-kit-not-found">
156
+ <img src="<?php echo esc_url(WPR_ADDONS_ASSETS_URL .'img/not-found.png'); ?>">
157
+ <h1><?php esc_html_e('No Search Results Found.', 'wpr-addons'); ?></h1>
158
+ <p><?php esc_html_e('Cant find a Templates Kit you are looking for?', 'wpr-addons'); ?></p>
159
+ <a href="https://royal-elementor-addons.com/library/request-new-kit-red.html" target="_blank"><?php esc_html_e('Request Templates Kit.', 'wpr-addons'); ?></a>
160
+ </div>
161
+
162
+ </div>
163
+
164
+
165
+ <?php
166
+
167
+ } // End wpr_addons_templates_kit_page()
168
+
169
+ /**
170
+ ** Get Theme Status
171
+ */
172
+ function get_theme_status() {
173
+ $theme = wp_get_theme();
174
+
175
+ // Theme installed and activate.
176
+ if ( 'Royal Elementor Kit' === $theme->name || 'Royal Elementor Kit' === $theme->parent_theme ) {
177
+ return 'req-theme-active';
178
+ }
179
+
180
+ // Theme installed but not activate.
181
+ foreach ( (array) wp_get_themes() as $theme_dir => $theme ) {
182
+ if ( 'Royal Elementor Kit' === $theme->name || 'Royal Elementor Kit' === $theme->parent_theme ) {
183
+ return 'req-theme-inactive';
184
+ }
185
+ }
186
+
187
+ return 'req-theme-not-installed';
188
+ }
189
+
190
+ /**
191
+ ** Install/Activate Required Theme
192
+ */
193
+ function wpr_activate_required_theme() {
194
+ // Get Current Theme
195
+ $theme = get_option('stylesheet');
196
+
197
+ // Activate Royal Elementor Kit Theme
198
+ if ( 'ashe-pro-premium' !== $theme && 'bard-pro-premium' !== $theme
199
+ && 'vayne-pro-premium' !== $theme && 'kayn-pro-premium' !== $theme ) {
200
+ switch_theme( 'royal-elementor-kit' );
201
+ set_transient( 'royal-elementor-kit_activation_notice', true );
202
+ }
203
+
204
+ // TODO: maybe return back - 'ashe' !== $theme && 'bard' !== $theme &&
205
+ }
206
+
207
+ /**
208
+ ** Activate Required Plugins
209
+ */
210
+ function wpr_activate_required_plugins() {
211
+ if ( isset($_POST['plugin']) ) {
212
+ if ( 'contact-form-7' == $_POST['plugin'] ) {
213
+ if ( !is_plugin_active( 'contact-form-7/wp-contact-form-7.php' ) ) {
214
+ activate_plugin( 'contact-form-7/wp-contact-form-7.php' );
215
+ }
216
+ } elseif ( 'woocommerce' == $_POST['plugin'] ) {
217
+ if ( !is_plugin_active( 'woocommerce/woocommerce.php' ) ) {
218
+ activate_plugin( 'woocommerce/woocommerce.php' );
219
+ }
220
+ } elseif ( 'media-library-assistant' == $_POST['plugin'] ) {
221
+ if ( !is_plugin_active( 'media-library-assistant/index.php' ) ) {
222
+ activate_plugin( 'media-library-assistant/index.php' );
223
+ }
224
+ }
225
+ }
226
+ }
227
+
228
+ /**
229
+ ** Deactivate Extra Plugins
230
+ */
231
+ function wpr_fix_royal_compatibility() {
232
+ // Get currently active plugins
233
+ $active_plugins = (array) get_option( 'active_plugins', array() );
234
+ $active_plugins = array_values($active_plugins);
235
+
236
+ // Deactivate Extra Import Plugins
237
+ $ashe_extra_key = array_search('ashe-extra/ashe-extra.php', $active_plugins);
238
+ $bard_extra_key = array_search('bard-extra/bard-extra.php', $active_plugins);
239
+
240
+ if ( false !== $ashe_extra_key && array_key_exists($ashe_extra_key, $active_plugins) ) {
241
+ unset($active_plugins[$ashe_extra_key]);
242
+ }
243
+
244
+ if ( false !== $bard_extra_key && array_key_exists($bard_extra_key, $active_plugins) ) {
245
+ unset($active_plugins[$bard_extra_key]);
246
+ }
247
+
248
+ // Set Active Plugins
249
+ update_option( 'active_plugins', array_values($active_plugins) );
250
+
251
+ // Get Current Theme
252
+ $theme = get_option('stylesheet');
253
+
254
+ // Activate Royal Elementor Kit Theme
255
+ if ( 'ashe-pro-premium' !== $theme && 'bard-pro-premium' !== $theme
256
+ && 'vayne-pro-premium' !== $theme && 'kayn-pro-premium' !== $theme ) {
257
+ switch_theme( 'royal-elementor-kit' );
258
+ set_transient( 'royal-elementor-kit_activation_notice', true );
259
+ }
260
+ }
261
+
262
+ /**
263
+ ** Import Template Kit
264
+ */
265
+ function wpr_import_templates_kit() {
266
+
267
+ // Temp Define Importers
268
+ if ( ! defined('WP_LOAD_IMPORTERS') ) {
269
+ define('WP_LOAD_IMPORTERS', true);
270
+ }
271
+
272
+ // Include if Class Does NOT Exist
273
+ if ( ! class_exists( 'WP_Import' ) ) {
274
+ $class_wp_importer = WPR_ADDONS_PATH .'admin/import/class-wordpress-importer.php';
275
+ if ( file_exists( $class_wp_importer ) ) {
276
+ require $class_wp_importer;
277
+ }
278
+ }
279
+
280
+ if ( class_exists( 'WP_Import' ) ) {
281
+ $kit = isset($_POST['wpr_templates_kit']) ? sanitize_file_name(wp_unslash($_POST['wpr_templates_kit'])) : '';
282
+ $file = isset($_POST['wpr_templates_kit_single']) ? sanitize_file_name(wp_unslash($_POST['wpr_templates_kit_single'])) : '';
283
+
284
+ // Tmp
285
+ update_option( 'wpr-import-kit-id', $kit );
286
+
287
+ // Download Import File
288
+ $local_file_path = download_template( $kit, $file );
289
+
290
+ // Prepare for Import
291
+ $wp_import = new WP_Import( $local_file_path, ['fetch_attachments' => true] );
292
+
293
+ // Import
294
+ ob_start();
295
+ $wp_import->run();
296
+ ob_end_clean();
297
+
298
+ // Delete Import File
299
+ unlink( $local_file_path );
300
+
301
+ // Send to JS
302
+ echo esc_html(serialize( $wp_import ));
303
+ }
304
+
305
+ }
306
+
307
+ /**
308
+ ** Download Template
309
+ */
310
+ function download_template( $kit, $file ) {
311
+ $file = ! $file ? 'main' : $file;
312
+
313
+ // Avoid Cache
314
+ $randomNum = substr(str_shuffle("0123456789abcdefghijklmnopqrstvwxyzABCDEFGHIJKLMNOPQRSTVWXYZ"), 0, 7);
315
+
316
+ // Remote and Local Files
317
+ $remote_file_url = 'https://royal-elementor-addons.com/library/templates-kit/'. $kit .'/main.xml?='. $randomNum;
318
+ $local_file_path = WPR_ADDONS_PATH .'admin/import/tmp.xml';
319
+
320
+ // No Limit for Execution
321
+ set_time_limit(0);
322
+
323
+ // Copy File From Server
324
+ copy( $remote_file_url, $local_file_path );
325
+
326
+ return $local_file_path;
327
+ }
328
+
329
+ /**
330
+ ** Import Elementor Site Settings
331
+ */
332
+ function import_elementor_site_settings( $kit ) {
333
+ // Avoid Cache
334
+ // $randomNum = substr(str_shuffle("0123456789abcdefghijklmnopqrstvwxyzABCDEFGHIJKLMNOPQRSTVWXYZ"), 0, 7);
335
+
336
+ // Get Remote File
337
+ $site_settings = @file_get_contents('https://royal-elementor-addons.com/library/templates-kit/'. $kit .'/site-settings.json');
338
+
339
+ if ( false !== $site_settings ) {
340
+ $site_settings = json_decode($site_settings, true);
341
+
342
+ if ( ! empty($site_settings['settings']) ) {
343
+ $default_kit = \Elementor\Plugin::$instance->documents->get_doc_for_frontend( get_option( 'elementor_active_kit' ) );
344
+
345
+ $kit_settings = $default_kit->get_settings();
346
+ $new_settings = $site_settings['settings'];
347
+ $settings = array_merge($kit_settings, $new_settings);
348
+
349
+ $default_kit->save( [ 'settings' => $settings ] );
350
+ }
351
+ }
352
+ }
353
+
354
+ /**
355
+ ** Setup WPR Templates
356
+ */
357
+ function setup_wpr_templates( $kit ) {
358
+ $kit = isset($kit) ? sanitize_text_field(wp_unslash($kit)) : '';
359
+
360
+ // Check if kit has Theme Builder templates
361
+ $kit_name = substr($kit, 0, strripos($kit, '-v'));
362
+ $kit_version = substr($kit, (strripos($kit, '-v') + 1), strlen($kit));
363
+ $get_available_kits = WPR_Templates_Data::get_available_kits();
364
+ $has_theme_builder = $get_available_kits[$kit_name][$kit_version]['theme-builder'];
365
+ $has_woo_builder = $get_available_kits[$kit_name][$kit_version]['woo-builder'];
366
+ $has_off_canvas = $get_available_kits[$kit_name][$kit_version]['off-canvas'];
367
+
368
+ // Set Home & Blog Pages
369
+ $home_page = get_page_by_path('home-'. $kit);
370
+ $blog_page = get_page_by_path('blog-'. $kit);
371
+
372
+ if ( $home_page ) {
373
+ update_option( 'show_on_front', 'page' );
374
+ update_option( 'page_on_front', $home_page->ID );
375
+
376
+ if ( $blog_page ) {
377
+ update_option( 'page_for_posts', $blog_page->ID );
378
+ }
379
+ }
380
+
381
+ // Set Headers and Footers
382
+ update_option('wpr_header_conditions', '{"user-header-'. $kit .'-header":["global"]}');
383
+ update_post_meta( Utilities::get_template_id('user-header-'. $kit), 'wpr_header_show_on_canvas', 'true' );
384
+ update_option('wpr_footer_conditions', '{"user-footer-'. $kit .'-footer":["global"]}');
385
+ update_post_meta( Utilities::get_template_id('user-footer-'. $kit), 'wpr_footer_show_on_canvas', 'true' );
386
+
387
+ // Theme Builder
388
+ if ( $has_theme_builder ) {
389
+ 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"]}');
390
+ 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"]}');
391
+ }
392
+
393
+ // WooCommerce Builder
394
+ if ( $has_woo_builder ) {
395
+ update_option('wpr_product_archive_conditions', '{"user-product_archive-'. $kit .'-shop":["product_archive/products"],"user-product_archive-'. $kit .'-product-category-tag":["product_archive/product_cat/all","product_archive/product_tag/all"]}');
396
+ update_option('wpr_product_single_conditions', '{"user-product_single-'. $kit .'-product":["product_single/product"]}');
397
+
398
+ $shop_id = get_page_by_path('shop-'. $kit) ? get_page_by_path('shop-'. $kit)->ID : '';
399
+ $cart_id = get_page_by_path('cart-'. $kit) ? get_page_by_path('cart-'. $kit)->ID : '';
400
+ $checkout_id = get_page_by_path('checkout-'. $kit) ? get_page_by_path('checkout-'. $kit)->ID : '';
401
+ $myaccount_id = get_page_by_path('my-account-'. $kit) ? get_page_by_path('my-account-'. $kit)->ID : '';
402
+
403
+ update_option('woocommerce_shop_page_id', $shop_id);
404
+ update_option('woocommerce_cart_page_id', $cart_id);
405
+ update_option('woocommerce_checkout_page_id', $checkout_id);
406
+
407
+ if ( '' !== $myaccount_id ) {
408
+ update_option('woocommerce_myaccount_page_id', $myaccount_id);
409
+ }
410
+
411
+ // Update Options
412
+ update_option( 'woocommerce_queue_flush_rewrite_rules', 'yes' );
413
+
414
+ // Enable Elementor Builder for WooCommerce CPT
415
+ // $cpt_support = get_option( 'elementor_cpt_support' );
416
+
417
+ // if ( ! in_array( 'product', $cpt_support ) ) {
418
+ // $cpt_support[] = 'product';
419
+ // update_option( 'elementor_cpt_support', $cpt_support );
420
+ // }
421
+ }
422
+
423
+ // Set Popups
424
+ if ( $has_off_canvas ) {
425
+ update_option('wpr_popup_conditions', '{"user-popup-'. $kit .'-off-canvas":["global"],"user-popup-'. $kit .'-popup":["global"]}');
426
+ } else {
427
+ update_option('wpr_popup_conditions', '{"user-popup-'. $kit .'-popup":["global"]}');
428
+ }
429
+ }
430
+
431
+ /**
432
+ ** Fix Elementor Images
433
+ */
434
+ function wpr_fix_elementor_images() {
435
+ $args = array(
436
+ 'post_type' => ['wpr_templates', 'page'],
437
+ 'posts_per_page' => '-1',
438
+ 'meta_key' => '_elementor_version'
439
+ );
440
+ $elementor_pages = new WP_Query ( $args );
441
+
442
+ // Check that we have query results.
443
+ if ( $elementor_pages->have_posts() ) {
444
+
445
+ // Start looping over the query results.
446
+ while ( $elementor_pages->have_posts() ) {
447
+
448
+ $elementor_pages->the_post();
449
+
450
+ // Replace Demo with Current
451
+ $site_url = get_site_url();
452
+ $site_url = str_replace( '/', '\/', $site_url );
453
+ $demo_site_url = 'https://demosites.royal-elementor-addons.com/'. get_option('wpr-import-kit-id');
454
+ $demo_site_url = str_replace( '/', '\/', $demo_site_url );
455
+
456
+ // Elementor Data
457
+ $data = get_post_meta( get_the_ID(), '_elementor_data', true );
458
+
459
+ if ( ! empty( $data ) ) {
460
+ $data = preg_replace('/\\\{1}\/sites\\\{1}\/\d+/', '', $data);
461
+ $data = str_replace( $demo_site_url, $site_url, $data );
462
+ $data = json_decode( $data, true );
463
+ }
464
+
465
+ update_metadata( 'post', get_the_ID(), '_elementor_data', $data );
466
+
467
+ // Elementor Page Settings
468
+ $page_settings = get_post_meta( get_the_ID(), '_elementor_page_settings', true );
469
+ $page_settings = json_encode($page_settings);
470
+
471
+ if ( ! empty( $page_settings ) ) {
472
+ $page_settings = preg_replace('/\\\{1}\/sites\\\{1}\/\d+/', '', $page_settings);
473
+ $page_settings = str_replace( $demo_site_url, $site_url, $page_settings );
474
+ $page_settings = json_decode( $page_settings, true );
475
+ }
476
+
477
+ update_metadata( 'post', get_the_ID(), '_elementor_page_settings', $page_settings );
478
+
479
+ }
480
+
481
+ }
482
+
483
+ // Clear Elementor Cache
484
+ Plugin::$instance->files_manager->clear_cache();
485
+ }
486
+
487
+ /**
488
+ ** Final Settings Setup
489
+ */
490
+ function wpr_final_settings_setup() {
491
+ $kit = !empty(get_option('wpr-import-kit-id')) ? esc_html(get_option('wpr-import-kit-id')) : '';
492
+
493
+ // Elementor Site Settings
494
+ import_elementor_site_settings($kit);
495
+
496
+ // Setup WPR Templates
497
+ setup_wpr_templates($kit);
498
+
499
+ // Fix Elementor Images
500
+ wpr_fix_elementor_images();
501
+
502
+ // Track Kit
503
+ wpr_track_imported_kit( $kit );
504
+
505
+ // Clear DB
506
+ delete_option('wpr-import-kit-id');
507
+
508
+ // Delete Hello World Post
509
+ $post = get_page_by_path('hello-world', OBJECT, 'post');
510
+ if ( $post ) {
511
+ wp_delete_post($post->ID,true);
512
+ }
513
+ }
514
+
515
+ /**
516
+ ** Prevent WooCommerce creating default pages
517
+ */
518
+ function disable_default_woo_pages_creation() {
519
+ add_filter( 'woocommerce_create_pages', '__return_empty_array' );
520
+ }
521
+
522
+ /**
523
+ * Allow SVG Import - Add Mime Types
524
+ */
525
+ function wpr_svgs_upload_mimes( $mimes = array() ) {
526
+
527
+ // allow SVG file upload
528
+ $mimes['svg'] = 'image/svg+xml';
529
+ $mimes['svgz'] = 'image/svg+xml';
530
+
531
+ // allow JSON file upload
532
+ $mimes['json'] = 'text/plain';
533
+
534
+ return $mimes;
535
+
536
+ }
537
+ add_filter( 'upload_mimes', 'wpr_svgs_upload_mimes', 99 );
538
+
539
+ /**
540
+ * Check Mime Types
541
+ */
542
+ function wpr_svgs_upload_check( $checked, $file, $filename, $mimes ) {
543
+
544
+ if ( ! $checked['type'] ) {
545
+
546
+ $check_filetype = wp_check_filetype( $filename, $mimes );
547
+ $ext = $check_filetype['ext'];
548
+ $type = $check_filetype['type'];
549
+ $proper_filename = $filename;
550
+
551
+ if ( $type && 0 === strpos( $type, 'image/' ) && $ext !== 'svg' ) {
552
+ $ext = $type = false;
553
+ }
554
+
555
+ $checked = compact( 'ext','type','proper_filename' );
556
+ }
557
+
558
+ return $checked;
559
+
560
+ }
561
+ add_filter( 'wp_check_filetype_and_ext', 'wpr_svgs_upload_check', 10, 4 );
562
+
563
+ /**
564
+ * Mime Check fix for WP 4.7.1 / 4.7.2
565
+ *
566
+ * Fixes uploads for these 2 version of WordPress.
567
+ * Issue was fixed in 4.7.3 core.
568
+ */
569
+ function wpr_svgs_allow_svg_upload( $data, $file, $filename, $mimes ) {
570
+
571
+ global $wp_version;
572
+ if ( $wp_version !== '4.7.1' || $wp_version !== '4.7.2' ) {
573
+ return $data;
574
+ }
575
+
576
+ $filetype = wp_check_filetype( $filename, $mimes );
577
+
578
+ return [
579
+ 'ext' => $filetype['ext'],
580
+ 'type' => $filetype['type'],
581
+ 'proper_filename' => $data['proper_filename']
582
+ ];
583
+
584
+ }
585
+ add_filter( 'wp_check_filetype_and_ext', 'wpr_svgs_allow_svg_upload', 10, 4 );
586
+
587
+ /**
588
+ ** Search Query Results
589
+ */
590
+ function wpr_search_query_results() {
591
+ // Freemius OptIn
592
+ if ( ! ( wpr_fs()->is_registered() && wpr_fs()->is_tracking_allowed() || wpr_fs()->is_pending_activation() ) ) {
593
+ return;
594
+ }
595
+
596
+ $search_query = isset($_POST['search_query']) ? sanitize_text_field(wp_unslash($_POST['search_query'])) : '';
597
+
598
+ wp_remote_post( 'http://reastats.kinsta.cloud/wp-json/templates-kit-search/data', [
599
+ 'body' => [
600
+ 'search_query' => $search_query
601
+ ]
602
+ ] );
603
+ }
604
+
605
+ /**
606
+ ** Search Query Results
607
+ */
608
+ function wpr_track_imported_kit( $kit ) {
609
+ // Freemius OptIn
610
+ if ( ! ( wpr_fs()->is_registered() && wpr_fs()->is_tracking_allowed() || wpr_fs()->is_pending_activation() ) ) {
611
+ return;
612
+ }
613
+
614
+ wp_remote_post( 'http://reastats.kinsta.cloud/wp-json/templates-kit-import/data', [
615
+ 'body' => [
616
+ 'imported_kit' => $kit
617
+ ]
618
+ ] );
619
  }
admin/templates/views/generatepress/class-generatepress-compat.php CHANGED
@@ -1,73 +1,73 @@
1
- <?php
2
-
3
- use WprAddons\Admin\Includes\WPR_Render_Templates;
4
-
5
- /**
6
- * Wpr_GeneratePress_Compat setup
7
- *
8
- * @since 1.0
9
- */
10
- class Wpr_GeneratePress_Compat {
11
-
12
- /**
13
- * Instance of Wpr_GeneratePress_Compat
14
- *
15
- * @var Wpr_GeneratePress_Compat
16
- */
17
- private static $instance;
18
-
19
- /**
20
- * WPR_Render_Templates() Class
21
- */
22
- private $render_templates;
23
-
24
- /**
25
- * Initiator
26
- */
27
- public static function instance() {
28
- if ( ! isset( self::$instance ) ) {
29
- self::$instance = new Wpr_GeneratePress_Compat();
30
-
31
- add_action( 'wp', [ self::$instance, 'hooks' ] );
32
- }
33
-
34
- return self::$instance;
35
- }
36
-
37
- /**
38
- * Run all the Actions / Filters.
39
- */
40
- public function hooks() {
41
- $this->render_templates = new WPR_Render_Templates( true );
42
-
43
- if ( $this->render_templates->is_template_available('header') ) {
44
- add_action( 'template_redirect', [ $this, 'generatepress_setup_header' ] );
45
- add_action( 'generate_header', [$this->render_templates, 'replace_header'] );
46
- add_action( 'elementor/page_templates/canvas/before_content', [ $this->render_templates, 'add_canvas_header' ] );
47
- }
48
-
49
- if ( $this->render_templates->is_template_available('footer') ) {
50
- add_action( 'template_redirect', [ $this, 'generatepress_setup_footer' ] );
51
- add_action( 'generate_footer', [$this->render_templates, 'replace_footer'] );
52
- add_action( 'elementor/page_templates/canvas/after_content', [ $this->render_templates, 'add_canvas_footer' ] );
53
- }
54
- }
55
-
56
- /**
57
- * Disable header from the theme.
58
- */
59
- public function generatepress_setup_header() {
60
- remove_action( 'generate_header', 'generate_construct_header' );
61
- }
62
-
63
- /**
64
- * Disable footer from the theme.
65
- */
66
- public function generatepress_setup_footer() {
67
- remove_action( 'generate_footer', 'generate_construct_footer_widgets', 5 );
68
- remove_action( 'generate_footer', 'generate_construct_footer' );
69
- }
70
-
71
- }
72
-
73
- Wpr_GeneratePress_Compat::instance();
1
+ <?php
2
+
3
+ use WprAddons\Admin\Includes\WPR_Render_Templates;
4
+
5
+ /**
6
+ * Wpr_GeneratePress_Compat setup
7
+ *
8
+ * @since 1.0
9
+ */
10
+ class Wpr_GeneratePress_Compat {
11
+
12
+ /**
13
+ * Instance of Wpr_GeneratePress_Compat
14
+ *
15
+ * @var Wpr_GeneratePress_Compat
16
+ */
17
+ private static $instance;
18
+
19
+ /**
20
+ * WPR_Render_Templates() Class
21
+ */
22
+ private $render_templates;
23
+
24
+ /**
25
+ * Initiator
26
+ */
27
+ public static function instance() {
28
+ if ( ! isset( self::$instance ) ) {
29
+ self::$instance = new Wpr_GeneratePress_Compat();
30
+
31
+ add_action( 'wp', [ self::$instance, 'hooks' ] );
32
+ }
33
+
34
+ return self::$instance;
35
+ }
36
+
37
+ /**
38
+ * Run all the Actions / Filters.
39
+ */
40
+ public function hooks() {
41
+ $this->render_templates = new WPR_Render_Templates( true );
42
+
43
+ if ( $this->render_templates->is_template_available('header') ) {
44
+ add_action( 'template_redirect', [ $this, 'generatepress_setup_header' ] );
45
+ add_action( 'generate_header', [$this->render_templates, 'replace_header'] );
46
+ add_action( 'elementor/page_templates/canvas/before_content', [ $this->render_templates, 'add_canvas_header' ] );
47
+ }
48
+
49
+ if ( $this->render_templates->is_template_available('footer') ) {
50
+ add_action( 'template_redirect', [ $this, 'generatepress_setup_footer' ] );
51
+ add_action( 'generate_footer', [$this->render_templates, 'replace_footer'] );
52
+ add_action( 'elementor/page_templates/canvas/after_content', [ $this->render_templates, 'add_canvas_footer' ] );
53
+ }
54
+ }
55
+
56
+ /**
57
+ * Disable header from the theme.
58
+ */
59
+ public function generatepress_setup_header() {
60
+ remove_action( 'generate_header', 'generate_construct_header' );
61
+ }
62
+
63
+ /**
64
+ * Disable footer from the theme.
65
+ */
66
+ public function generatepress_setup_footer() {
67
+ remove_action( 'generate_footer', 'generate_construct_footer_widgets', 5 );
68
+ remove_action( 'generate_footer', 'generate_construct_footer' );
69
+ }
70
+
71
+ }
72
+
73
+ Wpr_GeneratePress_Compat::instance();
admin/templates/views/oceanwp/class-oceanwp-compat.php CHANGED
@@ -1,72 +1,72 @@
1
- <?php
2
-
3
- use WprAddons\Admin\Includes\WPR_Render_Templates;
4
-
5
- /**
6
- * OceanWP theme compatibility.
7
- */
8
- class Wpr_OceanWP_Compat {
9
-
10
- /**
11
- * Instance of Wpr_OceanWP_Compat.
12
- *
13
- * @var Wpr_OceanWP_Compat
14
- */
15
- private static $instance;
16
-
17
- /**
18
- * WPR_Render_Templates() Class
19
- */
20
- private $render_templates;
21
-
22
- /**
23
- * Initiator
24
- */
25
- public static function instance() {
26
- if ( ! isset( self::$instance ) ) {
27
- self::$instance = new Wpr_OceanWP_Compat();
28
-
29
- add_action( 'wp', [ self::$instance, 'hooks' ] );
30
- }
31
-
32
- return self::$instance;
33
- }
34
-
35
- /**
36
- * Run all the Actions / Filters.
37
- */
38
- public function hooks() {
39
- $this->render_templates = new WPR_Render_Templates( true );
40
-
41
- if ( $this->render_templates->is_template_available('header') ) {
42
- add_action( 'template_redirect', [ $this, 'setup_header' ], 10 );
43
- add_action( 'ocean_header', [$this->render_templates, 'replace_header'] );
44
- add_action( 'elementor/page_templates/canvas/before_content', [ $this->render_templates, 'add_canvas_header' ] );
45
- }
46
-
47
- if ( $this->render_templates->is_template_available('footer') ) {
48
- add_action( 'template_redirect', [ $this, 'setup_footer' ], 10 );
49
- add_action( 'ocean_footer', [$this->render_templates, 'replace_footer'] );
50
- add_action( 'elementor/page_templates/canvas/after_content', [ $this->render_templates, 'add_canvas_footer' ] );
51
- }
52
- }
53
-
54
- /**
55
- * Disable header from the theme.
56
- */
57
- public function setup_header() {
58
- remove_action( 'ocean_top_bar', 'oceanwp_top_bar_template' );
59
- remove_action( 'ocean_header', 'oceanwp_header_template' );
60
- remove_action( 'ocean_page_header', 'oceanwp_page_header_template' );
61
- }
62
-
63
- /**
64
- * Disable footer from the theme.
65
- */
66
- public function setup_footer() {
67
- remove_action( 'ocean_footer', 'oceanwp_footer_template' );
68
- }
69
-
70
- }
71
-
72
- Wpr_OceanWP_Compat::instance();
1
+ <?php
2
+
3
+ use WprAddons\Admin\Includes\WPR_Render_Templates;
4
+
5
+ /**
6
+ * OceanWP theme compatibility.
7
+ */
8
+ class Wpr_OceanWP_Compat {
9
+
10
+ /**
11
+ * Instance of Wpr_OceanWP_Compat.
12
+ *
13
+ * @var Wpr_OceanWP_Compat
14
+ */
15
+ private static $instance;
16
+
17
+ /**
18
+ * WPR_Render_Templates() Class
19
+ */
20
+ private $render_templates;
21
+
22
+ /**
23
+ * Initiator
24
+ */
25
+ public static function instance() {
26
+ if ( ! isset( self::$instance ) ) {
27
+ self::$instance = new Wpr_OceanWP_Compat();
28
+
29
+ add_action( 'wp', [ self::$instance, 'hooks' ] );
30
+ }
31
+
32
+ return self::$instance;
33
+ }
34
+
35
+ /**
36
+ * Run all the Actions / Filters.
37
+ */
38
+ public function hooks() {
39
+ $this->render_templates = new WPR_Render_Templates( true );
40
+
41
+ if ( $this->render_templates->is_template_available('header') ) {
42
+ add_action( 'template_redirect', [ $this, 'setup_header' ], 10 );
43
+ add_action( 'ocean_header', [$this->render_templates, 'replace_header'] );
44
+ add_action( 'elementor/page_templates/canvas/before_content', [ $this->render_templates, 'add_canvas_header' ] );
45
+ }
46
+
47
+ if ( $this->render_templates->is_template_available('footer') ) {
48
+ add_action( 'template_redirect', [ $this, 'setup_footer' ], 10 );
49
+ add_action( 'ocean_footer', [$this->render_templates, 'replace_footer'] );
50
+ add_action( 'elementor/page_templates/canvas/after_content', [ $this->render_templates, 'add_canvas_footer' ] );
51
+ }
52
+ }
53
+
54
+ /**
55
+ * Disable header from the theme.
56
+ */
57
+ public function setup_header() {
58
+ remove_action( 'ocean_top_bar', 'oceanwp_top_bar_template' );
59
+ remove_action( 'ocean_header', 'oceanwp_header_template' );
60
+ remove_action( 'ocean_page_header', 'oceanwp_page_header_template' );
61
+ }
62
+
63
+ /**
64
+ * Disable footer from the theme.
65
+ */
66
+ public function setup_footer() {
67
+ remove_action( 'ocean_footer', 'oceanwp_footer_template' );
68
+ }
69
+
70
+ }
71
+
72
+ Wpr_OceanWP_Compat::instance();
admin/templates/views/royal/theme-footer-royal.php CHANGED
@@ -1,24 +1,24 @@
1
- <?php
2
- use WprAddons\Admin\Includes\WPR_Conditions_Manager;
3
- use WprAddons\Classes\Utilities;
4
-
5
- if ( ! defined( 'ABSPATH' ) ) {
6
- exit; // Exit if accessed directly.
7
- }
8
-
9
- $conditions = json_decode( get_option('wpr_footer_conditions', '[]'), true );
10
- $template_slug = WPR_Conditions_Manager::header_footer_display_conditions($conditions);
11
-
12
- // Render WPR Header
13
- Utilities::render_elementor_template($template_slug);
14
-
15
- wp_footer();
16
-
17
- // Royal themes compatibility
18
- echo '</div>'; // .page-content
19
- echo '</div>'; // #page-wrap
20
-
21
- ?>
22
-
23
- </body>
24
  </html>
1
+ <?php
2
+ use WprAddons\Admin\Includes\WPR_Conditions_Manager;
3
+ use WprAddons\Classes\Utilities;
4
+
5
+ if ( ! defined( 'ABSPATH' ) ) {
6
+ exit; // Exit if accessed directly.
7
+ }
8
+
9
+ $conditions = json_decode( get_option('wpr_footer_conditions', '[]'), true );
10
+ $template_slug = WPR_Conditions_Manager::header_footer_display_conditions($conditions);
11
+
12
+ // Render WPR Header
13
+ Utilities::render_elementor_template($template_slug);
14
+
15
+ wp_footer();
16
+
17
+ // Royal themes compatibility
18
+ echo '</div>'; // .page-content
19
+ echo '</div>'; // #page-wrap
20
+
21
+ ?>
22
+
23
+ </body>
24
  </html>
admin/templates/views/storefront/class-storefront-compat.php CHANGED
@@ -1,105 +1,105 @@
1
- <?php
2
-
3
- use WprAddons\Admin\Includes\WPR_Render_Templates;
4
-
5
- /**
6
- * Astra theme compatibility.
7
- */
8
- class Wpr_Storefront_Compat {
9
-
10
- /**
11
- * Instance of Wpr_Storefront_Compat.
12
- *
13
- * @var Wpr_Storefront_Compat
14
- */
15
- private static $instance;
16
-
17
- /**
18
- * WPR_Render_Templates() Class
19
- */
20
- private $render_templates;
21
-
22
- /**
23
- * Initiator
24
- */
25
- public static function instance() {
26
- if ( ! isset( self::$instance ) ) {
27
- self::$instance = new Wpr_Storefront_Compat();
28
-
29
- add_action( 'wp', [ self::$instance, 'hooks' ] );
30
- }
31
-
32
- return self::$instance;
33
- }
34
-
35
- /**
36
- * Run all the Actions / Filters.
37
- */
38
- public function hooks() {
39
- $this->render_templates = new WPR_Render_Templates( true );
40
-
41
- if ( $this->render_templates->is_template_available('header') ) {
42
- add_action( 'template_redirect', [ $this, 'setup_header' ], 10 );
43
- add_action( 'storefront_before_header', [$this->render_templates, 'replace_header'], 500 );
44
- add_action( 'elementor/page_templates/canvas/before_content', [ $this->render_templates, 'add_canvas_header' ] );
45
- }
46
-
47
- if ( $this->render_templates->is_template_available('footer') ) {
48
- add_action( 'template_redirect', [ $this, 'setup_footer' ], 10 );
49
- add_action( 'storefront_after_footer', [$this->render_templates, 'replace_footer'], 500 );
50
- add_action( 'elementor/page_templates/canvas/after_content', [ $this->render_templates, 'add_canvas_footer' ] );
51
- }
52
-
53
- if ( $this->render_templates->is_template_available('header') || $this->render_templates->is_template_available('footer') ) {
54
- add_action( 'wp_head', [ $this, 'styles' ] );
55
- }
56
- }
57
-
58
- /**
59
- * Add inline CSS to hide empty divs for header and footer in storefront
60
- *
61
- * @since 1.2.0
62
- * @return void
63
- */
64
- public function styles() {
65
- $css = '<style id="wpr-disable-storefront-hf">';
66
-
67
- if ( $this->render_templates->is_template_available('header') ) {
68
- $css .= '.site-header {
69
- display: none;
70
- }';
71
- }
72
-
73
- if ( $this->render_templates->is_template_available('footer') ) {
74
- $css .= '.site-footer {
75
- display: none;
76
- }';
77
- }
78
-
79
- $css .= '</style>';
80
-
81
- // Echo plain CSS (no user input or variables)
82
- echo ''. $css; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
83
- }
84
-
85
- /**
86
- * Disable header from the theme.
87
- */
88
- public function setup_header() {
89
- for ( $priority = 0; $priority < 200; $priority ++ ) {
90
- remove_all_actions( 'storefront_header', $priority );
91
- }
92
- }
93
-
94
- /**
95
- * Disable footer from the theme.
96
- */
97
- public function setup_footer() {
98
- for ( $priority = 0; $priority < 200; $priority ++ ) {
99
- remove_all_actions( 'storefront_footer', $priority );
100
- }
101
- }
102
-
103
- }
104
-
105
- Wpr_Storefront_Compat::instance();
1
+ <?php
2
+
3
+ use WprAddons\Admin\Includes\WPR_Render_Templates;
4
+
5
+ /**
6
+ * Astra theme compatibility.
7
+ */
8
+ class Wpr_Storefront_Compat {
9
+
10
+ /**
11
+ * Instance of Wpr_Storefront_Compat.
12
+ *
13
+ * @var Wpr_Storefront_Compat
14
+ */
15
+ private static $instance;
16
+
17
+ /**
18
+ * WPR_Render_Templates() Class
19
+ */
20
+ private $render_templates;
21
+
22
+ /**
23
+ * Initiator
24
+ */
25
+ public static function instance() {
26
+ if ( ! isset( self::$instance ) ) {
27
+ self::$instance = new Wpr_Storefront_Compat();
28
+
29
+ add_action( 'wp', [ self::$instance, 'hooks' ] );
30
+ }
31
+
32
+ return self::$instance;
33
+ }
34
+
35
+ /**
36
+ * Run all the Actions / Filters.
37
+ */
38
+ public function hooks() {
39
+ $this->render_templates = new WPR_Render_Templates( true );
40
+
41
+ if ( $this->render_templates->is_template_available('header') ) {
42
+ add_action( 'template_redirect', [ $this, 'setup_header' ], 10 );
43
+ add_action( 'storefront_before_header', [$this->render_templates, 'replace_header'], 500 );
44
+ add_action( 'elementor/page_templates/canvas/before_content', [ $this->render_templates, 'add_canvas_header' ] );
45
+ }
46
+
47
+ if ( $this->render_templates->is_template_available('footer') ) {
48
+ add_action( 'template_redirect', [ $this, 'setup_footer' ], 10 );
49
+ add_action( 'storefront_after_footer', [$this->render_templates, 'replace_footer'], 500 );
50
+ add_action( 'elementor/page_templates/canvas/after_content', [ $this->render_templates, 'add_canvas_footer' ] );
51
+ }
52
+
53
+ if ( $this->render_templates->is_template_available('header') || $this->render_templates->is_template_available('footer') ) {
54
+ add_action( 'wp_head', [ $this, 'styles' ] );
55
+ }
56
+ }
57
+
58
+ /**
59
+ * Add inline CSS to hide empty divs for header and footer in storefront
60
+ *
61
+ * @since 1.2.0
62
+ * @return void
63
+ */
64
+ public function styles() {
65
+ $css = '<style id="wpr-disable-storefront-hf">';
66
+
67
+ if ( $this->render_templates->is_template_available('header') ) {
68
+ $css .= '.site-header {
69
+ display: none;
70
+ }';
71
+ }
72
+
73
+ if ( $this->render_templates->is_template_available('footer') ) {
74
+ $css .= '.site-footer {
75
+ display: none;
76
+ }';
77
+ }
78
+
79
+ $css .= '</style>';
80
+
81
+ // Echo plain CSS (no user input or variables)
82
+ echo ''. $css; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
83
+ }
84
+
85
+ /**
86
+ * Disable header from the theme.
87
+ */
88
+ public function setup_header() {
89
+ for ( $priority = 0; $priority < 200; $priority ++ ) {
90
+ remove_all_actions( 'storefront_header', $priority );
91
+ }
92
+ }
93
+
94
+ /**
95
+ * Disable footer from the theme.
96
+ */
97
+ public function setup_footer() {
98
+ for ( $priority = 0; $priority < 200; $priority ++ ) {
99
+ remove_all_actions( 'storefront_footer', $priority );
100
+ }
101
+ }
102
+
103
+ }
104
+
105
+ Wpr_Storefront_Compat::instance();
admin/templates/wpr-templates-data.php CHANGED
@@ -1,820 +1,820 @@
1
- <?php
2
- namespace WprAddons\Admin\Templates;
3
-
4
- use WprAddons\Plugin;
5
-
6
- if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
7
-
8
- class WPR_Templates_Data {
9
- public static function get_available_kits() {
10
- $is_pro_active = wpr_fs()->can_use_premium_code() && defined('WPR_ADDONS_PRO_VERSION');
11
- $is_cf7_active = is_plugin_active('contact-form-7/wp-contact-form-7.php') ? 'true' : 'false';
12
- $is_mla_active = is_plugin_active('media-library-assistant/index.php') ? 'true' : 'false';
13
- $is_woo_active = is_plugin_active('woocommerce/woocommerce.php') ? 'true' : 'false';
14
-
15
- return [
16
- 'grocery-store' => [
17
- 'v1' => [
18
- 'name' => 'Grocery Store',
19
- 'pages' => 'home,shop,single-product,my-account,about,contact,',
20
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .',"woocommerce":'. $is_woo_active .'}',
21
- 'tags' => 'shop shopping woo-commerce woocommerce estore ecommerce product online eshopping portfolio market reseller ecommerce shop',
22
- 'theme-builder' => false,
23
- 'woo-builder' => true,
24
- 'off-canvas' => false,
25
- 'price' => $is_pro_active ? 'free' : 'pro',
26
- 'priority' => 4,
27
- ],
28
- ],
29
- 'furniture-shop' => [
30
- 'v1' => [
31
- 'name' => 'Furniture Shop',
32
- 'pages' => 'home,shop-v1,shop-v2,single-product,my-account,about,contact,',
33
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .',"woocommerce":'. $is_woo_active .'}',
34
- 'tags' => 'shop shopping woo-commerce woocommerce estore ecommerce product online furniture home office eshopping portfolio market reseller ecommerce shop ',
35
- 'theme-builder' => false,
36
- 'woo-builder' => true,
37
- 'off-canvas' => true,
38
- 'price' => $is_pro_active ? 'free' : 'pro',
39
- 'priority' => 5,
40
- ],
41
- ],
42
- 'fashion' => [
43
- 'v1' => [
44
- 'name' => 'Fashion',
45
- 'pages' => 'home,shop-v1,shop-v2,single-product,blog,my-account,about,faq,contact,',
46
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .',"woocommerce":'. $is_woo_active .'}',
47
- 'tags' => 'shop shopping woo-commerce woocommerce estore ecommerce product ecommerce shop online boutique clothes eshopping fashion portfolio designer market reseller digital purchases',
48
- 'theme-builder' => true,
49
- 'woo-builder' => true,
50
- 'off-canvas' => false,
51
- 'price' => $is_pro_active ? 'free' : 'pro',
52
- 'priority' => 2,
53
- ],
54
- ],
55
- 'wooshop' => [
56
- 'v1' => [
57
- 'name' => 'Woo Shop',
58
- 'pages' => 'home,shop,single-product,about,contact,',
59
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .',"woocommerce":'. $is_woo_active .'}',
60
- 'tags' => 'shop shopping woo-commerce woocommerce estore ecommerce shop ecommerce product online shop online store boutique clothes eshopping fashion portfolio designer market reseller digital purchases',
61
- 'theme-builder' => false,
62
- 'woo-builder' => true,
63
- 'off-canvas' => false,
64
- 'price' => $is_pro_active ? 'free' : 'free',
65
- 'priority' => 3,
66
- ],
67
- ],
68
- 'personal-blog' => [
69
- 'v1' => [
70
- 'name' => 'Personal Blog',
71
- 'pages' => 'home,home-v1,home-v2,home-v3,lifestyle,about,contact,',
72
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
73
- 'tags' => 'blog blogger posts personal blog lifestyle blogger theme builder grid slider news',
74
- 'theme-builder' => true,
75
- 'woo-builder' => false,
76
- 'off-canvas' => false,
77
- 'price' => $is_pro_active ? 'free' : 'pro',
78
- 'priority' => 2,
79
- ],
80
- 'v2' => [
81
- 'name' => 'Personal Blog',
82
- 'pages' => 'home,single,category,about,contact,',
83
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
84
- 'tags' => 'blog blogger posts personal blog lifestyle blogger theme builder grid slider news',
85
- 'theme-builder' => true,
86
- 'woo-builder' => false,
87
- 'off-canvas' => false,
88
- 'price' => $is_pro_active ? 'free' : 'pro',
89
- 'priority' => 4,
90
- ],
91
- ],
92
- 'food-blog' => [
93
- 'v1' => [
94
- 'name' => 'Food Blog',
95
- 'pages' => 'home,home-v1,home-v2,home-v3,category,about,contact,',
96
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
97
- 'tags' => 'food blog posts food blogger theme builder recipes cooking grid slider',
98
- 'theme-builder' => true,
99
- 'woo-builder' => false,
100
- 'off-canvas' => false,
101
- 'price' => $is_pro_active ? 'free' : 'pro',
102
- 'priority' => 20,
103
- ],
104
- ],
105
- 'magazine-blog' => [
106
- 'v1' => [
107
- 'name' => 'Magazine Blog',
108
- 'pages' => 'home,home-v1,home-v2,category,about,contact,',
109
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
110
- 'tags' => 'blogger blog posts content news newspaper journal magazine business blog publishing theme builder sports grid slider',
111
- 'theme-builder' => true,
112
- 'woo-builder' => false,
113
- 'off-canvas' => false,
114
- 'price' => $is_pro_active ? 'free' : 'pro',
115
- 'priority' => 6,
116
- ],
117
- 'v2' => [
118
- 'name' => 'Magazine Blog',
119
- 'pages' => 'home,home-v1,home-v2,category,about,contact,',
120
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
121
- 'tags' => 'blogger blog posts content news newspaper journal magazine business blog publishing theme builder sports grid slider',
122
- 'theme-builder' => true,
123
- 'woo-builder' => false,
124
- 'off-canvas' => false,
125
- 'price' => $is_pro_active ? 'free' : 'pro',
126
- 'priority' => 50,
127
- ],
128
- 'v3' => [
129
- 'name' => 'Magazine Blog',
130
- 'pages' => 'home,category,about,contact,',
131
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
132
- 'tags' => 'blogger blog posts content news newspaper journal magazine business blog publishing theme builder sports grid slider',
133
- 'theme-builder' => true,
134
- 'woo-builder' => false,
135
- 'off-canvas' => false,
136
- 'price' => $is_pro_active ? 'free' : 'pro',
137
- 'priority' => 30,
138
- ],
139
- ],
140
- 'nature' => [
141
- 'v1' => [
142
- 'name' => 'nature',
143
- 'pages' => 'home,about,services,projects,contact,',
144
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
145
- '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',
146
- 'theme-builder' => true,
147
- 'woo-builder' => false,
148
- 'off-canvas' => false,
149
- 'price' => $is_pro_active ? 'free' : 'free',
150
- 'priority' => 60,
151
- ],
152
- ],
153
- 'digital-marketing-agency' => [
154
- 'v1' => [
155
- 'name' => 'Digital Marketing Agency',
156
- 'pages' => 'home,seo,branding,marketing,social,blog,about,contact,',
157
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
158
- 'tags' => 'digital agency company corporate digital services office agency web digital marketing seo social media branding',
159
- 'theme-builder' => true,
160
- 'woo-builder' => false,
161
- 'off-canvas' => false,
162
- 'price' => $is_pro_active ? 'free' : 'free',
163
- 'priority' => 1,
164
- ],
165
- ],
166
- 'digital-agency-dark' => [
167
- 'v1' => [
168
- 'name' => 'Digital Agency Dark',
169
- 'pages' => 'home,about,services,team,portfolio,blog,contact,',
170
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .', "media-library-assistant":'. $is_mla_active .'}',
171
- 'tags' => 'digital agency company corporate digital services office agency web digital marketing seo social media branding dark black',
172
- 'theme-builder' => true,
173
- 'woo-builder' => false,
174
- 'off-canvas' => false,
175
- 'price' => $is_pro_active ? 'free' : 'free',
176
- 'priority' => 3,
177
- ],
178
- ],
179
- 'one-page' => [
180
- 'v1' => [
181
- 'name' => 'OnePage - Digital Marketing Agency',
182
- 'pages' => 'home,blog,',
183
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .', "media-library-assistant":'. $is_mla_active .'}',
184
- 'tags' => 'digital agency company corporate digital services office agency web digital marketing seo social media branding one page onepage one pages parallax single page',
185
- 'theme-builder' => true,
186
- 'woo-builder' => false,
187
- 'off-canvas' => false,
188
- 'price' => $is_pro_active ? 'free' : 'free',
189
- 'priority' => 7,
190
- ],
191
- ],
192
- 'travel-blog' => [
193
- 'v1' => [
194
- 'name' => 'Travel Blog',
195
- 'pages' => 'home,home-v1,home-v2,category,about,contact,',
196
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
197
- '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',
198
- 'theme-builder' => true,
199
- 'woo-builder' => false,
200
- 'off-canvas' => false,
201
- 'price' => $is_pro_active ? 'free' : 'pro',
202
- 'priority' => 71,
203
- ],
204
- ],
205
- 'portfolio' => [
206
- 'v1' => [
207
- 'name' => 'Portfolio/CV',
208
- 'pages' => 'home,about,portfolio,contact,',
209
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
210
- 'tags' => 'portfolio personal cv designer ux artist artwork personal resume photographer grid',
211
- 'theme-builder' => false,
212
- 'woo-builder' => false,
213
- 'off-canvas' => false,
214
- 'price' => $is_pro_active ? 'free' : 'free',
215
- 'priority' => 80,
216
- ],
217
- ],
218
- 'nft-portfolio' => [
219
- 'v1' => [
220
- 'name' => 'NFT',
221
- 'pages' => 'home,about,blog,roadmap,team,nft,faq,comingsoon,',
222
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
223
- 'tags' => 'portfolio blockchain nft crypto collection minting listing metavers digital currency art',
224
- 'theme-builder' => false,
225
- 'woo-builder' => false,
226
- 'off-canvas' => false,
227
- 'price' => $is_pro_active ? 'free' : 'free',
228
- 'priority' => 81,
229
- ],
230
- ],
231
- 'pizza' => [
232
- 'v1' => [
233
- 'name' => 'Pizza Restaurant',
234
- 'pages' => 'home,menu,about,offer,gallery,contact,',
235
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
236
- 'tags' => 'pizza italian restaurant food slider pasta fastfood fast food recipes cooking slider',
237
- 'theme-builder' => false,
238
- 'woo-builder' => false,
239
- 'off-canvas' => false,
240
- 'price' => $is_pro_active ? 'free' : 'free',
241
- 'priority' => 90,
242
- ],
243
- ],
244
- 'pet-care' => [
245
- 'v1' => [
246
- 'name' => 'Pet Care',
247
- 'pages' => 'home,about,services,reviews,contact,',
248
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
249
- 'tags' => 'pet care dog care grooming pet minding pet sitting pet training pet walking cat animal dogs dog training',
250
- 'theme-builder' => false,
251
- 'woo-builder' => false,
252
- 'off-canvas' => false,
253
- 'price' => $is_pro_active ? 'free' : 'free',
254
- 'priority' => 91,
255
- ],
256
- ],
257
- 'travel' => [
258
- 'v1' => [
259
- 'name' => 'Travel Blogger & Influencer',
260
- 'pages' => 'home,about,stories,contact,',
261
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
262
- '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',
263
- 'theme-builder' => false,
264
- 'woo-builder' => false,
265
- 'off-canvas' => false,
266
- 'price' => $is_pro_active ? 'free' : 'free',
267
- 'priority' => 100,
268
- ],
269
- ],
270
- 'cybersecurity' => [
271
- 'v1' => [
272
- 'name' => 'Cybersecurity',
273
- 'pages' => 'home,about,services,pricing,contact,',
274
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
275
- 'tags' => 'cybersecurity data protection hacker security dark digital technology cybercrime computer windows technician',
276
- 'theme-builder' => false,
277
- 'woo-builder' => false,
278
- 'off-canvas' => false,
279
- 'price' => $is_pro_active ? 'free' : 'free',
280
- 'priority' => 110,
281
- ],
282
- ],
283
- 'charity' => [
284
- 'v1' => [
285
- 'name' => 'Charity',
286
- 'pages' => 'home,home-v1,contact,whatwedo,whoweare,partners,',
287
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
288
- 'tags' => 'charity donate church foundation giving non-profit organization kids charity help children save life donation fundrising ngo fundraising corona fundraising nonprofit non profit',
289
- 'theme-builder' => false,
290
- 'woo-builder' => false,
291
- 'off-canvas' => false,
292
- 'price' => $is_pro_active ? 'free' : 'free',
293
- 'priority' => 111,
294
- ],
295
- ],
296
- 'photographer' => [
297
- 'v1' => [
298
- 'name' => 'Photographer Portfolio Dark',
299
- 'pages' => 'home,about,services,portfolio,contact,',
300
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .', "media-library-assistant":'. $is_mla_active .'}',
301
- 'tags' => 'portfolio personal cv designer ux artist artwork personal resume camera fashion lens modelling photographer photography videography wedding shoot grid ',
302
- 'theme-builder' => false,
303
- 'woo-builder' => false,
304
- 'off-canvas' => false,
305
- 'price' => $is_pro_active ? 'free' : 'free',
306
- 'priority' => 120,
307
- ],
308
- 'v2' => [
309
- 'name' => 'Photographer Portfolio Light',
310
- 'pages' => 'home,about,services,portfolio,contact,',
311
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .', "media-library-assistant":'. $is_mla_active .'}',
312
- 'tags' => 'portfolio personal cv designer ux artist artwork personal resume camera fashion lens modelling photographer photography videography wedding shoot grid ',
313
- 'theme-builder' => false,
314
- 'woo-builder' => false,
315
- 'off-canvas' => false,
316
- 'price' => $is_pro_active ? 'free' : 'free',
317
- 'priority' => 130,
318
- ],
319
- ],
320
- 'cryptocurrency' => [
321
- 'v1' => [
322
- 'name' => 'Cryptocurrency',
323
- 'pages' => 'home,about,services,token,pricing,contact,',
324
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
325
- 'tags' => 'cryptocurrency bitcoin ethereum etherium blockchain protection nft coin corporate crypto dark startup token digital',
326
- 'theme-builder' => false,
327
- 'woo-builder' => false,
328
- 'off-canvas' => false,
329
- 'price' => $is_pro_active ? 'free' : 'free',
330
- 'priority' => 150,
331
- ],
332
- ],
333
- 'skincare' => [
334
- 'v1' => [
335
- 'name' => 'Skin Care',
336
- 'pages' => 'home,about,services,procedures,gallery,pricing,contact,',
337
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
338
- 'tags' => 'skincare skin care beauty clean face skin-beauty health wellness',
339
- 'theme-builder' => false,
340
- 'woo-builder' => false,
341
- 'off-canvas' => false,
342
- 'price' => $is_pro_active ? 'free' : 'free',
343
- 'priority' => 160,
344
- ],
345
- ],
346
- 'lawyer' => [
347
- 'v1' => [
348
- 'name' => 'Lawyer',
349
- 'pages' => 'home,practice,faq,reviews,attorney,contact,',
350
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
351
- 'tags' => 'lawyers criminal defence lawyer firm divorce lawyer family lawyer law legal firm ',
352
- 'theme-builder' => false,
353
- 'woo-builder' => false,
354
- 'off-canvas' => false,
355
- 'price' => $is_pro_active ? 'free' : 'free',
356
- 'priority' => 170,
357
- ],
358
- ],
359
- 'medical' => [
360
- 'v1' => [
361
- 'name' => 'Medical',
362
- 'pages' => 'home,about,services,doctors,contact,',
363
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
364
- 'tags' => 'medical clinic dental health healthcare doctor therapist wellness treatment cure',
365
- 'theme-builder' => false,
366
- 'woo-builder' => false,
367
- 'off-canvas' => false,
368
- 'price' => $is_pro_active ? 'free' : 'free',
369
- 'priority' => 180,
370
- ],
371
- ],
372
- 'digitalagency' => [
373
- 'v1' => [
374
- 'name' => 'Digital Agency',
375
- 'pages' => 'home,about,services,contact,',
376
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
377
- 'tags' => 'digital agency company corporate digital services office agency web marketing',
378
- 'theme-builder' => false,
379
- 'woo-builder' => false,
380
- 'off-canvas' => false,
381
- 'price' => $is_pro_active ? 'free' : 'free',
382
- 'priority' => 190,
383
- ],
384
- 'v2' => [
385
- 'name' => 'Digital Agency',
386
- 'pages' => 'home,about,services,pricing,contact,',
387
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
388
- 'tags' => 'digital agency company corporate digital services office agency web marketing slider',
389
- 'theme-builder' => false,
390
- 'woo-builder' => false,
391
- 'off-canvas' => false,
392
- 'price' => $is_pro_active ? 'free' : 'free',
393
- 'priority' => 200,
394
- ],
395
- ],
396
- 'drone' => [
397
- 'v1' => [
398
- 'name' => 'Drone Project',
399
- 'pages' => 'home,about,gallery,services,contact,',
400
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
401
- 'tags' => 'drone photography aerial photo ',
402
- 'theme-builder' => false,
403
- 'woo-builder' => false,
404
- 'off-canvas' => false,
405
- 'price' => $is_pro_active ? 'free' : 'free',
406
- 'priority' => 210,
407
- ],
408
- ],
409
- 'architecture' => [
410
- 'v1' => [
411
- 'name' => 'Architecture',
412
- 'pages' => 'home,about,portfolio,services,faq,contact,',
413
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
414
- 'tags' => 'architecture company slider interior design designer landscaping office zoning building slider',
415
- 'theme-builder' => false,
416
- 'woo-builder' => false,
417
- 'off-canvas' => false,
418
- 'price' => $is_pro_active ? 'free' : 'pro',
419
- 'priority' => 220,
420
- ],
421
- ],
422
- 'fooddelivery' => [
423
- 'v1' => [
424
- 'name' => 'Food Delivery',
425
- 'pages' => 'home,services,blog,faq,contact,',
426
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
427
- 'tags' => 'fooddelivery fast food chain restaurant service hotel italian pasta pizza pizzeria burger recipes cooking',
428
- 'theme-builder' => false,
429
- 'woo-builder' => false,
430
- 'off-canvas' => false,
431
- 'price' => $is_pro_active ? 'free' : 'pro',
432
- 'priority' => 230,
433
- ],
434
- ],
435
- 'construction' => [
436
- 'v1' => [
437
- 'name' => 'Construction',
438
- 'pages' => 'home,about,services,projects,pricing,contact,faq,',
439
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
440
- 'tags' => 'construction architecture company interior office real estate',
441
- 'theme-builder' => false,
442
- 'woo-builder' => false,
443
- 'off-canvas' => false,
444
- 'price' => $is_pro_active ? 'free' : 'free',
445
- 'priority' => 240,
446
- ],
447
- ],
448
- 'ittech' => [
449
- 'v1' => [
450
- 'name' => 'IT Tech v1',
451
- 'pages' => 'home,about,services,pricing,faq,contact,',
452
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
453
- 'tags' => 'ittech advanced technology it technique computer windows technician digital',
454
- 'theme-builder' => false,
455
- 'woo-builder' => false,
456
- 'off-canvas' => false,
457
- 'price' => $is_pro_active ? 'free' : 'free',
458
- 'priority' => 5,
459
- ],
460
- 'v2' => [
461
- 'name' => 'IT Tech v2',
462
- 'pages' => 'home,about,services,pricing,faq,contact,',
463
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
464
- 'tags' => 'ittech advanced technology it technique computer windows technician digital',
465
- 'theme-builder' => false,
466
- 'woo-builder' => false,
467
- 'off-canvas' => false,
468
- 'price' => $is_pro_active ? 'free' : 'free',
469
- 'priority' => 260,
470
- ],
471
- ],
472
- 'carwash' => [
473
- 'v1' => [
474
- 'name' => 'Carwash',
475
- 'pages' => 'home,about,services,contact,',
476
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
477
- 'tags' => 'vehicle car wash cleaning painting service maintenance care bike motorcycle detailing',
478
- 'theme-builder' => false,
479
- 'woo-builder' => false,
480
- 'off-canvas' => false,
481
- 'price' => $is_pro_active ? 'free' : 'free',
482
- 'priority' => 252,
483
- ],
484
- ],
485
- 'realestate' => [
486
- 'v1' => [
487
- 'name' => 'Real Estate',
488
- 'pages' => 'home,properties,about,services,faq,contact,',
489
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
490
- 'tags' => 'real estate agency company construction property rentals estate sales developers',
491
- 'theme-builder' => false,
492
- 'woo-builder' => false,
493
- 'off-canvas' => false,
494
- 'price' => $is_pro_active ? 'free' : 'pro',
495
- 'priority' => 270,
496
- ],
497
- ],
498
- 'restaurant' => [
499
- 'v1' => [
500
- 'name' => 'Restaurant',
501
- 'pages' => 'home,about,gallery,menu,contact,',
502
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
503
- 'tags' => 'restaurant fastfood slider hotel italian pizza pizzeria pasta dinner fast food wine recipe recipes cooking slider',
504
- 'theme-builder' => false,
505
- 'woo-builder' => false,
506
- 'off-canvas' => false,
507
- 'price' => $is_pro_active ? 'free' : 'free',
508
- 'priority' => 280,
509
- ],
510
- ],
511
- 'winebar' => [
512
- 'v1' => [
513
- 'name' => 'Wine Bar & Restaurant',
514
- 'pages' => 'home,story,wines,dishes,events,contact,',
515
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
516
- 'tags' => 'wine bar winery beer drink alcohol pub events dish wines italian restaurant food slider recipes cooking recipes slider',
517
- 'theme-builder' => false,
518
- 'woo-builder' => false,
519
- 'off-canvas' => false,
520
- 'price' => $is_pro_active ? 'free' : 'free',
521
- 'priority' => 290,
522
- ],
523
- ],
524
- 'wedding' => [
525
- 'v1' => [
526
- 'name' => 'Wedding',
527
- 'pages' => 'home,about,services,blog,gallery,contact,',
528
- 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
529
- 'tags' => 'wedding party event slider invitation planner slider photography photographer',
530
- 'theme-builder' => false,
531
- 'woo-builder' => false,
532
- 'off-canvas' => false,
533
- 'price' => $is_pro_active ? 'free' : 'free',
534
- 'priority' => 300,
535
- ],
536
- ],
537
- ];
538
- }
539
-
540
- public static function get_available_blocks() {
541
- return [
542
- 'grid' => [
543
- 'v1' => ['type' => 'iframe', 'url' => 'grid/v1/'],
544
- 'v2' => ['type' => 'iframe', 'url' => 'grid/v2/'],
545
- 'v3' => ['type' => 'iframe', 'url' => 'grid/v3/'],
546
- 'v4' => ['type' => 'iframe', 'url' => 'grid/v4/'],
547
- 'v5-pro' => ['type' => 'iframe', 'url' => 'grid/v5/'],
548
- 'v6-pro' => ['type' => 'iframe', 'url' => 'grid/v6/'],
549
- 'v7-pro' => ['type' => 'iframe', 'url' => 'grid/v7/'],
550
- 'v8-pro' => ['type' => 'iframe', 'url' => 'grid/v8/'],
551
- 'v9-pro' => ['type' => 'iframe', 'url' => 'grid/v9/'],
552
- 'v10-pro' => ['type' => 'iframe', 'url' => 'grid/v10/'],
553
- 'v11' => ['type' => 'iframe', 'url' => 'grid/v11/'],
554
- 'v12' => ['type' => 'iframe', 'url' => 'grid/v12/'],
555
- 'v13' => ['type' => 'iframe', 'url' => 'grid/v13/'],
556
- 'v14' => ['type' => 'iframe', 'url' => 'grid/v14/'],
557
- ],
558
- 'woo-grid' => [
559
- 'v1' => ['type' => 'iframe', 'url' => 'woocommerce-grid/v1/'],
560
- 'v2' => ['type' => 'iframe', 'url' => 'woocommerce-grid/v2/'],
561
- 'v3-pro' => ['type' => 'iframe', 'url' => 'woocommerce-grid/v3/'],
562
- 'v4-pro' => ['type' => 'iframe', 'url' => 'woocommerce-grid/v4/'],
563
- 'v5-pro' => ['type' => 'iframe', 'url' => 'woocommerce-grid/v5/'],
564
- 'v6-pro' => ['type' => 'iframe', 'url' => 'woocommerce-grid/v6/'],
565
- 'v7-pro' => ['type' => 'iframe', 'url' => 'woocommerce-grid/v7/'],
566
- 'v8-pro' => ['type' => 'iframe', 'url' => 'woocommerce-grid/v8/'],
567
- 'v9-pro' => ['type' => 'iframe', 'url' => 'woocommerce-grid/v9/'],
568
- ],
569
- 'media-grid' => [
570
- 'v1' => ['type' => 'iframe', 'url' => 'image-grid/v1/'],
571
- 'v2' => ['type' => 'iframe', 'url' => 'image-grid/v2/'],
572
- ],
573
- 'magazine-grid' => [
574
- 'v1' => ['type' => 'iframe', 'url' => 'magazine-grid/v1/'],
575
- 'v2' => ['type' => 'iframe', 'url' => 'magazine-grid/v2/'],
576
- // 'v3' => ['type' => 'iframe', 'url' => 'magazine-grid/v3/', 'sub' => 'carousel'], <-- Keep as example
577
- 'v3-pro' => ['type' => 'iframe', 'url' => 'magazine-grid/v3/'],
578
- 'v4-pro' => ['type' => 'iframe', 'url' => 'magazine-grid/v4/'],
579
- 'v5-pro' => ['type' => 'iframe', 'url' => 'magazine-grid/v5/'],
580
- 'v6-pro' => ['type' => 'iframe', 'url' => 'magazine-grid/v6/'],
581
- 'v7-pro' => ['type' => 'iframe', 'url' => 'magazine-grid/v7/'],
582
- 'v8-pro' => ['type' => 'iframe', 'url' => 'magazine-grid/v8/'],
583
- ],
584
- 'advanced-slider' => [
585
- 'v1' => ['type' => 'iframe', 'url' => 'advanced-slider/v1/'],
586
- 'v2' => ['type' => 'iframe', 'url' => 'advanced-slider/v2/'],
587
- 'v3' => ['type' => 'iframe', 'url' => 'advanced-slider/v3/'],
588
- 'v4-pro' => ['type' => 'iframe', 'url' => 'advanced-slider/v4/'],
589
- 'v5-pro' => ['type' => 'iframe', 'url' => 'advanced-slider/v5/'],
590
- 'v6-pro' => ['type' => 'iframe', 'url' => 'advanced-slider/v6/'],
591
- 'v7-pro' => ['type' => 'iframe', 'url' => 'advanced-slider/v7/'],
592
- 'v8-pro' => ['type' => 'iframe', 'url' => 'advanced-slider/v8/'],
593
- ],
594
- 'posts-timeline' => [
595
- 'v1' => ['type' => 'iframe', 'url' => 'timeline/v1/'],
596
- 'v2' => ['type' => 'iframe', 'url' => 'timeline/v2/'],
597
- 'v3' => ['type' => 'iframe', 'url' => 'timeline/v3/'],
598
- 'v4' => ['type' => 'iframe', 'url' => 'timeline/v4/'],
599
- 'v5' => ['type' => 'iframe', 'url' => 'timeline/v5/'],
600
- ],
601
- 'testimonial' => [
602
- 'v1' => ['type' => 'iframe', 'url' => 'testimonial-slider/v1/'],
603
- 'v2' => ['type' => 'iframe', 'url' => 'testimonial-slider/v2/'],
604
- 'v3' => ['type' => 'iframe', 'url' => 'testimonial-slider/v3/'],
605
- 'v4' => ['type' => 'iframe', 'url' => 'testimonial-slider/v4/'],
606
- 'v5-pro' => ['type' => 'iframe', 'url' => 'testimonial-slider/v5/'],
607
- 'v6-pro' => ['type' => 'iframe', 'url' => 'testimonial-slider/v6/'],
608
- 'v7-pro' => ['type' => 'iframe', 'url' => 'testimonial-slider/v7/'],
609
- 'v8-pro' => ['type' => 'iframe', 'url' => 'testimonial-slider/v8/'],
610
- 'v9-pro' => ['type' => 'iframe', 'url' => 'testimonial-slider/v9/'],
611
- ],
612
- 'nav-menu' => [
613
- 'v1' => ['type' => 'iframe', 'url' => 'nav-menu/v1/'],
614
- 'v2' => ['type' => 'iframe', 'url' => 'nav-menu/v2/'],
615
- 'v3' => ['type' => 'iframe', 'url' => 'nav-menu/v3/'],
616
- 'v4' => ['type' => 'iframe', 'url' => 'nav-menu/v4/'],
617
- 'v5' => ['type' => 'iframe', 'url' => 'nav-menu/v5/'],
618
- 'v6' => ['type' => 'iframe', 'url' => 'nav-menu/v6/'],
619
- ],
620
- 'onepage-nav' => [
621
- 'v1' => ['type' => 'iframe', 'url' => 'one-page-navigation/v1/'],
622
- 'v2' => ['type' => 'iframe', 'url' => 'one-page-navigation/v2/'],
623
- 'v3' => ['type' => 'iframe', 'url' => 'one-page-navigation/v3/'],
624
- 'v4-pro' => ['type' => 'iframe', 'url' => 'one-page-navigation/v4/'],
625
- ],
626
- 'pricing-table' => [
627
- 'v1' => ['type' => 'iframe', 'url' => 'pricing-table/v1/'],
628
- 'v2' => ['type' => 'iframe', 'url' => 'pricing-table/v2/'],
629
- 'v3' => ['type' => 'iframe', 'url' => 'pricing-table/v3/'],
630
- 'v4' => ['type' => 'iframe', 'url' => 'pricing-table/v4/'],
631
- 'v5' => ['type' => 'iframe', 'url' => 'pricing-table/v5/'],
632
- 'v6-pro' => ['type' => 'iframe', 'url' => 'pricing-table/v6/'],
633
- 'v7-pro' => ['type' => 'iframe', 'url' => 'pricing-table/v7/'],
634
- 'v8-pro' => ['type' => 'iframe', 'url' => 'pricing-table/v8/'],
635
- ],
636
- 'content-toggle' => [
637
- 'v1' => ['type' => 'iframe', 'url' => 'content-toggle/v1/'],
638
- 'v2' => ['type' => 'iframe', 'url' => 'content-toggle/v2/'],
639
- 'v3-pro' => ['type' => 'iframe', 'url' => 'content-toggle/v3/'],
640
- 'v4-pro' => ['type' => 'iframe', 'url' => 'content-toggle/v4/'],
641
- ],
642
- 'countdown' => [
643
- 'v1' => ['type' => 'iframe', 'url' => 'countdown/v1/'],
644
- 'v2' => ['type' => 'iframe', 'url' => 'countdown/v2/'],
645
- 'v3' => ['type' => 'iframe', 'url' => 'countdown/v3/'],
646
- ],
647
- 'progress-bar' => [
648
- 'v1' => ['type' => 'iframe', 'url' => 'progress-bar/v1/'],
649
- 'v2' => ['type' => 'iframe', 'url' => 'progress-bar/v2/'],
650
- 'v3' => ['type' => 'iframe', 'url' => 'progress-bar/v3/'],
651
- ],
652
- 'tabs' => [
653
- 'v1' => ['type' => 'iframe', 'url' => 'tabs/v1/'],
654
- 'v2' => ['type' => 'iframe', 'url' => 'tabs/v2/'],
655
- 'v3' => ['type' => 'iframe', 'url' => 'tabs/v3/'],
656
- ],
657
- 'advanced-text' => [
658
- 'v1' => ['type' => 'iframe', 'url' => 'advanced-text/v1/'],
659
- 'v2' => ['type' => 'iframe', 'url' => 'advanced-text/v2/'],
660
- 'v3' => ['type' => 'iframe', 'url' => 'advanced-text/v3/'],
661
- 'v4' => ['type' => 'iframe', 'url' => 'advanced-text/v4/'],
662
- 'v5' => ['type' => 'iframe', 'url' => 'advanced-text/v5/'],
663
- 'v6' => ['type' => 'iframe', 'url' => 'advanced-text/v6/'],
664
- 'v7-pro' => ['type' => 'iframe', 'url' => 'advanced-text/v7/'],
665
- 'v8-pro' => ['type' => 'iframe', 'url' => 'advanced-text/v8/'],
666
- 'v9-pro' => ['type' => 'iframe', 'url' => 'advanced-text/v9/'],
667
- 'v10-pro' => ['type' => 'iframe', 'url' => 'advanced-text/v10/'],
668
- 'v11-pro' => ['type' => 'iframe', 'url' => 'advanced-text/v11/'],
669
- 'v12-pro' => ['type' => 'iframe', 'url' => 'advanced-text/v12/'],
670
- ],
671
- 'flip-box' => [
672
- 'v1' => ['type' => 'iframe', 'url' => 'flip-box/v1/'],
673
- 'v2' => ['type' => 'iframe', 'url' => 'flip-box/v2/'],
674
- 'v3' => ['type' => 'iframe', 'url' => 'flip-box/v3/'],
675
- 'v4-pro' => ['type' => 'iframe', 'url' => 'flip-box/v4/'],
676
- ],
677
- 'promo-box' => [
678
- 'v1' => ['type' => 'iframe', 'url' => 'promo-box/v1/'],
679
- 'v2' => ['type' => 'iframe', 'url' => 'promo-box/v2/'],
680
- 'v3' => ['type' => 'iframe', 'url' => 'promo-box/v3/'],
681
- 'v4-pro' => ['type' => 'iframe', 'url' => 'promo-box/v4/'],
682
- 'v5-pro' => ['type' => 'iframe', 'url' => 'promo-box/v5/'],
683
- 'v6-pro' => ['type' => 'iframe', 'url' => 'promo-box/v6/'],
684
- ],
685
- 'before-after' => [
686
- 'v1' => ['type' => 'iframe', 'url' => 'before-and-after/v1/'],
687
- 'v2' => ['type' => 'iframe', 'url' => 'before-and-after/v2/'],
688
- 'v3' => ['type' => 'iframe', 'url' => 'before-and-after/v3/'],
689
- ],
690
- 'image-hotspots' => [
691
- 'v1' => ['type' => 'iframe', 'url' => 'image-hotspot/v1/'],
692
- 'v2' => ['type' => 'iframe', 'url' => 'image-hotspot/v2/'],
693
- 'v3' => ['type' => 'iframe', 'url' => 'image-hotspot/v3/'],
694
- ],
695
- 'forms' => [],
696
- 'mailchimp' => [
697
- 'v1' => ['type' => 'iframe', 'url' => 'mailchimp/v1/'],
698
- 'v2' => ['type' => 'iframe', 'url' => 'mailchimp/v2/'],
699
- 'v3' => ['type' => 'iframe', 'url' => 'mailchimp/v3/'],
700
- 'v4' => ['type' => 'iframe', 'url' => 'mailchimp/v4/'],
701
- 'v5' => ['type' => 'iframe', 'url' => 'mailchimp/v5/'],
702
- 'v6-pro' => ['type' => 'iframe', 'url' => 'mailchimp/v6/'],
703
- 'v7-pro' => ['type' => 'iframe', 'url' => 'mailchimp/v7/'],
704
- 'v8-pro' => ['type' => 'iframe', 'url' => 'mailchimp/v8/'],
705
- ],
706
- 'content-ticker' => [
707
- 'v1' => ['type' => 'iframe', 'url' => 'content-ticker/v1/'],
708
- 'v2' => ['type' => 'iframe', 'url' => 'content-ticker/v2/'],
709
- 'v3' => ['type' => 'iframe', 'url' => 'content-ticker/v3/'],
710
- 'v4-pro' => ['type' => 'iframe', 'url' => 'content-ticker/v4/'],
711
- 'v5-pro' => ['type' => 'iframe', 'url' => 'content-ticker/v5/'],
712
- 'v6-pro' => ['type' => 'iframe', 'url' => 'content-ticker/v6/'],
713
- ],
714
- 'button' => [
715
- 'v1' => ['type' => 'iframe', 'url' => 'button/v1/'],
716
- 'v2' => ['type' => 'iframe', 'url' => 'button/v2/'],
717
- 'v3' => ['type' => 'iframe', 'url' => 'button/v3/'],
718
- 'v4' => ['type' => 'iframe', 'url' => 'button/v4/'],
719
- 'v5' => ['type' => 'iframe', 'url' => 'button/v5/'],
720
- ],
721
- 'dual-button' => [
722
- 'v1' => ['type' => 'iframe', 'url' => 'dual-button/v1/'],
723
- 'v2' => ['type' => 'iframe', 'url' => 'dual-button/v2/'],
724
- 'v3' => ['type' => 'iframe', 'url' => 'dual-button/v3/'],
725
- ],
726
- 'team-member' => [
727
- 'v1' => ['type' => 'iframe', 'url' => 'team-member/v1/'],
728
- 'v2' => ['type' => 'iframe', 'url' => 'team-member/v2/'],
729
- 'v3' => ['type' => 'iframe', 'url' => 'team-member/v3/'],
730
- 'v4' => ['type' => 'iframe', 'url' => 'team-member/v4/'],
731
- 'v5' => ['type' => 'iframe', 'url' => 'team-member/v5/'],
732
- 'v6-pro' => ['type' => 'iframe', 'url' => 'team-member/v6/'],
733
- 'v7-pro' => ['type' => 'iframe', 'url' => 'team-member/v7/'],
734
- 'v8-pro' => ['type' => 'iframe', 'url' => 'team-member/v8/'],
735
- ],
736
- 'google-maps' => [
737
- 'v1' => ['type' => 'iframe', 'url' => 'google-map/v1/'],
738
- 'v2' => ['type' => 'iframe', 'url' => 'google-map/v2/'],
739
- 'v3' => ['type' => 'iframe', 'url' => 'google-map/v3/'],
740
- 'v4' => ['type' => 'iframe', 'url' => 'google-map/v4/'],
741
- 'v5' => ['type' => 'iframe', 'url' => 'google-map/v5/'],
742
- ],
743
- 'price-list' => [
744
- 'v1' => ['type' => 'iframe', 'url' => 'price-list/v1/'],
745
- 'v2' => ['type' => 'iframe', 'url' => 'price-list/v2/'],
746
- 'v3' => ['type' => 'iframe', 'url' => 'price-list/v3/'],
747
- 'v4-pro' => ['type' => 'iframe', 'url' => 'price-list/v4/'],
748
- 'v5-pro' => ['type' => 'iframe', 'url' => 'price-list/v5/'],
749
- 'v6-pro' => ['type' => 'iframe', 'url' => 'price-list/v6/'],
750
- 'v7-pro' => ['type' => 'iframe', 'url' => 'price-list/v7/'],
751
- ],
752
- 'business-hours' => [
753
- 'v1' => ['type' => 'iframe', 'url' => 'business-hours/v1/'],
754
- 'v2' => ['type' => 'iframe', 'url' => 'business-hours/v2/'],
755
- 'v3' => ['type' => 'iframe', 'url' => 'business-hours/v3/'],
756
- ],
757
- 'sharing-buttons' => [
758
- 'v1' => ['type' => 'iframe', 'url' => 'sharing-button/v1/'],
759
- 'v2' => ['type' => 'iframe', 'url' => 'sharing-button/v2/'],
760
- 'v3' => ['type' => 'iframe', 'url' => 'sharing-button/v3/'],
761
- 'v4-pro' => ['type' => 'iframe', 'url' => 'sharing-button/v4/'],
762
- 'v5-pro' => ['type' => 'iframe', 'url' => 'sharing-button/v5/'],
763
- ],
764
- 'logo' => [],
765
- 'search' => [
766
- 'v1' => ['type' => 'iframe', 'url' => 'search/v1/'],
767
- 'v2' => ['type' => 'iframe', 'url' => 'search/v2/'],
768
- 'v3' => ['type' => 'iframe', 'url' => 'search/v3/'],
769
- ],
770
- 'phone-call' => [],
771
- 'back-to-top' => [],
772
- 'lottie-animations' => [],
773
- 'popup-trigger' => [],
774
- ];
775
- }
776
-
777
- public static function get_available_popups() {
778
- return [
779
- // 'contact' => [
780
- // 'v1' => ['type' => 'iframe', 'url' => 'search/v1/'],
781
- // 'v2' => ['type' => 'iframe', 'url' => 'search/v2/'],
782
- // 'v3' => ['type' => 'iframe', 'url' => 'search/v3/'],
783
- // ],
784
- 'cookie' => [
785
- 'v1' => ['type' => 'image', 'url' => 'popups/cookie/v1-preview.jpg'],
786
- 'v2-pro' => ['type' => 'image', 'url' => 'popups/cookie/v2-pro-preview.jpg'],
787
- 'v3-pro' => ['type' => 'image', 'url' => 'popups/cookie/v3-pro-preview.jpg'],
788
- 'v4-pro' => ['type' => 'image', 'url' => 'popups/cookie/v4-pro-preview.jpg'],
789
- ],
790
- 'discount' => [
791
- 'v1' => ['type' => 'image', 'url' => 'popups/discount/v1-preview.jpg'],
792
- 'v2' => ['type' => 'image', 'url' => 'popups/discount/v2-preview.jpg'],
793
- 'v3-pro' => ['type' => 'image', 'url' => 'popups/discount/v3-pro-preview.jpg'],
794
- 'v4-pro' => ['type' => 'image', 'url' => 'popups/discount/v4-pro-preview.jpg'],
795
- 'v5' => ['type' => 'image', 'url' => 'popups/discount/v5-preview.jpg'],
796
- 'v6' => ['type' => 'image', 'url' => 'popups/discount/v6-preview.jpg'],
797
- 'v7-pro' => ['type' => 'image', 'url' => 'popups/discount/v7-pro-preview.jpg'],
798
- 'v8-pro' => ['type' => 'image', 'url' => 'popups/discount/v8-pro-preview.jpg'],
799
- 'v9' => ['type' => 'image', 'url' => 'popups/discount/v9-preview.jpg'],
800
- 'v10' => ['type' => 'image', 'url' => 'popups/discount/v10-preview.jpg'],
801
- 'v11-pro' => ['type' => 'image', 'url' => 'popups/discount/v11-pro-preview.jpg'],
802
- 'v12-pro' => ['type' => 'image', 'url' => 'popups/discount/v12-pro-preview.jpg'],
803
- 'v13-pro' => ['type' => 'image', 'url' => 'popups/discount/v13-pro-preview.jpg'],
804
- 'v14' => ['type' => 'image', 'url' => 'popups/discount/v14-preview.jpg'],
805
- 'v15' => ['type' => 'image', 'url' => 'popups/discount/v15-preview.jpg'],
806
- 'v16-pro' => ['type' => 'image', 'url' => 'popups/discount/v16-pro-preview.jpg'],
807
- ],
808
- 'subscribe' => [
809
- 'v1-pro' => ['type' => 'image', 'url' => 'popups/subscribe/v1-pro-preview.jpg'],
810
- 'v2-pro' => ['type' => 'image', 'url' => 'popups/subscribe/v2-pro-preview.jpg'],
811
- 'v3-pro' => ['type' => 'image', 'url' => 'popups/subscribe/v3-pro-preview.jpg'],
812
- ],
813
- 'yesno' => [
814
- 'v1-pro' => ['type' => 'image', 'url' => 'popups/yesno/v1-pro-preview.jpg'],
815
- 'v2-pro' => ['type' => 'image', 'url' => 'popups/yesno/v2-pro-preview.jpg'],
816
- 'v3-pro' => ['type' => 'image', 'url' => 'popups/yesno/v3-pro-preview.jpg'],
817
- ],
818
- ];
819
- }
820
  }
1
+ <?php
2
+ namespace WprAddons\Admin\Templates;
3
+
4
+ use WprAddons\Plugin;
5
+
6
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
7
+
8
+ class WPR_Templates_Data {
9
+ public static function get_available_kits() {
10
+ $is_pro_active = wpr_fs()->can_use_premium_code() && defined('WPR_ADDONS_PRO_VERSION');
11
+ $is_cf7_active = is_plugin_active('contact-form-7/wp-contact-form-7.php') ? 'true' : 'false';
12
+ $is_mla_active = is_plugin_active('media-library-assistant/index.php') ? 'true' : 'false';
13
+ $is_woo_active = is_plugin_active('woocommerce/woocommerce.php') ? 'true' : 'false';
14
+
15
+ return [
16
+ 'grocery-store' => [
17
+ 'v1' => [
18
+ 'name' => 'Grocery Store',
19
+ 'pages' => 'home,shop,single-product,my-account,about,contact,',
20
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .',"woocommerce":'. $is_woo_active .'}',
21
+ 'tags' => 'shop shopping woo-commerce woocommerce estore ecommerce product online eshopping portfolio market reseller ecommerce shop',
22
+ 'theme-builder' => false,
23
+ 'woo-builder' => true,
24
+ 'off-canvas' => false,
25
+ 'price' => $is_pro_active ? 'free' : 'pro',
26
+ 'priority' => 4,
27
+ ],
28
+ ],
29
+ 'furniture-shop' => [
30
+ 'v1' => [
31
+ 'name' => 'Furniture Shop',
32
+ 'pages' => 'home,shop-v1,shop-v2,single-product,my-account,about,contact,',
33
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .',"woocommerce":'. $is_woo_active .'}',
34
+ 'tags' => 'shop shopping woo-commerce woocommerce estore ecommerce product online furniture home office eshopping portfolio market reseller ecommerce shop ',
35
+ 'theme-builder' => false,
36
+ 'woo-builder' => true,
37
+ 'off-canvas' => true,
38
+ 'price' => $is_pro_active ? 'free' : 'pro',
39
+ 'priority' => 5,
40
+ ],
41
+ ],
42
+ 'fashion' => [
43
+ 'v1' => [
44
+ 'name' => 'Fashion',
45
+ 'pages' => 'home,shop-v1,shop-v2,single-product,blog,my-account,about,faq,contact,',
46
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .',"woocommerce":'. $is_woo_active .'}',
47
+ 'tags' => 'shop shopping woo-commerce woocommerce estore ecommerce product ecommerce shop online boutique clothes eshopping fashion portfolio designer market reseller digital purchases',
48
+ 'theme-builder' => true,
49
+ 'woo-builder' => true,
50
+ 'off-canvas' => false,
51
+ 'price' => $is_pro_active ? 'free' : 'pro',
52
+ 'priority' => 2,
53
+ ],
54
+ ],
55
+ 'wooshop' => [
56
+ 'v1' => [
57
+ 'name' => 'Woo Shop',
58
+ 'pages' => 'home,shop,single-product,about,contact,',
59
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .',"woocommerce":'. $is_woo_active .'}',
60
+ 'tags' => 'shop shopping woo-commerce woocommerce estore ecommerce shop ecommerce product online shop online store boutique clothes eshopping fashion portfolio designer market reseller digital purchases',
61
+ 'theme-builder' => false,
62
+ 'woo-builder' => true,
63
+ 'off-canvas' => false,
64
+ 'price' => $is_pro_active ? 'free' : 'free',
65
+ 'priority' => 3,
66
+ ],
67
+ ],
68
+ 'personal-blog' => [
69
+ 'v1' => [
70
+ 'name' => 'Personal Blog',
71
+ 'pages' => 'home,home-v1,home-v2,home-v3,lifestyle,about,contact,',
72
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
73
+ 'tags' => 'blog blogger posts personal blog lifestyle blogger theme builder grid slider news',
74
+ 'theme-builder' => true,
75
+ 'woo-builder' => false,
76
+ 'off-canvas' => false,
77
+ 'price' => $is_pro_active ? 'free' : 'pro',
78
+ 'priority' => 2,
79
+ ],
80
+ 'v2' => [
81
+ 'name' => 'Personal Blog',
82
+ 'pages' => 'home,single,category,about,contact,',
83
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
84
+ 'tags' => 'blog blogger posts personal blog lifestyle blogger theme builder grid slider news',
85
+ 'theme-builder' => true,
86
+ 'woo-builder' => false,
87
+ 'off-canvas' => false,
88
+ 'price' => $is_pro_active ? 'free' : 'pro',
89
+ 'priority' => 4,
90
+ ],
91
+ ],
92
+ 'food-blog' => [
93
+ 'v1' => [
94
+ 'name' => 'Food Blog',
95
+ 'pages' => 'home,home-v1,home-v2,home-v3,category,about,contact,',
96
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
97
+ 'tags' => 'food blog posts food blogger theme builder recipes cooking grid slider',
98
+ 'theme-builder' => true,
99
+ 'woo-builder' => false,
100
+ 'off-canvas' => false,
101
+ 'price' => $is_pro_active ? 'free' : 'pro',
102
+ 'priority' => 20,
103
+ ],
104
+ ],
105
+ 'magazine-blog' => [
106
+ 'v1' => [
107
+ 'name' => 'Magazine Blog',
108
+ 'pages' => 'home,home-v1,home-v2,category,about,contact,',
109
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
110
+ 'tags' => 'blogger blog posts content news newspaper journal magazine business blog publishing theme builder sports grid slider',
111
+ 'theme-builder' => true,
112
+ 'woo-builder' => false,
113
+ 'off-canvas' => false,
114
+ 'price' => $is_pro_active ? 'free' : 'pro',
115
+ 'priority' => 6,
116
+ ],
117
+ 'v2' => [
118
+ 'name' => 'Magazine Blog',
119
+ 'pages' => 'home,home-v1,home-v2,category,about,contact,',
120
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
121
+ 'tags' => 'blogger blog posts content news newspaper journal magazine business blog publishing theme builder sports grid slider',
122
+ 'theme-builder' => true,
123
+ 'woo-builder' => false,
124
+ 'off-canvas' => false,
125
+ 'price' => $is_pro_active ? 'free' : 'pro',
126
+ 'priority' => 50,
127
+ ],
128
+ 'v3' => [
129
+ 'name' => 'Magazine Blog',
130
+ 'pages' => 'home,category,about,contact,',
131
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
132
+ 'tags' => 'blogger blog posts content news newspaper journal magazine business blog publishing theme builder sports grid slider',
133
+ 'theme-builder' => true,
134
+ 'woo-builder' => false,
135
+ 'off-canvas' => false,
136
+ 'price' => $is_pro_active ? 'free' : 'pro',
137
+ 'priority' => 30,
138
+ ],
139
+ ],
140
+ 'nature' => [
141
+ 'v1' => [
142
+ 'name' => 'nature',
143
+ 'pages' => 'home,about,services,projects,contact,',
144
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
145
+ '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',
146
+ 'theme-builder' => true,
147
+ 'woo-builder' => false,
148
+ 'off-canvas' => false,
149
+ 'price' => $is_pro_active ? 'free' : 'free',
150
+ 'priority' => 60,
151
+ ],
152
+ ],
153
+ 'digital-marketing-agency' => [
154
+ 'v1' => [
155
+ 'name' => 'Digital Marketing Agency',
156
+ 'pages' => 'home,seo,branding,marketing,social,blog,about,contact,',
157
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
158
+ 'tags' => 'digital agency company corporate digital services office agency web digital marketing seo social media branding',
159
+ 'theme-builder' => true,
160
+ 'woo-builder' => false,
161
+ 'off-canvas' => false,
162
+ 'price' => $is_pro_active ? 'free' : 'free',
163
+ 'priority' => 1,
164
+ ],
165
+ ],
166
+ 'digital-agency-dark' => [
167
+ 'v1' => [
168
+ 'name' => 'Digital Agency Dark',
169
+ 'pages' => 'home,about,services,team,portfolio,blog,contact,',
170
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .', "media-library-assistant":'. $is_mla_active .'}',
171
+ 'tags' => 'digital agency company corporate digital services office agency web digital marketing seo social media branding dark black',
172
+ 'theme-builder' => true,
173
+ 'woo-builder' => false,
174
+ 'off-canvas' => false,
175
+ 'price' => $is_pro_active ? 'free' : 'free',
176
+ 'priority' => 3,
177
+ ],
178
+ ],
179
+ 'one-page' => [
180
+ 'v1' => [
181
+ 'name' => 'OnePage - Digital Marketing Agency',
182
+ 'pages' => 'home,blog,',
183
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .', "media-library-assistant":'. $is_mla_active .'}',
184
+ 'tags' => 'digital agency company corporate digital services office agency web digital marketing seo social media branding one page onepage one pages parallax single page',
185
+ 'theme-builder' => true,
186
+ 'woo-builder' => false,
187
+ 'off-canvas' => false,
188
+ 'price' => $is_pro_active ? 'free' : 'free',
189
+ 'priority' => 7,
190
+ ],
191
+ ],
192
+ 'travel-blog' => [
193
+ 'v1' => [
194
+ 'name' => 'Travel Blog',
195
+ 'pages' => 'home,home-v1,home-v2,category,about,contact,',
196
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
197
+ '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',
198
+ 'theme-builder' => true,
199
+ 'woo-builder' => false,
200
+ 'off-canvas' => false,
201
+ 'price' => $is_pro_active ? 'free' : 'pro',
202
+ 'priority' => 71,
203
+ ],
204
+ ],
205
+ 'portfolio' => [
206
+ 'v1' => [
207
+ 'name' => 'Portfolio/CV',
208
+ 'pages' => 'home,about,portfolio,contact,',
209
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
210
+ 'tags' => 'portfolio personal cv designer ux artist artwork personal resume photographer grid',
211
+ 'theme-builder' => false,
212
+ 'woo-builder' => false,
213
+ 'off-canvas' => false,
214
+ 'price' => $is_pro_active ? 'free' : 'free',
215
+ 'priority' => 80,
216
+ ],
217
+ ],
218
+ 'nft-portfolio' => [
219
+ 'v1' => [
220
+ 'name' => 'NFT',
221
+ 'pages' => 'home,about,blog,roadmap,team,nft,faq,comingsoon,',
222
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
223
+ 'tags' => 'portfolio blockchain nft crypto collection minting listing metavers digital currency art',
224
+ 'theme-builder' => false,
225
+ 'woo-builder' => false,
226
+ 'off-canvas' => false,
227
+ 'price' => $is_pro_active ? 'free' : 'free',
228
+ 'priority' => 81,
229
+ ],
230
+ ],
231
+ 'pizza' => [
232
+ 'v1' => [
233
+ 'name' => 'Pizza Restaurant',
234
+ 'pages' => 'home,menu,about,offer,gallery,contact,',
235
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
236
+ 'tags' => 'pizza italian restaurant food slider pasta fastfood fast food recipes cooking slider',
237
+ 'theme-builder' => false,
238
+ 'woo-builder' => false,
239
+ 'off-canvas' => false,
240
+ 'price' => $is_pro_active ? 'free' : 'free',
241
+ 'priority' => 90,
242
+ ],
243
+ ],
244
+ 'pet-care' => [
245
+ 'v1' => [
246
+ 'name' => 'Pet Care',
247
+ 'pages' => 'home,about,services,reviews,contact,',
248
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
249
+ 'tags' => 'pet care dog care grooming pet minding pet sitting pet training pet walking cat animal dogs dog training',
250
+ 'theme-builder' => false,
251
+ 'woo-builder' => false,
252
+ 'off-canvas' => false,
253
+ 'price' => $is_pro_active ? 'free' : 'free',
254
+ 'priority' => 91,
255
+ ],
256
+ ],
257
+ 'travel' => [
258
+ 'v1' => [
259
+ 'name' => 'Travel Blogger & Influencer',
260
+ 'pages' => 'home,about,stories,contact,',
261
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
262
+ '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',
263
+ 'theme-builder' => false,
264
+ 'woo-builder' => false,
265
+ 'off-canvas' => false,
266
+ 'price' => $is_pro_active ? 'free' : 'free',
267
+ 'priority' => 100,
268
+ ],
269
+ ],
270
+ 'cybersecurity' => [
271
+ 'v1' => [
272
+ 'name' => 'Cybersecurity',
273
+ 'pages' => 'home,about,services,pricing,contact,',
274
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
275
+ 'tags' => 'cybersecurity data protection hacker security dark digital technology cybercrime computer windows technician',
276
+ 'theme-builder' => false,
277
+ 'woo-builder' => false,
278
+ 'off-canvas' => false,
279
+ 'price' => $is_pro_active ? 'free' : 'free',
280
+ 'priority' => 110,
281
+ ],
282
+ ],
283
+ 'charity' => [
284
+ 'v1' => [
285
+ 'name' => 'Charity',
286
+ 'pages' => 'home,home-v1,contact,whatwedo,whoweare,partners,',
287
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
288
+ 'tags' => 'charity donate church foundation giving non-profit organization kids charity help children save life donation fundrising ngo fundraising corona fundraising nonprofit non profit',
289
+ 'theme-builder' => false,
290
+ 'woo-builder' => false,
291
+ 'off-canvas' => false,
292
+ 'price' => $is_pro_active ? 'free' : 'free',
293
+ 'priority' => 111,
294
+ ],
295
+ ],
296
+ 'photographer' => [
297
+ 'v1' => [
298
+ 'name' => 'Photographer Portfolio Dark',
299
+ 'pages' => 'home,about,services,portfolio,contact,',
300
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .', "media-library-assistant":'. $is_mla_active .'}',
301
+ 'tags' => 'portfolio personal cv designer ux artist artwork personal resume camera fashion lens modelling photographer photography videography wedding shoot grid ',
302
+ 'theme-builder' => false,
303
+ 'woo-builder' => false,
304
+ 'off-canvas' => false,
305
+ 'price' => $is_pro_active ? 'free' : 'free',
306
+ 'priority' => 120,
307
+ ],
308
+ 'v2' => [
309
+ 'name' => 'Photographer Portfolio Light',
310
+ 'pages' => 'home,about,services,portfolio,contact,',
311
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .', "media-library-assistant":'. $is_mla_active .'}',
312
+ 'tags' => 'portfolio personal cv designer ux artist artwork personal resume camera fashion lens modelling photographer photography videography wedding shoot grid ',
313
+ 'theme-builder' => false,
314
+ 'woo-builder' => false,
315
+ 'off-canvas' => false,
316
+ 'price' => $is_pro_active ? 'free' : 'free',
317
+ 'priority' => 130,
318
+ ],
319
+ ],
320
+ 'cryptocurrency' => [
321
+ 'v1' => [
322
+ 'name' => 'Cryptocurrency',
323
+ 'pages' => 'home,about,services,token,pricing,contact,',
324
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
325
+ 'tags' => 'cryptocurrency bitcoin ethereum etherium blockchain protection nft coin corporate crypto dark startup token digital',
326
+ 'theme-builder' => false,
327
+ 'woo-builder' => false,
328
+ 'off-canvas' => false,
329
+ 'price' => $is_pro_active ? 'free' : 'free',
330
+ 'priority' => 150,
331
+ ],
332
+ ],
333
+ 'skincare' => [
334
+ 'v1' => [
335
+ 'name' => 'Skin Care',
336
+ 'pages' => 'home,about,services,procedures,gallery,pricing,contact,',
337
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
338
+ 'tags' => 'skincare skin care beauty clean face skin-beauty health wellness',
339
+ 'theme-builder' => false,
340
+ 'woo-builder' => false,
341
+ 'off-canvas' => false,
342
+ 'price' => $is_pro_active ? 'free' : 'free',
343
+ 'priority' => 160,
344
+ ],
345
+ ],
346
+ 'lawyer' => [
347
+ 'v1' => [
348
+ 'name' => 'Lawyer',
349
+ 'pages' => 'home,practice,faq,reviews,attorney,contact,',
350
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
351
+ 'tags' => 'lawyers criminal defence lawyer firm divorce lawyer family lawyer law legal firm ',
352
+ 'theme-builder' => false,
353
+ 'woo-builder' => false,
354
+ 'off-canvas' => false,
355
+ 'price' => $is_pro_active ? 'free' : 'free',
356
+ 'priority' => 170,
357
+ ],
358
+ ],
359
+ 'medical' => [
360
+ 'v1' => [
361
+ 'name' => 'Medical',
362
+ 'pages' => 'home,about,services,doctors,contact,',
363
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
364
+ 'tags' => 'medical clinic dental health healthcare doctor therapist wellness treatment cure',
365
+ 'theme-builder' => false,
366
+ 'woo-builder' => false,
367
+ 'off-canvas' => false,
368
+ 'price' => $is_pro_active ? 'free' : 'free',
369
+ 'priority' => 180,
370
+ ],
371
+ ],
372
+ 'digitalagency' => [
373
+ 'v1' => [
374
+ 'name' => 'Digital Agency',
375
+ 'pages' => 'home,about,services,contact,',
376
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
377
+ 'tags' => 'digital agency company corporate digital services office agency web marketing',
378
+ 'theme-builder' => false,
379
+ 'woo-builder' => false,
380
+ 'off-canvas' => false,
381
+ 'price' => $is_pro_active ? 'free' : 'free',
382
+ 'priority' => 190,
383
+ ],
384
+ 'v2' => [
385
+ 'name' => 'Digital Agency',
386
+ 'pages' => 'home,about,services,pricing,contact,',
387
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
388
+ 'tags' => 'digital agency company corporate digital services office agency web marketing slider',
389
+ 'theme-builder' => false,
390
+ 'woo-builder' => false,
391
+ 'off-canvas' => false,
392
+ 'price' => $is_pro_active ? 'free' : 'free',
393
+ 'priority' => 200,
394
+ ],
395
+ ],
396
+ 'drone' => [
397
+ 'v1' => [
398
+ 'name' => 'Drone Project',
399
+ 'pages' => 'home,about,gallery,services,contact,',
400
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
401
+ 'tags' => 'drone photography aerial photo ',
402
+ 'theme-builder' => false,
403
+ 'woo-builder' => false,
404
+ 'off-canvas' => false,
405
+ 'price' => $is_pro_active ? 'free' : 'free',
406
+ 'priority' => 210,
407
+ ],
408
+ ],
409
+ 'architecture' => [
410
+ 'v1' => [
411
+ 'name' => 'Architecture',
412
+ 'pages' => 'home,about,portfolio,services,faq,contact,',
413
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
414
+ 'tags' => 'architecture company slider interior design designer landscaping office zoning building slider',
415
+ 'theme-builder' => false,
416
+ 'woo-builder' => false,
417
+ 'off-canvas' => false,
418
+ 'price' => $is_pro_active ? 'free' : 'pro',
419
+ 'priority' => 220,
420
+ ],
421
+ ],
422
+ 'fooddelivery' => [
423
+ 'v1' => [
424
+ 'name' => 'Food Delivery',
425
+ 'pages' => 'home,services,blog,faq,contact,',
426
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
427
+ 'tags' => 'fooddelivery fast food chain restaurant service hotel italian pasta pizza pizzeria burger recipes cooking',
428
+ 'theme-builder' => false,
429
+ 'woo-builder' => false,
430
+ 'off-canvas' => false,
431
+ 'price' => $is_pro_active ? 'free' : 'pro',
432
+ 'priority' => 230,
433
+ ],
434
+ ],
435
+ 'construction' => [
436
+ 'v1' => [
437
+ 'name' => 'Construction',
438
+ 'pages' => 'home,about,services,projects,pricing,contact,faq,',
439
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
440
+ 'tags' => 'construction architecture company interior office real estate',
441
+ 'theme-builder' => false,
442
+ 'woo-builder' => false,
443
+ 'off-canvas' => false,
444
+ 'price' => $is_pro_active ? 'free' : 'free',
445
+ 'priority' => 240,
446
+ ],
447
+ ],
448
+ 'ittech' => [
449
+ 'v1' => [
450
+ 'name' => 'IT Tech v1',
451
+ 'pages' => 'home,about,services,pricing,faq,contact,',
452
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
453
+ 'tags' => 'ittech advanced technology it technique computer windows technician digital',
454
+ 'theme-builder' => false,
455
+ 'woo-builder' => false,
456
+ 'off-canvas' => false,
457
+ 'price' => $is_pro_active ? 'free' : 'free',
458
+ 'priority' => 5,
459
+ ],
460
+ 'v2' => [
461
+ 'name' => 'IT Tech v2',
462
+ 'pages' => 'home,about,services,pricing,faq,contact,',
463
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
464
+ 'tags' => 'ittech advanced technology it technique computer windows technician digital',
465
+ 'theme-builder' => false,
466
+ 'woo-builder' => false,
467
+ 'off-canvas' => false,
468
+ 'price' => $is_pro_active ? 'free' : 'free',
469
+ 'priority' => 260,
470
+ ],
471
+ ],
472
+ 'carwash' => [
473
+ 'v1' => [
474
+ 'name' => 'Carwash',
475
+ 'pages' => 'home,about,services,contact,',
476
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
477
+ 'tags' => 'vehicle car wash cleaning painting service maintenance care bike motorcycle detailing',
478
+ 'theme-builder' => false,
479
+ 'woo-builder' => false,
480
+ 'off-canvas' => false,
481
+ 'price' => $is_pro_active ? 'free' : 'free',
482
+ 'priority' => 252,
483
+ ],
484
+ ],
485
+ 'realestate' => [
486
+ 'v1' => [
487
+ 'name' => 'Real Estate',
488
+ 'pages' => 'home,properties,about,services,faq,contact,',
489
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
490
+ 'tags' => 'real estate agency company construction property rentals estate sales developers',
491
+ 'theme-builder' => false,
492
+ 'woo-builder' => false,
493
+ 'off-canvas' => false,
494
+ 'price' => $is_pro_active ? 'free' : 'pro',
495
+ 'priority' => 270,
496
+ ],
497
+ ],
498
+ 'restaurant' => [
499
+ 'v1' => [
500
+ 'name' => 'Restaurant',
501
+ 'pages' => 'home,about,gallery,menu,contact,',
502
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
503
+ 'tags' => 'restaurant fastfood slider hotel italian pizza pizzeria pasta dinner fast food wine recipe recipes cooking slider',
504
+ 'theme-builder' => false,
505
+ 'woo-builder' => false,
506
+ 'off-canvas' => false,
507
+ 'price' => $is_pro_active ? 'free' : 'free',
508
+ 'priority' => 280,
509
+ ],
510
+ ],
511
+ 'winebar' => [
512
+ 'v1' => [
513
+ 'name' => 'Wine Bar & Restaurant',
514
+ 'pages' => 'home,story,wines,dishes,events,contact,',
515
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
516
+ 'tags' => 'wine bar winery beer drink alcohol pub events dish wines italian restaurant food slider recipes cooking recipes slider',
517
+ 'theme-builder' => false,
518
+ 'woo-builder' => false,
519
+ 'off-canvas' => false,
520
+ 'price' => $is_pro_active ? 'free' : 'free',
521
+ 'priority' => 290,
522
+ ],
523
+ ],
524
+ 'wedding' => [
525
+ 'v1' => [
526
+ 'name' => 'Wedding',
527
+ 'pages' => 'home,about,services,blog,gallery,contact,',
528
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
529
+ 'tags' => 'wedding party event slider invitation planner slider photography photographer',
530
+ 'theme-builder' => false,
531
+ 'woo-builder' => false,
532
+ 'off-canvas' => false,
533
+ 'price' => $is_pro_active ? 'free' : 'free',
534
+ 'priority' => 300,
535
+ ],
536
+ ],
537
+ ];
538
+ }
539
+
540
+ public static function get_available_blocks() {
541
+ return [
542
+ 'grid' => [
543
+ 'v1' => ['type' => 'iframe', 'url' => 'grid/v1/'],
544
+ 'v2' => ['type' => 'iframe', 'url' => 'grid/v2/'],
545
+ 'v3' => ['type' => 'iframe', 'url' => 'grid/v3/'],
546
+ 'v4' => ['type' => 'iframe', 'url' => 'grid/v4/'],
547
+ 'v5-pro' => ['type' => 'iframe', 'url' => 'grid/v5/'],
548
+ 'v6-pro' => ['type' => 'iframe', 'url' => 'grid/v6/'],
549
+ 'v7-pro' => ['type' => 'iframe', 'url' => 'grid/v7/'],
550
+ 'v8-pro' => ['type' => 'iframe', 'url' => 'grid/v8/'],
551
+ 'v9-pro' => ['type' => 'iframe', 'url' => 'grid/v9/'],
552
+ 'v10-pro' => ['type' => 'iframe', 'url' => 'grid/v10/'],
553
+ 'v11' => ['type' => 'iframe', 'url' => 'grid/v11/'],
554
+ 'v12' => ['type' => 'iframe', 'url' => 'grid/v12/'],
555
+ 'v13' => ['type' => 'iframe', 'url' => 'grid/v13/'],
556
+ 'v14' => ['type' => 'iframe', 'url' => 'grid/v14/'],
557
+ ],
558
+ 'woo-grid' => [
559
+ 'v1' => ['type' => 'iframe', 'url' => 'woocommerce-grid/v1/'],
560
+ 'v2' => ['type' => 'iframe', 'url' => 'woocommerce-grid/v2/'],
561
+ 'v3-pro' => ['type' => 'iframe', 'url' => 'woocommerce-grid/v3/'],
562
+ 'v4-pro' => ['type' => 'iframe', 'url' => 'woocommerce-grid/v4/'],
563
+ 'v5-pro' => ['type' => 'iframe', 'url' => 'woocommerce-grid/v5/'],
564
+ 'v6-pro' => ['type' => 'iframe', 'url' => 'woocommerce-grid/v6/'],
565
+ 'v7-pro' => ['type' => 'iframe', 'url' => 'woocommerce-grid/v7/'],
566
+ 'v8-pro' => ['type' => 'iframe', 'url' => 'woocommerce-grid/v8/'],
567
+ 'v9-pro' => ['type' => 'iframe', 'url' => 'woocommerce-grid/v9/'],
568
+ ],
569
+ 'media-grid' => [
570
+ 'v1' => ['type' => 'iframe', 'url' => 'image-grid/v1/'],
571
+ 'v2' => ['type' => 'iframe', 'url' => 'image-grid/v2/'],
572
+ ],
573
+ 'magazine-grid' => [
574
+ 'v1' => ['type' => 'iframe', 'url' => 'magazine-grid/v1/'],
575
+ 'v2' => ['type' => 'iframe', 'url' => 'magazine-grid/v2/'],
576
+ // 'v3' => ['type' => 'iframe', 'url' => 'magazine-grid/v3/', 'sub' => 'carousel'], <-- Keep as example
577
+ 'v3-pro' => ['type' => 'iframe', 'url' => 'magazine-grid/v3/'],
578
+ 'v4-pro' => ['type' => 'iframe', 'url' => 'magazine-grid/v4/'],
579
+ 'v5-pro' => ['type' => 'iframe', 'url' => 'magazine-grid/v5/'],
580
+ 'v6-pro' => ['type' => 'iframe', 'url' => 'magazine-grid/v6/'],
581
+ 'v7-pro' => ['type' => 'iframe', 'url' => 'magazine-grid/v7/'],
582
+ 'v8-pro' => ['type' => 'iframe', 'url' => 'magazine-grid/v8/'],
583
+ ],
584
+ 'advanced-slider' => [
585
+ 'v1' => ['type' => 'iframe', 'url' => 'advanced-slider/v1/'],
586
+ 'v2' => ['type' => 'iframe', 'url' => 'advanced-slider/v2/'],
587
+ 'v3' => ['type' => 'iframe', 'url' => 'advanced-slider/v3/'],
588
+ 'v4-pro' => ['type' => 'iframe', 'url' => 'advanced-slider/v4/'],
589
+ 'v5-pro' => ['type' => 'iframe', 'url' => 'advanced-slider/v5/'],
590
+ 'v6-pro' => ['type' => 'iframe', 'url' => 'advanced-slider/v6/'],
591
+ 'v7-pro' => ['type' => 'iframe', 'url' => 'advanced-slider/v7/'],
592
+ 'v8-pro' => ['type' => 'iframe', 'url' => 'advanced-slider/v8/'],
593
+ ],
594
+ 'posts-timeline' => [
595
+ 'v1' => ['type' => 'iframe', 'url' => 'timeline/v1/'],
596
+ 'v2' => ['type' => 'iframe', 'url' => 'timeline/v2/'],
597
+ 'v3' => ['type' => 'iframe', 'url' => 'timeline/v3/'],
598
+ 'v4' => ['type' => 'iframe', 'url' => 'timeline/v4/'],
599
+ 'v5' => ['type' => 'iframe', 'url' => 'timeline/v5/'],
600
+ ],
601
+ 'testimonial' => [
602
+ 'v1' => ['type' => 'iframe', 'url' => 'testimonial-slider/v1/'],
603
+ 'v2' => ['type' => 'iframe', 'url' => 'testimonial-slider/v2/'],
604
+ 'v3' => ['type' => 'iframe', 'url' => 'testimonial-slider/v3/'],
605
+ 'v4' => ['type' => 'iframe', 'url' => 'testimonial-slider/v4/'],
606
+ 'v5-pro' => ['type' => 'iframe', 'url' => 'testimonial-slider/v5/'],
607
+ 'v6-pro' => ['type' => 'iframe', 'url' => 'testimonial-slider/v6/'],
608
+ 'v7-pro' => ['type' => 'iframe', 'url' => 'testimonial-slider/v7/'],
609
+ 'v8-pro' => ['type' => 'iframe', 'url' => 'testimonial-slider/v8/'],
610
+ 'v9-pro' => ['type' => 'iframe', 'url' => 'testimonial-slider/v9/'],
611
+ ],
612
+ 'nav-menu' => [
613
+ 'v1' => ['type' => 'iframe', 'url' => 'nav-menu/v1/'],
614
+ 'v2' => ['type' => 'iframe', 'url' => 'nav-menu/v2/'],
615
+ 'v3' => ['type' => 'iframe', 'url' => 'nav-menu/v3/'],
616
+ 'v4' => ['type' => 'iframe', 'url' => 'nav-menu/v4/'],
617
+ 'v5' => ['type' => 'iframe', 'url' => 'nav-menu/v5/'],
618
+ 'v6' => ['type' => 'iframe', 'url' => 'nav-menu/v6/'],
619
+ ],
620
+ 'onepage-nav' => [
621
+ 'v1' => ['type' => 'iframe', 'url' => 'one-page-navigation/v1/'],
622
+ 'v2' => ['type' => 'iframe', 'url' => 'one-page-navigation/v2/'],
623
+ 'v3' => ['type' => 'iframe', 'url' => 'one-page-navigation/v3/'],
624
+ 'v4-pro' => ['type' => 'iframe', 'url' => 'one-page-navigation/v4/'],
625
+ ],
626
+ 'pricing-table' => [
627
+ 'v1' => ['type' => 'iframe', 'url' => 'pricing-table/v1/'],
628
+ 'v2' => ['type' => 'iframe', 'url' => 'pricing-table/v2/'],
629
+ 'v3' => ['type' => 'iframe', 'url' => 'pricing-table/v3/'],
630
+ 'v4' => ['type' => 'iframe', 'url' => 'pricing-table/v4/'],
631
+ 'v5' => ['type' => 'iframe', 'url' => 'pricing-table/v5/'],
632
+ 'v6-pro' => ['type' => 'iframe', 'url' => 'pricing-table/v6/'],
633
+ 'v7-pro' => ['type' => 'iframe', 'url' => 'pricing-table/v7/'],
634
+ 'v8-pro' => ['type' => 'iframe', 'url' => 'pricing-table/v8/'],
635
+ ],
636
+ 'content-toggle' => [
637
+ 'v1' => ['type' => 'iframe', 'url' => 'content-toggle/v1/'],
638
+ 'v2' => ['type' => 'iframe', 'url' => 'content-toggle/v2/'],
639
+ 'v3-pro' => ['type' => 'iframe', 'url' => 'content-toggle/v3/'],
640
+ 'v4-pro' => ['type' => 'iframe', 'url' => 'content-toggle/v4/'],
641
+ ],
642
+ 'countdown' => [
643
+ 'v1' => ['type' => 'iframe', 'url' => 'countdown/v1/'],
644
+ 'v2' => ['type' => 'iframe', 'url' => 'countdown/v2/'],
645
+ 'v3' => ['type' => 'iframe', 'url' => 'countdown/v3/'],
646
+ ],
647
+ 'progress-bar' => [
648
+ 'v1' => ['type' => 'iframe', 'url' => 'progress-bar/v1/'],
649
+ 'v2' => ['type' => 'iframe', 'url' => 'progress-bar/v2/'],
650
+ 'v3' => ['type' => 'iframe', 'url' => 'progress-bar/v3/'],
651
+ ],
652
+ 'tabs' => [
653
+ 'v1' => ['type' => 'iframe', 'url' => 'tabs/v1/'],
654
+ 'v2' => ['type' => 'iframe', 'url' => 'tabs/v2/'],
655
+ 'v3' => ['type' => 'iframe', 'url' => 'tabs/v3/'],
656
+ ],
657
+ 'advanced-text' => [
658
+ 'v1' => ['type' => 'iframe', 'url' => 'advanced-text/v1/'],
659
+ 'v2' => ['type' => 'iframe', 'url' => 'advanced-text/v2/'],
660
+ 'v3' => ['type' => 'iframe', 'url' => 'advanced-text/v3/'],
661
+ 'v4' => ['type' => 'iframe', 'url' => 'advanced-text/v4/'],
662
+ 'v5' => ['type' => 'iframe', 'url' => 'advanced-text/v5/'],
663
+ 'v6' => ['type' => 'iframe', 'url' => 'advanced-text/v6/'],
664
+ 'v7-pro' => ['type' => 'iframe', 'url' => 'advanced-text/v7/'],
665
+ 'v8-pro' => ['type' => 'iframe', 'url' => 'advanced-text/v8/'],
666
+ 'v9-pro' => ['type' => 'iframe', 'url' => 'advanced-text/v9/'],
667
+ 'v10-pro' => ['type' => 'iframe', 'url' => 'advanced-text/v10/'],
668
+ 'v11-pro' => ['type' => 'iframe', 'url' => 'advanced-text/v11/'],
669
+ 'v12-pro' => ['type' => 'iframe', 'url' => 'advanced-text/v12/'],
670
+ ],
671
+ 'flip-box' => [
672
+ 'v1' => ['type' => 'iframe', 'url' => 'flip-box/v1/'],
673
+ 'v2' => ['type' => 'iframe', 'url' => 'flip-box/v2/'],
674
+ 'v3' => ['type' => 'iframe', 'url' => 'flip-box/v3/'],
675
+ 'v4-pro' => ['type' => 'iframe', 'url' => 'flip-box/v4/'],
676
+ ],
677
+ 'promo-box' => [
678
+ 'v1' => ['type' => 'iframe', 'url' => 'promo-box/v1/'],
679
+ 'v2' => ['type' => 'iframe', 'url' => 'promo-box/v2/'],
680
+ 'v3' => ['type' => 'iframe', 'url' => 'promo-box/v3/'],
681
+ 'v4-pro' => ['type' => 'iframe', 'url' => 'promo-box/v4/'],
682
+ 'v5-pro' => ['type' => 'iframe', 'url' => 'promo-box/v5/'],
683
+ 'v6-pro' => ['type' => 'iframe', 'url' => 'promo-box/v6/'],
684
+ ],
685
+ 'before-after' => [
686
+ 'v1' => ['type' => 'iframe', 'url' => 'before-and-after/v1/'],
687
+ 'v2' => ['type' => 'iframe', 'url' => 'before-and-after/v2/'],
688
+ 'v3' => ['type' => 'iframe', 'url' => 'before-and-after/v3/'],
689
+ ],
690
+ 'image-hotspots' => [
691
+ 'v1' => ['type' => 'iframe', 'url' => 'image-hotspot/v1/'],
692
+ 'v2' => ['type' => 'iframe', 'url' => 'image-hotspot/v2/'],
693
+ 'v3' => ['type' => 'iframe', 'url' => 'image-hotspot/v3/'],
694
+ ],
695
+ 'forms' => [],
696
+ 'mailchimp' => [
697
+ 'v1' => ['type' => 'iframe', 'url' => 'mailchimp/v1/'],
698
+ 'v2' => ['type' => 'iframe', 'url' => 'mailchimp/v2/'],
699
+ 'v3' => ['type' => 'iframe', 'url' => 'mailchimp/v3/'],
700
+ 'v4' => ['type' => 'iframe', 'url' => 'mailchimp/v4/'],
701
+ 'v5' => ['type' => 'iframe', 'url' => 'mailchimp/v5/'],
702
+ 'v6-pro' => ['type' => 'iframe', 'url' => 'mailchimp/v6/'],
703
+ 'v7-pro' => ['type' => 'iframe', 'url' => 'mailchimp/v7/'],
704
+ 'v8-pro' => ['type' => 'iframe', 'url' => 'mailchimp/v8/'],
705
+ ],
706
+ 'content-ticker' => [
707
+ 'v1' => ['type' => 'iframe', 'url' => 'content-ticker/v1/'],
708
+ 'v2' => ['type' => 'iframe', 'url' => 'content-ticker/v2/'],
709
+ 'v3' => ['type' => 'iframe', 'url' => 'content-ticker/v3/'],
710
+ 'v4-pro' => ['type' => 'iframe', 'url' => 'content-ticker/v4/'],
711
+ 'v5-pro' => ['type' => 'iframe', 'url' => 'content-ticker/v5/'],
712
+ 'v6-pro' => ['type' => 'iframe', 'url' => 'content-ticker/v6/'],
713
+ ],
714
+ 'button' => [
715
+ 'v1' => ['type' => 'iframe', 'url' => 'button/v1/'],
716
+ 'v2' => ['type' => 'iframe', 'url' => 'button/v2/'],
717
+ 'v3' => ['type' => 'iframe', 'url' => 'button/v3/'],
718
+ 'v4' => ['type' => 'iframe', 'url' => 'button/v4/'],
719
+ 'v5' => ['type' => 'iframe', 'url' => 'button/v5/'],
720
+ ],
721
+ 'dual-button' => [
722
+ 'v1' => ['type' => 'iframe', 'url' => 'dual-button/v1/'],
723
+ 'v2' => ['type' => 'iframe', 'url' => 'dual-button/v2/'],
724
+ 'v3' => ['type' => 'iframe', 'url' => 'dual-button/v3/'],
725
+ ],
726
+ 'team-member' => [
727
+ 'v1' => ['type' => 'iframe', 'url' => 'team-member/v1/'],
728
+ 'v2' => ['type' => 'iframe', 'url' => 'team-member/v2/'],
729
+ 'v3' => ['type' => 'iframe', 'url' => 'team-member/v3/'],
730
+ 'v4' => ['type' => 'iframe', 'url' => 'team-member/v4/'],
731
+ 'v5' => ['type' => 'iframe', 'url' => 'team-member/v5/'],
732
+ 'v6-pro' => ['type' => 'iframe', 'url' => 'team-member/v6/'],
733
+ 'v7-pro' => ['type' => 'iframe', 'url' => 'team-member/v7/'],
734
+ 'v8-pro' => ['type' => 'iframe', 'url' => 'team-member/v8/'],
735
+ ],
736
+ 'google-maps' => [
737
+ 'v1' => ['type' => 'iframe', 'url' => 'google-map/v1/'],
738
+ 'v2' => ['type' => 'iframe', 'url' => 'google-map/v2/'],
739
+ 'v3' => ['type' => 'iframe', 'url' => 'google-map/v3/'],
740
+ 'v4' => ['type' => 'iframe', 'url' => 'google-map/v4/'],
741
+ 'v5' => ['type' => 'iframe', 'url' => 'google-map/v5/'],
742
+ ],
743
+ 'price-list' => [
744
+ 'v1' => ['type' => 'iframe', 'url' => 'price-list/v1/'],
745
+ 'v2' => ['type' => 'iframe', 'url' => 'price-list/v2/'],
746
+ 'v3' => ['type' => 'iframe', 'url' => 'price-list/v3/'],
747
+ 'v4-pro' => ['type' => 'iframe', 'url' => 'price-list/v4/'],
748
+ 'v5-pro' => ['type' => 'iframe', 'url' => 'price-list/v5/'],
749
+ 'v6-pro' => ['type' => 'iframe', 'url' => 'price-list/v6/'],
750
+ 'v7-pro' => ['type' => 'iframe', 'url' => 'price-list/v7/'],
751
+ ],
752
+ 'business-hours' => [
753
+ 'v1' => ['type' => 'iframe', 'url' => 'business-hours/v1/'],
754
+ 'v2' => ['type' => 'iframe', 'url' => 'business-hours/v2/'],
755
+ 'v3' => ['type' => 'iframe', 'url' => 'business-hours/v3/'],
756
+ ],
757
+ 'sharing-buttons' => [
758
+ 'v1' => ['type' => 'iframe', 'url' => 'sharing-button/v1/'],
759
+ 'v2' => ['type' => 'iframe', 'url' => 'sharing-button/v2/'],
760
+ 'v3' => ['type' => 'iframe', 'url' => 'sharing-button/v3/'],
761
+ 'v4-pro' => ['type' => 'iframe', 'url' => 'sharing-button/v4/'],
762
+ 'v5-pro' => ['type' => 'iframe', 'url' => 'sharing-button/v5/'],
763
+ ],
764
+ 'logo' => [],
765
+ 'search' => [
766
+ 'v1' => ['type' => 'iframe', 'url' => 'search/v1/'],
767
+ 'v2' => ['type' => 'iframe', 'url' => 'search/v2/'],
768
+ 'v3' => ['type' => 'iframe', 'url' => 'search/v3/'],
769
+ ],
770
+ 'phone-call' => [],
771
+ 'back-to-top' => [],
772
+ 'lottie-animations' => [],
773
+ 'popup-trigger' => [],
774
+ ];
775
+ }
776
+
777
+ public static function get_available_popups() {
778
+ return [
779
+ // 'contact' => [
780
+ // 'v1' => ['type' => 'iframe', 'url' => 'search/v1/'],
781
+ // 'v2' => ['type' => 'iframe', 'url' => 'search/v2/'],
782
+ // 'v3' => ['type' => 'iframe', 'url' => 'search/v3/'],
783
+ // ],
784
+ 'cookie' => [
785
+ 'v1' => ['type' => 'image', 'url' => 'popups/cookie/v1-preview.jpg'],
786
+ 'v2-pro' => ['type' => 'image', 'url' => 'popups/cookie/v2-pro-preview.jpg'],
787
+ 'v3-pro' => ['type' => 'image', 'url' => 'popups/cookie/v3-pro-preview.jpg'],
788
+ 'v4-pro' => ['type' => 'image', 'url' => 'popups/cookie/v4-pro-preview.jpg'],
789
+ ],
790
+ 'discount' => [
791
+ 'v1' => ['type' => 'image', 'url' => 'popups/discount/v1-preview.jpg'],
792
+ 'v2' => ['type' => 'image', 'url' => 'popups/discount/v2-preview.jpg'],
793
+ 'v3-pro' => ['type' => 'image', 'url' => 'popups/discount/v3-pro-preview.jpg'],
794
+ 'v4-pro' => ['type' => 'image', 'url' => 'popups/discount/v4-pro-preview.jpg'],
795
+ 'v5' => ['type' => 'image', 'url' => 'popups/discount/v5-preview.jpg'],
796
+ 'v6' => ['type' => 'image', 'url' => 'popups/discount/v6-preview.jpg'],
797
+ 'v7-pro' => ['type' => 'image', 'url' => 'popups/discount/v7-pro-preview.jpg'],
798
+ 'v8-pro' => ['type' => 'image', 'url' => 'popups/discount/v8-pro-preview.jpg'],
799
+ 'v9' => ['type' => 'image', 'url' => 'popups/discount/v9-preview.jpg'],
800
+ 'v10' => ['type' => 'image', 'url' => 'popups/discount/v10-preview.jpg'],
801
+ 'v11-pro' => ['type' => 'image', 'url' => 'popups/discount/v11-pro-preview.jpg'],
802
+ 'v12-pro' => ['type' => 'image', 'url' => 'popups/discount/v12-pro-preview.jpg'],
803
+ 'v13-pro' => ['type' => 'image', 'url' => 'popups/discount/v13-pro-preview.jpg'],
804
+ 'v14' => ['type' => 'image', 'url' => 'popups/discount/v14-preview.jpg'],
805
+ 'v15' => ['type' => 'image', 'url' => 'popups/discount/v15-preview.jpg'],
806
+ 'v16-pro' => ['type' => 'image', 'url' => 'popups/discount/v16-pro-preview.jpg'],
807
+ ],
808
+ 'subscribe' => [
809
+ 'v1-pro' => ['type' => 'image', 'url' => 'popups/subscribe/v1-pro-preview.jpg'],
810
+ 'v2-pro' => ['type' => 'image', 'url' => 'popups/subscribe/v2-pro-preview.jpg'],
811
+ 'v3-pro' => ['type' => 'image', 'url' => 'popups/subscribe/v3-pro-preview.jpg'],
812
+ ],
813
+ 'yesno' => [
814
+ 'v1-pro' => ['type' => 'image', 'url' => 'popups/yesno/v1-pro-preview.jpg'],
815
+ 'v2-pro' => ['type' => 'image', 'url' => 'popups/yesno/v2-pro-preview.jpg'],
816
+ 'v3-pro' => ['type' => 'image', 'url' => 'popups/yesno/v3-pro-preview.jpg'],
817
+ ],
818
+ ];
819
+ }
820
  }
admin/templates/wpr-templates-library-blocks.php CHANGED
@@ -1,161 +1,161 @@
1
- <?php
2
- namespace WprAddons\Admin\Templates;
3
- use WprAddons\Classes\Utilities;
4
- use WprAddons\Admin\Templates\WPR_Templates_Data;
5
-
6
- if ( ! defined( 'ABSPATH' ) ) {
7
- exit; // Exit if accessed directly.
8
- }
9
-
10
- /**
11
- * WPR_Templates_Library_Blocks setup
12
- *
13
- * @since 1.0
14
- */
15
- class WPR_Templates_Library_Blocks {
16
-
17
- /**
18
- ** Constructor
19
- */
20
- public function __construct() {
21
-
22
- // Template Library Popup
23
- add_action( 'wp_ajax_render_library_templates_blocks', [ $this, 'render_library_templates_blocks' ] );
24
-
25
- }
26
-
27
- /**
28
- ** Template Library Popup
29
- */
30
- public static function render_library_templates_blocks() {
31
-
32
- ?>
33
-
34
- <div class="wpr-tplib-sidebar">
35
- <div class="wpr-tplib-search">
36
- <input type="text" placeholder="Search Template">
37
- <i class="eicon-search"></i>
38
- </div>
39
-
40
- <div class="wpr-tplib-filters-wrap">
41
- <div class="wpr-tplib-filters">
42
- <h3>
43
- <span data-filter="all"><?php esc_html_e( 'Category', 'wpr-addons' ); ?></span>
44
- <i class="fas fa-angle-down"></i>
45
- </h3>
46
-
47
- <div class="wpr-tplib-filters-list">
48
- <ul>
49
-
50
- <li data-filter="all"><?php esc_html_e( 'All', 'wpr-addons' ) ?></li>
51
-
52
- <?php
53
-
54
- $modules = Utilities::get_available_modules( Utilities::get_registered_modules() );
55
-
56
- $exclude_widgets = [
57
- 'logo',
58
- 'forms',
59
- 'phone-call',
60
- 'back-to-top',
61
- 'popup-trigger',
62
- 'lottie-animations',
63
- 'taxonomy-list',
64
- 'elementor-template',
65
- 'flip-carousel',
66
- 'feature-list',
67
- 'dual-color-heading'
68
- ];
69
-
70
- foreach ($modules as $title => $slug) {
71
- if ( ! in_array($slug[0], $exclude_widgets) ) {
72
- echo '<li data-filter="'. esc_attr($slug[0]) .'">'. esc_html($title) .'</li>';
73
- }
74
- }
75
-
76
- ?>
77
- </ul>
78
- </div>
79
- </div>
80
-
81
- <div class="wpr-tplib-sub-filters">
82
- <ul>
83
- <li data-sub-filter="all" class="wpr-tplib-activ-filter"><?php esc_html_e( 'All', 'wpr-addons' ); ?></li>
84
- <li data-sub-filter="grid"><?php esc_html_e( 'Grid', 'wpr-addons' ) ?></li>
85
- <li data-sub-filter="slider"><?php esc_html_e( 'Slider', 'wpr-addons' ) ?></li>
86
- <li data-sub-filter="carousel"><?php esc_html_e( 'Carousel', 'wpr-addons' ) ?></li>
87
- </ul>
88
- </div>
89
- </div>
90
- </div>
91
-
92
- <div class="wpr-tplib-template-gird elementor-clearfix">
93
- <div class="wpr-tplib-template-gird-inner">
94
-
95
- <?php
96
-
97
- foreach ($modules as $title => $data) :
98
- $module_slug = $data[0];
99
- $blocks = WPR_Templates_Data::get_available_blocks();
100
-
101
- if ( !isset($blocks[$module_slug]) ) {
102
- continue;
103
- }
104
-
105
- for ( $i=0; $i < count($blocks[$module_slug]); $i++ ) :
106
-
107
- $template_slug = array_keys($blocks[$module_slug])[$i];
108
- $template_sub = isset($blocks[$module_slug][$template_slug]['sub']) ? $blocks[$module_slug][$template_slug]['sub'] : '';
109
- $template_title = $title .' '. $template_slug;
110
- $preview_type = $blocks[$module_slug][$template_slug]['type'];
111
- $preview_url = $blocks[$module_slug][$template_slug]['url'];
112
- $template_class = (strpos($template_slug, 'pro') && !wpr_fs()->can_use_premium_code()) || (strpos($template_slug, 'zzz') && !wpr_fs()->can_use_premium_code()) ? ' wpr-tplib-pro-wrap' : '';
113
-
114
- if (defined('WPR_ADDONS_PRO_VERSION') && wpr_fs()->can_use_premium_code()) {
115
- $template_class .= ' wpr-tplib-pro-active';
116
- }
117
-
118
- $template_slug_for_image = strpos($template_slug, 'zzz') ? substr($template_slug, 0, -4) : $template_slug;
119
-
120
- ?>
121
-
122
- <div class="wpr-tplib-template-wrap<?php echo esc_attr($template_class); ?>">
123
- <div class="wpr-tplib-template" data-slug="<?php echo esc_attr($template_slug); ?>" data-filter="<?php echo esc_attr($module_slug); ?>" data-sub-filter="<?php echo esc_attr($template_sub); ?>" data-preview-type="<?php echo esc_attr($preview_type); ?>" data-preview-url="<?php echo esc_attr($preview_url); ?>">
124
- <div class="wpr-tplib-template-media">
125
- <img src="<?php echo esc_url('https://royal-elementor-addons.com/library/premade-styles/'. $module_slug .'/'. $template_slug_for_image .'.jpg'); ?>">
126
- <div class="wpr-tplib-template-media-overlay">
127
- <i class="eicon-eye"></i>
128
- </div>
129
- </div>
130
- <div class="wpr-tplib-template-footer elementor-clearfix">
131
- <?php if ( !defined('WPR_ADDONS_PRO_VERSION') && ! wpr_fs()->can_use_premium_code() ) : ?>
132
- <h3><?php echo strpos($template_slug, 'pro') ? esc_html(str_replace('-pro', ' Pro', $template_title)) : esc_html(str_replace('-zzz', ' Pro', $template_title)); ?></h3>
133
- <?php else : ?>
134
- <h3><?php echo strpos($template_slug, 'pro') ? esc_html(str_replace('-pro', '', $template_title)) : esc_html(str_replace('-zzz', '', $template_title)); ?></h3>
135
- <?php endif; ?>
136
-
137
- <?php if ( ( strpos($template_slug, 'pro') && !wpr_fs()->can_use_premium_code() ) || ( strpos($template_slug, 'zzz') ) && !wpr_fs()->can_use_premium_code() ) : ?>
138
- <span class="wpr-tplib-insert-template wpr-tplib-insert-pro"><i class="eicon-star"></i> <span><?php esc_html_e( 'Go Pro', 'wpr-addons' ); ?></span></span>
139
- <?php else : ?>
140
- <span class="wpr-tplib-insert-template"><i class="eicon-file-download"></i> <span><?php esc_html_e( 'Insert', 'wpr-addons' ); ?></span></span>
141
- <?php endif; ?>
142
- </div>
143
- </div>
144
- </div>
145
-
146
- <?php endfor; ?>
147
- <?php endforeach;?>
148
-
149
- </div>
150
- </div>
151
-
152
- <?php
153
-
154
- $current_screen = get_current_screen();
155
-
156
- if ( !(isset($current_screen) && 'royal-addons_page_wpr-premade-blocks' === $current_screen->id) ) {
157
- exit;
158
- }
159
- }
160
-
161
- }
1
+ <?php
2
+ namespace WprAddons\Admin\Templates;
3
+ use WprAddons\Classes\Utilities;
4
+ use WprAddons\Admin\Templates\WPR_Templates_Data;
5
+
6
+ if ( ! defined( 'ABSPATH' ) ) {
7
+ exit; // Exit if accessed directly.
8
+ }
9
+
10
+ /**
11
+ * WPR_Templates_Library_Blocks setup
12
+ *
13
+ * @since 1.0
14
+ */
15
+ class WPR_Templates_Library_Blocks {
16
+
17
+ /**
18
+ ** Constructor
19
+ */
20
+ public function __construct() {
21
+
22
+ // Template Library Popup
23
+ add_action( 'wp_ajax_render_library_templates_blocks', [ $this, 'render_library_templates_blocks' ] );
24
+
25
+ }
26
+
27
+ /**
28
+ ** Template Library Popup
29
+ */
30
+ public static function render_library_templates_blocks() {
31
+
32
+ ?>
33
+
34
+ <div class="wpr-tplib-sidebar">
35
+ <div class="wpr-tplib-search">
36
+ <input type="text" placeholder="Search Template">
37
+ <i class="eicon-search"></i>
38
+ </div>
39
+
40
+ <div class="wpr-tplib-filters-wrap">
41
+ <div class="wpr-tplib-filters">
42
+ <h3>
43
+ <span data-filter="all"><?php esc_html_e( 'Category', 'wpr-addons' ); ?></span>
44
+ <i class="fas fa-angle-down"></i>
45
+ </h3>
46
+
47
+ <div class="wpr-tplib-filters-list">
48
+ <ul>
49
+
50
+ <li data-filter="all"><?php esc_html_e( 'All', 'wpr-addons' ) ?></li>
51
+
52
+ <?php
53
+
54
+ $modules = Utilities::get_available_modules( Utilities::get_registered_modules() );
55
+
56
+ $exclude_widgets = [
57
+ 'logo',
58
+ 'forms',
59
+ 'phone-call',
60
+ 'back-to-top',
61
+ 'popup-trigger',
62
+ 'lottie-animations',
63
+ 'taxonomy-list',
64
+ 'elementor-template',
65
+ 'flip-carousel',
66
+ 'feature-list',
67
+ 'dual-color-heading'
68
+ ];
69
+
70
+ foreach ($modules as $title => $slug) {
71
+ if ( ! in_array($slug[0], $exclude_widgets) ) {
72
+ echo '<li data-filter="'. esc_attr($slug[0]) .'">'. esc_html($title) .'</li>';
73
+ }
74
+ }
75
+
76
+ ?>
77
+ </ul>
78
+ </div>
79
+ </div>
80
+
81
+ <div class="wpr-tplib-sub-filters">
82
+ <ul>
83
+ <li data-sub-filter="all" class="wpr-tplib-activ-filter"><?php esc_html_e( 'All', 'wpr-addons' ); ?></li>
84
+ <li data-sub-filter="grid"><?php esc_html_e( 'Grid', 'wpr-addons' ) ?></li>
85
+ <li data-sub-filter="slider"><?php esc_html_e( 'Slider', 'wpr-addons' ) ?></li>
86
+ <li data-sub-filter="carousel"><?php esc_html_e( 'Carousel', 'wpr-addons' ) ?></li>
87
+ </ul>
88
+ </div>
89
+ </div>
90
+ </div>
91
+
92
+ <div class="wpr-tplib-template-gird elementor-clearfix">
93
+ <div class="wpr-tplib-template-gird-inner">
94
+
95
+ <?php
96
+
97
+ foreach ($modules as $title => $data) :
98
+ $module_slug = $data[0];
99
+ $blocks = WPR_Templates_Data::get_available_blocks();
100
+
101
+ if ( !isset($blocks[$module_slug]) ) {
102
+ continue;
103
+ }
104
+
105
+ for ( $i=0; $i < count($blocks[$module_slug]); $i++ ) :
106
+
107
+ $template_slug = array_keys($blocks[$module_slug])[$i];
108
+ $template_sub = isset($blocks[$module_slug][$template_slug]['sub']) ? $blocks[$module_slug][$template_slug]['sub'] : '';
109
+ $template_title = $title .' '. $template_slug;
110
+ $preview_type = $blocks[$module_slug][$template_slug]['type'];
111
+ $preview_url = $blocks[$module_slug][$template_slug]['url'];
112
+ $template_class = (strpos($template_slug, 'pro') && !wpr_fs()->can_use_premium_code()) || (strpos($template_slug, 'zzz') && !wpr_fs()->can_use_premium_code()) ? ' wpr-tplib-pro-wrap' : '';
113
+
114
+ if (defined('WPR_ADDONS_PRO_VERSION') && wpr_fs()->can_use_premium_code()) {
115
+ $template_class .= ' wpr-tplib-pro-active';
116
+ }
117
+
118
+ $template_slug_for_image = strpos($template_slug, 'zzz') ? substr($template_slug, 0, -4) : $template_slug;
119
+
120
+ ?>
121
+
122
+ <div class="wpr-tplib-template-wrap<?php echo esc_attr($template_class); ?>">
123
+ <div class="wpr-tplib-template" data-slug="<?php echo esc_attr($template_slug); ?>" data-filter="<?php echo esc_attr($module_slug); ?>" data-sub-filter="<?php echo esc_attr($template_sub); ?>" data-preview-type="<?php echo esc_attr($preview_type); ?>" data-preview-url="<?php echo esc_attr($preview_url); ?>">
124
+ <div class="wpr-tplib-template-media">
125
+ <img src="<?php echo esc_url('https://royal-elementor-addons.com/library/premade-styles/'. $module_slug .'/'. $template_slug_for_image .'.jpg'); ?>">
126
+ <div class="wpr-tplib-template-media-overlay">
127
+ <i class="eicon-eye"></i>
128
+ </div>
129
+ </div>
130
+ <div class="wpr-tplib-template-footer elementor-clearfix">
131
+ <?php if ( !defined('WPR_ADDONS_PRO_VERSION') && ! wpr_fs()->can_use_premium_code() ) : ?>
132
+ <h3><?php echo strpos($template_slug, 'pro') ? esc_html(str_replace('-pro', ' Pro', $template_title)) : esc_html(str_replace('-zzz', ' Pro', $template_title)); ?></h3>
133
+ <?php else : ?>
134
+ <h3><?php echo strpos($template_slug, 'pro') ? esc_html(str_replace('-pro', '', $template_title)) : esc_html(str_replace('-zzz', '', $template_title)); ?></h3>
135
+ <?php endif; ?>
136
+
137
+ <?php if ( ( strpos($template_slug, 'pro') && !wpr_fs()->can_use_premium_code() ) || ( strpos($template_slug, 'zzz') ) && !wpr_fs()->can_use_premium_code() ) : ?>
138
+ <span class="wpr-tplib-insert-template wpr-tplib-insert-pro"><i class="eicon-star"></i> <span><?php esc_html_e( 'Go Pro', 'wpr-addons' ); ?></span></span>
139
+ <?php else : ?>
140
+ <span class="wpr-tplib-insert-template"><i class="eicon-file-download"></i> <span><?php esc_html_e( 'Insert', 'wpr-addons' ); ?></span></span>
141
+ <?php endif; ?>
142
+ </div>
143
+ </div>
144
+ </div>
145
+
146
+ <?php endfor; ?>
147
+ <?php endforeach;?>
148
+
149
+ </div>
150
+ </div>
151
+
152
+ <?php
153
+
154
+ $current_screen = get_current_screen();
155
+
156
+ if ( !(isset($current_screen) && 'royal-addons_page_wpr-premade-blocks' === $current_screen->id) ) {
157
+ exit;
158
+ }
159
+ }
160
+
161
+ }
admin/templates/wpr-templates-pages.php CHANGED
@@ -1,52 +1,52 @@
1
- <?php
2
- namespace WprAddons\Admin\Templates;
3
-
4
- if ( ! defined( 'ABSPATH' ) ) {
5
- exit; // Exit if accessed directly.
6
- }
7
-
8
- /**
9
- * WPR_Templates_Library_Pages setup
10
- *
11
- * @since 1.0
12
- */
13
- class WPR_Templates_Library_Pages {
14
-
15
- /**
16
- ** Constructor
17
- */
18
- public function __construct() {
19
-
20
- // Template Library Popup
21
- add_action( 'wp_ajax_render_library_templates_pages', [ $this, 'render_library_templates_pages' ] );
22
-
23
- }
24
-
25
- /**
26
- ** Template Library Popup
27
- */
28
- public function render_library_templates_pages() {
29
- ?>
30
-
31
- <div class="wpr-tplib-sidebar">
32
- <ul>
33
- <li>Home</li>
34
- <li>Blog</li>
35
- <li>Landing</li>
36
- </ul>
37
- </div>
38
-
39
- <div class="wpr-tplib-template-gird">
40
- <div class="wpr-tplib-template" data-slug="page-1">Page 1</div>
41
- <div class="wpr-tplib-template" data-slug="page-2">Page 2</div>
42
- <div class="wpr-tplib-template">Page 3</div>
43
- <div class="wpr-tplib-template">Page 4</div>
44
- <div class="wpr-tplib-template">Page 5</div>
45
- <div class="wpr-tplib-template">Page 6</div>
46
- </div>
47
-
48
-
49
- <?php exit();
50
- }
51
-
52
  }
1
+ <?php
2
+ namespace WprAddons\Admin\Templates;
3
+
4
+ if ( ! defined( 'ABSPATH' ) ) {
5
+ exit; // Exit if accessed directly.
6
+ }
7
+
8
+ /**
9
+ * WPR_Templates_Library_Pages setup
10
+ *
11
+ * @since 1.0
12
+ */
13
+ class WPR_Templates_Library_Pages {
14
+
15
+ /**
16
+ ** Constructor
17
+ */
18
+ public function __construct() {
19
+
20
+ // Template Library Popup
21
+ add_action( 'wp_ajax_render_library_templates_pages', [ $this, 'render_library_templates_pages' ] );
22
+
23
+ }
24
+
25
+ /**
26
+ ** Template Library Popup
27
+ */
28
+ public function render_library_templates_pages() {
29
+ ?>
30
+
31
+ <div class="wpr-tplib-sidebar">
32
+ <ul>
33
+ <li>Home</li>
34
+ <li>Blog</li>
35
+ <li>Landing</li>
36
+ </ul>
37
+ </div>
38
+
39
+ <div class="wpr-tplib-template-gird">
40
+ <div class="wpr-tplib-template" data-slug="page-1">Page 1</div>
41
+ <div class="wpr-tplib-template" data-slug="page-2">Page 2</div>
42
+ <div class="wpr-tplib-template">Page 3</div>
43
+ <div class="wpr-tplib-template">Page 4</div>
44
+ <div class="wpr-tplib-template">Page 5</div>
45
+ <div class="wpr-tplib-template">Page 6</div>
46
+ </div>
47
+
48
+
49
+ <?php exit();
50
+ }
51
+
52
  }
assets/css/admin/plugin-options.css CHANGED
@@ -199,6 +199,16 @@
199
  margin-bottom: 0;
200
  }
201
 
 
 
 
 
 
 
 
 
 
 
202
  .wpr-elements {
203
  display: -webkit-box;
204
  display: -ms-flexbox;
@@ -209,6 +219,11 @@
209
  margin-bottom: 50px;
210
  }
211
 
 
 
 
 
 
212
  .wpr-element {
213
  -webkit-box-sizing: border-box;
214
  box-sizing: border-box;
@@ -222,6 +237,26 @@
222
  border-radius: 4px;
223
  }
224
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
225
  .wpr-element-info h3 {
226
  float: left;
227
  margin: 0;
@@ -229,11 +264,17 @@
229
  font-size: 16px;
230
  }
231
 
 
 
 
 
 
232
  .wpr-element-info label,
233
  .wpr-elements-toggle label {
234
  float: right;
235
  }
236
 
 
237
  .wpr-element-info span {
238
  display: block;
239
  margin-top: 3px;
@@ -242,6 +283,7 @@
242
  font-size: 12px;
243
  }
244
 
 
245
  .wpr-element-info a {
246
  display: block;
247
  clear: both;
@@ -250,6 +292,7 @@
250
  box-shadow: none !important;
251
  }
252
 
 
253
  .wpr-element-info input,
254
  .wpr-elements-toggle input,
255
  .wpr-setting-custom-ckbox input {
@@ -265,6 +308,7 @@
265
  border: 0;
266
  }
267
 
 
268
  .wpr-element-info label,
269
  .wpr-elements-toggle label,
270
  .wpr-setting-custom-ckbox label {
@@ -285,6 +329,7 @@
285
  transition: all 0.2s ease-in;
286
  }
287
 
 
288
  .wpr-element-info input + label:after,
289
  .wpr-elements-toggle input + label:after,
290
  .wpr-setting-custom-ckbox input + label:after {
@@ -302,12 +347,14 @@
302
  transition: all 0.2s ease-in;
303
  }
304
 
 
305
  .wpr-element-info input:checked + label,
306
  .wpr-elements-toggle input:checked + label,
307
  .wpr-setting-custom-ckbox input:checked + label {
308
  background: #6A4BFF;
309
  }
310
 
 
311
  .wpr-element-info input:checked + label:after,
312
  .wpr-elements-toggle input:checked + label:after,
313
  .wpr-setting-custom-ckbox input:checked + label:after {
@@ -468,6 +515,18 @@
468
  border-radius: 0 3px 3px 3px;
469
  }
470
 
 
 
 
 
 
 
 
 
 
 
 
 
471
  .wpr-settings-group-title {
472
  position: absolute;
473
  top: 0;
199
  margin-bottom: 0;
200
  }
201
 
202
+ .wpr-elements-heading .wpr-install-activate-woocommerce {
203
+ color: red;
204
+ font-weight: 700;
205
+ }
206
+
207
+ .wpr-install-activate-woocommerce .dashicons {
208
+ font-size: 18px;
209
+ }
210
+
211
+ .wpr-woo-templates,
212
  .wpr-elements {
213
  display: -webkit-box;
214
  display: -ms-flexbox;
219
  margin-bottom: 50px;
220
  }
221
 
222
+ .wpr-woo-templates {
223
+ margin-bottom: 0;
224
+ }
225
+
226
+ .wpr-woo-template,
227
  .wpr-element {
228
  -webkit-box-sizing: border-box;
229
  box-sizing: border-box;
237
  border-radius: 4px;
238
  }
239
 
240
+ .wpr-woo-template {
241
+ width: 100%;
242
+ }
243
+
244
+ .wpr-woo-template-info {
245
+ display: flex;
246
+ justify-content: space-between;
247
+ }
248
+
249
+ .wpr-woo-template-info .wpr-woo-template-title {
250
+ display: inline-flex;
251
+ flex-direction: column;
252
+ }
253
+
254
+ .wpr-woo-template-title p {
255
+ margin: 0;
256
+ font-size: 12px;
257
+ }
258
+
259
+ .wpr-woo-template-info h3,
260
  .wpr-element-info h3 {
261
  float: left;
262
  margin: 0;
264
  font-size: 16px;
265
  }
266
 
267
+ .wpr-woo-template-info label {
268
+ min-width: 45px;
269
+ }
270
+
271
+ .wpr-woo-template-info label,
272
  .wpr-element-info label,
273
  .wpr-elements-toggle label {
274
  float: right;
275
  }
276
 
277
+ .wpr-woo-template-info span,
278
  .wpr-element-info span {
279
  display: block;
280
  margin-top: 3px;
283
  font-size: 12px;
284
  }
285
 
286
+ .wpr-woo-template-info a,
287
  .wpr-element-info a {
288
  display: block;
289
  clear: both;
292
  box-shadow: none !important;
293
  }
294
 
295
+ .wpr-woo-template-info input,
296
  .wpr-element-info input,
297
  .wpr-elements-toggle input,
298
  .wpr-setting-custom-ckbox input {
308
  border: 0;
309
  }
310
 
311
+ .wpr-woo-template-info label,
312
  .wpr-element-info label,
313
  .wpr-elements-toggle label,
314
  .wpr-setting-custom-ckbox label {
329
  transition: all 0.2s ease-in;
330
  }
331
 
332
+ .wpr-woo-template-info input + label:after,
333
  .wpr-element-info input + label:after,
334
  .wpr-elements-toggle input + label:after,
335
  .wpr-setting-custom-ckbox input + label:after {
347
  transition: all 0.2s ease-in;
348
  }
349
 
350
+ .wpr-woo-template-info input:checked + label,
351
  .wpr-element-info input:checked + label,
352
  .wpr-elements-toggle input:checked + label,
353
  .wpr-setting-custom-ckbox input:checked + label {
354
  background: #6A4BFF;
355
  }
356
 
357
+ .wpr-woo-template-info input:checked + label:after,
358
  .wpr-element-info input:checked + label:after,
359
  .wpr-elements-toggle input:checked + label:after,
360
  .wpr-setting-custom-ckbox input:checked + label:after {
515
  border-radius: 0 3px 3px 3px;
516
  }
517
 
518
+ /* .wpr-settings-group-woo {
519
+ padding: 0;
520
+ } */
521
+
522
+ /* .wpr-woo-template {
523
+ margin: 30px;
524
+ }
525
+
526
+ .wpr-settings-group-inner {
527
+ padding: 30px;
528
+ } */
529
+
530
  .wpr-settings-group-title {
531
  position: absolute;
532
  top: 0;
assets/css/editor.css CHANGED
@@ -1,763 +1,763 @@
1
- /*--------------------------------------------------------------
2
- == General
3
- --------------------------------------------------------------*/
4
- .wpr-elementor-hidden-control {
5
- overflow: hidden;
6
- width: 0 !important;
7
- height: 0 !important;
8
- padding: 0 !important;
9
- margin: 0 !important;
10
- visibility: hidden !important;
11
- opacity: 0 !important;
12
- }
13
-
14
-
15
- /*--------------------------------------------------------------
16
- == WPR Widgets
17
- --------------------------------------------------------------*/
18
- .elementor-panel .wpr-icon:after {
19
- content: 'R';
20
- display: block;
21
- position: absolute;
22
- top: 3px;
23
- right: 3px;
24
- font-family: Roboto,Arial,Helvetica,Verdana,sans-serif;
25
- font-size: 10px;
26
- font-weight: bold;
27
- color: #ffffff;
28
- background-image: -o-linear-gradient(#6A4BFF, #7E94FE);
29
- background-image: -webkit-gradient(linear, left top, left bottom, from(#6A4BFF), to(#7E94FE));
30
- background-image: linear-gradient(#6A4BFF, #7E94FE);
31
- -webkit-box-shadow: 0 0 2px 2px #b8c7ff;
32
- box-shadow: 0 0 2px 2px #b8c7ff;
33
- width: 19px;
34
- height: 19px;
35
- line-height: 19px;
36
- border-radius: 15px;
37
- margin: 3px;
38
- }
39
-
40
- .elementor-panel .elementor-element .icon {
41
- position: relative !important;
42
- }
43
-
44
- .elementor-control-type-section[class*="elementor-control-wpr_section_"]:after {
45
- content: 'R';
46
- display: block;
47
- position: absolute;
48
- top: 7px;
49
- right: 7px;
50
- font-family: Roboto,Arial,Helvetica,Verdana,sans-serif;
51
- font-size: 10px;
52
- font-weight: bold;
53
- color: #ffffff;
54
- background-image: -o-linear-gradient(#6A4BFF, #7E94FE);
55
- background-image: -webkit-gradient(linear, left top, left bottom, from(#6A4BFF), to(#7E94FE));
56
- background-image: linear-gradient(#6A4BFF, #7E94FE);
57
- -webkit-box-shadow: 0 0 2px 2px #b8c7ff;
58
- box-shadow: 0 0 2px 2px #b8c7ff;
59
- width: 19px;
60
- height: 19px;
61
- line-height: 19px;
62
- border-radius: 15px;
63
- margin: 3px;
64
- text-align: center;
65
- }
66
-
67
- /*--------------------------------------------------------------
68
- == Adjustments
69
- --------------------------------------------------------------*/
70
- .elementor-control-element_select,
71
- .elementor-control-element_align_hr,
72
- .elementor-control-element_read_more_text,
73
- .elementor-control-element_tax_sep,
74
- .elementor-control-element_sharing_icon_6,
75
- .elementor-control-element_sharing_trigger_direction,
76
- .elementor-control-element_sharing_icon_display,
77
- .elementor-control-element_sharing_tooltip,
78
- .elementor-control-element_custom_field_wrapper_html,
79
- .elementor-control-slider_item_bg_size,
80
- .elementor-control-element_addcart_variable_txt,
81
- .elementor-control-type {
82
- margin-bottom: 15px;
83
- }
84
-
85
- .elementor-control-slider_content_bg_color,
86
- .elementor-control-slider_nav_border_border,
87
- .elementor-control-slider_nav_border_radius,
88
- .elementor-control-scroll_btn_vr,
89
- .elementor-control-pagination_load_more_text,
90
- .elementor-control-pagination_finish_text,
91
- .elementor-control-pagination_prev_next,
92
- .elementor-control-author_transition_duration,
93
- .elementor-control-comments_transition_duration,
94
- .elementor-control-likes_transition_duration,
95
- .elementor-control-sharing_transition_duration,
96
- .elementor-control-lightbox_transition_duration,
97
- .elementor-control-custom_field1_transition_duration,
98
- .elementor-control-custom_field2_transition_duration,
99
- .elementor-control-custom_field3_transition_duration,
100
- .elementor-control-custom_field4_transition_duration,
101
- .elementor-control-filters_transition_duration,
102
- .elementor-control-pagination_transition_duration,
103
- .elementor-control-element_extra_text_pos,
104
- .elementor-control-element_custom_field_wrapper,
105
- .elementor-control-overlay_post_link,
106
- .elementor-control-read_more_animation_height,
107
- .elementor-control-archive_link_transition_duration,
108
- .elementor-control-post_info_tax_select,
109
- .elementor-control-post_info_link_wrap,
110
- .elementor-control-tabs_sharing_custom_colors,
111
- .elementor-control-post_info_show_avatar,
112
- .elementor-control-post_info_cf,
113
- .elementor-control-pricing_items .elementor-control-price,
114
- .elementor-control-pricing_items .elementor-control-feature_text,
115
- .elementor-control-pricing_items .elementor-control-btn_text,
116
- .elementor-control-divider_style,
117
- .elementor-control-filters_pointer,
118
- .elementor-control-title_transition_duration,
119
- .elementor-control-tax1_transition_duration,
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
-
127
- .elementor-control-title_pointer_animation + .elementor-control-title_transition_duration,
128
- .elementor-control-tax1_pointer_animation + .elementor-control-tax1_transition_duration,
129
- .elementor-control-tax2_pointer_animation + .elementor-control-tax2_transition_duration,
130
- .elementor-control-filters_pointer_animation + .elementor-control-filters_transition_duration {
131
- padding-top: 0 !important;
132
- }
133
-
134
- .elementor-control-pagination_load_more_text {
135
- padding-bottom: 0 !important;
136
- }
137
-
138
- .elementor-control-filters_transition_duration {
139
- padding-top: 0 !important;
140
- }
141
-
142
- .elementor-control-animation_divider,
143
- .elementor-control-overlay_divider,
144
- .elementor-control-slider_item_btn_1_divider,
145
- .elementor-control-slider_item_btn_2_divider,
146
- .elementor-control-slider_btn_typography_1_divider,
147
- .elementor-control-slider_btn_box_shadow_1_divider,
148
- .elementor-control-slider_btn_typography_2_divider,
149
- .elementor-control-slider_btn_box_shadow_2_divider,
150
- .elementor-control-testimonial_title_divider,
151
- .elementor-control-social_media_divider,
152
- .elementor-control-social_divider_1,
153
- .elementor-control-social_divider_2,
154
- .elementor-control-social_divider_3,
155
- .elementor-control-social_divider_4,
156
- .elementor-control-social_divider_5,
157
- .elementor-control-custom_field_wrapper_html_divider1,
158
- .elementor-control-custom_field_wrapper_html_divider2,
159
- .elementor-control-lightbox_shadow_divider {
160
- padding: 0 !important;
161
- }
162
-
163
- .elementor-control-custom_field_wrapper_html_divider1 hr,
164
- .elementor-control-lightbox_shadow_divider hr {
165
- height: 1px !important;
166
- }
167
-
168
- .elementor-control-element_show_on {
169
- padding-top: 15px !important;
170
- border-top: 1px solid #d5dadf;
171
- }
172
-
173
- [class*="wpr__section_"] ~ .elementor-control-type-number .elementor-control-input-wrapper,
174
- [class*="wpr__section_"] ~ .elementor-control-type-repeater .elementor-control-type-number .elementor-control-input-wrapper {
175
- max-width: 30% !important;
176
- margin-left: auto !important;
177
- }
178
-
179
- [class*="wpr__section_"] ~ .elementor-control-type-select .elementor-control-input-wrapper,
180
- [class*="wpr__section_"] ~ .elementor-control-type-repeater .elementor-control-type-select .elementor-control-input-wrapper {
181
- width: auto !important;
182
- min-width: 30% !important;
183
- margin-left: auto !important;
184
- }
185
-
186
- .elementor-control-submit_preview_changes .elementor-control-input-wrapper {
187
- text-align: center !important;
188
- }
189
-
190
- .elementor-control-query_manual_related,
191
- .elementor-control-query_manual_current {
192
- display: none !important;
193
- }
194
-
195
- /* Fix Select Inputs */
196
- .elementor-control-button_hover_animation .elementor-control-input-wrapper,
197
- .elementor-control-front_btn_animation .elementor-control-input-wrapper,
198
- .elementor-control-back_btn_animation .elementor-control-input-wrapper,
199
-
200
- .elementor-control-select_template .select2-selection,
201
- .elementor-control-switcher_first_select_template .select2-selection,
202
- .elementor-control-switcher_second_select_template .select2-selection,
203
- .elementor-control-switcher_select_template .select2-selection,
204
- .elementor-control-slider_select_template .select2-selection {
205
- width: 135px !important;
206
- }
207
-
208
- .elementor-control-type-repeater .elementor-control-content > label {
209
- display: none !important;
210
- }
211
-
212
-
213
- /*--------------------------------------------------------------
214
- == Notification
215
- --------------------------------------------------------------*/
216
- #wpr-template-settings-notification {
217
- position: fixed;
218
- left: 40px;
219
- bottom: 5px;
220
- z-index: 9999;
221
- padding: 13px 25px;
222
- background: #fff;
223
- color: #222;
224
- -webkit-box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.3);
225
- box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.3);
226
- border-radius: 3px;
227
- }
228
-
229
- #wpr-template-settings-notification:before {
230
- content: "";
231
- position: absolute;
232
- left: -6px;
233
- bottom: 10px;
234
- width: 0;
235
- height: 0;
236
- border-top: 6px solid transparent;
237
- border-bottom: 6px solid transparent;
238
- border-right-style: solid;
239
- border-right-width: 6px;
240
- border-right-color: #fff;
241
- }
242
-
243
- #wpr-template-settings-notification h4 {
244
- margin-bottom: 10px;
245
- }
246
-
247
- #wpr-template-settings-notification h4 span {
248
- font-size: 14px;
249
- vertical-align: super;
250
- color: #5f5f5f;
251
- }
252
-
253
- #wpr-template-settings-notification h4 i {
254
- margin-right: 10px;
255
- color: #3db050;
256
- font-size: 24px;
257
- }
258
-
259
- #wpr-template-settings-notification p {
260
- color: #666;
261
- font-size: 12px;
262
- line-height: 1.5;
263
- }
264
-
265
- #wpr-template-settings-notification > i {
266
- position: absolute;
267
- top: 7px;
268
- right: 7px;
269
- cursor: pointer;
270
- color: #999;
271
- }
272
-
273
- .elementor-control-cf7_notice,
274
- .elementor-control-wpforms_notice,
275
- .elementor-control-ninja_forms_notice,
276
- .elementor-control-caldera_notice {
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;
285
- font-weight: normal;
286
- color: #fff;
287
- background: #6A65FF;
288
- border-radius: 3px;
289
- -webkit-box-shadow: 0 2px 7px 0 rgba(0,0,0,0.3);
290
- box-shadow: 0 2px 7px 0 rgba(0,0,0,0.3);
291
- letter-spacing: 0.3px;
292
- -webkit-transition: all 0.2s ease-in;
293
- -o-transition: all 0.2s ease-in;
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
-
316
-
317
- /*--------------------------------------------------------------
318
- == Modal Popup Editor
319
- --------------------------------------------------------------*/
320
- .elementor-editor-wpr-popups .elementor-control-document_settings,
321
- .elementor-editor-wpr-popups .elementor-control-post_title,
322
- .elementor-editor-wpr-popups .elementor-control-post_status {
323
- display: none !important;
324
- }
325
-
326
-
327
- /*--------------------------------------------------------------
328
- == Elementor Editor Popup
329
- --------------------------------------------------------------*/
330
- #wpr-template-editor-popup .dialog-widget-content {
331
- width: 90vw;
332
- height: 90vh;
333
- }
334
-
335
- #wpr-template-editor-popup .dialog-message {
336
- padding: 0;
337
- width: 100%;
338
- height: 100%;
339
- }
340
-
341
- #wpr-template-editor-popup .dialog-close-button {
342
- font-size: 24px;
343
- color: #222;
344
- }
345
-
346
- #wpr-template-editor-popup .dialog-header {
347
- display: none;
348
- }
349
-
350
- #wpr-template-editor-loading {
351
- position: absolute;
352
- top: 0;
353
- left: 0;
354
- width: 100%;
355
- height: 100%;
356
- background: #f1f3f5;
357
- z-index: 9999;
358
- -webkit-transform: translateZ(0);
359
- transform: translateZ(0);
360
- display: -webkit-box;
361
- display: -ms-flexbox;
362
- display: flex;
363
- -webkit-box-pack: center;
364
- -ms-flex-pack: center;
365
- justify-content: center;
366
- -webkit-box-align: center;
367
- -ms-flex-align: center;
368
- align-items: center;
369
- }
370
-
371
- #wpr-template-editor-loading .elementor-loader-wrapper {
372
- top: auto;
373
- left: auto;
374
- -webkit-transform: none;
375
- -ms-transform: none;
376
- transform: none;
377
- }
378
-
379
- /* Disable Transitions on Responsive Preview */
380
- #elementor-preview-responsive-wrapper {
381
- -webkit-transition: none !important;
382
- -o-transition: none !important;
383
- transition: none !important;
384
- }
385
-
386
-
387
- /*--------------------------------------------------------------
388
- == Magazine Grid Layout
389
- --------------------------------------------------------------*/
390
- .elementor-control-layout_select.elementor-control .elementor-control-field {
391
- -webkit-box-orient: vertical !important;
392
- -webkit-box-direction: normal !important;
393
- -ms-flex-direction: column !important;
394
- flex-direction: column !important;
395
- -webkit-box-align: start;
396
- -ms-flex-align: start;
397
- align-items: flex-start;
398
- }
399
-
400
- .elementor-control-layout_select.elementor-control .elementor-control-input-wrapper {
401
- display: -webkit-box;
402
- display: -ms-flexbox;
403
- display: flex;
404
- width: 100% !important;
405
- margin-top: 10px;
406
- }
407
-
408
- .elementor-control-layout_select.elementor-control .elementor-choices {
409
- -ms-flex-wrap: wrap;
410
- flex-wrap: wrap;
411
- -webkit-box-align: stretch;
412
- -ms-flex-align: stretch;
413
- align-items: stretch;
414
- width: 100% !important;
415
- height: auto;
416
- border: 1px solid #dfd5d5;
417
- }
418
-
419
- .elementor-control-layout_select.elementor-control .elementor-choices label {
420
- width: 33.3%;
421
- height: 50px;
422
- background-size: 75%;
423
- background-position: center center;
424
- background-repeat: no-repeat;
425
- }
426
-
427
- .elementor-control-layout_select input[type="radio"]:checked + label {
428
- border: 2px solid #D30C5C;
429
- border-radius: 0 !important;
430
- background-color: #ffffff;
431
- }
432
-
433
- .elementor-control-layout_select label:nth-child(2) {
434
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='15.2' class='st1' width='22.2' height='11.9'/%3E%3Crect x='25.6' y='4.9' class='st1' width='22.2' height='9.2'/%3E%3C/g%3E%3C/svg%3E");
435
- }
436
-
437
- .elementor-control-layout_select label:nth-child(4) {
438
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='25.6' y='4.9' class='st1' width='22.2' height='10.5'/%3E%3C/g%3E%3C/svg%3E");
439
- }
440
-
441
- .elementor-control-layout_select label:nth-child(6) {
442
- background: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Cg%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='25.6' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
443
- }
444
-
445
- .elementor-control-layout_select label:nth-child(8) {
446
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3Crect x='37.2' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3C/g%3E%3C/svg%3E");
447
- }
448
-
449
- .elementor-control-layout_select label:nth-child(10) {
450
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='13.9' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='37.2' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3Crect x='2.3' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='2.3' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3C/g%3E%3C/svg%3E");
451
- }
452
-
453
- .elementor-control-layout_select label:nth-child(12) {
454
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='28.5' height='22.2'/%3E%3Crect x='31.8' y='12.9' class='st1' width='15.9' height='6.3'/%3E%3Crect x='31.8' y='4.9' class='st1' width='15.9' height='6.8'/%3E%3Crect x='31.8' y='20.3' class='st1' width='15.9' height='6.8'/%3E%3C/g%3E%3C/svg%3E");
455
- }
456
-
457
- .elementor-control-layout_select label:nth-child(14) {
458
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='13.9' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='2.2' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3C/g%3E%3C/svg%3E");
459
- }
460
-
461
- .elementor-control-layout_select label:nth-child(16) {
462
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='33.9' height='13.2'/%3E%3Crect x='2.2' y='19.3' class='st1' width='16.4' height='7.8'/%3E%3Crect x='19.7' y='19.3' class='st1' width='16.4' height='7.8'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='13.2'/%3E%3Crect x='37.2' y='19.3' class='st1' width='10.5' height='7.8'/%3E%3C/g%3E%3C/svg%3E");
463
- }
464
-
465
- .elementor-control-layout_select label:nth-child(18) {
466
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='12.1'/%3E%3Crect x='25.6' y='4.9' class='st1' width='22.2' height='12.1'/%3E%3Crect x='2.2' y='18.2' class='st1' width='14.4' height='8.9'/%3E%3Crect x='17.8' y='18.2' class='st1' width='14.4' height='8.9'/%3E%3Crect x='33.3' y='18.2' class='st1' width='14.4' height='8.9'/%3E%3C/g%3E%3C/svg%3E");
467
- }
468
-
469
- .elementor-control-layout_select label:nth-child(20) {
470
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3C/g%3E%3C/svg%3E");
471
- }
472
-
473
- .elementor-control-layout_select label:nth-child(22) {
474
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='14.5' height='22.2'/%3E%3Crect x='33.4' y='4.9' class='st1' width='14.4' height='22.2'/%3E%3Crect x='17.9' y='4.9' class='st1' width='14.4' height='22.2'/%3E%3C/g%3E%3C/svg%3E");
475
- }
476
-
477
- .elementor-control-layout_select label:nth-child(24) {
478
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='10.6' height='22.2'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3Crect x='25.6' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3Crect x='14' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3C/g%3E%3C/svg%3E");
479
- }
480
-
481
- /*--------------------------------------------------------------
482
- == Widget Preview and Library buttons
483
- --------------------------------------------------------------*/
484
- .elementor-control-wpr_library_buttons {
485
- height: 80px;
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;
507
- padding: 10px 15px;
508
- border-radius: 3px;
509
- /*box-shadow: 1px 2px 5px 0 rgba(0,0,0,0.2);*/
510
- white-space: nowrap;
511
- overflow: hidden;
512
- -o-text-overflow: ellipsis;
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
538
- --------------------------------------------------------------*/
539
- .elementor-control select option[value*=pro-] {
540
- background: #f0f0f0;
541
- }
542
-
543
- .elementor-control[class*="pro_notice"] {
544
- padding: 5px 0 15px 0 !important;
545
- }
546
-
547
- .wpr-pro-notice {
548
- padding: 20px;
549
- border-top: 1px solid #e6e9ec;
550
- border-bottom: 1px solid #e6e9ec;
551
- background-color: #f2fbff;
552
- line-height: 1.4;
553
- text-align: center;
554
- }
555
-
556
- .wpr-pro-notice-video {
557
- display: block;
558
- margin-top: 7px;
559
- line-height: 20px;
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,
569
- .elementor-control-element_align_pro_notice + div {
570
- padding-top: 15px;
571
- }
572
-
573
- .elementor-control-layout_select .elementor-choices label {
574
- position: relative;
575
- }
576
-
577
- .elementor-control-layout_select .elementor-choices label:nth-child(2):after,
578
- .elementor-control-layout_select .elementor-choices label:nth-child(4):after,
579
- .elementor-control-layout_select .elementor-choices label:nth-child(6):after,
580
- .elementor-control-layout_select .elementor-choices label:nth-child(8):after,
581
- .elementor-control-layout_select .elementor-choices label:nth-child(10):after,
582
- .elementor-control-layout_select .elementor-choices label:nth-child(12):after {
583
- content: ' ';
584
- display: block;
585
- width: 100%;
586
- height: 100%;
587
- position: absolute;
588
- top: 0;
589
- left: 0;
590
- background: rgba(0,0,0,0.2);
591
- }
592
-
593
- /* Adjustments */
594
- .elementor-control.elementor-control-element_align_pro_notice,
595
- .elementor-control.elementor-control-search_pro_notice,
596
- .elementor-control.elementor-control-layout_select_pro_notice,
597
- .elementor-control.elementor-control-grid_columns_pro_notice,
598
- .elementor-control.elementor-control-slider_content_type_pro_notice,
599
- .elementor-control.elementor-control-slider_repeater_pro_notice,
600
- .elementor-control.elementor-control-slider_dots_layout_pro_notice,
601
- .elementor-control.elementor-control-testimonial_repeater_pro_notice,
602
- .elementor-control.elementor-control-testimonial_icon_pro_notice,
603
- .elementor-control.elementor-control-menu_layout_pro_notice,
604
- .elementor-control.elementor-control-menu_items_submenu_entrance_pro_notice,
605
- .elementor-control.elementor-control-switcher_label_style_pro_notice,
606
- .elementor-control.elementor-control-countdown_type_pro_notice,
607
- .elementor-control.elementor-control-layout_pro_notice,
608
- .elementor-control.elementor-control-anim_timing_pro_notice,
609
- .elementor-control.elementor-control-tab_content_type_pro_notice,
610
- .elementor-control.elementor-control-tabs_repeater_pro_notice,
611
- .elementor-control.elementor-control-tabs_align_pro_notice,
612
- .elementor-control.elementor-control-front_trigger_pro_notice,
613
- .elementor-control.elementor-control-back_link_type_pro_notice,
614
- .elementor-control.elementor-control-box_anim_timing_pro_notice,
615
- .elementor-control.elementor-control-image_style_pro_notice,
616
- .elementor-control.elementor-control-image_animation_timing_pro_notice,
617
- .elementor-control.elementor-control-label_display_pro_notice,
618
- .elementor-control.elementor-control-post_type_pro_notice,
619
- .elementor-control.elementor-control-type_select_pro_notice,
620
- .elementor-control.elementor-control-icon_style_pro_notice,
621
- .elementor-control.elementor-control-dual_button_pro_notice,
622
- .elementor-control.elementor-control-team_member_pro_notice,
623
- .elementor-control.elementor-control-price_list_pro_notice,
624
- .elementor-control.elementor-control-business_hours_pro_notice,
625
- .elementor-control.elementor-control-sharing_columns_pro_notice,
626
- .elementor-control.elementor-control-popup_trigger_pro_notice,
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
- .elementor-control.elementor-control-mini_cart_style_pro_notice {
635
- padding-bottom: 0 !important;
636
- }
637
-
638
- .elementor-control-search_pro_notice .wpr-pro-notice,
639
- .elementor-control-grid_columns_pro_notice .wpr-pro-notice,
640
- .elementor-control-slider_content_type_pro_notice .wpr-pro-notice,
641
- .elementor-control-slider_repeater_pro_notice .wpr-pro-notice,
642
- .elementor-control-slider_dots_layout_pro_notice .wpr-pro-notice,
643
- .elementor-control-testimonial_repeater_pro_notice .wpr-pro-notice,
644
- .elementor-control-testimonial_icon_pro_notice .wpr-pro-notice,
645
- .elementor-control-menu_layout_pro_notice .wpr-pro-notice,
646
- .elementor-control-menu_items_submenu_entrance_pro_notice .wpr-pro-notice,
647
- .elementor-control-switcher_label_style_pro_notice .wpr-pro-notice,
648
- .elementor-control-countdown_type_pro_notice .wpr-pro-notice,
649
- .elementor-control-layout_pro_notice .wpr-pro-notice,
650
- .elementor-control-anim_timing_pro_notice .wpr-pro-notice,
651
- .elementor-control-tab_content_type_pro_notice .wpr-pro-notice,
652
- .elementor-control-tabs_repeater_pro_notice .wpr-pro-notice,
653
- .elementor-control-tabs_align_pro_notice .wpr-pro-notice,
654
- .elementor-control-front_trigger_pro_notice .wpr-pro-notice,
655
- .elementor-control-back_link_type_pro_notice .wpr-pro-notice,
656
- .elementor-control-box_anim_timing_pro_notice .wpr-pro-notice,
657
- .elementor-control-image_style_pro_notice .wpr-pro-notice,
658
- .elementor-control-image_animation_timing_pro_notice .wpr-pro-notice,
659
- .elementor-control-label_display_pro_notice .wpr-pro-notice,
660
- .elementor-control-post_type_pro_notice .wpr-pro-notice,
661
- .elementor-control-type_select_pro_notice .wpr-pro-notice,
662
- .elementor-control-icon_style_pro_notice .wpr-pro-notice,
663
- .elementor-control-dual_button_pro_notice .wpr-pro-notice,
664
- .elementor-control-team_member_pro_notice .wpr-pro-notice,
665
- .elementor-control-price_list_pro_notice .wpr-pro-notice,
666
- .elementor-control-business_hours_pro_notice .wpr-pro-notice,
667
- .elementor-control-sharing_columns_pro_notice .wpr-pro-notice,
668
- .elementor-control-popup_trigger_pro_notice .wpr-pro-notice,
669
- .elementor-control-popup_show_again_delay_pro_notice .wpr-pro-notice,
670
- .elementor-control-group_popup_settings_pro_notice .wpr-pro-notice,
671
- .elementor-control-mini_cart_style_pro_notice .wpr-pro-notice {
672
- border-bottom: none !important;
673
- }
674
-
675
- /* Both */
676
- .elementor-control.elementor-control-pagination_type_pro_notice,
677
- .elementor-control.elementor-control-tooltip_trigger_pro_notice {
678
- padding-top: 0 !important;
679
- padding-bottom: 0 !important;
680
- }
681
-
682
- .elementor-control-pagination_type_pro_notice .wpr-pro-notice {
683
- border-top: none !important;
684
- border-bottom: none !important;
685
- }
686
-
687
- .elementor-control-pro_features_section .elementor-section-toggle,
688
- .elementor-control-pro_features_section .elementor-section-title {
689
- color: #f54;
690
- }
691
-
692
- .elementor-control-pro_features_section .elementor-section-title {
693
- line-height: 20px;
694
- }
695
- .elementor-control-pro_features_section .elementor-section-title .dashicons {
696
- line-height: 20px;
697
- font-size: 13px;
698
- }
699
-
700
- .wpr-pro-features-list {
701
- text-align: center;
702
- }
703
-
704
- .wpr-pro-features-list ul {
705
- text-align: left;
706
- }
707
-
708
- .wpr-pro-features-list ul li {
709
- position: relative;
710
- line-height: 22px;
711
- padding-left: 20px;
712
- }
713
-
714
- .wpr-pro-features-list ul li::before {
715
- content: '.';
716
- font-size: 38px;
717
- position: absolute;
718
- top: -11px;
719
- left: 0;
720
- }
721
-
722
- .wpr-pro-features-list ul + a {
723
- display: inline-block;
724
- background-color: #f54;
725
- color: #fff;
726
- margin: 15px 15px 10px 0;
727
- padding: 7px 12px;
728
- border-radius: 3px;
729
- }
730
-
731
- .wpr-pro-features-list ul + a:hover {
732
- color: #fff;
733
- }
734
-
735
- /* Video Tutorial Link */
736
- .elementor-control[class*="video_tutorial"] {
737
- padding-top: 0 !important;
738
- padding-bottom: 5px !important;
739
- }
740
-
741
- .elementor-control[class*="video_tutorial"] a {
742
- line-height: 16px;
743
- font-size: 12px;
744
- }
745
-
746
- .elementor-control[class*="video_tutorial"] a .dashicons {
747
- font-size: 16px;
748
- }
749
-
750
-
751
- /*--------------------------------------------------------------
752
- == Elementor Search Notice
753
- --------------------------------------------------------------*/
754
- .wpr-elementor-search-notice {
755
- background: #fff;
756
- font-size: 13px;
757
- padding: 20px;
758
- line-height: 18px;
759
- margin: 10px;
760
- border-left: 3px solid #71d7f7;
761
- -webkit-box-shadow: 0 1px 4px 0 rgb(0 0 0 / 7%);
762
- box-shadow: 0 1px 4px 0 rgb(0 0 0 / 7%);
763
  }
1
+ /*--------------------------------------------------------------
2
+ == General
3
+ --------------------------------------------------------------*/
4
+ .wpr-elementor-hidden-control {
5
+ overflow: hidden;
6
+ width: 0 !important;
7
+ height: 0 !important;
8
+ padding: 0 !important;
9
+ margin: 0 !important;
10
+ visibility: hidden !important;
11
+ opacity: 0 !important;
12
+ }
13
+
14
+
15
+ /*--------------------------------------------------------------
16
+ == WPR Widgets
17
+ --------------------------------------------------------------*/
18
+ .elementor-panel .wpr-icon:after {
19
+ content: 'R';
20
+ display: block;
21
+ position: absolute;
22
+ top: 3px;
23
+ right: 3px;
24
+ font-family: Roboto,Arial,Helvetica,Verdana,sans-serif;
25
+ font-size: 10px;
26
+ font-weight: bold;
27
+ color: #ffffff;
28
+ background-image: -o-linear-gradient(#6A4BFF, #7E94FE);
29
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#6A4BFF), to(#7E94FE));
30
+ background-image: linear-gradient(#6A4BFF, #7E94FE);
31
+ -webkit-box-shadow: 0 0 2px 2px #b8c7ff;
32
+ box-shadow: 0 0 2px 2px #b8c7ff;
33
+ width: 19px;
34
+ height: 19px;
35
+ line-height: 19px;
36
+ border-radius: 15px;
37
+ margin: 3px;
38
+ }
39
+
40
+ .elementor-panel .elementor-element .icon {
41
+ position: relative !important;
42
+ }
43
+
44
+ .elementor-control-type-section[class*="elementor-control-wpr_section_"]:after {
45
+ content: 'R';
46
+ display: block;
47
+ position: absolute;
48
+ top: 7px;
49
+ right: 7px;
50
+ font-family: Roboto,Arial,Helvetica,Verdana,sans-serif;
51
+ font-size: 10px;
52
+ font-weight: bold;
53
+ color: #ffffff;
54
+ background-image: -o-linear-gradient(#6A4BFF, #7E94FE);
55
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#6A4BFF), to(#7E94FE));
56
+ background-image: linear-gradient(#6A4BFF, #7E94FE);
57
+ -webkit-box-shadow: 0 0 2px 2px #b8c7ff;
58
+ box-shadow: 0 0 2px 2px #b8c7ff;
59
+ width: 19px;
60
+ height: 19px;
61
+ line-height: 19px;
62
+ border-radius: 15px;
63
+ margin: 3px;
64
+ text-align: center;
65
+ }
66
+
67
+ /*--------------------------------------------------------------
68
+ == Adjustments
69
+ --------------------------------------------------------------*/
70
+ .elementor-control-element_select,
71
+ .elementor-control-element_align_hr,
72
+ .elementor-control-element_read_more_text,
73
+ .elementor-control-element_tax_sep,
74
+ .elementor-control-element_sharing_icon_6,
75
+ .elementor-control-element_sharing_trigger_direction,
76
+ .elementor-control-element_sharing_icon_display,
77
+ .elementor-control-element_sharing_tooltip,
78
+ .elementor-control-element_custom_field_wrapper_html,
79
+ .elementor-control-slider_item_bg_size,
80
+ .elementor-control-element_addcart_variable_txt,
81
+ .elementor-control-type {
82
+ margin-bottom: 15px;
83
+ }
84
+
85
+ .elementor-control-slider_content_bg_color,
86
+ .elementor-control-slider_nav_border_border,
87
+ .elementor-control-slider_nav_border_radius,
88
+ .elementor-control-scroll_btn_vr,
89
+ .elementor-control-pagination_load_more_text,
90
+ .elementor-control-pagination_finish_text,
91
+ .elementor-control-pagination_prev_next,
92
+ .elementor-control-author_transition_duration,
93
+ .elementor-control-comments_transition_duration,
94
+ .elementor-control-likes_transition_duration,
95
+ .elementor-control-sharing_transition_duration,
96
+ .elementor-control-lightbox_transition_duration,
97
+ .elementor-control-custom_field1_transition_duration,
98
+ .elementor-control-custom_field2_transition_duration,
99
+ .elementor-control-custom_field3_transition_duration,
100
+ .elementor-control-custom_field4_transition_duration,
101
+ .elementor-control-filters_transition_duration,
102
+ .elementor-control-pagination_transition_duration,
103
+ .elementor-control-element_extra_text_pos,
104
+ .elementor-control-element_custom_field_wrapper,
105
+ .elementor-control-overlay_post_link,
106
+ .elementor-control-read_more_animation_height,
107
+ .elementor-control-archive_link_transition_duration,
108
+ .elementor-control-post_info_tax_select,
109
+ .elementor-control-post_info_link_wrap,
110
+ .elementor-control-tabs_sharing_custom_colors,
111
+ .elementor-control-post_info_show_avatar,
112
+ .elementor-control-post_info_cf,
113
+ .elementor-control-pricing_items .elementor-control-price,
114
+ .elementor-control-pricing_items .elementor-control-feature_text,
115
+ .elementor-control-pricing_items .elementor-control-btn_text,
116
+ .elementor-control-divider_style,
117
+ .elementor-control-filters_pointer,
118
+ .elementor-control-title_transition_duration,
119
+ .elementor-control-tax1_transition_duration,
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
+
127
+ .elementor-control-title_pointer_animation + .elementor-control-title_transition_duration,
128
+ .elementor-control-tax1_pointer_animation + .elementor-control-tax1_transition_duration,
129
+ .elementor-control-tax2_pointer_animation + .elementor-control-tax2_transition_duration,
130
+ .elementor-control-filters_pointer_animation + .elementor-control-filters_transition_duration {
131
+ padding-top: 0 !important;
132
+ }
133
+
134
+ .elementor-control-pagination_load_more_text {
135
+ padding-bottom: 0 !important;
136
+ }
137
+
138
+ .elementor-control-filters_transition_duration {
139
+ padding-top: 0 !important;
140
+ }
141
+
142
+ .elementor-control-animation_divider,
143
+ .elementor-control-overlay_divider,
144
+ .elementor-control-slider_item_btn_1_divider,
145
+ .elementor-control-slider_item_btn_2_divider,
146
+ .elementor-control-slider_btn_typography_1_divider,
147
+ .elementor-control-slider_btn_box_shadow_1_divider,
148
+ .elementor-control-slider_btn_typography_2_divider,
149
+ .elementor-control-slider_btn_box_shadow_2_divider,
150
+ .elementor-control-testimonial_title_divider,
151
+ .elementor-control-social_media_divider,
152
+ .elementor-control-social_divider_1,
153
+ .elementor-control-social_divider_2,
154
+ .elementor-control-social_divider_3,
155
+ .elementor-control-social_divider_4,
156
+ .elementor-control-social_divider_5,
157
+ .elementor-control-custom_field_wrapper_html_divider1,
158
+ .elementor-control-custom_field_wrapper_html_divider2,
159
+ .elementor-control-lightbox_shadow_divider {
160
+ padding: 0 !important;
161
+ }
162
+
163
+ .elementor-control-custom_field_wrapper_html_divider1 hr,
164
+ .elementor-control-lightbox_shadow_divider hr {
165
+ height: 1px !important;
166
+ }
167
+
168
+ .elementor-control-element_show_on {
169
+ padding-top: 15px !important;
170
+ border-top: 1px solid #d5dadf;
171
+ }
172
+
173
+ [class*="wpr__section_"] ~ .elementor-control-type-number .elementor-control-input-wrapper,
174
+ [class*="wpr__section_"] ~ .elementor-control-type-repeater .elementor-control-type-number .elementor-control-input-wrapper {
175
+ max-width: 30% !important;
176
+ margin-left: auto !important;
177
+ }
178
+
179
+ [class*="wpr__section_"] ~ .elementor-control-type-select .elementor-control-input-wrapper,
180
+ [class*="wpr__section_"] ~ .elementor-control-type-repeater .elementor-control-type-select .elementor-control-input-wrapper {
181
+ width: auto !important;
182
+ min-width: 30% !important;
183
+ margin-left: auto !important;
184
+ }
185
+
186
+ .elementor-control-submit_preview_changes .elementor-control-input-wrapper {
187
+ text-align: center !important;
188
+ }
189
+
190
+ .elementor-control-query_manual_related,
191
+ .elementor-control-query_manual_current {
192
+ display: none !important;
193
+ }
194
+
195
+ /* Fix Select Inputs */
196
+ .elementor-control-button_hover_animation .elementor-control-input-wrapper,
197
+ .elementor-control-front_btn_animation .elementor-control-input-wrapper,
198
+ .elementor-control-back_btn_animation .elementor-control-input-wrapper,
199
+
200
+ .elementor-control-select_template .select2-selection,
201
+ .elementor-control-switcher_first_select_template .select2-selection,
202
+ .elementor-control-switcher_second_select_template .select2-selection,
203
+ .elementor-control-switcher_select_template .select2-selection,
204
+ .elementor-control-slider_select_template .select2-selection {
205
+ width: 135px !important;
206
+ }
207
+
208
+ .elementor-control-type-repeater .elementor-control-content > label {
209
+ display: none !important;
210
+ }
211
+
212
+
213
+ /*--------------------------------------------------------------
214
+ == Notification
215
+ --------------------------------------------------------------*/
216
+ #wpr-template-settings-notification {
217
+ position: fixed;
218
+ left: 40px;
219
+ bottom: 5px;
220
+ z-index: 9999;
221
+ padding: 13px 25px;
222
+ background: #fff;
223
+ color: #222;
224
+ -webkit-box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.3);
225
+ box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.3);
226
+ border-radius: 3px;
227
+ }
228
+
229
+ #wpr-template-settings-notification:before {
230
+ content: "";
231
+ position: absolute;
232
+ left: -6px;
233
+ bottom: 10px;
234
+ width: 0;
235
+ height: 0;
236
+ border-top: 6px solid transparent;
237
+ border-bottom: 6px solid transparent;
238
+ border-right-style: solid;
239
+ border-right-width: 6px;
240
+ border-right-color: #fff;
241
+ }
242
+
243
+ #wpr-template-settings-notification h4 {
244
+ margin-bottom: 10px;
245
+ }
246
+
247
+ #wpr-template-settings-notification h4 span {
248
+ font-size: 14px;
249
+ vertical-align: super;
250
+ color: #5f5f5f;
251
+ }
252
+
253
+ #wpr-template-settings-notification h4 i {
254
+ margin-right: 10px;
255
+ color: #3db050;
256
+ font-size: 24px;
257
+ }
258
+
259
+ #wpr-template-settings-notification p {
260
+ color: #666;
261
+ font-size: 12px;
262
+ line-height: 1.5;
263
+ }
264
+
265
+ #wpr-template-settings-notification > i {
266
+ position: absolute;
267
+ top: 7px;
268
+ right: 7px;
269
+ cursor: pointer;
270
+ color: #999;
271
+ }
272
+
273
+ .elementor-control-cf7_notice,
274
+ .elementor-control-wpforms_notice,
275
+ .elementor-control-ninja_forms_notice,
276
+ .elementor-control-caldera_notice {
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;
285
+ font-weight: normal;
286
+ color: #fff;
287
+ background: #6A65FF;
288
+ border-radius: 3px;
289
+ -webkit-box-shadow: 0 2px 7px 0 rgba(0,0,0,0.3);
290
+ box-shadow: 0 2px 7px 0 rgba(0,0,0,0.3);
291
+ letter-spacing: 0.3px;
292
+ -webkit-transition: all 0.2s ease-in;
293
+ -o-transition: all 0.2s ease-in;
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
+
316
+
317
+ /*--------------------------------------------------------------
318
+ == Modal Popup Editor
319
+ --------------------------------------------------------------*/
320
+ .elementor-editor-wpr-popups .elementor-control-document_settings,
321
+ .elementor-editor-wpr-popups .elementor-control-post_title,
322
+ .elementor-editor-wpr-popups .elementor-control-post_status {
323
+ display: none !important;
324
+ }
325
+
326
+
327
+ /*--------------------------------------------------------------
328
+ == Elementor Editor Popup
329
+ --------------------------------------------------------------*/
330
+ #wpr-template-editor-popup .dialog-widget-content {
331
+ width: 90vw;
332
+ height: 90vh;
333
+ }
334
+
335
+ #wpr-template-editor-popup .dialog-message {
336
+ padding: 0;
337
+ width: 100%;
338
+ height: 100%;
339
+ }
340
+
341
+ #wpr-template-editor-popup .dialog-close-button {
342
+ font-size: 24px;
343
+ color: #222;
344
+ }
345
+
346
+ #wpr-template-editor-popup .dialog-header {
347
+ display: none;
348
+ }
349
+
350
+ #wpr-template-editor-loading {
351
+ position: absolute;
352
+ top: 0;
353
+ left: 0;
354
+ width: 100%;
355
+ height: 100%;
356
+ background: #f1f3f5;
357
+ z-index: 9999;
358
+ -webkit-transform: translateZ(0);
359
+ transform: translateZ(0);
360
+ display: -webkit-box;
361
+ display: -ms-flexbox;
362
+ display: flex;
363
+ -webkit-box-pack: center;
364
+ -ms-flex-pack: center;
365
+ justify-content: center;
366
+ -webkit-box-align: center;
367
+ -ms-flex-align: center;
368
+ align-items: center;
369
+ }
370
+
371
+ #wpr-template-editor-loading .elementor-loader-wrapper {
372
+ top: auto;
373
+ left: auto;
374
+ -webkit-transform: none;
375
+ -ms-transform: none;
376
+ transform: none;
377
+ }
378
+
379
+ /* Disable Transitions on Responsive Preview */
380
+ #elementor-preview-responsive-wrapper {
381
+ -webkit-transition: none !important;
382
+ -o-transition: none !important;
383
+ transition: none !important;
384
+ }
385
+
386
+
387
+ /*--------------------------------------------------------------
388
+ == Magazine Grid Layout
389
+ --------------------------------------------------------------*/
390
+ .elementor-control-layout_select.elementor-control .elementor-control-field {
391
+ -webkit-box-orient: vertical !important;
392
+ -webkit-box-direction: normal !important;
393
+ -ms-flex-direction: column !important;
394
+ flex-direction: column !important;
395
+ -webkit-box-align: start;
396
+ -ms-flex-align: start;
397
+ align-items: flex-start;
398
+ }
399
+
400
+ .elementor-control-layout_select.elementor-control .elementor-control-input-wrapper {
401
+ display: -webkit-box;
402
+ display: -ms-flexbox;
403
+ display: flex;
404
+ width: 100% !important;
405
+ margin-top: 10px;
406
+ }
407
+
408
+ .elementor-control-layout_select.elementor-control .elementor-choices {
409
+ -ms-flex-wrap: wrap;
410
+ flex-wrap: wrap;
411
+ -webkit-box-align: stretch;
412
+ -ms-flex-align: stretch;
413
+ align-items: stretch;
414
+ width: 100% !important;
415
+ height: auto;
416
+ border: 1px solid #dfd5d5;
417
+ }
418
+
419
+ .elementor-control-layout_select.elementor-control .elementor-choices label {
420
+ width: 33.3%;
421
+ height: 50px;
422
+ background-size: 75%;
423
+ background-position: center center;
424
+ background-repeat: no-repeat;
425
+ }
426
+
427
+ .elementor-control-layout_select input[type="radio"]:checked + label {
428
+ border: 2px solid #D30C5C;
429
+ border-radius: 0 !important;
430
+ background-color: #ffffff;
431
+ }
432
+
433
+ .elementor-control-layout_select label:nth-child(2) {
434
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='15.2' class='st1' width='22.2' height='11.9'/%3E%3Crect x='25.6' y='4.9' class='st1' width='22.2' height='9.2'/%3E%3C/g%3E%3C/svg%3E");
435
+ }
436
+
437
+ .elementor-control-layout_select label:nth-child(4) {
438
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='25.6' y='4.9' class='st1' width='22.2' height='10.5'/%3E%3C/g%3E%3C/svg%3E");
439
+ }
440
+
441
+ .elementor-control-layout_select label:nth-child(6) {
442
+ background: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Cg%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='25.6' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
443
+ }
444
+
445
+ .elementor-control-layout_select label:nth-child(8) {
446
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3Crect x='37.2' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3C/g%3E%3C/svg%3E");
447
+ }
448
+
449
+ .elementor-control-layout_select label:nth-child(10) {
450
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='13.9' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='37.2' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3Crect x='2.3' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='2.3' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3C/g%3E%3C/svg%3E");
451
+ }
452
+
453
+ .elementor-control-layout_select label:nth-child(12) {
454
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='28.5' height='22.2'/%3E%3Crect x='31.8' y='12.9' class='st1' width='15.9' height='6.3'/%3E%3Crect x='31.8' y='4.9' class='st1' width='15.9' height='6.8'/%3E%3Crect x='31.8' y='20.3' class='st1' width='15.9' height='6.8'/%3E%3C/g%3E%3C/svg%3E");
455
+ }
456
+
457
+ .elementor-control-layout_select label:nth-child(14) {
458
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='13.9' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='2.2' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3C/g%3E%3C/svg%3E");
459
+ }
460
+
461
+ .elementor-control-layout_select label:nth-child(16) {
462
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='33.9' height='13.2'/%3E%3Crect x='2.2' y='19.3' class='st1' width='16.4' height='7.8'/%3E%3Crect x='19.7' y='19.3' class='st1' width='16.4' height='7.8'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='13.2'/%3E%3Crect x='37.2' y='19.3' class='st1' width='10.5' height='7.8'/%3E%3C/g%3E%3C/svg%3E");
463
+ }
464
+
465
+ .elementor-control-layout_select label:nth-child(18) {
466
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='12.1'/%3E%3Crect x='25.6' y='4.9' class='st1' width='22.2' height='12.1'/%3E%3Crect x='2.2' y='18.2' class='st1' width='14.4' height='8.9'/%3E%3Crect x='17.8' y='18.2' class='st1' width='14.4' height='8.9'/%3E%3Crect x='33.3' y='18.2' class='st1' width='14.4' height='8.9'/%3E%3C/g%3E%3C/svg%3E");
467
+ }
468
+
469
+ .elementor-control-layout_select label:nth-child(20) {
470
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3C/g%3E%3C/svg%3E");
471
+ }
472
+
473
+ .elementor-control-layout_select label:nth-child(22) {
474
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='14.5' height='22.2'/%3E%3Crect x='33.4' y='4.9' class='st1' width='14.4' height='22.2'/%3E%3Crect x='17.9' y='4.9' class='st1' width='14.4' height='22.2'/%3E%3C/g%3E%3C/svg%3E");
475
+ }
476
+
477
+ .elementor-control-layout_select label:nth-child(24) {
478
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='10.6' height='22.2'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3Crect x='25.6' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3Crect x='14' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3C/g%3E%3C/svg%3E");
479
+ }
480
+
481
+ /*--------------------------------------------------------------
482
+ == Widget Preview and Library buttons
483
+ --------------------------------------------------------------*/
484
+ .elementor-control-wpr_library_buttons {
485
+ height: 80px;
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;
507
+ padding: 10px 15px;
508
+ border-radius: 3px;
509
+ /*box-shadow: 1px 2px 5px 0 rgba(0,0,0,0.2);*/
510
+ white-space: nowrap;
511
+ overflow: hidden;
512
+ -o-text-overflow: ellipsis;
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
538
+ --------------------------------------------------------------*/
539
+ .elementor-control select option[value*=pro-] {
540
+ background: #f0f0f0;
541
+ }
542
+
543
+ .elementor-control[class*="pro_notice"] {
544
+ padding: 5px 0 15px 0 !important;
545
+ }
546
+
547
+ .wpr-pro-notice {
548
+ padding: 20px;
549
+ border-top: 1px solid #e6e9ec;
550
+ border-bottom: 1px solid #e6e9ec;
551
+ background-color: #f2fbff;
552
+ line-height: 1.4;
553
+ text-align: center;
554
+ }
555
+
556
+ .wpr-pro-notice-video {
557
+ display: block;
558
+ margin-top: 7px;
559
+ line-height: 20px;
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,
569
+ .elementor-control-element_align_pro_notice + div {
570
+ padding-top: 15px;
571
+ }
572
+
573
+ .elementor-control-layout_select .elementor-choices label {
574
+ position: relative;
575
+ }
576
+
577
+ .elementor-control-layout_select .elementor-choices label:nth-child(2):after,
578
+ .elementor-control-layout_select .elementor-choices label:nth-child(4):after,
579
+ .elementor-control-layout_select .elementor-choices label:nth-child(6):after,
580
+ .elementor-control-layout_select .elementor-choices label:nth-child(8):after,
581
+ .elementor-control-layout_select .elementor-choices label:nth-child(10):after,
582
+ .elementor-control-layout_select .elementor-choices label:nth-child(12):after {
583
+ content: ' ';
584
+ display: block;
585
+ width: 100%;
586
+ height: 100%;
587
+ position: absolute;
588
+ top: 0;
589
+ left: 0;
590
+ background: rgba(0,0,0,0.2);
591
+ }
592
+
593
+ /* Adjustments */
594
+ .elementor-control.elementor-control-element_align_pro_notice,
595
+ .elementor-control.elementor-control-search_pro_notice,
596
+ .elementor-control.elementor-control-layout_select_pro_notice,
597
+ .elementor-control.elementor-control-grid_columns_pro_notice,
598
+ .elementor-control.elementor-control-slider_content_type_pro_notice,
599
+ .elementor-control.elementor-control-slider_repeater_pro_notice,
600
+ .elementor-control.elementor-control-slider_dots_layout_pro_notice,
601
+ .elementor-control.elementor-control-testimonial_repeater_pro_notice,
602
+ .elementor-control.elementor-control-testimonial_icon_pro_notice,
603
+ .elementor-control.elementor-control-menu_layout_pro_notice,
604
+ .elementor-control.elementor-control-menu_items_submenu_entrance_pro_notice,
605
+ .elementor-control.elementor-control-switcher_label_style_pro_notice,
606
+ .elementor-control.elementor-control-countdown_type_pro_notice,
607
+ .elementor-control.elementor-control-layout_pro_notice,
608
+ .elementor-control.elementor-control-anim_timing_pro_notice,
609
+ .elementor-control.elementor-control-tab_content_type_pro_notice,
610
+ .elementor-control.elementor-control-tabs_repeater_pro_notice,
611
+ .elementor-control.elementor-control-tabs_align_pro_notice,
612
+ .elementor-control.elementor-control-front_trigger_pro_notice,
613
+ .elementor-control.elementor-control-back_link_type_pro_notice,
614
+ .elementor-control.elementor-control-box_anim_timing_pro_notice,
615
+ .elementor-control.elementor-control-image_style_pro_notice,
616
+ .elementor-control.elementor-control-image_animation_timing_pro_notice,
617
+ .elementor-control.elementor-control-label_display_pro_notice,
618
+ .elementor-control.elementor-control-post_type_pro_notice,
619
+ .elementor-control.elementor-control-type_select_pro_notice,
620
+ .elementor-control.elementor-control-icon_style_pro_notice,
621
+ .elementor-control.elementor-control-dual_button_pro_notice,
622
+ .elementor-control.elementor-control-team_member_pro_notice,
623
+ .elementor-control.elementor-control-price_list_pro_notice,
624
+ .elementor-control.elementor-control-business_hours_pro_notice,
625
+ .elementor-control.elementor-control-sharing_columns_pro_notice,
626
+ .elementor-control.elementor-control-popup_trigger_pro_notice,
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
+ .elementor-control.elementor-control-mini_cart_style_pro_notice {
635
+ padding-bottom: 0 !important;
636
+ }
637
+
638
+ .elementor-control-search_pro_notice .wpr-pro-notice,
639
+ .elementor-control-grid_columns_pro_notice .wpr-pro-notice,
640
+ .elementor-control-slider_content_type_pro_notice .wpr-pro-notice,
641
+ .elementor-control-slider_repeater_pro_notice .wpr-pro-notice,
642
+ .elementor-control-slider_dots_layout_pro_notice .wpr-pro-notice,
643
+ .elementor-control-testimonial_repeater_pro_notice .wpr-pro-notice,
644
+ .elementor-control-testimonial_icon_pro_notice .wpr-pro-notice,
645
+ .elementor-control-menu_layout_pro_notice .wpr-pro-notice,
646
+ .elementor-control-menu_items_submenu_entrance_pro_notice .wpr-pro-notice,
647
+ .elementor-control-switcher_label_style_pro_notice .wpr-pro-notice,
648
+ .elementor-control-countdown_type_pro_notice .wpr-pro-notice,
649
+ .elementor-control-layout_pro_notice .wpr-pro-notice,
650
+ .elementor-control-anim_timing_pro_notice .wpr-pro-notice,
651
+ .elementor-control-tab_content_type_pro_notice .wpr-pro-notice,
652
+ .elementor-control-tabs_repeater_pro_notice .wpr-pro-notice,
653
+ .elementor-control-tabs_align_pro_notice .wpr-pro-notice,
654
+ .elementor-control-front_trigger_pro_notice .wpr-pro-notice,
655
+ .elementor-control-back_link_type_pro_notice .wpr-pro-notice,
656
+ .elementor-control-box_anim_timing_pro_notice .wpr-pro-notice,
657
+ .elementor-control-image_style_pro_notice .wpr-pro-notice,
658
+ .elementor-control-image_animation_timing_pro_notice .wpr-pro-notice,
659
+ .elementor-control-label_display_pro_notice .wpr-pro-notice,
660
+ .elementor-control-post_type_pro_notice .wpr-pro-notice,
661
+ .elementor-control-type_select_pro_notice .wpr-pro-notice,
662
+ .elementor-control-icon_style_pro_notice .wpr-pro-notice,
663
+ .elementor-control-dual_button_pro_notice .wpr-pro-notice,
664
+ .elementor-control-team_member_pro_notice .wpr-pro-notice,
665
+ .elementor-control-price_list_pro_notice .wpr-pro-notice,
666
+ .elementor-control-business_hours_pro_notice .wpr-pro-notice,
667
+ .elementor-control-sharing_columns_pro_notice .wpr-pro-notice,
668
+ .elementor-control-popup_trigger_pro_notice .wpr-pro-notice,
669
+ .elementor-control-popup_show_again_delay_pro_notice .wpr-pro-notice,
670
+ .elementor-control-group_popup_settings_pro_notice .wpr-pro-notice,
671
+ .elementor-control-mini_cart_style_pro_notice .wpr-pro-notice {
672
+ border-bottom: none !important;
673
+ }
674
+
675
+ /* Both */
676
+ .elementor-control.elementor-control-pagination_type_pro_notice,
677
+ .elementor-control.elementor-control-tooltip_trigger_pro_notice {
678
+ padding-top: 0 !important;
679
+ padding-bottom: 0 !important;
680
+ }
681
+
682
+ .elementor-control-pagination_type_pro_notice .wpr-pro-notice {
683
+ border-top: none !important;
684
+ border-bottom: none !important;
685
+ }
686
+
687
+ .elementor-control-pro_features_section .elementor-section-toggle,
688
+ .elementor-control-pro_features_section .elementor-section-title {
689
+ color: #f54;
690
+ }
691
+
692
+ .elementor-control-pro_features_section .elementor-section-title {
693
+ line-height: 20px;
694
+ }
695
+ .elementor-control-pro_features_section .elementor-section-title .dashicons {
696
+ line-height: 20px;
697
+ font-size: 13px;
698
+ }
699
+
700
+ .wpr-pro-features-list {
701
+ text-align: center;
702
+ }
703
+
704
+ .wpr-pro-features-list ul {
705
+ text-align: left;
706
+ }
707
+
708
+ .wpr-pro-features-list ul li {
709
+ position: relative;
710
+ line-height: 22px;
711
+ padding-left: 20px;
712
+ }
713
+
714
+ .wpr-pro-features-list ul li::before {
715
+ content: '.';
716
+ font-size: 38px;
717
+ position: absolute;
718
+ top: -11px;
719
+ left: 0;
720
+ }
721
+
722
+ .wpr-pro-features-list ul + a {
723
+ display: inline-block;
724
+ background-color: #f54;
725
+ color: #fff;
726
+ margin: 15px 15px 10px 0;
727
+ padding: 7px 12px;
728
+ border-radius: 3px;
729
+ }
730
+
731
+ .wpr-pro-features-list ul + a:hover {
732
+ color: #fff;
733
+ }
734
+
735
+ /* Video Tutorial Link */
736
+ .elementor-control[class*="video_tutorial"] {
737
+ padding-top: 0 !important;
738
+ padding-bottom: 5px !important;
739
+ }
740
+
741
+ .elementor-control[class*="video_tutorial"] a {
742
+ line-height: 16px;
743
+ font-size: 12px;
744
+ }
745
+
746
+ .elementor-control[class*="video_tutorial"] a .dashicons {
747
+ font-size: 16px;
748
+ }
749
+
750
+
751
+ /*--------------------------------------------------------------
752
+ == Elementor Search Notice
753
+ --------------------------------------------------------------*/
754
+ .wpr-elementor-search-notice {
755
+ background: #fff;
756
+ font-size: 13px;
757
+ padding: 20px;
758
+ line-height: 18px;
759
+ margin: 10px;
760
+ border-left: 3px solid #71d7f7;
761
+ -webkit-box-shadow: 0 1px 4px 0 rgb(0 0 0 / 7%);
762
+ box-shadow: 0 1px 4px 0 rgb(0 0 0 / 7%);
763
  }
assets/css/editor.min.css CHANGED
@@ -1,865 +1,865 @@
1
- /*--------------------------------------------------------------
2
- == General
3
- --------------------------------------------------------------*/
4
- .wpr-elementor-hidden-control {
5
- overflow: hidden;
6
- width: 0 !important;
7
- height: 0 !important;
8
- padding: 0 !important;
9
- margin: 0 !important;
10
- visibility: hidden !important;
11
- opacity: 0 !important;
12
- }
13
-
14
-
15
- /*--------------------------------------------------------------
16
- == WPR Widgets
17
- --------------------------------------------------------------*/
18
- .elementor-panel .wpr-icon:after {
19
- content: 'R';
20
- display: block;
21
- position: absolute;
22
- top: 3px;
23
- right: 3px;
24
- font-family: Roboto,Arial,Helvetica,Verdana,sans-serif;
25
- font-size: 10px;
26
- font-weight: bold;
27
- color: #ffffff;
28
- background-image: -o-linear-gradient(#6A4BFF, #7E94FE);
29
- background-image: -webkit-gradient(linear, left top, left bottom, from(#6A4BFF), to(#7E94FE));
30
- background-image: linear-gradient(#6A4BFF, #7E94FE);
31
- -webkit-box-shadow: 0 0 2px 2px #b8c7ff;
32
- box-shadow: 0 0 2px 2px #b8c7ff;
33
- width: 19px;
34
- height: 19px;
35
- line-height: 19px;
36
- border-radius: 15px;
37
- margin: 3px;
38
- }
39
-
40
- .elementor-panel .elementor-element .icon {
41
- position: relative !important;
42
- }
43
-
44
- .elementor-element--promotion .wpr-icon:after {
45
- top: 22px;
46
- right: -1px;
47
- opacity: 0.7;
48
- }
49
-
50
- #elementor-element--promotion__dialog .dialog-button {
51
- text-align: center;
52
- }
53
-
54
- .elementor-control-type-section[class*="elementor-control-wpr_section_"]:after {
55
- content: 'R';
56
- display: block;
57
- position: absolute;
58
- top: 7px;
59
- right: 7px;
60
- font-family: Roboto,Arial,Helvetica,Verdana,sans-serif;
61
- font-size: 10px;
62
- font-weight: bold;
63
- color: #ffffff;
64
- background-image: -o-linear-gradient(#6A4BFF, #7E94FE);
65
- background-image: -webkit-gradient(linear, left top, left bottom, from(#6A4BFF), to(#7E94FE));
66
- background-image: linear-gradient(#6A4BFF, #7E94FE);
67
- -webkit-box-shadow: 0 0 2px 2px #b8c7ff;
68
- box-shadow: 0 0 2px 2px #b8c7ff;
69
- width: 19px;
70
- height: 19px;
71
- line-height: 19px;
72
- border-radius: 15px;
73
- margin: 3px;
74
- text-align: center;
75
- }
76
-
77
- /*--------------------------------------------------------------
78
- == Adjustments
79
- --------------------------------------------------------------*/
80
- .elementor-control-element_select,
81
- .elementor-control-element_align_hr,
82
- .elementor-control-element_read_more_text,
83
- .elementor-control-element_tax_sep,
84
- .elementor-control-element_sharing_icon_6,
85
- .elementor-control-element_sharing_trigger_direction,
86
- .elementor-control-element_sharing_icon_display,
87
- .elementor-control-element_sharing_tooltip,
88
- .elementor-control-element_custom_field_wrapper_html,
89
- .elementor-control-slider_item_bg_size,
90
- .elementor-control-element_addcart_variable_txt,
91
- .elementor-control-type {
92
- margin-bottom: 15px;
93
- }
94
-
95
- .elementor-control-slider_content_bg_color,
96
- .elementor-control-slider_nav_border_border,
97
- .elementor-control-slider_nav_border_radius,
98
- .elementor-control-scroll_btn_vr,
99
- .elementor-control-pagination_load_more_text,
100
- .elementor-control-pagination_finish_text,
101
- .elementor-control-pagination_prev_next,
102
- .elementor-control-author_transition_duration,
103
- .elementor-control-comments_transition_duration,
104
- .elementor-control-likes_transition_duration,
105
- .elementor-control-sharing_transition_duration,
106
- .elementor-control-lightbox_transition_duration,
107
- .elementor-control-custom_field1_transition_duration,
108
- .elementor-control-custom_field2_transition_duration,
109
- .elementor-control-custom_field3_transition_duration,
110
- .elementor-control-custom_field4_transition_duration,
111
- .elementor-control-filters_transition_duration,
112
- .elementor-control-pagination_transition_duration,
113
- .elementor-control-element_extra_text_pos,
114
- .elementor-control-element_custom_field_wrapper,
115
- .elementor-control-overlay_post_link,
116
- .elementor-control-read_more_animation_height,
117
- .elementor-control-archive_link_transition_duration,
118
- .elementor-control-post_info_tax_select,
119
- .elementor-control-post_info_link_wrap,
120
- .elementor-control-post_info_modified_time,
121
- .elementor-control-tabs_sharing_custom_colors,
122
- .elementor-control-post_info_show_avatar,
123
- .elementor-control-post_info_cf,
124
- .elementor-control-pricing_items .elementor-control-price,
125
- .elementor-control-pricing_items .elementor-control-feature_text,
126
- .elementor-control-pricing_items .elementor-control-btn_text,
127
- .elementor-control-divider_style,
128
- .elementor-control-filters_pointer,
129
- .elementor-control-title_transition_duration,
130
- .elementor-control-tax1_transition_duration,
131
- .elementor-control-tax2_transition_duration,
132
- .elementor-control-filters_transition_duration,
133
- .elementor-control-pagination_older_text,
134
- .elementor-control-tooltip_position,
135
- .elementor-control-post_info_comments_text_1 {
136
- padding-top: 15px !important;
137
- }
138
-
139
- .elementor-control-title_pointer_animation + .elementor-control-title_transition_duration,
140
- .elementor-control-tax1_pointer_animation + .elementor-control-tax1_transition_duration,
141
- .elementor-control-tax2_pointer_animation + .elementor-control-tax2_transition_duration,
142
- .elementor-control-filters_pointer_animation + .elementor-control-filters_transition_duration {
143
- padding-top: 0 !important;
144
- }
145
-
146
- .elementor-control-pagination_load_more_text {
147
- padding-bottom: 0 !important;
148
- }
149
-
150
- .elementor-control-filters_transition_duration {
151
- padding-top: 0 !important;
152
- }
153
-
154
- .elementor-control-animation_divider,
155
- .elementor-control-overlay_divider,
156
- .elementor-control-slider_item_btn_1_divider,
157
- .elementor-control-slider_item_btn_2_divider,
158
- .elementor-control-slider_btn_typography_1_divider,
159
- .elementor-control-slider_btn_box_shadow_1_divider,
160
- .elementor-control-slider_btn_typography_2_divider,
161
- .elementor-control-slider_btn_box_shadow_2_divider,
162
- .elementor-control-testimonial_title_divider,
163
- .elementor-control-social_media_divider,
164
- .elementor-control-social_divider_1,
165
- .elementor-control-social_divider_2,
166
- .elementor-control-social_divider_3,
167
- .elementor-control-social_divider_4,
168
- .elementor-control-social_divider_5,
169
- .elementor-control-custom_field_wrapper_html_divider1,
170
- .elementor-control-custom_field_wrapper_html_divider2,
171
- .elementor-control-lightbox_shadow_divider {
172
- padding: 0 !important;
173
- }
174
-
175
- .elementor-control-custom_field_wrapper_html_divider1 hr,
176
- .elementor-control-lightbox_shadow_divider hr {
177
- height: 1px !important;
178
- }
179
-
180
- .elementor-control-element_show_on {
181
- padding-top: 15px !important;
182
- border-top: 1px solid #d5dadf;
183
- }
184
-
185
- [class*="wpr__section_"] ~ .elementor-control-type-number .elementor-control-input-wrapper,
186
- [class*="wpr__section_"] ~ .elementor-control-type-repeater .elementor-control-type-number .elementor-control-input-wrapper {
187
- max-width: 30% !important;
188
- margin-left: auto !important;
189
- }
190
-
191
- [class*="wpr__section_"] ~ .elementor-control-type-select .elementor-control-input-wrapper,
192
- [class*="wpr__section_"] ~ .elementor-control-type-repeater .elementor-control-type-select .elementor-control-input-wrapper {
193
- width: auto !important;
194
- min-width: 30% !important;
195
- margin-left: auto !important;
196
- }
197
-
198
- .elementor-control-submit_preview_changes .elementor-control-input-wrapper {
199
- text-align: center !important;
200
- }
201
-
202
- .elementor-control-query_manual_related,
203
- .elementor-control-query_manual_current {
204
- display: none !important;
205
- }
206
-
207
- /* Fix Select Inputs */
208
- .elementor-control-button_hover_animation .elementor-control-input-wrapper,
209
- .elementor-control-front_btn_animation .elementor-control-input-wrapper,
210
- .elementor-control-back_btn_animation .elementor-control-input-wrapper,
211
-
212
- .elementor-control-select_template .select2-selection,
213
- .elementor-control-switcher_first_select_template .select2-selection,
214
- .elementor-control-switcher_second_select_template .select2-selection,
215
- .elementor-control-switcher_select_template .select2-selection,
216
- .elementor-control-slider_select_template .select2-selection {
217
- width: 135px !important;
218
- }
219
-
220
- .elementor-control-type-repeater .elementor-control-content > label {
221
- display: none !important;
222
- }
223
-
224
-
225
- /*--------------------------------------------------------------
226
- == Notification
227
- --------------------------------------------------------------*/
228
- #wpr-template-settings-notification {
229
- position: fixed;
230
- left: 40px;
231
- bottom: 5px;
232
- z-index: 9999;
233
- padding: 13px 25px;
234
- background: #fff;
235
- color: #222;
236
- -webkit-box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.3);
237
- box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.3);
238
- border-radius: 3px;
239
- }
240
-
241
- #wpr-template-settings-notification:before {
242
- content: "";
243
- position: absolute;
244
- left: -6px;
245
- bottom: 10px;
246
- width: 0;
247
- height: 0;
248
- border-top: 6px solid transparent;
249
- border-bottom: 6px solid transparent;
250
- border-right-style: solid;
251
- border-right-width: 6px;
252
- border-right-color: #fff;
253
- }
254
-
255
- #wpr-template-settings-notification h4 {
256
- margin-bottom: 10px;
257
- }
258
-
259
- #wpr-template-settings-notification h4 span {
260
- font-size: 14px;
261
- vertical-align: super;
262
- color: #5f5f5f;
263
- }
264
-
265
- #wpr-template-settings-notification h4 i {
266
- margin-right: 10px;
267
- color: #3db050;
268
- font-size: 24px;
269
- }
270
-
271
- #wpr-template-settings-notification p {
272
- color: #666;
273
- font-size: 12px;
274
- line-height: 1.5;
275
- }
276
-
277
- #wpr-template-settings-notification > i {
278
- position: absolute;
279
- top: 7px;
280
- right: 7px;
281
- cursor: pointer;
282
- color: #999;
283
- }
284
-
285
- .elementor-control-cf7_notice,
286
- .elementor-control-wpforms_notice,
287
- .elementor-control-ninja_forms_notice,
288
- .elementor-control-caldera_notice {
289
- color: red;
290
- }
291
-
292
- /* Help Button - select with referrals - [href^="https://royal-elementor-addons.com/contact/"] */
293
- #elementor-panel__editor__help__link[href^="https://wordpress.org/support/plugin/royal-elementor-addons/"] {
294
- display: inline-block;
295
- padding: 12px 35px;
296
- font-size: 13px;
297
- font-weight: normal;
298
- color: #fff;
299
- background: #6A65FF;
300
- border-radius: 3px;
301
- -webkit-box-shadow: 0 2px 7px 0 rgba(0,0,0,0.3);
302
- box-shadow: 0 2px 7px 0 rgba(0,0,0,0.3);
303
- letter-spacing: 0.3px;
304
- -webkit-transition: all 0.2s ease-in;
305
- -o-transition: all 0.2s ease-in;
306
- transition: all 0.2s ease-in;
307
- }
308
-
309
- #elementor-panel__editor__help__link[href^="https://wordpress.org/support/plugin/royal-elementor-addons/"]:hover {
310
- color: #fff;
311
- background: #6A4BFF;
312
- }
313
-
314
- #elementor-panel__editor__help__link[href^="https://wordpress.org/support/plugin/royal-elementor-addons/"] i {
315
- color: #fff;
316
- font-size: 14px;
317
- vertical-align: top;
318
- }
319
-
320
- #elementor-panel__editor__help__link[href^="https://wordpress.org/support/plugin/royal-elementor-addons/"]:hover i {
321
- color: #fff;
322
- }
323
-
324
- #elementor-panel__editor__help__link[href^="https://wordpress.org/support/plugin/royal-elementor-addons/"]:hover i:before {
325
- content: '\e942' !important;
326
- }
327
-
328
- .elementor-control-posts_slider_notice .elementor-control-raw-html {
329
- font-style: normal !important;
330
- }
331
-
332
-
333
- /*--------------------------------------------------------------
334
- == Modal Popup Editor
335
- --------------------------------------------------------------*/
336
- .elementor-editor-wpr-popups .elementor-control-document_settings,
337
- .elementor-editor-wpr-popups .elementor-control-post_title,
338
- .elementor-editor-wpr-popups .elementor-control-post_status {
339
- display: none !important;
340
- }
341
-
342
-
343
- /*--------------------------------------------------------------
344
- == Elementor Editor Popup
345
- --------------------------------------------------------------*/
346
- #wpr-template-editor-popup .dialog-widget-content {
347
- width: 90vw;
348
- height: 90vh;
349
- }
350
-
351
- #wpr-template-editor-popup .dialog-message {
352
- padding: 0;
353
- width: 100%;
354
- height: 100%;
355
- }
356
-
357
- #wpr-template-editor-popup .dialog-close-button {
358
- font-size: 24px;
359
- color: #222;
360
- }
361
-
362
- #wpr-template-editor-popup .dialog-header {
363
- display: none;
364
- }
365
-
366
- #wpr-template-editor-loading {
367
- position: absolute;
368
- top: 0;
369
- left: 0;
370
- width: 100%;
371
- height: 100%;
372
- background: #f1f3f5;
373
- z-index: 9999;
374
- -webkit-transform: translateZ(0);
375
- transform: translateZ(0);
376
- display: -webkit-box;
377
- display: -ms-flexbox;
378
- display: flex;
379
- -webkit-box-pack: center;
380
- -ms-flex-pack: center;
381
- justify-content: center;
382
- -webkit-box-align: center;
383
- -ms-flex-align: center;
384
- align-items: center;
385
- }
386
-
387
- #wpr-template-editor-loading .elementor-loader-wrapper {
388
- top: auto;
389
- left: auto;
390
- -webkit-transform: none;
391
- -ms-transform: none;
392
- transform: none;
393
- }
394
-
395
- /* Disable Transitions on Responsive Preview */
396
- #elementor-preview-responsive-wrapper {
397
- -webkit-transition: none !important;
398
- -o-transition: none !important;
399
- transition: none !important;
400
- }
401
-
402
-
403
- /*--------------------------------------------------------------
404
- == Magazine Grid Layout
405
- --------------------------------------------------------------*/
406
- .elementor-control-layout_select.elementor-control .elementor-control-field {
407
- -webkit-box-orient: vertical !important;
408
- -webkit-box-direction: normal !important;
409
- -ms-flex-direction: column !important;
410
- flex-direction: column !important;
411
- -webkit-box-align: start;
412
- -ms-flex-align: start;
413
- align-items: flex-start;
414
- }
415
-
416
- .elementor-control-layout_select.elementor-control .elementor-control-input-wrapper {
417
- display: -webkit-box;
418
- display: -ms-flexbox;
419
- display: flex;
420
- width: 100% !important;
421
- margin-top: 10px;
422
- }
423
-
424
- .elementor-control-layout_select.elementor-control .elementor-choices {
425
- -ms-flex-wrap: wrap;
426
- flex-wrap: wrap;
427
- -webkit-box-align: stretch;
428
- -ms-flex-align: stretch;
429
- align-items: stretch;
430
- width: 100% !important;
431
- height: auto;
432
- border: 1px solid #dfd5d5;
433
- }
434
-
435
- .elementor-control-layout_select.elementor-control .elementor-choices label {
436
- width: 33.3%;
437
- height: 50px;
438
- background-size: 75%;
439
- background-position: center center;
440
- background-repeat: no-repeat;
441
- }
442
-
443
- .elementor-control-layout_select input[type="radio"]:checked + label {
444
- border: 2px solid #D30C5C;
445
- border-radius: 0 !important;
446
- background-color: #ffffff;
447
- }
448
-
449
- .elementor-control-layout_select label:nth-child(2) {
450
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='15.2' class='st1' width='22.2' height='11.9'/%3E%3Crect x='25.6' y='4.9' class='st1' width='22.2' height='9.2'/%3E%3C/g%3E%3C/svg%3E");
451
- }
452
-
453
- .elementor-control-layout_select label:nth-child(4) {
454
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='25.6' y='4.9' class='st1' width='22.2' height='10.5'/%3E%3C/g%3E%3C/svg%3E");
455
- }
456
-
457
- .elementor-control-layout_select label:nth-child(6) {
458
- background: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Cg%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='25.6' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
459
- }
460
-
461
- .elementor-control-layout_select label:nth-child(8) {
462
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3Crect x='37.2' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3C/g%3E%3C/svg%3E");
463
- }
464
-
465
- .elementor-control-layout_select label:nth-child(10) {
466
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='13.9' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='37.2' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3Crect x='2.3' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='2.3' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3C/g%3E%3C/svg%3E");
467
- }
468
-
469
- .elementor-control-layout_select label:nth-child(12) {
470
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='28.5' height='22.2'/%3E%3Crect x='31.8' y='12.9' class='st1' width='15.9' height='6.3'/%3E%3Crect x='31.8' y='4.9' class='st1' width='15.9' height='6.8'/%3E%3Crect x='31.8' y='20.3' class='st1' width='15.9' height='6.8'/%3E%3C/g%3E%3C/svg%3E");
471
- }
472
-
473
- .elementor-control-layout_select label:nth-child(14) {
474
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='13.9' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='2.2' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3C/g%3E%3C/svg%3E");
475
- }
476
-
477
- .elementor-control-layout_select label:nth-child(16) {
478
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='33.9' height='13.2'/%3E%3Crect x='2.2' y='19.3' class='st1' width='16.4' height='7.8'/%3E%3Crect x='19.7' y='19.3' class='st1' width='16.4' height='7.8'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='13.2'/%3E%3Crect x='37.2' y='19.3' class='st1' width='10.5' height='7.8'/%3E%3C/g%3E%3C/svg%3E");
479
- }
480
-
481
- .elementor-control-layout_select label:nth-child(18) {
482
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='12.1'/%3E%3Crect x='25.6' y='4.9' class='st1' width='22.2' height='12.1'/%3E%3Crect x='2.2' y='18.2' class='st1' width='14.4' height='8.9'/%3E%3Crect x='17.8' y='18.2' class='st1' width='14.4' height='8.9'/%3E%3Crect x='33.3' y='18.2' class='st1' width='14.4' height='8.9'/%3E%3C/g%3E%3C/svg%3E");
483
- }
484
-
485
- .elementor-control-layout_select label:nth-child(20) {
486
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3C/g%3E%3C/svg%3E");
487
- }
488
-
489
- .elementor-control-layout_select label:nth-child(22) {
490
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='14.5' height='22.2'/%3E%3Crect x='33.4' y='4.9' class='st1' width='14.4' height='22.2'/%3E%3Crect x='17.9' y='4.9' class='st1' width='14.4' height='22.2'/%3E%3C/g%3E%3C/svg%3E");
491
- }
492
-
493
- .elementor-control-layout_select label:nth-child(24) {
494
- background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='10.6' height='22.2'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3Crect x='25.6' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3Crect x='14' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3C/g%3E%3C/svg%3E");
495
- }
496
-
497
- /*--------------------------------------------------------------
498
- == Widget Preview and Library buttons
499
- --------------------------------------------------------------*/
500
- .elementor-control-wpr_library_buttons {
501
- height: 60px;
502
- padding: 0;
503
- }
504
-
505
- .elementor-control-wpr_library_buttons .elementor-control-raw-html {
506
- padding: 0 10px 10px 10px;
507
- border-bottom: 1px solid #efefef;
508
- }
509
-
510
- .elementor-control-wpr_library_buttons .elementor-control-raw-html div {
511
- display: -webkit-box;
512
- display: -ms-flexbox;
513
- display: flex;
514
- -webkit-box-pack: center;
515
- -ms-flex-pack: center;
516
- justify-content: center;
517
- }
518
-
519
- .elementor-control-wpr_library_buttons .elementor-control-raw-html div a {
520
- -webkit-box-flex: 1;
521
- -ms-flex-positive: 1;
522
- flex-grow: 1;
523
- padding: 10px 15px;
524
- border-radius: 3px;
525
- /*box-shadow: 1px 2px 5px 0 rgba(0,0,0,0.2);*/
526
- white-space: nowrap;
527
- overflow: hidden;
528
- -o-text-overflow: ellipsis;
529
- text-overflow: ellipsis;
530
- text-align: center;
531
- }
532
- .elementor-control-wpr_library_buttons .elementor-control-raw-html div a:first-child {
533
- background-color: #1CB4E4;
534
- color: #fff;
535
- margin-right: 3px;
536
- }
537
- .elementor-control-wpr_library_buttons .elementor-control-raw-html div a:last-child {
538
- margin-left: 3px;
539
- background-color: #6A65FF;
540
- color: #fff;
541
- }
542
-
543
- .elementor-control-wpr_library_buttons .elementor-control-raw-html > a {
544
- display: block;
545
- margin-top: 10px;
546
- line-height: 20px;
547
- color: #777;
548
- border: none !important;
549
- }
550
-
551
- .elementor-section-title > a {
552
- top: 10px;
553
- right: 20px;
554
- position: absolute;
555
- line-height: 20px;
556
- }
557
-
558
- .elementor-section-title > a:hover {
559
- border-color: transparent;
560
- }
561
-
562
- /*--------------------------------------------------------------
563
- == Apply Changes Button
564
- --------------------------------------------------------------*/
565
- .editor-wpr-preview-update {
566
- margin: 0;
567
- display: -webkit-box;
568
- display: -ms-flexbox;
569
- display: flex;
570
- -webkit-box-pack: justify;
571
- -ms-flex-pack: justify;
572
- justify-content: space-between;
573
- }
574
-
575
- .editor-wpr-preview-update button {
576
- font-size: 13px;
577
- padding: 5px 10px;
578
- }
579
-
580
-
581
- /*--------------------------------------------------------------
582
- == Free/Pro Options
583
- --------------------------------------------------------------*/
584
- .elementor-control select option[value*=pro-] {
585
- background: #f0f0f0;
586
- }
587
-
588
- .elementor-control[class*="pro_notice"] {
589
- padding: 5px 0 15px 0 !important;
590
- }
591
-
592
- .wpr-pro-notice {
593
- padding: 20px;
594
- border-top: 1px solid #e6e9ec;
595
- border-bottom: 1px solid #e6e9ec;
596
- background-color: #f2fbff;
597
- line-height: 1.4;
598
- text-align: center;
599
- }
600
-
601
- .wpr-pro-notice-video {
602
- display: block;
603
- margin-top: 7px;
604
- line-height: 20px;
605
- border: none !important;
606
- }
607
-
608
- #elementor-controls .elementor-control-slider_section_pro_notice {
609
- margin-top: -16px;
610
- padding-bottom: 0 !important;
611
- }
612
-
613
- .elementor-control-layout_select_pro_notice + div,
614
- .elementor-control-element_align_pro_notice + div {
615
- padding-top: 15px;
616
- }
617
-
618
- .elementor-control-layout_select .elementor-choices label {
619
- position: relative;
620
- }
621
-
622
- .elementor-control-layout_select .elementor-choices label:nth-child(2):after,
623
- .elementor-control-layout_select .elementor-choices label:nth-child(4):after,
624
- .elementor-control-layout_select .elementor-choices label:nth-child(6):after,
625
- .elementor-control-layout_select .elementor-choices label:nth-child(8):after,
626
- .elementor-control-layout_select .elementor-choices label:nth-child(10):after,
627
- .elementor-control-layout_select .elementor-choices label:nth-child(12):after {
628
- content: ' ';
629
- display: block;
630
- width: 100%;
631
- height: 100%;
632
- position: absolute;
633
- top: 0;
634
- left: 0;
635
- background: rgba(0,0,0,0.2);
636
- }
637
-
638
- /* Adjustments */
639
- .elementor-control.elementor-control-element_align_pro_notice,
640
- .elementor-control.elementor-control-search_pro_notice,
641
- .elementor-control.elementor-control-layout_select_pro_notice,
642
- .elementor-control.elementor-control-grid_columns_pro_notice,
643
- .elementor-control.elementor-control-slider_content_type_pro_notice,
644
- .elementor-control.elementor-control-slider_repeater_pro_notice,
645
- .elementor-control.elementor-control-slider_dots_layout_pro_notice,
646
- .elementor-control.elementor-control-testimonial_repeater_pro_notice,
647
- .elementor-control.elementor-control-testimonial_icon_pro_notice,
648
- .elementor-control.elementor-control-menu_layout_pro_notice,
649
- .elementor-control.elementor-control-menu_items_submenu_entrance_pro_notice,
650
- .elementor-control.elementor-control-switcher_label_style_pro_notice,
651
- .elementor-control.elementor-control-countdown_type_pro_notice,
652
- .elementor-control.elementor-control-layout_pro_notice,
653
- .elementor-control.elementor-control-anim_timing_pro_notice,
654
- .elementor-control.elementor-control-tab_content_type_pro_notice,
655
- .elementor-control.elementor-control-tabs_repeater_pro_notice,
656
- .elementor-control.elementor-control-tabs_align_pro_notice,
657
- .elementor-control.elementor-control-front_trigger_pro_notice,
658
- .elementor-control.elementor-control-back_link_type_pro_notice,
659
- .elementor-control.elementor-control-box_anim_timing_pro_notice,
660
- .elementor-control.elementor-control-image_style_pro_notice,
661
- .elementor-control.elementor-control-image_animation_timing_pro_notice,
662
- .elementor-control.elementor-control-label_display_pro_notice,
663
- .elementor-control.elementor-control-post_type_pro_notice,
664
- .elementor-control.elementor-control-type_select_pro_notice,
665
- .elementor-control.elementor-control-icon_style_pro_notice,
666
- .elementor-control.elementor-control-dual_button_pro_notice,
667
- .elementor-control.elementor-control-team_member_pro_notice,
668
- .elementor-control.elementor-control-price_list_pro_notice,
669
- .elementor-control.elementor-control-business_hours_pro_notice,
670
- .elementor-control.elementor-control-sharing_columns_pro_notice,
671
- .elementor-control.elementor-control-popup_trigger_pro_notice,
672
- .elementor-control.elementor-control-popup_show_again_delay_pro_notice,
673
- .elementor-control.elementor-control-group_popup_settings_pro_notice,
674
- .elementor-control.elementor-control-which_particle_pro_notice,
675
- .elementor-control.elementor-control-paralax_repeater_pro_notice,
676
- .elementor-control.elementor-control-opnepage_pro_notice,
677
- .elementor-control.elementor-control-timeline_repeater_pro_notice,
678
- .elementor-control.elementor-control-limit_grid_items_pro_notice,
679
- .elementor-control.elementor-control-post_nav_layout_pro_notice,
680
- .elementor-control.elementor-control-author_name_links_to_pro_notice,
681
- .elementor-control.elementor-control-author_title_links_to_pro_notice,
682
- .elementor-control.elementor-control-comments_form_layout_pro_notice,
683
- .elementor-control.elementor-control-sharing_repeater_pro_notice,
684
- .elementor-control.elementor-control-mini_cart_style_pro_notice,
685
- .elementor-control.elementor-control-tabs_position_pro_notice {
686
- padding-bottom: 0 !important;
687
- }
688
-
689
- .elementor-control-search_pro_notice .wpr-pro-notice,
690
- .elementor-control-grid_columns_pro_notice .wpr-pro-notice,
691
- .elementor-control-slider_content_type_pro_notice .wpr-pro-notice,
692
- .elementor-control-slider_repeater_pro_notice .wpr-pro-notice,
693
- .elementor-control-slider_dots_layout_pro_notice .wpr-pro-notice,
694
- .elementor-control-testimonial_repeater_pro_notice .wpr-pro-notice,
695
- .elementor-control-testimonial_icon_pro_notice .wpr-pro-notice,
696
- .elementor-control-menu_layout_pro_notice .wpr-pro-notice,
697
- .elementor-control-menu_items_submenu_entrance_pro_notice .wpr-pro-notice,
698
- .elementor-control-switcher_label_style_pro_notice .wpr-pro-notice,
699
- .elementor-control-countdown_type_pro_notice .wpr-pro-notice,
700
- .elementor-control-layout_pro_notice .wpr-pro-notice,
701
- .elementor-control-anim_timing_pro_notice .wpr-pro-notice,
702
- .elementor-control-tab_content_type_pro_notice .wpr-pro-notice,
703
- .elementor-control-tabs_repeater_pro_notice .wpr-pro-notice,
704
- .elementor-control-tabs_align_pro_notice .wpr-pro-notice,
705
- .elementor-control-front_trigger_pro_notice .wpr-pro-notice,
706
- .elementor-control-back_link_type_pro_notice .wpr-pro-notice,
707
- .elementor-control-box_anim_timing_pro_notice .wpr-pro-notice,
708
- .elementor-control-image_style_pro_notice .wpr-pro-notice,
709
- .elementor-control-image_animation_timing_pro_notice .wpr-pro-notice,
710
- .elementor-control-label_display_pro_notice .wpr-pro-notice,
711
- .elementor-control-post_type_pro_notice .wpr-pro-notice,
712
- .elementor-control-type_select_pro_notice .wpr-pro-notice,
713
- .elementor-control-icon_style_pro_notice .wpr-pro-notice,
714
- .elementor-control-dual_button_pro_notice .wpr-pro-notice,
715
- .elementor-control-team_member_pro_notice .wpr-pro-notice,
716
- .elementor-control-price_list_pro_notice .wpr-pro-notice,
717
- .elementor-control-business_hours_pro_notice .wpr-pro-notice,
718
- .elementor-control-sharing_columns_pro_notice .wpr-pro-notice,
719
- .elementor-control-popup_trigger_pro_notice .wpr-pro-notice,
720
- .elementor-control-popup_show_again_delay_pro_notice .wpr-pro-notice,
721
- .elementor-control-group_popup_settings_pro_notice .wpr-pro-notice,
722
- .elementor-control-post_nav_layout_pro_notice .wpr-pro-notice,
723
- .elementor-control-author_name_links_to_pro_notice .wpr-pro-notice,
724
- .elementor-control-author_title_links_to_pro_notice .wpr-pro-notice,
725
- .elementor-control-comments_form_layout_pro_notice .wpr-pro-notice,
726
- .elementor-control-sharing_repeater_pro_notice .wpr-pro-notice,
727
- .elementor-control-mini_cart_style_pro_notice .wpr-pro-notice,
728
- .elementor-control-tabs_position_pro_notice .wpr-pro-notice {
729
- border-bottom: none !important;
730
- }
731
-
732
- /* Both */
733
- .elementor-control.elementor-control-pagination_type_pro_notice,
734
- .elementor-control.elementor-control-tooltip_trigger_pro_notice,
735
- .elementor-control.elementor-control-post_info_select_pro_notice {
736
- padding-top: 0 !important;
737
- padding-bottom: 0 !important;
738
- }
739
-
740
- .elementor-control-pagination_type_pro_notice .wpr-pro-notice {
741
- border-top: none !important;
742
- border-bottom: none !important;
743
- }
744
-
745
- .elementor-control-pro_features_section .elementor-section-toggle,
746
- .elementor-control-pro_features_section .elementor-section-title {
747
- color: #f54;
748
- }
749
-
750
- .elementor-control-pro_features_section .elementor-section-title {
751
- line-height: 20px;
752
- }
753
- .elementor-control-pro_features_section .elementor-section-title .dashicons {
754
- line-height: 20px;
755
- font-size: 13px;
756
- }
757
-
758
- .wpr-pro-features-list {
759
- text-align: center;
760
- }
761
-
762
- .wpr-pro-features-list ul {
763
- text-align: left;
764
- }
765
-
766
- .wpr-pro-features-list ul li {
767
- position: relative;
768
- line-height: 22px;
769
- padding-left: 20px;
770
- }
771
-
772
- .wpr-pro-features-list ul li::before {
773
- content: '.';
774
- font-size: 38px;
775
- position: absolute;
776
- top: -11px;
777
- left: 0;
778
- }
779
-
780
- .wpr-pro-features-list ul + a {
781
- display: inline-block;
782
- background-color: #f54;
783
- color: #fff;
784
- margin: 15px 15px 10px 0;
785
- padding: 7px 12px;
786
- border-radius: 3px;
787
- }
788
-
789
- .wpr-pro-features-list ul + a:hover {
790
- color: #fff;
791
- }
792
-
793
- /* Video Tutorial Link */
794
- .elementor-control[class*="video_tutorial"] {
795
- padding-top: 0 !important;
796
- padding-bottom: 5px !important;
797
- }
798
-
799
- .elementor-control[class*="video_tutorial"] a {
800
- line-height: 16px;
801
- font-size: 12px;
802
- }
803
-
804
- .elementor-control[class*="video_tutorial"] a .dashicons {
805
- font-size: 16px;
806
- }
807
-
808
-
809
- /*--------------------------------------------------------------
810
- == Theme Builder Widgets
811
- --------------------------------------------------------------*/
812
- #elementor-panel-categories {
813
- display: -webkit-box;
814
- display: -ms-flexbox;
815
- display: flex;
816
- -webkit-box-orient: vertical;
817
- -webkit-box-direction: normal;
818
- -ms-flex-direction: column;
819
- flex-direction: column;
820
- }
821
-
822
- #elementor-panel-categories > div {
823
- -webkit-box-ordinal-group: 3;
824
- -ms-flex-order: 2;
825
- order: 2;
826
- }
827
-
828
- #elementor-panel-category-wpr-theme-builder-widgets,
829
- #elementor-panel-category-wpr-woocommerce-builder-widgets {
830
- -webkit-box-ordinal-group: 2 !important;
831
- -ms-flex-order: 1 !important;
832
- order: 1 !important;
833
- }
834
-
835
- .elementor-editor-wpr-theme-builder #elementor-panel-footer-saver-preview {
836
- display: none !important;
837
- }
838
-
839
-
840
- /*--------------------------------------------------------------
841
- == Elementor Search Notice
842
- --------------------------------------------------------------*/
843
- .wpr-elementor-search-notice {
844
- background: #fff;
845
- font-size: 13px;
846
- padding: 20px;
847
- line-height: 18px;
848
- margin: 10px;
849
- border-left: 3px solid #71d7f7;
850
- -webkit-box-shadow: 0 1px 4px 0 rgb(0 0 0 / 7%);
851
- box-shadow: 0 1px 4px 0 rgb(0 0 0 / 7%);
852
- }
853
-
854
-
855
- /*--------------------------------------------------------------
856
- == Debug
857
- --------------------------------------------------------------*/
858
- pre.xdebug-var-dump {
859
- position: absolute;
860
- z-index: 999999;
861
- background: #fff;
862
- border: 2px solid #000;
863
- padding: 20px;
864
- left: 300px;
865
  }
1
+ /*--------------------------------------------------------------
2
+ == General
3
+ --------------------------------------------------------------*/
4
+ .wpr-elementor-hidden-control {
5
+ overflow: hidden;
6
+ width: 0 !important;
7
+ height: 0 !important;
8
+ padding: 0 !important;
9
+ margin: 0 !important;
10
+ visibility: hidden !important;
11
+ opacity: 0 !important;
12
+ }
13
+
14
+
15
+ /*--------------------------------------------------------------
16
+ == WPR Widgets
17
+ --------------------------------------------------------------*/
18
+ .elementor-panel .wpr-icon:after {
19
+ content: 'R';
20
+ display: block;
21
+ position: absolute;
22
+ top: 3px;
23
+ right: 3px;
24
+ font-family: Roboto,Arial,Helvetica,Verdana,sans-serif;
25
+ font-size: 10px;
26
+ font-weight: bold;
27
+ color: #ffffff;
28
+ background-image: -o-linear-gradient(#6A4BFF, #7E94FE);
29
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#6A4BFF), to(#7E94FE));
30
+ background-image: linear-gradient(#6A4BFF, #7E94FE);
31
+ -webkit-box-shadow: 0 0 2px 2px #b8c7ff;
32
+ box-shadow: 0 0 2px 2px #b8c7ff;
33
+ width: 19px;
34
+ height: 19px;
35
+ line-height: 19px;
36
+ border-radius: 15px;
37
+ margin: 3px;
38
+ }
39
+
40
+ .elementor-panel .elementor-element .icon {
41
+ position: relative !important;
42
+ }
43
+
44
+ .elementor-element--promotion .wpr-icon:after {
45
+ top: 22px;
46
+ right: -1px;
47
+ opacity: 0.7;
48
+ }
49
+
50
+ #elementor-element--promotion__dialog .dialog-button {
51
+ text-align: center;
52
+ }
53
+
54
+ .elementor-control-type-section[class*="elementor-control-wpr_section_"]:after {
55
+ content: 'R';
56
+ display: block;
57
+ position: absolute;
58
+ top: 7px;
59
+ right: 7px;
60
+ font-family: Roboto,Arial,Helvetica,Verdana,sans-serif;
61
+ font-size: 10px;
62
+ font-weight: bold;
63
+ color: #ffffff;
64
+ background-image: -o-linear-gradient(#6A4BFF, #7E94FE);
65
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#6A4BFF), to(#7E94FE));
66
+ background-image: linear-gradient(#6A4BFF, #7E94FE);
67
+ -webkit-box-shadow: 0 0 2px 2px #b8c7ff;
68
+ box-shadow: 0 0 2px 2px #b8c7ff;
69
+ width: 19px;
70
+ height: 19px;
71
+ line-height: 19px;
72
+ border-radius: 15px;
73
+ margin: 3px;
74
+ text-align: center;
75
+ }
76
+
77
+ /*--------------------------------------------------------------
78
+ == Adjustments
79
+ --------------------------------------------------------------*/
80
+ .elementor-control-element_select,
81
+ .elementor-control-element_align_hr,
82
+ .elementor-control-element_read_more_text,
83
+ .elementor-control-element_tax_sep,
84
+ .elementor-control-element_sharing_icon_6,
85
+ .elementor-control-element_sharing_trigger_direction,
86
+ .elementor-control-element_sharing_icon_display,
87
+ .elementor-control-element_sharing_tooltip,
88
+ .elementor-control-element_custom_field_wrapper_html,
89
+ .elementor-control-slider_item_bg_size,
90
+ .elementor-control-element_addcart_variable_txt,
91
+ .elementor-control-type {
92
+ margin-bottom: 15px;
93
+ }
94
+
95
+ .elementor-control-slider_content_bg_color,
96
+ .elementor-control-slider_nav_border_border,
97
+ .elementor-control-slider_nav_border_radius,
98
+ .elementor-control-scroll_btn_vr,
99
+ .elementor-control-pagination_load_more_text,
100
+ .elementor-control-pagination_finish_text,
101
+ .elementor-control-pagination_prev_next,
102
+ .elementor-control-author_transition_duration,
103
+ .elementor-control-comments_transition_duration,
104
+ .elementor-control-likes_transition_duration,
105
+ .elementor-control-sharing_transition_duration,
106
+ .elementor-control-lightbox_transition_duration,
107
+ .elementor-control-custom_field1_transition_duration,
108
+ .elementor-control-custom_field2_transition_duration,
109
+ .elementor-control-custom_field3_transition_duration,
110
+ .elementor-control-custom_field4_transition_duration,
111
+ .elementor-control-filters_transition_duration,
112
+ .elementor-control-pagination_transition_duration,
113
+ .elementor-control-element_extra_text_pos,
114
+ .elementor-control-element_custom_field_wrapper,
115
+ .elementor-control-overlay_post_link,
116
+ .elementor-control-read_more_animation_height,
117
+ .elementor-control-archive_link_transition_duration,
118
+ .elementor-control-post_info_tax_select,
119
+ .elementor-control-post_info_link_wrap,
120
+ .elementor-control-post_info_modified_time,
121
+ .elementor-control-tabs_sharing_custom_colors,
122
+ .elementor-control-post_info_show_avatar,
123
+ .elementor-control-post_info_cf,
124
+ .elementor-control-pricing_items .elementor-control-price,
125
+ .elementor-control-pricing_items .elementor-control-feature_text,
126
+ .elementor-control-pricing_items .elementor-control-btn_text,
127
+ .elementor-control-divider_style,
128
+ .elementor-control-filters_pointer,
129
+ .elementor-control-title_transition_duration,
130
+ .elementor-control-tax1_transition_duration,
131
+ .elementor-control-tax2_transition_duration,
132
+ .elementor-control-filters_transition_duration,
133
+ .elementor-control-pagination_older_text,
134
+ .elementor-control-tooltip_position,
135
+ .elementor-control-post_info_comments_text_1 {
136
+ padding-top: 15px !important;
137
+ }
138
+
139
+ .elementor-control-title_pointer_animation + .elementor-control-title_transition_duration,
140
+ .elementor-control-tax1_pointer_animation + .elementor-control-tax1_transition_duration,
141
+ .elementor-control-tax2_pointer_animation + .elementor-control-tax2_transition_duration,
142
+ .elementor-control-filters_pointer_animation + .elementor-control-filters_transition_duration {
143
+ padding-top: 0 !important;
144
+ }
145
+
146
+ .elementor-control-pagination_load_more_text {
147
+ padding-bottom: 0 !important;
148
+ }
149
+
150
+ .elementor-control-filters_transition_duration {
151
+ padding-top: 0 !important;
152
+ }
153
+
154
+ .elementor-control-animation_divider,
155
+ .elementor-control-overlay_divider,
156
+ .elementor-control-slider_item_btn_1_divider,
157
+ .elementor-control-slider_item_btn_2_divider,
158
+ .elementor-control-slider_btn_typography_1_divider,
159
+ .elementor-control-slider_btn_box_shadow_1_divider,
160
+ .elementor-control-slider_btn_typography_2_divider,
161
+ .elementor-control-slider_btn_box_shadow_2_divider,
162
+ .elementor-control-testimonial_title_divider,
163
+ .elementor-control-social_media_divider,
164
+ .elementor-control-social_divider_1,
165
+ .elementor-control-social_divider_2,
166
+ .elementor-control-social_divider_3,
167
+ .elementor-control-social_divider_4,
168
+ .elementor-control-social_divider_5,
169
+ .elementor-control-custom_field_wrapper_html_divider1,
170
+ .elementor-control-custom_field_wrapper_html_divider2,
171
+ .elementor-control-lightbox_shadow_divider {
172
+ padding: 0 !important;
173
+ }
174
+
175
+ .elementor-control-custom_field_wrapper_html_divider1 hr,
176
+ .elementor-control-lightbox_shadow_divider hr {
177
+ height: 1px !important;
178
+ }
179
+
180
+ .elementor-control-element_show_on {
181
+ padding-top: 15px !important;
182
+ border-top: 1px solid #d5dadf;
183
+ }
184
+
185
+ [class*="wpr__section_"] ~ .elementor-control-type-number .elementor-control-input-wrapper,
186
+ [class*="wpr__section_"] ~ .elementor-control-type-repeater .elementor-control-type-number .elementor-control-input-wrapper {
187
+ max-width: 30% !important;
188
+ margin-left: auto !important;
189
+ }
190
+
191
+ [class*="wpr__section_"] ~ .elementor-control-type-select .elementor-control-input-wrapper,
192
+ [class*="wpr__section_"] ~ .elementor-control-type-repeater .elementor-control-type-select .elementor-control-input-wrapper {
193
+ width: auto !important;
194
+ min-width: 30% !important;
195
+ margin-left: auto !important;
196
+ }
197
+
198
+ .elementor-control-submit_preview_changes .elementor-control-input-wrapper {
199
+ text-align: center !important;
200
+ }
201
+
202
+ .elementor-control-query_manual_related,
203
+ .elementor-control-query_manual_current {
204
+ display: none !important;
205
+ }
206
+
207
+ /* Fix Select Inputs */
208
+ .elementor-control-button_hover_animation .elementor-control-input-wrapper,
209
+ .elementor-control-front_btn_animation .elementor-control-input-wrapper,
210
+ .elementor-control-back_btn_animation .elementor-control-input-wrapper,
211
+
212
+ .elementor-control-select_template .select2-selection,
213
+ .elementor-control-switcher_first_select_template .select2-selection,
214
+ .elementor-control-switcher_second_select_template .select2-selection,
215
+ .elementor-control-switcher_select_template .select2-selection,
216
+ .elementor-control-slider_select_template .select2-selection {
217
+ width: 135px !important;
218
+ }
219
+
220
+ .elementor-control-type-repeater .elementor-control-content > label {
221
+ display: none !important;
222
+ }
223
+
224
+
225
+ /*--------------------------------------------------------------
226
+ == Notification
227
+ --------------------------------------------------------------*/
228
+ #wpr-template-settings-notification {
229
+ position: fixed;
230
+ left: 40px;
231
+ bottom: 5px;
232
+ z-index: 9999;
233
+ padding: 13px 25px;
234
+ background: #fff;
235
+ color: #222;
236
+ -webkit-box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.3);
237
+ box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.3);
238
+ border-radius: 3px;
239
+ }
240
+
241
+ #wpr-template-settings-notification:before {
242
+ content: "";
243
+ position: absolute;
244
+ left: -6px;
245
+ bottom: 10px;
246
+ width: 0;
247
+ height: 0;
248
+ border-top: 6px solid transparent;
249
+ border-bottom: 6px solid transparent;
250
+ border-right-style: solid;
251
+ border-right-width: 6px;
252
+ border-right-color: #fff;
253
+ }
254
+
255
+ #wpr-template-settings-notification h4 {
256
+ margin-bottom: 10px;
257
+ }
258
+
259
+ #wpr-template-settings-notification h4 span {
260
+ font-size: 14px;
261
+ vertical-align: super;
262
+ color: #5f5f5f;
263
+ }
264
+
265
+ #wpr-template-settings-notification h4 i {
266
+ margin-right: 10px;
267
+ color: #3db050;
268
+ font-size: 24px;
269
+ }
270
+
271
+ #wpr-template-settings-notification p {
272
+ color: #666;
273
+ font-size: 12px;
274
+ line-height: 1.5;
275
+ }
276
+
277
+ #wpr-template-settings-notification > i {
278
+ position: absolute;
279
+ top: 7px;
280
+ right: 7px;
281
+ cursor: pointer;
282
+ color: #999;
283
+ }
284
+
285
+ .elementor-control-cf7_notice,
286
+ .elementor-control-wpforms_notice,
287
+ .elementor-control-ninja_forms_notice,
288
+ .elementor-control-caldera_notice {
289
+ color: red;
290
+ }
291
+
292
+ /* Help Button - select with referrals - [href^="https://royal-elementor-addons.com/contact/"] */
293
+ #elementor-panel__editor__help__link[href^="https://wordpress.org/support/plugin/royal-elementor-addons/"] {
294
+ display: inline-block;
295
+ padding: 12px 35px;
296
+ font-size: 13px;
297
+ font-weight: normal;
298
+ color: #fff;
299
+ background: #6A65FF;
300
+ border-radius: 3px;
301
+ -webkit-box-shadow: 0 2px 7px 0 rgba(0,0,0,0.3);
302
+ box-shadow: 0 2px 7px 0 rgba(0,0,0,0.3);
303
+ letter-spacing: 0.3px;
304
+ -webkit-transition: all 0.2s ease-in;
305
+ -o-transition: all 0.2s ease-in;
306
+ transition: all 0.2s ease-in;
307
+ }
308
+
309
+ #elementor-panel__editor__help__link[href^="https://wordpress.org/support/plugin/royal-elementor-addons/"]:hover {
310
+ color: #fff;
311
+ background: #6A4BFF;
312
+ }
313
+
314
+ #elementor-panel__editor__help__link[href^="https://wordpress.org/support/plugin/royal-elementor-addons/"] i {
315
+ color: #fff;
316
+ font-size: 14px;
317
+ vertical-align: top;
318
+ }
319
+
320
+ #elementor-panel__editor__help__link[href^="https://wordpress.org/support/plugin/royal-elementor-addons/"]:hover i {
321
+ color: #fff;
322
+ }
323
+
324
+ #elementor-panel__editor__help__link[href^="https://wordpress.org/support/plugin/royal-elementor-addons/"]:hover i:before {
325
+ content: '\e942' !important;
326
+ }
327
+
328
+ .elementor-control-posts_slider_notice .elementor-control-raw-html {
329
+ font-style: normal !important;
330
+ }
331
+
332
+
333
+ /*--------------------------------------------------------------
334
+ == Modal Popup Editor
335
+ --------------------------------------------------------------*/
336
+ .elementor-editor-wpr-popups .elementor-control-document_settings,
337
+ .elementor-editor-wpr-popups .elementor-control-post_title,
338
+ .elementor-editor-wpr-popups .elementor-control-post_status {
339
+ display: none !important;
340
+ }
341
+
342
+
343
+ /*--------------------------------------------------------------
344
+ == Elementor Editor Popup
345
+ --------------------------------------------------------------*/
346
+ #wpr-template-editor-popup .dialog-widget-content {
347
+ width: 90vw;
348
+ height: 90vh;
349
+ }
350
+
351
+ #wpr-template-editor-popup .dialog-message {
352
+ padding: 0;
353
+ width: 100%;
354
+ height: 100%;
355
+ }
356
+
357
+ #wpr-template-editor-popup .dialog-close-button {
358
+ font-size: 24px;
359
+ color: #222;
360
+ }
361
+
362
+ #wpr-template-editor-popup .dialog-header {
363
+ display: none;
364
+ }
365
+
366
+ #wpr-template-editor-loading {
367
+ position: absolute;
368
+ top: 0;
369
+ left: 0;
370
+ width: 100%;
371
+ height: 100%;
372
+ background: #f1f3f5;
373
+ z-index: 9999;
374
+ -webkit-transform: translateZ(0);
375
+ transform: translateZ(0);
376
+ display: -webkit-box;
377
+ display: -ms-flexbox;
378
+ display: flex;
379
+ -webkit-box-pack: center;
380
+ -ms-flex-pack: center;
381
+ justify-content: center;
382
+ -webkit-box-align: center;
383
+ -ms-flex-align: center;
384
+ align-items: center;
385
+ }
386
+
387
+ #wpr-template-editor-loading .elementor-loader-wrapper {
388
+ top: auto;
389
+ left: auto;
390
+ -webkit-transform: none;
391
+ -ms-transform: none;
392
+ transform: none;
393
+ }
394
+
395
+ /* Disable Transitions on Responsive Preview */
396
+ #elementor-preview-responsive-wrapper {
397
+ -webkit-transition: none !important;
398
+ -o-transition: none !important;
399
+ transition: none !important;
400
+ }
401
+
402
+
403
+ /*--------------------------------------------------------------
404
+ == Magazine Grid Layout
405
+ --------------------------------------------------------------*/
406
+ .elementor-control-layout_select.elementor-control .elementor-control-field {
407
+ -webkit-box-orient: vertical !important;
408
+ -webkit-box-direction: normal !important;
409
+ -ms-flex-direction: column !important;
410
+ flex-direction: column !important;
411
+ -webkit-box-align: start;
412
+ -ms-flex-align: start;
413
+ align-items: flex-start;
414
+ }
415
+
416
+ .elementor-control-layout_select.elementor-control .elementor-control-input-wrapper {
417
+ display: -webkit-box;
418
+ display: -ms-flexbox;
419
+ display: flex;
420
+ width: 100% !important;
421
+ margin-top: 10px;
422
+ }
423
+
424
+ .elementor-control-layout_select.elementor-control .elementor-choices {
425
+ -ms-flex-wrap: wrap;
426
+ flex-wrap: wrap;
427
+ -webkit-box-align: stretch;
428
+ -ms-flex-align: stretch;
429
+ align-items: stretch;
430
+ width: 100% !important;
431
+ height: auto;
432
+ border: 1px solid #dfd5d5;
433
+ }
434
+
435
+ .elementor-control-layout_select.elementor-control .elementor-choices label {
436
+ width: 33.3%;
437
+ height: 50px;
438
+ background-size: 75%;
439
+ background-position: center center;
440
+ background-repeat: no-repeat;
441
+ }
442
+
443
+ .elementor-control-layout_select input[type="radio"]:checked + label {
444
+ border: 2px solid #D30C5C;
445
+ border-radius: 0 !important;
446
+ background-color: #ffffff;
447
+ }
448
+
449
+ .elementor-control-layout_select label:nth-child(2) {
450
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='15.2' class='st1' width='22.2' height='11.9'/%3E%3Crect x='25.6' y='4.9' class='st1' width='22.2' height='9.2'/%3E%3C/g%3E%3C/svg%3E");
451
+ }
452
+
453
+ .elementor-control-layout_select label:nth-child(4) {
454
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='25.6' y='4.9' class='st1' width='22.2' height='10.5'/%3E%3C/g%3E%3C/svg%3E");
455
+ }
456
+
457
+ .elementor-control-layout_select label:nth-child(6) {
458
+ background: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Cg%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='25.6' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
459
+ }
460
+
461
+ .elementor-control-layout_select label:nth-child(8) {
462
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3Crect x='37.2' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3C/g%3E%3C/svg%3E");
463
+ }
464
+
465
+ .elementor-control-layout_select label:nth-child(10) {
466
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='13.9' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='37.2' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3Crect x='2.3' y='16.6' class='st1' width='10.5' height='10.5'/%3E%3Crect x='2.3' y='4.9' class='st1' width='10.5' height='10.5'/%3E%3C/g%3E%3C/svg%3E");
467
+ }
468
+
469
+ .elementor-control-layout_select label:nth-child(12) {
470
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='28.5' height='22.2'/%3E%3Crect x='31.8' y='12.9' class='st1' width='15.9' height='6.3'/%3E%3Crect x='31.8' y='4.9' class='st1' width='15.9' height='6.8'/%3E%3Crect x='31.8' y='20.3' class='st1' width='15.9' height='6.8'/%3E%3C/g%3E%3C/svg%3E");
471
+ }
472
+
473
+ .elementor-control-layout_select label:nth-child(14) {
474
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='13.9' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='2.2' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3C/g%3E%3C/svg%3E");
475
+ }
476
+
477
+ .elementor-control-layout_select label:nth-child(16) {
478
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='33.9' height='13.2'/%3E%3Crect x='2.2' y='19.3' class='st1' width='16.4' height='7.8'/%3E%3Crect x='19.7' y='19.3' class='st1' width='16.4' height='7.8'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='13.2'/%3E%3Crect x='37.2' y='19.3' class='st1' width='10.5' height='7.8'/%3E%3C/g%3E%3C/svg%3E");
479
+ }
480
+
481
+ .elementor-control-layout_select label:nth-child(18) {
482
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='12.1'/%3E%3Crect x='25.6' y='4.9' class='st1' width='22.2' height='12.1'/%3E%3Crect x='2.2' y='18.2' class='st1' width='14.4' height='8.9'/%3E%3Crect x='17.8' y='18.2' class='st1' width='14.4' height='8.9'/%3E%3Crect x='33.3' y='18.2' class='st1' width='14.4' height='8.9'/%3E%3C/g%3E%3C/svg%3E");
483
+ }
484
+
485
+ .elementor-control-layout_select label:nth-child(20) {
486
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3Crect x='25.6' y='4.9' class='st1' width='22.2' height='22.2'/%3E%3C/g%3E%3C/svg%3E");
487
+ }
488
+
489
+ .elementor-control-layout_select label:nth-child(22) {
490
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='14.5' height='22.2'/%3E%3Crect x='33.4' y='4.9' class='st1' width='14.4' height='22.2'/%3E%3Crect x='17.9' y='4.9' class='st1' width='14.4' height='22.2'/%3E%3C/g%3E%3C/svg%3E");
491
+ }
492
+
493
+ .elementor-control-layout_select label:nth-child(24) {
494
+ background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 32' style='enable-background:new 0 0 50 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} .st1{fill:%23C2C1C0;} %3C/style%3E%3Cg id='Background'%3E%3Crect class='st0' width='50' height='32'/%3E%3C/g%3E%3Cg id='Layer_1'%3E%3Crect x='2.2' y='4.9' class='st1' width='10.6' height='22.2'/%3E%3Crect x='37.2' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3Crect x='25.6' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3Crect x='14' y='4.9' class='st1' width='10.5' height='22.2'/%3E%3C/g%3E%3C/svg%3E");
495
+ }
496
+
497
+ /*--------------------------------------------------------------
498
+ == Widget Preview and Library buttons
499
+ --------------------------------------------------------------*/
500
+ .elementor-control-wpr_library_buttons {
501
+ height: 60px;
502
+ padding: 0;
503
+ }
504
+
505
+ .elementor-control-wpr_library_buttons .elementor-control-raw-html {
506
+ padding: 0 10px 10px 10px;
507
+ border-bottom: 1px solid #efefef;
508
+ }
509
+
510
+ .elementor-control-wpr_library_buttons .elementor-control-raw-html div {
511
+ display: -webkit-box;
512
+ display: -ms-flexbox;
513
+ display: flex;
514
+ -webkit-box-pack: center;
515
+ -ms-flex-pack: center;
516
+ justify-content: center;
517
+ }
518
+
519
+ .elementor-control-wpr_library_buttons .elementor-control-raw-html div a {
520
+ -webkit-box-flex: 1;
521
+ -ms-flex-positive: 1;
522
+ flex-grow: 1;
523
+ padding: 10px 15px;
524
+ border-radius: 3px;
525
+ /*box-shadow: 1px 2px 5px 0 rgba(0,0,0,0.2);*/
526
+ white-space: nowrap;
527
+ overflow: hidden;
528
+ -o-text-overflow: ellipsis;
529
+ text-overflow: ellipsis;
530
+ text-align: center;
531
+ }
532
+ .elementor-control-wpr_library_buttons .elementor-control-raw-html div a:first-child {
533
+ background-color: #1CB4E4;
534
+ color: #fff;
535
+ margin-right: 3px;
536
+ }
537
+ .elementor-control-wpr_library_buttons .elementor-control-raw-html div a:last-child {
538
+ margin-left: 3px;
539
+ background-color: #6A65FF;
540
+ color: #fff;
541
+ }
542
+
543
+ .elementor-control-wpr_library_buttons .elementor-control-raw-html > a {
544
+ display: block;
545
+ margin-top: 10px;
546
+ line-height: 20px;
547
+ color: #777;
548
+ border: none !important;
549
+ }
550
+
551
+ .elementor-section-title > a {
552
+ top: 10px;
553
+ right: 20px;
554
+ position: absolute;
555
+ line-height: 20px;
556
+ }
557
+
558
+ .elementor-section-title > a:hover {
559
+ border-color: transparent;
560
+ }
561
+
562
+ /*--------------------------------------------------------------
563
+ == Apply Changes Button
564
+ --------------------------------------------------------------*/
565
+ .editor-wpr-preview-update {
566
+ margin: 0;
567
+ display: -webkit-box;
568
+ display: -ms-flexbox;
569
+ display: flex;
570
+ -webkit-box-pack: justify;
571
+ -ms-flex-pack: justify;
572
+ justify-content: space-between;
573
+ }
574
+
575
+ .editor-wpr-preview-update button {
576
+ font-size: 13px;
577
+ padding: 5px 10px;
578
+ }
579
+
580
+
581
+ /*--------------------------------------------------------------
582
+ == Free/Pro Options
583
+ --------------------------------------------------------------*/
584
+ .elementor-control select option[value*=pro-] {
585
+ background: #f0f0f0;
586
+ }
587
+
588
+ .elementor-control[class*="pro_notice"] {
589
+ padding: 5px 0 15px 0 !important;
590
+ }
591
+
592
+ .wpr-pro-notice {
593
+ padding: 20px;
594
+ border-top: 1px solid #e6e9ec;
595
+ border-bottom: 1px solid #e6e9ec;
596
+ background-color: #f2fbff;
597
+ line-height: 1.4;
598
+ text-align: center;
599
+ }
600
+
601
+ .wpr-pro-notice-video {
602
+ display: block;
603
+ margin-top: 7px;
604
+ line-height: 20px;
605
+ border: none !important;
606
+ }
607
+
608
+ #elementor-controls .elementor-control-slider_section_pro_notice {
609
+ margin-top: -16px;
610
+ padding-bottom: 0 !important;
611
+ }
612
+
613
+ .elementor-control-layout_select_pro_notice + div,
614
+ .elementor-control-element_align_pro_notice + div {
615
+ padding-top: 15px;
616
+ }
617
+
618
+ .elementor-control-layout_select .elementor-choices label {
619
+ position: relative;
620
+ }
621
+
622
+ .elementor-control-layout_select .elementor-choices label:nth-child(2):after,
623
+ .elementor-control-layout_select .elementor-choices label:nth-child(4):after,
624
+ .elementor-control-layout_select .elementor-choices label:nth-child(6):after,
625
+ .elementor-control-layout_select .elementor-choices label:nth-child(8):after,
626
+ .elementor-control-layout_select .elementor-choices label:nth-child(10):after,
627
+ .elementor-control-layout_select .elementor-choices label:nth-child(12):after {
628
+ content: ' ';
629
+ display: block;
630
+ width: 100%;
631
+ height: 100%;
632
+ position: absolute;
633
+ top: 0;
634
+ left: 0;
635
+ background: rgba(0,0,0,0.2);
636
+ }
637
+
638
+ /* Adjustments */
639
+ .elementor-control.elementor-control-element_align_pro_notice,
640
+ .elementor-control.elementor-control-search_pro_notice,
641
+ .elementor-control.elementor-control-layout_select_pro_notice,
642
+ .elementor-control.elementor-control-grid_columns_pro_notice,
643
+ .elementor-control.elementor-control-slider_content_type_pro_notice,
644
+ .elementor-control.elementor-control-slider_repeater_pro_notice,
645
+ .elementor-control.elementor-control-slider_dots_layout_pro_notice,
646
+ .elementor-control.elementor-control-testimonial_repeater_pro_notice,
647
+ .elementor-control.elementor-control-testimonial_icon_pro_notice,
648
+ .elementor-control.elementor-control-menu_layout_pro_notice,
649
+ .elementor-control.elementor-control-menu_items_submenu_entrance_pro_notice,
650
+ .elementor-control.elementor-control-switcher_label_style_pro_notice,
651
+ .elementor-control.elementor-control-countdown_type_pro_notice,
652
+ .elementor-control.elementor-control-layout_pro_notice,
653
+ .elementor-control.elementor-control-anim_timing_pro_notice,
654
+ .elementor-control.elementor-control-tab_content_type_pro_notice,
655
+ .elementor-control.elementor-control-tabs_repeater_pro_notice,
656
+ .elementor-control.elementor-control-tabs_align_pro_notice,
657
+ .elementor-control.elementor-control-front_trigger_pro_notice,
658
+ .elementor-control.elementor-control-back_link_type_pro_notice,
659
+ .elementor-control.elementor-control-box_anim_timing_pro_notice,
660
+ .elementor-control.elementor-control-image_style_pro_notice,
661
+ .elementor-control.elementor-control-image_animation_timing_pro_notice,
662
+ .elementor-control.elementor-control-label_display_pro_notice,
663
+ .elementor-control.elementor-control-post_type_pro_notice,
664
+ .elementor-control.elementor-control-type_select_pro_notice,
665
+ .elementor-control.elementor-control-icon_style_pro_notice,
666
+ .elementor-control.elementor-control-dual_button_pro_notice,
667
+ .elementor-control.elementor-control-team_member_pro_notice,
668
+ .elementor-control.elementor-control-price_list_pro_notice,
669
+ .elementor-control.elementor-control-business_hours_pro_notice,
670
+ .elementor-control.elementor-control-sharing_columns_pro_notice,
671
+ .elementor-control.elementor-control-popup_trigger_pro_notice,
672
+ .elementor-control.elementor-control-popup_show_again_delay_pro_notice,
673
+ .elementor-control.elementor-control-group_popup_settings_pro_notice,
674
+ .elementor-control.elementor-control-which_particle_pro_notice,
675
+ .elementor-control.elementor-control-paralax_repeater_pro_notice,
676
+ .elementor-control.elementor-control-opnepage_pro_notice,
677
+ .elementor-control.elementor-control-timeline_repeater_pro_notice,
678
+ .elementor-control.elementor-control-limit_grid_items_pro_notice,
679
+ .elementor-control.elementor-control-post_nav_layout_pro_notice,
680
+ .elementor-control.elementor-control-author_name_links_to_pro_notice,
681
+ .elementor-control.elementor-control-author_title_links_to_pro_notice,
682
+ .elementor-control.elementor-control-comments_form_layout_pro_notice,
683
+ .elementor-control.elementor-control-sharing_repeater_pro_notice,
684
+ .elementor-control.elementor-control-mini_cart_style_pro_notice,
685
+ .elementor-control.elementor-control-tabs_position_pro_notice {
686
+ padding-bottom: 0 !important;
687
+ }
688
+
689
+ .elementor-control-search_pro_notice .wpr-pro-notice,
690
+ .elementor-control-grid_columns_pro_notice .wpr-pro-notice,
691
+ .elementor-control-slider_content_type_pro_notice .wpr-pro-notice,
692
+ .elementor-control-slider_repeater_pro_notice .wpr-pro-notice,
693
+ .elementor-control-slider_dots_layout_pro_notice .wpr-pro-notice,
694
+ .elementor-control-testimonial_repeater_pro_notice .wpr-pro-notice,
695
+ .elementor-control-testimonial_icon_pro_notice .wpr-pro-notice,
696
+ .elementor-control-menu_layout_pro_notice .wpr-pro-notice,
697
+ .elementor-control-menu_items_submenu_entrance_pro_notice .wpr-pro-notice,
698
+ .elementor-control-switcher_label_style_pro_notice .wpr-pro-notice,
699
+ .elementor-control-countdown_type_pro_notice .wpr-pro-notice,
700
+ .elementor-control-layout_pro_notice .wpr-pro-notice,
701
+ .elementor-control-anim_timing_pro_notice .wpr-pro-notice,
702
+ .elementor-control-tab_content_type_pro_notice .wpr-pro-notice,
703
+ .elementor-control-tabs_repeater_pro_notice .wpr-pro-notice,
704
+ .elementor-control-tabs_align_pro_notice .wpr-pro-notice,
705
+ .elementor-control-front_trigger_pro_notice .wpr-pro-notice,
706
+ .elementor-control-back_link_type_pro_notice .wpr-pro-notice,
707
+ .elementor-control-box_anim_timing_pro_notice .wpr-pro-notice,
708
+ .elementor-control-image_style_pro_notice .wpr-pro-notice,
709
+ .elementor-control-image_animation_timing_pro_notice .wpr-pro-notice,
710
+ .elementor-control-label_display_pro_notice .wpr-pro-notice,
711
+ .elementor-control-post_type_pro_notice .wpr-pro-notice,
712
+ .elementor-control-type_select_pro_notice .wpr-pro-notice,
713
+ .elementor-control-icon_style_pro_notice .wpr-pro-notice,
714
+ .elementor-control-dual_button_pro_notice .wpr-pro-notice,
715
+ .elementor-control-team_member_pro_notice .wpr-pro-notice,
716
+ .elementor-control-price_list_pro_notice .wpr-pro-notice,
717
+ .elementor-control-business_hours_pro_notice .wpr-pro-notice,
718
+ .elementor-control-sharing_columns_pro_notice .wpr-pro-notice,
719
+ .elementor-control-popup_trigger_pro_notice .wpr-pro-notice,
720
+ .elementor-control-popup_show_again_delay_pro_notice .wpr-pro-notice,
721
+ .elementor-control-group_popup_settings_pro_notice .wpr-pro-notice,
722
+ .elementor-control-post_nav_layout_pro_notice .wpr-pro-notice,
723
+ .elementor-control-author_name_links_to_pro_notice .wpr-pro-notice,
724
+ .elementor-control-author_title_links_to_pro_notice .wpr-pro-notice,
725
+ .elementor-control-comments_form_layout_pro_notice .wpr-pro-notice,
726
+ .elementor-control-sharing_repeater_pro_notice .wpr-pro-notice,
727
+ .elementor-control-mini_cart_style_pro_notice .wpr-pro-notice,
728
+ .elementor-control-tabs_position_pro_notice .wpr-pro-notice {
729
+ border-bottom: none !important;
730
+ }
731
+
732
+ /* Both */
733
+ .elementor-control.elementor-control-pagination_type_pro_notice,
734
+ .elementor-control.elementor-control-tooltip_trigger_pro_notice,
735
+ .elementor-control.elementor-control-post_info_select_pro_notice {
736
+ padding-top: 0 !important;
737
+ padding-bottom: 0 !important;
738
+ }
739
+
740
+ .elementor-control-pagination_type_pro_notice .wpr-pro-notice {
741
+ border-top: none !important;
742
+ border-bottom: none !important;
743
+ }
744
+
745
+ .elementor-control-pro_features_section .elementor-section-toggle,
746
+ .elementor-control-pro_features_section .elementor-section-title {
747
+ color: #f54;
748
+ }
749
+
750
+ .elementor-control-pro_features_section .elementor-section-title {
751
+ line-height: 20px;
752
+ }
753
+ .elementor-control-pro_features_section .elementor-section-title .dashicons {
754
+ line-height: 20px;
755
+ font-size: 13px;
756
+ }
757
+
758
+ .wpr-pro-features-list {
759
+ text-align: center;
760
+ }
761
+
762
+ .wpr-pro-features-list ul {
763
+ text-align: left;
764
+ }
765
+
766
+ .wpr-pro-features-list ul li {
767
+ position: relative;
768
+ line-height: 22px;
769
+ padding-left: 20px;
770
+ }
771
+
772
+ .wpr-pro-features-list ul li::before {
773
+ content: '.';
774
+ font-size: 38px;
775
+ position: absolute;
776
+ top: -11px;
777
+ left: 0;
778
+ }
779
+
780
+ .wpr-pro-features-list ul + a {
781
+ display: inline-block;
782
+ background-color: #f54;
783
+ color: #fff;
784
+ margin: 15px 15px 10px 0;
785
+ padding: 7px 12px;
786
+ border-radius: 3px;
787
+ }
788
+
789
+ .wpr-pro-features-list ul + a:hover {
790
+ color: #fff;
791
+ }
792
+
793
+ /* Video Tutorial Link */
794
+ .elementor-control[class*="video_tutorial"] {
795
+ padding-top: 0 !important;
796
+ padding-bottom: 5px !important;
797
+ }
798
+
799
+ .elementor-control[class*="video_tutorial"] a {
800
+ line-height: 16px;
801
+ font-size: 12px;
802
+ }
803
+
804
+ .elementor-control[class*="video_tutorial"] a .dashicons {
805
+ font-size: 16px;
806
+ }
807
+
808
+
809
+ /*--------------------------------------------------------------
810
+ == Theme Builder Widgets
811
+ --------------------------------------------------------------*/
812
+ #elementor-panel-categories {
813
+ display: -webkit-box;
814
+ display: -ms-flexbox;
815
+ display: flex;
816
+ -webkit-box-orient: vertical;
817
+ -webkit-box-direction: normal;
818
+ -ms-flex-direction: column;
819
+ flex-direction: column;
820
+ }
821
+
822
+ #elementor-panel-categories > div {
823
+ -webkit-box-ordinal-group: 3;
824
+ -ms-flex-order: 2;
825
+ order: 2;
826
+ }
827
+
828
+ #elementor-panel-category-wpr-theme-builder-widgets,
829
+ #elementor-panel-category-wpr-woocommerce-builder-widgets {
830
+ -webkit-box-ordinal-group: 2 !important;
831
+ -ms-flex-order: 1 !important;
832
+ order: 1 !important;
833
+ }
834
+
835
+ .elementor-editor-wpr-theme-builder #elementor-panel-footer-saver-preview {
836
+ display: none !important;
837
+ }
838
+
839
+
840
+ /*--------------------------------------------------------------
841
+ == Elementor Search Notice
842
+ --------------------------------------------------------------*/
843
+ .wpr-elementor-search-notice {
844
+ background: #fff;
845
+ font-size: 13px;
846
+ padding: 20px;
847
+ line-height: 18px;
848
+ margin: 10px;
849
+ border-left: 3px solid #71d7f7;
850
+ -webkit-box-shadow: 0 1px 4px 0 rgb(0 0 0 / 7%);
851
+ box-shadow: 0 1px 4px 0 rgb(0 0 0 / 7%);
852
+ }
853
+
854
+
855
+ /*--------------------------------------------------------------
856
+ == Debug
857
+ --------------------------------------------------------------*/
858
+ pre.xdebug-var-dump {
859
+ position: absolute;
860
+ z-index: 999999;
861
+ background: #fff;
862
+ border: 2px solid #000;
863
+ padding: 20px;
864
+ left: 300px;
865
  }
assets/css/frontend.css CHANGED
@@ -1,13822 +1,13870 @@
1
- /*--------------------------------------------------------------
2
- == Reset
3
- --------------------------------------------------------------*/
4
- article,
5
- aside,
6
- footer,
7
- header,
8
- nav,
9
- section,
10
- figcaption,
11
- figure,
12
- main {
13
- display: block;
14
- }
15
-
16
- hr {
17
- -webkit-box-sizing: content-box;
18
- box-sizing: content-box;
19
- height: 0;
20
- overflow: visible;
21
- border: 0;
22
- height: 1px;
23
- margin: 20px 0;
24
- }
25
-
26
- pre {
27
- font-family: monospace, monospace;
28
- font-size: 1em;
29
- }
30
-
31
- a {
32
- text-decoration: none;
33
- background-color: transparent;
34
- -webkit-text-decoration-skip: objects;
35
- }
36
-
37
- [class*="elementor-widget-wpr-"] a {
38
- text-decoration: none;
39
- }
40
-
41
- abbr[title] {
42
- text-decoration: underline;
43
- -webkit-text-decoration: underline dotted;
44
- text-decoration: underline dotted;
45
- }
46
-
47
- b,
48
- strong {
49
- font-weight: inherit;
50
- }
51
-
52
- b,
53
- strong {
54
- font-weight: bolder;
55
- }
56
-
57
- code,
58
- kbd,
59
- samp {
60
- font-family: monospace, monospace;
61
- font-size: 1em;
62
- }
63
-
64
- dfn {
65
- font-style: italic;
66
- }
67
-
68
- mark {
69
- background-color: #ff0;
70
- color: #000;
71
- }
72
-
73
- small {
74
- font-size: 80%;
75
- }
76
-
77
- sub,
78
- sup {
79
- font-size: 75%;
80
- line-height: 0;
81
- position: relative;
82
- vertical-align: baseline;
83
- }
84
-
85
- sub {
86
- bottom: -0.25em;
87
- }
88
-
89
- sup {
90
- top: -0.5em;
91
- }
92
-
93
- audio,
94
- video {
95
- display: inline-block;
96
- }
97
-
98
- audio:not([controls]) {
99
- display: none;
100
- height: 0;
101
- }
102
-
103
- img {
104
- display: block;
105
- border-style: none;
106
- }
107
-
108
- svg:not(:root) {
109
- overflow: hidden;
110
- display: inline;
111
- }
112
-
113
- button,
114
- input {
115
- overflow: visible;
116
- outline: 0;
117
- }
118
-
119
- button,
120
- select {
121
- text-transform: none;
122
- }
123
-
124
- button,
125
- html [type="button"],
126
- [type="reset"],
127
- [type="submit"] {
128
- -webkit-appearance: button;
129
- }
130
-
131
- button::-moz-focus-inner,
132
- [type="button"]::-moz-focus-inner,
133
- [type="reset"]::-moz-focus-inner,
134
- [type="submit"]::-moz-focus-inner {
135
- border-style: none;
136
- padding: 0;
137
- }
138
-
139
- button:-moz-focusring,
140
- [type="button"]:-moz-focusring,
141
- [type="reset"]:-moz-focusring,
142
- [type="submit"]:-moz-focusring {
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;
158
- color: inherit;
159
- display: table;
160
- max-width: 100%;
161
- padding: 0;
162
- /* 3 */
163
- white-space: normal;
164
- }
165
-
166
- progress {
167
- display: inline-block;
168
- vertical-align: baseline;
169
- }
170
-
171
- textarea {
172
- overflow: auto;
173
- outline: 0;
174
- }
175
-
176
- [type="checkbox"],
177
- [type="radio"] {
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"] {
205
- -webkit-appearance: textfield;
206
- outline-offset: -2px;
207
- }
208
-
209
- [type="search"]::-webkit-search-cancel-button,
210
- [type="search"]::-webkit-search-decoration {
211
- -webkit-appearance: none;
212
- }
213
-
214
- ::-webkit-file-upload-button {
215
- -webkit-appearance: button;
216
- font: inherit;
217
- }
218
-
219
- details,
220
- menu {
221
- display: block;
222
- }
223
-
224
- summary {
225
- display: list-item;
226
- }
227
-
228
- canvas {
229
- display: inline-block;
230
- }
231
-
232
- template {
233
- display: none;
234
- }
235
-
236
- [hidden] {
237
- display: none;
238
- }
239
-
240
- /* TODO: Remove this when php part is done */
241
- .ast-separate-container .ast-article-post,
242
- .ast-separate-container .ast-article-single {
243
- padding: 0;
244
- border: none;
245
- background-color: transparent;
246
- }
247
-
248
- .ast-separate-container .comment-respond {
249
- padding: 0;
250
- background-color: transparent;
251
- }
252
-
253
-
254
- /*--------------------------------------------------------------
255
- == General
256
- --------------------------------------------------------------*/
257
- /*.wpr-float-align-left .wpr-nav-menu li {
258
- float: left;
259
- }
260
-
261
- .wpr-float-align-right .wpr-nav-menu li {
262
- float: right;
263
- }
264
-
265
- .wpr-float-align-center .wpr-nav-menu {
266
- width: auto;
267
- margin: 0 auto;
268
- }*/
269
-
270
-
271
- /* Hidden Element */
272
- .wpr-hidden-element {
273
- display: none !important;
274
- }
275
-
276
-
277
- /* Vertical Centering */
278
- .wpr-cv-container {
279
- display: block;
280
- width: 100%;
281
- height: 100%;
282
- position: absolute;
283
- left: 0;
284
- top: 0;
285
- z-index: 90;
286
- }
287
-
288
- .wpr-cv-outer {
289
- display: table;
290
- width: 100%;
291
- height: 100%;
292
- }
293
-
294
- .wpr-cv-inner {
295
- display: table-cell;
296
- vertical-align: middle;
297
- }
298
-
299
- .wpr-no-transition-delay {
300
- -webkit-transition-delay: 0s !important;
301
- -o-transition-delay: 0s !important;
302
- transition-delay: 0s !important;
303
- }
304
-
305
-
306
- /* Drop Caps */
307
- .wpr-enable-dropcap p:first-child:first-letter {
308
- float: left;
309
- padding-right: 10px;
310
- font-size: 50px;
311
- line-height: 1;
312
- }
313
-
314
-
315
- /* Tooltips */
316
- .wpr-tooltip {
317
- visibility: hidden;
318
- opacity: 0;
319
- position: absolute;
320
- top: 0;
321
- left: 0;
322
- -webkit-transform: translateY(-100%);
323
- -ms-transform: translateY(-100%);
324
- transform: translateY(-100%);
325
- padding: 6px 10px;
326
- border-radius: 4px;
327
- font-size: 15px;
328
- -webkit-transition: all 230ms ease-in-out 0s;
329
- -o-transition: all 230ms ease-in-out 0s;
330
- transition: all 230ms ease-in-out 0s;
331
- }
332
-
333
- .wpr-tooltip:before {
334
- content: "";
335
- position: absolute;
336
- left: 10px;
337
- bottom: -5px;
338
- width: 0;
339
- height: 0;
340
- border-left: 6px solid transparent;
341
- border-right: 6px solid transparent;
342
- border-top-style: solid;
343
- border-top-width: 6px;
344
- }
345
-
346
-
347
- /*--------------------------------------------------------------
348
- == Nav Menu
349
- --------------------------------------------------------------*/
350
- .wpr-nav-menu,
351
- .wpr-nav-menu ul,
352
- .wpr-mobile-nav-menu,
353
- .wpr-mobile-nav-menu ul {
354
- padding: 0;
355
- margin: 0;
356
- list-style: none;
357
- font-size: 0;
358
- }
359
-
360
- .wpr-nav-menu li {
361
- position: relative;
362
- }
363
-
364
- .wpr-nav-menu-horizontal .wpr-nav-menu>li {
365
- display: inline-block;
366
- }
367
-
368
- .wpr-nav-menu .wpr-menu-item {
369
- display: block;
370
- position: relative;
371
- z-index: 1;
372
- }
373
-
374
- .wpr-nav-menu li,
375
- .wpr-mobile-nav-menu li {
376
- font-size: 16px;
377
- line-height: 1;
378
- }
379
-
380
- .wpr-nav-menu-horizontal .wpr-nav-menu>li:first-child,
381
- .wpr-pointer-none .wpr-nav-menu-horizontal>li:first-child .wpr-menu-item,
382
- .wpr-pointer-line-fx .wpr-nav-menu-horizontal>li:first-child .wpr-menu-item {
383
- padding-left: 0 !important;
384
- margin-left: 0 !important;
385
- }
386
-
387
- .wpr-nav-menu-horizontal .wpr-nav-menu>li:last-child,
388
- .wpr-pointer-none .wpr-nav-menu-horizontal>li:last-child .wpr-menu-item,
389
- .wpr-pointer-line-fx .wpr-nav-menu-horizontal>li:last-child .wpr-menu-item {
390
- padding-right: 0 !important;
391
- margin-right: 0 !important;
392
- }
393
-
394
- div[class*="wpr-main-menu-align-"] .wpr-nav-menu-vertical .wpr-nav-menu>li>.wpr-sub-menu {
395
- left: 100%;
396
- }
397
-
398
- .wpr-main-menu-align-left .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,
399
- .wpr-main-menu-align-center .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon {
400
- right: 0;
401
- }
402
-
403
- .wpr-main-menu-align-right .wpr-nav-menu-vertical .wpr-sub-icon {
404
- left: 0;
405
- }
406
-
407
- .wpr-main-menu-align-left .wpr-nav-menu-horizontal .wpr-nav-menu,
408
- .wpr-main-menu-align-left .wpr-nav-menu-vertical .wpr-menu-item,
409
- .wpr-main-menu-align-left .wpr-nav-menu-vertical .wpr-sub-menu li a {
410
- text-align: left;
411
- }
412
-
413
- .wpr-main-menu-align-center .wpr-nav-menu-horizontal .wpr-nav-menu,
414
- .wpr-main-menu-align-center .wpr-nav-menu-vertical .wpr-menu-item {
415
- text-align: center;
416
- }
417
-
418
- .wpr-main-menu-align-right .wpr-nav-menu-horizontal .wpr-nav-menu,
419
- .wpr-main-menu-align-right .wpr-nav-menu-vertical .wpr-menu-item,
420
- .wpr-main-menu-align-right .wpr-nav-menu-vertical .wpr-sub-menu li a {
421
- text-align: right;
422
- }
423
-
424
- @media screen and ( min-width: 2400px) {
425
- .wpr-main-menu-align--widescreenleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,
426
- .wpr-main-menu-align--widescreencenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon {
427
- right: 0;
428
- }
429
- .wpr-main-menu-align--widescreenleft .wpr-nav-menu-horizontal .wpr-nav-menu,
430
- .wpr-main-menu-align--widescreenleft .wpr-nav-menu-vertical .wpr-menu-item {
431
- text-align: left;
432
- }
433
- .wpr-main-menu-align--widescreencenter .wpr-nav-menu-horizontal .wpr-nav-menu,
434
- .wpr-main-menu-align--widescreencenter .wpr-nav-menu-vertical .wpr-menu-item {
435
- text-align: center;
436
- }
437
- .wpr-main-menu-align--widescreenright .wpr-nav-menu-horizontal .wpr-nav-menu,
438
- .wpr-main-menu-align--widescreenright .wpr-nav-menu-vertical .wpr-menu-item {
439
- text-align: right;
440
- }
441
- }
442
-
443
- @media screen and ( max-width: 1221px) {
444
- .wpr-main-menu-align--laptopleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,
445
- .wpr-main-menu-align--laptopcenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon {
446
- right: 0;
447
- }
448
- .wpr-main-menu-align--laptopleft .wpr-nav-menu-horizontal .wpr-nav-menu,
449
- .wpr-main-menu-align--laptopleft .wpr-nav-menu-vertical .wpr-menu-item {
450
- text-align: left;
451
- }
452
- .wpr-main-menu-align--laptopcenter .wpr-nav-menu-horizontal .wpr-nav-menu,
453
- .wpr-main-menu-align--laptopcenter .wpr-nav-menu-vertical .wpr-menu-item {
454
- text-align: center;
455
- }
456
- .wpr-main-menu-align--laptopright .wpr-nav-menu-horizontal .wpr-nav-menu,
457
- .wpr-main-menu-align--laptopright .wpr-nav-menu-vertical .wpr-menu-item {
458
- text-align: right;
459
- }
460
- }
461
-
462
- @media screen and ( max-width: 1200px) {
463
- .wpr-main-menu-align--tablet_extraleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,
464
- .wpr-main-menu-align--tablet_extracenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon {
465
- right: 0;
466
- }
467
- .wpr-main-menu-align--tablet_extraleft .wpr-nav-menu-horizontal .wpr-nav-menu,
468
- .wpr-main-menu-align--tablet_extraleft .wpr-nav-menu-vertical .wpr-menu-item {
469
- text-align: left;
470
- }
471
- .wpr-main-menu-align--tablet_extracenter .wpr-nav-menu-horizontal .wpr-nav-menu,
472
- .wpr-main-menu-align--tablet_extracenter .wpr-nav-menu-vertical .wpr-menu-item {
473
- text-align: center;
474
- }
475
- .wpr-main-menu-align--tablet_extraright .wpr-nav-menu-horizontal .wpr-nav-menu,
476
- .wpr-main-menu-align--tablet_extraright .wpr-nav-menu-vertical .wpr-menu-item {
477
- text-align: right;
478
- }
479
- }
480
-
481
- @media screen and ( max-width: 1024px) {
482
- .wpr-main-menu-align--tabletleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,
483
- .wpr-main-menu-align--tabletcenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon {
484
- right: 0;
485
- }
486
- .wpr-main-menu-align--tabletleft .wpr-nav-menu-horizontal .wpr-nav-menu,
487
- .wpr-main-menu-align--tabletleft .wpr-nav-menu-vertical .wpr-menu-item {
488
- text-align: left;
489
- }
490
- .wpr-main-menu-align--tabletcenter .wpr-nav-menu-horizontal .wpr-nav-menu,
491
- .wpr-main-menu-align--tabletcenter .wpr-nav-menu-vertical .wpr-menu-item {
492
- text-align: center;
493
- }
494
- .wpr-main-menu-align--tabletright .wpr-nav-menu-horizontal .wpr-nav-menu,
495
- .wpr-main-menu-align--tabletright .wpr-nav-menu-vertical .wpr-menu-item {
496
- text-align: right;
497
- }
498
- }
499
-
500
- @media screen and ( max-width: 880px) {
501
- .wpr-main-menu-align--mobile_extraleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,
502
- .wpr-main-menu-align--mobile_extracenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon {
503
- right: 0;
504
- }
505
- .wpr-main-menu-align--mobile_extraleft .wpr-nav-menu-horizontal .wpr-nav-menu,
506
- .wpr-main-menu-align--mobile_extraleft .wpr-nav-menu-vertical .wpr-menu-item {
507
- text-align: left;
508
- }
509
- .wpr-main-menu-align--mobile_extracenter .wpr-nav-menu-horizontal .wpr-nav-menu,
510
- .wpr-main-menu-align--mobile_extracenter .wpr-nav-menu-vertical .wpr-menu-item {
511
- text-align: center;
512
- }
513
- .wpr-main-menu-align--mobile_extraright .wpr-nav-menu-horizontal .wpr-nav-menu,
514
- .wpr-main-menu-align--mobile_extraright .wpr-nav-menu-vertical .wpr-menu-item {
515
- text-align: right;
516
- }
517
- }
518
-
519
- @media screen and ( max-width: 767px) {
520
- .wpr-main-menu-align--mobileleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,
521
- .wpr-main-menu-align--mobilecenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon {
522
- right: 0;
523
- }
524
- .wpr-main-menu-align--mobileleft .wpr-nav-menu-horizontal .wpr-nav-menu,
525
- .wpr-main-menu-align--mobileleft .wpr-nav-menu-vertical .wpr-menu-item {
526
- text-align: left;
527
- }
528
- .wpr-main-menu-align--mobilecenter .wpr-nav-menu-horizontal .wpr-nav-menu,
529
- .wpr-main-menu-align--mobilecenter .wpr-nav-menu-vertical .wpr-menu-item {
530
- text-align: center;
531
- }
532
- .wpr-main-menu-align--mobileright .wpr-nav-menu-horizontal .wpr-nav-menu,
533
- .wpr-main-menu-align--mobileright .wpr-nav-menu-vertical .wpr-menu-item {
534
- text-align: right;
535
- }
536
- }
537
-
538
-
539
- /* --- Sub Menu --- */
540
- .wpr-nav-menu .wpr-sub-menu {
541
- display: none;
542
- position: absolute;
543
- z-index: 999;
544
- width: 180px;
545
- text-align: left;
546
- list-style: none;
547
- margin: 0;
548
- }
549
-
550
- .wpr-nav-menu-vertical .wpr-nav-menu>li>.wpr-sub-menu {
551
- top: 0;
552
- }
553
-
554
- .wpr-sub-menu-position-inline .wpr-nav-menu-vertical .wpr-sub-menu {
555
- position: static;
556
- width: 100% !important;
557
- text-align: center !important;
558
- margin-left: 0 !important;
559
- }
560
-
561
- .wpr-sub-menu-position-inline .wpr-sub-menu a {
562
- position: relative;
563
- }
564
-
565
- .wpr-nav-menu .wpr-sub-menu .wpr-sub-menu {
566
- top: 0;
567
- left: 100%;
568
- }
569
-
570
- .wpr-sub-menu .wpr-sub-menu-item {
571
- display: block;
572
- font-size: 14px;
573
- }
574
-
575
- .wpr-nav-menu-horizontal .wpr-menu-item .wpr-sub-icon {
576
- margin-left: 7px;
577
- text-indent: 0;
578
- }
579
-
580
- .wpr-sub-icon {
581
- position: absolute;
582
- top: 48%;
583
- transform: translateY(-50%);
584
- -ms-transform: translateY(-50%);
585
- -webkit-transform: translateY(-50%);
586
- }
587
-
588
- .wpr-sub-icon-rotate {
589
- -webkit-transform: rotate(-90deg) translateX(80%);
590
- -ms-transform: rotate(-90deg) translateX(80%);
591
- transform: rotate(-90deg) translateX(80%);
592
- }
593
-
594
- .wpr-sub-divider-yes .wpr-sub-menu li:not(:last-child) {
595
- border-bottom-style: solid;
596
- }
597
-
598
-
599
- /* Mobile Menu */
600
- .wpr-mobile-nav-menu,
601
- .wpr-mobile-nav-menu-container {
602
- display: none;
603
- }
604
-
605
- .wpr-mobile-nav-menu {
606
- position: absolute;
607
- z-index: 9999;
608
- }
609
-
610
- .wpr-mobile-menu-drdown-align-left .wpr-mobile-nav-menu {
611
- left: 0;
612
- }
613
-
614
- .wpr-mobile-menu-drdown-align-center .wpr-mobile-nav-menu {
615
- left: 50%;
616
- -webkit-transform: translateX(-50%);
617
- -ms-transform: translateX(-50%);
618
- transform: translateX(-50%);
619
- }
620
-
621
- .wpr-mobile-menu-drdown-align-right .wpr-mobile-nav-menu {
622
- right: 0;
623
- }
624
-
625
- .wpr-mobile-menu-item,
626
- .wpr-mobile-sub-menu-item {
627
- position: relative;
628
- }
629
-
630
- .wpr-mobile-menu-item,
631
- .wpr-mobile-sub-menu-item {
632
- display: block;
633
- }
634
-
635
- .wpr-mobile-sub-menu {
636
- display: none;
637
- }
638
-
639
- .wpr-mobile-nav-menu .menu-item-has-children>a:after {
640
- position: absolute;
641
- right: 0;
642
- top: 50%;
643
- transform: translateY(-50%);
644
- -ms-transform: translateY(-50%);
645
- -webkit-transform: translateY(-50%);
646
- }
647
-
648
- .wpr-mobile-menu-item-align-left .wpr-mobile-sub-menu a:before {
649
- content: ' ';
650
- display: inline-block;
651
- width: 10px;
652
- }
653
-
654
- .wpr-mobile-menu-item-align-left .wpr-mobile-sub-menu .wpr-mobile-sub-menu a:before {
655
- width: 20px;
656
- }
657
-
658
- .wpr-mobile-menu-item-align-center .wpr-mobile-nav-menu {
659
- text-align: center;
660
- }
661
-
662
- .wpr-mobile-menu-item-align-right .wpr-mobile-nav-menu {
663
- text-align: right;
664
- }
665
-
666
- .wpr-mobile-menu-item-align-right .wpr-mobile-nav-menu .menu-item-has-children>a:after {
667
- right: auto !important;
668
- left: 0;
669
- }
670
-
671
- div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after {
672
- font-family: "Font Awesome 5 Free";
673
- font-size: 12px;
674
- font-weight: 900;
675
- font-style: normal;
676
- text-decoration: none;
677
- line-height: 1;
678
- letter-spacing: 0;
679
- text-rendering: auto;
680
- -webkit-font-smoothing: antialiased;
681
- }
682
-
683
- .wpr-sub-icon-caret-down .wpr-sub-icon:before,
684
- .wpr-sub-icon-caret-down .wpr-mobile-nav-menu .menu-item-has-children>a:after {
685
- content: "\f0d7";
686
- }
687
-
688
- .wpr-sub-icon-angle-down .wpr-sub-icon:before,
689
- .wpr-sub-icon-angle-down .wpr-mobile-nav-menu .menu-item-has-children>a:after {
690
- content: "\f107";
691
- }
692
-
693
- .wpr-sub-icon-chevron-down .wpr-sub-icon:before,
694
- .wpr-sub-icon-chevron-down .wpr-mobile-nav-menu .menu-item-has-children>a:after {
695
- content: "\f078";
696
- }
697
-
698
- .wpr-sub-icon-plus .wpr-sub-icon:before,
699
- .wpr-sub-icon-plus .wpr-mobile-nav-menu .menu-item-has-children>a:after {
700
- content: "\f067";
701
- }
702
-
703
- .wpr-mobile-divider-yes .wpr-mobile-nav-menu a {
704
- border-bottom-style: solid;
705
- }
706
-
707
-
708
- /* Mobile Menu Toggle Button */
709
- .wpr-mobile-toggle-wrap {
710
- font-size: 0;
711
- line-height: 0;
712
- }
713
-
714
- .wpr-mobile-toggle {
715
- display: inline-block;
716
- padding: 7px;
717
- cursor: pointer;
718
- border-style: solid;
719
- text-align: center;
720
- }
721
-
722
- .wpr-mobile-toggle-line {
723
- display: block;
724
- width: 100%;
725
- }
726
-
727
- .wpr-mobile-toggle-line:last-child {
728
- margin-bottom: 0 !important;
729
- }
730
-
731
- .wpr-mobile-toggle-text {
732
- font-size: 16px;
733
- line-height: 1 !important;
734
- }
735
-
736
- .wpr-mobile-toggle-text:last-child {
737
- display: none;
738
- }
739
-
740
- .wpr-mobile-toggle-v2 .wpr-mobile-toggle-line:nth-child(2) {
741
- width: 78%;
742
- margin-left: 24%;
743
- }
744
-
745
- .wpr-mobile-toggle-v2 .wpr-mobile-toggle-line:nth-child(3) {
746
- width: 45%;
747
- margin-left: 57%;
748
- }
749
-
750
- .wpr-mobile-toggle-v3 .wpr-mobile-toggle-line:nth-child(2) {
751
- width: 75%;
752
- margin-left: 15%;
753
- }
754
-
755
- .wpr-mobile-toggle-v4 .wpr-mobile-toggle-line:nth-child(1),
756
- .wpr-mobile-toggle-v4 .wpr-mobile-toggle-line:nth-child(3) {
757
- width: 75%;
758
- margin-left: 25%;
759
- }
760
-
761
- .wpr-mobile-toggle-v4 .wpr-mobile-toggle-line:nth-child(2) {
762
- width: 75%;
763
- margin-right: 25%;
764
- }
765
-
766
- .wpr-mobile-toggle-v5 .wpr-mobile-toggle-line:nth-child(1) {
767
- display: none;
768
- }
769
-
770
- .wpr-nav-menu-bp-always .wpr-nav-menu-container {
771
- display: none;
772
- }
773
-
774
- .wpr-nav-menu-bp-always .wpr-mobile-nav-menu-container {
775
- display: block;
776
- }
777
-
778
- @media screen and ( max-width: 1025px) {
779
- .wpr-nav-menu-bp-tablet .wpr-nav-menu-container {
780
- display: none;
781
- }
782
- .wpr-nav-menu-bp-tablet .wpr-mobile-nav-menu-container {
783
- display: block;
784
- }
785
- }
786
-
787
- @media screen and ( max-width: 767px) {
788
- .wpr-nav-menu-bp-pro-nn .wpr-nav-menu-container,
789
- .wpr-nav-menu-bp-pro-al .wpr-nav-menu-container,
790
- .wpr-nav-menu-bp-mobile .wpr-nav-menu-container {
791
- display: none;
792
- }
793
- .wpr-nav-menu-bp-pro-nn .wpr-mobile-nav-menu-container,
794
- .wpr-nav-menu-bp-pro-al .wpr-mobile-nav-menu-container,
795
- .wpr-nav-menu-bp-mobile .wpr-mobile-nav-menu-container {
796
- display: block;
797
- }
798
- }
799
-
800
-
801
- /* Highlight Active */
802
- .wpr-pointer-line-fx .wpr-active-menu-item:before,
803
- .wpr-pointer-line-fx .wpr-active-menu-item:after,
804
- .wpr-pointer-border-fx .wpr-active-menu-item:before,
805
- .wpr-pointer-background-fx .wpr-active-menu-item:before {
806
- opacity: 1 !important;
807
- }
808
-
809
- .wpr-pointer-fx-none {
810
- -webkit-transition-duration: 0s !important;
811
- -o-transition-duration: 0s !important;
812
- transition-duration: 0s !important;
813
- }
814
-
815
- .wpr-pointer-overline.wpr-pointer-fx-slide .wpr-active-menu-item:before,
816
- .wpr-pointer-underline.wpr-pointer-fx-slide .wpr-active-menu-item:after,
817
- .wpr-pointer-double-line.wpr-pointer-fx-slide .wpr-active-menu-item:before,
818
- .wpr-pointer-double-line.wpr-pointer-fx-slide .wpr-active-menu-item:after,
819
- .wpr-pointer-overline.wpr-pointer-fx-grow .wpr-active-menu-item:before,
820
- .wpr-pointer-underline.wpr-pointer-fx-grow .wpr-active-menu-item:after,
821
- .wpr-pointer-double-line.wpr-pointer-fx-grow .wpr-active-menu-item:before,
822
- .wpr-pointer-double-line.wpr-pointer-fx-grow .wpr-active-menu-item:after {
823
- width: 100%;
824
- }
825
-
826
- .wpr-pointer-line-fx.wpr-pointer-fx-drop .wpr-active-menu-item:before {
827
- top: 0;
828
- }
829
-
830
- .wpr-pointer-line-fx.wpr-pointer-fx-drop .wpr-active-menu-item:after {
831
- bottom: 0;
832
- }
833
-
834
- .wpr-pointer-border-fx.wpr-pointer-fx-grow .wpr-active-menu-item:before,
835
- .wpr-pointer-border-fx.wpr-pointer-fx-shrink .wpr-active-menu-item:before,
836
- .wpr-pointer-background-fx.wpr-pointer-fx-grow .wpr-active-menu-item:before,
837
- .wpr-pointer-background-fx.wpr-pointer-fx-shrink .wpr-active-menu-item:before,
838
- .wpr-pointer-background-fx.wpr-pointer-fx-sweep .wpr-active-menu-item:before {
839
- -webkit-transform: scale(1);
840
- -ms-transform: scale(1);
841
- transform: scale(1);
842
- }
843
-
844
- .wpr-pointer-background-fx.wpr-pointer-fx-skew .wpr-active-menu-item:before {
845
- -webkit-transform: perspective(600px) rotateX(0deg);
846
- transform: perspective(600px) rotateX(0deg);
847
- }
848
-
849
-
850
- /* WP Default Fix */
851
- .wpr-mobile-nav-menu .sub-menu-toggle {
852
- display: none !important;
853
- }
854
-
855
-
856
- /* Defaults */
857
- .elementor-widget-wpr-nav-menu .wpr-nav-menu .wpr-menu-item,
858
- .elementor-widget-wpr-nav-menu .wpr-mobile-nav-menu a,
859
- .elementor-widget-wpr-nav-menu .wpr-mobile-toggle-text {
860
- line-height: 26px;
861
- }
862
-
863
- .elementor-widget-wpr-nav-menu .wpr-sub-menu .wpr-sub-menu-item {
864
- font-size: 14px;
865
- }
866
-
867
-
868
- /*--------------------------------------------------------------
869
- == Onepage Nav
870
- --------------------------------------------------------------*/
871
- .wpr-onepage-nav {
872
- position: fixed;
873
- z-index: 99999;
874
- display: -webkit-box;
875
- display: -ms-flexbox;
876
- display: flex;
877
- -webkit-box-orient: vertical;
878
- -webkit-box-direction: normal;
879
- -ms-flex-direction: column;
880
- flex-direction: column;
881
- -webkit-box-align: center;
882
- -ms-flex-align: center;
883
- align-items: center;
884
- -webkit-box-pack: center;
885
- -ms-flex-pack: center;
886
- justify-content: center;
887
- }
888
-
889
- .wpr-onepage-nav-item {
890
- position: relative;
891
- }
892
-
893
- .wpr-onepage-nav-item:last-child {
894
- margin-bottom: 0 !important;
895
- }
896
-
897
- .wpr-onepage-nav-vr-top .wpr-onepage-nav {
898
- top: 0;
899
- }
900
-
901
- .wpr-onepage-nav-vr-middle .wpr-onepage-nav {
902
- top: 50%;
903
- -ms-transform: translateY(-50%);
904
- transform: translateY(-50%);
905
- -webkit-transform: translateY(-50%);
906
- }
907
-
908
- .wpr-onepage-nav-vr-bottom .wpr-onepage-nav {
909
- bottom: 0;
910
- }
911
-
912
- .wpr-onepage-nav-hr-left .wpr-onepage-nav {
913
- left: 0;
914
- }
915
-
916
- .wpr-onepage-nav-hr-right .wpr-onepage-nav {
917
- right: 0;
918
- }
919
-
920
- .wpr-onepage-nav-item .wpr-tooltip {
921
- text-align: center;
922
- }
923
-
924
- .wpr-onepage-nav-item:hover .wpr-tooltip {
925
- opacity: 1;
926
- visibility: visible;
927
- }
928
-
929
- .wpr-onepage-nav-hr-left .wpr-onepage-nav-item:hover .wpr-tooltip {
930
- -ms-transform: translate(10%, -50%);
931
- transform: translate(10%, -50%);
932
- -webkit-transform: translate(10%, -50%);
933
- }
934
-
935
- .wpr-onepage-nav-hr-left .wpr-onepage-nav-item .wpr-tooltip {
936
- top: 50%;
937
- left: 100%;
938
- -ms-transform: translate(20%, -50%);
939
- transform: translate(20%, -50%);
940
- -webkit-transform: translate(20%, -50%);
941
- }
942
-
943
- .wpr-onepage-nav-hr-left .wpr-onepage-nav-item .wpr-tooltip:before {
944
- left: auto;
945
- left: -8px;
946
- top: 50%;
947
- -webkit-transform: translateY(-50%) rotate(90deg);
948
- -ms-transform: translateY(-50%) rotate(90deg);
949
- transform: translateY(-50%) rotate(90deg);
950
- }
951
-
952
- .wpr-onepage-nav-hr-right .wpr-onepage-nav-item:hover .wpr-tooltip {
953
- -ms-transform: translate(-110%, -50%);
954
- transform: translate(-110%, -50%);
955
- -webkit-transform: translate(-110%, -50%);
956
- }
957
-
958
- .wpr-onepage-nav-hr-right .wpr-onepage-nav-item .wpr-tooltip {
959
- top: 50%;
960
- left: 0;
961
- -ms-transform: translate(-120%, -50%);
962
- transform: translate(-120%, -50%);
963
- -webkit-transform: translate(-120%, -50%);
964
- }
965
-
966
- .wpr-onepage-nav-hr-right .wpr-onepage-nav-item .wpr-tooltip:before {
967
- left: auto;
968
- right: -8px;
969
- top: 50%;
970
- -webkit-transform: translateY(-50%) rotate(-90deg);
971
- -ms-transform: translateY(-50%) rotate(-90deg);
972
- transform: translateY(-50%) rotate(-90deg);
973
- }
974
-
975
-
976
- /* Defaults */
977
- .elementor-widget-wpr-onepage-nav .wpr-onepage-nav {
978
- background-color: #605BE5;
979
- -webkit-box-shadow: 0px 0px 15px 0px #D7D7D7;
980
- box-shadow: 0px 0px 15px 0px #D7D7D7;
981
- }
982
-
983
- .elementor-widget-wpr-onepage-nav .wpr-onepage-nav-item .wpr-tooltip {
984
- font-size: 14px;
985
- }
986
-
987
-
988
- /*--------------------------------------------------------------
989
- == Single Post Elements
990
- --------------------------------------------------------------*/
991
- .wpr-post-title,
992
- .wpr-archive-title,
993
- .wpr-author-box-name,
994
- .wpr-author-box-title {
995
- margin: 0;
996
- }
997
-
998
- .wpr-archive-title:after {
999
- content: ' ';
1000
- display: block;
1001
- }
1002
-
1003
- /* Featured Media */
1004
- .wpr-featured-media-image {
1005
- position: relative;
1006
- display: inline-block;
1007
- vertical-align: middle;
1008
- }
1009
-
1010
- .wpr-featured-media-caption {
1011
- position: absolute;
1012
- display: -webkit-box;
1013
- display: -ms-flexbox;
1014
- display: flex;
1015
- width: 100%;
1016
- height: 100%;
1017
- }
1018
-
1019
- .wpr-featured-media-caption span {
1020
- display: inline-block;
1021
- }
1022
-
1023
- /* [data-caption="standard"],
1024
- [data-caption="gallery"]*/
1025
- .wpr-fm-image-caption-hover .wpr-featured-media-caption,
1026
- .wpr-fm-image-caption-hover .wpr-featured-media-caption {
1027
- opacity: 0;
1028
- -webkit-transition-property: opacity;
1029
- -o-transition-property: opacity;
1030
- transition-property: opacity;
1031
- }
1032
-
1033
- /* [data-caption="standard"],
1034
- [data-caption="gallery"] */
1035
- .wpr-fm-image-caption-hover:hover .wpr-featured-media-caption,
1036
- .wpr-fm-image-caption-hover:hover .wpr-featured-media-caption {
1037
- opacity: 1;
1038
- }
1039
-
1040
- .wpr-gallery-slider {
1041
- opacity: 0;
1042
- }
1043
-
1044
- .wpr-gallery-lightbox-yes .wpr-featured-media-image {
1045
- cursor: pointer;
1046
- }
1047
-
1048
- .wpr-gallery-slide img {
1049
- margin: 0 auto;
1050
- }
1051
-
1052
-
1053
- /* Gallery Slider Navigation */
1054
- .wpr-gallery-slider-arrows-wrap {
1055
- position: absolute;
1056
- top: 50%;
1057
- -webkit-transform: translateY(-50%);
1058
- -ms-transform: translateY(-50%);
1059
- transform: translateY(-50%);
1060
- left: 0;
1061
- z-index: 1;
1062
- width: 100%;
1063
- display: -webkit-box;
1064
- display: -ms-flexbox;
1065
- display: flex;
1066
- -webkit-box-pack: justify;
1067
- -ms-flex-pack: justify;
1068
- justify-content: space-between;
1069
- -webkit-box-align: center;
1070
- -ms-flex-align: center;
1071
- align-items: center;
1072
- }
1073
-
1074
- .wpr-thumbnail-slider-arrows-wrap {
1075
- position: absolute;
1076
- top: 90%;
1077
- left: 0;
1078
- z-index: 1;
1079
- width: 100%;
1080
- display: -webkit-box;
1081
- display: -ms-flexbox;
1082
- display: flex;
1083
- -webkit-box-pack: justify;
1084
- -ms-flex-pack: justify;
1085
- justify-content: space-between;
1086
- -webkit-box-align: center;
1087
- -ms-flex-align: center;
1088
- align-items: center;
1089
- }
1090
-
1091
- .wpr-gallery-slider-arrow,
1092
- .wpr-thumbnail-slider-arrow {
1093
- position: absolute;
1094
- top: 50%;
1095
- display: -webkit-box;
1096
- display: -ms-flexbox;
1097
- display: flex;
1098
- -webkit-box-pack: center;
1099
- -ms-flex-pack: center;
1100
- justify-content: center;
1101
- -webkit-box-align: center;
1102
- -ms-flex-align: center;
1103
- align-items: center;
1104
- z-index: 120;
1105
- -webkit-box-sizing: content-box;
1106
- box-sizing: content-box;
1107
- -webkit-transition: all .5s;
1108
- -o-transition: all .5s;
1109
- transition: all .5s;
1110
- text-align: center;
1111
- cursor: pointer;
1112
- }
1113
-
1114
- .wpr-gallery-slider-arrow i,
1115
- .wpr-thumbnail-slider-arrow i {
1116
- display: block;
1117
- width: 100%;
1118
- /* height: 100%; */
1119
- line-height: inherit;
1120
- }
1121
-
1122
- .wpr-gallery-slider-arrow {
1123
- -webkit-transform: translateY(-50%);
1124
- -ms-transform: translateY(-50%);
1125
- transform: translateY(-50%);
1126
- }
1127
-
1128
- .wpr-product-media-slider-nav-fade .wpr-gallery-slider-arrow {
1129
- opacity: 0;
1130
- visibility: hidden;
1131
- }
1132
-
1133
- .wpr-product-media-slider-nav-fade .wpr-gallery-slider:hover .wpr-gallery-slider-arrow {
1134
- opacity: 1;
1135
- visibility: visible;
1136
- }
1137
-
1138
- .wpr-gallery-slider-nav-fade .wpr-gallery-slider-arrow {
1139
- opacity: 0;
1140
- visibility: hidden;
1141
- }
1142
-
1143
- .wpr-gallery-slider-nav-fade .flex-viewport:hover .wpr-gallery-slider-arrow {
1144
- opacity: 1;
1145
- visibility: visible;
1146
- }
1147
-
1148
- /* styles for product gallery from woo-builder */
1149
- .wpr-thumbnail-slider-arrow {
1150
- -webkit-transform: translateY(-50%);
1151
- -ms-transform: translateY(-50%);
1152
- transform: translateY(-50%);
1153
- }
1154
-
1155
- .wpr-thumbnail-slider-nav-fade .wpr-thumbnail-slider-arrow {
1156
- opacity: 0;
1157
- visibility: hidden;
1158
- }
1159
-
1160
- .wpr-thumbnail-slider-nav-fade .wpr-product-thumb-nav:hover .wpr-thumbnail-slider-arrow {
1161
- opacity: 1;
1162
- visibility: visible;
1163
- }
1164
-
1165
- .wpr-product-media-lightbox {
1166
- position: absolute;
1167
- top: 0;
1168
- right: 0;
1169
- z-index: 9;
1170
- display: -webkit-box;
1171
- display: -ms-flexbox;
1172
- display: flex;
1173
- -webkit-box-align: center;
1174
- -ms-flex-align: center;
1175
- align-items: center;
1176
- -webkit-box-pack: center;
1177
- -ms-flex-pack: center;
1178
- justify-content: center;
1179
- }
1180
-
1181
- /* Gallery Slider Pagination */
1182
- .wpr-gallery-slider-dots {
1183
- position: absolute;
1184
- display: inline-table;
1185
- -webkit-transform: translate(-50%, -50%);
1186
- -ms-transform: translate(-50%, -50%);
1187
- transform: translate(-50%, -50%);
1188
- z-index: 110;
1189
- }
1190
-
1191
- .wpr-gallery-slider-dots ul {
1192
- list-style: none;
1193
- margin: 0;
1194
- padding: 0;
1195
- }
1196
-
1197
- .wpr-gallery-slider-dots li {
1198
- float: left;
1199
- }
1200
-
1201
- .wpr-gallery-slider-dot {
1202
- display: block;
1203
- cursor: pointer;
1204
- }
1205
-
1206
- .wpr-gallery-slider-dots li:last-child .wpr-gallery-slider-dot {
1207
- margin: 0 !important;
1208
- }
1209
-
1210
-
1211
- /* Author Box */
1212
- .wpr-author-box-image {
1213
- display: inline-block;
1214
- overflow: hidden;
1215
- }
1216
-
1217
- .wpr-author-box-arrange-left .wpr-author-box {
1218
- display: -webkit-box;
1219
- display: -ms-flexbox;
1220
- display: flex;
1221
- }
1222
-
1223
- .wpr-author-box-arrange-right .wpr-author-box {
1224
- display: -webkit-box;
1225
- display: -ms-flexbox;
1226
- display: flex;
1227
- -webkit-box-orient: horizontal;
1228
- -webkit-box-direction: reverse;
1229
- -ms-flex-direction: row-reverse;
1230
- flex-direction: row-reverse;
1231
- }
1232
-
1233
- .wpr-author-box-arrange-left .wpr-author-box-image,
1234
- .wpr-author-box-arrange-right .wpr-author-box-image {
1235
- -ms-flex-negative: 0;
1236
- flex-shrink: 0;
1237
- }
1238
-
1239
- .wpr-author-box-arrange-left .wpr-author-box-text,
1240
- .wpr-author-box-arrange-right .wpr-author-box-text {
1241
- -webkit-box-flex: 1;
1242
- -ms-flex-positive: 1;
1243
- flex-grow: 1;
1244
- }
1245
-
1246
- .wpr-author-box-btn {
1247
- display: inline-block;
1248
- }
1249
-
1250
-
1251
- /* Post Navigation */
1252
- .wpr-post-navigation-wrap {
1253
- display: -webkit-box;
1254
- display: -ms-flexbox;
1255
- display: flex;
1256
- }
1257
-
1258
- .wpr-posts-navigation-svg-wrapper {
1259
- display: -webkit-box;
1260
- display: -ms-flexbox;
1261
- display: flex;
1262
- -webkit-box-align: center;
1263
- -ms-flex-align: center;
1264
- align-items: center;
1265
- -webkit-box-pack: center;
1266
- -ms-flex-pack: center;
1267
- justify-content: center;
1268
- }
1269
-
1270
- .wpr-post-navigation-wrap>div:last-child {
1271
- margin-right: 0 !important;
1272
- }
1273
-
1274
- .wpr-post-nav-fixed-default-wrap {
1275
- position: fixed;
1276
- bottom: 0;
1277
- z-index: 999;
1278
- }
1279
-
1280
- .wpr-post-nav-fixed.wpr-post-navigation {
1281
- position: fixed;
1282
- -webkit-transform: translateY(-50%);
1283
- -ms-transform: translateY(-50%);
1284
- transform: translateY(-50%);
1285
- z-index: 999;
1286
- }
1287
-
1288
- .wpr-post-nav-fixed.wpr-post-navigation a {
1289
- display: block;
1290
- }
1291
-
1292
- .wpr-post-nav-fixed.wpr-post-navigation img {
1293
- position: absolute;
1294
- top: 0;
1295
- max-width: none;
1296
- }
1297
-
1298
- .wpr-post-nav-fixed.wpr-post-nav-prev {
1299
- left: 0;
1300
- }
1301
-
1302
- .wpr-post-nav-fixed.wpr-post-nav-next {
1303
- right: 0;
1304
- }
1305
-
1306
- .wpr-post-nav-fixed.wpr-post-nav-hover img {
1307
- opacity: 0;
1308
- }
1309
-
1310
- .wpr-post-nav-fixed.wpr-post-nav-hover.wpr-post-nav-prev img {
1311
- -webkit-transform: perspective(600px) rotateY(90deg);
1312
- transform: perspective(600px) rotateY(90deg);
1313
- -webkit-transform-origin: center left 0;
1314
- -ms-transform-origin: center left 0;
1315
- transform-origin: center left 0;
1316
- }
1317
-
1318
- .wpr-post-nav-fixed.wpr-post-nav-hover.wpr-post-nav-next img {
1319
- -webkit-transform: perspective(600px) rotateY(-90deg);
1320
- transform: perspective(600px) rotateY(-90deg);
1321
- -webkit-transform-origin: center right 0;
1322
- -ms-transform-origin: center right 0;
1323
- transform-origin: center right 0;
1324
- }
1325
-
1326
- .wpr-post-nav-fixed.wpr-post-nav-hover:hover img {
1327
- opacity: 1;
1328
- position: absolute;
1329
- -webkit-transform: none;
1330
- -ms-transform: none;
1331
- transform: none;
1332
- }
1333
-
1334
- .wpr-post-nav-static.wpr-post-navigation {
1335
- width: 50%;
1336
- }
1337
-
1338
- .wpr-post-navigation {
1339
- -webkit-box-flex: 1;
1340
- -ms-flex-positive: 1;
1341
- flex-grow: 1;
1342
- background-size: cover;
1343
- background-position: center center;
1344
- background-repeat: no-repeat;
1345
- }
1346
-
1347
- .wpr-post-navigation {
1348
- position: relative;
1349
- }
1350
-
1351
- .wpr-post-navigation a {
1352
- position: relative;
1353
- z-index: 2;
1354
- }
1355
-
1356
- .wpr-post-nav-overlay {
1357
- position: absolute;
1358
- top: 0;
1359
- left: 0;
1360
- width: 100%;
1361
- height: 100%;
1362
- -webkit-transition: all 0.3s ease-in 0s;
1363
- -o-transition: all 0.3s ease-in 0s;
1364
- transition: all 0.3s ease-in 0s;
1365
- }
1366
-
1367
- .wpr-post-nav-back {
1368
- -ms-flex-item-align: center;
1369
- -ms-grid-row-align: center;
1370
- align-self: center;
1371
- font-size: 30px;
1372
- }
1373
-
1374
- .wpr-post-navigation a {
1375
- display: -webkit-box;
1376
- display: -ms-flexbox;
1377
- display: flex;
1378
- -webkit-box-align: center;
1379
- -ms-flex-align: center;
1380
- align-items: center;
1381
- }
1382
-
1383
- .wpr-post-nav-next a {
1384
- -webkit-box-pack: end;
1385
- -ms-flex-pack: end;
1386
- justify-content: flex-end;
1387
- }
1388
-
1389
- .wpr-post-nav-labels {
1390
- min-width: 0;
1391
- }
1392
-
1393
- .wpr-post-nav-labels h5 {
1394
- display: -webkit-box;
1395
- display: -ms-flexbox;
1396
- display: flex;
1397
- overflow: hidden;
1398
- white-space: nowrap;
1399
- -ms-text-overflow: ellipsis;
1400
- -o-text-overflow: ellipsis;
1401
- text-overflow: ellipsis;
1402
- }
1403
-
1404
- .wpr-post-nav-labels span {
1405
- display: -webkit-box;
1406
- display: -ms-flexbox;
1407
- display: flex;
1408
- }
1409
-
1410
- .wpr-post-nav-next .wpr-post-nav-labels > span,
1411
- .wpr-post-nav-next .wpr-post-nav-labels h5 {
1412
- -webkit-box-pack: end;
1413
- -ms-flex-pack: end;
1414
- justify-content: flex-end;
1415
- }
1416
-
1417
- .wpr-post-navigation i {
1418
- text-align: center;
1419
- }
1420
-
1421
- .wpr-post-nav-dividers {
1422
- padding: 10px 0;
1423
- border-top: 1px solid #000;
1424
- border-bottom: 1px solid #000;
1425
- }
1426
-
1427
- .wpr-post-nav-divider {
1428
- -ms-flex-item-align: stretch;
1429
- -ms-grid-row-align: stretch;
1430
- align-self: stretch;
1431
- -ms-flex-negative: 0;
1432
- flex-shrink: 0;
1433
- }
1434
-
1435
- .wpr-post-nav-dividers.wpr-post-navigation-wrap {
1436
- padding-left: 0 !important;
1437
- padding-right: 0 !important;
1438
- }
1439
-
1440
- .wpr-post-nav-back a {
1441
- display: -webkit-box;
1442
- display: -ms-flexbox;
1443
- display: flex;
1444
- -webkit-box-orient: horizontal;
1445
- -webkit-box-direction: normal;
1446
- -ms-flex-flow: row wrap;
1447
- flex-flow: row wrap;
1448
- -webkit-box-pack: center;
1449
- -ms-flex-pack: center;
1450
- justify-content: center;
1451
- font-size: 0;
1452
- }
1453
-
1454
- .wpr-post-nav-back span {
1455
- display: inline-block;
1456
- border-style: solid;
1457
- }
1458
-
1459
- .wpr-post-nav-back span:nth-child(2n) {
1460
- margin-right: 0 !important;
1461
- }
1462
-
1463
-
1464
- /* Post Info */
1465
- .wpr-post-info {
1466
- padding: 0;
1467
- margin: 0;
1468
- list-style: none;
1469
- }
1470
-
1471
- .wpr-post-info li {
1472
- position: relative;
1473
- }
1474
-
1475
- .wpr-post-info-horizontal li {
1476
- display: inline-block;
1477
- }
1478
-
1479
- .wpr-post-info-horizontal li:last-child {
1480
- padding-right: 0 !important;
1481
- }
1482
-
1483
- .wpr-post-info-vertical li:last-child {
1484
- padding-bottom: 0 !important;
1485
- }
1486
-
1487
- .wpr-post-info li .wpr-post-info-text {
1488
- display: inline-block;
1489
- text-align: left !important;
1490
- }
1491
-
1492
- .wpr-post-info li:after {
1493
- content: ' ';
1494
- display: inline-block;
1495
- position: absolute;
1496
- }
1497
-
1498
- .wpr-post-info li:last-child:after {
1499
- display: none;
1500
- }
1501
-
1502
- .wpr-post-info-horizontal li:after {
1503
- top: 50%;
1504
- -webkit-transform: translateY(-50%);
1505
- -ms-transform: translateY(-50%);
1506
- transform: translateY(-50%);
1507
- }
1508
-
1509
- .wpr-post-info-vertical li:after {
1510
- bottom: 0;
1511
- }
1512
-
1513
- .wpr-post-info-align-left .wpr-post-info-vertical li:after {
1514
- left: 0;
1515
- }
1516
-
1517
- .wpr-post-info-align-center .wpr-post-info-vertical li:after {
1518
- left: 50%;
1519
- -webkit-transform: translateX(-50%);
1520
- -ms-transform: translateX(-50%);
1521
- transform: translateX(-50%);
1522
- }
1523
-
1524
- .wpr-post-info-align-right .wpr-post-info-vertical li:after {
1525
- right: 0;
1526
- }
1527
-
1528
- .wpr-post-info-text span {
1529
- display: inline-block;
1530
- }
1531
-
1532
- .wpr-post-info-author img {
1533
- display: inline-block;
1534
- margin-right: 10px;
1535
- vertical-align: middle;
1536
- }
1537
-
1538
- .wpr-post-info-custom-field a,
1539
- .wpr-post-info-custom-field span {
1540
- display: inline-block;
1541
- }
1542
-
1543
-
1544
- /* Post Comments */
1545
- .wpr-comments-list,
1546
- .wpr-comments-list ul.children {
1547
- list-style: none;
1548
- padding: 0;
1549
- margin: 0;
1550
- }
1551
-
1552
- .wpr-comment-avatar {
1553
- float: left;
1554
- overflow: hidden;
1555
- }
1556
-
1557
- .wpr-comment-avatar img {
1558
- margin: 0 !important;
1559
- position: static !important;
1560
- }
1561
-
1562
- .wpr-comment-metadata>* {
1563
- display: inline-block;
1564
- }
1565
-
1566
- .wpr-comment-metadata p {
1567
- display: block;
1568
- }
1569
-
1570
- .wpr-comments-wrap .comment-reply-link {
1571
- float: none !important;
1572
- }
1573
-
1574
- .wpr-comment-reply-separate.wpr-comment-reply-align-right .wpr-comment-reply {
1575
- text-align: right;
1576
- }
1577
-
1578
- .wpr-comment-reply-inline.wpr-comment-reply-align-right .wpr-comment-reply {
1579
- float: right;
1580
- }
1581
-
1582
- .wpr-comment-reply-inline.wpr-comment-reply-align-left .wpr-comment-reply:before {
1583
- content: '\00a0|\00a0';
1584
- }
1585
-
1586
- .wpr-comment-reply a,
1587
- .wpr-comments-navigation a,
1588
- .wpr-comments-navigation span {
1589
- display: inline-block;
1590
- }
1591
-
1592
- .wpr-comments-navigation-center,
1593
- .wpr-comments-navigation-justify {
1594
- text-align: center;
1595
- }
1596
-
1597
- .wpr-comments-navigation-left {
1598
- text-align: left;
1599
- }
1600
-
1601
- .wpr-comments-navigation-right {
1602
- text-align: right;
1603
- }
1604
-
1605
- .wpr-comments-navigation-justify a.prev {
1606
- float: left;
1607
- }
1608
-
1609
- .wpr-comments-navigation-justify a.next {
1610
- float: right;
1611
- }
1612
-
1613
- .wpr-comment-form .comment-notes {
1614
- display: none;
1615
- }
1616
-
1617
- .wpr-comment-form-text,
1618
- .wpr-comment-form-text textarea,
1619
- .wpr-comment-form-author input,
1620
- .wpr-comment-form-email input,
1621
- .wpr-comment-form-url input {
1622
- display: block;
1623
- width: 100%;
1624
- }
1625
-
1626
- .wpr-comment-form {
1627
- display: -webkit-box;
1628
- display: -ms-flexbox;
1629
- display: flex;
1630
- -webkit-box-orient: vertical;
1631
- -webkit-box-direction: normal;
1632
- -ms-flex-direction: column;
1633
- flex-direction: column;
1634
- }
1635
-
1636
- .wpr-comment-form label {
1637
- margin-bottom: 10px;
1638
- }
1639
-
1640
- .wpr-comment-form-fields {
1641
- display: -webkit-box;
1642
- display: -ms-flexbox;
1643
- display: flex;
1644
- }
1645
-
1646
- .wpr-cf-no-url .wpr-comment-form-email {
1647
- margin-right: 0 !important;
1648
- }
1649
-
1650
- .wpr-cf-style-1 .wpr-comment-form-fields,
1651
- .wpr-cf-style-4 .wpr-comment-form-fields {
1652
- display: block;
1653
- }
1654
-
1655
- .wpr-comment-form .wpr-comment-form-fields>div {
1656
- width: 100%;
1657
- }
1658
-
1659
- .wpr-cf-style-2 .wpr-comment-form-fields,
1660
- .wpr-cf-style-5 .wpr-comment-form-fields,
1661
- .wpr-comment-form[class*="wpr-cf-pro"] .wpr-comment-form-fields {
1662
- display: block;
1663
- width: 60%;
1664
- }
1665
-
1666
- .wpr-cf-style-2 .wpr-comment-form-fields > div,
1667
- .wpr-cf-style-5 .wpr-comment-form-fields > div,
1668
- .wpr-comment-form[class*="wpr-cf-pro"] > div {
1669
- margin-right: 0 !important;
1670
- }
1671
-
1672
- .wpr-cf-style-4.wpr-comment-form .wpr-comment-form-fields,
1673
- .wpr-cf-style-5.wpr-comment-form .wpr-comment-form-fields,
1674
- .wpr-cf-style-6.wpr-comment-form .wpr-comment-form-fields,
1675
- .wpr-comment-form[class*="wpr-cf-pro"] .wpr-comment-form-fields {
1676
- -webkit-box-ordinal-group: 0;
1677
- -ms-flex-order: -1;
1678
- order: -1;
1679
- }
1680
-
1681
- .wpr-submit-comment {
1682
- cursor: pointer;
1683
- }
1684
-
1685
- .wpr-comments-list .comment-respond {
1686
- margin-bottom: 30px;
1687
- }
1688
-
1689
- /*--------------------------------------------------------------
1690
- == Grid
1691
- --------------------------------------------------------------*/
1692
- .wpr-grid {
1693
- opacity: 0;
1694
- }
1695
-
1696
- .wpr-grid-item {
1697
- padding: 0 !important;
1698
- float: left;
1699
- position: relative;
1700
- text-align: center;
1701
- }
1702
-
1703
- .wpr-grid-item,
1704
- .wpr-grid-item * {
1705
- outline: none !important;
1706
- }
1707
-
1708
- .wpr-grid-last-row {
1709
- margin-bottom: 0 !important;
1710
- }
1711
-
1712
- .wpr-grid-item-above-content {
1713
- border-bottom: 0 !important;
1714
- border-bottom-left-radius: 0 !important;
1715
- border-bottom-right-radius: 0 !important;
1716
- }
1717
-
1718
- .wpr-grid:not([data-settings*="list"]) .wpr-grid-item-below-content {
1719
- border-top: 0 !important;
1720
- border-top-left-radius: 0 !important;
1721
- border-top-right-radius: 0 !important;
1722
- }
1723
-
1724
- .wpr-grid-item-inner,
1725
- .wpr-grid-media-wrap {
1726
- position: relative;
1727
- }
1728
-
1729
- .wpr-grid-image-wrap {
1730
- overflow: hidden;
1731
- }
1732
-
1733
- .wpr-grid-image-wrap img {
1734
- display: block;
1735
- width: 100%;
1736
- }
1737
-
1738
- .wpr-grid-media-hover {
1739
- position: absolute;
1740
- top: 0;
1741
- left: 0;
1742
- width: 100%;
1743
- height: 100%;
1744
- overflow: hidden;
1745
- }
1746
-
1747
- .wpr-grid-media-hover-top {
1748
- position: absolute;
1749
- top: 0;
1750
- left: 0;
1751
- width: 100%;
1752
- z-index: 2;
1753
- }
1754
-
1755
- .wpr-grid-media-hover-bottom {
1756
- position: absolute;
1757
- bottom: 0;
1758
- left: 0;
1759
- width: 100%;
1760
- z-index: 2;
1761
- }
1762
-
1763
- .wpr-grid-media-hover-middle {
1764
- position: relative;
1765
- z-index: 2;
1766
- }
1767
-
1768
- .wpr-grid .wpr-cv-container,
1769
- .wpr-magazine-grid .wpr-cv-container {
1770
- z-index: 1;
1771
- }
1772
-
1773
- .wpr-grid-item-display-block {
1774
- clear: both;
1775
- }
1776
-
1777
- .wpr-grid-item-display-inline.wpr-grid-item-align-left,
1778
- .wpr-grid-item-display-custom.wpr-grid-item-align-left {
1779
- float: left;
1780
- }
1781
-
1782
- .wpr-grid-item-display-inline.wpr-grid-item-align-right,
1783
- .wpr-grid-item-display-custom.wpr-grid-item-align-right {
1784
- float: right;
1785
- }
1786
-
1787
- .wpr-grid-item-display-inline.wpr-grid-item-align-center,
1788
- .wpr-grid-item-display-custom.wpr-grid-item-align-center {
1789
- float: none;
1790
- display: inline-block;
1791
- vertical-align: middle;
1792
- }
1793
-
1794
-
1795
- /*.wpr-grid-item-display-custom .inner-block { //tmp - maybe remove? need to check
1796
- text-align: center;
1797
- }*/
1798
-
1799
- .wpr-grid-item-title .inner-block a,
1800
- .wpr-grid-item-date .inner-block>span,
1801
- .wpr-grid-item-time .inner-block>span,
1802
- .wpr-grid-item-author .inner-block a,
1803
- .wpr-grid-item-comments .inner-block a,
1804
- .wpr-grid-item-read-more .inner-block a,
1805
- .wpr-grid-item-likes .inner-block a,
1806
- .wpr-grid-item-sharing .inner-block>span,
1807
- .wpr-grid-item-lightbox .inner-block>span,
1808
- .wpr-grid-product-categories .inner-block a,
1809
- .wpr-grid-product-tags .inner-block a,
1810
- .wpr-grid-tax-style-1 .inner-block a,
1811
- .wpr-grid-tax-style-2 .inner-block a,
1812
- .wpr-grid-cf-style-1 .inner-block>a,
1813
- .wpr-grid-cf-style-1 .inner-block>span,
1814
- .wpr-grid-cf-style-2 .inner-block>a,
1815
- .wpr-grid-cf-style-2 .inner-block>span,
1816
- .wpr-grid-sep-style-1 .inner-block>span,
1817
- .wpr-grid-sep-style-2 .inner-block>span,
1818
- .wpr-grid-item-status .inner-block>span,
1819
- .wpr-grid-item-price .inner-block>span,
1820
- .wpr-grid-item-add-to-cart .inner-block>a,
1821
- .wpr-grid-item-read-more .inner-block a {
1822
- display: inline-block;
1823
- }
1824
-
1825
- .wpr-grid-item-display-custom.wpr-grid-item-title .inner-block a,
1826
- .wpr-grid-item-display-custom.wpr-grid-item-date .inner-block>span,
1827
- .wpr-grid-item-display-custom.wpr-grid-item-time .inner-block>span,
1828
- .wpr-grid-item-display-custom.wpr-grid-item-comments .inner-block a,
1829
- .wpr-grid-item-display-custom.wpr-grid-item-read-more .inner-block a,
1830
- .wpr-grid-item-display-custom.wpr-grid-item-likes .inner-block a,
1831
- .wpr-grid-item-display-custom.wpr-grid-item-sharing .inner-block>span,
1832
- .wpr-grid-item-display-custom.wpr-grid-item-lightbox .inner-block>span,
1833
- .wpr-grid-item-display-custom.wpr-grid-cf-style-1 .inner-block>a,
1834
- .wpr-grid-item-display-custom.wpr-grid-cf-style-1 .inner-block>span,
1835
- .wpr-grid-item-display-custom.wpr-grid-cf-style-2 .inner-block>a,
1836
- .wpr-grid-item-display-custom.wpr-grid-cf-style-2 .inner-block>span,
1837
- .wpr-grid-item-display-custom.wpr-grid-sep-style-1 .inner-block>span,
1838
- .wpr-grid-item-display-custom.wpr-grid-sep-style-2 .inner-block>span,
1839
- .wpr-grid-item-display-custom.wpr-grid-item-product-status .inner-block>span,
1840
- .wpr-grid-item-display-custom.wpr-grid-item-product-price .inner-block>span,
1841
- .wpr-grid-item-display-custom.wpr-grid-item-add-to-cart .inner-block>a,
1842
- .wpr-grid-item-display-custom.wpr-grid-item-read-more .inner-block a {
1843
- width: 100%;
1844
- }
1845
-
1846
- .wpr-grid-item-content .inner-block,
1847
- .wpr-grid-item-excerpt .inner-block {
1848
- display: inline-block;
1849
- }
1850
-
1851
- .wpr-grid-item-excerpt .inner-block p {
1852
- margin: 0 !important;
1853
- }
1854
-
1855
-
1856
- /* Image Overlay */
1857
- .wpr-grid-media-hover-bg {
1858
- position: absolute;
1859
- }
1860
-
1861
- .wpr-grid-media-hover-bg img {
1862
- position: absolute;
1863
- top: 50%;
1864
- left: 50%;
1865
- -webkit-transform: translate( -50%, -50%) scale(1) !important;
1866
- -ms-transform: translate( -50%, -50%) scale(1) !important;
1867
- transform: translate( -50%, -50%) scale(1) !important;
1868
- -webkit-filter: grayscale(0) !important;
1869
- filter: grayscale(0) !important;
1870
- -webkit-filter: blur(0px) !important;
1871
- -filter: blur(0px) !important;
1872
- }
1873
-
1874
-
1875
- /* Author */
1876
-
1877
- .wpr-grid-item-author img,
1878
- .wpr-grid-item-author span {
1879
- display: inline-block;
1880
- vertical-align: middle;
1881
- }
1882
-
1883
- .wpr-grid-item-author img {
1884
- -webkit-transform: none !important;
1885
- -ms-transform: none !important;
1886
- transform: none !important;
1887
- -webkit-filter: none !important;
1888
- filter: none !important;
1889
- }
1890
-
1891
-
1892
- /* Likes */
1893
-
1894
- .wpr-grid-item-likes .inner-block a {
1895
- text-align: center;
1896
- }
1897
-
1898
- .wpr-likes-no-default.wpr-likes-zero i {
1899
- padding: 0 !important;
1900
- }
1901
-
1902
-
1903
- /* Sharing */
1904
-
1905
- .wpr-grid-item-sharing .inner-block a {
1906
- text-align: center;
1907
- }
1908
-
1909
- .wpr-grid-item-sharing .wpr-post-sharing {
1910
- position: relative;
1911
- }
1912
-
1913
- .wpr-grid-item-sharing .wpr-sharing-icon {
1914
- display: inline-block;
1915
- position: relative;
1916
- }
1917
-
1918
- .wpr-grid-item-sharing .wpr-sharing-icon .wpr-tooltip {
1919
- left: 50%;
1920
- -ms-transform: translate(-50%, -100%);
1921
- transform: translate(-50%, -100%);
1922
- -webkit-transform: translate(-50%, -100%);
1923
- }
1924
-
1925
- .wpr-grid-item-sharing .wpr-sharing-icon:hover .wpr-tooltip {
1926
- visibility: visible;
1927
- opacity: 1;
1928
- -ms-transform: translate(-50%, -120%);
1929
- transform: translate(-50%, -120%);
1930
- -webkit-transform: translate(-50%, -120%);
1931
- }
1932
-
1933
- .wpr-grid-item-sharing .wpr-tooltip:before {
1934
- left: 50%;
1935
- -ms-transform: translateX(-50%);
1936
- transform: translateX(-50%);
1937
- -webkit-transform: translateX(-50%);
1938
- }
1939
-
1940
- .wpr-grid-item-sharing .wpr-sharing-trigger {
1941
- cursor: pointer;
1942
- }
1943
-
1944
- .wpr-grid-item-sharing .wpr-tooltip {
1945
- display: block;
1946
- padding: 10px;
1947
- }
1948
-
1949
- .wpr-grid-item-sharing .wpr-sharing-hidden {
1950
- visibility: hidden;
1951
- position: absolute;
1952
- z-index: 3;
1953
- text-align: center;
1954
- }
1955
-
1956
- .wpr-grid-item-sharing .wpr-sharing-hidden a {
1957
- opacity: 0;
1958
- }
1959
-
1960
- .wpr-sharing-hidden a {
1961
- position: relative;
1962
- top: -5px;
1963
- -webkit-transition-duration: 0.3s !important;
1964
- -o-transition-duration: 0.3s !important;
1965
- transition-duration: 0.3s !important;
1966
- -webkit-transition-timing-function: cubic-bezier(.445, .050, .55, .95);
1967
- -o-transition-timing-function: cubic-bezier(.445, .050, .55, .95);
1968
- transition-timing-function: cubic-bezier(.445, .050, .55, .95);
1969
- -webkit-transition-delay: 0s;
1970
- -o-transition-delay: 0s;
1971
- transition-delay: 0s;
1972
- }
1973
-
1974
- .wpr-sharing-hidden a+a {
1975
- -webkit-transition-delay: 0.1s;
1976
- -o-transition-delay: 0.1s;
1977
- transition-delay: 0.1s;
1978
- }
1979
-
1980
- .wpr-sharing-hidden a+a+a {
1981
- -webkit-transition-delay: 0.2s;
1982
- -o-transition-delay: 0.2s;
1983
- transition-delay: 0.2s;
1984
- }
1985
-
1986
- .wpr-sharing-hidden a+a+a+a {
1987
- -webkit-transition-delay: 0.3s;
1988
- -o-transition-delay: 0.3s;
1989
- transition-delay: 0.3s;
1990
- }
1991
-
1992
- .wpr-sharing-hidden a+a+a+a+a {
1993
- -webkit-transition-delay: 0.4s;
1994
- -o-transition-delay: 0.4s;
1995
- transition-delay: 0.4s;
1996
- }
1997
-
1998
- .wpr-grid-item-sharing a:last-of-type {
1999
- margin-right: 0 !important;
2000
- }
2001
-
2002
- .wpr-grid-item-sharing .inner-block a {
2003
- -webkit-transition-property: color, background-color, border;
2004
- -o-transition-property: color, background-color, border;
2005
- transition-property: color, background-color, border;
2006
- -webkit-transition-timing-function: linear;
2007
- -o-transition-timing-function: linear;
2008
- transition-timing-function: linear;
2009
- }
2010
-
2011
-
2012
- /* Read More */
2013
-
2014
- .wpr-grid-item-read-more .inner-block>a,
2015
- .wpr-grid-item-add-to-cart .inner-block>a {
2016
- position: relative;
2017
- overflow: hidden;
2018
- vertical-align: middle;
2019
- }
2020
-
2021
- .wpr-grid-item-read-more .inner-block>a i,
2022
- .wpr-grid-item-read-more .inner-block>a span,
2023
- .wpr-grid-item-add-to-cart .inner-block>a i,
2024
- .wpr-grid-item-add-to-cart .inner-block>a span {
2025
- position: relative;
2026
- z-index: 2;
2027
- opacity: 1;
2028
- }
2029
-
2030
- .wpr-grid-item-read-more .inner-block>a:before,
2031
- .wpr-grid-item-read-more .inner-block>a:after,
2032
- .wpr-grid-item-add-to-cart .inner-block>a:before,
2033
- .wpr-grid-item-add-to-cart .inner-block>a:after {
2034
- z-index: 1;
2035
- }
2036
-
2037
-
2038
- /* Lightbox */
2039
-
2040
- .wpr-grid-item-lightbox .inner-block>span,
2041
- .wpr-grid-lightbox-overlay {
2042
- cursor: pointer;
2043
- }
2044
-
2045
- .wpr-grid-lightbox-overlay {
2046
- position: absolute;
2047
- top: 0;
2048
- left: 0;
2049
- z-index: 10;
2050
- width: 100%;
2051
- height: 100%;
2052
- }
2053
-
2054
- .admin-bar .lg-toolbar {
2055
- top: 32px;
2056
- }
2057
-
2058
-
2059
- /* Separator */
2060
-
2061
- .wpr-grid-item-separator .inner-block {
2062
- font-size: 0;
2063
- line-height: 0;
2064
- }
2065
-
2066
- .wpr-grid-item-separator.wpr-grid-item-display-inline span {
2067
- width: 100% !important;
2068
- }
2069
-
2070
-
2071
- /* Product Rating */
2072
-
2073
- .wpr-woo-rating i {
2074
- display: inline;
2075
- position: relative;
2076
- font-family: "eicons";
2077
- font-style: normal;
2078
- line-height: 1;
2079
- overflow: hidden;
2080
- }
2081
-
2082
- .wpr-woo-rating i:before {
2083
- content: '\e934';
2084
- font-weight: 900;
2085
- display: block;
2086
- position: absolute;
2087
- top: 0;
2088
- left: 0;
2089
- font-size: inherit;
2090
- font-family: inherit;
2091
- overflow: hidden;
2092
- }
2093
-
2094
- .wpr-woo-rating-style-2 .wpr-woo-rating i:before {
2095
- content: '\002605';
2096
- }
2097
-
2098
- .wpr-woo-rating i:last-of-type {
2099
- margin-right: 0 !important;
2100
- }
2101
-
2102
- .wpr-rating-icon-empty:before {
2103
- display: none !important;
2104
- }
2105
-
2106
- .wpr-rating-icon-0:before {
2107
- width: 0;
2108
- }
2109
-
2110
- .wpr-rating-icon-1:before {
2111
- width: 10%;
2112
- }
2113
-
2114
- .wpr-rating-icon-2:before {
2115
- width: 20%;
2116
- }
2117
-
2118
- .wpr-rating-icon-3:before {
2119
- width: 30%;
2120
- }
2121
-
2122
- .wpr-rating-icon-4:before {
2123
- width: 40%;
2124
- }
2125
-
2126
- .wpr-rating-icon-5:before {
2127
- width: 50%;
2128
- }
2129
-
2130
- .wpr-rating-icon-6:before {
2131
- width: 60%;
2132
- }
2133
-
2134
- .wpr-rating-icon-7:before {
2135
- width: 70%;
2136
- }
2137
-
2138
- .wpr-rating-icon-8:before {
2139
- width: 80%;
2140
- }
2141
-
2142
- .wpr-rating-icon-9:before {
2143
- width: 90%;
2144
- }
2145
-
2146
- .wpr-rating-icon-full:before {
2147
- width: 100%;
2148
- }
2149
-
2150
-
2151
- /* Filters */
2152
-
2153
- .wpr-grid-filters li {
2154
- display: inline-block;
2155
- }
2156
-
2157
- .wpr-grid-filters li:last-of-type {
2158
- margin-right: 0 !important;
2159
- }
2160
-
2161
- .wpr-grid-filters li span {
2162
- display: inline-block;
2163
- cursor: pointer;
2164
- text-decoration: inherit;
2165
- }
2166
-
2167
- .wpr-grid-filters li a {
2168
- display: inline-block;
2169
- }
2170
-
2171
- .wpr-grid-filters li sup {
2172
- position: relative;
2173
- padding-left: 5px;
2174
- line-height: 1;
2175
- }
2176
-
2177
- .wpr-grid-filters li sup[data-brackets="yes"]:before {
2178
- content: '\0028';
2179
- }
2180
-
2181
- .wpr-grid-filters li sup[data-brackets="yes"]:after {
2182
- content: '\0029';
2183
- }
2184
-
2185
- .wpr-grid-filters .wpr-active-filter.wpr-pointer-item:before,
2186
- .wpr-grid-filters .wpr-active-filter.wpr-pointer-item:after {
2187
- opacity: 1 !important;
2188
- width: 100% !important;
2189
- }
2190
-
2191
- .wpr-grid-filters-sep {
2192
- font-style: normal;
2193
- }
2194
-
2195
- .wpr-grid-filters-sep-right li:last-of-type .wpr-grid-filters-sep,
2196
- .wpr-grid-filters-sep-left li:first-child .wpr-grid-filters-sep {
2197
- display: none;
2198
- }
2199
-
2200
- .wpr-sub-filters {
2201
- display: none;
2202
- padding: 0;
2203
- }
2204
-
2205
-
2206
- /* Sorting */
2207
-
2208
- .wpr-grid-sorting {
2209
- display: -webkit-box;
2210
- display: -ms-flexbox;
2211
- display: flex;
2212
- -webkit-box-align: center;
2213
- -ms-flex-align: center;
2214
- align-items: center;
2215
- -ms-flex-wrap: wrap;
2216
- flex-wrap: wrap;
2217
- }
2218
-
2219
- .wpr-grid-sorting>div,
2220
- .wpr-grid-sorting .woocommerce-ordering {
2221
- -webkit-box-flex: 1;
2222
- -ms-flex-positive: 1;
2223
- flex-grow: 1;
2224
- }
2225
-
2226
- .wpr-grid-sorting .woocommerce-ordering {
2227
- text-align: right;
2228
- }
2229
-
2230
- .wpr-grid-sorting .woocommerce-ordering select {
2231
- width: auto;
2232
- outline: none !important;
2233
- }
2234
-
2235
- .wpr-grid-sorting .wpr-shop-page-title,
2236
- .wpr-grid-sorting .woocommerce-result-count,
2237
- .wpr-grid-sorting .woocommerce-ordering {
2238
- margin: 0 !important;
2239
- }
2240
-
2241
- /* Not Clickable */
2242
- .wpr-atc-not-clickable {
2243
- opacity: 0.5;
2244
- pointer-events: none;
2245
- }
2246
-
2247
- /* Added To Cart Popup */
2248
- @-webkit-keyframes added-tc-popup-animation {
2249
- from {opacity: 0; -webkit-transform: translateY(-50%); transform: translateY(-50%)}
2250
- to {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2251
- }
2252
- @keyframes added-tc-popup-animation {
2253
- from {opacity: 0; -webkit-transform: translateY(-50%); transform: translateY(-50%)}
2254
- to {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2255
- }
2256
-
2257
- @-webkit-keyframes added-tc-popup-animation-hide {
2258
- from {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2259
- to {opacity: 0; -webkit-transform: translateY(-50%); transform: translateY(-50%)}
2260
- }
2261
-
2262
- @keyframes added-tc-popup-animation-hide {
2263
- from {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2264
- to {opacity: 0; -webkit-transform: translateY(-50%); transform: translateY(-50%)}
2265
- }
2266
-
2267
- @-webkit-keyframes added-tc-popup-animation-bottom {
2268
- from {opacity: 0; -webkit-transform: translateY(50%); transform: translateY(50%)}
2269
- to {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2270
- }
2271
-
2272
- @keyframes added-tc-popup-animation-bottom {
2273
- from {opacity: 0; -webkit-transform: translateY(50%); transform: translateY(50%)}
2274
- to {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2275
- }
2276
-
2277
- @-webkit-keyframes added-tc-popup-animation-hide-bottom {
2278
- from {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2279
- to {opacity: 0; -webkit-transform: translateY(50%); transform: translateY(50%)}
2280
- }
2281
-
2282
- @keyframes added-tc-popup-animation-hide-bottom {
2283
- from {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2284
- to {opacity: 0; -webkit-transform: translateY(50%); transform: translateY(50%)}
2285
- }
2286
-
2287
- @keyframes added-tc-popup-animation-hide-bottom {
2288
- from {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2289
- to {opacity: 0; -webkit-transform: translateY(50%); transform: translateY(50%)}
2290
- }
2291
-
2292
- @-webkit-keyframes added-tc-popup-animation-slide-in-left {
2293
- from {opacity: 0; -webkit-transform: translateX(100%); transform: translateX(100%)}
2294
- to {opacity: 1; -webkit-transform: translateX(0); transform: translateX(0)}
2295
- }
2296
-
2297
- @keyframes added-tc-popup-animation-slide-in-left {
2298
- from {opacity: 0; -webkit-transform: translateX(100%); transform: translateX(100%)}
2299
- to {opacity: 1; -webkit-transform: translateX(0); transform: translateX(0)}
2300
- }
2301
-
2302
- @-webkit-keyframes added-tc-popup-animation-slide-out-left {
2303
- from {opacity: 1; -webkit-transform: translateX(0); transform: translateX(0)}
2304
- to {opacity: 0; -webkit-transform: translateX(100%); transform: translateX(100%)}
2305
- }
2306
-
2307
- @keyframes added-tc-popup-animation-slide-out-left {
2308
- from {opacity: 1; -webkit-transform: translateX(0); transform: translateX(0)}
2309
- to {opacity: 0; -webkit-transform: translateX(100%); transform: translateX(100%)}
2310
- }
2311
-
2312
- @-webkit-keyframes added-tc-popup-animation-scale-up {
2313
- from {opacity: 0; -webkit-transform: scale(0); transform: scale(0)}
2314
- to {opacity: 1; -webkit-transform: scale(1); transform: scale(1)}
2315
- }
2316
-
2317
- @keyframes added-tc-popup-animation-scale-up {
2318
- from {opacity: 0; -webkit-transform: scale(0); transform: scale(0)}
2319
- to {opacity: 1; -webkit-transform: scale(1); transform: scale(1)}
2320
- }
2321
-
2322
- @-webkit-keyframes added-tc-popup-animation-scale-down {
2323
- from {opacity: 1; -webkit-transform: scale(1); transform: scale(1)}
2324
- to {opacity: 0; -webkit-transform: scale(0); transform: scale(0)}
2325
- }
2326
-
2327
- @keyframes added-tc-popup-animation-scale-down {
2328
- from {opacity: 1; -webkit-transform: scale(1); transform: scale(1)}
2329
- to {opacity: 0; -webkit-transform: scale(0); transform: scale(0)}
2330
- }
2331
-
2332
- @-webkit-keyframes added-tc-popup-animation-fade {
2333
- from {opacity: 0;}
2334
- to {opacity: 1;}
2335
- }
2336
-
2337
- @keyframes added-tc-popup-animation-fade {
2338
- from {opacity: 0;}
2339
- to {opacity: 1;}
2340
- }
2341
-
2342
- @-webkit-keyframes added-tc-popup-animation-fade-out {
2343
- from {opacity: 1;}
2344
- to {opacity: 0;}
2345
- }
2346
-
2347
- @keyframes added-tc-popup-animation-fade-out {
2348
- from {opacity: 1;}
2349
- to {opacity: 0;}
2350
- }
2351
-
2352
- @-webkit-keyframes added-tc-popup-animation-skew {
2353
- from {opacity: 0; -webkit-transform: perspective(600px) rotateX(-90deg); transform: perspective(600px) rotateX(-90deg)}
2354
- to {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2355
- }
2356
-
2357
- @keyframes added-tc-popup-animation-skew {
2358
- from {opacity: 0; -webkit-transform: perspective(600px) rotateX(-90deg); transform: perspective(600px) rotateX(-90deg)}
2359
- to {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2360
- }
2361
-
2362
- @-webkit-keyframes added-tc-popup-animation-skew-off {
2363
- from {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2364
- to {opacity: 0; -webkit-transform: perspective(600px) rotateX(-90deg); transform: perspective(600px) rotateX(-90deg)}
2365
- }
2366
-
2367
- @keyframes added-tc-popup-animation-skew-off {
2368
- from {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2369
- to {opacity: 0; -webkit-transform: perspective(600px) rotateX(-90deg); transform: perspective(600px) rotateX(-90deg)}
2370
- }
2371
-
2372
- @-webkit-keyframes added-tc-popup-animation-skew-bottom {
2373
- from {opacity: 0; -webkit-transform: perspective(600px) rotateX(90deg); transform: perspective(600px) rotateX(90deg)}
2374
- to {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2375
- }
2376
-
2377
- @keyframes added-tc-popup-animation-skew-bottom {
2378
- from {opacity: 0; -webkit-transform: perspective(600px) rotateX(90deg); transform: perspective(600px) rotateX(90deg)}
2379
- to {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2380
- }
2381
-
2382
- @-webkit-keyframes added-tc-popup-animation-skew-off-bottom {
2383
- from {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2384
- to {opacity: 0; -webkit-transform: perspective(600px) rotateX(90deg); transform: perspective(600px) rotateX(90deg)}
2385
- }
2386
-
2387
- @keyframes added-tc-popup-animation-skew-off-bottom {
2388
- from {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2389
- to {opacity: 0; -webkit-transform: perspective(600px) rotateX(90deg); transform: perspective(600px) rotateX(90deg)}
2390
- }
2391
-
2392
- .wpr-added-to-cart-popup {
2393
- position: fixed;
2394
- display: -webkit-box;
2395
- display: -ms-flexbox;
2396
- display: flex;
2397
- opacity: 0;
2398
- z-index: 99999;
2399
- }
2400
-
2401
- .wpr-added-to-cart-popup.wpr-added-to-cart-slide-in-left {
2402
- -webkit-animation-name: added-tc-popup-animation-slide-in-left !important;
2403
- animation-name: added-tc-popup-animation-slide-in-left !important;
2404
- -webkit-animation-duration: 1s;
2405
- animation-duration: 1s;
2406
- -webkit-animation-fill-mode: forwards;
2407
- animation-fill-mode: forwards;
2408
- }
2409
-
2410
- .wpr-added-to-cart-popup.wpr-added-to-cart-slide-out-left {
2411
- -webkit-animation-name: added-tc-popup-animation-slide-out-left !important;
2412
- animation-name: added-tc-popup-animation-slide-out-left !important;
2413
- -webkit-animation-duration: 1s;
2414
- animation-duration: 1s;
2415
- -webkit-animation-fill-mode: forwards;
2416
- animation-fill-mode: forwards;
2417
- }
2418
-
2419
- .wpr-added-to-cart-popup.wpr-added-to-cart-scale-up {
2420
- -webkit-animation-name: added-tc-popup-animation-scale-up !important;
2421
- animation-name: added-tc-popup-animation-scale-up !important;
2422
- -webkit-animation-duration: 1s;
2423
- animation-duration: 1s;
2424
- -webkit-animation-fill-mode: forwards;
2425
- animation-fill-mode: forwards;
2426
- }
2427
-
2428
- .wpr-added-to-cart-popup.wpr-added-to-cart-scale-down {
2429
- -webkit-animation-name: added-tc-popup-animation-scale-down !important;
2430
- animation-name: added-tc-popup-animation-scale-down !important;
2431
- -webkit-animation-duration: 1s;
2432
- animation-duration: 1s;
2433
- -webkit-animation-fill-mode: forwards;
2434
- animation-fill-mode: forwards;
2435
- }
2436
-
2437
- .wpr-added-to-cart-popup.wpr-added-to-cart-fade {
2438
- -webkit-animation-name: added-tc-popup-animation-fade !important;
2439
- animation-name: added-tc-popup-animation-fade !important;
2440
- -webkit-animation-duration: 1s;
2441
- animation-duration: 1s;
2442
- -webkit-animation-fill-mode: forwards;
2443
- animation-fill-mode: forwards;
2444
- }
2445
-
2446
- .wpr-added-to-cart-popup.wpr-added-to-cart-fade-out {
2447
- -webkit-animation-name: added-tc-popup-animation-fade-out !important;
2448
- animation-name: added-tc-popup-animation-fade-out !important;
2449
- -webkit-animation-duration: 1s;
2450
- animation-duration: 1s;
2451
- -webkit-animation-fill-mode: forwards;
2452
- animation-fill-mode: forwards;
2453
- }
2454
-
2455
- .wpr-atc-popup-top .wpr-added-to-cart-popup.wpr-added-to-cart-skew {
2456
- -webkit-transform-origin: center top 0;
2457
- -ms-transform-origin: center top 0;
2458
- transform-origin: center top 0;
2459
- -webkit-animation-name: added-tc-popup-animation-skew !important;
2460
- animation-name: added-tc-popup-animation-skew !important;
2461
- -webkit-animation-duration: 1s;
2462
- animation-duration: 1s;
2463
- -webkit-animation-fill-mode: forwards;
2464
- animation-fill-mode: forwards;
2465
- }
2466
-
2467
- .wpr-atc-popup-top .wpr-added-to-cart-popup.wpr-added-to-cart-skew-off {
2468
- -webkit-transform-origin: center top 0;
2469
- -ms-transform-origin: center top 0;
2470
- transform-origin: center top 0;
2471
- -webkit-animation-name: added-tc-popup-animation-skew-off !important;
2472
- animation-name: added-tc-popup-animation-skew-off !important;
2473
- -webkit-animation-duration: 1s;
2474
- animation-duration: 1s;
2475
- -webkit-animation-fill-mode: forwards;
2476
- animation-fill-mode: forwards;
2477
- }
2478
-
2479
- .wpr-atc-popup-bottom .wpr-added-to-cart-popup.wpr-added-to-cart-skew {
2480
- -webkit-transform-origin: center bottom 0;
2481
- -ms-transform-origin: center bottom 0;
2482
- transform-origin: center bottom 0;
2483
- -webkit-animation-name: added-tc-popup-animation-skew-bottom !important;
2484
- animation-name: added-tc-popup-animation-skew-bottom !important;
2485
- -webkit-animation-duration: 1s;
2486
- animation-duration: 1s;
2487
- -webkit-animation-fill-mode: forwards;
2488
- animation-fill-mode: forwards;
2489
- }
2490
-
2491
- .wpr-atc-popup-bottom .wpr-added-to-cart-popup.wpr-added-to-cart-skew-off {
2492
- -webkit-transform-origin: center bottom 0;
2493
- -ms-transform-origin: center bottom 0;
2494
- transform-origin: center bottom 0;
2495
- -webkit-animation-name: added-tc-popup-animation-skew-off-bottom !important;
2496
- animation-name: added-tc-popup-animation-skew-off-bottom !important;
2497
- -webkit-animation-duration: 1s;
2498
- animation-duration: 1s;
2499
- -webkit-animation-fill-mode: forwards;
2500
- animation-fill-mode: forwards;
2501
- }
2502
-
2503
- .wpr-atc-popup-top .wpr-added-to-cart-popup {
2504
- -webkit-animation-name: added-tc-popup-animation;
2505
- animation-name: added-tc-popup-animation;
2506
- -webkit-animation-duration: 1s;
2507
- animation-duration: 1s;
2508
- -webkit-animation-fill-mode: forwards;
2509
- animation-fill-mode: forwards;
2510
- }
2511
-
2512
- .wpr-atc-popup-top .wpr-added-to-cart-popup-hide {
2513
- -webkit-animation-name: added-tc-popup-animation-hide;
2514
- animation-name: added-tc-popup-animation-hide;
2515
- -webkit-animation-duration: 1s;
2516
- animation-duration: 1s;
2517
- -webkit-animation-fill-mode: forwards;
2518
- animation-fill-mode: forwards;
2519
- }
2520
-
2521
- .wpr-atc-popup-bottom .wpr-added-to-cart-popup {
2522
- -webkit-animation-name: added-tc-popup-animation-bottom;
2523
- animation-name: added-tc-popup-animation-bottom;
2524
- -webkit-animation-duration: 1s;
2525
- animation-duration: 1s;
2526
- -webkit-animation-fill-mode: forwards;
2527
- animation-fill-mode: forwards;
2528
- }
2529
-
2530
- .wpr-atc-popup-bottom .wpr-added-to-cart-popup-hide {
2531
- -webkit-animation-name: added-tc-popup-animation-hide-bottom;
2532
- animation-name: added-tc-popup-animation-hide-bottom;
2533
- -webkit-animation-duration: 1s;
2534
- animation-duration: 1s;
2535
- -webkit-animation-fill-mode: forwards;
2536
- animation-fill-mode: forwards;
2537
- }
2538
-
2539
- .wpr-atc-popup-top .wpr-added-to-cart-popup {
2540
- top: 0;
2541
- right: 0;
2542
- }
2543
-
2544
- .wpr-atc-popup-bottom .wpr-added-to-cart-popup {
2545
- bottom: 0;
2546
- right: 0;
2547
- }
2548
-
2549
- .wpr-added-tc-title {
2550
- -webkit-box-flex: 1;
2551
- -ms-flex: 1;
2552
- flex: 1;
2553
- }
2554
-
2555
- .wpr-added-tc-title a {
2556
- display: inline;
2557
- }
2558
-
2559
- .wpr-added-tc-title p {
2560
- margin: 0;
2561
- }
2562
-
2563
- .wpr-added-tc-popup-img img {
2564
- width: 100%;
2565
- height: auto;
2566
- }
2567
-
2568
- .wpr-grid .added_to_cart {
2569
- opacity: 0;
2570
- }
2571
-
2572
- /* Pagination */
2573
-
2574
- .wpr-grid-pagination {
2575
- margin-top: 30px;
2576
- }
2577
-
2578
- .wpr-grid-pagination>a,
2579
- .wpr-grid-pagination>span {
2580
- display: inline-block;
2581
- }
2582
-
2583
- .wpr-grid-pagination i,
2584
- .wpr-grid-pagination svg {
2585
- vertical-align: middle;
2586
- }
2587
-
2588
- .wpr-grid-pagination .wpr-disabled-arrow {
2589
- cursor: not-allowed;
2590
- opacity: 0.4;
2591
- }
2592
-
2593
- .wpr-pagination-loading,
2594
- .wpr-pagination-finish {
2595
- display: none;
2596
- }
2597
-
2598
- .wpr-grid-pagination-center .wpr-grid-pagination,
2599
- .wpr-grid-pagination-justify .wpr-grid-pagination {
2600
- text-align: center;
2601
- }
2602
-
2603
- .wpr-grid-pagination-center .wpr-grid-pagination {
2604
- display: -webkit-box;
2605
- display: -ms-flexbox;
2606
- display: flex;
2607
- -webkit-box-pack: center;
2608
- -ms-flex-pack: center;
2609
- justify-content: center;
2610
- }
2611
-
2612
- .wpr-grid-pagination-left .wpr-grid-pagination {
2613
- text-align: left;
2614
- display: -webkit-box;
2615
- display: -ms-flexbox;
2616
- display: flex;
2617
- -webkit-box-pack: start;
2618
- -ms-flex-pack: start;
2619
- justify-content: flex-start;
2620
- }
2621
-
2622
- .wpr-grid-pagination-right .wpr-grid-pagination {
2623
- text-align: right;
2624
- display: -webkit-box;
2625
- display: -ms-flexbox;
2626
- display: flex;
2627
- -webkit-box-pack: end;
2628
- -ms-flex-pack: end;
2629
- justify-content: flex-end;
2630
- }
2631
-
2632
- .wpr-grid-pagination-infinite-scroll {
2633
- text-align: center;
2634
- }
2635
-
2636
- .wpr-grid-pagination-justify .wpr-grid-pagi-left-arrows,
2637
- .wpr-grid-pagination-justify .wpr-grid-pagination-default .wpr-prev-post-link {
2638
- float: left;
2639
- }
2640
-
2641
- .wpr-grid-pagination-justify .wpr-grid-pagi-right-arrows,
2642
- .wpr-grid-pagination-justify .wpr-grid-pagination-default .wpr-next-post-link {
2643
- float: right;
2644
- }
2645
-
2646
- .wpr-grid-pagi-left-arrows,
2647
- .wpr-grid-pagi-right-arrows,
2648
- .wpr-grid-pagination .wpr-load-more-btn {
2649
- display: inline-block;
2650
- }
2651
-
2652
- .wpr-load-more-btn,
2653
- .wpr-grid-pagi-right-arrows a:last-child,
2654
- .wpr-grid-pagi-right-arrows span:last-child {
2655
- margin-right: 0 !important;
2656
- }
2657
-
2658
- .wpr-grid-pagination .wpr-first-page,
2659
- .wpr-grid-pagination .wpr-last-page,
2660
- .wpr-grid-pagination .wpr-prev-page,
2661
- .wpr-grid-pagination .wpr-prev-post-link,
2662
- .wpr-grid-pagination .wpr-next-page,
2663
- .wpr-grid-pagination .wpr-next-post-link {
2664
- display: -webkit-inline-box;
2665
- display: -ms-inline-flexbox;
2666
- display: inline-flex;
2667
- -webkit-box-pack: center;
2668
- -ms-flex-pack: center;
2669
- justify-content: center;
2670
- -webkit-box-align: center;
2671
- -ms-flex-align: center;
2672
- align-items: center;
2673
- height: 100%;
2674
- }
2675
-
2676
- @media screen and ( max-width: 767px) {
2677
- .wpr-grid-pagination a,
2678
- .wpr-grid-pagination span {
2679
- margin-bottom: 10px;
2680
- }
2681
- .wpr-grid-pagination span>span,
2682
- .wpr-grid-pagination a>span {
2683
- display: none;
2684
- }
2685
- .wpr-grid-pagination.wpr-grid-pagination-numbered span i,
2686
- .wpr-grid-pagination.wpr-grid-pagination-numbered a i {
2687
- padding: 0 !important;
2688
- }
2689
- }
2690
-
2691
- .elementor-editor-active .wpr-grid-pagination-infinite-scroll {
2692
- display: none;
2693
- }
2694
-
2695
-
2696
- /* Grid Slider Navigation */
2697
- .wpr-grid-slider-nav-position-default .wpr-grid-slider-arrow-container {
2698
- position: absolute;
2699
- display: -webkit-box;
2700
- display: -ms-flexbox;
2701
- display: flex;
2702
- }
2703
-
2704
- .wpr-grid-slider-nav-position-default .wpr-grid-slider-arrow {
2705
- position: static;
2706
- }
2707
-
2708
- .wpr-grid-slider-nav-position-default .wpr-grid-slider-prev-arrow {
2709
- -ms-transform: none;
2710
- transform: none;
2711
- -webkit-transform: none;
2712
- }
2713
-
2714
- .wpr-grid-slider-nav-position-default .wpr-grid-slider-next-arrow {
2715
- -ms-transform: translateY(0) rotate(180deg);
2716
- transform: translateY(0) rotate(180deg);
2717
- -webkit-transform: translateY(0) rotate(180deg);
2718
- }
2719
-
2720
- .wpr-grid-slider-nav-align-top-center .wpr-grid-slider-arrow-container,
2721
- .wpr-grid-slider-nav-align-bottom-center .wpr-grid-slider-arrow-container {
2722
- left: 50%;
2723
- -webkit-transform: translateX(-50%);
2724
- -ms-transform: translateX(-50%);
2725
- transform: translateX(-50%);
2726
- }
2727
-
2728
- .wpr-grid-slider-arrow {
2729
- position: absolute;
2730
- z-index: 120;
2731
- top: 50%;
2732
- -webkit-box-sizing: content-box;
2733
- box-sizing: content-box;
2734
- -webkit-box-align: center;
2735
- -ms-flex-align: center;
2736
- align-items: center;
2737
- -webkit-box-pack: center;
2738
- -ms-flex-pack: center;
2739
- justify-content: center;
2740
- -webkit-transition: all .5s;
2741
- -o-transition: all .5s;
2742
- transition: all .5s;
2743
- text-align: center;
2744
- cursor: pointer;
2745
- }
2746
-
2747
- .wpr-grid-slider-arrow i {
2748
- display: block;
2749
- width: 100%;
2750
- height: 100%;
2751
- }
2752
-
2753
- .wpr-grid-slider-prev-arrow {
2754
- left: 1%;
2755
- -webkit-transform: translateY(-50%);
2756
- -ms-transform: translateY(-50%);
2757
- transform: translateY(-50%);
2758
- }
2759
-
2760
- .wpr-grid-slider-next-arrow {
2761
- right: 1%;
2762
- -webkit-transform: translateY(-50%) rotate(180deg);
2763
- -ms-transform: translateY(-50%) rotate(180deg);
2764
- transform: translateY(-50%) rotate(180deg);
2765
- }
2766
-
2767
- .wpr-grid-slider-nav-fade .wpr-grid-slider-arrow-container {
2768
- opacity: 0;
2769
- visibility: hidden;
2770
- }
2771
-
2772
- .wpr-grid-slider-nav-fade:hover .wpr-grid-slider-arrow-container {
2773
- opacity: 1;
2774
- visibility: visible;
2775
- }
2776
-
2777
-
2778
- /* Grid Slider Pagination */
2779
- .wpr-grid-slider-dots {
2780
- display: inline-table;
2781
- position: absolute;
2782
- z-index: 110;
2783
- left: 50%;
2784
- -webkit-transform: translate(-50%, -50%);
2785
- -ms-transform: translate(-50%, -50%);
2786
- transform: translate(-50%, -50%);
2787
- }
2788
-
2789
- .wpr-grid-slider-dots ul {
2790
- list-style: none;
2791
- margin: 0;
2792
- padding: 0;
2793
- }
2794
-
2795
- .wpr-grid-slider-dots-horizontal .wpr-grid-slider-dots li,
2796
- .wpr-grid-slider-dots-pro-vr .slick-dots li {
2797
- float: left;
2798
- }
2799
-
2800
- .wpr-grid.slick-dotted.slick-slider {
2801
- margin-bottom: 0 !important;
2802
- }
2803
-
2804
- .wpr-grid-slider-dots-vertical .slick-dots li {
2805
- display: block;
2806
- width: auto !important;
2807
- height: auto !important;
2808
- margin: 0 !important;
2809
- }
2810
-
2811
- .wpr-grid-slider-dots-horizontal .slick-dots li,
2812
- .wpr-grid-slider-dots-pro-vr .slick-dots li {
2813
- width: auto !important;
2814
- padding-top: 10px;
2815
- margin: 0 !important;
2816
- }
2817
-
2818
- .wpr-grid-slider-dots-horizontal .slick-dots li:last-child span {
2819
- margin-right: 0 !important;
2820
- }
2821
-
2822
- .wpr-grid-slider-dot {
2823
- display: block;
2824
- cursor: pointer;
2825
- }
2826
-
2827
- .wpr-grid-slider-dots li:last-child .wpr-grid-slider-dot {
2828
- margin: 0 !important;
2829
- }
2830
-
2831
-
2832
- /* Password Protected Form */
2833
- .wpr-grid-item-protected {
2834
- position: absolute;
2835
- top: 0;
2836
- left: 0;
2837
- z-index: 11 !important;
2838
- width: 100%;
2839
- height: 100%;
2840
- }
2841
-
2842
- .wpr-grid-item-protected i {
2843
- font-size: 22px;
2844
- }
2845
-
2846
- .wpr-grid-item-protected input {
2847
- width: 50%;
2848
- border: none;
2849
- margin-top: 10px;
2850
- padding: 7px 13px;
2851
- font-size: 13px;
2852
- }
2853
-
2854
- /* Locate It Later */
2855
- .wpr-grid-sorting-inner-wrap {
2856
- display: -webkit-box;
2857
- display: -ms-flexbox;
2858
- display: flex;
2859
- -webkit-box-align: center;
2860
- -ms-flex-align: center;
2861
- align-items: center;
2862
- -webkit-box-pack: justify;
2863
- -ms-flex-pack: justify;
2864
- justify-content: space-between;
2865
- }
2866
-
2867
- .wpr-products-result-count .woocommerce-result-count {
2868
- margin: 0;
2869
- }
2870
-
2871
- .wpr-sort-select-position-above .wpr-grid-sort-heading {
2872
- display: -webkit-box;
2873
- display: -ms-flexbox;
2874
- display: flex;
2875
- -webkit-box-pack: justify;
2876
- -ms-flex-pack: justify;
2877
- justify-content: space-between;
2878
- }
2879
-
2880
- .wpr-grid-sort-heading {
2881
- /* flex: 1; */
2882
- width: 100%;
2883
- /* flex-basis: 100%; */
2884
- }
2885
-
2886
- .wpr-grid-sort-heading * {
2887
- margin: 0;
2888
- }
2889
-
2890
- .wpr-grid-sorting-inner-wrap form .orderby::-ms-expend {
2891
- display: none;
2892
- }
2893
-
2894
- .wpr-grid-orderby span {
2895
- position: relative;
2896
- }
2897
-
2898
- .wpr-grid-sorting-wrap form .orderby {
2899
- /* for Firefox */
2900
- -moz-appearance: none;
2901
- /* for Chrome */
2902
- -webkit-appearance: none;
2903
- }
2904
-
2905
- .wpr-grid-sorting-wrap .wpr-orderby-icon {
2906
- position: absolute;
2907
- top: 50%;
2908
- -webkit-transform: translateY(-50%);
2909
- -ms-transform: translateY(-50%);
2910
- transform: translateY(-50%);
2911
- }
2912
-
2913
- /* Defaults */
2914
- .elementor-widget-wpr-grid .wpr-grid-media-hover-bg,
2915
- .elementor-widget-wpr-media-grid .wpr-grid-media-hover-bg,
2916
- .elementor-widget-wpr-woo-grid .wpr-grid-media-hover-bg {
2917
- background-color: rgba(0, 0, 0, 0.25);
2918
- }
2919
-
2920
- .elementor-widget-wpr-magazine-grid .wpr-grid-media-hover-bg {
2921
- background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0) 46%, rgba(96, 91, 229, 0.87) 100%);
2922
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(46%, rgba(255, 255, 255, 0)), to(rgba(96, 91, 229, 0.87)));
2923
- background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 46%, rgba(96, 91, 229, 0.87) 100%);
2924
- }
2925
-
2926
- .elementor-widget-wpr-grid .wpr-grid-item-title,
2927
- .elementor-widget-wpr-woo-grid .wpr-grid-item-title,
2928
- .elementor-widget-wpr-woo-category-grid-pro .wpr-grid-item-title {
2929
- font-size: 21px;
2930
- font-weight: 700;
2931
- line-height: 23px;
2932
- margin: 0;
2933
- }
2934
-
2935
- .elementor-widget-wpr-magazine-grid .wpr-grid-item-title {
2936
- font-size: 22px;
2937
- margin: 0;
2938
- }
2939
-
2940
- .elementor-widget-wpr-media-grid .wpr-grid-item-title {
2941
- font-size: 15px;
2942
- font-weight: 500;
2943
- margin: 0;
2944
- }
2945
-
2946
- .elementor-widget-wpr-grid .wpr-grid-item-content,
2947
- .elementor-widget-wpr-grid .wpr-grid-item-excerpt,
2948
- .elementor-widget-wpr-grid .wpr-grid-item-author,
2949
- .elementor-widget-wpr-grid .wpr-grid-item-time,
2950
- .elementor-widget-wpr-grid .wpr-grid-item-read-more a,
2951
- .elementor-widget-wpr-grid .wpr-grid-item-likes,
2952
- .elementor-widget-wpr-grid .wpr-grid-item-sharing,
2953
- .elementor-widget-wpr-grid .wpr-grid-tax-style-1,
2954
- .elementor-widget-wpr-grid .wpr-grid-cf-style-1,
2955
- .elementor-widget-wpr-grid .wpr-grid-filters li,
2956
- .elementor-widget-wpr-grid .wpr-grid-pagination,
2957
- .elementor-widget-wpr-grid .wpr-grid-item-protected p,
2958
- .elementor-widget-wpr-media-grid .wpr-grid-item-sharing,
2959
- .elementor-widget-wpr-media-grid .wpr-grid-filters li,
2960
- .elementor-widget-wpr-woo-grid .wpr-grid-item-content,
2961
- .elementor-widget-wpr-woo-grid .wpr-grid-product-categories,
2962
- .elementor-widget-wpr-woo-grid .wpr-grid-product-tags,
2963
- .elementor-widget-wpr-woo-grid .wpr-woo-rating span,
2964
- .elementor-widget-wpr-woo-grid .wpr-grid-item-status .inner-block>span,
2965
- .elementor-widget-wpr-woo-grid .wpr-grid-item-add-to-cart a,
2966
- .elementor-widget-wpr-woo-grid .wpr-grid-item-likes,
2967
- .elementor-widget-wpr-woo-grid .wpr-grid-item-sharing,
2968
- .elementor-widget-wpr-woo-grid .wpr-grid-item-lightbox,
2969
- .elementor-widget-wpr-woo-grid .wpr-grid-pagination,
2970
- .elementor-widget-wpr-woo-grid .wpr-grid-item-price .inner-block>span,
2971
- .elementor-widget-wpr-magazine-grid .wpr-grid-item-content,
2972
- .elementor-widget-wpr-magazine-grid .wpr-grid-item-excerpt {
2973
- font-size: 14px;
2974
- }
2975
-
2976
- .elementor-widget-wpr-magazine-grid .wpr-grid-tax-style-1 {
2977
- font-size: 12px;
2978
- list-style-position: 0.5px;
2979
- }
2980
-
2981
- .elementor-widget-wpr-magazine-grid .wpr-grid-item-date,
2982
- .elementor-widget-wpr-magazine-grid .wpr-grid-item-time,
2983
- .elementor-widget-wpr-magazine-grid .wpr-grid-item-author {
2984
- font-size: 12px;
2985
- list-style-position: 0.3px;
2986
- }
2987
-
2988
- .elementor-widget-wpr-grid .wpr-grid-item-date,
2989
- .elementor-widget-wpr-grid .wpr-grid-item-comments,
2990
- .elementor-widget-wpr-grid .wpr-grid-tax-style-2,
2991
- .elementor-widget-wpr-media-grid .wpr-grid-item-caption,
2992
- .elementor-widget-wpr-media-grid .wpr-grid-item-date,
2993
- .elementor-widget-wpr-media-grid .wpr-grid-item-time,
2994
- .elementor-widget-wpr-media-grid .wpr-grid-item-author,
2995
- .elementor-widget-wpr-media-grid .wpr-grid-item-likes,
2996
- .elementor-widget-wpr-media-grid .wpr-grid-tax-style-1,
2997
- .elementor-widget-wpr-media-grid .wpr-grid-tax-style-2,
2998
- .elementor-widget-wpr-media-magazine-grid .wpr-grid-tax-style-2 {
2999
- font-size: 14px;
3000
- }
3001
-
3002
- .elementor-widget-wpr-grid .wpr-grid-item-lightbox,
3003
- .elementor-widget-wpr-media-grid .wpr-grid-item-lightbox {
3004
- font-size: 18px;
3005
- }
3006
-
3007
- .elementor-widget-wpr-grid .wpr-grid-cf-style-2,
3008
- .elementor-widget-wpr-media-grid .wpr-grid-pagination {
3009
- font-size: 15px;
3010
- }
3011
-
3012
- .elementor-widget-wpr-grid .wpr-grid-tax-style-2 .inner-block a {
3013
- background-color: #605BE5;
3014
- }
3015
-
3016
- .elementor-widget-wpr-grid .wpr-grid-tax-style-2 .inner-block a:hover {
3017
- background-color: #4A45D2;
3018
- }
3019
-
3020
-
3021
- /*--------------------------------------------------------------
3022
- == Magazine Grid
3023
- --------------------------------------------------------------*/
3024
-
3025
- .wpr-magazine-grid {
3026
- display: -ms-grid;
3027
- display: grid;
3028
- -webkit-box-pack: stretch;
3029
- -ms-flex-pack: stretch;
3030
- justify-content: stretch;
3031
- -ms-grid-rows: 1fr 1fr;
3032
- grid-template-rows: 1fr 1fr;
3033
- }
3034
-
3035
- .wpr-mgzn-grid-item {
3036
- padding: 0 !important;
3037
- text-align: center;
3038
- }
3039
-
3040
- .wpr-mgzn-grid-1vh-3h {
3041
- -ms-grid-rows: auto;
3042
- grid-template-rows: auto;
3043
- }
3044
-
3045
- .wpr-mgzn-grid-1-1-1 {
3046
- -ms-grid-rows: 1fr;
3047
- grid-template-rows: 1fr;
3048
- }
3049
-
3050
- .wpr-mgzn-grid-2-3,
3051
- .wpr-mgzn-grid-1-1-3 {
3052
- -ms-grid-columns: (1fr)[6];
3053
- grid-template-columns: repeat(6, 1fr);
3054
- }
3055
-
3056
- .wpr-mgzn-grid-2-h {
3057
- -ms-grid-columns: (1fr)[2];
3058
- grid-template-columns: repeat(2, 1fr);
3059
- }
3060
-
3061
- .wpr-mgzn-grid-3-h {
3062
- -ms-grid-columns: (1fr)[3];
3063
- grid-template-columns: repeat(3, 1fr);
3064
- }
3065
-
3066
- .wpr-mgzn-grid-4-h {
3067
- -ms-grid-columns: (1fr)[4];
3068
- grid-template-columns: repeat(4, 1fr);
3069
- }
3070
-
3071
- .wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(1) {
3072
- -ms-grid-column: 1;
3073
- grid-column-start: 1;
3074
- -ms-grid-row: 1;
3075
- grid-row-start: 1;
3076
- -ms-grid-row-span: 3;
3077
- grid-row-end: 4;
3078
- }
3079
-
3080
- .wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(2) {
3081
- -ms-grid-column: 2;
3082
- grid-column-start: 2;
3083
- }
3084
-
3085
- .wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(3) {
3086
- -ms-grid-column: 2;
3087
- grid-column-start: 2;
3088
- }
3089
-
3090
- .wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(4) {
3091
- -ms-grid-column: 2;
3092
- grid-column-start: 2;
3093
- }
3094
-
3095
- .wpr-mgzn-grid-1-2 .wpr-mgzn-grid-item:nth-child(1),
3096
- .wpr-mgzn-grid-1-3 .wpr-mgzn-grid-item:nth-child(1),
3097
- .wpr-mgzn-grid-1-4 .wpr-mgzn-grid-item:nth-child(1),
3098
- .wpr-mgzn-grid-1-1-2 .wpr-mgzn-grid-item:nth-child(1) {
3099
- -ms-grid-column: 1;
3100
- grid-column-start: 1;
3101
- -ms-grid-row: 1;
3102
- grid-row-start: 1;
3103
- -ms-grid-row-span: 2;
3104
- grid-row-end: 3;
3105
- }
3106
-
3107
- .wpr-mgzn-grid-1-1-2 .wpr-mgzn-grid-item:nth-child(2) {
3108
- -ms-grid-row: 1;
3109
- grid-row-start: 1;
3110
- -ms-grid-row-span: 2;
3111
- grid-row-end: 3;
3112
- }
3113
-
3114
- .wpr-mgzn-grid-2-1-2 .wpr-mgzn-grid-item:nth-child(2) {
3115
- -ms-grid-column: 2;
3116
- grid-column-start: 2;
3117
- -ms-grid-row: 1;
3118
- grid-row-start: 1;
3119
- -ms-grid-row-span: 2;
3120
- grid-row-end: 3;
3121
- }
3122
-
3123
- .wpr-mgzn-grid-1-3 .wpr-mgzn-grid-item:nth-child(2) {
3124
- -ms-grid-column: 2;
3125
- grid-column-start: 2;
3126
- -ms-grid-column-span: 2;
3127
- grid-column-end: 4;
3128
- }
3129
-
3130
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(1),
3131
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(2),
3132
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(1),
3133
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(2) {
3134
- -ms-grid-row: 1;
3135
- grid-row-start: 1;
3136
- -ms-grid-row-span: 1;
3137
- grid-row-end: 2;
3138
- }
3139
-
3140
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(1) {
3141
- -ms-grid-column: 1;
3142
- grid-column-start: 1;
3143
- -ms-grid-column-span: 3;
3144
- grid-column-end: 4;
3145
- }
3146
-
3147
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(2) {
3148
- -ms-grid-column: 4;
3149
- grid-column-start: 4;
3150
- -ms-grid-column-span: 3;
3151
- grid-column-end: 7;
3152
- }
3153
-
3154
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(1) {
3155
- -ms-grid-column: 1;
3156
- grid-column-start: 1;
3157
- -ms-grid-column-span: 4;
3158
- grid-column-end: 5;
3159
- }
3160
-
3161
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(2) {
3162
- -ms-grid-column: 5;
3163
- grid-column-start: 5;
3164
- -ms-grid-column-span: 2;
3165
- grid-column-end: 7;
3166
- }
3167
-
3168
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(3),
3169
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(4),
3170
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(5),
3171
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(3),
3172
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(4),
3173
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(5) {
3174
- -ms-grid-row: 2;
3175
- grid-row-start: 2;
3176
- -ms-grid-row-span: 1;
3177
- grid-row-end: 3;
3178
- }
3179
-
3180
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(3),
3181
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(3) {
3182
- -ms-grid-column: 1;
3183
- grid-column-start: 1;
3184
- -ms-grid-column-span: 2;
3185
- grid-column-end: 3;
3186
- }
3187
-
3188
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(4),
3189
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(4) {
3190
- -ms-grid-column: 3;
3191
- grid-column-start: 3;
3192
- -ms-grid-column-span: 2;
3193
- grid-column-end: 5;
3194
- }
3195
-
3196
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(5),
3197
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(5) {
3198
- -ms-grid-column: 5;
3199
- grid-column-start: 5;
3200
- -ms-grid-column-span: 2;
3201
- grid-column-end: 7;
3202
- }
3203
-
3204
- .wpr-magazine-grid .wpr-grid-item-inner,
3205
- .wpr-magazine-grid .wpr-grid-media-wrap,
3206
- .wpr-magazine-grid .wpr-grid-image-wrap {
3207
- height: 100%;
3208
- }
3209
-
3210
- .wpr-magazine-grid .wpr-grid-image-wrap {
3211
- background-size: cover;
3212
- background-position: center center;
3213
- }
3214
-
3215
- .wpr-magazine-grid .wpr-grid-media-hover {
3216
- z-index: 1;
3217
- }
3218
-
3219
-
3220
- /* Responsive */
3221
-
3222
- @media screen and ( max-width: 1024px) {
3223
- /* Layout 1 */
3224
- .wpr-magazine-grid.wpr-mgzn-grid-1-2 {
3225
- -ms-grid-columns: 1fr 1fr !important;
3226
- grid-template-columns: 1fr 1fr !important;
3227
- -ms-grid-rows: 1fr 1fr 1fr;
3228
- grid-template-rows: 1fr 1fr 1fr;
3229
- }
3230
- .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(1) {
3231
- -ms-grid-row: 1;
3232
- -ms-grid-column: 1;
3233
- }
3234
- .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(2) {
3235
- -ms-grid-row: 1;
3236
- -ms-grid-column: 2;
3237
- }
3238
- .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(3) {
3239
- -ms-grid-row: 2;
3240
- -ms-grid-column: 1;
3241
- }
3242
- .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(4) {
3243
- -ms-grid-row: 2;
3244
- -ms-grid-column: 2;
3245
- }
3246
- .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(5) {
3247
- -ms-grid-row: 3;
3248
- -ms-grid-column: 1;
3249
- }
3250
- .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(6) {
3251
- -ms-grid-row: 3;
3252
- -ms-grid-column: 2;
3253
- }
3254
- .wpr-magazine-grid.wpr-mgzn-grid-1-2 article:nth-child(1) {
3255
- -ms-grid-column-span: 3 !important;
3256
- grid-column-end: 3 !important;
3257
- }
3258
- /* Layout 2 */
3259
- .wpr-magazine-grid.wpr-mgzn-grid-1-3 {
3260
- -ms-grid-columns: 1fr 1fr !important;
3261
- grid-template-columns: 1fr 1fr !important;
3262
- -ms-grid-rows: 1fr 1fr 1fr !important;
3263
- grid-template-rows: 1fr 1fr 1fr !important;
3264
- }
3265
- .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(1) {
3266
- -ms-grid-row: 1;
3267
- -ms-grid-column: 1;
3268
- }
3269
- .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(2) {
3270
- -ms-grid-row: 1;
3271
- -ms-grid-column: 2;
3272
- }
3273
- .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(3) {
3274
- -ms-grid-row: 2;
3275
- -ms-grid-column: 1;
3276
- }
3277
- .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(4) {
3278
- -ms-grid-row: 2;
3279
- -ms-grid-column: 2;
3280
- }
3281
- .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(5) {
3282
- -ms-grid-row: 3;
3283
- -ms-grid-column: 1;
3284
- }
3285
- .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(6) {
3286
- -ms-grid-row: 3;
3287
- -ms-grid-column: 2;
3288
- }
3289
- .wpr-magazine-grid.wpr-mgzn-grid-1-3 article:nth-child(1) {
3290
- -ms-grid-column-span: 3 !important;
3291
- grid-column-end: 3 !important;
3292
- -ms-grid-row-span: 2 !important;
3293
- grid-row-end: 2 !important;
3294
- }
3295
- .wpr-magazine-grid.wpr-mgzn-grid-1-3 article:nth-child(2) {
3296
- -ms-grid-column: 1 !important;
3297
- grid-column-start: 1 !important;
3298
- -ms-grid-column-span: 2 !important;
3299
- grid-column-end: 3 !important;
3300
- }
3301
- /* Layout 3 */
3302
- .wpr-magazine-grid.wpr-mgzn-grid-1-4 {
3303
- -ms-grid-columns: 1fr 1fr !important;
3304
- grid-template-columns: 1fr 1fr !important;
3305
- -ms-grid-rows: (1fr)[3];
3306
- grid-template-rows: repeat(3, 1fr);
3307
- }
3308
- .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(1) {
3309
- -ms-grid-row: 1;
3310
- -ms-grid-column: 1;
3311
- }
3312
- .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(2) {
3313
- -ms-grid-row: 1;
3314
- -ms-grid-column: 2;
3315
- }
3316
- .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(3) {
3317
- -ms-grid-row: 2;
3318
- -ms-grid-column: 1;
3319
- }
3320
- .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(4) {
3321
- -ms-grid-row: 2;
3322
- -ms-grid-column: 2;
3323
- }
3324
- .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(5) {
3325
- -ms-grid-row: 3;
3326
- -ms-grid-column: 1;
3327
- }
3328
- .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(6) {
3329
- -ms-grid-row: 3;
3330
- -ms-grid-column: 2;
3331
- }
3332
- .wpr-magazine-grid.wpr-mgzn-grid-1-4 article:nth-child(1) {
3333
- -ms-grid-column: 1;
3334
- grid-column-start: 1;
3335
- -ms-grid-column-span: 2;
3336
- grid-column-end: 3;
3337
- -ms-grid-row-span: 1 !important;
3338
- grid-row-end: 1 !important;
3339
- }
3340
- /* Layout 4 */
3341
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-2 {
3342
- -ms-grid-columns: 1fr 1fr !important;
3343
- grid-template-columns: 1fr 1fr !important;
3344
- -ms-grid-rows: 1fr 1fr 1fr !important;
3345
- grid-template-rows: 1fr 1fr 1fr !important;
3346
- }
3347
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(1) {
3348
- -ms-grid-row: 1;
3349
- -ms-grid-column: 1;
3350
- }
3351
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(2) {
3352
- -ms-grid-row: 1;
3353
- -ms-grid-column: 2;
3354
- }
3355
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(3) {
3356
- -ms-grid-row: 2;
3357
- -ms-grid-column: 1;
3358
- }
3359
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(4) {
3360
- -ms-grid-row: 2;
3361
- -ms-grid-column: 2;
3362
- }
3363
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(5) {
3364
- -ms-grid-row: 3;
3365
- -ms-grid-column: 1;
3366
- }
3367
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(6) {
3368
- -ms-grid-row: 3;
3369
- -ms-grid-column: 2;
3370
- }
3371
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-2 article:nth-child(1) {
3372
- -ms-grid-column-span: 3;
3373
- grid-column-end: 3;
3374
- -ms-grid-row: 1;
3375
- grid-row-start: 1;
3376
- -ms-grid-row-span: 1;
3377
- grid-row-end: 2;
3378
- }
3379
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-2 article:nth-child(2) {
3380
- -ms-grid-column: 1;
3381
- grid-column-start: 1;
3382
- -ms-grid-column-span: 2;
3383
- grid-column-end: 3;
3384
- -ms-grid-row: 2;
3385
- grid-row-start: 2;
3386
- -ms-grid-row-span: 1;
3387
- grid-row-end: 3;
3388
- }
3389
- /* Layout 5 */
3390
- .wpr-magazine-grid.wpr-mgzn-grid-2-1-2 {
3391
- -ms-grid-columns: 1fr 1fr !important;
3392
- grid-template-columns: 1fr 1fr !important;
3393
- -ms-grid-rows: 1fr 1fr 1fr !important;
3394
- grid-template-rows: 1fr 1fr 1fr !important;
3395
- }
3396
- .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(1) {
3397
- -ms-grid-row: 1;
3398
- -ms-grid-column: 1;
3399
- }
3400
- .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(2) {
3401
- -ms-grid-row: 1;
3402
- -ms-grid-column: 2;
3403
- }
3404
- .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(3) {
3405
- -ms-grid-row: 2;
3406
- -ms-grid-column: 1;
3407
- }
3408
- .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(4) {
3409
- -ms-grid-row: 2;
3410
- -ms-grid-column: 2;
3411
- }
3412
- .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(5) {
3413
- -ms-grid-row: 3;
3414
- -ms-grid-column: 1;
3415
- }
3416
- .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(6) {
3417
- -ms-grid-row: 3;
3418
- -ms-grid-column: 2;
3419
- }
3420
- .wpr-magazine-grid.wpr-mgzn-grid-2-1-2 article:nth-child(2) {
3421
- -ms-grid-column: 1;
3422
- grid-column-start: 1;
3423
- -ms-grid-column-span: 2;
3424
- grid-column-end: 3;
3425
- -ms-grid-row: 2;
3426
- grid-row-start: 2;
3427
- }
3428
- /* Layout 6 */
3429
- .wpr-magazine-grid.wpr-mgzn-grid-1vh-3h {
3430
- -ms-grid-columns: 1fr 1fr !important;
3431
- grid-template-columns: 1fr 1fr !important;
3432
- }
3433
- /* Layout 7 */
3434
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-1 {
3435
- -ms-grid-columns: 1fr 1fr !important;
3436
- grid-template-columns: 1fr 1fr !important;
3437
- -ms-grid-rows: 1fr 1fr !important;
3438
- grid-template-rows: 1fr 1fr !important;
3439
- }
3440
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-1>*:nth-child(1) {
3441
- -ms-grid-row: 1;
3442
- -ms-grid-column: 1;
3443
- }
3444
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-1>*:nth-child(2) {
3445
- -ms-grid-row: 1;
3446
- -ms-grid-column: 2;
3447
- }
3448
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-1>*:nth-child(3) {
3449
- -ms-grid-row: 2;
3450
- -ms-grid-column: 1;
3451
- }
3452
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-1>*:nth-child(4) {
3453
- -ms-grid-row: 2;
3454
- -ms-grid-column: 2;
3455
- }
3456
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-1 article:nth-child(2) {
3457
- -ms-grid-column: 1;
3458
- grid-column-start: 1;
3459
- -ms-grid-column-span: 2;
3460
- grid-column-end: 3;
3461
- -ms-grid-row: 1;
3462
- grid-row-start: 1
3463
- }
3464
- /* Layout 8 */
3465
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 {
3466
- -ms-grid-columns: 1fr 1fr !important;
3467
- grid-template-columns: 1fr 1fr !important;
3468
- -ms-grid-rows: (1fr)[3];
3469
- grid-template-rows: repeat(3, 1fr);
3470
- }
3471
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(1) {
3472
- -ms-grid-row: 1;
3473
- -ms-grid-column: 1;
3474
- }
3475
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(2) {
3476
- -ms-grid-row: 1;
3477
- -ms-grid-column: 2;
3478
- }
3479
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(3) {
3480
- -ms-grid-row: 2;
3481
- -ms-grid-column: 1;
3482
- }
3483
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(4) {
3484
- -ms-grid-row: 2;
3485
- -ms-grid-column: 2;
3486
- }
3487
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(5) {
3488
- -ms-grid-row: 3;
3489
- -ms-grid-column: 1;
3490
- }
3491
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(6) {
3492
- -ms-grid-row: 3;
3493
- -ms-grid-column: 2;
3494
- }
3495
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(1) {
3496
- -ms-grid-column: 1;
3497
- grid-column-start: 1;
3498
- -ms-grid-column-span: 2;
3499
- grid-column-end: 3;
3500
- -ms-grid-row-span: 2;
3501
- grid-row-end: 2;
3502
- }
3503
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(2) {
3504
- -ms-grid-row: 2;
3505
- grid-row-start: 2;
3506
- -ms-grid-column: 1;
3507
- grid-column-start: 1;
3508
- -ms-grid-column-span: 1;
3509
- grid-column-end: 2;
3510
- }
3511
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(3) {
3512
- -ms-grid-row: 2;
3513
- grid-row-start: 2;
3514
- -ms-grid-column: 2;
3515
- grid-column-start: 2;
3516
- -ms-grid-column-span: 1;
3517
- grid-column-end: 3;
3518
- }
3519
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(4) {
3520
- -ms-grid-row: 3;
3521
- grid-row-start: 3;
3522
- -ms-grid-column: 1;
3523
- grid-column-start: 1;
3524
- -ms-grid-column-span: 1;
3525
- grid-column-end: 2;
3526
- }
3527
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(5) {
3528
- -ms-grid-row: 3;
3529
- grid-row-start: 3;
3530
- -ms-grid-column: 2;
3531
- grid-column-start: 2;
3532
- -ms-grid-column-span: 1;
3533
- grid-column-end: 3;
3534
- }
3535
- /* Layout 9 */
3536
- .wpr-magazine-grid.wpr-mgzn-grid-2-3 {
3537
- -ms-grid-columns: 1fr 1fr !important;
3538
- grid-template-columns: 1fr 1fr !important;
3539
- -ms-grid-rows: (1fr)[6] !important;
3540
- grid-template-rows: repeat(6, 1fr) !important;
3541
- }
3542
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(1) {
3543
- -ms-grid-row: 1;
3544
- -ms-grid-column: 1;
3545
- }
3546
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(2) {
3547
- -ms-grid-row: 1;
3548
- -ms-grid-column: 2;
3549
- }
3550
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(3) {
3551
- -ms-grid-row: 2;
3552
- -ms-grid-column: 1;
3553
- }
3554
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(4) {
3555
- -ms-grid-row: 2;
3556
- -ms-grid-column: 2;
3557
- }
3558
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(5) {
3559
- -ms-grid-row: 3;
3560
- -ms-grid-column: 1;
3561
- }
3562
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(6) {
3563
- -ms-grid-row: 3;
3564
- -ms-grid-column: 2;
3565
- }
3566
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(7) {
3567
- -ms-grid-row: 4;
3568
- -ms-grid-column: 1;
3569
- }
3570
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(8) {
3571
- -ms-grid-row: 4;
3572
- -ms-grid-column: 2;
3573
- }
3574
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(9) {
3575
- -ms-grid-row: 5;
3576
- -ms-grid-column: 1;
3577
- }
3578
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(10) {
3579
- -ms-grid-row: 5;
3580
- -ms-grid-column: 2;
3581
- }
3582
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(11) {
3583
- -ms-grid-row: 6;
3584
- -ms-grid-column: 1;
3585
- }
3586
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(12) {
3587
- -ms-grid-row: 6;
3588
- -ms-grid-column: 2;
3589
- }
3590
- .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(1) {
3591
- -ms-grid-column: 1;
3592
- grid-column-start: 1;
3593
- -ms-grid-column-span: 1;
3594
- grid-column-end: 2;
3595
- -ms-grid-row: 1;
3596
- grid-row-start: 1;
3597
- -ms-grid-row-span: 3;
3598
- grid-row-end: 4;
3599
- }
3600
- .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(2) {
3601
- -ms-grid-column: 1;
3602
- grid-column-start: 1;
3603
- -ms-grid-column-span: 1;
3604
- grid-column-end: 2;
3605
- -ms-grid-row: 4;
3606
- grid-row-start: 4;
3607
- -ms-grid-row-span: 3;
3608
- grid-row-end: 7;
3609
- }
3610
- .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(3) {
3611
- -ms-grid-column: 2;
3612
- grid-column-start: 2;
3613
- -ms-grid-column-span: 1;
3614
- grid-column-end: 3;
3615
- -ms-grid-row: 1;
3616
- grid-row-start: 1;
3617
- -ms-grid-row-span: 2;
3618
- grid-row-end: 3;
3619
- }
3620
- .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(4) {
3621
- -ms-grid-column: 2;
3622
- grid-column-start: 2;
3623
- -ms-grid-column-span: 1;
3624
- grid-column-end: 3;
3625
- -ms-grid-row: 3;
3626
- grid-row-start: 3;
3627
- -ms-grid-row-span: 2;
3628
- grid-row-end: 5;
3629
- }
3630
- .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(5) {
3631
- -ms-grid-column: 2;
3632
- grid-column-start: 2;
3633
- -ms-grid-column-span: 1;
3634
- grid-column-end: 3;
3635
- -ms-grid-row: 5;
3636
- grid-row-start: 5;
3637
- -ms-grid-row-span: 2;
3638
- grid-row-end: 7;
3639
- }
3640
- /* Layout 12 */
3641
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1 {
3642
- -ms-grid-columns: 1fr 1fr !important;
3643
- grid-template-columns: 1fr 1fr !important;
3644
- -ms-grid-rows: (1fr)[2] !important;
3645
- grid-template-rows: repeat(2, 1fr) !important;
3646
- }
3647
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>*:nth-child(1) {
3648
- -ms-grid-row: 1;
3649
- -ms-grid-column: 1;
3650
- }
3651
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>*:nth-child(2) {
3652
- -ms-grid-row: 1;
3653
- -ms-grid-column: 2;
3654
- }
3655
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>*:nth-child(3) {
3656
- -ms-grid-row: 2;
3657
- -ms-grid-column: 1;
3658
- }
3659
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>*:nth-child(4) {
3660
- -ms-grid-row: 2;
3661
- -ms-grid-column: 2;
3662
- }
3663
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2 {
3664
- -ms-grid-columns: 1fr 1fr !important;
3665
- grid-template-columns: 1fr 1fr !important;
3666
- -ms-grid-rows: (1fr)[4] !important;
3667
- grid-template-rows: repeat(4, 1fr) !important;
3668
- }
3669
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(1) {
3670
- -ms-grid-row: 1;
3671
- -ms-grid-column: 1;
3672
- }
3673
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(2) {
3674
- -ms-grid-row: 1;
3675
- -ms-grid-column: 2;
3676
- }
3677
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(3) {
3678
- -ms-grid-row: 2;
3679
- -ms-grid-column: 1;
3680
- }
3681
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(4) {
3682
- -ms-grid-row: 2;
3683
- -ms-grid-column: 2;
3684
- }
3685
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(5) {
3686
- -ms-grid-row: 3;
3687
- -ms-grid-column: 1;
3688
- }
3689
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(6) {
3690
- -ms-grid-row: 3;
3691
- -ms-grid-column: 2;
3692
- }
3693
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(7) {
3694
- -ms-grid-row: 4;
3695
- -ms-grid-column: 1;
3696
- }
3697
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(8) {
3698
- -ms-grid-row: 4;
3699
- -ms-grid-column: 2;
3700
- }
3701
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3 {
3702
- -ms-grid-columns: 1fr 1fr !important;
3703
- grid-template-columns: 1fr 1fr !important;
3704
- -ms-grid-rows: (1fr)[6] !important;
3705
- grid-template-rows: repeat(6, 1fr) !important;
3706
- }
3707
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(1) {
3708
- -ms-grid-row: 1;
3709
- -ms-grid-column: 1;
3710
- }
3711
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(2) {
3712
- -ms-grid-row: 1;
3713
- -ms-grid-column: 2;
3714
- }
3715
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(3) {
3716
- -ms-grid-row: 2;
3717
- -ms-grid-column: 1;
3718
- }
3719
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(4) {
3720
- -ms-grid-row: 2;
3721
- -ms-grid-column: 2;
3722
- }
3723
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(5) {
3724
- -ms-grid-row: 3;
3725
- -ms-grid-column: 1;
3726
- }
3727
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(6) {
3728
- -ms-grid-row: 3;
3729
- -ms-grid-column: 2;
3730
- }
3731
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(7) {
3732
- -ms-grid-row: 4;
3733
- -ms-grid-column: 1;
3734
- }
3735
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(8) {
3736
- -ms-grid-row: 4;
3737
- -ms-grid-column: 2;
3738
- }
3739
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(9) {
3740
- -ms-grid-row: 5;
3741
- -ms-grid-column: 1;
3742
- }
3743
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(10) {
3744
- -ms-grid-row: 5;
3745
- -ms-grid-column: 2;
3746
- }
3747
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(11) {
3748
- -ms-grid-row: 6;
3749
- -ms-grid-column: 1;
3750
- }
3751
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(12) {
3752
- -ms-grid-row: 6;
3753
- -ms-grid-column: 2;
3754
- }
3755
- }
3756
-
3757
- @media screen and ( max-width: 767px) {
3758
- /* Layout 11 */
3759
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1 {
3760
- -ms-grid-columns: 1fr !important;
3761
- grid-template-columns: 1fr !important;
3762
- -ms-grid-rows: (1fr)[3] !important;
3763
- grid-template-rows: repeat(3, 1fr) !important;
3764
- }
3765
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1>*:nth-child(1) {
3766
- -ms-grid-row: 1;
3767
- -ms-grid-column: 1;
3768
- }
3769
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1>*:nth-child(2) {
3770
- -ms-grid-row: 2;
3771
- -ms-grid-column: 1;
3772
- }
3773
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1>*:nth-child(3) {
3774
- -ms-grid-row: 3;
3775
- -ms-grid-column: 1;
3776
- }
3777
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2 {
3778
- -ms-grid-columns: 1fr !important;
3779
- grid-template-columns: 1fr !important;
3780
- -ms-grid-rows: (1fr)[6] !important;
3781
- grid-template-rows: repeat(6, 1fr) !important;
3782
- }
3783
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>*:nth-child(1) {
3784
- -ms-grid-row: 1;
3785
- -ms-grid-column: 1;
3786
- }
3787
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>*:nth-child(2) {
3788
- -ms-grid-row: 2;
3789
- -ms-grid-column: 1;
3790
- }
3791
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>*:nth-child(3) {
3792
- -ms-grid-row: 3;
3793
- -ms-grid-column: 1;
3794
- }
3795
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>*:nth-child(4) {
3796
- -ms-grid-row: 4;
3797
- -ms-grid-column: 1;
3798
- }
3799
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>*:nth-child(5) {
3800
- -ms-grid-row: 5;
3801
- -ms-grid-column: 1;
3802
- }
3803
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>*:nth-child(6) {
3804
- -ms-grid-row: 6;
3805
- -ms-grid-column: 1;
3806
- }
3807
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3 {
3808
- -ms-grid-columns: 1fr !important;
3809
- grid-template-columns: 1fr !important;
3810
- -ms-grid-rows: (1fr)[9] !important;
3811
- grid-template-rows: repeat(9, 1fr) !important;
3812
- }
3813
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(1) {
3814
- -ms-grid-row: 1;
3815
- -ms-grid-column: 1;
3816
- }
3817
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(2) {
3818
- -ms-grid-row: 2;
3819
- -ms-grid-column: 1;
3820
- }
3821
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(3) {
3822
- -ms-grid-row: 3;
3823
- -ms-grid-column: 1;
3824
- }
3825
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(4) {
3826
- -ms-grid-row: 4;
3827
- -ms-grid-column: 1;
3828
- }
3829
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(5) {
3830
- -ms-grid-row: 5;
3831
- -ms-grid-column: 1;
3832
- }
3833
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(6) {
3834
- -ms-grid-row: 6;
3835
- -ms-grid-column: 1;
3836
- }
3837
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(7) {
3838
- -ms-grid-row: 7;
3839
- -ms-grid-column: 1;
3840
- }
3841
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(8) {
3842
- -ms-grid-row: 8;
3843
- -ms-grid-column: 1;
3844
- }
3845
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(9) {
3846
- -ms-grid-row: 9;
3847
- -ms-grid-column: 1;
3848
- }
3849
- }
3850
-
3851
-
3852
- /*--------------------------------------------------------------
3853
- == Sharing Buttons
3854
- --------------------------------------------------------------*/
3855
-
3856
- .wpr-sharing-buttons .wpr-sharing-icon {
3857
- overflow: hidden;
3858
- position: relative;
3859
- display: -webkit-box;
3860
- display: -ms-flexbox;
3861
- display: flex;
3862
- color: #ffffff !important;
3863
- }
3864
-
3865
- .wpr-sharing-buttons .wpr-sharing-icon i {
3866
- display: block;
3867
- text-align: center;
3868
- }
3869
-
3870
- .wpr-sharing-label {
3871
- -webkit-box-flex: 1;
3872
- -ms-flex-positive: 1;
3873
- flex-grow: 1;
3874
- }
3875
-
3876
- .elementor-widget-wpr-sharing-buttons.elementor-grid-0 .wpr-sharing-buttons,
3877
- .elementor-widget-wpr-sharing-buttons[class*="elementor-grid-pro-"] .wpr-sharing-buttons {
3878
- display: -webkit-box;
3879
- display: -ms-flexbox;
3880
- display: flex;
3881
- }
3882
-
3883
- .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 {
3884
- width: 100% !important;
3885
- }
3886
-
3887
- .wpr-sharing-buttons.wpr-sharing-col-1 .wpr-sharing-icon {
3888
- width: 100%;
3889
- margin-right: 0 !important;
3890
- }
3891
-
3892
- .wpr-sharing-buttons .wpr-sharing-icon:last-child,
3893
- .wpr-sharing-col-1 .wpr-sharing-buttons .wpr-sharing-icon,
3894
- .wpr-sharing-col-2 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(2n),
3895
- .wpr-sharing-col-3 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(3n),
3896
- .wpr-sharing-col-4 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(4n),
3897
- .wpr-sharing-col-5 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(5n),
3898
- .wpr-sharing-col-6 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(6n) {
3899
- margin-right: 0 !important;
3900
- }
3901
-
3902
- .wpr-sharing-buttons .wpr-sharing-icon {
3903
- transition-propery: opacity, border-color;
3904
- -webkit-transition-timing-function: linear;
3905
- -o-transition-timing-function: linear;
3906
- transition-timing-function: linear;
3907
- }
3908
-
3909
- .wpr-sharing-buttons .wpr-sharing-icon i,
3910
- .wpr-sharing-buttons .wpr-sharing-icon span {
3911
- transition-propery: color, background-color;
3912
- -webkit-transition-timing-function: linear;
3913
- -o-transition-timing-function: linear;
3914
- transition-timing-function: linear;
3915
- }
3916
-
3917
- .wpr-sharing-official .wpr-sharing-icon:hover {
3918
- opacity: 0.85;
3919
- }
3920
-
3921
- .wpr-sharing-official .wpr-sharing-facebook-f i,
3922
- .wpr-sharing-official .wpr-sharing-facebook-f span {
3923
- background-color: #3b5998;
3924
- }
3925
-
3926
- .wpr-sharing-official .wpr-sharing-twitter i,
3927
- .wpr-sharing-official .wpr-sharing-twitter span {
3928
- background-color: #1da1f2;
3929
- }
3930
-
3931
- .wpr-sharing-official .wpr-sharing-linkedin-in i,
3932
- .wpr-sharing-official .wpr-sharing-linkedin-in span {
3933
- background-color: #0077b5;
3934
- }
3935
-
3936
- .wpr-sharing-official .wpr-sharing-pinterest-p i,
3937
- .wpr-sharing-official .wpr-sharing-pinterest-p span {
3938
- background-color: #bd081c;
3939
- }
3940
-
3941
- .wpr-sharing-official .wpr-sharing-reddit i,
3942
- .wpr-sharing-official .wpr-sharing-reddit span {
3943
- background-color: #ff4500;
3944
- }
3945
-
3946
- .wpr-sharing-official .wpr-sharing-tumblr i,
3947
- .wpr-sharing-official .wpr-sharing-tumblr span {
3948
- background-color: #35465c;
3949
- }
3950
-
3951
- .wpr-sharing-official .wpr-sharing-digg i,
3952
- .wpr-sharing-official .wpr-sharing-digg span {
3953
- background-color: #005be2;
3954
- }
3955
-
3956
- .wpr-sharing-official .wpr-sharing-xing i,
3957
- .wpr-sharing-official .wpr-sharing-xing span {
3958
- background-color: #026466;
3959
- }
3960
-
3961
- .wpr-sharing-official .wpr-sharing-stumbleupon i,
3962
- .wpr-sharing-official .wpr-sharing-stumbleupon span {
3963
- background-color: #eb4924;
3964
- }
3965
-
3966
- .wpr-sharing-official .wpr-sharing-vk i,
3967
- .wpr-sharing-official .wpr-sharing-vk span {
3968
- background-color: #45668e;
3969
- }
3970
-
3971
- .wpr-sharing-official .wpr-sharing-odnoklassniki i,
3972
- .wpr-sharing-official .wpr-sharing-odnoklassniki span {
3973
- background-color: #f4731c;
3974
- }
3975
-
3976
- .wpr-sharing-official .wpr-sharing-get-pocket i,
3977
- .wpr-sharing-official .wpr-sharing-get-pocket span {
3978
- background-color: #ef3f56;
3979
- }
3980
-
3981
- .wpr-sharing-official .wpr-sharing-skype i,
3982
- .wpr-sharing-official .wpr-sharing-skype span {
3983
- background-color: #00aff0;
3984
- }
3985
-
3986
- .wpr-sharing-official .wpr-sharing-whatsapp i,
3987
- .wpr-sharing-official .wpr-sharing-whatsapp span {
3988
- background-color: #25d366;
3989
- }
3990
-
3991
- .wpr-sharing-official .wpr-sharing-telegram i,
3992
- .wpr-sharing-official .wpr-sharing-telegram span {
3993
- background-color: #2ca5e0;
3994
- }
3995
-
3996
- .wpr-sharing-official .wpr-sharing-delicious i,
3997
- .wpr-sharing-official .wpr-sharing-delicious span {
3998
- background-color: #3399ff;
3999
- }
4000
-
4001
- .wpr-sharing-official .wpr-sharing-envelope i,
4002
- .wpr-sharing-official .wpr-sharing-envelope span {
4003
- background-color: #c13B2c;
4004
- }
4005
-
4006
- .wpr-sharing-official .wpr-sharing-print i,
4007
- .wpr-sharing-official .wpr-sharing-print span {
4008
- background-color: #96c859;
4009
- }
4010
-
4011
- .wpr-sharing-official .wpr-sharing-facebook-f {
4012
- border-color: #3b5998;
4013
- }
4014
-
4015
- .wpr-sharing-official .wpr-sharing-twitter {
4016
- border-color: #1da1f2;
4017
- }
4018
-
4019
- .wpr-sharing-official .wpr-sharing-linkedin-in {
4020
- border-color: #0077b5;
4021
- }
4022
-
4023
- .wpr-sharing-official .wpr-sharing-pinterest-p {
4024
- border-color: #bd081c;
4025
- }
4026
-
4027
- .wpr-sharing-official .wpr-sharing-reddit {
4028
- border-color: #ff4500;
4029
- }
4030
-
4031
- .wpr-sharing-official .wpr-sharing-tumblr {
4032
- border-color: #35465c;
4033
- }
4034
-
4035
- .wpr-sharing-official .wpr-sharing-digg {
4036
- border-color: #005be2;
4037
- }
4038
-
4039
- .wpr-sharing-official .wpr-sharing-xing {
4040
- border-color: #026466;
4041
- }
4042
-
4043
- .wpr-sharing-official .wpr-sharing-stumbleupon {
4044
- border-color: #eb4924;
4045
- }
4046
-
4047
- .wpr-sharing-official .wpr-sharing-vk {
4048
- border-color: #45668e;
4049
- }
4050
-
4051
- .wpr-sharing-official .wpr-sharing-odnoklassniki {
4052
- border-color: #f4731c;
4053
- }
4054
-
4055
- .wpr-sharing-official .wpr-sharing-get-pocket {
4056
- border-color: #ef3f56;
4057
- }
4058
-
4059
- .wpr-sharing-official .wpr-sharing-skype {
4060
- border-color: #00aff0;
4061
- }
4062
-
4063
- .wpr-sharing-official .wpr-sharing-whatsapp {
4064
- border-color: #25d366;
4065
- }
4066
-
4067
- .wpr-sharing-official .wpr-sharing-telegram {
4068
- border-color: #2ca5e0;
4069
- }
4070
-
4071
- .wpr-sharing-official .wpr-sharing-delicious {
4072
- border-color: #3399ff;
4073
- }
4074
-
4075
- .wpr-sharing-official .wpr-sharing-envelope {
4076
- border-color: #c13B2c;
4077
- }
4078
-
4079
- .wpr-sharing-official .wpr-sharing-print {
4080
- border-color: #96c859;
4081
- }
4082
-
4083
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-facebook-f i,
4084
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-facebook-f span {
4085
- color: #3b5998;
4086
- background-color: transparent;
4087
- }
4088
-
4089
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-twitter i,
4090
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-twitter span {
4091
- color: #1da1f2;
4092
- background-color: transparent;
4093
- }
4094
-
4095
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-linkedin-in i,
4096
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-linkedin-in span {
4097
- color: #0077b5;
4098
- background-color: transparent;
4099
- }
4100
-
4101
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-pinterest-p i,
4102
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-pinterest-p span {
4103
- color: #bd081c;
4104
- background-color: transparent;
4105
- }
4106
-
4107
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-reddit i,
4108
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-reddit span {
4109
- color: #ff4500;
4110
- background-color: transparent;
4111
- }
4112
-
4113
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-tumblr i,
4114
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-tumblr span {
4115
- color: #35465c;
4116
- background-color: transparent;
4117
- }
4118
-
4119
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-digg i,
4120
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-digg span {
4121
- color: #005be2;
4122
- background-color: transparent;
4123
- }
4124
-
4125
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-xing i,
4126
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-xing span {
4127
- color: #026466;
4128
- background-color: transparent;
4129
- }
4130
-
4131
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-stumbleupon i,
4132
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-stumbleupon span {
4133
- color: #eb4924;
4134
- background-color: transparent;
4135
- }
4136
-
4137
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-vk i,
4138
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-vk span {
4139
- color: #45668e;
4140
- background-color: transparent;
4141
- }
4142
-
4143
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-odnoklassniki i,
4144
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-odnoklassniki span {
4145
- color: #f4731c;
4146
- background-color: transparent;
4147
- }
4148
-
4149
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-get-pocket i,
4150
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-get-pocket span {
4151
- color: #ef3f56;
4152
- background-color: transparent;
4153
- }
4154
-
4155
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-skype i,
4156
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-skype span {
4157
- color: #00aff0;
4158
- background-color: transparent;
4159
- }
4160
-
4161
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-whatsapp i,
4162
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-whatsapp span {
4163
- color: #25d366;
4164
- background-color: transparent;
4165
- }
4166
-
4167
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-telegram i,
4168
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-telegram span {
4169
- color: #2ca5e0;
4170
- background-color: transparent;
4171
- }
4172
-
4173
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-delicious i,
4174
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-delicious span {
4175
- color: #3399ff;
4176
- background-color: transparent;
4177
- }
4178
-
4179
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-envelope i,
4180
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-envelope span {
4181
- color: #c13B2c;
4182
- background-color: transparent;
4183
- }
4184
-
4185
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-print i,
4186
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-print span {
4187
- color: #96c859;
4188
- background-color: transparent;
4189
- }
4190
-
4191
-
4192
- /*--------------------------------------------------------------
4193
- == CountDown
4194
- --------------------------------------------------------------*/
4195
-
4196
- .wpr-countdown-wrap {
4197
- display: -webkit-box;
4198
- display: -ms-flexbox;
4199
- display: flex;
4200
- -webkit-box-orient: horizontal;
4201
- -webkit-box-direction: normal;
4202
- -ms-flex-direction: row;
4203
- flex-direction: row;
4204
- margin: 0 auto;
4205
- }
4206
-
4207
- .wpr-countdown-item {
4208
- -webkit-box-flex: 1;
4209
- -ms-flex-positive: 1;
4210
- flex-grow: 1;
4211
- -ms-flex-preferred-size: 0;
4212
- flex-basis: 0;
4213
- overflow: hidden;
4214
- color: #fff;
4215
- text-align: center;
4216
- }
4217
-
4218
- .wpr-countdown-item:first-child {
4219
- margin-left: 0 !important;
4220
- }
4221
-
4222
- .wpr-countdown-item:last-of-type {
4223
- margin-right: 0 !important;
4224
- }
4225
-
4226
- .wpr-countdown-number {
4227
- display: block;
4228
- }
4229
-
4230
- .wpr-countdown-separator {
4231
- -ms-flex-item-align: center;
4232
- -ms-grid-row-align: center;
4233
- align-self: center;
4234
- }
4235
-
4236
- .wpr-countdown-separator span {
4237
- display: block;
4238
- }
4239
-
4240
- .wpr-countdown-separator:last-of-type {
4241
- display: none !important;
4242
- }
4243
-
4244
- .wpr-countdown-wrap+div:not(.wpr-countdown-message) {
4245
- display: none;
4246
- }
4247
-
4248
- .wpr-countdown-message+div {
4249
- display: none;
4250
- }
4251
-
4252
-
4253
- /* Defaults */
4254
-
4255
- .elementor-widget-wpr-countdown .wpr-countdown-item {
4256
- background-color: #605BE5;
4257
- }
4258
-
4259
- .elementor-widget-wpr-countdown .wpr-countdown-number {
4260
- font-size: 70px;
4261
- }
4262
-
4263
- .elementor-widget-wpr-countdown .wpr-countdown-label {
4264
- font-size: 19px;
4265
- line-height: 45px;
4266
- }
4267
-
4268
-
4269
- /*--------------------------------------------------------------
4270
- == Google Maps
4271
- --------------------------------------------------------------*/
4272
-
4273
- .wpr-google-map .gm-style-iw-c {
4274
- padding: 0 !important;
4275
- }
4276
-
4277
- .wpr-google-map .gm-style-iw-c>button {
4278
- top: 0 !important;
4279
- right: 0 !important;
4280
- }
4281
-
4282
- .wpr-google-map .gm-style-iw-c .wpr-gm-iwindow h3 {
4283
- margin-bottom: 7px;
4284
- }
4285
-
4286
- .wpr-google-map .gm-style-iw-d {
4287
- overflow: hidden !important;
4288
- }
4289
-
4290
- .wpr-google-map .gm-style img {
4291
- max-width: none !important;
4292
- }
4293
-
4294
-
4295
- /*--------------------------------------------------------------
4296
- == Forms
4297
- --------------------------------------------------------------*/
4298
-
4299
- .wpr-forms-container .wpcf7-form .wpcf7-form-control-wrap {
4300
- display: block !important;
4301
- }
4302
-
4303
- .wpcf7 label,
4304
- .wpcf7-quiz-label {
4305
- width: 100%;
4306
- }
4307
-
4308
- .wpr-forms-container .wpcf7 p {
4309
- margin-bottom: 0;
4310
- }
4311
-
4312
- .wpr-forms-container .wpcf7-form .ajax-loader {
4313
- display: block;
4314
- visibility: hidden;
4315
- height: 0;
4316
- overflow: hidden;
4317
- clear: both;
4318
- }
4319
-
4320
- .wpr-forms-container .wpcf7-select,
4321
- .wpr-forms-container .wpcf7-number,
4322
- .wpr-forms-container .wpcf7-date,
4323
- .wpr-forms-container select.wpforms-field-medium,
4324
- .wpr-forms-container .nf-field-container select,
4325
- .wpr-forms-container .caldera-grid select.form-control {
4326
- padding: 7px 10px !important;
4327
- }
4328
-
4329
- .wpr-forms-container .wpcf7-date {
4330
- width: auto !important;
4331
- }
4332
-
4333
- .wpr-forms-container .wpcf7-number {
4334
- width: 100px !important;
4335
- }
4336
-
4337
- .wpr-forms-container .wpcf7-form .wpcf7-submit {
4338
- display: block;
4339
- }
4340
-
4341
- .wpr-forms-container .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item,
4342
- .wpr-forms-container .wpcf7-form-control.wpcf7-radio .wpcf7-list-item,
4343
- .wpr-forms-container .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {
4344
- margin-left: 0;
4345
- margin-right: 10px;
4346
- }
4347
-
4348
- .wpr-forms-container .wpcf7-response-output {
4349
- clear: both;
4350
- margin: 0;
4351
- }
4352
-
4353
- .wpr-forms-container .wpforms-field:not(.wpforms-field-address) .wpforms-field-medium {
4354
- display: inline-block !important;
4355
- max-width: 100% !important;
4356
- }
4357
-
4358
- .wpr-forms-container .wpforms-field-phone,
4359
- .wpr-forms-container .wpforms-field-address,
4360
- .wpr-forms-container .wpforms-page-indicator {
4361
- display: inline-block;
4362
- }
4363
-
4364
- .wpr-forms-container .wpforms-field-address .wpforms-field-medium {
4365
- max-width: 100% !important;
4366
- }
4367
-
4368
- .wpr-forms-container .intl-tel-input.allow-dropdown input.wpforms-field-medium,
4369
- .wpr-forms-container .wpforms-field-address div.wpforms-field-medium {
4370
- width: 100% !important;
4371
- max-width: 100% !important;
4372
- }
4373
-
4374
- .wpr-forms-container .intl-tel-input.allow-dropdown {
4375
- display: inline-block !important;
4376
- max-width: 100% !important;
4377
- }
4378
-
4379
- .wpr-forms-align-left .wpr-forms-container div.wpforms-container-full .wpforms-form .wpforms-list-inline ul li:last-child {
4380
- margin-right: 0 !important;
4381
- }
4382
-
4383
- .wpr-forms-container .wpcf7-mail-sent-ok,
4384
- .wpr-forms-container .wpforms-confirmation-container-full,
4385
- .wpr-forms-container .nf-response-msg,
4386
- .wpr-forms-container .caldera-grid .alert-success {
4387
- padding: 10px 15px;
4388
- border: 2px solid;
4389
- }
4390
-
4391
- .wpr-forms-container label.wpforms-error a {
4392
- text-decoration: underline;
4393
- }
4394
-
4395
- .wpr-forms-container .wpforms-smart-phone-field {
4396
- text-indent: 0 !important;
4397
- }
4398
-
4399
- .wpr-forms-container select.ninja-forms-field {
4400
- line-height: 1 !important;
4401
- }
4402
-
4403
- .wpr-forms-container .nf-form-wrap .checkbox-wrap label {
4404
- display: inline-block !important;
4405
- }
4406
-
4407
- .wpr-forms-container .nf-form-wrap .starrating .stars {
4408
- display: inline-block;
4409
- }
4410
-
4411
- .wpr-forms-submit-center .wpcf7-submit,
4412
- .wpr-forms-submit-center .wpforms-submit,
4413
- .wpr-forms-submit-center .wpforms-page-next,
4414
- .wpr-forms-submit-center .wpforms-page-previous,
4415
- .wpr-forms-submit-center .submit-wrap .ninja-forms-field,
4416
- .wpr-forms-submit-center .caldera-grid .btn-default:not(a) {
4417
- display: block !important;
4418
- margin-left: auto !important;
4419
- margin-right: auto !important;
4420
- }
4421
-
4422
- .wpr-forms-submit-left .wpcf7-submit,
4423
- .wpr-forms-submit-left .wpforms-submit,
4424
- .wpr-forms-submit-left .wpforms-page-next,
4425
- .wpr-forms-submit-left .wpforms-page-previous,
4426
- .wpr-forms-submit-left .submit-wrap .ninja-forms-field,
4427
- .wpr-forms-submit-left .caldera-grid .btn-default:not(a) {
4428
- float: left !important;
4429
- }
4430
-
4431
- .wpr-forms-submit-right .wpcf7-submit,
4432
- .wpr-forms-submit-right .wpforms-submit,
4433
- .wpr-forms-submit-right .wpforms-page-next,
4434
- .wpr-forms-submit-right .wpforms-page-previous,
4435
- .wpr-forms-submit-right .submit-wrap .ninja-forms-field,
4436
- .wpr-forms-submit-left .caldera-grid .btn-default:not(a) {
4437
- float: right !important;
4438
- }
4439
-
4440
- .wpr-forms-submit-justify .wpcf7-submit,
4441
- .wpr-forms-submit-justify .wpforms-submit,
4442
- .wpr-forms-submit-justify .wpforms-page-next,
4443
- .wpr-forms-submit-justify .wpforms-page-previous,
4444
- .wpr-forms-submit-justify .submit-wrap .ninja-forms-field,
4445
- .wpr-forms-submit-justify .caldera-grid .btn-default:not(a) {
4446
- display: block !important;
4447
- width: 100% !important;
4448
- text-align: center !important;
4449
- }
4450
-
4451
- .wpr-custom-chk-radio .wpcf7-checkbox input,
4452
- .wpr-custom-chk-radio .wpcf7-radio input,
4453
- .wpr-custom-chk-radio .wpcf7-acceptance input,
4454
- .wpr-custom-chk-radio .wpforms-field-radio input,
4455
- .wpr-custom-chk-radio .wpforms-field-checkbox input,
4456
- .wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input {
4457
- display: none !important;
4458
- }
4459
-
4460
- .wpr-custom-chk-radio .wpcf7-checkbox .wpcf7-list-item-label,
4461
- .wpr-custom-chk-radio .wpcf7-radio .wpcf7-list-item-label,
4462
- .wpr-custom-chk-radio .wpcf7-acceptance .wpcf7-list-item-label,
4463
- .wpr-custom-chk-radio .wpforms-field-checkbox input+label,
4464
- .wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input+label,
4465
- .wpr-custom-chk-radio .wpforms-field-radio input+label,
4466
- .wpr-custom-chk-radio .wpforms-field-radio input+span {
4467
- cursor: pointer;
4468
- -webkit-user-select: none;
4469
- -moz-user-select: none;
4470
- -ms-user-select: none;
4471
- -o-user-select: none;
4472
- user-select: none;
4473
- }
4474
-
4475
- .wpr-custom-chk-radio .wpcf7-checkbox .wpcf7-list-item-label:before,
4476
- .wpr-custom-chk-radio .wpcf7-radio .wpcf7-list-item-label:before,
4477
- .wpr-custom-chk-radio .wpcf7-acceptance .wpcf7-list-item-label:before,
4478
- .wpr-custom-chk-radio .wpforms-field-checkbox input+label:before,
4479
- .wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input+label:before,
4480
- .wpr-custom-chk-radio .wpforms-field-radio input+label:before,
4481
- .wpr-custom-chk-radio .wpforms-field-radio input:not(.wpforms-screen-reader-element)+span:before {
4482
- content: "\2714";
4483
- display: inline-block;
4484
- position: relative;
4485
- top: -1px;
4486
- text-align: center;
4487
- border: 1px solid;
4488
- margin-right: 5px;
4489
- color: transparent;
4490
- }
4491
-
4492
- .wpr-forms-align-right .wpforms-field-checkbox ul li input:first-child,
4493
- .wpr-forms-align-right .wpforms-field-radio ul li input:first-child,
4494
- .wpr-forms-align-right .wpforms-image-choices label input:first-of-type,
4495
- .wpr-forms-align-right .wpforms-field-gdpr-checkbox input:first-child {
4496
- float: right;
4497
- margin-right: 0 !important;
4498
- margin-left: 10px !important;
4499
- }
4500
-
4501
- .wpr-forms-align-right .wpr-forms-container,
4502
- .wpr-forms-align-right .wpr-forms-container .wpcf7-form-control {
4503
- direction: rtl;
4504
- }
4505
-
4506
- .wpr-forms-align-right .nf-form-wrap .field-wrap {
4507
- -webkit-box-pack: end;
4508
- -ms-flex-pack: end;
4509
- justify-content: flex-end;
4510
- }
4511
-
4512
- .wpr-forms-align-right .label-right .nf-field-description {
4513
- margin-right: 0 !important;
4514
- }
4515
-
4516
- .wpr-forms-align-right .nf-error.field-wrap .nf-field-element:after {
4517
- right: auto !important;
4518
- left: 1px !important;
4519
- }
4520
-
4521
- .wpr-forms-align-right .wpr-custom-chk-radio .wpcf7-checkbox .wpcf7-list-item-label:before,
4522
- .wpr-forms-align-right .wpr-custom-chk-radio .wpcf7-radio .wpcf7-list-item-label:before,
4523
- .wpr-forms-align-right .wpr-custom-chk-radio .wpcf7-acceptance .wpcf7-list-item-label:before,
4524
- .wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-checkbox input+label:before,
4525
- .wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input+label:before,
4526
- .wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-radio input+label:before,
4527
- .wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-radio input:not(.wpforms-screen-reader-element)+span:before {
4528
- margin-right: 0;
4529
- margin-left: 5px;
4530
- }
4531
-
4532
- .wpr-forms-align-right .wpcf7-list-item.last,
4533
- .wpr-forms-align-right .wpcf7-acceptance .wpcf7-list-item,
4534
- .wpr-forms-align-right div.wpforms-container-full .wpforms-form .wpforms-list-inline ul li:first-child {
4535
- margin-right: 0 !important;
4536
- }
4537
-
4538
- .wpr-forms-align-right .wpr-forms-container .intl-tel-input .flag-container {
4539
- left: auto !important;
4540
- right: 0 !important;
4541
- }
4542
-
4543
- .wpr-forms-align-right .caldera-grid .col-sm-4,
4544
- .wpr-forms-align-right .caldera-grid .col-sm-6 {
4545
- float: right;
4546
- }
4547
-
4548
- .wpr-forms-align-right .wpr-forms-container .caldera-grid .checkbox label,
4549
- .wpr-forms-align-right .wpr-forms-container .caldera-grid .checkbox-inline label,
4550
- .wpr-forms-align-right .wpr-forms-container .caldera-grid .radio label {
4551
- padding-left: 0 !important;
4552
- padding-right: 20px;
4553
- }
4554
-
4555
- .wpr-forms-align-right .wpr-forms-container .caldera-grid .checkbox input,
4556
- .wpr-forms-align-right .wpr-forms-container .caldera-grid .radio input {
4557
- margin-right: -20px !important;
4558
- margin-left: 0 !important;
4559
- }
4560
-
4561
- .wpr-forms-align-right .wpr-forms-container .caldera-grid .cf-credit-card {
4562
- background-position: 99% center !important;
4563
- }
4564
-
4565
- .wpr-forms-align-right .wpr-forms-container .caldera-grid .live-gravatar {
4566
- text-align: right !important;
4567
- }
4568
-
4569
- .wpr-forms-align-left .wpr-forms-container .caldera-grid .live-gravatar {
4570
- text-align: left !important;
4571
- }
4572
-
4573
- .wpr-forms-container .nf-form-content {
4574
- padding: 0;
4575
- max-width: none;
4576
- }
4577
-
4578
- .wpr-forms-container .nf-form-content .label-above .field-wrap {
4579
- -webkit-box-orient: vertical;
4580
- -webkit-box-direction: normal;
4581
- -ms-flex-direction: column;
4582
- flex-direction: column;
4583
- }
4584
-
4585
- .wpr-forms-container .nf-form-content .label-above .nf-field-label {
4586
- margin-top: 0;
4587
- }
4588
-
4589
- .wpr-forms-container .field-wrap:not(.textarea-wrap):not(.submit-wrap) .ninja-forms-field {
4590
- border-radius: 0;
4591
- }
4592
-
4593
- .wpr-forms-container .field-wrap.textarea-wrap .ninja-forms-field {
4594
- display: block;
4595
- }
4596
-
4597
- .wpr-forms-container .field-wrap.submit-wrap .ninja-forms-field {
4598
- cursor: pointer;
4599
- }
4600
-
4601
- .wpr-forms-container .listselect-wrap>div select.ninja-forms-field {
4602
- -webkit-appearance: menulist;
4603
- -moz-appearance: menulist;
4604
- appearance: menulist;
4605
- }
4606
-
4607
- .wpr-forms-container .nf-form-content .list-select-wrap .nf-field-element>div,
4608
- .wpr-forms-container .nf-form-content input:not([type=button]),
4609
- .wpr-forms-container .nf-form-content textarea {
4610
- background: transparent;
4611
- border: none;
4612
- }
4613
-
4614
- .wpr-forms-container .checkbox-container.label-right .field-wrap {
4615
- display: block;
4616
- }
4617
-
4618
- .wpr-forms-container .listradio-wrap ul li,
4619
- .wpr-forms-container .listcheckbox-wrap ul li {
4620
- display: inline-block;
4621
- margin-right: 10px !important;
4622
- margin-bottom: 7px !important;
4623
- }
4624
-
4625
- .wpr-forms-container .listcheckbox-container .nf-field-element label:after {
4626
- top: 1px;
4627
- }
4628
-
4629
- .wpr-forms-container .listradio-wrap .nf-field-element label {
4630
- margin-left: 25px !important;
4631
- }
4632
-
4633
- .wpr-forms-container .listradio-wrap .nf-field-element label:after {
4634
- top: 0;
4635
- left: -25px;
4636
- }
4637
-
4638
- .wpr-forms-container .listradio-wrap .nf-field-element label.nf-checked-label:before {
4639
- top: 4px;
4640
- left: -21px;
4641
- }
4642
-
4643
- .wpr-forms-container .listradio-wrap label,
4644
- .wpr-forms-container .checkbox-wrap label,
4645
- .wpr-forms-container .listcheckbox-wrap label {
4646
- cursor: pointer;
4647
- -webkit-user-select: none;
4648
- -moz-user-select: none;
4649
- -ms-user-select: none;
4650
- -o-user-select: none;
4651
- user-select: none;
4652
- }
4653
-
4654
- .wpr-forms-container .nf-error.field-wrap .nf-field-element:after {
4655
- top: 0 !important;
4656
- bottom: 0 !important;
4657
- height: auto !important;
4658
- }
4659
-
4660
- .wpr-forms-container .wpforms-form .wpforms-field,
4661
- .wpr-forms-container .wpforms-submit-container {
4662
- padding: 0 !important;
4663
- }
4664
-
4665
- .wpr-forms-container .wpforms-container,
4666
- .wpr-forms-container div.wpforms-container-full .wpforms-form .wpforms-field-row,
4667
- .wpr-forms-container .wpforms-field-address .wpforms-field-row:nth-last-child(2) {
4668
- margin-bottom: 0 !important;
4669
- }
4670
-
4671
- .wpr-forms-container .wpforms-submit-container:after {
4672
- content: " ";
4673
- clear: both;
4674
- display: table;
4675
- }
4676
-
4677
- .wpr-forms-container .caldera-grid .help-block {
4678
- margin-bottom: 0;
4679
- }
4680
-
4681
- .wpr-forms-container .caldera-grid .caldera-forms-gdpr-field-label a {
4682
- text-decoration: underline;
4683
- }
4684
-
4685
- .wpr-forms-container .caldera-grid .intl-tel-input input {
4686
- text-indent: 40px;
4687
- }
4688
-
4689
- .wpr-forms-container .caldera-grid input.cf-credit-card {
4690
- text-indent: 33px;
4691
- }
4692
-
4693
- .wpr-forms-container .caldera-grid .cf-credit-card {
4694
- background-position: 5px center !important;
4695
- }
4696
-
4697
- .wpr-forms-container .cf2-dropzone .form-control {
4698
- height: auto;
4699
- }
4700
-
4701
- .wpr-forms-container .caldera-grid .form-group input,
4702
- .wpr-forms-container .caldera-grid .form-group textarea {
4703
- -webkit-box-shadow: none;
4704
- box-shadow: none;
4705
- }
4706
-
4707
- .wpr-forms-container .caldera-grid .has-error .form-control {
4708
- -webkit-box-shadow: none;
4709
- box-shadow: none;
4710
- }
4711
-
4712
- .wpr-forms-container .caldera-grid .alert-success {
4713
- text-shadow: none;
4714
- }
4715
-
4716
-
4717
- /* Defaults */
4718
-
4719
- .elementor-widget-wpr-forms .wpforms-head-container .wpforms-title,
4720
- .elementor-widget-wpr-forms .nf-form-title h3 {
4721
- font-size: 28px;
4722
- font-weight: 800;
4723
- }
4724
-
4725
- .elementor-widget-wpr-forms .wpforms-head-container .wpforms-description,
4726
- .elementor-widget-wpr-forms .nf-form-fields-required {
4727
- font-size: 14px;
4728
- }
4729
-
4730
- .elementor-widget-wpr-forms .wpcf7-form,
4731
- .elementor-widget-wpr-forms .nf-field-container label,
4732
- .elementor-widget-wpr-forms .wpforms-field-label,
4733
- .elementor-widget-wpr-forms .wpforms-image-choices-label,
4734
- .elementor-widget-wpr-forms .wpforms-field-label-inline,
4735
- .elementor-widget-wpr-forms .wpforms-captcha-question,
4736
- .elementor-widget-wpr-forms .wpforms-captcha-equation,
4737
- .elementor-widget-wpr-forms .wpforms-payment-total,
4738
- .elementor-widget-wpr-forms .caldera-grid .control-label,
4739
- .elementor-widget-wpr-forms .caldera-forms-summary-field ul li,
4740
- .elementor-widget-wpr-forms .caldera-grid .total-line,
4741
- .elementor-widget-wpr-forms .caldera-grid .checkbox label,
4742
- .elementor-widget-wpr-forms .caldera-grid .radio label,
4743
- .elementor-widget-wpr-forms .caldera-grid .caldera-forms-gdpr-field-label,
4744
- .elementor-widget-wpr-forms .wpr-forms-container .wpforms-confirmation-container-full,
4745
- .elementor-widget-wpr-forms .wpr-forms-container .nf-response-msg {
4746
- font-size: 14px;
4747
- }
4748
-
4749
- .elementor-widget-wpr-forms .wpcf7-text,
4750
- .elementor-widget-wpr-forms .wpcf7-textarea,
4751
- .elementor-widget-wpr-forms .wpcf7-date,
4752
- .elementor-widget-wpr-forms .wpcf7-number,
4753
- .elementor-widget-wpr-forms .wpcf7-select,
4754
- .elementor-widget-wpr-forms .wpcf7-quiz,
4755
- .elementor-widget-wpr-forms .ninja-forms-field,
4756
- .elementor-widget-wpr-forms .wpforms-form input[type=date],
4757
- .elementor-widget-wpr-forms .wpforms-form input[type=datetime],
4758
- .elementor-widget-wpr-forms .wpforms-form input[type=datetime-local],
4759
- .elementor-widget-wpr-forms .wpforms-form input[type=email],
4760
- .elementor-widget-wpr-forms .wpforms-form input[type=month],
4761
- .elementor-widget-wpr-forms .wpforms-form input[type=number],
4762
- .elementor-widget-wpr-forms .wpforms-form input[type=password],
4763
- .elementor-widget-wpr-forms .wpforms-form input[type=range],
4764
- .elementor-widget-wpr-forms .wpforms-form input[type=search],
4765
- .elementor-widget-wpr-forms .wpforms-form input[type=tel],
4766
- .elementor-widget-wpr-forms .wpforms-form input[type=text],
4767
- .elementor-widget-wpr-forms .wpforms-form input[type=time],
4768
- .elementor-widget-wpr-forms .wpforms-form input[type=url],
4769
- .elementor-widget-wpr-forms .wpforms-form input[type=week],
4770
- .elementor-widget-wpr-forms .wpforms-form select,
4771
- .elementor-widget-wpr-forms .wpforms-form textarea,
4772
- .elementor-widget-wpr-forms .caldera-grid .form-control[type=text],
4773
- .elementor-widget-wpr-forms .caldera-grid .form-control[type=email],
4774
- .elementor-widget-wpr-forms .caldera-grid .form-control[type=tel],
4775
- .elementor-widget-wpr-forms .caldera-grid .form-control[type=phone],
4776
- .elementor-widget-wpr-forms .caldera-grid .form-control[type=number],
4777
- .elementor-widget-wpr-forms .caldera-grid .form-control[type=url],
4778
- .elementor-widget-wpr-forms .caldera-grid .form-control[type=color_picker],
4779
- .elementor-widget-wpr-forms .caldera-grid .form-control[type=credit_card_cvc],
4780
- .elementor-widget-wpr-forms .caldera-grid select.form-control,
4781
- .elementor-widget-wpr-forms .caldera-grid textarea.form-control {
4782
- font-size: 13px;
4783
- letter-spacing: 0.2px;
4784
- }
4785
-
4786
- .elementor-widget-wpr-forms .wpcf7-submit,
4787
- .elementor-widget-wpr-forms .submit-wrap .ninja-forms-field,
4788
- .elementor-widget-wpr-forms .submit-wrap .ninja-forms-field,
4789
- .elementor-widget-wpr-forms .wpforms-submit,
4790
- .elementor-widget-wpr-forms .wpforms-page-next,
4791
- .elementor-widget-wpr-forms .wpforms-page-previous,
4792
- .elementor-widget-wpr-forms .caldera-grid .btn-default,
4793
- .elementor-widget-wpr-forms .caldera-grid .cf2-dropzone button {
4794
- background-color: #605BE5;
4795
- }
4796
-
4797
- .elementor-widget-wpr-forms .wpcf7-submit:hover,
4798
- .elementor-widget-wpr-forms .submit-wrap .ninja-forms-field:hover,
4799
- .elementor-widget-wpr-forms .wpforms-submit:hover,
4800
- .elementor-widget-wpr-forms .wpforms-page-next:hover,
4801
- .elementor-widget-wpr-forms .wpforms-page-previous:hover,
4802
- .elementor-widget-wpr-forms .caldera-grid .btn-default:hover,
4803
- .elementor-widget-wpr-forms .caldera-grid .btn-success,
4804
- .elementor-widget-wpr-forms .caldera-grid .cf2-dropzone button:hover {
4805
- background-color: #4A45D2;
4806
- }
4807
-
4808
- .elementor-widget-wpr-forms .wpr-forms-container .wpcf7-not-valid-tip,
4809
- .elementor-widget-wpr-forms .wpr-forms-container .wpcf7-response-output,
4810
- .elementor-widget-wpr-forms .wpr-forms-container label.wpforms-error,
4811
- .elementor-widget-wpr-forms .wpr-forms-container .caldera_ajax_error_block,
4812
- .elementor-widget-wpr-forms .wpr-forms-container .nf-error-msg {
4813
- font-size: 14px;
4814
- }
4815
-
4816
- .elementor-widget-wpr-forms .wpcf7-form,
4817
- .elementor-widget-wpr-forms .nf-field-container label,
4818
- .elementor-widget-wpr-forms .wpforms-field-label,
4819
- .elementor-widget-wpr-forms .wpforms-image-choices-label,
4820
- .elementor-widget-wpr-forms .wpforms-field-label-inline,
4821
- .elementor-widget-wpr-forms .wpforms-captcha-question,
4822
- .elementor-widget-wpr-forms .wpforms-captcha-equation,
4823
- .elementor-widget-wpr-forms .wpforms-payment-total,
4824
- .elementor-widget-wpr-forms .caldera-grid .control-label,
4825
- .elementor-widget-wpr-forms .caldera-forms-summary-field ul li,
4826
- .elementor-widget-wpr-forms .caldera-grid .total-line,
4827
- .elementor-widget-wpr-forms .caldera-grid .checkbox label,
4828
- .elementor-widget-wpr-forms .caldera-grid .radio label,
4829
- .elementor-widget-wpr-forms .caldera-grid .caldera-forms-gdpr-field-label,
4830
- .elementor-widget-wpr-forms .wpr-forms-container .wpforms-confirmation-container-full,
4831
- .elementor-widget-wpr-forms .wpr-forms-container .nf-response-msg {
4832
- font-weight: normal;
4833
- }
4834
-
4835
- .elementor-widget-wpr-forms.nf-field-description,
4836
- .elementor-widget-wpr-forms.wpforms-field-sublabel,
4837
- .elementor-widget-wpr-forms.wpforms-field-description,
4838
- .elementor-widget-wpr-forms.caldera-grid .help-block {
4839
- font-size: 14px;
4840
- }
4841
-
4842
-
4843
- /*--------------------------------------------------------------
4844
- == Before After
4845
- --------------------------------------------------------------*/
4846
-
4847
- .wpr-ba-image-container {
4848
- position: relative;
4849
- overflow: hidden;
4850
- }
4851
-
4852
- .wpr-ba-image-container * {
4853
- -webkit-user-select: none;
4854
- -moz-user-select: none;
4855
- -ms-user-select: none;
4856
- user-select: none;
4857
- }
4858
-
4859
- .wpr-ba-image-1 img,
4860
- .wpr-ba-image-2 img {
4861
- max-width: 100%;
4862
- width: 100%;
4863
- }
4864
-
4865
- .wpr-ba-image-2 {
4866
- position: absolute;
4867
- top: 0;
4868
- left: 0;
4869
- width: 100%;
4870
- height: 100%;
4871
- overflow: hidden;
4872
- }
4873
-
4874
- .wpr-ba-image-2 img {
4875
- position: absolute;
4876
- top: 0;
4877
- }
4878
-
4879
- .wpr-ba-divider {
4880
- display: -webkit-box;
4881
- display: -ms-flexbox;
4882
- display: flex;
4883
- -webkit-box-align: center;
4884
- -ms-flex-align: center;
4885
- align-items: center;
4886
- -webkit-box-pack: center;
4887
- -ms-flex-pack: center;
4888
- justify-content: center;
4889
- position: absolute;
4890
- top: 0;
4891
- left: 50%;
4892
- z-index: 3;
4893
- height: 100%;
4894
- cursor: pointer;
4895
- -ms-touch-action: none;
4896
- touch-action: none;
4897
- }
4898
-
4899
- .wpr-ba-divider-icons {
4900
- display: -webkit-box;
4901
- display: -ms-flexbox;
4902
- display: flex;
4903
- }
4904
-
4905
- .wpr-ba-vertical .wpr-ba-divider-icons {
4906
- -webkit-box-orient: vertical;
4907
- -webkit-box-direction: normal;
4908
- -ms-flex-direction: column;
4909
- flex-direction: column;
4910
- }
4911
-
4912
- .wpr-ba-horizontal .wpr-ba-divider-icons i:first-child {
4913
- text-align: right;
4914
- padding-right: 10%;
4915
- }
4916
-
4917
- .wpr-ba-horizontal .wpr-ba-divider-icons i:last-child {
4918
- text-align: left;
4919
- padding-left: 10%;
4920
- }
4921
-
4922
- .wpr-ba-divider-icons .fa {
4923
- text-align: center;
4924
- }
4925
-
4926
- .wpr-ba-vertical .wpr-ba-divider {
4927
- top: 50%;
4928
- left: auto;
4929
- width: 100%;
4930
- height: auto;
4931
- }
4932
-
4933
- .wpr-ba-vertical .wpr-ba-image-2 img {
4934
- top: auto;
4935
- }
4936
-
4937
- .wpr-ba-horizontal .wpr-ba-divider-icons:before,
4938
- .wpr-ba-horizontal .wpr-ba-divider-icons:after {
4939
- content: '';
4940
- display: block;
4941
- position: absolute;
4942
- height: 100%;
4943
- }
4944
-
4945
- .wpr-ba-vertical .wpr-ba-divider-icons:before,
4946
- .wpr-ba-vertical .wpr-ba-divider-icons:after {
4947
- content: '';
4948
- display: block;
4949
- position: absolute;
4950
- width: 100%;
4951
- }
4952
-
4953
- .wpr-ba-label {
4954
- position: absolute;
4955
- display: -webkit-box;
4956
- display: -ms-flexbox;
4957
- display: flex;
4958
- padding: 15px;
4959
- }
4960
-
4961
- .wpr-ba-labels-none .wpr-ba-label {
4962
- display: none;
4963
- }
4964
-
4965
- .wpr-ba-labels-hover .wpr-ba-label {
4966
- opacity: 0;
4967
- -webkit-transition: 0.1s ease-in;
4968
- -o-transition: 0.1s ease-in;
4969
- transition: 0.1s ease-in;
4970
- }
4971
-
4972
- .wpr-ba-labels-hover:hover .wpr-ba-label {
4973
- opacity: 1;
4974
- }
4975
-
4976
- .wpr-ba-horizontal .wpr-ba-label {
4977
- top: 0;
4978
- height: 100%;
4979
- -webkit-box-orient: vertical;
4980
- -webkit-box-direction: normal;
4981
- -ms-flex-direction: column;
4982
- flex-direction: column;
4983
- }
4984
-
4985
- .wpr-ba-horizontal .wpr-ba-label-1 {
4986
- left: 0;
4987
- }
4988
-
4989
- .wpr-ba-horizontal .wpr-ba-label-2 {
4990
- right: 0;
4991
- }
4992
-
4993
- .wpr-ba-vertical .wpr-ba-label {
4994
- left: 0;
4995
- width: 100%;
4996
- }
4997
-
4998
- .wpr-ba-vertical .wpr-ba-label-1 {
4999
- top: 0;
5000
- }
5001
-
5002
- .wpr-ba-vertical .wpr-ba-label-2 {
5003
- bottom: 0;
5004
- }
5005
-
5006
-
5007
- /* Defaults */
5008
-
5009
- .elementor-widget-wpr-before-after .wpr-ba-label>div {
5010
- background-color: #605BE5;
5011
- font-size: 14px;
5012
- }
5013
-
5014
-
5015
- /*--------------------------------------------------------------
5016
- == Popups
5017
- --------------------------------------------------------------*/
5018
-
5019
- body:not(.elementor-editor-active) .wpr-template-popup {
5020
- display: none;
5021
- }
5022
-
5023
- .wpr-template-popup {
5024
- position: fixed;
5025
- top: 0;
5026
- left: 0;
5027
- width: 100%;
5028
- height: 100%;
5029
- z-index: 99999999;
5030
- }
5031
-
5032
- .wpr-template-popup-inner {
5033
- display: -webkit-box;
5034
- display: -ms-flexbox;
5035
- display: flex;
5036
- position: fixed;
5037
- top: 0;
5038
- left: 0;
5039
- width: 100%;
5040
- height: 100%;
5041
- }
5042
-
5043
- .wpr-popup-container {
5044
- position: relative;
5045
- }
5046
-
5047
- .wpr-popup-container-inner {
5048
- display: -webkit-box;
5049
- display: -ms-flexbox;
5050
- display: flex;
5051
- overflow: hidden;
5052
- position: relative;
5053
- background: #ffffff;
5054
- }
5055
-
5056
- .wpr-popup-container-inner>div {
5057
- width: 100%;
5058
- -ms-flex-negative: 0;
5059
- flex-shrink: 0;
5060
- }
5061
-
5062
- .wpr-popup-container>div {
5063
- width: 100%;
5064
- }
5065
-
5066
- .wpr-popup-image-overlay {
5067
- position: absolute;
5068
- top: 0;
5069
- left: 0;
5070
- width: 100%;
5071
- height: 100%;
5072
- background: #ffffff;
5073
- }
5074
-
5075
- .wpr-popup-overlay {
5076
- position: absolute;
5077
- top: 0;
5078
- left: 0;
5079
- z-index: -1;
5080
- width: 100%;
5081
- height: 100%;
5082
- background: rgba( 0, 0, 0, 0.7);
5083
- }
5084
-
5085
- .wpr-popup-close-btn {
5086
- display: -webkit-box;
5087
- display: -ms-flexbox;
5088
- display: flex;
5089
- position: absolute;
5090
- top: 0;
5091
- right: 0;
5092
- z-index: 99;
5093
- text-align: center;
5094
- cursor: pointer;
5095
- }
5096
-
5097
- .wpr-popup-notification.wpr-template-popup,
5098
- .wpr-popup-notification .wpr-template-popup-inner {
5099
- height: auto !important;
5100
- }
5101
-
5102
- .wpr-popup-notification .wpr-popup-overlay {
5103
- display: none !important;
5104
- }
5105
-
5106
- .wpr-popup-container-inner.ps-container.ps-active-y>.ps-scrollbar-y-rail,
5107
- .wpr-popup-container-inner.ps.ps--active-y>.ps__rail-y {
5108
- display: block;
5109
- background-color: transparent;
5110
- }
5111
-
5112
- .wpr-popup-container-inner.ps-container>.ps-scrollbar-y-rail,
5113
- .wpr-popup-container-inner.ps>.ps__rail-y {
5114
- display: none;
5115
- position: absolute;
5116
- right: 3px;
5117
- width: 3px;
5118
- }
5119
-
5120
- .wpr-popup-container-inner.ps-container>.ps-scrollbar-y-rail>.ps-scrollbar-y,
5121
- .wpr-popup-container-inner.ps>.ps__rail-y>.ps__thumb-y {
5122
- position: absolute;
5123
- cursor: pointer;
5124
- right: 0;
5125
- width: 3px;
5126
- }
5127
-
5128
- .wpr-popup-container .ps-scrollbar-x-rail {
5129
- display: none !important;
5130
- }
5131
-
5132
- .wpr-popup-notification .wpr-popup-container .slideInDown {
5133
- -webkit-animation-timing-function: linear;
5134
- animation-timing-function: linear;
5135
- }
5136
-
5137
- .wpr-popup-notification .wpr-popup-container {
5138
- width: 100% !important;
5139
- -webkit-box-align: start !important;
5140
- -ms-flex-align: start !important;
5141
- align-items: flex-start !important;
5142
- }
5143
-
5144
- .wpr-popup-trigger-button {
5145
- display: inline-block;
5146
- font-size: 14px;
5147
- font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
5148
- cursor: pointer;
5149
- }
5150
-
5151
-
5152
- /* Only For Editing */
5153
-
5154
- .wpr-popup-container .elementor-editor-section-settings {
5155
- -webkit-transform: translateX(-50%);
5156
- -ms-transform: translateX(-50%);
5157
- transform: translateX(-50%);
5158
- border-radius: 0 0 5px 5px;
5159
- }
5160
-
5161
- .wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:first-child {
5162
- border-radius: 0 0 0 5px;
5163
- }
5164
-
5165
- .wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:first-child:before {
5166
- top: 0;
5167
- border-width: 0 12px 22px 0;
5168
- }
5169
-
5170
- .wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:last-child {
5171
- border-radius: 0 0 5px 0;
5172
- }
5173
-
5174
- .wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:last-child:after {
5175
- top: 0;
5176
- border-width: 0 0 22px 12px;
5177
- }
5178
-
5179
- .elementor-editor-active [data-elementor-type="wpr-popups"] .elementor-section-wrap:not(:empty)+#elementor-add-new-section,
5180
- .elementor-editor-active [data-elementor-type="wpr-popups"]:not(.elementor-edit-mode) {
5181
- display: none;
5182
- }
5183
-
5184
- .elementor .elementor-widget-wpr-popup-trigger .wpr-popup-trigger-button {
5185
- display: inline-block;
5186
- font-size: 14px;
5187
- font-weight: 500;
5188
- cursor: pointer;
5189
- }
5190
-
5191
- .elementor-editor-active [data-elementor-type="wpr-popup"] .elementor-section-wrap:not(:empty)+#elementor-add-new-section,
5192
- .elementor-editor-active [data-elementor-type="wpr-popup"]:not(.elementor-edit-mode) {
5193
- display: none;
5194
- }
5195
-
5196
-
5197
- /* Template Edit button */
5198
-
5199
- .wpr-template-edit-btn {
5200
- position: absolute;
5201
- top: 0;
5202
- right: 40px;
5203
- display: none;
5204
- line-height: 1;
5205
- padding: 8px 13px;
5206
- cursor: pointer;
5207
- background: #333;
5208
- color: #fff;
5209
- border: 1px solid #000;
5210
- }
5211
-
5212
- .elementor-editor-active .wpr-template-edit-btn {
5213
- display: inline-block;
5214
- opacity: 0;
5215
- visibility: hidden;
5216
- }
5217
-
5218
- .elementor-editor-active .elementor-element-edit-mode:hover .wpr-template-edit-btn {
5219
- opacity: 1;
5220
- visibility: visible;
5221
- }
5222
-
5223
-
5224
- /*--------------------------------------------------------------
5225
- == Mailchimp
5226
- --------------------------------------------------------------*/
5227
-
5228
- .wpr-mailchimp-fields {
5229
- display: -webkit-box;
5230
- display: -ms-flexbox;
5231
- display: flex;
5232
- }
5233
-
5234
- .wpr-mailchimp-email label,
5235
- .wpr-mailchimp-email input,
5236
- .wpr-mailchimp-first-name label,
5237
- .wpr-mailchimp-first-name input,
5238
- .wpr-mailchimp-last-name label,
5239
- .wpr-mailchimp-last-name input {
5240
- display: block;
5241
- width: 100%;
5242
- }
5243
-
5244
- .wpr-mailchimp-layout-hr .wpr-mailchimp-fields {
5245
- -webkit-box-orient: horizontal;
5246
- -webkit-box-direction: normal;
5247
- -ms-flex-direction: row;
5248
- flex-direction: row;
5249
- -webkit-box-align: end;
5250
- -ms-flex-align: end;
5251
- align-items: flex-end;
5252
- }
5253
-
5254
- .wpr-mailchimp-layout-vr .wpr-mailchimp-fields {
5255
- -webkit-box-orient: vertical;
5256
- -webkit-box-direction: normal;
5257
- -ms-flex-direction: column;
5258
- flex-direction: column;
5259
- }
5260
-
5261
- .wpr-mailchimp-layout-hr .wpr-mailchimp-email,
5262
- .wpr-mailchimp-layout-hr .wpr-mailchimp-first-name,
5263
- .wpr-mailchimp-layout-hr .wpr-mailchimp-last-name {
5264
- -webkit-box-flex: 1;
5265
- -ms-flex-positive: 1;
5266
- flex-grow: 1;
5267
- }
5268
-
5269
- .wpr-mailchimp-subscribe-btn {
5270
- width: 100%;
5271
- padding: 0 !important;
5272
- outline: none !important;
5273
- cursor: pointer;
5274
- }
5275
-
5276
- .wpr-mailchimp-message,
5277
- .wpr-mailchimp-success-message,
5278
- .wpr-mailchimp-error-message {
5279
- display: none;
5280
- }
5281
-
5282
-
5283
- /* Defaults */
5284
- .elementor-widget-wpr-mailchimp .wpr-mailchimp-header h3 {
5285
- font-size: 28px;
5286
- font-weight: 800;
5287
- margin-top: 0;
5288
- }
5289
-
5290
- .elementor-widget-wpr-mailchimp .wpr-mailchimp-header p {
5291
- font-size: 14px;
5292
- }
5293
-
5294
- .elementor-widget-wpr-mailchimp .wpr-mailchimp-fields label {
5295
- font-size: 13px;
5296
- }
5297
-
5298
- .elementor-widget-wpr-mailchimp .wpr-mailchimp-subscribe-btn {
5299
- background-color: #605BE5;
5300
- }
5301
-
5302
- .elementor-widget-wpr-mailchimp .wpr-mailchimp-subscribe-btn:hover {
5303
- background-color: #4A45D2;
5304
- }
5305
-
5306
-
5307
- /*--------------------------------------------------------------
5308
- == Advanced Slider
5309
- --------------------------------------------------------------*/
5310
-
5311
- .wpr-advanced-slider-wrap {
5312
- position: relative;
5313
- }
5314
-
5315
- .wpr-advanced-slider {
5316
- position: relative;
5317
- height: 500px;
5318
- overflow: hidden;
5319
- }
5320
-
5321
- .wpr-slider-item {
5322
- position: relative;
5323
- height: 500px;
5324
- overflow: hidden;
5325
- }
5326
-
5327
- .wpr-slider-content {
5328
- position: relative;
5329
- max-width: 750px;
5330
- width: 100%;
5331
- padding: 10px 50px 50px 50px;
5332
- z-index: 90;
5333
- }
5334
-
5335
- .wpr-slider-item-bg {
5336
- position: absolute;
5337
- top: 0;
5338
- left: 0;
5339
- width: 100%;
5340
- height: 100%;
5341
- background-repeat: no-repeat;
5342
- background-position: center;
5343
- }
5344
-
5345
- .wpr-slider-title *,
5346
- .wpr-slider-sub-title h3,
5347
- .wpr-slider-description p {
5348
- display: inline-block;
5349
- }
5350
-
5351
- .wpr-slider-title * {
5352
- color: #ffffff;
5353
- font-size: 40px;
5354
- font-weight: 600;
5355
- line-height: 1.5em;
5356
- padding: 5px 10px 5px 10px;
5357
- margin: 0 0 2px 0;
5358
- }
5359
-
5360
- .wpr-slider-sub-title h3 {
5361
- font-size: 16px;
5362
- padding: 5px 10px 5px 10px;
5363
- margin: 0 0 10px 0;
5364
- }
5365
-
5366
- .wpr-slider-description p {
5367
- padding: 5px 10px 5px 10px;
5368
- margin: 0 0 30px 0;
5369
- }
5370
-
5371
- .wpr-slider-primary-btn,
5372
- .wpr-slider-secondary-btn {
5373
- padding: 12px 25px 12px 25px;
5374
- margin: 0 10px 0 10px;
5375
- border-style: solid;
5376
- border-width: 1px;
5377
- border-color: #ffffff;
5378
- border-radius: 2px;
5379
- }
5380
-
5381
- .wpr-slider-btns svg,
5382
- .wpr-slider-scroll-btn svg {
5383
- vertical-align: bottom;
5384
- }
5385
-
5386
-
5387
- /* Ken burn Effect */
5388
-
5389
- @keyframes ken-burns-in {
5390
- 0% {
5391
- -webkit-transform: scale(1);
5392
- transform: scale(1)
5393
- }
5394
- 100% {
5395
- -webkit-transform: scale(1.3);
5396
- transform: scale(1.3);
5397
- }
5398
- }
5399
-
5400
- @-webkit-keyframes ken-burns-in {
5401
- 0% {
5402
- -webkit-transform: scale(1);
5403
- transform: scale(1)
5404
- }
5405
- 100% {
5406
- -webkit-transform: scale(1.3);
5407
- transform: scale(1.3);
5408
- }
5409
- }
5410
-
5411
- @keyframes ken-burns-out {
5412
- 0% {
5413
- -webkit-transform: scale(1.3);
5414
- transform: scale(1.3);
5415
- }
5416
- 100% {
5417
- -webkit-transform: scale(1);
5418
- transform: scale(1);
5419
- }
5420
- }
5421
-
5422
- @-webkit-keyframes ken-burns-out {
5423
- 0% {
5424
- -webkit-transform: scale(1.3);
5425
- transform: scale(1.3);
5426
- }
5427
- 100% {
5428
- -webkit-transform: scale(1);
5429
- transform: scale(1);
5430
- }
5431
- }
5432
-
5433
- .wpr-advanced-slider .slick-slide.slick-active .wpr-slider-item-bg {
5434
- -webkit-animation-timing-function: linear;
5435
- animation-timing-function: linear;
5436
- -webkit-animation-duration: 10s;
5437
- animation-duration: 10s;
5438
- }
5439
-
5440
- .wpr-advanced-slider .slick-slide.slick-active .wpr-slider-item-bg.wpr-ken-burns-in {
5441
- -webkit-animation-name: ken-burns-in;
5442
- animation-name: ken-burns-in;
5443
- -webkit-transform: scale(1.3);
5444
- -ms-transform: scale(1.3);
5445
- transform: scale(1.3);
5446
- }
5447
-
5448
- .wpr-advanced-slider .slick-slide.slick-active .wpr-slider-item-bg.wpr-ken-burns-out {
5449
- -webkit-animation-name: ken-burns-out;
5450
- animation-name: ken-burns-out;
5451
- -webkit-transform: scale(1);
5452
- -ms-transform: scale(1);
5453
- transform: scale(1)
5454
- }
5455
-
5456
- .wpr-ken-burns-in {
5457
- -webkit-transform: scale(1);
5458
- -ms-transform: scale(1);
5459
- transform: scale(1);
5460
- }
5461
-
5462
- .wpr-ken-burns-out {
5463
- -webkit-transform: scale(1.3);
5464
- -ms-transform: scale(1.3);
5465
- transform: scale(1.3);
5466
- }
5467
-
5468
-
5469
- /* Slider Item URL */
5470
-
5471
- .wpr-slider-item-url {
5472
- display: block;
5473
- width: 100%;
5474
- height: 100%;
5475
- position: absolute;
5476
- left: 0;
5477
- top: 0;
5478
- z-index: 90;
5479
- }
5480
-
5481
-
5482
- /* Slider Navigation */
5483
-
5484
- .wpr-slider-nav-position-default .wpr-slider-arrow-container {
5485
- position: absolute;
5486
- display: -webkit-box;
5487
- display: -ms-flexbox;
5488
- display: flex;
5489
- }
5490
-
5491
- .wpr-slider-nav-position-default .wpr-slider-arrow {
5492
- position: static;
5493
- }
5494
-
5495
- .wpr-slider-nav-position-default .wpr-slider-prev-arrow {
5496
- -ms-transform: none;
5497
- transform: none;
5498
- -webkit-transform: none;
5499
- }
5500
-
5501
- .wpr-slider-nav-position-default .wpr-slider-next-arrow {
5502
- -ms-transform: translateY(0) rotate(180deg);
5503
- transform: translateY(0) rotate(180deg);
5504
- -webkit-transform: translateY(0) rotate(180deg);
5505
- }
5506
-
5507
- .wpr-slider-nav-align-top-center .wpr-slider-arrow-container,
5508
- .wpr-slider-nav-align-bottom-center .wpr-slider-arrow-container {
5509
- left: 50%;
5510
- -webkit-transform: translateX(-50%);
5511
- -ms-transform: translateX(-50%);
5512
- transform: translateX(-50%);
5513
- }
5514
-
5515
- .wpr-slider-arrow {
5516
- position: absolute;
5517
- z-index: 120;
5518
- top: 50%;
5519
- -webkit-box-sizing: content-box;
5520
- box-sizing: content-box;
5521
- text-align: center;
5522
- -webkit-transition: all .5s;
5523
- -o-transition: all .5s;
5524
- transition: all .5s;
5525
- cursor: pointer;
5526
- -webkit-box-align: center;
5527
- -ms-flex-align: center;
5528
- align-items: center;
5529
- -webkit-box-pack: center;
5530
- -ms-flex-pack: center;
5531
- justify-content: center;
5532
- }
5533
-
5534
- .wpr-slider-arrow i {
5535
- display: block;
5536
- line-height: inherit;
5537
- }
5538
-
5539
- .wpr-slider-prev-arrow {
5540
- left: 1%;
5541
- -webkit-transform: translateY(-50%);
5542
- -ms-transform: translateY(-50%);
5543
- transform: translateY(-50%);
5544
- }
5545
-
5546
- .wpr-slider-next-arrow {
5547
- right: 1%;
5548
- -webkit-transform: translateY(-50%) rotate(180deg);
5549
- -ms-transform: translateY(-50%) rotate(180deg);
5550
- transform: translateY(-50%) rotate(180deg);
5551
- }
5552
-
5553
- .wpr-slider-nav-fade .wpr-slider-arrow {
5554
- opacity: 0;
5555
- visibility: hidden;
5556
- }
5557
-
5558
- .wpr-slider-nav-fade .wpr-advanced-slider-wrap:hover .wpr-slider-arrow {
5559
- opacity: 1;
5560
- visibility: visible;
5561
- }
5562
-
5563
-
5564
- /* Slider Pagination */
5565
-
5566
- .wpr-slider-dots {
5567
- display: inline-table;
5568
- position: absolute;
5569
- z-index: 110;
5570
- left: 50%;
5571
- -webkit-transform: translate(-50%, -50%);
5572
- -ms-transform: translate(-50%, -50%);
5573
- transform: translate(-50%, -50%);
5574
- }
5575
-
5576
- .wpr-slider-dots .slick-dots {
5577
- position: static !important;
5578
- }
5579
-
5580
- .wpr-slider-dots ul {
5581
- list-style: none;
5582
- margin: 0;
5583
- padding: 0;
5584
- }
5585
-
5586
- .wpr-advanced-slider.slick-dotted.slick-slider {
5587
- margin-bottom: 0 !important;
5588
- }
5589
-
5590
- .wpr-slider-dots-vertical .slick-dots li {
5591
- display: block;
5592
- width: auto !important;
5593
- height: auto !important;
5594
- margin: 0 !important;
5595
- }
5596
-
5597
- .wpr-slider-dots-horizontal .slick-dots li {
5598
- width: auto !important;
5599
- padding-top: 10px;
5600
- margin: 0 !important;
5601
- }
5602
-
5603
- .wpr-slider-dots-pro-vr .slick-dots li:last-child span,
5604
- .wpr-slider-dots-horizontal .slick-dots li:last-child span {
5605
- margin-right: 0 !important;
5606
- }
5607
-
5608
- .wpr-slider-dots-pro-vr .wpr-slider-dots li,
5609
- .wpr-slider-dots-horizontal .wpr-slider-dots li {
5610
- float: left;
5611
- }
5612
-
5613
- .wpr-slider-dot {
5614
- display: block;
5615
- cursor: pointer;
5616
- }
5617
-
5618
- .wpr-slider-dots li:last-child .wpr-slider-dot {
5619
- margin: 0 !important;
5620
- }
5621
-
5622
-
5623
- /* Slider Scroll Button */
5624
-
5625
- .wpr-slider-scroll-btn {
5626
- position: absolute;
5627
- bottom: 45px;
5628
- left: 50%;
5629
- -webkit-transform: translateX(-50%);
5630
- -ms-transform: translateX(-50%);
5631
- transform: translateX(-50%);
5632
- display: inline-block;
5633
- -webkit-transition-duration: 200ms;
5634
- -o-transition-duration: 200ms;
5635
- transition-duration: 200ms;
5636
- line-height: 1;
5637
- overflow: hidden;
5638
- }
5639
-
5640
- @-webkit-keyframes wpr-scroll-animation {
5641
- 0% {
5642
- opacity: 0;
5643
- -webkit-transform: translate3d(0, -60%, 0);
5644
- transform: translate3d(0, -60%, 0);
5645
- }
5646
- 50% {
5647
- opacity: 1;
5648
- -webkit-transform: translate3d(0, 20%, 0);
5649
- transform: translate3d(0, 20%, 0);
5650
- }
5651
- 100% {
5652
- opacity: 0;
5653
- -webkit-transform: translate3d(0, 20%, 0);
5654
- transform: translate3d(0, 20%, 0);
5655
- }
5656
- }
5657
-
5658
- @keyframes wpr-scroll-animation {
5659
- 0% {
5660
- opacity: 0;
5661
- -webkit-transform: translate3d(0, -60%, 0);
5662
- transform: translate3d(0, -60%, 0);
5663
- }
5664
- 50% {
5665
- opacity: 1;
5666
- -webkit-transform: translate3d(0, 20%, 0);
5667
- transform: translate3d(0, 20%, 0);
5668
- }
5669
- 100% {
5670
- opacity: 0;
5671
- -webkit-transform: translate3d(0, 20%, 0);
5672
- transform: translate3d(0, 20%, 0);
5673
- }
5674
- }
5675
-
5676
- .wpr-scroll-animation {
5677
- -webkit-animation-name: wpr-scroll-animation;
5678
- animation-name: wpr-scroll-animation;
5679
- -webkit-animation-duration: 1300ms;
5680
- animation-duration: 1300ms;
5681
- -webkit-animation-iteration-count: infinite;
5682
- animation-iteration-count: infinite;
5683
- }
5684
-
5685
-
5686
- /* Slider Video */
5687
-
5688
- .wpr-slider-video {
5689
- position: absolute;
5690
- width: 100%;
5691
- height: 100%;
5692
- top: 0;
5693
- left: 0;
5694
- z-index: 90;
5695
- }
5696
-
5697
- .wpr-slider-video-btn {
5698
- margin: 0 auto;
5699
- }
5700
-
5701
- .wpr-slider-video-btn i {
5702
- display: block;
5703
- }
5704
-
5705
- .wpr-slider-video-icon-size-none .wpr-slider-video-btn {
5706
- display: none;
5707
- }
5708
-
5709
- .wpr-slider-video-icon-size-small .wpr-slider-video-btn {
5710
- height: 50px;
5711
- width: 50px;
5712
- font-size: 16px;
5713
- padding: 16px 0 0 4px;
5714
- border-width: 1px;
5715
- }
5716
-
5717
- .wpr-slider-video-icon-size-medium .wpr-slider-video-btn {
5718
- height: 80px;
5719
- width: 80px;
5720
- font-size: 26px;
5721
- padding: 25px 0 0 5px;
5722
- border-width: 2px;
5723
- }
5724
-
5725
- .wpr-slider-video-icon-size-large .wpr-slider-video-btn {
5726
- height: 100px;
5727
- width: 100px;
5728
- font-size: 30px;
5729
- padding: 33px 0 0 7px;
5730
- border-width: 2px;
5731
- }
5732
-
5733
- .wpr-slider-video-btn {
5734
- text-align: center;
5735
- border-style: solid;
5736
- border-radius: 50%;
5737
- cursor: pointer;
5738
- }
5739
-
5740
-
5741
- /* Slider Overlay */
5742
-
5743
- .wpr-slider-item-overlay {
5744
- position: absolute;
5745
- left: 0;
5746
- top: 0;
5747
- width: 100%;
5748
- height: 100%;
5749
- z-index: 80;
5750
- }
5751
-
5752
-
5753
- /* Slick Slider */
5754
-
5755
- .slick-slider {
5756
- position: relative;
5757
- display: block;
5758
- -webkit-box-sizing: border-box;
5759
- box-sizing: border-box;
5760
- -webkit-user-select: none;
5761
- -moz-user-select: none;
5762
- -ms-user-select: none;
5763
- user-select: none;
5764
- -webkit-touch-callout: none;
5765
- -khtml-user-select: none;
5766
- -ms-touch-action: pan-y;
5767
- touch-action: pan-y;
5768
- -webkit-tap-highlight-color: transparent;
5769
- }
5770
-
5771
- .slick-list {
5772
- position: relative;
5773
- display: block;
5774
- overflow: hidden;
5775
- margin: 0;
5776
- padding: 0;
5777
- }
5778
-
5779
- .slick-list:focus {
5780
- outline: none;
5781
- }
5782
-
5783
- .slick-list.dragging {
5784
- cursor: pointer;
5785
- cursor: hand;
5786
- }
5787
-
5788
- .slick-slider .slick-track,
5789
- .slick-slider .slick-list {
5790
- -webkit-transform: translate3d(0, 0, 0);
5791
- -ms-transform: translate3d(0, 0, 0);
5792
- transform: translate3d(0, 0, 0);
5793
- }
5794
-
5795
- .slick-track {
5796
- position: relative;
5797
- top: 0;
5798
- left: 0;
5799
- display: block;
5800
- margin-left: auto;
5801
- margin-right: auto;
5802
- }
5803
-
5804
- .slick-track:before,
5805
- .slick-track:after {
5806
- display: table;
5807
- content: '';
5808
- }
5809
-
5810
- .slick-track:after {
5811
- clear: both;
5812
- }
5813
-
5814
- .slick-loading .slick-track {
5815
- visibility: hidden;
5816
- }
5817
-
5818
- .slick-slide {
5819
- display: none;
5820
- float: left;
5821
- height: 100%;
5822
- min-height: 1px;
5823
- }
5824
-
5825
- [dir='rtl'] .slick-slide {
5826
- float: right;
5827
- }
5828
-
5829
- .slick-slide img {
5830
- display: block;
5831
- }
5832
-
5833
- .slick-slide.slick-loading img {
5834
- display: none;
5835
- }
5836
-
5837
- .slick-slide.dragging img {
5838
- pointer-events: none;
5839
- }
5840
-
5841
- .slick-initialized .slick-slide {
5842
- display: block;
5843
- }
5844
-
5845
- .slick-loading .slick-slide {
5846
- visibility: hidden;
5847
- }
5848
-
5849
- .slick-vertical .slick-slide {
5850
- display: block;
5851
- height: auto;
5852
- border: 1px solid transparent;
5853
- }
5854
-
5855
- .slick-arrow.slick-hidden {
5856
- display: none;
5857
- }
5858
-
5859
-
5860
- /*--------------------------------------------------------------
5861
- == Pricing Table
5862
- --------------------------------------------------------------*/
5863
-
5864
- .wpr-pricing-table {
5865
- position: relative;
5866
- }
5867
-
5868
-
5869
- /* Heading */
5870
-
5871
- .wpr-pricing-table-heading {
5872
- text-align: center;
5873
- }
5874
-
5875
- .wpr-pricing-table-headding-inner {
5876
- display: inline-block;
5877
- }
5878
-
5879
- .wpr-pricing-table-heading-left .wpr-pricing-table-headding-inner>div,
5880
- .wpr-pricing-table-heading-right .wpr-pricing-table-headding-inner>div {
5881
- display: inline-block;
5882
- vertical-align: top;
5883
- }
5884
-
5885
- .wpr-pricing-table-heading-left .wpr-pricing-table-icon {
5886
- float: left;
5887
- }
5888
-
5889
- .wpr-pricing-table-heading-right .wpr-pricing-table-icon {
5890
- float: right;
5891
- }
5892
-
5893
- .wpr-pricing-table-heading-left .wpr-pricing-table-title-wrap,
5894
- .wpr-pricing-table-heading-right .wpr-pricing-table-title-wrap {
5895
- text-align: left;
5896
- }
5897
-
5898
- .wpr-pricing-table-heading-center .wpr-pricing-table-icon img {
5899
- margin: 0 auto;
5900
- }
5901
-
5902
- .wpr-pricing-table-icon img {
5903
- display: block;
5904
- border-style: none;
5905
- }
5906
-
5907
- .elementor-widget-wpr-pricing-table .wpr-pricing-table-title-wrap .wpr-pricing-table-title {
5908
- font-size: 26px;
5909
- font-weight: 600;
5910
- }
5911
-
5912
- .elementor-widget-wpr-pricing-table .wpr-pricing-table-title-wrap .wpr-pricing-table-sub-title {
5913
- font-size: 14px;
5914
- }
5915
-
5916
- .wpr-pricing-table-price {
5917
- text-align: center;
5918
- font-size: 65px;
5919
- font-weight: 500;
5920
- line-height: 0.9;
5921
- }
5922
-
5923
- .wpr-pricing-table-price-inner {
5924
- -ms-box-orient: horizontal;
5925
- display: -webkit-box;
5926
- display: -ms-flexbox;
5927
- display: -moz-flex;
5928
- display: flex;
5929
- -webkit-box-pack: center;
5930
- -ms-flex-pack: center;
5931
- justify-content: center;
5932
- }
5933
-
5934
- .wpr-pricing-table-sub-price,
5935
- .wpr-pricing-table-currency,
5936
- .wpr-pricing-table-old-price,
5937
- .wpr-pricing-table-preiod {
5938
- line-height: 1;
5939
- }
5940
-
5941
- .wpr-pricing-table-preiod {
5942
- font-size: 17px;
5943
- line-height: 1.5;
5944
- -webkit-align-self: flex-end;
5945
- -ms-flex-item-align: end;
5946
- align-self: flex-end;
5947
- }
5948
-
5949
- .wpr-pricing-table-old-price {
5950
- text-decoration: line-through !important;
5951
- }
5952
-
5953
-
5954
- /* Feature */
5955
-
5956
- .wpr-pricing-table-feature {
5957
- position: relative;
5958
- font-size: 15px;
5959
- }
5960
-
5961
- .wpr-pricing-table-feature-inner {
5962
- display: -webkit-box;
5963
- display: -ms-flexbox;
5964
- display: flex;
5965
- -webkit-box-align: center;
5966
- -ms-flex-align: center;
5967
- align-items: center;
5968
- margin: 0 auto;
5969
- }
5970
-
5971
- .wpr-pricing-table-feature-inner span {
5972
- position: relative;
5973
- }
5974
-
5975
- .wpr-pricing-table-feature-inner span.wpr-pricing-table-ftext-line-yes {
5976
- text-decoration: line-through;
5977
- }
5978
-
5979
- .wpr-pricing-table-feature:after {
5980
- content: "";
5981
- display: block;
5982
- width: 100%;
5983
- margin: 0 auto;
5984
- }
5985
-
5986
- .wpr-pricing-table section:last-of-type:after {
5987
- display: none;
5988
- }
5989
-
5990
- .wpr-pricing-table-feature-text,
5991
- .wpr-pricing-table-feature-icon {
5992
- display: inline;
5993
- }
5994
-
5995
- .wpr-pricing-table-feature-icon {
5996
- margin-right: 8px;
5997
- }
5998
-
5999
- .wpr-pricing-table-feature-tooltip {
6000
- position: absolute;
6001
- top: 0;
6002
- left: 50%;
6003
- border-radius: 4px;
6004
- padding: 6px 10px;
6005
- visibility: hidden;
6006
- opacity: 0;
6007
- font-size: 15px;
6008
- -webkit-transform: translate(-50%, -100%);
6009
- -ms-transform: translate(-50%, -100%);
6010
- transform: translate(-50%, -100%);
6011
- -webkit-transition: all 230ms ease-in-out 0s;
6012
- -o-transition: all 230ms ease-in-out 0s;
6013
- transition: all 230ms ease-in-out 0s;
6014
- text-align: center;
6015
- }
6016
-
6017
- .wpr-pricing-table-feature-tooltip:before {
6018
- content: "";
6019
- position: absolute;
6020
- left: 10px;
6021
- bottom: -5px;
6022
- width: 0;
6023
- height: 0;
6024
- border-left: 6px solid transparent;
6025
- border-right: 6px solid transparent;
6026
- border-top-style: solid;
6027
- border-top-width: 6px;
6028
- }
6029
-
6030
- .wpr-pricing-table-feature:hover .wpr-pricing-table-feature-tooltip {
6031
- visibility: visible;
6032
- opacity: 1;
6033
- top: 5px;
6034
- -ms-transform: translate(-50%, -100%);
6035
- transform: translate(-50%, -100%);
6036
- -webkit-transform: translate(-50%, -100%);
6037
- }
6038
-
6039
- .wpr-pricing-table-feature-tooltip:before {
6040
- left: 50%;
6041
- -ms-transform: translateX(-50%);
6042
- transform: translateX(-50%);
6043
- -webkit-transform: translateX(-50%) !important;
6044
- }
6045
-
6046
-
6047
- /* Button */
6048
-
6049
- .wpr-pricing-table-button {
6050
- text-align: center;
6051
- font-size: 17px;
6052
- }
6053
-
6054
- .wpr-pricing-table-btn {
6055
- position: relative;
6056
- overflow: hidden;
6057
- display: inline-block;
6058
- vertical-align: middle;
6059
- cursor: pointer;
6060
- }
6061
-
6062
- .wpr-pricing-table-btn span {
6063
- position: relative;
6064
- z-index: 2;
6065
- opacity: 1 !important;
6066
- }
6067
-
6068
- .wpr-pricing-table-btn:before,
6069
- .wpr-pricing-table-btn:after {
6070
- z-index: 1 !important;
6071
- }
6072
-
6073
-
6074
- /* Badge */
6075
-
6076
- .wpr-pricing-table-badge {
6077
- position: absolute;
6078
- display: inline-block;
6079
- text-align: center;
6080
- z-index: 2;
6081
- }
6082
-
6083
- .elementor-widget-wpr-pricing-table .wpr-pricing-table-badge .wpr-pricing-table-badge-inner {
6084
- font-size: 15px;
6085
- font-weight: 900;
6086
- }
6087
-
6088
- .wpr-pricing-table-badge-left {
6089
- left: 0;
6090
- right: auto;
6091
- }
6092
-
6093
- .wpr-pricing-table-badge-right {
6094
- left: auto;
6095
- right: 0;
6096
- }
6097
-
6098
- .wpr-pricing-table-badge-corner {
6099
- top: 0;
6100
- width: 200px;
6101
- height: 200px;
6102
- overflow: hidden;
6103
- }
6104
-
6105
- .wpr-pricing-table-badge-corner .wpr-pricing-table-badge-inner {
6106
- width: 200%;
6107
- }
6108
-
6109
- .wpr-pricing-table-badge-corner.wpr-pricing-table-badge-right {
6110
- -ms-transform: rotate(90deg);
6111
- transform: rotate(90deg);
6112
- -webkit-transform: rotate(90deg);
6113
- }
6114
-
6115
- .wpr-pricing-table-badge-cyrcle {
6116
- top: 0;
6117
- }
6118
-
6119
- .wpr-pricing-table-badge-cyrcle .wpr-pricing-table-badge-inner {
6120
- border-radius: 100%;
6121
- }
6122
-
6123
- .wpr-pricing-table-badge-flag {
6124
- border-right: 5px;
6125
- }
6126
-
6127
- .wpr-pricing-table-badge-flag.wpr-pricing-table-badge-left {
6128
- margin-left: -10px;
6129
- }
6130
-
6131
- .wpr-pricing-table-badge-flag.wpr-pricing-table-badge-right {
6132
- margin-right: -10px;
6133
- }
6134
-
6135
- .wpr-pricing-table-badge-flag:before {
6136
- content: "";
6137
- position: absolute;
6138
- z-index: 1;
6139
- bottom: -5px;
6140
- width: 0;
6141
- height: 0;
6142
- margin-left: -10px;
6143
- border-left: 10px solid transparent;
6144
- border-right: 10px solid transparent;
6145
- border-top-style: solid;
6146
- border-top-width: 10px;
6147
- }
6148
-
6149
- .wpr-pricing-table-badge-flag .wpr-pricing-table-badge-inner {
6150
- position: relative;
6151
- z-index: 2;
6152
- border-top-left-radius: 3px;
6153
- border-top-right-radius: 3px;
6154
- }
6155
-
6156
- .wpr-pricing-table-badge-flag.wpr-pricing-table-badge-left:before {
6157
- left: 5px;
6158
- -ms-transform: rotate(90deg);
6159
- transform: rotate(90deg);
6160
- -webkit-transform: rotate(90deg);
6161
- }
6162
-
6163
- .wpr-pricing-table-badge-flag.wpr-pricing-table-badge-right:before {
6164
- right: -5px;
6165
- -ms-transform: rotate(-90deg);
6166
- transform: rotate(-90deg);
6167
- -webkit-transform: rotate(-90deg);
6168
- }
6169
-
6170
- .wpr-pricing-table-badge-flag.wpr-pricing-table-badge-left .wpr-pricing-table-badge-inner {
6171
- border-bottom-right-radius: 3px;
6172
- }
6173
-
6174
- .wpr-pricing-table-badge-flag.wpr-pricing-table-badge-right .wpr-pricing-table-badge-inner {
6175
- border-bottom-left-radius: 3px;
6176
- }
6177
-
6178
-
6179
- /* Text */
6180
- .wpr-pricing-table-text {
6181
- font-size: 13px;
6182
- line-height: 1.3;
6183
- }
6184
-
6185
-
6186
- /* Divider */
6187
- .wpr-pricing-table-divider {
6188
- margin: 0 auto;
6189
- border: 0;
6190
- }
6191
-
6192
-
6193
- /* Animation */
6194
- .wpr-pricing-table-animation-slide {
6195
- -webkit-transition-property: margin;
6196
- -o-transition-property: margin;
6197
- transition-property: margin;
6198
- -webkit-transition-timing-function: ease-in-out;
6199
- -o-transition-timing-function: ease-in-out;
6200
- transition-timing-function: ease-in-out;
6201
- }
6202
-
6203
- .wpr-pricing-table-animation-bounce {
6204
- -webkit-animation-iteration-count: 1;
6205
- animation-iteration-count: 1;
6206
- }
6207
-
6208
- .wpr-pricing-table-animation-slide:hover {
6209
- margin-top: -5px;
6210
- }
6211
-
6212
- .wpr-pricing-table-animation-bounce:hover {
6213
- -webkit-animation-name: bounce;
6214
- animation-name: bounce;
6215
- }
6216
-
6217
-
6218
- /* Defaults */
6219
-
6220
- .elementor-widget-wpr-pricing-table .wpr-pricing-table-heading {
6221
- background-color: #f9f9f9;
6222
- }
6223
-
6224
- .elementor-widget-wpr-pricing-table .wpr-pricing-table-price {
6225
- background-color: #605be5;
6226
- }
6227
-
6228
- .elementor-widget-wpr-pricing-table .wpr-pricing-table-button {
6229
- background-color: #f9f9f9;
6230
- }
6231
-
6232
- .elementor-widget-wpr-pricing-table .wpr-pricing-table-btn {
6233
- background-color: #2B2B2B;
6234
- }
6235
-
6236
- .elementor-widget-wpr-pricing-table .wpr-pricing-table-btn:hover {
6237
- background-color: #4A45D2;
6238
- }
6239
-
6240
- .elementor-widget-wpr-pricing-table .wpr-pricing-table-text {
6241
- background-color: #f9f9f9;
6242
- }
6243
-
6244
-
6245
- /*--------------------------------------------------------------
6246
- == Logo
6247
- --------------------------------------------------------------*/
6248
-
6249
- .wpr-logo {
6250
- position: relative;
6251
- display: inline-table;
6252
- overflow: hidden;
6253
- }
6254
-
6255
- .wpr-logo-image img {
6256
- display: block;
6257
- }
6258
-
6259
- .wpr-logo-description {
6260
- margin: 0;
6261
- }
6262
-
6263
- .wpr-logo-image {
6264
- position: relative;
6265
- display: block;
6266
- width: 100%;
6267
- z-index: 7;
6268
- }
6269
-
6270
- .wpr-logo-url {
6271
- position: absolute;
6272
- display: block;
6273
- width: 100%;
6274
- height: 100%;
6275
- top: 0;
6276
- left: 0;
6277
- z-index: 5;
6278
- }
6279
-
6280
- .wpr-logo-position-left .wpr-logo-image,
6281
- .wpr-logo-position-left .wpr-logo-text {
6282
- float: left;
6283
- }
6284
-
6285
- .wpr-logo-position-right .wpr-logo-image,
6286
- .wpr-logo-position-right .wpr-logo-text {
6287
- float: right;
6288
- }
6289
-
6290
- .wpr-logo-position-center .wpr-logo-image {
6291
- margin: 0 auto;
6292
- }
6293
-
6294
- .wpr-logo-position-center .wpr-logo-text {
6295
- text-align: center;
6296
- }
6297
-
6298
- .wpr-logo-position-left .wpr-logo-text,
6299
- .wpr-logo-position-right .wpr-logo-text {
6300
- text-align: left;
6301
- }
6302
-
6303
-
6304
- /* Defaults */
6305
-
6306
- .elementor-widget-wpr-logo .wpr-logo-title {
6307
- font-size: 16px;
6308
- line-height: 1.5;
6309
- }
6310
-
6311
- .elementor-widget-wpr-logo .wpr-logo-description {
6312
- font-size: 13px;
6313
- }
6314
-
6315
-
6316
- /*--------------------------------------------------------------
6317
- == Testimonial
6318
- --------------------------------------------------------------*/
6319
-
6320
- .wpr-testimonial-carousel .slick-slider {
6321
- cursor: drag;
6322
- }
6323
-
6324
- .wpr-testimonial-carousel .slick-track {
6325
- display: -webkit-box !important;
6326
- display: flex !important;
6327
- display: -ms-flexbox !important;
6328
- }
6329
-
6330
- .wpr-testimonial-carousel .slick-slide {
6331
- height: inherit !important;
6332
- }
6333
-
6334
- .wpr-testimonial-carousel-wrap .slick-list {
6335
- padding-right: 1px !important;
6336
- }
6337
-
6338
-
6339
- /* Testimonial Navigation */
6340
- .wpr-testimonial-nav-position-default .wpr-testimonial-arrow-container {
6341
- position: absolute;
6342
- display: -webkit-box;
6343
- display: -ms-flexbox;
6344
- display: flex;
6345
- }
6346
-
6347
- .wpr-testimonial-nav-position-default .wpr-testimonial-arrow {
6348
- position: static;
6349
- }
6350
-
6351
- .wpr-testimonial-nav-position-default .wpr-testimonial-prev-arrow {
6352
- -ms-transform: none;
6353
- transform: none;
6354
- -webkit-transform: none;
6355
- }
6356
-
6357
- .wpr-testimonial-nav-position-default .wpr-testimonial-next-arrow {
6358
- -ms-transform: translateY(0) rotate(180deg);
6359
- transform: translateY(0) rotate(180deg);
6360
- -webkit-transform: translateY(0) rotate(180deg);
6361
- }
6362
-
6363
- .wpr-testimonial-nav-align-top-center .wpr-testimonial-arrow-container,
6364
- .wpr-testimonial-nav-align-bottom-center .wpr-testimonial-arrow-container {
6365
- left: 50%;
6366
- -webkit-transform: translateX(-50%);
6367
- -ms-transform: translateX(-50%);
6368
- transform: translateX(-50%);
6369
- }
6370
-
6371
- .wpr-testimonial-arrow {
6372
- position: absolute;
6373
- z-index: 120;
6374
- top: 52%;
6375
- -webkit-box-sizing: content-box;
6376
- box-sizing: content-box;
6377
- -webkit-box-align: center;
6378
- -ms-flex-align: center;
6379
- align-items: center;
6380
- -webkit-box-pack: center;
6381
- -ms-flex-pack: center;
6382
- justify-content: center;
6383
- text-align: center;
6384
- -webkit-transition: all .5s;
6385
- -o-transition: all .5s;
6386
- transition: all .5s;
6387
- cursor: pointer;
6388
- }
6389
-
6390
- .wpr-testimonial-arrow i {
6391
- display: block;
6392
- line-height: inherit;
6393
- }
6394
-
6395
- .wpr-testimonial-prev-arrow {
6396
- left: 2%;
6397
- -webkit-transform: translateY(-50%);
6398
- -ms-transform: translateY(-50%);
6399
- transform: translateY(-50%);
6400
- }
6401
-
6402
- .wpr-testimonial-next-arrow {
6403
- right: 2%;
6404
- -webkit-transform: translateY(-50%) rotate(180deg);
6405
- -ms-transform: translateY(-50%) rotate(180deg);
6406
- transform: translateY(-50%) rotate(180deg);
6407
- }
6408
-
6409
- .wpr-testimonial-nav-fade .wpr-testimonial-arrow {
6410
- opacity: 0;
6411
- }
6412
-
6413
-
6414
- /* Testimonial Pagination */
6415
-
6416
- .wpr-testimonial-dots {
6417
- display: inline-table;
6418
- position: absolute;
6419
- z-index: 110;
6420
- left: 50%;
6421
- -webkit-transform: translate(-50%, -50%);
6422
- -ms-transform: translate(-50%, -50%);
6423
- transform: translate(-50%, -50%);
6424
- }
6425
-
6426
- .wpr-testimonial-dots ul {
6427
- list-style: none;
6428
- padding: 0;
6429
- margin: 0;
6430
- }
6431
-
6432
- .wpr-testimonial-dots li {
6433
- float: left;
6434
- width: auto !important;
6435
- margin: 0 !important;
6436
- }
6437
-
6438
- .wpr-testimonial-dot {
6439
- display: block;
6440
- cursor: pointer;
6441
- }
6442
-
6443
- .wpr-testimonial-dots li:last-child .wpr-testimonial-dot {
6444
- margin: 0 !important;
6445
- }
6446
-
6447
-
6448
- /* Social Media */
6449
-
6450
- .wpr-testimonial-social-media {
6451
- display: inline-block;
6452
- }
6453
-
6454
- .wpr-testimonial-social {
6455
- display: block;
6456
- float: left;
6457
- width: 45px;
6458
- height: 45px;
6459
- line-height: 45px;
6460
- font-size: 45px;
6461
- -webkit-box-sizing: content-box;
6462
- box-sizing: content-box;
6463
- text-align: center;
6464
- -webkit-transition: all .5s;
6465
- -o-transition: all .5s;
6466
- transition: all .5s;
6467
- cursor: pointer;
6468
- }
6469
-
6470
- .wpr-testimonial-social i {
6471
- display: block;
6472
- width: 100%;
6473
- height: 100%;
6474
- line-height: inherit;
6475
- }
6476
-
6477
- .wpr-testimonial-social:last-child {
6478
- margin-right: 0 !important;
6479
- }
6480
-
6481
-
6482
- /* Rating */
6483
-
6484
- .wpr-testimonial-rating i {
6485
- display: inline;
6486
- position: relative;
6487
- font-family: "eicons";
6488
- font-style: normal;
6489
- line-height: 1;
6490
- overflow: hidden;
6491
- }
6492
-
6493
- .wpr-testimonial-rating i:before {
6494
- content: '\e934';
6495
- font-weight: 900;
6496
- display: block;
6497
- position: absolute;
6498
- top: 0;
6499
- left: 0;
6500
- font-size: inherit;
6501
- font-family: inherit;
6502
- overflow: hidden;
6503
- }
6504
-
6505
- .wpr-testimonial-rating-style_2 .wpr-testimonial-rating i:before {
6506
- content: '\002605';
6507
- }
6508
-
6509
- .wpr-testimonial-rating i:last-of-type {
6510
- margin-right: 0 !important;
6511
- }
6512
-
6513
- .wpr-rating-icon-empty:before {
6514
- display: none !important;
6515
- }
6516
-
6517
-
6518
- /* Content */
6519
-
6520
- .elementor-widget-wpr-testimonial-carousel .wpr-testimonial-content-wrap .wpr-testimonial-title {
6521
- font-size: 18px;
6522
- font-weight: 700;
6523
- }
6524
-
6525
- .wpr-testimonial-content {
6526
- position: relative;
6527
- font-size: 15px;
6528
- }
6529
-
6530
- .wpr-testimonial-content p {
6531
- position: relative;
6532
- z-index: 5;
6533
- margin: 0;
6534
- }
6535
-
6536
-
6537
- /* Icon */
6538
-
6539
- .wpr-testimonial-content .wpr-testimonial-icon {
6540
- position: absolute;
6541
- width: 100%;
6542
- z-index: 1;
6543
- }
6544
-
6545
- .wpr-testimonial-date {
6546
- font-size: 10px;
6547
- }
6548
-
6549
-
6550
- /* Triangle */
6551
- .wpr-testimonial-content-inner {
6552
- position: relative;
6553
- background-color: #f9f9f9;
6554
- }
6555
-
6556
- .wpr-testimonial-triangle-yes .wpr-testimonial-content-inner:before {
6557
- content: "";
6558
- position: absolute;
6559
- width: 0;
6560
- height: 0;
6561
- border-left: 15px solid transparent;
6562
- border-right: 15px solid transparent;
6563
- border-top-style: solid;
6564
- border-top-width: 15px;
6565
- }
6566
-
6567
- .wpr-testimonial-meta-position-top.wpr-testimonial-meta-align-center .wpr-testimonial-content-inner:before,
6568
- .wpr-testimonial-meta-position-bottom.wpr-testimonial-meta-align-center .wpr-testimonial-content-inner:before {
6569
- right: calc( 50% - 15px);
6570
- }
6571
-
6572
- .wpr-testimonial-meta-position-top.wpr-testimonial-meta-align-left .wpr-testimonial-content-inner:before,
6573
- .wpr-testimonial-meta-position-bottom.wpr-testimonial-meta-align-left .wpr-testimonial-content-inner:before {
6574
- margin-left: -15px;
6575
- }
6576
-
6577
- .wpr-testimonial-meta-position-top.wpr-testimonial-meta-align-right .wpr-testimonial-content-inner:before,
6578
- .wpr-testimonial-meta-position-bottom.wpr-testimonial-meta-align-right .wpr-testimonial-content-inner:before {
6579
- margin-right: -15px;
6580
- }
6581
-
6582
- .wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before,
6583
- .wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before {
6584
- margin-top: -7.5px;
6585
- }
6586
-
6587
- .wpr-testimonial-meta-position-top .wpr-testimonial-content-inner:before {
6588
- -webkit-transform: rotate(180deg);
6589
- -ms-transform: rotate(180deg);
6590
- transform: rotate(180deg);
6591
- }
6592
-
6593
- .wpr-testimonial-meta-position-top .wpr-testimonial-content-inner {
6594
- margin-top: 15px;
6595
- }
6596
-
6597
- .wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before {
6598
- -webkit-transform: rotate(-90deg);
6599
- -ms-transform: rotate(-90deg);
6600
- transform: rotate(-90deg);
6601
- }
6602
-
6603
- .wpr-testimonial-meta-position-right .wpr-testimonial-content-inner {
6604
- margin-right: 15px;
6605
- }
6606
-
6607
- .wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before {
6608
- -webkit-transform: rotate(90deg);
6609
- -ms-transform: rotate(90deg);
6610
- transform: rotate(90deg);
6611
- }
6612
-
6613
- .wpr-testimonial-meta-position-left .wpr-testimonial-content-inner {
6614
- margin-left: 15px;
6615
- }
6616
-
6617
- .wpr-testimonial-meta-position-bottom .wpr-testimonial-content-inner:before {
6618
- bottom: -15px;
6619
- }
6620
-
6621
- .wpr-testimonial-meta-position-bottom .wpr-testimonial-content-inner {
6622
- margin-bottom: 15px;
6623
- }
6624
-
6625
- .wpr-testimonial-meta-position-extra .wpr-testimonial-content-inner:before {
6626
- display: none;
6627
- }
6628
-
6629
- .wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before {
6630
- left: -22px;
6631
- }
6632
-
6633
- .wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before {
6634
- right: -22px;
6635
- }
6636
-
6637
- .wpr-testimonial-meta-position-top .wpr-testimonial-content-inner:before {
6638
- top: -15px;
6639
- }
6640
-
6641
- .wpr-testimonial-meta-position-bottom .wpr-testimonial-content-inner:before {
6642
- bottom: -15px;
6643
- }
6644
-
6645
-
6646
- /* Meta */
6647
-
6648
- .wpr-testimonial-image {
6649
- overflow: hidden;
6650
- }
6651
-
6652
- .elementor-widget-wpr-testimonial-carousel .wpr-testimonial-meta .wpr-testimonial-name {
6653
- font-size: 14px;
6654
- font-weight: 700;
6655
- }
6656
-
6657
- .wpr-testimonial-logo-image {
6658
- display: block;
6659
- overflow: hidden;
6660
- }
6661
-
6662
-
6663
- /* Meta Position */
6664
-
6665
- .wpr-testimonial-item {
6666
- display: -webkit-box !important;
6667
- display: -ms-flexbox !important;
6668
- display: flex !important;
6669
- -webkit-box-pack: start;
6670
- -ms-flex-pack: start;
6671
- justify-content: flex-start;
6672
- }
6673
-
6674
- .wpr-testimonial-meta-position-extra .wpr-testimonial-item {
6675
- -webkit-box-orient: vertical;
6676
- -webkit-box-direction: normal;
6677
- -ms-flex-direction: column;
6678
- flex-direction: column;
6679
- }
6680
-
6681
- .wpr-testimonial-meta-position-top .wpr-testimonial-item {
6682
- -webkit-box-orient: vertical;
6683
- -webkit-box-direction: normal;
6684
- -ms-flex-direction: column;
6685
- flex-direction: column;
6686
- }
6687
-
6688
- .wpr-testimonial-meta-position-bottom .wpr-testimonial-item {
6689
- -webkit-box-orient: vertical;
6690
- -webkit-box-direction: reverse;
6691
- -ms-flex-direction: column-reverse;
6692
- flex-direction: column-reverse;
6693
- -webkit-box-pack: end;
6694
- -ms-flex-pack: end;
6695
- justify-content: flex-end;
6696
- }
6697
-
6698
- .wpr-testimonial-meta-position-right .wpr-testimonial-item {
6699
- -webkit-box-orient: horizontal;
6700
- -webkit-box-direction: reverse;
6701
- -ms-flex-direction: row-reverse;
6702
- flex-direction: row-reverse;
6703
- }
6704
-
6705
- .wpr-testimonial-meta-position-left .wpr-testimonial-item {
6706
- -webkit-box-orient: horizontal;
6707
- -webkit-box-direction: normal;
6708
- -ms-flex-direction: row;
6709
- flex-direction: row;
6710
- }
6711
-
6712
- .wpr-testimonial-meta-position-right .wpr-testimonial-meta,
6713
- .wpr-testimonial-meta-position-left .wpr-testimonial-meta {
6714
- -ms-flex-negative: 0;
6715
- flex-shrink: 0;
6716
- }
6717
-
6718
- @media screen and ( max-width: 480px) {
6719
- .wpr-testimonial-meta-position-left .wpr-testimonial-item,
6720
- .wpr-testimonial-meta-position-right .wpr-testimonial-item {
6721
- -webkit-box-orient: vertical;
6722
- -webkit-box-direction: normal;
6723
- -ms-flex-direction: column;
6724
- flex-direction: column;
6725
- }
6726
- .wpr-testimonial-meta-position-left .wpr-testimonial-content-inner,
6727
- .wpr-testimonial-meta-position-right .wpr-testimonial-content-inner {
6728
- margin-left: 0 !important;
6729
- }
6730
- .wpr-testimonial-meta-position-left .wpr-testimonial-meta,
6731
- .wpr-testimonial-meta-position-right .wpr-testimonial-meta {
6732
- margin-left: 0 !important;
6733
- margin-right: 0 !important;
6734
- padding: 0 !important;
6735
- margin-bottom: 20px;
6736
- }
6737
- .wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before,
6738
- .wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before {
6739
- display: none;
6740
- }
6741
- }
6742
-
6743
-
6744
- /* Job */
6745
-
6746
- .wpr-testimonial-job {
6747
- font-size: 10px;
6748
- }
6749
-
6750
-
6751
- /* Meta Image Positon */
6752
-
6753
- .wpr-testimonial-image-position-left .wpr-testimonial-meta-inner>div,
6754
- .wpr-testimonial-image-position-right .wpr-testimonial-meta-inner>div {
6755
- display: inline-block;
6756
- vertical-align: top;
6757
- }
6758
-
6759
- .wpr-testimonial-image-position-left .wpr-testimonial-image,
6760
- .wpr-testimonial-image-position-left .wpr-testimonial-logo-image img,
6761
- .wpr-testimonial-image-position-center.wpr-testimonial-meta-align-left .wpr-testimonial-meta img {
6762
- float: left;
6763
- }
6764
-
6765
- .wpr-testimonial-image-position-right .wpr-testimonial-image,
6766
- .wpr-testimonial-image-position-right .wpr-testimonial-logo-image img,
6767
- .wpr-testimonial-image-position-center.wpr-testimonial-meta-align-right .wpr-testimonial-meta img {
6768
- float: right;
6769
- }
6770
-
6771
- .wpr-testimonial-meta-align-left .wpr-testimonial-meta,
6772
- .wpr-testimonial-image-position-left .wpr-testimonial-meta-content-wrap {
6773
- text-align: left;
6774
- }
6775
-
6776
- .wpr-testimonial-meta-align-center .wpr-testimonial-meta {
6777
- text-align: center;
6778
- }
6779
-
6780
- .wpr-testimonial-meta-align-right .wpr-testimonial-meta,
6781
- .wpr-testimonial-image-position-right .wpr-testimonial-meta-content-wrap {
6782
- text-align: right;
6783
- }
6784
-
6785
- .wpr-testimonial-meta-align-center .wpr-testimonial-meta img {
6786
- margin: 0 auto;
6787
- }
6788
-
6789
- .wpr-testimonial-meta-position-extra .wpr-testimonial-meta img {
6790
- display: inline-block;
6791
- }
6792
-
6793
- .wpr-testimonial-meta-inner {
6794
- display: inline-block;
6795
- }
6796
-
6797
- .wpr-testimonial-meta-position-top .wpr-testimonial-meta-content-wrap,
6798
- .wpr-testimonial-meta-position-bottom .wpr-testimonial-meta-content-wrap {
6799
- /*text-align: center !important;*/
6800
- }
6801
-
6802
- .wpr-testimonial-meta-position-top .wpr-testimonial-logo-image img,
6803
- .wpr-testimonial-meta-position-bottom .wpr-testimonial-logo-image img,
6804
- .wpr-testimonial-meta-position-top .wpr-testimonial-social-media,
6805
- .wpr-testimonial-meta-position-bottom .wpr-testimonial-social-media {
6806
- float: none !important;
6807
- display: inline-block !important;
6808
- }
6809
-
6810
- @media screen and (min-width: 480px) {
6811
- .wpr-testimonial-image-position-left .wpr-testimonial-image,
6812
- .wpr-testimonial-image-position-right .wpr-testimonial-image {
6813
- margin-bottom: 0 !important;
6814
- }
6815
- }
6816
-
6817
- @media screen and (max-width: 480px) {
6818
- .wpr-testimonial-meta-position-left .wpr-testimonial-image,
6819
- .wpr-testimonial-meta-position-right .wpr-testimonial-image,
6820
- .wpr-testimonial-meta-position-left .wpr-testimonial-meta-content-wrap,
6821
- .wpr-testimonial-meta-position-right .wpr-testimonial-meta-content-wrap {
6822
- display: block !important;
6823
- float: none !important;
6824
- text-align: center !important;
6825
- }
6826
- .wpr-testimonial-meta-position-left.wpr-testimonial-image-position-left .wpr-testimonial-image,
6827
- .wpr-testimonial-meta-position-right.wpr-testimonial-image-position-left .wpr-testimonial-image,
6828
- .wpr-testimonial-meta-position-left.wpr-testimonial-image-position-right .wpr-testimonial-image,
6829
- .wpr-testimonial-meta-position-right.wpr-testimonial-image-position-right .wpr-testimonial-image {
6830
- margin-left: 0 !important;
6831
- margin-right: 0 !important;
6832
- }
6833
- .wpr-testimonial-meta-position-left .wpr-testimonial-image img,
6834
- .wpr-testimonial-meta-position-right .wpr-testimonial-image img,
6835
- .wpr-testimonial-meta-position-left .wpr-testimonial-logo-image img,
6836
- .wpr-testimonial-meta-position-right .wpr-testimonial-logo-image img {
6837
- display: inline-block !important;
6838
- float: none !important;
6839
- }
6840
- }
6841
-
6842
-
6843
- /*--------------------------------------------------------------
6844
- == Search
6845
- --------------------------------------------------------------*/
6846
-
6847
- .wpr-search-form-input-wrap {
6848
- width: 100%;
6849
- overflow: hidden;
6850
- }
6851
-
6852
- .wpr-search-form .wpr-search-form-input {
6853
- width: 100%;
6854
- height: 100%;
6855
- font-size: 14px;
6856
- background-color: transparent;
6857
- border-style: solid;
6858
- }
6859
-
6860
- .wpr-search-form-style-inner .wpr-search-form-input-wrap,
6861
- .wpr-search-form-style-outer .wpr-search-form {
6862
- display: -webkit-box;
6863
- display: -ms-flexbox;
6864
- display: flex;
6865
- }
6866
-
6867
- .wpr-search-form-style-inner.wpr-search-form-position-left .wpr-search-form-input-wrap,
6868
- .wpr-search-form-style-outer.wpr-search-form-position-left .wpr-search-form {
6869
- -webkit-box-direction: reverse;
6870
- -ms-flex-direction: row-reverse;
6871
- flex-direction: row-reverse;
6872
- }
6873
-
6874
- .wpr-search-form-submit {
6875
- padding: 0 !important;
6876
- cursor: pointer;
6877
- border-style: solid;
6878
- -webkit-transition: all 200ms;
6879
- -o-transition: all 200ms;
6880
- transition: all 200ms;
6881
- }
6882
-
6883
- .wpr-search-form-disable-submit-btn-yes .wpr-search-form-submit {
6884
- pointer-events: none;
6885
- cursor: default;
6886
- }
6887
-
6888
-
6889
- /*--------------------------------------------------------------
6890
- == Team Member
6891
- --------------------------------------------------------------*/
6892
-
6893
- .wpr-team-member {
6894
- overflow: hidden;
6895
- }
6896
-
6897
- .wpr-member-content {
6898
- overflow: hidden;
6899
- }
6900
-
6901
- .wpr-member-name {
6902
- display: block;
6903
- line-height: 1;
6904
- }
6905
-
6906
- .elementor .elementor-widget-wpr-team-member .wpr-member-name {
6907
- font-size: 24px;
6908
- font-weight: 500;
6909
- }
6910
-
6911
- .wpr-member-job {
6912
- font-size: 13px;
6913
- }
6914
-
6915
- .wpr-member-description {
6916
- font-size: 15px;
6917
- line-height: 1.4;
6918
- }
6919
-
6920
- .wpr-member-media {
6921
- position: relative;
6922
- margin: 0 auto;
6923
- width: 100%;
6924
- overflow: hidden;
6925
- }
6926
-
6927
- .wpr-member-image {
6928
- overflow: hidden;
6929
- }
6930
-
6931
-
6932
- /* Image Overlay */
6933
-
6934
- .wpr-member-overlay-content {
6935
- position: relative;
6936
- }
6937
-
6938
- .wpr-member-overlay {
6939
- position: absolute;
6940
- top: 0;
6941
- left: 0;
6942
- width: 100%;
6943
- height: 100%;
6944
- background-color: rgba(255, 255, 255, 0.9);
6945
- }
6946
-
6947
-
6948
- /* Social Media */
6949
-
6950
- .wpr-member-social-media {
6951
- display: -webkit-box;
6952
- display: -ms-flexbox;
6953
- display: flex;
6954
- overflow: hidden;
6955
- }
6956
-
6957
- .wpr-member-social {
6958
- display: block;
6959
- width: 45px;
6960
- height: 45px;
6961
- line-height: 45px;
6962
- font-size: 45px;
6963
- -webkit-box-sizing: content-box;
6964
- box-sizing: content-box;
6965
- text-align: center;
6966
- -webkit-transition: all .5s;
6967
- -o-transition: all .5s;
6968
- transition: all .5s;
6969
- cursor: pointer;
6970
- }
6971
-
6972
- .wpr-member-social i {
6973
- display: block;
6974
- width: 100%;
6975
- height: 100%;
6976
- line-height: inherit;
6977
- }
6978
-
6979
- .wpr-member-social:last-child {
6980
- margin-right: 0 !important;
6981
- }
6982
-
6983
- .wpr-team-member-social-media-left .wpr-member-social-media {
6984
- -webkit-box-pack: start;
6985
- -ms-flex-pack: start;
6986
- justify-content: flex-start;
6987
- }
6988
-
6989
- .wpr-team-member-social-media-right .wpr-member-social-media {
6990
- -webkit-box-pack: end;
6991
- -ms-flex-pack: end;
6992
- justify-content: flex-end;
6993
- }
6994
-
6995
- .wpr-team-member-social-media-center .wpr-member-social-media {
6996
- -webkit-box-pack: center;
6997
- -ms-flex-pack: center;
6998
- justify-content: center;
6999
- }
7000
-
7001
-
7002
- /* Member Button */
7003
-
7004
- .wpr-member-btn {
7005
- display: inline-block;
7006
- position: relative;
7007
- overflow: hidden;
7008
- display: inline-block;
7009
- vertical-align: middle;
7010
- background-color: #222222;
7011
- cursor: pointer;
7012
- font-size: 14px;
7013
- }
7014
-
7015
- .wpr-member-btn span {
7016
- position: relative;
7017
- z-index: 2;
7018
- opacity: 1 !important;
7019
- }
7020
-
7021
- .wpr-member-btn:before,
7022
- .wpr-member-btn:after {
7023
- z-index: 1 !important;
7024
- }
7025
-
7026
-
7027
- /* Divider */
7028
-
7029
- .wpr-member-divider {
7030
- overflow: hidden;
7031
- }
7032
-
7033
- .wpr-member-divider:after {
7034
- content: "";
7035
- display: block;
7036
- width: 100%;
7037
- margin-top: 0;
7038
- overflow: hidden;
7039
- }
7040
-
7041
- .wpr-team-member-divider-left .wpr-member-divider:after {
7042
- float: left;
7043
- }
7044
-
7045
- .wpr-team-member-divider-right .wpr-member-divider:after {
7046
- float: right;
7047
- }
7048
-
7049
- .wpr-team-member-divider-center .wpr-member-divider:after {
7050
- margin-left: auto;
7051
- margin-right: auto;
7052
- }
7053
-
7054
-
7055
- /*--------------------------------------------------------------
7056
- == Button
7057
- --------------------------------------------------------------*/
7058
-
7059
- .wpr-button-wrap {
7060
- position: relative;
7061
- display: inline-table;
7062
- z-index: 1;
7063
- width: 100%;
7064
- }
7065
-
7066
- .wpr-button {
7067
- display: block;
7068
- position: relative;
7069
- width: 100%;
7070
- z-index: 1;
7071
- overflow: hidden;
7072
- }
7073
-
7074
- .elementor .elementor-widget-wpr-button .wpr-button-text {
7075
- font-size: 15px;
7076
- font-weight: 500;
7077
- }
7078
-
7079
- .wpr-button-icon-style-block .wpr-button-text,
7080
- .wpr-button-icon-style-inline-block .wpr-button-text {
7081
- width: 100%;
7082
- }
7083
-
7084
- .wpr-button-icon-style-block .wpr-button-icon,
7085
- .wpr-button-icon-style-inline-block .wpr-button-icon {
7086
- -webkit-box-pack: center;
7087
- -ms-flex-pack: center;
7088
- justify-content: center;
7089
- }
7090
-
7091
- .wpr-button-content {
7092
- display: -webkit-box;
7093
- display: -ms-flexbox;
7094
- display: flex;
7095
- }
7096
-
7097
- .wpr-button-text,
7098
- .wpr-button-icon {
7099
- display: -webkit-box;
7100
- display: -ms-flexbox;
7101
- display: flex;
7102
- -webkit-box-align: center;
7103
- -ms-flex-align: center;
7104
- align-items: center;
7105
- }
7106
-
7107
- .wpr-button-icon-position-left .wpr-button-icon {
7108
- -webkit-box-ordinal-group: 2;
7109
- -ms-flex-order: 1;
7110
- order: 1;
7111
- }
7112
-
7113
- .wpr-button-icon-position-left .wpr-button-text {
7114
- -webkit-box-ordinal-group: 3;
7115
- -ms-flex-order: 2;
7116
- order: 2;
7117
- }
7118
-
7119
-
7120
- /* Tooltip */
7121
-
7122
- .wpr-button-tooltip {
7123
- position: absolute;
7124
- border-radius: 4px;
7125
- visibility: hidden;
7126
- opacity: 0;
7127
- font-size: 13px;
7128
- line-height: 1.5;
7129
- -webkit-transition-property: all;
7130
- -o-transition-property: all;
7131
- transition-property: all;
7132
- -webkit-transition-timing-function: ease-in-out;
7133
- -o-transition-timing-function: ease-in-out;
7134
- transition-timing-function: ease-in-out;
7135
- z-index: 20;
7136
- }
7137
-
7138
- .wpr-button-tooltip:before {
7139
- content: "";
7140
- position: absolute;
7141
- width: 0;
7142
- height: 0;
7143
- border-top-style: solid;
7144
- border-left: 6px solid transparent;
7145
- border-right: 6px solid transparent;
7146
- border-top-width: 6px;
7147
- }
7148
-
7149
- .wpr-button-tooltip p {
7150
- margin: 0;
7151
- }
7152
-
7153
- .wpr-button-wrap:hover .wpr-button-tooltip {
7154
- visibility: visible;
7155
- opacity: 1;
7156
- }
7157
-
7158
- .wpr-button-tooltip-position-top .wpr-button-tooltip {
7159
- top: 0;
7160
- left: 50%;
7161
- -ms-transform: translate(-50%, -120%);
7162
- transform: translate(-50%, -120%);
7163
- -webkit-transform: translate(-50%, -120%);
7164
- margin-top: -5px;
7165
- }
7166
-
7167
- .wpr-button-tooltip-position-top .wpr-button-wrap:hover .wpr-button-tooltip {
7168
- -ms-transform: translate(-50%, -100%);
7169
- transform: translate(-50%, -100%);
7170
- -webkit-transform: translate(-50%, -100%);
7171
- }
7172
-
7173
- .wpr-button-tooltip-position-top .wpr-button-tooltip:before {
7174
- left: 50%;
7175
- -ms-transform: translateX(-50%);
7176
- transform: translateX(-50%);
7177
- -webkit-transform: translateX(-50%);
7178
- bottom: -5px;
7179
- }
7180
-
7181
- .wpr-button-tooltip-position-bottom .wpr-button-tooltip {
7182
- bottom: 0;
7183
- left: 50%;
7184
- -ms-transform: translate(-50%, 120%);
7185
- transform: translate(-50%, 120%);
7186
- -webkit-transform: translate(-50%, 120%);
7187
- margin-bottom: -5px;
7188
- }
7189
-
7190
- .wpr-button-tooltip-position-bottom .wpr-button-wrap:hover .wpr-button-tooltip {
7191
- -ms-transform: translate(-50%, 100%);
7192
- transform: translate(-50%, 100%);
7193
- -webkit-transform: translate(-50%, 100%);
7194
- }
7195
-
7196
- .wpr-button-tooltip-position-bottom .wpr-button-tooltip:before {
7197
- top: -5px;
7198
- left: 50%;
7199
- -webkit-transform: translateX(-50%) rotate(180deg);
7200
- -ms-transform: translateX(-50%) rotate(180deg);
7201
- transform: translateX(-50%) rotate(180deg);
7202
- }
7203
-
7204
- .wpr-button-tooltip-position-left .wpr-button-tooltip {
7205
- top: 50%;
7206
- left: 0;
7207
- -ms-transform: translate(-120%, -50%);
7208
- transform: translate(-120%, -50%);
7209
- -webkit-transform: translate(-120%, -50%);
7210
- margin-left: -5px;
7211
- }
7212
-
7213
- .wpr-button-tooltip-position-left .wpr-button-wrap:hover .wpr-button-tooltip {
7214
- -ms-transform: translate(-100%, -50%);
7215
- transform: translate(-100%, -50%);
7216
- -webkit-transform: translate(-100%, -50%);
7217
- }
7218
-
7219
- .wpr-button-tooltip-position-left .wpr-button-tooltip:before {
7220
- right: -8px;
7221
- top: 50%;
7222
- -webkit-transform: translateY(-50%) rotate(-90deg);
7223
- -ms-transform: translateY(-50%) rotate(-90deg);
7224
- transform: translateY(-50%) rotate(-90deg);
7225
- }
7226
-
7227
- .wpr-button-tooltip-position-right .wpr-button-tooltip {
7228
- top: 50%;
7229
- right: 0;
7230
- -ms-transform: translate(120%, -50%);
7231
- transform: translate(120%, -50%);
7232
- -webkit-transform: translate(120%, -50%);
7233
- margin-right: -5px;
7234
- }
7235
-
7236
- .wpr-button-tooltip-position-right .wpr-button-wrap:hover .wpr-button-tooltip {
7237
- -ms-transform: translate(100%, -50%);
7238
- transform: translate(100%, -50%);
7239
- -webkit-transform: translate(100%, -50%);
7240
- }
7241
-
7242
- .wpr-button-tooltip-position-right .wpr-button-tooltip:before {
7243
- left: -8px;
7244
- top: 50%;
7245
- -ms-transform: translateY(-50%) rotate(90deg);
7246
- transform: translateY(-50%) rotate(90deg);
7247
- -webkit-transform: translateY(-50%) rotate(90deg);
7248
- }
7249
-
7250
-
7251
- /* Defaults */
7252
-
7253
- .elementor-widget-wpr-button .wpr-button {
7254
- background-color: #605BE5;
7255
- }
7256
-
7257
- .elementor-widget-wpr-button .wpr-button-none:hover,
7258
- .elementor-widget-wpr-button [class*="elementor-animation"]:hover,
7259
- .elementor-widget-wpr-button .wpr-button::before,
7260
- .elementor-widget-wpr-button .wpr-button::after {
7261
- background-color: #4A45D2;
7262
- }
7263
-
7264
- .elementor-widget-wpr-button .wpr-button-text,
7265
- .elementor-widget-wpr-button .wpr-button::after {
7266
- font-size: 14px;
7267
- }
7268
-
7269
-
7270
- /*--------------------------------------------------------------
7271
- == Dual Button
7272
- --------------------------------------------------------------*/
7273
-
7274
- .wpr-dual-button {
7275
- display: -moz-flex;
7276
- display: -ms-flex;
7277
- display: -o-flex;
7278
- display: -webkit-box;
7279
- display: -ms-flexbox;
7280
- display: flex;
7281
- }
7282
-
7283
- .wpr-button-a-wrap,
7284
- .wpr-button-b-wrap {
7285
- position: relative;
7286
- width: 100%;
7287
- }
7288
-
7289
- .wpr-button-a-wrap {
7290
- z-index: 5;
7291
- }
7292
-
7293
- .wpr-button-b-wrap {
7294
- z-index: 2;
7295
- }
7296
-
7297
- .wpr-button-a,
7298
- .wpr-button-b {
7299
- display: block;
7300
- position: relative;
7301
- width: 100%;
7302
- z-index: 1;
7303
- overflow: hidden;
7304
- }
7305
-
7306
- .wpr-button-content-a,
7307
- .wpr-button-content-b {
7308
- display: -webkit-box;
7309
- display: -ms-flexbox;
7310
- display: flex;
7311
- }
7312
-
7313
- .wpr-button-text-a,
7314
- .wpr-button-icon-a,
7315
- .wpr-button-text-b,
7316
- .wpr-button-icon-b {
7317
- display: -webkit-box;
7318
- display: -ms-flexbox;
7319
- display: flex;
7320
- -webkit-box-align: center;
7321
- -ms-flex-align: center;
7322
- align-items: center;
7323
- }
7324
-
7325
- .wpr-button-icon-a-position-left .wpr-button-icon-a,
7326
- .wpr-button-icon-b-position-left .wpr-button-icon-b {
7327
- -webkit-box-ordinal-group: 2;
7328
- -ms-flex-order: 1;
7329
- order: 1;
7330
- }
7331
-
7332
- .wpr-button-icon-a-position-left .wpr-button-text-a,
7333
- .wpr-button-icon-b-position-left .wpr-button-text-b {
7334
- -webkit-box-ordinal-group: 3;
7335
- -ms-flex-order: 2;
7336
- order: 2;
7337
- }
7338
-
7339
-
7340
- /* Middle Badge */
7341
-
7342
- .wpr-button-middle-badge {
7343
- display: -webkit-box;
7344
- display: -ms-flexbox;
7345
- display: flex;
7346
- -webkit-box-align: center;
7347
- -ms-flex-align: center;
7348
- align-items: center;
7349
- -webkit-box-pack: center;
7350
- -ms-flex-pack: center;
7351
- justify-content: center;
7352
- position: absolute;
7353
- top: 50%;
7354
- right: 0;
7355
- -webkit-transform: translate(50%, -50%);
7356
- -ms-transform: translate(50%, -50%);
7357
- transform: translate(50%, -50%);
7358
- text-align: center;
7359
- -webkit-box-sizing: content-box;
7360
- box-sizing: content-box;
7361
- z-index: 10;
7362
- border-width: 3px;
7363
- border-color: #00ce1b;
7364
- -webkit-box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
7365
- box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
7366
- }
7367
-
7368
- .wpr-button-middle-badge i {
7369
- line-height: inherit;
7370
- }
7371
-
7372
-
7373
- /* Tooltip A */
7374
-
7375
- .wpr-button-tooltip-a {
7376
- position: absolute;
7377
- border-radius: 4px;
7378
- visibility: hidden;
7379
- opacity: 0;
7380
- font-size: 13px;
7381
- line-height: 1.5;
7382
- -webkit-transition-property: all;
7383
- -o-transition-property: all;
7384
- transition-property: all;
7385
- -webkit-transition-timing-function: ease-in-out;
7386
- -o-transition-timing-function: ease-in-out;
7387
- transition-timing-function: ease-in-out;
7388
- z-index: 20;
7389
- }
7390
-
7391
- .wpr-button-tooltip-a:before {
7392
- content: "";
7393
- position: absolute;
7394
- width: 0;
7395
- height: 0;
7396
- border-top-style: solid;
7397
- border-left: 6px solid transparent;
7398
- border-right: 6px solid transparent;
7399
- border-top-width: 6px;
7400
- }
7401
-
7402
- .wpr-button-tooltip-a p {
7403
- margin: 0;
7404
- }
7405
-
7406
- .wpr-button-a-wrap:hover .wpr-button-tooltip-a {
7407
- visibility: visible;
7408
- opacity: 1;
7409
- }
7410
-
7411
- .wpr-button-tooltip-a-position-top .wpr-button-tooltip-a {
7412
- top: 0;
7413
- left: 50%;
7414
- -ms-transform: translate(-50%, -120%);
7415
- transform: translate(-50%, -120%);
7416
- -webkit-transform: translate(-50%, -120%);
7417
- margin-top: -5px;
7418
- }
7419
-
7420
- .wpr-button-tooltip-a-position-top .wpr-button-a-wrap:hover .wpr-button-tooltip-a {
7421
- -ms-transform: translate(-50%, -100%);
7422
- transform: translate(-50%, -100%);
7423
- -webkit-transform: translate(-50%, -100%);
7424
- }
7425
-
7426
- .wpr-button-tooltip-a-position-top .wpr-button-tooltip-a:before {
7427
- left: 50%;
7428
- -ms-transform: translateX(-50%);
7429
- transform: translateX(-50%);
7430
- -webkit-transform: translateX(-50%);
7431
- bottom: -5px;
7432
- }
7433
-
7434
- .wpr-button-tooltip-a-position-bottom .wpr-button-tooltip-a {
7435
- bottom: 0;
7436
- left: 50%;
7437
- -ms-transform: translate(-50%, 120%);
7438
- transform: translate(-50%, 120%);
7439
- -webkit-transform: translate(-50%, 120%);
7440
- margin-bottom: -5px;
7441
- }
7442
-
7443
- .wpr-button-tooltip-a-position-bottom .wpr-button-a-wrap:hover .wpr-button-tooltip-a {
7444
- -ms-transform: translate(-50%, 100%);
7445
- transform: translate(-50%, 100%);
7446
- -webkit-transform: translate(-50%, 100%);
7447
- }
7448
-
7449
- .wpr-button-tooltip-a-position-bottom .wpr-button-tooltip-a:before {
7450
- top: -5px;
7451
- left: 50%;
7452
- -webkit-transform: translateX(-50%) rotate(180deg);
7453
- -ms-transform: translateX(-50%) rotate(180deg);
7454
- transform: translateX(-50%) rotate(180deg);
7455
- }
7456
-
7457
- .wpr-button-tooltip-a-position-left .wpr-button-tooltip-a {
7458
- top: 50%;
7459
- left: 0;
7460
- -ms-transform: translate(-120%, -50%);
7461
- transform: translate(-120%, -50%);
7462
- -webkit-transform: translate(-120%, -50%);
7463
- margin-left: -5px;
7464
- }
7465
-
7466
- .wpr-button-tooltip-a-position-left .wpr-button-a-wrap:hover .wpr-button-tooltip-a {
7467
- -ms-transform: translate(-100%, -50%);
7468
- transform: translate(-100%, -50%);
7469
- -webkit-transform: translate(-100%, -50%);
7470
- }
7471
-
7472
- .wpr-button-tooltip-a-position-left .wpr-button-tooltip-a:before {
7473
- right: -8px;
7474
- top: 50%;
7475
- -webkit-transform: translateY(-50%) rotate(-90deg);
7476
- -ms-transform: translateY(-50%) rotate(-90deg);
7477
- transform: translateY(-50%) rotate(-90deg);
7478
- }
7479
-
7480
- .wpr-button-tooltip-a-position-right .wpr-button-tooltip-a {
7481
- top: 50%;
7482
- right: 0;
7483
- -ms-transform: translate(120%, -50%);
7484
- transform: translate(120%, -50%);
7485
- -webkit-transform: translate(120%, -50%);
7486
- margin-right: -5px;
7487
- }
7488
-
7489
- .wpr-button-tooltip-a-position-right .wpr-button-a-wrap:hover .wpr-button-tooltip-a {
7490
- -ms-transform: translate(100%, -50%);
7491
- transform: translate(100%, -50%);
7492
- -webkit-transform: translate(100%, -50%);
7493
- }
7494
-
7495
- .wpr-button-tooltip-a-position-right .wpr-button-tooltip-a:before {
7496
- left: -8px;
7497
- top: 50%;
7498
- -webkit-transform: translateY(-50%) rotate(90deg);
7499
- -ms-transform: translateY(-50%) rotate(90deg);
7500
- transform: translateY(-50%) rotate(90deg);
7501
- }
7502
-
7503
-
7504
- /* Tooltip B */
7505
-
7506
- .wpr-button-tooltip-b {
7507
- position: absolute;
7508
- border-radius: 4px;
7509
- visibility: hidden;
7510
- opacity: 0;
7511
- font-size: 13px;
7512
- line-height: 1.5;
7513
- -webkit-transition-property: all;
7514
- -o-transition-property: all;
7515
- transition-property: all;
7516
- -webkit-transition-timing-function: ease-in-out;
7517
- -o-transition-timing-function: ease-in-out;
7518
- transition-timing-function: ease-in-out;
7519
- z-index: 20;
7520
- }
7521
-
7522
- .wpr-button-tooltip-b:before {
7523
- content: "";
7524
- position: absolute;
7525
- width: 0;
7526
- height: 0;
7527
- border-top-style: solid;
7528
- border-left: 6px solid transparent;
7529
- border-right: 6px solid transparent;
7530
- border-top-width: 6px;
7531
- }
7532
-
7533
- .wpr-button-tooltip-b p {
7534
- margin: 0;
7535
- }
7536
-
7537
- .wpr-button-b-wrap:hover .wpr-button-tooltip-b {
7538
- visibility: visible;
7539
- opacity: 1;
7540
- }
7541
-
7542
- .wpr-button-tooltip-b-position-top .wpr-button-tooltip-b {
7543
- top: 0;
7544
- left: 50%;
7545
- -ms-transform: translate(-50%, -120%);
7546
- transform: translate(-50%, -120%);
7547
- -webkit-transform: translate(-50%, -120%);
7548
- margin-top: -5px;
7549
- }
7550
-
7551
- .wpr-button-tooltip-b-position-top .wpr-button-b-wrap:hover .wpr-button-tooltip-b {
7552
- -ms-transform: translate(-50%, -100%);
7553
- transform: translate(-50%, -100%);
7554
- -webkit-transform: translate(-50%, -100%);
7555
- }
7556
-
7557
- .wpr-button-tooltip-b-position-top .wpr-button-tooltip-b:before {
7558
- left: 50%;
7559
- -ms-transform: translateX(-50%);
7560
- transform: translateX(-50%);
7561
- -webkit-transform: translateX(-50%);
7562
- bottom: -5px;
7563
- }
7564
-
7565
- .wpr-button-tooltip-b-position-bottom .wpr-button-tooltip-b {
7566
- bottom: 0;
7567
- left: 50%;
7568
- -ms-transform: translate(-50%, 120%);
7569
- transform: translate(-50%, 120%);
7570
- -webkit-transform: translate(-50%, 120%);
7571
- margin-bottom: -5px;
7572
- }
7573
-
7574
- .wpr-button-tooltip-b-position-bottom .wpr-button-b-wrap:hover .wpr-button-tooltip-b {
7575
- -ms-transform: translate(-50%, 100%);
7576
- transform: translate(-50%, 100%);
7577
- -webkit-transform: translate(-50%, 100%);
7578
- }
7579
-
7580
- .wpr-button-tooltip-b-position-bottom .wpr-button-tooltip-b:before {
7581
- top: -5px;
7582
- left: 50%;
7583
- -webkit-transform: translateX(-50%) rotate(180deg);
7584
- -ms-transform: translateX(-50%) rotate(180deg);
7585
- transform: translateX(-50%) rotate(180deg);
7586
- }
7587
-
7588
- .wpr-button-tooltip-b-position-left .wpr-button-tooltip-b {
7589
- top: 50%;
7590
- left: 0;
7591
- -ms-transform: translate(-120%, -50%);
7592
- transform: translate(-120%, -50%);
7593
- -webkit-transform: translate(-120%, -50%);
7594
- margin-left: -5px;
7595
- }
7596
-
7597
- .wpr-button-tooltip-b-position-left .wpr-button-b-wrap:hover .wpr-button-tooltip-b {
7598
- -ms-transform: translate(-100%, -50%);
7599
- transform: translate(-100%, -50%);
7600
- -webkit-transform: translate(-100%, -50%);
7601
- }
7602
-
7603
- .wpr-button-tooltip-b-position-left .wpr-button-tooltip-b:before {
7604
- right: -8px;
7605
- top: 50%;
7606
- -webkit-transform: translateY(-50%) rotate(-90deg);
7607
- -ms-transform: translateY(-50%) rotate(-90deg);
7608
- transform: translateY(-50%) rotate(-90deg);
7609
- }
7610
-
7611
- .wpr-button-tooltip-b-position-right .wpr-button-tooltip-b {
7612
- top: 50%;
7613
- right: 0;
7614
- -ms-transform: translate(120%, -50%);
7615
- transform: translate(120%, -50%);
7616
- -webkit-transform: translate(120%, -50%);
7617
- margin-right: -5px;
7618
- }
7619
-
7620
- .wpr-button-tooltip-b-position-right .wpr-button-b-wrap:hover .wpr-button-tooltip-b {
7621
- -ms-transform: translate(100%, -50%);
7622
- transform: translate(100%, -50%);
7623
- -webkit-transform: translate(100%, -50%);
7624
- }
7625
-
7626
- .wpr-button-tooltip-b-position-right .wpr-button-tooltip-b:before {
7627
- left: -8px;
7628
- top: 50%;
7629
- -webkit-transform: translateY(-50%) rotate(90deg);
7630
- -ms-transform: translateY(-50%) rotate(90deg);
7631
- transform: translateY(-50%) rotate(90deg);
7632
- }
7633
-
7634
- @media screen and (max-width: 480px) {
7635
- .wpr-button-tooltip-position-left .wpr-button-tooltip,
7636
- .wpr-button-tooltip-position-right .wpr-button-tooltip,
7637
- .wpr-button-tooltip-a-position-left .wpr-button-tooltip-a,
7638
- .wpr-button-tooltip-b-position-right .wpr-button-tooltip-b {
7639
- top: 0;
7640
- left: 50% !important;
7641
- right: auto !important;
7642
- -ms-transform: translate(-50%, -120%);
7643
- transform: translate(-50%, -120%);
7644
- -webkit-transform: translate(-50%, -120%);
7645
- margin-top: -5px;
7646
- }
7647
- .wpr-button-tooltip-position-left .wpr-button-wrap:hover .wpr-button-tooltip,
7648
- .wpr-button-tooltip-position-right .wpr-button-wrap:hover .wpr-button-tooltip,
7649
- .wpr-button-tooltip-a-position-left .wpr-button-a-wrap:hover .wpr-button-tooltip-a,
7650
- .wpr-button-tooltip-b-position-right .wpr-button-b-wrap:hover .wpr-button-tooltip-b {
7651
- -ms-transform: translate(-50%, -100%);
7652
- transform: translate(-50%, -100%);
7653
- -webkit-transform: translate(-50%, -100%);
7654
- }
7655
- .wpr-button-tooltip-position-left .wpr-button-tooltip:before,
7656
- .wpr-button-tooltip-position-right .wpr-button-tooltip:before,
7657
- .wpr-button-tooltip-a-position-left .wpr-button-tooltip-a:before,
7658
- .wpr-button-tooltip-b-position-right .wpr-button-tooltip-b:before {
7659
- left: 50%;
7660
- -ms-transform: translateX(-50%);
7661
- transform: translateX(-50%);
7662
- -webkit-transform: translateX(-50%);
7663
- bottom: -5px;
7664
- top: auto;
7665
- }
7666
- }
7667
-
7668
-
7669
- /* Default */
7670
-
7671
- .elementor-widget-wpr-dual-button .wpr-button-a,
7672
- .elementor-widget-wpr-dual-button .wpr-button-b {
7673
- background-color: #605BE5;
7674
- }
7675
-
7676
- .elementor-widget-wpr-dual-button .wpr-dual-button .wpr-button-none:hover,
7677
- .elementor-widget-wpr-dual-button .wpr-dual-button [class*="elementor-animation"]:hover,
7678
- .elementor-widget-wpr-dual-button .wpr-dual-button .wpr-button-effect::before,
7679
- .elementor-widget-wpr-dual-button .wpr-dual-button .wpr-button-effect::after {
7680
- background-color: #4A45D2;
7681
- }
7682
-
7683
- .elementor-widget-wpr-dual-button .wpr-button-text-a,
7684
- .elementor-widget-wpr-dual-button .wpr-button-a::after,
7685
- .elementor-widget-wpr-dual-button .wpr-button-text-b,
7686
- .elementor-widget-wpr-dual-button .wpr-button-b::after {
7687
- font-size: 14px;
7688
- }
7689
-
7690
- .elementor-widget-wpr-dual-button .wpr-button-middle-badge {
7691
- font-size: 13px;
7692
- }
7693
-
7694
-
7695
- /*--------------------------------------------------------------
7696
- == Advanced Text
7697
- --------------------------------------------------------------*/
7698
-
7699
- .wpr-highlighted-text,
7700
- .wpr-anim-text,
7701
- .wpr-clipped-text {
7702
- display: inline-block;
7703
- vertical-align: middle;
7704
- }
7705
-
7706
- .wpr-advanced-text-preffix,
7707
- .wpr-advanced-text-suffix {
7708
- vertical-align: middle;
7709
- }
7710
-
7711
- .elementor-widget-wpr-advanced-text b {
7712
- font-weight: none;
7713
- }
7714
-
7715
- .elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-advanced-text-preffix,
7716
- .elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-advanced-text-suffix,
7717
- .elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-highlighted-text,
7718
- .elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-anim-text,
7719
- .elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-anim-text b {
7720
- font-size: 32px;
7721
- font-weight: 700;
7722
- }
7723
-
7724
- .wpr-advanced-text {
7725
- display: block;
7726
- margin: 0;
7727
- }
7728
-
7729
- /* Clipped Text */
7730
- .wpr-clipped-text {
7731
- position: relative;
7732
- -ms-transform: translate(0, 0);
7733
- transform: translate(0, 0);
7734
- -webkit-transform: translate(0, 0);
7735
- z-index: 0;
7736
- }
7737
-
7738
- .wpr-clipped-text-content {
7739
- -webkit-text-fill-color: transparent;
7740
- -webkit-background-clip: text;
7741
- background-clip: text;
7742
- }
7743
-
7744
- .elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-clipped-text {
7745
- font-size: 50px;
7746
- font-weight: 700;
7747
- }
7748
-
7749
- .wpr-clipped-text-long-shadow {
7750
- position: absolute;
7751
- display: inline-block;
7752
- top: 0;
7753
- left: 0;
7754
- width: 100%;
7755
- height: 100%;
7756
- z-index: -1;
7757
- }
7758
-
7759
-
7760
- /* Hilight Text */
7761
-
7762
- .wpr-highlighted-text {
7763
- position: relative;
7764
- text-align: left;
7765
- }
7766
-
7767
- .wpr-highlighted-text-inner {
7768
- position: relative;
7769
- z-index: 1;
7770
- }
7771
-
7772
- .wpr-highlighted-text svg {
7773
- position: absolute;
7774
- top: 50%;
7775
- left: 50%;
7776
- width: 100%;
7777
- height: 100%;
7778
- -webkit-transform: translate(-50%, -50%);
7779
- -ms-transform: translate(-50%, -50%);
7780
- transform: translate(-50%, -50%);
7781
- overflow: visible;
7782
- z-index: auto;
7783
- }
7784
-
7785
- .wpr-highlighted-text svg path {
7786
- -webkit-animation-name: wpr-anim-text;
7787
- animation-name: wpr-anim-text;
7788
- -webkit-animation-fill-mode: forwards;
7789
- animation-fill-mode: forwards;
7790
- fill: none;
7791
- stroke-width: 4;
7792
- stroke-dasharray: 1500;
7793
- -webkit-animation-iteration-count: 1;
7794
- -animation-iteration-count: 1;
7795
- opacity: 0;
7796
- }
7797
-
7798
- .wpr-highlighted-text .wpr-highlight-curly {
7799
- -webkit-transform: translate(-50%, 25%);
7800
- -ms-transform: translate(-50%, 25%);
7801
- transform: translate(-50%, 25%);
7802
- }
7803
-
7804
- .wpr-highlighted-text .wpr-highlight-x {
7805
- -webkit-transform: translate(-50%, -35%);
7806
- -ms-transform: translate(-50%, -35%);
7807
- transform: translate(-50%, -35%);
7808
- }
7809
-
7810
- .wpr-highlighted-text .wpr-highlight-strikethrough {
7811
- -webkit-transform: translate(-50%, -47%);
7812
- -ms-transform: translate(-50%, -47%);
7813
- transform: translate(-50%, -47%);
7814
- }
7815
-
7816
- .wpr-highlighted-text .wpr-highlight-underline {
7817
- -webkit-transform: translate(-50%, 27%);
7818
- -ms-transform: translate(-50%, 27%);
7819
- transform: translate(-50%, 27%);
7820
- }
7821
-
7822
- .wpr-highlighted-text .wpr-highlight-double {
7823
- -webkit-transform: translate(-50%, -40%);
7824
- -ms-transform: translate(-50%, -40%);
7825
- transform: translate(-50%, -40%);
7826
- }
7827
-
7828
- .wpr-highlighted-text .wpr-highlight-double-underline {
7829
- -webkit-transform: translate(-50%, 30%);
7830
- -ms-transform: translate(-50%, 30%);
7831
- transform: translate(-50%, 30%);
7832
- }
7833
-
7834
- .wpr-highlighted-text .wpr-highlight-diagonal {
7835
- -webkit-transform: translate(-50%, -40%);
7836
- -ms-transform: translate(-50%, -40%);
7837
- transform: translate(-50%, -40%);
7838
- }
7839
-
7840
- .wpr-animated-text-infinite-yes .wpr-highlighted-text svg path {
7841
- -webkit-animation-name: wpr-anim-text-infinite;
7842
- animation-name: wpr-anim-text-infinite;
7843
- }
7844
-
7845
- @-webkit-keyframes wpr-anim-text-infinite {
7846
- 0% {
7847
- opacity: 1;
7848
- stroke-dasharray: 0 1500;
7849
- }
7850
- 12% {
7851
- stroke-dasharray: 1500 1500;
7852
- }
7853
- 80% {
7854
- opacity: 1;
7855
- }
7856
- 97% {
7857
- opacity: 0;
7858
- stroke-dasharray: 1500 1500;
7859
- }
7860
- 100% {
7861
- stroke-dasharray: 0 1500;
7862
- }
7863
- }
7864
-
7865
- @keyframes wpr-anim-text-infinite {
7866
- 0% {
7867
- opacity: 1;
7868
- stroke-dasharray: 0 1500;
7869
- }
7870
- 12% {
7871
- stroke-dasharray: 1500 1500;
7872
- }
7873
- 80% {
7874
- opacity: 1;
7875
- }
7876
- 97% {
7877
- opacity: 0;
7878
- stroke-dasharray: 1500 1500;
7879
- }
7880
- 100% {
7881
- stroke-dasharray: 0 1500;
7882
- }
7883
- }
7884
-
7885
- @-webkit-keyframes wpr-anim-text {
7886
- 0% {
7887
- opacity: 1;
7888
- stroke-dasharray: 0 1500;
7889
- }
7890
- 12% {
7891
- stroke-dasharray: 1500 1500;
7892
- }
7893
- 100% {
7894
- opacity: 1;
7895
- }
7896
- }
7897
-
7898
- @keyframes wpr-anim-text {
7899
- 0% {
7900
- opacity: 1;
7901
- stroke-dasharray: 0 1500;
7902
- }
7903
- 12% {
7904
- stroke-dasharray: 1500 1500;
7905
- }
7906
- 100% {
7907
- opacity: 1;
7908
- }
7909
- }
7910
-
7911
- @-webkit-keyframes wpr-anim-text-infinite {
7912
- 0% {
7913
- opacity: 1;
7914
- stroke-dasharray: 0 1500;
7915
- }
7916
- 12% {
7917
- stroke-dasharray: 1500 1500;
7918
- }
7919
- 100% {
7920
- opacity: 1;
7921
- }
7922
- }
7923
-
7924
- .wpr-anim-text-inner {
7925
- float: left;
7926
- }
7927
-
7928
- .wpr-anim-text-cursor {
7929
- display: inline-block;
7930
- zoom: 1;
7931
- filter: alpha(opacity=100);
7932
- opacity: 1;
7933
- -webkit-animation-name: wpr-cursor-blink;
7934
- animation-name: wpr-cursor-blink;
7935
- -webkit-animation-iteration-count: infinite;
7936
- animation-iteration-count: infinite;
7937
- }
7938
-
7939
- @-webkit-keyframes wpr-cursor-blink {
7940
- 0% {
7941
- opacity: 1;
7942
- }
7943
- 50% {
7944
- opacity: 0;
7945
- }
7946
- 100% {
7947
- opacity: 1;
7948
- }
7949
- }
7950
-
7951
- @keyframes wpr-cursor-blink {
7952
- 0% {
7953
- opacity: 1;
7954
- }
7955
- 50% {
7956
- opacity: 0;
7957
- }
7958
- 100% {
7959
- opacity: 1;
7960
- }
7961
- }
7962
-
7963
-
7964
- /* Defaults */
7965
-
7966
- .elementor-widget-wpr-advanced-text .wpr-clipped-text-content {
7967
- background-color: #605BE5;
7968
- }
7969
-
7970
-
7971
- /*--------------------------------------------------------------
7972
- == Progress Bar
7973
- --------------------------------------------------------------*/
7974
-
7975
- .wpr-prbar-counter-value-suffix {
7976
- line-height: 1;
7977
- }
7978
-
7979
-
7980
- /* Horizontal Line */
7981
-
7982
- .wpr-prbar-hr-line {
7983
- position: relative;
7984
- width: 100%;
7985
- overflow: hidden;
7986
- }
7987
-
7988
- .wpr-prbar-hr-line-inner {
7989
- position: relative;
7990
- top: 0;
7991
- left: 0;
7992
- width: 0;
7993
- height: 100%;
7994
- -webkit-transition-property: width;
7995
- -o-transition-property: width;
7996
- transition-property: width;
7997
- overflow: hidden;
7998
- }
7999
-
8000
- .wpr-prbar-hr-line .wpr-prbar-content {
8001
- position: absolute;
8002
- top: 0;
8003
- left: 0;
8004
- width: 100%;
8005
- height: 100%;
8006
- }
8007
-
8008
- .wpr-prbar-hr-line .wpr-prbar-title-wrap {
8009
- position: absolute;
8010
- top: 50%;
8011
- left: 12px;
8012
- -webkit-transform: translateY( -50%);
8013
- -ms-transform: translateY( -50%);
8014
- transform: translateY( -50%);
8015
- }
8016
-
8017
- .wpr-prbar-layout-hr-line .wpr-prbar-subtitle {
8018
- text-align: left;
8019
- }
8020
-
8021
- .wpr-prbar-hr-line .wpr-prbar-counter {
8022
- position: absolute;
8023
- top: 50%;
8024
- right: 12px;
8025
- -webkit-transform: translateY( -50%);
8026
- -ms-transform: translateY( -50%);
8027
- transform: translateY( -50%);
8028
- }
8029
-
8030
- .wpr-prbar-layout-hr-line .wpr-prbar-title-wrap {
8031
- float: left;
8032
- }
8033
-
8034
- .wpr-prbar-layout-hr-line .wpr-prbar-counter {
8035
- float: right;
8036
- }
8037
-
8038
-
8039
- /* Vertical Line */
8040
-
8041
- .wpr-prbar-vr-line {
8042
- position: relative;
8043
- display: -webkit-box;
8044
- display: -ms-flexbox;
8045
- display: flex;
8046
- -webkit-box-orient: vertical;
8047
- -webkit-box-direction: normal;
8048
- -ms-flex-direction: column;
8049
- flex-direction: column;
8050
- -webkit-box-pack: end;
8051
- -ms-flex-pack: end;
8052
- justify-content: flex-end;
8053
- width: 100%;
8054
- margin: 0 auto;
8055
- overflow: hidden;
8056
- }
8057
-
8058
- .wpr-prbar-vr-line-inner {
8059
- position: relative;
8060
- width: 100%;
8061
- height: 0;
8062
- -webkit-transition-property: height;
8063
- -o-transition-property: height;
8064
- transition-property: height;
8065
- overflow: hidden;
8066
- }
8067
-
8068
-
8069
- /* Circle */
8070
-
8071
- .wpr-prbar-circle {
8072
- position: relative;
8073
- display: table;
8074
- width: 100%;
8075
- height: auto;
8076
- margin: 0 auto;
8077
- }
8078
-
8079
- .wpr-prbar-circle-svg {
8080
- width: 100%;
8081
- height: auto;
8082
- -webkit-transform: rotate(-90deg);
8083
- -ms-transform: rotate(-90deg);
8084
- transform: rotate(-90deg);
8085
- border-radius: 50%;
8086
- }
8087
-
8088
- .wpr-prbar-circle-prline {
8089
- -webkit-transition-property: stroke-dasharray, stroke-dashoffset;
8090
- -o-transition-property: stroke-dasharray, stroke-dashoffset;
8091
- transition-property: stroke-dasharray, stroke-dashoffset;
8092
- stroke-linecap: butt;
8093
- }
8094
-
8095
- .wpr-prbar-circle .wpr-prbar-content {
8096
- position: absolute;
8097
- top: 50%;
8098
- left: 50%;
8099
- -webkit-transform: translate( -50%, -50%);
8100
- -ms-transform: translate( -50%, -50%);
8101
- transform: translate( -50%, -50%);
8102
- }
8103
-
8104
- .wpr-prbar-content {
8105
- text-align: center;
8106
- overflow: hidden;
8107
- }
8108
-
8109
- .wpr-prbar-counter {
8110
- display: -webkit-box;
8111
- display: -ms-flexbox;
8112
- display: -moz-flex;
8113
- display: flex;
8114
- font-size: 12px;
8115
- -webkit-box-pack: center;
8116
- -ms-flex-pack: center;
8117
- justify-content: center;
8118
- }
8119
-
8120
- .wpr-prbar-title,
8121
- .wpr-prbar-subtitle {
8122
- font-size: 12px;
8123
- text-align: center;
8124
- }
8125
-
8126
-
8127
- /* Stripe */
8128
-
8129
- .wpr-prbar-stripe-yes .wpr-prbar-hr-line-inner:after,
8130
- .wpr-prbar-stripe-yes .wpr-prbar-vr-line-inner:after {
8131
- content: '';
8132
- position: absolute;
8133
- top: 0;
8134
- left: -30px;
8135
- width: calc(100% + 60px);
8136
- height: 100%;
8137
- background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
8138
- background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
8139
- background-size: 30px 30px;
8140
- }
8141
-
8142
- .wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-right .wpr-prbar-hr-line-inner:after,
8143
- .wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-right .wpr-prbar-vr-line-inner:after {
8144
- -webkit-animation: stripe-anim-right 2s linear infinite;
8145
- animation: stripe-anim-right 2s linear infinite;
8146
- }
8147
-
8148
- .wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-left .wpr-prbar-hr-line-inner:after,
8149
- .wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-left .wpr-prbar-vr-line-inner:after {
8150
- -webkit-animation: stripe-anim-left 2s linear infinite;
8151
- animation: stripe-anim-left 2s linear infinite;
8152
- }
8153
-
8154
- @-webkit-keyframes stripe-anim-right {
8155
- 0% {
8156
- -webkit-transform: translate(0, 0);
8157
- transform: translate(0, 0);
8158
- }
8159
- 100% {
8160
- -webkit-transform: translate(30px, 0);
8161
- transform: translate(30px, 0);
8162
- }
8163
- }
8164
-
8165
- @keyframes stripe-anim-right {
8166
- 0% {
8167
- -webkit-transform: translate(0, 0);
8168
- transform: translate(0, 0);
8169
- }
8170
- 100% {
8171
- -webkit-transform: translate(30px, 0);
8172
- transform: translate(30px, 0);
8173
- }
8174
- }
8175
-
8176
- @-webkit-keyframes stripe-anim-left {
8177
- 0% {
8178
- -webkit-transform: translate(0, 0);
8179
- transform: translate(0, 0);
8180
- }
8181
- 100% {
8182
- -webkit-transform: translate(-30px, 0);
8183
- transform: translate(-30px, 0);
8184
- }
8185
- }
8186
-
8187
- @keyframes stripe-anim-left {
8188
- 0% {
8189
- -webkit-transform: translate(0, 0);
8190
- transform: translate(0, 0);
8191
- }
8192
- 100% {
8193
- -webkit-transform: translate(-30px, 0);
8194
- transform: translate(-30px, 0);
8195
- }
8196
- }
8197
-
8198
-
8199
- /* Defaults */
8200
-
8201
- .elementor-widget-wpr-progress-bar .wpr-prbar-hr-line-inner,
8202
- .elementor-widget-wpr-progress-bar .wpr-prbar-vr-line-inner {
8203
- background-color: #605BE5;
8204
- }
8205
-
8206
-
8207
- /*--------------------------------------------------------------
8208
- == Price List
8209
- --------------------------------------------------------------*/
8210
-
8211
- .wpr-price-list-item:last-child {
8212
- margin-bottom: 0;
8213
- }
8214
-
8215
- .wpr-price-list-content {
8216
- width: 100%;
8217
- overflow: hidden;
8218
- }
8219
-
8220
- .wpr-price-list-item {
8221
- display: -moz-flex;
8222
- display: -ms-flex;
8223
- display: -o-flex;
8224
- display: -webkit-box;
8225
- display: -ms-flexbox;
8226
- display: flex;
8227
- position: relative;
8228
- }
8229
-
8230
- .wpr-price-list-link {
8231
- position: absolute;
8232
- top: 0;
8233
- left: 0;
8234
- width: 100%;
8235
- height: 100%;
8236
- z-index: 10;
8237
- }
8238
-
8239
- .wpr-price-list-position-right .wpr-price-list-item {
8240
- -webkit-box-orient: horizontal;
8241
- -webkit-box-direction: reverse;
8242
- -ms-flex-direction: row-reverse;
8243
- flex-direction: row-reverse;
8244
- }
8245
-
8246
- .wpr-price-list-position-center .wpr-price-list-item {
8247
- -webkit-box-orient: vertical;
8248
- -webkit-box-direction: normal;
8249
- -ms-flex-direction: column;
8250
- flex-direction: column;
8251
- }
8252
-
8253
- .wpr-price-list-position-center .wpr-price-list-heading {
8254
- -webkit-box-orient: vertical;
8255
- -webkit-box-direction: normal;
8256
- -ms-flex-direction: column;
8257
- flex-direction: column;
8258
- }
8259
-
8260
- .wpr-price-list-position-center .wpr-price-list-separator {
8261
- display: none;
8262
- }
8263
-
8264
- .wpr-price-list-position-left .wpr-price-list-price-wrap,
8265
- .wpr-price-list-position-right .wpr-price-list-price-wrap {
8266
- margin-left: auto;
8267
- }
8268
-
8269
- .wpr-price-list-image img {
8270
- display: block;
8271
- margin: 0 auto;
8272
- }
8273
-
8274
- .wpr-price-list-heading {
8275
- display: -webkit-box;
8276
- display: -ms-flexbox;
8277
- display: flex;
8278
- -webkit-box-align: center;
8279
- -ms-flex-align: center;
8280
- align-items: center;
8281
- }
8282
-
8283
- .elementor-widget-wpr-price-list .wpr-price-list-heading .wpr-price-list-title,
8284
- .elementor-widget-wpr-price-list .wpr-price-list-heading .wpr-price-list-price {
8285
- font-size: 17px;
8286
- font-weight: 700;
8287
- }
8288
-
8289
- .wpr-price-list-old-price {
8290
- font-size: 11px;
8291
- }
8292
-
8293
- .wpr-price-list-description {
8294
- font-size: 14px;
8295
- }
8296
-
8297
- .wpr-price-list-separator {
8298
- -webkit-box-flex: 1;
8299
- -ms-flex-positive: 1;
8300
- flex-grow: 1;
8301
- height: 0;
8302
- }
8303
-
8304
- .wpr-price-list-price-wrap {
8305
- display: -moz-flex;
8306
- display: -ms-flex;
8307
- display: -o-flex;
8308
- display: -webkit-box;
8309
- display: -ms-flexbox;
8310
- display: flex;
8311
- -webkit-box-align: center;
8312
- -ms-flex-align: center;
8313
- align-items: center;
8314
- -webkit-box-pack: center;
8315
- -ms-flex-pack: center;
8316
- justify-content: center;
8317
- }
8318
-
8319
- .wpr-price-list-old-position-after .wpr-price-list-price-wrap {
8320
- -webkit-box-orient: horizontal;
8321
- -webkit-box-direction: reverse;
8322
- -ms-flex-direction: row-reverse;
8323
- flex-direction: row-reverse;
8324
- }
8325
-
8326
- .wpr-price-list-old-position-after .wpr-price-list-old-price {
8327
- margin-right: 10px;
8328
- }
8329
-
8330
- .wpr-price-list-old-position-before .wpr-price-list-old-price {
8331
- margin-left: 3px;
8332
- }
8333
-
8334
- .wpr-price-list-old-price {
8335
- display: -moz-flex;
8336
- display: -ms-flex;
8337
- display: -o-flex;
8338
- display: -webkit-box;
8339
- display: -ms-flexbox;
8340
- display: flex;
8341
- text-decoration: line-through;
8342
- }
8343
-
8344
-
8345
- /*--------------------------------------------------------------
8346
- == Image Hotspots
8347
- --------------------------------------------------------------*/
8348
-
8349
- .wpr-image-hotspots {
8350
- position: relative;
8351
- }
8352
-
8353
- .wpr-hotspot-item-container {
8354
- position: absolute;
8355
- top: 0;
8356
- left: 0;
8357
- width: 100%;
8358
- height: 100%;
8359
- z-index: 10;
8360
- }
8361
-
8362
- .wpr-hotspot-image img {
8363
- width: 100%;
8364
- }
8365
-
8366
- .wpr-hotspot-item {
8367
- position: absolute;
8368
- }
8369
-
8370
- .wpr-hotspot-text {
8371
- font-size: 15px;
8372
- }
8373
-
8374
- .wpr-hotspot-content {
8375
- position: relative;
8376
- z-index: 15;
8377
- display: -webkit-box;
8378
- display: -ms-flexbox;
8379
- display: flex;
8380
- -webkit-box-align: center;
8381
- -ms-flex-align: center;
8382
- align-items: center;
8383
- -webkit-box-pack: center;
8384
- -ms-flex-pack: center;
8385
- justify-content: center;
8386
- width: 100%;
8387
- height: 100%;
8388
- text-align: center;
8389
- }
8390
-
8391
- .wpr-hotspot-icon-position-left .wpr-hotspot-content {
8392
- -webkit-box-orient: horizontal;
8393
- -webkit-box-direction: reverse;
8394
- -ms-flex-direction: row-reverse;
8395
- flex-direction: row-reverse;
8396
- }
8397
-
8398
- .wpr-hotspot-item,
8399
- .wpr-hotspot-item:before {
8400
- -webkit-animation-fill-mode: both;
8401
- animation-fill-mode: both;
8402
- -webkit-animation-iteration-count: infinite;
8403
- animation-iteration-count: infinite;
8404
- -webkit-animation-play-state: running;
8405
- animation-play-state: running;
8406
- }
8407
-
8408
- .wpr-hotspot-trigger-hover .wpr-hotspot-item,
8409
- .wpr-hotspot-trigger-click .wpr-hotspot-item {
8410
- cursor: pointer;
8411
- }
8412
-
8413
-
8414
- /* Tooltip */
8415
- .wpr-hotspot-tooltip {
8416
- position: absolute;
8417
- border-radius: 4px;
8418
- visibility: hidden;
8419
- opacity: 0;
8420
- font-size: 13px;
8421
- line-height: 1.5;
8422
- -webkit-transition-property: all;
8423
- -o-transition-property: all;
8424
- transition-property: all;
8425
- -webkit-transition-timing-function: ease-in-out;
8426
- -o-transition-timing-function: ease-in-out;
8427
- transition-timing-function: ease-in-out;
8428
- z-index: 20;
8429
- -webkit-box-shadow: 0px 0px 4px 0px rgba( 0, 0, 0, 0.5);
8430
- box-shadow: 0px 0px 4px 0px rgba( 0, 0, 0, 0.5);
8431
- font-size: 13px;
8432
- }
8433
-
8434
- .wpr-hotspot-tooltip:before {
8435
- content: "";
8436
- position: absolute;
8437
- width: 0;
8438
- height: 0;
8439
- }
8440
-
8441
- .wpr-hotspot-tooltip-position-pro-bt .wpr-hotspot-tooltip,
8442
- .wpr-hotspot-tooltip-position-pro-lt .wpr-hotspot-tooltip,
8443
- .wpr-hotspot-tooltip-position-pro-rt .wpr-hotspot-tooltip {
8444
- top: -120%;
8445
- left: 50%;
8446
- -webkit-transform: translateX(-50%);
8447
- -ms-transform: translateX(-50%);
8448
- transform: translateX(-50%);
8449
- }
8450
-
8451
- .wpr-hotspot-tooltip-position-top .wpr-hotspot-tooltip:before,
8452
- .wpr-hotspot-tooltip-position-bottom .wpr-hotspot-tooltip:before {
8453
- border-left-color: transparent;
8454
- border-right-color: transparent;
8455
- border-top-style: solid;
8456
- border-left-style: solid;
8457
- border-right-style: solid;
8458
- }
8459
-
8460
- .wpr-hotspot-tooltip-position-left .wpr-hotspot-tooltip:before,
8461
- .wpr-hotspot-tooltip-position-right .wpr-hotspot-tooltip:before {
8462
- border-bottom-color: transparent;
8463
- border-top-color: transparent;
8464
- border-right-style: solid;
8465
- border-bottom-style: solid;
8466
- border-top-style: solid;
8467
- }
8468
-
8469
- .wpr-hotspot-tooltip p {
8470
- margin: 0;
8471
- }
8472
-
8473
- .wpr-tooltip-active .wpr-hotspot-tooltip {
8474
- visibility: visible;
8475
- opacity: 1;
8476
- }
8477
-
8478
-
8479
- /* Triangle Position */
8480
-
8481
- .wpr-hotspot-tooltip-position-top .wpr-hotspot-tooltip:before {
8482
- left: 50%;
8483
- -ms-transform: translateX(-50%);
8484
- transform: translateX(-50%);
8485
- -webkit-transform: translateX(-50%);
8486
- }
8487
-
8488
- .wpr-hotspot-tooltip-position-bottom .wpr-hotspot-tooltip:before {
8489
- left: 50%;
8490
- -webkit-transform: translateX(-50%) rotate(180deg);
8491
- -ms-transform: translateX(-50%) rotate(180deg);
8492
- transform: translateX(-50%) rotate(180deg);
8493
- }
8494
-
8495
- .wpr-hotspot-tooltip-position-left .wpr-hotspot-tooltip:before {
8496
- top: 50%;
8497
- -webkit-transform: translateY(-50%) rotate(180deg);
8498
- -ms-transform: translateY(-50%) rotate(180deg);
8499
- transform: translateY(-50%) rotate(180deg);
8500
- }
8501
-
8502
- .wpr-hotspot-tooltip-position-right .wpr-hotspot-tooltip:before {
8503
- top: 50%;
8504
- -webkit-transform: translateY(-50%);
8505
- -ms-transform: translateY(-50%);
8506
- transform: translateY(-50%);
8507
- }
8508
-
8509
- .wpr-hotspot-tooltip-position-top .wpr-hotspot-tooltip,
8510
- .wpr-hotspot-tooltip-position-bottom .wpr-hotspot-tooltip {
8511
- left: 50%;
8512
- }
8513
-
8514
- .wpr-hotspot-tooltip-position-left .wpr-hotspot-tooltip,
8515
- .wpr-hotspot-tooltip-position-right .wpr-hotspot-tooltip {
8516
- top: 50%;
8517
- }
8518
-
8519
-
8520
- /* Tooltip Effects */
8521
-
8522
- .wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip {
8523
- -webkit-transform: translate(-50%, -120%);
8524
- -ms-transform: translate(-50%, -120%);
8525
- transform: translate(-50%, -120%);
8526
- }
8527
-
8528
- .wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip {
8529
- -webkit-transform: translate(-50%, -100%);
8530
- -ms-transform: translate(-50%, -100%);
8531
- transform: translate(-50%, -100%);
8532
- }
8533
-
8534
- .wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip {
8535
- -webkit-transform: translate(-50%, 120%);
8536
- -ms-transform: translate(-50%, 120%);
8537
- transform: translate(-50%, 120%);
8538
- }
8539
-
8540
- .wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip {
8541
- -webkit-transform: translate(-50%, 100%);
8542
- -ms-transform: translate(-50%, 100%);
8543
- transform: translate(-50%, 100%);
8544
- }
8545
-
8546
- .wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip {
8547
- -webkit-transform: translate(-120%, -50%);
8548
- -ms-transform: translate(-120%, -50%);
8549
- transform: translate(-120%, -50%);
8550
- }
8551
-
8552
- .wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip {
8553
- -webkit-transform: translate(-100%, -50%);
8554
- -ms-transform: translate(-100%, -50%);
8555
- transform: translate(-100%, -50%);
8556
- }
8557
-
8558
- .wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip {
8559
- -webkit-transform: translate(120%, -50%);
8560
- -ms-transform: translate(120%, -50%);
8561
- transform: translate(120%, -50%);
8562
- }
8563
-
8564
- .wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip {
8565
- -webkit-transform: translate(100%, -50%);
8566
- -ms-transform: translate(100%, -50%);
8567
- transform: translate(100%, -50%);
8568
- }
8569
-
8570
-
8571
- /* Fade */
8572
-
8573
- .wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-fade .wpr-hotspot-tooltip {
8574
- -webkit-transform: translate(-50%, -100%);
8575
- -ms-transform: translate(-50%, -100%);
8576
- transform: translate(-50%, -100%);
8577
- }
8578
-
8579
- .wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-fade .wpr-hotspot-tooltip {
8580
- -webkit-transform: translate(-50%, 100%);
8581
- -ms-transform: translate(-50%, 100%);
8582
- transform: translate(-50%, 100%);
8583
- }
8584
-
8585
- .wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-fade .wpr-hotspot-tooltip {
8586
- -webkit-transform: translate(-100%, -50%);
8587
- -ms-transform: translate(-100%, -50%);
8588
- transform: translate(-100%, -50%);
8589
- }
8590
-
8591
- .wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-fade .wpr-hotspot-tooltip {
8592
- -webkit-transform: translate(100%, -50%);
8593
- -ms-transform: translate(100%, -50%);
8594
- transform: translate(100%, -50%);
8595
- }
8596
-
8597
-
8598
- /* Scale */
8599
-
8600
- .wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-scale .wpr-hotspot-tooltip {
8601
- -webkit-transform: translate(-50%, -100%) scale(0.7);
8602
- -ms-transform: translate(-50%, -100%) scale(0.7);
8603
- transform: translate(-50%, -100%) scale(0.7);
8604
- }
8605
-
8606
- .wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-scale .wpr-hotspot-tooltip {
8607
- -webkit-transform: translate(-50%, 100%) scale(0.7);
8608
- -ms-transform: translate(-50%, 100%) scale(0.7);
8609
- transform: translate(-50%, 100%) scale(0.7);
8610
- }
8611
-
8612
- .wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-scale .wpr-hotspot-tooltip {
8613
- -webkit-transform: translate(-100%, -50%) scale(0.7);
8614
- -ms-transform: translate(-100%, -50%) scale(0.7);
8615
- transform: translate(-100%, -50%) scale(0.7);
8616
- }
8617
-
8618
- .wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-scale .wpr-hotspot-tooltip {
8619
- -webkit-transform: translate(100%, -50%) scale(0.7);
8620
- -ms-transform: translate(100%, -50%) scale(0.7);
8621
- transform: translate(100%, -50%) scale(0.7);
8622
- }
8623
-
8624
- .wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip {
8625
- -webkit-transform: translate(-50%, -100%) scale(1);
8626
- -ms-transform: translate(-50%, -100%) scale(1);
8627
- transform: translate(-50%, -100%) scale(1);
8628
- }
8629
-
8630
- .wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip {
8631
- -webkit-transform: translate(-50%, 100%) scale(1);
8632
- -ms-transform: translate(-50%, 100%) scale(1);
8633
- transform: translate(-50%, 100%) scale(1);
8634
- }
8635
-
8636
- .wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip {
8637
- -webkit-transform: translate(-100%, -50%) scale(1);
8638
- -ms-transform: translate(-100%, -50%) scale(1);
8639
- transform: translate(-100%, -50%) scale(1);
8640
- }
8641
-
8642
- .wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip {
8643
- -webkit-transform: translate(100%, -50%) scale(1);
8644
- -ms-transform: translate(100%, -50%) scale(1);
8645
- transform: translate(100%, -50%) scale(1);
8646
- }
8647
-
8648
-
8649
- /* Hotspot Animation */
8650
-
8651
- @keyframes wpr-hotspot-anim-pulse {
8652
- 0%,
8653
- 100%,
8654
- 87% {
8655
- -webkit-transform: scale3d(1, 1, 1);
8656
- transform: scale3d(1, 1, 1);
8657
- }
8658
- 88%,
8659
- 92%,
8660
- 96% {
8661
- -webkit-transform: scale3d(1.1, 1.1, 1.1);
8662
- transform: scale3d(1.1, 1.1, 1.1);
8663
- }
8664
- 90%,
8665
- 94% {
8666
- -webkit-transform: scale3d(0.9, 0.9, 0.9);
8667
- transform: scale3d(0.9, 0.9, 0.9);
8668
- }
8669
- }
8670
-
8671
- @-webkit-keyframes wpr-hotspot-anim-pulse {
8672
- 0%,
8673
- 100%,
8674
- 87% {
8675
- -webkit-transform: scale3d(1, 1, 1);
8676
- transform: scale3d(1, 1, 1);
8677
- }
8678
- 88%,
8679
- 92%,
8680
- 96% {
8681
- -webkit-transform: scale3d(1.1, 1.1, 1.1);
8682
- transform: scale3d(1.1, 1.1, 1.1);
8683
- }
8684
- 90%,
8685
- 94% {
8686
- -webkit-transform: scale3d(0.9, 0.9, 0.9);
8687
- transform: scale3d(0.9, 0.9, 0.9);
8688
- }
8689
- }
8690
-
8691
- .wpr-hotspot-anim-pulse {
8692
- -webkit-animation-name: wpr-hotspot-anim-pulse;
8693
- animation-name: wpr-hotspot-anim-pulse;
8694
- -webkit-animation-duration: 5s;
8695
- animation-duration: 5s;
8696
- }
8697
-
8698
- @keyframes wpr-hotspot-anim-shake {
8699
- 0%,
8700
- 100%,
8701
- 87% {
8702
- -webkit-transform: translate3d(0, 0, 0);
8703
- transform: translate3d(0, 0, 0);
8704
- }
8705
- 88%,
8706
- 92%,
8707
- 96% {
8708
- -webkit-transform: translate3d(-5px, 0, 0);
8709
- transform: translate3d(-5px, 0, 0);
8710
- }
8711
- 90%,
8712
- 94% {
8713
- -webkit-transform: translate3d(5px, 0, 0);
8714
- transform: translate3d(5px, 0, 0);
8715
- }
8716
- }
8717
-
8718
- @-webkit-keyframes wpr-hotspot-anim-shake {
8719
- 0%,
8720
- 100%,
8721
- 87% {
8722
- -webkit-transform: translate3d(0, 0, 0);
8723
- transform: translate3d(0, 0, 0);
8724
- }
8725
- 88%,
8726
- 92%,
8727
- 96% {
8728
- -webkit-transform: translate3d(-5px, 0, 0);
8729
- transform: translate3d(-5px, 0, 0);
8730
- }
8731
- 90%,
8732
- 94% {
8733
- -webkit-transform: translate3d(5px, 0, 0);
8734
- transform: translate3d(5px, 0, 0);
8735
- }
8736
- }
8737
-
8738
- .wpr-hotspot-anim-shake {
8739
- -webkit-animation-name: wpr-hotspot-anim-shake;
8740
- animation-name: wpr-hotspot-anim-shake;
8741
- -webkit-animation-duration: 5s;
8742
- animation-duration: 5s;
8743
- }
8744
-
8745
- @keyframes wpr-hotspot-anim-swing {
8746
- 0%,
8747
- 100%,
8748
- 70% {
8749
- -webkit-transform: rotate3d(0, 0, 1, 0deg);
8750
- transform: rotate3d(0, 0, 1, 0deg);
8751
- }
8752
- 75% {
8753
- -webkit-transform: rotate3d(0, 0, 1, 15deg);
8754
- transform: rotate3d(0, 0, 1, 15deg);
8755
- }
8756
- 80% {
8757
- -webkit-transform: rotate3d(0, 0, 1, -10deg);
8758
- transform: rotate3d(0, 0, 1, -10deg);
8759
- }
8760
- 85% {
8761
- -webkit-transform: rotate3d(0, 0, 1, 5deg);
8762
- transform: rotate3d(0, 0, 1, 5deg);
8763
- }
8764
- 90% {
8765
- -webkit-transform: rotate3d(0, 0, 1, -5deg);
8766
- transform: rotate3d(0, 0, 1, -5deg);
8767
- }
8768
- }
8769
-
8770
- @-webkit-keyframes wpr-hotspot-anim-swing {
8771
- 0%,
8772
- 100%,
8773
- 70% {
8774
- -webkit-transform: rotate3d(0, 0, 1, 0deg);
8775
- transform: rotate3d(0, 0, 1, 0deg);
8776
- }
8777
- 75% {
8778
- -webkit-transform: rotate3d(0, 0, 1, 15deg);
8779
- transform: rotate3d(0, 0, 1, 15deg);
8780
- }
8781
- 80% {
8782
- -webkit-transform: rotate3d(0, 0, 1, -10deg);
8783
- transform: rotate3d(0, 0, 1, -10deg);
8784
- }
8785
- 85% {
8786
- -webkit-transform: rotate3d(0, 0, 1, 5deg);
8787
- transform: rotate3d(0, 0, 1, 5deg);
8788
- }
8789
- 90% {
8790
- -webkit-transform: rotate3d(0, 0, 1, -5deg);
8791
- transform: rotate3d(0, 0, 1, -5deg);
8792
- }
8793
- }
8794
-
8795
- .wpr-hotspot-anim-swing {
8796
- -webkit-animation-name: wpr-hotspot-anim-swing;
8797
- animation-name: wpr-hotspot-anim-swing;
8798
- -webkit-animation-duration: 5s;
8799
- animation-duration: 5s;
8800
- }
8801
-
8802
- @keyframes wpr-hotspot-anim-tada {
8803
- 0%,
8804
- 100%,
8805
- 84% {
8806
- -webkit-transform: scale3d(1, 1, 1);
8807
- transform: scale3d(1, 1, 1);
8808
- }
8809
- 85% {
8810
- -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
8811
- transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
8812
- }
8813
- 88%,
8814
- 92%,
8815
- 96% {
8816
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
8817
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
8818
- }
8819
- 90%,
8820
- 94% {
8821
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
8822
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
8823
- }
8824
- }
8825
-
8826
- @-webkit-keyframes wpr-hotspot-anim-tada {
8827
- 0%,
8828
- 100%,
8829
- 84% {
8830
- -webkit-transform: scale3d(1, 1, 1);
8831
- transform: scale3d(1, 1, 1);
8832
- }
8833
- 85% {
8834
- -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
8835
- transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
8836
- }
8837
- 88%,
8838
- 92%,
8839
- 96% {
8840
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
8841
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
8842
- }
8843
- 90%,
8844
- 94% {
8845
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
8846
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
8847
- }
8848
- }
8849
-
8850
- .wpr-hotspot-anim-tada {
8851
- -webkit-animation-name: wpr-hotspot-anim-tada;
8852
- animation-name: wpr-hotspot-anim-tada;
8853
- -webkit-animation-duration: 6s;
8854
- animation-duration: 6s;
8855
- }
8856
-
8857
- @keyframes wpr-hotspot-anim-glow {
8858
- 0% {
8859
- -webkit-transform: scale(1);
8860
- transform: scale(1);
8861
- opacity: 1;
8862
- }
8863
- 100% {
8864
- -webkit-transform: scale(1.5);
8865
- transform: scale(1.5);
8866
- opacity: 0;
8867
- }
8868
- }
8869
-
8870
- @-webkit-keyframes wpr-hotspot-anim-glow {
8871
- 0% {
8872
- -webkit-transform: scale(1);
8873
- transform: scale(1);
8874
- opacity: 1;
8875
- }
8876
- 100% {
8877
- -webkit-transform: scale(1.5);
8878
- transform: scale(1.5);
8879
- opacity: 0;
8880
- }
8881
- }
8882
-
8883
- .wpr-hotspot-anim-glow:before {
8884
- content: '';
8885
- display: block;
8886
- position: absolute;
8887
- left: 0;
8888
- top: 0;
8889
- height: 100%;
8890
- width: 100%;
8891
- z-index: -1;
8892
- -webkit-animation-name: wpr-hotspot-anim-glow;
8893
- animation-name: wpr-hotspot-anim-glow;
8894
- -webkit-animation-duration: 2s;
8895
- animation-duration: 2s;
8896
- }
8897
-
8898
-
8899
- /*--------------------------------------------------------------
8900
- == Divider
8901
- --------------------------------------------------------------*/
8902
-
8903
- .wpr-divider-wrap {
8904
- display: inline-block;
8905
- width: 100%;
8906
- overflow: hidden;
8907
- }
8908
-
8909
- .wpr-divider {
8910
- display: -ms-flexbox;
8911
- display: -webkit-box;
8912
- display: flex;
8913
- -webkit-box-align: center;
8914
- -ms-flex-align: center;
8915
- align-items: center;
8916
- }
8917
-
8918
- .wpr-divider-text {
8919
- -webkit-box-flex: 0;
8920
- -ms-flex: 0 1 auto;
8921
- flex: 0 1 auto;
8922
- }
8923
-
8924
- .elementor-widget-wpr-divider .wpr-divider .wpr-divider-text {
8925
- font-size: 21px;
8926
- }
8927
-
8928
- .wpr-divider-border-left,
8929
- .wpr-divider-border-right {
8930
- -webkit-box-flex: 1;
8931
- -ms-flex: 1 1 auto;
8932
- flex: 1 1 auto;
8933
- }
8934
-
8935
- .wpr-divider-border {
8936
- display: block;
8937
- width: 100%;
8938
- height: 1px;
8939
- }
8940
-
8941
- .wpr-divider-align-left .wpr-divider-border-left,
8942
- .wpr-divider-align-right .wpr-divider-border-right {
8943
- display: none;
8944
- }
8945
-
8946
- .wpr-divider-image {
8947
- display: block;
8948
- overflow: hidden;
8949
- }
8950
-
8951
-
8952
- /*--------------------------------------------------------------
8953
- == Business Hours
8954
- --------------------------------------------------------------*/
8955
-
8956
- .wpr-business-hours {
8957
- overflow: hidden;
8958
- }
8959
-
8960
- .wpr-business-hours-item {
8961
- position: relative;
8962
- display: -ms-flexbox;
8963
- display: -webkit-box;
8964
- display: flex;
8965
- -webkit-box-align: center;
8966
- -ms-flex-align: center;
8967
- align-items: center;
8968
- -webkit-transition: all .1s;
8969
- -o-transition: all .1s;
8970
- transition: all .1s;
8971
- }
8972
-
8973
- .wpr-business-day {
8974
- -webkit-box-flex: 1;
8975
- -ms-flex: 1 0 0px;
8976
- flex: 1 0 0;
8977
- text-align: left;
8978
- }
8979
-
8980
- .elementor-widget-wpr-business-hours .wpr-business-hours .wpr-business-day,
8981
- .elementor-widget-wpr-business-hours .wpr-business-hours .wpr-business-time,
8982
- .elementor-widget-wpr-business-hours .wpr-business-hours .wpr-business-closed {
8983
- font-size: 16px;
8984
- font-weight: 500;
8985
- }
8986
-
8987
- .wpr-business-time,
8988
- .wpr-business-closed {
8989
- -webkit-box-flex: 1;
8990
- -ms-flex: 1 0 0px;
8991
- flex: 1 0 0;
8992
- text-align: right;
8993
- }
8994
-
8995
- .wpr-business-hours-item:after {
8996
- content: "";
8997
- display: block;
8998
- position: absolute;
8999
- bottom: 0;
9000
- left: 0;
9001
- width: 100%;
9002
- }
9003
-
9004
- .wpr-business-hours-item:last-of-type:after {
9005
- display: none;
9006
- }
9007
-
9008
-
9009
- /* Defaults */
9010
-
9011
- .elementor-widget-wpr-business-hours .wpr-business-day,
9012
- .elementor-widget-wpr-business-hours .wpr-business-time,
9013
- .elementor-widget-wpr-business-hours .wpr-business-closed {
9014
- font-weight: 500;
9015
- }
9016
-
9017
-
9018
- /*--------------------------------------------------------------
9019
- == Flip Box
9020
- --------------------------------------------------------------*/
9021
-
9022
- .wpr-flip-box {
9023
- position: relative;
9024
- -webkit-transform-style: preserve-3d;
9025
- transform-style: preserve-3d;
9026
- -webkit-transition: all 500ms ease;
9027
- -o-transition: all 500ms ease;
9028
- transition: all 500ms ease;
9029
- -webkit-perspective: 1000px;
9030
- perspective: 1000px;
9031
- }
9032
-
9033
- .wpr-flip-box-item {
9034
- position: absolute;
9035
- top: 0;
9036
- left: 0;
9037
- width: 100%;
9038
- height: 100%;
9039
- }
9040
-
9041
- .wpr-flip-box-front {
9042
- z-index: 5;
9043
- }
9044
-
9045
- .wpr-flip-box[data-trigger="box"] {
9046
- cursor: pointer;
9047
- }
9048
-
9049
- .elementor-widget-wpr-flip-box .wpr-flip-box-front .wpr-flip-box-content .wpr-flip-box-title,
9050
- .elementor-widget-wpr-flip-box .wpr-flip-box-back .wpr-flip-box-content .wpr-flip-box-title {
9051
- font-size: 23px;
9052
- font-weight: 600;
9053
- }
9054
-
9055
- .elementor-widget-wpr-flip-box .wpr-flip-box-front .wpr-flip-box-content .wpr-flip-box-description,
9056
- .elementor-widget-wpr-flip-box .wpr-flip-box-back .wpr-flip-box-content .wpr-flip-box-description {
9057
- font-size: 15px;
9058
- }
9059
-
9060
- .wpr-flip-box-item {
9061
- -webkit-transform-style: preserve-3d;
9062
- transform-style: preserve-3d;
9063
- -webkit-backface-visibility: hidden;
9064
- backface-visibility: hidden;
9065
- -webkit-transition-property: all;
9066
- -o-transition-property: all;
9067
- transition-property: all;
9068
- }
9069
-
9070
- .wpr-flip-box-content {
9071
- display: -moz-flex;
9072
- display: -ms-flex;
9073
- display: -o-flex;
9074
- display: -webkit-box;
9075
- display: -ms-flexbox;
9076
- display: flex;
9077
- width: 100%;
9078
- height: 100%;
9079
- -webkit-box-orient: vertical;
9080
- -webkit-box-direction: normal;
9081
- -ms-flex-direction: column;
9082
- flex-direction: column;
9083
- position: relative;
9084
- z-index: 10;
9085
- }
9086
-
9087
- .wpr-flip-box-overlay {
9088
- position: absolute;
9089
- width: 100%;
9090
- height: 100%;
9091
- top: 0;
9092
- left: 0;
9093
- z-index: 5;
9094
- }
9095
-
9096
- .wpr-flip-box-link {
9097
- display: block;
9098
- position: absolute;
9099
- width: 100%;
9100
- height: 100%;
9101
- top: 0;
9102
- left: 0;
9103
- z-index: 20;
9104
- }
9105
-
9106
- .wpr-flip-box-btn {
9107
- display: inline-table;
9108
- cursor: pointer;
9109
- }
9110
-
9111
- .wpr-flip-box-btn-icon {
9112
- margin-left: 5px;
9113
- }
9114
-
9115
- .wpr-flip-box-btn span {
9116
- position: relative;
9117
- z-index: 2;
9118
- opacity: 1 !important;
9119
- }
9120
-
9121
- .wpr-flip-box-btn:before,
9122
- .wpr-flip-box-btn:after {
9123
- z-index: 1 !important;
9124
- }
9125
-
9126
- .wpr-flip-box-image img {
9127
- display: block;
9128
- width: 100%;
9129
- }
9130
-
9131
- .wpr-flip-box-title a,
9132
- .wpr-flip-box-title a:hover {
9133
- color: inherit;
9134
- }
9135
-
9136
- .wpr-flip-box-front-align-left .wpr-flip-box-front .wpr-flip-box-image img,
9137
- .wpr-flip-box-back-align-left .wpr-flip-box-back .wpr-flip-box-image img {
9138
- float: left;
9139
- }
9140
-
9141
- .wpr-flip-box-front-align-center .wpr-flip-box-front .wpr-flip-box-image img,
9142
- .wpr-flip-box-back-align-center .wpr-flip-box-back .wpr-flip-box-image img {
9143
- margin: 0 auto;
9144
- }
9145
-
9146
- .wpr-flip-box-front-align-right .wpr-flip-box-front .wpr-flip-box-image img,
9147
- .wpr-flip-box-back-align-right .wpr-flip-box-back .wpr-flip-box-image img {
9148
- float: right;
9149
- }
9150
-
9151
-
9152
- /* Flip */
9153
-
9154
- .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-right .wpr-flip-box-back,
9155
- .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-front {
9156
- -webkit-transform: rotateX(0) rotateY(-180deg);
9157
- transform: rotateX(0) rotateY(-180deg);
9158
- }
9159
-
9160
- .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-left .wpr-flip-box-back,
9161
- .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-front {
9162
- -webkit-transform: rotateX(0) rotateY(180deg);
9163
- transform: rotateX(0) rotateY(180deg);
9164
- }
9165
-
9166
- .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-up .wpr-flip-box-back,
9167
- .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-front {
9168
- -webkit-transform: rotateX(-180deg) rotateY(0);
9169
- transform: rotateX(-180deg) rotateY(0);
9170
- }
9171
-
9172
- .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-down .wpr-flip-box-back,
9173
- .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-front {
9174
- -webkit-transform: rotateX(180deg) rotateY(0);
9175
- transform: rotateX(180deg) rotateY(0);
9176
- }
9177
-
9178
- .wpr-flip-box-animation-flip .wpr-flip-box-active .wpr-flip-box-back {
9179
- -webkit-transform: none;
9180
- -ms-transform: none;
9181
- transform: none;
9182
- }
9183
-
9184
-
9185
- /* 3D Flip */
9186
-
9187
- .wpr-flip-box-animation-3d-yes .wpr-flip-box-content {
9188
- -webkit-transform-style: preserve-3d;
9189
- transform-style: preserve-3d;
9190
- -webkit-transform: translateZ(70px) scale(.93);
9191
- transform: translateZ(70px) scale(.93);
9192
- }
9193
-
9194
-
9195
- /* Slide */
9196
-
9197
- .wpr-flip-box-animation-push .wpr-flip-box,
9198
- .wpr-flip-box-animation-slide .wpr-flip-box {
9199
- overflow: hidden;
9200
- }
9201
-
9202
- .wpr-flip-box-animation-push .wpr-flip-box-back,
9203
- .wpr-flip-box-animation-slide .wpr-flip-box-back {
9204
- z-index: 10;
9205
- }
9206
-
9207
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-up .wpr-flip-box-back,
9208
- .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-up .wpr-flip-box-back {
9209
- top: 100%;
9210
- }
9211
-
9212
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-back,
9213
- .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-back {
9214
- top: 0;
9215
- }
9216
-
9217
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-down .wpr-flip-box-back,
9218
- .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-down .wpr-flip-box-back {
9219
- top: auto;
9220
- bottom: 100%;
9221
- }
9222
-
9223
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-back,
9224
- .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-back {
9225
- top: auto;
9226
- bottom: 0;
9227
- }
9228
-
9229
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-left .wpr-flip-box-back,
9230
- .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-left .wpr-flip-box-back {
9231
- left: 100%;
9232
- }
9233
-
9234
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-back,
9235
- .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-back {
9236
- left: 0;
9237
- }
9238
-
9239
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-right .wpr-flip-box-back,
9240
- .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-right .wpr-flip-box-back {
9241
- left: auto;
9242
- right: 100%;
9243
- }
9244
-
9245
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-back,
9246
- .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-back {
9247
- left: auto;
9248
- right: 0;
9249
- }
9250
-
9251
-
9252
- /* Push */
9253
-
9254
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-front {
9255
- top: -100%;
9256
- }
9257
-
9258
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-front {
9259
- top: 100%;
9260
- }
9261
-
9262
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-front {
9263
- left: -100%;
9264
- }
9265
-
9266
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-front {
9267
- left: 100%;
9268
- }
9269
-
9270
-
9271
- /* Fade */
9272
-
9273
- .wpr-flip-box-animation-fade .wpr-flip-box-active .wpr-flip-box-front {
9274
- opacity: 0;
9275
- }
9276
-
9277
-
9278
- /* Zoom In */
9279
-
9280
- .wpr-flip-box-animation-zoom-in .wpr-flip-box-back {
9281
- opacity: 0;
9282
- -webkit-transform: scale(0.9);
9283
- -ms-transform: scale(0.9);
9284
- transform: scale(0.9);
9285
- z-index: 10;
9286
- }
9287
-
9288
- .wpr-flip-box-animation-zoom-in .wpr-flip-box-active .wpr-flip-box-back {
9289
- opacity: 1;
9290
- -webkit-transform: scale(1);
9291
- -ms-transform: scale(1);
9292
- transform: scale(1);
9293
- }
9294
-
9295
-
9296
- /* Zoom Out */
9297
-
9298
- .wpr-flip-box-animation-zoom-out .wpr-flip-box-active .wpr-flip-box-front {
9299
- opacity: 0;
9300
- -webkit-transform: scale(0.9);
9301
- -ms-transform: scale(0.9);
9302
- transform: scale(0.9);
9303
- }
9304
-
9305
-
9306
- /* Defaults */
9307
-
9308
- .elementor-widget-wpr-flip-box .wpr-flip-box-front {
9309
- background-color: #605BE5;
9310
- }
9311
-
9312
- .elementor-widget-wpr-flip-box .wpr-flip-box-back {
9313
- background-color: #FF348B;
9314
- }
9315
-
9316
-
9317
- /*--------------------------------------------------------------
9318
- == Promo Box
9319
- --------------------------------------------------------------*/
9320
-
9321
- .wpr-promo-box {
9322
- display: -moz-flex;
9323
- display: -ms-flex;
9324
- display: -o-flex;
9325
- display: -webkit-box;
9326
- display: -ms-flexbox;
9327
- display: flex;
9328
- position: relative;
9329
- }
9330
-
9331
- .wpr-promo-box-image {
9332
- position: relative;
9333
- overflow: hidden;
9334
- }
9335
-
9336
- .wpr-promo-box-style-cover .wpr-promo-box-image,
9337
- .wpr-promo-box-style-pro-cs .wpr-promo-box-image {
9338
- position: absolute;
9339
- top: 0;
9340
- left: 0;
9341
- height: 100%;
9342
- width: 100%;
9343
- }
9344
-
9345
- .wpr-promo-box-bg-image {
9346
- position: absolute;
9347
- top: 0;
9348
- left: 0;
9349
- height: 100%;
9350
- width: 100%;
9351
- z-index: 10;
9352
- background-size: cover;
9353
- background-position: 50%;
9354
- }
9355
-
9356
- .wpr-promo-box-bg-overlay {
9357
- position: absolute;
9358
- top: 0;
9359
- left: 0;
9360
- height: 100%;
9361
- width: 100%;
9362
- z-index: 15;
9363
- -webkit-transition-property: all;
9364
- -o-transition-property: all;
9365
- transition-property: all;
9366
- }
9367
-
9368
- .wpr-promo-box-content {
9369
- position: relative;
9370
- z-index: 20;
9371
- width: 100%;
9372
- display: -moz-flex;
9373
- display: -ms-flex;
9374
- display: -o-flex;
9375
- display: -webkit-box;
9376
- display: -ms-flexbox;
9377
- display: flex;
9378
- -webkit-box-orient: vertical;
9379
- -webkit-box-direction: normal;
9380
- -ms-flex-direction: column;
9381
- flex-direction: column;
9382
- overflow: hidden;
9383
- }
9384
-
9385
- .elementor-widget-wpr-promo-box.wpr-promo-box-style-classic .wpr-promo-box-content {
9386
- background-color: #212121;
9387
- }
9388
-
9389
- .elementor-widget-wpr-promo-box.wpr-promo-box-style-classic .wpr-promo-box:hover .wpr-promo-box-content {
9390
- background-color: #ddb34f;
9391
- }
9392
-
9393
- .wpr-promo-box-image-position-right .wpr-promo-box {
9394
- -webkit-box-orient: horizontal;
9395
- -webkit-box-direction: reverse;
9396
- -ms-flex-direction: row-reverse;
9397
- flex-direction: row-reverse;
9398
- }
9399
-
9400
- .wpr-promo-box-image-position-center .wpr-promo-box {
9401
- -webkit-box-orient: vertical;
9402
- -webkit-box-direction: normal;
9403
- -ms-flex-direction: column;
9404
- flex-direction: column;
9405
- }
9406
-
9407
- @media screen and (max-width: 640px) {
9408
- .wpr-promo-box-style-classic .wpr-promo-box {
9409
- -webkit-box-orient: vertical;
9410
- -webkit-box-direction: normal;
9411
- -ms-flex-direction: column;
9412
- flex-direction: column;
9413
- }
9414
- .wpr-promo-box-style-classic .wpr-promo-box-image {
9415
- min-width: auto !important;
9416
- }
9417
- }
9418
-
9419
- .wpr-promo-box-link {
9420
- display: block;
9421
- position: absolute;
9422
- width: 100%;
9423
- height: 100%;
9424
- top: 0;
9425
- left: 0;
9426
- z-index: 40;
9427
- }
9428
-
9429
- .wpr-promo-box-btn {
9430
- display: inline-block;
9431
- }
9432
-
9433
- .wpr-promo-box-icon,
9434
- .wpr-promo-box-title,
9435
- .wpr-promo-box-description,
9436
- .wpr-promo-box-btn-wrap {
9437
- width: 100%;
9438
- }
9439
-
9440
- .wpr-promo-box-btn-icon {
9441
- margin-left: 5px;
9442
- }
9443
-
9444
- .wpr-promo-box-icon img {
9445
- display: inline-block;
9446
- }
9447
-
9448
- .elementor .elementor-widget-wpr-promo-box .wpr-promo-box:hover .wpr-promo-box-bg-image {
9449
- -webkit-filter: brightness( 100%) contrast( 100%) saturate( 100%) hue-rotate( 0deg);
9450
- filter: brightness( 100%) contrast( 100%) saturate( 100%) hue-rotate( 0deg);
9451
- }
9452
-
9453
-
9454
- /* Promo box Badge */
9455
- .wpr-promo-box-badge {
9456
- position: absolute;
9457
- display: inline-block;
9458
- text-align: center;
9459
- z-index: 35;
9460
- }
9461
-
9462
- .wpr-promo-box-badge-left {
9463
- left: 0;
9464
- right: auto;
9465
- }
9466
-
9467
- .wpr-promo-box-badge-right {
9468
- left: auto;
9469
- right: 0;
9470
- }
9471
-
9472
- .wpr-promo-box-badge-corner {
9473
- top: 0;
9474
- width: 200px;
9475
- height: 200px;
9476
- overflow: hidden;
9477
- }
9478
-
9479
- .wpr-promo-box-badge-corner .wpr-promo-box-badge-inner {
9480
- width: 200%;
9481
- }
9482
-
9483
- .wpr-promo-box-badge-corner.wpr-promo-box-badge-right {
9484
- -webkit-transform: rotate(90deg);
9485
- -ms-transform: rotate(90deg);
9486
- transform: rotate(90deg);
9487
- }
9488
-
9489
- .wpr-promo-box-badge-cyrcle {
9490
- top: 0;
9491
- }
9492
-
9493
- .wpr-promo-box-badge-cyrcle.wpr-promo-box-badge-left {
9494
- -webkit-transform: translateX(-40%) translateY(-40%);
9495
- -ms-transform: translateX(-40%) translateY(-40%);
9496
- transform: translateX(-40%) translateY(-40%);
9497
- }
9498
-
9499
- .wpr-promo-box-badge-cyrcle.wpr-promo-box-badge-right {
9500
- -webkit-transform: translateX(40%) translateY(-40%);
9501
- -ms-transform: translateX(40%) translateY(-40%);
9502
- transform: translateX(40%) translateY(-40%);
9503
- }
9504
-
9505
- .wpr-promo-box-badge-cyrcle .wpr-promo-box-badge-inner {
9506
- border-radius: 100%;
9507
- }
9508
-
9509
- .wpr-promo-box-badge-flag {
9510
- border-right: 5px;
9511
- }
9512
-
9513
- .wpr-promo-box-badge-flag.wpr-promo-box-badge-left {
9514
- margin-left: -10px;
9515
- }
9516
-
9517
- .wpr-promo-box-badge-flag.wpr-promo-box-badge-right {
9518
- margin-right: -10px;
9519
- }
9520
-
9521
- .wpr-promo-box-badge-flag:before {
9522
- content: "";
9523
- position: absolute;
9524
- z-index: 1;
9525
- bottom: -5px;
9526
- width: 0;
9527
- height: 0;
9528
- margin-left: -10px;
9529
- border-left: 10px solid transparent;
9530
- border-right: 10px solid transparent;
9531
- border-top-style: solid;
9532
- border-top-width: 10px;
9533
- }
9534
-
9535
- .wpr-promo-box-badge-flag .wpr-promo-box-badge-inner {
9536
- position: relative;
9537
- z-index: 2;
9538
- border-top-left-radius: 3px;
9539
- border-top-right-radius: 3px;
9540
- }
9541
-
9542
- .wpr-promo-box-badge-flag.wpr-promo-box-badge-left:before {
9543
- left: 5px;
9544
- -webkit-transform: rotate(90deg);
9545
- -ms-transform: rotate(90deg);
9546
- transform: rotate(90deg);
9547
- }
9548
-
9549
- .wpr-promo-box-badge-flag.wpr-promo-box-badge-right:before {
9550
- right: -5px;
9551
- -webkit-transform: rotate(-90deg);
9552
- -ms-transform: rotate(-90deg);
9553
- transform: rotate(-90deg);
9554
- }
9555
-
9556
- .wpr-promo-box-badge-flag.wpr-promo-box-badge-left .wpr-promo-box-badge-inner {
9557
- border-bottom-right-radius: 3px;
9558
- }
9559
-
9560
- .wpr-promo-box-badge-flag.wpr-promo-box-badge-right .wpr-promo-box-badge-inner {
9561
- border-bottom-left-radius: 3px;
9562
- }
9563
-
9564
-
9565
- /* Defaults */
9566
- .elementor-widget-wpr-promo-box .wpr-promo-box-title {
9567
- font-size: 24px;
9568
- font-weight: 600;
9569
- }
9570
-
9571
- .elementor-widget-wpr-promo-box .wpr-promo-box-description {
9572
- font-size: 15px;
9573
- }
9574
-
9575
- .elementor-widget-wpr-promo-box .wpr-promo-box-btn,
9576
- .elementor-widget-wpr-promo-box .wpr-promo-box-badge {
9577
- font-size: 14px;
9578
- }
9579
-
9580
- .elementor-widget-wpr-promo-box .wpr-promo-box-badge .wpr-promo-box-badge-inner {
9581
- font-size: 14px;
9582
- font-weight: 600;
9583
- text-transform: uppercase;
9584
- letter-spacing: 0.4px;
9585
- }
9586
-
9587
- .elementor-widget-wpr-promo-box .wpr-promo-box-badge-corner .wpr-promo-box-badge-inner {
9588
- line-height: 1.6;
9589
- }
9590
-
9591
-
9592
- /*--------------------------------------------------------------
9593
- == Content Ticker
9594
- --------------------------------------------------------------*/
9595
-
9596
- .wpr-content-ticker {
9597
- display: -moz-flex;
9598
- display: -ms-flex;
9599
- display: -o-flex;
9600
- display: -webkit-box;
9601
- display: -ms-flexbox;
9602
- display: flex;
9603
- overflow: hidden;
9604
- }
9605
-
9606
- .wpr-content-ticker-inner {
9607
- display: -moz-flex;
9608
- display: -ms-flex;
9609
- display: -o-flex;
9610
- display: -webkit-box;
9611
- display: -ms-flexbox;
9612
- display: flex;
9613
- -webkit-box-orient: horizontal;
9614
- -webkit-box-direction: normal;
9615
- -ms-flex-direction: row;
9616
- flex-direction: row;
9617
- -webkit-box-align: center;
9618
- -ms-flex-align: center;
9619
- align-items: center;
9620
- position: relative;
9621
- z-index: 20;
9622
- width: 100%;
9623
- overflow: hidden;
9624
- }
9625
-
9626
- .wpr-ticker-arrow-position-left .wpr-content-ticker-inner {
9627
- -webkit-box-orient: horizontal;
9628
- -webkit-box-direction: reverse;
9629
- -ms-flex-direction: row-reverse;
9630
- flex-direction: row-reverse;
9631
- }
9632
-
9633
-
9634
- /* Gradient */
9635
- .wpr-ticker-gradient-type-both .wpr-ticker-gradient:before,
9636
- .wpr-ticker-gradient-type-left .wpr-ticker-gradient:before {
9637
- content: "";
9638
- position: absolute;
9639
- bottom: 0;
9640
- top: 0;
9641
- left: 0;
9642
- width: 40px;
9643
- z-index: 20;
9644
- }
9645
-
9646
- .wpr-ticker-gradient-type-both .wpr-ticker-gradient:after,
9647
- .wpr-ticker-gradient-type-right .wpr-ticker-gradient:after {
9648
- content: "";
9649
- position: absolute;
9650
- bottom: 0;
9651
- top: 0;
9652
- right: 0;
9653
- width: 40px;
9654
- z-index: 20;
9655
- }
9656
-
9657
- .wpr-ticker-arrow-position-left .wpr-ticker-slider-controls {
9658
- margin-right: 20px;
9659
- }
9660
-
9661
- .wpr-ticker-arrow-position-right .wpr-ticker-slider-controls {
9662
- margin-left: 20px;
9663
- }
9664
-
9665
- .wpr-ticker-slider {
9666
- position: relative;
9667
- width: 100%;
9668
- overflow: hidden;
9669
- }
9670
-
9671
- .wpr-ticker-heading-position-right .wpr-content-ticker {
9672
- -webkit-box-orient: horizontal;
9673
- -webkit-box-direction: reverse;
9674
- -ms-flex-direction: row-reverse;
9675
- flex-direction: row-reverse;
9676
- }
9677
-
9678
-
9679
- /* Content */
9680
- .wpr-ticker-title {
9681
- display: -webkit-box;
9682
- display: -ms-flexbox;
9683
- display: flex;
9684
- -webkit-align-items: center;
9685
- overflow: hidden;
9686
- -webkit-transition-property: all;
9687
- -o-transition-property: all;
9688
- transition-property: all;
9689
- -webkit-transition-timing-function: ease-in-out;
9690
- -o-transition-timing-function: ease-in-out;
9691
- transition-timing-function: ease-in-out;
9692
- -webkit-transition-duration: 200ms;
9693
- -o-transition-duration: 200ms;
9694
- transition-duration: 200ms;
9695
- margin: 0;
9696
- }
9697
-
9698
- .wpr-ticker-title a,
9699
- .wpr-ticker-title:hover a {
9700
- color: inherit;
9701
- }
9702
-
9703
- .elementor-widget-wpr-content-ticker .wpr-ticker-item .wpr-ticker-title {
9704
- font-size: 14px;
9705
- }
9706
-
9707
- .wpr-ticker-title-inner {
9708
- -o-text-overflow: ellipsis;
9709
- text-overflow: ellipsis;
9710
- white-space: nowrap;
9711
- overflow: hidden;
9712
- display: inline;
9713
- }
9714
-
9715
-
9716
- /* Heading */
9717
- .wpr-ticker-heading {
9718
- display: -webkit-box;
9719
- display: -ms-flexbox;
9720
- display: flex;
9721
- -webkit-box-align: center;
9722
- -ms-flex-align: center;
9723
- align-items: center;
9724
- position: relative;
9725
- z-index: 25;
9726
- -webkit-transition-property: all;
9727
- -o-transition-property: all;
9728
- transition-property: all;
9729
- -webkit-transition-timing-function: ease-in-out;
9730
- -o-transition-timing-function: ease-in-out;
9731
- transition-timing-function: ease-in-out;
9732
- }
9733
-
9734
- .wpr-ticker-heading-icon-position-left .wpr-ticker-heading {
9735
- -webkit-box-orient: horizontal;
9736
- -webkit-box-direction: reverse;
9737
- -ms-flex-direction: row-reverse;
9738
- flex-direction: row-reverse;
9739
- }
9740
-
9741
- .elementor-widget-wpr-content-ticker .wpr-content-ticker .wpr-ticker-heading {
9742
- font-size: 14px;
9743
- }
9744
-
9745
-
9746
- /* Triangle */
9747
- .wpr-ticker-heading-triangle-middle .wpr-ticker-heading:before {
9748
- content: "";
9749
- position: absolute;
9750
- width: 0;
9751
- height: 0;
9752
- background: transparent !important;
9753
- border-bottom-color: transparent;
9754
- border-top-color: transparent;
9755
- border-right-style: solid;
9756
- border-bottom-style: solid;
9757
- border-top-style: solid;
9758
- border-width: 10px;
9759
- top: 50%;
9760
- -webkit-transition-property: inherit;
9761
- -o-transition-property: inherit;
9762
- transition-property: inherit;
9763
- -webkit-transition-timing-function: inherit;
9764
- -o-transition-timing-function: inherit;
9765
- transition-timing-function: inherit;
9766
- -webkit-transition-duration: inherit;
9767
- -o-transition-duration: inherit;
9768
- transition-duration: inherit;
9769
- }
9770
-
9771
- .wpr-ticker-heading-triangle-top .wpr-ticker-heading:before,
9772
- .wpr-ticker-heading-triangle-bottom .wpr-ticker-heading:before {
9773
- content: "";
9774
- position: absolute;
9775
- top: 0;
9776
- bottom: 0;
9777
- width: 100%;
9778
- z-index: 1;
9779
- -webkit-transition-property: inherit;
9780
- -o-transition-property: inherit;
9781
- transition-property: inherit;
9782
- -webkit-transition-timing-function: inherit;
9783
- -o-transition-timing-function: inherit;
9784
- transition-timing-function: inherit;
9785
- -webkit-transition-duration: inherit;
9786
- -o-transition-duration: inherit;
9787
- transition-duration: inherit;
9788
- }
9789
-
9790
- .wpr-ticker-heading-text,
9791
- .wpr-ticker-heading-icon {
9792
- position: relative;
9793
- z-index: 20;
9794
- -webkit-transition-property: inherit;
9795
- -o-transition-property: inherit;
9796
- transition-property: inherit;
9797
- -webkit-transition-timing-function: inherit;
9798
- -o-transition-timing-function: inherit;
9799
- transition-timing-function: inherit;
9800
- -webkit-transition-duration: inherit;
9801
- -o-transition-duration: inherit;
9802
- transition-duration: inherit;
9803
- }
9804
-
9805
- .wpr-ticker-heading-triangle-top .wpr-ticker-heading:before {
9806
- -ms-transform: skew(20deg);
9807
- transform: skew(20deg);
9808
- -webkit-transform: skew(20deg);
9809
- }
9810
-
9811
- .wpr-ticker-heading-triangle-bottom .wpr-ticker-heading:before {
9812
- -ms-transform: skew(-20deg);
9813
- transform: skew(-20deg);
9814
- -webkit-transform: skew(-20deg);
9815
- }
9816
-
9817
- .wpr-ticker-heading-position-left.wpr-ticker-heading-triangle-middle .wpr-ticker-heading:before {
9818
- -webkit-transform: translateY(-50%) rotate(180deg);
9819
- -ms-transform: translateY(-50%) rotate(180deg);
9820
- transform: translateY(-50%) rotate(180deg);
9821
- }
9822
-
9823
- .wpr-ticker-heading-position-right.wpr-ticker-heading-triangle-middle .wpr-ticker-heading:before {
9824
- -webkit-transform: translateY(-50%);
9825
- -ms-transform: translateY(-50%);
9826
- transform: translateY(-50%);
9827
- }
9828
-
9829
-
9830
- /* Ticker Navigation */
9831
-
9832
- .wpr-ticker-slider-controls {
9833
- display: -moz-flex;
9834
- display: -ms-flex;
9835
- display: -o-flex;
9836
- display: -webkit-box;
9837
- display: -ms-flexbox;
9838
- display: flex;
9839
- }
9840
-
9841
- .wpr-ticker-arrow-style-vertical .wpr-ticker-slider-controls {
9842
- -webkit-box-orient: vertical;
9843
- -webkit-box-direction: normal;
9844
- -ms-flex-direction: column;
9845
- flex-direction: column;
9846
- }
9847
-
9848
- .wpr-ticker-arrow-style-horizontal .wpr-ticker-slider-controls {
9849
- -webkit-box-orient: horizontal;
9850
- -webkit-box-direction: normal;
9851
- -ms-flex-direction: row;
9852
- flex-direction: row;
9853
- }
9854
-
9855
- .wpr-ticker-arrow {
9856
- -webkit-box-sizing: content-box;
9857
- box-sizing: content-box;
9858
- text-align: center;
9859
- -webkit-transition: all .5s;
9860
- -o-transition: all .5s;
9861
- transition: all .5s;
9862
- cursor: pointer;
9863
- }
9864
-
9865
- .wpr-ticker-arrow i {
9866
- display: block;
9867
- width: 100%;
9868
- height: 100%;
9869
- line-height: inherit;
9870
- }
9871
-
9872
- .wpr-ticker-next-arrow {
9873
- -webkit-transform: rotate(180deg);
9874
- -ms-transform: rotate(180deg);
9875
- transform: rotate(180deg);
9876
- }
9877
-
9878
- .wpr-content-ticker-inner .wpr-ticker-item {
9879
- display: -moz-flex !important;
9880
- display: -ms-flex !important;
9881
- display: -o-flex !important;
9882
- display: -webkit-box !important;
9883
- display: -ms-flexbox !important;
9884
- display: flex !important;
9885
- -webkit-box-align: center !important;
9886
- -ms-flex-align: center !important;
9887
- align-items: center;
9888
- position: relative;
9889
- overflow: hidden;
9890
- }
9891
-
9892
- .wpr-ticker-marquee {
9893
- overflow: hidden;
9894
- }
9895
-
9896
- .wpr-ticker-marquee .js-marquee {
9897
- display: -moz-flex;
9898
- display: -ms-flex;
9899
- display: -o-flex;
9900
- display: -webkit-box;
9901
- display: -ms-flexbox;
9902
- display: flex;
9903
- }
9904
-
9905
- .wpr-ticker-arrow-style-vertical .wpr-ticker-slider .wpr-ticker-item {
9906
- margin: 1px 0;
9907
- }
9908
-
9909
- .wpr-ticker-image {
9910
- margin-right: 10px;
9911
- }
9912
-
9913
- .wpr-ticker-link {
9914
- display: block;
9915
- position: absolute;
9916
- width: 100%;
9917
- height: 100%;
9918
- top: 0;
9919
- left: 0;
9920
- z-index: 20;
9921
- }
9922
-
9923
-
9924
- /* Flash Circle */
9925
-
9926
- .wpr-ticker-icon-circle {
9927
- display: block;
9928
- border-radius: 50%;
9929
- -webkit-border-radius: 50%;
9930
- z-index: 5;
9931
- -webkit-transition-property: inherit;
9932
- -o-transition-property: inherit;
9933
- transition-property: inherit;
9934
- -webkit-transition-timing-function: inherit;
9935
- -o-transition-timing-function: inherit;
9936
- transition-timing-function: inherit;
9937
- -webkit-transition-duration: inherit;
9938
- -o-transition-duration: inherit;
9939
- transition-duration: inherit;
9940
- }
9941
-
9942
- .wpr-ticker-icon-circle:before,
9943
- .wpr-ticker-icon-circle:after {
9944
- content: "";
9945
- position: absolute;
9946
- top: 50%;
9947
- left: 50%;
9948
- -webkit-animation-name: wpr-ticker-icon-blink;
9949
- animation-name: wpr-ticker-icon-blink;
9950
- -webkit-animation-duration: 2s;
9951
- animation-duration: 2s;
9952
- -webkit-animation-iteration-count: infinite;
9953
- animation-iteration-count: infinite;
9954
- border-radius: 50%;
9955
- border-width: 1px;
9956
- border-style: solid;
9957
- -webkit-border-radius: 50%;
9958
- -moz-border-radius: 50%;
9959
- -webkit-transition-property: inherit;
9960
- -o-transition-property: inherit;
9961
- transition-property: inherit;
9962
- -webkit-transition-timing-function: inherit;
9963
- -o-transition-timing-function: inherit;
9964
- transition-timing-function: inherit;
9965
- -webkit-transition-duration: inherit;
9966
- -o-transition-duration: inherit;
9967
- transition-duration: inherit;
9968
- }
9969
-
9970
- .wpr-ticker-icon-circle:after {
9971
- -webkit-animation-delay: 1s;
9972
- animation-delay: 1s;
9973
- }
9974
-
9975
- @-webkit-keyframes wpr-ticker-icon-blink {
9976
- 0% {
9977
- -webkit-transform: scale(1, 1);
9978
- transform: scale(1, 1)
9979
- }
9980
- 100% {
9981
- -webkit-transform: scale(3, 3);
9982
- transform: scale(3, 3);
9983
- opacity: 0
9984
- }
9985
- }
9986
-
9987
- @keyframes wpr-ticker-icon-blink {
9988
- 0% {
9989
- -webkit-transform: scale(1, 1);
9990
- transform: scale(1, 1)
9991
- }
9992
- 100% {
9993
- -webkit-transform: scale(3, 3);
9994
- transform: scale(3, 3);
9995
- opacity: 0
9996
- }
9997
- }
9998
-
9999
-
10000
- /*--------------------------------------------------------------
10001
- == Tabs
10002
- --------------------------------------------------------------*/
10003
-
10004
- .wpr-tabs {
10005
- display: -moz-flex;
10006
- display: -ms-flex;
10007
- display: -o-flex;
10008
- display: -webkit-box;
10009
- display: -ms-flexbox;
10010
- display: flex;
10011
- }
10012
-
10013
- .wpr-tabs-position-above>.elementor-widget-container>.wpr-tabs {
10014
- -webkit-box-orient: vertical;
10015
- -webkit-box-direction: normal;
10016
- -ms-flex-direction: column;
10017
- flex-direction: column;
10018
- }
10019
-
10020
- .wpr-tabs-position-left>.elementor-widget-container>.wpr-tabs {
10021
- -webkit-box-orient: horizontal;
10022
- -webkit-box-direction: normal;
10023
- -ms-flex-direction: row;
10024
- flex-direction: row;
10025
- }
10026
-
10027
- .wpr-tabs-position-right>.elementor-widget-container>.wpr-tabs {
10028
- -webkit-box-orient: horizontal;
10029
- -webkit-box-direction: reverse;
10030
- -ms-flex-direction: row-reverse;
10031
- flex-direction: row-reverse;
10032
- }
10033
-
10034
- .wpr-tabs-wrap {
10035
- display: -moz-flex;
10036
- display: -ms-flex;
10037
- display: -o-flex;
10038
- display: -webkit-box;
10039
- display: -ms-flexbox;
10040
- display: flex;
10041
- -ms-flex-wrap: wrap;
10042
- flex-wrap: wrap;
10043
- -webkit-box-align: end;
10044
- -ms-flex-align: end;
10045
- align-items: flex-end;
10046
- }
10047
-
10048
- .wpr-tabs-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap,
10049
- .wpr-tabs-position-right>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap {
10050
- -webkit-box-orient: vertical;
10051
- -webkit-box-direction: normal;
10052
- -ms-flex-direction: column;
10053
- flex-direction: column;
10054
- }
10055
-
10056
-
10057
- /* Tabs Position */
10058
-
10059
- .wpr-tabs-hr-position-center>.elementor-widget-container>.wpr-tabs {
10060
- -webkit-box-align: center;
10061
- -ms-flex-align: center;
10062
- align-items: center;
10063
- }
10064
-
10065
- .wpr-tabs-hr-position-left>.elementor-widget-container>.wpr-tabs {
10066
- -webkit-box-align: start;
10067
- -ms-flex-align: start;
10068
- align-items: flex-start;
10069
- }
10070
-
10071
- .wpr-tabs-hr-position-right>.elementor-widget-container>.wpr-tabs {
10072
- -webkit-box-align: end;
10073
- -ms-flex-align: end;
10074
- align-items: flex-end;
10075
- }
10076
-
10077
- .wpr-tabs-hr-position-justify>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab,
10078
- .elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab {
10079
- -webkit-box-flex: 1;
10080
- -ms-flex-positive: 1;
10081
- flex-grow: 1;
10082
- -ms-flex-preferred-size: 0;
10083
- flex-basis: 0;
10084
- }
10085
-
10086
- .wpr-tab {
10087
- position: relative;
10088
- z-index: 25;
10089
- display: -moz-flex;
10090
- display: -ms-flex;
10091
- display: -o-flex;
10092
- display: -webkit-box;
10093
- display: -ms-flexbox;
10094
- display: flex;
10095
- -webkit-box-align: center;
10096
- -ms-flex-align: center;
10097
- align-items: center;
10098
- cursor: pointer;
10099
- }
10100
-
10101
- .wpr-tab,
10102
- .wpr-tab-icon,
10103
- .wpr-tab-image,
10104
- .wpr-tab-title {
10105
- -webkit-transition-property: all;
10106
- -o-transition-property: all;
10107
- transition-property: all;
10108
- }
10109
-
10110
- .wpr-tab-icon,
10111
- .wpr-tab-icon i,
10112
- .wpr-tab-image,
10113
- .wpr-tab-title {
10114
- -webkit-transition-duration: inherit;
10115
- -o-transition-duration: inherit;
10116
- transition-duration: inherit;
10117
- }
10118
-
10119
- .elementor-element.elementor-widget-wpr-tabs>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab.wpr-tab-active .wpr-tab-title,
10120
- .elementor-element.elementor-widget-wpr-tabs>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:hover .wpr-tab-title,
10121
- .elementor-element.elementor-widget-wpr-tabs>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab .wpr-tab-title {
10122
- font-size: 15px;
10123
- font-weight: 500;
10124
- }
10125
-
10126
-
10127
- /* Tab Content */
10128
-
10129
- .wpr-tabs-content-wrap {
10130
- position: relative;
10131
- width: 100%;
10132
- -webkit-transition-property: height;
10133
- -o-transition-property: height;
10134
- transition-property: height;
10135
- -webkit-transition-timing-function: cubic-bezier(0.5, 0.9, 0.6, 0.95);
10136
- -o-transition-timing-function: cubic-bezier(0.5, 0.9, 0.6, 0.95);
10137
- transition-timing-function: cubic-bezier(0.5, 0.9, 0.6, 0.95);
10138
- -webkit-transition-duration: 0.5s;
10139
- -o-transition-duration: 0.5s;
10140
- transition-duration: 0.5s;
10141
- z-index: 1;
10142
- overflow: hidden;
10143
- }
10144
-
10145
- .wpr-tab-content {
10146
- position: absolute;
10147
- width: 100%;
10148
- top: 0;
10149
- left: 0;
10150
- z-index: 1;
10151
- }
10152
-
10153
- .elementor-element.elementor-widget-wpr-tabs>.elementor-widget-container>.wpr-tabs>.wpr-tabs-content-wrap>.wpr-tab-content {
10154
- font-size: 14px;
10155
- }
10156
-
10157
- .wpr-tab-content-active {
10158
- position: relative;
10159
- z-index: 100;
10160
- }
10161
-
10162
- .wpr-tab-content-inner {
10163
- opacity: 0;
10164
- }
10165
-
10166
- .wpr-tab-content-active .wpr-tab-content-inner.wpr-overlay-none {
10167
- opacity: 1;
10168
- }
10169
-
10170
-
10171
- /* Tab Icon */
10172
-
10173
- .wpr-tabs-icon-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab .wpr-tab-image,
10174
- .wpr-tabs-icon-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab .wpr-tab-icon {
10175
- -webkit-box-ordinal-group: 2;
10176
- -ms-flex-order: 1;
10177
- order: 1;
10178
- }
10179
-
10180
- .wpr-tabs-icon-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab .wpr-tab-title {
10181
- -webkit-box-ordinal-group: 3;
10182
- -ms-flex-order: 2;
10183
- order: 2;
10184
- }
10185
-
10186
- .wpr-tabs-icon-position-center>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab {
10187
- -webkit-box-orient: vertical;
10188
- -webkit-box-direction: reverse;
10189
- -ms-flex-direction: column-reverse;
10190
- flex-direction: column-reverse;
10191
- }
10192
-
10193
-
10194
- /* Triangle */
10195
-
10196
- .wpr-tabs-triangle-yes>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before {
10197
- content: "";
10198
- position: absolute;
10199
- width: 0;
10200
- height: 0;
10201
- -webkit-transition-property: border-color;
10202
- -o-transition-property: border-color;
10203
- transition-property: border-color;
10204
- -webkit-transition-timing-function: ease-in;
10205
- -o-transition-timing-function: ease-in;
10206
- transition-timing-function: ease-in;
10207
- opacity: 0;
10208
- visibility: hidden;
10209
- z-index: 110;
10210
- }
10211
-
10212
- .wpr-tabs-triangle-yes>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab-active.wpr-tab:before {
10213
- opacity: 1;
10214
- visibility: visible;
10215
- }
10216
-
10217
- .wpr-tabs-position-above>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before {
10218
- border-left-color: transparent;
10219
- border-right-color: transparent;
10220
- border-top-color: white;
10221
- border-top-style: solid;
10222
- border-left-style: solid;
10223
- border-right-style: solid;
10224
- }
10225
-
10226
- .wpr-tabs-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before,
10227
- .wpr-tabs-position-right>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before {
10228
- border-bottom-color: transparent;
10229
- border-top-color: transparent;
10230
- border-right-style: solid;
10231
- border-bottom-style: solid;
10232
- border-top-style: solid;
10233
- }
10234
-
10235
-
10236
- /* Triangle Position */
10237
-
10238
- .wpr-tabs-position-above.wpr-tabs-triangle-type-outer.wpr-tabs-position-above>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before {
10239
- left: 50%;
10240
- -ms-transform: translateX(-50%);
10241
- transform: translateX(-50%);
10242
- -webkit-transform: translateX(-50%);
10243
- }
10244
-
10245
- .wpr-tabs-position-above.wpr-tabs-triangle-type-inner.wpr-tabs-position-above>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before {
10246
- left: 50%;
10247
- -ms-transform: translateX(-50%) rotate(180deg);
10248
- transform: translateX(-50%) rotate(180deg);
10249
- -webkit-transform: translateX(-50%) rotate(180deg);
10250
- bottom: -1px;
10251
- }
10252
-
10253
- .wpr-tabs-position-left.wpr-tabs-triangle-type-outer>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before,
10254
- .wpr-tabs-position-right.wpr-tabs-triangle-type-inner>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before {
10255
- top: 50%;
10256
- -ms-transform: translateY(-50%) rotate(180deg);
10257
- transform: translateY(-50%) rotate(180deg);
10258
- -webkit-transform: translateY(-50%) rotate(180deg);
10259
- }
10260
-
10261
- .wpr-tabs-position-right.wpr-tabs-triangle-type-outer>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before,
10262
- .wpr-tabs-position-left.wpr-tabs-triangle-type-inner>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before {
10263
- top: 50%;
10264
- -ms-transform: translateY(-50%);
10265
- transform: translateY(-50%);
10266
- -webkit-transform: translateY(-50%);
10267
- }
10268
-
10269
- .wpr-tabs-position-left.wpr-tabs-triangle-type-inner>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before {
10270
- right: 0;
10271
- }
10272
-
10273
- .wpr-tabs-position-right.wpr-tabs-triangle-type-inner>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before {
10274
- left: 0;
10275
- }
10276
-
10277
-
10278
- /* Ticker Typing Effect */
10279
-
10280
- .wpr-ticker-effect-typing .wpr-ticker-title:after {
10281
- display: inline-block;
10282
- vertical-align: top;
10283
- opacity: 1;
10284
- color: inherit;
10285
- margin-left: 2px;
10286
- }
10287
-
10288
- .wpr-ticker-effect-typing .slick-current .wpr-ticker-title:after {
10289
- -webkit-animation-name: wpr-cursor-blink;
10290
- animation-name: wpr-cursor-blink;
10291
- -webkit-animation-iteration-count: infinite;
10292
- animation-iteration-count: infinite;
10293
- -webkit-animation-duration: 0.5s;
10294
- animation-duration: 0.5s;
10295
- }
10296
-
10297
- .wpr-ticker-effect-typing .slick-current .wpr-ticker-title-inner {
10298
- display: -webkit-inline-box;
10299
- display: -ms-inline-flexbox;
10300
- display: inline-flex;
10301
- -webkit-animation: wpr-ticker-typing 1s steps(30, end);
10302
- animation: wpr-ticker-typing 1s steps(30, end);
10303
- overflow: hidden;
10304
- }
10305
-
10306
- @-webkit-keyframes wpr-ticker-typing {
10307
- from {
10308
- width: 0;
10309
- }
10310
- to {
10311
- width: 100%;
10312
- }
10313
- }
10314
-
10315
- @keyframes wpr-ticker-typing {
10316
- from {
10317
- width: 0;
10318
- }
10319
- to {
10320
- width: 100%;
10321
- }
10322
- }
10323
-
10324
-
10325
- /*--------------------------------------------------------------
10326
- == Content Toggle
10327
- --------------------------------------------------------------*/
10328
-
10329
- .wpr-switcher-container {
10330
- display: -moz-flex;
10331
- display: -ms-flex;
10332
- display: -o-flex;
10333
- display: -webkit-box;
10334
- display: -ms-flexbox;
10335
- display: flex;
10336
- -webkit-box-align: center;
10337
- -ms-flex-align: center;
10338
- align-items: center;
10339
- -webkit-box-pack: center;
10340
- -ms-flex-pack: center;
10341
- justify-content: center;
10342
- margin: 0 auto;
10343
- }
10344
-
10345
- .wpr-switcher-wrap {
10346
- position: relative;
10347
- display: -moz-flex;
10348
- display: -ms-flex;
10349
- display: -o-flex;
10350
- display: -webkit-box;
10351
- display: -ms-flexbox;
10352
- display: flex;
10353
- -ms-flex-wrap: wrap;
10354
- flex-wrap: wrap;
10355
- -webkit-box-align: center;
10356
- -ms-flex-align: center;
10357
- align-items: center;
10358
- }
10359
-
10360
- .wpr-switcher {
10361
- position: relative;
10362
- display: -moz-flex;
10363
- display: -ms-flex;
10364
- display: -o-flex;
10365
- display: -webkit-box;
10366
- display: -ms-flexbox;
10367
- display: flex;
10368
- -webkit-box-flex: 1;
10369
- -ms-flex-positive: 1;
10370
- flex-grow: 1;
10371
- -ms-flex-preferred-size: 0;
10372
- flex-basis: 0;
10373
- height: 100%;
10374
- -webkit-box-align: center;
10375
- -ms-flex-align: center;
10376
- align-items: center;
10377
- -webkit-box-pack: center;
10378
- -ms-flex-pack: center;
10379
- justify-content: center;
10380
- z-index: 20;
10381
- cursor: pointer;
10382
- }
10383
-
10384
- .wpr-switcher-inner {
10385
- display: -moz-flex;
10386
- display: -ms-flex;
10387
- display: -o-flex;
10388
- display: -webkit-box;
10389
- display: -ms-flexbox;
10390
- display: flex;
10391
- -webkit-box-align: center;
10392
- -ms-flex-align: center;
10393
- align-items: center;
10394
- }
10395
-
10396
- .wpr-switcher-label-style-outer>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-first {
10397
- -webkit-box-pack: end;
10398
- -ms-flex-pack: end;
10399
- justify-content: flex-end;
10400
- }
10401
-
10402
- .wpr-switcher-label-style-outer>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-second {
10403
- -webkit-box-pack: start;
10404
- -ms-flex-pack: start;
10405
- justify-content: flex-start;
10406
- }
10407
-
10408
- .wpr-switcher-icon-position-left>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-inner>.wpr-switcher-icon,
10409
- .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 {
10410
- -webkit-box-ordinal-group: 2;
10411
- -ms-flex-order: 1;
10412
- order: 1;
10413
- }
10414
-
10415
- .wpr-switcher-icon-position-left>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-inner>.wpr-switcher-label,
10416
- .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 {
10417
- -webkit-box-ordinal-group: 3;
10418
- -ms-flex-order: 2;
10419
- order: 2;
10420
- }
10421
-
10422
- .wpr-switcher-content-wrap {
10423
- position: relative;
10424
- width: 100%;
10425
- -webkit-transition-property: height;
10426
- -o-transition-property: height;
10427
- transition-property: height;
10428
- -webkit-transition-timing-function: cubic-bezier(0.5, 0.9, 0.6, 0.95);
10429
- -o-transition-timing-function: cubic-bezier(0.5, 0.9, 0.6, 0.95);
10430
- transition-timing-function: cubic-bezier(0.5, 0.9, 0.6, 0.95);
10431
- -webkit-transition-duration: 0.5s;
10432
- -o-transition-duration: 0.5s;
10433
- transition-duration: 0.5s;
10434
- z-index: 1;
10435
- overflow: hidden;
10436
- }
10437
-
10438
- .wpr-switcher-content {
10439
- position: absolute;
10440
- width: 100%;
10441
- top: 0;
10442
- left: 0;
10443
- z-index: 1;
10444
- }
10445
-
10446
- .wpr-switcher-content-active {
10447
- position: relative;
10448
- z-index: 100;
10449
- }
10450
-
10451
- .wpr-switcher-content-inner {
10452
- opacity: 0;
10453
- }
10454
-
10455
- .wpr-switcher-content-active .wpr-switcher-content-inner.wpr-overlay-none {
10456
- opacity: 1;
10457
- }
10458
-
10459
-
10460
- /* Switcher Bg */
10461
-
10462
- .wpr-switcher-bg {
10463
- position: absolute;
10464
- height: 100%;
10465
- z-index: 1;
10466
- -o-transition: all ease-in-out 0.4s;
10467
- transition: all ease-in-out 0.4s;
10468
- -webkit-transition: all ease-in-out 0.4s;
10469
- }
10470
-
10471
-
10472
- /* Dual Switcher */
10473
-
10474
- .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 {
10475
- left: 0;
10476
- }
10477
-
10478
- .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 {
10479
- left: 100%;
10480
- -ms-transform: translateX(-100%);
10481
- transform: translateX(-100%);
10482
- -webkit-transform: translateX(-100%);
10483
- }
10484
-
10485
-
10486
- /*--------------------------------------------------------------
10487
- == Back to Top
10488
- --------------------------------------------------------------*/
10489
-
10490
- .wpr-stt-wrapper {
10491
- display: -webkit-box;
10492
- display: -ms-flexbox;
10493
- display: flex;
10494
- }
10495
-
10496
- .wpr-stt-btn {
10497
- border: none;
10498
- cursor: pointer;
10499
- font-size: 16px;
10500
- line-height: 48px;
10501
- text-align: center;
10502
- padding: 20px;
10503
- max-width: 5cm;
10504
- text-align: center;
10505
- display: -webkit-box;
10506
- display: -ms-flexbox;
10507
- display: flex;
10508
- -webkit-box-align: center;
10509
- -ms-flex-align: center;
10510
- align-items: center;
10511
- -webkit-box-pack: center;
10512
- -ms-flex-pack: center;
10513
- justify-content: center;
10514
- line-height: 1;
10515
- -webkit-box-shadow: 0px 0px 10px 0px rgb(0, 0, 0, 0.25);
10516
- box-shadow: 0px 0px 10px 0px rgb(0, 0, 0, 0.25);
10517
- }
10518
-
10519
- .wpr-stt-btn-icon-left .wpr-stt-btn {
10520
- display: -webkit-box;
10521
- display: -ms-flexbox;
10522
- display: flex;
10523
- -webkit-box-align: center;
10524
- -ms-flex-align: center;
10525
- align-items: center;
10526
- }
10527
-
10528
- .wpr-stt-btn-icon-right .wpr-stt-btn {
10529
- -webkit-box-orient: horizontal;
10530
- -webkit-box-direction: reverse;
10531
- -ms-flex-direction: row-reverse;
10532
- flex-direction: row-reverse;
10533
- }
10534
-
10535
- .wpr-stt-btn-icon-bottom .wpr-stt-btn {
10536
- -webkit-box-orient: vertical;
10537
- -webkit-box-direction: reverse;
10538
- -ms-flex-direction: column-reverse;
10539
- flex-direction: column-reverse;
10540
- }
10541
-
10542
- .wpr-stt-btn-icon-top .wpr-stt-btn {
10543
- display: -webkit-box;
10544
- display: -ms-flexbox;
10545
- display: flex;
10546
- -webkit-box-orient: vertical;
10547
- -webkit-box-direction: normal;
10548
- -ms-flex-direction: column;
10549
- flex-direction: column;
10550
- -webkit-box-align: center;
10551
- -ms-flex-align: center;
10552
- align-items: center;
10553
- }
10554
-
10555
- .wpr-stt-btn-align-fixed .wpr-stt-btn {
10556
- visibility: hidden;
10557
- position: fixed;
10558
- z-index: 9999;
10559
- }
10560
-
10561
- .wpr-stt-btn-align-fixed-right .wpr-stt-btn {
10562
- left: auto;
10563
- }
10564
-
10565
- .wpr-stt-btn-align-fixed-left .wpr-stt-btn {
10566
- right: auto;
10567
- }
10568
-
10569
-
10570
- /*--------------------------------------------------------------
10571
- == Phone Call
10572
- --------------------------------------------------------------*/
10573
-
10574
- .wpr-pc-wrapper {
10575
- display: -webkit-box;
10576
- display: -ms-flexbox;
10577
- display: flex;
10578
- }
10579
-
10580
- .wpr-pc-btn {
10581
- border: none;
10582
- cursor: pointer;
10583
- font-size: 16px;
10584
- line-height: 48px;
10585
- text-align: center;
10586
- text-align: center;
10587
- display: -webkit-box;
10588
- display: -ms-flexbox;
10589
- display: flex;
10590
- -webkit-box-align: center;
10591
- -ms-flex-align: center;
10592
- align-items: center;
10593
- -webkit-box-pack: center;
10594
- -ms-flex-pack: center;
10595
- justify-content: center;
10596
- line-height: 1;
10597
- }
10598
-
10599
- .elementor a.wpr-pc-btn {
10600
- -webkit-box-shadow: 0px 0px 10px 0px rgb(0, 0, 0, 0.2);
10601
- box-shadow: 0px 0px 10px 0px rgb(0, 0, 0, 0.2);
10602
- }
10603
-
10604
- .wpr-pc-content {
10605
- display: -webkit-box;
10606
- display: -ms-flexbox;
10607
- display: flex;
10608
- }
10609
-
10610
- .wpr-pc-btn-icon-right .wpr-pc-content {
10611
- display: -webkit-box;
10612
- display: -ms-flexbox;
10613
- display: flex;
10614
- -webkit-box-align: center;
10615
- -ms-flex-align: center;
10616
- align-items: center;
10617
- }
10618
-
10619
- .wpr-pc-btn-icon-left .wpr-pc-content {
10620
- -webkit-box-orient: horizontal;
10621
- -webkit-box-direction: reverse;
10622
- -ms-flex-direction: row-reverse;
10623
- flex-direction: row-reverse;
10624
- }
10625
-
10626
- .wpr-pc-btn-icon-bottom .wpr-pc-content {
10627
- display: -webkit-box;
10628
- display: -ms-flexbox;
10629
- display: flex;
10630
- -webkit-box-orient: vertical;
10631
- -webkit-box-direction: normal;
10632
- -ms-flex-direction: column;
10633
- flex-direction: column;
10634
- -webkit-box-align: center;
10635
- -ms-flex-align: center;
10636
- align-items: center;
10637
- }
10638
-
10639
- .wpr-pc-btn-icon-top .wpr-pc-content {
10640
- -webkit-box-orient: vertical;
10641
- -webkit-box-direction: reverse;
10642
- -ms-flex-direction: column-reverse;
10643
- flex-direction: column-reverse;
10644
- }
10645
-
10646
- .wpr-pc-btn-align-fixed .wpr-pc-btn {
10647
- position: fixed;
10648
- z-index: 9999;
10649
- }
10650
-
10651
- .wpr-pc-btn-align-fixed-right .wpr-pc-btn {
10652
- left: auto;
10653
- }
10654
-
10655
- .wpr-pc-btn-align-fixed-left .wpr-pc-btn {
10656
- right: auto;
10657
- }
10658
-
10659
- /*--------------------------------------------------------------
10660
- == Post Timeline
10661
- --------------------------------------------------------------*/
10662
-
10663
- .wpr-timeline-outer-container {
10664
- position: relative;
10665
- }
10666
-
10667
- .wpr-vertical {
10668
- /* display: table; */
10669
- min-width: 100%;
10670
- min-height: 100%;
10671
- overflow: hidden;
10672
- }
10673
-
10674
- /* year-wrap or data-wrap */
10675
- .wpr-vertical .wpr-timeline-centered .wpr-data-wrap {
10676
- display: flow-root;
10677
- }
10678
-
10679
- /* remove overflow hidden if possible */
10680
- .wpr-timeline-centered {
10681
- position: relative;
10682
- display: table;
10683
- width: 100%;
10684
- height: 100%;
10685
- /* overflow: hidden; */
10686
- }
10687
-
10688
- .wpr-list-style-none ul {
10689
- list-style-type: none;
10690
- }
10691
-
10692
- .wpr-list-style-disc ul {
10693
- list-style-type: disc;
10694
- }
10695
-
10696
- .wpr-list-style-decimal ul {
10697
- list-style-type: decimal;
10698
- }
10699
-
10700
- .wpr-timeline-centered .wpr-timeline-entry:last-of-type {
10701
- margin-bottom: 0 !important;
10702
- }
10703
-
10704
- .wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry {
10705
- position: relative;
10706
- width: 50%;
10707
- float: right;
10708
- margin-bottom: 70px;
10709
- clear: both;
10710
- }
10711
-
10712
- .wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry.wpr-left-aligned,
10713
- .wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry.wpr-left-aligned {
10714
- float: left;
10715
- }
10716
-
10717
- .wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry.wpr-left-aligned {
10718
- width: 100%;
10719
- }
10720
-
10721
- .wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry.wpr-left-aligned .wpr-timeline-entry-inner,
10722
- .wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry.wpr-left-aligned .wpr-timeline-entry-inner {
10723
- margin-left: 0;
10724
- }
10725
-
10726
- .wpr-wrapper .wpr-year-label {
10727
- display: -webkit-box;
10728
- display: -ms-flexbox;
10729
- display: flex;
10730
- -webkit-box-pack: center;
10731
- -ms-flex-pack: center;
10732
- justify-content: center;
10733
- -webkit-box-align: center;
10734
- -ms-flex-align: center;
10735
- align-items: center;
10736
- }
10737
-
10738
- .wpr-one-sided-timeline-left .wpr-middle-line,
10739
- .wpr-one-sided-timeline-left .wpr-timeline-fill,
10740
- .wpr-one-sided-timeline-left .wpr-year-label,
10741
- .wpr-one-sided-timeline-left .wpr-icon {
10742
- left: auto;
10743
- }
10744
-
10745
- .wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner {
10746
- position: relative;
10747
- }
10748
-
10749
- .wpr-timeline-centered.wpr-one-sided-timeline .wpr-timeline-entry {
10750
- width: 100%;
10751
- float: left;
10752
- }
10753
-
10754
- .wpr-timeline-centered.wpr-one-sided-timeline .wpr-timeline-entry .wpr-timeline-entry-inner {
10755
- margin-left: 0;
10756
- }
10757
-
10758
- .wpr-both-sided-timeline .wpr-middle-line {
10759
- left: 50%;
10760
- }
10761
- .wpr-middle-line {
10762
- position: absolute;
10763
- display: block;
10764
- width: 4px;
10765
- top: 20px;
10766
- height: 100%;
10767
- /* margin-left: -2px; */
10768
- }
10769
- .wpr-one-sided-timeline-left .wpr-icon {
10770
- right: 0.3%;
10771
- }
10772
-
10773
- .wpr-timeline-fill {
10774
- position: absolute;
10775
- display: block;
10776
- width: 4px;
10777
- left: 50%;
10778
- top: 20px;
10779
- /* margin-left: -2px; */
10780
- background-color: rgb(61, 42, 61);
10781
- height: 0;
10782
- }
10783
-
10784
- .wpr-read-more-button {
10785
- display: inline-block;
10786
- font-size: 14px;
10787
- }
10788
-
10789
- .wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry.wpr-left-aligned .wpr-extra-label {
10790
- left: 108%;
10791
- /* text-align: center; */
10792
- }
10793
-
10794
- .wpr-horizontal .wpr-extra-label .wpr-label,
10795
- .wpr-horizontal .wpr-extra-label .wpr-sub-label {
10796
- text-align: center;
10797
- line-height: 1;
10798
- }
10799
-
10800
- .wpr-left-aligned .wpr-extra-label .wpr-label,
10801
- .wpr-left-aligned .wpr-extra-label .wpr-sub-label {
10802
- text-align: right;
10803
- }
10804
-
10805
- .wpr-right-aligned .wpr-extra-label .wpr-label,
10806
- .wpr-right-aligned .wpr-extra-label .wpr-sub-label {
10807
- text-align: left;
10808
- }
10809
-
10810
- .wpr-both-sided-timeline .wpr-right-aligned .wpr-extra-label .wpr-label,
10811
- .wpr-both-sided-timeline .wpr-right-aligned .wpr-extra-label .wpr-sub-label {
10812
- text-align: right !important;
10813
- }
10814
- .wpr-both-sided-timeline .wpr-left-aligned .wpr-extra-label .wpr-label,
10815
- .wpr-both-sided-timeline .wpr-left-aligned .wpr-extra-label .wpr-sub-label {
10816
- text-align: left !important;
10817
- }
10818
-
10819
- .wpr-horizontal-bottom .wpr-extra-label {
10820
- position: absolute;
10821
- display: table;
10822
- width: 100%;
10823
- height: 80px;
10824
- overflow: hidden;
10825
- text-align: center;
10826
- vertical-align: middle;
10827
- top: 0;
10828
- left: 50%;
10829
- -webkit-transform: translateX(-50%);
10830
- -ms-transform: translateX(-50%);
10831
- transform: translateX(-50%);
10832
- }
10833
-
10834
- .wpr-extra-label .wpr-label,
10835
- .wpr-extra-label .wpr-sub-label {
10836
- display: block;
10837
- width: 100%;
10838
- }
10839
-
10840
- .wpr-extra-label .wpr-label {
10841
- font-size: 15px;
10842
- font-weight: 600;
10843
- }
10844
-
10845
- .wpr-extra-label .wpr-sub-label {
10846
- font-size: 12px;
10847
- }
10848
-
10849
- .wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry.wpr-left-aligned .wpr-timeline-entry-inner .wpr-icon {
10850
- position: absolute;
10851
- left: calc(100%);
10852
- -webkit-transform: translate(-50%);
10853
- -ms-transform: translate(-50%);
10854
- transform: translate(-50%);
10855
- }
10856
-
10857
- .wpr-both-sided-timeline .wpr-right-aligned .wpr-icon {
10858
- position: absolute;
10859
- right: calc(100%);
10860
- -webkit-transform: translate(50%);
10861
- -ms-transform: translate(50%);
10862
- transform: translate(50%);
10863
- }
10864
-
10865
- .wpr-timeline-centered .wpr-timeline-entry.wpr-left-aligned .wpr-timeline-entry-inner .wpr-data-wrap:after {
10866
- right: 0;
10867
- margin-left: 0;
10868
- margin-right: -9px;
10869
- -webkit-transform: rotate(180deg);
10870
- -ms-transform: rotate(180deg);
10871
- transform: rotate(180deg);
10872
- }
10873
-
10874
- .wpr-story-info-vertical,
10875
- .wpr-story-info {
10876
- -webkit-box-shadow: 0px 0px 20px 1px rgb(0 0 0 / 10%);
10877
- box-shadow: 0px 0px 20px 1px rgb(0 0 0 / 10%);
10878
- }
10879
-
10880
- .wpr-right-aligned .wpr-story-info-vertical.wpr-data-wrap:after {
10881
- right: 100%;
10882
- }
10883
-
10884
- .wpr-timeline-centered .wpr-timeline-entry .wpr-extra-label {
10885
- position: absolute;
10886
- right: 108%;
10887
- width: 100%;
10888
- height: auto;
10889
- padding: 10px;
10890
- -webkit-box-sizing: border-box;
10891
- box-sizing: border-box;
10892
- }
10893
-
10894
- .wpr-timeline-centered.wpr-one-sided-timeline .wpr-timeline-entry .wpr-extra-label,
10895
- .wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry .wpr-extra-label {
10896
- position: relative;
10897
- right: auto;
10898
- position: static !important;
10899
- -webkit-transform: none !important;
10900
- -ms-transform: none !important;
10901
- transform: none !important;
10902
- display: block;
10903
- margin-bottom: 10px;
10904
- }
10905
- .wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry .wpr-extra-label {
10906
- position: static !important;
10907
- text-align: right;
10908
- margin-left: auto;
10909
- }
10910
-
10911
- .wpr-timeline-centered .wpr-timeline-entry .wpr-extra-label>span {
10912
- display: block;
10913
- }
10914
-
10915
- .wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-icon {
10916
- display: block;
10917
- width: 48px;
10918
- height: 48px;
10919
- -webkit-background-clip: padding-box;
10920
- -moz-background-clip: padding-box;
10921
- background-clip: padding-box;
10922
- text-align: center;
10923
- font-size: 0;
10924
- float: left;
10925
- }
10926
-
10927
- .wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-icon i {
10928
- font-size: 22px;
10929
- }
10930
-
10931
- .wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-data-wrap {
10932
- position: relative;
10933
- -webkit-background-clip: padding-box;
10934
- -moz-background-clip: padding;
10935
- background-clip: padding-box;
10936
- }
10937
-
10938
- .wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-data-wrap:after {
10939
- content: '';
10940
- display: block;
10941
- position: absolute;
10942
- width: 0;
10943
- height: 0;
10944
- border-style: solid;
10945
- border-width: 9px 9px 9px 0;
10946
- border-color: transparent;
10947
- top: 14px;
10948
- margin-left: -9px;
10949
- }
10950
-
10951
- .wpr-title-wrap {
10952
- overflow: hidden;
10953
- -ms-flex-negative: 0;
10954
- flex-shrink: 0;
10955
- width: 100% !important;
10956
- }
10957
-
10958
- .wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-data-wrap .wpr-title {
10959
- font-weight: bold;
10960
- display: inline-block;
10961
- }
10962
-
10963
- .wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-data-wrap .wpr-title span {
10964
- -webkit-opacity: .6;
10965
- -moz-opacity: .6;
10966
- opacity: .6;
10967
- -ms-filter: alpha(opacity=60);
10968
- filter: alpha(opacity=60);
10969
- }
10970
-
10971
- .wpr-timeline-centered .wpr-year-wrap .wpr-year-label {
10972
- display: inline-block;
10973
- text-align: center;
10974
- white-space: nowrap;
10975
- }
10976
-
10977
- .wpr-timeline-centered .wpr-year-wrap {
10978
- display: block;
10979
- position: relative;
10980
- float: left;
10981
- clear: left;
10982
- width: 100%;
10983
- margin-left: auto;
10984
- margin-right: auto;
10985
- padding: 0;
10986
- text-align: center;
10987
- }
10988
-
10989
- .wpr-timeline-centered.wpr-one-sided-timeline .wpr-year-wrap .wpr-year-label {
10990
- position: absolute;
10991
- -webkit-transform: translate(-50%, 0);
10992
- -ms-transform: translate(-50%, 0);
10993
- transform: translate(-50%, 0);
10994
- }
10995
-
10996
- .wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-year-wrap .wpr-year-label {
10997
- position: absolute;
10998
- -webkit-transform: translate(50%, 0);
10999
- -ms-transform: translate(50%, 0);
11000
- transform: translate(50%, 0);
11001
- }
11002
-
11003
- .wpr-both-sided-timeline .wpr-left-aligned .wpr-data-wrap:after,
11004
- .wpr-one-sided-timeline-left .wpr-left-aligned .wpr-data-wrap:after {
11005
- left: 100%;
11006
- }
11007
-
11008
- .wpr-one-sided-timeline .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-icon {
11009
- -webkit-transform: translate(-50%, -50%) !important;
11010
- -ms-transform: translate(-50%, -50%) !important;
11011
- transform: translate(-50%, -50%) !important;
11012
- }
11013
-
11014
- .wpr-wrapper .wpr-icon {
11015
- display: -webkit-box !important;
11016
- display: -ms-flexbox !important;
11017
- display: flex !important;
11018
- -webkit-box-pack: center !important;
11019
- -ms-flex-pack: center !important;
11020
- justify-content: center !important;
11021
- -webkit-box-align: center !important;
11022
- -ms-flex-align: center !important;
11023
- align-items: center !important;
11024
- }
11025
-
11026
- .timeline-background-image {
11027
- position: absolute;
11028
- left: 0;
11029
- top: 0;
11030
- width: 100%;
11031
- height: 100%;
11032
- max-width: 100% !important;
11033
- max-height: 100% !important;
11034
- opacity: 0.7;
11035
- z-index: -1;
11036
- }
11037
-
11038
- .timeline-background-image img {
11039
- width: 100%;
11040
- height: 100%;
11041
- max-width: 100% !important;
11042
- max-height: 100% !important;
11043
- }
11044
-
11045
- .wpr-horizontal-timeline .swiper-slide-line-bottom {
11046
- display: -webkit-box;
11047
- display: -ms-flexbox;
11048
- display: flex;
11049
- -webkit-box-pack: center;
11050
- -ms-flex-pack: center;
11051
- justify-content: center;
11052
- -webkit-box-align: end;
11053
- -ms-flex-align: end;
11054
- align-items: flex-end;
11055
- }
11056
-
11057
- .wpr-horizontal-timeline .wpr-story-info {
11058
- width: 98%;
11059
- }
11060
-
11061
- .story-with-background {
11062
- background-image: url('');
11063
- background-repeat: no-repeat;
11064
- background-position: center;
11065
- background-size: cover;
11066
- }
11067
-
11068
- .wpr-timeline-story-overlay {
11069
- position: absolute;
11070
- top: 0;
11071
- left: 0;
11072
- display: -webkit-box;
11073
- display: -ms-flexbox;
11074
- display: flex;
11075
- -webkit-box-orient: vertical;
11076
- -webkit-box-direction: normal;
11077
- -ms-flex-direction: column;
11078
- flex-direction: column;
11079
- width: 100%;
11080
- line-height: 1;
11081
- height: auto;
11082
- }
11083
-
11084
- .wpr-story-info {
11085
- line-height: 1;
11086
- }
11087
-
11088
- /* Horizontal Timeline */
11089
- .wpr-horizontal-bottom.swiper-container {
11090
- position: unset;
11091
- overflow: hidden;
11092
- z-index: 10;
11093
- }
11094
-
11095
- .wpr-horizontal.swiper-container {
11096
- position: unset;
11097
- /* overflow: hidden; */
11098
- z-index: 11;
11099
- margin: 0 32px;
11100
- }
11101
-
11102
- .wpr-horizontal {
11103
- padding-top: 10px;
11104
- }
11105
-
11106
- .wpr-horizontal-bottom {
11107
- padding-bottom: 10px;
11108
- }
11109
-
11110
- /* Year Label */
11111
- .wpr-horizontal-bottom .wpr-year-wrap {
11112
- position: absolute;
11113
- display: table;
11114
- text-align: center;
11115
- top: 96px;
11116
- left: 10px;
11117
- height: 36px;
11118
- width: 72px;
11119
- vertical-align: middle;
11120
- border-radius: 6px;
11121
- overflow: hidden;
11122
- z-index: 1;
11123
- table-layout: fixed;
11124
- word-break: break-word;
11125
- }
11126
-
11127
- .wpr-horizontal-bottom .wpr-year-label {
11128
- padding: 2px;
11129
- vertical-align: middle;
11130
- display: table-cell;
11131
- }
11132
-
11133
- /* Story Icon */
11134
- .wpr-horizontal-bottom .wpr-icon {
11135
- color: #fff;
11136
- width: 40px;
11137
- height: 40px;
11138
- text-align: center;
11139
- display: block;
11140
- z-index: 100;
11141
- border-radius: 50%;
11142
- -webkit-transform: translate(-50%);
11143
- -ms-transform: translate(-50%);
11144
- transform: translate(-50%);
11145
- }
11146
-
11147
- .wpr-horizontal-bottom .wpr-icon i {
11148
- line-height: 40px;
11149
- font-size: 26px;
11150
- }
11151
-
11152
- .wpr-horizontal-bottom .wpr-icon:empty {
11153
- width: 24px;
11154
- height: 24px;
11155
- top: 102px;
11156
- left: calc(50% - 12px);
11157
- }
11158
-
11159
-
11160
- /* Story Content */
11161
- .wpr-horizontal-bottom .wpr-story-info:before {
11162
- content: "";
11163
- display: block;
11164
- position: absolute;
11165
- }
11166
-
11167
- .wpr-horizontal-bottom .wpr-story-info {
11168
- padding: 0;
11169
- -webkit-box-pack: center;
11170
- -ms-flex-pack: center;
11171
- justify-content: center;
11172
- position: relative;
11173
- -webkit-transition: all 200ms ease-in;
11174
- -o-transition: all 200ms ease-in;
11175
- transition: all 200ms ease-in;
11176
- text-align: center;
11177
- -webkit-box-sizing: border-box;
11178
- box-sizing: border-box;
11179
- border-radius: 6px;
11180
- }
11181
-
11182
- .wpr-story-info,
11183
- .wpr-story-info-vertical {
11184
- font-size: 0;
11185
- }
11186
-
11187
- /* .wpr-horizontal-bottom .wpr-timeline-media, */
11188
- .wpr-timeline-media {
11189
- overflow: hidden;
11190
- position: relative;
11191
- display: inline-block;
11192
- }
11193
-
11194
- .wpr-timeline-iframe-wrapper {
11195
- position: relative;
11196
- width: 100%;
11197
- height: 0;
11198
- padding-bottom: 56.25%;
11199
- }
11200
-
11201
- .wpr-timeline-media iframe,
11202
- .wpr-timeline-iframe-wrapper iframe {
11203
- position: absolute;
11204
- top: 0;
11205
- left: 0;
11206
- width: 100%;
11207
- height: 100%;
11208
- }
11209
-
11210
-
11211
- /* .wpr-horizontal-bottom .wpr-title, */
11212
- .wpr-horizontal-bottom .wpr-title {
11213
- display: inline-block;
11214
- /* width: 100%; */
11215
- margin: 0;
11216
- line-height: 1.2em;
11217
- }
11218
-
11219
- .wpr-horizontal-bottom .wpr-title {
11220
- padding: 8px 8px 0;
11221
- font-size: 20px;
11222
- }
11223
-
11224
- .wpr-horizontal-bottom .wpr-description {
11225
- display: inline-block;
11226
- width: 100%;
11227
- margin: 0;
11228
- line-height: 1.2em;
11229
- padding: 8px;
11230
- font-size: inherit;
11231
- }
11232
-
11233
- .wpr-horizontal .wpr-description {
11234
- display: inline-block;
11235
- width: 100%;
11236
- margin: 0;
11237
- line-height: 1.2em;
11238
- padding: 8px;
11239
- font-size: inherit;
11240
- }
11241
-
11242
- .wpr-wrapper .wpr-description {
11243
- font-size: 15px;
11244
- background-color: transparent !important;
11245
- }
11246
-
11247
-
11248
- /* Middle Line */
11249
- .wpr-horizontal-bottom .wpr-swiper-pagination.swiper-pagination-progressbar {
11250
- position: absolute;
11251
- left: 50%;
11252
- z-index: 0;
11253
- }
11254
-
11255
- .wpr-horizontal-bottom .wpr-swiper-pagination.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
11256
- background: rgba(0, 0, 0, 0.25);
11257
- }
11258
-
11259
-
11260
- /* Next/Prev Buttons */
11261
- .wpr-horizontal-bottom .wpr-button-prev,
11262
- .wpr-horizontal-bottom .wpr-button-next {
11263
- position: absolute;
11264
- display: -webkit-box;
11265
- display: -ms-flexbox;
11266
- display: flex;
11267
- -webkit-box-pack: center;
11268
- -ms-flex-pack: center;
11269
- justify-content: center;
11270
- -webkit-box-align: center;
11271
- -ms-flex-align: center;
11272
- align-items: center;
11273
- font-size: 40px;
11274
- top: 113px;
11275
- cursor: pointer;
11276
- line-height: 0;
11277
- }
11278
-
11279
- .wpr-horizontal-bottom .wpr-button-prev {
11280
- margin-left: -10px;
11281
- }
11282
-
11283
- .wpr-horizontal-bottom .wpr-button-next {
11284
- margin-right: -10px;
11285
- }
11286
-
11287
- .wpr-button-prev.swiper-button-disabled,
11288
- .wpr-button-next.swiper-button-disabled {
11289
- opacity: 0.35;
11290
- cursor: auto;
11291
- pointer-events: none;
11292
- }
11293
-
11294
-
11295
- /* Slider Styles */
11296
- .swiper-slide.auto-height {
11297
- height: auto;
11298
- }
11299
-
11300
- .wpr-horizontal-timeline .swiper-slide {
11301
- height: auto;
11302
- }
11303
-
11304
- .wpr-horizontal-bottom {
11305
- height: auto;
11306
- }
11307
-
11308
-
11309
- /* Horizontal Timeline */
11310
- .wpr-horizontal .wpr-year-wrap {
11311
- position: absolute;
11312
- display: table;
11313
- text-align: center;
11314
- bottom: 61px;
11315
- left: 12px;
11316
- height: 36px;
11317
- width: 72px;
11318
- vertical-align: middle;
11319
- border-radius: 6px;
11320
- overflow: hidden;
11321
- z-index: 1;
11322
- table-layout: fixed;
11323
- word-break: break-word;
11324
- background: rgb(255, 0, 179);
11325
- }
11326
-
11327
- .wpr-horizontal .wpr-year-label {
11328
- padding: 2px;
11329
- vertical-align: middle;
11330
- display: table-cell;
11331
- background: rgb(255, 0, 179);
11332
- }
11333
-
11334
- /* Extra Labels */
11335
- .wpr-timeline-centered .wpr-extra-label {
11336
- -webkit-transform: translateY(-50%) !important;
11337
- -ms-transform: translateY(-50%) !important;
11338
- transform: translateY(-50%) !important;
11339
- }
11340
-
11341
- .wpr-horizontal .wpr-extra-label {
11342
- position: absolute;
11343
- display: table;
11344
- width: 100%;
11345
- height: 80px;
11346
- overflow: hidden;
11347
- text-align: center;
11348
- vertical-align: middle;
11349
- left: 50%;
11350
- -webkit-transform: translateX(-50%);
11351
- -ms-transform: translateX(-50%);
11352
- transform: translateX(-50%);
11353
- }
11354
-
11355
- .wpr-horizontal .wpr-extra-label .wpr-label,
11356
- .wpr-horizontal .wpr-extra-label .wpr-sub-label {
11357
- display: inline-block;
11358
- width: 100%;
11359
- }
11360
-
11361
- /* Story Icon */
11362
- .wpr-horizontal .wpr-icon {
11363
- width: 40px;
11364
- height: 40px;
11365
- left: calc(50% - 20px);
11366
- text-align: center;
11367
- position: absolute;
11368
- display: block;
11369
- z-index: 100;
11370
- left: 50%;
11371
- -webkit-transform: translate(-50%, 50%);
11372
- -ms-transform: translate(-50%, 50%);
11373
- transform: translate(-50%, 50%);
11374
- }
11375
-
11376
- .wpr-horizontal .wpr-icon i {
11377
- line-height: 40px;
11378
- font-size: 26px;
11379
- }
11380
-
11381
- .wpr-horizontal .wpr-icon:empty {
11382
- width: 24px;
11383
- height: 24px;
11384
- bottom: 48px;
11385
- left: calc(50% - 12px);
11386
- }
11387
-
11388
-
11389
- /* Story Content Section */
11390
- .wpr-horizontal .wpr-story-info:before {
11391
- content: "";
11392
- display: block;
11393
- position: absolute;
11394
- left: calc(50% - 10px);
11395
- left: -o-calc(50% - 10px);
11396
- border-bottom-color: transparent !important;
11397
- bottom: -28px;
11398
- }
11399
-
11400
- .wpr-horizontal .wpr-story-info {
11401
- position: relative;
11402
- -webkit-box-pack: center;
11403
- -ms-flex-pack: center;
11404
- justify-content: center;
11405
- -webkit-transition: all 200ms ease-in;
11406
- -o-transition: all 200ms ease-in;
11407
- transition: all 200ms ease-in;
11408
- text-align: center;
11409
- -webkit-box-sizing: border-box;
11410
- box-sizing: border-box;
11411
- }
11412
-
11413
- .wpr-horizontal .wpr-title {
11414
- padding: 8px 8px 0;
11415
- font-size: 20px;
11416
- }
11417
-
11418
-
11419
- /* Middle Line */
11420
- .wpr-horizontal .wpr-swiper-pagination.swiper-pagination-progressbar {
11421
- position: absolute;
11422
- height: 2px;
11423
- left: 50%;
11424
- z-index: 0;
11425
- }
11426
-
11427
-
11428
- /* Next/Prev Buttons */
11429
- .wpr-horizontal .wpr-button-prev,
11430
- .wpr-horizontal .wpr-button-next {
11431
- position: absolute;
11432
- font-size: 40px;
11433
- cursor: pointer;
11434
- line-height: 0;
11435
- display: -webkit-box;
11436
- display: -ms-flexbox;
11437
- display: flex;
11438
- -webkit-box-pack: center;
11439
- -ms-flex-pack: center;
11440
- justify-content: center;
11441
- -webkit-box-align: center;
11442
- -ms-flex-align: center;
11443
- align-items: center;
11444
- }
11445
-
11446
- .wpr-horizontal .wpr-button-prev {
11447
- margin-left: -6px;
11448
- }
11449
-
11450
- .wpr-horizontal .wpr-button-next {
11451
- margin-right: -6px;
11452
- }
11453
-
11454
- .wpr-button-prev.swiper-button-disabled,
11455
- .wpr-button-next.swiper-button-disabled {
11456
- opacity: 0.55;
11457
- cursor: auto;
11458
- pointer-events: none;
11459
- }
11460
-
11461
- /* slider styles */
11462
- .wpr-wrapper .wpr-year {
11463
- font-size: 16px;
11464
- font-weight: bold;
11465
- line-height: 2.1em;
11466
- }
11467
-
11468
- .wpr-wrapper span.wpr-extra-label {
11469
- font-size: 15px;
11470
- font-weight: normal;
11471
- color: #7A7A7A;
11472
- }
11473
-
11474
- .wpr-wrapper span.wpr-title {
11475
- font-size: 20px;
11476
- font-weight: 600;
11477
- }
11478
-
11479
- .wpr-horizontal-bottom .wpr-story-info {
11480
- border-bottom: 4px solid #23A455;
11481
- }
11482
-
11483
- .wpr-horizontal-bottom .wpr-story-info:before {
11484
- border: 13px solid;
11485
- border-top-color: transparent;
11486
- border-left-color: transparent;
11487
- border-right-color: transparent;
11488
- }
11489
-
11490
- .wpr-left-aligned .wpr-data-wrap:after {
11491
- border-right-color: transparent !important;
11492
- }
11493
-
11494
- .wpr-wrapper span.wpr-extra-label {
11495
- font-size: 15px;
11496
- font-weight: normal;
11497
- color: #7A7A7A;
11498
- }
11499
-
11500
- .wpr-wrapper a.wpr-title {
11501
- font-size: 24px;
11502
- font-weight: bold;
11503
- }
11504
-
11505
- .wpr-horizontal .wpr-story-info {
11506
- border-bottom: 4px solid #23A455;
11507
- }
11508
-
11509
- .wpr-horizontal .wpr-story-info:before {
11510
- border: 13px solid transparent;
11511
- }
11512
-
11513
- .wpr-horizontal .wpr-timeline-prev-arrow {
11514
- left: 1%;
11515
- -webkit-transform: translateY(50%);
11516
- -ms-transform: translateY(50%);
11517
- transform: translateY(50%);
11518
- }
11519
-
11520
- .wpr-horizontal .wpr-timeline-next-arrow {
11521
- right: 1%;
11522
- -webkit-transform: translateY(50%) rotate(180deg);
11523
- -ms-transform: translateY(50%) rotate(180deg);
11524
- transform: translateY(50%) rotate(180deg);
11525
- }
11526
-
11527
- .wpr-horizontal-bottom .wpr-timeline-prev-arrow {
11528
- left: 1%;
11529
- -webkit-transform: translateY(-50%);
11530
- -ms-transform: translateY(-50%);
11531
- transform: translateY(-50%);
11532
- }
11533
-
11534
- .wpr-horizontal-bottom .wpr-timeline-next-arrow {
11535
- right: 1%;
11536
- -webkit-transform: translateY(-50%) rotate(180deg);
11537
- -ms-transform: translateY(-50%) rotate(180deg);
11538
- transform: translateY(-50%) rotate(180deg);
11539
- }
11540
-
11541
- @media screen and (max-width: 767px) {
11542
- .wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry {
11543
- float: none;
11544
- width: 100%;
11545
- }
11546
- .wpr-timeline-centered .wpr-right-aligned .wpr-icon {
11547
- -webkit-transform: translate(-50%, -50%) !important;
11548
- -ms-transform: translate(-50%, -50%) !important;
11549
- transform: translate(-50%, -50%) !important;
11550
- }
11551
- .wpr-one-sided-timeline .wpr-extra-label {
11552
- position: static !important;
11553
- -webkit-transform: none !important;
11554
- -ms-transform: none !important;
11555
- transform: none !important;
11556
- display: block;
11557
- margin-bottom: 10px;
11558
- }
11559
- .wpr-right-aligned .wpr-extra-label .wpr-label {
11560
- text-align: left !important;
11561
- }
11562
- }
11563
-
11564
-
11565
- /*--------------------------------------------------------------
11566
- == Lottie Animations
11567
- --------------------------------------------------------------*/
11568
- .wpr-lottie-animations-wrapper {
11569
- min-height: 1px;
11570
- }
11571
-
11572
- /* ----------------------------------
11573
- == Flip Carousel
11574
- ------------------------------------ */
11575
- .wpr-flip-carousel-wrapper {
11576
- min-height: 1px;
11577
- }
11578
-
11579
- .wpr-flip-carousel {
11580
- overflow: hidden !important;
11581
- opacity: 0;
11582
- }
11583
-
11584
- .wpr-flip-items-wrapper img {
11585
- margin: auto;
11586
- }
11587
-
11588
- .wpr-flip-items-wrapper {
11589
- list-style-type: none;
11590
- }
11591
-
11592
- .wpr-flip-carousel ul li.flipster__item {
11593
- margin: auto;
11594
- }
11595
-
11596
- .wpr-flip-carousel ul li.flipster__item img {
11597
- width: 100%;
11598
- }
11599
-
11600
- .wpr-flip-carousel .flipster__nav {
11601
- margin: 0;
11602
- }
11603
-
11604
- .wpr-flip-carousel .flipster__button,
11605
- .wpr-flip-carousel .flipcaption,
11606
- .wpr-flip-carousel .flipster__nav__link {
11607
- display: -webkit-box;
11608
- display: -ms-flexbox;
11609
- display: flex;
11610
- -webkit-box-pack: center;
11611
- -ms-flex-pack: center;
11612
- justify-content: center;
11613
- -webkit-box-align: center;
11614
- -ms-flex-align: center;
11615
- align-items: center;
11616
- text-align: center;
11617
- outline: none;
11618
- }
11619
-
11620
- .wpr-flip-carousel .flipster__button {
11621
- opacity: 1;
11622
- }
11623
-
11624
- .wpr-flip-carousel .flipster__nav__link {
11625
- width: 100%;
11626
- height: 100%;
11627
- padding: 0;
11628
- }
11629
-
11630
- .wpr-flip-carousel .flipster__nav__link::after {
11631
- display: none;
11632
- }
11633
-
11634
- .wpr-flip-carousel-navigation {
11635
- display: -webkit-box;
11636
- display: -ms-flexbox;
11637
- display: flex;
11638
- -webkit-box-pack: center;
11639
- -ms-flex-pack: center;
11640
- justify-content: center;
11641
- -webkit-box-align: center;
11642
- -ms-flex-align: center;
11643
- align-items: center;
11644
- text-align: center;
11645
- }
11646
-
11647
- @media screen and (max-width: 768px) {
11648
- .wpr-flip-carousel ul li.flipster__item {
11649
- width: 70%;
11650
- }
11651
- }
11652
-
11653
- /*--------------------------------------------------------------
11654
- == Dual Color Heading
11655
- --------------------------------------------------------------*/
11656
- .wpr-dual-heading-icon-and-desc-top .wpr-dual-heading-wrap {
11657
- display: -webkit-box;
11658
- display: -ms-flexbox;
11659
- display: flex;
11660
- -webkit-box-orient: vertical;
11661
- -webkit-box-direction: reverse;
11662
- -ms-flex-direction: column-reverse;
11663
- flex-direction: column-reverse;
11664
- }
11665
-
11666
- .wpr-dual-heading-icon-top .wpr-dual-heading-wrap {
11667
- display: -webkit-box;
11668
- display: -ms-flexbox;
11669
- display: flex;
11670
- -webkit-box-orient: vertical;
11671
- -webkit-box-direction: normal;
11672
- -ms-flex-direction: column;
11673
- flex-direction: column;
11674
- }
11675
-
11676
- .wpr-dual-heading-icon-top .wpr-dual-heading-icon-wrap {
11677
- -webkit-box-ordinal-group: 0;
11678
- -ms-flex-order: -1;
11679
- order: -1;
11680
- }
11681
-
11682
- .wpr-dual-heading-desc-top .wpr-dual-heading-wrap {
11683
- display: -webkit-box;
11684
- display: -ms-flexbox;
11685
- display: flex;
11686
- -webkit-box-orient: vertical;
11687
- -webkit-box-direction: normal;
11688
- -ms-flex-direction: column;
11689
- flex-direction: column;
11690
- }
11691
-
11692
- .wpr-dual-heading-desc-top .wpr-dual-heading-description {
11693
- -webkit-box-ordinal-group: 0;
11694
- -ms-flex-order: -1;
11695
- order: -1;
11696
- }
11697
-
11698
- .wpr-dual-title {
11699
- margin: 0;
11700
- }
11701
-
11702
- .wpr-dual-title .first,
11703
- .wpr-dual-title .second {
11704
- display: inline-block;
11705
- }
11706
-
11707
- /*--------------------------------------------------------------
11708
- == Taxonomy List
11709
- --------------------------------------------------------------*/
11710
- .wpr-taxonomy-list {
11711
- display: -webkit-box;
11712
- display: -ms-flexbox;
11713
- display: flex;
11714
- list-style: none;
11715
- padding: 0;
11716
- margin: 0;
11717
- }
11718
-
11719
- .wpr-taxonomy-list li {
11720
- text-align: left;
11721
- }
11722
-
11723
- .wpr-taxonomy-list li a {
11724
- display: inline-block;
11725
- text-decoration: none;
11726
- }
11727
-
11728
- .wpr-taxonomy-list i {
11729
- display: block;
11730
- width: 100%;
11731
- height: 100%;
11732
- }
11733
-
11734
- .wpr-taxonomy-list-vertical .wpr-taxonomy-list i,
11735
- .wpr-taxonomy-list span {
11736
- line-height: 1.5;
11737
- vertical-align: middle;
11738
- }
11739
-
11740
- .wpr-taxonomy-list-horizontal .wpr-taxonomy-list li a,
11741
- .wpr-taxonomy-list .wpr-tax-wrap {
11742
- display: -webkit-inline-box;
11743
- display: -ms-inline-flexbox;
11744
- display: inline-flex;
11745
- -webkit-box-pack: center;
11746
- -ms-flex-pack: center;
11747
- justify-content: center;
11748
- -webkit-box-align: center;
11749
- -ms-flex-align: center;
11750
- align-items: center;
11751
- }
11752
-
11753
- .wpr-term-count {
11754
- display: block;
11755
- /* vertical-align: middle; */
11756
- }
11757
-
11758
- .wpr-taxonomy-list-horizontal .wpr-taxonomy-list {
11759
- -ms-flex-wrap: wrap;
11760
- flex-wrap: wrap;
11761
- }
11762
-
11763
- .wpr-taxonomy-list-vertical .wpr-taxonomy-list {
11764
- -webkit-box-orient: vertical;
11765
- -webkit-box-direction: normal;
11766
- -ms-flex-direction: column;
11767
- flex-direction: column;
11768
- }
11769
-
11770
- .wpr-taxonomy-list-vertical .wpr-taxonomy-list li a {
11771
- display: -webkit-box;
11772
- display: -ms-flexbox;
11773
- display: flex;
11774
- -webkit-box-pack: justify;
11775
- -ms-flex-pack: justify;
11776
- justify-content: space-between;
11777
- -webkit-box-align: center;
11778
- -ms-flex-align: center;
11779
- align-items: center;
11780
- }
11781
-
11782
- .wpr-taxonomy-list-vertical .wpr-sub-taxonomy {
11783
- padding-left: 20px;
11784
- }
11785
-
11786
- /*--------------------------------------------------------------
11787
- == Feature List
11788
- --------------------------------------------------------------*/
11789
-
11790
- .wpr-feature-list-left .wpr-feature-list-item {
11791
- display: -webkit-box;
11792
- display: -ms-flexbox;
11793
- display: flex;
11794
- -webkit-box-align: center;
11795
- -ms-flex-align: center;
11796
- align-items: center;
11797
- }
11798
-
11799
- .wpr-feature-list-center .wpr-feature-list-item {
11800
- display: -webkit-box;
11801
- display: -ms-flexbox;
11802
- display: flex;
11803
- -webkit-box-orient: vertical;
11804
- -webkit-box-direction: normal;
11805
- -ms-flex-direction: column;
11806
- flex-direction: column;
11807
- -webkit-box-align: center;
11808
- -ms-flex-align: center;
11809
- align-items: center;
11810
- }
11811
-
11812
- .wpr-feature-list-center .wpr-feature-list-content-wrap {
11813
- text-align: center;
11814
- }
11815
-
11816
- .wpr-feature-list-right .wpr-feature-list-item {
11817
- display: -webkit-box;
11818
- display: -ms-flexbox;
11819
- display: flex;
11820
- -webkit-box-align: center;
11821
- -ms-flex-align: center;
11822
- align-items: center;
11823
- -webkit-box-orient: horizontal;
11824
- -webkit-box-direction: reverse;
11825
- -ms-flex-direction: row-reverse;
11826
- flex-direction: row-reverse;
11827
- }
11828
-
11829
- .wpr-feature-list-right .wpr-feature-list-content-wrap {
11830
- text-align: right;
11831
- }
11832
-
11833
- .wpr-feature-list-align-flex-start .wpr-feature-list-title,
11834
- .wpr-feature-list-align-flex-start .wpr-feature-list-description {
11835
- text-align: left;
11836
- }
11837
-
11838
- .wpr-feature-list-align-flex-end .wpr-feature-list-title,
11839
- .wpr-feature-list-align-flex-end .wpr-feature-list-description {
11840
- text-align: right;
11841
- }
11842
-
11843
- .wpr-feature-list-rhombus .wpr-feature-list-icon-inner-wrap {
11844
- -webkit-transform: rotate(45deg);
11845
- -ms-transform: rotate(45deg);
11846
- transform: rotate(45deg);
11847
- }
11848
-
11849
- .wpr-feature-list-rhombus .wpr-feature-list-icon-wrap i,
11850
- .wpr-feature-list-rhombus .wpr-feature-list-icon-wrap img {
11851
- -webkit-transform: rotate(-45deg);
11852
- -ms-transform: rotate(-45deg);
11853
- transform: rotate(-45deg);
11854
- }
11855
-
11856
- .wpr-feature-list-wrap .wpr-feature-list-icon-inner-wrap {
11857
- display: -webkit-box;
11858
- display: -ms-flexbox;
11859
- display: flex;
11860
- -webkit-box-pack: center;
11861
- -ms-flex-pack: center;
11862
- justify-content: center;
11863
- -webkit-box-align: center;
11864
- -ms-flex-align: center;
11865
- align-items: center;
11866
- overflow: hidden;
11867
- }
11868
-
11869
- .wpr-feature-list {
11870
- padding: 0;
11871
- }
11872
-
11873
- .wpr-feature-list-line-yes .wpr-feature-list-icon-wrap {
11874
- position: relative;
11875
- }
11876
-
11877
- .wpr-feature-list-icon-wrap img {
11878
- width: 100%;
11879
- max-width: 100%;
11880
- }
11881
-
11882
- .wpr-feature-list-center .wpr-feature-list-line {
11883
- display: none;
11884
- }
11885
-
11886
- .wpr-feature-list-item:not(:last-of-type) .wpr-feature-list-line {
11887
- position: absolute;
11888
- top: 100%;
11889
- left: 50%;
11890
- -webkit-transform: translateX(-50%);
11891
- -ms-transform: translateX(-50%);
11892
- transform: translateX(-50%);
11893
- width: 0;
11894
- height: 0;
11895
- }
11896
-
11897
- .wpr-feature-list-item:last-of-type .wpr-feature-list-line {
11898
- display: none;
11899
- }
11900
-
11901
- .wpr-feature-list-title,
11902
- .wpr-feature-list-description {
11903
- margin: 0;
11904
- }
11905
-
11906
- /*--------------------------------------------------------------
11907
- == Section Extensions
11908
- --------------------------------------------------------------*/
11909
- .wpr-particle-wrapper {
11910
- position: absolute;
11911
- top: 0;
11912
- left: 0;
11913
- width: 100%;
11914
- height: 100%;
11915
- z-index: 0;
11916
- }
11917
-
11918
- .wpr-particle-wrapper canvas {
11919
- position: relative;
11920
- z-index: -1;
11921
- }
11922
-
11923
- .wpr-jarallax {
11924
- position: relative;
11925
- -webkit-transition: all 0.9s ease-in-out;
11926
- -o-transition: all 0.9s ease-in-out;
11927
- transition: all 0.9s ease-in-out;
11928
- }
11929
-
11930
- .wpr-parallax-multi-layer {
11931
- position: absolute;
11932
- top: 0;
11933
- left: 0;
11934
- height: 100%;
11935
- width: 100%;
11936
- }
11937
-
11938
- .wpr-parallax-ml-children {
11939
- position: relative;
11940
- display: none;
11941
- }
11942
-
11943
- .wpr-parallax-ml-children img {
11944
- max-width: 100%;
11945
- width: 100%;
11946
- }
11947
-
11948
- .wpr-sticky-section-yes {
11949
- width: 100%;
11950
- }
11951
-
11952
- .wpr-reading-progress-bar-container {
11953
- position: fixed;
11954
- top: 0;
11955
- left: 0;
11956
- width: 100%;
11957
- z-index: 9999999;
11958
- }
11959
-
11960
- .wpr-reading-progress-bar {
11961
- background-color: black;
11962
- width: 0%;
11963
- }
11964
-
11965
- /*--------------------------------------------------------------
11966
- == Single Product Elements (Woocommerce Widgets)
11967
- --------------------------------------------------------------*/
11968
-
11969
- /* Product Title */
11970
- .wpr-product-title {
11971
- margin: 0;
11972
- }
11973
-
11974
- /* Product Stock */
11975
- .wpr-product-stock p {
11976
- margin-bottom: 0;
11977
- }
11978
-
11979
- /* Product Mini Cart */
11980
- .wpr-mini-cart-sidebar-body {
11981
- /* transition-duration: 1s;
11982
- overflow: hidden; */
11983
- }
11984
-
11985
- ul.wpr-woo-mini-cart {
11986
- position: relative;
11987
- /* overflow: auto; */
11988
- /* overflow: -moz-scrollbars-none; */
11989
- scrollbar-width: none;
11990
- }
11991
-
11992
- .wpr-mini-cart .woocommerce-mini-cart::-webkit-scrollbar {
11993
- /* width: 9px;
11994
- background-color: transparent; */
11995
- display: none;
11996
- }
11997
-
11998
- .wpr-mini-cart .woocommerce-mini-cart::-webkit-scrollbar-thumb {
11999
- /* border-left: 6px solid transparent;
12000
- border-right: 3px solid; */
12001
- display: none;
12002
- }
12003
-
12004
- .wpr-woo-mini-cart.ps-container.ps-active-y>.ps-scrollbar-y-rail,
12005
- .wpr-woo-mini-cart.ps.ps--active-y>.ps__rail-y {
12006
- display: block;
12007
- background-color: transparent;
12008
- }
12009
-
12010
- .wpr-woo-mini-cart.ps-container>.ps-scrollbar-y-rail,
12011
- .wpr-woo-mini-cart.ps>.ps__rail-y {
12012
- display: none;
12013
- position: absolute;
12014
- right: 3px;
12015
- width: 3px;
12016
- }
12017
-
12018
- .wpr-woo-mini-cart.ps-container>.ps-scrollbar-y-rail>.ps-scrollbar-y,
12019
- .wpr-woo-mini-cart.ps>.ps__rail-y>.ps__thumb-y {
12020
- position: absolute;
12021
- cursor: pointer;
12022
- right: 0;
12023
- width: 3px;
12024
- }
12025
-
12026
- .wpr-woo-mini-cart .ps-scrollbar-x-rail {
12027
- display: none !important;
12028
- }
12029
-
12030
- .wpr-mini-cart .woocommerce-mini-cart__empty-message {
12031
- text-align: center;
12032
- margin: 0;
12033
- }
12034
-
12035
- .wpr-mini-cart-inner {
12036
- position: relative;
12037
- display: inline-block;
12038
- }
12039
-
12040
- .wpr-mini-cart {
12041
- position: absolute;
12042
- display: none;
12043
- top: 100%;
12044
- z-index: 999;
12045
- }
12046
-
12047
- .wpr-mini-cart .blockOverlay {
12048
- display: none !important;
12049
- }
12050
-
12051
- .wpr-before-remove-from-mini-cart {
12052
- opacity: 0.6;
12053
- }
12054
-
12055
- .wpr-close-cart {
12056
- display: none;
12057
- }
12058
-
12059
- .wpr-mini-cart-sidebar.wpr-close-btn-yes .wpr-close-cart {
12060
- display: -webkit-box;
12061
- display: -ms-flexbox;
12062
- display: flex;
12063
- -webkit-box-pack: justify;
12064
- -ms-flex-pack: justify;
12065
- justify-content: space-between;
12066
- -webkit-box-align: center;
12067
- -ms-flex-align: center;
12068
- align-items: center;
12069
- }
12070
-
12071
- .wpr-mini-cart-sidebar .wpr-close-cart h2 {
12072
- margin: 0;
12073
- }
12074
-
12075
- .wpr-close-cart span::before {
12076
- font-family: "Font Awesome 5 Free";
12077
- content: '\f00d';
12078
- font-weight: 600;
12079
- cursor: pointer;
12080
- }
12081
-
12082
- .wpr-mini-cart-sidebar .wpr-mini-cart {
12083
- background-color: transparent !important;
12084
- }
12085
-
12086
- .wpr-mini-cart-sidebar .wpr-mini-cart,
12087
- .wpr-mini-cart-sidebar .wpr-shopping-cart-wrap {
12088
- position: fixed;
12089
- top: 0;
12090
- left: 0;
12091
- width: 100% !important;
12092
- height: 100%;
12093
- z-index: 999;
12094
- margin: 0 !important;
12095
- }
12096
-
12097
- .wpr-mini-cart-sidebar .wpr-shopping-cart-inner-wrap {
12098
- position: absolute;
12099
- top: 0;
12100
- -webkit-transition: all 1s ease;
12101
- -o-transition: all 1s ease;
12102
- transition: all 1s ease;
12103
- height: 100%;
12104
- display: -webkit-box;
12105
- display: -ms-flexbox;
12106
- display: flex;
12107
- -webkit-box-orient: vertical;
12108
- -webkit-box-direction: normal;
12109
- -ms-flex-direction: column;
12110
- flex-direction: column;
12111
- }
12112
-
12113
- .wpr-mini-cart-sidebar .widget_shopping_cart_content {
12114
- position: relative;
12115
- top: 0;
12116
- -webkit-transition: all 1s ease;
12117
- -o-transition: all 1s ease;
12118
- transition: all 1s ease;
12119
- height: auto;
12120
- -webkit-box-flex: 1;
12121
- -ms-flex: 1;
12122
- flex: 1;
12123
- }
12124
-
12125
- .wpr-subtotal-align-bottom.wpr-mini-cart-sidebar .widget_shopping_cart_content {
12126
- display: -webkit-box;
12127
- display: -ms-flexbox;
12128
- display: flex;
12129
- -webkit-box-orient: vertical;
12130
- -webkit-box-direction: normal;
12131
- -ms-flex-direction: column;
12132
- flex-direction: column;
12133
- }
12134
-
12135
- .wpr-mini-cart-dropdown .wpr-mini-cart-separator {
12136
- display: none;
12137
- }
12138
-
12139
- .wpr-subtotal-align-bottom .wpr-mini-cart-separator {
12140
- -webkit-box-flex: 1;
12141
- -ms-flex: 1;
12142
- flex: 1;
12143
- }
12144
-
12145
- @-webkit-keyframes mini-cart-slide-in-align-left {
12146
- 0% {-webkit-transform: translateX(-100%);transform: translateX(-100%);}
12147
- 100% {-webkit-transform: translateX(0);transform: translateX(0);}
12148
- }
12149
-
12150
- @keyframes mini-cart-slide-in-align-left {
12151
- 0% {-webkit-transform: translateX(-100%);transform: translateX(-100%);}
12152
- 100% {-webkit-transform: translateX(0);transform: translateX(0);}
12153
- }
12154
-
12155
- @-webkit-keyframes mini-cart-slide-out-align-left {
12156
- 0% {-webkit-transform: translateX(0);transform: translateX(0);}
12157
- 100% {-webkit-transform: translateX(-100%);transform: translateX(-100%);}
12158
- }
12159
-
12160
- @keyframes mini-cart-slide-out-align-left {
12161
- 0% {-webkit-transform: translateX(0);transform: translateX(0);}
12162
- 100% {-webkit-transform: translateX(-100%);transform: translateX(-100%);}
12163
- }
12164
-
12165
- @-webkit-keyframes mini-cart-slide-in-align-right {
12166
- 0% {-webkit-transform: translateX(100%);transform: translateX(100%);}
12167
- 100% {-webkit-transform: translateX(0);transform: translateX(0);}
12168
- }
12169
-
12170
- @keyframes mini-cart-slide-in-align-right {
12171
- 0% {-webkit-transform: translateX(100%);transform: translateX(100%);}
12172
- 100% {-webkit-transform: translateX(0);transform: translateX(0);}
12173
- }
12174
-
12175
- @-webkit-keyframes mini-cart-slide-out-align-right {
12176
- 0% {-webkit-transform: translateX(0);transform: translateX(0);}
12177
- 100% {-webkit-transform: translateX(100%);transform: translateX(100%);}
12178
- }
12179
-
12180
- @keyframes mini-cart-slide-out-align-right {
12181
- 0% {-webkit-transform: translateX(0);transform: translateX(0);}
12182
- 100% {-webkit-transform: translateX(100%);transform: translateX(100%);}
12183
- }
12184
-
12185
- .wpr-mini-cart-sidebar.wpr-mini-cart-align-right .wpr-mini-cart-slide-in {
12186
- -webkit-transform: translateX(0);
12187
- -ms-transform: translateX(0);
12188
- transform: translateX(0);
12189
- -webkit-animation-name: mini-cart-slide-in-align-right;
12190
- animation-name: mini-cart-slide-in-align-right;
12191
- -webkit-animation-duration: 0.6s;
12192
- animation-duration: 0.6s;
12193
- -webkit-animation-fill-mode: forwards;
12194
- animation-fill-mode: forwards;
12195
- }
12196
-
12197
- .wpr-mini-cart-sidebar.wpr-mini-cart-align-right .wpr-mini-cart-slide-out {
12198
- -webkit-transform: translateX(100%);
12199
- -ms-transform: translateX(100%);
12200
- transform: translateX(100%);
12201
- -webkit-animation-name: mini-cart-slide-out-align-right;
12202
- animation-name: mini-cart-slide-out-align-right;
12203
- -webkit-animation-duration: 0.6s;
12204
- animation-duration: 0.6s;
12205
- -webkit-animation-fill-mode: forwards;
12206
- animation-fill-mode: forwards;
12207
- }
12208
-
12209
- .wpr-mini-cart-sidebar.wpr-mini-cart-align-left .wpr-mini-cart-slide-in {
12210
- -webkit-transform: translateX(0);
12211
- -ms-transform: translateX(0);
12212
- transform: translateX(0);
12213
- -webkit-animation-name: mini-cart-slide-in-align-left;
12214
- animation-name: mini-cart-slide-in-align-left;
12215
- -webkit-animation-duration: 0.6s;
12216
- animation-duration: 0.6s;
12217
- -webkit-animation-fill-mode: forwards;
12218
- animation-fill-mode: forwards;
12219
- }
12220
-
12221
- .wpr-mini-cart-sidebar.wpr-mini-cart-align-left .wpr-mini-cart-slide-out {
12222
- -webkit-transform: translateX(100%);
12223
- -ms-transform: translateX(100%);
12224
- transform: translateX(100%);
12225
- -webkit-animation-name: mini-cart-slide-out-align-left;
12226
- animation-name: mini-cart-slide-out-align-left;
12227
- -webkit-animation-duration: 0.6s;
12228
- animation-duration: 0.6s;
12229
- -webkit-animation-fill-mode: forwards;
12230
- animation-fill-mode: forwards;
12231
- }
12232
-
12233
- .wpr-mini-cart-btn-icon i {
12234
- position: relative;
12235
- }
12236
-
12237
- .wpr-mini-cart-icon-count {
12238
- position: absolute;
12239
- display: -webkit-inline-box;
12240
- display: -ms-inline-flexbox;
12241
- display: inline-flex;
12242
- -webkit-box-pack: center;
12243
- -ms-flex-pack: center;
12244
- justify-content: center;
12245
- -webkit-box-align: center;
12246
- -ms-flex-align: center;
12247
- align-items: center;
12248
- border-radius: 50%;
12249
- }
12250
-
12251
- .wpr-mini-cart-icon-count-hidden {
12252
- display: none !important;
12253
- }
12254
-
12255
- .wpr-mini-cart-toggle-btn {
12256
- display: -webkit-inline-box;
12257
- display: -ms-inline-flexbox;
12258
- display: inline-flex;
12259
- -webkit-box-align: center;
12260
- -ms-flex-align: center;
12261
- align-items: center;
12262
- }
12263
-
12264
- .wpr-toggle-icon-none .wpr-mini-cart-btn-icon i::before {
12265
- content: "";
12266
- }
12267
-
12268
- .wpr-toggle-icon-bag-light .wpr-mini-cart-btn-icon i::before {
12269
- content: "\e8e3";
12270
- }
12271
-
12272
- .wpr-toggle-icon-bag-medium .wpr-mini-cart-btn-icon i::before {
12273
- content: "\e8e4";
12274
- }
12275
-
12276
- .wpr-toggle-icon-bag-solid .wpr-mini-cart-btn-icon i::before {
12277
- content: "\e8e5";
12278
- }
12279
-
12280
- .wpr-toggle-icon-basket-light .wpr-mini-cart-btn-icon i::before {
12281
- content: "\e8e6";
12282
- }
12283
-
12284
- .wpr-toggle-icon-basket-medium .wpr-mini-cart-btn-icon i::before {
12285
- content: "\e8e7";
12286
- }
12287
-
12288
- .wpr-toggle-icon-basket-solid .wpr-mini-cart-btn-icon i::before {
12289
- content: "\e8e8";
12290
- }
12291
-
12292
- .wpr-toggle-icon-cart-light .wpr-mini-cart-btn-icon i::before {
12293
- content: "\e8e9";
12294
- }
12295
-
12296
- .wpr-toggle-icon-cart-medium .wpr-mini-cart-btn-icon i::before {
12297
- content: "\e8ea";
12298
- }
12299
-
12300
- .wpr-toggle-icon-cart-solid .wpr-mini-cart-btn-icon i::before {
12301
- content: "\e8eb";
12302
- }
12303
-
12304
- .wpr-mini-cart .woocommerce-mini-cart-item.mini_cart_item:before,
12305
- .wpr-mini-cart .woocommerce-mini-cart-item.mini_cart_item:after {
12306
- display: none;
12307
- }
12308
-
12309
- .wpr-woo-mini-cart .woocommerce-mini-cart-item:last-of-type {
12310
- margin-bottom: 0 !important;
12311
- }
12312
-
12313
- .wpr-mini-cart-wrap .woocommerce-mini-cart-item {
12314
- position: relative;
12315
- display: -ms-grid;
12316
- display: grid;
12317
- -ms-grid-columns: 28% auto;
12318
- grid-template-columns: 28% auto;
12319
- width: 100%;
12320
- text-align: left;
12321
- }
12322
-
12323
- .wpr-mini-cart-image {
12324
- margin-right: 15px;
12325
- }
12326
-
12327
- .wpr-mini-cart-image a {
12328
- display: block;
12329
- width: 100%;
12330
- height: 100%;
12331
- }
12332
-
12333
- .wpr-mini-cart-image img,
12334
- .wpr-mini-cart-image a img {
12335
- float: none !important;
12336
- display: block;
12337
- min-width: 100%;
12338
- height: auto;
12339
- margin-left: 0 !important;
12340
- }
12341
-
12342
- .wpr-mini-cart-remove {
12343
- position: absolute;
12344
- right: 0;
12345
- }
12346
-
12347
- .wpr-mini-cart-wrap .woocommerce-mini-cart-item .remove {
12348
- position: relative;
12349
- display: -webkit-box !important;
12350
- display: -ms-flexbox !important;
12351
- display: flex !important;
12352
- -webkit-box-pack: center;
12353
- -ms-flex-pack: center;
12354
- justify-content: center;
12355
- -ms-flex-line-pack: center;
12356
- align-content: center;
12357
- vertical-align: middle;
12358
- text-indent: -9999px;
12359
- }
12360
-
12361
- .wpr-mini-cart-wrap .woocommerce-mini-cart-item a.remove:before {
12362
- font-family: "Font Awesome 5 Free";
12363
- content: '\f00d';
12364
- position: absolute;
12365
- top: 50%;
12366
- -webkit-transform: translateY(-50%);
12367
- -ms-transform: translateY(-50%);
12368
- transform: translateY(-50%);
12369
- text-indent: 0;
12370
- font-weight: 600 !important;
12371
- }
12372
-
12373
- .wpr-mini-cart-wrap .woocommerce-mini-cart-item .remove:hover {
12374
- background-color: transparent;
12375
- color: black;
12376
- }
12377
-
12378
- .wpr-mini-cart-wrap .woocommerce-mini-cart__buttons {
12379
- display: -webkit-box;
12380
- display: -ms-flexbox;
12381
- display: flex;
12382
- -webkit-box-pack: justify;
12383
- -ms-flex-pack: justify;
12384
- justify-content: space-between;
12385
- margin: 0;
12386
- }
12387
-
12388
- .wpr-mini-cart-wrap .woocommerce-mini-cart__buttons a.button {
12389
- width: 50%;
12390
- text-align: center;
12391
- margin: 0;
12392
- }
12393
-
12394
- .wpr-mini-cart .woocommerce-mini-cart__total {
12395
- text-align: center;
12396
- padding: 10px;
12397
- margin: 0;
12398
- }
12399
-
12400
- .wpr-mini-cart dl.variation,
12401
- .wpr-cart-wrapper dl.variation {
12402
- display: -ms-grid !important;
12403
- display: grid !important;
12404
- -ms-grid-columns: 25% 75% !important;
12405
- grid-template-columns: 25% 75% !important;
12406
- }
12407
-
12408
- .wpr-mini-cart dl.variation:before,
12409
- .wpr-cart-wrapper dl.variation:before,
12410
- .wpr-mini-cart dl.variation:after,
12411
- .wpr-cart-wrapper dl.variation:after {
12412
- display: none !important;
12413
- }
12414
-
12415
- .wpr-mini-cart dl.variation dt,
12416
- .wpr-mini-cart dl.variation dd,
12417
- .wpr-cart-wrapper dl.variation dt,
12418
- .wpr-cart-wrapper dl.variation dd {
12419
- float: none !important;
12420
- margin: 0 !important;
12421
- }
12422
-
12423
- dl.variation dd {
12424
- margin-right: 10px !important;
12425
- }
12426
-
12427
- /* Product Media */
12428
- .wpr-product-media-wrap {
12429
- position: relative;
12430
- display: inline-block;
12431
- max-width: 100%;
12432
- }
12433
-
12434
- .wpr-product-media-image {
12435
- display: inline-block;
12436
- position: relative;
12437
- vertical-align: middle;
12438
- overflow: hidden;
12439
- }
12440
-
12441
- .wpr-product-media-caption {
12442
- position: absolute;
12443
- display: -webkit-box;
12444
- display: -ms-flexbox;
12445
- display: flex;
12446
- width: 100%;
12447
- height: 100%;
12448
- }
12449
-
12450
- .wpr-product-media-caption span {
12451
- display: inline-block;
12452
- }
12453
-
12454
- .wpr-pd-image-caption-hover .wpr-product-media-wrap .wpr-product-media-caption {
12455
- opacity: 0;
12456
- -webkit-transition-property: opacity;
12457
- -o-transition-property: opacity;
12458
- transition-property: opacity;
12459
- }
12460
-
12461
- .wpr-pd-image-caption-hover .wpr-product-media-wrap:hover .wpr-product-media-caption {
12462
- opacity: 1;
12463
- }
12464
-
12465
- .wpr-product-media-wrap .slick-track {
12466
- margin: 0;
12467
- }
12468
-
12469
- .wpr-product-thumb-nav {
12470
- display: -webkit-box;
12471
- display: -ms-flexbox;
12472
- display: flex;
12473
- padding: 0;
12474
- margin: 0;
12475
- list-style: none;
12476
- }
12477
-
12478
- .wpr-product-thumb-nav li {
12479
- overflow: hidden;
12480
- cursor: pointer;
12481
- opacity: 0.75;
12482
- }
12483
-
12484
- .wpr-product-thumb-nav li.slick-current {
12485
- opacity: 1;
12486
- }
12487
-
12488
- .wpr-product-thumb-nav li img {
12489
- width: 100%;
12490
- }
12491
-
12492
- .wpr-gallery-lightbox-yes .wpr-product-media-image {
12493
- cursor: pointer;
12494
- }
12495
-
12496
- .wpr-gallery-zoom-yes .wpr-product-media-image:hover img {
12497
- -webkit-transform: scale(1.5);
12498
- -ms-transform: scale(1.5);
12499
- transform: scale(1.5);
12500
- }
12501
-
12502
- .wpr-product-media-onsale {
12503
- position: absolute;
12504
- top: 0;
12505
- left: 0;
12506
- z-index: 2;
12507
- }
12508
-
12509
- .wpr-product-media-wrap .flex-control-thumbs {
12510
- list-style-type: none;
12511
- cursor: pointer;
12512
- }
12513
-
12514
- .wpr-product-media-wrap .flex-control-thumbs li {
12515
- clear: none !important;
12516
- width: 100% !important;
12517
- }
12518
-
12519
- .wpr-product-media-wrap .swiper {
12520
- overflow: hidden;
12521
- }
12522
-
12523
- /* Product Media 2 */
12524
- .wpr-product-media-wrap .woocommerce-product-gallery {
12525
- width: 100%;
12526
- }
12527
-
12528
- .woocommerce [data-elementor-type="wpr-theme-builder"] #content div.product div.images,
12529
- .woocommerce div.product[data-elementor-type="wpr-theme-builder"] div.images,
12530
- .woocommerce-page [data-elementor-type="wpr-theme-builder"] #content div.product div.images,
12531
- .woocommerce-page div.product[data-elementor-type="wpr-theme-builder"] div.images {
12532
- float: none;
12533
- width: 100%;
12534
- height: auto;
12535
- margin-bottom: 0;
12536
- }
12537
-
12538
- [data-elementor-type="wpr-theme-builder"].product-type-simple .wpr-gallery-slider-arrows-wrap {
12539
- display: none;
12540
- }
12541
-
12542
- [data-elementor-type="wpr-theme-builder"] ul.flex-direction-nav {
12543
- position: absolute;
12544
- top: 90%;
12545
- /* transform: translateY(-50%); */
12546
- z-index: -9;
12547
- display: -webkit-box;
12548
- display: -ms-flexbox;
12549
- display: flex;
12550
- -webkit-box-pack: justify;
12551
- -ms-flex-pack: justify;
12552
- justify-content: space-between;
12553
- -webkit-box-align: center;
12554
- -ms-flex-align: center;
12555
- align-items: center;
12556
- width: 100%;
12557
- left: 0;
12558
- margin: 0;
12559
- padding: 0px;
12560
- list-style: none;
12561
- }
12562
-
12563
- .wpr-product-media-wrap .flex-direction-nav li {
12564
- /* background: rgba(96, 91, 229, 0.87); */
12565
- position: relative;
12566
- }
12567
-
12568
- [data-elementor-type="wpr-theme-builder"] .wpr-product-media-wrap a.flex-next {
12569
- visibility:hidden;
12570
- overflow: hidden;
12571
- }
12572
- [data-elementor-type="wpr-theme-builder"] .wpr-product-media-wrap a.flex-prev {
12573
- visibility:hidden;
12574
- overflow: hidden;
12575
- }
12576
-
12577
- [data-elementor-type="wpr-theme-builder"] a.flex-next::after {
12578
- visibility:visible;
12579
- content: '\f054';
12580
- font-family: 'Font Awesome 5 Free';
12581
- position: absolute;
12582
- top: 0;
12583
- right: 0;
12584
- }
12585
-
12586
- [data-elementor-type="wpr-theme-builder"] a.flex-prev::before {
12587
- visibility:visible;
12588
- content: '\f053';
12589
- font-family: 'Font Awesome 5 Free';
12590
- position: absolute;
12591
- top: 0;
12592
- left: 0;
12593
- }
12594
-
12595
- [data-elementor-type="wpr-theme-builder"] ul.flex-direction-nav li a {
12596
- color: #ccc;
12597
- }
12598
-
12599
- [data-elementor-type="wpr-theme-builder"] ul.flex-direction-nav li a:hover {
12600
- text-decoration: none;
12601
- }
12602
-
12603
- .wpr-product-media-wrap .wpr-product-sales-badge {
12604
- position: absolute;
12605
- top: 0;
12606
- left: 0;
12607
- z-index: 2;
12608
- display: inline-block;
12609
- }
12610
-
12611
- .wpr-product-media-wrap .wpr-product-media-lightbox,
12612
- .woocommerce div.product[data-elementor-type="wpr-theme-builder"] div.images .woocommerce-product-gallery__trigger {
12613
- position: absolute;
12614
- top: 0;
12615
- right: 0;
12616
- }
12617
-
12618
- .wpr-product-media-wrap .woocommerce-product-gallery__trigger {
12619
- display: none;
12620
- opacity: 0 !important;
12621
- z-index: 99;
12622
- }
12623
-
12624
- .pswp__caption__center {
12625
- text-align: center;
12626
- }
12627
-
12628
- /* Product Tabs */
12629
- .wpr-product-tabs p {
12630
- margin: 0;
12631
- }
12632
-
12633
- .wpr-product-tabs ol,
12634
- .wpr-product-tabs ul {
12635
- padding: 0;
12636
- }
12637
-
12638
- .wpr-product-tabs .woocommerce-noreviews {
12639
- margin-bottom: 10px;
12640
- }
12641
-
12642
- .woocommerce div.product .wpr-product-tabs .woocommerce-tabs ul.tabs,
12643
- .woocommerce div.product .wpr-product-tabs .woocommerce-tabs ul.tabs li {
12644
- overflow: visible;
12645
- padding: 0;
12646
- margin: 0;
12647
- border: none;
12648
- background-color: transparent;
12649
- }
12650
-
12651
- .woocommerce div.product .wpr-product-tabs .woocommerce-tabs ul.tabs li a {
12652
- display: block;
12653
- font-weight: normal;
12654
- }
12655
-
12656
- .woocommerce div.product .wpr-product-tabs .woocommerce-tabs ul.tabs::before,
12657
- .woocommerce div.product .wpr-product-tabs .woocommerce-tabs ul.tabs::after,
12658
- .woocommerce div.product .wpr-product-tabs .woocommerce-tabs ul.tabs li::before,
12659
- .woocommerce div.product .wpr-product-tabs .woocommerce-tabs ul.tabs li::after {
12660
- display: none;
12661
- }
12662
-
12663
- .wpr-tabs-position-above .wpr-product-tabs .woocommerce-tabs ul.tabs li.active:after {
12664
- content: ' ';
12665
- display: block;
12666
- border: none;
12667
- -webkit-box-shadow: none;
12668
- box-shadow: none;
12669
- padding: 0;
12670
- margin: 0;
12671
- position: static;
12672
- margin-left: auto;
12673
- margin-right: auto;
12674
- }
12675
-
12676
- .wpr-tabs-position-above .wpr-product-tabs .woocommerce-tabs ul.tabs li a {
12677
- border-bottom: none !important;
12678
- }
12679
-
12680
- .elementor-widget-wpr-product-tabs .wc-tabs,
12681
- .wpr-tabs-position-left .elementor-widget-container .wc-tabs-wrapper,
12682
- .wpr-tabs-position-right .elementor-widget-container .wc-tabs-wrapper {
12683
- display: -moz-flex;
12684
- display: -ms-flex;
12685
- display: -o-flex;
12686
- display: -webkit-box;
12687
- display: -ms-flexbox;
12688
- display: flex;
12689
- }
12690
-
12691
- .elementor-widget-wpr-product-tabs.wpr-tabs-position-above .wc-tabs {
12692
- -webkit-box-align: end;
12693
- -ms-flex-align: end;
12694
- align-items: flex-end;
12695
- }
12696
-
12697
- .wpr-tabs-position-left>.elementor-widget-container .wc-tabs,
12698
- .wpr-tabs-position-right>.elementor-widget-container .wc-tabs {
12699
- -webkit-box-orient: vertical;
12700
- -webkit-box-direction: normal;
12701
- -ms-flex-direction: column;
12702
- flex-direction: column;
12703
- }
12704
-
12705
- .wpr-tabs-position-left>.elementor-widget-container>.wc-tabs-wrapper {
12706
- -webkit-box-orient: horizontal;
12707
- -webkit-box-direction: normal;
12708
- -ms-flex-direction: row;
12709
- flex-direction: row;
12710
- }
12711
-
12712
- .wpr-tabs-position-right>.elementor-widget-container .wc-tabs-wrapper {
12713
- -webkit-box-orient: horizontal;
12714
- -webkit-box-direction: reverse;
12715
- -ms-flex-direction: row-reverse;
12716
- flex-direction: row-reverse;
12717
- }
12718
-
12719
- /* Tabs Position */
12720
- .wpr-tabs-hr-position-center>.elementor-widget-container .wc-tabs,
12721
- .wpr-tabs-hr-position-center>.elementor-widget-container>.wc-tabs-wrapper {
12722
- -webkit-box-pack: center;
12723
- -ms-flex-pack: center;
12724
- justify-content: center;
12725
- }
12726
-
12727
- .wpr-tabs-hr-position-center>.elementor-widget-container .wc-tabs,
12728
- .wpr-tabs-hr-position-center>.elementor-widget-container>.wc-tabs-wrapper {
12729
- -webkit-box-align: center;
12730
- -ms-flex-align: center;
12731
- align-items: center;
12732
- }
12733
-
12734
- .wpr-tabs-hr-position-left>.elementor-widget-container .wc-tabs {
12735
- -webkit-box-align: start;
12736
- -ms-flex-align: start;
12737
- align-items: flex-start;
12738
- }
12739
-
12740
- .wpr-tabs-hr-position-right>.elementor-widget-container .wc-tabs{
12741
- -webkit-box-pack: end;
12742
- -ms-flex-pack: end;
12743
- justify-content: flex-end;
12744
- }
12745
-
12746
- .wpr-tabs-hr-position-right>.elementor-widget-container .wc-tabs {
12747
- -webkit-box-align: end;
12748
- -ms-flex-align: end;
12749
- align-items: flex-end;
12750
- }
12751
-
12752
- .elementor-widget-wpr-product-tabs:not(.wpr-tabs-hr-position-left):not(.wpr-tabs-hr-position-right):not(.wpr-tabs-hr-position-center) .elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap {
12753
- width: 100%;
12754
- }
12755
-
12756
- .elementor-widget-wpr-product-tabs:not(.wpr-tabs-hr-position-left):not(.wpr-tabs-hr-position-right):not(.wpr-tabs-hr-position-center) .elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab {
12757
- -webkit-box-flex: 1;
12758
- -ms-flex-positive: 1;
12759
- flex-grow: 1;
12760
- -ms-flex-preferred-size: 0;
12761
- flex-basis: 0;
12762
- }
12763
-
12764
- .elementor-widget-wpr-product-tabs:not(.wpr-tabs-hr-position-left):not(.wpr-tabs-hr-position-right):not(.wpr-tabs-hr-position-center) .elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:first-of-type {
12765
- margin-left: 0 !important;
12766
- }
12767
-
12768
- .elementor-widget-wpr-product-tabs:not(.wpr-tabs-hr-position-left):not(.wpr-tabs-hr-position-right):not(.wpr-tabs-hr-position-center) .elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:last-of-type {
12769
- margin-right: 0 !important;
12770
- }
12771
-
12772
- .elementor-widget-wpr-product-tabs:not(.wpr-tabs-hr-position-left):not(.wpr-tabs-hr-position-right):not(.wpr-tabs-hr-position-center) .elementor-widget-container>.wpr-tabs .wc-tabs {
12773
- width: 100%;
12774
- }
12775
-
12776
- .elementor-widget-wpr-product-tabs:not(.wpr-tabs-hr-position-left):not(.wpr-tabs-hr-position-right):not(.wpr-tabs-hr-position-center) .elementor-widget-container .wc-tabs li {
12777
- -webkit-box-flex: 1;
12778
- -ms-flex-positive: 1;
12779
- flex-grow: 1;
12780
- -ms-flex-preferred-size: 0;
12781
- flex-basis: 0;
12782
- }
12783
-
12784
- .elementor-widget-wpr-product-tabs .wc-tabs li {
12785
- position: relative;
12786
- text-align: center;
12787
- }
12788
-
12789
- .woocommerce div.product .wpr-product-tabs .woocommerce-tabs .panel {
12790
- margin: 0;
12791
- }
12792
-
12793
- .elementor-widget-wpr-product-tabs .woocommerce-Tabs-panel {
12794
- width: 100%;
12795
- display: none;
12796
- }
12797
-
12798
- .woocommerce .elementor-widget-wpr-product-tabs table.shop_attributes {
12799
- margin-bottom: 0;
12800
- }
12801
-
12802
- .wpr-product-additional-information table.shop_attributes {
12803
- margin-bottom: 0;
12804
- }
12805
-
12806
- .wpr-product-additional-information table td,
12807
- .wpr-product-additional-information table th,
12808
- .elementor-widget-wpr-product-tabs table td,
12809
- .elementor-widget-wpr-product-tabs table th {
12810
- vertical-align: middle;
12811
- }
12812
-
12813
- .elementor-widget-wpr-product-tabs .wpr-product-tabs table,
12814
- .elementor-widget-wpr-product-tabs .wpr-product-tabs tr th,
12815
- .elementor-widget-wpr-product-tabs .wpr-product-tabs tr td,
12816
- .wpr-product-additional-information table.shop_attributes,
12817
- .wpr-product-additional-information table.shop_attributes td,
12818
- .wpr-product-additional-information table.shop_attributes th {
12819
- border: none;
12820
- }
12821
-
12822
- /* according to woocommerce styles line-height */
12823
- .elementor-widget-wpr-product-tabs .form-submit #submit {
12824
- line-height: 1;
12825
- }
12826
-
12827
- .elementor-widget-wpr-product-tabs #reviews #comments ol.commentlist li .comment-text {
12828
- margin: 0 0 0 50px;
12829
- border: 1px solid;
12830
- border-radius: 4px;
12831
- padding: 1em 1em 0;
12832
- }
12833
-
12834
- .elementor-widget-wpr-product-tabs .comment_container {
12835
- position: relative;
12836
- }
12837
-
12838
- .elementor-widget-wpr-product-tabs .comment-reply-title {
12839
- display: none;
12840
- }
12841
-
12842
- .elementor-widget-wpr-product-tabs #reviews #comments ol.commentlist li .comment-text .description p {
12843
- margin-bottom: 0;
12844
- }
12845
-
12846
- .elementor-widget-wpr-product-tabs .commentlist li {
12847
- margin-bottom: 10px;
12848
- }
12849
-
12850
- .wpr-individual-rating {
12851
- display: -webkit-box;
12852
- display: -ms-flexbox;
12853
- display: flex;
12854
- -webkit-box-align: center;
12855
- -ms-flex-align: center;
12856
- align-items: center;
12857
- }
12858
-
12859
- .wpr-product-tabs h2.woocommerce-Reviews-title:first-of-type {
12860
- display: none;
12861
- }
12862
-
12863
- .elementor-widget-wpr-product-tabs .woocommerce-Reviews .comment_container {
12864
- border-bottom: none;
12865
- padding: 0;
12866
- margin: 0;
12867
- }
12868
-
12869
- .wpr-individual-rating-cont {
12870
- position: relative;
12871
- display: inline-block;
12872
- width: 150px;
12873
- }
12874
-
12875
- .wpr-individual-rating-cont span {
12876
- position: absolute;
12877
- top: 0;
12878
- left: 0;
12879
- display: inline-block;
12880
- height: 100%;
12881
- background-color: black;
12882
- }
12883
-
12884
- .elementor-widget-wpr-product-tabs #reviews #comments ol.commentlist li img.avatar {
12885
- float: left;
12886
- position: absolute;
12887
- top: 0;
12888
- left: 0;
12889
- padding: 0;
12890
- width: 32px;
12891
- height: auto;
12892
- background: #ebe9eb;
12893
- border: 1px solid #e4e1e3;
12894
- margin: 0;
12895
- -webkit-box-shadow: none;
12896
- box-shadow: none;
12897
- }
12898
-
12899
- .elementor-widget-wpr-product-tabs p.stars a {
12900
- position: relative;
12901
- height: 1em;
12902
- width: 1em;
12903
- text-indent: -999em;
12904
- display: inline-block;
12905
- text-decoration: none;
12906
- -webkit-box-shadow: none;
12907
- box-shadow: none;
12908
- margin: 0;
12909
- font-size: inherit;
12910
- border: none;
12911
- width: 15px;
12912
- text-indent: -999999px;
12913
- }
12914
-
12915
- .elementor-widget-wpr-product-tabs p.stars.selected a.active:before,
12916
- .elementor-widget-wpr-product-tabs p.stars:hover a:before,
12917
- .elementor-widget-wpr-product-tabs p.stars.selected a:not(.active):before,
12918
- .elementor-widget-wpr-product-tabs p.stars.selected a.active:before {
12919
- content: "\e020";
12920
- }
12921
-
12922
- .elementor-widget-wpr-product-tabs p.stars a:before,
12923
- .elementor-widget-wpr-product-tabs p.stars a:hover~a:before,
12924
- .elementor-widget-wpr-product-tabs p.stars.selected a.active~a:before {
12925
- content: "\e021";
12926
- }
12927
-
12928
- .elementor-widget-wpr-product-tabs p.stars a::before {
12929
- display: block;
12930
- position: absolute;
12931
- top: 0;
12932
- left: 0;
12933
- width: 1em;
12934
- height: 1em;
12935
- line-height: 1;
12936
- font-family: WooCommerce;
12937
- content: "\e021";
12938
- text-indent: 0;
12939
- opacity: 1;
12940
- font-size: inherit;
12941
- }
12942
-
12943
- .elementor-widget-wpr-product-tabs p.stars a:hover::before {
12944
- content: "\e020";
12945
- }
12946
-
12947
- .elementor-widget-wpr-product-tabs p.stars a.active::before {
12948
- content: "\e020";
12949
- }
12950
-
12951
- .elementor-widget-wpr-product-tabs .star-rating::before {
12952
- /* content: "\e021\e021\e021\e021\e021"; */
12953
- color: black;
12954
- float: left;
12955
- top: 0;
12956
- left: 0;
12957
- position: absolute;
12958
- }
12959
-
12960
- .elementor-widget-wpr-product-tabs .star-rating span::before {
12961
- /* content: "\e020\e020\e020\e020\e020"; */
12962
- top: 0;
12963
- position: absolute;
12964
- left: 0;
12965
- }
12966
-
12967
- .elementor-widget-wpr-product-tabs .comment-form-author,
12968
- .elementor-widget-wpr-product-tabs .comment-form-email {
12969
- float: left;
12970
- }
12971
-
12972
- .elementor-widget-wpr-product-tabs.wpr-forms-submit-justify .form-submit input {
12973
- display: block;
12974
- width: 100%;
12975
- }
12976
-
12977
- /* Product Price */
12978
- .wpr-product-price-separate .wpr-product-price del,
12979
- .wpr-product-price-separate .wpr-product-price ins {
12980
- display: block;
12981
- }
12982
- /* Product Rating */
12983
- .wpr-product-rating-flex.wpr-product-rating-left .inner-block {
12984
- -webkit-box-pack: start;
12985
- -ms-flex-pack: start;
12986
- justify-content: flex-start;
12987
- }
12988
-
12989
- .wpr-product-rating-flex.wpr-product-rating-center .inner-block {
12990
- -webkit-box-pack: center;
12991
- -ms-flex-pack: center;
12992
- justify-content: center;
12993
- }
12994
-
12995
- .wpr-product-rating-flex.wpr-product-rating-right .inner-block {
12996
- -webkit-box-pack: end;
12997
- -ms-flex-pack: end;
12998
- justify-content: flex-end;
12999
- }
13000
-
13001
- .wpr-product-rating a {
13002
- display: none;
13003
- }
13004
-
13005
- .wpr-pr-show-text-yes .wpr-product-rating a {
13006
- display: block;
13007
- }
13008
-
13009
- /* Product Meta */
13010
- .wpr-product-meta-left .wpr-product-meta .product_meta {
13011
- -webkit-box-pack: start;
13012
- -ms-flex-pack: start;
13013
- justify-content: flex-start;
13014
- }
13015
-
13016
- .wpr-product-meta-center .wpr-product-meta .product_meta {
13017
- -webkit-box-pack: center;
13018
- -ms-flex-pack: center;
13019
- justify-content: center;
13020
- }
13021
-
13022
- .wpr-product-meta-right .wpr-product-meta .product_meta {
13023
- -webkit-box-pack: end;
13024
- -ms-flex-pack: end;
13025
- justify-content: flex-end;
13026
- }
13027
-
13028
- .wpr-product-meta .sku_wrapper,
13029
- .wpr-product-meta .posted_in,
13030
- .wpr-product-meta .tagged_as {
13031
- display: none;
13032
- position: relative;
13033
- }
13034
-
13035
- /* Product Notices */
13036
- .wpr-checkout-notice .woocommerce-message {
13037
- margin: 0;
13038
- }
13039
-
13040
- /* Add To Cart */
13041
- .wpr-product-add-to-cart * {
13042
- margin: 0;
13043
- padding: 0;
13044
- -webkit-box-sizing: border-box;
13045
- box-sizing: border-box;
13046
- }
13047
-
13048
- .woocommerce div.product .wpr-product-add-to-cart form.cart,
13049
- .woocommerce div.product .wpr-product-add-to-cart form.cart .variations {
13050
- margin: 0;
13051
- }
13052
-
13053
- .woocommerce div.product .wpr-product-add-to-cart form.cart div.quantity {
13054
- margin: 0;
13055
- }
13056
-
13057
- .wpr-product-adc-align-left .cart,
13058
- .wpr-product-adc-align-left .wpr-product-add-to-cart .wpr-quantity-wrapper {
13059
- -webkit-box-pack: start;
13060
- -ms-flex-pack: start;
13061
- justify-content: flex-start;
13062
- }
13063
-
13064
- .wpr-product-adc-align-center .cart,
13065
- .wpr-product-adc-align-center .wpr-product-add-to-cart .wpr-quantity-wrapper {
13066
- -webkit-box-pack: center;
13067
- -ms-flex-pack: center;
13068
- justify-content: center;
13069
- }
13070
-
13071
- .wpr-product-adc-align-right .cart,
13072
- .wpr-product-adc-align-right .wpr-product-add-to-cart .wpr-quantity-wrapper {
13073
- -webkit-box-pack: end;
13074
- -ms-flex-pack: end;
13075
- justify-content: flex-end;
13076
- }
13077
-
13078
- .wpr-add-to-cart-layout-column.wpr-product-adc-align-left .cart {
13079
- -webkit-box-align: start;
13080
- -ms-flex-align: start;
13081
- align-items: flex-start;
13082
- }
13083
-
13084
- .wpr-add-to-cart-layout-column.wpr-product-adc-align-center .cart {
13085
- -webkit-box-align: center;
13086
- -ms-flex-align: center;
13087
- align-items: center;
13088
- }
13089
-
13090
- .wpr-add-to-cart-layout-column.wpr-product-adc-align-right .cart {
13091
- -webkit-box-align: end;
13092
- -ms-flex-align: end;
13093
- align-items: flex-end;
13094
- }
13095
-
13096
- .wpr-add-to-cart-icons-wrap {
13097
- display: -webkit-box;
13098
- display: -ms-flexbox;
13099
- display: flex;
13100
- -webkit-box-orient: vertical;
13101
- -webkit-box-direction: normal;
13102
- -ms-flex-direction: column;
13103
- flex-direction: column;
13104
- }
13105
-
13106
- .wpr-product-add-to-cart .quantity {
13107
- display: -webkit-inline-box;
13108
- display: -ms-inline-flexbox;
13109
- display: inline-flex;
13110
- -webkit-box-pack: center;
13111
- -ms-flex-pack: center;
13112
- justify-content: center;
13113
- -webkit-box-align: center;
13114
- -ms-flex-align: center;
13115
- align-items: center;
13116
- }
13117
-
13118
- .wpr-product-add-to-cart .wpr-quantity-wrapper {
13119
- display: -webkit-inline-box;
13120
- display: -ms-inline-flexbox;
13121
- display: inline-flex;
13122
- -webkit-box-align: center;
13123
- -ms-flex-align: center;
13124
- align-items: center;
13125
- }
13126
-
13127
- .wpr-product-add-to-cart .wpr-quantity-wrapper i {
13128
- cursor: pointer;
13129
- }
13130
-
13131
- .wpr-quantity-wrap {
13132
- width: 100%;
13133
- }
13134
-
13135
- .elementor-widget-wpr-product-add-to-cart:not(.wpr-product-qty-align-default) .wpr-quantity-wrapper .qty {
13136
- -webkit-appearance: textfield;
13137
- -moz-appearance: textfield;
13138
- appearance: textfield;
13139
- }
13140
-
13141
- .elementor-widget-wpr-product-add-to-cart:not(.wpr-product-qty-align-default) .wpr-quantity-wrapper .qty::-webkit-inner-spin-button,
13142
- .wpr-quantity-wrap .qty::-webkit-outer-spin-button {
13143
- -webkit-appearance: none;
13144
- }
13145
-
13146
- .wpr-product-add-to-cart .quantity .qty,
13147
- .wpr-product-add-to-cart .wpr-quantity-wrapper i {
13148
- display: -webkit-box;
13149
- display: -ms-flexbox;
13150
- display: flex;
13151
- -webkit-box-pack: center;
13152
- -ms-flex-pack: center;
13153
- justify-content: center;
13154
- -webkit-box-align: center;
13155
- -ms-flex-align: center;
13156
- align-items: center;
13157
- }
13158
-
13159
- .wpr-buttons-layout-row .woocommerce-variation-add-to-cart {
13160
- display: -webkit-inline-box;
13161
- display: -ms-inline-flexbox;
13162
- display: inline-flex;
13163
- -webkit-box-align: center;
13164
- -ms-flex-align: center;
13165
- align-items: center;
13166
- }
13167
-
13168
- .wpr-buttons-layout-column .woocommerce-variation-add-to-cart {
13169
- display: -webkit-inline-box;
13170
- display: -ms-inline-flexbox;
13171
- display: inline-flex;
13172
- }
13173
-
13174
- /* .wpr-product-qty-align-left.wpr-buttons-layout-column .woocommerce-variation-add-to-cart .quantity, */
13175
- .wpr-product-qty-align-left.wpr-buttons-layout-column .woocommerce-variation-add-to-cart .wpr-quantity-wrapper {
13176
- -ms-flex-item-align: start;
13177
- align-self: flex-start;
13178
- }
13179
-
13180
- /* .wpr-product-qty-align-center.wpr-buttons-layout-column .woocommerce-variation-add-to-cart .quantity, */
13181
- .wpr-product-qty-align-center.wpr-buttons-layout-column .woocommerce-variation-add-to-cart .wpr-quantity-wrapper {
13182
- -ms-flex-item-align: center;
13183
- -ms-grid-row-align: center;
13184
- align-self: center;
13185
- }
13186
-
13187
- /* .wpr-product-qty-align-right.wpr-buttons-layout-column .woocommerce-variation-add-to-cart .quantity, */
13188
- .wpr-product-qty-align-right.wpr-buttons-layout-column .woocommerce-variation-add-to-cart .wpr-quantity-wrapper {
13189
- -ms-flex-item-align: end;
13190
- align-self: flex-end;
13191
- }
13192
-
13193
- .wpr-product-qty-align-before .wpr-quantity-wrapper i:first-child {
13194
- border-right: 0 !important;
13195
- border-bottom: 0 !important;
13196
- }
13197
-
13198
- .wpr-product-qty-align-before .wpr-quantity-wrapper i:last-child {
13199
- border-right: 0 !important;
13200
- }
13201
-
13202
- .wpr-product-qty-align-after .wpr-quantity-wrapper i:first-child {
13203
- border-left: 0 !important;
13204
- border-bottom: 0 !important;
13205
- }
13206
-
13207
- .wpr-product-qty-align-after .wpr-quantity-wrapper i:last-child {
13208
- border-left: 0 !important;
13209
- }
13210
-
13211
- .wpr-product-qty-align-both .wpr-quantity-wrapper i:first-child {
13212
- border-right: 0 !important;
13213
- }
13214
-
13215
- .wpr-product-qty-align-both .wpr-quantity-wrapper i:last-child {
13216
- border-left: 0 !important;
13217
- }
13218
-
13219
- .woocommerce div.product .wpr-product-add-to-cart form.cart .group_table td {
13220
- vertical-align: middle;
13221
- padding: 0;
13222
- }
13223
-
13224
- .wpr-product-add-to-cart .reset_variations {
13225
- display: none;
13226
- }
13227
-
13228
- .wpr-variations-layout-column .variations tr th,
13229
- .wpr-variations-layout-column .variations tr td {
13230
- padding: 0;
13231
- width: 100%;
13232
- }
13233
-
13234
- /* External/Afiiliate button */
13235
- .woocommerce-grouped-product-list-item a.button {
13236
- display: -webkit-inline-box;
13237
- display: -ms-inline-flexbox;
13238
- display: inline-flex;
13239
- -webkit-box-pack: center;
13240
- -ms-flex-pack: center;
13241
- justify-content: center;
13242
- -webkit-box-align: center;
13243
- -ms-flex-align: center;
13244
- align-items: center;
13245
- width: 100%;
13246
- font-weight: 400;
13247
- }
13248
-
13249
- /* Sales Badge */
13250
- .wpr-product-sales-badge span {
13251
- display: inline-block;
13252
- }
13253
-
13254
- /* Rating */
13255
- .wpr-product-rating .wpr-woo-rating i:before {
13256
- content: '\002605' !important;
13257
- }
13258
-
13259
- .wpr-product-add-to-cart a.added_to_cart {
13260
- text-align: center;
13261
- }
13262
-
13263
- .wpr-product-add-to-cart .available-on-backorder,
13264
- .wpr-product-add-to-cart .out-of-stock,
13265
- .wpr-product-add-to-cart .in-stock {
13266
- display: none;
13267
- }
13268
-
13269
- /*--------------------------------------------------------------
13270
- == Cart Page
13271
- --------------------------------------------------------------*/
13272
- .wpr-cart-wrapper,
13273
- .wpr-cart-section-wrap .coupon {
13274
- display: -webkit-box;
13275
- display: -ms-flexbox;
13276
- display: flex;
13277
- }
13278
-
13279
- .wpr-cart-section-table-wrap,
13280
- .wpr-cart-wrapper .cart_totals {
13281
- overflow-x: auto;
13282
- }
13283
-
13284
- .wpr-cart-section-table-wrap table.shop_table {
13285
- margin-bottom: 0;
13286
- }
13287
-
13288
- .wpr-cart-section-table-wrap table.shop_table,
13289
- .cart_totals table.shop_table {
13290
- border: none;
13291
- }
13292
-
13293
- .wpr-cart-wrapper table.shop_table,
13294
- .woocommerce-cart .cart-collaterals .cart_totals table {
13295
- border-collapse: collapse;
13296
- }
13297
-
13298
- .wpr-cart-wrapper table th,
13299
- .wpr-cart-wrapper table td {
13300
- border: 0;
13301
- }
13302
-
13303
- .wpr-cart-wrapper form .form-row {
13304
- margin: 0;
13305
- }
13306
-
13307
- .wpr-cart-wrapper table.shop_table {
13308
- /* border-collapse: collapse !important; */
13309
- border-radius: 0;
13310
- }
13311
-
13312
- .wpr-cart-wrapper table.shop_table td {
13313
- border: none;
13314
- }
13315
-
13316
- .elementor-widget[class*="elementor-widget-wpr-"] table.shop_table .variation {
13317
- display: -webkit-box;
13318
- display: -ms-flexbox;
13319
- display: flex;
13320
- }
13321
-
13322
- .elementor-widget[class*="elementor-widget-wpr-"] table.shop_table .wc-item-meta li {
13323
- display: -webkit-inline-box;
13324
- display: -ms-inline-flexbox;
13325
- display: inline-flex;
13326
- margin-right: 10px;
13327
- }
13328
-
13329
- .elementor-widget[class*="elementor-widget-wpr-"] .variation-Size,
13330
- .elementor-widget[class*="elementor-widget-wpr-"] .wc-item-meta-label {
13331
- float: none !important;
13332
- }
13333
-
13334
- .wpr-cart-vertical .wpr-cart-wrapper {
13335
- -webkit-box-orient: vertical;
13336
- -webkit-box-direction: normal;
13337
- -ms-flex-direction: column;
13338
- flex-direction: column;
13339
- }
13340
-
13341
- @media screen and (max-width: 881px) {
13342
- .wpr-cart-horizontal .wpr-cart-wrapper {
13343
- -webkit-box-orient: vertical;
13344
- -webkit-box-direction: normal;
13345
- -ms-flex-direction: column;
13346
- flex-direction: column;
13347
- }
13348
- }
13349
-
13350
- .wpr-cart-wrapper table.shop_table img {
13351
- vertical-align: middle;
13352
- }
13353
-
13354
- .wpr-cart-horizontal .wpr-cart-wrapper .cart-collaterals .cart_totals,
13355
- .wpr-cart-vertical .cart-collaterals .cart_totals {
13356
- float: none;
13357
- width: 100%;
13358
- }
13359
-
13360
- .wpr-cart-sticky-yes .cart-collaterals {
13361
- position: sticky;
13362
- top: 0;
13363
- }
13364
-
13365
- .wpr-cart-wrapper .select2-selection--single .select2-selection__rendered {
13366
- padding-left: 0;
13367
- }
13368
-
13369
- .wpr-checkout-flex-justify .wc-proceed-to-checkout a {
13370
- width: 100%;
13371
- }
13372
-
13373
- .wpr-cart-wrapper .form-row.coupon-col {
13374
- display: -webkit-box;
13375
- display: -ms-flexbox;
13376
- display: flex;
13377
- -webkit-box-align: center;
13378
- -ms-flex-align: center;
13379
- align-items: center;
13380
- }
13381
-
13382
- .wpr-cart-wrapper .form-row.coupon-col .coupon-col-start {
13383
- /* flex: 2; */
13384
- }
13385
-
13386
- .wpr-cart-wrapper .form-row.coupon-col .coupon-col-end {
13387
- /* flex: 1; */
13388
- height: 100%;
13389
- }
13390
-
13391
- .wpr-cart-wrapper .form-row.coupon-col .coupon-col-end button {
13392
- width: 100%;
13393
- height: 100%;
13394
- }
13395
-
13396
- .wpr-cart-wrapper a.remove:before {
13397
- font-family: "Font Awesome 5 Free";
13398
- content: '\f00d';
13399
- position: absolute;
13400
- top: 50%;
13401
- -webkit-transform: translateY(-50%);
13402
- -ms-transform: translateY(-50%);
13403
- transform: translateY(-50%);
13404
- text-indent: 0;
13405
- }
13406
-
13407
- .wpr-cart-wrapper .product-remove .remove {
13408
- position: relative;
13409
- display: -webkit-inline-box;
13410
- display: -ms-inline-flexbox;
13411
- display: inline-flex;
13412
- -webkit-box-pack: center;
13413
- -ms-flex-pack: center;
13414
- justify-content: center;
13415
- -ms-flex-line-pack: center;
13416
- align-content: center;
13417
- vertical-align: middle;
13418
- text-indent: -9999px;
13419
- }
13420
-
13421
- .wpr-cart-wrapper .product-remove .remove:hover {
13422
- background-color: transparent;
13423
- color: black;
13424
- }
13425
-
13426
- .wpr-cart-wrapper img {
13427
- display: inline;
13428
- }
13429
-
13430
- .wpr-cart-wrapper .select2-selection {
13431
- position: relative;
13432
- }
13433
-
13434
- .wpr-cart-wrapper .select2-container--focus span,
13435
- .wpr-cart-wrapper .select2-container--default .select2-selection--single {
13436
- border: none !important;
13437
- outline: none !important;
13438
- }
13439
-
13440
- /*--------------------------------------------------------------
13441
- == Checkout Page
13442
- --------------------------------------------------------------*/
13443
- .wpr-checkout-order-review-table #order_review table {
13444
- border: none !important;
13445
- }
13446
-
13447
- .wpr-checkout-order-review-table #order_review thead th:first-child {
13448
- border-left-style: none !important;
13449
- border-top-style: none !Important;
13450
- }
13451
-
13452
- .wpr-checkout-order-review-table #order_review thead th:last-child {
13453
- border-right-style: none !important;
13454
- border-top-style: none !Important;
13455
- }
13456
-
13457
- .wpr-checkout-order-review-table #order_review tbody td:first-child {
13458
- border-left-style: none !important;
13459
- }
13460
-
13461
- .wpr-checkout-order-review-table #order_review tbody td:last-child {
13462
- border-right-style: none !important;
13463
- }
13464
-
13465
- .wpr-checkout-order-review-table #order_review tfoot tr th:first-child {
13466
- border-left-style: none !important;
13467
- }
13468
-
13469
- .wpr-checkout-order-review-table #order_review tfoot tr td:last-child {
13470
- border-right-style: none !important;
13471
- }
13472
-
13473
- .wpr-checkout-order-review-table #order_review tfoot tr:last-child td,
13474
- .wpr-checkout-order-review-table #order_review tfoot tr:last-child th {
13475
- border-bottom-style: none !important;
13476
- }
13477
-
13478
- .wpr-checkout-horizontal .woocommerce-checkout .col2-set {
13479
- display: -webkit-box;
13480
- display: -ms-flexbox;
13481
- display: flex;
13482
- -webkit-box-orient: vertical;
13483
- -webkit-box-direction: normal;
13484
- -ms-flex-direction: column;
13485
- flex-direction: column;
13486
- }
13487
-
13488
- /* check why doesn't apply or rendered as different classes */
13489
- .wpr-checkout-horizontal .wpr-customer-details-wrapper {
13490
- display: -webkit-box;
13491
- display: -ms-flexbox;
13492
- display: flex;
13493
- }
13494
-
13495
- .wpr-checkout-horizontal .col2-set .col-1,
13496
- .wpr-checkout-horizontal .col2-set .col-2 {
13497
- float: none;
13498
- width: 100%;
13499
- }
13500
-
13501
- .wpr-checkout-vertical .col2-set .col-1,
13502
- .wpr-checkout-vertical .col2-set .col-2 {
13503
- float: none;
13504
- width: 100%;
13505
- }
13506
-
13507
- .elementor-widget-wpr-page-checkout ul {
13508
- padding: 0;
13509
- }
13510
-
13511
- .elementor-widget-wpr-page-checkout .select2-container--focus span,
13512
- .elementor-widget-wpr-page-checkout .select2-container--default .select2-selection--single {
13513
- border: none !important;
13514
- outline: none !important;
13515
- }
13516
-
13517
- .elementor-widget-wpr-page-checkout .select2-selection {
13518
- position: relative;
13519
- }
13520
-
13521
- .elementor-widget-wpr-page-checkout table.shop_table {
13522
- margin: 0;
13523
- border-collapse: collapse;
13524
- }
13525
-
13526
- .elementor-widget-wpr-page-checkout form .form-row {
13527
- margin: 0;
13528
- }
13529
-
13530
- .elementor-widghet-wpr-page-checkout .woocommerce-form-login__rememberme {
13531
- display: block;
13532
- }
13533
-
13534
- .elementor-widget-wpr-page-checkout select {
13535
- padding: 0;
13536
- }
13537
-
13538
- .elementor-widget-wpr-page-checkout .select2-container .select2-selection--single .select2-selection__rendered {
13539
- padding-left: 0;
13540
- }
13541
-
13542
- @media screen and (max-width: 670px) {
13543
- .wpr-checkout-horizontal .wpr-customer-details-wrapper {
13544
- -webkit-box-orient: vertical;
13545
- -webkit-box-direction: normal;
13546
- -ms-flex-direction: column;
13547
- flex-direction: column;
13548
- }
13549
-
13550
- .wpr-checkout-horizontal .wpr-customer-details-wrapper .wpr-checkout-order-review-table {
13551
- max-width: 100%;
13552
- }
13553
- }
13554
-
13555
- /*--------------------------------------------------------------
13556
- == My Account
13557
- --------------------------------------------------------------*/
13558
- .elementor-widget-wpr-my-account-pro .woocommerce-Message {
13559
- margin: 0;
13560
- }
13561
-
13562
- .elementor-widget-wpr-my-account-pro .woocommerce-MyAccount-navigation ul {
13563
- margin: 0;
13564
- padding: 0;
13565
- list-style-type: none;
13566
- }
13567
-
13568
- .elementor-widget-wpr-my-account-pro .woocommerce-MyAccount-content .shop_table {
13569
- border-collapse: collapse;
13570
- }
13571
-
13572
- .elementor-widget-wpr-my-account-pro .woocommerce-MyAccount-content fieldset {
13573
- border: none;
13574
- padding: 0;
13575
- }
13576
-
13577
- .elementor-widget-wpr-my-account-pro .select2-selection {
13578
- height: auto !important;
13579
- border: none !important;
13580
- }
13581
-
13582
- /* .wpr-my-account-tabs-vertical .wpr-my-account-tab div.woocommerce {
13583
- display: flex;
13584
- } */
13585
-
13586
- .wpr-my-account-tabs-horizontal nav.woocommerce-MyAccount-navigation,
13587
- .wpr-my-account-tabs-horizontal .woocommerce-MyAccount-content {
13588
- float: none;
13589
- width: 100%;
13590
- }
13591
-
13592
- .wpr-my-account-tabs-horizontal nav ul {
13593
- display: -webkit-box;
13594
- display: -ms-flexbox;
13595
- display: flex;
13596
- -webkit-box-pack: justify;
13597
- -ms-flex-pack: justify;
13598
- justify-content: space-between;
13599
- }
13600
-
13601
- .wpr-my-account-tabs-horizontal .woocommerce-MyAccount-navigation-link,
13602
- .woocommerce-MyAccount-navigation-link a {
13603
- display: inline-block;
13604
- }
13605
-
13606
- .wpr-account-tabs-stretch .woocommerce-MyAccount-navigation-link,
13607
- .woocommerce-MyAccount-navigation-link a {
13608
- width: 100%;
13609
- }
13610
-
13611
- .elementor-widget-wpr-my-account-pro .wpr-my-account-tab .woocommerce-form-login__rememberme {
13612
- display: block;
13613
- }
13614
-
13615
- .wpr-my-account-tab p,
13616
- .wpr-my-account-tab table.shop_table,
13617
- .wpr-my-account-tab .woocommerce-order-downloads {
13618
- margin: 0;
13619
- }
13620
-
13621
- @media screen and (max-width: 867px) {
13622
- .woocommerce-account .wpr-my-account-tabs-vertical .woocommerce-MyAccount-navigation {
13623
- float: left;
13624
- }
13625
-
13626
- .woocommerce-account .wpr-my-account-tabs-vertical .woocommerce-MyAccount-content {
13627
- float: right;
13628
- }
13629
- }
13630
-
13631
- @media screen and (max-width: 767px) {
13632
- .wpr-my-account-tabs-horizontal .woocommerce-MyAccount-navigation ul {
13633
- -webkit-box-orient: vertical;
13634
- -webkit-box-direction: normal;
13635
- -ms-flex-direction: column;
13636
- flex-direction: column;
13637
- }
13638
-
13639
- .woocommerce-account .wpr-my-account-tabs-vertical .woocommerce-MyAccount-navigation {
13640
- /* float: left; */
13641
- width: 100% !important;
13642
- }
13643
-
13644
- .woocommerce-account .wpr-my-account-tabs-vertical .woocommerce-MyAccount-content {
13645
- /* float: right; */
13646
- width: 100%!important;
13647
- }
13648
- }
13649
-
13650
- /*--------------------------------------------------------------
13651
- == Product Filters
13652
- --------------------------------------------------------------*/
13653
- /* Filter: Active */
13654
- .wpr-active-filters-horizontal .wpr-product-active-filters {
13655
- display: -webkit-box;
13656
- display: -ms-flexbox;
13657
- display: flex;
13658
- -ms-flex-wrap: wrap;
13659
- flex-wrap: wrap;
13660
- }
13661
-
13662
- .wpr-product-active-filters {
13663
- padding: 0;
13664
- margin: 0;
13665
- list-style: none;
13666
- }
13667
-
13668
- .wpr-product-active-filters li a::before {
13669
- font-family: "Font Awesome 5 Free";
13670
- content: '\f00d';
13671
- top: 50%;
13672
- -webkit-transform: translateY(-50%);
13673
- -ms-transform: translateY(-50%);
13674
- transform: translateY(-50%);
13675
- font-weight: 600 !important;
13676
- }
13677
-
13678
- /* Filter: Rating */
13679
- .wpr-product-filter-title {
13680
- margin: 0;
13681
- }
13682
-
13683
- .wpr-product-filters .wpr-search-form-input-wrap {
13684
- display: -webkit-box;
13685
- display: -ms-flexbox;
13686
- display: flex;
13687
- }
13688
-
13689
- .wpr-product-filter-rating {
13690
- padding: 0;
13691
- margin: 0;
13692
- list-style: none;
13693
- }
13694
-
13695
- .wpr-product-filter-label-left .wpr-product-filter-rating a {
13696
- display: -webkit-box;
13697
- display: -ms-flexbox;
13698
- display: flex;
13699
- }
13700
-
13701
- .wpr-product-filter-label-right .wpr-product-filter-rating a {
13702
- display: -webkit-box;
13703
- display: -ms-flexbox;
13704
- display: flex;
13705
- -webkit-box-pack: justify;
13706
- -ms-flex-pack: justify;
13707
- justify-content: space-between;
13708
- }
13709
-
13710
- .wpr-product-filter-rating .wpr-rating-icon-full {
13711
- color: orange;
13712
- }
13713
-
13714
- .wpr-product-filter-rating .wpr-rating-icon-empty {
13715
- color: lightgray;
13716
- }
13717
-
13718
- .wpr-product-filter-rating.wpr-woo-rating-style-2 i:before {
13719
- content: '\002605';
13720
- }
13721
-
13722
- .wpr-product-filter-rating .wpr-active-product-filter .wpr-rating-icon-full {
13723
- color: red
13724
- }
13725
-
13726
- /* Filter: Attributes */
13727
- .wpr-product-filter-tax-wrap {
13728
- padding: 0;
13729
- margin: 0;
13730
- list-style: none;
13731
- }
13732
-
13733
- .wpr-product-filter-tax-wrap .wpr-active-product-filter {
13734
- color: red;
13735
- }
13736
-
13737
- .wpr-product-filter-tax-wrap li a {
13738
- display: -webkit-box;
13739
- display: -ms-flexbox;
13740
- display: flex;
13741
- -webkit-box-align: center;
13742
- -ms-flex-align: center;
13743
- align-items: center;
13744
- line-height: 1;
13745
- }
13746
-
13747
- .wpr-product-filter-tax-wrap li a span:last-child:not(.wpr-product-filter-tax-name) {
13748
- margin-left: 4px;
13749
- }
13750
-
13751
- .wpr-product-filter-label-right .wpr-product-filter-tax-wrap li a span:last-child:not(.wpr-product-filter-tax-name) {
13752
- margin-left: auto;
13753
- }
13754
-
13755
- .wpr-product-filter-tax-wrap li a span:first-child {
13756
- display: -webkit-inline-box;
13757
- display: -ms-inline-flexbox;
13758
- display: inline-flex;
13759
- -webkit-box-align: center;
13760
- -ms-flex-align: center;
13761
- align-items: center;
13762
- -webkit-box-pack: center;
13763
- -ms-flex-pack: center;
13764
- justify-content: center;
13765
- }
13766
-
13767
- .wpr-active-product-filter:not(.wpr-woo-rating) span:first-child:before {
13768
- content: "\f00c";
13769
- font-family: "Font Awesome 5 Free";
13770
- font-weight: 900;
13771
- }
13772
-
13773
- .wpr-product-filter-tax-child a {
13774
- margin-left: 10px;
13775
- }
13776
-
13777
- /* Filter: Price */
13778
- .wpr-product-filter-price input {
13779
- visibility: hidden;
13780
- }
13781
-
13782
- .wpr-product-filter-price-slider .ui-slider-range {
13783
- position: absolute;
13784
- display: block;
13785
- /* outline aris focusze mosashorebeli */
13786
- }
13787
-
13788
- .wpr-product-filter-price-slider .ui-slider-handle {
13789
- position: absolute;
13790
- cursor: ew-resize;
13791
- }
13792
-
13793
- .wpr-product-filter-slide-handlers-round .wpr-product-filter-price-slider .ui-slider-handle {
13794
- border-radius: 100%;
13795
- }
13796
-
13797
- .wpr-product-filter-slide-handlers-square .wpr-product-filter-price-slider .ui-slider-handle {
13798
- border-radius: 0;
13799
- border: none !important;
13800
- outline: none !important;
13801
- }
13802
-
13803
- .wpr-product-filter-price-amount {
13804
- margin-top: 20px;
13805
- display: -webkit-box;
13806
- display: -ms-flexbox;
13807
- display: flex;
13808
- -webkit-box-pack: justify;
13809
- -ms-flex-pack: justify;
13810
- justify-content: space-between;
13811
- }
13812
-
13813
- .wpr-product-filter-price-btn-right .wpr-product-filter-price-amount {
13814
- -webkit-box-orient: horizontal;
13815
- -webkit-box-direction: reverse;
13816
- -ms-flex-direction: row-reverse;
13817
- flex-direction: row-reverse;
13818
- }
13819
-
13820
- .wpr-product-filters .wpr-product-filter-price-amount button.button {
13821
- font-weight: 400;
1
+ /*--------------------------------------------------------------
2
+ == Reset
3
+ --------------------------------------------------------------*/
4
+ article,
5
+ aside,
6
+ footer,
7
+ header,
8
+ nav,
9
+ section,
10
+ figcaption,
11
+ figure,
12
+ main {
13
+ display: block;
14
+ }
15
+
16
+ hr {
17
+ -webkit-box-sizing: content-box;
18
+ box-sizing: content-box;
19
+ height: 0;
20
+ overflow: visible;
21
+ border: 0;
22
+ height: 1px;
23
+ margin: 20px 0;
24
+ }
25
+
26
+ pre {
27
+ font-family: monospace, monospace;
28
+ font-size: 1em;
29
+ }
30
+
31
+ a {
32
+ text-decoration: none;
33
+ background-color: transparent;
34
+ -webkit-text-decoration-skip: objects;
35
+ }
36
+
37
+ [class*="elementor-widget-wpr-"] a {
38
+ text-decoration: none;
39
+ }
40
+
41
+ abbr[title] {
42
+ text-decoration: underline;
43
+ -webkit-text-decoration: underline dotted;
44
+ text-decoration: underline dotted;
45
+ }
46
+
47
+ b,
48
+ strong {
49
+ font-weight: inherit;
50
+ }
51
+
52
+ b,
53
+ strong {
54
+ font-weight: bolder;
55
+ }
56
+
57
+ code,
58
+ kbd,
59
+ samp {
60
+ font-family: monospace, monospace;
61
+ font-size: 1em;
62
+ }
63
+
64
+ dfn {
65
+ font-style: italic;
66
+ }
67
+
68
+ mark {
69
+ background-color: #ff0;
70
+ color: #000;
71
+ }
72
+
73
+ small {
74
+ font-size: 80%;
75
+ }
76
+
77
+ sub,
78
+ sup {
79
+ font-size: 75%;
80
+ line-height: 0;
81
+ position: relative;
82
+ vertical-align: baseline;
83
+ }
84
+
85
+ sub {
86
+ bottom: -0.25em;
87
+ }
88
+
89
+ sup {
90
+ top: -0.5em;
91
+ }
92
+
93
+ audio,
94
+ video {
95
+ display: inline-block;
96
+ }
97
+
98
+ audio:not([controls]) {
99
+ display: none;
100
+ height: 0;
101
+ }
102
+
103
+ img {
104
+ display: block;
105
+ border-style: none;
106
+ }
107
+
108
+ svg:not(:root) {
109
+ overflow: hidden;
110
+ display: inline;
111
+ }
112
+
113
+ button,
114
+ input {
115
+ overflow: visible;
116
+ outline: 0;
117
+ }
118
+
119
+ button,
120
+ select {
121
+ text-transform: none;
122
+ }
123
+
124
+ button,
125
+ html [type="button"],
126
+ [type="reset"],
127
+ [type="submit"] {
128
+ -webkit-appearance: button;
129
+ }
130
+
131
+ button::-moz-focus-inner,
132
+ [type="button"]::-moz-focus-inner,
133
+ [type="reset"]::-moz-focus-inner,
134
+ [type="submit"]::-moz-focus-inner {
135
+ border-style: none;
136
+ padding: 0;
137
+ }
138
+
139
+ button:-moz-focusring,
140
+ [type="button"]:-moz-focusring,
141
+ [type="reset"]:-moz-focusring,
142
+ [type="submit"]:-moz-focusring {
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;
158
+ color: inherit;
159
+ display: table;
160
+ max-width: 100%;
161
+ padding: 0;
162
+ /* 3 */
163
+ white-space: normal;
164
+ }
165
+
166
+ progress {
167
+ display: inline-block;
168
+ vertical-align: baseline;
169
+ }
170
+
171
+ textarea {
172
+ overflow: auto;
173
+ outline: 0;
174
+ }
175
+
176
+ [type="checkbox"],
177
+ [type="radio"] {
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"] {
205
+ -webkit-appearance: textfield;
206
+ outline-offset: -2px;
207
+ }
208
+
209
+ [type="search"]::-webkit-search-cancel-button,
210
+ [type="search"]::-webkit-search-decoration {
211
+ -webkit-appearance: none;
212
+ }
213
+
214
+ ::-webkit-file-upload-button {
215
+ -webkit-appearance: button;
216
+ font: inherit;
217
+ }
218
+
219
+ details,
220
+ menu {
221
+ display: block;
222
+ }
223
+
224
+ summary {
225
+ display: list-item;
226
+ }
227
+
228
+ canvas {
229
+ display: inline-block;
230
+ }
231
+
232
+ template {
233
+ display: none;
234
+ }
235
+
236
+ [hidden] {
237
+ display: none;
238
+ }
239
+
240
+ /* TODO: Remove this when php part is done */
241
+ .ast-separate-container .ast-article-post,
242
+ .ast-separate-container .ast-article-single {
243
+ padding: 0;
244
+ border: none;
245
+ background-color: transparent;
246
+ }
247
+
248
+ .ast-separate-container .comment-respond {
249
+ padding: 0;
250
+ background-color: transparent;
251
+ }
252
+
253
+
254
+ /*--------------------------------------------------------------
255
+ == General
256
+ --------------------------------------------------------------*/
257
+ /*.wpr-float-align-left .wpr-nav-menu li {
258
+ float: left;
259
+ }
260
+
261
+ .wpr-float-align-right .wpr-nav-menu li {
262
+ float: right;
263
+ }
264
+
265
+ .wpr-float-align-center .wpr-nav-menu {
266
+ width: auto;
267
+ margin: 0 auto;
268
+ }*/
269
+
270
+
271
+ /* Hidden Element */
272
+ .wpr-hidden-element {
273
+ display: none !important;
274
+ }
275
+
276
+
277
+ /* Vertical Centering */
278
+ .wpr-cv-container {
279
+ display: block;
280
+ width: 100%;
281
+ height: 100%;
282
+ position: absolute;
283
+ left: 0;
284
+ top: 0;
285
+ z-index: 90;
286
+ }
287
+
288
+ .wpr-cv-outer {
289
+ display: table;
290
+ width: 100%;
291
+ height: 100%;
292
+ }
293
+
294
+ .wpr-cv-inner {
295
+ display: table-cell;
296
+ vertical-align: middle;
297
+ }
298
+
299
+ .wpr-no-transition-delay {
300
+ -webkit-transition-delay: 0s !important;
301
+ -o-transition-delay: 0s !important;
302
+ transition-delay: 0s !important;
303
+ }
304
+
305
+
306
+ /* Drop Caps */
307
+ .wpr-enable-dropcap p:first-child:first-letter {
308
+ float: left;
309
+ padding-right: 10px;
310
+ font-size: 50px;
311
+ line-height: 1;
312
+ }
313
+
314
+
315
+ /* Tooltips */
316
+ .wpr-tooltip {
317
+ visibility: hidden;
318
+ opacity: 0;
319
+ position: absolute;
320
+ top: 0;
321
+ left: 0;
322
+ -webkit-transform: translateY(-100%);
323
+ -ms-transform: translateY(-100%);
324
+ transform: translateY(-100%);
325
+ padding: 6px 10px;
326
+ border-radius: 4px;
327
+ font-size: 15px;
328
+ -webkit-transition: all 230ms ease-in-out 0s;
329
+ -o-transition: all 230ms ease-in-out 0s;
330
+ transition: all 230ms ease-in-out 0s;
331
+ }
332
+
333
+ .wpr-tooltip:before {
334
+ content: "";
335
+ position: absolute;
336
+ left: 10px;
337
+ bottom: -5px;
338
+ width: 0;
339
+ height: 0;
340
+ border-left: 6px solid transparent;
341
+ border-right: 6px solid transparent;
342
+ border-top-style: solid;
343
+ border-top-width: 6px;
344
+ }
345
+
346
+
347
+ /*--------------------------------------------------------------
348
+ == Nav Menu
349
+ --------------------------------------------------------------*/
350
+ .wpr-nav-menu,
351
+ .wpr-nav-menu ul,
352
+ .wpr-mobile-nav-menu,
353
+ .wpr-mobile-nav-menu ul {
354
+ padding: 0;
355
+ margin: 0;
356
+ list-style: none;
357
+ font-size: 0;
358
+ }
359
+
360
+ .wpr-nav-menu li {
361
+ position: relative;
362
+ }
363
+
364
+ .wpr-nav-menu-horizontal .wpr-nav-menu>li {
365
+ display: inline-block;
366
+ }
367
+
368
+ .wpr-nav-menu .wpr-menu-item {
369
+ display: block;
370
+ position: relative;
371
+ z-index: 1;
372
+ }
373
+
374
+ .wpr-nav-menu li,
375
+ .wpr-mobile-nav-menu li {
376
+ font-size: 16px;
377
+ line-height: 1;
378
+ }
379
+
380
+ .wpr-nav-menu-horizontal .wpr-nav-menu>li:first-child,
381
+ .wpr-pointer-none .wpr-nav-menu-horizontal>li:first-child .wpr-menu-item,
382
+ .wpr-pointer-line-fx .wpr-nav-menu-horizontal>li:first-child .wpr-menu-item {
383
+ padding-left: 0 !important;
384
+ margin-left: 0 !important;
385
+ }
386
+
387
+ .wpr-nav-menu-horizontal .wpr-nav-menu>li:last-child,
388
+ .wpr-pointer-none .wpr-nav-menu-horizontal>li:last-child .wpr-menu-item,
389
+ .wpr-pointer-line-fx .wpr-nav-menu-horizontal>li:last-child .wpr-menu-item {
390
+ padding-right: 0 !important;
391
+ margin-right: 0 !important;
392
+ }
393
+
394
+ div[class*="wpr-main-menu-align-"] .wpr-nav-menu-vertical .wpr-nav-menu>li>.wpr-sub-menu {
395
+ left: 100%;
396
+ }
397
+
398
+ .wpr-main-menu-align-left .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,
399
+ .wpr-main-menu-align-center .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon {
400
+ right: 0;
401
+ }
402
+
403
+ .wpr-main-menu-align-right .wpr-nav-menu-vertical .wpr-sub-icon {
404
+ left: 0;
405
+ }
406
+
407
+ .wpr-main-menu-align-left .wpr-nav-menu-horizontal .wpr-nav-menu,
408
+ .wpr-main-menu-align-left .wpr-nav-menu-vertical .wpr-menu-item,
409
+ .wpr-main-menu-align-left .wpr-nav-menu-vertical .wpr-sub-menu li a {
410
+ text-align: left;
411
+ }
412
+
413
+ .wpr-main-menu-align-center .wpr-nav-menu-horizontal .wpr-nav-menu,
414
+ .wpr-main-menu-align-center .wpr-nav-menu-vertical .wpr-menu-item {
415
+ text-align: center;
416
+ }
417
+
418
+ .wpr-main-menu-align-right .wpr-nav-menu-horizontal .wpr-nav-menu,
419
+ .wpr-main-menu-align-right .wpr-nav-menu-vertical .wpr-menu-item,
420
+ .wpr-main-menu-align-right .wpr-nav-menu-vertical .wpr-sub-menu li a {
421
+ text-align: right;
422
+ }
423
+
424
+ @media screen and ( min-width: 2400px) {
425
+ .wpr-main-menu-align--widescreenleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,
426
+ .wpr-main-menu-align--widescreencenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon {
427
+ right: 0;
428
+ }
429
+ .wpr-main-menu-align--widescreenleft .wpr-nav-menu-horizontal .wpr-nav-menu,
430
+ .wpr-main-menu-align--widescreenleft .wpr-nav-menu-vertical .wpr-menu-item {
431
+ text-align: left;
432
+ }
433
+ .wpr-main-menu-align--widescreencenter .wpr-nav-menu-horizontal .wpr-nav-menu,
434
+ .wpr-main-menu-align--widescreencenter .wpr-nav-menu-vertical .wpr-menu-item {
435
+ text-align: center;
436
+ }
437
+ .wpr-main-menu-align--widescreenright .wpr-nav-menu-horizontal .wpr-nav-menu,
438
+ .wpr-main-menu-align--widescreenright .wpr-nav-menu-vertical .wpr-menu-item {
439
+ text-align: right;
440
+ }
441
+ }
442
+
443
+ @media screen and ( max-width: 1221px) {
444
+ .wpr-main-menu-align--laptopleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,
445
+ .wpr-main-menu-align--laptopcenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon {
446
+ right: 0;
447
+ }
448
+ .wpr-main-menu-align--laptopleft .wpr-nav-menu-horizontal .wpr-nav-menu,
449
+ .wpr-main-menu-align--laptopleft .wpr-nav-menu-vertical .wpr-menu-item {
450
+ text-align: left;
451
+ }
452
+ .wpr-main-menu-align--laptopcenter .wpr-nav-menu-horizontal .wpr-nav-menu,
453
+ .wpr-main-menu-align--laptopcenter .wpr-nav-menu-vertical .wpr-menu-item {
454
+ text-align: center;
455
+ }
456
+ .wpr-main-menu-align--laptopright .wpr-nav-menu-horizontal .wpr-nav-menu,
457
+ .wpr-main-menu-align--laptopright .wpr-nav-menu-vertical .wpr-menu-item {
458
+ text-align: right;
459
+ }
460
+ }
461
+
462
+ @media screen and ( max-width: 1200px) {
463
+ .wpr-main-menu-align--tablet_extraleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,
464
+ .wpr-main-menu-align--tablet_extracenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon {
465
+ right: 0;
466
+ }
467
+ .wpr-main-menu-align--tablet_extraleft .wpr-nav-menu-horizontal .wpr-nav-menu,
468
+ .wpr-main-menu-align--tablet_extraleft .wpr-nav-menu-vertical .wpr-menu-item {
469
+ text-align: left;
470
+ }
471
+ .wpr-main-menu-align--tablet_extracenter .wpr-nav-menu-horizontal .wpr-nav-menu,
472
+ .wpr-main-menu-align--tablet_extracenter .wpr-nav-menu-vertical .wpr-menu-item {
473
+ text-align: center;
474
+ }
475
+ .wpr-main-menu-align--tablet_extraright .wpr-nav-menu-horizontal .wpr-nav-menu,
476
+ .wpr-main-menu-align--tablet_extraright .wpr-nav-menu-vertical .wpr-menu-item {
477
+ text-align: right;
478
+ }
479
+ }
480
+
481
+ @media screen and ( max-width: 1024px) {
482
+ .wpr-main-menu-align--tabletleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,
483
+ .wpr-main-menu-align--tabletcenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon {
484
+ right: 0;
485
+ }
486
+ .wpr-main-menu-align--tabletleft .wpr-nav-menu-horizontal .wpr-nav-menu,
487
+ .wpr-main-menu-align--tabletleft .wpr-nav-menu-vertical .wpr-menu-item {
488
+ text-align: left;
489
+ }
490
+ .wpr-main-menu-align--tabletcenter .wpr-nav-menu-horizontal .wpr-nav-menu,
491
+ .wpr-main-menu-align--tabletcenter .wpr-nav-menu-vertical .wpr-menu-item {
492
+ text-align: center;
493
+ }
494
+ .wpr-main-menu-align--tabletright .wpr-nav-menu-horizontal .wpr-nav-menu,
495
+ .wpr-main-menu-align--tabletright .wpr-nav-menu-vertical .wpr-menu-item {
496
+ text-align: right;
497
+ }
498
+ }
499
+
500
+ @media screen and ( max-width: 880px) {
501
+ .wpr-main-menu-align--mobile_extraleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,
502
+ .wpr-main-menu-align--mobile_extracenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon {
503
+ right: 0;
504
+ }
505
+ .wpr-main-menu-align--mobile_extraleft .wpr-nav-menu-horizontal .wpr-nav-menu,
506
+ .wpr-main-menu-align--mobile_extraleft .wpr-nav-menu-vertical .wpr-menu-item {
507
+ text-align: left;
508
+ }
509
+ .wpr-main-menu-align--mobile_extracenter .wpr-nav-menu-horizontal .wpr-nav-menu,
510
+ .wpr-main-menu-align--mobile_extracenter .wpr-nav-menu-vertical .wpr-menu-item {
511
+ text-align: center;
512
+ }
513
+ .wpr-main-menu-align--mobile_extraright .wpr-nav-menu-horizontal .wpr-nav-menu,
514
+ .wpr-main-menu-align--mobile_extraright .wpr-nav-menu-vertical .wpr-menu-item {
515
+ text-align: right;
516
+ }
517
+ }
518
+
519
+ @media screen and ( max-width: 767px) {
520
+ .wpr-main-menu-align--mobileleft .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon,
521
+ .wpr-main-menu-align--mobilecenter .wpr-nav-menu-vertical .wpr-menu-item .wpr-sub-icon {
522
+ right: 0;
523
+ }
524
+ .wpr-main-menu-align--mobileleft .wpr-nav-menu-horizontal .wpr-nav-menu,
525
+ .wpr-main-menu-align--mobileleft .wpr-nav-menu-vertical .wpr-menu-item {
526
+ text-align: left;
527
+ }
528
+ .wpr-main-menu-align--mobilecenter .wpr-nav-menu-horizontal .wpr-nav-menu,
529
+ .wpr-main-menu-align--mobilecenter .wpr-nav-menu-vertical .wpr-menu-item {
530
+ text-align: center;
531
+ }
532
+ .wpr-main-menu-align--mobileright .wpr-nav-menu-horizontal .wpr-nav-menu,
533
+ .wpr-main-menu-align--mobileright .wpr-nav-menu-vertical .wpr-menu-item {
534
+ text-align: right;
535
+ }
536
+ }
537
+
538
+
539
+ /* --- Sub Menu --- */
540
+ .wpr-nav-menu .wpr-sub-menu {
541
+ display: none;
542
+ position: absolute;
543
+ z-index: 999;
544
+ width: 180px;
545
+ text-align: left;
546
+ list-style: none;
547
+ margin: 0;
548
+ }
549
+
550
+ .wpr-nav-menu-vertical .wpr-nav-menu>li>.wpr-sub-menu {
551
+ top: 0;
552
+ }
553
+
554
+ .wpr-sub-menu-position-inline .wpr-nav-menu-vertical .wpr-sub-menu {
555
+ position: static;
556
+ width: 100% !important;
557
+ text-align: center !important;
558
+ margin-left: 0 !important;
559
+ }
560
+
561
+ .wpr-sub-menu-position-inline .wpr-sub-menu a {
562
+ position: relative;
563
+ }
564
+
565
+ .wpr-nav-menu .wpr-sub-menu .wpr-sub-menu {
566
+ top: 0;
567
+ left: 100%;
568
+ }
569
+
570
+ .wpr-sub-menu .wpr-sub-menu-item {
571
+ display: block;
572
+ font-size: 14px;
573
+ }
574
+
575
+ .wpr-nav-menu-horizontal .wpr-menu-item .wpr-sub-icon {
576
+ margin-left: 7px;
577
+ text-indent: 0;
578
+ }
579
+
580
+ .wpr-sub-icon {
581
+ position: absolute;
582
+ top: 48%;
583
+ transform: translateY(-50%);
584
+ -ms-transform: translateY(-50%);
585
+ -webkit-transform: translateY(-50%);
586
+ }
587
+
588
+ .wpr-sub-icon-rotate {
589
+ -webkit-transform: rotate(-90deg) translateX(80%);
590
+ -ms-transform: rotate(-90deg) translateX(80%);
591
+ transform: rotate(-90deg) translateX(80%);
592
+ }
593
+
594
+ .wpr-sub-divider-yes .wpr-sub-menu li:not(:last-child) {
595
+ border-bottom-style: solid;
596
+ }
597
+
598
+
599
+ /* Mobile Menu */
600
+ .wpr-mobile-nav-menu,
601
+ .wpr-mobile-nav-menu-container {
602
+ display: none;
603
+ }
604
+
605
+ .wpr-mobile-nav-menu {
606
+ position: absolute;
607
+ z-index: 9999;
608
+ }
609
+
610
+ .wpr-mobile-menu-drdown-align-left .wpr-mobile-nav-menu {
611
+ left: 0;
612
+ }
613
+
614
+ .wpr-mobile-menu-drdown-align-center .wpr-mobile-nav-menu {
615
+ left: 50%;
616
+ -webkit-transform: translateX(-50%);
617
+ -ms-transform: translateX(-50%);
618
+ transform: translateX(-50%);
619
+ }
620
+
621
+ .wpr-mobile-menu-drdown-align-right .wpr-mobile-nav-menu {
622
+ right: 0;
623
+ }
624
+
625
+ .wpr-mobile-menu-item,
626
+ .wpr-mobile-sub-menu-item {
627
+ position: relative;
628
+ }
629
+
630
+ .wpr-mobile-menu-item,
631
+ .wpr-mobile-sub-menu-item {
632
+ display: block;
633
+ }
634
+
635
+ .wpr-mobile-sub-menu {
636
+ display: none;
637
+ }
638
+
639
+ .wpr-mobile-nav-menu .menu-item-has-children>a:after {
640
+ position: absolute;
641
+ right: 0;
642
+ top: 50%;
643
+ transform: translateY(-50%);
644
+ -ms-transform: translateY(-50%);
645
+ -webkit-transform: translateY(-50%);
646
+ }
647
+
648
+ .wpr-mobile-menu-item-align-left .wpr-mobile-sub-menu a:before {
649
+ content: ' ';
650
+ display: inline-block;
651
+ width: 10px;
652
+ }
653
+
654
+ .wpr-mobile-menu-item-align-left .wpr-mobile-sub-menu .wpr-mobile-sub-menu a:before {
655
+ width: 20px;
656
+ }
657
+
658
+ .wpr-mobile-menu-item-align-center .wpr-mobile-nav-menu {
659
+ text-align: center;
660
+ }
661
+
662
+ .wpr-mobile-menu-item-align-right .wpr-mobile-nav-menu {
663
+ text-align: right;
664
+ }
665
+
666
+ .wpr-mobile-menu-item-align-right .wpr-mobile-nav-menu .menu-item-has-children>a:after {
667
+ right: auto !important;
668
+ left: 0;
669
+ }
670
+
671
+ div[class*="wpr-sub-icon-"] .wpr-mobile-nav-menu .menu-item-has-children>a:after {
672
+ font-family: "Font Awesome 5 Free";
673
+ font-size: 12px;
674
+ font-weight: 900;
675
+ font-style: normal;
676
+ text-decoration: none;
677
+ line-height: 1;
678
+ letter-spacing: 0;
679
+ text-rendering: auto;
680
+ -webkit-font-smoothing: antialiased;
681
+ }
682
+
683
+ .wpr-sub-icon-caret-down .wpr-sub-icon:before,
684
+ .wpr-sub-icon-caret-down .wpr-mobile-nav-menu .menu-item-has-children>a:after {
685
+ content: "\f0d7";
686
+ }
687
+
688
+ .wpr-sub-icon-angle-down .wpr-sub-icon:before,
689
+ .wpr-sub-icon-angle-down .wpr-mobile-nav-menu .menu-item-has-children>a:after {
690
+ content: "\f107";
691
+ }
692
+
693
+ .wpr-sub-icon-chevron-down .wpr-sub-icon:before,
694
+ .wpr-sub-icon-chevron-down .wpr-mobile-nav-menu .menu-item-has-children>a:after {
695
+ content: "\f078";
696
+ }
697
+
698
+ .wpr-sub-icon-plus .wpr-sub-icon:before,
699
+ .wpr-sub-icon-plus .wpr-mobile-nav-menu .menu-item-has-children>a:after {
700
+ content: "\f067";
701
+ }
702
+
703
+ .wpr-mobile-divider-yes .wpr-mobile-nav-menu a {
704
+ border-bottom-style: solid;
705
+ }
706
+
707
+
708
+ /* Mobile Menu Toggle Button */
709
+ .wpr-mobile-toggle-wrap {
710
+ font-size: 0;
711
+ line-height: 0;
712
+ }
713
+
714
+ .wpr-mobile-toggle {
715
+ display: inline-block;
716
+ padding: 7px;
717
+ cursor: pointer;
718
+ border-style: solid;
719
+ text-align: center;
720
+ }
721
+
722
+ .wpr-mobile-toggle-line {
723
+ display: block;
724
+ width: 100%;
725
+ }
726
+
727
+ .wpr-mobile-toggle-line:last-child {
728
+ margin-bottom: 0 !important;
729
+ }
730
+
731
+ .wpr-mobile-toggle-text {
732
+ font-size: 16px;
733
+ line-height: 1 !important;
734
+ }
735
+
736
+ .wpr-mobile-toggle-text:last-child {
737
+ display: none;
738
+ }
739
+
740
+ .wpr-mobile-toggle-v2 .wpr-mobile-toggle-line:nth-child(2) {
741
+ width: 78%;
742
+ margin-left: 24%;
743
+ }
744
+
745
+ .wpr-mobile-toggle-v2 .wpr-mobile-toggle-line:nth-child(3) {
746
+ width: 45%;
747
+ margin-left: 57%;
748
+ }
749
+
750
+ .wpr-mobile-toggle-v3 .wpr-mobile-toggle-line:nth-child(2) {
751
+ width: 75%;
752
+ margin-left: 15%;
753
+ }
754
+
755
+ .wpr-mobile-toggle-v4 .wpr-mobile-toggle-line:nth-child(1),
756
+ .wpr-mobile-toggle-v4 .wpr-mobile-toggle-line:nth-child(3) {
757
+ width: 75%;
758
+ margin-left: 25%;
759
+ }
760
+
761
+ .wpr-mobile-toggle-v4 .wpr-mobile-toggle-line:nth-child(2) {
762
+ width: 75%;
763
+ margin-right: 25%;
764
+ }
765
+
766
+ .wpr-mobile-toggle-v5 .wpr-mobile-toggle-line:nth-child(1) {
767
+ display: none;
768
+ }
769
+
770
+ .wpr-nav-menu-bp-always .wpr-nav-menu-container {
771
+ display: none;
772
+ }
773
+
774
+ .wpr-nav-menu-bp-always .wpr-mobile-nav-menu-container {
775
+ display: block;
776
+ }
777
+
778
+ @media screen and ( max-width: 1025px) {
779
+ .wpr-nav-menu-bp-tablet .wpr-nav-menu-container {
780
+ display: none;
781
+ }
782
+ .wpr-nav-menu-bp-tablet .wpr-mobile-nav-menu-container {
783
+ display: block;
784
+ }
785
+ }
786
+
787
+ @media screen and ( max-width: 767px) {
788
+ .wpr-nav-menu-bp-pro-nn .wpr-nav-menu-container,
789
+ .wpr-nav-menu-bp-pro-al .wpr-nav-menu-container,
790
+ .wpr-nav-menu-bp-mobile .wpr-nav-menu-container {
791
+ display: none;
792
+ }
793
+ .wpr-nav-menu-bp-pro-nn .wpr-mobile-nav-menu-container,
794
+ .wpr-nav-menu-bp-pro-al .wpr-mobile-nav-menu-container,
795
+ .wpr-nav-menu-bp-mobile .wpr-mobile-nav-menu-container {
796
+ display: block;
797
+ }
798
+ }
799
+
800
+
801
+ /* Highlight Active */
802
+ .wpr-pointer-line-fx .wpr-active-menu-item:before,
803
+ .wpr-pointer-line-fx .wpr-active-menu-item:after,
804
+ .wpr-pointer-border-fx .wpr-active-menu-item:before,
805
+ .wpr-pointer-background-fx .wpr-active-menu-item:before {
806
+ opacity: 1 !important;
807
+ }
808
+
809
+ .wpr-pointer-fx-none {
810
+ -webkit-transition-duration: 0s !important;
811
+ -o-transition-duration: 0s !important;
812
+ transition-duration: 0s !important;
813
+ }
814
+
815
+ .wpr-pointer-overline.wpr-pointer-fx-slide .wpr-active-menu-item:before,
816
+ .wpr-pointer-underline.wpr-pointer-fx-slide .wpr-active-menu-item:after,
817
+ .wpr-pointer-double-line.wpr-pointer-fx-slide .wpr-active-menu-item:before,
818
+ .wpr-pointer-double-line.wpr-pointer-fx-slide .wpr-active-menu-item:after,
819
+ .wpr-pointer-overline.wpr-pointer-fx-grow .wpr-active-menu-item:before,
820
+ .wpr-pointer-underline.wpr-pointer-fx-grow .wpr-active-menu-item:after,
821
+ .wpr-pointer-double-line.wpr-pointer-fx-grow .wpr-active-menu-item:before,
822
+ .wpr-pointer-double-line.wpr-pointer-fx-grow .wpr-active-menu-item:after {
823
+ width: 100%;
824
+ }
825
+
826
+ .wpr-pointer-line-fx.wpr-pointer-fx-drop .wpr-active-menu-item:before {
827
+ top: 0;
828
+ }
829
+
830
+ .wpr-pointer-line-fx.wpr-pointer-fx-drop .wpr-active-menu-item:after {
831
+ bottom: 0;
832
+ }
833
+
834
+ .wpr-pointer-border-fx.wpr-pointer-fx-grow .wpr-active-menu-item:before,
835
+ .wpr-pointer-border-fx.wpr-pointer-fx-shrink .wpr-active-menu-item:before,
836
+ .wpr-pointer-background-fx.wpr-pointer-fx-grow .wpr-active-menu-item:before,
837
+ .wpr-pointer-background-fx.wpr-pointer-fx-shrink .wpr-active-menu-item:before,
838
+ .wpr-pointer-background-fx.wpr-pointer-fx-sweep .wpr-active-menu-item:before {
839
+ -webkit-transform: scale(1);
840
+ -ms-transform: scale(1);
841
+ transform: scale(1);
842
+ }
843
+
844
+ .wpr-pointer-background-fx.wpr-pointer-fx-skew .wpr-active-menu-item:before {
845
+ -webkit-transform: perspective(600px) rotateX(0deg);
846
+ transform: perspective(600px) rotateX(0deg);
847
+ }
848
+
849
+
850
+ /* WP Default Fix */
851
+ .wpr-mobile-nav-menu .sub-menu-toggle {
852
+ display: none !important;
853
+ }
854
+
855
+
856
+ /* Defaults */
857
+ .elementor-widget-wpr-nav-menu .wpr-nav-menu .wpr-menu-item,
858
+ .elementor-widget-wpr-nav-menu .wpr-mobile-nav-menu a,
859
+ .elementor-widget-wpr-nav-menu .wpr-mobile-toggle-text {
860
+ line-height: 26px;
861
+ }
862
+
863
+ .elementor-widget-wpr-nav-menu .wpr-sub-menu .wpr-sub-menu-item {
864
+ font-size: 14px;
865
+ }
866
+
867
+
868
+ /*--------------------------------------------------------------
869
+ == Onepage Nav
870
+ --------------------------------------------------------------*/
871
+ .wpr-onepage-nav {
872
+ position: fixed;
873
+ z-index: 99999;
874
+ display: -webkit-box;
875
+ display: -ms-flexbox;
876
+ display: flex;
877
+ -webkit-box-orient: vertical;
878
+ -webkit-box-direction: normal;
879
+ -ms-flex-direction: column;
880
+ flex-direction: column;
881
+ -webkit-box-align: center;
882
+ -ms-flex-align: center;
883
+ align-items: center;
884
+ -webkit-box-pack: center;
885
+ -ms-flex-pack: center;
886
+ justify-content: center;
887
+ }
888
+
889
+ .wpr-onepage-nav-item {
890
+ position: relative;
891
+ }
892
+
893
+ .wpr-onepage-nav-item:last-child {
894
+ margin-bottom: 0 !important;
895
+ }
896
+
897
+ .wpr-onepage-nav-vr-top .wpr-onepage-nav {
898
+ top: 0;
899
+ }
900
+
901
+ .wpr-onepage-nav-vr-middle .wpr-onepage-nav {
902
+ top: 50%;
903
+ -ms-transform: translateY(-50%);
904
+ transform: translateY(-50%);
905
+ -webkit-transform: translateY(-50%);
906
+ }
907
+
908
+ .wpr-onepage-nav-vr-bottom .wpr-onepage-nav {
909
+ bottom: 0;
910
+ }
911
+
912
+ .wpr-onepage-nav-hr-left .wpr-onepage-nav {
913
+ left: 0;
914
+ }
915
+
916
+ .wpr-onepage-nav-hr-right .wpr-onepage-nav {
917
+ right: 0;
918
+ }
919
+
920
+ .wpr-onepage-nav-item .wpr-tooltip {
921
+ text-align: center;
922
+ }
923
+
924
+ .wpr-onepage-nav-item:hover .wpr-tooltip {
925
+ opacity: 1;
926
+ visibility: visible;
927
+ }
928
+
929
+ .wpr-onepage-nav-hr-left .wpr-onepage-nav-item:hover .wpr-tooltip {
930
+ -ms-transform: translate(10%, -50%);
931
+ transform: translate(10%, -50%);
932
+ -webkit-transform: translate(10%, -50%);
933
+ }
934
+
935
+ .wpr-onepage-nav-hr-left .wpr-onepage-nav-item .wpr-tooltip {
936
+ top: 50%;
937
+ left: 100%;
938
+ -ms-transform: translate(20%, -50%);
939
+ transform: translate(20%, -50%);
940
+ -webkit-transform: translate(20%, -50%);
941
+ }
942
+
943
+ .wpr-onepage-nav-hr-left .wpr-onepage-nav-item .wpr-tooltip:before {
944
+ left: auto;
945
+ left: -8px;
946
+ top: 50%;
947
+ -webkit-transform: translateY(-50%) rotate(90deg);
948
+ -ms-transform: translateY(-50%) rotate(90deg);
949
+ transform: translateY(-50%) rotate(90deg);
950
+ }
951
+
952
+ .wpr-onepage-nav-hr-right .wpr-onepage-nav-item:hover .wpr-tooltip {
953
+ -ms-transform: translate(-110%, -50%);
954
+ transform: translate(-110%, -50%);
955
+ -webkit-transform: translate(-110%, -50%);
956
+ }
957
+
958
+ .wpr-onepage-nav-hr-right .wpr-onepage-nav-item .wpr-tooltip {
959
+ top: 50%;
960
+ left: 0;
961
+ -ms-transform: translate(-120%, -50%);
962
+ transform: translate(-120%, -50%);
963
+ -webkit-transform: translate(-120%, -50%);
964
+ }
965
+
966
+ .wpr-onepage-nav-hr-right .wpr-onepage-nav-item .wpr-tooltip:before {
967
+ left: auto;
968
+ right: -8px;
969
+ top: 50%;
970
+ -webkit-transform: translateY(-50%) rotate(-90deg);
971
+ -ms-transform: translateY(-50%) rotate(-90deg);
972
+ transform: translateY(-50%) rotate(-90deg);
973
+ }
974
+
975
+
976
+ /* Defaults */
977
+ .elementor-widget-wpr-onepage-nav .wpr-onepage-nav {
978
+ background-color: #605BE5;
979
+ -webkit-box-shadow: 0px 0px 15px 0px #D7D7D7;
980
+ box-shadow: 0px 0px 15px 0px #D7D7D7;
981
+ }
982
+
983
+ .elementor-widget-wpr-onepage-nav .wpr-onepage-nav-item .wpr-tooltip {
984
+ font-size: 14px;
985
+ }
986
+
987
+
988
+ /*--------------------------------------------------------------
989
+ == Single Post Elements
990
+ --------------------------------------------------------------*/
991
+ .wpr-post-title,
992
+ .wpr-archive-title,
993
+ .wpr-author-box-name,
994
+ .wpr-author-box-title {
995
+ margin: 0;
996
+ }
997
+
998
+ .wpr-archive-title:after {
999
+ content: ' ';
1000
+ display: block;
1001
+ }
1002
+
1003
+ /* Featured Media */
1004
+ .wpr-featured-media-image {
1005
+ position: relative;
1006
+ display: inline-block;
1007
+ vertical-align: middle;
1008
+ }
1009
+
1010
+ .wpr-featured-media-caption {
1011
+ position: absolute;
1012
+ display: -webkit-box;
1013
+ display: -ms-flexbox;
1014
+ display: flex;
1015
+ width: 100%;
1016
+ height: 100%;
1017
+ }
1018
+
1019
+ .wpr-featured-media-caption span {
1020
+ display: inline-block;
1021
+ }
1022
+
1023
+ /* [data-caption="standard"],
1024
+ [data-caption="gallery"]*/
1025
+ .wpr-fm-image-caption-hover .wpr-featured-media-caption,
1026
+ .wpr-fm-image-caption-hover .wpr-featured-media-caption {
1027
+ opacity: 0;
1028
+ -webkit-transition-property: opacity;
1029
+ -o-transition-property: opacity;
1030
+ transition-property: opacity;
1031
+ }
1032
+
1033
+ /* [data-caption="standard"],
1034
+ [data-caption="gallery"] */
1035
+ .wpr-fm-image-caption-hover:hover .wpr-featured-media-caption,
1036
+ .wpr-fm-image-caption-hover:hover .wpr-featured-media-caption {
1037
+ opacity: 1;
1038
+ }
1039
+
1040
+ .wpr-gallery-slider {
1041
+ opacity: 0;
1042
+ }
1043
+
1044
+ .wpr-gallery-lightbox-yes .wpr-featured-media-image {
1045
+ cursor: pointer;
1046
+ }
1047
+
1048
+ .wpr-gallery-slide img {
1049
+ margin: 0 auto;
1050
+ }
1051
+
1052
+
1053
+ /* Gallery Slider Navigation */
1054
+ .wpr-gallery-slider-arrows-wrap {
1055
+ position: absolute;
1056
+ top: 50%;
1057
+ -webkit-transform: translateY(-50%);
1058
+ -ms-transform: translateY(-50%);
1059
+ transform: translateY(-50%);
1060
+ left: 0;
1061
+ z-index: 1;
1062
+ width: 100%;
1063
+ display: -webkit-box;
1064
+ display: -ms-flexbox;
1065
+ display: flex;
1066
+ -webkit-box-pack: justify;
1067
+ -ms-flex-pack: justify;
1068
+ justify-content: space-between;
1069
+ -webkit-box-align: center;
1070
+ -ms-flex-align: center;
1071
+ align-items: center;
1072
+ }
1073
+
1074
+ .wpr-thumbnail-slider-arrows-wrap {
1075
+ position: absolute;
1076
+ top: 90%;
1077
+ left: 0;
1078
+ z-index: 1;
1079
+ width: 100%;
1080
+ display: -webkit-box;
1081
+ display: -ms-flexbox;
1082
+ display: flex;
1083
+ -webkit-box-pack: justify;
1084
+ -ms-flex-pack: justify;
1085
+ justify-content: space-between;
1086
+ -webkit-box-align: center;
1087
+ -ms-flex-align: center;
1088
+ align-items: center;
1089
+ }
1090
+
1091
+ .wpr-gallery-slider-arrow,
1092
+ .wpr-thumbnail-slider-arrow {
1093
+ position: absolute;
1094
+ top: 50%;
1095
+ display: -webkit-box;
1096
+ display: -ms-flexbox;
1097
+ display: flex;
1098
+ -webkit-box-pack: center;
1099
+ -ms-flex-pack: center;
1100
+ justify-content: center;
1101
+ -webkit-box-align: center;
1102
+ -ms-flex-align: center;
1103
+ align-items: center;
1104
+ z-index: 120;
1105
+ -webkit-box-sizing: content-box;
1106
+ box-sizing: content-box;
1107
+ -webkit-transition: all .5s;
1108
+ -o-transition: all .5s;
1109
+ transition: all .5s;
1110
+ text-align: center;
1111
+ cursor: pointer;
1112
+ }
1113
+
1114
+ .wpr-gallery-slider-arrow i,
1115
+ .wpr-thumbnail-slider-arrow i {
1116
+ display: block;
1117
+ width: 100%;
1118
+ /* height: 100%; */
1119
+ line-height: inherit;
1120
+ }
1121
+
1122
+ .wpr-gallery-slider-arrow {
1123
+ -webkit-transform: translateY(-50%);
1124
+ -ms-transform: translateY(-50%);
1125
+ transform: translateY(-50%);
1126
+ }
1127
+
1128
+ .wpr-product-media-slider-nav-fade .wpr-gallery-slider-arrow {
1129
+ opacity: 0;
1130
+ visibility: hidden;
1131
+ }
1132
+
1133
+ .wpr-product-media-slider-nav-fade .wpr-gallery-slider:hover .wpr-gallery-slider-arrow {
1134
+ opacity: 1;
1135
+ visibility: visible;
1136
+ }
1137
+
1138
+ .wpr-gallery-slider-nav-fade .wpr-gallery-slider-arrow {
1139
+ opacity: 0;
1140
+ visibility: hidden;
1141
+ }
1142
+
1143
+ .wpr-gallery-slider-nav-fade .flex-viewport:hover .wpr-gallery-slider-arrow {
1144
+ opacity: 1;
1145
+ visibility: visible;
1146
+ }
1147
+
1148
+ /* styles for product gallery from woo-builder */
1149
+ .wpr-thumbnail-slider-arrow {
1150
+ -webkit-transform: translateY(-50%);
1151
+ -ms-transform: translateY(-50%);
1152
+ transform: translateY(-50%);
1153
+ }
1154
+
1155
+ .wpr-thumbnail-slider-nav-fade .wpr-thumbnail-slider-arrow {
1156
+ opacity: 0;
1157
+ visibility: hidden;
1158
+ }
1159
+
1160
+ .wpr-thumbnail-slider-nav-fade .wpr-product-thumb-nav:hover .wpr-thumbnail-slider-arrow {
1161
+ opacity: 1;
1162
+ visibility: visible;
1163
+ }
1164
+
1165
+ .wpr-product-media-lightbox {
1166
+ position: absolute;
1167
+ top: 0;
1168
+ right: 0;
1169
+ z-index: 9;
1170
+ display: -webkit-box;
1171
+ display: -ms-flexbox;
1172
+ display: flex;
1173
+ -webkit-box-align: center;
1174
+ -ms-flex-align: center;
1175
+ align-items: center;
1176
+ -webkit-box-pack: center;
1177
+ -ms-flex-pack: center;
1178
+ justify-content: center;
1179
+ }
1180
+
1181
+ /* Gallery Slider Pagination */
1182
+ .wpr-gallery-slider-dots {
1183
+ position: absolute;
1184
+ display: inline-table;
1185
+ -webkit-transform: translate(-50%, -50%);
1186
+ -ms-transform: translate(-50%, -50%);
1187
+ transform: translate(-50%, -50%);
1188
+ z-index: 110;
1189
+ }
1190
+
1191
+ .wpr-gallery-slider-dots ul {
1192
+ list-style: none;
1193
+ margin: 0;
1194
+ padding: 0;
1195
+ }
1196
+
1197
+ .wpr-gallery-slider-dots li {
1198
+ float: left;
1199
+ }
1200
+
1201
+ .wpr-gallery-slider-dot {
1202
+ display: block;
1203
+ cursor: pointer;
1204
+ }
1205
+
1206
+ .wpr-gallery-slider-dots li:last-child .wpr-gallery-slider-dot {
1207
+ margin: 0 !important;
1208
+ }
1209
+
1210
+
1211
+ /* Author Box */
1212
+ .wpr-author-box-image {
1213
+ display: inline-block;
1214
+ overflow: hidden;
1215
+ }
1216
+
1217
+ .wpr-author-box-arrange-left .wpr-author-box {
1218
+ display: -webkit-box;
1219
+ display: -ms-flexbox;
1220
+ display: flex;
1221
+ }
1222
+
1223
+ .wpr-author-box-arrange-right .wpr-author-box {
1224
+ display: -webkit-box;
1225
+ display: -ms-flexbox;
1226
+ display: flex;
1227
+ -webkit-box-orient: horizontal;
1228
+ -webkit-box-direction: reverse;
1229
+ -ms-flex-direction: row-reverse;
1230
+ flex-direction: row-reverse;
1231
+ }
1232
+
1233
+ .wpr-author-box-arrange-left .wpr-author-box-image,
1234
+ .wpr-author-box-arrange-right .wpr-author-box-image {
1235
+ -ms-flex-negative: 0;
1236
+ flex-shrink: 0;
1237
+ }
1238
+
1239
+ .wpr-author-box-arrange-left .wpr-author-box-text,
1240
+ .wpr-author-box-arrange-right .wpr-author-box-text {
1241
+ -webkit-box-flex: 1;
1242
+ -ms-flex-positive: 1;
1243
+ flex-grow: 1;
1244
+ }
1245
+
1246
+ .wpr-author-box-btn {
1247
+ display: inline-block;
1248
+ }
1249
+
1250
+
1251
+ /* Post Navigation */
1252
+ .wpr-post-navigation-wrap {
1253
+ display: -webkit-box;
1254
+ display: -ms-flexbox;
1255
+ display: flex;
1256
+ }
1257
+
1258
+ .wpr-posts-navigation-svg-wrapper {
1259
+ display: -webkit-box;
1260
+ display: -ms-flexbox;
1261
+ display: flex;
1262
+ -webkit-box-align: center;
1263
+ -ms-flex-align: center;
1264
+ align-items: center;
1265
+ -webkit-box-pack: center;
1266
+ -ms-flex-pack: center;
1267
+ justify-content: center;
1268
+ }
1269
+
1270
+ .wpr-post-navigation-wrap>div:last-child {
1271
+ margin-right: 0 !important;
1272
+ }
1273
+
1274
+ .wpr-post-nav-fixed-default-wrap {
1275
+ position: fixed;
1276
+ bottom: 0;
1277
+ z-index: 999;
1278
+ }
1279
+
1280
+ .wpr-post-nav-fixed.wpr-post-navigation {
1281
+ position: fixed;
1282
+ -webkit-transform: translateY(-50%);
1283
+ -ms-transform: translateY(-50%);
1284
+ transform: translateY(-50%);
1285
+ z-index: 999;
1286
+ }
1287
+
1288
+ .wpr-post-nav-fixed.wpr-post-navigation a {
1289
+ display: block;
1290
+ }
1291
+
1292
+ .wpr-post-nav-fixed.wpr-post-navigation img {
1293
+ position: absolute;
1294
+ top: 0;
1295
+ max-width: none;
1296
+ }
1297
+
1298
+ .wpr-post-nav-fixed.wpr-post-nav-prev {
1299
+ left: 0;
1300
+ }
1301
+
1302
+ .wpr-post-nav-fixed.wpr-post-nav-next {
1303
+ right: 0;
1304
+ }
1305
+
1306
+ .wpr-post-nav-fixed.wpr-post-nav-hover img {
1307
+ opacity: 0;
1308
+ }
1309
+
1310
+ .wpr-post-nav-fixed.wpr-post-nav-hover.wpr-post-nav-prev img {
1311
+ -webkit-transform: perspective(600px) rotateY(90deg);
1312
+ transform: perspective(600px) rotateY(90deg);
1313
+ -webkit-transform-origin: center left 0;
1314
+ -ms-transform-origin: center left 0;
1315
+ transform-origin: center left 0;
1316
+ }
1317
+
1318
+ .wpr-post-nav-fixed.wpr-post-nav-hover.wpr-post-nav-next img {
1319
+ -webkit-transform: perspective(600px) rotateY(-90deg);
1320
+ transform: perspective(600px) rotateY(-90deg);
1321
+ -webkit-transform-origin: center right 0;
1322
+ -ms-transform-origin: center right 0;
1323
+ transform-origin: center right 0;
1324
+ }
1325
+
1326
+ .wpr-post-nav-fixed.wpr-post-nav-hover:hover img {
1327
+ opacity: 1;
1328
+ position: absolute;
1329
+ -webkit-transform: none;
1330
+ -ms-transform: none;
1331
+ transform: none;
1332
+ }
1333
+
1334
+ .wpr-post-nav-static.wpr-post-navigation {
1335
+ width: 50%;
1336
+ }
1337
+
1338
+ .wpr-post-navigation {
1339
+ -webkit-box-flex: 1;
1340
+ -ms-flex-positive: 1;
1341
+ flex-grow: 1;
1342
+ background-size: cover;
1343
+ background-position: center center;
1344
+ background-repeat: no-repeat;
1345
+ }
1346
+
1347
+ .wpr-post-navigation {
1348
+ position: relative;
1349
+ }
1350
+
1351
+ .wpr-post-navigation a {
1352
+ position: relative;
1353
+ z-index: 2;
1354
+ }
1355
+
1356
+ .wpr-post-nav-overlay {
1357
+ position: absolute;
1358
+ top: 0;
1359
+ left: 0;
1360
+ width: 100%;
1361
+ height: 100%;
1362
+ -webkit-transition: all 0.3s ease-in 0s;
1363
+ -o-transition: all 0.3s ease-in 0s;
1364
+ transition: all 0.3s ease-in 0s;
1365
+ }
1366
+
1367
+ .wpr-post-nav-back {
1368
+ -ms-flex-item-align: center;
1369
+ -ms-grid-row-align: center;
1370
+ align-self: center;
1371
+ font-size: 30px;
1372
+ }
1373
+
1374
+ .wpr-post-navigation a {
1375
+ display: -webkit-box;
1376
+ display: -ms-flexbox;
1377
+ display: flex;
1378
+ -webkit-box-align: center;
1379
+ -ms-flex-align: center;
1380
+ align-items: center;
1381
+ }
1382
+
1383
+ .wpr-post-nav-next a {
1384
+ -webkit-box-pack: end;
1385
+ -ms-flex-pack: end;
1386
+ justify-content: flex-end;
1387
+ }
1388
+
1389
+ .wpr-post-nav-labels {
1390
+ min-width: 0;
1391
+ }
1392
+
1393
+ .wpr-post-nav-labels h5 {
1394
+ display: -webkit-box;
1395
+ display: -ms-flexbox;
1396
+ display: flex;
1397
+ overflow: hidden;
1398
+ white-space: nowrap;
1399
+ -ms-text-overflow: ellipsis;
1400
+ -o-text-overflow: ellipsis;
1401
+ text-overflow: ellipsis;
1402
+ }
1403
+
1404
+ .wpr-post-nav-labels span {
1405
+ display: -webkit-box;
1406
+ display: -ms-flexbox;
1407
+ display: flex;
1408
+ }
1409
+
1410
+ .wpr-post-nav-next .wpr-post-nav-labels > span,
1411
+ .wpr-post-nav-next .wpr-post-nav-labels h5 {
1412
+ -webkit-box-pack: end;
1413
+ -ms-flex-pack: end;
1414
+ justify-content: flex-end;
1415
+ }
1416
+
1417
+ .wpr-post-navigation i {
1418
+ text-align: center;
1419
+ }
1420
+
1421
+ .wpr-post-nav-dividers {
1422
+ padding: 10px 0;
1423
+ border-top: 1px solid #000;
1424
+ border-bottom: 1px solid #000;
1425
+ }
1426
+
1427
+ .wpr-post-nav-divider {
1428
+ -ms-flex-item-align: stretch;
1429
+ -ms-grid-row-align: stretch;
1430
+ align-self: stretch;
1431
+ -ms-flex-negative: 0;
1432
+ flex-shrink: 0;
1433
+ }
1434
+
1435
+ .wpr-post-nav-dividers.wpr-post-navigation-wrap {
1436
+ padding-left: 0 !important;
1437
+ padding-right: 0 !important;
1438
+ }
1439
+
1440
+ .wpr-post-nav-back a {
1441
+ display: -webkit-box;
1442
+ display: -ms-flexbox;
1443
+ display: flex;
1444
+ -webkit-box-orient: horizontal;
1445
+ -webkit-box-direction: normal;
1446
+ -ms-flex-flow: row wrap;
1447
+ flex-flow: row wrap;
1448
+ -webkit-box-pack: center;
1449
+ -ms-flex-pack: center;
1450
+ justify-content: center;
1451
+ font-size: 0;
1452
+ }
1453
+
1454
+ .wpr-post-nav-back span {
1455
+ display: inline-block;
1456
+ border-style: solid;
1457
+ }
1458
+
1459
+ .wpr-post-nav-back span:nth-child(2n) {
1460
+ margin-right: 0 !important;
1461
+ }
1462
+
1463
+
1464
+ /* Post Info */
1465
+ .wpr-post-info {
1466
+ padding: 0;
1467
+ margin: 0;
1468
+ list-style: none;
1469
+ }
1470
+
1471
+ .wpr-post-info li {
1472
+ position: relative;
1473
+ }
1474
+
1475
+ .wpr-post-info-horizontal li {
1476
+ display: inline-block;
1477
+ }
1478
+
1479
+ .wpr-post-info-horizontal li:last-child {
1480
+ padding-right: 0 !important;
1481
+ }
1482
+
1483
+ .wpr-post-info-vertical li:last-child {
1484
+ padding-bottom: 0 !important;
1485
+ }
1486
+
1487
+ .wpr-post-info li .wpr-post-info-text {
1488
+ display: inline-block;
1489
+ text-align: left !important;
1490
+ }
1491
+
1492
+ .wpr-post-info li:after {
1493
+ content: ' ';
1494
+ display: inline-block;
1495
+ position: absolute;
1496
+ }
1497
+
1498
+ .wpr-post-info li:last-child:after {
1499
+ display: none;
1500
+ }
1501
+
1502
+ .wpr-post-info-horizontal li:after {
1503
+ top: 50%;
1504
+ -webkit-transform: translateY(-50%);
1505
+ -ms-transform: translateY(-50%);
1506
+ transform: translateY(-50%);
1507
+ }
1508
+
1509
+ .wpr-post-info-vertical li:after {
1510
+ bottom: 0;
1511
+ }
1512
+
1513
+ .wpr-post-info-align-left .wpr-post-info-vertical li:after {
1514
+ left: 0;
1515
+ }
1516
+
1517
+ .wpr-post-info-align-center .wpr-post-info-vertical li:after {
1518
+ left: 50%;
1519
+ -webkit-transform: translateX(-50%);
1520
+ -ms-transform: translateX(-50%);
1521
+ transform: translateX(-50%);
1522
+ }
1523
+
1524
+ .wpr-post-info-align-right .wpr-post-info-vertical li:after {
1525
+ right: 0;
1526
+ }
1527
+
1528
+ .wpr-post-info-text span {
1529
+ display: inline-block;
1530
+ }
1531
+
1532
+ .wpr-post-info-author img {
1533
+ display: inline-block;
1534
+ margin-right: 10px;
1535
+ vertical-align: middle;
1536
+ }
1537
+
1538
+ .wpr-post-info-custom-field a,
1539
+ .wpr-post-info-custom-field span {
1540
+ display: inline-block;
1541
+ }
1542
+
1543
+
1544
+ /* Post Comments */
1545
+ .wpr-comments-list,
1546
+ .wpr-comments-list ul.children {
1547
+ list-style: none;
1548
+ padding: 0;
1549
+ margin: 0;
1550
+ }
1551
+
1552
+ .wpr-comment-avatar {
1553
+ float: left;
1554
+ overflow: hidden;
1555
+ }
1556
+
1557
+ .wpr-comment-avatar img {
1558
+ margin: 0 !important;
1559
+ position: static !important;
1560
+ }
1561
+
1562
+ .wpr-comment-metadata>* {
1563
+ display: inline-block;
1564
+ }
1565
+
1566
+ .wpr-comment-metadata p {
1567
+ display: block;
1568
+ }
1569
+
1570
+ .wpr-comments-wrap .comment-reply-link {
1571
+ float: none !important;
1572
+ }
1573
+
1574
+ .wpr-comment-reply-separate.wpr-comment-reply-align-right .wpr-comment-reply {
1575
+ text-align: right;
1576
+ }
1577
+
1578
+ .wpr-comment-reply-inline.wpr-comment-reply-align-right .wpr-comment-reply {
1579
+ float: right;
1580
+ }
1581
+
1582
+ .wpr-comment-reply-inline.wpr-comment-reply-align-left .wpr-comment-reply:before {
1583
+ content: '\00a0|\00a0';
1584
+ }
1585
+
1586
+ .wpr-comment-reply a,
1587
+ .wpr-comments-navigation a,
1588
+ .wpr-comments-navigation span {
1589
+ display: inline-block;
1590
+ }
1591
+
1592
+ .wpr-comments-navigation-center,
1593
+ .wpr-comments-navigation-justify {
1594
+ text-align: center;
1595
+ }
1596
+
1597
+ .wpr-comments-navigation-left {
1598
+ text-align: left;
1599
+ }
1600
+
1601
+ .wpr-comments-navigation-right {
1602
+ text-align: right;
1603
+ }
1604
+
1605
+ .wpr-comments-navigation-justify a.prev {
1606
+ float: left;
1607
+ }
1608
+
1609
+ .wpr-comments-navigation-justify a.next {
1610
+ float: right;
1611
+ }
1612
+
1613
+ .wpr-comment-form .comment-notes {
1614
+ display: none;
1615
+ }
1616
+
1617
+ .wpr-comment-form-text,
1618
+ .wpr-comment-form-text textarea,
1619
+ .wpr-comment-form-author input,
1620
+ .wpr-comment-form-email input,
1621
+ .wpr-comment-form-url input {
1622
+ display: block;
1623
+ width: 100%;
1624
+ }
1625
+
1626
+ .wpr-comment-form {
1627
+ display: -webkit-box;
1628
+ display: -ms-flexbox;
1629
+ display: flex;
1630
+ -webkit-box-orient: vertical;
1631
+ -webkit-box-direction: normal;
1632
+ -ms-flex-direction: column;
1633
+ flex-direction: column;
1634
+ }
1635
+
1636
+ .wpr-comment-form label {
1637
+ margin-bottom: 10px;
1638
+ }
1639
+
1640
+ .wpr-comment-form-fields {
1641
+ display: -webkit-box;
1642
+ display: -ms-flexbox;
1643
+ display: flex;
1644
+ }
1645
+
1646
+ .wpr-cf-no-url .wpr-comment-form-email {
1647
+ margin-right: 0 !important;
1648
+ }
1649
+
1650
+ .wpr-cf-style-1 .wpr-comment-form-fields,
1651
+ .wpr-cf-style-4 .wpr-comment-form-fields {
1652
+ display: block;
1653
+ }
1654
+
1655
+ .wpr-comment-form .wpr-comment-form-fields>div {
1656
+ width: 100%;
1657
+ }
1658
+
1659
+ .wpr-cf-style-2 .wpr-comment-form-fields,
1660
+ .wpr-cf-style-5 .wpr-comment-form-fields,
1661
+ .wpr-comment-form[class*="wpr-cf-pro"] .wpr-comment-form-fields {
1662
+ display: block;
1663
+ width: 60%;
1664
+ }
1665
+
1666
+ .wpr-cf-style-2 .wpr-comment-form-fields > div,
1667
+ .wpr-cf-style-5 .wpr-comment-form-fields > div,
1668
+ .wpr-comment-form[class*="wpr-cf-pro"] > div {
1669
+ margin-right: 0 !important;
1670
+ }
1671
+
1672
+ .wpr-cf-style-4.wpr-comment-form .wpr-comment-form-fields,
1673
+ .wpr-cf-style-5.wpr-comment-form .wpr-comment-form-fields,
1674
+ .wpr-cf-style-6.wpr-comment-form .wpr-comment-form-fields,
1675
+ .wpr-comment-form[class*="wpr-cf-pro"] .wpr-comment-form-fields {
1676
+ -webkit-box-ordinal-group: 0;
1677
+ -ms-flex-order: -1;
1678
+ order: -1;
1679
+ }
1680
+
1681
+ .wpr-submit-comment {
1682
+ cursor: pointer;
1683
+ }
1684
+
1685
+ .wpr-comments-list .comment-respond {
1686
+ margin-bottom: 30px;
1687
+ }
1688
+
1689
+ /*--------------------------------------------------------------
1690
+ == Grid
1691
+ --------------------------------------------------------------*/
1692
+ .wpr-grid {
1693
+ opacity: 0;
1694
+ }
1695
+
1696
+ .wpr-grid-item {
1697
+ padding: 0 !important;
1698
+ float: left;
1699
+ position: relative;
1700
+ text-align: center;
1701
+ }
1702
+
1703
+ .wpr-grid-item,
1704
+ .wpr-grid-item * {
1705
+ outline: none !important;
1706
+ }
1707
+
1708
+ .wpr-grid-last-row {
1709
+ margin-bottom: 0 !important;
1710
+ }
1711
+
1712
+ .wpr-grid-item-above-content {
1713
+ border-bottom: 0 !important;
1714
+ border-bottom-left-radius: 0 !important;
1715
+ border-bottom-right-radius: 0 !important;
1716
+ }
1717
+
1718
+ .wpr-grid:not([data-settings*="list"]) .wpr-grid-item-below-content {
1719
+ border-top: 0 !important;
1720
+ border-top-left-radius: 0 !important;
1721
+ border-top-right-radius: 0 !important;
1722
+ }
1723
+
1724
+ .wpr-grid-item-inner,
1725
+ .wpr-grid-media-wrap {
1726
+ position: relative;
1727
+ }
1728
+
1729
+ .wpr-grid-image-wrap {
1730
+ overflow: hidden;
1731
+ }
1732
+
1733
+ .wpr-grid-image-wrap img {
1734
+ display: block;
1735
+ width: 100%;
1736
+ }
1737
+
1738
+ .wpr-grid-media-hover {
1739
+ position: absolute;
1740
+ top: 0;
1741
+ left: 0;
1742
+ width: 100%;
1743
+ height: 100%;
1744
+ overflow: hidden;
1745
+ }
1746
+
1747
+ .wpr-grid-media-hover-top {
1748
+ position: absolute;
1749
+ top: 0;
1750
+ left: 0;
1751
+ width: 100%;
1752
+ z-index: 2;
1753
+ }
1754
+
1755
+ .wpr-grid-media-hover-bottom {
1756
+ position: absolute;
1757
+ bottom: 0;
1758
+ left: 0;
1759
+ width: 100%;
1760
+ z-index: 2;
1761
+ }
1762
+
1763
+ .wpr-grid-media-hover-middle {
1764
+ position: relative;
1765
+ z-index: 2;
1766
+ }
1767
+
1768
+ .wpr-grid .wpr-cv-container,
1769
+ .wpr-magazine-grid .wpr-cv-container {
1770
+ z-index: 1;
1771
+ }
1772
+
1773
+ .wpr-grid-item-display-block {
1774
+ clear: both;
1775
+ }
1776
+
1777
+ .wpr-grid-item-display-inline.wpr-grid-item-align-left,
1778
+ .wpr-grid-item-display-custom.wpr-grid-item-align-left {
1779
+ float: left;
1780
+ }
1781
+
1782
+ .wpr-grid-item-display-inline.wpr-grid-item-align-right,
1783
+ .wpr-grid-item-display-custom.wpr-grid-item-align-right {
1784
+ float: right;
1785
+ }
1786
+
1787
+ .wpr-grid-item-display-inline.wpr-grid-item-align-center,
1788
+ .wpr-grid-item-display-custom.wpr-grid-item-align-center {
1789
+ float: none;
1790
+ display: inline-block;
1791
+ vertical-align: middle;
1792
+ }
1793
+
1794
+
1795
+ /*.wpr-grid-item-display-custom .inner-block { //tmp - maybe remove? need to check
1796
+ text-align: center;
1797
+ }*/
1798
+
1799
+ .wpr-grid-item-title .inner-block a,
1800
+ .wpr-grid-item-date .inner-block>span,
1801
+ .wpr-grid-item-time .inner-block>span,
1802
+ .wpr-grid-item-author .inner-block a,
1803
+ .wpr-grid-item-comments .inner-block a,
1804
+ .wpr-grid-item-read-more .inner-block a,
1805
+ .wpr-grid-item-likes .inner-block a,
1806
+ .wpr-grid-item-sharing .inner-block>span,
1807
+ .wpr-grid-item-lightbox .inner-block>span,
1808
+ .wpr-grid-product-categories .inner-block a,
1809
+ .wpr-grid-product-tags .inner-block a,
1810
+ .wpr-grid-tax-style-1 .inner-block a,
1811
+ .wpr-grid-tax-style-2 .inner-block a,
1812
+ .wpr-grid-cf-style-1 .inner-block>a,
1813
+ .wpr-grid-cf-style-1 .inner-block>span,
1814
+ .wpr-grid-cf-style-2 .inner-block>a,
1815
+ .wpr-grid-cf-style-2 .inner-block>span,
1816
+ .wpr-grid-sep-style-1 .inner-block>span,
1817
+ .wpr-grid-sep-style-2 .inner-block>span,
1818
+ .wpr-grid-item-status .inner-block>span,
1819
+ .wpr-grid-item-price .inner-block>span,
1820
+ .wpr-grid-item-add-to-cart .inner-block>a,
1821
+ .wpr-grid-item-read-more .inner-block a {
1822
+ display: inline-block;
1823
+ }
1824
+
1825
+ .wpr-grid-item-display-custom.wpr-grid-item-title .inner-block a,
1826
+ .wpr-grid-item-display-custom.wpr-grid-item-date .inner-block>span,
1827
+ .wpr-grid-item-display-custom.wpr-grid-item-time .inner-block>span,
1828
+ .wpr-grid-item-display-custom.wpr-grid-item-comments .inner-block a,
1829
+ .wpr-grid-item-display-custom.wpr-grid-item-read-more .inner-block a,
1830
+ .wpr-grid-item-display-custom.wpr-grid-item-likes .inner-block a,
1831
+ .wpr-grid-item-display-custom.wpr-grid-item-sharing .inner-block>span,
1832
+ .wpr-grid-item-display-custom.wpr-grid-item-lightbox .inner-block>span,
1833
+ .wpr-grid-item-display-custom.wpr-grid-cf-style-1 .inner-block>a,
1834
+ .wpr-grid-item-display-custom.wpr-grid-cf-style-1 .inner-block>span,
1835
+ .wpr-grid-item-display-custom.wpr-grid-cf-style-2 .inner-block>a,
1836
+ .wpr-grid-item-display-custom.wpr-grid-cf-style-2 .inner-block>span,
1837
+ .wpr-grid-item-display-custom.wpr-grid-sep-style-1 .inner-block>span,
1838
+ .wpr-grid-item-display-custom.wpr-grid-sep-style-2 .inner-block>span,
1839
+ .wpr-grid-item-display-custom.wpr-grid-item-product-status .inner-block>span,
1840
+ .wpr-grid-item-display-custom.wpr-grid-item-product-price .inner-block>span,
1841
+ .wpr-grid-item-display-custom.wpr-grid-item-add-to-cart .inner-block>a,
1842
+ .wpr-grid-item-display-custom.wpr-grid-item-read-more .inner-block a {
1843
+ width: 100%;
1844
+ }
1845
+
1846
+ .wpr-grid-item-content .inner-block,
1847
+ .wpr-grid-item-excerpt .inner-block {
1848
+ display: inline-block;
1849
+ }
1850
+
1851
+ .wpr-grid-item-excerpt .inner-block p {
1852
+ margin: 0 !important;
1853
+ }
1854
+
1855
+
1856
+ /* Image Overlay */
1857
+ .wpr-grid-media-hover-bg {
1858
+ position: absolute;
1859
+ }
1860
+
1861
+ .wpr-grid-media-hover-bg img {
1862
+ position: absolute;
1863
+ top: 50%;
1864
+ left: 50%;
1865
+ -webkit-transform: translate( -50%, -50%) scale(1) !important;
1866
+ -ms-transform: translate( -50%, -50%) scale(1) !important;
1867
+ transform: translate( -50%, -50%) scale(1) !important;
1868
+ -webkit-filter: grayscale(0) !important;
1869
+ filter: grayscale(0) !important;
1870
+ -webkit-filter: blur(0px) !important;
1871
+ -filter: blur(0px) !important;
1872
+ }
1873
+
1874
+
1875
+ /* Author */
1876
+
1877
+ .wpr-grid-item-author img,
1878
+ .wpr-grid-item-author span {
1879
+ display: inline-block;
1880
+ vertical-align: middle;
1881
+ }
1882
+
1883
+ .wpr-grid-item-author img {
1884
+ -webkit-transform: none !important;
1885
+ -ms-transform: none !important;
1886
+ transform: none !important;
1887
+ -webkit-filter: none !important;
1888
+ filter: none !important;
1889
+ }
1890
+
1891
+
1892
+ /* Likes */
1893
+
1894
+ .wpr-grid-item-likes .inner-block a {
1895
+ text-align: center;
1896
+ }
1897
+
1898
+ .wpr-likes-no-default.wpr-likes-zero i {
1899
+ padding: 0 !important;
1900
+ }
1901
+
1902
+
1903
+ /* Sharing */
1904
+
1905
+ .wpr-grid-item-sharing .inner-block a {
1906
+ text-align: center;
1907
+ }
1908
+
1909
+ .wpr-grid-item-sharing .wpr-post-sharing {
1910
+ position: relative;
1911
+ }
1912
+
1913
+ .wpr-grid-item-sharing .wpr-sharing-icon {
1914
+ display: inline-block;
1915
+ position: relative;
1916
+ }
1917
+
1918
+ .wpr-grid-item-sharing .wpr-sharing-icon .wpr-tooltip {
1919
+ left: 50%;
1920
+ -ms-transform: translate(-50%, -100%);
1921
+ transform: translate(-50%, -100%);
1922
+ -webkit-transform: translate(-50%, -100%);
1923
+ }
1924
+
1925
+ .wpr-grid-item-sharing .wpr-sharing-icon:hover .wpr-tooltip {
1926
+ visibility: visible;
1927
+ opacity: 1;
1928
+ -ms-transform: translate(-50%, -120%);
1929
+ transform: translate(-50%, -120%);
1930
+ -webkit-transform: translate(-50%, -120%);
1931
+ }
1932
+
1933
+ .wpr-grid-item-sharing .wpr-tooltip:before {
1934
+ left: 50%;
1935
+ -ms-transform: translateX(-50%);
1936
+ transform: translateX(-50%);
1937
+ -webkit-transform: translateX(-50%);
1938
+ }
1939
+
1940
+ .wpr-grid-item-sharing .wpr-sharing-trigger {
1941
+ cursor: pointer;
1942
+ }
1943
+
1944
+ .wpr-grid-item-sharing .wpr-tooltip {
1945
+ display: block;
1946
+ padding: 10px;
1947
+ }
1948
+
1949
+ .wpr-grid-item-sharing .wpr-sharing-hidden {
1950
+ visibility: hidden;
1951
+ position: absolute;
1952
+ z-index: 3;
1953
+ text-align: center;
1954
+ }
1955
+
1956
+ .wpr-grid-item-sharing .wpr-sharing-hidden a {
1957
+ opacity: 0;
1958
+ }
1959
+
1960
+ .wpr-sharing-hidden a {
1961
+ position: relative;
1962
+ top: -5px;
1963
+ -webkit-transition-duration: 0.3s !important;
1964
+ -o-transition-duration: 0.3s !important;
1965
+ transition-duration: 0.3s !important;
1966
+ -webkit-transition-timing-function: cubic-bezier(.445, .050, .55, .95);
1967
+ -o-transition-timing-function: cubic-bezier(.445, .050, .55, .95);
1968
+ transition-timing-function: cubic-bezier(.445, .050, .55, .95);
1969
+ -webkit-transition-delay: 0s;
1970
+ -o-transition-delay: 0s;
1971
+ transition-delay: 0s;
1972
+ }
1973
+
1974
+ .wpr-sharing-hidden a+a {
1975
+ -webkit-transition-delay: 0.1s;
1976
+ -o-transition-delay: 0.1s;
1977
+ transition-delay: 0.1s;
1978
+ }
1979
+
1980
+ .wpr-sharing-hidden a+a+a {
1981
+ -webkit-transition-delay: 0.2s;
1982
+ -o-transition-delay: 0.2s;
1983
+ transition-delay: 0.2s;
1984
+ }
1985
+
1986
+ .wpr-sharing-hidden a+a+a+a {
1987
+ -webkit-transition-delay: 0.3s;
1988
+ -o-transition-delay: 0.3s;
1989
+ transition-delay: 0.3s;
1990
+ }
1991
+
1992
+ .wpr-sharing-hidden a+a+a+a+a {
1993
+ -webkit-transition-delay: 0.4s;
1994
+ -o-transition-delay: 0.4s;
1995
+ transition-delay: 0.4s;
1996
+ }
1997
+
1998
+ .wpr-grid-item-sharing a:last-of-type {
1999
+ margin-right: 0 !important;
2000
+ }
2001
+
2002
+ .wpr-grid-item-sharing .inner-block a {
2003
+ -webkit-transition-property: color, background-color, border;
2004
+ -o-transition-property: color, background-color, border;
2005
+ transition-property: color, background-color, border;
2006
+ -webkit-transition-timing-function: linear;
2007
+ -o-transition-timing-function: linear;
2008
+ transition-timing-function: linear;
2009
+ }
2010
+
2011
+
2012
+ /* Read More */
2013
+
2014
+ .wpr-grid-item-read-more .inner-block>a,
2015
+ .wpr-grid-item-add-to-cart .inner-block>a {
2016
+ position: relative;
2017
+ overflow: hidden;
2018
+ vertical-align: middle;
2019
+ }
2020
+
2021
+ .wpr-grid-item-read-more .inner-block>a i,
2022
+ .wpr-grid-item-read-more .inner-block>a span,
2023
+ .wpr-grid-item-add-to-cart .inner-block>a i,
2024
+ .wpr-grid-item-add-to-cart .inner-block>a span {
2025
+ position: relative;
2026
+ z-index: 2;
2027
+ opacity: 1;
2028
+ }
2029
+
2030
+ .wpr-grid-item-read-more .inner-block>a:before,
2031
+ .wpr-grid-item-read-more .inner-block>a:after,
2032
+ .wpr-grid-item-add-to-cart .inner-block>a:before,
2033
+ .wpr-grid-item-add-to-cart .inner-block>a:after {
2034
+ z-index: 1;
2035
+ }
2036
+
2037
+
2038
+ /* Lightbox */
2039
+
2040
+ .wpr-grid-item-lightbox .inner-block>span,
2041
+ .wpr-grid-lightbox-overlay {
2042
+ cursor: pointer;
2043
+ }
2044
+
2045
+ .wpr-grid-lightbox-overlay {
2046
+ position: absolute;
2047
+ top: 0;
2048
+ left: 0;
2049
+ z-index: 10;
2050
+ width: 100%;
2051
+ height: 100%;
2052
+ }
2053
+
2054
+ .admin-bar .lg-toolbar {
2055
+ top: 32px;
2056
+ }
2057
+
2058
+
2059
+ /* Separator */
2060
+
2061
+ .wpr-grid-item-separator .inner-block {
2062
+ font-size: 0;
2063
+ line-height: 0;
2064
+ }
2065
+
2066
+ .wpr-grid-item-separator.wpr-grid-item-display-inline span {
2067
+ width: 100% !important;
2068
+ }
2069
+
2070
+
2071
+ /* Product Rating */
2072
+
2073
+ .wpr-woo-rating i {
2074
+ display: inline;
2075
+ position: relative;
2076
+ font-family: "eicons";
2077
+ font-style: normal;
2078
+ line-height: 1;
2079
+ overflow: hidden;
2080
+ }
2081
+
2082
+ .wpr-woo-rating i:before {
2083
+ content: '\e934';
2084
+ font-weight: 900;
2085
+ display: block;
2086
+ position: absolute;
2087
+ top: 0;
2088
+ left: 0;
2089
+ font-size: inherit;
2090
+ font-family: inherit;
2091
+ overflow: hidden;
2092
+ }
2093
+
2094
+ .wpr-woo-rating-style-2 .wpr-woo-rating i:before {
2095
+ content: '\002605';
2096
+ }
2097
+
2098
+ .wpr-woo-rating i:last-of-type {
2099
+ margin-right: 0 !important;
2100
+ }
2101
+
2102
+ .wpr-rating-icon-empty:before {
2103
+ display: none !important;
2104
+ }
2105
+
2106
+ .wpr-rating-icon-0:before {
2107
+ width: 0;
2108
+ }
2109
+
2110
+ .wpr-rating-icon-1:before {
2111
+ width: 10%;
2112
+ }
2113
+
2114
+ .wpr-rating-icon-2:before {
2115
+ width: 20%;
2116
+ }
2117
+
2118
+ .wpr-rating-icon-3:before {
2119
+ width: 30%;
2120
+ }
2121
+
2122
+ .wpr-rating-icon-4:before {
2123
+ width: 40%;
2124
+ }
2125
+
2126
+ .wpr-rating-icon-5:before {
2127
+ width: 50%;
2128
+ }
2129
+
2130
+ .wpr-rating-icon-6:before {
2131
+ width: 60%;
2132
+ }
2133
+
2134
+ .wpr-rating-icon-7:before {
2135
+ width: 70%;
2136
+ }
2137
+
2138
+ .wpr-rating-icon-8:before {
2139
+ width: 80%;
2140
+ }
2141
+
2142
+ .wpr-rating-icon-9:before {
2143
+ width: 90%;
2144
+ }
2145
+
2146
+ .wpr-rating-icon-full:before {
2147
+ width: 100%;
2148
+ }
2149
+
2150
+
2151
+ /* Filters */
2152
+
2153
+ .wpr-grid-filters li {
2154
+ display: inline-block;
2155
+ }
2156
+
2157
+ .wpr-grid-filters li:last-of-type {
2158
+ margin-right: 0 !important;
2159
+ }
2160
+
2161
+ .wpr-grid-filters li span {
2162
+ display: inline-block;
2163
+ cursor: pointer;
2164
+ text-decoration: inherit;
2165
+ }
2166
+
2167
+ .wpr-grid-filters li a {
2168
+ display: inline-block;
2169
+ }
2170
+
2171
+ .wpr-grid-filters li sup {
2172
+ position: relative;
2173
+ padding-left: 5px;
2174
+ line-height: 1;
2175
+ }
2176
+
2177
+ .wpr-grid-filters li sup[data-brackets="yes"]:before {
2178
+ content: '\0028';
2179
+ }
2180
+
2181
+ .wpr-grid-filters li sup[data-brackets="yes"]:after {
2182
+ content: '\0029';
2183
+ }
2184
+
2185
+ .wpr-grid-filters .wpr-active-filter.wpr-pointer-item:before,
2186
+ .wpr-grid-filters .wpr-active-filter.wpr-pointer-item:after {
2187
+ opacity: 1 !important;
2188
+ width: 100% !important;
2189
+ }
2190
+
2191
+ .wpr-grid-filters-sep {
2192
+ font-style: normal;
2193
+ }
2194
+
2195
+ .wpr-grid-filters-sep-right li:last-of-type .wpr-grid-filters-sep,
2196
+ .wpr-grid-filters-sep-left li:first-child .wpr-grid-filters-sep {
2197
+ display: none;
2198
+ }
2199
+
2200
+ .wpr-sub-filters {
2201
+ display: none;
2202
+ padding: 0;
2203
+ }
2204
+
2205
+
2206
+ /* Sorting */
2207
+
2208
+ .wpr-grid-sorting {
2209
+ display: -webkit-box;
2210
+ display: -ms-flexbox;
2211
+ display: flex;
2212
+ -webkit-box-align: center;
2213
+ -ms-flex-align: center;
2214
+ align-items: center;
2215
+ -ms-flex-wrap: wrap;
2216
+ flex-wrap: wrap;
2217
+ }
2218
+
2219
+ .wpr-grid-sorting>div,
2220
+ .wpr-grid-sorting .woocommerce-ordering {
2221
+ -webkit-box-flex: 1;
2222
+ -ms-flex-positive: 1;
2223
+ flex-grow: 1;
2224
+ }
2225
+
2226
+ .wpr-grid-sorting .woocommerce-ordering {
2227
+ text-align: right;
2228
+ }
2229
+
2230
+ .wpr-grid-sorting .woocommerce-ordering select {
2231
+ width: auto;
2232
+ outline: none !important;
2233
+ }
2234
+
2235
+ .wpr-grid-sorting .wpr-shop-page-title,
2236
+ .wpr-grid-sorting .woocommerce-result-count,
2237
+ .wpr-grid-sorting .woocommerce-ordering {
2238
+ margin: 0 !important;
2239
+ }
2240
+
2241
+ /* Not Clickable */
2242
+ .wpr-atc-not-clickable {
2243
+ opacity: 0.5;
2244
+ pointer-events: none;
2245
+ }
2246
+
2247
+ /* Added To Cart Popup */
2248
+ @-webkit-keyframes added-tc-popup-animation {
2249
+ from {opacity: 0; -webkit-transform: translateY(-50%); transform: translateY(-50%)}
2250
+ to {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2251
+ }
2252
+ @keyframes added-tc-popup-animation {
2253
+ from {opacity: 0; -webkit-transform: translateY(-50%); transform: translateY(-50%)}
2254
+ to {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2255
+ }
2256
+
2257
+ @-webkit-keyframes added-tc-popup-animation-hide {
2258
+ from {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2259
+ to {opacity: 0; -webkit-transform: translateY(-50%); transform: translateY(-50%)}
2260
+ }
2261
+
2262
+ @keyframes added-tc-popup-animation-hide {
2263
+ from {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2264
+ to {opacity: 0; -webkit-transform: translateY(-50%); transform: translateY(-50%)}
2265
+ }
2266
+
2267
+ @-webkit-keyframes added-tc-popup-animation-bottom {
2268
+ from {opacity: 0; -webkit-transform: translateY(50%); transform: translateY(50%)}
2269
+ to {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2270
+ }
2271
+
2272
+ @keyframes added-tc-popup-animation-bottom {
2273
+ from {opacity: 0; -webkit-transform: translateY(50%); transform: translateY(50%)}
2274
+ to {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2275
+ }
2276
+
2277
+ @-webkit-keyframes added-tc-popup-animation-hide-bottom {
2278
+ from {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2279
+ to {opacity: 0; -webkit-transform: translateY(50%); transform: translateY(50%)}
2280
+ }
2281
+
2282
+ @keyframes added-tc-popup-animation-hide-bottom {
2283
+ from {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2284
+ to {opacity: 0; -webkit-transform: translateY(50%); transform: translateY(50%)}
2285
+ }
2286
+
2287
+ @keyframes added-tc-popup-animation-hide-bottom {
2288
+ from {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2289
+ to {opacity: 0; -webkit-transform: translateY(50%); transform: translateY(50%)}
2290
+ }
2291
+
2292
+ @-webkit-keyframes added-tc-popup-animation-slide-in-left {
2293
+ from {opacity: 0; -webkit-transform: translateX(100%); transform: translateX(100%)}
2294
+ to {opacity: 1; -webkit-transform: translateX(0); transform: translateX(0)}
2295
+ }
2296
+
2297
+ @keyframes added-tc-popup-animation-slide-in-left {
2298
+ from {opacity: 0; -webkit-transform: translateX(100%); transform: translateX(100%)}
2299
+ to {opacity: 1; -webkit-transform: translateX(0); transform: translateX(0)}
2300
+ }
2301
+
2302
+ @-webkit-keyframes added-tc-popup-animation-slide-out-left {
2303
+ from {opacity: 1; -webkit-transform: translateX(0); transform: translateX(0)}
2304
+ to {opacity: 0; -webkit-transform: translateX(100%); transform: translateX(100%)}
2305
+ }
2306
+
2307
+ @keyframes added-tc-popup-animation-slide-out-left {
2308
+ from {opacity: 1; -webkit-transform: translateX(0); transform: translateX(0)}
2309
+ to {opacity: 0; -webkit-transform: translateX(100%); transform: translateX(100%)}
2310
+ }
2311
+
2312
+ @-webkit-keyframes added-tc-popup-animation-scale-up {
2313
+ from {opacity: 0; -webkit-transform: scale(0); transform: scale(0)}
2314
+ to {opacity: 1; -webkit-transform: scale(1); transform: scale(1)}
2315
+ }
2316
+
2317
+ @keyframes added-tc-popup-animation-scale-up {
2318
+ from {opacity: 0; -webkit-transform: scale(0); transform: scale(0)}
2319
+ to {opacity: 1; -webkit-transform: scale(1); transform: scale(1)}
2320
+ }
2321
+
2322
+ @-webkit-keyframes added-tc-popup-animation-scale-down {
2323
+ from {opacity: 1; -webkit-transform: scale(1); transform: scale(1)}
2324
+ to {opacity: 0; -webkit-transform: scale(0); transform: scale(0)}
2325
+ }
2326
+
2327
+ @keyframes added-tc-popup-animation-scale-down {
2328
+ from {opacity: 1; -webkit-transform: scale(1); transform: scale(1)}
2329
+ to {opacity: 0; -webkit-transform: scale(0); transform: scale(0)}
2330
+ }
2331
+
2332
+ @-webkit-keyframes added-tc-popup-animation-fade {
2333
+ from {opacity: 0;}
2334
+ to {opacity: 1;}
2335
+ }
2336
+
2337
+ @keyframes added-tc-popup-animation-fade {
2338
+ from {opacity: 0;}
2339
+ to {opacity: 1;}
2340
+ }
2341
+
2342
+ @-webkit-keyframes added-tc-popup-animation-fade-out {
2343
+ from {opacity: 1;}
2344
+ to {opacity: 0;}
2345
+ }
2346
+
2347
+ @keyframes added-tc-popup-animation-fade-out {
2348
+ from {opacity: 1;}
2349
+ to {opacity: 0;}
2350
+ }
2351
+
2352
+ @-webkit-keyframes added-tc-popup-animation-skew {
2353
+ from {opacity: 0; -webkit-transform: perspective(600px) rotateX(-90deg); transform: perspective(600px) rotateX(-90deg)}
2354
+ to {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2355
+ }
2356
+
2357
+ @keyframes added-tc-popup-animation-skew {
2358
+ from {opacity: 0; -webkit-transform: perspective(600px) rotateX(-90deg); transform: perspective(600px) rotateX(-90deg)}
2359
+ to {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2360
+ }
2361
+
2362
+ @-webkit-keyframes added-tc-popup-animation-skew-off {
2363
+ from {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2364
+ to {opacity: 0; -webkit-transform: perspective(600px) rotateX(-90deg); transform: perspective(600px) rotateX(-90deg)}
2365
+ }
2366
+
2367
+ @keyframes added-tc-popup-animation-skew-off {
2368
+ from {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2369
+ to {opacity: 0; -webkit-transform: perspective(600px) rotateX(-90deg); transform: perspective(600px) rotateX(-90deg)}
2370
+ }
2371
+
2372
+ @-webkit-keyframes added-tc-popup-animation-skew-bottom {
2373
+ from {opacity: 0; -webkit-transform: perspective(600px) rotateX(90deg); transform: perspective(600px) rotateX(90deg)}
2374
+ to {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2375
+ }
2376
+
2377
+ @keyframes added-tc-popup-animation-skew-bottom {
2378
+ from {opacity: 0; -webkit-transform: perspective(600px) rotateX(90deg); transform: perspective(600px) rotateX(90deg)}
2379
+ to {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2380
+ }
2381
+
2382
+ @-webkit-keyframes added-tc-popup-animation-skew-off-bottom {
2383
+ from {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2384
+ to {opacity: 0; -webkit-transform: perspective(600px) rotateX(90deg); transform: perspective(600px) rotateX(90deg)}
2385
+ }
2386
+
2387
+ @keyframes added-tc-popup-animation-skew-off-bottom {
2388
+ from {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2389
+ to {opacity: 0; -webkit-transform: perspective(600px) rotateX(90deg); transform: perspective(600px) rotateX(90deg)}
2390
+ }
2391
+
2392
+ .wpr-added-to-cart-popup {
2393
+ position: fixed;
2394
+ display: -webkit-box;
2395
+ display: -ms-flexbox;
2396
+ display: flex;
2397
+ opacity: 0;
2398
+ z-index: 99999;
2399
+ }
2400
+
2401
+ .wpr-added-to-cart-popup.wpr-added-to-cart-slide-in-left {
2402
+ -webkit-animation-name: added-tc-popup-animation-slide-in-left !important;
2403
+ animation-name: added-tc-popup-animation-slide-in-left !important;
2404
+ -webkit-animation-duration: 1s;
2405
+ animation-duration: 1s;
2406
+ -webkit-animation-fill-mode: forwards;
2407
+ animation-fill-mode: forwards;
2408
+ }
2409
+
2410
+ .wpr-added-to-cart-popup.wpr-added-to-cart-slide-out-left {
2411
+ -webkit-animation-name: added-tc-popup-animation-slide-out-left !important;
2412
+ animation-name: added-tc-popup-animation-slide-out-left !important;
2413
+ -webkit-animation-duration: 1s;
2414
+ animation-duration: 1s;
2415
+ -webkit-animation-fill-mode: forwards;
2416
+ animation-fill-mode: forwards;
2417
+ }
2418
+
2419
+ .wpr-added-to-cart-popup.wpr-added-to-cart-scale-up {
2420
+ -webkit-animation-name: added-tc-popup-animation-scale-up !important;
2421
+ animation-name: added-tc-popup-animation-scale-up !important;
2422
+ -webkit-animation-duration: 1s;
2423
+ animation-duration: 1s;
2424
+ -webkit-animation-fill-mode: forwards;
2425
+ animation-fill-mode: forwards;
2426
+ }
2427
+
2428
+ .wpr-added-to-cart-popup.wpr-added-to-cart-scale-down {
2429
+ -webkit-animation-name: added-tc-popup-animation-scale-down !important;
2430
+ animation-name: added-tc-popup-animation-scale-down !important;
2431
+ -webkit-animation-duration: 1s;
2432
+ animation-duration: 1s;
2433
+ -webkit-animation-fill-mode: forwards;
2434
+ animation-fill-mode: forwards;
2435
+ }
2436
+
2437
+ .wpr-added-to-cart-popup.wpr-added-to-cart-fade {
2438
+ -webkit-animation-name: added-tc-popup-animation-fade !important;
2439
+ animation-name: added-tc-popup-animation-fade !important;
2440
+ -webkit-animation-duration: 1s;
2441
+ animation-duration: 1s;
2442
+ -webkit-animation-fill-mode: forwards;
2443
+ animation-fill-mode: forwards;
2444
+ }
2445
+
2446
+ .wpr-added-to-cart-popup.wpr-added-to-cart-fade-out {
2447
+ -webkit-animation-name: added-tc-popup-animation-fade-out !important;
2448
+ animation-name: added-tc-popup-animation-fade-out !important;
2449
+ -webkit-animation-duration: 1s;
2450
+ animation-duration: 1s;
2451
+ -webkit-animation-fill-mode: forwards;
2452
+ animation-fill-mode: forwards;
2453
+ }
2454
+
2455
+ .wpr-atc-popup-top .wpr-added-to-cart-popup.wpr-added-to-cart-skew {
2456
+ -webkit-transform-origin: center top 0;
2457
+ -ms-transform-origin: center top 0;
2458
+ transform-origin: center top 0;
2459
+ -webkit-animation-name: added-tc-popup-animation-skew !important;
2460
+ animation-name: added-tc-popup-animation-skew !important;
2461
+ -webkit-animation-duration: 1s;
2462
+ animation-duration: 1s;
2463
+ -webkit-animation-fill-mode: forwards;
2464
+ animation-fill-mode: forwards;
2465
+ }
2466
+
2467
+ .wpr-atc-popup-top .wpr-added-to-cart-popup.wpr-added-to-cart-skew-off {
2468
+ -webkit-transform-origin: center top 0;
2469
+ -ms-transform-origin: center top 0;
2470
+ transform-origin: center top 0;
2471
+ -webkit-animation-name: added-tc-popup-animation-skew-off !important;
2472
+ animation-name: added-tc-popup-animation-skew-off !important;
2473
+ -webkit-animation-duration: 1s;
2474
+ animation-duration: 1s;
2475
+ -webkit-animation-fill-mode: forwards;
2476
+ animation-fill-mode: forwards;
2477
+ }
2478
+
2479
+ .wpr-atc-popup-bottom .wpr-added-to-cart-popup.wpr-added-to-cart-skew {
2480
+ -webkit-transform-origin: center bottom 0;
2481
+ -ms-transform-origin: center bottom 0;
2482
+ transform-origin: center bottom 0;
2483
+ -webkit-animation-name: added-tc-popup-animation-skew-bottom !important;
2484
+ animation-name: added-tc-popup-animation-skew-bottom !important;
2485
+ -webkit-animation-duration: 1s;
2486
+ animation-duration: 1s;
2487
+ -webkit-animation-fill-mode: forwards;
2488
+ animation-fill-mode: forwards;
2489
+ }
2490
+
2491
+ .wpr-atc-popup-bottom .wpr-added-to-cart-popup.wpr-added-to-cart-skew-off {
2492
+ -webkit-transform-origin: center bottom 0;
2493
+ -ms-transform-origin: center bottom 0;
2494
+ transform-origin: center bottom 0;
2495
+ -webkit-animation-name: added-tc-popup-animation-skew-off-bottom !important;
2496
+ animation-name: added-tc-popup-animation-skew-off-bottom !important;
2497
+ -webkit-animation-duration: 1s;
2498
+ animation-duration: 1s;
2499
+ -webkit-animation-fill-mode: forwards;
2500
+ animation-fill-mode: forwards;
2501
+ }
2502
+
2503
+ .wpr-atc-popup-top .wpr-added-to-cart-popup {
2504
+ -webkit-animation-name: added-tc-popup-animation;
2505
+ animation-name: added-tc-popup-animation;
2506
+ -webkit-animation-duration: 1s;
2507
+ animation-duration: 1s;
2508
+ -webkit-animation-fill-mode: forwards;
2509
+ animation-fill-mode: forwards;
2510
+ }
2511
+
2512
+ .wpr-atc-popup-top .wpr-added-to-cart-popup-hide {
2513
+ -webkit-animation-name: added-tc-popup-animation-hide;
2514
+ animation-name: added-tc-popup-animation-hide;
2515
+ -webkit-animation-duration: 1s;
2516
+ animation-duration: 1s;
2517
+ -webkit-animation-fill-mode: forwards;
2518
+ animation-fill-mode: forwards;
2519
+ }
2520
+
2521
+ .wpr-atc-popup-bottom .wpr-added-to-cart-popup {
2522
+ -webkit-animation-name: added-tc-popup-animation-bottom;
2523
+ animation-name: added-tc-popup-animation-bottom;
2524
+ -webkit-animation-duration: 1s;
2525
+ animation-duration: 1s;
2526
+ -webkit-animation-fill-mode: forwards;
2527
+ animation-fill-mode: forwards;
2528
+ }
2529
+
2530
+ .wpr-atc-popup-bottom .wpr-added-to-cart-popup-hide {
2531
+ -webkit-animation-name: added-tc-popup-animation-hide-bottom;
2532
+ animation-name: added-tc-popup-animation-hide-bottom;
2533
+ -webkit-animation-duration: 1s;
2534
+ animation-duration: 1s;
2535
+ -webkit-animation-fill-mode: forwards;
2536
+ animation-fill-mode: forwards;
2537
+ }
2538
+
2539
+ .wpr-atc-popup-top .wpr-added-to-cart-popup {
2540
+ top: 0;
2541
+ right: 0;
2542
+ }
2543
+
2544
+ .wpr-atc-popup-bottom .wpr-added-to-cart-popup {
2545
+ bottom: 0;
2546
+ right: 0;
2547
+ }
2548
+
2549
+ .wpr-added-tc-title {
2550
+ -webkit-box-flex: 1;
2551
+ -ms-flex: 1;
2552
+ flex: 1;
2553
+ }
2554
+
2555
+ .wpr-added-tc-title a {
2556
+ display: inline;
2557
+ }
2558
+
2559
+ .wpr-added-tc-title p {
2560
+ margin: 0;
2561
+ }
2562
+
2563
+ .wpr-added-tc-popup-img img {
2564
+ width: 100%;
2565
+ height: auto;
2566
+ }
2567
+
2568
+ .wpr-grid .added_to_cart {
2569
+ opacity: 0;
2570
+ }
2571
+
2572
+ /* Pagination */
2573
+
2574
+ .wpr-grid-pagination {
2575
+ margin-top: 30px;
2576
+ }
2577
+
2578
+ .wpr-grid-pagination>a,
2579
+ .wpr-grid-pagination>span {
2580
+ display: inline-block;
2581
+ }
2582
+
2583
+ .wpr-grid-pagination i,
2584
+ .wpr-grid-pagination svg {
2585
+ vertical-align: middle;
2586
+ }
2587
+
2588
+ .wpr-grid-pagination .wpr-disabled-arrow {
2589
+ cursor: not-allowed;
2590
+ opacity: 0.4;
2591
+ }
2592
+
2593
+ .wpr-pagination-loading,
2594
+ .wpr-pagination-finish {
2595
+ display: none;
2596
+ }
2597
+
2598
+ .wpr-grid-pagination-center .wpr-grid-pagination,
2599
+ .wpr-grid-pagination-justify .wpr-grid-pagination {
2600
+ text-align: center;
2601
+ }
2602
+
2603
+ .wpr-grid-pagination-center .wpr-grid-pagination {
2604
+ display: -webkit-box;
2605
+ display: -ms-flexbox;
2606
+ display: flex;
2607
+ -webkit-box-pack: center;
2608
+ -ms-flex-pack: center;
2609
+ justify-content: center;
2610
+ }
2611
+
2612
+ .wpr-grid-pagination-left .wpr-grid-pagination {
2613
+ text-align: left;
2614
+ display: -webkit-box;
2615
+ display: -ms-flexbox;
2616
+ display: flex;
2617
+ -webkit-box-pack: start;
2618
+ -ms-flex-pack: start;
2619
+ justify-content: flex-start;
2620
+ }
2621
+
2622
+ .wpr-grid-pagination-right .wpr-grid-pagination {
2623
+ text-align: right;
2624
+ display: -webkit-box;
2625
+ display: -ms-flexbox;
2626
+ display: flex;
2627
+ -webkit-box-pack: end;
2628
+ -ms-flex-pack: end;
2629
+ justify-content: flex-end;
2630
+ }
2631
+
2632
+ .wpr-grid-pagination-infinite-scroll {
2633
+ text-align: center;
2634
+ }
2635
+
2636
+ .wpr-grid-pagination-justify .wpr-grid-pagi-left-arrows,
2637
+ .wpr-grid-pagination-justify .wpr-grid-pagination-default .wpr-prev-post-link {
2638
+ float: left;
2639
+ }
2640
+
2641
+ .wpr-grid-pagination-justify .wpr-grid-pagi-right-arrows,
2642
+ .wpr-grid-pagination-justify .wpr-grid-pagination-default .wpr-next-post-link {
2643
+ float: right;
2644
+ }
2645
+
2646
+ .wpr-grid-pagi-left-arrows,
2647
+ .wpr-grid-pagi-right-arrows,
2648
+ .wpr-grid-pagination .wpr-load-more-btn {
2649
+ display: inline-block;
2650
+ }
2651
+
2652
+ .wpr-load-more-btn,
2653
+ .wpr-grid-pagi-right-arrows a:last-child,
2654
+ .wpr-grid-pagi-right-arrows span:last-child {
2655
+ margin-right: 0 !important;
2656
+ }
2657
+
2658
+ .wpr-grid-pagination .wpr-first-page,
2659
+ .wpr-grid-pagination .wpr-last-page,
2660
+ .wpr-grid-pagination .wpr-prev-page,
2661
+ .wpr-grid-pagination .wpr-prev-post-link,
2662
+ .wpr-grid-pagination .wpr-next-page,
2663
+ .wpr-grid-pagination .wpr-next-post-link {
2664
+ display: -webkit-inline-box;
2665
+ display: -ms-inline-flexbox;
2666
+ display: inline-flex;
2667
+ -webkit-box-pack: center;
2668
+ -ms-flex-pack: center;
2669
+ justify-content: center;
2670
+ -webkit-box-align: center;
2671
+ -ms-flex-align: center;
2672
+ align-items: center;
2673
+ height: 100%;
2674
+ }
2675
+
2676
+ @media screen and ( max-width: 767px) {
2677
+ .wpr-grid-pagination a,
2678
+ .wpr-grid-pagination span {
2679
+ margin-bottom: 10px;
2680
+ }
2681
+ .wpr-grid-pagination span>span,
2682
+ .wpr-grid-pagination a>span {
2683
+ display: none;
2684
+ }
2685
+ .wpr-grid-pagination.wpr-grid-pagination-numbered span i,
2686
+ .wpr-grid-pagination.wpr-grid-pagination-numbered a i {
2687
+ padding: 0 !important;
2688
+ }
2689
+ }
2690
+
2691
+ .elementor-editor-active .wpr-grid-pagination-infinite-scroll {
2692
+ display: none;
2693
+ }
2694
+
2695
+
2696
+ /* Grid Slider Navigation */
2697
+ .wpr-grid-slider-nav-position-default .wpr-grid-slider-arrow-container {
2698
+ position: absolute;
2699
+ display: -webkit-box;
2700
+ display: -ms-flexbox;
2701
+ display: flex;
2702
+ }
2703
+
2704
+ .wpr-grid-slider-nav-position-default .wpr-grid-slider-arrow {
2705
+ position: static;
2706
+ }
2707
+
2708
+ .wpr-grid-slider-nav-position-default .wpr-grid-slider-prev-arrow {
2709
+ -ms-transform: none;
2710
+ transform: none;
2711
+ -webkit-transform: none;
2712
+ }
2713
+
2714
+ .wpr-grid-slider-nav-position-default .wpr-grid-slider-next-arrow {
2715
+ -ms-transform: translateY(0) rotate(180deg);
2716
+ transform: translateY(0) rotate(180deg);
2717
+ -webkit-transform: translateY(0) rotate(180deg);
2718
+ }
2719
+
2720
+ .wpr-grid-slider-nav-align-top-center .wpr-grid-slider-arrow-container,
2721
+ .wpr-grid-slider-nav-align-bottom-center .wpr-grid-slider-arrow-container {
2722
+ left: 50%;
2723
+ -webkit-transform: translateX(-50%);
2724
+ -ms-transform: translateX(-50%);
2725
+ transform: translateX(-50%);
2726
+ }
2727
+
2728
+ .wpr-grid-slider-arrow {
2729
+ position: absolute;
2730
+ z-index: 120;
2731
+ top: 50%;
2732
+ -webkit-box-sizing: content-box;
2733
+ box-sizing: content-box;
2734
+ -webkit-box-align: center;
2735
+ -ms-flex-align: center;
2736
+ align-items: center;
2737
+ -webkit-box-pack: center;
2738
+ -ms-flex-pack: center;
2739
+ justify-content: center;
2740
+ -webkit-transition: all .5s;
2741
+ -o-transition: all .5s;
2742
+ transition: all .5s;
2743
+ text-align: center;
2744
+ cursor: pointer;
2745
+ }
2746
+
2747
+ .wpr-grid-slider-arrow i {
2748
+ display: block;
2749
+ width: 100%;
2750
+ height: 100%;
2751
+ }
2752
+
2753
+ .wpr-grid-slider-prev-arrow {
2754
+ left: 1%;
2755
+ -webkit-transform: translateY(-50%);
2756
+ -ms-transform: translateY(-50%);
2757
+ transform: translateY(-50%);
2758
+ }
2759
+
2760
+ .wpr-grid-slider-next-arrow {
2761
+ right: 1%;
2762
+ -webkit-transform: translateY(-50%) rotate(180deg);
2763
+ -ms-transform: translateY(-50%) rotate(180deg);
2764
+ transform: translateY(-50%) rotate(180deg);
2765
+ }
2766
+
2767
+ .wpr-grid-slider-nav-fade .wpr-grid-slider-arrow-container {
2768
+ opacity: 0;
2769
+ visibility: hidden;
2770
+ }
2771
+
2772
+ .wpr-grid-slider-nav-fade:hover .wpr-grid-slider-arrow-container {
2773
+ opacity: 1;
2774
+ visibility: visible;
2775
+ }
2776
+
2777
+
2778
+ /* Grid Slider Pagination */
2779
+ .wpr-grid-slider-dots {
2780
+ display: inline-table;
2781
+ position: absolute;
2782
+ z-index: 110;
2783
+ left: 50%;
2784
+ -webkit-transform: translate(-50%, -50%);
2785
+ -ms-transform: translate(-50%, -50%);
2786
+ transform: translate(-50%, -50%);
2787
+ }
2788
+
2789
+ .wpr-grid-slider-dots ul {
2790
+ list-style: none;
2791
+ margin: 0;
2792
+ padding: 0;
2793
+ }
2794
+
2795
+ .wpr-grid-slider-dots-horizontal .wpr-grid-slider-dots li,
2796
+ .wpr-grid-slider-dots-pro-vr .slick-dots li {
2797
+ float: left;
2798
+ }
2799
+
2800
+ .wpr-grid.slick-dotted.slick-slider {
2801
+ margin-bottom: 0 !important;
2802
+ }
2803
+
2804
+ .wpr-grid-slider-dots-vertical .slick-dots li {
2805
+ display: block;
2806
+ width: auto !important;
2807
+ height: auto !important;
2808
+ margin: 0 !important;
2809
+ }
2810
+
2811
+ .wpr-grid-slider-dots-horizontal .slick-dots li,
2812
+ .wpr-grid-slider-dots-pro-vr .slick-dots li {
2813
+ width: auto !important;
2814
+ padding-top: 10px;
2815
+ margin: 0 !important;
2816
+ }
2817
+
2818
+ .wpr-grid-slider-dots-horizontal .slick-dots li:last-child span {
2819
+ margin-right: 0 !important;
2820
+ }
2821
+
2822
+ .wpr-grid-slider-dot {
2823
+ display: block;
2824
+ cursor: pointer;
2825
+ }
2826
+
2827
+ .wpr-grid-slider-dots li:last-child .wpr-grid-slider-dot {
2828
+ margin: 0 !important;
2829
+ }
2830
+
2831
+
2832
+ /* Password Protected Form */
2833
+ .wpr-grid-item-protected {
2834
+ position: absolute;
2835
+ top: 0;
2836
+ left: 0;
2837
+ z-index: 11 !important;
2838
+ width: 100%;
2839
+ height: 100%;
2840
+ }
2841
+
2842
+ .wpr-grid-item-protected i {
2843
+ font-size: 22px;
2844
+ }
2845
+
2846
+ .wpr-grid-item-protected input {
2847
+ width: 50%;
2848
+ border: none;
2849
+ margin-top: 10px;
2850
+ padding: 7px 13px;
2851
+ font-size: 13px;
2852
+ }
2853
+
2854
+ /* Locate It Later */
2855
+ .wpr-grid-sorting-inner-wrap {
2856
+ display: -webkit-box;
2857
+ display: -ms-flexbox;
2858
+ display: flex;
2859
+ -webkit-box-align: center;
2860
+ -ms-flex-align: center;
2861
+ align-items: center;
2862
+ -webkit-box-pack: justify;
2863
+ -ms-flex-pack: justify;
2864
+ justify-content: space-between;
2865
+ }
2866
+
2867
+ .wpr-products-result-count .woocommerce-result-count {
2868
+ margin: 0;
2869
+ }
2870
+
2871
+ .wpr-sort-select-position-above .wpr-grid-sort-heading {
2872
+ display: -webkit-box;
2873
+ display: -ms-flexbox;
2874
+ display: flex;
2875
+ -webkit-box-pack: justify;
2876
+ -ms-flex-pack: justify;
2877
+ justify-content: space-between;
2878
+ }
2879
+
2880
+ .wpr-grid-sort-heading {
2881
+ /* flex: 1; */
2882
+ width: 100%;
2883
+ /* flex-basis: 100%; */
2884
+ }
2885
+
2886
+ .wpr-grid-sort-heading * {
2887
+ margin: 0;
2888
+ }
2889
+
2890
+ .wpr-grid-sorting-inner-wrap form .orderby::-ms-expend {
2891
+ display: none;
2892
+ }
2893
+
2894
+ .wpr-grid-orderby span {
2895
+ position: relative;
2896
+ }
2897
+
2898
+ .wpr-grid-sorting-wrap form .orderby {
2899
+ /* for Firefox */
2900
+ -moz-appearance: none;
2901
+ /* for Chrome */
2902
+ -webkit-appearance: none;
2903
+ }
2904
+
2905
+ .wpr-grid-sorting-wrap .wpr-orderby-icon {
2906
+ position: absolute;
2907
+ top: 50%;
2908
+ -webkit-transform: translateY(-50%);
2909
+ -ms-transform: translateY(-50%);
2910
+ transform: translateY(-50%);
2911
+ }
2912
+
2913
+ /* Defaults */
2914
+ .elementor-widget-wpr-grid .wpr-grid-media-hover-bg,
2915
+ .elementor-widget-wpr-media-grid .wpr-grid-media-hover-bg,
2916
+ .elementor-widget-wpr-woo-grid .wpr-grid-media-hover-bg {
2917
+ background-color: rgba(0, 0, 0, 0.25);
2918
+ }
2919
+
2920
+ .elementor-widget-wpr-magazine-grid .wpr-grid-media-hover-bg {
2921
+ background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0) 46%, rgba(96, 91, 229, 0.87) 100%);
2922
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(46%, rgba(255, 255, 255, 0)), to(rgba(96, 91, 229, 0.87)));
2923
+ background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 46%, rgba(96, 91, 229, 0.87) 100%);
2924
+ }
2925
+
2926
+ .elementor-widget-wpr-grid .wpr-grid-item-title,
2927
+ .elementor-widget-wpr-woo-grid .wpr-grid-item-title,
2928
+ .elementor-widget-wpr-woo-category-grid-pro .wpr-grid-item-title {
2929
+ font-size: 21px;
2930
+ font-weight: 700;
2931
+ line-height: 23px;
2932
+ margin: 0;
2933
+ }
2934
+
2935
+ .elementor-widget-wpr-magazine-grid .wpr-grid-item-title {
2936
+ font-size: 22px;
2937
+ margin: 0;
2938
+ }
2939
+
2940
+ .elementor-widget-wpr-media-grid .wpr-grid-item-title {
2941
+ font-size: 15px;
2942
+ font-weight: 500;
2943
+ margin: 0;
2944
+ }
2945
+
2946
+ .elementor-widget-wpr-grid .wpr-grid-item-content,
2947
+ .elementor-widget-wpr-grid .wpr-grid-item-excerpt,
2948
+ .elementor-widget-wpr-grid .wpr-grid-item-author,
2949
+ .elementor-widget-wpr-grid .wpr-grid-item-time,
2950
+ .elementor-widget-wpr-grid .wpr-grid-item-read-more a,
2951
+ .elementor-widget-wpr-grid .wpr-grid-item-likes,
2952
+ .elementor-widget-wpr-grid .wpr-grid-item-sharing,
2953
+ .elementor-widget-wpr-grid .wpr-grid-tax-style-1,
2954
+ .elementor-widget-wpr-grid .wpr-grid-cf-style-1,
2955
+ .elementor-widget-wpr-grid .wpr-grid-filters li,
2956
+ .elementor-widget-wpr-grid .wpr-grid-pagination,
2957
+ .elementor-widget-wpr-grid .wpr-grid-item-protected p,
2958
+ .elementor-widget-wpr-media-grid .wpr-grid-item-sharing,
2959
+ .elementor-widget-wpr-media-grid .wpr-grid-filters li,
2960
+ .elementor-widget-wpr-woo-grid .wpr-grid-item-content,
2961
+ .elementor-widget-wpr-woo-grid .wpr-grid-product-categories,
2962
+ .elementor-widget-wpr-woo-grid .wpr-grid-product-tags,
2963
+ .elementor-widget-wpr-woo-grid .wpr-woo-rating span,
2964
+ .elementor-widget-wpr-woo-grid .wpr-grid-item-status .inner-block>span,
2965
+ .elementor-widget-wpr-woo-grid .wpr-grid-item-add-to-cart a,
2966
+ .elementor-widget-wpr-woo-grid .wpr-grid-item-likes,
2967
+ .elementor-widget-wpr-woo-grid .wpr-grid-item-sharing,
2968
+ .elementor-widget-wpr-woo-grid .wpr-grid-item-lightbox,
2969
+ .elementor-widget-wpr-woo-grid .wpr-grid-pagination,
2970
+ .elementor-widget-wpr-woo-grid .wpr-grid-item-price .inner-block>span,
2971
+ .elementor-widget-wpr-magazine-grid .wpr-grid-item-content,
2972
+ .elementor-widget-wpr-magazine-grid .wpr-grid-item-excerpt {
2973
+ font-size: 14px;
2974
+ }
2975
+
2976
+ .elementor-widget-wpr-magazine-grid .wpr-grid-tax-style-1 {
2977
+ font-size: 12px;
2978
+ list-style-position: 0.5px;
2979
+ }
2980
+
2981
+ .elementor-widget-wpr-magazine-grid .wpr-grid-item-date,
2982
+ .elementor-widget-wpr-magazine-grid .wpr-grid-item-time,
2983
+ .elementor-widget-wpr-magazine-grid .wpr-grid-item-author {
2984
+ font-size: 12px;
2985
+ list-style-position: 0.3px;
2986
+ }
2987
+
2988
+ .elementor-widget-wpr-grid .wpr-grid-item-date,
2989
+ .elementor-widget-wpr-grid .wpr-grid-item-comments,
2990
+ .elementor-widget-wpr-grid .wpr-grid-tax-style-2,
2991
+ .elementor-widget-wpr-media-grid .wpr-grid-item-caption,
2992
+ .elementor-widget-wpr-media-grid .wpr-grid-item-date,
2993
+ .elementor-widget-wpr-media-grid .wpr-grid-item-time,
2994
+ .elementor-widget-wpr-media-grid .wpr-grid-item-author,
2995
+ .elementor-widget-wpr-media-grid .wpr-grid-item-likes,
2996
+ .elementor-widget-wpr-media-grid .wpr-grid-tax-style-1,
2997
+ .elementor-widget-wpr-media-grid .wpr-grid-tax-style-2,
2998
+ .elementor-widget-wpr-media-magazine-grid .wpr-grid-tax-style-2 {
2999
+ font-size: 14px;
3000
+ }
3001
+
3002
+ .elementor-widget-wpr-grid .wpr-grid-item-lightbox,
3003
+ .elementor-widget-wpr-media-grid .wpr-grid-item-lightbox {
3004
+ font-size: 18px;
3005
+ }
3006
+
3007
+ .elementor-widget-wpr-grid .wpr-grid-cf-style-2,
3008
+ .elementor-widget-wpr-media-grid .wpr-grid-pagination {
3009
+ font-size: 15px;
3010
+ }
3011
+
3012
+ .elementor-widget-wpr-grid .wpr-grid-tax-style-2 .inner-block a {
3013
+ background-color: #605BE5;
3014
+ }
3015
+
3016
+ .elementor-widget-wpr-grid .wpr-grid-tax-style-2 .inner-block a:hover {
3017
+ background-color: #4A45D2;
3018
+ }
3019
+
3020
+
3021
+ /*--------------------------------------------------------------
3022
+ == Magazine Grid
3023
+ --------------------------------------------------------------*/
3024
+
3025
+ .wpr-magazine-grid {
3026
+ display: -ms-grid;
3027
+ display: grid;
3028
+ -webkit-box-pack: stretch;
3029
+ -ms-flex-pack: stretch;
3030
+ justify-content: stretch;
3031
+ -ms-grid-rows: 1fr 1fr;
3032
+ grid-template-rows: 1fr 1fr;
3033
+ }
3034
+
3035
+ .wpr-mgzn-grid-item {
3036
+ padding: 0 !important;
3037
+ text-align: center;
3038
+ }
3039
+
3040
+ .wpr-mgzn-grid-1vh-3h {
3041
+ -ms-grid-rows: auto;
3042
+ grid-template-rows: auto;
3043
+ }
3044
+
3045
+ .wpr-mgzn-grid-1-1-1 {
3046
+ -ms-grid-rows: 1fr;
3047
+ grid-template-rows: 1fr;
3048
+ }
3049
+
3050
+ .wpr-mgzn-grid-2-3,
3051
+ .wpr-mgzn-grid-1-1-3 {
3052
+ -ms-grid-columns: (1fr)[6];
3053
+ grid-template-columns: repeat(6, 1fr);
3054
+ }
3055
+
3056
+ .wpr-mgzn-grid-2-h {
3057
+ -ms-grid-columns: (1fr)[2];
3058
+ grid-template-columns: repeat(2, 1fr);
3059
+ }
3060
+
3061
+ .wpr-mgzn-grid-3-h {
3062
+ -ms-grid-columns: (1fr)[3];
3063
+ grid-template-columns: repeat(3, 1fr);
3064
+ }
3065
+
3066
+ .wpr-mgzn-grid-4-h {
3067
+ -ms-grid-columns: (1fr)[4];
3068
+ grid-template-columns: repeat(4, 1fr);
3069
+ }
3070
+
3071
+ .wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(1) {
3072
+ -ms-grid-column: 1;
3073
+ grid-column-start: 1;
3074
+ -ms-grid-row: 1;
3075
+ grid-row-start: 1;
3076
+ -ms-grid-row-span: 3;
3077
+ grid-row-end: 4;
3078
+ }
3079
+
3080
+ .wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(2) {
3081
+ -ms-grid-column: 2;
3082
+ grid-column-start: 2;
3083
+ }
3084
+
3085
+ .wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(3) {
3086
+ -ms-grid-column: 2;
3087
+ grid-column-start: 2;
3088
+ }
3089
+
3090
+ .wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(4) {
3091
+ -ms-grid-column: 2;
3092
+ grid-column-start: 2;
3093
+ }
3094
+
3095
+ .wpr-mgzn-grid-1-2 .wpr-mgzn-grid-item:nth-child(1),
3096
+ .wpr-mgzn-grid-1-3 .wpr-mgzn-grid-item:nth-child(1),
3097
+ .wpr-mgzn-grid-1-4 .wpr-mgzn-grid-item:nth-child(1),
3098
+ .wpr-mgzn-grid-1-1-2 .wpr-mgzn-grid-item:nth-child(1) {
3099
+ -ms-grid-column: 1;
3100
+ grid-column-start: 1;
3101
+ -ms-grid-row: 1;
3102
+ grid-row-start: 1;
3103
+ -ms-grid-row-span: 2;
3104
+ grid-row-end: 3;
3105
+ }
3106
+
3107
+ .wpr-mgzn-grid-1-1-2 .wpr-mgzn-grid-item:nth-child(2) {
3108
+ -ms-grid-row: 1;
3109
+ grid-row-start: 1;
3110
+ -ms-grid-row-span: 2;
3111
+ grid-row-end: 3;
3112
+ }
3113
+
3114
+ .wpr-mgzn-grid-2-1-2 .wpr-mgzn-grid-item:nth-child(2) {
3115
+ -ms-grid-column: 2;
3116
+ grid-column-start: 2;
3117
+ -ms-grid-row: 1;
3118
+ grid-row-start: 1;
3119
+ -ms-grid-row-span: 2;
3120
+ grid-row-end: 3;
3121
+ }
3122
+
3123
+ .wpr-mgzn-grid-1-3 .wpr-mgzn-grid-item:nth-child(2) {
3124
+ -ms-grid-column: 2;
3125
+ grid-column-start: 2;
3126
+ -ms-grid-column-span: 2;
3127
+ grid-column-end: 4;
3128
+ }
3129
+
3130
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(1),
3131
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(2),
3132
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(1),
3133
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(2) {
3134
+ -ms-grid-row: 1;
3135
+ grid-row-start: 1;
3136
+ -ms-grid-row-span: 1;
3137
+ grid-row-end: 2;
3138
+ }
3139
+
3140
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(1) {
3141
+ -ms-grid-column: 1;
3142
+ grid-column-start: 1;
3143
+ -ms-grid-column-span: 3;
3144
+ grid-column-end: 4;
3145
+ }
3146
+
3147
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(2) {
3148
+ -ms-grid-column: 4;
3149
+ grid-column-start: 4;
3150
+ -ms-grid-column-span: 3;
3151
+ grid-column-end: 7;
3152
+ }
3153
+
3154
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(1) {
3155
+ -ms-grid-column: 1;
3156
+ grid-column-start: 1;
3157
+ -ms-grid-column-span: 4;
3158
+ grid-column-end: 5;
3159
+ }
3160
+
3161
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(2) {
3162
+ -ms-grid-column: 5;
3163
+ grid-column-start: 5;
3164
+ -ms-grid-column-span: 2;
3165
+ grid-column-end: 7;
3166
+ }
3167
+
3168
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(3),
3169
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(4),
3170
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(5),
3171
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(3),
3172
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(4),
3173
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(5) {
3174
+ -ms-grid-row: 2;
3175
+ grid-row-start: 2;
3176
+ -ms-grid-row-span: 1;
3177
+ grid-row-end: 3;
3178
+ }
3179
+
3180
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(3),
3181
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(3) {
3182
+ -ms-grid-column: 1;
3183
+ grid-column-start: 1;
3184
+ -ms-grid-column-span: 2;
3185
+ grid-column-end: 3;
3186
+ }
3187
+
3188
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(4),
3189
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(4) {
3190
+ -ms-grid-column: 3;
3191
+ grid-column-start: 3;
3192
+ -ms-grid-column-span: 2;
3193
+ grid-column-end: 5;
3194
+ }
3195
+
3196
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(5),
3197
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(5) {
3198
+ -ms-grid-column: 5;
3199
+ grid-column-start: 5;
3200
+ -ms-grid-column-span: 2;
3201
+ grid-column-end: 7;
3202
+ }
3203
+
3204
+ .wpr-magazine-grid .wpr-grid-item-inner,
3205
+ .wpr-magazine-grid .wpr-grid-media-wrap,
3206
+ .wpr-magazine-grid .wpr-grid-image-wrap {
3207
+ height: 100%;
3208
+ }
3209
+
3210
+ .wpr-magazine-grid .wpr-grid-image-wrap {
3211
+ background-size: cover;
3212
+ background-position: center center;
3213
+ }
3214
+
3215
+ .wpr-magazine-grid .wpr-grid-media-hover {
3216
+ z-index: 1;
3217
+ }
3218
+
3219
+
3220
+ /* Responsive */
3221
+
3222
+ @media screen and ( max-width: 1024px) {
3223
+ /* Layout 1 */
3224
+ .wpr-magazine-grid.wpr-mgzn-grid-1-2 {
3225
+ -ms-grid-columns: 1fr 1fr !important;
3226
+ grid-template-columns: 1fr 1fr !important;
3227
+ -ms-grid-rows: 1fr 1fr 1fr;
3228
+ grid-template-rows: 1fr 1fr 1fr;
3229
+ }
3230
+ .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(1) {
3231
+ -ms-grid-row: 1;
3232
+ -ms-grid-column: 1;
3233
+ }
3234
+ .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(2) {
3235
+ -ms-grid-row: 1;
3236
+ -ms-grid-column: 2;
3237
+ }
3238
+ .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(3) {
3239
+ -ms-grid-row: 2;
3240
+ -ms-grid-column: 1;
3241
+ }
3242
+ .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(4) {
3243
+ -ms-grid-row: 2;
3244
+ -ms-grid-column: 2;
3245
+ }
3246
+ .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(5) {
3247
+ -ms-grid-row: 3;
3248
+ -ms-grid-column: 1;
3249
+ }
3250
+ .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(6) {
3251
+ -ms-grid-row: 3;
3252
+ -ms-grid-column: 2;
3253
+ }
3254
+ .wpr-magazine-grid.wpr-mgzn-grid-1-2 article:nth-child(1) {
3255
+ -ms-grid-column-span: 3 !important;
3256
+ grid-column-end: 3 !important;
3257
+ }
3258
+ /* Layout 2 */
3259
+ .wpr-magazine-grid.wpr-mgzn-grid-1-3 {
3260
+ -ms-grid-columns: 1fr 1fr !important;
3261
+ grid-template-columns: 1fr 1fr !important;
3262
+ -ms-grid-rows: 1fr 1fr 1fr !important;
3263
+ grid-template-rows: 1fr 1fr 1fr !important;
3264
+ }
3265
+ .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(1) {
3266
+ -ms-grid-row: 1;
3267
+ -ms-grid-column: 1;
3268
+ }
3269
+ .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(2) {
3270
+ -ms-grid-row: 1;
3271
+ -ms-grid-column: 2;
3272
+ }
3273
+ .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(3) {
3274
+ -ms-grid-row: 2;
3275
+ -ms-grid-column: 1;
3276
+ }
3277
+ .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(4) {
3278
+ -ms-grid-row: 2;
3279
+ -ms-grid-column: 2;
3280
+ }
3281
+ .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(5) {
3282
+ -ms-grid-row: 3;
3283
+ -ms-grid-column: 1;
3284
+ }
3285
+ .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(6) {
3286
+ -ms-grid-row: 3;
3287
+ -ms-grid-column: 2;
3288
+ }
3289
+ .wpr-magazine-grid.wpr-mgzn-grid-1-3 article:nth-child(1) {
3290
+ -ms-grid-column-span: 3 !important;
3291
+ grid-column-end: 3 !important;
3292
+ -ms-grid-row-span: 2 !important;
3293
+ grid-row-end: 2 !important;
3294
+ }
3295
+ .wpr-magazine-grid.wpr-mgzn-grid-1-3 article:nth-child(2) {
3296
+ -ms-grid-column: 1 !important;
3297
+ grid-column-start: 1 !important;
3298
+ -ms-grid-column-span: 2 !important;
3299
+ grid-column-end: 3 !important;
3300
+ }
3301
+ /* Layout 3 */
3302
+ .wpr-magazine-grid.wpr-mgzn-grid-1-4 {
3303
+ -ms-grid-columns: 1fr 1fr !important;
3304
+ grid-template-columns: 1fr 1fr !important;
3305
+ -ms-grid-rows: (1fr)[3];
3306
+ grid-template-rows: repeat(3, 1fr);
3307
+ }
3308
+ .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(1) {
3309
+ -ms-grid-row: 1;
3310
+ -ms-grid-column: 1;
3311
+ }
3312
+ .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(2) {
3313
+ -ms-grid-row: 1;
3314
+ -ms-grid-column: 2;
3315
+ }
3316
+ .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(3) {
3317
+ -ms-grid-row: 2;
3318
+ -ms-grid-column: 1;
3319
+ }
3320
+ .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(4) {
3321
+ -ms-grid-row: 2;
3322
+ -ms-grid-column: 2;
3323
+ }
3324
+ .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(5) {
3325
+ -ms-grid-row: 3;
3326
+ -ms-grid-column: 1;
3327
+ }
3328
+ .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(6) {
3329
+ -ms-grid-row: 3;
3330
+ -ms-grid-column: 2;
3331
+ }
3332
+ .wpr-magazine-grid.wpr-mgzn-grid-1-4 article:nth-child(1) {
3333
+ -ms-grid-column: 1;
3334
+ grid-column-start: 1;
3335
+ -ms-grid-column-span: 2;
3336
+ grid-column-end: 3;
3337
+ -ms-grid-row-span: 1 !important;
3338
+ grid-row-end: 1 !important;
3339
+ }
3340
+ /* Layout 4 */
3341
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-2 {
3342
+ -ms-grid-columns: 1fr 1fr !important;
3343
+ grid-template-columns: 1fr 1fr !important;
3344
+ -ms-grid-rows: 1fr 1fr 1fr !important;
3345
+ grid-template-rows: 1fr 1fr 1fr !important;
3346
+ }
3347
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(1) {
3348
+ -ms-grid-row: 1;
3349
+ -ms-grid-column: 1;
3350
+ }
3351
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(2) {
3352
+ -ms-grid-row: 1;
3353
+ -ms-grid-column: 2;
3354
+ }
3355
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(3) {
3356
+ -ms-grid-row: 2;
3357
+ -ms-grid-column: 1;
3358
+ }
3359
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(4) {
3360
+ -ms-grid-row: 2;
3361
+ -ms-grid-column: 2;
3362
+ }
3363
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(5) {
3364
+ -ms-grid-row: 3;
3365
+ -ms-grid-column: 1;
3366
+ }
3367
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(6) {
3368
+ -ms-grid-row: 3;
3369
+ -ms-grid-column: 2;
3370
+ }
3371
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-2 article:nth-child(1) {
3372
+ -ms-grid-column-span: 3;
3373
+ grid-column-end: 3;
3374
+ -ms-grid-row: 1;
3375
+ grid-row-start: 1;
3376
+ -ms-grid-row-span: 1;
3377
+ grid-row-end: 2;
3378
+ }
3379
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-2 article:nth-child(2) {
3380
+ -ms-grid-column: 1;
3381
+ grid-column-start: 1;
3382
+ -ms-grid-column-span: 2;
3383
+ grid-column-end: 3;
3384
+ -ms-grid-row: 2;
3385
+ grid-row-start: 2;
3386
+ -ms-grid-row-span: 1;
3387
+ grid-row-end: 3;
3388
+ }
3389
+ /* Layout 5 */
3390
+ .wpr-magazine-grid.wpr-mgzn-grid-2-1-2 {
3391
+ -ms-grid-columns: 1fr 1fr !important;
3392
+ grid-template-columns: 1fr 1fr !important;
3393
+ -ms-grid-rows: 1fr 1fr 1fr !important;
3394
+ grid-template-rows: 1fr 1fr 1fr !important;
3395
+ }
3396
+ .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(1) {
3397
+ -ms-grid-row: 1;
3398
+ -ms-grid-column: 1;
3399
+ }
3400
+ .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(2) {
3401
+ -ms-grid-row: 1;
3402
+ -ms-grid-column: 2;
3403
+ }
3404
+ .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(3) {
3405
+ -ms-grid-row: 2;
3406
+ -ms-grid-column: 1;
3407
+ }
3408
+ .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(4) {
3409
+ -ms-grid-row: 2;
3410
+ -ms-grid-column: 2;
3411
+ }
3412
+ .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(5) {
3413
+ -ms-grid-row: 3;
3414
+ -ms-grid-column: 1;
3415
+ }
3416
+ .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(6) {
3417
+ -ms-grid-row: 3;
3418
+ -ms-grid-column: 2;
3419
+ }
3420
+ .wpr-magazine-grid.wpr-mgzn-grid-2-1-2 article:nth-child(2) {
3421
+ -ms-grid-column: 1;
3422
+ grid-column-start: 1;
3423
+ -ms-grid-column-span: 2;
3424
+ grid-column-end: 3;
3425
+ -ms-grid-row: 2;
3426
+ grid-row-start: 2;
3427
+ }
3428
+ /* Layout 6 */
3429
+ .wpr-magazine-grid.wpr-mgzn-grid-1vh-3h {
3430
+ -ms-grid-columns: 1fr 1fr !important;
3431
+ grid-template-columns: 1fr 1fr !important;
3432
+ }
3433
+ /* Layout 7 */
3434
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-1 {
3435
+ -ms-grid-columns: 1fr 1fr !important;
3436
+ grid-template-columns: 1fr 1fr !important;
3437
+ -ms-grid-rows: 1fr 1fr !important;
3438
+ grid-template-rows: 1fr 1fr !important;
3439
+ }
3440
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-1>*:nth-child(1) {
3441
+ -ms-grid-row: 1;
3442
+ -ms-grid-column: 1;
3443
+ }
3444
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-1>*:nth-child(2) {
3445
+ -ms-grid-row: 1;
3446
+ -ms-grid-column: 2;
3447
+ }
3448
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-1>*:nth-child(3) {
3449
+ -ms-grid-row: 2;
3450
+ -ms-grid-column: 1;
3451
+ }
3452
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-1>*:nth-child(4) {
3453
+ -ms-grid-row: 2;
3454
+ -ms-grid-column: 2;
3455
+ }
3456
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-1 article:nth-child(2) {
3457
+ -ms-grid-column: 1;
3458
+ grid-column-start: 1;
3459
+ -ms-grid-column-span: 2;
3460
+ grid-column-end: 3;
3461
+ -ms-grid-row: 1;
3462
+ grid-row-start: 1
3463
+ }
3464
+ /* Layout 8 */
3465
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 {
3466
+ -ms-grid-columns: 1fr 1fr !important;
3467
+ grid-template-columns: 1fr 1fr !important;
3468
+ -ms-grid-rows: (1fr)[3];
3469
+ grid-template-rows: repeat(3, 1fr);
3470
+ }
3471
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(1) {
3472
+ -ms-grid-row: 1;
3473
+ -ms-grid-column: 1;
3474
+ }
3475
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(2) {
3476
+ -ms-grid-row: 1;
3477
+ -ms-grid-column: 2;
3478
+ }
3479
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(3) {
3480
+ -ms-grid-row: 2;
3481
+ -ms-grid-column: 1;
3482
+ }
3483
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(4) {
3484
+ -ms-grid-row: 2;
3485
+ -ms-grid-column: 2;
3486
+ }
3487
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(5) {
3488
+ -ms-grid-row: 3;
3489
+ -ms-grid-column: 1;
3490
+ }
3491
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(6) {
3492
+ -ms-grid-row: 3;
3493
+ -ms-grid-column: 2;
3494
+ }
3495
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(1) {
3496
+ -ms-grid-column: 1;
3497
+ grid-column-start: 1;
3498
+ -ms-grid-column-span: 2;
3499
+ grid-column-end: 3;
3500
+ -ms-grid-row-span: 2;
3501
+ grid-row-end: 2;
3502
+ }
3503
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(2) {
3504
+ -ms-grid-row: 2;
3505
+ grid-row-start: 2;
3506
+ -ms-grid-column: 1;
3507
+ grid-column-start: 1;
3508
+ -ms-grid-column-span: 1;
3509
+ grid-column-end: 2;
3510
+ }
3511
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(3) {
3512
+ -ms-grid-row: 2;
3513
+ grid-row-start: 2;
3514
+ -ms-grid-column: 2;
3515
+ grid-column-start: 2;
3516
+ -ms-grid-column-span: 1;
3517
+ grid-column-end: 3;
3518
+ }
3519
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(4) {
3520
+ -ms-grid-row: 3;
3521
+ grid-row-start: 3;
3522
+ -ms-grid-column: 1;
3523
+ grid-column-start: 1;
3524
+ -ms-grid-column-span: 1;
3525
+ grid-column-end: 2;
3526
+ }
3527
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(5) {
3528
+ -ms-grid-row: 3;
3529
+ grid-row-start: 3;
3530
+ -ms-grid-column: 2;
3531
+ grid-column-start: 2;
3532
+ -ms-grid-column-span: 1;
3533
+ grid-column-end: 3;
3534
+ }
3535
+ /* Layout 9 */
3536
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3 {
3537
+ -ms-grid-columns: 1fr 1fr !important;
3538
+ grid-template-columns: 1fr 1fr !important;
3539
+ -ms-grid-rows: (1fr)[6] !important;
3540
+ grid-template-rows: repeat(6, 1fr) !important;
3541
+ }
3542
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(1) {
3543
+ -ms-grid-row: 1;
3544
+ -ms-grid-column: 1;
3545
+ }
3546
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(2) {
3547
+ -ms-grid-row: 1;
3548
+ -ms-grid-column: 2;
3549
+ }
3550
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(3) {
3551
+ -ms-grid-row: 2;
3552
+ -ms-grid-column: 1;
3553
+ }
3554
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(4) {
3555
+ -ms-grid-row: 2;
3556
+ -ms-grid-column: 2;
3557
+ }
3558
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(5) {
3559
+ -ms-grid-row: 3;
3560
+ -ms-grid-column: 1;
3561
+ }
3562
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(6) {
3563
+ -ms-grid-row: 3;
3564
+ -ms-grid-column: 2;
3565
+ }
3566
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(7) {
3567
+ -ms-grid-row: 4;
3568
+ -ms-grid-column: 1;
3569
+ }
3570
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(8) {
3571
+ -ms-grid-row: 4;
3572
+ -ms-grid-column: 2;
3573
+ }
3574
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(9) {
3575
+ -ms-grid-row: 5;
3576
+ -ms-grid-column: 1;
3577
+ }
3578
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(10) {
3579
+ -ms-grid-row: 5;
3580
+ -ms-grid-column: 2;
3581
+ }
3582
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(11) {
3583
+ -ms-grid-row: 6;
3584
+ -ms-grid-column: 1;
3585
+ }
3586
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(12) {
3587
+ -ms-grid-row: 6;
3588
+ -ms-grid-column: 2;
3589
+ }
3590
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(1) {
3591
+ -ms-grid-column: 1;
3592
+ grid-column-start: 1;
3593
+ -ms-grid-column-span: 1;
3594
+ grid-column-end: 2;
3595
+ -ms-grid-row: 1;
3596
+ grid-row-start: 1;
3597
+ -ms-grid-row-span: 3;
3598
+ grid-row-end: 4;
3599
+ }
3600
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(2) {
3601
+ -ms-grid-column: 1;
3602
+ grid-column-start: 1;
3603
+ -ms-grid-column-span: 1;
3604
+ grid-column-end: 2;
3605
+ -ms-grid-row: 4;
3606
+ grid-row-start: 4;
3607
+ -ms-grid-row-span: 3;
3608
+ grid-row-end: 7;
3609
+ }
3610
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(3) {
3611
+ -ms-grid-column: 2;
3612
+ grid-column-start: 2;
3613
+ -ms-grid-column-span: 1;
3614
+ grid-column-end: 3;
3615
+ -ms-grid-row: 1;
3616
+ grid-row-start: 1;
3617
+ -ms-grid-row-span: 2;
3618
+ grid-row-end: 3;
3619
+ }
3620
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(4) {
3621
+ -ms-grid-column: 2;
3622
+ grid-column-start: 2;
3623
+ -ms-grid-column-span: 1;
3624
+ grid-column-end: 3;
3625
+ -ms-grid-row: 3;
3626
+ grid-row-start: 3;
3627
+ -ms-grid-row-span: 2;
3628
+ grid-row-end: 5;
3629
+ }
3630
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(5) {
3631
+ -ms-grid-column: 2;
3632
+ grid-column-start: 2;
3633
+ -ms-grid-column-span: 1;
3634
+ grid-column-end: 3;
3635
+ -ms-grid-row: 5;
3636
+ grid-row-start: 5;
3637
+ -ms-grid-row-span: 2;
3638
+ grid-row-end: 7;
3639
+ }
3640
+ /* Layout 12 */
3641
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1 {
3642
+ -ms-grid-columns: 1fr 1fr !important;
3643
+ grid-template-columns: 1fr 1fr !important;
3644
+ -ms-grid-rows: (1fr)[2] !important;
3645
+ grid-template-rows: repeat(2, 1fr) !important;
3646
+ }
3647
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>*:nth-child(1) {
3648
+ -ms-grid-row: 1;
3649
+ -ms-grid-column: 1;
3650
+ }
3651
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>*:nth-child(2) {
3652
+ -ms-grid-row: 1;
3653
+ -ms-grid-column: 2;
3654
+ }
3655
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>*:nth-child(3) {
3656
+ -ms-grid-row: 2;
3657
+ -ms-grid-column: 1;
3658
+ }
3659
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>*:nth-child(4) {
3660
+ -ms-grid-row: 2;
3661
+ -ms-grid-column: 2;
3662
+ }
3663
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2 {
3664
+ -ms-grid-columns: 1fr 1fr !important;
3665
+ grid-template-columns: 1fr 1fr !important;
3666
+ -ms-grid-rows: (1fr)[4] !important;
3667
+ grid-template-rows: repeat(4, 1fr) !important;
3668
+ }
3669
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(1) {
3670
+ -ms-grid-row: 1;
3671
+ -ms-grid-column: 1;
3672
+ }
3673
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(2) {
3674
+ -ms-grid-row: 1;
3675
+ -ms-grid-column: 2;
3676
+ }
3677
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(3) {
3678
+ -ms-grid-row: 2;
3679
+ -ms-grid-column: 1;
3680
+ }
3681
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(4) {
3682
+ -ms-grid-row: 2;
3683
+ -ms-grid-column: 2;
3684
+ }
3685
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(5) {
3686
+ -ms-grid-row: 3;
3687
+ -ms-grid-column: 1;
3688
+ }
3689
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(6) {
3690
+ -ms-grid-row: 3;
3691
+ -ms-grid-column: 2;
3692
+ }
3693
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(7) {
3694
+ -ms-grid-row: 4;
3695
+ -ms-grid-column: 1;
3696
+ }
3697
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(8) {
3698
+ -ms-grid-row: 4;
3699
+ -ms-grid-column: 2;
3700
+ }
3701
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3 {
3702
+ -ms-grid-columns: 1fr 1fr !important;
3703
+ grid-template-columns: 1fr 1fr !important;
3704
+ -ms-grid-rows: (1fr)[6] !important;
3705
+ grid-template-rows: repeat(6, 1fr) !important;
3706
+ }
3707
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(1) {
3708
+ -ms-grid-row: 1;
3709
+ -ms-grid-column: 1;
3710
+ }
3711
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(2) {
3712
+ -ms-grid-row: 1;
3713
+ -ms-grid-column: 2;
3714
+ }
3715
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(3) {
3716
+ -ms-grid-row: 2;
3717
+ -ms-grid-column: 1;
3718
+ }
3719
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(4) {
3720
+ -ms-grid-row: 2;
3721
+ -ms-grid-column: 2;
3722
+ }
3723
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(5) {
3724
+ -ms-grid-row: 3;
3725
+ -ms-grid-column: 1;
3726
+ }
3727
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(6) {
3728
+ -ms-grid-row: 3;
3729
+ -ms-grid-column: 2;
3730
+ }
3731
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(7) {
3732
+ -ms-grid-row: 4;
3733
+ -ms-grid-column: 1;
3734
+ }
3735
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(8) {
3736
+ -ms-grid-row: 4;
3737
+ -ms-grid-column: 2;
3738
+ }
3739
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(9) {
3740
+ -ms-grid-row: 5;
3741
+ -ms-grid-column: 1;
3742
+ }
3743
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(10) {
3744
+ -ms-grid-row: 5;
3745
+ -ms-grid-column: 2;
3746
+ }
3747
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(11) {
3748
+ -ms-grid-row: 6;
3749
+ -ms-grid-column: 1;
3750
+ }
3751
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(12) {
3752
+ -ms-grid-row: 6;
3753
+ -ms-grid-column: 2;
3754
+ }
3755
+ }
3756
+
3757
+ @media screen and ( max-width: 767px) {
3758
+ /* Layout 11 */
3759
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1 {
3760
+ -ms-grid-columns: 1fr !important;
3761
+ grid-template-columns: 1fr !important;
3762
+ -ms-grid-rows: (1fr)[3] !important;
3763
+ grid-template-rows: repeat(3, 1fr) !important;
3764
+ }
3765
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1>*:nth-child(1) {
3766
+ -ms-grid-row: 1;
3767
+ -ms-grid-column: 1;
3768
+ }
3769
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1>*:nth-child(2) {
3770
+ -ms-grid-row: 2;
3771
+ -ms-grid-column: 1;
3772
+ }
3773
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1>*:nth-child(3) {
3774
+ -ms-grid-row: 3;
3775
+ -ms-grid-column: 1;
3776
+ }
3777
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2 {
3778
+ -ms-grid-columns: 1fr !important;
3779
+ grid-template-columns: 1fr !important;
3780
+ -ms-grid-rows: (1fr)[6] !important;
3781
+ grid-template-rows: repeat(6, 1fr) !important;
3782
+ }
3783
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>*:nth-child(1) {
3784
+ -ms-grid-row: 1;
3785
+ -ms-grid-column: 1;
3786
+ }
3787
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>*:nth-child(2) {
3788
+ -ms-grid-row: 2;
3789
+ -ms-grid-column: 1;
3790
+ }
3791
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>*:nth-child(3) {
3792
+ -ms-grid-row: 3;
3793
+ -ms-grid-column: 1;
3794
+ }
3795
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>*:nth-child(4) {
3796
+ -ms-grid-row: 4;
3797
+ -ms-grid-column: 1;
3798
+ }
3799
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>*:nth-child(5) {
3800
+ -ms-grid-row: 5;
3801
+ -ms-grid-column: 1;
3802
+ }
3803
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>*:nth-child(6) {
3804
+ -ms-grid-row: 6;
3805
+ -ms-grid-column: 1;
3806
+ }
3807
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3 {
3808
+ -ms-grid-columns: 1fr !important;
3809
+ grid-template-columns: 1fr !important;
3810
+ -ms-grid-rows: (1fr)[9] !important;
3811
+ grid-template-rows: repeat(9, 1fr) !important;
3812
+ }
3813
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(1) {
3814
+ -ms-grid-row: 1;
3815
+ -ms-grid-column: 1;
3816
+ }
3817
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(2) {
3818
+ -ms-grid-row: 2;
3819
+ -ms-grid-column: 1;
3820
+ }
3821
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(3) {
3822
+ -ms-grid-row: 3;
3823
+ -ms-grid-column: 1;
3824
+ }
3825
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(4) {
3826
+ -ms-grid-row: 4;
3827
+ -ms-grid-column: 1;
3828
+ }
3829
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(5) {
3830
+ -ms-grid-row: 5;
3831
+ -ms-grid-column: 1;
3832
+ }
3833
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(6) {
3834
+ -ms-grid-row: 6;
3835
+ -ms-grid-column: 1;
3836
+ }
3837
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(7) {
3838
+ -ms-grid-row: 7;
3839
+ -ms-grid-column: 1;
3840
+ }
3841
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(8) {
3842
+ -ms-grid-row: 8;
3843
+ -ms-grid-column: 1;
3844
+ }
3845
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(9) {
3846
+ -ms-grid-row: 9;
3847
+ -ms-grid-column: 1;
3848
+ }
3849
+ }
3850
+
3851
+
3852
+ /*--------------------------------------------------------------
3853
+ == Sharing Buttons
3854
+ --------------------------------------------------------------*/
3855
+
3856
+ .wpr-sharing-buttons .wpr-sharing-icon {
3857
+ overflow: hidden;
3858
+ position: relative;
3859
+ display: -webkit-box;
3860
+ display: -ms-flexbox;
3861
+ display: flex;
3862
+ color: #ffffff !important;
3863
+ }
3864
+
3865
+ .wpr-sharing-buttons .wpr-sharing-icon i {
3866
+ display: block;
3867
+ text-align: center;
3868
+ }
3869
+
3870
+ .wpr-sharing-label {
3871
+ -webkit-box-flex: 1;
3872
+ -ms-flex-positive: 1;
3873
+ flex-grow: 1;
3874
+ }
3875
+
3876
+ .elementor-widget-wpr-sharing-buttons.elementor-grid-0 .wpr-sharing-buttons,
3877
+ .elementor-widget-wpr-sharing-buttons[class*="elementor-grid-pro-"] .wpr-sharing-buttons {
3878
+ display: -webkit-box;
3879
+ display: -ms-flexbox;
3880
+ display: flex;
3881
+ }
3882
+
3883
+ .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 {
3884
+ width: 100% !important;
3885
+ }
3886
+
3887
+ .wpr-sharing-buttons.wpr-sharing-col-1 .wpr-sharing-icon {
3888
+ width: 100%;
3889
+ margin-right: 0 !important;
3890
+ }
3891
+
3892
+ .wpr-sharing-buttons .wpr-sharing-icon:last-child,
3893
+ .wpr-sharing-col-1 .wpr-sharing-buttons .wpr-sharing-icon,
3894
+ .wpr-sharing-col-2 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(2n),
3895
+ .wpr-sharing-col-3 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(3n),
3896
+ .wpr-sharing-col-4 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(4n),
3897
+ .wpr-sharing-col-5 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(5n),
3898
+ .wpr-sharing-col-6 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(6n) {
3899
+ margin-right: 0 !important;
3900
+ }
3901
+
3902
+ .wpr-sharing-buttons .wpr-sharing-icon {
3903
+ transition-propery: opacity, border-color;
3904
+ -webkit-transition-timing-function: linear;
3905
+ -o-transition-timing-function: linear;
3906
+ transition-timing-function: linear;
3907
+ }
3908
+
3909
+ .wpr-sharing-buttons .wpr-sharing-icon i,
3910
+ .wpr-sharing-buttons .wpr-sharing-icon span {
3911
+ transition-propery: color, background-color;
3912
+ -webkit-transition-timing-function: linear;
3913
+ -o-transition-timing-function: linear;
3914
+ transition-timing-function: linear;
3915
+ }
3916
+
3917
+ .wpr-sharing-official .wpr-sharing-icon:hover {
3918
+ opacity: 0.85;
3919
+ }
3920
+
3921
+ .wpr-sharing-official .wpr-sharing-facebook-f i,
3922
+ .wpr-sharing-official .wpr-sharing-facebook-f span {
3923
+ background-color: #3b5998;
3924
+ }
3925
+
3926
+ .wpr-sharing-official .wpr-sharing-twitter i,
3927
+ .wpr-sharing-official .wpr-sharing-twitter span {
3928
+ background-color: #1da1f2;
3929
+ }
3930
+
3931
+ .wpr-sharing-official .wpr-sharing-linkedin-in i,
3932
+ .wpr-sharing-official .wpr-sharing-linkedin-in span {
3933
+ background-color: #0077b5;
3934
+ }
3935
+
3936
+ .wpr-sharing-official .wpr-sharing-pinterest-p i,
3937
+ .wpr-sharing-official .wpr-sharing-pinterest-p span {
3938
+ background-color: #bd081c;
3939
+ }
3940
+
3941
+ .wpr-sharing-official .wpr-sharing-reddit i,
3942
+ .wpr-sharing-official .wpr-sharing-reddit span {
3943
+ background-color: #ff4500;
3944
+ }
3945
+
3946
+ .wpr-sharing-official .wpr-sharing-tumblr i,
3947
+ .wpr-sharing-official .wpr-sharing-tumblr span {
3948
+ background-color: #35465c;
3949
+ }
3950
+
3951
+ .wpr-sharing-official .wpr-sharing-digg i,
3952
+ .wpr-sharing-official .wpr-sharing-digg span {
3953
+ background-color: #005be2;
3954
+ }
3955
+
3956
+ .wpr-sharing-official .wpr-sharing-xing i,
3957
+ .wpr-sharing-official .wpr-sharing-xing span {
3958
+ background-color: #026466;
3959
+ }
3960
+
3961
+ .wpr-sharing-official .wpr-sharing-stumbleupon i,
3962
+ .wpr-sharing-official .wpr-sharing-stumbleupon span {
3963
+ background-color: #eb4924;
3964
+ }
3965
+
3966
+ .wpr-sharing-official .wpr-sharing-vk i,
3967
+ .wpr-sharing-official .wpr-sharing-vk span {
3968
+ background-color: #45668e;
3969
+ }
3970
+
3971
+ .wpr-sharing-official .wpr-sharing-odnoklassniki i,
3972
+ .wpr-sharing-official .wpr-sharing-odnoklassniki span {
3973
+ background-color: #f4731c;
3974
+ }
3975
+
3976
+ .wpr-sharing-official .wpr-sharing-get-pocket i,
3977
+ .wpr-sharing-official .wpr-sharing-get-pocket span {
3978
+ background-color: #ef3f56;
3979
+ }
3980
+
3981
+ .wpr-sharing-official .wpr-sharing-skype i,
3982
+ .wpr-sharing-official .wpr-sharing-skype span {
3983
+ background-color: #00aff0;
3984
+ }
3985
+
3986
+ .wpr-sharing-official .wpr-sharing-whatsapp i,
3987
+ .wpr-sharing-official .wpr-sharing-whatsapp span {
3988
+ background-color: #25d366;
3989
+ }
3990
+
3991
+ .wpr-sharing-official .wpr-sharing-telegram i,
3992
+ .wpr-sharing-official .wpr-sharing-telegram span {
3993
+ background-color: #2ca5e0;
3994
+ }
3995
+
3996
+ .wpr-sharing-official .wpr-sharing-delicious i,
3997
+ .wpr-sharing-official .wpr-sharing-delicious span {
3998
+ background-color: #3399ff;
3999
+ }
4000
+
4001
+ .wpr-sharing-official .wpr-sharing-envelope i,
4002
+ .wpr-sharing-official .wpr-sharing-envelope span {
4003
+ background-color: #c13B2c;
4004
+ }
4005
+
4006
+ .wpr-sharing-official .wpr-sharing-print i,
4007
+ .wpr-sharing-official .wpr-sharing-print span {
4008
+ background-color: #96c859;
4009
+ }
4010
+
4011
+ .wpr-sharing-official .wpr-sharing-facebook-f {
4012
+ border-color: #3b5998;
4013
+ }
4014
+
4015
+ .wpr-sharing-official .wpr-sharing-twitter {
4016
+ border-color: #1da1f2;
4017
+ }
4018
+
4019
+ .wpr-sharing-official .wpr-sharing-linkedin-in {
4020
+ border-color: #0077b5;
4021
+ }
4022
+
4023
+ .wpr-sharing-official .wpr-sharing-pinterest-p {
4024
+ border-color: #bd081c;
4025
+ }
4026
+
4027
+ .wpr-sharing-official .wpr-sharing-reddit {
4028
+ border-color: #ff4500;
4029
+ }
4030
+
4031
+ .wpr-sharing-official .wpr-sharing-tumblr {
4032
+ border-color: #35465c;
4033
+ }
4034
+
4035
+ .wpr-sharing-official .wpr-sharing-digg {
4036
+ border-color: #005be2;
4037
+ }
4038
+
4039
+ .wpr-sharing-official .wpr-sharing-xing {
4040
+ border-color: #026466;
4041
+ }
4042
+
4043
+ .wpr-sharing-official .wpr-sharing-stumbleupon {
4044
+ border-color: #eb4924;
4045
+ }
4046
+
4047
+ .wpr-sharing-official .wpr-sharing-vk {
4048
+ border-color: #45668e;
4049
+ }
4050
+
4051
+ .wpr-sharing-official .wpr-sharing-odnoklassniki {
4052
+ border-color: #f4731c;
4053
+ }
4054
+
4055
+ .wpr-sharing-official .wpr-sharing-get-pocket {
4056
+ border-color: #ef3f56;
4057
+ }
4058
+
4059
+ .wpr-sharing-official .wpr-sharing-skype {
4060
+ border-color: #00aff0;
4061
+ }
4062
+
4063
+ .wpr-sharing-official .wpr-sharing-whatsapp {
4064
+ border-color: #25d366;
4065
+ }
4066
+
4067
+ .wpr-sharing-official .wpr-sharing-telegram {
4068
+ border-color: #2ca5e0;
4069
+ }
4070
+
4071
+ .wpr-sharing-official .wpr-sharing-delicious {
4072
+ border-color: #3399ff;
4073
+ }
4074
+
4075
+ .wpr-sharing-official .wpr-sharing-envelope {
4076
+ border-color: #c13B2c;
4077
+ }
4078
+
4079
+ .wpr-sharing-official .wpr-sharing-print {
4080
+ border-color: #96c859;
4081
+ }
4082
+
4083
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-facebook-f i,
4084
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-facebook-f span {
4085
+ color: #3b5998;
4086
+ background-color: transparent;
4087
+ }
4088
+
4089
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-twitter i,
4090
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-twitter span {
4091
+ color: #1da1f2;
4092
+ background-color: transparent;
4093
+ }
4094
+
4095
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-linkedin-in i,
4096
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-linkedin-in span {
4097
+ color: #0077b5;
4098
+ background-color: transparent;
4099
+ }
4100
+
4101
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-pinterest-p i,
4102
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-pinterest-p span {
4103
+ color: #bd081c;
4104
+ background-color: transparent;
4105
+ }
4106
+
4107
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-reddit i,
4108
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-reddit span {
4109
+ color: #ff4500;
4110
+ background-color: transparent;
4111
+ }
4112
+
4113
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-tumblr i,
4114
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-tumblr span {
4115
+ color: #35465c;
4116
+ background-color: transparent;
4117
+ }
4118
+
4119
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-digg i,
4120
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-digg span {
4121
+ color: #005be2;
4122
+ background-color: transparent;
4123
+ }
4124
+
4125
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-xing i,
4126
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-xing span {
4127
+ color: #026466;
4128
+ background-color: transparent;
4129
+ }
4130
+
4131
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-stumbleupon i,
4132
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-stumbleupon span {
4133
+ color: #eb4924;
4134
+ background-color: transparent;
4135
+ }
4136
+
4137
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-vk i,
4138
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-vk span {
4139
+ color: #45668e;
4140
+ background-color: transparent;
4141
+ }
4142
+
4143
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-odnoklassniki i,
4144
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-odnoklassniki span {
4145
+ color: #f4731c;
4146
+ background-color: transparent;
4147
+ }
4148
+
4149
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-get-pocket i,
4150
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-get-pocket span {
4151
+ color: #ef3f56;
4152
+ background-color: transparent;
4153
+ }
4154
+
4155
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-skype i,
4156
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-skype span {
4157
+ color: #00aff0;
4158
+ background-color: transparent;
4159
+ }
4160
+
4161
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-whatsapp i,
4162
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-whatsapp span {
4163
+ color: #25d366;
4164
+ background-color: transparent;
4165
+ }
4166
+
4167
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-telegram i,
4168
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-telegram span {
4169
+ color: #2ca5e0;
4170
+ background-color: transparent;
4171
+ }
4172
+
4173
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-delicious i,
4174
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-delicious span {
4175
+ color: #3399ff;
4176
+ background-color: transparent;
4177
+ }
4178
+
4179
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-envelope i,
4180
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-envelope span {
4181
+ color: #c13B2c;
4182
+ background-color: transparent;
4183
+ }
4184
+
4185
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-print i,
4186
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-print span {
4187
+ color: #96c859;
4188
+ background-color: transparent;
4189
+ }
4190
+
4191
+
4192
+ /*--------------------------------------------------------------
4193
+ == CountDown
4194
+ --------------------------------------------------------------*/
4195
+
4196
+ .wpr-countdown-wrap {
4197
+ display: -webkit-box;
4198
+ display: -ms-flexbox;
4199
+ display: flex;
4200
+ -webkit-box-orient: horizontal;
4201
+ -webkit-box-direction: normal;
4202
+ -ms-flex-direction: row;
4203
+ flex-direction: row;
4204
+ margin: 0 auto;
4205
+ }
4206
+
4207
+ .wpr-countdown-item {
4208
+ -webkit-box-flex: 1;
4209
+ -ms-flex-positive: 1;
4210
+ flex-grow: 1;
4211
+ -ms-flex-preferred-size: 0;
4212
+ flex-basis: 0;
4213
+ overflow: hidden;
4214
+ color: #fff;
4215
+ text-align: center;
4216
+ }
4217
+
4218
+ .wpr-countdown-item:first-child {
4219
+ margin-left: 0 !important;
4220
+ }
4221
+
4222
+ .wpr-countdown-item:last-of-type {
4223
+ margin-right: 0 !important;
4224
+ }
4225
+
4226
+ .wpr-countdown-number {
4227
+ display: block;
4228
+ }
4229
+
4230
+ .wpr-countdown-separator {
4231
+ -ms-flex-item-align: center;
4232
+ -ms-grid-row-align: center;
4233
+ align-self: center;
4234
+ }
4235
+
4236
+ .wpr-countdown-separator span {
4237
+ display: block;
4238
+ }
4239
+
4240
+ .wpr-countdown-separator:last-of-type {
4241
+ display: none !important;
4242
+ }
4243
+
4244
+ .wpr-countdown-wrap+div:not(.wpr-countdown-message) {
4245
+ display: none;
4246
+ }
4247
+
4248
+ .wpr-countdown-message+div {
4249
+ display: none;
4250
+ }
4251
+
4252
+
4253
+ /* Defaults */
4254
+
4255
+ .elementor-widget-wpr-countdown .wpr-countdown-item {
4256
+ background-color: #605BE5;
4257
+ }
4258
+
4259
+ .elementor-widget-wpr-countdown .wpr-countdown-number {
4260
+ font-size: 70px;
4261
+ }
4262
+
4263
+ .elementor-widget-wpr-countdown .wpr-countdown-label {
4264
+ font-size: 19px;
4265
+ line-height: 45px;
4266
+ }
4267
+
4268
+
4269
+ /*--------------------------------------------------------------
4270
+ == Google Maps
4271
+ --------------------------------------------------------------*/
4272
+
4273
+ .wpr-google-map .gm-style-iw-c {
4274
+ padding: 0 !important;
4275
+ }
4276
+
4277
+ .wpr-google-map .gm-style-iw-c>button {
4278
+ top: 0 !important;
4279
+ right: 0 !important;
4280
+ }
4281
+
4282
+ .wpr-google-map .gm-style-iw-c .wpr-gm-iwindow h3 {
4283
+ margin-bottom: 7px;
4284
+ }
4285
+
4286
+ .wpr-google-map .gm-style-iw-d {
4287
+ overflow: hidden !important;
4288
+ }
4289
+
4290
+ .wpr-google-map .gm-style img {
4291
+ max-width: none !important;
4292
+ }
4293
+
4294
+
4295
+ /*--------------------------------------------------------------
4296
+ == Forms
4297
+ --------------------------------------------------------------*/
4298
+
4299
+ .wpr-forms-container .wpcf7-form .wpcf7-form-control-wrap {
4300
+ display: block !important;
4301
+ }
4302
+
4303
+ .wpcf7 label,
4304
+ .wpcf7-quiz-label {
4305
+ width: 100%;
4306
+ }
4307
+
4308
+ .wpr-forms-container .wpcf7 p {
4309
+ margin-bottom: 0;
4310
+ }
4311
+
4312
+ .wpr-forms-container .wpcf7-form .ajax-loader {
4313
+ display: block;
4314
+ visibility: hidden;
4315
+ height: 0;
4316
+ overflow: hidden;
4317
+ clear: both;
4318
+ }
4319
+
4320
+ .wpr-forms-container .wpcf7-select,
4321
+ .wpr-forms-container .wpcf7-number,
4322
+ .wpr-forms-container .wpcf7-date,
4323
+ .wpr-forms-container select.wpforms-field-medium,
4324
+ .wpr-forms-container .nf-field-container select,
4325
+ .wpr-forms-container .caldera-grid select.form-control {
4326
+ padding: 7px 10px !important;
4327
+ }
4328
+
4329
+ .wpr-forms-container .wpcf7-date {
4330
+ width: auto !important;
4331
+ }
4332
+
4333
+ .wpr-forms-container .wpcf7-number {
4334
+ width: 100px !important;
4335
+ }
4336
+
4337
+ .wpr-forms-container .wpcf7-form .wpcf7-submit {
4338
+ display: block;
4339
+ }
4340
+
4341
+ .wpr-forms-container .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item,
4342
+ .wpr-forms-container .wpcf7-form-control.wpcf7-radio .wpcf7-list-item,
4343
+ .wpr-forms-container .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {
4344
+ margin-left: 0;
4345
+ margin-right: 10px;
4346
+ }
4347
+
4348
+ .wpr-forms-container .wpcf7-response-output {
4349
+ clear: both;
4350
+ margin: 0;
4351
+ }
4352
+
4353
+ .wpr-forms-container .wpforms-field:not(.wpforms-field-address) .wpforms-field-medium {
4354
+ display: inline-block !important;
4355
+ max-width: 100% !important;
4356
+ }
4357
+
4358
+ .wpr-forms-container .wpforms-field-phone,
4359
+ .wpr-forms-container .wpforms-field-address,
4360
+ .wpr-forms-container .wpforms-page-indicator {
4361
+ display: inline-block;
4362
+ }
4363
+
4364
+ .wpr-forms-container .wpforms-field-address .wpforms-field-medium {
4365
+ max-width: 100% !important;
4366
+ }
4367
+
4368
+ .wpr-forms-container .intl-tel-input.allow-dropdown input.wpforms-field-medium,
4369
+ .wpr-forms-container .wpforms-field-address div.wpforms-field-medium {
4370
+ width: 100% !important;
4371
+ max-width: 100% !important;
4372
+ }
4373
+
4374
+ .wpr-forms-container .intl-tel-input.allow-dropdown {
4375
+ display: inline-block !important;
4376
+ max-width: 100% !important;
4377
+ }
4378
+
4379
+ .wpr-forms-align-left .wpr-forms-container div.wpforms-container-full .wpforms-form .wpforms-list-inline ul li:last-child {
4380
+ margin-right: 0 !important;
4381
+ }
4382
+
4383
+ .wpr-forms-container .wpcf7-mail-sent-ok,
4384
+ .wpr-forms-container .wpforms-confirmation-container-full,
4385
+ .wpr-forms-container .nf-response-msg,
4386
+ .wpr-forms-container .caldera-grid .alert-success {
4387
+ padding: 10px 15px;
4388
+ border: 2px solid;
4389
+ }
4390
+
4391
+ .wpr-forms-container label.wpforms-error a {
4392
+ text-decoration: underline;
4393
+ }
4394
+
4395
+ .wpr-forms-container .wpforms-smart-phone-field {
4396
+ text-indent: 0 !important;
4397
+ }
4398
+
4399
+ .wpr-forms-container select.ninja-forms-field {
4400
+ line-height: 1 !important;
4401
+ }
4402
+
4403
+ .wpr-forms-container .nf-form-wrap .checkbox-wrap label {
4404
+ display: inline-block !important;
4405
+ }
4406
+
4407
+ .wpr-forms-container .nf-form-wrap .starrating .stars {
4408
+ display: inline-block;
4409
+ }
4410
+
4411
+ .wpr-forms-submit-center .wpcf7-submit,
4412
+ .wpr-forms-submit-center .wpforms-submit,
4413
+ .wpr-forms-submit-center .wpforms-page-next,
4414
+ .wpr-forms-submit-center .wpforms-page-previous,
4415
+ .wpr-forms-submit-center .submit-wrap .ninja-forms-field,
4416
+ .wpr-forms-submit-center .caldera-grid .btn-default:not(a) {
4417
+ display: block !important;
4418
+ margin-left: auto !important;
4419
+ margin-right: auto !important;
4420
+ }
4421
+
4422
+ .wpr-forms-submit-left .wpcf7-submit,
4423
+ .wpr-forms-submit-left .wpforms-submit,
4424
+ .wpr-forms-submit-left .wpforms-page-next,
4425
+ .wpr-forms-submit-left .wpforms-page-previous,
4426
+ .wpr-forms-submit-left .submit-wrap .ninja-forms-field,
4427
+ .wpr-forms-submit-left .caldera-grid .btn-default:not(a) {
4428
+ float: left !important;
4429
+ }
4430
+
4431
+ .wpr-forms-submit-right .wpcf7-submit,
4432
+ .wpr-forms-submit-right .wpforms-submit,
4433
+ .wpr-forms-submit-right .wpforms-page-next,
4434
+ .wpr-forms-submit-right .wpforms-page-previous,
4435
+ .wpr-forms-submit-right .submit-wrap .ninja-forms-field,
4436
+ .wpr-forms-submit-left .caldera-grid .btn-default:not(a) {
4437
+ float: right !important;
4438
+ }
4439
+
4440
+ .wpr-forms-submit-justify .wpcf7-submit,
4441
+ .wpr-forms-submit-justify .wpforms-submit,
4442
+ .wpr-forms-submit-justify .wpforms-page-next,
4443
+ .wpr-forms-submit-justify .wpforms-page-previous,
4444
+ .wpr-forms-submit-justify .submit-wrap .ninja-forms-field,
4445
+ .wpr-forms-submit-justify .caldera-grid .btn-default:not(a) {
4446
+ display: block !important;
4447
+ width: 100% !important;
4448
+ text-align: center !important;
4449
+ }
4450
+
4451
+ .wpr-custom-chk-radio .wpcf7-checkbox input,
4452
+ .wpr-custom-chk-radio .wpcf7-radio input,
4453
+ .wpr-custom-chk-radio .wpcf7-acceptance input,
4454
+ .wpr-custom-chk-radio .wpforms-field-radio input,
4455
+ .wpr-custom-chk-radio .wpforms-field-checkbox input,
4456
+ .wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input {
4457
+ display: none !important;
4458
+ }
4459
+
4460
+ .wpr-custom-chk-radio .wpcf7-checkbox .wpcf7-list-item-label,
4461
+ .wpr-custom-chk-radio .wpcf7-radio .wpcf7-list-item-label,
4462
+ .wpr-custom-chk-radio .wpcf7-acceptance .wpcf7-list-item-label,
4463
+ .wpr-custom-chk-radio .wpforms-field-checkbox input+label,
4464
+ .wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input+label,
4465
+ .wpr-custom-chk-radio .wpforms-field-radio input+label,
4466
+ .wpr-custom-chk-radio .wpforms-field-radio input+span {
4467
+ cursor: pointer;
4468
+ -webkit-user-select: none;
4469
+ -moz-user-select: none;
4470
+ -ms-user-select: none;
4471
+ -o-user-select: none;
4472
+ user-select: none;
4473
+ }
4474
+
4475
+ .wpr-custom-chk-radio .wpcf7-checkbox .wpcf7-list-item-label:before,
4476
+ .wpr-custom-chk-radio .wpcf7-radio .wpcf7-list-item-label:before,
4477
+ .wpr-custom-chk-radio .wpcf7-acceptance .wpcf7-list-item-label:before,
4478
+ .wpr-custom-chk-radio .wpforms-field-checkbox input+label:before,
4479
+ .wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input+label:before,
4480
+ .wpr-custom-chk-radio .wpforms-field-radio input+label:before,
4481
+ .wpr-custom-chk-radio .wpforms-field-radio input:not(.wpforms-screen-reader-element)+span:before {
4482
+ content: "\2714";
4483
+ display: inline-block;
4484
+ position: relative;
4485
+ top: -1px;
4486
+ text-align: center;
4487
+ border: 1px solid;
4488
+ margin-right: 5px;
4489
+ color: transparent;
4490
+ }
4491
+
4492
+ .wpr-forms-align-right .wpforms-field-checkbox ul li input:first-child,
4493
+ .wpr-forms-align-right .wpforms-field-radio ul li input:first-child,
4494
+ .wpr-forms-align-right .wpforms-image-choices label input:first-of-type,
4495
+ .wpr-forms-align-right .wpforms-field-gdpr-checkbox input:first-child {
4496
+ float: right;
4497
+ margin-right: 0 !important;
4498
+ margin-left: 10px !important;
4499
+ }
4500
+
4501
+ .wpr-forms-align-right .wpr-forms-container,
4502
+ .wpr-forms-align-right .wpr-forms-container .wpcf7-form-control {
4503
+ direction: rtl;
4504
+ }
4505
+
4506
+ .wpr-forms-align-right .nf-form-wrap .field-wrap {
4507
+ -webkit-box-pack: end;
4508
+ -ms-flex-pack: end;
4509
+ justify-content: flex-end;
4510
+ }
4511
+
4512
+ .wpr-forms-align-right .label-right .nf-field-description {
4513
+ margin-right: 0 !important;
4514
+ }
4515
+
4516
+ .wpr-forms-align-right .nf-error.field-wrap .nf-field-element:after {
4517
+ right: auto !important;
4518
+ left: 1px !important;
4519
+ }
4520
+
4521
+ .wpr-forms-align-right .wpr-custom-chk-radio .wpcf7-checkbox .wpcf7-list-item-label:before,
4522
+ .wpr-forms-align-right .wpr-custom-chk-radio .wpcf7-radio .wpcf7-list-item-label:before,
4523
+ .wpr-forms-align-right .wpr-custom-chk-radio .wpcf7-acceptance .wpcf7-list-item-label:before,
4524
+ .wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-checkbox input+label:before,
4525
+ .wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input+label:before,
4526
+ .wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-radio input+label:before,
4527
+ .wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-radio input:not(.wpforms-screen-reader-element)+span:before {
4528
+ margin-right: 0;
4529
+ margin-left: 5px;
4530
+ }
4531
+
4532
+ .wpr-forms-align-right .wpcf7-list-item.last,
4533
+ .wpr-forms-align-right .wpcf7-acceptance .wpcf7-list-item,
4534
+ .wpr-forms-align-right div.wpforms-container-full .wpforms-form .wpforms-list-inline ul li:first-child {
4535
+ margin-right: 0 !important;
4536
+ }
4537
+
4538
+ .wpr-forms-align-right .wpr-forms-container .intl-tel-input .flag-container {
4539
+ left: auto !important;
4540
+ right: 0 !important;
4541
+ }
4542
+
4543
+ .wpr-forms-align-right .caldera-grid .col-sm-4,
4544
+ .wpr-forms-align-right .caldera-grid .col-sm-6 {
4545
+ float: right;
4546
+ }
4547
+
4548
+ .wpr-forms-align-right .wpr-forms-container .caldera-grid .checkbox label,
4549
+ .wpr-forms-align-right .wpr-forms-container .caldera-grid .checkbox-inline label,
4550
+ .wpr-forms-align-right .wpr-forms-container .caldera-grid .radio label {
4551
+ padding-left: 0 !important;
4552
+ padding-right: 20px;
4553
+ }
4554
+
4555
+ .wpr-forms-align-right .wpr-forms-container .caldera-grid .checkbox input,
4556
+ .wpr-forms-align-right .wpr-forms-container .caldera-grid .radio input {
4557
+ margin-right: -20px !important;
4558
+ margin-left: 0 !important;
4559
+ }
4560
+
4561
+ .wpr-forms-align-right .wpr-forms-container .caldera-grid .cf-credit-card {
4562
+ background-position: 99% center !important;
4563
+ }
4564
+
4565
+ .wpr-forms-align-right .wpr-forms-container .caldera-grid .live-gravatar {
4566
+ text-align: right !important;
4567
+ }
4568
+
4569
+ .wpr-forms-align-left .wpr-forms-container .caldera-grid .live-gravatar {
4570
+ text-align: left !important;
4571
+ }
4572
+
4573
+ .wpr-forms-container .nf-form-content {
4574
+ padding: 0;
4575
+ max-width: none;
4576
+ }
4577
+
4578
+ .wpr-forms-container .nf-form-content .label-above .field-wrap {
4579
+ -webkit-box-orient: vertical;
4580
+ -webkit-box-direction: normal;
4581
+ -ms-flex-direction: column;
4582
+ flex-direction: column;
4583
+ }
4584
+
4585
+ .wpr-forms-container .nf-form-content .label-above .nf-field-label {
4586
+ margin-top: 0;
4587
+ }
4588
+
4589
+ .wpr-forms-container .field-wrap:not(.textarea-wrap):not(.submit-wrap) .ninja-forms-field {
4590
+ border-radius: 0;
4591
+ }
4592
+
4593
+ .wpr-forms-container .field-wrap.textarea-wrap .ninja-forms-field {
4594
+ display: block;
4595
+ }
4596
+
4597
+ .wpr-forms-container .field-wrap.submit-wrap .ninja-forms-field {
4598
+ cursor: pointer;
4599
+ }
4600
+
4601
+ .wpr-forms-container .listselect-wrap>div select.ninja-forms-field {
4602
+ -webkit-appearance: menulist;
4603
+ -moz-appearance: menulist;
4604
+ appearance: menulist;
4605
+ }
4606
+
4607
+ .wpr-forms-container .nf-form-content .list-select-wrap .nf-field-element>div,
4608
+ .wpr-forms-container .nf-form-content input:not([type=button]),
4609
+ .wpr-forms-container .nf-form-content textarea {
4610
+ background: transparent;
4611
+ border: none;
4612
+ }
4613
+
4614
+ .wpr-forms-container .checkbox-container.label-right .field-wrap {
4615
+ display: block;
4616
+ }
4617
+
4618
+ .wpr-forms-container .listradio-wrap ul li,
4619
+ .wpr-forms-container .listcheckbox-wrap ul li {
4620
+ display: inline-block;
4621
+ margin-right: 10px !important;
4622
+ margin-bottom: 7px !important;
4623
+ }
4624
+
4625
+ .wpr-forms-container .listcheckbox-container .nf-field-element label:after {
4626
+ top: 1px;
4627
+ }
4628
+
4629
+ .wpr-forms-container .listradio-wrap .nf-field-element label {
4630
+ margin-left: 25px !important;
4631
+ }
4632
+
4633
+ .wpr-forms-container .listradio-wrap .nf-field-element label:after {
4634
+ top: 0;
4635
+ left: -25px;
4636
+ }
4637
+
4638
+ .wpr-forms-container .listradio-wrap .nf-field-element label.nf-checked-label:before {
4639
+ top: 4px;
4640
+ left: -21px;
4641
+ }
4642
+
4643
+ .wpr-forms-container .listradio-wrap label,
4644
+ .wpr-forms-container .checkbox-wrap label,
4645
+ .wpr-forms-container .listcheckbox-wrap label {
4646
+ cursor: pointer;
4647
+ -webkit-user-select: none;
4648
+ -moz-user-select: none;
4649
+ -ms-user-select: none;
4650
+ -o-user-select: none;
4651
+ user-select: none;
4652
+ }
4653
+
4654
+ .wpr-forms-container .nf-error.field-wrap .nf-field-element:after {
4655
+ top: 0 !important;
4656
+ bottom: 0 !important;
4657
+ height: auto !important;
4658
+ }
4659
+
4660
+ .wpr-forms-container .wpforms-form .wpforms-field,
4661
+ .wpr-forms-container .wpforms-submit-container {
4662
+ padding: 0 !important;
4663
+ }
4664
+
4665
+ .wpr-forms-container .wpforms-container,
4666
+ .wpr-forms-container div.wpforms-container-full .wpforms-form .wpforms-field-row,
4667
+ .wpr-forms-container .wpforms-field-address .wpforms-field-row:nth-last-child(2) {
4668
+ margin-bottom: 0 !important;
4669
+ }
4670
+
4671
+ .wpr-forms-container .wpforms-submit-container:after {
4672
+ content: " ";
4673
+ clear: both;
4674
+ display: table;
4675
+ }
4676
+
4677
+ .wpr-forms-container .caldera-grid .help-block {
4678
+ margin-bottom: 0;
4679
+ }
4680
+
4681
+ .wpr-forms-container .caldera-grid .caldera-forms-gdpr-field-label a {
4682
+ text-decoration: underline;
4683
+ }
4684
+
4685
+ .wpr-forms-container .caldera-grid .intl-tel-input input {
4686
+ text-indent: 40px;
4687
+ }
4688
+
4689
+ .wpr-forms-container .caldera-grid input.cf-credit-card {
4690
+ text-indent: 33px;
4691
+ }
4692
+
4693
+ .wpr-forms-container .caldera-grid .cf-credit-card {
4694
+ background-position: 5px center !important;
4695
+ }
4696
+
4697
+ .wpr-forms-container .cf2-dropzone .form-control {
4698
+ height: auto;
4699
+ }
4700
+
4701
+ .wpr-forms-container .caldera-grid .form-group input,
4702
+ .wpr-forms-container .caldera-grid .form-group textarea {
4703
+ -webkit-box-shadow: none;
4704
+ box-shadow: none;
4705
+ }
4706
+
4707
+ .wpr-forms-container .caldera-grid .has-error .form-control {
4708
+ -webkit-box-shadow: none;
4709
+ box-shadow: none;
4710
+ }
4711
+
4712
+ .wpr-forms-container .caldera-grid .alert-success {
4713
+ text-shadow: none;
4714
+ }
4715
+
4716
+
4717
+ /* Defaults */
4718
+
4719
+ .elementor-widget-wpr-forms .wpforms-head-container .wpforms-title,
4720
+ .elementor-widget-wpr-forms .nf-form-title h3 {
4721
+ font-size: 28px;
4722
+ font-weight: 800;
4723
+ }
4724
+
4725
+ .elementor-widget-wpr-forms .wpforms-head-container .wpforms-description,
4726
+ .elementor-widget-wpr-forms .nf-form-fields-required {
4727
+ font-size: 14px;
4728
+ }
4729
+
4730
+ .elementor-widget-wpr-forms .wpcf7-form,
4731
+ .elementor-widget-wpr-forms .nf-field-container label,
4732
+ .elementor-widget-wpr-forms .wpforms-field-label,
4733
+ .elementor-widget-wpr-forms .wpforms-image-choices-label,
4734
+ .elementor-widget-wpr-forms .wpforms-field-label-inline,
4735
+ .elementor-widget-wpr-forms .wpforms-captcha-question,
4736
+ .elementor-widget-wpr-forms .wpforms-captcha-equation,
4737
+ .elementor-widget-wpr-forms .wpforms-payment-total,
4738
+ .elementor-widget-wpr-forms .caldera-grid .control-label,
4739
+ .elementor-widget-wpr-forms .caldera-forms-summary-field ul li,
4740
+ .elementor-widget-wpr-forms .caldera-grid .total-line,
4741
+ .elementor-widget-wpr-forms .caldera-grid .checkbox label,
4742
+ .elementor-widget-wpr-forms .caldera-grid .radio label,
4743
+ .elementor-widget-wpr-forms .caldera-grid .caldera-forms-gdpr-field-label,
4744
+ .elementor-widget-wpr-forms .wpr-forms-container .wpforms-confirmation-container-full,
4745
+ .elementor-widget-wpr-forms .wpr-forms-container .nf-response-msg {
4746
+ font-size: 14px;
4747
+ }
4748
+
4749
+ .elementor-widget-wpr-forms .wpcf7-text,
4750
+ .elementor-widget-wpr-forms .wpcf7-textarea,
4751
+ .elementor-widget-wpr-forms .wpcf7-date,
4752
+ .elementor-widget-wpr-forms .wpcf7-number,
4753
+ .elementor-widget-wpr-forms .wpcf7-select,
4754
+ .elementor-widget-wpr-forms .wpcf7-quiz,
4755
+ .elementor-widget-wpr-forms .ninja-forms-field,
4756
+ .elementor-widget-wpr-forms .wpforms-form input[type=date],
4757
+ .elementor-widget-wpr-forms .wpforms-form input[type=datetime],
4758
+ .elementor-widget-wpr-forms .wpforms-form input[type=datetime-local],
4759
+ .elementor-widget-wpr-forms .wpforms-form input[type=email],
4760
+ .elementor-widget-wpr-forms .wpforms-form input[type=month],
4761
+ .elementor-widget-wpr-forms .wpforms-form input[type=number],
4762
+ .elementor-widget-wpr-forms .wpforms-form input[type=password],
4763
+ .elementor-widget-wpr-forms .wpforms-form input[type=range],
4764
+ .elementor-widget-wpr-forms .wpforms-form input[type=search],
4765
+ .elementor-widget-wpr-forms .wpforms-form input[type=tel],
4766
+ .elementor-widget-wpr-forms .wpforms-form input[type=text],
4767
+ .elementor-widget-wpr-forms .wpforms-form input[type=time],
4768
+ .elementor-widget-wpr-forms .wpforms-form input[type=url],
4769
+ .elementor-widget-wpr-forms .wpforms-form input[type=week],
4770
+ .elementor-widget-wpr-forms .wpforms-form select,
4771
+ .elementor-widget-wpr-forms .wpforms-form textarea,
4772
+ .elementor-widget-wpr-forms .caldera-grid .form-control[type=text],
4773
+ .elementor-widget-wpr-forms .caldera-grid .form-control[type=email],
4774
+ .elementor-widget-wpr-forms .caldera-grid .form-control[type=tel],
4775
+ .elementor-widget-wpr-forms .caldera-grid .form-control[type=phone],
4776
+ .elementor-widget-wpr-forms .caldera-grid .form-control[type=number],
4777
+ .elementor-widget-wpr-forms .caldera-grid .form-control[type=url],
4778
+ .elementor-widget-wpr-forms .caldera-grid .form-control[type=color_picker],
4779
+ .elementor-widget-wpr-forms .caldera-grid .form-control[type=credit_card_cvc],
4780
+ .elementor-widget-wpr-forms .caldera-grid select.form-control,
4781
+ .elementor-widget-wpr-forms .caldera-grid textarea.form-control {
4782
+ font-size: 13px;
4783
+ letter-spacing: 0.2px;
4784
+ }
4785
+
4786
+ .elementor-widget-wpr-forms .wpcf7-submit,
4787
+ .elementor-widget-wpr-forms .submit-wrap .ninja-forms-field,
4788
+ .elementor-widget-wpr-forms .submit-wrap .ninja-forms-field,
4789
+ .elementor-widget-wpr-forms .wpforms-submit,
4790
+ .elementor-widget-wpr-forms .wpforms-page-next,
4791
+ .elementor-widget-wpr-forms .wpforms-page-previous,
4792
+ .elementor-widget-wpr-forms .caldera-grid .btn-default,
4793
+ .elementor-widget-wpr-forms .caldera-grid .cf2-dropzone button {
4794
+ background-color: #605BE5;
4795
+ }
4796
+
4797
+ .elementor-widget-wpr-forms .wpcf7-submit:hover,
4798
+ .elementor-widget-wpr-forms .submit-wrap .ninja-forms-field:hover,
4799
+ .elementor-widget-wpr-forms .wpforms-submit:hover,
4800
+ .elementor-widget-wpr-forms .wpforms-page-next:hover,
4801
+ .elementor-widget-wpr-forms .wpforms-page-previous:hover,
4802
+ .elementor-widget-wpr-forms .caldera-grid .btn-default:hover,
4803
+ .elementor-widget-wpr-forms .caldera-grid .btn-success,
4804
+ .elementor-widget-wpr-forms .caldera-grid .cf2-dropzone button:hover {
4805
+ background-color: #4A45D2;
4806
+ }
4807
+
4808
+ .elementor-widget-wpr-forms .wpr-forms-container .wpcf7-not-valid-tip,
4809
+ .elementor-widget-wpr-forms .wpr-forms-container .wpcf7-response-output,
4810
+ .elementor-widget-wpr-forms .wpr-forms-container label.wpforms-error,
4811
+ .elementor-widget-wpr-forms .wpr-forms-container .caldera_ajax_error_block,
4812
+ .elementor-widget-wpr-forms .wpr-forms-container .nf-error-msg {
4813
+ font-size: 14px;
4814
+ }
4815
+
4816
+ .elementor-widget-wpr-forms .wpcf7-form,
4817
+ .elementor-widget-wpr-forms .nf-field-container label,
4818
+ .elementor-widget-wpr-forms .wpforms-field-label,
4819
+ .elementor-widget-wpr-forms .wpforms-image-choices-label,
4820
+ .elementor-widget-wpr-forms .wpforms-field-label-inline,
4821
+ .elementor-widget-wpr-forms .wpforms-captcha-question,
4822
+ .elementor-widget-wpr-forms .wpforms-captcha-equation,
4823
+ .elementor-widget-wpr-forms .wpforms-payment-total,
4824
+ .elementor-widget-wpr-forms .caldera-grid .control-label,
4825
+ .elementor-widget-wpr-forms .caldera-forms-summary-field ul li,
4826
+ .elementor-widget-wpr-forms .caldera-grid .total-line,
4827
+ .elementor-widget-wpr-forms .caldera-grid .checkbox label,
4828
+ .elementor-widget-wpr-forms .caldera-grid .radio label,
4829
+ .elementor-widget-wpr-forms .caldera-grid .caldera-forms-gdpr-field-label,
4830
+ .elementor-widget-wpr-forms .wpr-forms-container .wpforms-confirmation-container-full,
4831
+ .elementor-widget-wpr-forms .wpr-forms-container .nf-response-msg {
4832
+ font-weight: normal;
4833
+ }
4834
+
4835
+ .elementor-widget-wpr-forms.nf-field-description,
4836
+ .elementor-widget-wpr-forms.wpforms-field-sublabel,
4837
+ .elementor-widget-wpr-forms.wpforms-field-description,
4838
+ .elementor-widget-wpr-forms.caldera-grid .help-block {
4839
+ font-size: 14px;
4840
+ }
4841
+
4842
+
4843
+ /*--------------------------------------------------------------
4844
+ == Before After
4845
+ --------------------------------------------------------------*/
4846
+
4847
+ .wpr-ba-image-container {
4848
+ position: relative;
4849
+ overflow: hidden;
4850
+ }
4851
+
4852
+ .wpr-ba-image-container * {
4853
+ -webkit-user-select: none;
4854
+ -moz-user-select: none;
4855
+ -ms-user-select: none;
4856
+ user-select: none;
4857
+ }
4858
+
4859
+ .wpr-ba-image-1 img,
4860
+ .wpr-ba-image-2 img {
4861
+ max-width: 100%;
4862
+ width: 100%;
4863
+ }
4864
+
4865
+ .wpr-ba-image-2 {
4866
+ position: absolute;
4867
+ top: 0;
4868
+ left: 0;
4869
+ width: 100%;
4870
+ height: 100%;
4871
+ overflow: hidden;
4872
+ }
4873
+
4874
+ .wpr-ba-image-2 img {
4875
+ position: absolute;
4876
+ top: 0;
4877
+ }
4878
+
4879
+ .wpr-ba-divider {
4880
+ display: -webkit-box;
4881
+ display: -ms-flexbox;
4882
+ display: flex;
4883
+ -webkit-box-align: center;
4884
+ -ms-flex-align: center;
4885
+ align-items: center;
4886
+ -webkit-box-pack: center;
4887
+ -ms-flex-pack: center;
4888
+ justify-content: center;
4889
+ position: absolute;
4890
+ top: 0;
4891
+ left: 50%;
4892
+ z-index: 3;
4893
+ height: 100%;
4894
+ cursor: pointer;
4895
+ -ms-touch-action: none;
4896
+ touch-action: none;
4897
+ }
4898
+
4899
+ .wpr-ba-divider-icons {
4900
+ display: -webkit-box;
4901
+ display: -ms-flexbox;
4902
+ display: flex;
4903
+ }
4904
+
4905
+ .wpr-ba-vertical .wpr-ba-divider-icons {
4906
+ -webkit-box-orient: vertical;
4907
+ -webkit-box-direction: normal;
4908
+ -ms-flex-direction: column;
4909
+ flex-direction: column;
4910
+ }
4911
+
4912
+ .wpr-ba-horizontal .wpr-ba-divider-icons i:first-child {
4913
+ text-align: right;
4914
+ padding-right: 10%;
4915
+ }
4916
+
4917
+ .wpr-ba-horizontal .wpr-ba-divider-icons i:last-child {
4918
+ text-align: left;
4919
+ padding-left: 10%;
4920
+ }
4921
+
4922
+ .wpr-ba-divider-icons .fa {
4923
+ text-align: center;
4924
+ }
4925
+
4926
+ .wpr-ba-vertical .wpr-ba-divider {
4927
+ top: 50%;
4928
+ left: auto;
4929
+ width: 100%;
4930
+ height: auto;
4931
+ }
4932
+
4933
+ .wpr-ba-vertical .wpr-ba-image-2 img {
4934
+ top: auto;
4935
+ }
4936
+
4937
+ .wpr-ba-horizontal .wpr-ba-divider-icons:before,
4938
+ .wpr-ba-horizontal .wpr-ba-divider-icons:after {
4939
+ content: '';
4940
+ display: block;
4941
+ position: absolute;
4942
+ height: 100%;
4943
+ }
4944
+
4945
+ .wpr-ba-vertical .wpr-ba-divider-icons:before,
4946
+ .wpr-ba-vertical .wpr-ba-divider-icons:after {
4947
+ content: '';
4948
+ display: block;
4949
+ position: absolute;
4950
+ width: 100%;
4951
+ }
4952
+
4953
+ .wpr-ba-label {
4954
+ position: absolute;
4955
+ display: -webkit-box;
4956
+ display: -ms-flexbox;
4957
+ display: flex;
4958
+ padding: 15px;
4959
+ }
4960
+
4961
+ .wpr-ba-labels-none .wpr-ba-label {
4962
+ display: none;
4963
+ }
4964
+
4965
+ .wpr-ba-labels-hover .wpr-ba-label {
4966
+ opacity: 0;
4967
+ -webkit-transition: 0.1s ease-in;
4968
+ -o-transition: 0.1s ease-in;
4969
+ transition: 0.1s ease-in;
4970
+ }
4971
+
4972
+ .wpr-ba-labels-hover:hover .wpr-ba-label {
4973
+ opacity: 1;
4974
+ }
4975
+
4976
+ .wpr-ba-horizontal .wpr-ba-label {
4977
+ top: 0;
4978
+ height: 100%;
4979
+ -webkit-box-orient: vertical;
4980
+ -webkit-box-direction: normal;
4981
+ -ms-flex-direction: column;
4982
+ flex-direction: column;
4983
+ }
4984
+
4985
+ .wpr-ba-horizontal .wpr-ba-label-1 {
4986
+ left: 0;
4987
+ }
4988
+
4989
+ .wpr-ba-horizontal .wpr-ba-label-2 {
4990
+ right: 0;
4991
+ }
4992
+
4993
+ .wpr-ba-vertical .wpr-ba-label {
4994
+ left: 0;
4995
+ width: 100%;
4996
+ }
4997
+
4998
+ .wpr-ba-vertical .wpr-ba-label-1 {
4999
+ top: 0;
5000
+ }
5001
+
5002
+ .wpr-ba-vertical .wpr-ba-label-2 {
5003
+ bottom: 0;
5004
+ }
5005
+
5006
+
5007
+ /* Defaults */
5008
+
5009
+ .elementor-widget-wpr-before-after .wpr-ba-label>div {
5010
+ background-color: #605BE5;
5011
+ font-size: 14px;
5012
+ }
5013
+
5014
+
5015
+ /*--------------------------------------------------------------
5016
+ == Popups
5017
+ --------------------------------------------------------------*/
5018
+
5019
+ body:not(.elementor-editor-active) .wpr-template-popup {
5020
+ display: none;
5021
+ }
5022
+
5023
+ .wpr-template-popup {
5024
+ position: fixed;
5025
+ top: 0;
5026
+ left: 0;
5027
+ width: 100%;
5028
+ height: 100%;
5029
+ z-index: 99999999;
5030
+ }
5031
+
5032
+ .wpr-template-popup-inner {
5033
+ display: -webkit-box;
5034
+ display: -ms-flexbox;
5035
+ display: flex;
5036
+ position: fixed;
5037
+ top: 0;
5038
+ left: 0;
5039
+ width: 100%;
5040
+ height: 100%;
5041
+ }
5042
+
5043
+ .wpr-popup-container {
5044
+ position: relative;
5045
+ }
5046
+
5047
+ .wpr-popup-container-inner {
5048
+ display: -webkit-box;
5049
+ display: -ms-flexbox;
5050
+ display: flex;
5051
+ overflow: hidden;
5052
+ position: relative;
5053
+ background: #ffffff;
5054
+ }
5055
+
5056
+ .wpr-popup-container-inner>div {
5057
+ width: 100%;
5058
+ -ms-flex-negative: 0;
5059
+ flex-shrink: 0;
5060
+ }
5061
+
5062
+ .wpr-popup-container>div {
5063
+ width: 100%;
5064
+ }
5065
+
5066
+ .wpr-popup-image-overlay {
5067
+ position: absolute;
5068
+ top: 0;
5069
+ left: 0;
5070
+ width: 100%;
5071
+ height: 100%;
5072
+ background: #ffffff;
5073
+ }
5074
+
5075
+ .wpr-popup-overlay {
5076
+ position: absolute;
5077
+ top: 0;
5078
+ left: 0;
5079
+ z-index: -1;
5080
+ width: 100%;
5081
+ height: 100%;
5082
+ background: rgba( 0, 0, 0, 0.7);
5083
+ }
5084
+
5085
+ .wpr-popup-close-btn {
5086
+ display: -webkit-box;
5087
+ display: -ms-flexbox;
5088
+ display: flex;
5089
+ position: absolute;
5090
+ top: 0;
5091
+ right: 0;
5092
+ z-index: 99;
5093
+ text-align: center;
5094
+ cursor: pointer;
5095
+ }
5096
+
5097
+ .wpr-popup-notification.wpr-template-popup,
5098
+ .wpr-popup-notification .wpr-template-popup-inner {
5099
+ height: auto !important;
5100
+ }
5101
+
5102
+ .wpr-popup-notification .wpr-popup-overlay {
5103
+ display: none !important;
5104
+ }
5105
+
5106
+ .wpr-popup-container-inner.ps-container.ps-active-y>.ps-scrollbar-y-rail,
5107
+ .wpr-popup-container-inner.ps.ps--active-y>.ps__rail-y {
5108
+ display: block;
5109
+ background-color: transparent;
5110
+ }
5111
+
5112
+ .wpr-popup-container-inner.ps-container>.ps-scrollbar-y-rail,
5113
+ .wpr-popup-container-inner.ps>.ps__rail-y {
5114
+ display: none;
5115
+ position: absolute;
5116
+ right: 3px;
5117
+ width: 3px;
5118
+ }
5119
+
5120
+ .wpr-popup-container-inner.ps-container>.ps-scrollbar-y-rail>.ps-scrollbar-y,
5121
+ .wpr-popup-container-inner.ps>.ps__rail-y>.ps__thumb-y {
5122
+ position: absolute;
5123
+ cursor: pointer;
5124
+ right: 0;
5125
+ width: 3px;
5126
+ }
5127
+
5128
+ .wpr-popup-container .ps-scrollbar-x-rail {
5129
+ display: none !important;
5130
+ }
5131
+
5132
+ .wpr-popup-notification .wpr-popup-container .slideInDown {
5133
+ -webkit-animation-timing-function: linear;
5134
+ animation-timing-function: linear;
5135
+ }
5136
+
5137
+ .wpr-popup-notification .wpr-popup-container {
5138
+ width: 100% !important;
5139
+ -webkit-box-align: start !important;
5140
+ -ms-flex-align: start !important;
5141
+ align-items: flex-start !important;
5142
+ }
5143
+
5144
+ .wpr-popup-trigger-button {
5145
+ display: inline-block;
5146
+ font-size: 14px;
5147
+ font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
5148
+ cursor: pointer;
5149
+ }
5150
+
5151
+
5152
+ /* Only For Editing */
5153
+
5154
+ .wpr-popup-container .elementor-editor-section-settings {
5155
+ -webkit-transform: translateX(-50%);
5156
+ -ms-transform: translateX(-50%);
5157
+ transform: translateX(-50%);
5158
+ border-radius: 0 0 5px 5px;
5159
+ }
5160
+
5161
+ .wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:first-child {
5162
+ border-radius: 0 0 0 5px;
5163
+ }
5164
+
5165
+ .wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:first-child:before {
5166
+ top: 0;
5167
+ border-width: 0 12px 22px 0;
5168
+ }
5169
+
5170
+ .wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:last-child {
5171
+ border-radius: 0 0 5px 0;
5172
+ }
5173
+
5174
+ .wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:last-child:after {
5175
+ top: 0;
5176
+ border-width: 0 0 22px 12px;
5177
+ }
5178
+
5179
+ .elementor-editor-active [data-elementor-type="wpr-popups"] .elementor-section-wrap:not(:empty)+#elementor-add-new-section,
5180
+ .elementor-editor-active [data-elementor-type="wpr-popups"]:not(.elementor-edit-mode) {
5181
+ display: none;
5182
+ }
5183
+
5184
+ .elementor .elementor-widget-wpr-popup-trigger .wpr-popup-trigger-button {
5185
+ display: inline-block;
5186
+ font-size: 14px;
5187
+ font-weight: 500;
5188
+ cursor: pointer;
5189
+ }
5190
+
5191
+ .elementor-editor-active [data-elementor-type="wpr-popup"] .elementor-section-wrap:not(:empty)+#elementor-add-new-section,
5192
+ .elementor-editor-active [data-elementor-type="wpr-popup"]:not(.elementor-edit-mode) {
5193
+ display: none;
5194
+ }
5195
+
5196
+
5197
+ /* Template Edit button */
5198
+
5199
+ .wpr-template-edit-btn {
5200
+ position: absolute;
5201
+ top: 0;
5202
+ right: 40px;
5203
+ display: none;
5204
+ line-height: 1;
5205
+ padding: 8px 13px;
5206
+ cursor: pointer;
5207
+ background: #333;
5208
+ color: #fff;
5209
+ border: 1px solid #000;
5210
+ }
5211
+
5212
+ .elementor-editor-active .wpr-template-edit-btn {
5213
+ display: inline-block;
5214
+ opacity: 0;
5215
+ visibility: hidden;
5216
+ }
5217
+
5218
+ .elementor-editor-active .elementor-element-edit-mode:hover .wpr-template-edit-btn {
5219
+ opacity: 1;
5220
+ visibility: visible;
5221
+ }
5222
+
5223
+
5224
+ /*--------------------------------------------------------------
5225
+ == Mailchimp
5226
+ --------------------------------------------------------------*/
5227
+
5228
+ .wpr-mailchimp-fields {
5229
+ display: -webkit-box;
5230
+ display: -ms-flexbox;
5231
+ display: flex;
5232
+ }
5233
+
5234
+ .wpr-mailchimp-email label,
5235
+ .wpr-mailchimp-email input,
5236
+ .wpr-mailchimp-first-name label,
5237
+ .wpr-mailchimp-first-name input,
5238
+ .wpr-mailchimp-last-name label,
5239
+ .wpr-mailchimp-last-name input {
5240
+ display: block;
5241
+ width: 100%;
5242
+ }
5243
+
5244
+ .wpr-mailchimp-layout-hr .wpr-mailchimp-fields {
5245
+ -webkit-box-orient: horizontal;
5246
+ -webkit-box-direction: normal;
5247
+ -ms-flex-direction: row;
5248
+ flex-direction: row;
5249
+ -webkit-box-align: end;
5250
+ -ms-flex-align: end;
5251
+ align-items: flex-end;
5252
+ }
5253
+
5254
+ .wpr-mailchimp-layout-vr .wpr-mailchimp-fields {
5255
+ -webkit-box-orient: vertical;
5256
+ -webkit-box-direction: normal;
5257
+ -ms-flex-direction: column;
5258
+ flex-direction: column;
5259
+ }
5260
+
5261
+ .wpr-mailchimp-layout-hr .wpr-mailchimp-email,
5262
+ .wpr-mailchimp-layout-hr .wpr-mailchimp-first-name,
5263
+ .wpr-mailchimp-layout-hr .wpr-mailchimp-last-name {
5264
+ -webkit-box-flex: 1;
5265
+ -ms-flex-positive: 1;
5266
+ flex-grow: 1;
5267
+ }
5268
+
5269
+ .wpr-mailchimp-subscribe-btn {
5270
+ width: 100%;
5271
+ padding: 0 !important;
5272
+ outline: none !important;
5273
+ cursor: pointer;
5274
+ }
5275
+
5276
+ .wpr-mailchimp-message,
5277
+ .wpr-mailchimp-success-message,
5278
+ .wpr-mailchimp-error-message {
5279
+ display: none;
5280
+ }
5281
+
5282
+
5283
+ /* Defaults */
5284
+ .elementor-widget-wpr-mailchimp .wpr-mailchimp-header h3 {
5285
+ font-size: 28px;
5286
+ font-weight: 800;
5287
+ margin-top: 0;
5288
+ }
5289
+
5290
+ .elementor-widget-wpr-mailchimp .wpr-mailchimp-header p {
5291
+ font-size: 14px;
5292
+ }
5293
+
5294
+ .elementor-widget-wpr-mailchimp .wpr-mailchimp-fields label {
5295
+ font-size: 13px;
5296
+ }
5297
+
5298
+ .elementor-widget-wpr-mailchimp .wpr-mailchimp-subscribe-btn {
5299
+ background-color: #605BE5;
5300
+ }
5301
+
5302
+ .elementor-widget-wpr-mailchimp .wpr-mailchimp-subscribe-btn:hover {
5303
+ background-color: #4A45D2;
5304
+ }
5305
+
5306
+
5307
+ /*--------------------------------------------------------------
5308
+ == Advanced Slider
5309
+ --------------------------------------------------------------*/
5310
+
5311
+ .wpr-advanced-slider-wrap {
5312
+ position: relative;
5313
+ }
5314
+
5315
+ .wpr-advanced-slider {
5316
+ position: relative;
5317
+ height: 500px;
5318
+ overflow: hidden;
5319
+ }
5320
+
5321
+ .wpr-slider-item {
5322
+ position: relative;
5323
+ height: 500px;
5324
+ overflow: hidden;
5325
+ }
5326
+
5327
+ .wpr-slider-content {
5328
+ position: relative;
5329
+ max-width: 750px;
5330
+ width: 100%;
5331
+ padding: 10px 50px 50px 50px;
5332
+ z-index: 90;
5333
+ }
5334
+
5335
+ .wpr-slider-item-bg {
5336
+ position: absolute;
5337
+ top: 0;
5338
+ left: 0;
5339
+ width: 100%;
5340
+ height: 100%;
5341
+ background-repeat: no-repeat;
5342
+ background-position: center;
5343
+ }
5344
+
5345
+ .wpr-slider-title *,
5346
+ .wpr-slider-sub-title h3,
5347
+ .wpr-slider-description p {
5348
+ display: inline-block;
5349
+ }
5350
+
5351
+ .wpr-slider-title * {
5352
+ color: #ffffff;
5353
+ font-size: 40px;
5354
+ font-weight: 600;
5355
+ line-height: 1.5em;
5356
+ padding: 5px 10px 5px 10px;
5357
+ margin: 0 0 2px 0;
5358
+ }
5359
+
5360
+ .wpr-slider-sub-title h3 {
5361
+ font-size: 16px;
5362
+ padding: 5px 10px 5px 10px;
5363
+ margin: 0 0 10px 0;
5364
+ }
5365
+
5366
+ .wpr-slider-description p {
5367
+ padding: 5px 10px 5px 10px;
5368
+ margin: 0 0 30px 0;
5369
+ }
5370
+
5371
+ .wpr-slider-primary-btn,
5372
+ .wpr-slider-secondary-btn {
5373
+ padding: 12px 25px 12px 25px;
5374
+ margin: 0 10px 0 10px;
5375
+ border-style: solid;
5376
+ border-width: 1px;
5377
+ border-color: #ffffff;
5378
+ border-radius: 2px;
5379
+ }
5380
+
5381
+ .wpr-slider-btns svg,
5382
+ .wpr-slider-scroll-btn svg {
5383
+ vertical-align: bottom;
5384
+ }
5385
+
5386
+
5387
+ /* Ken burn Effect */
5388
+
5389
+ @keyframes ken-burns-in {
5390
+ 0% {
5391
+ -webkit-transform: scale(1);
5392
+ transform: scale(1)
5393
+ }
5394
+ 100% {
5395
+ -webkit-transform: scale(1.3);
5396
+ transform: scale(1.3);
5397
+ }
5398
+ }
5399
+
5400
+ @-webkit-keyframes ken-burns-in {
5401
+ 0% {
5402
+ -webkit-transform: scale(1);
5403
+ transform: scale(1)
5404
+ }
5405
+ 100% {
5406
+ -webkit-transform: scale(1.3);
5407
+ transform: scale(1.3);
5408
+ }
5409
+ }
5410
+
5411
+ @keyframes ken-burns-out {
5412
+ 0% {
5413
+ -webkit-transform: scale(1.3);
5414
+ transform: scale(1.3);
5415
+ }
5416
+ 100% {
5417
+ -webkit-transform: scale(1);
5418
+ transform: scale(1);
5419
+ }
5420
+ }
5421
+
5422
+ @-webkit-keyframes ken-burns-out {
5423
+ 0% {
5424
+ -webkit-transform: scale(1.3);
5425
+ transform: scale(1.3);
5426
+ }
5427
+ 100% {
5428
+ -webkit-transform: scale(1);
5429
+ transform: scale(1);
5430
+ }
5431
+ }
5432
+
5433
+ .wpr-advanced-slider .slick-slide.slick-active .wpr-slider-item-bg {
5434
+ -webkit-animation-timing-function: linear;
5435
+ animation-timing-function: linear;
5436
+ -webkit-animation-duration: 10s;
5437
+ animation-duration: 10s;
5438
+ }
5439
+
5440
+ .wpr-advanced-slider .slick-slide.slick-active .wpr-slider-item-bg.wpr-ken-burns-in {
5441
+ -webkit-animation-name: ken-burns-in;
5442
+ animation-name: ken-burns-in;
5443
+ -webkit-transform: scale(1.3);
5444
+ -ms-transform: scale(1.3);
5445
+ transform: scale(1.3);
5446
+ }
5447
+
5448
+ .wpr-advanced-slider .slick-slide.slick-active .wpr-slider-item-bg.wpr-ken-burns-out {
5449
+ -webkit-animation-name: ken-burns-out;
5450
+ animation-name: ken-burns-out;
5451
+ -webkit-transform: scale(1);
5452
+ -ms-transform: scale(1);
5453
+ transform: scale(1)
5454
+ }
5455
+
5456
+ .wpr-ken-burns-in {
5457
+ -webkit-transform: scale(1);
5458
+ -ms-transform: scale(1);
5459
+ transform: scale(1);
5460
+ }
5461
+
5462
+ .wpr-ken-burns-out {
5463
+ -webkit-transform: scale(1.3);
5464
+ -ms-transform: scale(1.3);
5465
+ transform: scale(1.3);
5466
+ }
5467
+
5468
+
5469
+ /* Slider Item URL */
5470
+
5471
+ .wpr-slider-item-url {
5472
+ display: block;
5473
+ width: 100%;
5474
+ height: 100%;
5475
+ position: absolute;
5476
+ left: 0;
5477
+ top: 0;
5478
+ z-index: 90;
5479
+ }
5480
+
5481
+
5482
+ /* Slider Navigation */
5483
+
5484
+ .wpr-slider-nav-position-default .wpr-slider-arrow-container {
5485
+ position: absolute;
5486
+ display: -webkit-box;
5487
+ display: -ms-flexbox;
5488
+ display: flex;
5489
+ }
5490
+
5491
+ .wpr-slider-nav-position-default .wpr-slider-arrow {
5492
+ position: static;
5493
+ }
5494
+
5495
+ .wpr-slider-nav-position-default .wpr-slider-prev-arrow {
5496
+ -ms-transform: none;
5497
+ transform: none;
5498
+ -webkit-transform: none;
5499
+ }
5500
+
5501
+ .wpr-slider-nav-position-default .wpr-slider-next-arrow {
5502
+ -ms-transform: translateY(0) rotate(180deg);
5503
+ transform: translateY(0) rotate(180deg);
5504
+ -webkit-transform: translateY(0) rotate(180deg);
5505
+ }
5506
+
5507
+ .wpr-slider-nav-align-top-center .wpr-slider-arrow-container,
5508
+ .wpr-slider-nav-align-bottom-center .wpr-slider-arrow-container {
5509
+ left: 50%;
5510
+ -webkit-transform: translateX(-50%);
5511
+ -ms-transform: translateX(-50%);
5512
+ transform: translateX(-50%);
5513
+ }
5514
+
5515
+ .wpr-slider-arrow {
5516
+ position: absolute;
5517
+ z-index: 120;
5518
+ top: 50%;
5519
+ -webkit-box-sizing: content-box;
5520
+ box-sizing: content-box;
5521
+ text-align: center;
5522
+ -webkit-transition: all .5s;
5523
+ -o-transition: all .5s;
5524
+ transition: all .5s;
5525
+ cursor: pointer;
5526
+ -webkit-box-align: center;
5527
+ -ms-flex-align: center;
5528
+ align-items: center;
5529
+ -webkit-box-pack: center;
5530
+ -ms-flex-pack: center;
5531
+ justify-content: center;
5532
+ }
5533
+
5534
+ .wpr-slider-arrow i {
5535
+ display: block;
5536
+ line-height: inherit;
5537
+ }
5538
+
5539
+ .wpr-slider-prev-arrow {
5540
+ left: 1%;
5541
+ -webkit-transform: translateY(-50%);
5542
+ -ms-transform: translateY(-50%);
5543
+ transform: translateY(-50%);
5544
+ }
5545
+
5546
+ .wpr-slider-next-arrow {
5547
+ right: 1%;
5548
+ -webkit-transform: translateY(-50%) rotate(180deg);
5549
+ -ms-transform: translateY(-50%) rotate(180deg);
5550
+ transform: translateY(-50%) rotate(180deg);
5551
+ }
5552
+
5553
+ .wpr-slider-nav-fade .wpr-slider-arrow {
5554
+ opacity: 0;
5555
+ visibility: hidden;
5556
+ }
5557
+
5558
+ .wpr-slider-nav-fade .wpr-advanced-slider-wrap:hover .wpr-slider-arrow {
5559
+ opacity: 1;
5560
+ visibility: visible;
5561
+ }
5562
+
5563
+
5564
+ /* Slider Pagination */
5565
+
5566
+ .wpr-slider-dots {
5567
+ display: inline-table;
5568
+ position: absolute;
5569
+ z-index: 110;
5570
+ left: 50%;
5571
+ -webkit-transform: translate(-50%, -50%);
5572
+ -ms-transform: translate(-50%, -50%);
5573
+ transform: translate(-50%, -50%);
5574
+ }
5575
+
5576
+ .wpr-slider-dots .slick-dots {
5577
+ position: static !important;
5578
+ }
5579
+
5580
+ .wpr-slider-dots ul {
5581
+ list-style: none;
5582
+ margin: 0;
5583
+ padding: 0;
5584
+ }
5585
+
5586
+ .wpr-advanced-slider.slick-dotted.slick-slider {
5587
+ margin-bottom: 0 !important;
5588
+ }
5589
+
5590
+ .wpr-slider-dots-vertical .slick-dots li {
5591
+ display: block;
5592
+ width: auto !important;
5593
+ height: auto !important;
5594
+ margin: 0 !important;
5595
+ }
5596
+
5597
+ .wpr-slider-dots-horizontal .slick-dots li {
5598
+ width: auto !important;
5599
+ padding-top: 10px;
5600
+ margin: 0 !important;
5601
+ }
5602
+
5603
+ .wpr-slider-dots-pro-vr .slick-dots li:last-child span,
5604
+ .wpr-slider-dots-horizontal .slick-dots li:last-child span {
5605
+ margin-right: 0 !important;
5606
+ }
5607
+
5608
+ .wpr-slider-dots-pro-vr .wpr-slider-dots li,
5609
+ .wpr-slider-dots-horizontal .wpr-slider-dots li {
5610
+ float: left;
5611
+ }
5612
+
5613
+ .wpr-slider-dot {
5614
+ display: block;
5615
+ cursor: pointer;
5616
+ }
5617
+
5618
+ .wpr-slider-dots li:last-child .wpr-slider-dot {
5619
+ margin: 0 !important;
5620
+ }
5621
+
5622
+
5623
+ /* Slider Scroll Button */
5624
+
5625
+ .wpr-slider-scroll-btn {
5626
+ position: absolute;
5627
+ bottom: 45px;
5628
+ left: 50%;
5629
+ -webkit-transform: translateX(-50%);
5630
+ -ms-transform: translateX(-50%);
5631
+ transform: translateX(-50%);
5632
+ display: inline-block;
5633
+ -webkit-transition-duration: 200ms;
5634
+ -o-transition-duration: 200ms;
5635
+ transition-duration: 200ms;
5636
+ line-height: 1;
5637
+ overflow: hidden;
5638
+ }
5639
+
5640
+ @-webkit-keyframes wpr-scroll-animation {
5641
+ 0% {
5642
+ opacity: 0;
5643
+ -webkit-transform: translate3d(0, -60%, 0);
5644
+ transform: translate3d(0, -60%, 0);
5645
+ }
5646
+ 50% {
5647
+ opacity: 1;
5648
+ -webkit-transform: translate3d(0, 20%, 0);
5649
+ transform: translate3d(0, 20%, 0);
5650
+ }
5651
+ 100% {
5652
+ opacity: 0;
5653
+ -webkit-transform: translate3d(0, 20%, 0);
5654
+ transform: translate3d(0, 20%, 0);
5655
+ }
5656
+ }
5657
+
5658
+ @keyframes wpr-scroll-animation {
5659
+ 0% {
5660
+ opacity: 0;
5661
+ -webkit-transform: translate3d(0, -60%, 0);
5662
+ transform: translate3d(0, -60%, 0);
5663
+ }
5664
+ 50% {
5665
+ opacity: 1;
5666
+ -webkit-transform: translate3d(0, 20%, 0);
5667
+ transform: translate3d(0, 20%, 0);
5668
+ }
5669
+ 100% {
5670
+ opacity: 0;
5671
+ -webkit-transform: translate3d(0, 20%, 0);
5672
+ transform: translate3d(0, 20%, 0);
5673
+ }
5674
+ }
5675
+
5676
+ .wpr-scroll-animation {
5677
+ -webkit-animation-name: wpr-scroll-animation;
5678
+ animation-name: wpr-scroll-animation;
5679
+ -webkit-animation-duration: 1300ms;
5680
+ animation-duration: 1300ms;
5681
+ -webkit-animation-iteration-count: infinite;
5682
+ animation-iteration-count: infinite;
5683
+ }
5684
+
5685
+
5686
+ /* Slider Video */
5687
+
5688
+ .wpr-slider-video {
5689
+ position: absolute;
5690
+ width: 100%;
5691
+ height: 100%;
5692
+ top: 0;
5693
+ left: 0;
5694
+ z-index: 90;
5695
+ }
5696
+
5697
+ .wpr-slider-video-btn {
5698
+ margin: 0 auto;
5699
+ }
5700
+
5701
+ .wpr-slider-video-btn i {
5702
+ display: block;
5703
+ }
5704
+
5705
+ .wpr-slider-video-icon-size-none .wpr-slider-video-btn {
5706
+ display: none;
5707
+ }
5708
+
5709
+ .wpr-slider-video-icon-size-small .wpr-slider-video-btn {
5710
+ height: 50px;
5711
+ width: 50px;
5712
+ font-size: 16px;
5713
+ padding: 16px 0 0 4px;
5714
+ border-width: 1px;
5715
+ }
5716
+
5717
+ .wpr-slider-video-icon-size-medium .wpr-slider-video-btn {
5718
+ height: 80px;
5719
+ width: 80px;
5720
+ font-size: 26px;
5721
+ padding: 25px 0 0 5px;
5722
+ border-width: 2px;
5723
+ }
5724
+
5725
+ .wpr-slider-video-icon-size-large .wpr-slider-video-btn {
5726
+ height: 100px;
5727
+ width: 100px;
5728
+ font-size: 30px;
5729
+ padding: 33px 0 0 7px;
5730
+ border-width: 2px;
5731
+ }
5732
+
5733
+ .wpr-slider-video-btn {
5734
+ text-align: center;
5735
+ border-style: solid;
5736
+ border-radius: 50%;
5737
+ cursor: pointer;
5738
+ }
5739
+
5740
+
5741
+ /* Slider Overlay */
5742
+
5743
+ .wpr-slider-item-overlay {
5744
+ position: absolute;
5745
+ left: 0;
5746
+ top: 0;
5747
+ width: 100%;
5748
+ height: 100%;
5749
+ z-index: 80;
5750
+ }
5751
+
5752
+
5753
+ /* Slick Slider */
5754
+
5755
+ .slick-slider {
5756
+ position: relative;
5757
+ display: block;
5758
+ -webkit-box-sizing: border-box;
5759
+ box-sizing: border-box;
5760
+ -webkit-user-select: none;
5761
+ -moz-user-select: none;
5762
+ -ms-user-select: none;
5763
+ user-select: none;
5764
+ -webkit-touch-callout: none;
5765
+ -khtml-user-select: none;
5766
+ -ms-touch-action: pan-y;
5767
+ touch-action: pan-y;
5768
+ -webkit-tap-highlight-color: transparent;
5769
+ }
5770
+
5771
+ .slick-list {
5772
+ position: relative;
5773
+ display: block;
5774
+ overflow: hidden;
5775
+ margin: 0;
5776
+ padding: 0;
5777
+ }
5778
+
5779
+ .slick-list:focus {
5780
+ outline: none;
5781
+ }
5782
+
5783
+ .slick-list.dragging {
5784
+ cursor: pointer;
5785
+ cursor: hand;
5786
+ }
5787
+
5788
+ .slick-slider .slick-track,
5789
+ .slick-slider .slick-list {
5790
+ -webkit-transform: translate3d(0, 0, 0);
5791
+ -ms-transform: translate3d(0, 0, 0);
5792
+ transform: translate3d(0, 0, 0);
5793
+ }
5794
+
5795
+ .slick-track {
5796
+ posi